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


Performing analysis on: 4FGL_J1159.5+2914_weekly_bin942
RA = 179.884, Dec = 29.2448
tmin = 808704001, tmax = 809308801
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='35793911', job_status='RUN', time_executed='2026-08-25 09:00:43.386698', time_epoch_executed='1787673643.39' WHERE source_name='4FGL J1159.5+2914' and cadence='weekly' and bin_id='942'

Database successfully updated.
Done.

Creating custom output directory:
/lscratch/kocevski/35793911

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

Retrieving the FT1 file...

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

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

Retrieving 108 files...
Done.


Merging files...

Checksum keywords updated successfully.

Merged file saved to:
/lscratch/kocevski/35793911/ft1_4FGL_J1159.5+2914_weekly_bin942.fits


Retrieving the FT1 file...

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

Retrieving 108 files...
Done.


Merging files...

Merged file saved to:
/lscratch/kocevski/35793911/ft2_4FGL_J1159.5+2914_weekly_bin942.fits


Selecting the photons:
time -p gtselect infile=/lscratch/kocevski/35793911/ft1_4FGL_J1159.5+2914_weekly_bin942.fits outfile=/lscratch/kocevski/35793911/ft1_filteredMKT_4FGL_J1159.5+2914_weekly_bin942.fits ra=179.884 dec=29.2448 rad=12.0 tmin=808704001.0 tmax=809308801.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 5.57
user 4.84
sys 0.24

Adding sun position to ft2 file:
/sdf/group/fermi/g/LCRepository/Repository/bin/sunpos /lscratch/kocevski/35793911/ft2_4FGL_J1159.5+2914_weekly_bin942.fits

Selecting the good time intervals:
time -p gtmktime scfile=/lscratch/kocevski/35793911/ft2_4FGL_J1159.5+2914_weekly_bin942.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/35793911/ft1_filteredMKT_4FGL_J1159.5+2914_weekly_bin942.fits evtable="EVENTS" outfile="/lscratch/kocevski/35793911/ft1_filtered_4FGL_J1159.5+2914_weekly_bin942.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.13

Number of photons that the gtmktime cut: 1436

Generating the livetime cube:
time -p gtltcube evfile="/lscratch/kocevski/35793911/ft1_filtered_4FGL_J1159.5+2914_weekly_bin942.fits" evtable="EVENTS" scfile=/lscratch/kocevski/35793911/ft2_4FGL_J1159.5+2914_weekly_bin942.fits sctable="SC_DATA"
Likelihood Analysis Tool
Support Contact: Daniel Kocevski (daniel.kocevski@nasa.gov)

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

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

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

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

 outfile=/lscratch/kocevski/35793717/ltcube_808704001_809308801_4FGL_J1159.5+2914_weekly_bin942.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/35793717/ft2_4FGL_J1159.5+2914_weekly_bin942.fits
.....................!
real 18.72
user 18.06
sys 0.23

Generating the exposure map:
time -p gtexpmap evfile=/lscratch/kocevski/35793717/ft1_filtered_4FGL_J1159.5+2914_weekly_bin942.fits evtable="EVENTS" scfile=/lscratch/kocevski/35793717/ft2_4FGL_J1159.5+2914_weekly_bin942.fits sctable="SC_DATA" expcube=/lscratch/kocevski/35793717/ltcube_808704001_809308801_4FGL_J1159.5+2914_weekly_bin942.fits outfile=/lscratch/kocevski/35793717/expmap_808704001_809308801_4FGL_J1159.5+2914_weekly_bin942.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/35793717/ltcube_808704001_809308801_4FGL_J1159.5+2914_weekly_bin942.fits
.....................!
real 71.31
user 66.40
sys 4.12

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

Setting source of interest to:
4FGL J1159.5+2914 @ 179.884 29.2448

Creating the counts map:
time -p gtbin evfile=/lscratch/kocevski/35793717/ft1_filtered_4FGL_J1159.5+2914_weekly_bin942.fits scfile=/lscratch/kocevski/35793717/ft2_4FGL_J1159.5+2914_weekly_bin942.fits outfile=/lscratch/kocevski/35793717/cmap_808704001_809308801_4FGL_J1159.5+2914_weekly_bin942.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=179.884 yref=29.2448 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.24
sys 0.13

Creating the high resolution counts map:
time -p gtbin evfile=/lscratch/kocevski/35793717/ft1_filtered_4FGL_J1159.5+2914_weekly_bin942.fits scfile=/lscratch/kocevski/35793717/ft2_4FGL_J1159.5+2914_weekly_bin942.fits outfile=/lscratch/kocevski/35793717/cmap_HighResolution_808704001_809308801_4FGL_J1159.5+2914_weekly_bin942.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=179.884 yref=29.2448 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.24
sys 0.14

Computing the diffuse response:
time -p gtdiffrsp evfile=/lscratch/kocevski/35793717/ft1_filtered_4FGL_J1159.5+2914_weekly_bin942.fits evtable="EVENTS" scfile=/lscratch/kocevski/35793717/ft2_4FGL_J1159.5+2914_weekly_bin942.fits sctable="SC_DATA" srcmdl=/lscratch/kocevski/35793717/Model_4FGL_J1159.5+2914_weekly_bin942.xml irfs="P8R3_SOURCE_V2" evclsmin=0 evclass="INDEF" evtype="INDEF" convert=yes chatter=2 clobber=yes debug=no gui=no mode="ql"

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

adding source EG_v02
adding sourc outfile=/lscratch/kocevski/35793733/ltcube_808704001_809308801_4FGL_J1159.5+2914_weekly_bin942.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/35793733/ft2_4FGL_J1159.5+2914_weekly_bin942.fits
.....................!
real 19.92
user 18.93
sys 0.22

Generating the exposure map:
time -p gtexpmap evfile=/lscratch/kocevski/35793733/ft1_filtered_4FGL_J1159.5+2914_weekly_bin942.fits evtable="EVENTS" scfile=/lscratch/kocevski/35793733/ft2_4FGL_J1159.5+2914_weekly_bin942.fits sctable="SC_DATA" expcube=/lscratch/kocevski/35793733/ltcube_808704001_809308801_4FGL_J1159.5+2914_weekly_bin942.fits outfile=/lscratch/kocevski/35793733/expmap_808704001_809308801_4FGL_J1159.5+2914_weekly_bin942.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/35793733/ltcube_808704001_809308801_4FGL_J1159.5+2914_weekly_bin942.fits
.....................!
real 75.68
user 69.66
sys 4.34

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

Setting source of interest to:
4FGL J1159.5+2914 @ 179.884 29.2448

Creating the counts map:
time -p gtbin evfile=/lscratch/kocevski/35793733/ft1_filtered_4FGL_J1159.5+2914_weekly_bin942.fits scfile=/lscratch/kocevski/35793733/ft2_4FGL_J1159.5+2914_weekly_bin942.fits outfile=/lscratch/kocevski/35793733/cmap_808704001_809308801_4FGL_J1159.5+2914_weekly_bin942.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=179.884 yref=29.2448 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.83
user 0.26
sys 0.13

Creating the high resolution counts map:
time -p gtbin evfile=/lscratch/kocevski/35793733/ft1_filtered_4FGL_J1159.5+2914_weekly_bin942.fits scfile=/lscratch/kocevski/35793733/ft2_4FGL_J1159.5+2914_weekly_bin942.fits outfile=/lscratch/kocevski/35793733/cmap_HighResolution_808704001_809308801_4FGL_J1159.5+2914_weekly_bin942.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=179.884 yref=29.2448 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.91
user 0.25
sys 0.13

Computing the diffuse response:
time -p gtdiffrsp evfile=/lscratch/kocevski/35793733/ft1_filtered_4FGL_J1159.5+2914_weekly_bin942.fits evtable="EVENTS" scfile=/lscratch/kocevski/35793733/ft2_4FGL_J1159.5+2914_weekly_bin942.fits sctable="SC_DATA" srcmdl=/lscratch/kocevski/35793733/Model_4FGL_J1159.5+2914_weekly_bin942.xml irfs="P8R3_SOURCE_V2" evclsmin=0 evclass="INDEF" evtype="INDEF" convert=yes chatter=2 clobber=yes debug=no gui=no mode="ql"

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

adding source EG_v02
adding sourc outfile=/lscratch/kocevski/35793741/ltcube_808704001_809308801_4FGL_J1159.5+2914_weekly_bin942.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/35793741/ft2_4FGL_J1159.5+2914_weekly_bin942.fits
.....................!
real 21.12
user 20.23
sys 0.24

Generating the exposure map:
time -p gtexpmap evfile=/lscratch/kocevski/35793741/ft1_filtered_4FGL_J1159.5+2914_weekly_bin942.fits evtable="EVENTS" scfile=/lscratch/kocevski/35793741/ft2_4FGL_J1159.5+2914_weekly_bin942.fits sctable="SC_DATA" expcube=/lscratch/kocevski/35793741/ltcube_808704001_809308801_4FGL_J1159.5+2914_weekly_bin942.fits outfile=/lscratch/kocevski/35793741/expmap_808704001_809308801_4FGL_J1159.5+2914_weekly_bin942.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/35793741/ltcube_808704001_809308801_4FGL_J1159.5+2914_weekly_bin942.fits
.....................!
real 79.14
user 73.67
sys 4.37

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

Setting source of interest to:
4FGL J1159.5+2914 @ 179.884 29.2448

Creating the counts map:
time -p gtbin evfile=/lscratch/kocevski/35793741/ft1_filtered_4FGL_J1159.5+2914_weekly_bin942.fits scfile=/lscratch/kocevski/35793741/ft2_4FGL_J1159.5+2914_weekly_bin942.fits outfile=/lscratch/kocevski/35793741/cmap_808704001_809308801_4FGL_J1159.5+2914_weekly_bin942.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=179.884 yref=29.2448 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 1.00
user 0.26
sys 0.13

Creating the high resolution counts map:
time -p gtbin evfile=/lscratch/kocevski/35793741/ft1_filtered_4FGL_J1159.5+2914_weekly_bin942.fits scfile=/lscratch/kocevski/35793741/ft2_4FGL_J1159.5+2914_weekly_bin942.fits outfile=/lscratch/kocevski/35793741/cmap_HighResolution_808704001_809308801_4FGL_J1159.5+2914_weekly_bin942.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=179.884 yref=29.2448 axisrot=0.0 rafield="RA" decfield="DEC" proj="AIT" hpx_ordering_scheme="RING" hpx_order=3 hpx_ebin=yes hpx_region="" evtable="EVENTS" sctable="SC_DATA" efield="ENERGY" tfield="TIME" chatter=2 clobber=yes debug=no gui=no mode="ql"

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

This is gtbin version HEAD
real 0.80
user 0.27
sys 0.13

Computing the diffuse response:
time -p gtdiffrsp evfile=/lscratch/kocevski/35793741/ft1_filtered_4FGL_J1159.5+2914_weekly_bin942.fits evtable="EVENTS" scfile=/lscratch/kocevski/35793741/ft2_4FGL_J1159.5+2914_weekly_bin942.fits sctable="SC_DATA" srcmdl=/lscratch/kocevski/35793741/Model_4FGL_J1159.5+2914_weekly_bin942.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 = 17429
number of fields = 31
RA_SUN column already exists. File will not be modified.
Done.


Performing analysis on: 4FGL_J1159.5+2914_weekly_bin942
RA = 179.884, Dec = 29.2448
tmin = 808704001, tmax = 809308801
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='35794152', job_status='RUN', time_executed='2026-08-25 09:02:27.246693', time_epoch_executed='1787673747.25' WHERE source_name='4FGL J1159.5+2914' and cadence='weekly' and bin_id='942'

Database successfully updated.
Done.

Creating custom output directory:
/lscratch/kocevski/35794152

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

Retrieving the FT1 file...

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

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

Retrieving 108 files...
Done.


Merging files...

Checksum keywords updated successfully.

Merged file saved to:
/lscratch/kocevski/35794152/ft1_4FGL_J1159.5+2914_weekly_bin942.fits


Retrieving the FT1 file...

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

Retrieving 108 files...
Done.


Merging files...

Merged file saved to:
/lscratch/kocevski/35794152/ft2_4FGL_J1159.5+2914_weekly_bin942.fits


Selecting the photons:
time -p gtselect infile=/lscratch/kocevski/35794152/ft1_4FGL_J1159.5+2914_weekly_bin942.fits outfile=/lscratch/kocevski/35794152/ft1_filteredMKT_4FGL_J1159.5+2914_weekly_bin942.fits ra=179.884 dec=29.2448 rad=12.0 tmin=808704001.0 tmax=809308801.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 5.87
user 5.17
sys 0.19

Adding sun position to ft2 file:
/sdf/group/fermi/g/LCRepository/Repository/bin/sunpos /lscratch/kocevski/35794152/ft2_4FGL_J1159.5+2914_weekly_bin942.fits

