
#!/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:43:45] Module name: VerifyODF
# # [INFO] [2024-11-30T23:43:45] Instrument: all
# # [INFO] [2024-11-30T23:43:45] Stream no.: 0001
# # [INFO] [2024-11-30T23:43:45] Module version number: 1.18
# # [INFO] [2024-11-30T23:43:45] Version of odfingest used was 3.33.1
# # [INFO] [2024-11-30T23:43:45] Module name: MakeCIF
# # [INFO] [2024-11-30T23:43:45] Instrument: all
# # [INFO] [2024-11-30T23:43:45] Stream no.: 0001
# # [INFO] [2024-11-30T23:43:45] Module version number: 1.23
# # [INFO] [2024-11-30T23:43:45] Observation start defined as >2005-07-23T16:34:00.000<
# # [INFO] [2024-11-30T23:43:45] Processing date defined as >2024-12-01T00:43:45<
# [COMMAND] [2024-11-30T23:43:45]
export SAS_MEMORY_MODEL=high
# [COMMAND] [2024-11-30T23:43:45]
export SAS_RAND_SEED=0305240301
# # [INFO] [2024-11-30T23:43:45] ## DEBUG ModuleResources: SAS_RAND_SEED set: 0305240301
# [COMMAND] [2024-11-30T23:43:45]
cifbuild analysisdate=2024-12-01T00:43:45 calindexset=product/P0305240301OBX000CALIND0000.FIT fullpath=no \
observationdate=2005-07-23T16:34:00.000 withccfpath=no -w 10
# # [OUTPUT] [2024-11-30T23:44:16]
# # [INFO] [2024-11-30T23:44:16] Task Run Time cifbuild 30.7429339885712s
#
# [COMMAND] [2024-11-30T23:44:16]
export SAS_MEMORY_MODEL=high
# [COMMAND] [2024-11-30T23:44:16]
export SAS_RAND_SEED=0305240301
# # [INFO] [2024-11-30T23:44:16] ## DEBUG ModuleResources: SAS_RAND_SEED set: 0305240301
# [COMMAND] [2024-11-30T23:44:16]
addattribute attributecomment="\"Telescope (mission) name\" \"Date observations were made\" \"Observation identifier\" \"DEC of \
instrument pointing\" \"RA of instrument pointing (degrees)\" \"Name of observed object\" \"Observation mode (pointing or slew)\" \
\"Name of PI\" \"Date observations ended\"" attributename="TELESCOP DATE-OBS OBS_ID DEC_PNT RA_PNT OBJECT OBS_MODE OBSERVER \
DATE-END" attributetype="string string string real real string string string string" realvalue="\"49.8678334\" \"274.0555425\"" \
set=product/P0305240301OBX000CALIND0000.FIT stringvalue="\"XMM\" \"2005-07-23T16:34:00.000\" \"0305240301\" \"AM Her\" \"POINTED\" \
\"Dr Axel Schwope\" \"2005-07-23T19:12:37.000\"" -w 10
# # [OUTPUT] [2024-11-30T23:44:16]
# # [INFO] [2024-11-30T23:44:16] Task Run Time addattribute 0.0735070705413818s
#
# [COMMAND] [2024-11-30T23:44:16]
cp /scratch/225829.1.all.q/xmm/ppsprod/228974/product/P0305240301OBX000CALIND0000.FIT \
/scratch/225829.1.all.q/xmm/ppsprod/228974/intermediate/ccf.cif
# # [INFO] [2024-11-30T23:44:16] System RV 0
# # [INFO] [2024-11-30T23:44:16] Module name: GlobalHK
# # [INFO] [2024-11-30T23:44:16] Instrument: all
# # [INFO] [2024-11-30T23:44:16] Stream no.: 0001
# # [INFO] [2024-11-30T23:44:16] Module version number: 1.81
# [COMMAND] [2024-11-30T23:44:16]
export SAS_MEMORY_MODEL=high
# [COMMAND] [2024-11-30T23:44:16]
export SAS_RAND_SEED=0305240301
# # [INFO] [2024-11-30T23:44:16] ## DEBUG ModuleResources: SAS_RAND_SEED set: 0305240301
# [COMMAND] [2024-11-30T23:44:16]
preqgti preqgtifile=intermediate/GlobalHK-all-1-Attitude_GTI-X00000000000000.fits -w 10
# # [OUTPUT] [2024-11-30T23:44:17]
# # [INFO] [2024-11-30T23:44:17] Task Run Time preqgti 0.470026016235352s
#
# [COMMAND] [2024-11-30T23:44:17]
export SAS_MEMORY_MODEL=high
# [COMMAND] [2024-11-30T23:44:17]
export SAS_RAND_SEED=0305240301
# # [INFO] [2024-11-30T23:44:17] ## DEBUG ModuleResources: SAS_RAND_SEED set: 0305240301
# [COMMAND] [2024-11-30T23:44:17]
atthkgen atthkset=product/P0305240301OBX000ATTTSR0000.FIT preqgtifile=intermediate/GlobalHK-all-1-Attitude_GTI-X00000000000000.fits \
timestep=1 withpreqgti=no -w 10
# # [OUTPUT] [2024-11-30T23:44:17]
# # [INFO] [2024-11-30T23:44:17] Task Run Time atthkgen 0.367966175079346s
#
# [COMMAND] [2024-11-30T23:44:17]
export SAS_MEMORY_MODEL=high
# [COMMAND] [2024-11-30T23:44:17]
export SAS_RAND_SEED=0305240301
# # [INFO] [2024-11-30T23:44:17] ## DEBUG ModuleResources: SAS_RAND_SEED set: 0305240301
# [COMMAND] [2024-11-30T23:44:17]
orbit outfile=product/P0305240301OBX000ORBTSR0000.FIT timestep=1 useobsid=yes -w 10
# # [OUTPUT] [2024-11-30T23:44:18] orbit:- Output FITS Orbit timeseries: product/P0305240301OBX000ORBTSR0000.FIT
# orbit:- Binsize (timestep) of output): 1
# orbit:- Use OBSID data or whole orbit? T 
# # [INFO] [2024-11-30T23:44:18] Task Run Time orbit 0.456809997558594s
#
# [COMMAND] [2024-11-30T23:44:18]
export SAS_MEMORY_MODEL=high
# [COMMAND] [2024-11-30T23:44:18]
export SAS_RAND_SEED=0305240301
# # [INFO] [2024-11-30T23:44:18] ## DEBUG ModuleResources: SAS_RAND_SEED set: 0305240301
# [COMMAND] [2024-11-30T23:44:18]
radmonfix output=product/P0305240301OBX000RADMON0000.FIT radmonlist=odf/1029_0305240301_RMX00100ECX.FIT withoutputfile=yes -w 10
# # [OUTPUT] [2024-11-30T23:44:18] ** radmonfix: warning (Extrapolation), Evaluating OBT-MET fit polynomial at x=159759873.9 which\
#     is outside the time correlation data abscissa range [159759995, 159771177.1] - result of extrapolation might be afflicted with\
#     large numerical uncertainty.
# ** radmonfix: warning (Extrapolation), Evaluating OBT-MET fit polynomial at x=159759877.9 which is outside the time correlation\
#     data abscissa range [159759995, 159771177.1] - result of extrapolation might be afflicted with large numerical uncertainty.
# ** radmonfix: warning (Extrapolation), Evaluating OBT-MET fit polynomial at x=159759881.9 which is outside the time correlation\
#     data abscissa range [159759995, 159771177.1] - result of extrapolation might be afflicted with large numerical uncertainty.
# ** radmonfix: warning (Extrapolation), Evaluating OBT-MET fit polynomial at x=159759885.9 which is outside the time correlation\
#     data abscissa range [159759995, 159771177.1] - result of extrapolation might be afflicted with large numerical uncertainty.
# ** radmonfix: warning (Extrapolation), Evaluating OBT-MET fit polynomial at x=159759889.9 which is outside the time correlation\
#     data abscissa range [159759995, 159771177.1] - result of extrapolation might be afflicted with large numerical uncertainty.
# ** radmonfix: warning (Extrapolation), Evaluating OBT-MET fit polynomial at x=159759893.9 which is outside the time correlation\
#     data abscissa range [159759995, 159771177.1] - result of extrapolation might be afflicted with large numerical uncertainty.
# ** radmonfix: warning (Extrapolation), Evaluating OBT-MET fit polynomial at x=159771277.9 which is outside the time correlation\
#     data abscissa range [159759995, 159771177.1] - result of extrapolation might be afflicted with large numerical uncertainty.
# ** radmonfix: warning (Extrapolation), Evaluating OBT-MET fit polynomial at x=159771281.9 which is outside the time correlation\
#     data abscissa range [159759995, 159771177.1] - result of extrapolation might be afflicted with large numerical uncertainty.
# ** radmonfix: warning (Extrapolation), Evaluating OBT-MET fit polynomial at x=159771285.9 which is outside the time correlation\
#     data abscissa range [159759995, 159771177.1] - result of extrapolation might be afflicted with large numerical uncertainty.
# ** radmonfix: warning (Extrapolation), Evaluating OBT-MET fit polynomial at x=159771289.9 which is outside the time correlation\
#     data abscissa range [159759995, 159771177.1] - result of extrapolation might be afflicted with large numerical uncertainty.
# radmonfix:- Setting DATE-END...
# ** radmonfix: warning (SummaryOfWarnings), 
# warning Extrapolation silently occurred 345 times 
# # [INFO] [2024-11-30T23:44:18] Task Run Time radmonfix 0.135097980499268s
#
# [COMMAND] [2024-11-30T23:44:18]
cp /lhome/jperea/ppsdev/pcms3/src/pipeline/etc/EPICModes.fits \
/scratch/225829.1.all.q/xmm/ppsprod/228974/intermediate/GlobalHK-all-1-Observing_modes_Pileup_and_OoT_data-X00000000000000.fits
# # [INFO] [2024-11-30T23:44:18] System RV 0
# # [INFO] [2024-11-30T23:44:18] Copied EPIC Observing modes table, Pileup data and OoT data table in place
# [COMMAND] [2024-11-30T23:44:18]
cp /lhome/jperea/ppsdev/pcms3/src/pipeline/etc/ecfs.fits \
/scratch/225829.1.all.q/xmm/ppsprod/228974/intermediate/GlobalHK-all-1-Energy_Conversion_Factors-X00000000000000.fits
# # [INFO] [2024-11-30T23:44:18] System RV 0
# [COMMAND] [2024-11-30T23:44:18]
cp /lhome/jperea/ppsdev/pcms3/src/pipeline/etc/ecfgrid.fits.gz \
/scratch/225829.1.all.q/xmm/ppsprod/228974/intermediate/GlobalHK-all-1-Energy_Conversion_Factors_Grid-X00000000000000.fits
# # [INFO] [2024-11-30T23:44:18] System RV 0
# [COMMAND] [2024-11-30T23:44:18]
cp /lhome/jperea/ppsdev/pcms3/src/pipeline/etc/fluxgrid.fits.gz \
/scratch/225829.1.all.q/xmm/ppsprod/228974/intermediate/GlobalHK-all-1-Flux_Grid-X00000000000000.fits
# # [INFO] [2024-11-30T23:44:18] System RV 0
# # [INFO] [2024-11-30T23:44:18] Module name: ExpChooser
# # [INFO] [2024-11-30T23:44:18] Instrument: emos1
# # [INFO] [2024-11-30T23:44:18] Stream no.: 0001
# # [INFO] [2024-11-30T23:44:18] Module version number: 1.38
# # [INFO] [2024-11-30T23:44:18] Checking exposure S001 for processability
# # [INFO] [2024-11-30T23:44:18] Filter: Thin1
# # [INFO] [2024-11-30T23:44:18] Instrument mode: PrimePartialW3
# # [INFO] [2024-11-30T23:44:18] Exposure duration: 39
# # [INFO] [2024-11-30T23:44:18] Exposure less than 1000 seconds. Exposure ignored.
# # [INFO] [2024-11-30T23:44:18] Module name: ExpChooser
# # [INFO] [2024-11-30T23:44:18] Instrument: emos2
# # [INFO] [2024-11-30T23:44:18] Stream no.: 0001
# # [INFO] [2024-11-30T23:44:18] Module version number: 1.38
# # [INFO] [2024-11-30T23:44:18] Checking exposure S002 for processability
# # [INFO] [2024-11-30T23:44:18] Filter: Closed
# # [INFO] [2024-11-30T23:44:18] Instrument mode: PrimePartialW3
# # [INFO] [2024-11-30T23:44:18] Exposure duration: 9517
# # [INFO] [2024-11-30T23:44:18] Exposure ignored due to invalid or unsupported filter
# # [INFO] [2024-11-30T23:44:18] Module name: ExpChooser
# # [INFO] [2024-11-30T23:44:18] Instrument: om
# # [INFO] [2024-11-30T23:44:18] Stream no.: 0001
# # [INFO] [2024-11-30T23:44:18] Module version number: 1.38
# # [INFO] [2024-11-30T23:44:18] Checking exposure S006 for processability
# # [INFO] [2024-11-30T23:44:18] Filter: UVW2
# # [INFO] [2024-11-30T23:44:18] Instrument mode: Fast
# # [INFO] [2024-11-30T23:44:18] Exposure duration: 4300
# # [INFO] [2024-11-30T23:44:18] Module name: ExpChooser
# # [INFO] [2024-11-30T23:44:18] Instrument: om
# # [INFO] [2024-11-30T23:44:18] Stream no.: 0002
# # [INFO] [2024-11-30T23:44:18] Module version number: 1.38
# # [INFO] [2024-11-30T23:44:18] Checking exposure S007 for processability
# # [INFO] [2024-11-30T23:44:18] Filter: UVW2
# # [INFO] [2024-11-30T23:44:18] Instrument mode: Fast
# # [INFO] [2024-11-30T23:44:18] Exposure duration: 4298
# # [INFO] [2024-11-30T23:44:18] Module name: ExpChooser
# # [INFO] [2024-11-30T23:44:18] Instrument: om
# # [INFO] [2024-11-30T23:44:18] Stream no.: 0003
# # [INFO] [2024-11-30T23:44:18] Module version number: 1.38
# # [INFO] [2024-11-30T23:44:18] Checking exposure S400 for processability
# # [INFO] [2024-11-30T23:44:18] Filter: UVW2
# # [INFO] [2024-11-30T23:44:18] Instrument mode: UNDEFINED
# # [INFO] [2024-11-30T23:44:18] Exposure duration: 4300
# # [INFO] [2024-11-30T23:44:18] OM datamode=
# # [INFO] [2024-11-30T23:44:18] Exposure ignored due to invalid or unsupported instrument mode
# # [INFO] [2024-11-30T23:44:18] Module name: InstrumentHK
# # [INFO] [2024-11-30T23:44:18] Instrument: om
# # [INFO] [2024-11-30T23:44:18] Stream no.: 0001
# # [INFO] [2024-11-30T23:44:18] Module version number: 2.01
# # [INFO] [2024-11-30T23:44:18] Module name: USNOExtract
# # [INFO] [2024-11-30T23:44:18] Instrument: all
# # [INFO] [2024-11-30T23:44:18] Stream no.: 0001
# # [INFO] [2024-11-30T23:44:18] Module version number: 0.07
# [COMMAND] [2024-11-30T23:44:18]
export \
PFILES=/scratch/225829.1.all.q/xmm/ppsprod/228974/pfiles;/lhome/pcms/local/rhel8.6/GNU_CC_CXX_11.3.0/headas/architecture/syspfiles
# [COMMAND] [2024-11-30T23:44:18]
export SAS_MEMORY_MODEL=high
# [COMMAND] [2024-11-30T23:44:18]
export SAS_RAND_SEED=0305240301
# # [INFO] [2024-11-30T23:44:18] ## DEBUG ModuleResources: SAS_RAND_SEED set: 0305240301
# [COMMAND] [2024-11-30T23:44:18]
fimgcreate bitpix=8 datafile=none headfile=intermediate/USNOExtract-all-1-fimgcreate_kwds-X00000000000000.ascii naxes='648,648' \
outfile=intermediate/USNOExtract-all-1-dummy_image-X00000000000000.fits
# # [OUTPUT] [2024-11-30T23:44:18] Written the output image ......... 
# # [INFO] [2024-11-30T23:44:18] Task Run Time fimgcreate 0.0358319282531738s
#
# [COMMAND] [2024-11-30T23:44:18]
export SAS_MEMORY_MODEL=high
# [COMMAND] [2024-11-30T23:44:18]
export SAS_RAND_SEED=0305240301
# # [INFO] [2024-11-30T23:44:18] ## DEBUG ModuleResources: SAS_RAND_SEED set: 0305240301
# [COMMAND] [2024-11-30T23:44:18]
catprep catextract=intermediate/USNOExtract-all-1-Reference_catalogue-X00000000000000.fits \
srclistset=product/P0305240301OBX000CALIND0000.FIT -w 10
# # [OUTPUT] [2024-11-30T23:44:19]
# # [INFO] [2024-11-30T23:44:19] Task Run Time catprep 1.43979001045227s
#
# [COMMAND] [2024-11-30T23:44:19]
cp /scratch/225829.1.all.q/xmm/ppsprod/228974/intermediate/USNOExtract-all-1-Reference_catalogue-X00000000000000.fits \
/scratch/225829.1.all.q/xmm/ppsprod/228974/product/P0305240301OBX000REFCAT0000.FIT
# # [INFO] [2024-11-30T23:44:19] System RV 0
# # [INFO] [2024-11-30T23:44:19] Reading keyword TELESCOP value XMM comment Telescope (mission) name
# # [INFO] [2024-11-30T23:44:19] Reading keyword RA_OBJ value 2.74055542500000E+02 comment [deg] Ra of the observed object
# # [INFO] [2024-11-30T23:44:19] Reading keyword DEC_OBJ value 4.98678334000000E+01 comment [deg] Dec of the observed object
# # [INFO] [2024-11-30T23:44:19] Reading keyword DATE-OBS value 2005-07-23T16:34:00.000 comment Date observations were made
# # [INFO] [2024-11-30T23:44:19] Reading keyword OBS_MODE value POINTING comment Observation mode (pointing or slew)
# # [INFO] [2024-11-30T23:44:19] Reading keyword OBS_ID value 0305240301 comment Observation identifier
# # [INFO] [2024-11-30T23:44:19] Reading keyword DATE-END value 2005-07-23T19:12:37.000 comment Date observations ended
# [COMMAND] [2024-11-30T23:44:19]
export SAS_MEMORY_MODEL=high
# [COMMAND] [2024-11-30T23:44:19]
export SAS_RAND_SEED=0305240301
# # [INFO] [2024-11-30T23:44:19] ## DEBUG ModuleResources: SAS_RAND_SEED set: 0305240301
# [COMMAND] [2024-11-30T23:44:19]
addattribute attributecomment="\"Telescope (mission) name\" \"[deg] Ra of the observed object\" \"[deg] Dec of the observed object\" \
\"Date observations were made\" \"Observation mode (pointing or slew)\" \"Observation identifier\" \"Date observations ended\"" \
attributename="TELESCOP RA_OBJ DEC_OBJ DATE-OBS OBS_MODE OBS_ID DATE-END" attributetype="\"string\" \"real\" \"real\" \"string\" \
\"string\" \"string\" \"string\"" realvalue="2.74055542500000E+02 4.98678334000000E+01" set=product/P0305240301OBX000REFCAT0000.FIT \
stringvalue="XMM 2005-07-23T16:34:00.000 POINTING 0305240301 2005-07-23T19:12:37.000" -w 10
# # [OUTPUT] [2024-11-30T23:44:19] ** addattribute: warning (creatorKeywordNotFound), The CREATOR keyword could not be found in\
#     dataset with name 'product/P0305240301OBX000REFCAT0000.FIT'
# ** addattribute: warning (dateKeywordNotFound), The DATE keyword could not be found in dataset with name\
#     'product/P0305240301OBX000REFCAT0000.FIT' 
# # [INFO] [2024-11-30T23:44:19] Task Run Time addattribute 0.0471968650817871s
#
# # [INFO] [2024-11-30T23:44:19] Module name: OMgetFlat
# # [INFO] [2024-11-30T23:44:19] Instrument: om
# # [INFO] [2024-11-30T23:44:19] Stream no.: 0001
# # [INFO] [2024-11-30T23:44:19] Module version number: 1.07
# [COMMAND] [2024-11-30T23:44:19]
export SAS_MEMORY_MODEL=high
# [COMMAND] [2024-11-30T23:44:19]
export SAS_RAND_SEED=0305240301
# # [INFO] [2024-11-30T23:44:19] ## DEBUG ModuleResources: SAS_RAND_SEED set: 0305240301
# [COMMAND] [2024-11-30T23:44:19]
omflatgen outset=intermediate/OMgetFlat-om-1-OM_Flatfield-X00000000000000.fits -w 10
# # [OUTPUT] [2024-11-30T23:44:20] ** omflatgen: warning (ArgumentIgnored), Warning: countRateFrameRatio argument in small-scale\
#     flatfield retrieval currently ignored 
# # [INFO] [2024-11-30T23:44:20] Task Run Time omflatgen 0.183853149414062s
#
# # [INFO] [2024-11-30T23:44:20] Module name: OMExpAnalyse
# # [INFO] [2024-11-30T23:44:20] Instrument: om
# # [INFO] [2024-11-30T23:44:20] Stream no.: 0001
# # [INFO] [2024-11-30T23:44:20] Module version number: 1.06
# [COMMAND] [2024-11-30T23:44:20]
export SAS_MEMORY_MODEL=high
# [COMMAND] [2024-11-30T23:44:20]
export SAS_RAND_SEED=0305240301
# # [INFO] [2024-11-30T23:44:20] ## DEBUG ModuleResources: SAS_RAND_SEED set: 0305240301
# [COMMAND] [2024-11-30T23:44:20]
omprep modeset=3 nphset=odf/1029_0305240301_OMX00000NPH.FIT \
outset=intermediate/OMExpAnalyse-om-1-omprep_tracking_history-S00600000000000.fits pehset=odf/1029_0305240301_OMX00000PEH.FIT \
set=DUMMYTHX.FIT wdxset=odf/1029_0305240301_OMS00600WDX.FIT -w 10
# # [OUTPUT] [2024-11-30T23:44:20] ** omprep: warning ( Missing OM Tracking History Data Auxiliary File. Using ZERODRIFT option),\
#     ZERODRIFT 
# # [INFO] [2024-11-30T23:44:20] Task Run Time omprep 0.155501127243042s
#
# # [INFO] [2024-11-30T23:44:20] Module name: OMExpAnalyse
# # [INFO] [2024-11-30T23:44:20] Instrument: om
# # [INFO] [2024-11-30T23:44:20] Stream no.: 0002
# # [INFO] [2024-11-30T23:44:20] Module version number: 1.06
# [COMMAND] [2024-11-30T23:44:20]
export SAS_MEMORY_MODEL=high
# [COMMAND] [2024-11-30T23:44:20]
export SAS_RAND_SEED=0305240301
# # [INFO] [2024-11-30T23:44:20] ## DEBUG ModuleResources: SAS_RAND_SEED set: 0305240301
# [COMMAND] [2024-11-30T23:44:20]
omprep modeset=3 nphset=odf/1029_0305240301_OMX00000NPH.FIT \
outset=intermediate/OMExpAnalyse-om-2-omprep_tracking_history-S00700000000000.fits pehset=odf/1029_0305240301_OMX00000PEH.FIT \
set=DUMMYTHX.FIT wdxset=odf/1029_0305240301_OMS00700WDX.FIT -w 10
# # [OUTPUT] [2024-11-30T23:44:20] ** omprep: warning ( Missing OM Tracking History Data Auxiliary File. Using ZERODRIFT option),\
#     ZERODRIFT 
# # [INFO] [2024-11-30T23:44:20] Task Run Time omprep 0.241631031036377s
#
# # [INFO] [2024-11-30T23:44:20] Module name: OMFastAnalyse
# # [INFO] [2024-11-30T23:44:20] Instrument: om
# # [INFO] [2024-11-30T23:44:20] Stream no.: 0001
# # [INFO] [2024-11-30T23:44:20] Module version number: 1.36
# # [INFO] [2024-11-30T23:44:20] DEBUG --- exp_id: S006, filter: UVW2
# # [INFO] [2024-11-30T23:44:20] 1 Fast Mode Windows to process
# # [INFO] [2024-11-30T23:44:20] Processing OSW 0
# # [INFO] [2024-11-30T23:44:20] Start omprep
# [COMMAND] [2024-11-30T23:44:20]
export SAS_MEMORY_MODEL=high
# [COMMAND] [2024-11-30T23:44:20]
export SAS_RAND_SEED=0305240301
# # [INFO] [2024-11-30T23:44:20] ## DEBUG ModuleResources: SAS_RAND_SEED set: 0305240301
# [COMMAND] [2024-11-30T23:44:20]
omprep modeset=1 nphset=odf/1029_0305240301_OMX00000NPH.FIT \
outset=intermediate/OMFastAnalyse-om-1-PPS_Event_List_File-S00600000000000.fits pehset=odf/1029_0305240301_OMX00000PEH.FIT \
set=odf/1029_0305240301_OMS00600FAE.FIT wdxset=odf/1029_0305240301_OMS00600WDX.FIT -w 10
# # [OUTPUT] [2024-11-30T23:44:20]
# # [INFO] [2024-11-30T23:44:20] Task Run Time omprep 0.161316156387329s
#
# # [INFO] [2024-11-30T23:44:20] Start evselect(1)
# [COMMAND] [2024-11-30T23:44:20]
export SAS_MEMORY_MODEL=high
# [COMMAND] [2024-11-30T23:44:20]
export SAS_RAND_SEED=0305240301
# # [INFO] [2024-11-30T23:44:20] ## DEBUG ModuleResources: SAS_RAND_SEED set: 0305240301
# [COMMAND] [2024-11-30T23:44:20]
evselect imageset=intermediate/OMFastAnalyse-om-1-Fast_Mode_Raw_Image-S00600000000000.fits \
table=intermediate/OMFastAnalyse-om-1-PPS_Event_List_File-S00600000000000.fits withimageset=true xcolumn=RAWX ycolumn=RAWY -w 10
# # [OUTPUT] [2024-11-30T23:44:20] ** 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:44:20] Task Run Time evselect 0.0439450740814209s
#
# # [INFO] [2024-11-30T23:44:20] Start omfastshift
# [COMMAND] [2024-11-30T23:44:20]
export SAS_MEMORY_MODEL=high
# [COMMAND] [2024-11-30T23:44:20]
export SAS_RAND_SEED=0305240301
# # [INFO] [2024-11-30T23:44:20] ## DEBUG ModuleResources: SAS_RAND_SEED set: 0305240301
# [COMMAND] [2024-11-30T23:44:20]
omfastshift nphset=odf/1029_0305240301_OMX00000NPH.FIT set=intermediate/OMFastAnalyse-om-1-PPS_Event_List_File-S00600000000000.fits \
thxset=intermediate/OMExpAnalyse-om-1-omprep_tracking_history-S00600000000000.fits -w 10
# # [OUTPUT] [2024-11-30T23:44:20]
# # [INFO] [2024-11-30T23:44:20] Task Run Time omfastshift 0.0739850997924805s
#
# # [INFO] [2024-11-30T23:44:20] Start omfastflat
# [COMMAND] [2024-11-30T23:44:20]
export SAS_MEMORY_MODEL=high
# [COMMAND] [2024-11-30T23:44:20]
export SAS_RAND_SEED=0305240301
# # [INFO] [2024-11-30T23:44:20] ## DEBUG ModuleResources: SAS_RAND_SEED set: 0305240301
# [COMMAND] [2024-11-30T23:44:20]
omfastflat fastimgset=product/P0305240301OMS006IMAGEF0000.FIT \
oswflatset=intermediate/OMFastAnalyse-om-1-OM_OSW_Flat_Field-S00600000000000.fits \
set=intermediate/OMFastAnalyse-om-1-PPS_Event_List_File-S00600000000000.fits \
slewflatset=intermediate/OMgetFlat-om-1-OM_Flatfield-X00000000000000.fits -w 10
# # [OUTPUT] [2024-11-30T23:44:21]
# # [INFO] [2024-11-30T23:44:21] Task Run Time omfastflat 0.217299938201904s
#
# # [INFO] [2024-11-30T23:44:21] Start omdetect
# [COMMAND] [2024-11-30T23:44:21]
export SAS_MEMORY_MODEL=high
# [COMMAND] [2024-11-30T23:44:21]
export SAS_RAND_SEED=0305240301
# # [INFO] [2024-11-30T23:44:21] ## DEBUG ModuleResources: SAS_RAND_SEED set: 0305240301
# [COMMAND] [2024-11-30T23:44:21]
omdetect nsigma=3 outset=product/P0305240301OMS006SFSRLI0000.FIT regionfile=product/P0305240301OMS006SFSREG0000.ASC \
set=product/P0305240301OMS006IMAGEF0000.FIT -w 10
# # [OUTPUT] [2024-11-30T23:44:21]
# # [INFO] [2024-11-30T23:44:21] Task Run Time omdetect 0.666282176971436s
#
# # [INFO] [2024-11-30T23:44:21] Start omatt
# [COMMAND] [2024-11-30T23:44:21]
export SAS_MEMORY_MODEL=high
# [COMMAND] [2024-11-30T23:44:21]
export SAS_RAND_SEED=0305240301
# # [INFO] [2024-11-30T23:44:21] ## DEBUG ModuleResources: SAS_RAND_SEED set: 0305240301
# [COMMAND] [2024-11-30T23:44:21]
omatt ppsoswset=product/P0305240301OMS006SIMAGF0000.FIT set=product/P0305240301OMS006IMAGEF0000.FIT \
sourcelistset=product/P0305240301OMS006SFSRLI0000.FIT usecat=F -w 10
# # [OUTPUT] [2024-11-30T23:44:22]
# # [INFO] [2024-11-30T23:44:22] Task Run Time omatt 0.58598804473877s
#
# # [INFO] [2024-11-30T23:44:22] Sky image found 
# # [INFO] [2024-11-30T23:44:22] DEBUG - doCommand fullcmd : implot.py --fitsImage=product/P0305240301OMS006SIMAGF0000.FIT\
#     --outfile=product/P0305240301OMS006SIMAGF0000.PNG --srclisttab=product/P0305240301OMS006SFSRLI0000.FIT --zscale=sqrt\
#     --zscaletype=7
# [COMMAND] [2024-11-30T23:44:22]
export SAS_MEMORY_MODEL=high
# [COMMAND] [2024-11-30T23:44:22]
export SAS_RAND_SEED=0305240301
# # [INFO] [2024-11-30T23:44:22] ## DEBUG ModuleResources: SAS_RAND_SEED set: 0305240301
# [COMMAND] [2024-11-30T23:44:22]
implot.py --fitsImage=product/P0305240301OMS006SIMAGF0000.FIT --outfile=product/P0305240301OMS006SIMAGF0000.PNG \
--srclisttab=product/P0305240301OMS006SFSRLI0000.FIT --zscale=sqrt --zscaletype=7
# # [OUTPUT] [2024-11-30T23:44:24] Image shape. y,x: (27, 26) figsize: [8.5, 6.8]
# Cropped image shape. y,x: (26, 25) x/y ratio: 0.96
# Plotting source regions from product/P0305240301OMS006SFSRLI0000.FIT 
# # [INFO] [2024-11-30T23:44:24] Task Run Time implot.py 2.3080620765686s
#
# # [INFO] [2024-11-30T23:44:24] implot has created PNG with src list
# # [INFO] [2024-11-30T23:44:24] Per-Source Processing
# # [INFO] [2024-11-30T23:44:24] Number of sources from region file product/P0305240301OMS006SFSREG0000.ASC: 1
# # [INFO] [2024-11-30T23:44:24] Sources in sourcelist product/P0305240301OMS006SFSRLI0000.FIT : 1
# # [INFO] [2024-11-30T23:44:24] Source Number : 1
# # [INFO] [2024-11-30T23:44:24] Start omregion
# [COMMAND] [2024-11-30T23:44:24]
export SAS_MEMORY_MODEL=high
# [COMMAND] [2024-11-30T23:44:24]
export SAS_RAND_SEED=0305240301
# # [INFO] [2024-11-30T23:44:24] ## DEBUG ModuleResources: SAS_RAND_SEED set: 0305240301
# [COMMAND] [2024-11-30T23:44:24]
omregion bkgfile=intermediate/OMFastAnalyse-om-1-OM_Background_Region_File-S00600000000001.fits bkginner=1.2 bkgouter=2.5 nfwhm=3 \
set=product/P0305240301OMS006SFSRLI0000.FIT srcfile=intermediate/OMFastAnalyse-om-1-OM_Source_Region_File-S00600000000001.fits \
srcnumber=1 srcradius=-6 -w 10
# # [OUTPUT] [2024-11-30T23:44:24]
# # [INFO] [2024-11-30T23:44:24] Task Run Time omregion 0.0358710289001465s
#
# # [INFO] [2024-11-30T23:44:24] Sampling timebinsize of product/P0305240301OMS006IMAGEF0000.FIT = 512/1024 sec
# # [INFO] [2024-11-30T23:44:24] Start evselect (2)
# # [INFO] [2024-11-30T23:44:24] timebinsize for evselect = 10
# [COMMAND] [2024-11-30T23:44:24]
export SAS_MEMORY_MODEL=high
# [COMMAND] [2024-11-30T23:44:24]
export SAS_RAND_SEED=0305240301
# # [INFO] [2024-11-30T23:44:24] ## DEBUG ModuleResources: SAS_RAND_SEED set: 0305240301
# [COMMAND] [2024-11-30T23:44:24]
evselect expression="((WIN_FLAG .eq. 0) .and. (region(intermediate/OMFastAnalyse-om-1-OM_Source_Region_File-S00600000000001.fits, \
CORR_X, CORR_Y)))" maketimecolumn=true rateset=intermediate/OMFastAnalyse-om-1-OM_Source_Rates_File-S00600000000001.fits \
table=intermediate/OMFastAnalyse-om-1-PPS_Event_List_File-S00600000000000.fits timebinsize=10 withrateset=T -w 10
# # [OUTPUT] [2024-11-30T23:44:24] ** 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:44:24] Task Run Time evselect 0.0877280235290527s
#
# # [INFO] [2024-11-30T23:44:24] Start evselect (3)
# [COMMAND] [2024-11-30T23:44:24]
export SAS_MEMORY_MODEL=high
# [COMMAND] [2024-11-30T23:44:24]
export SAS_RAND_SEED=0305240301
# # [INFO] [2024-11-30T23:44:24] ## DEBUG ModuleResources: SAS_RAND_SEED set: 0305240301
# [COMMAND] [2024-11-30T23:44:24]
evselect expression="((WIN_FLAG .eq. 0) .and. \
(region(intermediate/OMFastAnalyse-om-1-OM_Background_Region_File-S00600000000001.fits, CORR_X, CORR_Y)))" maketimecolumn=true \
rateset=intermediate/OMFastAnalyse-om-1-OM_Background_Rates_File-S00600000000001.fits \
table=intermediate/OMFastAnalyse-om-1-PPS_Event_List_File-S00600000000000.fits timebinsize=10 withrateset=T -w 10
# # [OUTPUT] [2024-11-30T23:44:24] ** 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:44:24] Task Run Time evselect 0.0731229782104492s
#
# # [INFO] [2024-11-30T23:44:24] Start omlcbuild
# # [INFO] [2024-11-30T23:44:24] Imaging mode image for determining background S006:odf/1029_0305240301_OMS00601IMI.FIT
# [COMMAND] [2024-11-30T23:44:24]
export SAS_MEMORY_MODEL=high
# [COMMAND] [2024-11-30T23:44:24]
export SAS_RAND_SEED=0305240301
# # [INFO] [2024-11-30T23:44:24] ## DEBUG ModuleResources: SAS_RAND_SEED set: 0305240301
# [COMMAND] [2024-11-30T23:44:24]
omlcbuild bkgfromimage=yes bkgrateset=intermediate/OMFastAnalyse-om-1-OM_Background_Rates_File-S00600000000001.fits \
bkgregionset=intermediate/OMFastAnalyse-om-1-OM_Background_Region_File-S00600000000001.fits \
imageset=odf/1029_0305240301_OMS00601IMI.FIT outset=product/P0305240301OMS006TIMESR0001.FIT \
sourcelistset=product/P0305240301OMS006SFSRLI0000.FIT \
srcrateset=intermediate/OMFastAnalyse-om-1-OM_Source_Rates_File-S00600000000001.fits \
srcregionset=intermediate/OMFastAnalyse-om-1-OM_Source_Region_File-S00600000000001.fits wdxset=odf/1029_0305240301_OMS00600WDX.FIT \
-w 10
# # [OUTPUT] [2024-11-30T23:44:53]
# TDP corr factor is: 1.14898837 
# # [INFO] [2024-11-30T23:44:53] Task Run Time omlcbuild 28.600291967392s
#
# # [INFO] [2024-11-30T23:44:53] DEBUG ++ omlcbuild complete, generated TIMESR file: product/P0305240301OMS006TIMESR0001.FIT
# # [INFO] [2024-11-30T23:44:53] DEBUG ++ TIMESR file product/P0305240301OMS006TIMESR0001.FIT exists!
# # [INFO] [2024-11-30T23:44:53] Start lcplot
# [COMMAND] [2024-11-30T23:44:53]
export SAS_MEMORY_MODEL=high
# [COMMAND] [2024-11-30T23:44:53]
export SAS_RAND_SEED=0305240301
# # [INFO] [2024-11-30T23:44:53] ## DEBUG ModuleResources: SAS_RAND_SEED set: 0305240301
# [COMMAND] [2024-11-30T23:44:53]
lcplot binsize=1 plotdevice=/VPS plotfile=intermediate/OMFastAnalyse-om-1-OM_OSW_SOURCE_TIMESERIES-S00600000000001.ps \
set=product/P0305240301OMS006TIMESR0001.FIT tests=chi -w 10
# # [OUTPUT] [2024-11-30T23:44:56] ** lcplot: warning (LCPLOT), HDUCLAS2 is not equal to TOTAL
# lcplot_graph.py executed successfully. 
# # [INFO] [2024-11-30T23:44:56] Task Run Time lcplot 2.56410217285156s
#
# # [INFO] [2024-11-30T23:44:56] Start PStoPDF
# [COMMAND] [2024-11-30T23:44:56]
pstopdf intermediate/OMFastAnalyse-om-1-OM_OSW_SOURCE_TIMESERIES-S00600000000001.ps product/P0305240301OMS006TIMESR0001.PDF
# # [OUTPUT] [2024-11-30T23:44:56]
# # [INFO] [2024-11-30T23:44:56] Module name: OMFastAnalyse
# # [INFO] [2024-11-30T23:44:56] Instrument: om
# # [INFO] [2024-11-30T23:44:56] Stream no.: 0002
# # [INFO] [2024-11-30T23:44:56] Module version number: 1.36
# # [INFO] [2024-11-30T23:44:56] DEBUG --- exp_id: S007, filter: UVW2
# # [INFO] [2024-11-30T23:44:56] 1 Fast Mode Windows to process
# # [INFO] [2024-11-30T23:44:56] Processing OSW 0
# # [INFO] [2024-11-30T23:44:56] Start omprep
# [COMMAND] [2024-11-30T23:44:56]
export SAS_MEMORY_MODEL=high
# [COMMAND] [2024-11-30T23:44:56]
export SAS_RAND_SEED=0305240301
# # [INFO] [2024-11-30T23:44:56] ## DEBUG ModuleResources: SAS_RAND_SEED set: 0305240301
# [COMMAND] [2024-11-30T23:44:56]
omprep modeset=1 nphset=odf/1029_0305240301_OMX00000NPH.FIT \
outset=intermediate/OMFastAnalyse-om-2-PPS_Event_List_File-S00700000000000.fits pehset=odf/1029_0305240301_OMX00000PEH.FIT \
set=odf/1029_0305240301_OMS00700FAE.FIT wdxset=odf/1029_0305240301_OMS00700WDX.FIT -w 10
# # [OUTPUT] [2024-11-30T23:44:56]
# # [INFO] [2024-11-30T23:44:56] Task Run Time omprep 0.230329990386963s
#
# # [INFO] [2024-11-30T23:44:56] Start evselect(1)
# [COMMAND] [2024-11-30T23:44:56]
export SAS_MEMORY_MODEL=high
# [COMMAND] [2024-11-30T23:44:56]
export SAS_RAND_SEED=0305240301
# # [INFO] [2024-11-30T23:44:56] ## DEBUG ModuleResources: SAS_RAND_SEED set: 0305240301
# [COMMAND] [2024-11-30T23:44:56]
evselect imageset=intermediate/OMFastAnalyse-om-2-Fast_Mode_Raw_Image-S00700000000000.fits \
table=intermediate/OMFastAnalyse-om-2-PPS_Event_List_File-S00700000000000.fits withimageset=true xcolumn=RAWX ycolumn=RAWY -w 10
# # [OUTPUT] [2024-11-30T23:44:56] ** 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:44:56] Task Run Time evselect 0.0673449039459229s
#
# # [INFO] [2024-11-30T23:44:56] Start omfastshift
# [COMMAND] [2024-11-30T23:44:56]
export SAS_MEMORY_MODEL=high
# [COMMAND] [2024-11-30T23:44:56]
export SAS_RAND_SEED=0305240301
# # [INFO] [2024-11-30T23:44:56] ## DEBUG ModuleResources: SAS_RAND_SEED set: 0305240301
# [COMMAND] [2024-11-30T23:44:56]
omfastshift nphset=odf/1029_0305240301_OMX00000NPH.FIT set=intermediate/OMFastAnalyse-om-2-PPS_Event_List_File-S00700000000000.fits \
thxset=intermediate/OMExpAnalyse-om-2-omprep_tracking_history-S00700000000000.fits -w 10
# # [OUTPUT] [2024-11-30T23:44:56]
# # [INFO] [2024-11-30T23:44:56] Task Run Time omfastshift 0.0937271118164062s
#
# # [INFO] [2024-11-30T23:44:56] Start omfastflat
# [COMMAND] [2024-11-30T23:44:56]
export SAS_MEMORY_MODEL=high
# [COMMAND] [2024-11-30T23:44:56]
export SAS_RAND_SEED=0305240301
# # [INFO] [2024-11-30T23:44:56] ## DEBUG ModuleResources: SAS_RAND_SEED set: 0305240301
# [COMMAND] [2024-11-30T23:44:56]
omfastflat fastimgset=product/P0305240301OMS007IMAGEF0000.FIT \
oswflatset=intermediate/OMFastAnalyse-om-2-OM_OSW_Flat_Field-S00700000000000.fits \
set=intermediate/OMFastAnalyse-om-2-PPS_Event_List_File-S00700000000000.fits \
slewflatset=intermediate/OMgetFlat-om-1-OM_Flatfield-X00000000000000.fits -w 10
# # [OUTPUT] [2024-11-30T23:44:56]
# # [INFO] [2024-11-30T23:44:56] Task Run Time omfastflat 0.298274993896484s
#
# # [INFO] [2024-11-30T23:44:56] Start omdetect
# [COMMAND] [2024-11-30T23:44:56]
export SAS_MEMORY_MODEL=high
# [COMMAND] [2024-11-30T23:44:56]
export SAS_RAND_SEED=0305240301
# # [INFO] [2024-11-30T23:44:56] ## DEBUG ModuleResources: SAS_RAND_SEED set: 0305240301
# [COMMAND] [2024-11-30T23:44:56]
omdetect nsigma=3 outset=product/P0305240301OMS007SFSRLI0000.FIT regionfile=product/P0305240301OMS007SFSREG0000.ASC \
set=product/P0305240301OMS007IMAGEF0000.FIT -w 10
# # [OUTPUT] [2024-11-30T23:44:57]
# # [INFO] [2024-11-30T23:44:57] Task Run Time omdetect 0.741766214370728s
#
# # [INFO] [2024-11-30T23:44:57] Start omatt
# [COMMAND] [2024-11-30T23:44:57]
export SAS_MEMORY_MODEL=high
# [COMMAND] [2024-11-30T23:44:57]
export SAS_RAND_SEED=0305240301
# # [INFO] [2024-11-30T23:44:57] ## DEBUG ModuleResources: SAS_RAND_SEED set: 0305240301
# [COMMAND] [2024-11-30T23:44:57]
omatt ppsoswset=product/P0305240301OMS007SIMAGF0000.FIT set=product/P0305240301OMS007IMAGEF0000.FIT \
sourcelistset=product/P0305240301OMS007SFSRLI0000.FIT usecat=F -w 10
# # [OUTPUT] [2024-11-30T23:44:58]
# # [INFO] [2024-11-30T23:44:58] Task Run Time omatt 0.646222114562988s
#
# # [INFO] [2024-11-30T23:44:58] Sky image found 
# # [INFO] [2024-11-30T23:44:58] DEBUG - doCommand fullcmd : implot.py --fitsImage=product/P0305240301OMS007SIMAGF0000.FIT\
#     --outfile=product/P0305240301OMS007SIMAGF0000.PNG --srclisttab=product/P0305240301OMS007SFSRLI0000.FIT --zscale=sqrt\
#     --zscaletype=7
# [COMMAND] [2024-11-30T23:44:58]
export SAS_MEMORY_MODEL=high
# [COMMAND] [2024-11-30T23:44:58]
export SAS_RAND_SEED=0305240301
# # [INFO] [2024-11-30T23:44:58] ## DEBUG ModuleResources: SAS_RAND_SEED set: 0305240301
# [COMMAND] [2024-11-30T23:44:58]
implot.py --fitsImage=product/P0305240301OMS007SIMAGF0000.FIT --outfile=product/P0305240301OMS007SIMAGF0000.PNG \
--srclisttab=product/P0305240301OMS007SFSRLI0000.FIT --zscale=sqrt --zscaletype=7
# # [OUTPUT] [2024-11-30T23:45:01] Image shape. y,x: (27, 26) figsize: [8.5, 6.8]
# Cropped image shape. y,x: (26, 25) x/y ratio: 0.96
# Plotting source regions from product/P0305240301OMS007SFSRLI0000.FIT 
# # [INFO] [2024-11-30T23:45:01] Task Run Time implot.py 3.03912210464478s
#
# # [INFO] [2024-11-30T23:45:01] implot has created PNG with src list
# # [INFO] [2024-11-30T23:45:01] Per-Source Processing
# # [INFO] [2024-11-30T23:45:01] Number of sources from region file product/P0305240301OMS007SFSREG0000.ASC: 1
# # [INFO] [2024-11-30T23:45:01] Sources in sourcelist product/P0305240301OMS007SFSRLI0000.FIT : 1
# # [INFO] [2024-11-30T23:45:01] Source Number : 1
# # [INFO] [2024-11-30T23:45:01] Start omregion
# [COMMAND] [2024-11-30T23:45:01]
export SAS_MEMORY_MODEL=high
# [COMMAND] [2024-11-30T23:45:01]
export SAS_RAND_SEED=0305240301
# # [INFO] [2024-11-30T23:45:01] ## DEBUG ModuleResources: SAS_RAND_SEED set: 0305240301
# [COMMAND] [2024-11-30T23:45:01]
omregion bkgfile=intermediate/OMFastAnalyse-om-2-OM_Background_Region_File-S00700000000001.fits bkginner=1.2 bkgouter=2.5 nfwhm=3 \
set=product/P0305240301OMS007SFSRLI0000.FIT srcfile=intermediate/OMFastAnalyse-om-2-OM_Source_Region_File-S00700000000001.fits \
srcnumber=1 srcradius=-6 -w 10
# # [OUTPUT] [2024-11-30T23:45:01]
# # [INFO] [2024-11-30T23:45:01] Task Run Time omregion 0.0392699241638184s
#
# # [INFO] [2024-11-30T23:45:01] Sampling timebinsize of product/P0305240301OMS007IMAGEF0000.FIT = 512/1024 sec
# # [INFO] [2024-11-30T23:45:01] Start evselect (2)
# # [INFO] [2024-11-30T23:45:01] timebinsize for evselect = 10
# [COMMAND] [2024-11-30T23:45:01]
export SAS_MEMORY_MODEL=high
# [COMMAND] [2024-11-30T23:45:01]
export SAS_RAND_SEED=0305240301
# # [INFO] [2024-11-30T23:45:01] ## DEBUG ModuleResources: SAS_RAND_SEED set: 0305240301
# [COMMAND] [2024-11-30T23:45:01]
evselect expression="((WIN_FLAG .eq. 0) .and. (region(intermediate/OMFastAnalyse-om-2-OM_Source_Region_File-S00700000000001.fits, \
CORR_X, CORR_Y)))" maketimecolumn=true rateset=intermediate/OMFastAnalyse-om-2-OM_Source_Rates_File-S00700000000001.fits \
table=intermediate/OMFastAnalyse-om-2-PPS_Event_List_File-S00700000000000.fits timebinsize=10 withrateset=T -w 10
# # [OUTPUT] [2024-11-30T23:45:01] ** 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:45:01] Task Run Time evselect 0.0800480842590332s
#
# # [INFO] [2024-11-30T23:45:01] Start evselect (3)
# [COMMAND] [2024-11-30T23:45:01]
export SAS_MEMORY_MODEL=high
# [COMMAND] [2024-11-30T23:45:01]
export SAS_RAND_SEED=0305240301
# # [INFO] [2024-11-30T23:45:01] ## DEBUG ModuleResources: SAS_RAND_SEED set: 0305240301
# [COMMAND] [2024-11-30T23:45:01]
evselect expression="((WIN_FLAG .eq. 0) .and. \
(region(intermediate/OMFastAnalyse-om-2-OM_Background_Region_File-S00700000000001.fits, CORR_X, CORR_Y)))" maketimecolumn=true \
rateset=intermediate/OMFastAnalyse-om-2-OM_Background_Rates_File-S00700000000001.fits \
table=intermediate/OMFastAnalyse-om-2-PPS_Event_List_File-S00700000000000.fits timebinsize=10 withrateset=T -w 10
# # [OUTPUT] [2024-11-30T23:45:01] ** 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:45:01] Task Run Time evselect 0.0961699485778809s
#
# # [INFO] [2024-11-30T23:45:01] Start omlcbuild
# # [INFO] [2024-11-30T23:45:01] Imaging mode image for determining background S007:odf/1029_0305240301_OMS00701IMI.FIT
# [COMMAND] [2024-11-30T23:45:01]
export SAS_MEMORY_MODEL=high
# [COMMAND] [2024-11-30T23:45:01]
export SAS_RAND_SEED=0305240301
# # [INFO] [2024-11-30T23:45:01] ## DEBUG ModuleResources: SAS_RAND_SEED set: 0305240301
# [COMMAND] [2024-11-30T23:45:01]
omlcbuild bkgfromimage=yes bkgrateset=intermediate/OMFastAnalyse-om-2-OM_Background_Rates_File-S00700000000001.fits \
bkgregionset=intermediate/OMFastAnalyse-om-2-OM_Background_Region_File-S00700000000001.fits \
imageset=odf/1029_0305240301_OMS00701IMI.FIT outset=product/P0305240301OMS007TIMESR0001.FIT \
sourcelistset=product/P0305240301OMS007SFSRLI0000.FIT \
srcrateset=intermediate/OMFastAnalyse-om-2-OM_Source_Rates_File-S00700000000001.fits \
srcregionset=intermediate/OMFastAnalyse-om-2-OM_Source_Region_File-S00700000000001.fits wdxset=odf/1029_0305240301_OMS00700WDX.FIT \
-w 10
# # [OUTPUT] [2024-11-30T23:45:30]
# TDP corr factor is: 1.14899123 
# # [INFO] [2024-11-30T23:45:30] Task Run Time omlcbuild 28.918016910553s
#
# # [INFO] [2024-11-30T23:45:30] DEBUG ++ omlcbuild complete, generated TIMESR file: product/P0305240301OMS007TIMESR0001.FIT
# # [INFO] [2024-11-30T23:45:30] DEBUG ++ TIMESR file product/P0305240301OMS007TIMESR0001.FIT exists!
# # [INFO] [2024-11-30T23:45:30] Start lcplot
# [COMMAND] [2024-11-30T23:45:30]
export SAS_MEMORY_MODEL=high
# [COMMAND] [2024-11-30T23:45:30]
export SAS_RAND_SEED=0305240301
# # [INFO] [2024-11-30T23:45:30] ## DEBUG ModuleResources: SAS_RAND_SEED set: 0305240301
# [COMMAND] [2024-11-30T23:45:30]
lcplot binsize=1 plotdevice=/VPS plotfile=intermediate/OMFastAnalyse-om-2-OM_OSW_SOURCE_TIMESERIES-S00700000000001.ps \
set=product/P0305240301OMS007TIMESR0001.FIT tests=chi -w 10
# # [OUTPUT] [2024-11-30T23:45:32] ** lcplot: warning (LCPLOT), HDUCLAS2 is not equal to TOTAL
# lcplot_graph.py executed successfully. 
# # [INFO] [2024-11-30T23:45:32] Task Run Time lcplot 2.10732579231262s
#
# # [INFO] [2024-11-30T23:45:32] Start PStoPDF
# [COMMAND] [2024-11-30T23:45:32]
pstopdf intermediate/OMFastAnalyse-om-2-OM_OSW_SOURCE_TIMESERIES-S00700000000001.ps product/P0305240301OMS007TIMESR0001.PDF
# # [OUTPUT] [2024-11-30T23:45:32]
# # [INFO] [2024-11-30T23:45:32] Module name: OMImageAnalyse
# # [INFO] [2024-11-30T23:45:32] Instrument: om
# # [INFO] [2024-11-30T23:45:32] Stream no.: 0001
# # [INFO] [2024-11-30T23:45:32] Module version number: 3.28
# # [INFO] [2024-11-30T23:45:32] Looking for Engineering Mode Files...
# # [INFO] [2024-11-30T23:45:32] Found None Engineering mode Windows.
# # [INFO] [2024-11-30T23:45:32] Found No Full Frame Engineering 4 Windows.
# # [INFO] [2024-11-30T23:45:32] Found no Full Frame Engineering 2 Windows.
# # [INFO] [2024-11-30T23:45:32] Looking for Image Mode Files...
# # [INFO] [2024-11-30T23:45:32] Found 1 Image mode images.
# # [INFO] [2024-11-30T23:45:32] Analysing odf/1029_0305240301_OMS00601IMI.FIT for image identification
# # [INFO] [2024-11-30T23:45:32] Identified mode: USER
# # [INFO] [2024-11-30T23:45:32] Failed to make a suitable combined image. Will process components as USER mode.
# # [INFO] [2024-11-30T23:45:32] Processing USER Images.
# # [INFO] [2024-11-30T23:45:32] 1 images to process.
# # [INFO] [2024-11-30T23:45:32] Processing S006:1:odf/1029_0305240301_OMS00601IMI.FIT
# [COMMAND] [2024-11-30T23:45:32]
export SAS_MEMORY_MODEL=high
# [COMMAND] [2024-11-30T23:45:32]
export SAS_RAND_SEED=0305240301
# # [INFO] [2024-11-30T23:45:32] ## DEBUG ModuleResources: SAS_RAND_SEED set: 0305240301
# [COMMAND] [2024-11-30T23:45:32]
omprep modeset=0 nphset=odf/1029_0305240301_OMX00000NPH.FIT outset=intermediate/OMImageAnalyse-om-1-Raw_Image-S00600010000000.fits \
pehset=odf/1029_0305240301_OMX00000PEH.FIT set=odf/1029_0305240301_OMS00601IMI.FIT wdxset=odf/1029_0305240301_OMS00600WDX.FIT -w 10
# # [OUTPUT] [2024-11-30T23:45:32]
# # [INFO] [2024-11-30T23:45:32] Task Run Time omprep 0.219295978546143s
#
# # [INFO] [2024-11-30T23:45:32] Retrieving FILTER value
# # [INFO] [2024-11-30T23:45:32] FILTER = S
# # [INFO] [2024-11-30T23:45:32] Retrieving EXPOSURE value
# # [INFO] [2024-11-30T23:45:32] EXPOSURE = 4.30000000000000E+03
# [COMMAND] [2024-11-30T23:45:32]
export SAS_MEMORY_MODEL=high
# [COMMAND] [2024-11-30T23:45:32]
export SAS_RAND_SEED=0305240301
# # [INFO] [2024-11-30T23:45:32] ## DEBUG ModuleResources: SAS_RAND_SEED set: 0305240301
# [COMMAND] [2024-11-30T23:45:32]
omcosflag set=intermediate/OMImageAnalyse-om-1-Raw_Image-S00600010000000.fits \
thxset=intermediate/OMExpAnalyse-om-1-omprep_tracking_history-S00600000000000.fits -w 10
# # [OUTPUT] [2024-11-30T23:45:33]
# # [INFO] [2024-11-30T23:45:33] Task Run Time omcosflag 0.22975492477417s
#
# [COMMAND] [2024-11-30T23:45:33]
export SAS_MEMORY_MODEL=high
# [COMMAND] [2024-11-30T23:45:33]
export SAS_RAND_SEED=0305240301
# # [INFO] [2024-11-30T23:45:33] ## DEBUG ModuleResources: SAS_RAND_SEED set: 0305240301
# [COMMAND] [2024-11-30T23:45:33]
omflatfield inorbitflatset=intermediate/OMgetFlat-om-1-OM_Flatfield-X00000000000000.fits \
outset=intermediate/OMImageAnalyse-om-1-OSW_Flat_Fielded_Image-S00600010000000.fits \
set=intermediate/OMImageAnalyse-om-1-Raw_Image-S00600010000000.fits \
thxset=intermediate/OMExpAnalyse-om-1-omprep_tracking_history-S00600000000000.fits \
tsflatset=intermediate/OMImageAnalyse-om-1-OSW_Flat_Field-S00600010000000.fits -w 10
# # [OUTPUT] [2024-11-30T23:45:33]
# # [INFO] [2024-11-30T23:45:33] Task Run Time omflatfield 0.10665488243103s
#
# [COMMAND] [2024-11-30T23:45:33]
export SAS_MEMORY_MODEL=high
# [COMMAND] [2024-11-30T23:45:33]
export SAS_RAND_SEED=0305240301
# # [INFO] [2024-11-30T23:45:33] ## DEBUG ModuleResources: SAS_RAND_SEED set: 0305240301
# [COMMAND] [2024-11-30T23:45:33]
ommodmap mod8product=Y mod8set=intermediate/OMImageAnalyse-om-1-OSW_MODULO_8_IMAGE-S00600010000000.fits nbox=16 nsig=6 \
outset=product/P0305240301OMS006IMAGE_1000.FIT set=intermediate/OMImageAnalyse-om-1-OSW_Flat_Fielded_Image-S00600010000000.fits -w \
10
# # [OUTPUT] [2024-11-30T23:45:39] ** ommodmap: warning (LowMod8Noise), Too few counts in image to remove mod8 noise. 
# # [INFO] [2024-11-30T23:45:39] Task Run Time ommodmap 6.06737899780273s
#
# [COMMAND] [2024-11-30T23:45:39]
export SAS_MEMORY_MODEL=high
# [COMMAND] [2024-11-30T23:45:39]
export SAS_RAND_SEED=0305240301
# # [INFO] [2024-11-30T23:45:39] ## DEBUG ModuleResources: SAS_RAND_SEED set: 0305240301
# [COMMAND] [2024-11-30T23:45:39]
omqualitymap mode=setqualityimage outset=product/P0305240301OMS006IMAGE_1000.FIT set=product/P0305240301OMS006IMAGE_1000.FIT \
srclistset= -w 10
# # [OUTPUT] [2024-11-30T23:45:39] ** omqualitymap: warning (parameter), srclistset = NONE; 
# ** omqualitymap: warning (overwrite), The file product/P0305240301OMS006IMAGE_1000.FIT will be overwritten
# ** omqualitymap: warning (parameter), srclistset = NONE; 
# # [INFO] [2024-11-30T23:45:39] Task Run Time omqualitymap 0.120325803756714s
#
# [COMMAND] [2024-11-30T23:45:39]
export SAS_MEMORY_MODEL=high
# [COMMAND] [2024-11-30T23:45:39]
export SAS_RAND_SEED=0305240301
# # [INFO] [2024-11-30T23:45:39] ## DEBUG ModuleResources: SAS_RAND_SEED set: 0305240301
# [COMMAND] [2024-11-30T23:45:39]
omdetect detectextended=Y minsignificance=3 nsigma=2 outset=product/P0305240301OMS006SWSRLI1000.FIT \
regionfile=product/P0305240301OMS006SWSREG1000.ASC set=product/P0305240301OMS006IMAGE_1000.FIT -w 10
# # [OUTPUT] [2024-11-30T23:45:59]
# # [INFO] [2024-11-30T23:45:59] Task Run Time omdetect 20.1399629116058s
#
# [COMMAND] [2024-11-30T23:45:59]
export SAS_MEMORY_MODEL=high
# [COMMAND] [2024-11-30T23:45:59]
export SAS_RAND_SEED=0305240301
# # [INFO] [2024-11-30T23:45:59] ## DEBUG ModuleResources: SAS_RAND_SEED set: 0305240301
# [COMMAND] [2024-11-30T23:45:59]
omqualitymap mode=setqualityimage outset=product/P0305240301OMS006IMAGE_1000.FIT set=product/P0305240301OMS006IMAGE_1000.FIT \
srclistset=product/P0305240301OMS006SWSRLI1000.FIT -w 10
# # [OUTPUT] [2024-11-30T23:45:59] ** omqualitymap: warning (parameter), srclistset = product/P0305240301OMS006SWSRLI1000.FIT; 
# ** omqualitymap: warning (overwrite), The file product/P0305240301OMS006IMAGE_1000.FIT will be overwritten
# ** omqualitymap: warning (parameter), srclistset = product/P0305240301OMS006SWSRLI1000.FIT; 
# # [INFO] [2024-11-30T23:45:59] Task Run Time omqualitymap 0.0870780944824219s
#
# [COMMAND] [2024-11-30T23:45:59]
export SAS_MEMORY_MODEL=high
# [COMMAND] [2024-11-30T23:45:59]
export SAS_RAND_SEED=0305240301
# # [INFO] [2024-11-30T23:45:59] ## DEBUG ModuleResources: SAS_RAND_SEED set: 0305240301
# [COMMAND] [2024-11-30T23:45:59]
ommag set=product/P0305240301OMS006SWSRLI1000.FIT -w 10
# # [OUTPUT] [2024-11-30T23:45:59]
# TDP corr factor is: 1.14898837 
# L265 tdpCorrFactor= 1.14898837 
# L348 getting the column data
# In: 331.745300 333.586578 1 745
# X,Y,pdepcorr: 1076.74536 978.586548 1.00000000 
# In: 544.100281 215.157608 1 745
# X,Y,pdepcorr: 1289.10034 860.157593 1.00000000 
# In: 543.776855 482.131439 1 745
# X,Y,pdepcorr: 1288.77686 1127.13147 1.00000000 
# In: 476.477020 384.721252 1 745
# X,Y,pdepcorr: 1221.47705 1029.72119 1.00000000 
# # [INFO] [2024-11-30T23:45:59] Task Run Time ommag 0.0460200309753418s
#
# [COMMAND] [2024-11-30T23:45:59]
export SAS_MEMORY_MODEL=high
# [COMMAND] [2024-11-30T23:45:59]
export SAS_RAND_SEED=0305240301
# # [INFO] [2024-11-30T23:45:59] ## DEBUG ModuleResources: SAS_RAND_SEED set: 0305240301
# [COMMAND] [2024-11-30T23:45:59]
omatt catfile=product/P0305240301OBX000REFCAT0000.FIT ppsoswset=product/P0305240301OMS006SIMAGE1000.FIT \
set=product/P0305240301OMS006IMAGE_1000.FIT sourcelistset=product/P0305240301OMS006SWSRLI1000.FIT usecat=Y -w 10
# # [OUTPUT] [2024-11-30T23:46:05] ** omatt: warning (Too few sources for astrometry (4)), Need at least 5 
# # [INFO] [2024-11-30T23:46:05] Task Run Time omatt 5.30737996101379s
#
# [COMMAND] [2024-11-30T23:46:05]
export \
PFILES=/scratch/225829.1.all.q/xmm/ppsprod/228974/pfiles;/lhome/pcms/local/rhel8.6/GNU_CC_CXX_11.3.0/headas/architecture/syspfiles
# [COMMAND] [2024-11-30T23:46:05]
export SAS_MEMORY_MODEL=high
# [COMMAND] [2024-11-30T23:46:05]
export SAS_RAND_SEED=0305240301
# # [INFO] [2024-11-30T23:46:05] ## DEBUG ModuleResources: SAS_RAND_SEED set: 0305240301
# [COMMAND] [2024-11-30T23:46:05]
fimgstat clobber=Y infile=product/P0305240301OMS006SIMAGE1000.FIT max=0 mean=0 min=0 mode=ql num=0 \
outfile=intermediate/OMImageAnalyse-om-1-OSW_1_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:46:05]
# ****** successfully exited ******
# # [INFO] [2024-11-30T23:46:05] Task Run Time fimgstat 0.0284879207611084s
#
# # [INFO] [2024-11-30T23:46:05] DEBUG - doCommand fullcmd : implot.py --fitsImage=product/P0305240301OMS006SIMAGE1000.FIT\
#     --outfile=product/P0305240301OMS006SIMAGE1000.PNG
# [COMMAND] [2024-11-30T23:46:05]
export SAS_MEMORY_MODEL=high
# [COMMAND] [2024-11-30T23:46:05]
export SAS_RAND_SEED=0305240301
# # [INFO] [2024-11-30T23:46:05] ## DEBUG ModuleResources: SAS_RAND_SEED set: 0305240301
# [COMMAND] [2024-11-30T23:46:05]
implot.py --fitsImage=product/P0305240301OMS006SIMAGE1000.FIT --outfile=product/P0305240301OMS006SIMAGE1000.PNG
# # [OUTPUT] [2024-11-30T23:46:07] Image shape. y,x: (804, 813) figsize: [8.5, 6.8]
# Cropped image shape. y,x: (803, 812) x/y ratio: 1.01 
# # [INFO] [2024-11-30T23:46:07] Task Run Time implot.py 2.25605201721191s
#
# # [INFO] [2024-11-30T23:46:07] Processing RUDI5_LR Images.
# # [INFO] [2024-11-30T23:46:07] 0 images to process.
# # [INFO] [2024-11-30T23:46:07] Processing RUDI5_HR Images.
# # [INFO] [2024-11-30T23:46:07] 0 images to process.
# # [INFO] [2024-11-30T23:46:07] Processing PFENG2 Images.
# # [INFO] [2024-11-30T23:46:07] 0 images to process.
# # [INFO] [2024-11-30T23:46:07] Processing FFENG2 Images.
# # [INFO] [2024-11-30T23:46:07] 0 images to process.
# # [INFO] [2024-11-30T23:46:07] Processing ENG4 Images.
# # [INFO] [2024-11-30T23:46:07] 0 images to process.
# # [INFO] [2024-11-30T23:46:07] All images processed
# # [INFO] [2024-11-30T23:46:07] Writing accounting information
# # [INFO] [2024-11-30T23:46:07] DEBUG: sourcedetails array: $VAR1 = [
# 'product/P0305240301OMS006SWSRLI1000.FIT|USER|S '
# ]; 
# # [INFO] [2024-11-30T23:46:07] DEBUG: skyimagedetails array: $VAR1 = [
# 'product/P0305240301OMS006SIMAGE1000.FIT|USER|S|4.30000000000000E+03|S006 '
# ]; 
# # [INFO] [2024-11-30T23:46:07] Module name: OMImageAnalyse
# # [INFO] [2024-11-30T23:46:07] Instrument: om
# # [INFO] [2024-11-30T23:46:07] Stream no.: 0002
# # [INFO] [2024-11-30T23:46:07] Module version number: 3.28
# # [INFO] [2024-11-30T23:46:07] Looking for Engineering Mode Files...
# # [INFO] [2024-11-30T23:46:07] Found None Engineering mode Windows.
# # [INFO] [2024-11-30T23:46:07] Found No Full Frame Engineering 4 Windows.
# # [INFO] [2024-11-30T23:46:07] Found no Full Frame Engineering 2 Windows.
# # [INFO] [2024-11-30T23:46:07] Looking for Image Mode Files...
# # [INFO] [2024-11-30T23:46:07] Found 1 Image mode images.
# # [INFO] [2024-11-30T23:46:07] Analysing odf/1029_0305240301_OMS00701IMI.FIT for image identification
# # [INFO] [2024-11-30T23:46:07] Identified mode: USER
# # [INFO] [2024-11-30T23:46:07] Failed to make a suitable combined image. Will process components as USER mode.
# # [INFO] [2024-11-30T23:46:07] Processing USER Images.
# # [INFO] [2024-11-30T23:46:07] 1 images to process.
# # [INFO] [2024-11-30T23:46:07] Processing S007:1:odf/1029_0305240301_OMS00701IMI.FIT
# [COMMAND] [2024-11-30T23:46:07]
export SAS_MEMORY_MODEL=high
# [COMMAND] [2024-11-30T23:46:07]
export SAS_RAND_SEED=0305240301
# # [INFO] [2024-11-30T23:46:07] ## DEBUG ModuleResources: SAS_RAND_SEED set: 0305240301
# [COMMAND] [2024-11-30T23:46:07]
omprep modeset=0 nphset=odf/1029_0305240301_OMX00000NPH.FIT outset=intermediate/OMImageAnalyse-om-2-Raw_Image-S00700010000000.fits \
pehset=odf/1029_0305240301_OMX00000PEH.FIT set=odf/1029_0305240301_OMS00701IMI.FIT wdxset=odf/1029_0305240301_OMS00700WDX.FIT -w 10
# # [OUTPUT] [2024-11-30T23:46:07]
# # [INFO] [2024-11-30T23:46:07] Task Run Time omprep 0.161547899246216s
#
# # [INFO] [2024-11-30T23:46:07] Retrieving FILTER value
# # [INFO] [2024-11-30T23:46:07] FILTER = S
# # [INFO] [2024-11-30T23:46:07] Retrieving EXPOSURE value
# # [INFO] [2024-11-30T23:46:07] EXPOSURE = 4.30000000000000E+03
# [COMMAND] [2024-11-30T23:46:07]
export SAS_MEMORY_MODEL=high
# [COMMAND] [2024-11-30T23:46:07]
export SAS_RAND_SEED=0305240301
# # [INFO] [2024-11-30T23:46:07] ## DEBUG ModuleResources: SAS_RAND_SEED set: 0305240301
# [COMMAND] [2024-11-30T23:46:07]
omcosflag set=intermediate/OMImageAnalyse-om-2-Raw_Image-S00700010000000.fits \
thxset=intermediate/OMExpAnalyse-om-2-omprep_tracking_history-S00700000000000.fits -w 10
# # [OUTPUT] [2024-11-30T23:46:07]
# # [INFO] [2024-11-30T23:46:07] Task Run Time omcosflag 0.237720012664795s
#
# [COMMAND] [2024-11-30T23:46:07]
export SAS_MEMORY_MODEL=high
# [COMMAND] [2024-11-30T23:46:07]
export SAS_RAND_SEED=0305240301
# # [INFO] [2024-11-30T23:46:07] ## DEBUG ModuleResources: SAS_RAND_SEED set: 0305240301
# [COMMAND] [2024-11-30T23:46:07]
omflatfield inorbitflatset=intermediate/OMgetFlat-om-1-OM_Flatfield-X00000000000000.fits \
outset=intermediate/OMImageAnalyse-om-2-OSW_Flat_Fielded_Image-S00700010000000.fits \
set=intermediate/OMImageAnalyse-om-2-Raw_Image-S00700010000000.fits \
thxset=intermediate/OMExpAnalyse-om-2-omprep_tracking_history-S00700000000000.fits \
tsflatset=intermediate/OMImageAnalyse-om-2-OSW_Flat_Field-S00700010000000.fits -w 10
# # [OUTPUT] [2024-11-30T23:46:07]
# # [INFO] [2024-11-30T23:46:07] Task Run Time omflatfield 0.116308212280273s
#
# [COMMAND] [2024-11-30T23:46:07]
export SAS_MEMORY_MODEL=high
# [COMMAND] [2024-11-30T23:46:07]
export SAS_RAND_SEED=0305240301
# # [INFO] [2024-11-30T23:46:07] ## DEBUG ModuleResources: SAS_RAND_SEED set: 0305240301
# [COMMAND] [2024-11-30T23:46:07]
ommodmap mod8product=Y mod8set=intermediate/OMImageAnalyse-om-2-OSW_MODULO_8_IMAGE-S00700010000000.fits nbox=16 nsig=6 \
outset=product/P0305240301OMS007IMAGE_1000.FIT set=intermediate/OMImageAnalyse-om-2-OSW_Flat_Fielded_Image-S00700010000000.fits -w \
10
# # [OUTPUT] [2024-11-30T23:46:13] ** ommodmap: warning (LowMod8Noise), Too few counts in image to remove mod8 noise. 
# # [INFO] [2024-11-30T23:46:13] Task Run Time ommodmap 5.74519491195679s
#
# [COMMAND] [2024-11-30T23:46:13]
export SAS_MEMORY_MODEL=high
# [COMMAND] [2024-11-30T23:46:13]
export SAS_RAND_SEED=0305240301
# # [INFO] [2024-11-30T23:46:13] ## DEBUG ModuleResources: SAS_RAND_SEED set: 0305240301
# [COMMAND] [2024-11-30T23:46:13]
omqualitymap mode=setqualityimage outset=product/P0305240301OMS007IMAGE_1000.FIT set=product/P0305240301OMS007IMAGE_1000.FIT \
srclistset= -w 10
# # [OUTPUT] [2024-11-30T23:46:13] ** omqualitymap: warning (parameter), srclistset = NONE; 
# ** omqualitymap: warning (overwrite), The file product/P0305240301OMS007IMAGE_1000.FIT will be overwritten
# ** omqualitymap: warning (parameter), srclistset = NONE; 
# # [INFO] [2024-11-30T23:46:13] Task Run Time omqualitymap 0.108995914459229s
#
# [COMMAND] [2024-11-30T23:46:13]
export SAS_MEMORY_MODEL=high
# [COMMAND] [2024-11-30T23:46:13]
export SAS_RAND_SEED=0305240301
# # [INFO] [2024-11-30T23:46:13] ## DEBUG ModuleResources: SAS_RAND_SEED set: 0305240301
# [COMMAND] [2024-11-30T23:46:13]
omdetect detectextended=Y minsignificance=3 nsigma=2 outset=product/P0305240301OMS007SWSRLI1000.FIT \
regionfile=product/P0305240301OMS007SWSREG1000.ASC set=product/P0305240301OMS007IMAGE_1000.FIT -w 10
# # [OUTPUT] [2024-11-30T23:46:32]
# # [INFO] [2024-11-30T23:46:32] Task Run Time omdetect 19.1040439605713s
#
# [COMMAND] [2024-11-30T23:46:32]
export SAS_MEMORY_MODEL=high
# [COMMAND] [2024-11-30T23:46:32]
export SAS_RAND_SEED=0305240301
# # [INFO] [2024-11-30T23:46:32] ## DEBUG ModuleResources: SAS_RAND_SEED set: 0305240301
# [COMMAND] [2024-11-30T23:46:32]
omqualitymap mode=setqualityimage outset=product/P0305240301OMS007IMAGE_1000.FIT set=product/P0305240301OMS007IMAGE_1000.FIT \
srclistset=product/P0305240301OMS007SWSRLI1000.FIT -w 10
# # [OUTPUT] [2024-11-30T23:46:32] ** omqualitymap: warning (parameter), srclistset = product/P0305240301OMS007SWSRLI1000.FIT; 
# ** omqualitymap: warning (overwrite), The file product/P0305240301OMS007IMAGE_1000.FIT will be overwritten
# ** omqualitymap: warning (parameter), srclistset = product/P0305240301OMS007SWSRLI1000.FIT; 
# # [INFO] [2024-11-30T23:46:32] Task Run Time omqualitymap 0.0818009376525879s
#
# [COMMAND] [2024-11-30T23:46:32]
export SAS_MEMORY_MODEL=high
# [COMMAND] [2024-11-30T23:46:32]
export SAS_RAND_SEED=0305240301
# # [INFO] [2024-11-30T23:46:32] ## DEBUG ModuleResources: SAS_RAND_SEED set: 0305240301
# [COMMAND] [2024-11-30T23:46:32]
ommag set=product/P0305240301OMS007SWSRLI1000.FIT -w 10
# # [OUTPUT] [2024-11-30T23:46:32]
# TDP corr factor is: 1.14899123 
# L265 tdpCorrFactor= 1.14899123 
# L348 getting the column data
# In: 331.296936 332.942688 1 745
# X,Y,pdepcorr: 1076.29688 977.942688 1.00000000 
# In: 543.630371 214.429596 1 745
# X,Y,pdepcorr: 1288.63037 859.429565 1.00000000 
# In: 284.156769 154.930359 1 745
# X,Y,pdepcorr: 1029.15674 799.930359 1.00000000 
# In: 476.103485 383.816986 1 745
# X,Y,pdepcorr: 1221.10352 1028.81702 1.00000000 
# # [INFO] [2024-11-30T23:46:32] Task Run Time ommag 0.042180061340332s
#
# [COMMAND] [2024-11-30T23:46:32]
export SAS_MEMORY_MODEL=high
# [COMMAND] [2024-11-30T23:46:32]
export SAS_RAND_SEED=0305240301
# # [INFO] [2024-11-30T23:46:32] ## DEBUG ModuleResources: SAS_RAND_SEED set: 0305240301
# [COMMAND] [2024-11-30T23:46:32]
omatt catfile=product/P0305240301OBX000REFCAT0000.FIT ppsoswset=product/P0305240301OMS007SIMAGE1000.FIT \
set=product/P0305240301OMS007IMAGE_1000.FIT sourcelistset=product/P0305240301OMS007SWSRLI1000.FIT usecat=Y -w 10
# # [OUTPUT] [2024-11-30T23:46:38] ** omatt: warning (Too few sources for astrometry (4)), Need at least 5 
# # [INFO] [2024-11-30T23:46:38] Task Run Time omatt 5.54473280906677s
#
# [COMMAND] [2024-11-30T23:46:38]
export \
PFILES=/scratch/225829.1.all.q/xmm/ppsprod/228974/pfiles;/lhome/pcms/local/rhel8.6/GNU_CC_CXX_11.3.0/headas/architecture/syspfiles
# [COMMAND] [2024-11-30T23:46:38]
export SAS_MEMORY_MODEL=high
# [COMMAND] [2024-11-30T23:46:38]
export SAS_RAND_SEED=0305240301
# # [INFO] [2024-11-30T23:46:38] ## DEBUG ModuleResources: SAS_RAND_SEED set: 0305240301
# [COMMAND] [2024-11-30T23:46:38]
fimgstat clobber=Y infile=product/P0305240301OMS007SIMAGE1000.FIT max=0 mean=0 min=0 mode=ql num=0 \
outfile=intermediate/OMImageAnalyse-om-2-OSW_1_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:46:38]
# ****** successfully exited ******
# # [INFO] [2024-11-30T23:46:38] Task Run Time fimgstat 0.0452919006347656s
#
# # [INFO] [2024-11-30T23:46:38] DEBUG - doCommand fullcmd : implot.py --fitsImage=product/P0305240301OMS007SIMAGE1000.FIT\
#     --outfile=product/P0305240301OMS007SIMAGE1000.PNG
# [COMMAND] [2024-11-30T23:46:38]
export SAS_MEMORY_MODEL=high
# [COMMAND] [2024-11-30T23:46:38]
export SAS_RAND_SEED=0305240301
# # [INFO] [2024-11-30T23:46:38] ## DEBUG ModuleResources: SAS_RAND_SEED set: 0305240301
# [COMMAND] [2024-11-30T23:46:38]
implot.py --fitsImage=product/P0305240301OMS007SIMAGE1000.FIT --outfile=product/P0305240301OMS007SIMAGE1000.PNG
# # [OUTPUT] [2024-11-30T23:46:41] Image shape. y,x: (804, 813) figsize: [8.5, 6.8]
# Cropped image shape. y,x: (803, 812) x/y ratio: 1.01 
# # [INFO] [2024-11-30T23:46:41] Task Run Time implot.py 2.61833786964417s
#
# # [INFO] [2024-11-30T23:46:41] Processing RUDI5_LR Images.
# # [INFO] [2024-11-30T23:46:41] 0 images to process.
# # [INFO] [2024-11-30T23:46:41] Processing RUDI5_HR Images.
# # [INFO] [2024-11-30T23:46:41] 0 images to process.
# # [INFO] [2024-11-30T23:46:41] Processing PFENG2 Images.
# # [INFO] [2024-11-30T23:46:41] 0 images to process.
# # [INFO] [2024-11-30T23:46:41] Processing FFENG2 Images.
# # [INFO] [2024-11-30T23:46:41] 0 images to process.
# # [INFO] [2024-11-30T23:46:41] Processing ENG4 Images.
# # [INFO] [2024-11-30T23:46:41] 0 images to process.
# # [INFO] [2024-11-30T23:46:41] All images processed
# # [INFO] [2024-11-30T23:46:41] Writing accounting information
# # [INFO] [2024-11-30T23:46:41] DEBUG: sourcedetails array: $VAR1 = [
# 'product/P0305240301OMS007SWSRLI1000.FIT|USER|S '
# ]; 
# # [INFO] [2024-11-30T23:46:41] DEBUG: skyimagedetails array: $VAR1 = [
# 'product/P0305240301OMS007SIMAGE1000.FIT|USER|S|4.30000000000000E+03|S007 '
# ]; 
# # [INFO] [2024-11-30T23:46:41] Module name: OMMosaic
# # [INFO] [2024-11-30T23:46:41] Instrument: om
# # [INFO] [2024-11-30T23:46:41] Stream no.: 0001
# # [INFO] [2024-11-30T23:46:41] Module version number: 2.39
# # [INFO] [2024-11-30T23:46:41] Looking For Images to Mosaic...
# # [INFO] [2024-11-30T23:46:41] Running addtomosaic.py on\
#     intermediate/OMImageAnalyse-om-1-OM_SKY_IMAGE_DETAILS-S00600000000000.ascii
# # [INFO] [2024-11-30T23:46:41] DEBUG - doCommand fullcmd : addtomosaic.py\
#     --file=intermediate/OMImageAnalyse-om-1-OM_SKY_IMAGE_DETAILS-S00600000000000.ascii
# [COMMAND] [2024-11-30T23:46:41]
export SAS_MEMORY_MODEL=high
# [COMMAND] [2024-11-30T23:46:41]
export SAS_RAND_SEED=0305240301
# # [INFO] [2024-11-30T23:46:41] ## DEBUG ModuleResources: SAS_RAND_SEED set: 0305240301
# [COMMAND] [2024-11-30T23:46:41]
addtomosaic.py --file=intermediate/OMImageAnalyse-om-1-OM_SKY_IMAGE_DETAILS-S00600000000000.ascii
# # [OUTPUT] [2024-11-30T23:46:42] intermediate/OMImageAnalyse-om-1-OM_SKY_IMAGE_DETAILS-S00600000000000.ascii
# ['product/P0305240301OMS006SIMAGE1000.FIT|USER|S|4.30000000000000E+03|S006|1\n'] 
# # [INFO] [2024-11-30T23:46:42] Task Run Time addtomosaic.py 0.822798013687134s
#
# # [INFO] [2024-11-30T23:46:42] Running addtomosaic.py on\
#     intermediate/OMImageAnalyse-om-2-OM_SKY_IMAGE_DETAILS-S00700000000000.ascii
# # [INFO] [2024-11-30T23:46:42] DEBUG - doCommand fullcmd : addtomosaic.py\
#     --file=intermediate/OMImageAnalyse-om-2-OM_SKY_IMAGE_DETAILS-S00700000000000.ascii
# [COMMAND] [2024-11-30T23:46:42]
export SAS_MEMORY_MODEL=high
# [COMMAND] [2024-11-30T23:46:42]
export SAS_RAND_SEED=0305240301
# # [INFO] [2024-11-30T23:46:42] ## DEBUG ModuleResources: SAS_RAND_SEED set: 0305240301
# [COMMAND] [2024-11-30T23:46:42]
addtomosaic.py --file=intermediate/OMImageAnalyse-om-2-OM_SKY_IMAGE_DETAILS-S00700000000000.ascii
# # [OUTPUT] [2024-11-30T23:46:43] intermediate/OMImageAnalyse-om-2-OM_SKY_IMAGE_DETAILS-S00700000000000.ascii
# ['product/P0305240301OMS007SIMAGE1000.FIT|USER|S|4.30000000000000E+03|S007|1\n'] 
# # [INFO] [2024-11-30T23:46:43] Task Run Time addtomosaic.py 0.969194889068604s
#
# # [INFO] [2024-11-30T23:46:43] Found 2 Images
# # [INFO] [2024-11-30T23:46:43] Grouping Images by Mode then Filter
# # [INFO] [2024-11-30T23:46:43] Mode: ALL
# # [INFO] [2024-11-30T23:46:43] Filter: S
# # [INFO] [2024-11-30T23:46:43] Image File : product/P0305240301OMS006SIMAGE1000.FIT
# # [INFO] [2024-11-30T23:46:43] Image File : product/P0305240301OMS007SIMAGE1000.FIT
# # [INFO] [2024-11-30T23:46:43] Creating Images...
# # [INFO] [2024-11-30T23:46:43] MODE: ALL
# # [INFO] [2024-11-30T23:46:43] FILTER: S
# # [INFO] [2024-11-30T23:46:43] CREATING: product/P0305240301OMX000XSIMAGS000.FIT, Duration: 8600
# [COMMAND] [2024-11-30T23:46:43]
export SAS_MEMORY_MODEL=high
# [COMMAND] [2024-11-30T23:46:43]
export SAS_RAND_SEED=0305240301
# # [INFO] [2024-11-30T23:46:43] ## DEBUG ModuleResources: SAS_RAND_SEED set: 0305240301
# [COMMAND] [2024-11-30T23:46:43]
ommosaic imagesets="product/P0305240301OMS006SIMAGE1000.FIT product/P0305240301OMS007SIMAGE1000.FIT" mincorr=0 \
mosaicedset=product/P0305240301OMX000XSIMAGS000.FIT -w 10
# # [OUTPUT] [2024-11-30T23:47:04] ** ommosaic: warning (noAstrometryCorrection), No sky images have had a successful astrometry\
#     correction
# L1109 c3 xLeft=274.137289 xRight=273.969822 
# 341.695 274.068 49.8633 
# # [INFO] [2024-11-30T23:47:04] Task Run Time ommosaic 21.3982789516449s
#
# [COMMAND] [2024-11-30T23:47:04]
export SAS_MEMORY_MODEL=high
# [COMMAND] [2024-11-30T23:47:04]
export SAS_RAND_SEED=0305240301
# # [INFO] [2024-11-30T23:47:04] ## DEBUG ModuleResources: SAS_RAND_SEED set: 0305240301
# [COMMAND] [2024-11-30T23:47:04]
omdetect backgroundmethod=1 detectextended=Y minsignificance=3 neighboursforpsfphotometry=1 nsigma=2 \
outset=product/P0305240301OMX000XSISWSS000.FIT psfphotometryenabled=N regionfile=product/P0305240301OMX000XSISWSS000.ASC \
set=product/P0305240301OMX000XSIMAGS000.FIT -w 10
# # [OUTPUT] [2024-11-30T23:47:23]
# # [INFO] [2024-11-30T23:47:23] Task Run Time omdetect 19.1731669902802s
#
# # [INFO] [2024-11-30T23:47:23] DEBUG - doCommand fullcmd : cleanommos.py --image=product/P0305240301OMX000XSIMAGS000.FIT\
#     --srcList=product/P0305240301OMX000XSISWSS000.FIT
# [COMMAND] [2024-11-30T23:47:23]
export SAS_MEMORY_MODEL=high
# [COMMAND] [2024-11-30T23:47:23]
export SAS_RAND_SEED=0305240301
# # [INFO] [2024-11-30T23:47:23] ## DEBUG ModuleResources: SAS_RAND_SEED set: 0305240301
# [COMMAND] [2024-11-30T23:47:23]
cleanommos.py --image=product/P0305240301OMX000XSIMAGS000.FIT --srcList=product/P0305240301OMX000XSISWSS000.FIT
# # [OUTPUT] [2024-11-30T23:47:25] Image file: product/P0305240301OMX000XSIMAGS000.FIT
# Nr. of sources in product/P0305240301OMX000XSISWSS000.FIT: 5
# 5 input sources ; 5 output sources 
# # [INFO] [2024-11-30T23:47:25] Task Run Time cleanommos.py 1.42499685287476s
#
# # [INFO] [2024-11-30T23:47:25] DEBUG: writing product/P0305240301OMX000XSISWSS000.FIT in file\
#     intermediate/OMMosaic-om-1-MOSAIC_SOURCE_LISTS-X00000000000000.ascii
# [COMMAND] [2024-11-30T23:47:25]
export SAS_MEMORY_MODEL=high
# [COMMAND] [2024-11-30T23:47:25]
export SAS_RAND_SEED=0305240301
# # [INFO] [2024-11-30T23:47:25] ## DEBUG ModuleResources: SAS_RAND_SEED set: 0305240301
# [COMMAND] [2024-11-30T23:47:25]
ommag set=product/P0305240301OMX000XSISWSS000.FIT -w 10
# # [OUTPUT] [2024-11-30T23:47:25]
# TDP corr factor is: 1.14898837 
# L265 tdpCorrFactor= 1.14898837 
# L348 getting the column data
# ra,dec,x,y: 274.05547029099426 49.867560332239712 1076.54529 978.070068 
# X,Y,pdepcorr: 1076.54529 978.070068 1.00000000 
# ra,dec,x,y: 274.01888418088163 49.888236669153720 1288.89392 859.705750 
# X,Y,pdepcorr: 1288.89392 859.705750 1.00000000 
# ra,dec,x,y: 274.02332981929607 49.854203950599796 1029.30469 800.700562 
# X,Y,pdepcorr: 1029.30469 800.700562 1.00000000 
# ra,dec,x,y: 274.07191537774503 49.899825048990671 1288.57446 1126.80066 
# X,Y,pdepcorr: 1288.57446 1126.80066 1.00000000 
# ra,dec,x,y: 274.05664716808570 49.887325222504039 1221.23596 1029.05005 
# X,Y,pdepcorr: 1221.23596 1029.05005 1.00000000 
# # [INFO] [2024-11-30T23:47:25] Task Run Time ommag 0.653500080108643s
#
# [COMMAND] [2024-11-30T23:47:25]
export SAS_MEMORY_MODEL=high
# [COMMAND] [2024-11-30T23:47:25]
export SAS_RAND_SEED=0305240301
# # [INFO] [2024-11-30T23:47:25] ## DEBUG ModuleResources: SAS_RAND_SEED set: 0305240301
# [COMMAND] [2024-11-30T23:47:25]
omqualitymap mode=usequalityimage outset=product/P0305240301OMX000XSISWSS000.FIT set=product/P0305240301OMX000XSIMAGS000.FIT \
srclistset=product/P0305240301OMX000XSISWSS000.FIT -w 10
# # [OUTPUT] [2024-11-30T23:47:25] ** omqualitymap: warning (parameter), srclistset = product/P0305240301OMX000XSISWSS000.FIT; 
# ** omqualitymap: warning (overwrite), The file product/P0305240301OMX000XSISWSS000.FIT will be overwritten 
# # [INFO] [2024-11-30T23:47:25] Task Run Time omqualitymap 0.063560962677002s
#
# # [INFO] [2024-11-30T23:47:25] DEBUG - doCommand fullcmd : implot.py --fitsImage=product/P0305240301OMX000XSIMAGS000.FIT\
#     --outfile=product/P0305240301OMX000XSIMAGS000.PNG
# [COMMAND] [2024-11-30T23:47:25]
export SAS_MEMORY_MODEL=high
# [COMMAND] [2024-11-30T23:47:25]
export SAS_RAND_SEED=0305240301
# # [INFO] [2024-11-30T23:47:25] ## DEBUG ModuleResources: SAS_RAND_SEED set: 0305240301
# [COMMAND] [2024-11-30T23:47:25]
implot.py --fitsImage=product/P0305240301OMX000XSIMAGS000.FIT --outfile=product/P0305240301OMX000XSIMAGS000.PNG
# # [OUTPUT] [2024-11-30T23:47:28] Image shape. y,x: (805, 817) figsize: [8.5, 6.8]
# Cropped image shape. y,x: (804, 816) x/y ratio: 1.01 
# # [INFO] [2024-11-30T23:47:28] Task Run Time implot.py 2.99606704711914s
#
# # [INFO] [2024-11-30T23:47:28] Done: ALL
# # [INFO] [2024-11-30T23:47:28] Module name: OMSourceCombine
# # [INFO] [2024-11-30T23:47:28] Instrument: om
# # [INFO] [2024-11-30T23:47:28] Stream no.: 0001
# # [INFO] [2024-11-30T23:47:28] Module version number: 3.9
# # [INFO] [2024-11-30T23:47:28] Looking For Source Lists to Combine...
# # [INFO] [2024-11-30T23:47:28] DEBUG: file: intermediate/OMImageAnalyse-om-1-OM_SRC_IMAGE_DETAILS-S00600000000000.ascii
# # [INFO] [2024-11-30T23:47:28] DEBUG: line product/P0305240301OMS006SWSRLI1000.FIT|USER|S
# # [INFO] [2024-11-30T23:47:28] DEBUG: split to tmp: $VAR1 = [
# 'product/P0305240301OMS006SWSRLI1000.FIT',
# 'USER',
# 'S'
# ]; 
# # [INFO] [2024-11-30T23:47:28] DEBUG: file: intermediate/OMImageAnalyse-om-2-OM_SRC_IMAGE_DETAILS-S00700000000000.ascii
# # [INFO] [2024-11-30T23:47:28] DEBUG: line product/P0305240301OMS007SWSRLI1000.FIT|USER|S
# # [INFO] [2024-11-30T23:47:28] DEBUG: split to tmp: $VAR1 = [
# 'product/P0305240301OMS007SWSRLI1000.FIT',
# 'USER',
# 'S'
# ]; 
# # [INFO] [2024-11-30T23:47:28] DEBUG: SrcLstDetails: $VAR1 = [
# [
# 'product/P0305240301OMS006SWSRLI1000.FIT',
# 'USER',
# 'S'
# ],
# [
# 'product/P0305240301OMS007SWSRLI1000.FIT',
# 'USER',
# 'S'
# ]
# ]; 
# # [INFO] [2024-11-30T23:47:28] Found 2 Lists
# # [INFO] [2024-11-30T23:47:28] Grouping Lists by Mode then Filter
# # [INFO] [2024-11-30T23:47:28] DEBUG: SortedSrcLstDetails: $VAR1 = [
# [
# 'product/P0305240301OMS006SWSRLI1000.FIT',
# 'USER',
# 'S'
# ],
# [
# 'product/P0305240301OMS007SWSRLI1000.FIT',
# 'USER',
# 'S'
# ]
# ]; 
# # [INFO] [2024-11-30T23:47:28] Mode: USER
# # [INFO] [2024-11-30T23:47:28] DEBUG: Src: ARRAY(0x4e97d68)
# # [INFO] [2024-11-30T23:47:28] DEBUG: mode_p: 1
# # [INFO] [2024-11-30T23:47:28] DEBUG: SSrc[modep]: USER
# # [INFO] [2024-11-30T23:47:28] DEBUG: SSrc[filterp]: S
# # [INFO] [2024-11-30T23:47:28] Filter: S
# # [INFO] [2024-11-30T23:47:28] Image File : product/P0305240301OMS006SWSRLI1000.FIT
# # [INFO] [2024-11-30T23:47:28] Image File : product/P0305240301OMS007SWSRLI1000.FIT
# # [INFO] [2024-11-30T23:47:28] Creating Combined Lists...
# # [INFO] [2024-11-30T23:47:28] MODE: USER
# # [INFO] [2024-11-30T23:47:28] FILTER: S
# # [INFO] [2024-11-30T23:47:28] Done: USER
# # [INFO] [2024-11-30T23:47:28] CREATING: product/P0305240301OMX000OBSMLI0000.FIT
# [COMMAND] [2024-11-30T23:47:28]
export SAS_MEMORY_MODEL=high
# [COMMAND] [2024-11-30T23:47:28]
export SAS_RAND_SEED=0305240301
# # [INFO] [2024-11-30T23:47:28] ## DEBUG ModuleResources: SAS_RAND_SEED set: 0305240301
# [COMMAND] [2024-11-30T23:47:28]
omsrclistcomb catfile=product/P0305240301OBX000REFCAT0000.FIT outset=product/P0305240301OMX000OBSMLI0000.FIT \
sourcelistsets="product/P0305240301OMS006SWSRLI1000.FIT product/P0305240301OMS007SWSRLI1000.FIT" usecat=Y -w 10
# # [OUTPUT] [2024-11-30T23:47:29]
# # [INFO] [2024-11-30T23:47:29] Task Run Time omsrclistcomb 0.859528064727783s
#
# # [INFO] [2024-11-30T23:47:29] reading file intermediate/OMMosaic-om-1-MOSAIC_SOURCE_LISTS-X00000000000000.ascii
# # [INFO] [2024-11-30T23:47:29] CREATING: product/P0305240301OMX000OBSMOS0000.FIT
# [COMMAND] [2024-11-30T23:47:29]
export SAS_MEMORY_MODEL=high
# [COMMAND] [2024-11-30T23:47:29]
export SAS_RAND_SEED=0305240301
# # [INFO] [2024-11-30T23:47:29] ## DEBUG ModuleResources: SAS_RAND_SEED set: 0305240301
# [COMMAND] [2024-11-30T23:47:29]
omsrclistcomb catfile=product/P0305240301OBX000REFCAT0000.FIT outset=product/P0305240301OMX000OBSMOS0000.FIT \
sourcelistsets=product/P0305240301OMX000XSISWSS000.FIT usecat=Y -w 10
# # [OUTPUT] [2024-11-30T23:47:30]
# # [INFO] [2024-11-30T23:47:30] Task Run Time omsrclistcomb 0.784921884536743s
#
# [COMMAND] [2024-11-30T23:47:30]
export SAS_MEMORY_MODEL=high
# [COMMAND] [2024-11-30T23:47:30]
export SAS_RAND_SEED=0305240301
# # [INFO] [2024-11-30T23:47:30] ## DEBUG ModuleResources: SAS_RAND_SEED set: 0305240301
# [COMMAND] [2024-11-30T23:47:30]
ommergelists maxrawrate=5 outset=intermediate/OMSourceCombine-om-1-final_merged_list-X00000000000000.fits \
srclist1=product/P0305240301OMX000OBSMLI0000.FIT srclist2=product/P0305240301OMX000OBSMOS0000.FIT tolerance=2 -w 10
# # [OUTPUT] [2024-11-30T23:47:30]
# # [INFO] [2024-11-30T23:47:30] Task Run Time ommergelists 0.0872578620910645s
#
# # [INFO] [2024-11-30T23:47:30] DEBUG Copy intermediate/OMSourceCombine-om-1-final_merged_list-X00000000000000.fits to\
#     product/P0305240301OMX000OBSMLI0000.FIT
# [COMMAND] [2024-11-30T23:47:30]
cp /scratch/225829.1.all.q/xmm/ppsprod/228974/intermediate/OMSourceCombine-om-1-final_merged_list-X00000000000000.fits \
/scratch/225829.1.all.q/xmm/ppsprod/228974/product/P0305240301OMX000OBSMLI0000.FIT
# # [INFO] [2024-11-30T23:47:30] System RV 0
# [COMMAND] [2024-11-30T23:47:30]
export SAS_MEMORY_MODEL=high
# [COMMAND] [2024-11-30T23:47:30]
export SAS_RAND_SEED=0305240301
# # [INFO] [2024-11-30T23:47:30] ## DEBUG ModuleResources: SAS_RAND_SEED set: 0305240301
# [COMMAND] [2024-11-30T23:47:30]
omregion bkginner=1.2 bkgouter=1.8 nfwhm=3 set=intermediate/OMSourceCombine-om-1-final_merged_list-X00000000000000.fits \
srcfile=product/P0305240301OMX000OBSMLI0000.ASC srcnumber=1 srcradius=3 -w 10
# # [OUTPUT] [2024-11-30T23:47:30]
# # [INFO] [2024-11-30T23:47:30] Task Run Time omregion 0.110760927200317s
#
