/sdf/group/fermi/u/kocevski/software/conda/envs/fermitools_v1.0.5/lib/python2.7/site-packages/pyfits/__init__.py:22: PyFITSDeprecationWarning: PyFITS is deprecated, please use astropy.io.fits
  PyFITSDeprecationWarning)  # noqa

Likelihood Analysis Tool
Support Contact: Daniel Kocevski (daniel.kocevski@nasa.gov)

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

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

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

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

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


Performing analysis on: 4FGL_J0816.4-1311_daily_bin2186
RA = 124.112, Dec = -13.1973
tmin = 805939201, tmax = 806198401
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='32419706', job_status='RUN', time_executed='2026-07-20 06:04:21.150688', time_epoch_executed='1784552661.15' WHERE source_name='4FGL J0816.4-1311' and cadence='daily' and bin_id='2186'

Database successfully updated.
Done.

Creating custom output directory:
/lscratch/kocevski/32419706

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

Retrieving the FT1 file...

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

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

Retrieving 46 files...
Done.


Merging files...

Checksum keywords updated successfully.

Merged file saved to:
/lscratch/kocevski/32419706/ft1_4FGL_J0816.4-1311_daily_bin2186.fits


Retrieving the FT1 file...

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

Retrieving 46 files...
Done.


Merging files...

Merged file saved to:
/lscratch/kocevski/32419706/ft2_4FGL_J0816.4-1311_daily_bin2186.fits


Selecting the photons:
time -p gtselect infile=/lscratch/kocevski/32419706/ft1_4FGL_J0816.4-1311_daily_bin2186.fits outfile=/lscratch/kocevski/32419706/ft1_filteredMKT_4FGL_J0816.4-1311_daily_bin2186.fits ra=124.112 dec=-13.1973 rad=12.0 tmin=805939201.0 tmax=806198401.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 2.54
user 1.82
sys 0.17

Adding sun position to ft2 file:
/sdf/group/fermi/g/LCRepository/Repository/bin/sunpos /lscratch/kocevski/32419706/ft2_4FGL_J0816.4-1311_daily_bin2186.fits

Selecting the good time intervals:
time -p gtmktime scfile=/lscratch/kocevski/32419706/ft2_4FGL_J0816.4-1311_daily_bin2186.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/32419706/ft1_filteredMKT_4FGL_J0816.4-1311_daily_bin2186.fits evtable="EVENTS" outfile="/lscratch/kocevski/32419706/ft1_filtered_4FGL_J0816.4-1311_daily_bin2186.fits" apply_filter=yes overwrite=yes header_obstimes=yes tstart=0.0 tstop=0.0 gtifile="default" chatter=3 clobber=yes debug=no gui=no mode="ql"

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

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

Number of photons that the gtmktime cut: 1242

Generating the livetime cube:
time -p gtltcube evfile="/lscratch/kocevski/32419706/ft1_filtered_4FGL_J0816.4-1311_daily_bin2186.fits" evtable="EVENTS" scfile=/lscratch/kocevski/32419706/ft2_4FGL_J0816.4-1311_daily_bin2186.fits sctable="SC_DATA"number of points = 7433
number of fields = 31
RA_SUN column already exists. File will not be modified.
Done.


Performing analysis on: 4FGL_J0816.4-1311_daily_bin2186
RA = 124.112, Dec = -13.1973
tmin = 805939201, tmax = 806198401
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='32419758', job_status='RUN', time_executed='2026-07-20 06:04:37.672246', time_epoch_executed='1784552677.67' WHERE source_name='4FGL J0816.4-1311' and cadence='daily' and bin_id='2186'

Database successfully updated.
Done.

Creating custom output directory:
/lscratch/kocevski/32419758

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

Retrieving the FT1 file...

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

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

Retrieving 46 files...
Done.


Merging files...

Checksum keywords updated successfully.

Merged file saved to:
/lscratch/kocevski/32419758/ft1_4FGL_J0816.4-1311_daily_bin2186.fits


Retrieving the FT1 file...

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

Retrieving 46 files...
Done.


Merging files...

Merged file saved to:
/lscratch/kocevski/32419758/ft2_4FGL_J0816.4-1311_daily_bin2186.fits


Selecting the photons:
time -p gtselect infile=/lscratch/kocevski/32419758/ft1_4FGL_J0816.4-1311_daily_bin2186.fits outfile=/lscratch/kocevski/32419758/ft1_filteredMKT_4FGL_J0816.4-1311_daily_bin2186.fits ra=124.112 dec=-13.1973 rad=12.0 tmin=805939201.0 tmax=806198401.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 2.84
user 2.04
sys 0.17

Adding sun position to ft2 file:
/sdf/group/fermi/g/LCRepository/Repository/bin/sunpos /lscratch/kocevski/32419758/ft2_4FGL_J0816.4-1311_daily_bin2186.fits

Selecting the good time intervals:
time -p gtmktime scfile=/lscratch/kocevski/32419758/ft2_4FGL_J0816.4-1311_daily_bin2186.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/32419758/ft1_filteredMKT_4FGL_J0816.4-1311_daily_bin2186.fits evtable="EVENTS" outfile="/lscratch/kocevski/32419758/ft1_filtered_4FGL_J0816.4-1311_daily_bin2186.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.76
user 0.20
sys 0.13

Number of photons that the gtmktime cut: 1242

Generating the livetime cube:
time -p gtltcube evfile="/lscratch/kocevski/32419758/ft1_filtered_4FGL_J0816.4-1311_daily_bin2186.fits" evtable="EVENTS" scfile=/lscratch/kocevski/32419758/ft2_4FGL_J0816.4-1311_daily_bin2186.fits sctable="SC_DATA"number of points = 7433
number of fields = 31
RA_SUN column already exists. File will not be modified.
Done.


Performing analysis on: 4FGL_J0816.4-1311_daily_bin2186
RA = 124.112, Dec = -13.1973
tmin = 805939201, tmax = 806198401
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='32419800', job_status='RUN', time_executed='2026-07-20 06:05:22.825071', time_epoch_executed='1784552722.83' WHERE source_name='4FGL J0816.4-1311' and cadence='daily' and bin_id='2186'

Database successfully updated.
Done.

Creating custom output directory:
/lscratch/kocevski/32419800

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

Retrieving the FT1 file...

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

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

Retrieving 46 files...
Done.


Merging files...

Checksum keywords updated successfully.

Merged file saved to:
/lscratch/kocevski/32419800/ft1_4FGL_J0816.4-1311_daily_bin2186.fits


Retrieving the FT1 file...

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

Retrieving 46 files...
Done.


Merging files...

Merged file saved to:
/lscratch/kocevski/32419800/ft2_4FGL_J0816.4-1311_daily_bin2186.fits


Selecting the photons:
time -p gtselect infile=/lscratch/kocevski/32419800/ft1_4FGL_J0816.4-1311_daily_bin2186.fits outfile=/lscratch/kocevski/32419800/ft1_filteredMKT_4FGL_J0816.4-1311_daily_bin2186.fits ra=124.112 dec=-13.1973 rad=12.0 tmin=805939201.0 tmax=806198401.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 2.43
user 1.68
sys 0.17

Adding sun position to ft2 file:
/sdf/group/fermi/g/LCRepository/Repository/bin/sunpos /lscratch/kocevski/32419800/ft2_4FGL_J0816.4-1311_daily_bin2186.fits

Selecting the good time intervals:
time -p gtmktime scfile=/lscratch/kocevski/32419800/ft2_4FGL_J0816.4-1311_daily_bin2186.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/32419800/ft1_filteredMKT_4FGL_J0816.4-1311_daily_bin2186.fits evtable="EVENTS" outfile="/lscratch/kocevski/32419800/ft1_filtered_4FGL_J0816.4-1311_daily_bin2186.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.84
user 0.17
sys 0.14

Number of photons that the gtmktime cut: 1242

