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

 FCN=   8149.375     FROM HESSE     STATUS=OK           329 CALLS     1838 TOTAL
                     EDM=   .49E-05    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  Prefactor     .56455E-07    11.254        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   2  Prefactor      .0000        1.4512        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   3  Prefactor     .55511E-10    1.9699        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   4  Prefactor     .48949        4.7475        .79587E-03   -1.5694    
   5  norm          .13134        .46857        .13151E-02   -1.5701    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   6  Prefactor     .11874E-06    9.7082        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   7  norm          1.3268        1.2401        .95395E-03   -1.5685    
   8  Prefactor     .61062E-09    4.7142        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   9  Prefactor     .55511E-10    .66303        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  10  norm          8.0794        11.047        .35280E-03   -1.5651    
  11  Prefactor     2.0547        74.578        .71406E-03   -1.5679    
  12  Prefactor     .51181E-06    16.819        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  13  Prefactor      .0000        .97404        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  14  Prefactor     .23870E-07    9.6634        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  15  Prefactor     .13517E-06    9.2701        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  16  norm          41.002        109.24        .15618E-03   -1.5580    
  17  Prefactor     4.7371        16.491        .46122E-03   -1.5664    
  18  norm          1.6217        .23485        .36222E-03   -1.5682    
  19  Normalizat    1.1394        .14811        .54119E-01   -.88496    
  20  Prefactor     .81035        .11173        .43852E-01   -.99348    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 4.9077e-06
Minuit parameter uncertainties:
  1  0.00159423
  2  6.63059e-07
  3  2.44164e-05
  4  3.04883
  5  0.468573
  6  0.0021473
  7  1.24005
  8  0.000106462
  9  1.3624e-05
  10  11.0473
  11  24.7581
  12  0.00586802
  13  4.71768e-06
  14  0.000960805
  15  0.00223878
  16  109.242
  17  16.4909
  18  0.234848
  19  0.14816
  20  0.111761
outfile=/lscratch/kocevski/32014433/ltcube_805680001_805939201_4FGL_J0416.5-1852_daily_bin2185.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/32014433/ft2_4FGL_J0416.5-1852_daily_bin2185.fits
.....................!
real 8.73
user 8.15
sys 0.24

Generating the exposure map:
time -p gtexpmap evfile=/lscratch/kocevski/32014433/ft1_filtered_4FGL_J0416.5-1852_daily_bin2185.fits evtable="EVENTS" scfile=/lscratch/kocevski/32014433/ft2_4FGL_J0416.5-1852_daily_bin2185.fits sctable="SC_DATA" expcube=/lscratch/kocevski/32014433/ltcube_805680001_805939201_4FGL_J0416.5-1852_daily_bin2185.fits outfile=/lscratch/kocevski/32014433/expmap_805680001_805939201_4FGL_J0416.5-1852_daily_bin2185.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/32014433/ltcube_805680001_805939201_4FGL_J0416.5-1852_daily_bin2185.fits
.....................!
real 69.57
user 64.64
sys 4.21

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
Extended source Fornax A in ROI, make sure /sdf/group/fermi/g/LCRepository/Likelihood/ExtendedSources/Extended_8years/Templates/FornaxA.fits is the correct path to the extended template.
Added 149 point sources and 1 extended sources
If using unbinned likelihood you will need to rerun gtdiffrsp for the extended sources or rerun the makeModel function with optional argument psForce=True

Setting source of interest to:
4FGL J0416.5-1852 @ 64.1373 -18.8724

Creating the counts map:
time -p gtbin evfile=/lscratch/kocevski/32014433/ft1_filtered_4FGL_J0416.5-1852_daily_bin2185.fits scfile=/lscratch/kocevski/32014433/ft2_4FGL_J0416.5-1852_daily_bin2185.fits outfile=/lscratch/kocevski/32014433/cmap_805680001_805939201_4FGL_J0416.5-1852_daily_bin2185.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=64.1373 yref=-18.8724 axisrot=0.0 rafield="RA" decfield="DEC" proj="AIT" hpx_ordering_scheme="RING" hpx_order=3 hpx_ebin=yes hpx_region="" evtable="EVENTS" sctable="SC_DATA" efield="ENERGY" tfield="TIME" chatter=2 clobber=yes debug=no gui=no mode="ql"

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

This is gtbin version HEAD
real 0.57
user 0.21
sys 0.15

Creating the high resolution counts map:
time -p gtbin evfile=/lscratch/kocevski/32014433/ft1_filtered_4FGL_J0416.5-1852_daily_bin2185.fits scfile=/lscratch/kocevski/32014433/ft2_4FGL_J0416.5-1852_daily_bin2185.fits outfile=/lscratch/kocevski/32014433/cmap_HighResolution_805680001_805939201_4FGL_J0416.5-1852_daily_bin2185.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=64.1373 yref=-18.8724 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.56
user 0.22
sys 0.14

Computing the diffuse response:
time -p gtdiffrsp evfile=/lscratch/kocevski/32014433/ft1_filtered_4FGL_J0416.5-1852_daily_bin2185.fits evtable="EVENTS" scfile=/lscratch/kocevski/32014433/ft2_4FGL_J0416.5-1852_daily_bin2185.fi/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).

utfile=/lscratch/kocevski/32014438/ltcube_805680001_805939201_4FGL_J0416.5-1852_daily_bin2185.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/32014438/ft2_4FGL_J0416.5-1852_daily_bin2185.fits
.....................!
real 8.78
user 8.28
sys 0.23

Generating the exposure map:
time -p gtexpmap evfile=/lscratch/kocevski/32014438/ft1_filtered_4FGL_J0416.5-1852_daily_bin2185.fits evtable="EVENTS" scfile=/lscratch/kocevski/32014438/ft2_4FGL_J0416.5-1852_daily_bin2185.fits sctable="SC_DATA" expcube=/lscratch/kocevski/32014438/ltcube_805680001_805939201_4FGL_J0416.5-1852_daily_bin2185.fits outfile=/lscratch/kocevski/32014438/expmap_805680001_805939201_4FGL_J0416.5-1852_daily_bin2185.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/32014438/ltcube_805680001_805939201_4FGL_J0416.5-1852_daily_bin2185.fits
.....................!
real 72.58
user 67.76
sys 4.23

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
Extended source Fornax A in ROI, make sure /sdf/group/fermi/g/LCRepository/Likelihood/ExtendedSources/Extended_8years/Templates/FornaxA.fits is the correct path to the extended template.
Added 149 point sources and 1 extended sources
If using unbinned likelihood you will need to rerun gtdiffrsp for the extended sources or rerun the makeModel function with optional argument psForce=True

Setting source of interest to:
4FGL J0416.5-1852 @ 64.1373 -18.8724

Creating the counts map:
time -p gtbin evfile=/lscratch/kocevski/32014438/ft1_filtered_4FGL_J0416.5-1852_daily_bin2185.fits scfile=/lscratch/kocevski/32014438/ft2_4FGL_J0416.5-1852_daily_bin2185.fits outfile=/lscratch/kocevski/32014438/cmap_805680001_805939201_4FGL_J0416.5-1852_daily_bin2185.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=64.1373 yref=-18.8724 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.52
user 0.24
sys 0.13

Creating the high resolution counts map:
time -p gtbin evfile=/lscratch/kocevski/32014438/ft1_filtered_4FGL_J0416.5-1852_daily_bin2185.fits scfile=/lscratch/kocevski/32014438/ft2_4FGL_J0416.5-1852_daily_bin2185.fits outfile=/lscratch/kocevski/32014438/cmap_HighResolution_805680001_805939201_4FGL_J0416.5-1852_daily_bin2185.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=64.1373 yref=-18.8724 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.62
user 0.23
sys 0.14

Computing the diffuse response:
time -p gtdiffrsp evfile=/lscratch/kocevski/32014438/ft1_filtered_4FGL_J0416.5-1852_daily_bin2185.fits evtable="EVENTS" scfile=/lscratch/kocevski/32014438/ft2_4FGL_J0416.5-1852_daily_bin2185.fitutfile=/lscratch/kocevski/32014439/ltcube_805680001_805939201_4FGL_J0416.5-1852_daily_bin2185.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/32014439/ft2_4FGL_J0416.5-1852_daily_bin2185.fits
.....................!
real 8.84
user 8.24
sys 0.24

Generating the exposure map:
time -p gtexpmap evfile=/lscratch/kocevski/32014439/ft1_filtered_4FGL_J0416.5-1852_daily_bin2185.fits evtable="EVENTS" scfile=/lscratch/kocevski/32014439/ft2_4FGL_J0416.5-1852_daily_bin2185.fits sctable="SC_DATA" expcube=/lscratch/kocevski/32014439/ltcube_805680001_805939201_4FGL_J0416.5-1852_daily_bin2185.fits outfile=/lscratch/kocevski/32014439/expmap_805680001_805939201_4FGL_J0416.5-1852_daily_bin2185.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/32014439/ltcube_805680001_805939201_4FGL_J0416.5-1852_daily_bin2185.fits
.....................!
real 73.44
user 67.62
sys 4.41

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
Extended source Fornax A in ROI, make sure /sdf/group/fermi/g/LCRepository/Likelihood/ExtendedSources/Extended_8years/Templates/FornaxA.fits is the correct path to the extended template.
Added 149 point sources and 1 extended sources
If using unbinned likelihood you will need to rerun gtdiffrsp for the extended sources or rerun the makeModel function with optional argument psForce=True

Setting source of interest to:
4FGL J0416.5-1852 @ 64.1373 -18.8724

Creating the counts map:
time -p gtbin evfile=/lscratch/kocevski/32014439/ft1_filtered_4FGL_J0416.5-1852_daily_bin2185.fits scfile=/lscratch/kocevski/32014439/ft2_4FGL_J0416.5-1852_daily_bin2185.fits outfile=/lscratch/kocevski/32014439/cmap_805680001_805939201_4FGL_J0416.5-1852_daily_bin2185.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=64.1373 yref=-18.8724 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.55
user 0.23
sys 0.13

Creating the high resolution counts map:
time -p gtbin evfile=/lscratch/kocevski/32014439/ft1_filtered_4FGL_J0416.5-1852_daily_bin2185.fits scfile=/lscratch/kocevski/32014439/ft2_4FGL_J0416.5-1852_daily_bin2185.fits outfile=/lscratch/kocevski/32014439/cmap_HighResolution_805680001_805939201_4FGL_J0416.5-1852_daily_bin2185.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=64.1373 yref=-18.8724 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.60
user 0.23
sys 0.14

Computing the diffuse response:
time -p gtdiffrsp evfile=/lscratch/kocevski/32014439/ft1_filtered_4FGL_J0416.5-1852_daily_bin2185.fits evtable="EVENTS" scfile=/lscratch/kocevski/32014439/ft2_4FGL_J0416.5-1852_daily_bin2185.fitts sctable="SC_DATA" srcmdl=/lscratch/kocevski/32014061/Model_4FGL_J0416.5-1852_daily_bin2185.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 Fornax A
adding source GAL_V02
Working on...
/lscratch/kocevski/32014061/ft1_filtered_4FGL_J0416.5-1852_daily_bin2185.fits.....................!
real 74.40
user 72.29
sys 1.49

Creating the likelihood object...
obs = UnbinnedObs('/lscratch/kocevski/32014061/ft1_filtered_4FGL_J0416.5-1852_daily_bin2185.fits', '/lscratch/kocevski/32014061/ft2_4FGL_J0416.5-1852_daily_bin2185.fits', expMap='/lscratch/kocevski/32014061/expmap_805680001_805939201_4FGL_J0416.5-1852_daily_bin2185.fits', expCube='/lscratch/kocevski/32014061/ltcube_805680001_805939201_4FGL_J0416.5-1852_daily_bin2185.fits', irfs='P8R3_SOURCE_V2')
like = UnbinnedAnalysis(obs, '/lscratch/kocevski/32014061/Model_4FGL_J0416.5-1852_daily_bin2185.xml', optimizer='MINUIT')

Using source of interest name: '4FGL J0416.5-1852'

4FGL J0416.5-1852
   Spectrum: PowerLaw
265    Prefactor:  1.793e+00  0.000e+00  0.000e+00  1.000e+06 ( 1.000e-12)
266        Index:  2.395e+00  0.000e+00  0.000e+00  1.000e+01 (-1.000e+00) fixed
267        Scale:  7.587e+02  0.000e+00  3.000e+01  5.000e+05 ( 1.000e+00) fixed


Likelihood Fit Parameters:
Event file(s): /lscratch/kocevski/32014061/ft1_filtered_4FGL_J0416.5-1852_daily_bin2185.fits
Spacecraft file(s): /lscratch/kocevski/32014061/ft2_4FGL_J0416.5-1852_daily_bin2185.fits
Exposure map: /lscratch/kocevski/32014061/expmap_805680001_805939201_4FGL_J0416.5-1852_daily_bin2185.fits
Exposure cube: /lscratch/kocevski/32014061/ltcube_805680001_805939201_4FGL_J0416.5-1852_daily_bin2185.fits
IRFs: P8R3_SOURCE_V2
Source model file: /lscratch/kocevski/32014061/Model_4FGL_J0416.5-1852_daily_bin2185.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) = 8149.37482074

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

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

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'Prefactor '    .80685E-03   1.0000          .0000       .10000E+07
     2 'Prefactor '    .74013E-06   1.0000          .0000       .10000E+07
     3 'Prefactor '    .40806E-06   1.0000          .0000       .10000E+07
     4 'Prefactor '    .49133       1.0000          .0000       .10000E+07
     5 'norm      '    .13149       1.0000          .0000       .10000E+07
     6 'Prefactor '    .22209E-03   1.0000          .0000       .10000E+07
     7 'norm      '    1.3264       1.0000          .0000       .10000E+07
     8 'Prefactor '    .42018E-05   1.0000          .0000       .10000E+07
     9 'Prefactor '    .11102E-08   1.0000          .0000       .10000E+07
    10 'norm      '    8.0655       1.0000          .0000       .10000E+07
    11 'Prefactor '    2.0887       1.0000          .0000       .10000E+07
    12 'Prefactor '    .37611E-02   1.0000          .0000       .10000E+07
    13 'Prefactor '    .16653E-08   1.0000          .0000       .10000E+07
    14 'Prefactor '    .36862E-03   1.0000          .0000       .10000E+07
    15 'Prefactor '    .61742E-03   1.0000          .0000       .10000E+07
    16 'norm      '    41.006       1.0000          .0000       .10000E+07
    17 'Prefactor '    4.7541       1.0000          .0000       .10000E+07
    18 'norm      '    1.6217       1.0000          .0000       .10000E+07
    19 'Normalizat'    1.1393       1.0000         .10000E-01   10.000    
    20 'Prefactor '    .81037       1.0000          .0000       10.000    
 **********
 **   15 **SET ERR    .5000    
 **********
 **********
 **   16 **SET GRAD    1.000    
 **********
 **********
 **   17 *Done.

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

Extracting fit parameters...

4FGL J0416.5-1852
   Spectrum: PowerLaw
265    Prefactor:  0.000e+00  4.718e-06  0.000e+00  1.000e+06 ( 1.000e-12)
266        Index:  2.395e+00  0.000e+00  0.000e+00  1.000e+01 (-1.000e+00) fixed
267        Scale:  7.587e+02  0.000e+00  3.000e+01  5.000e+05 ( 1.000e+00) fixed

GAL_V02
   Spectrum: PowerLaw
482    Prefactor:  8.104e-01  1.118e-01  0.000e+00  1.000e+01 ( 1.000e+00)
483        Index:  0.000e+00  0.000e+00 -1.000e+00  1.000e+00 ( 1.000e+00) fixed
484        Scale:  1.000e+02  0.000e+00  5.000e+01  2.000e+02 ( 1.000e+00) fixed

EG_v02
   Spectrum: FileFunction
478   Normalization:  1.139e+00  1.482e-01  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Fixed Index): 0.00
Ra Dec: 64.137 -18.872
Photon Flux Upper Limit: 4.21185839953e-08 ph cm-2 s-1
Energy Flux Upper Limit: 0.00325343071101 MeV cm-2 s-1

Saving results to:
/lscratch/kocevski/32014025/likelihoodResults_805680001_805939201_4FGL_J0416.5-1852_daily_bin2185.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): 102
logL (Free Index) = 8149.37592828
delta logL = -0.00116715189688

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

MINUIT Return Code (Free Index): 102
logL (Free Index) = 8149.37476122
delta logL = -9.01354724192e-08

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'Prefactor '    .33307E-09   1.0000          .0000       .10000E+07
     2 'Index     '    1.1547       1.0000          .0000       10.000    
     3 'Normalizat'    1.1394       1.0000         .10000E-01   10.000    
     4 'Prefactor '    .81040       1.0000          .0000       10.000    
 **********
 **   15 **SET ERR    .5000    
 **********
 **********
 **   16 **SET GRAD    1.000    
 **********
 **********
 **   17 **MINIMIZE    .4850E+05   .2000E-04
 **********

 MIGRAD MINIMIZATION HAS CONVERGED.

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

 FCN=   8149.375     FROM MIGRAD    STATUS=CONVERGED     45 CALLS      251 TOTAL
                     EDM=   .16E-09  STRATEGY=1  ERROR MATRIX UNCERTAINTY=100.0%

  EXT PARAMETER                APPROXIMATE        STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor      .0000        .51933        .42118E-03** at limit **
   2  Index         3.1134        1.6226       -.45277E-04     .0000    
   3  Normalizat    1.1394        1.1317        .53545E-04    .50168E-03
   4  Prefactor     .81035        1.1587       -.41638E-04    .61440E-03
                               ERR DEF=  .500    
