Fix the multinest temporary file transfer
Compare changes
Maintenance will be performed on git.ligo.org, containers.ligo.org, and docs.ligo.org on Tuesday 25 March 2025 starting at approximately 8:30am PDT. It is expected to take around 30 minutes and there will be several periods of downtime throughout the maintenance. Please address any comments, concerns, or questions to the helpdesk.
Previously, when running with multinest on condor, there wasn't enough time given between the eviction signal and when the job was getting kicked out for the exit sequence to complete successfully. This meant that because of the link between the temporary directory and the proper path, all progress was being lost. This MR introduces a dumper function that copies over the output from the temporary directory to the proper path every time the output is updated. I have also added a method to track the sampling time across restarts. I have tested this both locally and on condor, and it works as expected.