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"],
)
[2024-11-20 13:24:00,461] INFO: Resuming iteration #1.
[2024-11-20 13:24:00,462] INFO: 1 new tasks have been issued.
[2024-11-20 13:24:00,462] INFO: Processing task `gradient`
[2024-11-20 13:24:00,639] INFO: Submitting job array with 5 jobs ...
Uploading 1 files...
Uploading 1 files...
Uploading 1 files...
Uploading 1 files...
Uploading 1 files...
[2024-11-20 13:24:00,688] INFO: Launched adjoint simulations for 5 events. Please check again to see if they are finished.
[2024-11-20 13:24:00,689] INFO: Some tasks of iteration #1 are still running. Please check again later.
[2024-11-20 13:24:10,690] INFO: Processing task `gradient`
[2024-11-20 13:24:10,994] INFO: 5 events have already been submitted. They will not be submitted again.
[2024-11-20 13:24:11,367] 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
[2024-11-20 13:24:11,376] INFO: 1 new tasks have been issued.
[2024-11-20 13:24:11,376] INFO: Processing task `preconditioner`
[2024-11-20 13:24:11,449] INFO: Some tasks of iteration #1 are still running. Please check again later.
[2024-11-20 13:24:21,468] INFO: Processing task `preconditioner`
[2024-11-20 13:24:21,595] INFO: 1 new tasks have been issued.
[2024-11-20 13:24:21,596] INFO: Processing task `misfit`
[2024-11-20 13:24:21,633] INFO: Submitting job array with 5 jobs ...
[2024-11-20 13:24:21,715] INFO: Launched simulations for 5 events. Please check again to see if they are finished.
[2024-11-20 13:24:21,716] INFO: Some tasks of iteration #1 are still running. Please check again later.
[2024-11-20 13:24:31,748] INFO: Processing task `misfit`
[2024-11-20 13:24:33,147] 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.
[2024-11-20 13:24:33,147] INFO:
Model update accepted.
[2024-11-20 13:24:33,148] INFO: 1 new tasks have been issued.
[2024-11-20 13:24:33,148] INFO: Processing task `finalize_iteration`
[2024-11-20 13:24:33,206] INFO: Succesfully completed iteration #1.
[2024-11-20 13:24:33,207] INFO: Adding new iteration #2.
[2024-11-20 13:24:33,212] INFO: ... searching for obsolete files in project/INVERSIONS/my_inversion/00000
[2024-11-20 13:24:33,214] INFO: ... searching for obsolete files in project/INVERSIONS/my_inversion/00001
[2024-11-20 13:24:33,313] INFO: Freed up 6.0 MB of space.
[2024-11-20 13:24:33,316] INFO: Resuming iteration #2.
[2024-11-20 13:24:33,316] INFO: 1 new tasks have been issued.
[2024-11-20 13:24:33,317] INFO: Processing task `gradient`
[2024-11-20 13:24:33,485] INFO: Submitting job array with 5 jobs ...
Uploading 1 files...
Uploading 1 files...
Uploading 1 files...
Uploading 1 files...
Uploading 1 files...
[2024-11-20 13:24:33,538] INFO: Launched adjoint simulations for 5 events. Please check again to see if they are finished.
[2024-11-20 13:24:33,539] INFO: Some tasks of iteration #2 are still running. Please check again later.
[2024-11-20 13:24:43,541] INFO: Processing task `gradient`
[2024-11-20 13:24:43,657] INFO: 5 events have already been submitted. They will not be submitted again.
[2024-11-20 13:24:44,027] 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
[2024-11-20 13:24:44,041] INFO: 1 new tasks have been issued.
[2024-11-20 13:24:44,041] INFO: Processing task `preconditioner`
[2024-11-20 13:24:44,124] INFO: Some tasks of iteration #2 are still running. Please check again later.
[2024-11-20 13:24:54,155] INFO: Processing task `preconditioner`
[2024-11-20 13:24:54,291] INFO: 1 new tasks have been issued.
[2024-11-20 13:24:54,292] INFO: Processing task `misfit`
[2024-11-20 13:24:54,329] INFO: Submitting job array with 5 jobs ...
[2024-11-20 13:24:54,581] INFO: Launched simulations for 5 events. Please check again to see if they are finished.
[2024-11-20 13:24:54,582] INFO: Some tasks of iteration #2 are still running. Please check again later.
[2024-11-20 13:25:04,622] INFO: Processing task `misfit`
[2024-11-20 13:25:06,276] 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.
[2024-11-20 13:25:06,277] INFO:
Model update accepted.
[2024-11-20 13:25:06,277] INFO: 1 new tasks have been issued.
[2024-11-20 13:25:06,279] INFO: Processing task `finalize_iteration`
[2024-11-20 13:25:06,424] INFO: Succesfully completed iteration #2.
[2024-11-20 13:25:06,427] INFO: Adding new iteration #3.
[2024-11-20 13:25:06,438] INFO: ... searching for obsolete files in project/INVERSIONS/my_inversion/00000
[2024-11-20 13:25:06,443] INFO: ... searching for obsolete files in project/INVERSIONS/my_inversion/00001
[2024-11-20 13:25:06,688] INFO: ... searching for obsolete files in project/INVERSIONS/my_inversion/00002
[2024-11-20 13:25:06,920] INFO: Freed up 6.0 MB of space.