Final values: 
  Prefactor  = 0
  Index      = 3.11337
  Normalizat = 1.13942
  Prefactor  = 0.810351
 **********
 **   18 **HESSE 
 **********
  MNHESS FAILS AND WILL RETURN DIAGONAL MATRIX. 

 FCN=   8149.375     FROM HESSE     STATUS=FAILED         9 CALLS      260 TOTAL
                     EDM=   .16E-09  STRATEGY=1  ERROR MATRIX UNCERTAINTY=100.0%

  EXT PARAMETER                APPROXIMATE     INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  Prefactor      .0000        .51933        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   2  Index         1.0930        2.1400       -.45277E-04   -.38691    
   3  Normalizat    1.1394        1.1317        .53545E-04   -.88496    
   4  Prefactor     .81035        1.1587       -.41638E-04   -.99348    
                               ERR DEF=  .500    
Minuit fit quality: 1   estimated distance: 1.58007e-10
Minuit parameter uncertainties:
  1  4.49911e-06
  2  1.65777
  3  1.15731
  4  1.19668
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) = 8149.37476113
delta logL = -9.36779542826e-11

Extracting fit parameters...

4FGL J0416.5-1852
   Spectrum: PowerLaw
265    Prefactor:  0.000e+00  4.499e-06  0.000e+00  1.000e+06 ( 1.000e-12)
266        Index:  3.113e+00  1.658e+00  0.000e+00  1.000e+01 (-1.000e+00)
267        Scale:  7.587e+02  0.000e+00  3.000e+01  5.000e+05 ( 1.000e+00) fixed

GAL_V02
   Spectrum: PowerLaw
482    Prefactor:  8.104e-01  1.197e+00  0.000e+00  1.000e+01 ( 1.000e+00)
483        Index:  0.000e+00  0.000e+00 -1.000e+00  1.000e+00 ( 1.000e+00) fixed
484        Scale:  1.000e+02  0.000e+00  5.000e+01  2.000e+02 ( 1.000e+00) fixed

EG_v02
   Spectrum: FileFunction
478   Normalization:  1.139e+00  1.157e+00  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Free Index): 0.00
Ra Dec: 64.137 -18.872

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/32014025/cmap_HighResolution_805680001_805939201_4FGL_J0416.5-1852_daily_bin2185.png

Cleaning up...

** Nuclear option initiated! **

Updating database...

UPDATE lightcurve_data_v2 SET energy_flux_upper_limit='3.25e-03', job_status='DONE', photon_flux_upper_limit='4.21e-08', time_completed='2026-07-17 03:18:42.783659', job_id='32014025', GAL2='0.81', fit_tolerance='1e-08', EG2='1.14', EG='1.14', time_epoch_completed='1784283522.78', return_code2='101', ts='0.00', comment='SUCCESS', return_code='0', GAL='0.81', dlogl='-9.37e-11', ts2='0.00', photon_index_error='0.00', photon_index='2.39' WHERE bin_id='2185' AND source_name='4FGL J0416.5-1852' AND cadence='daily';

Database successfully updated.


Analysis Complete.


Fri Jul 17 03:18:42 PDT 2026

*MINIMIZE    .4850E+05   .2000E-04
 **********

 MIGRAD MINIMIZATION HAS CONVERGED.

 FCN=   8149.375     FROM MIGRAD    STATUS=CONVERGED    117 CALLS     1509 TOTAL
                     EDM=   .59E-09  STRATEGY=1  ERROR MATRIX UNCERTAINTY=  1.1%

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor     .56455E-07    10.167        .53469E-07** at limit **
   2  Prefactor      .0000        1.4641       -.19472E-08** at limit **
   3  Prefactor     .55511E-10    1.9730        .49221E-07** at limit **
   4  Prefactor     .48949        4.7150       -.44903E-07   -.15263E-02
   5  norm          .13134        .46114       -.95034E-08** at limit **
   6  Prefactor     .11874E-06    2.8438       -.20286E-07** at limit **
   7  norm          1.3268        1.2129        .22758E-07    .23613E-02
   8  Prefactor     .61062E-09    4.7019       -.40027E-07** at limit **
   9  Prefactor     .55511E-10    .66332       -.81376E-07** at limit **
  10  norm          8.0794        10.678        .12824E-07    .12501E-01
  11  Prefactor     2.0547        9.1455       -.21808E-07    .34114E-01
  12  Prefactor     .51181E-06    15.563        .47976E-07** at limit **
  13  Prefactor      .0000        .97068        .27997E-07** at limit **
  14  Prefactor     .23870E-07    3.0628       -.25919E-07** at limit **
  15  Prefactor     .13517E-06    4.4696       -.30298E-07** at limit **
  16  norm          41.002        1.3827       -.17419E-08    .39955E-01
  17  Prefactor     4.7371        1.3622        .56329E-08   -.15916E-02
  18  norm          1.6217        .23368       -.45261E-08   -.32071E-01
  19  Normalizat    1.1394        .16623       -.11095E-05   -.25252E-03
  20  Prefactor     .81035        .12838        .27308E-06   -.19950E-03
                               ERR DEF=  .500    
Final values: 
  Prefactor  = 5.64548e-08
  Prefactor  = 0
  Prefactor  = 5.55112e-11
  Prefactor  = 0.489491
  norm       = 0.131343
  Prefactor  = 1.18738e-07
  norm       = 1.32679
  Prefactor  = 6.10623e-10
  Prefactor  = 5.55112e-11
  norm       = 8.07937
  Prefactor  = 2.05472
  Prefactor  = 5.11813e-07
  Prefactor  = 0
  Prefactor  = 2.38698e-08
  Prefactor  = 1.3517e-07
  norm       = 41.0024
  Prefactor  = 4.73707
  norm       = 1.62168
  Normalizat = 1.13942
  Prefactor  = 0.810351
 **********
 **   18 **HESSE 
 **********

 FCN=   8149.375     FROM HESSE     STATUS=OK           329 CALLS     1838 TOTAL
                     EDM=   .49E-05    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  Prefactor     .56455E-07    11.254        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   2  Prefactor      .0000        1.4512        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   3  Prefactor     .55511E-10    1.9699        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   4  Prefactor     .48949        4.7475        .79587E-03   -1.5694    
   5  norm          .13134        .46857        .13151E-02   -1.5701    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   6  Prefactor     .11874E-06    9.7082        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   7  norm          1.3268        1.2401        .95395E-03   -1.5685    
   8  Prefactor     .61062E-09    4.7142        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   9  Prefactor     .55511E-10    .66303        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  10  norm          8.0794        11.047        .35280E-03   -1.5651    
  11  Prefactor     2.0547        74.578        .71406E-03   -1.5679    
  12  Prefactor     .51181E-06    16.819        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  13  Prefactor      .0000        .97404        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  14  Prefactor     .23870E-07    9.6634        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  15  Prefactor     .13517E-06    9.2701        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  16  norm          41.002        109.24        .15618E-03   -1.5580    
  17  Prefactor     4.7371        16.491        .46122E-03   -1.5664    
  18  norm          1.6217        .23485        .36222E-03   -1.5682    
  19  Normalizat    1.1394        .14811        .54119E-01   -.88496    
  20  Prefactor     .81035        .11173        .43852E-01   -.99348    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 4.9077e-06
Minuit parameter uncertainties:
  1  0.00159423
  2  6.63059e-07
  3  2.44164e-05
  4  3.04883
  5  0.468573
  6  0.0021473
  7  1.24005
  8  0.000106462
  9  1.3624e-05
  10  11.0473
  11  24.7581
  12  0.00586802
  13  4.71768e-06
  14  0.000960805
  15  0.00223878
  16  109.242
  17  16.4909
  18  0.234848
  19  0.14816
  20  0.111761
outfile=/lscratch/kocevski/32014460/ltcube_805680001_805939201_4FGL_J0416.5-1852_daily_bin2185.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/32014460/ft2_4FGL_J0416.5-1852_daily_bin2185.fits
.....................!
real 8.35
user 7.89
sys 0.22

Generating the exposure map:
time -p gtexpmap evfile=/lscratch/kocevski/32014460/ft1_filtered_4FGL_J0416.5-1852_daily_bin2185.fits evtable="EVENTS" scfile=/lscratch/kocevski/32014460/ft2_4FGL_J0416.5-1852_daily_bin2185.fits sctable="SC_DATA" expcube=/lscratch/kocevski/32014460/ltcube_805680001_805939201_4FGL_J0416.5-1852_daily_bin2185.fits outfile=/lscratch/kocevski/32014460/expmap_805680001_805939201_4FGL_J0416.5-1852_daily_bin2185.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/32014460/ltcube_805680001_805939201_4FGL_J0416.5-1852_daily_bin2185.fits
.....................!
real 69.28
user 64.62
sys 4.09

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
Extended source Fornax A in ROI, make sure /sdf/group/fermi/g/LCRepository/Likelihood/ExtendedSources/Extended_8years/Templates/FornaxA.fits is the correct path to the extended template.
Added 149 point sources and 1 extended sources
If using unbinned likelihood you will need to rerun gtdiffrsp for the extended sources or rerun the makeModel function with optional argument psForce=True

Setting source of interest to:
4FGL J0416.5-1852 @ 64.1373 -18.8724

Creating the counts map:
time -p gtbin evfile=/lscratch/kocevski/32014460/ft1_filtered_4FGL_J0416.5-1852_daily_bin2185.fits scfile=/lscratch/kocevski/32014460/ft2_4FGL_J0416.5-1852_daily_bin2185.fits outfile=/lscratch/kocevski/32014460/cmap_805680001_805939201_4FGL_J0416.5-1852_daily_bin2185.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=64.1373 yref=-18.8724 axisrot=0.0 rafield="RA" decfield="DEC" proj="AIT" hpx_ordering_scheme="RING" hpx_order=3 hpx_ebin=yes hpx_region="" evtable="EVENTS" sctable="SC_DATA" efield="ENERGY" tfield="TIME" chatter=2 clobber=yes debug=no gui=no mode="ql"

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

This is gtbin version HEAD
real 0.73
user 0.23
sys 0.13

Creating the high resolution counts map:
time -p gtbin evfile=/lscratch/kocevski/32014460/ft1_filtered_4FGL_J0416.5-1852_daily_bin2185.fits scfile=/lscratch/kocevski/32014460/ft2_4FGL_J0416.5-1852_daily_bin2185.fits outfile=/lscratch/kocevski/32014460/cmap_HighResolution_805680001_805939201_4FGL_J0416.5-1852_daily_bin2185.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=64.1373 yref=-18.8724 axisrot=0.0 rafield="RA" decfield="DEC" proj="AIT" hpx_ordering_scheme="RING" hpx_order=3 hpx_ebin=yes hpx_region="" evtable="EVENTS" sctable="SC_DATA" efield="ENERGY" tfield="TIME" chatter=2 clobber=yes debug=no gui=no mode="ql"

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

This is gtbin version HEAD
real 0.69
user 0.23
sys 0.13

Computing the diffuse response:
time -p gtdiffrsp evfile=/lscratch/kocevski/32014460/ft1_filtered_4FGL_J0416.5-1852_daily_bin2185.fits evtable="EVENTS" scfile=/lscratch/kocevski/32014460/ft2_4FGL_J0416.5-1852_daily_bin2185.fits sctable="SC_DATA" srcmdl=/lscratch/kocevski/32014084/Model_4FGL_J0416.5-1852_daily_bin2185.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 Fornax A
adding source GAL_V02
Working on...
/lscratch/kocevski/32014084/ft1_filtered_4FGL_J0416.5-1852_daily_bin2185.fits.....................!
real 76.61
user 74.62
sys 1.20

Creating the likelihood object...
obs = UnbinnedObs('/lscratch/kocevski/32014084/ft1_filtered_4FGL_J0416.5-1852_daily_bin2185.fits', '/lscratch/kocevski/32014084/ft2_4FGL_J0416.5-1852_daily_bin2185.fits', expMap='/lscratch/kocevski/32014084/expmap_805680001_805939201_4FGL_J0416.5-1852_daily_bin2185.fits', expCube='/lscratch/kocevski/32014084/ltcube_805680001_805939201_4FGL_J0416.5-1852_daily_bin2185.fits', irfs='P8R3_SOURCE_V2')
like = UnbinnedAnalysis(obs, '/lscratch/kocevski/32014084/Model_4FGL_J0416.5-1852_daily_bin2185.xml', optimizer='MINUIT')

Using source of interest name: '4FGL J0416.5-1852'

4FGL J0416.5-1852
   Spectrum: PowerLaw
265    Prefactor:  1.793e+00  0.000e+00  0.000e+00  1.000e+06 ( 1.000e-12)
266        Index:  2.395e+00  0.000e+00  0.000e+00  1.000e+01 (-1.000e+00) fixed
267        Scale:  7.587e+02  0.000e+00  3.000e+01  5.000e+05 ( 1.000e+00) fixed


Likelihood Fit Parameters:
Event file(s): /lscratch/kocevski/32014084/ft1_filtered_4FGL_J0416.5-1852_daily_bin2185.fits
Spacecraft file(s): /lscratch/kocevski/32014084/ft2_4FGL_J0416.5-1852_daily_bin2185.fits
Exposure map: /lscratch/kocevski/32014084/expmap_805680001_805939201_4FGL_J0416.5-1852_daily_bin2185.fits
Exposure cube: /lscratch/kocevski/32014084/ltcube_805680001_805939201_4FGL_J0416.5-1852_daily_bin2185.fits
IRFs: P8R3_SOURCE_V2
Source model file: /lscratch/kocevski/32014084/Model_4FGL_J0416.5-1852_daily_bin2185.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) = 8149.37482074

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

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

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'Prefactor '    .80685E-03   1.0000          .0000       .10000E+07
     2 'Prefactor '    .74013E-06   1.0000          .0000       .10000E+07
     3 'Prefactor '    .40806E-06   1.0000          .0000       .10000E+07
     4 'Prefactor '    .49133       1.0000          .0000       .10000E+07
     5 'norm      '    .13149       1.0000          .0000       .10000E+07
     6 'Prefactor '    .22209E-03   1.0000          .0000       .10000E+07
     7 'norm      '    1.3264       1.0000          .0000       .10000E+07
     8 'Prefactor '    .42018E-05   1.0000          .0000       .10000E+07
     9 'Prefactor '    .11102E-08   1.0000          .0000       .10000E+07
    10 'norm      '    8.0655       1.0000          .0000       .10000E+07
    11 'Prefactor '    2.0887       1.0000          .0000       .10000E+07
    12 'Prefactor '    .37611E-02   1.0000          .0000       .10000E+07
    13 'Prefactor '    .16653E-08   1.0000          .0000       .10000E+07
    14 'Prefactor '    .36862E-03   1.0000          .0000       .10000E+07
    15 'Prefactor '    .61742E-03   1.0000          .0000       .10000E+07
    16 'norm      '    41.006       1.0000          .0000       .10000E+07
    17 'Prefactor '    4.7541       1.0000          .0000       .10000E+07
    18 'norm      '    1.6217       1.0000          .0000       .10000E+07
    19 'Normalizat'    1.1393       1.0000         .10000E-01   10.000    
    20 'Prefactor '    .81037       1.0000          .0000       10.000    
 **********
 **   15 **SET ERR    .5000    
 **********
 **********
 **   16 **SET GRAD    1.000    
 **********
 **********
 **   17 *number of points = 7418
number of fields = 31
RA_SUN column already exists. File will not be modified.
Done.


Performing analysis on: 4FGL_J0416.5-1852_daily_bin2185
RA = 64.1373, Dec = -18.8724
tmin = 805680001, tmax = 805939201
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='32014599', job_status='RUN', time_executed='2026-07-17 03:18:25.159705', time_epoch_executed='1784283505.16' WHERE source_name='4FGL J0416.5-1852' and cadence='daily' and bin_id='2185'

Database successfully updated.
Done.

Creating custom output directory:
/lscratch/kocevski/32014599

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

Retrieving the FT1 file...

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

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

Retrieving 46 files...
Done.


Merging files...

Checksum keywords updated successfully.

Merged file saved to:
/lscratch/kocevski/32014599/ft1_4FGL_J0416.5-1852_daily_bin2185.fits


Retrieving the FT1 file...

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

Retrieving 46 files...
Done.


Merging files...

Merged file saved to:
/lscratch/kocevski/32014599/ft2_4FGL_J0416.5-1852_daily_bin2185.fits


Selecting the photons:
time -p gtselect infile=/lscratch/kocevski/32014599/ft1_4FGL_J0416.5-1852_daily_bin2185.fits outfile=/lscratch/kocevski/32014599/ft1_filteredMKT_4FGL_J0416.5-1852_daily_bin2185.fits ra=64.1373 dec=-18.8724 rad=12.0 tmin=805680001.0 tmax=805939201.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 2.14
sys 0.17

Adding sun position to ft2 file:
/sdf/group/fermi/g/LCRepository/Repository/bin/sunpos /lscratch/kocevski/32014599/ft2_4FGL_J0416.5-1852_daily_bin2185.fits

Selecting the good time intervals:
time -p gtmktime scfile=/lscratch/kocevski/32014599/ft2_4FGL_J0416.5-1852_daily_bin2185.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/32014599/ft1_filteredMKT_4FGL_J0416.5-1852_daily_bin2185.fits evtable="EVENTS" outfile="/lscratch/kocevski/32014599/ft1_filtered_4FGL_J0416.5-1852_daily_bin2185.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.56
user 0.23
sys 0.12

Number of photons that the gtmktime cut: 761