Generating the livetime cube:
time -p gtltcube evfile="/lscratch/kocevski/32419800/ft1_filtered_4FGL_J0816.4-1311_daily_bin2186.fits" evtable="EVENTS" scfile=/lscratch/kocevski/32419800/ft2_4FGL_J0816.4-1311_daily_bin2186.fits sctable="SC_DATA" outfile=/lscratch/kocevski/32419706/ltcube_805939201_806198401_4FGL_J0816.4-1311_daily_bin2186.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/32419706/ft2_4FGL_J0816.4-1311_daily_bin2186.fits
.....................!
real 7.82
user 7.17
sys 0.22

Generating the exposure map:
time -p gtexpmap evfile=/lscratch/kocevski/32419706/ft1_filtered_4FGL_J0816.4-1311_daily_bin2186.fits evtable="EVENTS" scfile=/lscratch/kocevski/32419706/ft2_4FGL_J0816.4-1311_daily_bin2186.fits sctable="SC_DATA" expcube=/lscratch/kocevski/32419706/ltcube_805939201_806198401_4FGL_J0816.4-1311_daily_bin2186.fits outfile=/lscratch/kocevski/32419706/expmap_805939201_806198401_4FGL_J0816.4-1311_daily_bin2186.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/32419706/ltcube_805939201_806198401_4FGL_J0816.4-1311_daily_bin2186.fits
.....................!
real 62.62
user 58.08
sys 3.80

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

Setting source of interest to:
4FGL J0816.4-1311 @ 124.112 -13.1973

Creating the counts map:
time -p gtbin evfile=/lscratch/kocevski/32419706/ft1_filtered_4FGL_J0816.4-1311_daily_bin2186.fits scfile=/lscratch/kocevski/32419706/ft2_4FGL_J0816.4-1311_daily_bin2186.fits outfile=/lscratch/kocevski/32419706/cmap_805939201_806198401_4FGL_J0816.4-1311_daily_bin2186.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=124.112 yref=-13.1973 axisrot=0.0 rafield="RA" decfield="DEC" proj="AIT" hpx_ordering_scheme="RING" hpx_order=3 hpx_ebin=yes hpx_region="" evtable="EVENTS" sctable="SC_DATA" efield="ENERGY" tfield="TIME" chatter=2 clobber=yes debug=no gui=no mode="ql"

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

This is gtbin version HEAD
real 0.78
user 0.19
sys 0.14

Creating the high resolution counts map:
time -p gtbin evfile=/lscratch/kocevski/32419706/ft1_filtered_4FGL_J0816.4-1311_daily_bin2186.fits scfile=/lscratch/kocevski/32419706/ft2_4FGL_J0816.4-1311_daily_bin2186.fits outfile=/lscratch/kocevski/32419706/cmap_HighResolution_805939201_806198401_4FGL_J0816.4-1311_daily_bin2186.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=124.112 yref=-13.1973 axisrot=0.0 rafield="RA" decfield="DEC" proj="AIT" hpx_ordering_scheme="RING" hpx_order=3 hpx_ebin=yes hpx_region="" evtable="EVENTS" sctable="SC_DATA" efield="ENERGY" tfield="TIME" chatter=2 clobber=yes debug=no gui=no mode="ql"

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

This is gtbin version HEAD
real 0.74
user 0.19
sys 0.15

Computing the diffuse response:
time -p gtdiffrsp evfile=/lscratch/kocevski/32419706/ft1_filtered_4FGL_J0816.4-1311_daily_bin2186.fits evtable="EVENTS" scfile=/lscratch/kocevski/32419706/ft2_4FGL_J0816.4-1311_daily_bin2186.fits sctable="SC_DATA" srcmdl=/lscratch/kocevski/32419706/Model_4FGL_J0816.4-1311_daily_bin2186.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 sour outfile=/lscratch/kocevski/32419758/ltcube_805939201_806198401_4FGL_J0816.4-1311_daily_bin2186.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/32419758/ft2_4FGL_J0816.4-1311_daily_bin2186.fits
.....................!
real 8.84
user 8.03
sys 0.26

Generating the exposure map:
time -p gtexpmap evfile=/lscratch/kocevski/32419758/ft1_filtered_4FGL_J0816.4-1311_daily_bin2186.fits evtable="EVENTS" scfile=/lscratch/kocevski/32419758/ft2_4FGL_J0816.4-1311_daily_bin2186.fits sctable="SC_DATA" expcube=/lscratch/kocevski/32419758/ltcube_805939201_806198401_4FGL_J0816.4-1311_daily_bin2186.fits outfile=/lscratch/kocevski/32419758/expmap_805939201_806198401_4FGL_J0816.4-1311_daily_bin2186.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/32419758/ltcube_805939201_806198401_4FGL_J0816.4-1311_daily_bin2186.fits
.....................!
real 71.90
user 66.49
sys 4.42

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

Setting source of interest to:
4FGL J0816.4-1311 @ 124.112 -13.1973

Creating the counts map:
time -p gtbin evfile=/lscratch/kocevski/32419758/ft1_filtered_4FGL_J0816.4-1311_daily_bin2186.fits scfile=/lscratch/kocevski/32419758/ft2_4FGL_J0816.4-1311_daily_bin2186.fits outfile=/lscratch/kocevski/32419758/cmap_805939201_806198401_4FGL_J0816.4-1311_daily_bin2186.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=124.112 yref=-13.1973 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.92
user 0.21
sys 0.13

Creating the high resolution counts map:
time -p gtbin evfile=/lscratch/kocevski/32419758/ft1_filtered_4FGL_J0816.4-1311_daily_bin2186.fits scfile=/lscratch/kocevski/32419758/ft2_4FGL_J0816.4-1311_daily_bin2186.fits outfile=/lscratch/kocevski/32419758/cmap_HighResolution_805939201_806198401_4FGL_J0816.4-1311_daily_bin2186.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=124.112 yref=-13.1973 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.21
sys 0.13

Computing the diffuse response:
time -p gtdiffrsp evfile=/lscratch/kocevski/32419758/ft1_filtered_4FGL_J0816.4-1311_daily_bin2186.fits evtable="EVENTS" scfile=/lscratch/kocevski/32419758/ft2_4FGL_J0816.4-1311_daily_bin2186.fits sctable="SC_DATA" srcmdl=/lscratch/kocevski/32419758/Model_4FGL_J0816.4-1311_daily_bin2186.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 sour outfile=/lscratch/kocevski/32419800/ltcube_805939201_806198401_4FGL_J0816.4-1311_daily_bin2186.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/32419800/ft2_4FGL_J0816.4-1311_daily_bin2186.fits
.....................!
real 7.50
user 6.75
sys 0.21

Generating the exposure map:
time -p gtexpmap evfile=/lscratch/kocevski/32419800/ft1_filtered_4FGL_J0816.4-1311_daily_bin2186.fits evtable="EVENTS" scfile=/lscratch/kocevski/32419800/ft2_4FGL_J0816.4-1311_daily_bin2186.fits sctable="SC_DATA" expcube=/lscratch/kocevski/32419800/ltcube_805939201_806198401_4FGL_J0816.4-1311_daily_bin2186.fits outfile=/lscratch/kocevski/32419800/expmap_805939201_806198401_4FGL_J0816.4-1311_daily_bin2186.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/32419800/ltcube_805939201_806198401_4FGL_J0816.4-1311_daily_bin2186.fits
.....................!
real 59.74
user 55.65
sys 3.35

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

Setting source of interest to:
4FGL J0816.4-1311 @ 124.112 -13.1973

Creating the counts map:
time -p gtbin evfile=/lscratch/kocevski/32419800/ft1_filtered_4FGL_J0816.4-1311_daily_bin2186.fits scfile=/lscratch/kocevski/32419800/ft2_4FGL_J0816.4-1311_daily_bin2186.fits outfile=/lscratch/kocevski/32419800/cmap_805939201_806198401_4FGL_J0816.4-1311_daily_bin2186.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=124.112 yref=-13.1973 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.85
user 0.20
sys 0.13

