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

 FCN=   7478.787     FROM HESSE     STATUS=OK           331 CALLS     1929 TOTAL
                     EDM=   .72E-06    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  Prefactor     .30531E-08    3.6824        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   2  norm          .43856        .31947        .85114E-03   -1.5695    
   3  norm          7.4652        4.3575        .36658E-03   -1.5653    
   4  Prefactor     .42522E-07    4.7559        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   5  Prefactor      .0000        1.2883        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   6  Prefactor     .57260E-05    13.232        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   7  norm          6.3125        6.8565        .39524E-03   -1.5658    
   8  Prefactor      .0000        1.1520        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   9  Prefactor     106.40        14.795        .96944E-04   -1.5502    
  10  norm          .90816E-07    5.5493        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  11  Prefactor     1.1793        1.6062        .10532E-02   -1.5686    
  12  Prefactor     .52403E-07    30.175        .14498E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  13  Prefactor     .13414E-05    15.975        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  14  norm          .89526        8.3431        .43184E-03   -1.5689    
  15  Prefactor      .0000        1.1594        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  16  Prefactor     55.167        19.554        .13467E-03   -1.5559    
  17  Prefactor     .17443E-05    11.290        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  18  Prefactor     .33973E-07    15.641        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  19  Normalizat    1.4627        .17319        .53825E-01   -.78832    
  20  Prefactor     .55429        .12594        .60604E-01   -1.0955    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 7.22471e-07
Minuit parameter uncertainties:
  1  0.000212902
  2  0.319468
  3  4.3575
  4  0.000899146
  5  1.2581e-06
  6  0.017409
  7  6.8565
  8  2.7638e-06
  9  14.7946
  10  0.0014198
  11  1.60619
  12  0.00251469
  13  0.00925843
  14  5.46601
  15  4.92616e-06
  16  19.5537
  17  0.00887544
  18  0.00145832
  19  0.173255
  20  0.126004
/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).

Done.

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

Extracting fit parameters...

4FGL J1118.2-0415
   Spectrum: PowerLaw
282    Prefactor:  0.000e+00  1.258e-06  0.000e+00  1.000e+06 ( 1.000e-12)
283        Index:  2.639e+00  0.000e+00  0.000e+00  1.000e+01 (-1.000e+00) fixed
284        Scale:  6.866e+02  0.000e+00  3.000e+01  5.000e+05 ( 1.000e+00) fixed

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

EG_v02
   Spectrum: FileFunction
609   Normalization:  1.463e+00  1.733e-01  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Fixed Index): 0.00
Ra Dec: 169.575 -4.254
Photon Flux Upper Limit: 5.76983889178e-08 ph cm-2 s-1
Energy Flux Upper Limit: 0.00452595309715 MeV cm-2 s-1

Saving results to:
/lscratch/kocevski/31336990/likelihoodResults_805161601_805420801_4FGL_J1118.2-0415_daily_bin2183.txt

Performing a free index iterative likelihood fit...

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

Done.

Freeing candidate source...
Done.

Fit tolerance = 1

Performing likelihood fit...
Done.

MINUIT Return Code (Free Index): 0
logL (Free Index) = 7478.7890034
delta logL = -0.00192901314767

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

MINUIT Return Code (Free Index): 102
logL (Free Index) = 7478.78707439
delta logL = -4.78758011013e-09

Fit tolerance = 1e-08

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

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

 MIGRAD MINIMIZATION HAS CONVERGED.

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

 FCN=   7478.787     FROM MIGRAD    STATUS=CONVERGED     45 CALLS      252 TOTAL
                     EDM=   .48E-09  STRATEGY=1  ERROR MATRIX UNCERTAINTY=100.0%

  EXT PARAMETER                APPROXIMATE        STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor      .0000        1.0234        .42118E-03** at limit **
   2  Index         3.1268        1.9999        .17061E-03     .0000    
   3  Normalizat    1.4627        1.0538        .31548E-04   -.95479E-04
   4  Prefactor     .55429        .90004       -.28550E-05   -.48969E-03
                               ERR DEF=  .500    
Final values: 
  Prefactor  = 0
  Index      = 3.12676
  Normalizat = 1.4627
  Prefactor  = 0.554288
 **********
 **   18 **HESSE 
 **********
  MNHESS FAILS AND WILL RETURN DIAGONAL MATRIX. 

 FCN=   7478.787     FROM HESSE     STATUS=FAILED         9 CALLS      261 TOTAL
                     EDM=   .48E-09  STRATEGY=1  ERROR MATRIX UNCERTAINTY=100.0%

  EXT PARAMETER                APPROXIMATE     INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  Prefactor      .0000        1.0234        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   2  Index         1.1020        2.2080        .17061E-03   -.38402    
   3  Normalizat    1.4627        1.0538        .31548E-04   -.78832    
   4  Prefactor     .55429        .90004       -.28550E-05   -1.0955    
                               ERR DEF=  .500    
Minuit fit quality: 1   estimated distance: 4.82403e-10
Minuit parameter uncertainties:
  1  5.79979e-06
  2  2.06783
  3  1.07021
  4  0.925034
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) = 7478.78707438
delta logL = -3.47426976077e-10

Extracting fit parameters...

4FGL J1118.2-0415
   Spectrum: PowerLaw
282    Prefactor:  0.000e+00  5.800e-06  0.000e+00  1.000e+06 ( 1.000e-12)
283        Index:  3.127e+00  2.068e+00  0.000e+00  1.000e+01 (-1.000e+00)
284        Scale:  6.866e+02  0.000e+00  3.000e+01  5.000e+05 ( 1.000e+00) fixed

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

EG_v02
   Spectrum: FileFunction
609   Normalization:  1.463e+00  1.070e+00  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Free Index): 0.00
Ra Dec: 169.575 -4.254

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/31336990/cmap_HighResolution_805161601_805420801_4FGL_J1118.2-0415_daily_bin2183.png

Cleaning up...

** Nuclear option initiated! **

Updating database...

UPDATE lightcurve_data_v2 SET energy_flux_upper_limit='4.53e-03', job_status='DONE', photon_flux_upper_limit='5.77e-08', time_completed='2026-07-11 08:35:07.395467', job_id='31336990', GAL2='0.55', fit_tolerance='1e-08', EG2='1.46', EG='1.46', time_epoch_completed='1783784107.4', return_code2='101', ts='0.00', comment='SUCCESS', return_code='0', GAL='0.55', dlogl='-3.47e-10', ts2='0.00', photon_index_error='0.00', photon_index='2.64' WHERE bin_id='2183' AND source_name='4FGL J1118.2-0415' AND cadence='daily';