Generating the livetime cube:
time -p gtltcube evfile="/lscratch/kocevski/32014599/ft1_filtered_4FGL_J0416.5-1852_daily_bin2185.fits" evtable="EVENTS" scfile=/lscratch/kocevski/32014599/ft2_4FGL_J0416.5-1852_daily_bin2185.fits sctable="SC_DATA" *MINIMIZE    .4850E+05   .2000E-04
 **********

 MIGRAD MINIMIZATION HAS CONVERGED.

 FCN=   8149.375     FROM MIGRAD    STATUS=CONVERGED    117 CALLS     1509 TOTAL
                     EDM=   .59E-09  STRATEGY=1  ERROR MATRIX UNCERTAINTY=  1.1%

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor     .56455E-07    10.167        .53469E-07** at limit **
   2  Prefactor      .0000        1.4641       -.19472E-08** at limit **
   3  Prefactor     .55511E-10    1.9730        .49221E-07** at limit **
   4  Prefactor     .48949        4.7150       -.44903E-07   -.15263E-02
   5  norm          .13134        .46114       -.95034E-08** at limit **
   6  Prefactor     .11874E-06    2.8438       -.20286E-07** at limit **
   7  norm          1.3268        1.2129        .22758E-07    .23613E-02
   8  Prefactor     .61062E-09    4.7019       -.40027E-07** at limit **
   9  Prefactor     .55511E-10    .66332       -.81376E-07** at limit **
  10  norm          8.0794        10.678        .12824E-07    .12501E-01
  11  Prefactor     2.0547        9.1455       -.21808E-07    .34114E-01
  12  Prefactor     .51181E-06    15.563        .47976E-07** at limit **
  13  Prefactor      .0000        .97068        .27997E-07** at limit **
  14  Prefactor     .23870E-07    3.0628       -.25919E-07** at limit **
  15  Prefactor     .13517E-06    4.4696       -.30298E-07** at limit **
  16  norm          41.002        1.3827       -.17419E-08    .39955E-01
  17  Prefactor     4.7371        1.3622        .56329E-08   -.15916E-02
  18  norm          1.6217        .23368       -.45261E-08   -.32071E-01
  19  Normalizat    1.1394        .16623       -.11095E-05   -.25252E-03
  20  Prefactor     .81035        .12838        .27308E-06   -.19950E-03
                               ERR DEF=  .500    
Final values: 
  Prefactor  = 5.64548e-08
  Prefactor  = 0
  Prefactor  = 5.55112e-11
  Prefactor  = 0.489491
  norm       = 0.131343
  Prefactor  = 1.18738e-07
  norm       = 1.32679
  Prefactor  = 6.10623e-10
  Prefactor  = 5.55112e-11
  norm       = 8.07937
  Prefactor  = 2.05472
  Prefactor  = 5.11813e-07
  Prefactor  = 0
  Prefactor  = 2.38698e-08
  Prefactor  = 1.3517e-07
  norm       = 41.0024
  Prefactor  = 4.73707
  norm       = 1.62168
  Normalizat = 1.13942
  Prefactor  = 0.810351
Done.

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

Extracting fit parameters...

4FGL J0416.5-1852
   Spectrum: PowerLaw
265    Prefactor:  0.000e+00  4.718e-06  0.000e+00  1.000e+06 ( 1.000e-12)
266        Index:  2.395e+00  0.000e+00  0.000e+00  1.000e+01 (-1.000e+00) fixed
267        Scale:  7.587e+02  0.000e+00  3.000e+01  5.000e+05 ( 1.000e+00) fixed

GAL_V02
   Spectrum: PowerLaw
482    Prefactor:  8.104e-01  1.118e-01  0.000e+00  1.000e+01 ( 1.000e+00)
483        Index:  0.000e+00  0.000e+00 -1.000e+00  1.000e+00 ( 1.000e+00) fixed
484        Scale:  1.000e+02  0.000e+00  5.000e+01  2.000e+02 ( 1.000e+00) fixed

EG_v02
   Spectrum: FileFunction
478   Normalization:  1.139e+00  1.482e-01  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Fixed Index): 0.00
Ra Dec: 64.137 -18.872
Photon Flux Upper Limit: 4.21185839953e-08 ph cm-2 s-1
Energy Flux Upper Limit: 0.00325343071101 MeV cm-2 s-1

Saving results to:
/lscratch/kocevski/32014061/likelihoodResults_805680001_805939201_4FGL_J0416.5-1852_daily_bin2185.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): 102
logL (Free Index) = 8149.37592828
delta logL = -0.00116715189688

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

MINUIT Return Code (Free Index): 102
logL (Free Index) = 8149.37476122
delta logL = -9.01354724192e-08

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'Prefactor '    .33307E-09   1.0000          .0000       .10000E+07
     2 'Index     '    1.1547       1.0000          .0000       10.000    
     3 'Normalizat'    1.1394       1.0000         .10000E-01   10.000    
     4 'Prefactor '    .81040       1.0000          .0000       10.000    
 **********
 **   15 **SET ERR    .5000    
 **********
 **********
 **   16 **SET GRAD    1.000    
 **********
 **********
 **   17 **MINIMIZE    .4850E+05   .2000E-04
 **********

 MIGRAD MINIMIZATION HAS CONVERGED.

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

 FCN=   8149.375     FROM MIGRAD    STATUS=CONVERGED     45 CALLS      251 TOTAL
                     EDM=   .16E-09  STRATEGY=1  ERROR MATRIX UNCERTAINTY=100.0%

  EXT PARAMETER                APPROXIMATE        STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor      .0000        .51933        .42118E-03** at limit **
   2  Index         3.1134        1.6226       -.45277E-04     .0000    
   3  Normalizat    1.1394        1.1317        .53545E-04    .50168E-03
   4  Prefactor     .81035        1.1587       -.41638E-04    .61440E-03
                               ERR DEF=  .500    
Final values: 
  Prefactor  = 0
  Index      = 3.11337
  Normalizat = 1.13942
  Prefactor  = 0.810351
 **********
 **   18 **HESSE 
 **********
  MNHESS FAILS AND WILL RETURN DIAGONAL MATRIX. 

 FCN=   8149.375     FROM HESSE     STATUS=FAILED         9 CALLS      260 TOTAL
                     EDM=   .16E-09  STRATEGY=1  ERROR MATRIX UNCERTAINTY=100.0%

  EXT PARAMETER                APPROXIMATE     INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  Prefactor      .0000        .51933        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   2  Index         1.0930        2.1400       -.45277E-04   -.38691    
   3  Normalizat    1.1394        1.1317        .53545E-04   -.88496    
   4  Prefactor     .81035        1.1587       -.41638E-04   -.99348    
                               ERR DEF=  .500    
Minuit fit quality: 1   estimated distance: 1.58007e-10
Minuit parameter uncertainties:
  1  4.49911e-06
  2  1.65777
  3  1.15731
  4  1.19668
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) = 8149.37476113
delta logL = -9.36779542826e-11

Extracting fit parameters...

4FGL J0416.5-1852
   Spectrum: PowerLaw
265    Prefactor:  0.000e+00  4.499e-06  0.000e+00  1.000e+06 ( 1.000e-12)
266        Index:  3.113e+00  1.658e+00  0.000e+00  1.000e+01 (-1.000e+00)
267        Scale:  7.587e+02  0.000e+00  3.000e+01  5.000e+05 ( 1.000e+00) fixed

GAL_V02
   Spectrum: PowerLaw
482    Prefactor:  8.104e-01  1.197e+00  0.000e+00  1.000e+01 ( 1.000e+00)
483        Index:  0.000e+00  0.000e+00 -1.000e+00  1.000e+00 ( 1.000e+00) fixed
484        Scale:  1.000e+02  0.000e+00  5.000e+01  2.000e+02 ( 1.000e+00) fixed

EG_v02
   Spectrum: FileFunction
478   Normalization:  1.139e+00  1.157e+00  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Free Index): 0.00
Ra Dec: 64.137 -18.872

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/32014061/cmap_HighResolution_805680001_805939201_4FGL_J0416.5-1852_daily_bin2185.png

Cleaning up...

** Nuclear option initiated! **

Updating database...

UPDATE lightcurve_data_v2 SET energy_flux_upper_limit='3.25e-03', job_status='DONE', photon_flux_upper_limit='4.21e-08', time_completed='2026-07-17 03:19:22.280955', job_id='32014061', GAL2='0.81', fit_tolerance='1e-08', EG2='1.14', EG='1.14', time_epoch_completed='1784283562.28', return_code2='101', ts='0.00', comment='SUCCESS', return_code='0', GAL='0.81', dlogl='-9.37e-11', ts2='0.00', photon_index_error='0.00', photon_index='2.39' WHERE bin_id='2185' AND source_name='4FGL J0416.5-1852' AND cadence='daily';

Database successfully updated.


Analysis Complete.


Fri Jul 17 03:19:22 PDT 2026

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

 FCN=   8149.375     FROM HESSE     STATUS=OK           329 CALLS     1838 TOTAL
                     EDM=   .49E-05    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  Prefactor     .56455E-07    11.254        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   2  Prefactor      .0000        1.4512        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   3  Prefactor     .55511E-10    1.9699        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   4  Prefactor     .48949        4.7475        .79587E-03   -1.5694    
   5  norm          .13134        .46857        .13151E-02   -1.5701    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   6  Prefactor     .11874E-06    9.7082        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   7  norm          1.3268        1.2401        .95395E-03   -1.5685    
   8  Prefactor     .61062E-09    4.7142        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   9  Prefactor     .55511E-10    .66303        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  10  norm          8.0794        11.047        .35280E-03   -1.5651    
  11  Prefactor     2.0547        74.578        .71406E-03   -1.5679    
  12  Prefactor     .51181E-06    16.819        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  13  Prefactor      .0000        .97404        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  14  Prefactor     .23870E-07    9.6634        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  15  Prefactor     .13517E-06    9.2701        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  16  norm          41.002        109.24        .15618E-03   -1.5580    
  17  Prefactor     4.7371        16.491        .46122E-03   -1.5664    
  18  norm          1.6217        .23485        .36222E-03   -1.5682    
  19  Normalizat    1.1394        .14811        .54119E-01   -.88496    
  20  Prefactor     .81035        .11173        .43852E-01   -.99348    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 4.9077e-06
Minuit parameter uncertainties:
  1  0.00159423
  2  6.63059e-07
  3  2.44164e-05
  4  3.04883
  5  0.468573
  6  0.0021473
  7  1.24005
  8  0.000106462
  9  1.3624e-05
  10  11.0473
  11  24.7581
  12  0.00586802
  13  4.71768e-06
  14  0.000960805
  15  0.00223878
  16  109.242
  17  16.4909
  18  0.234848
  19  0.14816
  20  0.111761
ts sctable="SC_DATA" srcmdl=/lscratch/kocevski/32014189/Model_4FGL_J0416.5-1852_daily_bin2185.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 Fornax A
adding source GAL_V02
Working on...
/lscratch/kocevski/32014189/ft1_filtered_4FGL_J0416.5-1852_daily_bin2185.fits.....................!
real 68.17
user 66.57
sys 1.00

Creating the likelihood object...
obs = UnbinnedObs('/lscratch/kocevski/32014189/ft1_filtered_4FGL_J0416.5-1852_daily_bin2185.fits', '/lscratch/kocevski/32014189/ft2_4FGL_J0416.5-1852_daily_bin2185.fits', expMap='/lscratch/kocevski/32014189/expmap_805680001_805939201_4FGL_J0416.5-1852_daily_bin2185.fits', expCube='/lscratch/kocevski/32014189/ltcube_805680001_805939201_4FGL_J0416.5-1852_daily_bin2185.fits', irfs='P8R3_SOURCE_V2')
like = UnbinnedAnalysis(obs, '/lscratch/kocevski/32014189/Model_4FGL_J0416.5-1852_daily_bin2185.xml', optimizer='MINUIT')

Using source of interest name: '4FGL J0416.5-1852'

4FGL J0416.5-1852
   Spectrum: PowerLaw
265    Prefactor:  1.793e+00  0.000e+00  0.000e+00  1.000e+06 ( 1.000e-12)
266        Index:  2.395e+00  0.000e+00  0.000e+00  1.000e+01 (-1.000e+00) fixed
267        Scale:  7.587e+02  0.000e+00  3.000e+01  5.000e+05 ( 1.000e+00) fixed


Likelihood Fit Parameters:
Event file(s): /lscratch/kocevski/32014189/ft1_filtered_4FGL_J0416.5-1852_daily_bin2185.fits
Spacecraft file(s): /lscratch/kocevski/32014189/ft2_4FGL_J0416.5-1852_daily_bin2185.fits
Exposure map: /lscratch/kocevski/32014189/expmap_805680001_805939201_4FGL_J0416.5-1852_daily_bin2185.fits
Exposure cube: /lscratch/kocevski/32014189/ltcube_805680001_805939201_4FGL_J0416.5-1852_daily_bin2185.fits
IRFs: P8R3_SOURCE_V2
Source model file: /lscratch/kocevski/32014189/Model_4FGL_J0416.5-1852_daily_bin2185.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) = 8149.37482074

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

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

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'Prefactor '    .80685E-03   1.0000          .0000       .10000E+07
     2 'Prefactor '    .74013E-06   1.0000          .0000       .10000E+07
     3 'Prefactor '    .40806E-06   1.0000          .0000       .10000E+07
     4 'Prefactor '    .49133       1.0000          .0000       .10000E+07
     5 'norm      '    .13149       1.0000          .0000       .10000E+07
     6 'Prefactor '    .22209E-03   1.0000          .0000       .10000E+07
     7 'norm      '    1.3264       1.0000          .0000       .10000E+07
     8 'Prefactor '    .42018E-05   1.0000          .0000       .10000E+07
     9 'Prefactor '    .11102E-08   1.0000          .0000       .10000E+07
    10 'norm      '    8.0655       1.0000          .0000       .10000E+07
    11 'Prefactor '    2.0887       1.0000          .0000       .10000E+07
    12 'Prefactor '    .37611E-02   1.0000          .0000       .10000E+07
    13 'Prefactor '    .16653E-08   1.0000          .0000       .10000E+07
    14 'Prefactor '    .36862E-03   1.0000          .0000       .10000E+07
    15 'Prefactor '    .61742E-03   1.0000          .0000       .10000E+07
    16 'norm      '    41.006       1.0000          .0000       .10000E+07
    17 'Prefactor '    4.7541       1.0000          .0000       .10000E+07
    18 'norm      '    1.6217       1.0000          .0000       .10000E+07
    19 'Normalizat'    1.1393       1.0000         .10000E-01   10.000    
    20 'Prefactor '    .81037       1.0000          .0000       10.000    
 **********
 **   15 **SET ERR    .5000    
 **********
 **********
 **   16 **SET GRAD    1.000    
 **********
 **********
 **   17 **MINIMIZE    .4850E+05   .2000E-04
 **********

 MIGRAD MINIMIZATION HAS CONVERGED.

 FCN=   8149.375     FROM MIGRAD    STATUS=CONVERGED    117 CALLS     1509 TOTAL
                     EDM=   .59E-09  STRATEGY=1  ERROR MATRIX UNCERTAINTY=  1.1%

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor     .56455E-07    10.167        .53469E-07** at limit **
   2  Prefactor      .0000        1.4641       -.19472E-08** at limit **
   3  Prefactor     .55511E-10    1.9730        .49221E-07** at limit **
   4  Prefactor     .48949        4.7150       -.44903E-07   -.15263E-02
   5  norm          .13134        .46114       -.95034E-08** at limit **
   6  Prefactor     .11874E-06    2.8438       -.20286E-07** at limit **
   7  norm          1.3268        1.2129        .22758E-07    .23613E-02
   8  Prefactor     .61062E-09    4.7019       -.40027E-07** at limit **
   9  Prefactor     .55511E-10    .66332       -.81376E-07** at limit **
  10  norm          8.0794        10.678        .12824E-07    .12501E-01
  11  Prefactor     2.0547        9.1455       -.21808E-07    .34114E-01
  12  Prefactor     .51181E-06    15.563        .47976E-07** at limit **
  13  Prefactor      .0000        .97068        .27997E-07** at limit **
  14  Prefactor     .23870E-07    3.0628       -.25919E-07** at limit **
  15  Prefactor     .13517E-06    4.4696       -.30298E-07** at limit **
  16  norm          41.002        1.3827       -.17419E-08    .39955E-01
  17  Prefactor     4.7371        1.3622        .56329E-08   -.15916E-02
  18  norm          1.6217        .23368       -.45261E-08   -.32071E-01
  19  Normalizat    1.1394        .16623       -.11095E-05   -.25252E-03
  20  Prefactor     .81035        .12838        .27308E-06   -.19950E-03
                               ERR DEF=  .500    
Final values: 
  Prefactor  = 5.64548e-08
  Prefactor  = 0
  Prefactor  = 5.55112e-11
  Prefactor  = 0.489491
  norm       = 0.131343
  Prefactor  = 1.18738e-07
  norm       = 1.32679
  Prefactor  = 6.10623e-10
  Prefactor  = 5.55112e-11
  norm       = 8.07937
  Prefactor  = 2.05472
  Prefactor  = 5.11813e-07
  Prefactor  = 0
  Prefactor  = 2.38698e-08
  Prefactor  = 1.3517e-07
  norm       = 41.0024
  Prefactor  = 4.73707
  norm       = 1.62168
  Normalizat = 1.13942
  Prefactor  = 0.810351
Done.

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

Extracting fit parameters...

4FGL J0416.5-1852
   Spectrum: PowerLaw
265    Prefactor:  0.000e+00  4.718e-06  0.000e+00  1.000e+06 ( 1.000e-12)
266        Index:  2.395e+00  0.000e+00  0.000e+00  1.000e+01 (-1.000e+00) fixed
267        Scale:  7.587e+02  0.000e+00  3.000e+01  5.000e+05 ( 1.000e+00) fixed

GAL_V02
   Spectrum: PowerLaw
482    Prefactor:  8.104e-01  1.118e-01  0.000e+00  1.000e+01 ( 1.000e+00)
483        Index:  0.000e+00  0.000e+00 -1.000e+00  1.000e+00 ( 1.000e+00) fixed
484        Scale:  1.000e+02  0.000e+00  5.000e+01  2.000e+02 ( 1.000e+00) fixed

