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

 FCN=   10204.77     FROM HESSE     STATUS=OK           573 CALLS     2604 TOTAL
                     EDM=   .43E-05    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  Prefactor     .62172E-08    5.6118        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   2  norm          13.250        12.737        .27488E-03   -1.5635    
   3  norm          12.901        13.641        .27857E-03   -1.5636    
   4  Prefactor     .35849E-06    29.341        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   5  Prefactor     .92700        3.6172        .43254E-03   -1.5689    
   6  Prefactor     10.400        15.735        .31023E-03   -1.5643    
   7  Prefactor      .0000        3.4901        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   8  Prefactor     5.5923        10.322        .42814E-03   -1.5661    
   9  Prefactor     .16598E-07    9.7686        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  10  Prefactor     18.430        22.115        .23054E-03   -1.5622    
  11  norm          .49302        5.5043        .76174E-03   -1.5694    
  12  Prefactor     .22204E-08    6.4878        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  13  norm          5.8335        1.0591        .41558E-03   -1.5660    
  14  norm          5.7329        2.8444        .41919E-03   -1.5660    
  15  Prefactor     .15846E-05    33.546        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  16  Prefactor     .55511E-10    4.5222        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  17  Prefactor     .14655E-07    5.8570        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  18  Prefactor     50.975        33.260        .13862E-03   -1.5565    
  19  norm          5.7803        4.0734        .41718E-03   -1.5660    
  20  norm           .0000        .55875        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  21  Prefactor     .16184E-05    16.539        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  22  Prefactor     1.4126        17.583        .90730E-03   -1.5684    
  23  Prefactor     .11115E-05    14.838        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  24  Prefactor     .88596E-07    10.824        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  25  Prefactor     .36160E-06    22.921        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  26  Prefactor     .13350E-06    133.66        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  27  Normalizat    .88587        .14384        .67531E-01   -.96959    
  28  Prefactor     1.0277        .92825E-01    .41432E-01   -.91811    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 4.25835e-06
Minuit parameter uncertainties:
  1  0.000372773
  2  12.7368
  3  13.6413
  4  0.00648665
  5  3.61719
  6  15.7348
  7  1.93704e-05
  8  10.3218
  9  0.000805758
  10  22.1152
  11  3.29471
  12  0.00023952
  13  1.05908
  14  2.84441
  15  0.0145816
  16  2.29734e-05
  17  0.000585398
  18  33.2604
  19  4.07337
  20  1.48386e-06
  21  0.0103474
  22  9.96752
  23  0.00812222
  24  0.00195843
  25  0.00575772
  26  0.00844958
  27  0.143906
  28  0.092839
Done.

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

Extracting fit parameters...

4FGL J1058.5+8115
   Spectrum: PowerLaw
349    Prefactor:  1.585e-06  1.458e-02  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.028e+00  9.284e-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:  8.859e-01  1.439e-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.8844506096e-08 ph cm-2 s-1
Energy Flux Upper Limit: 0.00535798519475 MeV cm-2 s-1

Saving results to:
/lscratch/kocevski/39806637/likelihoodResults_812419201_812678401_4FGL_J1058.5+8115_daily_bin2211.txt

Performing a free index iterative likelihood fit...

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

Done.

Freeing candidate source...
Done.

Fit tolerance = 1

Performing likelihood fit...
Done.

MINUIT Return Code (Free Index): 102
logL (Free Index) = 10204.788176
delta logL = -0.0206413498581

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

MINUIT Return Code (Free Index): 102
logL (Free Index) = 10202.5680776
delta logL = 2.19945709526

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'Prefactor '    .52436E-02   1.0000          .0000       .10000E+07
     2 'Index     '    6.2551       1.0000          .0000       10.000    
     3 'Normalizat'    .79261       1.0000         .10000E-01   10.000    
     4 'Prefactor '    1.0634       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=   10204.77     FROM MIGRAD    STATUS=CONVERGED     76 CALLS      312 TOTAL
                     EDM=   .51E-11  STRATEGY=1  ERROR MATRIX UNCERTAINTY=100.0%

  EXT PARAMETER                APPROXIMATE        STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor      .0000        1.2238        .42118E-03** at limit **
   2  Index         .82084        .56800       -.69634E-06     .0000    
   3  Normalizat    .88587        1.1910       -.27894E-05    .88578E-04
   4  Prefactor     1.0277        1.1596        .17572E-05    .83172E-04
                               ERR DEF=  .500    
Final values: 
  Prefactor  = 0
  Index      = 0.820836
  Normalizat = 0.885865
  Prefactor  = 1.02772
 **********
 **   18 **HESSE 
 **********
  MNHESS FAILS AND WILL RETURN DIAGONAL MATRIX. 

 FCN=   10204.77     FROM HESSE     STATUS=FAILED         9 CALLS      321 TOTAL
                     EDM=   .51E-11  STRATEGY=1  ERROR MATRIX UNCERTAINTY=100.0%

  EXT PARAMETER                APPROXIMATE     INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  Prefactor      .0000        1.2238        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   2  Index         .12650E-01    .89864       -.69634E-06   -32.406    
   3  Normalizat    .88587        1.1910       -.27894E-05   -2.1720    
   4  Prefactor     1.0277        1.1596        .17572E-05   -2.2235    
                               ERR DEF=  .500    
Minuit fit quality: 1   estimated distance: 5.14333e-12
Minuit parameter uncertainties:
  1  4.87488e-07
  2  0.572131
  3  1.22943
  4  1.18979
 **********
 **   18 **HESSE 
 **********

 FCN=   10204.77     FROM HESSE     STATUS=OK           573 CALLS     2604 TOTAL
                     EDM=   .43E-05    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  Prefactor     .62172E-08    5.6118        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   2  norm          13.250        12.737        .27488E-03   -1.5635    
   3  norm          12.901        13.641        .27857E-03   -1.5636    
   4  Prefactor     .35849E-06    29.341        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   5  Prefactor     .92700        3.6172        .43254E-03   -1.5689    
   6  Prefactor     10.400        15.735        .31023E-03   -1.5643    
   7  Prefactor      .0000        3.4901        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   8  Prefactor     5.5923        10.322        .42814E-03   -1.5661    
   9  Prefactor     .16598E-07    9.7686        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  10  Prefactor     18.430        22.115        .23054E-03   -1.5622    
  11  norm          .49302        5.5043        .76174E-03   -1.5694    
  12  Prefactor     .22204E-08    6.4878        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  13  norm          5.8335        1.0591        .41558E-03   -1.5660    
  14  norm          5.7329        2.8444        .41919E-03   -1.5660    
  15  Prefactor     .15846E-05    33.546        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  16  Prefactor     .55511E-10    4.5222        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  17  Prefactor     .14655E-07    5.8570        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  18  Prefactor     50.975        33.260        .13862E-03   -1.5565    
  19  norm          5.7803        4.0734        .41718E-03   -1.5660    
  20  norm           .0000        .55875        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  21  Prefactor     .16184E-05    16.539        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  22  Prefactor     1.4126        17.583        .90730E-03   -1.5684    
  23  Prefactor     .11115E-05    14.838        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  24  Prefactor     .88596E-07    10.824        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  25  Prefactor     .36160E-06    22.921        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  26  Prefactor     .13350E-06    133.66        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  27  Normalizat    .88587        .14384        .67531E-01   -.96959    
  28  Prefactor     1.0277        .92825E-01    .41432E-01   -.91811    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 4.25835e-06
Minuit parameter uncertainties:
  1  0.000372773
  2  12.7368
  3  13.6413
  4  0.00648665
  5  3.61719
  6  15.7348
  7  1.93704e-05
  8  10.3218
  9  0.000805758
  10  22.1152
  11  3.29471
  12  0.00023952
  13  1.05908
  14  2.84441
  15  0.0145816
  16  2.29734e-05
  17  0.000585398
  18  33.2604
  19  4.07337
  20  1.48386e-06
  21  0.0103474
  22  9.96752
  23  0.00812222
  24  0.00195843
  25  0.00575772
  26  0.00844958
  27  0.143906
  28  0.092839
/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
_V02
Working on...
/lscratch/kocevski/39806781/ft1_filtered_4FGL_J1058.5+8115_daily_bin2211.fits.....................!
real 52.10
user 49.68
sys 1.45

Creating the likelihood object...
obs = UnbinnedObs('/lscratch/kocevski/39806781/ft1_filtered_4FGL_J1058.5+8115_daily_bin2211.fits', '/lscratch/kocevski/39806781/ft2_4FGL_J1058.5+8115_daily_bin2211.fits', expMap='/lscratch/kocevski/39806781/expmap_812419201_812678401_4FGL_J1058.5+8115_daily_bin2211.fits', expCube='/lscratch/kocevski/39806781/ltcube_812419201_812678401_4FGL_J1058.5+8115_daily_bin2211.fits', irfs='P8R3_SOURCE_V2')
like = UnbinnedAnalysis(obs, '/lscratch/kocevski/39806781/Model_4FGL_J1058.5+8115_daily_bin2211.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/39806781/ft1_filtered_4FGL_J1058.5+8115_daily_bin2211.fits
Spacecraft file(s): /lscratch/kocevski/39806781/ft2_4FGL_J1058.5+8115_daily_bin2211.fits
Exposure map: /lscratch/kocevski/39806781/expmap_812419201_812678401_4FGL_J1058.5+8115_daily_bin2211.fits
Exposure cube: /lscratch/kocevski/39806781/ltcube_812419201_812678401_4FGL_J1058.5+8115_daily_bin2211.fits
IRFs: P8R3_SOURCE_V2
Source model file: /lscratch/kocevski/39806781/Model_4FGL_J1058.5+8115_daily_bin2211.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) = 10204.8734187

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

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

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'Prefactor '    .29184E-05   1.0000          .0000       .10000E+07
     2 'norm      '    13.254       1.0000          .0000       .10000E+07
     3 'norm      '    12.906       1.0000          .0000       .10000E+07
     4 'Prefactor '    .18760E-03   1.0000          .0000       .10000E+07
     5 'Prefactor '    .93671       1.0000          .0000       .10000E+07
     6 'Prefactor '    10.415       1.0000          .0000       .10000E+07
     7 'Prefactor '    .45252E-05   1.0000          .0000       .10000E+07
     8 'Prefactor '    5.5013       1.0000          .0000       .10000E+07
     9 'Prefactor '    .46461E-03   1.0000          .0000       .10000E+07
    10 'Prefactor '    18.829       1.0000          .0000       .10000E+07
    11 'norm      '    .52561       1.0000          .0000       .10000E+07
    12 'Prefactor '    .46030E-06   1.0000          .0000       .10000E+07
    13 'norm      '    5.8333       1.0000          .0000       .10000E+07
    14 'norm      '    5.7349       1.0000          .0000       .10000E+07
    15 'Prefactor '    .79416E-04   1.0000          .0000       .10000E+07
    16 'Prefactor '    .26435E-04   1.0000          .0000       .10000E+07
    17 'Prefactor '    .25441E-06   1.0000          .0000       .10000E+07
    18 'Prefactor '    52.052       1.0000          .0000       .10000E+07
    19 'norm      '    5.7893       1.0000          .0000       .10000E+07
    20 'norm      '    .15599E-07   1.0000          .0000       .10000E+07
    21 'Prefactor '    .36225E-03   1.0000          .0000       .10000E+07
    22 'Prefactor '    1.4206       1.0000          .0000       .10000E+07
    23 'Prefactor '    .40217E-03   1.0000          .0000       .10000E+07
    24 'Prefactor '    .20438E-04   1.0000          .0000       .10000E+07
    25 'Prefactor '    .43443E-04   1.0000          .0000       .10000E+07
    26 'Prefactor '    .45967E-02   1.0000          .0000       .10000E+07
    27 'Normalizat'    .88512       1.0000         .100
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).

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) = 10204.7675347
delta logL = 2.36323103309e-08

Extracting fit parameters...

4FGL J1058.5+8115
   Spectrum: PowerLaw
349    Prefactor:  0.000e+00  4.875e-07  0.000e+00  1.000e+06 ( 1.000e-13)
350        Index:  8.208e-01  5.721e-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.028e+00  1.190e+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:  8.859e-01  1.229e+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/39806637/cmap_HighResolution_812419201_812678401_4FGL_J1058.5+8115_daily_bin2211.png

Cleaning up...

** Nuclear option initiated! **

Updating database...

UPDATE lightcurve_data_v2 SET energy_flux_upper_limit='5.36e-03', job_status='DONE', photon_flux_upper_limit='6.88e-08', time_completed='2026-10-03 19:58:32.161126', job_id='39806637', GAL2='1.03', fit_tolerance='1e-08', EG2='0.89', EG='0.89', time_epoch_completed='1791082712.16', return_code2='101', ts='-0.00', comment='SUCCESS', return_code='0', GAL='1.03', dlogl='2.36e-08', ts2='0.00', photon_index_error='0.00', photon_index='2.51' WHERE bin_id='2211' AND source_name='4FGL J1058.5+8115' AND cadence='daily';

Database successfully updated.


Analysis Complete.


Sat Oct  3 19:58:32 PDT 2026

number of points = 7603
number of fields = 31
RA_SUN column already exists. File will not be modified.
/sdf/group/fermi/u/kocevski/software/conda/envs/fermitools_v1.0.5/lib/python2.7/site-packages/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)
Done.


Performing analysis on: 4FGL_J1058.5+8115_daily_bin2211
RA = 164.626, Dec = 81.2547
tmin = 812419201, tmax = 812678401
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='39807071', job_status='RUN', time_executed='2026-10-03 19:57:40.823538', time_epoch_executed='1791082660.82' WHERE source_name='4FGL J1058.5+8115' and cadence='daily' and bin_id='2211'

Database successfully updated.
Done.

Creating custom output directory:
/lscratch/kocevski/39807071

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

Retrieving the FT1 file...

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

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

Retrieving 47 files...
Done.


Merging files...

Checksum keywords updated successfully.

Merged file saved to:
/lscratch/kocevski/39807071/ft1_4FGL_J1058.5+8115_daily_bin2211.fits


Retrieving the FT1 file...

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

Retrieving 47 files...
Done.


Merging files...

Merged file saved to:
/lscratch/kocevski/39807071/ft2_4FGL_J1058.5+8115_daily_bin2211.fits


Selecting the photons:
time -p gtselect infile=/lscratch/kocevski/39807071/ft1_4FGL_J1058.5+8115_daily_bin2211.fits outfile=/lscratch/kocevski/39807071/ft1_filteredMKT_4FGL_J1058.5+8115_daily_bin2211.fits ra=164.626 dec=81.2547 rad=12.0 tmin=812419201.0 tmax=812678401.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.68
user 2.22
sys 0.18

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

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

Number of photons that the gtmktime cut: 974

Generating the livetime cube:
time -p gtltcube evfile="/lscratch/kocevski/39807071/ft1_filtered_4FGL_J1058.5+8115_daily_bin2211.fits" evtable="EVENTS" scfile=/lscratch/kocevski/39807071/ft2_4FGL_J1058.5+8115_daily_bin2211.fits sctable="SC_DATA" ou
WARNING: version mismatch between CFITSIO header (v3.43) and linked library (v3.41).

_V02
Working on...
/lscratch/kocevski/39806741/ft1_filtered_4FGL_J1058.5+8115_daily_bin2211.fits.....................!
real 51.82
user 50.34
sys 0.86

Creating the likelihood object...
obs = UnbinnedObs('/lscratch/kocevski/39806741/ft1_filtered_4FGL_J1058.5+8115_daily_bin2211.fits', '/lscratch/kocevski/39806741/ft2_4FGL_J1058.5+8115_daily_bin2211.fits', expMap='/lscratch/kocevski/39806741/expmap_812419201_812678401_4FGL_J1058.5+8115_daily_bin2211.fits', expCube='/lscratch/kocevski/39806741/ltcube_812419201_812678401_4FGL_J1058.5+8115_daily_bin2211.fits', irfs='P8R3_SOURCE_V2')
like = UnbinnedAnalysis(obs, '/lscratch/kocevski/39806741/Model_4FGL_J1058.5+8115_daily_bin2211.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/39806741/ft1_filtered_4FGL_J1058.5+8115_daily_bin2211.fits
Spacecraft file(s): /lscratch/kocevski/39806741/ft2_4FGL_J1058.5+8115_daily_bin2211.fits
Exposure map: /lscratch/kocevski/39806741/expmap_812419201_812678401_4FGL_J1058.5+8115_daily_bin2211.fits
Exposure cube: /lscratch/kocevski/39806741/ltcube_812419201_812678401_4FGL_J1058.5+8115_daily_bin2211.fits
IRFs: P8R3_SOURCE_V2
Source model file: /lscratch/kocevski/39806741/Model_4FGL_J1058.5+8115_daily_bin2211.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) = 10204.8734187

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

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

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'Prefactor '    .29184E-05   1.0000          .0000       .10000E+07
     2 'norm      '    13.254       1.0000          .0000       .10000E+07
     3 'norm      '    12.906       1.0000          .0000       .10000E+07
     4 'Prefactor '    .18760E-03   1.0000          .0000       .10000E+07
     5 'Prefactor '    .93671       1.0000          .0000       .10000E+07
     6 'Prefactor '    10.415       1.0000          .0000       .10000E+07
     7 'Prefactor '    .45252E-05   1.0000          .0000       .10000E+07
     8 'Prefactor '    5.5013       1.0000          .0000       .10000E+07
     9 'Prefactor '    .46461E-03   1.0000          .0000       .10000E+07
    10 'Prefactor '    18.829       1.0000          .0000       .10000E+07
    11 'norm      '    .52561       1.0000          .0000       .10000E+07
    12 'Prefactor '    .46030E-06   1.0000          .0000       .10000E+07
    13 'norm      '    5.8333       1.0000          .0000       .10000E+07
    14 'norm      '    5.7349       1.0000          .0000       .10000E+07
    15 'Prefactor '    .79416E-04   1.0000          .0000       .10000E+07
    16 'Prefactor '    .26435E-04   1.0000          .0000       .10000E+07
    17 'Prefactor '    .25441E-06   1.0000          .0000       .10000E+07
    18 'Prefactor '    52.052       1.0000          .0000       .10000E+07
    19 'norm      '    5.7893       1.0000          .0000       .10000E+07
    20 'norm      '    .15599E-07   1.0000          .0000       .10000E+07
    21 'Prefactor '    .36225E-03   1.0000          .0000       .10000E+07
    22 'Prefactor '    1.4206       1.0000          .0000       .10000E+07
    23 'Prefactor '    .40217E-03   1.0000          .0000       .10000E+07
    24 'Prefactor '    .20438E-04   1.0000          .0000       .10000E+07
    25 'Prefactor '    .43443E-04   1.0000          .0000       .10000E+07
    26 'Prefactor '    .45967E-02   1.0000          .0000       .10000E+07
    27 'Normalizat'    .88512       1.0000         .100 **********
 **   18 **HESSE 
 **********

 FCN=   10204.77     FROM HESSE     STATUS=OK           573 CALLS     2604 TOTAL
                     EDM=   .43E-05    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  Prefactor     .62172E-08    5.6118        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   2  norm          13.250        12.737        .27488E-03   -1.5635    
   3  norm          12.901        13.641        .27857E-03   -1.5636    
   4  Prefactor     .35849E-06    29.341        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   5  Prefactor     .92700        3.6172        .43254E-03   -1.5689    
   6  Prefactor     10.400        15.735        .31023E-03   -1.5643    
   7  Prefactor      .0000        3.4901        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   8  Prefactor     5.5923        10.322        .42814E-03   -1.5661    
   9  Prefactor     .16598E-07    9.7686        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  10  Prefactor     18.430        22.115        .23054E-03   -1.5622    
  11  norm          .49302        5.5043        .76174E-03   -1.5694    
  12  Prefactor     .22204E-08    6.4878        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  13  norm          5.8335        1.0591        .41558E-03   -1.5660    
  14  norm          5.7329        2.8444        .41919E-03   -1.5660    
  15  Prefactor     .15846E-05    33.546        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  16  Prefactor     .55511E-10    4.5222        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  17  Prefactor     .14655E-07    5.8570        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  18  Prefactor     50.975        33.260        .13862E-03   -1.5565    
  19  norm          5.7803        4.0734        .41718E-03   -1.5660    
  20  norm           .0000        .55875        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  21  Prefactor     .16184E-05    16.539        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  22  Prefactor     1.4126        17.583        .90730E-03   -1.5684    
  23  Prefactor     .11115E-05    14.838        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  24  Prefactor     .88596E-07    10.824        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  25  Prefactor     .36160E-06    22.921        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  26  Prefactor     .13350E-06    133.66        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  27  Normalizat    .88587        .14384        .67531E-01   -.96959    
  28  Prefactor     1.0277        .92825E-01    .41432E-01   -.91811    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 4.25835e-06
