
#!/bin/sh
if [ ! "$SAS_ODFDIR" ]; then
echo ""
echo "Please set the SAS_ODFDIR environment variable to point at the directory"
echo "containing the ODF files for this observation."
echo ""
exit 1
fi
# # [INFO] [2024-11-30T23:40:16] Module name: VerifyODF
# # [INFO] [2024-11-30T23:40:16] Instrument: all
# # [INFO] [2024-11-30T23:40:16] Stream no.: 0001
# # [INFO] [2024-11-30T23:40:16] Module version number: 1.18
# # [INFO] [2024-11-30T23:40:16] Version of odfingest used was 3.33.1
# # [INFO] [2024-11-30T23:40:16] Module name: MakeCIF
# # [INFO] [2024-11-30T23:40:16] Instrument: all
# # [INFO] [2024-11-30T23:40:16] Stream no.: 0001
# # [INFO] [2024-11-30T23:40:16] Module version number: 1.23
# # [INFO] [2024-11-30T23:40:16] Observation start defined as >2002-05-28T08:41:52.000<
# # [INFO] [2024-11-30T23:40:16] Processing date defined as >2024-12-01T00:40:16<
# [COMMAND] [2024-11-30T23:40:16]
export SAS_MEMORY_MODEL=high
# [COMMAND] [2024-11-30T23:40:16]
export SAS_RAND_SEED=0103862901
# # [INFO] [2024-11-30T23:40:16] ## DEBUG ModuleResources: SAS_RAND_SEED set: 0103862901
# [COMMAND] [2024-11-30T23:40:16]
cifbuild analysisdate=2024-12-01T00:40:16 calindexset=product/P0103862901OBX000CALIND0000.FIT fullpath=no \
observationdate=2002-05-28T08:41:52.000 withccfpath=no -w 10
# # [OUTPUT] [2024-11-30T23:40:45]
# # [INFO] [2024-11-30T23:40:45] Task Run Time cifbuild 28.495894908905s
#
# [COMMAND] [2024-11-30T23:40:45]
export SAS_MEMORY_MODEL=high
# [COMMAND] [2024-11-30T23:40:45]
export SAS_RAND_SEED=0103862901
# # [INFO] [2024-11-30T23:40:45] ## DEBUG ModuleResources: SAS_RAND_SEED set: 0103862901
# [COMMAND] [2024-11-30T23:40:45]
addattribute attributecomment="\"Telescope (mission) name\" \"Observation identifier\" \"Date observations were made\" \"RA of \
instrument pointing (degrees)\" \"DEC of instrument pointing\" \"Name of observed object\" \"Observation mode (pointing or slew)\" \
\"Date observations ended\" \"Name of PI\"" attributename="TELESCOP OBS_ID DATE-OBS RA_PNT DEC_PNT OBJECT OBS_MODE DATE-END \
OBSERVER" attributetype="string string string real real string string string string" realvalue="\"339.275001\" \"34.4219445\"" \
set=product/P0103862901OBX000CALIND0000.FIT stringvalue="\"XMM\" \"0103862901\" \"2002-05-28T08:41:52.000\" \"NGC 7331\" \"POINTED\" \
\"2002-05-28T09:57:50.000\" \"Dr Bernd Aschenbach\"" -w 10
# # [OUTPUT] [2024-11-30T23:40:45]
# # [INFO] [2024-11-30T23:40:45] Task Run Time addattribute 0.031937837600708s
#
# [COMMAND] [2024-11-30T23:40:45]
cp /scratch/225648.1.all.q/xmm/ppsprod/228793/product/P0103862901OBX000CALIND0000.FIT \
/scratch/225648.1.all.q/xmm/ppsprod/228793/intermediate/ccf.cif
# # [INFO] [2024-11-30T23:40:45] System RV 0
# # [INFO] [2024-11-30T23:40:45] Module name: GlobalHK
# # [INFO] [2024-11-30T23:40:45] Instrument: all
# # [INFO] [2024-11-30T23:40:45] Stream no.: 0001
# # [INFO] [2024-11-30T23:40:45] Module version number: 1.81
# [COMMAND] [2024-11-30T23:40:45]
export SAS_MEMORY_MODEL=high
# [COMMAND] [2024-11-30T23:40:45]
export SAS_RAND_SEED=0103862901
# # [INFO] [2024-11-30T23:40:45] ## DEBUG ModuleResources: SAS_RAND_SEED set: 0103862901
# [COMMAND] [2024-11-30T23:40:45]
preqgti preqgtifile=intermediate/GlobalHK-all-1-Attitude_GTI-X00000000000000.fits -w 10
# # [OUTPUT] [2024-11-30T23:40:46] ** preqgti::atthkgen: warning (NoAttitude), The attitude was requested for time 138967157.184\
#     which is more than 20 s outside the period for which the attitude is known (closest time is 21 s away).
# ** preqgti::atthkgen: warning (NoAttitude), The attitude was requested for time 138967157.184 which is more than 20 s outside the\
#     period for which the attitude is known (closest time is 21 s away).
# ** preqgti::atthkgen: warning (NoAttitude), The attitude was requested for time 138967158.184 which is more than 20 s outside the\
#     period for which the attitude is known (closest time is 21 s away).
# ** preqgti::atthkgen: warning (NoAttitude), The attitude was requested for time 138967158.184 which is more than 20 s outside the\
#     period for which the attitude is known (closest time is 21 s away).
# ** preqgti::atthkgen: warning (NoAttitude), The attitude was requested for time 138967159.184 which is more than 20 s outside the\
#     period for which the attitude is known (closest time is 21 s away).
# ** preqgti::atthkgen: warning (NoAttitude), The attitude was requested for time 138967159.184 which is more than 20 s outside the\
#     period for which the attitude is known (closest time is 21 s away).
# ** preqgti::atthkgen: warning (NoAttitude), The attitude was requested for time 138967160.184 which is more than 20 s outside the\
#     period for which the attitude is known (closest time is 21 s away).
# ** preqgti::atthkgen: warning (NoAttitude), The attitude was requested for time 138967160.184 which is more than 20 s outside the\
#     period for which the attitude is known (closest time is 21 s away).
# ** preqgti::atthkgen: warning (NoAttitude), The attitude was requested for time 138967161.184 which is more than 20 s outside the\
#     period for which the attitude is known (closest time is 22 s away).
# ** preqgti::atthkgen: warning (NoAttitude), The attitude was requested for time 138967161.184 which is more than 20 s outside the\
#     period for which the attitude is known (closest time is 22 s away).
# ** preqgti: warning (SummaryOfWarnings), 
# warning NoAttitude silently occurred 33688 times 
# # [INFO] [2024-11-30T23:40:46] Task Run Time preqgti 0.87332820892334s
#
# [COMMAND] [2024-11-30T23:40:46]
export SAS_MEMORY_MODEL=high
# [COMMAND] [2024-11-30T23:40:46]
export SAS_RAND_SEED=0103862901
# # [INFO] [2024-11-30T23:40:46] ## DEBUG ModuleResources: SAS_RAND_SEED set: 0103862901
# [COMMAND] [2024-11-30T23:40:46]
atthkgen atthkset=product/P0103862901OBX000ATTTSR0000.FIT preqgtifile=intermediate/GlobalHK-all-1-Attitude_GTI-X00000000000000.fits \
timestep=1 withpreqgti=no -w 10
# # [OUTPUT] [2024-11-30T23:40:46]
# # [INFO] [2024-11-30T23:40:46] Task Run Time atthkgen 0.176846027374268s
#
# [COMMAND] [2024-11-30T23:40:46]
export SAS_MEMORY_MODEL=high
# [COMMAND] [2024-11-30T23:40:46]
export SAS_RAND_SEED=0103862901
# # [INFO] [2024-11-30T23:40:46] ## DEBUG ModuleResources: SAS_RAND_SEED set: 0103862901
# [COMMAND] [2024-11-30T23:40:46]
orbit outfile=product/P0103862901OBX000ORBTSR0000.FIT timestep=1 useobsid=yes -w 10
# # [OUTPUT] [2024-11-30T23:40:46] orbit:- Output FITS Orbit timeseries: product/P0103862901OBX000ORBTSR0000.FIT
# orbit:- Binsize (timestep) of output): 1
# orbit:- Use OBSID data or whole orbit? T 
# # [INFO] [2024-11-30T23:40:46] Task Run Time orbit 0.207044839859009s
#
# [COMMAND] [2024-11-30T23:40:46]
export SAS_MEMORY_MODEL=high
# [COMMAND] [2024-11-30T23:40:46]
export SAS_RAND_SEED=0103862901
# # [INFO] [2024-11-30T23:40:46] ## DEBUG ModuleResources: SAS_RAND_SEED set: 0103862901
# [COMMAND] [2024-11-30T23:40:46]
radmonfix output=product/P0103862901OBX000RADMON0000.FIT radmonlist="odf/0452_0103862901_RMX00100ECX.FIT \
odf/0452_0103862901_RMX00200ECX.FIT" withoutputfile=yes -w 10
# # [OUTPUT] [2024-11-30T23:40:46] ** radmonfix: warning (Extrapolation), Evaluating OBT-MET fit polynomial at x=60198833.86 which\
#     is outside the time correlation data abscissa range [60200431.09, 60205908.87] - result of extrapolation might be afflicted\
#     with large numerical uncertainty.
# ** radmonfix: warning (Extrapolation), Evaluating OBT-MET fit polynomial at x=60198837.86 which is outside the time correlation\
#     data abscissa range [60200431.09, 60205908.87] - result of extrapolation might be afflicted with large numerical uncertainty.
# ** radmonfix: warning (Extrapolation), Evaluating OBT-MET fit polynomial at x=60198841.86 which is outside the time correlation\
#     data abscissa range [60200431.09, 60205908.87] - result of extrapolation might be afflicted with large numerical uncertainty.
# ** radmonfix: warning (Extrapolation), Evaluating OBT-MET fit polynomial at x=60198845.86 which is outside the time correlation\
#     data abscissa range [60200431.09, 60205908.87] - result of extrapolation might be afflicted with large numerical uncertainty.
# ** radmonfix: warning (Extrapolation), Evaluating OBT-MET fit polynomial at x=60198849.86 which is outside the time correlation\
#     data abscissa range [60200431.09, 60205908.87] - result of extrapolation might be afflicted with large numerical uncertainty.
# ** radmonfix: warning (Extrapolation), Evaluating OBT-MET fit polynomial at x=60198853.86 which is outside the time correlation\
#     data abscissa range [60200431.09, 60205908.87] - result of extrapolation might be afflicted with large numerical uncertainty.
# ** radmonfix: warning (Extrapolation), Evaluating OBT-MET fit polynomial at x=60198857.86 which is outside the time correlation\
#     data abscissa range [60200431.09, 60205908.87] - result of extrapolation might be afflicted with large numerical uncertainty.
# ** radmonfix: warning (Extrapolation), Evaluating OBT-MET fit polynomial at x=60198861.86 which is outside the time correlation\
#     data abscissa range [60200431.09, 60205908.87] - result of extrapolation might be afflicted with large numerical uncertainty.
# ** radmonfix: warning (Extrapolation), Evaluating OBT-MET fit polynomial at x=60198865.86 which is outside the time correlation\
#     data abscissa range [60200431.09, 60205908.87] - result of extrapolation might be afflicted with large numerical uncertainty.
# ** radmonfix: warning (Extrapolation), Evaluating OBT-MET fit polynomial at x=60198869.86 which is outside the time correlation\
#     data abscissa range [60200431.09, 60205908.87] - result of extrapolation might be afflicted with large numerical uncertainty.
# radmonfix:- Adding 1280 counts rows from row 550
# radmonfix:- Setting DATE-END...
# ** radmonfix: warning (SummaryOfWarnings), 
# warning Extrapolation silently occurred 401 times 
# # [INFO] [2024-11-30T23:40:46] Task Run Time radmonfix 0.100548982620239s
#
# [COMMAND] [2024-11-30T23:40:46]
cp /lhome/jperea/ppsdev/pcms3/src/pipeline/etc/EPICModes.fits \
/scratch/225648.1.all.q/xmm/ppsprod/228793/intermediate/GlobalHK-all-1-Observing_modes_Pileup_and_OoT_data-X00000000000000.fits
# # [INFO] [2024-11-30T23:40:46] System RV 0
# # [INFO] [2024-11-30T23:40:46] Copied EPIC Observing modes table, Pileup data and OoT data table in place
# [COMMAND] [2024-11-30T23:40:46]
cp /lhome/jperea/ppsdev/pcms3/src/pipeline/etc/ecfs.fits \
/scratch/225648.1.all.q/xmm/ppsprod/228793/intermediate/GlobalHK-all-1-Energy_Conversion_Factors-X00000000000000.fits
# # [INFO] [2024-11-30T23:40:46] System RV 0
# [COMMAND] [2024-11-30T23:40:46]
cp /lhome/jperea/ppsdev/pcms3/src/pipeline/etc/ecfgrid.fits.gz \
/scratch/225648.1.all.q/xmm/ppsprod/228793/intermediate/GlobalHK-all-1-Energy_Conversion_Factors_Grid-X00000000000000.fits
# # [INFO] [2024-11-30T23:40:46] System RV 0
# [COMMAND] [2024-11-30T23:40:46]
cp /lhome/jperea/ppsdev/pcms3/src/pipeline/etc/fluxgrid.fits.gz \
/scratch/225648.1.all.q/xmm/ppsprod/228793/intermediate/GlobalHK-all-1-Flux_Grid-X00000000000000.fits
# # [INFO] [2024-11-30T23:40:46] System RV 0
# # [INFO] [2024-11-30T23:40:46] Module name: ExpChooser
# # [INFO] [2024-11-30T23:40:46] Instrument: om
# # [INFO] [2024-11-30T23:40:46] Stream no.: 0001
# # [INFO] [2024-11-30T23:40:46] Module version number: 1.38
# # [INFO] [2024-11-30T23:40:46] Checking exposure S006 for processability
# # [INFO] [2024-11-30T23:40:46] Filter: UVW2
# # [INFO] [2024-11-30T23:40:46] Instrument mode: Image
# # [INFO] [2024-11-30T23:40:46] Exposure duration: 4000
# # [INFO] [2024-11-30T23:40:46] Module name: ExpChooser
# # [INFO] [2024-11-30T23:40:46] Instrument: om
# # [INFO] [2024-11-30T23:40:46] Stream no.: 0002
# # [INFO] [2024-11-30T23:40:46] Module version number: 1.38
# # [INFO] [2024-11-30T23:40:46] Checking exposure S400 for processability
# # [INFO] [2024-11-30T23:40:46] Filter: UVW2
# # [INFO] [2024-11-30T23:40:46] Instrument mode: UNDEFINED
# # [INFO] [2024-11-30T23:40:46] Exposure duration: 4000
# # [INFO] [2024-11-30T23:40:46] OM datamode=
# # [INFO] [2024-11-30T23:40:46] Exposure ignored due to invalid or unsupported instrument mode
# # [INFO] [2024-11-30T23:40:46] Module name: ExpChooser
# # [INFO] [2024-11-30T23:40:46] Instrument: emos1
# # [INFO] [2024-11-30T23:40:46] Stream no.: 0001
# # [INFO] [2024-11-30T23:40:46] Module version number: 1.38
# # [INFO] [2024-11-30T23:40:46] Checking exposure S003 for processability
# # [INFO] [2024-11-30T23:40:46] Filter: CalClosed
# # [INFO] [2024-11-30T23:40:46] Instrument mode: PrimeFullWindow
# # [INFO] [2024-11-30T23:40:46] Exposure duration: 4178
# # [INFO] [2024-11-30T23:40:46] Exposure ignored due to invalid or unsupported filter
# # [INFO] [2024-11-30T23:40:46] Module name: ExpChooser
# # [INFO] [2024-11-30T23:40:46] Instrument: emos2
# # [INFO] [2024-11-30T23:40:46] Stream no.: 0001
# # [INFO] [2024-11-30T23:40:46] Module version number: 1.38
# # [INFO] [2024-11-30T23:40:46] Checking exposure S004 for processability
# # [INFO] [2024-11-30T23:40:47] Filter: CalClosed
# # [INFO] [2024-11-30T23:40:47] Instrument mode: PrimePartialW2
# # [INFO] [2024-11-30T23:40:47] Exposure duration: 4167
# # [INFO] [2024-11-30T23:40:47] Exposure ignored due to invalid or unsupported filter
# # [INFO] [2024-11-30T23:40:47] Module name: ExpChooser
# # [INFO] [2024-11-30T23:40:47] Instrument: epn
# # [INFO] [2024-11-30T23:40:47] Stream no.: 0001
# # [INFO] [2024-11-30T23:40:47] Module version number: 1.38
# # [INFO] [2024-11-30T23:40:47] Checking exposure S005 for processability
# # [INFO] [2024-11-30T23:40:47] Filter: CalClosed
# # [INFO] [2024-11-30T23:40:47] Instrument mode: PrimeFullWindow
# # [INFO] [2024-11-30T23:40:47] Exposure duration: 2181
# # [INFO] [2024-11-30T23:40:47] Exposure ignored due to invalid or unsupported filter
# # [INFO] [2024-11-30T23:40:47] Module name: ExpChooser
# # [INFO] [2024-11-30T23:40:47] Instrument: rgs1
# # [INFO] [2024-11-30T23:40:47] Stream no.: 0001
# # [INFO] [2024-11-30T23:40:47] Module version number: 1.38
# # [INFO] [2024-11-30T23:40:47] Checking exposure S001 for processability
# # [INFO] [2024-11-30T23:40:47] Filter: 
# # [INFO] [2024-11-30T23:40:47] Instrument mode: HighEventRateWithSES
# # [INFO] [2024-11-30T23:40:47] Exposure duration: 492
# # [INFO] [2024-11-30T23:40:47] Module name: ExpChooser
# # [INFO] [2024-11-30T23:40:47] Instrument: rgs2
# # [INFO] [2024-11-30T23:40:47] Stream no.: 0001
# # [INFO] [2024-11-30T23:40:47] Module version number: 1.38
# # [INFO] [2024-11-30T23:40:47] Checking exposure S002 for processability
# # [INFO] [2024-11-30T23:40:47] Filter: 
# # [INFO] [2024-11-30T23:40:47] Instrument mode: HighEventRateWithSES
# # [INFO] [2024-11-30T23:40:47] Exposure duration: 541
# # [INFO] [2024-11-30T23:40:47] Module name: InstrumentHK
# # [INFO] [2024-11-30T23:40:47] Instrument: om
# # [INFO] [2024-11-30T23:40:47] Stream no.: 0001
# # [INFO] [2024-11-30T23:40:47] Module version number: 2.01
# # [INFO] [2024-11-30T23:40:47] Module name: InstrumentHK
# # [INFO] [2024-11-30T23:40:47] Instrument: rgs1
# # [INFO] [2024-11-30T23:40:47] Stream no.: 0001
# # [INFO] [2024-11-30T23:40:47] Module version number: 2.01
# [COMMAND] [2024-11-30T23:40:47]
export SAS_MEMORY_MODEL=high
# [COMMAND] [2024-11-30T23:40:47]
export SAS_RAND_SEED=0103862901
# # [INFO] [2024-11-30T23:40:47] ## DEBUG ModuleResources: SAS_RAND_SEED set: 0103862901
# [COMMAND] [2024-11-30T23:40:47]
hkgtigen gtiset=intermediate/InstrumentHK-rgs1-1-HK_GTI-X00000000000000.fits instrument=rgs1 withgtiset=yes -w 10
# # [OUTPUT] [2024-11-30T23:40:47]
# # [INFO] [2024-11-30T23:40:47] Task Run Time hkgtigen 0.302006006240845s
#
# # [INFO] [2024-11-30T23:40:47] Module name: InstrumentHK
# # [INFO] [2024-11-30T23:40:47] Instrument: rgs2
# # [INFO] [2024-11-30T23:40:47] Stream no.: 0001
# # [INFO] [2024-11-30T23:40:47] Module version number: 2.01
# [COMMAND] [2024-11-30T23:40:47]
export SAS_MEMORY_MODEL=high
# [COMMAND] [2024-11-30T23:40:47]
export SAS_RAND_SEED=0103862901
# # [INFO] [2024-11-30T23:40:47] ## DEBUG ModuleResources: SAS_RAND_SEED set: 0103862901
# [COMMAND] [2024-11-30T23:40:47]
hkgtigen gtiset=intermediate/InstrumentHK-rgs2-1-HK_GTI-X00000000000000.fits instrument=rgs2 withgtiset=yes -w 10
# # [OUTPUT] [2024-11-30T23:40:47]
# # [INFO] [2024-11-30T23:40:47] Task Run Time hkgtigen 0.219920873641968s
#
# # [INFO] [2024-11-30T23:40:47] Module name: USNOExtract
# # [INFO] [2024-11-30T23:40:47] Instrument: all
# # [INFO] [2024-11-30T23:40:47] Stream no.: 0001
# # [INFO] [2024-11-30T23:40:47] Module version number: 0.07
# [COMMAND] [2024-11-30T23:40:47]
export \
PFILES=/scratch/225648.1.all.q/xmm/ppsprod/228793/pfiles;/lhome/pcms/local/rhel8.6/GNU_CC_CXX_11.3.0/headas/architecture/syspfiles
# [COMMAND] [2024-11-30T23:40:47]
export SAS_MEMORY_MODEL=high
# [COMMAND] [2024-11-30T23:40:47]
export SAS_RAND_SEED=0103862901
# # [INFO] [2024-11-30T23:40:47] ## DEBUG ModuleResources: SAS_RAND_SEED set: 0103862901
# [COMMAND] [2024-11-30T23:40:47]
fimgcreate bitpix=8 datafile=none headfile=intermediate/USNOExtract-all-1-fimgcreate_kwds-X00000000000000.ascii naxes='648,648' \
outfile=intermediate/USNOExtract-all-1-dummy_image-X00000000000000.fits
# # [OUTPUT] [2024-11-30T23:40:47] Written the output image ......... 
# # [INFO] [2024-11-30T23:40:47] Task Run Time fimgcreate 0.0601367950439453s
#
# [COMMAND] [2024-11-30T23:40:47]
export SAS_MEMORY_MODEL=high
# [COMMAND] [2024-11-30T23:40:47]
export SAS_RAND_SEED=0103862901
# # [INFO] [2024-11-30T23:40:47] ## DEBUG ModuleResources: SAS_RAND_SEED set: 0103862901
# [COMMAND] [2024-11-30T23:40:47]
catprep catextract=intermediate/USNOExtract-all-1-Reference_catalogue-X00000000000000.fits \
srclistset=product/P0103862901OBX000CALIND0000.FIT -w 10
# # [OUTPUT] [2024-11-30T23:40:48]
# # [INFO] [2024-11-30T23:40:48] Task Run Time catprep 1.04221200942993s
#
# [COMMAND] [2024-11-30T23:40:48]
cp /scratch/225648.1.all.q/xmm/ppsprod/228793/intermediate/USNOExtract-all-1-Reference_catalogue-X00000000000000.fits \
/scratch/225648.1.all.q/xmm/ppsprod/228793/product/P0103862901OBX000REFCAT0000.FIT
# # [INFO] [2024-11-30T23:40:48] System RV 0
# # [INFO] [2024-11-30T23:40:48] Reading keyword DEC_OBJ value 3.44219445000000E+01 comment [deg] Dec of the observed object
# # [INFO] [2024-11-30T23:40:48] Reading keyword RA_OBJ value 3.39275001000000E+02 comment [deg] Ra of the observed object
# # [INFO] [2024-11-30T23:40:48] Reading keyword DATE-END value 2002-05-28T09:57:50.000 comment Date observations ended
# # [INFO] [2024-11-30T23:40:48] Reading keyword OBS_ID value 0103862901 comment Observation identifier
# # [INFO] [2024-11-30T23:40:48] Reading keyword TELESCOP value XMM comment Telescope (mission) name
# # [INFO] [2024-11-30T23:40:48] Reading keyword DATE-OBS value 2002-05-28T08:41:52.000 comment Date observations were made
# # [INFO] [2024-11-30T23:40:48] Reading keyword OBS_MODE value POINTING comment Observation mode (pointing or slew)
# [COMMAND] [2024-11-30T23:40:48]
export SAS_MEMORY_MODEL=high
# [COMMAND] [2024-11-30T23:40:48]
export SAS_RAND_SEED=0103862901
# # [INFO] [2024-11-30T23:40:48] ## DEBUG ModuleResources: SAS_RAND_SEED set: 0103862901
# [COMMAND] [2024-11-30T23:40:48]
addattribute attributecomment="\"[deg] Dec of the observed object\" \"[deg] Ra of the observed object\" \"Date observations ended\" \
\"Observation identifier\" \"Telescope (mission) name\" \"Date observations were made\" \"Observation mode (pointing or slew)\"" \
attributename="DEC_OBJ RA_OBJ DATE-END OBS_ID TELESCOP DATE-OBS OBS_MODE" attributetype="\"real\" \"real\" \"string\" \"string\" \
\"string\" \"string\" \"string\"" realvalue="3.44219445000000E+01 3.39275001000000E+02" set=product/P0103862901OBX000REFCAT0000.FIT \
stringvalue="2002-05-28T09:57:50.000 0103862901 XMM 2002-05-28T08:41:52.000 POINTING" -w 10
# # [OUTPUT] [2024-11-30T23:40:48] ** addattribute: warning (creatorKeywordNotFound), The CREATOR keyword could not be found in\
#     dataset with name 'product/P0103862901OBX000REFCAT0000.FIT'
# ** addattribute: warning (dateKeywordNotFound), The DATE keyword could not be found in dataset with name\
#     'product/P0103862901OBX000REFCAT0000.FIT' 
# # [INFO] [2024-11-30T23:40:48] Task Run Time addattribute 0.0317268371582031s
#
# # [INFO] [2024-11-30T23:40:48] Module name: OMgetFlat
# # [INFO] [2024-11-30T23:40:48] Instrument: om
# # [INFO] [2024-11-30T23:40:48] Stream no.: 0001
# # [INFO] [2024-11-30T23:40:48] Module version number: 1.07
# [COMMAND] [2024-11-30T23:40:48]
export SAS_MEMORY_MODEL=high
# [COMMAND] [2024-11-30T23:40:48]
export SAS_RAND_SEED=0103862901
# # [INFO] [2024-11-30T23:40:48] ## DEBUG ModuleResources: SAS_RAND_SEED set: 0103862901
# [COMMAND] [2024-11-30T23:40:48]
omflatgen outset=intermediate/OMgetFlat-om-1-OM_Flatfield-X00000000000000.fits -w 10
# # [OUTPUT] [2024-11-30T23:40:49] ** omflatgen: warning (ArgumentIgnored), Warning: countRateFrameRatio argument in small-scale\
#     flatfield retrieval currently ignored 
# # [INFO] [2024-11-30T23:40:49] Task Run Time omflatgen 0.172518968582153s
#
# # [INFO] [2024-11-30T23:40:49] Module name: OMExpAnalyse
# # [INFO] [2024-11-30T23:40:49] Instrument: om
# # [INFO] [2024-11-30T23:40:49] Stream no.: 0001
# # [INFO] [2024-11-30T23:40:49] Module version number: 1.06
# [COMMAND] [2024-11-30T23:40:49]
export SAS_MEMORY_MODEL=high
# [COMMAND] [2024-11-30T23:40:49]
export SAS_RAND_SEED=0103862901
# # [INFO] [2024-11-30T23:40:49] ## DEBUG ModuleResources: SAS_RAND_SEED set: 0103862901
# [COMMAND] [2024-11-30T23:40:49]
omprep modeset=3 nphset=odf/0452_0103862901_OMX00000NPH.FIT \
outset=intermediate/OMExpAnalyse-om-1-omprep_tracking_history-S00600000000000.fits pehset=odf/0452_0103862901_OMX00000PEH.FIT \
set=DUMMYTHX.FIT wdxset=odf/0452_0103862901_OMS00600WDX.FIT -w 10
# # [OUTPUT] [2024-11-30T23:40:49] ** omprep: warning ( Missing OM Tracking History Data Auxiliary File. Using ZERODRIFT option),\
#     ZERODRIFT 
# # [INFO] [2024-11-30T23:40:49] Task Run Time omprep 0.0651750564575195s
#
# # [INFO] [2024-11-30T23:40:49] Module name: OMFastAnalyse
# # [INFO] [2024-11-30T23:40:49] Instrument: om
# # [INFO] [2024-11-30T23:40:49] Stream no.: 0001
# # [INFO] [2024-11-30T23:40:49] Module version number: 1.36
# # [INFO] [2024-11-30T23:40:49] DEBUG --- exp_id: S006, filter: UVW2
# # [INFO] [2024-11-30T23:40:49] No Fast Mode Windows to process
# # [INFO] [2024-11-30T23:40:49] Module name: OMImageAnalyse
# # [INFO] [2024-11-30T23:40:49] Instrument: om
# # [INFO] [2024-11-30T23:40:49] Stream no.: 0001
# # [INFO] [2024-11-30T23:40:49] Module version number: 3.28
# # [INFO] [2024-11-30T23:40:49] Looking for Engineering Mode Files...
# # [INFO] [2024-11-30T23:40:49] Found None Engineering mode Windows.
# # [INFO] [2024-11-30T23:40:49] Found No Full Frame Engineering 4 Windows.
# # [INFO] [2024-11-30T23:40:49] Found no Full Frame Engineering 2 Windows.
# # [INFO] [2024-11-30T23:40:49] Looking for Image Mode Files...
# # [INFO] [2024-11-30T23:40:49] Found 1 Image mode images.
# # [INFO] [2024-11-30T23:40:49] Analysing odf/0452_0103862901_OMS00600IMI.FIT for image identification
# # [INFO] [2024-11-30T23:40:49] Identified mode: USER
# # [INFO] [2024-11-30T23:40:49] Failed to make a suitable combined image. Will process components as USER mode.
# # [INFO] [2024-11-30T23:40:49] Processing USER Images.
# # [INFO] [2024-11-30T23:40:49] 1 images to process.
# # [INFO] [2024-11-30T23:40:49] Processing S006:0:odf/0452_0103862901_OMS00600IMI.FIT
# [COMMAND] [2024-11-30T23:40:49]
export SAS_MEMORY_MODEL=high
# [COMMAND] [2024-11-30T23:40:49]
export SAS_RAND_SEED=0103862901
# # [INFO] [2024-11-30T23:40:49] ## DEBUG ModuleResources: SAS_RAND_SEED set: 0103862901
# [COMMAND] [2024-11-30T23:40:49]
omprep modeset=0 nphset=odf/0452_0103862901_OMX00000NPH.FIT outset=intermediate/OMImageAnalyse-om-1-Raw_Image-S00600000000000.fits \
pehset=odf/0452_0103862901_OMX00000PEH.FIT set=odf/0452_0103862901_OMS00600IMI.FIT wdxset=odf/0452_0103862901_OMS00600WDX.FIT -w 10
# # [OUTPUT] [2024-11-30T23:40:49] ** omprep: warning (NoSuchIPPV), There is no IPPV `DATA_MODE_1' in the actual exposure 
# # [INFO] [2024-11-30T23:40:49] Task Run Time omprep 0.141813039779663s
#
# # [INFO] [2024-11-30T23:40:49] Retrieving FILTER value
# # [INFO] [2024-11-30T23:40:49] FILTER = S
# # [INFO] [2024-11-30T23:40:49] Retrieving EXPOSURE value
# # [INFO] [2024-11-30T23:40:49] EXPOSURE = 4.00000000000000E+03
# [COMMAND] [2024-11-30T23:40:49]
export SAS_MEMORY_MODEL=high
# [COMMAND] [2024-11-30T23:40:49]
export SAS_RAND_SEED=0103862901
# # [INFO] [2024-11-30T23:40:49] ## DEBUG ModuleResources: SAS_RAND_SEED set: 0103862901
# [COMMAND] [2024-11-30T23:40:49]
omcosflag set=intermediate/OMImageAnalyse-om-1-Raw_Image-S00600000000000.fits \
thxset=intermediate/OMExpAnalyse-om-1-omprep_tracking_history-S00600000000000.fits -w 10
# # [OUTPUT] [2024-11-30T23:40:49]
# # [INFO] [2024-11-30T23:40:49] Task Run Time omcosflag 0.206534147262573s
#
# [COMMAND] [2024-11-30T23:40:49]
export SAS_MEMORY_MODEL=high
# [COMMAND] [2024-11-30T23:40:49]
export SAS_RAND_SEED=0103862901
# # [INFO] [2024-11-30T23:40:49] ## DEBUG ModuleResources: SAS_RAND_SEED set: 0103862901
# [COMMAND] [2024-11-30T23:40:49]
omflatfield inorbitflatset=intermediate/OMgetFlat-om-1-OM_Flatfield-X00000000000000.fits \
outset=intermediate/OMImageAnalyse-om-1-OSW_Flat_Fielded_Image-S00600000000000.fits \
set=intermediate/OMImageAnalyse-om-1-Raw_Image-S00600000000000.fits \
thxset=intermediate/OMExpAnalyse-om-1-omprep_tracking_history-S00600000000000.fits \
tsflatset=intermediate/OMImageAnalyse-om-1-OSW_Flat_Field-S00600000000000.fits -w 10
# # [OUTPUT] [2024-11-30T23:40:49]
# # [INFO] [2024-11-30T23:40:49] Task Run Time omflatfield 0.146237850189209s
#
# [COMMAND] [2024-11-30T23:40:49]
export SAS_MEMORY_MODEL=high
# [COMMAND] [2024-11-30T23:40:49]
export SAS_RAND_SEED=0103862901
# # [INFO] [2024-11-30T23:40:49] ## DEBUG ModuleResources: SAS_RAND_SEED set: 0103862901
# [COMMAND] [2024-11-30T23:40:49]
ommodmap mod8product=Y mod8set=intermediate/OMImageAnalyse-om-1-OSW_MODULO_8_IMAGE-S00600000000000.fits nbox=16 nsig=6 \
outset=product/P0103862901OMS006IMAGE_0000.FIT set=intermediate/OMImageAnalyse-om-1-OSW_Flat_Fielded_Image-S00600000000000.fits -w \
10
# # [OUTPUT] [2024-11-30T23:40:54] ** ommodmap: warning (LowMod8Noise), Too few counts in image to remove mod8 noise. 
# # [INFO] [2024-11-30T23:40:54] Task Run Time ommodmap 5.26576209068298s
#
# [COMMAND] [2024-11-30T23:40:54]
export SAS_MEMORY_MODEL=high
# [COMMAND] [2024-11-30T23:40:54]
export SAS_RAND_SEED=0103862901
# # [INFO] [2024-11-30T23:40:54] ## DEBUG ModuleResources: SAS_RAND_SEED set: 0103862901
# [COMMAND] [2024-11-30T23:40:54]
omqualitymap mode=setqualityimage outset=product/P0103862901OMS006IMAGE_0000.FIT set=product/P0103862901OMS006IMAGE_0000.FIT \
srclistset= -w 10
# # [OUTPUT] [2024-11-30T23:40:55] ** omqualitymap: warning (parameter), srclistset = NONE; 
# ** omqualitymap: warning (overwrite), The file product/P0103862901OMS006IMAGE_0000.FIT will be overwritten
# ** omqualitymap: warning (parameter), srclistset = NONE; 
# # [INFO] [2024-11-30T23:40:55] Task Run Time omqualitymap 0.113394975662231s
#
# [COMMAND] [2024-11-30T23:40:55]
export SAS_MEMORY_MODEL=high
# [COMMAND] [2024-11-30T23:40:55]
export SAS_RAND_SEED=0103862901
# # [INFO] [2024-11-30T23:40:55] ## DEBUG ModuleResources: SAS_RAND_SEED set: 0103862901
# [COMMAND] [2024-11-30T23:40:55]
omdetect detectextended=Y minsignificance=3 nsigma=2 outset=product/P0103862901OMS006SWSRLI0000.FIT \
regionfile=product/P0103862901OMS006SWSREG0000.ASC set=product/P0103862901OMS006IMAGE_0000.FIT -w 10
# # [OUTPUT] [2024-11-30T23:41:10]
# # [INFO] [2024-11-30T23:41:10] Task Run Time omdetect 15.6288509368896s
#
# [COMMAND] [2024-11-30T23:41:10]
export SAS_MEMORY_MODEL=high
# [COMMAND] [2024-11-30T23:41:10]
export SAS_RAND_SEED=0103862901
# # [INFO] [2024-11-30T23:41:10] ## DEBUG ModuleResources: SAS_RAND_SEED set: 0103862901
# [COMMAND] [2024-11-30T23:41:10]
omqualitymap mode=setqualityimage outset=product/P0103862901OMS006IMAGE_0000.FIT set=product/P0103862901OMS006IMAGE_0000.FIT \
srclistset=product/P0103862901OMS006SWSRLI0000.FIT -w 10
# # [OUTPUT] [2024-11-30T23:41:10] ** omqualitymap: warning (parameter), srclistset = product/P0103862901OMS006SWSRLI0000.FIT; 
# ** omqualitymap: warning (overwrite), The file product/P0103862901OMS006IMAGE_0000.FIT will be overwritten
# ** omqualitymap: warning (parameter), srclistset = product/P0103862901OMS006SWSRLI0000.FIT; 
# # [INFO] [2024-11-30T23:41:10] Task Run Time omqualitymap 0.166506052017212s
#
# [COMMAND] [2024-11-30T23:41:10]
export SAS_MEMORY_MODEL=high
# [COMMAND] [2024-11-30T23:41:10]
export SAS_RAND_SEED=0103862901
# # [INFO] [2024-11-30T23:41:10] ## DEBUG ModuleResources: SAS_RAND_SEED set: 0103862901
# [COMMAND] [2024-11-30T23:41:10]
ommag set=product/P0103862901OMS006SWSRLI0000.FIT -w 10
# # [OUTPUT] [2024-11-30T23:41:10]
# TDP corr factor is: 1.07486296 
# L265 tdpCorrFactor= 1.07486296 
# L348 getting the column data
# In: 371.093811 203.324860 1 772
# X,Y,pdepcorr: 1143.09375 879.324829 1.00000000 
# In: 199.235107 290.219269 1 772
# X,Y,pdepcorr: 971.235107 966.219238 1.00000000 
# In: 272.062164 350.296631 1 772
# X,Y,pdepcorr: 1044.06213 1026.29663 1.00000000 
# In: 190.103256 420.987122 1 772
# X,Y,pdepcorr: 962.103271 1096.98706 1.00000000 
# In: 412.688080 231.116196 1 772
# X,Y,pdepcorr: 1184.68811 907.116211 1.00000000 
# In: 269.647980 371.410645 1 772
# X,Y,pdepcorr: 1041.64795 1047.41064 1.00000000 
# In: 204.606949 484.985077 1 772
# X,Y,pdepcorr: 976.606934 1160.98511 1.00000000 
# # [INFO] [2024-11-30T23:41:10] Task Run Time ommag 0.108312845230103s
#
# [COMMAND] [2024-11-30T23:41:10]
export SAS_MEMORY_MODEL=high
# [COMMAND] [2024-11-30T23:41:10]
export SAS_RAND_SEED=0103862901
# # [INFO] [2024-11-30T23:41:10] ## DEBUG ModuleResources: SAS_RAND_SEED set: 0103862901
# [COMMAND] [2024-11-30T23:41:10]
omatt catfile=product/P0103862901OBX000REFCAT0000.FIT ppsoswset=product/P0103862901OMS006SIMAGE0000.FIT \
set=product/P0103862901OMS006IMAGE_0000.FIT sourcelistset=product/P0103862901OMS006SWSRLI0000.FIT usecat=Y -w 10
# # [OUTPUT] [2024-11-30T23:41:16] ** omatt: warning (Too few sources matched for astrometry correction ( 0)), Need at least 5 
# # [INFO] [2024-11-30T23:41:16] Task Run Time omatt 5.20475912094116s
#
# [COMMAND] [2024-11-30T23:41:16]
export \
PFILES=/scratch/225648.1.all.q/xmm/ppsprod/228793/pfiles;/lhome/pcms/local/rhel8.6/GNU_CC_CXX_11.3.0/headas/architecture/syspfiles
# [COMMAND] [2024-11-30T23:41:16]
export SAS_MEMORY_MODEL=high
# [COMMAND] [2024-11-30T23:41:16]
export SAS_RAND_SEED=0103862901
# # [INFO] [2024-11-30T23:41:16] ## DEBUG ModuleResources: SAS_RAND_SEED set: 0103862901
# [COMMAND] [2024-11-30T23:41:16]
fimgstat clobber=Y infile=product/P0103862901OMS006SIMAGE0000.FIT max=0 mean=0 min=0 mode=ql num=0 \
outfile=intermediate/OMImageAnalyse-om-1-OSW_0_sky_image_statistics-S00600000000000.ascii rms=0 sum=0 threshlo=INDEF threshup=INDEF \
xmax=0 xmin=0 ymax=0 ymin=0
# # [OUTPUT] [2024-11-30T23:41:16]
# ****** successfully exited ******
# # [INFO] [2024-11-30T23:41:16] Task Run Time fimgstat 0.0780990123748779s
#
# # [INFO] [2024-11-30T23:41:16] DEBUG - doCommand fullcmd : implot.py --fitsImage=product/P0103862901OMS006SIMAGE0000.FIT\
#     --outfile=product/P0103862901OMS006SIMAGE0000.PNG
# [COMMAND] [2024-11-30T23:41:16]
export SAS_MEMORY_MODEL=high
# [COMMAND] [2024-11-30T23:41:16]
export SAS_RAND_SEED=0103862901
# # [INFO] [2024-11-30T23:41:16] ## DEBUG ModuleResources: SAS_RAND_SEED set: 0103862901
# [COMMAND] [2024-11-30T23:41:16]
implot.py --fitsImage=product/P0103862901OMS006SIMAGE0000.FIT --outfile=product/P0103862901OMS006SIMAGE0000.PNG
# # [OUTPUT] [2024-11-30T23:41:19] Image shape. y,x: (780, 769) figsize: [8.5, 6.8]
# Cropped image shape. y,x: (779, 768) x/y ratio: 0.99 
# # [INFO] [2024-11-30T23:41:19] Task Run Time implot.py 2.95877981185913s
#
# # [INFO] [2024-11-30T23:41:19] Processing RUDI5_LR Images.
# # [INFO] [2024-11-30T23:41:19] 0 images to process.
# # [INFO] [2024-11-30T23:41:19] Processing RUDI5_HR Images.
# # [INFO] [2024-11-30T23:41:19] 0 images to process.
# # [INFO] [2024-11-30T23:41:19] Processing PFENG2 Images.
# # [INFO] [2024-11-30T23:41:19] 0 images to process.
# # [INFO] [2024-11-30T23:41:19] Processing FFENG2 Images.
# # [INFO] [2024-11-30T23:41:19] 0 images to process.
# # [INFO] [2024-11-30T23:41:19] Processing ENG4 Images.
# # [INFO] [2024-11-30T23:41:19] 0 images to process.
# # [INFO] [2024-11-30T23:41:19] All images processed
# # [INFO] [2024-11-30T23:41:19] Writing accounting information
# # [INFO] [2024-11-30T23:41:19] DEBUG: sourcedetails array: $VAR1 = [
# 'product/P0103862901OMS006SWSRLI0000.FIT|USER|S '
# ]; 
# # [INFO] [2024-11-30T23:41:19] DEBUG: skyimagedetails array: $VAR1 = [
# 'product/P0103862901OMS006SIMAGE0000.FIT|USER|S|4.00000000000000E+03|S006 '
# ]; 
# # [INFO] [2024-11-30T23:41:19] Module name: OMMosaic
# # [INFO] [2024-11-30T23:41:19] Instrument: om
# # [INFO] [2024-11-30T23:41:19] Stream no.: 0001
# # [INFO] [2024-11-30T23:41:19] Module version number: 2.39
# # [INFO] [2024-11-30T23:41:19] Looking For Images to Mosaic...
# # [INFO] [2024-11-30T23:41:19] Running addtomosaic.py on\
#     intermediate/OMImageAnalyse-om-1-OM_SKY_IMAGE_DETAILS-S00600000000000.ascii
# # [INFO] [2024-11-30T23:41:19] DEBUG - doCommand fullcmd : addtomosaic.py\
#     --file=intermediate/OMImageAnalyse-om-1-OM_SKY_IMAGE_DETAILS-S00600000000000.ascii
# [COMMAND] [2024-11-30T23:41:19]
export SAS_MEMORY_MODEL=high
# [COMMAND] [2024-11-30T23:41:19]
export SAS_RAND_SEED=0103862901
# # [INFO] [2024-11-30T23:41:19] ## DEBUG ModuleResources: SAS_RAND_SEED set: 0103862901
# [COMMAND] [2024-11-30T23:41:19]
addtomosaic.py --file=intermediate/OMImageAnalyse-om-1-OM_SKY_IMAGE_DETAILS-S00600000000000.ascii
# # [OUTPUT] [2024-11-30T23:41:20] intermediate/OMImageAnalyse-om-1-OM_SKY_IMAGE_DETAILS-S00600000000000.ascii
# ['product/P0103862901OMS006SIMAGE0000.FIT|USER|S|4.00000000000000E+03|S006|1\n'] 
# # [INFO] [2024-11-30T23:41:20] Task Run Time addtomosaic.py 1.07052302360535s
#
# # [INFO] [2024-11-30T23:41:20] Found 1 Images
# # [INFO] [2024-11-30T23:41:20] Grouping Images by Mode then Filter
# # [INFO] [2024-11-30T23:41:20] Mode: ALL
# # [INFO] [2024-11-30T23:41:20] Filter: S
# # [INFO] [2024-11-30T23:41:20] Image File : product/P0103862901OMS006SIMAGE0000.FIT
# # [INFO] [2024-11-30T23:41:20] Creating Images...
# # [INFO] [2024-11-30T23:41:20] MODE: ALL
# # [INFO] [2024-11-30T23:41:20] FILTER: S
# # [INFO] [2024-11-30T23:41:20] CREATING: product/P0103862901OMX000XSIMAGS000.FIT, Duration: 4000
# [COMMAND] [2024-11-30T23:41:20]
export SAS_MEMORY_MODEL=high
# [COMMAND] [2024-11-30T23:41:20]
export SAS_RAND_SEED=0103862901
# # [INFO] [2024-11-30T23:41:20] ## DEBUG ModuleResources: SAS_RAND_SEED set: 0103862901
# [COMMAND] [2024-11-30T23:41:20]
ommosaic imagesets=product/P0103862901OMS006SIMAGE0000.FIT mincorr=0 mosaicedset=product/P0103862901OMX000XSIMAGS000.FIT -w 10
# # [OUTPUT] [2024-11-30T23:41:30] ** ommosaic: warning (noAstrometryCorrection), No sky images have had a successful astrometry\
#     correction
# L1109 c3 xLeft=339.336248 xRight=339.212776 
# 73.6854 339.267 34.4155 
# # [INFO] [2024-11-30T23:41:30] Task Run Time ommosaic 10.1323480606079s
#
# # [INFO] [2024-11-30T23:41:30] Only one exposure in mosaic. No omdetect,ommag and omqualitymap 
# # [INFO] [2024-11-30T23:41:30] DEBUG - doCommand fullcmd : implot.py --fitsImage=product/P0103862901OMX000XSIMAGS000.FIT\
#     --outfile=product/P0103862901OMX000XSIMAGS000.PNG
# [COMMAND] [2024-11-30T23:41:30]
export SAS_MEMORY_MODEL=high
# [COMMAND] [2024-11-30T23:41:30]
export SAS_RAND_SEED=0103862901
# # [INFO] [2024-11-30T23:41:30] ## DEBUG ModuleResources: SAS_RAND_SEED set: 0103862901
# [COMMAND] [2024-11-30T23:41:30]
implot.py --fitsImage=product/P0103862901OMX000XSIMAGS000.FIT --outfile=product/P0103862901OMX000XSIMAGS000.PNG
# # [OUTPUT] [2024-11-30T23:41:33] Image shape. y,x: (780, 770) figsize: [8.5, 6.8]
# Cropped image shape. y,x: (779, 769) x/y ratio: 0.99 
# # [INFO] [2024-11-30T23:41:33] Task Run Time implot.py 2.59153604507446s
#
# # [INFO] [2024-11-30T23:41:33] Done: ALL
# # [INFO] [2024-11-30T23:41:33] Module name: OMSourceCombine
# # [INFO] [2024-11-30T23:41:33] Instrument: om
# # [INFO] [2024-11-30T23:41:33] Stream no.: 0001
# # [INFO] [2024-11-30T23:41:33] Module version number: 3.9
# # [INFO] [2024-11-30T23:41:33] Looking For Source Lists to Combine...
# # [INFO] [2024-11-30T23:41:33] DEBUG: file: intermediate/OMImageAnalyse-om-1-OM_SRC_IMAGE_DETAILS-S00600000000000.ascii
# # [INFO] [2024-11-30T23:41:33] DEBUG: line product/P0103862901OMS006SWSRLI0000.FIT|USER|S
# # [INFO] [2024-11-30T23:41:33] DEBUG: split to tmp: $VAR1 = [
# 'product/P0103862901OMS006SWSRLI0000.FIT',
# 'USER',
# 'S'
# ]; 
# # [INFO] [2024-11-30T23:41:33] DEBUG: SrcLstDetails: $VAR1 = [
# [
# 'product/P0103862901OMS006SWSRLI0000.FIT',
# 'USER',
# 'S'
# ]
# ]; 
# # [INFO] [2024-11-30T23:41:33] Found 1 Lists
# # [INFO] [2024-11-30T23:41:33] Grouping Lists by Mode then Filter
# # [INFO] [2024-11-30T23:41:33] DEBUG: SortedSrcLstDetails: $VAR1 = [
# [
# 'product/P0103862901OMS006SWSRLI0000.FIT',
# 'USER',
# 'S'
# ]
# ]; 
# # [INFO] [2024-11-30T23:41:33] Mode: USER
# # [INFO] [2024-11-30T23:41:33] DEBUG: Src: ARRAY(0x63ecd78)
# # [INFO] [2024-11-30T23:41:33] DEBUG: mode_p: 1
# # [INFO] [2024-11-30T23:41:33] DEBUG: SSrc[modep]: USER
# # [INFO] [2024-11-30T23:41:33] DEBUG: SSrc[filterp]: S
# # [INFO] [2024-11-30T23:41:33] Filter: S
# # [INFO] [2024-11-30T23:41:33] Image File : product/P0103862901OMS006SWSRLI0000.FIT
# # [INFO] [2024-11-30T23:41:33] Creating Combined Lists...
# # [INFO] [2024-11-30T23:41:33] MODE: USER
# # [INFO] [2024-11-30T23:41:33] FILTER: S
# # [INFO] [2024-11-30T23:41:33] Done: USER
# # [INFO] [2024-11-30T23:41:33] CREATING: product/P0103862901OMX000OBSMLI0000.FIT
# [COMMAND] [2024-11-30T23:41:33]
export SAS_MEMORY_MODEL=high
# [COMMAND] [2024-11-30T23:41:33]
export SAS_RAND_SEED=0103862901
# # [INFO] [2024-11-30T23:41:33] ## DEBUG ModuleResources: SAS_RAND_SEED set: 0103862901
# [COMMAND] [2024-11-30T23:41:33]
omsrclistcomb catfile=product/P0103862901OBX000REFCAT0000.FIT outset=product/P0103862901OMX000OBSMLI0000.FIT \
sourcelistsets=product/P0103862901OMS006SWSRLI0000.FIT usecat=Y -w 10
# # [OUTPUT] [2024-11-30T23:41:33] ** omsrclistcomb: warning (Too few sources matched for astrometry correction ( 0)), Need at least\
#     5 
# # [INFO] [2024-11-30T23:41:33] Task Run Time omsrclistcomb 0.758733987808228s
#
# # [INFO] [2024-11-30T23:41:33] No MOSAIC lists to combine
# # [INFO] [2024-11-30T23:41:33] Module name: RGSEvents
# # [INFO] [2024-11-30T23:41:33] Instrument: rgs2
# # [INFO] [2024-11-30T23:41:33] Stream no.: 0001
# # [INFO] [2024-11-30T23:41:33] Module version number: 4.21
# # [INFO] [2024-11-30T23:41:33] Exposure ID: S002
# # [INFO] [2024-11-30T23:41:33] Instrument mode: HighEventRateWithSES
# [COMMAND] [2024-11-30T23:41:33]
export SAS_MEMORY_MODEL=high
# [COMMAND] [2024-11-30T23:41:33]
export SAS_RAND_SEED=0103862901
# # [INFO] [2024-11-30T23:41:33] ## DEBUG ModuleResources: SAS_RAND_SEED set: 0103862901
# [COMMAND] [2024-11-30T23:41:33]
attfilter attset=product/P0103862901OBX000ATTTSR0000.FIT filtertype=cone \
gtitable=intermediate/RGSEvents-rgs2-1-Exposure_Attitude_GTI-S00200000000000.fits:STDGTI instexpid=R2S002 tolangles=5000.0*#ARCMIN \
-w 10
# # [OUTPUT] [2024-11-30T23:41:33]
# # [INFO] [2024-11-30T23:41:33] Task Run Time attfilter 0.0588200092315674s
#
# # [INFO] [2024-11-30T23:41:33] No suitable EPIC source list found to supply source positions
# # [INFO] [2024-11-30T23:41:33] Using pointing position instead
# [COMMAND] [2024-11-30T23:41:33]
export SAS_MEMORY_MODEL=high
# [COMMAND] [2024-11-30T23:41:33]
export SAS_RAND_SEED=0103862901
# # [INFO] [2024-11-30T23:41:33] ## DEBUG ModuleResources: SAS_RAND_SEED set: 0103862901
# [COMMAND] [2024-11-30T23:41:33]
rgssources attstyle=expmedian doconfusion=Y enablefilter=Y \
expmediantable=intermediate/RGSEvents-rgs2-1-Exposure_Attitude_GTI-S00200000000000.fits:STDGTI filemode=create flagepicsrcoutoffov=Y \
instexpid=odf/0452_0103862901_R2S00201SPE.FIT medianset=product/P0103862901OBX000ATTTSR0000.FIT primestyle=auto \
srclist=product/P0103862901R2S002SRCLI_0000.FIT withepicset=N -w 10
# # [OUTPUT] [2024-11-30T23:41:34] ** rgssources: warning (badPrimeRate), The prime source (INDEX=1) has a RATE value of <= zero.\
#     Confusion values cannot be calculated. 
# # [INFO] [2024-11-30T23:41:34] Task Run Time rgssources 0.113888025283813s
#
# [COMMAND] [2024-11-30T23:41:34]
cp /scratch/225648.1.all.q/xmm/ppsprod/228793/product/P0103862901R2S002SRCLI_0000.FIT \
/scratch/225648.1.all.q/xmm/ppsprod/228793/intermediate/RGSEvents-rgs2-1-RGS_src_list_with_whole_field-S00200000000000.fits
# # [INFO] [2024-11-30T23:41:34] System RV 0
# [COMMAND] [2024-11-30T23:41:34]
export SAS_MEMORY_MODEL=high
# [COMMAND] [2024-11-30T23:41:34]
export SAS_RAND_SEED=0103862901
# # [INFO] [2024-11-30T23:41:34] ## DEBUG ModuleResources: SAS_RAND_SEED set: 0103862901
# [COMMAND] [2024-11-30T23:41:34]
rgssources addusersource=yes bkgexclude=no deltadisp=0 deltaxdsp=0 filemode=modify label=WHOLE_FIELD positionstyle=wrtatt process=no \
srclist=intermediate/RGSEvents-rgs2-1-RGS_src_list_with_whole_field-S00200000000000.fits:SOURCES -w 10
# # [OUTPUT] [2024-11-30T23:41:34] ** rgssources: warning (instIdClash), The instrument RGS2 recorded in the source list header\
#     keyword &INSTRUME is not the same as that derived from the value of the --instexpid parameter. Note: if you have left the\
#     --instexpid parameter at its (nonsense) default setting, then you needn't be alarmed - currently the code has no way to\
#     distinguish between this situation and the one in which the user _has_ set the parameter but has given it the wrong value.
# ** rgssources: warning (expIdStrClash), The 4-character exposure identifier S002 recorded in the source list header keyword\
#     EXPIDSTR is not the same as that derived from the value of the --instexpid parameter. Note: if you have left the --instexpid\
#     parameter at its (nonsense) default setting, then you needn't be alarmed - currently the code has no way to distinguish\
#     between this situation and the one in which the user _has_ set the parameter but has given it the wrong value.
# ** rgssources: warning (badPrimeRate), The prime source (INDEX=1) has a RATE value of <= zero. Confusion values cannot be\
#     calculated. 
# # [INFO] [2024-11-30T23:41:34] Task Run Time rgssources 0.129764080047607s
#
# # [INFO] [2024-11-30T23:41:34] Processing CCD 1
# [COMMAND] [2024-11-30T23:41:34]
export SAS_MEMORY_MODEL=high
# [COMMAND] [2024-11-30T23:41:34]
export SAS_RAND_SEED=0103862901
# # [INFO] [2024-11-30T23:41:34] ## DEBUG ModuleResources: SAS_RAND_SEED set: 0103862901
# [COMMAND] [2024-11-30T23:41:34]
rgsframes ccdset=intermediate/RGSEvents-rgs2-1-Intermediate_events-S00201000100000.fits set=odf/0452_0103862901_R2S00201SPE.FIT -w \
10
# # [OUTPUT] [2024-11-30T23:41:34]
# # [INFO] [2024-11-30T23:41:34] Task Run Time rgsframes 0.112581968307495s
#
# [COMMAND] [2024-11-30T23:41:34]
export SAS_MEMORY_MODEL=high
# [COMMAND] [2024-11-30T23:41:34]
export SAS_RAND_SEED=0103862901
# # [INFO] [2024-11-30T23:41:34] ## DEBUG ModuleResources: SAS_RAND_SEED set: 0103862901
# [COMMAND] [2024-11-30T23:41:34]
rgsenergy ccdset=intermediate/RGSEvents-rgs2-1-Intermediate_events-S00201000100000.fits withdiagoffset=yes -w 10
# # [OUTPUT] [2024-11-30T23:41:34] ** rgsenergy: warning (ArgumentIgnored), <time> argument of RGS CTI correction currently ignored
# ** rgsenergy: warning (ArgumentIgnored), <shape> argument of RGS CTI correction currently ignored
# ** rgsenergy: warning (ArgumentIgnored), <separation> argument of RGS CTI correction currently ignored 
# # [INFO] [2024-11-30T23:41:34] Task Run Time rgsenergy 0.0899550914764404s
#
# [COMMAND] [2024-11-30T23:41:34]
export SAS_MEMORY_MODEL=high
# [COMMAND] [2024-11-30T23:41:34]
export SAS_RAND_SEED=0103862901
# # [INFO] [2024-11-30T23:41:34] ## DEBUG ModuleResources: SAS_RAND_SEED set: 0103862901
# [COMMAND] [2024-11-30T23:41:34]
rgsbadpix ccdset=intermediate/RGSEvents-rgs2-1-Intermediate_events-S00201000100000.fits keepcool=Y -w 10
# # [OUTPUT] [2024-11-30T23:41:34]
# # [INFO] [2024-11-30T23:41:34] Task Run Time rgsbadpix 0.0805189609527588s
#
# [COMMAND] [2024-11-30T23:41:34]
export SAS_MEMORY_MODEL=high
# [COMMAND] [2024-11-30T23:41:34]
export SAS_RAND_SEED=0103862901
# # [INFO] [2024-11-30T23:41:34] ## DEBUG ModuleResources: SAS_RAND_SEED set: 0103862901
# [COMMAND] [2024-11-30T23:41:34]
rgsevents ccdset=intermediate/RGSEvents-rgs2-1-Intermediate_events-S00201000100000.fits -w 10
# # [OUTPUT] [2024-11-30T23:41:34]
# # [INFO] [2024-11-30T23:41:34] Task Run Time rgsevents 0.12540602684021s
#
# # [INFO] [2024-11-30T23:41:34] Processing CCD 2
# [COMMAND] [2024-11-30T23:41:34]
export SAS_MEMORY_MODEL=high
# [COMMAND] [2024-11-30T23:41:34]
export SAS_RAND_SEED=0103862901
# # [INFO] [2024-11-30T23:41:34] ## DEBUG ModuleResources: SAS_RAND_SEED set: 0103862901
# [COMMAND] [2024-11-30T23:41:34]
rgsframes ccdset=intermediate/RGSEvents-rgs2-1-Intermediate_events-S00202000100000.fits set=odf/0452_0103862901_R2S00202SPE.FIT -w \
10
# # [OUTPUT] [2024-11-30T23:41:34]
# # [INFO] [2024-11-30T23:41:34] Task Run Time rgsframes 0.126282930374146s
#
# [COMMAND] [2024-11-30T23:41:34]
export SAS_MEMORY_MODEL=high
# [COMMAND] [2024-11-30T23:41:34]
export SAS_RAND_SEED=0103862901
# # [INFO] [2024-11-30T23:41:34] ## DEBUG ModuleResources: SAS_RAND_SEED set: 0103862901
# [COMMAND] [2024-11-30T23:41:34]
rgsenergy ccdset=intermediate/RGSEvents-rgs2-1-Intermediate_events-S00202000100000.fits withdiagoffset=yes -w 10
# # [OUTPUT] [2024-11-30T23:41:34] ** rgsenergy: warning (ArgumentIgnored), <time> argument of RGS CTI correction currently ignored
# ** rgsenergy: warning (ArgumentIgnored), <shape> argument of RGS CTI correction currently ignored
# ** rgsenergy: warning (ArgumentIgnored), <separation> argument of RGS CTI correction currently ignored 
# # [INFO] [2024-11-30T23:41:34] Task Run Time rgsenergy 0.121695995330811s
#
# [COMMAND] [2024-11-30T23:41:34]
export SAS_MEMORY_MODEL=high
# [COMMAND] [2024-11-30T23:41:34]
export SAS_RAND_SEED=0103862901
# # [INFO] [2024-11-30T23:41:34] ## DEBUG ModuleResources: SAS_RAND_SEED set: 0103862901
# [COMMAND] [2024-11-30T23:41:34]
rgsbadpix ccdset=intermediate/RGSEvents-rgs2-1-Intermediate_events-S00202000100000.fits keepcool=Y -w 10
# # [OUTPUT] [2024-11-30T23:41:34]
# # [INFO] [2024-11-30T23:41:34] Task Run Time rgsbadpix 0.102593898773193s
#
# [COMMAND] [2024-11-30T23:41:34]
export SAS_MEMORY_MODEL=high
# [COMMAND] [2024-11-30T23:41:34]
export SAS_RAND_SEED=0103862901
# # [INFO] [2024-11-30T23:41:34] ## DEBUG ModuleResources: SAS_RAND_SEED set: 0103862901
# [COMMAND] [2024-11-30T23:41:34]
rgsevents ccdset=intermediate/RGSEvents-rgs2-1-Intermediate_events-S00202000100000.fits -w 10
# # [OUTPUT] [2024-11-30T23:41:35]
# # [INFO] [2024-11-30T23:41:35] Task Run Time rgsevents 0.112053871154785s
#
# # [INFO] [2024-11-30T23:41:35] Processing CCD 3
# [COMMAND] [2024-11-30T23:41:35]
export SAS_MEMORY_MODEL=high
# [COMMAND] [2024-11-30T23:41:35]
export SAS_RAND_SEED=0103862901
# # [INFO] [2024-11-30T23:41:35] ## DEBUG ModuleResources: SAS_RAND_SEED set: 0103862901
# [COMMAND] [2024-11-30T23:41:35]
rgsframes ccdset=intermediate/RGSEvents-rgs2-1-Intermediate_events-S00203000100000.fits set=odf/0452_0103862901_R2S00203SPE.FIT -w \
10
# # [OUTPUT] [2024-11-30T23:41:35]
# # [INFO] [2024-11-30T23:41:35] Task Run Time rgsframes 0.0782008171081543s
#
# [COMMAND] [2024-11-30T23:41:35]
export SAS_MEMORY_MODEL=high
# [COMMAND] [2024-11-30T23:41:35]
export SAS_RAND_SEED=0103862901
# # [INFO] [2024-11-30T23:41:35] ## DEBUG ModuleResources: SAS_RAND_SEED set: 0103862901
# [COMMAND] [2024-11-30T23:41:35]
rgsenergy ccdset=intermediate/RGSEvents-rgs2-1-Intermediate_events-S00203000100000.fits withdiagoffset=yes -w 10
# # [OUTPUT] [2024-11-30T23:41:35] ** rgsenergy: warning (ArgumentIgnored), <time> argument of RGS CTI correction currently ignored
# ** rgsenergy: warning (ArgumentIgnored), <shape> argument of RGS CTI correction currently ignored
# ** rgsenergy: warning (ArgumentIgnored), <separation> argument of RGS CTI correction currently ignored 
# # [INFO] [2024-11-30T23:41:35] Task Run Time rgsenergy 0.170730113983154s
#
# [COMMAND] [2024-11-30T23:41:35]
export SAS_MEMORY_MODEL=high
# [COMMAND] [2024-11-30T23:41:35]
export SAS_RAND_SEED=0103862901
# # [INFO] [2024-11-30T23:41:35] ## DEBUG ModuleResources: SAS_RAND_SEED set: 0103862901
# [COMMAND] [2024-11-30T23:41:35]
rgsbadpix ccdset=intermediate/RGSEvents-rgs2-1-Intermediate_events-S00203000100000.fits keepcool=Y -w 10
# # [OUTPUT] [2024-11-30T23:41:35]
# # [INFO] [2024-11-30T23:41:35] Task Run Time rgsbadpix 0.118331909179688s
#
# [COMMAND] [2024-11-30T23:41:35]
export SAS_MEMORY_MODEL=high
# [COMMAND] [2024-11-30T23:41:35]
export SAS_RAND_SEED=0103862901
# # [INFO] [2024-11-30T23:41:35] ## DEBUG ModuleResources: SAS_RAND_SEED set: 0103862901
# [COMMAND] [2024-11-30T23:41:35]
rgsevents ccdset=intermediate/RGSEvents-rgs2-1-Intermediate_events-S00203000100000.fits -w 10
# # [OUTPUT] [2024-11-30T23:41:35]
# # [INFO] [2024-11-30T23:41:35] Task Run Time rgsevents 0.0916790962219238s
#
# # [INFO] [2024-11-30T23:41:35] Processing CCD 5
# [COMMAND] [2024-11-30T23:41:35]
export SAS_MEMORY_MODEL=high
# [COMMAND] [2024-11-30T23:41:35]
export SAS_RAND_SEED=0103862901
# # [INFO] [2024-11-30T23:41:35] ## DEBUG ModuleResources: SAS_RAND_SEED set: 0103862901
# [COMMAND] [2024-11-30T23:41:35]
rgsframes ccdset=intermediate/RGSEvents-rgs2-1-Intermediate_events-S00205000100000.fits set=odf/0452_0103862901_R2S00205SPE.FIT -w \
10
# # [OUTPUT] [2024-11-30T23:41:35]
# # [INFO] [2024-11-30T23:41:35] Task Run Time rgsframes 0.0846090316772461s
#
# [COMMAND] [2024-11-30T23:41:35]
export SAS_MEMORY_MODEL=high
# [COMMAND] [2024-11-30T23:41:35]
export SAS_RAND_SEED=0103862901
# # [INFO] [2024-11-30T23:41:35] ## DEBUG ModuleResources: SAS_RAND_SEED set: 0103862901
# [COMMAND] [2024-11-30T23:41:35]
rgsenergy ccdset=intermediate/RGSEvents-rgs2-1-Intermediate_events-S00205000100000.fits withdiagoffset=yes -w 10
# # [OUTPUT] [2024-11-30T23:41:35] ** rgsenergy: warning (ArgumentIgnored), <time> argument of RGS CTI correction currently ignored
# ** rgsenergy: warning (ArgumentIgnored), <shape> argument of RGS CTI correction currently ignored
# ** rgsenergy: warning (ArgumentIgnored), <separation> argument of RGS CTI correction currently ignored 
# # [INFO] [2024-11-30T23:41:35] Task Run Time rgsenergy 0.110241889953613s
#
# [COMMAND] [2024-11-30T23:41:35]
export SAS_MEMORY_MODEL=high
# [COMMAND] [2024-11-30T23:41:35]
export SAS_RAND_SEED=0103862901
# # [INFO] [2024-11-30T23:41:35] ## DEBUG ModuleResources: SAS_RAND_SEED set: 0103862901
# [COMMAND] [2024-11-30T23:41:35]
rgsbadpix ccdset=intermediate/RGSEvents-rgs2-1-Intermediate_events-S00205000100000.fits keepcool=Y -w 10
# # [OUTPUT] [2024-11-30T23:41:35]
# # [INFO] [2024-11-30T23:41:35] Task Run Time rgsbadpix 0.164193868637085s
#
# [COMMAND] [2024-11-30T23:41:35]
export SAS_MEMORY_MODEL=high
# [COMMAND] [2024-11-30T23:41:35]
export SAS_RAND_SEED=0103862901
# # [INFO] [2024-11-30T23:41:35] ## DEBUG ModuleResources: SAS_RAND_SEED set: 0103862901
# [COMMAND] [2024-11-30T23:41:35]
rgsevents ccdset=intermediate/RGSEvents-rgs2-1-Intermediate_events-S00205000100000.fits -w 10
# # [OUTPUT] [2024-11-30T23:41:36]
# # [INFO] [2024-11-30T23:41:36] Task Run Time rgsevents 0.189071893692017s
#
# # [INFO] [2024-11-30T23:41:36] Processing CCD 6
# [COMMAND] [2024-11-30T23:41:36]
export SAS_MEMORY_MODEL=high
# [COMMAND] [2024-11-30T23:41:36]
export SAS_RAND_SEED=0103862901
# # [INFO] [2024-11-30T23:41:36] ## DEBUG ModuleResources: SAS_RAND_SEED set: 0103862901
# [COMMAND] [2024-11-30T23:41:36]
rgsframes ccdset=intermediate/RGSEvents-rgs2-1-Intermediate_events-S00206000100000.fits set=odf/0452_0103862901_R2S00206SPE.FIT -w \
10
# # [OUTPUT] [2024-11-30T23:41:36]
# # [INFO] [2024-11-30T23:41:36] Task Run Time rgsframes 0.164683103561401s
#
# [COMMAND] [2024-11-30T23:41:36]
export SAS_MEMORY_MODEL=high
# [COMMAND] [2024-11-30T23:41:36]
export SAS_RAND_SEED=0103862901
# # [INFO] [2024-11-30T23:41:36] ## DEBUG ModuleResources: SAS_RAND_SEED set: 0103862901
# [COMMAND] [2024-11-30T23:41:36]
rgsenergy ccdset=intermediate/RGSEvents-rgs2-1-Intermediate_events-S00206000100000.fits withdiagoffset=yes -w 10
# # [OUTPUT] [2024-11-30T23:41:36] ** rgsenergy: warning (ArgumentIgnored), <time> argument of RGS CTI correction currently ignored
# ** rgsenergy: warning (ArgumentIgnored), <shape> argument of RGS CTI correction currently ignored
# ** rgsenergy: warning (ArgumentIgnored), <separation> argument of RGS CTI correction currently ignored 
# # [INFO] [2024-11-30T23:41:36] Task Run Time rgsenergy 0.139567136764526s
#
# [COMMAND] [2024-11-30T23:41:36]
export SAS_MEMORY_MODEL=high
# [COMMAND] [2024-11-30T23:41:36]
export SAS_RAND_SEED=0103862901
# # [INFO] [2024-11-30T23:41:36] ## DEBUG ModuleResources: SAS_RAND_SEED set: 0103862901
# [COMMAND] [2024-11-30T23:41:36]
rgsbadpix ccdset=intermediate/RGSEvents-rgs2-1-Intermediate_events-S00206000100000.fits keepcool=Y -w 10
# # [OUTPUT] [2024-11-30T23:41:36] ** rgsbadpix: warning (BadPixDiscrepancy), (CCD 6) advisory hot pixel at (21,113): not found hot\
#     in telemetry
# ** rgsbadpix: warning (BadPixDiscrepancy), (CCD 6) advisory hot pixel at (92,66): not found hot in telemetry
# ** rgsbadpix: warning (BadPixDiscrepancy), (CCD 6) advisory hot pixel at (112,96): not found hot in telemetry 
# # [INFO] [2024-11-30T23:41:36] Task Run Time rgsbadpix 0.0977449417114258s
#
# [COMMAND] [2024-11-30T23:41:36]
export SAS_MEMORY_MODEL=high
# [COMMAND] [2024-11-30T23:41:36]
export SAS_RAND_SEED=0103862901
# # [INFO] [2024-11-30T23:41:36] ## DEBUG ModuleResources: SAS_RAND_SEED set: 0103862901
# [COMMAND] [2024-11-30T23:41:36]
rgsevents ccdset=intermediate/RGSEvents-rgs2-1-Intermediate_events-S00206000100000.fits -w 10
# # [OUTPUT] [2024-11-30T23:41:36]
# # [INFO] [2024-11-30T23:41:36] Task Run Time rgsevents 0.114463090896606s
#
# # [INFO] [2024-11-30T23:41:36] Processing CCD 7
# [COMMAND] [2024-11-30T23:41:36]
export SAS_MEMORY_MODEL=high
# [COMMAND] [2024-11-30T23:41:36]
export SAS_RAND_SEED=0103862901
# # [INFO] [2024-11-30T23:41:36] ## DEBUG ModuleResources: SAS_RAND_SEED set: 0103862901
# [COMMAND] [2024-11-30T23:41:36]
rgsframes ccdset=intermediate/RGSEvents-rgs2-1-Intermediate_events-S00207000100000.fits set=odf/0452_0103862901_R2S00207SPE.FIT -w \
10
# # [OUTPUT] [2024-11-30T23:41:36]
# # [INFO] [2024-11-30T23:41:36] Task Run Time rgsframes 0.136344909667969s
#
# [COMMAND] [2024-11-30T23:41:36]
export SAS_MEMORY_MODEL=high
# [COMMAND] [2024-11-30T23:41:36]
export SAS_RAND_SEED=0103862901
# # [INFO] [2024-11-30T23:41:36] ## DEBUG ModuleResources: SAS_RAND_SEED set: 0103862901
# [COMMAND] [2024-11-30T23:41:36]
rgsenergy ccdset=intermediate/RGSEvents-rgs2-1-Intermediate_events-S00207000100000.fits withdiagoffset=yes -w 10
# # [OUTPUT] [2024-11-30T23:41:36] ** rgsenergy: warning (ArgumentIgnored), <time> argument of RGS CTI correction currently ignored
# ** rgsenergy: warning (ArgumentIgnored), <shape> argument of RGS CTI correction currently ignored
# ** rgsenergy: warning (ArgumentIgnored), <separation> argument of RGS CTI correction currently ignored 
# # [INFO] [2024-11-30T23:41:36] Task Run Time rgsenergy 0.118606090545654s
#
# [COMMAND] [2024-11-30T23:41:36]
export SAS_MEMORY_MODEL=high
# [COMMAND] [2024-11-30T23:41:36]
export SAS_RAND_SEED=0103862901
# # [INFO] [2024-11-30T23:41:36] ## DEBUG ModuleResources: SAS_RAND_SEED set: 0103862901
# [COMMAND] [2024-11-30T23:41:36]
rgsbadpix ccdset=intermediate/RGSEvents-rgs2-1-Intermediate_events-S00207000100000.fits keepcool=Y -w 10
# # [OUTPUT] [2024-11-30T23:41:36]
# # [INFO] [2024-11-30T23:41:36] Task Run Time rgsbadpix 0.139060020446777s
#
# [COMMAND] [2024-11-30T23:41:36]
export SAS_MEMORY_MODEL=high
# [COMMAND] [2024-11-30T23:41:36]
export SAS_RAND_SEED=0103862901
# # [INFO] [2024-11-30T23:41:36] ## DEBUG ModuleResources: SAS_RAND_SEED set: 0103862901
# [COMMAND] [2024-11-30T23:41:36]
rgsevents ccdset=intermediate/RGSEvents-rgs2-1-Intermediate_events-S00207000100000.fits -w 10
# # [OUTPUT] [2024-11-30T23:41:37]
# # [INFO] [2024-11-30T23:41:37] Task Run Time rgsevents 0.100345134735107s
#
# # [INFO] [2024-11-30T23:41:37] Processing CCD 8
# [COMMAND] [2024-11-30T23:41:37]
export SAS_MEMORY_MODEL=high
# [COMMAND] [2024-11-30T23:41:37]
export SAS_RAND_SEED=0103862901
# # [INFO] [2024-11-30T23:41:37] ## DEBUG ModuleResources: SAS_RAND_SEED set: 0103862901
# [COMMAND] [2024-11-30T23:41:37]
rgsframes ccdset=intermediate/RGSEvents-rgs2-1-Intermediate_events-S00208000100000.fits set=odf/0452_0103862901_R2S00208SPE.FIT -w \
10
# # [OUTPUT] [2024-11-30T23:41:37]
# # [INFO] [2024-11-30T23:41:37] Task Run Time rgsframes 0.108573913574219s
#
# [COMMAND] [2024-11-30T23:41:37]
export SAS_MEMORY_MODEL=high
# [COMMAND] [2024-11-30T23:41:37]
export SAS_RAND_SEED=0103862901
# # [INFO] [2024-11-30T23:41:37] ## DEBUG ModuleResources: SAS_RAND_SEED set: 0103862901
# [COMMAND] [2024-11-30T23:41:37]
rgsenergy ccdset=intermediate/RGSEvents-rgs2-1-Intermediate_events-S00208000100000.fits withdiagoffset=yes -w 10
# # [OUTPUT] [2024-11-30T23:41:37] ** rgsenergy: warning (ArgumentIgnored), <time> argument of RGS CTI correction currently ignored
# ** rgsenergy: warning (ArgumentIgnored), <shape> argument of RGS CTI correction currently ignored
# ** rgsenergy: warning (ArgumentIgnored), <separation> argument of RGS CTI correction currently ignored 
# # [INFO] [2024-11-30T23:41:37] Task Run Time rgsenergy 0.0956470966339111s
#
# [COMMAND] [2024-11-30T23:41:37]
export SAS_MEMORY_MODEL=high
# [COMMAND] [2024-11-30T23:41:37]
export SAS_RAND_SEED=0103862901
# # [INFO] [2024-11-30T23:41:37] ## DEBUG ModuleResources: SAS_RAND_SEED set: 0103862901
# [COMMAND] [2024-11-30T23:41:37]
rgsbadpix ccdset=intermediate/RGSEvents-rgs2-1-Intermediate_events-S00208000100000.fits keepcool=Y -w 10
# # [OUTPUT] [2024-11-30T23:41:37] ** rgsbadpix: warning (BadPixDiscrepancy), (CCD 8) advisory hot pixel at (61,14): not found hot\
#     in telemetry 
# # [INFO] [2024-11-30T23:41:37] Task Run Time rgsbadpix 0.0703790187835693s
#
# [COMMAND] [2024-11-30T23:41:37]
export SAS_MEMORY_MODEL=high
# [COMMAND] [2024-11-30T23:41:37]
export SAS_RAND_SEED=0103862901
# # [INFO] [2024-11-30T23:41:37] ## DEBUG ModuleResources: SAS_RAND_SEED set: 0103862901
# [COMMAND] [2024-11-30T23:41:37]
rgsevents ccdset=intermediate/RGSEvents-rgs2-1-Intermediate_events-S00208000100000.fits -w 10
# # [OUTPUT] [2024-11-30T23:41:37]
# # [INFO] [2024-11-30T23:41:37] Task Run Time rgsevents 0.14418888092041s
#
# # [INFO] [2024-11-30T23:41:37] Processing CCD 9
# [COMMAND] [2024-11-30T23:41:37]
export SAS_MEMORY_MODEL=high
# [COMMAND] [2024-11-30T23:41:37]
export SAS_RAND_SEED=0103862901
# # [INFO] [2024-11-30T23:41:37] ## DEBUG ModuleResources: SAS_RAND_SEED set: 0103862901
# [COMMAND] [2024-11-30T23:41:37]
rgsframes ccdset=intermediate/RGSEvents-rgs2-1-Intermediate_events-S00209000100000.fits set=odf/0452_0103862901_R2S00209SPE.FIT -w \
10
# # [OUTPUT] [2024-11-30T23:41:37]
# # [INFO] [2024-11-30T23:41:37] Task Run Time rgsframes 0.184444904327393s
#
# [COMMAND] [2024-11-30T23:41:37]
export SAS_MEMORY_MODEL=high
# [COMMAND] [2024-11-30T23:41:37]
export SAS_RAND_SEED=0103862901
# # [INFO] [2024-11-30T23:41:37] ## DEBUG ModuleResources: SAS_RAND_SEED set: 0103862901
# [COMMAND] [2024-11-30T23:41:37]
rgsenergy ccdset=intermediate/RGSEvents-rgs2-1-Intermediate_events-S00209000100000.fits withdiagoffset=yes -w 10
# # [OUTPUT] [2024-11-30T23:41:37] ** rgsenergy: warning (ArgumentIgnored), <time> argument of RGS CTI correction currently ignored
# ** rgsenergy: warning (ArgumentIgnored), <shape> argument of RGS CTI correction currently ignored
# ** rgsenergy: warning (ArgumentIgnored), <separation> argument of RGS CTI correction currently ignored 
# # [INFO] [2024-11-30T23:41:37] Task Run Time rgsenergy 0.132152080535889s
#
# [COMMAND] [2024-11-30T23:41:37]
export SAS_MEMORY_MODEL=high
# [COMMAND] [2024-11-30T23:41:37]
export SAS_RAND_SEED=0103862901
# # [INFO] [2024-11-30T23:41:37] ## DEBUG ModuleResources: SAS_RAND_SEED set: 0103862901
# [COMMAND] [2024-11-30T23:41:37]
rgsbadpix ccdset=intermediate/RGSEvents-rgs2-1-Intermediate_events-S00209000100000.fits keepcool=Y -w 10
# # [OUTPUT] [2024-11-30T23:41:37] ** rgsbadpix: warning (BadPixDiscrepancy), (CCD 9) advisory hot pixel at (58,30): not found hot\
#     in telemetry
# ** rgsbadpix: warning (BadPixDiscrepancy), (CCD 9) advisory hot segment at (94,1): 128 out of 128 pixels not found hot in\
#     telemetry
# ** rgsbadpix: warning (BadPixDiscrepancy), (CCD 9) advisory hot pixel at (170,16): not found hot in telemetry
# ** rgsbadpix: warning (BadPixDiscrepancy), (CCD 9) advisory hot pixel at (233,43): not found hot in telemetry 
# # [INFO] [2024-11-30T23:41:37] Task Run Time rgsbadpix 0.0702691078186035s
#
# [COMMAND] [2024-11-30T23:41:37]
export SAS_MEMORY_MODEL=high
# [COMMAND] [2024-11-30T23:41:37]
export SAS_RAND_SEED=0103862901
# # [INFO] [2024-11-30T23:41:37] ## DEBUG ModuleResources: SAS_RAND_SEED set: 0103862901
# [COMMAND] [2024-11-30T23:41:37]
rgsevents ccdset=intermediate/RGSEvents-rgs2-1-Intermediate_events-S00209000100000.fits -w 10
# # [OUTPUT] [2024-11-30T23:41:37]
# # [INFO] [2024-11-30T23:41:37] Task Run Time rgsevents 0.0625219345092773s
#
# [COMMAND] [2024-11-30T23:41:37]
export SAS_MEMORY_MODEL=high
# [COMMAND] [2024-11-30T23:41:37]
export SAS_RAND_SEED=0103862901
# # [INFO] [2024-11-30T23:41:37] ## DEBUG ModuleResources: SAS_RAND_SEED set: 0103862901
# [COMMAND] [2024-11-30T23:41:37]
evlistcomb eventsets="intermediate/RGSEvents-rgs2-1-Intermediate_events-S00201000100000.fits \
intermediate/RGSEvents-rgs2-1-Intermediate_events-S00202000100000.fits \
intermediate/RGSEvents-rgs2-1-Intermediate_events-S00203000100000.fits \
intermediate/RGSEvents-rgs2-1-Intermediate_events-S00205000100000.fits \
intermediate/RGSEvents-rgs2-1-Intermediate_events-S00206000100000.fits \
intermediate/RGSEvents-rgs2-1-Intermediate_events-S00207000100000.fits \
intermediate/RGSEvents-rgs2-1-Intermediate_events-S00208000100000.fits \
intermediate/RGSEvents-rgs2-1-Intermediate_events-S00209000100000.fits" \
imagingset=intermediate/RGSEvents-rgs2-1-Event_list-S00200000000000.fits instrument=rgs mainattributes="CCDOCB SOURCEID DATE-OBS \
DATE-END DATATYPE TSTART TSTOP TELAPS XMMEA_RG" othertables="STDGTI BADPIX0 BADPIX1 REJPIX0 REJPIX1 EXPOSURE" \
rgsdatamodes="SPECTROSCOPY HIGHTIMERESOLUTION" rgsimgcolnames="TIME FLAG BETA XDSP CHIPX CHIPY PHA SHAPE GRADE PI" \
rgsimgcoltypes="double int32 single single int16 int16 int16 int8 int8 int16" -w 10
# # [OUTPUT] [2024-11-30T23:41:38]
# # [INFO] [2024-11-30T23:41:38] Task Run Time evlistcomb 0.186866998672485s
#
# [COMMAND] [2024-11-30T23:41:38]
export SAS_MEMORY_MODEL=high
# [COMMAND] [2024-11-30T23:41:38]
export SAS_RAND_SEED=0103862901
# # [INFO] [2024-11-30T23:41:38] ## DEBUG ModuleResources: SAS_RAND_SEED set: 0103862901
# [COMMAND] [2024-11-30T23:41:38]
rgsangles betabinning=binSize betabinref=0.03578524 betabinwidth=1.208e-05 \
mergedset=intermediate/RGSEvents-rgs2-1-Event_list-S00200000000000.fits nbetabins=3400 nxdispbins=170 \
srclist=product/P0103862901R2S002SRCLI_0000.FIT withheliocentriccorr=Y withmlambdacolumn=Y withsunanglecorr=Y xdispbinning=binSize \
xdispbinref=-0.0009126 xdispbinwidth=1.08e-05 -w 10
# # [OUTPUT] [2024-11-30T23:41:38] rgsangles:- Sun angle correction value 1.83775115356 rad 
# rgsangles:- Sun Angle Coeff for Order 1: a 6.09999990463 b -0.5
# rgsangles:- Heliocentric velocity correction T= 138964855.184 ( 2002-05-28T09:19:51.000 ) HelioVelCorr= 19.5285724266 km/s 
# rgsangles:- Heliocentric Correction Factor: 6.51403059198e-05
# ** rgsangles: warning (outside range), _CORR is outside the range specified by the binning parameters
# ** rgsangles: warning (binning ), _CORR cannot be binned into channels
# ** rgsangles: warning (outside range), _CORR is outside the range specified by the binning parameters
# ** rgsangles: warning (binning ), _CORR cannot be binned into channels
# ** rgsangles: warning (outside range), _CORR is outside the range specified by the binning parameters
# ** rgsangles: warning (binning ), _CORR cannot be binned into channels
# ** rgsangles: warning (outside range), _CORR is outside the range specified by the binning parameters
# ** rgsangles: warning (binning ), _CORR cannot be binned into channels
# ** rgsangles: warning (outside range), _CORR is outside the range specified by the binning parameters
# ** rgsangles: warning (binning ), _CORR cannot be binned into channels
# ** rgsangles: warning (outside range), _CORR is outside the range specified by the binning parameters
# ** rgsangles: warning (binning ), _CORR cannot be binned into channels
# ** rgsangles: warning (outside range), _CORR is outside the range specified by the binning parameters
# ** rgsangles: warning (binning ), _CORR cannot be binned into channels
# ** rgsangles: warning (outside range), _CORR is outside the range specified by the binning parameters
# ** rgsangles: warning (binning ), _CORR cannot be binned into channels
# ** rgsangles: warning (outside range), _CORR is outside the range specified by the binning parameters
# ** rgsangles: warning (binning ), _CORR cannot be binned into channels
# ** rgsangles: warning (outside range), _CORR is outside the range specified by the binning parameters
# ** rgsangles: warning (binning ), _CORR cannot be binned into channels
# ** rgsangles: warning (SummaryOfWarnings), 
# warning binning silently occurred 530 times
# warning outside range silently occurred 530 times 
# # [INFO] [2024-11-30T23:41:38] Task Run Time rgsangles 0.342344999313354s
#
# # [INFO] [2024-11-30T23:41:38] Filtering with rejection flags, Attitude GTI and HK GTI.
# [COMMAND] [2024-11-30T23:41:38]
export SAS_MEMORY_MODEL=high
# [COMMAND] [2024-11-30T23:41:38]
export SAS_RAND_SEED=0103862901
# # [INFO] [2024-11-30T23:41:38] ## DEBUG ModuleResources: SAS_RAND_SEED set: 0103862901
# [COMMAND] [2024-11-30T23:41:38]
rgsfilter auxgtitables="intermediate/RGSEvents-rgs2-1-Exposure_Attitude_GTI-S00200000000000.fits \
intermediate/GlobalHK-all-1-Attitude_GTI-X00000000000000.fits intermediate/InstrumentHK-rgs2-1-HK_GTI-X00000000000000.fits" \
evlist=intermediate/RGSEvents-rgs2-1-FILTERED_EVENT_LIST-S00200000000000.fits expimageset=product/P0103862901R2S002EXPMAP0000.FIT \
mergedset=intermediate/RGSEvents-rgs2-1-Event_list-S00200000000000.fits rejflags="BAD_SHAPE ON_BADPIX NEXT_TO_BADPIX \
BELOW_ACCEPTANCE ON_NODE_INTERFACE ON_WINDOW_BORDER" withcombmap=Y withexpmaps=Y -w 10
# # [OUTPUT] [2024-11-30T23:41:38]
# # [INFO] [2024-11-30T23:41:38] Task Run Time rgsfilter 0.429831981658936s
#
# # [INFO] [2024-11-30T23:41:38] Filtering with rejection flags, Attitude GTI and HK GTI leaves < 1000s ONTIME.
# # [INFO] [2024-11-30T23:41:38] Filtering with rejection flags and Attitude GTI.
# [COMMAND] [2024-11-30T23:41:38]
export SAS_MEMORY_MODEL=high
# [COMMAND] [2024-11-30T23:41:38]
export SAS_RAND_SEED=0103862901
# # [INFO] [2024-11-30T23:41:38] ## DEBUG ModuleResources: SAS_RAND_SEED set: 0103862901
# [COMMAND] [2024-11-30T23:41:38]
rgsfilter auxgtitables="intermediate/RGSEvents-rgs2-1-Exposure_Attitude_GTI-S00200000000000.fits \
intermediate/GlobalHK-all-1-Attitude_GTI-X00000000000000.fits" \
evlist=intermediate/RGSEvents-rgs2-1-FILTERED_EVENT_LIST-S00200000000000.fits expimageset=product/P0103862901R2S002EXPMAP0000.FIT \
mergedset=intermediate/RGSEvents-rgs2-1-Event_list-S00200000000000.fits rejflags="BAD_SHAPE ON_BADPIX NEXT_TO_BADPIX \
BELOW_ACCEPTANCE ON_NODE_INTERFACE ON_WINDOW_BORDER" withcombmap=Y withexpmaps=Y -w 10
# # [OUTPUT] [2024-11-30T23:41:39]
# # [INFO] [2024-11-30T23:41:39] Task Run Time rgsfilter 0.36025595664978s
#
# # [INFO] [2024-11-30T23:41:39] Filtering with rejection flags and Attitude GTI leaves < 1000s ONTIME.
# # [INFO] [2024-11-30T23:41:39] Filtering with rejection flags.
# [COMMAND] [2024-11-30T23:41:39]
export SAS_MEMORY_MODEL=high
# [COMMAND] [2024-11-30T23:41:39]
export SAS_RAND_SEED=0103862901
# # [INFO] [2024-11-30T23:41:39] ## DEBUG ModuleResources: SAS_RAND_SEED set: 0103862901
# [COMMAND] [2024-11-30T23:41:39]
rgsfilter auxgtitables=intermediate/RGSEvents-rgs2-1-Exposure_Attitude_GTI-S00200000000000.fits \
evlist=intermediate/RGSEvents-rgs2-1-FILTERED_EVENT_LIST-S00200000000000.fits expimageset=product/P0103862901R2S002EXPMAP0000.FIT \
mergedset=intermediate/RGSEvents-rgs2-1-Event_list-S00200000000000.fits rejflags="BAD_SHAPE ON_BADPIX NEXT_TO_BADPIX \
BELOW_ACCEPTANCE ON_NODE_INTERFACE ON_WINDOW_BORDER" withcombmap=Y withexpmaps=Y -w 10
# # [OUTPUT] [2024-11-30T23:41:39]
# # [INFO] [2024-11-30T23:41:39] Task Run Time rgsfilter 0.367861986160278s
#
# # [INFO] [2024-11-30T23:41:39] Filtering with rejection flags leaves < 1000s ONTIME.
# # [INFO] [2024-11-30T23:41:39] ONTIME=4.82539611816406E+02
# # [INFO] [2024-11-30T23:41:39] FILTGRPS=0
# [COMMAND] [2024-11-30T23:41:39]
export SAS_MEMORY_MODEL=high
# [COMMAND] [2024-11-30T23:41:39]
export SAS_RAND_SEED=0103862901
# # [INFO] [2024-11-30T23:41:39] ## DEBUG ModuleResources: SAS_RAND_SEED set: 0103862901
# [COMMAND] [2024-11-30T23:41:39]
addattribute attributecomment="\"rgsfilter groups applied (rejflags=1|AttGTI=2|hkGTI=4)\"" attributename=FILTGRPS \
attributetype=integer integervalue=0 set=intermediate/RGSEvents-rgs2-1-FILTERED_EVENT_LIST-S00200000000000.fits -w 10
# # [OUTPUT] [2024-11-30T23:41:39]
# # [INFO] [2024-11-30T23:41:39] Task Run Time addattribute 0.118399858474731s
#
# # [INFO] [2024-11-30T23:41:39] Filtering with rejection flags < 1000s GTI.
# # [INFO] [2024-11-30T23:41:39] Ignoring this exposure.
# # [INFO] [2024-11-30T23:41:39] Module name: RGSEvents
# # [INFO] [2024-11-30T23:41:39] Instrument: rgs1
# # [INFO] [2024-11-30T23:41:39] Stream no.: 0001
# # [INFO] [2024-11-30T23:41:39] Module version number: 4.21
# # [INFO] [2024-11-30T23:41:39] Exposure ID: S001
# # [INFO] [2024-11-30T23:41:39] Instrument mode: HighEventRateWithSES
# [COMMAND] [2024-11-30T23:41:39]
export SAS_MEMORY_MODEL=high
# [COMMAND] [2024-11-30T23:41:39]
export SAS_RAND_SEED=0103862901
# # [INFO] [2024-11-30T23:41:39] ## DEBUG ModuleResources: SAS_RAND_SEED set: 0103862901
# [COMMAND] [2024-11-30T23:41:39]
attfilter attset=product/P0103862901OBX000ATTTSR0000.FIT filtertype=cone \
gtitable=intermediate/RGSEvents-rgs1-1-Exposure_Attitude_GTI-S00100000000000.fits:STDGTI instexpid=R1S001 tolangles=5000.0*#ARCMIN \
-w 10
# # [OUTPUT] [2024-11-30T23:41:39]
# # [INFO] [2024-11-30T23:41:39] Task Run Time attfilter 0.05240797996521s
#
# # [INFO] [2024-11-30T23:41:39] No suitable EPIC source list found to supply source positions
# # [INFO] [2024-11-30T23:41:39] Using pointing position instead
# [COMMAND] [2024-11-30T23:41:39]
export SAS_MEMORY_MODEL=high
# [COMMAND] [2024-11-30T23:41:39]
export SAS_RAND_SEED=0103862901
# # [INFO] [2024-11-30T23:41:39] ## DEBUG ModuleResources: SAS_RAND_SEED set: 0103862901
# [COMMAND] [2024-11-30T23:41:39]
rgssources attstyle=expmedian doconfusion=Y enablefilter=Y \
expmediantable=intermediate/RGSEvents-rgs1-1-Exposure_Attitude_GTI-S00100000000000.fits:STDGTI filemode=create flagepicsrcoutoffov=Y \
instexpid=odf/0452_0103862901_R1S00101SPE.FIT medianset=product/P0103862901OBX000ATTTSR0000.FIT primestyle=auto \
srclist=product/P0103862901R1S001SRCLI_0000.FIT withepicset=N -w 10
# # [OUTPUT] [2024-11-30T23:41:39] ** rgssources: warning (badPrimeRate), The prime source (INDEX=1) has a RATE value of <= zero.\
#     Confusion values cannot be calculated. 
# # [INFO] [2024-11-30T23:41:39] Task Run Time rgssources 0.077401876449585s
#
# [COMMAND] [2024-11-30T23:41:39]
cp /scratch/225648.1.all.q/xmm/ppsprod/228793/product/P0103862901R1S001SRCLI_0000.FIT \
/scratch/225648.1.all.q/xmm/ppsprod/228793/intermediate/RGSEvents-rgs1-1-RGS_src_list_with_whole_field-S00100000000000.fits
# # [INFO] [2024-11-30T23:41:39] System RV 0
# [COMMAND] [2024-11-30T23:41:39]
export SAS_MEMORY_MODEL=high
# [COMMAND] [2024-11-30T23:41:39]
export SAS_RAND_SEED=0103862901
# # [INFO] [2024-11-30T23:41:39] ## DEBUG ModuleResources: SAS_RAND_SEED set: 0103862901
# [COMMAND] [2024-11-30T23:41:39]
rgssources addusersource=yes bkgexclude=no deltadisp=0 deltaxdsp=0 filemode=modify label=WHOLE_FIELD positionstyle=wrtatt process=no \
srclist=intermediate/RGSEvents-rgs1-1-RGS_src_list_with_whole_field-S00100000000000.fits:SOURCES -w 10
# # [OUTPUT] [2024-11-30T23:41:40] ** rgssources: warning (instIdClash), The instrument RGS1 recorded in the source list header\
#     keyword &INSTRUME is not the same as that derived from the value of the --instexpid parameter. Note: if you have left the\
#     --instexpid parameter at its (nonsense) default setting, then you needn't be alarmed - currently the code has no way to\
#     distinguish between this situation and the one in which the user _has_ set the parameter but has given it the wrong value.
# ** rgssources: warning (expIdStrClash), The 4-character exposure identifier S001 recorded in the source list header keyword\
#     EXPIDSTR is not the same as that derived from the value of the --instexpid parameter. Note: if you have left the --instexpid\
#     parameter at its (nonsense) default setting, then you needn't be alarmed - currently the code has no way to distinguish\
#     between this situation and the one in which the user _has_ set the parameter but has given it the wrong value.
# ** rgssources: warning (badPrimeRate), The prime source (INDEX=1) has a RATE value of <= zero. Confusion values cannot be\
#     calculated. 
# # [INFO] [2024-11-30T23:41:40] Task Run Time rgssources 0.107789993286133s
#
# # [INFO] [2024-11-30T23:41:40] Processing CCD 1
# [COMMAND] [2024-11-30T23:41:40]
export SAS_MEMORY_MODEL=high
# [COMMAND] [2024-11-30T23:41:40]
export SAS_RAND_SEED=0103862901
# # [INFO] [2024-11-30T23:41:40] ## DEBUG ModuleResources: SAS_RAND_SEED set: 0103862901
# [COMMAND] [2024-11-30T23:41:40]
rgsframes ccdset=intermediate/RGSEvents-rgs1-1-Intermediate_events-S00101000100000.fits set=odf/0452_0103862901_R1S00101SPE.FIT -w \
10
# # [OUTPUT] [2024-11-30T23:41:40]
# # [INFO] [2024-11-30T23:41:40] Task Run Time rgsframes 0.148309946060181s
#
# [COMMAND] [2024-11-30T23:41:40]
export SAS_MEMORY_MODEL=high
# [COMMAND] [2024-11-30T23:41:40]
export SAS_RAND_SEED=0103862901
# # [INFO] [2024-11-30T23:41:40] ## DEBUG ModuleResources: SAS_RAND_SEED set: 0103862901
# [COMMAND] [2024-11-30T23:41:40]
rgsenergy ccdset=intermediate/RGSEvents-rgs1-1-Intermediate_events-S00101000100000.fits withdiagoffset=yes -w 10
# # [OUTPUT] [2024-11-30T23:41:40] ** rgsenergy: warning (ArgumentIgnored), <time> argument of RGS CTI correction currently ignored
# ** rgsenergy: warning (ArgumentIgnored), <shape> argument of RGS CTI correction currently ignored
# ** rgsenergy: warning (ArgumentIgnored), <separation> argument of RGS CTI correction currently ignored 
# # [INFO] [2024-11-30T23:41:40] Task Run Time rgsenergy 0.14762020111084s
#
# [COMMAND] [2024-11-30T23:41:40]
export SAS_MEMORY_MODEL=high
# [COMMAND] [2024-11-30T23:41:40]
export SAS_RAND_SEED=0103862901
# # [INFO] [2024-11-30T23:41:40] ## DEBUG ModuleResources: SAS_RAND_SEED set: 0103862901
# [COMMAND] [2024-11-30T23:41:40]
rgsbadpix ccdset=intermediate/RGSEvents-rgs1-1-Intermediate_events-S00101000100000.fits keepcool=Y -w 10
# # [OUTPUT] [2024-11-30T23:41:40] ** rgsbadpix: warning (BadPixDiscrepancy), (CCD 1) advisory hot pixel at (100,36): not found hot\
#     in telemetry
# ** rgsbadpix: warning (BadPixDiscrepancy), (CCD 1) advisory hot segment at (305,1): 128 out of 128 pixels not found hot in\
#     telemetry 
# # [INFO] [2024-11-30T23:41:40] Task Run Time rgsbadpix 0.0704889297485352s
#
# [COMMAND] [2024-11-30T23:41:40]
export SAS_MEMORY_MODEL=high
# [COMMAND] [2024-11-30T23:41:40]
export SAS_RAND_SEED=0103862901
# # [INFO] [2024-11-30T23:41:40] ## DEBUG ModuleResources: SAS_RAND_SEED set: 0103862901
# [COMMAND] [2024-11-30T23:41:40]
rgsevents ccdset=intermediate/RGSEvents-rgs1-1-Intermediate_events-S00101000100000.fits -w 10
# # [OUTPUT] [2024-11-30T23:41:40]
# # [INFO] [2024-11-30T23:41:40] Task Run Time rgsevents 0.11755895614624s
#
# # [INFO] [2024-11-30T23:41:40] Processing CCD 2
# [COMMAND] [2024-11-30T23:41:40]
export SAS_MEMORY_MODEL=high
# [COMMAND] [2024-11-30T23:41:40]
export SAS_RAND_SEED=0103862901
# # [INFO] [2024-11-30T23:41:40] ## DEBUG ModuleResources: SAS_RAND_SEED set: 0103862901
# [COMMAND] [2024-11-30T23:41:40]
rgsframes ccdset=intermediate/RGSEvents-rgs1-1-Intermediate_events-S00102000100000.fits set=odf/0452_0103862901_R1S00102SPE.FIT -w \
10
# # [OUTPUT] [2024-11-30T23:41:40]
# # [INFO] [2024-11-30T23:41:40] Task Run Time rgsframes 0.137087106704712s
#
# [COMMAND] [2024-11-30T23:41:40]
export SAS_MEMORY_MODEL=high
# [COMMAND] [2024-11-30T23:41:40]
export SAS_RAND_SEED=0103862901
# # [INFO] [2024-11-30T23:41:40] ## DEBUG ModuleResources: SAS_RAND_SEED set: 0103862901
# [COMMAND] [2024-11-30T23:41:40]
rgsenergy ccdset=intermediate/RGSEvents-rgs1-1-Intermediate_events-S00102000100000.fits withdiagoffset=yes -w 10
# # [OUTPUT] [2024-11-30T23:41:40] ** rgsenergy: warning (ArgumentIgnored), <time> argument of RGS CTI correction currently ignored
# ** rgsenergy: warning (ArgumentIgnored), <shape> argument of RGS CTI correction currently ignored
# ** rgsenergy: warning (ArgumentIgnored), <separation> argument of RGS CTI correction currently ignored 
# # [INFO] [2024-11-30T23:41:40] Task Run Time rgsenergy 0.126240015029907s
#
# [COMMAND] [2024-11-30T23:41:40]
export SAS_MEMORY_MODEL=high
# [COMMAND] [2024-11-30T23:41:40]
export SAS_RAND_SEED=0103862901
# # [INFO] [2024-11-30T23:41:40] ## DEBUG ModuleResources: SAS_RAND_SEED set: 0103862901
# [COMMAND] [2024-11-30T23:41:40]
rgsbadpix ccdset=intermediate/RGSEvents-rgs1-1-Intermediate_events-S00102000100000.fits keepcool=Y -w 10
# # [OUTPUT] [2024-11-30T23:41:40] ** rgsbadpix: warning (BadPixDiscrepancy), (CCD 2) advisory hot segment at (237,1): 128 out of\
#     128 pixels not found hot in telemetry 
# # [INFO] [2024-11-30T23:41:40] Task Run Time rgsbadpix 0.136487007141113s
#
# [COMMAND] [2024-11-30T23:41:40]
export SAS_MEMORY_MODEL=high
# [COMMAND] [2024-11-30T23:41:40]
export SAS_RAND_SEED=0103862901
# # [INFO] [2024-11-30T23:41:40] ## DEBUG ModuleResources: SAS_RAND_SEED set: 0103862901
# [COMMAND] [2024-11-30T23:41:40]
rgsevents ccdset=intermediate/RGSEvents-rgs1-1-Intermediate_events-S00102000100000.fits -w 10
# # [OUTPUT] [2024-11-30T23:41:41]
# # [INFO] [2024-11-30T23:41:41] Task Run Time rgsevents 0.0924999713897705s
#
# # [INFO] [2024-11-30T23:41:41] Processing CCD 3
# [COMMAND] [2024-11-30T23:41:41]
export SAS_MEMORY_MODEL=high
# [COMMAND] [2024-11-30T23:41:41]
export SAS_RAND_SEED=0103862901
# # [INFO] [2024-11-30T23:41:41] ## DEBUG ModuleResources: SAS_RAND_SEED set: 0103862901
# [COMMAND] [2024-11-30T23:41:41]
rgsframes ccdset=intermediate/RGSEvents-rgs1-1-Intermediate_events-S00103000100000.fits set=odf/0452_0103862901_R1S00103SPE.FIT -w \
10
# # [OUTPUT] [2024-11-30T23:41:41]
# # [INFO] [2024-11-30T23:41:41] Task Run Time rgsframes 0.135170936584473s
#
# [COMMAND] [2024-11-30T23:41:41]
export SAS_MEMORY_MODEL=high
# [COMMAND] [2024-11-30T23:41:41]
export SAS_RAND_SEED=0103862901
# # [INFO] [2024-11-30T23:41:41] ## DEBUG ModuleResources: SAS_RAND_SEED set: 0103862901
# [COMMAND] [2024-11-30T23:41:41]
rgsenergy ccdset=intermediate/RGSEvents-rgs1-1-Intermediate_events-S00103000100000.fits withdiagoffset=yes -w 10
# # [OUTPUT] [2024-11-30T23:41:41] ** rgsenergy: warning (ArgumentIgnored), <time> argument of RGS CTI correction currently ignored
# ** rgsenergy: warning (ArgumentIgnored), <shape> argument of RGS CTI correction currently ignored
# ** rgsenergy: warning (ArgumentIgnored), <separation> argument of RGS CTI correction currently ignored 
# # [INFO] [2024-11-30T23:41:41] Task Run Time rgsenergy 0.136461973190308s
#
# [COMMAND] [2024-11-30T23:41:41]
export SAS_MEMORY_MODEL=high
# [COMMAND] [2024-11-30T23:41:41]
export SAS_RAND_SEED=0103862901
# # [INFO] [2024-11-30T23:41:41] ## DEBUG ModuleResources: SAS_RAND_SEED set: 0103862901
# [COMMAND] [2024-11-30T23:41:41]
rgsbadpix ccdset=intermediate/RGSEvents-rgs1-1-Intermediate_events-S00103000100000.fits keepcool=Y -w 10
# # [OUTPUT] [2024-11-30T23:41:41] ** rgsbadpix: warning (BadPixDiscrepancy), (CCD 3) advisory hot segment at (250,1): 128 out of\
#     128 pixels not found hot in telemetry 
# # [INFO] [2024-11-30T23:41:41] Task Run Time rgsbadpix 0.168960094451904s
#
# [COMMAND] [2024-11-30T23:41:41]
export SAS_MEMORY_MODEL=high
# [COMMAND] [2024-11-30T23:41:41]
export SAS_RAND_SEED=0103862901
# # [INFO] [2024-11-30T23:41:41] ## DEBUG ModuleResources: SAS_RAND_SEED set: 0103862901
# [COMMAND] [2024-11-30T23:41:41]
rgsevents ccdset=intermediate/RGSEvents-rgs1-1-Intermediate_events-S00103000100000.fits -w 10
# # [OUTPUT] [2024-11-30T23:41:41]
# # [INFO] [2024-11-30T23:41:41] Task Run Time rgsevents 0.109340190887451s
#
# # [INFO] [2024-11-30T23:41:41] Processing CCD 4
# [COMMAND] [2024-11-30T23:41:41]
export SAS_MEMORY_MODEL=high
# [COMMAND] [2024-11-30T23:41:41]
export SAS_RAND_SEED=0103862901
# # [INFO] [2024-11-30T23:41:41] ## DEBUG ModuleResources: SAS_RAND_SEED set: 0103862901
# [COMMAND] [2024-11-30T23:41:41]
rgsframes ccdset=intermediate/RGSEvents-rgs1-1-Intermediate_events-S00104000100000.fits set=odf/0452_0103862901_R1S00104SPE.FIT -w \
10
# # [OUTPUT] [2024-11-30T23:41:41]
# # [INFO] [2024-11-30T23:41:41] Task Run Time rgsframes 0.118142127990723s
#
# [COMMAND] [2024-11-30T23:41:41]
export SAS_MEMORY_MODEL=high
# [COMMAND] [2024-11-30T23:41:41]
export SAS_RAND_SEED=0103862901
# # [INFO] [2024-11-30T23:41:41] ## DEBUG ModuleResources: SAS_RAND_SEED set: 0103862901
# [COMMAND] [2024-11-30T23:41:41]
rgsenergy ccdset=intermediate/RGSEvents-rgs1-1-Intermediate_events-S00104000100000.fits withdiagoffset=yes -w 10
# # [OUTPUT] [2024-11-30T23:41:41] ** rgsenergy: warning (ArgumentIgnored), <time> argument of RGS CTI correction currently ignored
# ** rgsenergy: warning (ArgumentIgnored), <shape> argument of RGS CTI correction currently ignored
# ** rgsenergy: warning (ArgumentIgnored), <separation> argument of RGS CTI correction currently ignored 
# # [INFO] [2024-11-30T23:41:41] Task Run Time rgsenergy 0.0871560573577881s
#
# [COMMAND] [2024-11-30T23:41:41]
export SAS_MEMORY_MODEL=high
# [COMMAND] [2024-11-30T23:41:41]
export SAS_RAND_SEED=0103862901
# # [INFO] [2024-11-30T23:41:41] ## DEBUG ModuleResources: SAS_RAND_SEED set: 0103862901
# [COMMAND] [2024-11-30T23:41:41]
rgsbadpix ccdset=intermediate/RGSEvents-rgs1-1-Intermediate_events-S00104000100000.fits keepcool=Y -w 10
# # [OUTPUT] [2024-11-30T23:41:41] ** rgsbadpix: warning (BadPixDiscrepancy), (CCD 4) advisory hot pixel at (192,124): not found hot\
#     in telemetry 
# # [INFO] [2024-11-30T23:41:41] Task Run Time rgsbadpix 0.0719120502471924s
#
# [COMMAND] [2024-11-30T23:41:41]
export SAS_MEMORY_MODEL=high
# [COMMAND] [2024-11-30T23:41:41]
export SAS_RAND_SEED=0103862901
# # [INFO] [2024-11-30T23:41:41] ## DEBUG ModuleResources: SAS_RAND_SEED set: 0103862901
# [COMMAND] [2024-11-30T23:41:41]
rgsevents ccdset=intermediate/RGSEvents-rgs1-1-Intermediate_events-S00104000100000.fits -w 10
# # [OUTPUT] [2024-11-30T23:41:42]
# # [INFO] [2024-11-30T23:41:42] Task Run Time rgsevents 0.12350606918335s
#
# # [INFO] [2024-11-30T23:41:42] Processing CCD 5
# [COMMAND] [2024-11-30T23:41:42]
export SAS_MEMORY_MODEL=high
# [COMMAND] [2024-11-30T23:41:42]
export SAS_RAND_SEED=0103862901
# # [INFO] [2024-11-30T23:41:42] ## DEBUG ModuleResources: SAS_RAND_SEED set: 0103862901
# [COMMAND] [2024-11-30T23:41:42]
rgsframes ccdset=intermediate/RGSEvents-rgs1-1-Intermediate_events-S00105000100000.fits set=odf/0452_0103862901_R1S00105SPE.FIT -w \
10
# # [OUTPUT] [2024-11-30T23:41:42]
# # [INFO] [2024-11-30T23:41:42] Task Run Time rgsframes 0.11153507232666s
#
# [COMMAND] [2024-11-30T23:41:42]
export SAS_MEMORY_MODEL=high
# [COMMAND] [2024-11-30T23:41:42]
export SAS_RAND_SEED=0103862901
# # [INFO] [2024-11-30T23:41:42] ## DEBUG ModuleResources: SAS_RAND_SEED set: 0103862901
# [COMMAND] [2024-11-30T23:41:42]
rgsenergy ccdset=intermediate/RGSEvents-rgs1-1-Intermediate_events-S00105000100000.fits withdiagoffset=yes -w 10
# # [OUTPUT] [2024-11-30T23:41:42] ** rgsenergy: warning (ArgumentIgnored), <time> argument of RGS CTI correction currently ignored
# ** rgsenergy: warning (ArgumentIgnored), <shape> argument of RGS CTI correction currently ignored
# ** rgsenergy: warning (ArgumentIgnored), <separation> argument of RGS CTI correction currently ignored 
# # [INFO] [2024-11-30T23:41:42] Task Run Time rgsenergy 0.135833024978638s
#
# [COMMAND] [2024-11-30T23:41:42]
export SAS_MEMORY_MODEL=high
# [COMMAND] [2024-11-30T23:41:42]
export SAS_RAND_SEED=0103862901
# # [INFO] [2024-11-30T23:41:42] ## DEBUG ModuleResources: SAS_RAND_SEED set: 0103862901
# [COMMAND] [2024-11-30T23:41:42]
rgsbadpix ccdset=intermediate/RGSEvents-rgs1-1-Intermediate_events-S00105000100000.fits keepcool=Y -w 10
# # [OUTPUT] [2024-11-30T23:41:42] ** rgsbadpix: warning (BadPixDiscrepancy), (CCD 5) advisory hot pixel at (28,31): not found hot\
#     in telemetry
# ** rgsbadpix: warning (BadPixDiscrepancy), (CCD 5) advisory hot pixel at (280,5): not found hot in telemetry
# ** rgsbadpix: warning (BadPixDiscrepancy), (CCD 5) advisory hot segment at (224,1): 128 out of 128 pixels not found hot in\
#     telemetry 
# # [INFO] [2024-11-30T23:41:42] Task Run Time rgsbadpix 0.0771911144256592s
#
# [COMMAND] [2024-11-30T23:41:42]
export SAS_MEMORY_MODEL=high
# [COMMAND] [2024-11-30T23:41:42]
export SAS_RAND_SEED=0103862901
# # [INFO] [2024-11-30T23:41:42] ## DEBUG ModuleResources: SAS_RAND_SEED set: 0103862901
# [COMMAND] [2024-11-30T23:41:42]
rgsevents ccdset=intermediate/RGSEvents-rgs1-1-Intermediate_events-S00105000100000.fits -w 10
# # [OUTPUT] [2024-11-30T23:41:42]
# # [INFO] [2024-11-30T23:41:42] Task Run Time rgsevents 0.105677127838135s
#
# # [INFO] [2024-11-30T23:41:42] Processing CCD 6
# [COMMAND] [2024-11-30T23:41:42]
export SAS_MEMORY_MODEL=high
# [COMMAND] [2024-11-30T23:41:42]
export SAS_RAND_SEED=0103862901
# # [INFO] [2024-11-30T23:41:42] ## DEBUG ModuleResources: SAS_RAND_SEED set: 0103862901
# [COMMAND] [2024-11-30T23:41:42]
rgsframes ccdset=intermediate/RGSEvents-rgs1-1-Intermediate_events-S00106000100000.fits set=odf/0452_0103862901_R1S00106SPE.FIT -w \
10
# # [OUTPUT] [2024-11-30T23:41:42]
# # [INFO] [2024-11-30T23:41:42] Task Run Time rgsframes 0.0943930149078369s
#
# [COMMAND] [2024-11-30T23:41:42]
export SAS_MEMORY_MODEL=high
# [COMMAND] [2024-11-30T23:41:42]
export SAS_RAND_SEED=0103862901
# # [INFO] [2024-11-30T23:41:42] ## DEBUG ModuleResources: SAS_RAND_SEED set: 0103862901
# [COMMAND] [2024-11-30T23:41:42]
rgsenergy ccdset=intermediate/RGSEvents-rgs1-1-Intermediate_events-S00106000100000.fits withdiagoffset=yes -w 10
# # [OUTPUT] [2024-11-30T23:41:42] ** rgsenergy: warning (ArgumentIgnored), <time> argument of RGS CTI correction currently ignored
# ** rgsenergy: warning (ArgumentIgnored), <shape> argument of RGS CTI correction currently ignored
# ** rgsenergy: warning (ArgumentIgnored), <separation> argument of RGS CTI correction currently ignored 
# # [INFO] [2024-11-30T23:41:42] Task Run Time rgsenergy 0.190597057342529s
#
# [COMMAND] [2024-11-30T23:41:42]
export SAS_MEMORY_MODEL=high
# [COMMAND] [2024-11-30T23:41:42]
export SAS_RAND_SEED=0103862901
# # [INFO] [2024-11-30T23:41:42] ## DEBUG ModuleResources: SAS_RAND_SEED set: 0103862901
# [COMMAND] [2024-11-30T23:41:42]
rgsbadpix ccdset=intermediate/RGSEvents-rgs1-1-Intermediate_events-S00106000100000.fits keepcool=Y -w 10
# # [OUTPUT] [2024-11-30T23:41:42] ** rgsbadpix: warning (BadPixDiscrepancy), (CCD 6) advisory hot pixel at (2,18): not found hot in\
#     telemetry
# ** rgsbadpix: warning (BadPixDiscrepancy), (CCD 6) advisory hot pixel at (4,94): not found hot in telemetry
# ** rgsbadpix: warning (BadPixDiscrepancy), (CCD 6) advisory hot pixel at (164,121): not found hot in telemetry
# ** rgsbadpix: warning (BadPixDiscrepancy), (CCD 6) advisory hot segment at (165,120): 3 out of 3 pixels not found hot in telemetry 
# # [INFO] [2024-11-30T23:41:42] Task Run Time rgsbadpix 0.0681819915771484s
#
# [COMMAND] [2024-11-30T23:41:42]
export SAS_MEMORY_MODEL=high
# [COMMAND] [2024-11-30T23:41:42]
export SAS_RAND_SEED=0103862901
# # [INFO] [2024-11-30T23:41:42] ## DEBUG ModuleResources: SAS_RAND_SEED set: 0103862901
# [COMMAND] [2024-11-30T23:41:42]
rgsevents ccdset=intermediate/RGSEvents-rgs1-1-Intermediate_events-S00106000100000.fits -w 10
# # [OUTPUT] [2024-11-30T23:41:42]
# # [INFO] [2024-11-30T23:41:42] Task Run Time rgsevents 0.114675998687744s
#
# # [INFO] [2024-11-30T23:41:42] Processing CCD 8
# [COMMAND] [2024-11-30T23:41:42]
export SAS_MEMORY_MODEL=high
# [COMMAND] [2024-11-30T23:41:42]
export SAS_RAND_SEED=0103862901
# # [INFO] [2024-11-30T23:41:42] ## DEBUG ModuleResources: SAS_RAND_SEED set: 0103862901
# [COMMAND] [2024-11-30T23:41:42]
rgsframes ccdset=intermediate/RGSEvents-rgs1-1-Intermediate_events-S00108000100000.fits set=odf/0452_0103862901_R1S00108SPE.FIT -w \
10
# # [OUTPUT] [2024-11-30T23:41:43]
# # [INFO] [2024-11-30T23:41:43] Task Run Time rgsframes 0.0932879447937012s
#
# [COMMAND] [2024-11-30T23:41:43]
export SAS_MEMORY_MODEL=high
# [COMMAND] [2024-11-30T23:41:43]
export SAS_RAND_SEED=0103862901
# # [INFO] [2024-11-30T23:41:43] ## DEBUG ModuleResources: SAS_RAND_SEED set: 0103862901
# [COMMAND] [2024-11-30T23:41:43]
rgsenergy ccdset=intermediate/RGSEvents-rgs1-1-Intermediate_events-S00108000100000.fits withdiagoffset=yes -w 10
# # [OUTPUT] [2024-11-30T23:41:43] ** rgsenergy: warning (ArgumentIgnored), <time> argument of RGS CTI correction currently ignored
# ** rgsenergy: warning (ArgumentIgnored), <shape> argument of RGS CTI correction currently ignored
# ** rgsenergy: warning (ArgumentIgnored), <separation> argument of RGS CTI correction currently ignored 
# # [INFO] [2024-11-30T23:41:43] Task Run Time rgsenergy 0.0775671005249023s
#
# [COMMAND] [2024-11-30T23:41:43]
export SAS_MEMORY_MODEL=high
# [COMMAND] [2024-11-30T23:41:43]
export SAS_RAND_SEED=0103862901
# # [INFO] [2024-11-30T23:41:43] ## DEBUG ModuleResources: SAS_RAND_SEED set: 0103862901
# [COMMAND] [2024-11-30T23:41:43]
rgsbadpix ccdset=intermediate/RGSEvents-rgs1-1-Intermediate_events-S00108000100000.fits keepcool=Y -w 10
# # [OUTPUT] [2024-11-30T23:41:43] ** rgsbadpix: warning (BadPixDiscrepancy), (CCD 8) advisory hot segment at (72,100): 3 out of 3\
#     pixels not found hot in telemetry
# ** rgsbadpix: warning (BadPixDiscrepancy), (CCD 8) advisory hot pixel at (138,7): not found hot in telemetry 
# # [INFO] [2024-11-30T23:41:43] Task Run Time rgsbadpix 0.0698540210723877s
#
# [COMMAND] [2024-11-30T23:41:43]
export SAS_MEMORY_MODEL=high
# [COMMAND] [2024-11-30T23:41:43]
export SAS_RAND_SEED=0103862901
# # [INFO] [2024-11-30T23:41:43] ## DEBUG ModuleResources: SAS_RAND_SEED set: 0103862901
# [COMMAND] [2024-11-30T23:41:43]
rgsevents ccdset=intermediate/RGSEvents-rgs1-1-Intermediate_events-S00108000100000.fits -w 10
# # [OUTPUT] [2024-11-30T23:41:43]
# # [INFO] [2024-11-30T23:41:43] Task Run Time rgsevents 0.0681838989257812s
#
# # [INFO] [2024-11-30T23:41:43] Processing CCD 9
# [COMMAND] [2024-11-30T23:41:43]
export SAS_MEMORY_MODEL=high
# [COMMAND] [2024-11-30T23:41:43]
export SAS_RAND_SEED=0103862901
# # [INFO] [2024-11-30T23:41:43] ## DEBUG ModuleResources: SAS_RAND_SEED set: 0103862901
# [COMMAND] [2024-11-30T23:41:43]
rgsframes ccdset=intermediate/RGSEvents-rgs1-1-Intermediate_events-S00109000100000.fits set=odf/0452_0103862901_R1S00109SPE.FIT -w \
10
# # [OUTPUT] [2024-11-30T23:41:43]
# # [INFO] [2024-11-30T23:41:43] Task Run Time rgsframes 0.0869061946868896s
#
# [COMMAND] [2024-11-30T23:41:43]
export SAS_MEMORY_MODEL=high
# [COMMAND] [2024-11-30T23:41:43]
export SAS_RAND_SEED=0103862901
# # [INFO] [2024-11-30T23:41:43] ## DEBUG ModuleResources: SAS_RAND_SEED set: 0103862901
# [COMMAND] [2024-11-30T23:41:43]
rgsenergy ccdset=intermediate/RGSEvents-rgs1-1-Intermediate_events-S00109000100000.fits withdiagoffset=yes -w 10
# # [OUTPUT] [2024-11-30T23:41:43] ** rgsenergy: warning (ArgumentIgnored), <time> argument of RGS CTI correction currently ignored
# ** rgsenergy: warning (ArgumentIgnored), <shape> argument of RGS CTI correction currently ignored
# ** rgsenergy: warning (ArgumentIgnored), <separation> argument of RGS CTI correction currently ignored 
# # [INFO] [2024-11-30T23:41:43] Task Run Time rgsenergy 0.159260034561157s
#
# [COMMAND] [2024-11-30T23:41:43]
export SAS_MEMORY_MODEL=high
# [COMMAND] [2024-11-30T23:41:43]
export SAS_RAND_SEED=0103862901
# # [INFO] [2024-11-30T23:41:43] ## DEBUG ModuleResources: SAS_RAND_SEED set: 0103862901
# [COMMAND] [2024-11-30T23:41:43]
rgsbadpix ccdset=intermediate/RGSEvents-rgs1-1-Intermediate_events-S00109000100000.fits keepcool=Y -w 10
# # [OUTPUT] [2024-11-30T23:41:43] ** rgsbadpix: warning (BadPixDiscrepancy), (CCD 9) advisory hot pixel at (316,109): not found hot\
#     in telemetry
# ** rgsbadpix: warning (BadPixDiscrepancy), (CCD 9) advisory hot pixel at (250,69): not found hot in telemetry
# ** rgsbadpix: warning (BadPixDiscrepancy), (CCD 9) advisory hot segment at (185,60): 2 out of 2 pixels not found hot in telemetry 
# # [INFO] [2024-11-30T23:41:43] Task Run Time rgsbadpix 0.0628130435943604s
#
# [COMMAND] [2024-11-30T23:41:43]
export SAS_MEMORY_MODEL=high
# [COMMAND] [2024-11-30T23:41:43]
export SAS_RAND_SEED=0103862901
# # [INFO] [2024-11-30T23:41:43] ## DEBUG ModuleResources: SAS_RAND_SEED set: 0103862901
# [COMMAND] [2024-11-30T23:41:43]
rgsevents ccdset=intermediate/RGSEvents-rgs1-1-Intermediate_events-S00109000100000.fits -w 10
# # [OUTPUT] [2024-11-30T23:41:43]
# # [INFO] [2024-11-30T23:41:43] Task Run Time rgsevents 0.0622508525848389s
#
# [COMMAND] [2024-11-30T23:41:43]
export SAS_MEMORY_MODEL=high
# [COMMAND] [2024-11-30T23:41:43]
export SAS_RAND_SEED=0103862901
# # [INFO] [2024-11-30T23:41:43] ## DEBUG ModuleResources: SAS_RAND_SEED set: 0103862901
# [COMMAND] [2024-11-30T23:41:43]
evlistcomb eventsets="intermediate/RGSEvents-rgs1-1-Intermediate_events-S00101000100000.fits \
intermediate/RGSEvents-rgs1-1-Intermediate_events-S00102000100000.fits \
intermediate/RGSEvents-rgs1-1-Intermediate_events-S00103000100000.fits \
intermediate/RGSEvents-rgs1-1-Intermediate_events-S00104000100000.fits \
intermediate/RGSEvents-rgs1-1-Intermediate_events-S00105000100000.fits \
intermediate/RGSEvents-rgs1-1-Intermediate_events-S00106000100000.fits \
intermediate/RGSEvents-rgs1-1-Intermediate_events-S00108000100000.fits \
intermediate/RGSEvents-rgs1-1-Intermediate_events-S00109000100000.fits" \
imagingset=intermediate/RGSEvents-rgs1-1-Event_list-S00100000000000.fits instrument=rgs mainattributes="CCDOCB SOURCEID DATE-OBS \
DATE-END DATATYPE TSTART TSTOP TELAPS XMMEA_RG" othertables="STDGTI BADPIX0 BADPIX1 REJPIX0 REJPIX1 EXPOSURE" \
rgsdatamodes="SPECTROSCOPY HIGHTIMERESOLUTION" rgsimgcolnames="TIME FLAG BETA XDSP CHIPX CHIPY PHA SHAPE GRADE PI" \
rgsimgcoltypes="double int32 single single int16 int16 int16 int8 int8 int16" -w 10
# # [OUTPUT] [2024-11-30T23:41:43]
# # [INFO] [2024-11-30T23:41:43] Task Run Time evlistcomb 0.171024084091187s
#
# [COMMAND] [2024-11-30T23:41:43]
export SAS_MEMORY_MODEL=high
# [COMMAND] [2024-11-30T23:41:43]
export SAS_RAND_SEED=0103862901
# # [INFO] [2024-11-30T23:41:43] ## DEBUG ModuleResources: SAS_RAND_SEED set: 0103862901
# [COMMAND] [2024-11-30T23:41:43]
rgsangles betabinning=binSize betabinref=0.03578524 betabinwidth=1.208e-05 \
mergedset=intermediate/RGSEvents-rgs1-1-Event_list-S00100000000000.fits nbetabins=3400 nxdispbins=170 \
srclist=product/P0103862901R1S001SRCLI_0000.FIT withheliocentriccorr=Y withmlambdacolumn=Y withsunanglecorr=Y xdispbinning=binSize \
xdispbinref=-0.0009126 xdispbinwidth=1.08e-05 -w 10
# # [OUTPUT] [2024-11-30T23:41:44] rgsangles:- Sun angle correction value 1.83770147226 rad 
# rgsangles:- Sun Angle Coeff for Order 1: a 1.20000004768 b -0.519999980927
# rgsangles:- Heliocentric velocity correction T= 138964855.184 ( 2002-05-28T09:19:51.000 ) HelioVelCorr= 19.5277182623 km/s 
# rgsangles:- Heliocentric Correction Factor: 6.51374567345e-05
# ** rgsangles: warning (outside range), _CORR is outside the range specified by the binning parameters
# ** rgsangles: warning (binning ), _CORR cannot be binned into channels
# ** rgsangles: warning (outside range), _CORR is outside the range specified by the binning parameters
# ** rgsangles: warning (binning ), _CORR cannot be binned into channels
# ** rgsangles: warning (outside range), _CORR is outside the range specified by the binning parameters
# ** rgsangles: warning (binning ), _CORR cannot be binned into channels
# ** rgsangles: warning (outside range), _CORR is outside the range specified by the binning parameters
# ** rgsangles: warning (binning ), _CORR cannot be binned into channels
# ** rgsangles: warning (outside range), _CORR is outside the range specified by the binning parameters
# ** rgsangles: warning (binning ), _CORR cannot be binned into channels
# ** rgsangles: warning (outside range), _CORR is outside the range specified by the binning parameters
# ** rgsangles: warning (binning ), _CORR cannot be binned into channels
# ** rgsangles: warning (outside range), _CORR is outside the range specified by the binning parameters
# ** rgsangles: warning (binning ), _CORR cannot be binned into channels
# ** rgsangles: warning (outside range), _CORR is outside the range specified by the binning parameters
# ** rgsangles: warning (binning ), _CORR cannot be binned into channels
# ** rgsangles: warning (outside range), _CORR is outside the range specified by the binning parameters
# ** rgsangles: warning (binning ), _CORR cannot be binned into channels
# ** rgsangles: warning (outside range), _CORR is outside the range specified by the binning parameters
# ** rgsangles: warning (binning ), _CORR cannot be binned into channels
# ** rgsangles: warning (SummaryOfWarnings), 
# warning binning silently occurred 434 times
# warning outside range silently occurred 434 times 
# # [INFO] [2024-11-30T23:41:44] Task Run Time rgsangles 0.295444011688232s
#
# # [INFO] [2024-11-30T23:41:44] Filtering with rejection flags, Attitude GTI and HK GTI.
# [COMMAND] [2024-11-30T23:41:44]
export SAS_MEMORY_MODEL=high
# [COMMAND] [2024-11-30T23:41:44]
export SAS_RAND_SEED=0103862901
# # [INFO] [2024-11-30T23:41:44] ## DEBUG ModuleResources: SAS_RAND_SEED set: 0103862901
# [COMMAND] [2024-11-30T23:41:44]
rgsfilter auxgtitables="intermediate/RGSEvents-rgs1-1-Exposure_Attitude_GTI-S00100000000000.fits \
intermediate/GlobalHK-all-1-Attitude_GTI-X00000000000000.fits intermediate/InstrumentHK-rgs1-1-HK_GTI-X00000000000000.fits" \
evlist=intermediate/RGSEvents-rgs1-1-FILTERED_EVENT_LIST-S00100000000000.fits expimageset=product/P0103862901R1S001EXPMAP0000.FIT \
mergedset=intermediate/RGSEvents-rgs1-1-Event_list-S00100000000000.fits rejflags="BAD_SHAPE ON_BADPIX NEXT_TO_BADPIX \
BELOW_ACCEPTANCE ON_NODE_INTERFACE ON_WINDOW_BORDER" withcombmap=Y withexpmaps=Y -w 10
# # [OUTPUT] [2024-11-30T23:41:44]
# # [INFO] [2024-11-30T23:41:44] Task Run Time rgsfilter 0.327044010162354s
#
# # [INFO] [2024-11-30T23:41:44] Filtering with rejection flags, Attitude GTI and HK GTI leaves < 1000s ONTIME.
# # [INFO] [2024-11-30T23:41:44] Filtering with rejection flags and Attitude GTI.
# [COMMAND] [2024-11-30T23:41:44]
export SAS_MEMORY_MODEL=high
# [COMMAND] [2024-11-30T23:41:44]
export SAS_RAND_SEED=0103862901
# # [INFO] [2024-11-30T23:41:44] ## DEBUG ModuleResources: SAS_RAND_SEED set: 0103862901
# [COMMAND] [2024-11-30T23:41:44]
rgsfilter auxgtitables="intermediate/RGSEvents-rgs1-1-Exposure_Attitude_GTI-S00100000000000.fits \
intermediate/GlobalHK-all-1-Attitude_GTI-X00000000000000.fits" \
evlist=intermediate/RGSEvents-rgs1-1-FILTERED_EVENT_LIST-S00100000000000.fits expimageset=product/P0103862901R1S001EXPMAP0000.FIT \
mergedset=intermediate/RGSEvents-rgs1-1-Event_list-S00100000000000.fits rejflags="BAD_SHAPE ON_BADPIX NEXT_TO_BADPIX \
BELOW_ACCEPTANCE ON_NODE_INTERFACE ON_WINDOW_BORDER" withcombmap=Y withexpmaps=Y -w 10
# # [OUTPUT] [2024-11-30T23:41:44]
# # [INFO] [2024-11-30T23:41:44] Task Run Time rgsfilter 0.267386913299561s
#
# # [INFO] [2024-11-30T23:41:44] Filtering with rejection flags and Attitude GTI leaves < 1000s ONTIME.
# # [INFO] [2024-11-30T23:41:44] Filtering with rejection flags.
# [COMMAND] [2024-11-30T23:41:44]
export SAS_MEMORY_MODEL=high
# [COMMAND] [2024-11-30T23:41:44]
export SAS_RAND_SEED=0103862901
# # [INFO] [2024-11-30T23:41:44] ## DEBUG ModuleResources: SAS_RAND_SEED set: 0103862901
# [COMMAND] [2024-11-30T23:41:44]
rgsfilter auxgtitables=intermediate/RGSEvents-rgs1-1-Exposure_Attitude_GTI-S00100000000000.fits \
evlist=intermediate/RGSEvents-rgs1-1-FILTERED_EVENT_LIST-S00100000000000.fits expimageset=product/P0103862901R1S001EXPMAP0000.FIT \
mergedset=intermediate/RGSEvents-rgs1-1-Event_list-S00100000000000.fits rejflags="BAD_SHAPE ON_BADPIX NEXT_TO_BADPIX \
BELOW_ACCEPTANCE ON_NODE_INTERFACE ON_WINDOW_BORDER" withcombmap=Y withexpmaps=Y -w 10
# # [OUTPUT] [2024-11-30T23:41:44]
# # [INFO] [2024-11-30T23:41:44] Task Run Time rgsfilter 0.283710956573486s
#
# # [INFO] [2024-11-30T23:41:44] Filtering with rejection flags leaves < 1000s ONTIME.
# # [INFO] [2024-11-30T23:41:44] ONTIME=4.31930969238281E+02
# # [INFO] [2024-11-30T23:41:44] FILTGRPS=0
# [COMMAND] [2024-11-30T23:41:44]
export SAS_MEMORY_MODEL=high
# [COMMAND] [2024-11-30T23:41:44]
export SAS_RAND_SEED=0103862901
# # [INFO] [2024-11-30T23:41:44] ## DEBUG ModuleResources: SAS_RAND_SEED set: 0103862901
# [COMMAND] [2024-11-30T23:41:44]
addattribute attributecomment="\"rgsfilter groups applied (rejflags=1|AttGTI=2|hkGTI=4)\"" attributename=FILTGRPS \
attributetype=integer integervalue=0 set=intermediate/RGSEvents-rgs1-1-FILTERED_EVENT_LIST-S00100000000000.fits -w 10
# # [OUTPUT] [2024-11-30T23:41:45]
# # [INFO] [2024-11-30T23:41:45] Task Run Time addattribute 0.142263174057007s
#
# # [INFO] [2024-11-30T23:41:45] Filtering with rejection flags < 1000s GTI.
# # [INFO] [2024-11-30T23:41:45] Ignoring this exposure.
# # [INFO] [2024-11-30T23:41:45] Module name: OMSourceProducts
# # [INFO] [2024-11-30T23:41:45] Instrument: om
# # [INFO] [2024-11-30T23:41:45] Stream no.: 0001
# # [INFO] [2024-11-30T23:41:45] Module version number: 0.14
# # [INFO] [2024-11-30T23:41:45] Start processing OM PHA spectra
# # [INFO] [2024-11-30T23:41:45] OM Source list found and has non-zero rows. Start processing OM PHA spectra files ...
# # [INFO] [2024-11-30T23:41:45] Number of OM sources with rates from at least one filter: 7
# # [INFO] [2024-11-30T23:41:45] EPIC Summary Source list does not exist or has not rows. Skip OM PHA spectra creation.
# # [INFO] [2024-11-30T23:41:45] DEBUG --- Start updating OM Summary source list ...
# # [INFO] [2024-11-30T23:41:45] Module name: RGSProducts
# # [INFO] [2024-11-30T23:41:45] Instrument: rgs2
# # [INFO] [2024-11-30T23:41:45] Stream no.: 0001
# # [INFO] [2024-11-30T23:41:45] Module version number: 2.37
# # [INFO] [2024-11-30T23:41:45] Exposure ID: S002
# # [INFO] [2024-11-30T23:41:45] Module name: RGSProducts
# # [INFO] [2024-11-30T23:41:45] Instrument: rgs1
# # [INFO] [2024-11-30T23:41:45] Stream no.: 0001
# # [INFO] [2024-11-30T23:41:45] Module version number: 2.37
# # [INFO] [2024-11-30T23:41:45] Exposure ID: S001
# # [INFO] [2024-11-30T23:41:45] Module name: LCMerge
# # [INFO] [2024-11-30T23:41:45] Instrument: rgs
# # [INFO] [2024-11-30T23:41:45] Stream no.: 0001
# # [INFO] [2024-11-30T23:41:45] Module version number: 1.02
# # [INFO] [2024-11-30T23:41:45] ******************************************************************************************
# # [INFO] [2024-11-30T23:41:45] ********** DEBUG - LCMerge - EPIC SRC_NUM identification in RGS Source Lists *************
# # [INFO] [2024-11-30T23:41:45] ******************************************************************************************
# # [INFO] [2024-11-30T23:41:45] DEBUG - LCMerge - Inst: rgs2 , srcList: product/P0103862901R2S002SRCLI_0000.FIT
# # [INFO] [2024-11-30T23:41:45] DEBUG - LCMerge - Sources with RGS products, src_num_INDEX's : 
# # [INFO] [2024-11-30T23:41:45] DEBUG - LCMerge - Inst: rgs1 , srcList: product/P0103862901R1S001SRCLI_0000.FIT
# # [INFO] [2024-11-30T23:41:45] DEBUG - LCMerge - Sources with RGS products, src_num_INDEX's : 
# # [INFO] [2024-11-30T23:41:45] ******************************************************************************************
# # [INFO] [2024-11-30T23:41:45] DEBUG - LCMerge - RGS products vs EPIC identifications:
# # [INFO] [2024-11-30T23:41:45] DEBUG - LCMerge -......
# # [INFO] [2024-11-30T23:41:45] ******************************************************************************************
# # [INFO] [2024-11-30T23:41:45] ******************************************************************************************
# # [INFO] [2024-11-30T23:41:45] ********** DEBUG - LCMerge - Loop over RGS1/2 source products. RGS indices: **********
# # [INFO] [2024-11-30T23:41:45] ******************************************************************************************
# # [INFO] [2024-11-30T23:41:45] ******************************************************************************************
# # [INFO] [2024-11-30T23:41:45] ********** DEBUG - LCMerge - Rest of TS's only for EPIC: PN + MOS's **********************
# # [INFO] [2024-11-30T23:41:45] ******************************************************************************************
# # [INFO] [2024-11-30T23:41:45] DEBUG - LCMerge - Start Light Curves merging per Energy Band
# # [INFO] [2024-11-30T23:41:45] DEBUG - LCMerge - EPIC SRC_NUM: 0
# # [INFO] [2024-11-30T23:41:45] DEBUG - LCMerge - Corrected Light Curves for epn
# # [INFO] [2024-11-30T23:41:45] DEBUG - LCMerge - No Corrected TS for SRC_NUM: 0 from epn
# # [INFO] [2024-11-30T23:41:45] DEBUG - LCMerge - Corrected Light Curves for emos1
# # [INFO] [2024-11-30T23:41:45] DEBUG - LCMerge - No Corrected TS for SRC_NUM: 0 from emos1
# # [INFO] [2024-11-30T23:41:45] DEBUG - LCMerge - Corrected Light Curves for emos2
# # [INFO] [2024-11-30T23:41:45] DEBUG - LCMerge - No Corrected TS for SRC_NUM: 0 from emos2
# # [INFO] [2024-11-30T23:41:45] Module name: RGSMakeFluxed
# # [INFO] [2024-11-30T23:41:45] Instrument: rgs
# # [INFO] [2024-11-30T23:41:45] Stream no.: 0001
# # [INFO] [2024-11-30T23:41:45] Module version number: 1.18
# # [INFO] [2024-11-30T23:41:45] Module name: StampKeywords
# # [INFO] [2024-11-30T23:41:45] Instrument: all
# # [INFO] [2024-11-30T23:41:45] Stream no.: 0001
# # [INFO] [2024-11-30T23:41:45] Module version number: 2.09
# # [INFO] [2024-11-30T23:41:45] Getting ODS version from file\
#     /scratch/225648.1.all.q/xmm/ppsprod/228793/odf/0452_0103862901_SCX00000TCS.FIT
# [COMMAND] [2024-11-30T23:41:45]
export SAS_MEMORY_MODEL=high
# [COMMAND] [2024-11-30T23:41:45]
export SAS_RAND_SEED=0103862901
# # [INFO] [2024-11-30T23:41:45] ## DEBUG ModuleResources: SAS_RAND_SEED set: 0103862901
# [COMMAND] [2024-11-30T23:41:45]
addattribute attributecomment="\"Pipeline sequence\" \"Satellite Revolution Number\" \"Processing date\" \"Processing revision\" \
\"PPS configuration\" \"SAS version used in pipeline processing\" \"ODS version\" \"Origin of FITS file\" \"ODF_VERSION\" \"Contents \
of file\"" attributename="SEQ_ID REVOLUT PROCDATE PROCREV PPSVERS SASVERS ODSVER ORIGIN ODFVER CONTENT" attributetype="string string \
string string string string string string string string" booleanvalue="" realvalue="" set=product/P0103862901OBX000CALIND0000.FIT \
stringvalue="\"228793\" \"0452\" \"2024-12-01T00:40:16\" \"1\" \"21.51_20241115_1113\" \"xmmsas_20241108_1150-21.0.0\" \"13.1.0\" \
\"XMM-Newton/SOC\" \"005\" \"CALIBRATION INDEX FILE\"" -w 10
# # [OUTPUT] [2024-11-30T23:41:45]
# # [INFO] [2024-11-30T23:41:45] Task Run Time addattribute 0.0384471416473389s
#
# [COMMAND] [2024-11-30T23:41:45]
export SAS_MEMORY_MODEL=high
# [COMMAND] [2024-11-30T23:41:45]
export SAS_RAND_SEED=0103862901
# # [INFO] [2024-11-30T23:41:45] ## DEBUG ModuleResources: SAS_RAND_SEED set: 0103862901
# [COMMAND] [2024-11-30T23:41:45]
addattribute attributecomment="\"Pipeline sequence\" \"Satellite Revolution Number\" \"Processing date\" \"Processing revision\" \
\"PPS configuration\" \"SAS version used in pipeline processing\" \"ODS version\" \"Origin of FITS file\" \"ODF_VERSION\" \"Contents \
of file\"" attributename="SEQ_ID REVOLUT PROCDATE PROCREV PPSVERS SASVERS ODSVER ORIGIN ODFVER CONTENT" attributetype="string string \
string string string string string string string string" booleanvalue="" realvalue="" set=product/P0103862901OBX000ATTTSR0000.FIT \
stringvalue="\"228793\" \"0452\" \"2024-12-01T00:40:16\" \"1\" \"21.51_20241115_1113\" \"xmmsas_20241108_1150-21.0.0\" \"13.1.0\" \
\"XMM-Newton/SOC\" \"005\" \"ATTITUDE TIME SERIES\"" -w 10
# # [OUTPUT] [2024-11-30T23:41:45]
# # [INFO] [2024-11-30T23:41:45] Task Run Time addattribute 0.0526459217071533s
#
# [COMMAND] [2024-11-30T23:41:45]
export SAS_MEMORY_MODEL=high
# [COMMAND] [2024-11-30T23:41:45]
export SAS_RAND_SEED=0103862901
# # [INFO] [2024-11-30T23:41:45] ## DEBUG ModuleResources: SAS_RAND_SEED set: 0103862901
# [COMMAND] [2024-11-30T23:41:45]
addattribute attributecomment="\"Pipeline sequence\" \"Satellite Revolution Number\" \"Processing date\" \"Processing revision\" \
\"PPS configuration\" \"SAS version used in pipeline processing\" \"ODS version\" \"Origin of FITS file\" \"ODF_VERSION\" \"Contents \
of file\"" attributename="SEQ_ID REVOLUT PROCDATE PROCREV PPSVERS SASVERS ODSVER ORIGIN ODFVER CONTENT" attributetype="string string \
string string string string string string string string" booleanvalue="" realvalue="" set=product/P0103862901OBX000ORBTSR0000.FIT \
stringvalue="\"228793\" \"0452\" \"2024-12-01T00:40:16\" \"1\" \"21.51_20241115_1113\" \"xmmsas_20241108_1150-21.0.0\" \"13.1.0\" \
\"XMM-Newton/SOC\" \"005\" \"SPACECRAFT ORBIT\"" -w 10
# # [OUTPUT] [2024-11-30T23:41:45]
# # [INFO] [2024-11-30T23:41:45] Task Run Time addattribute 0.0378108024597168s
#
# [COMMAND] [2024-11-30T23:41:45]
export SAS_MEMORY_MODEL=high
# [COMMAND] [2024-11-30T23:41:45]
export SAS_RAND_SEED=0103862901
# # [INFO] [2024-11-30T23:41:45] ## DEBUG ModuleResources: SAS_RAND_SEED set: 0103862901
# [COMMAND] [2024-11-30T23:41:45]
addattribute attributecomment="\"Pipeline sequence\" \"Satellite Revolution Number\" \"Processing date\" \"Processing revision\" \
\"PPS configuration\" \"SAS version used in pipeline processing\" \"ODS version\" \"Origin of FITS file\" \"ODF_VERSION\" \"Contents \
of file\"" attributename="SEQ_ID REVOLUT PROCDATE PROCREV PPSVERS SASVERS ODSVER ORIGIN ODFVER CONTENT" attributetype="string string \
string string string string string string string string" booleanvalue="" realvalue="" set=product/P0103862901OBX000RADMON0000.FIT \
stringvalue="\"228793\" \"0452\" \"2024-12-01T00:40:16\" \"1\" \"21.51_20241115_1113\" \"xmmsas_20241108_1150-21.0.0\" \"13.1.0\" \
\"XMM-Newton/SOC\" \"005\" \"RADMON RATE\"" -w 10
# # [OUTPUT] [2024-11-30T23:41:45]
# # [INFO] [2024-11-30T23:41:45] Task Run Time addattribute 0.0605330467224121s
#
# [COMMAND] [2024-11-30T23:41:45]
export SAS_MEMORY_MODEL=high
# [COMMAND] [2024-11-30T23:41:45]
export SAS_RAND_SEED=0103862901
# # [INFO] [2024-11-30T23:41:45] ## DEBUG ModuleResources: SAS_RAND_SEED set: 0103862901
# [COMMAND] [2024-11-30T23:41:45]
addattribute attributecomment="\"Pipeline sequence\" \"Satellite Revolution Number\" \"Processing date\" \"Processing revision\" \
\"PPS configuration\" \"SAS version used in pipeline processing\" \"ODS version\" \"Origin of FITS file\" \"ODF_VERSION\" \"Contents \
of file\"" attributename="SEQ_ID REVOLUT PROCDATE PROCREV PPSVERS SASVERS ODSVER ORIGIN ODFVER CONTENT" attributetype="string string \
string string string string string string string string" booleanvalue="" realvalue="" set=product/P0103862901OBX000REFCAT0000.FIT \
stringvalue="\"228793\" \"0452\" \"2024-12-01T00:40:16\" \"1\" \"21.51_20241115_1113\" \"xmmsas_20241108_1150-21.0.0\" \"13.1.0\" \
\"XMM-Newton/SOC\" \"005\" \"REFERENCE CATALOGUE\"" -w 10
# # [OUTPUT] [2024-11-30T23:41:45]
# # [INFO] [2024-11-30T23:41:45] Task Run Time addattribute 0.0436890125274658s
#
# [COMMAND] [2024-11-30T23:41:45]
export SAS_MEMORY_MODEL=high
# [COMMAND] [2024-11-30T23:41:45]
export SAS_RAND_SEED=0103862901
# # [INFO] [2024-11-30T23:41:45] ## DEBUG ModuleResources: SAS_RAND_SEED set: 0103862901
# [COMMAND] [2024-11-30T23:41:45]
addattribute attributecomment="\"Pipeline sequence\" \"Satellite Revolution Number\" \"Processing date\" \"Processing revision\" \
\"PPS configuration\" \"SAS version used in pipeline processing\" \"ODS version\" \"Origin of FITS file\" \"ODF_VERSION\" \"Contents \
of file\"" attributename="SEQ_ID REVOLUT PROCDATE PROCREV PPSVERS SASVERS ODSVER ORIGIN ODFVER CONTENT" attributetype="string string \
string string string string string string string string" booleanvalue="" realvalue="" set=product/P0103862901OMS006IMAGE_0000.FIT \
stringvalue="\"228793\" \"0452\" \"2024-12-01T00:40:16\" \"1\" \"21.51_20241115_1113\" \"xmmsas_20241108_1150-21.0.0\" \"13.1.0\" \
\"XMM-Newton/SOC\" \"005\" \"OM OSW IMAGE\"" -w 10
# # [OUTPUT] [2024-11-30T23:41:45]
# # [INFO] [2024-11-30T23:41:45] Task Run Time addattribute 0.0879781246185303s
#
# [COMMAND] [2024-11-30T23:41:45]
export SAS_MEMORY_MODEL=high
# [COMMAND] [2024-11-30T23:41:45]
export SAS_RAND_SEED=0103862901
# # [INFO] [2024-11-30T23:41:45] ## DEBUG ModuleResources: SAS_RAND_SEED set: 0103862901
# [COMMAND] [2024-11-30T23:41:45]
addattribute attributecomment="\"Pipeline sequence\" \"Satellite Revolution Number\" \"Processing date\" \"Processing revision\" \
\"PPS configuration\" \"SAS version used in pipeline processing\" \"ODS version\" \"Origin of FITS file\" \"ODF_VERSION\" \"Contents \
of file\"" attributename="SEQ_ID REVOLUT PROCDATE PROCREV PPSVERS SASVERS ODSVER ORIGIN ODFVER CONTENT" attributetype="string string \
string string string string string string string string" booleanvalue="" realvalue="" set=product/P0103862901OMS006SWSRLI0000.FIT \
stringvalue="\"228793\" \"0452\" \"2024-12-01T00:40:16\" \"1\" \"21.51_20241115_1113\" \"xmmsas_20241108_1150-21.0.0\" \"13.1.0\" \
\"XMM-Newton/SOC\" \"005\" \"OM OSW SOURCE LIST\"" -w 10
# # [OUTPUT] [2024-11-30T23:41:45]
# # [INFO] [2024-11-30T23:41:45] Task Run Time addattribute 0.0437350273132324s
#
# [COMMAND] [2024-11-30T23:41:45]
export SAS_MEMORY_MODEL=high
# [COMMAND] [2024-11-30T23:41:45]
export SAS_RAND_SEED=0103862901
# # [INFO] [2024-11-30T23:41:45] ## DEBUG ModuleResources: SAS_RAND_SEED set: 0103862901
# [COMMAND] [2024-11-30T23:41:45]
addattribute attributecomment="\"Pipeline sequence\" \"Satellite Revolution Number\" \"Processing date\" \"Processing revision\" \
\"PPS configuration\" \"SAS version used in pipeline processing\" \"ODS version\" \"Origin of FITS file\" \"ODF_VERSION\" \"Contents \
of file\"" attributename="SEQ_ID REVOLUT PROCDATE PROCREV PPSVERS SASVERS ODSVER ORIGIN ODFVER CONTENT" attributetype="string string \
string string string string string string string string" booleanvalue="" realvalue="" set=product/P0103862901OMS006SIMAGE0000.FIT \
stringvalue="\"228793\" \"0452\" \"2024-12-01T00:40:16\" \"1\" \"21.51_20241115_1113\" \"xmmsas_20241108_1150-21.0.0\" \"13.1.0\" \
\"XMM-Newton/SOC\" \"005\" \"OM OSW SKY IMAGE\"" -w 10
# # [OUTPUT] [2024-11-30T23:41:45]
# # [INFO] [2024-11-30T23:41:45] Task Run Time addattribute 0.0557150840759277s
#
# [COMMAND] [2024-11-30T23:41:45]
export SAS_MEMORY_MODEL=high
# [COMMAND] [2024-11-30T23:41:45]
export SAS_RAND_SEED=0103862901
# # [INFO] [2024-11-30T23:41:45] ## DEBUG ModuleResources: SAS_RAND_SEED set: 0103862901
# [COMMAND] [2024-11-30T23:41:45]
addattribute attributecomment="\"Pipeline sequence\" \"Satellite Revolution Number\" \"Processing date\" \"Processing revision\" \
\"PPS configuration\" \"SAS version used in pipeline processing\" \"ODS version\" \"Origin of FITS file\" \"ODF_VERSION\" \"Contents \
of file\"" attributename="SEQ_ID REVOLUT PROCDATE PROCREV PPSVERS SASVERS ODSVER ORIGIN ODFVER CONTENT" attributetype="string string \
string string string string string string string string" booleanvalue="" realvalue="" set=product/P0103862901OMX000XSIMAGS000.FIT \
stringvalue="\"228793\" \"0452\" \"2024-12-01T00:40:16\" \"1\" \"21.51_20241115_1113\" \"xmmsas_20241108_1150-21.0.0\" \"13.1.0\" \
\"XMM-Newton/SOC\" \"005\" \"OM FILTER SKY IMAGE MOSAIC\"" -w 10
# # [OUTPUT] [2024-11-30T23:41:45]
# # [INFO] [2024-11-30T23:41:45] Task Run Time addattribute 0.0638952255249023s
#
# [COMMAND] [2024-11-30T23:41:45]
export SAS_MEMORY_MODEL=high
# [COMMAND] [2024-11-30T23:41:45]
export SAS_RAND_SEED=0103862901
# # [INFO] [2024-11-30T23:41:45] ## DEBUG ModuleResources: SAS_RAND_SEED set: 0103862901
# [COMMAND] [2024-11-30T23:41:45]
addattribute attributecomment="\"Pipeline sequence\" \"Satellite Revolution Number\" \"Processing date\" \"Processing revision\" \
\"PPS configuration\" \"SAS version used in pipeline processing\" \"ODS version\" \"Origin of FITS file\" \"ODF_VERSION\" \"Contents \
of file\"" attributename="SEQ_ID REVOLUT PROCDATE PROCREV PPSVERS SASVERS ODSVER ORIGIN ODFVER CONTENT" attributetype="string string \
string string string string string string string string" booleanvalue="" realvalue="" set=product/P0103862901OMX000OBSMLI0000.FIT \
stringvalue="\"228793\" \"0452\" \"2024-12-01T00:40:16\" \"1\" \"21.51_20241115_1113\" \"xmmsas_20241108_1150-21.0.0\" \"13.1.0\" \
\"XMM-Newton/SOC\" \"005\" \"OM OBSERVATION SOURCE LIST\"" -w 10
# # [OUTPUT] [2024-11-30T23:41:45]
# # [INFO] [2024-11-30T23:41:45] Task Run Time addattribute 0.0285918712615967s
#
# [COMMAND] [2024-11-30T23:41:45]
export SAS_MEMORY_MODEL=high
# [COMMAND] [2024-11-30T23:41:45]
export SAS_RAND_SEED=0103862901
# # [INFO] [2024-11-30T23:41:45] ## DEBUG ModuleResources: SAS_RAND_SEED set: 0103862901
# [COMMAND] [2024-11-30T23:41:45]
addattribute attributecomment="\"Pipeline sequence\" \"Satellite Revolution Number\" \"Processing date\" \"Processing revision\" \
\"PPS configuration\" \"SAS version used in pipeline processing\" \"ODS version\" \"Origin of FITS file\" \"ODF_VERSION\" \"Contents \
of file\"" attributename="SEQ_ID REVOLUT PROCDATE PROCREV PPSVERS SASVERS ODSVER ORIGIN ODFVER CONTENT" attributetype="string string \
string string string string string string string string" booleanvalue="" realvalue="" set=product/P0103862901R2S002SRCLI_0000.FIT \
stringvalue="\"228793\" \"0452\" \"2024-12-01T00:40:16\" \"1\" \"21.51_20241115_1113\" \"xmmsas_20241108_1150-21.0.0\" \"13.1.0\" \
\"XMM-Newton/SOC\" \"005\" \"RGS SOURCE LIST\"" -w 10
# # [OUTPUT] [2024-11-30T23:41:45]
# # [INFO] [2024-11-30T23:41:45] Task Run Time addattribute 0.0430600643157959s
#
# [COMMAND] [2024-11-30T23:41:45]
export SAS_MEMORY_MODEL=high
# [COMMAND] [2024-11-30T23:41:45]
export SAS_RAND_SEED=0103862901
# # [INFO] [2024-11-30T23:41:45] ## DEBUG ModuleResources: SAS_RAND_SEED set: 0103862901
# [COMMAND] [2024-11-30T23:41:45]
addattribute attributecomment="\"Pipeline sequence\" \"Satellite Revolution Number\" \"Processing date\" \"Processing revision\" \
\"PPS configuration\" \"SAS version used in pipeline processing\" \"ODS version\" \"Origin of FITS file\" \"ODF_VERSION\" \"Contents \
of file\"" attributename="SEQ_ID REVOLUT PROCDATE PROCREV PPSVERS SASVERS ODSVER ORIGIN ODFVER CONTENT" attributetype="string string \
string string string string string string string string" booleanvalue="" realvalue="" set=product/P0103862901R2S002EXPMAP0000.FIT \
stringvalue="\"228793\" \"0452\" \"2024-12-01T00:40:16\" \"1\" \"21.51_20241115_1113\" \"xmmsas_20241108_1150-21.0.0\" \"13.1.0\" \
\"XMM-Newton/SOC\" \"005\" \"RGS EXPOSURE MAP\"" -w 10
# # [OUTPUT] [2024-11-30T23:41:45]
# # [INFO] [2024-11-30T23:41:45] Task Run Time addattribute 0.0802481174468994s
#
# [COMMAND] [2024-11-30T23:41:45]
export SAS_MEMORY_MODEL=high
# [COMMAND] [2024-11-30T23:41:45]
export SAS_RAND_SEED=0103862901
# # [INFO] [2024-11-30T23:41:45] ## DEBUG ModuleResources: SAS_RAND_SEED set: 0103862901
# [COMMAND] [2024-11-30T23:41:45]
addattribute attributecomment="\"Pipeline sequence\" \"Satellite Revolution Number\" \"Processing date\" \"Processing revision\" \
\"PPS configuration\" \"SAS version used in pipeline processing\" \"ODS version\" \"Origin of FITS file\" \"ODF_VERSION\" \"Contents \
of file\"" attributename="SEQ_ID REVOLUT PROCDATE PROCREV PPSVERS SASVERS ODSVER ORIGIN ODFVER CONTENT" attributetype="string string \
string string string string string string string string" booleanvalue="" realvalue="" set=product/P0103862901R1S001SRCLI_0000.FIT \
stringvalue="\"228793\" \"0452\" \"2024-12-01T00:40:16\" \"1\" \"21.51_20241115_1113\" \"xmmsas_20241108_1150-21.0.0\" \"13.1.0\" \
\"XMM-Newton/SOC\" \"005\" \"RGS SOURCE LIST\"" -w 10
# # [OUTPUT] [2024-11-30T23:41:45]
# # [INFO] [2024-11-30T23:41:45] Task Run Time addattribute 0.0602538585662842s
#
# [COMMAND] [2024-11-30T23:41:45]
export SAS_MEMORY_MODEL=high
# [COMMAND] [2024-11-30T23:41:45]
export SAS_RAND_SEED=0103862901
# # [INFO] [2024-11-30T23:41:45] ## DEBUG ModuleResources: SAS_RAND_SEED set: 0103862901
# [COMMAND] [2024-11-30T23:41:45]
addattribute attributecomment="\"Pipeline sequence\" \"Satellite Revolution Number\" \"Processing date\" \"Processing revision\" \
\"PPS configuration\" \"SAS version used in pipeline processing\" \"ODS version\" \"Origin of FITS file\" \"ODF_VERSION\" \"Contents \
of file\"" attributename="SEQ_ID REVOLUT PROCDATE PROCREV PPSVERS SASVERS ODSVER ORIGIN ODFVER CONTENT" attributetype="string string \
string string string string string string string string" booleanvalue="" realvalue="" set=product/P0103862901R1S001EXPMAP0000.FIT \
stringvalue="\"228793\" \"0452\" \"2024-12-01T00:40:16\" \"1\" \"21.51_20241115_1113\" \"xmmsas_20241108_1150-21.0.0\" \"13.1.0\" \
\"XMM-Newton/SOC\" \"005\" \"RGS EXPOSURE MAP\"" -w 10
# # [OUTPUT] [2024-11-30T23:41:46]
# # [INFO] [2024-11-30T23:41:46] Task Run Time addattribute 0.0469970703125s
#
# [COMMAND] [2024-11-30T23:41:46]
gzip --rsyncable -f intermediate/GlobalHK-all-1-Attitude_GTI-X00000000000000.fits
# # [INFO] [2024-11-30T23:41:46] System RV 0
# [COMMAND] [2024-11-30T23:41:46]
gzip --rsyncable -f intermediate/GlobalHK-all-1-Observing_modes_Pileup_and_OoT_data-X00000000000000.fits
# # [INFO] [2024-11-30T23:41:46] System RV 0
# [COMMAND] [2024-11-30T23:41:46]
gzip --rsyncable -f intermediate/GlobalHK-all-1-Energy_Conversion_Factors-X00000000000000.fits
# # [INFO] [2024-11-30T23:41:46] System RV 0
# [COMMAND] [2024-11-30T23:41:46]
gzip --rsyncable -f intermediate/InstrumentHK-rgs1-1-HK_GTI-X00000000000000.fits
# # [INFO] [2024-11-30T23:41:46] System RV 0
# [COMMAND] [2024-11-30T23:41:46]
gzip --rsyncable -f intermediate/InstrumentHK-rgs2-1-HK_GTI-X00000000000000.fits
# # [INFO] [2024-11-30T23:41:46] System RV 0
# [COMMAND] [2024-11-30T23:41:46]
gzip --rsyncable -f intermediate/USNOExtract-all-1-dummy_image-X00000000000000.fits
# # [INFO] [2024-11-30T23:41:46] System RV 0
# [COMMAND] [2024-11-30T23:41:46]
gzip --rsyncable -f intermediate/USNOExtract-all-1-Reference_catalogue-X00000000000000.fits
# # [INFO] [2024-11-30T23:41:46] System RV 0
# [COMMAND] [2024-11-30T23:41:46]
gzip --rsyncable -f intermediate/OMgetFlat-om-1-OM_Flatfield-X00000000000000.fits
# # [INFO] [2024-11-30T23:41:46] System RV 0
# [COMMAND] [2024-11-30T23:41:46]
gzip --rsyncable -f intermediate/OMExpAnalyse-om-1-omprep_tracking_history-S00600000000000.fits
# # [INFO] [2024-11-30T23:41:46] System RV 0
# [COMMAND] [2024-11-30T23:41:46]
gzip --rsyncable -f intermediate/OMImageAnalyse-om-1-Raw_Image-S00600000000000.fits
# # [INFO] [2024-11-30T23:41:46] System RV 0
# [COMMAND] [2024-11-30T23:41:46]
gzip --rsyncable -f intermediate/OMImageAnalyse-om-1-OSW_Flat_Field-S00600000000000.fits
# # [INFO] [2024-11-30T23:41:46] System RV 0
# [COMMAND] [2024-11-30T23:41:46]
gzip --rsyncable -f intermediate/OMImageAnalyse-om-1-OSW_Flat_Fielded_Image-S00600000000000.fits
# # [INFO] [2024-11-30T23:41:46] System RV 0
# [COMMAND] [2024-11-30T23:41:46]
gzip --rsyncable -f intermediate/RGSEvents-rgs2-1-Exposure_Attitude_GTI-S00200000000000.fits
# # [INFO] [2024-11-30T23:41:46] System RV 0
# [COMMAND] [2024-11-30T23:41:46]
gzip --rsyncable -f intermediate/RGSEvents-rgs2-1-RGS_src_list_with_whole_field-S00200000000000.fits
# # [INFO] [2024-11-30T23:41:46] System RV 0
# [COMMAND] [2024-11-30T23:41:46]
gzip --rsyncable -f intermediate/RGSEvents-rgs2-1-Intermediate_events-S00201000100000.fits
# # [INFO] [2024-11-30T23:41:46] System RV 0
# [COMMAND] [2024-11-30T23:41:46]
gzip --rsyncable -f intermediate/RGSEvents-rgs2-1-Intermediate_events-S00202000100000.fits
# # [INFO] [2024-11-30T23:41:46] System RV 0
# [COMMAND] [2024-11-30T23:41:46]
gzip --rsyncable -f intermediate/RGSEvents-rgs2-1-Intermediate_events-S00203000100000.fits
# # [INFO] [2024-11-30T23:41:46] System RV 0
# [COMMAND] [2024-11-30T23:41:46]
gzip --rsyncable -f intermediate/RGSEvents-rgs2-1-Intermediate_events-S00205000100000.fits
# # [INFO] [2024-11-30T23:41:46] System RV 0
# [COMMAND] [2024-11-30T23:41:46]
gzip --rsyncable -f intermediate/RGSEvents-rgs2-1-Intermediate_events-S00206000100000.fits
# # [INFO] [2024-11-30T23:41:46] System RV 0
# [COMMAND] [2024-11-30T23:41:46]
gzip --rsyncable -f intermediate/RGSEvents-rgs2-1-Intermediate_events-S00207000100000.fits
# # [INFO] [2024-11-30T23:41:46] System RV 0
# [COMMAND] [2024-11-30T23:41:46]
gzip --rsyncable -f intermediate/RGSEvents-rgs2-1-Intermediate_events-S00208000100000.fits
# # [INFO] [2024-11-30T23:41:46] System RV 0
# [COMMAND] [2024-11-30T23:41:46]
gzip --rsyncable -f intermediate/RGSEvents-rgs2-1-Intermediate_events-S00209000100000.fits
# # [INFO] [2024-11-30T23:41:47] System RV 0
# [COMMAND] [2024-11-30T23:41:47]
gzip --rsyncable -f intermediate/RGSEvents-rgs2-1-Event_list-S00200000000000.fits
# # [INFO] [2024-11-30T23:41:47] System RV 0
# [COMMAND] [2024-11-30T23:41:47]
gzip --rsyncable -f intermediate/RGSEvents-rgs2-1-FILTERED_EVENT_LIST-S00200000000000.fits
# # [INFO] [2024-11-30T23:41:47] System RV 0
# [COMMAND] [2024-11-30T23:41:47]
gzip --rsyncable -f intermediate/RGSEvents-rgs1-1-Exposure_Attitude_GTI-S00100000000000.fits
# # [INFO] [2024-11-30T23:41:47] System RV 0
# [COMMAND] [2024-11-30T23:41:47]
gzip --rsyncable -f intermediate/RGSEvents-rgs1-1-RGS_src_list_with_whole_field-S00100000000000.fits
# # [INFO] [2024-11-30T23:41:47] System RV 0
# [COMMAND] [2024-11-30T23:41:47]
gzip --rsyncable -f intermediate/RGSEvents-rgs1-1-Intermediate_events-S00101000100000.fits
# # [INFO] [2024-11-30T23:41:47] System RV 0
# [COMMAND] [2024-11-30T23:41:47]
gzip --rsyncable -f intermediate/RGSEvents-rgs1-1-Intermediate_events-S00102000100000.fits
# # [INFO] [2024-11-30T23:41:47] System RV 0
# [COMMAND] [2024-11-30T23:41:47]
gzip --rsyncable -f intermediate/RGSEvents-rgs1-1-Intermediate_events-S00103000100000.fits
# # [INFO] [2024-11-30T23:41:47] System RV 0
# [COMMAND] [2024-11-30T23:41:47]
gzip --rsyncable -f intermediate/RGSEvents-rgs1-1-Intermediate_events-S00104000100000.fits
# # [INFO] [2024-11-30T23:41:47] System RV 0
# [COMMAND] [2024-11-30T23:41:47]
gzip --rsyncable -f intermediate/RGSEvents-rgs1-1-Intermediate_events-S00105000100000.fits
# # [INFO] [2024-11-30T23:41:47] System RV 0
# [COMMAND] [2024-11-30T23:41:47]
gzip --rsyncable -f intermediate/RGSEvents-rgs1-1-Intermediate_events-S00106000100000.fits
# # [INFO] [2024-11-30T23:41:47] System RV 0
# [COMMAND] [2024-11-30T23:41:47]
gzip --rsyncable -f intermediate/RGSEvents-rgs1-1-Intermediate_events-S00108000100000.fits
# # [INFO] [2024-11-30T23:41:47] System RV 0
# [COMMAND] [2024-11-30T23:41:47]
gzip --rsyncable -f intermediate/RGSEvents-rgs1-1-Intermediate_events-S00109000100000.fits
# # [INFO] [2024-11-30T23:41:47] System RV 0
# [COMMAND] [2024-11-30T23:41:47]
gzip --rsyncable -f intermediate/RGSEvents-rgs1-1-Event_list-S00100000000000.fits
# # [INFO] [2024-11-30T23:41:47] System RV 0
# [COMMAND] [2024-11-30T23:41:47]
gzip --rsyncable -f intermediate/RGSEvents-rgs1-1-FILTERED_EVENT_LIST-S00100000000000.fits
# # [INFO] [2024-11-30T23:41:47] System RV 0
