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


Performing analysis on: 4FGL_J1254.9+1138_weekly_bin947
RA = 193.733, Dec = 11.6495
tmin = 811728001, tmax = 812332801
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='39466913', job_status='RUN', time_executed='2026-09-29 14:40:54.445320', time_epoch_executed='1790718054.45' WHERE source_name='4FGL J1254.9+1138' and cadence='weekly' and bin_id='947'

Database successfully updated.
Done.

Creating custom output directory:
/lscratch/kocevski/39466913

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

Retrieving the FT1 file...

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

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

Retrieving 109 files...
Done.


Merging files...

Checksum keywords updated successfully.

Merged file saved to:
/lscratch/kocevski/39466913/ft1_4FGL_J1254.9+1138_weekly_bin947.fits


Retrieving the FT1 file...

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

Retrieving 109 files...
Done.


Merging files...

Merged file saved to:
/lscratch/kocevski/39466913/ft2_4FGL_J1254.9+1138_weekly_bin947.fits


Selecting the photons:
time -p gtselect infile=/lscratch/kocevski/39466913/ft1_4FGL_J1254.9+1138_weekly_bin947.fits outfile=/lscratch/kocevski/39466913/ft1_filteredMKT_4FGL_J1254.9+1138_weekly_bin947.fits ra=193.733 dec=11.6495 rad=12.0 tmin=811728001.0 tmax=812332801.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.74
user 5.96
sys 0.24

Adding sun position to ft2 file:
/sdf/group/fermi/g/LCRepository/Repository/bin/sunpos /lscratch/kocevski/39466913/ft2_4FGL_J1254.9+1138_weekly_bin947.fits

Selecting the good time intervals:
time -p gtmktime scfile=/lscratch/kocevski/39466913/ft2_4FGL_J1254.9+1138_weekly_bin947.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/39466913/ft1_filteredMKT_4FGL_J1254.9+1138_weekly_bin947.fits evtable="EVENTS" outfile="/lscratch/kocevski/39466913/ft1_filtered_4FGL_J1254.9+1138_weekly_bin947.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.83
user 0.22
sys 0.14

Number of photons that the gtmktime cut: 1274

Generating the livetime cube:
time -p gtltcube evfile="/lscratch/kocevski/39466913/ft1_filtered_4FGL_J1254.9+1138_weekly_bin947.fits" evtable="EVENTS" scfile=/lscratch/kocevski/39466913/ft2_4FGL_J1254.9+1138_weekly_bin947.fits sctable="SC_DATA"/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

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 = 17526
number of fields = 31
RA_SUN column already exists. File will not be modified.
Done.


Performing analysis on: 4FGL_J1254.9+1138_weekly_bin947
RA = 193.733, Dec = 11.6495
tmin = 811728001, tmax = 812332801
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='39466920', job_status='RUN', time_executed='2026-09-29 14:41:15.561488', time_epoch_executed='1790718075.56' WHERE source_name='4FGL J1254.9+1138' and cadence='weekly' and bin_id='947'

Database successfully updated.
Done.

Creating custom output directory:
/lscratch/kocevski/39466920

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

Retrieving the FT1 file...

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

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

Retrieving 109 files...
Done.


Merging files...

Checksum keywords updated successfully.

Merged file saved to:
/lscratch/kocevski/39466920/ft1_4FGL_J1254.9+1138_weekly_bin947.fits


Retrieving the FT1 file...

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

Retrieving 109 files...
Done.


Merging files...

Merged file saved to:
/lscratch/kocevski/39466920/ft2_4FGL_J1254.9+1138_weekly_bin947.fits


Selecting the photons:
time -p gtselect infile=/lscratch/kocevski/39466920/ft1_4FGL_J1254.9+1138_weekly_bin947.fits outfile=/lscratch/kocevski/39466920/ft1_filteredMKT_4FGL_J1254.9+1138_weekly_bin947.fits ra=193.733 dec=11.6495 rad=12.0 tmin=811728001.0 tmax=812332801.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.07
user 6.26
sys 0.25

Adding sun position to ft2 file:
/sdf/group/fermi/g/LCRepository/Repository/bin/sunpos /lscratch/kocevski/39466920/ft2_4FGL_J1254.9+1138_weekly_bin947.fits

Selecting the good time intervals:
time -p gtmktime scfile=/lscratch/kocevski/39466920/ft2_4FGL_J1254.9+1138_weekly_bin947.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/39466920/ft1_filteredMKT_4FGL_J1254.9+1138_weekly_bin947.fits evtable="EVENTS" outfile="/lscratch/kocevski/39466920/ft1_filtered_4FGL_J1254.9+1138_weekly_bin947.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.85
user 0.24
sys 0.12

Number of photons that the gtmktime cut: 1274

Generating the livetime cube:
time -p gtltcube evfile="/lscratch/kocevski/39466920/ft1_filtered_4FGL_J1254.9+1138_weekly_bin947.fits" evtable="EVENTS" scfile=/lscratch/kocevski/39466920/ft2_4FGL_J1254.9+1138_weekly_bin947.fits sctable="SC_DATA"number of points = 17526
number of fields = 31
RA_SUN column already exists. File will not be modified.
Done.


Performing analysis on: 4FGL_J1254.9+1138_weekly_bin947
RA = 193.733, Dec = 11.6495
tmin = 811728001, tmax = 812332801
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='39466923', job_status='RUN', time_executed='2026-09-29 14:41:25.620049', time_epoch_executed='1790718085.62' WHERE source_name='4FGL J1254.9+1138' and cadence='weekly' and bin_id='947'

Database successfully updated.
Done.

Creating custom output directory:
/lscratch/kocevski/39466923

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

Retrieving the FT1 file...

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

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

Retrieving 109 files...
Done.


Merging files...

Checksum keywords updated successfully.

Merged file saved to:
/lscratch/kocevski/39466923/ft1_4FGL_J1254.9+1138_weekly_bin947.fits


Retrieving the FT1 file...

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

Retrieving 109 files...
Done.


Merging files...

Merged file saved to:
/lscratch/kocevski/39466923/ft2_4FGL_J1254.9+1138_weekly_bin947.fits


Selecting the photons:
time -p gtselect infile=/lscratch/kocevski/39466923/ft1_4FGL_J1254.9+1138_weekly_bin947.fits outfile=/lscratch/kocevski/39466923/ft1_filteredMKT_4FGL_J1254.9+1138_weekly_bin947.fits ra=193.733 dec=11.6495 rad=12.0 tmin=811728001.0 tmax=812332801.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.33
user 5.69
sys 0.24

Adding sun position to ft2 file:
/sdf/group/fermi/g/LCRepository/Repository/bin/sunpos /lscratch/kocevski/39466923/ft2_4FGL_J1254.9+1138_weekly_bin947.fits

Selecting the good time intervals:
time -p gtmktime scfile=/lscratch/kocevski/39466923/ft2_4FGL_J1254.9+1138_weekly_bin947.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/39466923/ft1_filteredMKT_4FGL_J1254.9+1138_weekly_bin947.fits evtable="EVENTS" outfile="/lscratch/kocevski/39466923/ft1_filtered_4FGL_J1254.9+1138_weekly_bin947.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.23
sys 0.12

Number of photons that the gtmktime cut: 1274

Generating the livetime cube:
time -p gtltcube evfile="/lscratch/kocevski/39466923/ft1_filtered_4FGL_J1254.9+1138_weekly_bin947.fits" evtable="EVENTS" scfile=/lscratch/kocevski/39466923/ft2_4FGL_J1254.9+1138_weekly_bin947.fits sctable="SC_DATA"number of points = 17526
number of fields = 31
RA_SUN column already exists. File will not be modified.
Done.


Performing analysis on: 4FGL_J1254.9+1138_weekly_bin947
RA = 193.733, Dec = 11.6495
tmin = 811728001, tmax = 812332801
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='39466938', job_status='RUN', time_executed='2026-09-29 14:42:09.539164', time_epoch_executed='1790718129.54' WHERE source_name='4FGL J1254.9+1138' and cadence='weekly' and bin_id='947'

Database successfully updated.
Done.

Creating custom output directory:
/lscratch/kocevski/39466938

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

Retrieving the FT1 file...

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

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

Retrieving 109 files...
Done.


Merging files...

Checksum keywords updated successfully.

Merged file saved to:
/lscratch/kocevski/39466938/ft1_4FGL_J1254.9+1138_weekly_bin947.fits


Retrieving the FT1 file...

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

Retrieving 109 files...
Done.


Merging files...

Merged file saved to:
/lscratch/kocevski/39466938/ft2_4FGL_J1254.9+1138_weekly_bin947.fits


Selecting the photons:
time -p gtselect infile=/lscratch/kocevski/39466938/ft1_4FGL_J1254.9+1138_weekly_bin947.fits outfile=/lscratch/kocevski/39466938/ft1_filteredMKT_4FGL_J1254.9+1138_weekly_bin947.fits ra=193.733 dec=11.6495 rad=12.0 tmin=811728001.0 tmax=812332801.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.40
user 5.63
sys 0.23

Adding sun position to ft2 file:
/sdf/group/fermi/g/LCRepository/Repository/bin/sunpos /lscratch/kocevski/39466938/ft2_4FGL_J1254.9+1138_weekly_bin947.fits

Selecting the good time intervals:
time -p gtmktime scfile=/lscratch/kocevski/39466938/ft2_4FGL_J1254.9+1138_weekly_bin947.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/39466938/ft1_filteredMKT_4FGL_J1254.9+1138_weekly_bin947.fits evtable="EVENTS" outfile="/lscratch/kocevski/39466938/ft1_filtered_4FGL_J1254.9+1138_weekly_bin947.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.77
user 0.23
sys 0.12

Number of photons that the gtmktime cut: 1274

Generating the livetime cube:
time -p gtltcube evfile="/lscratch/kocevski/39466938/ft1_filtered_4FGL_J1254.9+1138_weekly_bin947.fits" evtable="EVENTS" scfile=/lscratch/kocevski/39466938/ft2_4FGL_J1254.9+1138_weekly_bin947.fits sctable="SC_DATA" outfile=/lscratch/kocevski/39466817/ltcube_811728001_812332801_4FGL_J1254.9+1138_weekly_bin947.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/39466817/ft2_4FGL_J1254.9+1138_weekly_bin947.fits
.....................!
real 21.19
user 20.30
sys 0.23

Generating the exposure map:
time -p gtexpmap evfile=/lscratch/kocevski/39466817/ft1_filtered_4FGL_J1254.9+1138_weekly_bin947.fits evtable="EVENTS" scfile=/lscratch/kocevski/39466817/ft2_4FGL_J1254.9+1138_weekly_bin947.fits sctable="SC_DATA" expcube=/lscratch/kocevski/39466817/ltcube_811728001_812332801_4FGL_J1254.9+1138_weekly_bin947.fits outfile=/lscratch/kocevski/39466817/expmap_811728001_812332801_4FGL_J1254.9+1138_weekly_bin947.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/39466817/ltcube_811728001_812332801_4FGL_J1254.9+1138_weekly_bin947.fits
.....................!
real 72.93
user 67.54
sys 4.30

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 173 point sources and 0 extended sources

Setting source of interest to:
4FGL J1254.9+1138 @ 193.733 11.6495

Creating the counts map:
time -p gtbin evfile=/lscratch/kocevski/39466817/ft1_filtered_4FGL_J1254.9+1138_weekly_bin947.fits scfile=/lscratch/kocevski/39466817/ft2_4FGL_J1254.9+1138_weekly_bin947.fits outfile=/lscratch/kocevski/39466817/cmap_811728001_812332801_4FGL_J1254.9+1138_weekly_bin947.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=193.733 yref=11.6495 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.77
user 0.28
sys 0.12

Creating the high resolution counts map:
time -p gtbin evfile=/lscratch/kocevski/39466817/ft1_filtered_4FGL_J1254.9+1138_weekly_bin947.fits scfile=/lscratch/kocevski/39466817/ft2_4FGL_J1254.9+1138_weekly_bin947.fits outfile=/lscratch/kocevski/39466817/cmap_HighResolution_811728001_812332801_4FGL_J1254.9+1138_weekly_bin947.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=193.733 yref=11.6495 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.78
user 0.30
sys 0.14

Computing the diffuse response:
time -p gtdiffrsp evfile=/lscratch/kocevski/39466817/ft1_filtered_4FGL_J1254.9+1138_weekly_bin947.fits evtable="EVENTS" scfile=/lscratch/kocevski/39466817/ft2_4FGL_J1254.9+1138_weekly_bin947.fits sctable="SC_DATA" srcmdl=/lscratch/kocevski/39466817/Model_4FGL_J1254.9+1138_weekly_bin947.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 = 17526
number of fields = 31
RA_SUN column already exists. File will not be modified.
Done.


Performing analysis on: 4FGL_J1254.9+1138_weekly_bin947
RA = 193.733, Dec = 11.6495
tmin = 811728001, tmax = 812332801
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='39466945', job_status='RUN', time_executed='2026-09-29 14:42:23.403722', time_epoch_executed='1790718143.4' WHERE source_name='4FGL J1254.9+1138' and cadence='weekly' and bin_id='947'

Database successfully updated.
Done.

Creating custom output directory:
/lscratch/kocevski/39466945

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

Retrieving the FT1 file...

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

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

Retrieving 109 files...
Done.


Merging files...

Checksum keywords updated successfully.

Merged file saved to:
/lscratch/kocevski/39466945/ft1_4FGL_J1254.9+1138_weekly_bin947.fits


Retrieving the FT1 file...

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

Retrieving 109 files...
Done.


Merging files...

Merged file saved to:
/lscratch/kocevski/39466945/ft2_4FGL_J1254.9+1138_weekly_bin947.fits


Selecting the photons:
time -p gtselect infile=/lscratch/kocevski/39466945/ft1_4FGL_J1254.9+1138_weekly_bin947.fits outfile=/lscratch/kocevski/39466945/ft1_filteredMKT_4FGL_J1254.9+1138_weekly_bin947.fits ra=193.733 dec=11.6495 rad=12.0 tmin=811728001.0 tmax=812332801.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.83
user 6.08
sys 0.23

Adding sun position to ft2 file:
/sdf/group/fermi/g/LCRepository/Repository/bin/sunpos /lscratch/kocevski/39466945/ft2_4FGL_J1254.9+1138_weekly_bin947.fits

Selecting the good time intervals:
time -p gtmktime scfile=/lscratch/kocevski/39466945/ft2_4FGL_J1254.9+1138_weekly_bin947.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/39466945/ft1_filteredMKT_4FGL_J1254.9+1138_weekly_bin947.fits evtable="EVENTS" outfile="/lscratch/kocevski/39466945/ft1_filtered_4FGL_J1254.9+1138_weekly_bin947.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.87
user 0.24
sys 0.12

Number of photons that the gtmktime cut: 1274

Generating the livetime cube:
time -p gtltcube evfile="/lscratch/kocevski/39466945/ft1_filtered_4FGL_J1254.9+1138_weekly_bin947.fits" evtable="EVENTS" scfile=/lscratch/kocevski/39466945/ft2_4FGL_J1254.9+1138_weekly_bin947.fits sctable="SC_DATA" number of points = 17526
number of fields = 31
RA_SUN column already exists. File will not be modified.
Done.


Performing analysis on: 4FGL_J1254.9+1138_weekly_bin947
RA = 193.733, Dec = 11.6495
tmin = 811728001, tmax = 812332801
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='39466949', job_status='RUN', time_executed='2026-09-29 14:42:35.449098', time_epoch_executed='1790718155.45' WHERE source_name='4FGL J1254.9+1138' and cadence='weekly' and bin_id='947'

Database successfully updated.
Done.

Creating custom output directory:
/lscratch/kocevski/39466949

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

Retrieving the FT1 file...

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

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

Retrieving 109 files...
Done.


Merging files...

Checksum keywords updated successfully.

Merged file saved to:
/lscratch/kocevski/39466949/ft1_4FGL_J1254.9+1138_weekly_bin947.fits


Retrieving the FT1 file...

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

Retrieving 109 files...
Done.


Merging files...

Merged file saved to:
/lscratch/kocevski/39466949/ft2_4FGL_J1254.9+1138_weekly_bin947.fits


Selecting the photons:
time -p gtselect infile=/lscratch/kocevski/39466949/ft1_4FGL_J1254.9+1138_weekly_bin947.fits outfile=/lscratch/kocevski/39466949/ft1_filteredMKT_4FGL_J1254.9+1138_weekly_bin947.fits ra=193.733 dec=11.6495 rad=12.0 tmin=811728001.0 tmax=812332801.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.32
user 6.16
sys 0.27

Adding sun position to ft2 file:
/sdf/group/fermi/g/LCRepository/Repository/bin/sunpos /lscratch/kocevski/39466949/ft2_4FGL_J1254.9+1138_weekly_bin947.fits

Selecting the good time intervals:
time -p gtmktime scfile=/lscratch/kocevski/39466949/ft2_4FGL_J1254.9+1138_weekly_bin947.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/39466949/ft1_filteredMKT_4FGL_J1254.9+1138_weekly_bin947.fits evtable="EVENTS" outfile="/lscratch/kocevski/39466949/ft1_filtered_4FGL_J1254.9+1138_weekly_bin947.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.75
user 0.24
sys 0.11

Number of photons that the gtmktime cut: 1274

Generating the livetime cube:
time -p gtltcube evfile="/lscratch/kocevski/39466949/ft1_filtered_4FGL_J1254.9+1138_weekly_bin947.fits" evtable="EVENTS" scfile=/lscratch/kocevski/39466949/ft2_4FGL_J1254.9+1138_weekly_bin947.fits sctable="SC_DATA"number of points = 17526
number of fields = 31
RA_SUN column already exists. File will not be modified.
Done.


Performing analysis on: 4FGL_J1254.9+1138_weekly_bin947
RA = 193.733, Dec = 11.6495
tmin = 811728001, tmax = 812332801
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='39467008', job_status='RUN', time_executed='2026-09-29 14:43:32.686479', time_epoch_executed='1790718212.69' WHERE source_name='4FGL J1254.9+1138' and cadence='weekly' and bin_id='947'

Database successfully updated.
Done.

Creating custom output directory:
/lscratch/kocevski/39467008

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

Retrieving the FT1 file...

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

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

Retrieving 109 files...
Done.


Merging files...

Checksum keywords updated successfully.

Merged file saved to:
/lscratch/kocevski/39467008/ft1_4FGL_J1254.9+1138_weekly_bin947.fits


Retrieving the FT1 file...

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

Retrieving 109 files...
Done.


Merging files...

Merged file saved to:
/lscratch/kocevski/39467008/ft2_4FGL_J1254.9+1138_weekly_bin947.fits


Selecting the photons:
time -p gtselect infile=/lscratch/kocevski/39467008/ft1_4FGL_J1254.9+1138_weekly_bin947.fits outfile=/lscratch/kocevski/39467008/ft1_filteredMKT_4FGL_J1254.9+1138_weekly_bin947.fits ra=193.733 dec=11.6495 rad=12.0 tmin=811728001.0 tmax=812332801.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.44
user 5.65
sys 0.22

Adding sun position to ft2 file:
/sdf/group/fermi/g/LCRepository/Repository/bin/sunpos /lscratch/kocevski/39467008/ft2_4FGL_J1254.9+1138_weekly_bin947.fits

Selecting the good time intervals:
time -p gtmktime scfile=/lscratch/kocevski/39467008/ft2_4FGL_J1254.9+1138_weekly_bin947.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/39467008/ft1_filteredMKT_4FGL_J1254.9+1138_weekly_bin947.fits evtable="EVENTS" outfile="/lscratch/kocevski/39467008/ft1_filtered_4FGL_J1254.9+1138_weekly_bin947.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.78
user 0.23
sys 0.13

Number of photons that the gtmktime cut: 1274

Generating the livetime cube:
time -p gtltcube evfile="/lscratch/kocevski/39467008/ft1_filtered_4FGL_J1254.9+1138_weekly_bin947.fits" evtable="EVENTS" scfile=/lscratch/kocevski/39467008/ft2_4FGL_J1254.9+1138_weekly_bin947.fits sctable="SC_DATA" outfile=/lscratch/kocevski/39466913/ltcube_811728001_812332801_4FGL_J1254.9+1138_weekly_bin947.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/39466913/ft2_4FGL_J1254.9+1138_weekly_bin947.fits
.....................!
real 20.41
user 18.95
sys 0.23

Generating the exposure map:
time -p gtexpmap evfile=/lscratch/kocevski/39466913/ft1_filtered_4FGL_J1254.9+1138_weekly_bin947.fits evtable="EVENTS" scfile=/lscratch/kocevski/39466913/ft2_4FGL_J1254.9+1138_weekly_bin947.fits sctable="SC_DATA" expcube=/lscratch/kocevski/39466913/ltcube_811728001_812332801_4FGL_J1254.9+1138_weekly_bin947.fits outfile=/lscratch/kocevski/39466913/expmap_811728001_812332801_4FGL_J1254.9+1138_weekly_bin947.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/39466913/ltcube_811728001_812332801_4FGL_J1254.9+1138_weekly_bin947.fits
.....................!
real 74.87
user 69.68
sys 4.33

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 173 point sources and 0 extended sources

Setting source of interest to:
4FGL J1254.9+1138 @ 193.733 11.6495

Creating the counts map:
time -p gtbin evfile=/lscratch/kocevski/39466913/ft1_filtered_4FGL_J1254.9+1138_weekly_bin947.fits scfile=/lscratch/kocevski/39466913/ft2_4FGL_J1254.9+1138_weekly_bin947.fits outfile=/lscratch/kocevski/39466913/cmap_811728001_812332801_4FGL_J1254.9+1138_weekly_bin947.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=193.733 yref=11.6495 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.89
user 0.25
sys 0.11

Creating the high resolution counts map:
time -p gtbin evfile=/lscratch/kocevski/39466913/ft1_filtered_4FGL_J1254.9+1138_weekly_bin947.fits scfile=/lscratch/kocevski/39466913/ft2_4FGL_J1254.9+1138_weekly_bin947.fits outfile=/lscratch/kocevski/39466913/cmap_HighResolution_811728001_812332801_4FGL_J1254.9+1138_weekly_bin947.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=193.733 yref=11.6495 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.87
user 0.27
sys 0.13