Minuit parameter uncertainties:
  1  0.000372773
  2  12.7368
  3  13.6413
  4  0.00648665
  5  3.61719
  6  15.7348
  7  1.93704e-05
  8  10.3218
  9  0.000805758
  10  22.1152
  11  3.29471
  12  0.00023952
  13  1.05908
  14  2.84441
  15  0.0145816
  16  2.29734e-05
  17  0.000585398
  18  33.2604
  19  4.07337
  20  1.48386e-06
  21  0.0103474
  22  9.96752
  23  0.00812222
  24  0.00195843
  25  0.00575772
  26  0.00844958
  27  0.143906
  28  0.092839
Done.

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

Extracting fit parameters...

4FGL J1058.5+8115
   Spectrum: PowerLaw
349    Prefactor:  1.585e-06  1.458e-02  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.028e+00  9.284e-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:  8.859e-01  1.439e-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.8844506096e-08 ph cm-2 s-1
Energy Flux Upper Limit: 0.00535798519475 MeV cm-2 s-1

Saving results to:
/lscratch/kocevski/39806634/likelihoodResults_812419201_812678401_4FGL_J1058.5+8115_daily_bin2211.txt

Performing a free index iterative likelihood fit...

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

Done.

Freeing candidate source...
Done.

Fit tolerance = 1

Performing likelihood fit...
Done.

MINUIT Return Code (Free Index): 102
logL (Free Index) = 10204.788176
delta logL = -0.0206413498581

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

MINUIT Return Code (Free Index): 102
logL (Free Index) = 10202.5680776
delta logL = 2.19945709526

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'Prefactor '    .52436E-02   1.0000          .0000       .10000E+07
     2 'Index     '    6.2551       1.0000          .0000       10.000    
     3 'Normalizat'    .79261       1.0000         .10000E-01   10.000    
     4 'Prefactor '    1.0634       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=   10204.77     FROM MIGRAD    STATUS=CONVERGED     76 CALLS      312 TOTAL
                     EDM=   .51E-11  STRATEGY=1  ERROR MATRIX UNCERTAINTY=100.0%

  EXT PARAMETER                APPROXIMATE        STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor      .0000        1.2238        .42118E-03** at limit **
   2  Index         .82084        .56800       -.69634E-06     .0000    
   3  Normalizat    .88587        1.1910       -.27894E-05    .88578E-04
   4  Prefactor     1.0277        1.1596        .17572E-05    .83172E-04
                               ERR DEF=  .500    
Final values: 
  Prefactor  = 0
  Index      = 0.820836
  Normalizat = 0.885865
  Prefactor  = 1.02772
Done.

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

Extracting fit parameters...

4FGL J1058.5+8115
   Spectrum: PowerLaw
349    Prefactor:  1.585e-06  1.458e-02  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.028e+00  9.284e-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:  8.859e-01  1.439e-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.8844506096e-08 ph cm-2 s-1
Energy Flux Upper Limit: 0.00535798519475 MeV cm-2 s-1

Saving results to:
/lscratch/kocevski/39806667/likelihoodResults_812419201_812678401_4FGL_J1058.5+8115_daily_bin2211.txt

Performing a free index iterative likelihood fit...

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

Done.

Freeing candidate source...
Done.

Fit tolerance = 1

Performing likelihood fit...
Done.

MINUIT Return Code (Free Index): 102
logL (Free Index) = 10204.788176
delta logL = -0.0206413498581

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

MINUIT Return Code (Free Index): 102
logL (Free Index) = 10202.5680776
delta logL = 2.19945709526

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'Prefactor '    .52436E-02   1.0000          .0000       .10000E+07
     2 'Index     '    6.2551       1.0000          .0000       10.000    
     3 'Normalizat'    .79261       1.0000         .10000E-01   10.000    
     4 'Prefactor '    1.0634       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=   10204.77     FROM MIGRAD    STATUS=CONVERGED     76 CALLS      312 TOTAL
                     EDM=   .51E-11  STRATEGY=1  ERROR MATRIX UNCERTAINTY=100.0%

  EXT PARAMETER                APPROXIMATE        STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor      .0000        1.2238        .42118E-03** at limit **
   2  Index         .82084        .56800       -.69634E-06     .0000    
   3  Normalizat    .88587        1.1910       -.27894E-05    .88578E-04
   4  Prefactor     1.0277        1.1596        .17572E-05    .83172E-04
                               ERR DEF=  .500    
Final values: 
  Prefactor  = 0
  Index      = 0.820836
  Normalizat = 0.885865
  Prefactor  = 1.02772
 **********
 **   18 **HESSE 
 **********
  MNHESS FAILS AND WILL RETURN DIAGONAL MATRIX. 

 FCN=   10204.77     FROM HESSE     STATUS=FAILED         9 CALLS      321 TOTAL
                     EDM=   .51E-11  STRATEGY=1  ERROR MATRIX UNCERTAINTY=100.0%

  EXT PARAMETER                APPROXIMATE     INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  Prefactor      .0000        1.2238        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   2  Index         .12650E-01    .89864       -.69634E-06   -32.406    
   3  Normalizat    .88587        1.1910       -.27894E-05   -2.1720    
   4  Prefactor     1.0277        1.1596        .17572E-05   -2.2235    
                               ERR DEF=  .500    
Minuit fit quality: 1   estimated distance: 5.14333e-12
Minuit parameter uncertainties:
  1  4.87488e-07
  2  0.572131
  3  1.22943
  4  1.18979
 **********
 **   18 **HESSE 
 **********
  MNHESS FAILS AND WILL RETURN DIAGONAL MATRIX. 

 FCN=   10204.77     FROM HESSE     STATUS=FAILED         9 CALLS      321 TOTAL
                     EDM=   .51E-11  STRATEGY=1  ERROR MATRIX UNCERTAINTY=100.0%

  EXT PARAMETER                APPROXIMATE     INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  Prefactor      .0000        1.2238        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   2  Index         .12650E-01    .89864       -.69634E-06   -32.406    
   3  Normalizat    .88587        1.1910       -.27894E-05   -2.1720    
   4  Prefactor     1.0277        1.1596        .17572E-05   -2.2235    
                               ERR DEF=  .500    
Minuit fit quality: 1   estimated distance: 5.14333e-12
Minuit parameter uncertainties:
  1  4.87488e-07
  2  0.572131
  3  1.22943
  4  1.18979
shell-init: error retrieving current directory: getcwd: cannot access parent directories: No such file or directory
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) = 10204.7675347
delta logL = 2.36323103309e-08

Extracting fit parameters...

4FGL J1058.5+8115
   Spectrum: PowerLaw
349    Prefactor:  0.000e+00  4.875e-07  0.000e+00  1.000e+06 ( 1.000e-13)
350        Index:  8.208e-01  5.721e-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.028e+00  1.190e+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:  8.859e-01  1.229e+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/39806667/cmap_HighResolution_812419201_812678401_4FGL_J1058.5+8115_daily_bin2211.png

Cleaning up...

** Nuclear option initiated! **

Updating database...

UPDATE lightcurve_data_v2 SET energy_flux_upper_limit='5.36e-03', job_status='DONE', photon_flux_upper_limit='6.88e-08', time_completed='2026-10-03 19:58:49.210662', job_id='39806667', GAL2='1.03', fit_tolerance='1e-08', EG2='0.89', EG='0.89', time_epoch_completed='1791082729.21', return_code2='101', ts='-0.00', comment='SUCCESS', return_code='0', GAL='1.03', dlogl='2.36e-08', ts2='0.00', photon_index_error='0.00', photon_index='2.51' WHERE bin_id='2211' AND source_name='4FGL J1058.5+8115' AND cadence='daily';

Database successfully updated.


Analysis Complete.


Sat Oct  3 19:58:49 PDT 2026

Done.

MINUIT Return Code (Free Index): 101
logL (Free Index) = 10204.7675347
delta logL = 2.36323103309e-08

Extracting fit parameters...

4FGL J1058.5+8115
   Spectrum: PowerLaw
349    Prefactor:  0.000e+00  4.875e-07  0.000e+00  1.000e+06 ( 1.000e-13)
350        Index:  8.208e-01  5.721e-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.028e+00  1.190e+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:  8.859e-01  1.229e+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/39806634/cmap_HighResolution_812419201_812678401_4FGL_J1058.5+8115_daily_bin2211.png

Cleaning up...

** Nuclear option initiated! **

Updating database...

UPDATE lightcurve_data_v2 SET energy_flux_upper_limit='5.36e-03', job_status='DONE', photon_flux_upper_limit='6.88e-08', time_completed='2026-10-03 19:58:49.215838', job_id='39806634', GAL2='1.03', fit_tolerance='1e-08', EG2='0.89', EG='0.89', time_epoch_completed='1791082729.22', return_code2='101', ts='-0.00', comment='SUCCESS', return_code='0', GAL='1.03', dlogl='2.36e-08', ts2='0.00', photon_index_error='0.00', photon_index='2.51' WHERE bin_id='2211' AND source_name='4FGL J1058.5+8115' AND cadence='daily';

Database successfully updated.


Analysis Complete.


Sat Oct  3 19:58:49 PDT 2026

00E-01   10.000    
    28 'Prefactor '    1.0279       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=   10204.77     FROM MIGRAD    STATUS=CONVERGED    214 CALLS     2031 TOTAL
                     EDM=   .57E-09  STRATEGY=1  ERROR MATRIX UNCERTAINTY=  3.8%

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor     .62172E-08    5.5725        .88157E-06** at limit **
   2  norm          13.250        2.3279       -.98294E-08   -.26243E-01
   3  norm          12.901        2.3063       -.44335E-07   -.25925E-01
   4  Prefactor     .35849E-06    16.064       -.64514E-06** at limit **
   5  Prefactor     .92700        3.6137        .29998E-06   -.58684E-03
   6  Prefactor     10.400        1.1719       -.17190E-08   -.10660E-03
   7  Prefactor      .0000        3.4764        .81990E-06** at limit **
   8  Prefactor     5.5923        8.5563       -.49797E-06   -.12349E-02
   9  Prefactor     .16598E-07    9.6046       -.36585E-06** at limit **
  10  Prefactor     18.430        2.8372       -.18679E-08   -.32770E-02
  11  norm          .49302        5.4986        .24258E-06   -.17101E-02
  12  Prefactor     .22204E-08    6.4847        .17638E-06** at limit **
  13  norm          5.8335        1.0500        .68675E-07    .51621E-02
  14  norm          5.7329        2.8437       -.11733E-06    .12960E-02
  15  Prefactor     .15846E-05    23.749       -.80849E-06** at limit **
  16  Prefactor     .55511E-10    4.6672        .46128E-06** at limit **
  17  Prefactor     .14655E-07    5.7573        .27880E-07** at limit **
  18  Prefactor     50.975        25.709        .28285E-06   -.85183E-01
  19  norm          5.7803        4.0764       -.13036E-06   -.28735E-03
  20  norm           .0000        .55733        .16658E-06** at limit **
  21  Prefactor     .16184E-05    10.781        .10941E-05** at limit **
  22  Prefactor     1.4126        17.633       -.12767E-06   -.24660E-02
  23  Prefactor     .11115E-05    10.849       -.18848E-06** at limit **
  24  Prefactor     .88596E-07    10.404        .88717E-07** at limit **
  25  Prefactor     .36160E-06    18.313        .15961E-05** at limit **
  26  Prefactor     .13350E-06    133.71       -.49685E-05** at limit **
  27  Normalizat    .88587        .16000       -.57438E-05    .19093E-04
  28  Prefactor     1.0277        .10460        .45600E-05    .13237E-03
                               ERR DEF=  .500    
Final values: 
  Prefactor  = 6.21725e-09
  norm       = 13.2504
  norm       = 12.9009
  Prefactor  = 3.58491e-07
  Prefactor  = 0.927003
  Prefactor  = 10.3996
  Prefactor  = 0
  Prefactor  = 5.59232
  Prefactor  = 1.65978e-08
  Prefactor  = 18.4298
  norm       = 0.493023
  Prefactor  = 2.22045e-09
  norm       = 5.83347
  norm       = 5.73294
  Prefactor  = 1.58457e-06
  Prefactor  = 5.55112e-11
  Prefactor  = 1.46549e-08
  Prefactor  = 50.9747
  norm       = 5.78035
  norm       = 0
  Prefactor  = 1.61843e-06
  Prefactor  = 1.4126
  Prefactor  = 1.1115e-06
  Prefactor  = 8.85958e-08
  Prefactor  = 3.616e-07
  Prefactor  = 1.33504e-07
  Normalizat = 0.885865
  Prefactor  = 1.02772
00E-01   10.000    
    28 'Prefactor '    1.0279       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=   10204.77     FROM MIGRAD    STATUS=CONVERGED    214 CALLS     2031 TOTAL
                     EDM=   .57E-09  STRATEGY=1  ERROR MATRIX UNCERTAINTY=  3.8%

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor     .62172E-08    5.5725        .88157E-06** at limit **
   2  norm          13.250        2.3279       -.98294E-08   -.26243E-01
   3  norm          12.901        2.3063       -.44335E-07   -.25925E-01
   4  Prefactor     .35849E-06    16.064       -.64514E-06** at limit **
   5  Prefactor     .92700        3.6137        .29998E-06   -.58684E-03
   6  Prefactor     10.400        1.1719       -.17190E-08   -.10660E-03
   7  Prefactor      .0000        3.4764        .81990E-06** at limit **
   8  Prefactor     5.5923        8.5563       -.49797E-06   -.12349E-02
   9  Prefactor     .16598E-07    9.6046       -.36585E-06** at limit **
  10  Prefactor     18.430        2.8372       -.18679E-08   -.32770E-02
  11  norm          .49302        5.4986        .24258E-06   -.17101E-02
  12  Prefactor     .22204E-08    6.4847        .17638E-06** at limit **
  13  norm          5.8335        1.0500        .68675E-07    .51621E-02
  14  norm          5.7329        2.8437       -.11733E-06    .12960E-02
  15  Prefactor     .15846E-05    23.749       -.80849E-06** at limit **
  16  Prefactor     .55511E-10    4.6672        .46128E-06** at limit **
  17  Prefactor     .14655E-07    5.7573        .27880E-07** at limit **
  18  Prefactor     50.975        25.709        .28285E-06   -.85183E-01
  19  norm          5.7803        4.0764       -.13036E-06   -.28735E-03
  20  norm           .0000        .55733        .16658E-06** at limit **
  21  Prefactor     .16184E-05    10.781        .10941E-05** at limit **
  22  Prefactor     1.4126        17.633       -.12767E-06   -.24660E-02
  23  Prefactor     .11115E-05    10.849       -.18848E-06** at limit **
  24  Prefactor     .88596E-07    10.404        .88717E-07** at limit **
  25  Prefactor     .36160E-06    18.313        .15961E-05** at limit **
  26  Prefactor     .13350E-06    133.71       -.49685E-05** at limit **
  27  Normalizat    .88587        .16000       -.57438E-05    .19093E-04
  28  Prefactor     1.0277        .10460        .45600E-05    .13237E-03
                               ERR DEF=  .500    
Final values: 
  Prefactor  = 6.21725e-09
  norm       = 13.2504
  norm       = 12.9009
  Prefactor  = 3.58491e-07
  Prefactor  = 0.927003
  Prefactor  = 10.3996
  Prefactor  = 0
  Prefactor  = 5.59232
  Prefactor  = 1.65978e-08
  Prefactor  = 18.4298
  norm       = 0.493023
  Prefactor  = 2.22045e-09
  norm       = 5.83347
  norm       = 5.73294
  Prefactor  = 1.58457e-06
  Prefactor  = 5.55112e-11
  Prefactor  = 1.46549e-08
  Prefactor  = 50.9747
  norm       = 5.78035
  norm       = 0
  Prefactor  = 1.61843e-06
  Prefactor  = 1.4126
  Prefactor  = 1.1115e-06
  Prefactor  = 8.85958e-08
  Prefactor  = 3.616e-07
  Prefactor  = 1.33504e-07
  Normalizat = 0.885865
  Prefactor  = 1.02772
number of points = 7603
number of fields = 31
RA_SUN column already exists. File will not be modified.
Done.


Performing analysis on: 4FGL_J1058.5+8115_daily_bin2211
RA = 164.626, Dec = 81.2547
tmin = 812419201, tmax = 812678401
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='39807133', job_status='RUN', time_executed='2026-10-03 19:58:36.968150', time_epoch_executed='1791082716.97' WHERE source_name='4FGL J1058.5+8115' and cadence='daily' and bin_id='2211'

Database successfully updated.
Done.

Creating custom output directory:
/lscratch/kocevski/39807133

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

Retrieving the FT1 file...

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

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

Retrieving 47 files...
Done.


Merging files...

Checksum keywords updated successfully.

Merged file saved to:
/lscratch/kocevski/39807133/ft1_4FGL_J1058.5+8115_daily_bin2211.fits


Retrieving the FT1 file...

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

Retrieving 47 files...
Done.


Merging files...

Merged file saved to:
/lscratch/kocevski/39807133/ft2_4FGL_J1058.5+8115_daily_bin2211.fits


Selecting the photons:
time -p gtselect infile=/lscratch/kocevski/39807133/ft1_4FGL_J1058.5+8115_daily_bin2211.fits outfile=/lscratch/kocevski/39807133/ft1_filteredMKT_4FGL_J1058.5+8115_daily_bin2211.fits ra=164.626 dec=81.2547 rad=12.0 tmin=812419201.0 tmax=812678401.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.66
user 2.20
sys 0.17

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

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

Number of photons that the gtmktime cut: 974

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

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

Extracting fit parameters...

4FGL J1058.5+8115
   Spectrum: PowerLaw
349    Prefactor:  1.585e-06  1.458e-02  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.028e+00  9.284e-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:  8.859e-01  1.439e-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.8844506096e-08 ph cm-2 s-1
Energy Flux Upper Limit: 0.00535798519475 MeV cm-2 s-1

Saving results to:
/lscratch/kocevski/39806721/likelihoodResults_812419201_812678401_4FGL_J1058.5+8115_daily_bin2211.txt

Performing a free index iterative likelihood fit...

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

Done.

Freeing candidate source...
Done.

Fit tolerance = 1

Performing likelihood fit...
Done.

MINUIT Return Code (Free Index): 102
logL (Free Index) = 10204.788176
delta logL = -0.0206413498581

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

MINUIT Return Code (Free Index): 102
logL (Free Index) = 10202.5680776
delta logL = 2.19945709526

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'Prefactor '    .52436E-02   1.0000          .0000       .10000E+07
     2 'Index     '    6.2551       1.0000          .0000       10.000    
     3 'Normalizat'    .79261       1.0000         .10000E-01   10.000    
     4 'Prefactor '    1.0634       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=   10204.77     FROM MIGRAD    STATUS=CONVERGED     76 CALLS      312 TOTAL
                     EDM=   .51E-11  STRATEGY=1  ERROR MATRIX UNCERTAINTY=100.0%

  EXT PARAMETER                APPROXIMATE        STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor      .0000        1.2238        .42118E-03** at limit **
   2  Index         .82084        .56800       -.69634E-06     .0000    
   3  Normalizat    .88587        1.1910       -.27894E-05    .88578E-04
   4  Prefactor     1.0277        1.1596        .17572E-05    .83172E-04
                               ERR DEF=  .500    
Final values: 
  Prefactor  = 0
  Index      = 0.820836
  Normalizat = 0.885865
  Prefactor  = 1.02772
_V02
Working on...
/lscratch/kocevski/39806815/ft1_filtered_4FGL_J1058.5+8115_daily_bin2211.fits.....................!
real 51.95
user 49.98
sys 1.13