Database successfully updated.


Analysis Complete.


Sat Jul 11 08:35:07 PDT 2026

_V02
Working on...
/lscratch/kocevski/31337027/ft1_filtered_4FGL_J1118.2-0415_daily_bin2183.fits.....................!
real 29.54
user 27.73
sys 1.45

Creating the likelihood object...
obs = UnbinnedObs('/lscratch/kocevski/31337027/ft1_filtered_4FGL_J1118.2-0415_daily_bin2183.fits', '/lscratch/kocevski/31337027/ft2_4FGL_J1118.2-0415_daily_bin2183.fits', expMap='/lscratch/kocevski/31337027/expmap_805161601_805420801_4FGL_J1118.2-0415_daily_bin2183.fits', expCube='/lscratch/kocevski/31337027/ltcube_805161601_805420801_4FGL_J1118.2-0415_daily_bin2183.fits', irfs='P8R3_SOURCE_V2')
like = UnbinnedAnalysis(obs, '/lscratch/kocevski/31337027/Model_4FGL_J1118.2-0415_daily_bin2183.xml', optimizer='MINUIT')

Using source of interest name: '4FGL J1118.2-0415'

4FGL J1118.2-0415
   Spectrum: PowerLaw
282    Prefactor:  1.706e+00  0.000e+00  0.000e+00  1.000e+06 ( 1.000e-12)
283        Index:  2.639e+00  0.000e+00  0.000e+00  1.000e+01 (-1.000e+00) fixed
284        Scale:  6.866e+02  0.000e+00  3.000e+01  5.000e+05 ( 1.000e+00) fixed


Likelihood Fit Parameters:
Event file(s): /lscratch/kocevski/31337027/ft1_filtered_4FGL_J1118.2-0415_daily_bin2183.fits
Spacecraft file(s): /lscratch/kocevski/31337027/ft2_4FGL_J1118.2-0415_daily_bin2183.fits
Exposure map: /lscratch/kocevski/31337027/expmap_805161601_805420801_4FGL_J1118.2-0415_daily_bin2183.fits
Exposure cube: /lscratch/kocevski/31337027/ltcube_805161601_805420801_4FGL_J1118.2-0415_daily_bin2183.fits
IRFs: P8R3_SOURCE_V2
Source model file: /lscratch/kocevski/31337027/Model_4FGL_J1118.2-0415_daily_bin2183.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) = 7478.79527202

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

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

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'Prefactor '    .35888E-04   1.0000          .0000       .10000E+07
     2 'norm      '    .43888       1.0000          .0000       .10000E+07
     3 'norm      '    7.4753       1.0000          .0000       .10000E+07
     4 'Prefactor '    .45138E-03   1.0000          .0000       .10000E+07
     5 'Prefactor '    .16977E-04   1.0000          .0000       .10000E+07
     6 'Prefactor '    .14698E-02   1.0000          .0000       .10000E+07
     7 'norm      '    6.4405       1.0000          .0000       .10000E+07
     8 'Prefactor '    .10894E-04   1.0000          .0000       .10000E+07
     9 'Prefactor '    106.42       1.0000          .0000       .10000E+07
    10 'norm      '    .35577E-04   1.0000          .0000       .10000E+07
    11 'Prefactor '    1.1788       1.0000          .0000       .10000E+07
    12 'Prefactor '    .80099E-01   1.0000          .0000       .10000E+07
    13 'Prefactor '    .43559E-03   1.0000          .0000       .10000E+07
    14 'norm      '    .93776       1.0000          .0000       .10000E+07
    15 'Prefactor '    .15499E-04   1.0000          .0000       .10000E+07
    16 'Prefactor '    55.148       1.0000          .0000       .10000E+07
    17 'Prefactor '    .56288E-02   1.0000          .0000       .10000E+07
    18 'Prefactor '    .17677E-03   1.0000          .0000       .10000E+07
    19 'Normalizat'    1.4624       1.0000         .10000E-01   10.000    
    20 'Prefactor '    .55403       1.0000          .0000       10.000    
 **********
 **   15 **SET ERR    .5000    
 **********
 **********
 **   16 **SET GRAD    1.000    
 **********
 **********
 **   17 **MINIMIZE    .6130E+05   .2000E-04
 **********

 MIGRAD MINIMIZATION HAS CONVERGED.

 FCN=   7478.787     FROM MIGRAD    STATUS=CONVERGED    110 CALLS     1598 TOTAL
                     EDM=   .16E-08  STRATEGY=1  ERROR MATRIX UNCERTAINTY=  3.8%

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor     .30531E-08    3.6826        .55354E-06** at limit **
   2  norm          .43856        .31844       -.77850E-07   -.30937E-02
   3  norm          7.4652        4.3536       -.40084E-06   -.27000E-02
   4  Prefactor     .42522E-07    4.6857        .15536E-05** at limit **
   5  Prefactor      .0000        1.2909        .19443E-05** at limit **
   6  Prefactor     .57260E-05    4.7116        .13536E-05** at limit **
   7  norm          6.3125        6.8316        .30687E-06    .27844E-02
   8  Prefactor      .0000        1.1539        .35964E-07** at limit **
   9  Prefactor     106.40        1.1126       -.10564E-07    .42040E-01
  10  norm          .90816E-07    5.4226       -.13646E-05** at limit **
  11  Prefactor     1.1793        1.5719       -.30015E-06   -.11140E-03
  12  Prefactor     .52403E-07    31.099        .32318E-05** at limit **
  13  Prefactor     .13414E-05    7.8326       -.85132E-06** at limit **
  14  norm          .89526        .69594        .19492E-06   -.22543E-01
  15  Prefactor      .0000        1.1594        .39846E-06** at limit **
  16  Prefactor     55.167        1.1808        .38796E-07   -.30510E-01
  17  Prefactor     .17443E-05    8.6700        .13720E-05** at limit **
  18  Prefactor     .33973E-07    6.6364       -.51193E-06** at limit **
  19  Normalizat    1.4627        .20062        .25115E-04    .22963E-04
  20  Prefactor     .55429        .14629       -.27345E-04   -.47900E-04
                               ERR DEF=  .500    
Final values: 
  Prefactor  = 3.05311e-09
  norm       = 0.438565
  norm       = 7.46524
  Prefactor  = 4.25215e-08
  Prefactor  = 0
  Prefactor  = 5.72598e-06
  norm       = 6.31248
  Prefactor  = 0
  Prefactor  = 106.4
  norm       = 9.08162e-08
  Prefactor  = 1.17928
  Prefactor  = 5.24025e-08
  Prefactor  = 1.34143e-06
  norm       = 0.895264
  Prefactor  = 0
  Prefactor  = 55.1675
  Prefactor  = 1.74433e-06
  Prefactor  = 3.39728e-08
  Normalizat = 1.4627
  Prefactor  = 0.554291