Creating the high resolution counts map:
time -p gtbin evfile=/lscratch/kocevski/32419800/ft1_filtered_4FGL_J0816.4-1311_daily_bin2186.fits scfile=/lscratch/kocevski/32419800/ft2_4FGL_J0816.4-1311_daily_bin2186.fits outfile=/lscratch/kocevski/32419800/cmap_HighResolution_805939201_806198401_4FGL_J0816.4-1311_daily_bin2186.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=124.112 yref=-13.1973 axisrot=0.0 rafield="RA" decfield="DEC" proj="AIT" hpx_ordering_scheme="RING" hpx_order=3 hpx_ebin=yes hpx_region="" evtable="EVENTS" sctable="SC_DATA" efield="ENERGY" tfield="TIME" chatter=2 clobber=yes debug=no gui=no mode="ql"

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

This is gtbin version HEAD
real 0.77
user 0.20
sys 0.13

Computing the diffuse response:
time -p gtdiffrsp evfile=/lscratch/kocevski/32419800/ft1_filtered_4FGL_J0816.4-1311_daily_bin2186.fits evtable="EVENTS" scfile=/lscratch/kocevski/32419800/ft2_4FGL_J0816.4-1311_daily_bin2186.fits sctable="SC_DATA" srcmdl=/lscratch/kocevski/32419800/Model_4FGL_J0816.4-1311_daily_bin2186.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/32419706/ft1_filtered_4FGL_J0816.4-1311_daily_bin2186.fits.....................!
real 57.44
user 55.86
sys 0.92

Creating the likelihood object...
obs = UnbinnedObs('/lscratch/kocevski/32419706/ft1_filtered_4FGL_J0816.4-1311_daily_bin2186.fits', '/lscratch/kocevski/32419706/ft2_4FGL_J0816.4-1311_daily_bin2186.fits', expMap='/lscratch/kocevski/32419706/expmap_805939201_806198401_4FGL_J0816.4-1311_daily_bin2186.fits', expCube='/lscratch/kocevski/32419706/ltcube_805939201_806198401_4FGL_J0816.4-1311_daily_bin2186.fits', irfs='P8R3_SOURCE_V2')
like = UnbinnedAnalysis(obs, '/lscratch/kocevski/32419706/Model_4FGL_J0816.4-1311_daily_bin2186.xml', optimizer='MINUIT')

Using source of interest name: '4FGL J0816.4-1311'

4FGL J0816.4-1311
   Spectrum: PowerLaw
287    Prefactor:  2.040e+00  0.000e+00  0.000e+00  1.000e+06 ( 1.000e-13)
288        Index:  1.850e+00  0.000e+00  0.000e+00  1.000e+01 (-1.000e+00) fixed
289        Scale:  2.915e+03  0.000e+00  3.000e+01  5.000e+05 ( 1.000e+00) fixed


Likelihood Fit Parameters:
Event file(s): /lscratch/kocevski/32419706/ft1_filtered_4FGL_J0816.4-1311_daily_bin2186.fits
Spacecraft file(s): /lscratch/kocevski/32419706/ft2_4FGL_J0816.4-1311_daily_bin2186.fits
Exposure map: /lscratch/kocevski/32419706/expmap_805939201_806198401_4FGL_J0816.4-1311_daily_bin2186.fits
Exposure cube: /lscratch/kocevski/32419706/ltcube_805939201_806198401_4FGL_J0816.4-1311_daily_bin2186.fits
IRFs: P8R3_SOURCE_V2
Source model file: /lscratch/kocevski/32419706/Model_4FGL_J0816.4-1311_daily_bin2186.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) = 12663.4215466

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

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

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'norm      '    .40484E-06   1.0000          .0000       .10000E+07
     2 'norm      '    17.563       1.0000          .0000       .10000E+07
     3 'norm      '    .93575E-06   1.0000          .0000       .10000E+07
     4 'norm      '    .39977E-02   1.0000          .0000       .10000E+07
     5 'Prefactor '    7.4183       1.0000          .0000       .10000E+07
     6 'norm      '    .76161E-07   1.0000          .0000       .10000E+07
     7 'Prefactor '    2.5425       1.0000          .0000       .10000E+07
     8 'norm      '    .43265E-06   1.0000          .0000       .10000E+07
     9 'Prefactor '    4.2393       1.0000          .0000       .10000E+07
    10 'Prefactor '    .27872E-06   1.0000          .0000       .10000E+07
    11 'norm      '    .22758E-03   1.0000          .0000       .10000E+07
    12 'norm      '    2.3895       1.0000          .0000       .10000E+07
    13 'norm      '    11.303       1.0000          .0000       .10000E+07
    14 'norm      '    .85075       1.0000          .0000       .10000E+07
    15 'Prefactor '    9.2756       1.0000          .0000       .10000E+07
    16 'norm      '    .31919E-07   1.0000          .0000       .10000E+07
    17 'norm      '    7.4073       1.0000          .0000       .10000E+07
    18 'Prefactor '    .25407E-03   1.0000          .0000       .10000E+07
    19 'Prefactor '    6.6829       1.0000          .0000       .10000E+07
    20 'Normalizat'    1.1693       1.0000         .10000E-01   10.000    
    21 'Prefactor '    1.0094       1.0000          .0000       10.000    
 **********
 **   15 **SET ERR    .5000    
 **********
 **********
 **   16 **SET GRAD    1.000    
 **********
 **********
 **   17 **MINIMIZE    .5640E+05   .2000E-04
 **********

 MIGRAD MINIMIZATION HAS CONVERGED.

 FCN=   12663.32     FROM MIGRAD    STATUS=CONVERGED    113 CALLS     1295 TOTAL
                     EDM=   .69E-09  STRATEGY=1  ERROR MATRIX UNCERTAINTY=  1.1%

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  norm           .0000        .60390        .33426E-07** at limit **
   2  norm          17.593        2.3071       -.39190E-07    .49608E-01
   3  norm           .0000        .99173       -.15572E-06** at limit **
   4  norm          .16098E-08    10.277       -.20743E-06** at limit **
   5  Prefactor     7.2658        5.3438        .17161E-06   -.23289E-01
   6  norm           .0000        .53555       -.17520E-06** at limit **
   7  Prefactor     2.6177        5.2246       -.15143E-06   -.16732E-01
   8  norm           .0000        .84026       -.63452E-07** at limit **
   9  Prefactor     4.1925        4.4909        .13801E-06    .48600E-01
  10  Prefactor      .0000        .75029       -.20359E-06** at limit **
  11  norm          .33307E-09    5.6519       -.49393E-07** at limit **
  12  norm          2.3882        1.1830        .25155E-07    .55753E-02
  13  norm          11.292        3.7962       -.69802E-07    .67804E-02
  14  norm          .86148        1.0267        .78003E-07   -.26922E-01
  15  Prefactor     9.1450        2.5107       -.59015E-07    .41393E-01
  16  norm          .55511E-10    2.5158        .23552E-06** at limit **
  17  norm          7.3883        3.4907        .41349E-07    .10472E-02
  18  Prefactor     .27756E-09    8.4117        .83566E-07** at limit **
  19  Prefactor     6.6952        1.0752        .10931E-07   -.66513E-02
  20  Normalizat    1.1695        .18476       -.24839E-05   -.82586E-05
  21  Prefactor     1.0094        .64217E-01    .86069E-06    .35745E-04
                               ERR DEF=  .500    
