 **********
 **   18 **HESSE 
 **********
  MNHESS FAILS AND WILL RETURN DIAGONAL MATRIX. 

 FCN=   10318.53     FROM HESSE     STATUS=FAILED         9 CALLS      236 TOTAL
                     EDM=   .93E-11  STRATEGY=1  ERROR MATRIX UNCERTAINTY=100.0%

  EXT PARAMETER                APPROXIMATE     INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  Prefactor      .0000        15.111        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   2  Index         .28942        1.5219       -.10174E-03   -.71888    
   3  Normalizat    .90090        1.2362       -.14027E-05   -.96429    
   4  Prefactor     1.0040        1.2914       -.21427E-05   -.92598    
                               ERR DEF=  .500    
Minuit fit quality: 1   estimated distance: 9.30844e-12
Minuit parameter uncertainties:
  1  2.32128e-05
  2  0.948566
  3  1.27872
  4  1.33485
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) = 10318.5315686
delta logL = 1.24782673083e-09

Extracting fit parameters...

4FGL J1058.5+8115
   Spectrum: PowerLaw
349    Prefactor:  0.000e+00  2.321e-05  0.000e+00  1.000e+06 ( 1.000e-13)
350        Index:  1.707e+00  9.486e-01  0.000e+00  1.000e+01 (-1.000e+00)
351        Scale:  1.245e+03  0.000e+00  3.000e+01  5.000e+05 ( 1.000e+00) fixed

GAL_V02
   Spectrum: PowerLaw
688    Prefactor:  1.004e+00  1.335e+00  0.000e+00  1.000e+01 ( 1.000e+00)
689        Index:  0.000e+00  0.000e+00 -1.000e+00  1.000e+00 ( 1.000e+00) fixed
690        Scale:  1.000e+02  0.000e+00  5.000e+01  2.000e+02 ( 1.000e+00) fixed

EG_v02
   Spectrum: FileFunction
687   Normalization:  9.009e-01  1.279e+00  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Free Index): -0.00
Ra Dec: 164.626 81.255

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/31335727/cmap_HighResolution_805161601_805420801_4FGL_J1058.5+8115_daily_bin2183.png

Cleaning up...

** Nuclear option initiated! **

Updating database...

UPDATE lightcurve_data_v2 SET energy_flux_upper_limit='4.69e-03', job_status='DONE', photon_flux_upper_limit='6.02e-08', time_completed='2026-07-11 08:17:35.217919', job_id='31335727', GAL2='1.00', fit_tolerance='1e-08', EG2='0.90', EG='0.90', time_epoch_completed='1783783055.22', return_code2='101', ts='-0.00', comment='SUCCESS', return_code='0', GAL='1.00', dlogl='1.25e-09', ts2='0.00', photon_index_error='0.00', photon_index='2.51' WHERE bin_id='2183' AND source_name='4FGL J1058.5+8115' AND cadence='daily';

Database successfully updated.


Analysis Complete.


Sat Jul 11 08:17:35 PDT 2026

00E-01   10.000    
    28 'Prefactor '    1.0044       1.0000          .0000       10.000    
 **********
 **   15 **SET ERR    .5000    
 **********
 **********
 **   16 **SET GRAD    1.000    
 **********
 **********
 **   17 **MINIMIZE    .6910E+05   .2000E-04
 **********

 MIGRAD MINIMIZATION HAS CONVERGED.

 FCN=   10318.53     FROM MIGRAD    STATUS=CONVERGED    199 CALLS     2540 TOTAL
                     EDM=   .10E-08  STRATEGY=1  ERROR MATRIX UNCERTAINTY=  1.9%

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor     .55511E-10    37.852        .94576E-06** at limit **
   2  norm          11.307        3.2791        .74092E-07    .34288E-01
   3  norm          .55511E-10    8.1953        .41726E-07** at limit **
   4  Prefactor     .23622E-05    16.254        .49513E-07** at limit **
   5  Prefactor     8.2895        4.4676       -.36612E-07    .17330E-03
   6  Prefactor     .12452E-05    18.556       -.27434E-06** at limit **
   7  Prefactor     4.8975        6.1163       -.11817E-06   -.29247E-02
   8  Prefactor     3.7042        24.476        .67979E-06    .56809E-02
   9  Prefactor     27.981        6.3219        .75271E-07    .17046    
  10  Prefactor     46.632        46.706       -.30633E-06    .47810E-01
  11  norm          2.1843        3.0444       -.14792E-06   -.35888E-02
  12  Prefactor     3.0927        4.4120        .15780E-06    .88360E-04
  13  norm          1.4667        .75153       -.39687E-07   -.11593E-03
  14  norm          5.6785        2.7892        .15354E-06    .25503E-02
  15  Prefactor     .12218E-06    46.799       -.11277E-06** at limit **
  16  Prefactor      .0000        1.3505       -.19382E-06** at limit **
  17  Prefactor      .0000        4.0216        .18292E-06** at limit **
  18  Prefactor     15.038        27.019        .23921E-06    .37129E-01
  19  norm          10.590        5.7076        .69182E-07    .21139E-02
  20  norm           .0000        .61080        .51713E-07** at limit **
  21  Prefactor     6.3333        2.6357       -.95500E-07    .22718E-02
  22  Prefactor      .0000        5.7530       -.16637E-06** at limit **
  23  Prefactor     28.420        11.094       -.16712E-06   -.42425E-01
  24  Prefactor     .38858E-09    12.340        .22696E-06** at limit **
  25  Prefactor     4.5373        5.7558       -.98025E-07    .22091E-01
  26  Prefactor     .56355E-06    29.847       -.10689E-05** at limit **
  27  Normalizat    .90090        .16023        .26679E-05   -.52689E-04
  28  Prefactor     1.0040        .10398       -.35246E-05   -.11414E-03
                               ERR DEF=  .500    
Final values: 
  Prefactor  = 5.55112e-11
  norm       = 11.3074
  norm       = 5.55112e-11
  Prefactor  = 2.36222e-06
  Prefactor  = 8.28947
  Prefactor  = 1.24523e-06
  Prefactor  = 4.89746
  Prefactor  = 3.70421
  Prefactor  = 27.9808
  Prefactor  = 46.6324
  norm       = 2.18428
  Prefactor  = 3.09265
  norm       = 1.4667
  norm       = 5.67852
  Prefactor  = 1.2218e-07
  Prefactor  = 0
  Prefactor  = 0
  Prefactor  = 15.038
  norm       = 10.5897
  norm       = 0
  Prefactor  = 6.33333
  Prefactor  = 0
  Prefactor  = 28.4196
  Prefactor  = 3.88578e-10
  Prefactor  = 4.5373
  Prefactor  = 5.63549e-07
  Normalizat = 0.900897
  Prefactor  = 1.00396
/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) = 10318.5315686

Extracting fit parameters...

4FGL J1058.5+8115
   Spectrum: PowerLaw
349    Prefactor:  1.222e-07  1.930e-03  0.000e+00  1.000e+06 ( 1.000e-13)
350        Index:  2.510e+00  0.000e+00  0.000e+00  1.000e+01 (-1.000e+00) fixed
351        Scale:  1.245e+03  0.000e+00  3.000e+01  5.000e+05 ( 1.000e+00) fixed

GAL_V02
   Spectrum: PowerLaw
688    Prefactor:  1.004e+00  9.289e-02  0.000e+00  1.000e+01 ( 1.000e+00)
689        Index:  0.000e+00  0.000e+00 -1.000e+00  1.000e+00 ( 1.000e+00) fixed
690        Scale:  1.000e+02  0.000e+00  5.000e+01  2.000e+02 ( 1.000e+00) fixed

EG_v02
   Spectrum: FileFunction
687   Normalization:  9.009e-01  1.498e-01  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Fixed Index): -0.00
Ra Dec: 164.626 81.255
Photon Flux Upper Limit: 6.0225885287e-08 ph cm-2 s-1
Energy Flux Upper Limit: 0.00468722081118 MeV cm-2 s-1

Saving results to:
/lscratch/kocevski/31335841/likelihoodResults_805161601_805420801_4FGL_J1058.5+8115_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) = 10318.5530333
delta logL = -0.021464669886

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

MINUIT Return Code (Free Index): 102
logL (Free Index) = 10318.5315707
delta logL = -2.07117591344e-06

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'Prefactor '    .24226E-03   1.0000          .0000       .10000E+07
     2 'Index     '    2.1066       1.0000          .0000       10.000    
     3 'Normalizat'    .90081       1.0000         .10000E-01   10.000    
     4 'Prefactor '    1.0040       1.0000          .0000       10.000    
 **********
 **   15 **SET ERR    .5000    
 **********
 **********
 **   16 **SET GRAD    1.000    
 **********
 **********
 **   17 **MINIMIZE    .6910E+05   .2000E-04
 **********

 MIGRAD MINIMIZATION HAS CONVERGED.

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

 FCN=   10318.53     FROM MIGRAD    STATUS=CONVERGED     50 CALLS      227 TOTAL
                     EDM=   .93E-11  STRATEGY=1  ERROR MATRIX UNCERTAINTY=100.0%

  EXT PARAMETER                APPROXIMATE        STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor      .0000        15.111        .42118E-03** at limit **
   2  Index         1.7073        .93855       -.10174E-03     .0000    
   3  Normalizat    .90090        1.2362       -.14027E-05   -.84709E-04
   4  Prefactor     1.0040        1.2914       -.21427E-05   -.30538E-04
                               ERR DEF=  .500    