Creating the likelihood object...
obs = UnbinnedObs('/lscratch/kocevski/39806815/ft1_filtered_4FGL_J1058.5+8115_daily_bin2211.fits', '/lscratch/kocevski/39806815/ft2_4FGL_J1058.5+8115_daily_bin2211.fits', expMap='/lscratch/kocevski/39806815/expmap_812419201_812678401_4FGL_J1058.5+8115_daily_bin2211.fits', expCube='/lscratch/kocevski/39806815/ltcube_812419201_812678401_4FGL_J1058.5+8115_daily_bin2211.fits', irfs='P8R3_SOURCE_V2')
like = UnbinnedAnalysis(obs, '/lscratch/kocevski/39806815/Model_4FGL_J1058.5+8115_daily_bin2211.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/39806815/ft1_filtered_4FGL_J1058.5+8115_daily_bin2211.fits
Spacecraft file(s): /lscratch/kocevski/39806815/ft2_4FGL_J1058.5+8115_daily_bin2211.fits
Exposure map: /lscratch/kocevski/39806815/expmap_812419201_812678401_4FGL_J1058.5+8115_daily_bin2211.fits
Exposure cube: /lscratch/kocevski/39806815/ltcube_812419201_812678401_4FGL_J1058.5+8115_daily_bin2211.fits
IRFs: P8R3_SOURCE_V2
Source model file: /lscratch/kocevski/39806815/Model_4FGL_J1058.5+8115_daily_bin2211.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) = 10204.8734187

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

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

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'Prefactor '    .29184E-05   1.0000          .0000       .10000E+07
     2 'norm      '    13.254       1.0000          .0000       .10000E+07
     3 'norm      '    12.906       1.0000          .0000       .10000E+07
     4 'Prefactor '    .18760E-03   1.0000          .0000       .10000E+07
     5 'Prefactor '    .93671       1.0000          .0000       .10000E+07
     6 'Prefactor '    10.415       1.0000          .0000       .10000E+07
     7 'Prefactor '    .45252E-05   1.0000          .0000       .10000E+07
     8 'Prefactor '    5.5013       1.0000          .0000       .10000E+07
     9 'Prefactor '    .46461E-03   1.0000          .0000       .10000E+07
    10 'Prefactor '    18.829       1.0000          .0000       .10000E+07
    11 'norm      '    .52561       1.0000          .0000       .10000E+07
    12 'Prefactor '    .46030E-06   1.0000          .0000       .10000E+07
    13 'norm      '    5.8333       1.0000          .0000       .10000E+07
    14 'norm      '    5.7349       1.0000          .0000       .10000E+07
    15 'Prefactor '    .79416E-04   1.0000          .0000       .10000E+07
    16 'Prefactor '    .26435E-04   1.0000          .0000       .10000E+07
    17 'Prefactor '    .25441E-06   1.0000          .0000       .10000E+07
    18 'Prefactor '    52.052       1.0000          .0000       .10000E+07
    19 'norm      '    5.7893       1.0000          .0000       .10000E+07
    20 'norm      '    .15599E-07   1.0000          .0000       .10000E+07
    21 'Prefactor '    .36225E-03   1.0000          .0000       .10000E+07
    22 'Prefactor '    1.4206       1.0000          .0000       .10000E+07
    23 'Prefactor '    .40217E-03   1.0000          .0000       .10000E+07
    24 'Prefactor '    .20438E-04   1.0000          .0000       .10000E+07
    25 'Prefactor '    .43443E-04   1.0000          .0000       .10000E+07
    26 'Prefactor '    .45967E-02   1.0000          .0000       .10000E+07
    27 'Normalizat'    .88512       1.0000         .100 **********
 **   18 **HESSE 
 **********
  MNHESS FAILS AND WILL RETURN DIAGONAL MATRIX. 

 FCN=   10204.77     FROM HESSE     STATUS=FAILED         9 CALLS      321 TOTAL
                     EDM=   .51E-11  STRATEGY=1  ERROR MATRIX UNCERTAINTY=100.0%

  EXT PARAMETER                APPROXIMATE     INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  Prefactor      .0000        1.2238        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   2  Index         .12650E-01    .89864       -.69634E-06   -32.406    
   3  Normalizat    .88587        1.1910       -.27894E-05   -2.1720    
   4  Prefactor     1.0277        1.1596        .17572E-05   -2.2235    
                               ERR DEF=  .500    
Minuit fit quality: 1   estimated distance: 5.14333e-12
Minuit parameter uncertainties:
  1  4.87488e-07
  2  0.572131
  3  1.22943
  4  1.18979
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) = 10204.7675347
delta logL = 2.36323103309e-08

Extracting fit parameters...

4FGL J1058.5+8115
   Spectrum: PowerLaw
349    Prefactor:  0.000e+00  4.875e-07  0.000e+00  1.000e+06 ( 1.000e-13)
350        Index:  8.208e-01  5.721e-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.028e+00  1.190e+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:  8.859e-01  1.229e+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/39806721/cmap_HighResolution_812419201_812678401_4FGL_J1058.5+8115_daily_bin2211.png

Cleaning up...

** Nuclear option initiated! **

Updating database...

UPDATE lightcurve_data_v2 SET energy_flux_upper_limit='5.36e-03', job_status='DONE', photon_flux_upper_limit='6.88e-08', time_completed='2026-10-03 19:59:29.401911', job_id='39806721', GAL2='1.03', fit_tolerance='1e-08', EG2='0.89', EG='0.89', time_epoch_completed='1791082769.4', return_code2='101', ts='-0.00', comment='SUCCESS', return_code='0', GAL='1.03', dlogl='2.36e-08', ts2='0.00', photon_index_error='0.00', photon_index='2.51' WHERE bin_id='2211' AND source_name='4FGL J1058.5+8115' AND cadence='daily';

Database successfully updated.


Analysis Complete.


Sat Oct  3 19:59:29 PDT 2026

Done.

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

Extracting fit parameters...

4FGL J1058.5+8115
   Spectrum: PowerLaw
349    Prefactor:  1.585e-06  1.458e-02  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.028e+00  9.284e-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:  8.859e-01  1.439e-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.8844506096e-08 ph cm-2 s-1
Energy Flux Upper Limit: 0.00535798519475 MeV cm-2 s-1

Saving results to:
/lscratch/kocevski/39806711/likelihoodResults_812419201_812678401_4FGL_J1058.5+8115_daily_bin2211.txt

Performing a free index iterative likelihood fit...

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

Done.

Freeing candidate source...
Done.

Fit tolerance = 1

Performing likelihood fit...
Done.

MINUIT Return Code (Free Index): 102
logL (Free Index) = 10204.788176
delta logL = -0.0206413498581

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

MINUIT Return Code (Free Index): 102
logL (Free Index) = 10202.5680776
delta logL = 2.19945709526

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'Prefactor '    .52436E-02   1.0000          .0000       .10000E+07
     2 'Index     '    6.2551       1.0000          .0000       10.000    
     3 'Normalizat'    .79261       1.0000         .10000E-01   10.000    
     4 'Prefactor '    1.0634       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=   10204.77     FROM MIGRAD    STATUS=CONVERGED     76 CALLS      312 TOTAL
                     EDM=   .51E-11  STRATEGY=1  ERROR MATRIX UNCERTAINTY=100.0%

  EXT PARAMETER                APPROXIMATE        STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor      .0000        1.2238        .42118E-03** at limit **
   2  Index         .82084        .56800       -.69634E-06     .0000    
   3  Normalizat    .88587        1.1910       -.27894E-05    .88578E-04
   4  Prefactor     1.0277        1.1596        .17572E-05    .83172E-04
                               ERR DEF=  .500    
Final values: 
  Prefactor  = 0
  Index      = 0.820836
  Normalizat = 0.885865
  Prefactor  = 1.02772
 **********
 **   18 **HESSE 
 **********

 FCN=   10204.77     FROM HESSE     STATUS=OK           573 CALLS     2604 TOTAL
                     EDM=   .43E-05    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  Prefactor     .62172E-08    5.6118        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   2  norm          13.250        12.737        .27488E-03   -1.5635    
   3  norm          12.901        13.641        .27857E-03   -1.5636    
   4  Prefactor     .35849E-06    29.341        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   5  Prefactor     .92700        3.6172        .43254E-03   -1.5689    
   6  Prefactor     10.400        15.735        .31023E-03   -1.5643    
   7  Prefactor      .0000        3.4901        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   8  Prefactor     5.5923        10.322        .42814E-03   -1.5661    
   9  Prefactor     .16598E-07    9.7686        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  10  Prefactor     18.430        22.115        .23054E-03   -1.5622    
  11  norm          .49302        5.5043        .76174E-03   -1.5694    
  12  Prefactor     .22204E-08    6.4878        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  13  norm          5.8335        1.0591        .41558E-03   -1.5660    
  14  norm          5.7329        2.8444        .41919E-03   -1.5660    
  15  Prefactor     .15846E-05    33.546        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  16  Prefactor     .55511E-10    4.5222        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  17  Prefactor     .14655E-07    5.8570        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  18  Prefactor     50.975        33.260        .13862E-03   -1.5565    
  19  norm          5.7803        4.0734        .41718E-03   -1.5660    
  20  norm           .0000        .55875        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  21  Prefactor     .16184E-05    16.539        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  22  Prefactor     1.4126        17.583        .90730E-03   -1.5684    
  23  Prefactor     .11115E-05    14.838        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  24  Prefactor     .88596E-07    10.824        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  25  Prefactor     .36160E-06    22.921        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  26  Prefactor     .13350E-06    133.66        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  27  Normalizat    .88587        .14384        .67531E-01   -.96959    
  28  Prefactor     1.0277        .92825E-01    .41432E-01   -.91811    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 4.25835e-06
Minuit parameter uncertainties:
  1  0.000372773
  2  12.7368
  3  13.6413
  4  0.00648665
  5  3.61719
  6  15.7348
  7  1.93704e-05
  8  10.3218
  9  0.000805758
  10  22.1152
  11  3.29471
  12  0.00023952
  13  1.05908
  14  2.84441
  15  0.0145816
  16  2.29734e-05
  17  0.000585398
  18  33.2604
  19  4.07337
  20  1.48386e-06
  21  0.0103474
  22  9.96752
  23  0.00812222
  24  0.00195843
  25  0.00575772
  26  0.00844958
  27  0.143906
  28  0.092839
 **********
 **   18 **HESSE 
 **********
  MNHESS FAILS AND WILL RETURN DIAGONAL MATRIX. 

 FCN=   10204.77     FROM HESSE     STATUS=FAILED         9 CALLS      321 TOTAL
                     EDM=   .51E-11  STRATEGY=1  ERROR MATRIX UNCERTAINTY=100.0%

  EXT PARAMETER                APPROXIMATE     INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  Prefactor      .0000        1.2238        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   2  Index         .12650E-01    .89864       -.69634E-06   -32.406    
   3  Normalizat    .88587        1.1910       -.27894E-05   -2.1720    
   4  Prefactor     1.0277        1.1596        .17572E-05   -2.2235    
                               ERR DEF=  .500    
Minuit fit quality: 1   estimated distance: 5.14333e-12
Minuit parameter uncertainties:
  1  4.87488e-07
  2  0.572131
  3  1.22943
  4  1.18979
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) = 10204.7675347
delta logL = 2.36323103309e-08

Extracting fit parameters...

4FGL J1058.5+8115
   Spectrum: PowerLaw
349    Prefactor:  0.000e+00  4.875e-07  0.000e+00  1.000e+06 ( 1.000e-13)
350        Index:  8.208e-01  5.721e-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.028e+00  1.190e+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:  8.859e-01  1.229e+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/39806711/cmap_HighResolution_812419201_812678401_4FGL_J1058.5+8115_daily_bin2211.png

Cleaning up...

** Nuclear option initiated! **

Updating database...

UPDATE lightcurve_data_v2 SET energy_flux_upper_limit='5.36e-03', job_status='DONE', photon_flux_upper_limit='6.88e-08', time_completed='2026-10-03 19:59:33.682124', job_id='39806711', GAL2='1.03', fit_tolerance='1e-08', EG2='0.89', EG='0.89', time_epoch_completed='1791082773.68', return_code2='101', ts='-0.00', comment='SUCCESS', return_code='0', GAL='1.03', dlogl='2.36e-08', ts2='0.00', photon_index_error='0.00', photon_index='2.51' WHERE bin_id='2211' AND source_name='4FGL J1058.5+8115' AND cadence='daily';

Database successfully updated.


Analysis Complete.


Sat Oct  3 19:59:33 PDT 2026

_V02
Working on...
/lscratch/kocevski/39806785/ft1_filtered_4FGL_J1058.5+8115_daily_bin2211.fits.....................!
real 53.90
user 52.07
sys 1.03

Creating the likelihood object...
obs = UnbinnedObs('/lscratch/kocevski/39806785/ft1_filtered_4FGL_J1058.5+8115_daily_bin2211.fits', '/lscratch/kocevski/39806785/ft2_4FGL_J1058.5+8115_daily_bin2211.fits', expMap='/lscratch/kocevski/39806785/expmap_812419201_812678401_4FGL_J1058.5+8115_daily_bin2211.fits', expCube='/lscratch/kocevski/39806785/ltcube_812419201_812678401_4FGL_J1058.5+8115_daily_bin2211.fits', irfs='P8R3_SOURCE_V2')
like = UnbinnedAnalysis(obs, '/lscratch/kocevski/39806785/Model_4FGL_J1058.5+8115_daily_bin2211.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/39806785/ft1_filtered_4FGL_J1058.5+8115_daily_bin2211.fits
Spacecraft file(s): /lscratch/kocevski/39806785/ft2_4FGL_J1058.5+8115_daily_bin2211.fits
Exposure map: /lscratch/kocevski/39806785/expmap_812419201_812678401_4FGL_J1058.5+8115_daily_bin2211.fits
Exposure cube: /lscratch/kocevski/39806785/ltcube_812419201_812678401_4FGL_J1058.5+8115_daily_bin2211.fits
IRFs: P8R3_SOURCE_V2
Source model file: /lscratch/kocevski/39806785/Model_4FGL_J1058.5+8115_daily_bin2211.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) = 10204.8734187

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

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

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'Prefactor '    .29184E-05   1.0000          .0000       .10000E+07
     2 'norm      '    13.254       1.0000          .0000       .10000E+07
     3 'norm      '    12.906       1.0000          .0000       .10000E+07
     4 'Prefactor '    .18760E-03   1.0000          .0000       .10000E+07
     5 'Prefactor '    .93671       1.0000          .0000       .10000E+07
     6 'Prefactor '    10.415       1.0000          .0000       .10000E+07
     7 'Prefactor '    .45252E-05   1.0000          .0000       .10000E+07
     8 'Prefactor '    5.5013       1.0000          .0000       .10000E+07
     9 'Prefactor '    .46461E-03   1.0000          .0000       .10000E+07
    10 'Prefactor '    18.829       1.0000          .0000       .10000E+07
    11 'norm      '    .52561       1.0000          .0000       .10000E+07
    12 'Prefactor '    .46030E-06   1.0000          .0000       .10000E+07
    13 'norm      '    5.8333       1.0000          .0000       .10000E+07
    14 'norm      '    5.7349       1.0000          .0000       .10000E+07
    15 'Prefactor '    .79416E-04   1.0000          .0000       .10000E+07
    16 'Prefactor '    .26435E-04   1.0000          .0000       .10000E+07
    17 'Prefactor '    .25441E-06   1.0000          .0000       .10000E+07
    18 'Prefactor '    52.052       1.0000          .0000       .10000E+07
    19 'norm      '    5.7893       1.0000          .0000       .10000E+07
    20 'norm      '    .15599E-07   1.0000          .0000       .10000E+07
    21 'Prefactor '    .36225E-03   1.0000          .0000       .10000E+07
    22 'Prefactor '    1.4206       1.0000          .0000       .10000E+07
    23 'Prefactor '    .40217E-03   1.0000          .0000       .10000E+07
    24 'Prefactor '    .20438E-04   1.0000          .0000       .10000E+07
    25 'Prefactor '    .43443E-04   1.0000          .0000       .10000E+07
    26 'Prefactor '    .45967E-02   1.0000          .0000       .10000E+07
    27 'Normalizat'    .88512       1.0000         .100Done.

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

Extracting fit parameters...

4FGL J1058.5+8115
   Spectrum: PowerLaw
349    Prefactor:  1.585e-06  1.458e-02  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.028e+00  9.284e-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:  8.859e-01  1.439e-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.8844506096e-08 ph cm-2 s-1
Energy Flux Upper Limit: 0.00535798519475 MeV cm-2 s-1

Saving results to:
/lscratch/kocevski/39806704/likelihoodResults_812419201_812678401_4FGL_J1058.5+8115_daily_bin2211.txt

Performing a free index iterative likelihood fit...

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

Done.

Freeing candidate source...
Done.

Fit tolerance = 1

Performing likelihood fit...
Done.

MINUIT Return Code (Free Index): 102
logL (Free Index) = 10204.788176
delta logL = -0.0206413498581

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

MINUIT Return Code (Free Index): 102
logL (Free Index) = 10202.5680776
delta logL = 2.19945709526

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'Prefactor '    .52436E-02   1.0000          .0000       .10000E+07
     2 'Index     '    6.2551       1.0000          .0000       10.000    
     3 'Normalizat'    .79261       1.0000         .10000E-01   10.000    
     4 'Prefactor '    1.0634       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=   10204.77     FROM MIGRAD    STATUS=CONVERGED     76 CALLS      312 TOTAL
                     EDM=   .51E-11  STRATEGY=1  ERROR MATRIX UNCERTAINTY=100.0%

  EXT PARAMETER                APPROXIMATE        STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor      .0000        1.2238        .42118E-03** at limit **
   2  Index         .82084        .56800       -.69634E-06     .0000    
   3  Normalizat    .88587        1.1910       -.27894E-05    .88578E-04
   4  Prefactor     1.0277        1.1596        .17572E-05    .83172E-04
                               ERR DEF=  .500    
Final values: 
  Prefactor  = 0
  Index      = 0.820836
  Normalizat = 0.885865
  Prefactor  = 1.02772
Done.

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

Extracting fit parameters...

4FGL J1058.5+8115
   Spectrum: PowerLaw
349    Prefactor:  1.585e-06  1.458e-02  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.028e+00  9.284e-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:  8.859e-01  1.439e-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.8844506096e-08 ph cm-2 s-1
Energy Flux Upper Limit: 0.00535798519475 MeV cm-2 s-1

Saving results to:
/lscratch/kocevski/39806745/likelihoodResults_812419201_812678401_4FGL_J1058.5+8115_daily_bin2211.txt

Performing a free index iterative likelihood fit...

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

Done.

Freeing candidate source...
Done.

Fit tolerance = 1

Performing likelihood fit...
Done.

MINUIT Return Code (Free Index): 102
logL (Free Index) = 10204.788176
delta logL = -0.0206413498581

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

MINUIT Return Code (Free Index): 102
logL (Free Index) = 10202.5680776
delta logL = 2.19945709526

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'Prefactor '    .52436E-02   1.0000          .0000       .10000E+07
     2 'Index     '    6.2551       1.0000          .0000       10.000    
     3 'Normalizat'    .79261       1.0000         .10000E-01   10.000    
     4 'Prefactor '    1.0634       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=   10204.77     FROM MIGRAD    STATUS=CONVERGED     76 CALLS      312 TOTAL
                     EDM=   .51E-11  STRATEGY=1  ERROR MATRIX UNCERTAINTY=100.0%

  EXT PARAMETER                APPROXIMATE        STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor      .0000        1.2238        .42118E-03** at limit **
   2  Index         .82084        .56800       -.69634E-06     .0000    
   3  Normalizat    .88587        1.1910       -.27894E-05    .88578E-04
   4  Prefactor     1.0277        1.1596        .17572E-05    .83172E-04
                               ERR DEF=  .500    
Final values: 
  Prefactor  = 0
  Index      = 0.820836
  Normalizat = 0.885865
  Prefactor  = 1.02772
 **********
 **   18 **HESSE 
 **********
  MNHESS FAILS AND WILL RETURN DIAGONAL MATRIX. 

 FCN=   10204.77     FROM HESSE     STATUS=FAILED         9 CALLS      321 TOTAL
                     EDM=   .51E-11  STRATEGY=1  ERROR MATRIX UNCERTAINTY=100.0%

  EXT PARAMETER                APPROXIMATE     INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  Prefactor      .0000        1.2238        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   2  Index         .12650E-01    .89864       -.69634E-06   -32.406    
   3  Normalizat    .88587        1.1910       -.27894E-05   -2.1720    
   4  Prefactor     1.0277        1.1596        .17572E-05   -2.2235    
                               ERR DEF=  .500    
Minuit fit quality: 1   estimated distance: 5.14333e-12
Minuit parameter uncertainties:
  1  4.87488e-07
  2  0.572131
  3  1.22943
  4  1.18979
 **********
 **   18 **HESSE 
 **********
  MNHESS FAILS AND WILL RETURN DIAGONAL MATRIX. 

 FCN=   10204.77     FROM HESSE     STATUS=FAILED         9 CALLS      321 TOTAL
                     EDM=   .51E-11  STRATEGY=1  ERROR MATRIX UNCERTAINTY=100.0%

  EXT PARAMETER                APPROXIMATE     INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  Prefactor      .0000        1.2238        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   2  Index         .12650E-01    .89864       -.69634E-06   -32.406    
   3  Normalizat    .88587        1.1910       -.27894E-05   -2.1720    
   4  Prefactor     1.0277        1.1596        .17572E-05   -2.2235    
                               ERR DEF=  .500    
