
#!/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:46:03] Module name: VerifyODF
# # [INFO] [2024-11-30T23:46:03] Instrument: all
# # [INFO] [2024-11-30T23:46:03] Stream no.: 0001
# # [INFO] [2024-11-30T23:46:03] Module version number: 1.18
# # [INFO] [2024-11-30T23:46:03] Version of odfingest used was 3.33.1
# # [INFO] [2024-11-30T23:46:03] Module name: MakeCIF
# # [INFO] [2024-11-30T23:46:03] Instrument: all
# # [INFO] [2024-11-30T23:46:03] Stream no.: 0001
# # [INFO] [2024-11-30T23:46:03] Module version number: 1.23
# # [INFO] [2024-11-30T23:46:03] Observation start defined as >2000-03-10T09:14:43.000<
# # [INFO] [2024-11-30T23:46:03] Processing date defined as >2024-12-01T00:46:03<
# [COMMAND] [2024-11-30T23:46:03]
export SAS_MEMORY_MODEL=high
# [COMMAND] [2024-11-30T23:46:03]
export SAS_RAND_SEED=0099300301
# # [INFO] [2024-11-30T23:46:03] ## DEBUG ModuleResources: SAS_RAND_SEED set: 0099300301
# [COMMAND] [2024-11-30T23:46:03]
cifbuild analysisdate=2024-12-01T00:46:03 calindexset=product/P0099300301OBX000CALIND0000.FIT fullpath=no \
observationdate=2000-03-10T09:14:43.000 withccfpath=no -w 10
# # [OUTPUT] [2024-11-30T23:46:32]
# # [INFO] [2024-11-30T23:46:32] Task Run Time cifbuild 28.9795489311218s
#
# [COMMAND] [2024-11-30T23:46:32]
export SAS_MEMORY_MODEL=high
# [COMMAND] [2024-11-30T23:46:32]
export SAS_RAND_SEED=0099300301
# # [INFO] [2024-11-30T23:46:32] ## DEBUG ModuleResources: SAS_RAND_SEED set: 0099300301
# [COMMAND] [2024-11-30T23:46:32]
addattribute attributecomment="\"Telescope (mission) name\" \"Date observations ended\" \"Observation mode (pointing or slew)\" \
\"Name of PI\" \"RA of instrument pointing (degrees)\" \"Observation identifier\" \"DEC of instrument pointing\" \"Name of observed \
object\" \"Date observations were made\"" attributename="TELESCOP DATE-END OBS_MODE OBSERVER RA_PNT OBS_ID DEC_PNT OBJECT DATE-OBS" \
attributetype="string string string string real string real string string" realvalue="244.9791675 -15.6400000" \
set=product/P0099300301OBX000CALIND0000.FIT stringvalue="\"XMM\" \"2000-03-10T10:18:56.000\" \"POINTED\" \"Dr Fred Jansen XMM-Newton \
PS\" \"0099300301\" \"Sco X-1\" \"2000-03-10T09:14:43.000\"" -w 10
# # [OUTPUT] [2024-11-30T23:46:32]
# # [INFO] [2024-11-30T23:46:32] Task Run Time addattribute 0.0756940841674805s
#
# [COMMAND] [2024-11-30T23:46:32]
cp /scratch/225963.1.all.q/xmm/ppsprod/229109/product/P0099300301OBX000CALIND0000.FIT \
/scratch/225963.1.all.q/xmm/ppsprod/229109/intermediate/ccf.cif
# # [INFO] [2024-11-30T23:46:32] System RV 0
# # [INFO] [2024-11-30T23:46:32] Module name: GlobalHK
# # [INFO] [2024-11-30T23:46:32] Instrument: all
# # [INFO] [2024-11-30T23:46:32] Stream no.: 0001
# # [INFO] [2024-11-30T23:46:32] Module version number: 1.81
# [COMMAND] [2024-11-30T23:46:32]
export SAS_MEMORY_MODEL=high
# [COMMAND] [2024-11-30T23:46:32]
export SAS_RAND_SEED=0099300301
# # [INFO] [2024-11-30T23:46:32] ## DEBUG ModuleResources: SAS_RAND_SEED set: 0099300301
# [COMMAND] [2024-11-30T23:46:32]
preqgti preqgtifile=intermediate/GlobalHK-all-1-Attitude_GTI-X00000000000000.fits -w 10
# # [OUTPUT] [2024-11-30T23:46:32] ** preqgti::atthkgen: warning (NoAttitude), The attitude was requested for time 69070821.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 69070821.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 69070822.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 69070822.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 69070823.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 69070823.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 69070824.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 69070824.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 69070825.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 69070825.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 18484 times 
# # [INFO] [2024-11-30T23:46:32] Task Run Time preqgti 0.495615005493164s
#
# [COMMAND] [2024-11-30T23:46:32]
export SAS_MEMORY_MODEL=high
# [COMMAND] [2024-11-30T23:46:32]
export SAS_RAND_SEED=0099300301
# # [INFO] [2024-11-30T23:46:32] ## DEBUG ModuleResources: SAS_RAND_SEED set: 0099300301
# [COMMAND] [2024-11-30T23:46:32]
atthkgen atthkset=product/P0099300301OBX000ATTTSR0000.FIT preqgtifile=intermediate/GlobalHK-all-1-Attitude_GTI-X00000000000000.fits \
timestep=1 withpreqgti=no -w 10
# # [OUTPUT] [2024-11-30T23:46:33]
# # [INFO] [2024-11-30T23:46:33] Task Run Time atthkgen 0.156454086303711s
#
# [COMMAND] [2024-11-30T23:46:33]
export SAS_MEMORY_MODEL=high
# [COMMAND] [2024-11-30T23:46:33]
export SAS_RAND_SEED=0099300301
# # [INFO] [2024-11-30T23:46:33] ## DEBUG ModuleResources: SAS_RAND_SEED set: 0099300301
# [COMMAND] [2024-11-30T23:46:33]
orbit outfile=product/P0099300301OBX000ORBTSR0000.FIT timestep=1 useobsid=yes -w 10
# # [OUTPUT] [2024-11-30T23:46:33] orbit:- Output FITS Orbit timeseries: product/P0099300301OBX000ORBTSR0000.FIT
# orbit:- Binsize (timestep) of output): 1
# orbit:- Use OBSID data or whole orbit? T 
# # [INFO] [2024-11-30T23:46:33] Task Run Time orbit 0.196645021438599s
#
# [COMMAND] [2024-11-30T23:46:33]
export SAS_MEMORY_MODEL=high
# [COMMAND] [2024-11-30T23:46:33]
export SAS_RAND_SEED=0099300301
# # [INFO] [2024-11-30T23:46:33] ## DEBUG ModuleResources: SAS_RAND_SEED set: 0099300301
# [COMMAND] [2024-11-30T23:46:33]
radmonfix output=product/P0099300301OBX000RADMON0000.FIT radmonlist=odf/0046_0099300301_RMX00100ECX.FIT withoutputfile=yes -w 10
# # [OUTPUT] [2024-11-30T23:46:33] ** radmonfix: warning (Extrapolation), Evaluating OBT-MET fit polynomial at x=7860934.945 which\
#     is outside the time correlation data abscissa range [7861822.598, 7872933.942] - result of extrapolation might be afflicted\
#     with large numerical uncertainty.
# ** radmonfix: warning (Extrapolation), Evaluating OBT-MET fit polynomial at x=7860938.945 which is outside the time correlation\
#     data abscissa range [7861822.598, 7872933.942] - result of extrapolation might be afflicted with large numerical uncertainty.
# ** radmonfix: warning (Extrapolation), Evaluating OBT-MET fit polynomial at x=7860942.945 which is outside the time correlation\
#     data abscissa range [7861822.598, 7872933.942] - result of extrapolation might be afflicted with large numerical uncertainty.
# ** radmonfix: warning (Extrapolation), Evaluating OBT-MET fit polynomial at x=7860946.945 which is outside the time correlation\
#     data abscissa range [7861822.598, 7872933.942] - result of extrapolation might be afflicted with large numerical uncertainty.
# ** radmonfix: warning (Extrapolation), Evaluating OBT-MET fit polynomial at x=7860950.945 which is outside the time correlation\
#     data abscissa range [7861822.598, 7872933.942] - result of extrapolation might be afflicted with large numerical uncertainty.
# ** radmonfix: warning (Extrapolation), Evaluating OBT-MET fit polynomial at x=7860954.945 which is outside the time correlation\
#     data abscissa range [7861822.598, 7872933.942] - result of extrapolation might be afflicted with large numerical uncertainty.
# ** radmonfix: warning (Extrapolation), Evaluating OBT-MET fit polynomial at x=7860958.945 which is outside the time correlation\
#     data abscissa range [7861822.598, 7872933.942] - result of extrapolation might be afflicted with large numerical uncertainty.
# ** radmonfix: warning (Extrapolation), Evaluating OBT-MET fit polynomial at x=7860962.945 which is outside the time correlation\
#     data abscissa range [7861822.598, 7872933.942] - result of extrapolation might be afflicted with large numerical uncertainty.
# ** radmonfix: warning (Extrapolation), Evaluating OBT-MET fit polynomial at x=7860966.945 which is outside the time correlation\
#     data abscissa range [7861822.598, 7872933.942] - result of extrapolation might be afflicted with large numerical uncertainty.
# ** radmonfix: warning (Extrapolation), Evaluating OBT-MET fit polynomial at x=7860970.945 which is outside the time correlation\
#     data abscissa range [7861822.598, 7872933.942] - result of extrapolation might be afflicted with large numerical uncertainty.
# radmonfix:- Setting DATE-END...
# ** radmonfix: warning (SummaryOfWarnings), 
# warning Extrapolation silently occurred 362 times 
# # [INFO] [2024-11-30T23:46:33] Task Run Time radmonfix 0.137009143829346s
#
# [COMMAND] [2024-11-30T23:46:33]
cp /lhome/jperea/ppsdev/pcms3/src/pipeline/etc/EPICModes.fits \
/scratch/225963.1.all.q/xmm/ppsprod/229109/intermediate/GlobalHK-all-1-Observing_modes_Pileup_and_OoT_data-X00000000000000.fits
# # [INFO] [2024-11-30T23:46:33] System RV 0
# # [INFO] [2024-11-30T23:46:33] Copied EPIC Observing modes table, Pileup data and OoT data table in place
# [COMMAND] [2024-11-30T23:46:33]
cp /lhome/jperea/ppsdev/pcms3/src/pipeline/etc/ecfs.fits \
/scratch/225963.1.all.q/xmm/ppsprod/229109/intermediate/GlobalHK-all-1-Energy_Conversion_Factors-X00000000000000.fits
# # [INFO] [2024-11-30T23:46:33] System RV 0
# [COMMAND] [2024-11-30T23:46:33]
cp /lhome/jperea/ppsdev/pcms3/src/pipeline/etc/ecfgrid.fits.gz \
/scratch/225963.1.all.q/xmm/ppsprod/229109/intermediate/GlobalHK-all-1-Energy_Conversion_Factors_Grid-X00000000000000.fits
# # [INFO] [2024-11-30T23:46:33] System RV 0
# [COMMAND] [2024-11-30T23:46:33]
cp /lhome/jperea/ppsdev/pcms3/src/pipeline/etc/fluxgrid.fits.gz \
/scratch/225963.1.all.q/xmm/ppsprod/229109/intermediate/GlobalHK-all-1-Flux_Grid-X00000000000000.fits
# # [INFO] [2024-11-30T23:46:33] System RV 0
# # [INFO] [2024-11-30T23:46:33] Module name: ExpChooser
# # [INFO] [2024-11-30T23:46:33] Instrument: rgs1
# # [INFO] [2024-11-30T23:46:33] Stream no.: 0001
# # [INFO] [2024-11-30T23:46:33] Module version number: 1.38
# # [INFO] [2024-11-30T23:46:33] Checking exposure S025 for processability
# # [INFO] [2024-11-30T23:46:33] Filter: 
# # [INFO] [2024-11-30T23:46:33] Instrument mode: HighEventRate
# # [INFO] [2024-11-30T23:46:33] Exposure duration: 509
# # [INFO] [2024-11-30T23:46:33] Module name: ExpChooser
# # [INFO] [2024-11-30T23:46:33] Instrument: rgs1
# # [INFO] [2024-11-30T23:46:33] Stream no.: 0002
# # [INFO] [2024-11-30T23:46:33] Module version number: 1.38
# # [INFO] [2024-11-30T23:46:33] Checking exposure S026 for processability
# # [INFO] [2024-11-30T23:46:33] Filter: 
# # [INFO] [2024-11-30T23:46:33] Instrument mode: HighEventRate
# # [INFO] [2024-11-30T23:46:33] Exposure duration: 506
# # [INFO] [2024-11-30T23:46:33] Module name: ExpChooser
# # [INFO] [2024-11-30T23:46:33] Instrument: rgs1
# # [INFO] [2024-11-30T23:46:33] Stream no.: 0003
# # [INFO] [2024-11-30T23:46:33] Module version number: 1.38
# # [INFO] [2024-11-30T23:46:33] Checking exposure S031 for processability
# # [INFO] [2024-11-30T23:46:33] Filter: 
# # [INFO] [2024-11-30T23:46:33] Instrument mode: HighEventRate
# # [INFO] [2024-11-30T23:46:33] Exposure duration: 513
# # [INFO] [2024-11-30T23:46:33] Module name: ExpChooser
# # [INFO] [2024-11-30T23:46:33] Instrument: rgs2
# # [INFO] [2024-11-30T23:46:33] Stream no.: 0001
# # [INFO] [2024-11-30T23:46:33] Module version number: 1.38
# # [INFO] [2024-11-30T23:46:33] Checking exposure S034 for processability
# # [INFO] [2024-11-30T23:46:33] Filter: 
# # [INFO] [2024-11-30T23:46:33] Instrument mode: HighEventRate
# # [INFO] [2024-11-30T23:46:33] Exposure duration: 511
# # [INFO] [2024-11-30T23:46:33] Module name: ExpChooser
# # [INFO] [2024-11-30T23:46:33] Instrument: rgs2
# # [INFO] [2024-11-30T23:46:33] Stream no.: 0002
# # [INFO] [2024-11-30T23:46:33] Module version number: 1.38
# # [INFO] [2024-11-30T23:46:33] Checking exposure S035 for processability
# # [INFO] [2024-11-30T23:46:33] Filter: 
# # [INFO] [2024-11-30T23:46:33] Instrument mode: HighEventRate
# # [INFO] [2024-11-30T23:46:33] Exposure duration: 508
# # [INFO] [2024-11-30T23:46:33] Module name: InstrumentHK
# # [INFO] [2024-11-30T23:46:33] Instrument: rgs2
# # [INFO] [2024-11-30T23:46:33] Stream no.: 0001
# # [INFO] [2024-11-30T23:46:33] Module version number: 2.01
# [COMMAND] [2024-11-30T23:46:33]
export SAS_MEMORY_MODEL=high
# [COMMAND] [2024-11-30T23:46:33]
export SAS_RAND_SEED=0099300301
# # [INFO] [2024-11-30T23:46:33] ## DEBUG ModuleResources: SAS_RAND_SEED set: 0099300301
# [COMMAND] [2024-11-30T23:46:33]
hkgtigen gtiset=intermediate/InstrumentHK-rgs2-1-HK_GTI-X00000000000000.fits instrument=rgs2 withgtiset=yes -w 10
# # [OUTPUT] [2024-11-30T23:46:33]
# # [INFO] [2024-11-30T23:46:33] Task Run Time hkgtigen 0.273208856582642s
#
# # [INFO] [2024-11-30T23:46:33] Module name: InstrumentHK
# # [INFO] [2024-11-30T23:46:33] Instrument: rgs1
# # [INFO] [2024-11-30T23:46:33] Stream no.: 0001
# # [INFO] [2024-11-30T23:46:33] Module version number: 2.01
# [COMMAND] [2024-11-30T23:46:33]
export SAS_MEMORY_MODEL=high
# [COMMAND] [2024-11-30T23:46:33]
export SAS_RAND_SEED=0099300301
# # [INFO] [2024-11-30T23:46:33] ## DEBUG ModuleResources: SAS_RAND_SEED set: 0099300301
# [COMMAND] [2024-11-30T23:46:33]
hkgtigen gtiset=intermediate/InstrumentHK-rgs1-1-HK_GTI-X00000000000000.fits instrument=rgs1 withgtiset=yes -w 10
# # [OUTPUT] [2024-11-30T23:46:33]
# # [INFO] [2024-11-30T23:46:33] Task Run Time hkgtigen 0.204513072967529s
#
# # [INFO] [2024-11-30T23:46:34] Module name: RGSEvents
# # [INFO] [2024-11-30T23:46:34] Instrument: rgs1
# # [INFO] [2024-11-30T23:46:34] Stream no.: 0001
# # [INFO] [2024-11-30T23:46:34] Module version number: 4.21
# # [INFO] [2024-11-30T23:46:34] Exposure ID: S025
# # [INFO] [2024-11-30T23:46:34] Instrument mode: HighEventRate
# [COMMAND] [2024-11-30T23:46:34]
export SAS_MEMORY_MODEL=high
# [COMMAND] [2024-11-30T23:46:34]
export SAS_RAND_SEED=0099300301
# # [INFO] [2024-11-30T23:46:34] ## DEBUG ModuleResources: SAS_RAND_SEED set: 0099300301
# [COMMAND] [2024-11-30T23:46:34]
attfilter attset=product/P0099300301OBX000ATTTSR0000.FIT filtertype=cone \
gtitable=intermediate/RGSEvents-rgs1-1-Exposure_Attitude_GTI-S02500000000000.fits:STDGTI instexpid=R1S025 tolangles=5000.0*#ARCMIN \
-w 10
# # [OUTPUT] [2024-11-30T23:46:34]
# # [INFO] [2024-11-30T23:46:34] Task Run Time attfilter 0.0711390972137451s
#
# # [INFO] [2024-11-30T23:46:34] No suitable EPIC source list found to supply source positions
# # [INFO] [2024-11-30T23:46:34] Using pointing position instead
# [COMMAND] [2024-11-30T23:46:34]
export SAS_MEMORY_MODEL=high
# [COMMAND] [2024-11-30T23:46:34]
export SAS_RAND_SEED=0099300301
# # [INFO] [2024-11-30T23:46:34] ## DEBUG ModuleResources: SAS_RAND_SEED set: 0099300301
# [COMMAND] [2024-11-30T23:46:34]
rgssources attstyle=expmedian doconfusion=Y enablefilter=Y \
expmediantable=intermediate/RGSEvents-rgs1-1-Exposure_Attitude_GTI-S02500000000000.fits:STDGTI filemode=create flagepicsrcoutoffov=Y \
instexpid=odf/0046_0099300301_R1S02503SPE.FIT medianset=product/P0099300301OBX000ATTTSR0000.FIT primestyle=auto \
srclist=product/P0099300301R1S025SRCLI_0000.FIT withepicset=N -w 10
# # [OUTPUT] [2024-11-30T23:46:34] ** rgssources: warning (badPrimeRate), The prime source (INDEX=1) has a RATE value of <= zero.\
#     Confusion values cannot be calculated. 
# # [INFO] [2024-11-30T23:46:34] Task Run Time rgssources 0.105630874633789s
#
# [COMMAND] [2024-11-30T23:46:34]
cp /scratch/225963.1.all.q/xmm/ppsprod/229109/product/P0099300301R1S025SRCLI_0000.FIT \
/scratch/225963.1.all.q/xmm/ppsprod/229109/intermediate/RGSEvents-rgs1-1-RGS_src_list_with_whole_field-S02500000000000.fits
# # [INFO] [2024-11-30T23:46:34] System RV 0
# [COMMAND] [2024-11-30T23:46:34]
export SAS_MEMORY_MODEL=high
# [COMMAND] [2024-11-30T23:46:34]
export SAS_RAND_SEED=0099300301
# # [INFO] [2024-11-30T23:46:34] ## DEBUG ModuleResources: SAS_RAND_SEED set: 0099300301
# [COMMAND] [2024-11-30T23:46:34]
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-S02500000000000.fits:SOURCES -w 10
# # [OUTPUT] [2024-11-30T23:46:34] ** 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 S025 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:46:34] Task Run Time rgssources 0.113729953765869s
#
# # [INFO] [2024-11-30T23:46:34] Processing CCD 3
# [COMMAND] [2024-11-30T23:46:34]
export SAS_MEMORY_MODEL=high
# [COMMAND] [2024-11-30T23:46:34]
export SAS_RAND_SEED=0099300301
# # [INFO] [2024-11-30T23:46:34] ## DEBUG ModuleResources: SAS_RAND_SEED set: 0099300301
# [COMMAND] [2024-11-30T23:46:34]
rgsframes ccdset=intermediate/RGSEvents-rgs1-1-Intermediate_events-S02503000100000.fits set=odf/0046_0099300301_R1S02503SPE.FIT -w \
10
# # [OUTPUT] [2024-11-30T23:46:34]
# # [INFO] [2024-11-30T23:46:34] Task Run Time rgsframes 0.123872041702271s
#
# [COMMAND] [2024-11-30T23:46:34]
export SAS_MEMORY_MODEL=high
# [COMMAND] [2024-11-30T23:46:34]
export SAS_RAND_SEED=0099300301
# # [INFO] [2024-11-30T23:46:34] ## DEBUG ModuleResources: SAS_RAND_SEED set: 0099300301
# [COMMAND] [2024-11-30T23:46:34]
rgsenergy ccdset=intermediate/RGSEvents-rgs1-1-Intermediate_events-S02503000100000.fits withdiagoffset=yes -w 10
# # [OUTPUT] [2024-11-30T23:46:34] ** rgsenergy: warning (NoPixByPixCorr), No Valid Diagnostic Offset Average File found for RGS1
# I am going to use default value subtraction for it 
# ** 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:46:34] Task Run Time rgsenergy 0.24277400970459s
#
# [COMMAND] [2024-11-30T23:46:34]
export SAS_MEMORY_MODEL=high
# [COMMAND] [2024-11-30T23:46:34]
export SAS_RAND_SEED=0099300301
# # [INFO] [2024-11-30T23:46:34] ## DEBUG ModuleResources: SAS_RAND_SEED set: 0099300301
# [COMMAND] [2024-11-30T23:46:34]
rgsbadpix ccdset=intermediate/RGSEvents-rgs1-1-Intermediate_events-S02503000100000.fits keepcool=Y -w 10
# # [OUTPUT] [2024-11-30T23:46:34] ** 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:46:34] Task Run Time rgsbadpix 0.159845113754272s
#
# [COMMAND] [2024-11-30T23:46:34]
export SAS_MEMORY_MODEL=high
# [COMMAND] [2024-11-30T23:46:34]
export SAS_RAND_SEED=0099300301
# # [INFO] [2024-11-30T23:46:34] ## DEBUG ModuleResources: SAS_RAND_SEED set: 0099300301
# [COMMAND] [2024-11-30T23:46:34]
rgsevents ccdset=intermediate/RGSEvents-rgs1-1-Intermediate_events-S02503000100000.fits -w 10
# # [OUTPUT] [2024-11-30T23:46:35]
# # [INFO] [2024-11-30T23:46:35] Task Run Time rgsevents 0.30842113494873s
#
# [COMMAND] [2024-11-30T23:46:35]
export SAS_MEMORY_MODEL=high
# [COMMAND] [2024-11-30T23:46:35]
export SAS_RAND_SEED=0099300301
# # [INFO] [2024-11-30T23:46:35] ## DEBUG ModuleResources: SAS_RAND_SEED set: 0099300301
# [COMMAND] [2024-11-30T23:46:35]
evlistcomb eventsets=intermediate/RGSEvents-rgs1-1-Intermediate_events-S02503000100000.fits \
imagingset=intermediate/RGSEvents-rgs1-1-Event_list-S02500000000000.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:46:35]
# # [INFO] [2024-11-30T23:46:35] Task Run Time evlistcomb 0.152034997940063s
#
# [COMMAND] [2024-11-30T23:46:35]
export SAS_MEMORY_MODEL=high
# [COMMAND] [2024-11-30T23:46:35]
export SAS_RAND_SEED=0099300301
# # [INFO] [2024-11-30T23:46:35] ## DEBUG ModuleResources: SAS_RAND_SEED set: 0099300301
# [COMMAND] [2024-11-30T23:46:35]
rgsangles betabinning=binSize betabinref=0.03578524 betabinwidth=1.208e-05 \
mergedset=intermediate/RGSEvents-rgs1-1-Event_list-S02500000000000.fits nbetabins=3400 nxdispbins=170 \
srclist=product/P0099300301R1S025SRCLI_0000.FIT withheliocentriccorr=Y withmlambdacolumn=Y withsunanglecorr=Y xdispbinning=binSize \
xdispbinref=-0.0009126 xdispbinwidth=1.08e-05 -w 10
# # [OUTPUT] [2024-11-30T23:46:35] rgsangles:- Sun angle correction value 1.32248904731 rad 
# rgsangles:- Sun Angle Coeff for Order 1: a 1.20000004768 b -0.519999980927
# rgsangles:- Heliocentric velocity correction T= 69068873.684 ( 2000-03-10T09:46:49.500 ) HelioVelCorr= 29.84827951 km/s 
# rgsangles:- Heliocentric Correction Factor: 9.95631434797e-05 
# # [INFO] [2024-11-30T23:46:35] Task Run Time rgsangles 0.253113031387329s
#
# # [INFO] [2024-11-30T23:46:35] Filtering with rejection flags, Attitude GTI and HK GTI.
# [COMMAND] [2024-11-30T23:46:35]
export SAS_MEMORY_MODEL=high
# [COMMAND] [2024-11-30T23:46:35]
export SAS_RAND_SEED=0099300301
# # [INFO] [2024-11-30T23:46:35] ## DEBUG ModuleResources: SAS_RAND_SEED set: 0099300301
# [COMMAND] [2024-11-30T23:46:35]
rgsfilter auxgtitables="intermediate/RGSEvents-rgs1-1-Exposure_Attitude_GTI-S02500000000000.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-S02500000000000.fits expimageset=product/P0099300301R1S025EXPMAP0000.FIT \
mergedset=intermediate/RGSEvents-rgs1-1-Event_list-S02500000000000.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:46:35]
# # [INFO] [2024-11-30T23:46:35] Task Run Time rgsfilter 0.216215133666992s
#
# # [INFO] [2024-11-30T23:46:35] Filtering with rejection flags, Attitude GTI and HK GTI leaves < 1000s ONTIME.
# # [INFO] [2024-11-30T23:46:35] Filtering with rejection flags and Attitude GTI.
# [COMMAND] [2024-11-30T23:46:35]
export SAS_MEMORY_MODEL=high
# [COMMAND] [2024-11-30T23:46:35]
export SAS_RAND_SEED=0099300301
# # [INFO] [2024-11-30T23:46:35] ## DEBUG ModuleResources: SAS_RAND_SEED set: 0099300301
# [COMMAND] [2024-11-30T23:46:35]
rgsfilter auxgtitables="intermediate/RGSEvents-rgs1-1-Exposure_Attitude_GTI-S02500000000000.fits \
intermediate/GlobalHK-all-1-Attitude_GTI-X00000000000000.fits" \
evlist=intermediate/RGSEvents-rgs1-1-FILTERED_EVENT_LIST-S02500000000000.fits expimageset=product/P0099300301R1S025EXPMAP0000.FIT \
mergedset=intermediate/RGSEvents-rgs1-1-Event_list-S02500000000000.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:46:35]
# # [INFO] [2024-11-30T23:46:35] Task Run Time rgsfilter 0.142998933792114s
#
# # [INFO] [2024-11-30T23:46:35] Filtering with rejection flags and Attitude GTI leaves < 1000s ONTIME.
# # [INFO] [2024-11-30T23:46:35] Filtering with rejection flags.
# [COMMAND] [2024-11-30T23:46:35]
export SAS_MEMORY_MODEL=high
# [COMMAND] [2024-11-30T23:46:35]
export SAS_RAND_SEED=0099300301
# # [INFO] [2024-11-30T23:46:35] ## DEBUG ModuleResources: SAS_RAND_SEED set: 0099300301
# [COMMAND] [2024-11-30T23:46:35]
rgsfilter auxgtitables=intermediate/RGSEvents-rgs1-1-Exposure_Attitude_GTI-S02500000000000.fits \
evlist=intermediate/RGSEvents-rgs1-1-FILTERED_EVENT_LIST-S02500000000000.fits expimageset=product/P0099300301R1S025EXPMAP0000.FIT \
mergedset=intermediate/RGSEvents-rgs1-1-Event_list-S02500000000000.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:46:36]
# # [INFO] [2024-11-30T23:46:36] Task Run Time rgsfilter 0.219095945358276s
#
# # [INFO] [2024-11-30T23:46:36] Filtering with rejection flags leaves < 1000s ONTIME.
# # [INFO] [2024-11-30T23:46:36] ONTIME=1.88815353393555E+02
# # [INFO] [2024-11-30T23:46:36] FILTGRPS=0
# [COMMAND] [2024-11-30T23:46:36]
export SAS_MEMORY_MODEL=high
# [COMMAND] [2024-11-30T23:46:36]
export SAS_RAND_SEED=0099300301
# # [INFO] [2024-11-30T23:46:36] ## DEBUG ModuleResources: SAS_RAND_SEED set: 0099300301
# [COMMAND] [2024-11-30T23:46:36]
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-S02500000000000.fits -w 10
# # [OUTPUT] [2024-11-30T23:46:36]
# # [INFO] [2024-11-30T23:46:36] Task Run Time addattribute 0.0595290660858154s
#
# # [INFO] [2024-11-30T23:46:36] Filtering with rejection flags < 1000s GTI.
# # [INFO] [2024-11-30T23:46:36] Ignoring this exposure.
# # [INFO] [2024-11-30T23:46:36] Module name: RGSEvents
# # [INFO] [2024-11-30T23:46:36] Instrument: rgs1
# # [INFO] [2024-11-30T23:46:36] Stream no.: 0002
# # [INFO] [2024-11-30T23:46:36] Module version number: 4.21
# # [INFO] [2024-11-30T23:46:36] Exposure ID: S026
# # [INFO] [2024-11-30T23:46:36] Instrument mode: HighEventRate
# [COMMAND] [2024-11-30T23:46:36]
export SAS_MEMORY_MODEL=high
# [COMMAND] [2024-11-30T23:46:36]
export SAS_RAND_SEED=0099300301
# # [INFO] [2024-11-30T23:46:36] ## DEBUG ModuleResources: SAS_RAND_SEED set: 0099300301
# [COMMAND] [2024-11-30T23:46:36]
attfilter attset=product/P0099300301OBX000ATTTSR0000.FIT filtertype=cone \
gtitable=intermediate/RGSEvents-rgs1-2-Exposure_Attitude_GTI-S02600000000000.fits:STDGTI instexpid=R1S026 tolangles=5000.0*#ARCMIN \
-w 10
# # [OUTPUT] [2024-11-30T23:46:36]
# # [INFO] [2024-11-30T23:46:36] Task Run Time attfilter 0.0437979698181152s
#
# # [INFO] [2024-11-30T23:46:36] No suitable EPIC source list found to supply source positions
# # [INFO] [2024-11-30T23:46:36] Using pointing position instead
# [COMMAND] [2024-11-30T23:46:36]
export SAS_MEMORY_MODEL=high
# [COMMAND] [2024-11-30T23:46:36]
export SAS_RAND_SEED=0099300301
# # [INFO] [2024-11-30T23:46:36] ## DEBUG ModuleResources: SAS_RAND_SEED set: 0099300301
# [COMMAND] [2024-11-30T23:46:36]
rgssources attstyle=expmedian doconfusion=Y enablefilter=Y \
expmediantable=intermediate/RGSEvents-rgs1-2-Exposure_Attitude_GTI-S02600000000000.fits:STDGTI filemode=create flagepicsrcoutoffov=Y \
instexpid=odf/0046_0099300301_R1S02604SPE.FIT medianset=product/P0099300301OBX000ATTTSR0000.FIT primestyle=auto \
srclist=product/P0099300301R1S026SRCLI_0000.FIT withepicset=N -w 10
# # [OUTPUT] [2024-11-30T23:46:36] ** rgssources: warning (badPrimeRate), The prime source (INDEX=1) has a RATE value of <= zero.\
#     Confusion values cannot be calculated. 
# # [INFO] [2024-11-30T23:46:36] Task Run Time rgssources 0.059290885925293s
#
# [COMMAND] [2024-11-30T23:46:36]
cp /scratch/225963.1.all.q/xmm/ppsprod/229109/product/P0099300301R1S026SRCLI_0000.FIT \
/scratch/225963.1.all.q/xmm/ppsprod/229109/intermediate/RGSEvents-rgs1-2-RGS_src_list_with_whole_field-S02600000000000.fits
# # [INFO] [2024-11-30T23:46:36] System RV 0
# [COMMAND] [2024-11-30T23:46:36]
export SAS_MEMORY_MODEL=high
# [COMMAND] [2024-11-30T23:46:36]
export SAS_RAND_SEED=0099300301
# # [INFO] [2024-11-30T23:46:36] ## DEBUG ModuleResources: SAS_RAND_SEED set: 0099300301
# [COMMAND] [2024-11-30T23:46:36]
rgssources addusersource=yes bkgexclude=no deltadisp=0 deltaxdsp=0 filemode=modify label=WHOLE_FIELD positionstyle=wrtatt process=no \
srclist=intermediate/RGSEvents-rgs1-2-RGS_src_list_with_whole_field-S02600000000000.fits:SOURCES -w 10
# # [OUTPUT] [2024-11-30T23:46:36] ** 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 S026 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:46:36] Task Run Time rgssources 0.049605131149292s
#
# # [INFO] [2024-11-30T23:46:36] Processing CCD 4
# [COMMAND] [2024-11-30T23:46:36]
export SAS_MEMORY_MODEL=high
# [COMMAND] [2024-11-30T23:46:36]
export SAS_RAND_SEED=0099300301
# # [INFO] [2024-11-30T23:46:36] ## DEBUG ModuleResources: SAS_RAND_SEED set: 0099300301
# [COMMAND] [2024-11-30T23:46:36]
rgsframes ccdset=intermediate/RGSEvents-rgs1-2-Intermediate_events-S02604000100000.fits set=odf/0046_0099300301_R1S02604SPE.FIT -w \
10
# # [OUTPUT] [2024-11-30T23:46:36]
# # [INFO] [2024-11-30T23:46:36] Task Run Time rgsframes 0.126994848251343s
#
# [COMMAND] [2024-11-30T23:46:36]
export SAS_MEMORY_MODEL=high
# [COMMAND] [2024-11-30T23:46:36]
export SAS_RAND_SEED=0099300301
# # [INFO] [2024-11-30T23:46:36] ## DEBUG ModuleResources: SAS_RAND_SEED set: 0099300301
# [COMMAND] [2024-11-30T23:46:36]
rgsenergy ccdset=intermediate/RGSEvents-rgs1-2-Intermediate_events-S02604000100000.fits withdiagoffset=yes -w 10
# # [OUTPUT] [2024-11-30T23:46:36] ** rgsenergy: warning (NoPixByPixCorr), No Valid Diagnostic Offset Average File found for RGS1
# I am going to use default value subtraction for it 
# ** 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:46:36] Task Run Time rgsenergy 0.184851884841919s
#
# [COMMAND] [2024-11-30T23:46:36]
export SAS_MEMORY_MODEL=high
# [COMMAND] [2024-11-30T23:46:36]
export SAS_RAND_SEED=0099300301
# # [INFO] [2024-11-30T23:46:36] ## DEBUG ModuleResources: SAS_RAND_SEED set: 0099300301
# [COMMAND] [2024-11-30T23:46:36]
rgsbadpix ccdset=intermediate/RGSEvents-rgs1-2-Intermediate_events-S02604000100000.fits keepcool=Y -w 10
# # [OUTPUT] [2024-11-30T23:46:36] ** rgsbadpix: warning (BadPixDiscrepancy), (CCD 4) advisory hot pixel at (192,124): not found hot\
#     in telemetry 
# # [INFO] [2024-11-30T23:46:36] Task Run Time rgsbadpix 0.0880179405212402s
#
# [COMMAND] [2024-11-30T23:46:36]
export SAS_MEMORY_MODEL=high
# [COMMAND] [2024-11-30T23:46:36]
export SAS_RAND_SEED=0099300301
# # [INFO] [2024-11-30T23:46:36] ## DEBUG ModuleResources: SAS_RAND_SEED set: 0099300301
# [COMMAND] [2024-11-30T23:46:36]
rgsevents ccdset=intermediate/RGSEvents-rgs1-2-Intermediate_events-S02604000100000.fits -w 10
# # [OUTPUT] [2024-11-30T23:46:37]
# # [INFO] [2024-11-30T23:46:37] Task Run Time rgsevents 0.305524110794067s
#
# [COMMAND] [2024-11-30T23:46:37]
export SAS_MEMORY_MODEL=high
# [COMMAND] [2024-11-30T23:46:37]
export SAS_RAND_SEED=0099300301
# # [INFO] [2024-11-30T23:46:37] ## DEBUG ModuleResources: SAS_RAND_SEED set: 0099300301
# [COMMAND] [2024-11-30T23:46:37]
evlistcomb eventsets=intermediate/RGSEvents-rgs1-2-Intermediate_events-S02604000100000.fits \
imagingset=intermediate/RGSEvents-rgs1-2-Event_list-S02600000000000.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:46:37]
# # [INFO] [2024-11-30T23:46:37] Task Run Time evlistcomb 0.114886999130249s
#
# [COMMAND] [2024-11-30T23:46:37]
export SAS_MEMORY_MODEL=high
# [COMMAND] [2024-11-30T23:46:37]
export SAS_RAND_SEED=0099300301
# # [INFO] [2024-11-30T23:46:37] ## DEBUG ModuleResources: SAS_RAND_SEED set: 0099300301
# [COMMAND] [2024-11-30T23:46:37]
rgsangles betabinning=binSize betabinref=0.03578524 betabinwidth=1.208e-05 \
mergedset=intermediate/RGSEvents-rgs1-2-Event_list-S02600000000000.fits nbetabins=3400 nxdispbins=170 \
srclist=product/P0099300301R1S026SRCLI_0000.FIT withheliocentriccorr=Y withmlambdacolumn=Y withsunanglecorr=Y xdispbinning=binSize \
xdispbinref=-0.0009126 xdispbinwidth=1.08e-05 -w 10
# # [OUTPUT] [2024-11-30T23:46:37] rgsangles:- Sun angle correction value 1.32248835773 rad 
# rgsangles:- Sun Angle Coeff for Order 1: a 1.20000004768 b -0.519999980927
# rgsangles:- Heliocentric velocity correction T= 69068873.684 ( 2000-03-10T09:46:49.500 ) HelioVelCorr= 29.8482752398 km/s 
# rgsangles:- Heliocentric Correction Factor: 9.95631292358e-05 
# # [INFO] [2024-11-30T23:46:37] Task Run Time rgsangles 0.184299945831299s
#
# # [INFO] [2024-11-30T23:46:37] Filtering with rejection flags, Attitude GTI and HK GTI.
# [COMMAND] [2024-11-30T23:46:37]
export SAS_MEMORY_MODEL=high
# [COMMAND] [2024-11-30T23:46:37]
export SAS_RAND_SEED=0099300301
# # [INFO] [2024-11-30T23:46:37] ## DEBUG ModuleResources: SAS_RAND_SEED set: 0099300301
# [COMMAND] [2024-11-30T23:46:37]
rgsfilter auxgtitables="intermediate/RGSEvents-rgs1-2-Exposure_Attitude_GTI-S02600000000000.fits \
intermediate/GlobalHK-all-1-Attitude_GTI-X00000000000000.fits intermediate/InstrumentHK-rgs1-1-HK_GTI-X00000000000000.fits" \
evlist=intermediate/RGSEvents-rgs1-2-FILTERED_EVENT_LIST-S02600000000000.fits expimageset=product/P0099300301R1S026EXPMAP0000.FIT \
mergedset=intermediate/RGSEvents-rgs1-2-Event_list-S02600000000000.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:46:37]
# # [INFO] [2024-11-30T23:46:37] Task Run Time rgsfilter 0.188066005706787s
#
# # [INFO] [2024-11-30T23:46:37] Filtering with rejection flags, Attitude GTI and HK GTI leaves < 1000s ONTIME.
# # [INFO] [2024-11-30T23:46:37] Filtering with rejection flags and Attitude GTI.
# [COMMAND] [2024-11-30T23:46:37]
export SAS_MEMORY_MODEL=high
# [COMMAND] [2024-11-30T23:46:37]
export SAS_RAND_SEED=0099300301
# # [INFO] [2024-11-30T23:46:37] ## DEBUG ModuleResources: SAS_RAND_SEED set: 0099300301
# [COMMAND] [2024-11-30T23:46:37]
rgsfilter auxgtitables="intermediate/RGSEvents-rgs1-2-Exposure_Attitude_GTI-S02600000000000.fits \
intermediate/GlobalHK-all-1-Attitude_GTI-X00000000000000.fits" \
evlist=intermediate/RGSEvents-rgs1-2-FILTERED_EVENT_LIST-S02600000000000.fits expimageset=product/P0099300301R1S026EXPMAP0000.FIT \
mergedset=intermediate/RGSEvents-rgs1-2-Event_list-S02600000000000.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:46:37]
# # [INFO] [2024-11-30T23:46:37] Task Run Time rgsfilter 0.155551910400391s
#
# # [INFO] [2024-11-30T23:46:37] Filtering with rejection flags and Attitude GTI leaves < 1000s ONTIME.
# # [INFO] [2024-11-30T23:46:37] Filtering with rejection flags.
# [COMMAND] [2024-11-30T23:46:37]
export SAS_MEMORY_MODEL=high
# [COMMAND] [2024-11-30T23:46:37]
export SAS_RAND_SEED=0099300301
# # [INFO] [2024-11-30T23:46:37] ## DEBUG ModuleResources: SAS_RAND_SEED set: 0099300301
# [COMMAND] [2024-11-30T23:46:37]
rgsfilter auxgtitables=intermediate/RGSEvents-rgs1-2-Exposure_Attitude_GTI-S02600000000000.fits \
evlist=intermediate/RGSEvents-rgs1-2-FILTERED_EVENT_LIST-S02600000000000.fits expimageset=product/P0099300301R1S026EXPMAP0000.FIT \
mergedset=intermediate/RGSEvents-rgs1-2-Event_list-S02600000000000.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:46:37]
# # [INFO] [2024-11-30T23:46:37] Task Run Time rgsfilter 0.156666040420532s
#
# # [INFO] [2024-11-30T23:46:37] Filtering with rejection flags leaves < 1000s ONTIME.
# # [INFO] [2024-11-30T23:46:37] ONTIME=1.24534149169922E+02
# # [INFO] [2024-11-30T23:46:37] FILTGRPS=0
# [COMMAND] [2024-11-30T23:46:37]
export SAS_MEMORY_MODEL=high
# [COMMAND] [2024-11-30T23:46:37]
export SAS_RAND_SEED=0099300301
# # [INFO] [2024-11-30T23:46:37] ## DEBUG ModuleResources: SAS_RAND_SEED set: 0099300301
# [COMMAND] [2024-11-30T23:46:37]
addattribute attributecomment="\"rgsfilter groups applied (rejflags=1|AttGTI=2|hkGTI=4)\"" attributename=FILTGRPS \
attributetype=integer integervalue=0 set=intermediate/RGSEvents-rgs1-2-FILTERED_EVENT_LIST-S02600000000000.fits -w 10
# # [OUTPUT] [2024-11-30T23:46:38]
# # [INFO] [2024-11-30T23:46:38] Task Run Time addattribute 0.0938091278076172s
#
# # [INFO] [2024-11-30T23:46:38] Filtering with rejection flags < 1000s GTI.
# # [INFO] [2024-11-30T23:46:38] Ignoring this exposure.
# # [INFO] [2024-11-30T23:46:38] Module name: RGSEvents
# # [INFO] [2024-11-30T23:46:38] Instrument: rgs1
# # [INFO] [2024-11-30T23:46:38] Stream no.: 0003
# # [INFO] [2024-11-30T23:46:38] Module version number: 4.21
# # [INFO] [2024-11-30T23:46:38] Exposure ID: S031
# # [INFO] [2024-11-30T23:46:38] Instrument mode: HighEventRate
# [COMMAND] [2024-11-30T23:46:38]
export SAS_MEMORY_MODEL=high
# [COMMAND] [2024-11-30T23:46:38]
export SAS_RAND_SEED=0099300301
# # [INFO] [2024-11-30T23:46:38] ## DEBUG ModuleResources: SAS_RAND_SEED set: 0099300301
# [COMMAND] [2024-11-30T23:46:38]
attfilter attset=product/P0099300301OBX000ATTTSR0000.FIT filtertype=cone \
gtitable=intermediate/RGSEvents-rgs1-3-Exposure_Attitude_GTI-S03100000000000.fits:STDGTI instexpid=R1S031 tolangles=5000.0*#ARCMIN \
-w 10
# # [OUTPUT] [2024-11-30T23:46:38]
# # [INFO] [2024-11-30T23:46:38] Task Run Time attfilter 0.123190879821777s
#
# # [INFO] [2024-11-30T23:46:38] No suitable EPIC source list found to supply source positions
# # [INFO] [2024-11-30T23:46:38] Using pointing position instead
# [COMMAND] [2024-11-30T23:46:38]
export SAS_MEMORY_MODEL=high
# [COMMAND] [2024-11-30T23:46:38]
export SAS_RAND_SEED=0099300301
# # [INFO] [2024-11-30T23:46:38] ## DEBUG ModuleResources: SAS_RAND_SEED set: 0099300301
# [COMMAND] [2024-11-30T23:46:38]
rgssources attstyle=expmedian doconfusion=Y enablefilter=Y \
expmediantable=intermediate/RGSEvents-rgs1-3-Exposure_Attitude_GTI-S03100000000000.fits:STDGTI filemode=create flagepicsrcoutoffov=Y \
instexpid=odf/0046_0099300301_R1S03109SPE.FIT medianset=product/P0099300301OBX000ATTTSR0000.FIT primestyle=auto \
srclist=product/P0099300301R1S031SRCLI_0000.FIT withepicset=N -w 10
# # [OUTPUT] [2024-11-30T23:46:38] ** rgssources: warning (badPrimeRate), The prime source (INDEX=1) has a RATE value of <= zero.\
#     Confusion values cannot be calculated. 
# # [INFO] [2024-11-30T23:46:38] Task Run Time rgssources 0.100548028945923s
#
# [COMMAND] [2024-11-30T23:46:38]
cp /scratch/225963.1.all.q/xmm/ppsprod/229109/product/P0099300301R1S031SRCLI_0000.FIT \
/scratch/225963.1.all.q/xmm/ppsprod/229109/intermediate/RGSEvents-rgs1-3-RGS_src_list_with_whole_field-S03100000000000.fits
# # [INFO] [2024-11-30T23:46:38] System RV 0
# [COMMAND] [2024-11-30T23:46:38]
export SAS_MEMORY_MODEL=high
# [COMMAND] [2024-11-30T23:46:38]
export SAS_RAND_SEED=0099300301
# # [INFO] [2024-11-30T23:46:38] ## DEBUG ModuleResources: SAS_RAND_SEED set: 0099300301
# [COMMAND] [2024-11-30T23:46:38]
rgssources addusersource=yes bkgexclude=no deltadisp=0 deltaxdsp=0 filemode=modify label=WHOLE_FIELD positionstyle=wrtatt process=no \
srclist=intermediate/RGSEvents-rgs1-3-RGS_src_list_with_whole_field-S03100000000000.fits:SOURCES -w 10
# # [OUTPUT] [2024-11-30T23:46:38] ** 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 S031 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:46:38] Task Run Time rgssources 0.0628130435943604s
#
# # [INFO] [2024-11-30T23:46:38] Processing CCD 9
# [COMMAND] [2024-11-30T23:46:38]
export SAS_MEMORY_MODEL=high
# [COMMAND] [2024-11-30T23:46:38]
export SAS_RAND_SEED=0099300301
# # [INFO] [2024-11-30T23:46:38] ## DEBUG ModuleResources: SAS_RAND_SEED set: 0099300301
# [COMMAND] [2024-11-30T23:46:38]
rgsframes ccdset=intermediate/RGSEvents-rgs1-3-Intermediate_events-S03109000100000.fits set=odf/0046_0099300301_R1S03109SPE.FIT -w \
10
# # [OUTPUT] [2024-11-30T23:46:38]
# # [INFO] [2024-11-30T23:46:38] Task Run Time rgsframes 0.0985641479492188s
#
# [COMMAND] [2024-11-30T23:46:38]
export SAS_MEMORY_MODEL=high
# [COMMAND] [2024-11-30T23:46:38]
export SAS_RAND_SEED=0099300301
# # [INFO] [2024-11-30T23:46:38] ## DEBUG ModuleResources: SAS_RAND_SEED set: 0099300301
# [COMMAND] [2024-11-30T23:46:38]
rgsenergy ccdset=intermediate/RGSEvents-rgs1-3-Intermediate_events-S03109000100000.fits withdiagoffset=yes -w 10
# # [OUTPUT] [2024-11-30T23:46:38] ** rgsenergy: warning (NoPixByPixCorr), No Valid Diagnostic Offset Average File found for RGS1
# I am going to use default value subtraction for it 
# ** 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:46:38] Task Run Time rgsenergy 0.172723054885864s
#
# [COMMAND] [2024-11-30T23:46:38]
export SAS_MEMORY_MODEL=high
# [COMMAND] [2024-11-30T23:46:38]
export SAS_RAND_SEED=0099300301
# # [INFO] [2024-11-30T23:46:38] ## DEBUG ModuleResources: SAS_RAND_SEED set: 0099300301
# [COMMAND] [2024-11-30T23:46:38]
rgsbadpix ccdset=intermediate/RGSEvents-rgs1-3-Intermediate_events-S03109000100000.fits keepcool=Y -w 10
# # [OUTPUT] [2024-11-30T23:46:38] ** rgsbadpix: warning (BadPixDiscrepancy), (CCD 9) advisory hot pixel at (57,30): not found hot\
#     in telemetry
# ** rgsbadpix: warning (BadPixDiscrepancy), (CCD 9) advisory hot pixel at (137,36): not found hot in telemetry
# ** 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): 1 out of 2 pixels not found hot in telemetry 
# # [INFO] [2024-11-30T23:46:38] Task Run Time rgsbadpix 0.0903759002685547s
#
# [COMMAND] [2024-11-30T23:46:38]
export SAS_MEMORY_MODEL=high
# [COMMAND] [2024-11-30T23:46:38]
export SAS_RAND_SEED=0099300301
# # [INFO] [2024-11-30T23:46:38] ## DEBUG ModuleResources: SAS_RAND_SEED set: 0099300301
# [COMMAND] [2024-11-30T23:46:38]
rgsevents ccdset=intermediate/RGSEvents-rgs1-3-Intermediate_events-S03109000100000.fits -w 10
# # [OUTPUT] [2024-11-30T23:46:39]
# # [INFO] [2024-11-30T23:46:39] Task Run Time rgsevents 0.315608978271484s
#
# [COMMAND] [2024-11-30T23:46:39]
export SAS_MEMORY_MODEL=high
# [COMMAND] [2024-11-30T23:46:39]
export SAS_RAND_SEED=0099300301
# # [INFO] [2024-11-30T23:46:39] ## DEBUG ModuleResources: SAS_RAND_SEED set: 0099300301
# [COMMAND] [2024-11-30T23:46:39]
evlistcomb eventsets=intermediate/RGSEvents-rgs1-3-Intermediate_events-S03109000100000.fits \
imagingset=intermediate/RGSEvents-rgs1-3-Event_list-S03100000000000.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:46:39]
# # [INFO] [2024-11-30T23:46:39] Task Run Time evlistcomb 0.105520009994507s
#
# [COMMAND] [2024-11-30T23:46:39]
export SAS_MEMORY_MODEL=high
# [COMMAND] [2024-11-30T23:46:39]
export SAS_RAND_SEED=0099300301
# # [INFO] [2024-11-30T23:46:39] ## DEBUG ModuleResources: SAS_RAND_SEED set: 0099300301
# [COMMAND] [2024-11-30T23:46:39]
rgsangles betabinning=binSize betabinref=0.03578524 betabinwidth=1.208e-05 \
mergedset=intermediate/RGSEvents-rgs1-3-Event_list-S03100000000000.fits nbetabins=3400 nxdispbins=170 \
srclist=product/P0099300301R1S031SRCLI_0000.FIT withheliocentriccorr=Y withmlambdacolumn=Y withsunanglecorr=Y xdispbinning=binSize \
xdispbinref=-0.0009126 xdispbinwidth=1.08e-05 -w 10
# # [OUTPUT] [2024-11-30T23:46:39] rgsangles:- Sun angle correction value 1.3224891172 rad 
# rgsangles:- Sun Angle Coeff for Order 1: a 1.20000004768 b -0.519999980927
# rgsangles:- Heliocentric velocity correction T= 69068873.684 ( 2000-03-10T09:46:49.500 ) HelioVelCorr= 29.8482813802 km/s 
# rgsangles:- Heliocentric Correction Factor: 9.95631497181e-05 
# # [INFO] [2024-11-30T23:46:39] Task Run Time rgsangles 0.280602216720581s
#
# # [INFO] [2024-11-30T23:46:39] Filtering with rejection flags, Attitude GTI and HK GTI.
# [COMMAND] [2024-11-30T23:46:39]
export SAS_MEMORY_MODEL=high
# [COMMAND] [2024-11-30T23:46:39]
export SAS_RAND_SEED=0099300301
# # [INFO] [2024-11-30T23:46:39] ## DEBUG ModuleResources: SAS_RAND_SEED set: 0099300301
# [COMMAND] [2024-11-30T23:46:39]
rgsfilter auxgtitables="intermediate/RGSEvents-rgs1-3-Exposure_Attitude_GTI-S03100000000000.fits \
intermediate/GlobalHK-all-1-Attitude_GTI-X00000000000000.fits intermediate/InstrumentHK-rgs1-1-HK_GTI-X00000000000000.fits" \
evlist=intermediate/RGSEvents-rgs1-3-FILTERED_EVENT_LIST-S03100000000000.fits expimageset=product/P0099300301R1S031EXPMAP0000.FIT \
mergedset=intermediate/RGSEvents-rgs1-3-Event_list-S03100000000000.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:46:39]
# # [INFO] [2024-11-30T23:46:39] Task Run Time rgsfilter 0.10731315612793s
#
# # [INFO] [2024-11-30T23:46:39] Filtering with rejection flags, Attitude GTI and HK GTI leaves < 1000s ONTIME.
# # [INFO] [2024-11-30T23:46:39] Filtering with rejection flags and Attitude GTI.
# [COMMAND] [2024-11-30T23:46:39]
export SAS_MEMORY_MODEL=high
# [COMMAND] [2024-11-30T23:46:39]
export SAS_RAND_SEED=0099300301
# # [INFO] [2024-11-30T23:46:39] ## DEBUG ModuleResources: SAS_RAND_SEED set: 0099300301
# [COMMAND] [2024-11-30T23:46:39]
rgsfilter auxgtitables="intermediate/RGSEvents-rgs1-3-Exposure_Attitude_GTI-S03100000000000.fits \
intermediate/GlobalHK-all-1-Attitude_GTI-X00000000000000.fits" \
evlist=intermediate/RGSEvents-rgs1-3-FILTERED_EVENT_LIST-S03100000000000.fits expimageset=product/P0099300301R1S031EXPMAP0000.FIT \
mergedset=intermediate/RGSEvents-rgs1-3-Event_list-S03100000000000.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:46:39]
# # [INFO] [2024-11-30T23:46:39] Task Run Time rgsfilter 0.161536931991577s
#
# # [INFO] [2024-11-30T23:46:39] Filtering with rejection flags and Attitude GTI leaves < 1000s ONTIME.
# # [INFO] [2024-11-30T23:46:39] Filtering with rejection flags.
# [COMMAND] [2024-11-30T23:46:39]
export SAS_MEMORY_MODEL=high
# [COMMAND] [2024-11-30T23:46:39]
export SAS_RAND_SEED=0099300301
# # [INFO] [2024-11-30T23:46:39] ## DEBUG ModuleResources: SAS_RAND_SEED set: 0099300301
# [COMMAND] [2024-11-30T23:46:39]
rgsfilter auxgtitables=intermediate/RGSEvents-rgs1-3-Exposure_Attitude_GTI-S03100000000000.fits \
evlist=intermediate/RGSEvents-rgs1-3-FILTERED_EVENT_LIST-S03100000000000.fits expimageset=product/P0099300301R1S031EXPMAP0000.FIT \
mergedset=intermediate/RGSEvents-rgs1-3-Event_list-S03100000000000.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:46:39]
# # [INFO] [2024-11-30T23:46:39] Task Run Time rgsfilter 0.216945886611938s
#
# # [INFO] [2024-11-30T23:46:39] Filtering with rejection flags leaves < 1000s ONTIME.
# # [INFO] [2024-11-30T23:46:39] ONTIME=1.42350280761719E+02
# # [INFO] [2024-11-30T23:46:39] FILTGRPS=0
# [COMMAND] [2024-11-30T23:46:39]
export SAS_MEMORY_MODEL=high
# [COMMAND] [2024-11-30T23:46:39]
export SAS_RAND_SEED=0099300301
# # [INFO] [2024-11-30T23:46:39] ## DEBUG ModuleResources: SAS_RAND_SEED set: 0099300301
# [COMMAND] [2024-11-30T23:46:39]
addattribute attributecomment="\"rgsfilter groups applied (rejflags=1|AttGTI=2|hkGTI=4)\"" attributename=FILTGRPS \
attributetype=integer integervalue=0 set=intermediate/RGSEvents-rgs1-3-FILTERED_EVENT_LIST-S03100000000000.fits -w 10
# # [OUTPUT] [2024-11-30T23:46:39]
# # [INFO] [2024-11-30T23:46:39] Task Run Time addattribute 0.0748739242553711s
#
# # [INFO] [2024-11-30T23:46:39] Filtering with rejection flags < 1000s GTI.
# # [INFO] [2024-11-30T23:46:39] Ignoring this exposure.
# # [INFO] [2024-11-30T23:46:40] Module name: RGSEvents
# # [INFO] [2024-11-30T23:46:40] Instrument: rgs2
# # [INFO] [2024-11-30T23:46:40] Stream no.: 0001
# # [INFO] [2024-11-30T23:46:40] Module version number: 4.21
# # [INFO] [2024-11-30T23:46:40] Exposure ID: S034
# # [INFO] [2024-11-30T23:46:40] Instrument mode: HighEventRate
# [COMMAND] [2024-11-30T23:46:40]
export SAS_MEMORY_MODEL=high
# [COMMAND] [2024-11-30T23:46:40]
export SAS_RAND_SEED=0099300301
# # [INFO] [2024-11-30T23:46:40] ## DEBUG ModuleResources: SAS_RAND_SEED set: 0099300301
# [COMMAND] [2024-11-30T23:46:40]
attfilter attset=product/P0099300301OBX000ATTTSR0000.FIT filtertype=cone \
gtitable=intermediate/RGSEvents-rgs2-1-Exposure_Attitude_GTI-S03400000000000.fits:STDGTI instexpid=R2S034 tolangles=5000.0*#ARCMIN \
-w 10
# # [OUTPUT] [2024-11-30T23:46:40]
# # [INFO] [2024-11-30T23:46:40] Task Run Time attfilter 0.0450551509857178s
#
# # [INFO] [2024-11-30T23:46:40] No suitable EPIC source list found to supply source positions
# # [INFO] [2024-11-30T23:46:40] Using pointing position instead
# [COMMAND] [2024-11-30T23:46:40]
export SAS_MEMORY_MODEL=high
# [COMMAND] [2024-11-30T23:46:40]
export SAS_RAND_SEED=0099300301
# # [INFO] [2024-11-30T23:46:40] ## DEBUG ModuleResources: SAS_RAND_SEED set: 0099300301
# [COMMAND] [2024-11-30T23:46:40]
rgssources attstyle=expmedian doconfusion=Y enablefilter=Y \
expmediantable=intermediate/RGSEvents-rgs2-1-Exposure_Attitude_GTI-S03400000000000.fits:STDGTI filemode=create flagepicsrcoutoffov=Y \
instexpid=odf/0046_0099300301_R2S03403SPE.FIT medianset=product/P0099300301OBX000ATTTSR0000.FIT primestyle=auto \
srclist=product/P0099300301R2S034SRCLI_0000.FIT withepicset=N -w 10
# # [OUTPUT] [2024-11-30T23:46:40] ** rgssources: warning (badPrimeRate), The prime source (INDEX=1) has a RATE value of <= zero.\
#     Confusion values cannot be calculated. 
# # [INFO] [2024-11-30T23:46:40] Task Run Time rgssources 0.126835823059082s
#
# [COMMAND] [2024-11-30T23:46:40]
cp /scratch/225963.1.all.q/xmm/ppsprod/229109/product/P0099300301R2S034SRCLI_0000.FIT \
/scratch/225963.1.all.q/xmm/ppsprod/229109/intermediate/RGSEvents-rgs2-1-RGS_src_list_with_whole_field-S03400000000000.fits
# # [INFO] [2024-11-30T23:46:40] System RV 0
# [COMMAND] [2024-11-30T23:46:40]
export SAS_MEMORY_MODEL=high
# [COMMAND] [2024-11-30T23:46:40]
export SAS_RAND_SEED=0099300301
# # [INFO] [2024-11-30T23:46:40] ## DEBUG ModuleResources: SAS_RAND_SEED set: 0099300301
# [COMMAND] [2024-11-30T23:46:40]
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-S03400000000000.fits:SOURCES -w 10
# # [OUTPUT] [2024-11-30T23:46:40] ** 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 S034 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:46:40] Task Run Time rgssources 0.0772249698638916s
#
# # [INFO] [2024-11-30T23:46:40] Processing CCD 3
# [COMMAND] [2024-11-30T23:46:40]
export SAS_MEMORY_MODEL=high
# [COMMAND] [2024-11-30T23:46:40]
export SAS_RAND_SEED=0099300301
# # [INFO] [2024-11-30T23:46:40] ## DEBUG ModuleResources: SAS_RAND_SEED set: 0099300301
# [COMMAND] [2024-11-30T23:46:40]
rgsframes ccdset=intermediate/RGSEvents-rgs2-1-Intermediate_events-S03403000100000.fits set=odf/0046_0099300301_R2S03403SPE.FIT -w \
10
# # [OUTPUT] [2024-11-30T23:46:40]
# # [INFO] [2024-11-30T23:46:40] Task Run Time rgsframes 0.106809854507446s
#
# [COMMAND] [2024-11-30T23:46:40]
export SAS_MEMORY_MODEL=high
# [COMMAND] [2024-11-30T23:46:40]
export SAS_RAND_SEED=0099300301
# # [INFO] [2024-11-30T23:46:40] ## DEBUG ModuleResources: SAS_RAND_SEED set: 0099300301
# [COMMAND] [2024-11-30T23:46:40]
rgsenergy ccdset=intermediate/RGSEvents-rgs2-1-Intermediate_events-S03403000100000.fits withdiagoffset=yes -w 10
# # [OUTPUT] [2024-11-30T23:46:40] ** rgsenergy: warning (NoPixByPixCorr), No Valid Diagnostic Offset Average File found for RGS2
# I am going to use default value subtraction for it 
# ** 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:46:40] Task Run Time rgsenergy 0.236225843429565s
#
# [COMMAND] [2024-11-30T23:46:40]
export SAS_MEMORY_MODEL=high
# [COMMAND] [2024-11-30T23:46:40]
export SAS_RAND_SEED=0099300301
# # [INFO] [2024-11-30T23:46:40] ## DEBUG ModuleResources: SAS_RAND_SEED set: 0099300301
# [COMMAND] [2024-11-30T23:46:40]
rgsbadpix ccdset=intermediate/RGSEvents-rgs2-1-Intermediate_events-S03403000100000.fits keepcool=Y -w 10
# # [OUTPUT] [2024-11-30T23:46:40] ** rgsbadpix: warning (BadPixDiscrepancy), (CCD 3) advisory hot pixel at (137,74): not found hot\
#     in telemetry
# ** rgsbadpix: warning (BadPixDiscrepancy), (CCD 3) advisory hot pixel at (168,30): not found hot in telemetry
# ** rgsbadpix: warning (BadPixDiscrepancy), (CCD 3) advisory hot pixel at (329,121): not found hot in telemetry 
# # [INFO] [2024-11-30T23:46:40] Task Run Time rgsbadpix 0.101300954818726s
#
# [COMMAND] [2024-11-30T23:46:40]
export SAS_MEMORY_MODEL=high
# [COMMAND] [2024-11-30T23:46:40]
export SAS_RAND_SEED=0099300301
# # [INFO] [2024-11-30T23:46:40] ## DEBUG ModuleResources: SAS_RAND_SEED set: 0099300301
# [COMMAND] [2024-11-30T23:46:40]
rgsevents ccdset=intermediate/RGSEvents-rgs2-1-Intermediate_events-S03403000100000.fits -w 10
# # [OUTPUT] [2024-11-30T23:46:41]
# # [INFO] [2024-11-30T23:46:41] Task Run Time rgsevents 0.327574968338013s
#
# [COMMAND] [2024-11-30T23:46:41]
export SAS_MEMORY_MODEL=high
# [COMMAND] [2024-11-30T23:46:41]
export SAS_RAND_SEED=0099300301
# # [INFO] [2024-11-30T23:46:41] ## DEBUG ModuleResources: SAS_RAND_SEED set: 0099300301
# [COMMAND] [2024-11-30T23:46:41]
evlistcomb eventsets=intermediate/RGSEvents-rgs2-1-Intermediate_events-S03403000100000.fits \
imagingset=intermediate/RGSEvents-rgs2-1-Event_list-S03400000000000.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:46:41]
# # [INFO] [2024-11-30T23:46:41] Task Run Time evlistcomb 0.0811247825622559s
#
# [COMMAND] [2024-11-30T23:46:41]
export SAS_MEMORY_MODEL=high
# [COMMAND] [2024-11-30T23:46:41]
export SAS_RAND_SEED=0099300301
# # [INFO] [2024-11-30T23:46:41] ## DEBUG ModuleResources: SAS_RAND_SEED set: 0099300301
# [COMMAND] [2024-11-30T23:46:41]
rgsangles betabinning=binSize betabinref=0.03578524 betabinwidth=1.208e-05 \
mergedset=intermediate/RGSEvents-rgs2-1-Event_list-S03400000000000.fits nbetabins=3400 nxdispbins=170 \
srclist=product/P0099300301R2S034SRCLI_0000.FIT withheliocentriccorr=Y withmlambdacolumn=Y withsunanglecorr=Y xdispbinning=binSize \
xdispbinref=-0.0009126 xdispbinwidth=1.08e-05 -w 10
# # [OUTPUT] [2024-11-30T23:46:41] rgsangles:- Sun angle correction value 1.32253679054 rad 
# rgsangles:- Sun Angle Coeff for Order 1: a 6.09999990463 b -0.5
# rgsangles:- Heliocentric velocity correction T= 69068873.684 ( 2000-03-10T09:46:49.500 ) HelioVelCorr= 29.8487532015 km/s 
# rgsangles:- Heliocentric Correction Factor: 9.95647235446e-05 
# # [INFO] [2024-11-30T23:46:41] Task Run Time rgsangles 0.267529010772705s
#
# # [INFO] [2024-11-30T23:46:41] Filtering with rejection flags, Attitude GTI and HK GTI.
# [COMMAND] [2024-11-30T23:46:41]
export SAS_MEMORY_MODEL=high
# [COMMAND] [2024-11-30T23:46:41]
export SAS_RAND_SEED=0099300301
# # [INFO] [2024-11-30T23:46:41] ## DEBUG ModuleResources: SAS_RAND_SEED set: 0099300301
# [COMMAND] [2024-11-30T23:46:41]
rgsfilter auxgtitables="intermediate/RGSEvents-rgs2-1-Exposure_Attitude_GTI-S03400000000000.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-S03400000000000.fits expimageset=product/P0099300301R2S034EXPMAP0000.FIT \
mergedset=intermediate/RGSEvents-rgs2-1-Event_list-S03400000000000.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:46:41]
# # [INFO] [2024-11-30T23:46:41] Task Run Time rgsfilter 0.18322491645813s
#
# # [INFO] [2024-11-30T23:46:41] Filtering with rejection flags, Attitude GTI and HK GTI leaves < 1000s ONTIME.
# # [INFO] [2024-11-30T23:46:41] Filtering with rejection flags and Attitude GTI.
# [COMMAND] [2024-11-30T23:46:41]
export SAS_MEMORY_MODEL=high
# [COMMAND] [2024-11-30T23:46:41]
export SAS_RAND_SEED=0099300301
# # [INFO] [2024-11-30T23:46:41] ## DEBUG ModuleResources: SAS_RAND_SEED set: 0099300301
# [COMMAND] [2024-11-30T23:46:41]
rgsfilter auxgtitables="intermediate/RGSEvents-rgs2-1-Exposure_Attitude_GTI-S03400000000000.fits \
intermediate/GlobalHK-all-1-Attitude_GTI-X00000000000000.fits" \
evlist=intermediate/RGSEvents-rgs2-1-FILTERED_EVENT_LIST-S03400000000000.fits expimageset=product/P0099300301R2S034EXPMAP0000.FIT \
mergedset=intermediate/RGSEvents-rgs2-1-Event_list-S03400000000000.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:46:41]
# # [INFO] [2024-11-30T23:46:41] Task Run Time rgsfilter 0.131582975387573s
#
# # [INFO] [2024-11-30T23:46:41] Filtering with rejection flags and Attitude GTI leaves < 1000s ONTIME.
# # [INFO] [2024-11-30T23:46:41] Filtering with rejection flags.
# [COMMAND] [2024-11-30T23:46:41]
export SAS_MEMORY_MODEL=high
# [COMMAND] [2024-11-30T23:46:41]
export SAS_RAND_SEED=0099300301
# # [INFO] [2024-11-30T23:46:41] ## DEBUG ModuleResources: SAS_RAND_SEED set: 0099300301
# [COMMAND] [2024-11-30T23:46:41]
rgsfilter auxgtitables=intermediate/RGSEvents-rgs2-1-Exposure_Attitude_GTI-S03400000000000.fits \
evlist=intermediate/RGSEvents-rgs2-1-FILTERED_EVENT_LIST-S03400000000000.fits expimageset=product/P0099300301R2S034EXPMAP0000.FIT \
mergedset=intermediate/RGSEvents-rgs2-1-Event_list-S03400000000000.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:46:41]
# # [INFO] [2024-11-30T23:46:41] Task Run Time rgsfilter 0.172389984130859s
#
# # [INFO] [2024-11-30T23:46:41] Filtering with rejection flags leaves < 1000s ONTIME.
# # [INFO] [2024-11-30T23:46:41] ONTIME=1.49775634765625E+02
# # [INFO] [2024-11-30T23:46:41] FILTGRPS=0
# [COMMAND] [2024-11-30T23:46:41]
export SAS_MEMORY_MODEL=high
# [COMMAND] [2024-11-30T23:46:41]
export SAS_RAND_SEED=0099300301
# # [INFO] [2024-11-30T23:46:41] ## DEBUG ModuleResources: SAS_RAND_SEED set: 0099300301
# [COMMAND] [2024-11-30T23:46:41]
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-S03400000000000.fits -w 10
# # [OUTPUT] [2024-11-30T23:46:41]
# # [INFO] [2024-11-30T23:46:41] Task Run Time addattribute 0.056102991104126s
#
# # [INFO] [2024-11-30T23:46:41] Filtering with rejection flags < 1000s GTI.
# # [INFO] [2024-11-30T23:46:41] Ignoring this exposure.
# # [INFO] [2024-11-30T23:46:41] Module name: RGSEvents
# # [INFO] [2024-11-30T23:46:41] Instrument: rgs2
# # [INFO] [2024-11-30T23:46:41] Stream no.: 0002
# # [INFO] [2024-11-30T23:46:41] Module version number: 4.21
# # [INFO] [2024-11-30T23:46:41] Exposure ID: S035
# # [INFO] [2024-11-30T23:46:41] Instrument mode: HighEventRate
# [COMMAND] [2024-11-30T23:46:41]
export SAS_MEMORY_MODEL=high
# [COMMAND] [2024-11-30T23:46:41]
export SAS_RAND_SEED=0099300301
# # [INFO] [2024-11-30T23:46:41] ## DEBUG ModuleResources: SAS_RAND_SEED set: 0099300301
# [COMMAND] [2024-11-30T23:46:41]
attfilter attset=product/P0099300301OBX000ATTTSR0000.FIT filtertype=cone \
gtitable=intermediate/RGSEvents-rgs2-2-Exposure_Attitude_GTI-S03500000000000.fits:STDGTI instexpid=R2S035 tolangles=5000.0*#ARCMIN \
-w 10
# # [OUTPUT] [2024-11-30T23:46:42]
# # [INFO] [2024-11-30T23:46:42] Task Run Time attfilter 0.110671997070312s
#
# # [INFO] [2024-11-30T23:46:42] No suitable EPIC source list found to supply source positions
# # [INFO] [2024-11-30T23:46:42] Using pointing position instead
# [COMMAND] [2024-11-30T23:46:42]
export SAS_MEMORY_MODEL=high
# [COMMAND] [2024-11-30T23:46:42]
export SAS_RAND_SEED=0099300301
# # [INFO] [2024-11-30T23:46:42] ## DEBUG ModuleResources: SAS_RAND_SEED set: 0099300301
# [COMMAND] [2024-11-30T23:46:42]
rgssources attstyle=expmedian doconfusion=Y enablefilter=Y \
expmediantable=intermediate/RGSEvents-rgs2-2-Exposure_Attitude_GTI-S03500000000000.fits:STDGTI filemode=create flagepicsrcoutoffov=Y \
instexpid=odf/0046_0099300301_R2S03505SPE.FIT medianset=product/P0099300301OBX000ATTTSR0000.FIT primestyle=auto \
srclist=product/P0099300301R2S035SRCLI_0000.FIT withepicset=N -w 10
# # [OUTPUT] [2024-11-30T23:46:42] ** rgssources: warning (badPrimeRate), The prime source (INDEX=1) has a RATE value of <= zero.\
#     Confusion values cannot be calculated. 
# # [INFO] [2024-11-30T23:46:42] Task Run Time rgssources 0.0578849315643311s
#
# [COMMAND] [2024-11-30T23:46:42]
cp /scratch/225963.1.all.q/xmm/ppsprod/229109/product/P0099300301R2S035SRCLI_0000.FIT \
/scratch/225963.1.all.q/xmm/ppsprod/229109/intermediate/RGSEvents-rgs2-2-RGS_src_list_with_whole_field-S03500000000000.fits
# # [INFO] [2024-11-30T23:46:42] System RV 0
# [COMMAND] [2024-11-30T23:46:42]
export SAS_MEMORY_MODEL=high
# [COMMAND] [2024-11-30T23:46:42]
export SAS_RAND_SEED=0099300301
# # [INFO] [2024-11-30T23:46:42] ## DEBUG ModuleResources: SAS_RAND_SEED set: 0099300301
# [COMMAND] [2024-11-30T23:46:42]
rgssources addusersource=yes bkgexclude=no deltadisp=0 deltaxdsp=0 filemode=modify label=WHOLE_FIELD positionstyle=wrtatt process=no \
srclist=intermediate/RGSEvents-rgs2-2-RGS_src_list_with_whole_field-S03500000000000.fits:SOURCES -w 10
# # [OUTPUT] [2024-11-30T23:46:42] ** 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 S035 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:46:42] Task Run Time rgssources 0.0554351806640625s
#
# # [INFO] [2024-11-30T23:46:42] Processing CCD 5
# [COMMAND] [2024-11-30T23:46:42]
export SAS_MEMORY_MODEL=high
# [COMMAND] [2024-11-30T23:46:42]
export SAS_RAND_SEED=0099300301
# # [INFO] [2024-11-30T23:46:42] ## DEBUG ModuleResources: SAS_RAND_SEED set: 0099300301
# [COMMAND] [2024-11-30T23:46:42]
rgsframes ccdset=intermediate/RGSEvents-rgs2-2-Intermediate_events-S03505000100000.fits set=odf/0046_0099300301_R2S03505SPE.FIT -w \
10
# # [OUTPUT] [2024-11-30T23:46:42]
# # [INFO] [2024-11-30T23:46:42] Task Run Time rgsframes 0.115671157836914s
#
# [COMMAND] [2024-11-30T23:46:42]
export SAS_MEMORY_MODEL=high
# [COMMAND] [2024-11-30T23:46:42]
export SAS_RAND_SEED=0099300301
# # [INFO] [2024-11-30T23:46:42] ## DEBUG ModuleResources: SAS_RAND_SEED set: 0099300301
# [COMMAND] [2024-11-30T23:46:42]
rgsenergy ccdset=intermediate/RGSEvents-rgs2-2-Intermediate_events-S03505000100000.fits withdiagoffset=yes -w 10
# # [OUTPUT] [2024-11-30T23:46:42] ** rgsenergy: warning (NoPixByPixCorr), No Valid Diagnostic Offset Average File found for RGS2
# I am going to use default value subtraction for it 
# ** 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:46:42] Task Run Time rgsenergy 0.247092962265015s
#
# [COMMAND] [2024-11-30T23:46:42]
export SAS_MEMORY_MODEL=high
# [COMMAND] [2024-11-30T23:46:42]
export SAS_RAND_SEED=0099300301
# # [INFO] [2024-11-30T23:46:42] ## DEBUG ModuleResources: SAS_RAND_SEED set: 0099300301
# [COMMAND] [2024-11-30T23:46:42]
rgsbadpix ccdset=intermediate/RGSEvents-rgs2-2-Intermediate_events-S03505000100000.fits keepcool=Y -w 10
# # [OUTPUT] [2024-11-30T23:46:42] ** rgsbadpix: warning (BadPixDiscrepancy), (CCD 5) advisory hot pixel at (332,124): not found hot\
#     in telemetry 
# # [INFO] [2024-11-30T23:46:42] Task Run Time rgsbadpix 0.115197896957397s
#
# [COMMAND] [2024-11-30T23:46:42]
export SAS_MEMORY_MODEL=high
# [COMMAND] [2024-11-30T23:46:42]
export SAS_RAND_SEED=0099300301
# # [INFO] [2024-11-30T23:46:42] ## DEBUG ModuleResources: SAS_RAND_SEED set: 0099300301
# [COMMAND] [2024-11-30T23:46:42]
rgsevents ccdset=intermediate/RGSEvents-rgs2-2-Intermediate_events-S03505000100000.fits -w 10
# # [OUTPUT] [2024-11-30T23:46:42]
# # [INFO] [2024-11-30T23:46:42] Task Run Time rgsevents 0.265482902526855s
#
# [COMMAND] [2024-11-30T23:46:42]
export SAS_MEMORY_MODEL=high
# [COMMAND] [2024-11-30T23:46:42]
export SAS_RAND_SEED=0099300301
# # [INFO] [2024-11-30T23:46:42] ## DEBUG ModuleResources: SAS_RAND_SEED set: 0099300301
# [COMMAND] [2024-11-30T23:46:42]
evlistcomb eventsets=intermediate/RGSEvents-rgs2-2-Intermediate_events-S03505000100000.fits \
imagingset=intermediate/RGSEvents-rgs2-2-Event_list-S03500000000000.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:46:43]
# # [INFO] [2024-11-30T23:46:43] Task Run Time evlistcomb 0.0697009563446045s
#
# [COMMAND] [2024-11-30T23:46:43]
export SAS_MEMORY_MODEL=high
# [COMMAND] [2024-11-30T23:46:43]
export SAS_RAND_SEED=0099300301
# # [INFO] [2024-11-30T23:46:43] ## DEBUG ModuleResources: SAS_RAND_SEED set: 0099300301
# [COMMAND] [2024-11-30T23:46:43]
rgsangles betabinning=binSize betabinref=0.03578524 betabinwidth=1.208e-05 \
mergedset=intermediate/RGSEvents-rgs2-2-Event_list-S03500000000000.fits nbetabins=3400 nxdispbins=170 \
srclist=product/P0099300301R2S035SRCLI_0000.FIT withheliocentriccorr=Y withmlambdacolumn=Y withsunanglecorr=Y xdispbinning=binSize \
xdispbinref=-0.0009126 xdispbinwidth=1.08e-05 -w 10
# # [OUTPUT] [2024-11-30T23:46:43] rgsangles:- Sun angle correction value 1.32253610136 rad 
# rgsangles:- Sun Angle Coeff for Order 1: a 6.09999990463 b -0.5
# rgsangles:- Heliocentric velocity correction T= 69068873.684 ( 2000-03-10T09:46:49.500 ) HelioVelCorr= 29.8487489338 km/s 
# rgsangles:- Heliocentric Correction Factor: 9.95647093089e-05 
# # [INFO] [2024-11-30T23:46:43] Task Run Time rgsangles 0.197206974029541s
#
# # [INFO] [2024-11-30T23:46:43] Filtering with rejection flags, Attitude GTI and HK GTI.
# [COMMAND] [2024-11-30T23:46:43]
export SAS_MEMORY_MODEL=high
# [COMMAND] [2024-11-30T23:46:43]
export SAS_RAND_SEED=0099300301
# # [INFO] [2024-11-30T23:46:43] ## DEBUG ModuleResources: SAS_RAND_SEED set: 0099300301
# [COMMAND] [2024-11-30T23:46:43]
rgsfilter auxgtitables="intermediate/RGSEvents-rgs2-2-Exposure_Attitude_GTI-S03500000000000.fits \
intermediate/GlobalHK-all-1-Attitude_GTI-X00000000000000.fits intermediate/InstrumentHK-rgs2-1-HK_GTI-X00000000000000.fits" \
evlist=intermediate/RGSEvents-rgs2-2-FILTERED_EVENT_LIST-S03500000000000.fits expimageset=product/P0099300301R2S035EXPMAP0000.FIT \
mergedset=intermediate/RGSEvents-rgs2-2-Event_list-S03500000000000.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:46:43]
# # [INFO] [2024-11-30T23:46:43] Task Run Time rgsfilter 0.112335920333862s
#
# # [INFO] [2024-11-30T23:46:43] Filtering with rejection flags, Attitude GTI and HK GTI leaves < 1000s ONTIME.
# # [INFO] [2024-11-30T23:46:43] Filtering with rejection flags and Attitude GTI.
# [COMMAND] [2024-11-30T23:46:43]
export SAS_MEMORY_MODEL=high
# [COMMAND] [2024-11-30T23:46:43]
export SAS_RAND_SEED=0099300301
# # [INFO] [2024-11-30T23:46:43] ## DEBUG ModuleResources: SAS_RAND_SEED set: 0099300301
# [COMMAND] [2024-11-30T23:46:43]
rgsfilter auxgtitables="intermediate/RGSEvents-rgs2-2-Exposure_Attitude_GTI-S03500000000000.fits \
intermediate/GlobalHK-all-1-Attitude_GTI-X00000000000000.fits" \
evlist=intermediate/RGSEvents-rgs2-2-FILTERED_EVENT_LIST-S03500000000000.fits expimageset=product/P0099300301R2S035EXPMAP0000.FIT \
mergedset=intermediate/RGSEvents-rgs2-2-Event_list-S03500000000000.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:46:43]
# # [INFO] [2024-11-30T23:46:43] Task Run Time rgsfilter 0.13937783241272s
#
# # [INFO] [2024-11-30T23:46:43] Filtering with rejection flags and Attitude GTI leaves < 1000s ONTIME.
# # [INFO] [2024-11-30T23:46:43] Filtering with rejection flags.
# [COMMAND] [2024-11-30T23:46:43]
export SAS_MEMORY_MODEL=high
# [COMMAND] [2024-11-30T23:46:43]
export SAS_RAND_SEED=0099300301
# # [INFO] [2024-11-30T23:46:43] ## DEBUG ModuleResources: SAS_RAND_SEED set: 0099300301
# [COMMAND] [2024-11-30T23:46:43]
rgsfilter auxgtitables=intermediate/RGSEvents-rgs2-2-Exposure_Attitude_GTI-S03500000000000.fits \
evlist=intermediate/RGSEvents-rgs2-2-FILTERED_EVENT_LIST-S03500000000000.fits expimageset=product/P0099300301R2S035EXPMAP0000.FIT \
mergedset=intermediate/RGSEvents-rgs2-2-Event_list-S03500000000000.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:46:43]
# # [INFO] [2024-11-30T23:46:43] Task Run Time rgsfilter 0.130413055419922s
#
# # [INFO] [2024-11-30T23:46:43] Filtering with rejection flags leaves < 1000s ONTIME.
# # [INFO] [2024-11-30T23:46:43] ONTIME=4.99344482421875E+01
# # [INFO] [2024-11-30T23:46:43] FILTGRPS=0
# [COMMAND] [2024-11-30T23:46:43]
export SAS_MEMORY_MODEL=high
# [COMMAND] [2024-11-30T23:46:43]
export SAS_RAND_SEED=0099300301
# # [INFO] [2024-11-30T23:46:43] ## DEBUG ModuleResources: SAS_RAND_SEED set: 0099300301
# [COMMAND] [2024-11-30T23:46:43]
addattribute attributecomment="\"rgsfilter groups applied (rejflags=1|AttGTI=2|hkGTI=4)\"" attributename=FILTGRPS \
attributetype=integer integervalue=0 set=intermediate/RGSEvents-rgs2-2-FILTERED_EVENT_LIST-S03500000000000.fits -w 10
# # [OUTPUT] [2024-11-30T23:46:43]
# # [INFO] [2024-11-30T23:46:43] Task Run Time addattribute 0.0421769618988037s
#
# # [INFO] [2024-11-30T23:46:43] Filtering with rejection flags < 1000s GTI.
# # [INFO] [2024-11-30T23:46:43] Ignoring this exposure.
# # [INFO] [2024-11-30T23:46:43] Module name: RGSProducts
# # [INFO] [2024-11-30T23:46:43] Instrument: rgs1
# # [INFO] [2024-11-30T23:46:43] Stream no.: 0003
# # [INFO] [2024-11-30T23:46:43] Module version number: 2.37
# # [INFO] [2024-11-30T23:46:43] Exposure ID: S031
# # [INFO] [2024-11-30T23:46:43] Module name: RGSProducts
# # [INFO] [2024-11-30T23:46:43] Instrument: rgs2
# # [INFO] [2024-11-30T23:46:43] Stream no.: 0001
# # [INFO] [2024-11-30T23:46:43] Module version number: 2.37
# # [INFO] [2024-11-30T23:46:43] Exposure ID: S034
# # [INFO] [2024-11-30T23:46:43] Module name: RGSProducts
# # [INFO] [2024-11-30T23:46:43] Instrument: rgs2
# # [INFO] [2024-11-30T23:46:43] Stream no.: 0002
# # [INFO] [2024-11-30T23:46:43] Module version number: 2.37
# # [INFO] [2024-11-30T23:46:43] Exposure ID: S035
# # [INFO] [2024-11-30T23:46:43] Module name: RGSProducts
# # [INFO] [2024-11-30T23:46:43] Instrument: rgs1
# # [INFO] [2024-11-30T23:46:43] Stream no.: 0001
# # [INFO] [2024-11-30T23:46:43] Module version number: 2.37
# # [INFO] [2024-11-30T23:46:43] Exposure ID: S025
# # [INFO] [2024-11-30T23:46:43] Module name: RGSProducts
# # [INFO] [2024-11-30T23:46:43] Instrument: rgs1
# # [INFO] [2024-11-30T23:46:43] Stream no.: 0002
# # [INFO] [2024-11-30T23:46:43] Module version number: 2.37
# # [INFO] [2024-11-30T23:46:43] Exposure ID: S026
# # [INFO] [2024-11-30T23:46:43] Module name: LCMerge
# # [INFO] [2024-11-30T23:46:43] Instrument: rgs
# # [INFO] [2024-11-30T23:46:43] Stream no.: 0001
# # [INFO] [2024-11-30T23:46:43] Module version number: 1.02
# # [INFO] [2024-11-30T23:46:43] ******************************************************************************************
# # [INFO] [2024-11-30T23:46:43] ********** DEBUG - LCMerge - EPIC SRC_NUM identification in RGS Source Lists *************
# # [INFO] [2024-11-30T23:46:43] ******************************************************************************************
# # [INFO] [2024-11-30T23:46:43] DEBUG - LCMerge - Inst: rgs2 , srcList: product/P0099300301R2S034SRCLI_0000.FIT
# # [INFO] [2024-11-30T23:46:43] DEBUG - LCMerge - Sources with RGS products, src_num_INDEX's : 
# # [INFO] [2024-11-30T23:46:43] DEBUG - LCMerge - Inst: rgs2 , srcList: product/P0099300301R2S035SRCLI_0000.FIT
# # [INFO] [2024-11-30T23:46:43] DEBUG - LCMerge - Sources with RGS products, src_num_INDEX's : 
# # [INFO] [2024-11-30T23:46:43] DEBUG - LCMerge - Inst: rgs1 , srcList: product/P0099300301R1S025SRCLI_0000.FIT
# # [INFO] [2024-11-30T23:46:43] DEBUG - LCMerge - Sources with RGS products, src_num_INDEX's : 
# # [INFO] [2024-11-30T23:46:43] DEBUG - LCMerge - Inst: rgs1 , srcList: product/P0099300301R1S026SRCLI_0000.FIT
# # [INFO] [2024-11-30T23:46:43] DEBUG - LCMerge - Sources with RGS products, src_num_INDEX's : 
# # [INFO] [2024-11-30T23:46:43] DEBUG - LCMerge - Inst: rgs1 , srcList: product/P0099300301R1S031SRCLI_0000.FIT
# # [INFO] [2024-11-30T23:46:43] DEBUG - LCMerge - Sources with RGS products, src_num_INDEX's : 
# # [INFO] [2024-11-30T23:46:43] ******************************************************************************************
# # [INFO] [2024-11-30T23:46:43] DEBUG - LCMerge - RGS products vs EPIC identifications:
# # [INFO] [2024-11-30T23:46:43] DEBUG - LCMerge -......
# # [INFO] [2024-11-30T23:46:43] ******************************************************************************************
# # [INFO] [2024-11-30T23:46:43] ******************************************************************************************
# # [INFO] [2024-11-30T23:46:43] ********** DEBUG - LCMerge - Loop over RGS1/2 source products. RGS indices: **********
# # [INFO] [2024-11-30T23:46:43] ******************************************************************************************
# # [INFO] [2024-11-30T23:46:43] ******************************************************************************************
# # [INFO] [2024-11-30T23:46:43] ********** DEBUG - LCMerge - Rest of TS's only for EPIC: PN + MOS's **********************
# # [INFO] [2024-11-30T23:46:43] ******************************************************************************************
# # [INFO] [2024-11-30T23:46:43] DEBUG - LCMerge - Start Light Curves merging per Energy Band
# # [INFO] [2024-11-30T23:46:43] DEBUG - LCMerge - EPIC SRC_NUM: 0
# # [INFO] [2024-11-30T23:46:43] DEBUG - LCMerge - Corrected Light Curves for epn
# # [INFO] [2024-11-30T23:46:43] DEBUG - LCMerge - No Corrected TS for SRC_NUM: 0 from epn
# # [INFO] [2024-11-30T23:46:43] DEBUG - LCMerge - Corrected Light Curves for emos1
# # [INFO] [2024-11-30T23:46:43] DEBUG - LCMerge - No Corrected TS for SRC_NUM: 0 from emos1
# # [INFO] [2024-11-30T23:46:43] DEBUG - LCMerge - Corrected Light Curves for emos2
# # [INFO] [2024-11-30T23:46:43] DEBUG - LCMerge - No Corrected TS for SRC_NUM: 0 from emos2
# # [INFO] [2024-11-30T23:46:43] Module name: RGSMakeFluxed
# # [INFO] [2024-11-30T23:46:43] Instrument: rgs
# # [INFO] [2024-11-30T23:46:43] Stream no.: 0001
# # [INFO] [2024-11-30T23:46:43] Module version number: 1.18
# # [INFO] [2024-11-30T23:46:43] Module name: StampKeywords
# # [INFO] [2024-11-30T23:46:43] Instrument: all
# # [INFO] [2024-11-30T23:46:43] Stream no.: 0001
# # [INFO] [2024-11-30T23:46:43] Module version number: 2.09
# # [INFO] [2024-11-30T23:46:43] Getting ODS version from file\
#     /scratch/225963.1.all.q/xmm/ppsprod/229109/odf/0046_0099300301_SCX00000TCS.FIT
# [COMMAND] [2024-11-30T23:46:43]
export SAS_MEMORY_MODEL=high
# [COMMAND] [2024-11-30T23:46:43]
export SAS_RAND_SEED=0099300301
# # [INFO] [2024-11-30T23:46:43] ## DEBUG ModuleResources: SAS_RAND_SEED set: 0099300301
# [COMMAND] [2024-11-30T23:46:43]
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/P0099300301OBX000CALIND0000.FIT \
stringvalue="\"229109\" \"0046\" \"2024-12-01T00:46:03\" \"1\" \"21.51_20241115_1113\" \"xmmsas_20241108_1150-21.0.0\" \"14.1.0\" \
\"XMM-Newton/SOC\" \"006\" \"CALIBRATION INDEX FILE\"" -w 10
# # [OUTPUT] [2024-11-30T23:46:43]
# # [INFO] [2024-11-30T23:46:43] Task Run Time addattribute 0.0281939506530762s
#
# [COMMAND] [2024-11-30T23:46:43]
export SAS_MEMORY_MODEL=high
# [COMMAND] [2024-11-30T23:46:43]
export SAS_RAND_SEED=0099300301
# # [INFO] [2024-11-30T23:46:43] ## DEBUG ModuleResources: SAS_RAND_SEED set: 0099300301
# [COMMAND] [2024-11-30T23:46:43]
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/P0099300301OBX000ATTTSR0000.FIT \
stringvalue="\"229109\" \"0046\" \"2024-12-01T00:46:03\" \"1\" \"21.51_20241115_1113\" \"xmmsas_20241108_1150-21.0.0\" \"14.1.0\" \
\"XMM-Newton/SOC\" \"006\" \"ATTITUDE TIME SERIES\"" -w 10
# # [OUTPUT] [2024-11-30T23:46:43]
# # [INFO] [2024-11-30T23:46:43] Task Run Time addattribute 0.0244381427764893s
#
# [COMMAND] [2024-11-30T23:46:43]
export SAS_MEMORY_MODEL=high
# [COMMAND] [2024-11-30T23:46:43]
export SAS_RAND_SEED=0099300301
# # [INFO] [2024-11-30T23:46:43] ## DEBUG ModuleResources: SAS_RAND_SEED set: 0099300301
# [COMMAND] [2024-11-30T23:46:43]
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/P0099300301OBX000ORBTSR0000.FIT \
stringvalue="\"229109\" \"0046\" \"2024-12-01T00:46:03\" \"1\" \"21.51_20241115_1113\" \"xmmsas_20241108_1150-21.0.0\" \"14.1.0\" \
\"XMM-Newton/SOC\" \"006\" \"SPACECRAFT ORBIT\"" -w 10
# # [OUTPUT] [2024-11-30T23:46:43]
# # [INFO] [2024-11-30T23:46:43] Task Run Time addattribute 0.0270810127258301s
#
# [COMMAND] [2024-11-30T23:46:43]
export SAS_MEMORY_MODEL=high
# [COMMAND] [2024-11-30T23:46:43]
export SAS_RAND_SEED=0099300301
# # [INFO] [2024-11-30T23:46:43] ## DEBUG ModuleResources: SAS_RAND_SEED set: 0099300301
# [COMMAND] [2024-11-30T23:46:43]
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/P0099300301OBX000RADMON0000.FIT \
stringvalue="\"229109\" \"0046\" \"2024-12-01T00:46:03\" \"1\" \"21.51_20241115_1113\" \"xmmsas_20241108_1150-21.0.0\" \"14.1.0\" \
\"XMM-Newton/SOC\" \"006\" \"RADMON RATE\"" -w 10
# # [OUTPUT] [2024-11-30T23:46:44]
# # [INFO] [2024-11-30T23:46:44] Task Run Time addattribute 0.0232770442962646s
#
# [COMMAND] [2024-11-30T23:46:44]
export SAS_MEMORY_MODEL=high
# [COMMAND] [2024-11-30T23:46:44]
export SAS_RAND_SEED=0099300301
# # [INFO] [2024-11-30T23:46:44] ## DEBUG ModuleResources: SAS_RAND_SEED set: 0099300301
# [COMMAND] [2024-11-30T23:46:44]
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/P0099300301R1S025SRCLI_0000.FIT \
stringvalue="\"229109\" \"0046\" \"2024-12-01T00:46:03\" \"1\" \"21.51_20241115_1113\" \"xmmsas_20241108_1150-21.0.0\" \"14.1.0\" \
\"XMM-Newton/SOC\" \"006\" \"RGS SOURCE LIST\"" -w 10
# # [OUTPUT] [2024-11-30T23:46:44]
# # [INFO] [2024-11-30T23:46:44] Task Run Time addattribute 0.0249049663543701s
#
# [COMMAND] [2024-11-30T23:46:44]
export SAS_MEMORY_MODEL=high
# [COMMAND] [2024-11-30T23:46:44]
export SAS_RAND_SEED=0099300301
# # [INFO] [2024-11-30T23:46:44] ## DEBUG ModuleResources: SAS_RAND_SEED set: 0099300301
# [COMMAND] [2024-11-30T23:46:44]
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/P0099300301R1S025EXPMAP0000.FIT \
stringvalue="\"229109\" \"0046\" \"2024-12-01T00:46:03\" \"1\" \"21.51_20241115_1113\" \"xmmsas_20241108_1150-21.0.0\" \"14.1.0\" \
\"XMM-Newton/SOC\" \"006\" \"RGS EXPOSURE MAP\"" -w 10
# # [OUTPUT] [2024-11-30T23:46:44]
# # [INFO] [2024-11-30T23:46:44] Task Run Time addattribute 0.0351212024688721s
#
# [COMMAND] [2024-11-30T23:46:44]
export SAS_MEMORY_MODEL=high
# [COMMAND] [2024-11-30T23:46:44]
export SAS_RAND_SEED=0099300301
# # [INFO] [2024-11-30T23:46:44] ## DEBUG ModuleResources: SAS_RAND_SEED set: 0099300301
# [COMMAND] [2024-11-30T23:46:44]
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/P0099300301R1S026SRCLI_0000.FIT \
stringvalue="\"229109\" \"0046\" \"2024-12-01T00:46:03\" \"1\" \"21.51_20241115_1113\" \"xmmsas_20241108_1150-21.0.0\" \"14.1.0\" \
\"XMM-Newton/SOC\" \"006\" \"RGS SOURCE LIST\"" -w 10
# # [OUTPUT] [2024-11-30T23:46:44]
# # [INFO] [2024-11-30T23:46:44] Task Run Time addattribute 0.0243151187896729s
#
# [COMMAND] [2024-11-30T23:46:44]
export SAS_MEMORY_MODEL=high
# [COMMAND] [2024-11-30T23:46:44]
export SAS_RAND_SEED=0099300301
# # [INFO] [2024-11-30T23:46:44] ## DEBUG ModuleResources: SAS_RAND_SEED set: 0099300301
# [COMMAND] [2024-11-30T23:46:44]
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/P0099300301R1S026EXPMAP0000.FIT \
stringvalue="\"229109\" \"0046\" \"2024-12-01T00:46:03\" \"1\" \"21.51_20241115_1113\" \"xmmsas_20241108_1150-21.0.0\" \"14.1.0\" \
\"XMM-Newton/SOC\" \"006\" \"RGS EXPOSURE MAP\"" -w 10
# # [OUTPUT] [2024-11-30T23:46:44]
# # [INFO] [2024-11-30T23:46:44] Task Run Time addattribute 0.059812068939209s
#
# [COMMAND] [2024-11-30T23:46:44]
export SAS_MEMORY_MODEL=high
# [COMMAND] [2024-11-30T23:46:44]
export SAS_RAND_SEED=0099300301
# # [INFO] [2024-11-30T23:46:44] ## DEBUG ModuleResources: SAS_RAND_SEED set: 0099300301
# [COMMAND] [2024-11-30T23:46:44]
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/P0099300301R1S031SRCLI_0000.FIT \
stringvalue="\"229109\" \"0046\" \"2024-12-01T00:46:03\" \"1\" \"21.51_20241115_1113\" \"xmmsas_20241108_1150-21.0.0\" \"14.1.0\" \
\"XMM-Newton/SOC\" \"006\" \"RGS SOURCE LIST\"" -w 10
# # [OUTPUT] [2024-11-30T23:46:44]
# # [INFO] [2024-11-30T23:46:44] Task Run Time addattribute 0.0254709720611572s
#
# [COMMAND] [2024-11-30T23:46:44]
export SAS_MEMORY_MODEL=high
# [COMMAND] [2024-11-30T23:46:44]
export SAS_RAND_SEED=0099300301
# # [INFO] [2024-11-30T23:46:44] ## DEBUG ModuleResources: SAS_RAND_SEED set: 0099300301
# [COMMAND] [2024-11-30T23:46:44]
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/P0099300301R1S031EXPMAP0000.FIT \
stringvalue="\"229109\" \"0046\" \"2024-12-01T00:46:03\" \"1\" \"21.51_20241115_1113\" \"xmmsas_20241108_1150-21.0.0\" \"14.1.0\" \
\"XMM-Newton/SOC\" \"006\" \"RGS EXPOSURE MAP\"" -w 10
# # [OUTPUT] [2024-11-30T23:46:44]
# # [INFO] [2024-11-30T23:46:44] Task Run Time addattribute 0.0515940189361572s
#
# [COMMAND] [2024-11-30T23:46:44]
export SAS_MEMORY_MODEL=high
# [COMMAND] [2024-11-30T23:46:44]
export SAS_RAND_SEED=0099300301
# # [INFO] [2024-11-30T23:46:44] ## DEBUG ModuleResources: SAS_RAND_SEED set: 0099300301
# [COMMAND] [2024-11-30T23:46:44]
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/P0099300301R2S034SRCLI_0000.FIT \
stringvalue="\"229109\" \"0046\" \"2024-12-01T00:46:03\" \"1\" \"21.51_20241115_1113\" \"xmmsas_20241108_1150-21.0.0\" \"14.1.0\" \
\"XMM-Newton/SOC\" \"006\" \"RGS SOURCE LIST\"" -w 10
# # [OUTPUT] [2024-11-30T23:46:44]
# # [INFO] [2024-11-30T23:46:44] Task Run Time addattribute 0.0555729866027832s
#
# [COMMAND] [2024-11-30T23:46:44]
export SAS_MEMORY_MODEL=high
# [COMMAND] [2024-11-30T23:46:44]
export SAS_RAND_SEED=0099300301
# # [INFO] [2024-11-30T23:46:44] ## DEBUG ModuleResources: SAS_RAND_SEED set: 0099300301
# [COMMAND] [2024-11-30T23:46:44]
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/P0099300301R2S034EXPMAP0000.FIT \
stringvalue="\"229109\" \"0046\" \"2024-12-01T00:46:03\" \"1\" \"21.51_20241115_1113\" \"xmmsas_20241108_1150-21.0.0\" \"14.1.0\" \
\"XMM-Newton/SOC\" \"006\" \"RGS EXPOSURE MAP\"" -w 10
# # [OUTPUT] [2024-11-30T23:46:44]
# # [INFO] [2024-11-30T23:46:44] Task Run Time addattribute 0.0420479774475098s
#
# [COMMAND] [2024-11-30T23:46:44]
export SAS_MEMORY_MODEL=high
# [COMMAND] [2024-11-30T23:46:44]
export SAS_RAND_SEED=0099300301
# # [INFO] [2024-11-30T23:46:44] ## DEBUG ModuleResources: SAS_RAND_SEED set: 0099300301
# [COMMAND] [2024-11-30T23:46:44]
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/P0099300301R2S035SRCLI_0000.FIT \
stringvalue="\"229109\" \"0046\" \"2024-12-01T00:46:03\" \"1\" \"21.51_20241115_1113\" \"xmmsas_20241108_1150-21.0.0\" \"14.1.0\" \
\"XMM-Newton/SOC\" \"006\" \"RGS SOURCE LIST\"" -w 10
# # [OUTPUT] [2024-11-30T23:46:44]
# # [INFO] [2024-11-30T23:46:44] Task Run Time addattribute 0.0267708301544189s
#
# [COMMAND] [2024-11-30T23:46:44]
export SAS_MEMORY_MODEL=high
# [COMMAND] [2024-11-30T23:46:44]
export SAS_RAND_SEED=0099300301
# # [INFO] [2024-11-30T23:46:44] ## DEBUG ModuleResources: SAS_RAND_SEED set: 0099300301
# [COMMAND] [2024-11-30T23:46:44]
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/P0099300301R2S035EXPMAP0000.FIT \
stringvalue="\"229109\" \"0046\" \"2024-12-01T00:46:03\" \"1\" \"21.51_20241115_1113\" \"xmmsas_20241108_1150-21.0.0\" \"14.1.0\" \
\"XMM-Newton/SOC\" \"006\" \"RGS EXPOSURE MAP\"" -w 10
# # [OUTPUT] [2024-11-30T23:46:44]
# # [INFO] [2024-11-30T23:46:44] Task Run Time addattribute 0.0359630584716797s
#
# [COMMAND] [2024-11-30T23:46:44]
gzip --rsyncable -f intermediate/GlobalHK-all-1-Attitude_GTI-X00000000000000.fits
# # [INFO] [2024-11-30T23:46:44] System RV 0
# [COMMAND] [2024-11-30T23:46:44]
gzip --rsyncable -f intermediate/GlobalHK-all-1-Observing_modes_Pileup_and_OoT_data-X00000000000000.fits
# # [INFO] [2024-11-30T23:46:44] System RV 0
# [COMMAND] [2024-11-30T23:46:44]
gzip --rsyncable -f intermediate/GlobalHK-all-1-Energy_Conversion_Factors-X00000000000000.fits
# # [INFO] [2024-11-30T23:46:44] System RV 0
# [COMMAND] [2024-11-30T23:46:44]
gzip --rsyncable -f intermediate/InstrumentHK-rgs2-1-HK_GTI-X00000000000000.fits
# # [INFO] [2024-11-30T23:46:44] System RV 0
# [COMMAND] [2024-11-30T23:46:44]
gzip --rsyncable -f intermediate/InstrumentHK-rgs1-1-HK_GTI-X00000000000000.fits
# # [INFO] [2024-11-30T23:46:44] System RV 0
# [COMMAND] [2024-11-30T23:46:44]
gzip --rsyncable -f intermediate/RGSEvents-rgs1-1-Exposure_Attitude_GTI-S02500000000000.fits
# # [INFO] [2024-11-30T23:46:44] System RV 0
# [COMMAND] [2024-11-30T23:46:44]
gzip --rsyncable -f intermediate/RGSEvents-rgs1-1-RGS_src_list_with_whole_field-S02500000000000.fits
# # [INFO] [2024-11-30T23:46:44] System RV 0
# [COMMAND] [2024-11-30T23:46:44]
gzip --rsyncable -f intermediate/RGSEvents-rgs1-1-Intermediate_events-S02503000100000.fits
# # [INFO] [2024-11-30T23:46:44] System RV 0
# [COMMAND] [2024-11-30T23:46:44]
gzip --rsyncable -f intermediate/RGSEvents-rgs1-1-Event_list-S02500000000000.fits
# # [INFO] [2024-11-30T23:46:44] System RV 0
# [COMMAND] [2024-11-30T23:46:44]
gzip --rsyncable -f intermediate/RGSEvents-rgs1-1-FILTERED_EVENT_LIST-S02500000000000.fits
# # [INFO] [2024-11-30T23:46:45] System RV 0
# [COMMAND] [2024-11-30T23:46:45]
gzip --rsyncable -f intermediate/RGSEvents-rgs1-2-Exposure_Attitude_GTI-S02600000000000.fits
# # [INFO] [2024-11-30T23:46:45] System RV 0
# [COMMAND] [2024-11-30T23:46:45]
gzip --rsyncable -f intermediate/RGSEvents-rgs1-2-RGS_src_list_with_whole_field-S02600000000000.fits
# # [INFO] [2024-11-30T23:46:45] System RV 0
# [COMMAND] [2024-11-30T23:46:45]
gzip --rsyncable -f intermediate/RGSEvents-rgs1-2-Intermediate_events-S02604000100000.fits
# # [INFO] [2024-11-30T23:46:45] System RV 0
# [COMMAND] [2024-11-30T23:46:45]
gzip --rsyncable -f intermediate/RGSEvents-rgs1-2-Event_list-S02600000000000.fits
# # [INFO] [2024-11-30T23:46:45] System RV 0
# [COMMAND] [2024-11-30T23:46:45]
gzip --rsyncable -f intermediate/RGSEvents-rgs1-2-FILTERED_EVENT_LIST-S02600000000000.fits
# # [INFO] [2024-11-30T23:46:45] System RV 0
# [COMMAND] [2024-11-30T23:46:45]
gzip --rsyncable -f intermediate/RGSEvents-rgs1-3-Exposure_Attitude_GTI-S03100000000000.fits
# # [INFO] [2024-11-30T23:46:45] System RV 0
# [COMMAND] [2024-11-30T23:46:45]
gzip --rsyncable -f intermediate/RGSEvents-rgs1-3-RGS_src_list_with_whole_field-S03100000000000.fits
# # [INFO] [2024-11-30T23:46:45] System RV 0
# [COMMAND] [2024-11-30T23:46:45]
gzip --rsyncable -f intermediate/RGSEvents-rgs1-3-Intermediate_events-S03109000100000.fits
# # [INFO] [2024-11-30T23:46:46] System RV 0
# [COMMAND] [2024-11-30T23:46:46]
gzip --rsyncable -f intermediate/RGSEvents-rgs1-3-Event_list-S03100000000000.fits
# # [INFO] [2024-11-30T23:46:46] System RV 0
# [COMMAND] [2024-11-30T23:46:46]
gzip --rsyncable -f intermediate/RGSEvents-rgs1-3-FILTERED_EVENT_LIST-S03100000000000.fits
# # [INFO] [2024-11-30T23:46:46] System RV 0
# [COMMAND] [2024-11-30T23:46:46]
gzip --rsyncable -f intermediate/RGSEvents-rgs2-1-Exposure_Attitude_GTI-S03400000000000.fits
# # [INFO] [2024-11-30T23:46:46] System RV 0
# [COMMAND] [2024-11-30T23:46:46]
gzip --rsyncable -f intermediate/RGSEvents-rgs2-1-RGS_src_list_with_whole_field-S03400000000000.fits
# # [INFO] [2024-11-30T23:46:46] System RV 0
# [COMMAND] [2024-11-30T23:46:46]
gzip --rsyncable -f intermediate/RGSEvents-rgs2-1-Intermediate_events-S03403000100000.fits
# # [INFO] [2024-11-30T23:46:46] System RV 0
# [COMMAND] [2024-11-30T23:46:46]
gzip --rsyncable -f intermediate/RGSEvents-rgs2-1-Event_list-S03400000000000.fits
# # [INFO] [2024-11-30T23:46:47] System RV 0
# [COMMAND] [2024-11-30T23:46:47]
gzip --rsyncable -f intermediate/RGSEvents-rgs2-1-FILTERED_EVENT_LIST-S03400000000000.fits
# # [INFO] [2024-11-30T23:46:47] System RV 0
# [COMMAND] [2024-11-30T23:46:47]
gzip --rsyncable -f intermediate/RGSEvents-rgs2-2-Exposure_Attitude_GTI-S03500000000000.fits
# # [INFO] [2024-11-30T23:46:47] System RV 0
# [COMMAND] [2024-11-30T23:46:47]
gzip --rsyncable -f intermediate/RGSEvents-rgs2-2-RGS_src_list_with_whole_field-S03500000000000.fits
# # [INFO] [2024-11-30T23:46:47] System RV 0
# [COMMAND] [2024-11-30T23:46:47]
gzip --rsyncable -f intermediate/RGSEvents-rgs2-2-Intermediate_events-S03505000100000.fits
# # [INFO] [2024-11-30T23:46:47] System RV 0
# [COMMAND] [2024-11-30T23:46:47]
gzip --rsyncable -f intermediate/RGSEvents-rgs2-2-Event_list-S03500000000000.fits
# # [INFO] [2024-11-30T23:46:47] System RV 0
# [COMMAND] [2024-11-30T23:46:47]
gzip --rsyncable -f intermediate/RGSEvents-rgs2-2-FILTERED_EVENT_LIST-S03500000000000.fits
# # [INFO] [2024-11-30T23:46:47] System RV 0