Final values: 
  Prefactor  = 0
  Index      = 1.70727
  Normalizat = 0.900897
  Prefactor  = 1.00396
 **********
 **   18 **HESSE 
 **********
  MNHESS FAILS AND WILL RETURN DIAGONAL MATRIX. 

 FCN=   10318.53     FROM HESSE     STATUS=FAILED         9 CALLS      236 TOTAL
                     EDM=   .93E-11  STRATEGY=1  ERROR MATRIX UNCERTAINTY=100.0%

  EXT PARAMETER                APPROXIMATE     INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  Prefactor      .0000        15.111        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   2  Index         .28942        1.5219       -.10174E-03   -.71888    
   3  Normalizat    .90090        1.2362       -.14027E-05   -.96429    
   4  Prefactor     1.0040        1.2914       -.21427E-05   -.92598    
                               ERR DEF=  .500    
Minuit fit quality: 1   estimated distance: 9.30844e-12
Minuit parameter uncertainties:
  1  2.32128e-05
  2  0.948566
  3  1.27872
  4  1.33485
Done.

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

Extracting fit parameters...

4FGL J1058.5+8115
   Spectrum: PowerLaw
349    Prefactor:  1.222e-07  1.930e-03  0.000e+00  1.000e+06 ( 1.000e-13)
350        Index:  2.510e+00  0.000e+00  0.000e+00  1.000e+01 (-1.000e+00) fixed
351        Scale:  1.245e+03  0.000e+00  3.000e+01  5.000e+05 ( 1.000e+00) fixed

GAL_V02
   Spectrum: PowerLaw
688    Prefactor:  1.004e+00  9.289e-02  0.000e+00  1.000e+01 ( 1.000e+00)
689        Index:  0.000e+00  0.000e+00 -1.000e+00  1.000e+00 ( 1.000e+00) fixed
690        Scale:  1.000e+02  0.000e+00  5.000e+01  2.000e+02 ( 1.000e+00) fixed

EG_v02
   Spectrum: FileFunction
687   Normalization:  9.009e-01  1.498e-01  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Fixed Index): -0.00
Ra Dec: 164.626 81.255
Photon Flux Upper Limit: 6.0225885287e-08 ph cm-2 s-1
Energy Flux Upper Limit: 0.00468722081118 MeV cm-2 s-1

Saving results to:
/lscratch/kocevski/31335718/likelihoodResults_805161601_805420801_4FGL_J1058.5+8115_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) = 10318.5530333
delta logL = -0.021464669886

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

MINUIT Return Code (Free Index): 102
logL (Free Index) = 10318.5315707
delta logL = -2.07117591344e-06

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'Prefactor '    .24226E-03   1.0000          .0000       .10000E+07
     2 'Index     '    2.1066       1.0000          .0000       10.000    
     3 'Normalizat'    .90081       1.0000         .10000E-01   10.000    
     4 'Prefactor '    1.0040       1.0000          .0000       10.000    
 **********
 **   15 **SET ERR    .5000    
 **********
 **********
 **   16 **SET GRAD    1.000    
 **********
 **********
 **   17 **MINIMIZE    .6910E+05   .2000E-04
 **********

 MIGRAD MINIMIZATION HAS CONVERGED.

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

 FCN=   10318.53     FROM MIGRAD    STATUS=CONVERGED     50 CALLS      227 TOTAL
                     EDM=   .93E-11  STRATEGY=1  ERROR MATRIX UNCERTAINTY=100.0%

  EXT PARAMETER                APPROXIMATE        STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor      .0000        15.111        .42118E-03** at limit **
   2  Index         1.7073        .93855       -.10174E-03     .0000    
   3  Normalizat    .90090        1.2362       -.14027E-05   -.84709E-04
   4  Prefactor     1.0040        1.2914       -.21427E-05   -.30538E-04
                               ERR DEF=  .500    
Final values: 
  Prefactor  = 0
  Index      = 1.70727
  Normalizat = 0.900897
  Prefactor  = 1.00396
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) = 10318.5315686
delta logL = 1.24782673083e-09

Extracting fit parameters...

4FGL J1058.5+8115
   Spectrum: PowerLaw
349    Prefactor:  0.000e+00  2.321e-05  0.000e+00  1.000e+06 ( 1.000e-13)
350        Index:  1.707e+00  9.486e-01  0.000e+00  1.000e+01 (-1.000e+00)
351        Scale:  1.245e+03  0.000e+00  3.000e+01  5.000e+05 ( 1.000e+00) fixed

GAL_V02
   Spectrum: PowerLaw
688    Prefactor:  1.004e+00  1.335e+00  0.000e+00  1.000e+01 ( 1.000e+00)
689        Index:  0.000e+00  0.000e+00 -1.000e+00  1.000e+00 ( 1.000e+00) fixed
690        Scale:  1.000e+02  0.000e+00  5.000e+01  2.000e+02 ( 1.000e+00) fixed

EG_v02
   Spectrum: FileFunction
687   Normalization:  9.009e-01  1.279e+00  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Free Index): -0.00
Ra Dec: 164.626 81.255

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/31335841/cmap_HighResolution_805161601_805420801_4FGL_J1058.5+8115_daily_bin2183.png

Cleaning up...

** Nuclear option initiated! **

Updating database...

UPDATE lightcurve_data_v2 SET energy_flux_upper_limit='4.69e-03', job_status='DONE', photon_flux_upper_limit='6.02e-08', time_completed='2026-07-11 08:17:57.940885', job_id='31335841', GAL2='1.00', fit_tolerance='1e-08', EG2='0.90', EG='0.90', time_epoch_completed='1783783077.94', return_code2='101', ts='-0.00', comment='SUCCESS', return_code='0', GAL='1.00', dlogl='1.25e-09', ts2='0.00', photon_index_error='0.00', photon_index='2.51' WHERE bin_id='2183' AND source_name='4FGL J1058.5+8115' AND cadence='daily';

Database successfully updated.


Analysis Complete.


Sat Jul 11 08:17:58 PDT 2026

 **********
 **   18 **HESSE 
 **********
  MNHESS FAILS AND WILL RETURN DIAGONAL MATRIX. 

 FCN=   10318.53     FROM HESSE     STATUS=FAILED         9 CALLS      236 TOTAL
                     EDM=   .93E-11  STRATEGY=1  ERROR MATRIX UNCERTAINTY=100.0%

  EXT PARAMETER                APPROXIMATE     INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  Prefactor      .0000        15.111        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   2  Index         .28942        1.5219       -.10174E-03   -.71888    
   3  Normalizat    .90090        1.2362       -.14027E-05   -.96429    
   4  Prefactor     1.0040        1.2914       -.21427E-05   -.92598    
                               ERR DEF=  .500    
Minuit fit quality: 1   estimated distance: 9.30844e-12
Minuit parameter uncertainties:
  1  2.32128e-05
  2  0.948566
  3  1.27872
  4  1.33485
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) = 10318.5315686
delta logL = 1.24782673083e-09

Extracting fit parameters...

4FGL J1058.5+8115
   Spectrum: PowerLaw
349    Prefactor:  0.000e+00  2.321e-05  0.000e+00  1.000e+06 ( 1.000e-13)
350        Index:  1.707e+00  9.486e-01  0.000e+00  1.000e+01 (-1.000e+00)
351        Scale:  1.245e+03  0.000e+00  3.000e+01  5.000e+05 ( 1.000e+00) fixed

GAL_V02
   Spectrum: PowerLaw
688    Prefactor:  1.004e+00  1.335e+00  0.000e+00  1.000e+01 ( 1.000e+00)
689        Index:  0.000e+00  0.000e+00 -1.000e+00  1.000e+00 ( 1.000e+00) fixed
690        Scale:  1.000e+02  0.000e+00  5.000e+01  2.000e+02 ( 1.000e+00) fixed

EG_v02
   Spectrum: FileFunction
687   Normalization:  9.009e-01  1.279e+00  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Free Index): -0.00
Ra Dec: 164.626 81.255

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/31335718/cmap_HighResolution_805161601_805420801_4FGL_J1058.5+8115_daily_bin2183.png

Cleaning up...

** Nuclear option initiated! **

Updating database...

UPDATE lightcurve_data_v2 SET energy_flux_upper_limit='4.69e-03', job_status='DONE', photon_flux_upper_limit='6.02e-08', time_completed='2026-07-11 08:18:00.660150', job_id='31335718', GAL2='1.00', fit_tolerance='1e-08', EG2='0.90', EG='0.90', time_epoch_completed='1783783080.66', return_code2='101', ts='-0.00', comment='SUCCESS', return_code='0', GAL='1.00', dlogl='1.25e-09', ts2='0.00', photon_index_error='0.00', photon_index='2.51' WHERE bin_id='2183' AND source_name='4FGL J1058.5+8115' AND cadence='daily';

Database successfully updated.


Analysis Complete.


Sat Jul 11 08:18:00 PDT 2026

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

 FCN=   10318.53     FROM HESSE     STATUS=OK           589 CALLS     3129 TOTAL
                     EDM=   .12E-05    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  Prefactor     .55511E-10    36.268        .16836E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   2  norm          11.307        14.762        .29740E-03   -1.5641    
   3  norm          .55511E-10    8.1979        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   4  Prefactor     .23622E-05    24.797        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   5  Prefactor     8.2895        4.4709        .34784E-03   -1.5650    
   6  Prefactor     .12452E-05    23.182        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   7  Prefactor     4.8975        6.1485        .45309E-03   -1.5664    
   8  Prefactor     3.7042        38.821        .44827E-03   -1.5669    
   9  Prefactor     27.981        13.129        .18901E-03   -1.5602    
  10  Prefactor     46.632        59.990        .15251E-03   -1.5571    
  11  norm          2.1843        3.8837        .69524E-03   -1.5678    
  12  Prefactor     3.0927        4.4620        .57708E-03   -1.5673    
  13  norm          1.4667        .75970        .88791E-03   -1.5684    
  14  norm          5.6785        2.8026        .42119E-03   -1.5660    
  15  Prefactor     .12218E-06    7.6175        .65539E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  16  Prefactor      .0000        1.3481        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  17  Prefactor      .0000        4.0102        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  18  Prefactor     15.038        54.513        .24167E-03   -1.5630    
  19  norm          10.590        5.7138        .30636E-03   -1.5643    
  20  norm           .0000        .61174        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  21  Prefactor     6.3333        71.252        .40345E-03   -1.5658    
  22  Prefactor      .0000        5.7479        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  23  Prefactor     28.420        18.719        .18722E-03   -1.5601    
  24  Prefactor     .38858E-09    12.349        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  25  Prefactor     4.5373        181.89        .46289E-03   -1.5665    
  26  Prefactor     .56355E-06    32.859        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  27  Normalizat    .90090        .14969        .67950E-01   -.96429    
  28  Prefactor     1.0040        .92877E-01    .44316E-01   -.92598    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 1.23168e-06