Minuit fit quality: 1   estimated distance: 5.14333e-12
Minuit parameter uncertainties:
  1  4.87488e-07
  2  0.572131
  3  1.22943
  4  1.18979
Done.

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

Extracting fit parameters...

4FGL J1058.5+8115
   Spectrum: PowerLaw
349    Prefactor:  1.585e-06  1.458e-02  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.028e+00  9.284e-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:  8.859e-01  1.439e-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.8844506096e-08 ph cm-2 s-1
Energy Flux Upper Limit: 0.00535798519475 MeV cm-2 s-1

Saving results to:
/lscratch/kocevski/39806738/likelihoodResults_812419201_812678401_4FGL_J1058.5+8115_daily_bin2211.txt

Performing a free index iterative likelihood fit...

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

Done.

Freeing candidate source...
Done.

Fit tolerance = 1

Performing likelihood fit...
Done.

MINUIT Return Code (Free Index): 102
logL (Free Index) = 10204.788176
delta logL = -0.0206413498581

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

MINUIT Return Code (Free Index): 102
logL (Free Index) = 10202.5680776
delta logL = 2.19945709526

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'Prefactor '    .52436E-02   1.0000          .0000       .10000E+07
     2 'Index     '    6.2551       1.0000          .0000       10.000    
     3 'Normalizat'    .79261       1.0000         .10000E-01   10.000    
     4 'Prefactor '    1.0634       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=   10204.77     FROM MIGRAD    STATUS=CONVERGED     76 CALLS      312 TOTAL
                     EDM=   .51E-11  STRATEGY=1  ERROR MATRIX UNCERTAINTY=100.0%

  EXT PARAMETER                APPROXIMATE        STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor      .0000        1.2238        .42118E-03** at limit **
   2  Index         .82084        .56800       -.69634E-06     .0000    
   3  Normalizat    .88587        1.1910       -.27894E-05    .88578E-04
   4  Prefactor     1.0277        1.1596        .17572E-05    .83172E-04
                               ERR DEF=  .500    
Final values: 
  Prefactor  = 0
  Index      = 0.820836
  Normalizat = 0.885865
  Prefactor  = 1.02772
 **********
 **   18 **HESSE 
 **********

 FCN=   10204.77     FROM HESSE     STATUS=OK           573 CALLS     2604 TOTAL
                     EDM=   .43E-05    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  Prefactor     .62172E-08    5.6118        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   2  norm          13.250        12.737        .27488E-03   -1.5635    
   3  norm          12.901        13.641        .27857E-03   -1.5636    
   4  Prefactor     .35849E-06    29.341        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   5  Prefactor     .92700        3.6172        .43254E-03   -1.5689    
   6  Prefactor     10.400        15.735        .31023E-03   -1.5643    
   7  Prefactor      .0000        3.4901        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   8  Prefactor     5.5923        10.322        .42814E-03   -1.5661    
   9  Prefactor     .16598E-07    9.7686        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  10  Prefactor     18.430        22.115        .23054E-03   -1.5622    
  11  norm          .49302        5.5043        .76174E-03   -1.5694    
  12  Prefactor     .22204E-08    6.4878        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  13  norm          5.8335        1.0591        .41558E-03   -1.5660    
  14  norm          5.7329        2.8444        .41919E-03   -1.5660    
  15  Prefactor     .15846E-05    33.546        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  16  Prefactor     .55511E-10    4.5222        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  17  Prefactor     .14655E-07    5.8570        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  18  Prefactor     50.975        33.260        .13862E-03   -1.5565    
  19  norm          5.7803        4.0734        .41718E-03   -1.5660    
  20  norm           .0000        .55875        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  21  Prefactor     .16184E-05    16.539        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  22  Prefactor     1.4126        17.583        .90730E-03   -1.5684    
  23  Prefactor     .11115E-05    14.838        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  24  Prefactor     .88596E-07    10.824        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  25  Prefactor     .36160E-06    22.921        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  26  Prefactor     .13350E-06    133.66        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  27  Normalizat    .88587        .14384        .67531E-01   -.96959    
  28  Prefactor     1.0277        .92825E-01    .41432E-01   -.91811    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 4.25835e-06
Minuit parameter uncertainties:
  1  0.000372773
  2  12.7368
  3  13.6413
  4  0.00648665
  5  3.61719
  6  15.7348
  7  1.93704e-05
  8  10.3218
  9  0.000805758
  10  22.1152
  11  3.29471
  12  0.00023952
  13  1.05908
  14  2.84441
  15  0.0145816
  16  2.29734e-05
  17  0.000585398
  18  33.2604
  19  4.07337
  20  1.48386e-06
  21  0.0103474
  22  9.96752
  23  0.00812222
  24  0.00195843
  25  0.00575772
  26  0.00844958
  27  0.143906
  28  0.092839
 **********
 **   18 **HESSE 
 **********
  MNHESS FAILS AND WILL RETURN DIAGONAL MATRIX. 

 FCN=   10204.77     FROM HESSE     STATUS=FAILED         9 CALLS      321 TOTAL
                     EDM=   .51E-11  STRATEGY=1  ERROR MATRIX UNCERTAINTY=100.0%

  EXT PARAMETER                APPROXIMATE     INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  Prefactor      .0000        1.2238        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   2  Index         .12650E-01    .89864       -.69634E-06   -32.406    
   3  Normalizat    .88587        1.1910       -.27894E-05   -2.1720    
   4  Prefactor     1.0277        1.1596        .17572E-05   -2.2235    
                               ERR DEF=  .500    
Minuit fit quality: 1   estimated distance: 5.14333e-12
Minuit parameter uncertainties:
  1  4.87488e-07
  2  0.572131
  3  1.22943
  4  1.18979
shell-init: error retrieving current directory: getcwd: cannot access parent directories: No such file or directory
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) = 10204.7675347
delta logL = 2.36323103309e-08

Extracting fit parameters...

4FGL J1058.5+8115
   Spectrum: PowerLaw
349    Prefactor:  0.000e+00  4.875e-07  0.000e+00  1.000e+06 ( 1.000e-13)
350        Index:  8.208e-01  5.721e-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.028e+00  1.190e+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:  8.859e-01  1.229e+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/39806704/cmap_HighResolution_812419201_812678401_4FGL_J1058.5+8115_daily_bin2211.png

Cleaning up...

** Nuclear option initiated! **

Updating database...

UPDATE lightcurve_data_v2 SET energy_flux_upper_limit='5.36e-03', job_status='DONE', photon_flux_upper_limit='6.88e-08', time_completed='2026-10-03 19:59:41.528642', job_id='39806704', GAL2='1.03', fit_tolerance='1e-08', EG2='0.89', EG='0.89', time_epoch_completed='1791082781.53', return_code2='101', ts='-0.00', comment='SUCCESS', return_code='0', GAL='1.03', dlogl='2.36e-08', ts2='0.00', photon_index_error='0.00', photon_index='2.51' WHERE bin_id='2211' AND source_name='4FGL J1058.5+8115' AND cadence='daily';

Database successfully updated.


Analysis Complete.


Sat Oct  3 19:59:41 PDT 2026

Done.

MINUIT Return Code (Free Index): 101
logL (Free Index) = 10204.7675347
delta logL = 2.36323103309e-08

Extracting fit parameters...

4FGL J1058.5+8115
   Spectrum: PowerLaw
349    Prefactor:  0.000e+00  4.875e-07  0.000e+00  1.000e+06 ( 1.000e-13)
350        Index:  8.208e-01  5.721e-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.028e+00  1.190e+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:  8.859e-01  1.229e+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/39806745/cmap_HighResolution_812419201_812678401_4FGL_J1058.5+8115_daily_bin2211.png

Cleaning up...

** Nuclear option initiated! **

Updating database...

UPDATE lightcurve_data_v2 SET energy_flux_upper_limit='5.36e-03', job_status='DONE', photon_flux_upper_limit='6.88e-08', time_completed='2026-10-03 19:59:41.543465', job_id='39806745', GAL2='1.03', fit_tolerance='1e-08', EG2='0.89', EG='0.89', time_epoch_completed='1791082781.54', return_code2='101', ts='-0.00', comment='SUCCESS', return_code='0', GAL='1.03', dlogl='2.36e-08', ts2='0.00', photon_index_error='0.00', photon_index='2.51' WHERE bin_id='2211' AND source_name='4FGL J1058.5+8115' AND cadence='daily';

Database successfully updated.


Analysis Complete.


Sat Oct  3 19:59:41 PDT 2026

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

MINUIT Return Code (Free Index): 101
logL (Free Index) = 10204.7675347
delta logL = 2.36323103309e-08

Extracting fit parameters...

4FGL J1058.5+8115
   Spectrum: PowerLaw
349    Prefactor:  0.000e+00  4.875e-07  0.000e+00  1.000e+06 ( 1.000e-13)
350        Index:  8.208e-01  5.721e-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.028e+00  1.190e+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:  8.859e-01  1.229e+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/39806738/cmap_HighResolution_812419201_812678401_4FGL_J1058.5+8115_daily_bin2211.png

Cleaning up...

** Nuclear option initiated! **

Updating database...

UPDATE lightcurve_data_v2 SET energy_flux_upper_limit='5.36e-03', job_status='DONE', photon_flux_upper_limit='6.88e-08', time_completed='2026-10-03 19:59:43.366342', job_id='39806738', GAL2='1.03', fit_tolerance='1e-08', EG2='0.89', EG='0.89', time_epoch_completed='1791082783.37', return_code2='101', ts='-0.00', comment='SUCCESS', return_code='0', GAL='1.03', dlogl='2.36e-08', ts2='0.00', photon_index_error='0.00', photon_index='2.51' WHERE bin_id='2211' AND source_name='4FGL J1058.5+8115' AND cadence='daily';

Database successfully updated.


Analysis Complete.


Sat Oct  3 19:59:43 PDT 2026

tfile=/lscratch/kocevski/39807041/ltcube_812419201_812678401_4FGL_J1058.5+8115_daily_bin2211.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/39807041/ft2_4FGL_J1058.5+8115_daily_bin2211.fits
.....................!
real 8.82
user 8.31
sys 0.22

Generating the exposure map:
time -p gtexpmap evfile=/lscratch/kocevski/39807041/ft1_filtered_4FGL_J1058.5+8115_daily_bin2211.fits evtable="EVENTS" scfile=/lscratch/kocevski/39807041/ft2_4FGL_J1058.5+8115_daily_bin2211.fits sctable="SC_DATA" expcube=/lscratch/kocevski/39807041/ltcube_812419201_812678401_4FGL_J1058.5+8115_daily_bin2211.fits outfile=/lscratch/kocevski/39807041/expmap_812419201_812678401_4FGL_J1058.5+8115_daily_bin2211.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/39807041/ltcube_812419201_812678401_4FGL_J1058.5+8115_daily_bin2211.fits
.....................!
real 73.27
user 68.92
sys 3.73

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/39807041/ft1_filtered_4FGL_J1058.5+8115_daily_bin2211.fits scfile=/lscratch/kocevski/39807041/ft2_4FGL_J1058.5+8115_daily_bin2211.fits outfile=/lscratch/kocevski/39807041/cmap_812419201_812678401_4FGL_J1058.5+8115_daily_bin2211.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.63
user 0.24
sys 0.13

Creating the high resolution counts map:
time -p gtbin evfile=/lscratch/kocevski/39807041/ft1_filtered_4FGL_J1058.5+8115_daily_bin2211.fits scfile=/lscratch/kocevski/39807041/ft2_4FGL_J1058.5+8115_daily_bin2211.fits outfile=/lscratch/kocevski/39807041/cmap_HighResolution_812419201_812678401_4FGL_J1058.5+8115_daily_bin2211.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.65
user 0.24
sys 0.14

Computing the diffuse response:
time -p gtdiffrsp evfile=/lscratch/kocevski/39807041/ft1_filtered_4FGL_J1058.5+8115_daily_bin2211.fits evtable="EVENTS" scfile=/lscratch/kocevski/39807041/ft2_4FGL_J1058.5+8115_daily_bin2211.fits sctable="SC_DATA" srcmdl=/lscratch/kocevski/39807041/Model_4FGL_J1058.5+8115_daily_bin2211.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.0279       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=   10204.77     FROM MIGRAD    STATUS=CONVERGED    214 CALLS     2031 TOTAL
                     EDM=   .57E-09  STRATEGY=1  ERROR MATRIX UNCERTAINTY=  3.8%

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor     .62172E-08    5.5725        .88157E-06** at limit **
   2  norm          13.250        2.3279       -.98294E-08   -.26243E-01
   3  norm          12.901        2.3063       -.44335E-07   -.25925E-01
   4  Prefactor     .35849E-06    16.064       -.64514E-06** at limit **
   5  Prefactor     .92700        3.6137        .29998E-06   -.58684E-03
   6  Prefactor     10.400        1.1719       -.17190E-08   -.10660E-03
   7  Prefactor      .0000        3.4764        .81990E-06** at limit **
   8  Prefactor     5.5923        8.5563       -.49797E-06   -.12349E-02
   9  Prefactor     .16598E-07    9.6046       -.36585E-06** at limit **
  10  Prefactor     18.430        2.8372       -.18679E-08   -.32770E-02
  11  norm          .49302        5.4986        .24258E-06   -.17101E-02
  12  Prefactor     .22204E-08    6.4847        .17638E-06** at limit **
  13  norm          5.8335        1.0500        .68675E-07    .51621E-02
  14  norm          5.7329        2.8437       -.11733E-06    .12960E-02
  15  Prefactor     .15846E-05    23.749       -.80849E-06** at limit **
  16  Prefactor     .55511E-10    4.6672        .46128E-06** at limit **
  17  Prefactor     .14655E-07    5.7573        .27880E-07** at limit **
  18  Prefactor     50.975        25.709        .28285E-06   -.85183E-01
  19  norm          5.7803        4.0764       -.13036E-06   -.28735E-03
  20  norm           .0000        .55733        .16658E-06** at limit **
  21  Prefactor     .16184E-05    10.781        .10941E-05** at limit **
  22  Prefactor     1.4126        17.633       -.12767E-06   -.24660E-02
  23  Prefactor     .11115E-05    10.849       -.18848E-06** at limit **
  24  Prefactor     .88596E-07    10.404        .88717E-07** at limit **
  25  Prefactor     .36160E-06    18.313        .15961E-05** at limit **
  26  Prefactor     .13350E-06    133.71       -.49685E-05** at limit **
  27  Normalizat    .88587        .16000       -.57438E-05    .19093E-04
  28  Prefactor     1.0277        .10460        .45600E-05    .13237E-03
                               ERR DEF=  .500    
Final values: 
  Prefactor  = 6.21725e-09
  norm       = 13.2504
  norm       = 12.9009
  Prefactor  = 3.58491e-07
  Prefactor  = 0.927003
  Prefactor  = 10.3996
  Prefactor  = 0
  Prefactor  = 5.59232
  Prefactor  = 1.65978e-08
  Prefactor  = 18.4298
  norm       = 0.493023
  Prefactor  = 2.22045e-09
  norm       = 5.83347
  norm       = 5.73294
  Prefactor  = 1.58457e-06
  Prefactor  = 5.55112e-11
  Prefactor  = 1.46549e-08
  Prefactor  = 50.9747
  norm       = 5.78035
  norm       = 0
  Prefactor  = 1.61843e-06
  Prefactor  = 1.4126
  Prefactor  = 1.1115e-06
  Prefactor  = 8.85958e-08
  Prefactor  = 3.616e-07
  Prefactor  = 1.33504e-07
  Normalizat = 0.885865
  Prefactor  = 1.02772
00E-01   10.000    
    28 'Prefactor '    1.0279       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=   10204.77     FROM MIGRAD    STATUS=CONVERGED    214 CALLS     2031 TOTAL
                     EDM=   .57E-09  STRATEGY=1  ERROR MATRIX UNCERTAINTY=  3.8%

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor     .62172E-08    5.5725        .88157E-06** at limit **
   2  norm          13.250        2.3279       -.98294E-08   -.26243E-01
   3  norm          12.901        2.3063       -.44335E-07   -.25925E-01
   4  Prefactor     .35849E-06    16.064       -.64514E-06** at limit **
   5  Prefactor     .92700        3.6137        .29998E-06   -.58684E-03
   6  Prefactor     10.400        1.1719       -.17190E-08   -.10660E-03
   7  Prefactor      .0000        3.4764        .81990E-06** at limit **
   8  Prefactor     5.5923        8.5563       -.49797E-06   -.12349E-02
   9  Prefactor     .16598E-07    9.6046       -.36585E-06** at limit **
  10  Prefactor     18.430        2.8372       -.18679E-08   -.32770E-02
  11  norm          .49302        5.4986        .24258E-06   -.17101E-02
  12  Prefactor     .22204E-08    6.4847        .17638E-06** at limit **
  13  norm          5.8335        1.0500        .68675E-07    .51621E-02
  14  norm          5.7329        2.8437       -.11733E-06    .12960E-02
  15  Prefactor     .15846E-05    23.749       -.80849E-06** at limit **
  16  Prefactor     .55511E-10    4.6672        .46128E-06** at limit **
  17  Prefactor     .14655E-07    5.7573        .27880E-07** at limit **
  18  Prefactor     50.975        25.709        .28285E-06   -.85183E-01
  19  norm          5.7803        4.0764       -.13036E-06   -.28735E-03
  20  norm           .0000        .55733        .16658E-06** at limit **
  21  Prefactor     .16184E-05    10.781        .10941E-05** at limit **
  22  Prefactor     1.4126        17.633       -.12767E-06   -.24660E-02
  23  Prefactor     .11115E-05    10.849       -.18848E-06** at limit **
  24  Prefactor     .88596E-07    10.404        .88717E-07** at limit **
  25  Prefactor     .36160E-06    18.313        .15961E-05** at limit **
  26  Prefactor     .13350E-06    133.71       -.49685E-05** at limit **
  27  Normalizat    .88587        .16000       -.57438E-05    .19093E-04
  28  Prefactor     1.0277        .10460        .45600E-05    .13237E-03
                               ERR DEF=  .500    
Final values: 
  Prefactor  = 6.21725e-09
  norm       = 13.2504
  norm       = 12.9009
  Prefactor  = 3.58491e-07
  Prefactor  = 0.927003
  Prefactor  = 10.3996
  Prefactor  = 0
  Prefactor  = 5.59232
  Prefactor  = 1.65978e-08
  Prefactor  = 18.4298
  norm       = 0.493023
  Prefactor  = 2.22045e-09
  norm       = 5.83347
  norm       = 5.73294
  Prefactor  = 1.58457e-06
  Prefactor  = 5.55112e-11
  Prefactor  = 1.46549e-08
  Prefactor  = 50.9747
  norm       = 5.78035
  norm       = 0
  Prefactor  = 1.61843e-06
  Prefactor  = 1.4126
  Prefactor  = 1.1115e-06
  Prefactor  = 8.85958e-08
  Prefactor  = 3.616e-07
  Prefactor  = 1.33504e-07
  Normalizat = 0.885865
  Prefactor  = 1.02772
tfile=/lscratch/kocevski/39807087/ltcube_812419201_812678401_4FGL_J1058.5+8115_daily_bin2211.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/39807087/ft2_4FGL_J1058.5+8115_daily_bin2211.fits
.....................!
real 8.44
user 7.96
sys 0.20

Generating the exposure map:
time -p gtexpmap evfile=/lscratch/kocevski/39807087/ft1_filtered_4FGL_J1058.5+8115_daily_bin2211.fits evtable="EVENTS" scfile=/lscratch/kocevski/39807087/ft2_4FGL_J1058.5+8115_daily_bin2211.fits sctable="SC_DATA" expcube=/lscratch/kocevski/39807087/ltcube_812419201_812678401_4FGL_J1058.5+8115_daily_bin2211.fits outfile=/lscratch/kocevski/39807087/expmap_812419201_812678401_4FGL_J1058.5+8115_daily_bin2211.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/39807087/ltcube_812419201_812678401_4FGL_J1058.5+8115_daily_bin2211.fits
.....................!
real 68.04
user 63.77
sys 3.65

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/39807087/ft1_filtered_4FGL_J1058.5+8115_daily_bin2211.fits scfile=/lscratch/kocevski/39807087/ft2_4FGL_J1058.5+8115_daily_bin2211.fits outfile=/lscratch/kocevski/39807087/cmap_812419201_812678401_4FGL_J1058.5+8115_daily_bin2211.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.71
user 0.20
sys 0.12

Creating the high resolution counts map:
time -p gtbin evfile=/lscratch/kocevski/39807087/ft1_filtered_4FGL_J1058.5+8115_daily_bin2211.fits scfile=/lscratch/kocevski/39807087/ft2_4FGL_J1058.5+8115_daily_bin2211.fits outfile=/lscratch/kocevski/39807087/cmap_HighResolution_812419201_812678401_4FGL_J1058.5+8115_daily_bin2211.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.59
user 0.22
sys 0.12