EG_v02
   Spectrum: FileFunction
478   Normalization:  1.139e+00  1.482e-01  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Fixed Index): 0.00
Ra Dec: 64.137 -18.872
Photon Flux Upper Limit: 4.21185839953e-08 ph cm-2 s-1
Energy Flux Upper Limit: 0.00325343071101 MeV cm-2 s-1

Saving results to:
/lscratch/kocevski/32014084/likelihoodResults_805680001_805939201_4FGL_J0416.5-1852_daily_bin2185.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): 102
logL (Free Index) = 8149.37592828
delta logL = -0.00116715189688

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

MINUIT Return Code (Free Index): 102
logL (Free Index) = 8149.37476122
delta logL = -9.01354724192e-08

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'Prefactor '    .33307E-09   1.0000          .0000       .10000E+07
     2 'Index     '    1.1547       1.0000          .0000       10.000    
     3 'Normalizat'    1.1394       1.0000         .10000E-01   10.000    
     4 'Prefactor '    .81040       1.0000          .0000       10.000    
 **********
 **   15 **SET ERR    .5000    
 **********
 **********
 **   16 **SET GRAD    1.000    
 **********
 **********
 **   17 **MINIMIZE    .4850E+05   .2000E-04
 **********

 MIGRAD MINIMIZATION HAS CONVERGED.

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

 FCN=   8149.375     FROM MIGRAD    STATUS=CONVERGED     45 CALLS      251 TOTAL
                     EDM=   .16E-09  STRATEGY=1  ERROR MATRIX UNCERTAINTY=100.0%

  EXT PARAMETER                APPROXIMATE        STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor      .0000        .51933        .42118E-03** at limit **
   2  Index         3.1134        1.6226       -.45277E-04     .0000    
   3  Normalizat    1.1394        1.1317        .53545E-04    .50168E-03
   4  Prefactor     .81035        1.1587       -.41638E-04    .61440E-03
                               ERR DEF=  .500    
Final values: 
  Prefactor  = 0
  Index      = 3.11337
  Normalizat = 1.13942
  Prefactor  = 0.810351
 **********
 **   18 **HESSE 
 **********
  MNHESS FAILS AND WILL RETURN DIAGONAL MATRIX. 

 FCN=   8149.375     FROM HESSE     STATUS=FAILED         9 CALLS      260 TOTAL
                     EDM=   .16E-09  STRATEGY=1  ERROR MATRIX UNCERTAINTY=100.0%

  EXT PARAMETER                APPROXIMATE     INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  Prefactor      .0000        .51933        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   2  Index         1.0930        2.1400       -.45277E-04   -.38691    
   3  Normalizat    1.1394        1.1317        .53545E-04   -.88496    
   4  Prefactor     .81035        1.1587       -.41638E-04   -.99348    
                               ERR DEF=  .500    
Minuit fit quality: 1   estimated distance: 1.58007e-10
Minuit parameter uncertainties:
  1  4.49911e-06
  2  1.65777
  3  1.15731
  4  1.19668
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) = 8149.37476113
delta logL = -9.36779542826e-11

Extracting fit parameters...

4FGL J0416.5-1852
   Spectrum: PowerLaw
265    Prefactor:  0.000e+00  4.499e-06  0.000e+00  1.000e+06 ( 1.000e-12)
266        Index:  3.113e+00  1.658e+00  0.000e+00  1.000e+01 (-1.000e+00)
267        Scale:  7.587e+02  0.000e+00  3.000e+01  5.000e+05 ( 1.000e+00) fixed

GAL_V02
   Spectrum: PowerLaw
482    Prefactor:  8.104e-01  1.197e+00  0.000e+00  1.000e+01 ( 1.000e+00)
483        Index:  0.000e+00  0.000e+00 -1.000e+00  1.000e+00 ( 1.000e+00) fixed
484        Scale:  1.000e+02  0.000e+00  5.000e+01  2.000e+02 ( 1.000e+00) fixed

EG_v02
   Spectrum: FileFunction
478   Normalization:  1.139e+00  1.157e+00  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Free Index): 0.00
Ra Dec: 64.137 -18.872

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/32014084/cmap_HighResolution_805680001_805939201_4FGL_J0416.5-1852_daily_bin2185.png

Cleaning up...

** Nuclear option initiated! **

Updating database...

UPDATE lightcurve_data_v2 SET energy_flux_upper_limit='3.25e-03', job_status='DONE', photon_flux_upper_limit='4.21e-08', time_completed='2026-07-17 03:19:52.646178', job_id='32014084', GAL2='0.81', fit_tolerance='1e-08', EG2='1.14', EG='1.14', time_epoch_completed='1784283592.65', return_code2='101', ts='0.00', comment='SUCCESS', return_code='0', GAL='0.81', dlogl='-9.37e-11', ts2='0.00', photon_index_error='0.00', photon_index='2.39' WHERE bin_id='2185' AND source_name='4FGL J0416.5-1852' AND cadence='daily';

Database successfully updated.


Analysis Complete.


Fri Jul 17 03:19:52 PDT 2026

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

 FCN=   8149.375     FROM HESSE     STATUS=OK           329 CALLS     1838 TOTAL
                     EDM=   .49E-05    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  Prefactor     .56455E-07    11.254        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   2  Prefactor      .0000        1.4512        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   3  Prefactor     .55511E-10    1.9699        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   4  Prefactor     .48949        4.7475        .79587E-03   -1.5694    
   5  norm          .13134        .46857        .13151E-02   -1.5701    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   6  Prefactor     .11874E-06    9.7082        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   7  norm          1.3268        1.2401        .95395E-03   -1.5685    
   8  Prefactor     .61062E-09    4.7142        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   9  Prefactor     .55511E-10    .66303        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  10  norm          8.0794        11.047        .35280E-03   -1.5651    
  11  Prefactor     2.0547        74.578        .71406E-03   -1.5679    
  12  Prefactor     .51181E-06    16.819        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  13  Prefactor      .0000        .97404        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  14  Prefactor     .23870E-07    9.6634        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  15  Prefactor     .13517E-06    9.2701        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  16  norm          41.002        109.24        .15618E-03   -1.5580    
  17  Prefactor     4.7371        16.491        .46122E-03   -1.5664    
  18  norm          1.6217        .23485        .36222E-03   -1.5682    
  19  Normalizat    1.1394        .14811        .54119E-01   -.88496    
  20  Prefactor     .81035        .11173        .43852E-01   -.99348    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 4.9077e-06
Minuit parameter uncertainties:
  1  0.00159423
  2  6.63059e-07
  3  2.44164e-05
  4  3.04883
  5  0.468573
  6  0.0021473
  7  1.24005
  8  0.000106462
  9  1.3624e-05
  10  11.0473
  11  24.7581
  12  0.00586802
  13  4.71768e-06
  14  0.000960805
  15  0.00223878
  16  109.242
  17  16.4909
  18  0.234848
  19  0.14816
  20  0.111761
Done.

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

Extracting fit parameters...

4FGL J0416.5-1852
   Spectrum: PowerLaw
265    Prefactor:  0.000e+00  4.718e-06  0.000e+00  1.000e+06 ( 1.000e-12)
266        Index:  2.395e+00  0.000e+00  0.000e+00  1.000e+01 (-1.000e+00) fixed
267        Scale:  7.587e+02  0.000e+00  3.000e+01  5.000e+05 ( 1.000e+00) fixed

GAL_V02
   Spectrum: PowerLaw
482    Prefactor:  8.104e-01  1.118e-01  0.000e+00  1.000e+01 ( 1.000e+00)
483        Index:  0.000e+00  0.000e+00 -1.000e+00  1.000e+00 ( 1.000e+00) fixed
484        Scale:  1.000e+02  0.000e+00  5.000e+01  2.000e+02 ( 1.000e+00) fixed

EG_v02
   Spectrum: FileFunction
478   Normalization:  1.139e+00  1.482e-01  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Fixed Index): 0.00
Ra Dec: 64.137 -18.872
Photon Flux Upper Limit: 4.21185839953e-08 ph cm-2 s-1
Energy Flux Upper Limit: 0.00325343071101 MeV cm-2 s-1

Saving results to:
/lscratch/kocevski/32014189/likelihoodResults_805680001_805939201_4FGL_J0416.5-1852_daily_bin2185.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): 102
logL (Free Index) = 8149.37592828
delta logL = -0.00116715189688

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

MINUIT Return Code (Free Index): 102
logL (Free Index) = 8149.37476122
delta logL = -9.01354724192e-08

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'Prefactor '    .33307E-09   1.0000          .0000       .10000E+07
     2 'Index     '    1.1547       1.0000          .0000       10.000    
     3 'Normalizat'    1.1394       1.0000         .10000E-01   10.000    
     4 'Prefactor '    .81040       1.0000          .0000       10.000    
 **********
 **   15 **SET ERR    .5000    
 **********
 **********
 **   16 **SET GRAD    1.000    
 **********
 **********
 **   17 **MINIMIZE    .4850E+05   .2000E-04
 **********

 MIGRAD MINIMIZATION HAS CONVERGED.

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

 FCN=   8149.375     FROM MIGRAD    STATUS=CONVERGED     45 CALLS      251 TOTAL
                     EDM=   .16E-09  STRATEGY=1  ERROR MATRIX UNCERTAINTY=100.0%

  EXT PARAMETER                APPROXIMATE        STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor      .0000        .51933        .42118E-03** at limit **
   2  Index         3.1134        1.6226       -.45277E-04     .0000    
   3  Normalizat    1.1394        1.1317        .53545E-04    .50168E-03
   4  Prefactor     .81035        1.1587       -.41638E-04    .61440E-03
                               ERR DEF=  .500    
Final values: 
  Prefactor  = 0
  Index      = 3.11337
  Normalizat = 1.13942
  Prefactor  = 0.810351
 **********
 **   18 **HESSE 
 **********
  MNHESS FAILS AND WILL RETURN DIAGONAL MATRIX. 

 FCN=   8149.375     FROM HESSE     STATUS=FAILED         9 CALLS      260 TOTAL
                     EDM=   .16E-09  STRATEGY=1  ERROR MATRIX UNCERTAINTY=100.0%

  EXT PARAMETER                APPROXIMATE     INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  Prefactor      .0000        .51933        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   2  Index         1.0930        2.1400       -.45277E-04   -.38691    
   3  Normalizat    1.1394        1.1317        .53545E-04   -.88496    
   4  Prefactor     .81035        1.1587       -.41638E-04   -.99348    
                               ERR DEF=  .500    
Minuit fit quality: 1   estimated distance: 1.58007e-10
Minuit parameter uncertainties:
  1  4.49911e-06
  2  1.65777
  3  1.15731
  4  1.19668
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) = 8149.37476113
delta logL = -9.36779542826e-11

Extracting fit parameters...

4FGL J0416.5-1852
   Spectrum: PowerLaw
265    Prefactor:  0.000e+00  4.499e-06  0.000e+00  1.000e+06 ( 1.000e-12)
266        Index:  3.113e+00  1.658e+00  0.000e+00  1.000e+01 (-1.000e+00)
267        Scale:  7.587e+02  0.000e+00  3.000e+01  5.000e+05 ( 1.000e+00) fixed

GAL_V02
   Spectrum: PowerLaw
482    Prefactor:  8.104e-01  1.197e+00  0.000e+00  1.000e+01 ( 1.000e+00)
483        Index:  0.000e+00  0.000e+00 -1.000e+00  1.000e+00 ( 1.000e+00) fixed
484        Scale:  1.000e+02  0.000e+00  5.000e+01  2.000e+02 ( 1.000e+00) fixed

EG_v02
   Spectrum: FileFunction
478   Normalization:  1.139e+00  1.157e+00  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Free Index): 0.00
Ra Dec: 64.137 -18.872

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/32014189/cmap_HighResolution_805680001_805939201_4FGL_J0416.5-1852_daily_bin2185.png

Cleaning up...

** Nuclear option initiated! **

Updating database...

UPDATE lightcurve_data_v2 SET energy_flux_upper_limit='3.25e-03', job_status='DONE', photon_flux_upper_limit='4.21e-08', time_completed='2026-07-17 03:20:24.422644', job_id='32014189', GAL2='0.81', fit_tolerance='1e-08', EG2='1.14', EG='1.14', time_epoch_completed='1784283624.42', return_code2='101', ts='0.00', comment='SUCCESS', return_code='0', GAL='0.81', dlogl='-9.37e-11', ts2='0.00', photon_index_error='0.00', photon_index='2.39' WHERE bin_id='2185' AND source_name='4FGL J0416.5-1852' AND cadence='daily';

Database successfully updated.


Analysis Complete.


Fri Jul 17 03:20:24 PDT 2026

outfile=/lscratch/kocevski/32014599/ltcube_805680001_805939201_4FGL_J0416.5-1852_daily_bin2185.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/32014599/ft2_4FGL_J0416.5-1852_daily_bin2185.fits
.....................!
real 8.97
user 8.45
sys 0.23

Generating the exposure map:
time -p gtexpmap evfile=/lscratch/kocevski/32014599/ft1_filtered_4FGL_J0416.5-1852_daily_bin2185.fits evtable="EVENTS" scfile=/lscratch/kocevski/32014599/ft2_4FGL_J0416.5-1852_daily_bin2185.fits sctable="SC_DATA" expcube=/lscratch/kocevski/32014599/ltcube_805680001_805939201_4FGL_J0416.5-1852_daily_bin2185.fits outfile=/lscratch/kocevski/32014599/expmap_805680001_805939201_4FGL_J0416.5-1852_daily_bin2185.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/32014599/ltcube_805680001_805939201_4FGL_J0416.5-1852_daily_bin2185.fits
.....................!
real 74.20
user 69.02
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
Extended source Fornax A in ROI, make sure /sdf/group/fermi/g/LCRepository/Likelihood/ExtendedSources/Extended_8years/Templates/FornaxA.fits is the correct path to the extended template.
Added 149 point sources and 1 extended sources
If using unbinned likelihood you will need to rerun gtdiffrsp for the extended sources or rerun the makeModel function with optional argument psForce=True

Setting source of interest to:
4FGL J0416.5-1852 @ 64.1373 -18.8724

Creating the counts map:
time -p gtbin evfile=/lscratch/kocevski/32014599/ft1_filtered_4FGL_J0416.5-1852_daily_bin2185.fits scfile=/lscratch/kocevski/32014599/ft2_4FGL_J0416.5-1852_daily_bin2185.fits outfile=/lscratch/kocevski/32014599/cmap_805680001_805939201_4FGL_J0416.5-1852_daily_bin2185.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=64.1373 yref=-18.8724 axisrot=0.0 rafield="RA" decfield="DEC" proj="AIT" hpx_ordering_scheme="RING" hpx_order=3 hpx_ebin=yes hpx_region="" evtable="EVENTS" sctable="SC_DATA" efield="ENERGY" tfield="TIME" chatter=2 clobber=yes debug=no gui=no mode="ql"

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

This is gtbin version HEAD
real 0.66
user 0.24
sys 0.13

Creating the high resolution counts map:
time -p gtbin evfile=/lscratch/kocevski/32014599/ft1_filtered_4FGL_J0416.5-1852_daily_bin2185.fits scfile=/lscratch/kocevski/32014599/ft2_4FGL_J0416.5-1852_daily_bin2185.fits outfile=/lscratch/kocevski/32014599/cmap_HighResolution_805680001_805939201_4FGL_J0416.5-1852_daily_bin2185.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=64.1373 yref=-18.8724 axisrot=0.0 rafield="RA" decfield="DEC" proj="AIT" hpx_ordering_scheme="RING" hpx_order=3 hpx_ebin=yes hpx_region="" evtable="EVENTS" sctable="SC_DATA" efield="ENERGY" tfield="TIME" chatter=2 clobber=yes debug=no gui=no mode="ql"

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

This is gtbin version HEAD
real 0.57
user 0.26
sys 0.12

Computing the diffuse response:
time -p gtdiffrsp evfile=/lscratch/kocevski/32014599/ft1_filtered_4FGL_J0416.5-1852_daily_bin2185.fits evtable="EVENTS" scfile=/lscratch/kocevski/32014599/ft2_4FGL_J0416.5-1852_daily_bin2185.fits sctable="SC_DATA" srcmdl=/lscratch/kocevski/32014433/Model_4FGL_J0416.5-1852_daily_bin2185.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 Fornax A
adding source GAL_V02
Working on...
/lscratch/kocevski/32014433/ft1_filtered_4FGL_J0416.5-1852_daily_bin2185.fits.....................!
real 75.05
user 73.02
sys 1.44

Creating the likelihood object...
obs = UnbinnedObs('/lscratch/kocevski/32014433/ft1_filtered_4FGL_J0416.5-1852_daily_bin2185.fits', '/lscratch/kocevski/32014433/ft2_4FGL_J0416.5-1852_daily_bin2185.fits', expMap='/lscratch/kocevski/32014433/expmap_805680001_805939201_4FGL_J0416.5-1852_daily_bin2185.fits', expCube='/lscratch/kocevski/32014433/ltcube_805680001_805939201_4FGL_J0416.5-1852_daily_bin2185.fits', irfs='P8R3_SOURCE_V2')
like = UnbinnedAnalysis(obs, '/lscratch/kocevski/32014433/Model_4FGL_J0416.5-1852_daily_bin2185.xml', optimizer='MINUIT')

Using source of interest name: '4FGL J0416.5-1852'

4FGL J0416.5-1852
   Spectrum: PowerLaw
