
#!/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:47] Module name: VerifyODF
# # [INFO] [2024-11-30T23:54:47] Instrument: all
# # [INFO] [2024-11-30T23:54:47] Stream no.: 0001
# # [INFO] [2024-11-30T23:54:47] Module version number: 1.18
# # [INFO] [2024-11-30T23:54:47] Version of odfingest used was 3.33.1
# # [INFO] [2024-11-30T23:54:47] Module name: MakeCIF
# # [INFO] [2024-11-30T23:54:47] Instrument: all
# # [INFO] [2024-11-30T23:54:47] Stream no.: 0001
# # [INFO] [2024-11-30T23:54:47] Module version number: 1.23
# # [INFO] [2024-11-30T23:54:47] Observation start defined as >2002-04-10T11:28:15.000<
# # [INFO] [2024-11-30T23:54:47] Processing date defined as >2024-12-01T00:54:47<
# [COMMAND] [2024-11-30T23:54:47]
export SAS_MEMORY_MODEL=high
# [COMMAND] [2024-11-30T23:54:47]
export SAS_RAND_SEED=0112522201
# # [INFO] [2024-11-30T23:54:47] ## DEBUG ModuleResources: SAS_RAND_SEED set: 0112522201
# [COMMAND] [2024-11-30T23:54:47]
cifbuild analysisdate=2024-12-01T00:54:47 calindexset=product/P0112522201OBX000CALIND0000.FIT fullpath=no \
observationdate=2002-04-10T11:28:15.000 withccfpath=no -w 10
# # [OUTPUT] [2024-11-30T23:55:17]
# # [INFO] [2024-11-30T23:55:17] Task Run Time cifbuild 29.6560990810394s
#
# [COMMAND] [2024-11-30T23:55:17]
export SAS_MEMORY_MODEL=high
# [COMMAND] [2024-11-30T23:55:17]
export SAS_RAND_SEED=0112522201
# # [INFO] [2024-11-30T23:55:17] ## DEBUG ModuleResources: SAS_RAND_SEED set: 0112522201
# [COMMAND] [2024-11-30T23:55:17]
addattribute attributecomment="\"Telescope (mission) name\" \"Name of PI\" \"RA of instrument pointing (degrees)\" \"Observation \
identifier\" \"Name of observed object\" \"Date observations were made\" \"Date observations ended\" \"Observation mode (pointing or \
slew)\" \"DEC of instrument pointing\"" attributename="TELESCOP OBSERVER RA_PNT OBS_ID OBJECT DATE-OBS DATE-END OBS_MODE DEC_PNT" \
attributetype="string string real string string string string string real" realvalue="\"124.8708345\" \"70.7063889\"" \
set=product/P0112522201OBX000CALIND0000.FIT stringvalue="\"XMM\" \"Dr Michael Watson\" \"0112522201\" \"Holmberg II\" \
\"2002-04-10T11:28:15.000\" \"2002-04-10T12:20:43.000\" \"POINTED\"" -w 10
# # [OUTPUT] [2024-11-30T23:55:17]
# # [INFO] [2024-11-30T23:55:17] Task Run Time addattribute 0.109846115112305s
#
# [COMMAND] [2024-11-30T23:55:17]
cp /scratch/226753.1.all.q/xmm/ppsprod/229897/product/P0112522201OBX000CALIND0000.FIT \
/scratch/226753.1.all.q/xmm/ppsprod/229897/intermediate/ccf.cif
# # [INFO] [2024-11-30T23:55:17] System RV 0
# # [INFO] [2024-11-30T23:55:17] Module name: GlobalHK
# # [INFO] [2024-11-30T23:55:17] Instrument: all
# # [INFO] [2024-11-30T23:55:17] Stream no.: 0001
# # [INFO] [2024-11-30T23:55:17] Module version number: 1.81
# [COMMAND] [2024-11-30T23:55:17]
export SAS_MEMORY_MODEL=high
# [COMMAND] [2024-11-30T23:55:17]
export SAS_RAND_SEED=0112522201
# # [INFO] [2024-11-30T23:55:17] ## DEBUG ModuleResources: SAS_RAND_SEED set: 0112522201
# [COMMAND] [2024-11-30T23:55:17]
preqgti preqgtifile=intermediate/GlobalHK-all-1-Attitude_GTI-X00000000000000.fits -w 10
# # [OUTPUT] [2024-11-30T23:55:18] ** preqgti::atthkgen: warning (NoAttitude), The attitude was requested for time 134828542.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 134828542.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 134828543.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 134828543.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 134828544.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 134828544.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 134828545.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 134828545.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 134828546.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 134828546.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 26748 times 
# # [INFO] [2024-11-30T23:55:18] Task Run Time preqgti 0.665571928024292s
#
# [COMMAND] [2024-11-30T23:55:18]
export SAS_MEMORY_MODEL=high
# [COMMAND] [2024-11-30T23:55:18]
export SAS_RAND_SEED=0112522201
# # [INFO] [2024-11-30T23:55:18] ## DEBUG ModuleResources: SAS_RAND_SEED set: 0112522201
# [COMMAND] [2024-11-30T23:55:18]
atthkgen atthkset=product/P0112522201OBX000ATTTSR0000.FIT preqgtifile=intermediate/GlobalHK-all-1-Attitude_GTI-X00000000000000.fits \
timestep=1 withpreqgti=no -w 10
# # [OUTPUT] [2024-11-30T23:55:18]
# # [INFO] [2024-11-30T23:55:18] Task Run Time atthkgen 0.129817962646484s
#
# [COMMAND] [2024-11-30T23:55:18]
export SAS_MEMORY_MODEL=high
# [COMMAND] [2024-11-30T23:55:18]
export SAS_RAND_SEED=0112522201
# # [INFO] [2024-11-30T23:55:18] ## DEBUG ModuleResources: SAS_RAND_SEED set: 0112522201
# [COMMAND] [2024-11-30T23:55:18]
orbit outfile=product/P0112522201OBX000ORBTSR0000.FIT timestep=1 useobsid=yes -w 10
# # [OUTPUT] [2024-11-30T23:55:18] orbit:- Output FITS Orbit timeseries: product/P0112522201OBX000ORBTSR0000.FIT
# orbit:- Binsize (timestep) of output): 1
# orbit:- Use OBSID data or whole orbit? T 
# # [INFO] [2024-11-30T23:55:18] Task Run Time orbit 0.222064018249512s
#
# [COMMAND] [2024-11-30T23:55:18]
export SAS_MEMORY_MODEL=high
# [COMMAND] [2024-11-30T23:55:18]
export SAS_RAND_SEED=0112522201
# # [INFO] [2024-11-30T23:55:18] ## DEBUG ModuleResources: SAS_RAND_SEED set: 0112522201
# [COMMAND] [2024-11-30T23:55:18]
radmonfix output=product/P0112522201OBX000RADMON0000.FIT radmonlist=odf/0428_0112522201_RMX00100ECX.FIT withoutputfile=yes -w 10
# # [OUTPUT] [2024-11-30T23:55:18] ** radmonfix: warning (Extrapolation), Evaluating OBT-MET fit polynomial at x=56062557.95 which\
#     is outside the time correlation data abscissa range [56063032.71, 56067383.55] - result of extrapolation might be afflicted\
#     with large numerical uncertainty.
# ** radmonfix: warning (Extrapolation), Evaluating OBT-MET fit polynomial at x=56062561.95 which is outside the time correlation\
#     data abscissa range [56063032.71, 56067383.55] - result of extrapolation might be afflicted with large numerical uncertainty.
# ** radmonfix: warning (Extrapolation), Evaluating OBT-MET fit polynomial at x=56062565.95 which is outside the time correlation\
#     data abscissa range [56063032.71, 56067383.55] - result of extrapolation might be afflicted with large numerical uncertainty.
# ** radmonfix: warning (Extrapolation), Evaluating OBT-MET fit polynomial at x=56062569.95 which is outside the time correlation\
#     data abscissa range [56063032.71, 56067383.55] - result of extrapolation might be afflicted with large numerical uncertainty.
# ** radmonfix: warning (Extrapolation), Evaluating OBT-MET fit polynomial at x=56062573.95 which is outside the time correlation\
#     data abscissa range [56063032.71, 56067383.55] - result of extrapolation might be afflicted with large numerical uncertainty.
# ** radmonfix: warning (Extrapolation), Evaluating OBT-MET fit polynomial at x=56062577.95 which is outside the time correlation\
#     data abscissa range [56063032.71, 56067383.55] - result of extrapolation might be afflicted with large numerical uncertainty.
# ** radmonfix: warning (Extrapolation), Evaluating OBT-MET fit polynomial at x=56062581.95 which is outside the time correlation\
#     data abscissa range [56063032.71, 56067383.55] - result of extrapolation might be afflicted with large numerical uncertainty.
# ** radmonfix: warning (Extrapolation), Evaluating OBT-MET fit polynomial at x=56062585.95 which is outside the time correlation\
#     data abscissa range [56063032.71, 56067383.55] - result of extrapolation might be afflicted with large numerical uncertainty.
# ** radmonfix: warning (Extrapolation), Evaluating OBT-MET fit polynomial at x=56062589.95 which is outside the time correlation\
#     data abscissa range [56063032.71, 56067383.55] - result of extrapolation might be afflicted with large numerical uncertainty.
# ** radmonfix: warning (Extrapolation), Evaluating OBT-MET fit polynomial at x=56062593.95 which is outside the time correlation\
#     data abscissa range [56063032.71, 56067383.55] - result of extrapolation might be afflicted with large numerical uncertainty.
# radmonfix:- Setting DATE-END...
# ** radmonfix: warning (SummaryOfWarnings), 
# warning Extrapolation silently occurred 260 times 
# # [INFO] [2024-11-30T23:55:18] Task Run Time radmonfix 0.0750479698181152s
#
# [COMMAND] [2024-11-30T23:55:18]
cp /lhome/jperea/ppsdev/pcms3/src/pipeline/etc/EPICModes.fits \
/scratch/226753.1.all.q/xmm/ppsprod/229897/intermediate/GlobalHK-all-1-Observing_modes_Pileup_and_OoT_data-X00000000000000.fits
# # [INFO] [2024-11-30T23:55:18] System RV 0
# # [INFO] [2024-11-30T23:55:18] Copied EPIC Observing modes table, Pileup data and OoT data table in place
# [COMMAND] [2024-11-30T23:55:18]
cp /lhome/jperea/ppsdev/pcms3/src/pipeline/etc/ecfs.fits \
/scratch/226753.1.all.q/xmm/ppsprod/229897/intermediate/GlobalHK-all-1-Energy_Conversion_Factors-X00000000000000.fits
# # [INFO] [2024-11-30T23:55:18] System RV 0
# [COMMAND] [2024-11-30T23:55:18]
cp /lhome/jperea/ppsdev/pcms3/src/pipeline/etc/ecfgrid.fits.gz \
/scratch/226753.1.all.q/xmm/ppsprod/229897/intermediate/GlobalHK-all-1-Energy_Conversion_Factors_Grid-X00000000000000.fits
# # [INFO] [2024-11-30T23:55:18] System RV 0
# [COMMAND] [2024-11-30T23:55:18]
cp /lhome/jperea/ppsdev/pcms3/src/pipeline/etc/fluxgrid.fits.gz \
/scratch/226753.1.all.q/xmm/ppsprod/229897/intermediate/GlobalHK-all-1-Flux_Grid-X00000000000000.fits
# # [INFO] [2024-11-30T23:55:18] System RV 0
# # [INFO] [2024-11-30T23:55:18] Module name: ExpChooser
# # [INFO] [2024-11-30T23:55:18] Instrument: emos2
# # [INFO] [2024-11-30T23:55:18] Stream no.: 0001
# # [INFO] [2024-11-30T23:55:18] Module version number: 1.38
# # [INFO] [2024-11-30T23:55:18] Checking exposure S004 for processability
# # [INFO] [2024-11-30T23:55:18] Filter: CalClosed
# # [INFO] [2024-11-30T23:55:18] Instrument mode: PrimeFullWindow
# # [INFO] [2024-11-30T23:55:18] Exposure duration: 2833
# # [INFO] [2024-11-30T23:55:18] Exposure ignored due to invalid or unsupported filter
# # [INFO] [2024-11-30T23:55:18] Module name: ExpChooser
# # [INFO] [2024-11-30T23:55:18] Instrument: epn
# # [INFO] [2024-11-30T23:55:18] Stream no.: 0001
# # [INFO] [2024-11-30T23:55:18] Module version number: 1.38
# # [INFO] [2024-11-30T23:55:18] Checking exposure S005 for processability
# # [INFO] [2024-11-30T23:55:18] Filter: CalClosed
# # [INFO] [2024-11-30T23:55:18] Instrument mode: PrimeFullWindow
# # [INFO] [2024-11-30T23:55:18] Exposure duration: 547
# # [INFO] [2024-11-30T23:55:18] Exposure ignored due to invalid or unsupported filter
# # [INFO] [2024-11-30T23:55:18] Module name: ExpChooser
# # [INFO] [2024-11-30T23:55:18] Instrument: epn
# # [INFO] [2024-11-30T23:55:18] Stream no.: 0002
# # [INFO] [2024-11-30T23:55:18] Module version number: 1.38
# # [INFO] [2024-11-30T23:55:18] Checking exposure U002 for processability
# # [INFO] [2024-11-30T23:55:18] Exposure ignored due to lack of event files
# # [INFO] [2024-11-30T23:55:18] Module name: ExpChooser
# # [INFO] [2024-11-30T23:55:18] Instrument: epn
# # [INFO] [2024-11-30T23:55:18] Stream no.: 0003
# # [INFO] [2024-11-30T23:55:18] Module version number: 1.38
# # [INFO] [2024-11-30T23:55:18] Checking exposure U003 for processability
# # [INFO] [2024-11-30T23:55:18] Exposure ignored due to lack of event files
# # [INFO] [2024-11-30T23:55:18] Module name: ExpChooser
# # [INFO] [2024-11-30T23:55:18] Instrument: epn
# # [INFO] [2024-11-30T23:55:18] Stream no.: 0004
# # [INFO] [2024-11-30T23:55:18] Module version number: 1.38
# # [INFO] [2024-11-30T23:55:18] Checking exposure U004 for processability
# # [INFO] [2024-11-30T23:55:18] Exposure ignored due to lack of event files
# # [INFO] [2024-11-30T23:55:18] Module name: ExpChooser
# # [INFO] [2024-11-30T23:55:18] Instrument: epn
# # [INFO] [2024-11-30T23:55:18] Stream no.: 0005
# # [INFO] [2024-11-30T23:55:18] Module version number: 1.38
# # [INFO] [2024-11-30T23:55:18] Checking exposure U005 for processability
# # [INFO] [2024-11-30T23:55:18] Exposure ignored due to lack of event files
# # [INFO] [2024-11-30T23:55:18] Module name: ExpChooser
# # [INFO] [2024-11-30T23:55:18] Instrument: epn
# # [INFO] [2024-11-30T23:55:18] Stream no.: 0006
# # [INFO] [2024-11-30T23:55:18] Module version number: 1.38
# # [INFO] [2024-11-30T23:55:18] Checking exposure U006 for processability
# # [INFO] [2024-11-30T23:55:18] Exposure ignored due to lack of event files
# # [INFO] [2024-11-30T23:55:18] Module name: ExpChooser
# # [INFO] [2024-11-30T23:55:18] Instrument: epn
# # [INFO] [2024-11-30T23:55:18] Stream no.: 0007
# # [INFO] [2024-11-30T23:55:18] Module version number: 1.38
# # [INFO] [2024-11-30T23:55:18] Checking exposure U007 for processability
# # [INFO] [2024-11-30T23:55:18] Exposure ignored due to lack of event files
# # [INFO] [2024-11-30T23:55:18] Module name: ExpChooser
# # [INFO] [2024-11-30T23:55:18] Instrument: epn
# # [INFO] [2024-11-30T23:55:18] Stream no.: 0008
# # [INFO] [2024-11-30T23:55:18] Module version number: 1.38
# # [INFO] [2024-11-30T23:55:18] Checking exposure U008 for processability
# # [INFO] [2024-11-30T23:55:18] Exposure ignored due to lack of event files
# # [INFO] [2024-11-30T23:55:18] Module name: ExpChooser
# # [INFO] [2024-11-30T23:55:18] Instrument: epn
# # [INFO] [2024-11-30T23:55:18] Stream no.: 0009
# # [INFO] [2024-11-30T23:55:18] Module version number: 1.38
# # [INFO] [2024-11-30T23:55:18] Checking exposure U009 for processability
# # [INFO] [2024-11-30T23:55:18] Exposure ignored due to lack of event files
# # [INFO] [2024-11-30T23:55:18] Module name: ExpChooser
# # [INFO] [2024-11-30T23:55:18] Instrument: epn
# # [INFO] [2024-11-30T23:55:18] Stream no.: 0010
# # [INFO] [2024-11-30T23:55:18] Module version number: 1.38
# # [INFO] [2024-11-30T23:55:18] Checking exposure U010 for processability
# # [INFO] [2024-11-30T23:55:18] Exposure ignored due to lack of event files
# # [INFO] [2024-11-30T23:55:18] Module name: ExpChooser
# # [INFO] [2024-11-30T23:55:18] Instrument: epn
# # [INFO] [2024-11-30T23:55:18] Stream no.: 0011
# # [INFO] [2024-11-30T23:55:18] Module version number: 1.38
# # [INFO] [2024-11-30T23:55:18] Checking exposure U011 for processability
# # [INFO] [2024-11-30T23:55:18] Exposure ignored due to lack of event files
# # [INFO] [2024-11-30T23:55:18] Module name: ExpChooser
# # [INFO] [2024-11-30T23:55:18] Instrument: epn
# # [INFO] [2024-11-30T23:55:18] Stream no.: 0012
# # [INFO] [2024-11-30T23:55:18] Module version number: 1.38
# # [INFO] [2024-11-30T23:55:18] Checking exposure U012 for processability
# # [INFO] [2024-11-30T23:55:18] Exposure ignored due to lack of event files
# # [INFO] [2024-11-30T23:55:18] Module name: ExpChooser
# # [INFO] [2024-11-30T23:55:18] Instrument: epn
# # [INFO] [2024-11-30T23:55:18] Stream no.: 0013
# # [INFO] [2024-11-30T23:55:18] Module version number: 1.38
# # [INFO] [2024-11-30T23:55:18] Checking exposure U013 for processability
# # [INFO] [2024-11-30T23:55:18] Exposure ignored due to lack of event files
# # [INFO] [2024-11-30T23:55:18] Module name: ExpChooser
# # [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.38
# # [INFO] [2024-11-30T23:55:18] Checking exposure S006 for processability
# # [INFO] [2024-11-30T23:55:18] Filter: UVW1
# # [INFO] [2024-11-30T23:55:18] Instrument mode: Image
# # [INFO] [2024-11-30T23:55:18] Exposure duration: 2998
# # [INFO] [2024-11-30T23:55:18] Module name: ExpChooser
# # [INFO] [2024-11-30T23:55:18] Instrument: om
# # [INFO] [2024-11-30T23:55:18] Stream no.: 0002
# # [INFO] [2024-11-30T23:55:18] Module version number: 1.38
# # [INFO] [2024-11-30T23:55:18] Checking exposure S400 for processability
# # [INFO] [2024-11-30T23:55:18] Filter: UVW1
# # [INFO] [2024-11-30T23:55:18] Instrument mode: UNDEFINED
# # [INFO] [2024-11-30T23:55:18] Exposure duration: 2998
# # [INFO] [2024-11-30T23:55:18] OM datamode=
# # [INFO] [2024-11-30T23:55:18] Exposure ignored due to invalid or unsupported instrument mode
# # [INFO] [2024-11-30T23:55:18] Module name: ExpChooser
# # [INFO] [2024-11-30T23:55:18] Instrument: emos1
# # [INFO] [2024-11-30T23:55:18] Stream no.: 0001
# # [INFO] [2024-11-30T23:55:18] Module version number: 1.38
# # [INFO] [2024-11-30T23:55:18] Checking exposure S003 for processability
# # [INFO] [2024-11-30T23:55:18] Filter: CalClosed
# # [INFO] [2024-11-30T23:55:18] Instrument mode: PrimeFullWindow
# # [INFO] [2024-11-30T23:55:18] Exposure duration: 2833
# # [INFO] [2024-11-30T23:55:18] Exposure ignored due to invalid or unsupported filter
# # [INFO] [2024-11-30T23:55:18] Module name: InstrumentHK
# # [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: 2.01
# # [INFO] [2024-11-30T23:55:18] Module name: USNOExtract
# # [INFO] [2024-11-30T23:55:18] Instrument: all
# # [INFO] [2024-11-30T23:55:18] Stream no.: 0001
# # [INFO] [2024-11-30T23:55:18] Module version number: 0.07
# [COMMAND] [2024-11-30T23:55:18]
export \
PFILES=/scratch/226753.1.all.q/xmm/ppsprod/229897/pfiles;/lhome/pcms/local/rhel8.6/GNU_CC_CXX_11.3.0/headas/architecture/syspfiles
# [COMMAND] [2024-11-30T23:55:18]
export SAS_MEMORY_MODEL=high
# [COMMAND] [2024-11-30T23:55:18]
export SAS_RAND_SEED=0112522201
# # [INFO] [2024-11-30T23:55:18] ## DEBUG ModuleResources: SAS_RAND_SEED set: 0112522201
# [COMMAND] [2024-11-30T23:55:18]
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:19] Written the output image ......... 
# # [INFO] [2024-11-30T23:55:19] Task Run Time fimgcreate 0.13090181350708s
#
# [COMMAND] [2024-11-30T23:55:19]
export SAS_MEMORY_MODEL=high
# [COMMAND] [2024-11-30T23:55:19]
export SAS_RAND_SEED=0112522201
# # [INFO] [2024-11-30T23:55:19] ## DEBUG ModuleResources: SAS_RAND_SEED set: 0112522201
# [COMMAND] [2024-11-30T23:55:19]
catprep catextract=intermediate/USNOExtract-all-1-Reference_catalogue-X00000000000000.fits \
srclistset=product/P0112522201OBX000CALIND0000.FIT -w 10
# # [OUTPUT] [2024-11-30T23:55:19]
# # [INFO] [2024-11-30T23:55:19] Task Run Time catprep 0.0741610527038574s
#
# [COMMAND] [2024-11-30T23:55:19]
cp /scratch/226753.1.all.q/xmm/ppsprod/229897/intermediate/USNOExtract-all-1-Reference_catalogue-X00000000000000.fits \
/scratch/226753.1.all.q/xmm/ppsprod/229897/product/P0112522201OBX000REFCAT0000.FIT
# # [INFO] [2024-11-30T23:55:19] System RV 0
# # [INFO] [2024-11-30T23:55:19] Reading keyword OBS_ID value 0112522201 comment Observation identifier
# # [INFO] [2024-11-30T23:55:19] Reading keyword DEC_OBJ value 7.07063889000000E+01 comment [deg] Dec of the observed object
# # [INFO] [2024-11-30T23:55:19] Reading keyword OBS_MODE value POINTING comment Observation mode (pointing or slew)
# # [INFO] [2024-11-30T23:55:19] Reading keyword TELESCOP value XMM comment Telescope (mission) name
# # [INFO] [2024-11-30T23:55:19] Reading keyword RA_OBJ value 1.24870834500000E+02 comment [deg] Ra of the observed object
# # [INFO] [2024-11-30T23:55:19] Reading keyword DATE-END value 2002-04-10T12:20:43.000 comment Date observations ended
# # [INFO] [2024-11-30T23:55:19] Reading keyword DATE-OBS value 2002-04-10T11:28:15.000 comment Date observations were made
# [COMMAND] [2024-11-30T23:55:19]
export SAS_MEMORY_MODEL=high
# [COMMAND] [2024-11-30T23:55:19]
export SAS_RAND_SEED=0112522201
# # [INFO] [2024-11-30T23:55:19] ## DEBUG ModuleResources: SAS_RAND_SEED set: 0112522201
# [COMMAND] [2024-11-30T23:55:19]
addattribute attributecomment="\"Observation identifier\" \"[deg] Dec of the observed object\" \"Observation mode (pointing or \
slew)\" \"Telescope (mission) name\" \"[deg] Ra of the observed object\" \"Date observations ended\" \"Date observations were \
made\"" attributename="OBS_ID DEC_OBJ OBS_MODE TELESCOP RA_OBJ DATE-END DATE-OBS" attributetype="\"string\" \"real\" \"string\" \
\"string\" \"real\" \"string\" \"string\"" realvalue="7.07063889000000E+01 1.24870834500000E+02" \
set=product/P0112522201OBX000REFCAT0000.FIT stringvalue="0112522201 POINTING XMM 2002-04-10T12:20:43.000 2002-04-10T11:28:15.000" -w \
10
# # [OUTPUT] [2024-11-30T23:55:19] ** addattribute: warning (creatorKeywordNotFound), The CREATOR keyword could not be found in\
#     dataset with name 'product/P0112522201OBX000REFCAT0000.FIT'
# ** addattribute: warning (dateKeywordNotFound), The DATE keyword could not be found in dataset with name\
#     'product/P0112522201OBX000REFCAT0000.FIT' 
# # [INFO] [2024-11-30T23:55:19] Task Run Time addattribute 0.0315041542053223s
#
# # [INFO] [2024-11-30T23:55:19] Module name: OMgetFlat
# # [INFO] [2024-11-30T23:55:19] Instrument: om
# # [INFO] [2024-11-30T23:55:19] Stream no.: 0001
# # [INFO] [2024-11-30T23:55:19] Module version number: 1.07
# [COMMAND] [2024-11-30T23:55:19]
export SAS_MEMORY_MODEL=high
# [COMMAND] [2024-11-30T23:55:19]
export SAS_RAND_SEED=0112522201
# # [INFO] [2024-11-30T23:55:19] ## DEBUG ModuleResources: SAS_RAND_SEED set: 0112522201
# [COMMAND] [2024-11-30T23:55:19]
omflatgen outset=intermediate/OMgetFlat-om-1-OM_Flatfield-X00000000000000.fits -w 10
# # [OUTPUT] [2024-11-30T23:55:19] ** omflatgen: warning (ArgumentIgnored), Warning: countRateFrameRatio argument in small-scale\
#     flatfield retrieval currently ignored 
# # [INFO] [2024-11-30T23:55:19] Task Run Time omflatgen 0.148233890533447s
#
# # [INFO] [2024-11-30T23:55:19] Module name: OMExpAnalyse
# # [INFO] [2024-11-30T23:55:19] Instrument: om
# # [INFO] [2024-11-30T23:55:19] Stream no.: 0001
# # [INFO] [2024-11-30T23:55:19] Module version number: 1.06
# [COMMAND] [2024-11-30T23:55:19]
export SAS_MEMORY_MODEL=high
# [COMMAND] [2024-11-30T23:55:19]
export SAS_RAND_SEED=0112522201
# # [INFO] [2024-11-30T23:55:19] ## DEBUG ModuleResources: SAS_RAND_SEED set: 0112522201
# [COMMAND] [2024-11-30T23:55:19]
omprep modeset=3 nphset=odf/0428_0112522201_OMX00000NPH.FIT \
outset=intermediate/OMExpAnalyse-om-1-omprep_tracking_history-S00600000000000.fits pehset=odf/0428_0112522201_OMX00000PEH.FIT \
set=odf/0428_0112522201_OMS00600THX.FIT wdxset=odf/0428_0112522201_OMS00600WDX.FIT -w 10
# # [OUTPUT] [2024-11-30T23:55:19] ** omprep: warning (NoAttitude), The attitude was requested for time 134825204.184 which is more\
#     than 20 s outside the period for which the attitude is known (closest time is -141.00000003 s away). 
# # [INFO] [2024-11-30T23:55:19] Task Run Time omprep 0.109021902084351s
#
# [COMMAND] [2024-11-30T23:55:19]
export SAS_MEMORY_MODEL=high
# [COMMAND] [2024-11-30T23:55:19]
export SAS_RAND_SEED=0112522201
# # [INFO] [2024-11-30T23:55:19] ## DEBUG ModuleResources: SAS_RAND_SEED set: 0112522201
# [COMMAND] [2024-11-30T23:55:19]
omthconv nphset=odf/0428_0112522201_OMX00000NPH.FIT \
outset=intermediate/OMExpAnalyse-om-1-OM_TRACKING_STAR_TIMESERIES-S00600000000000.fits \
thxset=intermediate/OMExpAnalyse-om-1-omprep_tracking_history-S00600000000000.fits -w 10
# # [OUTPUT] [2024-11-30T23:55:19]
# # [INFO] [2024-11-30T23:55:19] Task Run Time omthconv 0.0688600540161133s
#
# [COMMAND] [2024-11-30T23:55:19]
cp /scratch/226753.1.all.q/xmm/ppsprod/229897/intermediate/OMExpAnalyse-om-1-OM_TRACKING_STAR_TIMESERIES-S00600000000000.fits \
/scratch/226753.1.all.q/xmm/ppsprod/229897/product/P0112522201OMS006TSTRTS0000.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=0112522201
# # [INFO] [2024-11-30T23:55:19] ## DEBUG ModuleResources: SAS_RAND_SEED set: 0112522201
# [COMMAND] [2024-11-30T23:55:19]
omdrifthist plotfile=intermediate/OMExpAnalyse-om-1-OM_TRACKING_HISTORY_PLOT-S00600000000000.ps \
set=intermediate/OMExpAnalyse-om-1-omprep_tracking_history-S00600000000000.fits -w 10
# # [OUTPUT] [2024-11-30T23:55:20]
# # [INFO] [2024-11-30T23:55:20] Task Run Time omdrifthist 0.655756950378418s
#
# [COMMAND] [2024-11-30T23:55:20]
pstopdf intermediate/OMExpAnalyse-om-1-OM_TRACKING_HISTORY_PLOT-S00600000000000.ps product/P0112522201OMS006TSHPLT0000.PDF
# # [OUTPUT] [2024-11-30T23:55:20]
# # [INFO] [2024-11-30T23:55:20] Module name: OMFastAnalyse
# # [INFO] [2024-11-30T23:55:20] Instrument: om
# # [INFO] [2024-11-30T23:55:20] Stream no.: 0001
# # [INFO] [2024-11-30T23:55:20] Module version number: 1.36
# # [INFO] [2024-11-30T23:55:20] DEBUG --- exp_id: S006, filter: UVW1
# # [INFO] [2024-11-30T23:55:20] No Fast Mode Windows to process
# # [INFO] [2024-11-30T23:55:20] Module name: OMImageAnalyse
# # [INFO] [2024-11-30T23:55:20] Instrument: om
# # [INFO] [2024-11-30T23:55:20] Stream no.: 0001
# # [INFO] [2024-11-30T23:55:20] Module version number: 3.28
# # [INFO] [2024-11-30T23:55:20] Looking for Engineering Mode Files...
# # [INFO] [2024-11-30T23:55:20] Found None Engineering mode Windows.
# # [INFO] [2024-11-30T23:55:20] Found No Full Frame Engineering 4 Windows.
# # [INFO] [2024-11-30T23:55:20] Found no Full Frame Engineering 2 Windows.
# # [INFO] [2024-11-30T23:55:20] Looking for Image Mode Files...
# # [INFO] [2024-11-30T23:55:20] Found 1 Image mode images.
# # [INFO] [2024-11-30T23:55:20] Analysing odf/0428_0112522201_OMS00600IMI.FIT for image identification
# # [INFO] [2024-11-30T23:55:20] Identified mode: USER
# # [INFO] [2024-11-30T23:55:20] Failed to make a suitable combined image. Will process components as USER mode.
# # [INFO] [2024-11-30T23:55:20] Processing USER Images.
# # [INFO] [2024-11-30T23:55:20] 1 images to process.
# # [INFO] [2024-11-30T23:55:20] Processing S006:0:odf/0428_0112522201_OMS00600IMI.FIT
# [COMMAND] [2024-11-30T23:55:20]
export SAS_MEMORY_MODEL=high
# [COMMAND] [2024-11-30T23:55:20]
export SAS_RAND_SEED=0112522201
# # [INFO] [2024-11-30T23:55:20] ## DEBUG ModuleResources: SAS_RAND_SEED set: 0112522201
# [COMMAND] [2024-11-30T23:55:20]
omprep modeset=0 nphset=odf/0428_0112522201_OMX00000NPH.FIT outset=intermediate/OMImageAnalyse-om-1-Raw_Image-S00600000000000.fits \
pehset=odf/0428_0112522201_OMX00000PEH.FIT set=odf/0428_0112522201_OMS00600IMI.FIT wdxset=odf/0428_0112522201_OMS00600WDX.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.137412071228027s
#
# # [INFO] [2024-11-30T23:55:20] Retrieving FILTER value
# # [INFO] [2024-11-30T23:55:20] FILTER = L
# # [INFO] [2024-11-30T23:55:20] Retrieving EXPOSURE value
# # [INFO] [2024-11-30T23:55:20] EXPOSURE = 3.00000000000000E+03
# [COMMAND] [2024-11-30T23:55:20]
export SAS_MEMORY_MODEL=high
# [COMMAND] [2024-11-30T23:55:20]
export SAS_RAND_SEED=0112522201
# # [INFO] [2024-11-30T23:55:20] ## DEBUG ModuleResources: SAS_RAND_SEED set: 0112522201
# [COMMAND] [2024-11-30T23:55:20]
omcosflag set=intermediate/OMImageAnalyse-om-1-Raw_Image-S00600000000000.fits \
thxset=intermediate/OMExpAnalyse-om-1-omprep_tracking_history-S00600000000000.fits -w 10
# # [OUTPUT] [2024-11-30T23:55:21]
# # [INFO] [2024-11-30T23:55:21] Task Run Time omcosflag 0.673243999481201s
#
# [COMMAND] [2024-11-30T23:55:21]
export SAS_MEMORY_MODEL=high
# [COMMAND] [2024-11-30T23:55:21]
export SAS_RAND_SEED=0112522201
# # [INFO] [2024-11-30T23:55:21] ## DEBUG ModuleResources: SAS_RAND_SEED set: 0112522201
# [COMMAND] [2024-11-30T23:55:21]
omflatfield inorbitflatset=intermediate/OMgetFlat-om-1-OM_Flatfield-X00000000000000.fits \
outset=intermediate/OMImageAnalyse-om-1-OSW_Flat_Fielded_Image-S00600000000000.fits \
set=intermediate/OMImageAnalyse-om-1-Raw_Image-S00600000000000.fits \
thxset=intermediate/OMExpAnalyse-om-1-omprep_tracking_history-S00600000000000.fits \
tsflatset=intermediate/OMImageAnalyse-om-1-OSW_Flat_Field-S00600000000000.fits -w 10
# # [OUTPUT] [2024-11-30T23:55:21]
# # [INFO] [2024-11-30T23:55:21] Task Run Time omflatfield 0.0887510776519775s
#
# [COMMAND] [2024-11-30T23:55:21]
export SAS_MEMORY_MODEL=high
# [COMMAND] [2024-11-30T23:55:21]
export SAS_RAND_SEED=0112522201
# # [INFO] [2024-11-30T23:55:21] ## DEBUG ModuleResources: SAS_RAND_SEED set: 0112522201
# [COMMAND] [2024-11-30T23:55:21]
ommodmap mod8product=Y mod8set=intermediate/OMImageAnalyse-om-1-OSW_MODULO_8_IMAGE-S00600000000000.fits nbox=16 nsig=6 \
outset=product/P0112522201OMS006IMAGE_0000.FIT set=intermediate/OMImageAnalyse-om-1-OSW_Flat_Fielded_Image-S00600000000000.fits -w \
10
# # [OUTPUT] [2024-11-30T23:55:26] ** ommodmap: warning (LowMod8Noise), Too few counts in image to remove mod8 noise. 
# # [INFO] [2024-11-30T23:55:26] Task Run Time ommodmap 5.52309703826904s
#
# [COMMAND] [2024-11-30T23:55:26]
export SAS_MEMORY_MODEL=high
# [COMMAND] [2024-11-30T23:55:26]
export SAS_RAND_SEED=0112522201
# # [INFO] [2024-11-30T23:55:26] ## DEBUG ModuleResources: SAS_RAND_SEED set: 0112522201
# [COMMAND] [2024-11-30T23:55:26]
omqualitymap mode=setqualityimage outset=product/P0112522201OMS006IMAGE_0000.FIT set=product/P0112522201OMS006IMAGE_0000.FIT \
srclistset= -w 10
# # [OUTPUT] [2024-11-30T23:55:27] ** omqualitymap: warning (parameter), srclistset = NONE; 
# ** omqualitymap: warning (overwrite), The file product/P0112522201OMS006IMAGE_0000.FIT will be overwritten
# ** omqualitymap: warning (parameter), srclistset = NONE; 
# # [INFO] [2024-11-30T23:55:27] Task Run Time omqualitymap 0.118453025817871s
#
# [COMMAND] [2024-11-30T23:55:27]
export SAS_MEMORY_MODEL=high
# [COMMAND] [2024-11-30T23:55:27]
export SAS_RAND_SEED=0112522201
# # [INFO] [2024-11-30T23:55:27] ## DEBUG ModuleResources: SAS_RAND_SEED set: 0112522201
# [COMMAND] [2024-11-30T23:55:27]
omdetect detectextended=Y minsignificance=3 nsigma=2 outset=product/P0112522201OMS006SWSRLI0000.FIT \
regionfile=product/P0112522201OMS006SWSREG0000.ASC set=product/P0112522201OMS006IMAGE_0000.FIT -w 10
# # [OUTPUT] [2024-11-30T23:56:08]
# # [INFO] [2024-11-30T23:56:08] Task Run Time omdetect 41.275908946991s
#
# [COMMAND] [2024-11-30T23:56:08]
export SAS_MEMORY_MODEL=high
# [COMMAND] [2024-11-30T23:56:08]
export SAS_RAND_SEED=0112522201
# # [INFO] [2024-11-30T23:56:08] ## DEBUG ModuleResources: SAS_RAND_SEED set: 0112522201
# [COMMAND] [2024-11-30T23:56:08]
omqualitymap mode=setqualityimage outset=product/P0112522201OMS006IMAGE_0000.FIT set=product/P0112522201OMS006IMAGE_0000.FIT \
srclistset=product/P0112522201OMS006SWSRLI0000.FIT -w 10
# # [OUTPUT] [2024-11-30T23:56:08] ** omqualitymap: warning (parameter), srclistset = product/P0112522201OMS006SWSRLI0000.FIT; 
# ** omqualitymap: warning (overwrite), The file product/P0112522201OMS006IMAGE_0000.FIT will be overwritten
# ** omqualitymap: warning (parameter), srclistset = product/P0112522201OMS006SWSRLI0000.FIT; 
# # [INFO] [2024-11-30T23:56:08] Task Run Time omqualitymap 0.0996081829071045s
#
# [COMMAND] [2024-11-30T23:56:08]
export SAS_MEMORY_MODEL=high
# [COMMAND] [2024-11-30T23:56:08]
export SAS_RAND_SEED=0112522201
# # [INFO] [2024-11-30T23:56:08] ## DEBUG ModuleResources: SAS_RAND_SEED set: 0112522201
# [COMMAND] [2024-11-30T23:56:08]
ommag set=product/P0112522201OMS006SWSRLI0000.FIT -w 10
# # [OUTPUT] [2024-11-30T23:56:08]
# TDP corr factor is: 1.03488457 
# L265 tdpCorrFactor= 1.03488457 
# L348 getting the column data
# In: 471.243500 350.767303 1 769
# X,Y,pdepcorr: 1240.24353 1024.76733 1.00000000 
# In: 45.9433937 516.978699 1 769
# X,Y,pdepcorr: 814.943420 1190.97876 1.00000000 
# In: 478.141663 281.293243 1 769
# X,Y,pdepcorr: 1247.14160 955.293213 1.00000000 
# In: 386.893616 297.271545 1 769
# X,Y,pdepcorr: 1155.89355 971.271545 1.00000000 
# In: 99.5587006 125.290771 1 769
# X,Y,pdepcorr: 868.558716 799.290771 1.00000000 
# In: 35.8346024 465.780548 1 769
# X,Y,pdepcorr: 804.834595 1139.78052 1.00000000 
# In: 539.473694 551.278870 1 769
# X,Y,pdepcorr: 1308.47363 1225.27881 1.00000000 
# In: 347.120514 372.170990 1 769
# X,Y,pdepcorr: 1116.12048 1046.17102 1.00000000 
# In: 622.920898 67.4368591 1 769
# X,Y,pdepcorr: 1391.92090 741.436890 1.00000000 
# In: 566.309631 6.47283363 1 769
# X,Y,pdepcorr: 1335.30957 680.472839 1.00000000 
# In: 519.944092 400.401123 1 769
# X,Y,pdepcorr: 1288.94409 1074.40112 1.00000000 
# In: 424.973297 334.621429 1 769
# X,Y,pdepcorr: 1193.97327 1008.62146 1.00000000 
# In: 586.120483 262.169037 1 769
# X,Y,pdepcorr: 1355.12048 936.169067 1.00000000 
# In: 344.963806 252.921188 1 769
# X,Y,pdepcorr: 1113.96387 926.921204 1.00000000 
# In: 596.102905 327.275696 1 769
# X,Y,pdepcorr: 1365.10291 1001.27570 1.00000000 
# In: 537.206848 13.4927998 1 769
# X,Y,pdepcorr: 1306.20679 687.492798 1.00000000 
# In: 531.156799 230.900391 1 769
# X,Y,pdepcorr: 1300.15674 904.900391 1.00000000 
# In: 550.059326 287.175446 1 769
# X,Y,pdepcorr: 1319.05933 961.175415 1.00000000 
# In: 576.802063 141.577896 1 769
# X,Y,pdepcorr: 1345.80200 815.577881 1.00000000 
# In: 562.500732 113.850914 1 769
# X,Y,pdepcorr: 1331.50073 787.850891 1.00000000 
# In: 621.822449 53.4879570 1 769
# X,Y,pdepcorr: 1390.82251 727.487976 1.00000000 
# In: 512.441284 156.646835 1 769
# X,Y,pdepcorr: 1281.44128 830.646851 1.00000000 
# In: 317.897156 582.673279 1 769
# X,Y,pdepcorr: 1086.89722 1256.67334 1.00000000 
# In: 497.085876 6.15682602 1 769
# X,Y,pdepcorr: 1266.08594 680.156799 1.00000000 
# In: 364.120697 17.2253265 1 769
# X,Y,pdepcorr: 1133.12073 691.225342 1.00000000 
# In: 622.296204 162.298813 1 769
# X,Y,pdepcorr: 1391.29614 836.298828 1.00000000 
# In: 272.063171 226.206589 1 769
# X,Y,pdepcorr: 1041.06323 900.206604 1.00000000 
# In: 369.499664 287.824860 1 769
# X,Y,pdepcorr: 1138.49963 961.824829 1.00000000 
# In: 450.584351 316.834473 1 769
# X,Y,pdepcorr: 1219.58435 990.834473 1.00000000 
# In: 539.982300 331.921051 1 769
# X,Y,pdepcorr: 1308.98230 1005.92102 1.00000000 
# In: 599.861206 353.224426 1 769
# X,Y,pdepcorr: 1368.86121 1027.22437 1.00000000 
# In: 622.830505 369.155151 1 769
# X,Y,pdepcorr: 1391.83057 1043.15515 1.00000000 
# In: 312.892059 399.089966 1 769
# X,Y,pdepcorr: 1081.89209 1073.08997 1.00000000 
# In: 142.333374 500.515320 1 769
# X,Y,pdepcorr: 911.333374 1174.51538 1.00000000 
# In: 214.352448 573.241577 1 769
# X,Y,pdepcorr: 983.352417 1247.24158 1.00000000 
# In: 401.885834 614.401855 1 769
# X,Y,pdepcorr: 1170.88586 1288.40186 1.00000000 
# In: 512.885010 356.208862 1 769
# X,Y,pdepcorr: 1281.88501 1030.20886 1.00000000 
# In: 339.342224 394.583160 1 769
# X,Y,pdepcorr: 1108.34229 1068.58313 1.00000000 
# In: 314.423950 359.040894 1 769
# X,Y,pdepcorr: 1083.42395 1033.04089 1.00000000 
# In: 341.246643 579.077026 1 769
# X,Y,pdepcorr: 1110.24658 1253.07703 1.00000000 
# In: 531.510803 181.979202 1 769
# X,Y,pdepcorr: 1300.51074 855.979187 1.00000000 
# In: 616.946960 211.720642 1 769
# X,Y,pdepcorr: 1385.94702 885.720642 1.00000000 
# In: 323.600311 257.280670 1 769
# X,Y,pdepcorr: 1092.60034 931.280640 1.00000000 
# In: 420.899475 269.584717 1 769
# X,Y,pdepcorr: 1189.89941 943.584717 1.00000000 
# In: 360.314545 272.174683 1 769
# X,Y,pdepcorr: 1129.31458 946.174683 1.00000000 
# In: 534.707031 275.381470 1 769
# X,Y,pdepcorr: 1303.70703 949.381470 1.00000000 
# In: 323.568237 311.726746 1 769
# X,Y,pdepcorr: 1092.56824 985.726746 1.00000000 
# In: 598.317993 313.498779 1 769
# X,Y,pdepcorr: 1367.31799 987.498779 1.00000000 
# In: 613.415710 334.892151 1 769
# X,Y,pdepcorr: 1382.41577 1008.89215 1.00000000 
# In: 403.459900 369.034119 1 769
# X,Y,pdepcorr: 1172.45996 1043.03418 1.00000000 
# In: 265.224579 384.478638 1 769
# X,Y,pdepcorr: 1034.22461 1058.47864 1.00000000 
# In: 485.695496 438.195923 1 769
# X,Y,pdepcorr: 1254.69556 1112.19592 1.00000000 
# In: 320.361938 478.011383 1 769
# X,Y,pdepcorr: 1089.36194 1152.01135 1.00000000 
# In: 227.810715 546.735168 1 769
# X,Y,pdepcorr: 996.810730 1220.73511 1.00000000 
# In: 251.582581 583.428101 1 769
# X,Y,pdepcorr: 1020.58258 1257.42810 1.00000000 
# In: 619.503235 608.325439 1 769
# X,Y,pdepcorr: 1388.50317 1282.32544 1.00000000 
# In: 361.586456 621.884766 1 769
# X,Y,pdepcorr: 1130.58643 1295.88477 1.00000000 
# In: 355.275208 363.015076 1 769
# X,Y,pdepcorr: 1124.27515 1037.01514 1.00000000 
# In: 547.434631 366.966949 1 769
# X,Y,pdepcorr: 1316.43457 1040.96692 1.00000000 
# In: 332.884857 366.913544 1 769
# X,Y,pdepcorr: 1101.88489 1040.91357 1.00000000 
# In: 353.600098 247.334976 1 769
# X,Y,pdepcorr: 1122.60010 921.334961 1.00000000 
# In: 314.800507 285.624390 1 769
# X,Y,pdepcorr: 1083.80054 959.624390 1.00000000 
# # [INFO] [2024-11-30T23:56:08] Task Run Time ommag 0.118075132369995s
#
# [COMMAND] [2024-11-30T23:56:08]
export SAS_MEMORY_MODEL=high
# [COMMAND] [2024-11-30T23:56:08]
export SAS_RAND_SEED=0112522201
# # [INFO] [2024-11-30T23:56:08] ## DEBUG ModuleResources: SAS_RAND_SEED set: 0112522201
# [COMMAND] [2024-11-30T23:56:08]
omatt catfile=product/P0112522201OBX000REFCAT0000.FIT ppsoswset=product/P0112522201OMS006SIMAGE0000.FIT \
set=product/P0112522201OMS006IMAGE_0000.FIT sourcelistset=product/P0112522201OMS006SWSRLI0000.FIT usecat=Y -w 10
# # [OUTPUT] [2024-11-30T23:56:16]
# # [INFO] [2024-11-30T23:56:16] Task Run Time omatt 7.57320499420166s
#
# [COMMAND] [2024-11-30T23:56:16]
export \
PFILES=/scratch/226753.1.all.q/xmm/ppsprod/229897/pfiles;/lhome/pcms/local/rhel8.6/GNU_CC_CXX_11.3.0/headas/architecture/syspfiles
# [COMMAND] [2024-11-30T23:56:16]
export SAS_MEMORY_MODEL=high
# [COMMAND] [2024-11-30T23:56:16]
export SAS_RAND_SEED=0112522201
# # [INFO] [2024-11-30T23:56:16] ## DEBUG ModuleResources: SAS_RAND_SEED set: 0112522201
# [COMMAND] [2024-11-30T23:56:16]
fimgstat clobber=Y infile=product/P0112522201OMS006SIMAGE0000.FIT max=0 mean=0 min=0 mode=ql num=0 \
outfile=intermediate/OMImageAnalyse-om-1-OSW_0_sky_image_statistics-S00600000000000.ascii rms=0 sum=0 threshlo=INDEF threshup=INDEF \
xmax=0 xmin=0 ymax=0 ymin=0
# # [OUTPUT] [2024-11-30T23:56:16]
# ****** successfully exited ******
# # [INFO] [2024-11-30T23:56:16] Task Run Time fimgstat 0.0968129634857178s
#
# # [INFO] [2024-11-30T23:56:16] DEBUG - doCommand fullcmd : implot.py --fitsImage=product/P0112522201OMS006SIMAGE0000.FIT\
#     --outfile=product/P0112522201OMS006SIMAGE0000.PNG
# [COMMAND] [2024-11-30T23:56:16]
export SAS_MEMORY_MODEL=high
# [COMMAND] [2024-11-30T23:56:16]
export SAS_RAND_SEED=0112522201
# # [INFO] [2024-11-30T23:56:16] ## DEBUG ModuleResources: SAS_RAND_SEED set: 0112522201
# [COMMAND] [2024-11-30T23:56:16]
implot.py --fitsImage=product/P0112522201OMS006SIMAGE0000.FIT --outfile=product/P0112522201OMS006SIMAGE0000.PNG
# # [OUTPUT] [2024-11-30T23:56:19] Image shape. y,x: (792, 761) figsize: [8.5, 6.8]
# Cropped image shape. y,x: (791, 760) x/y ratio: 0.96 
# # [INFO] [2024-11-30T23:56:19] Task Run Time implot.py 3.2230339050293s
#
# # [INFO] [2024-11-30T23:56:19] Processing RUDI5_LR Images.
# # [INFO] [2024-11-30T23:56:19] 0 images to process.
# # [INFO] [2024-11-30T23:56:19] Processing RUDI5_HR Images.
# # [INFO] [2024-11-30T23:56:19] 0 images to process.
# # [INFO] [2024-11-30T23:56:19] Processing PFENG2 Images.
# # [INFO] [2024-11-30T23:56:19] 0 images to process.
# # [INFO] [2024-11-30T23:56:19] Processing FFENG2 Images.
# # [INFO] [2024-11-30T23:56:19] 0 images to process.
# # [INFO] [2024-11-30T23:56:19] Processing ENG4 Images.
# # [INFO] [2024-11-30T23:56:19] 0 images to process.
# # [INFO] [2024-11-30T23:56:19] All images processed
# # [INFO] [2024-11-30T23:56:19] Writing accounting information
# # [INFO] [2024-11-30T23:56:19] DEBUG: sourcedetails array: $VAR1 = [
# 'product/P0112522201OMS006SWSRLI0000.FIT|USER|L '
# ]; 
# # [INFO] [2024-11-30T23:56:19] DEBUG: skyimagedetails array: $VAR1 = [
# 'product/P0112522201OMS006SIMAGE0000.FIT|USER|L|3.00000000000000E+03|S006 '
# ]; 
# # [INFO] [2024-11-30T23:56:19] Module name: OMMosaic
# # [INFO] [2024-11-30T23:56:19] Instrument: om
# # [INFO] [2024-11-30T23:56:19] Stream no.: 0001
# # [INFO] [2024-11-30T23:56:19] Module version number: 2.39
# # [INFO] [2024-11-30T23:56:19] Looking For Images to Mosaic...
# # [INFO] [2024-11-30T23:56:19] Running addtomosaic.py on\
#     intermediate/OMImageAnalyse-om-1-OM_SKY_IMAGE_DETAILS-S00600000000000.ascii
# # [INFO] [2024-11-30T23:56:19] DEBUG - doCommand fullcmd : addtomosaic.py\
#     --file=intermediate/OMImageAnalyse-om-1-OM_SKY_IMAGE_DETAILS-S00600000000000.ascii
# [COMMAND] [2024-11-30T23:56:19]
export SAS_MEMORY_MODEL=high
# [COMMAND] [2024-11-30T23:56:19]
export SAS_RAND_SEED=0112522201
# # [INFO] [2024-11-30T23:56:19] ## DEBUG ModuleResources: SAS_RAND_SEED set: 0112522201
# [COMMAND] [2024-11-30T23:56:19]
addtomosaic.py --file=intermediate/OMImageAnalyse-om-1-OM_SKY_IMAGE_DETAILS-S00600000000000.ascii
# # [OUTPUT] [2024-11-30T23:56:20] intermediate/OMImageAnalyse-om-1-OM_SKY_IMAGE_DETAILS-S00600000000000.ascii
# ['product/P0112522201OMS006SIMAGE0000.FIT|USER|L|3.00000000000000E+03|S006|1\n'] 
# # [INFO] [2024-11-30T23:56:20] Task Run Time addtomosaic.py 1.0607750415802s
#
# # [INFO] [2024-11-30T23:56:20] Found 1 Images
# # [INFO] [2024-11-30T23:56:20] Grouping Images by Mode then Filter
# # [INFO] [2024-11-30T23:56:20] Mode: ALL
# # [INFO] [2024-11-30T23:56:20] Filter: L
# # [INFO] [2024-11-30T23:56:20] Image File : product/P0112522201OMS006SIMAGE0000.FIT
# # [INFO] [2024-11-30T23:56:20] Creating Images...
# # [INFO] [2024-11-30T23:56:20] MODE: ALL
# # [INFO] [2024-11-30T23:56:20] FILTER: L
# # [INFO] [2024-11-30T23:56:20] CREATING: product/P0112522201OMX000XSIMAGL000.FIT, Duration: 3000
# [COMMAND] [2024-11-30T23:56:20]
export SAS_MEMORY_MODEL=high
# [COMMAND] [2024-11-30T23:56:20]
export SAS_RAND_SEED=0112522201
# # [INFO] [2024-11-30T23:56:20] ## DEBUG ModuleResources: SAS_RAND_SEED set: 0112522201
# [COMMAND] [2024-11-30T23:56:20]
ommosaic imagesets=product/P0112522201OMS006SIMAGE0000.FIT mincorr=0 mosaicedset=product/P0112522201OMX000XSIMAGL000.FIT -w 10
# # [OUTPUT] [2024-11-30T23:56:31] L1109 c3 xLeft=125.023641 xRight=124.717988 
# 287.099 124.897 70.7083 
# # [INFO] [2024-11-30T23:56:31] Task Run Time ommosaic 11.0243089199066s
#
# # [INFO] [2024-11-30T23:56:31] Only one exposure in mosaic. No omdetect,ommag and omqualitymap 
# # [INFO] [2024-11-30T23:56:31] DEBUG - doCommand fullcmd : implot.py --fitsImage=product/P0112522201OMX000XSIMAGL000.FIT\
#     --outfile=product/P0112522201OMX000XSIMAGL000.PNG
# [COMMAND] [2024-11-30T23:56:31]
export SAS_MEMORY_MODEL=high
# [COMMAND] [2024-11-30T23:56:31]
export SAS_RAND_SEED=0112522201
# # [INFO] [2024-11-30T23:56:31] ## DEBUG ModuleResources: SAS_RAND_SEED set: 0112522201
# [COMMAND] [2024-11-30T23:56:31]
implot.py --fitsImage=product/P0112522201OMX000XSIMAGL000.FIT --outfile=product/P0112522201OMX000XSIMAGL000.PNG
# # [OUTPUT] [2024-11-30T23:56:33] Image shape. y,x: (792, 765) figsize: [8.5, 6.8]
# Cropped image shape. y,x: (791, 764) x/y ratio: 0.97 
# # [INFO] [2024-11-30T23:56:33] Task Run Time implot.py 2.43034601211548s
#
# # [INFO] [2024-11-30T23:56:33] Done: ALL
# # [INFO] [2024-11-30T23:56:33] Module name: OMSourceCombine
# # [INFO] [2024-11-30T23:56:33] Instrument: om
# # [INFO] [2024-11-30T23:56:33] Stream no.: 0001
# # [INFO] [2024-11-30T23:56:34] Module version number: 3.9
# # [INFO] [2024-11-30T23:56:34] Looking For Source Lists to Combine...
# # [INFO] [2024-11-30T23:56:34] DEBUG: file: intermediate/OMImageAnalyse-om-1-OM_SRC_IMAGE_DETAILS-S00600000000000.ascii
# # [INFO] [2024-11-30T23:56:34] DEBUG: line product/P0112522201OMS006SWSRLI0000.FIT|USER|L
# # [INFO] [2024-11-30T23:56:34] DEBUG: split to tmp: $VAR1 = [
# 'product/P0112522201OMS006SWSRLI0000.FIT',
# 'USER',
# 'L'
# ]; 
# # [INFO] [2024-11-30T23:56:34] DEBUG: SrcLstDetails: $VAR1 = [
# [
# 'product/P0112522201OMS006SWSRLI0000.FIT',
# 'USER',
# 'L'
# ]
# ]; 
# # [INFO] [2024-11-30T23:56:34] Found 1 Lists
# # [INFO] [2024-11-30T23:56:34] Grouping Lists by Mode then Filter
# # [INFO] [2024-11-30T23:56:34] DEBUG: SortedSrcLstDetails: $VAR1 = [
# [
# 'product/P0112522201OMS006SWSRLI0000.FIT',
# 'USER',
# 'L'
# ]
# ]; 
# # [INFO] [2024-11-30T23:56:34] Mode: USER
# # [INFO] [2024-11-30T23:56:34] DEBUG: Src: ARRAY(0x506c1f0)
# # [INFO] [2024-11-30T23:56:34] DEBUG: mode_p: 1
# # [INFO] [2024-11-30T23:56:34] DEBUG: SSrc[modep]: USER
# # [INFO] [2024-11-30T23:56:34] DEBUG: SSrc[filterp]: L
# # [INFO] [2024-11-30T23:56:34] Filter: L
# # [INFO] [2024-11-30T23:56:34] Image File : product/P0112522201OMS006SWSRLI0000.FIT
# # [INFO] [2024-11-30T23:56:34] Creating Combined Lists...
# # [INFO] [2024-11-30T23:56:34] MODE: USER
# # [INFO] [2024-11-30T23:56:34] FILTER: L
# # [INFO] [2024-11-30T23:56:34] Done: USER
# # [INFO] [2024-11-30T23:56:34] CREATING: product/P0112522201OMX000OBSMLI0000.FIT
# [COMMAND] [2024-11-30T23:56:34]
export SAS_MEMORY_MODEL=high
# [COMMAND] [2024-11-30T23:56:34]
export SAS_RAND_SEED=0112522201
# # [INFO] [2024-11-30T23:56:34] ## DEBUG ModuleResources: SAS_RAND_SEED set: 0112522201
# [COMMAND] [2024-11-30T23:56:34]
omsrclistcomb catfile=product/P0112522201OBX000REFCAT0000.FIT outset=product/P0112522201OMX000OBSMLI0000.FIT \
sourcelistsets=product/P0112522201OMS006SWSRLI0000.FIT usecat=Y -w 10
# # [OUTPUT] [2024-11-30T23:56:36]
# # [INFO] [2024-11-30T23:56:36] Task Run Time omsrclistcomb 2.25748491287231s
#
# # [INFO] [2024-11-30T23:56:36] No MOSAIC lists to combine