number of points = 7570
number of fields = 31
RA_SUN column already exists. File will not be modified.
Done.


Performing analysis on: 4FGL_J1118.2-0415_daily_bin2183
RA = 169.575, Dec = -4.2539
tmin = 805161601, tmax = 805420801
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='31337285', job_status='RUN', time_executed='2026-07-11 08:34:43.059535', time_epoch_executed='1783784083.06' WHERE source_name='4FGL J1118.2-0415' and cadence='daily' and bin_id='2183'

Database successfully updated.
Done.

Creating custom output directory:
/lscratch/kocevski/31337285

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

Retrieving the FT1 file...

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

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

Retrieving 47 files...
Done.


Merging files...

Checksum keywords updated successfully.

Merged file saved to:
/lscratch/kocevski/31337285/ft1_4FGL_J1118.2-0415_daily_bin2183.fits


Retrieving the FT1 file...

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

Retrieving 47 files...
Done.


Merging files...

Merged file saved to:
/lscratch/kocevski/31337285/ft2_4FGL_J1118.2-0415_daily_bin2183.fits


Selecting the photons:
time -p gtselect infile=/lscratch/kocevski/31337285/ft1_4FGL_J1118.2-0415_daily_bin2183.fits outfile=/lscratch/kocevski/31337285/ft1_filteredMKT_4FGL_J1118.2-0415_daily_bin2183.fits ra=169.575 dec=-4.2539 rad=12.0 tmin=805161601.0 tmax=805420801.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.45
user 2.02
sys 0.18

Adding sun position to ft2 file:
/sdf/group/fermi/g/LCRepository/Repository/bin/sunpos /lscratch/kocevski/31337285/ft2_4FGL_J1118.2-0415_daily_bin2183.fits

Selecting the good time intervals:
time -p gtmktime scfile=/lscratch/kocevski/31337285/ft2_4FGL_J1118.2-0415_daily_bin2183.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/31337285/ft1_filteredMKT_4FGL_J1118.2-0415_daily_bin2183.fits evtable="EVENTS" outfile="/lscratch/kocevski/31337285/ft1_filtered_4FGL_J1118.2-0415_daily_bin2183.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.53
user 0.20
sys 0.13

Number of photons that the gtmktime cut: 710

Generating the livetime cube:
time -p gtltcube evfile="/lscratch/kocevski/31337285/ft1_filtered_4FGL_J1118.2-0415_daily_bin2183.fits" evtable="EVENTS" scfile=/lscratch/kocevski/31337285/ft2_4FGL_J1118.2-0415_daily_bin2183.fits sctable="SC_DATA" ou **********
 **   18 **HESSE 
 **********

 FCN=   7478.787     FROM HESSE     STATUS=OK           331 CALLS     1929 TOTAL
                     EDM=   .72E-06    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  Prefactor     .30531E-08    3.6824        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   2  norm          .43856        .31947        .85114E-03   -1.5695    
   3  norm          7.4652        4.3575        .36658E-03   -1.5653    
   4  Prefactor     .42522E-07    4.7559        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   5  Prefactor      .0000        1.2883        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   6  Prefactor     .57260E-05    13.232        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   7  norm          6.3125        6.8565        .39524E-03   -1.5658    
   8  Prefactor      .0000        1.1520        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   9  Prefactor     106.40        14.795        .96944E-04   -1.5502    
  10  norm          .90816E-07    5.5493        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  11  Prefactor     1.1793        1.6062        .10532E-02   -1.5686    
  12  Prefactor     .52403E-07    30.175        .14498E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  13  Prefactor     .13414E-05    15.975        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  14  norm          .89526        8.3431        .43184E-03   -1.5689    
  15  Prefactor      .0000        1.1594        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  16  Prefactor     55.167        19.554        .13467E-03   -1.5559    
  17  Prefactor     .17443E-05    11.290        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  18  Prefactor     .33973E-07    15.641        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  19  Normalizat    1.4627        .17319        .53825E-01   -.78832    
  20  Prefactor     .55429        .12594        .60604E-01   -1.0955    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 7.22471e-07
Minuit parameter uncertainties:
  1  0.000212902
  2  0.319468
  3  4.3575
  4  0.000899146
  5  1.2581e-06
  6  0.017409
  7  6.8565
  8  2.7638e-06
  9  14.7946
  10  0.0014198
  11  1.60619
  12  0.00251469
  13  0.00925843
  14  5.46601
  15  4.92616e-06
  16  19.5537
  17  0.00887544
  18  0.00145832
  19  0.173255
  20  0.126004
_V02
Working on...
/lscratch/kocevski/31337033/ft1_filtered_4FGL_J1118.2-0415_daily_bin2183.fits.....................!
real 30.19
user 28.65
sys 1.16

Creating the likelihood object...
obs = UnbinnedObs('/lscratch/kocevski/31337033/ft1_filtered_4FGL_J1118.2-0415_daily_bin2183.fits', '/lscratch/kocevski/31337033/ft2_4FGL_J1118.2-0415_daily_bin2183.fits', expMap='/lscratch/kocevski/31337033/expmap_805161601_805420801_4FGL_J1118.2-0415_daily_bin2183.fits', expCube='/lscratch/kocevski/31337033/ltcube_805161601_805420801_4FGL_J1118.2-0415_daily_bin2183.fits', irfs='P8R3_SOURCE_V2')
like = UnbinnedAnalysis(obs, '/lscratch/kocevski/31337033/Model_4FGL_J1118.2-0415_daily_bin2183.xml', optimizer='MINUIT')

Using source of interest name: '4FGL J1118.2-0415'

4FGL J1118.2-0415
   Spectrum: PowerLaw
282    Prefactor:  1.706e+00  0.000e+00  0.000e+00  1.000e+06 ( 1.000e-12)
283        Index:  2.639e+00  0.000e+00  0.000e+00  1.000e+01 (-1.000e+00) fixed
284        Scale:  6.866e+02  0.000e+00  3.000e+01  5.000e+05 ( 1.000e+00) fixed