265    Prefactor:  1.793e+00  0.000e+00  0.000e+00  1.000e+06 ( 1.000e-12)
266        Index:  2.395e+00  0.000e+00  0.000e+00  1.000e+01 (-1.000e+00) fixed
267        Scale:  7.587e+02  0.000e+00  3.000e+01  5.000e+05 ( 1.000e+00) fixed


Likelihood Fit Parameters:
Event file(s): /lscratch/kocevski/32014433/ft1_filtered_4FGL_J0416.5-1852_daily_bin2185.fits
Spacecraft file(s): /lscratch/kocevski/32014433/ft2_4FGL_J0416.5-1852_daily_bin2185.fits
Exposure map: /lscratch/kocevski/32014433/expmap_805680001_805939201_4FGL_J0416.5-1852_daily_bin2185.fits
Exposure cube: /lscratch/kocevski/32014433/ltcube_805680001_805939201_4FGL_J0416.5-1852_daily_bin2185.fits
IRFs: P8R3_SOURCE_V2
Source model file: /lscratch/kocevski/32014433/Model_4FGL_J0416.5-1852_daily_bin2185.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) = 8149.37482074

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

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

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'Prefactor '    .80685E-03   1.0000          .0000       .10000E+07
     2 'Prefactor '    .74013E-06   1.0000          .0000       .10000E+07
     3 'Prefactor '    .40806E-06   1.0000          .0000       .10000E+07
     4 'Prefactor '    .49133       1.0000          .0000       .10000E+07
     5 'norm      '    .13149       1.0000          .0000       .10000E+07
     6 'Prefactor '    .22209E-03   1.0000          .0000       .10000E+07
     7 'norm      '    1.3264       1.0000          .0000       .10000E+07
     8 'Prefactor '    .42018E-05   1.0000          .0000       .10000E+07
     9 'Prefactor '    .11102E-08   1.0000          .0000       .10000E+07
    10 'norm      '    8.0655       1.0000          .0000       .10000E+07
    11 'Prefactor '    2.0887       1.0000          .0000       .10000E+07
    12 'Prefactor '    .37611E-02   1.0000          .0000       .10000E+07
    13 'Prefactor '    .16653E-08   1.0000          .0000       .10000E+07
    14 'Prefactor '    .36862E-03   1.0000          .0000       .10000E+07
    15 'Prefactor '    .61742E-03   1.0000          .0000       .10000E+07
    16 'norm      '    41.006       1.0000          .0000       .10000E+07
    17 'Prefactor '    4.7541       1.0000          .0000       .10000E+07
    18 'norm      '    1.6217       1.0000          .0000       .10000E+07
    19 'Normalizat'    1.1393       1.0000         .10000E-01   10.000    
    20 'Prefactor '    .81037       1.0000          .0000       10.000    
 **********
 **   15 **SET ERR    .5000    
 **********
 **********
 **   16 **SET GRAD    1.000    
 **********
 **********
 **   17 **MINIMIZE    .4850E+05   .2000E-04
 **********

 MIGRAD MINIMIZATION HAS CONVERGED.

 FCN=   8149.375     FROM MIGRAD    STATUS=CONVERGED    117 CALLS     1509 TOTAL
                     EDM=   .59E-09  STRATEGY=1  ERROR MATRIX UNCERTAINTY=  1.1%

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor     .56455E-07    10.167        .53469E-07** at limit **
   2  Prefactor      .0000        1.4641       -.19472E-08** at limit **
   3  Prefactor     .55511E-10    1.9730        .49221E-07** at limit **
   4  Prefactor     .48949        4.7150       -.44903E-07   -.15263E-02
   5  norm          .13134        .46114       -.95034E-08** at limit **
   6  Prefactor     .11874E-06    2.8438       -.20286E-07** at limit **
   7  norm          1.3268        1.2129        .22758E-07    .23613E-02
   8  Prefactor     .61062E-09    4.7019       -.40027E-07** at limit **
   9  Prefactor     .55511E-10    .66332       -.81376E-07** at limit **
  10  norm          8.0794        10.678        .12824E-07    .12501E-01
  11  Prefactor     2.0547        9.1455       -.21808E-07    .34114E-01
  12  Prefactor     .51181E-06    15.563        .47976E-07** at limit **
  13  Prefactor      .0000        .97068        .27997E-07** at limit **
  14  Prefactor     .23870E-07    3.0628       -.25919E-07** at limit **
  15  Prefactor     .13517E-06    4.4696       -.30298E-07** at limit **
  16  norm          41.002        1.3827       -.17419E-08    .39955E-01
  17  Prefactor     4.7371        1.3622        .56329E-08   -.15916E-02
  18  norm          1.6217        .23368       -.45261E-08   -.32071E-01
  19  Normalizat    1.1394        .16623       -.11095E-05   -.25252E-03
  20  Prefactor     .81035        .12838        .27308E-06   -.19950E-03
                               ERR DEF=  .500    
Final values: 
  Prefactor  = 5.64548e-08
  Prefactor  = 0
  Prefactor  = 5.55112e-11
  Prefactor  = 0.489491
  norm       = 0.131343
  Prefactor  = 1.18738e-07
  norm       = 1.32679
  Prefactor  = 6.10623e-10
  Prefactor  = 5.55112e-11
  norm       = 8.07937
  Prefactor  = 2.05472
  Prefactor  = 5.11813e-07
  Prefactor  = 0
  Prefactor  = 2.38698e-08
  Prefactor  = 1.3517e-07
  norm       = 41.0024
  Prefactor  = 4.73707
  norm       = 1.62168
  Normalizat = 1.13942
  Prefactor  = 0.810351
s sctable="SC_DATA" srcmdl=/lscratch/kocevski/32014438/Model_4FGL_J0416.5-1852_daily_bin2185.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 Fornax A
adding source GAL_V02
Working on...
/lscratch/kocevski/32014438/ft1_filtered_4FGL_J0416.5-1852_daily_bin2185.fits.....................!
real 79.30
user 77.35
sys 1.23

Creating the likelihood object...
obs = UnbinnedObs('/lscratch/kocevski/32014438/ft1_filtered_4FGL_J0416.5-1852_daily_bin2185.fits', '/lscratch/kocevski/32014438/ft2_4FGL_J0416.5-1852_daily_bin2185.fits', expMap='/lscratch/kocevski/32014438/expmap_805680001_805939201_4FGL_J0416.5-1852_daily_bin2185.fits', expCube='/lscratch/kocevski/32014438/ltcube_805680001_805939201_4FGL_J0416.5-1852_daily_bin2185.fits', irfs='P8R3_SOURCE_V2')
like = UnbinnedAnalysis(obs, '/lscratch/kocevski/32014438/Model_4FGL_J0416.5-1852_daily_bin2185.xml', optimizer='MINUIT')

Using source of interest name: '4FGL J0416.5-1852'

4FGL J0416.5-1852
   Spectrum: PowerLaw
265    Prefactor:  1.793e+00  0.000e+00  0.000e+00  1.000e+06 ( 1.000e-12)
266        Index:  2.395e+00  0.000e+00  0.000e+00  1.000e+01 (-1.000e+00) fixed
267        Scale:  7.587e+02  0.000e+00  3.000e+01  5.000e+05 ( 1.000e+00) fixed


Likelihood Fit Parameters:
Event file(s): /lscratch/kocevski/32014438/ft1_filtered_4FGL_J0416.5-1852_daily_bin2185.fits
Spacecraft file(s): /lscratch/kocevski/32014438/ft2_4FGL_J0416.5-1852_daily_bin2185.fits
Exposure map: /lscratch/kocevski/32014438/expmap_805680001_805939201_4FGL_J0416.5-1852_daily_bin2185.fits
Exposure cube: /lscratch/kocevski/32014438/ltcube_805680001_805939201_4FGL_J0416.5-1852_daily_bin2185.fits
IRFs: P8R3_SOURCE_V2
Source model file: /lscratch/kocevski/32014438/Model_4FGL_J0416.5-1852_daily_bin2185.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) = 8149.37482074

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

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

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'Prefactor '    .80685E-03   1.0000          .0000       .10000E+07
     2 'Prefactor '    .74013E-06   1.0000          .0000       .10000E+07
     3 'Prefactor '    .40806E-06   1.0000          .0000       .10000E+07
     4 'Prefactor '    .49133       1.0000          .0000       .10000E+07
     5 'norm      '    .13149       1.0000          .0000       .10000E+07
     6 'Prefactor '    .22209E-03   1.0000          .0000       .10000E+07
     7 'norm      '    1.3264       1.0000          .0000       .10000E+07
     8 'Prefactor '    .42018E-05   1.0000          .0000       .10000E+07
     9 'Prefactor '    .11102E-08   1.0000          .0000       .10000E+07
    10 'norm      '    8.0655       1.0000          .0000       .10000E+07
    11 'Prefactor '    2.0887       1.0000          .0000       .10000E+07
    12 'Prefactor '    .37611E-02   1.0000          .0000       .10000E+07
    13 'Prefactor '    .16653E-08   1.0000          .0000       .10000E+07
    14 'Prefactor '    .36862E-03   1.0000          .0000       .10000E+07
    15 'Prefactor '    .61742E-03   1.0000          .0000       .10000E+07
    16 'norm      '    41.006       1.0000          .0000       .10000E+07
    17 'Prefactor '    4.7541       1.0000          .0000       .10000E+07
    18 'norm      '    1.6217       1.0000          .0000       .10000E+07
    19 'Normalizat'    1.1393       1.0000         .10000E-01   10.000    
    20 'Prefactor '    .81037       1.0000          .0000       10.000    
 **********
 **   15 **SET ERR    .5000    
 **********
 **********
 **   16 **SET GRAD    1.000    
 **********
 **********
 **   17 **MINIMIZE    .4850E+05   .2000E-04
 **********

 MIGRAD MINIMIZATION HAS CONVERGED.

 FCN=   8149.375     FROM MIGRAD    STATUS=CONVERGED    117 CALLS     1509 TOTAL
                     EDM=   .59E-09  STRATEGY=1  ERROR MATRIX UNCERTAINTY=  1.1%

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor     .56455E-07    10.167        .53469E-07** at limit **
   2  Prefactor      .0000        1.4641       -.19472E-08** at limit **
   3  Prefactor     .55511E-10    1.9730        .49221E-07** at limit **
   4  Prefactor     .48949        4.7150       -.44903E-07   -.15263E-02
   5  norm          .13134        .46114       -.95034E-08** at limit **
   6  Prefactor     .11874E-06    2.8438       -.20286E-07** at limit **
   7  norm          1.3268        1.2129        .22758E-07    .23613E-02
   8  Prefactor     .61062E-09    4.7019       -.40027E-07** at limit **
   9  Prefactor     .55511E-10    .66332       -.81376E-07** at limit **
  10  norm          8.0794        10.678        .12824E-07    .12501E-01
  11  Prefactor     2.0547        9.1455       -.21808E-07    .34114E-01
  12  Prefactor     .51181E-06    15.563        .47976E-07** at limit **
  13  Prefactor      .0000        .97068        .27997E-07** at limit **
  14  Prefactor     .23870E-07    3.0628       -.25919E-07** at limit **
  15  Prefactor     .13517E-06    4.4696       -.30298E-07** at limit **
  16  norm          41.002        1.3827       -.17419E-08    .39955E-01
  17  Prefactor     4.7371        1.3622        .56329E-08   -.15916E-02
  18  norm          1.6217        .23368       -.45261E-08   -.32071E-01
  19  Normalizat    1.1394        .16623       -.11095E-05   -.25252E-03
  20  Prefactor     .81035        .12838        .27308E-06   -.19950E-03
                               ERR DEF=  .500    
Final values: 
  Prefactor  = 5.64548e-08
  Prefactor  = 0
  Prefactor  = 5.55112e-11
  Prefactor  = 0.489491
  norm       = 0.131343
  Prefactor  = 1.18738e-07
  norm       = 1.32679
  Prefactor  = 6.10623e-10
  Prefactor  = 5.55112e-11
  norm       = 8.07937
  Prefactor  = 2.05472
  Prefactor  = 5.11813e-07
  Prefactor  = 0
  Prefactor  = 2.38698e-08
  Prefactor  = 1.3517e-07
  norm       = 41.0024
  Prefactor  = 4.73707
  norm       = 1.62168
  Normalizat = 1.13942
  Prefactor  = 0.810351
 **********
 **   18 **HESSE 
 **********

 FCN=   8149.375     FROM HESSE     STATUS=OK           329 CALLS     1838 TOTAL
                     EDM=   .49E-05    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  Prefactor     .56455E-07    11.254        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   2  Prefactor      .0000        1.4512        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   3  Prefactor     .55511E-10    1.9699        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   4  Prefactor     .48949        4.7475        .79587E-03   -1.5694    
   5  norm          .13134        .46857        .13151E-02   -1.5701    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   6  Prefactor     .11874E-06    9.7082        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   7  norm          1.3268        1.2401        .95395E-03   -1.5685    
   8  Prefactor     .61062E-09    4.7142        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   9  Prefactor     .55511E-10    .66303        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  10  norm          8.0794        11.047        .35280E-03   -1.5651    
  11  Prefactor     2.0547        74.578        .71406E-03   -1.5679    
  12  Prefactor     .51181E-06    16.819        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  13  Prefactor      .0000        .97404        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  14  Prefactor     .23870E-07    9.6634        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  15  Prefactor     .13517E-06    9.2701        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  16  norm          41.002        109.24        .15618E-03   -1.5580    
  17  Prefactor     4.7371        16.491        .46122E-03   -1.5664    
  18  norm          1.6217        .23485        .36222E-03   -1.5682    
  19  Normalizat    1.1394        .14811        .54119E-01   -.88496    
  20  Prefactor     .81035        .11173        .43852E-01   -.99348    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 4.9077e-06
Minuit parameter uncertainties:
  1  0.00159423
  2  6.63059e-07
  3  2.44164e-05
  4  3.04883
  5  0.468573
  6  0.0021473
  7  1.24005
  8  0.000106462
  9  1.3624e-05
  10  11.0473
  11  24.7581
  12  0.00586802
  13  4.71768e-06
  14  0.000960805
  15  0.00223878
  16  109.242
  17  16.4909
  18  0.234848
  19  0.14816
  20  0.111761
s sctable="SC_DATA" srcmdl=/lscratch/kocevski/32014439/Model_4FGL_J0416.5-1852_daily_bin2185.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 Fornax A
adding source GAL_V02
Working on...
/lscratch/kocevski/32014439/ft1_filtered_4FGL_J0416.5-1852_daily_bin2185.fits.....................!
real 80.39
user 76.80
sys 1.26

Creating the likelihood object...
obs = UnbinnedObs('/lscratch/kocevski/32014439/ft1_filtered_4FGL_J0416.5-1852_daily_bin2185.fits', '/lscratch/kocevski/32014439/ft2_4FGL_J0416.5-1852_daily_bin2185.fits', expMap='/lscratch/kocevski/32014439/expmap_805680001_805939201_4FGL_J0416.5-1852_daily_bin2185.fits', expCube='/lscratch/kocevski/32014439/ltcube_805680001_805939201_4FGL_J0416.5-1852_daily_bin2185.fits', irfs='P8R3_SOURCE_V2')
like = UnbinnedAnalysis(obs, '/lscratch/kocevski/32014439/Model_4FGL_J0416.5-1852_daily_bin2185.xml', optimizer='MINUIT')

Using source of interest name: '4FGL J0416.5-1852'

4FGL J0416.5-1852
   Spectrum: PowerLaw
265    Prefactor:  1.793e+00  0.000e+00  0.000e+00  1.000e+06 ( 1.000e-12)
266        Index:  2.395e+00  0.000e+00  0.000e+00  1.000e+01 (-1.000e+00) fixed
267        Scale:  7.587e+02  0.000e+00  3.000e+01  5.000e+05 ( 1.000e+00) fixed


