
#!/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:39:59] Module name: VerifyODF
# # [INFO] [2024-11-30T23:39:59] Instrument: all
# # [INFO] [2024-11-30T23:39:59] Stream no.: 0001
# # [INFO] [2024-11-30T23:39:59] Module version number: 1.18
# # [INFO] [2024-11-30T23:39:59] Version of odfingest used was 3.33.1
# # [INFO] [2024-11-30T23:39:59] Module name: MakeCIF
# # [INFO] [2024-11-30T23:39:59] Instrument: all
# # [INFO] [2024-11-30T23:39:59] Stream no.: 0001
# # [INFO] [2024-11-30T23:39:59] Module version number: 1.23
# # [INFO] [2024-11-30T23:39:59] Observation start defined as >2007-10-07T12:01:30.000<
# # [INFO] [2024-11-30T23:39:59] Processing date defined as >2024-12-01T00:39:59<
# [COMMAND] [2024-11-30T23:39:59]
export SAS_MEMORY_MODEL=high
# [COMMAND] [2024-11-30T23:39:59]
export SAS_RAND_SEED=0502220401
# # [INFO] [2024-11-30T23:39:59] ## DEBUG ModuleResources: SAS_RAND_SEED set: 0502220401
# [COMMAND] [2024-11-30T23:39:59]
cifbuild analysisdate=2024-12-01T00:39:59 calindexset=product/P0502220401OBX000CALIND0000.FIT fullpath=no \
observationdate=2007-10-07T12:01:30.000 withccfpath=no -w 10
# # [OUTPUT] [2024-11-30T23:40:28]
# # [INFO] [2024-11-30T23:40:28] Task Run Time cifbuild 28.5907459259033s
#
# [COMMAND] [2024-11-30T23:40:28]
export SAS_MEMORY_MODEL=high
# [COMMAND] [2024-11-30T23:40:28]
export SAS_RAND_SEED=0502220401
# # [INFO] [2024-11-30T23:40:28] ## DEBUG ModuleResources: SAS_RAND_SEED set: 0502220401
# [COMMAND] [2024-11-30T23:40:28]
addattribute attributecomment="\"Telescope (mission) name\" \"RA of instrument pointing (degrees)\" \"DEC of instrument pointing\" \
\"Name of PI\" \"Name of observed object\" \"Observation mode (pointing or slew)\" \"Observation identifier\" \"Date observations \
ended\" \"Date observations were made\"" attributename="TELESCOP RA_PNT DEC_PNT OBSERVER OBJECT OBS_MODE OBS_ID DATE-END DATE-OBS" \
attributetype="string real real string string string string string string" realvalue="\"127.9232925\" \"52.7547222\"" \
set=product/P0502220401OBX000CALIND0000.FIT stringvalue="\"XMM\" \"Dr George Chartas\" \"APM 08279+5255\" \"POINTED\" \"0502220401\" \
\"2007-10-07T14:05:20.000\" \"2007-10-07T12:01:30.000\"" -w 10
# # [OUTPUT] [2024-11-30T23:40:28]
# # [INFO] [2024-11-30T23:40:28] Task Run Time addattribute 0.0395369529724121s
#
# [COMMAND] [2024-11-30T23:40:28]
cp /scratch/225633.1.all.q/xmm/ppsprod/228779/product/P0502220401OBX000CALIND0000.FIT \
/scratch/225633.1.all.q/xmm/ppsprod/228779/intermediate/ccf.cif
# # [INFO] [2024-11-30T23:40:28] System RV 0
# # [INFO] [2024-11-30T23:40:28] Module name: GlobalHK
# # [INFO] [2024-11-30T23:40:28] Instrument: all
# # [INFO] [2024-11-30T23:40:28] Stream no.: 0001
# # [INFO] [2024-11-30T23:40:28] Module version number: 1.81
# [COMMAND] [2024-11-30T23:40:28]
export SAS_MEMORY_MODEL=high
# [COMMAND] [2024-11-30T23:40:28]
export SAS_RAND_SEED=0502220401
# # [INFO] [2024-11-30T23:40:28] ## DEBUG ModuleResources: SAS_RAND_SEED set: 0502220401
# [COMMAND] [2024-11-30T23:40:28]
preqgti preqgtifile=intermediate/GlobalHK-all-1-Attitude_GTI-X00000000000000.fits -w 10
# # [OUTPUT] [2024-11-30T23:40:29]
# # [INFO] [2024-11-30T23:40:29] Task Run Time preqgti 0.443302869796753s
#
# [COMMAND] [2024-11-30T23:40:29]
export SAS_MEMORY_MODEL=high
# [COMMAND] [2024-11-30T23:40:29]
export SAS_RAND_SEED=0502220401
# # [INFO] [2024-11-30T23:40:29] ## DEBUG ModuleResources: SAS_RAND_SEED set: 0502220401
# [COMMAND] [2024-11-30T23:40:29]
atthkgen atthkset=product/P0502220401OBX000ATTTSR0000.FIT preqgtifile=intermediate/GlobalHK-all-1-Attitude_GTI-X00000000000000.fits \
timestep=1 withpreqgti=no -w 10
# # [OUTPUT] [2024-11-30T23:40:29]
# # [INFO] [2024-11-30T23:40:29] Task Run Time atthkgen 0.263099908828735s
#
# [COMMAND] [2024-11-30T23:40:29]
export SAS_MEMORY_MODEL=high
# [COMMAND] [2024-11-30T23:40:29]
export SAS_RAND_SEED=0502220401
# # [INFO] [2024-11-30T23:40:29] ## DEBUG ModuleResources: SAS_RAND_SEED set: 0502220401
# [COMMAND] [2024-11-30T23:40:29]
orbit outfile=product/P0502220401OBX000ORBTSR0000.FIT timestep=1 useobsid=yes -w 10
# # [OUTPUT] [2024-11-30T23:40:29] orbit:- Output FITS Orbit timeseries: product/P0502220401OBX000ORBTSR0000.FIT
# orbit:- Binsize (timestep) of output): 1
# orbit:- Use OBSID data or whole orbit? T 
# # [INFO] [2024-11-30T23:40:29] Task Run Time orbit 0.348268985748291s
#
# [COMMAND] [2024-11-30T23:40:29]
export SAS_MEMORY_MODEL=high
# [COMMAND] [2024-11-30T23:40:29]
export SAS_RAND_SEED=0502220401
# # [INFO] [2024-11-30T23:40:29] ## DEBUG ModuleResources: SAS_RAND_SEED set: 0502220401
# [COMMAND] [2024-11-30T23:40:29]
radmonfix output=product/P0502220401OBX000RADMON0000.FIT radmonlist=odf/1433_0502220401_RMX00100ECX.FIT withoutputfile=yes -w 10
# # [OUTPUT] [2024-11-30T23:40:29] ** radmonfix: warning (Extrapolation), Evaluating OBT-MET fit polynomial at x=229379585.9 which\
#     is outside the time correlation data abscissa range [229381414.4, 229390603.7] - result of extrapolation might be afflicted\
#     with large numerical uncertainty.
# ** radmonfix: warning (Extrapolation), Evaluating OBT-MET fit polynomial at x=229379589.9 which is outside the time correlation\
#     data abscissa range [229381414.4, 229390603.7] - result of extrapolation might be afflicted with large numerical uncertainty.
# ** radmonfix: warning (Extrapolation), Evaluating OBT-MET fit polynomial at x=229379593.9 which is outside the time correlation\
#     data abscissa range [229381414.4, 229390603.7] - result of extrapolation might be afflicted with large numerical uncertainty.
# ** radmonfix: warning (Extrapolation), Evaluating OBT-MET fit polynomial at x=229379597.9 which is outside the time correlation\
#     data abscissa range [229381414.4, 229390603.7] - result of extrapolation might be afflicted with large numerical uncertainty.
# ** radmonfix: warning (Extrapolation), Evaluating OBT-MET fit polynomial at x=229379601.9 which is outside the time correlation\
#     data abscissa range [229381414.4, 229390603.7] - result of extrapolation might be afflicted with large numerical uncertainty.
# ** radmonfix: warning (Extrapolation), Evaluating OBT-MET fit polynomial at x=229379605.9 which is outside the time correlation\
#     data abscissa range [229381414.4, 229390603.7] - result of extrapolation might be afflicted with large numerical uncertainty.
# ** radmonfix: warning (Extrapolation), Evaluating OBT-MET fit polynomial at x=229379609.9 which is outside the time correlation\
#     data abscissa range [229381414.4, 229390603.7] - result of extrapolation might be afflicted with large numerical uncertainty.
# ** radmonfix: warning (Extrapolation), Evaluating OBT-MET fit polynomial at x=229379613.9 which is outside the time correlation\
#     data abscissa range [229381414.4, 229390603.7] - result of extrapolation might be afflicted with large numerical uncertainty.
# ** radmonfix: warning (Extrapolation), Evaluating OBT-MET fit polynomial at x=229379617.9 which is outside the time correlation\
#     data abscissa range [229381414.4, 229390603.7] - result of extrapolation might be afflicted with large numerical uncertainty.
# ** radmonfix: warning (Extrapolation), Evaluating OBT-MET fit polynomial at x=229379621.9 which is outside the time correlation\
#     data abscissa range [229381414.4, 229390603.7] - result of extrapolation might be afflicted with large numerical uncertainty.
# radmonfix:- Setting DATE-END...
# ** radmonfix: warning (SummaryOfWarnings), 
# warning Extrapolation silently occurred 441 times 
# # [INFO] [2024-11-30T23:40:29] Task Run Time radmonfix 0.117340087890625s
#
# [COMMAND] [2024-11-30T23:40:29]
cp /lhome/jperea/ppsdev/pcms3/src/pipeline/etc/EPICModes.fits \
/scratch/225633.1.all.q/xmm/ppsprod/228779/intermediate/GlobalHK-all-1-Observing_modes_Pileup_and_OoT_data-X00000000000000.fits
# # [INFO] [2024-11-30T23:40:29] System RV 0
# # [INFO] [2024-11-30T23:40:29] Copied EPIC Observing modes table, Pileup data and OoT data table in place
# [COMMAND] [2024-11-30T23:40:29]
cp /lhome/jperea/ppsdev/pcms3/src/pipeline/etc/ecfs.fits \
/scratch/225633.1.all.q/xmm/ppsprod/228779/intermediate/GlobalHK-all-1-Energy_Conversion_Factors-X00000000000000.fits
# # [INFO] [2024-11-30T23:40:29] System RV 0
# [COMMAND] [2024-11-30T23:40:29]
cp /lhome/jperea/ppsdev/pcms3/src/pipeline/etc/ecfgrid.fits.gz \
/scratch/225633.1.all.q/xmm/ppsprod/228779/intermediate/GlobalHK-all-1-Energy_Conversion_Factors_Grid-X00000000000000.fits
# # [INFO] [2024-11-30T23:40:29] System RV 0
# [COMMAND] [2024-11-30T23:40:29]
cp /lhome/jperea/ppsdev/pcms3/src/pipeline/etc/fluxgrid.fits.gz \
/scratch/225633.1.all.q/xmm/ppsprod/228779/intermediate/GlobalHK-all-1-Flux_Grid-X00000000000000.fits
# # [INFO] [2024-11-30T23:40:29] System RV 0
# # [INFO] [2024-11-30T23:40:29] Module name: ExpChooser
# # [INFO] [2024-11-30T23:40:29] Instrument: emos2
# # [INFO] [2024-11-30T23:40:29] Stream no.: 0001
# # [INFO] [2024-11-30T23:40:29] Module version number: 1.38
# # [INFO] [2024-11-30T23:40:29] Checking exposure S004 for processability
# # [INFO] [2024-11-30T23:40:29] Filter: CalClosed
# # [INFO] [2024-11-30T23:40:29] Instrument mode: PrimeFullWindow
# # [INFO] [2024-11-30T23:40:29] Exposure duration: 7233
# # [INFO] [2024-11-30T23:40:29] Exposure ignored due to invalid or unsupported filter
# # [INFO] [2024-11-30T23:40:29] Module name: ExpChooser
# # [INFO] [2024-11-30T23:40:29] Instrument: epn
# # [INFO] [2024-11-30T23:40:29] Stream no.: 0001
# # [INFO] [2024-11-30T23:40:29] Module version number: 1.38
# # [INFO] [2024-11-30T23:40:29] Checking exposure S005 for processability
# # [INFO] [2024-11-30T23:40:29] Filter: CalClosed
# # [INFO] [2024-11-30T23:40:29] Instrument mode: PrimeFullWindow
# # [INFO] [2024-11-30T23:40:29] Exposure duration: 5659
# # [INFO] [2024-11-30T23:40:29] Exposure ignored due to invalid or unsupported filter
# # [INFO] [2024-11-30T23:40:29] Module name: ExpChooser
# # [INFO] [2024-11-30T23:40:29] Instrument: epn
# # [INFO] [2024-11-30T23:40:29] Stream no.: 0002
# # [INFO] [2024-11-30T23:40:29] Module version number: 1.38
# # [INFO] [2024-11-30T23:40:29] Checking exposure U002 for processability
# # [INFO] [2024-11-30T23:40:29] Exposure ignored due to lack of event files
# # [INFO] [2024-11-30T23:40:29] Module name: ExpChooser
# # [INFO] [2024-11-30T23:40:29] Instrument: epn
# # [INFO] [2024-11-30T23:40:29] Stream no.: 0003
# # [INFO] [2024-11-30T23:40:29] Module version number: 1.38
# # [INFO] [2024-11-30T23:40:29] Checking exposure U003 for processability
# # [INFO] [2024-11-30T23:40:29] Exposure ignored due to lack of event files
# # [INFO] [2024-11-30T23:40:29] Module name: ExpChooser
# # [INFO] [2024-11-30T23:40:29] Instrument: epn
# # [INFO] [2024-11-30T23:40:29] Stream no.: 0004
# # [INFO] [2024-11-30T23:40:29] Module version number: 1.38
# # [INFO] [2024-11-30T23:40:29] Checking exposure U004 for processability
# # [INFO] [2024-11-30T23:40:29] Exposure ignored due to lack of event files
# # [INFO] [2024-11-30T23:40:29] Module name: ExpChooser
# # [INFO] [2024-11-30T23:40:29] Instrument: epn
# # [INFO] [2024-11-30T23:40:29] Stream no.: 0005
# # [INFO] [2024-11-30T23:40:29] Module version number: 1.38
# # [INFO] [2024-11-30T23:40:29] Checking exposure U005 for processability
# # [INFO] [2024-11-30T23:40:29] Exposure ignored due to lack of event files
# # [INFO] [2024-11-30T23:40:30] Module name: ExpChooser
# # [INFO] [2024-11-30T23:40:30] Instrument: epn
# # [INFO] [2024-11-30T23:40:30] Stream no.: 0006
# # [INFO] [2024-11-30T23:40:30] Module version number: 1.38
# # [INFO] [2024-11-30T23:40:30] Checking exposure U006 for processability
# # [INFO] [2024-11-30T23:40:30] Exposure ignored due to lack of event files
# # [INFO] [2024-11-30T23:40:30] Module name: ExpChooser
# # [INFO] [2024-11-30T23:40:30] Instrument: epn
# # [INFO] [2024-11-30T23:40:30] Stream no.: 0007
# # [INFO] [2024-11-30T23:40:30] Module version number: 1.38
# # [INFO] [2024-11-30T23:40:30] Checking exposure U007 for processability
# # [INFO] [2024-11-30T23:40:30] Exposure ignored due to lack of event files
# # [INFO] [2024-11-30T23:40:30] Module name: ExpChooser
# # [INFO] [2024-11-30T23:40:30] Instrument: epn
# # [INFO] [2024-11-30T23:40:30] Stream no.: 0008
# # [INFO] [2024-11-30T23:40:30] Module version number: 1.38
# # [INFO] [2024-11-30T23:40:30] Checking exposure U008 for processability
# # [INFO] [2024-11-30T23:40:30] Exposure ignored due to lack of event files
# # [INFO] [2024-11-30T23:40:30] Module name: ExpChooser
# # [INFO] [2024-11-30T23:40:30] Instrument: epn
# # [INFO] [2024-11-30T23:40:30] Stream no.: 0009
# # [INFO] [2024-11-30T23:40:30] Module version number: 1.38
# # [INFO] [2024-11-30T23:40:30] Checking exposure U009 for processability
# # [INFO] [2024-11-30T23:40:30] Exposure ignored due to lack of event files
# # [INFO] [2024-11-30T23:40:30] Module name: ExpChooser
# # [INFO] [2024-11-30T23:40:30] Instrument: epn
# # [INFO] [2024-11-30T23:40:30] Stream no.: 0010
# # [INFO] [2024-11-30T23:40:30] Module version number: 1.38
# # [INFO] [2024-11-30T23:40:30] Checking exposure U010 for processability
# # [INFO] [2024-11-30T23:40:30] Exposure ignored due to lack of event files
# # [INFO] [2024-11-30T23:40:30] Module name: ExpChooser
# # [INFO] [2024-11-30T23:40:30] Instrument: epn
# # [INFO] [2024-11-30T23:40:30] Stream no.: 0011
# # [INFO] [2024-11-30T23:40:30] Module version number: 1.38
# # [INFO] [2024-11-30T23:40:30] Checking exposure U011 for processability
# # [INFO] [2024-11-30T23:40:30] Exposure ignored due to lack of event files
# # [INFO] [2024-11-30T23:40:30] Module name: ExpChooser
# # [INFO] [2024-11-30T23:40:30] Instrument: epn
# # [INFO] [2024-11-30T23:40:30] Stream no.: 0012
# # [INFO] [2024-11-30T23:40:30] Module version number: 1.38
# # [INFO] [2024-11-30T23:40:30] Checking exposure U012 for processability
# # [INFO] [2024-11-30T23:40:30] Exposure ignored due to lack of event files
# # [INFO] [2024-11-30T23:40:30] Module name: ExpChooser
# # [INFO] [2024-11-30T23:40:30] Instrument: epn
# # [INFO] [2024-11-30T23:40:30] Stream no.: 0013
# # [INFO] [2024-11-30T23:40:30] Module version number: 1.38
# # [INFO] [2024-11-30T23:40:30] Checking exposure U013 for processability
# # [INFO] [2024-11-30T23:40:30] Exposure ignored due to lack of event files
# # [INFO] [2024-11-30T23:40:30] Module name: ExpChooser
# # [INFO] [2024-11-30T23:40:30] Instrument: epn
# # [INFO] [2024-11-30T23:40:30] Stream no.: 0014
# # [INFO] [2024-11-30T23:40:30] Module version number: 1.38
# # [INFO] [2024-11-30T23:40:30] Checking exposure U401 for processability
# # [INFO] [2024-11-30T23:40:30] Exposure ignored due to lack of event files
# # [INFO] [2024-11-30T23:40:30] Module name: ExpChooser
# # [INFO] [2024-11-30T23:40:30] Instrument: om
# # [INFO] [2024-11-30T23:40:30] Stream no.: 0001
# # [INFO] [2024-11-30T23:40:30] Module version number: 1.38
# # [INFO] [2024-11-30T23:40:30] Checking exposure S006 for processability
# # [INFO] [2024-11-30T23:40:30] Filter: V
# # [INFO] [2024-11-30T23:40:30] Instrument mode: Image
# # [INFO] [2024-11-30T23:40:30] Exposure duration: 2198
# # [INFO] [2024-11-30T23:40:30] Module name: ExpChooser
# # [INFO] [2024-11-30T23:40:30] Instrument: om
# # [INFO] [2024-11-30T23:40:30] Stream no.: 0002
# # [INFO] [2024-11-30T23:40:30] Module version number: 1.38
# # [INFO] [2024-11-30T23:40:30] Checking exposure S007 for processability
# # [INFO] [2024-11-30T23:40:30] Filter: U
# # [INFO] [2024-11-30T23:40:30] Instrument mode: Image
# # [INFO] [2024-11-30T23:40:30] Exposure duration: 1900
# # [INFO] [2024-11-30T23:40:30] Module name: ExpChooser
# # [INFO] [2024-11-30T23:40:30] Instrument: om
# # [INFO] [2024-11-30T23:40:30] Stream no.: 0003
# # [INFO] [2024-11-30T23:40:30] Module version number: 1.38
# # [INFO] [2024-11-30T23:40:30] Checking exposure S008 for processability
# # [INFO] [2024-11-30T23:40:30] Filter: B
# # [INFO] [2024-11-30T23:40:30] Instrument mode: Image
# # [INFO] [2024-11-30T23:40:30] Exposure duration: 2200
# # [INFO] [2024-11-30T23:40:30] Module name: ExpChooser
# # [INFO] [2024-11-30T23:40:30] Instrument: om
# # [INFO] [2024-11-30T23:40:30] Stream no.: 0004
# # [INFO] [2024-11-30T23:40:30] Module version number: 1.38
# # [INFO] [2024-11-30T23:40:30] Checking exposure S400 for processability
# # [INFO] [2024-11-30T23:40:30] Filter: V
# # [INFO] [2024-11-30T23:40:30] Instrument mode: UNDEFINED
# # [INFO] [2024-11-30T23:40:30] Exposure duration: 2198
# # [INFO] [2024-11-30T23:40:30] OM datamode=
# # [INFO] [2024-11-30T23:40:30] Exposure ignored due to invalid or unsupported instrument mode
# # [INFO] [2024-11-30T23:40:30] Module name: ExpChooser
# # [INFO] [2024-11-30T23:40:30] Instrument: emos1
# # [INFO] [2024-11-30T23:40:30] Stream no.: 0001
# # [INFO] [2024-11-30T23:40:30] Module version number: 1.38
# # [INFO] [2024-11-30T23:40:30] Checking exposure S003 for processability
# # [INFO] [2024-11-30T23:40:30] Filter: CalClosed
# # [INFO] [2024-11-30T23:40:30] Instrument mode: PrimeFullWindow
# # [INFO] [2024-11-30T23:40:30] Exposure duration: 7221
# # [INFO] [2024-11-30T23:40:30] Exposure ignored due to invalid or unsupported filter
# # [INFO] [2024-11-30T23:40:30] Module name: InstrumentHK
# # [INFO] [2024-11-30T23:40:30] Instrument: om
# # [INFO] [2024-11-30T23:40:30] Stream no.: 0001
# # [INFO] [2024-11-30T23:40:30] Module version number: 2.01
# # [INFO] [2024-11-30T23:40:30] Module name: USNOExtract
# # [INFO] [2024-11-30T23:40:30] Instrument: all
# # [INFO] [2024-11-30T23:40:30] Stream no.: 0001
# # [INFO] [2024-11-30T23:40:30] Module version number: 0.07
# [COMMAND] [2024-11-30T23:40:30]
export \
PFILES=/scratch/225633.1.all.q/xmm/ppsprod/228779/pfiles;/lhome/pcms/local/rhel8.6/GNU_CC_CXX_11.3.0/headas/architecture/syspfiles
# [COMMAND] [2024-11-30T23:40:30]
export SAS_MEMORY_MODEL=high
# [COMMAND] [2024-11-30T23:40:30]
export SAS_RAND_SEED=0502220401
# # [INFO] [2024-11-30T23:40:30] ## DEBUG ModuleResources: SAS_RAND_SEED set: 0502220401
# [COMMAND] [2024-11-30T23:40:30]
fimgcreate bitpix=8 datafile=none headfile=intermediate/USNOExtract-all-1-fimgcreate_kwds-X00000000000000.ascii naxes='648,648' \
outfile=intermediate/USNOExtract-all-1-dummy_image-X00000000000000.fits
# # [OUTPUT] [2024-11-30T23:40:30] Written the output image ......... 
# # [INFO] [2024-11-30T23:40:30] Task Run Time fimgcreate 0.0238230228424072s
#
# [COMMAND] [2024-11-30T23:40:30]
export SAS_MEMORY_MODEL=high
# [COMMAND] [2024-11-30T23:40:30]
export SAS_RAND_SEED=0502220401
# # [INFO] [2024-11-30T23:40:30] ## DEBUG ModuleResources: SAS_RAND_SEED set: 0502220401
# [COMMAND] [2024-11-30T23:40:30]
catprep catextract=intermediate/USNOExtract-all-1-Reference_catalogue-X00000000000000.fits \
srclistset=product/P0502220401OBX000CALIND0000.FIT -w 10
# # [OUTPUT] [2024-11-30T23:40:31]
# # [INFO] [2024-11-30T23:40:31] Task Run Time catprep 0.836950063705444s
#
# [COMMAND] [2024-11-30T23:40:31]
cp /scratch/225633.1.all.q/xmm/ppsprod/228779/intermediate/USNOExtract-all-1-Reference_catalogue-X00000000000000.fits \
/scratch/225633.1.all.q/xmm/ppsprod/228779/product/P0502220401OBX000REFCAT0000.FIT
# # [INFO] [2024-11-30T23:40:31] System RV 0
# # [INFO] [2024-11-30T23:40:31] Reading keyword OBS_ID value 0502220401 comment Observation identifier
# # [INFO] [2024-11-30T23:40:31] Reading keyword DEC_OBJ value 5.27547222000000E+01 comment [deg] Dec of the observed object
# # [INFO] [2024-11-30T23:40:31] Reading keyword DATE-END value 2007-10-07T14:05:20.000 comment Date observations ended
# # [INFO] [2024-11-30T23:40:31] Reading keyword DATE-OBS value 2007-10-07T12:01:30.000 comment Date observations were made
# # [INFO] [2024-11-30T23:40:31] Reading keyword OBS_MODE value POINTING comment Observation mode (pointing or slew)
# # [INFO] [2024-11-30T23:40:31] Reading keyword RA_OBJ value 1.27923292500000E+02 comment [deg] Ra of the observed object
# # [INFO] [2024-11-30T23:40:31] Reading keyword TELESCOP value XMM comment Telescope (mission) name
# [COMMAND] [2024-11-30T23:40:31]
export SAS_MEMORY_MODEL=high
# [COMMAND] [2024-11-30T23:40:31]
export SAS_RAND_SEED=0502220401
# # [INFO] [2024-11-30T23:40:31] ## DEBUG ModuleResources: SAS_RAND_SEED set: 0502220401
# [COMMAND] [2024-11-30T23:40:31]
addattribute attributecomment="\"Observation identifier\" \"[deg] Dec of the observed object\" \"Date observations ended\" \"Date \
observations were made\" \"Observation mode (pointing or slew)\" \"[deg] Ra of the observed object\" \"Telescope (mission) name\"" \
attributename="OBS_ID DEC_OBJ DATE-END DATE-OBS OBS_MODE RA_OBJ TELESCOP" attributetype="\"string\" \"real\" \"string\" \"string\" \
\"string\" \"real\" \"string\"" realvalue="5.27547222000000E+01 1.27923292500000E+02" set=product/P0502220401OBX000REFCAT0000.FIT \
stringvalue="0502220401 2007-10-07T14:05:20.000 2007-10-07T12:01:30.000 POINTING XMM" -w 10
# # [OUTPUT] [2024-11-30T23:40:31] ** addattribute: warning (creatorKeywordNotFound), The CREATOR keyword could not be found in\
#     dataset with name 'product/P0502220401OBX000REFCAT0000.FIT'
# ** addattribute: warning (dateKeywordNotFound), The DATE keyword could not be found in dataset with name\
#     'product/P0502220401OBX000REFCAT0000.FIT' 
# # [INFO] [2024-11-30T23:40:31] Task Run Time addattribute 0.0367939472198486s
#
# # [INFO] [2024-11-30T23:40:31] Module name: OMgetFlat
# # [INFO] [2024-11-30T23:40:31] Instrument: om
# # [INFO] [2024-11-30T23:40:31] Stream no.: 0001
# # [INFO] [2024-11-30T23:40:31] Module version number: 1.07
# [COMMAND] [2024-11-30T23:40:31]
export SAS_MEMORY_MODEL=high
# [COMMAND] [2024-11-30T23:40:31]
export SAS_RAND_SEED=0502220401
# # [INFO] [2024-11-30T23:40:31] ## DEBUG ModuleResources: SAS_RAND_SEED set: 0502220401
# [COMMAND] [2024-11-30T23:40:31]
omflatgen outset=intermediate/OMgetFlat-om-1-OM_Flatfield-X00000000000000.fits -w 10
# # [OUTPUT] [2024-11-30T23:40:31] ** omflatgen: warning (ArgumentIgnored), Warning: countRateFrameRatio argument in small-scale\
#     flatfield retrieval currently ignored 
# # [INFO] [2024-11-30T23:40:31] Task Run Time omflatgen 0.133463859558105s
#
# # [INFO] [2024-11-30T23:40:31] Module name: OMExpAnalyse
# # [INFO] [2024-11-30T23:40:31] Instrument: om
# # [INFO] [2024-11-30T23:40:31] Stream no.: 0002
# # [INFO] [2024-11-30T23:40:31] Module version number: 1.06
# [COMMAND] [2024-11-30T23:40:31]
export SAS_MEMORY_MODEL=high
# [COMMAND] [2024-11-30T23:40:31]
export SAS_RAND_SEED=0502220401
# # [INFO] [2024-11-30T23:40:31] ## DEBUG ModuleResources: SAS_RAND_SEED set: 0502220401
# [COMMAND] [2024-11-30T23:40:31]
omprep modeset=3 nphset=odf/1433_0502220401_OMX00000NPH.FIT \
outset=intermediate/OMExpAnalyse-om-2-omprep_tracking_history-S00700000000000.fits pehset=odf/1433_0502220401_OMX00000PEH.FIT \
set=odf/1433_0502220401_OMS00700THX.FIT wdxset=odf/1433_0502220401_OMS00700WDX.FIT -w 10
# # [OUTPUT] [2024-11-30T23:40:31]
# # [INFO] [2024-11-30T23:40:31] Task Run Time omprep 0.123867988586426s
#
# [COMMAND] [2024-11-30T23:40:31]
export SAS_MEMORY_MODEL=high
# [COMMAND] [2024-11-30T23:40:31]
export SAS_RAND_SEED=0502220401
# # [INFO] [2024-11-30T23:40:31] ## DEBUG ModuleResources: SAS_RAND_SEED set: 0502220401
# [COMMAND] [2024-11-30T23:40:31]
omthconv nphset=odf/1433_0502220401_OMX00000NPH.FIT \
outset=intermediate/OMExpAnalyse-om-2-OM_TRACKING_STAR_TIMESERIES-S00700000000000.fits \
thxset=intermediate/OMExpAnalyse-om-2-omprep_tracking_history-S00700000000000.fits -w 10
# # [OUTPUT] [2024-11-30T23:40:31]
# # [INFO] [2024-11-30T23:40:31] Task Run Time omthconv 0.138540029525757s
#
# [COMMAND] [2024-11-30T23:40:31]
cp /scratch/225633.1.all.q/xmm/ppsprod/228779/intermediate/OMExpAnalyse-om-2-OM_TRACKING_STAR_TIMESERIES-S00700000000000.fits \
/scratch/225633.1.all.q/xmm/ppsprod/228779/product/P0502220401OMS007TSTRTS0000.FIT
# # [INFO] [2024-11-30T23:40:31] System RV 0
# [COMMAND] [2024-11-30T23:40:31]
export SAS_MEMORY_MODEL=high
# [COMMAND] [2024-11-30T23:40:31]
export SAS_RAND_SEED=0502220401
# # [INFO] [2024-11-30T23:40:31] ## DEBUG ModuleResources: SAS_RAND_SEED set: 0502220401
# [COMMAND] [2024-11-30T23:40:31]
omdrifthist plotfile=intermediate/OMExpAnalyse-om-2-OM_TRACKING_HISTORY_PLOT-S00700000000000.ps \
set=intermediate/OMExpAnalyse-om-2-omprep_tracking_history-S00700000000000.fits -w 10
# # [OUTPUT] [2024-11-30T23:40:32]
# # [INFO] [2024-11-30T23:40:32] Task Run Time omdrifthist 0.547796964645386s
#
# [COMMAND] [2024-11-30T23:40:32]
pstopdf intermediate/OMExpAnalyse-om-2-OM_TRACKING_HISTORY_PLOT-S00700000000000.ps product/P0502220401OMS007TSHPLT0000.PDF
# # [OUTPUT] [2024-11-30T23:40:32]
# # [INFO] [2024-11-30T23:40:32] Module name: OMExpAnalyse
# # [INFO] [2024-11-30T23:40:32] Instrument: om
# # [INFO] [2024-11-30T23:40:32] Stream no.: 0003
# # [INFO] [2024-11-30T23:40:32] Module version number: 1.06
# [COMMAND] [2024-11-30T23:40:32]
export SAS_MEMORY_MODEL=high
# [COMMAND] [2024-11-30T23:40:32]
export SAS_RAND_SEED=0502220401
# # [INFO] [2024-11-30T23:40:32] ## DEBUG ModuleResources: SAS_RAND_SEED set: 0502220401
# [COMMAND] [2024-11-30T23:40:32]
omprep modeset=3 nphset=odf/1433_0502220401_OMX00000NPH.FIT \
outset=intermediate/OMExpAnalyse-om-3-omprep_tracking_history-S00800000000000.fits pehset=odf/1433_0502220401_OMX00000PEH.FIT \
set=odf/1433_0502220401_OMS00800THX.FIT wdxset=odf/1433_0502220401_OMS00800WDX.FIT -w 10
# # [OUTPUT] [2024-11-30T23:40:32]
# # [INFO] [2024-11-30T23:40:32] Task Run Time omprep 0.120981931686401s
#
# [COMMAND] [2024-11-30T23:40:32]
export SAS_MEMORY_MODEL=high
# [COMMAND] [2024-11-30T23:40:32]
export SAS_RAND_SEED=0502220401
# # [INFO] [2024-11-30T23:40:32] ## DEBUG ModuleResources: SAS_RAND_SEED set: 0502220401
# [COMMAND] [2024-11-30T23:40:32]
omthconv nphset=odf/1433_0502220401_OMX00000NPH.FIT \
outset=intermediate/OMExpAnalyse-om-3-OM_TRACKING_STAR_TIMESERIES-S00800000000000.fits \
thxset=intermediate/OMExpAnalyse-om-3-omprep_tracking_history-S00800000000000.fits -w 10
# # [OUTPUT] [2024-11-30T23:40:32]
# # [INFO] [2024-11-30T23:40:32] Task Run Time omthconv 0.12024998664856s
#
# [COMMAND] [2024-11-30T23:40:32]
cp /scratch/225633.1.all.q/xmm/ppsprod/228779/intermediate/OMExpAnalyse-om-3-OM_TRACKING_STAR_TIMESERIES-S00800000000000.fits \
/scratch/225633.1.all.q/xmm/ppsprod/228779/product/P0502220401OMS008TSTRTS0000.FIT
# # [INFO] [2024-11-30T23:40:32] System RV 0
# [COMMAND] [2024-11-30T23:40:32]
export SAS_MEMORY_MODEL=high
# [COMMAND] [2024-11-30T23:40:32]
export SAS_RAND_SEED=0502220401
# # [INFO] [2024-11-30T23:40:32] ## DEBUG ModuleResources: SAS_RAND_SEED set: 0502220401
# [COMMAND] [2024-11-30T23:40:32]
omdrifthist plotfile=intermediate/OMExpAnalyse-om-3-OM_TRACKING_HISTORY_PLOT-S00800000000000.ps \
set=intermediate/OMExpAnalyse-om-3-omprep_tracking_history-S00800000000000.fits -w 10
# # [OUTPUT] [2024-11-30T23:40:33]
# # [INFO] [2024-11-30T23:40:33] Task Run Time omdrifthist 0.479855060577393s
#
# [COMMAND] [2024-11-30T23:40:33]
pstopdf intermediate/OMExpAnalyse-om-3-OM_TRACKING_HISTORY_PLOT-S00800000000000.ps product/P0502220401OMS008TSHPLT0000.PDF
# # [OUTPUT] [2024-11-30T23:40:33]
# # [INFO] [2024-11-30T23:40:33] Module name: OMExpAnalyse
# # [INFO] [2024-11-30T23:40:33] Instrument: om
# # [INFO] [2024-11-30T23:40:33] Stream no.: 0001
# # [INFO] [2024-11-30T23:40:33] Module version number: 1.06
# [COMMAND] [2024-11-30T23:40:33]
export SAS_MEMORY_MODEL=high
# [COMMAND] [2024-11-30T23:40:33]
export SAS_RAND_SEED=0502220401
# # [INFO] [2024-11-30T23:40:33] ## DEBUG ModuleResources: SAS_RAND_SEED set: 0502220401
# [COMMAND] [2024-11-30T23:40:33]
omprep modeset=3 nphset=odf/1433_0502220401_OMX00000NPH.FIT \
outset=intermediate/OMExpAnalyse-om-1-omprep_tracking_history-S00600000000000.fits pehset=odf/1433_0502220401_OMX00000PEH.FIT \
set=odf/1433_0502220401_OMS00600THX.FIT wdxset=odf/1433_0502220401_OMS00600WDX.FIT -w 10
# # [OUTPUT] [2024-11-30T23:40:33]
# # [INFO] [2024-11-30T23:40:33] Task Run Time omprep 0.163830041885376s
#
# [COMMAND] [2024-11-30T23:40:33]
export SAS_MEMORY_MODEL=high
# [COMMAND] [2024-11-30T23:40:33]
export SAS_RAND_SEED=0502220401
# # [INFO] [2024-11-30T23:40:33] ## DEBUG ModuleResources: SAS_RAND_SEED set: 0502220401
# [COMMAND] [2024-11-30T23:40:33]
omthconv nphset=odf/1433_0502220401_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:40:33]
# # [INFO] [2024-11-30T23:40:33] Task Run Time omthconv 0.15097188949585s
#
# [COMMAND] [2024-11-30T23:40:33]
cp /scratch/225633.1.all.q/xmm/ppsprod/228779/intermediate/OMExpAnalyse-om-1-OM_TRACKING_STAR_TIMESERIES-S00600000000000.fits \
/scratch/225633.1.all.q/xmm/ppsprod/228779/product/P0502220401OMS006TSTRTS0000.FIT
# # [INFO] [2024-11-30T23:40:33] System RV 0
# [COMMAND] [2024-11-30T23:40:33]
export SAS_MEMORY_MODEL=high
# [COMMAND] [2024-11-30T23:40:33]
export SAS_RAND_SEED=0502220401
# # [INFO] [2024-11-30T23:40:33] ## DEBUG ModuleResources: SAS_RAND_SEED set: 0502220401
# [COMMAND] [2024-11-30T23:40:33]
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:40:33]
# # [INFO] [2024-11-30T23:40:33] Task Run Time omdrifthist 0.481019973754883s
#
# [COMMAND] [2024-11-30T23:40:33]
pstopdf intermediate/OMExpAnalyse-om-1-OM_TRACKING_HISTORY_PLOT-S00600000000000.ps product/P0502220401OMS006TSHPLT0000.PDF
# # [OUTPUT] [2024-11-30T23:40:34]
# # [INFO] [2024-11-30T23:40:34] Module name: OMFastAnalyse
# # [INFO] [2024-11-30T23:40:34] Instrument: om
# # [INFO] [2024-11-30T23:40:34] Stream no.: 0001
# # [INFO] [2024-11-30T23:40:34] Module version number: 1.36
# # [INFO] [2024-11-30T23:40:34] DEBUG --- exp_id: S006, filter: V
# # [INFO] [2024-11-30T23:40:34] 1 Fast Mode Windows to process
# # [INFO] [2024-11-30T23:40:34] Processing OSW 1
# # [INFO] [2024-11-30T23:40:34] Start omprep
# [COMMAND] [2024-11-30T23:40:34]
export SAS_MEMORY_MODEL=high
# [COMMAND] [2024-11-30T23:40:34]
export SAS_RAND_SEED=0502220401
# # [INFO] [2024-11-30T23:40:34] ## DEBUG ModuleResources: SAS_RAND_SEED set: 0502220401
# [COMMAND] [2024-11-30T23:40:34]
omprep modeset=1 nphset=odf/1433_0502220401_OMX00000NPH.FIT \
outset=intermediate/OMFastAnalyse-om-1-PPS_Event_List_File-S00600010000000.fits pehset=odf/1433_0502220401_OMX00000PEH.FIT \
set=odf/1433_0502220401_OMS00601FAE.FIT wdxset=odf/1433_0502220401_OMS00600WDX.FIT -w 10
# # [OUTPUT] [2024-11-30T23:40:34]
# # [INFO] [2024-11-30T23:40:34] Task Run Time omprep 0.133332967758179s
#
# # [INFO] [2024-11-30T23:40:34] Start evselect(1)
# [COMMAND] [2024-11-30T23:40:34]
export SAS_MEMORY_MODEL=high
# [COMMAND] [2024-11-30T23:40:34]
export SAS_RAND_SEED=0502220401
# # [INFO] [2024-11-30T23:40:34] ## DEBUG ModuleResources: SAS_RAND_SEED set: 0502220401
# [COMMAND] [2024-11-30T23:40:34]
evselect imageset=intermediate/OMFastAnalyse-om-1-Fast_Mode_Raw_Image-S00600010000000.fits \
table=intermediate/OMFastAnalyse-om-1-PPS_Event_List_File-S00600010000000.fits withimageset=true xcolumn=RAWX ycolumn=RAWY -w 10
# # [OUTPUT] [2024-11-30T23:40:34] ** evselect: warning (NoAttrib), The Attribute SLCTEXPR does not exist in the input event list.\
#     No value was copied.
# ** evselect: warning (NoWCS), No WCS information available for image column RAWX.
# ** evselect: warning (NoWCS), No WCS information available for image column RAWY. 
# # [INFO] [2024-11-30T23:40:34] Task Run Time evselect 0.0571811199188232s
#
# # [INFO] [2024-11-30T23:40:34] Start omfastshift
# [COMMAND] [2024-11-30T23:40:34]
export SAS_MEMORY_MODEL=high
# [COMMAND] [2024-11-30T23:40:34]
export SAS_RAND_SEED=0502220401
# # [INFO] [2024-11-30T23:40:34] ## DEBUG ModuleResources: SAS_RAND_SEED set: 0502220401
# [COMMAND] [2024-11-30T23:40:34]
omfastshift nphset=odf/1433_0502220401_OMX00000NPH.FIT set=intermediate/OMFastAnalyse-om-1-PPS_Event_List_File-S00600010000000.fits \
thxset=intermediate/OMExpAnalyse-om-1-omprep_tracking_history-S00600000000000.fits -w 10
# # [OUTPUT] [2024-11-30T23:40:34]
# # [INFO] [2024-11-30T23:40:34] Task Run Time omfastshift 0.0618679523468018s
#
# # [INFO] [2024-11-30T23:40:34] Start omfastflat
# [COMMAND] [2024-11-30T23:40:34]
export SAS_MEMORY_MODEL=high
# [COMMAND] [2024-11-30T23:40:34]
export SAS_RAND_SEED=0502220401
# # [INFO] [2024-11-30T23:40:34] ## DEBUG ModuleResources: SAS_RAND_SEED set: 0502220401
# [COMMAND] [2024-11-30T23:40:34]
omfastflat fastimgset=product/P0502220401OMS006IMAGEF1000.FIT \
oswflatset=intermediate/OMFastAnalyse-om-1-OM_OSW_Flat_Field-S00600010000000.fits \
set=intermediate/OMFastAnalyse-om-1-PPS_Event_List_File-S00600010000000.fits \
slewflatset=intermediate/OMgetFlat-om-1-OM_Flatfield-X00000000000000.fits -w 10
# # [OUTPUT] [2024-11-30T23:40:34]
# # [INFO] [2024-11-30T23:40:34] Task Run Time omfastflat 0.22536301612854s
#
# # [INFO] [2024-11-30T23:40:34] Start omdetect
# [COMMAND] [2024-11-30T23:40:34]
export SAS_MEMORY_MODEL=high
# [COMMAND] [2024-11-30T23:40:34]
export SAS_RAND_SEED=0502220401
# # [INFO] [2024-11-30T23:40:34] ## DEBUG ModuleResources: SAS_RAND_SEED set: 0502220401
# [COMMAND] [2024-11-30T23:40:34]
omdetect nsigma=3 outset=product/P0502220401OMS006SFSRLI1000.FIT regionfile=product/P0502220401OMS006SFSREG1000.ASC \
set=product/P0502220401OMS006IMAGEF1000.FIT -w 10
# # [OUTPUT] [2024-11-30T23:40:35]
# # [INFO] [2024-11-30T23:40:35] Task Run Time omdetect 0.508882999420166s
#
# # [INFO] [2024-11-30T23:40:35] Start omatt
# [COMMAND] [2024-11-30T23:40:35]
export SAS_MEMORY_MODEL=high
# [COMMAND] [2024-11-30T23:40:35]
export SAS_RAND_SEED=0502220401
# # [INFO] [2024-11-30T23:40:35] ## DEBUG ModuleResources: SAS_RAND_SEED set: 0502220401
# [COMMAND] [2024-11-30T23:40:35]
omatt ppsoswset=product/P0502220401OMS006SIMAGF1000.FIT set=product/P0502220401OMS006IMAGEF1000.FIT \
sourcelistset=product/P0502220401OMS006SFSRLI1000.FIT usecat=F -w 10
# # [OUTPUT] [2024-11-30T23:40:35]
# # [INFO] [2024-11-30T23:40:35] Task Run Time omatt 0.56177806854248s
#
# # [INFO] [2024-11-30T23:40:35] Sky image found 
# # [INFO] [2024-11-30T23:40:35] DEBUG - doCommand fullcmd : implot.py --fitsImage=product/P0502220401OMS006SIMAGF1000.FIT\
#     --outfile=product/P0502220401OMS006SIMAGF1000.PNG --srclisttab=product/P0502220401OMS006SFSRLI1000.FIT --zscale=sqrt\
#     --zscaletype=7
# [COMMAND] [2024-11-30T23:40:35]
export SAS_MEMORY_MODEL=high
# [COMMAND] [2024-11-30T23:40:35]
export SAS_RAND_SEED=0502220401
# # [INFO] [2024-11-30T23:40:35] ## DEBUG ModuleResources: SAS_RAND_SEED set: 0502220401
# [COMMAND] [2024-11-30T23:40:35]
implot.py --fitsImage=product/P0502220401OMS006SIMAGF1000.FIT --outfile=product/P0502220401OMS006SIMAGF1000.PNG \
--srclisttab=product/P0502220401OMS006SFSRLI1000.FIT --zscale=sqrt --zscaletype=7
# # [OUTPUT] [2024-11-30T23:40:37] Image shape. y,x: (32, 30) figsize: [8.5, 6.8]
# Cropped image shape. y,x: (31, 29) x/y ratio: 0.94
# Plotting source regions from product/P0502220401OMS006SFSRLI1000.FIT 
# # [INFO] [2024-11-30T23:40:37] Task Run Time implot.py 1.73311519622803s
#
# # [INFO] [2024-11-30T23:40:37] implot has created PNG with src list
# # [INFO] [2024-11-30T23:40:37] Per-Source Processing
# # [INFO] [2024-11-30T23:40:37] Number of sources from region file product/P0502220401OMS006SFSREG1000.ASC: 1
# # [INFO] [2024-11-30T23:40:37] Sources in sourcelist product/P0502220401OMS006SFSRLI1000.FIT : 1
# # [INFO] [2024-11-30T23:40:37] Source Number : 1
# # [INFO] [2024-11-30T23:40:37] Start omregion
# [COMMAND] [2024-11-30T23:40:37]
export SAS_MEMORY_MODEL=high
# [COMMAND] [2024-11-30T23:40:37]
export SAS_RAND_SEED=0502220401
# # [INFO] [2024-11-30T23:40:37] ## DEBUG ModuleResources: SAS_RAND_SEED set: 0502220401
# [COMMAND] [2024-11-30T23:40:37]
omregion bkgfile=intermediate/OMFastAnalyse-om-1-OM_Background_Region_File-S00600010000001.fits bkginner=1.2 bkgouter=2.5 nfwhm=3 \
set=product/P0502220401OMS006SFSRLI1000.FIT srcfile=intermediate/OMFastAnalyse-om-1-OM_Source_Region_File-S00600010000001.fits \
srcnumber=1 srcradius=-6 -w 10
# # [OUTPUT] [2024-11-30T23:40:37]
# # [INFO] [2024-11-30T23:40:37] Task Run Time omregion 0.0355370044708252s
#
# # [INFO] [2024-11-30T23:40:37] Sampling timebinsize of product/P0502220401OMS006IMAGEF1000.FIT = 512/1024 sec
# # [INFO] [2024-11-30T23:40:37] Start evselect (2)
# # [INFO] [2024-11-30T23:40:37] timebinsize for evselect = 10
# [COMMAND] [2024-11-30T23:40:37]
export SAS_MEMORY_MODEL=high
# [COMMAND] [2024-11-30T23:40:37]
export SAS_RAND_SEED=0502220401
# # [INFO] [2024-11-30T23:40:37] ## DEBUG ModuleResources: SAS_RAND_SEED set: 0502220401
# [COMMAND] [2024-11-30T23:40:37]
evselect expression="((WIN_FLAG .eq. 0) .and. (region(intermediate/OMFastAnalyse-om-1-OM_Source_Region_File-S00600010000001.fits, \
CORR_X, CORR_Y)))" maketimecolumn=true rateset=intermediate/OMFastAnalyse-om-1-OM_Source_Rates_File-S00600010000001.fits \
table=intermediate/OMFastAnalyse-om-1-PPS_Event_List_File-S00600010000000.fits timebinsize=10 withrateset=T -w 10
# # [OUTPUT] [2024-11-30T23:40:37] ** evselect: warning (NoCCDcolumn), Event list does not have a CCDNR column. Cannot update\
#     exposure information. 
# ** evselect: warning (NoCCDcolumn), Event list does not have a CCDNR column. Cannot update exposure information. 
# # [INFO] [2024-11-30T23:40:37] Task Run Time evselect 0.0509378910064697s
#
# # [INFO] [2024-11-30T23:40:37] Start evselect (3)
# [COMMAND] [2024-11-30T23:40:37]
export SAS_MEMORY_MODEL=high
# [COMMAND] [2024-11-30T23:40:37]
export SAS_RAND_SEED=0502220401
# # [INFO] [2024-11-30T23:40:37] ## DEBUG ModuleResources: SAS_RAND_SEED set: 0502220401
# [COMMAND] [2024-11-30T23:40:37]
evselect expression="((WIN_FLAG .eq. 0) .and. \
(region(intermediate/OMFastAnalyse-om-1-OM_Background_Region_File-S00600010000001.fits, CORR_X, CORR_Y)))" maketimecolumn=true \
rateset=intermediate/OMFastAnalyse-om-1-OM_Background_Rates_File-S00600010000001.fits \
table=intermediate/OMFastAnalyse-om-1-PPS_Event_List_File-S00600010000000.fits timebinsize=10 withrateset=T -w 10
# # [OUTPUT] [2024-11-30T23:40:37] ** evselect: warning (NoCCDcolumn), Event list does not have a CCDNR column. Cannot update\
#     exposure information. 
# ** evselect: warning (NoCCDcolumn), Event list does not have a CCDNR column. Cannot update exposure information. 
# # [INFO] [2024-11-30T23:40:37] Task Run Time evselect 0.0611140727996826s
#
# # [INFO] [2024-11-30T23:40:37] Start omlcbuild
# # [INFO] [2024-11-30T23:40:37] Imaging mode image for determining background S006:odf/1433_0502220401_OMS00600IMI.FIT
# [COMMAND] [2024-11-30T23:40:37]
export SAS_MEMORY_MODEL=high
# [COMMAND] [2024-11-30T23:40:37]
export SAS_RAND_SEED=0502220401
# # [INFO] [2024-11-30T23:40:37] ## DEBUG ModuleResources: SAS_RAND_SEED set: 0502220401
# [COMMAND] [2024-11-30T23:40:37]
omlcbuild bkgfromimage=yes bkgrateset=intermediate/OMFastAnalyse-om-1-OM_Background_Rates_File-S00600010000001.fits \
bkgregionset=intermediate/OMFastAnalyse-om-1-OM_Background_Region_File-S00600010000001.fits \
imageset=odf/1433_0502220401_OMS00600IMI.FIT outset=product/P0502220401OMS006TIMESR1001.FIT \
sourcelistset=product/P0502220401OMS006SFSRLI1000.FIT \
srcrateset=intermediate/OMFastAnalyse-om-1-OM_Source_Rates_File-S00600010000001.fits \
srcregionset=intermediate/OMFastAnalyse-om-1-OM_Source_Region_File-S00600010000001.fits wdxset=odf/1433_0502220401_OMS00600WDX.FIT \
-w 10
# # [OUTPUT] [2024-11-30T23:40:59]
# TDP corr factor is: 1.12840521 
# # [INFO] [2024-11-30T23:40:59] Task Run Time omlcbuild 22.2192089557648s
#
# # [INFO] [2024-11-30T23:40:59] DEBUG ++ omlcbuild complete, generated TIMESR file: product/P0502220401OMS006TIMESR1001.FIT
# # [INFO] [2024-11-30T23:40:59] DEBUG ++ TIMESR file product/P0502220401OMS006TIMESR1001.FIT exists!
# # [INFO] [2024-11-30T23:40:59] Start lcplot
# [COMMAND] [2024-11-30T23:40:59]
export SAS_MEMORY_MODEL=high
# [COMMAND] [2024-11-30T23:40:59]
export SAS_RAND_SEED=0502220401
# # [INFO] [2024-11-30T23:40:59] ## DEBUG ModuleResources: SAS_RAND_SEED set: 0502220401
# [COMMAND] [2024-11-30T23:40:59]
lcplot binsize=1 plotdevice=/VPS plotfile=intermediate/OMFastAnalyse-om-1-OM_OSW_SOURCE_TIMESERIES-S00600010000001.ps \
set=product/P0502220401OMS006TIMESR1001.FIT tests=chi -w 10
# # [OUTPUT] [2024-11-30T23:41:01] ** lcplot: warning (LCPLOT), HDUCLAS2 is not equal to TOTAL
# lcplot_graph.py executed successfully. 
# # [INFO] [2024-11-30T23:41:01] Task Run Time lcplot 1.52550005912781s
#
# # [INFO] [2024-11-30T23:41:01] Start PStoPDF
# [COMMAND] [2024-11-30T23:41:01]
pstopdf intermediate/OMFastAnalyse-om-1-OM_OSW_SOURCE_TIMESERIES-S00600010000001.ps product/P0502220401OMS006TIMESR1001.PDF
# # [OUTPUT] [2024-11-30T23:41:01]
# # [INFO] [2024-11-30T23:41:01] Module name: OMFastAnalyse
# # [INFO] [2024-11-30T23:41:01] Instrument: om
# # [INFO] [2024-11-30T23:41:01] Stream no.: 0002
# # [INFO] [2024-11-30T23:41:01] Module version number: 1.36
# # [INFO] [2024-11-30T23:41:01] DEBUG --- exp_id: S007, filter: U
# # [INFO] [2024-11-30T23:41:01] 1 Fast Mode Windows to process
# # [INFO] [2024-11-30T23:41:01] Processing OSW 1
# # [INFO] [2024-11-30T23:41:01] Start omprep
# [COMMAND] [2024-11-30T23:41:01]
export SAS_MEMORY_MODEL=high
# [COMMAND] [2024-11-30T23:41:01]
export SAS_RAND_SEED=0502220401
# # [INFO] [2024-11-30T23:41:01] ## DEBUG ModuleResources: SAS_RAND_SEED set: 0502220401
# [COMMAND] [2024-11-30T23:41:01]
omprep modeset=1 nphset=odf/1433_0502220401_OMX00000NPH.FIT \
outset=intermediate/OMFastAnalyse-om-2-PPS_Event_List_File-S00700010000000.fits pehset=odf/1433_0502220401_OMX00000PEH.FIT \
set=odf/1433_0502220401_OMS00701FAE.FIT wdxset=odf/1433_0502220401_OMS00700WDX.FIT -w 10
# # [OUTPUT] [2024-11-30T23:41:01]
# # [INFO] [2024-11-30T23:41:01] Task Run Time omprep 0.17957592010498s
#
# # [INFO] [2024-11-30T23:41:01] Start evselect(1)
# [COMMAND] [2024-11-30T23:41:01]
export SAS_MEMORY_MODEL=high
# [COMMAND] [2024-11-30T23:41:01]
export SAS_RAND_SEED=0502220401
# # [INFO] [2024-11-30T23:41:01] ## DEBUG ModuleResources: SAS_RAND_SEED set: 0502220401
# [COMMAND] [2024-11-30T23:41:01]
evselect imageset=intermediate/OMFastAnalyse-om-2-Fast_Mode_Raw_Image-S00700010000000.fits \
table=intermediate/OMFastAnalyse-om-2-PPS_Event_List_File-S00700010000000.fits withimageset=true xcolumn=RAWX ycolumn=RAWY -w 10
# # [OUTPUT] [2024-11-30T23:41:01] ** evselect: warning (NoAttrib), The Attribute SLCTEXPR does not exist in the input event list.\
#     No value was copied.
# ** evselect: warning (NoWCS), No WCS information available for image column RAWX.
# ** evselect: warning (NoWCS), No WCS information available for image column RAWY. 
# # [INFO] [2024-11-30T23:41:01] Task Run Time evselect 0.0478260517120361s
#
# # [INFO] [2024-11-30T23:41:01] Start omfastshift
# [COMMAND] [2024-11-30T23:41:01]
export SAS_MEMORY_MODEL=high
# [COMMAND] [2024-11-30T23:41:01]
export SAS_RAND_SEED=0502220401
# # [INFO] [2024-11-30T23:41:01] ## DEBUG ModuleResources: SAS_RAND_SEED set: 0502220401
# [COMMAND] [2024-11-30T23:41:01]
omfastshift nphset=odf/1433_0502220401_OMX00000NPH.FIT set=intermediate/OMFastAnalyse-om-2-PPS_Event_List_File-S00700010000000.fits \
thxset=intermediate/OMExpAnalyse-om-2-omprep_tracking_history-S00700000000000.fits -w 10
# # [OUTPUT] [2024-11-30T23:41:01]
# # [INFO] [2024-11-30T23:41:01] Task Run Time omfastshift 0.0429728031158447s
#
# # [INFO] [2024-11-30T23:41:01] Start omfastflat
# [COMMAND] [2024-11-30T23:41:01]
export SAS_MEMORY_MODEL=high
# [COMMAND] [2024-11-30T23:41:01]
export SAS_RAND_SEED=0502220401
# # [INFO] [2024-11-30T23:41:01] ## DEBUG ModuleResources: SAS_RAND_SEED set: 0502220401
# [COMMAND] [2024-11-30T23:41:01]
omfastflat fastimgset=product/P0502220401OMS007IMAGEF1000.FIT \
oswflatset=intermediate/OMFastAnalyse-om-2-OM_OSW_Flat_Field-S00700010000000.fits \
set=intermediate/OMFastAnalyse-om-2-PPS_Event_List_File-S00700010000000.fits \
slewflatset=intermediate/OMgetFlat-om-1-OM_Flatfield-X00000000000000.fits -w 10
# # [OUTPUT] [2024-11-30T23:41:01]
# # [INFO] [2024-11-30T23:41:01] Task Run Time omfastflat 0.178088903427124s
#
# # [INFO] [2024-11-30T23:41:01] Start omdetect
# [COMMAND] [2024-11-30T23:41:01]
export SAS_MEMORY_MODEL=high
# [COMMAND] [2024-11-30T23:41:01]
export SAS_RAND_SEED=0502220401
# # [INFO] [2024-11-30T23:41:01] ## DEBUG ModuleResources: SAS_RAND_SEED set: 0502220401
# [COMMAND] [2024-11-30T23:41:01]
omdetect nsigma=3 outset=product/P0502220401OMS007SFSRLI1000.FIT regionfile=product/P0502220401OMS007SFSREG1000.ASC \
set=product/P0502220401OMS007IMAGEF1000.FIT -w 10
# # [OUTPUT] [2024-11-30T23:41:02]
# # [INFO] [2024-11-30T23:41:02] Task Run Time omdetect 0.565351963043213s
#
# # [INFO] [2024-11-30T23:41:02] Start omatt
# [COMMAND] [2024-11-30T23:41:02]
export SAS_MEMORY_MODEL=high
# [COMMAND] [2024-11-30T23:41:02]
export SAS_RAND_SEED=0502220401
# # [INFO] [2024-11-30T23:41:02] ## DEBUG ModuleResources: SAS_RAND_SEED set: 0502220401
# [COMMAND] [2024-11-30T23:41:02]
omatt ppsoswset=product/P0502220401OMS007SIMAGF1000.FIT set=product/P0502220401OMS007IMAGEF1000.FIT \
sourcelistset=product/P0502220401OMS007SFSRLI1000.FIT usecat=F -w 10
# # [OUTPUT] [2024-11-30T23:41:03]
# # [INFO] [2024-11-30T23:41:03] Task Run Time omatt 0.566831111907959s
#
# # [INFO] [2024-11-30T23:41:03] Sky image found 
# # [INFO] [2024-11-30T23:41:03] DEBUG - doCommand fullcmd : implot.py --fitsImage=product/P0502220401OMS007SIMAGF1000.FIT\
#     --outfile=product/P0502220401OMS007SIMAGF1000.PNG --srclisttab=product/P0502220401OMS007SFSRLI1000.FIT --zscale=sqrt\
#     --zscaletype=7
# [COMMAND] [2024-11-30T23:41:03]
export SAS_MEMORY_MODEL=high
# [COMMAND] [2024-11-30T23:41:03]
export SAS_RAND_SEED=0502220401
# # [INFO] [2024-11-30T23:41:03] ## DEBUG ModuleResources: SAS_RAND_SEED set: 0502220401
# [COMMAND] [2024-11-30T23:41:03]
implot.py --fitsImage=product/P0502220401OMS007SIMAGF1000.FIT --outfile=product/P0502220401OMS007SIMAGF1000.PNG \
--srclisttab=product/P0502220401OMS007SFSRLI1000.FIT --zscale=sqrt --zscaletype=7
# # [OUTPUT] [2024-11-30T23:41:05] Image shape. y,x: (32, 30) figsize: [8.5, 6.8]
# Cropped image shape. y,x: (31, 29) x/y ratio: 0.94
# Plotting source regions from product/P0502220401OMS007SFSRLI1000.FIT 
# # [INFO] [2024-11-30T23:41:05] Task Run Time implot.py 2.17526698112488s
#
# # [INFO] [2024-11-30T23:41:05] implot has created PNG with src list
# # [INFO] [2024-11-30T23:41:05] Per-Source Processing
# # [INFO] [2024-11-30T23:41:05] Number of sources from region file product/P0502220401OMS007SFSREG1000.ASC: 0
# # [INFO] [2024-11-30T23:41:05] Sources in sourcelist product/P0502220401OMS007SFSRLI1000.FIT : 0
# # [INFO] [2024-11-30T23:41:05] One of the source counts is zero. No source level products will be produced for S007.
# # [INFO] [2024-11-30T23:41:05] Module name: OMFastAnalyse
# # [INFO] [2024-11-30T23:41:05] Instrument: om
# # [INFO] [2024-11-30T23:41:05] Stream no.: 0003
# # [INFO] [2024-11-30T23:41:05] Module version number: 1.36
# # [INFO] [2024-11-30T23:41:05] DEBUG --- exp_id: S008, filter: B
# # [INFO] [2024-11-30T23:41:05] 1 Fast Mode Windows to process
# # [INFO] [2024-11-30T23:41:05] Processing OSW 1
# # [INFO] [2024-11-30T23:41:05] Start omprep
# [COMMAND] [2024-11-30T23:41:05]
export SAS_MEMORY_MODEL=high
# [COMMAND] [2024-11-30T23:41:05]
export SAS_RAND_SEED=0502220401
# # [INFO] [2024-11-30T23:41:05] ## DEBUG ModuleResources: SAS_RAND_SEED set: 0502220401
# [COMMAND] [2024-11-30T23:41:05]
omprep modeset=1 nphset=odf/1433_0502220401_OMX00000NPH.FIT \
outset=intermediate/OMFastAnalyse-om-3-PPS_Event_List_File-S00800010000000.fits pehset=odf/1433_0502220401_OMX00000PEH.FIT \
set=odf/1433_0502220401_OMS00801FAE.FIT wdxset=odf/1433_0502220401_OMS00800WDX.FIT -w 10
# # [OUTPUT] [2024-11-30T23:41:05]
# # [INFO] [2024-11-30T23:41:05] Task Run Time omprep 0.196994066238403s
#
# # [INFO] [2024-11-30T23:41:05] Start evselect(1)
# [COMMAND] [2024-11-30T23:41:05]
export SAS_MEMORY_MODEL=high
# [COMMAND] [2024-11-30T23:41:05]
export SAS_RAND_SEED=0502220401
# # [INFO] [2024-11-30T23:41:05] ## DEBUG ModuleResources: SAS_RAND_SEED set: 0502220401
# [COMMAND] [2024-11-30T23:41:05]
evselect imageset=intermediate/OMFastAnalyse-om-3-Fast_Mode_Raw_Image-S00800010000000.fits \
table=intermediate/OMFastAnalyse-om-3-PPS_Event_List_File-S00800010000000.fits withimageset=true xcolumn=RAWX ycolumn=RAWY -w 10
# # [OUTPUT] [2024-11-30T23:41:05] ** evselect: warning (NoAttrib), The Attribute SLCTEXPR does not exist in the input event list.\
#     No value was copied.
# ** evselect: warning (NoWCS), No WCS information available for image column RAWX.
# ** evselect: warning (NoWCS), No WCS information available for image column RAWY. 
# # [INFO] [2024-11-30T23:41:05] Task Run Time evselect 0.0512502193450928s
#
# # [INFO] [2024-11-30T23:41:05] Start omfastshift
# [COMMAND] [2024-11-30T23:41:05]
export SAS_MEMORY_MODEL=high
# [COMMAND] [2024-11-30T23:41:05]
export SAS_RAND_SEED=0502220401
# # [INFO] [2024-11-30T23:41:05] ## DEBUG ModuleResources: SAS_RAND_SEED set: 0502220401
# [COMMAND] [2024-11-30T23:41:05]
omfastshift nphset=odf/1433_0502220401_OMX00000NPH.FIT set=intermediate/OMFastAnalyse-om-3-PPS_Event_List_File-S00800010000000.fits \
thxset=intermediate/OMExpAnalyse-om-3-omprep_tracking_history-S00800000000000.fits -w 10
# # [OUTPUT] [2024-11-30T23:41:05]
# # [INFO] [2024-11-30T23:41:05] Task Run Time omfastshift 0.05253005027771s
#
# # [INFO] [2024-11-30T23:41:05] Start omfastflat
# [COMMAND] [2024-11-30T23:41:05]
export SAS_MEMORY_MODEL=high
# [COMMAND] [2024-11-30T23:41:05]
export SAS_RAND_SEED=0502220401
# # [INFO] [2024-11-30T23:41:05] ## DEBUG ModuleResources: SAS_RAND_SEED set: 0502220401
# [COMMAND] [2024-11-30T23:41:05]
omfastflat fastimgset=product/P0502220401OMS008IMAGEF1000.FIT \
oswflatset=intermediate/OMFastAnalyse-om-3-OM_OSW_Flat_Field-S00800010000000.fits \
set=intermediate/OMFastAnalyse-om-3-PPS_Event_List_File-S00800010000000.fits \
slewflatset=intermediate/OMgetFlat-om-1-OM_Flatfield-X00000000000000.fits -w 10
# # [OUTPUT] [2024-11-30T23:41:05]
# # [INFO] [2024-11-30T23:41:05] Task Run Time omfastflat 0.28233814239502s
#
# # [INFO] [2024-11-30T23:41:05] Start omdetect
# [COMMAND] [2024-11-30T23:41:05]
export SAS_MEMORY_MODEL=high
# [COMMAND] [2024-11-30T23:41:05]
export SAS_RAND_SEED=0502220401
# # [INFO] [2024-11-30T23:41:05] ## DEBUG ModuleResources: SAS_RAND_SEED set: 0502220401
# [COMMAND] [2024-11-30T23:41:05]
omdetect nsigma=3 outset=product/P0502220401OMS008SFSRLI1000.FIT regionfile=product/P0502220401OMS008SFSREG1000.ASC \
set=product/P0502220401OMS008IMAGEF1000.FIT -w 10
# # [OUTPUT] [2024-11-30T23:41:06]
# # [INFO] [2024-11-30T23:41:06] Task Run Time omdetect 0.59023904800415s
#
# # [INFO] [2024-11-30T23:41:06] Start omatt
# [COMMAND] [2024-11-30T23:41:06]
export SAS_MEMORY_MODEL=high
# [COMMAND] [2024-11-30T23:41:06]
export SAS_RAND_SEED=0502220401
# # [INFO] [2024-11-30T23:41:06] ## DEBUG ModuleResources: SAS_RAND_SEED set: 0502220401
# [COMMAND] [2024-11-30T23:41:06]
omatt ppsoswset=product/P0502220401OMS008SIMAGF1000.FIT set=product/P0502220401OMS008IMAGEF1000.FIT \
sourcelistset=product/P0502220401OMS008SFSRLI1000.FIT usecat=F -w 10
# # [OUTPUT] [2024-11-30T23:41:06]
# # [INFO] [2024-11-30T23:41:06] Task Run Time omatt 0.541096925735474s
#
# # [INFO] [2024-11-30T23:41:06] Sky image found 
# # [INFO] [2024-11-30T23:41:06] DEBUG - doCommand fullcmd : implot.py --fitsImage=product/P0502220401OMS008SIMAGF1000.FIT\
#     --outfile=product/P0502220401OMS008SIMAGF1000.PNG --srclisttab=product/P0502220401OMS008SFSRLI1000.FIT --zscale=sqrt\
#     --zscaletype=7
# [COMMAND] [2024-11-30T23:41:06]
export SAS_MEMORY_MODEL=high
# [COMMAND] [2024-11-30T23:41:06]
export SAS_RAND_SEED=0502220401
# # [INFO] [2024-11-30T23:41:06] ## DEBUG ModuleResources: SAS_RAND_SEED set: 0502220401
# [COMMAND] [2024-11-30T23:41:06]
implot.py --fitsImage=product/P0502220401OMS008SIMAGF1000.FIT --outfile=product/P0502220401OMS008SIMAGF1000.PNG \
--srclisttab=product/P0502220401OMS008SFSRLI1000.FIT --zscale=sqrt --zscaletype=7
# # [OUTPUT] [2024-11-30T23:41:08] Image shape. y,x: (32, 30) figsize: [8.5, 6.8]
# Cropped image shape. y,x: (31, 29) x/y ratio: 0.94
# Plotting source regions from product/P0502220401OMS008SFSRLI1000.FIT 
# # [INFO] [2024-11-30T23:41:08] Task Run Time implot.py 1.92618989944458s
#
# # [INFO] [2024-11-30T23:41:08] implot has created PNG with src list
# # [INFO] [2024-11-30T23:41:08] Per-Source Processing
# # [INFO] [2024-11-30T23:41:08] Number of sources from region file product/P0502220401OMS008SFSREG1000.ASC: 1
# # [INFO] [2024-11-30T23:41:08] Sources in sourcelist product/P0502220401OMS008SFSRLI1000.FIT : 1
# # [INFO] [2024-11-30T23:41:08] Source Number : 1
# # [INFO] [2024-11-30T23:41:08] Start omregion
# [COMMAND] [2024-11-30T23:41:08]
export SAS_MEMORY_MODEL=high
# [COMMAND] [2024-11-30T23:41:08]
export SAS_RAND_SEED=0502220401
# # [INFO] [2024-11-30T23:41:08] ## DEBUG ModuleResources: SAS_RAND_SEED set: 0502220401
# [COMMAND] [2024-11-30T23:41:08]
omregion bkgfile=intermediate/OMFastAnalyse-om-3-OM_Background_Region_File-S00800010000001.fits bkginner=1.2 bkgouter=2.5 nfwhm=3 \
set=product/P0502220401OMS008SFSRLI1000.FIT srcfile=intermediate/OMFastAnalyse-om-3-OM_Source_Region_File-S00800010000001.fits \
srcnumber=1 srcradius=-6 -w 10
# # [OUTPUT] [2024-11-30T23:41:08]
# # [INFO] [2024-11-30T23:41:08] Task Run Time omregion 0.0321810245513916s
#
# # [INFO] [2024-11-30T23:41:08] Sampling timebinsize of product/P0502220401OMS008IMAGEF1000.FIT = 512/1024 sec
# # [INFO] [2024-11-30T23:41:08] Start evselect (2)
# # [INFO] [2024-11-30T23:41:08] timebinsize for evselect = 10
# [COMMAND] [2024-11-30T23:41:08]
export SAS_MEMORY_MODEL=high
# [COMMAND] [2024-11-30T23:41:08]
export SAS_RAND_SEED=0502220401
# # [INFO] [2024-11-30T23:41:08] ## DEBUG ModuleResources: SAS_RAND_SEED set: 0502220401
# [COMMAND] [2024-11-30T23:41:08]
evselect expression="((WIN_FLAG .eq. 0) .and. (region(intermediate/OMFastAnalyse-om-3-OM_Source_Region_File-S00800010000001.fits, \
CORR_X, CORR_Y)))" maketimecolumn=true rateset=intermediate/OMFastAnalyse-om-3-OM_Source_Rates_File-S00800010000001.fits \
table=intermediate/OMFastAnalyse-om-3-PPS_Event_List_File-S00800010000000.fits timebinsize=10 withrateset=T -w 10
# # [OUTPUT] [2024-11-30T23:41:09] ** evselect: warning (NoCCDcolumn), Event list does not have a CCDNR column. Cannot update\
#     exposure information. 
# ** evselect: warning (NoCCDcolumn), Event list does not have a CCDNR column. Cannot update exposure information. 
# # [INFO] [2024-11-30T23:41:09] Task Run Time evselect 0.106804847717285s
#
# # [INFO] [2024-11-30T23:41:09] Start evselect (3)
# [COMMAND] [2024-11-30T23:41:09]
export SAS_MEMORY_MODEL=high
# [COMMAND] [2024-11-30T23:41:09]
export SAS_RAND_SEED=0502220401
# # [INFO] [2024-11-30T23:41:09] ## DEBUG ModuleResources: SAS_RAND_SEED set: 0502220401
# [COMMAND] [2024-11-30T23:41:09]
evselect expression="((WIN_FLAG .eq. 0) .and. \
(region(intermediate/OMFastAnalyse-om-3-OM_Background_Region_File-S00800010000001.fits, CORR_X, CORR_Y)))" maketimecolumn=true \
rateset=intermediate/OMFastAnalyse-om-3-OM_Background_Rates_File-S00800010000001.fits \
table=intermediate/OMFastAnalyse-om-3-PPS_Event_List_File-S00800010000000.fits timebinsize=10 withrateset=T -w 10
# # [OUTPUT] [2024-11-30T23:41:09] ** evselect: warning (NoCCDcolumn), Event list does not have a CCDNR column. Cannot update\
#     exposure information. 
# ** evselect: warning (NoCCDcolumn), Event list does not have a CCDNR column. Cannot update exposure information. 
# # [INFO] [2024-11-30T23:41:09] Task Run Time evselect 0.0572509765625s
#
# # [INFO] [2024-11-30T23:41:09] Start omlcbuild
# # [INFO] [2024-11-30T23:41:09] Imaging mode image for determining background S008:odf/1433_0502220401_OMS00800IMI.FIT
# [COMMAND] [2024-11-30T23:41:09]
export SAS_MEMORY_MODEL=high
# [COMMAND] [2024-11-30T23:41:09]
export SAS_RAND_SEED=0502220401
# # [INFO] [2024-11-30T23:41:09] ## DEBUG ModuleResources: SAS_RAND_SEED set: 0502220401
# [COMMAND] [2024-11-30T23:41:09]
omlcbuild bkgfromimage=yes bkgrateset=intermediate/OMFastAnalyse-om-3-OM_Background_Rates_File-S00800010000001.fits \
bkgregionset=intermediate/OMFastAnalyse-om-3-OM_Background_Region_File-S00800010000001.fits \
imageset=odf/1433_0502220401_OMS00800IMI.FIT outset=product/P0502220401OMS008TIMESR1001.FIT \
sourcelistset=product/P0502220401OMS008SFSRLI1000.FIT \
srcrateset=intermediate/OMFastAnalyse-om-3-OM_Source_Rates_File-S00800010000001.fits \
srcregionset=intermediate/OMFastAnalyse-om-3-OM_Source_Region_File-S00800010000001.fits wdxset=odf/1433_0502220401_OMS00800WDX.FIT \
-w 10
# # [OUTPUT] [2024-11-30T23:41:30]
# TDP corr factor is: 1.05962598 
# # [INFO] [2024-11-30T23:41:30] Task Run Time omlcbuild 21.5239770412445s
#
# # [INFO] [2024-11-30T23:41:30] DEBUG ++ omlcbuild complete, generated TIMESR file: product/P0502220401OMS008TIMESR1001.FIT
# # [INFO] [2024-11-30T23:41:30] DEBUG ++ TIMESR file product/P0502220401OMS008TIMESR1001.FIT exists!
# # [INFO] [2024-11-30T23:41:30] Start lcplot
# [COMMAND] [2024-11-30T23:41:30]
export SAS_MEMORY_MODEL=high
# [COMMAND] [2024-11-30T23:41:30]
export SAS_RAND_SEED=0502220401
# # [INFO] [2024-11-30T23:41:30] ## DEBUG ModuleResources: SAS_RAND_SEED set: 0502220401
# [COMMAND] [2024-11-30T23:41:30]
lcplot binsize=1 plotdevice=/VPS plotfile=intermediate/OMFastAnalyse-om-3-OM_OSW_SOURCE_TIMESERIES-S00800010000001.ps \
set=product/P0502220401OMS008TIMESR1001.FIT tests=chi -w 10
# # [OUTPUT] [2024-11-30T23:41:32] ** lcplot: warning (LCPLOT), HDUCLAS2 is not equal to TOTAL
# lcplot_graph.py executed successfully. 
# # [INFO] [2024-11-30T23:41:32] Task Run Time lcplot 2.12337183952332s
#
# # [INFO] [2024-11-30T23:41:32] Start PStoPDF
# [COMMAND] [2024-11-30T23:41:32]
pstopdf intermediate/OMFastAnalyse-om-3-OM_OSW_SOURCE_TIMESERIES-S00800010000001.ps product/P0502220401OMS008TIMESR1001.PDF
# # [OUTPUT] [2024-11-30T23:41:32]
# # [INFO] [2024-11-30T23:41:32] Module name: OMImageAnalyse
# # [INFO] [2024-11-30T23:41:32] Instrument: om
# # [INFO] [2024-11-30T23:41:32] Stream no.: 0001
# # [INFO] [2024-11-30T23:41:32] Module version number: 3.28
# # [INFO] [2024-11-30T23:41:32] Looking for Engineering Mode Files...
# # [INFO] [2024-11-30T23:41:32] Found None Engineering mode Windows.
# # [INFO] [2024-11-30T23:41:32] Found No Full Frame Engineering 4 Windows.
# # [INFO] [2024-11-30T23:41:32] Found no Full Frame Engineering 2 Windows.
# # [INFO] [2024-11-30T23:41:32] Looking for Image Mode Files...
# # [INFO] [2024-11-30T23:41:32] Found 1 Image mode images.
# # [INFO] [2024-11-30T23:41:32] Analysing odf/1433_0502220401_OMS00600IMI.FIT for image identification
# # [INFO] [2024-11-30T23:41:32] Identified mode: USER
# # [INFO] [2024-11-30T23:41:32] Failed to make a suitable combined image. Will process components as USER mode.
# # [INFO] [2024-11-30T23:41:32] Processing USER Images.
# # [INFO] [2024-11-30T23:41:32] 1 images to process.
# # [INFO] [2024-11-30T23:41:32] Processing S006:0:odf/1433_0502220401_OMS00600IMI.FIT
# [COMMAND] [2024-11-30T23:41:32]
export SAS_MEMORY_MODEL=high
# [COMMAND] [2024-11-30T23:41:32]
export SAS_RAND_SEED=0502220401
# # [INFO] [2024-11-30T23:41:32] ## DEBUG ModuleResources: SAS_RAND_SEED set: 0502220401
# [COMMAND] [2024-11-30T23:41:32]
omprep modeset=0 nphset=odf/1433_0502220401_OMX00000NPH.FIT outset=intermediate/OMImageAnalyse-om-1-Raw_Image-S00600000000000.fits \
pehset=odf/1433_0502220401_OMX00000PEH.FIT set=odf/1433_0502220401_OMS00600IMI.FIT wdxset=odf/1433_0502220401_OMS00600WDX.FIT -w 10
# # [OUTPUT] [2024-11-30T23:41:33]
# # [INFO] [2024-11-30T23:41:33] Task Run Time omprep 0.180509090423584s
#
# # [INFO] [2024-11-30T23:41:33] Retrieving FILTER value
# # [INFO] [2024-11-30T23:41:33] FILTER = V
# # [INFO] [2024-11-30T23:41:33] Retrieving EXPOSURE value
# # [INFO] [2024-11-30T23:41:33] EXPOSURE = 2.20000000000000E+03
# [COMMAND] [2024-11-30T23:41:33]
export SAS_MEMORY_MODEL=high
# [COMMAND] [2024-11-30T23:41:33]
export SAS_RAND_SEED=0502220401
# # [INFO] [2024-11-30T23:41:33] ## DEBUG ModuleResources: SAS_RAND_SEED set: 0502220401
# [COMMAND] [2024-11-30T23:41:33]
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:41:33]
# # [INFO] [2024-11-30T23:41:33] Task Run Time omcosflag 0.600599050521851s
#
# [COMMAND] [2024-11-30T23:41:33]
export SAS_MEMORY_MODEL=high
# [COMMAND] [2024-11-30T23:41:33]
export SAS_RAND_SEED=0502220401
# # [INFO] [2024-11-30T23:41:33] ## DEBUG ModuleResources: SAS_RAND_SEED set: 0502220401
# [COMMAND] [2024-11-30T23:41:33]
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:41:33]
# # [INFO] [2024-11-30T23:41:33] Task Run Time omflatfield 0.123794078826904s
#
# [COMMAND] [2024-11-30T23:41:33]
export SAS_MEMORY_MODEL=high
# [COMMAND] [2024-11-30T23:41:33]
export SAS_RAND_SEED=0502220401
# # [INFO] [2024-11-30T23:41:33] ## DEBUG ModuleResources: SAS_RAND_SEED set: 0502220401
# [COMMAND] [2024-11-30T23:41:33]
ommodmap mod8product=Y mod8set=intermediate/OMImageAnalyse-om-1-OSW_MODULO_8_IMAGE-S00600000000000.fits nbox=16 nsig=6 \
outset=product/P0502220401OMS006IMAGE_0000.FIT set=intermediate/OMImageAnalyse-om-1-OSW_Flat_Fielded_Image-S00600000000000.fits -w \
10
# # [OUTPUT] [2024-11-30T23:41:44]
# # [INFO] [2024-11-30T23:41:44] Task Run Time ommodmap 10.6722140312195s
#
# [COMMAND] [2024-11-30T23:41:44]
export SAS_MEMORY_MODEL=high
# [COMMAND] [2024-11-30T23:41:44]
export SAS_RAND_SEED=0502220401
# # [INFO] [2024-11-30T23:41:44] ## DEBUG ModuleResources: SAS_RAND_SEED set: 0502220401
# [COMMAND] [2024-11-30T23:41:44]
omqualitymap mode=setqualityimage outset=product/P0502220401OMS006IMAGE_0000.FIT set=product/P0502220401OMS006IMAGE_0000.FIT \
srclistset= -w 10
# # [OUTPUT] [2024-11-30T23:41:44] ** omqualitymap: warning (parameter), srclistset = NONE; 
# ** omqualitymap: warning (overwrite), The file product/P0502220401OMS006IMAGE_0000.FIT will be overwritten
# ** omqualitymap: warning (parameter), srclistset = NONE; 
# # [INFO] [2024-11-30T23:41:44] Task Run Time omqualitymap 0.12439489364624s
#
# [COMMAND] [2024-11-30T23:41:44]
export SAS_MEMORY_MODEL=high
# [COMMAND] [2024-11-30T23:41:44]
export SAS_RAND_SEED=0502220401
# # [INFO] [2024-11-30T23:41:44] ## DEBUG ModuleResources: SAS_RAND_SEED set: 0502220401
# [COMMAND] [2024-11-30T23:41:44]
omdetect detectextended=Y minsignificance=3 nsigma=2 outset=product/P0502220401OMS006SWSRLI0000.FIT \
regionfile=product/P0502220401OMS006SWSREG0000.ASC set=product/P0502220401OMS006IMAGE_0000.FIT -w 10
# # [OUTPUT] [2024-11-30T23:42:04]
# # [INFO] [2024-11-30T23:42:04] Task Run Time omdetect 20.1259388923645s
#
# [COMMAND] [2024-11-30T23:42:04]
export SAS_MEMORY_MODEL=high
# [COMMAND] [2024-11-30T23:42:04]
export SAS_RAND_SEED=0502220401
# # [INFO] [2024-11-30T23:42:04] ## DEBUG ModuleResources: SAS_RAND_SEED set: 0502220401
# [COMMAND] [2024-11-30T23:42:04]
omqualitymap mode=setqualityimage outset=product/P0502220401OMS006IMAGE_0000.FIT set=product/P0502220401OMS006IMAGE_0000.FIT \
srclistset=product/P0502220401OMS006SWSRLI0000.FIT -w 10
# # [OUTPUT] [2024-11-30T23:42:04] ** omqualitymap: warning (parameter), srclistset = product/P0502220401OMS006SWSRLI0000.FIT; 
# ** omqualitymap: warning (overwrite), The file product/P0502220401OMS006IMAGE_0000.FIT will be overwritten
# ** omqualitymap: warning (parameter), srclistset = product/P0502220401OMS006SWSRLI0000.FIT; 
# # [INFO] [2024-11-30T23:42:04] Task Run Time omqualitymap 0.143923044204712s
#
# [COMMAND] [2024-11-30T23:42:04]
export SAS_MEMORY_MODEL=high
# [COMMAND] [2024-11-30T23:42:04]
export SAS_RAND_SEED=0502220401
# # [INFO] [2024-11-30T23:42:04] ## DEBUG ModuleResources: SAS_RAND_SEED set: 0502220401
# [COMMAND] [2024-11-30T23:42:04]
ommag set=product/P0502220401OMS006SWSRLI0000.FIT -w 10
# # [OUTPUT] [2024-11-30T23:42:04]
# TDP corr factor is: 1.12840521 
# L265 tdpCorrFactor= 1.12840521 
# L348 getting the column data
# In: 46.9750328 581.276489 1 745
# X,Y,pdepcorr: 791.975037 1227.27649 1.00000000 
# In: 340.773224 442.903503 1 745
# X,Y,pdepcorr: 1085.77319 1088.90356 1.00000000 
# In: 574.597290 139.603165 1 745
# X,Y,pdepcorr: 1319.59729 785.603149 1.00000000 
# In: 628.056274 289.456909 1 745
# X,Y,pdepcorr: 1373.05627 935.456909 1.00000000 
# In: 331.670685 332.299835 1 745
# X,Y,pdepcorr: 1076.67065 978.299805 1.00000000 
# In: 257.187531 516.975342 1 745
# X,Y,pdepcorr: 1002.18750 1162.97534 1.00000000 
# In: 57.5875778 158.656601 1 745
# X,Y,pdepcorr: 802.587585 804.656616 1.00000000 
# In: 401.599762 374.370544 1 745
# X,Y,pdepcorr: 1146.59973 1020.37054 1.00000000 
# In: 434.949951 352.646210 1 745
# X,Y,pdepcorr: 1179.94995 998.646240 1.00000000 
# In: 608.068237 257.256439 1 745
# X,Y,pdepcorr: 1353.06824 903.256470 1.00000000 
# In: 346.868408 475.936737 1 745
# X,Y,pdepcorr: 1091.86841 1121.93677 1.00000000 
# In: 614.098083 559.934814 1 745
# X,Y,pdepcorr: 1359.09814 1205.93481 1.00000000 
# In: 541.000244 587.521118 1 745
# X,Y,pdepcorr: 1286.00024 1233.52112 1.00000000 
# In: 232.418671 380.221558 1 745
# X,Y,pdepcorr: 977.418701 1026.22156 1.00000000 
# In: 245.623901 243.736420 1 745
# X,Y,pdepcorr: 990.623901 889.736450 1.00000000 
# In: 449.086914 341.006195 1 745
# X,Y,pdepcorr: 1194.08691 987.006226 1.00000000 
# In: 32.7465439 322.570099 1 745
# X,Y,pdepcorr: 777.746521 968.570068 1.00000000 
# In: 627.843506 251.861038 1 745
# X,Y,pdepcorr: 1372.84351 897.861023 1.00000000 
# In: 584.550598 605.833069 1 745
# X,Y,pdepcorr: 1329.55054 1251.83301 1.00000000 
# In: 345.865967 116.248619 1 745
# X,Y,pdepcorr: 1090.86597 762.248596 1.00000000 
# In: 626.452393 90.5116806 1 745
# X,Y,pdepcorr: 1371.45239 736.511658 1.00000000 
# In: 540.236694 432.243530 1 745
# X,Y,pdepcorr: 1285.23669 1078.24353 1.00000000 
# In: 50.7789230 467.520691 1 745
# X,Y,pdepcorr: 795.778931 1113.52075 1.00000000 
# In: 129.900177 74.1525650 1 745
# X,Y,pdepcorr: 874.900146 720.152588 1.00000000 
# In: 424.167542 96.0276947 1 745
# X,Y,pdepcorr: 1169.16748 742.027710 1.00000000 
# In: 221.076477 232.535965 1 745
# X,Y,pdepcorr: 966.076477 878.535950 1.00000000 
# In: 171.011856 483.547607 1 745
# X,Y,pdepcorr: 916.011841 1129.54761 1.00000000 
# In: 103.242096 28.5339146 1 745
# X,Y,pdepcorr: 848.242065 674.533936 1.00000000 
# # [INFO] [2024-11-30T23:42:04] Task Run Time ommag 0.0549650192260742s
#
# [COMMAND] [2024-11-30T23:42:04]
export SAS_MEMORY_MODEL=high
# [COMMAND] [2024-11-30T23:42:04]
export SAS_RAND_SEED=0502220401
# # [INFO] [2024-11-30T23:42:04] ## DEBUG ModuleResources: SAS_RAND_SEED set: 0502220401
# [COMMAND] [2024-11-30T23:42:04]
omatt catfile=product/P0502220401OBX000REFCAT0000.FIT ppsoswset=product/P0502220401OMS006SIMAGE0000.FIT \
set=product/P0502220401OMS006IMAGE_0000.FIT sourcelistset=product/P0502220401OMS006SWSRLI0000.FIT usecat=Y -w 10
# # [OUTPUT] [2024-11-30T23:42:11]
# # [INFO] [2024-11-30T23:42:11] Task Run Time omatt 6.65253710746765s
#
# [COMMAND] [2024-11-30T23:42:11]
export \
PFILES=/scratch/225633.1.all.q/xmm/ppsprod/228779/pfiles;/lhome/pcms/local/rhel8.6/GNU_CC_CXX_11.3.0/headas/architecture/syspfiles
# [COMMAND] [2024-11-30T23:42:11]
export SAS_MEMORY_MODEL=high
# [COMMAND] [2024-11-30T23:42:11]
export SAS_RAND_SEED=0502220401
# # [INFO] [2024-11-30T23:42:11] ## DEBUG ModuleResources: SAS_RAND_SEED set: 0502220401
# [COMMAND] [2024-11-30T23:42:11]
fimgstat clobber=Y infile=product/P0502220401OMS006SIMAGE0000.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:42:11]
# ****** successfully exited ******
# # [INFO] [2024-11-30T23:42:11] Task Run Time fimgstat 0.0208871364593506s
#
# # [INFO] [2024-11-30T23:42:11] DEBUG - doCommand fullcmd : implot.py --fitsImage=product/P0502220401OMS006SIMAGE0000.FIT\
#     --outfile=product/P0502220401OMS006SIMAGE0000.PNG
# [COMMAND] [2024-11-30T23:42:11]
export SAS_MEMORY_MODEL=high
# [COMMAND] [2024-11-30T23:42:11]
export SAS_RAND_SEED=0502220401
# # [INFO] [2024-11-30T23:42:11] ## DEBUG ModuleResources: SAS_RAND_SEED set: 0502220401
# [COMMAND] [2024-11-30T23:42:11]
implot.py --fitsImage=product/P0502220401OMS006SIMAGE0000.FIT --outfile=product/P0502220401OMS006SIMAGE0000.PNG
# # [OUTPUT] [2024-11-30T23:42:14] Image shape. y,x: (900, 884) figsize: [8.5, 6.8]
# Cropped image shape. y,x: (899, 883) x/y ratio: 0.98 
# # [INFO] [2024-11-30T23:42:14] Task Run Time implot.py 2.48941493034363s
#
# # [INFO] [2024-11-30T23:42:14] Processing RUDI5_LR Images.
# # [INFO] [2024-11-30T23:42:14] 0 images to process.
# # [INFO] [2024-11-30T23:42:14] Processing RUDI5_HR Images.
# # [INFO] [2024-11-30T23:42:14] 0 images to process.
# # [INFO] [2024-11-30T23:42:14] Processing PFENG2 Images.
# # [INFO] [2024-11-30T23:42:14] 0 images to process.
# # [INFO] [2024-11-30T23:42:14] Processing FFENG2 Images.
# # [INFO] [2024-11-30T23:42:14] 0 images to process.
# # [INFO] [2024-11-30T23:42:14] Processing ENG4 Images.
# # [INFO] [2024-11-30T23:42:14] 0 images to process.
# # [INFO] [2024-11-30T23:42:14] All images processed
# # [INFO] [2024-11-30T23:42:14] Writing accounting information
# # [INFO] [2024-11-30T23:42:14] DEBUG: sourcedetails array: $VAR1 = [
# 'product/P0502220401OMS006SWSRLI0000.FIT|USER|V '
# ]; 
# # [INFO] [2024-11-30T23:42:14] DEBUG: skyimagedetails array: $VAR1 = [
# 'product/P0502220401OMS006SIMAGE0000.FIT|USER|V|2.20000000000000E+03|S006 '
# ]; 
# # [INFO] [2024-11-30T23:42:14] Module name: OMImageAnalyse
# # [INFO] [2024-11-30T23:42:14] Instrument: om
# # [INFO] [2024-11-30T23:42:14] Stream no.: 0002
# # [INFO] [2024-11-30T23:42:14] Module version number: 3.28
# # [INFO] [2024-11-30T23:42:14] Looking for Engineering Mode Files...
# # [INFO] [2024-11-30T23:42:14] Found None Engineering mode Windows.
# # [INFO] [2024-11-30T23:42:14] Found No Full Frame Engineering 4 Windows.
# # [INFO] [2024-11-30T23:42:14] Found no Full Frame Engineering 2 Windows.
# # [INFO] [2024-11-30T23:42:14] Looking for Image Mode Files...
# # [INFO] [2024-11-30T23:42:14] Found 1 Image mode images.
# # [INFO] [2024-11-30T23:42:14] Analysing odf/1433_0502220401_OMS00700IMI.FIT for image identification
# # [INFO] [2024-11-30T23:42:14] Identified mode: USER
# # [INFO] [2024-11-30T23:42:14] Failed to make a suitable combined image. Will process components as USER mode.
# # [INFO] [2024-11-30T23:42:14] Processing USER Images.
# # [INFO] [2024-11-30T23:42:14] 1 images to process.
# # [INFO] [2024-11-30T23:42:14] Processing S007:0:odf/1433_0502220401_OMS00700IMI.FIT
# [COMMAND] [2024-11-30T23:42:14]
export SAS_MEMORY_MODEL=high
# [COMMAND] [2024-11-30T23:42:14]
export SAS_RAND_SEED=0502220401
# # [INFO] [2024-11-30T23:42:14] ## DEBUG ModuleResources: SAS_RAND_SEED set: 0502220401
# [COMMAND] [2024-11-30T23:42:14]
omprep modeset=0 nphset=odf/1433_0502220401_OMX00000NPH.FIT outset=intermediate/OMImageAnalyse-om-2-Raw_Image-S00700000000000.fits \
pehset=odf/1433_0502220401_OMX00000PEH.FIT set=odf/1433_0502220401_OMS00700IMI.FIT wdxset=odf/1433_0502220401_OMS00700WDX.FIT -w 10
# # [OUTPUT] [2024-11-30T23:42:14]
# # [INFO] [2024-11-30T23:42:14] Task Run Time omprep 0.130165100097656s
#
# # [INFO] [2024-11-30T23:42:14] Retrieving FILTER value
# # [INFO] [2024-11-30T23:42:14] FILTER = U
# # [INFO] [2024-11-30T23:42:14] Retrieving EXPOSURE value
# # [INFO] [2024-11-30T23:42:14] EXPOSURE = 1.90000000000000E+03
# [COMMAND] [2024-11-30T23:42:14]
export SAS_MEMORY_MODEL=high
# [COMMAND] [2024-11-30T23:42:14]
export SAS_RAND_SEED=0502220401
# # [INFO] [2024-11-30T23:42:14] ## DEBUG ModuleResources: SAS_RAND_SEED set: 0502220401
# [COMMAND] [2024-11-30T23:42:14]
omcosflag set=intermediate/OMImageAnalyse-om-2-Raw_Image-S00700000000000.fits \
thxset=intermediate/OMExpAnalyse-om-2-omprep_tracking_history-S00700000000000.fits -w 10
# # [OUTPUT] [2024-11-30T23:42:14]
# # [INFO] [2024-11-30T23:42:14] Task Run Time omcosflag 0.546864032745361s
#
# [COMMAND] [2024-11-30T23:42:14]
export SAS_MEMORY_MODEL=high
# [COMMAND] [2024-11-30T23:42:14]
export SAS_RAND_SEED=0502220401
# # [INFO] [2024-11-30T23:42:14] ## DEBUG ModuleResources: SAS_RAND_SEED set: 0502220401
# [COMMAND] [2024-11-30T23:42:14]
omflatfield inorbitflatset=intermediate/OMgetFlat-om-1-OM_Flatfield-X00000000000000.fits \
outset=intermediate/OMImageAnalyse-om-2-OSW_Flat_Fielded_Image-S00700000000000.fits \
set=intermediate/OMImageAnalyse-om-2-Raw_Image-S00700000000000.fits \
thxset=intermediate/OMExpAnalyse-om-2-omprep_tracking_history-S00700000000000.fits \
tsflatset=intermediate/OMImageAnalyse-om-2-OSW_Flat_Field-S00700000000000.fits -w 10
# # [OUTPUT] [2024-11-30T23:42:14]
# # [INFO] [2024-11-30T23:42:14] Task Run Time omflatfield 0.10676908493042s
#
# [COMMAND] [2024-11-30T23:42:14]
export SAS_MEMORY_MODEL=high
# [COMMAND] [2024-11-30T23:42:14]
export SAS_RAND_SEED=0502220401
# # [INFO] [2024-11-30T23:42:14] ## DEBUG ModuleResources: SAS_RAND_SEED set: 0502220401
# [COMMAND] [2024-11-30T23:42:14]
ommodmap mod8product=Y mod8set=intermediate/OMImageAnalyse-om-2-OSW_MODULO_8_IMAGE-S00700000000000.fits nbox=16 nsig=6 \
outset=product/P0502220401OMS007IMAGE_0000.FIT set=intermediate/OMImageAnalyse-om-2-OSW_Flat_Fielded_Image-S00700000000000.fits -w \
10
# # [OUTPUT] [2024-11-30T23:42:25]
# # [INFO] [2024-11-30T23:42:25] Task Run Time ommodmap 10.9676690101624s
#
# [COMMAND] [2024-11-30T23:42:25]
export SAS_MEMORY_MODEL=high
# [COMMAND] [2024-11-30T23:42:25]
export SAS_RAND_SEED=0502220401
# # [INFO] [2024-11-30T23:42:25] ## DEBUG ModuleResources: SAS_RAND_SEED set: 0502220401
# [COMMAND] [2024-11-30T23:42:25]
omqualitymap mode=setqualityimage outset=product/P0502220401OMS007IMAGE_0000.FIT set=product/P0502220401OMS007IMAGE_0000.FIT \
srclistset= -w 10
# # [OUTPUT] [2024-11-30T23:42:26] ** omqualitymap: warning (parameter), srclistset = NONE; 
# ** omqualitymap: warning (overwrite), The file product/P0502220401OMS007IMAGE_0000.FIT will be overwritten
# ** omqualitymap: warning (parameter), srclistset = NONE; 
# # [INFO] [2024-11-30T23:42:26] Task Run Time omqualitymap 0.124440908432007s
#
# [COMMAND] [2024-11-30T23:42:26]
export SAS_MEMORY_MODEL=high
# [COMMAND] [2024-11-30T23:42:26]
export SAS_RAND_SEED=0502220401
# # [INFO] [2024-11-30T23:42:26] ## DEBUG ModuleResources: SAS_RAND_SEED set: 0502220401
# [COMMAND] [2024-11-30T23:42:26]
omdetect detectextended=Y minsignificance=3 nsigma=2 outset=product/P0502220401OMS007SWSRLI0000.FIT \
regionfile=product/P0502220401OMS007SWSREG0000.ASC set=product/P0502220401OMS007IMAGE_0000.FIT -w 10
# # [OUTPUT] [2024-11-30T23:42:45]
# # [INFO] [2024-11-30T23:42:45] Task Run Time omdetect 19.799485206604s
#
# [COMMAND] [2024-11-30T23:42:45]
export SAS_MEMORY_MODEL=high
# [COMMAND] [2024-11-30T23:42:45]
export SAS_RAND_SEED=0502220401
# # [INFO] [2024-11-30T23:42:45] ## DEBUG ModuleResources: SAS_RAND_SEED set: 0502220401
# [COMMAND] [2024-11-30T23:42:45]
omqualitymap mode=setqualityimage outset=product/P0502220401OMS007IMAGE_0000.FIT set=product/P0502220401OMS007IMAGE_0000.FIT \
srclistset=product/P0502220401OMS007SWSRLI0000.FIT -w 10
# # [OUTPUT] [2024-11-30T23:42:45] ** omqualitymap: warning (parameter), srclistset = product/P0502220401OMS007SWSRLI0000.FIT; 
# ** omqualitymap: warning (overwrite), The file product/P0502220401OMS007IMAGE_0000.FIT will be overwritten
# ** omqualitymap: warning (parameter), srclistset = product/P0502220401OMS007SWSRLI0000.FIT; 
# # [INFO] [2024-11-30T23:42:45] Task Run Time omqualitymap 0.0877299308776855s
#
# [COMMAND] [2024-11-30T23:42:45]
export SAS_MEMORY_MODEL=high
# [COMMAND] [2024-11-30T23:42:45]
export SAS_RAND_SEED=0502220401
# # [INFO] [2024-11-30T23:42:45] ## DEBUG ModuleResources: SAS_RAND_SEED set: 0502220401
# [COMMAND] [2024-11-30T23:42:45]
ommag set=product/P0502220401OMS007SWSRLI0000.FIT -w 10
# # [OUTPUT] [2024-11-30T23:42:46]
# TDP corr factor is: 1.05995786 
# L265 tdpCorrFactor= 1.05995786 
# L348 getting the column data
# In: 46.9711266 580.716736 1 745
# X,Y,pdepcorr: 791.971130 1226.71680 1.00000000 
# In: 627.938171 289.100616 1 745
# X,Y,pdepcorr: 1372.93823 935.100586 1.00000000 
# In: 340.668243 442.545624 1 745
# X,Y,pdepcorr: 1085.66821 1088.54565 1.00000000 
# In: 574.287354 139.151077 1 745
# X,Y,pdepcorr: 1319.28735 785.151062 1.00000000 
# In: 434.733093 352.129120 1 745
# X,Y,pdepcorr: 1179.73315 998.129150 1.00000000 
# In: 57.8920326 158.246384 1 745
# X,Y,pdepcorr: 802.892029 804.246399 1.00000000 
# In: 257.210205 516.345825 1 745
# X,Y,pdepcorr: 1002.21021 1162.34583 1.00000000 
# In: 245.443939 242.933655 1 745
# X,Y,pdepcorr: 990.443970 888.933655 1.00000000 
# In: 32.5013847 322.017670 1 745
# X,Y,pdepcorr: 777.501404 968.017700 1.00000000 
# In: 607.533325 256.679840 1 745
# X,Y,pdepcorr: 1352.53333 902.679810 1.00000000 
# In: 422.582520 95.8348236 1 745
# X,Y,pdepcorr: 1167.58252 741.834839 1.00000000 
# In: 220.623367 230.387924 1 745
# X,Y,pdepcorr: 965.623352 876.387939 1.00000000 
# In: 401.928284 374.091736 1 745
# X,Y,pdepcorr: 1146.92822 1020.09174 1.00000000 
# In: 48.9352150 465.296906 1 745
# X,Y,pdepcorr: 793.935242 1111.29688 1.00000000 
# In: 614.295410 558.967224 1 745
# X,Y,pdepcorr: 1359.29541 1204.96729 1.00000000 
# # [INFO] [2024-11-30T23:42:46] Task Run Time ommag 0.0605452060699463s
#
# [COMMAND] [2024-11-30T23:42:46]
export SAS_MEMORY_MODEL=high
# [COMMAND] [2024-11-30T23:42:46]
export SAS_RAND_SEED=0502220401
# # [INFO] [2024-11-30T23:42:46] ## DEBUG ModuleResources: SAS_RAND_SEED set: 0502220401
# [COMMAND] [2024-11-30T23:42:46]
omatt catfile=product/P0502220401OBX000REFCAT0000.FIT ppsoswset=product/P0502220401OMS007SIMAGE0000.FIT \
set=product/P0502220401OMS007IMAGE_0000.FIT sourcelistset=product/P0502220401OMS007SWSRLI0000.FIT usecat=Y -w 10
# # [OUTPUT] [2024-11-30T23:42:52]
# # [INFO] [2024-11-30T23:42:52] Task Run Time omatt 6.12565803527832s
#
# [COMMAND] [2024-11-30T23:42:52]
export \
PFILES=/scratch/225633.1.all.q/xmm/ppsprod/228779/pfiles;/lhome/pcms/local/rhel8.6/GNU_CC_CXX_11.3.0/headas/architecture/syspfiles
# [COMMAND] [2024-11-30T23:42:52]
export SAS_MEMORY_MODEL=high
# [COMMAND] [2024-11-30T23:42:52]
export SAS_RAND_SEED=0502220401
# # [INFO] [2024-11-30T23:42:52] ## DEBUG ModuleResources: SAS_RAND_SEED set: 0502220401
# [COMMAND] [2024-11-30T23:42:52]
fimgstat clobber=Y infile=product/P0502220401OMS007SIMAGE0000.FIT max=0 mean=0 min=0 mode=ql num=0 \
outfile=intermediate/OMImageAnalyse-om-2-OSW_0_sky_image_statistics-S00700000000000.ascii rms=0 sum=0 threshlo=INDEF threshup=INDEF \
xmax=0 xmin=0 ymax=0 ymin=0
# # [OUTPUT] [2024-11-30T23:42:52]
# ****** successfully exited ******
# # [INFO] [2024-11-30T23:42:52] Task Run Time fimgstat 0.0246601104736328s
#
# # [INFO] [2024-11-30T23:42:52] DEBUG - doCommand fullcmd : implot.py --fitsImage=product/P0502220401OMS007SIMAGE0000.FIT\
#     --outfile=product/P0502220401OMS007SIMAGE0000.PNG
# [COMMAND] [2024-11-30T23:42:52]
export SAS_MEMORY_MODEL=high
# [COMMAND] [2024-11-30T23:42:52]
export SAS_RAND_SEED=0502220401
# # [INFO] [2024-11-30T23:42:52] ## DEBUG ModuleResources: SAS_RAND_SEED set: 0502220401
# [COMMAND] [2024-11-30T23:42:52]
implot.py --fitsImage=product/P0502220401OMS007SIMAGE0000.FIT --outfile=product/P0502220401OMS007SIMAGE0000.PNG
# # [OUTPUT] [2024-11-30T23:42:54] Image shape. y,x: (900, 884) figsize: [8.5, 6.8]
# Cropped image shape. y,x: (899, 883) x/y ratio: 0.98 
# # [INFO] [2024-11-30T23:42:54] Task Run Time implot.py 2.16433596611023s
#
# # [INFO] [2024-11-30T23:42:54] Processing RUDI5_LR Images.
# # [INFO] [2024-11-30T23:42:54] 0 images to process.
# # [INFO] [2024-11-30T23:42:54] Processing RUDI5_HR Images.
# # [INFO] [2024-11-30T23:42:54] 0 images to process.
# # [INFO] [2024-11-30T23:42:54] Processing PFENG2 Images.
# # [INFO] [2024-11-30T23:42:54] 0 images to process.
# # [INFO] [2024-11-30T23:42:54] Processing FFENG2 Images.
# # [INFO] [2024-11-30T23:42:54] 0 images to process.
# # [INFO] [2024-11-30T23:42:54] Processing ENG4 Images.
# # [INFO] [2024-11-30T23:42:54] 0 images to process.
# # [INFO] [2024-11-30T23:42:54] All images processed
# # [INFO] [2024-11-30T23:42:54] Writing accounting information
# # [INFO] [2024-11-30T23:42:54] DEBUG: sourcedetails array: $VAR1 = [
# 'product/P0502220401OMS007SWSRLI0000.FIT|USER|U '
# ]; 
# # [INFO] [2024-11-30T23:42:54] DEBUG: skyimagedetails array: $VAR1 = [
# 'product/P0502220401OMS007SIMAGE0000.FIT|USER|U|1.90000000000000E+03|S007 '
# ]; 
# # [INFO] [2024-11-30T23:42:54] Module name: OMImageAnalyse
# # [INFO] [2024-11-30T23:42:54] Instrument: om
# # [INFO] [2024-11-30T23:42:54] Stream no.: 0003
# # [INFO] [2024-11-30T23:42:54] Module version number: 3.28
# # [INFO] [2024-11-30T23:42:54] Looking for Engineering Mode Files...
# # [INFO] [2024-11-30T23:42:54] Found None Engineering mode Windows.
# # [INFO] [2024-11-30T23:42:54] Found No Full Frame Engineering 4 Windows.
# # [INFO] [2024-11-30T23:42:54] Found no Full Frame Engineering 2 Windows.
# # [INFO] [2024-11-30T23:42:54] Looking for Image Mode Files...
# # [INFO] [2024-11-30T23:42:54] Found 1 Image mode images.
# # [INFO] [2024-11-30T23:42:54] Analysing odf/1433_0502220401_OMS00800IMI.FIT for image identification
# # [INFO] [2024-11-30T23:42:54] Identified mode: USER
# # [INFO] [2024-11-30T23:42:54] Failed to make a suitable combined image. Will process components as USER mode.
# # [INFO] [2024-11-30T23:42:54] Processing USER Images.
# # [INFO] [2024-11-30T23:42:54] 1 images to process.
# # [INFO] [2024-11-30T23:42:54] Processing S008:0:odf/1433_0502220401_OMS00800IMI.FIT
# [COMMAND] [2024-11-30T23:42:54]
export SAS_MEMORY_MODEL=high
# [COMMAND] [2024-11-30T23:42:54]
export SAS_RAND_SEED=0502220401
# # [INFO] [2024-11-30T23:42:54] ## DEBUG ModuleResources: SAS_RAND_SEED set: 0502220401
# [COMMAND] [2024-11-30T23:42:54]
omprep modeset=0 nphset=odf/1433_0502220401_OMX00000NPH.FIT outset=intermediate/OMImageAnalyse-om-3-Raw_Image-S00800000000000.fits \
pehset=odf/1433_0502220401_OMX00000PEH.FIT set=odf/1433_0502220401_OMS00800IMI.FIT wdxset=odf/1433_0502220401_OMS00800WDX.FIT -w 10
# # [OUTPUT] [2024-11-30T23:42:54]
# # [INFO] [2024-11-30T23:42:54] Task Run Time omprep 0.144040822982788s
#
# # [INFO] [2024-11-30T23:42:54] Retrieving FILTER value
# # [INFO] [2024-11-30T23:42:54] FILTER = B
# # [INFO] [2024-11-30T23:42:54] Retrieving EXPOSURE value
# # [INFO] [2024-11-30T23:42:54] EXPOSURE = 2.20000000000000E+03
# [COMMAND] [2024-11-30T23:42:54]
export SAS_MEMORY_MODEL=high
# [COMMAND] [2024-11-30T23:42:54]
export SAS_RAND_SEED=0502220401
# # [INFO] [2024-11-30T23:42:54] ## DEBUG ModuleResources: SAS_RAND_SEED set: 0502220401
# [COMMAND] [2024-11-30T23:42:54]
omcosflag set=intermediate/OMImageAnalyse-om-3-Raw_Image-S00800000000000.fits \
thxset=intermediate/OMExpAnalyse-om-3-omprep_tracking_history-S00800000000000.fits -w 10
# # [OUTPUT] [2024-11-30T23:42:55]
# # [INFO] [2024-11-30T23:42:55] Task Run Time omcosflag 0.568583965301514s
#
# [COMMAND] [2024-11-30T23:42:55]
export SAS_MEMORY_MODEL=high
# [COMMAND] [2024-11-30T23:42:55]
export SAS_RAND_SEED=0502220401
# # [INFO] [2024-11-30T23:42:55] ## DEBUG ModuleResources: SAS_RAND_SEED set: 0502220401
# [COMMAND] [2024-11-30T23:42:55]
omflatfield inorbitflatset=intermediate/OMgetFlat-om-1-OM_Flatfield-X00000000000000.fits \
outset=intermediate/OMImageAnalyse-om-3-OSW_Flat_Fielded_Image-S00800000000000.fits \
set=intermediate/OMImageAnalyse-om-3-Raw_Image-S00800000000000.fits \
thxset=intermediate/OMExpAnalyse-om-3-omprep_tracking_history-S00800000000000.fits \
tsflatset=intermediate/OMImageAnalyse-om-3-OSW_Flat_Field-S00800000000000.fits -w 10
# # [OUTPUT] [2024-11-30T23:42:55]
# # [INFO] [2024-11-30T23:42:55] Task Run Time omflatfield 0.0913550853729248s
#
# [COMMAND] [2024-11-30T23:42:55]
export SAS_MEMORY_MODEL=high
# [COMMAND] [2024-11-30T23:42:55]
export SAS_RAND_SEED=0502220401
# # [INFO] [2024-11-30T23:42:55] ## DEBUG ModuleResources: SAS_RAND_SEED set: 0502220401
# [COMMAND] [2024-11-30T23:42:55]
ommodmap mod8product=Y mod8set=intermediate/OMImageAnalyse-om-3-OSW_MODULO_8_IMAGE-S00800000000000.fits nbox=16 nsig=6 \
outset=product/P0502220401OMS008IMAGE_0000.FIT set=intermediate/OMImageAnalyse-om-3-OSW_Flat_Fielded_Image-S00800000000000.fits -w \
10
# # [OUTPUT] [2024-11-30T23:43:06]
# # [INFO] [2024-11-30T23:43:06] Task Run Time ommodmap 11.1103210449219s
#
# [COMMAND] [2024-11-30T23:43:06]
export SAS_MEMORY_MODEL=high
# [COMMAND] [2024-11-30T23:43:06]
export SAS_RAND_SEED=0502220401
# # [INFO] [2024-11-30T23:43:06] ## DEBUG ModuleResources: SAS_RAND_SEED set: 0502220401
# [COMMAND] [2024-11-30T23:43:06]
omqualitymap mode=setqualityimage outset=product/P0502220401OMS008IMAGE_0000.FIT set=product/P0502220401OMS008IMAGE_0000.FIT \
srclistset= -w 10
# # [OUTPUT] [2024-11-30T23:43:06] ** omqualitymap: warning (parameter), srclistset = NONE; 
# ** omqualitymap: warning (overwrite), The file product/P0502220401OMS008IMAGE_0000.FIT will be overwritten
# ** omqualitymap: warning (parameter), srclistset = NONE; 
# # [INFO] [2024-11-30T23:43:06] Task Run Time omqualitymap 0.0877399444580078s
#
# [COMMAND] [2024-11-30T23:43:06]
export SAS_MEMORY_MODEL=high
# [COMMAND] [2024-11-30T23:43:06]
export SAS_RAND_SEED=0502220401
# # [INFO] [2024-11-30T23:43:06] ## DEBUG ModuleResources: SAS_RAND_SEED set: 0502220401
# [COMMAND] [2024-11-30T23:43:06]
omdetect detectextended=Y minsignificance=3 nsigma=2 outset=product/P0502220401OMS008SWSRLI0000.FIT \
regionfile=product/P0502220401OMS008SWSREG0000.ASC set=product/P0502220401OMS008IMAGE_0000.FIT -w 10
# # [OUTPUT] [2024-11-30T23:43:26]
# # [INFO] [2024-11-30T23:43:26] Task Run Time omdetect 20.4506621360779s
#
# [COMMAND] [2024-11-30T23:43:26]
export SAS_MEMORY_MODEL=high
# [COMMAND] [2024-11-30T23:43:26]
export SAS_RAND_SEED=0502220401
# # [INFO] [2024-11-30T23:43:26] ## DEBUG ModuleResources: SAS_RAND_SEED set: 0502220401
# [COMMAND] [2024-11-30T23:43:26]
omqualitymap mode=setqualityimage outset=product/P0502220401OMS008IMAGE_0000.FIT set=product/P0502220401OMS008IMAGE_0000.FIT \
srclistset=product/P0502220401OMS008SWSRLI0000.FIT -w 10
# # [OUTPUT] [2024-11-30T23:43:26] ** omqualitymap: warning (parameter), srclistset = product/P0502220401OMS008SWSRLI0000.FIT; 
# ** omqualitymap: warning (overwrite), The file product/P0502220401OMS008IMAGE_0000.FIT will be overwritten
# ** omqualitymap: warning (parameter), srclistset = product/P0502220401OMS008SWSRLI0000.FIT; 
# # [INFO] [2024-11-30T23:43:26] Task Run Time omqualitymap 0.158370971679688s
#
# [COMMAND] [2024-11-30T23:43:26]
export SAS_MEMORY_MODEL=high
# [COMMAND] [2024-11-30T23:43:26]
export SAS_RAND_SEED=0502220401
# # [INFO] [2024-11-30T23:43:26] ## DEBUG ModuleResources: SAS_RAND_SEED set: 0502220401
# [COMMAND] [2024-11-30T23:43:26]
ommag set=product/P0502220401OMS008SWSRLI0000.FIT -w 10
# # [OUTPUT] [2024-11-30T23:43:27]
# TDP corr factor is: 1.05962598 
# L265 tdpCorrFactor= 1.05962598 
# L348 getting the column data
# In: 48.3891907 580.769409 1 745
# X,Y,pdepcorr: 793.389160 1226.76941 1.00000000 
# In: 575.834351 139.074448 1 745
# X,Y,pdepcorr: 1320.83435 785.074463 1.00000000 
# In: 342.058777 442.272858 1 745
# X,Y,pdepcorr: 1087.05884 1088.27283 1.00000000 
# In: 629.329895 288.930542 1 745
# X,Y,pdepcorr: 1374.32983 934.930542 1.00000000 
# In: 59.3782578 158.053055 1 745
# X,Y,pdepcorr: 804.378235 804.053040 1.00000000 
# In: 258.744843 516.332764 1 745
# X,Y,pdepcorr: 1003.74487 1162.33276 1.00000000 
# In: 436.286041 352.122864 1 745
# X,Y,pdepcorr: 1181.28601 998.122864 1.00000000 
# In: 403.131836 373.812073 1 745
# X,Y,pdepcorr: 1148.13184 1019.81207 1.00000000 
# In: 333.216095 331.605408 1 745
# X,Y,pdepcorr: 1078.21606 977.605408 1.00000000 
# In: 609.325439 256.872162 1 745
# X,Y,pdepcorr: 1354.32544 902.872192 1.00000000 
# In: 615.454407 559.148010 1 745
# X,Y,pdepcorr: 1360.45435 1205.14795 1.00000000 
# In: 348.039520 475.065186 1 745
# X,Y,pdepcorr: 1093.03955 1121.06519 1.00000000 
# In: 246.302994 243.195969 1 745
# X,Y,pdepcorr: 991.302979 889.195984 1.00000000 
# In: 34.2421875 321.893494 1 745
# X,Y,pdepcorr: 779.242188 967.893494 1.00000000 
# In: 225.165329 369.114777 1 745
# X,Y,pdepcorr: 970.165344 1015.11475 1.00000000 
# In: 449.784607 340.237274 1 745
# X,Y,pdepcorr: 1194.78467 986.237305 1.00000000 
# In: 130.824539 73.9493103 1 745
# X,Y,pdepcorr: 875.824524 719.949341 1.00000000 
# In: 139.498505 496.061951 1 745
# X,Y,pdepcorr: 884.498535 1142.06201 1.00000000 
# In: 267.206299 267.244446 1 745
# X,Y,pdepcorr: 1012.20630 913.244446 1.00000000 
# In: 627.340332 89.4352341 1 745
# X,Y,pdepcorr: 1372.34033 735.435242 1.00000000 
# In: 629.804382 252.011551 1 745
# X,Y,pdepcorr: 1374.80444 898.011536 1.00000000 
# In: 519.320801 102.957481 1 745
# X,Y,pdepcorr: 1264.32080 748.957458 1.00000000 
# In: 134.719254 2.70266628 1 745
# X,Y,pdepcorr: 879.719238 648.702637 1.00000000 
# In: 602.587952 144.559265 1 745
# X,Y,pdepcorr: 1347.58789 790.559265 1.00000000 
# In: 50.3245430 466.441376 1 745
# X,Y,pdepcorr: 795.324524 1112.44141 1.00000000 
# In: 424.016510 95.5653992 1 745
# X,Y,pdepcorr: 1169.01648 741.565430 1.00000000 
# In: 222.444748 230.510406 1 745
# X,Y,pdepcorr: 967.444763 876.510376 1.00000000 
# In: 173.590317 482.513397 1 745
# X,Y,pdepcorr: 918.590332 1128.51343 1.00000000 
# In: 541.611511 587.311218 1 745
# X,Y,pdepcorr: 1286.61157 1233.31128 1.00000000 
# # [INFO] [2024-11-30T23:43:27] Task Run Time ommag 0.105161905288696s
#
# [COMMAND] [2024-11-30T23:43:27]
export SAS_MEMORY_MODEL=high
# [COMMAND] [2024-11-30T23:43:27]
export SAS_RAND_SEED=0502220401
# # [INFO] [2024-11-30T23:43:27] ## DEBUG ModuleResources: SAS_RAND_SEED set: 0502220401
# [COMMAND] [2024-11-30T23:43:27]
omatt catfile=product/P0502220401OBX000REFCAT0000.FIT ppsoswset=product/P0502220401OMS008SIMAGE0000.FIT \
set=product/P0502220401OMS008IMAGE_0000.FIT sourcelistset=product/P0502220401OMS008SWSRLI0000.FIT usecat=Y -w 10
# # [OUTPUT] [2024-11-30T23:43:33]
# # [INFO] [2024-11-30T23:43:33] Task Run Time omatt 6.721843957901s
#
# [COMMAND] [2024-11-30T23:43:33]
export \
PFILES=/scratch/225633.1.all.q/xmm/ppsprod/228779/pfiles;/lhome/pcms/local/rhel8.6/GNU_CC_CXX_11.3.0/headas/architecture/syspfiles
# [COMMAND] [2024-11-30T23:43:33]
export SAS_MEMORY_MODEL=high
# [COMMAND] [2024-11-30T23:43:33]
export SAS_RAND_SEED=0502220401
# # [INFO] [2024-11-30T23:43:33] ## DEBUG ModuleResources: SAS_RAND_SEED set: 0502220401
# [COMMAND] [2024-11-30T23:43:33]
fimgstat clobber=Y infile=product/P0502220401OMS008SIMAGE0000.FIT max=0 mean=0 min=0 mode=ql num=0 \
outfile=intermediate/OMImageAnalyse-om-3-OSW_0_sky_image_statistics-S00800000000000.ascii rms=0 sum=0 threshlo=INDEF threshup=INDEF \
xmax=0 xmin=0 ymax=0 ymin=0
# # [OUTPUT] [2024-11-30T23:43:33]
# ****** successfully exited ******
# # [INFO] [2024-11-30T23:43:33] Task Run Time fimgstat 0.0382089614868164s
#
# # [INFO] [2024-11-30T23:43:33] DEBUG - doCommand fullcmd : implot.py --fitsImage=product/P0502220401OMS008SIMAGE0000.FIT\
#     --outfile=product/P0502220401OMS008SIMAGE0000.PNG
# [COMMAND] [2024-11-30T23:43:33]
export SAS_MEMORY_MODEL=high
# [COMMAND] [2024-11-30T23:43:33]
export SAS_RAND_SEED=0502220401
# # [INFO] [2024-11-30T23:43:33] ## DEBUG ModuleResources: SAS_RAND_SEED set: 0502220401
# [COMMAND] [2024-11-30T23:43:33]
implot.py --fitsImage=product/P0502220401OMS008SIMAGE0000.FIT --outfile=product/P0502220401OMS008SIMAGE0000.PNG
# # [OUTPUT] [2024-11-30T23:43:36] Image shape. y,x: (900, 884) figsize: [8.5, 6.8]
# Cropped image shape. y,x: (899, 883) x/y ratio: 0.98 
# # [INFO] [2024-11-30T23:43:36] Task Run Time implot.py 2.61415791511536s
#
# # [INFO] [2024-11-30T23:43:36] Processing RUDI5_LR Images.
# # [INFO] [2024-11-30T23:43:36] 0 images to process.
# # [INFO] [2024-11-30T23:43:36] Processing RUDI5_HR Images.
# # [INFO] [2024-11-30T23:43:36] 0 images to process.
# # [INFO] [2024-11-30T23:43:36] Processing PFENG2 Images.
# # [INFO] [2024-11-30T23:43:36] 0 images to process.
# # [INFO] [2024-11-30T23:43:36] Processing FFENG2 Images.
# # [INFO] [2024-11-30T23:43:36] 0 images to process.
# # [INFO] [2024-11-30T23:43:36] Processing ENG4 Images.
# # [INFO] [2024-11-30T23:43:36] 0 images to process.
# # [INFO] [2024-11-30T23:43:36] All images processed
# # [INFO] [2024-11-30T23:43:36] Writing accounting information
# # [INFO] [2024-11-30T23:43:36] DEBUG: sourcedetails array: $VAR1 = [
# 'product/P0502220401OMS008SWSRLI0000.FIT|USER|B '
# ]; 
# # [INFO] [2024-11-30T23:43:36] DEBUG: skyimagedetails array: $VAR1 = [
# 'product/P0502220401OMS008SIMAGE0000.FIT|USER|B|2.20000000000000E+03|S008 '
# ]; 
# # [INFO] [2024-11-30T23:43:36] Module name: OMMosaic
# # [INFO] [2024-11-30T23:43:36] Instrument: om
# # [INFO] [2024-11-30T23:43:36] Stream no.: 0001
# # [INFO] [2024-11-30T23:43:36] Module version number: 2.39
# # [INFO] [2024-11-30T23:43:36] Looking For Images to Mosaic...
# # [INFO] [2024-11-30T23:43:36] Running addtomosaic.py on\
#     intermediate/OMImageAnalyse-om-1-OM_SKY_IMAGE_DETAILS-S00600000000000.ascii
# # [INFO] [2024-11-30T23:43:36] DEBUG - doCommand fullcmd : addtomosaic.py\
#     --file=intermediate/OMImageAnalyse-om-1-OM_SKY_IMAGE_DETAILS-S00600000000000.ascii
# [COMMAND] [2024-11-30T23:43:36]
export SAS_MEMORY_MODEL=high
# [COMMAND] [2024-11-30T23:43:36]
export SAS_RAND_SEED=0502220401
# # [INFO] [2024-11-30T23:43:36] ## DEBUG ModuleResources: SAS_RAND_SEED set: 0502220401
# [COMMAND] [2024-11-30T23:43:36]
addtomosaic.py --file=intermediate/OMImageAnalyse-om-1-OM_SKY_IMAGE_DETAILS-S00600000000000.ascii
# # [OUTPUT] [2024-11-30T23:43:37] intermediate/OMImageAnalyse-om-1-OM_SKY_IMAGE_DETAILS-S00600000000000.ascii
# ['product/P0502220401OMS006SIMAGE0000.FIT|USER|V|2.20000000000000E+03|S006|1\n'] 
# # [INFO] [2024-11-30T23:43:37] Task Run Time addtomosaic.py 0.986125946044922s
#
# # [INFO] [2024-11-30T23:43:37] Running addtomosaic.py on\
#     intermediate/OMImageAnalyse-om-2-OM_SKY_IMAGE_DETAILS-S00700000000000.ascii
# # [INFO] [2024-11-30T23:43:37] DEBUG - doCommand fullcmd : addtomosaic.py\
#     --file=intermediate/OMImageAnalyse-om-2-OM_SKY_IMAGE_DETAILS-S00700000000000.ascii
# [COMMAND] [2024-11-30T23:43:37]
export SAS_MEMORY_MODEL=high
# [COMMAND] [2024-11-30T23:43:37]
export SAS_RAND_SEED=0502220401
# # [INFO] [2024-11-30T23:43:37] ## DEBUG ModuleResources: SAS_RAND_SEED set: 0502220401
# [COMMAND] [2024-11-30T23:43:37]
addtomosaic.py --file=intermediate/OMImageAnalyse-om-2-OM_SKY_IMAGE_DETAILS-S00700000000000.ascii
# # [OUTPUT] [2024-11-30T23:43:38] intermediate/OMImageAnalyse-om-2-OM_SKY_IMAGE_DETAILS-S00700000000000.ascii
# ['product/P0502220401OMS007SIMAGE0000.FIT|USER|U|1.90000000000000E+03|S007|1\n'] 
# # [INFO] [2024-11-30T23:43:38] Task Run Time addtomosaic.py 1.1017279624939s
#
# # [INFO] [2024-11-30T23:43:38] Running addtomosaic.py on\
#     intermediate/OMImageAnalyse-om-3-OM_SKY_IMAGE_DETAILS-S00800000000000.ascii
# # [INFO] [2024-11-30T23:43:38] DEBUG - doCommand fullcmd : addtomosaic.py\
#     --file=intermediate/OMImageAnalyse-om-3-OM_SKY_IMAGE_DETAILS-S00800000000000.ascii
# [COMMAND] [2024-11-30T23:43:38]
export SAS_MEMORY_MODEL=high
# [COMMAND] [2024-11-30T23:43:38]
export SAS_RAND_SEED=0502220401
# # [INFO] [2024-11-30T23:43:38] ## DEBUG ModuleResources: SAS_RAND_SEED set: 0502220401
# [COMMAND] [2024-11-30T23:43:38]
addtomosaic.py --file=intermediate/OMImageAnalyse-om-3-OM_SKY_IMAGE_DETAILS-S00800000000000.ascii
# # [OUTPUT] [2024-11-30T23:43:39] intermediate/OMImageAnalyse-om-3-OM_SKY_IMAGE_DETAILS-S00800000000000.ascii
# ['product/P0502220401OMS008SIMAGE0000.FIT|USER|B|2.20000000000000E+03|S008|1\n'] 
# # [INFO] [2024-11-30T23:43:39] Task Run Time addtomosaic.py 1.24882507324219s
#
# # [INFO] [2024-11-30T23:43:39] Found 3 Images
# # [INFO] [2024-11-30T23:43:39] Grouping Images by Mode then Filter
# # [INFO] [2024-11-30T23:43:39] Mode: ALL
# # [INFO] [2024-11-30T23:43:39] Filter: B
# # [INFO] [2024-11-30T23:43:39] Image File : product/P0502220401OMS008SIMAGE0000.FIT
# # [INFO] [2024-11-30T23:43:39] Filter: U
# # [INFO] [2024-11-30T23:43:39] Image File : product/P0502220401OMS007SIMAGE0000.FIT
# # [INFO] [2024-11-30T23:43:39] Filter: V
# # [INFO] [2024-11-30T23:43:39] Image File : product/P0502220401OMS006SIMAGE0000.FIT
# # [INFO] [2024-11-30T23:43:39] Creating Images...
# # [INFO] [2024-11-30T23:43:39] MODE: ALL
# # [INFO] [2024-11-30T23:43:39] FILTER: B
# # [INFO] [2024-11-30T23:43:39] CREATING: product/P0502220401OMX000XSIMAGB000.FIT, Duration: 2200
# [COMMAND] [2024-11-30T23:43:39]
export SAS_MEMORY_MODEL=high
# [COMMAND] [2024-11-30T23:43:39]
export SAS_RAND_SEED=0502220401
# # [INFO] [2024-11-30T23:43:39] ## DEBUG ModuleResources: SAS_RAND_SEED set: 0502220401
# [COMMAND] [2024-11-30T23:43:39]
ommosaic imagesets=product/P0502220401OMS008SIMAGE0000.FIT mincorr=0 mosaicedset=product/P0502220401OMX000XSIMAGB000.FIT -w 10
# # [OUTPUT] [2024-11-30T23:43:55] L1109 c3 xLeft=128.019920 xRight=127.826313 
# 126.729 127.909 52.754 
# # [INFO] [2024-11-30T23:43:55] Task Run Time ommosaic 15.3220310211182s
#
# # [INFO] [2024-11-30T23:43:55] Only one exposure in mosaic. No omdetect,ommag and omqualitymap 
# # [INFO] [2024-11-30T23:43:55] DEBUG - doCommand fullcmd : implot.py --fitsImage=product/P0502220401OMX000XSIMAGB000.FIT\
#     --outfile=product/P0502220401OMX000XSIMAGB000.PNG
# [COMMAND] [2024-11-30T23:43:55]
export SAS_MEMORY_MODEL=high
# [COMMAND] [2024-11-30T23:43:55]
export SAS_RAND_SEED=0502220401
# # [INFO] [2024-11-30T23:43:55] ## DEBUG ModuleResources: SAS_RAND_SEED set: 0502220401
# [COMMAND] [2024-11-30T23:43:55]
implot.py --fitsImage=product/P0502220401OMX000XSIMAGB000.FIT --outfile=product/P0502220401OMX000XSIMAGB000.PNG
# # [OUTPUT] [2024-11-30T23:43:57] Image shape. y,x: (900, 887) figsize: [8.5, 6.8]
# Cropped image shape. y,x: (899, 886) x/y ratio: 0.99 
# # [INFO] [2024-11-30T23:43:57] Task Run Time implot.py 2.69971704483032s
#
# # [INFO] [2024-11-30T23:43:57] FILTER: U
# # [INFO] [2024-11-30T23:43:57] CREATING: product/P0502220401OMX000XSIMAGU000.FIT, Duration: 1900
# [COMMAND] [2024-11-30T23:43:57]
export SAS_MEMORY_MODEL=high
# [COMMAND] [2024-11-30T23:43:57]
export SAS_RAND_SEED=0502220401
# # [INFO] [2024-11-30T23:43:57] ## DEBUG ModuleResources: SAS_RAND_SEED set: 0502220401
# [COMMAND] [2024-11-30T23:43:57]
ommosaic imagesets=product/P0502220401OMS007SIMAGE0000.FIT mincorr=0 mosaicedset=product/P0502220401OMX000XSIMAGU000.FIT -w 10
# # [OUTPUT] [2024-11-30T23:44:13] L1109 c3 xLeft=128.020169 xRight=127.826562 
# 126.729 127.909 52.7538 
# # [INFO] [2024-11-30T23:44:13] Task Run Time ommosaic 15.7302649021149s
#
# # [INFO] [2024-11-30T23:44:13] Only one exposure in mosaic. No omdetect,ommag and omqualitymap 
# # [INFO] [2024-11-30T23:44:13] DEBUG - doCommand fullcmd : implot.py --fitsImage=product/P0502220401OMX000XSIMAGU000.FIT\
#     --outfile=product/P0502220401OMX000XSIMAGU000.PNG
# [COMMAND] [2024-11-30T23:44:13]
export SAS_MEMORY_MODEL=high
# [COMMAND] [2024-11-30T23:44:13]
export SAS_RAND_SEED=0502220401
# # [INFO] [2024-11-30T23:44:13] ## DEBUG ModuleResources: SAS_RAND_SEED set: 0502220401
# [COMMAND] [2024-11-30T23:44:13]
implot.py --fitsImage=product/P0502220401OMX000XSIMAGU000.FIT --outfile=product/P0502220401OMX000XSIMAGU000.PNG
# # [OUTPUT] [2024-11-30T23:44:16] Image shape. y,x: (900, 887) figsize: [8.5, 6.8]
# Cropped image shape. y,x: (899, 886) x/y ratio: 0.99 
# # [INFO] [2024-11-30T23:44:16] Task Run Time implot.py 2.53462195396423s
#
# # [INFO] [2024-11-30T23:44:16] FILTER: V
# # [INFO] [2024-11-30T23:44:16] CREATING: product/P0502220401OMX000XSIMAGV000.FIT, Duration: 2200
# [COMMAND] [2024-11-30T23:44:16]
export SAS_MEMORY_MODEL=high
# [COMMAND] [2024-11-30T23:44:16]
export SAS_RAND_SEED=0502220401
# # [INFO] [2024-11-30T23:44:16] ## DEBUG ModuleResources: SAS_RAND_SEED set: 0502220401
# [COMMAND] [2024-11-30T23:44:16]
ommosaic imagesets=product/P0502220401OMS006SIMAGE0000.FIT mincorr=0 mosaicedset=product/P0502220401OMX000XSIMAGV000.FIT -w 10
# # [OUTPUT] [2024-11-30T23:44:31] L1109 c3 xLeft=128.020207 xRight=127.826600 
# 126.724 127.909 52.7539 
# # [INFO] [2024-11-30T23:44:31] Task Run Time ommosaic 15.0155980587006s
#
# # [INFO] [2024-11-30T23:44:31] Only one exposure in mosaic. No omdetect,ommag and omqualitymap 
# # [INFO] [2024-11-30T23:44:31] DEBUG - doCommand fullcmd : implot.py --fitsImage=product/P0502220401OMX000XSIMAGV000.FIT\
#     --outfile=product/P0502220401OMX000XSIMAGV000.PNG
# [COMMAND] [2024-11-30T23:44:31]
export SAS_MEMORY_MODEL=high
# [COMMAND] [2024-11-30T23:44:31]
export SAS_RAND_SEED=0502220401
# # [INFO] [2024-11-30T23:44:31] ## DEBUG ModuleResources: SAS_RAND_SEED set: 0502220401
# [COMMAND] [2024-11-30T23:44:31]
implot.py --fitsImage=product/P0502220401OMX000XSIMAGV000.FIT --outfile=product/P0502220401OMX000XSIMAGV000.PNG
# # [OUTPUT] [2024-11-30T23:44:33] Image shape. y,x: (900, 887) figsize: [8.5, 6.8]
# Cropped image shape. y,x: (899, 886) x/y ratio: 0.99 
# # [INFO] [2024-11-30T23:44:33] Task Run Time implot.py 2.51338410377502s
#
# # [INFO] [2024-11-30T23:44:33] Done: ALL
# # [INFO] [2024-11-30T23:44:33] Module name: OMSourceCombine
# # [INFO] [2024-11-30T23:44:33] Instrument: om
# # [INFO] [2024-11-30T23:44:33] Stream no.: 0001
# # [INFO] [2024-11-30T23:44:33] Module version number: 3.9
# # [INFO] [2024-11-30T23:44:33] Looking For Source Lists to Combine...
# # [INFO] [2024-11-30T23:44:33] DEBUG: file: intermediate/OMImageAnalyse-om-1-OM_SRC_IMAGE_DETAILS-S00600000000000.ascii
# # [INFO] [2024-11-30T23:44:33] DEBUG: line product/P0502220401OMS006SWSRLI0000.FIT|USER|V
# # [INFO] [2024-11-30T23:44:33] DEBUG: split to tmp: $VAR1 = [
# 'product/P0502220401OMS006SWSRLI0000.FIT',
# 'USER',
# 'V'
# ]; 
# # [INFO] [2024-11-30T23:44:33] DEBUG: file: intermediate/OMImageAnalyse-om-2-OM_SRC_IMAGE_DETAILS-S00700000000000.ascii
# # [INFO] [2024-11-30T23:44:33] DEBUG: line product/P0502220401OMS007SWSRLI0000.FIT|USER|U
# # [INFO] [2024-11-30T23:44:33] DEBUG: split to tmp: $VAR1 = [
# 'product/P0502220401OMS007SWSRLI0000.FIT',
# 'USER',
# 'U'
# ]; 
# # [INFO] [2024-11-30T23:44:33] DEBUG: file: intermediate/OMImageAnalyse-om-3-OM_SRC_IMAGE_DETAILS-S00800000000000.ascii
# # [INFO] [2024-11-30T23:44:33] DEBUG: line product/P0502220401OMS008SWSRLI0000.FIT|USER|B
# # [INFO] [2024-11-30T23:44:33] DEBUG: split to tmp: $VAR1 = [
# 'product/P0502220401OMS008SWSRLI0000.FIT',
# 'USER',
# 'B'
# ]; 
# # [INFO] [2024-11-30T23:44:33] DEBUG: SrcLstDetails: $VAR1 = [
# [
# 'product/P0502220401OMS006SWSRLI0000.FIT',
# 'USER',
# 'V'
# ],
# [
# 'product/P0502220401OMS007SWSRLI0000.FIT',
# 'USER',
# 'U'
# ],
# [
# 'product/P0502220401OMS008SWSRLI0000.FIT',
# 'USER',
# 'B'
# ]
# ]; 
# # [INFO] [2024-11-30T23:44:33] Found 3 Lists
# # [INFO] [2024-11-30T23:44:33] Grouping Lists by Mode then Filter
# # [INFO] [2024-11-30T23:44:33] DEBUG: SortedSrcLstDetails: $VAR1 = [
# [
# 'product/P0502220401OMS008SWSRLI0000.FIT',
# 'USER',
# 'B'
# ],
# [
# 'product/P0502220401OMS007SWSRLI0000.FIT',
# 'USER',
# 'U'
# ],
# [
# 'product/P0502220401OMS006SWSRLI0000.FIT',
# 'USER',
# 'V'
# ]
# ]; 
# # [INFO] [2024-11-30T23:44:33] Mode: USER
# # [INFO] [2024-11-30T23:44:33] DEBUG: Src: ARRAY(0x59dc750)
# # [INFO] [2024-11-30T23:44:33] DEBUG: mode_p: 1
# # [INFO] [2024-11-30T23:44:33] DEBUG: SSrc[modep]: USER
# # [INFO] [2024-11-30T23:44:33] DEBUG: SSrc[filterp]: B
# # [INFO] [2024-11-30T23:44:33] Filter: B
# # [INFO] [2024-11-30T23:44:33] Image File : product/P0502220401OMS008SWSRLI0000.FIT
# # [INFO] [2024-11-30T23:44:33] Filter: U
# # [INFO] [2024-11-30T23:44:33] Image File : product/P0502220401OMS007SWSRLI0000.FIT
# # [INFO] [2024-11-30T23:44:33] Filter: V
# # [INFO] [2024-11-30T23:44:33] Image File : product/P0502220401OMS006SWSRLI0000.FIT
# # [INFO] [2024-11-30T23:44:33] Creating Combined Lists...
# # [INFO] [2024-11-30T23:44:33] MODE: USER
# # [INFO] [2024-11-30T23:44:33] FILTER: B
# # [INFO] [2024-11-30T23:44:33] FILTER: U
# # [INFO] [2024-11-30T23:44:33] FILTER: V
# # [INFO] [2024-11-30T23:44:33] Done: USER
# # [INFO] [2024-11-30T23:44:33] CREATING: product/P0502220401OMX000OBSMLI0000.FIT
# [COMMAND] [2024-11-30T23:44:33]
export SAS_MEMORY_MODEL=high
# [COMMAND] [2024-11-30T23:44:33]
export SAS_RAND_SEED=0502220401
# # [INFO] [2024-11-30T23:44:33] ## DEBUG ModuleResources: SAS_RAND_SEED set: 0502220401
# [COMMAND] [2024-11-30T23:44:33]
omsrclistcomb catfile=product/P0502220401OBX000REFCAT0000.FIT outset=product/P0502220401OMX000OBSMLI0000.FIT \
sourcelistsets="product/P0502220401OMS008SWSRLI0000.FIT product/P0502220401OMS007SWSRLI0000.FIT \
product/P0502220401OMS006SWSRLI0000.FIT" usecat=Y -w 10
# # [OUTPUT] [2024-11-30T23:44:36]
# # [INFO] [2024-11-30T23:44:36] Task Run Time omsrclistcomb 2.42442417144775s
#
# # [INFO] [2024-11-30T23:44:36] No MOSAIC lists to combine