Computing the diffuse response:
time -p gtdiffrsp evfile=/lscratch/kocevski/39466913/ft1_filtered_4FGL_J1254.9+1138_weekly_bin947.fits evtable="EVENTS" scfile=/lscratch/kocevski/39466913/ft2_4FGL_J1254.9+1138_weekly_bin947.fits sctable="SC_DATA" srcmdl=/lscratch/kocevski/39466913/Model_4FGL_J1254.9+1138_weekly_bin947.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 = 17526
number of fields = 31
RA_SUN column already exists. File will not be modified.
 outfile=/lscratch/kocevski/39466923/ltcube_811728001_812332801_4FGL_J1254.9+1138_weekly_bin947.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/39466923/ft2_4FGL_J1254.9+1138_weekly_bin947.fits
.....................!
real 18.29
user 17.57
sys 0.22

Generating the exposure map:
time -p gtexpmap evfile=/lscratch/kocevski/39466923/ft1_filtered_4FGL_J1254.9+1138_weekly_bin947.fits evtable="EVENTS" scfile=/lscratch/kocevski/39466923/ft2_4FGL_J1254.9+1138_weekly_bin947.fits sctable="SC_DATA" expcube=/lscratch/kocevski/39466923/ltcube_811728001_812332801_4FGL_J1254.9+1138_weekly_bin947.fits outfile=/lscratch/kocevski/39466923/expmap_811728001_812332801_4FGL_J1254.9+1138_weekly_bin947.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/39466923/ltcube_811728001_812332801_4FGL_J1254.9+1138_weekly_bin947.fits
.....................!
real 69.79
user 64.84
sys 3.97

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 173 point sources and 0 extended sources

Setting source of interest to:
4FGL J1254.9+1138 @ 193.733 11.6495

Creating the counts map:
time -p gtbin evfile=/lscratch/kocevski/39466923/ft1_filtered_4FGL_J1254.9+1138_weekly_bin947.fits scfile=/lscratch/kocevski/39466923/ft2_4FGL_J1254.9+1138_weekly_bin947.fits outfile=/lscratch/kocevski/39466923/cmap_811728001_812332801_4FGL_J1254.9+1138_weekly_bin947.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=193.733 yref=11.6495 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.81
user 0.25
sys 0.11

Creating the high resolution counts map:
time -p gtbin evfile=/lscratch/kocevski/39466923/ft1_filtered_4FGL_J1254.9+1138_weekly_bin947.fits scfile=/lscratch/kocevski/39466923/ft2_4FGL_J1254.9+1138_weekly_bin947.fits outfile=/lscratch/kocevski/39466923/cmap_HighResolution_811728001_812332801_4FGL_J1254.9+1138_weekly_bin947.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=193.733 yref=11.6495 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.72
user 0.25
sys 0.13

Computing the diffuse response:
time -p gtdiffrsp evfile=/lscratch/kocevski/39466923/ft1_filtered_4FGL_J1254.9+1138_weekly_bin947.fits evtable="EVENTS" scfile=/lscratch/kocevski/39466923/ft2_4FGL_J1254.9+1138_weekly_bin947.fits sctable="SC_DATA" srcmdl=/lscratch/kocevski/39466923/Model_4FGL_J1254.9+1138_weekly_bin947.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 sourcDone.


Performing analysis on: 4FGL_J1254.9+1138_weekly_bin947
RA = 193.733, Dec = 11.6495
tmin = 811728001, tmax = 812332801
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='39467020', job_status='RUN', time_executed='2026-09-29 14:43:52.500706', time_epoch_executed='1790718232.5' WHERE source_name='4FGL J1254.9+1138' and cadence='weekly' and bin_id='947'

Database successfully updated.
Done.

Creating custom output directory:
/lscratch/kocevski/39467020

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

Retrieving the FT1 file...

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

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

Retrieving 109 files...
Done.


Merging files...

Checksum keywords updated successfully.

Merged file saved to:
/lscratch/kocevski/39467020/ft1_4FGL_J1254.9+1138_weekly_bin947.fits


Retrieving the FT1 file...

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

Retrieving 109 files...
Done.


Merging files...

Merged file saved to:
/lscratch/kocevski/39467020/ft2_4FGL_J1254.9+1138_weekly_bin947.fits


Selecting the photons:
time -p gtselect infile=/lscratch/kocevski/39467020/ft1_4FGL_J1254.9+1138_weekly_bin947.fits outfile=/lscratch/kocevski/39467020/ft1_filteredMKT_4FGL_J1254.9+1138_weekly_bin947.fits ra=193.733 dec=11.6495 rad=12.0 tmin=811728001.0 tmax=812332801.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.66
user 5.78
sys 0.30

Adding sun position to ft2 file:
/sdf/group/fermi/g/LCRepository/Repository/bin/sunpos /lscratch/kocevski/39467020/ft2_4FGL_J1254.9+1138_weekly_bin947.fits

Selecting the good time intervals:
time -p gtmktime scfile=/lscratch/kocevski/39467020/ft2_4FGL_J1254.9+1138_weekly_bin947.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/39467020/ft1_filteredMKT_4FGL_J1254.9+1138_weekly_bin947.fits evtable="EVENTS" outfile="/lscratch/kocevski/39467020/ft1_filtered_4FGL_J1254.9+1138_weekly_bin947.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.22
sys 0.14

Number of photons that the gtmktime cut: 1274

Generating the livetime cube:
time -p gtltcube evfile="/lscratch/kocevski/39467020/ft1_filtered_4FGL_J1254.9+1138_weekly_bin947.fits" evtable="EVENTS" scfile=/lscratch/kocevski/39467020/ft2_4FGL_J1254.9+1138_weekly_bin947.fits sctable="SC_DATA"  outfile=/lscratch/kocevski/39466920/ltcube_811728001_812332801_4FGL_J1254.9+1138_weekly_bin947.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/39466920/ft2_4FGL_J1254.9+1138_weekly_bin947.fits
.....................!
real 20.58
user 19.71
sys 0.23

Generating the exposure map:
time -p gtexpmap evfile=/lscratch/kocevski/39466920/ft1_filtered_4FGL_J1254.9+1138_weekly_bin947.fits evtable="EVENTS" scfile=/lscratch/kocevski/39466920/ft2_4FGL_J1254.9+1138_weekly_bin947.fits sctable="SC_DATA" expcube=/lscratch/kocevski/39466920/ltcube_811728001_812332801_4FGL_J1254.9+1138_weekly_bin947.fits outfile=/lscratch/kocevski/39466920/expmap_811728001_812332801_4FGL_J1254.9+1138_weekly_bin947.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/39466920/ltcube_811728001_812332801_4FGL_J1254.9+1138_weekly_bin947.fits
.....................!
real 76.78
user 71.40
sys 4.26

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 173 point sources and 0 extended sources

Setting source of interest to:
4FGL J1254.9+1138 @ 193.733 11.6495

Creating the counts map:
time -p gtbin evfile=/lscratch/kocevski/39466920/ft1_filtered_4FGL_J1254.9+1138_weekly_bin947.fits scfile=/lscratch/kocevski/39466920/ft2_4FGL_J1254.9+1138_weekly_bin947.fits outfile=/lscratch/kocevski/39466920/cmap_811728001_812332801_4FGL_J1254.9+1138_weekly_bin947.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=193.733 yref=11.6495 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.27
sys 0.12

Creating the high resolution counts map:
time -p gtbin evfile=/lscratch/kocevski/39466920/ft1_filtered_4FGL_J1254.9+1138_weekly_bin947.fits scfile=/lscratch/kocevski/39466920/ft2_4FGL_J1254.9+1138_weekly_bin947.fits outfile=/lscratch/kocevski/39466920/cmap_HighResolution_811728001_812332801_4FGL_J1254.9+1138_weekly_bin947.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=193.733 yref=11.6495 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/39466920/ft1_filtered_4FGL_J1254.9+1138_weekly_bin947.fits evtable="EVENTS" scfile=/lscratch/kocevski/39466920/ft2_4FGL_J1254.9+1138_weekly_bin947.fits sctable="SC_DATA" srcmdl=/lscratch/kocevski/39466920/Model_4FGL_J1254.9+1138_weekly_bin947.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 source GAL_V02
Working on...
/lscratch/kocevski/39466817/ft1_filtered_4FGL_J1254.9+1138_weekly_bin947.fits.....................!
real 45.18
user 43.68
sys 0.63

Creating the likelihood object...
obs = UnbinnedObs('/lscratch/kocevski/39466817/ft1_filtered_4FGL_J1254.9+1138_weekly_bin947.fits', '/lscratch/kocevski/39466817/ft2_4FGL_J1254.9+1138_weekly_bin947.fits', expMap='/lscratch/kocevski/39466817/expmap_811728001_812332801_4FGL_J1254.9+1138_weekly_bin947.fits', expCube='/lscratch/kocevski/39466817/ltcube_811728001_812332801_4FGL_J1254.9+1138_weekly_bin947.fits', irfs='P8R3_SOURCE_V2')
like = UnbinnedAnalysis(obs, '/lscratch/kocevski/39466817/Model_4FGL_J1254.9+1138_weekly_bin947.xml', optimizer='MINUIT')

Using source of interest name: '4FGL J1254.9+1138'

4FGL J1254.9+1138
   Spectrum: PowerLaw
287    Prefactor:  3.627e+00  0.000e+00  0.000e+00  1.000e+06 ( 1.000e-12)
288        Index:  2.791e+00  0.000e+00  0.000e+00  1.000e+01 (-1.000e+00) fixed
289        Scale:  4.595e+02  0.000e+00  3.000e+01  5.000e+05 ( 1.000e+00) fixed


Likelihood Fit Parameters:
Event file(s): /lscratch/kocevski/39466817/ft1_filtered_4FGL_J1254.9+1138_weekly_bin947.fits
Spacecraft file(s): /lscratch/kocevski/39466817/ft2_4FGL_J1254.9+1138_weekly_bin947.fits
Exposure map: /lscratch/kocevski/39466817/expmap_811728001_812332801_4FGL_J1254.9+1138_weekly_bin947.fits
Exposure cube: /lscratch/kocevski/39466817/ltcube_811728001_812332801_4FGL_J1254.9+1138_weekly_bin947.fits
IRFs: P8R3_SOURCE_V2
Source model file: /lscratch/kocevski/39466817/Model_4FGL_J1254.9+1138_weekly_bin947.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) = 13842.6984841

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

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

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'Prefactor '    1.7251       1.0000          .0000       .10000E+07
     2 'Prefactor '    13.273       1.0000          .0000       .10000E+07
     3 'norm      '    4.8519       1.0000          .0000       .10000E+07
     4 'Prefactor '    .19549E-03   1.0000          .0000       .10000E+07
     5 'norm      '    .57242E-02   1.0000          .0000       .10000E+07
     6 'norm      '    5.4946       1.0000          .0000       .10000E+07
     7 'Prefactor '    7.2473       1.0000          .0000       .10000E+07
     8 'norm      '    9.1099       1.0000          .0000       .10000E+07
     9 'Prefactor '    5.1032       1.0000          .0000       .10000E+07
    10 'Prefactor '    1.5413       1.0000          .0000       .10000E+07
    11 'Prefactor '    6.6846       1.0000          .0000       .10000E+07
    12 'Prefactor '    .36829E-03   1.0000          .0000       .10000E+07
    13 'Prefactor '    .82226E-01   1.0000          .0000       .10000E+07
    14 'Prefactor '    6.9154       1.0000          .0000       .10000E+07
    15 'Normalizat'    1.2688       1.0000         .10000E-01   10.000    
    16 'Prefactor '    .95138       1.0000          .0000       10.000    
 **********
 **   15 **SET ERR    .5000    
 **********
 **********
 **   16 **SET GRAD    1.000    
 **********
 **********
 **   17 **MINIMIZE    .5630E+05   .2000E-04
 **********

 MIGRAD MINIMIZATION HAS CONVERGED.

 FCN=   13841.85     FROM MIGRAD    STATUS=CONVERGED    106 CALLS      874 TOTAL
                     EDM=   .13E-09  STRATEGY=1  ERROR MATRIX UNCERTAINTY=  1.2%

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor     1.7253        1.4986        .10805E-06    .98059E-03
   2  Prefactor     13.321        1.5037        .21879E-06   -.27354E-01
   3  norm          4.8469        3.7752       -.69384E-07    .14876E-02
   4  Prefactor     .55511E-10    8.1840       -.14154E-06** at limit **
   5  norm           .0000        16.233       -.20166E-06** at limit **
   6  norm          5.4951        .86941       -.40384E-07   -.69109E-02
   7  Prefactor     7.2841        7.0791        .42353E-06   -.21413E-02
   8  norm          9.1084        1.8900        .12015E-06   -.66307E-03
   9  Prefactor     5.1017        4.1037        .43833E-07   -.25799E-03
  10  Prefactor     1.7357        10.827        .54521E-05   -.10182E-02
  11  Prefactor     6.5453        9.1242       -.32557E-05   -.38122E-02
  12  Prefactor      .0000        5.3256        .52265E-06** at limit **
  13  Prefactor     .72164E-09    42.784        .15162E-05** at limit **
  14  Prefactor     6.1033        33.218       -.83230E-06   -.12587E-04
  15  Normalizat    1.2685        .17272       -.38936E-05   -.76298E-04
  16  Prefactor     .95184        .14181        .58909E-05   -.54439E-04
                               ERR DEF=  .500    
Final values: 
  Prefactor  = 1.7253
  Prefactor  = 13.3207
  norm       = 4.84691
  Prefactor  = 5.55112e-11
  norm       = 0
  norm       = 5.49508
  Prefactor  = 7.28405
  norm       = 9.10838
  Prefactor  = 5.10169
  Prefactor  = 1.73573
  Prefactor  = 6.54525
  Prefactor  = 0
  Prefactor  = 7.21645e-10
  Prefactor  = 6.10331
  Normalizat = 1.26848
  Prefactor  = 0.951843
 **********
 **   18 **HESSE 
 **********

 FCN=   13841.85     FROM HESSE     STATUS=OK           241 CALLS     1115 TOTAL
                     EDM=   .89E-06    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  Prefactor     1.7253        1.5110        .79925E-03   -1.5682    
   2  Prefactor     13.321        18.122        .27469E-03   -1.5635    
   3  norm          4.8469        3.8755        .45645E-03   -1.5664    
   4  Prefactor     .55511E-10    8.1875        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   5  norm           .0000        16.228        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   6  norm          5.4951        .87005        .42840E-03   -1.5661    
   7  Prefactor     7.2841        7.0870        .37235E-03   -1.5654    
   8  norm          9.1084        1.8912        .33182E-03   -1.5648    
   9  Prefactor     5.1017        4.1016        .44483E-03   -1.5663    
  10  Prefactor     1.7357        11.081        .85842E-03   -1.5682    
  11  Prefactor     6.5453        9.2496        .38787E-03   -1.5657    
  12  Prefactor      .0000        5.3137        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  13  Prefactor     .72164E-09    41.810        .14434E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  14  Prefactor     6.1033        33.927        .38127E-03   -1.5659    
  15  Normalizat    1.2685        .14536        .62398E-01   -.84512    
  16  Prefactor     .95184        .11965        .45657E-01   -.94352    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 8.85506e-07
Minuit parameter uncertainties:
  1  1.51099
  2  18.1216
  3  3.87553
  4  5.1848e-05
  5  7.06271e-06
  6  0.870051
  7  7.08699
  8  1.89124
  9  4.1016
  10  8.77141
  11  9.24957
  12  1.76943e-05
  13  0.000341973
  14  28.7799
  15  0.145404
  16  0.119686
 outfile=/lscratch/kocevski/39466938/ltcube_811728001_812332801_4FGL_J1254.9+1138_weekly_bin947.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/39466938/ft2_4FGL_J1254.9+1138_weekly_bin947.fits
.....................!
real 18.35
user 17.56
sys 0.24

Generating the exposure map:
time -p gtexpmap evfile=/lscratch/kocevski/39466938/ft1_filtered_4FGL_J1254.9+1138_weekly_bin947.fits evtable="EVENTS" scfile=/lscratch/kocevski/39466938/ft2_4FGL_J1254.9+1138_weekly_bin947.fits sctable="SC_DATA" expcube=/lscratch/kocevski/39466938/ltcube_811728001_812332801_4FGL_J1254.9+1138_weekly_bin947.fits outfile=/lscratch/kocevski/39466938/expmap_811728001_812332801_4FGL_J1254.9+1138_weekly_bin947.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/39466938/ltcube_811728001_812332801_4FGL_J1254.9+1138_weekly_bin947.fits
.....................!
real 69.81
user 65.00
sys 3.99

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 173 point sources and 0 extended sources

Setting source of interest to:
4FGL J1254.9+1138 @ 193.733 11.6495

Creating the counts map:
time -p gtbin evfile=/lscratch/kocevski/39466938/ft1_filtered_4FGL_J1254.9+1138_weekly_bin947.fits scfile=/lscratch/kocevski/39466938/ft2_4FGL_J1254.9+1138_weekly_bin947.fits outfile=/lscratch/kocevski/39466938/cmap_811728001_812332801_4FGL_J1254.9+1138_weekly_bin947.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=193.733 yref=11.6495 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

Creating the high resolution counts map:
time -p gtbin evfile=/lscratch/kocevski/39466938/ft1_filtered_4FGL_J1254.9+1138_weekly_bin947.fits scfile=/lscratch/kocevski/39466938/ft2_4FGL_J1254.9+1138_weekly_bin947.fits outfile=/lscratch/kocevski/39466938/cmap_HighResolution_811728001_812332801_4FGL_J1254.9+1138_weekly_bin947.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=193.733 yref=11.6495 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.24
sys 0.14

Computing the diffuse response:
time -p gtdiffrsp evfile=/lscratch/kocevski/39466938/ft1_filtered_4FGL_J1254.9+1138_weekly_bin947.fits evtable="EVENTS" scfile=/lscratch/kocevski/39466938/ft2_4FGL_J1254.9+1138_weekly_bin947.fits sctable="SC_DATA" srcmdl=/lscratch/kocevski/39466938/Model_4FGL_J1254.9+1138_weekly_bin947.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 sourcDone.

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

Extracting fit parameters...

4FGL J1254.9+1138
   Spectrum: PowerLaw
287    Prefactor:  1.736e+00  8.771e+00  0.000e+00  1.000e+06 ( 1.000e-12)
288        Index:  2.791e+00  0.000e+00  0.000e+00  1.000e+01 (-1.000e+00) fixed
289        Scale:  4.595e+02  0.000e+00  3.000e+01  5.000e+05 ( 1.000e+00) fixed

GAL_V02
   Spectrum: PowerLaw
560    Prefactor:  9.518e-01  1.197e-01  0.000e+00  1.000e+01 ( 1.000e+00)
561        Index:  0.000e+00  0.000e+00 -1.000e+00  1.000e+00 ( 1.000e+00) fixed
562        Scale:  1.000e+02  0.000e+00  5.000e+01  2.000e+02 ( 1.000e+00) fixed

EG_v02
   Spectrum: FileFunction
559   Normalization:  1.268e+00  1.454e-01  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Fixed Index): 0.05
Ra Dec: 193.733 11.649
Photon Flux Upper Limit: 8.06097749077e-08 ph cm-2 s-1
Energy Flux Upper Limit: 0.00637848756348 MeV cm-2 s-1

Saving results to:
/lscratch/kocevski/39466817/likelihoodResults_811728001_812332801_4FGL_J1254.9+1138_weekly_bin947.txt

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) = 13841.390494
delta logL = 0.461975966522

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

MINUIT Return Code (Free Index): 0
logL (Free Index) = 13841.3399805
delta logL = 0.51248944982

Fit tolerance = 1e-08

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

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

 MIGRAD MINIMIZATION HAS CONVERGED.

 MIGRAD WILL VERIFY CONVERGENCE AND ERROR MATRIX.

 FCN=   13841.34     FROM MIGRAD    STATUS=CONVERGED     58 CALLS      217 TOTAL
                     EDM=   .72E-08    STRATEGY= 1      ERR MATRIX NOT POS-DEF

  EXT PARAMETER                APPROXIMATE        STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor     2.6340        42.245        .62963E-03    .11886E-01
   2  Index         4.0975        3.3275        .29493        .94304E-04
   3  Normalizat    1.2240        .31436E-01    .63358E-01   -.69698E-04
   4  Prefactor     .97357        .26922E-01    .45939E-01   -.13652E-03
                               ERR DEF=  .500    
Final values: 
  Prefactor  = 2.63398
  Index      = 4.09746
  Normalizat = 1.22395
  Prefactor  = 0.97357
 **********
 **   18 **HESSE 
 **********

 FCN=   13841.34     FROM HESSE     STATUS=OK            33 CALLS      250 TOTAL
                     EDM=   .30E-07    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  Prefactor     2.6340        6.2361        .18369E-04   -1.5676    
   2  Index         4.0975        1.6790        .10502E-01   -.18150    
   3  Normalizat    1.2240        .17144        .28026E-03   -.85866    
   4  Prefactor     .97357        .14244        .26397E-03   -.93616    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 2.99952e-08
Minuit parameter uncertainties:
  1  6.23612
  2  1.71348
  3  0.171516
  4  0.142494
outfile=/lscratch/kocevski/39466945/ltcube_811728001_812332801_4FGL_J1254.9+1138_weekly_bin947.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/39466945/ft2_4FGL_J1254.9+1138_weekly_bin947.fits
.....................!
real 19.82
user 19.15
sys 0.22

Generating the exposure map:
time -p gtexpmap evfile=/lscratch/kocevski/39466945/ft1_filtered_4FGL_J1254.9+1138_weekly_bin947.fits evtable="EVENTS" scfile=/lscratch/kocevski/39466945/ft2_4FGL_J1254.9+1138_weekly_bin947.fits sctable="SC_DATA" expcube=/lscratch/kocevski/39466945/ltcube_811728001_812332801_4FGL_J1254.9+1138_weekly_bin947.fits outfile=/lscratch/kocevski/39466945/expmap_811728001_812332801_4FGL_J1254.9+1138_weekly_bin947.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/39466945/ltcube_811728001_812332801_4FGL_J1254.9+1138_weekly_bin947.fits
.....................!
real 74.41
user 69.39
sys 4.19

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 173 point sources and 0 extended sources