Likelihood Fit Parameters:
Event file(s): /lscratch/kocevski/32014439/ft1_filtered_4FGL_J0416.5-1852_daily_bin2185.fits
Spacecraft file(s): /lscratch/kocevski/32014439/ft2_4FGL_J0416.5-1852_daily_bin2185.fits
Exposure map: /lscratch/kocevski/32014439/expmap_805680001_805939201_4FGL_J0416.5-1852_daily_bin2185.fits
Exposure cube: /lscratch/kocevski/32014439/ltcube_805680001_805939201_4FGL_J0416.5-1852_daily_bin2185.fits
IRFs: P8R3_SOURCE_V2
Source model file: /lscratch/kocevski/32014439/Model_4FGL_J0416.5-1852_daily_bin2185.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) = 8149.37482074

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

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

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'Prefactor '    .80685E-03   1.0000          .0000       .10000E+07
     2 'Prefactor '    .74013E-06   1.0000          .0000       .10000E+07
     3 'Prefactor '    .40806E-06   1.0000          .0000       .10000E+07
     4 'Prefactor '    .49133       1.0000          .0000       .10000E+07
     5 'norm      '    .13149       1.0000          .0000       .10000E+07
     6 'Prefactor '    .22209E-03   1.0000          .0000       .10000E+07
     7 'norm      '    1.3264       1.0000          .0000       .10000E+07
     8 'Prefactor '    .42018E-05   1.0000          .0000       .10000E+07
     9 'Prefactor '    .11102E-08   1.0000          .0000       .10000E+07
    10 'norm      '    8.0655       1.0000          .0000       .10000E+07
    11 'Prefactor '    2.0887       1.0000          .0000       .10000E+07
    12 'Prefactor '    .37611E-02   1.0000          .0000       .10000E+07
    13 'Prefactor '    .16653E-08   1.0000          .0000       .10000E+07
    14 'Prefactor '    .36862E-03   1.0000          .0000       .10000E+07
    15 'Prefactor '    .61742E-03   1.0000          .0000       .10000E+07
    16 'norm      '    41.006       1.0000          .0000       .10000E+07
    17 'Prefactor '    4.7541       1.0000          .0000       .10000E+07
    18 'norm      '    1.6217       1.0000          .0000       .10000E+07
    19 'Normalizat'    1.1393       1.0000         .10000E-01   10.000    
    20 'Prefactor '    .81037       1.0000          .0000       10.000    
 **********
 **   15 **SET ERR    .5000    
 **********
 **********
 **   16 **SET GRAD    1.000    
 **********
 **********
 **   17 **MINIMIZE    .4850E+05   .2000E-04
 **********

 MIGRAD MINIMIZATION HAS CONVERGED.

 FCN=   8149.375     FROM MIGRAD    STATUS=CONVERGED    117 CALLS     1509 TOTAL
                     EDM=   .59E-09  STRATEGY=1  ERROR MATRIX UNCERTAINTY=  1.1%

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor     .56455E-07    10.167        .53469E-07** at limit **
   2  Prefactor      .0000        1.4641       -.19472E-08** at limit **
   3  Prefactor     .55511E-10    1.9730        .49221E-07** at limit **
   4  Prefactor     .48949        4.7150       -.44903E-07   -.15263E-02
   5  norm          .13134        .46114       -.95034E-08** at limit **
   6  Prefactor     .11874E-06    2.8438       -.20286E-07** at limit **
   7  norm          1.3268        1.2129        .22758E-07    .23613E-02
   8  Prefactor     .61062E-09    4.7019       -.40027E-07** at limit **
   9  Prefactor     .55511E-10    .66332       -.81376E-07** at limit **
  10  norm          8.0794        10.678        .12824E-07    .12501E-01
  11  Prefactor     2.0547        9.1455       -.21808E-07    .34114E-01
  12  Prefactor     .51181E-06    15.563        .47976E-07** at limit **
  13  Prefactor      .0000        .97068        .27997E-07** at limit **
  14  Prefactor     .23870E-07    3.0628       -.25919E-07** at limit **
  15  Prefactor     .13517E-06    4.4696       -.30298E-07** at limit **
  16  norm          41.002        1.3827       -.17419E-08    .39955E-01
  17  Prefactor     4.7371        1.3622        .56329E-08   -.15916E-02
  18  norm          1.6217        .23368       -.45261E-08   -.32071E-01
  19  Normalizat    1.1394        .16623       -.11095E-05   -.25252E-03
  20  Prefactor     .81035        .12838        .27308E-06   -.19950E-03
                               ERR DEF=  .500    
Final values: 
  Prefactor  = 5.64548e-08
  Prefactor  = 0
  Prefactor  = 5.55112e-11
  Prefactor  = 0.489491
  norm       = 0.131343
  Prefactor  = 1.18738e-07
  norm       = 1.32679
  Prefactor  = 6.10623e-10
  Prefactor  = 5.55112e-11
  norm       = 8.07937
  Prefactor  = 2.05472
  Prefactor  = 5.11813e-07
  Prefactor  = 0
  Prefactor  = 2.38698e-08
  Prefactor  = 1.3517e-07
  norm       = 41.0024
  Prefactor  = 4.73707
  norm       = 1.62168
  Normalizat = 1.13942
  Prefactor  = 0.810351
 **********
 **   18 **HESSE 
 **********

 FCN=   8149.375     FROM HESSE     STATUS=OK           329 CALLS     1838 TOTAL
                     EDM=   .49E-05    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  Prefactor     .56455E-07    11.254        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   2  Prefactor      .0000        1.4512        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   3  Prefactor     .55511E-10    1.9699        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   4  Prefactor     .48949        4.7475        .79587E-03   -1.5694    
   5  norm          .13134        .46857        .13151E-02   -1.5701    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   6  Prefactor     .11874E-06    9.7082        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   7  norm          1.3268        1.2401        .95395E-03   -1.5685    
   8  Prefactor     .61062E-09    4.7142        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   9  Prefactor     .55511E-10    .66303        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  10  norm          8.0794        11.047        .35280E-03   -1.5651    
  11  Prefactor     2.0547        74.578        .71406E-03   -1.5679    
  12  Prefactor     .51181E-06    16.819        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  13  Prefactor      .0000        .97404        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  14  Prefactor     .23870E-07    9.6634        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  15  Prefactor     .13517E-06    9.2701        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  16  norm          41.002        109.24        .15618E-03   -1.5580    
  17  Prefactor     4.7371        16.491        .46122E-03   -1.5664    
  18  norm          1.6217        .23485        .36222E-03   -1.5682    
  19  Normalizat    1.1394        .14811        .54119E-01   -.88496    
  20  Prefactor     .81035        .11173        .43852E-01   -.99348    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 4.9077e-06
Minuit parameter uncertainties:
  1  0.00159423
  2  6.63059e-07
  3  2.44164e-05
  4  3.04883
  5  0.468573
  6  0.0021473
  7  1.24005
  8  0.000106462
  9  1.3624e-05
  10  11.0473
  11  24.7581
  12  0.00586802
  13  4.71768e-06
  14  0.000960805
  15  0.00223878
  16  109.242
  17  16.4909
  18  0.234848
  19  0.14816
  20  0.111761
 **********
 **   18 **HESSE 
 **********

 FCN=   8149.375     FROM HESSE     STATUS=OK           329 CALLS     1838 TOTAL
                     EDM=   .49E-05    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  Prefactor     .56455E-07    11.254        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   2  Prefactor      .0000        1.4512        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   3  Prefactor     .55511E-10    1.9699        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   4  Prefactor     .48949        4.7475        .79587E-03   -1.5694    
   5  norm          .13134        .46857        .13151E-02   -1.5701    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   6  Prefactor     .11874E-06    9.7082        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   7  norm          1.3268        1.2401        .95395E-03   -1.5685    
   8  Prefactor     .61062E-09    4.7142        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   9  Prefactor     .55511E-10    .66303        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  10  norm          8.0794        11.047        .35280E-03   -1.5651    
  11  Prefactor     2.0547        74.578        .71406E-03   -1.5679    
  12  Prefactor     .51181E-06    16.819        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  13  Prefactor      .0000        .97404        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  14  Prefactor     .23870E-07    9.6634        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  15  Prefactor     .13517E-06    9.2701        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  16  norm          41.002        109.24        .15618E-03   -1.5580    
  17  Prefactor     4.7371        16.491        .46122E-03   -1.5664    
  18  norm          1.6217        .23485        .36222E-03   -1.5682    
  19  Normalizat    1.1394        .14811        .54119E-01   -.88496    
  20  Prefactor     .81035        .11173        .43852E-01   -.99348    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 4.9077e-06
Minuit parameter uncertainties:
  1  0.00159423
  2  6.63059e-07
  3  2.44164e-05
  4  3.04883
  5  0.468573
  6  0.0021473
  7  1.24005
  8  0.000106462
  9  1.3624e-05
  10  11.0473
  11  24.7581
  12  0.00586802
  13  4.71768e-06
  14  0.000960805
  15  0.00223878
  16  109.242
  17  16.4909
  18  0.234848
  19  0.14816
  20  0.111761
ts sctable="SC_DATA" srcmdl=/lscratch/kocevski/32014460/Model_4FGL_J0416.5-1852_daily_bin2185.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 Fornax A
adding source GAL_V02
Working on...
/lscratch/kocevski/32014460/ft1_filtered_4FGL_J0416.5-1852_daily_bin2185.fits.....................!
real 77.14
user 74.78
sys 1.41

Creating the likelihood object...
obs = UnbinnedObs('/lscratch/kocevski/32014460/ft1_filtered_4FGL_J0416.5-1852_daily_bin2185.fits', '/lscratch/kocevski/32014460/ft2_4FGL_J0416.5-1852_daily_bin2185.fits', expMap='/lscratch/kocevski/32014460/expmap_805680001_805939201_4FGL_J0416.5-1852_daily_bin2185.fits', expCube='/lscratch/kocevski/32014460/ltcube_805680001_805939201_4FGL_J0416.5-1852_daily_bin2185.fits', irfs='P8R3_SOURCE_V2')
like = UnbinnedAnalysis(obs, '/lscratch/kocevski/32014460/Model_4FGL_J0416.5-1852_daily_bin2185.xml', optimizer='MINUIT')

Using source of interest name: '4FGL J0416.5-1852'

4FGL J0416.5-1852
   Spectrum: PowerLaw
265    Prefactor:  1.793e+00  0.000e+00  0.000e+00  1.000e+06 ( 1.000e-12)
266        Index:  2.395e+00  0.000e+00  0.000e+00  1.000e+01 (-1.000e+00) fixed
267        Scale:  7.587e+02  0.000e+00  3.000e+01  5.000e+05 ( 1.000e+00) fixed


Likelihood Fit Parameters:
Event file(s): /lscratch/kocevski/32014460/ft1_filtered_4FGL_J0416.5-1852_daily_bin2185.fits
Spacecraft file(s): /lscratch/kocevski/32014460/ft2_4FGL_J0416.5-1852_daily_bin2185.fits
Exposure map: /lscratch/kocevski/32014460/expmap_805680001_805939201_4FGL_J0416.5-1852_daily_bin2185.fits
Exposure cube: /lscratch/kocevski/32014460/ltcube_805680001_805939201_4FGL_J0416.5-1852_daily_bin2185.fits
IRFs: P8R3_SOURCE_V2
Source model file: /lscratch/kocevski/32014460/Model_4FGL_J0416.5-1852_daily_bin2185.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) = 8149.37482074

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

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

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'Prefactor '    .80685E-03   1.0000          .0000       .10000E+07
     2 'Prefactor '    .74013E-06   1.0000          .0000       .10000E+07
     3 'Prefactor '    .40806E-06   1.0000          .0000       .10000E+07
     4 'Prefactor '    .49133       1.0000          .0000       .10000E+07
     5 'norm      '    .13149       1.0000          .0000       .10000E+07
     6 'Prefactor '    .22209E-03   1.0000          .0000       .10000E+07
     7 'norm      '    1.3264       1.0000          .0000       .10000E+07
     8 'Prefactor '    .42018E-05   1.0000          .0000       .10000E+07
     9 'Prefactor '    .11102E-08   1.0000          .0000       .10000E+07
    10 'norm      '    8.0655       1.0000          .0000       .10000E+07
    11 'Prefactor '    2.0887       1.0000          .0000       .10000E+07
    12 'Prefactor '    .37611E-02   1.0000          .0000       .10000E+07
    13 'Prefactor '    .16653E-08   1.0000          .0000       .10000E+07
    14 'Prefactor '    .36862E-03   1.0000          .0000       .10000E+07
    15 'Prefactor '    .61742E-03   1.0000          .0000       .10000E+07
    16 'norm      '    41.006       1.0000          .0000       .10000E+07
    17 'Prefactor '    4.7541       1.0000          .0000       .10000E+07
    18 'norm      '    1.6217       1.0000          .0000       .10000E+07
    19 'Normalizat'    1.1393       1.0000         .10000E-01   10.000    
    20 'Prefactor '    .81037       1.0000          .0000       10.000    
 **********
 **   15 **SET ERR    .5000    
 **********
 **********
 **   16 **SET GRAD    1.000    
 **********
 **********
 **   17 *Done.

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

Extracting fit parameters...

4FGL J0416.5-1852
   Spectrum: PowerLaw
265    Prefactor:  0.000e+00  4.718e-06  0.000e+00  1.000e+06 ( 1.000e-12)
266        Index:  2.395e+00  0.000e+00  0.000e+00  1.000e+01 (-1.000e+00) fixed
267        Scale:  7.587e+02  0.000e+00  3.000e+01  5.000e+05 ( 1.000e+00) fixed

GAL_V02
   Spectrum: PowerLaw
482    Prefactor:  8.104e-01  1.118e-01  0.000e+00  1.000e+01 ( 1.000e+00)
483        Index:  0.000e+00  0.000e+00 -1.000e+00  1.000e+00 ( 1.000e+00) fixed
484        Scale:  1.000e+02  0.000e+00  5.000e+01  2.000e+02 ( 1.000e+00) fixed

EG_v02
   Spectrum: FileFunction
478   Normalization:  1.139e+00  1.482e-01  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Fixed Index): 0.00
Ra Dec: 64.137 -18.872
Photon Flux Upper Limit: 4.21185839953e-08 ph cm-2 s-1
Energy Flux Upper Limit: 0.00325343071101 MeV cm-2 s-1

Saving results to:
/lscratch/kocevski/32014433/likelihoodResults_805680001_805939201_4FGL_J0416.5-1852_daily_bin2185.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): 102
logL (Free Index) = 8149.37592828
delta logL = -0.00116715189688

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

MINUIT Return Code (Free Index): 102
logL (Free Index) = 8149.37476122
delta logL = -9.01354724192e-08

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'Prefactor '    .33307E-09   1.0000          .0000       .10000E+07
     2 'Index     '    1.1547       1.0000          .0000       10.000    
     3 'Normalizat'    1.1394       1.0000         .10000E-01   10.000    
     4 'Prefactor '    .81040       1.0000          .0000       10.000    
 **********
 **   15 **SET ERR    .5000    
 **********
 **********
 **   16 **SET GRAD    1.000    
 **********
 **********
 **   17 **MINIMIZE    .4850E+05   .2000E-04
 **********

 MIGRAD MINIMIZATION HAS CONVERGED.

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

 FCN=   8149.375     FROM MIGRAD    STATUS=CONVERGED     45 CALLS      251 TOTAL
                     EDM=   .16E-09  STRATEGY=1  ERROR MATRIX UNCERTAINTY=100.0%

  EXT PARAMETER                APPROXIMATE        STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor      .0000        .51933        .42118E-03** at limit **
   2  Index         3.1134        1.6226       -.45277E-04     .0000    
   3  Normalizat    1.1394        1.1317        .53545E-04    .50168E-03
   4  Prefactor     .81035        1.1587       -.41638E-04    .61440E-03
                               ERR DEF=  .500    
Final values: 
  Prefactor  = 0
  Index      = 3.11337
  Normalizat = 1.13942
  Prefactor  = 0.810351
 **********
 **   18 **HESSE 
 **********
  MNHESS FAILS AND WILL RETURN DIAGONAL MATRIX. 

 FCN=   8149.375     FROM HESSE     STATUS=FAILED         9 CALLS      260 TOTAL
                     EDM=   .16E-09  STRATEGY=1  ERROR MATRIX UNCERTAINTY=100.0%

  EXT PARAMETER                APPROXIMATE     INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  Prefactor      .0000        .51933        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   2  Index         1.0930        2.1400       -.45277E-04   -.38691    
   3  Normalizat    1.1394        1.1317        .53545E-04   -.88496    
   4  Prefactor     .81035        1.1587       -.41638E-04   -.99348    
                               ERR DEF=  .500    
Minuit fit quality: 1   estimated distance: 1.58007e-10
Minuit parameter uncertainties:
  1  4.49911e-06
  2  1.65777
  3  1.15731
  4  1.19668
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) = 8149.37476113
delta logL = -9.36779542826e-11

Extracting fit parameters...

4FGL J0416.5-1852
   Spectrum: PowerLaw
265    Prefactor:  0.000e+00  4.499e-06  0.000e+00  1.000e+06 ( 1.000e-12)
266        Index:  3.113e+00  1.658e+00  0.000e+00  1.000e+01 (-1.000e+00)
267        Scale:  7.587e+02  0.000e+00  3.000e+01  5.000e+05 ( 1.000e+00) fixed

GAL_V02
   Spectrum: PowerLaw
482    Prefactor:  8.104e-01  1.197e+00  0.000e+00  1.000e+01 ( 1.000e+00)
483        Index:  0.000e+00  0.000e+00 -1.000e+00  1.000e+00 ( 1.000e+00) fixed
484        Scale:  1.000e+02  0.000e+00  5.000e+01  2.000e+02 ( 1.000e+00) fixed

EG_v02
   Spectrum: FileFunction
478   Normalization:  1.139e+00  1.157e+00  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Free Index): 0.00
Ra Dec: 64.137 -18.872

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/32014433/cmap_HighResolution_805680001_805939201_4FGL_J0416.5-1852_daily_bin2185.png

Cleaning up...

** Nuclear option initiated! **

Updating database...

UPDATE lightcurve_data_v2 SET energy_flux_upper_limit='3.25e-03', job_status='DONE', photon_flux_upper_limit='4.21e-08', time_completed='2026-07-17 03:21:37.144176', job_id='32014433', GAL2='0.81', fit_tolerance='1e-08', EG2='1.14', EG='1.14', time_epoch_completed='1784283697.14', return_code2='101', ts='0.00', comment='SUCCESS', return_code='0', GAL='0.81', dlogl='-9.37e-11', ts2='0.00', photon_index_error='0.00', photon_index='2.39' WHERE bin_id='2185' AND source_name='4FGL J0416.5-1852' AND cadence='daily';

Database successfully updated.


Analysis Complete.


Fri Jul 17 03:21:37 PDT 2026