Likelihood Fit Parameters:
Event file(s): /lscratch/kocevski/31337033/ft1_filtered_4FGL_J1118.2-0415_daily_bin2183.fits
Spacecraft file(s): /lscratch/kocevski/31337033/ft2_4FGL_J1118.2-0415_daily_bin2183.fits
Exposure map: /lscratch/kocevski/31337033/expmap_805161601_805420801_4FGL_J1118.2-0415_daily_bin2183.fits
Exposure cube: /lscratch/kocevski/31337033/ltcube_805161601_805420801_4FGL_J1118.2-0415_daily_bin2183.fits
IRFs: P8R3_SOURCE_V2
Source model file: /lscratch/kocevski/31337033/Model_4FGL_J1118.2-0415_daily_bin2183.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) = 7478.79527202

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

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

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'Prefactor '    .35888E-04   1.0000          .0000       .10000E+07
     2 'norm      '    .43888       1.0000          .0000       .10000E+07
     3 'norm      '    7.4753       1.0000          .0000       .10000E+07
     4 'Prefactor '    .45138E-03   1.0000          .0000       .10000E+07
     5 'Prefactor '    .16977E-04   1.0000          .0000       .10000E+07
     6 'Prefactor '    .14698E-02   1.0000          .0000       .10000E+07
     7 'norm      '    6.4405       1.0000          .0000       .10000E+07
     8 'Prefactor '    .10894E-04   1.0000          .0000       .10000E+07
     9 'Prefactor '    106.42       1.0000          .0000       .10000E+07
    10 'norm      '    .35577E-04   1.0000          .0000       .10000E+07
    11 'Prefactor '    1.1788       1.0000          .0000       .10000E+07
    12 'Prefactor '    .80099E-01   1.0000          .0000       .10000E+07
    13 'Prefactor '    .43559E-03   1.0000          .0000       .10000E+07
    14 'norm      '    .93776       1.0000          .0000       .10000E+07
    15 'Prefactor '    .15499E-04   1.0000          .0000       .10000E+07
    16 'Prefactor '    55.148       1.0000          .0000       .10000E+07
    17 'Prefactor '    .56288E-02   1.0000          .0000       .10000E+07
    18 'Prefactor '    .17677E-03   1.0000          .0000       .10000E+07
    19 'Normalizat'    1.4624       1.0000         .10000E-01   10.000    
    20 'Prefactor '    .55403       1.0000          .0000       10.000    
 **********
 **   15 **SET ERR    .5000    
 **********
 **********
 **   16 **SET GRAD    1.000    
 **********
 **********
 **   17 **MINIMIZE    .6130E+05   .2000E-04
 **********

 MIGRAD MINIMIZATION HAS CONVERGED.

 FCN=   7478.787     FROM MIGRAD    STATUS=CONVERGED    110 CALLS     1598 TOTAL
                     EDM=   .16E-08  STRATEGY=1  ERROR MATRIX UNCERTAINTY=  3.8%

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor     .30531E-08    3.6826        .55354E-06** at limit **
   2  norm          .43856        .31844       -.77850E-07   -.30937E-02
   3  norm          7.4652        4.3536       -.40084E-06   -.27000E-02
   4  Prefactor     .42522E-07    4.6857        .15536E-05** at limit **
   5  Prefactor      .0000        1.2909        .19443E-05** at limit **
   6  Prefactor     .57260E-05    4.7116        .13536E-05** at limit **
   7  norm          6.3125        6.8316        .30687E-06    .27844E-02
   8  Prefactor      .0000        1.1539        .35964E-07** at limit **
   9  Prefactor     106.40        1.1126       -.10564E-07    .42040E-01
  10  norm          .90816E-07    5.4226       -.13646E-05** at limit **
  11  Prefactor     1.1793        1.5719       -.30015E-06   -.11140E-03
  12  Prefactor     .52403E-07    31.099        .32318E-05** at limit **
  13  Prefactor     .13414E-05    7.8326       -.85132E-06** at limit **
  14  norm          .89526        .69594        .19492E-06   -.22543E-01
  15  Prefactor      .0000        1.1594        .39846E-06** at limit **
  16  Prefactor     55.167        1.1808        .38796E-07   -.30510E-01
  17  Prefactor     .17443E-05    8.6700        .13720E-05** at limit **
  18  Prefactor     .33973E-07    6.6364       -.51193E-06** at limit **
  19  Normalizat    1.4627        .20062        .25115E-04    .22963E-04
  20  Prefactor     .55429        .14629       -.27345E-04   -.47900E-04
                               ERR DEF=  .500    
Final values: 
  Prefactor  = 3.05311e-09
  norm       = 0.438565
  norm       = 7.46524
  Prefactor  = 4.25215e-08
  Prefactor  = 0
  Prefactor  = 5.72598e-06
  norm       = 6.31248
  Prefactor  = 0
  Prefactor  = 106.4
  norm       = 9.08162e-08
  Prefactor  = 1.17928
  Prefactor  = 5.24025e-08
  Prefactor  = 1.34143e-06
  norm       = 0.895264
  Prefactor  = 0
  Prefactor  = 55.1675
  Prefactor  = 1.74433e-06
  Prefactor  = 3.39728e-08
  Normalizat = 1.4627
  Prefactor  = 0.554291
Done.

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

Extracting fit parameters...

4FGL J1118.2-0415
   Spectrum: PowerLaw
282    Prefactor:  0.000e+00  1.258e-06  0.000e+00  1.000e+06 ( 1.000e-12)
283        Index:  2.639e+00  0.000e+00  0.000e+00  1.000e+01 (-1.000e+00) fixed
284        Scale:  6.866e+02  0.000e+00  3.000e+01  5.000e+05 ( 1.000e+00) fixed

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

EG_v02
   Spectrum: FileFunction
609   Normalization:  1.463e+00  1.733e-01  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Fixed Index): 0.00
Ra Dec: 169.575 -4.254
Photon Flux Upper Limit: 5.76983889178e-08 ph cm-2 s-1
Energy Flux Upper Limit: 0.00452595309715 MeV cm-2 s-1

Saving results to:
/lscratch/kocevski/31337027/likelihoodResults_805161601_805420801_4FGL_J1118.2-0415_daily_bin2183.txt

Performing a free index iterative likelihood fit...

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

Done.

Freeing candidate source...
Done.

Fit tolerance = 1

Performing likelihood fit...
Done.

MINUIT Return Code (Free Index): 0
logL (Free Index) = 7478.7890034
delta logL = -0.00192901314767

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

MINUIT Return Code (Free Index): 102
logL (Free Index) = 7478.78707439
delta logL = -4.78758011013e-09