Selecting the good time intervals:
time -p gtmktime scfile=/lscratch/kocevski/35794152/ft2_4FGL_J1159.5+2914_weekly_bin942.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/35794152/ft1_filteredMKT_4FGL_J1159.5+2914_weekly_bin942.fits evtable="EVENTS" outfile="/lscratch/kocevski/35794152/ft1_filtered_4FGL_J1159.5+2914_weekly_bin942.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.11

Number of photons that the gtmktime cut: 1436

Generating the livetime cube:
time -p gtltcube evfile="/lscratch/kocevski/35794152/ft1_filtered_4FGL_J1159.5+2914_weekly_bin942.fits" evtable="EVENTS" scfile=/lscratch/kocevski/35794152/ft2_4FGL_J1159.5+2914_weekly_bin942.fits sctable="SC_DATA" outfile=/lscratch/kocevski/35793911/ltcube_808704001_809308801_4FGL_J1159.5+2914_weekly_bin942.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/35793911/ft2_4FGL_J1159.5+2914_weekly_bin942.fits
.....................!
real 19.88
user 19.06
sys 0.21

Generating the exposure map:
time -p gtexpmap evfile=/lscratch/kocevski/35793911/ft1_filtered_4FGL_J1159.5+2914_weekly_bin942.fits evtable="EVENTS" scfile=/lscratch/kocevski/35793911/ft2_4FGL_J1159.5+2914_weekly_bin942.fits sctable="SC_DATA" expcube=/lscratch/kocevski/35793911/ltcube_808704001_809308801_4FGL_J1159.5+2914_weekly_bin942.fits outfile=/lscratch/kocevski/35793911/expmap_808704001_809308801_4FGL_J1159.5+2914_weekly_bin942.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/35793911/ltcube_808704001_809308801_4FGL_J1159.5+2914_weekly_bin942.fits
.....................!
real 75.95
user 70.60
sys 4.39

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

Setting source of interest to:
4FGL J1159.5+2914 @ 179.884 29.2448

Creating the counts map:
time -p gtbin evfile=/lscratch/kocevski/35793911/ft1_filtered_4FGL_J1159.5+2914_weekly_bin942.fits scfile=/lscratch/kocevski/35793911/ft2_4FGL_J1159.5+2914_weekly_bin942.fits outfile=/lscratch/kocevski/35793911/cmap_808704001_809308801_4FGL_J1159.5+2914_weekly_bin942.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=179.884 yref=29.2448 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.86
user 0.26
sys 0.13

Creating the high resolution counts map:
time -p gtbin evfile=/lscratch/kocevski/35793911/ft1_filtered_4FGL_J1159.5+2914_weekly_bin942.fits scfile=/lscratch/kocevski/35793911/ft2_4FGL_J1159.5+2914_weekly_bin942.fits outfile=/lscratch/kocevski/35793911/cmap_HighResolution_808704001_809308801_4FGL_J1159.5+2914_weekly_bin942.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=179.884 yref=29.2448 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.27
sys 0.13

Computing the diffuse response:
time -p gtdiffrsp evfile=/lscratch/kocevski/35793911/ft1_filtered_4FGL_J1159.5+2914_weekly_bin942.fits evtable="EVENTS" scfile=/lscratch/kocevski/35793911/ft2_4FGL_J1159.5+2914_weekly_bin942.fits sctable="SC_DATA" srcmdl=/lscratch/kocevski/35793911/Model_4FGL_J1159.5+2914_weekly_bin942.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/35793717/ft1_filtered_4FGL_J1159.5+2914_weekly_bin942.fits.....................!
real 52.74
user 50.79
sys 1.06

Creating the likelihood object...
obs = UnbinnedObs('/lscratch/kocevski/35793717/ft1_filtered_4FGL_J1159.5+2914_weekly_bin942.fits', '/lscratch/kocevski/35793717/ft2_4FGL_J1159.5+2914_weekly_bin942.fits', expMap='/lscratch/kocevski/35793717/expmap_808704001_809308801_4FGL_J1159.5+2914_weekly_bin942.fits', expCube='/lscratch/kocevski/35793717/ltcube_808704001_809308801_4FGL_J1159.5+2914_weekly_bin942.fits', irfs='P8R3_SOURCE_V2')
like = UnbinnedAnalysis(obs, '/lscratch/kocevski/35793717/Model_4FGL_J1159.5+2914_weekly_bin942.xml', optimizer='MINUIT')

Using source of interest name: '4FGL J1159.5+2914'

4FGL J1159.5+2914
   Spectrum: LogParabola
302         norm:  6.117e+00  0.000e+00  0.000e+00  1.000e+06 ( 1.000e-11)
303        alpha:  2.103e+00  0.000e+00  0.000e+00  5.000e+00 ( 1.000e+00) fixed
304         beta:  6.240e-02  0.000e+00 -5.000e+00  1.000e+01 ( 1.000e+00) fixed
305           Eb:  5.235e+02  0.000e+00  3.000e+01  5.000e+05 ( 1.000e+00) fixed


Likelihood Fit Parameters:
Event file(s): /lscratch/kocevski/35793717/ft1_filtered_4FGL_J1159.5+2914_weekly_bin942.fits
Spacecraft file(s): /lscratch/kocevski/35793717/ft2_4FGL_J1159.5+2914_weekly_bin942.fits
Exposure map: /lscratch/kocevski/35793717/expmap_808704001_809308801_4FGL_J1159.5+2914_weekly_bin942.fits
Exposure cube: /lscratch/kocevski/35793717/ltcube_808704001_809308801_4FGL_J1159.5+2914_weekly_bin942.fits
IRFs: P8R3_SOURCE_V2
Source model file: /lscratch/kocevski/35793717/Model_4FGL_J1159.5+2914_weekly_bin942.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) = 16036.5983538

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

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

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'Prefactor '    .52929E-05   1.0000          .0000       .10000E+07
     2 'norm      '    .45339E-03   1.0000          .0000       .10000E+07
     3 'Prefactor '    12.205       1.0000          .0000       .10000E+07
     4 'Prefactor '    .72164E-08   1.0000          .0000       .10000E+07
     5 'Prefactor '    .25079E-02   1.0000          .0000       .10000E+07
     6 'Prefactor '    .42960E-05   1.0000          .0000       .10000E+07
     7 'norm      '    15.423       1.0000          .0000       .10000E+07
     8 'Prefactor '    .71650E-03   1.0000          .0000       .10000E+07
     9 'Prefactor '    6.1968       1.0000          .0000       .10000E+07
    10 'norm      '    .14504       1.0000          .0000       .10000E+07
    11 'Prefactor '    39.397       1.0000          .0000       .10000E+07
    12 'Prefactor '    .12039E-03   1.0000          .0000       .10000E+07
    13 'Prefactor '    .56066E-08   1.0000          .0000       .10000E+07
    14 'Prefactor '    32.832       1.0000          .0000       .10000E+07
    15 'norm      '    11.752       1.0000          .0000       .10000E+07
    16 'Prefactor '    .61851E-06   1.0000          .0000       .10000E+07
    17 'Prefactor '    .16702E-04   1.0000          .0000       .10000E+07
    18 'norm      '    5.2121       1.0000          .0000       .10000E+07
    19 'Prefactor '    .14599       1.0000          .0000       .10000E+07
    20 'Prefactor '    .31730E-04   1.0000          .0000       .10000E+07
    21 'Prefactor '    4.4847       1.0000          .0000       .10000E+07
    22 'Prefactor '    .27960E-03   1.0000          .0000       .10000E+07
    23 'norm      '    .57271E-01   1.0000          .0000       .10000E+07
    24 'norm      '    9.6714       1.0000          .0000       .10000E+07
    25 'Prefactor '    .12593E-04   1.0000          .0000       .10000E+07
    26 'Normalizat'    1.3990       1.0000         .10000E-01   10.000    
    27 'Prefactor '    .76673       1.0000          .0000       10.000    
 **********
 **   15 **SET ERR    .5000    
 **********
 **********
 **   16 **SET GRAD    1.000    
 **********
 **********
 **   17 **MINIMIZE    .6200E+05   .2000E-04
 **********

 MIGRAD MINIMIZATION HAS CONVERGED.

 FCN=   16035.11     FROM MIGRAD    STATUS=CONVERGED    158 CALLS     1455 TOTAL
                     EDM=   .42E-09  STRATEGY=1  ERROR MATRIX UNCERTAINTY=   .6%

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor      .0000        .73409        .17419E-06** at limit **
   2  norm          .23093E-07    5.4629        .81712E-07** at limit **
   3  Prefactor     12.049        7.9273        .29550E-06    .19572E-01
   4  Prefactor      .0000        .76360       -.59961E-07** at limit **
   5  Prefactor     .19834E-06    7.6539        .30358E-06** at limit **
   6  Prefactor     .27323E-06    6.2087       -.56216E-06** at limit **
   7  norm          15.425        2.8020        .22104E-07    .12697E-02
   8  Prefactor     .29976E-08    29.900        .22774E-05** at limit **
   9  Prefactor     6.1941        4.3551       -.81191E-07   -.23846E-03
  10  norm          .14298        .54313        .26588E-06** at limit **
  11  Prefactor     39.389        2.2188       -.63774E-07    .65995E-01
  12  Prefactor     .22315E-07    1.9721        .27705E-06** at limit **
  13  Prefactor      .0000        2.0217       -.37899E-07** at limit **
  14  Prefactor     33.043        1.5364       -.38919E-07   -.59023E-02
  15  norm          11.753        1.5076       -.59948E-07   -.14675E-02
  16  Prefactor      .0000        .72245        .20415E-06** at limit **
  17  Prefactor     .55511E-10    1.3642        .43292E-06** at limit **
  18  norm          5.2106        2.5291        .62021E-08    .59276E-03
  19  Prefactor     .16586        .74542       -.11601E-06** at limit **
  20  Prefactor     .11102E-09    1.3570        .40998E-07** at limit **
  21  Prefactor     4.4846        2.1705       -.68073E-07   -.66323E-03
  22  Prefactor     .40762E-06    4.8113       -.37064E-06** at limit **
  23  norm          .57270E-01    .80875E-01   -.33028E-09** at limit **
  24  norm          9.6634        3.1537       -.18113E-07   -.20942E-05
  25  Prefactor     .44964E-08    1.9725        .34838E-06** at limit **
  26  Normalizat    1.3991        .15435       -.11730E-05   -.19327E-03
  27  Prefactor     .76674        .16260       -.44107E-05   -.13441E-03
                               ERR DEF=  .500    
Final values: 
  Prefactor  = 0
  norm       = 2.30926e-08
  Prefactor  = 12.0486
  Prefactor  = 0
  Prefactor  = 1.98341e-07
  Prefactor  = 2.73226e-07
  norm       = 15.4248
  Prefactor  = 2.9976e-09
  Prefactor  = 6.19408
  norm       = 0.14298
  Prefactor  = 39.3888
  Prefactor  = 2.23155e-08
  Prefactor  = 0
  Prefactor  = 33.043
  norm       = 11.7527
  Prefactor  = 0
  Prefactor  = 5.55112e-11
  norm       = 5.21059
  Prefactor  = 0.165858
  Prefactor  = 1.11022e-10
  Prefactor  = 4.48462
  Prefactor  = 4.07618e-07
  norm       = 0.0572695
  norm       = 9.66342
  Prefactor  = 4.4964e-09
  Normalizat = 1.39911
  Prefactor  = 0.766741
e GAL_V02
Working on...
/lscratch/kocevski/35793733/ft1_filtered_4FGL_J1159.5+2914_weekly_bin942.fits.....................!
real 56.73
user 53.95
sys 1.17

Creating the likelihood object...
obs = UnbinnedObs('/lscratch/kocevski/35793733/ft1_filtered_4FGL_J1159.5+2914_weekly_bin942.fits', '/lscratch/kocevski/35793733/ft2_4FGL_J1159.5+2914_weekly_bin942.fits', expMap='/lscratch/kocevski/35793733/expmap_808704001_809308801_4FGL_J1159.5+2914_weekly_bin942.fits', expCube='/lscratch/kocevski/35793733/ltcube_808704001_809308801_4FGL_J1159.5+2914_weekly_bin942.fits', irfs='P8R3_SOURCE_V2')
like = UnbinnedAnalysis(obs, '/lscratch/kocevski/35793733/Model_4FGL_J1159.5+2914_weekly_bin942.xml', optimizer='MINUIT')

Using source of interest name: '4FGL J1159.5+2914'

4FGL J1159.5+2914
   Spectrum: LogParabola
302         norm:  6.117e+00  0.000e+00  0.000e+00  1.000e+06 ( 1.000e-11)
303        alpha:  2.103e+00  0.000e+00  0.000e+00  5.000e+00 ( 1.000e+00) fixed
304         beta:  6.240e-02  0.000e+00 -5.000e+00  1.000e+01 ( 1.000e+00) fixed
305           Eb:  5.235e+02  0.000e+00  3.000e+01  5.000e+05 ( 1.000e+00) fixed