Setting source of interest to:
4FGL J1254.9+1138 @ 193.733 11.6495

Creating the counts map:
time -p gtbin evfile=/lscratch/kocevski/39466945/ft1_filtered_4FGL_J1254.9+1138_weekly_bin947.fits scfile=/lscratch/kocevski/39466945/ft2_4FGL_J1254.9+1138_weekly_bin947.fits outfile=/lscratch/kocevski/39466945/cmap_811728001_812332801_4FGL_J1254.9+1138_weekly_bin947.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=193.733 yref=11.6495 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.77
user 0.26
sys 0.13

Creating the high resolution counts map:
time -p gtbin evfile=/lscratch/kocevski/39466945/ft1_filtered_4FGL_J1254.9+1138_weekly_bin947.fits scfile=/lscratch/kocevski/39466945/ft2_4FGL_J1254.9+1138_weekly_bin947.fits outfile=/lscratch/kocevski/39466945/cmap_HighResolution_811728001_812332801_4FGL_J1254.9+1138_weekly_bin947.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=193.733 yref=11.6495 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.25
sys 0.12

Computing the diffuse response:
time -p gtdiffrsp evfile=/lscratch/kocevski/39466945/ft1_filtered_4FGL_J1254.9+1138_weekly_bin947.fits evtable="EVENTS" scfile=/lscratch/kocevski/39466945/ft2_4FGL_J1254.9+1138_weekly_bin947.fits sctable="SC_DATA" srcmdl=/lscratch/kocevski/39466945/Model_4FGL_J1254.9+1138_weekly_bin947.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 sourceshell-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) = 13841.339974
delta logL = 0.512495953615

Extracting fit parameters...

4FGL J1254.9+1138
   Spectrum: PowerLaw
287    Prefactor:  2.634e+00  6.236e+00  0.000e+00  1.000e+06 ( 1.000e-12)
288        Index:  4.097e+00  1.713e+00  0.000e+00  1.000e+01 (-1.000e+00)
289        Scale:  4.595e+02  0.000e+00  3.000e+01  5.000e+05 ( 1.000e+00) fixed

GAL_V02
   Spectrum: PowerLaw
560    Prefactor:  9.736e-01  1.425e-01  0.000e+00  1.000e+01 ( 1.000e+00)
561        Index:  0.000e+00  0.000e+00 -1.000e+00  1.000e+00 ( 1.000e+00) fixed
562        Scale:  1.000e+02  0.000e+00  5.000e+01  2.000e+02 ( 1.000e+00) fixed

EG_v02
   Spectrum: FileFunction
559   Normalization:  1.224e+00  1.715e-01  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Free Index): 1.22
Ra Dec: 193.733 11.649
Photon Index (Free Index): 4.10 +/- 1.71
Photon Flux (Free Index): 4.41e-08 +/- 4.62e-08
Energy Flux (Free Index): 6.51e-06 +/- 7.13e-06

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/39466817/cmap_HighResolution_811728001_812332801_4FGL_J1254.9+1138_weekly_bin947.png

Cleaning up...

** Nuclear option initiated! **

Updating database...

UPDATE lightcurve_data_v2 SET energy_flux_upper_limit='6.38e-03', comment='SUCCESS', energy_flux2='6.51e-06', dlogl='5.12e-01', photon_flux2='4.41e-08', job_status='DONE', time_completed='2026-09-29 14:49:11.168912', photon_index_error2='1.71', photon_index2='4.10', ts='0.05', fit_tolerance='1e-08', GAL='0.95', photon_index_error='0.00', photon_flux_upper_limit='8.06e-08', energy_flux_error2='7.13e-06', EG='1.27', time_epoch_completed='1790718551.17', return_code='0', job_id='39466817', GAL2='0.97', EG2='1.22', return_code2='0', photon_flux_error2='4.62e-08', ts2='1.22', photon_index='2.79' WHERE bin_id='947' AND source_name='4FGL J1254.9+1138' AND cadence='weekly';

Database successfully updated.


Analysis Complete.


Tue Sep 29 14:49:11 PDT 2026

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


Performing analysis on: 4FGL_J1254.9+1138_weekly_bin947
RA = 193.733, Dec = 11.6495
tmin = 811728001, tmax = 812332801
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='39467073', job_status='RUN', time_executed='2026-09-29 14:45:30.806448', time_epoch_executed='1790718330.81' WHERE source_name='4FGL J1254.9+1138' and cadence='weekly' and bin_id='947'

Database successfully updated.
Done.

Creating custom output directory:
/lscratch/kocevski/39467073

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

Retrieving the FT1 file...

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

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

Retrieving 109 files...
Done.


Merging files...

Checksum keywords updated successfully.

Merged file saved to:
/lscratch/kocevski/39467073/ft1_4FGL_J1254.9+1138_weekly_bin947.fits


Retrieving the FT1 file...

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

Retrieving 109 files...
Done.


Merging files...

Merged file saved to:
/lscratch/kocevski/39467073/ft2_4FGL_J1254.9+1138_weekly_bin947.fits


Selecting the photons:
time -p gtselect infile=/lscratch/kocevski/39467073/ft1_4FGL_J1254.9+1138_weekly_bin947.fits outfile=/lscratch/kocevski/39467073/ft1_filteredMKT_4FGL_J1254.9+1138_weekly_bin947.fits ra=193.733 dec=11.6495 rad=12.0 tmin=811728001.0 tmax=812332801.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.36
user 5.75
sys 0.20

Adding sun position to ft2 file:
/sdf/group/fermi/g/LCRepository/Repository/bin/sunpos /lscratch/kocevski/39467073/ft2_4FGL_J1254.9+1138_weekly_bin947.fits

Selecting the good time intervals:
time -p gtmktime scfile=/lscratch/kocevski/39467073/ft2_4FGL_J1254.9+1138_weekly_bin947.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/39467073/ft1_filteredMKT_4FGL_J1254.9+1138_weekly_bin947.fits evtable="EVENTS" outfile="/lscratch/kocevski/39467073/ft1_filtered_4FGL_J1254.9+1138_weekly_bin947.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.64
user 0.22
sys 0.13

Number of photons that the gtmktime cut: 1274

Generating the livetime cube:
time -p gtltcube evfile="/lscratch/kocevski/39467073/ft1_filtered_4FGL_J1254.9+1138_weekly_bin947.fits" evtable="EVENTS" scfile=/lscratch/kocevski/39467073/ft2_4FGL_J1254.9+1138_weekly_bin947.fits sctable="SC_DATA"e GAL_V02
Working on...
/lscratch/kocevski/39466913/ft1_filtered_4FGL_J1254.9+1138_weekly_bin947.fits.....................!
real 46.46
user 44.93
sys 0.64

Creating the likelihood object...
obs = UnbinnedObs('/lscratch/kocevski/39466913/ft1_filtered_4FGL_J1254.9+1138_weekly_bin947.fits', '/lscratch/kocevski/39466913/ft2_4FGL_J1254.9+1138_weekly_bin947.fits', expMap='/lscratch/kocevski/39466913/expmap_811728001_812332801_4FGL_J1254.9+1138_weekly_bin947.fits', expCube='/lscratch/kocevski/39466913/ltcube_811728001_812332801_4FGL_J1254.9+1138_weekly_bin947.fits', irfs='P8R3_SOURCE_V2')
like = UnbinnedAnalysis(obs, '/lscratch/kocevski/39466913/Model_4FGL_J1254.9+1138_weekly_bin947.xml', optimizer='MINUIT')

Using source of interest name: '4FGL J1254.9+1138'

4FGL J1254.9+1138
   Spectrum: PowerLaw
287    Prefactor:  3.627e+00  0.000e+00  0.000e+00  1.000e+06 ( 1.000e-12)
288        Index:  2.791e+00  0.000e+00  0.000e+00  1.000e+01 (-1.000e+00) fixed
289        Scale:  4.595e+02  0.000e+00  3.000e+01  5.000e+05 ( 1.000e+00) fixed


Likelihood Fit Parameters:
Event file(s): /lscratch/kocevski/39466913/ft1_filtered_4FGL_J1254.9+1138_weekly_bin947.fits
Spacecraft file(s): /lscratch/kocevski/39466913/ft2_4FGL_J1254.9+1138_weekly_bin947.fits
Exposure map: /lscratch/kocevski/39466913/expmap_811728001_812332801_4FGL_J1254.9+1138_weekly_bin947.fits
Exposure cube: /lscratch/kocevski/39466913/ltcube_811728001_812332801_4FGL_J1254.9+1138_weekly_bin947.fits
IRFs: P8R3_SOURCE_V2
Source model file: /lscratch/kocevski/39466913/Model_4FGL_J1254.9+1138_weekly_bin947.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) = 13842.6984841

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

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

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'Prefactor '    1.7251       1.0000          .0000       .10000E+07
     2 'Prefactor '    13.273       1.0000          .0000       .10000E+07
     3 'norm      '    4.8519       1.0000          .0000       .10000E+07
     4 'Prefactor '    .19549E-03   1.0000          .0000       .10000E+07
     5 'norm      '    .57242E-02   1.0000          .0000       .10000E+07
     6 'norm      '    5.4946       1.0000          .0000       .10000E+07
     7 'Prefactor '    7.2473       1.0000          .0000       .10000E+07
     8 'norm      '    9.1099       1.0000          .0000       .10000E+07
     9 'Prefactor '    5.1032       1.0000          .0000       .10000E+07
    10 'Prefactor '    1.5413       1.0000          .0000       .10000E+07
    11 'Prefactor '    6.6846       1.0000          .0000       .10000E+07
    12 'Prefactor '    .36829E-03   1.0000          .0000       .10000E+07
    13 'Prefactor '    .82226E-01   1.0000          .0000       .10000E+07
    14 'Prefactor '    6.9154       1.0000          .0000       .10000E+07
    15 'Normalizat'    1.2688       1.0000         .10000E-01   10.000    
    16 'Prefactor '    .95138       1.0000          .0000       10.000    
 **********
 **   15 **SET ERR    .5000    
 **********
 **********
 **   16 **SET GRAD    1.000    
 **********
 **********
 **   17 **MINIMIZE    .5630E+05   .2000E-04
 **********

 MIGRAD MINIMIZATION HAS CONVERGED.

 FCN=   13841.85     FROM MIGRAD    STATUS=CONVERGED    106 CALLS      874 TOTAL
                     EDM=   .13E-09  STRATEGY=1  ERROR MATRIX UNCERTAINTY=  1.2%

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor     1.7253        1.4986        .10805E-06    .98059E-03
   2  Prefactor     13.321        1.5037        .21879E-06   -.27354E-01
   3  norm          4.8469        3.7752       -.69384E-07    .14876E-02
   4  Prefactor     .55511E-10    8.1840       -.14154E-06** at limit **
   5  norm           .0000        16.233       -.20166E-06** at limit **
   6  norm          5.4951        .86941       -.40384E-07   -.69109E-02
   7  Prefactor     7.2841        7.0791        .42353E-06   -.21413E-02
   8  norm          9.1084        1.8900        .12015E-06   -.66307E-03
   9  Prefactor     5.1017        4.1037        .43833E-07   -.25799E-03
  10  Prefactor     1.7357        10.827        .54521E-05   -.10182E-02
  11  Prefactor     6.5453        9.1242       -.32557E-05   -.38122E-02
  12  Prefactor      .0000        5.3256        .52265E-06** at limit **
  13  Prefactor     .72164E-09    42.784        .15162E-05** at limit **
  14  Prefactor     6.1033        33.218       -.83230E-06   -.12587E-04
  15  Normalizat    1.2685        .17272       -.38936E-05   -.76298E-04
  16  Prefactor     .95184        .14181        .58909E-05   -.54439E-04
                               ERR DEF=  .500    
Final values: 
  Prefactor  = 1.7253
  Prefactor  = 13.3207
  norm       = 4.84691
  Prefactor  = 5.55112e-11
  norm       = 0
  norm       = 5.49508
  Prefactor  = 7.28405
  norm       = 9.10838
  Prefactor  = 5.10169
  Prefactor  = 1.73573
  Prefactor  = 6.54525
  Prefactor  = 0
  Prefactor  = 7.21645e-10
  Prefactor  = 6.10331
  Normalizat = 1.26848
  Prefactor  = 0.951843
e GAL_V02
Working on...
/lscratch/kocevski/39466923/ft1_filtered_4FGL_J1254.9+1138_weekly_bin947.fits.....................!
real 42.44
user 41.13
sys 0.56

Creating the likelihood object...
obs = UnbinnedObs('/lscratch/kocevski/39466923/ft1_filtered_4FGL_J1254.9+1138_weekly_bin947.fits', '/lscratch/kocevski/39466923/ft2_4FGL_J1254.9+1138_weekly_bin947.fits', expMap='/lscratch/kocevski/39466923/expmap_811728001_812332801_4FGL_J1254.9+1138_weekly_bin947.fits', expCube='/lscratch/kocevski/39466923/ltcube_811728001_812332801_4FGL_J1254.9+1138_weekly_bin947.fits', irfs='P8R3_SOURCE_V2')
like = UnbinnedAnalysis(obs, '/lscratch/kocevski/39466923/Model_4FGL_J1254.9+1138_weekly_bin947.xml', optimizer='MINUIT')

Using source of interest name: '4FGL J1254.9+1138'

4FGL J1254.9+1138
   Spectrum: PowerLaw
287    Prefactor:  3.627e+00  0.000e+00  0.000e+00  1.000e+06 ( 1.000e-12)
288        Index:  2.791e+00  0.000e+00  0.000e+00  1.000e+01 (-1.000e+00) fixed
289        Scale:  4.595e+02  0.000e+00  3.000e+01  5.000e+05 ( 1.000e+00) fixed


Likelihood Fit Parameters:
Event file(s): /lscratch/kocevski/39466923/ft1_filtered_4FGL_J1254.9+1138_weekly_bin947.fits
Spacecraft file(s): /lscratch/kocevski/39466923/ft2_4FGL_J1254.9+1138_weekly_bin947.fits
Exposure map: /lscratch/kocevski/39466923/expmap_811728001_812332801_4FGL_J1254.9+1138_weekly_bin947.fits
Exposure cube: /lscratch/kocevski/39466923/ltcube_811728001_812332801_4FGL_J1254.9+1138_weekly_bin947.fits
IRFs: P8R3_SOURCE_V2
Source model file: /lscratch/kocevski/39466923/Model_4FGL_J1254.9+1138_weekly_bin947.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) = 13842.6984841

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

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

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'Prefactor '    1.7251       1.0000          .0000       .10000E+07
     2 'Prefactor '    13.273       1.0000          .0000       .10000E+07
     3 'norm      '    4.8519       1.0000          .0000       .10000E+07
     4 'Prefactor '    .19549E-03   1.0000          .0000       .10000E+07
     5 'norm      '    .57242E-02   1.0000          .0000       .10000E+07
     6 'norm      '    5.4946       1.0000          .0000       .10000E+07
     7 'Prefactor '    7.2473       1.0000          .0000       .10000E+07
     8 'norm      '    9.1099       1.0000          .0000       .10000E+07
     9 'Prefactor '    5.1032       1.0000          .0000       .10000E+07
    10 'Prefactor '    1.5413       1.0000          .0000       .10000E+07
    11 'Prefactor '    6.6846       1.0000          .0000       .10000E+07
    12 'Prefactor '    .36829E-03   1.0000          .0000       .10000E+07
    13 'Prefactor '    .82226E-01   1.0000          .0000       .10000E+07
    14 'Prefactor '    6.9154       1.0000          .0000       .10000E+07
    15 'Normalizat'    1.2688       1.0000         .10000E-01   10.000    
    16 'Prefactor '    .95138       1.0000          .0000       10.000    
 **********
 **   15 **SET ERR    .5000    
 **********
 **********
 **   16 **SET GRAD    1.000    
 **********
 **********
 **   17 **MINIMIZE    .5630E+05   .2000E-04
 **********

 MIGRAD MINIMIZATION HAS CONVERGED.

 FCN=   13841.85     FROM MIGRAD    STATUS=CONVERGED    106 CALLS      874 TOTAL
                     EDM=   .13E-09  STRATEGY=1  ERROR MATRIX UNCERTAINTY=  1.2%

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor     1.7253        1.4986        .10805E-06    .98059E-03
   2  Prefactor     13.321        1.5037        .21879E-06   -.27354E-01
   3  norm          4.8469        3.7752       -.69384E-07    .14876E-02
   4  Prefactor     .55511E-10    8.1840       -.14154E-06** at limit **
   5  norm           .0000        16.233       -.20166E-06** at limit **
   6  norm          5.4951        .86941       -.40384E-07   -.69109E-02
   7  Prefactor     7.2841        7.0791        .42353E-06   -.21413E-02
   8  norm          9.1084        1.8900        .12015E-06   -.66307E-03
   9  Prefactor     5.1017        4.1037        .43833E-07   -.25799E-03
  10  Prefactor     1.7357        10.827        .54521E-05   -.10182E-02
  11  Prefactor     6.5453        9.1242       -.32557E-05   -.38122E-02
  12  Prefactor      .0000        5.3256        .52265E-06** at limit **
  13  Prefactor     .72164E-09    42.784        .15162E-05** at limit **
  14  Prefactor     6.1033        33.218       -.83230E-06   -.12587E-04
  15  Normalizat    1.2685        .17272       -.38936E-05   -.76298E-04
  16  Prefactor     .95184        .14181        .58909E-05   -.54439E-04
                               ERR DEF=  .500    
Final values: 
  Prefactor  = 1.7253
  Prefactor  = 13.3207
  norm       = 4.84691
  Prefactor  = 5.55112e-11
  norm       = 0
  norm       = 5.49508
  Prefactor  = 7.28405
  norm       = 9.10838
  Prefactor  = 5.10169
  Prefactor  = 1.73573
  Prefactor  = 6.54525
  Prefactor  = 0
  Prefactor  = 7.21645e-10
  Prefactor  = 6.10331
  Normalizat = 1.26848
  Prefactor  = 0.951843
e GAL_V02
Working on...
/lscratch/kocevski/39466920/ft1_filtered_4FGL_J1254.9+1138_weekly_bin947.fits.....................!
real 46.26
user 44.84
sys 0.64

Creating the likelihood object...
obs = UnbinnedObs('/lscratch/kocevski/39466920/ft1_filtered_4FGL_J1254.9+1138_weekly_bin947.fits', '/lscratch/kocevski/39466920/ft2_4FGL_J1254.9+1138_weekly_bin947.fits', expMap='/lscratch/kocevski/39466920/expmap_811728001_812332801_4FGL_J1254.9+1138_weekly_bin947.fits', expCube='/lscratch/kocevski/39466920/ltcube_811728001_812332801_4FGL_J1254.9+1138_weekly_bin947.fits', irfs='P8R3_SOURCE_V2')
like = UnbinnedAnalysis(obs, '/lscratch/kocevski/39466920/Model_4FGL_J1254.9+1138_weekly_bin947.xml', optimizer='MINUIT')

Using source of interest name: '4FGL J1254.9+1138'

4FGL J1254.9+1138
   Spectrum: PowerLaw
287    Prefactor:  3.627e+00  0.000e+00  0.000e+00  1.000e+06 ( 1.000e-12)
288        Index:  2.791e+00  0.000e+00  0.000e+00  1.000e+01 (-1.000e+00) fixed
289        Scale:  4.595e+02  0.000e+00  3.000e+01  5.000e+05 ( 1.000e+00) fixed


Likelihood Fit Parameters:
Event file(s): /lscratch/kocevski/39466920/ft1_filtered_4FGL_J1254.9+1138_weekly_bin947.fits
Spacecraft file(s): /lscratch/kocevski/39466920/ft2_4FGL_J1254.9+1138_weekly_bin947.fits
Exposure map: /lscratch/kocevski/39466920/expmap_811728001_812332801_4FGL_J1254.9+1138_weekly_bin947.fits
Exposure cube: /lscratch/kocevski/39466920/ltcube_811728001_812332801_4FGL_J1254.9+1138_weekly_bin947.fits
IRFs: P8R3_SOURCE_V2
Source model file: /lscratch/kocevski/39466920/Model_4FGL_J1254.9+1138_weekly_bin947.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) = 13842.6984841

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

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

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'Prefactor '    1.7251       1.0000          .0000       .10000E+07
     2 'Prefactor '    13.273       1.0000          .0000       .10000E+07
     3 'norm      '    4.8519       1.0000          .0000       .10000E+07
     4 'Prefactor '    .19549E-03   1.0000          .0000       .10000E+07
     5 'norm      '    .57242E-02   1.0000          .0000       .10000E+07
     6 'norm      '    5.4946       1.0000          .0000       .10000E+07
     7 'Prefactor '    7.2473       1.0000          .0000       .10000E+07
     8 'norm      '    9.1099       1.0000          .0000       .10000E+07
     9 'Prefactor '    5.1032       1.0000          .0000       .10000E+07
    10 'Prefactor '    1.5413       1.0000          .0000       .10000E+07
    11 'Prefactor '    6.6846       1.0000          .0000       .10000E+07
    12 'Prefactor '    .36829E-03   1.0000          .0000       .10000E+07
    13 'Prefactor '    .82226E-01   1.0000          .0000       .10000E+07
    14 'Prefactor '    6.9154       1.0000          .0000       .10000E+07
    15 'Normalizat'    1.2688       1.0000         .10000E-01   10.000    
    16 'Prefactor '    .95138       1.0000          .0000       10.000    
 **********
 **   15 **SET ERR    .5000    
 **********
 **********
 **   16 **SET GRAD    1.000    
 **********
 **********
 **   17 **MINIMIZE    .5630E+05   .2000E-04
 **********

 MIGRAD MINIMIZATION HAS CONVERGED.

 FCN=   13841.85     FROM MIGRAD    STATUS=CONVERGED    106 CALLS      874 TOTAL
                     EDM=   .13E-09  STRATEGY=1  ERROR MATRIX UNCERTAINTY=  1.2%

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor     1.7253        1.4986        .10805E-06    .98059E-03
   2  Prefactor     13.321        1.5037        .21879E-06   -.27354E-01
   3  norm          4.8469        3.7752       -.69384E-07    .14876E-02
   4  Prefactor     .55511E-10    8.1840       -.14154E-06** at limit **
   5  norm           .0000        16.233       -.20166E-06** at limit **
   6  norm          5.4951        .86941       -.40384E-07   -.69109E-02
   7  Prefactor     7.2841        7.0791        .42353E-06   -.21413E-02
   8  norm          9.1084        1.8900        .12015E-06   -.66307E-03
   9  Prefactor     5.1017        4.1037        .43833E-07   -.25799E-03
  10  Prefactor     1.7357        10.827        .54521E-05   -.10182E-02
  11  Prefactor     6.5453        9.1242       -.32557E-05   -.38122E-02
  12  Prefactor      .0000        5.3256        .52265E-06** at limit **
  13  Prefactor     .72164E-09    42.784        .15162E-05** at limit **
  14  Prefactor     6.1033        33.218       -.83230E-06   -.12587E-04
  15  Normalizat    1.2685        .17272       -.38936E-05   -.76298E-04
  16  Prefactor     .95184        .14181        .58909E-05   -.54439E-04
                               ERR DEF=  .500    