Computing the diffuse response:
time -p gtdiffrsp evfile=/lscratch/kocevski/39807087/ft1_filtered_4FGL_J1058.5+8115_daily_bin2211.fits evtable="EVENTS" scfile=/lscratch/kocevski/39807087/ft2_4FGL_J1058.5+8115_daily_bin2211.fits sctable="SC_DATA" srcmdl=/lscratch/kocevski/39807087/Model_4FGL_J1058.5+8115_daily_bin2211.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 **********
 **   18 **HESSE 
 **********

 FCN=   10204.77     FROM HESSE     STATUS=OK           573 CALLS     2604 TOTAL
                     EDM=   .43E-05    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  Prefactor     .62172E-08    5.6118        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   2  norm          13.250        12.737        .27488E-03   -1.5635    
   3  norm          12.901        13.641        .27857E-03   -1.5636    
   4  Prefactor     .35849E-06    29.341        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   5  Prefactor     .92700        3.6172        .43254E-03   -1.5689    
   6  Prefactor     10.400        15.735        .31023E-03   -1.5643    
   7  Prefactor      .0000        3.4901        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   8  Prefactor     5.5923        10.322        .42814E-03   -1.5661    
   9  Prefactor     .16598E-07    9.7686        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  10  Prefactor     18.430        22.115        .23054E-03   -1.5622    
  11  norm          .49302        5.5043        .76174E-03   -1.5694    
  12  Prefactor     .22204E-08    6.4878        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  13  norm          5.8335        1.0591        .41558E-03   -1.5660    
  14  norm          5.7329        2.8444        .41919E-03   -1.5660    
  15  Prefactor     .15846E-05    33.546        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  16  Prefactor     .55511E-10    4.5222        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  17  Prefactor     .14655E-07    5.8570        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  18  Prefactor     50.975        33.260        .13862E-03   -1.5565    
  19  norm          5.7803        4.0734        .41718E-03   -1.5660    
  20  norm           .0000        .55875        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  21  Prefactor     .16184E-05    16.539        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  22  Prefactor     1.4126        17.583        .90730E-03   -1.5684    
  23  Prefactor     .11115E-05    14.838        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  24  Prefactor     .88596E-07    10.824        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  25  Prefactor     .36160E-06    22.921        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  26  Prefactor     .13350E-06    133.66        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  27  Normalizat    .88587        .14384        .67531E-01   -.96959    
  28  Prefactor     1.0277        .92825E-01    .41432E-01   -.91811    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 4.25835e-06
Minuit parameter uncertainties:
  1  0.000372773
  2  12.7368
  3  13.6413
  4  0.00648665
  5  3.61719
  6  15.7348
  7  1.93704e-05
  8  10.3218
  9  0.000805758
  10  22.1152
  11  3.29471
  12  0.00023952
  13  1.05908
  14  2.84441
  15  0.0145816
  16  2.29734e-05
  17  0.000585398
  18  33.2604
  19  4.07337
  20  1.48386e-06
  21  0.0103474
  22  9.96752
  23  0.00812222
  24  0.00195843
  25  0.00575772
  26  0.00844958
  27  0.143906
  28  0.092839
 **********
 **   18 **HESSE 
 **********

 FCN=   10204.77     FROM HESSE     STATUS=OK           573 CALLS     2604 TOTAL
                     EDM=   .43E-05    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  Prefactor     .62172E-08    5.6118        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   2  norm          13.250        12.737        .27488E-03   -1.5635    
   3  norm          12.901        13.641        .27857E-03   -1.5636    
   4  Prefactor     .35849E-06    29.341        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   5  Prefactor     .92700        3.6172        .43254E-03   -1.5689    
   6  Prefactor     10.400        15.735        .31023E-03   -1.5643    
   7  Prefactor      .0000        3.4901        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   8  Prefactor     5.5923        10.322        .42814E-03   -1.5661    
   9  Prefactor     .16598E-07    9.7686        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  10  Prefactor     18.430        22.115        .23054E-03   -1.5622    
  11  norm          .49302        5.5043        .76174E-03   -1.5694    
  12  Prefactor     .22204E-08    6.4878        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  13  norm          5.8335        1.0591        .41558E-03   -1.5660    
  14  norm          5.7329        2.8444        .41919E-03   -1.5660    
  15  Prefactor     .15846E-05    33.546        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  16  Prefactor     .55511E-10    4.5222        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  17  Prefactor     .14655E-07    5.8570        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  18  Prefactor     50.975        33.260        .13862E-03   -1.5565    
  19  norm          5.7803        4.0734        .41718E-03   -1.5660    
  20  norm           .0000        .55875        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  21  Prefactor     .16184E-05    16.539        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  22  Prefactor     1.4126        17.583        .90730E-03   -1.5684    
  23  Prefactor     .11115E-05    14.838        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  24  Prefactor     .88596E-07    10.824        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  25  Prefactor     .36160E-06    22.921        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  26  Prefactor     .13350E-06    133.66        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  27  Normalizat    .88587        .14384        .67531E-01   -.96959    
  28  Prefactor     1.0277        .92825E-01    .41432E-01   -.91811    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 4.25835e-06
Minuit parameter uncertainties:
  1  0.000372773
  2  12.7368
  3  13.6413
  4  0.00648665
  5  3.61719
  6  15.7348
  7  1.93704e-05
  8  10.3218
  9  0.000805758
  10  22.1152
  11  3.29471
  12  0.00023952
  13  1.05908
  14  2.84441
  15  0.0145816
  16  2.29734e-05
  17  0.000585398
  18  33.2604
  19  4.07337
  20  1.48386e-06
  21  0.0103474
  22  9.96752
  23  0.00812222
  24  0.00195843
  25  0.00575772
  26  0.00844958
  27  0.143906
  28  0.092839
Done.

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

Extracting fit parameters...

4FGL J1058.5+8115
   Spectrum: PowerLaw
349    Prefactor:  1.585e-06  1.458e-02  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.028e+00  9.284e-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:  8.859e-01  1.439e-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.8844506096e-08 ph cm-2 s-1
Energy Flux Upper Limit: 0.00535798519475 MeV cm-2 s-1

Saving results to:
/lscratch/kocevski/39806781/likelihoodResults_812419201_812678401_4FGL_J1058.5+8115_daily_bin2211.txt

Performing a free index iterative likelihood fit...

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

Done.

Freeing candidate source...
Done.

Fit tolerance = 1

Performing likelihood fit...
Done.

MINUIT Return Code (Free Index): 102
logL (Free Index) = 10204.788176
delta logL = -0.0206413498581

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

MINUIT Return Code (Free Index): 102
logL (Free Index) = 10202.5680776
delta logL = 2.19945709526

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'Prefactor '    .52436E-02   1.0000          .0000       .10000E+07
     2 'Index     '    6.2551       1.0000          .0000       10.000    
     3 'Normalizat'    .79261       1.0000         .10000E-01   10.000    
     4 'Prefactor '    1.0634       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=   10204.77     FROM MIGRAD    STATUS=CONVERGED     76 CALLS      312 TOTAL
                     EDM=   .51E-11  STRATEGY=1  ERROR MATRIX UNCERTAINTY=100.0%

  EXT PARAMETER                APPROXIMATE        STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor      .0000        1.2238        .42118E-03** at limit **
   2  Index         .82084        .56800       -.69634E-06     .0000    
   3  Normalizat    .88587        1.1910       -.27894E-05    .88578E-04
   4  Prefactor     1.0277        1.1596        .17572E-05    .83172E-04
                               ERR DEF=  .500    
Final values: 
  Prefactor  = 0
  Index      = 0.820836
  Normalizat = 0.885865
  Prefactor  = 1.02772
 **********
 **   18 **HESSE 
 **********
  MNHESS FAILS AND WILL RETURN DIAGONAL MATRIX. 

 FCN=   10204.77     FROM HESSE     STATUS=FAILED         9 CALLS      321 TOTAL
                     EDM=   .51E-11  STRATEGY=1  ERROR MATRIX UNCERTAINTY=100.0%

  EXT PARAMETER                APPROXIMATE     INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  Prefactor      .0000        1.2238        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   2  Index         .12650E-01    .89864       -.69634E-06   -32.406    
   3  Normalizat    .88587        1.1910       -.27894E-05   -2.1720    
   4  Prefactor     1.0277        1.1596        .17572E-05   -2.2235    
                               ERR DEF=  .500    
Minuit fit quality: 1   estimated distance: 5.14333e-12
Minuit parameter uncertainties:
  1  4.87488e-07
  2  0.572131
  3  1.22943
  4  1.18979
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) = 10204.7675347
delta logL = 2.36323103309e-08

Extracting fit parameters...

4FGL J1058.5+8115
   Spectrum: PowerLaw
349    Prefactor:  0.000e+00  4.875e-07  0.000e+00  1.000e+06 ( 1.000e-13)
350        Index:  8.208e-01  5.721e-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.028e+00  1.190e+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:  8.859e-01  1.229e+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/39806781/cmap_HighResolution_812419201_812678401_4FGL_J1058.5+8115_daily_bin2211.png

Cleaning up...

** Nuclear option initiated! **

Updating database...

UPDATE lightcurve_data_v2 SET energy_flux_upper_limit='5.36e-03', job_status='DONE', photon_flux_upper_limit='6.88e-08', time_completed='2026-10-03 20:00:44.100080', job_id='39806781', GAL2='1.03', fit_tolerance='1e-08', EG2='0.89', EG='0.89', time_epoch_completed='1791082844.1', return_code2='101', ts='-0.00', comment='SUCCESS', return_code='0', GAL='1.03', dlogl='2.36e-08', ts2='0.00', photon_index_error='0.00', photon_index='2.51' WHERE bin_id='2211' AND source_name='4FGL J1058.5+8115' AND cadence='daily';

Database successfully updated.


Analysis Complete.


Sat Oct  3 20:00:44 PDT 2026

tfile=/lscratch/kocevski/39807071/ltcube_812419201_812678401_4FGL_J1058.5+8115_daily_bin2211.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/39807071/ft2_4FGL_J1058.5+8115_daily_bin2211.fits
.....................!
real 8.89
user 8.32
sys 0.19

Generating the exposure map:
time -p gtexpmap evfile=/lscratch/kocevski/39807071/ft1_filtered_4FGL_J1058.5+8115_daily_bin2211.fits evtable="EVENTS" scfile=/lscratch/kocevski/39807071/ft2_4FGL_J1058.5+8115_daily_bin2211.fits sctable="SC_DATA" expcube=/lscratch/kocevski/39807071/ltcube_812419201_812678401_4FGL_J1058.5+8115_daily_bin2211.fits outfile=/lscratch/kocevski/39807071/expmap_812419201_812678401_4FGL_J1058.5+8115_daily_bin2211.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/39807071/ltcube_812419201_812678401_4FGL_J1058.5+8115_daily_bin2211.fits
.....................!
real 72.77
user 68.28
sys 3.76

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/39807071/ft1_filtered_4FGL_J1058.5+8115_daily_bin2211.fits scfile=/lscratch/kocevski/39807071/ft2_4FGL_J1058.5+8115_daily_bin2211.fits outfile=/lscratch/kocevski/39807071/cmap_812419201_812678401_4FGL_J1058.5+8115_daily_bin2211.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.66
user 0.24
sys 0.13

Creating the high resolution counts map:
time -p gtbin evfile=/lscratch/kocevski/39807071/ft1_filtered_4FGL_J1058.5+8115_daily_bin2211.fits scfile=/lscratch/kocevski/39807071/ft2_4FGL_J1058.5+8115_daily_bin2211.fits outfile=/lscratch/kocevski/39807071/cmap_HighResolution_812419201_812678401_4FGL_J1058.5+8115_daily_bin2211.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.68
user 0.24
sys 0.13

Computing the diffuse response:
time -p gtdiffrsp evfile=/lscratch/kocevski/39807071/ft1_filtered_4FGL_J1058.5+8115_daily_bin2211.fits evtable="EVENTS" scfile=/lscratch/kocevski/39807071/ft2_4FGL_J1058.5+8115_daily_bin2211.fits sctable="SC_DATA" srcmdl=/lscratch/kocevski/39807071/Model_4FGL_J1058.5+8115_daily_bin2211.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 GALDone.

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

Extracting fit parameters...

4FGL J1058.5+8115
   Spectrum: PowerLaw
349    Prefactor:  1.585e-06  1.458e-02  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.028e+00  9.284e-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:  8.859e-01  1.439e-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.8844506096e-08 ph cm-2 s-1
Energy Flux Upper Limit: 0.00535798519475 MeV cm-2 s-1

Saving results to:
/lscratch/kocevski/39806741/likelihoodResults_812419201_812678401_4FGL_J1058.5+8115_daily_bin2211.txt

Performing a free index iterative likelihood fit...

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

Done.

Freeing candidate source...
Done.

Fit tolerance = 1

Performing likelihood fit...
Done.

MINUIT Return Code (Free Index): 102
logL (Free Index) = 10204.788176
delta logL = -0.0206413498581

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

MINUIT Return Code (Free Index): 102
logL (Free Index) = 10202.5680776
delta logL = 2.19945709526

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'Prefactor '    .52436E-02   1.0000          .0000       .10000E+07
     2 'Index     '    6.2551       1.0000          .0000       10.000    
     3 'Normalizat'    .79261       1.0000         .10000E-01   10.000    
     4 'Prefactor '    1.0634       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=   10204.77     FROM MIGRAD    STATUS=CONVERGED     76 CALLS      312 TOTAL
                     EDM=   .51E-11  STRATEGY=1  ERROR MATRIX UNCERTAINTY=100.0%

  EXT PARAMETER                APPROXIMATE        STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor      .0000        1.2238        .42118E-03** at limit **
   2  Index         .82084        .56800       -.69634E-06     .0000    
   3  Normalizat    .88587        1.1910       -.27894E-05    .88578E-04
   4  Prefactor     1.0277        1.1596        .17572E-05    .83172E-04
                               ERR DEF=  .500    
Final values: 
  Prefactor  = 0
  Index      = 0.820836
  Normalizat = 0.885865
  Prefactor  = 1.02772
 **********
 **   18 **HESSE 
 **********
  MNHESS FAILS AND WILL RETURN DIAGONAL MATRIX. 

 FCN=   10204.77     FROM HESSE     STATUS=FAILED         9 CALLS      321 TOTAL
                     EDM=   .51E-11  STRATEGY=1  ERROR MATRIX UNCERTAINTY=100.0%

  EXT PARAMETER                APPROXIMATE     INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  Prefactor      .0000        1.2238        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   2  Index         .12650E-01    .89864       -.69634E-06   -32.406    
   3  Normalizat    .88587        1.1910       -.27894E-05   -2.1720    
   4  Prefactor     1.0277        1.1596        .17572E-05   -2.2235    
                               ERR DEF=  .500    
Minuit fit quality: 1   estimated distance: 5.14333e-12
Minuit parameter uncertainties:
  1  4.87488e-07
  2  0.572131
  3  1.22943
  4  1.18979
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) = 10204.7675347
delta logL = 2.36323103309e-08

Extracting fit parameters...

4FGL J1058.5+8115
   Spectrum: PowerLaw
349    Prefactor:  0.000e+00  4.875e-07  0.000e+00  1.000e+06 ( 1.000e-13)
350        Index:  8.208e-01  5.721e-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.028e+00  1.190e+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:  8.859e-01  1.229e+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/39806741/cmap_HighResolution_812419201_812678401_4FGL_J1058.5+8115_daily_bin2211.png

Cleaning up...

** Nuclear option initiated! **

Updating database...

UPDATE lightcurve_data_v2 SET energy_flux_upper_limit='5.36e-03', job_status='DONE', photon_flux_upper_limit='6.88e-08', time_completed='2026-10-03 20:00:57.287220', job_id='39806741', GAL2='1.03', fit_tolerance='1e-08', EG2='0.89', EG='0.89', time_epoch_completed='1791082857.29', return_code2='101', ts='-0.00', comment='SUCCESS', return_code='0', GAL='1.03', dlogl='2.36e-08', ts2='0.00', photon_index_error='0.00', photon_index='2.51' WHERE bin_id='2211' AND source_name='4FGL J1058.5+8115' AND cadence='daily';

Database successfully updated.


Analysis Complete.


Sat Oct  3 20:00:57 PDT 2026

Done.

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

Extracting fit parameters...

4FGL J1058.5+8115
   Spectrum: PowerLaw
349    Prefactor:  1.585e-06  1.458e-02  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.028e+00  9.284e-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:  8.859e-01  1.439e-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.8844506096e-08 ph cm-2 s-1
Energy Flux Upper Limit: 0.00535798519475 MeV cm-2 s-1

Saving results to:
/lscratch/kocevski/39806815/likelihoodResults_812419201_812678401_4FGL_J1058.5+8115_daily_bin2211.txt

Performing a free index iterative likelihood fit...

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

Done.

Freeing candidate source...
Done.

Fit tolerance = 1

Performing likelihood fit...
Done.

MINUIT Return Code (Free Index): 102
logL (Free Index) = 10204.788176
delta logL = -0.0206413498581

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

MINUIT Return Code (Free Index): 102
logL (Free Index) = 10202.5680776
delta logL = 2.19945709526

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'Prefactor '    .52436E-02   1.0000          .0000       .10000E+07
     2 'Index     '    6.2551       1.0000          .0000       10.000    
     3 'Normalizat'    .79261       1.0000         .10000E-01   10.000    
     4 'Prefactor '    1.0634       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=   10204.77     FROM MIGRAD    STATUS=CONVERGED     76 CALLS      312 TOTAL
                     EDM=   .51E-11  STRATEGY=1  ERROR MATRIX UNCERTAINTY=100.0%

  EXT PARAMETER                APPROXIMATE        STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor      .0000        1.2238        .42118E-03** at limit **
   2  Index         .82084        .56800       -.69634E-06     .0000    
   3  Normalizat    .88587        1.1910       -.27894E-05    .88578E-04
   4  Prefactor     1.0277        1.1596        .17572E-05    .83172E-04
                               ERR DEF=  .500    
Final values: 
  Prefactor  = 0
  Index      = 0.820836
  Normalizat = 0.885865
  Prefactor  = 1.02772
tfile=/lscratch/kocevski/39807133/ltcube_812419201_812678401_4FGL_J1058.5+8115_daily_bin2211.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/39807133/ft2_4FGL_J1058.5+8115_daily_bin2211.fits
.....................!
real 8.92
user 8.34
sys 0.20

Generating the exposure map:
time -p gtexpmap evfile=/lscratch/kocevski/39807133/ft1_filtered_4FGL_J1058.5+8115_daily_bin2211.fits evtable="EVENTS" scfile=/lscratch/kocevski/39807133/ft2_4FGL_J1058.5+8115_daily_bin2211.fits sctable="SC_DATA" expcube=/lscratch/kocevski/39807133/ltcube_812419201_812678401_4FGL_J1058.5+8115_daily_bin2211.fits outfile=/lscratch/kocevski/39807133/expmap_812419201_812678401_4FGL_J1058.5+8115_daily_bin2211.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/39807133/ltcube_812419201_812678401_4FGL_J1058.5+8115_daily_bin2211.fits
.....................!
real 72.93
user 68.29
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 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/39807133/ft1_filtered_4FGL_J1058.5+8115_daily_bin2211.fits scfile=/lscratch/kocevski/39807133/ft2_4FGL_J1058.5+8115_daily_bin2211.fits outfile=/lscratch/kocevski/39807133/cmap_812419201_812678401_4FGL_J1058.5+8115_daily_bin2211.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.62
user 0.22
sys 0.14

Creating the high resolution counts map:
time -p gtbin evfile=/lscratch/kocevski/39807133/ft1_filtered_4FGL_J1058.5+8115_daily_bin2211.fits scfile=/lscratch/kocevski/39807133/ft2_4FGL_J1058.5+8115_daily_bin2211.fits outfile=/lscratch/kocevski/39807133/cmap_HighResolution_812419201_812678401_4FGL_J1058.5+8115_daily_bin2211.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.66
user 0.24
sys 0.13