Likelihood Fit Parameters:
Event file(s): /lscratch/kocevski/35793733/ft1_filtered_4FGL_J1159.5+2914_weekly_bin942.fits
Spacecraft file(s): /lscratch/kocevski/35793733/ft2_4FGL_J1159.5+2914_weekly_bin942.fits
Exposure map: /lscratch/kocevski/35793733/expmap_808704001_809308801_4FGL_J1159.5+2914_weekly_bin942.fits
Exposure cube: /lscratch/kocevski/35793733/ltcube_808704001_809308801_4FGL_J1159.5+2914_weekly_bin942.fits
IRFs: P8R3_SOURCE_V2
Source model file: /lscratch/kocevski/35793733/Model_4FGL_J1159.5+2914_weekly_bin942.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) = 16036.5983538

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

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

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'Prefactor '    .52929E-05   1.0000          .0000       .10000E+07
     2 'norm      '    .45339E-03   1.0000          .0000       .10000E+07
     3 'Prefactor '    12.205       1.0000          .0000       .10000E+07
     4 'Prefactor '    .72164E-08   1.0000          .0000       .10000E+07
     5 'Prefactor '    .25079E-02   1.0000          .0000       .10000E+07
     6 'Prefactor '    .42960E-05   1.0000          .0000       .10000E+07
     7 'norm      '    15.423       1.0000          .0000       .10000E+07
     8 'Prefactor '    .71650E-03   1.0000          .0000       .10000E+07
     9 'Prefactor '    6.1968       1.0000          .0000       .10000E+07
    10 'norm      '    .14504       1.0000          .0000       .10000E+07
    11 'Prefactor '    39.397       1.0000          .0000       .10000E+07
    12 'Prefactor '    .12039E-03   1.0000          .0000       .10000E+07
    13 'Prefactor '    .56066E-08   1.0000          .0000       .10000E+07
    14 'Prefactor '    32.832       1.0000          .0000       .10000E+07
    15 'norm      '    11.752       1.0000          .0000       .10000E+07
    16 'Prefactor '    .61851E-06   1.0000          .0000       .10000E+07
    17 'Prefactor '    .16702E-04   1.0000          .0000       .10000E+07
    18 'norm      '    5.2121       1.0000          .0000       .10000E+07
    19 'Prefactor '    .14599       1.0000          .0000       .10000E+07
    20 'Prefactor '    .31730E-04   1.0000          .0000       .10000E+07
    21 'Prefactor '    4.4847       1.0000          .0000       .10000E+07
    22 'Prefactor '    .27960E-03   1.0000          .0000       .10000E+07
    23 'norm      '    .57271E-01   1.0000          .0000       .10000E+07
    24 'norm      '    9.6714       1.0000          .0000       .10000E+07
    25 'Prefactor '    .12593E-04   1.0000          .0000       .10000E+07
    26 'Normalizat'    1.3990       1.000 **********
 **   18 **HESSE 
 **********

 FCN=   16035.11     FROM HESSE     STATUS=OK           562 CALLS     2017 TOTAL
                     EDM=   .16E-06    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  Prefactor      .0000        .73386        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   2  norm          .23093E-07    5.6849        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   3  Prefactor     12.049        8.0426        .28648E-03   -1.5639    
   4  Prefactor      .0000        .76320        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   5  Prefactor     .19834E-06    9.8799        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   6  Prefactor     .27323E-06    8.9849        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   7  norm          15.425        2.8256        .25477E-03   -1.5629    
   8  Prefactor     .29976E-08    29.458        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   9  Prefactor     6.1941        4.3644        .40304E-03   -1.5658    
  10  norm          .14298        .42281        .24791E-02   -1.5700    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  11  Prefactor     39.389        17.212        .15933E-03   -1.5582    
  12  Prefactor     .22315E-07    3.8904        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  13  Prefactor      .0000        .49937        .42118E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  14  Prefactor     33.043        25.940        .17455E-03   -1.5593    
  15  norm          11.753        1.5225        .29197E-03   -1.5639    
  16  Prefactor      .0000        .72100        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  17  Prefactor     .55511E-10    1.3468        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  18  norm          5.2106        2.5484        .44007E-03   -1.5662    
  19  Prefactor     .16586        2.2289        .10258E-01   -1.5700    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  20  Prefactor     .11102E-09    1.3546        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  21  Prefactor     4.4846        2.1833        .47521E-03   -1.5666    
  22  Prefactor     .40762E-06    1.1091        .72810E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  23  norm          .57270E-01    .97007E-01    .95236E-03   -1.5703    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  24  norm          9.6634        3.2125        .32199E-03   -1.5646    
  25  Prefactor     .44964E-08    3.8297        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  26  Normalizat    1.3991        .13196        .57010E-01   -.80654    
  27  Prefactor     .76674        .13722        .80187E-01   -1.0097    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 1.61415e-07
Minuit parameter uncertainties:
  1  1.0294e-06
  2  0.000724888
  3  8.04262
  4  1.82711e-06
  5  0.00279982
  6  0.00313358
  7  2.8256
  8  0.000595022
  9  4.36443
  10  0.422808
  11  17.212
  12  0.000589533
  13  6.40384e-06
  14  25.9404
  15  1.52245
  16  1.5366e-06
  17  1.60658e-05
  18  2.54845
  19  1.21603
  20  2.23644e-05
  21  2.18329
  22  0.00134481
  23  0.097007
  24  3.21255
  25  0.000262723
  26  0.131997
  27  0.13728
 outfile=/lscratch/kocevski/35794152/ltcube_808704001_809308801_4FGL_J1159.5+2914_weekly_bin942.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/35794152/ft2_4FGL_J1159.5+2914_weekly_bin942.fits
.....................!
real 20.99
user 19.72
sys 0.24

Generating the exposure map:
time -p gtexpmap evfile=/lscratch/kocevski/35794152/ft1_filtered_4FGL_J1159.5+2914_weekly_bin942.fits evtable="EVENTS" scfile=/lscratch/kocevski/35794152/ft2_4FGL_J1159.5+2914_weekly_bin942.fits sctable="SC_DATA" expcube=/lscratch/kocevski/35794152/ltcube_808704001_809308801_4FGL_J1159.5+2914_weekly_bin942.fits outfile=/lscratch/kocevski/35794152/expmap_808704001_809308801_4FGL_J1159.5+2914_weekly_bin942.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/35794152/ltcube_808704001_809308801_4FGL_J1159.5+2914_weekly_bin942.fits
.....................!
real 80.04
user 74.80
sys 4.50

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

Setting source of interest to:
4FGL J1159.5+2914 @ 179.884 29.2448

Creating the counts map:
time -p gtbin evfile=/lscratch/kocevski/35794152/ft1_filtered_4FGL_J1159.5+2914_weekly_bin942.fits scfile=/lscratch/kocevski/35794152/ft2_4FGL_J1159.5+2914_weekly_bin942.fits outfile=/lscratch/kocevski/35794152/cmap_808704001_809308801_4FGL_J1159.5+2914_weekly_bin942.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=179.884 yref=29.2448 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.15

Creating the high resolution counts map:
time -p gtbin evfile=/lscratch/kocevski/35794152/ft1_filtered_4FGL_J1159.5+2914_weekly_bin942.fits scfile=/lscratch/kocevski/35794152/ft2_4FGL_J1159.5+2914_weekly_bin942.fits outfile=/lscratch/kocevski/35794152/cmap_HighResolution_808704001_809308801_4FGL_J1159.5+2914_weekly_bin942.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=179.884 yref=29.2448 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.26
sys 0.13

Computing the diffuse response:
time -p gtdiffrsp evfile=/lscratch/kocevski/35794152/ft1_filtered_4FGL_J1159.5+2914_weekly_bin942.fits evtable="EVENTS" scfile=/lscratch/kocevski/35794152/ft2_4FGL_J1159.5+2914_weekly_bin942.fits sctable="SC_DATA" srcmdl=/lscratch/kocevski/35794152/Model_4FGL_J1159.5+2914_weekly_bin942.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 sourc0         .10000E-01   10.000    
    27 'Prefactor '    .76673       1.0000          .0000       10.000    
 **********
 **   15 **SET ERR    .5000    
 **********
 **********
 **   16 **SET GRAD    1.000    
 **********
 **********
 **   17 **MINIMIZE    .6200E+05   .2000E-04
 **********

 MIGRAD MINIMIZATION HAS CONVERGED.

 FCN=   16035.11     FROM MIGRAD    STATUS=CONVERGED    158 CALLS     1455 TOTAL
                     EDM=   .42E-09  STRATEGY=1  ERROR MATRIX UNCERTAINTY=   .6%

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor      .0000        .73409        .17419E-06** at limit **
   2  norm          .23093E-07    5.4629        .81712E-07** at limit **
   3  Prefactor     12.049        7.9273        .29550E-06    .19572E-01
   4  Prefactor      .0000        .76360       -.59961E-07** at limit **
   5  Prefactor     .19834E-06    7.6539        .30358E-06** at limit **
   6  Prefactor     .27323E-06    6.2087       -.56216E-06** at limit **
   7  norm          15.425        2.8020        .22104E-07    .12697E-02
   8  Prefactor     .29976E-08    29.900        .22774E-05** at limit **
   9  Prefactor     6.1941        4.3551       -.81191E-07   -.23846E-03
  10  norm          .14298        .54313        .26588E-06** at limit **
  11  Prefactor     39.389        2.2188       -.63774E-07    .65995E-01
  12  Prefactor     .22315E-07    1.9721        .27705E-06** at limit **
  13  Prefactor      .0000        2.0217       -.37899E-07** at limit **
  14  Prefactor     33.043        1.5364       -.38919E-07   -.59023E-02
  15  norm          11.753        1.5076       -.59948E-07   -.14675E-02
  16  Prefactor      .0000        .72245        .20415E-06** at limit **
  17  Prefactor     .55511E-10    1.3642        .43292E-06** at limit **
  18  norm          5.2106        2.5291        .62021E-08    .59276E-03
  19  Prefactor     .16586        .74542       -.11601E-06** at limit **
  20  Prefactor     .11102E-09    1.3570        .40998E-07** at limit **
  21  Prefactor     4.4846        2.1705       -.68073E-07   -.66323E-03
  22  Prefactor     .40762E-06    4.8113       -.37064E-06** at limit **
  23  norm          .57270E-01    .80875E-01   -.33028E-09** at limit **
  24  norm          9.6634        3.1537       -.18113E-07   -.20942E-05
  25  Prefactor     .44964E-08    1.9725        .34838E-06** at limit **
  26  Normalizat    1.3991        .15435       -.11730E-05   -.19327E-03
  27  Prefactor     .76674        .16260       -.44107E-05   -.13441E-03
                               ERR DEF=  .500    
Final values: 
  Prefactor  = 0
  norm       = 2.30926e-08
  Prefactor  = 12.0486
  Prefactor  = 0
  Prefactor  = 1.98341e-07
  Prefactor  = 2.73226e-07
  norm       = 15.4248
  Prefactor  = 2.9976e-09
  Prefactor  = 6.19408
  norm       = 0.14298
  Prefactor  = 39.3888
  Prefactor  = 2.23155e-08
  Prefactor  = 0
  Prefactor  = 33.043
  norm       = 11.7527
  Prefactor  = 0
  Prefactor  = 5.55112e-11
  norm       = 5.21059
  Prefactor  = 0.165858
  Prefactor  = 1.11022e-10
  Prefactor  = 4.48462
  Prefactor  = 4.07618e-07
  norm       = 0.0572695
  norm       = 9.66342
  Prefactor  = 4.4964e-09
  Normalizat = 1.39911
  Prefactor  = 0.766741
e GAL_V02
Working on...
/lscratch/kocevski/35793741/ft1_filtered_4FGL_J1159.5+2914_weekly_bin942.fits.....................!
real 58.99
user 56.66
sys 1.06

Creating the likelihood object...
obs = UnbinnedObs('/lscratch/kocevski/35793741/ft1_filtered_4FGL_J1159.5+2914_weekly_bin942.fits', '/lscratch/kocevski/35793741/ft2_4FGL_J1159.5+2914_weekly_bin942.fits', expMap='/lscratch/kocevski/35793741/expmap_808704001_809308801_4FGL_J1159.5+2914_weekly_bin942.fits', expCube='/lscratch/kocevski/35793741/ltcube_808704001_809308801_4FGL_J1159.5+2914_weekly_bin942.fits', irfs='P8R3_SOURCE_V2')
like = UnbinnedAnalysis(obs, '/lscratch/kocevski/35793741/Model_4FGL_J1159.5+2914_weekly_bin942.xml', optimizer='MINUIT')

Using source of interest name: '4FGL J1159.5+2914'

4FGL J1159.5+2914
   Spectrum: LogParabola
