
#!/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:54:46] Module name: VerifyODF
# # [INFO] [2024-11-30T23:54:46] Instrument: all
# # [INFO] [2024-11-30T23:54:46] Stream no.: 0001
# # [INFO] [2024-11-30T23:54:46] Module version number: 1.18
# # [INFO] [2024-11-30T23:54:46] Version of odfingest used was 3.33.1
# # [INFO] [2024-11-30T23:54:46] Module name: MakeCIF
# # [INFO] [2024-11-30T23:54:46] Instrument: all
# # [INFO] [2024-11-30T23:54:46] Stream no.: 0001
# # [INFO] [2024-11-30T23:54:46] Module version number: 1.23
# # [INFO] [2024-11-30T23:54:46] Observation start defined as >2008-05-23T20:48:24.000<
# # [INFO] [2024-11-30T23:54:46] Processing date defined as >2024-12-01T00:54:46<
# [COMMAND] [2024-11-30T23:54:46]
export SAS_MEMORY_MODEL=high
# [COMMAND] [2024-11-30T23:54:46]
export SAS_RAND_SEED=0556201201
# # [INFO] [2024-11-30T23:54:46] ## DEBUG ModuleResources: SAS_RAND_SEED set: 0556201201
# [COMMAND] [2024-11-30T23:54:46]
cifbuild analysisdate=2024-12-01T00:54:46 calindexset=product/P0556201201OBX000CALIND0000.FIT fullpath=no \
observationdate=2008-05-23T20:48:24.000 withccfpath=no -w 10
# # [OUTPUT] [2024-11-30T23:55:14]
# # [INFO] [2024-11-30T23:55:14] Task Run Time cifbuild 27.5347740650177s
#
# [COMMAND] [2024-11-30T23:55:14]
export SAS_MEMORY_MODEL=high
# [COMMAND] [2024-11-30T23:55:14]
export SAS_RAND_SEED=0556201201
# # [INFO] [2024-11-30T23:55:14] ## DEBUG ModuleResources: SAS_RAND_SEED set: 0556201201
# [COMMAND] [2024-11-30T23:55:14]
addattribute attributecomment="\"Telescope (mission) name\" \"Name of observed object\" \"Observation identifier\" \"Date \
observations ended\" \"Name of PI\" \"RA of instrument pointing (degrees)\" \"Observation mode (pointing or slew)\" \"Date \
observations were made\" \"DEC of instrument pointing\"" attributename="TELESCOP OBJECT OBS_ID DATE-END OBSERVER RA_PNT OBS_MODE \
DATE-OBS DEC_PNT" attributetype="string string string string string real string string real" realvalue="\"137.6697915\" \
\"-9.6775000\"" set=product/P0556201201OBX000CALIND0000.FIT stringvalue="\"XMM\" \"A754-offset\" \"0556201201\" \
\"2008-05-23T22:29:48.000\" \"Mr Alberto Leccardi\" \"POINTED\" \"2008-05-23T20:48:24.000\"" -w 10
# # [OUTPUT] [2024-11-30T23:55:14]
# # [INFO] [2024-11-30T23:55:14] Task Run Time addattribute 0.0307378768920898s
#
# [COMMAND] [2024-11-30T23:55:14]
cp /scratch/226740.1.all.q/xmm/ppsprod/229885/product/P0556201201OBX000CALIND0000.FIT \
/scratch/226740.1.all.q/xmm/ppsprod/229885/intermediate/ccf.cif
# # [INFO] [2024-11-30T23:55:14] System RV 0
# # [INFO] [2024-11-30T23:55:14] Module name: GlobalHK
# # [INFO] [2024-11-30T23:55:14] Instrument: all
# # [INFO] [2024-11-30T23:55:14] Stream no.: 0001
# # [INFO] [2024-11-30T23:55:14] Module version number: 1.81
# [COMMAND] [2024-11-30T23:55:14]
export SAS_MEMORY_MODEL=high
# [COMMAND] [2024-11-30T23:55:14]
export SAS_RAND_SEED=0556201201
# # [INFO] [2024-11-30T23:55:14] ## DEBUG ModuleResources: SAS_RAND_SEED set: 0556201201
# [COMMAND] [2024-11-30T23:55:14]
preqgti preqgtifile=intermediate/GlobalHK-all-1-Attitude_GTI-X00000000000000.fits -w 10
# # [OUTPUT] [2024-11-30T23:55:14] ** preqgti::atthkgen: warning (NoAttitude), The attitude was requested for time 327969085.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 327969085.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 327969086.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 327969086.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 327969087.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 327969087.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 327969088.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 327969088.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 327969089.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 327969089.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 268 times 
# # [INFO] [2024-11-30T23:55:14] Task Run Time preqgti 0.366736888885498s
#
# [COMMAND] [2024-11-30T23:55:14]
export SAS_MEMORY_MODEL=high
# [COMMAND] [2024-11-30T23:55:14]
export SAS_RAND_SEED=0556201201
# # [INFO] [2024-11-30T23:55:14] ## DEBUG ModuleResources: SAS_RAND_SEED set: 0556201201
# [COMMAND] [2024-11-30T23:55:14]
atthkgen atthkset=product/P0556201201OBX000ATTTSR0000.FIT preqgtifile=intermediate/GlobalHK-all-1-Attitude_GTI-X00000000000000.fits \
timestep=1 withpreqgti=no -w 10
# # [OUTPUT] [2024-11-30T23:55:14]
# # [INFO] [2024-11-30T23:55:14] Task Run Time atthkgen 0.272912979125977s
#
# [COMMAND] [2024-11-30T23:55:14]
export SAS_MEMORY_MODEL=high
# [COMMAND] [2024-11-30T23:55:14]
export SAS_RAND_SEED=0556201201
# # [INFO] [2024-11-30T23:55:14] ## DEBUG ModuleResources: SAS_RAND_SEED set: 0556201201
# [COMMAND] [2024-11-30T23:55:14]
orbit outfile=product/P0556201201OBX000ORBTSR0000.FIT timestep=1 useobsid=yes -w 10
# # [OUTPUT] [2024-11-30T23:55:15] orbit:- Output FITS Orbit timeseries: product/P0556201201OBX000ORBTSR0000.FIT
# orbit:- Binsize (timestep) of output): 1
# orbit:- Use OBSID data or whole orbit? T 
# # [INFO] [2024-11-30T23:55:15] Task Run Time orbit 0.268267154693604s
#
# [COMMAND] [2024-11-30T23:55:15]
export SAS_MEMORY_MODEL=high
# [COMMAND] [2024-11-30T23:55:15]
export SAS_RAND_SEED=0556201201
# # [INFO] [2024-11-30T23:55:15] ## DEBUG ModuleResources: SAS_RAND_SEED set: 0556201201
# [COMMAND] [2024-11-30T23:55:15]
radmonfix output=product/P0556201201OBX000RADMON0000.FIT radmonlist=odf/1548_0556201201_RMX00100ECX.FIT withoutputfile=yes -w 10
# # [OUTPUT] [2024-11-30T23:55:15] ** radmonfix: warning (Extrapolation), Evaluating OBT-MET fit polynomial at x=249197501.9 which\
#     is outside the time correlation data abscissa range [249198447.2, 249206285.7] - result of extrapolation might be afflicted\
#     with large numerical uncertainty.
# ** radmonfix: warning (Extrapolation), Evaluating OBT-MET fit polynomial at x=249197506 which is outside the time correlation data\
#     abscissa range [249198447.2, 249206285.7] - result of extrapolation might be afflicted with large numerical uncertainty.
# ** radmonfix: warning (Extrapolation), Evaluating OBT-MET fit polynomial at x=249197510 which is outside the time correlation data\
#     abscissa range [249198447.2, 249206285.7] - result of extrapolation might be afflicted with large numerical uncertainty.
# ** radmonfix: warning (Extrapolation), Evaluating OBT-MET fit polynomial at x=249197513.9 which is outside the time correlation\
#     data abscissa range [249198447.2, 249206285.7] - result of extrapolation might be afflicted with large numerical uncertainty.
# ** radmonfix: warning (Extrapolation), Evaluating OBT-MET fit polynomial at x=249197517.9 which is outside the time correlation\
#     data abscissa range [249198447.2, 249206285.7] - result of extrapolation might be afflicted with large numerical uncertainty.
# ** radmonfix: warning (Extrapolation), Evaluating OBT-MET fit polynomial at x=249197522 which is outside the time correlation data\
#     abscissa range [249198447.2, 249206285.7] - result of extrapolation might be afflicted with large numerical uncertainty.
# ** radmonfix: warning (Extrapolation), Evaluating OBT-MET fit polynomial at x=249197526 which is outside the time correlation data\
#     abscissa range [249198447.2, 249206285.7] - result of extrapolation might be afflicted with large numerical uncertainty.
# ** radmonfix: warning (Extrapolation), Evaluating OBT-MET fit polynomial at x=249197529.9 which is outside the time correlation\
#     data abscissa range [249198447.2, 249206285.7] - result of extrapolation might be afflicted with large numerical uncertainty.
# ** radmonfix: warning (Extrapolation), Evaluating OBT-MET fit polynomial at x=249197533.9 which is outside the time correlation\
#     data abscissa range [249198447.2, 249206285.7] - result of extrapolation might be afflicted with large numerical uncertainty.
# ** radmonfix: warning (Extrapolation), Evaluating OBT-MET fit polynomial at x=249197537.9 which is outside the time correlation\
#     data abscissa range [249198447.2, 249206285.7] - result of extrapolation might be afflicted with large numerical uncertainty.
# radmonfix:- Setting DATE-END...
# ** radmonfix: warning (SummaryOfWarnings), 
# warning Extrapolation silently occurred 271 times 
# # [INFO] [2024-11-30T23:55:15] Task Run Time radmonfix 0.19985294342041s
#
# [COMMAND] [2024-11-30T23:55:15]
cp /lhome/jperea/ppsdev/pcms3/src/pipeline/etc/EPICModes.fits \
/scratch/226740.1.all.q/xmm/ppsprod/229885/intermediate/GlobalHK-all-1-Observing_modes_Pileup_and_OoT_data-X00000000000000.fits
# # [INFO] [2024-11-30T23:55:15] System RV 0
# # [INFO] [2024-11-30T23:55:15] Copied EPIC Observing modes table, Pileup data and OoT data table in place
# [COMMAND] [2024-11-30T23:55:15]
cp /lhome/jperea/ppsdev/pcms3/src/pipeline/etc/ecfs.fits \
/scratch/226740.1.all.q/xmm/ppsprod/229885/intermediate/GlobalHK-all-1-Energy_Conversion_Factors-X00000000000000.fits
# # [INFO] [2024-11-30T23:55:15] System RV 0
# [COMMAND] [2024-11-30T23:55:15]
cp /lhome/jperea/ppsdev/pcms3/src/pipeline/etc/ecfgrid.fits.gz \
/scratch/226740.1.all.q/xmm/ppsprod/229885/intermediate/GlobalHK-all-1-Energy_Conversion_Factors_Grid-X00000000000000.fits
# # [INFO] [2024-11-30T23:55:15] System RV 0
# [COMMAND] [2024-11-30T23:55:15]
cp /lhome/jperea/ppsdev/pcms3/src/pipeline/etc/fluxgrid.fits.gz \
/scratch/226740.1.all.q/xmm/ppsprod/229885/intermediate/GlobalHK-all-1-Flux_Grid-X00000000000000.fits
# # [INFO] [2024-11-30T23:55:15] System RV 0
# # [INFO] [2024-11-30T23:55:15] Module name: ExpChooser
# # [INFO] [2024-11-30T23:55:15] Instrument: emos1
# # [INFO] [2024-11-30T23:55:15] Stream no.: 0001
# # [INFO] [2024-11-30T23:55:15] Module version number: 1.38
# # [INFO] [2024-11-30T23:55:15] Checking exposure S630 for processability
# # [INFO] [2024-11-30T23:55:15] Filter: CalClosed
# # [INFO] [2024-11-30T23:55:15] Instrument mode: PrimeFullWindow
# # [INFO] [2024-11-30T23:55:15] Exposure duration: 2221
# # [INFO] [2024-11-30T23:55:15] Exposure ignored due to invalid or unsupported filter
# # [INFO] [2024-11-30T23:55:15] Module name: ExpChooser
# # [INFO] [2024-11-30T23:55:15] Instrument: emos1
# # [INFO] [2024-11-30T23:55:15] Stream no.: 0002
# # [INFO] [2024-11-30T23:55:15] Module version number: 1.38
# # [INFO] [2024-11-30T23:55:15] Checking exposure S631 for processability
# # [INFO] [2024-11-30T23:55:15] Filter: CalClosed
# # [INFO] [2024-11-30T23:55:15] Instrument mode: PrimeFullWindow
# # [INFO] [2024-11-30T23:55:15] Exposure duration: 2222
# # [INFO] [2024-11-30T23:55:15] Exposure ignored due to invalid or unsupported filter
# # [INFO] [2024-11-30T23:55:15] Module name: ExpChooser
# # [INFO] [2024-11-30T23:55:15] Instrument: emos2
# # [INFO] [2024-11-30T23:55:15] Stream no.: 0001
# # [INFO] [2024-11-30T23:55:15] Module version number: 1.38
# # [INFO] [2024-11-30T23:55:15] Checking exposure S004 for processability
# # [INFO] [2024-11-30T23:55:15] Filter: CalClosed
# # [INFO] [2024-11-30T23:55:15] Instrument mode: PrimeFullWindow
# # [INFO] [2024-11-30T23:55:15] Exposure duration: 5891
# # [INFO] [2024-11-30T23:55:15] Exposure ignored due to invalid or unsupported filter
# # [INFO] [2024-11-30T23:55:15] Module name: ExpChooser
# # [INFO] [2024-11-30T23:55:15] Instrument: epn
# # [INFO] [2024-11-30T23:55:15] Stream no.: 0001
# # [INFO] [2024-11-30T23:55:15] Module version number: 1.38
# # [INFO] [2024-11-30T23:55:15] Checking exposure S600 for processability
# # [INFO] [2024-11-30T23:55:15] Filter: CalClosed
# # [INFO] [2024-11-30T23:55:15] Instrument mode: PrimeFullWindow
# # [INFO] [2024-11-30T23:55:15] Exposure duration: 633
# # [INFO] [2024-11-30T23:55:15] Exposure ignored due to invalid or unsupported filter
# # [INFO] [2024-11-30T23:55:15] Module name: ExpChooser
# # [INFO] [2024-11-30T23:55:15] Instrument: epn
# # [INFO] [2024-11-30T23:55:15] Stream no.: 0002
# # [INFO] [2024-11-30T23:55:15] Module version number: 1.38
# # [INFO] [2024-11-30T23:55:15] Checking exposure S601 for processability
# # [INFO] [2024-11-30T23:55:15] Filter: CalClosed
# # [INFO] [2024-11-30T23:55:15] Instrument mode: PrimeFullWindow
# # [INFO] [2024-11-30T23:55:15] Exposure duration: 633
# # [INFO] [2024-11-30T23:55:15] Exposure ignored due to invalid or unsupported filter
# # [INFO] [2024-11-30T23:55:15] Module name: ExpChooser
# # [INFO] [2024-11-30T23:55:15] Instrument: epn
# # [INFO] [2024-11-30T23:55:15] Stream no.: 0003
# # [INFO] [2024-11-30T23:55:15] Module version number: 1.38
# # [INFO] [2024-11-30T23:55:15] Checking exposure U002 for processability
# # [INFO] [2024-11-30T23:55:15] Exposure ignored due to lack of event files
# # [INFO] [2024-11-30T23:55:15] Module name: ExpChooser
# # [INFO] [2024-11-30T23:55:15] Instrument: epn
# # [INFO] [2024-11-30T23:55:15] Stream no.: 0004
# # [INFO] [2024-11-30T23:55:15] Module version number: 1.38
# # [INFO] [2024-11-30T23:55:15] Checking exposure U003 for processability
# # [INFO] [2024-11-30T23:55:15] Exposure ignored due to lack of event files
# # [INFO] [2024-11-30T23:55:15] Module name: ExpChooser
# # [INFO] [2024-11-30T23:55:15] Instrument: epn
# # [INFO] [2024-11-30T23:55:15] Stream no.: 0005
# # [INFO] [2024-11-30T23:55:15] Module version number: 1.38
# # [INFO] [2024-11-30T23:55:15] Checking exposure U004 for processability
# # [INFO] [2024-11-30T23:55:15] Exposure ignored due to lack of event files
# # [INFO] [2024-11-30T23:55:15] Module name: ExpChooser
# # [INFO] [2024-11-30T23:55:15] Instrument: epn
# # [INFO] [2024-11-30T23:55:15] Stream no.: 0006
# # [INFO] [2024-11-30T23:55:15] Module version number: 1.38
# # [INFO] [2024-11-30T23:55:15] Checking exposure U005 for processability
# # [INFO] [2024-11-30T23:55:15] Exposure ignored due to lack of event files
# # [INFO] [2024-11-30T23:55:15] Module name: ExpChooser
# # [INFO] [2024-11-30T23:55:15] Instrument: epn
# # [INFO] [2024-11-30T23:55:15] Stream no.: 0007
# # [INFO] [2024-11-30T23:55:15] Module version number: 1.38
# # [INFO] [2024-11-30T23:55:15] Checking exposure U006 for processability
# # [INFO] [2024-11-30T23:55:15] Exposure ignored due to lack of event files
# # [INFO] [2024-11-30T23:55:15] Module name: ExpChooser
# # [INFO] [2024-11-30T23:55:15] Instrument: epn
# # [INFO] [2024-11-30T23:55:15] Stream no.: 0008
# # [INFO] [2024-11-30T23:55:15] Module version number: 1.38
# # [INFO] [2024-11-30T23:55:15] Checking exposure U007 for processability
# # [INFO] [2024-11-30T23:55:15] Exposure ignored due to lack of event files
# # [INFO] [2024-11-30T23:55:15] Module name: ExpChooser
# # [INFO] [2024-11-30T23:55:15] Instrument: epn
# # [INFO] [2024-11-30T23:55:15] Stream no.: 0009
# # [INFO] [2024-11-30T23:55:15] Module version number: 1.38
# # [INFO] [2024-11-30T23:55:15] Checking exposure U008 for processability
# # [INFO] [2024-11-30T23:55:15] Exposure ignored due to lack of event files
# # [INFO] [2024-11-30T23:55:15] Module name: ExpChooser
# # [INFO] [2024-11-30T23:55:15] Instrument: epn
# # [INFO] [2024-11-30T23:55:15] Stream no.: 0010
# # [INFO] [2024-11-30T23:55:15] Module version number: 1.38
# # [INFO] [2024-11-30T23:55:15] Checking exposure U009 for processability
# # [INFO] [2024-11-30T23:55:15] Exposure ignored due to lack of event files
# # [INFO] [2024-11-30T23:55:15] Module name: ExpChooser
# # [INFO] [2024-11-30T23:55:15] Instrument: epn
# # [INFO] [2024-11-30T23:55:15] Stream no.: 0011
# # [INFO] [2024-11-30T23:55:15] Module version number: 1.38
# # [INFO] [2024-11-30T23:55:15] Checking exposure U010 for processability
# # [INFO] [2024-11-30T23:55:15] Exposure ignored due to lack of event files
# # [INFO] [2024-11-30T23:55:15] Module name: ExpChooser
# # [INFO] [2024-11-30T23:55:15] Instrument: epn
# # [INFO] [2024-11-30T23:55:15] Stream no.: 0012
# # [INFO] [2024-11-30T23:55:15] Module version number: 1.38
# # [INFO] [2024-11-30T23:55:15] Checking exposure U011 for processability
# # [INFO] [2024-11-30T23:55:15] Exposure ignored due to lack of event files
# # [INFO] [2024-11-30T23:55:15] Module name: ExpChooser
# # [INFO] [2024-11-30T23:55:15] Instrument: epn
# # [INFO] [2024-11-30T23:55:15] Stream no.: 0013
# # [INFO] [2024-11-30T23:55:15] Module version number: 1.38
# # [INFO] [2024-11-30T23:55:15] Checking exposure U012 for processability
# # [INFO] [2024-11-30T23:55:15] Exposure ignored due to lack of event files
# # [INFO] [2024-11-30T23:55:15] Module name: ExpChooser
# # [INFO] [2024-11-30T23:55:15] Instrument: epn
# # [INFO] [2024-11-30T23:55:15] Stream no.: 0014
# # [INFO] [2024-11-30T23:55:15] Module version number: 1.38
# # [INFO] [2024-11-30T23:55:15] Checking exposure U013 for processability
# # [INFO] [2024-11-30T23:55:15] Exposure ignored due to lack of event files
# # [INFO] [2024-11-30T23:55:15] Module name: ExpChooser
# # [INFO] [2024-11-30T23:55:15] Instrument: epn
# # [INFO] [2024-11-30T23:55:15] Stream no.: 0015
# # [INFO] [2024-11-30T23:55:15] Module version number: 1.38
# # [INFO] [2024-11-30T23:55:15] Checking exposure U014 for processability
# # [INFO] [2024-11-30T23:55:15] Exposure ignored due to lack of event files
# # [INFO] [2024-11-30T23:55:15] Module name: ExpChooser
# # [INFO] [2024-11-30T23:55:15] Instrument: epn
# # [INFO] [2024-11-30T23:55:15] Stream no.: 0016
# # [INFO] [2024-11-30T23:55:15] Module version number: 1.38
# # [INFO] [2024-11-30T23:55:15] Checking exposure U015 for processability
# # [INFO] [2024-11-30T23:55:15] Exposure ignored due to lack of event files
# # [INFO] [2024-11-30T23:55:15] Module name: ExpChooser
# # [INFO] [2024-11-30T23:55:15] Instrument: epn
# # [INFO] [2024-11-30T23:55:15] Stream no.: 0017
# # [INFO] [2024-11-30T23:55:15] Module version number: 1.38
# # [INFO] [2024-11-30T23:55:15] Checking exposure U016 for processability
# # [INFO] [2024-11-30T23:55:15] Exposure ignored due to lack of event files
# # [INFO] [2024-11-30T23:55:15] Module name: ExpChooser
# # [INFO] [2024-11-30T23:55:15] Instrument: epn
# # [INFO] [2024-11-30T23:55:15] Stream no.: 0018
# # [INFO] [2024-11-30T23:55:15] Module version number: 1.38
# # [INFO] [2024-11-30T23:55:15] Checking exposure U017 for processability
# # [INFO] [2024-11-30T23:55:15] Exposure ignored due to lack of event files
# # [INFO] [2024-11-30T23:55:15] Module name: ExpChooser
# # [INFO] [2024-11-30T23:55:15] Instrument: epn
# # [INFO] [2024-11-30T23:55:15] Stream no.: 0019
# # [INFO] [2024-11-30T23:55:15] Module version number: 1.38
# # [INFO] [2024-11-30T23:55:15] Checking exposure U018 for processability
# # [INFO] [2024-11-30T23:55:15] Exposure ignored due to lack of event files
# # [INFO] [2024-11-30T23:55:15] Module name: ExpChooser
# # [INFO] [2024-11-30T23:55:15] Instrument: epn
# # [INFO] [2024-11-30T23:55:15] Stream no.: 0020
# # [INFO] [2024-11-30T23:55:16] Module version number: 1.38
# # [INFO] [2024-11-30T23:55:16] Checking exposure U019 for processability
# # [INFO] [2024-11-30T23:55:16] Exposure ignored due to lack of event files
# # [INFO] [2024-11-30T23:55:16] Module name: ExpChooser
# # [INFO] [2024-11-30T23:55:16] Instrument: epn
# # [INFO] [2024-11-30T23:55:16] Stream no.: 0021
# # [INFO] [2024-11-30T23:55:16] Module version number: 1.38
# # [INFO] [2024-11-30T23:55:16] Checking exposure U020 for processability
# # [INFO] [2024-11-30T23:55:16] Exposure ignored due to lack of event files
# # [INFO] [2024-11-30T23:55:16] Module name: ExpChooser
# # [INFO] [2024-11-30T23:55:16] Instrument: epn
# # [INFO] [2024-11-30T23:55:16] Stream no.: 0022
# # [INFO] [2024-11-30T23:55:16] Module version number: 1.38
# # [INFO] [2024-11-30T23:55:16] Checking exposure U021 for processability
# # [INFO] [2024-11-30T23:55:16] Exposure ignored due to lack of event files
# # [INFO] [2024-11-30T23:55:16] Module name: ExpChooser
# # [INFO] [2024-11-30T23:55:16] Instrument: epn
# # [INFO] [2024-11-30T23:55:16] Stream no.: 0023
# # [INFO] [2024-11-30T23:55:16] Module version number: 1.38
# # [INFO] [2024-11-30T23:55:16] Checking exposure U022 for processability
# # [INFO] [2024-11-30T23:55:16] Exposure ignored due to lack of event files
# # [INFO] [2024-11-30T23:55:16] Module name: ExpChooser
# # [INFO] [2024-11-30T23:55:16] Instrument: epn
# # [INFO] [2024-11-30T23:55:16] Stream no.: 0024
# # [INFO] [2024-11-30T23:55:16] Module version number: 1.38
# # [INFO] [2024-11-30T23:55:16] Checking exposure U023 for processability
# # [INFO] [2024-11-30T23:55:16] Exposure ignored due to lack of event files
# # [INFO] [2024-11-30T23:55:16] Module name: ExpChooser
# # [INFO] [2024-11-30T23:55:16] Instrument: epn
# # [INFO] [2024-11-30T23:55:16] Stream no.: 0025
# # [INFO] [2024-11-30T23:55:16] Module version number: 1.38
# # [INFO] [2024-11-30T23:55:16] Checking exposure U024 for processability
# # [INFO] [2024-11-30T23:55:16] Exposure ignored due to lack of event files
# # [INFO] [2024-11-30T23:55:16] Module name: ExpChooser
# # [INFO] [2024-11-30T23:55:16] Instrument: epn
# # [INFO] [2024-11-30T23:55:16] Stream no.: 0026
# # [INFO] [2024-11-30T23:55:16] Module version number: 1.38
# # [INFO] [2024-11-30T23:55:16] Checking exposure U025 for processability
# # [INFO] [2024-11-30T23:55:16] Exposure ignored due to lack of event files
# # [INFO] [2024-11-30T23:55:16] Module name: ExpChooser
# # [INFO] [2024-11-30T23:55:16] Instrument: epn
# # [INFO] [2024-11-30T23:55:16] Stream no.: 0027
# # [INFO] [2024-11-30T23:55:16] Module version number: 1.38
# # [INFO] [2024-11-30T23:55:16] Checking exposure U201 for processability
# # [INFO] [2024-11-30T23:55:16] Exposure ignored due to lack of event files
# # [INFO] [2024-11-30T23:55:16] Module name: ExpChooser
# # [INFO] [2024-11-30T23:55:16] Instrument: om
# # [INFO] [2024-11-30T23:55:16] Stream no.: 0001
# # [INFO] [2024-11-30T23:55:16] Module version number: 1.38
# # [INFO] [2024-11-30T23:55:16] Checking exposure S400 for processability
# # [INFO] [2024-11-30T23:55:16] Filter: V
# # [INFO] [2024-11-30T23:55:16] Instrument mode: UNDEFINED
# # [INFO] [2024-11-30T23:55:16] Exposure duration: 801
# # [INFO] [2024-11-30T23:55:16] OM datamode=
# # [INFO] [2024-11-30T23:55:16] Exposure ignored due to invalid or unsupported instrument mode
# # [INFO] [2024-11-30T23:55:16] Module name: ExpChooser
# # [INFO] [2024-11-30T23:55:16] Instrument: om
# # [INFO] [2024-11-30T23:55:16] Stream no.: 0002
# # [INFO] [2024-11-30T23:55:16] Module version number: 1.38
# # [INFO] [2024-11-30T23:55:16] Checking exposure S401 for processability
# # [INFO] [2024-11-30T23:55:16] Filter: V
# # [INFO] [2024-11-30T23:55:16] Instrument mode: UNDEFINED
# # [INFO] [2024-11-30T23:55:16] Exposure duration: 801
# # [INFO] [2024-11-30T23:55:16] OM datamode=
# # [INFO] [2024-11-30T23:55:16] Exposure ignored due to invalid or unsupported instrument mode
# # [INFO] [2024-11-30T23:55:16] Module name: ExpChooser
# # [INFO] [2024-11-30T23:55:16] Instrument: om
# # [INFO] [2024-11-30T23:55:16] Stream no.: 0003
# # [INFO] [2024-11-30T23:55:16] Module version number: 1.38
# # [INFO] [2024-11-30T23:55:16] Checking exposure S405 for processability
# # [INFO] [2024-11-30T23:55:16] Filter: V
# # [INFO] [2024-11-30T23:55:16] Instrument mode: Image
# # [INFO] [2024-11-30T23:55:16] Exposure duration: 799
# # [INFO] [2024-11-30T23:55:16] Module name: InstrumentHK
# # [INFO] [2024-11-30T23:55:16] Instrument: om
# # [INFO] [2024-11-30T23:55:16] Stream no.: 0001
# # [INFO] [2024-11-30T23:55:16] Module version number: 2.01
# # [INFO] [2024-11-30T23:55:16] Module name: USNOExtract
# # [INFO] [2024-11-30T23:55:16] Instrument: all
# # [INFO] [2024-11-30T23:55:16] Stream no.: 0001
# # [INFO] [2024-11-30T23:55:16] Module version number: 0.07
# [COMMAND] [2024-11-30T23:55:16]
export \
PFILES=/scratch/226740.1.all.q/xmm/ppsprod/229885/pfiles;/lhome/pcms/local/rhel8.6/GNU_CC_CXX_11.3.0/headas/architecture/syspfiles
# [COMMAND] [2024-11-30T23:55:16]
export SAS_MEMORY_MODEL=high
# [COMMAND] [2024-11-30T23:55:16]
export SAS_RAND_SEED=0556201201
# # [INFO] [2024-11-30T23:55:16] ## DEBUG ModuleResources: SAS_RAND_SEED set: 0556201201
# [COMMAND] [2024-11-30T23:55:16]
fimgcreate bitpix=8 datafile=none headfile=intermediate/USNOExtract-all-1-fimgcreate_kwds-X00000000000000.ascii naxes='648,648' \
outfile=intermediate/USNOExtract-all-1-dummy_image-X00000000000000.fits
# # [OUTPUT] [2024-11-30T23:55:16] Written the output image ......... 
# # [INFO] [2024-11-30T23:55:16] Task Run Time fimgcreate 0.0403909683227539s
#
# [COMMAND] [2024-11-30T23:55:16]
export SAS_MEMORY_MODEL=high
# [COMMAND] [2024-11-30T23:55:16]
export SAS_RAND_SEED=0556201201
# # [INFO] [2024-11-30T23:55:16] ## DEBUG ModuleResources: SAS_RAND_SEED set: 0556201201
# [COMMAND] [2024-11-30T23:55:16]
catprep catextract=intermediate/USNOExtract-all-1-Reference_catalogue-X00000000000000.fits \
srclistset=product/P0556201201OBX000CALIND0000.FIT -w 10
# # [OUTPUT] [2024-11-30T23:55:18]
# # [INFO] [2024-11-30T23:55:18] Task Run Time catprep 2.15124106407166s
#
# [COMMAND] [2024-11-30T23:55:18]
cp /scratch/226740.1.all.q/xmm/ppsprod/229885/intermediate/USNOExtract-all-1-Reference_catalogue-X00000000000000.fits \
/scratch/226740.1.all.q/xmm/ppsprod/229885/product/P0556201201OBX000REFCAT0000.FIT
# # [INFO] [2024-11-30T23:55:18] System RV 0
# # [INFO] [2024-11-30T23:55:18] Reading keyword RA_OBJ value 1.37669791500000E+02 comment [deg] Ra of the observed object
# # [INFO] [2024-11-30T23:55:18] Reading keyword OBS_MODE value POINTING comment Observation mode (pointing or slew)
# # [INFO] [2024-11-30T23:55:18] Reading keyword DATE-OBS value 2008-05-23T20:48:24.000 comment Date observations were made
# # [INFO] [2024-11-30T23:55:18] Reading keyword DATE-END value 2008-05-23T22:29:48.000 comment Date observations ended
# # [INFO] [2024-11-30T23:55:18] Reading keyword TELESCOP value XMM comment Telescope (mission) name
# # [INFO] [2024-11-30T23:55:18] Reading keyword OBS_ID value 0556201201 comment Observation identifier
# # [INFO] [2024-11-30T23:55:18] Reading keyword DEC_OBJ value -9.67750000000000E+00 comment [deg] Dec of the observed object
# [COMMAND] [2024-11-30T23:55:18]
export SAS_MEMORY_MODEL=high
# [COMMAND] [2024-11-30T23:55:18]
export SAS_RAND_SEED=0556201201
# # [INFO] [2024-11-30T23:55:18] ## DEBUG ModuleResources: SAS_RAND_SEED set: 0556201201
# [COMMAND] [2024-11-30T23:55:18]
addattribute attributecomment="\"[deg] Ra of the observed object\" \"Observation mode (pointing or slew)\" \"Date observations were \
made\" \"Date observations ended\" \"Telescope (mission) name\" \"Observation identifier\" \"[deg] Dec of the observed object\"" \
attributename="RA_OBJ OBS_MODE DATE-OBS DATE-END TELESCOP OBS_ID DEC_OBJ" attributetype="\"real\" \"string\" \"string\" \"string\" \
\"string\" \"string\" \"real\"" realvalue="1.37669791500000E+02 -9.67750000000000E+00" set=product/P0556201201OBX000REFCAT0000.FIT \
stringvalue="POINTING 2008-05-23T20:48:24.000 2008-05-23T22:29:48.000 XMM 0556201201" -w 10
# # [OUTPUT] [2024-11-30T23:55:18] ** addattribute: warning (creatorKeywordNotFound), The CREATOR keyword could not be found in\
#     dataset with name 'product/P0556201201OBX000REFCAT0000.FIT'
# ** addattribute: warning (dateKeywordNotFound), The DATE keyword could not be found in dataset with name\
#     'product/P0556201201OBX000REFCAT0000.FIT' 
# # [INFO] [2024-11-30T23:55:18] Task Run Time addattribute 0.0395679473876953s
#
# # [INFO] [2024-11-30T23:55:18] Module name: OMgetFlat
# # [INFO] [2024-11-30T23:55:18] Instrument: om
# # [INFO] [2024-11-30T23:55:18] Stream no.: 0001
# # [INFO] [2024-11-30T23:55:18] Module version number: 1.07
# [COMMAND] [2024-11-30T23:55:18]
export SAS_MEMORY_MODEL=high
# [COMMAND] [2024-11-30T23:55:18]
export SAS_RAND_SEED=0556201201
# # [INFO] [2024-11-30T23:55:18] ## DEBUG ModuleResources: SAS_RAND_SEED set: 0556201201
# [COMMAND] [2024-11-30T23:55:18]
omflatgen outset=intermediate/OMgetFlat-om-1-OM_Flatfield-X00000000000000.fits -w 10
# # [OUTPUT] [2024-11-30T23:55:18] ** omflatgen: warning (ArgumentIgnored), Warning: countRateFrameRatio argument in small-scale\
#     flatfield retrieval currently ignored 
# # [INFO] [2024-11-30T23:55:18] Task Run Time omflatgen 0.192582845687866s
#
# # [INFO] [2024-11-30T23:55:18] Module name: OMExpAnalyse
# # [INFO] [2024-11-30T23:55:18] Instrument: om
# # [INFO] [2024-11-30T23:55:18] Stream no.: 0003
# # [INFO] [2024-11-30T23:55:18] Module version number: 1.06
# [COMMAND] [2024-11-30T23:55:18]
export SAS_MEMORY_MODEL=high
# [COMMAND] [2024-11-30T23:55:18]
export SAS_RAND_SEED=0556201201
# # [INFO] [2024-11-30T23:55:18] ## DEBUG ModuleResources: SAS_RAND_SEED set: 0556201201
# [COMMAND] [2024-11-30T23:55:18]
omprep modeset=3 nphset=odf/1548_0556201201_OMX00000NPH.FIT \
outset=intermediate/OMExpAnalyse-om-3-omprep_tracking_history-S40500000000000.fits pehset=odf/1548_0556201201_OMX00000PEH.FIT \
set=odf/1548_0556201201_OMS40500THX.FIT wdxset=odf/1548_0556201201_OMS40500WDX.FIT -w 10
# # [OUTPUT] [2024-11-30T23:55:18]
# # [INFO] [2024-11-30T23:55:18] Task Run Time omprep 0.177292823791504s
#
# [COMMAND] [2024-11-30T23:55:18]
export SAS_MEMORY_MODEL=high
# [COMMAND] [2024-11-30T23:55:18]
export SAS_RAND_SEED=0556201201
# # [INFO] [2024-11-30T23:55:18] ## DEBUG ModuleResources: SAS_RAND_SEED set: 0556201201
# [COMMAND] [2024-11-30T23:55:18]
omthconv nphset=odf/1548_0556201201_OMX00000NPH.FIT \
outset=intermediate/OMExpAnalyse-om-3-OM_TRACKING_STAR_TIMESERIES-S40500000000000.fits \
thxset=intermediate/OMExpAnalyse-om-3-omprep_tracking_history-S40500000000000.fits -w 10
# # [OUTPUT] [2024-11-30T23:55:19]
# # [INFO] [2024-11-30T23:55:19] Task Run Time omthconv 0.165805101394653s
#
# [COMMAND] [2024-11-30T23:55:19]
cp /scratch/226740.1.all.q/xmm/ppsprod/229885/intermediate/OMExpAnalyse-om-3-OM_TRACKING_STAR_TIMESERIES-S40500000000000.fits \
/scratch/226740.1.all.q/xmm/ppsprod/229885/product/P0556201201OMS405TSTRTS0000.FIT
# # [INFO] [2024-11-30T23:55:19] System RV 0
# [COMMAND] [2024-11-30T23:55:19]
export SAS_MEMORY_MODEL=high
# [COMMAND] [2024-11-30T23:55:19]
export SAS_RAND_SEED=0556201201
# # [INFO] [2024-11-30T23:55:19] ## DEBUG ModuleResources: SAS_RAND_SEED set: 0556201201
# [COMMAND] [2024-11-30T23:55:19]
omdrifthist plotfile=intermediate/OMExpAnalyse-om-3-OM_TRACKING_HISTORY_PLOT-S40500000000000.ps \
set=intermediate/OMExpAnalyse-om-3-omprep_tracking_history-S40500000000000.fits -w 10
# # [OUTPUT] [2024-11-30T23:55:19]
# # [INFO] [2024-11-30T23:55:19] Task Run Time omdrifthist 0.58611798286438s
#
# [COMMAND] [2024-11-30T23:55:19]
pstopdf intermediate/OMExpAnalyse-om-3-OM_TRACKING_HISTORY_PLOT-S40500000000000.ps product/P0556201201OMS405TSHPLT0000.PDF
# # [OUTPUT] [2024-11-30T23:55:19]
# # [INFO] [2024-11-30T23:55:19] Module name: OMFastAnalyse
# # [INFO] [2024-11-30T23:55:19] Instrument: om
# # [INFO] [2024-11-30T23:55:19] Stream no.: 0003
# # [INFO] [2024-11-30T23:55:19] Module version number: 1.36
# # [INFO] [2024-11-30T23:55:19] DEBUG --- exp_id: S405, filter: V
# # [INFO] [2024-11-30T23:55:19] No Fast Mode Windows to process
# # [INFO] [2024-11-30T23:55:19] Module name: OMImageAnalyse
# # [INFO] [2024-11-30T23:55:19] Instrument: om
# # [INFO] [2024-11-30T23:55:19] Stream no.: 0003
# # [INFO] [2024-11-30T23:55:19] Module version number: 3.28
# # [INFO] [2024-11-30T23:55:19] Looking for Engineering Mode Files...
# # [INFO] [2024-11-30T23:55:19] Found None Engineering mode Windows.
# # [INFO] [2024-11-30T23:55:19] Found No Full Frame Engineering 4 Windows.
# # [INFO] [2024-11-30T23:55:19] Found no Full Frame Engineering 2 Windows.
# # [INFO] [2024-11-30T23:55:19] Looking for Image Mode Files...
# # [INFO] [2024-11-30T23:55:19] Found 1 Image mode images.
# # [INFO] [2024-11-30T23:55:19] Analysing odf/1548_0556201201_OMS40500IMI.FIT for image identification
# # [INFO] [2024-11-30T23:55:19] Identified mode: USER
# # [INFO] [2024-11-30T23:55:19] Failed to make a suitable combined image. Will process components as USER mode.
# # [INFO] [2024-11-30T23:55:19] Processing USER Images.
# # [INFO] [2024-11-30T23:55:19] 1 images to process.
# # [INFO] [2024-11-30T23:55:19] Processing S405:0:odf/1548_0556201201_OMS40500IMI.FIT
# [COMMAND] [2024-11-30T23:55:19]
export SAS_MEMORY_MODEL=high
# [COMMAND] [2024-11-30T23:55:19]
export SAS_RAND_SEED=0556201201
# # [INFO] [2024-11-30T23:55:19] ## DEBUG ModuleResources: SAS_RAND_SEED set: 0556201201
# [COMMAND] [2024-11-30T23:55:19]
omprep modeset=0 nphset=odf/1548_0556201201_OMX00000NPH.FIT outset=intermediate/OMImageAnalyse-om-3-Raw_Image-S40500000000000.fits \
pehset=odf/1548_0556201201_OMX00000PEH.FIT set=odf/1548_0556201201_OMS40500IMI.FIT wdxset=odf/1548_0556201201_OMS40500WDX.FIT -w 10
# # [OUTPUT] [2024-11-30T23:55:20] ** omprep: warning (NoSuchIPPV), There is no IPPV `DATA_MODE_1' in the actual exposure 
# # [INFO] [2024-11-30T23:55:20] Task Run Time omprep 0.219595909118652s
#
# # [INFO] [2024-11-30T23:55:20] Retrieving FILTER value
# # [INFO] [2024-11-30T23:55:20] FILTER = V
# # [INFO] [2024-11-30T23:55:20] Retrieving EXPOSURE value
# # [INFO] [2024-11-30T23:55:20] EXPOSURE = 8.00000000000000E+02
# [COMMAND] [2024-11-30T23:55:20]
export SAS_MEMORY_MODEL=high
# [COMMAND] [2024-11-30T23:55:20]
export SAS_RAND_SEED=0556201201
# # [INFO] [2024-11-30T23:55:20] ## DEBUG ModuleResources: SAS_RAND_SEED set: 0556201201
# [COMMAND] [2024-11-30T23:55:20]
omcosflag set=intermediate/OMImageAnalyse-om-3-Raw_Image-S40500000000000.fits \
thxset=intermediate/OMExpAnalyse-om-3-omprep_tracking_history-S40500000000000.fits -w 10
# # [OUTPUT] [2024-11-30T23:55:20]
# # [INFO] [2024-11-30T23:55:20] Task Run Time omcosflag 0.441143035888672s
#
# [COMMAND] [2024-11-30T23:55:20]
export SAS_MEMORY_MODEL=high
# [COMMAND] [2024-11-30T23:55:20]
export SAS_RAND_SEED=0556201201
# # [INFO] [2024-11-30T23:55:20] ## DEBUG ModuleResources: SAS_RAND_SEED set: 0556201201
# [COMMAND] [2024-11-30T23:55:20]
omflatfield inorbitflatset=intermediate/OMgetFlat-om-1-OM_Flatfield-X00000000000000.fits \
outset=intermediate/OMImageAnalyse-om-3-OSW_Flat_Fielded_Image-S40500000000000.fits \
set=intermediate/OMImageAnalyse-om-3-Raw_Image-S40500000000000.fits \
thxset=intermediate/OMExpAnalyse-om-3-omprep_tracking_history-S40500000000000.fits \
tsflatset=intermediate/OMImageAnalyse-om-3-OSW_Flat_Field-S40500000000000.fits -w 10
# # [OUTPUT] [2024-11-30T23:55:20]
# # [INFO] [2024-11-30T23:55:20] Task Run Time omflatfield 0.123672008514404s
#
# [COMMAND] [2024-11-30T23:55:20]
export SAS_MEMORY_MODEL=high
# [COMMAND] [2024-11-30T23:55:20]
export SAS_RAND_SEED=0556201201
# # [INFO] [2024-11-30T23:55:20] ## DEBUG ModuleResources: SAS_RAND_SEED set: 0556201201
# [COMMAND] [2024-11-30T23:55:20]
ommodmap mod8product=Y mod8set=intermediate/OMImageAnalyse-om-3-OSW_MODULO_8_IMAGE-S40500000000000.fits nbox=16 nsig=6 \
outset=product/P0556201201OMS405IMAGE_0000.FIT set=intermediate/OMImageAnalyse-om-3-OSW_Flat_Fielded_Image-S40500000000000.fits -w \
10
# # [OUTPUT] [2024-11-30T23:55:32]
# # [INFO] [2024-11-30T23:55:32] Task Run Time ommodmap 12.0998051166534s
#
# [COMMAND] [2024-11-30T23:55:32]
export SAS_MEMORY_MODEL=high
# [COMMAND] [2024-11-30T23:55:32]
export SAS_RAND_SEED=0556201201
# # [INFO] [2024-11-30T23:55:32] ## DEBUG ModuleResources: SAS_RAND_SEED set: 0556201201
# [COMMAND] [2024-11-30T23:55:32]
omqualitymap mode=setqualityimage outset=product/P0556201201OMS405IMAGE_0000.FIT set=product/P0556201201OMS405IMAGE_0000.FIT \
srclistset= -w 10
# # [OUTPUT] [2024-11-30T23:55:32] ** omqualitymap: warning (parameter), srclistset = NONE; 
# ** omqualitymap: warning (overwrite), The file product/P0556201201OMS405IMAGE_0000.FIT will be overwritten
# ** omqualitymap: warning (parameter), srclistset = NONE; 
# # [INFO] [2024-11-30T23:55:33] Task Run Time omqualitymap 0.121229887008667s
#
# [COMMAND] [2024-11-30T23:55:33]
export SAS_MEMORY_MODEL=high
# [COMMAND] [2024-11-30T23:55:33]
export SAS_RAND_SEED=0556201201
# # [INFO] [2024-11-30T23:55:33] ## DEBUG ModuleResources: SAS_RAND_SEED set: 0556201201
# [COMMAND] [2024-11-30T23:55:33]
omdetect detectextended=Y minsignificance=3 nsigma=2 outset=product/P0556201201OMS405SWSRLI0000.FIT \
regionfile=product/P0556201201OMS405SWSREG0000.ASC set=product/P0556201201OMS405IMAGE_0000.FIT -w 10
# # [OUTPUT] [2024-11-30T23:55:54]
# # [INFO] [2024-11-30T23:55:54] Task Run Time omdetect 21.0827388763428s
#
# [COMMAND] [2024-11-30T23:55:54]
export SAS_MEMORY_MODEL=high
# [COMMAND] [2024-11-30T23:55:54]
export SAS_RAND_SEED=0556201201
# # [INFO] [2024-11-30T23:55:54] ## DEBUG ModuleResources: SAS_RAND_SEED set: 0556201201
# [COMMAND] [2024-11-30T23:55:54]
omqualitymap mode=setqualityimage outset=product/P0556201201OMS405IMAGE_0000.FIT set=product/P0556201201OMS405IMAGE_0000.FIT \
srclistset=product/P0556201201OMS405SWSRLI0000.FIT -w 10
# # [OUTPUT] [2024-11-30T23:55:54] ** omqualitymap: warning (parameter), srclistset = product/P0556201201OMS405SWSRLI0000.FIT; 
# ** omqualitymap: warning (overwrite), The file product/P0556201201OMS405IMAGE_0000.FIT will be overwritten
# ** omqualitymap: warning (parameter), srclistset = product/P0556201201OMS405SWSRLI0000.FIT; 
# # [INFO] [2024-11-30T23:55:54] Task Run Time omqualitymap 0.0857529640197754s
#
# [COMMAND] [2024-11-30T23:55:54]
export SAS_MEMORY_MODEL=high
# [COMMAND] [2024-11-30T23:55:54]
export SAS_RAND_SEED=0556201201
# # [INFO] [2024-11-30T23:55:54] ## DEBUG ModuleResources: SAS_RAND_SEED set: 0556201201
# [COMMAND] [2024-11-30T23:55:54]
ommag set=product/P0556201201OMS405SWSRLI0000.FIT -w 10
# # [OUTPUT] [2024-11-30T23:55:54]
# TDP corr factor is: 1.13254189 
# L265 tdpCorrFactor= 1.13254189 
# L348 getting the column data
# In: 347.170410 293.719604 1 752
# X,Y,pdepcorr: 1099.17041 949.719604 1.00000000 
# In: 265.709747 407.513031 1 752
# X,Y,pdepcorr: 1017.70972 1063.51306 1.00000000 
# In: 272.393646 236.652298 1 752
# X,Y,pdepcorr: 1024.39368 892.652283 1.00000000 
# In: 441.355743 569.029419 1 752
# X,Y,pdepcorr: 1193.35571 1225.02942 1.00000000 
# In: 540.221252 150.425598 1 752
# X,Y,pdepcorr: 1292.22119 806.425598 1.00000000 
# In: 93.8312836 230.145004 1 752
# X,Y,pdepcorr: 845.831299 886.145020 1.00000000 
# In: 275.118805 487.102478 1 752
# X,Y,pdepcorr: 1027.11877 1143.10254 1.00000000 
# In: 225.150452 191.845901 1 752
# X,Y,pdepcorr: 977.150452 847.845886 1.00000000 
# In: 568.259033 184.558411 1 752
# X,Y,pdepcorr: 1320.25903 840.558411 1.00000000 
# In: 528.395203 523.992615 1 752
# X,Y,pdepcorr: 1280.39526 1179.99268 1.00000000 
# In: 614.086060 638.396545 1 752
# X,Y,pdepcorr: 1366.08606 1294.39648 1.00000000 
# In: 225.637405 271.672302 1 752
# X,Y,pdepcorr: 977.637390 927.672302 1.00000000 
# In: 290.687683 444.291443 1 752
# X,Y,pdepcorr: 1042.68774 1100.29150 1.00000000 
# In: 600.400513 474.271606 1 752
# X,Y,pdepcorr: 1352.40051 1130.27161 1.00000000 
# In: 98.7273407 325.513702 1 752
# X,Y,pdepcorr: 850.727356 981.513672 1.00000000 
# In: 148.398972 566.031799 1 752
# X,Y,pdepcorr: 900.398987 1222.03174 1.00000000 
# In: 425.007538 418.724487 1 752
# X,Y,pdepcorr: 1177.00757 1074.72449 1.00000000 
# In: 351.876709 533.381897 1 752
# X,Y,pdepcorr: 1103.87671 1189.38184 1.00000000 
# In: 526.587708 605.020020 1 752
# X,Y,pdepcorr: 1278.58765 1261.02002 1.00000000 
# In: 424.037598 456.773682 1 752
# X,Y,pdepcorr: 1176.03760 1112.77368 1.00000000 
# In: 125.872246 566.391541 1 752
# X,Y,pdepcorr: 877.872253 1222.39160 1.00000000 
# In: 2.63756275 281.540131 1 752
# X,Y,pdepcorr: 754.637573 937.540161 1.00000000 
# In: 132.874756 605.385071 1 752
# X,Y,pdepcorr: 884.874756 1261.38501 1.00000000 
# In: 557.497437 588.723511 1 752
# X,Y,pdepcorr: 1309.49744 1244.72351 1.00000000 
# In: 59.6105728 226.254227 1 752
# X,Y,pdepcorr: 811.610596 882.254211 1.00000000 
# In: 60.3759079 131.509140 1 752
# X,Y,pdepcorr: 812.375916 787.509155 1.00000000 
# In: 141.912064 20.8290615 1 752
# X,Y,pdepcorr: 893.912048 676.829041 1.00000000 
# In: 39.3380013 33.6996613 1 752
# X,Y,pdepcorr: 791.338013 689.699646 1.00000000 
# In: 612.087463 61.0200386 1 752
# X,Y,pdepcorr: 1364.08740 717.020020 1.00000000 
# # [INFO] [2024-11-30T23:55:54] Task Run Time ommag 0.113679170608521s
#
# [COMMAND] [2024-11-30T23:55:54]
export SAS_MEMORY_MODEL=high
# [COMMAND] [2024-11-30T23:55:54]
export SAS_RAND_SEED=0556201201
# # [INFO] [2024-11-30T23:55:54] ## DEBUG ModuleResources: SAS_RAND_SEED set: 0556201201
# [COMMAND] [2024-11-30T23:55:54]
omatt catfile=product/P0556201201OBX000REFCAT0000.FIT ppsoswset=product/P0556201201OMS405SIMAGE0000.FIT \
set=product/P0556201201OMS405IMAGE_0000.FIT sourcelistset=product/P0556201201OMS405SWSRLI0000.FIT usecat=Y -w 10
# # [OUTPUT] [2024-11-30T23:56:00]
# # [INFO] [2024-11-30T23:56:00] Task Run Time omatt 5.99329209327698s
#
# [COMMAND] [2024-11-30T23:56:00]
export \
PFILES=/scratch/226740.1.all.q/xmm/ppsprod/229885/pfiles;/lhome/pcms/local/rhel8.6/GNU_CC_CXX_11.3.0/headas/architecture/syspfiles
# [COMMAND] [2024-11-30T23:56:00]
export SAS_MEMORY_MODEL=high
# [COMMAND] [2024-11-30T23:56:00]
export SAS_RAND_SEED=0556201201
# # [INFO] [2024-11-30T23:56:00] ## DEBUG ModuleResources: SAS_RAND_SEED set: 0556201201
# [COMMAND] [2024-11-30T23:56:00]
fimgstat clobber=Y infile=product/P0556201201OMS405SIMAGE0000.FIT max=0 mean=0 min=0 mode=ql num=0 \
outfile=intermediate/OMImageAnalyse-om-3-OSW_0_sky_image_statistics-S40500000000000.ascii rms=0 sum=0 threshlo=INDEF threshup=INDEF \
xmax=0 xmin=0 ymax=0 ymin=0
# # [OUTPUT] [2024-11-30T23:56:00]
# ****** successfully exited ******
# # [INFO] [2024-11-30T23:56:00] Task Run Time fimgstat 0.0792632102966309s
#
# # [INFO] [2024-11-30T23:56:00] DEBUG - doCommand fullcmd : implot.py --fitsImage=product/P0556201201OMS405SIMAGE0000.FIT\
#     --outfile=product/P0556201201OMS405SIMAGE0000.PNG
# [COMMAND] [2024-11-30T23:56:00]
export SAS_MEMORY_MODEL=high
# [COMMAND] [2024-11-30T23:56:00]
export SAS_RAND_SEED=0556201201
# # [INFO] [2024-11-30T23:56:00] ## DEBUG ModuleResources: SAS_RAND_SEED set: 0556201201
# [COMMAND] [2024-11-30T23:56:00]
implot.py --fitsImage=product/P0556201201OMS405SIMAGE0000.FIT --outfile=product/P0556201201OMS405SIMAGE0000.PNG
# # [OUTPUT] [2024-11-30T23:56:03] Image shape. y,x: (842, 814) figsize: [8.5, 6.8]
# Cropped image shape. y,x: (841, 813) x/y ratio: 0.97 
# # [INFO] [2024-11-30T23:56:03] Task Run Time implot.py 3.06163811683655s
#
# # [INFO] [2024-11-30T23:56:03] Processing RUDI5_LR Images.
# # [INFO] [2024-11-30T23:56:03] 0 images to process.
# # [INFO] [2024-11-30T23:56:03] Processing RUDI5_HR Images.
# # [INFO] [2024-11-30T23:56:03] 0 images to process.
# # [INFO] [2024-11-30T23:56:03] Processing PFENG2 Images.
# # [INFO] [2024-11-30T23:56:03] 0 images to process.
# # [INFO] [2024-11-30T23:56:03] Processing FFENG2 Images.
# # [INFO] [2024-11-30T23:56:03] 0 images to process.
# # [INFO] [2024-11-30T23:56:03] Processing ENG4 Images.
# # [INFO] [2024-11-30T23:56:03] 0 images to process.
# # [INFO] [2024-11-30T23:56:03] All images processed
# # [INFO] [2024-11-30T23:56:03] Writing accounting information
# # [INFO] [2024-11-30T23:56:03] DEBUG: sourcedetails array: $VAR1 = [
# 'product/P0556201201OMS405SWSRLI0000.FIT|USER|V '
# ]; 
# # [INFO] [2024-11-30T23:56:03] DEBUG: skyimagedetails array: $VAR1 = [
# 'product/P0556201201OMS405SIMAGE0000.FIT|USER|V|8.00000000000000E+02|S405 '
# ]; 
# # [INFO] [2024-11-30T23:56:03] Module name: OMMosaic
# # [INFO] [2024-11-30T23:56:03] Instrument: om
# # [INFO] [2024-11-30T23:56:03] Stream no.: 0001
# # [INFO] [2024-11-30T23:56:03] Module version number: 2.39
# # [INFO] [2024-11-30T23:56:03] Looking For Images to Mosaic...
# # [INFO] [2024-11-30T23:56:03] Running addtomosaic.py on\
#     intermediate/OMImageAnalyse-om-3-OM_SKY_IMAGE_DETAILS-S40500000000000.ascii
# # [INFO] [2024-11-30T23:56:03] DEBUG - doCommand fullcmd : addtomosaic.py\
#     --file=intermediate/OMImageAnalyse-om-3-OM_SKY_IMAGE_DETAILS-S40500000000000.ascii
# [COMMAND] [2024-11-30T23:56:03]
export SAS_MEMORY_MODEL=high
# [COMMAND] [2024-11-30T23:56:03]
export SAS_RAND_SEED=0556201201
# # [INFO] [2024-11-30T23:56:03] ## DEBUG ModuleResources: SAS_RAND_SEED set: 0556201201
# [COMMAND] [2024-11-30T23:56:03]
addtomosaic.py --file=intermediate/OMImageAnalyse-om-3-OM_SKY_IMAGE_DETAILS-S40500000000000.ascii
# # [OUTPUT] [2024-11-30T23:56:04] intermediate/OMImageAnalyse-om-3-OM_SKY_IMAGE_DETAILS-S40500000000000.ascii
# ['product/P0556201201OMS405SIMAGE0000.FIT|USER|V|8.00000000000000E+02|S405|1\n'] 
# # [INFO] [2024-11-30T23:56:04] Task Run Time addtomosaic.py 1.0994279384613s
#
# # [INFO] [2024-11-30T23:56:04] Found 1 Images
# # [INFO] [2024-11-30T23:56:04] Grouping Images by Mode then Filter
# # [INFO] [2024-11-30T23:56:04] Mode: ALL
# # [INFO] [2024-11-30T23:56:04] Filter: V
# # [INFO] [2024-11-30T23:56:04] Image File : product/P0556201201OMS405SIMAGE0000.FIT
# # [INFO] [2024-11-30T23:56:04] Creating Images...
# # [INFO] [2024-11-30T23:56:04] MODE: ALL
# # [INFO] [2024-11-30T23:56:04] FILTER: V
# # [INFO] [2024-11-30T23:56:04] CREATING: product/P0556201201OMX000XSIMAGV000.FIT, Duration: 800
# [COMMAND] [2024-11-30T23:56:04]
export SAS_MEMORY_MODEL=high
# [COMMAND] [2024-11-30T23:56:04]
export SAS_RAND_SEED=0556201201
# # [INFO] [2024-11-30T23:56:04] ## DEBUG ModuleResources: SAS_RAND_SEED set: 0556201201
# [COMMAND] [2024-11-30T23:56:04]
ommosaic imagesets=product/P0556201201OMS405SIMAGE0000.FIT mincorr=0 mosaicedset=product/P0556201201OMX000XSIMAGV000.FIT -w 10
# # [OUTPUT] [2024-11-30T23:56:17] L1109 c3 xLeft=137.724929 xRight=137.615647 
# 291.704 137.679 -9.67414 
# # [INFO] [2024-11-30T23:56:17] Task Run Time ommosaic 13.0963821411133s
#
# # [INFO] [2024-11-30T23:56:17] Only one exposure in mosaic. No omdetect,ommag and omqualitymap 
# # [INFO] [2024-11-30T23:56:17] DEBUG - doCommand fullcmd : implot.py --fitsImage=product/P0556201201OMX000XSIMAGV000.FIT\
#     --outfile=product/P0556201201OMX000XSIMAGV000.PNG
# [COMMAND] [2024-11-30T23:56:17]
export SAS_MEMORY_MODEL=high
# [COMMAND] [2024-11-30T23:56:17]
export SAS_RAND_SEED=0556201201
# # [INFO] [2024-11-30T23:56:17] ## DEBUG ModuleResources: SAS_RAND_SEED set: 0556201201
# [COMMAND] [2024-11-30T23:56:17]
implot.py --fitsImage=product/P0556201201OMX000XSIMAGV000.FIT --outfile=product/P0556201201OMX000XSIMAGV000.PNG
# # [OUTPUT] [2024-11-30T23:56:21] Image shape. y,x: (842, 814) figsize: [8.5, 6.8]
# Cropped image shape. y,x: (841, 813) x/y ratio: 0.97 
# # [INFO] [2024-11-30T23:56:21] Task Run Time implot.py 3.31831002235413s
#
# # [INFO] [2024-11-30T23:56:21] Done: ALL
# # [INFO] [2024-11-30T23:56:21] Module name: OMSourceCombine
# # [INFO] [2024-11-30T23:56:21] Instrument: om
# # [INFO] [2024-11-30T23:56:21] Stream no.: 0001
# # [INFO] [2024-11-30T23:56:21] Module version number: 3.9
# # [INFO] [2024-11-30T23:56:21] Looking For Source Lists to Combine...
# # [INFO] [2024-11-30T23:56:21] DEBUG: file: intermediate/OMImageAnalyse-om-3-OM_SRC_IMAGE_DETAILS-S40500000000000.ascii
# # [INFO] [2024-11-30T23:56:21] DEBUG: line product/P0556201201OMS405SWSRLI0000.FIT|USER|V
# # [INFO] [2024-11-30T23:56:21] DEBUG: split to tmp: $VAR1 = [
# 'product/P0556201201OMS405SWSRLI0000.FIT',
# 'USER',
# 'V'
# ]; 
# # [INFO] [2024-11-30T23:56:21] DEBUG: SrcLstDetails: $VAR1 = [
# [
# 'product/P0556201201OMS405SWSRLI0000.FIT',
# 'USER',
# 'V'
# ]
# ]; 
# # [INFO] [2024-11-30T23:56:21] Found 1 Lists
# # [INFO] [2024-11-30T23:56:21] Grouping Lists by Mode then Filter
# # [INFO] [2024-11-30T23:56:21] DEBUG: SortedSrcLstDetails: $VAR1 = [
# [
# 'product/P0556201201OMS405SWSRLI0000.FIT',
# 'USER',
# 'V'
# ]
# ]; 
# # [INFO] [2024-11-30T23:56:21] Mode: USER
# # [INFO] [2024-11-30T23:56:21] DEBUG: Src: ARRAY(0x55932e0)
# # [INFO] [2024-11-30T23:56:21] DEBUG: mode_p: 1
# # [INFO] [2024-11-30T23:56:21] DEBUG: SSrc[modep]: USER
# # [INFO] [2024-11-30T23:56:21] DEBUG: SSrc[filterp]: V
# # [INFO] [2024-11-30T23:56:21] Filter: V
# # [INFO] [2024-11-30T23:56:21] Image File : product/P0556201201OMS405SWSRLI0000.FIT
# # [INFO] [2024-11-30T23:56:21] Creating Combined Lists...
# # [INFO] [2024-11-30T23:56:21] MODE: USER
# # [INFO] [2024-11-30T23:56:21] FILTER: V
# # [INFO] [2024-11-30T23:56:21] Done: USER
# # [INFO] [2024-11-30T23:56:21] CREATING: product/P0556201201OMX000OBSMLI0000.FIT
# [COMMAND] [2024-11-30T23:56:21]
export SAS_MEMORY_MODEL=high
# [COMMAND] [2024-11-30T23:56:21]
export SAS_RAND_SEED=0556201201
# # [INFO] [2024-11-30T23:56:21] ## DEBUG ModuleResources: SAS_RAND_SEED set: 0556201201
# [COMMAND] [2024-11-30T23:56:21]
omsrclistcomb catfile=product/P0556201201OBX000REFCAT0000.FIT outset=product/P0556201201OMX000OBSMLI0000.FIT \
sourcelistsets=product/P0556201201OMS405SWSRLI0000.FIT usecat=Y -w 10
# # [OUTPUT] [2024-11-30T23:56:22]
# # [INFO] [2024-11-30T23:56:22] Task Run Time omsrclistcomb 1.39031791687012s
#
# # [INFO] [2024-11-30T23:56:22] No MOSAIC lists to combine