Fit tolerance = 1e-08

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

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

 MIGRAD MINIMIZATION HAS CONVERGED.

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

 FCN=   7478.787     FROM MIGRAD    STATUS=CONVERGED     45 CALLS      252 TOTAL
                     EDM=   .48E-09  STRATEGY=1  ERROR MATRIX UNCERTAINTY=100.0%

  EXT PARAMETER                APPROXIMATE        STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor      .0000        1.0234        .42118E-03** at limit **
   2  Index         3.1268        1.9999        .17061E-03     .0000    
   3  Normalizat    1.4627        1.0538        .31548E-04   -.95479E-04
   4  Prefactor     .55429        .90004       -.28550E-05   -.48969E-03
                               ERR DEF=  .500    
Final values: 
  Prefactor  = 0
  Index      = 3.12676
  Normalizat = 1.4627
  Prefactor  = 0.554288
 **********
 **   18 **HESSE 
 **********
  MNHESS FAILS AND WILL RETURN DIAGONAL MATRIX. 

 FCN=   7478.787     FROM HESSE     STATUS=FAILED         9 CALLS      261 TOTAL
                     EDM=   .48E-09  STRATEGY=1  ERROR MATRIX UNCERTAINTY=100.0%

  EXT PARAMETER                APPROXIMATE     INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  Prefactor      .0000        1.0234        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   2  Index         1.1020        2.2080        .17061E-03   -.38402    
   3  Normalizat    1.4627        1.0538        .31548E-04   -.78832    
   4  Prefactor     .55429        .90004       -.28550E-05   -1.0955    
                               ERR DEF=  .500    
Minuit fit quality: 1   estimated distance: 4.82403e-10
Minuit parameter uncertainties:
  1  5.79979e-06
  2  2.06783
  3  1.07021
  4  0.925034
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) = 7478.78707438
delta logL = -3.47426976077e-10

Extracting fit parameters...

4FGL J1118.2-0415
   Spectrum: PowerLaw
282    Prefactor:  0.000e+00  5.800e-06  0.000e+00  1.000e+06 ( 1.000e-12)
283        Index:  3.127e+00  2.068e+00  0.000e+00  1.000e+01 (-1.000e+00)
284        Scale:  6.866e+02  0.000e+00  3.000e+01  5.000e+05 ( 1.000e+00) fixed

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

EG_v02
   Spectrum: FileFunction
609   Normalization:  1.463e+00  1.070e+00  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Free Index): 0.00
Ra Dec: 169.575 -4.254

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/31337027/cmap_HighResolution_805161601_805420801_4FGL_J1118.2-0415_daily_bin2183.png

Cleaning up...

** Nuclear option initiated! **

Updating database...

UPDATE lightcurve_data_v2 SET energy_flux_upper_limit='4.53e-03', job_status='DONE', photon_flux_upper_limit='5.77e-08', time_completed='2026-07-11 08:36:01.196029', job_id='31337027', GAL2='0.55', fit_tolerance='1e-08', EG2='1.46', EG='1.46', time_epoch_completed='1783784161.2', return_code2='101', ts='0.00', comment='SUCCESS', return_code='0', GAL='0.55', dlogl='-3.47e-10', ts2='0.00', photon_index_error='0.00', photon_index='2.64' WHERE bin_id='2183' AND source_name='4FGL J1118.2-0415' AND cadence='daily';

Database successfully updated.


Analysis Complete.


Sat Jul 11 08:36:01 PDT 2026

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

 FCN=   7478.787     FROM HESSE     STATUS=OK           331 CALLS     1929 TOTAL
                     EDM=   .72E-06    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  Prefactor     .30531E-08    3.6824        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   2  norm          .43856        .31947        .85114E-03   -1.5695    
   3  norm          7.4652        4.3575        .36658E-03   -1.5653    
   4  Prefactor     .42522E-07    4.7559        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   5  Prefactor      .0000        1.2883        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   6  Prefactor     .57260E-05    13.232        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   7  norm          6.3125        6.8565        .39524E-03   -1.5658    
   8  Prefactor      .0000        1.1520        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   9  Prefactor     106.40        14.795        .96944E-04   -1.5502    
  10  norm          .90816E-07    5.5493        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  11  Prefactor     1.1793        1.6062        .10532E-02   -1.5686    
  12  Prefactor     .52403E-07    30.175        .14498E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  13  Prefactor     .13414E-05    15.975        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  14  norm          .89526        8.3431        .43184E-03   -1.5689    
  15  Prefactor      .0000        1.1594        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  16  Prefactor     55.167        19.554        .13467E-03   -1.5559    
  17  Prefactor     .17443E-05    11.290        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  18  Prefactor     .33973E-07    15.641        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  19  Normalizat    1.4627        .17319        .53825E-01   -.78832    
  20  Prefactor     .55429        .12594        .60604E-01   -1.0955    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 7.22471e-07
Minuit parameter uncertainties:
  1  0.000212902
  2  0.319468
  3  4.3575
  4  0.000899146
  5  1.2581e-06
  6  0.017409
  7  6.8565
  8  2.7638e-06
  9  14.7946
  10  0.0014198
  11  1.60619
  12  0.00251469
  13  0.00925843
  14  5.46601
  15  4.92616e-06
  16  19.5537
  17  0.00887544
  18  0.00145832
  19  0.173255
  20  0.126004
Done.

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

Extracting fit parameters...

4FGL J1118.2-0415
   Spectrum: PowerLaw
282    Prefactor:  0.000e+00  1.258e-06  0.000e+00  1.000e+06 ( 1.000e-12)
283        Index:  2.639e+00  0.000e+00  0.000e+00  1.000e+01 (-1.000e+00) fixed
284        Scale:  6.866e+02  0.000e+00  3.000e+01  5.000e+05 ( 1.000e+00) fixed

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

EG_v02
   Spectrum: FileFunction
609   Normalization:  1.463e+00  1.733e-01  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Fixed Index): 0.00
Ra Dec: 169.575 -4.254
Photon Flux Upper Limit: 5.76983889178e-08 ph cm-2 s-1
Energy Flux Upper Limit: 0.00452595309715 MeV cm-2 s-1

Saving results to:
/lscratch/kocevski/31337033/likelihoodResults_805161601_805420801_4FGL_J1118.2-0415_daily_bin2183.txt

Performing a free index iterative likelihood fit...

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

Done.

Freeing candidate source...
Done.

Fit tolerance = 1

Performing likelihood fit...
Done.

MINUIT Return Code (Free Index): 0
logL (Free Index) = 7478.7890034
delta logL = -0.00192901314767

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

MINUIT Return Code (Free Index): 102
logL (Free Index) = 7478.78707439
delta logL = -4.78758011013e-09