Final values: 
  Prefactor  = 1.7253
  Prefactor  = 13.3207
  norm       = 4.84691
  Prefactor  = 5.55112e-11
  norm       = 0
  norm       = 5.49508
  Prefactor  = 7.28405
  norm       = 9.10838
  Prefactor  = 5.10169
  Prefactor  = 1.73573
  Prefactor  = 6.54525
  Prefactor  = 0
  Prefactor  = 7.21645e-10
  Prefactor  = 6.10331
  Normalizat = 1.26848
  Prefactor  = 0.951843
 **********
 **   18 **HESSE 
 **********

 FCN=   13841.85     FROM HESSE     STATUS=OK           241 CALLS     1115 TOTAL
                     EDM=   .89E-06    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  Prefactor     1.7253        1.5110        .79925E-03   -1.5682    
   2  Prefactor     13.321        18.122        .27469E-03   -1.5635    
   3  norm          4.8469        3.8755        .45645E-03   -1.5664    
   4  Prefactor     .55511E-10    8.1875        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   5  norm           .0000        16.228        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   6  norm          5.4951        .87005        .42840E-03   -1.5661    
   7  Prefactor     7.2841        7.0870        .37235E-03   -1.5654    
   8  norm          9.1084        1.8912        .33182E-03   -1.5648    
   9  Prefactor     5.1017        4.1016        .44483E-03   -1.5663    
  10  Prefactor     1.7357        11.081        .85842E-03   -1.5682    
  11  Prefactor     6.5453        9.2496        .38787E-03   -1.5657    
  12  Prefactor      .0000        5.3137        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  13  Prefactor     .72164E-09    41.810        .14434E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  14  Prefactor     6.1033        33.927        .38127E-03   -1.5659    
  15  Normalizat    1.2685        .14536        .62398E-01   -.84512    
  16  Prefactor     .95184        .11965        .45657E-01   -.94352    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 8.85506e-07
Minuit parameter uncertainties:
  1  1.51099
  2  18.1216
  3  3.87553
  4  5.1848e-05
  5  7.06271e-06
  6  0.870051
  7  7.08699
  8  1.89124
  9  4.1016
  10  8.77141
  11  9.24957
  12  1.76943e-05
  13  0.000341973
  14  28.7799
  15  0.145404
  16  0.119686
 **********
 **   18 **HESSE 
 **********

 FCN=   13841.85     FROM HESSE     STATUS=OK           241 CALLS     1115 TOTAL
                     EDM=   .89E-06    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  Prefactor     1.7253        1.5110        .79925E-03   -1.5682    
   2  Prefactor     13.321        18.122        .27469E-03   -1.5635    
   3  norm          4.8469        3.8755        .45645E-03   -1.5664    
   4  Prefactor     .55511E-10    8.1875        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   5  norm           .0000        16.228        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   6  norm          5.4951        .87005        .42840E-03   -1.5661    
   7  Prefactor     7.2841        7.0870        .37235E-03   -1.5654    
   8  norm          9.1084        1.8912        .33182E-03   -1.5648    
   9  Prefactor     5.1017        4.1016        .44483E-03   -1.5663    
  10  Prefactor     1.7357        11.081        .85842E-03   -1.5682    
  11  Prefactor     6.5453        9.2496        .38787E-03   -1.5657    
  12  Prefactor      .0000        5.3137        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  13  Prefactor     .72164E-09    41.810        .14434E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  14  Prefactor     6.1033        33.927        .38127E-03   -1.5659    
  15  Normalizat    1.2685        .14536        .62398E-01   -.84512    
  16  Prefactor     .95184        .11965        .45657E-01   -.94352    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 8.85506e-07
Minuit parameter uncertainties:
  1  1.51099
  2  18.1216
  3  3.87553
  4  5.1848e-05
  5  7.06271e-06
  6  0.870051
  7  7.08699
  8  1.89124
  9  4.1016
  10  8.77141
  11  9.24957
  12  1.76943e-05
  13  0.000341973
  14  28.7799
  15  0.145404
  16  0.119686
 outfile=/lscratch/kocevski/39466949/ltcube_811728001_812332801_4FGL_J1254.9+1138_weekly_bin947.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/39466949/ft2_4FGL_J1254.9+1138_weekly_bin947.fits
.....................!
real 20.90
user 19.20
sys 0.22

Generating the exposure map:
time -p gtexpmap evfile=/lscratch/kocevski/39466949/ft1_filtered_4FGL_J1254.9+1138_weekly_bin947.fits evtable="EVENTS" scfile=/lscratch/kocevski/39466949/ft2_4FGL_J1254.9+1138_weekly_bin947.fits sctable="SC_DATA" expcube=/lscratch/kocevski/39466949/ltcube_811728001_812332801_4FGL_J1254.9+1138_weekly_bin947.fits outfile=/lscratch/kocevski/39466949/expmap_811728001_812332801_4FGL_J1254.9+1138_weekly_bin947.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/39466949/ltcube_811728001_812332801_4FGL_J1254.9+1138_weekly_bin947.fits
.....................!
real 78.66
user 70.38
sys 4.46

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 173 point sources and 0 extended sources

Setting source of interest to:
4FGL J1254.9+1138 @ 193.733 11.6495

Creating the counts map:
time -p gtbin evfile=/lscratch/kocevski/39466949/ft1_filtered_4FGL_J1254.9+1138_weekly_bin947.fits scfile=/lscratch/kocevski/39466949/ft2_4FGL_J1254.9+1138_weekly_bin947.fits outfile=/lscratch/kocevski/39466949/cmap_811728001_812332801_4FGL_J1254.9+1138_weekly_bin947.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=193.733 yref=11.6495 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.12

Creating the high resolution counts map:
time -p gtbin evfile=/lscratch/kocevski/39466949/ft1_filtered_4FGL_J1254.9+1138_weekly_bin947.fits scfile=/lscratch/kocevski/39466949/ft2_4FGL_J1254.9+1138_weekly_bin947.fits outfile=/lscratch/kocevski/39466949/cmap_HighResolution_811728001_812332801_4FGL_J1254.9+1138_weekly_bin947.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=193.733 yref=11.6495 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.26
sys 0.11

Computing the diffuse response:
time -p gtdiffrsp evfile=/lscratch/kocevski/39466949/ft1_filtered_4FGL_J1254.9+1138_weekly_bin947.fits evtable="EVENTS" scfile=/lscratch/kocevski/39466949/ft2_4FGL_J1254.9+1138_weekly_bin947.fits sctable="SC_DATA" srcmdl=/lscratch/kocevski/39466949/Model_4FGL_J1254.9+1138_weekly_bin947.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 **********
 **   18 **HESSE 
 **********

 FCN=   13841.85     FROM HESSE     STATUS=OK           241 CALLS     1115 TOTAL
                     EDM=   .89E-06    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  Prefactor     1.7253        1.5110        .79925E-03   -1.5682    
   2  Prefactor     13.321        18.122        .27469E-03   -1.5635    
   3  norm          4.8469        3.8755        .45645E-03   -1.5664    
   4  Prefactor     .55511E-10    8.1875        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   5  norm           .0000        16.228        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   6  norm          5.4951        .87005        .42840E-03   -1.5661    
   7  Prefactor     7.2841        7.0870        .37235E-03   -1.5654    
   8  norm          9.1084        1.8912        .33182E-03   -1.5648    
   9  Prefactor     5.1017        4.1016        .44483E-03   -1.5663    
  10  Prefactor     1.7357        11.081        .85842E-03   -1.5682    
  11  Prefactor     6.5453        9.2496        .38787E-03   -1.5657    
  12  Prefactor      .0000        5.3137        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  13  Prefactor     .72164E-09    41.810        .14434E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  14  Prefactor     6.1033        33.927        .38127E-03   -1.5659    
  15  Normalizat    1.2685        .14536        .62398E-01   -.84512    
  16  Prefactor     .95184        .11965        .45657E-01   -.94352    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 8.85506e-07
Minuit parameter uncertainties:
  1  1.51099
  2  18.1216
  3  3.87553
  4  5.1848e-05
  5  7.06271e-06
  6  0.870051
  7  7.08699
  8  1.89124
  9  4.1016
  10  8.77141
  11  9.24957
  12  1.76943e-05
  13  0.000341973
  14  28.7799
  15  0.145404
  16  0.119686
 outfile=/lscratch/kocevski/39467008/ltcube_811728001_812332801_4FGL_J1254.9+1138_weekly_bin947.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/39467008/ft2_4FGL_J1254.9+1138_weekly_bin947.fits
.....................!
real 18.29
user 17.59
sys 0.21

Generating the exposure map:
time -p gtexpmap evfile=/lscratch/kocevski/39467008/ft1_filtered_4FGL_J1254.9+1138_weekly_bin947.fits evtable="EVENTS" scfile=/lscratch/kocevski/39467008/ft2_4FGL_J1254.9+1138_weekly_bin947.fits sctable="SC_DATA" expcube=/lscratch/kocevski/39467008/ltcube_811728001_812332801_4FGL_J1254.9+1138_weekly_bin947.fits outfile=/lscratch/kocevski/39467008/expmap_811728001_812332801_4FGL_J1254.9+1138_weekly_bin947.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/39467008/ltcube_811728001_812332801_4FGL_J1254.9+1138_weekly_bin947.fits
.....................!
real 69.44
user 64.84
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 173 point sources and 0 extended sources

Setting source of interest to:
4FGL J1254.9+1138 @ 193.733 11.6495

Creating the counts map:
time -p gtbin evfile=/lscratch/kocevski/39467008/ft1_filtered_4FGL_J1254.9+1138_weekly_bin947.fits scfile=/lscratch/kocevski/39467008/ft2_4FGL_J1254.9+1138_weekly_bin947.fits outfile=/lscratch/kocevski/39467008/cmap_811728001_812332801_4FGL_J1254.9+1138_weekly_bin947.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=193.733 yref=11.6495 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.67
user 0.25
sys 0.13

Creating the high resolution counts map:
time -p gtbin evfile=/lscratch/kocevski/39467008/ft1_filtered_4FGL_J1254.9+1138_weekly_bin947.fits scfile=/lscratch/kocevski/39467008/ft2_4FGL_J1254.9+1138_weekly_bin947.fits outfile=/lscratch/kocevski/39467008/cmap_HighResolution_811728001_812332801_4FGL_J1254.9+1138_weekly_bin947.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=193.733 yref=11.6495 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

Computing the diffuse response:
time -p gtdiffrsp evfile=/lscratch/kocevski/39467008/ft1_filtered_4FGL_J1254.9+1138_weekly_bin947.fits evtable="EVENTS" scfile=/lscratch/kocevski/39467008/ft2_4FGL_J1254.9+1138_weekly_bin947.fits sctable="SC_DATA" srcmdl=/lscratch/kocevski/39467008/Model_4FGL_J1254.9+1138_weekly_bin947.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 source GAL_V02
Working on...
/lscratch/kocevski/39466938/ft1_filtered_4FGL_J1254.9+1138_weekly_bin947.fits.....................!
real 42.71
user 41.52
sys 0.57

Creating the likelihood object...
obs = UnbinnedObs('/lscratch/kocevski/39466938/ft1_filtered_4FGL_J1254.9+1138_weekly_bin947.fits', '/lscratch/kocevski/39466938/ft2_4FGL_J1254.9+1138_weekly_bin947.fits', expMap='/lscratch/kocevski/39466938/expmap_811728001_812332801_4FGL_J1254.9+1138_weekly_bin947.fits', expCube='/lscratch/kocevski/39466938/ltcube_811728001_812332801_4FGL_J1254.9+1138_weekly_bin947.fits', irfs='P8R3_SOURCE_V2')
like = UnbinnedAnalysis(obs, '/lscratch/kocevski/39466938/Model_4FGL_J1254.9+1138_weekly_bin947.xml', optimizer='MINUIT')

Using source of interest name: '4FGL J1254.9+1138'

4FGL J1254.9+1138
   Spectrum: PowerLaw
287    Prefactor:  3.627e+00  0.000e+00  0.000e+00  1.000e+06 ( 1.000e-12)
288        Index:  2.791e+00  0.000e+00  0.000e+00  1.000e+01 (-1.000e+00) fixed
289        Scale:  4.595e+02  0.000e+00  3.000e+01  5.000e+05 ( 1.000e+00) fixed


Likelihood Fit Parameters:
Event file(s): /lscratch/kocevski/39466938/ft1_filtered_4FGL_J1254.9+1138_weekly_bin947.fits
Spacecraft file(s): /lscratch/kocevski/39466938/ft2_4FGL_J1254.9+1138_weekly_bin947.fits
Exposure map: /lscratch/kocevski/39466938/expmap_811728001_812332801_4FGL_J1254.9+1138_weekly_bin947.fits
Exposure cube: /lscratch/kocevski/39466938/ltcube_811728001_812332801_4FGL_J1254.9+1138_weekly_bin947.fits
IRFs: P8R3_SOURCE_V2
Source model file: /lscratch/kocevski/39466938/Model_4FGL_J1254.9+1138_weekly_bin947.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) = 13842.6984841

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

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

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'Prefactor '    1.7251       1.0000          .0000       .10000E+07
     2 'Prefactor '    13.273       1.0000          .0000       .10000E+07
     3 'norm      '    4.8519       1.0000          .0000       .10000E+07
     4 'Prefactor '    .19549E-03   1.0000          .0000       .10000E+07
     5 'norm      '    .57242E-02   1.0000          .0000       .10000E+07
     6 'norm      '    5.4946       1.0000          .0000       .10000E+07
     7 'Prefactor '    7.2473       1.0000          .0000       .10000E+07
     8 'norm      '    9.1099       1.0000          .0000       .10000E+07
     9 'Prefactor '    5.1032       1.0000          .0000       .10000E+07
    10 'Prefactor '    1.5413       1.0000          .0000       .10000E+07
    11 'Prefactor '    6.6846       1.0000          .0000       .10000E+07
    12 'Prefactor '    .36829E-03   1.0000          .0000       .10000E+07
    13 'Prefactor '    .82226E-01   1.0000          .0000       .10000E+07
    14 'Prefactor '    6.9154       1.0000          .0000       .10000E+07
    15 'Normalizat'    1.2688       1.0000         .10000E-01   10.000    
    16 'Prefactor '    .95138       1.0000          .0000       10.000    
 **********
 **   15 **SET ERR    .5000    
 **********
 **********
 **   16 **SET GRAD    1.000    
 **********
 **********
 **   17 **MINIMIZE    .5630E+05   .2000E-04
 **********

 MIGRAD MINIMIZATION HAS CONVERGED.

 FCN=   13841.85     FROM MIGRAD    STATUS=CONVERGED    106 CALLS      874 TOTAL
                     EDM=   .13E-09  STRATEGY=1  ERROR MATRIX UNCERTAINTY=  1.2%

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor     1.7253        1.4986        .10805E-06    .98059E-03
   2  Prefactor     13.321        1.5037        .21879E-06   -.27354E-01
   3  norm          4.8469        3.7752       -.69384E-07    .14876E-02
   4  Prefactor     .55511E-10    8.1840       -.14154E-06** at limit **
   5  norm           .0000        16.233       -.20166E-06** at limit **
   6  norm          5.4951        .86941       -.40384E-07   -.69109E-02
   7  Prefactor     7.2841        7.0791        .42353E-06   -.21413E-02
   8  norm          9.1084        1.8900        .12015E-06   -.66307E-03
   9  Prefactor     5.1017        4.1037        .43833E-07   -.25799E-03
  10  Prefactor     1.7357        10.827        .54521E-05   -.10182E-02
  11  Prefactor     6.5453        9.1242       -.32557E-05   -.38122E-02
  12  Prefactor      .0000        5.3256        .52265E-06** at limit **
  13  Prefactor     .72164E-09    42.784        .15162E-05** at limit **
  14  Prefactor     6.1033        33.218       -.83230E-06   -.12587E-04
  15  Normalizat    1.2685        .17272       -.38936E-05   -.76298E-04
  16  Prefactor     .95184        .14181        .58909E-05   -.54439E-04
                               ERR DEF=  .500    
Final values: 
  Prefactor  = 1.7253
  Prefactor  = 13.3207
  norm       = 4.84691
  Prefactor  = 5.55112e-11
  norm       = 0
  norm       = 5.49508
  Prefactor  = 7.28405
  norm       = 9.10838
  Prefactor  = 5.10169
  Prefactor  = 1.73573
  Prefactor  = 6.54525
  Prefactor  = 0
  Prefactor  = 7.21645e-10
  Prefactor  = 6.10331
  Normalizat = 1.26848
  Prefactor  = 0.951843
Done.

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

Extracting fit parameters...

4FGL J1254.9+1138
   Spectrum: PowerLaw
287    Prefactor:  1.736e+00  8.771e+00  0.000e+00  1.000e+06 ( 1.000e-12)
288        Index:  2.791e+00  0.000e+00  0.000e+00  1.000e+01 (-1.000e+00) fixed
289        Scale:  4.595e+02  0.000e+00  3.000e+01  5.000e+05 ( 1.000e+00) fixed

GAL_V02
   Spectrum: PowerLaw
560    Prefactor:  9.518e-01  1.197e-01  0.000e+00  1.000e+01 ( 1.000e+00)
561        Index:  0.000e+00  0.000e+00 -1.000e+00  1.000e+00 ( 1.000e+00) fixed
562        Scale:  1.000e+02  0.000e+00  5.000e+01  2.000e+02 ( 1.000e+00) fixed

EG_v02
   Spectrum: FileFunction
559   Normalization:  1.268e+00  1.454e-01  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Fixed Index): 0.05
Ra Dec: 193.733 11.649
Photon Flux Upper Limit: 8.06097749077e-08 ph cm-2 s-1
Energy Flux Upper Limit: 0.00637848756348 MeV cm-2 s-1

Saving results to:
/lscratch/kocevski/39466923/likelihoodResults_811728001_812332801_4FGL_J1254.9+1138_weekly_bin947.txt

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) = 13841.390494
delta logL = 0.461975966522

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

MINUIT Return Code (Free Index): 0
logL (Free Index) = 13841.3399805
delta logL = 0.51248944982

Fit tolerance = 1e-08

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

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

 MIGRAD MINIMIZATION HAS CONVERGED.

 MIGRAD WILL VERIFY CONVERGENCE AND ERROR MATRIX.

 FCN=   13841.34     FROM MIGRAD    STATUS=CONVERGED     58 CALLS      217 TOTAL
                     EDM=   .72E-08    STRATEGY= 1      ERR MATRIX NOT POS-DEF

  EXT PARAMETER                APPROXIMATE        STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor     2.6340        42.245        .62963E-03    .11886E-01
   2  Index         4.0975        3.3275        .29493        .94304E-04
   3  Normalizat    1.2240        .31436E-01    .63358E-01   -.69698E-04
   4  Prefactor     .97357        .26922E-01    .45939E-01   -.13652E-03
                               ERR DEF=  .500    
Final values: 
  Prefactor  = 2.63398
  Index      = 4.09746
  Normalizat = 1.22395
  Prefactor  = 0.97357
 **********
 **   18 **HESSE 
 **********

 FCN=   13841.34     FROM HESSE     STATUS=OK            33 CALLS      250 TOTAL
                     EDM=   .30E-07    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  Prefactor     2.6340        6.2361        .18369E-04   -1.5676    
   2  Index         4.0975        1.6790        .10502E-01   -.18150    
   3  Normalizat    1.2240        .17144        .28026E-03   -.85866    
   4  Prefactor     .97357        .14244        .26397E-03   -.93616    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 2.99952e-08
Minuit parameter uncertainties:
  1  6.23612
  2  1.71348
  3  0.171516
  4  0.142494
Done.

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

Extracting fit parameters...

4FGL J1254.9+1138
   Spectrum: PowerLaw
287    Prefactor:  1.736e+00  8.771e+00  0.000e+00  1.000e+06 ( 1.000e-12)
288        Index:  2.791e+00  0.000e+00  0.000e+00  1.000e+01 (-1.000e+00) fixed
289        Scale:  4.595e+02  0.000e+00  3.000e+01  5.000e+05 ( 1.000e+00) fixed

GAL_V02
   Spectrum: PowerLaw
560    Prefactor:  9.518e-01  1.197e-01  0.000e+00  1.000e+01 ( 1.000e+00)
561        Index:  0.000e+00  0.000e+00 -1.000e+00  1.000e+00 ( 1.000e+00) fixed
562        Scale:  1.000e+02  0.000e+00  5.000e+01  2.000e+02 ( 1.000e+00) fixed

EG_v02
   Spectrum: FileFunction
559   Normalization:  1.268e+00  1.454e-01  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Fixed Index): 0.05
Ra Dec: 193.733 11.649
Photon Flux Upper Limit: 8.06097749077e-08 ph cm-2 s-1
Energy Flux Upper Limit: 0.00637848756348 MeV cm-2 s-1

Saving results to:
/lscratch/kocevski/39466913/likelihoodResults_811728001_812332801_4FGL_J1254.9+1138_weekly_bin947.txt

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) = 13841.390494
delta logL = 0.461975966522

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

MINUIT Return Code (Free Index): 0
logL (Free Index) = 13841.3399805
delta logL = 0.51248944982