Final values: 
  norm       = 0
  norm       = 17.5934
  norm       = 0
  norm       = 1.60982e-09
  Prefactor  = 7.26583
  norm       = 0
  Prefactor  = 2.61771
  norm       = 0
  Prefactor  = 4.19248
  Prefactor  = 0
  norm       = 3.33067e-10
  norm       = 2.38815
  norm       = 11.2921
  norm       = 0.861483
  Prefactor  = 9.14498
  norm       = 5.55112e-11
  norm       = 7.38827
  Prefactor  = 2.77556e-10
  Prefactor  = 6.69519
  Normalizat = 1.16951
  Prefactor  = 1.00938
 **********
 **   18 **HESSE 
 **********

 FCN=   12663.32     FROM HESSE     STATUS=OK           367 CALLS     1662 TOTAL
                     EDM=   .11E-06    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  norm           .0000        .58938        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   2  norm          17.593        10.635        .23871E-03   -1.5624    
   3  norm           .0000        .98793        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   4  norm          .16098E-08    10.376        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   5  Prefactor     7.2658        7.8090        .36800E-03   -1.5654    
   6  norm           .0000        .53486        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   7  Prefactor     2.6177        5.6296        .64019E-03   -1.5676    
   8  norm           .0000        .32486        .22289E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   9  Prefactor     4.1925        6.3357        .48915E-03   -1.5667    
  10  Prefactor      .0000        .75187        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  11  norm          .33307E-09    5.6684        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  12  norm          2.3882        15.339        .66229E-03   -1.5677    
  13  norm          11.292        3.8182        .29774E-03   -1.5641    
  14  norm          .86148        5.8308        .49226E-03   -1.5689    
  15  Prefactor     9.1450        17.123        .32882E-03   -1.5647    
  16  norm          .55511E-10    2.5163        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  17  norm          7.3883        3.5790        .36827E-03   -1.5654    
  18  Prefactor     .27756E-09    8.4815        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  19  Prefactor     6.6952        10.576        .38792E-03   -1.5656    
  20  Normalizat    1.1695        .17784        .91789E-01   -.87550    
  21  Prefactor     1.0094        .60404E-01    .43415E-01   -.92417    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 1.14439e-07
Minuit parameter uncertainties:
  1  8.47283e-07
  2  10.6345
  3  5.29048e-06
  4  0.00025625
  5  7.80901
  6  2.8626e-06
  7  5.62965
  8  9.26761e-07
  9  6.33566
  10  3.95484e-06
  11  8.77128e-05
  12  12.105
  13  3.81818
  14  4.48248
  15  17.1235
  16  2.46615e-05
  17  3.579
  18  9.3044e-05
  19  10.5757
  20  0.177936
  21  0.0604078
ce GAL_V02
Working on...
/lscratch/kocevski/32419758/ft1_filtered_4FGL_J0816.4-1311_daily_bin2186.fits.....................!
real 66.75
user 64.54
sys 1.17

Creating the likelihood object...
obs = UnbinnedObs('/lscratch/kocevski/32419758/ft1_filtered_4FGL_J0816.4-1311_daily_bin2186.fits', '/lscratch/kocevski/32419758/ft2_4FGL_J0816.4-1311_daily_bin2186.fits', expMap='/lscratch/kocevski/32419758/expmap_805939201_806198401_4FGL_J0816.4-1311_daily_bin2186.fits', expCube='/lscratch/kocevski/32419758/ltcube_805939201_806198401_4FGL_J0816.4-1311_daily_bin2186.fits', irfs='P8R3_SOURCE_V2')
like = UnbinnedAnalysis(obs, '/lscratch/kocevski/32419758/Model_4FGL_J0816.4-1311_daily_bin2186.xml', optimizer='MINUIT')

Using source of interest name: '4FGL J0816.4-1311'

4FGL J0816.4-1311
   Spectrum: PowerLaw
287    Prefactor:  2.040e+00  0.000e+00  0.000e+00  1.000e+06 ( 1.000e-13)
288        Index:  1.850e+00  0.000e+00  0.000e+00  1.000e+01 (-1.000e+00) fixed
289        Scale:  2.915e+03  0.000e+00  3.000e+01  5.000e+05 ( 1.000e+00) fixed


Likelihood Fit Parameters:
Event file(s): /lscratch/kocevski/32419758/ft1_filtered_4FGL_J0816.4-1311_daily_bin2186.fits
Spacecraft file(s): /lscratch/kocevski/32419758/ft2_4FGL_J0816.4-1311_daily_bin2186.fits
Exposure map: /lscratch/kocevski/32419758/expmap_805939201_806198401_4FGL_J0816.4-1311_daily_bin2186.fits
Exposure cube: /lscratch/kocevski/32419758/ltcube_805939201_806198401_4FGL_J0816.4-1311_daily_bin2186.fits
IRFs: P8R3_SOURCE_V2
Source model file: /lscratch/kocevski/32419758/Model_4FGL_J0816.4-1311_daily_bin2186.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) = 12663.4215466

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

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

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'norm      '    .40484E-06   1.0000          .0000       .10000E+07
     2 'norm      '    17.563       1.0000          .0000       .10000E+07
     3 'norm      '    .93575E-06   1.0000          .0000       .10000E+07
     4 'norm      '    .39977E-02   1.0000          .0000       .10000E+07
     5 'Prefactor '    7.4183       1.0000          .0000       .10000E+07
     6 'norm      '    .76161E-07   1.0000          .0000       .10000E+07
     7 'Prefactor '    2.5425       1.0000          .0000       .10000E+07
     8 'norm      '    .43265E-06   1.0000          .0000       .10000E+07
     9 'Prefactor '    4.2393       1.0000          .0000       .10000E+07
    10 'Prefactor '    .27872E-06   1.0000          .0000       .10000E+07
    11 'norm      '    .22758E-03   1.0000          .0000       .10000E+07
    12 'norm      '    2.3895       1.0000          .0000       .10000E+07
    13 'norm      '    11.303       1.0000          .0000       .10000E+07
    14 'norm      '    .85075       1.0000          .0000       .10000E+07
    15 'Prefactor '    9.2756       1.0000          .0000       .10000E+07
    16 'norm      '    .31919E-07   1.0000          .0000       .10000E+07
    17 'norm      '    7.4073       1.0000          .0000       .10000E+07
    18 'Prefactor '    .25407E-03   1.0000          .0000       .10000E+07
    19 'Prefactor '    6.6829       1.0000          .0000       .10000E+07
    20 'Normalizat'    1.1693       1.0000         .10000E-01   10.000    
    21 'Prefactor '    1.0094       1.0000          .0000       10.000    
 **********
 **   15 **SET ERR    .5000    
 **********
 **********
 **   16 **SET GRAD    1.000    
 **********
 **********
 **   17 **MINIMIZE    .5640E+05   .2000E-04
 **********

 MIGRAD MINIMIZATION HAS CONVERGED.

 FCN=   12663.32     FROM MIGRAD    STATUS=CONVERGED    113 CALLS     1295 TOTAL
                     EDM=   .69E-09  STRATEGY=1  ERROR MATRIX UNCERTAINTY=  1.1%

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  norm           .0000        .60390        .33426E-07** at limit **
   2  norm          17.593        2.3071       -.39190E-07    .49608E-01
   3  norm           .0000        .99173       -.15572E-06** at limit **
   4  norm          .16098E-08    10.277       -.20743E-06** at limit **
   5  Prefactor     7.2658        5.3438        .17161E-06   -.23289E-01
   6  norm           .0000        .53555       -.17520E-06** at limit **
   7  Prefactor     2.6177        5.2246       -.15143E-06   -.16732E-01
   8  norm           .0000        .84026       -.63452E-07** at limit **
   9  Prefactor     4.1925        4.4909        .13801E-06    .48600E-01
  10  Prefactor      .0000        .75029       -.20359E-06** at limit **
  11  norm          .33307E-09    5.6519       -.49393E-07** at limit **
  12  norm          2.3882        1.1830        .25155E-07    .55753E-02
  13  norm          11.292        3.7962       -.69802E-07    .67804E-02
  14  norm          .86148        1.0267        .78003E-07   -.26922E-01
  15  Prefactor     9.1450        2.5107       -.59015E-07    .41393E-01
  16  norm          .55511E-10    2.5158        .23552E-06** at limit **
  17  norm          7.3883        3.4907        .41349E-07    .10472E-02
  18  Prefactor     .27756E-09    8.4117        .83566E-07** at limit **
  19  Prefactor     6.6952        1.0752        .10931E-07   -.66513E-02
  20  Normalizat    1.1695        .18476       -.24839E-05   -.82586E-05
  21  Prefactor     1.0094        .64217E-01    .86069E-06    .35745E-04
                               ERR DEF=  .500    