Minuit parameter uncertainties:
  1  8.05603e-05
  2  14.7624
  3  4.34928e-05
  4  0.015307
  5  4.47089
  6  0.0107457
  7  6.14847
  8  23.9836
  9  13.1285
  10  59.9903
  11  3.88368
  12  4.46199
  13  0.7597
  14  2.80255
  15  0.0019296
  16  5.8461e-06
  17  1.31989e-05
  18  54.5152
  19  5.71377
  20  5.14613e-08
  21  42.4864
  22  1.18504e-05
  23  18.7193
  24  0.000139791
  25  57.4573
  26  0.00860649
  27  0.149756
  28  0.0928922
Done.

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

Extracting fit parameters...

4FGL J1058.5+8115
   Spectrum: PowerLaw
349    Prefactor:  1.222e-07  1.930e-03  0.000e+00  1.000e+06 ( 1.000e-13)
350        Index:  2.510e+00  0.000e+00  0.000e+00  1.000e+01 (-1.000e+00) fixed
351        Scale:  1.245e+03  0.000e+00  3.000e+01  5.000e+05 ( 1.000e+00) fixed

GAL_V02
   Spectrum: PowerLaw
688    Prefactor:  1.004e+00  9.289e-02  0.000e+00  1.000e+01 ( 1.000e+00)
689        Index:  0.000e+00  0.000e+00 -1.000e+00  1.000e+00 ( 1.000e+00) fixed
690        Scale:  1.000e+02  0.000e+00  5.000e+01  2.000e+02 ( 1.000e+00) fixed

EG_v02
   Spectrum: FileFunction
687   Normalization:  9.009e-01  1.498e-01  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Fixed Index): -0.00
Ra Dec: 164.626 81.255
Photon Flux Upper Limit: 6.0225885287e-08 ph cm-2 s-1
Energy Flux Upper Limit: 0.00468722081118 MeV cm-2 s-1

Saving results to:
/lscratch/kocevski/31335837/likelihoodResults_805161601_805420801_4FGL_J1058.5+8115_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) = 10318.5530333
delta logL = -0.021464669886

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

MINUIT Return Code (Free Index): 102
logL (Free Index) = 10318.5315707
delta logL = -2.07117591344e-06

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'Prefactor '    .24226E-03   1.0000          .0000       .10000E+07
     2 'Index     '    2.1066       1.0000          .0000       10.000    
     3 'Normalizat'    .90081       1.0000         .10000E-01   10.000    
     4 'Prefactor '    1.0040       1.0000          .0000       10.000    
 **********
 **   15 **SET ERR    .5000    
 **********
 **********
 **   16 **SET GRAD    1.000    
 **********
 **********
 **   17 **MINIMIZE    .6910E+05   .2000E-04
 **********

 MIGRAD MINIMIZATION HAS CONVERGED.

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

 FCN=   10318.53     FROM MIGRAD    STATUS=CONVERGED     50 CALLS      227 TOTAL
                     EDM=   .93E-11  STRATEGY=1  ERROR MATRIX UNCERTAINTY=100.0%

  EXT PARAMETER                APPROXIMATE        STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor      .0000        15.111        .42118E-03** at limit **
   2  Index         1.7073        .93855       -.10174E-03     .0000    
   3  Normalizat    .90090        1.2362       -.14027E-05   -.84709E-04
   4  Prefactor     1.0040        1.2914       -.21427E-05   -.30538E-04
                               ERR DEF=  .500    
Final values: 
  Prefactor  = 0
  Index      = 1.70727
  Normalizat = 0.900897
  Prefactor  = 1.00396
 **********
 **   18 **HESSE 
 **********

 FCN=   10318.53     FROM HESSE     STATUS=OK           589 CALLS     3129 TOTAL
                     EDM=   .12E-05    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  Prefactor     .55511E-10    36.268        .16836E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   2  norm          11.307        14.762        .29740E-03   -1.5641    
   3  norm          .55511E-10    8.1979        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   4  Prefactor     .23622E-05    24.797        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   5  Prefactor     8.2895        4.4709        .34784E-03   -1.5650    
   6  Prefactor     .12452E-05    23.182        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   7  Prefactor     4.8975        6.1485        .45309E-03   -1.5664    
   8  Prefactor     3.7042        38.821        .44827E-03   -1.5669    
   9  Prefactor     27.981        13.129        .18901E-03   -1.5602    
  10  Prefactor     46.632        59.990        .15251E-03   -1.5571    
  11  norm          2.1843        3.8837        .69524E-03   -1.5678    
  12  Prefactor     3.0927        4.4620        .57708E-03   -1.5673    
  13  norm          1.4667        .75970        .88791E-03   -1.5684    
  14  norm          5.6785        2.8026        .42119E-03   -1.5660    
  15  Prefactor     .12218E-06    7.6175        .65539E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  16  Prefactor      .0000        1.3481        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  17  Prefactor      .0000        4.0102        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  18  Prefactor     15.038        54.513        .24167E-03   -1.5630    
  19  norm          10.590        5.7138        .30636E-03   -1.5643    
  20  norm           .0000        .61174        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  21  Prefactor     6.3333        71.252        .40345E-03   -1.5658    
  22  Prefactor      .0000        5.7479        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  23  Prefactor     28.420        18.719        .18722E-03   -1.5601    
  24  Prefactor     .38858E-09    12.349        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  25  Prefactor     4.5373        181.89        .46289E-03   -1.5665    
  26  Prefactor     .56355E-06    32.859        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  27  Normalizat    .90090        .14969        .67950E-01   -.96429    
  28  Prefactor     1.0040        .92877E-01    .44316E-01   -.92598    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 1.23168e-06
Minuit parameter uncertainties:
  1  8.05603e-05
  2  14.7624
  3  4.34928e-05
  4  0.015307
  5  4.47089
  6  0.0107457
  7  6.14847
  8  23.9836
  9  13.1285
  10  59.9903
  11  3.88368
  12  4.46199
  13  0.7597
  14  2.80255
  15  0.0019296
  16  5.8461e-06
  17  1.31989e-05
  18  54.5152
  19  5.71377
  20  5.14613e-08
  21  42.4864
  22  1.18504e-05
  23  18.7193
  24  0.000139791
  25  57.4573
  26  0.00860649
  27  0.149756
  28  0.0928922
 **********
 **   18 **HESSE 
 **********
  MNHESS FAILS AND WILL RETURN DIAGONAL MATRIX. 

 FCN=   10318.53     FROM HESSE     STATUS=FAILED         9 CALLS      236 TOTAL
                     EDM=   .93E-11  STRATEGY=1  ERROR MATRIX UNCERTAINTY=100.0%

  EXT PARAMETER                APPROXIMATE     INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  Prefactor      .0000        15.111        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   2  Index         .28942        1.5219       -.10174E-03   -.71888    
   3  Normalizat    .90090        1.2362       -.14027E-05   -.96429    
   4  Prefactor     1.0040        1.2914       -.21427E-05   -.92598    
                               ERR DEF=  .500    
Minuit fit quality: 1   estimated distance: 9.30844e-12
Minuit parameter uncertainties:
  1  2.32128e-05
  2  0.948566
  3  1.27872
  4  1.33485
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) = 10318.5315686
delta logL = 1.24782673083e-09

Extracting fit parameters...

4FGL J1058.5+8115
   Spectrum: PowerLaw
349    Prefactor:  0.000e+00  2.321e-05  0.000e+00  1.000e+06 ( 1.000e-13)
350        Index:  1.707e+00  9.486e-01  0.000e+00  1.000e+01 (-1.000e+00)
351        Scale:  1.245e+03  0.000e+00  3.000e+01  5.000e+05 ( 1.000e+00) fixed

GAL_V02
   Spectrum: PowerLaw
688    Prefactor:  1.004e+00  1.335e+00  0.000e+00  1.000e+01 ( 1.000e+00)
689        Index:  0.000e+00  0.000e+00 -1.000e+00  1.000e+00 ( 1.000e+00) fixed
690        Scale:  1.000e+02  0.000e+00  5.000e+01  2.000e+02 ( 1.000e+00) fixed

EG_v02
   Spectrum: FileFunction
687   Normalization:  9.009e-01  1.279e+00  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Free Index): -0.00
Ra Dec: 164.626 81.255

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/31335837/cmap_HighResolution_805161601_805420801_4FGL_J1058.5+8115_daily_bin2183.png

Cleaning up...

** Nuclear option initiated! **

Updating database...

UPDATE lightcurve_data_v2 SET energy_flux_upper_limit='4.69e-03', job_status='DONE', photon_flux_upper_limit='6.02e-08', time_completed='2026-07-11 08:18:21.379593', job_id='31335837', GAL2='1.00', fit_tolerance='1e-08', EG2='0.90', EG='0.90', time_epoch_completed='1783783101.38', return_code2='101', ts='-0.00', comment='SUCCESS', return_code='0', GAL='1.00', dlogl='1.25e-09', ts2='0.00', photon_index_error='0.00', photon_index='2.51' WHERE bin_id='2183' AND source_name='4FGL J1058.5+8115' AND cadence='daily';

Database successfully updated.


Analysis Complete.


Sat Jul 11 08:18:21 PDT 2026

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


