Running the Script - DHBjorndalen/AGN_XMM GitHub Wiki

Once all the necessary input files are prepared (e.g., ccf.cif, attitude files, event files), you can run the script as follows:

nohup ./script_name.sh

The script processes each folder in the directory, applying the XMM-Newton SAS tools to generate images, exposure maps, background maps, and source detection files.

nohup ensures the process runs in the background.
The output will be logged to nohup.out for post-run analysis.

Make sure the SAS environment is properly initialized before running the script.