Final values: 
  norm       = 0
  norm       = 17.5934
  norm       = 0
  norm       = 1.60982e-09
  Prefactor  = 7.26583
  norm       = 0
  Prefactor  = 2.61771
  norm       = 0
  Prefactor  = 4.19248
  Prefactor  = 0
  norm       = 3.33067e-10
  norm       = 2.38815
  norm       = 11.2921
  norm       = 0.861483
  Prefactor  = 9.14498
  norm       = 5.55112e-11
  norm       = 7.38827
  Prefactor  = 2.77556e-10
  Prefactor  = 6.69519
  Normalizat = 1.16951
  Prefactor  = 1.00938
ce GAL_V02
Working on...
/lscratch/kocevski/32419800/ft1_filtered_4FGL_J0816.4-1311_daily_bin2186.fits.....................!
real 56.24
user 54.50
sys 0.98

Creating the likelihood object...
obs = UnbinnedObs('/lscratch/kocevski/32419800/ft1_filtered_4FGL_J0816.4-1311_daily_bin2186.fits', '/lscratch/kocevski/32419800/ft2_4FGL_J0816.4-1311_daily_bin2186.fits', expMap='/lscratch/kocevski/32419800/expmap_805939201_806198401_4FGL_J0816.4-1311_daily_bin2186.fits', expCube='/lscratch/kocevski/32419800/ltcube_805939201_806198401_4FGL_J0816.4-1311_daily_bin2186.fits', irfs='P8R3_SOURCE_V2')
like = UnbinnedAnalysis(obs, '/lscratch/kocevski/32419800/Model_4FGL_J0816.4-1311_daily_bin2186.xml', optimizer='MINUIT')

Using source of interest name: '4FGL J0816.4-1311'

4FGL J0816.4-1311
   Spectrum: PowerLaw
287    Prefactor:  2.040e+00  0.000e+00  0.000e+00  1.000e+06 ( 1.000e-13)
288        Index:  1.850e+00  0.000e+00  0.000e+00  1.000e+01 (-1.000e+00) fixed
289        Scale:  2.915e+03  0.000e+00  3.000e+01  5.000e+05 ( 1.000e+00) fixed


Likelihood Fit Parameters:
Event file(s): /lscratch/kocevski/32419800/ft1_filtered_4FGL_J0816.4-1311_daily_bin2186.fits
Spacecraft file(s): /lscratch/kocevski/32419800/ft2_4FGL_J0816.4-1311_daily_bin2186.fits
Exposure map: /lscratch/kocevski/32419800/expmap_805939201_806198401_4FGL_J0816.4-1311_daily_bin2186.fits
Exposure cube: /lscratch/kocevski/32419800/ltcube_805939201_806198401_4FGL_J0816.4-1311_daily_bin2186.fits
IRFs: P8R3_SOURCE_V2
Source model file: /lscratch/kocevski/32419800/Model_4FGL_J0816.4-1311_daily_bin2186.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) = 12663.4215466

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

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

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'norm      '    .40484E-06   1.0000          .0000       .10000E+07
     2 'norm      '    17.563       1.0000          .0000       .10000E+07
     3 'norm      '    .93575E-06   1.0000          .0000       .10000E+07
     4 'norm      '    .39977E-02   1.0000          .0000       .10000E+07
     5 'Prefactor '    7.4183       1.0000          .0000       .10000E+07
     6 'norm      '    .76161E-07   1.0000          .0000       .10000E+07
     7 'Prefactor '    2.5425       1.0000          .0000       .10000E+07
     8 'norm      '    .43265E-06   1.0000          .0000       .10000E+07
     9 'Prefactor '    4.2393       1.0000          .0000       .10000E+07
    10 'Prefactor '    .27872E-06   1.0000          .0000       .10000E+07
    11 'norm      '    .22758E-03   1.0000          .0000       .10000E+07
    12 'norm      '    2.3895       1.0000          .0000       .10000E+07
    13 'norm      '    11.303       1.0000          .0000       .10000E+07
    14 'norm      '    .85075       1.0000          .0000       .10000E+07
    15 'Prefactor '    9.2756       1.0000          .0000       .10000E+07
    16 'norm      '    .31919E-07   1.0000          .0000       .10000E+07
    17 'norm      '    7.4073       1.0000          .0000       .10000E+07
    18 'Prefactor '    .25407E-03   1.0000          .0000       .10000E+07
    19 'Prefactor '    6.6829       1.0000          .0000       .10000E+07
    20 'Normalizat'    1.1693       1.0000         .10000E-01   10.000    
    21 'Prefactor '    1.0094       1.0000          .0000       10.000    
 **********
 **   15 **SET ERR    .5000    
 **********
 **********
 **   16 **SET GRAD    1.000    
 **********
 **********
 **   17 **MINIMIZE    .5640E+05   .2000E-04
 **********

 MIGRAD MINIMIZATION HAS CONVERGED.

 FCN=   12663.32     FROM MIGRAD    STATUS=CONVERGED    113 CALLS     1295 TOTAL
                     EDM=   .69E-09  STRATEGY=1  ERROR MATRIX UNCERTAINTY=  1.1%

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  norm           .0000        .60390        .33426E-07** at limit **
   2  norm          17.593        2.3071       -.39190E-07    .49608E-01
   3  norm           .0000        .99173       -.15572E-06** at limit **
   4  norm          .16098E-08    10.277       -.20743E-06** at limit **
   5  Prefactor     7.2658        5.3438        .17161E-06   -.23289E-01
   6  norm           .0000        .53555       -.17520E-06** at limit **
   7  Prefactor     2.6177        5.2246       -.15143E-06   -.16732E-01
   8  norm           .0000        .84026       -.63452E-07** at limit **
   9  Prefactor     4.1925        4.4909        .13801E-06    .48600E-01
  10  Prefactor      .0000        .75029       -.20359E-06** at limit **
  11  norm          .33307E-09    5.6519       -.49393E-07** at limit **
  12  norm          2.3882        1.1830        .25155E-07    .55753E-02
  13  norm          11.292        3.7962       -.69802E-07    .67804E-02
  14  norm          .86148        1.0267        .78003E-07   -.26922E-01
  15  Prefactor     9.1450        2.5107       -.59015E-07    .41393E-01
  16  norm          .55511E-10    2.5158        .23552E-06** at limit **
  17  norm          7.3883        3.4907        .41349E-07    .10472E-02
  18  Prefactor     .27756E-09    8.4117        .83566E-07** at limit **
  19  Prefactor     6.6952        1.0752        .10931E-07   -.66513E-02
  20  Normalizat    1.1695        .18476       -.24839E-05   -.82586E-05
  21  Prefactor     1.0094        .64217E-01    .86069E-06    .35745E-04
                               ERR DEF=  .500    
Final values: 
  norm       = 0
  norm       = 17.5934
  norm       = 0
  norm       = 1.60982e-09
  Prefactor  = 7.26583
  norm       = 0
  Prefactor  = 2.61771
  norm       = 0
  Prefactor  = 4.19248
  Prefactor  = 0
  norm       = 3.33067e-10
  norm       = 2.38815
  norm       = 11.2921
  norm       = 0.861483
  Prefactor  = 9.14498
  norm       = 5.55112e-11
  norm       = 7.38827
  Prefactor  = 2.77556e-10
  Prefactor  = 6.69519
  Normalizat = 1.16951
  Prefactor  = 1.00938
