number of points = 17387
number of fields = 31
RA_SUN column already exists. File will not be modified.
/sdf/group/fermi/u/kocevski/software/conda/envs/fermitools_v1.0.5/lib/python2.7/site-packages/pyfits/__init__.py:22: PyFITSDeprecationWarning: PyFITS is deprecated, please use astropy.io.fits
  PyFITSDeprecationWarning)  # noqa
Done.


Performing analysis on: 4FGL_J1238.5-1201_weekly_bin943
RA = 189.625, Dec = -12.028
tmin = 809308801, tmax = 809913601
emin = 100.0, emax = 100000.0
irfs = P8R3_SOURCE_V2
ROI = 12
zmax = 90

Fitting strategies:
Fix sources to their catalog values = True
Leave variable source normalizations free = True
Perform pre-fit where ALL sources are frozen to catalog values = False
Perform secondary fit with a free spectral index = True
Remove all catalog sources = False
Remove weak (TS < 2) catalog sources = False
Freeze Galactic component = False

Likelihood fit parameters:
Statistic: UNBINNED
Optimizer: MINUIT

Catalog: 4FGL

Repository job = True

LAT data source:
Data catalog

Updating database...

UPDATE lightcurve_data_v2 SET job_id='36631570', job_status='RUN', time_executed='2026-09-01 09:57:41.988415', time_epoch_executed='1788281861.99' WHERE source_name='4FGL J1238.5-1201' and cadence='weekly' and bin_id='943'

Database successfully updated.
Done.

Creating custom output directory:
/lscratch/kocevski/36631570

Creating custom pfile directory:
/lscratch/kocevski/36631570/pfiles/

Retrieving the FT1 file...

Issuing command:
datacat find --group FT1 --filter 'nMetStop>=809308801.0 && nMetStart<809913601.0' /Data/Flight/Reprocess/P305

Issuing command:
datacat find --group FT1 --filter 'nMetStart>564945418 && nMetStop>=809308801.0 && nMetStart<809913601.0' /Data/Flight/Level1/LPA

Retrieving 108 files...
Done.


Merging files...

Checksum keywords updated successfully.

Merged file saved to:
/lscratch/kocevski/36631570/ft1_4FGL_J1238.5-1201_weekly_bin943.fits


Retrieving the FT1 file...

Issuing command:
datacat find --group FT2 --filter 'nMetStop>=809308801.0 && nMetStart<809913601.0' /Data/Flight/Level1/LPA

Retrieving 108 files...
Done.


Merging files...

Merged file saved to:
/lscratch/kocevski/36631570/ft2_4FGL_J1238.5-1201_weekly_bin943.fits


Selecting the photons:
time -p gtselect infile=/lscratch/kocevski/36631570/ft1_4FGL_J1238.5-1201_weekly_bin943.fits outfile=/lscratch/kocevski/36631570/ft1_filteredMKT_4FGL_J1238.5-1201_weekly_bin943.fits ra=189.625 dec=-12.028 rad=12.0 tmin=809308801.0 tmax=809913601.0 emin=100.0 emax=100000.0 zmin=0.0 zmax=90.0 evclass=128 evtype="INDEF" convtype=-1 phasemin=0.0 phasemax=1.0 evtable="EVENTS" chatter=2 clobber=yes debug=no gui=no mode="ql"

WARNING: version mismatch between CFITSIO header (v3.43) and linked library (v3.41).

Done.
real 8.28
user 5.59
sys 0.28

Adding sun position to ft2 file:
/sdf/group/fermi/g/LCRepository/Repository/bin/sunpos /lscratch/kocevski/36631570/ft2_4FGL_J1238.5-1201_weekly_bin943.fits

Selecting the good time intervals:
time -p gtmktime scfile=/lscratch/kocevski/36631570/ft2_4FGL_J1238.5-1201_weekly_bin943.fits sctable="SC_DATA" filter="IN_SAA!=T && LIVETIME>0 && gtifilter('/sdf/group/fermi/g/LCRepository/Likelihood/GTIs/nogrb.gti',(START+STOP)/2) && (angsep(RA_SUN,DEC_SUN,RA_ZENITH,DEC_ZENITH)>115 || gtifilter('/sdf/group/fermi/g/LCRepository/Likelihood/GTIs/nosolarflares.gti',(START+STOP)/2))" roicut=no evfile=/lscratch/kocevski/36631570/ft1_filteredMKT_4FGL_J1238.5-1201_weekly_bin943.fits evtable="EVENTS" outfile="/lscratch/kocevski/36631570/ft1_filtered_4FGL_J1238.5-1201_weekly_bin943.fits" apply_filter=yes overwrite=yes header_obstimes=yes tstart=0.0 tstop=0.0 gtifile="default" chatter=3 clobber=yes debug=no gui=no mode="ql"

WARNING: version mismatch between CFITSIO header (v3.43) and linked library (v3.41).

This is gtmktime version HEAD
Applying GTI filter:
IN_SAA!=T && LIVETIME>0 && gtifilter('/sdf/group/fermi/g/LCRepository/Likelihood/GTIs/nogrb.gti',(START+STOP)/2) && (angsep(RA_SUN,DEC_SUN,RA_ZENITH,DEC_ZENITH)>115 || gtifilter('/sdf/group/fermi/g/LCRepository/Likelihood/GTIs/nosolarflares.gti',(START+STOP)/2))
real 0.72
user 0.21
sys 0.12

Number of photons that the gtmktime cut: 2009

Generating the livetime cube:
time -p gtltcube evfile="/lscratch/kocevski/36631570/ft1_filtered_4FGL_J1238.5-1201_weekly_bin943.fits" evtable="EVENTS" scfile=/lscratch/kocevski/36631570/ft2_4FGL_J1238.5-1201_weekly_bin943.fits sctable="SC_DATA"
Likelihood Analysis Tool
Support Contact: Daniel Kocevski (daniel.kocevski@nasa.gov)

Importing modules...
This is make3FGLxml version 01r0.
The default diffuse model files and names are for pass 8 and assume you have v10r00p05 of the Fermi Science Tools or higher.
This is make4FGLDR3xml version 01r09.
The default diffuse model files and names are for P8R3, 4FGL DRs, and the default fermitools directory locations.

WARNING: version mismatch between CFITSIO header (v3.43) and linked library (v3.41).

/sdf/group/fermi/u/kocevski/software/conda/envs/fermitools_v1.0.5/lib/python2.7/site-packages/matplotlib/cbook/deprecation.py:106: MatplotlibDeprecationWarning: The mpl_toolkits.axes_grid module was deprecated in version 2.1. Use mpl_toolkits.axes_grid1 and mpl_toolkits.axisartist provies the same functionality instead.
  warnings.warn(message, mplDeprecation, stacklevel=1)

WARNING: version mismatch between CFITSIO header (v3.43) and linked library (v3.41).

number of points = 17387
number of fields = 31
RA_SUN column already exists. File will not be modified.
Done.


Performing analysis on: 4FGL_J1238.5-1201_weekly_bin943
RA = 189.625, Dec = -12.028
tmin = 809308801, tmax = 809913601
emin = 100.0, emax = 100000.0
irfs = P8R3_SOURCE_V2
ROI = 12
zmax = 90

Fitting strategies:
Fix sources to their catalog values = True
Leave variable source normalizations free = True
Perform pre-fit where ALL sources are frozen to catalog values = False
Perform secondary fit with a free spectral index = True
Remove all catalog sources = False
Remove weak (TS < 2) catalog sources = False
Freeze Galactic component = False

Likelihood fit parameters:
Statistic: UNBINNED
Optimizer: MINUIT

Catalog: 4FGL

Repository job = True

LAT data source:
Data catalog

Updating database...

UPDATE lightcurve_data_v2 SET job_id='36631603', job_status='RUN', time_executed='2026-09-01 09:58:14.720310', time_epoch_executed='1788281894.72' WHERE source_name='4FGL J1238.5-1201' and cadence='weekly' and bin_id='943'

Database successfully updated.
Done.

Creating custom output directory:
/lscratch/kocevski/36631603

Creating custom pfile directory:
/lscratch/kocevski/36631603/pfiles/

Retrieving the FT1 file...

Issuing command:
datacat find --group FT1 --filter 'nMetStop>=809308801.0 && nMetStart<809913601.0' /Data/Flight/Reprocess/P305

Issuing command:
datacat find --group FT1 --filter 'nMetStart>564945418 && nMetStop>=809308801.0 && nMetStart<809913601.0' /Data/Flight/Level1/LPA

Retrieving 108 files...
Done.


Merging files...

Checksum keywords updated successfully.

Merged file saved to:
/lscratch/kocevski/36631603/ft1_4FGL_J1238.5-1201_weekly_bin943.fits


Retrieving the FT1 file...

Issuing command:
datacat find --group FT2 --filter 'nMetStop>=809308801.0 && nMetStart<809913601.0' /Data/Flight/Level1/LPA

Retrieving 108 files...
Done.


Merging files...

Merged file saved to:
/lscratch/kocevski/36631603/ft2_4FGL_J1238.5-1201_weekly_bin943.fits


Selecting the photons:
time -p gtselect infile=/lscratch/kocevski/36631603/ft1_4FGL_J1238.5-1201_weekly_bin943.fits outfile=/lscratch/kocevski/36631603/ft1_filteredMKT_4FGL_J1238.5-1201_weekly_bin943.fits ra=189.625 dec=-12.028 rad=12.0 tmin=809308801.0 tmax=809913601.0 emin=100.0 emax=100000.0 zmin=0.0 zmax=90.0 evclass=128 evtype="INDEF" convtype=-1 phasemin=0.0 phasemax=1.0 evtable="EVENTS" chatter=2 clobber=yes debug=no gui=no mode="ql"

WARNING: version mismatch between CFITSIO header (v3.43) and linked library (v3.41).

Done.
real 7.03
user 6.30
sys 0.29

Adding sun position to ft2 file:
/sdf/group/fermi/g/LCRepository/Repository/bin/sunpos /lscratch/kocevski/36631603/ft2_4FGL_J1238.5-1201_weekly_bin943.fits

Selecting the good time intervals:
time -p gtmktime scfile=/lscratch/kocevski/36631603/ft2_4FGL_J1238.5-1201_weekly_bin943.fits sctable="SC_DATA" filter="IN_SAA!=T && LIVETIME>0 && gtifilter('/sdf/group/fermi/g/LCRepository/Likelihood/GTIs/nogrb.gti',(START+STOP)/2) && (angsep(RA_SUN,DEC_SUN,RA_ZENITH,DEC_ZENITH)>115 || gtifilter('/sdf/group/fermi/g/LCRepository/Likelihood/GTIs/nosolarflares.gti',(START+STOP)/2))" roicut=no evfile=/lscratch/kocevski/36631603/ft1_filteredMKT_4FGL_J1238.5-1201_weekly_bin943.fits evtable="EVENTS" outfile="/lscratch/kocevski/36631603/ft1_filtered_4FGL_J1238.5-1201_weekly_bin943.fits" apply_filter=yes overwrite=yes header_obstimes=yes tstart=0.0 tstop=0.0 gtifile="default" chatter=3 clobber=yes debug=no gui=no mode="ql"

WARNING: version mismatch between CFITSIO header (v3.43) and linked library (v3.41).

This is gtmktime version HEAD
Applying GTI filter:
IN_SAA!=T && LIVETIME>0 && gtifilter('/sdf/group/fermi/g/LCRepository/Likelihood/GTIs/nogrb.gti',(START+STOP)/2) && (angsep(RA_SUN,DEC_SUN,RA_ZENITH,DEC_ZENITH)>115 || gtifilter('/sdf/group/fermi/g/LCRepository/Likelihood/GTIs/nosolarflares.gti',(START+STOP)/2))
real 0.79
user 0.21
sys 0.12

Number of photons that the gtmktime cut: 2009

Generating the livetime cube:
time -p gtltcube evfile="/lscratch/kocevski/36631603/ft1_filtered_4FGL_J1238.5-1201_weekly_bin943.fits" evtable="EVENTS" scfile=/lscratch/kocevski/36631603/ft2_4FGL_J1238.5-1201_weekly_bin943.fits sctable="SC_DATA"number of points = 17387
number of fields = 31
RA_SUN column already exists. File will not be modified.
number of points = 17387
number of fields = 31
RA_SUN column already exists. File will not be modified.
Done.


Performing analysis on: 4FGL_J1238.5-1201_weekly_bin943
RA = 189.625, Dec = -12.028
tmin = 809308801, tmax = 809913601
emin = 100.0, emax = 100000.0
irfs = P8R3_SOURCE_V2
ROI = 12
zmax = 90

Fitting strategies:
Fix sources to their catalog values = True
Leave variable source normalizations free = True
Perform pre-fit where ALL sources are frozen to catalog values = False
Perform secondary fit with a free spectral index = True
Remove all catalog sources = False
Remove weak (TS < 2) catalog sources = False
Freeze Galactic component = False

Likelihood fit parameters:
Statistic: UNBINNED
Optimizer: MINUIT

Catalog: 4FGL

Repository job = True

LAT data source:
Data catalog

Updating database...

UPDATE lightcurve_data_v2 SET job_id='36631653', job_status='RUN', time_executed='2026-09-01 09:58:39.949776', time_epoch_executed='1788281919.95' WHERE source_name='4FGL J1238.5-1201' and cadence='weekly' and bin_id='943'

Database successfully updated.
Done.

Creating custom output directory:
/lscratch/kocevski/36631653

Creating custom pfile directory:
/lscratch/kocevski/36631653/pfiles/

Retrieving the FT1 file...

Issuing command:
datacat find --group FT1 --filter 'nMetStop>=809308801.0 && nMetStart<809913601.0' /Data/Flight/Reprocess/P305

Issuing command:
datacat find --group FT1 --filter 'nMetStart>564945418 && nMetStop>=809308801.0 && nMetStart<809913601.0' /Data/Flight/Level1/LPA

Retrieving 108 files...
Done.


Merging files...

Checksum keywords updated successfully.

Merged file saved to:
/lscratch/kocevski/36631653/ft1_4FGL_J1238.5-1201_weekly_bin943.fits


Retrieving the FT1 file...

Issuing command:
datacat find --group FT2 --filter 'nMetStop>=809308801.0 && nMetStart<809913601.0' /Data/Flight/Level1/LPA

Retrieving 108 files...
Done.


Merging files...

Merged file saved to:
/lscratch/kocevski/36631653/ft2_4FGL_J1238.5-1201_weekly_bin943.fits


Selecting the photons:
time -p gtselect infile=/lscratch/kocevski/36631653/ft1_4FGL_J1238.5-1201_weekly_bin943.fits outfile=/lscratch/kocevski/36631653/ft1_filteredMKT_4FGL_J1238.5-1201_weekly_bin943.fits ra=189.625 dec=-12.028 rad=12.0 tmin=809308801.0 tmax=809913601.0 emin=100.0 emax=100000.0 zmin=0.0 zmax=90.0 evclass=128 evtype="INDEF" convtype=-1 phasemin=0.0 phasemax=1.0 evtable="EVENTS" chatter=2 clobber=yes debug=no gui=no mode="ql"

WARNING: version mismatch between CFITSIO header (v3.43) and linked library (v3.41).

Done.
real 6.50
user 5.89
sys 0.25

Adding sun position to ft2 file:
/sdf/group/fermi/g/LCRepository/Repository/bin/sunpos /lscratch/kocevski/36631653/ft2_4FGL_J1238.5-1201_weekly_bin943.fits

Selecting the good time intervals:
time -p gtmktime scfile=/lscratch/kocevski/36631653/ft2_4FGL_J1238.5-1201_weekly_bin943.fits sctable="SC_DATA" filter="IN_SAA!=T && LIVETIME>0 && gtifilter('/sdf/group/fermi/g/LCRepository/Likelihood/GTIs/nogrb.gti',(START+STOP)/2) && (angsep(RA_SUN,DEC_SUN,RA_ZENITH,DEC_ZENITH)>115 || gtifilter('/sdf/group/fermi/g/LCRepository/Likelihood/GTIs/nosolarflares.gti',(START+STOP)/2))" roicut=no evfile=/lscratch/kocevski/36631653/ft1_filteredMKT_4FGL_J1238.5-1201_weekly_bin943.fits evtable="EVENTS" outfile="/lscratch/kocevski/36631653/ft1_filtered_4FGL_J1238.5-1201_weekly_bin943.fits" apply_filter=yes overwrite=yes header_obstimes=yes tstart=0.0 tstop=0.0 gtifile="default" chatter=3 clobber=yes debug=no gui=no mode="ql"

WARNING: version mismatch between CFITSIO header (v3.43) and linked library (v3.41).

This is gtmktime version HEAD
Applying GTI filter:
IN_SAA!=T && LIVETIME>0 && gtifilter('/sdf/group/fermi/g/LCRepository/Likelihood/GTIs/nogrb.gti',(START+STOP)/2) && (angsep(RA_SUN,DEC_SUN,RA_ZENITH,DEC_ZENITH)>115 || gtifilter('/sdf/group/fermi/g/LCRepository/Likelihood/GTIs/nosolarflares.gti',(START+STOP)/2))
real 0.71
user 0.20
sys 0.14

Number of photons that the gtmktime cut: 2009

Generating the livetime cube:
time -p gtltcube evfile="/lscratch/kocevski/36631653/ft1_filtered_4FGL_J1238.5-1201_weekly_bin943.fits" evtable="EVENTS" scfile=/lscratch/kocevski/36631653/ft2_4FGL_J1238.5-1201_weekly_bin943.fits sctable="SC_DATA"Done.


Performing analysis on: 4FGL_J1238.5-1201_weekly_bin943
RA = 189.625, Dec = -12.028
tmin = 809308801, tmax = 809913601
emin = 100.0, emax = 100000.0
irfs = P8R3_SOURCE_V2
ROI = 12
zmax = 90

Fitting strategies:
Fix sources to their catalog values = True
Leave variable source normalizations free = True
Perform pre-fit where ALL sources are frozen to catalog values = False
Perform secondary fit with a free spectral index = True
Remove all catalog sources = False
Remove weak (TS < 2) catalog sources = False
Freeze Galactic component = False

Likelihood fit parameters:
Statistic: UNBINNED
Optimizer: MINUIT

Catalog: 4FGL

Repository job = True

LAT data source:
Data catalog

Updating database...

UPDATE lightcurve_data_v2 SET job_id='36631612', job_status='RUN', time_executed='2026-09-01 09:58:17.362405', time_epoch_executed='1788281897.36' WHERE source_name='4FGL J1238.5-1201' and cadence='weekly' and bin_id='943'

Database successfully updated.
Done.

Creating custom output directory:
/lscratch/kocevski/36631612

Creating custom pfile directory:
/lscratch/kocevski/36631612/pfiles/

Retrieving the FT1 file...

Issuing command:
datacat find --group FT1 --filter 'nMetStop>=809308801.0 && nMetStart<809913601.0' /Data/Flight/Reprocess/P305

Issuing command:
datacat find --group FT1 --filter 'nMetStart>564945418 && nMetStop>=809308801.0 && nMetStart<809913601.0' /Data/Flight/Level1/LPA

Retrieving 108 files...
Done.


Merging files...

Checksum keywords updated successfully.

Merged file saved to:
/lscratch/kocevski/36631612/ft1_4FGL_J1238.5-1201_weekly_bin943.fits


Retrieving the FT1 file...

Issuing command:
datacat find --group FT2 --filter 'nMetStop>=809308801.0 && nMetStart<809913601.0' /Data/Flight/Level1/LPA

Retrieving 108 files...
Done.


Merging files...

Merged file saved to:
/lscratch/kocevski/36631612/ft2_4FGL_J1238.5-1201_weekly_bin943.fits


Selecting the photons:
time -p gtselect infile=/lscratch/kocevski/36631612/ft1_4FGL_J1238.5-1201_weekly_bin943.fits outfile=/lscratch/kocevski/36631612/ft1_filteredMKT_4FGL_J1238.5-1201_weekly_bin943.fits ra=189.625 dec=-12.028 rad=12.0 tmin=809308801.0 tmax=809913601.0 emin=100.0 emax=100000.0 zmin=0.0 zmax=90.0 evclass=128 evtype="INDEF" convtype=-1 phasemin=0.0 phasemax=1.0 evtable="EVENTS" chatter=2 clobber=yes debug=no gui=no mode="ql"

WARNING: version mismatch between CFITSIO header (v3.43) and linked library (v3.41).

Done.
real 6.12
user 5.41
sys 0.25

Adding sun position to ft2 file:
/sdf/group/fermi/g/LCRepository/Repository/bin/sunpos /lscratch/kocevski/36631612/ft2_4FGL_J1238.5-1201_weekly_bin943.fits

Selecting the good time intervals:
time -p gtmktime scfile=/lscratch/kocevski/36631612/ft2_4FGL_J1238.5-1201_weekly_bin943.fits sctable="SC_DATA" filter="IN_SAA!=T && LIVETIME>0 && gtifilter('/sdf/group/fermi/g/LCRepository/Likelihood/GTIs/nogrb.gti',(START+STOP)/2) && (angsep(RA_SUN,DEC_SUN,RA_ZENITH,DEC_ZENITH)>115 || gtifilter('/sdf/group/fermi/g/LCRepository/Likelihood/GTIs/nosolarflares.gti',(START+STOP)/2))" roicut=no evfile=/lscratch/kocevski/36631612/ft1_filteredMKT_4FGL_J1238.5-1201_weekly_bin943.fits evtable="EVENTS" outfile="/lscratch/kocevski/36631612/ft1_filtered_4FGL_J1238.5-1201_weekly_bin943.fits" apply_filter=yes overwrite=yes header_obstimes=yes tstart=0.0 tstop=0.0 gtifile="default" chatter=3 clobber=yes debug=no gui=no mode="ql"

WARNING: version mismatch between CFITSIO header (v3.43) and linked library (v3.41).

This is gtmktime version HEAD
Applying GTI filter:
IN_SAA!=T && LIVETIME>0 && gtifilter('/sdf/group/fermi/g/LCRepository/Likelihood/GTIs/nogrb.gti',(START+STOP)/2) && (angsep(RA_SUN,DEC_SUN,RA_ZENITH,DEC_ZENITH)>115 || gtifilter('/sdf/group/fermi/g/LCRepository/Likelihood/GTIs/nosolarflares.gti',(START+STOP)/2))
real 0.69
user 0.19
sys 0.12

Number of photons that the gtmktime cut: 2009

Generating the livetime cube:
time -p gtltcube evfile="/lscratch/kocevski/36631612/ft1_filtered_4FGL_J1238.5-1201_weekly_bin943.fits" evtable="EVENTS" scfile=/lscratch/kocevski/36631612/ft2_4FGL_J1238.5-1201_weekly_bin943.fits sctable="SC_DATA"number of points = 17387
number of fields = 31
RA_SUN column already exists. File will not be modified.
Done.


Performing analysis on: 4FGL_J1238.5-1201_weekly_bin943
RA = 189.625, Dec = -12.028
tmin = 809308801, tmax = 809913601
emin = 100.0, emax = 100000.0
irfs = P8R3_SOURCE_V2
ROI = 12
zmax = 90

Fitting strategies:
Fix sources to their catalog values = True
Leave variable source normalizations free = True
Perform pre-fit where ALL sources are frozen to catalog values = False
Perform secondary fit with a free spectral index = True
Remove all catalog sources = False
Remove weak (TS < 2) catalog sources = False
Freeze Galactic component = False

Likelihood fit parameters:
Statistic: UNBINNED
Optimizer: MINUIT

Catalog: 4FGL

Repository job = True

LAT data source:
Data catalog

Updating database...

UPDATE lightcurve_data_v2 SET job_id='36631647', job_status='RUN', time_executed='2026-09-01 09:58:36.266190', time_epoch_executed='1788281916.27' WHERE source_name='4FGL J1238.5-1201' and cadence='weekly' and bin_id='943'

Database successfully updated.
Done.

Creating custom output directory:
/lscratch/kocevski/36631647

Creating custom pfile directory:
/lscratch/kocevski/36631647/pfiles/

Retrieving the FT1 file...

Issuing command:
datacat find --group FT1 --filter 'nMetStop>=809308801.0 && nMetStart<809913601.0' /Data/Flight/Reprocess/P305

Issuing command:
datacat find --group FT1 --filter 'nMetStart>564945418 && nMetStop>=809308801.0 && nMetStart<809913601.0' /Data/Flight/Level1/LPA

Retrieving 108 files...
Done.


Merging files...

Checksum keywords updated successfully.

Merged file saved to:
/lscratch/kocevski/36631647/ft1_4FGL_J1238.5-1201_weekly_bin943.fits


Retrieving the FT1 file...

Issuing command:
datacat find --group FT2 --filter 'nMetStop>=809308801.0 && nMetStart<809913601.0' /Data/Flight/Level1/LPA

Retrieving 108 files...
Done.


Merging files...

Merged file saved to:
/lscratch/kocevski/36631647/ft2_4FGL_J1238.5-1201_weekly_bin943.fits


Selecting the photons:
time -p gtselect infile=/lscratch/kocevski/36631647/ft1_4FGL_J1238.5-1201_weekly_bin943.fits outfile=/lscratch/kocevski/36631647/ft1_filteredMKT_4FGL_J1238.5-1201_weekly_bin943.fits ra=189.625 dec=-12.028 rad=12.0 tmin=809308801.0 tmax=809913601.0 emin=100.0 emax=100000.0 zmin=0.0 zmax=90.0 evclass=128 evtype="INDEF" convtype=-1 phasemin=0.0 phasemax=1.0 evtable="EVENTS" chatter=2 clobber=yes debug=no gui=no mode="ql"

WARNING: version mismatch between CFITSIO header (v3.43) and linked library (v3.41).

Done.
real 7.26
user 6.43
sys 0.26

Adding sun position to ft2 file:
/sdf/group/fermi/g/LCRepository/Repository/bin/sunpos /lscratch/kocevski/36631647/ft2_4FGL_J1238.5-1201_weekly_bin943.fits

Selecting the good time intervals:
time -p gtmktime scfile=/lscratch/kocevski/36631647/ft2_4FGL_J1238.5-1201_weekly_bin943.fits sctable="SC_DATA" filter="IN_SAA!=T && LIVETIME>0 && gtifilter('/sdf/group/fermi/g/LCRepository/Likelihood/GTIs/nogrb.gti',(START+STOP)/2) && (angsep(RA_SUN,DEC_SUN,RA_ZENITH,DEC_ZENITH)>115 || gtifilter('/sdf/group/fermi/g/LCRepository/Likelihood/GTIs/nosolarflares.gti',(START+STOP)/2))" roicut=no evfile=/lscratch/kocevski/36631647/ft1_filteredMKT_4FGL_J1238.5-1201_weekly_bin943.fits evtable="EVENTS" outfile="/lscratch/kocevski/36631647/ft1_filtered_4FGL_J1238.5-1201_weekly_bin943.fits" apply_filter=yes overwrite=yes header_obstimes=yes tstart=0.0 tstop=0.0 gtifile="default" chatter=3 clobber=yes debug=no gui=no mode="ql"

WARNING: version mismatch between CFITSIO header (v3.43) and linked library (v3.41).

This is gtmktime version HEAD
Applying GTI filter:
IN_SAA!=T && LIVETIME>0 && gtifilter('/sdf/group/fermi/g/LCRepository/Likelihood/GTIs/nogrb.gti',(START+STOP)/2) && (angsep(RA_SUN,DEC_SUN,RA_ZENITH,DEC_ZENITH)>115 || gtifilter('/sdf/group/fermi/g/LCRepository/Likelihood/GTIs/nosolarflares.gti',(START+STOP)/2))
real 0.73
user 0.22
sys 0.13

Number of photons that the gtmktime cut: 2009

Generating the livetime cube:
time -p gtltcube evfile="/lscratch/kocevski/36631647/ft1_filtered_4FGL_J1238.5-1201_weekly_bin943.fits" evtable="EVENTS" scfile=/lscratch/kocevski/36631647/ft2_4FGL_J1238.5-1201_weekly_bin943.fits sctable="SC_DATA"number of points = 17387
number of fields = 31
RA_SUN column already exists. File will not be modified.
Done.


Performing analysis on: 4FGL_J1238.5-1201_weekly_bin943
RA = 189.625, Dec = -12.028
tmin = 809308801, tmax = 809913601
emin = 100.0, emax = 100000.0
irfs = P8R3_SOURCE_V2
ROI = 12
zmax = 90

Fitting strategies:
Fix sources to their catalog values = True
Leave variable source normalizations free = True
Perform pre-fit where ALL sources are frozen to catalog values = False
Perform secondary fit with a free spectral index = True
Remove all catalog sources = False
Remove weak (TS < 2) catalog sources = False
Freeze Galactic component = False

Likelihood fit parameters:
Statistic: UNBINNED
Optimizer: MINUIT

Catalog: 4FGL

Repository job = True

LAT data source:
Data catalog

Updating database...

UPDATE lightcurve_data_v2 SET job_id='36631678', job_status='RUN', time_executed='2026-09-01 09:59:12.106251', time_epoch_executed='1788281952.11' WHERE source_name='4FGL J1238.5-1201' and cadence='weekly' and bin_id='943'

Database successfully updated.
Done.

Creating custom output directory:
/lscratch/kocevski/36631678

Creating custom pfile directory:
/lscratch/kocevski/36631678/pfiles/

Retrieving the FT1 file...

Issuing command:
datacat find --group FT1 --filter 'nMetStop>=809308801.0 && nMetStart<809913601.0' /Data/Flight/Reprocess/P305

Issuing command:
datacat find --group FT1 --filter 'nMetStart>564945418 && nMetStop>=809308801.0 && nMetStart<809913601.0' /Data/Flight/Level1/LPA

Retrieving 108 files...
Done.


Merging files...

Checksum keywords updated successfully.

Merged file saved to:
/lscratch/kocevski/36631678/ft1_4FGL_J1238.5-1201_weekly_bin943.fits


Retrieving the FT1 file...

Issuing command:
datacat find --group FT2 --filter 'nMetStop>=809308801.0 && nMetStart<809913601.0' /Data/Flight/Level1/LPA

Retrieving 108 files...
Done.


Merging files...

Merged file saved to:
/lscratch/kocevski/36631678/ft2_4FGL_J1238.5-1201_weekly_bin943.fits


Selecting the photons:
time -p gtselect infile=/lscratch/kocevski/36631678/ft1_4FGL_J1238.5-1201_weekly_bin943.fits outfile=/lscratch/kocevski/36631678/ft1_filteredMKT_4FGL_J1238.5-1201_weekly_bin943.fits ra=189.625 dec=-12.028 rad=12.0 tmin=809308801.0 tmax=809913601.0 emin=100.0 emax=100000.0 zmin=0.0 zmax=90.0 evclass=128 evtype="INDEF" convtype=-1 phasemin=0.0 phasemax=1.0 evtable="EVENTS" chatter=2 clobber=yes debug=no gui=no mode="ql"

WARNING: version mismatch between CFITSIO header (v3.43) and linked library (v3.41).

Done.
real 6.09
user 5.43
sys 0.27

Adding sun position to ft2 file:
/sdf/group/fermi/g/LCRepository/Repository/bin/sunpos /lscratch/kocevski/36631678/ft2_4FGL_J1238.5-1201_weekly_bin943.fits

Selecting the good time intervals:
time -p gtmktime scfile=/lscratch/kocevski/36631678/ft2_4FGL_J1238.5-1201_weekly_bin943.fits sctable="SC_DATA" filter="IN_SAA!=T && LIVETIME>0 && gtifilter('/sdf/group/fermi/g/LCRepository/Likelihood/GTIs/nogrb.gti',(START+STOP)/2) && (angsep(RA_SUN,DEC_SUN,RA_ZENITH,DEC_ZENITH)>115 || gtifilter('/sdf/group/fermi/g/LCRepository/Likelihood/GTIs/nosolarflares.gti',(START+STOP)/2))" roicut=no evfile=/lscratch/kocevski/36631678/ft1_filteredMKT_4FGL_J1238.5-1201_weekly_bin943.fits evtable="EVENTS" outfile="/lscratch/kocevski/36631678/ft1_filtered_4FGL_J1238.5-1201_weekly_bin943.fits" apply_filter=yes overwrite=yes header_obstimes=yes tstart=0.0 tstop=0.0 gtifile="default" chatter=3 clobber=yes debug=no gui=no mode="ql"

WARNING: version mismatch between CFITSIO header (v3.43) and linked library (v3.41).

This is gtmktime version HEAD
Applying GTI filter:
IN_SAA!=T && LIVETIME>0 && gtifilter('/sdf/group/fermi/g/LCRepository/Likelihood/GTIs/nogrb.gti',(START+STOP)/2) && (angsep(RA_SUN,DEC_SUN,RA_ZENITH,DEC_ZENITH)>115 || gtifilter('/sdf/group/fermi/g/LCRepository/Likelihood/GTIs/nosolarflares.gti',(START+STOP)/2))
real 0.65
user 0.19
sys 0.14

Number of photons that the gtmktime cut: 2009

Generating the livetime cube:
time -p gtltcube evfile="/lscratch/kocevski/36631678/ft1_filtered_4FGL_J1238.5-1201_weekly_bin943.fits" evtable="EVENTS" scfile=/lscratch/kocevski/36631678/ft2_4FGL_J1238.5-1201_weekly_bin943.fits sctable="SC_DATA"number of points = 17387
number of fields = 31
RA_SUN column already exists. File will not be modified.
Done.


Performing analysis on: 4FGL_J1238.5-1201_weekly_bin943
RA = 189.625, Dec = -12.028
tmin = 809308801, tmax = 809913601
emin = 100.0, emax = 100000.0
irfs = P8R3_SOURCE_V2
ROI = 12
zmax = 90

Fitting strategies:
Fix sources to their catalog values = True
Leave variable source normalizations free = True
Perform pre-fit where ALL sources are frozen to catalog values = False
Perform secondary fit with a free spectral index = True
Remove all catalog sources = False
Remove weak (TS < 2) catalog sources = False
Freeze Galactic component = False

Likelihood fit parameters:
Statistic: UNBINNED
Optimizer: MINUIT

Catalog: 4FGL

Repository job = True

LAT data source:
Data catalog

Updating database...

UPDATE lightcurve_data_v2 SET job_id='36631672', job_status='RUN', time_executed='2026-09-01 09:59:07.461301', time_epoch_executed='1788281947.46' WHERE source_name='4FGL J1238.5-1201' and cadence='weekly' and bin_id='943'

Database successfully updated.
Done.

Creating custom output directory:
/lscratch/kocevski/36631672

Creating custom pfile directory:
/lscratch/kocevski/36631672/pfiles/

Retrieving the FT1 file...

Issuing command:
datacat find --group FT1 --filter 'nMetStop>=809308801.0 && nMetStart<809913601.0' /Data/Flight/Reprocess/P305

Issuing command:
datacat find --group FT1 --filter 'nMetStart>564945418 && nMetStop>=809308801.0 && nMetStart<809913601.0' /Data/Flight/Level1/LPA

Retrieving 108 files...
Done.


Merging files...

Checksum keywords updated successfully.

Merged file saved to:
/lscratch/kocevski/36631672/ft1_4FGL_J1238.5-1201_weekly_bin943.fits


Retrieving the FT1 file...

Issuing command:
datacat find --group FT2 --filter 'nMetStop>=809308801.0 && nMetStart<809913601.0' /Data/Flight/Level1/LPA

Retrieving 108 files...
Done.


Merging files...

Merged file saved to:
/lscratch/kocevski/36631672/ft2_4FGL_J1238.5-1201_weekly_bin943.fits


Selecting the photons:
time -p gtselect infile=/lscratch/kocevski/36631672/ft1_4FGL_J1238.5-1201_weekly_bin943.fits outfile=/lscratch/kocevski/36631672/ft1_filteredMKT_4FGL_J1238.5-1201_weekly_bin943.fits ra=189.625 dec=-12.028 rad=12.0 tmin=809308801.0 tmax=809913601.0 emin=100.0 emax=100000.0 zmin=0.0 zmax=90.0 evclass=128 evtype="INDEF" convtype=-1 phasemin=0.0 phasemax=1.0 evtable="EVENTS" chatter=2 clobber=yes debug=no gui=no mode="ql"

WARNING: version mismatch between CFITSIO header (v3.43) and linked library (v3.41).

Done.
real 7.38
user 6.49
sys 0.31

Adding sun position to ft2 file:
/sdf/group/fermi/g/LCRepository/Repository/bin/sunpos /lscratch/kocevski/36631672/ft2_4FGL_J1238.5-1201_weekly_bin943.fits

Selecting the good time intervals:
time -p gtmktime scfile=/lscratch/kocevski/36631672/ft2_4FGL_J1238.5-1201_weekly_bin943.fits sctable="SC_DATA" filter="IN_SAA!=T && LIVETIME>0 && gtifilter('/sdf/group/fermi/g/LCRepository/Likelihood/GTIs/nogrb.gti',(START+STOP)/2) && (angsep(RA_SUN,DEC_SUN,RA_ZENITH,DEC_ZENITH)>115 || gtifilter('/sdf/group/fermi/g/LCRepository/Likelihood/GTIs/nosolarflares.gti',(START+STOP)/2))" roicut=no evfile=/lscratch/kocevski/36631672/ft1_filteredMKT_4FGL_J1238.5-1201_weekly_bin943.fits evtable="EVENTS" outfile="/lscratch/kocevski/36631672/ft1_filtered_4FGL_J1238.5-1201_weekly_bin943.fits" apply_filter=yes overwrite=yes header_obstimes=yes tstart=0.0 tstop=0.0 gtifile="default" chatter=3 clobber=yes debug=no gui=no mode="ql"

WARNING: version mismatch between CFITSIO header (v3.43) and linked library (v3.41).

This is gtmktime version HEAD
Applying GTI filter:
IN_SAA!=T && LIVETIME>0 && gtifilter('/sdf/group/fermi/g/LCRepository/Likelihood/GTIs/nogrb.gti',(START+STOP)/2) && (angsep(RA_SUN,DEC_SUN,RA_ZENITH,DEC_ZENITH)>115 || gtifilter('/sdf/group/fermi/g/LCRepository/Likelihood/GTIs/nosolarflares.gti',(START+STOP)/2))
real 0.68
user 0.22
sys 0.14

Number of photons that the gtmktime cut: 2009

Generating the livetime cube:
time -p gtltcube evfile="/lscratch/kocevski/36631672/ft1_filtered_4FGL_J1238.5-1201_weekly_bin943.fits" evtable="EVENTS" scfile=/lscratch/kocevski/36631672/ft2_4FGL_J1238.5-1201_weekly_bin943.fits sctable="SC_DATA" outfile=/lscratch/kocevski/36631492/ltcube_809308801_809913601_4FGL_J1238.5-1201_weekly_bin943.fits dcostheta=0.025 binsz=1.0 phibins=0 tmin=0.0 tmax=0.0 file_version="1" zmin=0.0 zmax=90.0 chatter=2 clobber=yes debug=no gui=no mode="ql"

WARNING: version mismatch between CFITSIO header (v3.43) and linked library (v3.41).

Working on file /lscratch/kocevski/36631492/ft2_4FGL_J1238.5-1201_weekly_bin943.fits
.....................!
real 18.42
user 17.69
sys 0.23

Generating the exposure map:
time -p gtexpmap evfile=/lscratch/kocevski/36631492/ft1_filtered_4FGL_J1238.5-1201_weekly_bin943.fits evtable="EVENTS" scfile=/lscratch/kocevski/36631492/ft2_4FGL_J1238.5-1201_weekly_bin943.fits sctable="SC_DATA" expcube=/lscratch/kocevski/36631492/ltcube_809308801_809913601_4FGL_J1238.5-1201_weekly_bin943.fits outfile=/lscratch/kocevski/36631492/expmap_809308801_809913601_4FGL_J1238.5-1201_weekly_bin943.fits irfs="P8R3_SOURCE_V2" evtype="INDEF" srcrad=30.0 nlong=88 nlat=88 nenergies=10 submap=no nlongmin=0 nlongmax=0 nlatmin=0 nlatmax=0 chatter=2 clobber=yes debug=no gui=no mode="ql"

WARNING: version mismatch between CFITSIO header (v3.43) and linked library (v3.41).

The exposure maps generated by this tool are meant
to be used for *unbinned* likelihood analysis only.
Do not use them for binned analyses.
Computing the ExposureMap using /lscratch/kocevski/36631492/ltcube_809308801_809913601_4FGL_J1238.5-1201_weekly_bin943.fits
.....................!
real 65.83
user 61.52
sys 3.69

Generating the xml model:
radLim = 0.001
maxRad = 12
normsOnly = True
freeVariableSources = True
Fixing all sources to their catalog values, except variable sources
Creating file and adding sources from 4FGL
Added 186 point sources and 0 extended sources

Setting source of interest to:
4FGL J1238.5-1201 @ 189.625 -12.028

Creating the counts map:
time -p gtbin evfile=/lscratch/kocevski/36631492/ft1_filtered_4FGL_J1238.5-1201_weekly_bin943.fits scfile=/lscratch/kocevski/36631492/ft2_4FGL_J1238.5-1201_weekly_bin943.fits outfile=/lscratch/kocevski/36631492/cmap_809308801_809913601_4FGL_J1238.5-1201_weekly_bin943.fits algorithm="CMAP" ebinalg="LOG" emin=30.0 emax=200000.0 ebinfile=NONE tbinalg="LIN" tbinfile=NONE nxpix=160 nypix=160 binsz=0.25 coordsys="CEL" xref=189.625 yref=-12.028 axisrot=0.0 rafield="RA" decfield="DEC" proj="AIT" hpx_ordering_scheme="RING" hpx_order=3 hpx_ebin=yes hpx_region="" evtable="EVENTS" sctable="SC_DATA" efield="ENERGY" tfield="TIME" chatter=2 clobber=yes debug=no gui=no mode="ql"

WARNING: version mismatch between CFITSIO header (v3.43) and linked library (v3.41).

This is gtbin version HEAD
real 0.57
user 0.22
sys 0.14

Creating the high resolution counts map:
time -p gtbin evfile=/lscratch/kocevski/36631492/ft1_filtered_4FGL_J1238.5-1201_weekly_bin943.fits scfile=/lscratch/kocevski/36631492/ft2_4FGL_J1238.5-1201_weekly_bin943.fits outfile=/lscratch/kocevski/36631492/cmap_HighResolution_809308801_809913601_4FGL_J1238.5-1201_weekly_bin943.fits algorithm="CMAP" ebinalg="LOG" emin=30.0 emax=200000.0 ebinfile=NONE tbinalg="LIN" tbinfile=NONE nxpix=500 nypix=500 binsz=0.1 coordsys="CEL" xref=189.625 yref=-12.028 axisrot=0.0 rafield="RA" decfield="DEC" proj="AIT" hpx_ordering_scheme="RING" hpx_order=3 hpx_ebin=yes hpx_region="" evtable="EVENTS" sctable="SC_DATA" efield="ENERGY" tfield="TIME" chatter=2 clobber=yes debug=no gui=no mode="ql"

WARNING: version mismatch between CFITSIO header (v3.43) and linked library (v3.41).

This is gtbin version HEAD
real 0.66
user 0.24
sys 0.13

Computing the diffuse response:
time -p gtdiffrsp evfile=/lscratch/kocevski/36631492/ft1_filtered_4FGL_J1238.5-1201_weekly_bin943.fits evtable="EVENTS" scfile=/lscratch/kocevski/36631492/ft2_4FGL_J1238.5-1201_weekly_bin943.fits sctable="SC_DATA" srcmdl=/lscratch/kocevski/36631492/Model_4FGL_J1238.5-1201_weekly_bin943.xml irfs="P8R3_SOURCE_V2" evclsmin=0 evclass="INDEF" evtype="INDEF" convert=yes chatter=2 clobber=yes debug=no gui=no mode="ql"

WARNING: version mismatch between CFITSIO header (v3.43) and linked library (v3.41).

adding source EG_v02
adding sourcnumber of points = 17387
number of fields = 31
RA_SUN column already exists. File will not be modified.
Done.


Performing analysis on: 4FGL_J1238.5-1201_weekly_bin943
RA = 189.625, Dec = -12.028
tmin = 809308801, tmax = 809913601
emin = 100.0, emax = 100000.0
irfs = P8R3_SOURCE_V2
ROI = 12
zmax = 90

Fitting strategies:
Fix sources to their catalog values = True
Leave variable source normalizations free = True
Perform pre-fit where ALL sources are frozen to catalog values = False
Perform secondary fit with a free spectral index = True
Remove all catalog sources = False
Remove weak (TS < 2) catalog sources = False
Freeze Galactic component = False

Likelihood fit parameters:
Statistic: UNBINNED
Optimizer: MINUIT

Catalog: 4FGL

Repository job = True

LAT data source:
Data catalog

Updating database...

UPDATE lightcurve_data_v2 SET job_id='36631695', job_status='RUN', time_executed='2026-09-01 09:59:32.749448', time_epoch_executed='1788281972.75' WHERE source_name='4FGL J1238.5-1201' and cadence='weekly' and bin_id='943'

Database successfully updated.
Done.

Creating custom output directory:
/lscratch/kocevski/36631695

Creating custom pfile directory:
/lscratch/kocevski/36631695/pfiles/

Retrieving the FT1 file...

Issuing command:
datacat find --group FT1 --filter 'nMetStop>=809308801.0 && nMetStart<809913601.0' /Data/Flight/Reprocess/P305

Issuing command:
datacat find --group FT1 --filter 'nMetStart>564945418 && nMetStop>=809308801.0 && nMetStart<809913601.0' /Data/Flight/Level1/LPA

Retrieving 108 files...
Done.


Merging files...

Checksum keywords updated successfully.

Merged file saved to:
/lscratch/kocevski/36631695/ft1_4FGL_J1238.5-1201_weekly_bin943.fits


Retrieving the FT1 file...

Issuing command:
datacat find --group FT2 --filter 'nMetStop>=809308801.0 && nMetStart<809913601.0' /Data/Flight/Level1/LPA

Retrieving 108 files...
Done.


Merging files...

Merged file saved to:
/lscratch/kocevski/36631695/ft2_4FGL_J1238.5-1201_weekly_bin943.fits


Selecting the photons:
time -p gtselect infile=/lscratch/kocevski/36631695/ft1_4FGL_J1238.5-1201_weekly_bin943.fits outfile=/lscratch/kocevski/36631695/ft1_filteredMKT_4FGL_J1238.5-1201_weekly_bin943.fits ra=189.625 dec=-12.028 rad=12.0 tmin=809308801.0 tmax=809913601.0 emin=100.0 emax=100000.0 zmin=0.0 zmax=90.0 evclass=128 evtype="INDEF" convtype=-1 phasemin=0.0 phasemax=1.0 evtable="EVENTS" chatter=2 clobber=yes debug=no gui=no mode="ql"

WARNING: version mismatch between CFITSIO header (v3.43) and linked library (v3.41).

Done.
real 6.97
user 6.27
sys 0.28

Adding sun position to ft2 file:
/sdf/group/fermi/g/LCRepository/Repository/bin/sunpos /lscratch/kocevski/36631695/ft2_4FGL_J1238.5-1201_weekly_bin943.fits

Selecting the good time intervals:
time -p gtmktime scfile=/lscratch/kocevski/36631695/ft2_4FGL_J1238.5-1201_weekly_bin943.fits sctable="SC_DATA" filter="IN_SAA!=T && LIVETIME>0 && gtifilter('/sdf/group/fermi/g/LCRepository/Likelihood/GTIs/nogrb.gti',(START+STOP)/2) && (angsep(RA_SUN,DEC_SUN,RA_ZENITH,DEC_ZENITH)>115 || gtifilter('/sdf/group/fermi/g/LCRepository/Likelihood/GTIs/nosolarflares.gti',(START+STOP)/2))" roicut=no evfile=/lscratch/kocevski/36631695/ft1_filteredMKT_4FGL_J1238.5-1201_weekly_bin943.fits evtable="EVENTS" outfile="/lscratch/kocevski/36631695/ft1_filtered_4FGL_J1238.5-1201_weekly_bin943.fits" apply_filter=yes overwrite=yes header_obstimes=yes tstart=0.0 tstop=0.0 gtifile="default" chatter=3 clobber=yes debug=no gui=no mode="ql"

WARNING: version mismatch between CFITSIO header (v3.43) and linked library (v3.41).

This is gtmktime version HEAD
Applying GTI filter:
IN_SAA!=T && LIVETIME>0 && gtifilter('/sdf/group/fermi/g/LCRepository/Likelihood/GTIs/nogrb.gti',(START+STOP)/2) && (angsep(RA_SUN,DEC_SUN,RA_ZENITH,DEC_ZENITH)>115 || gtifilter('/sdf/group/fermi/g/LCRepository/Likelihood/GTIs/nosolarflares.gti',(START+STOP)/2))
real 0.66
user 0.23
sys 0.14

Number of photons that the gtmktime cut: 2009

Generating the livetime cube:
time -p gtltcube evfile="/lscratch/kocevski/36631695/ft1_filtered_4FGL_J1238.5-1201_weekly_bin943.fits" evtable="EVENTS" scfile=/lscratch/kocevski/36631695/ft2_4FGL_J1238.5-1201_weekly_bin943.fits sctable="SC_DATA" outfile=/lscratch/kocevski/36631537/ltcube_809308801_809913601_4FGL_J1238.5-1201_weekly_bin943.fits dcostheta=0.025 binsz=1.0 phibins=0 tmin=0.0 tmax=0.0 file_version="1" zmin=0.0 zmax=90.0 chatter=2 clobber=yes debug=no gui=no mode="ql"

WARNING: version mismatch between CFITSIO header (v3.43) and linked library (v3.41).

Working on file /lscratch/kocevski/36631537/ft2_4FGL_J1238.5-1201_weekly_bin943.fits
.....................!
real 15.63
user 14.96
sys 0.22

Generating the exposure map:
time -p gtexpmap evfile=/lscratch/kocevski/36631537/ft1_filtered_4FGL_J1238.5-1201_weekly_bin943.fits evtable="EVENTS" scfile=/lscratch/kocevski/36631537/ft2_4FGL_J1238.5-1201_weekly_bin943.fits sctable="SC_DATA" expcube=/lscratch/kocevski/36631537/ltcube_809308801_809913601_4FGL_J1238.5-1201_weekly_bin943.fits outfile=/lscratch/kocevski/36631537/expmap_809308801_809913601_4FGL_J1238.5-1201_weekly_bin943.fits irfs="P8R3_SOURCE_V2" evtype="INDEF" srcrad=30.0 nlong=88 nlat=88 nenergies=10 submap=no nlongmin=0 nlongmax=0 nlatmin=0 nlatmax=0 chatter=2 clobber=yes debug=no gui=no mode="ql"

WARNING: version mismatch between CFITSIO header (v3.43) and linked library (v3.41).

The exposure maps generated by this tool are meant
to be used for *unbinned* likelihood analysis only.
Do not use them for binned analyses.
Computing the ExposureMap using /lscratch/kocevski/36631537/ltcube_809308801_809913601_4FGL_J1238.5-1201_weekly_bin943.fits
.....................!
real 59.79
user 55.54
sys 3.48

Generating the xml model:
radLim = 0.001
maxRad = 12
normsOnly = True
freeVariableSources = True
Fixing all sources to their catalog values, except variable sources
Creating file and adding sources from 4FGL
Added 186 point sources and 0 extended sources

Setting source of interest to:
4FGL J1238.5-1201 @ 189.625 -12.028

Creating the counts map:
time -p gtbin evfile=/lscratch/kocevski/36631537/ft1_filtered_4FGL_J1238.5-1201_weekly_bin943.fits scfile=/lscratch/kocevski/36631537/ft2_4FGL_J1238.5-1201_weekly_bin943.fits outfile=/lscratch/kocevski/36631537/cmap_809308801_809913601_4FGL_J1238.5-1201_weekly_bin943.fits algorithm="CMAP" ebinalg="LOG" emin=30.0 emax=200000.0 ebinfile=NONE tbinalg="LIN" tbinfile=NONE nxpix=160 nypix=160 binsz=0.25 coordsys="CEL" xref=189.625 yref=-12.028 axisrot=0.0 rafield="RA" decfield="DEC" proj="AIT" hpx_ordering_scheme="RING" hpx_order=3 hpx_ebin=yes hpx_region="" evtable="EVENTS" sctable="SC_DATA" efield="ENERGY" tfield="TIME" chatter=2 clobber=yes debug=no gui=no mode="ql"

WARNING: version mismatch between CFITSIO header (v3.43) and linked library (v3.41).

This is gtbin version HEAD
real 0.64
user 0.22
sys 0.12

Creating the high resolution counts map:
time -p gtbin evfile=/lscratch/kocevski/36631537/ft1_filtered_4FGL_J1238.5-1201_weekly_bin943.fits scfile=/lscratch/kocevski/36631537/ft2_4FGL_J1238.5-1201_weekly_bin943.fits outfile=/lscratch/kocevski/36631537/cmap_HighResolution_809308801_809913601_4FGL_J1238.5-1201_weekly_bin943.fits algorithm="CMAP" ebinalg="LOG" emin=30.0 emax=200000.0 ebinfile=NONE tbinalg="LIN" tbinfile=NONE nxpix=500 nypix=500 binsz=0.1 coordsys="CEL" xref=189.625 yref=-12.028 axisrot=0.0 rafield="RA" decfield="DEC" proj="AIT" hpx_ordering_scheme="RING" hpx_order=3 hpx_ebin=yes hpx_region="" evtable="EVENTS" sctable="SC_DATA" efield="ENERGY" tfield="TIME" chatter=2 clobber=yes debug=no gui=no mode="ql"

WARNING: version mismatch between CFITSIO header (v3.43) and linked library (v3.41).

This is gtbin version HEAD
real 0.63
user 0.22
sys 0.13

Computing the diffuse response:
time -p gtdiffrsp evfile=/lscratch/kocevski/36631537/ft1_filtered_4FGL_J1238.5-1201_weekly_bin943.fits evtable="EVENTS" scfile=/lscratch/kocevski/36631537/ft2_4FGL_J1238.5-1201_weekly_bin943.fits sctable="SC_DATA" srcmdl=/lscratch/kocevski/36631537/Model_4FGL_J1238.5-1201_weekly_bin943.xml irfs="P8R3_SOURCE_V2" evclsmin=0 evclass="INDEF" evtype="INDEF" convert=yes chatter=2 clobber=yes debug=no gui=no mode="ql"

WARNING: version mismatch between CFITSIO header (v3.43) and linked library (v3.41).

adding source EG_v02
adding sourcoutfile=/lscratch/kocevski/36631519/ltcube_809308801_809913601_4FGL_J1238.5-1201_weekly_bin943.fits dcostheta=0.025 binsz=1.0 phibins=0 tmin=0.0 tmax=0.0 file_version="1" zmin=0.0 zmax=90.0 chatter=2 clobber=yes debug=no gui=no mode="ql"

WARNING: version mismatch between CFITSIO header (v3.43) and linked library (v3.41).

Working on file /lscratch/kocevski/36631519/ft2_4FGL_J1238.5-1201_weekly_bin943.fits
.....................!
real 18.05
user 17.23
sys 0.26

Generating the exposure map:
time -p gtexpmap evfile=/lscratch/kocevski/36631519/ft1_filtered_4FGL_J1238.5-1201_weekly_bin943.fits evtable="EVENTS" scfile=/lscratch/kocevski/36631519/ft2_4FGL_J1238.5-1201_weekly_bin943.fits sctable="SC_DATA" expcube=/lscratch/kocevski/36631519/ltcube_809308801_809913601_4FGL_J1238.5-1201_weekly_bin943.fits outfile=/lscratch/kocevski/36631519/expmap_809308801_809913601_4FGL_J1238.5-1201_weekly_bin943.fits irfs="P8R3_SOURCE_V2" evtype="INDEF" srcrad=30.0 nlong=88 nlat=88 nenergies=10 submap=no nlongmin=0 nlongmax=0 nlatmin=0 nlatmax=0 chatter=2 clobber=yes debug=no gui=no mode="ql"

WARNING: version mismatch between CFITSIO header (v3.43) and linked library (v3.41).

The exposure maps generated by this tool are meant
to be used for *unbinned* likelihood analysis only.
Do not use them for binned analyses.
Computing the ExposureMap using /lscratch/kocevski/36631519/ltcube_809308801_809913601_4FGL_J1238.5-1201_weekly_bin943.fits
.....................!
real 69.05
user 64.24
sys 3.94

Generating the xml model:
radLim = 0.001
maxRad = 12
normsOnly = True
freeVariableSources = True
Fixing all sources to their catalog values, except variable sources
Creating file and adding sources from 4FGL
Added 186 point sources and 0 extended sources

Setting source of interest to:
4FGL J1238.5-1201 @ 189.625 -12.028

Creating the counts map:
time -p gtbin evfile=/lscratch/kocevski/36631519/ft1_filtered_4FGL_J1238.5-1201_weekly_bin943.fits scfile=/lscratch/kocevski/36631519/ft2_4FGL_J1238.5-1201_weekly_bin943.fits outfile=/lscratch/kocevski/36631519/cmap_809308801_809913601_4FGL_J1238.5-1201_weekly_bin943.fits algorithm="CMAP" ebinalg="LOG" emin=30.0 emax=200000.0 ebinfile=NONE tbinalg="LIN" tbinfile=NONE nxpix=160 nypix=160 binsz=0.25 coordsys="CEL" xref=189.625 yref=-12.028 axisrot=0.0 rafield="RA" decfield="DEC" proj="AIT" hpx_ordering_scheme="RING" hpx_order=3 hpx_ebin=yes hpx_region="" evtable="EVENTS" sctable="SC_DATA" efield="ENERGY" tfield="TIME" chatter=2 clobber=yes debug=no gui=no mode="ql"

WARNING: version mismatch between CFITSIO header (v3.43) and linked library (v3.41).

This is gtbin version HEAD
real 0.69
user 0.23
sys 0.11

Creating the high resolution counts map:
time -p gtbin evfile=/lscratch/kocevski/36631519/ft1_filtered_4FGL_J1238.5-1201_weekly_bin943.fits scfile=/lscratch/kocevski/36631519/ft2_4FGL_J1238.5-1201_weekly_bin943.fits outfile=/lscratch/kocevski/36631519/cmap_HighResolution_809308801_809913601_4FGL_J1238.5-1201_weekly_bin943.fits algorithm="CMAP" ebinalg="LOG" emin=30.0 emax=200000.0 ebinfile=NONE tbinalg="LIN" tbinfile=NONE nxpix=500 nypix=500 binsz=0.1 coordsys="CEL" xref=189.625 yref=-12.028 axisrot=0.0 rafield="RA" decfield="DEC" proj="AIT" hpx_ordering_scheme="RING" hpx_order=3 hpx_ebin=yes hpx_region="" evtable="EVENTS" sctable="SC_DATA" efield="ENERGY" tfield="TIME" chatter=2 clobber=yes debug=no gui=no mode="ql"

WARNING: version mismatch between CFITSIO header (v3.43) and linked library (v3.41).

This is gtbin version HEAD
real 0.73
user 0.24
sys 0.13

Computing the diffuse response:
time -p gtdiffrsp evfile=/lscratch/kocevski/36631519/ft1_filtered_4FGL_J1238.5-1201_weekly_bin943.fits evtable="EVENTS" scfile=/lscratch/kocevski/36631519/ft2_4FGL_J1238.5-1201_weekly_bin943.fits sctable="SC_DATA" srcmdl=/lscratch/kocevski/36631519/Model_4FGL_J1238.5-1201_weekly_bin943.xml irfs="P8R3_SOURCE_V2" evclsmin=0 evclass="INDEF" evtype="INDEF" convert=yes chatter=2 clobber=yes debug=no gui=no mode="ql"

WARNING: version mismatch between CFITSIO header (v3.43) and linked library (v3.41).

adding source EG_v02
adding sourcenumber of points = 17387
number of fields = 31
RA_SUN column already exists. File will not be modified.
Done.


Performing analysis on: 4FGL_J1238.5-1201_weekly_bin943
RA = 189.625, Dec = -12.028
tmin = 809308801, tmax = 809913601
emin = 100.0, emax = 100000.0
irfs = P8R3_SOURCE_V2
ROI = 12
zmax = 90

Fitting strategies:
Fix sources to their catalog values = True
Leave variable source normalizations free = True
Perform pre-fit where ALL sources are frozen to catalog values = False
Perform secondary fit with a free spectral index = True
Remove all catalog sources = False
Remove weak (TS < 2) catalog sources = False
Freeze Galactic component = False

Likelihood fit parameters:
Statistic: UNBINNED
Optimizer: MINUIT

Catalog: 4FGL

Repository job = True

LAT data source:
Data catalog

Updating database...

UPDATE lightcurve_data_v2 SET job_id='36631749', job_status='RUN', time_executed='2026-09-01 10:00:15.390920', time_epoch_executed='1788282015.39' WHERE source_name='4FGL J1238.5-1201' and cadence='weekly' and bin_id='943'

Database successfully updated.
Done.

Creating custom output directory:
/lscratch/kocevski/36631749

Creating custom pfile directory:
/lscratch/kocevski/36631749/pfiles/

Retrieving the FT1 file...

Issuing command:
datacat find --group FT1 --filter 'nMetStop>=809308801.0 && nMetStart<809913601.0' /Data/Flight/Reprocess/P305

Issuing command:
datacat find --group FT1 --filter 'nMetStart>564945418 && nMetStop>=809308801.0 && nMetStart<809913601.0' /Data/Flight/Level1/LPA

Retrieving 108 files...
Done.


Merging files...

Checksum keywords updated successfully.

Merged file saved to:
/lscratch/kocevski/36631749/ft1_4FGL_J1238.5-1201_weekly_bin943.fits


Retrieving the FT1 file...

Issuing command:
datacat find --group FT2 --filter 'nMetStop>=809308801.0 && nMetStart<809913601.0' /Data/Flight/Level1/LPA

Retrieving 108 files...
Done.


Merging files...

Merged file saved to:
/lscratch/kocevski/36631749/ft2_4FGL_J1238.5-1201_weekly_bin943.fits


Selecting the photons:
time -p gtselect infile=/lscratch/kocevski/36631749/ft1_4FGL_J1238.5-1201_weekly_bin943.fits outfile=/lscratch/kocevski/36631749/ft1_filteredMKT_4FGL_J1238.5-1201_weekly_bin943.fits ra=189.625 dec=-12.028 rad=12.0 tmin=809308801.0 tmax=809913601.0 emin=100.0 emax=100000.0 zmin=0.0 zmax=90.0 evclass=128 evtype="INDEF" convtype=-1 phasemin=0.0 phasemax=1.0 evtable="EVENTS" chatter=2 clobber=yes debug=no gui=no mode="ql"

WARNING: version mismatch between CFITSIO header (v3.43) and linked library (v3.41).

Done.
real 7.11
user 6.41
sys 0.30

Adding sun position to ft2 file:
/sdf/group/fermi/g/LCRepository/Repository/bin/sunpos /lscratch/kocevski/36631749/ft2_4FGL_J1238.5-1201_weekly_bin943.fits

Selecting the good time intervals:
time -p gtmktime scfile=/lscratch/kocevski/36631749/ft2_4FGL_J1238.5-1201_weekly_bin943.fits sctable="SC_DATA" filter="IN_SAA!=T && LIVETIME>0 && gtifilter('/sdf/group/fermi/g/LCRepository/Likelihood/GTIs/nogrb.gti',(START+STOP)/2) && (angsep(RA_SUN,DEC_SUN,RA_ZENITH,DEC_ZENITH)>115 || gtifilter('/sdf/group/fermi/g/LCRepository/Likelihood/GTIs/nosolarflares.gti',(START+STOP)/2))" roicut=no evfile=/lscratch/kocevski/36631749/ft1_filteredMKT_4FGL_J1238.5-1201_weekly_bin943.fits evtable="EVENTS" outfile="/lscratch/kocevski/36631749/ft1_filtered_4FGL_J1238.5-1201_weekly_bin943.fits" apply_filter=yes overwrite=yes header_obstimes=yes tstart=0.0 tstop=0.0 gtifile="default" chatter=3 clobber=yes debug=no gui=no mode="ql"

WARNING: version mismatch between CFITSIO header (v3.43) and linked library (v3.41).

This is gtmktime version HEAD
Applying GTI filter:
IN_SAA!=T && LIVETIME>0 && gtifilter('/sdf/group/fermi/g/LCRepository/Likelihood/GTIs/nogrb.gti',(START+STOP)/2) && (angsep(RA_SUN,DEC_SUN,RA_ZENITH,DEC_ZENITH)>115 || gtifilter('/sdf/group/fermi/g/LCRepository/Likelihood/GTIs/nosolarflares.gti',(START+STOP)/2))
real 0.69
user 0.21
sys 0.13

Number of photons that the gtmktime cut: 2009

Generating the livetime cube:
time -p gtltcube evfile="/lscratch/kocevski/36631749/ft1_filtered_4FGL_J1238.5-1201_weekly_bin943.fits" evtable="EVENTS" scfile=/lscratch/kocevski/36631749/ft2_4FGL_J1238.5-1201_weekly_bin943.fits sctable="SC_DATA" outfile=/lscratch/kocevski/36631570/ltcube_809308801_809913601_4FGL_J1238.5-1201_weekly_bin943.fits dcostheta=0.025 binsz=1.0 phibins=0 tmin=0.0 tmax=0.0 file_version="1" zmin=0.0 zmax=90.0 chatter=2 clobber=yes debug=no gui=no mode="ql"

WARNING: version mismatch between CFITSIO header (v3.43) and linked library (v3.41).

Working on file /lscratch/kocevski/36631570/ft2_4FGL_J1238.5-1201_weekly_bin943.fits
.....................!
real 16.33
user 15.66
sys 0.24

Generating the exposure map:
time -p gtexpmap evfile=/lscratch/kocevski/36631570/ft1_filtered_4FGL_J1238.5-1201_weekly_bin943.fits evtable="EVENTS" scfile=/lscratch/kocevski/36631570/ft2_4FGL_J1238.5-1201_weekly_bin943.fits sctable="SC_DATA" expcube=/lscratch/kocevski/36631570/ltcube_809308801_809913601_4FGL_J1238.5-1201_weekly_bin943.fits outfile=/lscratch/kocevski/36631570/expmap_809308801_809913601_4FGL_J1238.5-1201_weekly_bin943.fits irfs="P8R3_SOURCE_V2" evtype="INDEF" srcrad=30.0 nlong=88 nlat=88 nenergies=10 submap=no nlongmin=0 nlongmax=0 nlatmin=0 nlatmax=0 chatter=2 clobber=yes debug=no gui=no mode="ql"

WARNING: version mismatch between CFITSIO header (v3.43) and linked library (v3.41).

The exposure maps generated by this tool are meant
to be used for *unbinned* likelihood analysis only.
Do not use them for binned analyses.
Computing the ExposureMap using /lscratch/kocevski/36631570/ltcube_809308801_809913601_4FGL_J1238.5-1201_weekly_bin943.fits
.....................!
real 60.25
user 56.21
sys 3.29

Generating the xml model:
radLim = 0.001
maxRad = 12
normsOnly = True
freeVariableSources = True
Fixing all sources to their catalog values, except variable sources
Creating file and adding sources from 4FGL
Added 186 point sources and 0 extended sources

Setting source of interest to:
4FGL J1238.5-1201 @ 189.625 -12.028

Creating the counts map:
time -p gtbin evfile=/lscratch/kocevski/36631570/ft1_filtered_4FGL_J1238.5-1201_weekly_bin943.fits scfile=/lscratch/kocevski/36631570/ft2_4FGL_J1238.5-1201_weekly_bin943.fits outfile=/lscratch/kocevski/36631570/cmap_809308801_809913601_4FGL_J1238.5-1201_weekly_bin943.fits algorithm="CMAP" ebinalg="LOG" emin=30.0 emax=200000.0 ebinfile=NONE tbinalg="LIN" tbinfile=NONE nxpix=160 nypix=160 binsz=0.25 coordsys="CEL" xref=189.625 yref=-12.028 axisrot=0.0 rafield="RA" decfield="DEC" proj="AIT" hpx_ordering_scheme="RING" hpx_order=3 hpx_ebin=yes hpx_region="" evtable="EVENTS" sctable="SC_DATA" efield="ENERGY" tfield="TIME" chatter=2 clobber=yes debug=no gui=no mode="ql"

WARNING: version mismatch between CFITSIO header (v3.43) and linked library (v3.41).

This is gtbin version HEAD
real 0.66
user 0.21
sys 0.14

Creating the high resolution counts map:
time -p gtbin evfile=/lscratch/kocevski/36631570/ft1_filtered_4FGL_J1238.5-1201_weekly_bin943.fits scfile=/lscratch/kocevski/36631570/ft2_4FGL_J1238.5-1201_weekly_bin943.fits outfile=/lscratch/kocevski/36631570/cmap_HighResolution_809308801_809913601_4FGL_J1238.5-1201_weekly_bin943.fits algorithm="CMAP" ebinalg="LOG" emin=30.0 emax=200000.0 ebinfile=NONE tbinalg="LIN" tbinfile=NONE nxpix=500 nypix=500 binsz=0.1 coordsys="CEL" xref=189.625 yref=-12.028 axisrot=0.0 rafield="RA" decfield="DEC" proj="AIT" hpx_ordering_scheme="RING" hpx_order=3 hpx_ebin=yes hpx_region="" evtable="EVENTS" sctable="SC_DATA" efield="ENERGY" tfield="TIME" chatter=2 clobber=yes debug=no gui=no mode="ql"

WARNING: version mismatch between CFITSIO header (v3.43) and linked library (v3.41).

This is gtbin version HEAD
real 0.64
user 0.23
sys 0.13

Computing the diffuse response:
time -p gtdiffrsp evfile=/lscratch/kocevski/36631570/ft1_filtered_4FGL_J1238.5-1201_weekly_bin943.fits evtable="EVENTS" scfile=/lscratch/kocevski/36631570/ft2_4FGL_J1238.5-1201_weekly_bin943.fits sctable="SC_DATA" srcmdl=/lscratch/kocevski/36631570/Model_4FGL_J1238.5-1201_weekly_bin943.xml irfs="P8R3_SOURCE_V2" evclsmin=0 evclass="INDEF" evtype="INDEF" convert=yes chatter=2 clobber=yes debug=no gui=no mode="ql"

WARNING: version mismatch between CFITSIO header (v3.43) and linked library (v3.41).

adding source EG_v02
adding sourcnumber of points = 17387
number of fields = 31
RA_SUN column already exists. File will not be modified.
Done.


Performing analysis on: 4FGL_J1238.5-1201_weekly_bin943
RA = 189.625, Dec = -12.028
tmin = 809308801, tmax = 809913601
emin = 100.0, emax = 100000.0
irfs = P8R3_SOURCE_V2
ROI = 12
zmax = 90

Fitting strategies:
Fix sources to their catalog values = True
Leave variable source normalizations free = True
Perform pre-fit where ALL sources are frozen to catalog values = False
Perform secondary fit with a free spectral index = True
Remove all catalog sources = False
Remove weak (TS < 2) catalog sources = False
Freeze Galactic component = False

Likelihood fit parameters:
Statistic: UNBINNED
Optimizer: MINUIT

Catalog: 4FGL

Repository job = True

LAT data source:
Data catalog

Updating database...

UPDATE lightcurve_data_v2 SET job_id='36631772', job_status='RUN', time_executed='2026-09-01 10:00:46.103474', time_epoch_executed='1788282046.1' WHERE source_name='4FGL J1238.5-1201' and cadence='weekly' and bin_id='943'

Database successfully updated.
Done.

Creating custom output directory:
/lscratch/kocevski/36631772

Creating custom pfile directory:
/lscratch/kocevski/36631772/pfiles/

Retrieving the FT1 file...

Issuing command:
datacat find --group FT1 --filter 'nMetStop>=809308801.0 && nMetStart<809913601.0' /Data/Flight/Reprocess/P305

Issuing command:
datacat find --group FT1 --filter 'nMetStart>564945418 && nMetStop>=809308801.0 && nMetStart<809913601.0' /Data/Flight/Level1/LPA

Retrieving 108 files...
Done.


Merging files...

Checksum keywords updated successfully.

Merged file saved to:
/lscratch/kocevski/36631772/ft1_4FGL_J1238.5-1201_weekly_bin943.fits


Retrieving the FT1 file...

Issuing command:
datacat find --group FT2 --filter 'nMetStop>=809308801.0 && nMetStart<809913601.0' /Data/Flight/Level1/LPA

Retrieving 108 files...
Done.


Merging files...

Merged file saved to:
/lscratch/kocevski/36631772/ft2_4FGL_J1238.5-1201_weekly_bin943.fits


Selecting the photons:
time -p gtselect infile=/lscratch/kocevski/36631772/ft1_4FGL_J1238.5-1201_weekly_bin943.fits outfile=/lscratch/kocevski/36631772/ft1_filteredMKT_4FGL_J1238.5-1201_weekly_bin943.fits ra=189.625 dec=-12.028 rad=12.0 tmin=809308801.0 tmax=809913601.0 emin=100.0 emax=100000.0 zmin=0.0 zmax=90.0 evclass=128 evtype="INDEF" convtype=-1 phasemin=0.0 phasemax=1.0 evtable="EVENTS" chatter=2 clobber=yes debug=no gui=no mode="ql"

WARNING: version mismatch between CFITSIO header (v3.43) and linked library (v3.41).

Done.
real 7.25
user 6.50
sys 0.38

Adding sun position to ft2 file:
/sdf/group/fermi/g/LCRepository/Repository/bin/sunpos /lscratch/kocevski/36631772/ft2_4FGL_J1238.5-1201_weekly_bin943.fits

Selecting the good time intervals:
time -p gtmktime scfile=/lscratch/kocevski/36631772/ft2_4FGL_J1238.5-1201_weekly_bin943.fits sctable="SC_DATA" filter="IN_SAA!=T && LIVETIME>0 && gtifilter('/sdf/group/fermi/g/LCRepository/Likelihood/GTIs/nogrb.gti',(START+STOP)/2) && (angsep(RA_SUN,DEC_SUN,RA_ZENITH,DEC_ZENITH)>115 || gtifilter('/sdf/group/fermi/g/LCRepository/Likelihood/GTIs/nosolarflares.gti',(START+STOP)/2))" roicut=no evfile=/lscratch/kocevski/36631772/ft1_filteredMKT_4FGL_J1238.5-1201_weekly_bin943.fits evtable="EVENTS" outfile="/lscratch/kocevski/36631772/ft1_filtered_4FGL_J1238.5-1201_weekly_bin943.fits" apply_filter=yes overwrite=yes header_obstimes=yes tstart=0.0 tstop=0.0 gtifile="default" chatter=3 clobber=yes debug=no gui=no mode="ql"

WARNING: version mismatch between CFITSIO header (v3.43) and linked library (v3.41).

This is gtmktime version HEAD
Applying GTI filter:
IN_SAA!=T && LIVETIME>0 && gtifilter('/sdf/group/fermi/g/LCRepository/Likelihood/GTIs/nogrb.gti',(START+STOP)/2) && (angsep(RA_SUN,DEC_SUN,RA_ZENITH,DEC_ZENITH)>115 || gtifilter('/sdf/group/fermi/g/LCRepository/Likelihood/GTIs/nosolarflares.gti',(START+STOP)/2))
real 0.68
user 0.22
sys 0.14

Number of photons that the gtmktime cut: 2009

Generating the livetime cube:
time -p gtltcube evfile="/lscratch/kocevski/36631772/ft1_filtered_4FGL_J1238.5-1201_weekly_bin943.fits" evtable="EVENTS" scfile=/lscratch/kocevski/36631772/ft2_4FGL_J1238.5-1201_weekly_bin943.fits sctable="SC_DATA"  outfile=/lscratch/kocevski/36631612/ltcube_809308801_809913601_4FGL_J1238.5-1201_weekly_bin943.fits dcostheta=0.025 binsz=1.0 phibins=0 tmin=0.0 tmax=0.0 file_version="1" zmin=0.0 zmax=90.0 chatter=2 clobber=yes debug=no gui=no mode="ql"

WARNING: version mismatch between CFITSIO header (v3.43) and linked library (v3.41).

Working on file /lscratch/kocevski/36631612/ft2_4FGL_J1238.5-1201_weekly_bin943.fits
.....................!
real 15.40
user 14.88
sys 0.20

Generating the exposure map:
time -p gtexpmap evfile=/lscratch/kocevski/36631612/ft1_filtered_4FGL_J1238.5-1201_weekly_bin943.fits evtable="EVENTS" scfile=/lscratch/kocevski/36631612/ft2_4FGL_J1238.5-1201_weekly_bin943.fits sctable="SC_DATA" expcube=/lscratch/kocevski/36631612/ltcube_809308801_809913601_4FGL_J1238.5-1201_weekly_bin943.fits outfile=/lscratch/kocevski/36631612/expmap_809308801_809913601_4FGL_J1238.5-1201_weekly_bin943.fits irfs="P8R3_SOURCE_V2" evtype="INDEF" srcrad=30.0 nlong=88 nlat=88 nenergies=10 submap=no nlongmin=0 nlongmax=0 nlatmin=0 nlatmax=0 chatter=2 clobber=yes debug=no gui=no mode="ql"

WARNING: version mismatch between CFITSIO header (v3.43) and linked library (v3.41).

The exposure maps generated by this tool are meant
to be used for *unbinned* likelihood analysis only.
Do not use them for binned analyses.
Computing the ExposureMap using /lscratch/kocevski/36631612/ltcube_809308801_809913601_4FGL_J1238.5-1201_weekly_bin943.fits
.....................!
real 59.67
user 55.58
sys 3.47

Generating the xml model:
radLim = 0.001
maxRad = 12
normsOnly = True
freeVariableSources = True
Fixing all sources to their catalog values, except variable sources
Creating file and adding sources from 4FGL
Added 186 point sources and 0 extended sources

Setting source of interest to:
4FGL J1238.5-1201 @ 189.625 -12.028

Creating the counts map:
time -p gtbin evfile=/lscratch/kocevski/36631612/ft1_filtered_4FGL_J1238.5-1201_weekly_bin943.fits scfile=/lscratch/kocevski/36631612/ft2_4FGL_J1238.5-1201_weekly_bin943.fits outfile=/lscratch/kocevski/36631612/cmap_809308801_809913601_4FGL_J1238.5-1201_weekly_bin943.fits algorithm="CMAP" ebinalg="LOG" emin=30.0 emax=200000.0 ebinfile=NONE tbinalg="LIN" tbinfile=NONE nxpix=160 nypix=160 binsz=0.25 coordsys="CEL" xref=189.625 yref=-12.028 axisrot=0.0 rafield="RA" decfield="DEC" proj="AIT" hpx_ordering_scheme="RING" hpx_order=3 hpx_ebin=yes hpx_region="" evtable="EVENTS" sctable="SC_DATA" efield="ENERGY" tfield="TIME" chatter=2 clobber=yes debug=no gui=no mode="ql"

WARNING: version mismatch between CFITSIO header (v3.43) and linked library (v3.41).

This is gtbin version HEAD
real 0.76
user 0.21
sys 0.13

Creating the high resolution counts map:
time -p gtbin evfile=/lscratch/kocevski/36631612/ft1_filtered_4FGL_J1238.5-1201_weekly_bin943.fits scfile=/lscratch/kocevski/36631612/ft2_4FGL_J1238.5-1201_weekly_bin943.fits outfile=/lscratch/kocevski/36631612/cmap_HighResolution_809308801_809913601_4FGL_J1238.5-1201_weekly_bin943.fits algorithm="CMAP" ebinalg="LOG" emin=30.0 emax=200000.0 ebinfile=NONE tbinalg="LIN" tbinfile=NONE nxpix=500 nypix=500 binsz=0.1 coordsys="CEL" xref=189.625 yref=-12.028 axisrot=0.0 rafield="RA" decfield="DEC" proj="AIT" hpx_ordering_scheme="RING" hpx_order=3 hpx_ebin=yes hpx_region="" evtable="EVENTS" sctable="SC_DATA" efield="ENERGY" tfield="TIME" chatter=2 clobber=yes debug=no gui=no mode="ql"

WARNING: version mismatch between CFITSIO header (v3.43) and linked library (v3.41).

This is gtbin version HEAD
real 0.66
user 0.21
sys 0.13

Computing the diffuse response:
time -p gtdiffrsp evfile=/lscratch/kocevski/36631612/ft1_filtered_4FGL_J1238.5-1201_weekly_bin943.fits evtable="EVENTS" scfile=/lscratch/kocevski/36631612/ft2_4FGL_J1238.5-1201_weekly_bin943.fits sctable="SC_DATA" srcmdl=/lscratch/kocevski/36631612/Model_4FGL_J1238.5-1201_weekly_bin943.xml irfs="P8R3_SOURCE_V2" evclsmin=0 evclass="INDEF" evtype="INDEF" convert=yes chatter=2 clobber=yes debug=no gui=no mode="ql"

WARNING: version mismatch between CFITSIO header (v3.43) and linked library (v3.41).

adding source EG_v02
adding sourc outfile=/lscratch/kocevski/36631653/ltcube_809308801_809913601_4FGL_J1238.5-1201_weekly_bin943.fits dcostheta=0.025 binsz=1.0 phibins=0 tmin=0.0 tmax=0.0 file_version="1" zmin=0.0 zmax=90.0 chatter=2 clobber=yes debug=no gui=no mode="ql"

WARNING: version mismatch between CFITSIO header (v3.43) and linked library (v3.41).

Working on file /lscratch/kocevski/36631653/ft2_4FGL_J1238.5-1201_weekly_bin943.fits
.....................!
real 16.27
user 15.72
sys 0.21

Generating the exposure map:
time -p gtexpmap evfile=/lscratch/kocevski/36631653/ft1_filtered_4FGL_J1238.5-1201_weekly_bin943.fits evtable="EVENTS" scfile=/lscratch/kocevski/36631653/ft2_4FGL_J1238.5-1201_weekly_bin943.fits sctable="SC_DATA" expcube=/lscratch/kocevski/36631653/ltcube_809308801_809913601_4FGL_J1238.5-1201_weekly_bin943.fits outfile=/lscratch/kocevski/36631653/expmap_809308801_809913601_4FGL_J1238.5-1201_weekly_bin943.fits irfs="P8R3_SOURCE_V2" evtype="INDEF" srcrad=30.0 nlong=88 nlat=88 nenergies=10 submap=no nlongmin=0 nlongmax=0 nlatmin=0 nlatmax=0 chatter=2 clobber=yes debug=no gui=no mode="ql"

WARNING: version mismatch between CFITSIO header (v3.43) and linked library (v3.41).

The exposure maps generated by this tool are meant
to be used for *unbinned* likelihood analysis only.
Do not use them for binned analyses.
Computing the ExposureMap using /lscratch/kocevski/36631653/ltcube_809308801_809913601_4FGL_J1238.5-1201_weekly_bin943.fits
.....................!
real 62.92
user 58.50
sys 3.70

Generating the xml model:
radLim = 0.001
maxRad = 12
normsOnly = True
freeVariableSources = True
Fixing all sources to their catalog values, except variable sources
Creating file and adding sources from 4FGL
Added 186 point sources and 0 extended sources

Setting source of interest to:
4FGL J1238.5-1201 @ 189.625 -12.028

Creating the counts map:
time -p gtbin evfile=/lscratch/kocevski/36631653/ft1_filtered_4FGL_J1238.5-1201_weekly_bin943.fits scfile=/lscratch/kocevski/36631653/ft2_4FGL_J1238.5-1201_weekly_bin943.fits outfile=/lscratch/kocevski/36631653/cmap_809308801_809913601_4FGL_J1238.5-1201_weekly_bin943.fits algorithm="CMAP" ebinalg="LOG" emin=30.0 emax=200000.0 ebinfile=NONE tbinalg="LIN" tbinfile=NONE nxpix=160 nypix=160 binsz=0.25 coordsys="CEL" xref=189.625 yref=-12.028 axisrot=0.0 rafield="RA" decfield="DEC" proj="AIT" hpx_ordering_scheme="RING" hpx_order=3 hpx_ebin=yes hpx_region="" evtable="EVENTS" sctable="SC_DATA" efield="ENERGY" tfield="TIME" chatter=2 clobber=yes debug=no gui=no mode="ql"

WARNING: version mismatch between CFITSIO header (v3.43) and linked library (v3.41).

This is gtbin version HEAD
real 0.79
user 0.22
sys 0.13

Creating the high resolution counts map:
time -p gtbin evfile=/lscratch/kocevski/36631653/ft1_filtered_4FGL_J1238.5-1201_weekly_bin943.fits scfile=/lscratch/kocevski/36631653/ft2_4FGL_J1238.5-1201_weekly_bin943.fits outfile=/lscratch/kocevski/36631653/cmap_HighResolution_809308801_809913601_4FGL_J1238.5-1201_weekly_bin943.fits algorithm="CMAP" ebinalg="LOG" emin=30.0 emax=200000.0 ebinfile=NONE tbinalg="LIN" tbinfile=NONE nxpix=500 nypix=500 binsz=0.1 coordsys="CEL" xref=189.625 yref=-12.028 axisrot=0.0 rafield="RA" decfield="DEC" proj="AIT" hpx_ordering_scheme="RING" hpx_order=3 hpx_ebin=yes hpx_region="" evtable="EVENTS" sctable="SC_DATA" efield="ENERGY" tfield="TIME" chatter=2 clobber=yes debug=no gui=no mode="ql"

WARNING: version mismatch between CFITSIO header (v3.43) and linked library (v3.41).

This is gtbin version HEAD
real 0.64
user 0.21
sys 0.13

Computing the diffuse response:
time -p gtdiffrsp evfile=/lscratch/kocevski/36631653/ft1_filtered_4FGL_J1238.5-1201_weekly_bin943.fits evtable="EVENTS" scfile=/lscratch/kocevski/36631653/ft2_4FGL_J1238.5-1201_weekly_bin943.fits sctable="SC_DATA" srcmdl=/lscratch/kocevski/36631653/Model_4FGL_J1238.5-1201_weekly_bin943.xml irfs="P8R3_SOURCE_V2" evclsmin=0 evclass="INDEF" evtype="INDEF" convert=yes chatter=2 clobber=yes debug=no gui=no mode="ql"

WARNING: version mismatch between CFITSIO header (v3.43) and linked library (v3.41).

adding source EG_v02
adding sourc outfile=/lscratch/kocevski/36631603/ltcube_809308801_809913601_4FGL_J1238.5-1201_weekly_bin943.fits dcostheta=0.025 binsz=1.0 phibins=0 tmin=0.0 tmax=0.0 file_version="1" zmin=0.0 zmax=90.0 chatter=2 clobber=yes debug=no gui=no mode="ql"

WARNING: version mismatch between CFITSIO header (v3.43) and linked library (v3.41).

Working on file /lscratch/kocevski/36631603/ft2_4FGL_J1238.5-1201_weekly_bin943.fits
.....................!
real 18.26
user 17.56
sys 0.24

Generating the exposure map:
time -p gtexpmap evfile=/lscratch/kocevski/36631603/ft1_filtered_4FGL_J1238.5-1201_weekly_bin943.fits evtable="EVENTS" scfile=/lscratch/kocevski/36631603/ft2_4FGL_J1238.5-1201_weekly_bin943.fits sctable="SC_DATA" expcube=/lscratch/kocevski/36631603/ltcube_809308801_809913601_4FGL_J1238.5-1201_weekly_bin943.fits outfile=/lscratch/kocevski/36631603/expmap_809308801_809913601_4FGL_J1238.5-1201_weekly_bin943.fits irfs="P8R3_SOURCE_V2" evtype="INDEF" srcrad=30.0 nlong=88 nlat=88 nenergies=10 submap=no nlongmin=0 nlongmax=0 nlatmin=0 nlatmax=0 chatter=2 clobber=yes debug=no gui=no mode="ql"

WARNING: version mismatch between CFITSIO header (v3.43) and linked library (v3.41).

The exposure maps generated by this tool are meant
to be used for *unbinned* likelihood analysis only.
Do not use them for binned analyses.
Computing the ExposureMap using /lscratch/kocevski/36631603/ltcube_809308801_809913601_4FGL_J1238.5-1201_weekly_bin943.fits
.....................!
real 70.87
user 66.01
sys 4.06

Generating the xml model:
radLim = 0.001
maxRad = 12
normsOnly = True
freeVariableSources = True
Fixing all sources to their catalog values, except variable sources
Creating file and adding sources from 4FGL
Added 186 point sources and 0 extended sources

Setting source of interest to:
4FGL J1238.5-1201 @ 189.625 -12.028

Creating the counts map:
time -p gtbin evfile=/lscratch/kocevski/36631603/ft1_filtered_4FGL_J1238.5-1201_weekly_bin943.fits scfile=/lscratch/kocevski/36631603/ft2_4FGL_J1238.5-1201_weekly_bin943.fits outfile=/lscratch/kocevski/36631603/cmap_809308801_809913601_4FGL_J1238.5-1201_weekly_bin943.fits algorithm="CMAP" ebinalg="LOG" emin=30.0 emax=200000.0 ebinfile=NONE tbinalg="LIN" tbinfile=NONE nxpix=160 nypix=160 binsz=0.25 coordsys="CEL" xref=189.625 yref=-12.028 axisrot=0.0 rafield="RA" decfield="DEC" proj="AIT" hpx_ordering_scheme="RING" hpx_order=3 hpx_ebin=yes hpx_region="" evtable="EVENTS" sctable="SC_DATA" efield="ENERGY" tfield="TIME" chatter=2 clobber=yes debug=no gui=no mode="ql"

WARNING: version mismatch between CFITSIO header (v3.43) and linked library (v3.41).

This is gtbin version HEAD
real 0.84
user 0.24
sys 0.13

Creating the high resolution counts map:
time -p gtbin evfile=/lscratch/kocevski/36631603/ft1_filtered_4FGL_J1238.5-1201_weekly_bin943.fits scfile=/lscratch/kocevski/36631603/ft2_4FGL_J1238.5-1201_weekly_bin943.fits outfile=/lscratch/kocevski/36631603/cmap_HighResolution_809308801_809913601_4FGL_J1238.5-1201_weekly_bin943.fits algorithm="CMAP" ebinalg="LOG" emin=30.0 emax=200000.0 ebinfile=NONE tbinalg="LIN" tbinfile=NONE nxpix=500 nypix=500 binsz=0.1 coordsys="CEL" xref=189.625 yref=-12.028 axisrot=0.0 rafield="RA" decfield="DEC" proj="AIT" hpx_ordering_scheme="RING" hpx_order=3 hpx_ebin=yes hpx_region="" evtable="EVENTS" sctable="SC_DATA" efield="ENERGY" tfield="TIME" chatter=2 clobber=yes debug=no gui=no mode="ql"

WARNING: version mismatch between CFITSIO header (v3.43) and linked library (v3.41).

This is gtbin version HEAD
real 0.90
user 0.24
sys 0.13

Computing the diffuse response:
time -p gtdiffrsp evfile=/lscratch/kocevski/36631603/ft1_filtered_4FGL_J1238.5-1201_weekly_bin943.fits evtable="EVENTS" scfile=/lscratch/kocevski/36631603/ft2_4FGL_J1238.5-1201_weekly_bin943.fits sctable="SC_DATA" srcmdl=/lscratch/kocevski/36631603/Model_4FGL_J1238.5-1201_weekly_bin943.xml irfs="P8R3_SOURCE_V2" evclsmin=0 evclass="INDEF" evtype="INDEF" convert=yes chatter=2 clobber=yes debug=no gui=no mode="ql"

WARNING: version mismatch between CFITSIO header (v3.43) and linked library (v3.41).

adding source EG_v02
adding sourc outfile=/lscratch/kocevski/36631678/ltcube_809308801_809913601_4FGL_J1238.5-1201_weekly_bin943.fits dcostheta=0.025 binsz=1.0 phibins=0 tmin=0.0 tmax=0.0 file_version="1" zmin=0.0 zmax=90.0 chatter=2 clobber=yes debug=no gui=no mode="ql"

WARNING: version mismatch between CFITSIO header (v3.43) and linked library (v3.41).

Working on file /lscratch/kocevski/36631678/ft2_4FGL_J1238.5-1201_weekly_bin943.fits
.....................!
real 15.59
user 14.92
sys 0.21

Generating the exposure map:
time -p gtexpmap evfile=/lscratch/kocevski/36631678/ft1_filtered_4FGL_J1238.5-1201_weekly_bin943.fits evtable="EVENTS" scfile=/lscratch/kocevski/36631678/ft2_4FGL_J1238.5-1201_weekly_bin943.fits sctable="SC_DATA" expcube=/lscratch/kocevski/36631678/ltcube_809308801_809913601_4FGL_J1238.5-1201_weekly_bin943.fits outfile=/lscratch/kocevski/36631678/expmap_809308801_809913601_4FGL_J1238.5-1201_weekly_bin943.fits irfs="P8R3_SOURCE_V2" evtype="INDEF" srcrad=30.0 nlong=88 nlat=88 nenergies=10 submap=no nlongmin=0 nlongmax=0 nlatmin=0 nlatmax=0 chatter=2 clobber=yes debug=no gui=no mode="ql"

WARNING: version mismatch between CFITSIO header (v3.43) and linked library (v3.41).

The exposure maps generated by this tool are meant
to be used for *unbinned* likelihood analysis only.
Do not use them for binned analyses.
Computing the ExposureMap using /lscratch/kocevski/36631678/ltcube_809308801_809913601_4FGL_J1238.5-1201_weekly_bin943.fits
.....................!
real 59.65
user 55.52
sys 3.42

Generating the xml model:
radLim = 0.001
maxRad = 12
normsOnly = True
freeVariableSources = True
Fixing all sources to their catalog values, except variable sources
Creating file and adding sources from 4FGL
Added 186 point sources and 0 extended sources

Setting source of interest to:
4FGL J1238.5-1201 @ 189.625 -12.028

Creating the counts map:
time -p gtbin evfile=/lscratch/kocevski/36631678/ft1_filtered_4FGL_J1238.5-1201_weekly_bin943.fits scfile=/lscratch/kocevski/36631678/ft2_4FGL_J1238.5-1201_weekly_bin943.fits outfile=/lscratch/kocevski/36631678/cmap_809308801_809913601_4FGL_J1238.5-1201_weekly_bin943.fits algorithm="CMAP" ebinalg="LOG" emin=30.0 emax=200000.0 ebinfile=NONE tbinalg="LIN" tbinfile=NONE nxpix=160 nypix=160 binsz=0.25 coordsys="CEL" xref=189.625 yref=-12.028 axisrot=0.0 rafield="RA" decfield="DEC" proj="AIT" hpx_ordering_scheme="RING" hpx_order=3 hpx_ebin=yes hpx_region="" evtable="EVENTS" sctable="SC_DATA" efield="ENERGY" tfield="TIME" chatter=2 clobber=yes debug=no gui=no mode="ql"

WARNING: version mismatch between CFITSIO header (v3.43) and linked library (v3.41).

This is gtbin version HEAD
real 0.65
user 0.21
sys 0.12

Creating the high resolution counts map:
time -p gtbin evfile=/lscratch/kocevski/36631678/ft1_filtered_4FGL_J1238.5-1201_weekly_bin943.fits scfile=/lscratch/kocevski/36631678/ft2_4FGL_J1238.5-1201_weekly_bin943.fits outfile=/lscratch/kocevski/36631678/cmap_HighResolution_809308801_809913601_4FGL_J1238.5-1201_weekly_bin943.fits algorithm="CMAP" ebinalg="LOG" emin=30.0 emax=200000.0 ebinfile=NONE tbinalg="LIN" tbinfile=NONE nxpix=500 nypix=500 binsz=0.1 coordsys="CEL" xref=189.625 yref=-12.028 axisrot=0.0 rafield="RA" decfield="DEC" proj="AIT" hpx_ordering_scheme="RING" hpx_order=3 hpx_ebin=yes hpx_region="" evtable="EVENTS" sctable="SC_DATA" efield="ENERGY" tfield="TIME" chatter=2 clobber=yes debug=no gui=no mode="ql"

WARNING: version mismatch between CFITSIO header (v3.43) and linked library (v3.41).

This is gtbin version HEAD
real 0.69
user 0.21
sys 0.14

Computing the diffuse response:
time -p gtdiffrsp evfile=/lscratch/kocevski/36631678/ft1_filtered_4FGL_J1238.5-1201_weekly_bin943.fits evtable="EVENTS" scfile=/lscratch/kocevski/36631678/ft2_4FGL_J1238.5-1201_weekly_bin943.fits sctable="SC_DATA" srcmdl=/lscratch/kocevski/36631678/Model_4FGL_J1238.5-1201_weekly_bin943.xml irfs="P8R3_SOURCE_V2" evclsmin=0 evclass="INDEF" evtype="INDEF" convert=yes chatter=2 clobber=yes debug=no gui=no mode="ql"

WARNING: version mismatch between CFITSIO header (v3.43) and linked library (v3.41).

adding source EG_v02
adding sourc outfile=/lscratch/kocevski/36631647/ltcube_809308801_809913601_4FGL_J1238.5-1201_weekly_bin943.fits dcostheta=0.025 binsz=1.0 phibins=0 tmin=0.0 tmax=0.0 file_version="1" zmin=0.0 zmax=90.0 chatter=2 clobber=yes debug=no gui=no mode="ql"

WARNING: version mismatch between CFITSIO header (v3.43) and linked library (v3.41).

Working on file /lscratch/kocevski/36631647/ft2_4FGL_J1238.5-1201_weekly_bin943.fits
.....................!
real 18.61
user 17.82
sys 0.23

Generating the exposure map:
time -p gtexpmap evfile=/lscratch/kocevski/36631647/ft1_filtered_4FGL_J1238.5-1201_weekly_bin943.fits evtable="EVENTS" scfile=/lscratch/kocevski/36631647/ft2_4FGL_J1238.5-1201_weekly_bin943.fits sctable="SC_DATA" expcube=/lscratch/kocevski/36631647/ltcube_809308801_809913601_4FGL_J1238.5-1201_weekly_bin943.fits outfile=/lscratch/kocevski/36631647/expmap_809308801_809913601_4FGL_J1238.5-1201_weekly_bin943.fits irfs="P8R3_SOURCE_V2" evtype="INDEF" srcrad=30.0 nlong=88 nlat=88 nenergies=10 submap=no nlongmin=0 nlongmax=0 nlatmin=0 nlatmax=0 chatter=2 clobber=yes debug=no gui=no mode="ql"

WARNING: version mismatch between CFITSIO header (v3.43) and linked library (v3.41).

The exposure maps generated by this tool are meant
to be used for *unbinned* likelihood analysis only.
Do not use them for binned analyses.
Computing the ExposureMap using /lscratch/kocevski/36631647/ltcube_809308801_809913601_4FGL_J1238.5-1201_weekly_bin943.fits
.....................!
real 69.97
user 65.17
sys 4.12

Generating the xml model:
radLim = 0.001
maxRad = 12
normsOnly = True
freeVariableSources = True
Fixing all sources to their catalog values, except variable sources
Creating file and adding sources from 4FGL
Added 186 point sources and 0 extended sources

Setting source of interest to:
4FGL J1238.5-1201 @ 189.625 -12.028

Creating the counts map:
time -p gtbin evfile=/lscratch/kocevski/36631647/ft1_filtered_4FGL_J1238.5-1201_weekly_bin943.fits scfile=/lscratch/kocevski/36631647/ft2_4FGL_J1238.5-1201_weekly_bin943.fits outfile=/lscratch/kocevski/36631647/cmap_809308801_809913601_4FGL_J1238.5-1201_weekly_bin943.fits algorithm="CMAP" ebinalg="LOG" emin=30.0 emax=200000.0 ebinfile=NONE tbinalg="LIN" tbinfile=NONE nxpix=160 nypix=160 binsz=0.25 coordsys="CEL" xref=189.625 yref=-12.028 axisrot=0.0 rafield="RA" decfield="DEC" proj="AIT" hpx_ordering_scheme="RING" hpx_order=3 hpx_ebin=yes hpx_region="" evtable="EVENTS" sctable="SC_DATA" efield="ENERGY" tfield="TIME" chatter=2 clobber=yes debug=no gui=no mode="ql"

WARNING: version mismatch between CFITSIO header (v3.43) and linked library (v3.41).

This is gtbin version HEAD
real 0.65
user 0.24
sys 0.13

Creating the high resolution counts map:
time -p gtbin evfile=/lscratch/kocevski/36631647/ft1_filtered_4FGL_J1238.5-1201_weekly_bin943.fits scfile=/lscratch/kocevski/36631647/ft2_4FGL_J1238.5-1201_weekly_bin943.fits outfile=/lscratch/kocevski/36631647/cmap_HighResolution_809308801_809913601_4FGL_J1238.5-1201_weekly_bin943.fits algorithm="CMAP" ebinalg="LOG" emin=30.0 emax=200000.0 ebinfile=NONE tbinalg="LIN" tbinfile=NONE nxpix=500 nypix=500 binsz=0.1 coordsys="CEL" xref=189.625 yref=-12.028 axisrot=0.0 rafield="RA" decfield="DEC" proj="AIT" hpx_ordering_scheme="RING" hpx_order=3 hpx_ebin=yes hpx_region="" evtable="EVENTS" sctable="SC_DATA" efield="ENERGY" tfield="TIME" chatter=2 clobber=yes debug=no gui=no mode="ql"

WARNING: version mismatch between CFITSIO header (v3.43) and linked library (v3.41).

This is gtbin version HEAD
real 0.73
user 0.23
sys 0.14

Computing the diffuse response:
time -p gtdiffrsp evfile=/lscratch/kocevski/36631647/ft1_filtered_4FGL_J1238.5-1201_weekly_bin943.fits evtable="EVENTS" scfile=/lscratch/kocevski/36631647/ft2_4FGL_J1238.5-1201_weekly_bin943.fits sctable="SC_DATA" srcmdl=/lscratch/kocevski/36631647/Model_4FGL_J1238.5-1201_weekly_bin943.xml irfs="P8R3_SOURCE_V2" evclsmin=0 evclass="INDEF" evtype="INDEF" convert=yes chatter=2 clobber=yes debug=no gui=no mode="ql"

WARNING: version mismatch between CFITSIO header (v3.43) and linked library (v3.41).

adding source EG_v02
adding sourc outfile=/lscratch/kocevski/36631672/ltcube_809308801_809913601_4FGL_J1238.5-1201_weekly_bin943.fits dcostheta=0.025 binsz=1.0 phibins=0 tmin=0.0 tmax=0.0 file_version="1" zmin=0.0 zmax=90.0 chatter=2 clobber=yes debug=no gui=no mode="ql"

WARNING: version mismatch between CFITSIO header (v3.43) and linked library (v3.41).

Working on file /lscratch/kocevski/36631672/ft2_4FGL_J1238.5-1201_weekly_bin943.fits
.....................!
real 18.55
user 17.69
sys 0.23

Generating the exposure map:
time -p gtexpmap evfile=/lscratch/kocevski/36631672/ft1_filtered_4FGL_J1238.5-1201_weekly_bin943.fits evtable="EVENTS" scfile=/lscratch/kocevski/36631672/ft2_4FGL_J1238.5-1201_weekly_bin943.fits sctable="SC_DATA" expcube=/lscratch/kocevski/36631672/ltcube_809308801_809913601_4FGL_J1238.5-1201_weekly_bin943.fits outfile=/lscratch/kocevski/36631672/expmap_809308801_809913601_4FGL_J1238.5-1201_weekly_bin943.fits irfs="P8R3_SOURCE_V2" evtype="INDEF" srcrad=30.0 nlong=88 nlat=88 nenergies=10 submap=no nlongmin=0 nlongmax=0 nlatmin=0 nlatmax=0 chatter=2 clobber=yes debug=no gui=no mode="ql"

WARNING: version mismatch between CFITSIO header (v3.43) and linked library (v3.41).

The exposure maps generated by this tool are meant
to be used for *unbinned* likelihood analysis only.
Do not use them for binned analyses.
Computing the ExposureMap using /lscratch/kocevski/36631672/ltcube_809308801_809913601_4FGL_J1238.5-1201_weekly_bin943.fits
.....................!
real 69.87
user 64.66
sys 4.05

Generating the xml model:
radLim = 0.001
maxRad = 12
normsOnly = True
freeVariableSources = True
Fixing all sources to their catalog values, except variable sources
Creating file and adding sources from 4FGL
Added 186 point sources and 0 extended sources

Setting source of interest to:
4FGL J1238.5-1201 @ 189.625 -12.028

Creating the counts map:
time -p gtbin evfile=/lscratch/kocevski/36631672/ft1_filtered_4FGL_J1238.5-1201_weekly_bin943.fits scfile=/lscratch/kocevski/36631672/ft2_4FGL_J1238.5-1201_weekly_bin943.fits outfile=/lscratch/kocevski/36631672/cmap_809308801_809913601_4FGL_J1238.5-1201_weekly_bin943.fits algorithm="CMAP" ebinalg="LOG" emin=30.0 emax=200000.0 ebinfile=NONE tbinalg="LIN" tbinfile=NONE nxpix=160 nypix=160 binsz=0.25 coordsys="CEL" xref=189.625 yref=-12.028 axisrot=0.0 rafield="RA" decfield="DEC" proj="AIT" hpx_ordering_scheme="RING" hpx_order=3 hpx_ebin=yes hpx_region="" evtable="EVENTS" sctable="SC_DATA" efield="ENERGY" tfield="TIME" chatter=2 clobber=yes debug=no gui=no mode="ql"

WARNING: version mismatch between CFITSIO header (v3.43) and linked library (v3.41).

This is gtbin version HEAD
real 0.75
user 0.24
sys 0.12

Creating the high resolution counts map:
time -p gtbin evfile=/lscratch/kocevski/36631672/ft1_filtered_4FGL_J1238.5-1201_weekly_bin943.fits scfile=/lscratch/kocevski/36631672/ft2_4FGL_J1238.5-1201_weekly_bin943.fits outfile=/lscratch/kocevski/36631672/cmap_HighResolution_809308801_809913601_4FGL_J1238.5-1201_weekly_bin943.fits algorithm="CMAP" ebinalg="LOG" emin=30.0 emax=200000.0 ebinfile=NONE tbinalg="LIN" tbinfile=NONE nxpix=500 nypix=500 binsz=0.1 coordsys="CEL" xref=189.625 yref=-12.028 axisrot=0.0 rafield="RA" decfield="DEC" proj="AIT" hpx_ordering_scheme="RING" hpx_order=3 hpx_ebin=yes hpx_region="" evtable="EVENTS" sctable="SC_DATA" efield="ENERGY" tfield="TIME" chatter=2 clobber=yes debug=no gui=no mode="ql"

WARNING: version mismatch between CFITSIO header (v3.43) and linked library (v3.41).

This is gtbin version HEAD
real 0.75
user 0.25
sys 0.13

Computing the diffuse response:
time -p gtdiffrsp evfile=/lscratch/kocevski/36631672/ft1_filtered_4FGL_J1238.5-1201_weekly_bin943.fits evtable="EVENTS" scfile=/lscratch/kocevski/36631672/ft2_4FGL_J1238.5-1201_weekly_bin943.fits sctable="SC_DATA" srcmdl=/lscratch/kocevski/36631672/Model_4FGL_J1238.5-1201_weekly_bin943.xml irfs="P8R3_SOURCE_V2" evclsmin=0 evclass="INDEF" evtype="INDEF" convert=yes chatter=2 clobber=yes debug=no gui=no mode="ql"

WARNING: version mismatch between CFITSIO header (v3.43) and linked library (v3.41).

adding source EG_v02
adding sourc outfile=/lscratch/kocevski/36631695/ltcube_809308801_809913601_4FGL_J1238.5-1201_weekly_bin943.fits dcostheta=0.025 binsz=1.0 phibins=0 tmin=0.0 tmax=0.0 file_version="1" zmin=0.0 zmax=90.0 chatter=2 clobber=yes debug=no gui=no mode="ql"

WARNING: version mismatch between CFITSIO header (v3.43) and linked library (v3.41).

Working on file /lscratch/kocevski/36631695/ft2_4FGL_J1238.5-1201_weekly_bin943.fits
.....................!
real 18.49
user 17.94
sys 0.22

Generating the exposure map:
time -p gtexpmap evfile=/lscratch/kocevski/36631695/ft1_filtered_4FGL_J1238.5-1201_weekly_bin943.fits evtable="EVENTS" scfile=/lscratch/kocevski/36631695/ft2_4FGL_J1238.5-1201_weekly_bin943.fits sctable="SC_DATA" expcube=/lscratch/kocevski/36631695/ltcube_809308801_809913601_4FGL_J1238.5-1201_weekly_bin943.fits outfile=/lscratch/kocevski/36631695/expmap_809308801_809913601_4FGL_J1238.5-1201_weekly_bin943.fits irfs="P8R3_SOURCE_V2" evtype="INDEF" srcrad=30.0 nlong=88 nlat=88 nenergies=10 submap=no nlongmin=0 nlongmax=0 nlatmin=0 nlatmax=0 chatter=2 clobber=yes debug=no gui=no mode="ql"

WARNING: version mismatch between CFITSIO header (v3.43) and linked library (v3.41).

The exposure maps generated by this tool are meant
to be used for *unbinned* likelihood analysis only.
Do not use them for binned analyses.
Computing the ExposureMap using /lscratch/kocevski/36631695/ltcube_809308801_809913601_4FGL_J1238.5-1201_weekly_bin943.fits
.....................!
real 70.99
user 66.36
sys 3.80

Generating the xml model:
radLim = 0.001
maxRad = 12
normsOnly = True
freeVariableSources = True
Fixing all sources to their catalog values, except variable sources
Creating file and adding sources from 4FGL
Added 186 point sources and 0 extended sources

Setting source of interest to:
4FGL J1238.5-1201 @ 189.625 -12.028

Creating the counts map:
time -p gtbin evfile=/lscratch/kocevski/36631695/ft1_filtered_4FGL_J1238.5-1201_weekly_bin943.fits scfile=/lscratch/kocevski/36631695/ft2_4FGL_J1238.5-1201_weekly_bin943.fits outfile=/lscratch/kocevski/36631695/cmap_809308801_809913601_4FGL_J1238.5-1201_weekly_bin943.fits algorithm="CMAP" ebinalg="LOG" emin=30.0 emax=200000.0 ebinfile=NONE tbinalg="LIN" tbinfile=NONE nxpix=160 nypix=160 binsz=0.25 coordsys="CEL" xref=189.625 yref=-12.028 axisrot=0.0 rafield="RA" decfield="DEC" proj="AIT" hpx_ordering_scheme="RING" hpx_order=3 hpx_ebin=yes hpx_region="" evtable="EVENTS" sctable="SC_DATA" efield="ENERGY" tfield="TIME" chatter=2 clobber=yes debug=no gui=no mode="ql"

WARNING: version mismatch between CFITSIO header (v3.43) and linked library (v3.41).

This is gtbin version HEAD
real 0.74
user 0.25
sys 0.13

Creating the high resolution counts map:
time -p gtbin evfile=/lscratch/kocevski/36631695/ft1_filtered_4FGL_J1238.5-1201_weekly_bin943.fits scfile=/lscratch/kocevski/36631695/ft2_4FGL_J1238.5-1201_weekly_bin943.fits outfile=/lscratch/kocevski/36631695/cmap_HighResolution_809308801_809913601_4FGL_J1238.5-1201_weekly_bin943.fits algorithm="CMAP" ebinalg="LOG" emin=30.0 emax=200000.0 ebinfile=NONE tbinalg="LIN" tbinfile=NONE nxpix=500 nypix=500 binsz=0.1 coordsys="CEL" xref=189.625 yref=-12.028 axisrot=0.0 rafield="RA" decfield="DEC" proj="AIT" hpx_ordering_scheme="RING" hpx_order=3 hpx_ebin=yes hpx_region="" evtable="EVENTS" sctable="SC_DATA" efield="ENERGY" tfield="TIME" chatter=2 clobber=yes debug=no gui=no mode="ql"

WARNING: version mismatch between CFITSIO header (v3.43) and linked library (v3.41).

This is gtbin version HEAD
real 0.71
user 0.24
sys 0.14

Computing the diffuse response:
time -p gtdiffrsp evfile=/lscratch/kocevski/36631695/ft1_filtered_4FGL_J1238.5-1201_weekly_bin943.fits evtable="EVENTS" scfile=/lscratch/kocevski/36631695/ft2_4FGL_J1238.5-1201_weekly_bin943.fits sctable="SC_DATA" srcmdl=/lscratch/kocevski/36631695/Model_4FGL_J1238.5-1201_weekly_bin943.xml irfs="P8R3_SOURCE_V2" evclsmin=0 evclass="INDEF" evtype="INDEF" convert=yes chatter=2 clobber=yes debug=no gui=no mode="ql"

WARNING: version mismatch between CFITSIO header (v3.43) and linked library (v3.41).

adding source EG_v02
adding sourc outfile=/lscratch/kocevski/36631749/ltcube_809308801_809913601_4FGL_J1238.5-1201_weekly_bin943.fits dcostheta=0.025 binsz=1.0 phibins=0 tmin=0.0 tmax=0.0 file_version="1" zmin=0.0 zmax=90.0 chatter=2 clobber=yes debug=no gui=no mode="ql"

WARNING: version mismatch between CFITSIO header (v3.43) and linked library (v3.41).

Working on file /lscratch/kocevski/36631749/ft2_4FGL_J1238.5-1201_weekly_bin943.fits
.....................!
real 18.20
user 17.56
sys 0.22

Generating the exposure map:
time -p gtexpmap evfile=/lscratch/kocevski/36631749/ft1_filtered_4FGL_J1238.5-1201_weekly_bin943.fits evtable="EVENTS" scfile=/lscratch/kocevski/36631749/ft2_4FGL_J1238.5-1201_weekly_bin943.fits sctable="SC_DATA" expcube=/lscratch/kocevski/36631749/ltcube_809308801_809913601_4FGL_J1238.5-1201_weekly_bin943.fits outfile=/lscratch/kocevski/36631749/expmap_809308801_809913601_4FGL_J1238.5-1201_weekly_bin943.fits irfs="P8R3_SOURCE_V2" evtype="INDEF" srcrad=30.0 nlong=88 nlat=88 nenergies=10 submap=no nlongmin=0 nlongmax=0 nlatmin=0 nlatmax=0 chatter=2 clobber=yes debug=no gui=no mode="ql"

WARNING: version mismatch between CFITSIO header (v3.43) and linked library (v3.41).

The exposure maps generated by this tool are meant
to be used for *unbinned* likelihood analysis only.
Do not use them for binned analyses.
Computing the ExposureMap using /lscratch/kocevski/36631749/ltcube_809308801_809913601_4FGL_J1238.5-1201_weekly_bin943.fits
.....................!
real 70.89
user 66.01
sys 4.14

Generating the xml model:
radLim = 0.001
maxRad = 12
normsOnly = True
freeVariableSources = True
Fixing all sources to their catalog values, except variable sources
Creating file and adding sources from 4FGL
Added 186 point sources and 0 extended sources

Setting source of interest to:
4FGL J1238.5-1201 @ 189.625 -12.028

Creating the counts map:
time -p gtbin evfile=/lscratch/kocevski/36631749/ft1_filtered_4FGL_J1238.5-1201_weekly_bin943.fits scfile=/lscratch/kocevski/36631749/ft2_4FGL_J1238.5-1201_weekly_bin943.fits outfile=/lscratch/kocevski/36631749/cmap_809308801_809913601_4FGL_J1238.5-1201_weekly_bin943.fits algorithm="CMAP" ebinalg="LOG" emin=30.0 emax=200000.0 ebinfile=NONE tbinalg="LIN" tbinfile=NONE nxpix=160 nypix=160 binsz=0.25 coordsys="CEL" xref=189.625 yref=-12.028 axisrot=0.0 rafield="RA" decfield="DEC" proj="AIT" hpx_ordering_scheme="RING" hpx_order=3 hpx_ebin=yes hpx_region="" evtable="EVENTS" sctable="SC_DATA" efield="ENERGY" tfield="TIME" chatter=2 clobber=yes debug=no gui=no mode="ql"

WARNING: version mismatch between CFITSIO header (v3.43) and linked library (v3.41).

This is gtbin version HEAD
real 0.71
user 0.25
sys 0.12

Creating the high resolution counts map:
time -p gtbin evfile=/lscratch/kocevski/36631749/ft1_filtered_4FGL_J1238.5-1201_weekly_bin943.fits scfile=/lscratch/kocevski/36631749/ft2_4FGL_J1238.5-1201_weekly_bin943.fits outfile=/lscratch/kocevski/36631749/cmap_HighResolution_809308801_809913601_4FGL_J1238.5-1201_weekly_bin943.fits algorithm="CMAP" ebinalg="LOG" emin=30.0 emax=200000.0 ebinfile=NONE tbinalg="LIN" tbinfile=NONE nxpix=500 nypix=500 binsz=0.1 coordsys="CEL" xref=189.625 yref=-12.028 axisrot=0.0 rafield="RA" decfield="DEC" proj="AIT" hpx_ordering_scheme="RING" hpx_order=3 hpx_ebin=yes hpx_region="" evtable="EVENTS" sctable="SC_DATA" efield="ENERGY" tfield="TIME" chatter=2 clobber=yes debug=no gui=no mode="ql"

WARNING: version mismatch between CFITSIO header (v3.43) and linked library (v3.41).

This is gtbin version HEAD
real 0.70
user 0.25
sys 0.13

Computing the diffuse response:
time -p gtdiffrsp evfile=/lscratch/kocevski/36631749/ft1_filtered_4FGL_J1238.5-1201_weekly_bin943.fits evtable="EVENTS" scfile=/lscratch/kocevski/36631749/ft2_4FGL_J1238.5-1201_weekly_bin943.fits sctable="SC_DATA" srcmdl=/lscratch/kocevski/36631749/Model_4FGL_J1238.5-1201_weekly_bin943.xml irfs="P8R3_SOURCE_V2" evclsmin=0 evclass="INDEF" evtype="INDEF" convert=yes chatter=2 clobber=yes debug=no gui=no mode="ql"

WARNING: version mismatch between CFITSIO header (v3.43) and linked library (v3.41).

adding source EG_v02
adding sourcoutfile=/lscratch/kocevski/36631772/ltcube_809308801_809913601_4FGL_J1238.5-1201_weekly_bin943.fits dcostheta=0.025 binsz=1.0 phibins=0 tmin=0.0 tmax=0.0 file_version="1" zmin=0.0 zmax=90.0 chatter=2 clobber=yes debug=no gui=no mode="ql"

WARNING: version mismatch between CFITSIO header (v3.43) and linked library (v3.41).

Working on file /lscratch/kocevski/36631772/ft2_4FGL_J1238.5-1201_weekly_bin943.fits
.....................!
real 18.76
user 18.08
sys 0.24

Generating the exposure map:
time -p gtexpmap evfile=/lscratch/kocevski/36631772/ft1_filtered_4FGL_J1238.5-1201_weekly_bin943.fits evtable="EVENTS" scfile=/lscratch/kocevski/36631772/ft2_4FGL_J1238.5-1201_weekly_bin943.fits sctable="SC_DATA" expcube=/lscratch/kocevski/36631772/ltcube_809308801_809913601_4FGL_J1238.5-1201_weekly_bin943.fits outfile=/lscratch/kocevski/36631772/expmap_809308801_809913601_4FGL_J1238.5-1201_weekly_bin943.fits irfs="P8R3_SOURCE_V2" evtype="INDEF" srcrad=30.0 nlong=88 nlat=88 nenergies=10 submap=no nlongmin=0 nlongmax=0 nlatmin=0 nlatmax=0 chatter=2 clobber=yes debug=no gui=no mode="ql"

WARNING: version mismatch between CFITSIO header (v3.43) and linked library (v3.41).

The exposure maps generated by this tool are meant
to be used for *unbinned* likelihood analysis only.
Do not use them for binned analyses.
Computing the ExposureMap using /lscratch/kocevski/36631772/ltcube_809308801_809913601_4FGL_J1238.5-1201_weekly_bin943.fits
.....................!
real 71.66
user 66.64
sys 4.08

Generating the xml model:
radLim = 0.001
maxRad = 12
normsOnly = True
freeVariableSources = True
Fixing all sources to their catalog values, except variable sources
Creating file and adding sources from 4FGL
Added 186 point sources and 0 extended sources

Setting source of interest to:
4FGL J1238.5-1201 @ 189.625 -12.028

Creating the counts map:
time -p gtbin evfile=/lscratch/kocevski/36631772/ft1_filtered_4FGL_J1238.5-1201_weekly_bin943.fits scfile=/lscratch/kocevski/36631772/ft2_4FGL_J1238.5-1201_weekly_bin943.fits outfile=/lscratch/kocevski/36631772/cmap_809308801_809913601_4FGL_J1238.5-1201_weekly_bin943.fits algorithm="CMAP" ebinalg="LOG" emin=30.0 emax=200000.0 ebinfile=NONE tbinalg="LIN" tbinfile=NONE nxpix=160 nypix=160 binsz=0.25 coordsys="CEL" xref=189.625 yref=-12.028 axisrot=0.0 rafield="RA" decfield="DEC" proj="AIT" hpx_ordering_scheme="RING" hpx_order=3 hpx_ebin=yes hpx_region="" evtable="EVENTS" sctable="SC_DATA" efield="ENERGY" tfield="TIME" chatter=2 clobber=yes debug=no gui=no mode="ql"

WARNING: version mismatch between CFITSIO header (v3.43) and linked library (v3.41).

This is gtbin version HEAD
real 0.80
user 0.25
sys 0.14

Creating the high resolution counts map:
time -p gtbin evfile=/lscratch/kocevski/36631772/ft1_filtered_4FGL_J1238.5-1201_weekly_bin943.fits scfile=/lscratch/kocevski/36631772/ft2_4FGL_J1238.5-1201_weekly_bin943.fits outfile=/lscratch/kocevski/36631772/cmap_HighResolution_809308801_809913601_4FGL_J1238.5-1201_weekly_bin943.fits algorithm="CMAP" ebinalg="LOG" emin=30.0 emax=200000.0 ebinfile=NONE tbinalg="LIN" tbinfile=NONE nxpix=500 nypix=500 binsz=0.1 coordsys="CEL" xref=189.625 yref=-12.028 axisrot=0.0 rafield="RA" decfield="DEC" proj="AIT" hpx_ordering_scheme="RING" hpx_order=3 hpx_ebin=yes hpx_region="" evtable="EVENTS" sctable="SC_DATA" efield="ENERGY" tfield="TIME" chatter=2 clobber=yes debug=no gui=no mode="ql"

WARNING: version mismatch between CFITSIO header (v3.43) and linked library (v3.41).

This is gtbin version HEAD
real 0.74
user 0.26
sys 0.13

Computing the diffuse response:
time -p gtdiffrsp evfile=/lscratch/kocevski/36631772/ft1_filtered_4FGL_J1238.5-1201_weekly_bin943.fits evtable="EVENTS" scfile=/lscratch/kocevski/36631772/ft2_4FGL_J1238.5-1201_weekly_bin943.fits sctable="SC_DATA" srcmdl=/lscratch/kocevski/36631772/Model_4FGL_J1238.5-1201_weekly_bin943.xml irfs="P8R3_SOURCE_V2" evclsmin=0 evclass="INDEF" evtype="INDEF" convert=yes chatter=2 clobber=yes debug=no gui=no mode="ql"

WARNING: version mismatch between CFITSIO header (v3.43) and linked library (v3.41).

adding source EG_v02
adding sourcee GAL_V02
Working on...
/lscratch/kocevski/36631537/ft1_filtered_4FGL_J1238.5-1201_weekly_bin943.fits.....................!
real 50.88
user 49.27
sys 0.85

Creating the likelihood object...
obs = UnbinnedObs('/lscratch/kocevski/36631537/ft1_filtered_4FGL_J1238.5-1201_weekly_bin943.fits', '/lscratch/kocevski/36631537/ft2_4FGL_J1238.5-1201_weekly_bin943.fits', expMap='/lscratch/kocevski/36631537/expmap_809308801_809913601_4FGL_J1238.5-1201_weekly_bin943.fits', expCube='/lscratch/kocevski/36631537/ltcube_809308801_809913601_4FGL_J1238.5-1201_weekly_bin943.fits', irfs='P8R3_SOURCE_V2')
like = UnbinnedAnalysis(obs, '/lscratch/kocevski/36631537/Model_4FGL_J1238.5-1201_weekly_bin943.xml', optimizer='MINUIT')

Using source of interest name: '4FGL J1238.5-1201'

4FGL J1238.5-1201
   Spectrum: PowerLaw
326    Prefactor:  4.386e+00  0.000e+00  0.000e+00  1.000e+06 ( 1.000e-12)
327        Index:  2.660e+00  0.000e+00  0.000e+00  1.000e+01 (-1.000e+00) fixed
328        Scale:  5.228e+02  0.000e+00  3.000e+01  5.000e+05 ( 1.000e+00) fixed


Likelihood Fit Parameters:
Event file(s): /lscratch/kocevski/36631537/ft1_filtered_4FGL_J1238.5-1201_weekly_bin943.fits
Spacecraft file(s): /lscratch/kocevski/36631537/ft2_4FGL_J1238.5-1201_weekly_bin943.fits
Exposure map: /lscratch/kocevski/36631537/expmap_809308801_809913601_4FGL_J1238.5-1201_weekly_bin943.fits
Exposure cube: /lscratch/kocevski/36631537/ltcube_809308801_809913601_4FGL_J1238.5-1201_weekly_bin943.fits
IRFs: P8R3_SOURCE_V2
Source model file: /lscratch/kocevski/36631537/Model_4FGL_J1238.5-1201_weekly_bin943.xml
Optimizer: MINUIT
Statistic: UNBINNED

Performing an iterative likelihood fit...

Fit tolerance = 1

Performing likelihood fit...
Done.

MINUIT Return Code (Fixed Index): 0
logL (Fixed Index) = 21281.2012526

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

MINUIT Return Code (Fixed Index): 0
logL (Fixed Index) = 21281.1864399

Fit tolerance = 1e-08

Performing likelihood fit...
 **********
 **   14 **SET NOWARN 
 **********

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'Prefactor '    .13600E-07   1.0000          .0000       .10000E+07
     2 'Prefactor '    46.505       1.0000          .0000       .10000E+07
     3 'Prefactor '    3.4588       1.0000          .0000       .10000E+07
     4 'Prefactor '    .76904       1.0000          .0000       .10000E+07
     5 'norm      '    1.6542       1.0000          .0000       .10000E+07
     6 'Prefactor '    .39905       1.0000          .0000       .10000E+07
     7 'Prefactor '    6.7503       1.0000         .10000E-03   10000.    
     8 'Prefactor '    8.8813       1.0000          .0000       .10000E+07
     9 'Prefactor '    .19836E-04   1.0000          .0000       .10000E+07
    10 'Prefactor '    7.2723       1.0000          .0000       .10000E+07
    11 'Prefactor '    .99929E-03   1.0000          .0000       .10000E+07
    12 'Prefactor '    .19441       1.0000          .0000       .10000E+07
    13 'norm      '    8.2882       1.0000          .0000       .10000E+07
    14 'Prefactor '    46.545       1.0000          .0000       .10000E+07
    15 'norm      '    .15004       1.0000          .0000       .10000E+07
    16 'norm      '    .10116       1.0000          .0000       .10000E+07
    17 'norm      '    1.3112       1.0000          .0000       .10000E+07
    18 'Prefactor '    .13509E-01   1.0000          .0000       .10000E+07
    19 'norm      '    6.5720       1.0000          .0000       .10000E+07
    20 'norm      '    4.7523       1.0000          .0000       .10000E+07
    21 'Prefactor '    .17486E-07   1.0000          .0000       .10000E+07
    22 'Prefactor '    .34167E-06   1.0000          .0000       .10000E+07
    23 'Normalizat'    1.4730       1.0000         .10000E-01   10.000    
    24 'Prefactor '    .90859       1.0000          .0000       10.000    
 **********
 **   15 **SET ERR    .5000    
 **********
 **********
 **   16 **SET GRAD    1.000    
 **********
 **********
 **   17 **MINIMIZE    .6130E+05   .2000E-04
 **********

 MIGRAD MINIMIZATION HAS CONVERGED.

 FCN=   21281.19     FROM MIGRAD    STATUS=CONVERGED    185 CALLS     2056 TOTAL
                     EDM=   .45E-10  STRATEGY=1  ERROR MATRIX UNCERTAINTY=  3.1%

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor      .0000        .68202       -.48158E-07** at limit **
   2  Prefactor     46.504        11.639        .22711E-08   -.27642E-03
   3  Prefactor     3.4655        4.7143       -.31433E-07    .68265E-04
   4  Prefactor     .40422        142.48       -.38822E-05   -.24565E-03
   5  norm          1.6545        1.1626       -.13609E-08   -.80026E-04
   6  Prefactor     .40698        5.0335        .21039E-06   -.11813E-03
   7  Prefactor     6.7486        1.4421       -.12657E-06   -.22713E-04
   8  Prefactor     8.8175        6.6956       -.15743E-07   -.35178E-03
   9  Prefactor      .0000        11.373       -.52998E-07** at limit **
  10  Prefactor     7.2644        4.6772       -.25959E-07    .91606E-04
  11  Prefactor      .0000        8.9222        .13644E-08** at limit **
  12  Prefactor      .0000        509.44       -.15016E-05** at limit **
  13  norm          8.3274        9.7228       -.92048E-07    .56517E-03
  14  Prefactor     46.552        1.7559        .32832E-07   -.84903E-02
  15  norm          .15028        .88534E-01    .21618E-09** at limit **
  16  norm          .99677E-01    9.2533        .50257E-06** at limit **
  17  norm          1.3080        2.7895        .20552E-07   -.12990E-03
  18  Prefactor     .38858E-09    116.54        .48808E-06** at limit **
  19  norm          6.5687        6.4548       -.22227E-07    .31242E-03
  20  norm          4.7551        5.3132        .52429E-07    .12580E-03
  21  Prefactor      .0000        1.0550        .62289E-07** at limit **
  22  Prefactor      .0000        2.4926       -.71473E-07** at limit **
  23  Normalizat    1.4734        .15233        .33757E-06   -.81079E-05
  24  Prefactor     .90862        .88419E-01   -.69490E-07    .92286E-05
                               ERR DEF=  .500    
Final values: 
  Prefactor  = 0
  Prefactor  = 46.5042
  Prefactor  = 3.46546
  Prefactor  = 0.404216
  norm       = 1.6545
  Prefactor  = 0.406975
  Prefactor  = 6.74863
  Prefactor  = 8.8175
  Prefactor  = 0
  Prefactor  = 7.26437
  Prefactor  = 0
  Prefactor  = 0
  norm       = 8.32745
  Prefactor  = 46.5524
  norm       = 0.150284
  norm       = 0.0996769
  norm       = 1.30798
  Prefactor  = 3.88578e-10
  norm       = 6.56868
  norm       = 4.75511
  Prefactor  = 0
  Prefactor  = 0
  Normalizat = 1.47337
  Prefactor  = 0.908618
e GAL_V02
Working on...
/lscratch/kocevski/36631492/ft1_filtered_4FGL_J1238.5-1201_weekly_bin943.fits.....................!
real 57.11
user 55.14
sys 1.12

Creating the likelihood object...
obs = UnbinnedObs('/lscratch/kocevski/36631492/ft1_filtered_4FGL_J1238.5-1201_weekly_bin943.fits', '/lscratch/kocevski/36631492/ft2_4FGL_J1238.5-1201_weekly_bin943.fits', expMap='/lscratch/kocevski/36631492/expmap_809308801_809913601_4FGL_J1238.5-1201_weekly_bin943.fits', expCube='/lscratch/kocevski/36631492/ltcube_809308801_809913601_4FGL_J1238.5-1201_weekly_bin943.fits', irfs='P8R3_SOURCE_V2')
like = UnbinnedAnalysis(obs, '/lscratch/kocevski/36631492/Model_4FGL_J1238.5-1201_weekly_bin943.xml', optimizer='MINUIT')

Using source of interest name: '4FGL J1238.5-1201'

4FGL J1238.5-1201
   Spectrum: PowerLaw
326    Prefactor:  4.386e+00  0.000e+00  0.000e+00  1.000e+06 ( 1.000e-12)
327        Index:  2.660e+00  0.000e+00  0.000e+00  1.000e+01 (-1.000e+00) fixed
328        Scale:  5.228e+02  0.000e+00  3.000e+01  5.000e+05 ( 1.000e+00) fixed


Likelihood Fit Parameters:
Event file(s): /lscratch/kocevski/36631492/ft1_filtered_4FGL_J1238.5-1201_weekly_bin943.fits
Spacecraft file(s): /lscratch/kocevski/36631492/ft2_4FGL_J1238.5-1201_weekly_bin943.fits
Exposure map: /lscratch/kocevski/36631492/expmap_809308801_809913601_4FGL_J1238.5-1201_weekly_bin943.fits
Exposure cube: /lscratch/kocevski/36631492/ltcube_809308801_809913601_4FGL_J1238.5-1201_weekly_bin943.fits
IRFs: P8R3_SOURCE_V2
Source model file: /lscratch/kocevski/36631492/Model_4FGL_J1238.5-1201_weekly_bin943.xml
Optimizer: MINUIT
Statistic: UNBINNED

Performing an iterative likelihood fit...

Fit tolerance = 1

Performing likelihood fit...
Done.

MINUIT Return Code (Fixed Index): 0
logL (Fixed Index) = 21281.2012526

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

MINUIT Return Code (Fixed Index): 0
logL (Fixed Index) = 21281.1864399

Fit tolerance = 1e-08

Performing likelihood fit...
 **********
 **   14 **SET NOWARN 
 **********

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'Prefactor '    .13600E-07   1.0000          .0000       .10000E+07
     2 'Prefactor '    46.505       1.0000          .0000       .10000E+07
     3 'Prefactor '    3.4588       1.0000          .0000       .10000E+07
     4 'Prefactor '    .76904       1.0000          .0000       .10000E+07
     5 'norm      '    1.6542       1.0000          .0000       .10000E+07
     6 'Prefactor '    .39905       1.0000          .0000       .10000E+07
     7 'Prefactor '    6.7503       1.0000         .10000E-03   10000.    
     8 'Prefactor '    8.8813       1.0000          .0000       .10000E+07
     9 'Prefactor '    .19836E-04   1.0000          .0000       .10000E+07
    10 'Prefactor '    7.2723       1.0000          .0000       .10000E+07
    11 'Prefactor '    .99929E-03   1.0000          .0000       .10000E+07
    12 'Prefactor '    .19441       1.0000          .0000       .10000E+07
    13 'norm      '    8.2882       1.0000          .0000       .10000E+07
    14 'Prefactor '    46.545       1.0000          .0000       .10000E+07
    15 'norm      '    .15004       1.0000          .0000       .10000E+07
    16 'norm      '    .10116       1.0000          .0000       .10000E+07
    17 'norm      '    1.3112       1.0000          .0000       .10000E+07
    18 'Prefactor '    .13509E-01   1.0000          .0000       .10000E+07
    19 'norm      '    6.5720       1.0000          .0000       .10000E+07
    20 'norm      '    4.7523       1.0000          .0000       .10000E+07
    21 'Prefactor '    .17486E-07   1.0000          .0000       .10000E+07
    22 'Prefactor '    .34167E-06   1.0000          .0000       .10000E+07
    23 'Normalizat'    1.4730       1.0000         .10000E-01   10.000    
    24 'Prefactor '    .90859       1.0000          .0000       10.000    
 **********
 **   15 **SET ERR    .5000    
 **********
 **********
 **   16 **SET GRAD    1.000    
 **********
 **********
 **   17 **MINIMIZE    .6130E+05   .2000E-04
 **********

 MIGRAD MINIMIZATION HAS CONVERGED.

 FCN=   21281.19     FROM MIGRAD    STATUS=CONVERGED    185 CALLS     2056 TOTAL
                     EDM=   .45E-10  STRATEGY=1  ERROR MATRIX UNCERTAINTY=  3.1%

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor      .0000        .68202       -.48158E-07** at limit **
   2  Prefactor     46.504        11.639        .22711E-08   -.27642E-03
   3  Prefactor     3.4655        4.7143       -.31433E-07    .68265E-04
   4  Prefactor     .40422        142.48       -.38822E-05   -.24565E-03
   5  norm          1.6545        1.1626       -.13609E-08   -.80026E-04
   6  Prefactor     .40698        5.0335        .21039E-06   -.11813E-03
   7  Prefactor     6.7486        1.4421       -.12657E-06   -.22713E-04
   8  Prefactor     8.8175        6.6956       -.15743E-07   -.35178E-03
   9  Prefactor      .0000        11.373       -.52998E-07** at limit **
  10  Prefactor     7.2644        4.6772       -.25959E-07    .91606E-04
  11  Prefactor      .0000        8.9222        .13644E-08** at limit **
  12  Prefactor      .0000        509.44       -.15016E-05** at limit **
  13  norm          8.3274        9.7228       -.92048E-07    .56517E-03
  14  Prefactor     46.552        1.7559        .32832E-07   -.84903E-02
  15  norm          .15028        .88534E-01    .21618E-09** at limit **
  16  norm          .99677E-01    9.2533        .50257E-06** at limit **
  17  norm          1.3080        2.7895        .20552E-07   -.12990E-03
  18  Prefactor     .38858E-09    116.54        .48808E-06** at limit **
  19  norm          6.5687        6.4548       -.22227E-07    .31242E-03
  20  norm          4.7551        5.3132        .52429E-07    .12580E-03
  21  Prefactor      .0000        1.0550        .62289E-07** at limit **
  22  Prefactor      .0000        2.4926       -.71473E-07** at limit **
  23  Normalizat    1.4734        .15233        .33757E-06   -.81079E-05
  24  Prefactor     .90862        .88419E-01   -.69490E-07    .92286E-05
                               ERR DEF=  .500    
Final values: 
  Prefactor  = 0
  Prefactor  = 46.5042
  Prefactor  = 3.46546
  Prefactor  = 0.404216
  norm       = 1.6545
  Prefactor  = 0.406975
  Prefactor  = 6.74863
  Prefactor  = 8.8175
  Prefactor  = 0
  Prefactor  = 7.26437
  Prefactor  = 0
  Prefactor  = 0
  norm       = 8.32745
  Prefactor  = 46.5524
  norm       = 0.150284
  norm       = 0.0996769
  norm       = 1.30798
  Prefactor  = 3.88578e-10
  norm       = 6.56868
  norm       = 4.75511
  Prefactor  = 0
  Prefactor  = 0
  Normalizat = 1.47337
  Prefactor  = 0.908618
 **********
 **   18 **HESSE 
 **********

 FCN=   21281.19     FROM HESSE     STATUS=OK           481 CALLS     2537 TOTAL
                     EDM=   .72E-07    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  Prefactor      .0000        .68485        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   2  Prefactor     46.504        11.632        .14665E-03   -1.5572    
   3  Prefactor     3.4655        4.7329        .54354E-03   -1.5671    
   4  Prefactor     .40422        137.22        .55272E-03   -1.5695    
   5  norm          1.6545        1.1608        .82034E-03   -1.5682    
   6  Prefactor     .40698        1.5469        .56714E-02   -1.5695    
   7  Prefactor     6.7486        1.4592        .38609E-02   -1.5188    
   8  Prefactor     8.8175        6.6975        .33609E-03   -1.5649    
   9  Prefactor      .0000        1.5629        .69405E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  10  Prefactor     7.2644        4.6858        .37171E-03   -1.5654    
  11  Prefactor      .0000        8.6553        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  12  Prefactor      .0000        8.2969        .15616E-01   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  13  norm          8.3274        9.7453        .34799E-03   -1.5650    
  14  Prefactor     46.552        43.328        .14659E-03   -1.5572    
  15  norm          .15028        .96228E-01    .72893E-03   -1.5700    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  16  norm          .99677E-01    1.0021        .75013E-02   -1.5702    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  17  norm          1.3080        3.3914        .96240E-03   -1.5685    
  18  Prefactor     .38858E-09    116.36        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  19  norm          6.5687        6.4729        .39122E-03   -1.5657    
  20  norm          4.7551        5.3223        .46131E-03   -1.5664    
  21  Prefactor      .0000        1.0669        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  22  Prefactor      .0000        2.4957        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  23  Normalizat    1.4734        .12979        .66859E-01   -.78530    
  24  Prefactor     .90862        .74815E-01    .45114E-01   -.95841    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 7.21851e-08
Minuit parameter uncertainties:
  1  1.79019e-06
  2  11.632
  3  4.73292
  4  14.8953
  5  1.16079
  6  1.5469
  7  1.45918
  8  6.69749
  9  8.45487e-06
  10  4.68584
  11  2.26457e-06
  12  8.13481e-06
  13  9.74532
  14  43.3282
  15  0.0962281
  16  0.632092
  17  3.39141
  18  0.000425066
  19  6.47287
  20  5.32227
  21  3.7908e-06
  22  4.27841e-06
  23  0.129817
  24  0.0748234
e GAL_V02
Working on...
/lscratch/kocevski/36631570/ft1_filtered_4FGL_J1238.5-1201_weekly_bin943.fits.....................!
real 53.45
user 51.63
sys 0.97

Creating the likelihood object...
obs = UnbinnedObs('/lscratch/kocevski/36631570/ft1_filtered_4FGL_J1238.5-1201_weekly_bin943.fits', '/lscratch/kocevski/36631570/ft2_4FGL_J1238.5-1201_weekly_bin943.fits', expMap='/lscratch/kocevski/36631570/expmap_809308801_809913601_4FGL_J1238.5-1201_weekly_bin943.fits', expCube='/lscratch/kocevski/36631570/ltcube_809308801_809913601_4FGL_J1238.5-1201_weekly_bin943.fits', irfs='P8R3_SOURCE_V2')
like = UnbinnedAnalysis(obs, '/lscratch/kocevski/36631570/Model_4FGL_J1238.5-1201_weekly_bin943.xml', optimizer='MINUIT')

Using source of interest name: '4FGL J1238.5-1201'

4FGL J1238.5-1201
   Spectrum: PowerLaw
326    Prefactor:  4.386e+00  0.000e+00  0.000e+00  1.000e+06 ( 1.000e-12)
327        Index:  2.660e+00  0.000e+00  0.000e+00  1.000e+01 (-1.000e+00) fixed
328        Scale:  5.228e+02  0.000e+00  3.000e+01  5.000e+05 ( 1.000e+00) fixed


Likelihood Fit Parameters:
Event file(s): /lscratch/kocevski/36631570/ft1_filtered_4FGL_J1238.5-1201_weekly_bin943.fits
Spacecraft file(s): /lscratch/kocevski/36631570/ft2_4FGL_J1238.5-1201_weekly_bin943.fits
Exposure map: /lscratch/kocevski/36631570/expmap_809308801_809913601_4FGL_J1238.5-1201_weekly_bin943.fits
Exposure cube: /lscratch/kocevski/36631570/ltcube_809308801_809913601_4FGL_J1238.5-1201_weekly_bin943.fits
IRFs: P8R3_SOURCE_V2
Source model file: /lscratch/kocevski/36631570/Model_4FGL_J1238.5-1201_weekly_bin943.xml
Optimizer: MINUIT
Statistic: UNBINNED

Performing an iterative likelihood fit...

Fit tolerance = 1

Performing likelihood fit...
Done.

MINUIT Return Code (Fixed Index): 0
logL (Fixed Index) = 21281.2012526

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

MINUIT Return Code (Fixed Index): 0
logL (Fixed Index) = 21281.1864399

Fit tolerance = 1e-08

Performing likelihood fit...
 **********
 **   14 **SET NOWARN 
 **********

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'Prefactor '    .13600E-07   1.0000          .0000       .10000E+07
     2 'Prefactor '    46.505       1.0000          .0000       .10000E+07
     3 'Prefactor '    3.4588       1.0000          .0000       .10000E+07
     4 'Prefactor '    .76904       1.0000          .0000       .10000E+07
     5 'norm      '    1.6542       1.0000          .0000       .10000E+07
     6 'Prefactor '    .39905       1.0000          .0000       .10000E+07
     7 'Prefactor '    6.7503       1.0000         .10000E-03   10000.    
     8 'Prefactor '    8.8813       1.0000          .0000       .10000E+07
     9 'Prefactor '    .19836E-04   1.0000          .0000       .10000E+07
    10 'Prefactor '    7.2723       1.0000          .0000       .10000E+07
    11 'Prefactor '    .99929E-03   1.0000          .0000       .10000E+07
    12 'Prefactor '    .19441       1.0000          .0000       .10000E+07
    13 'norm      '    8.2882       1.0000          .0000       .10000E+07
    14 'Prefactor '    46.545       1.0000          .0000       .10000E+07
    15 'norm      '    .15004       1.0000          .0000       .10000E+07
    16 'norm      '    .10116       1.0000          .0000       .10000E+07
    17 'norm      '    1.3112       1.0000          .0000       .10000E+07
    18 'Prefactor '    .13509E-01   1.0000          .0000       .10000E+07
    19 'norm      '    6.5720       1.0000          .0000       .10000E+07
    20 'norm      '    4.7523       1.0000          .0000       .10000E+07
    21 'Prefactor '    .17486E-07   1.0000          .0000       .10000E+07
    22 'Prefactor '    .34167E-06   1.0000          .0000       .10000E+07
    23 'Normalizat'    1.4730       1.0000         .10000E-01   10.000    
    24 'Prefactor '    .90859       1.0000          .0000       10.000    
 **********
 **   15 **SET ERR    .5000    
 **********
 **********
 **   16 **SET GRAD    1.000    
 **********
 **********
 **   17 **MINIMIZE    .6130E+05   .2000E-04
 **********

 MIGRAD MINIMIZATION HAS CONVERGED.

 FCN=   21281.19     FROM MIGRAD    STATUS=CONVERGED    185 CALLS     2056 TOTAL
                     EDM=   .45E-10  STRATEGY=1  ERROR MATRIX UNCERTAINTY=  3.1%

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor      .0000        .68202       -.48158E-07** at limit **
   2  Prefactor     46.504        11.639        .22711E-08   -.27642E-03
   3  Prefactor     3.4655        4.7143       -.31433E-07    .68265E-04
   4  Prefactor     .40422        142.48       -.38822E-05   -.24565E-03
   5  norm          1.6545        1.1626       -.13609E-08   -.80026E-04
   6  Prefactor     .40698        5.0335        .21039E-06   -.11813E-03
   7  Prefactor     6.7486        1.4421       -.12657E-06   -.22713E-04
   8  Prefactor     8.8175        6.6956       -.15743E-07   -.35178E-03
   9  Prefactor      .0000        11.373       -.52998E-07** at limit **
  10  Prefactor     7.2644        4.6772       -.25959E-07    .91606E-04
  11  Prefactor      .0000        8.9222        .13644E-08** at limit **
  12  Prefactor      .0000        509.44       -.15016E-05** at limit **
  13  norm          8.3274        9.7228       -.92048E-07    .56517E-03
  14  Prefactor     46.552        1.7559        .32832E-07   -.84903E-02
  15  norm          .15028        .88534E-01    .21618E-09** at limit **
  16  norm          .99677E-01    9.2533        .50257E-06** at limit **
  17  norm          1.3080        2.7895        .20552E-07   -.12990E-03
  18  Prefactor     .38858E-09    116.54        .48808E-06** at limit **
  19  norm          6.5687        6.4548       -.22227E-07    .31242E-03
  20  norm          4.7551        5.3132        .52429E-07    .12580E-03
  21  Prefactor      .0000        1.0550        .62289E-07** at limit **
  22  Prefactor      .0000        2.4926       -.71473E-07** at limit **
  23  Normalizat    1.4734        .15233        .33757E-06   -.81079E-05
  24  Prefactor     .90862        .88419E-01   -.69490E-07    .92286E-05
                               ERR DEF=  .500    
Final values: 
  Prefactor  = 0
  Prefactor  = 46.5042
  Prefactor  = 3.46546
  Prefactor  = 0.404216
  norm       = 1.6545
  Prefactor  = 0.406975
  Prefactor  = 6.74863
  Prefactor  = 8.8175
  Prefactor  = 0
  Prefactor  = 7.26437
  Prefactor  = 0
  Prefactor  = 0
  norm       = 8.32745
  Prefactor  = 46.5524
  norm       = 0.150284
  norm       = 0.0996769
  norm       = 1.30798
  Prefactor  = 3.88578e-10
  norm       = 6.56868
  norm       = 4.75511
  Prefactor  = 0
  Prefactor  = 0
  Normalizat = 1.47337
  Prefactor  = 0.908618
 GAL_V02
Working on...
/lscratch/kocevski/36631519/ft1_filtered_4FGL_J1238.5-1201_weekly_bin943.fits.....................!
real 60.56
user 58.58
sys 1.11

Creating the likelihood object...
obs = UnbinnedObs('/lscratch/kocevski/36631519/ft1_filtered_4FGL_J1238.5-1201_weekly_bin943.fits', '/lscratch/kocevski/36631519/ft2_4FGL_J1238.5-1201_weekly_bin943.fits', expMap='/lscratch/kocevski/36631519/expmap_809308801_809913601_4FGL_J1238.5-1201_weekly_bin943.fits', expCube='/lscratch/kocevski/36631519/ltcube_809308801_809913601_4FGL_J1238.5-1201_weekly_bin943.fits', irfs='P8R3_SOURCE_V2')
like = UnbinnedAnalysis(obs, '/lscratch/kocevski/36631519/Model_4FGL_J1238.5-1201_weekly_bin943.xml', optimizer='MINUIT')

Using source of interest name: '4FGL J1238.5-1201'

4FGL J1238.5-1201
   Spectrum: PowerLaw
326    Prefactor:  4.386e+00  0.000e+00  0.000e+00  1.000e+06 ( 1.000e-12)
327        Index:  2.660e+00  0.000e+00  0.000e+00  1.000e+01 (-1.000e+00) fixed
328        Scale:  5.228e+02  0.000e+00  3.000e+01  5.000e+05 ( 1.000e+00) fixed


Likelihood Fit Parameters:
Event file(s): /lscratch/kocevski/36631519/ft1_filtered_4FGL_J1238.5-1201_weekly_bin943.fits
Spacecraft file(s): /lscratch/kocevski/36631519/ft2_4FGL_J1238.5-1201_weekly_bin943.fits
Exposure map: /lscratch/kocevski/36631519/expmap_809308801_809913601_4FGL_J1238.5-1201_weekly_bin943.fits
Exposure cube: /lscratch/kocevski/36631519/ltcube_809308801_809913601_4FGL_J1238.5-1201_weekly_bin943.fits
IRFs: P8R3_SOURCE_V2
Source model file: /lscratch/kocevski/36631519/Model_4FGL_J1238.5-1201_weekly_bin943.xml
Optimizer: MINUIT
Statistic: UNBINNED

Performing an iterative likelihood fit...

Fit tolerance = 1

Performing likelihood fit...
Done.

MINUIT Return Code (Fixed Index): 0
logL (Fixed Index) = 21281.2012526

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

MINUIT Return Code (Fixed Index): 0
logL (Fixed Index) = 21281.1864399

Fit tolerance = 1e-08

Performing likelihood fit...
 **********
 **   14 **SET NOWARN 
 **********

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'Prefactor '    .13600E-07   1.0000          .0000       .10000E+07
     2 'Prefactor '    46.505       1.0000          .0000       .10000E+07
     3 'Prefactor '    3.4588       1.0000          .0000       .10000E+07
     4 'Prefactor '    .76904       1.0000          .0000       .10000E+07
     5 'norm      '    1.6542       1.0000          .0000       .10000E+07
     6 'Prefactor '    .39905       1.0000          .0000       .10000E+07
     7 'Prefactor '    6.7503       1.0000         .10000E-03   10000.    
     8 'Prefactor '    8.8813       1.0000          .0000       .10000E+07
     9 'Prefactor '    .19836E-04   1.0000          .0000       .10000E+07
    10 'Prefactor '    7.2723       1.0000          .0000       .10000E+07
    11 'Prefactor '    .99929E-03   1.0000          .0000       .10000E+07
    12 'Prefactor '    .19441       1.0000          .0000       .10000E+07
    13 'norm      '    8.2882       1.0000          .0000       .10000E+07
    14 'Prefactor '    46.545       1.0000          .0000       .10000E+07
    15 'norm      '    .15004       1.0000          .0000       .10000E+07
    16 'norm      '    .10116       1.0000          .0000       .10000E+07
    17 'norm      '    1.3112       1.0000          .0000       .10000E+07
    18 'Prefactor '    .13509E-01   1.0000          .0000       .10000E+07
    19 'norm      '    6.5720       1.0000          .0000       .10000E+07
    20 'norm      '    4.7523       1.0000          .0000       .10000E+07
    21 'Prefactor '    .17486E-07   1.0000          .0000       .10000E+07
    22 'Prefactor '    .34167E-06   1.0000          .0000       .10000E+07
    23 'Normalizat'    1.4730       1.0000         .10000E-01   10.000    
    24 'Prefactor '    .90859       1.0000          .0000       10.000    
 **********
 **   15 **SET ERR    .5000    
 **********
 **********
 **   16 **SET GRAD    1.000    
 **********
 **********
 **   17 **MINIMIZE    .6130E+05   .2000E-04
 **********

 MIGRAD MINIMIZATION HAS CONVERGED.

 FCN=   21281.19     FROM MIGRAD    STATUS=CONVERGED    185 CALLS     2056 TOTAL
                     EDM=   .45E-10  STRATEGY=1  ERROR MATRIX UNCERTAINTY=  3.1%

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor      .0000        .68202       -.48158E-07** at limit **
   2  Prefactor     46.504        11.639        .22711E-08   -.27642E-03
   3  Prefactor     3.4655        4.7143       -.31433E-07    .68265E-04
   4  Prefactor     .40422        142.48       -.38822E-05   -.24565E-03
   5  norm          1.6545        1.1626       -.13609E-08   -.80026E-04
   6  Prefactor     .40698        5.0335        .21039E-06   -.11813E-03
   7  Prefactor     6.7486        1.4421       -.12657E-06   -.22713E-04
   8  Prefactor     8.8175        6.6956       -.15743E-07   -.35178E-03
   9  Prefactor      .0000        11.373       -.52998E-07** at limit **
  10  Prefactor     7.2644        4.6772       -.25959E-07    .91606E-04
  11  Prefactor      .0000        8.9222        .13644E-08** at limit **
  12  Prefactor      .0000        509.44       -.15016E-05** at limit **
  13  norm          8.3274        9.7228       -.92048E-07    .56517E-03
  14  Prefactor     46.552        1.7559        .32832E-07   -.84903E-02
  15  norm          .15028        .88534E-01    .21618E-09** at limit **
  16  norm          .99677E-01    9.2533        .50257E-06** at limit **
  17  norm          1.3080        2.7895        .20552E-07   -.12990E-03
  18  Prefactor     .38858E-09    116.54        .48808E-06** at limit **
  19  norm          6.5687        6.4548       -.22227E-07    .31242E-03
  20  norm          4.7551        5.3132        .52429E-07    .12580E-03
  21  Prefactor      .0000        1.0550        .62289E-07** at limit **
  22  Prefactor      .0000        2.4926       -.71473E-07** at limit **
  23  Normalizat    1.4734        .15233        .33757E-06   -.81079E-05
  24  Prefactor     .90862        .88419E-01   -.69490E-07    .92286E-05
                               ERR DEF=  .500    
Final values: 
  Prefactor  = 0
  Prefactor  = 46.5042
  Prefactor  = 3.46546
  Prefactor  = 0.404216
  norm       = 1.6545
  Prefactor  = 0.406975
  Prefactor  = 6.74863
  Prefactor  = 8.8175
  Prefactor  = 0
  Prefactor  = 7.26437
  Prefactor  = 0
  Prefactor  = 0
  norm       = 8.32745
  Prefactor  = 46.5524
  norm       = 0.150284
  norm       = 0.0996769
  norm       = 1.30798
  Prefactor  = 3.88578e-10
  norm       = 6.56868
  norm       = 4.75511
  Prefactor  = 0
  Prefactor  = 0
  Normalizat = 1.47337
  Prefactor  = 0.908618
Done.

MINUIT Return Code (Fixed Index): 0
logL (Fixed Index) = 21281.1856997

Extracting fit parameters...

4FGL J1238.5-1201
   Spectrum: PowerLaw
326    Prefactor:  7.264e+00  4.686e+00  0.000e+00  1.000e+06 ( 1.000e-12)
327        Index:  2.660e+00  0.000e+00  0.000e+00  1.000e+01 (-1.000e+00) fixed
328        Scale:  5.228e+02  0.000e+00  3.000e+01  5.000e+05 ( 1.000e+00) fixed

GAL_V02
   Spectrum: PowerLaw
610    Prefactor:  9.086e-01  7.482e-02  0.000e+00  1.000e+01 ( 1.000e+00)
611        Index:  0.000e+00  0.000e+00 -1.000e+00  1.000e+00 ( 1.000e+00) fixed
612        Scale:  1.000e+02  0.000e+00  5.000e+01  2.000e+02 ( 1.000e+00) fixed

EG_v02
   Spectrum: FileFunction
609   Normalization:  1.473e+00  1.298e-01  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Fixed Index): 6.26
Ra Dec: 189.625 -12.028
Photon Index (Fixed Index): 2.66 +/- 0.00
Photon Flux (Fixed Index): 3.57e-08 +/- 2.30e-08
Energy Flux (Fixed Index): 8.87e-06 +/- 5.72e-06

Performing a free index iterative likelihood fit...

Freezing all point sources, except source of interest...

Done.

Freeing candidate source...
Done.

Fit tolerance = 1

Performing likelihood fit...
Done.

MINUIT Return Code (Free Index): 0
logL (Free Index) = 21279.9562846
delta logL = 1.22941508733

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

MINUIT Return Code (Free Index): 0
logL (Free Index) = 21279.8827599
delta logL = 1.30293982926

Fit tolerance = 1e-08

Performing likelihood fit...
 **********
 **   14 **SET NOWARN 
 **********

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'Prefactor '    5.2698       1.0000          .0000       .10000E+07
     2 'Index     '    1.7355       1.0000          .0000       10.000    
     3 'Normalizat'    1.5027       1.0000         .10000E-01   10.000    
     4 'Prefactor '    .89911       1.0000          .0000       10.000    
 **********
 **   15 **SET ERR    .5000    
 **********
 **********
 **   16 **SET GRAD    1.000    
 **********
 **********
 **   17 **MINIMIZE    .6130E+05   .2000E-04
 **********

 MIGRAD MINIMIZATION HAS CONVERGED.

 MIGRAD WILL VERIFY CONVERGENCE AND ERROR MATRIX.

 FCN=   21279.88     FROM MIGRAD    STATUS=CONVERGED     56 CALLS      214 TOTAL
                     EDM=   .20E-09    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor     5.2564        3.6963        .43761E-03   -.17339E-02
   2  Index         1.7339        .27580        .27575       -.18505E-03
   3  Normalizat    1.5027        .12517        .66309E-01    .18573E-04
   4  Prefactor     .89917        .73770E-01    .44994E-01    .30763E-04
                               ERR DEF=  .500    
Final values: 
  Prefactor  = 5.25636
  Index      = 1.7339
  Normalizat = 1.5027
  Prefactor  = 0.899171
 **********
 **   18 **HESSE 
 **********

 FCN=   21279.88     FROM HESSE     STATUS=OK            33 CALLS      247 TOTAL
                     EDM=   .15E-10    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  Prefactor     5.2564        4.7843        .17504E-04   -1.5662    
   2  Index         1.7339        .48444        .10352E-01   -.71183    
   3  Normalizat    1.5027        .14781        .29332E-03   -.77702    
   4  Prefactor     .89917        .87088E-01    .21535E-03   -.96170    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 1.48127e-11
Minuit parameter uncertainties:
  1  4.78429
  2  0.485775
  3  0.147852
  4  0.0871014
shell-init: error retrieving current directory: getcwd: cannot access parent directories: No such file or directory
Done.

MINUIT Return Code (Free Index): 0
logL (Free Index) = 21279.8827537
delta logL = 1.30294599407

Extracting fit parameters...

4FGL J1238.5-1201
   Spectrum: PowerLaw
326    Prefactor:  5.256e+00  4.784e+00  0.000e+00  1.000e+06 ( 1.000e-12)
327        Index:  1.734e+00  4.858e-01  0.000e+00  1.000e+01 (-1.000e+00)
328        Scale:  5.228e+02  0.000e+00  3.000e+01  5.000e+05 ( 1.000e+00) fixed

GAL_V02
   Spectrum: PowerLaw
610    Prefactor:  8.992e-01  8.710e-02  0.000e+00  1.000e+01 ( 1.000e+00)
611        Index:  0.000e+00  0.000e+00 -1.000e+00  1.000e+00 ( 1.000e+00) fixed
612        Scale:  1.000e+02  0.000e+00  5.000e+01  2.000e+02 ( 1.000e+00) fixed

EG_v02
   Spectrum: FileFunction
609   Normalization:  1.503e+00  1.479e-01  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Free Index): 8.86
Ra Dec: 189.625 -12.028
Photon Index (Free Index): 1.73 +/- 0.49
Photon Flux (Free Index): 1.25e-08 +/- 1.28e-08
Energy Flux (Free Index): 1.84e-05 +/- 1.93e-05

Creating a high resolution counts map...
INFO: Auto-setting vmin to -1.000e-01 [aplpy.core]
INFO: Auto-setting vmax to  1.110e+00 [aplpy.core]
Saving /lscratch/kocevski/36631537/cmap_HighResolution_809308801_809913601_4FGL_J1238.5-1201_weekly_bin943.png

Cleaning up...

** Nuclear option initiated! **

Updating database...

UPDATE lightcurve_data_v2 SET comment='SUCCESS', photon_flux='3.57e-08', energy_flux2='1.84e-05', photon_flux_error='2.30e-08', dlogl='1.30e+00', energy_flux='8.87e-06', photon_flux2='1.25e-08', job_status='DONE', time_completed='2026-09-01 10:07:22.009561', photon_index_error2='0.49', photon_index2='1.73', ts='6.26', fit_tolerance='1e-08', GAL='0.91', photon_index_error='0.00', energy_flux_error2='1.93e-05', EG='1.47', time_epoch_completed='1788282442.01', return_code='0', job_id='36631537', GAL2='0.90', EG2='1.50', return_code2='0', energy_flux_error='5.72e-06', photon_flux_error2='1.28e-08', ts2='8.86', photon_index='2.66' WHERE bin_id='943' AND source_name='4FGL J1238.5-1201' AND cadence='weekly';

Database successfully updated.


Analysis Complete.


Tue Sep  1 10:07:22 PDT 2026

e GAL_V02
Working on...
/lscratch/kocevski/36631612/ft1_filtered_4FGL_J1238.5-1201_weekly_bin943.fits.....................!
real 51.13
user 49.29
sys 1.06

Creating the likelihood object...
obs = UnbinnedObs('/lscratch/kocevski/36631612/ft1_filtered_4FGL_J1238.5-1201_weekly_bin943.fits', '/lscratch/kocevski/36631612/ft2_4FGL_J1238.5-1201_weekly_bin943.fits', expMap='/lscratch/kocevski/36631612/expmap_809308801_809913601_4FGL_J1238.5-1201_weekly_bin943.fits', expCube='/lscratch/kocevski/36631612/ltcube_809308801_809913601_4FGL_J1238.5-1201_weekly_bin943.fits', irfs='P8R3_SOURCE_V2')
like = UnbinnedAnalysis(obs, '/lscratch/kocevski/36631612/Model_4FGL_J1238.5-1201_weekly_bin943.xml', optimizer='MINUIT')

Using source of interest name: '4FGL J1238.5-1201'

4FGL J1238.5-1201
   Spectrum: PowerLaw
326    Prefactor:  4.386e+00  0.000e+00  0.000e+00  1.000e+06 ( 1.000e-12)
327        Index:  2.660e+00  0.000e+00  0.000e+00  1.000e+01 (-1.000e+00) fixed
328        Scale:  5.228e+02  0.000e+00  3.000e+01  5.000e+05 ( 1.000e+00) fixed


Likelihood Fit Parameters:
Event file(s): /lscratch/kocevski/36631612/ft1_filtered_4FGL_J1238.5-1201_weekly_bin943.fits
Spacecraft file(s): /lscratch/kocevski/36631612/ft2_4FGL_J1238.5-1201_weekly_bin943.fits
Exposure map: /lscratch/kocevski/36631612/expmap_809308801_809913601_4FGL_J1238.5-1201_weekly_bin943.fits
Exposure cube: /lscratch/kocevski/36631612/ltcube_809308801_809913601_4FGL_J1238.5-1201_weekly_bin943.fits
IRFs: P8R3_SOURCE_V2
Source model file: /lscratch/kocevski/36631612/Model_4FGL_J1238.5-1201_weekly_bin943.xml
Optimizer: MINUIT
Statistic: UNBINNED

Performing an iterative likelihood fit...

Fit tolerance = 1

Performing likelihood fit...
Done.

MINUIT Return Code (Fixed Index): 0
logL (Fixed Index) = 21281.2012526

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

MINUIT Return Code (Fixed Index): 0
logL (Fixed Index) = 21281.1864399

Fit tolerance = 1e-08

Performing likelihood fit...
 **********
 **   14 **SET NOWARN 
 **********

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'Prefactor '    .13600E-07   1.0000          .0000       .10000E+07
     2 'Prefactor '    46.505       1.0000          .0000       .10000E+07
     3 'Prefactor '    3.4588       1.0000          .0000       .10000E+07
     4 'Prefactor '    .76904       1.0000          .0000       .10000E+07
     5 'norm      '    1.6542       1.0000          .0000       .10000E+07
     6 'Prefactor '    .39905       1.0000          .0000       .10000E+07
     7 'Prefactor '    6.7503       1.0000         .10000E-03   10000.    
     8 'Prefactor '    8.8813       1.0000          .0000       .10000E+07
     9 'Prefactor '    .19836E-04   1.0000          .0000       .10000E+07
    10 'Prefactor '    7.2723       1.0000          .0000       .10000E+07
    11 'Prefactor '    .99929E-03   1.0000          .0000       .10000E+07
    12 'Prefactor '    .19441       1.0000          .0000       .10000E+07
    13 'norm      '    8.2882       1.0000          .0000       .10000E+07
    14 'Prefactor '    46.545       1.0000          .0000       .10000E+07
    15 'norm      '    .15004       1.0000          .0000       .10000E+07
    16 'norm      '    .10116       1.0000          .0000       .10000E+07
    17 'norm      '    1.3112       1.0000          .0000       .10000E+07
    18 'Prefactor '    .13509E-01   1.0000          .0000       .10000E+07
    19 'norm      '    6.5720       1.0000          .0000       .10000E+07
    20 'norm      '    4.7523       1.0000          .0000       .10000E+07
    21 'Prefactor '    .17486E-07   1.0000          .0000       .10000E+07
    22 'Prefactor '    .34167E-06   1.0000          .0000       .10000E+07
    23 'Normalizat'    1.4730       1.0000         .10000E-01   10.000    
    24 'Prefactor '    .90859       1.0000          .0000       10.000    
 **********
 **   15 **SET ERR    .5000    
 **********
 **********
 **   16 **SET GRAD    1.000    
 **********
 **********
 **   17 **MINIMIZE    .6130E+05   .2000E-04
 **********

 MIGRAD MINIMIZATION HAS CONVERGED.

 FCN=   21281.19     FROM MIGRAD    STATUS=CONVERGED    185 CALLS     2056 TOTAL
                     EDM=   .45E-10  STRATEGY=1  ERROR MATRIX UNCERTAINTY=  3.1%

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor      .0000        .68202       -.48158E-07** at limit **
   2  Prefactor     46.504        11.639        .22711E-08   -.27642E-03
   3  Prefactor     3.4655        4.7143       -.31433E-07    .68265E-04
   4  Prefactor     .40422        142.48       -.38822E-05   -.24565E-03
   5  norm          1.6545        1.1626       -.13609E-08   -.80026E-04
   6  Prefactor     .40698        5.0335        .21039E-06   -.11813E-03
   7  Prefactor     6.7486        1.4421       -.12657E-06   -.22713E-04
   8  Prefactor     8.8175        6.6956       -.15743E-07   -.35178E-03
   9  Prefactor      .0000        11.373       -.52998E-07** at limit **
  10  Prefactor     7.2644        4.6772       -.25959E-07    .91606E-04
  11  Prefactor      .0000        8.9222        .13644E-08** at limit **
  12  Prefactor      .0000        509.44       -.15016E-05** at limit **
  13  norm          8.3274        9.7228       -.92048E-07    .56517E-03
  14  Prefactor     46.552        1.7559        .32832E-07   -.84903E-02
  15  norm          .15028        .88534E-01    .21618E-09** at limit **
  16  norm          .99677E-01    9.2533        .50257E-06** at limit **
  17  norm          1.3080        2.7895        .20552E-07   -.12990E-03
  18  Prefactor     .38858E-09    116.54        .48808E-06** at limit **
  19  norm          6.5687        6.4548       -.22227E-07    .31242E-03
  20  norm          4.7551        5.3132        .52429E-07    .12580E-03
  21  Prefactor      .0000        1.0550        .62289E-07** at limit **
  22  Prefactor      .0000        2.4926       -.71473E-07** at limit **
  23  Normalizat    1.4734        .15233        .33757E-06   -.81079E-05
  24  Prefactor     .90862        .88419E-01   -.69490E-07    .92286E-05
                               ERR DEF=  .500    
Final values: 
  Prefactor  = 0
  Prefactor  = 46.5042
  Prefactor  = 3.46546
  Prefactor  = 0.404216
  norm       = 1.6545
  Prefactor  = 0.406975
  Prefactor  = 6.74863
  Prefactor  = 8.8175
  Prefactor  = 0
  Prefactor  = 7.26437
  Prefactor  = 0
  Prefactor  = 0
  norm       = 8.32745
  Prefactor  = 46.5524
  norm       = 0.150284
  norm       = 0.0996769
  norm       = 1.30798
  Prefactor  = 3.88578e-10
  norm       = 6.56868
  norm       = 4.75511
  Prefactor  = 0
  Prefactor  = 0
  Normalizat = 1.47337
  Prefactor  = 0.908618
 **********
 **   18 **HESSE 
 **********

 FCN=   21281.19     FROM HESSE     STATUS=OK           481 CALLS     2537 TOTAL
                     EDM=   .72E-07    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  Prefactor      .0000        .68485        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   2  Prefactor     46.504        11.632        .14665E-03   -1.5572    
   3  Prefactor     3.4655        4.7329        .54354E-03   -1.5671    
   4  Prefactor     .40422        137.22        .55272E-03   -1.5695    
   5  norm          1.6545        1.1608        .82034E-03   -1.5682    
   6  Prefactor     .40698        1.5469        .56714E-02   -1.5695    
   7  Prefactor     6.7486        1.4592        .38609E-02   -1.5188    
   8  Prefactor     8.8175        6.6975        .33609E-03   -1.5649    
   9  Prefactor      .0000        1.5629        .69405E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  10  Prefactor     7.2644        4.6858        .37171E-03   -1.5654    
  11  Prefactor      .0000        8.6553        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  12  Prefactor      .0000        8.2969        .15616E-01   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  13  norm          8.3274        9.7453        .34799E-03   -1.5650    
  14  Prefactor     46.552        43.328        .14659E-03   -1.5572    
  15  norm          .15028        .96228E-01    .72893E-03   -1.5700    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  16  norm          .99677E-01    1.0021        .75013E-02   -1.5702    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  17  norm          1.3080        3.3914        .96240E-03   -1.5685    
  18  Prefactor     .38858E-09    116.36        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  19  norm          6.5687        6.4729        .39122E-03   -1.5657    
  20  norm          4.7551        5.3223        .46131E-03   -1.5664    
  21  Prefactor      .0000        1.0669        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  22  Prefactor      .0000        2.4957        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  23  Normalizat    1.4734        .12979        .66859E-01   -.78530    
  24  Prefactor     .90862        .74815E-01    .45114E-01   -.95841    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 7.21851e-08
Minuit parameter uncertainties:
  1  1.79019e-06
  2  11.632
  3  4.73292
  4  14.8953
  5  1.16079
  6  1.5469
  7  1.45918
  8  6.69749
  9  8.45487e-06
  10  4.68584
  11  2.26457e-06
  12  8.13481e-06
  13  9.74532
  14  43.3282
  15  0.0962281
  16  0.632092
  17  3.39141
  18  0.000425066
  19  6.47287
  20  5.32227
  21  3.7908e-06
  22  4.27841e-06
  23  0.129817
  24  0.0748234
e GAL_V02
Working on...
/lscratch/kocevski/36631653/ft1_filtered_4FGL_J1238.5-1201_weekly_bin943.fits.....................!
real 53.06
user 51.24
sys 0.98

Creating the likelihood object...
obs = UnbinnedObs('/lscratch/kocevski/36631653/ft1_filtered_4FGL_J1238.5-1201_weekly_bin943.fits', '/lscratch/kocevski/36631653/ft2_4FGL_J1238.5-1201_weekly_bin943.fits', expMap='/lscratch/kocevski/36631653/expmap_809308801_809913601_4FGL_J1238.5-1201_weekly_bin943.fits', expCube='/lscratch/kocevski/36631653/ltcube_809308801_809913601_4FGL_J1238.5-1201_weekly_bin943.fits', irfs='P8R3_SOURCE_V2')
like = UnbinnedAnalysis(obs, '/lscratch/kocevski/36631653/Model_4FGL_J1238.5-1201_weekly_bin943.xml', optimizer='MINUIT')

Using source of interest name: '4FGL J1238.5-1201'

4FGL J1238.5-1201
   Spectrum: PowerLaw
326    Prefactor:  4.386e+00  0.000e+00  0.000e+00  1.000e+06 ( 1.000e-12)
327        Index:  2.660e+00  0.000e+00  0.000e+00  1.000e+01 (-1.000e+00) fixed
328        Scale:  5.228e+02  0.000e+00  3.000e+01  5.000e+05 ( 1.000e+00) fixed


Likelihood Fit Parameters:
Event file(s): /lscratch/kocevski/36631653/ft1_filtered_4FGL_J1238.5-1201_weekly_bin943.fits
Spacecraft file(s): /lscratch/kocevski/36631653/ft2_4FGL_J1238.5-1201_weekly_bin943.fits
Exposure map: /lscratch/kocevski/36631653/expmap_809308801_809913601_4FGL_J1238.5-1201_weekly_bin943.fits
Exposure cube: /lscratch/kocevski/36631653/ltcube_809308801_809913601_4FGL_J1238.5-1201_weekly_bin943.fits
IRFs: P8R3_SOURCE_V2
Source model file: /lscratch/kocevski/36631653/Model_4FGL_J1238.5-1201_weekly_bin943.xml
Optimizer: MINUIT
Statistic: UNBINNED

Performing an iterative likelihood fit...

Fit tolerance = 1

Performing likelihood fit...
Done.

MINUIT Return Code (Fixed Index): 0
logL (Fixed Index) = 21281.2012526

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

MINUIT Return Code (Fixed Index): 0
logL (Fixed Index) = 21281.1864399

Fit tolerance = 1e-08

Performing likelihood fit...
 **********
 **   14 **SET NOWARN 
 **********

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'Prefactor '    .13600E-07   1.0000          .0000       .10000E+07
     2 'Prefactor '    46.505       1.0000          .0000       .10000E+07
     3 'Prefactor '    3.4588       1.0000          .0000       .10000E+07
     4 'Prefactor '    .76904       1.0000          .0000       .10000E+07
     5 'norm      '    1.6542       1.0000          .0000       .10000E+07
     6 'Prefactor '    .39905       1.0000          .0000       .10000E+07
     7 'Prefactor '    6.7503       1.0000         .10000E-03   10000.    
     8 'Prefactor '    8.8813       1.0000          .0000       .10000E+07
     9 'Prefactor '    .19836E-04   1.0000          .0000       .10000E+07
    10 'Prefactor '    7.2723       1.0000          .0000       .10000E+07
    11 'Prefactor '    .99929E-03   1.0000          .0000       .10000E+07
    12 'Prefactor '    .19441       1.0000          .0000       .10000E+07
    13 'norm      '    8.2882       1.0000          .0000       .10000E+07
    14 'Prefactor '    46.545       1.0000          .0000       .10000E+07
    15 'norm      '    .15004       1.0000          .0000       .10000E+07
    16 'norm      '    .10116       1.0000          .0000       .10000E+07
    17 'norm      '    1.3112       1.0000          .0000       .10000E+07
    18 'Prefactor '    .13509E-01   1.0000          .0000       .10000E+07
    19 'norm      '    6.5720       1.0000          .0000       .10000E+07
    20 'norm      '    4.7523       1.0000          .0000       .10000E+07
    21 'Prefactor '    .17486E-07   1.0000          .0000       .10000E+07
    22 'Prefactor '    .34167E-06   1.0000          .0000       .10000E+07
    23 'Normalizat'    1.4730       1.0000         .10000E-01   10.000    
    24 'Prefactor '    .90859       1.0000          .0000       10.000    
 **********
 **   15 **SET ERR    .5000    
 **********
 **********
 **   16 **SET GRAD    1.000    
 **********
 **********
 **   17 **MINIMIZE    .6130E+05   .2000E-04
 **********

 MIGRAD MINIMIZATION HAS CONVERGED.

 FCN=   21281.19     FROM MIGRAD    STATUS=CONVERGED    185 CALLS     2056 TOTAL
                     EDM=   .45E-10  STRATEGY=1  ERROR MATRIX UNCERTAINTY=  3.1%

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor      .0000        .68202       -.48158E-07** at limit **
   2  Prefactor     46.504        11.639        .22711E-08   -.27642E-03
   3  Prefactor     3.4655        4.7143       -.31433E-07    .68265E-04
   4  Prefactor     .40422        142.48       -.38822E-05   -.24565E-03
   5  norm          1.6545        1.1626       -.13609E-08   -.80026E-04
   6  Prefactor     .40698        5.0335        .21039E-06   -.11813E-03
   7  Prefactor     6.7486        1.4421       -.12657E-06   -.22713E-04
   8  Prefactor     8.8175        6.6956       -.15743E-07   -.35178E-03
   9  Prefactor      .0000        11.373       -.52998E-07** at limit **
  10  Prefactor     7.2644        4.6772       -.25959E-07    .91606E-04
  11  Prefactor      .0000        8.9222        .13644E-08** at limit **
  12  Prefactor      .0000        509.44       -.15016E-05** at limit **
  13  norm          8.3274        9.7228       -.92048E-07    .56517E-03
  14  Prefactor     46.552        1.7559        .32832E-07   -.84903E-02
  15  norm          .15028        .88534E-01    .21618E-09** at limit **
  16  norm          .99677E-01    9.2533        .50257E-06** at limit **
  17  norm          1.3080        2.7895        .20552E-07   -.12990E-03
  18  Prefactor     .38858E-09    116.54        .48808E-06** at limit **
  19  norm          6.5687        6.4548       -.22227E-07    .31242E-03
  20  norm          4.7551        5.3132        .52429E-07    .12580E-03
  21  Prefactor      .0000        1.0550        .62289E-07** at limit **
  22  Prefactor      .0000        2.4926       -.71473E-07** at limit **
  23  Normalizat    1.4734        .15233        .33757E-06   -.81079E-05
  24  Prefactor     .90862        .88419E-01   -.69490E-07    .92286E-05
                               ERR DEF=  .500    
Final values: 
  Prefactor  = 0
  Prefactor  = 46.5042
  Prefactor  = 3.46546
  Prefactor  = 0.404216
  norm       = 1.6545
  Prefactor  = 0.406975
  Prefactor  = 6.74863
  Prefactor  = 8.8175
  Prefactor  = 0
  Prefactor  = 7.26437
  Prefactor  = 0
  Prefactor  = 0
  norm       = 8.32745
  Prefactor  = 46.5524
  norm       = 0.150284
  norm       = 0.0996769
  norm       = 1.30798
  Prefactor  = 3.88578e-10
  norm       = 6.56868
  norm       = 4.75511
  Prefactor  = 0
  Prefactor  = 0
  Normalizat = 1.47337
  Prefactor  = 0.908618
e GAL_V02
Working on...
/lscratch/kocevski/36631678/ft1_filtered_4FGL_J1238.5-1201_weekly_bin943.fits.....................!
real 50.77
user 49.06
sys 0.96

Creating the likelihood object...
obs = UnbinnedObs('/lscratch/kocevski/36631678/ft1_filtered_4FGL_J1238.5-1201_weekly_bin943.fits', '/lscratch/kocevski/36631678/ft2_4FGL_J1238.5-1201_weekly_bin943.fits', expMap='/lscratch/kocevski/36631678/expmap_809308801_809913601_4FGL_J1238.5-1201_weekly_bin943.fits', expCube='/lscratch/kocevski/36631678/ltcube_809308801_809913601_4FGL_J1238.5-1201_weekly_bin943.fits', irfs='P8R3_SOURCE_V2')
like = UnbinnedAnalysis(obs, '/lscratch/kocevski/36631678/Model_4FGL_J1238.5-1201_weekly_bin943.xml', optimizer='MINUIT')

Using source of interest name: '4FGL J1238.5-1201'

4FGL J1238.5-1201
   Spectrum: PowerLaw
326    Prefactor:  4.386e+00  0.000e+00  0.000e+00  1.000e+06 ( 1.000e-12)
327        Index:  2.660e+00  0.000e+00  0.000e+00  1.000e+01 (-1.000e+00) fixed
328        Scale:  5.228e+02  0.000e+00  3.000e+01  5.000e+05 ( 1.000e+00) fixed


Likelihood Fit Parameters:
Event file(s): /lscratch/kocevski/36631678/ft1_filtered_4FGL_J1238.5-1201_weekly_bin943.fits
Spacecraft file(s): /lscratch/kocevski/36631678/ft2_4FGL_J1238.5-1201_weekly_bin943.fits
Exposure map: /lscratch/kocevski/36631678/expmap_809308801_809913601_4FGL_J1238.5-1201_weekly_bin943.fits
Exposure cube: /lscratch/kocevski/36631678/ltcube_809308801_809913601_4FGL_J1238.5-1201_weekly_bin943.fits
IRFs: P8R3_SOURCE_V2
Source model file: /lscratch/kocevski/36631678/Model_4FGL_J1238.5-1201_weekly_bin943.xml
Optimizer: MINUIT
Statistic: UNBINNED

Performing an iterative likelihood fit...

Fit tolerance = 1

Performing likelihood fit...
Done.

MINUIT Return Code (Fixed Index): 0
logL (Fixed Index) = 21281.2012526

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

MINUIT Return Code (Fixed Index): 0
logL (Fixed Index) = 21281.1864399

Fit tolerance = 1e-08

Performing likelihood fit...
 **********
 **   14 **SET NOWARN 
 **********

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'Prefactor '    .13600E-07   1.0000          .0000       .10000E+07
     2 'Prefactor '    46.505       1.0000          .0000       .10000E+07
     3 'Prefactor '    3.4588       1.0000          .0000       .10000E+07
     4 'Prefactor '    .76904       1.0000          .0000       .10000E+07
     5 'norm      '    1.6542       1.0000          .0000       .10000E+07
     6 'Prefactor '    .39905       1.0000          .0000       .10000E+07
     7 'Prefactor '    6.7503       1.0000         .10000E-03   10000.    
     8 'Prefactor '    8.8813       1.0000          .0000       .10000E+07
     9 'Prefactor '    .19836E-04   1.0000          .0000       .10000E+07
    10 'Prefactor '    7.2723       1.0000          .0000       .10000E+07
    11 'Prefactor '    .99929E-03   1.0000          .0000       .10000E+07
    12 'Prefactor '    .19441       1.0000          .0000       .10000E+07
    13 'norm      '    8.2882       1.0000          .0000       .10000E+07
    14 'Prefactor '    46.545       1.0000          .0000       .10000E+07
    15 'norm      '    .15004       1.0000          .0000       .10000E+07
    16 'norm      '    .10116       1.0000          .0000       .10000E+07
    17 'norm      '    1.3112       1.0000          .0000       .10000E+07
    18 'Prefactor '    .13509E-01   1.0000          .0000       .10000E+07
    19 'norm      '    6.5720       1.0000          .0000       .10000E+07
    20 'norm      '    4.7523       1.0000          .0000       .10000E+07
    21 'Prefactor '    .17486E-07   1.0000          .0000       .10000E+07
    22 'Prefactor '    .34167E-06   1.0000          .0000       .10000E+07
    23 'Normalizat'    1.4730       1.0000         .10000E-01   10.000    
    24 'Prefactor '    .90859       1.0000          .0000       10.000    
 **********
 **   15 **SET ERR    .5000    
 **********
 **********
 **   16 **SET GRAD    1.000    
 **********
 **********
 **   17 **MINIMIZE    .6130E+05   .2000E-04
 **********

 MIGRAD MINIMIZATION HAS CONVERGED.

 FCN=   21281.19     FROM MIGRAD    STATUS=CONVERGED    185 CALLS     2056 TOTAL
                     EDM=   .45E-10  STRATEGY=1  ERROR MATRIX UNCERTAINTY=  3.1%

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor      .0000        .68202       -.48158E-07** at limit **
   2  Prefactor     46.504        11.639        .22711E-08   -.27642E-03
   3  Prefactor     3.4655        4.7143       -.31433E-07    .68265E-04
   4  Prefactor     .40422        142.48       -.38822E-05   -.24565E-03
   5  norm          1.6545        1.1626       -.13609E-08   -.80026E-04
   6  Prefactor     .40698        5.0335        .21039E-06   -.11813E-03
   7  Prefactor     6.7486        1.4421       -.12657E-06   -.22713E-04
   8  Prefactor     8.8175        6.6956       -.15743E-07   -.35178E-03
   9  Prefactor      .0000        11.373       -.52998E-07** at limit **
  10  Prefactor     7.2644        4.6772       -.25959E-07    .91606E-04
  11  Prefactor      .0000        8.9222        .13644E-08** at limit **
  12  Prefactor      .0000        509.44       -.15016E-05** at limit **
  13  norm          8.3274        9.7228       -.92048E-07    .56517E-03
  14  Prefactor     46.552        1.7559        .32832E-07   -.84903E-02
  15  norm          .15028        .88534E-01    .21618E-09** at limit **
  16  norm          .99677E-01    9.2533        .50257E-06** at limit **
  17  norm          1.3080        2.7895        .20552E-07   -.12990E-03
  18  Prefactor     .38858E-09    116.54        .48808E-06** at limit **
  19  norm          6.5687        6.4548       -.22227E-07    .31242E-03
  20  norm          4.7551        5.3132        .52429E-07    .12580E-03
  21  Prefactor      .0000        1.0550        .62289E-07** at limit **
  22  Prefactor      .0000        2.4926       -.71473E-07** at limit **
  23  Normalizat    1.4734        .15233        .33757E-06   -.81079E-05
  24  Prefactor     .90862        .88419E-01   -.69490E-07    .92286E-05
                               ERR DEF=  .500    
Final values: 
  Prefactor  = 0
  Prefactor  = 46.5042
  Prefactor  = 3.46546
  Prefactor  = 0.404216
  norm       = 1.6545
  Prefactor  = 0.406975
  Prefactor  = 6.74863
  Prefactor  = 8.8175
  Prefactor  = 0
  Prefactor  = 7.26437
  Prefactor  = 0
  Prefactor  = 0
  norm       = 8.32745
  Prefactor  = 46.5524
  norm       = 0.150284
  norm       = 0.0996769
  norm       = 1.30798
  Prefactor  = 3.88578e-10
  norm       = 6.56868
  norm       = 4.75511
  Prefactor  = 0
  Prefactor  = 0
  Normalizat = 1.47337
  Prefactor  = 0.908618
 **********
 **   18 **HESSE 
 **********

 FCN=   21281.19     FROM HESSE     STATUS=OK           481 CALLS     2537 TOTAL
                     EDM=   .72E-07    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  Prefactor      .0000        .68485        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   2  Prefactor     46.504        11.632        .14665E-03   -1.5572    
   3  Prefactor     3.4655        4.7329        .54354E-03   -1.5671    
   4  Prefactor     .40422        137.22        .55272E-03   -1.5695    
   5  norm          1.6545        1.1608        .82034E-03   -1.5682    
   6  Prefactor     .40698        1.5469        .56714E-02   -1.5695    
   7  Prefactor     6.7486        1.4592        .38609E-02   -1.5188    
   8  Prefactor     8.8175        6.6975        .33609E-03   -1.5649    
   9  Prefactor      .0000        1.5629        .69405E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  10  Prefactor     7.2644        4.6858        .37171E-03   -1.5654    
  11  Prefactor      .0000        8.6553        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  12  Prefactor      .0000        8.2969        .15616E-01   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  13  norm          8.3274        9.7453        .34799E-03   -1.5650    
  14  Prefactor     46.552        43.328        .14659E-03   -1.5572    
  15  norm          .15028        .96228E-01    .72893E-03   -1.5700    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  16  norm          .99677E-01    1.0021        .75013E-02   -1.5702    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  17  norm          1.3080        3.3914        .96240E-03   -1.5685    
  18  Prefactor     .38858E-09    116.36        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  19  norm          6.5687        6.4729        .39122E-03   -1.5657    
  20  norm          4.7551        5.3223        .46131E-03   -1.5664    
  21  Prefactor      .0000        1.0669        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  22  Prefactor      .0000        2.4957        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  23  Normalizat    1.4734        .12979        .66859E-01   -.78530    
  24  Prefactor     .90862        .74815E-01    .45114E-01   -.95841    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 7.21851e-08
Minuit parameter uncertainties:
  1  1.79019e-06
  2  11.632
  3  4.73292
  4  14.8953
  5  1.16079
  6  1.5469
  7  1.45918
  8  6.69749
  9  8.45487e-06
  10  4.68584
  11  2.26457e-06
  12  8.13481e-06
  13  9.74532
  14  43.3282
  15  0.0962281
  16  0.632092
  17  3.39141
  18  0.000425066
  19  6.47287
  20  5.32227
  21  3.7908e-06
  22  4.27841e-06
  23  0.129817
  24  0.0748234
Done.

MINUIT Return Code (Fixed Index): 0
logL (Fixed Index) = 21281.1856997

Extracting fit parameters...

4FGL J1238.5-1201
   Spectrum: PowerLaw
326    Prefactor:  7.264e+00  4.686e+00  0.000e+00  1.000e+06 ( 1.000e-12)
327        Index:  2.660e+00  0.000e+00  0.000e+00  1.000e+01 (-1.000e+00) fixed
328        Scale:  5.228e+02  0.000e+00  3.000e+01  5.000e+05 ( 1.000e+00) fixed

GAL_V02
   Spectrum: PowerLaw
610    Prefactor:  9.086e-01  7.482e-02  0.000e+00  1.000e+01 ( 1.000e+00)
611        Index:  0.000e+00  0.000e+00 -1.000e+00  1.000e+00 ( 1.000e+00) fixed
612        Scale:  1.000e+02  0.000e+00  5.000e+01  2.000e+02 ( 1.000e+00) fixed

EG_v02
   Spectrum: FileFunction
609   Normalization:  1.473e+00  1.298e-01  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Fixed Index): 6.26
Ra Dec: 189.625 -12.028
Photon Index (Fixed Index): 2.66 +/- 0.00
Photon Flux (Fixed Index): 3.57e-08 +/- 2.30e-08
Energy Flux (Fixed Index): 8.87e-06 +/- 5.72e-06

Performing a free index iterative likelihood fit...

Freezing all point sources, except source of interest...

Done.

Freeing candidate source...
Done.

Fit tolerance = 1

Performing likelihood fit...
Done.

MINUIT Return Code (Free Index): 0
logL (Free Index) = 21279.9562846
delta logL = 1.22941508733

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

MINUIT Return Code (Free Index): 0
logL (Free Index) = 21279.8827599
delta logL = 1.30293982926

Fit tolerance = 1e-08

Performing likelihood fit...
 **********
 **   14 **SET NOWARN 
 **********

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'Prefactor '    5.2698       1.0000          .0000       .10000E+07
     2 'Index     '    1.7355       1.0000          .0000       10.000    
     3 'Normalizat'    1.5027       1.0000         .10000E-01   10.000    
     4 'Prefactor '    .89911       1.0000          .0000       10.000    
 **********
 **   15 **SET ERR    .5000    
 **********
 **********
 **   16 **SET GRAD    1.000    
 **********
 **********
 **   17 **MINIMIZE    .6130E+05   .2000E-04
 **********

 MIGRAD MINIMIZATION HAS CONVERGED.

 MIGRAD WILL VERIFY CONVERGENCE AND ERROR MATRIX.

 FCN=   21279.88     FROM MIGRAD    STATUS=CONVERGED     56 CALLS      214 TOTAL
                     EDM=   .20E-09    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor     5.2564        3.6963        .43761E-03   -.17339E-02
   2  Index         1.7339        .27580        .27575       -.18505E-03
   3  Normalizat    1.5027        .12517        .66309E-01    .18573E-04
   4  Prefactor     .89917        .73770E-01    .44994E-01    .30763E-04
                               ERR DEF=  .500    
Final values: 
  Prefactor  = 5.25636
  Index      = 1.7339
  Normalizat = 1.5027
  Prefactor  = 0.899171
 **********
 **   18 **HESSE 
 **********

 FCN=   21279.88     FROM HESSE     STATUS=OK            33 CALLS      247 TOTAL
                     EDM=   .15E-10    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  Prefactor     5.2564        4.7843        .17504E-04   -1.5662    
   2  Index         1.7339        .48444        .10352E-01   -.71183    
   3  Normalizat    1.5027        .14781        .29332E-03   -.77702    
   4  Prefactor     .89917        .87088E-01    .21535E-03   -.96170    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 1.48127e-11
Minuit parameter uncertainties:
  1  4.78429
  2  0.485775
  3  0.147852
  4  0.0871014
 **********
 **   18 **HESSE 
 **********

 FCN=   21281.19     FROM HESSE     STATUS=OK           481 CALLS     2537 TOTAL
                     EDM=   .72E-07    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  Prefactor      .0000        .68485        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   2  Prefactor     46.504        11.632        .14665E-03   -1.5572    
   3  Prefactor     3.4655        4.7329        .54354E-03   -1.5671    
   4  Prefactor     .40422        137.22        .55272E-03   -1.5695    
   5  norm          1.6545        1.1608        .82034E-03   -1.5682    
   6  Prefactor     .40698        1.5469        .56714E-02   -1.5695    
   7  Prefactor     6.7486        1.4592        .38609E-02   -1.5188    
   8  Prefactor     8.8175        6.6975        .33609E-03   -1.5649    
   9  Prefactor      .0000        1.5629        .69405E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  10  Prefactor     7.2644        4.6858        .37171E-03   -1.5654    
  11  Prefactor      .0000        8.6553        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  12  Prefactor      .0000        8.2969        .15616E-01   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  13  norm          8.3274        9.7453        .34799E-03   -1.5650    
  14  Prefactor     46.552        43.328        .14659E-03   -1.5572    
  15  norm          .15028        .96228E-01    .72893E-03   -1.5700    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  16  norm          .99677E-01    1.0021        .75013E-02   -1.5702    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  17  norm          1.3080        3.3914        .96240E-03   -1.5685    
  18  Prefactor     .38858E-09    116.36        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  19  norm          6.5687        6.4729        .39122E-03   -1.5657    
  20  norm          4.7551        5.3223        .46131E-03   -1.5664    
  21  Prefactor      .0000        1.0669        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  22  Prefactor      .0000        2.4957        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  23  Normalizat    1.4734        .12979        .66859E-01   -.78530    
  24  Prefactor     .90862        .74815E-01    .45114E-01   -.95841    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 7.21851e-08
Minuit parameter uncertainties:
  1  1.79019e-06
  2  11.632
  3  4.73292
  4  14.8953
  5  1.16079
  6  1.5469
  7  1.45918
  8  6.69749
  9  8.45487e-06
  10  4.68584
  11  2.26457e-06
  12  8.13481e-06
  13  9.74532
  14  43.3282
  15  0.0962281
  16  0.632092
  17  3.39141
  18  0.000425066
  19  6.47287
  20  5.32227
  21  3.7908e-06
  22  4.27841e-06
  23  0.129817
  24  0.0748234
shell-init: error retrieving current directory: getcwd: cannot access parent directories: No such file or directory
Done.

MINUIT Return Code (Free Index): 0
logL (Free Index) = 21279.8827537
delta logL = 1.30294599407

Extracting fit parameters...

4FGL J1238.5-1201
   Spectrum: PowerLaw
326    Prefactor:  5.256e+00  4.784e+00  0.000e+00  1.000e+06 ( 1.000e-12)
327        Index:  1.734e+00  4.858e-01  0.000e+00  1.000e+01 (-1.000e+00)
328        Scale:  5.228e+02  0.000e+00  3.000e+01  5.000e+05 ( 1.000e+00) fixed

GAL_V02
   Spectrum: PowerLaw
610    Prefactor:  8.992e-01  8.710e-02  0.000e+00  1.000e+01 ( 1.000e+00)
611        Index:  0.000e+00  0.000e+00 -1.000e+00  1.000e+00 ( 1.000e+00) fixed
612        Scale:  1.000e+02  0.000e+00  5.000e+01  2.000e+02 ( 1.000e+00) fixed

EG_v02
   Spectrum: FileFunction
609   Normalization:  1.503e+00  1.479e-01  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Free Index): 8.86
Ra Dec: 189.625 -12.028
Photon Index (Free Index): 1.73 +/- 0.49
Photon Flux (Free Index): 1.25e-08 +/- 1.28e-08
Energy Flux (Free Index): 1.84e-05 +/- 1.93e-05

Creating a high resolution counts map...
INFO: Auto-setting vmin to -1.000e-01 [aplpy.core]
INFO: Auto-setting vmax to  1.110e+00 [aplpy.core]
Saving /lscratch/kocevski/36631492/cmap_HighResolution_809308801_809913601_4FGL_J1238.5-1201_weekly_bin943.png

Cleaning up...

** Nuclear option initiated! **

Updating database...

UPDATE lightcurve_data_v2 SET comment='SUCCESS', photon_flux='3.57e-08', energy_flux2='1.84e-05', photon_flux_error='2.30e-08', dlogl='1.30e+00', energy_flux='8.87e-06', photon_flux2='1.25e-08', job_status='DONE', time_completed='2026-09-01 10:08:06.908533', photon_index_error2='0.49', photon_index2='1.73', ts='6.26', fit_tolerance='1e-08', GAL='0.91', photon_index_error='0.00', energy_flux_error2='1.93e-05', EG='1.47', time_epoch_completed='1788282486.91', return_code='0', job_id='36631492', GAL2='0.90', EG2='1.50', return_code2='0', energy_flux_error='5.72e-06', photon_flux_error2='1.28e-08', ts2='8.86', photon_index='2.66' WHERE bin_id='943' AND source_name='4FGL J1238.5-1201' AND cadence='weekly';

Database successfully updated.


Analysis Complete.


Tue Sep  1 10:08:07 PDT 2026

 **********
 **   18 **HESSE 
 **********

 FCN=   21281.19     FROM HESSE     STATUS=OK           481 CALLS     2537 TOTAL
                     EDM=   .72E-07    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  Prefactor      .0000        .68485        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   2  Prefactor     46.504        11.632        .14665E-03   -1.5572    
   3  Prefactor     3.4655        4.7329        .54354E-03   -1.5671    
   4  Prefactor     .40422        137.22        .55272E-03   -1.5695    
   5  norm          1.6545        1.1608        .82034E-03   -1.5682    
   6  Prefactor     .40698        1.5469        .56714E-02   -1.5695    
   7  Prefactor     6.7486        1.4592        .38609E-02   -1.5188    
   8  Prefactor     8.8175        6.6975        .33609E-03   -1.5649    
   9  Prefactor      .0000        1.5629        .69405E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  10  Prefactor     7.2644        4.6858        .37171E-03   -1.5654    
  11  Prefactor      .0000        8.6553        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  12  Prefactor      .0000        8.2969        .15616E-01   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  13  norm          8.3274        9.7453        .34799E-03   -1.5650    
  14  Prefactor     46.552        43.328        .14659E-03   -1.5572    
  15  norm          .15028        .96228E-01    .72893E-03   -1.5700    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  16  norm          .99677E-01    1.0021        .75013E-02   -1.5702    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  17  norm          1.3080        3.3914        .96240E-03   -1.5685    
  18  Prefactor     .38858E-09    116.36        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  19  norm          6.5687        6.4729        .39122E-03   -1.5657    
  20  norm          4.7551        5.3223        .46131E-03   -1.5664    
  21  Prefactor      .0000        1.0669        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  22  Prefactor      .0000        2.4957        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  23  Normalizat    1.4734        .12979        .66859E-01   -.78530    
  24  Prefactor     .90862        .74815E-01    .45114E-01   -.95841    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 7.21851e-08
Minuit parameter uncertainties:
  1  1.79019e-06
  2  11.632
  3  4.73292
  4  14.8953
  5  1.16079
  6  1.5469
  7  1.45918
  8  6.69749
  9  8.45487e-06
  10  4.68584
  11  2.26457e-06
  12  8.13481e-06
  13  9.74532
  14  43.3282
  15  0.0962281
  16  0.632092
  17  3.39141
  18  0.000425066
  19  6.47287
  20  5.32227
  21  3.7908e-06
  22  4.27841e-06
  23  0.129817
  24  0.0748234
e GAL_V02
Working on...
/lscratch/kocevski/36631603/ft1_filtered_4FGL_J1238.5-1201_weekly_bin943.fits.....................!
real 60.31
user 58.33
sys 1.10

Creating the likelihood object...
obs = UnbinnedObs('/lscratch/kocevski/36631603/ft1_filtered_4FGL_J1238.5-1201_weekly_bin943.fits', '/lscratch/kocevski/36631603/ft2_4FGL_J1238.5-1201_weekly_bin943.fits', expMap='/lscratch/kocevski/36631603/expmap_809308801_809913601_4FGL_J1238.5-1201_weekly_bin943.fits', expCube='/lscratch/kocevski/36631603/ltcube_809308801_809913601_4FGL_J1238.5-1201_weekly_bin943.fits', irfs='P8R3_SOURCE_V2')
like = UnbinnedAnalysis(obs, '/lscratch/kocevski/36631603/Model_4FGL_J1238.5-1201_weekly_bin943.xml', optimizer='MINUIT')

Using source of interest name: '4FGL J1238.5-1201'

4FGL J1238.5-1201
   Spectrum: PowerLaw
326    Prefactor:  4.386e+00  0.000e+00  0.000e+00  1.000e+06 ( 1.000e-12)
327        Index:  2.660e+00  0.000e+00  0.000e+00  1.000e+01 (-1.000e+00) fixed
328        Scale:  5.228e+02  0.000e+00  3.000e+01  5.000e+05 ( 1.000e+00) fixed


Likelihood Fit Parameters:
Event file(s): /lscratch/kocevski/36631603/ft1_filtered_4FGL_J1238.5-1201_weekly_bin943.fits
Spacecraft file(s): /lscratch/kocevski/36631603/ft2_4FGL_J1238.5-1201_weekly_bin943.fits
Exposure map: /lscratch/kocevski/36631603/expmap_809308801_809913601_4FGL_J1238.5-1201_weekly_bin943.fits
Exposure cube: /lscratch/kocevski/36631603/ltcube_809308801_809913601_4FGL_J1238.5-1201_weekly_bin943.fits
IRFs: P8R3_SOURCE_V2
Source model file: /lscratch/kocevski/36631603/Model_4FGL_J1238.5-1201_weekly_bin943.xml
Optimizer: MINUIT
Statistic: UNBINNED

Performing an iterative likelihood fit...

Fit tolerance = 1

Performing likelihood fit...
Done.

MINUIT Return Code (Fixed Index): 0
logL (Fixed Index) = 21281.2012526

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

MINUIT Return Code (Fixed Index): 0
logL (Fixed Index) = 21281.1864399

Fit tolerance = 1e-08

Performing likelihood fit...
 **********
 **   14 **SET NOWARN 
 **********

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'Prefactor '    .13600E-07   1.0000          .0000       .10000E+07
     2 'Prefactor '    46.505       1.0000          .0000       .10000E+07
     3 'Prefactor '    3.4588       1.0000          .0000       .10000E+07
     4 'Prefactor '    .76904       1.0000          .0000       .10000E+07
     5 'norm      '    1.6542       1.0000          .0000       .10000E+07
     6 'Prefactor '    .39905       1.0000          .0000       .10000E+07
     7 'Prefactor '    6.7503       1.0000         .10000E-03   10000.    
     8 'Prefactor '    8.8813       1.0000          .0000       .10000E+07
     9 'Prefactor '    .19836E-04   1.0000          .0000       .10000E+07
    10 'Prefactor '    7.2723       1.0000          .0000       .10000E+07
    11 'Prefactor '    .99929E-03   1.0000          .0000       .10000E+07
    12 'Prefactor '    .19441       1.0000          .0000       .10000E+07
    13 'norm      '    8.2882       1.0000          .0000       .10000E+07
    14 'Prefactor '    46.545       1.0000          .0000       .10000E+07
    15 'norm      '    .15004       1.0000          .0000       .10000E+07
    16 'norm      '    .10116       1.0000          .0000       .10000E+07
    17 'norm      '    1.3112       1.0000          .0000       .10000E+07
    18 'Prefactor '    .13509E-01   1.0000          .0000       .10000E+07
    19 'norm      '    6.5720       1.0000          .0000       .10000E+07
    20 'norm      '    4.7523       1.0000          .0000       .10000E+07
    21 'Prefactor '    .17486E-07   1.0000          .0000       .10000E+07
    22 'Prefactor '    .34167E-06   1.0000          .0000       .10000E+07
    23 'Normalizat'    1.4730       1.0000         .10000E-01   10.000    
    24 'Prefactor '    .90859       1.0000          .0000       10.000    
 **********
 **   15 **SET ERR    .5000    
 **********
 **********
 **   16 **SET GRAD    1.000    
 **********
 **********
 **   17 **MINIMIZE    .6130E+05   .2000E-04
 **********

 MIGRAD MINIMIZATION HAS CONVERGED.

 FCN=   21281.19     FROM MIGRAD    STATUS=CONVERGED    185 CALLS     2056 TOTAL
                     EDM=   .45E-10  STRATEGY=1  ERROR MATRIX UNCERTAINTY=  3.1%

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor      .0000        .68202       -.48158E-07** at limit **
   2  Prefactor     46.504        11.639        .22711E-08   -.27642E-03
   3  Prefactor     3.4655        4.7143       -.31433E-07    .68265E-04
   4  Prefactor     .40422        142.48       -.38822E-05   -.24565E-03
   5  norm          1.6545        1.1626       -.13609E-08   -.80026E-04
   6  Prefactor     .40698        5.0335        .21039E-06   -.11813E-03
   7  Prefactor     6.7486        1.4421       -.12657E-06   -.22713E-04
   8  Prefactor     8.8175        6.6956       -.15743E-07   -.35178E-03
   9  Prefactor      .0000        11.373       -.52998E-07** at limit **
  10  Prefactor     7.2644        4.6772       -.25959E-07    .91606E-04
  11  Prefactor      .0000        8.9222        .13644E-08** at limit **
  12  Prefactor      .0000        509.44       -.15016E-05** at limit **
  13  norm          8.3274        9.7228       -.92048E-07    .56517E-03
  14  Prefactor     46.552        1.7559        .32832E-07   -.84903E-02
  15  norm          .15028        .88534E-01    .21618E-09** at limit **
  16  norm          .99677E-01    9.2533        .50257E-06** at limit **
  17  norm          1.3080        2.7895        .20552E-07   -.12990E-03
  18  Prefactor     .38858E-09    116.54        .48808E-06** at limit **
  19  norm          6.5687        6.4548       -.22227E-07    .31242E-03
  20  norm          4.7551        5.3132        .52429E-07    .12580E-03
  21  Prefactor      .0000        1.0550        .62289E-07** at limit **
  22  Prefactor      .0000        2.4926       -.71473E-07** at limit **
  23  Normalizat    1.4734        .15233        .33757E-06   -.81079E-05
  24  Prefactor     .90862        .88419E-01   -.69490E-07    .92286E-05
                               ERR DEF=  .500    
Final values: 
  Prefactor  = 0
  Prefactor  = 46.5042
  Prefactor  = 3.46546
  Prefactor  = 0.404216
  norm       = 1.6545
  Prefactor  = 0.406975
  Prefactor  = 6.74863
  Prefactor  = 8.8175
  Prefactor  = 0
  Prefactor  = 7.26437
  Prefactor  = 0
  Prefactor  = 0
  norm       = 8.32745
  Prefactor  = 46.5524
  norm       = 0.150284
  norm       = 0.0996769
  norm       = 1.30798
  Prefactor  = 3.88578e-10
  norm       = 6.56868
  norm       = 4.75511
  Prefactor  = 0
  Prefactor  = 0
  Normalizat = 1.47337
  Prefactor  = 0.908618
Done.

MINUIT Return Code (Fixed Index): 0
logL (Fixed Index) = 21281.1856997

Extracting fit parameters...

4FGL J1238.5-1201
   Spectrum: PowerLaw
326    Prefactor:  7.264e+00  4.686e+00  0.000e+00  1.000e+06 ( 1.000e-12)
327        Index:  2.660e+00  0.000e+00  0.000e+00  1.000e+01 (-1.000e+00) fixed
328        Scale:  5.228e+02  0.000e+00  3.000e+01  5.000e+05 ( 1.000e+00) fixed

GAL_V02
   Spectrum: PowerLaw
610    Prefactor:  9.086e-01  7.482e-02  0.000e+00  1.000e+01 ( 1.000e+00)
611        Index:  0.000e+00  0.000e+00 -1.000e+00  1.000e+00 ( 1.000e+00) fixed
612        Scale:  1.000e+02  0.000e+00  5.000e+01  2.000e+02 ( 1.000e+00) fixed

EG_v02
   Spectrum: FileFunction
609   Normalization:  1.473e+00  1.298e-01  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Fixed Index): 6.26
Ra Dec: 189.625 -12.028
Photon Index (Fixed Index): 2.66 +/- 0.00
Photon Flux (Fixed Index): 3.57e-08 +/- 2.30e-08
Energy Flux (Fixed Index): 8.87e-06 +/- 5.72e-06

Performing a free index iterative likelihood fit...

Freezing all point sources, except source of interest...

Done.

Freeing candidate source...
Done.

Fit tolerance = 1

Performing likelihood fit...
Done.

MINUIT Return Code (Free Index): 0
logL (Free Index) = 21279.9562846
delta logL = 1.22941508733

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

MINUIT Return Code (Free Index): 0
logL (Free Index) = 21279.8827599
delta logL = 1.30293982926

Fit tolerance = 1e-08

Performing likelihood fit...
 **********
 **   14 **SET NOWARN 
 **********

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'Prefactor '    5.2698       1.0000          .0000       .10000E+07
     2 'Index     '    1.7355       1.0000          .0000       10.000    
     3 'Normalizat'    1.5027       1.0000         .10000E-01   10.000    
     4 'Prefactor '    .89911       1.0000          .0000       10.000    
 **********
 **   15 **SET ERR    .5000    
 **********
 **********
 **   16 **SET GRAD    1.000    
 **********
 **********
 **   17 **MINIMIZE    .6130E+05   .2000E-04
 **********

 MIGRAD MINIMIZATION HAS CONVERGED.

 MIGRAD WILL VERIFY CONVERGENCE AND ERROR MATRIX.

 FCN=   21279.88     FROM MIGRAD    STATUS=CONVERGED     56 CALLS      214 TOTAL
                     EDM=   .20E-09    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor     5.2564        3.6963        .43761E-03   -.17339E-02
   2  Index         1.7339        .27580        .27575       -.18505E-03
   3  Normalizat    1.5027        .12517        .66309E-01    .18573E-04
   4  Prefactor     .89917        .73770E-01    .44994E-01    .30763E-04
                               ERR DEF=  .500    
Final values: 
  Prefactor  = 5.25636
  Index      = 1.7339
  Normalizat = 1.5027
  Prefactor  = 0.899171
 **********
 **   18 **HESSE 
 **********

 FCN=   21279.88     FROM HESSE     STATUS=OK            33 CALLS      247 TOTAL
                     EDM=   .15E-10    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  Prefactor     5.2564        4.7843        .17504E-04   -1.5662    
   2  Index         1.7339        .48444        .10352E-01   -.71183    
   3  Normalizat    1.5027        .14781        .29332E-03   -.77702    
   4  Prefactor     .89917        .87088E-01    .21535E-03   -.96170    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 1.48127e-11
Minuit parameter uncertainties:
  1  4.78429
  2  0.485775
  3  0.147852
  4  0.0871014
shell-init: error retrieving current directory: getcwd: cannot access parent directories: No such file or directory
Done.

MINUIT Return Code (Free Index): 0
logL (Free Index) = 21279.8827537
delta logL = 1.30294599407

Extracting fit parameters...

4FGL J1238.5-1201
   Spectrum: PowerLaw
326    Prefactor:  5.256e+00  4.784e+00  0.000e+00  1.000e+06 ( 1.000e-12)
327        Index:  1.734e+00  4.858e-01  0.000e+00  1.000e+01 (-1.000e+00)
328        Scale:  5.228e+02  0.000e+00  3.000e+01  5.000e+05 ( 1.000e+00) fixed

GAL_V02
   Spectrum: PowerLaw
610    Prefactor:  8.992e-01  8.710e-02  0.000e+00  1.000e+01 ( 1.000e+00)
611        Index:  0.000e+00  0.000e+00 -1.000e+00  1.000e+00 ( 1.000e+00) fixed
612        Scale:  1.000e+02  0.000e+00  5.000e+01  2.000e+02 ( 1.000e+00) fixed

EG_v02
   Spectrum: FileFunction
609   Normalization:  1.503e+00  1.479e-01  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Free Index): 8.86
Ra Dec: 189.625 -12.028
Photon Index (Free Index): 1.73 +/- 0.49
Photon Flux (Free Index): 1.25e-08 +/- 1.28e-08
Energy Flux (Free Index): 1.84e-05 +/- 1.93e-05

Creating a high resolution counts map...
INFO: Auto-setting vmin to -1.000e-01 [aplpy.core]
INFO: Auto-setting vmax to  1.110e+00 [aplpy.core]
Saving /lscratch/kocevski/36631570/cmap_HighResolution_809308801_809913601_4FGL_J1238.5-1201_weekly_bin943.png

Cleaning up...

** Nuclear option initiated! **

Updating database...

UPDATE lightcurve_data_v2 SET comment='SUCCESS', photon_flux='3.57e-08', energy_flux2='1.84e-05', photon_flux_error='2.30e-08', dlogl='1.30e+00', energy_flux='8.87e-06', photon_flux2='1.25e-08', job_status='DONE', time_completed='2026-09-01 10:08:29.186694', photon_index_error2='0.49', photon_index2='1.73', ts='6.26', fit_tolerance='1e-08', GAL='0.91', photon_index_error='0.00', energy_flux_error2='1.93e-05', EG='1.47', time_epoch_completed='1788282509.19', return_code='0', job_id='36631570', GAL2='0.90', EG2='1.50', return_code2='0', energy_flux_error='5.72e-06', photon_flux_error2='1.28e-08', ts2='8.86', photon_index='2.66' WHERE bin_id='943' AND source_name='4FGL J1238.5-1201' AND cadence='weekly';

Database successfully updated.


Analysis Complete.


Tue Sep  1 10:08:29 PDT 2026

Done.

MINUIT Return Code (Fixed Index): 0
logL (Fixed Index) = 21281.1856997

Extracting fit parameters...

4FGL J1238.5-1201
   Spectrum: PowerLaw
326    Prefactor:  7.264e+00  4.686e+00  0.000e+00  1.000e+06 ( 1.000e-12)
327        Index:  2.660e+00  0.000e+00  0.000e+00  1.000e+01 (-1.000e+00) fixed
328        Scale:  5.228e+02  0.000e+00  3.000e+01  5.000e+05 ( 1.000e+00) fixed

GAL_V02
   Spectrum: PowerLaw
610    Prefactor:  9.086e-01  7.482e-02  0.000e+00  1.000e+01 ( 1.000e+00)
611        Index:  0.000e+00  0.000e+00 -1.000e+00  1.000e+00 ( 1.000e+00) fixed
612        Scale:  1.000e+02  0.000e+00  5.000e+01  2.000e+02 ( 1.000e+00) fixed

EG_v02
   Spectrum: FileFunction
609   Normalization:  1.473e+00  1.298e-01  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Fixed Index): 6.26
Ra Dec: 189.625 -12.028
Photon Index (Fixed Index): 2.66 +/- 0.00
Photon Flux (Fixed Index): 3.57e-08 +/- 2.30e-08
Energy Flux (Fixed Index): 8.87e-06 +/- 5.72e-06

Performing a free index iterative likelihood fit...

Freezing all point sources, except source of interest...

Done.

Freeing candidate source...
Done.

Fit tolerance = 1

Performing likelihood fit...
Done.

MINUIT Return Code (Free Index): 0
logL (Free Index) = 21279.9562846
delta logL = 1.22941508733

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

MINUIT Return Code (Free Index): 0
logL (Free Index) = 21279.8827599
delta logL = 1.30293982926

Fit tolerance = 1e-08

Performing likelihood fit...
 **********
 **   14 **SET NOWARN 
 **********

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'Prefactor '    5.2698       1.0000          .0000       .10000E+07
     2 'Index     '    1.7355       1.0000          .0000       10.000    
     3 'Normalizat'    1.5027       1.0000         .10000E-01   10.000    
     4 'Prefactor '    .89911       1.0000          .0000       10.000    
 **********
 **   15 **SET ERR    .5000    
 **********
 **********
 **   16 **SET GRAD    1.000    
 **********
 **********
 **   17 **MINIMIZE    .6130E+05   .2000E-04
 **********

 MIGRAD MINIMIZATION HAS CONVERGED.

 MIGRAD WILL VERIFY CONVERGENCE AND ERROR MATRIX.

 FCN=   21279.88     FROM MIGRAD    STATUS=CONVERGED     56 CALLS      214 TOTAL
                     EDM=   .20E-09    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor     5.2564        3.6963        .43761E-03   -.17339E-02
   2  Index         1.7339        .27580        .27575       -.18505E-03
   3  Normalizat    1.5027        .12517        .66309E-01    .18573E-04
   4  Prefactor     .89917        .73770E-01    .44994E-01    .30763E-04
                               ERR DEF=  .500    
Final values: 
  Prefactor  = 5.25636
  Index      = 1.7339
  Normalizat = 1.5027
  Prefactor  = 0.899171
 **********
 **   18 **HESSE 
 **********

 FCN=   21281.19     FROM HESSE     STATUS=OK           481 CALLS     2537 TOTAL
                     EDM=   .72E-07    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  Prefactor      .0000        .68485        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   2  Prefactor     46.504        11.632        .14665E-03   -1.5572    
   3  Prefactor     3.4655        4.7329        .54354E-03   -1.5671    
   4  Prefactor     .40422        137.22        .55272E-03   -1.5695    
   5  norm          1.6545        1.1608        .82034E-03   -1.5682    
   6  Prefactor     .40698        1.5469        .56714E-02   -1.5695    
   7  Prefactor     6.7486        1.4592        .38609E-02   -1.5188    
   8  Prefactor     8.8175        6.6975        .33609E-03   -1.5649    
   9  Prefactor      .0000        1.5629        .69405E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  10  Prefactor     7.2644        4.6858        .37171E-03   -1.5654    
  11  Prefactor      .0000        8.6553        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  12  Prefactor      .0000        8.2969        .15616E-01   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  13  norm          8.3274        9.7453        .34799E-03   -1.5650    
  14  Prefactor     46.552        43.328        .14659E-03   -1.5572    
  15  norm          .15028        .96228E-01    .72893E-03   -1.5700    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  16  norm          .99677E-01    1.0021        .75013E-02   -1.5702    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  17  norm          1.3080        3.3914        .96240E-03   -1.5685    
  18  Prefactor     .38858E-09    116.36        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  19  norm          6.5687        6.4729        .39122E-03   -1.5657    
  20  norm          4.7551        5.3223        .46131E-03   -1.5664    
  21  Prefactor      .0000        1.0669        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  22  Prefactor      .0000        2.4957        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  23  Normalizat    1.4734        .12979        .66859E-01   -.78530    
  24  Prefactor     .90862        .74815E-01    .45114E-01   -.95841    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 7.21851e-08
Minuit parameter uncertainties:
  1  1.79019e-06
  2  11.632
  3  4.73292
  4  14.8953
  5  1.16079
  6  1.5469
  7  1.45918
  8  6.69749
  9  8.45487e-06
  10  4.68584
  11  2.26457e-06
  12  8.13481e-06
  13  9.74532
  14  43.3282
  15  0.0962281
  16  0.632092
  17  3.39141
  18  0.000425066
  19  6.47287
  20  5.32227
  21  3.7908e-06
  22  4.27841e-06
  23  0.129817
  24  0.0748234
 **********
 **   18 **HESSE 
 **********

 FCN=   21279.88     FROM HESSE     STATUS=OK            33 CALLS      247 TOTAL
                     EDM=   .15E-10    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  Prefactor     5.2564        4.7843        .17504E-04   -1.5662    
   2  Index         1.7339        .48444        .10352E-01   -.71183    
   3  Normalizat    1.5027        .14781        .29332E-03   -.77702    
   4  Prefactor     .89917        .87088E-01    .21535E-03   -.96170    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 1.48127e-11
Minuit parameter uncertainties:
  1  4.78429
  2  0.485775
  3  0.147852
  4  0.0871014
shell-init: error retrieving current directory: getcwd: cannot access parent directories: No such file or directory
Done.

MINUIT Return Code (Free Index): 0
logL (Free Index) = 21279.8827537
delta logL = 1.30294599407

Extracting fit parameters...

4FGL J1238.5-1201
   Spectrum: PowerLaw
326    Prefactor:  5.256e+00  4.784e+00  0.000e+00  1.000e+06 ( 1.000e-12)
327        Index:  1.734e+00  4.858e-01  0.000e+00  1.000e+01 (-1.000e+00)
328        Scale:  5.228e+02  0.000e+00  3.000e+01  5.000e+05 ( 1.000e+00) fixed

GAL_V02
   Spectrum: PowerLaw
610    Prefactor:  8.992e-01  8.710e-02  0.000e+00  1.000e+01 ( 1.000e+00)
611        Index:  0.000e+00  0.000e+00 -1.000e+00  1.000e+00 ( 1.000e+00) fixed
612        Scale:  1.000e+02  0.000e+00  5.000e+01  2.000e+02 ( 1.000e+00) fixed

EG_v02
   Spectrum: FileFunction
609   Normalization:  1.503e+00  1.479e-01  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Free Index): 8.86
Ra Dec: 189.625 -12.028
Photon Index (Free Index): 1.73 +/- 0.49
Photon Flux (Free Index): 1.25e-08 +/- 1.28e-08
Energy Flux (Free Index): 1.84e-05 +/- 1.93e-05

Creating a high resolution counts map...
INFO: Auto-setting vmin to -1.000e-01 [aplpy.core]
INFO: Auto-setting vmax to  1.110e+00 [aplpy.core]
Saving /lscratch/kocevski/36631519/cmap_HighResolution_809308801_809913601_4FGL_J1238.5-1201_weekly_bin943.png

Cleaning up...

** Nuclear option initiated! **

Updating database...

UPDATE lightcurve_data_v2 SET comment='SUCCESS', photon_flux='3.57e-08', energy_flux2='1.84e-05', photon_flux_error='2.30e-08', dlogl='1.30e+00', energy_flux='8.87e-06', photon_flux2='1.25e-08', job_status='DONE', time_completed='2026-09-01 10:08:36.738464', photon_index_error2='0.49', photon_index2='1.73', ts='6.26', fit_tolerance='1e-08', GAL='0.91', photon_index_error='0.00', energy_flux_error2='1.93e-05', EG='1.47', time_epoch_completed='1788282516.74', return_code='0', job_id='36631519', GAL2='0.90', EG2='1.50', return_code2='0', energy_flux_error='5.72e-06', photon_flux_error2='1.28e-08', ts2='8.86', photon_index='2.66' WHERE bin_id='943' AND source_name='4FGL J1238.5-1201' AND cadence='weekly';

Database successfully updated.


Analysis Complete.


Tue Sep  1 10:08:36 PDT 2026

Done.

MINUIT Return Code (Fixed Index): 0
logL (Fixed Index) = 21281.1856997

Extracting fit parameters...

4FGL J1238.5-1201
   Spectrum: PowerLaw
326    Prefactor:  7.264e+00  4.686e+00  0.000e+00  1.000e+06 ( 1.000e-12)
327        Index:  2.660e+00  0.000e+00  0.000e+00  1.000e+01 (-1.000e+00) fixed
328        Scale:  5.228e+02  0.000e+00  3.000e+01  5.000e+05 ( 1.000e+00) fixed

GAL_V02
   Spectrum: PowerLaw
610    Prefactor:  9.086e-01  7.482e-02  0.000e+00  1.000e+01 ( 1.000e+00)
611        Index:  0.000e+00  0.000e+00 -1.000e+00  1.000e+00 ( 1.000e+00) fixed
612        Scale:  1.000e+02  0.000e+00  5.000e+01  2.000e+02 ( 1.000e+00) fixed

EG_v02
   Spectrum: FileFunction
609   Normalization:  1.473e+00  1.298e-01  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Fixed Index): 6.26
Ra Dec: 189.625 -12.028
Photon Index (Fixed Index): 2.66 +/- 0.00
Photon Flux (Fixed Index): 3.57e-08 +/- 2.30e-08
Energy Flux (Fixed Index): 8.87e-06 +/- 5.72e-06

Performing a free index iterative likelihood fit...

Freezing all point sources, except source of interest...

Done.

Freeing candidate source...
Done.

Fit tolerance = 1

Performing likelihood fit...
Done.

MINUIT Return Code (Free Index): 0
logL (Free Index) = 21279.9562846
delta logL = 1.22941508733

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

MINUIT Return Code (Free Index): 0
logL (Free Index) = 21279.8827599
delta logL = 1.30293982926

Fit tolerance = 1e-08

Performing likelihood fit...
 **********
 **   14 **SET NOWARN 
 **********

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'Prefactor '    5.2698       1.0000          .0000       .10000E+07
     2 'Index     '    1.7355       1.0000          .0000       10.000    
     3 'Normalizat'    1.5027       1.0000         .10000E-01   10.000    
     4 'Prefactor '    .89911       1.0000          .0000       10.000    
 **********
 **   15 **SET ERR    .5000    
 **********
 **********
 **   16 **SET GRAD    1.000    
 **********
 **********
 **   17 **MINIMIZE    .6130E+05   .2000E-04
 **********

 MIGRAD MINIMIZATION HAS CONVERGED.

 MIGRAD WILL VERIFY CONVERGENCE AND ERROR MATRIX.

 FCN=   21279.88     FROM MIGRAD    STATUS=CONVERGED     56 CALLS      214 TOTAL
                     EDM=   .20E-09    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor     5.2564        3.6963        .43761E-03   -.17339E-02
   2  Index         1.7339        .27580        .27575       -.18505E-03
   3  Normalizat    1.5027        .12517        .66309E-01    .18573E-04
   4  Prefactor     .89917        .73770E-01    .44994E-01    .30763E-04
                               ERR DEF=  .500    
Final values: 
  Prefactor  = 5.25636
  Index      = 1.7339
  Normalizat = 1.5027
  Prefactor  = 0.899171
 **********
 **   18 **HESSE 
 **********

 FCN=   21279.88     FROM HESSE     STATUS=OK            33 CALLS      247 TOTAL
                     EDM=   .15E-10    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  Prefactor     5.2564        4.7843        .17504E-04   -1.5662    
   2  Index         1.7339        .48444        .10352E-01   -.71183    
   3  Normalizat    1.5027        .14781        .29332E-03   -.77702    
   4  Prefactor     .89917        .87088E-01    .21535E-03   -.96170    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 1.48127e-11
Minuit parameter uncertainties:
  1  4.78429
  2  0.485775
  3  0.147852
  4  0.0871014
shell-init: error retrieving current directory: getcwd: cannot access parent directories: No such file or directory
Done.

MINUIT Return Code (Free Index): 0
logL (Free Index) = 21279.8827537
delta logL = 1.30294599407

Extracting fit parameters...

4FGL J1238.5-1201
   Spectrum: PowerLaw
326    Prefactor:  5.256e+00  4.784e+00  0.000e+00  1.000e+06 ( 1.000e-12)
327        Index:  1.734e+00  4.858e-01  0.000e+00  1.000e+01 (-1.000e+00)
328        Scale:  5.228e+02  0.000e+00  3.000e+01  5.000e+05 ( 1.000e+00) fixed

GAL_V02
   Spectrum: PowerLaw
610    Prefactor:  8.992e-01  8.710e-02  0.000e+00  1.000e+01 ( 1.000e+00)
611        Index:  0.000e+00  0.000e+00 -1.000e+00  1.000e+00 ( 1.000e+00) fixed
612        Scale:  1.000e+02  0.000e+00  5.000e+01  2.000e+02 ( 1.000e+00) fixed

EG_v02
   Spectrum: FileFunction
609   Normalization:  1.503e+00  1.479e-01  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Free Index): 8.86
Ra Dec: 189.625 -12.028
Photon Index (Free Index): 1.73 +/- 0.49
Photon Flux (Free Index): 1.25e-08 +/- 1.28e-08
Energy Flux (Free Index): 1.84e-05 +/- 1.93e-05

Creating a high resolution counts map...
INFO: Auto-setting vmin to -1.000e-01 [aplpy.core]
INFO: Auto-setting vmax to  1.110e+00 [aplpy.core]
Saving /lscratch/kocevski/36631612/cmap_HighResolution_809308801_809913601_4FGL_J1238.5-1201_weekly_bin943.png

Cleaning up...

** Nuclear option initiated! **

Updating database...

UPDATE lightcurve_data_v2 SET comment='SUCCESS', photon_flux='3.57e-08', energy_flux2='1.84e-05', photon_flux_error='2.30e-08', dlogl='1.30e+00', energy_flux='8.87e-06', photon_flux2='1.25e-08', job_status='DONE', time_completed='2026-09-01 10:08:44.692535', photon_index_error2='0.49', photon_index2='1.73', ts='6.26', fit_tolerance='1e-08', GAL='0.91', photon_index_error='0.00', energy_flux_error2='1.93e-05', EG='1.47', time_epoch_completed='1788282524.69', return_code='0', job_id='36631612', GAL2='0.90', EG2='1.50', return_code2='0', energy_flux_error='5.72e-06', photon_flux_error2='1.28e-08', ts2='8.86', photon_index='2.66' WHERE bin_id='943' AND source_name='4FGL J1238.5-1201' AND cadence='weekly';

Database successfully updated.


Analysis Complete.


Tue Sep  1 10:08:44 PDT 2026

e GAL_V02
Working on...
/lscratch/kocevski/36631647/ft1_filtered_4FGL_J1238.5-1201_weekly_bin943.fits.....................!
real 59.48
user 57.62
sys 1.02

Creating the likelihood object...
obs = UnbinnedObs('/lscratch/kocevski/36631647/ft1_filtered_4FGL_J1238.5-1201_weekly_bin943.fits', '/lscratch/kocevski/36631647/ft2_4FGL_J1238.5-1201_weekly_bin943.fits', expMap='/lscratch/kocevski/36631647/expmap_809308801_809913601_4FGL_J1238.5-1201_weekly_bin943.fits', expCube='/lscratch/kocevski/36631647/ltcube_809308801_809913601_4FGL_J1238.5-1201_weekly_bin943.fits', irfs='P8R3_SOURCE_V2')
like = UnbinnedAnalysis(obs, '/lscratch/kocevski/36631647/Model_4FGL_J1238.5-1201_weekly_bin943.xml', optimizer='MINUIT')

Using source of interest name: '4FGL J1238.5-1201'

4FGL J1238.5-1201
   Spectrum: PowerLaw
326    Prefactor:  4.386e+00  0.000e+00  0.000e+00  1.000e+06 ( 1.000e-12)
327        Index:  2.660e+00  0.000e+00  0.000e+00  1.000e+01 (-1.000e+00) fixed
328        Scale:  5.228e+02  0.000e+00  3.000e+01  5.000e+05 ( 1.000e+00) fixed


Likelihood Fit Parameters:
Event file(s): /lscratch/kocevski/36631647/ft1_filtered_4FGL_J1238.5-1201_weekly_bin943.fits
Spacecraft file(s): /lscratch/kocevski/36631647/ft2_4FGL_J1238.5-1201_weekly_bin943.fits
Exposure map: /lscratch/kocevski/36631647/expmap_809308801_809913601_4FGL_J1238.5-1201_weekly_bin943.fits
Exposure cube: /lscratch/kocevski/36631647/ltcube_809308801_809913601_4FGL_J1238.5-1201_weekly_bin943.fits
IRFs: P8R3_SOURCE_V2
Source model file: /lscratch/kocevski/36631647/Model_4FGL_J1238.5-1201_weekly_bin943.xml
Optimizer: MINUIT
Statistic: UNBINNED

Performing an iterative likelihood fit...

Fit tolerance = 1

Performing likelihood fit...
Done.

MINUIT Return Code (Fixed Index): 0
logL (Fixed Index) = 21281.2012526

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

MINUIT Return Code (Fixed Index): 0
logL (Fixed Index) = 21281.1864399

Fit tolerance = 1e-08

Performing likelihood fit...
 **********
 **   14 **SET NOWARN 
 **********

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'Prefactor '    .13600E-07   1.0000          .0000       .10000E+07
     2 'Prefactor '    46.505       1.0000          .0000       .10000E+07
     3 'Prefactor '    3.4588       1.0000          .0000       .10000E+07
     4 'Prefactor '    .76904       1.0000          .0000       .10000E+07
     5 'norm      '    1.6542       1.0000          .0000       .10000E+07
     6 'Prefactor '    .39905       1.0000          .0000       .10000E+07
     7 'Prefactor '    6.7503       1.0000         .10000E-03   10000.    
     8 'Prefactor '    8.8813       1.0000          .0000       .10000E+07
     9 'Prefactor '    .19836E-04   1.0000          .0000       .10000E+07
    10 'Prefactor '    7.2723       1.0000          .0000       .10000E+07
    11 'Prefactor '    .99929E-03   1.0000          .0000       .10000E+07
    12 'Prefactor '    .19441       1.0000          .0000       .10000E+07
    13 'norm      '    8.2882       1.0000          .0000       .10000E+07
    14 'Prefactor '    46.545       1.0000          .0000       .10000E+07
    15 'norm      '    .15004       1.0000          .0000       .10000E+07
    16 'norm      '    .10116       1.0000          .0000       .10000E+07
    17 'norm      '    1.3112       1.0000          .0000       .10000E+07
    18 'Prefactor '    .13509E-01   1.0000          .0000       .10000E+07
    19 'norm      '    6.5720       1.0000          .0000       .10000E+07
    20 'norm      '    4.7523       1.0000          .0000       .10000E+07
    21 'Prefactor '    .17486E-07   1.0000          .0000       .10000E+07
    22 'Prefactor '    .34167E-06   1.0000          .0000       .10000E+07
    23 'Normalizat'    1.4730       1.0000         .10000E-01   10.000    
    24 'Prefactor '    .90859       1.0000          .0000       10.000    
 **********
 **   15 **SET ERR    .5000    
 **********
 **********
 **   16 **SET GRAD    1.000    
 **********
 **********
 **   17 **MINIMIZE    .6130E+05   .2000E-04
 **********

 MIGRAD MINIMIZATION HAS CONVERGED.

 FCN=   21281.19     FROM MIGRAD    STATUS=CONVERGED    185 CALLS     2056 TOTAL
                     EDM=   .45E-10  STRATEGY=1  ERROR MATRIX UNCERTAINTY=  3.1%

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor      .0000        .68202       -.48158E-07** at limit **
   2  Prefactor     46.504        11.639        .22711E-08   -.27642E-03
   3  Prefactor     3.4655        4.7143       -.31433E-07    .68265E-04
   4  Prefactor     .40422        142.48       -.38822E-05   -.24565E-03
   5  norm          1.6545        1.1626       -.13609E-08   -.80026E-04
   6  Prefactor     .40698        5.0335        .21039E-06   -.11813E-03
   7  Prefactor     6.7486        1.4421       -.12657E-06   -.22713E-04
   8  Prefactor     8.8175        6.6956       -.15743E-07   -.35178E-03
   9  Prefactor      .0000        11.373       -.52998E-07** at limit **
  10  Prefactor     7.2644        4.6772       -.25959E-07    .91606E-04
  11  Prefactor      .0000        8.9222        .13644E-08** at limit **
  12  Prefactor      .0000        509.44       -.15016E-05** at limit **
  13  norm          8.3274        9.7228       -.92048E-07    .56517E-03
  14  Prefactor     46.552        1.7559        .32832E-07   -.84903E-02
  15  norm          .15028        .88534E-01    .21618E-09** at limit **
  16  norm          .99677E-01    9.2533        .50257E-06** at limit **
  17  norm          1.3080        2.7895        .20552E-07   -.12990E-03
  18  Prefactor     .38858E-09    116.54        .48808E-06** at limit **
  19  norm          6.5687        6.4548       -.22227E-07    .31242E-03
  20  norm          4.7551        5.3132        .52429E-07    .12580E-03
  21  Prefactor      .0000        1.0550        .62289E-07** at limit **
  22  Prefactor      .0000        2.4926       -.71473E-07** at limit **
  23  Normalizat    1.4734        .15233        .33757E-06   -.81079E-05
  24  Prefactor     .90862        .88419E-01   -.69490E-07    .92286E-05
                               ERR DEF=  .500    
Final values: 
  Prefactor  = 0
  Prefactor  = 46.5042
  Prefactor  = 3.46546
  Prefactor  = 0.404216
  norm       = 1.6545
  Prefactor  = 0.406975
  Prefactor  = 6.74863
  Prefactor  = 8.8175
  Prefactor  = 0
  Prefactor  = 7.26437
  Prefactor  = 0
  Prefactor  = 0
  norm       = 8.32745
  Prefactor  = 46.5524
  norm       = 0.150284
  norm       = 0.0996769
  norm       = 1.30798
  Prefactor  = 3.88578e-10
  norm       = 6.56868
  norm       = 4.75511
  Prefactor  = 0
  Prefactor  = 0
  Normalizat = 1.47337
  Prefactor  = 0.908618
 **********
 **   18 **HESSE 
 **********

 FCN=   21281.19     FROM HESSE     STATUS=OK           481 CALLS     2537 TOTAL
                     EDM=   .72E-07    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  Prefactor      .0000        .68485        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   2  Prefactor     46.504        11.632        .14665E-03   -1.5572    
   3  Prefactor     3.4655        4.7329        .54354E-03   -1.5671    
   4  Prefactor     .40422        137.22        .55272E-03   -1.5695    
   5  norm          1.6545        1.1608        .82034E-03   -1.5682    
   6  Prefactor     .40698        1.5469        .56714E-02   -1.5695    
   7  Prefactor     6.7486        1.4592        .38609E-02   -1.5188    
   8  Prefactor     8.8175        6.6975        .33609E-03   -1.5649    
   9  Prefactor      .0000        1.5629        .69405E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  10  Prefactor     7.2644        4.6858        .37171E-03   -1.5654    
  11  Prefactor      .0000        8.6553        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  12  Prefactor      .0000        8.2969        .15616E-01   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  13  norm          8.3274        9.7453        .34799E-03   -1.5650    
  14  Prefactor     46.552        43.328        .14659E-03   -1.5572    
  15  norm          .15028        .96228E-01    .72893E-03   -1.5700    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  16  norm          .99677E-01    1.0021        .75013E-02   -1.5702    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  17  norm          1.3080        3.3914        .96240E-03   -1.5685    
  18  Prefactor     .38858E-09    116.36        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  19  norm          6.5687        6.4729        .39122E-03   -1.5657    
  20  norm          4.7551        5.3223        .46131E-03   -1.5664    
  21  Prefactor      .0000        1.0669        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  22  Prefactor      .0000        2.4957        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  23  Normalizat    1.4734        .12979        .66859E-01   -.78530    
  24  Prefactor     .90862        .74815E-01    .45114E-01   -.95841    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 7.21851e-08
Minuit parameter uncertainties:
  1  1.79019e-06
  2  11.632
  3  4.73292
  4  14.8953
  5  1.16079
  6  1.5469
  7  1.45918
  8  6.69749
  9  8.45487e-06
  10  4.68584
  11  2.26457e-06
  12  8.13481e-06
  13  9.74532
  14  43.3282
  15  0.0962281
  16  0.632092
  17  3.39141
  18  0.000425066
  19  6.47287
  20  5.32227
  21  3.7908e-06
  22  4.27841e-06
  23  0.129817
  24  0.0748234
Done.

MINUIT Return Code (Fixed Index): 0
logL (Fixed Index) = 21281.1856997

Extracting fit parameters...

4FGL J1238.5-1201
   Spectrum: PowerLaw
326    Prefactor:  7.264e+00  4.686e+00  0.000e+00  1.000e+06 ( 1.000e-12)
327        Index:  2.660e+00  0.000e+00  0.000e+00  1.000e+01 (-1.000e+00) fixed
328        Scale:  5.228e+02  0.000e+00  3.000e+01  5.000e+05 ( 1.000e+00) fixed

GAL_V02
   Spectrum: PowerLaw
610    Prefactor:  9.086e-01  7.482e-02  0.000e+00  1.000e+01 ( 1.000e+00)
611        Index:  0.000e+00  0.000e+00 -1.000e+00  1.000e+00 ( 1.000e+00) fixed
612        Scale:  1.000e+02  0.000e+00  5.000e+01  2.000e+02 ( 1.000e+00) fixed

EG_v02
   Spectrum: FileFunction
609   Normalization:  1.473e+00  1.298e-01  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Fixed Index): 6.26
Ra Dec: 189.625 -12.028
Photon Index (Fixed Index): 2.66 +/- 0.00
Photon Flux (Fixed Index): 3.57e-08 +/- 2.30e-08
Energy Flux (Fixed Index): 8.87e-06 +/- 5.72e-06

Performing a free index iterative likelihood fit...

Freezing all point sources, except source of interest...

Done.

Freeing candidate source...
Done.

Fit tolerance = 1

Performing likelihood fit...
Done.

MINUIT Return Code (Free Index): 0
logL (Free Index) = 21279.9562846
delta logL = 1.22941508733

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

MINUIT Return Code (Free Index): 0
logL (Free Index) = 21279.8827599
delta logL = 1.30293982926

Fit tolerance = 1e-08

Performing likelihood fit...
 **********
 **   14 **SET NOWARN 
 **********

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'Prefactor '    5.2698       1.0000          .0000       .10000E+07
     2 'Index     '    1.7355       1.0000          .0000       10.000    
     3 'Normalizat'    1.5027       1.0000         .10000E-01   10.000    
     4 'Prefactor '    .89911       1.0000          .0000       10.000    
 **********
 **   15 **SET ERR    .5000    
 **********
 **********
 **   16 **SET GRAD    1.000    
 **********
 **********
 **   17 **MINIMIZE    .6130E+05   .2000E-04
 **********

 MIGRAD MINIMIZATION HAS CONVERGED.

 MIGRAD WILL VERIFY CONVERGENCE AND ERROR MATRIX.

 FCN=   21279.88     FROM MIGRAD    STATUS=CONVERGED     56 CALLS      214 TOTAL
                     EDM=   .20E-09    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor     5.2564        3.6963        .43761E-03   -.17339E-02
   2  Index         1.7339        .27580        .27575       -.18505E-03
   3  Normalizat    1.5027        .12517        .66309E-01    .18573E-04
   4  Prefactor     .89917        .73770E-01    .44994E-01    .30763E-04
                               ERR DEF=  .500    
Final values: 
  Prefactor  = 5.25636
  Index      = 1.7339
  Normalizat = 1.5027
  Prefactor  = 0.899171
 **********
 **   18 **HESSE 
 **********

 FCN=   21279.88     FROM HESSE     STATUS=OK            33 CALLS      247 TOTAL
                     EDM=   .15E-10    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  Prefactor     5.2564        4.7843        .17504E-04   -1.5662    
   2  Index         1.7339        .48444        .10352E-01   -.71183    
   3  Normalizat    1.5027        .14781        .29332E-03   -.77702    
   4  Prefactor     .89917        .87088E-01    .21535E-03   -.96170    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 1.48127e-11
Minuit parameter uncertainties:
  1  4.78429
  2  0.485775
  3  0.147852
  4  0.0871014
shell-init: error retrieving current directory: getcwd: cannot access parent directories: No such file or directory
Done.

MINUIT Return Code (Free Index): 0
logL (Free Index) = 21279.8827537
delta logL = 1.30294599407

Extracting fit parameters...

4FGL J1238.5-1201
   Spectrum: PowerLaw
326    Prefactor:  5.256e+00  4.784e+00  0.000e+00  1.000e+06 ( 1.000e-12)
327        Index:  1.734e+00  4.858e-01  0.000e+00  1.000e+01 (-1.000e+00)
328        Scale:  5.228e+02  0.000e+00  3.000e+01  5.000e+05 ( 1.000e+00) fixed

GAL_V02
   Spectrum: PowerLaw
610    Prefactor:  8.992e-01  8.710e-02  0.000e+00  1.000e+01 ( 1.000e+00)
611        Index:  0.000e+00  0.000e+00 -1.000e+00  1.000e+00 ( 1.000e+00) fixed
612        Scale:  1.000e+02  0.000e+00  5.000e+01  2.000e+02 ( 1.000e+00) fixed

EG_v02
   Spectrum: FileFunction
609   Normalization:  1.503e+00  1.479e-01  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Free Index): 8.86
Ra Dec: 189.625 -12.028
Photon Index (Free Index): 1.73 +/- 0.49
Photon Flux (Free Index): 1.25e-08 +/- 1.28e-08
Energy Flux (Free Index): 1.84e-05 +/- 1.93e-05

Creating a high resolution counts map...
INFO: Auto-setting vmin to -1.000e-01 [aplpy.core]
INFO: Auto-setting vmax to  1.110e+00 [aplpy.core]
Saving /lscratch/kocevski/36631653/cmap_HighResolution_809308801_809913601_4FGL_J1238.5-1201_weekly_bin943.png

Cleaning up...

** Nuclear option initiated! **

Updating database...

UPDATE lightcurve_data_v2 SET comment='SUCCESS', photon_flux='3.57e-08', energy_flux2='1.84e-05', photon_flux_error='2.30e-08', dlogl='1.30e+00', energy_flux='8.87e-06', photon_flux2='1.25e-08', job_status='DONE', time_completed='2026-09-01 10:08:57.341345', photon_index_error2='0.49', photon_index2='1.73', ts='6.26', fit_tolerance='1e-08', GAL='0.91', photon_index_error='0.00', energy_flux_error2='1.93e-05', EG='1.47', time_epoch_completed='1788282537.34', return_code='0', job_id='36631653', GAL2='0.90', EG2='1.50', return_code2='0', energy_flux_error='5.72e-06', photon_flux_error2='1.28e-08', ts2='8.86', photon_index='2.66' WHERE bin_id='943' AND source_name='4FGL J1238.5-1201' AND cadence='weekly';

Database successfully updated.


Analysis Complete.


Tue Sep  1 10:08:57 PDT 2026

e GAL_V02
Working on...
/lscratch/kocevski/36631672/ft1_filtered_4FGL_J1238.5-1201_weekly_bin943.fits.....................!
real 59.37
user 57.42
sys 1.12

Creating the likelihood object...
obs = UnbinnedObs('/lscratch/kocevski/36631672/ft1_filtered_4FGL_J1238.5-1201_weekly_bin943.fits', '/lscratch/kocevski/36631672/ft2_4FGL_J1238.5-1201_weekly_bin943.fits', expMap='/lscratch/kocevski/36631672/expmap_809308801_809913601_4FGL_J1238.5-1201_weekly_bin943.fits', expCube='/lscratch/kocevski/36631672/ltcube_809308801_809913601_4FGL_J1238.5-1201_weekly_bin943.fits', irfs='P8R3_SOURCE_V2')
like = UnbinnedAnalysis(obs, '/lscratch/kocevski/36631672/Model_4FGL_J1238.5-1201_weekly_bin943.xml', optimizer='MINUIT')

Using source of interest name: '4FGL J1238.5-1201'

4FGL J1238.5-1201
   Spectrum: PowerLaw
326    Prefactor:  4.386e+00  0.000e+00  0.000e+00  1.000e+06 ( 1.000e-12)
327        Index:  2.660e+00  0.000e+00  0.000e+00  1.000e+01 (-1.000e+00) fixed
328        Scale:  5.228e+02  0.000e+00  3.000e+01  5.000e+05 ( 1.000e+00) fixed


Likelihood Fit Parameters:
Event file(s): /lscratch/kocevski/36631672/ft1_filtered_4FGL_J1238.5-1201_weekly_bin943.fits
Spacecraft file(s): /lscratch/kocevski/36631672/ft2_4FGL_J1238.5-1201_weekly_bin943.fits
Exposure map: /lscratch/kocevski/36631672/expmap_809308801_809913601_4FGL_J1238.5-1201_weekly_bin943.fits
Exposure cube: /lscratch/kocevski/36631672/ltcube_809308801_809913601_4FGL_J1238.5-1201_weekly_bin943.fits
IRFs: P8R3_SOURCE_V2
Source model file: /lscratch/kocevski/36631672/Model_4FGL_J1238.5-1201_weekly_bin943.xml
Optimizer: MINUIT
Statistic: UNBINNED

Performing an iterative likelihood fit...

Fit tolerance = 1

Performing likelihood fit...
Done.

MINUIT Return Code (Fixed Index): 0
logL (Fixed Index) = 21281.2012526

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

MINUIT Return Code (Fixed Index): 0
logL (Fixed Index) = 21281.1864399

Fit tolerance = 1e-08

Performing likelihood fit...
 **********
 **   14 **SET NOWARN 
 **********

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'Prefactor '    .13600E-07   1.0000          .0000       .10000E+07
     2 'Prefactor '    46.505       1.0000          .0000       .10000E+07
     3 'Prefactor '    3.4588       1.0000          .0000       .10000E+07
     4 'Prefactor '    .76904       1.0000          .0000       .10000E+07
     5 'norm      '    1.6542       1.0000          .0000       .10000E+07
     6 'Prefactor '    .39905       1.0000          .0000       .10000E+07
     7 'Prefactor '    6.7503       1.0000         .10000E-03   10000.    
     8 'Prefactor '    8.8813       1.0000          .0000       .10000E+07
     9 'Prefactor '    .19836E-04   1.0000          .0000       .10000E+07
    10 'Prefactor '    7.2723       1.0000          .0000       .10000E+07
    11 'Prefactor '    .99929E-03   1.0000          .0000       .10000E+07
    12 'Prefactor '    .19441       1.0000          .0000       .10000E+07
    13 'norm      '    8.2882       1.0000          .0000       .10000E+07
    14 'Prefactor '    46.545       1.0000          .0000       .10000E+07
    15 'norm      '    .15004       1.0000          .0000       .10000E+07
    16 'norm      '    .10116       1.0000          .0000       .10000E+07
    17 'norm      '    1.3112       1.0000          .0000       .10000E+07
    18 'Prefactor '    .13509E-01   1.0000          .0000       .10000E+07
    19 'norm      '    6.5720       1.0000          .0000       .10000E+07
    20 'norm      '    4.7523       1.0000          .0000       .10000E+07
    21 'Prefactor '    .17486E-07   1.0000          .0000       .10000E+07
    22 'Prefactor '    .34167E-06   1.0000          .0000       .10000E+07
    23 'Normalizat'    1.4730       1.0000         .10000E-01   10.000    
    24 'Prefactor '    .90859       1.0000          .0000       10.000    
 **********
 **   15 **SET ERR    .5000    
 **********
 **********
 **   16 **SET GRAD    1.000    
 **********
 **********
 **   17 **MINIMIZE    .6130E+05   .2000E-04
 **********

 MIGRAD MINIMIZATION HAS CONVERGED.

 FCN=   21281.19     FROM MIGRAD    STATUS=CONVERGED    185 CALLS     2056 TOTAL
                     EDM=   .45E-10  STRATEGY=1  ERROR MATRIX UNCERTAINTY=  3.1%

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor      .0000        .68202       -.48158E-07** at limit **
   2  Prefactor     46.504        11.639        .22711E-08   -.27642E-03
   3  Prefactor     3.4655        4.7143       -.31433E-07    .68265E-04
   4  Prefactor     .40422        142.48       -.38822E-05   -.24565E-03
   5  norm          1.6545        1.1626       -.13609E-08   -.80026E-04
   6  Prefactor     .40698        5.0335        .21039E-06   -.11813E-03
   7  Prefactor     6.7486        1.4421       -.12657E-06   -.22713E-04
   8  Prefactor     8.8175        6.6956       -.15743E-07   -.35178E-03
   9  Prefactor      .0000        11.373       -.52998E-07** at limit **
  10  Prefactor     7.2644        4.6772       -.25959E-07    .91606E-04
  11  Prefactor      .0000        8.9222        .13644E-08** at limit **
  12  Prefactor      .0000        509.44       -.15016E-05** at limit **
  13  norm          8.3274        9.7228       -.92048E-07    .56517E-03
  14  Prefactor     46.552        1.7559        .32832E-07   -.84903E-02
  15  norm          .15028        .88534E-01    .21618E-09** at limit **
  16  norm          .99677E-01    9.2533        .50257E-06** at limit **
  17  norm          1.3080        2.7895        .20552E-07   -.12990E-03
  18  Prefactor     .38858E-09    116.54        .48808E-06** at limit **
  19  norm          6.5687        6.4548       -.22227E-07    .31242E-03
  20  norm          4.7551        5.3132        .52429E-07    .12580E-03
  21  Prefactor      .0000        1.0550        .62289E-07** at limit **
  22  Prefactor      .0000        2.4926       -.71473E-07** at limit **
  23  Normalizat    1.4734        .15233        .33757E-06   -.81079E-05
  24  Prefactor     .90862        .88419E-01   -.69490E-07    .92286E-05
                               ERR DEF=  .500    
Final values: 
  Prefactor  = 0
  Prefactor  = 46.5042
  Prefactor  = 3.46546
  Prefactor  = 0.404216
  norm       = 1.6545
  Prefactor  = 0.406975
  Prefactor  = 6.74863
  Prefactor  = 8.8175
  Prefactor  = 0
  Prefactor  = 7.26437
  Prefactor  = 0
  Prefactor  = 0
  norm       = 8.32745
  Prefactor  = 46.5524
  norm       = 0.150284
  norm       = 0.0996769
  norm       = 1.30798
  Prefactor  = 3.88578e-10
  norm       = 6.56868
  norm       = 4.75511
  Prefactor  = 0
  Prefactor  = 0
  Normalizat = 1.47337
  Prefactor  = 0.908618
Done.

MINUIT Return Code (Fixed Index): 0
logL (Fixed Index) = 21281.1856997

Extracting fit parameters...

4FGL J1238.5-1201
   Spectrum: PowerLaw
326    Prefactor:  7.264e+00  4.686e+00  0.000e+00  1.000e+06 ( 1.000e-12)
327        Index:  2.660e+00  0.000e+00  0.000e+00  1.000e+01 (-1.000e+00) fixed
328        Scale:  5.228e+02  0.000e+00  3.000e+01  5.000e+05 ( 1.000e+00) fixed

GAL_V02
   Spectrum: PowerLaw
610    Prefactor:  9.086e-01  7.482e-02  0.000e+00  1.000e+01 ( 1.000e+00)
611        Index:  0.000e+00  0.000e+00 -1.000e+00  1.000e+00 ( 1.000e+00) fixed
612        Scale:  1.000e+02  0.000e+00  5.000e+01  2.000e+02 ( 1.000e+00) fixed

EG_v02
   Spectrum: FileFunction
609   Normalization:  1.473e+00  1.298e-01  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Fixed Index): 6.26
Ra Dec: 189.625 -12.028
Photon Index (Fixed Index): 2.66 +/- 0.00
Photon Flux (Fixed Index): 3.57e-08 +/- 2.30e-08
Energy Flux (Fixed Index): 8.87e-06 +/- 5.72e-06

Performing a free index iterative likelihood fit...

Freezing all point sources, except source of interest...

Done.

Freeing candidate source...
Done.

Fit tolerance = 1

Performing likelihood fit...
Done.

MINUIT Return Code (Free Index): 0
logL (Free Index) = 21279.9562846
delta logL = 1.22941508733

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

MINUIT Return Code (Free Index): 0
logL (Free Index) = 21279.8827599
delta logL = 1.30293982926

Fit tolerance = 1e-08

Performing likelihood fit...
 **********
 **   14 **SET NOWARN 
 **********

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'Prefactor '    5.2698       1.0000          .0000       .10000E+07
     2 'Index     '    1.7355       1.0000          .0000       10.000    
     3 'Normalizat'    1.5027       1.0000         .10000E-01   10.000    
     4 'Prefactor '    .89911       1.0000          .0000       10.000    
 **********
 **   15 **SET ERR    .5000    
 **********
 **********
 **   16 **SET GRAD    1.000    
 **********
 **********
 **   17 **MINIMIZE    .6130E+05   .2000E-04
 **********

 MIGRAD MINIMIZATION HAS CONVERGED.

 MIGRAD WILL VERIFY CONVERGENCE AND ERROR MATRIX.

 FCN=   21279.88     FROM MIGRAD    STATUS=CONVERGED     56 CALLS      214 TOTAL
                     EDM=   .20E-09    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor     5.2564        3.6963        .43761E-03   -.17339E-02
   2  Index         1.7339        .27580        .27575       -.18505E-03
   3  Normalizat    1.5027        .12517        .66309E-01    .18573E-04
   4  Prefactor     .89917        .73770E-01    .44994E-01    .30763E-04
                               ERR DEF=  .500    
Final values: 
  Prefactor  = 5.25636
  Index      = 1.7339
  Normalizat = 1.5027
  Prefactor  = 0.899171
 **********
 **   18 **HESSE 
 **********

 FCN=   21279.88     FROM HESSE     STATUS=OK            33 CALLS      247 TOTAL
                     EDM=   .15E-10    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  Prefactor     5.2564        4.7843        .17504E-04   -1.5662    
   2  Index         1.7339        .48444        .10352E-01   -.71183    
   3  Normalizat    1.5027        .14781        .29332E-03   -.77702    
   4  Prefactor     .89917        .87088E-01    .21535E-03   -.96170    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 1.48127e-11
Minuit parameter uncertainties:
  1  4.78429
  2  0.485775
  3  0.147852
  4  0.0871014
shell-init: error retrieving current directory: getcwd: cannot access parent directories: No such file or directory
Done.

MINUIT Return Code (Free Index): 0
logL (Free Index) = 21279.8827537
delta logL = 1.30294599407

Extracting fit parameters...

4FGL J1238.5-1201
   Spectrum: PowerLaw
326    Prefactor:  5.256e+00  4.784e+00  0.000e+00  1.000e+06 ( 1.000e-12)
327        Index:  1.734e+00  4.858e-01  0.000e+00  1.000e+01 (-1.000e+00)
328        Scale:  5.228e+02  0.000e+00  3.000e+01  5.000e+05 ( 1.000e+00) fixed

GAL_V02
   Spectrum: PowerLaw
610    Prefactor:  8.992e-01  8.710e-02  0.000e+00  1.000e+01 ( 1.000e+00)
611        Index:  0.000e+00  0.000e+00 -1.000e+00  1.000e+00 ( 1.000e+00) fixed
612        Scale:  1.000e+02  0.000e+00  5.000e+01  2.000e+02 ( 1.000e+00) fixed

EG_v02
   Spectrum: FileFunction
609   Normalization:  1.503e+00  1.479e-01  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Free Index): 8.86
Ra Dec: 189.625 -12.028
Photon Index (Free Index): 1.73 +/- 0.49
Photon Flux (Free Index): 1.25e-08 +/- 1.28e-08
Energy Flux (Free Index): 1.84e-05 +/- 1.93e-05

Creating a high resolution counts map...
INFO: Auto-setting vmin to -1.000e-01 [aplpy.core]
INFO: Auto-setting vmax to  1.110e+00 [aplpy.core]
Saving /lscratch/kocevski/36631678/cmap_HighResolution_809308801_809913601_4FGL_J1238.5-1201_weekly_bin943.png

Cleaning up...

** Nuclear option initiated! **

Updating database...

UPDATE lightcurve_data_v2 SET comment='SUCCESS', photon_flux='3.57e-08', energy_flux2='1.84e-05', photon_flux_error='2.30e-08', dlogl='1.30e+00', energy_flux='8.87e-06', photon_flux2='1.25e-08', job_status='DONE', time_completed='2026-09-01 10:09:13.710796', photon_index_error2='0.49', photon_index2='1.73', ts='6.26', fit_tolerance='1e-08', GAL='0.91', photon_index_error='0.00', energy_flux_error2='1.93e-05', EG='1.47', time_epoch_completed='1788282553.71', return_code='0', job_id='36631678', GAL2='0.90', EG2='1.50', return_code2='0', energy_flux_error='5.72e-06', photon_flux_error2='1.28e-08', ts2='8.86', photon_index='2.66' WHERE bin_id='943' AND source_name='4FGL J1238.5-1201' AND cadence='weekly';

Database successfully updated.


Analysis Complete.


Tue Sep  1 10:09:13 PDT 2026

 **********
 **   18 **HESSE 
 **********

 FCN=   21281.19     FROM HESSE     STATUS=OK           481 CALLS     2537 TOTAL
                     EDM=   .72E-07    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  Prefactor      .0000        .68485        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   2  Prefactor     46.504        11.632        .14665E-03   -1.5572    
   3  Prefactor     3.4655        4.7329        .54354E-03   -1.5671    
   4  Prefactor     .40422        137.22        .55272E-03   -1.5695    
   5  norm          1.6545        1.1608        .82034E-03   -1.5682    
   6  Prefactor     .40698        1.5469        .56714E-02   -1.5695    
   7  Prefactor     6.7486        1.4592        .38609E-02   -1.5188    
   8  Prefactor     8.8175        6.6975        .33609E-03   -1.5649    
   9  Prefactor      .0000        1.5629        .69405E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  10  Prefactor     7.2644        4.6858        .37171E-03   -1.5654    
  11  Prefactor      .0000        8.6553        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  12  Prefactor      .0000        8.2969        .15616E-01   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  13  norm          8.3274        9.7453        .34799E-03   -1.5650    
  14  Prefactor     46.552        43.328        .14659E-03   -1.5572    
  15  norm          .15028        .96228E-01    .72893E-03   -1.5700    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  16  norm          .99677E-01    1.0021        .75013E-02   -1.5702    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  17  norm          1.3080        3.3914        .96240E-03   -1.5685    
  18  Prefactor     .38858E-09    116.36        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  19  norm          6.5687        6.4729        .39122E-03   -1.5657    
  20  norm          4.7551        5.3223        .46131E-03   -1.5664    
  21  Prefactor      .0000        1.0669        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  22  Prefactor      .0000        2.4957        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  23  Normalizat    1.4734        .12979        .66859E-01   -.78530    
  24  Prefactor     .90862        .74815E-01    .45114E-01   -.95841    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 7.21851e-08
Minuit parameter uncertainties:
  1  1.79019e-06
  2  11.632
  3  4.73292
  4  14.8953
  5  1.16079
  6  1.5469
  7  1.45918
  8  6.69749
  9  8.45487e-06
  10  4.68584
  11  2.26457e-06
  12  8.13481e-06
  13  9.74532
  14  43.3282
  15  0.0962281
  16  0.632092
  17  3.39141
  18  0.000425066
  19  6.47287
  20  5.32227
  21  3.7908e-06
  22  4.27841e-06
  23  0.129817
  24  0.0748234
e GAL_V02
Working on...
/lscratch/kocevski/36631695/ft1_filtered_4FGL_J1238.5-1201_weekly_bin943.fits.....................!
real 60.95
user 58.98
sys 1.12

Creating the likelihood object...
obs = UnbinnedObs('/lscratch/kocevski/36631695/ft1_filtered_4FGL_J1238.5-1201_weekly_bin943.fits', '/lscratch/kocevski/36631695/ft2_4FGL_J1238.5-1201_weekly_bin943.fits', expMap='/lscratch/kocevski/36631695/expmap_809308801_809913601_4FGL_J1238.5-1201_weekly_bin943.fits', expCube='/lscratch/kocevski/36631695/ltcube_809308801_809913601_4FGL_J1238.5-1201_weekly_bin943.fits', irfs='P8R3_SOURCE_V2')
like = UnbinnedAnalysis(obs, '/lscratch/kocevski/36631695/Model_4FGL_J1238.5-1201_weekly_bin943.xml', optimizer='MINUIT')

Using source of interest name: '4FGL J1238.5-1201'

4FGL J1238.5-1201
   Spectrum: PowerLaw
326    Prefactor:  4.386e+00  0.000e+00  0.000e+00  1.000e+06 ( 1.000e-12)
327        Index:  2.660e+00  0.000e+00  0.000e+00  1.000e+01 (-1.000e+00) fixed
328        Scale:  5.228e+02  0.000e+00  3.000e+01  5.000e+05 ( 1.000e+00) fixed


Likelihood Fit Parameters:
Event file(s): /lscratch/kocevski/36631695/ft1_filtered_4FGL_J1238.5-1201_weekly_bin943.fits
Spacecraft file(s): /lscratch/kocevski/36631695/ft2_4FGL_J1238.5-1201_weekly_bin943.fits
Exposure map: /lscratch/kocevski/36631695/expmap_809308801_809913601_4FGL_J1238.5-1201_weekly_bin943.fits
Exposure cube: /lscratch/kocevski/36631695/ltcube_809308801_809913601_4FGL_J1238.5-1201_weekly_bin943.fits
IRFs: P8R3_SOURCE_V2
Source model file: /lscratch/kocevski/36631695/Model_4FGL_J1238.5-1201_weekly_bin943.xml
Optimizer: MINUIT
Statistic: UNBINNED

Performing an iterative likelihood fit...

Fit tolerance = 1

Performing likelihood fit...
Done.

MINUIT Return Code (Fixed Index): 0
logL (Fixed Index) = 21281.2012526

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

MINUIT Return Code (Fixed Index): 0
logL (Fixed Index) = 21281.1864399

Fit tolerance = 1e-08

Performing likelihood fit...
 **********
 **   14 **SET NOWARN 
 **********

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'Prefactor '    .13600E-07   1.0000          .0000       .10000E+07
     2 'Prefactor '    46.505       1.0000          .0000       .10000E+07
     3 'Prefactor '    3.4588       1.0000          .0000       .10000E+07
     4 'Prefactor '    .76904       1.0000          .0000       .10000E+07
     5 'norm      '    1.6542       1.0000          .0000       .10000E+07
     6 'Prefactor '    .39905       1.0000          .0000       .10000E+07
     7 'Prefactor '    6.7503       1.0000         .10000E-03   10000.    
     8 'Prefactor '    8.8813       1.0000          .0000       .10000E+07
     9 'Prefactor '    .19836E-04   1.0000          .0000       .10000E+07
    10 'Prefactor '    7.2723       1.0000          .0000       .10000E+07
    11 'Prefactor '    .99929E-03   1.0000          .0000       .10000E+07
    12 'Prefactor '    .19441       1.0000          .0000       .10000E+07
    13 'norm      '    8.2882       1.0000          .0000       .10000E+07
    14 'Prefactor '    46.545       1.0000          .0000       .10000E+07
    15 'norm      '    .15004       1.0000          .0000       .10000E+07
    16 'norm      '    .10116       1.0000          .0000       .10000E+07
    17 'norm      '    1.3112       1.0000          .0000       .10000E+07
    18 'Prefactor '    .13509E-01   1.0000          .0000       .10000E+07
    19 'norm      '    6.5720       1.0000          .0000       .10000E+07
    20 'norm      '    4.7523       1.0000          .0000       .10000E+07
    21 'Prefactor '    .17486E-07   1.0000          .0000       .10000E+07
    22 'Prefactor '    .34167E-06   1.0000          .0000       .10000E+07
    23 'Normalizat'    1.4730       1.0000         .10000E-01   10.000    
    24 'Prefactor '    .90859       1.0000          .0000       10.000    
 **********
 **   15 **SET ERR    .5000    
 **********
 **********
 **   16 **SET GRAD    1.000    
 **********
 **********
 **   17 **MINIMIZE    .6130E+05   .2000E-04
 **********

 MIGRAD MINIMIZATION HAS CONVERGED.

 FCN=   21281.19     FROM MIGRAD    STATUS=CONVERGED    185 CALLS     2056 TOTAL
                     EDM=   .45E-10  STRATEGY=1  ERROR MATRIX UNCERTAINTY=  3.1%

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor      .0000        .68202       -.48158E-07** at limit **
   2  Prefactor     46.504        11.639        .22711E-08   -.27642E-03
   3  Prefactor     3.4655        4.7143       -.31433E-07    .68265E-04
   4  Prefactor     .40422        142.48       -.38822E-05   -.24565E-03
   5  norm          1.6545        1.1626       -.13609E-08   -.80026E-04
   6  Prefactor     .40698        5.0335        .21039E-06   -.11813E-03
   7  Prefactor     6.7486        1.4421       -.12657E-06   -.22713E-04
   8  Prefactor     8.8175        6.6956       -.15743E-07   -.35178E-03
   9  Prefactor      .0000        11.373       -.52998E-07** at limit **
  10  Prefactor     7.2644        4.6772       -.25959E-07    .91606E-04
  11  Prefactor      .0000        8.9222        .13644E-08** at limit **
  12  Prefactor      .0000        509.44       -.15016E-05** at limit **
  13  norm          8.3274        9.7228       -.92048E-07    .56517E-03
  14  Prefactor     46.552        1.7559        .32832E-07   -.84903E-02
  15  norm          .15028        .88534E-01    .21618E-09** at limit **
  16  norm          .99677E-01    9.2533        .50257E-06** at limit **
  17  norm          1.3080        2.7895        .20552E-07   -.12990E-03
  18  Prefactor     .38858E-09    116.54        .48808E-06** at limit **
  19  norm          6.5687        6.4548       -.22227E-07    .31242E-03
  20  norm          4.7551        5.3132        .52429E-07    .12580E-03
  21  Prefactor      .0000        1.0550        .62289E-07** at limit **
  22  Prefactor      .0000        2.4926       -.71473E-07** at limit **
  23  Normalizat    1.4734        .15233        .33757E-06   -.81079E-05
  24  Prefactor     .90862        .88419E-01   -.69490E-07    .92286E-05
                               ERR DEF=  .500    
Final values: 
  Prefactor  = 0
  Prefactor  = 46.5042
  Prefactor  = 3.46546
  Prefactor  = 0.404216
  norm       = 1.6545
  Prefactor  = 0.406975
  Prefactor  = 6.74863
  Prefactor  = 8.8175
  Prefactor  = 0
  Prefactor  = 7.26437
  Prefactor  = 0
  Prefactor  = 0
  norm       = 8.32745
  Prefactor  = 46.5524
  norm       = 0.150284
  norm       = 0.0996769
  norm       = 1.30798
  Prefactor  = 3.88578e-10
  norm       = 6.56868
  norm       = 4.75511
  Prefactor  = 0
  Prefactor  = 0
  Normalizat = 1.47337
  Prefactor  = 0.908618
Done.

MINUIT Return Code (Fixed Index): 0
logL (Fixed Index) = 21281.1856997

Extracting fit parameters...

4FGL J1238.5-1201
   Spectrum: PowerLaw
326    Prefactor:  7.264e+00  4.686e+00  0.000e+00  1.000e+06 ( 1.000e-12)
327        Index:  2.660e+00  0.000e+00  0.000e+00  1.000e+01 (-1.000e+00) fixed
328        Scale:  5.228e+02  0.000e+00  3.000e+01  5.000e+05 ( 1.000e+00) fixed

GAL_V02
   Spectrum: PowerLaw
610    Prefactor:  9.086e-01  7.482e-02  0.000e+00  1.000e+01 ( 1.000e+00)
611        Index:  0.000e+00  0.000e+00 -1.000e+00  1.000e+00 ( 1.000e+00) fixed
612        Scale:  1.000e+02  0.000e+00  5.000e+01  2.000e+02 ( 1.000e+00) fixed

EG_v02
   Spectrum: FileFunction
609   Normalization:  1.473e+00  1.298e-01  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Fixed Index): 6.26
Ra Dec: 189.625 -12.028
Photon Index (Fixed Index): 2.66 +/- 0.00
Photon Flux (Fixed Index): 3.57e-08 +/- 2.30e-08
Energy Flux (Fixed Index): 8.87e-06 +/- 5.72e-06

Performing a free index iterative likelihood fit...

Freezing all point sources, except source of interest...

Done.

Freeing candidate source...
Done.

Fit tolerance = 1

Performing likelihood fit...
Done.

MINUIT Return Code (Free Index): 0
logL (Free Index) = 21279.9562846
delta logL = 1.22941508733

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

MINUIT Return Code (Free Index): 0
logL (Free Index) = 21279.8827599
delta logL = 1.30293982926

Fit tolerance = 1e-08

Performing likelihood fit...
 **********
 **   14 **SET NOWARN 
 **********

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'Prefactor '    5.2698       1.0000          .0000       .10000E+07
     2 'Index     '    1.7355       1.0000          .0000       10.000    
     3 'Normalizat'    1.5027       1.0000         .10000E-01   10.000    
     4 'Prefactor '    .89911       1.0000          .0000       10.000    
 **********
 **   15 **SET ERR    .5000    
 **********
 **********
 **   16 **SET GRAD    1.000    
 **********
 **********
 **   17 **MINIMIZE    .6130E+05   .2000E-04
 **********

 MIGRAD MINIMIZATION HAS CONVERGED.

 MIGRAD WILL VERIFY CONVERGENCE AND ERROR MATRIX.

 FCN=   21279.88     FROM MIGRAD    STATUS=CONVERGED     56 CALLS      214 TOTAL
                     EDM=   .20E-09    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor     5.2564        3.6963        .43761E-03   -.17339E-02
   2  Index         1.7339        .27580        .27575       -.18505E-03
   3  Normalizat    1.5027        .12517        .66309E-01    .18573E-04
   4  Prefactor     .89917        .73770E-01    .44994E-01    .30763E-04
                               ERR DEF=  .500    
Final values: 
  Prefactor  = 5.25636
  Index      = 1.7339
  Normalizat = 1.5027
  Prefactor  = 0.899171
 **********
 **   18 **HESSE 
 **********

 FCN=   21281.19     FROM HESSE     STATUS=OK           481 CALLS     2537 TOTAL
                     EDM=   .72E-07    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  Prefactor      .0000        .68485        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   2  Prefactor     46.504        11.632        .14665E-03   -1.5572    
   3  Prefactor     3.4655        4.7329        .54354E-03   -1.5671    
   4  Prefactor     .40422        137.22        .55272E-03   -1.5695    
   5  norm          1.6545        1.1608        .82034E-03   -1.5682    
   6  Prefactor     .40698        1.5469        .56714E-02   -1.5695    
   7  Prefactor     6.7486        1.4592        .38609E-02   -1.5188    
   8  Prefactor     8.8175        6.6975        .33609E-03   -1.5649    
   9  Prefactor      .0000        1.5629        .69405E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  10  Prefactor     7.2644        4.6858        .37171E-03   -1.5654    
  11  Prefactor      .0000        8.6553        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  12  Prefactor      .0000        8.2969        .15616E-01   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  13  norm          8.3274        9.7453        .34799E-03   -1.5650    
  14  Prefactor     46.552        43.328        .14659E-03   -1.5572    
  15  norm          .15028        .96228E-01    .72893E-03   -1.5700    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  16  norm          .99677E-01    1.0021        .75013E-02   -1.5702    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  17  norm          1.3080        3.3914        .96240E-03   -1.5685    
  18  Prefactor     .38858E-09    116.36        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  19  norm          6.5687        6.4729        .39122E-03   -1.5657    
  20  norm          4.7551        5.3223        .46131E-03   -1.5664    
  21  Prefactor      .0000        1.0669        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  22  Prefactor      .0000        2.4957        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  23  Normalizat    1.4734        .12979        .66859E-01   -.78530    
  24  Prefactor     .90862        .74815E-01    .45114E-01   -.95841    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 7.21851e-08
Minuit parameter uncertainties:
  1  1.79019e-06
  2  11.632
  3  4.73292
  4  14.8953
  5  1.16079
  6  1.5469
  7  1.45918
  8  6.69749
  9  8.45487e-06
  10  4.68584
  11  2.26457e-06
  12  8.13481e-06
  13  9.74532
  14  43.3282
  15  0.0962281
  16  0.632092
  17  3.39141
  18  0.000425066
  19  6.47287
  20  5.32227
  21  3.7908e-06
  22  4.27841e-06
  23  0.129817
  24  0.0748234
 **********
 **   18 **HESSE 
 **********

 FCN=   21279.88     FROM HESSE     STATUS=OK            33 CALLS      247 TOTAL
                     EDM=   .15E-10    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  Prefactor     5.2564        4.7843        .17504E-04   -1.5662    
   2  Index         1.7339        .48444        .10352E-01   -.71183    
   3  Normalizat    1.5027        .14781        .29332E-03   -.77702    
   4  Prefactor     .89917        .87088E-01    .21535E-03   -.96170    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 1.48127e-11
Minuit parameter uncertainties:
  1  4.78429
  2  0.485775
  3  0.147852
  4  0.0871014
shell-init: error retrieving current directory: getcwd: cannot access parent directories: No such file or directory
Done.

MINUIT Return Code (Free Index): 0
logL (Free Index) = 21279.8827537
delta logL = 1.30294599407

Extracting fit parameters...

4FGL J1238.5-1201
   Spectrum: PowerLaw
326    Prefactor:  5.256e+00  4.784e+00  0.000e+00  1.000e+06 ( 1.000e-12)
327        Index:  1.734e+00  4.858e-01  0.000e+00  1.000e+01 (-1.000e+00)
328        Scale:  5.228e+02  0.000e+00  3.000e+01  5.000e+05 ( 1.000e+00) fixed

GAL_V02
   Spectrum: PowerLaw
610    Prefactor:  8.992e-01  8.710e-02  0.000e+00  1.000e+01 ( 1.000e+00)
611        Index:  0.000e+00  0.000e+00 -1.000e+00  1.000e+00 ( 1.000e+00) fixed
612        Scale:  1.000e+02  0.000e+00  5.000e+01  2.000e+02 ( 1.000e+00) fixed

EG_v02
   Spectrum: FileFunction
609   Normalization:  1.503e+00  1.479e-01  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Free Index): 8.86
Ra Dec: 189.625 -12.028
Photon Index (Free Index): 1.73 +/- 0.49
Photon Flux (Free Index): 1.25e-08 +/- 1.28e-08
Energy Flux (Free Index): 1.84e-05 +/- 1.93e-05

Creating a high resolution counts map...
INFO: Auto-setting vmin to -1.000e-01 [aplpy.core]
INFO: Auto-setting vmax to  1.110e+00 [aplpy.core]
Saving /lscratch/kocevski/36631603/cmap_HighResolution_809308801_809913601_4FGL_J1238.5-1201_weekly_bin943.png

Cleaning up...

** Nuclear option initiated! **

Updating database...

UPDATE lightcurve_data_v2 SET comment='SUCCESS', photon_flux='3.57e-08', energy_flux2='1.84e-05', photon_flux_error='2.30e-08', dlogl='1.30e+00', energy_flux='8.87e-06', photon_flux2='1.25e-08', job_status='DONE', time_completed='2026-09-01 10:09:46.660489', photon_index_error2='0.49', photon_index2='1.73', ts='6.26', fit_tolerance='1e-08', GAL='0.91', photon_index_error='0.00', energy_flux_error2='1.93e-05', EG='1.47', time_epoch_completed='1788282586.66', return_code='0', job_id='36631603', GAL2='0.90', EG2='1.50', return_code2='0', energy_flux_error='5.72e-06', photon_flux_error2='1.28e-08', ts2='8.86', photon_index='2.66' WHERE bin_id='943' AND source_name='4FGL J1238.5-1201' AND cadence='weekly';

Database successfully updated.


Analysis Complete.


Tue Sep  1 10:09:46 PDT 2026

e GAL_V02
Working on...
/lscratch/kocevski/36631749/ft1_filtered_4FGL_J1238.5-1201_weekly_bin943.fits.....................!
real 61.82
user 59.89
sys 1.11

Creating the likelihood object...
obs = UnbinnedObs('/lscratch/kocevski/36631749/ft1_filtered_4FGL_J1238.5-1201_weekly_bin943.fits', '/lscratch/kocevski/36631749/ft2_4FGL_J1238.5-1201_weekly_bin943.fits', expMap='/lscratch/kocevski/36631749/expmap_809308801_809913601_4FGL_J1238.5-1201_weekly_bin943.fits', expCube='/lscratch/kocevski/36631749/ltcube_809308801_809913601_4FGL_J1238.5-1201_weekly_bin943.fits', irfs='P8R3_SOURCE_V2')
like = UnbinnedAnalysis(obs, '/lscratch/kocevski/36631749/Model_4FGL_J1238.5-1201_weekly_bin943.xml', optimizer='MINUIT')

Using source of interest name: '4FGL J1238.5-1201'

4FGL J1238.5-1201
   Spectrum: PowerLaw
326    Prefactor:  4.386e+00  0.000e+00  0.000e+00  1.000e+06 ( 1.000e-12)
327        Index:  2.660e+00  0.000e+00  0.000e+00  1.000e+01 (-1.000e+00) fixed
328        Scale:  5.228e+02  0.000e+00  3.000e+01  5.000e+05 ( 1.000e+00) fixed


Likelihood Fit Parameters:
Event file(s): /lscratch/kocevski/36631749/ft1_filtered_4FGL_J1238.5-1201_weekly_bin943.fits
Spacecraft file(s): /lscratch/kocevski/36631749/ft2_4FGL_J1238.5-1201_weekly_bin943.fits
Exposure map: /lscratch/kocevski/36631749/expmap_809308801_809913601_4FGL_J1238.5-1201_weekly_bin943.fits
Exposure cube: /lscratch/kocevski/36631749/ltcube_809308801_809913601_4FGL_J1238.5-1201_weekly_bin943.fits
IRFs: P8R3_SOURCE_V2
Source model file: /lscratch/kocevski/36631749/Model_4FGL_J1238.5-1201_weekly_bin943.xml
Optimizer: MINUIT
Statistic: UNBINNED

Performing an iterative likelihood fit...

Fit tolerance = 1

Performing likelihood fit...
Done.

MINUIT Return Code (Fixed Index): 0
logL (Fixed Index) = 21281.2012526

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

MINUIT Return Code (Fixed Index): 0
logL (Fixed Index) = 21281.1864399

Fit tolerance = 1e-08

Performing likelihood fit...
 **********
 **   14 **SET NOWARN 
 **********

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'Prefactor '    .13600E-07   1.0000          .0000       .10000E+07
     2 'Prefactor '    46.505       1.0000          .0000       .10000E+07
     3 'Prefactor '    3.4588       1.0000          .0000       .10000E+07
     4 'Prefactor '    .76904       1.0000          .0000       .10000E+07
     5 'norm      '    1.6542       1.0000          .0000       .10000E+07
     6 'Prefactor '    .39905       1.0000          .0000       .10000E+07
     7 'Prefactor '    6.7503       1.0000         .10000E-03   10000.    
     8 'Prefactor '    8.8813       1.0000          .0000       .10000E+07
     9 'Prefactor '    .19836E-04   1.0000          .0000       .10000E+07
    10 'Prefactor '    7.2723       1.0000          .0000       .10000E+07
    11 'Prefactor '    .99929E-03   1.0000          .0000       .10000E+07
    12 'Prefactor '    .19441       1.0000          .0000       .10000E+07
    13 'norm      '    8.2882       1.0000          .0000       .10000E+07
    14 'Prefactor '    46.545       1.0000          .0000       .10000E+07
    15 'norm      '    .15004       1.0000          .0000       .10000E+07
    16 'norm      '    .10116       1.0000          .0000       .10000E+07
    17 'norm      '    1.3112       1.0000          .0000       .10000E+07
    18 'Prefactor '    .13509E-01   1.0000          .0000       .10000E+07
    19 'norm      '    6.5720       1.0000          .0000       .10000E+07
    20 'norm      '    4.7523       1.0000          .0000       .10000E+07
    21 'Prefactor '    .17486E-07   1.0000          .0000       .10000E+07
    22 'Prefactor '    .34167E-06   1.0000          .0000       .10000E+07
    23 'Normalizat'    1.4730       1.0000         .10000E-01   10.000    
    24 'Prefactor '    .90859       1.0000          .0000       10.000    
 **********
 **   15 **SET ERR    .5000    
 **********
 **********
 **   16 **SET GRAD    1.000    
 **********
 **********
 **   17 **MINIMIZE    .6130E+05   .2000E-04
 **********

 MIGRAD MINIMIZATION HAS CONVERGED.

 FCN=   21281.19     FROM MIGRAD    STATUS=CONVERGED    185 CALLS     2056 TOTAL
                     EDM=   .45E-10  STRATEGY=1  ERROR MATRIX UNCERTAINTY=  3.1%

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor      .0000        .68202       -.48158E-07** at limit **
   2  Prefactor     46.504        11.639        .22711E-08   -.27642E-03
   3  Prefactor     3.4655        4.7143       -.31433E-07    .68265E-04
   4  Prefactor     .40422        142.48       -.38822E-05   -.24565E-03
   5  norm          1.6545        1.1626       -.13609E-08   -.80026E-04
   6  Prefactor     .40698        5.0335        .21039E-06   -.11813E-03
   7  Prefactor     6.7486        1.4421       -.12657E-06   -.22713E-04
   8  Prefactor     8.8175        6.6956       -.15743E-07   -.35178E-03
   9  Prefactor      .0000        11.373       -.52998E-07** at limit **
  10  Prefactor     7.2644        4.6772       -.25959E-07    .91606E-04
  11  Prefactor      .0000        8.9222        .13644E-08** at limit **
  12  Prefactor      .0000        509.44       -.15016E-05** at limit **
  13  norm          8.3274        9.7228       -.92048E-07    .56517E-03
  14  Prefactor     46.552        1.7559        .32832E-07   -.84903E-02
  15  norm          .15028        .88534E-01    .21618E-09** at limit **
  16  norm          .99677E-01    9.2533        .50257E-06** at limit **
  17  norm          1.3080        2.7895        .20552E-07   -.12990E-03
  18  Prefactor     .38858E-09    116.54        .48808E-06** at limit **
  19  norm          6.5687        6.4548       -.22227E-07    .31242E-03
  20  norm          4.7551        5.3132        .52429E-07    .12580E-03
  21  Prefactor      .0000        1.0550        .62289E-07** at limit **
  22  Prefactor      .0000        2.4926       -.71473E-07** at limit **
  23  Normalizat    1.4734        .15233        .33757E-06   -.81079E-05
  24  Prefactor     .90862        .88419E-01   -.69490E-07    .92286E-05
                               ERR DEF=  .500    
Final values: 
  Prefactor  = 0
  Prefactor  = 46.5042
  Prefactor  = 3.46546
  Prefactor  = 0.404216
  norm       = 1.6545
  Prefactor  = 0.406975
  Prefactor  = 6.74863
  Prefactor  = 8.8175
  Prefactor  = 0
  Prefactor  = 7.26437
  Prefactor  = 0
  Prefactor  = 0
  norm       = 8.32745
  Prefactor  = 46.5524
  norm       = 0.150284
  norm       = 0.0996769
  norm       = 1.30798
  Prefactor  = 3.88578e-10
  norm       = 6.56868
  norm       = 4.75511
  Prefactor  = 0
  Prefactor  = 0
  Normalizat = 1.47337
  Prefactor  = 0.908618
 **********
 **   18 **HESSE 
 **********

 FCN=   21281.19     FROM HESSE     STATUS=OK           481 CALLS     2537 TOTAL
                     EDM=   .72E-07    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  Prefactor      .0000        .68485        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   2  Prefactor     46.504        11.632        .14665E-03   -1.5572    
   3  Prefactor     3.4655        4.7329        .54354E-03   -1.5671    
   4  Prefactor     .40422        137.22        .55272E-03   -1.5695    
   5  norm          1.6545        1.1608        .82034E-03   -1.5682    
   6  Prefactor     .40698        1.5469        .56714E-02   -1.5695    
   7  Prefactor     6.7486        1.4592        .38609E-02   -1.5188    
   8  Prefactor     8.8175        6.6975        .33609E-03   -1.5649    
   9  Prefactor      .0000        1.5629        .69405E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  10  Prefactor     7.2644        4.6858        .37171E-03   -1.5654    
  11  Prefactor      .0000        8.6553        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  12  Prefactor      .0000        8.2969        .15616E-01   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  13  norm          8.3274        9.7453        .34799E-03   -1.5650    
  14  Prefactor     46.552        43.328        .14659E-03   -1.5572    
  15  norm          .15028        .96228E-01    .72893E-03   -1.5700    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  16  norm          .99677E-01    1.0021        .75013E-02   -1.5702    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  17  norm          1.3080        3.3914        .96240E-03   -1.5685    
  18  Prefactor     .38858E-09    116.36        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  19  norm          6.5687        6.4729        .39122E-03   -1.5657    
  20  norm          4.7551        5.3223        .46131E-03   -1.5664    
  21  Prefactor      .0000        1.0669        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  22  Prefactor      .0000        2.4957        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  23  Normalizat    1.4734        .12979        .66859E-01   -.78530    
  24  Prefactor     .90862        .74815E-01    .45114E-01   -.95841    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 7.21851e-08
Minuit parameter uncertainties:
  1  1.79019e-06
  2  11.632
  3  4.73292
  4  14.8953
  5  1.16079
  6  1.5469
  7  1.45918
  8  6.69749
  9  8.45487e-06
  10  4.68584
  11  2.26457e-06
  12  8.13481e-06
  13  9.74532
  14  43.3282
  15  0.0962281
  16  0.632092
  17  3.39141
  18  0.000425066
  19  6.47287
  20  5.32227
  21  3.7908e-06
  22  4.27841e-06
  23  0.129817
  24  0.0748234
Done.

MINUIT Return Code (Fixed Index): 0
logL (Fixed Index) = 21281.1856997

Extracting fit parameters...

4FGL J1238.5-1201
   Spectrum: PowerLaw
326    Prefactor:  7.264e+00  4.686e+00  0.000e+00  1.000e+06 ( 1.000e-12)
327        Index:  2.660e+00  0.000e+00  0.000e+00  1.000e+01 (-1.000e+00) fixed
328        Scale:  5.228e+02  0.000e+00  3.000e+01  5.000e+05 ( 1.000e+00) fixed

GAL_V02
   Spectrum: PowerLaw
610    Prefactor:  9.086e-01  7.482e-02  0.000e+00  1.000e+01 ( 1.000e+00)
611        Index:  0.000e+00  0.000e+00 -1.000e+00  1.000e+00 ( 1.000e+00) fixed
612        Scale:  1.000e+02  0.000e+00  5.000e+01  2.000e+02 ( 1.000e+00) fixed

EG_v02
   Spectrum: FileFunction
609   Normalization:  1.473e+00  1.298e-01  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Fixed Index): 6.26
Ra Dec: 189.625 -12.028
Photon Index (Fixed Index): 2.66 +/- 0.00
Photon Flux (Fixed Index): 3.57e-08 +/- 2.30e-08
Energy Flux (Fixed Index): 8.87e-06 +/- 5.72e-06

Performing a free index iterative likelihood fit...

Freezing all point sources, except source of interest...

Done.

Freeing candidate source...
Done.

Fit tolerance = 1

Performing likelihood fit...
Done.

MINUIT Return Code (Free Index): 0
logL (Free Index) = 21279.9562846
delta logL = 1.22941508733

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

MINUIT Return Code (Free Index): 0
logL (Free Index) = 21279.8827599
delta logL = 1.30293982926

Fit tolerance = 1e-08

Performing likelihood fit...
 **********
 **   14 **SET NOWARN 
 **********

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'Prefactor '    5.2698       1.0000          .0000       .10000E+07
     2 'Index     '    1.7355       1.0000          .0000       10.000    
     3 'Normalizat'    1.5027       1.0000         .10000E-01   10.000    
     4 'Prefactor '    .89911       1.0000          .0000       10.000    
 **********
 **   15 **SET ERR    .5000    
 **********
 **********
 **   16 **SET GRAD    1.000    
 **********
 **********
 **   17 **MINIMIZE    .6130E+05   .2000E-04
 **********

 MIGRAD MINIMIZATION HAS CONVERGED.

 MIGRAD WILL VERIFY CONVERGENCE AND ERROR MATRIX.

 FCN=   21279.88     FROM MIGRAD    STATUS=CONVERGED     56 CALLS      214 TOTAL
                     EDM=   .20E-09    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor     5.2564        3.6963        .43761E-03   -.17339E-02
   2  Index         1.7339        .27580        .27575       -.18505E-03
   3  Normalizat    1.5027        .12517        .66309E-01    .18573E-04
   4  Prefactor     .89917        .73770E-01    .44994E-01    .30763E-04
                               ERR DEF=  .500    
Final values: 
  Prefactor  = 5.25636
  Index      = 1.7339
  Normalizat = 1.5027
  Prefactor  = 0.899171
 **********
 **   18 **HESSE 
 **********

 FCN=   21279.88     FROM HESSE     STATUS=OK            33 CALLS      247 TOTAL
                     EDM=   .15E-10    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  Prefactor     5.2564        4.7843        .17504E-04   -1.5662    
   2  Index         1.7339        .48444        .10352E-01   -.71183    
   3  Normalizat    1.5027        .14781        .29332E-03   -.77702    
   4  Prefactor     .89917        .87088E-01    .21535E-03   -.96170    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 1.48127e-11
Minuit parameter uncertainties:
  1  4.78429
  2  0.485775
  3  0.147852
  4  0.0871014
shell-init: error retrieving current directory: getcwd: cannot access parent directories: No such file or directory
Done.

MINUIT Return Code (Free Index): 0
logL (Free Index) = 21279.8827537
delta logL = 1.30294599407

Extracting fit parameters...

4FGL J1238.5-1201
   Spectrum: PowerLaw
326    Prefactor:  5.256e+00  4.784e+00  0.000e+00  1.000e+06 ( 1.000e-12)
327        Index:  1.734e+00  4.858e-01  0.000e+00  1.000e+01 (-1.000e+00)
328        Scale:  5.228e+02  0.000e+00  3.000e+01  5.000e+05 ( 1.000e+00) fixed

GAL_V02
   Spectrum: PowerLaw
610    Prefactor:  8.992e-01  8.710e-02  0.000e+00  1.000e+01 ( 1.000e+00)
611        Index:  0.000e+00  0.000e+00 -1.000e+00  1.000e+00 ( 1.000e+00) fixed
612        Scale:  1.000e+02  0.000e+00  5.000e+01  2.000e+02 ( 1.000e+00) fixed

EG_v02
   Spectrum: FileFunction
609   Normalization:  1.503e+00  1.479e-01  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Free Index): 8.86
Ra Dec: 189.625 -12.028
Photon Index (Free Index): 1.73 +/- 0.49
Photon Flux (Free Index): 1.25e-08 +/- 1.28e-08
Energy Flux (Free Index): 1.84e-05 +/- 1.93e-05

Creating a high resolution counts map...
INFO: Auto-setting vmin to -1.000e-01 [aplpy.core]
INFO: Auto-setting vmax to  1.110e+00 [aplpy.core]
Saving /lscratch/kocevski/36631647/cmap_HighResolution_809308801_809913601_4FGL_J1238.5-1201_weekly_bin943.png

Cleaning up...

** Nuclear option initiated! **

Updating database...

UPDATE lightcurve_data_v2 SET comment='SUCCESS', photon_flux='3.57e-08', energy_flux2='1.84e-05', photon_flux_error='2.30e-08', dlogl='1.30e+00', energy_flux='8.87e-06', photon_flux2='1.25e-08', job_status='DONE', time_completed='2026-09-01 10:10:13.439868', photon_index_error2='0.49', photon_index2='1.73', ts='6.26', fit_tolerance='1e-08', GAL='0.91', photon_index_error='0.00', energy_flux_error2='1.93e-05', EG='1.47', time_epoch_completed='1788282613.44', return_code='0', job_id='36631647', GAL2='0.90', EG2='1.50', return_code2='0', energy_flux_error='5.72e-06', photon_flux_error2='1.28e-08', ts2='8.86', photon_index='2.66' WHERE bin_id='943' AND source_name='4FGL J1238.5-1201' AND cadence='weekly';

Database successfully updated.


Analysis Complete.


Tue Sep  1 10:10:13 PDT 2026

Done.

MINUIT Return Code (Fixed Index): 0
logL (Fixed Index) = 21281.1856997

Extracting fit parameters...

4FGL J1238.5-1201
   Spectrum: PowerLaw
326    Prefactor:  7.264e+00  4.686e+00  0.000e+00  1.000e+06 ( 1.000e-12)
327        Index:  2.660e+00  0.000e+00  0.000e+00  1.000e+01 (-1.000e+00) fixed
328        Scale:  5.228e+02  0.000e+00  3.000e+01  5.000e+05 ( 1.000e+00) fixed

GAL_V02
   Spectrum: PowerLaw
610    Prefactor:  9.086e-01  7.482e-02  0.000e+00  1.000e+01 ( 1.000e+00)
611        Index:  0.000e+00  0.000e+00 -1.000e+00  1.000e+00 ( 1.000e+00) fixed
612        Scale:  1.000e+02  0.000e+00  5.000e+01  2.000e+02 ( 1.000e+00) fixed

EG_v02
   Spectrum: FileFunction
609   Normalization:  1.473e+00  1.298e-01  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Fixed Index): 6.26
Ra Dec: 189.625 -12.028
Photon Index (Fixed Index): 2.66 +/- 0.00
Photon Flux (Fixed Index): 3.57e-08 +/- 2.30e-08
Energy Flux (Fixed Index): 8.87e-06 +/- 5.72e-06

Performing a free index iterative likelihood fit...

Freezing all point sources, except source of interest...

Done.

Freeing candidate source...
Done.

Fit tolerance = 1

Performing likelihood fit...
Done.

MINUIT Return Code (Free Index): 0
logL (Free Index) = 21279.9562846
delta logL = 1.22941508733

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

MINUIT Return Code (Free Index): 0
logL (Free Index) = 21279.8827599
delta logL = 1.30293982926

Fit tolerance = 1e-08

Performing likelihood fit...
 **********
 **   14 **SET NOWARN 
 **********

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'Prefactor '    5.2698       1.0000          .0000       .10000E+07
     2 'Index     '    1.7355       1.0000          .0000       10.000    
     3 'Normalizat'    1.5027       1.0000         .10000E-01   10.000    
     4 'Prefactor '    .89911       1.0000          .0000       10.000    
 **********
 **   15 **SET ERR    .5000    
 **********
 **********
 **   16 **SET GRAD    1.000    
 **********
 **********
 **   17 **MINIMIZE    .6130E+05   .2000E-04
 **********

 MIGRAD MINIMIZATION HAS CONVERGED.

 MIGRAD WILL VERIFY CONVERGENCE AND ERROR MATRIX.

 FCN=   21279.88     FROM MIGRAD    STATUS=CONVERGED     56 CALLS      214 TOTAL
                     EDM=   .20E-09    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor     5.2564        3.6963        .43761E-03   -.17339E-02
   2  Index         1.7339        .27580        .27575       -.18505E-03
   3  Normalizat    1.5027        .12517        .66309E-01    .18573E-04
   4  Prefactor     .89917        .73770E-01    .44994E-01    .30763E-04
                               ERR DEF=  .500    
Final values: 
  Prefactor  = 5.25636
  Index      = 1.7339
  Normalizat = 1.5027
  Prefactor  = 0.899171
 **********
 **   18 **HESSE 
 **********

 FCN=   21279.88     FROM HESSE     STATUS=OK            33 CALLS      247 TOTAL
                     EDM=   .15E-10    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  Prefactor     5.2564        4.7843        .17504E-04   -1.5662    
   2  Index         1.7339        .48444        .10352E-01   -.71183    
   3  Normalizat    1.5027        .14781        .29332E-03   -.77702    
   4  Prefactor     .89917        .87088E-01    .21535E-03   -.96170    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 1.48127e-11
Minuit parameter uncertainties:
  1  4.78429
  2  0.485775
  3  0.147852
  4  0.0871014
shell-init: error retrieving current directory: getcwd: cannot access parent directories: No such file or directory
Done.

MINUIT Return Code (Free Index): 0
logL (Free Index) = 21279.8827537
delta logL = 1.30294599407

Extracting fit parameters...

4FGL J1238.5-1201
   Spectrum: PowerLaw
326    Prefactor:  5.256e+00  4.784e+00  0.000e+00  1.000e+06 ( 1.000e-12)
327        Index:  1.734e+00  4.858e-01  0.000e+00  1.000e+01 (-1.000e+00)
328        Scale:  5.228e+02  0.000e+00  3.000e+01  5.000e+05 ( 1.000e+00) fixed

GAL_V02
   Spectrum: PowerLaw
610    Prefactor:  8.992e-01  8.710e-02  0.000e+00  1.000e+01 ( 1.000e+00)
611        Index:  0.000e+00  0.000e+00 -1.000e+00  1.000e+00 ( 1.000e+00) fixed
612        Scale:  1.000e+02  0.000e+00  5.000e+01  2.000e+02 ( 1.000e+00) fixed

EG_v02
   Spectrum: FileFunction
609   Normalization:  1.503e+00  1.479e-01  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Free Index): 8.86
Ra Dec: 189.625 -12.028
Photon Index (Free Index): 1.73 +/- 0.49
Photon Flux (Free Index): 1.25e-08 +/- 1.28e-08
Energy Flux (Free Index): 1.84e-05 +/- 1.93e-05

Creating a high resolution counts map...
INFO: Auto-setting vmin to -1.000e-01 [aplpy.core]
INFO: Auto-setting vmax to  1.110e+00 [aplpy.core]
Saving /lscratch/kocevski/36631672/cmap_HighResolution_809308801_809913601_4FGL_J1238.5-1201_weekly_bin943.png

Cleaning up...

** Nuclear option initiated! **

Updating database...

UPDATE lightcurve_data_v2 SET comment='SUCCESS', photon_flux='3.57e-08', energy_flux2='1.84e-05', photon_flux_error='2.30e-08', dlogl='1.30e+00', energy_flux='8.87e-06', photon_flux2='1.25e-08', job_status='DONE', time_completed='2026-09-01 10:10:31.190751', photon_index_error2='0.49', photon_index2='1.73', ts='6.26', fit_tolerance='1e-08', GAL='0.91', photon_index_error='0.00', energy_flux_error2='1.93e-05', EG='1.47', time_epoch_completed='1788282631.19', return_code='0', job_id='36631672', GAL2='0.90', EG2='1.50', return_code2='0', energy_flux_error='5.72e-06', photon_flux_error2='1.28e-08', ts2='8.86', photon_index='2.66' WHERE bin_id='943' AND source_name='4FGL J1238.5-1201' AND cadence='weekly';

Database successfully updated.


Analysis Complete.


Tue Sep  1 10:10:31 PDT 2026

 **********
 **   18 **HESSE 
 **********

 FCN=   21281.19     FROM HESSE     STATUS=OK           481 CALLS     2537 TOTAL
                     EDM=   .72E-07    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  Prefactor      .0000        .68485        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   2  Prefactor     46.504        11.632        .14665E-03   -1.5572    
   3  Prefactor     3.4655        4.7329        .54354E-03   -1.5671    
   4  Prefactor     .40422        137.22        .55272E-03   -1.5695    
   5  norm          1.6545        1.1608        .82034E-03   -1.5682    
   6  Prefactor     .40698        1.5469        .56714E-02   -1.5695    
   7  Prefactor     6.7486        1.4592        .38609E-02   -1.5188    
   8  Prefactor     8.8175        6.6975        .33609E-03   -1.5649    
   9  Prefactor      .0000        1.5629        .69405E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  10  Prefactor     7.2644        4.6858        .37171E-03   -1.5654    
  11  Prefactor      .0000        8.6553        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  12  Prefactor      .0000        8.2969        .15616E-01   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  13  norm          8.3274        9.7453        .34799E-03   -1.5650    
  14  Prefactor     46.552        43.328        .14659E-03   -1.5572    
  15  norm          .15028        .96228E-01    .72893E-03   -1.5700    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  16  norm          .99677E-01    1.0021        .75013E-02   -1.5702    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  17  norm          1.3080        3.3914        .96240E-03   -1.5685    
  18  Prefactor     .38858E-09    116.36        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  19  norm          6.5687        6.4729        .39122E-03   -1.5657    
  20  norm          4.7551        5.3223        .46131E-03   -1.5664    
  21  Prefactor      .0000        1.0669        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  22  Prefactor      .0000        2.4957        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  23  Normalizat    1.4734        .12979        .66859E-01   -.78530    
  24  Prefactor     .90862        .74815E-01    .45114E-01   -.95841    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 7.21851e-08
Minuit parameter uncertainties:
  1  1.79019e-06
  2  11.632
  3  4.73292
  4  14.8953
  5  1.16079
  6  1.5469
  7  1.45918
  8  6.69749
  9  8.45487e-06
  10  4.68584
  11  2.26457e-06
  12  8.13481e-06
  13  9.74532
  14  43.3282
  15  0.0962281
  16  0.632092
  17  3.39141
  18  0.000425066
  19  6.47287
  20  5.32227
  21  3.7908e-06
  22  4.27841e-06
  23  0.129817
  24  0.0748234
 GAL_V02
Working on...
/lscratch/kocevski/36631772/ft1_filtered_4FGL_J1238.5-1201_weekly_bin943.fits.....................!
real 61.68
user 59.62
sys 1.18

Creating the likelihood object...
obs = UnbinnedObs('/lscratch/kocevski/36631772/ft1_filtered_4FGL_J1238.5-1201_weekly_bin943.fits', '/lscratch/kocevski/36631772/ft2_4FGL_J1238.5-1201_weekly_bin943.fits', expMap='/lscratch/kocevski/36631772/expmap_809308801_809913601_4FGL_J1238.5-1201_weekly_bin943.fits', expCube='/lscratch/kocevski/36631772/ltcube_809308801_809913601_4FGL_J1238.5-1201_weekly_bin943.fits', irfs='P8R3_SOURCE_V2')
like = UnbinnedAnalysis(obs, '/lscratch/kocevski/36631772/Model_4FGL_J1238.5-1201_weekly_bin943.xml', optimizer='MINUIT')

Using source of interest name: '4FGL J1238.5-1201'

4FGL J1238.5-1201
   Spectrum: PowerLaw
326    Prefactor:  4.386e+00  0.000e+00  0.000e+00  1.000e+06 ( 1.000e-12)
327        Index:  2.660e+00  0.000e+00  0.000e+00  1.000e+01 (-1.000e+00) fixed
328        Scale:  5.228e+02  0.000e+00  3.000e+01  5.000e+05 ( 1.000e+00) fixed


Likelihood Fit Parameters:
Event file(s): /lscratch/kocevski/36631772/ft1_filtered_4FGL_J1238.5-1201_weekly_bin943.fits
Spacecraft file(s): /lscratch/kocevski/36631772/ft2_4FGL_J1238.5-1201_weekly_bin943.fits
Exposure map: /lscratch/kocevski/36631772/expmap_809308801_809913601_4FGL_J1238.5-1201_weekly_bin943.fits
Exposure cube: /lscratch/kocevski/36631772/ltcube_809308801_809913601_4FGL_J1238.5-1201_weekly_bin943.fits
IRFs: P8R3_SOURCE_V2
Source model file: /lscratch/kocevski/36631772/Model_4FGL_J1238.5-1201_weekly_bin943.xml
Optimizer: MINUIT
Statistic: UNBINNED

Performing an iterative likelihood fit...

Fit tolerance = 1

Performing likelihood fit...
Done.

MINUIT Return Code (Fixed Index): 0
logL (Fixed Index) = 21281.2012526

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

MINUIT Return Code (Fixed Index): 0
logL (Fixed Index) = 21281.1864399

Fit tolerance = 1e-08

Performing likelihood fit...
 **********
 **   14 **SET NOWARN 
 **********

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'Prefactor '    .13600E-07   1.0000          .0000       .10000E+07
     2 'Prefactor '    46.505       1.0000          .0000       .10000E+07
     3 'Prefactor '    3.4588       1.0000          .0000       .10000E+07
     4 'Prefactor '    .76904       1.0000          .0000       .10000E+07
     5 'norm      '    1.6542       1.0000          .0000       .10000E+07
     6 'Prefactor '    .39905       1.0000          .0000       .10000E+07
     7 'Prefactor '    6.7503       1.0000         .10000E-03   10000.    
     8 'Prefactor '    8.8813       1.0000          .0000       .10000E+07
     9 'Prefactor '    .19836E-04   1.0000          .0000       .10000E+07
    10 'Prefactor '    7.2723       1.0000          .0000       .10000E+07
    11 'Prefactor '    .99929E-03   1.0000          .0000       .10000E+07
    12 'Prefactor '    .19441       1.0000          .0000       .10000E+07
    13 'norm      '    8.2882       1.0000          .0000       .10000E+07
    14 'Prefactor '    46.545       1.0000          .0000       .10000E+07
    15 'norm      '    .15004       1.0000          .0000       .10000E+07
    16 'norm      '    .10116       1.0000          .0000       .10000E+07
    17 'norm      '    1.3112       1.0000          .0000       .10000E+07
    18 'Prefactor '    .13509E-01   1.0000          .0000       .10000E+07
    19 'norm      '    6.5720       1.0000          .0000       .10000E+07
    20 'norm      '    4.7523       1.0000          .0000       .10000E+07
    21 'Prefactor '    .17486E-07   1.0000          .0000       .10000E+07
    22 'Prefactor '    .34167E-06   1.0000          .0000       .10000E+07
    23 'Normalizat'    1.4730       1.0000         .10000E-01   10.000    
    24 'Prefactor '    .90859       1.0000          .0000       10.000    
 **********
 **   15 **SET ERR    .5000    
 **********
 **********
 **   16 **SET GRAD    1.000    
 **********
 **********
 **   17 **MINIMIZE    .6130E+05   .2000E-04
 **********

 MIGRAD MINIMIZATION HAS CONVERGED.

 FCN=   21281.19     FROM MIGRAD    STATUS=CONVERGED    185 CALLS     2056 TOTAL
                     EDM=   .45E-10  STRATEGY=1  ERROR MATRIX UNCERTAINTY=  3.1%

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor      .0000        .68202       -.48158E-07** at limit **
   2  Prefactor     46.504        11.639        .22711E-08   -.27642E-03
   3  Prefactor     3.4655        4.7143       -.31433E-07    .68265E-04
   4  Prefactor     .40422        142.48       -.38822E-05   -.24565E-03
   5  norm          1.6545        1.1626       -.13609E-08   -.80026E-04
   6  Prefactor     .40698        5.0335        .21039E-06   -.11813E-03
   7  Prefactor     6.7486        1.4421       -.12657E-06   -.22713E-04
   8  Prefactor     8.8175        6.6956       -.15743E-07   -.35178E-03
   9  Prefactor      .0000        11.373       -.52998E-07** at limit **
  10  Prefactor     7.2644        4.6772       -.25959E-07    .91606E-04
  11  Prefactor      .0000        8.9222        .13644E-08** at limit **
  12  Prefactor      .0000        509.44       -.15016E-05** at limit **
  13  norm          8.3274        9.7228       -.92048E-07    .56517E-03
  14  Prefactor     46.552        1.7559        .32832E-07   -.84903E-02
  15  norm          .15028        .88534E-01    .21618E-09** at limit **
  16  norm          .99677E-01    9.2533        .50257E-06** at limit **
  17  norm          1.3080        2.7895        .20552E-07   -.12990E-03
  18  Prefactor     .38858E-09    116.54        .48808E-06** at limit **
  19  norm          6.5687        6.4548       -.22227E-07    .31242E-03
  20  norm          4.7551        5.3132        .52429E-07    .12580E-03
  21  Prefactor      .0000        1.0550        .62289E-07** at limit **
  22  Prefactor      .0000        2.4926       -.71473E-07** at limit **
  23  Normalizat    1.4734        .15233        .33757E-06   -.81079E-05
  24  Prefactor     .90862        .88419E-01   -.69490E-07    .92286E-05
                               ERR DEF=  .500    
Final values: 
  Prefactor  = 0
  Prefactor  = 46.5042
  Prefactor  = 3.46546
  Prefactor  = 0.404216
  norm       = 1.6545
  Prefactor  = 0.406975
  Prefactor  = 6.74863
  Prefactor  = 8.8175
  Prefactor  = 0
  Prefactor  = 7.26437
  Prefactor  = 0
  Prefactor  = 0
  norm       = 8.32745
  Prefactor  = 46.5524
  norm       = 0.150284
  norm       = 0.0996769
  norm       = 1.30798
  Prefactor  = 3.88578e-10
  norm       = 6.56868
  norm       = 4.75511
  Prefactor  = 0
  Prefactor  = 0
  Normalizat = 1.47337
  Prefactor  = 0.908618
 **********
 **   18 **HESSE 
 **********

 FCN=   21281.19     FROM HESSE     STATUS=OK           481 CALLS     2537 TOTAL
                     EDM=   .72E-07    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  Prefactor      .0000        .68485        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   2  Prefactor     46.504        11.632        .14665E-03   -1.5572    
   3  Prefactor     3.4655        4.7329        .54354E-03   -1.5671    
   4  Prefactor     .40422        137.22        .55272E-03   -1.5695    
   5  norm          1.6545        1.1608        .82034E-03   -1.5682    
   6  Prefactor     .40698        1.5469        .56714E-02   -1.5695    
   7  Prefactor     6.7486        1.4592        .38609E-02   -1.5188    
   8  Prefactor     8.8175        6.6975        .33609E-03   -1.5649    
   9  Prefactor      .0000        1.5629        .69405E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  10  Prefactor     7.2644        4.6858        .37171E-03   -1.5654    
  11  Prefactor      .0000        8.6553        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  12  Prefactor      .0000        8.2969        .15616E-01   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  13  norm          8.3274        9.7453        .34799E-03   -1.5650    
  14  Prefactor     46.552        43.328        .14659E-03   -1.5572    
  15  norm          .15028        .96228E-01    .72893E-03   -1.5700    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  16  norm          .99677E-01    1.0021        .75013E-02   -1.5702    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  17  norm          1.3080        3.3914        .96240E-03   -1.5685    
  18  Prefactor     .38858E-09    116.36        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  19  norm          6.5687        6.4729        .39122E-03   -1.5657    
  20  norm          4.7551        5.3223        .46131E-03   -1.5664    
  21  Prefactor      .0000        1.0669        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  22  Prefactor      .0000        2.4957        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  23  Normalizat    1.4734        .12979        .66859E-01   -.78530    
  24  Prefactor     .90862        .74815E-01    .45114E-01   -.95841    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 7.21851e-08
Minuit parameter uncertainties:
  1  1.79019e-06
  2  11.632
  3  4.73292
  4  14.8953
  5  1.16079
  6  1.5469
  7  1.45918
  8  6.69749
  9  8.45487e-06
  10  4.68584
  11  2.26457e-06
  12  8.13481e-06
  13  9.74532
  14  43.3282
  15  0.0962281
  16  0.632092
  17  3.39141
  18  0.000425066
  19  6.47287
  20  5.32227
  21  3.7908e-06
  22  4.27841e-06
  23  0.129817
  24  0.0748234
Done.

MINUIT Return Code (Fixed Index): 0
logL (Fixed Index) = 21281.1856997

Extracting fit parameters...

4FGL J1238.5-1201
   Spectrum: PowerLaw
326    Prefactor:  7.264e+00  4.686e+00  0.000e+00  1.000e+06 ( 1.000e-12)
327        Index:  2.660e+00  0.000e+00  0.000e+00  1.000e+01 (-1.000e+00) fixed
328        Scale:  5.228e+02  0.000e+00  3.000e+01  5.000e+05 ( 1.000e+00) fixed

GAL_V02
   Spectrum: PowerLaw
610    Prefactor:  9.086e-01  7.482e-02  0.000e+00  1.000e+01 ( 1.000e+00)
611        Index:  0.000e+00  0.000e+00 -1.000e+00  1.000e+00 ( 1.000e+00) fixed
612        Scale:  1.000e+02  0.000e+00  5.000e+01  2.000e+02 ( 1.000e+00) fixed

EG_v02
   Spectrum: FileFunction
609   Normalization:  1.473e+00  1.298e-01  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Fixed Index): 6.26
Ra Dec: 189.625 -12.028
Photon Index (Fixed Index): 2.66 +/- 0.00
Photon Flux (Fixed Index): 3.57e-08 +/- 2.30e-08
Energy Flux (Fixed Index): 8.87e-06 +/- 5.72e-06

Performing a free index iterative likelihood fit...

Freezing all point sources, except source of interest...

Done.

Freeing candidate source...
Done.

Fit tolerance = 1

Performing likelihood fit...
Done.

MINUIT Return Code (Free Index): 0
logL (Free Index) = 21279.9562846
delta logL = 1.22941508733

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

MINUIT Return Code (Free Index): 0
logL (Free Index) = 21279.8827599
delta logL = 1.30293982926

Fit tolerance = 1e-08

Performing likelihood fit...
 **********
 **   14 **SET NOWARN 
 **********

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'Prefactor '    5.2698       1.0000          .0000       .10000E+07
     2 'Index     '    1.7355       1.0000          .0000       10.000    
     3 'Normalizat'    1.5027       1.0000         .10000E-01   10.000    
     4 'Prefactor '    .89911       1.0000          .0000       10.000    
 **********
 **   15 **SET ERR    .5000    
 **********
 **********
 **   16 **SET GRAD    1.000    
 **********
 **********
 **   17 **MINIMIZE    .6130E+05   .2000E-04
 **********

 MIGRAD MINIMIZATION HAS CONVERGED.

 MIGRAD WILL VERIFY CONVERGENCE AND ERROR MATRIX.

 FCN=   21279.88     FROM MIGRAD    STATUS=CONVERGED     56 CALLS      214 TOTAL
                     EDM=   .20E-09    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor     5.2564        3.6963        .43761E-03   -.17339E-02
   2  Index         1.7339        .27580        .27575       -.18505E-03
   3  Normalizat    1.5027        .12517        .66309E-01    .18573E-04
   4  Prefactor     .89917        .73770E-01    .44994E-01    .30763E-04
                               ERR DEF=  .500    
Final values: 
  Prefactor  = 5.25636
  Index      = 1.7339
  Normalizat = 1.5027
  Prefactor  = 0.899171
 **********
 **   18 **HESSE 
 **********

 FCN=   21279.88     FROM HESSE     STATUS=OK            33 CALLS      247 TOTAL
                     EDM=   .15E-10    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  Prefactor     5.2564        4.7843        .17504E-04   -1.5662    
   2  Index         1.7339        .48444        .10352E-01   -.71183    
   3  Normalizat    1.5027        .14781        .29332E-03   -.77702    
   4  Prefactor     .89917        .87088E-01    .21535E-03   -.96170    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 1.48127e-11
Minuit parameter uncertainties:
  1  4.78429
  2  0.485775
  3  0.147852
  4  0.0871014
shell-init: error retrieving current directory: getcwd: cannot access parent directories: No such file or directory
Done.

MINUIT Return Code (Free Index): 0
logL (Free Index) = 21279.8827537
delta logL = 1.30294599407

Extracting fit parameters...

4FGL J1238.5-1201
   Spectrum: PowerLaw
326    Prefactor:  5.256e+00  4.784e+00  0.000e+00  1.000e+06 ( 1.000e-12)
327        Index:  1.734e+00  4.858e-01  0.000e+00  1.000e+01 (-1.000e+00)
328        Scale:  5.228e+02  0.000e+00  3.000e+01  5.000e+05 ( 1.000e+00) fixed

GAL_V02
   Spectrum: PowerLaw
610    Prefactor:  8.992e-01  8.710e-02  0.000e+00  1.000e+01 ( 1.000e+00)
611        Index:  0.000e+00  0.000e+00 -1.000e+00  1.000e+00 ( 1.000e+00) fixed
612        Scale:  1.000e+02  0.000e+00  5.000e+01  2.000e+02 ( 1.000e+00) fixed

EG_v02
   Spectrum: FileFunction
609   Normalization:  1.503e+00  1.479e-01  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Free Index): 8.86
Ra Dec: 189.625 -12.028
Photon Index (Free Index): 1.73 +/- 0.49
Photon Flux (Free Index): 1.25e-08 +/- 1.28e-08
Energy Flux (Free Index): 1.84e-05 +/- 1.93e-05

Creating a high resolution counts map...
INFO: Auto-setting vmin to -1.000e-01 [aplpy.core]
INFO: Auto-setting vmax to  1.110e+00 [aplpy.core]
Saving /lscratch/kocevski/36631695/cmap_HighResolution_809308801_809913601_4FGL_J1238.5-1201_weekly_bin943.png

Cleaning up...

** Nuclear option initiated! **

Updating database...

UPDATE lightcurve_data_v2 SET comment='SUCCESS', photon_flux='3.57e-08', energy_flux2='1.84e-05', photon_flux_error='2.30e-08', dlogl='1.30e+00', energy_flux='8.87e-06', photon_flux2='1.25e-08', job_status='DONE', time_completed='2026-09-01 10:11:06.903297', photon_index_error2='0.49', photon_index2='1.73', ts='6.26', fit_tolerance='1e-08', GAL='0.91', photon_index_error='0.00', energy_flux_error2='1.93e-05', EG='1.47', time_epoch_completed='1788282666.9', return_code='0', job_id='36631695', GAL2='0.90', EG2='1.50', return_code2='0', energy_flux_error='5.72e-06', photon_flux_error2='1.28e-08', ts2='8.86', photon_index='2.66' WHERE bin_id='943' AND source_name='4FGL J1238.5-1201' AND cadence='weekly';

Database successfully updated.


Analysis Complete.


Tue Sep  1 10:11:07 PDT 2026

Done.

MINUIT Return Code (Fixed Index): 0
logL (Fixed Index) = 21281.1856997

Extracting fit parameters...

4FGL J1238.5-1201
   Spectrum: PowerLaw
326    Prefactor:  7.264e+00  4.686e+00  0.000e+00  1.000e+06 ( 1.000e-12)
327        Index:  2.660e+00  0.000e+00  0.000e+00  1.000e+01 (-1.000e+00) fixed
328        Scale:  5.228e+02  0.000e+00  3.000e+01  5.000e+05 ( 1.000e+00) fixed

GAL_V02
   Spectrum: PowerLaw
610    Prefactor:  9.086e-01  7.482e-02  0.000e+00  1.000e+01 ( 1.000e+00)
611        Index:  0.000e+00  0.000e+00 -1.000e+00  1.000e+00 ( 1.000e+00) fixed
612        Scale:  1.000e+02  0.000e+00  5.000e+01  2.000e+02 ( 1.000e+00) fixed

EG_v02
   Spectrum: FileFunction
609   Normalization:  1.473e+00  1.298e-01  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Fixed Index): 6.26
Ra Dec: 189.625 -12.028
Photon Index (Fixed Index): 2.66 +/- 0.00
Photon Flux (Fixed Index): 3.57e-08 +/- 2.30e-08
Energy Flux (Fixed Index): 8.87e-06 +/- 5.72e-06

Performing a free index iterative likelihood fit...

Freezing all point sources, except source of interest...

Done.

Freeing candidate source...
Done.

Fit tolerance = 1

Performing likelihood fit...
Done.

MINUIT Return Code (Free Index): 0
logL (Free Index) = 21279.9562846
delta logL = 1.22941508733

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

MINUIT Return Code (Free Index): 0
logL (Free Index) = 21279.8827599
delta logL = 1.30293982926

Fit tolerance = 1e-08

Performing likelihood fit...
 **********
 **   14 **SET NOWARN 
 **********

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'Prefactor '    5.2698       1.0000          .0000       .10000E+07
     2 'Index     '    1.7355       1.0000          .0000       10.000    
     3 'Normalizat'    1.5027       1.0000         .10000E-01   10.000    
     4 'Prefactor '    .89911       1.0000          .0000       10.000    
 **********
 **   15 **SET ERR    .5000    
 **********
 **********
 **   16 **SET GRAD    1.000    
 **********
 **********
 **   17 **MINIMIZE    .6130E+05   .2000E-04
 **********

 MIGRAD MINIMIZATION HAS CONVERGED.

 MIGRAD WILL VERIFY CONVERGENCE AND ERROR MATRIX.

 FCN=   21279.88     FROM MIGRAD    STATUS=CONVERGED     56 CALLS      214 TOTAL
                     EDM=   .20E-09    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor     5.2564        3.6963        .43761E-03   -.17339E-02
   2  Index         1.7339        .27580        .27575       -.18505E-03
   3  Normalizat    1.5027        .12517        .66309E-01    .18573E-04
   4  Prefactor     .89917        .73770E-01    .44994E-01    .30763E-04
                               ERR DEF=  .500    
Final values: 
  Prefactor  = 5.25636
  Index      = 1.7339
  Normalizat = 1.5027
  Prefactor  = 0.899171
 **********
 **   18 **HESSE 
 **********

 FCN=   21279.88     FROM HESSE     STATUS=OK            33 CALLS      247 TOTAL
                     EDM=   .15E-10    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  Prefactor     5.2564        4.7843        .17504E-04   -1.5662    
   2  Index         1.7339        .48444        .10352E-01   -.71183    
   3  Normalizat    1.5027        .14781        .29332E-03   -.77702    
   4  Prefactor     .89917        .87088E-01    .21535E-03   -.96170    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 1.48127e-11
Minuit parameter uncertainties:
  1  4.78429
  2  0.485775
  3  0.147852
  4  0.0871014
shell-init: error retrieving current directory: getcwd: cannot access parent directories: No such file or directory
Done.

MINUIT Return Code (Free Index): 0
logL (Free Index) = 21279.8827537
delta logL = 1.30294599407

Extracting fit parameters...

4FGL J1238.5-1201
   Spectrum: PowerLaw
326    Prefactor:  5.256e+00  4.784e+00  0.000e+00  1.000e+06 ( 1.000e-12)
327        Index:  1.734e+00  4.858e-01  0.000e+00  1.000e+01 (-1.000e+00)
328        Scale:  5.228e+02  0.000e+00  3.000e+01  5.000e+05 ( 1.000e+00) fixed

GAL_V02
   Spectrum: PowerLaw
610    Prefactor:  8.992e-01  8.710e-02  0.000e+00  1.000e+01 ( 1.000e+00)
611        Index:  0.000e+00  0.000e+00 -1.000e+00  1.000e+00 ( 1.000e+00) fixed
612        Scale:  1.000e+02  0.000e+00  5.000e+01  2.000e+02 ( 1.000e+00) fixed

EG_v02
   Spectrum: FileFunction
609   Normalization:  1.503e+00  1.479e-01  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Free Index): 8.86
Ra Dec: 189.625 -12.028
Photon Index (Free Index): 1.73 +/- 0.49
Photon Flux (Free Index): 1.25e-08 +/- 1.28e-08
Energy Flux (Free Index): 1.84e-05 +/- 1.93e-05

Creating a high resolution counts map...
INFO: Auto-setting vmin to -1.000e-01 [aplpy.core]
INFO: Auto-setting vmax to  1.110e+00 [aplpy.core]
Saving /lscratch/kocevski/36631749/cmap_HighResolution_809308801_809913601_4FGL_J1238.5-1201_weekly_bin943.png

Cleaning up...

** Nuclear option initiated! **

Updating database...

UPDATE lightcurve_data_v2 SET comment='SUCCESS', photon_flux='3.57e-08', energy_flux2='1.84e-05', photon_flux_error='2.30e-08', dlogl='1.30e+00', energy_flux='8.87e-06', photon_flux2='1.25e-08', job_status='DONE', time_completed='2026-09-01 10:11:27.144548', photon_index_error2='0.49', photon_index2='1.73', ts='6.26', fit_tolerance='1e-08', GAL='0.91', photon_index_error='0.00', energy_flux_error2='1.93e-05', EG='1.47', time_epoch_completed='1788282687.14', return_code='0', job_id='36631749', GAL2='0.90', EG2='1.50', return_code2='0', energy_flux_error='5.72e-06', photon_flux_error2='1.28e-08', ts2='8.86', photon_index='2.66' WHERE bin_id='943' AND source_name='4FGL J1238.5-1201' AND cadence='weekly';

Database successfully updated.


Analysis Complete.


Tue Sep  1 10:11:27 PDT 2026

 **********
 **   18 **HESSE 
 **********

 FCN=   21281.19     FROM HESSE     STATUS=OK           481 CALLS     2537 TOTAL
                     EDM=   .72E-07    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  Prefactor      .0000        .68485        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   2  Prefactor     46.504        11.632        .14665E-03   -1.5572    
   3  Prefactor     3.4655        4.7329        .54354E-03   -1.5671    
   4  Prefactor     .40422        137.22        .55272E-03   -1.5695    
   5  norm          1.6545        1.1608        .82034E-03   -1.5682    
   6  Prefactor     .40698        1.5469        .56714E-02   -1.5695    
   7  Prefactor     6.7486        1.4592        .38609E-02   -1.5188    
   8  Prefactor     8.8175        6.6975        .33609E-03   -1.5649    
   9  Prefactor      .0000        1.5629        .69405E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  10  Prefactor     7.2644        4.6858        .37171E-03   -1.5654    
  11  Prefactor      .0000        8.6553        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  12  Prefactor      .0000        8.2969        .15616E-01   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  13  norm          8.3274        9.7453        .34799E-03   -1.5650    
  14  Prefactor     46.552        43.328        .14659E-03   -1.5572    
  15  norm          .15028        .96228E-01    .72893E-03   -1.5700    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  16  norm          .99677E-01    1.0021        .75013E-02   -1.5702    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  17  norm          1.3080        3.3914        .96240E-03   -1.5685    
  18  Prefactor     .38858E-09    116.36        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  19  norm          6.5687        6.4729        .39122E-03   -1.5657    
  20  norm          4.7551        5.3223        .46131E-03   -1.5664    
  21  Prefactor      .0000        1.0669        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  22  Prefactor      .0000        2.4957        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  23  Normalizat    1.4734        .12979        .66859E-01   -.78530    
  24  Prefactor     .90862        .74815E-01    .45114E-01   -.95841    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 7.21851e-08
Minuit parameter uncertainties:
  1  1.79019e-06
  2  11.632
  3  4.73292
  4  14.8953
  5  1.16079
  6  1.5469
  7  1.45918
  8  6.69749
  9  8.45487e-06
  10  4.68584
  11  2.26457e-06
  12  8.13481e-06
  13  9.74532
  14  43.3282
  15  0.0962281
  16  0.632092
  17  3.39141
  18  0.000425066
  19  6.47287
  20  5.32227
  21  3.7908e-06
  22  4.27841e-06
  23  0.129817
  24  0.0748234
Done.

MINUIT Return Code (Fixed Index): 0
logL (Fixed Index) = 21281.1856997

Extracting fit parameters...

4FGL J1238.5-1201
   Spectrum: PowerLaw
326    Prefactor:  7.264e+00  4.686e+00  0.000e+00  1.000e+06 ( 1.000e-12)
327        Index:  2.660e+00  0.000e+00  0.000e+00  1.000e+01 (-1.000e+00) fixed
328        Scale:  5.228e+02  0.000e+00  3.000e+01  5.000e+05 ( 1.000e+00) fixed

GAL_V02
   Spectrum: PowerLaw
610    Prefactor:  9.086e-01  7.482e-02  0.000e+00  1.000e+01 ( 1.000e+00)
611        Index:  0.000e+00  0.000e+00 -1.000e+00  1.000e+00 ( 1.000e+00) fixed
612        Scale:  1.000e+02  0.000e+00  5.000e+01  2.000e+02 ( 1.000e+00) fixed

EG_v02
   Spectrum: FileFunction
609   Normalization:  1.473e+00  1.298e-01  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Fixed Index): 6.26
Ra Dec: 189.625 -12.028
Photon Index (Fixed Index): 2.66 +/- 0.00
Photon Flux (Fixed Index): 3.57e-08 +/- 2.30e-08
Energy Flux (Fixed Index): 8.87e-06 +/- 5.72e-06

Performing a free index iterative likelihood fit...

Freezing all point sources, except source of interest...

Done.

Freeing candidate source...
Done.

Fit tolerance = 1

Performing likelihood fit...
Done.

MINUIT Return Code (Free Index): 0
logL (Free Index) = 21279.9562846
delta logL = 1.22941508733

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

MINUIT Return Code (Free Index): 0
logL (Free Index) = 21279.8827599
delta logL = 1.30293982926

Fit tolerance = 1e-08

Performing likelihood fit...
 **********
 **   14 **SET NOWARN 
 **********

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'Prefactor '    5.2698       1.0000          .0000       .10000E+07
     2 'Index     '    1.7355       1.0000          .0000       10.000    
     3 'Normalizat'    1.5027       1.0000         .10000E-01   10.000    
     4 'Prefactor '    .89911       1.0000          .0000       10.000    
 **********
 **   15 **SET ERR    .5000    
 **********
 **********
 **   16 **SET GRAD    1.000    
 **********
 **********
 **   17 **MINIMIZE    .6130E+05   .2000E-04
 **********

 MIGRAD MINIMIZATION HAS CONVERGED.

 MIGRAD WILL VERIFY CONVERGENCE AND ERROR MATRIX.

 FCN=   21279.88     FROM MIGRAD    STATUS=CONVERGED     56 CALLS      214 TOTAL
                     EDM=   .20E-09    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor     5.2564        3.6963        .43761E-03   -.17339E-02
   2  Index         1.7339        .27580        .27575       -.18505E-03
   3  Normalizat    1.5027        .12517        .66309E-01    .18573E-04
   4  Prefactor     .89917        .73770E-01    .44994E-01    .30763E-04
                               ERR DEF=  .500    
Final values: 
  Prefactor  = 5.25636
  Index      = 1.7339
  Normalizat = 1.5027
  Prefactor  = 0.899171
 **********
 **   18 **HESSE 
 **********

 FCN=   21279.88     FROM HESSE     STATUS=OK            33 CALLS      247 TOTAL
                     EDM=   .15E-10    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  Prefactor     5.2564        4.7843        .17504E-04   -1.5662    
   2  Index         1.7339        .48444        .10352E-01   -.71183    
   3  Normalizat    1.5027        .14781        .29332E-03   -.77702    
   4  Prefactor     .89917        .87088E-01    .21535E-03   -.96170    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 1.48127e-11
Minuit parameter uncertainties:
  1  4.78429
  2  0.485775
  3  0.147852
  4  0.0871014
shell-init: error retrieving current directory: getcwd: cannot access parent directories: No such file or directory
Done.

MINUIT Return Code (Free Index): 0
logL (Free Index) = 21279.8827537
delta logL = 1.30294599407

Extracting fit parameters...

4FGL J1238.5-1201
   Spectrum: PowerLaw
326    Prefactor:  5.256e+00  4.784e+00  0.000e+00  1.000e+06 ( 1.000e-12)
327        Index:  1.734e+00  4.858e-01  0.000e+00  1.000e+01 (-1.000e+00)
328        Scale:  5.228e+02  0.000e+00  3.000e+01  5.000e+05 ( 1.000e+00) fixed

GAL_V02
   Spectrum: PowerLaw
610    Prefactor:  8.992e-01  8.710e-02  0.000e+00  1.000e+01 ( 1.000e+00)
611        Index:  0.000e+00  0.000e+00 -1.000e+00  1.000e+00 ( 1.000e+00) fixed
612        Scale:  1.000e+02  0.000e+00  5.000e+01  2.000e+02 ( 1.000e+00) fixed

EG_v02
   Spectrum: FileFunction
609   Normalization:  1.503e+00  1.479e-01  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Free Index): 8.86
Ra Dec: 189.625 -12.028
Photon Index (Free Index): 1.73 +/- 0.49
Photon Flux (Free Index): 1.25e-08 +/- 1.28e-08
Energy Flux (Free Index): 1.84e-05 +/- 1.93e-05

Creating a high resolution counts map...
INFO: Auto-setting vmin to -1.000e-01 [aplpy.core]
INFO: Auto-setting vmax to  1.110e+00 [aplpy.core]
Saving /lscratch/kocevski/36631772/cmap_HighResolution_809308801_809913601_4FGL_J1238.5-1201_weekly_bin943.png

Cleaning up...

** Nuclear option initiated! **

Updating database...

UPDATE lightcurve_data_v2 SET comment='SUCCESS', photon_flux='3.57e-08', energy_flux2='1.84e-05', photon_flux_error='2.30e-08', dlogl='1.30e+00', energy_flux='8.87e-06', photon_flux2='1.25e-08', job_status='DONE', time_completed='2026-09-01 10:12:19.278339', photon_index_error2='0.49', photon_index2='1.73', ts='6.26', fit_tolerance='1e-08', GAL='0.91', photon_index_error='0.00', energy_flux_error2='1.93e-05', EG='1.47', time_epoch_completed='1788282739.28', return_code='0', job_id='36631772', GAL2='0.90', EG2='1.50', return_code2='0', energy_flux_error='5.72e-06', photon_flux_error2='1.28e-08', ts2='8.86', photon_index='2.66' WHERE bin_id='943' AND source_name='4FGL J1238.5-1201' AND cadence='weekly';

Database successfully updated.


Analysis Complete.


Tue Sep  1 10:12:19 PDT 2026