Performing analysis on: 4FGL_J1058.5+8115_daily_bin2183
RA = 164.626, Dec = 81.2547
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='31336278', job_status='RUN', time_executed='2026-07-11 08:17:43.688478', time_epoch_executed='1783783063.69' WHERE source_name='4FGL J1058.5+8115' and cadence='daily' and bin_id='2183'

Database successfully updated.
Done.

Creating custom output directory:
/lscratch/kocevski/31336278

Creating custom pfile directory:
/lscratch/kocevski/31336278/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/31336278/ft1_4FGL_J1058.5+8115_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/31336278/ft2_4FGL_J1058.5+8115_daily_bin2183.fits


Selecting the photons:
time -p gtselect infile=/lscratch/kocevski/31336278/ft1_4FGL_J1058.5+8115_daily_bin2183.fits outfile=/lscratch/kocevski/31336278/ft1_filteredMKT_4FGL_J1058.5+8115_daily_bin2183.fits ra=164.626 dec=81.2547 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.38
user 2.00
sys 0.20

Adding sun position to ft2 file:
/sdf/group/fermi/g/LCRepository/Repository/bin/sunpos /lscratch/kocevski/31336278/ft2_4FGL_J1058.5+8115_daily_bin2183.fits

Selecting the good time intervals:
time -p gtmktime scfile=/lscratch/kocevski/31336278/ft2_4FGL_J1058.5+8115_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/31336278/ft1_filteredMKT_4FGL_J1058.5+8115_daily_bin2183.fits evtable="EVENTS" outfile="/lscratch/kocevski/31336278/ft1_filtered_4FGL_J1058.5+8115_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.49
user 0.20
sys 0.13

Number of photons that the gtmktime cut: 975

Generating the livetime cube:
time -p gtltcube evfile="/lscratch/kocevski/31336278/ft1_filtered_4FGL_J1058.5+8115_daily_bin2183.fits" evtable="EVENTS" scfile=/lscratch/kocevski/31336278/ft2_4FGL_J1058.5+8115_daily_bin2183.fits sctable="SC_DATA" ouDone.

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

Extracting fit parameters...

4FGL J1058.5+8115
   Spectrum: PowerLaw
349    Prefactor:  1.222e-07  1.930e-03  0.000e+00  1.000e+06 ( 1.000e-13)
350        Index:  2.510e+00  0.000e+00  0.000e+00  1.000e+01 (-1.000e+00) fixed
351        Scale:  1.245e+03  0.000e+00  3.000e+01  5.000e+05 ( 1.000e+00) fixed

GAL_V02
   Spectrum: PowerLaw
688    Prefactor:  1.004e+00  9.289e-02  0.000e+00  1.000e+01 ( 1.000e+00)
689        Index:  0.000e+00  0.000e+00 -1.000e+00  1.000e+00 ( 1.000e+00) fixed
690        Scale:  1.000e+02  0.000e+00  5.000e+01  2.000e+02 ( 1.000e+00) fixed

EG_v02
   Spectrum: FileFunction
687   Normalization:  9.009e-01  1.498e-01  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Fixed Index): -0.00
Ra Dec: 164.626 81.255
Photon Flux Upper Limit: 6.0225885287e-08 ph cm-2 s-1
Energy Flux Upper Limit: 0.00468722081118 MeV cm-2 s-1

Saving results to:
/lscratch/kocevski/31335849/likelihoodResults_805161601_805420801_4FGL_J1058.5+8115_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) = 10318.5530333
delta logL = -0.021464669886

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

MINUIT Return Code (Free Index): 102
logL (Free Index) = 10318.5315707
delta logL = -2.07117591344e-06

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'Prefactor '    .24226E-03   1.0000          .0000       .10000E+07
     2 'Index     '    2.1066       1.0000          .0000       10.000    
     3 'Normalizat'    .90081       1.0000         .10000E-01   10.000    
     4 'Prefactor '    1.0040       1.0000          .0000       10.000    
 **********
 **   15 **SET ERR    .5000    
 **********
 **********
 **   16 **SET GRAD    1.000    
 **********
 **********
 **   17 **MINIMIZE    .6910E+05   .2000E-04
 **********

 MIGRAD MINIMIZATION HAS CONVERGED.

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

 FCN=   10318.53     FROM MIGRAD    STATUS=CONVERGED     50 CALLS      227 TOTAL
                     EDM=   .93E-11  STRATEGY=1  ERROR MATRIX UNCERTAINTY=100.0%

  EXT PARAMETER                APPROXIMATE        STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor      .0000        15.111        .42118E-03** at limit **
   2  Index         1.7073        .93855       -.10174E-03     .0000    
   3  Normalizat    .90090        1.2362       -.14027E-05   -.84709E-04
   4  Prefactor     1.0040        1.2914       -.21427E-05   -.30538E-04
                               ERR DEF=  .500    
Final values: 
  Prefactor  = 0
  Index      = 1.70727
  Normalizat = 0.900897
  Prefactor  = 1.00396
 **********
 **   18 **HESSE 
 **********
  MNHESS FAILS AND WILL RETURN DIAGONAL MATRIX. 

 FCN=   10318.53     FROM HESSE     STATUS=FAILED         9 CALLS      236 TOTAL
                     EDM=   .93E-11  STRATEGY=1  ERROR MATRIX UNCERTAINTY=100.0%

  EXT PARAMETER                APPROXIMATE     INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  Prefactor      .0000        15.111        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   2  Index         .28942        1.5219       -.10174E-03   -.71888    
   3  Normalizat    .90090        1.2362       -.14027E-05   -.96429    
   4  Prefactor     1.0040        1.2914       -.21427E-05   -.92598    
                               ERR DEF=  .500    
Minuit fit quality: 1   estimated distance: 9.30844e-12
Minuit parameter uncertainties:
  1  2.32128e-05
  2  0.948566
  3  1.27872
  4  1.33485
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) = 10318.5315686
delta logL = 1.24782673083e-09

Extracting fit parameters...

4FGL J1058.5+8115
   Spectrum: PowerLaw
349    Prefactor:  0.000e+00  2.321e-05  0.000e+00  1.000e+06 ( 1.000e-13)
350        Index:  1.707e+00  9.486e-01  0.000e+00  1.000e+01 (-1.000e+00)
351        Scale:  1.245e+03  0.000e+00  3.000e+01  5.000e+05 ( 1.000e+00) fixed

GAL_V02
   Spectrum: PowerLaw
688    Prefactor:  1.004e+00  1.335e+00  0.000e+00  1.000e+01 ( 1.000e+00)
689        Index:  0.000e+00  0.000e+00 -1.000e+00  1.000e+00 ( 1.000e+00) fixed
690        Scale:  1.000e+02  0.000e+00  5.000e+01  2.000e+02 ( 1.000e+00) fixed

EG_v02
   Spectrum: FileFunction
687   Normalization:  9.009e-01  1.279e+00  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Free Index): -0.00
Ra Dec: 164.626 81.255

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/31335849/cmap_HighResolution_805161601_805420801_4FGL_J1058.5+8115_daily_bin2183.png

Cleaning up...

** Nuclear option initiated! **

Updating database...

UPDATE lightcurve_data_v2 SET energy_flux_upper_limit='4.69e-03', job_status='DONE', photon_flux_upper_limit='6.02e-08', time_completed='2026-07-11 08:19:16.327198', job_id='31335849', GAL2='1.00', fit_tolerance='1e-08', EG2='0.90', EG='0.90', time_epoch_completed='1783783156.33', return_code2='101', ts='-0.00', comment='SUCCESS', return_code='0', GAL='1.00', dlogl='1.25e-09', ts2='0.00', photon_index_error='0.00', photon_index='2.51' WHERE bin_id='2183' AND source_name='4FGL J1058.5+8115' AND cadence='daily';

Database successfully updated.


Analysis Complete.


Sat Jul 11 08:19:16 PDT 2026

Done.

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

Extracting fit parameters...

4FGL J1058.5+8115
   Spectrum: PowerLaw
349    Prefactor:  1.222e-07  1.930e-03  0.000e+00  1.000e+06 ( 1.000e-13)
350        Index:  2.510e+00  0.000e+00  0.000e+00  1.000e+01 (-1.000e+00) fixed
351        Scale:  1.245e+03  0.000e+00  3.000e+01  5.000e+05 ( 1.000e+00) fixed

GAL_V02
   Spectrum: PowerLaw
688    Prefactor:  1.004e+00  9.289e-02  0.000e+00  1.000e+01 ( 1.000e+00)
689        Index:  0.000e+00  0.000e+00 -1.000e+00  1.000e+00 ( 1.000e+00) fixed
690        Scale:  1.000e+02  0.000e+00  5.000e+01  2.000e+02 ( 1.000e+00) fixed

EG_v02
   Spectrum: FileFunction
687   Normalization:  9.009e-01  1.498e-01  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Fixed Index): -0.00
Ra Dec: 164.626 81.255
Photon Flux Upper Limit: 6.0225885287e-08 ph cm-2 s-1
Energy Flux Upper Limit: 0.00468722081118 MeV cm-2 s-1

Saving results to:
/lscratch/kocevski/31335856/likelihoodResults_805161601_805420801_4FGL_J1058.5+8115_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) = 10318.5530333
delta logL = -0.021464669886

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

MINUIT Return Code (Free Index): 102
logL (Free Index) = 10318.5315707
delta logL = -2.07117591344e-06

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'Prefactor '    .24226E-03   1.0000          .0000       .10000E+07
     2 'Index     '    2.1066       1.0000          .0000       10.000    
     3 'Normalizat'    .90081       1.0000         .10000E-01   10.000    
     4 'Prefactor '    1.0040       1.0000          .0000       10.000    
 **********
 **   15 **SET ERR    .5000    
 **********
 **********
 **   16 **SET GRAD    1.000    
 **********
 **********
 **   17 **MINIMIZE    .6910E+05   .2000E-04
 **********

 MIGRAD MINIMIZATION HAS CONVERGED.

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

 FCN=   10318.53     FROM MIGRAD    STATUS=CONVERGED     50 CALLS      227 TOTAL
                     EDM=   .93E-11  STRATEGY=1  ERROR MATRIX UNCERTAINTY=100.0%

  EXT PARAMETER                APPROXIMATE        STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor      .0000        15.111        .42118E-03** at limit **
   2  Index         1.7073        .93855       -.10174E-03     .0000    
   3  Normalizat    .90090        1.2362       -.14027E-05   -.84709E-04
   4  Prefactor     1.0040        1.2914       -.21427E-05   -.30538E-04
                               ERR DEF=  .500    