Fit tolerance = 1e-08

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

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

 MIGRAD MINIMIZATION HAS CONVERGED.

 MIGRAD WILL VERIFY CONVERGENCE AND ERROR MATRIX.

 FCN=   13841.34     FROM MIGRAD    STATUS=CONVERGED     58 CALLS      217 TOTAL
                     EDM=   .72E-08    STRATEGY= 1      ERR MATRIX NOT POS-DEF

  EXT PARAMETER                APPROXIMATE        STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor     2.6340        42.245        .62963E-03    .11886E-01
   2  Index         4.0975        3.3275        .29493        .94304E-04
   3  Normalizat    1.2240        .31436E-01    .63358E-01   -.69698E-04
   4  Prefactor     .97357        .26922E-01    .45939E-01   -.13652E-03
                               ERR DEF=  .500    
Final values: 
  Prefactor  = 2.63398
  Index      = 4.09746
  Normalizat = 1.22395
  Prefactor  = 0.97357
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) = 13841.339974
delta logL = 0.512495953615

Extracting fit parameters...

4FGL J1254.9+1138
   Spectrum: PowerLaw
287    Prefactor:  2.634e+00  6.236e+00  0.000e+00  1.000e+06 ( 1.000e-12)
288        Index:  4.097e+00  1.713e+00  0.000e+00  1.000e+01 (-1.000e+00)
289        Scale:  4.595e+02  0.000e+00  3.000e+01  5.000e+05 ( 1.000e+00) fixed

GAL_V02
   Spectrum: PowerLaw
560    Prefactor:  9.736e-01  1.425e-01  0.000e+00  1.000e+01 ( 1.000e+00)
561        Index:  0.000e+00  0.000e+00 -1.000e+00  1.000e+00 ( 1.000e+00) fixed
562        Scale:  1.000e+02  0.000e+00  5.000e+01  2.000e+02 ( 1.000e+00) fixed

EG_v02
   Spectrum: FileFunction
559   Normalization:  1.224e+00  1.715e-01  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Free Index): 1.22
Ra Dec: 193.733 11.649
Photon Index (Free Index): 4.10 +/- 1.71
Photon Flux (Free Index): 4.41e-08 +/- 4.62e-08
Energy Flux (Free Index): 6.51e-06 +/- 7.13e-06

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/39466923/cmap_HighResolution_811728001_812332801_4FGL_J1254.9+1138_weekly_bin947.png

Cleaning up...

** Nuclear option initiated! **

Updating database...

UPDATE lightcurve_data_v2 SET energy_flux_upper_limit='6.38e-03', comment='SUCCESS', energy_flux2='6.51e-06', dlogl='5.12e-01', photon_flux2='4.41e-08', job_status='DONE', time_completed='2026-09-29 14:50:17.911547', photon_index_error2='1.71', photon_index2='4.10', ts='0.05', fit_tolerance='1e-08', GAL='0.95', photon_index_error='0.00', photon_flux_upper_limit='8.06e-08', energy_flux_error2='7.13e-06', EG='1.27', time_epoch_completed='1790718617.91', return_code='0', job_id='39466923', GAL2='0.97', EG2='1.22', return_code2='0', photon_flux_error2='4.62e-08', ts2='1.22', photon_index='2.79' WHERE bin_id='947' AND source_name='4FGL J1254.9+1138' AND cadence='weekly';

Database successfully updated.


Analysis Complete.


Tue Sep 29 14:50:18 PDT 2026

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

 FCN=   13841.34     FROM HESSE     STATUS=OK            33 CALLS      250 TOTAL
                     EDM=   .30E-07    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  Prefactor     2.6340        6.2361        .18369E-04   -1.5676    
   2  Index         4.0975        1.6790        .10502E-01   -.18150    
   3  Normalizat    1.2240        .17144        .28026E-03   -.85866    
   4  Prefactor     .97357        .14244        .26397E-03   -.93616    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 2.99952e-08
Minuit parameter uncertainties:
  1  6.23612
  2  1.71348
  3  0.171516
  4  0.142494
 **********
 **   18 **HESSE 
 **********

 FCN=   13841.85     FROM HESSE     STATUS=OK           241 CALLS     1115 TOTAL
                     EDM=   .89E-06    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  Prefactor     1.7253        1.5110        .79925E-03   -1.5682    
   2  Prefactor     13.321        18.122        .27469E-03   -1.5635    
   3  norm          4.8469        3.8755        .45645E-03   -1.5664    
   4  Prefactor     .55511E-10    8.1875        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   5  norm           .0000        16.228        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   6  norm          5.4951        .87005        .42840E-03   -1.5661    
   7  Prefactor     7.2841        7.0870        .37235E-03   -1.5654    
   8  norm          9.1084        1.8912        .33182E-03   -1.5648    
   9  Prefactor     5.1017        4.1016        .44483E-03   -1.5663    
  10  Prefactor     1.7357        11.081        .85842E-03   -1.5682    
  11  Prefactor     6.5453        9.2496        .38787E-03   -1.5657    
  12  Prefactor      .0000        5.3137        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  13  Prefactor     .72164E-09    41.810        .14434E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  14  Prefactor     6.1033        33.927        .38127E-03   -1.5659    
  15  Normalizat    1.2685        .14536        .62398E-01   -.84512    
  16  Prefactor     .95184        .11965        .45657E-01   -.94352    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 8.85506e-07
Minuit parameter uncertainties:
  1  1.51099
  2  18.1216
  3  3.87553
  4  5.1848e-05
  5  7.06271e-06
  6  0.870051
  7  7.08699
  8  1.89124
  9  4.1016
  10  8.77141
  11  9.24957
  12  1.76943e-05
  13  0.000341973
  14  28.7799
  15  0.145404
  16  0.119686
outfile=/lscratch/kocevski/39467020/ltcube_811728001_812332801_4FGL_J1254.9+1138_weekly_bin947.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/39467020/ft2_4FGL_J1254.9+1138_weekly_bin947.fits
.....................!
real 19.19
user 18.47
sys 0.23

Generating the exposure map:
time -p gtexpmap evfile=/lscratch/kocevski/39467020/ft1_filtered_4FGL_J1254.9+1138_weekly_bin947.fits evtable="EVENTS" scfile=/lscratch/kocevski/39467020/ft2_4FGL_J1254.9+1138_weekly_bin947.fits sctable="SC_DATA" expcube=/lscratch/kocevski/39467020/ltcube_811728001_812332801_4FGL_J1254.9+1138_weekly_bin947.fits outfile=/lscratch/kocevski/39467020/expmap_811728001_812332801_4FGL_J1254.9+1138_weekly_bin947.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/39467020/ltcube_811728001_812332801_4FGL_J1254.9+1138_weekly_bin947.fits
.....................!
real 72.48
user 67.54
sys 4.19

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 173 point sources and 0 extended sources

Setting source of interest to:
4FGL J1254.9+1138 @ 193.733 11.6495

Creating the counts map:
time -p gtbin evfile=/lscratch/kocevski/39467020/ft1_filtered_4FGL_J1254.9+1138_weekly_bin947.fits scfile=/lscratch/kocevski/39467020/ft2_4FGL_J1254.9+1138_weekly_bin947.fits outfile=/lscratch/kocevski/39467020/cmap_811728001_812332801_4FGL_J1254.9+1138_weekly_bin947.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=193.733 yref=11.6495 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.26
sys 0.12

Creating the high resolution counts map:
time -p gtbin evfile=/lscratch/kocevski/39467020/ft1_filtered_4FGL_J1254.9+1138_weekly_bin947.fits scfile=/lscratch/kocevski/39467020/ft2_4FGL_J1254.9+1138_weekly_bin947.fits outfile=/lscratch/kocevski/39467020/cmap_HighResolution_811728001_812332801_4FGL_J1254.9+1138_weekly_bin947.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=193.733 yref=11.6495 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.72
user 0.24
sys 0.14

Computing the diffuse response:
time -p gtdiffrsp evfile=/lscratch/kocevski/39467020/ft1_filtered_4FGL_J1254.9+1138_weekly_bin947.fits evtable="EVENTS" scfile=/lscratch/kocevski/39467020/ft2_4FGL_J1254.9+1138_weekly_bin947.fits sctable="SC_DATA" srcmdl=/lscratch/kocevski/39467020/Model_4FGL_J1254.9+1138_weekly_bin947.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 sourceshell-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) = 13841.339974
delta logL = 0.512495953615

Extracting fit parameters...

4FGL J1254.9+1138
   Spectrum: PowerLaw
287    Prefactor:  2.634e+00  6.236e+00  0.000e+00  1.000e+06 ( 1.000e-12)
288        Index:  4.097e+00  1.713e+00  0.000e+00  1.000e+01 (-1.000e+00)
289        Scale:  4.595e+02  0.000e+00  3.000e+01  5.000e+05 ( 1.000e+00) fixed

GAL_V02
   Spectrum: PowerLaw
560    Prefactor:  9.736e-01  1.425e-01  0.000e+00  1.000e+01 ( 1.000e+00)
561        Index:  0.000e+00  0.000e+00 -1.000e+00  1.000e+00 ( 1.000e+00) fixed
562        Scale:  1.000e+02  0.000e+00  5.000e+01  2.000e+02 ( 1.000e+00) fixed

EG_v02
   Spectrum: FileFunction
559   Normalization:  1.224e+00  1.715e-01  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Free Index): 1.22
Ra Dec: 193.733 11.649
Photon Index (Free Index): 4.10 +/- 1.71
Photon Flux (Free Index): 4.41e-08 +/- 4.62e-08
Energy Flux (Free Index): 6.51e-06 +/- 7.13e-06

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/39466913/cmap_HighResolution_811728001_812332801_4FGL_J1254.9+1138_weekly_bin947.png

Cleaning up...

** Nuclear option initiated! **

Updating database...

UPDATE lightcurve_data_v2 SET energy_flux_upper_limit='6.38e-03', comment='SUCCESS', energy_flux2='6.51e-06', dlogl='5.12e-01', photon_flux2='4.41e-08', job_status='DONE', time_completed='2026-09-29 14:50:21.080640', photon_index_error2='1.71', photon_index2='4.10', ts='0.05', fit_tolerance='1e-08', GAL='0.95', photon_index_error='0.00', photon_flux_upper_limit='8.06e-08', energy_flux_error2='7.13e-06', EG='1.27', time_epoch_completed='1790718621.08', return_code='0', job_id='39466913', GAL2='0.97', EG2='1.22', return_code2='0', photon_flux_error2='4.62e-08', ts2='1.22', photon_index='2.79' WHERE bin_id='947' AND source_name='4FGL J1254.9+1138' AND cadence='weekly';

Database successfully updated.


Analysis Complete.


Tue Sep 29 14:50:21 PDT 2026

Done.

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

Extracting fit parameters...

4FGL J1254.9+1138
   Spectrum: PowerLaw
287    Prefactor:  1.736e+00  8.771e+00  0.000e+00  1.000e+06 ( 1.000e-12)
288        Index:  2.791e+00  0.000e+00  0.000e+00  1.000e+01 (-1.000e+00) fixed
289        Scale:  4.595e+02  0.000e+00  3.000e+01  5.000e+05 ( 1.000e+00) fixed

GAL_V02
   Spectrum: PowerLaw
560    Prefactor:  9.518e-01  1.197e-01  0.000e+00  1.000e+01 ( 1.000e+00)
561        Index:  0.000e+00  0.000e+00 -1.000e+00  1.000e+00 ( 1.000e+00) fixed
562        Scale:  1.000e+02  0.000e+00  5.000e+01  2.000e+02 ( 1.000e+00) fixed

EG_v02
   Spectrum: FileFunction
559   Normalization:  1.268e+00  1.454e-01  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Fixed Index): 0.05
Ra Dec: 193.733 11.649
Photon Flux Upper Limit: 8.06097749077e-08 ph cm-2 s-1
Energy Flux Upper Limit: 0.00637848756348 MeV cm-2 s-1

Saving results to:
/lscratch/kocevski/39466920/likelihoodResults_811728001_812332801_4FGL_J1254.9+1138_weekly_bin947.txt

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) = 13841.390494
delta logL = 0.461975966522

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

MINUIT Return Code (Free Index): 0
logL (Free Index) = 13841.3399805
delta logL = 0.51248944982

Fit tolerance = 1e-08

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

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

 MIGRAD MINIMIZATION HAS CONVERGED.

 MIGRAD WILL VERIFY CONVERGENCE AND ERROR MATRIX.

 FCN=   13841.34     FROM MIGRAD    STATUS=CONVERGED     58 CALLS      217 TOTAL
                     EDM=   .72E-08    STRATEGY= 1      ERR MATRIX NOT POS-DEF

  EXT PARAMETER                APPROXIMATE        STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor     2.6340        42.245        .62963E-03    .11886E-01
   2  Index         4.0975        3.3275        .29493        .94304E-04
   3  Normalizat    1.2240        .31436E-01    .63358E-01   -.69698E-04
   4  Prefactor     .97357        .26922E-01    .45939E-01   -.13652E-03
                               ERR DEF=  .500    
Final values: 
  Prefactor  = 2.63398
  Index      = 4.09746
  Normalizat = 1.22395
  Prefactor  = 0.97357
 **********
 **   18 **HESSE 
 **********

 FCN=   13841.34     FROM HESSE     STATUS=OK            33 CALLS      250 TOTAL
                     EDM=   .30E-07    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  Prefactor     2.6340        6.2361        .18369E-04   -1.5676    
   2  Index         4.0975        1.6790        .10502E-01   -.18150    
   3  Normalizat    1.2240        .17144        .28026E-03   -.85866    
   4  Prefactor     .97357        .14244        .26397E-03   -.93616    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 2.99952e-08
Minuit parameter uncertainties:
  1  6.23612
  2  1.71348
  3  0.171516
  4  0.142494
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) = 13841.339974
delta logL = 0.512495953615

Extracting fit parameters...

4FGL J1254.9+1138
   Spectrum: PowerLaw
287    Prefactor:  2.634e+00  6.236e+00  0.000e+00  1.000e+06 ( 1.000e-12)
288        Index:  4.097e+00  1.713e+00  0.000e+00  1.000e+01 (-1.000e+00)
289        Scale:  4.595e+02  0.000e+00  3.000e+01  5.000e+05 ( 1.000e+00) fixed

GAL_V02
   Spectrum: PowerLaw
560    Prefactor:  9.736e-01  1.425e-01  0.000e+00  1.000e+01 ( 1.000e+00)
561        Index:  0.000e+00  0.000e+00 -1.000e+00  1.000e+00 ( 1.000e+00) fixed
562        Scale:  1.000e+02  0.000e+00  5.000e+01  2.000e+02 ( 1.000e+00) fixed

EG_v02
   Spectrum: FileFunction
559   Normalization:  1.224e+00  1.715e-01  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Free Index): 1.22
Ra Dec: 193.733 11.649
Photon Index (Free Index): 4.10 +/- 1.71
Photon Flux (Free Index): 4.41e-08 +/- 4.62e-08
Energy Flux (Free Index): 6.51e-06 +/- 7.13e-06

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/39466920/cmap_HighResolution_811728001_812332801_4FGL_J1254.9+1138_weekly_bin947.png

Cleaning up...

** Nuclear option initiated! **

Updating database...

UPDATE lightcurve_data_v2 SET energy_flux_upper_limit='6.38e-03', comment='SUCCESS', energy_flux2='6.51e-06', dlogl='5.12e-01', photon_flux2='4.41e-08', job_status='DONE', time_completed='2026-09-29 14:50:36.092730', photon_index_error2='1.71', photon_index2='4.10', ts='0.05', fit_tolerance='1e-08', GAL='0.95', photon_index_error='0.00', photon_flux_upper_limit='8.06e-08', energy_flux_error2='7.13e-06', EG='1.27', time_epoch_completed='1790718636.09', return_code='0', job_id='39466920', GAL2='0.97', EG2='1.22', return_code2='0', photon_flux_error2='4.62e-08', ts2='1.22', photon_index='2.79' WHERE bin_id='947' AND source_name='4FGL J1254.9+1138' AND cadence='weekly';

Database successfully updated.


Analysis Complete.


Tue Sep 29 14:50:36 PDT 2026

 GAL_V02
Working on...
/lscratch/kocevski/39466945/ft1_filtered_4FGL_J1254.9+1138_weekly_bin947.fits.....................!
real 48.09
user 44.61
sys 0.69

Creating the likelihood object...
obs = UnbinnedObs('/lscratch/kocevski/39466945/ft1_filtered_4FGL_J1254.9+1138_weekly_bin947.fits', '/lscratch/kocevski/39466945/ft2_4FGL_J1254.9+1138_weekly_bin947.fits', expMap='/lscratch/kocevski/39466945/expmap_811728001_812332801_4FGL_J1254.9+1138_weekly_bin947.fits', expCube='/lscratch/kocevski/39466945/ltcube_811728001_812332801_4FGL_J1254.9+1138_weekly_bin947.fits', irfs='P8R3_SOURCE_V2')
like = UnbinnedAnalysis(obs, '/lscratch/kocevski/39466945/Model_4FGL_J1254.9+1138_weekly_bin947.xml', optimizer='MINUIT')

Using source of interest name: '4FGL J1254.9+1138'

4FGL J1254.9+1138
   Spectrum: PowerLaw
287    Prefactor:  3.627e+00  0.000e+00  0.000e+00  1.000e+06 ( 1.000e-12)
288        Index:  2.791e+00  0.000e+00  0.000e+00  1.000e+01 (-1.000e+00) fixed
289        Scale:  4.595e+02  0.000e+00  3.000e+01  5.000e+05 ( 1.000e+00) fixed


Likelihood Fit Parameters:
Event file(s): /lscratch/kocevski/39466945/ft1_filtered_4FGL_J1254.9+1138_weekly_bin947.fits
Spacecraft file(s): /lscratch/kocevski/39466945/ft2_4FGL_J1254.9+1138_weekly_bin947.fits
Exposure map: /lscratch/kocevski/39466945/expmap_811728001_812332801_4FGL_J1254.9+1138_weekly_bin947.fits
Exposure cube: /lscratch/kocevski/39466945/ltcube_811728001_812332801_4FGL_J1254.9+1138_weekly_bin947.fits
IRFs: P8R3_SOURCE_V2
Source model file: /lscratch/kocevski/39466945/Model_4FGL_J1254.9+1138_weekly_bin947.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) = 13842.6984841

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

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

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'Prefactor '    1.7251       1.0000          .0000       .10000E+07
     2 'Prefactor '    13.273       1.0000          .0000       .10000E+07
     3 'norm      '    4.8519       1.0000          .0000       .10000E+07
     4 'Prefactor '    .19549E-03   1.0000          .0000       .10000E+07
     5 'norm      '    .57242E-02   1.0000          .0000       .10000E+07
     6 'norm      '    5.4946       1.0000          .0000       .10000E+07
     7 'Prefactor '    7.2473       1.0000          .0000       .10000E+07
     8 'norm      '    9.1099       1.0000          .0000       .10000E+07
     9 'Prefactor '    5.1032       1.0000          .0000       .10000E+07
    10 'Prefactor '    1.5413       1.0000          .0000       .10000E+07
    11 'Prefactor '    6.6846       1.0000          .0000       .10000E+07
    12 'Prefactor '    .36829E-03   1.0000          .0000       .10000E+07
    13 'Prefactor '    .82226E-01   1.0000          .0000       .10000E+07
    14 'Prefactor '    6.9154       1.0000          .0000       .10000E+07
    15 'Normalizat'    1.2688       1.0000         .10000E-01   10.000    
    16 'Prefactor '    .95138       1.0000          .0000       10.000    
 **********
 **   15 **SET ERR    .5000    
 **********
 **********
 **   16 **SET GRAD    1.000    
 **********
 **********
 **   17 **MINIMIZE    .5630E+05   .2000E-04
 **********

 MIGRAD MINIMIZATION HAS CONVERGED.

 FCN=   13841.85     FROM MIGRAD    STATUS=CONVERGED    106 CALLS      874 TOTAL
                     EDM=   .13E-09  STRATEGY=1  ERROR MATRIX UNCERTAINTY=  1.2%

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor     1.7253        1.4986        .10805E-06    .98059E-03
   2  Prefactor     13.321        1.5037        .21879E-06   -.27354E-01
   3  norm          4.8469        3.7752       -.69384E-07    .14876E-02
   4  Prefactor     .55511E-10    8.1840       -.14154E-06** at limit **
   5  norm           .0000        16.233       -.20166E-06** at limit **
   6  norm          5.4951        .86941       -.40384E-07   -.69109E-02
   7  Prefactor     7.2841        7.0791        .42353E-06   -.21413E-02
   8  norm          9.1084        1.8900        .12015E-06   -.66307E-03
   9  Prefactor     5.1017        4.1037        .43833E-07   -.25799E-03
  10  Prefactor     1.7357        10.827        .54521E-05   -.10182E-02
  11  Prefactor     6.5453        9.1242       -.32557E-05   -.38122E-02
  12  Prefactor      .0000        5.3256        .52265E-06** at limit **
  13  Prefactor     .72164E-09    42.784        .15162E-05** at limit **
  14  Prefactor     6.1033        33.218       -.83230E-06   -.12587E-04
  15  Normalizat    1.2685        .17272       -.38936E-05   -.76298E-04
  16  Prefactor     .95184        .14181        .58909E-05   -.54439E-04
                               ERR DEF=  .500    
Final values: 
  Prefactor  = 1.7253
  Prefactor  = 13.3207
  norm       = 4.84691
  Prefactor  = 5.55112e-11
  norm       = 0
  norm       = 5.49508
  Prefactor  = 7.28405
  norm       = 9.10838
  Prefactor  = 5.10169
  Prefactor  = 1.73573
  Prefactor  = 6.54525
  Prefactor  = 0
  Prefactor  = 7.21645e-10
  Prefactor  = 6.10331
  Normalizat = 1.26848
  Prefactor  = 0.951843
Done.

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

Extracting fit parameters...

4FGL J1254.9+1138
   Spectrum: PowerLaw
287    Prefactor:  1.736e+00  8.771e+00  0.000e+00  1.000e+06 ( 1.000e-12)
288        Index:  2.791e+00  0.000e+00  0.000e+00  1.000e+01 (-1.000e+00) fixed
289        Scale:  4.595e+02  0.000e+00  3.000e+01  5.000e+05 ( 1.000e+00) fixed