Computing the diffuse response:
time -p gtdiffrsp evfile=/lscratch/kocevski/39807133/ft1_filtered_4FGL_J1058.5+8115_daily_bin2211.fits evtable="EVENTS" scfile=/lscratch/kocevski/39807133/ft2_4FGL_J1058.5+8115_daily_bin2211.fits sctable="SC_DATA" srcmdl=/lscratch/kocevski/39807133/Model_4FGL_J1058.5+8115_daily_bin2211.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 **********
 **   18 **HESSE 
 **********
  MNHESS FAILS AND WILL RETURN DIAGONAL MATRIX. 

 FCN=   10204.77     FROM HESSE     STATUS=FAILED         9 CALLS      321 TOTAL
                     EDM=   .51E-11  STRATEGY=1  ERROR MATRIX UNCERTAINTY=100.0%

  EXT PARAMETER                APPROXIMATE     INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  Prefactor      .0000        1.2238        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   2  Index         .12650E-01    .89864       -.69634E-06   -32.406    
   3  Normalizat    .88587        1.1910       -.27894E-05   -2.1720    
   4  Prefactor     1.0277        1.1596        .17572E-05   -2.2235    
                               ERR DEF=  .500    
Minuit fit quality: 1   estimated distance: 5.14333e-12
Minuit parameter uncertainties:
  1  4.87488e-07
  2  0.572131
  3  1.22943
  4  1.18979
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) = 10204.7675347
delta logL = 2.36323103309e-08

Extracting fit parameters...

4FGL J1058.5+8115
   Spectrum: PowerLaw
349    Prefactor:  0.000e+00  4.875e-07  0.000e+00  1.000e+06 ( 1.000e-13)
350        Index:  8.208e-01  5.721e-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.028e+00  1.190e+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:  8.859e-01  1.229e+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/39806815/cmap_HighResolution_812419201_812678401_4FGL_J1058.5+8115_daily_bin2211.png

Cleaning up...

** Nuclear option initiated! **

Updating database...

UPDATE lightcurve_data_v2 SET energy_flux_upper_limit='5.36e-03', job_status='DONE', photon_flux_upper_limit='6.88e-08', time_completed='2026-10-03 20:01:38.548138', job_id='39806815', GAL2='1.03', fit_tolerance='1e-08', EG2='0.89', EG='0.89', time_epoch_completed='1791082898.55', return_code2='101', ts='-0.00', comment='SUCCESS', return_code='0', GAL='1.03', dlogl='2.36e-08', ts2='0.00', photon_index_error='0.00', photon_index='2.51' WHERE bin_id='2211' AND source_name='4FGL J1058.5+8115' AND cadence='daily';

Database successfully updated.


Analysis Complete.


Sat Oct  3 20:01:38 PDT 2026

Done.

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

Extracting fit parameters...

4FGL J1058.5+8115
   Spectrum: PowerLaw
349    Prefactor:  1.585e-06  1.458e-02  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.028e+00  9.284e-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:  8.859e-01  1.439e-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.8844506096e-08 ph cm-2 s-1
Energy Flux Upper Limit: 0.00535798519475 MeV cm-2 s-1

Saving results to:
/lscratch/kocevski/39806785/likelihoodResults_812419201_812678401_4FGL_J1058.5+8115_daily_bin2211.txt

Performing a free index iterative likelihood fit...

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

Done.

Freeing candidate source...
Done.

Fit tolerance = 1

Performing likelihood fit...
Done.

MINUIT Return Code (Free Index): 102
logL (Free Index) = 10204.788176
delta logL = -0.0206413498581

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

MINUIT Return Code (Free Index): 102
logL (Free Index) = 10202.5680776
delta logL = 2.19945709526

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'Prefactor '    .52436E-02   1.0000          .0000       .10000E+07
     2 'Index     '    6.2551       1.0000          .0000       10.000    
     3 'Normalizat'    .79261       1.0000         .10000E-01   10.000    
     4 'Prefactor '    1.0634       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=   10204.77     FROM MIGRAD    STATUS=CONVERGED     76 CALLS      312 TOTAL
                     EDM=   .51E-11  STRATEGY=1  ERROR MATRIX UNCERTAINTY=100.0%

  EXT PARAMETER                APPROXIMATE        STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor      .0000        1.2238        .42118E-03** at limit **
   2  Index         .82084        .56800       -.69634E-06     .0000    
   3  Normalizat    .88587        1.1910       -.27894E-05    .88578E-04
   4  Prefactor     1.0277        1.1596        .17572E-05    .83172E-04
                               ERR DEF=  .500    
Final values: 
  Prefactor  = 0
  Index      = 0.820836
  Normalizat = 0.885865
  Prefactor  = 1.02772
 **********
 **   18 **HESSE 
 **********
  MNHESS FAILS AND WILL RETURN DIAGONAL MATRIX. 

 FCN=   10204.77     FROM HESSE     STATUS=FAILED         9 CALLS      321 TOTAL
                     EDM=   .51E-11  STRATEGY=1  ERROR MATRIX UNCERTAINTY=100.0%

  EXT PARAMETER                APPROXIMATE     INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  Prefactor      .0000        1.2238        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   2  Index         .12650E-01    .89864       -.69634E-06   -32.406    
   3  Normalizat    .88587        1.1910       -.27894E-05   -2.1720    
   4  Prefactor     1.0277        1.1596        .17572E-05   -2.2235    
                               ERR DEF=  .500    
Minuit fit quality: 1   estimated distance: 5.14333e-12
Minuit parameter uncertainties:
  1  4.87488e-07
  2  0.572131
  3  1.22943
  4  1.18979
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) = 10204.7675347
delta logL = 2.36323103309e-08

Extracting fit parameters...

4FGL J1058.5+8115
   Spectrum: PowerLaw
349    Prefactor:  0.000e+00  4.875e-07  0.000e+00  1.000e+06 ( 1.000e-13)
350        Index:  8.208e-01  5.721e-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.028e+00  1.190e+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:  8.859e-01  1.229e+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/39806785/cmap_HighResolution_812419201_812678401_4FGL_J1058.5+8115_daily_bin2211.png

Cleaning up...

** Nuclear option initiated! **

Updating database...

UPDATE lightcurve_data_v2 SET energy_flux_upper_limit='5.36e-03', job_status='DONE', photon_flux_upper_limit='6.88e-08', time_completed='2026-10-03 20:01:50.084372', job_id='39806785', GAL2='1.03', fit_tolerance='1e-08', EG2='0.89', EG='0.89', time_epoch_completed='1791082910.08', return_code2='101', ts='-0.00', comment='SUCCESS', return_code='0', GAL='1.03', dlogl='2.36e-08', ts2='0.00', photon_index_error='0.00', photon_index='2.51' WHERE bin_id='2211' AND source_name='4FGL J1058.5+8115' AND cadence='daily';

Database successfully updated.


Analysis Complete.


Sat Oct  3 20:01:50 PDT 2026

_V02
Working on...
/lscratch/kocevski/39807041/ft1_filtered_4FGL_J1058.5+8115_daily_bin2211.fits.....................!
real 51.75
user 49.68
sys 1.27

Creating the likelihood object...
obs = UnbinnedObs('/lscratch/kocevski/39807041/ft1_filtered_4FGL_J1058.5+8115_daily_bin2211.fits', '/lscratch/kocevski/39807041/ft2_4FGL_J1058.5+8115_daily_bin2211.fits', expMap='/lscratch/kocevski/39807041/expmap_812419201_812678401_4FGL_J1058.5+8115_daily_bin2211.fits', expCube='/lscratch/kocevski/39807041/ltcube_812419201_812678401_4FGL_J1058.5+8115_daily_bin2211.fits', irfs='P8R3_SOURCE_V2')
like = UnbinnedAnalysis(obs, '/lscratch/kocevski/39807041/Model_4FGL_J1058.5+8115_daily_bin2211.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/39807041/ft1_filtered_4FGL_J1058.5+8115_daily_bin2211.fits
Spacecraft file(s): /lscratch/kocevski/39807041/ft2_4FGL_J1058.5+8115_daily_bin2211.fits
Exposure map: /lscratch/kocevski/39807041/expmap_812419201_812678401_4FGL_J1058.5+8115_daily_bin2211.fits
Exposure cube: /lscratch/kocevski/39807041/ltcube_812419201_812678401_4FGL_J1058.5+8115_daily_bin2211.fits
IRFs: P8R3_SOURCE_V2
Source model file: /lscratch/kocevski/39807041/Model_4FGL_J1058.5+8115_daily_bin2211.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) = 10204.8734187

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

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

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'Prefactor '    .29184E-05   1.0000          .0000       .10000E+07
     2 'norm      '    13.254       1.0000          .0000       .10000E+07
     3 'norm      '    12.906       1.0000          .0000       .10000E+07
     4 'Prefactor '    .18760E-03   1.0000          .0000       .10000E+07
     5 'Prefactor '    .93671       1.0000          .0000       .10000E+07
     6 'Prefactor '    10.415       1.0000          .0000       .10000E+07
     7 'Prefactor '    .45252E-05   1.0000          .0000       .10000E+07
     8 'Prefactor '    5.5013       1.0000          .0000       .10000E+07
     9 'Prefactor '    .46461E-03   1.0000          .0000       .10000E+07
    10 'Prefactor '    18.829       1.0000          .0000       .10000E+07
    11 'norm      '    .52561       1.0000          .0000       .10000E+07
    12 'Prefactor '    .46030E-06   1.0000          .0000       .10000E+07
    13 'norm      '    5.8333       1.0000          .0000       .10000E+07
    14 'norm      '    5.7349       1.0000          .0000       .10000E+07
    15 'Prefactor '    .79416E-04   1.0000          .0000       .10000E+07
    16 'Prefactor '    .26435E-04   1.0000          .0000       .10000E+07
    17 'Prefactor '    .25441E-06   1.0000          .0000       .10000E+07
    18 'Prefactor '    52.052       1.0000          .0000       .10000E+07
    19 'norm      '    5.7893       1.0000          .0000       .10000E+07
    20 'norm      '    .15599E-07   1.0000          .0000       .10000E+07
    21 'Prefactor '    .36225E-03   1.0000          .0000       .10000E+07
    22 'Prefactor '    1.4206       1.0000          .0000       .10000E+07
    23 'Prefactor '    .40217E-03   1.0000          .0000       .10000E+07
    24 'Prefactor '    .20438E-04   1.0000          .0000       .10000E+07
    25 'Prefactor '    .43443E-04   1.0000          .0000       .10000E+07
    26 'Prefactor '    .45967E-02   1.0000          .0000       .10000E+07
    27 'Normalizat'    .88512       1.0000         .10000E-01   10.000    
    28 'Prefactor '    1.0279       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=   10204.77     FROM MIGRAD    STATUS=CONVERGED    214 CALLS     2031 TOTAL
                     EDM=   .57E-09  STRATEGY=1  ERROR MATRIX UNCERTAINTY=  3.8%

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor     .62172E-08    5.5725        .88157E-06** at limit **
   2  norm          13.250        2.3279       -.98294E-08   -.26243E-01
   3  norm          12.901        2.3063       -.44335E-07   -.25925E-01
   4  Prefactor     .35849E-06    16.064       -.64514E-06** at limit **
   5  Prefactor     .92700        3.6137        .29998E-06   -.58684E-03
   6  Prefactor     10.400        1.1719       -.17190E-08   -.10660E-03
   7  Prefactor      .0000        3.4764        .81990E-06** at limit **
   8  Prefactor     5.5923        8.5563       -.49797E-06   -.12349E-02
   9  Prefactor     .16598E-07    9.6046       -.36585E-06** at limit **
  10  Prefactor     18.430        2.8372       -.18679E-08   -.32770E-02
  11  norm          .49302        5.4986        .24258E-06   -.17101E-02
  12  Prefactor     .22204E-08    6.4847        .17638E-06** at limit **
  13  norm          5.8335        1.0500        .68675E-07    .51621E-02
  14  norm          5.7329        2.8437       -.11733E-06    .12960E-02
  15  Prefactor     .15846E-05    23.749       -.80849E-06** at limit **
  16  Prefactor     .55511E-10    4.6672        .46128E-06** at limit **
  17  Prefactor     .14655E-07    5.7573        .27880E-07** at limit **
  18  Prefactor     50.975        25.709        .28285E-06   -.85183E-01
  19  norm          5.7803        4.0764       -.13036E-06   -.28735E-03
  20  norm           .0000        .55733        .16658E-06** at limit **
  21  Prefactor     .16184E-05    10.781        .10941E-05** at limit **
  22  Prefactor     1.4126        17.633       -.12767E-06   -.24660E-02
  23  Prefactor     .11115E-05    10.849       -.18848E-06** at limit **
  24  Prefactor     .88596E-07    10.404        .88717E-07** at limit **
  25  Prefactor     .36160E-06    18.313        .15961E-05** at limit **
  26  Prefactor     .13350E-06    133.71       -.49685E-05** at limit **
  27  Normalizat    .88587        .16000       -.57438E-05    .19093E-04
  28  Prefactor     1.0277        .10460        .45600E-05    .13237E-03
                               ERR DEF=  .500    
Final values: 
  Prefactor  = 6.21725e-09
  norm       = 13.2504
  norm       = 12.9009
  Prefactor  = 3.58491e-07
  Prefactor  = 0.927003
  Prefactor  = 10.3996
  Prefactor  = 0
  Prefactor  = 5.59232
  Prefactor  = 1.65978e-08
  Prefactor  = 18.4298
  norm       = 0.493023
  Prefactor  = 2.22045e-09
  norm       = 5.83347
  norm       = 5.73294
  Prefactor  = 1.58457e-06
  Prefactor  = 5.55112e-11
  Prefactor  = 1.46549e-08
  Prefactor  = 50.9747
  norm       = 5.78035
  norm       = 0
  Prefactor  = 1.61843e-06
  Prefactor  = 1.4126
  Prefactor  = 1.1115e-06
  Prefactor  = 8.85958e-08
  Prefactor  = 3.616e-07
  Prefactor  = 1.33504e-07
  Normalizat = 0.885865
  Prefactor  = 1.02772
_V02
Working on...
/lscratch/kocevski/39807087/ft1_filtered_4FGL_J1058.5+8115_daily_bin2211.fits.....................!
real 47.83
user 46.40
sys 0.85

Creating the likelihood object...
obs = UnbinnedObs('/lscratch/kocevski/39807087/ft1_filtered_4FGL_J1058.5+8115_daily_bin2211.fits', '/lscratch/kocevski/39807087/ft2_4FGL_J1058.5+8115_daily_bin2211.fits', expMap='/lscratch/kocevski/39807087/expmap_812419201_812678401_4FGL_J1058.5+8115_daily_bin2211.fits', expCube='/lscratch/kocevski/39807087/ltcube_812419201_812678401_4FGL_J1058.5+8115_daily_bin2211.fits', irfs='P8R3_SOURCE_V2')
like = UnbinnedAnalysis(obs, '/lscratch/kocevski/39807087/Model_4FGL_J1058.5+8115_daily_bin2211.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/39807087/ft1_filtered_4FGL_J1058.5+8115_daily_bin2211.fits
Spacecraft file(s): /lscratch/kocevski/39807087/ft2_4FGL_J1058.5+8115_daily_bin2211.fits
Exposure map: /lscratch/kocevski/39807087/expmap_812419201_812678401_4FGL_J1058.5+8115_daily_bin2211.fits
Exposure cube: /lscratch/kocevski/39807087/ltcube_812419201_812678401_4FGL_J1058.5+8115_daily_bin2211.fits
IRFs: P8R3_SOURCE_V2
Source model file: /lscratch/kocevski/39807087/Model_4FGL_J1058.5+8115_daily_bin2211.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) = 10204.8734187

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

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

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'Prefactor '    .29184E-05   1.0000          .0000       .10000E+07
     2 'norm      '    13.254       1.0000          .0000       .10000E+07
     3 'norm      '    12.906       1.0000          .0000       .10000E+07
     4 'Prefactor '    .18760E-03   1.0000          .0000       .10000E+07
     5 'Prefactor '    .93671       1.0000          .0000       .10000E+07
     6 'Prefactor '    10.415       1.0000          .0000       .10000E+07
     7 'Prefactor '    .45252E-05   1.0000          .0000       .10000E+07
     8 'Prefactor '    5.5013       1.0000          .0000       .10000E+07
     9 'Prefactor '    .46461E-03   1.0000          .0000       .10000E+07
    10 'Prefactor '    18.829       1.0000          .0000       .10000E+07
    11 'norm      '    .52561       1.0000          .0000       .10000E+07
    12 'Prefactor '    .46030E-06   1.0000          .0000       .10000E+07
    13 'norm      '    5.8333       1.0000          .0000       .10000E+07
    14 'norm      '    5.7349       1.0000          .0000       .10000E+07
    15 'Prefactor '    .79416E-04   1.0000          .0000       .10000E+07
    16 'Prefactor '    .26435E-04   1.0000          .0000       .10000E+07
    17 'Prefactor '    .25441E-06   1.0000          .0000       .10000E+07
    18 'Prefactor '    52.052       1.0000          .0000       .10000E+07
    19 'norm      '    5.7893       1.0000          .0000       .10000E+07
    20 'norm      '    .15599E-07   1.0000          .0000       .10000E+07
    21 'Prefactor '    .36225E-03   1.0000          .0000       .10000E+07
    22 'Prefactor '    1.4206       1.0000          .0000       .10000E+07
    23 'Prefactor '    .40217E-03   1.0000          .0000       .10000E+07
    24 'Prefactor '    .20438E-04   1.0000          .0000       .10000E+07
    25 'Prefactor '    .43443E-04   1.0000          .0000       .10000E+07
    26 'Prefactor '    .45967E-02   1.0000          .0000       .10000E+07
    27 'Normalizat'    .88512       1.0000         .10000E-01   10.000    
    28 'Prefactor '    1.0279       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=   10204.77     FROM MIGRAD    STATUS=CONVERGED    214 CALLS     2031 TOTAL
                     EDM=   .57E-09  STRATEGY=1  ERROR MATRIX UNCERTAINTY=  3.8%

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor     .62172E-08    5.5725        .88157E-06** at limit **
   2  norm          13.250        2.3279       -.98294E-08   -.26243E-01
   3  norm          12.901        2.3063       -.44335E-07   -.25925E-01
   4  Prefactor     .35849E-06    16.064       -.64514E-06** at limit **
   5  Prefactor     .92700        3.6137        .29998E-06   -.58684E-03
   6  Prefactor     10.400        1.1719       -.17190E-08   -.10660E-03
   7  Prefactor      .0000        3.4764        .81990E-06** at limit **
   8  Prefactor     5.5923        8.5563       -.49797E-06   -.12349E-02
   9  Prefactor     .16598E-07    9.6046       -.36585E-06** at limit **
  10  Prefactor     18.430        2.8372       -.18679E-08   -.32770E-02
  11  norm          .49302        5.4986        .24258E-06   -.17101E-02
  12  Prefactor     .22204E-08    6.4847        .17638E-06** at limit **
  13  norm          5.8335        1.0500        .68675E-07    .51621E-02
  14  norm          5.7329        2.8437       -.11733E-06    .12960E-02
  15  Prefactor     .15846E-05    23.749       -.80849E-06** at limit **
  16  Prefactor     .55511E-10    4.6672        .46128E-06** at limit **
  17  Prefactor     .14655E-07    5.7573        .27880E-07** at limit **
  18  Prefactor     50.975        25.709        .28285E-06   -.85183E-01
  19  norm          5.7803        4.0764       -.13036E-06   -.28735E-03
  20  norm           .0000        .55733        .16658E-06** at limit **
  21  Prefactor     .16184E-05    10.781        .10941E-05** at limit **
  22  Prefactor     1.4126        17.633       -.12767E-06   -.24660E-02
  23  Prefactor     .11115E-05    10.849       -.18848E-06** at limit **
  24  Prefactor     .88596E-07    10.404        .88717E-07** at limit **
  25  Prefactor     .36160E-06    18.313        .15961E-05** at limit **
  26  Prefactor     .13350E-06    133.71       -.49685E-05** at limit **
  27  Normalizat    .88587        .16000       -.57438E-05    .19093E-04
  28  Prefactor     1.0277        .10460        .45600E-05    .13237E-03
                               ERR DEF=  .500    