302         norm:  6.117e+00  0.000e+00  0.000e+00  1.000e+06 ( 1.000e-11)
303        alpha:  2.103e+00  0.000e+00  0.000e+00  5.000e+00 ( 1.000e+00) fixed
304         beta:  6.240e-02  0.000e+00 -5.000e+00  1.000e+01 ( 1.000e+00) fixed
305           Eb:  5.235e+02  0.000e+00  3.000e+01  5.000e+05 ( 1.000e+00) fixed


Likelihood Fit Parameters:
Event file(s): /lscratch/kocevski/35793741/ft1_filtered_4FGL_J1159.5+2914_weekly_bin942.fits
Spacecraft file(s): /lscratch/kocevski/35793741/ft2_4FGL_J1159.5+2914_weekly_bin942.fits
Exposure map: /lscratch/kocevski/35793741/expmap_808704001_809308801_4FGL_J1159.5+2914_weekly_bin942.fits
Exposure cube: /lscratch/kocevski/35793741/ltcube_808704001_809308801_4FGL_J1159.5+2914_weekly_bin942.fits
IRFs: P8R3_SOURCE_V2
Source model file: /lscratch/kocevski/35793741/Model_4FGL_J1159.5+2914_weekly_bin942.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) = 16036.5983538

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

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

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'Prefactor '    .52929E-05   1.0000          .0000       .10000E+07
     2 'norm      '    .45339E-03   1.0000          .0000       .10000E+07
     3 'Prefactor '    12.205       1.0000          .0000       .10000E+07
     4 'Prefactor '    .72164E-08   1.0000          .0000       .10000E+07
     5 'Prefactor '    .25079E-02   1.0000          .0000       .10000E+07
     6 'Prefactor '    .42960E-05   1.0000          .0000       .10000E+07
     7 'norm      '    15.423       1.0000          .0000       .10000E+07
     8 'Prefactor '    .71650E-03   1.0000          .0000       .10000E+07
     9 'Prefactor '    6.1968       1.0000          .0000       .10000E+07
    10 'norm      '    .14504       1.0000          .0000       .10000E+07
    11 'Prefactor '    39.397       1.0000          .0000       .10000E+07
    12 'Prefactor '    .12039E-03   1.0000          .0000       .10000E+07
    13 'Prefactor '    .56066E-08   1.0000          .0000       .10000E+07
    14 'Prefactor '    32.832       1.0000          .0000       .10000E+07
    15 'norm      '    11.752       1.0000          .0000       .10000E+07
    16 'Prefactor '    .61851E-06   1.0000          .0000       .10000E+07
    17 'Prefactor '    .16702E-04   1.0000          .0000       .10000E+07
    18 'norm      '    5.2121       1.0000          .0000       .10000E+07
    19 'Prefactor '    .14599       1.0000          .0000       .10000E+07
    20 'Prefactor '    .31730E-04   1.0000          .0000       .10000E+07
    21 'Prefactor '    4.4847       1.0000          .0000       .10000E+07
    22 'Prefactor '    .27960E-03   1.0000          .0000       .10000E+07
    23 'norm      '    .57271E-01   1.0000          .0000       .10000E+07
    24 'norm      '    9.6714       1.0000          .0000       .10000E+07
    25 'Prefactor '    .12593E-04   1.0000          .0000       .10000E+07
    26 'Normalizat'    1.3990       1.000Done.

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

Extracting fit parameters...

4FGL J1159.5+2914
   Spectrum: LogParabola
302         norm:  1.175e+01  1.522e+00  0.000e+00  1.000e+06 ( 1.000e-11)
303        alpha:  2.103e+00  0.000e+00  0.000e+00  5.000e+00 ( 1.000e+00) fixed
304         beta:  6.240e-02  0.000e+00 -5.000e+00  1.000e+01 ( 1.000e+00) fixed
305           Eb:  5.235e+02  0.000e+00  3.000e+01  5.000e+05 ( 1.000e+00) fixed

GAL_V02
   Spectrum: PowerLaw
617    Prefactor:  7.667e-01  1.373e-01  0.000e+00  1.000e+01 ( 1.000e+00)
618        Index:  0.000e+00  0.000e+00 -1.000e+00  1.000e+00 ( 1.000e+00) fixed
619        Scale:  1.000e+02  0.000e+00  5.000e+01  2.000e+02 ( 1.000e+00) fixed

EG_v02
   Spectrum: FileFunction
616   Normalization:  1.399e+00  1.320e-01  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Fixed Index): 210.01
Ra Dec: 179.884 29.245
Photon Index (Fixed Index): 2.10 +/- 0.00
Photon Flux (Fixed Index): 3.19e-07 +/- 4.13e-08
Energy Flux (Fixed Index): 1.43e-04 +/- 1.85e-05

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) = 16034.6203889
delta logL = 0.491637461566

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

MINUIT Return Code (Free Index): 0
logL (Free Index) = 16034.6201501
delta logL = 0.491876269371

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'norm      '    11.756       1.0000          .0000       .10000E+07
     2 'alpha     '    2.2294       1.0000          .0000       5.0000    
     3 'Normalizat'    1.3639       1.0000         .10000E-01   10.000    
     4 'Prefactor '    .79133       1.0000          .0000       10.000    
 **********
 **   15 **SET ERR    .5000    
 **********
 **********
 **   16 **SET GRAD    1.000    
 **********
 **********
 **   17 **MINIMIZE    .6200E+05   .2000E-04
 **********

 MIGRAD MINIMIZATION HAS CONVERGED.

 MIGRAD WILL VERIFY CONVERGENCE AND ERROR MATRIX.

 FCN=   16034.62     FROM MIGRAD    STATUS=CONVERGED     55 CALLS      211 TOTAL
                     EDM=   .26E-12    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  norm          11.756        1.6271        .29193E-03    .81243E-03
   2  alpha         2.2295        .13799        .13805        .72336E-05
   3  Normalizat    1.3638        .12838        .57538E-01   -.53083E-05
   4  Prefactor     .79144        .13692        .79010E-01   -.79149E-05
                               ERR DEF=  .500    
Final values: 
  norm       = 11.7557
  alpha      = 2.22949
  Normalizat = 1.36382
  Prefactor  = 0.791444
 **********
 **   18 **HESSE 
 **********

 FCN=   16034.62     FROM HESSE     STATUS=OK            31 CALLS      242 TOTAL
                     EDM=   .13E-10    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  norm          11.756        1.4758        .51361E-05   -1.5639    
   2  alpha         2.2295        .12806        .59861E-03   -.10842    
   3  Normalizat    1.3638        .15551        .25443E-03   -.81681    
   4  Prefactor     .79144        .16437        .34978E-03   -1.0004    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 1.25868e-11
Minuit parameter uncertainties:
  1  1.47583
  2  0.128116
  3  0.155565
  4  0.164472
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) = 16034.6201497
delta logL = 0.49187660705

Extracting fit parameters...

4FGL J1159.5+2914
   Spectrum: LogParabola
302         norm:  1.176e+01  1.476e+00  0.000e+00  1.000e+06 ( 1.000e-11)
303        alpha:  2.229e+00  1.281e-01  0.000e+00  5.000e+00 ( 1.000e+00)
304         beta:  6.240e-02  0.000e+00 -5.000e+00  1.000e+01 ( 1.000e+00) fixed
305           Eb:  5.235e+02  0.000e+00  3.000e+01  5.000e+05 ( 1.000e+00) fixed

GAL_V02
   Spectrum: PowerLaw
617    Prefactor:  7.914e-01  1.645e-01  0.000e+00  1.000e+01 ( 1.000e+00)
618        Index:  0.000e+00  0.000e+00 -1.000e+00  1.000e+00 ( 1.000e+00) fixed
619        Scale:  1.000e+02  0.000e+00  5.000e+01  2.000e+02 ( 1.000e+00) fixed

EG_v02
   Spectrum: FileFunction
616   Normalization:  1.364e+00  1.556e-01  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Free Index): 210.13
Ra Dec: 179.884 29.245
Photon Index (Free Index): 2.23 +/- 0.13
Photon Flux (Free Index): 3.53e-07 +/- 5.53e-08
Energy Flux (Free Index): 1.32e-04 +/- 1.90e-05

Creating a high resolution counts map...
INFO: Auto-setting vmin to -1.000e-01 [aplpy.core]
INFO: Auto-setting vmax to  1.110e+00 [aplpy.core]
Saving /lscratch/kocevski/35793717/cmap_HighResolution_808704001_809308801_4FGL_J1159.5+2914_weekly_bin942.png

Cleaning up...

** Nuclear option initiated! **

Updating database...

UPDATE lightcurve_data_v2 SET comment='SUCCESS', photon_flux='3.19e-07', energy_flux2='1.32e-04', photon_flux_error='4.13e-08', dlogl='4.92e-01', energy_flux='1.43e-04', photon_flux2='3.53e-07', job_status='DONE', time_completed='2026-08-25 09:07:27.756039', photon_index_error2='0.13', photon_index2='2.23', ts='210.01', fit_tolerance='1e-08', GAL='0.77', photon_index_error='0.00', energy_flux_error2='1.90e-05', EG='1.40', time_epoch_completed='1787674047.76', return_code='0', job_id='35793717', GAL2='0.79', EG2='1.36', return_code2='0', energy_flux_error='1.85e-05', photon_flux_error2='5.53e-08', ts2='210.13', photon_index='2.10' WHERE bin_id='942' AND source_name='4FGL J1159.5+2914' AND cadence='weekly';

Database successfully updated.


Analysis Complete.


Tue Aug 25 09:07:27 PDT 2026

e GAL_V02
Working on...
/lscratch/kocevski/35793911/ft1_filtered_4FGL_J1159.5+2914_weekly_bin942.fits.....................!
real 55.20
user 53.03
sys 1.11

Creating the likelihood object...
obs = UnbinnedObs('/lscratch/kocevski/35793911/ft1_filtered_4FGL_J1159.5+2914_weekly_bin942.fits', '/lscratch/kocevski/35793911/ft2_4FGL_J1159.5+2914_weekly_bin942.fits', expMap='/lscratch/kocevski/35793911/expmap_808704001_809308801_4FGL_J1159.5+2914_weekly_bin942.fits', expCube='/lscratch/kocevski/35793911/ltcube_808704001_809308801_4FGL_J1159.5+2914_weekly_bin942.fits', irfs='P8R3_SOURCE_V2')
like = UnbinnedAnalysis(obs, '/lscratch/kocevski/35793911/Model_4FGL_J1159.5+2914_weekly_bin942.xml', optimizer='MINUIT')

Using source of interest name: '4FGL J1159.5+2914'

4FGL J1159.5+2914
   Spectrum: LogParabola
302         norm:  6.117e+00  0.000e+00  0.000e+00  1.000e+06 ( 1.000e-11)
303        alpha:  2.103e+00  0.000e+00  0.000e+00  5.000e+00 ( 1.000e+00) fixed
304         beta:  6.240e-02  0.000e+00 -5.000e+00  1.000e+01 ( 1.000e+00) fixed
305           Eb:  5.235e+02  0.000e+00  3.000e+01  5.000e+05 ( 1.000e+00) fixed