GAL_V02
   Spectrum: PowerLaw
560    Prefactor:  9.518e-01  1.197e-01  0.000e+00  1.000e+01 ( 1.000e+00)
561        Index:  0.000e+00  0.000e+00 -1.000e+00  1.000e+00 ( 1.000e+00) fixed
562        Scale:  1.000e+02  0.000e+00  5.000e+01  2.000e+02 ( 1.000e+00) fixed

EG_v02
   Spectrum: FileFunction
559   Normalization:  1.268e+00  1.454e-01  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Fixed Index): 0.05
Ra Dec: 193.733 11.649
Photon Flux Upper Limit: 8.06097749077e-08 ph cm-2 s-1
Energy Flux Upper Limit: 0.00637848756348 MeV cm-2 s-1

Saving results to:
/lscratch/kocevski/39466938/likelihoodResults_811728001_812332801_4FGL_J1254.9+1138_weekly_bin947.txt

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) = 13841.390494
delta logL = 0.461975966522

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

MINUIT Return Code (Free Index): 0
logL (Free Index) = 13841.3399805
delta logL = 0.51248944982

Fit tolerance = 1e-08

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

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

 MIGRAD MINIMIZATION HAS CONVERGED.

 MIGRAD WILL VERIFY CONVERGENCE AND ERROR MATRIX.

 FCN=   13841.34     FROM MIGRAD    STATUS=CONVERGED     58 CALLS      217 TOTAL
                     EDM=   .72E-08    STRATEGY= 1      ERR MATRIX NOT POS-DEF

  EXT PARAMETER                APPROXIMATE        STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor     2.6340        42.245        .62963E-03    .11886E-01
   2  Index         4.0975        3.3275        .29493        .94304E-04
   3  Normalizat    1.2240        .31436E-01    .63358E-01   -.69698E-04
   4  Prefactor     .97357        .26922E-01    .45939E-01   -.13652E-03
                               ERR DEF=  .500    
Final values: 
  Prefactor  = 2.63398
  Index      = 4.09746
  Normalizat = 1.22395
  Prefactor  = 0.97357
 **********
 **   18 **HESSE 
 **********

 FCN=   13841.34     FROM HESSE     STATUS=OK            33 CALLS      250 TOTAL
                     EDM=   .30E-07    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  Prefactor     2.6340        6.2361        .18369E-04   -1.5676    
   2  Index         4.0975        1.6790        .10502E-01   -.18150    
   3  Normalizat    1.2240        .17144        .28026E-03   -.85866    
   4  Prefactor     .97357        .14244        .26397E-03   -.93616    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 2.99952e-08
Minuit parameter uncertainties:
  1  6.23612
  2  1.71348
  3  0.171516
  4  0.142494
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) = 13841.339974
delta logL = 0.512495953615

Extracting fit parameters...

4FGL J1254.9+1138
   Spectrum: PowerLaw
287    Prefactor:  2.634e+00  6.236e+00  0.000e+00  1.000e+06 ( 1.000e-12)
288        Index:  4.097e+00  1.713e+00  0.000e+00  1.000e+01 (-1.000e+00)
289        Scale:  4.595e+02  0.000e+00  3.000e+01  5.000e+05 ( 1.000e+00) fixed

GAL_V02
   Spectrum: PowerLaw
560    Prefactor:  9.736e-01  1.425e-01  0.000e+00  1.000e+01 ( 1.000e+00)
561        Index:  0.000e+00  0.000e+00 -1.000e+00  1.000e+00 ( 1.000e+00) fixed
562        Scale:  1.000e+02  0.000e+00  5.000e+01  2.000e+02 ( 1.000e+00) fixed

EG_v02
   Spectrum: FileFunction
559   Normalization:  1.224e+00  1.715e-01  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Free Index): 1.22
Ra Dec: 193.733 11.649
Photon Index (Free Index): 4.10 +/- 1.71
Photon Flux (Free Index): 4.41e-08 +/- 4.62e-08
Energy Flux (Free Index): 6.51e-06 +/- 7.13e-06

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/39466938/cmap_HighResolution_811728001_812332801_4FGL_J1254.9+1138_weekly_bin947.png

Cleaning up...

** Nuclear option initiated! **

Updating database...

UPDATE lightcurve_data_v2 SET energy_flux_upper_limit='6.38e-03', comment='SUCCESS', energy_flux2='6.51e-06', dlogl='5.12e-01', photon_flux2='4.41e-08', job_status='DONE', time_completed='2026-09-29 14:50:56.752479', photon_index_error2='1.71', photon_index2='4.10', ts='0.05', fit_tolerance='1e-08', GAL='0.95', photon_index_error='0.00', photon_flux_upper_limit='8.06e-08', energy_flux_error2='7.13e-06', EG='1.27', time_epoch_completed='1790718656.75', return_code='0', job_id='39466938', GAL2='0.97', EG2='1.22', return_code2='0', photon_flux_error2='4.62e-08', ts2='1.22', photon_index='2.79' WHERE bin_id='947' AND source_name='4FGL J1254.9+1138' AND cadence='weekly';

Database successfully updated.


Analysis Complete.


Tue Sep 29 14:50:57 PDT 2026

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

 FCN=   13841.85     FROM HESSE     STATUS=OK           241 CALLS     1115 TOTAL
                     EDM=   .89E-06    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  Prefactor     1.7253        1.5110        .79925E-03   -1.5682    
   2  Prefactor     13.321        18.122        .27469E-03   -1.5635    
   3  norm          4.8469        3.8755        .45645E-03   -1.5664    
   4  Prefactor     .55511E-10    8.1875        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   5  norm           .0000        16.228        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   6  norm          5.4951        .87005        .42840E-03   -1.5661    
   7  Prefactor     7.2841        7.0870        .37235E-03   -1.5654    
   8  norm          9.1084        1.8912        .33182E-03   -1.5648    
   9  Prefactor     5.1017        4.1016        .44483E-03   -1.5663    
  10  Prefactor     1.7357        11.081        .85842E-03   -1.5682    
  11  Prefactor     6.5453        9.2496        .38787E-03   -1.5657    
  12  Prefactor      .0000        5.3137        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  13  Prefactor     .72164E-09    41.810        .14434E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  14  Prefactor     6.1033        33.927        .38127E-03   -1.5659    
  15  Normalizat    1.2685        .14536        .62398E-01   -.84512    
  16  Prefactor     .95184        .11965        .45657E-01   -.94352    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 8.85506e-07
Minuit parameter uncertainties:
  1  1.51099
  2  18.1216
  3  3.87553
  4  5.1848e-05
  5  7.06271e-06
  6  0.870051
  7  7.08699
  8  1.89124
  9  4.1016
  10  8.77141
  11  9.24957
  12  1.76943e-05
  13  0.000341973
  14  28.7799
  15  0.145404
  16  0.119686
e GAL_V02
Working on...
/lscratch/kocevski/39466949/ft1_filtered_4FGL_J1254.9+1138_weekly_bin947.fits.....................!
real 50.45
user 47.40
sys 0.67

Creating the likelihood object...
obs = UnbinnedObs('/lscratch/kocevski/39466949/ft1_filtered_4FGL_J1254.9+1138_weekly_bin947.fits', '/lscratch/kocevski/39466949/ft2_4FGL_J1254.9+1138_weekly_bin947.fits', expMap='/lscratch/kocevski/39466949/expmap_811728001_812332801_4FGL_J1254.9+1138_weekly_bin947.fits', expCube='/lscratch/kocevski/39466949/ltcube_811728001_812332801_4FGL_J1254.9+1138_weekly_bin947.fits', irfs='P8R3_SOURCE_V2')
like = UnbinnedAnalysis(obs, '/lscratch/kocevski/39466949/Model_4FGL_J1254.9+1138_weekly_bin947.xml', optimizer='MINUIT')

Using source of interest name: '4FGL J1254.9+1138'

4FGL J1254.9+1138
   Spectrum: PowerLaw
287    Prefactor:  3.627e+00  0.000e+00  0.000e+00  1.000e+06 ( 1.000e-12)
288        Index:  2.791e+00  0.000e+00  0.000e+00  1.000e+01 (-1.000e+00) fixed
289        Scale:  4.595e+02  0.000e+00  3.000e+01  5.000e+05 ( 1.000e+00) fixed


Likelihood Fit Parameters:
Event file(s): /lscratch/kocevski/39466949/ft1_filtered_4FGL_J1254.9+1138_weekly_bin947.fits
Spacecraft file(s): /lscratch/kocevski/39466949/ft2_4FGL_J1254.9+1138_weekly_bin947.fits
Exposure map: /lscratch/kocevski/39466949/expmap_811728001_812332801_4FGL_J1254.9+1138_weekly_bin947.fits
Exposure cube: /lscratch/kocevski/39466949/ltcube_811728001_812332801_4FGL_J1254.9+1138_weekly_bin947.fits
IRFs: P8R3_SOURCE_V2
Source model file: /lscratch/kocevski/39466949/Model_4FGL_J1254.9+1138_weekly_bin947.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) = 13842.6984841

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

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

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'Prefactor '    1.7251       1.0000          .0000       .10000E+07
     2 'Prefactor '    13.273       1.0000          .0000       .10000E+07
     3 'norm      '    4.8519       1.0000          .0000       .10000E+07
     4 'Prefactor '    .19549E-03   1.0000          .0000       .10000E+07
     5 'norm      '    .57242E-02   1.0000          .0000       .10000E+07
     6 'norm      '    5.4946       1.0000          .0000       .10000E+07
     7 'Prefactor '    7.2473       1.0000          .0000       .10000E+07
     8 'norm      '    9.1099       1.0000          .0000       .10000E+07
     9 'Prefactor '    5.1032       1.0000          .0000       .10000E+07
    10 'Prefactor '    1.5413       1.0000          .0000       .10000E+07
    11 'Prefactor '    6.6846       1.0000          .0000       .10000E+07
    12 'Prefactor '    .36829E-03   1.0000          .0000       .10000E+07
    13 'Prefactor '    .82226E-01   1.0000          .0000       .10000E+07
    14 'Prefactor '    6.9154       1.0000          .0000       .10000E+07
    15 'Normalizat'    1.2688       1.0000         .10000E-01   10.000    
    16 'Prefactor '    .95138       1.0000          .0000       10.000    
 **********
 **   15 **SET ERR    .5000    
 **********
 **********
 **   16 **SET GRAD    1.000    
 **********
 **********
 **   17 **MINIMIZE    .5630E+05   .2000E-04
 **********

 MIGRAD MINIMIZATION HAS CONVERGED.

 FCN=   13841.85     FROM MIGRAD    STATUS=CONVERGED    106 CALLS      874 TOTAL
                     EDM=   .13E-09  STRATEGY=1  ERROR MATRIX UNCERTAINTY=  1.2%

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor     1.7253        1.4986        .10805E-06    .98059E-03
   2  Prefactor     13.321        1.5037        .21879E-06   -.27354E-01
   3  norm          4.8469        3.7752       -.69384E-07    .14876E-02
   4  Prefactor     .55511E-10    8.1840       -.14154E-06** at limit **
   5  norm           .0000        16.233       -.20166E-06** at limit **
   6  norm          5.4951        .86941       -.40384E-07   -.69109E-02
   7  Prefactor     7.2841        7.0791        .42353E-06   -.21413E-02
   8  norm          9.1084        1.8900        .12015E-06   -.66307E-03
   9  Prefactor     5.1017        4.1037        .43833E-07   -.25799E-03
  10  Prefactor     1.7357        10.827        .54521E-05   -.10182E-02
  11  Prefactor     6.5453        9.1242       -.32557E-05   -.38122E-02
  12  Prefactor      .0000        5.3256        .52265E-06** at limit **
  13  Prefactor     .72164E-09    42.784        .15162E-05** at limit **
  14  Prefactor     6.1033        33.218       -.83230E-06   -.12587E-04
  15  Normalizat    1.2685        .17272       -.38936E-05   -.76298E-04
  16  Prefactor     .95184        .14181        .58909E-05   -.54439E-04
                               ERR DEF=  .500    
Final values: 
  Prefactor  = 1.7253
  Prefactor  = 13.3207
  norm       = 4.84691
  Prefactor  = 5.55112e-11
  norm       = 0
  norm       = 5.49508
  Prefactor  = 7.28405
  norm       = 9.10838
  Prefactor  = 5.10169
  Prefactor  = 1.73573
  Prefactor  = 6.54525
  Prefactor  = 0
  Prefactor  = 7.21645e-10
  Prefactor  = 6.10331
  Normalizat = 1.26848
  Prefactor  = 0.951843
e GAL_V02
Working on...
/lscratch/kocevski/39467008/ft1_filtered_4FGL_J1254.9+1138_weekly_bin947.fits.....................!
real 41.79
user 40.61
sys 0.58

Creating the likelihood object...
obs = UnbinnedObs('/lscratch/kocevski/39467008/ft1_filtered_4FGL_J1254.9+1138_weekly_bin947.fits', '/lscratch/kocevski/39467008/ft2_4FGL_J1254.9+1138_weekly_bin947.fits', expMap='/lscratch/kocevski/39467008/expmap_811728001_812332801_4FGL_J1254.9+1138_weekly_bin947.fits', expCube='/lscratch/kocevski/39467008/ltcube_811728001_812332801_4FGL_J1254.9+1138_weekly_bin947.fits', irfs='P8R3_SOURCE_V2')
like = UnbinnedAnalysis(obs, '/lscratch/kocevski/39467008/Model_4FGL_J1254.9+1138_weekly_bin947.xml', optimizer='MINUIT')

Using source of interest name: '4FGL J1254.9+1138'

4FGL J1254.9+1138
   Spectrum: PowerLaw
287    Prefactor:  3.627e+00  0.000e+00  0.000e+00  1.000e+06 ( 1.000e-12)
288        Index:  2.791e+00  0.000e+00  0.000e+00  1.000e+01 (-1.000e+00) fixed
289        Scale:  4.595e+02  0.000e+00  3.000e+01  5.000e+05 ( 1.000e+00) fixed


Likelihood Fit Parameters:
Event file(s): /lscratch/kocevski/39467008/ft1_filtered_4FGL_J1254.9+1138_weekly_bin947.fits
Spacecraft file(s): /lscratch/kocevski/39467008/ft2_4FGL_J1254.9+1138_weekly_bin947.fits
Exposure map: /lscratch/kocevski/39467008/expmap_811728001_812332801_4FGL_J1254.9+1138_weekly_bin947.fits
Exposure cube: /lscratch/kocevski/39467008/ltcube_811728001_812332801_4FGL_J1254.9+1138_weekly_bin947.fits
IRFs: P8R3_SOURCE_V2
Source model file: /lscratch/kocevski/39467008/Model_4FGL_J1254.9+1138_weekly_bin947.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) = 13842.6984841

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

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

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'Prefactor '    1.7251       1.0000          .0000       .10000E+07
     2 'Prefactor '    13.273       1.0000          .0000       .10000E+07
     3 'norm      '    4.8519       1.0000          .0000       .10000E+07
     4 'Prefactor '    .19549E-03   1.0000          .0000       .10000E+07
     5 'norm      '    .57242E-02   1.0000          .0000       .10000E+07
     6 'norm      '    5.4946       1.0000          .0000       .10000E+07
     7 'Prefactor '    7.2473       1.0000          .0000       .10000E+07
     8 'norm      '    9.1099       1.0000          .0000       .10000E+07
     9 'Prefactor '    5.1032       1.0000          .0000       .10000E+07
    10 'Prefactor '    1.5413       1.0000          .0000       .10000E+07
    11 'Prefactor '    6.6846       1.0000          .0000       .10000E+07
    12 'Prefactor '    .36829E-03   1.0000          .0000       .10000E+07
    13 'Prefactor '    .82226E-01   1.0000          .0000       .10000E+07
    14 'Prefactor '    6.9154       1.0000          .0000       .10000E+07
    15 'Normalizat'    1.2688       1.0000         .10000E-01   10.000    
    16 'Prefactor '    .95138       1.0000          .0000       10.000    
 **********
 **   15 **SET ERR    .5000    
 **********
 **********
 **   16 **SET GRAD    1.000    
 **********
 **********
 **   17 **MINIMIZE    .5630E+05   .2000E-04
 **********

 MIGRAD MINIMIZATION HAS CONVERGED.

 FCN=   13841.85     FROM MIGRAD    STATUS=CONVERGED    106 CALLS      874 TOTAL
                     EDM=   .13E-09  STRATEGY=1  ERROR MATRIX UNCERTAINTY=  1.2%

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor     1.7253        1.4986        .10805E-06    .98059E-03
   2  Prefactor     13.321        1.5037        .21879E-06   -.27354E-01
   3  norm          4.8469        3.7752       -.69384E-07    .14876E-02
   4  Prefactor     .55511E-10    8.1840       -.14154E-06** at limit **
   5  norm           .0000        16.233       -.20166E-06** at limit **
   6  norm          5.4951        .86941       -.40384E-07   -.69109E-02
   7  Prefactor     7.2841        7.0791        .42353E-06   -.21413E-02
   8  norm          9.1084        1.8900        .12015E-06   -.66307E-03
   9  Prefactor     5.1017        4.1037        .43833E-07   -.25799E-03
  10  Prefactor     1.7357        10.827        .54521E-05   -.10182E-02
  11  Prefactor     6.5453        9.1242       -.32557E-05   -.38122E-02
  12  Prefactor      .0000        5.3256        .52265E-06** at limit **
  13  Prefactor     .72164E-09    42.784        .15162E-05** at limit **
  14  Prefactor     6.1033        33.218       -.83230E-06   -.12587E-04
  15  Normalizat    1.2685        .17272       -.38936E-05   -.76298E-04
  16  Prefactor     .95184        .14181        .58909E-05   -.54439E-04
                               ERR DEF=  .500    
Final values: 
  Prefactor  = 1.7253
  Prefactor  = 13.3207
  norm       = 4.84691
  Prefactor  = 5.55112e-11
  norm       = 0
  norm       = 5.49508
  Prefactor  = 7.28405
  norm       = 9.10838
  Prefactor  = 5.10169
  Prefactor  = 1.73573
  Prefactor  = 6.54525
  Prefactor  = 0
  Prefactor  = 7.21645e-10
  Prefactor  = 6.10331
  Normalizat = 1.26848
  Prefactor  = 0.951843
 **********
 **   18 **HESSE 
 **********

 FCN=   13841.85     FROM HESSE     STATUS=OK           241 CALLS     1115 TOTAL
                     EDM=   .89E-06    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  Prefactor     1.7253        1.5110        .79925E-03   -1.5682    
   2  Prefactor     13.321        18.122        .27469E-03   -1.5635    
   3  norm          4.8469        3.8755        .45645E-03   -1.5664    
   4  Prefactor     .55511E-10    8.1875        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   5  norm           .0000        16.228        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   6  norm          5.4951        .87005        .42840E-03   -1.5661    
   7  Prefactor     7.2841        7.0870        .37235E-03   -1.5654    
   8  norm          9.1084        1.8912        .33182E-03   -1.5648    
   9  Prefactor     5.1017        4.1016        .44483E-03   -1.5663    
  10  Prefactor     1.7357        11.081        .85842E-03   -1.5682    
  11  Prefactor     6.5453        9.2496        .38787E-03   -1.5657    
  12  Prefactor      .0000        5.3137        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  13  Prefactor     .72164E-09    41.810        .14434E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  14  Prefactor     6.1033        33.927        .38127E-03   -1.5659    
  15  Normalizat    1.2685        .14536        .62398E-01   -.84512    
  16  Prefactor     .95184        .11965        .45657E-01   -.94352    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 8.85506e-07
Minuit parameter uncertainties:
  1  1.51099
  2  18.1216
  3  3.87553
  4  5.1848e-05
  5  7.06271e-06
  6  0.870051
  7  7.08699
  8  1.89124
  9  4.1016
  10  8.77141
  11  9.24957
  12  1.76943e-05
  13  0.000341973
  14  28.7799
  15  0.145404
  16  0.119686
 outfile=/lscratch/kocevski/39467073/ltcube_811728001_812332801_4FGL_J1254.9+1138_weekly_bin947.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/39467073/ft2_4FGL_J1254.9+1138_weekly_bin947.fits
.....................!
real 18.93
user 17.85
sys 0.24

Generating the exposure map:
time -p gtexpmap evfile=/lscratch/kocevski/39467073/ft1_filtered_4FGL_J1254.9+1138_weekly_bin947.fits evtable="EVENTS" scfile=/lscratch/kocevski/39467073/ft2_4FGL_J1254.9+1138_weekly_bin947.fits sctable="SC_DATA" expcube=/lscratch/kocevski/39467073/ltcube_811728001_812332801_4FGL_J1254.9+1138_weekly_bin947.fits outfile=/lscratch/kocevski/39467073/expmap_811728001_812332801_4FGL_J1254.9+1138_weekly_bin947.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/39467073/ltcube_811728001_812332801_4FGL_J1254.9+1138_weekly_bin947.fits
.....................!
real 69.84
user 65.35
sys 3.73

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 173 point sources and 0 extended sources

Setting source of interest to:
4FGL J1254.9+1138 @ 193.733 11.6495

Creating the counts map:
time -p gtbin evfile=/lscratch/kocevski/39467073/ft1_filtered_4FGL_J1254.9+1138_weekly_bin947.fits scfile=/lscratch/kocevski/39467073/ft2_4FGL_J1254.9+1138_weekly_bin947.fits outfile=/lscratch/kocevski/39467073/cmap_811728001_812332801_4FGL_J1254.9+1138_weekly_bin947.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=193.733 yref=11.6495 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.23
sys 0.14

Creating the high resolution counts map:
time -p gtbin evfile=/lscratch/kocevski/39467073/ft1_filtered_4FGL_J1254.9+1138_weekly_bin947.fits scfile=/lscratch/kocevski/39467073/ft2_4FGL_J1254.9+1138_weekly_bin947.fits outfile=/lscratch/kocevski/39467073/cmap_HighResolution_811728001_812332801_4FGL_J1254.9+1138_weekly_bin947.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=193.733 yref=11.6495 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.14