Final values: 
  Prefactor  = 0
  Index      = 1.70727
  Normalizat = 0.900897
  Prefactor  = 1.00396
 **********
 **   18 **HESSE 
 **********
  MNHESS FAILS AND WILL RETURN DIAGONAL MATRIX. 

 FCN=   10318.53     FROM HESSE     STATUS=FAILED         9 CALLS      236 TOTAL
                     EDM=   .93E-11  STRATEGY=1  ERROR MATRIX UNCERTAINTY=100.0%

  EXT PARAMETER                APPROXIMATE     INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  Prefactor      .0000        15.111        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   2  Index         .28942        1.5219       -.10174E-03   -.71888    
   3  Normalizat    .90090        1.2362       -.14027E-05   -.96429    
   4  Prefactor     1.0040        1.2914       -.21427E-05   -.92598    
                               ERR DEF=  .500    
Minuit fit quality: 1   estimated distance: 9.30844e-12
Minuit parameter uncertainties:
  1  2.32128e-05
  2  0.948566
  3  1.27872
  4  1.33485
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) = 10318.5315686
delta logL = 1.24782673083e-09

Extracting fit parameters...

4FGL J1058.5+8115
   Spectrum: PowerLaw
349    Prefactor:  0.000e+00  2.321e-05  0.000e+00  1.000e+06 ( 1.000e-13)
350        Index:  1.707e+00  9.486e-01  0.000e+00  1.000e+01 (-1.000e+00)
351        Scale:  1.245e+03  0.000e+00  3.000e+01  5.000e+05 ( 1.000e+00) fixed

GAL_V02
   Spectrum: PowerLaw
688    Prefactor:  1.004e+00  1.335e+00  0.000e+00  1.000e+01 ( 1.000e+00)
689        Index:  0.000e+00  0.000e+00 -1.000e+00  1.000e+00 ( 1.000e+00) fixed
690        Scale:  1.000e+02  0.000e+00  5.000e+01  2.000e+02 ( 1.000e+00) fixed

EG_v02
   Spectrum: FileFunction
687   Normalization:  9.009e-01  1.279e+00  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Free Index): -0.00
Ra Dec: 164.626 81.255

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/31335856/cmap_HighResolution_805161601_805420801_4FGL_J1058.5+8115_daily_bin2183.png

Cleaning up...

** Nuclear option initiated! **

Updating database...

UPDATE lightcurve_data_v2 SET energy_flux_upper_limit='4.69e-03', job_status='DONE', photon_flux_upper_limit='6.02e-08', time_completed='2026-07-11 08:19:24.845661', job_id='31335856', GAL2='1.00', fit_tolerance='1e-08', EG2='0.90', EG='0.90', time_epoch_completed='1783783164.85', return_code2='101', ts='-0.00', comment='SUCCESS', return_code='0', GAL='1.00', dlogl='1.25e-09', ts2='0.00', photon_index_error='0.00', photon_index='2.51' WHERE bin_id='2183' AND source_name='4FGL J1058.5+8115' AND cadence='daily';

Database successfully updated.


Analysis Complete.


Sat Jul 11 08:19:24 PDT 2026

_V02
Working on...
/lscratch/kocevski/31336021/ft1_filtered_4FGL_J1058.5+8115_daily_bin2183.fits.....................!
real 52.61
user 51.08
sys 0.98

Creating the likelihood object...
obs = UnbinnedObs('/lscratch/kocevski/31336021/ft1_filtered_4FGL_J1058.5+8115_daily_bin2183.fits', '/lscratch/kocevski/31336021/ft2_4FGL_J1058.5+8115_daily_bin2183.fits', expMap='/lscratch/kocevski/31336021/expmap_805161601_805420801_4FGL_J1058.5+8115_daily_bin2183.fits', expCube='/lscratch/kocevski/31336021/ltcube_805161601_805420801_4FGL_J1058.5+8115_daily_bin2183.fits', irfs='P8R3_SOURCE_V2')
like = UnbinnedAnalysis(obs, '/lscratch/kocevski/31336021/Model_4FGL_J1058.5+8115_daily_bin2183.xml', optimizer='MINUIT')

Using source of interest name: '4FGL J1058.5+8115'

4FGL J1058.5+8115
   Spectrum: PowerLaw
349    Prefactor:  3.777e+00  0.000e+00  0.000e+00  1.000e+06 ( 1.000e-13)
350        Index:  2.510e+00  0.000e+00  0.000e+00  1.000e+01 (-1.000e+00) fixed
351        Scale:  1.245e+03  0.000e+00  3.000e+01  5.000e+05 ( 1.000e+00) fixed


Likelihood Fit Parameters:
Event file(s): /lscratch/kocevski/31336021/ft1_filtered_4FGL_J1058.5+8115_daily_bin2183.fits
Spacecraft file(s): /lscratch/kocevski/31336021/ft2_4FGL_J1058.5+8115_daily_bin2183.fits
Exposure map: /lscratch/kocevski/31336021/expmap_805161601_805420801_4FGL_J1058.5+8115_daily_bin2183.fits
Exposure cube: /lscratch/kocevski/31336021/ltcube_805161601_805420801_4FGL_J1058.5+8115_daily_bin2183.fits
IRFs: P8R3_SOURCE_V2
Source model file: /lscratch/kocevski/31336021/Model_4FGL_J1058.5+8115_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) = 10318.5753047

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

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

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'Prefactor '    .23174E-01   1.0000          .0000       .10000E+07
     2 'norm      '    11.329       1.0000          .0000       .10000E+07
     3 'norm      '    .37580E-02   1.0000          .0000       .10000E+07
     4 'Prefactor '    .76413E-03   1.0000          .0000       .10000E+07
     5 'Prefactor '    8.2951       1.0000          .0000       .10000E+07
     6 'Prefactor '    .45219E-03   1.0000          .0000       .10000E+07
     7 'Prefactor '    4.9225       1.0000          .0000       .10000E+07
     8 'Prefactor '    5.0268       1.0000          .0000       .10000E+07
     9 'Prefactor '    28.002       1.0000          .0000       .10000E+07
    10 'Prefactor '    43.002       1.0000          .0000       .10000E+07
    11 'norm      '    2.1897       1.0000          .0000       .10000E+07
    12 'Prefactor '    3.0861       1.0000          .0000       .10000E+07
    13 'norm      '    1.4655       1.0000          .0000       .10000E+07
    14 'norm      '    5.6813       1.0000          .0000       .10000E+07
    15 'Prefactor '    .10162E-03   1.0000          .0000       .10000E+07
    16 'Prefactor '    .33840E-06   1.0000          .0000       .10000E+07
    17 'Prefactor '    .30489E-04   1.0000          .0000       .10000E+07
    18 'Prefactor '    17.136       1.0000          .0000       .10000E+07
    19 'norm      '    10.678       1.0000          .0000       .10000E+07
    20 'norm      '    .19818E-05   1.0000          .0000       .10000E+07
    21 'Prefactor '    6.1843       1.0000          .0000       .10000E+07
    22 'Prefactor '    .96848E-03   1.0000          .0000       .10000E+07
    23 'Prefactor '    28.539       1.0000          .0000       .10000E+07
    24 'Prefactor '    .25549E-02   1.0000          .0000       .10000E+07
    25 'Prefactor '    4.7207       1.0000          .0000       .10000E+07
    26 'Prefactor '    .11126E-03   1.0000          .0000       .10000E+07
    27 'Normalizat'    .89899       1.0000         .100tfile=/lscratch/kocevski/31336278/ltcube_805161601_805420801_4FGL_J1058.5+8115_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/31336278/ft2_4FGL_J1058.5+8115_daily_bin2183.fits
.....................!
real 8.17
user 7.76
sys 0.20

Generating the exposure map:
time -p gtexpmap evfile=/lscratch/kocevski/31336278/ft1_filtered_4FGL_J1058.5+8115_daily_bin2183.fits evtable="EVENTS" scfile=/lscratch/kocevski/31336278/ft2_4FGL_J1058.5+8115_daily_bin2183.fits sctable="SC_DATA" expcube=/lscratch/kocevski/31336278/ltcube_805161601_805420801_4FGL_J1058.5+8115_daily_bin2183.fits outfile=/lscratch/kocevski/31336278/expmap_805161601_805420801_4FGL_J1058.5+8115_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/31336278/ltcube_805161601_805420801_4FGL_J1058.5+8115_daily_bin2183.fits
.....................!
real 69.08
user 64.40
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
Added 215 point sources and 0 extended sources

Setting source of interest to:
4FGL J1058.5+8115 @ 164.626 81.2547

Creating the counts map:
time -p gtbin evfile=/lscratch/kocevski/31336278/ft1_filtered_4FGL_J1058.5+8115_daily_bin2183.fits scfile=/lscratch/kocevski/31336278/ft2_4FGL_J1058.5+8115_daily_bin2183.fits outfile=/lscratch/kocevski/31336278/cmap_805161601_805420801_4FGL_J1058.5+8115_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=164.626 yref=81.2547 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.58
user 0.21
sys 0.13

Creating the high resolution counts map:
time -p gtbin evfile=/lscratch/kocevski/31336278/ft1_filtered_4FGL_J1058.5+8115_daily_bin2183.fits scfile=/lscratch/kocevski/31336278/ft2_4FGL_J1058.5+8115_daily_bin2183.fits outfile=/lscratch/kocevski/31336278/cmap_HighResolution_805161601_805420801_4FGL_J1058.5+8115_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=164.626 yref=81.2547 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.53
user 0.22
sys 0.12