Likelihood Fit Parameters:
Event file(s): /lscratch/kocevski/35793911/ft1_filtered_4FGL_J1159.5+2914_weekly_bin942.fits
Spacecraft file(s): /lscratch/kocevski/35793911/ft2_4FGL_J1159.5+2914_weekly_bin942.fits
Exposure map: /lscratch/kocevski/35793911/expmap_808704001_809308801_4FGL_J1159.5+2914_weekly_bin942.fits
Exposure cube: /lscratch/kocevski/35793911/ltcube_808704001_809308801_4FGL_J1159.5+2914_weekly_bin942.fits
IRFs: P8R3_SOURCE_V2
Source model file: /lscratch/kocevski/35793911/Model_4FGL_J1159.5+2914_weekly_bin942.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) = 16036.5983538

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

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

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'Prefactor '    .52929E-05   1.0000          .0000       .10000E+07
     2 'norm      '    .45339E-03   1.0000          .0000       .10000E+07
     3 'Prefactor '    12.205       1.0000          .0000       .10000E+07
     4 'Prefactor '    .72164E-08   1.0000          .0000       .10000E+07
     5 'Prefactor '    .25079E-02   1.0000          .0000       .10000E+07
     6 'Prefactor '    .42960E-05   1.0000          .0000       .10000E+07
     7 'norm      '    15.423       1.0000          .0000       .10000E+07
     8 'Prefactor '    .71650E-03   1.0000          .0000       .10000E+07
     9 'Prefactor '    6.1968       1.0000          .0000       .10000E+07
    10 'norm      '    .14504       1.0000          .0000       .10000E+07
    11 'Prefactor '    39.397       1.0000          .0000       .10000E+07
    12 'Prefactor '    .12039E-03   1.0000          .0000       .10000E+07
    13 'Prefactor '    .56066E-08   1.0000          .0000       .10000E+07
    14 'Prefactor '    32.832       1.0000          .0000       .10000E+07
    15 'norm      '    11.752       1.0000          .0000       .10000E+07
    16 'Prefactor '    .61851E-06   1.0000          .0000       .10000E+07
    17 'Prefactor '    .16702E-04   1.0000          .0000       .10000E+07
    18 'norm      '    5.2121       1.0000          .0000       .10000E+07
    19 'Prefactor '    .14599       1.0000          .0000       .10000E+07
    20 'Prefactor '    .31730E-04   1.0000          .0000       .10000E+07
    21 'Prefactor '    4.4847       1.0000          .0000       .10000E+07
    22 'Prefactor '    .27960E-03   1.0000          .0000       .10000E+07
    23 'norm      '    .57271E-01   1.0000          .0000       .10000E+07
    24 'norm      '    9.6714       1.0000          .0000       .10000E+07
    25 'Prefactor '    .12593E-04   1.0000          .0000       .10000E+07
    26 'Normalizat'    1.3990       1.0000         .10000E-01   10.000    
    27 'Prefactor '    .76673       1.0000          .0000       10.000    
 **********
 **   15 **SET ERR    .5000    
 **********
 **********
 **   16 **SET GRAD    1.000    
 **********
 **********
 **   17 **MINIMIZE    .6200E+05   .2000E-04
 **********

 MIGRAD MINIMIZATION HAS CONVERGED.

 FCN=   16035.11     FROM MIGRAD    STATUS=CONVERGED    158 CALLS     1455 TOTAL
                     EDM=   .42E-09  STRATEGY=1  ERROR MATRIX UNCERTAINTY=   .6%

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor      .0000        .73409        .17419E-06** at limit **
   2  norm          .23093E-07    5.4629        .81712E-07** at limit **
   3  Prefactor     12.049        7.9273        .29550E-06    .19572E-01
   4  Prefactor      .0000        .76360       -.59961E-07** at limit **
   5  Prefactor     .19834E-06    7.6539        .30358E-06** at limit **
   6  Prefactor     .27323E-06    6.2087       -.56216E-06** at limit **
   7  norm          15.425        2.8020        .22104E-07    .12697E-02
   8  Prefactor     .29976E-08    29.900        .22774E-05** at limit **
   9  Prefactor     6.1941        4.3551       -.81191E-07   -.23846E-03
  10  norm          .14298        .54313        .26588E-06** at limit **
  11  Prefactor     39.389        2.2188       -.63774E-07    .65995E-01
  12  Prefactor     .22315E-07    1.9721        .27705E-06** at limit **
  13  Prefactor      .0000        2.0217       -.37899E-07** at limit **
  14  Prefactor     33.043        1.5364       -.38919E-07   -.59023E-02
  15  norm          11.753        1.5076       -.59948E-07   -.14675E-02
  16  Prefactor      .0000        .72245        .20415E-06** at limit **
  17  Prefactor     .55511E-10    1.3642        .43292E-06** at limit **
  18  norm          5.2106        2.5291        .62021E-08    .59276E-03
  19  Prefactor     .16586        .74542       -.11601E-06** at limit **
  20  Prefactor     .11102E-09    1.3570        .40998E-07** at limit **
  21  Prefactor     4.4846        2.1705       -.68073E-07   -.66323E-03
  22  Prefactor     .40762E-06    4.8113       -.37064E-06** at limit **
  23  norm          .57270E-01    .80875E-01   -.33028E-09** at limit **
  24  norm          9.6634        3.1537       -.18113E-07   -.20942E-05
  25  Prefactor     .44964E-08    1.9725        .34838E-06** at limit **
  26  Normalizat    1.3991        .15435       -.11730E-05   -.19327E-03
  27  Prefactor     .76674        .16260       -.44107E-05   -.13441E-03
                               ERR DEF=  .500    
Final values: 
  Prefactor  = 0
  norm       = 2.30926e-08
  Prefactor  = 12.0486
  Prefactor  = 0
  Prefactor  = 1.98341e-07
  Prefactor  = 2.73226e-07
  norm       = 15.4248
  Prefactor  = 2.9976e-09
  Prefactor  = 6.19408
  norm       = 0.14298
  Prefactor  = 39.3888
  Prefactor  = 2.23155e-08
  Prefactor  = 0
  Prefactor  = 33.043
  norm       = 11.7527
  Prefactor  = 0
  Prefactor  = 5.55112e-11
  norm       = 5.21059
  Prefactor  = 0.165858
  Prefactor  = 1.11022e-10
  Prefactor  = 4.48462
  Prefactor  = 4.07618e-07
  norm       = 0.0572695
  norm       = 9.66342
  Prefactor  = 4.4964e-09
  Normalizat = 1.39911
  Prefactor  = 0.766741
0         .10000E-01   10.000    
    27 'Prefactor '    .76673       1.0000          .0000       10.000    
 **********
 **   15 **SET ERR    .5000    
 **********
 **********
 **   16 **SET GRAD    1.000    
 **********
 **********
 **   17 **MINIMIZE    .6200E+05   .2000E-04
 **********

 MIGRAD MINIMIZATION HAS CONVERGED.

 FCN=   16035.11     FROM MIGRAD    STATUS=CONVERGED    158 CALLS     1455 TOTAL
                     EDM=   .42E-09  STRATEGY=1  ERROR MATRIX UNCERTAINTY=   .6%

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor      .0000        .73409        .17419E-06** at limit **
   2  norm          .23093E-07    5.4629        .81712E-07** at limit **
   3  Prefactor     12.049        7.9273        .29550E-06    .19572E-01
   4  Prefactor      .0000        .76360       -.59961E-07** at limit **
   5  Prefactor     .19834E-06    7.6539        .30358E-06** at limit **
   6  Prefactor     .27323E-06    6.2087       -.56216E-06** at limit **
   7  norm          15.425        2.8020        .22104E-07    .12697E-02
   8  Prefactor     .29976E-08    29.900        .22774E-05** at limit **
   9  Prefactor     6.1941        4.3551       -.81191E-07   -.23846E-03
  10  norm          .14298        .54313        .26588E-06** at limit **
  11  Prefactor     39.389        2.2188       -.63774E-07    .65995E-01
  12  Prefactor     .22315E-07    1.9721        .27705E-06** at limit **
  13  Prefactor      .0000        2.0217       -.37899E-07** at limit **
  14  Prefactor     33.043        1.5364       -.38919E-07   -.59023E-02
  15  norm          11.753        1.5076       -.59948E-07   -.14675E-02
  16  Prefactor      .0000        .72245        .20415E-06** at limit **
  17  Prefactor     .55511E-10    1.3642        .43292E-06** at limit **
  18  norm          5.2106        2.5291        .62021E-08    .59276E-03
  19  Prefactor     .16586        .74542       -.11601E-06** at limit **
  20  Prefactor     .11102E-09    1.3570        .40998E-07** at limit **
  21  Prefactor     4.4846        2.1705       -.68073E-07   -.66323E-03
  22  Prefactor     .40762E-06    4.8113       -.37064E-06** at limit **
  23  norm          .57270E-01    .80875E-01   -.33028E-09** at limit **
  24  norm          9.6634        3.1537       -.18113E-07   -.20942E-05
  25  Prefactor     .44964E-08    1.9725        .34838E-06** at limit **
  26  Normalizat    1.3991        .15435       -.11730E-05   -.19327E-03
  27  Prefactor     .76674        .16260       -.44107E-05   -.13441E-03
                               ERR DEF=  .500    
Final values: 
  Prefactor  = 0
  norm       = 2.30926e-08
  Prefactor  = 12.0486
  Prefactor  = 0
  Prefactor  = 1.98341e-07
  Prefactor  = 2.73226e-07
  norm       = 15.4248
  Prefactor  = 2.9976e-09
  Prefactor  = 6.19408
  norm       = 0.14298
  Prefactor  = 39.3888
  Prefactor  = 2.23155e-08
  Prefactor  = 0
  Prefactor  = 33.043
  norm       = 11.7527
  Prefactor  = 0
  Prefactor  = 5.55112e-11
  norm       = 5.21059
  Prefactor  = 0.165858
  Prefactor  = 1.11022e-10
  Prefactor  = 4.48462
  Prefactor  = 4.07618e-07
  norm       = 0.0572695
  norm       = 9.66342
  Prefactor  = 4.4964e-09
  Normalizat = 1.39911
  Prefactor  = 0.766741
 **********
 **   18 **HESSE 
 **********

 FCN=   16035.11     FROM HESSE     STATUS=OK           562 CALLS     2017 TOTAL
                     EDM=   .16E-06    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  Prefactor      .0000        .73386        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   2  norm          .23093E-07    5.6849        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   3  Prefactor     12.049        8.0426        .28648E-03   -1.5639    
   4  Prefactor      .0000        .76320        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   5  Prefactor     .19834E-06    9.8799        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   6  Prefactor     .27323E-06    8.9849        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   7  norm          15.425        2.8256        .25477E-03   -1.5629    
   8  Prefactor     .29976E-08    29.458        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   9  Prefactor     6.1941        4.3644        .40304E-03   -1.5658    
  10  norm          .14298        .42281        .24791E-02   -1.5700    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  11  Prefactor     39.389        17.212        .15933E-03   -1.5582    
  12  Prefactor     .22315E-07    3.8904        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  13  Prefactor      .0000        .49937        .42118E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  14  Prefactor     33.043        25.940        .17455E-03   -1.5593    
  15  norm          11.753        1.5225        .29197E-03   -1.5639    
  16  Prefactor      .0000        .72100        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  17  Prefactor     .55511E-10    1.3468        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  18  norm          5.2106        2.5484        .44007E-03   -1.5662    
  19  Prefactor     .16586        2.2289        .10258E-01   -1.5700    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  20  Prefactor     .11102E-09    1.3546        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  21  Prefactor     4.4846        2.1833        .47521E-03   -1.5666    
  22  Prefactor     .40762E-06    1.1091        .72810E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  23  norm          .57270E-01    .97007E-01    .95236E-03   -1.5703    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  24  norm          9.6634        3.2125        .32199E-03   -1.5646    
  25  Prefactor     .44964E-08    3.8297        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  26  Normalizat    1.3991        .13196        .57010E-01   -.80654    
  27  Prefactor     .76674        .13722        .80187E-01   -1.0097    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 1.61415e-07
Minuit parameter uncertainties:
  1  1.0294e-06
  2  0.000724888
  3  8.04262
  4  1.82711e-06
  5  0.00279982
  6  0.00313358
  7  2.8256
  8  0.000595022
  9  4.36443
  10  0.422808
  11  17.212
  12  0.000589533
  13  6.40384e-06
  14  25.9404
  15  1.52245
  16  1.5366e-06
  17  1.60658e-05
  18  2.54845
  19  1.21603
  20  2.23644e-05
  21  2.18329
  22  0.00134481
  23  0.097007
  24  3.21255
  25  0.000262723
  26  0.131997
  27  0.13728
Done.

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

Extracting fit parameters...

4FGL J1159.5+2914
   Spectrum: LogParabola
302         norm:  1.175e+01  1.522e+00  0.000e+00  1.000e+06 ( 1.000e-11)
303        alpha:  2.103e+00  0.000e+00  0.000e+00  5.000e+00 ( 1.000e+00) fixed
304         beta:  6.240e-02  0.000e+00 -5.000e+00  1.000e+01 ( 1.000e+00) fixed
305           Eb:  5.235e+02  0.000e+00  3.000e+01  5.000e+05 ( 1.000e+00) fixed

GAL_V02
   Spectrum: PowerLaw
617    Prefactor:  7.667e-01  1.373e-01  0.000e+00  1.000e+01 ( 1.000e+00)
618        Index:  0.000e+00  0.000e+00 -1.000e+00  1.000e+00 ( 1.000e+00) fixed
619        Scale:  1.000e+02  0.000e+00  5.000e+01  2.000e+02 ( 1.000e+00) fixed

EG_v02
   Spectrum: FileFunction
616   Normalization:  1.399e+00  1.320e-01  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Fixed Index): 210.01
Ra Dec: 179.884 29.245
Photon Index (Fixed Index): 2.10 +/- 0.00
Photon Flux (Fixed Index): 3.19e-07 +/- 4.13e-08
Energy Flux (Fixed Index): 1.43e-04 +/- 1.85e-05

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) = 16034.6203889
delta logL = 0.491637461566

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