Fit tolerance = 1e-08

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

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

 MIGRAD MINIMIZATION HAS CONVERGED.

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

 FCN=   7478.787     FROM MIGRAD    STATUS=CONVERGED     45 CALLS      252 TOTAL
                     EDM=   .48E-09  STRATEGY=1  ERROR MATRIX UNCERTAINTY=100.0%

  EXT PARAMETER                APPROXIMATE        STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor      .0000        1.0234        .42118E-03** at limit **
   2  Index         3.1268        1.9999        .17061E-03     .0000    
   3  Normalizat    1.4627        1.0538        .31548E-04   -.95479E-04
   4  Prefactor     .55429        .90004       -.28550E-05   -.48969E-03
                               ERR DEF=  .500    
Final values: 
  Prefactor  = 0
  Index      = 3.12676
  Normalizat = 1.4627
  Prefactor  = 0.554288
 **********
 **   18 **HESSE 
 **********
  MNHESS FAILS AND WILL RETURN DIAGONAL MATRIX. 

 FCN=   7478.787     FROM HESSE     STATUS=FAILED         9 CALLS      261 TOTAL
                     EDM=   .48E-09  STRATEGY=1  ERROR MATRIX UNCERTAINTY=100.0%

  EXT PARAMETER                APPROXIMATE     INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  Prefactor      .0000        1.0234        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   2  Index         1.1020        2.2080        .17061E-03   -.38402    
   3  Normalizat    1.4627        1.0538        .31548E-04   -.78832    
   4  Prefactor     .55429        .90004       -.28550E-05   -1.0955    
                               ERR DEF=  .500    
Minuit fit quality: 1   estimated distance: 4.82403e-10
Minuit parameter uncertainties:
  1  5.79979e-06
  2  2.06783
  3  1.07021
  4  0.925034
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) = 7478.78707438
delta logL = -3.47426976077e-10

Extracting fit parameters...

4FGL J1118.2-0415
   Spectrum: PowerLaw
282    Prefactor:  0.000e+00  5.800e-06  0.000e+00  1.000e+06 ( 1.000e-12)
283        Index:  3.127e+00  2.068e+00  0.000e+00  1.000e+01 (-1.000e+00)
284        Scale:  6.866e+02  0.000e+00  3.000e+01  5.000e+05 ( 1.000e+00) fixed

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

EG_v02
   Spectrum: FileFunction
609   Normalization:  1.463e+00  1.070e+00  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Free Index): 0.00
Ra Dec: 169.575 -4.254

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/31337033/cmap_HighResolution_805161601_805420801_4FGL_J1118.2-0415_daily_bin2183.png

Cleaning up...

** Nuclear option initiated! **

Updating database...

UPDATE lightcurve_data_v2 SET energy_flux_upper_limit='4.53e-03', job_status='DONE', photon_flux_upper_limit='5.77e-08', time_completed='2026-07-11 08:36:38.953136', job_id='31337033', GAL2='0.55', fit_tolerance='1e-08', EG2='1.46', EG='1.46', time_epoch_completed='1783784198.95', return_code2='101', ts='0.00', comment='SUCCESS', return_code='0', GAL='0.55', dlogl='-3.47e-10', ts2='0.00', photon_index_error='0.00', photon_index='2.64' WHERE bin_id='2183' AND source_name='4FGL J1118.2-0415' AND cadence='daily';

Database successfully updated.


Analysis Complete.


Sat Jul 11 08:36:39 PDT 2026

tfile=/lscratch/kocevski/31337285/ltcube_805161601_805420801_4FGL_J1118.2-0415_daily_bin2183.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/31337285/ft2_4FGL_J1118.2-0415_daily_bin2183.fits
.....................!
real 8.09
user 7.63
sys 0.22

Generating the exposure map:
time -p gtexpmap evfile=/lscratch/kocevski/31337285/ft1_filtered_4FGL_J1118.2-0415_daily_bin2183.fits evtable="EVENTS" scfile=/lscratch/kocevski/31337285/ft2_4FGL_J1118.2-0415_daily_bin2183.fits sctable="SC_DATA" expcube=/lscratch/kocevski/31337285/ltcube_805161601_805420801_4FGL_J1118.2-0415_daily_bin2183.fits outfile=/lscratch/kocevski/31337285/expmap_805161601_805420801_4FGL_J1118.2-0415_daily_bin2183.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/31337285/ltcube_805161601_805420801_4FGL_J1118.2-0415_daily_bin2183.fits
.....................!
real 67.43
user 62.80
sys 4.01

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

Setting source of interest to:
4FGL J1118.2-0415 @ 169.575 -4.2539

Creating the counts map:
time -p gtbin evfile=/lscratch/kocevski/31337285/ft1_filtered_4FGL_J1118.2-0415_daily_bin2183.fits scfile=/lscratch/kocevski/31337285/ft2_4FGL_J1118.2-0415_daily_bin2183.fits outfile=/lscratch/kocevski/31337285/cmap_805161601_805420801_4FGL_J1118.2-0415_daily_bin2183.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=169.575 yref=-4.2539 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.21
sys 0.13

Creating the high resolution counts map:
time -p gtbin evfile=/lscratch/kocevski/31337285/ft1_filtered_4FGL_J1118.2-0415_daily_bin2183.fits scfile=/lscratch/kocevski/31337285/ft2_4FGL_J1118.2-0415_daily_bin2183.fits outfile=/lscratch/kocevski/31337285/cmap_HighResolution_805161601_805420801_4FGL_J1118.2-0415_daily_bin2183.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=169.575 yref=-4.2539 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.54
user 0.22
sys 0.12

Computing the diffuse response:
time -p gtdiffrsp evfile=/lscratch/kocevski/31337285/ft1_filtered_4FGL_J1118.2-0415_daily_bin2183.fits evtable="EVENTS" scfile=/lscratch/kocevski/31337285/ft2_4FGL_J1118.2-0415_daily_bin2183.fits sctable="SC_DATA" srcmdl=/lscratch/kocevski/31337285/Model_4FGL_J1118.2-0415_daily_bin2183.xml irfs="P8R3_SOURCE_V2" evclsmin=0 evclass="INDEF" evtype="INDEF" convert=yes chatter=2 clobber=yes debug=no gui=no mode="ql"

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

adding source EG_v02
adding source GAL_V02
Working on...
/lscratch/kocevski/31337285/ft1_filtered_4FGL_J1118.2-0415_daily_bin2183.fits.....................!
real 27.87
user 26.38
sys 0.96