Done.

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

Extracting fit parameters...

4FGL J0816.4-1311
   Spectrum: PowerLaw
287    Prefactor:  0.000e+00  3.955e-06  0.000e+00  1.000e+06 ( 1.000e-13)
288        Index:  1.850e+00  0.000e+00  0.000e+00  1.000e+01 (-1.000e+00) fixed
289        Scale:  2.915e+03  0.000e+00  3.000e+01  5.000e+05 ( 1.000e+00) fixed

GAL_V02
   Spectrum: PowerLaw
561    Prefactor:  1.009e+00  6.041e-02  0.000e+00  1.000e+01 ( 1.000e+00)
562        Index:  0.000e+00  0.000e+00 -1.000e+00  1.000e+00 ( 1.000e+00) fixed
563        Scale:  1.000e+02  0.000e+00  5.000e+01  2.000e+02 ( 1.000e+00) fixed

EG_v02
   Spectrum: FileFunction
560   Normalization:  1.170e+00  1.779e-01  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Fixed Index): 0.00
Ra Dec: 124.112 -13.197
Photon Flux Upper Limit: 2.63805811052e-08 ph cm-2 s-1
Energy Flux Upper Limit: 0.00195290338548 MeV cm-2 s-1

Saving results to:
/lscratch/kocevski/32419706/likelihoodResults_805939201_806198401_4FGL_J0816.4-1311_daily_bin2186.txt

Performing a free index iterative likelihood fit...

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

Done.

Freeing candidate source...
Done.

Fit tolerance = 1

Performing likelihood fit...
Done.

MINUIT Return Code (Free Index): 0
logL (Free Index) = 12663.3248353
delta logL = -0.000601018884481

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

MINUIT Return Code (Free Index): 102
logL (Free Index) = 12663.3242344
delta logL = -1.63468939718e-07

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'Prefactor '    .50515E-08   1.0000          .0000       .10000E+07
     2 'Index     '    1.0418       1.0000          .0000       10.000    
     3 'Normalizat'    1.1696       1.0000         .10000E-01   10.000    
     4 'Prefactor '    1.0094       1.0000          .0000       10.000    
 **********
 **   15 **SET ERR    .5000    
 **********
 **********
 **   16 **SET GRAD    1.000    
 **********
 **********
 **   17 **MINIMIZE    .5640E+05   .2000E-04
 **********

 MIGRAD MINIMIZATION HAS CONVERGED.

 MIGRAD WILL VERIFY CONVERGENCE AND ERROR MATRIX.
  MNHESS FAILS AND WILL RETURN DIAGONAL MATRIX. 

 FCN=   12663.32     FROM MIGRAD    STATUS=CONVERGED     31 CALLS      231 TOTAL
                     EDM=   .51E-12  STRATEGY=1  ERROR MATRIX UNCERTAINTY=100.0%

  EXT PARAMETER                APPROXIMATE        STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor      .0000        1.0720        .42118E-03** at limit **
   2  Index         1.2603        1.3051       -.22386E-05     .0000    
   3  Normalizat    1.1695        1.1178       -.10752E-04    .18928E-04
   4  Prefactor     1.0094        1.2672        .58754E-05    .43790E-04
                               ERR DEF=  .500    
Final values: 
  Prefactor  = 0
  Index      = 1.26028
  Normalizat = 1.16951
  Prefactor  = 1.00938
 **********
 **   18 **HESSE 
 **********
  MNHESS FAILS AND WILL RETURN DIAGONAL MATRIX. 

 FCN=   12663.32     FROM HESSE     STATUS=FAILED         9 CALLS      240 TOTAL
                     EDM=   .51E-12  STRATEGY=1  ERROR MATRIX UNCERTAINTY=100.0%

  EXT PARAMETER                APPROXIMATE     INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  Prefactor      .0000        1.0720        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   2  Index         .11601        1.4455       -.22386E-05   -.84496    
   3  Normalizat    1.1695        1.1178       -.10752E-04   -.87550    
   4  Prefactor     1.0094        1.2672        .58754E-05   -.92417    
                               ERR DEF=  .500    
Minuit fit quality: 1   estimated distance: 5.11022e-13
Minuit parameter uncertainties:
  1  6.92669e-07
  2  1.34127
  3  1.14187
  4  1.30793
shell-init: error retrieving current directory: getcwd: cannot access parent directories: No such file or directory
Done.

MINUIT Return Code (Free Index): 101
logL (Free Index) = 12663.3242342
delta logL = 0.0

Extracting fit parameters...

4FGL J0816.4-1311
   Spectrum: PowerLaw
287    Prefactor:  0.000e+00  6.927e-07  0.000e+00  1.000e+06 ( 1.000e-13)
288        Index:  1.260e+00  1.341e+00  0.000e+00  1.000e+01 (-1.000e+00)
289        Scale:  2.915e+03  0.000e+00  3.000e+01  5.000e+05 ( 1.000e+00) fixed

GAL_V02
   Spectrum: PowerLaw
561    Prefactor:  1.009e+00  1.308e+00  0.000e+00  1.000e+01 ( 1.000e+00)
562        Index:  0.000e+00  0.000e+00 -1.000e+00  1.000e+00 ( 1.000e+00) fixed
563        Scale:  1.000e+02  0.000e+00  5.000e+01  2.000e+02 ( 1.000e+00) fixed

EG_v02
   Spectrum: FileFunction
560   Normalization:  1.170e+00  1.142e+00  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Free Index): 0.00
Ra Dec: 124.112 -13.197

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/32419706/cmap_HighResolution_805939201_806198401_4FGL_J0816.4-1311_daily_bin2186.png

Cleaning up...

** Nuclear option initiated! **

Updating database...

UPDATE lightcurve_data_v2 SET energy_flux_upper_limit='1.95e-03', job_status='DONE', photon_flux_upper_limit='2.64e-08', time_completed='2026-07-20 06:12:15.462622', job_id='32419706', GAL2='1.01', fit_tolerance='1e-08', EG2='1.17', EG='1.17', time_epoch_completed='1784553135.46', return_code2='101', ts='0.00', comment='SUCCESS', return_code='0', GAL='1.01', dlogl='0.00e+00', ts2='0.00', photon_index_error='0.00', photon_index='1.85' WHERE bin_id='2186' AND source_name='4FGL J0816.4-1311' AND cadence='daily';

Database successfully updated.


Analysis Complete.


Mon Jul 20 06:12:16 PDT 2026

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

 FCN=   12663.32     FROM HESSE     STATUS=OK           367 CALLS     1662 TOTAL
                     EDM=   .11E-06    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  norm           .0000        .58938        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   2  norm          17.593        10.635        .23871E-03   -1.5624    
   3  norm           .0000        .98793        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   4  norm          .16098E-08    10.376        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   5  Prefactor     7.2658        7.8090        .36800E-03   -1.5654    
   6  norm           .0000        .53486        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   7  Prefactor     2.6177        5.6296        .64019E-03   -1.5676    
   8  norm           .0000        .32486        .22289E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   9  Prefactor     4.1925        6.3357        .48915E-03   -1.5667    
  10  Prefactor      .0000        .75187        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  11  norm          .33307E-09    5.6684        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  12  norm          2.3882        15.339        .66229E-03   -1.5677    
  13  norm          11.292        3.8182        .29774E-03   -1.5641    
  14  norm          .86148        5.8308        .49226E-03   -1.5689    
  15  Prefactor     9.1450        17.123        .32882E-03   -1.5647    
  16  norm          .55511E-10    2.5163        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  17  norm          7.3883        3.5790        .36827E-03   -1.5654    
  18  Prefactor     .27756E-09    8.4815        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  19  Prefactor     6.6952        10.576        .38792E-03   -1.5656    
  20  Normalizat    1.1695        .17784        .91789E-01   -.87550    
  21  Prefactor     1.0094        .60404E-01    .43415E-01   -.92417    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 1.14439e-07