Final values: 
  Prefactor  = 6.21725e-09
  norm       = 13.2504
  norm       = 12.9009
  Prefactor  = 3.58491e-07
  Prefactor  = 0.927003
  Prefactor  = 10.3996
  Prefactor  = 0
  Prefactor  = 5.59232
  Prefactor  = 1.65978e-08
  Prefactor  = 18.4298
  norm       = 0.493023
  Prefactor  = 2.22045e-09
  norm       = 5.83347
  norm       = 5.73294
  Prefactor  = 1.58457e-06
  Prefactor  = 5.55112e-11
  Prefactor  = 1.46549e-08
  Prefactor  = 50.9747
  norm       = 5.78035
  norm       = 0
  Prefactor  = 1.61843e-06
  Prefactor  = 1.4126
  Prefactor  = 1.1115e-06
  Prefactor  = 8.85958e-08
  Prefactor  = 3.616e-07
  Prefactor  = 1.33504e-07
  Normalizat = 0.885865
  Prefactor  = 1.02772
 **********
 **   18 **HESSE 
 **********

 FCN=   10204.77     FROM HESSE     STATUS=OK           573 CALLS     2604 TOTAL
                     EDM=   .43E-05    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  Prefactor     .62172E-08    5.6118        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   2  norm          13.250        12.737        .27488E-03   -1.5635    
   3  norm          12.901        13.641        .27857E-03   -1.5636    
   4  Prefactor     .35849E-06    29.341        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   5  Prefactor     .92700        3.6172        .43254E-03   -1.5689    
   6  Prefactor     10.400        15.735        .31023E-03   -1.5643    
   7  Prefactor      .0000        3.4901        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   8  Prefactor     5.5923        10.322        .42814E-03   -1.5661    
   9  Prefactor     .16598E-07    9.7686        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  10  Prefactor     18.430        22.115        .23054E-03   -1.5622    
  11  norm          .49302        5.5043        .76174E-03   -1.5694    
  12  Prefactor     .22204E-08    6.4878        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  13  norm          5.8335        1.0591        .41558E-03   -1.5660    
  14  norm          5.7329        2.8444        .41919E-03   -1.5660    
  15  Prefactor     .15846E-05    33.546        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  16  Prefactor     .55511E-10    4.5222        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  17  Prefactor     .14655E-07    5.8570        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  18  Prefactor     50.975        33.260        .13862E-03   -1.5565    
  19  norm          5.7803        4.0734        .41718E-03   -1.5660    
  20  norm           .0000        .55875        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  21  Prefactor     .16184E-05    16.539        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  22  Prefactor     1.4126        17.583        .90730E-03   -1.5684    
  23  Prefactor     .11115E-05    14.838        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  24  Prefactor     .88596E-07    10.824        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  25  Prefactor     .36160E-06    22.921        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  26  Prefactor     .13350E-06    133.66        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  27  Normalizat    .88587        .14384        .67531E-01   -.96959    
  28  Prefactor     1.0277        .92825E-01    .41432E-01   -.91811    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 4.25835e-06
Minuit parameter uncertainties:
  1  0.000372773
  2  12.7368
  3  13.6413
  4  0.00648665
  5  3.61719
  6  15.7348
  7  1.93704e-05
  8  10.3218
  9  0.000805758
  10  22.1152
  11  3.29471
  12  0.00023952
  13  1.05908
  14  2.84441
n...
/lscratch/kocevski/39807071/ft1_filtered_4FGL_J1058.5+8115_daily_bin2211.fits.....................!
real 52.10
user 50.34
sys 1.08

Creating the likelihood object...
obs = UnbinnedObs('/lscratch/kocevski/39807071/ft1_filtered_4FGL_J1058.5+8115_daily_bin2211.fits', '/lscratch/kocevski/39807071/ft2_4FGL_J1058.5+8115_daily_bin2211.fits', expMap='/lscratch/kocevski/39807071/expmap_812419201_812678401_4FGL_J1058.5+8115_daily_bin2211.fits', expCube='/lscratch/kocevski/39807071/ltcube_812419201_812678401_4FGL_J1058.5+8115_daily_bin2211.fits', irfs='P8R3_SOURCE_V2')
like = UnbinnedAnalysis(obs, '/lscratch/kocevski/39807071/Model_4FGL_J1058.5+8115_daily_bin2211.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/39807071/ft1_filtered_4FGL_J1058.5+8115_daily_bin2211.fits
Spacecraft file(s): /lscratch/kocevski/39807071/ft2_4FGL_J1058.5+8115_daily_bin2211.fits
Exposure map: /lscratch/kocevski/39807071/expmap_812419201_812678401_4FGL_J1058.5+8115_daily_bin2211.fits
Exposure cube: /lscratch/kocevski/39807071/ltcube_812419201_812678401_4FGL_J1058.5+8115_daily_bin2211.fits
IRFs: P8R3_SOURCE_V2
Source model file: /lscratch/kocevski/39807071/Model_4FGL_J1058.5+8115_daily_bin2211.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) = 10204.8734187

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

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

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'Prefactor '    .29184E-05   1.0000          .0000       .10000E+07
     2 'norm      '    13.254       1.0000          .0000       .10000E+07
     3 'norm      '    12.906       1.0000          .0000       .10000E+07
     4 'Prefactor '    .18760E-03   1.0000          .0000       .10000E+07
     5 'Prefactor '    .93671       1.0000          .0000       .10000E+07
     6 'Prefactor '    10.415       1.0000          .0000       .10000E+07
     7 'Prefactor '    .45252E-05   1.0000          .0000       .10000E+07
     8 'Prefactor '    5.5013       1.0000          .0000       .10000E+07
     9 'Prefactor '    .46461E-03   1.0000          .0000       .10000E+07
    10 'Prefactor '    18.829       1.0000          .0000       .10000E+07
    11 'norm      '    .52561       1.0000          .0000       .10000E+07
    12 'Prefactor '    .46030E-06   1.0000          .0000       .10000E+07
    13 'norm      '    5.8333       1.0000          .0000       .10000E+07
    14 'norm      '    5.7349       1.0000          .0000       .10000E+07
    15 'Prefactor '    .79416E-04   1.0000          .0000       .10000E+07
    16 'Prefactor '    .26435E-04   1.0000          .0000       .10000E+07
    17 'Prefactor '    .25441E-06   1.0000          .0000       .10000E+07
    18 'Prefactor '    52.052       1.0000          .0000       .10000E+07
    19 'norm      '    5.7893       1.0000          .0000       .10000E+07
    20 'norm      '    .15599E-07   1.0000          .0000       .10000E+07
    21 'Prefactor '    .36225E-03   1.0000          .0000       .10000E+07
    22 'Prefactor '    1.4206       1.0000          .0000       .10000E+07
    23 'Prefactor '    .40217E-03   1.0000          .0000       .10000E+07
    24 'Prefactor '    .20438E-04   1.0000          .0000       .10000E+07
    25 'Prefactor '    .43443E-04   1.0000          .0000       .10000E+07
    26 'Prefactor '    .45967E-02   1.0000          .0000       .10000E+07
    27 'Normalizat'    .88512       1.0000         .100  15  0.0145816
  16  2.29734e-05
  17  0.000585398
  18  33.2604
  19  4.07337
  20  1.48386e-06
  21  0.0103474
  22  9.96752
  23  0.00812222
  24  0.00195843
  25  0.00575772
  26  0.00844958
  27  0.143906
  28  0.092839
 **********
 **   18 **HESSE 
 **********

 FCN=   10204.77     FROM HESSE     STATUS=OK           573 CALLS     2604 TOTAL
                     EDM=   .43E-05    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  Prefactor     .62172E-08    5.6118        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   2  norm          13.250        12.737        .27488E-03   -1.5635    
   3  norm          12.901        13.641        .27857E-03   -1.5636    
   4  Prefactor     .35849E-06    29.341        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   5  Prefactor     .92700        3.6172        .43254E-03   -1.5689    
   6  Prefactor     10.400        15.735        .31023E-03   -1.5643    
   7  Prefactor      .0000        3.4901        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   8  Prefactor     5.5923        10.322        .42814E-03   -1.5661    
   9  Prefactor     .16598E-07    9.7686        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  10  Prefactor     18.430        22.115        .23054E-03   -1.5622    
  11  norm          .49302        5.5043        .76174E-03   -1.5694    
  12  Prefactor     .22204E-08    6.4878        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  13  norm          5.8335        1.0591        .41558E-03   -1.5660    
  14  norm          5.7329        2.8444        .41919E-03   -1.5660    
  15  Prefactor     .15846E-05    33.546        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  16  Prefactor     .55511E-10    4.5222        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  17  Prefactor     .14655E-07    5.8570        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  18  Prefactor     50.975        33.260        .13862E-03   -1.5565    
  19  norm          5.7803        4.0734        .41718E-03   -1.5660    
  20  norm           .0000        .55875        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  21  Prefactor     .16184E-05    16.539        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  22  Prefactor     1.4126        17.583        .90730E-03   -1.5684    
  23  Prefactor     .11115E-05    14.838        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  24  Prefactor     .88596E-07    10.824        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  25  Prefactor     .36160E-06    22.921        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  26  Prefactor     .13350E-06    133.66        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  27  Normalizat    .88587        .14384        .67531E-01   -.96959    
  28  Prefactor     1.0277        .92825E-01    .41432E-01   -.91811    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 4.25835e-06
Minuit parameter uncertainties:
  1  0.000372773
  2  12.7368
  3  13.6413
  4  0.00648665
  5  3.61719
  6  15.7348
  7  1.93704e-05
  8  10.3218
  9  0.000805758
  10  22.1152
  11  3.29471
  12  0.00023952
  13  1.05908
  14  2.84441
  15  0.0145816
  16  2.29734e-05
  17  0.000585398
  18  33.2604
  19  4.07337
  20  1.48386e-06
  21  0.0103474
  22  9.96752
  23  0.00812222
  24  0.00195843
  25  0.00575772
  26  0.00844958
  27  0.143906
  28  0.092839
00E-01   10.000    
    28 'Prefactor '    1.0279       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=   10204.77     FROM MIGRAD    STATUS=CONVERGED    214 CALLS     2031 TOTAL
                     EDM=   .57E-09  STRATEGY=1  ERROR MATRIX UNCERTAINTY=  3.8%

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor     .62172E-08    5.5725        .88157E-06** at limit **
   2  norm          13.250        2.3279       -.98294E-08   -.26243E-01
   3  norm          12.901        2.3063       -.44335E-07   -.25925E-01
   4  Prefactor     .35849E-06    16.064       -.64514E-06** at limit **
   5  Prefactor     .92700        3.6137        .29998E-06   -.58684E-03
   6  Prefactor     10.400        1.1719       -.17190E-08   -.10660E-03
   7  Prefactor      .0000        3.4764        .81990E-06** at limit **
   8  Prefactor     5.5923        8.5563       -.49797E-06   -.12349E-02
   9  Prefactor     .16598E-07    9.6046       -.36585E-06** at limit **
  10  Prefactor     18.430        2.8372       -.18679E-08   -.32770E-02
  11  norm          .49302        5.4986        .24258E-06   -.17101E-02
  12  Prefactor     .22204E-08    6.4847        .17638E-06** at limit **
  13  norm          5.8335        1.0500        .68675E-07    .51621E-02
  14  norm          5.7329        2.8437       -.11733E-06    .12960E-02
  15  Prefactor     .15846E-05    23.749       -.80849E-06** at limit **
  16  Prefactor     .55511E-10    4.6672        .46128E-06** at limit **
  17  Prefactor     .14655E-07    5.7573        .27880E-07** at limit **
  18  Prefactor     50.975        25.709        .28285E-06   -.85183E-01
  19  norm          5.7803        4.0764       -.13036E-06   -.28735E-03
  20  norm           .0000        .55733        .16658E-06** at limit **
  21  Prefactor     .16184E-05    10.781        .10941E-05** at limit **
  22  Prefactor     1.4126        17.633       -.12767E-06   -.24660E-02
  23  Prefactor     .11115E-05    10.849       -.18848E-06** at limit **
  24  Prefactor     .88596E-07    10.404        .88717E-07** at limit **
  25  Prefactor     .36160E-06    18.313        .15961E-05** at limit **
  26  Prefactor     .13350E-06    133.71       -.49685E-05** at limit **
  27  Normalizat    .88587        .16000       -.57438E-05    .19093E-04
  28  Prefactor     1.0277        .10460        .45600E-05    .13237E-03
                               ERR DEF=  .500    
Final values: 
  Prefactor  = 6.21725e-09
  norm       = 13.2504
  norm       = 12.9009
  Prefactor  = 3.58491e-07
  Prefactor  = 0.927003
  Prefactor  = 10.3996
  Prefactor  = 0
  Prefactor  = 5.59232
  Prefactor  = 1.65978e-08
  Prefactor  = 18.4298
  norm       = 0.493023
  Prefactor  = 2.22045e-09
  norm       = 5.83347
  norm       = 5.73294
  Prefactor  = 1.58457e-06
  Prefactor  = 5.55112e-11
  Prefactor  = 1.46549e-08
  Prefactor  = 50.9747
  norm       = 5.78035
  norm       = 0
  Prefactor  = 1.61843e-06
  Prefactor  = 1.4126
  Prefactor  = 1.1115e-06
  Prefactor  = 8.85958e-08
  Prefactor  = 3.616e-07
  Prefactor  = 1.33504e-07
  Normalizat = 0.885865
  Prefactor  = 1.02772
_V02
Working on...
/lscratch/kocevski/39807133/ft1_filtered_4FGL_J1058.5+8115_daily_bin2211.fits.....................!
real 53.65
user 51.98
sys 1.07

Creating the likelihood object...
obs = UnbinnedObs('/lscratch/kocevski/39807133/ft1_filtered_4FGL_J1058.5+8115_daily_bin2211.fits', '/lscratch/kocevski/39807133/ft2_4FGL_J1058.5+8115_daily_bin2211.fits', expMap='/lscratch/kocevski/39807133/expmap_812419201_812678401_4FGL_J1058.5+8115_daily_bin2211.fits', expCube='/lscratch/kocevski/39807133/ltcube_812419201_812678401_4FGL_J1058.5+8115_daily_bin2211.fits', irfs='P8R3_SOURCE_V2')
like = UnbinnedAnalysis(obs, '/lscratch/kocevski/39807133/Model_4FGL_J1058.5+8115_daily_bin2211.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/39807133/ft1_filtered_4FGL_J1058.5+8115_daily_bin2211.fits
Spacecraft file(s): /lscratch/kocevski/39807133/ft2_4FGL_J1058.5+8115_daily_bin2211.fits
Exposure map: /lscratch/kocevski/39807133/expmap_812419201_812678401_4FGL_J1058.5+8115_daily_bin2211.fits
Exposure cube: /lscratch/kocevski/39807133/ltcube_812419201_812678401_4FGL_J1058.5+8115_daily_bin2211.fits
IRFs: P8R3_SOURCE_V2
Source model file: /lscratch/kocevski/39807133/Model_4FGL_J1058.5+8115_daily_bin2211.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) = 10204.8734187

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

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

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'Prefactor '    .29184E-05   1.0000          .0000       .10000E+07
     2 'norm      '    13.254       1.0000          .0000       .10000E+07
     3 'norm      '    12.906       1.0000          .0000       .10000E+07
     4 'Prefactor '    .18760E-03   1.0000          .0000       .10000E+07
     5 'Prefactor '    .93671       1.0000          .0000       .10000E+07
     6 'Prefactor '    10.415       1.0000          .0000       .10000E+07
     7 'Prefactor '    .45252E-05   1.0000          .0000       .10000E+07
     8 'Prefactor '    5.5013       1.0000          .0000       .10000E+07
     9 'Prefactor '    .46461E-03   1.0000          .0000       .10000E+07
    10 'Prefactor '    18.829       1.0000          .0000       .10000E+07
    11 'norm      '    .52561       1.0000          .0000       .10000E+07
    12 'Prefactor '    .46030E-06   1.0000          .0000       .10000E+07
    13 'norm      '    5.8333       1.0000          .0000       .10000E+07
    14 'norm      '    5.7349       1.0000          .0000       .10000E+07
    15 'Prefactor '    .79416E-04   1.0000          .0000       .10000E+07
    16 'Prefactor '    .26435E-04   1.0000          .0000       .10000E+07
    17 'Prefactor '    .25441E-06   1.0000          .0000       .10000E+07
    18 'Prefactor '    52.052       1.0000          .0000       .10000E+07
    19 'norm      '    5.7893       1.0000          .0000       .10000E+07
    20 'norm      '    .15599E-07   1.0000          .0000       .10000E+07
    21 'Prefactor '    .36225E-03   1.0000          .0000       .10000E+07
    22 'Prefactor '    1.4206       1.0000          .0000       .10000E+07
    23 'Prefactor '    .40217E-03   1.0000          .0000       .10000E+07
    24 'Prefactor '    .20438E-04   1.0000          .0000       .10000E+07
    25 'Prefactor '    .43443E-04   1.0000          .0000       .10000E+07
    26 'Prefactor '    .45967E-02   1.0000          .0000       .10000E+07
    27 'Normalizat'    .88512       1.0000         .100 **********
 **   18 **HESSE 
 **********

 FCN=   10204.77     FROM HESSE     STATUS=OK           573 CALLS     2604 TOTAL
                     EDM=   .43E-05    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  Prefactor     .62172E-08    5.6118        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   2  norm          13.250        12.737        .27488E-03   -1.5635    
   3  norm          12.901        13.641        .27857E-03   -1.5636    
   4  Prefactor     .35849E-06    29.341        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   5  Prefactor     .92700        3.6172        .43254E-03   -1.5689    
   6  Prefactor     10.400        15.735        .31023E-03   -1.5643    
   7  Prefactor      .0000        3.4901        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   8  Prefactor     5.5923        10.322        .42814E-03   -1.5661    
   9  Prefactor     .16598E-07    9.7686        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  10  Prefactor     18.430        22.115        .23054E-03   -1.5622    
  11  norm          .49302        5.5043        .76174E-03   -1.5694    
  12  Prefactor     .22204E-08    6.4878        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  13  norm          5.8335        1.0591        .41558E-03   -1.5660    
  14  norm          5.7329        2.8444        .41919E-03   -1.5660    
  15  Prefactor     .15846E-05    33.546        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  16  Prefactor     .55511E-10    4.5222        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  17  Prefactor     .14655E-07    5.8570        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  18  Prefactor     50.975        33.260        .13862E-03   -1.5565    
  19  norm          5.7803        4.0734        .41718E-03   -1.5660    
  20  norm           .0000        .55875        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  21  Prefactor     .16184E-05    16.539        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  22  Prefactor     1.4126        17.583        .90730E-03   -1.5684    
  23  Prefactor     .11115E-05    14.838        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  24  Prefactor     .88596E-07    10.824        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  25  Prefactor     .36160E-06    22.921        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  26  Prefactor     .13350E-06    133.66        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  27  Normalizat    .88587        .14384        .67531E-01   -.96959    
  28  Prefactor     1.0277        .92825E-01    .41432E-01   -.91811    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 4.25835e-06
Minuit parameter uncertainties:
  1  0.000372773
  2  12.7368
  3  13.6413
  4  0.00648665
  5  3.61719
  6  15.7348
  7  1.93704e-05
  8  10.3218
  9  0.000805758
  10  22.1152
  11  3.29471
  12  0.00023952
  13  1.05908
  14  2.84441
  15  0.0145816
  16  2.29734e-05
  17  0.000585398
  18  33.2604
  19  4.07337
  20  1.48386e-06
  21  0.0103474
  22  9.96752
  23  0.00812222
  24  0.00195843
  25  0.00575772
  26  0.00844958
  27  0.143906
  28  0.092839
00E-01   10.000    
    28 'Prefactor '    1.0279       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=   10204.77     FROM MIGRAD    STATUS=CONVERGED    214 CALLS     2031 TOTAL
                     EDM=   .57E-09  STRATEGY=1  ERROR MATRIX UNCERTAINTY=  3.8%

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor     .62172E-08    5.5725        .88157E-06** at limit **
   2  norm          13.250        2.3279       -.98294E-08   -.26243E-01
   3  norm          12.901        2.3063       -.44335E-07   -.25925E-01
   4  Prefactor     .35849E-06    16.064       -.64514E-06** at limit **
   5  Prefactor     .92700        3.6137        .29998E-06   -.58684E-03
   6  Prefactor     10.400        1.1719       -.17190E-08   -.10660E-03
   7  Prefactor      .0000        3.4764        .81990E-06** at limit **
   8  Prefactor     5.5923        8.5563       -.49797E-06   -.12349E-02
   9  Prefactor     .16598E-07    9.6046       -.36585E-06** at limit **
  10  Prefactor     18.430        2.8372       -.18679E-08   -.32770E-02
  11  norm          .49302        5.4986        .24258E-06   -.17101E-02
  12  Prefactor     .22204E-08    6.4847        .17638E-06** at limit **
  13  norm          5.8335        1.0500        .68675E-07    .51621E-02
  14  norm          5.7329        2.8437       -.11733E-06    .12960E-02
  15  Prefactor     .15846E-05    23.749       -.80849E-06** at limit **
  16  Prefactor     .55511E-10    4.6672        .46128E-06** at limit **
  17  Prefactor     .14655E-07    5.7573        .27880E-07** at limit **
  18  Prefactor     50.975        25.709        .28285E-06   -.85183E-01
  19  norm          5.7803        4.0764       -.13036E-06   -.28735E-03
  20  norm           .0000        .55733        .16658E-06** at limit **
  21  Prefactor     .16184E-05    10.781        .10941E-05** at limit **
  22  Prefactor     1.4126        17.633       -.12767E-06   -.24660E-02
  23  Prefactor     .11115E-05    10.849       -.18848E-06** at limit **
  24  Prefactor     .88596E-07    10.404        .88717E-07** at limit **
  25  Prefactor     .36160E-06    18.313        .15961E-05** at limit **
  26  Prefactor     .13350E-06    133.71       -.49685E-05** at limit **
  27  Normalizat    .88587        .16000       -.57438E-05    .19093E-04
  28  Prefactor     1.0277        .10460        .45600E-05    .13237E-03
                               ERR DEF=  .500    