Computing the diffuse response:
time -p gtdiffrsp evfile=/lscratch/kocevski/39467073/ft1_filtered_4FGL_J1254.9+1138_weekly_bin947.fits evtable="EVENTS" scfile=/lscratch/kocevski/39467073/ft2_4FGL_J1254.9+1138_weekly_bin947.fits sctable="SC_DATA" srcmdl=/lscratch/kocevski/39467073/Model_4FGL_J1254.9+1138_weekly_bin947.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 **********
 **   18 **HESSE 
 **********

 FCN=   13841.85     FROM HESSE     STATUS=OK           241 CALLS     1115 TOTAL
                     EDM=   .89E-06    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  Prefactor     1.7253        1.5110        .79925E-03   -1.5682    
   2  Prefactor     13.321        18.122        .27469E-03   -1.5635    
   3  norm          4.8469        3.8755        .45645E-03   -1.5664    
   4  Prefactor     .55511E-10    8.1875        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   5  norm           .0000        16.228        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   6  norm          5.4951        .87005        .42840E-03   -1.5661    
   7  Prefactor     7.2841        7.0870        .37235E-03   -1.5654    
   8  norm          9.1084        1.8912        .33182E-03   -1.5648    
   9  Prefactor     5.1017        4.1016        .44483E-03   -1.5663    
  10  Prefactor     1.7357        11.081        .85842E-03   -1.5682    
  11  Prefactor     6.5453        9.2496        .38787E-03   -1.5657    
  12  Prefactor      .0000        5.3137        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  13  Prefactor     .72164E-09    41.810        .14434E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  14  Prefactor     6.1033        33.927        .38127E-03   -1.5659    
  15  Normalizat    1.2685        .14536        .62398E-01   -.84512    
  16  Prefactor     .95184        .11965        .45657E-01   -.94352    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 8.85506e-07
Minuit parameter uncertainties:
  1  1.51099
  2  18.1216
  3  3.87553
  4  5.1848e-05
  5  7.06271e-06
  6  0.870051
  7  7.08699
  8  1.89124
  9  4.1016
  10  8.77141
  11  9.24957
  12  1.76943e-05
  13  0.000341973
  14  28.7799
  15  0.145404
  16  0.119686
Done.

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

Extracting fit parameters...

4FGL J1254.9+1138
   Spectrum: PowerLaw
287    Prefactor:  1.736e+00  8.771e+00  0.000e+00  1.000e+06 ( 1.000e-12)
288        Index:  2.791e+00  0.000e+00  0.000e+00  1.000e+01 (-1.000e+00) fixed
289        Scale:  4.595e+02  0.000e+00  3.000e+01  5.000e+05 ( 1.000e+00) fixed

GAL_V02
   Spectrum: PowerLaw
560    Prefactor:  9.518e-01  1.197e-01  0.000e+00  1.000e+01 ( 1.000e+00)
561        Index:  0.000e+00  0.000e+00 -1.000e+00  1.000e+00 ( 1.000e+00) fixed
562        Scale:  1.000e+02  0.000e+00  5.000e+01  2.000e+02 ( 1.000e+00) fixed

EG_v02
   Spectrum: FileFunction
559   Normalization:  1.268e+00  1.454e-01  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Fixed Index): 0.05
Ra Dec: 193.733 11.649
Photon Flux Upper Limit: 8.06097749077e-08 ph cm-2 s-1
Energy Flux Upper Limit: 0.00637848756348 MeV cm-2 s-1

Saving results to:
/lscratch/kocevski/39466945/likelihoodResults_811728001_812332801_4FGL_J1254.9+1138_weekly_bin947.txt

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) = 13841.390494
delta logL = 0.461975966522

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

MINUIT Return Code (Free Index): 0
logL (Free Index) = 13841.3399805
delta logL = 0.51248944982

Fit tolerance = 1e-08

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

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

 MIGRAD MINIMIZATION HAS CONVERGED.

 MIGRAD WILL VERIFY CONVERGENCE AND ERROR MATRIX.

 FCN=   13841.34     FROM MIGRAD    STATUS=CONVERGED     58 CALLS      217 TOTAL
                     EDM=   .72E-08    STRATEGY= 1      ERR MATRIX NOT POS-DEF

  EXT PARAMETER                APPROXIMATE        STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor     2.6340        42.245        .62963E-03    .11886E-01
   2  Index         4.0975        3.3275        .29493        .94304E-04
   3  Normalizat    1.2240        .31436E-01    .63358E-01   -.69698E-04
   4  Prefactor     .97357        .26922E-01    .45939E-01   -.13652E-03
                               ERR DEF=  .500    
Final values: 
  Prefactor  = 2.63398
  Index      = 4.09746
  Normalizat = 1.22395
  Prefactor  = 0.97357
 **********
 **   18 **HESSE 
 **********

 FCN=   13841.34     FROM HESSE     STATUS=OK            33 CALLS      250 TOTAL
                     EDM=   .30E-07    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  Prefactor     2.6340        6.2361        .18369E-04   -1.5676    
   2  Index         4.0975        1.6790        .10502E-01   -.18150    
   3  Normalizat    1.2240        .17144        .28026E-03   -.85866    
   4  Prefactor     .97357        .14244        .26397E-03   -.93616    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 2.99952e-08
Minuit parameter uncertainties:
  1  6.23612
  2  1.71348
  3  0.171516
  4  0.142494
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) = 13841.339974
delta logL = 0.512495953615

Extracting fit parameters...

4FGL J1254.9+1138
   Spectrum: PowerLaw
287    Prefactor:  2.634e+00  6.236e+00  0.000e+00  1.000e+06 ( 1.000e-12)
288        Index:  4.097e+00  1.713e+00  0.000e+00  1.000e+01 (-1.000e+00)
289        Scale:  4.595e+02  0.000e+00  3.000e+01  5.000e+05 ( 1.000e+00) fixed

GAL_V02
   Spectrum: PowerLaw
560    Prefactor:  9.736e-01  1.425e-01  0.000e+00  1.000e+01 ( 1.000e+00)
561        Index:  0.000e+00  0.000e+00 -1.000e+00  1.000e+00 ( 1.000e+00) fixed
562        Scale:  1.000e+02  0.000e+00  5.000e+01  2.000e+02 ( 1.000e+00) fixed

EG_v02
   Spectrum: FileFunction
559   Normalization:  1.224e+00  1.715e-01  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Free Index): 1.22
Ra Dec: 193.733 11.649
Photon Index (Free Index): 4.10 +/- 1.71
Photon Flux (Free Index): 4.41e-08 +/- 4.62e-08
Energy Flux (Free Index): 6.51e-06 +/- 7.13e-06

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/39466945/cmap_HighResolution_811728001_812332801_4FGL_J1254.9+1138_weekly_bin947.png

Cleaning up...

** Nuclear option initiated! **

Updating database...

UPDATE lightcurve_data_v2 SET energy_flux_upper_limit='6.38e-03', comment='SUCCESS', energy_flux2='6.51e-06', dlogl='5.12e-01', photon_flux2='4.41e-08', job_status='DONE', time_completed='2026-09-29 14:51:39.884822', photon_index_error2='1.71', photon_index2='4.10', ts='0.05', fit_tolerance='1e-08', GAL='0.95', photon_index_error='0.00', photon_flux_upper_limit='8.06e-08', energy_flux_error2='7.13e-06', EG='1.27', time_epoch_completed='1790718699.88', return_code='0', job_id='39466945', GAL2='0.97', EG2='1.22', return_code2='0', photon_flux_error2='4.62e-08', ts2='1.22', photon_index='2.79' WHERE bin_id='947' AND source_name='4FGL J1254.9+1138' AND cadence='weekly';

Database successfully updated.


Analysis Complete.


Tue Sep 29 14:51:40 PDT 2026

 GAL_V02
Working on...
/lscratch/kocevski/39467020/ft1_filtered_4FGL_J1254.9+1138_weekly_bin947.fits.....................!
real 46.04
user 44.01
sys 1.35

Creating the likelihood object...
obs = UnbinnedObs('/lscratch/kocevski/39467020/ft1_filtered_4FGL_J1254.9+1138_weekly_bin947.fits', '/lscratch/kocevski/39467020/ft2_4FGL_J1254.9+1138_weekly_bin947.fits', expMap='/lscratch/kocevski/39467020/expmap_811728001_812332801_4FGL_J1254.9+1138_weekly_bin947.fits', expCube='/lscratch/kocevski/39467020/ltcube_811728001_812332801_4FGL_J1254.9+1138_weekly_bin947.fits', irfs='P8R3_SOURCE_V2')
like = UnbinnedAnalysis(obs, '/lscratch/kocevski/39467020/Model_4FGL_J1254.9+1138_weekly_bin947.xml', optimizer='MINUIT')

Using source of interest name: '4FGL J1254.9+1138'

4FGL J1254.9+1138
   Spectrum: PowerLaw
287    Prefactor:  3.627e+00  0.000e+00  0.000e+00  1.000e+06 ( 1.000e-12)
288        Index:  2.791e+00  0.000e+00  0.000e+00  1.000e+01 (-1.000e+00) fixed
289        Scale:  4.595e+02  0.000e+00  3.000e+01  5.000e+05 ( 1.000e+00) fixed


Likelihood Fit Parameters:
Event file(s): /lscratch/kocevski/39467020/ft1_filtered_4FGL_J1254.9+1138_weekly_bin947.fits
Spacecraft file(s): /lscratch/kocevski/39467020/ft2_4FGL_J1254.9+1138_weekly_bin947.fits
Exposure map: /lscratch/kocevski/39467020/expmap_811728001_812332801_4FGL_J1254.9+1138_weekly_bin947.fits
Exposure cube: /lscratch/kocevski/39467020/ltcube_811728001_812332801_4FGL_J1254.9+1138_weekly_bin947.fits
IRFs: P8R3_SOURCE_V2
Source model file: /lscratch/kocevski/39467020/Model_4FGL_J1254.9+1138_weekly_bin947.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) = 13842.6984841

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

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

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'Prefactor '    1.7251       1.0000          .0000       .10000E+07
     2 'Prefactor '    13.273       1.0000          .0000       .10000E+07
     3 'norm      '    4.8519       1.0000          .0000       .10000E+07
     4 'Prefactor '    .19549E-03   1.0000          .0000       .10000E+07
     5 'norm      '    .57242E-02   1.0000          .0000       .10000E+07
     6 'norm      '    5.4946       1.0000          .0000       .10000E+07
     7 'Prefactor '    7.2473       1.0000          .0000       .10000E+07
     8 'norm      '    9.1099       1.0000          .0000       .10000E+07
     9 'Prefactor '    5.1032       1.0000          .0000       .10000E+07
    10 'Prefactor '    1.5413       1.0000          .0000       .10000E+07
    11 'Prefactor '    6.6846       1.0000          .0000       .10000E+07
    12 'Prefactor '    .36829E-03   1.0000          .0000       .10000E+07
    13 'Prefactor '    .82226E-01   1.0000          .0000       .10000E+07
    14 'Prefactor '    6.9154       1.0000          .0000       .10000E+07
    15 'Normalizat'    1.2688       1.0000         .10000E-01   10.000    
    16 'Prefactor '    .95138       1.0000          .0000       10.000    
 **********
 **   15 **SET ERR    .5000    
 **********
 **********
 **   16 **SET GRAD    1.000    
 **********
 **********
 **   17 **MINIMIZE    .5630E+05   .2000E-04
 **********

 MIGRAD MINIMIZATION HAS CONVERGED.

 FCN=   13841.85     FROM MIGRAD    STATUS=CONVERGED    106 CALLS      874 TOTAL
                     EDM=   .13E-09  STRATEGY=1  ERROR MATRIX UNCERTAINTY=  1.2%

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor     1.7253        1.4986        .10805E-06    .98059E-03
   2  Prefactor     13.321        1.5037        .21879E-06   -.27354E-01
   3  norm          4.8469        3.7752       -.69384E-07    .14876E-02
   4  Prefactor     .55511E-10    8.1840       -.14154E-06** at limit **
   5  norm           .0000        16.233       -.20166E-06** at limit **
   6  norm          5.4951        .86941       -.40384E-07   -.69109E-02
   7  Prefactor     7.2841        7.0791        .42353E-06   -.21413E-02
   8  norm          9.1084        1.8900        .12015E-06   -.66307E-03
   9  Prefactor     5.1017        4.1037        .43833E-07   -.25799E-03
  10  Prefactor     1.7357        10.827        .54521E-05   -.10182E-02
  11  Prefactor     6.5453        9.1242       -.32557E-05   -.38122E-02
  12  Prefactor      .0000        5.3256        .52265E-06** at limit **
  13  Prefactor     .72164E-09    42.784        .15162E-05** at limit **
  14  Prefactor     6.1033        33.218       -.83230E-06   -.12587E-04
  15  Normalizat    1.2685        .17272       -.38936E-05   -.76298E-04
  16  Prefactor     .95184        .14181        .58909E-05   -.54439E-04
                               ERR DEF=  .500    
Final values: 
  Prefactor  = 1.7253
  Prefactor  = 13.3207
  norm       = 4.84691
  Prefactor  = 5.55112e-11
  norm       = 0
  norm       = 5.49508
  Prefactor  = 7.28405
  norm       = 9.10838
  Prefactor  = 5.10169
  Prefactor  = 1.73573
  Prefactor  = 6.54525
  Prefactor  = 0
  Prefactor  = 7.21645e-10
  Prefactor  = 6.10331
  Normalizat = 1.26848
  Prefactor  = 0.951843
Done.

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

Extracting fit parameters...

4FGL J1254.9+1138
   Spectrum: PowerLaw
287    Prefactor:  1.736e+00  8.771e+00  0.000e+00  1.000e+06 ( 1.000e-12)
288        Index:  2.791e+00  0.000e+00  0.000e+00  1.000e+01 (-1.000e+00) fixed
289        Scale:  4.595e+02  0.000e+00  3.000e+01  5.000e+05 ( 1.000e+00) fixed

GAL_V02
   Spectrum: PowerLaw
560    Prefactor:  9.518e-01  1.197e-01  0.000e+00  1.000e+01 ( 1.000e+00)
561        Index:  0.000e+00  0.000e+00 -1.000e+00  1.000e+00 ( 1.000e+00) fixed
562        Scale:  1.000e+02  0.000e+00  5.000e+01  2.000e+02 ( 1.000e+00) fixed

EG_v02
   Spectrum: FileFunction
559   Normalization:  1.268e+00  1.454e-01  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Fixed Index): 0.05
Ra Dec: 193.733 11.649
Photon Flux Upper Limit: 8.06097749077e-08 ph cm-2 s-1
Energy Flux Upper Limit: 0.00637848756348 MeV cm-2 s-1

Saving results to:
/lscratch/kocevski/39466949/likelihoodResults_811728001_812332801_4FGL_J1254.9+1138_weekly_bin947.txt

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) = 13841.390494
delta logL = 0.461975966522

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

MINUIT Return Code (Free Index): 0
logL (Free Index) = 13841.3399805
delta logL = 0.51248944982

Fit tolerance = 1e-08

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

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

 MIGRAD MINIMIZATION HAS CONVERGED.

 MIGRAD WILL VERIFY CONVERGENCE AND ERROR MATRIX.

 FCN=   13841.34     FROM MIGRAD    STATUS=CONVERGED     58 CALLS      217 TOTAL
                     EDM=   .72E-08    STRATEGY= 1      ERR MATRIX NOT POS-DEF

  EXT PARAMETER                APPROXIMATE        STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor     2.6340        42.245        .62963E-03    .11886E-01
   2  Index         4.0975        3.3275        .29493        .94304E-04
   3  Normalizat    1.2240        .31436E-01    .63358E-01   -.69698E-04
   4  Prefactor     .97357        .26922E-01    .45939E-01   -.13652E-03
                               ERR DEF=  .500    
Final values: 
  Prefactor  = 2.63398
  Index      = 4.09746
  Normalizat = 1.22395
  Prefactor  = 0.97357
 **********
 **   18 **HESSE 
 **********

 FCN=   13841.85     FROM HESSE     STATUS=OK           241 CALLS     1115 TOTAL
                     EDM=   .89E-06    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  Prefactor     1.7253        1.5110        .79925E-03   -1.5682    
   2  Prefactor     13.321        18.122        .27469E-03   -1.5635    
   3  norm          4.8469        3.8755        .45645E-03   -1.5664    
   4  Prefactor     .55511E-10    8.1875        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   5  norm           .0000        16.228        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   6  norm          5.4951        .87005        .42840E-03   -1.5661    
   7  Prefactor     7.2841        7.0870        .37235E-03   -1.5654    
   8  norm          9.1084        1.8912        .33182E-03   -1.5648    
   9  Prefactor     5.1017        4.1016        .44483E-03   -1.5663    
  10  Prefactor     1.7357        11.081        .85842E-03   -1.5682    
  11  Prefactor     6.5453        9.2496        .38787E-03   -1.5657    
  12  Prefactor      .0000        5.3137        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  13  Prefactor     .72164E-09    41.810        .14434E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  14  Prefactor     6.1033        33.927        .38127E-03   -1.5659    
  15  Normalizat    1.2685        .14536        .62398E-01   -.84512    
  16  Prefactor     .95184        .11965        .45657E-01   -.94352    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 8.85506e-07
Minuit parameter uncertainties:
  1  1.51099
  2  18.1216
  3  3.87553
  4  5.1848e-05
  5  7.06271e-06
  6  0.870051
  7  7.08699
  8  1.89124
  9  4.1016
  10  8.77141
  11  9.24957
  12  1.76943e-05
  13  0.000341973
  14  28.7799
  15  0.145404
  16  0.119686
Done.

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

Extracting fit parameters...

4FGL J1254.9+1138
   Spectrum: PowerLaw
287    Prefactor:  1.736e+00  8.771e+00  0.000e+00  1.000e+06 ( 1.000e-12)
288        Index:  2.791e+00  0.000e+00  0.000e+00  1.000e+01 (-1.000e+00) fixed
289        Scale:  4.595e+02  0.000e+00  3.000e+01  5.000e+05 ( 1.000e+00) fixed

GAL_V02
   Spectrum: PowerLaw
560    Prefactor:  9.518e-01  1.197e-01  0.000e+00  1.000e+01 ( 1.000e+00)
561        Index:  0.000e+00  0.000e+00 -1.000e+00  1.000e+00 ( 1.000e+00) fixed
562        Scale:  1.000e+02  0.000e+00  5.000e+01  2.000e+02 ( 1.000e+00) fixed

EG_v02
   Spectrum: FileFunction
559   Normalization:  1.268e+00  1.454e-01  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Fixed Index): 0.05
Ra Dec: 193.733 11.649
Photon Flux Upper Limit: 8.06097749077e-08 ph cm-2 s-1
Energy Flux Upper Limit: 0.00637848756348 MeV cm-2 s-1

Saving results to:
/lscratch/kocevski/39467008/likelihoodResults_811728001_812332801_4FGL_J1254.9+1138_weekly_bin947.txt

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) = 13841.390494
delta logL = 0.461975966522

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

MINUIT Return Code (Free Index): 0
logL (Free Index) = 13841.3399805
delta logL = 0.51248944982

Fit tolerance = 1e-08

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

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

 MIGRAD MINIMIZATION HAS CONVERGED.

 MIGRAD WILL VERIFY CONVERGENCE AND ERROR MATRIX.

 FCN=   13841.34     FROM MIGRAD    STATUS=CONVERGED     58 CALLS      217 TOTAL
                     EDM=   .72E-08    STRATEGY= 1      ERR MATRIX NOT POS-DEF

  EXT PARAMETER                APPROXIMATE        STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor     2.6340        42.245        .62963E-03    .11886E-01
   2  Index         4.0975        3.3275        .29493        .94304E-04
   3  Normalizat    1.2240        .31436E-01    .63358E-01   -.69698E-04
   4  Prefactor     .97357        .26922E-01    .45939E-01   -.13652E-03
                               ERR DEF=  .500    
Final values: 
  Prefactor  = 2.63398
  Index      = 4.09746
  Normalizat = 1.22395
  Prefactor  = 0.97357
 **********
 **   18 **HESSE 
 **********

 FCN=   13841.34     FROM HESSE     STATUS=OK            33 CALLS      250 TOTAL
                     EDM=   .30E-07    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  Prefactor     2.6340        6.2361        .18369E-04   -1.5676    
   2  Index         4.0975        1.6790        .10502E-01   -.18150    
   3  Normalizat    1.2240        .17144        .28026E-03   -.85866    
   4  Prefactor     .97357        .14244        .26397E-03   -.93616    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 2.99952e-08
Minuit parameter uncertainties:
  1  6.23612
  2  1.71348
  3  0.171516
  4  0.142494
 **********
 **   18 **HESSE 
 **********

 FCN=   13841.34     FROM HESSE     STATUS=OK            33 CALLS      250 TOTAL
                     EDM=   .30E-07    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  Prefactor     2.6340        6.2361        .18369E-04   -1.5676    
   2  Index         4.0975        1.6790        .10502E-01   -.18150    
   3  Normalizat    1.2240        .17144        .28026E-03   -.85866    
   4  Prefactor     .97357        .14244        .26397E-03   -.93616    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 2.99952e-08
Minuit parameter uncertainties:
  1  6.23612
  2  1.71348
  3  0.171516
  4  0.142494
shell-init: error retrieving current directory: getcwd: cannot access parent directories: No such file or directory
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) = 13841.339974
delta logL = 0.512495953615

Extracting fit parameters...

4FGL J1254.9+1138
   Spectrum: PowerLaw
287    Prefactor:  2.634e+00  6.236e+00  0.000e+00  1.000e+06 ( 1.000e-12)
288        Index:  4.097e+00  1.713e+00  0.000e+00  1.000e+01 (-1.000e+00)
289        Scale:  4.595e+02  0.000e+00  3.000e+01  5.000e+05 ( 1.000e+00) fixed

GAL_V02
   Spectrum: PowerLaw
560    Prefactor:  9.736e-01  1.425e-01  0.000e+00  1.000e+01 ( 1.000e+00)
561        Index:  0.000e+00  0.000e+00 -1.000e+00  1.000e+00 ( 1.000e+00) fixed
562        Scale:  1.000e+02  0.000e+00  5.000e+01  2.000e+02 ( 1.000e+00) fixed

EG_v02
   Spectrum: FileFunction