MINUIT Return Code (Free Index): 0
logL (Free Index) = 16034.6201501
delta logL = 0.491876269371

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'norm      '    11.756       1.0000          .0000       .10000E+07
     2 'alpha     '    2.2294       1.0000          .0000       5.0000    
     3 'Normalizat'    1.3639       1.0000         .10000E-01   10.000    
     4 'Prefactor '    .79133       1.0000          .0000       10.000    
 **********
 **   15 **SET ERR    .5000    
 **********
 **********
 **   16 **SET GRAD    1.000    
 **********
 **********
 **   17 **MINIMIZE    .6200E+05   .2000E-04
 **********

 MIGRAD MINIMIZATION HAS CONVERGED.

 MIGRAD WILL VERIFY CONVERGENCE AND ERROR MATRIX.

 FCN=   16034.62     FROM MIGRAD    STATUS=CONVERGED     55 CALLS      211 TOTAL
                     EDM=   .26E-12    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  norm          11.756        1.6271        .29193E-03    .81243E-03
   2  alpha         2.2295        .13799        .13805        .72336E-05
   3  Normalizat    1.3638        .12838        .57538E-01   -.53083E-05
   4  Prefactor     .79144        .13692        .79010E-01   -.79149E-05
                               ERR DEF=  .500    
Final values: 
  norm       = 11.7557
  alpha      = 2.22949
  Normalizat = 1.36382
  Prefactor  = 0.791444
 **********
 **   18 **HESSE 
 **********

 FCN=   16034.62     FROM HESSE     STATUS=OK            31 CALLS      242 TOTAL
                     EDM=   .13E-10    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  norm          11.756        1.4758        .51361E-05   -1.5639    
   2  alpha         2.2295        .12806        .59861E-03   -.10842    
   3  Normalizat    1.3638        .15551        .25443E-03   -.81681    
   4  Prefactor     .79144        .16437        .34978E-03   -1.0004    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 1.25868e-11
Minuit parameter uncertainties:
  1  1.47583
  2  0.128116
  3  0.155565
  4  0.164472
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) = 16034.6201497
delta logL = 0.49187660705

Extracting fit parameters...

4FGL J1159.5+2914
   Spectrum: LogParabola
302         norm:  1.176e+01  1.476e+00  0.000e+00  1.000e+06 ( 1.000e-11)
303        alpha:  2.229e+00  1.281e-01  0.000e+00  5.000e+00 ( 1.000e+00)
304         beta:  6.240e-02  0.000e+00 -5.000e+00  1.000e+01 ( 1.000e+00) fixed
305           Eb:  5.235e+02  0.000e+00  3.000e+01  5.000e+05 ( 1.000e+00) fixed

GAL_V02
   Spectrum: PowerLaw
617    Prefactor:  7.914e-01  1.645e-01  0.000e+00  1.000e+01 ( 1.000e+00)
618        Index:  0.000e+00  0.000e+00 -1.000e+00  1.000e+00 ( 1.000e+00) fixed
619        Scale:  1.000e+02  0.000e+00  5.000e+01  2.000e+02 ( 1.000e+00) fixed

EG_v02
   Spectrum: FileFunction
616   Normalization:  1.364e+00  1.556e-01  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Free Index): 210.13
Ra Dec: 179.884 29.245
Photon Index (Free Index): 2.23 +/- 0.13
Photon Flux (Free Index): 3.53e-07 +/- 5.53e-08
Energy Flux (Free Index): 1.32e-04 +/- 1.90e-05

Creating a high resolution counts map...
INFO: Auto-setting vmin to -1.000e-01 [aplpy.core]
INFO: Auto-setting vmax to  1.110e+00 [aplpy.core]
Saving /lscratch/kocevski/35793733/cmap_HighResolution_808704001_809308801_4FGL_J1159.5+2914_weekly_bin942.png

Cleaning up...

** Nuclear option initiated! **

Updating database...

UPDATE lightcurve_data_v2 SET comment='SUCCESS', photon_flux='3.19e-07', energy_flux2='1.32e-04', photon_flux_error='4.13e-08', dlogl='4.92e-01', energy_flux='1.43e-04', photon_flux2='3.53e-07', job_status='DONE', time_completed='2026-08-25 09:08:30.454968', photon_index_error2='0.13', photon_index2='2.23', ts='210.01', fit_tolerance='1e-08', GAL='0.77', photon_index_error='0.00', energy_flux_error2='1.90e-05', EG='1.40', time_epoch_completed='1787674110.45', return_code='0', job_id='35793733', GAL2='0.79', EG2='1.36', return_code2='0', energy_flux_error='1.85e-05', photon_flux_error2='5.53e-08', ts2='210.13', photon_index='2.10' WHERE bin_id='942' AND source_name='4FGL J1159.5+2914' AND cadence='weekly';

Database successfully updated.


Analysis Complete.


Tue Aug 25 09:08:30 PDT 2026

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

 FCN=   16035.11     FROM HESSE     STATUS=OK           562 CALLS     2017 TOTAL
                     EDM=   .16E-06    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  Prefactor      .0000        .73386        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   2  norm          .23093E-07    5.6849        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   3  Prefactor     12.049        8.0426        .28648E-03   -1.5639    
   4  Prefactor      .0000        .76320        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   5  Prefactor     .19834E-06    9.8799        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   6  Prefactor     .27323E-06    8.9849        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   7  norm          15.425        2.8256        .25477E-03   -1.5629    
   8  Prefactor     .29976E-08    29.458        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   9  Prefactor     6.1941        4.3644        .40304E-03   -1.5658    
  10  norm          .14298        .42281        .24791E-02   -1.5700    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  11  Prefactor     39.389        17.212        .15933E-03   -1.5582    
  12  Prefactor     .22315E-07    3.8904        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  13  Prefactor      .0000        .49937        .42118E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  14  Prefactor     33.043        25.940        .17455E-03   -1.5593    
  15  norm          11.753        1.5225        .29197E-03   -1.5639    
  16  Prefactor      .0000        .72100        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  17  Prefactor     .55511E-10    1.3468        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  18  norm          5.2106        2.5484        .44007E-03   -1.5662    
  19  Prefactor     .16586        2.2289        .10258E-01   -1.5700    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  20  Prefactor     .11102E-09    1.3546        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  21  Prefactor     4.4846        2.1833        .47521E-03   -1.5666    
  22  Prefactor     .40762E-06    1.1091        .72810E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  23  norm          .57270E-01    .97007E-01    .95236E-03   -1.5703    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  24  norm          9.6634        3.2125        .32199E-03   -1.5646    
  25  Prefactor     .44964E-08    3.8297        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  26  Normalizat    1.3991        .13196        .57010E-01   -.80654    
  27  Prefactor     .76674        .13722        .80187E-01   -1.0097    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 1.61415e-07
Minuit parameter uncertainties:
  1  1.0294e-06
  2  0.000724888
  3  8.04262
  4  1.82711e-06
  5  0.00279982
  6  0.00313358
  7  2.8256
  8  0.000595022
  9  4.36443
  10  0.422808
  11  17.212
  12  0.000589533
  13  6.40384e-06
  14  25.9404
  15  1.52245
  16  1.5366e-06
  17  1.60658e-05
  18  2.54845
  19  1.21603
  20  2.23644e-05
  21  2.18329
  22  0.00134481
  23  0.097007
  24  3.21255
  25  0.000262723
  26  0.131997
  27  0.13728
 **********
 **   18 **HESSE 
 **********

 FCN=   16035.11     FROM HESSE     STATUS=OK           562 CALLS     2017 TOTAL
                     EDM=   .16E-06    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  Prefactor      .0000        .73386        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   2  norm          .23093E-07    5.6849        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   3  Prefactor     12.049        8.0426        .28648E-03   -1.5639    
   4  Prefactor      .0000        .76320        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   5  Prefactor     .19834E-06    9.8799        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   6  Prefactor     .27323E-06    8.9849        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   7  norm          15.425        2.8256        .25477E-03   -1.5629    
   8  Prefactor     .29976E-08    29.458        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   9  Prefactor     6.1941        4.3644        .40304E-03   -1.5658    
  10  norm          .14298        .42281        .24791E-02   -1.5700    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  11  Prefactor     39.389        17.212        .15933E-03   -1.5582    
  12  Prefactor     .22315E-07    3.8904        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  13  Prefactor      .0000        .49937        .42118E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  14  Prefactor     33.043        25.940        .17455E-03   -1.5593    
  15  norm          11.753        1.5225        .29197E-03   -1.5639    
  16  Prefactor      .0000        .72100        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  17  Prefactor     .55511E-10    1.3468        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  18  norm          5.2106        2.5484        .44007E-03   -1.5662    
  19  Prefactor     .16586        2.2289        .10258E-01   -1.5700    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  20  Prefactor     .11102E-09    1.3546        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  21  Prefactor     4.4846        2.1833        .47521E-03   -1.5666    
  22  Prefactor     .40762E-06    1.1091        .72810E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  23  norm          .57270E-01    .97007E-01    .95236E-03   -1.5703    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  24  norm          9.6634        3.2125        .32199E-03   -1.5646    
  25  Prefactor     .44964E-08    3.8297        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  26  Normalizat    1.3991        .13196        .57010E-01   -.80654    
  27  Prefactor     .76674        .13722        .80187E-01   -1.0097    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 1.61415e-07
Minuit parameter uncertainties:
  1  1.0294e-06
  2  0.000724888
  3  8.04262
  4  1.82711e-06
  5  0.00279982
  6  0.00313358
  7  2.8256
  8  0.000595022
  9  4.36443
  10  0.422808
  11  17.212
  12  0.000589533
  13  6.40384e-06
  14  25.9404
  15  1.52245
  16  1.5366e-06
  17  1.60658e-05
  18  2.54845
  19  1.21603
  20  2.23644e-05
  21  2.18329
  22  0.00134481
  23  0.097007
  24  3.21255
  25  0.000262723
  26  0.131997
  27  0.13728
Done.

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

Extracting fit parameters...

4FGL J1159.5+2914
   Spectrum: LogParabola
302         norm:  1.175e+01  1.522e+00  0.000e+00  1.000e+06 ( 1.000e-11)
303        alpha:  2.103e+00  0.000e+00  0.000e+00  5.000e+00 ( 1.000e+00) fixed
304         beta:  6.240e-02  0.000e+00 -5.000e+00  1.000e+01 ( 1.000e+00) fixed
305           Eb:  5.235e+02  0.000e+00  3.000e+01  5.000e+05 ( 1.000e+00) fixed

GAL_V02
   Spectrum: PowerLaw
617    Prefactor:  7.667e-01  1.373e-01  0.000e+00  1.000e+01 ( 1.000e+00)
618        Index:  0.000e+00  0.000e+00 -1.000e+00  1.000e+00 ( 1.000e+00) fixed
619        Scale:  1.000e+02  0.000e+00  5.000e+01  2.000e+02 ( 1.000e+00) fixed

EG_v02
   Spectrum: FileFunction
616   Normalization:  1.399e+00  1.320e-01  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Fixed Index): 210.01
Ra Dec: 179.884 29.245
Photon Index (Fixed Index): 2.10 +/- 0.00
Photon Flux (Fixed Index): 3.19e-07 +/- 4.13e-08
Energy Flux (Fixed Index): 1.43e-04 +/- 1.85e-05

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) = 16034.6203889
delta logL = 0.491637461566

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

MINUIT Return Code (Free Index): 0
logL (Free Index) = 16034.6201501
delta logL = 0.491876269371

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'norm      '    11.756       1.0000          .0000       .10000E+07
     2 'alpha     '    2.2294       1.0000          .0000       5.0000    
     3 'Normalizat'    1.3639       1.0000         .10000E-01   10.000    
     4 'Prefactor '    .79133       1.0000          .0000       10.000    
 **********
 **   15 **SET ERR    .5000    
 **********
 **********
 **   16 **SET GRAD    1.000    
 **********
 **********
 **   17 **MINIMIZE    .6200E+05   .2000E-04
 **********

 MIGRAD MINIMIZATION HAS CONVERGED.

 MIGRAD WILL VERIFY CONVERGENCE AND ERROR MATRIX.

 FCN=   16034.62     FROM MIGRAD    STATUS=CONVERGED     55 CALLS      211 TOTAL
                     EDM=   .26E-12    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  norm          11.756        1.6271        .29193E-03    .81243E-03
   2  alpha         2.2295        .13799        .13805        .72336E-05
   3  Normalizat    1.3638        .12838        .57538E-01   -.53083E-05
   4  Prefactor     .79144        .13692        .79010E-01   -.79149E-05
                               ERR DEF=  .500    
Final values: 
  norm       = 11.7557
  alpha      = 2.22949
  Normalizat = 1.36382
  Prefactor  = 0.791444
 **********
 **   18 **HESSE 
 **********

 FCN=   16034.62     FROM HESSE     STATUS=OK            31 CALLS      242 TOTAL
                     EDM=   .13E-10    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  norm          11.756        1.4758        .51361E-05   -1.5639    
   2  alpha         2.2295        .12806        .59861E-03   -.10842    
   3  Normalizat    1.3638        .15551        .25443E-03   -.81681    
   4  Prefactor     .79144        .16437        .34978E-03   -1.0004    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 1.25868e-11
Minuit parameter uncertainties:
  1  1.47583
  2  0.128116
  3  0.155565
  4  0.164472
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) = 16034.6201497
delta logL = 0.49187660705

Extracting fit parameters...

4FGL J1159.5+2914
   Spectrum: LogParabola