Minuit parameter uncertainties:
  1  8.47283e-07
  2  10.6345
  3  5.29048e-06
  4  0.00025625
  5  7.80901
  6  2.8626e-06
  7  5.62965
  8  9.26761e-07
  9  6.33566
  10  3.95484e-06
  11  8.77128e-05
  12  12.105
  13  3.81818
  14  4.48248
  15  17.1235
  16  2.46615e-05
  17  3.579
  18  9.3044e-05
  19  10.5757
  20  0.177936
  21  0.0604078
 **********
 **   18 **HESSE 
 **********

 FCN=   12663.32     FROM HESSE     STATUS=OK           367 CALLS     1662 TOTAL
                     EDM=   .11E-06    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  norm           .0000        .58938        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   2  norm          17.593        10.635        .23871E-03   -1.5624    
   3  norm           .0000        .98793        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   4  norm          .16098E-08    10.376        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   5  Prefactor     7.2658        7.8090        .36800E-03   -1.5654    
   6  norm           .0000        .53486        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   7  Prefactor     2.6177        5.6296        .64019E-03   -1.5676    
   8  norm           .0000        .32486        .22289E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   9  Prefactor     4.1925        6.3357        .48915E-03   -1.5667    
  10  Prefactor      .0000        .75187        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  11  norm          .33307E-09    5.6684        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  12  norm          2.3882        15.339        .66229E-03   -1.5677    
  13  norm          11.292        3.8182        .29774E-03   -1.5641    
  14  norm          .86148        5.8308        .49226E-03   -1.5689    
  15  Prefactor     9.1450        17.123        .32882E-03   -1.5647    
  16  norm          .55511E-10    2.5163        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  17  norm          7.3883        3.5790        .36827E-03   -1.5654    
  18  Prefactor     .27756E-09    8.4815        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  19  Prefactor     6.6952        10.576        .38792E-03   -1.5656    
  20  Normalizat    1.1695        .17784        .91789E-01   -.87550    
  21  Prefactor     1.0094        .60404E-01    .43415E-01   -.92417    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 1.14439e-07
Minuit parameter uncertainties:
  1  8.47283e-07
  2  10.6345
  3  5.29048e-06
  4  0.00025625
  5  7.80901
  6  2.8626e-06
  7  5.62965
  8  9.26761e-07
  9  6.33566
  10  3.95484e-06
  11  8.77128e-05
  12  12.105
  13  3.81818
  14  4.48248
  15  17.1235
  16  2.46615e-05
  17  3.579
  18  9.3044e-05
  19  10.5757
  20  0.177936
  21  0.0604078
Done.

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

Extracting fit parameters...

4FGL J0816.4-1311
   Spectrum: PowerLaw
287    Prefactor:  0.000e+00  3.955e-06  0.000e+00  1.000e+06 ( 1.000e-13)
288        Index:  1.850e+00  0.000e+00  0.000e+00  1.000e+01 (-1.000e+00) fixed
289        Scale:  2.915e+03  0.000e+00  3.000e+01  5.000e+05 ( 1.000e+00) fixed

GAL_V02
   Spectrum: PowerLaw
561    Prefactor:  1.009e+00  6.041e-02  0.000e+00  1.000e+01 ( 1.000e+00)
562        Index:  0.000e+00  0.000e+00 -1.000e+00  1.000e+00 ( 1.000e+00) fixed
563        Scale:  1.000e+02  0.000e+00  5.000e+01  2.000e+02 ( 1.000e+00) fixed

EG_v02
   Spectrum: FileFunction
560   Normalization:  1.170e+00  1.779e-01  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Fixed Index): 0.00
Ra Dec: 124.112 -13.197
Photon Flux Upper Limit: 2.63805811052e-08 ph cm-2 s-1
Energy Flux Upper Limit: 0.00195290338548 MeV cm-2 s-1

Saving results to:
/lscratch/kocevski/32419800/likelihoodResults_805939201_806198401_4FGL_J0816.4-1311_daily_bin2186.txt

Performing a free index iterative likelihood fit...

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

Done.

Freeing candidate source...
Done.

Fit tolerance = 1

Performing likelihood fit...
Done.

MINUIT Return Code (Free Index): 0
logL (Free Index) = 12663.3248353
delta logL = -0.000601018884481

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

MINUIT Return Code (Free Index): 102
logL (Free Index) = 12663.3242344
delta logL = -1.63468939718e-07

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'Prefactor '    .50515E-08   1.0000          .0000       .10000E+07
     2 'Index     '    1.0418       1.0000          .0000       10.000    
     3 'Normalizat'    1.1696       1.0000         .10000E-01   10.000    
     4 'Prefactor '    1.0094       1.0000          .0000       10.000    
 **********
 **   15 **SET ERR    .5000    
 **********
 **********
 **   16 **SET GRAD    1.000    
 **********
 **********
 **   17 **MINIMIZE    .5640E+05   .2000E-04
 **********

 MIGRAD MINIMIZATION HAS CONVERGED.

 MIGRAD WILL VERIFY CONVERGENCE AND ERROR MATRIX.
  MNHESS FAILS AND WILL RETURN DIAGONAL MATRIX. 

 FCN=   12663.32     FROM MIGRAD    STATUS=CONVERGED     31 CALLS      231 TOTAL
                     EDM=   .51E-12  STRATEGY=1  ERROR MATRIX UNCERTAINTY=100.0%

  EXT PARAMETER                APPROXIMATE        STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor      .0000        1.0720        .42118E-03** at limit **
   2  Index         1.2603        1.3051       -.22386E-05     .0000    
   3  Normalizat    1.1695        1.1178       -.10752E-04    .18928E-04
   4  Prefactor     1.0094        1.2672        .58754E-05    .43790E-04
                               ERR DEF=  .500    
Final values: 
  Prefactor  = 0
  Index      = 1.26028
  Normalizat = 1.16951
  Prefactor  = 1.00938
 **********
 **   18 **HESSE 
 **********
  MNHESS FAILS AND WILL RETURN DIAGONAL MATRIX. 

 FCN=   12663.32     FROM HESSE     STATUS=FAILED         9 CALLS      240 TOTAL
                     EDM=   .51E-12  STRATEGY=1  ERROR MATRIX UNCERTAINTY=100.0%

  EXT PARAMETER                APPROXIMATE     INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  Prefactor      .0000        1.0720        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   2  Index         .11601        1.4455       -.22386E-05   -.84496    
   3  Normalizat    1.1695        1.1178       -.10752E-04   -.87550    
   4  Prefactor     1.0094        1.2672        .58754E-05   -.92417    
                               ERR DEF=  .500    
Minuit fit quality: 1   estimated distance: 5.11022e-13
Minuit parameter uncertainties:
  1  6.92669e-07
  2  1.34127
  3  1.14187
  4  1.30793
Done.

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

Extracting fit parameters...

4FGL J0816.4-1311
   Spectrum: PowerLaw
287    Prefactor:  0.000e+00  3.955e-06  0.000e+00  1.000e+06 ( 1.000e-13)
288        Index:  1.850e+00  0.000e+00  0.000e+00  1.000e+01 (-1.000e+00) fixed
289        Scale:  2.915e+03  0.000e+00  3.000e+01  5.000e+05 ( 1.000e+00) fixed

GAL_V02
   Spectrum: PowerLaw
561    Prefactor:  1.009e+00  6.041e-02  0.000e+00  1.000e+01 ( 1.000e+00)
562        Index:  0.000e+00  0.000e+00 -1.000e+00  1.000e+00 ( 1.000e+00) fixed
563        Scale:  1.000e+02  0.000e+00  5.000e+01  2.000e+02 ( 1.000e+00) fixed

