epsplitproc is a metatask that allows users to analyse large EPIC PN events files, that produce a out of memory error while running epframes.
epsplotproc calls epsplitter to split the original event file into parts depending on the slices parameter. Then the task creates a backup copy of the original event file (named original_file_name_BACKUP.FIT) located in the odf directory to keep it untouched. Once the backup copy has been created, the task creates softlinks between the diferent parts and the original event file. Then, epproc is executed only for the exposure and ccd of the original file. Several epproc product files are created (depending on the slices parameter) and all of them are finally merged running merge task. Finally, temporary files are removed and the backuped original event file is restored.
NOTE OF CAUTION!!! This task deals with the ODF content; making file copies, creating soft links, removing files, etc. So, after the task execution, the user must check the ODF integrity. It is possible that after any error during the task execution, the ODF content could be wrong and the user should have to restore manually the backuped file.
XMM-Newton SOC -- 2021-11-30