Creating the likelihood object...
obs = UnbinnedObs('/lscratch/kocevski/31337285/ft1_filtered_4FGL_J1118.2-0415_daily_bin2183.fits', '/lscratch/kocevski/31337285/ft2_4FGL_J1118.2-0415_daily_bin2183.fits', expMap='/lscratch/kocevski/31337285/expmap_805161601_805420801_4FGL_J1118.2-0415_daily_bin2183.fits', expCube='/lscratch/kocevski/31337285/ltcube_805161601_805420801_4FGL_J1118.2-0415_daily_bin2183.fits', irfs='P8R3_SOURCE_V2')
like = UnbinnedAnalysis(obs, '/lscratch/kocevski/31337285/Model_4FGL_J1118.2-0415_daily_bin2183.xml', optimizer='MINUIT')

Using source of interest name: '4FGL J1118.2-0415'

4FGL J1118.2-0415
   Spectrum: PowerLaw
282    Prefactor:  1.706e+00  0.000e+00  0.000e+00  1.000e+06 ( 1.000e-12)
283        Index:  2.639e+00  0.000e+00  0.000e+00  1.000e+01 (-1.000e+00) fixed
284        Scale:  6.866e+02  0.000e+00  3.000e+01  5.000e+05 ( 1.000e+00) fixed


Likelihood Fit Parameters:
Event file(s): /lscratch/kocevski/31337285/ft1_filtered_4FGL_J1118.2-0415_daily_bin2183.fits
Spacecraft file(s): /lscratch/kocevski/31337285/ft2_4FGL_J1118.2-0415_daily_bin2183.fits
Exposure map: /lscratch/kocevski/31337285/expmap_805161601_805420801_4FGL_J1118.2-0415_daily_bin2183.fits
Exposure cube: /lscratch/kocevski/31337285/ltcube_805161601_805420801_4FGL_J1118.2-0415_daily_bin2183.fits
IRFs: P8R3_SOURCE_V2
Source model file: /lscratch/kocevski/31337285/Model_4FGL_J1118.2-0415_daily_bin2183.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) = 7478.79527202

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

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

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'Prefactor '    .35888E-04   1.0000          .0000       .10000E+07
     2 'norm      '    .43888       1.0000          .0000       .10000E+07
     3 'norm      '    7.4753       1.0000          .0000       .10000E+07
     4 'Prefactor '    .45138E-03   1.0000          .0000       .10000E+07
     5 'Prefactor '    .16977E-04   1.0000          .0000       .10000E+07
     6 'Prefactor '    .14698E-02   1.0000          .0000       .10000E+07
     7 'norm      '    6.4405       1.0000          .0000       .10000E+07
     8 'Prefactor '    .10894E-04   1.0000          .0000       .10000E+07
     9 'Prefactor '    106.42       1.0000          .0000       .10000E+07
    10 'norm      '    .35577E-04   1.0000          .0000       .10000E+07
    11 'Prefactor '    1.1788       1.0000          .0000       .10000E+07
    12 'Prefactor '    .80099E-01   1.0000          .0000       .10000E+07
    13 'Prefactor '    .43559E-03   1.0000          .0000       .10000E+07
    14 'norm      '    .93776       1.0000          .0000       .10000E+07
    15 'Prefactor '    .15499E-04   1.0000          .0000       .10000E+07
    16 'Prefactor '    55.148       1.0000          .0000       .10000E+07
    17 'Prefactor '    .56288E-02   1.0000          .0000       .10000E+07
    18 'Prefactor '    .17677E-03   1.0000          .0000       .10000E+07
    19 'Normalizat'    1.4624       1.0000         .10000E-01   10.000    
    20 'Prefactor '    .55403       1.0000          .0000       10.000    
 **********
 **   15 **SET ERR    .5000    
 **********
 **********
 **   16 **SET GRAD    1.000    
 **********
 **********
 **   17 **MINIMIZE    .6130E+05   .2000E-04
 **********

 MIGRAD MINIMIZATION HAS CONVERGED.

 FCN=   7478.787     FROM MIGRAD    STATUS=CONVERGED    110 CALLS     1598 TOTAL
                     EDM=   .16E-08  STRATEGY=1  ERROR MATRIX UNCERTAINTY=  3.8%

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor     .30531E-08    3.6826        .55354E-06** at limit **
   2  norm          .43856        .31844       -.77850E-07   -.30937E-02
   3  norm          7.4652        4.3536       -.40084E-06   -.27000E-02
   4  Prefactor     .42522E-07    4.6857        .15536E-05** at limit **
   5  Prefactor      .0000        1.2909        .19443E-05** at limit **
   6  Prefactor     .57260E-05    4.7116        .13536E-05** at limit **
   7  norm          6.3125        6.8316        .30687E-06    .27844E-02
   8  Prefactor      .0000        1.1539        .35964E-07** at limit **
   9  Prefactor     106.40        1.1126       -.10564E-07    .42040E-01
  10  norm          .90816E-07    5.4226       -.13646E-05** at limit **
  11  Prefactor     1.1793        1.5719       -.30015E-06   -.11140E-03
  12  Prefactor     .52403E-07    31.099        .32318E-05** at limit **
  13  Prefactor     .13414E-05    7.8326       -.85132E-06** at limit **
  14  norm          .89526        .69594        .19492E-06   -.22543E-01
  15  Prefactor      .0000        1.1594        .39846E-06** at limit **
  16  Prefactor     55.167        1.1808        .38796E-07   -.30510E-01
  17  Prefactor     .17443E-05    8.6700        .13720E-05** at limit **
  18  Prefactor     .33973E-07    6.6364       -.51193E-06** at limit **
  19  Normalizat    1.4627        .20062        .25115E-04    .22963E-04
  20  Prefactor     .55429        .14629       -.27345E-04   -.47900E-04
                               ERR DEF=  .500    