Computing the diffuse response:
time -p gtdiffrsp evfile=/lscratch/kocevski/31336278/ft1_filtered_4FGL_J1058.5+8115_daily_bin2183.fits evtable="EVENTS" scfile=/lscratch/kocevski/31336278/ft2_4FGL_J1058.5+8115_daily_bin2183.fits sctable="SC_DATA" srcmdl=/lscratch/kocevski/31336278/Model_4FGL_J1058.5+8115_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 GAL00E-01   10.000    
    28 'Prefactor '    1.0044       1.0000          .0000       10.000    
 **********
 **   15 **SET ERR    .5000    
 **********
 **********
 **   16 **SET GRAD    1.000    
 **********
 **********
 **   17 **MINIMIZE    .6910E+05   .2000E-04
 **********

 MIGRAD MINIMIZATION HAS CONVERGED.

 FCN=   10318.53     FROM MIGRAD    STATUS=CONVERGED    199 CALLS     2540 TOTAL
                     EDM=   .10E-08  STRATEGY=1  ERROR MATRIX UNCERTAINTY=  1.9%

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor     .55511E-10    37.852        .94576E-06** at limit **
   2  norm          11.307        3.2791        .74092E-07    .34288E-01
   3  norm          .55511E-10    8.1953        .41726E-07** at limit **
   4  Prefactor     .23622E-05    16.254        .49513E-07** at limit **
   5  Prefactor     8.2895        4.4676       -.36612E-07    .17330E-03
   6  Prefactor     .12452E-05    18.556       -.27434E-06** at limit **
   7  Prefactor     4.8975        6.1163       -.11817E-06   -.29247E-02
   8  Prefactor     3.7042        24.476        .67979E-06    .56809E-02
   9  Prefactor     27.981        6.3219        .75271E-07    .17046    
  10  Prefactor     46.632        46.706       -.30633E-06    .47810E-01
  11  norm          2.1843        3.0444       -.14792E-06   -.35888E-02
  12  Prefactor     3.0927        4.4120        .15780E-06    .88360E-04
  13  norm          1.4667        .75153       -.39687E-07   -.11593E-03
  14  norm          5.6785        2.7892        .15354E-06    .25503E-02
  15  Prefactor     .12218E-06    46.799       -.11277E-06** at limit **
  16  Prefactor      .0000        1.3505       -.19382E-06** at limit **
  17  Prefactor      .0000        4.0216        .18292E-06** at limit **
  18  Prefactor     15.038        27.019        .23921E-06    .37129E-01
  19  norm          10.590        5.7076        .69182E-07    .21139E-02
  20  norm           .0000        .61080        .51713E-07** at limit **
  21  Prefactor     6.3333        2.6357       -.95500E-07    .22718E-02
  22  Prefactor      .0000        5.7530       -.16637E-06** at limit **
  23  Prefactor     28.420        11.094       -.16712E-06   -.42425E-01
  24  Prefactor     .38858E-09    12.340        .22696E-06** at limit **
  25  Prefactor     4.5373        5.7558       -.98025E-07    .22091E-01
  26  Prefactor     .56355E-06    29.847       -.10689E-05** at limit **
  27  Normalizat    .90090        .16023        .26679E-05   -.52689E-04
  28  Prefactor     1.0040        .10398       -.35246E-05   -.11414E-03
                               ERR DEF=  .500    
Final values: 
  Prefactor  = 5.55112e-11
  norm       = 11.3074
  norm       = 5.55112e-11
  Prefactor  = 2.36222e-06
  Prefactor  = 8.28947
  Prefactor  = 1.24523e-06
  Prefactor  = 4.89746
  Prefactor  = 3.70421
  Prefactor  = 27.9808
  Prefactor  = 46.6324
  norm       = 2.18428
  Prefactor  = 3.09265
  norm       = 1.4667
  norm       = 5.67852
  Prefactor  = 1.2218e-07
  Prefactor  = 0
  Prefactor  = 0
  Prefactor  = 15.038
  norm       = 10.5897
  norm       = 0
  Prefactor  = 6.33333
  Prefactor  = 0
  Prefactor  = 28.4196
  Prefactor  = 3.88578e-10
  Prefactor  = 4.5373
  Prefactor  = 5.63549e-07
  Normalizat = 0.900897
  Prefactor  = 1.00396
 **********
 **   18 **HESSE 
 **********

 FCN=   10318.53     FROM HESSE     STATUS=OK           589 CALLS     3129 TOTAL
                     EDM=   .12E-05    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  Prefactor     .55511E-10    36.268        .16836E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   2  norm          11.307        14.762        .29740E-03   -1.5641    
   3  norm          .55511E-10    8.1979        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   4  Prefactor     .23622E-05    24.797        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   5  Prefactor     8.2895        4.4709        .34784E-03   -1.5650    
   6  Prefactor     .12452E-05    23.182        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   7  Prefactor     4.8975        6.1485        .45309E-03   -1.5664    
   8  Prefactor     3.7042        38.821        .44827E-03   -1.5669    
   9  Prefactor     27.981        13.129        .18901E-03   -1.5602    
  10  Prefactor     46.632        59.990        .15251E-03   -1.5571    
  11  norm          2.1843        3.8837        .69524E-03   -1.5678    
  12  Prefactor     3.0927        4.4620        .57708E-03   -1.5673    
  13  norm          1.4667        .75970        .88791E-03   -1.5684    
  14  norm          5.6785        2.8026        .42119E-03   -1.5660    
  15  Prefactor     .12218E-06    7.6175        .65539E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  16  Prefactor      .0000        1.3481        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  17  Prefactor      .0000        4.0102        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  18  Prefactor     15.038        54.513        .24167E-03   -1.5630    
  19  norm          10.590        5.7138        .30636E-03   -1.5643    
  20  norm           .0000        .61174        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  21  Prefactor     6.3333        71.252        .40345E-03   -1.5658    
  22  Prefactor      .0000        5.7479        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  23  Prefactor     28.420        18.719        .18722E-03   -1.5601    
  24  Prefactor     .38858E-09    12.349        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  25  Prefactor     4.5373        181.89        .46289E-03   -1.5665    
  26  Prefactor     .56355E-06    32.859        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  27  Normalizat    .90090        .14969        .67950E-01   -.96429    
  28  Prefactor     1.0040        .92877E-01    .44316E-01   -.92598    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 1.23168e-06
Minuit parameter uncertainties:
  1  8.05603e-05
  2  14.7624
  3  4.34928e-05
  4  0.015307
  5  4.47089
  6  0.0107457
  7  6.14847
  8  23.9836
  9  13.1285
  10  59.9903
  11  3.88368
  12  4.46199
  13  0.7597
  14  2.80255
  15  0.0019296
  16  5.8461e-06
  17  1.31989e-05
  18  54.5152
  19  5.71377
  20  5.14613e-08
  21  42.4864
  22  1.18504e-05
  23  18.7193
  24  0.000139791
  25  57.4573
  26  0.00860649
  27  0.149756
  28  0.0928922
Done.

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

Extracting fit parameters...

4FGL J1058.5+8115
   Spectrum: PowerLaw
349    Prefactor:  1.222e-07  1.930e-03  0.000e+00  1.000e+06 ( 1.000e-13)
350        Index:  2.510e+00  0.000e+00  0.000e+00  1.000e+01 (-1.000e+00) fixed
351        Scale:  1.245e+03  0.000e+00  3.000e+01  5.000e+05 ( 1.000e+00) fixed

GAL_V02
   Spectrum: PowerLaw
688    Prefactor:  1.004e+00  9.289e-02  0.000e+00  1.000e+01 ( 1.000e+00)
689        Index:  0.000e+00  0.000e+00 -1.000e+00  1.000e+00 ( 1.000e+00) fixed
690        Scale:  1.000e+02  0.000e+00  5.000e+01  2.000e+02 ( 1.000e+00) fixed

EG_v02
   Spectrum: FileFunction
687   Normalization:  9.009e-01  1.498e-01  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Fixed Index): -0.00
Ra Dec: 164.626 81.255
Photon Flux Upper Limit: 6.0225885287e-08 ph cm-2 s-1
Energy Flux Upper Limit: 0.00468722081118 MeV cm-2 s-1

Saving results to:
/lscratch/kocevski/31336021/likelihoodResults_805161601_805420801_4FGL_J1058.5+8115_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) = 10318.5530333
delta logL = -0.021464669886

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

MINUIT Return Code (Free Index): 102
logL (Free Index) = 10318.5315707
delta logL = -2.07117591344e-06

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'Prefactor '    .24226E-03   1.0000          .0000       .10000E+07
     2 'Index     '    2.1066       1.0000          .0000       10.000    
     3 'Normalizat'    .90081       1.0000         .10000E-01   10.000    
     4 'Prefactor '    1.0040       1.0000          .0000       10.000    
 **********
 **   15 **SET ERR    .5000    
 **********
 **********
 **   16 **SET GRAD    1.000    
 **********
 **********
 **   17 **MINIMIZE    .6910E+05   .2000E-04
 **********

 MIGRAD MINIMIZATION HAS CONVERGED.

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

 FCN=   10318.53     FROM MIGRAD    STATUS=CONVERGED     50 CALLS      227 TOTAL
                     EDM=   .93E-11  STRATEGY=1  ERROR MATRIX UNCERTAINTY=100.0%

  EXT PARAMETER                APPROXIMATE        STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor      .0000        15.111        .42118E-03** at limit **
   2  Index         1.7073        .93855       -.10174E-03     .0000    
   3  Normalizat    .90090        1.2362       -.14027E-05   -.84709E-04
   4  Prefactor     1.0040        1.2914       -.21427E-05   -.30538E-04
                               ERR DEF=  .500    