559   Normalization:  1.224e+00  1.715e-01  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Free Index): 1.22
Ra Dec: 193.733 11.649
Photon Index (Free Index): 4.10 +/- 1.71
Photon Flux (Free Index): 4.41e-08 +/- 4.62e-08
Energy Flux (Free Index): 6.51e-06 +/- 7.13e-06

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/39466949/cmap_HighResolution_811728001_812332801_4FGL_J1254.9+1138_weekly_bin947.png

Cleaning up...

** Nuclear option initiated! **

Updating database...

UPDATE lightcurve_data_v2 SET energy_flux_upper_limit='6.38e-03', comment='SUCCESS', energy_flux2='6.51e-06', dlogl='5.12e-01', photon_flux2='4.41e-08', job_status='DONE', time_completed='2026-09-29 14:52:12.873974', photon_index_error2='1.71', photon_index2='4.10', ts='0.05', fit_tolerance='1e-08', GAL='0.95', photon_index_error='0.00', photon_flux_upper_limit='8.06e-08', energy_flux_error2='7.13e-06', EG='1.27', time_epoch_completed='1790718732.87', return_code='0', job_id='39466949', GAL2='0.97', EG2='1.22', return_code2='0', photon_flux_error2='4.62e-08', ts2='1.22', photon_index='2.79' WHERE bin_id='947' AND source_name='4FGL J1254.9+1138' AND cadence='weekly';

Database successfully updated.


Analysis Complete.


Tue Sep 29 14:52:13 PDT 2026

Done.

MINUIT Return Code (Free Index): 0
logL (Free Index) = 13841.339974
delta logL = 0.512495953615

Extracting fit parameters...

4FGL J1254.9+1138
   Spectrum: PowerLaw
287    Prefactor:  2.634e+00  6.236e+00  0.000e+00  1.000e+06 ( 1.000e-12)
288        Index:  4.097e+00  1.713e+00  0.000e+00  1.000e+01 (-1.000e+00)
289        Scale:  4.595e+02  0.000e+00  3.000e+01  5.000e+05 ( 1.000e+00) fixed

GAL_V02
   Spectrum: PowerLaw
560    Prefactor:  9.736e-01  1.425e-01  0.000e+00  1.000e+01 ( 1.000e+00)
561        Index:  0.000e+00  0.000e+00 -1.000e+00  1.000e+00 ( 1.000e+00) fixed
562        Scale:  1.000e+02  0.000e+00  5.000e+01  2.000e+02 ( 1.000e+00) fixed

EG_v02
   Spectrum: FileFunction
559   Normalization:  1.224e+00  1.715e-01  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Free Index): 1.22
Ra Dec: 193.733 11.649
Photon Index (Free Index): 4.10 +/- 1.71
Photon Flux (Free Index): 4.41e-08 +/- 4.62e-08
Energy Flux (Free Index): 6.51e-06 +/- 7.13e-06

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/39467008/cmap_HighResolution_811728001_812332801_4FGL_J1254.9+1138_weekly_bin947.png

Cleaning up...

** Nuclear option initiated! **

Updating database...

UPDATE lightcurve_data_v2 SET energy_flux_upper_limit='6.38e-03', comment='SUCCESS', energy_flux2='6.51e-06', dlogl='5.12e-01', photon_flux2='4.41e-08', job_status='DONE', time_completed='2026-09-29 14:52:12.956673', photon_index_error2='1.71', photon_index2='4.10', ts='0.05', fit_tolerance='1e-08', GAL='0.95', photon_index_error='0.00', photon_flux_upper_limit='8.06e-08', energy_flux_error2='7.13e-06', EG='1.27', time_epoch_completed='1790718732.96', return_code='0', job_id='39467008', GAL2='0.97', EG2='1.22', return_code2='0', photon_flux_error2='4.62e-08', ts2='1.22', photon_index='2.79' WHERE bin_id='947' AND source_name='4FGL J1254.9+1138' AND cadence='weekly';

Database successfully updated.


Analysis Complete.


Tue Sep 29 14:52:13 PDT 2026

Done.

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

Extracting fit parameters...

4FGL J1254.9+1138
   Spectrum: PowerLaw
287    Prefactor:  1.736e+00  8.771e+00  0.000e+00  1.000e+06 ( 1.000e-12)
288        Index:  2.791e+00  0.000e+00  0.000e+00  1.000e+01 (-1.000e+00) fixed
289        Scale:  4.595e+02  0.000e+00  3.000e+01  5.000e+05 ( 1.000e+00) fixed

GAL_V02
   Spectrum: PowerLaw
560    Prefactor:  9.518e-01  1.197e-01  0.000e+00  1.000e+01 ( 1.000e+00)
561        Index:  0.000e+00  0.000e+00 -1.000e+00  1.000e+00 ( 1.000e+00) fixed
562        Scale:  1.000e+02  0.000e+00  5.000e+01  2.000e+02 ( 1.000e+00) fixed

EG_v02
   Spectrum: FileFunction
559   Normalization:  1.268e+00  1.454e-01  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Fixed Index): 0.05
Ra Dec: 193.733 11.649
Photon Flux Upper Limit: 8.06097749077e-08 ph cm-2 s-1
Energy Flux Upper Limit: 0.00637848756348 MeV cm-2 s-1

Saving results to:
/lscratch/kocevski/39467020/likelihoodResults_811728001_812332801_4FGL_J1254.9+1138_weekly_bin947.txt

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) = 13841.390494
delta logL = 0.461975966522

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

MINUIT Return Code (Free Index): 0
logL (Free Index) = 13841.3399805
delta logL = 0.51248944982

Fit tolerance = 1e-08

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

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

 MIGRAD MINIMIZATION HAS CONVERGED.

 MIGRAD WILL VERIFY CONVERGENCE AND ERROR MATRIX.

 FCN=   13841.34     FROM MIGRAD    STATUS=CONVERGED     58 CALLS      217 TOTAL
                     EDM=   .72E-08    STRATEGY= 1      ERR MATRIX NOT POS-DEF

  EXT PARAMETER                APPROXIMATE        STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor     2.6340        42.245        .62963E-03    .11886E-01
   2  Index         4.0975        3.3275        .29493        .94304E-04
   3  Normalizat    1.2240        .31436E-01    .63358E-01   -.69698E-04
   4  Prefactor     .97357        .26922E-01    .45939E-01   -.13652E-03
                               ERR DEF=  .500    
Final values: 
  Prefactor  = 2.63398
  Index      = 4.09746
  Normalizat = 1.22395
  Prefactor  = 0.97357
 **********
 **   18 **HESSE 
 **********

 FCN=   13841.34     FROM HESSE     STATUS=OK            33 CALLS      250 TOTAL
                     EDM=   .30E-07    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  Prefactor     2.6340        6.2361        .18369E-04   -1.5676    
   2  Index         4.0975        1.6790        .10502E-01   -.18150    
   3  Normalizat    1.2240        .17144        .28026E-03   -.85866    
   4  Prefactor     .97357        .14244        .26397E-03   -.93616    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 2.99952e-08
Minuit parameter uncertainties:
  1  6.23612
  2  1.71348
  3  0.171516
  4  0.142494
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) = 13841.339974
delta logL = 0.512495953615

Extracting fit parameters...

4FGL J1254.9+1138
   Spectrum: PowerLaw
287    Prefactor:  2.634e+00  6.236e+00  0.000e+00  1.000e+06 ( 1.000e-12)
288        Index:  4.097e+00  1.713e+00  0.000e+00  1.000e+01 (-1.000e+00)
289        Scale:  4.595e+02  0.000e+00  3.000e+01  5.000e+05 ( 1.000e+00) fixed

GAL_V02
   Spectrum: PowerLaw
560    Prefactor:  9.736e-01  1.425e-01  0.000e+00  1.000e+01 ( 1.000e+00)
561        Index:  0.000e+00  0.000e+00 -1.000e+00  1.000e+00 ( 1.000e+00) fixed
562        Scale:  1.000e+02  0.000e+00  5.000e+01  2.000e+02 ( 1.000e+00) fixed

EG_v02
   Spectrum: FileFunction
559   Normalization:  1.224e+00  1.715e-01  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Free Index): 1.22
Ra Dec: 193.733 11.649
Photon Index (Free Index): 4.10 +/- 1.71
Photon Flux (Free Index): 4.41e-08 +/- 4.62e-08
Energy Flux (Free Index): 6.51e-06 +/- 7.13e-06

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/39467020/cmap_HighResolution_811728001_812332801_4FGL_J1254.9+1138_weekly_bin947.png

Cleaning up...

** Nuclear option initiated! **

Updating database...

UPDATE lightcurve_data_v2 SET energy_flux_upper_limit='6.38e-03', comment='SUCCESS', energy_flux2='6.51e-06', dlogl='5.12e-01', photon_flux2='4.41e-08', job_status='DONE', time_completed='2026-09-29 14:52:50.203634', photon_index_error2='1.71', photon_index2='4.10', ts='0.05', fit_tolerance='1e-08', GAL='0.95', photon_index_error='0.00', photon_flux_upper_limit='8.06e-08', energy_flux_error2='7.13e-06', EG='1.27', time_epoch_completed='1790718770.2', return_code='0', job_id='39467020', GAL2='0.97', EG2='1.22', return_code2='0', photon_flux_error2='4.62e-08', ts2='1.22', photon_index='2.79' WHERE bin_id='947' AND source_name='4FGL J1254.9+1138' AND cadence='weekly';

Database successfully updated.


Analysis Complete.


Tue Sep 29 14:52:50 PDT 2026

e GAL_V02
Working on...
/lscratch/kocevski/39467073/ft1_filtered_4FGL_J1254.9+1138_weekly_bin947.fits.....................!
real 42.65
user 41.44
sys 0.57

Creating the likelihood object...
obs = UnbinnedObs('/lscratch/kocevski/39467073/ft1_filtered_4FGL_J1254.9+1138_weekly_bin947.fits', '/lscratch/kocevski/39467073/ft2_4FGL_J1254.9+1138_weekly_bin947.fits', expMap='/lscratch/kocevski/39467073/expmap_811728001_812332801_4FGL_J1254.9+1138_weekly_bin947.fits', expCube='/lscratch/kocevski/39467073/ltcube_811728001_812332801_4FGL_J1254.9+1138_weekly_bin947.fits', irfs='P8R3_SOURCE_V2')
like = UnbinnedAnalysis(obs, '/lscratch/kocevski/39467073/Model_4FGL_J1254.9+1138_weekly_bin947.xml', optimizer='MINUIT')

Using source of interest name: '4FGL J1254.9+1138'

4FGL J1254.9+1138
   Spectrum: PowerLaw
287    Prefactor:  3.627e+00  0.000e+00  0.000e+00  1.000e+06 ( 1.000e-12)
288        Index:  2.791e+00  0.000e+00  0.000e+00  1.000e+01 (-1.000e+00) fixed
289        Scale:  4.595e+02  0.000e+00  3.000e+01  5.000e+05 ( 1.000e+00) fixed


Likelihood Fit Parameters:
Event file(s): /lscratch/kocevski/39467073/ft1_filtered_4FGL_J1254.9+1138_weekly_bin947.fits
Spacecraft file(s): /lscratch/kocevski/39467073/ft2_4FGL_J1254.9+1138_weekly_bin947.fits
Exposure map: /lscratch/kocevski/39467073/expmap_811728001_812332801_4FGL_J1254.9+1138_weekly_bin947.fits
Exposure cube: /lscratch/kocevski/39467073/ltcube_811728001_812332801_4FGL_J1254.9+1138_weekly_bin947.fits
IRFs: P8R3_SOURCE_V2
Source model file: /lscratch/kocevski/39467073/Model_4FGL_J1254.9+1138_weekly_bin947.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) = 13842.6984841

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

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

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'Prefactor '    1.7251       1.0000          .0000       .10000E+07
     2 'Prefactor '    13.273       1.0000          .0000       .10000E+07
     3 'norm      '    4.8519       1.0000          .0000       .10000E+07
     4 'Prefactor '    .19549E-03   1.0000          .0000       .10000E+07
     5 'norm      '    .57242E-02   1.0000          .0000       .10000E+07
     6 'norm      '    5.4946       1.0000          .0000       .10000E+07
     7 'Prefactor '    7.2473       1.0000          .0000       .10000E+07
     8 'norm      '    9.1099       1.0000          .0000       .10000E+07
     9 'Prefactor '    5.1032       1.0000          .0000       .10000E+07
    10 'Prefactor '    1.5413       1.0000          .0000       .10000E+07
    11 'Prefactor '    6.6846       1.0000          .0000       .10000E+07
    12 'Prefactor '    .36829E-03   1.0000          .0000       .10000E+07
    13 'Prefactor '    .82226E-01   1.0000          .0000       .10000E+07
    14 'Prefactor '    6.9154       1.0000          .0000       .10000E+07
    15 'Normalizat'    1.2688       1.0000         .10000E-01   10.000    
    16 'Prefactor '    .95138       1.0000          .0000       10.000    
 **********
 **   15 **SET ERR    .5000    
 **********
 **********
 **   16 **SET GRAD    1.000    
 **********
 **********
 **   17 **MINIMIZE    .5630E+05   .2000E-04
 **********

 MIGRAD MINIMIZATION HAS CONVERGED.

 FCN=   13841.85     FROM MIGRAD    STATUS=CONVERGED    106 CALLS      874 TOTAL
                     EDM=   .13E-09  STRATEGY=1  ERROR MATRIX UNCERTAINTY=  1.2%

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor     1.7253        1.4986        .10805E-06    .98059E-03
   2  Prefactor     13.321        1.5037        .21879E-06   -.27354E-01
   3  norm          4.8469        3.7752       -.69384E-07    .14876E-02
   4  Prefactor     .55511E-10    8.1840       -.14154E-06** at limit **
   5  norm           .0000        16.233       -.20166E-06** at limit **
   6  norm          5.4951        .86941       -.40384E-07   -.69109E-02
   7  Prefactor     7.2841        7.0791        .42353E-06   -.21413E-02
   8  norm          9.1084        1.8900        .12015E-06   -.66307E-03
   9  Prefactor     5.1017        4.1037        .43833E-07   -.25799E-03
  10  Prefactor     1.7357        10.827        .54521E-05   -.10182E-02
  11  Prefactor     6.5453        9.1242       -.32557E-05   -.38122E-02
  12  Prefactor      .0000        5.3256        .52265E-06** at limit **
  13  Prefactor     .72164E-09    42.784        .15162E-05** at limit **
  14  Prefactor     6.1033        33.218       -.83230E-06   -.12587E-04
  15  Normalizat    1.2685        .17272       -.38936E-05   -.76298E-04
  16  Prefactor     .95184        .14181        .58909E-05   -.54439E-04
                               ERR DEF=  .500    
Final values: 
  Prefactor  = 1.7253
  Prefactor  = 13.3207
  norm       = 4.84691
  Prefactor  = 5.55112e-11
  norm       = 0
  norm       = 5.49508
  Prefactor  = 7.28405
  norm       = 9.10838
  Prefactor  = 5.10169
  Prefactor  = 1.73573
  Prefactor  = 6.54525
  Prefactor  = 0
  Prefactor  = 7.21645e-10
  Prefactor  = 6.10331
  Normalizat = 1.26848
  Prefactor  = 0.951843
 **********
 **   18 **HESSE 
 **********

 FCN=   13841.85     FROM HESSE     STATUS=OK           241 CALLS     1115 TOTAL
                     EDM=   .89E-06    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  Prefactor     1.7253        1.5110        .79925E-03   -1.5682    
   2  Prefactor     13.321        18.122        .27469E-03   -1.5635    
   3  norm          4.8469        3.8755        .45645E-03   -1.5664    
   4  Prefactor     .55511E-10    8.1875        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   5  norm           .0000        16.228        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   6  norm          5.4951        .87005        .42840E-03   -1.5661    
   7  Prefactor     7.2841        7.0870        .37235E-03   -1.5654    
   8  norm          9.1084        1.8912        .33182E-03   -1.5648    
   9  Prefactor     5.1017        4.1016        .44483E-03   -1.5663    
  10  Prefactor     1.7357        11.081        .85842E-03   -1.5682    
  11  Prefactor     6.5453        9.2496        .38787E-03   -1.5657    
  12  Prefactor      .0000        5.3137        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  13  Prefactor     .72164E-09    41.810        .14434E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  14  Prefactor     6.1033        33.927        .38127E-03   -1.5659    
  15  Normalizat    1.2685        .14536        .62398E-01   -.84512    
  16  Prefactor     .95184        .11965        .45657E-01   -.94352    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 8.85506e-07
Minuit parameter uncertainties:
  1  1.51099
  2  18.1216
  3  3.87553
  4  5.1848e-05
  5  7.06271e-06
  6  0.870051
  7  7.08699
  8  1.89124
  9  4.1016
  10  8.77141
  11  9.24957
  12  1.76943e-05
  13  0.000341973
  14  28.7799
  15  0.145404
  16  0.119686
Done.

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

Extracting fit parameters...

4FGL J1254.9+1138
   Spectrum: PowerLaw
287    Prefactor:  1.736e+00  8.771e+00  0.000e+00  1.000e+06 ( 1.000e-12)
288        Index:  2.791e+00  0.000e+00  0.000e+00  1.000e+01 (-1.000e+00) fixed
289        Scale:  4.595e+02  0.000e+00  3.000e+01  5.000e+05 ( 1.000e+00) fixed

GAL_V02
   Spectrum: PowerLaw
560    Prefactor:  9.518e-01  1.197e-01  0.000e+00  1.000e+01 ( 1.000e+00)
561        Index:  0.000e+00  0.000e+00 -1.000e+00  1.000e+00 ( 1.000e+00) fixed
562        Scale:  1.000e+02  0.000e+00  5.000e+01  2.000e+02 ( 1.000e+00) fixed

EG_v02
   Spectrum: FileFunction
559   Normalization:  1.268e+00  1.454e-01  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Fixed Index): 0.05
Ra Dec: 193.733 11.649
Photon Flux Upper Limit: 8.06097749077e-08 ph cm-2 s-1
Energy Flux Upper Limit: 0.00637848756348 MeV cm-2 s-1

Saving results to:
/lscratch/kocevski/39467073/likelihoodResults_811728001_812332801_4FGL_J1254.9+1138_weekly_bin947.txt

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) = 13841.390494
delta logL = 0.461975966522

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

MINUIT Return Code (Free Index): 0
logL (Free Index) = 13841.3399805
delta logL = 0.51248944982

Fit tolerance = 1e-08

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

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

 MIGRAD MINIMIZATION HAS CONVERGED.

 MIGRAD WILL VERIFY CONVERGENCE AND ERROR MATRIX.

 FCN=   13841.34     FROM MIGRAD    STATUS=CONVERGED     58 CALLS      217 TOTAL
                     EDM=   .72E-08    STRATEGY= 1      ERR MATRIX NOT POS-DEF

  EXT PARAMETER                APPROXIMATE        STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor     2.6340        42.245        .62963E-03    .11886E-01
   2  Index         4.0975        3.3275        .29493        .94304E-04
   3  Normalizat    1.2240        .31436E-01    .63358E-01   -.69698E-04
   4  Prefactor     .97357        .26922E-01    .45939E-01   -.13652E-03
                               ERR DEF=  .500    
Final values: 
  Prefactor  = 2.63398
  Index      = 4.09746
  Normalizat = 1.22395
  Prefactor  = 0.97357
 **********
 **   18 **HESSE 
 **********

 FCN=   13841.34     FROM HESSE     STATUS=OK            33 CALLS      250 TOTAL
                     EDM=   .30E-07    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  Prefactor     2.6340        6.2361        .18369E-04   -1.5676    
   2  Index         4.0975        1.6790        .10502E-01   -.18150    
   3  Normalizat    1.2240        .17144        .28026E-03   -.85866    
   4  Prefactor     .97357        .14244        .26397E-03   -.93616    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 2.99952e-08
Minuit parameter uncertainties:
  1  6.23612
  2  1.71348
  3  0.171516
  4  0.142494
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) = 13841.339974
delta logL = 0.512495953615

Extracting fit parameters...

4FGL J1254.9+1138
   Spectrum: PowerLaw
287    Prefactor:  2.634e+00  6.236e+00  0.000e+00  1.000e+06 ( 1.000e-12)
288        Index:  4.097e+00  1.713e+00  0.000e+00  1.000e+01 (-1.000e+00)
289        Scale:  4.595e+02  0.000e+00  3.000e+01  5.000e+05 ( 1.000e+00) fixed

GAL_V02
   Spectrum: PowerLaw
560    Prefactor:  9.736e-01  1.425e-01  0.000e+00  1.000e+01 ( 1.000e+00)
561        Index:  0.000e+00  0.000e+00 -1.000e+00  1.000e+00 ( 1.000e+00) fixed
562        Scale:  1.000e+02  0.000e+00  5.000e+01  2.000e+02 ( 1.000e+00) fixed

EG_v02
   Spectrum: FileFunction
559   Normalization:  1.224e+00  1.715e-01  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Free Index): 1.22
Ra Dec: 193.733 11.649
Photon Index (Free Index): 4.10 +/- 1.71
Photon Flux (Free Index): 4.41e-08 +/- 4.62e-08
Energy Flux (Free Index): 6.51e-06 +/- 7.13e-06

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/39467073/cmap_HighResolution_811728001_812332801_4FGL_J1254.9+1138_weekly_bin947.png

Cleaning up...

** Nuclear option initiated! **

Updating database...

UPDATE lightcurve_data_v2 SET energy_flux_upper_limit='6.38e-03', comment='SUCCESS', energy_flux2='6.51e-06', dlogl='5.12e-01', photon_flux2='4.41e-08', job_status='DONE', time_completed='2026-09-29 14:53:51.804989', photon_index_error2='1.71', photon_index2='4.10', ts='0.05', fit_tolerance='1e-08', GAL='0.95', photon_index_error='0.00', photon_flux_upper_limit='8.06e-08', energy_flux_error2='7.13e-06', EG='1.27', time_epoch_completed='1790718831.81', return_code='0', job_id='39467073', GAL2='0.97', EG2='1.22', return_code2='0', photon_flux_error2='4.62e-08', ts2='1.22', photon_index='2.79' WHERE bin_id='947' AND source_name='4FGL J1254.9+1138' AND cadence='weekly';

Database successfully updated.


Analysis Complete.


Tue Sep 29 14:53:52 PDT 2026