Final values: 
  Prefactor  = 6.21725e-09
  norm       = 13.2504
  norm       = 12.9009
  Prefactor  = 3.58491e-07
  Prefactor  = 0.927003
  Prefactor  = 10.3996
  Prefactor  = 0
  Prefactor  = 5.59232
  Prefactor  = 1.65978e-08
  Prefactor  = 18.4298
  norm       = 0.493023
  Prefactor  = 2.22045e-09
  norm       = 5.83347
  norm       = 5.73294
  Prefactor  = 1.58457e-06
  Prefactor  = 5.55112e-11
  Prefactor  = 1.46549e-08
  Prefactor  = 50.9747
  norm       = 5.78035
  norm       = 0
  Prefactor  = 1.61843e-06
  Prefactor  = 1.4126
  Prefactor  = 1.1115e-06
  Prefactor  = 8.85958e-08
  Prefactor  = 3.616e-07
  Prefactor  = 1.33504e-07
  Normalizat = 0.885865
  Prefactor  = 1.02772
Done.

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

Extracting fit parameters...

4FGL J1058.5+8115
   Spectrum: PowerLaw
349    Prefactor:  1.585e-06  1.458e-02  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.028e+00  9.284e-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:  8.859e-01  1.439e-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.8844506096e-08 ph cm-2 s-1
Energy Flux Upper Limit: 0.00535798519475 MeV cm-2 s-1

Saving results to:
/lscratch/kocevski/39807041/likelihoodResults_812419201_812678401_4FGL_J1058.5+8115_daily_bin2211.txt

Performing a free index iterative likelihood fit...

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

Done.

Freeing candidate source...
Done.

Fit tolerance = 1

Performing likelihood fit...
Done.

MINUIT Return Code (Free Index): 102
logL (Free Index) = 10204.788176
delta logL = -0.0206413498581

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

MINUIT Return Code (Free Index): 102
logL (Free Index) = 10202.5680776
delta logL = 2.19945709526

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'Prefactor '    .52436E-02   1.0000          .0000       .10000E+07
     2 'Index     '    6.2551       1.0000          .0000       10.000    
     3 'Normalizat'    .79261       1.0000         .10000E-01   10.000    
     4 'Prefactor '    1.0634       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=   10204.77     FROM MIGRAD    STATUS=CONVERGED     76 CALLS      312 TOTAL
                     EDM=   .51E-11  STRATEGY=1  ERROR MATRIX UNCERTAINTY=100.0%

  EXT PARAMETER                APPROXIMATE        STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor      .0000        1.2238        .42118E-03** at limit **
   2  Index         .82084        .56800       -.69634E-06     .0000    
   3  Normalizat    .88587        1.1910       -.27894E-05    .88578E-04
   4  Prefactor     1.0277        1.1596        .17572E-05    .83172E-04
                               ERR DEF=  .500    
Final values: 
  Prefactor  = 0
  Index      = 0.820836
  Normalizat = 0.885865
  Prefactor  = 1.02772
 **********
 **   18 **HESSE 
 **********
  MNHESS FAILS AND WILL RETURN DIAGONAL MATRIX. 

 FCN=   10204.77     FROM HESSE     STATUS=FAILED         9 CALLS      321 TOTAL
                     EDM=   .51E-11  STRATEGY=1  ERROR MATRIX UNCERTAINTY=100.0%

  EXT PARAMETER                APPROXIMATE     INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  Prefactor      .0000        1.2238        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   2  Index         .12650E-01    .89864       -.69634E-06   -32.406    
   3  Normalizat    .88587        1.1910       -.27894E-05   -2.1720    
   4  Prefactor     1.0277        1.1596        .17572E-05   -2.2235    
                               ERR DEF=  .500    
Minuit fit quality: 1   estimated distance: 5.14333e-12
Minuit parameter uncertainties:
  1  4.87488e-07
  2  0.572131
  3  1.22943
  4  1.18979
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) = 10204.7675347
delta logL = 2.36323103309e-08

Extracting fit parameters...

4FGL J1058.5+8115
   Spectrum: PowerLaw
349    Prefactor:  0.000e+00  4.875e-07  0.000e+00  1.000e+06 ( 1.000e-13)
350        Index:  8.208e-01  5.721e-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.028e+00  1.190e+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:  8.859e-01  1.229e+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/39807041/cmap_HighResolution_812419201_812678401_4FGL_J1058.5+8115_daily_bin2211.png

Cleaning up...

** Nuclear option initiated! **

Updating database...

UPDATE lightcurve_data_v2 SET energy_flux_upper_limit='5.36e-03', job_status='DONE', photon_flux_upper_limit='6.88e-08', time_completed='2026-10-03 20:04:48.820630', job_id='39807041', GAL2='1.03', fit_tolerance='1e-08', EG2='0.89', EG='0.89', time_epoch_completed='1791083088.82', return_code2='101', ts='-0.00', comment='SUCCESS', return_code='0', GAL='1.03', dlogl='2.36e-08', ts2='0.00', photon_index_error='0.00', photon_index='2.51' WHERE bin_id='2211' AND source_name='4FGL J1058.5+8115' AND cadence='daily';

Database successfully updated.


Analysis Complete.


Sat Oct  3 20:04:49 PDT 2026

Done.

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

Extracting fit parameters...

4FGL J1058.5+8115
   Spectrum: PowerLaw
349    Prefactor:  1.585e-06  1.458e-02  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.028e+00  9.284e-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:  8.859e-01  1.439e-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.8844506096e-08 ph cm-2 s-1
Energy Flux Upper Limit: 0.00535798519475 MeV cm-2 s-1

Saving results to:
/lscratch/kocevski/39807087/likelihoodResults_812419201_812678401_4FGL_J1058.5+8115_daily_bin2211.txt

Performing a free index iterative likelihood fit...

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

Done.

Freeing candidate source...
Done.

Fit tolerance = 1

Performing likelihood fit...
Done.

MINUIT Return Code (Free Index): 102
logL (Free Index) = 10204.788176
delta logL = -0.0206413498581

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

MINUIT Return Code (Free Index): 102
logL (Free Index) = 10202.5680776
delta logL = 2.19945709526

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'Prefactor '    .52436E-02   1.0000          .0000       .10000E+07
     2 'Index     '    6.2551       1.0000          .0000       10.000    
     3 'Normalizat'    .79261       1.0000         .10000E-01   10.000    
     4 'Prefactor '    1.0634       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=   10204.77     FROM MIGRAD    STATUS=CONVERGED     76 CALLS      312 TOTAL
                     EDM=   .51E-11  STRATEGY=1  ERROR MATRIX UNCERTAINTY=100.0%

  EXT PARAMETER                APPROXIMATE        STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor      .0000        1.2238        .42118E-03** at limit **
   2  Index         .82084        .56800       -.69634E-06     .0000    
   3  Normalizat    .88587        1.1910       -.27894E-05    .88578E-04
   4  Prefactor     1.0277        1.1596        .17572E-05    .83172E-04
                               ERR DEF=  .500    
Final values: 
  Prefactor  = 0
  Index      = 0.820836
  Normalizat = 0.885865
  Prefactor  = 1.02772
 **********
 **   18 **HESSE 
 **********
  MNHESS FAILS AND WILL RETURN DIAGONAL MATRIX. 

 FCN=   10204.77     FROM HESSE     STATUS=FAILED         9 CALLS      321 TOTAL
                     EDM=   .51E-11  STRATEGY=1  ERROR MATRIX UNCERTAINTY=100.0%

  EXT PARAMETER                APPROXIMATE     INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  Prefactor      .0000        1.2238        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   2  Index         .12650E-01    .89864       -.69634E-06   -32.406    
   3  Normalizat    .88587        1.1910       -.27894E-05   -2.1720    
   4  Prefactor     1.0277        1.1596        .17572E-05   -2.2235    
                               ERR DEF=  .500    
Minuit fit quality: 1   estimated distance: 5.14333e-12
Minuit parameter uncertainties:
  1  4.87488e-07
  2  0.572131
  3  1.22943
  4  1.18979
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) = 10204.7675347
delta logL = 2.36323103309e-08

Extracting fit parameters...

4FGL J1058.5+8115
   Spectrum: PowerLaw
349    Prefactor:  0.000e+00  4.875e-07  0.000e+00  1.000e+06 ( 1.000e-13)
350        Index:  8.208e-01  5.721e-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.028e+00  1.190e+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:  8.859e-01  1.229e+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/39807087/cmap_HighResolution_812419201_812678401_4FGL_J1058.5+8115_daily_bin2211.png

Cleaning up...

** Nuclear option initiated! **

Updating database...

UPDATE lightcurve_data_v2 SET energy_flux_upper_limit='5.36e-03', job_status='DONE', photon_flux_upper_limit='6.88e-08', time_completed='2026-10-03 20:04:57.272861', job_id='39807087', GAL2='1.03', fit_tolerance='1e-08', EG2='0.89', EG='0.89', time_epoch_completed='1791083097.27', return_code2='101', ts='-0.00', comment='SUCCESS', return_code='0', GAL='1.03', dlogl='2.36e-08', ts2='0.00', photon_index_error='0.00', photon_index='2.51' WHERE bin_id='2211' AND source_name='4FGL J1058.5+8115' AND cadence='daily';

Database successfully updated.


Analysis Complete.


Sat Oct  3 20:04:57 PDT 2026

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

 FCN=   10204.77     FROM HESSE     STATUS=OK           573 CALLS     2604 TOTAL
                     EDM=   .43E-05    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  Prefactor     .62172E-08    5.6118        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   2  norm          13.250        12.737        .27488E-03   -1.5635    
   3  norm          12.901        13.641        .27857E-03   -1.5636    
   4  Prefactor     .35849E-06    29.341        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   5  Prefactor     .92700        3.6172        .43254E-03   -1.5689    
   6  Prefactor     10.400        15.735        .31023E-03   -1.5643    
   7  Prefactor      .0000        3.4901        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   8  Prefactor     5.5923        10.322        .42814E-03   -1.5661    
   9  Prefactor     .16598E-07    9.7686        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  10  Prefactor     18.430        22.115        .23054E-03   -1.5622    
  11  norm          .49302        5.5043        .76174E-03   -1.5694    
  12  Prefactor     .22204E-08    6.4878        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  13  norm          5.8335        1.0591        .41558E-03   -1.5660    
  14  norm          5.7329        2.8444        .41919E-03   -1.5660    
  15  Prefactor     .15846E-05    33.546        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  16  Prefactor     .55511E-10    4.5222        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  17  Prefactor     .14655E-07    5.8570        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  18  Prefactor     50.975        33.260        .13862E-03   -1.5565    
  19  norm          5.7803        4.0734        .41718E-03   -1.5660    
  20  norm           .0000        .55875        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  21  Prefactor     .16184E-05    16.539        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  22  Prefactor     1.4126        17.583        .90730E-03   -1.5684    
  23  Prefactor     .11115E-05    14.838        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  24  Prefactor     .88596E-07    10.824        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  25  Prefactor     .36160E-06    22.921        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  26  Prefactor     .13350E-06    133.66        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  27  Normalizat    .88587        .14384        .67531E-01   -.96959    
  28  Prefactor     1.0277        .92825E-01    .41432E-01   -.91811    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 4.25835e-06
Minuit parameter uncertainties:
  1  0.000372773
  2  12.7368
  3  13.6413
  4  0.00648665
  5  3.61719
  6  15.7348
  7  1.93704e-05
  8  10.3218
  9  0.000805758
  10  22.1152
  11  3.29471
  12  0.00023952
  13  1.05908
  14  2.84441
  15  0.0145816
  16  2.29734e-05
  17  0.000585398
  18  33.2604
  19  4.07337
  20  1.48386e-06
  21  0.0103474
  22  9.96752
  23  0.00812222
  24  0.00195843
  25  0.00575772
  26  0.00844958
  27  0.143906
  28  0.092839
Done.

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

Extracting fit parameters...

4FGL J1058.5+8115
   Spectrum: PowerLaw
349    Prefactor:  1.585e-06  1.458e-02  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.028e+00  9.284e-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:  8.859e-01  1.439e-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.8844506096e-08 ph cm-2 s-1
Energy Flux Upper Limit: 0.00535798519475 MeV cm-2 s-1

Saving results to:
/lscratch/kocevski/39807071/likelihoodResults_812419201_812678401_4FGL_J1058.5+8115_daily_bin2211.txt

Performing a free index iterative likelihood fit...

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

Done.

Freeing candidate source...
Done.

Fit tolerance = 1

Performing likelihood fit...
Done.

MINUIT Return Code (Free Index): 102
logL (Free Index) = 10204.788176
delta logL = -0.0206413498581

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

MINUIT Return Code (Free Index): 102
logL (Free Index) = 10202.5680776
delta logL = 2.19945709526

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'Prefactor '    .52436E-02   1.0000          .0000       .10000E+07
     2 'Index     '    6.2551       1.0000          .0000       10.000    
     3 'Normalizat'    .79261       1.0000         .10000E-01   10.000    
     4 'Prefactor '    1.0634       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=   10204.77     FROM MIGRAD    STATUS=CONVERGED     76 CALLS      312 TOTAL
                     EDM=   .51E-11  STRATEGY=1  ERROR MATRIX UNCERTAINTY=100.0%

  EXT PARAMETER                APPROXIMATE        STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor      .0000        1.2238        .42118E-03** at limit **
   2  Index         .82084        .56800       -.69634E-06     .0000    
   3  Normalizat    .88587        1.1910       -.27894E-05    .88578E-04
   4  Prefactor     1.0277        1.1596        .17572E-05    .83172E-04
                               ERR DEF=  .500    
Final values: 
  Prefactor  = 0
  Index      = 0.820836
  Normalizat = 0.885865
  Prefactor  = 1.02772
 **********
 **   18 **HESSE 
 **********
  MNHESS FAILS AND WILL RETURN DIAGONAL MATRIX. 

 FCN=   10204.77     FROM HESSE     STATUS=FAILED         9 CALLS      321 TOTAL
                     EDM=   .51E-11  STRATEGY=1  ERROR MATRIX UNCERTAINTY=100.0%

  EXT PARAMETER                APPROXIMATE     INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  Prefactor      .0000        1.2238        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   2  Index         .12650E-01    .89864       -.69634E-06   -32.406    
   3  Normalizat    .88587        1.1910       -.27894E-05   -2.1720    
   4  Prefactor     1.0277        1.1596        .17572E-05   -2.2235    
                               ERR DEF=  .500    
Minuit fit quality: 1   estimated distance: 5.14333e-12
Minuit parameter uncertainties:
  1  4.87488e-07
  2  0.572131
  3  1.22943
  4  1.18979
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) = 10204.7675347
delta logL = 2.36323103309e-08

Extracting fit parameters...

4FGL J1058.5+8115
   Spectrum: PowerLaw
349    Prefactor:  0.000e+00  4.875e-07  0.000e+00  1.000e+06 ( 1.000e-13)
350        Index:  8.208e-01  5.721e-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.028e+00  1.190e+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:  8.859e-01  1.229e+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/39807071/cmap_HighResolution_812419201_812678401_4FGL_J1058.5+8115_daily_bin2211.png

Cleaning up...

** Nuclear option initiated! **

Updating database...

UPDATE lightcurve_data_v2 SET energy_flux_upper_limit='5.36e-03', job_status='DONE', photon_flux_upper_limit='6.88e-08', time_completed='2026-10-03 20:05:48.575507', job_id='39807071', GAL2='1.03', fit_tolerance='1e-08', EG2='0.89', EG='0.89', time_epoch_completed='1791083148.58', return_code2='101', ts='-0.00', comment='SUCCESS', return_code='0', GAL='1.03', dlogl='2.36e-08', ts2='0.00', photon_index_error='0.00', photon_index='2.51' WHERE bin_id='2211' AND source_name='4FGL J1058.5+8115' AND cadence='daily';

Database successfully updated.


Analysis Complete.


Sat Oct  3 20:05:48 PDT 2026

Done.

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

Extracting fit parameters...

4FGL J1058.5+8115
   Spectrum: PowerLaw
349    Prefactor:  1.585e-06  1.458e-02  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.028e+00  9.284e-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:  8.859e-01  1.439e-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.8844506096e-08 ph cm-2 s-1
Energy Flux Upper Limit: 0.00535798519475 MeV cm-2 s-1

Saving results to:
/lscratch/kocevski/39807133/likelihoodResults_812419201_812678401_4FGL_J1058.5+8115_daily_bin2211.txt

Performing a free index iterative likelihood fit...

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

Done.

Freeing candidate source...
Done.

Fit tolerance = 1

Performing likelihood fit...
Done.

MINUIT Return Code (Free Index): 102
logL (Free Index) = 10204.788176
delta logL = -0.0206413498581

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

MINUIT Return Code (Free Index): 102
logL (Free Index) = 10202.5680776
delta logL = 2.19945709526

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'Prefactor '    .52436E-02   1.0000          .0000       .10000E+07
     2 'Index     '    6.2551       1.0000          .0000       10.000    
     3 'Normalizat'    .79261       1.0000         .10000E-01   10.000    
     4 'Prefactor '    1.0634       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=   10204.77     FROM MIGRAD    STATUS=CONVERGED     76 CALLS      312 TOTAL
                     EDM=   .51E-11  STRATEGY=1  ERROR MATRIX UNCERTAINTY=100.0%

  EXT PARAMETER                APPROXIMATE        STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor      .0000        1.2238        .42118E-03** at limit **
   2  Index         .82084        .56800       -.69634E-06     .0000    
   3  Normalizat    .88587        1.1910       -.27894E-05    .88578E-04
   4  Prefactor     1.0277        1.1596        .17572E-05    .83172E-04
                               ERR DEF=  .500    
Final values: 
  Prefactor  = 0
  Index      = 0.820836
  Normalizat = 0.885865
  Prefactor  = 1.02772
 **********
 **   18 **HESSE 
 **********
  MNHESS FAILS AND WILL RETURN DIAGONAL MATRIX. 

 FCN=   10204.77     FROM HESSE     STATUS=FAILED         9 CALLS      321 TOTAL
                     EDM=   .51E-11  STRATEGY=1  ERROR MATRIX UNCERTAINTY=100.0%

  EXT PARAMETER                APPROXIMATE     INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  Prefactor      .0000        1.2238        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   2  Index         .12650E-01    .89864       -.69634E-06   -32.406    
   3  Normalizat    .88587        1.1910       -.27894E-05   -2.1720    
   4  Prefactor     1.0277        1.1596        .17572E-05   -2.2235    
                               ERR DEF=  .500    
Minuit fit quality: 1   estimated distance: 5.14333e-12
Minuit parameter uncertainties:
  1  4.87488e-07
  2  0.572131
  3  1.22943
  4  1.18979
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) = 10204.7675347
delta logL = 2.36323103309e-08

Extracting fit parameters...

4FGL J1058.5+8115
   Spectrum: PowerLaw
349    Prefactor:  0.000e+00  4.875e-07  0.000e+00  1.000e+06 ( 1.000e-13)
350        Index:  8.208e-01  5.721e-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.028e+00  1.190e+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:  8.859e-01  1.229e+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/39807133/cmap_HighResolution_812419201_812678401_4FGL_J1058.5+8115_daily_bin2211.png

Cleaning up...

** Nuclear option initiated! **

Updating database...

UPDATE lightcurve_data_v2 SET energy_flux_upper_limit='5.36e-03', job_status='DONE', photon_flux_upper_limit='6.88e-08', time_completed='2026-10-03 20:06:39.268567', job_id='39807133', GAL2='1.03', fit_tolerance='1e-08', EG2='0.89', EG='0.89', time_epoch_completed='1791083199.27', return_code2='101', ts='-0.00', comment='SUCCESS', return_code='0', GAL='1.03', dlogl='2.36e-08', ts2='0.00', photon_index_error='0.00', photon_index='2.51' WHERE bin_id='2211' AND source_name='4FGL J1058.5+8115' AND cadence='daily';

Database successfully updated.


Analysis Complete.


Sat Oct  3 20:06:39 PDT 2026