Final values: 
  Prefactor  = 0
  Index      = 1.70727
  Normalizat = 0.900897
  Prefactor  = 1.00396
 **********
 **   18 **HESSE 
 **********
  MNHESS FAILS AND WILL RETURN DIAGONAL MATRIX. 

 FCN=   10318.53     FROM HESSE     STATUS=FAILED         9 CALLS      236 TOTAL
                     EDM=   .93E-11  STRATEGY=1  ERROR MATRIX UNCERTAINTY=100.0%

  EXT PARAMETER                APPROXIMATE     INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  Prefactor      .0000        15.111        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   2  Index         .28942        1.5219       -.10174E-03   -.71888    
   3  Normalizat    .90090        1.2362       -.14027E-05   -.96429    
   4  Prefactor     1.0040        1.2914       -.21427E-05   -.92598    
                               ERR DEF=  .500    
Minuit fit quality: 1   estimated distance: 9.30844e-12
Minuit parameter uncertainties:
  1  2.32128e-05
  2  0.948566
  3  1.27872
  4  1.33485
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) = 10318.5315686
delta logL = 1.24782673083e-09

Extracting fit parameters...

4FGL J1058.5+8115
   Spectrum: PowerLaw
349    Prefactor:  0.000e+00  2.321e-05  0.000e+00  1.000e+06 ( 1.000e-13)
350        Index:  1.707e+00  9.486e-01  0.000e+00  1.000e+01 (-1.000e+00)
351        Scale:  1.245e+03  0.000e+00  3.000e+01  5.000e+05 ( 1.000e+00) fixed

GAL_V02
   Spectrum: PowerLaw
688    Prefactor:  1.004e+00  1.335e+00  0.000e+00  1.000e+01 ( 1.000e+00)
689        Index:  0.000e+00  0.000e+00 -1.000e+00  1.000e+00 ( 1.000e+00) fixed
690        Scale:  1.000e+02  0.000e+00  5.000e+01  2.000e+02 ( 1.000e+00) fixed

EG_v02
   Spectrum: FileFunction
687   Normalization:  9.009e-01  1.279e+00  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Free Index): -0.00
Ra Dec: 164.626 81.255

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/31336021/cmap_HighResolution_805161601_805420801_4FGL_J1058.5+8115_daily_bin2183.png

Cleaning up...

** Nuclear option initiated! **

Updating database...

UPDATE lightcurve_data_v2 SET energy_flux_upper_limit='4.69e-03', job_status='DONE', photon_flux_upper_limit='6.02e-08', time_completed='2026-07-11 08:22:38.098170', job_id='31336021', GAL2='1.00', fit_tolerance='1e-08', EG2='0.90', EG='0.90', time_epoch_completed='1783783358.1', return_code2='101', ts='-0.00', comment='SUCCESS', return_code='0', GAL='1.00', dlogl='1.25e-09', ts2='0.00', photon_index_error='0.00', photon_index='2.51' WHERE bin_id='2183' AND source_name='4FGL J1058.5+8115' AND cadence='daily';

Database successfully updated.


Analysis Complete.


Sat Jul 11 08:22:38 PDT 2026

_V02
Working on...
/lscratch/kocevski/31336278/ft1_filtered_4FGL_J1058.5+8115_daily_bin2183.fits.....................!
real 51.54
user 49.63
sys 1.41

Creating the likelihood object...
obs = UnbinnedObs('/lscratch/kocevski/31336278/ft1_filtered_4FGL_J1058.5+8115_daily_bin2183.fits', '/lscratch/kocevski/31336278/ft2_4FGL_J1058.5+8115_daily_bin2183.fits', expMap='/lscratch/kocevski/31336278/expmap_805161601_805420801_4FGL_J1058.5+8115_daily_bin2183.fits', expCube='/lscratch/kocevski/31336278/ltcube_805161601_805420801_4FGL_J1058.5+8115_daily_bin2183.fits', irfs='P8R3_SOURCE_V2')
like = UnbinnedAnalysis(obs, '/lscratch/kocevski/31336278/Model_4FGL_J1058.5+8115_daily_bin2183.xml', optimizer='MINUIT')

Using source of interest name: '4FGL J1058.5+8115'

4FGL J1058.5+8115
   Spectrum: PowerLaw
349    Prefactor:  3.777e+00  0.000e+00  0.000e+00  1.000e+06 ( 1.000e-13)
350        Index:  2.510e+00  0.000e+00  0.000e+00  1.000e+01 (-1.000e+00) fixed
351        Scale:  1.245e+03  0.000e+00  3.000e+01  5.000e+05 ( 1.000e+00) fixed


Likelihood Fit Parameters:
Event file(s): /lscratch/kocevski/31336278/ft1_filtered_4FGL_J1058.5+8115_daily_bin2183.fits
Spacecraft file(s): /lscratch/kocevski/31336278/ft2_4FGL_J1058.5+8115_daily_bin2183.fits
Exposure map: /lscratch/kocevski/31336278/expmap_805161601_805420801_4FGL_J1058.5+8115_daily_bin2183.fits
Exposure cube: /lscratch/kocevski/31336278/ltcube_805161601_805420801_4FGL_J1058.5+8115_daily_bin2183.fits
IRFs: P8R3_SOURCE_V2
Source model file: /lscratch/kocevski/31336278/Model_4FGL_J1058.5+8115_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) = 10318.5753047

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

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

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'Prefactor '    .23174E-01   1.0000          .0000       .10000E+07
     2 'norm      '    11.329       1.0000          .0000       .10000E+07
     3 'norm      '    .37580E-02   1.0000          .0000       .10000E+07
     4 'Prefactor '    .76413E-03   1.0000          .0000       .10000E+07
     5 'Prefactor '    8.2951       1.0000          .0000       .10000E+07
     6 'Prefactor '    .45219E-03   1.0000          .0000       .10000E+07
     7 'Prefactor '    4.9225       1.0000          .0000       .10000E+07
     8 'Prefactor '    5.0268       1.0000          .0000       .10000E+07
     9 'Prefactor '    28.002       1.0000          .0000       .10000E+07
    10 'Prefactor '    43.002       1.0000          .0000       .10000E+07
    11 'norm      '    2.1897       1.0000          .0000       .10000E+07
    12 'Prefactor '    3.0861       1.0000          .0000       .10000E+07
    13 'norm      '    1.4655       1.0000          .0000       .10000E+07
    14 'norm      '    5.6813       1.0000          .0000       .10000E+07
    15 'Prefactor '    .10162E-03   1.0000          .0000       .10000E+07
    16 'Prefactor '    .33840E-06   1.0000          .0000       .10000E+07
    17 'Prefactor '    .30489E-04   1.0000          .0000       .10000E+07
    18 'Prefactor '    17.136       1.0000          .0000       .10000E+07
    19 'norm      '    10.678       1.0000          .0000       .10000E+07
    20 'norm      '    .19818E-05   1.0000          .0000       .10000E+07
    21 'Prefactor '    6.1843       1.0000          .0000       .10000E+07
    22 'Prefactor '    .96848E-03   1.0000          .0000       .10000E+07
    23 'Prefactor '    28.539       1.0000          .0000       .10000E+07
    24 'Prefactor '    .25549E-02   1.0000          .0000       .10000E+07
    25 'Prefactor '    4.7207       1.0000          .0000       .10000E+07
    26 'Prefactor '    .11126E-03   1.0000          .0000       .10000E+07
    27 'Normalizat'    .89899       1.0000         .10000E-01   10.000    
    28 'Prefactor '    1.0044       1.0000          .0000       10.000    
 **********
 **   15 **SET ERR    .5000    
 **********
 **********
 **   16 **SET GRAD    1.000    
 **********
 **********
 **   17 **MINIMIZE    .6910E+05   .2000E-04
 **********

 MIGRAD MINIMIZATION HAS CONVERGED.

 FCN=   10318.53     FROM MIGRAD    STATUS=CONVERGED    199 CALLS     2540 TOTAL
                     EDM=   .10E-08  STRATEGY=1  ERROR MATRIX UNCERTAINTY=  1.9%

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor     .55511E-10    37.852        .94576E-06** at limit **
   2  norm          11.307        3.2791        .74092E-07    .34288E-01
   3  norm          .55511E-10    8.1953        .41726E-07** at limit **
   4  Prefactor     .23622E-05    16.254        .49513E-07** at limit **
   5  Prefactor     8.2895        4.4676       -.36612E-07    .17330E-03
   6  Prefactor     .12452E-05    18.556       -.27434E-06** at limit **
   7  Prefactor     4.8975        6.1163       -.11817E-06   -.29247E-02
   8  Prefactor     3.7042        24.476        .67979E-06    .56809E-02
   9  Prefactor     27.981        6.3219        .75271E-07    .17046    
  10  Prefactor     46.632        46.706       -.30633E-06    .47810E-01
  11  norm          2.1843        3.0444       -.14792E-06   -.35888E-02
  12  Prefactor     3.0927        4.4120        .15780E-06    .88360E-04
  13  norm          1.4667        .75153       -.39687E-07   -.11593E-03
  14  norm          5.6785        2.7892        .15354E-06    .25503E-02
  15  Prefactor     .12218E-06    46.799       -.11277E-06** at limit **
  16  Prefactor      .0000        1.3505       -.19382E-06** at limit **
  17  Prefactor      .0000        4.0216        .18292E-06** at limit **
  18  Prefactor     15.038        27.019        .23921E-06    .37129E-01
  19  norm          10.590        5.7076        .69182E-07    .21139E-02
  20  norm           .0000        .61080        .51713E-07** at limit **
  21  Prefactor     6.3333        2.6357       -.95500E-07    .22718E-02
  22  Prefactor      .0000        5.7530       -.16637E-06** at limit **
  23  Prefactor     28.420        11.094       -.16712E-06   -.42425E-01
  24  Prefactor     .38858E-09    12.340        .22696E-06** at limit **
  25  Prefactor     4.5373        5.7558       -.98025E-07    .22091E-01
  26  Prefactor     .56355E-06    29.847       -.10689E-05** at limit **
  27  Normalizat    .90090        .16023        .26679E-05   -.52689E-04
  28  Prefactor     1.0040        .10398       -.35246E-05   -.11414E-03
                               ERR DEF=  .500    