302         norm:  1.176e+01  1.476e+00  0.000e+00  1.000e+06 ( 1.000e-11)
303        alpha:  2.229e+00  1.281e-01  0.000e+00  5.000e+00 ( 1.000e+00)
304         beta:  6.240e-02  0.000e+00 -5.000e+00  1.000e+01 ( 1.000e+00) fixed
305           Eb:  5.235e+02  0.000e+00  3.000e+01  5.000e+05 ( 1.000e+00) fixed

GAL_V02
   Spectrum: PowerLaw
617    Prefactor:  7.914e-01  1.645e-01  0.000e+00  1.000e+01 ( 1.000e+00)
618        Index:  0.000e+00  0.000e+00 -1.000e+00  1.000e+00 ( 1.000e+00) fixed
619        Scale:  1.000e+02  0.000e+00  5.000e+01  2.000e+02 ( 1.000e+00) fixed

EG_v02
   Spectrum: FileFunction
616   Normalization:  1.364e+00  1.556e-01  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Free Index): 210.13
Ra Dec: 179.884 29.245
Photon Index (Free Index): 2.23 +/- 0.13
Photon Flux (Free Index): 3.53e-07 +/- 5.53e-08
Energy Flux (Free Index): 1.32e-04 +/- 1.90e-05

Creating a high resolution counts map...
INFO: Auto-setting vmin to -1.000e-01 [aplpy.core]
INFO: Auto-setting vmax to  1.110e+00 [aplpy.core]
Saving /lscratch/kocevski/35793741/cmap_HighResolution_808704001_809308801_4FGL_J1159.5+2914_weekly_bin942.png

Cleaning up...

** Nuclear option initiated! **

Updating database...

UPDATE lightcurve_data_v2 SET comment='SUCCESS', photon_flux='3.19e-07', energy_flux2='1.32e-04', photon_flux_error='4.13e-08', dlogl='4.92e-01', energy_flux='1.43e-04', photon_flux2='3.53e-07', job_status='DONE', time_completed='2026-08-25 09:09:02.979854', photon_index_error2='0.13', photon_index2='2.23', ts='210.01', fit_tolerance='1e-08', GAL='0.77', photon_index_error='0.00', energy_flux_error2='1.90e-05', EG='1.40', time_epoch_completed='1787674142.98', return_code='0', job_id='35793741', GAL2='0.79', EG2='1.36', return_code2='0', energy_flux_error='1.85e-05', photon_flux_error2='5.53e-08', ts2='210.13', photon_index='2.10' WHERE bin_id='942' AND source_name='4FGL J1159.5+2914' AND cadence='weekly';

Database successfully updated.


Analysis Complete.


Tue Aug 25 09:09:03 PDT 2026

Done.

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

Extracting fit parameters...

4FGL J1159.5+2914
   Spectrum: LogParabola
302         norm:  1.175e+01  1.522e+00  0.000e+00  1.000e+06 ( 1.000e-11)
303        alpha:  2.103e+00  0.000e+00  0.000e+00  5.000e+00 ( 1.000e+00) fixed
304         beta:  6.240e-02  0.000e+00 -5.000e+00  1.000e+01 ( 1.000e+00) fixed
305           Eb:  5.235e+02  0.000e+00  3.000e+01  5.000e+05 ( 1.000e+00) fixed

GAL_V02
   Spectrum: PowerLaw
617    Prefactor:  7.667e-01  1.373e-01  0.000e+00  1.000e+01 ( 1.000e+00)
618        Index:  0.000e+00  0.000e+00 -1.000e+00  1.000e+00 ( 1.000e+00) fixed
619        Scale:  1.000e+02  0.000e+00  5.000e+01  2.000e+02 ( 1.000e+00) fixed

EG_v02
   Spectrum: FileFunction
616   Normalization:  1.399e+00  1.320e-01  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Fixed Index): 210.01
Ra Dec: 179.884 29.245
Photon Index (Fixed Index): 2.10 +/- 0.00
Photon Flux (Fixed Index): 3.19e-07 +/- 4.13e-08
Energy Flux (Fixed Index): 1.43e-04 +/- 1.85e-05

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) = 16034.6203889
delta logL = 0.491637461566

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

MINUIT Return Code (Free Index): 0
logL (Free Index) = 16034.6201501
delta logL = 0.491876269371

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'norm      '    11.756       1.0000          .0000       .10000E+07
     2 'alpha     '    2.2294       1.0000          .0000       5.0000    
     3 'Normalizat'    1.3639       1.0000         .10000E-01   10.000    
     4 'Prefactor '    .79133       1.0000          .0000       10.000    
 **********
 **   15 **SET ERR    .5000    
 **********
 **********
 **   16 **SET GRAD    1.000    
 **********
 **********
 **   17 **MINIMIZE    .6200E+05   .2000E-04
 **********

 MIGRAD MINIMIZATION HAS CONVERGED.

 MIGRAD WILL VERIFY CONVERGENCE AND ERROR MATRIX.

 FCN=   16034.62     FROM MIGRAD    STATUS=CONVERGED     55 CALLS      211 TOTAL
                     EDM=   .26E-12    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  norm          11.756        1.6271        .29193E-03    .81243E-03
   2  alpha         2.2295        .13799        .13805        .72336E-05
   3  Normalizat    1.3638        .12838        .57538E-01   -.53083E-05
   4  Prefactor     .79144        .13692        .79010E-01   -.79149E-05
                               ERR DEF=  .500    
Final values: 
  norm       = 11.7557
  alpha      = 2.22949
  Normalizat = 1.36382
  Prefactor  = 0.791444
 **********
 **   18 **HESSE 
 **********

 FCN=   16034.62     FROM HESSE     STATUS=OK            31 CALLS      242 TOTAL
                     EDM=   .13E-10    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  norm          11.756        1.4758        .51361E-05   -1.5639    
   2  alpha         2.2295        .12806        .59861E-03   -.10842    
   3  Normalizat    1.3638        .15551        .25443E-03   -.81681    
   4  Prefactor     .79144        .16437        .34978E-03   -1.0004    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 1.25868e-11
Minuit parameter uncertainties:
  1  1.47583
  2  0.128116
  3  0.155565
  4  0.164472
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) = 16034.6201497
delta logL = 0.49187660705

Extracting fit parameters...

4FGL J1159.5+2914
   Spectrum: LogParabola
302         norm:  1.176e+01  1.476e+00  0.000e+00  1.000e+06 ( 1.000e-11)
303        alpha:  2.229e+00  1.281e-01  0.000e+00  5.000e+00 ( 1.000e+00)
304         beta:  6.240e-02  0.000e+00 -5.000e+00  1.000e+01 ( 1.000e+00) fixed
305           Eb:  5.235e+02  0.000e+00  3.000e+01  5.000e+05 ( 1.000e+00) fixed

GAL_V02
   Spectrum: PowerLaw
617    Prefactor:  7.914e-01  1.645e-01  0.000e+00  1.000e+01 ( 1.000e+00)
618        Index:  0.000e+00  0.000e+00 -1.000e+00  1.000e+00 ( 1.000e+00) fixed
619        Scale:  1.000e+02  0.000e+00  5.000e+01  2.000e+02 ( 1.000e+00) fixed

EG_v02
   Spectrum: FileFunction
616   Normalization:  1.364e+00  1.556e-01  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Free Index): 210.13
Ra Dec: 179.884 29.245
Photon Index (Free Index): 2.23 +/- 0.13
Photon Flux (Free Index): 3.53e-07 +/- 5.53e-08
Energy Flux (Free Index): 1.32e-04 +/- 1.90e-05

Creating a high resolution counts map...
INFO: Auto-setting vmin to -1.000e-01 [aplpy.core]
INFO: Auto-setting vmax to  1.110e+00 [aplpy.core]
Saving /lscratch/kocevski/35793911/cmap_HighResolution_808704001_809308801_4FGL_J1159.5+2914_weekly_bin942.png

Cleaning up...

** Nuclear option initiated! **

Updating database...

UPDATE lightcurve_data_v2 SET comment='SUCCESS', photon_flux='3.19e-07', energy_flux2='1.32e-04', photon_flux_error='4.13e-08', dlogl='4.92e-01', energy_flux='1.43e-04', photon_flux2='3.53e-07', job_status='DONE', time_completed='2026-08-25 09:09:16.167102', photon_index_error2='0.13', photon_index2='2.23', ts='210.01', fit_tolerance='1e-08', GAL='0.77', photon_index_error='0.00', energy_flux_error2='1.90e-05', EG='1.40', time_epoch_completed='1787674156.17', return_code='0', job_id='35793911', GAL2='0.79', EG2='1.36', return_code2='0', energy_flux_error='1.85e-05', photon_flux_error2='5.53e-08', ts2='210.13', photon_index='2.10' WHERE bin_id='942' AND source_name='4FGL J1159.5+2914' AND cadence='weekly';

Database successfully updated.


Analysis Complete.


Tue Aug 25 09:09:16 PDT 2026

e GAL_V02
Working on...
/lscratch/kocevski/35794152/ft1_filtered_4FGL_J1159.5+2914_weekly_bin942.fits.....................!
real 58.36
user 56.28
sys 0.77

Creating the likelihood object...
obs = UnbinnedObs('/lscratch/kocevski/35794152/ft1_filtered_4FGL_J1159.5+2914_weekly_bin942.fits', '/lscratch/kocevski/35794152/ft2_4FGL_J1159.5+2914_weekly_bin942.fits', expMap='/lscratch/kocevski/35794152/expmap_808704001_809308801_4FGL_J1159.5+2914_weekly_bin942.fits', expCube='/lscratch/kocevski/35794152/ltcube_808704001_809308801_4FGL_J1159.5+2914_weekly_bin942.fits', irfs='P8R3_SOURCE_V2')
like = UnbinnedAnalysis(obs, '/lscratch/kocevski/35794152/Model_4FGL_J1159.5+2914_weekly_bin942.xml', optimizer='MINUIT')

Using source of interest name: '4FGL J1159.5+2914'

4FGL J1159.5+2914
   Spectrum: LogParabola
302         norm:  6.117e+00  0.000e+00  0.000e+00  1.000e+06 ( 1.000e-11)
303        alpha:  2.103e+00  0.000e+00  0.000e+00  5.000e+00 ( 1.000e+00) fixed
304         beta:  6.240e-02  0.000e+00 -5.000e+00  1.000e+01 ( 1.000e+00) fixed
305           Eb:  5.235e+02  0.000e+00  3.000e+01  5.000e+05 ( 1.000e+00) fixed