EG_v02
   Spectrum: FileFunction
560   Normalization:  1.170e+00  1.779e-01  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Fixed Index): 0.00
Ra Dec: 124.112 -13.197
Photon Flux Upper Limit: 2.63805811052e-08 ph cm-2 s-1
Energy Flux Upper Limit: 0.00195290338548 MeV cm-2 s-1

Saving results to:
/lscratch/kocevski/32419758/likelihoodResults_805939201_806198401_4FGL_J0816.4-1311_daily_bin2186.txt

Performing a free index iterative likelihood fit...

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

Done.

Freeing candidate source...
Done.

Fit tolerance = 1

Performing likelihood fit...
Done.

MINUIT Return Code (Free Index): 0
logL (Free Index) = 12663.3248353
delta logL = -0.000601018884481

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

MINUIT Return Code (Free Index): 102
logL (Free Index) = 12663.3242344
delta logL = -1.63468939718e-07

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'Prefactor '    .50515E-08   1.0000          .0000       .10000E+07
     2 'Index     '    1.0418       1.0000          .0000       10.000    
     3 'Normalizat'    1.1696       1.0000         .10000E-01   10.000    
     4 'Prefactor '    1.0094       1.0000          .0000       10.000    
 **********
 **   15 **SET ERR    .5000    
 **********
 **********
 **   16 **SET GRAD    1.000    
 **********
 **********
 **   17 **MINIMIZE    .5640E+05   .2000E-04
 **********

 MIGRAD MINIMIZATION HAS CONVERGED.

 MIGRAD WILL VERIFY CONVERGENCE AND ERROR MATRIX.
  MNHESS FAILS AND WILL RETURN DIAGONAL MATRIX. 

 FCN=   12663.32     FROM MIGRAD    STATUS=CONVERGED     31 CALLS      231 TOTAL
                     EDM=   .51E-12  STRATEGY=1  ERROR MATRIX UNCERTAINTY=100.0%

  EXT PARAMETER                APPROXIMATE        STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor      .0000        1.0720        .42118E-03** at limit **
   2  Index         1.2603        1.3051       -.22386E-05     .0000    
   3  Normalizat    1.1695        1.1178       -.10752E-04    .18928E-04
   4  Prefactor     1.0094        1.2672        .58754E-05    .43790E-04
                               ERR DEF=  .500    
Final values: 
  Prefactor  = 0
  Index      = 1.26028
  Normalizat = 1.16951
  Prefactor  = 1.00938
 **********
 **   18 **HESSE 
 **********
  MNHESS FAILS AND WILL RETURN DIAGONAL MATRIX. 

 FCN=   12663.32     FROM HESSE     STATUS=FAILED         9 CALLS      240 TOTAL
                     EDM=   .51E-12  STRATEGY=1  ERROR MATRIX UNCERTAINTY=100.0%

  EXT PARAMETER                APPROXIMATE     INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  Prefactor      .0000        1.0720        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   2  Index         .11601        1.4455       -.22386E-05   -.84496    
   3  Normalizat    1.1695        1.1178       -.10752E-04   -.87550    
   4  Prefactor     1.0094        1.2672        .58754E-05   -.92417    
                               ERR DEF=  .500    
Minuit fit quality: 1   estimated distance: 5.11022e-13
Minuit parameter uncertainties:
  1  6.92669e-07
  2  1.34127
  3  1.14187
  4  1.30793
shell-init: error retrieving current directory: getcwd: cannot access parent directories: No such file or directory
Done.

MINUIT Return Code (Free Index): 101
logL (Free Index) = 12663.3242342
delta logL = 0.0

Extracting fit parameters...

4FGL J0816.4-1311
   Spectrum: PowerLaw
287    Prefactor:  0.000e+00  6.927e-07  0.000e+00  1.000e+06 ( 1.000e-13)
288        Index:  1.260e+00  1.341e+00  0.000e+00  1.000e+01 (-1.000e+00)
289        Scale:  2.915e+03  0.000e+00  3.000e+01  5.000e+05 ( 1.000e+00) fixed

GAL_V02
   Spectrum: PowerLaw
561    Prefactor:  1.009e+00  1.308e+00  0.000e+00  1.000e+01 ( 1.000e+00)
562        Index:  0.000e+00  0.000e+00 -1.000e+00  1.000e+00 ( 1.000e+00) fixed
563        Scale:  1.000e+02  0.000e+00  5.000e+01  2.000e+02 ( 1.000e+00) fixed

EG_v02
   Spectrum: FileFunction
560   Normalization:  1.170e+00  1.142e+00  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Free Index): 0.00
Ra Dec: 124.112 -13.197

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/32419800/cmap_HighResolution_805939201_806198401_4FGL_J0816.4-1311_daily_bin2186.png

Cleaning up...

** Nuclear option initiated! **

Updating database...

UPDATE lightcurve_data_v2 SET energy_flux_upper_limit='1.95e-03', job_status='DONE', photon_flux_upper_limit='2.64e-08', time_completed='2026-07-20 06:13:10.887006', job_id='32419800', GAL2='1.01', fit_tolerance='1e-08', EG2='1.17', EG='1.17', time_epoch_completed='1784553190.89', return_code2='101', ts='0.00', comment='SUCCESS', return_code='0', GAL='1.01', dlogl='0.00e+00', ts2='0.00', photon_index_error='0.00', photon_index='1.85' WHERE bin_id='2186' AND source_name='4FGL J0816.4-1311' AND cadence='daily';

Database successfully updated.


Analysis Complete.


Mon Jul 20 06:13:11 PDT 2026

shell-init: error retrieving current directory: getcwd: cannot access parent directories: No such file or directory
Done.

MINUIT Return Code (Free Index): 101
logL (Free Index) = 12663.3242342
delta logL = 0.0

Extracting fit parameters...

4FGL J0816.4-1311
   Spectrum: PowerLaw
287    Prefactor:  0.000e+00  6.927e-07  0.000e+00  1.000e+06 ( 1.000e-13)
288        Index:  1.260e+00  1.341e+00  0.000e+00  1.000e+01 (-1.000e+00)
289        Scale:  2.915e+03  0.000e+00  3.000e+01  5.000e+05 ( 1.000e+00) fixed

GAL_V02
   Spectrum: PowerLaw
561    Prefactor:  1.009e+00  1.308e+00  0.000e+00  1.000e+01 ( 1.000e+00)
562        Index:  0.000e+00  0.000e+00 -1.000e+00  1.000e+00 ( 1.000e+00) fixed
563        Scale:  1.000e+02  0.000e+00  5.000e+01  2.000e+02 ( 1.000e+00) fixed

EG_v02
   Spectrum: FileFunction
560   Normalization:  1.170e+00  1.142e+00  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Free Index): 0.00
Ra Dec: 124.112 -13.197

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/32419758/cmap_HighResolution_805939201_806198401_4FGL_J0816.4-1311_daily_bin2186.png

Cleaning up...

** Nuclear option initiated! **

Updating database...

UPDATE lightcurve_data_v2 SET energy_flux_upper_limit='1.95e-03', job_status='DONE', photon_flux_upper_limit='2.64e-08', time_completed='2026-07-20 06:13:13.211597', job_id='32419758', GAL2='1.01', fit_tolerance='1e-08', EG2='1.17', EG='1.17', time_epoch_completed='1784553193.21', return_code2='101', ts='0.00', comment='SUCCESS', return_code='0', GAL='1.01', dlogl='0.00e+00', ts2='0.00', photon_index_error='0.00', photon_index='1.85' WHERE bin_id='2186' AND source_name='4FGL J0816.4-1311' AND cadence='daily';

Database successfully updated.


Analysis Complete.


Mon Jul 20 06:13:13 PDT 2026