Final values: 
  Prefactor  = 5.55112e-11
  norm       = 11.3074
  norm       = 5.55112e-11
  Prefactor  = 2.36222e-06
  Prefactor  = 8.28947
  Prefactor  = 1.24523e-06
  Prefactor  = 4.89746
  Prefactor  = 3.70421
  Prefactor  = 27.9808
  Prefactor  = 46.6324
  norm       = 2.18428
  Prefactor  = 3.09265
  norm       = 1.4667
  norm       = 5.67852
  Prefactor  = 1.2218e-07
  Prefactor  = 0
  Prefactor  = 0
  Prefactor  = 15.038
  norm       = 10.5897
  norm       = 0
  Prefactor  = 6.33333
  Prefactor  = 0
  Prefactor  = 28.4196
  Prefactor  = 3.88578e-10
  Prefactor  = 4.5373
  Prefactor  = 5.63549e-07
  Normalizat = 0.900897
  Prefactor  = 1.00396
 **********
 **   18 **HESSE 
 **********

 FCN=   10318.53     FROM HESSE     STATUS=OK           589 CALLS     3129 TOTAL
                     EDM=   .12E-05    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  Prefactor     .55511E-10    36.268        .16836E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   2  norm          11.307        14.762        .29740E-03   -1.5641    
   3  norm          .55511E-10    8.1979        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   4  Prefactor     .23622E-05    24.797        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   5  Prefactor     8.2895        4.4709        .34784E-03   -1.5650    
   6  Prefactor     .12452E-05    23.182        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   7  Prefactor     4.8975        6.1485        .45309E-03   -1.5664    
   8  Prefactor     3.7042        38.821        .44827E-03   -1.5669    
   9  Prefactor     27.981        13.129        .18901E-03   -1.5602    
  10  Prefactor     46.632        59.990        .15251E-03   -1.5571    
  11  norm          2.1843        3.8837        .69524E-03   -1.5678    
  12  Prefactor     3.0927        4.4620        .57708E-03   -1.5673    
  13  norm          1.4667        .75970        .88791E-03   -1.5684    
  14  norm          5.6785        2.8026        .42119E-03   -1.5660    
  15  Prefactor     .12218E-06    7.6175        .65539E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  16  Prefactor      .0000        1.3481        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  17  Prefactor      .0000        4.0102        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  18  Prefactor     15.038        54.513        .24167E-03   -1.5630    
  19  norm          10.590        5.7138        .30636E-03   -1.5643    
  20  norm           .0000        .61174        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  21  Prefactor     6.3333        71.252        .40345E-03   -1.5658    
  22  Prefactor      .0000        5.7479        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  23  Prefactor     28.420        18.719        .18722E-03   -1.5601    
  24  Prefactor     .38858E-09    12.349        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  25  Prefactor     4.5373        181.89        .46289E-03   -1.5665    
  26  Prefactor     .56355E-06    32.859        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  27  Normalizat    .90090        .14969        .67950E-01   -.96429    
  28  Prefactor     1.0040        .92877E-01    .44316E-01   -.92598    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 1.23168e-06
Minuit parameter uncertainties:
  1  8.05603e-05
  2  14.7624
  3  4.34928e-05
  4  0.015307
  5  4.47089
  6  0.0107457
  7  6.14847
  8  23.9836
  9  13.1285
  10  59.9903
  11  3.88368
  12  4.46199
  13  0.7597
  14  2.80255
  15  0.0019296
  16  5.8461e-06
  17  1.31989e-05
  18  54.5152
  19  5.71377
  20  5.14613e-08
  21  42.4864
  22  1.18504e-05
  23  18.7193
  24  0.000139791
  25  57.4573
  26  0.00860649
  27  0.149756
  28  0.0928922
Done.

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

Extracting fit parameters...

4FGL J1058.5+8115
   Spectrum: PowerLaw
349    Prefactor:  1.222e-07  1.930e-03  0.000e+00  1.000e+06 ( 1.000e-13)
350        Index:  2.510e+00  0.000e+00  0.000e+00  1.000e+01 (-1.000e+00) fixed
351        Scale:  1.245e+03  0.000e+00  3.000e+01  5.000e+05 ( 1.000e+00) fixed

GAL_V02
   Spectrum: PowerLaw
688    Prefactor:  1.004e+00  9.289e-02  0.000e+00  1.000e+01 ( 1.000e+00)
689        Index:  0.000e+00  0.000e+00 -1.000e+00  1.000e+00 ( 1.000e+00) fixed
690        Scale:  1.000e+02  0.000e+00  5.000e+01  2.000e+02 ( 1.000e+00) fixed

EG_v02
   Spectrum: FileFunction
687   Normalization:  9.009e-01  1.498e-01  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Fixed Index): -0.00
Ra Dec: 164.626 81.255
Photon Flux Upper Limit: 6.0225885287e-08 ph cm-2 s-1
Energy Flux Upper Limit: 0.00468722081118 MeV cm-2 s-1

Saving results to:
/lscratch/kocevski/31336278/likelihoodResults_805161601_805420801_4FGL_J1058.5+8115_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) = 10318.5530333
delta logL = -0.021464669886

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

MINUIT Return Code (Free Index): 102
logL (Free Index) = 10318.5315707
delta logL = -2.07117591344e-06

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'Prefactor '    .24226E-03   1.0000          .0000       .10000E+07
     2 'Index     '    2.1066       1.0000          .0000       10.000    
     3 'Normalizat'    .90081       1.0000         .10000E-01   10.000    
     4 'Prefactor '    1.0040       1.0000          .0000       10.000    
 **********
 **   15 **SET ERR    .5000    
 **********
 **********
 **   16 **SET GRAD    1.000    
 **********
 **********
 **   17 **MINIMIZE    .6910E+05   .2000E-04
 **********

 MIGRAD MINIMIZATION HAS CONVERGED.

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

 FCN=   10318.53     FROM MIGRAD    STATUS=CONVERGED     50 CALLS      227 TOTAL
                     EDM=   .93E-11  STRATEGY=1  ERROR MATRIX UNCERTAINTY=100.0%

  EXT PARAMETER                APPROXIMATE        STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor      .0000        15.111        .42118E-03** at limit **
   2  Index         1.7073        .93855       -.10174E-03     .0000    
   3  Normalizat    .90090        1.2362       -.14027E-05   -.84709E-04
   4  Prefactor     1.0040        1.2914       -.21427E-05   -.30538E-04
                               ERR DEF=  .500    
Final values: 
  Prefactor  = 0
  Index      = 1.70727
  Normalizat = 0.900897
  Prefactor  = 1.00396
 **********
 **   18 **HESSE 
 **********
  MNHESS FAILS AND WILL RETURN DIAGONAL MATRIX. 

 FCN=   10318.53     FROM HESSE     STATUS=FAILED         9 CALLS      236 TOTAL
                     EDM=   .93E-11  STRATEGY=1  ERROR MATRIX UNCERTAINTY=100.0%

  EXT PARAMETER                APPROXIMATE     INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  Prefactor      .0000        15.111        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   2  Index         .28942        1.5219       -.10174E-03   -.71888    
   3  Normalizat    .90090        1.2362       -.14027E-05   -.96429    
   4  Prefactor     1.0040        1.2914       -.21427E-05   -.92598    
                               ERR DEF=  .500    
Minuit fit quality: 1   estimated distance: 9.30844e-12
Minuit parameter uncertainties:
  1  2.32128e-05
  2  0.948566
  3  1.27872
  4  1.33485
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) = 10318.5315686
delta logL = 1.24782673083e-09

Extracting fit parameters...

4FGL J1058.5+8115
   Spectrum: PowerLaw
349    Prefactor:  0.000e+00  2.321e-05  0.000e+00  1.000e+06 ( 1.000e-13)
350        Index:  1.707e+00  9.486e-01  0.000e+00  1.000e+01 (-1.000e+00)
351        Scale:  1.245e+03  0.000e+00  3.000e+01  5.000e+05 ( 1.000e+00) fixed

GAL_V02
   Spectrum: PowerLaw
688    Prefactor:  1.004e+00  1.335e+00  0.000e+00  1.000e+01 ( 1.000e+00)
689        Index:  0.000e+00  0.000e+00 -1.000e+00  1.000e+00 ( 1.000e+00) fixed
690        Scale:  1.000e+02  0.000e+00  5.000e+01  2.000e+02 ( 1.000e+00) fixed

EG_v02
   Spectrum: FileFunction
687   Normalization:  9.009e-01  1.279e+00  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Free Index): -0.00
Ra Dec: 164.626 81.255

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/31336278/cmap_HighResolution_805161601_805420801_4FGL_J1058.5+8115_daily_bin2183.png

Cleaning up...

** Nuclear option initiated! **

Updating database...

UPDATE lightcurve_data_v2 SET energy_flux_upper_limit='4.69e-03', job_status='DONE', photon_flux_upper_limit='6.02e-08', time_completed='2026-07-11 08:26:01.091965', job_id='31336278', GAL2='1.00', fit_tolerance='1e-08', EG2='0.90', EG='0.90', time_epoch_completed='1783783561.09', return_code2='101', ts='-0.00', comment='SUCCESS', return_code='0', GAL='1.00', dlogl='1.25e-09', ts2='0.00', photon_index_error='0.00', photon_index='2.51' WHERE bin_id='2183' AND source_name='4FGL J1058.5+8115' AND cadence='daily';

Database successfully updated.


Analysis Complete.


Sat Jul 11 08:26:01 PDT 2026