Likelihood Fit Parameters:
Event file(s): /lscratch/kocevski/35794152/ft1_filtered_4FGL_J1159.5+2914_weekly_bin942.fits
Spacecraft file(s): /lscratch/kocevski/35794152/ft2_4FGL_J1159.5+2914_weekly_bin942.fits
Exposure map: /lscratch/kocevski/35794152/expmap_808704001_809308801_4FGL_J1159.5+2914_weekly_bin942.fits
Exposure cube: /lscratch/kocevski/35794152/ltcube_808704001_809308801_4FGL_J1159.5+2914_weekly_bin942.fits
IRFs: P8R3_SOURCE_V2
Source model file: /lscratch/kocevski/35794152/Model_4FGL_J1159.5+2914_weekly_bin942.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) = 16036.5983538

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

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

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'Prefactor '    .52929E-05   1.0000          .0000       .10000E+07
     2 'norm      '    .45339E-03   1.0000          .0000       .10000E+07
     3 'Prefactor '    12.205       1.0000          .0000       .10000E+07
     4 'Prefactor '    .72164E-08   1.0000          .0000       .10000E+07
     5 'Prefactor '    .25079E-02   1.0000          .0000       .10000E+07
     6 'Prefactor '    .42960E-05   1.0000          .0000       .10000E+07
     7 'norm      '    15.423       1.0000          .0000       .10000E+07
     8 'Prefactor '    .71650E-03   1.0000          .0000       .10000E+07
     9 'Prefactor '    6.1968       1.0000          .0000       .10000E+07
    10 'norm      '    .14504       1.0000          .0000       .10000E+07
    11 'Prefactor '    39.397       1.0000          .0000       .10000E+07
    12 'Prefactor '    .12039E-03   1.0000          .0000       .10000E+07
    13 'Prefactor '    .56066E-08   1.0000          .0000       .10000E+07
    14 'Prefactor '    32.832       1.0000          .0000       .10000E+07
    15 'norm      '    11.752       1.0000          .0000       .10000E+07
    16 'Prefactor '    .61851E-06   1.0000          .0000       .10000E+07
    17 'Prefactor '    .16702E-04   1.0000          .0000       .10000E+07
    18 'norm      '    5.2121       1.0000          .0000       .10000E+07
    19 'Prefactor '    .14599       1.0000          .0000       .10000E+07
    20 'Prefactor '    .31730E-04   1.0000          .0000       .10000E+07
    21 'Prefactor '    4.4847       1.0000          .0000       .10000E+07
    22 'Prefactor '    .27960E-03   1.0000          .0000       .10000E+07
    23 'norm      '    .57271E-01   1.0000          .0000       .10000E+07
    24 'norm      '    9.6714       1.0000          .0000       .10000E+07
    25 'Prefactor '    .12593E-04   1.0000          .0000       .10000E+07
    26 'Normalizat'    1.3990       1.0000         .10000E-01   10.000    
    27 'Prefactor '    .76673       1.0000          .0000       10.000    
 **********
 **   15 **SET ERR    .5000    
 **********
 **********
 **   16 **SET GRAD    1.000    
 **********
 **********
 **   17 **MINIMIZE    .6200E+05   .2000E-04
 **********

 MIGRAD MINIMIZATION HAS CONVERGED.

 FCN=   16035.11     FROM MIGRAD    STATUS=CONVERGED    158 CALLS     1455 TOTAL
                     EDM=   .42E-09  STRATEGY=1  ERROR MATRIX UNCERTAINTY=   .6%

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor      .0000        .73409        .17419E-06** at limit **
   2  norm          .23093E-07    5.4629        .81712E-07** at limit **
   3  Prefactor     12.049        7.9273        .29550E-06    .19572E-01
   4  Prefactor      .0000        .76360       -.59961E-07** at limit **
   5  Prefactor     .19834E-06    7.6539        .30358E-06** at limit **
   6  Prefactor     .27323E-06    6.2087       -.56216E-06** at limit **
   7  norm          15.425        2.8020        .22104E-07    .12697E-02
   8  Prefactor     .29976E-08    29.900        .22774E-05** at limit **
   9  Prefactor     6.1941        4.3551       -.81191E-07   -.23846E-03
  10  norm          .14298        .54313        .26588E-06** at limit **
  11  Prefactor     39.389        2.2188       -.63774E-07    .65995E-01
  12  Prefactor     .22315E-07    1.9721        .27705E-06** at limit **
  13  Prefactor      .0000        2.0217       -.37899E-07** at limit **
  14  Prefactor     33.043        1.5364       -.38919E-07   -.59023E-02
  15  norm          11.753        1.5076       -.59948E-07   -.14675E-02
  16  Prefactor      .0000        .72245        .20415E-06** at limit **
  17  Prefactor     .55511E-10    1.3642        .43292E-06** at limit **
  18  norm          5.2106        2.5291        .62021E-08    .59276E-03
  19  Prefactor     .16586        .74542       -.11601E-06** at limit **
  20  Prefactor     .11102E-09    1.3570        .40998E-07** at limit **
  21  Prefactor     4.4846        2.1705       -.68073E-07   -.66323E-03
  22  Prefactor     .40762E-06    4.8113       -.37064E-06** at limit **
  23  norm          .57270E-01    .80875E-01   -.33028E-09** at limit **
  24  norm          9.6634        3.1537       -.18113E-07   -.20942E-05
  25  Prefactor     .44964E-08    1.9725        .34838E-06** at limit **
  26  Normalizat    1.3991        .15435       -.11730E-05   -.19327E-03
  27  Prefactor     .76674        .16260       -.44107E-05   -.13441E-03
                               ERR DEF=  .500    
Final values: 
  Prefactor  = 0
  norm       = 2.30926e-08
  Prefactor  = 12.0486
  Prefactor  = 0
  Prefactor  = 1.98341e-07
  Prefactor  = 2.73226e-07
  norm       = 15.4248
  Prefactor  = 2.9976e-09
  Prefactor  = 6.19408
  norm       = 0.14298
  Prefactor  = 39.3888
  Prefactor  = 2.23155e-08
  Prefactor  = 0
  Prefactor  = 33.043
  norm       = 11.7527
  Prefactor  = 0
  Prefactor  = 5.55112e-11
  norm       = 5.21059
  Prefactor  = 0.165858
  Prefactor  = 1.11022e-10
  Prefactor  = 4.48462
  Prefactor  = 4.07618e-07
  norm       = 0.0572695
  norm       = 9.66342
  Prefactor  = 4.4964e-09
  Normalizat = 1.39911
  Prefactor  = 0.766741
 **********
 **   18 **HESSE 
 **********

 FCN=   16035.11     FROM HESSE     STATUS=OK           562 CALLS     2017 TOTAL
                     EDM=   .16E-06    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  Prefactor      .0000        .73386        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   2  norm          .23093E-07    5.6849        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   3  Prefactor     12.049        8.0426        .28648E-03   -1.5639    
   4  Prefactor      .0000        .76320        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   5  Prefactor     .19834E-06    9.8799        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   6  Prefactor     .27323E-06    8.9849        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   7  norm          15.425        2.8256        .25477E-03   -1.5629    
   8  Prefactor     .29976E-08    29.458        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   9  Prefactor     6.1941        4.3644        .40304E-03   -1.5658    
  10  norm          .14298        .42281        .24791E-02   -1.5700    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  11  Prefactor     39.389        17.212        .15933E-03   -1.5582    
  12  Prefactor     .22315E-07    3.8904        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  13  Prefactor      .0000        .49937        .42118E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  14  Prefactor     33.043        25.940        .17455E-03   -1.5593    
  15  norm          11.753        1.5225        .29197E-03   -1.5639    
  16  Prefactor      .0000        .72100        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  17  Prefactor     .55511E-10    1.3468        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  18  norm          5.2106        2.5484        .44007E-03   -1.5662    
  19  Prefactor     .16586        2.2289        .10258E-01   -1.5700    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  20  Prefactor     .11102E-09    1.3546        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  21  Prefactor     4.4846        2.1833        .47521E-03   -1.5666    
  22  Prefactor     .40762E-06    1.1091        .72810E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  23  norm          .57270E-01    .97007E-01    .95236E-03   -1.5703    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  24  norm          9.6634        3.2125        .32199E-03   -1.5646    
  25  Prefactor     .44964E-08    3.8297        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  26  Normalizat    1.3991        .13196        .57010E-01   -.80654    
  27  Prefactor     .76674        .13722        .80187E-01   -1.0097    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 1.61415e-07
Minuit parameter uncertainties:
  1  1.0294e-06
  2  0.000724888
  3  8.04262
  4  1.82711e-06
  5  0.00279982
  6  0.00313358
  7  2.8256
  8  0.000595022
  9  4.36443
  10  0.422808
  11  17.212
  12  0.000589533
  13  6.40384e-06
  14  25.9404
  15  1.52245
  16  1.5366e-06
  17  1.60658e-05
  18  2.54845
  19  1.21603
  20  2.23644e-05
  21  2.18329
  22  0.00134481
  23  0.097007
  24  3.21255
  25  0.000262723
  26  0.131997
  27  0.13728
Done.

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

Extracting fit parameters...

4FGL J1159.5+2914
   Spectrum: LogParabola
302         norm:  1.175e+01  1.522e+00  0.000e+00  1.000e+06 ( 1.000e-11)
303        alpha:  2.103e+00  0.000e+00  0.000e+00  5.000e+00 ( 1.000e+00) fixed
304         beta:  6.240e-02  0.000e+00 -5.000e+00  1.000e+01 ( 1.000e+00) fixed
305           Eb:  5.235e+02  0.000e+00  3.000e+01  5.000e+05 ( 1.000e+00) fixed

GAL_V02
   Spectrum: PowerLaw
617    Prefactor:  7.667e-01  1.373e-01  0.000e+00  1.000e+01 ( 1.000e+00)
618        Index:  0.000e+00  0.000e+00 -1.000e+00  1.000e+00 ( 1.000e+00) fixed
619        Scale:  1.000e+02  0.000e+00  5.000e+01  2.000e+02 ( 1.000e+00) fixed

EG_v02
   Spectrum: FileFunction
616   Normalization:  1.399e+00  1.320e-01  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Fixed Index): 210.01
Ra Dec: 179.884 29.245
Photon Index (Fixed Index): 2.10 +/- 0.00
Photon Flux (Fixed Index): 3.19e-07 +/- 4.13e-08
Energy Flux (Fixed Index): 1.43e-04 +/- 1.85e-05

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) = 16034.6203889
delta logL = 0.491637461566

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

MINUIT Return Code (Free Index): 0
logL (Free Index) = 16034.6201501
delta logL = 0.491876269371

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'norm      '    11.756       1.0000          .0000       .10000E+07
     2 'alpha     '    2.2294       1.0000          .0000       5.0000    
     3 'Normalizat'    1.3639       1.0000         .10000E-01   10.000    
     4 'Prefactor '    .79133       1.0000          .0000       10.000    
 **********
 **   15 **SET ERR    .5000    
 **********
 **********
 **   16 **SET GRAD    1.000    
 **********
 **********
 **   17 **MINIMIZE    .6200E+05   .2000E-04
 **********

 MIGRAD MINIMIZATION HAS CONVERGED.

 MIGRAD WILL VERIFY CONVERGENCE AND ERROR MATRIX.

 FCN=   16034.62     FROM MIGRAD    STATUS=CONVERGED     55 CALLS      211 TOTAL
                     EDM=   .26E-12    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  norm          11.756        1.6271        .29193E-03    .81243E-03
   2  alpha         2.2295        .13799        .13805        .72336E-05
   3  Normalizat    1.3638        .12838        .57538E-01   -.53083E-05
   4  Prefactor     .79144        .13692        .79010E-01   -.79149E-05
                               ERR DEF=  .500    
Final values: 
  norm       = 11.7557
  alpha      = 2.22949
  Normalizat = 1.36382
  Prefactor  = 0.791444
 **********
 **   18 **HESSE 
 **********

 FCN=   16034.62     FROM HESSE     STATUS=OK            31 CALLS      242 TOTAL
                     EDM=   .13E-10    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  norm          11.756        1.4758        .51361E-05   -1.5639    
   2  alpha         2.2295        .12806        .59861E-03   -.10842    
   3  Normalizat    1.3638        .15551        .25443E-03   -.81681    
   4  Prefactor     .79144        .16437        .34978E-03   -1.0004    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 1.25868e-11
Minuit parameter uncertainties:
  1  1.47583
  2  0.128116
  3  0.155565
  4  0.164472
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) = 16034.6201497
delta logL = 0.49187660705

Extracting fit parameters...

4FGL J1159.5+2914
   Spectrum: LogParabola
302         norm:  1.176e+01  1.476e+00  0.000e+00  1.000e+06 ( 1.000e-11)
303        alpha:  2.229e+00  1.281e-01  0.000e+00  5.000e+00 ( 1.000e+00)
304         beta:  6.240e-02  0.000e+00 -5.000e+00  1.000e+01 ( 1.000e+00) fixed
305           Eb:  5.235e+02  0.000e+00  3.000e+01  5.000e+05 ( 1.000e+00) fixed

GAL_V02
   Spectrum: PowerLaw
617    Prefactor:  7.914e-01  1.645e-01  0.000e+00  1.000e+01 ( 1.000e+00)
618        Index:  0.000e+00  0.000e+00 -1.000e+00  1.000e+00 ( 1.000e+00) fixed
619        Scale:  1.000e+02  0.000e+00  5.000e+01  2.000e+02 ( 1.000e+00) fixed

EG_v02
   Spectrum: FileFunction
616   Normalization:  1.364e+00  1.556e-01  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Free Index): 210.13
Ra Dec: 179.884 29.245
Photon Index (Free Index): 2.23 +/- 0.13
Photon Flux (Free Index): 3.53e-07 +/- 5.53e-08
Energy Flux (Free Index): 1.32e-04 +/- 1.90e-05

Creating a high resolution counts map...
INFO: Auto-setting vmin to -1.000e-01 [aplpy.core]
INFO: Auto-setting vmax to  1.110e+00 [aplpy.core]
Saving /lscratch/kocevski/35794152/cmap_HighResolution_808704001_809308801_4FGL_J1159.5+2914_weekly_bin942.png

Cleaning up...

** Nuclear option initiated! **

Updating database...

UPDATE lightcurve_data_v2 SET comment='SUCCESS', photon_flux='3.19e-07', energy_flux2='1.32e-04', photon_flux_error='4.13e-08', dlogl='4.92e-01', energy_flux='1.43e-04', photon_flux2='3.53e-07', job_status='DONE', time_completed='2026-08-25 09:11:37.729432', photon_index_error2='0.13', photon_index2='2.23', ts='210.01', fit_tolerance='1e-08', GAL='0.77', photon_index_error='0.00', energy_flux_error2='1.90e-05', EG='1.40', time_epoch_completed='1787674297.73', return_code='0', job_id='35794152', GAL2='0.79', EG2='1.36', return_code2='0', energy_flux_error='1.85e-05', photon_flux_error2='5.53e-08', ts2='210.13', photon_index='2.10' WHERE bin_id='942' AND source_name='4FGL J1159.5+2914' AND cadence='weekly';

Database successfully updated.


Analysis Complete.


Tue Aug 25 09:11:37 PDT 2026

