for i in range(2):
p.inversions.iterate(
inverse_problem_configuration="my_inversion",
timeout_in_seconds=360,
ping_interval_in_seconds=10,
)
p.inversions.delete_disposable_files(
inverse_problem_configuration="my_inversion",
data_to_remove=["auxiliary", "gradients", "waveforms"],
)
[2025-01-09 22:05:11,942] INFO: Resuming iteration #1.
[2025-01-09 22:05:11,943] INFO: 1 new tasks have been issued.
[2025-01-09 22:05:11,943] INFO: Processing task `gradient`
[2025-01-09 22:05:12,149] INFO: Submitting job array with 5 jobs ...
Uploading 1 files...
Uploading 1 files...
Uploading 1 files...
Uploading 1 files...
Uploading 1 files...
[2025-01-09 22:05:12,207] INFO: Launched adjoint simulations for 5 events. Please check again to see if they are finished.
[2025-01-09 22:05:12,209] INFO: Some tasks of iteration #1 are still running. Please check again later.
[2025-01-09 22:05:22,213] INFO: Processing task `gradient`
[2025-01-09 22:05:22,347] INFO: 5 events have already been submitted. They will not be submitted again.
[2025-01-09 22:05:22,918] INFO:
Iteration 1: Number of events: 5 chi = 0.007439779782203875 ||g|| = 0.009973572871663063
pred = -0.009534746479370205 ared = -0.011241284971999922 norm_update = 0.9389411599540233 tr_radius = 0.9389411625078163
[2025-01-09 22:05:22,927] INFO: 1 new tasks have been issued.
[2025-01-09 22:05:22,928] INFO: Processing task `preconditioner`
[2025-01-09 22:05:23,010] INFO: Some tasks of iteration #1 are still running. Please check again later.
[2025-01-09 22:05:33,036] INFO: Processing task `preconditioner`
[2025-01-09 22:05:33,164] INFO: 1 new tasks have been issued.
[2025-01-09 22:05:33,164] INFO: Processing task `misfit`
[2025-01-09 22:05:33,206] INFO: Submitting job array with 5 jobs ...
[2025-01-09 22:05:33,295] INFO: Launched simulations for 5 events. Please check again to see if they are finished.
[2025-01-09 22:05:33,296] INFO: Some tasks of iteration #1 are still running. Please check again later.
[2025-01-09 22:05:43,335] INFO: Processing task `misfit`
[2025-01-09 22:05:44,853] INFO:
old misfit control group: 0.007439779782203874
new misfit control group: 0.005660667615804366
predicted reduction control group: -0.0009140965914723943
actual reduction control group: -0.0017791121663995081
5 out of 5 event(s) improved the misfit.
[2025-01-09 22:05:44,853] INFO:
Model update accepted.
[2025-01-09 22:05:44,854] INFO: 1 new tasks have been issued.
[2025-01-09 22:05:44,854] INFO: Processing task `finalize_iteration`
[2025-01-09 22:05:44,918] INFO: Succesfully completed iteration #1.
[2025-01-09 22:05:44,920] INFO: Adding new iteration #2.
[2025-01-09 22:05:44,925] INFO: ... searching for obsolete files in project/INVERSIONS/my_inversion/00000
[2025-01-09 22:05:44,928] INFO: ... searching for obsolete files in project/INVERSIONS/my_inversion/00001
[2025-01-09 22:05:45,040] INFO: Freed up 6.0 MB of space.
[2025-01-09 22:05:45,043] INFO: Resuming iteration #2.
[2025-01-09 22:05:45,043] INFO: 1 new tasks have been issued.
[2025-01-09 22:05:45,043] INFO: Processing task `gradient`
[2025-01-09 22:05:45,236] INFO: Submitting job array with 5 jobs ...
Uploading 1 files...
Uploading 1 files...
Uploading 1 files...
Uploading 1 files...
Uploading 1 files...
[2025-01-09 22:05:45,296] INFO: Launched adjoint simulations for 5 events. Please check again to see if they are finished.
[2025-01-09 22:05:45,297] INFO: Some tasks of iteration #2 are still running. Please check again later.
[2025-01-09 22:05:55,299] INFO: Processing task `gradient`
[2025-01-09 22:05:55,460] INFO: 5 events have already been submitted. They will not be submitted again.
[2025-01-09 22:05:55,884] INFO:
Iteration 2: Number of events: 5 chi = 0.005660667615804367 ||g|| = 0.006938502336044995
pred = -0.0009140965914723943 ared = -0.0017791121663995081 norm_update = 0.22453958643463912 tr_radius = 1.8778823250156327
[2025-01-09 22:05:55,901] INFO: 1 new tasks have been issued.
[2025-01-09 22:05:55,901] INFO: Processing task `preconditioner`
[2025-01-09 22:05:55,997] INFO: Some tasks of iteration #2 are still running. Please check again later.
[2025-01-09 22:06:06,032] INFO: Processing task `preconditioner`
[2025-01-09 22:06:06,181] INFO: 1 new tasks have been issued.
[2025-01-09 22:06:06,181] INFO: Processing task `misfit`
[2025-01-09 22:06:06,227] INFO: Submitting job array with 5 jobs ...
[2025-01-09 22:06:06,530] INFO: Launched simulations for 5 events. Please check again to see if they are finished.
[2025-01-09 22:06:06,531] INFO: Some tasks of iteration #2 are still running. Please check again later.
[2025-01-09 22:06:16,575] INFO: Processing task `misfit`
[2025-01-09 22:06:19,130] INFO:
old misfit control group: 0.005660667615804366
new misfit control group: 0.0037546189070832995
predicted reduction control group: -0.0013180566575329556
actual reduction control group: -0.0019060487087210667
5 out of 5 event(s) improved the misfit.
[2025-01-09 22:06:19,130] INFO:
Model update accepted.
[2025-01-09 22:06:19,131] INFO: 1 new tasks have been issued.
[2025-01-09 22:06:19,131] INFO: Processing task `finalize_iteration`
[2025-01-09 22:06:19,366] INFO: Succesfully completed iteration #2.
[2025-01-09 22:06:19,369] INFO: Adding new iteration #3.
[2025-01-09 22:06:19,414] INFO: ... searching for obsolete files in project/INVERSIONS/my_inversion/00000
[2025-01-09 22:06:19,417] INFO: ... searching for obsolete files in project/INVERSIONS/my_inversion/00001
[2025-01-09 22:06:19,487] INFO: ... searching for obsolete files in project/INVERSIONS/my_inversion/00002
[2025-01-09 22:06:19,618] INFO: Freed up 6.0 MB of space.