*MINIMIZE    .4850E+05   .2000E-04
 **********

 MIGRAD MINIMIZATION HAS CONVERGED.

 FCN=   8149.375     FROM MIGRAD    STATUS=CONVERGED    117 CALLS     1509 TOTAL
                     EDM=   .59E-09  STRATEGY=1  ERROR MATRIX UNCERTAINTY=  1.1%

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor     .56455E-07    10.167        .53469E-07** at limit **
   2  Prefactor      .0000        1.4641       -.19472E-08** at limit **
   3  Prefactor     .55511E-10    1.9730        .49221E-07** at limit **
   4  Prefactor     .48949        4.7150       -.44903E-07   -.15263E-02
   5  norm          .13134        .46114       -.95034E-08** at limit **
   6  Prefactor     .11874E-06    2.8438       -.20286E-07** at limit **
   7  norm          1.3268        1.2129        .22758E-07    .23613E-02
   8  Prefactor     .61062E-09    4.7019       -.40027E-07** at limit **
   9  Prefactor     .55511E-10    .66332       -.81376E-07** at limit **
  10  norm          8.0794        10.678        .12824E-07    .12501E-01
  11  Prefactor     2.0547        9.1455       -.21808E-07    .34114E-01
  12  Prefactor     .51181E-06    15.563        .47976E-07** at limit **
  13  Prefactor      .0000        .97068        .27997E-07** at limit **
  14  Prefactor     .23870E-07    3.0628       -.25919E-07** at limit **
  15  Prefactor     .13517E-06    4.4696       -.30298E-07** at limit **
  16  norm          41.002        1.3827       -.17419E-08    .39955E-01
  17  Prefactor     4.7371        1.3622        .56329E-08   -.15916E-02
  18  norm          1.6217        .23368       -.45261E-08   -.32071E-01
  19  Normalizat    1.1394        .16623       -.11095E-05   -.25252E-03
  20  Prefactor     .81035        .12838        .27308E-06   -.19950E-03
                               ERR DEF=  .500    
Final values: 
  Prefactor  = 5.64548e-08
  Prefactor  = 0
  Prefactor  = 5.55112e-11
  Prefactor  = 0.489491
  norm       = 0.131343
  Prefactor  = 1.18738e-07
  norm       = 1.32679
  Prefactor  = 6.10623e-10
  Prefactor  = 5.55112e-11
  norm       = 8.07937
  Prefactor  = 2.05472
  Prefactor  = 5.11813e-07
  Prefactor  = 0
  Prefactor  = 2.38698e-08
  Prefactor  = 1.3517e-07
  norm       = 41.0024
  Prefactor  = 4.73707
  norm       = 1.62168
  Normalizat = 1.13942
  Prefactor  = 0.810351
Done.

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

Extracting fit parameters...

4FGL J0416.5-1852
   Spectrum: PowerLaw
265    Prefactor:  0.000e+00  4.718e-06  0.000e+00  1.000e+06 ( 1.000e-12)
266        Index:  2.395e+00  0.000e+00  0.000e+00  1.000e+01 (-1.000e+00) fixed
267        Scale:  7.587e+02  0.000e+00  3.000e+01  5.000e+05 ( 1.000e+00) fixed

GAL_V02
   Spectrum: PowerLaw
482    Prefactor:  8.104e-01  1.118e-01  0.000e+00  1.000e+01 ( 1.000e+00)
483        Index:  0.000e+00  0.000e+00 -1.000e+00  1.000e+00 ( 1.000e+00) fixed
484        Scale:  1.000e+02  0.000e+00  5.000e+01  2.000e+02 ( 1.000e+00) fixed

EG_v02
   Spectrum: FileFunction
478   Normalization:  1.139e+00  1.482e-01  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Fixed Index): 0.00
Ra Dec: 64.137 -18.872
Photon Flux Upper Limit: 4.21185839953e-08 ph cm-2 s-1
Energy Flux Upper Limit: 0.00325343071101 MeV cm-2 s-1

Saving results to:
/lscratch/kocevski/32014438/likelihoodResults_805680001_805939201_4FGL_J0416.5-1852_daily_bin2185.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): 102
logL (Free Index) = 8149.37592828
delta logL = -0.00116715189688

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

MINUIT Return Code (Free Index): 102
logL (Free Index) = 8149.37476122
delta logL = -9.01354724192e-08

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'Prefactor '    .33307E-09   1.0000          .0000       .10000E+07
     2 'Index     '    1.1547       1.0000          .0000       10.000    
     3 'Normalizat'    1.1394       1.0000         .10000E-01   10.000    
     4 'Prefactor '    .81040       1.0000          .0000       10.000    
 **********
 **   15 **SET ERR    .5000    
 **********
 **********
 **   16 **SET GRAD    1.000    
 **********
 **********
 **   17 **MINIMIZE    .4850E+05   .2000E-04
 **********

 MIGRAD MINIMIZATION HAS CONVERGED.

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

 FCN=   8149.375     FROM MIGRAD    STATUS=CONVERGED     45 CALLS      251 TOTAL
                     EDM=   .16E-09  STRATEGY=1  ERROR MATRIX UNCERTAINTY=100.0%

  EXT PARAMETER                APPROXIMATE        STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor      .0000        .51933        .42118E-03** at limit **
   2  Index         3.1134        1.6226       -.45277E-04     .0000    
   3  Normalizat    1.1394        1.1317        .53545E-04    .50168E-03
   4  Prefactor     .81035        1.1587       -.41638E-04    .61440E-03
                               ERR DEF=  .500    
Final values: 
  Prefactor  = 0
  Index      = 3.11337
  Normalizat = 1.13942
  Prefactor  = 0.810351
 **********
 **   18 **HESSE 
 **********
  MNHESS FAILS AND WILL RETURN DIAGONAL MATRIX. 

 FCN=   8149.375     FROM HESSE     STATUS=FAILED         9 CALLS      260 TOTAL
                     EDM=   .16E-09  STRATEGY=1  ERROR MATRIX UNCERTAINTY=100.0%

  EXT PARAMETER                APPROXIMATE     INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  Prefactor      .0000        .51933        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   2  Index         1.0930        2.1400       -.45277E-04   -.38691    
   3  Normalizat    1.1394        1.1317        .53545E-04   -.88496    
   4  Prefactor     .81035        1.1587       -.41638E-04   -.99348    
                               ERR DEF=  .500    
Minuit fit quality: 1   estimated distance: 1.58007e-10
Minuit parameter uncertainties:
  1  4.49911e-06
  2  1.65777
  3  1.15731
  4  1.19668
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) = 8149.37476113
delta logL = -9.36779542826e-11

Extracting fit parameters...

4FGL J0416.5-1852
   Spectrum: PowerLaw
265    Prefactor:  0.000e+00  4.499e-06  0.000e+00  1.000e+06 ( 1.000e-12)
266        Index:  3.113e+00  1.658e+00  0.000e+00  1.000e+01 (-1.000e+00)
267        Scale:  7.587e+02  0.000e+00  3.000e+01  5.000e+05 ( 1.000e+00) fixed

GAL_V02
   Spectrum: PowerLaw
482    Prefactor:  8.104e-01  1.197e+00  0.000e+00  1.000e+01 ( 1.000e+00)
483        Index:  0.000e+00  0.000e+00 -1.000e+00  1.000e+00 ( 1.000e+00) fixed
484        Scale:  1.000e+02  0.000e+00  5.000e+01  2.000e+02 ( 1.000e+00) fixed

EG_v02
   Spectrum: FileFunction
478   Normalization:  1.139e+00  1.157e+00  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Free Index): 0.00
Ra Dec: 64.137 -18.872

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/32014438/cmap_HighResolution_805680001_805939201_4FGL_J0416.5-1852_daily_bin2185.png

Cleaning up...

** Nuclear option initiated! **

Updating database...

UPDATE lightcurve_data_v2 SET energy_flux_upper_limit='3.25e-03', job_status='DONE', photon_flux_upper_limit='4.21e-08', time_completed='2026-07-17 03:21:49.690270', job_id='32014438', GAL2='0.81', fit_tolerance='1e-08', EG2='1.14', EG='1.14', time_epoch_completed='1784283709.69', return_code2='101', ts='0.00', comment='SUCCESS', return_code='0', GAL='0.81', dlogl='-9.37e-11', ts2='0.00', photon_index_error='0.00', photon_index='2.39' WHERE bin_id='2185' AND source_name='4FGL J0416.5-1852' AND cadence='daily';

Database successfully updated.


Analysis Complete.


Fri Jul 17 03:21:49 PDT 2026

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

 FCN=   8149.375     FROM HESSE     STATUS=OK           329 CALLS     1838 TOTAL
                     EDM=   .49E-05    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  Prefactor     .56455E-07    11.254        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   2  Prefactor      .0000        1.4512        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   3  Prefactor     .55511E-10    1.9699        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   4  Prefactor     .48949        4.7475        .79587E-03   -1.5694    
   5  norm          .13134        .46857        .13151E-02   -1.5701    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   6  Prefactor     .11874E-06    9.7082        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   7  norm          1.3268        1.2401        .95395E-03   -1.5685    
   8  Prefactor     .61062E-09    4.7142        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   9  Prefactor     .55511E-10    .66303        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  10  norm          8.0794        11.047        .35280E-03   -1.5651    
  11  Prefactor     2.0547        74.578        .71406E-03   -1.5679    
  12  Prefactor     .51181E-06    16.819        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  13  Prefactor      .0000        .97404        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  14  Prefactor     .23870E-07    9.6634        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  15  Prefactor     .13517E-06    9.2701        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  16  norm          41.002        109.24        .15618E-03   -1.5580    
  17  Prefactor     4.7371        16.491        .46122E-03   -1.5664    
  18  norm          1.6217        .23485        .36222E-03   -1.5682    
  19  Normalizat    1.1394        .14811        .54119E-01   -.88496    
  20  Prefactor     .81035        .11173        .43852E-01   -.99348    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 4.9077e-06
Minuit parameter uncertainties:
  1  0.00159423
  2  6.63059e-07
  3  2.44164e-05
  4  3.04883
  5  0.468573
  6  0.0021473
  7  1.24005
  8  0.000106462
  9  1.3624e-05
  10  11.0473
  11  24.7581
  12  0.00586802
  13  4.71768e-06
  14  0.000960805
  15  0.00223878
  16  109.242
  17  16.4909
  18  0.234848
  19  0.14816
  20  0.111761
Done.

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

Extracting fit parameters...

4FGL J0416.5-1852
   Spectrum: PowerLaw
265    Prefactor:  0.000e+00  4.718e-06  0.000e+00  1.000e+06 ( 1.000e-12)
266        Index:  2.395e+00  0.000e+00  0.000e+00  1.000e+01 (-1.000e+00) fixed
267        Scale:  7.587e+02  0.000e+00  3.000e+01  5.000e+05 ( 1.000e+00) fixed

GAL_V02
   Spectrum: PowerLaw
482    Prefactor:  8.104e-01  1.118e-01  0.000e+00  1.000e+01 ( 1.000e+00)
483        Index:  0.000e+00  0.000e+00 -1.000e+00  1.000e+00 ( 1.000e+00) fixed
484        Scale:  1.000e+02  0.000e+00  5.000e+01  2.000e+02 ( 1.000e+00) fixed

EG_v02
   Spectrum: FileFunction
478   Normalization:  1.139e+00  1.482e-01  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Fixed Index): 0.00
Ra Dec: 64.137 -18.872
Photon Flux Upper Limit: 4.21185839953e-08 ph cm-2 s-1
Energy Flux Upper Limit: 0.00325343071101 MeV cm-2 s-1

Saving results to:
/lscratch/kocevski/32014439/likelihoodResults_805680001_805939201_4FGL_J0416.5-1852_daily_bin2185.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): 102
logL (Free Index) = 8149.37592828
delta logL = -0.00116715189688

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

MINUIT Return Code (Free Index): 102
logL (Free Index) = 8149.37476122
delta logL = -9.01354724192e-08

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'Prefactor '    .33307E-09   1.0000          .0000       .10000E+07
     2 'Index     '    1.1547       1.0000          .0000       10.000    
     3 'Normalizat'    1.1394       1.0000         .10000E-01   10.000    
     4 'Prefactor '    .81040       1.0000          .0000       10.000    
 **********
 **   15 **SET ERR    .5000    
 **********
 **********
 **   16 **SET GRAD    1.000    
 **********
 **********
 **   17 **MINIMIZE    .4850E+05   .2000E-04
 **********

 MIGRAD MINIMIZATION HAS CONVERGED.

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

 FCN=   8149.375     FROM MIGRAD    STATUS=CONVERGED     45 CALLS      251 TOTAL
                     EDM=   .16E-09  STRATEGY=1  ERROR MATRIX UNCERTAINTY=100.0%

  EXT PARAMETER                APPROXIMATE        STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor      .0000        .51933        .42118E-03** at limit **
   2  Index         3.1134        1.6226       -.45277E-04     .0000    
   3  Normalizat    1.1394        1.1317        .53545E-04    .50168E-03
   4  Prefactor     .81035        1.1587       -.41638E-04    .61440E-03
                               ERR DEF=  .500    
Final values: 
  Prefactor  = 0
  Index      = 3.11337
  Normalizat = 1.13942
  Prefactor  = 0.810351
 **********
 **   18 **HESSE 
 **********
  MNHESS FAILS AND WILL RETURN DIAGONAL MATRIX. 

 FCN=   8149.375     FROM HESSE     STATUS=FAILED         9 CALLS      260 TOTAL
                     EDM=   .16E-09  STRATEGY=1  ERROR MATRIX UNCERTAINTY=100.0%

  EXT PARAMETER                APPROXIMATE     INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  Prefactor      .0000        .51933        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   2  Index         1.0930        2.1400       -.45277E-04   -.38691    
   3  Normalizat    1.1394        1.1317        .53545E-04   -.88496    
   4  Prefactor     .81035        1.1587       -.41638E-04   -.99348    
                               ERR DEF=  .500    
Minuit fit quality: 1   estimated distance: 1.58007e-10
Minuit parameter uncertainties:
  1  4.49911e-06
  2  1.65777
  3  1.15731
  4  1.19668
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) = 8149.37476113
delta logL = -9.36779542826e-11

Extracting fit parameters...

4FGL J0416.5-1852
   Spectrum: PowerLaw
265    Prefactor:  0.000e+00  4.499e-06  0.000e+00  1.000e+06 ( 1.000e-12)
266        Index:  3.113e+00  1.658e+00  0.000e+00  1.000e+01 (-1.000e+00)
267        Scale:  7.587e+02  0.000e+00  3.000e+01  5.000e+05 ( 1.000e+00) fixed

GAL_V02
   Spectrum: PowerLaw
482    Prefactor:  8.104e-01  1.197e+00  0.000e+00  1.000e+01 ( 1.000e+00)
483        Index:  0.000e+00  0.000e+00 -1.000e+00  1.000e+00 ( 1.000e+00) fixed
484        Scale:  1.000e+02  0.000e+00  5.000e+01  2.000e+02 ( 1.000e+00) fixed

EG_v02
   Spectrum: FileFunction
478   Normalization:  1.139e+00  1.157e+00  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Free Index): 0.00
Ra Dec: 64.137 -18.872

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/32014439/cmap_HighResolution_805680001_805939201_4FGL_J0416.5-1852_daily_bin2185.png

Cleaning up...

** Nuclear option initiated! **

Updating database...

UPDATE lightcurve_data_v2 SET energy_flux_upper_limit='3.25e-03', job_status='DONE', photon_flux_upper_limit='4.21e-08', time_completed='2026-07-17 03:21:57.673672', job_id='32014439', GAL2='0.81', fit_tolerance='1e-08', EG2='1.14', EG='1.14', time_epoch_completed='1784283717.67', return_code2='101', ts='0.00', comment='SUCCESS', return_code='0', GAL='0.81', dlogl='-9.37e-11', ts2='0.00', photon_index_error='0.00', photon_index='2.39' WHERE bin_id='2185' AND source_name='4FGL J0416.5-1852' AND cadence='daily';

Database successfully updated.


Analysis Complete.


Fri Jul 17 03:21:57 PDT 2026

Done.

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

Extracting fit parameters...

4FGL J0416.5-1852
   Spectrum: PowerLaw
265    Prefactor:  0.000e+00  4.718e-06  0.000e+00  1.000e+06 ( 1.000e-12)
266        Index:  2.395e+00  0.000e+00  0.000e+00  1.000e+01 (-1.000e+00) fixed
267        Scale:  7.587e+02  0.000e+00  3.000e+01  5.000e+05 ( 1.000e+00) fixed

GAL_V02
   Spectrum: PowerLaw
482    Prefactor:  8.104e-01  1.118e-01  0.000e+00  1.000e+01 ( 1.000e+00)
483        Index:  0.000e+00  0.000e+00 -1.000e+00  1.000e+00 ( 1.000e+00) fixed
484        Scale:  1.000e+02  0.000e+00  5.000e+01  2.000e+02 ( 1.000e+00) fixed

EG_v02
   Spectrum: FileFunction
478   Normalization:  1.139e+00  1.482e-01  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Fixed Index): 0.00
Ra Dec: 64.137 -18.872
Photon Flux Upper Limit: 4.21185839953e-08 ph cm-2 s-1
Energy Flux Upper Limit: 0.00325343071101 MeV cm-2 s-1

Saving results to:
/lscratch/kocevski/32014460/likelihoodResults_805680001_805939201_4FGL_J0416.5-1852_daily_bin2185.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): 102
logL (Free Index) = 8149.37592828
delta logL = -0.00116715189688

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

MINUIT Return Code (Free Index): 102
logL (Free Index) = 8149.37476122
delta logL = -9.01354724192e-08

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'Prefactor '    .33307E-09   1.0000          .0000       .10000E+07
     2 'Index     '    1.1547       1.0000          .0000       10.000    
     3 'Normalizat'    1.1394       1.0000         .10000E-01   10.000    
     4 'Prefactor '    .81040       1.0000          .0000       10.000    
 **********
 **   15 **SET ERR    .5000    
 **********
 **********
 **   16 **SET GRAD    1.000    
 **********
 **********
 **   17 **MINIMIZE    .4850E+05   .2000E-04
 **********

 MIGRAD MINIMIZATION HAS CONVERGED.

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

 FCN=   8149.375     FROM MIGRAD    STATUS=CONVERGED     45 CALLS      251 TOTAL
                     EDM=   .16E-09  STRATEGY=1  ERROR MATRIX UNCERTAINTY=100.0%

  EXT PARAMETER                APPROXIMATE        STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor      .0000        .51933        .42118E-03** at limit **
   2  Index         3.1134        1.6226       -.45277E-04     .0000    
   3  Normalizat    1.1394        1.1317        .53545E-04    .50168E-03
   4  Prefactor     .81035        1.1587       -.41638E-04    .61440E-03
                               ERR DEF=  .500    