Final values: 
  Prefactor  = 3.05311e-09
  norm       = 0.438565
  norm       = 7.46524
  Prefactor  = 4.25215e-08
  Prefactor  = 0
  Prefactor  = 5.72598e-06
  norm       = 6.31248
  Prefactor  = 0
  Prefactor  = 106.4
  norm       = 9.08162e-08
  Prefactor  = 1.17928
  Prefactor  = 5.24025e-08
  Prefactor  = 1.34143e-06
  norm       = 0.895264
  Prefactor  = 0
  Prefactor  = 55.1675
  Prefactor  = 1.74433e-06
  Prefactor  = 3.39728e-08
  Normalizat = 1.4627
  Prefactor  = 0.554291
 **********
 **   18 **HESSE 
 **********

 FCN=   7478.787     FROM HESSE     STATUS=OK           331 CALLS     1929 TOTAL
                     EDM=   .72E-06    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  Prefactor     .30531E-08    3.6824        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   2  norm          .43856        .31947        .85114E-03   -1.5695    
   3  norm          7.4652        4.3575        .36658E-03   -1.5653    
   4  Prefactor     .42522E-07    4.7559        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   5  Prefactor      .0000        1.2883        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   6  Prefactor     .57260E-05    13.232        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   7  norm          6.3125        6.8565        .39524E-03   -1.5658    
   8  Prefactor      .0000        1.1520        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   9  Prefactor     106.40        14.795        .96944E-04   -1.5502    
  10  norm          .90816E-07    5.5493        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  11  Prefactor     1.1793        1.6062        .10532E-02   -1.5686    
  12  Prefactor     .52403E-07    30.175        .14498E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  13  Prefactor     .13414E-05    15.975        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  14  norm          .89526        8.3431        .43184E-03   -1.5689    
  15  Prefactor      .0000        1.1594        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  16  Prefactor     55.167        19.554        .13467E-03   -1.5559    
  17  Prefactor     .17443E-05    11.290        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  18  Prefactor     .33973E-07    15.641        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  19  Normalizat    1.4627        .17319        .53825E-01   -.78832    
  20  Prefactor     .55429        .12594        .60604E-01   -1.0955    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 7.22471e-07
Minuit parameter uncertainties:
  1  0.000212902
  2  0.319468
  3  4.3575
  4  0.000899146
  5  1.2581e-06
  6  0.017409
  7  6.8565
  8  2.7638e-06
  9  14.7946
  10  0.0014198
  11  1.60619
  12  0.00251469
  13  0.00925843
  14  5.46601
  15  4.92616e-06
  16  19.5537
  17  0.00887544
  18  0.00145832
  19  0.173255
  20  0.126004
Done.

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

Extracting fit parameters...

4FGL J1118.2-0415
   Spectrum: PowerLaw
282    Prefactor:  0.000e+00  1.258e-06  0.000e+00  1.000e+06 ( 1.000e-12)
283        Index:  2.639e+00  0.000e+00  0.000e+00  1.000e+01 (-1.000e+00) fixed
284        Scale:  6.866e+02  0.000e+00  3.000e+01  5.000e+05 ( 1.000e+00) fixed

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

EG_v02
   Spectrum: FileFunction
609   Normalization:  1.463e+00  1.733e-01  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Fixed Index): 0.00
Ra Dec: 169.575 -4.254
Photon Flux Upper Limit: 5.76983889178e-08 ph cm-2 s-1
Energy Flux Upper Limit: 0.00452595309715 MeV cm-2 s-1

Saving results to:
/lscratch/kocevski/31337285/likelihoodResults_805161601_805420801_4FGL_J1118.2-0415_daily_bin2183.txt

Performing a free index iterative likelihood fit...

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

Done.

Freeing candidate source...
Done.

Fit tolerance = 1

Performing likelihood fit...
Done.

MINUIT Return Code (Free Index): 0
logL (Free Index) = 7478.7890034
delta logL = -0.00192901314767

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

MINUIT Return Code (Free Index): 102
logL (Free Index) = 7478.78707439
delta logL = -4.78758011013e-09

Fit tolerance = 1e-08

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

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

 MIGRAD MINIMIZATION HAS CONVERGED.

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

 FCN=   7478.787     FROM MIGRAD    STATUS=CONVERGED     45 CALLS      252 TOTAL
                     EDM=   .48E-09  STRATEGY=1  ERROR MATRIX UNCERTAINTY=100.0%

  EXT PARAMETER                APPROXIMATE        STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor      .0000        1.0234        .42118E-03** at limit **
   2  Index         3.1268        1.9999        .17061E-03     .0000    
   3  Normalizat    1.4627        1.0538        .31548E-04   -.95479E-04
   4  Prefactor     .55429        .90004       -.28550E-05   -.48969E-03
                               ERR DEF=  .500    
Final values: 
  Prefactor  = 0
  Index      = 3.12676
  Normalizat = 1.4627
  Prefactor  = 0.554288
 **********
 **   18 **HESSE 
 **********
  MNHESS FAILS AND WILL RETURN DIAGONAL MATRIX. 

 FCN=   7478.787     FROM HESSE     STATUS=FAILED         9 CALLS      261 TOTAL
                     EDM=   .48E-09  STRATEGY=1  ERROR MATRIX UNCERTAINTY=100.0%

  EXT PARAMETER                APPROXIMATE     INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  Prefactor      .0000        1.0234        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   2  Index         1.1020        2.2080        .17061E-03   -.38402    
   3  Normalizat    1.4627        1.0538        .31548E-04   -.78832    
   4  Prefactor     .55429        .90004       -.28550E-05   -1.0955    
                               ERR DEF=  .500    
Minuit fit quality: 1   estimated distance: 4.82403e-10
Minuit parameter uncertainties:
  1  5.79979e-06
  2  2.06783
  3  1.07021
  4  0.925034
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) = 7478.78707438
delta logL = -3.47426976077e-10

Extracting fit parameters...

4FGL J1118.2-0415
   Spectrum: PowerLaw
282    Prefactor:  0.000e+00  5.800e-06  0.000e+00  1.000e+06 ( 1.000e-12)
283        Index:  3.127e+00  2.068e+00  0.000e+00  1.000e+01 (-1.000e+00)
284        Scale:  6.866e+02  0.000e+00  3.000e+01  5.000e+05 ( 1.000e+00) fixed

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

EG_v02
   Spectrum: FileFunction
609   Normalization:  1.463e+00  1.070e+00  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Free Index): 0.00
Ra Dec: 169.575 -4.254

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/31337285/cmap_HighResolution_805161601_805420801_4FGL_J1118.2-0415_daily_bin2183.png

Cleaning up...

** Nuclear option initiated! **

Updating database...

UPDATE lightcurve_data_v2 SET energy_flux_upper_limit='4.53e-03', job_status='DONE', photon_flux_upper_limit='5.77e-08', time_completed='2026-07-11 08:39:41.847998', job_id='31337285', GAL2='0.55', fit_tolerance='1e-08', EG2='1.46', EG='1.46', time_epoch_completed='1783784381.85', return_code2='101', ts='0.00', comment='SUCCESS', return_code='0', GAL='0.55', dlogl='-3.47e-10', ts2='0.00', photon_index_error='0.00', photon_index='2.64' WHERE bin_id='2183' AND source_name='4FGL J1118.2-0415' AND cadence='daily';

Database successfully updated.


Analysis Complete.


Sat Jul 11 08:39:41 PDT 2026

