
#!/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:13:47] Module name: VerifyODF
# # [INFO] [2024-11-30T23:13:47] Instrument: all
# # [INFO] [2024-11-30T23:13:47] Stream no.: 0001
# # [INFO] [2024-11-30T23:13:47] Module version number: 1.18
# # [INFO] [2024-11-30T23:13:47] Version of odfingest used was 3.33.1
# # [INFO] [2024-11-30T23:13:47] Module name: MakeCIF
# # [INFO] [2024-11-30T23:13:47] Instrument: all
# # [INFO] [2024-11-30T23:13:47] Stream no.: 0001
# # [INFO] [2024-11-30T23:13:47] Module version number: 1.23
# # [INFO] [2024-11-30T23:13:47] Observation start defined as >2017-05-02T08:56:24.000<
# # [INFO] [2024-11-30T23:13:47] Processing date defined as >2024-12-01T00:13:47<
# [COMMAND] [2024-11-30T23:13:47]
export SAS_MEMORY_MODEL=high
# [COMMAND] [2024-11-30T23:13:47]
export SAS_RAND_SEED=0804640201
# # [INFO] [2024-11-30T23:13:47] ## DEBUG ModuleResources: SAS_RAND_SEED set: 0804640201
# [COMMAND] [2024-11-30T23:13:47]
cifbuild analysisdate=2024-12-01T00:13:47 calindexset=product/P0804640201OBX000CALIND0000.FIT fullpath=no \
observationdate=2017-05-02T08:56:24.000 withccfpath=no -w 10
# # [OUTPUT] [2024-11-30T23:14:14]
# # [INFO] [2024-11-30T23:14:14] Task Run Time cifbuild 27.0524518489838s
#
# [COMMAND] [2024-11-30T23:14:14]
export SAS_MEMORY_MODEL=high
# [COMMAND] [2024-11-30T23:14:14]
export SAS_RAND_SEED=0804640201
# # [INFO] [2024-11-30T23:14:14] ## DEBUG ModuleResources: SAS_RAND_SEED set: 0804640201
# [COMMAND] [2024-11-30T23:14:14]
addattribute attributecomment="\"Telescope (mission) name\" \"Date observations ended\" \"Name of observed object\" \"DEC of \
instrument pointing\" \"Observation mode (pointing or slew)\" \"Name of PI\" \"Observation identifier\" \"RA of instrument pointing \
(degrees)\" \"Date observations were made\"" attributename="TELESCOP DATE-END OBJECT DEC_PNT OBS_MODE OBSERVER OBS_ID RA_PNT \
DATE-OBS" attributetype="string string string real string string string real string" realvalue="\"10.9457777\" \"288.7981245\"" \
set=product/P0804640201OBX000CALIND0000.FIT stringvalue="\"XMM\" \"2017-05-02T09:30:59.000\" \"GRS 1915+105\" \"POINTED\" \"Mr \
Federico Maria Vincentelli\" \"0804640201\" \"2017-05-02T08:56:24.000\"" -w 10
# # [OUTPUT] [2024-11-30T23:14:14]
# # [INFO] [2024-11-30T23:14:14] Task Run Time addattribute 0.0455300807952881s
#
# [COMMAND] [2024-11-30T23:14:14]
cp /scratch/225245.1.all.q/xmm/ppsprod/228392/product/P0804640201OBX000CALIND0000.FIT \
/scratch/225245.1.all.q/xmm/ppsprod/228392/intermediate/ccf.cif
# # [INFO] [2024-11-30T23:14:14] System RV 0
# # [INFO] [2024-11-30T23:14:14] Module name: GlobalHK
# # [INFO] [2024-11-30T23:14:14] Instrument: all
# # [INFO] [2024-11-30T23:14:14] Stream no.: 0001
# # [INFO] [2024-11-30T23:14:14] Module version number: 1.81
# [COMMAND] [2024-11-30T23:14:14]
export SAS_MEMORY_MODEL=high
# [COMMAND] [2024-11-30T23:14:14]
export SAS_RAND_SEED=0804640201
# # [INFO] [2024-11-30T23:14:14] ## DEBUG ModuleResources: SAS_RAND_SEED set: 0804640201
# [COMMAND] [2024-11-30T23:14:14]
preqgti preqgtifile=intermediate/GlobalHK-all-1-Attitude_GTI-X00000000000000.fits -w 10
# # [OUTPUT] [2024-11-30T23:14:15] ** preqgti::atthkgen: warning (NoAttitude), The attitude was requested for time 610099679.184\
#     which is more than 20 s outside the period for which the attitude is known (closest time is -21 s away).
# ** preqgti::atthkgen: warning (NoAttitude), The attitude was requested for time 610099679.184 which is more than 20 s outside the\
#     period for which the attitude is known (closest time is -21 s away).
# ** preqgti::atthkgen: warning (NoAttitude), The attitude was requested for time 610099680.184 which is more than 20 s outside the\
#     period for which the attitude is known (closest time is -21 s away).
# ** preqgti::atthkgen: warning (NoAttitude), The attitude was requested for time 610099680.184 which is more than 20 s outside the\
#     period for which the attitude is known (closest time is -21 s away).
# ** preqgti::atthkgen: warning (NoAttitude), The attitude was requested for time 610099681.184 which is more than 20 s outside the\
#     period for which the attitude is known (closest time is -21 s away).
# ** preqgti::atthkgen: warning (NoAttitude), The attitude was requested for time 610099681.184 which is more than 20 s outside the\
#     period for which the attitude is known (closest time is -21 s away).
# ** preqgti::atthkgen: warning (NoAttitude), The attitude was requested for time 610099682.184 which is more than 20 s outside the\
#     period for which the attitude is known (closest time is -21 s away).
# ** preqgti::atthkgen: warning (NoAttitude), The attitude was requested for time 610099682.184 which is more than 20 s outside the\
#     period for which the attitude is known (closest time is -21 s away). 
# # [INFO] [2024-11-30T23:14:15] Task Run Time preqgti 0.212587118148804s
#
# [COMMAND] [2024-11-30T23:14:15]
export SAS_MEMORY_MODEL=high
# [COMMAND] [2024-11-30T23:14:15]
export SAS_RAND_SEED=0804640201
# # [INFO] [2024-11-30T23:14:15] ## DEBUG ModuleResources: SAS_RAND_SEED set: 0804640201
# [COMMAND] [2024-11-30T23:14:15]
atthkgen atthkset=product/P0804640201OBX000ATTTSR0000.FIT preqgtifile=intermediate/GlobalHK-all-1-Attitude_GTI-X00000000000000.fits \
timestep=1 withpreqgti=no -w 10
# # [OUTPUT] [2024-11-30T23:14:15]
# # [INFO] [2024-11-30T23:14:15] Task Run Time atthkgen 0.148290872573853s
#
# [COMMAND] [2024-11-30T23:14:15]
export SAS_MEMORY_MODEL=high
# [COMMAND] [2024-11-30T23:14:15]
export SAS_RAND_SEED=0804640201
# # [INFO] [2024-11-30T23:14:15] ## DEBUG ModuleResources: SAS_RAND_SEED set: 0804640201
# [COMMAND] [2024-11-30T23:14:15]
orbit outfile=product/P0804640201OBX000ORBTSR0000.FIT timestep=1 useobsid=yes -w 10
# # [OUTPUT] [2024-11-30T23:14:15] orbit:- Output FITS Orbit timeseries: product/P0804640201OBX000ORBTSR0000.FIT
# orbit:- Binsize (timestep) of output): 1
# orbit:- Use OBSID data or whole orbit? T 
# # [INFO] [2024-11-30T23:14:15] Task Run Time orbit 0.16933012008667s
#
# [COMMAND] [2024-11-30T23:14:15]
export SAS_MEMORY_MODEL=high
# [COMMAND] [2024-11-30T23:14:15]
export SAS_RAND_SEED=0804640201
# # [INFO] [2024-11-30T23:14:15] ## DEBUG ModuleResources: SAS_RAND_SEED set: 0804640201
# [COMMAND] [2024-11-30T23:14:15]
radmonfix output=product/P0804640201OBX000RADMON0000.FIT radmonlist=odf/3186_0804640201_RMX00100ECX.FIT withoutputfile=yes -w 10
# # [OUTPUT] [2024-11-30T23:14:15] ** radmonfix: warning (Extrapolation), Evaluating OBT-MET fit polynomial at x=81382517.95 which\
#     is outside the time correlation data abscissa range [81383482.29, 81395054.32] - result of extrapolation might be afflicted\
#     with large numerical uncertainty.
# ** radmonfix: warning (Extrapolation), Evaluating OBT-MET fit polynomial at x=81382521.95 which is outside the time correlation\
#     data abscissa range [81383482.29, 81395054.32] - result of extrapolation might be afflicted with large numerical uncertainty.
# ** radmonfix: warning (Extrapolation), Evaluating OBT-MET fit polynomial at x=81382525.95 which is outside the time correlation\
#     data abscissa range [81383482.29, 81395054.32] - result of extrapolation might be afflicted with large numerical uncertainty.
# ** radmonfix: warning (Extrapolation), Evaluating OBT-MET fit polynomial at x=81382529.95 which is outside the time correlation\
#     data abscissa range [81383482.29, 81395054.32] - result of extrapolation might be afflicted with large numerical uncertainty.
# ** radmonfix: warning (Extrapolation), Evaluating OBT-MET fit polynomial at x=81382533.95 which is outside the time correlation\
#     data abscissa range [81383482.29, 81395054.32] - result of extrapolation might be afflicted with large numerical uncertainty.
# ** radmonfix: warning (Extrapolation), Evaluating OBT-MET fit polynomial at x=81382537.95 which is outside the time correlation\
#     data abscissa range [81383482.29, 81395054.32] - result of extrapolation might be afflicted with large numerical uncertainty.
# ** radmonfix: warning (Extrapolation), Evaluating OBT-MET fit polynomial at x=81382541.95 which is outside the time correlation\
#     data abscissa range [81383482.29, 81395054.32] - result of extrapolation might be afflicted with large numerical uncertainty.
# ** radmonfix: warning (Extrapolation), Evaluating OBT-MET fit polynomial at x=81382545.95 which is outside the time correlation\
#     data abscissa range [81383482.29, 81395054.32] - result of extrapolation might be afflicted with large numerical uncertainty.
# ** radmonfix: warning (Extrapolation), Evaluating OBT-MET fit polynomial at x=81382549.95 which is outside the time correlation\
#     data abscissa range [81383482.29, 81395054.32] - result of extrapolation might be afflicted with large numerical uncertainty.
# ** radmonfix: warning (Extrapolation), Evaluating OBT-MET fit polynomial at x=81382553.95 which is outside the time correlation\
#     data abscissa range [81383482.29, 81395054.32] - result of extrapolation might be afflicted with large numerical uncertainty.
# radmonfix:- Setting DATE-END...
# ** radmonfix: warning (SummaryOfWarnings), 
# warning Extrapolation silently occurred 247 times 
# # [INFO] [2024-11-30T23:14:15] Task Run Time radmonfix 0.0923089981079102s
#
# [COMMAND] [2024-11-30T23:14:15]
cp /lhome/jperea/ppsdev/pcms3/src/pipeline/etc/EPICModes.fits \
/scratch/225245.1.all.q/xmm/ppsprod/228392/intermediate/GlobalHK-all-1-Observing_modes_Pileup_and_OoT_data-X00000000000000.fits
# # [INFO] [2024-11-30T23:14:15] System RV 0
# # [INFO] [2024-11-30T23:14:15] Copied EPIC Observing modes table, Pileup data and OoT data table in place
# [COMMAND] [2024-11-30T23:14:15]
cp /lhome/jperea/ppsdev/pcms3/src/pipeline/etc/ecfs.fits \
/scratch/225245.1.all.q/xmm/ppsprod/228392/intermediate/GlobalHK-all-1-Energy_Conversion_Factors-X00000000000000.fits
# # [INFO] [2024-11-30T23:14:15] System RV 0
# [COMMAND] [2024-11-30T23:14:15]
cp /lhome/jperea/ppsdev/pcms3/src/pipeline/etc/ecfgrid.fits.gz \
/scratch/225245.1.all.q/xmm/ppsprod/228392/intermediate/GlobalHK-all-1-Energy_Conversion_Factors_Grid-X00000000000000.fits
# # [INFO] [2024-11-30T23:14:15] System RV 0
# [COMMAND] [2024-11-30T23:14:15]
cp /lhome/jperea/ppsdev/pcms3/src/pipeline/etc/fluxgrid.fits.gz \
/scratch/225245.1.all.q/xmm/ppsprod/228392/intermediate/GlobalHK-all-1-Flux_Grid-X00000000000000.fits
# # [INFO] [2024-11-30T23:14:15] System RV 0
# # [INFO] [2024-11-30T23:14:15] Module name: ExpChooser
# # [INFO] [2024-11-30T23:14:15] Instrument: epn
# # [INFO] [2024-11-30T23:14:15] Stream no.: 0001
# # [INFO] [2024-11-30T23:14:15] Module version number: 1.38
# # [INFO] [2024-11-30T23:14:15] Checking exposure U002 for processability
# # [INFO] [2024-11-30T23:14:15] Filter: Thick
# # [INFO] [2024-11-30T23:14:15] Instrument mode: FastBurst
# # [INFO] [2024-11-30T23:14:15] Exposure duration: 2043
# # [INFO] [2024-11-30T23:14:15] Module name: ExpChooser
# # [INFO] [2024-11-30T23:14:15] Instrument: epn
# # [INFO] [2024-11-30T23:14:15] Stream no.: 0002
# # [INFO] [2024-11-30T23:14:15] Module version number: 1.38
# # [INFO] [2024-11-30T23:14:15] Checking exposure U201 for processability
# # [INFO] [2024-11-30T23:14:15] Exposure ignored due to lack of event files
# # [INFO] [2024-11-30T23:14:15] Module name: InstrumentHK
# # [INFO] [2024-11-30T23:14:15] Instrument: epn
# # [INFO] [2024-11-30T23:14:15] Stream no.: 0001
# # [INFO] [2024-11-30T23:14:15] Module version number: 2.01
# [COMMAND] [2024-11-30T23:14:15]
export SAS_MEMORY_MODEL=high
# [COMMAND] [2024-11-30T23:14:15]
export SAS_RAND_SEED=0804640201
# # [INFO] [2024-11-30T23:14:15] ## DEBUG ModuleResources: SAS_RAND_SEED set: 0804640201
# [COMMAND] [2024-11-30T23:14:15]
hkgtigen gtiset=intermediate/InstrumentHK-epn-1-HK_GTI-X00000000000000.fits instrument=epn withgtiset=yes -w 10
# # [OUTPUT] [2024-11-30T23:14:15]
# # [INFO] [2024-11-30T23:14:15] Task Run Time hkgtigen 0.194133996963501s
#
# # [INFO] [2024-11-30T23:14:15] Module name: USNOExtract
# # [INFO] [2024-11-30T23:14:15] Instrument: all
# # [INFO] [2024-11-30T23:14:15] Stream no.: 0001
# # [INFO] [2024-11-30T23:14:15] Module version number: 0.07
# [COMMAND] [2024-11-30T23:14:15]
export \
PFILES=/scratch/225245.1.all.q/xmm/ppsprod/228392/pfiles;/lhome/pcms/local/rhel8.6/GNU_CC_CXX_11.3.0/headas/architecture/syspfiles
# [COMMAND] [2024-11-30T23:14:15]
export SAS_MEMORY_MODEL=high
# [COMMAND] [2024-11-30T23:14:15]
export SAS_RAND_SEED=0804640201
# # [INFO] [2024-11-30T23:14:15] ## DEBUG ModuleResources: SAS_RAND_SEED set: 0804640201
# [COMMAND] [2024-11-30T23:14:15]
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:14:15] Written the output image ......... 
# # [INFO] [2024-11-30T23:14:15] Task Run Time fimgcreate 0.0679190158843994s
#
# [COMMAND] [2024-11-30T23:14:15]
export SAS_MEMORY_MODEL=high
# [COMMAND] [2024-11-30T23:14:15]
export SAS_RAND_SEED=0804640201
# # [INFO] [2024-11-30T23:14:15] ## DEBUG ModuleResources: SAS_RAND_SEED set: 0804640201
# [COMMAND] [2024-11-30T23:14:15]
catprep catextract=intermediate/USNOExtract-all-1-Reference_catalogue-X00000000000000.fits \
srclistset=product/P0804640201OBX000CALIND0000.FIT -w 10
# # [OUTPUT] [2024-11-30T23:14:15]
# # [INFO] [2024-11-30T23:14:15] Task Run Time catprep 0.124429941177368s
#
# [COMMAND] [2024-11-30T23:14:15]
cp /scratch/225245.1.all.q/xmm/ppsprod/228392/intermediate/USNOExtract-all-1-Reference_catalogue-X00000000000000.fits \
/scratch/225245.1.all.q/xmm/ppsprod/228392/product/P0804640201OBX000REFCAT0000.FIT
# # [INFO] [2024-11-30T23:14:15] System RV 0
# # [INFO] [2024-11-30T23:14:15] Reading keyword RA_OBJ value 2.88798124500000E+02 comment [deg] Ra of the observed object
# # [INFO] [2024-11-30T23:14:15] Reading keyword OBS_ID value 0804640201 comment Observation identifier
# # [INFO] [2024-11-30T23:14:15] Reading keyword DATE-END value 2017-05-02T09:30:59.000 comment Date observations ended
# # [INFO] [2024-11-30T23:14:15] Reading keyword TELESCOP value XMM comment Telescope (mission) name
# # [INFO] [2024-11-30T23:14:15] Reading keyword DEC_OBJ value 1.09457777000000E+01 comment [deg] Dec of the observed object
# # [INFO] [2024-11-30T23:14:15] Reading keyword DATE-OBS value 2017-05-02T08:56:24.000 comment Date observations were made
# # [INFO] [2024-11-30T23:14:15] Reading keyword OBS_MODE value POINTING comment Observation mode (pointing or slew)
# [COMMAND] [2024-11-30T23:14:15]
export SAS_MEMORY_MODEL=high
# [COMMAND] [2024-11-30T23:14:15]
export SAS_RAND_SEED=0804640201
# # [INFO] [2024-11-30T23:14:15] ## DEBUG ModuleResources: SAS_RAND_SEED set: 0804640201
# [COMMAND] [2024-11-30T23:14:15]
addattribute attributecomment="\"[deg] Ra of the observed object\" \"Observation identifier\" \"Date observations ended\" \
\"Telescope (mission) name\" \"[deg] Dec of the observed object\" \"Date observations were made\" \"Observation mode (pointing or \
slew)\"" attributename="RA_OBJ OBS_ID DATE-END TELESCOP DEC_OBJ DATE-OBS OBS_MODE" attributetype="\"real\" \"string\" \"string\" \
\"string\" \"real\" \"string\" \"string\"" realvalue="2.88798124500000E+02 1.09457777000000E+01" \
set=product/P0804640201OBX000REFCAT0000.FIT stringvalue="0804640201 2017-05-02T09:30:59.000 XMM 2017-05-02T08:56:24.000 POINTING" -w \
10
# # [OUTPUT] [2024-11-30T23:14:16] ** addattribute: warning (creatorKeywordNotFound), The CREATOR keyword could not be found in\
#     dataset with name 'product/P0804640201OBX000REFCAT0000.FIT'
# ** addattribute: warning (dateKeywordNotFound), The DATE keyword could not be found in dataset with name\
#     'product/P0804640201OBX000REFCAT0000.FIT' 
# # [INFO] [2024-11-30T23:14:16] Task Run Time addattribute 0.0546500682830811s
#
# # [INFO] [2024-11-30T23:14:16] Module name: pnEvents
# # [INFO] [2024-11-30T23:14:16] Instrument: epn
# # [INFO] [2024-11-30T23:14:16] Stream no.: 0001
# # [INFO] [2024-11-30T23:14:16] Module version number: 2.74
# # [INFO] [2024-11-30T23:14:16] Exposure ID: U002
# # [INFO] [2024-11-30T23:14:16] Filter: Thick
# # [INFO] [2024-11-30T23:14:16] Instrument mode: FastBurst
# # [INFO] [2024-11-30T23:14:16] No counting cycle report found. Setting mingtisize=0
# [COMMAND] [2024-11-30T23:14:16]
export SAS_MEMORY_MODEL=high
# [COMMAND] [2024-11-30T23:14:16]
export SAS_RAND_SEED=0804640201
# # [INFO] [2024-11-30T23:14:16] ## DEBUG ModuleResources: SAS_RAND_SEED set: 0804640201
# [COMMAND] [2024-11-30T23:14:16]
epframes eventset=intermediate/pnEvents-epn-1-Processed_events-U00204000100000.fits \
gtiset=intermediate/pnEvents-epn-1-CCD_GTI-U00204000100000.fits set=odf/3186_0804640201_PNU00204BUE.FIT withsrcrawy=no -w 10
# # [OUTPUT] [2024-11-30T23:14:16] epframes:- Offset map before current exposure PNU002 and CCD: 4 was found:\
#     3186_0804640201_PNU20104ODI.FIT
# epframes:- The following Offset data for exposure PNU002 and CCD: 4 was found: 3186_0804640201_PNU20104ODI.FIT
# epframes:- Offset map before current exposure PNU002 and CCD: 4 was found: 3186_0804640201_PNU20104ODI.FIT
# epframes:- The following Offset data for exposure PNU002 and CCD: 4 was found: 3186_0804640201_PNU20104ODI.FIT
# ** epframes: warning (InvalidObtValue), OBT vector element #21000 is invalid (-100)
# ** epframes: warning (BPTcode), BadPixelTable code differs in PAH.FITS [2_000_BAD] and ADUCONV.CCF [0_005_BAD]
# ** epframes: warning (OffsetMap), Filter during offset map calculation (Closed) different from observation (Thick) 
# # [INFO] [2024-11-30T23:14:16] Task Run Time epframes 0.8748939037323s
#
# # [INFO] [2024-11-30T23:14:16] OBT_WARN False
# [COMMAND] [2024-11-30T23:14:16]
export SAS_MEMORY_MODEL=high
# [COMMAND] [2024-11-30T23:14:16]
export SAS_RAND_SEED=0804640201
# # [INFO] [2024-11-30T23:14:16] ## DEBUG ModuleResources: SAS_RAND_SEED set: 0804640201
# [COMMAND] [2024-11-30T23:14:16]
badpixfind backgroundrate=0.00011 badpixmap=intermediate/pnEvents-epn-1-Bright_pixels_mask-U00204000000000.fits \
badpixset=intermediate/pnEvents-epn-1-Ignore_This_Bad_pixels-U00204000000000.fits \
eventset=intermediate/pnEvents-epn-1-Processed_events-U00204000100000.fits hicolthresh=0.00105 hienergythresh=15 hithresh=0.0045 \
loenergythresh=7 narrowerthanpsf=1.5 threshabovebackground=Y thresholdlabel=rate withbadpixmap=Y withfovmask=Y withsearchbadcolumn=Y \
-w 10
# # [OUTPUT] [2024-11-30T23:14:17] ** badpixfind: warning (lowExposure), Exposure time very low - spurious bad pixels may be found\
#     (low number statistics) 
# # [INFO] [2024-11-30T23:14:17] Task Run Time badpixfind 0.224390983581543s
#
# [COMMAND] [2024-11-30T23:14:17]
export SAS_MEMORY_MODEL=high
# [COMMAND] [2024-11-30T23:14:17]
export SAS_RAND_SEED=0804640201
# # [INFO] [2024-11-30T23:14:17] ## DEBUG ModuleResources: SAS_RAND_SEED set: 0804640201
# [COMMAND] [2024-11-30T23:14:17]
badpix emptyextension=Y eventset=intermediate/pnEvents-epn-1-Processed_events-U00204000100000.fits getotherbadpix=N getuplnkbadpix=N \
windowfilter=N -w 10
# # [OUTPUT] [2024-11-30T23:14:17]
# # [INFO] [2024-11-30T23:14:17] Task Run Time badpix 0.145882844924927s
#
# [COMMAND] [2024-11-30T23:14:17]
export SAS_MEMORY_MODEL=high
# [COMMAND] [2024-11-30T23:14:17]
export SAS_RAND_SEED=0804640201
# # [INFO] [2024-11-30T23:14:17] ## DEBUG ModuleResources: SAS_RAND_SEED set: 0804640201
# [COMMAND] [2024-11-30T23:14:17]
epreject eventset=intermediate/pnEvents-epn-1-Processed_events-U00204000100000.fits set=odf/3186_0804640201_PNU00204BUE.FIT sigma=4 \
withoffsetmap=Y withxrlcorrection=Y -w 10
# # [OUTPUT] [2024-11-30T23:14:17] epreject:- Offset map before current exposure PNU002 and CCD: 4 was found:\
#     3186_0804640201_PNU20104ODI.FIT
# epreject:- The following Offset data for exposure PNU002 and CCD: 4 was found: 3186_0804640201_PNU20104ODI.FIT
# epreject:- Offset map before current exposure PNU002 and CCD: 4 was found: 3186_0804640201_PNU20104ODI.FIT
# epreject:- The following Offset data for exposure PNU002 and CCD: 4 was found: 3186_0804640201_PNU20104ODI.FIT 
# # [INFO] [2024-11-30T23:14:17] Task Run Time epreject 0.219528913497925s
#
# # [INFO] [2024-11-30T23:14:17] DEBUG: Datamode BURST.EL found. epreject task appplied.
# # [INFO] [2024-11-30T23:14:17] Starting epevents....
# [COMMAND] [2024-11-30T23:14:17]
export SAS_MEMORY_MODEL=high
# [COMMAND] [2024-11-30T23:14:17]
export SAS_RAND_SEED=0804640201
# # [INFO] [2024-11-30T23:14:17] ## DEBUG ModuleResources: SAS_RAND_SEED set: 0804640201
# [COMMAND] [2024-11-30T23:14:17]
epevents backgroundtbin=100 backgroundtres=Y ctilongtermsoft=Y \
eventset=intermediate/pnEvents-epn-1-Processed_events-U00204000100000.fits gainctiaccuracy=2 \
outset=intermediate/pnEvents-epn-1-Processed_events-U00204000200000.fits randomizeenergy=Y randomizeposition=Y reemissionthresh=0 \
withbackgroundgain=Y withpatternoffset=Y withrdpha=N withtempcorrection=Y -w 10
# # [OUTPUT] [2024-11-30T23:14:19] ** epevents: warning (NoBCKgainCorrectionFound), Background gain correction called for NDISCLIN=0 
# # [INFO] [2024-11-30T23:14:19] Task Run Time epevents 1.46796011924744s
#
# # [INFO] [2024-11-30T23:14:19] Completed epevents....
# [COMMAND] [2024-11-30T23:14:19]
export SAS_MEMORY_MODEL=high
# [COMMAND] [2024-11-30T23:14:19]
export SAS_RAND_SEED=0804640201
# # [INFO] [2024-11-30T23:14:19] ## DEBUG ModuleResources: SAS_RAND_SEED set: 0804640201
# [COMMAND] [2024-11-30T23:14:19]
attcalc -w=10 atthkset=product/P0804640201OBX000ATTTSR0000.FIT attitudelabel=ahf \
eventset=intermediate/pnEvents-epn-1-Processed_events-U00204000200000.fits refpointlabel=pnt withmedianpnt=Y -w 10
# # [OUTPUT] [2024-11-30T23:14:20]
# # [INFO] [2024-11-30T23:14:20] Task Run Time attcalc 1.35677886009216s
#
# [COMMAND] [2024-11-30T23:14:20]
export SAS_MEMORY_MODEL=high
# [COMMAND] [2024-11-30T23:14:20]
export SAS_RAND_SEED=0804640201
# # [INFO] [2024-11-30T23:14:20] ## DEBUG ModuleResources: SAS_RAND_SEED set: 0804640201
# [COMMAND] [2024-11-30T23:14:20]
evselect destruct=Y expression="(FLAG & 0x0fa0000)==0 && PI>150" \
filteredset=intermediate/pnEvents-epn-1-Processed_events-U00204000300000.fits keepfilteroutput=Y \
table=intermediate/pnEvents-epn-1-Processed_events-U00204000200000.fits:EVENTS updateexposure=Y withfilteredset=Y writedss=Y -w 10
# # [OUTPUT] [2024-11-30T23:14:20]
# # [INFO] [2024-11-30T23:14:20] Task Run Time evselect 0.203380107879639s
#
# [COMMAND] [2024-11-30T23:14:20]
export SAS_MEMORY_MODEL=high
# [COMMAND] [2024-11-30T23:14:20]
export SAS_RAND_SEED=0804640201
# # [INFO] [2024-11-30T23:14:20] ## DEBUG ModuleResources: SAS_RAND_SEED set: 0804640201
# [COMMAND] [2024-11-30T23:14:20]
evlistcomb epntimcolnames="TIME RAWX RAWY DETX DETY X Y PHA PI FLAG PATTERN PAT_ID PAT_SEQ OFFSETX" epntimcoltypes="double int16 \
int16 int16 int16 int32 int32 int16 int16 int32 int8 int16 int8 int16" \
eventsets=intermediate/pnEvents-epn-1-Processed_events-U00204000300000.fits instrument=epn mainattributes="REJ_CORR PHA_RDCO" \
maintable="EVENTS OFFSETS" othertables="BADPIX EXPOSURE DLIMAP HKAUX" \
timingset=intermediate/pnEvents-epn-1-Merged_timing_events-U00200000000000.fits -w 10
# # [OUTPUT] [2024-11-30T23:14:20] ** evlistcomb: warning (sortFiles14),\
#     intermediate/pnEvents-epn-1-Merged_timing_events-U00200000000000.fits:OFFSETS is empty 
# # [INFO] [2024-11-30T23:14:20] Task Run Time evlistcomb 0.303668022155762s
#
# [COMMAND] [2024-11-30T23:14:20]
export SAS_MEMORY_MODEL=high
# [COMMAND] [2024-11-30T23:14:20]
export SAS_RAND_SEED=0804640201
# # [INFO] [2024-11-30T23:14:20] ## DEBUG ModuleResources: SAS_RAND_SEED set: 0804640201
# [COMMAND] [2024-11-30T23:14:20]
epexposure eventsets=intermediate/pnEvents-epn-1-Merged_timing_events-U00200000000000.fits randomizetime=Y screenexposure=Y \
spatialexposure=N -w 10
# # [OUTPUT] [2024-11-30T23:14:20] ** epexposure: warning (randomizeTime), randomization of TIME not yet enabled for FAST modes\
#     (TI,BU). 
# # [INFO] [2024-11-30T23:14:20] Task Run Time epexposure 0.097341775894165s
#
# # [INFO] [2024-11-30T23:14:20] Checking for extension EXPOSU01
# # [INFO] [2024-11-30T23:14:20] Checking for extension EXPOSU02
# # [INFO] [2024-11-30T23:14:20] Checking for extension EXPOSU03
# # [INFO] [2024-11-30T23:14:20] Checking for extension EXPOSU04
# # [INFO] [2024-11-30T23:14:20] Checking for extension EXPOSU05
# # [INFO] [2024-11-30T23:14:20] Checking for extension EXPOSU06
# # [INFO] [2024-11-30T23:14:20] Checking for extension EXPOSU07
# # [INFO] [2024-11-30T23:14:20] Checking for extension EXPOSU08
# # [INFO] [2024-11-30T23:14:20] Checking for extension EXPOSU09
# # [INFO] [2024-11-30T23:14:20] Checking for extension EXPOSU10
# # [INFO] [2024-11-30T23:14:20] Checking for extension EXPOSU11
# # [INFO] [2024-11-30T23:14:20] Checking for extension EXPOSU12
# [COMMAND] [2024-11-30T23:14:20]
export SAS_MEMORY_MODEL=high
# [COMMAND] [2024-11-30T23:14:20]
export SAS_RAND_SEED=0804640201
# # [INFO] [2024-11-30T23:14:20] ## DEBUG ModuleResources: SAS_RAND_SEED set: 0804640201
# [COMMAND] [2024-11-30T23:14:20]
gtialign eventset=intermediate/pnEvents-epn-1-Merged_timing_events-U00200000000000.fits \
gtitable=intermediate/InstrumentHK-epn-1-HK_GTI-X00000000000000.fits:STDGTI \
outset=intermediate/pnEvents-epn-1-Aligned_HK_GTIs-U00200000000000.fits -w 10
# # [OUTPUT] [2024-11-30T23:14:21] ** gtialign: warning (OutsideFrames), Frame times do not span all GTIs. GTI times outside of\
#     frame times are not modified. 
# # [INFO] [2024-11-30T23:14:21] Task Run Time gtialign 0.0847640037536621s
#
# [COMMAND] [2024-11-30T23:14:21]
export SAS_MEMORY_MODEL=high
# [COMMAND] [2024-11-30T23:14:21]
export SAS_RAND_SEED=0804640201
# # [INFO] [2024-11-30T23:14:21] ## DEBUG ModuleResources: SAS_RAND_SEED set: 0804640201
# [COMMAND] [2024-11-30T23:14:21]
gtimerge mergemode=and tables="intermediate/pnEvents-epn-1-CCD_GTI-U00204000100000.fits \
intermediate/pnEvents-epn-1-Aligned_HK_GTIs-U00200000000000.fits:STDGTI04" withgtitable=N -w 10
# # [OUTPUT] [2024-11-30T23:14:21]
# # [INFO] [2024-11-30T23:14:21] Task Run Time gtimerge 0.0578079223632812s
#
# [COMMAND] [2024-11-30T23:14:21]
export SAS_MEMORY_MODEL=high
# [COMMAND] [2024-11-30T23:14:21]
export SAS_RAND_SEED=0804640201
# # [INFO] [2024-11-30T23:14:21] ## DEBUG ModuleResources: SAS_RAND_SEED set: 0804640201
# [COMMAND] [2024-11-30T23:14:21]
evselect destruct=true expression="(CCDNR==4 && GTI(intermediate/pnEvents-epn-1-CCD_GTI-U00204000100000.fits,TIME))" \
filteredset=product/P0804640201PNU002TIEVLI0000.FIT keepfilteroutput=Y \
table=intermediate/pnEvents-epn-1-Merged_timing_events-U00200000000000.fits updateexposure=Y withfilteredset=Y writedss=Y -w 10
# # [OUTPUT] [2024-11-30T23:14:21]
# # [INFO] [2024-11-30T23:14:21] Task Run Time evselect 0.21636700630188s
#
# [COMMAND] [2024-11-30T23:14:21]
export SAS_MEMORY_MODEL=high
# [COMMAND] [2024-11-30T23:14:21]
export SAS_RAND_SEED=0804640201
# # [INFO] [2024-11-30T23:14:21] ## DEBUG ModuleResources: SAS_RAND_SEED set: 0804640201
# [COMMAND] [2024-11-30T23:14:21]
epfast evfile=product/P0804640201PNU002TIEVLI0000.FIT -w 10
# # [OUTPUT] [2024-11-30T23:14:21]
# # [INFO] [2024-11-30T23:14:21] Task Run Time epfast 0.376955032348633s
#
# [COMMAND] [2024-11-30T23:14:21]
export SAS_MEMORY_MODEL=high
# [COMMAND] [2024-11-30T23:14:21]
export SAS_RAND_SEED=0804640201
# # [INFO] [2024-11-30T23:14:21] ## DEBUG ModuleResources: SAS_RAND_SEED set: 0804640201
# [COMMAND] [2024-11-30T23:14:21]
dscopyblock blocks=product/P0804640201OBX000CALIND0000.FIT:CALINDEX to=product/P0804640201PNU002TIEVLI0000.FIT -w 10
# # [OUTPUT] [2024-11-30T23:14:21]
# # [INFO] [2024-11-30T23:14:21] Task Run Time dscopyblock 0.121985912322998s
#
# # [INFO] [2024-11-30T23:14:21] Module name: pnTimingProducts
# # [INFO] [2024-11-30T23:14:21] Instrument: epn
# # [INFO] [2024-11-30T23:14:21] Stream no.: 0001
# # [INFO] [2024-11-30T23:14:21] Module version number: 0.20
# # [INFO] [2024-11-30T23:14:21] Exposure ID: U002
# # [INFO] [2024-11-30T23:14:21] Filter: Thick
# # [INFO] [2024-11-30T23:14:21] Instrument mode: FastBurst
# [COMMAND] [2024-11-30T23:14:21]
export SAS_MEMORY_MODEL=high
# [COMMAND] [2024-11-30T23:14:21]
export SAS_RAND_SEED=0804640201
# # [INFO] [2024-11-30T23:14:21] ## DEBUG ModuleResources: SAS_RAND_SEED set: 0804640201
# [COMMAND] [2024-11-30T23:14:21]
evselect expression="(FLAG==0)&&(PATTERN<=4)&&(PI IN [500:7000])&&(RAWX in [1:63])" histogrambinsize=1 histogramcolumn=RAWX \
histogrammax=64 histogrammin=1 histogramset=intermediate/pnTimingProducts-epn-1-Column_histogram-U00200000000000.fits \
table=product/P0804640201PNU002TIEVLI0000.FIT withhistogramset=yes withhistoranges=yes -w 10
# # [OUTPUT] [2024-11-30T23:14:22]
# # [INFO] [2024-11-30T23:14:22] Task Run Time evselect 0.160259008407593s
#
# # [INFO] [2024-11-30T23:14:22] ExposureID U002: Got 32374 total good counts at FLAG==0, PATTERN<=4, etc
# # [INFO] [2024-11-30T23:14:22] Extracting source spectrum centered on RAWX=38 and the background spectrum ...
# # [INFO] [2024-11-30T23:14:22] Canned RMF selected. Expid: U002, pnTiming
# # [INFO] [2024-11-30T23:14:22] Parameters for especget: withrmfset = yes, srcrmfset = 
# [COMMAND] [2024-11-30T23:14:22]
export SAS_MEMORY_MODEL=high
# [COMMAND] [2024-11-30T23:14:22]
export SAS_RAND_SEED=0804640201
# # [INFO] [2024-11-30T23:14:22] ## DEBUG ModuleResources: SAS_RAND_SEED set: 0804640201
# [COMMAND] [2024-11-30T23:14:22]
especget backexp="(( (RAWX >= (4-2)) && (RAWX <= (4+2)) ) && PATTERN<=4 && FLAG==0)" \
bckspecset=product/P0804640201PNU002BGSPEC0000.FIT srcarfset=product/P0804640201PNU002SRCARF0000.FIT srcexp="(( (RAWX >= (38-9)) && \
(RAWX <= (38+9)) ) && PATTERN<=4 && FLAG==0)" srcrmfset= \
srcspecset=intermediate/pnTimingProducts-epn-1-PN_TIMING_SOURCE_SPECTRUM-U00200000000000.fits \
table=product/P0804640201PNU002TIEVLI0000.FIT withfilestem=N withrmfset=yes -w 10
# # [OUTPUT] [2024-11-30T23:24:48] DateL: 2017-05-02T08:56:56
# Making file temp_badcol.ds
# Making file temp_badcol.ds 
# # [INFO] [2024-11-30T23:24:48] Task Run Time especget 626.60418009758s
#
# # [INFO] [2024-11-30T23:24:48] RMF is epn_e3_bu23_sdY9.rmf
# # [INFO] [2024-11-30T23:24:49] Absolute path to canned RMF is /lhome/pcms/archive/rmf/21.5/pipeline/epn_e3_bu23_sdY9.rmf
# # [INFO] [2024-11-30T23:24:49] Spectral rebinning ...
# [COMMAND] [2024-11-30T23:24:49]
export SAS_MEMORY_MODEL=high
# [COMMAND] [2024-11-30T23:24:49]
export SAS_RAND_SEED=0804640201
# # [INFO] [2024-11-30T23:24:49] ## DEBUG ModuleResources: SAS_RAND_SEED set: 0804640201
# [COMMAND] [2024-11-30T23:24:49]
specgroup arfset=product/P0804640201PNU002SRCARF0000.FIT backgndset=product/P0804640201PNU002BGSPEC0000.FIT \
groupedset=product/P0804640201PNU002SRSPEC0000.FIT mincounts=25 oversample=3 \
rmfset=/lhome/pcms/archive/rmf/21.5/pipeline/epn_e3_bu23_sdY9.rmf setbad=0:0.5 \
spectrumset=intermediate/pnTimingProducts-epn-1-PN_TIMING_SOURCE_SPECTRUM-U00200000000000.fits units=KEV withCounts=Y witharfset=Y \
withbgdset=Y withoversampling=Y withrmfset=Y -w 10
# # [OUTPUT] [2024-11-30T23:24:49]
# # [INFO] [2024-11-30T23:24:49] Task Run Time specgroup 0.141102075576782s
#
# [COMMAND] [2024-11-30T23:24:49]
export \
PFILES=/scratch/225245.1.all.q/xmm/ppsprod/228392/pfiles;/lhome/pcms/local/rhel8.6/GNU_CC_CXX_11.3.0/headas/architecture/syspfiles
# [COMMAND] [2024-11-30T23:24:49]
export SAS_MEMORY_MODEL=high
# [COMMAND] [2024-11-30T23:24:49]
export SAS_RAND_SEED=0804640201
# # [INFO] [2024-11-30T23:24:49] ## DEBUG ModuleResources: SAS_RAND_SEED set: 0804640201
# [COMMAND] [2024-11-30T23:24:49]
xspec - 'intermediate/pnTimingProducts-epn-1-XSPEC_command_file-U00200000000000.ascii'
# # [OUTPUT] [2024-11-30T23:24:50]
# XSPEC version: 12.12.1
# Build Date/Time: Thu Jul 20 16:09:21 2023
# Executing script file "intermediate/pnTimingProducts-epn-1-XSPEC_command_file-U00200000000000.ascii" ...
# !XSPEC12>data product/P0804640201PNU002SRSPEC0000.FIT
# 1 spectrum in use
# Spectral Data File: product/P0804640201PNU002SRSPEC0000.FIT Spectrum 1
# Net count rate (cts/s) for Spectrum:1 4.220e+02 +/- 3.206e+00 (91.3 % total)
# Assigned to Data Group 1 and Plot Group 1
# Noticed Channels: 1-166
# Telescope: XMM Instrument: EPN Channel Type: PI
# Exposure Time: 60.59 sec
# Using fit statistic: chi
# Using Background File product/P0804640201PNU002BGSPEC0000.FIT
# Background Exposure Time: 60.59 sec
# Using Response (RMF) File /lhome/pcms/archive/rmf/21.5/pipeline/epn_e3_bu23_sdY9.rmf for Source 1
# Using Auxiliary Response (ARF) File product/P0804640201PNU002SRCARF0000.FIT
# !XSPEC12>ignore **-0.2 12.0-**
# No channels ignored (no channels in specified range)
# 3 channels (164-166) ignored in spectrum # 1
# !XSPEC12>ignore bad
# ignore: 0 channels ignored from source number 1
# !XSPEC12>setplot en
# !XSPEC12>cpd /NULL
# !XSPEC12>setplot command log y on
# !XSPEC12>setplot command r y
# !XSPEC12>setplot command r x 0.2 12
# !XSPEC12>setplot command lwidth 6
# !XSPEC12>setplot command la FILE 
# !XSPEC12>setplot command la T Source 0 minus background (P0804640201PNU002SRSPEC0000)
# !XSPEC12>setplot command hardcopy intermediate/xspecepnU002000.ps/ps
# !XSPEC12>plot
# !XSPEC12>exit
# XSPEC: quit
# !XSPEC12>tclexit 
# # [INFO] [2024-11-30T23:24:50] Task Run Time xspec 0.344666957855225s
#
# [COMMAND] [2024-11-30T23:24:50]
export SAS_MEMORY_MODEL=high
# [COMMAND] [2024-11-30T23:24:50]
export SAS_RAND_SEED=0804640201
# # [INFO] [2024-11-30T23:24:50] ## DEBUG ModuleResources: SAS_RAND_SEED set: 0804640201
# [COMMAND] [2024-11-30T23:24:50]
addattribute attributecomment="\"ancillary response\" \"response matrix\" \"background spectrum\"" attributename="ANCRFILE RESPFILE \
BACKFILE" attributetype="string string string" set=product/P0804640201PNU002SRSPEC0000.FIT:SPECTRUM \
stringvalue="P0804640201PNU002SRCARF0000.FTZ epn_e3_bu23_sdY9.rmf P0804640201PNU002BGSPEC0000.FTZ" -w 10
# # [OUTPUT] [2024-11-30T23:24:50]
# # [INFO] [2024-11-30T23:24:50] Task Run Time addattribute 0.0468869209289551s
#
# [COMMAND] [2024-11-30T23:24:50]
pstopdf intermediate/xspecepnU002000.ps product/P0804640201PNU002SPCPLT0000.PDF
# # [OUTPUT] [2024-11-30T23:24:50]
# [COMMAND] [2024-11-30T23:24:50]
export SAS_MEMORY_MODEL=high
# [COMMAND] [2024-11-30T23:24:50]
export SAS_RAND_SEED=0804640201
# # [INFO] [2024-11-30T23:24:50] ## DEBUG ModuleResources: SAS_RAND_SEED set: 0804640201
# [COMMAND] [2024-11-30T23:24:50]
evselect expression="( (RAWX >= (38-9)) && (RAWX <= (38+9)) )" \
filteredset=intermediate/pnTimingProducts-epn-1-Event_list_for_spectra-U00200000000000.fits keepfilteroutput=Y \
table=product/P0804640201PNU002TIEVLI0000.FIT withfilteredset=Y -w 10
# # [OUTPUT] [2024-11-30T23:24:50]
# # [INFO] [2024-11-30T23:24:50] Task Run Time evselect 0.211185932159424s
#
# # [INFO] [2024-11-30T23:24:50] Source 0 time bin size for LC. Instr.: epn timing, Frametime: 0.004, TimeBinSize = 0.08
# [COMMAND] [2024-11-30T23:24:50]
export SAS_MEMORY_MODEL=high
# [COMMAND] [2024-11-30T23:24:50]
export SAS_RAND_SEED=0804640201
# # [INFO] [2024-11-30T23:24:50] ## DEBUG ModuleResources: SAS_RAND_SEED set: 0804640201
# [COMMAND] [2024-11-30T23:24:50]
evselect energycolumn=PI expression="(PATTERN<=4)&&(FLAG==0)&&(PI in [500:7000])" filtertype=expression makeratecolumn=yes \
maketimecolumn=yes rateset=intermediate/pnTimingProducts-epn-1-PN_TIMING_SOURCE_LIGHT_CURVE-U00200000000000.fits \
table=intermediate/pnTimingProducts-epn-1-Event_list_for_spectra-U00200000000000.fits timebinsize=0.08 timecolumn=TIME \
timemax=6.10104722342507E+08 timemin=6.10102683567674E+08 withrateset=Y withtimeranges=Y -w 10
# # [OUTPUT] [2024-11-30T23:24:50]
# # [INFO] [2024-11-30T23:24:50] Task Run Time evselect 0.168936014175415s
#
# [COMMAND] [2024-11-30T23:24:50]
export SAS_MEMORY_MODEL=high
# [COMMAND] [2024-11-30T23:24:50]
export SAS_RAND_SEED=0804640201
# # [INFO] [2024-11-30T23:24:50] ## DEBUG ModuleResources: SAS_RAND_SEED set: 0804640201
# [COMMAND] [2024-11-30T23:24:50]
evselect expression="( (RAWX >= (4-2)) && (RAWX <= (4+2)) )" \
filteredset=intermediate/pnTimingProducts-epn-1-Event_list_for_BG_spectra-U00200000000000.fits keepfilteroutput=Y \
table=product/P0804640201PNU002TIEVLI0000.FIT withfilteredset=Y -w 10
# # [OUTPUT] [2024-11-30T23:24:50]
# # [INFO] [2024-11-30T23:24:50] Task Run Time evselect 0.145212888717651s
#
# [COMMAND] [2024-11-30T23:24:50]
export SAS_MEMORY_MODEL=high
# [COMMAND] [2024-11-30T23:24:50]
export SAS_RAND_SEED=0804640201
# # [INFO] [2024-11-30T23:24:50] ## DEBUG ModuleResources: SAS_RAND_SEED set: 0804640201
# [COMMAND] [2024-11-30T23:24:50]
evselect energycolumn=PI expression="(PATTERN<=4)&&(FLAG==0)&&(PI in [500:7000])" filtertype=expression makeratecolumn=yes \
maketimecolumn=yes rateset=intermediate/pnTimingProducts-epn-1-PN_TIMING_BACKGROUND_LIGHT_CURVE-U00200000000000.fits \
table=intermediate/pnTimingProducts-epn-1-Event_list_for_BG_spectra-U00200000000000.fits timebinsize=0.08 timecolumn=TIME \
timemax=6.10104722342507E+08 timemin=6.10102683567674E+08 withrateset=Y withtimeranges=Y -w 10
# # [OUTPUT] [2024-11-30T23:24:51]
# # [INFO] [2024-11-30T23:24:51] Task Run Time evselect 0.0984988212585449s
#
# # [INFO] [2024-11-30T23:24:51] PN timing. Time bin size for ekstest. TimeBinSize_for_ekstest = 0.202950986851448
# [COMMAND] [2024-11-30T23:24:51]
export SAS_MEMORY_MODEL=high
# [COMMAND] [2024-11-30T23:24:51]
export SAS_RAND_SEED=0804640201
# # [INFO] [2024-11-30T23:24:51] ## DEBUG ModuleResources: SAS_RAND_SEED set: 0804640201
# [COMMAND] [2024-11-30T23:24:51]
evselect energycolumn=PI expression="(PATTERN<=4)&&(FLAG==0)&&(PI in [500:7000])" filtertype=expression makeratecolumn=yes \
maketimecolumn=yes \
rateset=intermediate/pnTimingProducts-epn-1-PN_TIMING_SOURCE_LIGHT_CURVE_for_variability_tests-U00200000000000.fits \
table=intermediate/pnTimingProducts-epn-1-Event_list_for_spectra-U00200000000000.fits timebinsize=0.202950986851448 timecolumn=TIME \
timemax=6.10104722342507E+08 timemin=6.10102683567674E+08 withrateset=Y withtimeranges=Y -w 10
# # [OUTPUT] [2024-11-30T23:24:51]
# # [INFO] [2024-11-30T23:24:51] Task Run Time evselect 0.153204917907715s
#
# [COMMAND] [2024-11-30T23:24:51]
export SAS_MEMORY_MODEL=high
# [COMMAND] [2024-11-30T23:24:51]
export SAS_RAND_SEED=0804640201
# # [INFO] [2024-11-30T23:24:51] ## DEBUG ModuleResources: SAS_RAND_SEED set: 0804640201
# [COMMAND] [2024-11-30T23:24:51]
evselect expression="( (RAWX >= (4-2)) && (RAWX <= (4+2)) )" \
filteredset=intermediate/pnTimingProducts-epn-1-Event_list_for_BG_spectra-U00200000000000.fits keepfilteroutput=Y \
table=product/P0804640201PNU002TIEVLI0000.FIT withfilteredset=Y -w 10
# # [OUTPUT] [2024-11-30T23:24:51]
# # [INFO] [2024-11-30T23:24:51] Task Run Time evselect 0.16909384727478s
#
# [COMMAND] [2024-11-30T23:24:51]
export SAS_MEMORY_MODEL=high
# [COMMAND] [2024-11-30T23:24:51]
export SAS_RAND_SEED=0804640201
# # [INFO] [2024-11-30T23:24:51] ## DEBUG ModuleResources: SAS_RAND_SEED set: 0804640201
# [COMMAND] [2024-11-30T23:24:51]
evselect energycolumn=PI expression="(PATTERN<=4)&&(FLAG==0)&&(PI in [500:7000])" filtertype=expression makeratecolumn=yes \
maketimecolumn=yes \
rateset=intermediate/pnTimingProducts-epn-1-PN_TIMING_BACKGROUND_LIGHT_CURVE_for_variability_tests-U00200000000000.fits \
table=intermediate/pnTimingProducts-epn-1-Event_list_for_BG_spectra-U00200000000000.fits timebinsize=0.202950986851448 \
timecolumn=TIME timemax=6.10104722342507E+08 timemin=6.10102683567674E+08 withrateset=Y withtimeranges=Y -w 10
# # [OUTPUT] [2024-11-30T23:24:51]
# # [INFO] [2024-11-30T23:24:51] Task Run Time evselect 0.173340082168579s
#
# # [INFO] [2024-11-30T23:24:51] Time Series per Energy Bands -- SRC = 0 (timing), EXPOSURE = U002
# # [INFO] [2024-11-30T23:24:51] Band: 2 . pilo = 500, pihi = 1000
# [COMMAND] [2024-11-30T23:24:51]
export SAS_MEMORY_MODEL=high
# [COMMAND] [2024-11-30T23:24:51]
export SAS_RAND_SEED=0804640201
# # [INFO] [2024-11-30T23:24:51] ## DEBUG ModuleResources: SAS_RAND_SEED set: 0804640201
# [COMMAND] [2024-11-30T23:24:51]
evselect energycolumn=PI expression="(PATTERN<=4)&&(FLAG==0) && (PI in (500:1000])" filtertype=expression makeratecolumn=yes \
maketimecolumn=yes rateset=intermediate/pnTimingProducts-epn-1-Uncorrected_source_time_series_per_EnergyBand-U00200000020000.fits \
table=intermediate/pnTimingProducts-epn-1-Event_list_for_spectra-U00200000000000.fits timebinsize=0.08 timecolumn=TIME \
timemax=6.10104722342507E+08 timemin=6.10102683567674E+08 withrateset=Y withtimeranges=Y -w 10
# # [OUTPUT] [2024-11-30T23:24:51]
# # [INFO] [2024-11-30T23:24:51] Task Run Time evselect 0.126517057418823s
#
# [COMMAND] [2024-11-30T23:24:51]
export SAS_MEMORY_MODEL=high
# [COMMAND] [2024-11-30T23:24:51]
export SAS_RAND_SEED=0804640201
# # [INFO] [2024-11-30T23:24:51] ## DEBUG ModuleResources: SAS_RAND_SEED set: 0804640201
# [COMMAND] [2024-11-30T23:24:51]
evselect energycolumn=PI expression="(PATTERN<=4)&&(FLAG==0) && (PI in (500:1000])" filtertype=expression makeratecolumn=yes \
maketimecolumn=yes \
rateset=intermediate/pnTimingProducts-epn-1-Uncorrected_background_time_series_per_EnergyBand-U00200000020000.fits \
table=intermediate/pnTimingProducts-epn-1-Event_list_for_BG_spectra-U00200000000000.fits timebinsize=0.08 timecolumn=TIME \
timemax=6.10104722342507E+08 timemin=6.10102683567674E+08 withrateset=Y withtimeranges=Y -w 10
# # [OUTPUT] [2024-11-30T23:24:51]
# # [INFO] [2024-11-30T23:24:51] Task Run Time evselect 0.163347959518433s
#
# [COMMAND] [2024-11-30T23:24:51]
export SAS_MEMORY_MODEL=high
# [COMMAND] [2024-11-30T23:24:51]
export SAS_RAND_SEED=0804640201
# # [INFO] [2024-11-30T23:24:51] ## DEBUG ModuleResources: SAS_RAND_SEED set: 0804640201
# [COMMAND] [2024-11-30T23:24:51]
addattribute attributecomment="\"EPIC Energy Band range ID\"" attributename=ID_BAND attributetype=integer integervalue=2 \
set=intermediate/pnTimingProducts-epn-1-Uncorrected_source_time_series_per_EnergyBand-U00200000020000.fits:RATE -w 10
# # [OUTPUT] [2024-11-30T23:24:51]
# # [INFO] [2024-11-30T23:24:51] Task Run Time addattribute 0.0676949024200439s
#
# [COMMAND] [2024-11-30T23:24:51]
export SAS_MEMORY_MODEL=high
# [COMMAND] [2024-11-30T23:24:51]
export SAS_RAND_SEED=0804640201
# # [INFO] [2024-11-30T23:24:51] ## DEBUG ModuleResources: SAS_RAND_SEED set: 0804640201
# [COMMAND] [2024-11-30T23:24:51]
addattribute attributecomment="\"EPIC Energy Band range ID\"" attributename=ID_BAND attributetype=integer integervalue=2 \
set=intermediate/pnTimingProducts-epn-1-Uncorrected_background_time_series_per_EnergyBand-U00200000020000.fits:RATE -w 10
# # [OUTPUT] [2024-11-30T23:24:52]
# # [INFO] [2024-11-30T23:24:52] Task Run Time addattribute 0.0634090900421143s
#
# # [INFO] [2024-11-30T23:24:52] Band: 3 . pilo = 1000, pihi = 2000
# [COMMAND] [2024-11-30T23:24:52]
export SAS_MEMORY_MODEL=high
# [COMMAND] [2024-11-30T23:24:52]
export SAS_RAND_SEED=0804640201
# # [INFO] [2024-11-30T23:24:52] ## DEBUG ModuleResources: SAS_RAND_SEED set: 0804640201
# [COMMAND] [2024-11-30T23:24:52]
evselect energycolumn=PI expression="(PATTERN<=4)&&(FLAG==0) && (PI in (1000:2000])" filtertype=expression makeratecolumn=yes \
maketimecolumn=yes rateset=intermediate/pnTimingProducts-epn-1-Uncorrected_source_time_series_per_EnergyBand-U00200000030000.fits \
table=intermediate/pnTimingProducts-epn-1-Event_list_for_spectra-U00200000000000.fits timebinsize=0.08 timecolumn=TIME \
timemax=6.10104722342507E+08 timemin=6.10102683567674E+08 withrateset=Y withtimeranges=Y -w 10
# # [OUTPUT] [2024-11-30T23:24:52]
# # [INFO] [2024-11-30T23:24:52] Task Run Time evselect 0.15530800819397s
#
# [COMMAND] [2024-11-30T23:24:52]
export SAS_MEMORY_MODEL=high
# [COMMAND] [2024-11-30T23:24:52]
export SAS_RAND_SEED=0804640201
# # [INFO] [2024-11-30T23:24:52] ## DEBUG ModuleResources: SAS_RAND_SEED set: 0804640201
# [COMMAND] [2024-11-30T23:24:52]
evselect energycolumn=PI expression="(PATTERN<=4)&&(FLAG==0) && (PI in (1000:2000])" filtertype=expression makeratecolumn=yes \
maketimecolumn=yes \
rateset=intermediate/pnTimingProducts-epn-1-Uncorrected_background_time_series_per_EnergyBand-U00200000030000.fits \
table=intermediate/pnTimingProducts-epn-1-Event_list_for_BG_spectra-U00200000000000.fits timebinsize=0.08 timecolumn=TIME \
timemax=6.10104722342507E+08 timemin=6.10102683567674E+08 withrateset=Y withtimeranges=Y -w 10
# # [OUTPUT] [2024-11-30T23:24:52]
# # [INFO] [2024-11-30T23:24:52] Task Run Time evselect 0.122275114059448s
#
# [COMMAND] [2024-11-30T23:24:52]
export SAS_MEMORY_MODEL=high
# [COMMAND] [2024-11-30T23:24:52]
export SAS_RAND_SEED=0804640201
# # [INFO] [2024-11-30T23:24:52] ## DEBUG ModuleResources: SAS_RAND_SEED set: 0804640201
# [COMMAND] [2024-11-30T23:24:52]
addattribute attributecomment="\"EPIC Energy Band range ID\"" attributename=ID_BAND attributetype=integer integervalue=3 \
set=intermediate/pnTimingProducts-epn-1-Uncorrected_source_time_series_per_EnergyBand-U00200000030000.fits:RATE -w 10
# # [OUTPUT] [2024-11-30T23:24:52]
# # [INFO] [2024-11-30T23:24:52] Task Run Time addattribute 0.0598709583282471s
#
# [COMMAND] [2024-11-30T23:24:52]
export SAS_MEMORY_MODEL=high
# [COMMAND] [2024-11-30T23:24:52]
export SAS_RAND_SEED=0804640201
# # [INFO] [2024-11-30T23:24:52] ## DEBUG ModuleResources: SAS_RAND_SEED set: 0804640201
# [COMMAND] [2024-11-30T23:24:52]
addattribute attributecomment="\"EPIC Energy Band range ID\"" attributename=ID_BAND attributetype=integer integervalue=3 \
set=intermediate/pnTimingProducts-epn-1-Uncorrected_background_time_series_per_EnergyBand-U00200000030000.fits:RATE -w 10
# # [OUTPUT] [2024-11-30T23:24:52]
# # [INFO] [2024-11-30T23:24:52] Task Run Time addattribute 0.0582640171051025s
#
# # [INFO] [2024-11-30T23:24:52] Band: 4 . pilo = 2000, pihi = 4500
# [COMMAND] [2024-11-30T23:24:52]
export SAS_MEMORY_MODEL=high
# [COMMAND] [2024-11-30T23:24:52]
export SAS_RAND_SEED=0804640201
# # [INFO] [2024-11-30T23:24:52] ## DEBUG ModuleResources: SAS_RAND_SEED set: 0804640201
# [COMMAND] [2024-11-30T23:24:52]
evselect energycolumn=PI expression="(PATTERN<=4)&&(FLAG==0) && (PI in (2000:4500])" filtertype=expression makeratecolumn=yes \
maketimecolumn=yes rateset=intermediate/pnTimingProducts-epn-1-Uncorrected_source_time_series_per_EnergyBand-U00200000040000.fits \
table=intermediate/pnTimingProducts-epn-1-Event_list_for_spectra-U00200000000000.fits timebinsize=0.08 timecolumn=TIME \
timemax=6.10104722342507E+08 timemin=6.10102683567674E+08 withrateset=Y withtimeranges=Y -w 10
# # [OUTPUT] [2024-11-30T23:24:52]
# # [INFO] [2024-11-30T23:24:52] Task Run Time evselect 0.17832612991333s
#
# [COMMAND] [2024-11-30T23:24:52]
export SAS_MEMORY_MODEL=high
# [COMMAND] [2024-11-30T23:24:52]
export SAS_RAND_SEED=0804640201
# # [INFO] [2024-11-30T23:24:52] ## DEBUG ModuleResources: SAS_RAND_SEED set: 0804640201
# [COMMAND] [2024-11-30T23:24:52]
evselect energycolumn=PI expression="(PATTERN<=4)&&(FLAG==0) && (PI in (2000:4500])" filtertype=expression makeratecolumn=yes \
maketimecolumn=yes \
rateset=intermediate/pnTimingProducts-epn-1-Uncorrected_background_time_series_per_EnergyBand-U00200000040000.fits \
table=intermediate/pnTimingProducts-epn-1-Event_list_for_BG_spectra-U00200000000000.fits timebinsize=0.08 timecolumn=TIME \
timemax=6.10104722342507E+08 timemin=6.10102683567674E+08 withrateset=Y withtimeranges=Y -w 10
# # [OUTPUT] [2024-11-30T23:24:52]
# # [INFO] [2024-11-30T23:24:52] Task Run Time evselect 0.14811897277832s
#
# [COMMAND] [2024-11-30T23:24:52]
export SAS_MEMORY_MODEL=high
# [COMMAND] [2024-11-30T23:24:52]
export SAS_RAND_SEED=0804640201
# # [INFO] [2024-11-30T23:24:52] ## DEBUG ModuleResources: SAS_RAND_SEED set: 0804640201
# [COMMAND] [2024-11-30T23:24:52]
addattribute attributecomment="\"EPIC Energy Band range ID\"" attributename=ID_BAND attributetype=integer integervalue=4 \
set=intermediate/pnTimingProducts-epn-1-Uncorrected_source_time_series_per_EnergyBand-U00200000040000.fits:RATE -w 10
# # [OUTPUT] [2024-11-30T23:24:52]
# # [INFO] [2024-11-30T23:24:52] Task Run Time addattribute 0.0566179752349854s
#
# [COMMAND] [2024-11-30T23:24:52]
export SAS_MEMORY_MODEL=high
# [COMMAND] [2024-11-30T23:24:52]
export SAS_RAND_SEED=0804640201
# # [INFO] [2024-11-30T23:24:52] ## DEBUG ModuleResources: SAS_RAND_SEED set: 0804640201
# [COMMAND] [2024-11-30T23:24:52]
addattribute attributecomment="\"EPIC Energy Band range ID\"" attributename=ID_BAND attributetype=integer integervalue=4 \
set=intermediate/pnTimingProducts-epn-1-Uncorrected_background_time_series_per_EnergyBand-U00200000040000.fits:RATE -w 10
# # [OUTPUT] [2024-11-30T23:24:52]
# # [INFO] [2024-11-30T23:24:52] Task Run Time addattribute 0.0592849254608154s
#
# # [INFO] [2024-11-30T23:24:52] Band: 100 . pilo = 4500, pihi = 7000
# [COMMAND] [2024-11-30T23:24:52]
export SAS_MEMORY_MODEL=high
# [COMMAND] [2024-11-30T23:24:52]
export SAS_RAND_SEED=0804640201
# # [INFO] [2024-11-30T23:24:52] ## DEBUG ModuleResources: SAS_RAND_SEED set: 0804640201
# [COMMAND] [2024-11-30T23:24:52]
evselect energycolumn=PI expression="(PATTERN<=4)&&(FLAG==0) && (PI in (4500:7000])" filtertype=expression makeratecolumn=yes \
maketimecolumn=yes rateset=intermediate/pnTimingProducts-epn-1-Uncorrected_source_time_series_per_EnergyBand-U00200000050000.fits \
table=intermediate/pnTimingProducts-epn-1-Event_list_for_spectra-U00200000000000.fits timebinsize=0.08 timecolumn=TIME \
timemax=6.10104722342507E+08 timemin=6.10102683567674E+08 withrateset=Y withtimeranges=Y -w 10
# # [OUTPUT] [2024-11-30T23:24:53]
# # [INFO] [2024-11-30T23:24:53] Task Run Time evselect 0.14802885055542s
#
# [COMMAND] [2024-11-30T23:24:53]
export SAS_MEMORY_MODEL=high
# [COMMAND] [2024-11-30T23:24:53]
export SAS_RAND_SEED=0804640201
# # [INFO] [2024-11-30T23:24:53] ## DEBUG ModuleResources: SAS_RAND_SEED set: 0804640201
# [COMMAND] [2024-11-30T23:24:53]
evselect energycolumn=PI expression="(PATTERN<=4)&&(FLAG==0) && (PI in (4500:7000])" filtertype=expression makeratecolumn=yes \
maketimecolumn=yes \
rateset=intermediate/pnTimingProducts-epn-1-Uncorrected_background_time_series_per_EnergyBand-U00200000050000.fits \
table=intermediate/pnTimingProducts-epn-1-Event_list_for_BG_spectra-U00200000000000.fits timebinsize=0.08 timecolumn=TIME \
timemax=6.10104722342507E+08 timemin=6.10102683567674E+08 withrateset=Y withtimeranges=Y -w 10
# # [OUTPUT] [2024-11-30T23:24:53]
# # [INFO] [2024-11-30T23:24:53] Task Run Time evselect 0.151928186416626s
#
# [COMMAND] [2024-11-30T23:24:53]
export SAS_MEMORY_MODEL=high
# [COMMAND] [2024-11-30T23:24:53]
export SAS_RAND_SEED=0804640201
# # [INFO] [2024-11-30T23:24:53] ## DEBUG ModuleResources: SAS_RAND_SEED set: 0804640201
# [COMMAND] [2024-11-30T23:24:53]
addattribute attributecomment="\"EPIC Energy Band range ID\"" attributename=ID_BAND attributetype=integer integervalue=100 \
set=intermediate/pnTimingProducts-epn-1-Uncorrected_source_time_series_per_EnergyBand-U00200000050000.fits:RATE -w 10
# # [OUTPUT] [2024-11-30T23:24:53]
# # [INFO] [2024-11-30T23:24:53] Task Run Time addattribute 0.054185152053833s
#
# [COMMAND] [2024-11-30T23:24:53]
export SAS_MEMORY_MODEL=high
# [COMMAND] [2024-11-30T23:24:53]
export SAS_RAND_SEED=0804640201
# # [INFO] [2024-11-30T23:24:53] ## DEBUG ModuleResources: SAS_RAND_SEED set: 0804640201
# [COMMAND] [2024-11-30T23:24:53]
addattribute attributecomment="\"EPIC Energy Band range ID\"" attributename=ID_BAND attributetype=integer integervalue=100 \
set=intermediate/pnTimingProducts-epn-1-Uncorrected_background_time_series_per_EnergyBand-U00200000050000.fits:RATE -w 10
# # [OUTPUT] [2024-11-30T23:24:53]
# # [INFO] [2024-11-30T23:24:53] Task Run Time addattribute 0.0806739330291748s
#
# [COMMAND] [2024-11-30T23:24:53]
export SAS_MEMORY_MODEL=high
# [COMMAND] [2024-11-30T23:24:53]
export SAS_RAND_SEED=0804640201
# # [INFO] [2024-11-30T23:24:53] ## DEBUG ModuleResources: SAS_RAND_SEED set: 0804640201
# [COMMAND] [2024-11-30T23:24:53]
epiclccorr applyabsolutecorrections=no \
bkgtslist=intermediate/pnTimingProducts-epn-1-PN_TIMING_BACKGROUND_LIGHT_CURVE-U00200000000000.fits \
eventlist=product/P0804640201PNU002TIEVLI0000.FIT outset=product/P0804640201PNU002SRCTSR0000.FIT \
srctslist=intermediate/pnTimingProducts-epn-1-PN_TIMING_SOURCE_LIGHT_CURVE-U00200000000000.fits withbkgset=yes -w 10
# # [OUTPUT] [2024-11-30T23:25:55] ** epiclccorr: warning (PNTimingRand), Randomization for PN Timing or Burst not implemented
# ** epiclccorr::evselect: warning (NonStandardSpectrum), The standard PI channel range for PN is 0-20479. Detector matrices can not\
#     be created for this spectrum and spectral fitting will not be possible.
# Making file temp_badcol.ds
# ** epiclccorr: warning (PNTimingRand), Randomization for PN Timing or Burst not implemented
# ** epiclccorr::evselect: warning (NonStandardSpectrum), The standard PI channel range for PN is 0-20479. Detector matrices can not\
#     be created for this spectrum and spectral fitting will not be possible.
# Making file temp_badcol.ds 
# # [INFO] [2024-11-30T23:25:55] Task Run Time epiclccorr 61.7844498157501s
#
# [COMMAND] [2024-11-30T23:25:55]
export SAS_MEMORY_MODEL=high
# [COMMAND] [2024-11-30T23:25:55]
export SAS_RAND_SEED=0804640201
# # [INFO] [2024-11-30T23:25:55] ## DEBUG ModuleResources: SAS_RAND_SEED set: 0804640201
# [COMMAND] [2024-11-30T23:25:55]
epiclccorr applyabsolutecorrections=no \
bkgtslist=intermediate/pnTimingProducts-epn-1-PN_TIMING_BACKGROUND_LIGHT_CURVE_for_variability_tests-U00200000000000.fits \
eventlist=product/P0804640201PNU002TIEVLI0000.FIT \
outset=intermediate/pnTimingProducts-epn-1-EPIC_source_timeseries_for_variability_tests-U00200000000000.fits \
srctslist=intermediate/pnTimingProducts-epn-1-PN_TIMING_SOURCE_LIGHT_CURVE_for_variability_tests-U00200000000000.fits withbkgset=yes \
-w 10
# # [OUTPUT] [2024-11-30T23:26:55] ** epiclccorr: warning (PNTimingRand), Randomization for PN Timing or Burst not implemented
# ** epiclccorr::evselect: warning (NonStandardSpectrum), The standard PI channel range for PN is 0-20479. Detector matrices can not\
#     be created for this spectrum and spectral fitting will not be possible.
# Making file temp_badcol.ds
# ** epiclccorr: warning (PNTimingRand), Randomization for PN Timing or Burst not implemented
# ** epiclccorr::evselect: warning (NonStandardSpectrum), The standard PI channel range for PN is 0-20479. Detector matrices can not\
#     be created for this spectrum and spectral fitting will not be possible.
# Making file temp_badcol.ds 
# # [INFO] [2024-11-30T23:26:55] Task Run Time epiclccorr 60.0575580596924s
#
# # [INFO] [2024-11-30T23:26:55] RA_NOM, DEC_NOM from\
#     intermediate/pnTimingProducts-epn-1-PN_TIMING_SOURCE_LIGHT_CURVE-U00200000000000.fits = 2.88798124500000E+02 ,\
#     1.09457777000000E+01
# [COMMAND] [2024-11-30T23:26:55]
export SAS_MEMORY_MODEL=high
# [COMMAND] [2024-11-30T23:26:55]
export SAS_RAND_SEED=0804640201
# # [INFO] [2024-11-30T23:26:55] ## DEBUG ModuleResources: SAS_RAND_SEED set: 0804640201
# [COMMAND] [2024-11-30T23:26:55]
evselect imagebinning=binSize imageset=intermediate/pnTimingProducts-epn-1-PN_TIMING_source_image-U00200000000000.fits \
table=product/P0804640201PNU002TIEVLI0000.FIT withimageset=yes xcolumn=DETX ximagebinsize=20 ycolumn=DETY yimagebinsize=20 -w 10
# # [OUTPUT] [2024-11-30T23:26:55] ** evselect: warning (NoWCS), No WCS information available for image column DETX.
# ** evselect: warning (NoWCS), No WCS information available for image column DETY. 
# # [INFO] [2024-11-30T23:26:55] Task Run Time evselect 0.111894130706787s
#
# # [INFO] [2024-11-30T23:26:55] --- Coordinate conversion subroutine ---
# # [INFO] [2024-11-30T23:26:55] CMD: ecoordconv\
#     imageset=intermediate/pnTimingProducts-epn-1-PN_TIMING_source_image-U00200000000000.fits x=38 y=190 coordtype=raw\
#     withcoords=yes withccd=yes ccdno=4
# # [INFO] [2024-11-30T23:26:55] ecoordconv:- Region Centre: 
# Theta: Phi: 68.33115 3.5782199
# X: Y: 24291.67 24731.119
# DETX: DETY: 45.133771 -195.11843
# IM_X: IM_Y: 107.88169 42.519078
# RA: DEC: 288.7983 10.946112
# RAWX: RAWY: 38 190
# CCD(s): 4 centred on CCD: 4
# # [INFO] [2024-11-30T23:26:55] coordConvRADec returns RA: DEC: 288.7983 10.946112
# # [INFO] [2024-11-30T23:26:55] coordConvRADec returns source CCD: 4
# # [INFO] [2024-11-30T23:26:55] SRC_CRA, SRC_CDEC from ecoordconv in\
#     intermediate/pnTimingProducts-epn-1-PN_TIMING_source_image-U00200000000000.fits = 288.7983 , 10.946112
# [COMMAND] [2024-11-30T23:26:55]
export SAS_MEMORY_MODEL=high
# [COMMAND] [2024-11-30T23:26:55]
export SAS_RAND_SEED=0804640201
# # [INFO] [2024-11-30T23:26:55] ## DEBUG ModuleResources: SAS_RAND_SEED set: 0804640201
# [COMMAND] [2024-11-30T23:26:55]
addattribute attributecomment="\"[deg] RA in source position\" \"[deg] Dec in source position\"" attributename="SRC_CRA SRC_CDEC" \
attributetype="real real" realvalue="288.7983 10.946112" set=product/P0804640201PNU002SRCTSR0000.FIT:RATE -w 10
# # [OUTPUT] [2024-11-30T23:26:55]
# # [INFO] [2024-11-30T23:26:55] Task Run Time addattribute 0.0454010963439941s
#
# # [INFO] [2024-11-30T23:26:55] Coordinates RA,Dec from ecoordconv harcoded as SRC_CRA,SRC_CDEC in file =\
#     product/P0804640201PNU002SRCTSR0000.FIT
# [COMMAND] [2024-11-30T23:26:55]
export SAS_MEMORY_MODEL=high
# [COMMAND] [2024-11-30T23:26:55]
export SAS_RAND_SEED=0804640201
# # [INFO] [2024-11-30T23:26:55] ## DEBUG ModuleResources: SAS_RAND_SEED set: 0804640201
# [COMMAND] [2024-11-30T23:26:55]
gtimerge gtitable=intermediate/pnTimingProducts-epn-1-Merged_GTIs-U00200000000000.fits mergemode=and \
tables="product/P0804640201PNU002SRCTSR0000.FIT:SRC_GTIS product/P0804640201PNU002SRCTSR0000.FIT:BKG_GTIS" withgtitable=yes -w 10
# # [OUTPUT] [2024-11-30T23:26:55]
# # [INFO] [2024-11-30T23:26:55] Task Run Time gtimerge 0.049778938293457s
#
# [COMMAND] [2024-11-30T23:26:55]
export SAS_MEMORY_MODEL=high
# [COMMAND] [2024-11-30T23:26:55]
export SAS_RAND_SEED=0804640201
# # [INFO] [2024-11-30T23:26:55] ## DEBUG ModuleResources: SAS_RAND_SEED set: 0804640201
# [COMMAND] [2024-11-30T23:26:55]
gtialign ingtitable=intermediate/pnTimingProducts-epn-1-Merged_GTIs-U00200000000000.fits:STDGTI \
outgtitable=intermediate/pnTimingProducts-epn-1-Aligned_merged_GTIs-U00200000000000.fits:STDGTI style=generic \
tstable=product/P0804640201PNU002SRCTSR0000.FIT:RATE -w 10
# # [OUTPUT] [2024-11-30T23:26:55]
# # [INFO] [2024-11-30T23:26:55] Task Run Time gtialign 0.0719528198242188s
#
# [COMMAND] [2024-11-30T23:26:55]
export SAS_MEMORY_MODEL=high
# [COMMAND] [2024-11-30T23:26:55]
export SAS_RAND_SEED=0804640201
# # [INFO] [2024-11-30T23:26:55] ## DEBUG ModuleResources: SAS_RAND_SEED set: 0804640201
# [COMMAND] [2024-11-30T23:26:55]
gtimerge gtitable=intermediate/pnTimingProducts-epn-1-Merged_GTIs_for_ekstest-U00200000000000.fits mergemode=and \
tables="intermediate/pnTimingProducts-epn-1-EPIC_source_timeseries_for_variability_tests-U00200000000000.fits:SRC_GTIS \
intermediate/pnTimingProducts-epn-1-EPIC_source_timeseries_for_variability_tests-U00200000000000.fits:BKG_GTIS" withgtitable=yes -w \
10
# # [OUTPUT] [2024-11-30T23:26:55]
# # [INFO] [2024-11-30T23:26:55] Task Run Time gtimerge 0.0472531318664551s
#
# [COMMAND] [2024-11-30T23:26:55]
export SAS_MEMORY_MODEL=high
# [COMMAND] [2024-11-30T23:26:55]
export SAS_RAND_SEED=0804640201
# # [INFO] [2024-11-30T23:26:55] ## DEBUG ModuleResources: SAS_RAND_SEED set: 0804640201
# [COMMAND] [2024-11-30T23:26:55]
gtialign ingtitable=intermediate/pnTimingProducts-epn-1-Merged_GTIs_for_ekstest-U00200000000000.fits:STDGTI \
outgtitable=intermediate/pnTimingProducts-epn-1-Aligned_merged_GTIs_for_ekstest-U00200000000000.fits:STDGTI style=generic \
tstable=intermediate/pnTimingProducts-epn-1-EPIC_source_timeseries_for_variability_tests-U00200000000000.fits:RATE -w 10
# # [OUTPUT] [2024-11-30T23:26:55]
# # [INFO] [2024-11-30T23:26:55] Task Run Time gtialign 0.0612740516662598s
#
# [COMMAND] [2024-11-30T23:26:55]
export SAS_MEMORY_MODEL=high
# [COMMAND] [2024-11-30T23:26:55]
export SAS_RAND_SEED=0804640201
# # [INFO] [2024-11-30T23:26:55] ## DEBUG ModuleResources: SAS_RAND_SEED set: 0804640201
# [COMMAND] [2024-11-30T23:26:55]
elcplot binsize=1 forcestart=yes gtiset=intermediate/pnTimingProducts-epn-1-Aligned_merged_GTIs-U00200000000000.fits offset=yes \
offsetstyle=auto plotdevice=/vcps plotfile=intermediate/pnTimingProducts-epn-1-Source_timeseries_plot-U00200000000000.ps \
set=product/P0804640201PNU002SRCTSR0000.FIT useflareset=no usegtiset=yes -w 10
# # [OUTPUT] [2024-11-30T23:26:55] ** elcplot: warning (noContentKeyword), Keyword CONTENT missing\
#     product/P0804640201PNU002SRCTSR0000.FIT 
# ** elcplot: warning (rebinningSchemeAltered), You asked for a rebinning ratio (= number of time series values averaged per plotted\
#     point) of 1. However this would result in too many points on the plot. elcplot has altered the bin ratio to 50. 
# # [INFO] [2024-11-30T23:26:55] Task Run Time elcplot 0.157562971115112s
#
# [COMMAND] [2024-11-30T23:26:55]
pstopdf intermediate/pnTimingProducts-epn-1-Source_timeseries_plot-U00200000000000.ps product/P0804640201PNU002STSPLT0000.PDF
# # [OUTPUT] [2024-11-30T23:26:55]
# [COMMAND] [2024-11-30T23:26:55]
export SAS_MEMORY_MODEL=high
# [COMMAND] [2024-11-30T23:26:55]
export SAS_RAND_SEED=0804640201
# # [INFO] [2024-11-30T23:26:55] ## DEBUG ModuleResources: SAS_RAND_SEED set: 0804640201
# [COMMAND] [2024-11-30T23:26:55]
addattribute attributecomment="\"Average rate in light curve\" \"Chi squared value\" \"Probability that CHISQUAR arises by chance\" \
\"The number of data points\"" attributename="AVRATE CHISQUAR CHI2PROB N_POINTS" attributetype="real real real integer" \
integervalue=0 realvalue="-1 -1 -1" set=product/P0804640201PNU002SRCTSR0000.FIT:RATE -w 10
# # [OUTPUT] [2024-11-30T23:26:55]
# # [INFO] [2024-11-30T23:26:55] Task Run Time addattribute 0.055088996887207s
#
# [COMMAND] [2024-11-30T23:26:55]
export SAS_MEMORY_MODEL=high
# [COMMAND] [2024-11-30T23:26:55]
export SAS_RAND_SEED=0804640201
# # [INFO] [2024-11-30T23:26:55] ## DEBUG ModuleResources: SAS_RAND_SEED set: 0804640201
# [COMMAND] [2024-11-30T23:26:55]
ekstest chisquaretest=yes fracvartest=no gtis=yes \
gtiset=intermediate/pnTimingProducts-epn-1-Aligned_merged_GTIs-U00200000000000.fits newoutset=yes \
outset=intermediate/pnTimingProducts-epn-1-Source_timeseries-U00200000080000.fits screen=yes \
set=product/P0804640201PNU002SRCTSR0000.FIT -w 10
# # [OUTPUT] [2024-11-30T23:26:56]
# lc average rate = 380.813904 
# ChiSquareStatistic= 28558.2578 
# ChiSquareProbability of constancy= 8.78474007E-42
# numNonNulls= 25397 
# # [INFO] [2024-11-30T23:26:56] Task Run Time ekstest 0.126829147338867s
#
# [COMMAND] [2024-11-30T23:26:56]
export SAS_MEMORY_MODEL=high
# [COMMAND] [2024-11-30T23:26:56]
export SAS_RAND_SEED=0804640201
# # [INFO] [2024-11-30T23:26:56] ## DEBUG ModuleResources: SAS_RAND_SEED set: 0804640201
# [COMMAND] [2024-11-30T23:26:56]
ekstest chisquaretest=no fracvartest=yes gtis=yes \
gtiset=intermediate/pnTimingProducts-epn-1-Aligned_merged_GTIs-U00200000000000.fits newoutset=yes \
outset=product/P0804640201PNU002SRCTSR0000.FIT screen=yes \
set=intermediate/pnTimingProducts-epn-1-Source_timeseries-U00200000080000.fits -w 10
# # [OUTPUT] [2024-11-30T23:26:56]
# Fractional variance= 0.183884203 
# Fractional variance error= 3.95020097E-02
# numNonNulls= 25397 
# # [INFO] [2024-11-30T23:26:56] Task Run Time ekstest 0.120581865310669s
#
# [COMMAND] [2024-11-30T23:26:56]
export SAS_MEMORY_MODEL=high
# [COMMAND] [2024-11-30T23:26:56]
export SAS_RAND_SEED=0804640201
# # [INFO] [2024-11-30T23:26:56] ## DEBUG ModuleResources: SAS_RAND_SEED set: 0804640201
# [COMMAND] [2024-11-30T23:26:56]
addattribute attributecomment="\"Average rate in light curve\" \"Chi squared value\" \"Probability that CHISQUAR arises by chance\" \
\"The number of data points\"" attributename="AVRATE CHISQUAR CHI2PROB N_POINTS" attributetype="real real real integer" \
integervalue=0 realvalue="-1 -1 -1" \
set=intermediate/pnTimingProducts-epn-1-EPIC_source_timeseries_for_variability_tests-U00200000000000.fits:RATE -w 10
# # [OUTPUT] [2024-11-30T23:26:56]
# # [INFO] [2024-11-30T23:26:56] Task Run Time addattribute 0.0502898693084717s
#
# [COMMAND] [2024-11-30T23:26:56]
export SAS_MEMORY_MODEL=high
# [COMMAND] [2024-11-30T23:26:56]
export SAS_RAND_SEED=0804640201
# # [INFO] [2024-11-30T23:26:56] ## DEBUG ModuleResources: SAS_RAND_SEED set: 0804640201
# [COMMAND] [2024-11-30T23:26:56]
ekstest chisquaretest=yes fracvartest=no gtis=yes \
gtiset=intermediate/pnTimingProducts-epn-1-Aligned_merged_GTIs_for_ekstest-U00200000000000.fits newoutset=yes \
outset=intermediate/pnTimingProducts-epn-1-Source_timeseries_for_variability_tests-U00200000080000.fits screen=yes \
set=intermediate/pnTimingProducts-epn-1-EPIC_source_timeseries_for_variability_tests-U00200000000000.fits -w 10
# # [OUTPUT] [2024-11-30T23:26:56]
# lc average rate = 380.285492 
# ChiSquareStatistic= 11205.8359 
# ChiSquareProbability of constancy= 2.06799468E-16
# numNonNulls= 10012 
# # [INFO] [2024-11-30T23:26:56] Task Run Time ekstest 0.0760619640350342s
#
# [COMMAND] [2024-11-30T23:26:56]
export SAS_MEMORY_MODEL=high
# [COMMAND] [2024-11-30T23:26:56]
export SAS_RAND_SEED=0804640201
# # [INFO] [2024-11-30T23:26:56] ## DEBUG ModuleResources: SAS_RAND_SEED set: 0804640201
# [COMMAND] [2024-11-30T23:26:56]
ekstest chisquaretest=no fracvartest=yes gtis=yes \
gtiset=intermediate/pnTimingProducts-epn-1-Aligned_merged_GTIs_for_ekstest-U00200000000000.fits netlightcurve=yes newoutset=yes \
outset=intermediate/pnTimingProducts-epn-1-EPIC_source_timeseries_for_variability_tests-U00200000000000.fits screen=yes \
set=intermediate/pnTimingProducts-epn-1-Source_timeseries_for_variability_tests-U00200000080000.fits -w 10
# # [OUTPUT] [2024-11-30T23:26:56]
# Fractional variance= 9.31588784E-02
# Fractional variance error= 4.86243069E-02
# numNonNulls= 10012 
# # [INFO] [2024-11-30T23:26:56] Task Run Time ekstest 0.0801801681518555s
#
# # [INFO] [2024-11-30T23:26:56] PN timing. timebin: 2.02950986844241E-01. AVRATE = 3.80285491943359E+02, N_POINTS = 10012
# # [INFO] [2024-11-30T23:26:56] PN timing. timebin: 2.02950986844241E-01. CHISQUAR = 1.12058359375000E+04, CHI2PROB =\
#     2.06799467712332E-16
# # [INFO] [2024-11-30T23:26:56] PN timing. timebin: 2.02950986844241E-01. FVAR = 9.31588783860207E-02, FVARERR =\
#     4.86243069171906E-02
# [COMMAND] [2024-11-30T23:26:56]
export SAS_MEMORY_MODEL=high
# [COMMAND] [2024-11-30T23:26:56]
export SAS_RAND_SEED=0804640201
# # [INFO] [2024-11-30T23:26:56] ## DEBUG ModuleResources: SAS_RAND_SEED set: 0804640201
# [COMMAND] [2024-11-30T23:26:56]
addattribute attributecomment="\"Average rate in light curve for CHI2TBIN\" \"Chi squared value for CHI2TBIN\" \"Probability that \
CHISQUAR arises by chance for CHI2TBIN\" \"The number of data points for CHI2TBIN\" \"Fractional variance for CHI2TBIN\" \"Error on \
the fractional variance for CHI2TBIN\" \"Time bin size set for variability tests\"" attributename="AVRATE CHISQUAR CHI2PROB N_POINTS \
FVAR FVARERR CHI2TBIN" attributetype="real real real integer real real real" integervalue=10012 realvalue="3.80285491943359E+02 \
1.12058359375000E+04 2.06799467712332E-16 9.31588783860207E-02 4.86243069171906E-02 2.02950986844241E-01" \
set=product/P0804640201PNU002SRCTSR0000.FIT:RATE -w 10
# # [OUTPUT] [2024-11-30T23:26:56]
# # [INFO] [2024-11-30T23:26:56] Task Run Time addattribute 0.0451638698577881s
#
# [COMMAND] [2024-11-30T23:26:56]
export SAS_MEMORY_MODEL=high
# [COMMAND] [2024-11-30T23:26:56]
export SAS_RAND_SEED=0804640201
# # [INFO] [2024-11-30T23:26:56] ## DEBUG ModuleResources: SAS_RAND_SEED set: 0804640201
# [COMMAND] [2024-11-30T23:26:56]
efftplot gtis=yes gtiset=intermediate/pnTimingProducts-epn-1-Aligned_merged_GTIs-U00200000000000.fits \
infile=product/P0804640201PNU002SRCTSR0000.FIT outfile=intermediate/pnTimingProducts-epn-1-Time_series_FFT_plot-U00200000000000.ps \
plotdevice=/vcps xscale=log yscale=lin -w 10
# # [OUTPUT] [2024-11-30T23:26:59] ** efftplot: warning (creatorKeywordNotFound), The CREATOR keyword could not be found in dataset\
#     with name 'fout_pds_1.fps'
# ** efftplot: warning (dateKeywordNotFound), The DATE keyword could not be found in dataset with name 'fout_pds_1.fps'
# ** efftplot: warning (duplicateTableName), I found a table called RESULTS but there exists another table with such a name. I have\
#     renamed the table just found RESULTS1
# /lhome/pcms/local/rhel8.6/GNU_CC_CXX_11.3.0/xmmsas_20241108_1150/bin/efftplot_graph.py:242: UserWarning: Only format accepted is\
#     pdf.
# warnings.warn('Only format accepted is pdf.')
# /lhome/pcms/local/rhel8.6/GNU_CC_CXX_11.3.0/xmmsas_20241108_1150/bin/efftplot_graph.py:57: UserWarning: Could not transform the\
#     RA/DEC value
# warnings.warn('Could not transform the RA/DEC value')
# efftplot_graph.py executed successfully. 
# # [INFO] [2024-11-30T23:26:59] Task Run Time efftplot 2.84357595443726s
#
# [COMMAND] [2024-11-30T23:26:59]
pstopdf intermediate/pnTimingProducts-epn-1-Time_series_FFT_plot-U00200000000000.ps product/P0804640201PNU002SFFTPL0000.PDF
# # [OUTPUT] [2024-11-30T23:26:59]
# # [INFO] [2024-11-30T23:26:59] Module name: EPICImageSize
# # [INFO] [2024-11-30T23:26:59] Instrument: epic
# # [INFO] [2024-11-30T23:26:59] Stream no.: 0001
# # [INFO] [2024-11-30T23:26:59] Module version number: 0.09
# # [INFO] [2024-11-30T23:26:59] global Attitude GTI File: intermediate/GlobalHK-all-1-Attitude_GTI-X00000000000000.fits
# # [INFO] [2024-11-30T23:26:59] Module name: MakePNImage
# # [INFO] [2024-11-30T23:26:59] Instrument: epn
# # [INFO] [2024-11-30T23:26:59] Stream no.: 0001
# # [INFO] [2024-11-30T23:26:59] Module version number: 2.27
# # [INFO] [2024-11-30T23:26:59] No imaging mode event list available for this instrument. Ignoring further processing.
# # [INFO] [2024-11-30T23:26:59] Module name: MakePNImage
# # [INFO] [2024-11-30T23:26:59] Instrument: epn
# # [INFO] [2024-11-30T23:26:59] Stream no.: 0002
# # [INFO] [2024-11-30T23:26:59] Module version number: 2.27
# # [INFO] [2024-11-30T23:26:59] No imaging mode event list available for this instrument. Ignoring further processing.