Final values: 
  Prefactor  = 0
  Index      = 3.11337
  Normalizat = 1.13942
  Prefactor  = 0.810351
 **********
 **   18 **HESSE 
 **********
  MNHESS FAILS AND WILL RETURN DIAGONAL MATRIX. 

 FCN=   8149.375     FROM HESSE     STATUS=FAILED         9 CALLS      260 TOTAL
                     EDM=   .16E-09  STRATEGY=1  ERROR MATRIX UNCERTAINTY=100.0%

  EXT PARAMETER                APPROXIMATE     INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  Prefactor      .0000        .51933        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   2  Index         1.0930        2.1400       -.45277E-04   -.38691    
   3  Normalizat    1.1394        1.1317        .53545E-04   -.88496    
   4  Prefactor     .81035        1.1587       -.41638E-04   -.99348    
                               ERR DEF=  .500    
Minuit fit quality: 1   estimated distance: 1.58007e-10
Minuit parameter uncertainties:
  1  4.49911e-06
  2  1.65777
  3  1.15731
  4  1.19668
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) = 8149.37476113
delta logL = -9.36779542826e-11

Extracting fit parameters...

4FGL J0416.5-1852
   Spectrum: PowerLaw
265    Prefactor:  0.000e+00  4.499e-06  0.000e+00  1.000e+06 ( 1.000e-12)
266        Index:  3.113e+00  1.658e+00  0.000e+00  1.000e+01 (-1.000e+00)
267        Scale:  7.587e+02  0.000e+00  3.000e+01  5.000e+05 ( 1.000e+00) fixed

GAL_V02
   Spectrum: PowerLaw
482    Prefactor:  8.104e-01  1.197e+00  0.000e+00  1.000e+01 ( 1.000e+00)
483        Index:  0.000e+00  0.000e+00 -1.000e+00  1.000e+00 ( 1.000e+00) fixed
484        Scale:  1.000e+02  0.000e+00  5.000e+01  2.000e+02 ( 1.000e+00) fixed

EG_v02
   Spectrum: FileFunction
478   Normalization:  1.139e+00  1.157e+00  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Free Index): 0.00
Ra Dec: 64.137 -18.872

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/32014460/cmap_HighResolution_805680001_805939201_4FGL_J0416.5-1852_daily_bin2185.png

Cleaning up...

** Nuclear option initiated! **

Updating database...

UPDATE lightcurve_data_v2 SET energy_flux_upper_limit='3.25e-03', job_status='DONE', photon_flux_upper_limit='4.21e-08', time_completed='2026-07-17 03:22:20.734160', job_id='32014460', GAL2='0.81', fit_tolerance='1e-08', EG2='1.14', EG='1.14', time_epoch_completed='1784283740.73', return_code2='101', ts='0.00', comment='SUCCESS', return_code='0', GAL='0.81', dlogl='-9.37e-11', ts2='0.00', photon_index_error='0.00', photon_index='2.39' WHERE bin_id='2185' AND source_name='4FGL J0416.5-1852' AND cadence='daily';

Database successfully updated.


Analysis Complete.


Fri Jul 17 03:22:20 PDT 2026

ts sctable="SC_DATA" srcmdl=/lscratch/kocevski/32014599/Model_4FGL_J0416.5-1852_daily_bin2185.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 Fornax A
adding source GAL_V02
Working on...
/lscratch/kocevski/32014599/ft1_filtered_4FGL_J0416.5-1852_daily_bin2185.fits.....................!
real 79.72
user 77.44
sys 1.47

Creating the likelihood object...
obs = UnbinnedObs('/lscratch/kocevski/32014599/ft1_filtered_4FGL_J0416.5-1852_daily_bin2185.fits', '/lscratch/kocevski/32014599/ft2_4FGL_J0416.5-1852_daily_bin2185.fits', expMap='/lscratch/kocevski/32014599/expmap_805680001_805939201_4FGL_J0416.5-1852_daily_bin2185.fits', expCube='/lscratch/kocevski/32014599/ltcube_805680001_805939201_4FGL_J0416.5-1852_daily_bin2185.fits', irfs='P8R3_SOURCE_V2')
like = UnbinnedAnalysis(obs, '/lscratch/kocevski/32014599/Model_4FGL_J0416.5-1852_daily_bin2185.xml', optimizer='MINUIT')

Using source of interest name: '4FGL J0416.5-1852'

4FGL J0416.5-1852
   Spectrum: PowerLaw
265    Prefactor:  1.793e+00  0.000e+00  0.000e+00  1.000e+06 ( 1.000e-12)
266        Index:  2.395e+00  0.000e+00  0.000e+00  1.000e+01 (-1.000e+00) fixed
267        Scale:  7.587e+02  0.000e+00  3.000e+01  5.000e+05 ( 1.000e+00) fixed


Likelihood Fit Parameters:
Event file(s): /lscratch/kocevski/32014599/ft1_filtered_4FGL_J0416.5-1852_daily_bin2185.fits
Spacecraft file(s): /lscratch/kocevski/32014599/ft2_4FGL_J0416.5-1852_daily_bin2185.fits
Exposure map: /lscratch/kocevski/32014599/expmap_805680001_805939201_4FGL_J0416.5-1852_daily_bin2185.fits
Exposure cube: /lscratch/kocevski/32014599/ltcube_805680001_805939201_4FGL_J0416.5-1852_daily_bin2185.fits
IRFs: P8R3_SOURCE_V2
Source model file: /lscratch/kocevski/32014599/Model_4FGL_J0416.5-1852_daily_bin2185.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) = 8149.37482074

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

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

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'Prefactor '    .80685E-03   1.0000          .0000       .10000E+07
     2 'Prefactor '    .74013E-06   1.0000          .0000       .10000E+07
     3 'Prefactor '    .40806E-06   1.0000          .0000       .10000E+07
     4 'Prefactor '    .49133       1.0000          .0000       .10000E+07
     5 'norm      '    .13149       1.0000          .0000       .10000E+07
     6 'Prefactor '    .22209E-03   1.0000          .0000       .10000E+07
     7 'norm      '    1.3264       1.0000          .0000       .10000E+07
     8 'Prefactor '    .42018E-05   1.0000          .0000       .10000E+07
     9 'Prefactor '    .11102E-08   1.0000          .0000       .10000E+07
    10 'norm      '    8.0655       1.0000          .0000       .10000E+07
    11 'Prefactor '    2.0887       1.0000          .0000       .10000E+07
    12 'Prefactor '    .37611E-02   1.0000          .0000       .10000E+07
    13 'Prefactor '    .16653E-08   1.0000          .0000       .10000E+07
    14 'Prefactor '    .36862E-03   1.0000          .0000       .10000E+07
    15 'Prefactor '    .61742E-03   1.0000          .0000       .10000E+07
    16 'norm      '    41.006       1.0000          .0000       .10000E+07
    17 'Prefactor '    4.7541       1.0000          .0000       .10000E+07
    18 'norm      '    1.6217       1.0000          .0000       .10000E+07
    19 'Normalizat'    1.1393       1.0000         .10000E-01   10.000    
    20 'Prefactor '    .81037       1.0000          .0000       10.000    
 **********
 **   15 **SET ERR    .5000    
 **********
 **********
 **   16 **SET GRAD    1.000    
 **********
 **********
 **   17 **MINIMIZE    .4850E+05   .2000E-04
 **********

 MIGRAD MINIMIZATION HAS CONVERGED.

 FCN=   8149.375     FROM MIGRAD    STATUS=CONVERGED    117 CALLS     1509 TOTAL
                     EDM=   .59E-09  STRATEGY=1  ERROR MATRIX UNCERTAINTY=  1.1%

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor     .56455E-07    10.167        .53469E-07** at limit **
   2  Prefactor      .0000        1.4641       -.19472E-08** at limit **
   3  Prefactor     .55511E-10    1.9730        .49221E-07** at limit **
   4  Prefactor     .48949        4.7150       -.44903E-07   -.15263E-02
   5  norm          .13134        .46114       -.95034E-08** at limit **
   6  Prefactor     .11874E-06    2.8438       -.20286E-07** at limit **
   7  norm          1.3268        1.2129        .22758E-07    .23613E-02
   8  Prefactor     .61062E-09    4.7019       -.40027E-07** at limit **
   9  Prefactor     .55511E-10    .66332       -.81376E-07** at limit **
  10  norm          8.0794        10.678        .12824E-07    .12501E-01
  11  Prefactor     2.0547        9.1455       -.21808E-07    .34114E-01
  12  Prefactor     .51181E-06    15.563        .47976E-07** at limit **
  13  Prefactor      .0000        .97068        .27997E-07** at limit **
  14  Prefactor     .23870E-07    3.0628       -.25919E-07** at limit **
  15  Prefactor     .13517E-06    4.4696       -.30298E-07** at limit **
  16  norm          41.002        1.3827       -.17419E-08    .39955E-01
  17  Prefactor     4.7371        1.3622        .56329E-08   -.15916E-02
  18  norm          1.6217        .23368       -.45261E-08   -.32071E-01
  19  Normalizat    1.1394        .16623       -.11095E-05   -.25252E-03
  20  Prefactor     .81035        .12838        .27308E-06   -.19950E-03
                               ERR DEF=  .500    
Final values: 
  Prefactor  = 5.64548e-08
  Prefactor  = 0
  Prefactor  = 5.55112e-11
  Prefactor  = 0.489491
  norm       = 0.131343
  Prefactor  = 1.18738e-07
  norm       = 1.32679
  Prefactor  = 6.10623e-10
  Prefactor  = 5.55112e-11
  norm       = 8.07937
  Prefactor  = 2.05472
  Prefactor  = 5.11813e-07
  Prefactor  = 0
  Prefactor  = 2.38698e-08
  Prefactor  = 1.3517e-07
  norm       = 41.0024
  Prefactor  = 4.73707
  norm       = 1.62168
  Normalizat = 1.13942
  Prefactor  = 0.810351
 **********
 **   18 **HESSE 
 **********

 FCN=   8149.375     FROM HESSE     STATUS=OK           329 CALLS     1838 TOTAL
                     EDM=   .49E-05    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  Prefactor     .56455E-07    11.254        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   2  Prefactor      .0000        1.4512        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   3  Prefactor     .55511E-10    1.9699        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   4  Prefactor     .48949        4.7475        .79587E-03   -1.5694    
   5  norm          .13134        .46857        .13151E-02   -1.5701    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   6  Prefactor     .11874E-06    9.7082        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   7  norm          1.3268        1.2401        .95395E-03   -1.5685    
   8  Prefactor     .61062E-09    4.7142        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   9  Prefactor     .55511E-10    .66303        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  10  norm          8.0794        11.047        .35280E-03   -1.5651    
  11  Prefactor     2.0547        74.578        .71406E-03   -1.5679    
  12  Prefactor     .51181E-06    16.819        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  13  Prefactor      .0000        .97404        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  14  Prefactor     .23870E-07    9.6634        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  15  Prefactor     .13517E-06    9.2701        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  16  norm          41.002        109.24        .15618E-03   -1.5580    
  17  Prefactor     4.7371        16.491        .46122E-03   -1.5664    
  18  norm          1.6217        .23485        .36222E-03   -1.5682    
  19  Normalizat    1.1394        .14811        .54119E-01   -.88496    
  20  Prefactor     .81035        .11173        .43852E-01   -.99348    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 4.9077e-06
Minuit parameter uncertainties:
  1  0.00159423
  2  6.63059e-07
  3  2.44164e-05
  4  3.04883
  5  0.468573
  6  0.0021473
  7  1.24005
  8  0.000106462
  9  1.3624e-05
  10  11.0473
  11  24.7581
  12  0.00586802
  13  4.71768e-06
  14  0.000960805
  15  0.00223878
  16  109.242
  17  16.4909
  18  0.234848
  19  0.14816
  20  0.111761
Done.

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

Extracting fit parameters...

4FGL J0416.5-1852
   Spectrum: PowerLaw
265    Prefactor:  0.000e+00  4.718e-06  0.000e+00  1.000e+06 ( 1.000e-12)
266        Index:  2.395e+00  0.000e+00  0.000e+00  1.000e+01 (-1.000e+00) fixed
267        Scale:  7.587e+02  0.000e+00  3.000e+01  5.000e+05 ( 1.000e+00) fixed

GAL_V02
   Spectrum: PowerLaw
482    Prefactor:  8.104e-01  1.118e-01  0.000e+00  1.000e+01 ( 1.000e+00)
483        Index:  0.000e+00  0.000e+00 -1.000e+00  1.000e+00 ( 1.000e+00) fixed
484        Scale:  1.000e+02  0.000e+00  5.000e+01  2.000e+02 ( 1.000e+00) fixed

EG_v02
   Spectrum: FileFunction
478   Normalization:  1.139e+00  1.482e-01  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Fixed Index): 0.00
Ra Dec: 64.137 -18.872
Photon Flux Upper Limit: 4.21185839953e-08 ph cm-2 s-1
Energy Flux Upper Limit: 0.00325343071101 MeV cm-2 s-1

Saving results to:
/lscratch/kocevski/32014599/likelihoodResults_805680001_805939201_4FGL_J0416.5-1852_daily_bin2185.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): 102
logL (Free Index) = 8149.37592828
delta logL = -0.00116715189688

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

MINUIT Return Code (Free Index): 102
logL (Free Index) = 8149.37476122
delta logL = -9.01354724192e-08

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'Prefactor '    .33307E-09   1.0000          .0000       .10000E+07
     2 'Index     '    1.1547       1.0000          .0000       10.000    
     3 'Normalizat'    1.1394       1.0000         .10000E-01   10.000    
     4 'Prefactor '    .81040       1.0000          .0000       10.000    
 **********
 **   15 **SET ERR    .5000    
 **********
 **********
 **   16 **SET GRAD    1.000    
 **********
 **********
 **   17 **MINIMIZE    .4850E+05   .2000E-04
 **********

 MIGRAD MINIMIZATION HAS CONVERGED.

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

 FCN=   8149.375     FROM MIGRAD    STATUS=CONVERGED     45 CALLS      251 TOTAL
                     EDM=   .16E-09  STRATEGY=1  ERROR MATRIX UNCERTAINTY=100.0%

  EXT PARAMETER                APPROXIMATE        STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor      .0000        .51933        .42118E-03** at limit **
   2  Index         3.1134        1.6226       -.45277E-04     .0000    
   3  Normalizat    1.1394        1.1317        .53545E-04    .50168E-03
   4  Prefactor     .81035        1.1587       -.41638E-04    .61440E-03
                               ERR DEF=  .500    
Final values: 
  Prefactor  = 0
  Index      = 3.11337
  Normalizat = 1.13942
  Prefactor  = 0.810351
 **********
 **   18 **HESSE 
 **********
  MNHESS FAILS AND WILL RETURN DIAGONAL MATRIX. 

 FCN=   8149.375     FROM HESSE     STATUS=FAILED         9 CALLS      260 TOTAL
                     EDM=   .16E-09  STRATEGY=1  ERROR MATRIX UNCERTAINTY=100.0%

  EXT PARAMETER                APPROXIMATE     INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  Prefactor      .0000        .51933        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   2  Index         1.0930        2.1400       -.45277E-04   -.38691    
   3  Normalizat    1.1394        1.1317        .53545E-04   -.88496    
   4  Prefactor     .81035        1.1587       -.41638E-04   -.99348    
                               ERR DEF=  .500    
Minuit fit quality: 1   estimated distance: 1.58007e-10
Minuit parameter uncertainties:
  1  4.49911e-06
  2  1.65777
  3  1.15731
  4  1.19668
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) = 8149.37476113
delta logL = -9.36779542826e-11

Extracting fit parameters...

4FGL J0416.5-1852
   Spectrum: PowerLaw
265    Prefactor:  0.000e+00  4.499e-06  0.000e+00  1.000e+06 ( 1.000e-12)
266        Index:  3.113e+00  1.658e+00  0.000e+00  1.000e+01 (-1.000e+00)
267        Scale:  7.587e+02  0.000e+00  3.000e+01  5.000e+05 ( 1.000e+00) fixed

GAL_V02
   Spectrum: PowerLaw
482    Prefactor:  8.104e-01  1.197e+00  0.000e+00  1.000e+01 ( 1.000e+00)
483        Index:  0.000e+00  0.000e+00 -1.000e+00  1.000e+00 ( 1.000e+00) fixed
484        Scale:  1.000e+02  0.000e+00  5.000e+01  2.000e+02 ( 1.000e+00) fixed

EG_v02
   Spectrum: FileFunction
478   Normalization:  1.139e+00  1.157e+00  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Free Index): 0.00
Ra Dec: 64.137 -18.872

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/32014599/cmap_HighResolution_805680001_805939201_4FGL_J0416.5-1852_daily_bin2185.png

Cleaning up...

** Nuclear option initiated! **

Updating database...

UPDATE lightcurve_data_v2 SET energy_flux_upper_limit='3.25e-03', job_status='DONE', photon_flux_upper_limit='4.21e-08', time_completed='2026-07-17 03:23:59.259025', job_id='32014599', GAL2='0.81', fit_tolerance='1e-08', EG2='1.14', EG='1.14', time_epoch_completed='1784283839.26', return_code2='101', ts='0.00', comment='SUCCESS', return_code='0', GAL='0.81', dlogl='-9.37e-11', ts2='0.00', photon_index_error='0.00', photon_index='2.39' WHERE bin_id='2185' AND source_name='4FGL J0416.5-1852' AND cadence='daily';

Database successfully updated.


Analysis Complete.


Fri Jul 17 03:23:59 PDT 2026

