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

 FCN=   6125.226     FROM HESSE     STATUS=OK           306 CALLS     1455 TOTAL
                     EDM=   .35E-06    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  Prefactor     .69944E-08    6.7776        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   2  Prefactor     .11066E-05    10.143        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   3  Prefactor      .0000        2.3502        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   4  Prefactor      .0000        4.1849        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   5  norm          .37748E-08    6.2068        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   6  Prefactor     .17075E-06    12.451        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   7  Prefactor     1.5910        76.263        .83311E-03   -1.5683    
   8  norm           .0000        .66718        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   9  Prefactor     .45558E-06    15.976        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  10  Prefactor     .35111E-06    9.3300        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  11  Prefactor     .85443        35.519        .15759E-01   -1.5689    
  12  norm          6.0402        3.2275        .40754E-03   -1.5659    
  13  Prefactor     .65559E-07    14.408        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  14  Prefactor     .96367E-07    12.133        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  15  Prefactor     47.483        42.741        .14940E-03   -1.5570    
  16  Prefactor     .87143        3.3622        .47922E-03   -1.5689    
  17  norm          .27325        .70165        .23573E-02   -1.5698    
  18  Normalizat    1.1650        .17415        .35797E-01   -.87693    
  19  Prefactor     1.0017        .19044        .45174E-01   -.92673    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 3.52812e-07
Minuit parameter uncertainties:
  1  0.000434873
  2  0.00670068
  3  1.18263e-05
  4  7.45628e-06
  5  0.000305982
  6  0.00291612
  7  22.0304
  8  5.51189e-06
  9  0.00539559
  10  0.00361984
  11  11.018
  12  3.22746
  13  0.00194415
  14  0.00216272
  15  42.7414
  16  3.36224
  17  0.701647
  18  0.17424
  19  0.190572
 **********
 **   18 **HESSE 
 **********

 FCN=   6125.226     FROM HESSE     STATUS=OK           306 CALLS     1455 TOTAL
                     EDM=   .35E-06    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  Prefactor     .69944E-08    6.7776        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   2  Prefactor     .11066E-05    10.143        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   3  Prefactor      .0000        2.3502        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   4  Prefactor      .0000        4.1849        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   5  norm          .37748E-08    6.2068        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   6  Prefactor     .17075E-06    12.451        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   7  Prefactor     1.5910        76.263        .83311E-03   -1.5683    
   8  norm           .0000        .66718        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   9  Prefactor     .45558E-06    15.976        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  10  Prefactor     .35111E-06    9.3300        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  11  Prefactor     .85443        35.519        .15759E-01   -1.5689    
  12  norm          6.0402        3.2275        .40754E-03   -1.5659    
  13  Prefactor     .65559E-07    14.408        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  14  Prefactor     .96367E-07    12.133        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  15  Prefactor     47.483        42.741        .14940E-03   -1.5570    
  16  Prefactor     .87143        3.3622        .47922E-03   -1.5689    
  17  norm          .27325        .70165        .23573E-02   -1.5698    
  18  Normalizat    1.1650        .17415        .35797E-01   -.87693    
  19  Prefactor     1.0017        .19044        .45174E-01   -.92673    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 3.52812e-07
Minuit parameter uncertainties:
  1  0.000434873
  2  0.00670068
  3  1.18263e-05
  4  7.45628e-06
  5  0.000305982
  6  0.00291612
  7  22.0304
  8  5.51189e-06
  9  0.00539559
  10  0.00361984
  11  11.018
  12  3.22746
  13  0.00194415
  14  0.00216272
  15  42.7414
  16  3.36224
  17  0.701647
  18  0.17424
  19  0.190572
/sdf/group/fermi/u/kocevski/software/conda/envs/fermitools_v1.0.5/lib/python2.7/site-packages/pyfits/__init__.py:22: PyFITSDeprecationWarning: PyFITS is deprecated, please use astropy.io.fits
  PyFITSDeprecationWarning)  # noqa

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

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

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

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

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

Extracting fit parameters...

4FGL J0158.5-3932
   Spectrum: PowerLaw
278    Prefactor:  1.708e-07  2.916e-03  0.000e+00  1.000e+06 ( 1.000e-13)
279        Index:  2.091e+00  0.000e+00  0.000e+00  1.000e+01 (-1.000e+00) fixed
280        Scale:  1.384e+03  0.000e+00  3.000e+01  5.000e+05 ( 1.000e+00) fixed

GAL_V02
   Spectrum: PowerLaw
548    Prefactor:  1.002e+00  1.906e-01  0.000e+00  1.000e+01 ( 1.000e+00)
549        Index:  0.000e+00  0.000e+00 -1.000e+00  1.000e+00 ( 1.000e+00) fixed
550        Scale:  1.000e+02  0.000e+00  5.000e+01  2.000e+02 ( 1.000e+00) fixed

EG_v02
   Spectrum: FileFunction
544   Normalization:  1.165e+00  1.742e-01  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Fixed Index): -0.00
Ra Dec: 29.646 -39.536
Photon Flux Upper Limit: 5.95931907441e-08 ph cm-2 s-1
Energy Flux Upper Limit: 0.00450253642272 MeV cm-2 s-1

Saving results to:
/lscratch/kocevski/40863053/likelihoodResults_813456001_813715201_4FGL_J0158.5-3932_daily_bin2215.txt

Performing a free index iterative likelihood fit...

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

Done.

Freeing candidate source...
Done.

Fit tolerance = 1

Performing likelihood fit...
Done.

MINUIT Return Code (Free Index): 0
logL (Free Index) = 6125.26649932
delta logL = -0.0403583146799

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

MINUIT Return Code (Free Index): 102
logL (Free Index) = 6125.22614483
delta logL = -3.82619509764e-06

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'Prefactor '    .18394E-04   1.0000          .0000       .10000E+07
     2 'Index     '    2.6257       1.0000          .0000       10.000    
     3 'Normalizat'    1.1654       1.0000         .10000E-01   10.000    
     4 'Prefactor '    1.0012       1.0000          .0000       10.000    
 **********
 **   15 **SET ERR    .5000    
 **********
 **********
 **   16 **SET GRAD    1.000    
 **********
 **********
 **   17 **MINIMIZE    .5510E+05   .2000E-04
 **********

 MIGRAD MINIMIZATION HAS CONVERGED.

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

 FCN=   6125.226     FROM MIGRAD    STATUS=CONVERGED     50 CALLS      210 TOTAL
                     EDM=   .28E-10  STRATEGY=1  ERROR MATRIX UNCERTAINTY=100.0%

  EXT PARAMETER                APPROXIMATE        STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor      .0000        5.5146        .42118E-03** at limit **
   2  Index         1.4089        .79709       -.75936E-05     .0000    
   3  Normalizat    1.1649        1.1194        .56951E-05    .11315E-03
   4  Prefactor     1.0017        1.3137       -.13546E-04    .15394E-03
                               ERR DEF=  .500    
Final values: 
  Prefactor  = 0
  Index      = 1.40885
  Normalizat = 1.16495
  Prefactor  = 1.00168
Done.

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

Extracting fit parameters...

4FGL J0158.5-3932
   Spectrum: PowerLaw
278    Prefactor:  1.708e-07  2.916e-03  0.000e+00  1.000e+06 ( 1.000e-13)
279        Index:  2.091e+00  0.000e+00  0.000e+00  1.000e+01 (-1.000e+00) fixed
280        Scale:  1.384e+03  0.000e+00  3.000e+01  5.000e+05 ( 1.000e+00) fixed

GAL_V02
   Spectrum: PowerLaw
548    Prefactor:  1.002e+00  1.906e-01  0.000e+00  1.000e+01 ( 1.000e+00)
549        Index:  0.000e+00  0.000e+00 -1.000e+00  1.000e+00 ( 1.000e+00) fixed
550        Scale:  1.000e+02  0.000e+00  5.000e+01  2.000e+02 ( 1.000e+00) fixed

EG_v02
   Spectrum: FileFunction
544   Normalization:  1.165e+00  1.742e-01  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Fixed Index): -0.00
Ra Dec: 29.646 -39.536
Photon Flux Upper Limit: 5.95931907441e-08 ph cm-2 s-1
Energy Flux Upper Limit: 0.00450253642272 MeV cm-2 s-1

Saving results to:
/lscratch/kocevski/40863054/likelihoodResults_813456001_813715201_4FGL_J0158.5-3932_daily_bin2215.txt

Performing a free index iterative likelihood fit...

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

Done.

Freeing candidate source...
Done.

Fit tolerance = 1

Performing likelihood fit...
Done.

MINUIT Return Code (Free Index): 0
logL (Free Index) = 6125.26649932
delta logL = -0.0403583146799

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

MINUIT Return Code (Free Index): 102
logL (Free Index) = 6125.22614483
delta logL = -3.82619509764e-06

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'Prefactor '    .18394E-04   1.0000          .0000       .10000E+07
     2 'Index     '    2.6257       1.0000          .0000       10.000    
     3 'Normalizat'    1.1654       1.0000         .10000E-01   10.000    
     4 'Prefactor '    1.0012       1.0000          .0000       10.000    
 **********
 **   15 **SET ERR    .5000    
 **********
 **********
 **   16 **SET GRAD    1.000    
 **********
 **********
 **   17 **MINIMIZE    .5510E+05   .2000E-04
 **********

 MIGRAD MINIMIZATION HAS CONVERGED.

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

 FCN=   6125.226     FROM MIGRAD    STATUS=CONVERGED     50 CALLS      210 TOTAL
                     EDM=   .28E-10  STRATEGY=1  ERROR MATRIX UNCERTAINTY=100.0%

  EXT PARAMETER                APPROXIMATE        STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor      .0000        5.5146        .42118E-03** at limit **
   2  Index         1.4089        .79709       -.75936E-05     .0000    
   3  Normalizat    1.1649        1.1194        .56951E-05    .11315E-03
   4  Prefactor     1.0017        1.3137       -.13546E-04    .15394E-03
                               ERR DEF=  .500    
Final values: 
  Prefactor  = 0
  Index      = 1.40885
  Normalizat = 1.16495
  Prefactor  = 1.00168
 **********
 **   18 **HESSE 
 **********
  MNHESS FAILS AND WILL RETURN DIAGONAL MATRIX. 

 FCN=   6125.226     FROM HESSE     STATUS=FAILED         9 CALLS      219 TOTAL
                     EDM=   .28E-10  STRATEGY=1  ERROR MATRIX UNCERTAINTY=100.0%

  EXT PARAMETER                APPROXIMATE     INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  Prefactor      .0000        5.5146        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   2  Index         .16746        1.3369       -.75936E-05   -.80125    
   3  Normalizat    1.1649        1.1194        .56951E-05   -.87693    
   4  Prefactor     1.0017        1.3137       -.13546E-04   -.92673    
                               ERR DEF=  .500    
Minuit fit quality: 1   estimated distance: 2.81919e-11
Minuit parameter uncertainties:
  1  8.83567e-06

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

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

 FCN=   6125.226     FROM HESSE     STATUS=FAILED         9 CALLS      219 TOTAL
                     EDM=   .28E-10  STRATEGY=1  ERROR MATRIX UNCERTAINTY=100.0%

  EXT PARAMETER                APPROXIMATE     INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  Prefactor      .0000        5.5146        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   2  Index         .16746        1.3369       -.75936E-05   -.80125    
   3  Normalizat    1.1649        1.1194        .56951E-05   -.87693    
   4  Prefactor     1.0017        1.3137       -.13546E-04   -.92673    
                               ERR DEF=  .500    
Minuit fit quality: 1   estimated distance: 2.81919e-11
Minuit parameter uncertainties:
  1  8.83567e-06
  2  0.804233
  3  1.14364
  4  1.35969
Done.

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

Extracting fit parameters...

4FGL J0158.5-3932
   Spectrum: PowerLaw
278    Prefactor:  1.708e-07  2.916e-03  0.000e+00  1.000e+06 ( 1.000e-13)
279        Index:  2.091e+00  0.000e+00  0.000e+00  1.000e+01 (-1.000e+00) fixed
280        Scale:  1.384e+03  0.000e+00  3.000e+01  5.000e+05 ( 1.000e+00) fixed

GAL_V02
   Spectrum: PowerLaw
548    Prefactor:  1.002e+00  1.906e-01  0.000e+00  1.000e+01 ( 1.000e+00)
549        Index:  0.000e+00  0.000e+00 -1.000e+00  1.000e+00 ( 1.000e+00) fixed
550        Scale:  1.000e+02  0.000e+00  5.000e+01  2.000e+02 ( 1.000e+00) fixed

EG_v02
   Spectrum: FileFunction
544   Normalization:  1.165e+00  1.742e-01  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Fixed Index): -0.00
Ra Dec: 29.646 -39.536
Photon Flux Upper Limit: 5.95931907441e-08 ph cm-2 s-1
Energy Flux Upper Limit: 0.00450253642272 MeV cm-2 s-1

Saving results to:
/lscratch/kocevski/40863051/likelihoodResults_813456001_813715201_4FGL_J0158.5-3932_daily_bin2215.txt

Performing a free index iterative likelihood fit...

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

Done.

Freeing candidate source...
Done.

Fit tolerance = 1

Performing likelihood fit...
Done.

MINUIT Return Code (Free Index): 0
logL (Free Index) = 6125.26649932
delta logL = -0.0403583146799

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

MINUIT Return Code (Free Index): 102
logL (Free Index) = 6125.22614483
delta logL = -3.82619509764e-06

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'Prefactor '    .18394E-04   1.0000          .0000       .10000E+07
     2 'Index     '    2.6257       1.0000          .0000       10.000    
     3 'Normalizat'    1.1654       1.0000         .10000E-01   10.000    
     4 'Prefactor '    1.0012       1.0000          .0000       10.000    
 **********
 **   15 **SET ERR    .5000    
 **********
 **********
 **   16 **SET GRAD    1.000    
 **********
 **********
 **   17 **MINIMIZE    .5510E+05   .2000E-04
 **********

 MIGRAD MINIMIZATION HAS CONVERGED.

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

 FCN=   6125.226     FROM MIGRAD    STATUS=CONVERGED     50 CALLS      210 TOTAL
                     EDM=   .28E-10  STRATEGY=1  ERROR MATRIX UNCERTAINTY=100.0%

  EXT PARAMETER                APPROXIMATE        STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor      .0000        5.5146        .42118E-03** at limit **
   2  Index         1.4089        .79709       -.75936E-05     .0000    
   3  Normalizat    1.1649        1.1194        .56951E-05    .11315E-03
   4  Prefactor     1.0017        1.3137       -.13546E-04    .15394E-03
                               ERR DEF=  .500    
Final values: 
  Prefactor  = 0
  Index      = 1.40885
  Normalizat = 1.16495
  Prefactor  = 1.00168
 **********
 **   18 **HESSE 
 **********
  MNHESS FAILS AND WILL RETURN DIAGONAL MATRIX. 

 FCN=   6125.226     FROM HESSE     STATUS=FAILED         9 CALLS      219 TOTAL
                     EDM=   .28E-10  STRATEGY=1  ERROR MATRIX UNCERTAINTY=100.0%

  EXT PARAMETER                APPROXIMATE     INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  Prefactor      .0000        5.5146        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   2  Index         .16746        1.3369       -.75936E-05   -.80125    
   3  Normalizat    1.1649        1.1194        .56951E-05   -.87693    
   4  Prefactor     1.0017        1.3137       -.13546E-04   -.92673    
                               ERR DEF=  .500    
Minuit fit quality: 1   estimated distance: 2.81919e-11
Minuit parameter uncertainties:
  1  8.83567e-06
  2  0.804233
  3  1.14364
  4  1.35969
Done.

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

Extracting fit parameters...

4FGL J0158.5-3932
   Spectrum: PowerLaw
278    Prefactor:  1.708e-07  2.916e-03  0.000e+00  1.000e+06 ( 1.000e-13)
279        Index:  2.091e+00  0.000e+00  0.000e+00  1.000e+01 (-1.000e+00) fixed
280        Scale:  1.384e+03  0.000e+00  3.000e+01  5.000e+05 ( 1.000e+00) fixed

GAL_V02
   Spectrum: PowerLaw
548    Prefactor:  1.002e+00  1.906e-01  0.000e+00  1.000e+01 ( 1.000e+00)
549        Index:  0.000e+00  0.000e+00 -1.000e+00  1.000e+00 ( 1.000e+00) fixed
550        Scale:  1.000e+02  0.000e+00  5.000e+01  2.000e+02 ( 1.000e+00) fixed

EG_v02
   Spectrum: FileFunction
544   Normalization:  1.165e+00  1.742e-01  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Fixed Index): -0.00
Ra Dec: 29.646 -39.536
Photon Flux Upper Limit: 5.95931907441e-08 ph cm-2 s-1
Energy Flux Upper Limit: 0.00450253642272 MeV cm-2 s-1

Saving results to:
/lscratch/kocevski/40863024/likelihoodResults_813456001_813715201_4FGL_J0158.5-3932_daily_bin2215.txt

Performing a free index iterative likelihood fit...

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

Done.

Freeing candidate source...
Done.

Fit tolerance = 1

Performing likelihood fit...
Done.

MINUIT Return Code (Free Index): 0
logL (Free Index) = 6125.26649932
delta logL = -0.0403583146799

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

MINUIT Return Code (Free Index): 102
logL (Free Index) = 6125.22614483
delta logL = -3.82619509764e-06

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'Prefactor '    .18394E-04   1.0000          .0000       .10000E+07
     2 'Index     '    2.6257       1.0000          .0000       10.000    
     3 'Normalizat'    1.1654       1.0000         .10000E-01   10.000    
     4 'Prefactor '    1.0012       1.0000          .0000       10.000    
 **********
 **   15 **SET ERR    .5000    
 **********
 **********
 **   16 **SET GRAD    1.000    
 **********
 **********
 **   17 **MINIMIZE    .5510E+05   .2000E-04
 **********

 MIGRAD MINIMIZATION HAS CONVERGED.

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

 FCN=   6125.226     FROM MIGRAD    STATUS=CONVERGED     50 CALLS      210 TOTAL
                     EDM=   .28E-10  STRATEGY=1  ERROR MATRIX UNCERTAINTY=100.0%

  EXT PARAMETER                APPROXIMATE        STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor      .0000        5.5146        .42118E-03** at limit **
   2  Index         1.4089        .79709       -.75936E-05     .0000    
   3  Normalizat    1.1649        1.1194        .56951E-05    .11315E-03
   4  Prefactor     1.0017        1.3137       -.13546E-04    .15394E-03
                               ERR DEF=  .500    
Final values: 
  Prefactor  = 0
  Index      = 1.40885
  Normalizat = 1.16495
  Prefactor  = 1.00168
 **********
 **   18 **HESSE 
 **********
  MNHESS FAILS AND WILL RETURN DIAGONAL MATRIX. 

 FCN=   6125.226     FROM HESSE     STATUS=FAILED         9 CALLS      219 TOTAL
                     EDM=   .28E-10  STRATEGY=1  ERROR MATRIX UNCERTAINTY=100.0%

  EXT PARAMETER                APPROXIMATE     INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  Prefactor      .0000        5.5146        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   2  Index         .16746        1.3369       -.75936E-05   -.80125    
   3  Normalizat    1.1649        1.1194        .56951E-05   -.87693    
   4  Prefactor     1.0017        1.3137       -.13546E-04   -.92673    
                               ERR DEF=  .500    
Minuit fit quality: 1   estimated distance: 2.81919e-11
Minuit parameter uncertainties:
  1  8.83567e-06
  2  0.804233
  3  1.14364
  4  1.35969
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) = 6125.226141
delta logL = 6.84940459905e-09

Extracting fit parameters...

4FGL J0158.5-3932
   Spectrum: PowerLaw
278    Prefactor:  0.000e+00  8.836e-06  0.000e+00  1.000e+06 ( 1.000e-13)
279        Index:  1.409e+00  8.042e-01  0.000e+00  1.000e+01 (-1.000e+00)
280        Scale:  1.384e+03  0.000e+00  3.000e+01  5.000e+05 ( 1.000e+00) fixed

GAL_V02
   Spectrum: PowerLaw
548    Prefactor:  1.002e+00  1.360e+00  0.000e+00  1.000e+01 ( 1.000e+00)
549        Index:  0.000e+00  0.000e+00 -1.000e+00  1.000e+00 ( 1.000e+00) fixed
550        Scale:  1.000e+02  0.000e+00  5.000e+01  2.000e+02 ( 1.000e+00) fixed

EG_v02
   Spectrum: FileFunction
544   Normalization:  1.165e+00  1.144e+00  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Free Index): -0.00
Ra Dec: 29.646 -39.536

Creating a high resolution counts map...
INFO: Auto-setting vmin to  0.000e+00 [aplpy.core]
INFO: Auto-setting vmax to  0.000e+00 [aplpy.core]
Saving /lscratch/kocevski/40863054/cmap_HighResolution_813456001_813715201_4FGL_J0158.5-3932_daily_bin2215.png

Cleaning up...

** Nuclear option initiated! **

Updating database...

UPDATE lightcurve_data_v2 SET energy_flux_upper_limit='4.50e-03', job_status='DONE', photon_flux_upper_limit='5.96e-08', time_completed='2026-10-15 01:32:57.576203', job_id='40863054', GAL2='1.00', fit_tolerance='1e-08', EG2='1.16', EG='1.16', time_epoch_completed='1792053177.58', return_code2='101', ts='-0.00', comment='SUCCESS', return_code='0', GAL='1.00', dlogl='6.85e-09', ts2='0.00', photon_index_error='0.00', photon_index='2.09' WHERE bin_id='2215' AND source_name='4FGL J0158.5-3932' AND cadence='daily';

Database successfully updated.


Analysis Complete.


Thu Oct 15 01:32:57 PDT 2026

Done.

MINUIT Return Code (Free Index): 101
logL (Free Index) = 6125.226141
delta logL = 6.84940459905e-09

Extracting fit parameters...

4FGL J0158.5-3932
   Spectrum: PowerLaw
278    Prefactor:  0.000e+00  8.836e-06  0.000e+00  1.000e+06 ( 1.000e-13)
279        Index:  1.409e+00  8.042e-01  0.000e+00  1.000e+01 (-1.000e+00)
280        Scale:  1.384e+03  0.000e+00  3.000e+01  5.000e+05 ( 1.000e+00) fixed

GAL_V02
   Spectrum: PowerLaw
548    Prefactor:  1.002e+00  1.360e+00  0.000e+00  1.000e+01 ( 1.000e+00)
549        Index:  0.000e+00  0.000e+00 -1.000e+00  1.000e+00 ( 1.000e+00) fixed
550        Scale:  1.000e+02  0.000e+00  5.000e+01  2.000e+02 ( 1.000e+00) fixed

EG_v02
   Spectrum: FileFunction
544   Normalization:  1.165e+00  1.144e+00  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Free Index): -0.00
Ra Dec: 29.646 -39.536

Creating a high resolution counts map...
INFO: Auto-setting vmin to  0.000e+00 [aplpy.core]
INFO: Auto-setting vmax to  0.000e+00 [aplpy.core]
Saving /lscratch/kocevski/40863053/cmap_HighResolution_813456001_813715201_4FGL_J0158.5-3932_daily_bin2215.png

Cleaning up...

** Nuclear option initiated! **

Updating database...

UPDATE lightcurve_data_v2 SET energy_flux_upper_limit='4.50e-03', job_status='DONE', photon_flux_upper_limit='5.96e-08', time_completed='2026-10-15 01:32:57.577745', job_id='40863053', GAL2='1.00', fit_tolerance='1e-08', EG2='1.16', EG='1.16', time_epoch_completed='1792053177.58', return_code2='101', ts='-0.00', comment='SUCCESS', return_code='0', GAL='1.00', dlogl='6.85e-09', ts2='0.00', photon_index_error='0.00', photon_index='2.09' WHERE bin_id='2215' AND source_name='4FGL J0158.5-3932' AND cadence='daily';

Database successfully updated.


Analysis Complete.


Thu Oct 15 01:32:57 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) = 6125.226141
delta logL = 6.84940459905e-09

Extracting fit parameters...

4FGL J0158.5-3932
   Spectrum: PowerLaw
278    Prefactor:  0.000e+00  8.836e-06  0.000e+00  1.000e+06 ( 1.000e-13)
279        Index:  1.409e+00  8.042e-01  0.000e+00  1.000e+01 (-1.000e+00)
280        Scale:  1.384e+03  0.000e+00  3.000e+01  5.000e+05 ( 1.000e+00) fixed

GAL_V02
   Spectrum: PowerLaw
548    Prefactor:  1.002e+00  1.360e+00  0.000e+00  1.000e+01 ( 1.000e+00)
549        Index:  0.000e+00  0.000e+00 -1.000e+00  1.000e+00 ( 1.000e+00) fixed
550        Scale:  1.000e+02  0.000e+00  5.000e+01  2.000e+02 ( 1.000e+00) fixed

EG_v02
   Spectrum: FileFunction
544   Normalization:  1.165e+00  1.144e+00  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Free Index): -0.00
Ra Dec: 29.646 -39.536

Creating a high resolution counts map...
INFO: Auto-setting vmin to  0.000e+00 [aplpy.core]
INFO: Auto-setting vmax to  0.000e+00 [aplpy.core]
Saving /lscratch/kocevski/40863051/cmap_HighResolution_813456001_813715201_4FGL_J0158.5-3932_daily_bin2215.png

Cleaning up...

** Nuclear option initiated! **

Updating database...

UPDATE lightcurve_data_v2 SET energy_flux_upper_limit='4.50e-03', job_status='DONE', photon_flux_upper_limit='5.96e-08', time_completed='2026-10-15 01:32:58.433670', job_id='40863051', GAL2='1.00', fit_tolerance='1e-08', EG2='1.16', EG='1.16', time_epoch_completed='1792053178.43', return_code2='101', ts='-0.00', comment='SUCCESS', return_code='0', GAL='1.00', dlogl='6.85e-09', ts2='0.00', photon_index_error='0.00', photon_index='2.09' WHERE bin_id='2215' AND source_name='4FGL J0158.5-3932' AND cadence='daily';

Database successfully updated.


Analysis Complete.


Thu Oct 15 01:32:58 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) = 6125.226141
delta logL = 6.84940459905e-09

Extracting fit parameters...

4FGL J0158.5-3932
   Spectrum: PowerLaw
278    Prefactor:  0.000e+00  8.836e-06  0.000e+00  1.000e+06 ( 1.000e-13)
279        Index:  1.409e+00  8.042e-01  0.000e+00  1.000e+01 (-1.000e+00)
280        Scale:  1.384e+03  0.000e+00  3.000e+01  5.000e+05 ( 1.000e+00) fixed

GAL_V02
   Spectrum: PowerLaw
548    Prefactor:  1.002e+00  1.360e+00  0.000e+00  1.000e+01 ( 1.000e+00)
549        Index:  0.000e+00  0.000e+00 -1.000e+00  1.000e+00 ( 1.000e+00) fixed
550        Scale:  1.000e+02  0.000e+00  5.000e+01  2.000e+02 ( 1.000e+00) fixed

EG_v02
   Spectrum: FileFunction
544   Normalization:  1.165e+00  1.144e+00  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Free Index): -0.00
Ra Dec: 29.646 -39.536

Creating a high resolution counts map...
INFO: Auto-setting vmin to  0.000e+00 [aplpy.core]
INFO: Auto-setting vmax to  0.000e+00 [aplpy.core]
Saving /lscratch/kocevski/40863024/cmap_HighResolution_813456001_813715201_4FGL_J0158.5-3932_daily_bin2215.png

Cleaning up...

** Nuclear option initiated! **

Updating database...

UPDATE lightcurve_data_v2 SET energy_flux_upper_limit='4.50e-03', job_status='DONE', photon_flux_upper_limit='5.96e-08', time_completed='2026-10-15 01:32:59.014991', job_id='40863024', GAL2='1.00', fit_tolerance='1e-08', EG2='1.16', EG='1.16', time_epoch_completed='1792053179.02', return_code2='101', ts='-0.00', comment='SUCCESS', return_code='0', GAL='1.00', dlogl='6.85e-09', ts2='0.00', photon_index_error='0.00', photon_index='2.09' WHERE bin_id='2215' AND source_name='4FGL J0158.5-3932' AND cadence='daily';

Database successfully updated.


Analysis Complete.


Thu Oct 15 01:32:59 PDT 2026

file=/lscratch/kocevski/40863133/ltcube_813456001_813715201_4FGL_J0158.5-3932_daily_bin2215.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/40863133/ft2_4FGL_J0158.5-3932_daily_bin2215.fits
.....................!
real 9.24
user 8.76
sys 0.22

Generating the exposure map:
time -p gtexpmap evfile=/lscratch/kocevski/40863133/ft1_filtered_4FGL_J0158.5-3932_daily_bin2215.fits evtable="EVENTS" scfile=/lscratch/kocevski/40863133/ft2_4FGL_J0158.5-3932_daily_bin2215.fits sctable="SC_DATA" expcube=/lscratch/kocevski/40863133/ltcube_813456001_813715201_4FGL_J0158.5-3932_daily_bin2215.fits outfile=/lscratch/kocevski/40863133/expmap_813456001_813715201_4FGL_J0158.5-3932_daily_bin2215.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/40863133/ltcube_813456001_813715201_4FGL_J0158.5-3932_daily_bin2215.fits
.....................!
real 71.93
user 67.08
sys 4.10

Generating the xml model:
radLim = 0.001
maxRad = 12
normsOnly = True
freeVariableSources = True
Fixing all sources to their catalog values, except variable sources
Creating file and adding sources from 4FGL
Extended source Fornax A in ROI, make sure /sdf/group/fermi/g/LCRepository/Likelihood/ExtendedSources/Extended_8years/Templates/FornaxA.fits is the correct path to the extended template.
Added 174 point sources and 1 extended sources
If using unbinned likelihood you will need to rerun gtdiffrsp for the extended sources or rerun the makeModel function with optional argument psForce=True

Setting source of interest to:
4FGL J0158.5-3932 @ 29.646 -39.5358

Creating the counts map:
time -p gtbin evfile=/lscratch/kocevski/40863133/ft1_filtered_4FGL_J0158.5-3932_daily_bin2215.fits scfile=/lscratch/kocevski/40863133/ft2_4FGL_J0158.5-3932_daily_bin2215.fits outfile=/lscratch/kocevski/40863133/cmap_813456001_813715201_4FGL_J0158.5-3932_daily_bin2215.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=29.646 yref=-39.5358 axisrot=0.0 rafield="RA" decfield="DEC" proj="AIT" hpx_ordering_scheme="RING" hpx_order=3 hpx_ebin=yes hpx_region="" evtable="EVENTS" sctable="SC_DATA" efield="ENERGY" tfield="TIME" chatter=2 clobber=yes debug=no gui=no mode="ql"

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

This is gtbin version HEAD
real 0.52
user 0.22
sys 0.13

Creating the high resolution counts map:
time -p gtbin evfile=/lscratch/kocevski/40863133/ft1_filtered_4FGL_J0158.5-3932_daily_bin2215.fits scfile=/lscratch/kocevski/40863133/ft2_4FGL_J0158.5-3932_daily_bin2215.fits outfile=/lscratch/kocevski/40863133/cmap_HighResolution_813456001_813715201_4FGL_J0158.5-3932_daily_bin2215.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=29.646 yref=-39.5358 axisrot=0.0 rafield="RA" decfield="DEC" proj="AIT" hpx_ordering_scheme="RING" hpx_order=3 hpx_ebin=yes hpx_region="" evtable="EVENTS" sctable="SC_DATA" efield="ENERGY" tfield="TIME" chatter=2 clobber=yes debug=no gui=no mode="ql"

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

This is gtbin version HEAD
real 0.55
user 0.23
sys 0.13

Computing the diffuse response:
time -p gtdiffrsp evfile=/lscratch/kocevski/40863133/ft1_filtered_4FGL_J0158.5-3932_daily_bin2215.fits evtable="EVENTS" scfile=/lscratch/kocevski/40863133/ft2_4FGL_J0158.5-3932_daily_bin2215.fits sctDone.

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

Extracting fit parameters...

4FGL J0158.5-3932
   Spectrum: PowerLaw
278    Prefactor:  1.708e-07  2.916e-03  0.000e+00  1.000e+06 ( 1.000e-13)
279        Index:  2.091e+00  0.000e+00  0.000e+00  1.000e+01 (-1.000e+00) fixed
280        Scale:  1.384e+03  0.000e+00  3.000e+01  5.000e+05 ( 1.000e+00) fixed

GAL_V02
   Spectrum: PowerLaw
548    Prefactor:  1.002e+00  1.906e-01  0.000e+00  1.000e+01 ( 1.000e+00)
549        Index:  0.000e+00  0.000e+00 -1.000e+00  1.000e+00 ( 1.000e+00) fixed
550        Scale:  1.000e+02  0.000e+00  5.000e+01  2.000e+02 ( 1.000e+00) fixed

EG_v02
   Spectrum: FileFunction
544   Normalization:  1.165e+00  1.742e-01  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Fixed Index): -0.00
Ra Dec: 29.646 -39.536
Photon Flux Upper Limit: 5.95931907441e-08 ph cm-2 s-1
Energy Flux Upper Limit: 0.00450253642272 MeV cm-2 s-1

Saving results to:
/lscratch/kocevski/40863026/likelihoodResults_813456001_813715201_4FGL_J0158.5-3932_daily_bin2215.txt

Performing a free index iterative likelihood fit...

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

Done.

Freeing candidate source...
Done.

Fit tolerance = 1

Performing likelihood fit...
Done.

MINUIT Return Code (Free Index): 0
logL (Free Index) = 6125.26649932
delta logL = -0.0403583146799

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

MINUIT Return Code (Free Index): 102
logL (Free Index) = 6125.22614483
delta logL = -3.82619509764e-06

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'Prefactor '    .18394E-04   1.0000          .0000       .10000E+07
     2 'Index     '    2.6257       1.0000          .0000       10.000    
     3 'Normalizat'    1.1654       1.0000         .10000E-01   10.000    
     4 'Prefactor '    1.0012       1.0000          .0000       10.000    
 **********
 **   15 **SET ERR    .5000    
 **********
 **********
 **   16 **SET GRAD    1.000    
 **********
 **********
 **   17 **MINIMIZE    .5510E+05   .2000E-04
 **********

 MIGRAD MINIMIZATION HAS CONVERGED.

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

 FCN=   6125.226     FROM MIGRAD    STATUS=CONVERGED     50 CALLS      210 TOTAL
                     EDM=   .28E-10  STRATEGY=1  ERROR MATRIX UNCERTAINTY=100.0%

  EXT PARAMETER                APPROXIMATE        STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor      .0000        5.5146        .42118E-03** at limit **
   2  Index         1.4089        .79709       -.75936E-05     .0000    
   3  Normalizat    1.1649        1.1194        .56951E-05    .11315E-03
   4  Prefactor     1.0017        1.3137       -.13546E-04    .15394E-03
                               ERR DEF=  .500    
Final values: 
  Prefactor  = 0
  Index      = 1.40885
  Normalizat = 1.16495
  Prefactor  = 1.00168
 **********
 **   18 **HESSE 
 **********
  MNHESS FAILS AND WILL RETURN DIAGONAL MATRIX. 

 FCN=   6125.226     FROM HESSE     STATUS=FAILED         9 CALLS      219 TOTAL
                     EDM=   .28E-10  STRATEGY=1  ERROR MATRIX UNCERTAINTY=100.0%

  EXT PARAMETER                APPROXIMATE     INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  Prefactor      .0000        5.5146        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   2  Index         .16746        1.3369       -.75936E-05   -.80125    
   3  Normalizat    1.1649        1.1194        .56951E-05   -.87693    
   4  Prefactor     1.0017        1.3137       -.13546E-04   -.92673    
                               ERR DEF=  .500    
Minuit fit quality: 1   estimated distance: 2.81919e-11
Minuit parameter uncertainties:
  1  8.83567e-06
  2  0.804233
  3  1.14364
  4  1.35969
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) = 6125.226141
delta logL = 6.84940459905e-09

Extracting fit parameters...

4FGL J0158.5-3932
   Spectrum: PowerLaw
278    Prefactor:  0.000e+00  8.836e-06  0.000e+00  1.000e+06 ( 1.000e-13)
279        Index:  1.409e+00  8.042e-01  0.000e+00  1.000e+01 (-1.000e+00)
280        Scale:  1.384e+03  0.000e+00  3.000e+01  5.000e+05 ( 1.000e+00) fixed

GAL_V02
   Spectrum: PowerLaw
548    Prefactor:  1.002e+00  1.360e+00  0.000e+00  1.000e+01 ( 1.000e+00)
549        Index:  0.000e+00  0.000e+00 -1.000e+00  1.000e+00 ( 1.000e+00) fixed
550        Scale:  1.000e+02  0.000e+00  5.000e+01  2.000e+02 ( 1.000e+00) fixed

EG_v02
   Spectrum: FileFunction
544   Normalization:  1.165e+00  1.144e+00  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Free Index): -0.00
Ra Dec: 29.646 -39.536

Creating a high resolution counts map...
INFO: Auto-setting vmin to  0.000e+00 [aplpy.core]
INFO: Auto-setting vmax to  0.000e+00 [aplpy.core]
Saving /lscratch/kocevski/40863026/cmap_HighResolution_813456001_813715201_4FGL_J0158.5-3932_daily_bin2215.png

Cleaning up...

** Nuclear option initiated! **

Updating database...

UPDATE lightcurve_data_v2 SET energy_flux_upper_limit='4.50e-03', job_status='DONE', photon_flux_upper_limit='5.96e-08', time_completed='2026-10-15 01:33:07.782573', job_id='40863026', GAL2='1.00', fit_tolerance='1e-08', EG2='1.16', EG='1.16', time_epoch_completed='1792053187.78', return_code2='101', ts='-0.00', comment='SUCCESS', return_code='0', GAL='1.00', dlogl='6.85e-09', ts2='0.00', photon_index_error='0.00', photon_index='2.09' WHERE bin_id='2215' AND source_name='4FGL J0158.5-3932' AND cadence='daily';

Database successfully updated.


Analysis Complete.


Thu Oct 15 01:33:07 PDT 2026

Done.

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

Extracting fit parameters...

4FGL J0158.5-3932
   Spectrum: PowerLaw
278    Prefactor:  1.708e-07  2.916e-03  0.000e+00  1.000e+06 ( 1.000e-13)
279        Index:  2.091e+00  0.000e+00  0.000e+00  1.000e+01 (-1.000e+00) fixed
280        Scale:  1.384e+03  0.000e+00  3.000e+01  5.000e+05 ( 1.000e+00) fixed

GAL_V02
   Spectrum: PowerLaw
548    Prefactor:  1.002e+00  1.906e-01  0.000e+00  1.000e+01 ( 1.000e+00)
549        Index:  0.000e+00  0.000e+00 -1.000e+00  1.000e+00 ( 1.000e+00) fixed
550        Scale:  1.000e+02  0.000e+00  5.000e+01  2.000e+02 ( 1.000e+00) fixed

EG_v02
   Spectrum: FileFunction
544   Normalization:  1.165e+00  1.742e-01  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Fixed Index): -0.00
Ra Dec: 29.646 -39.536
Photon Flux Upper Limit: 5.95931907441e-08 ph cm-2 s-1
Energy Flux Upper Limit: 0.00450253642272 MeV cm-2 s-1

Saving results to:
/lscratch/kocevski/40863027/likelihoodResults_813456001_813715201_4FGL_J0158.5-3932_daily_bin2215.txt

Performing a free index iterative likelihood fit...

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

Done.

Freeing candidate source...
Done.

Fit tolerance = 1

Performing likelihood fit...
Done.

MINUIT Return Code (Free Index): 0
logL (Free Index) = 6125.26649932
delta logL = -0.0403583146799

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

MINUIT Return Code (Free Index): 102
logL (Free Index) = 6125.22614483
delta logL = -3.82619509764e-06

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'Prefactor '    .18394E-04   1.0000          .0000       .10000E+07
     2 'Index     '    2.6257       1.0000          .0000       10.000    
     3 'Normalizat'    1.1654       1.0000         .10000E-01   10.000    
     4 'Prefactor '    1.0012       1.0000          .0000       10.000    
 **********
 **   15 **SET ERR    .5000    
 **********
 **********
 **   16 **SET GRAD    1.000    
 **********
 **********
 **   17 **MINIMIZE    .5510E+05   .2000E-04
 **********

 MIGRAD MINIMIZATION HAS CONVERGED.

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

 FCN=   6125.226     FROM MIGRAD    STATUS=CONVERGED     50 CALLS      210 TOTAL
                     EDM=   .28E-10  STRATEGY=1  ERROR MATRIX UNCERTAINTY=100.0%

  EXT PARAMETER                APPROXIMATE        STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor      .0000        5.5146        .42118E-03** at limit **
   2  Index         1.4089        .79709       -.75936E-05     .0000    
   3  Normalizat    1.1649        1.1194        .56951E-05    .11315E-03
   4  Prefactor     1.0017        1.3137       -.13546E-04    .15394E-03
                               ERR DEF=  .500    
Final values: 
  Prefactor  = 0
  Index      = 1.40885
  Normalizat = 1.16495
  Prefactor  = 1.00168
 **********
 **   18 **HESSE 
 **********
  MNHESS FAILS AND WILL RETURN DIAGONAL MATRIX. 

 FCN=   6125.226     FROM HESSE     STATUS=FAILED         9 CALLS      219 TOTAL
                     EDM=   .28E-10  STRATEGY=1  ERROR MATRIX UNCERTAINTY=100.0%

  EXT PARAMETER                APPROXIMATE     INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  Prefactor      .0000        5.5146        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   2  Index         .16746        1.3369       -.75936E-05   -.80125    
   3  Normalizat    1.1649        1.1194        .56951E-05   -.87693    
   4  Prefactor     1.0017        1.3137       -.13546E-04   -.92673    
                               ERR DEF=  .500    
Minuit fit quality: 1   estimated distance: 2.81919e-11
Minuit parameter uncertainties:
  1  8.83567e-06
  2  0.804233
  3  1.14364
  4  1.35969
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) = 6125.226141
delta logL = 6.84940459905e-09

Extracting fit parameters...

4FGL J0158.5-3932
   Spectrum: PowerLaw
278    Prefactor:  0.000e+00  8.836e-06  0.000e+00  1.000e+06 ( 1.000e-13)
279        Index:  1.409e+00  8.042e-01  0.000e+00  1.000e+01 (-1.000e+00)
280        Scale:  1.384e+03  0.000e+00  3.000e+01  5.000e+05 ( 1.000e+00) fixed

GAL_V02
   Spectrum: PowerLaw
548    Prefactor:  1.002e+00  1.360e+00  0.000e+00  1.000e+01 ( 1.000e+00)
549        Index:  0.000e+00  0.000e+00 -1.000e+00  1.000e+00 ( 1.000e+00) fixed
550        Scale:  1.000e+02  0.000e+00  5.000e+01  2.000e+02 ( 1.000e+00) fixed

EG_v02
   Spectrum: FileFunction
544   Normalization:  1.165e+00  1.144e+00  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Free Index): -0.00
Ra Dec: 29.646 -39.536

Creating a high resolution counts map...
INFO: Auto-setting vmin to  0.000e+00 [aplpy.core]
INFO: Auto-setting vmax to  0.000e+00 [aplpy.core]
Saving /lscratch/kocevski/40863027/cmap_HighResolution_813456001_813715201_4FGL_J0158.5-3932_daily_bin2215.png

Cleaning up...

** Nuclear option initiated! **

Updating database...

UPDATE lightcurve_data_v2 SET energy_flux_upper_limit='4.50e-03', job_status='DONE', photon_flux_upper_limit='5.96e-08', time_completed='2026-10-15 01:33:10.460220', job_id='40863027', GAL2='1.00', fit_tolerance='1e-08', EG2='1.16', EG='1.16', time_epoch_completed='1792053190.46', return_code2='101', ts='-0.00', comment='SUCCESS', return_code='0', GAL='1.00', dlogl='6.85e-09', ts2='0.00', photon_index_error='0.00', photon_index='2.09' WHERE bin_id='2215' AND source_name='4FGL J0158.5-3932' AND cadence='daily';

Database successfully updated.


Analysis Complete.


Thu Oct 15 01:33:10 PDT 2026

table="SC_DATA" srcmdl=/lscratch/kocevski/40863079/Model_4FGL_J0158.5-3932_daily_bin2215.xml irfs="P8R3_SOURCE_V2" evclsmin=0 evclass="INDEF" evtype="INDEF" convert=yes chatter=2 clobber=yes debug=no gui=no mode="ql"

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

adding source EG_v02
adding source Fornax A
adding source GAL_V02
Working on...
/lscratch/kocevski/40863079/ft1_filtered_4FGL_J0158.5-3932_daily_bin2215.fits.....................!
real 40.93
user 39.21
sys 1.28

Creating the likelihood object...
obs = UnbinnedObs('/lscratch/kocevski/40863079/ft1_filtered_4FGL_J0158.5-3932_daily_bin2215.fits', '/lscratch/kocevski/40863079/ft2_4FGL_J0158.5-3932_daily_bin2215.fits', expMap='/lscratch/kocevski/40863079/expmap_813456001_813715201_4FGL_J0158.5-3932_daily_bin2215.fits', expCube='/lscratch/kocevski/40863079/ltcube_813456001_813715201_4FGL_J0158.5-3932_daily_bin2215.fits', irfs='P8R3_SOURCE_V2')
like = UnbinnedAnalysis(obs, '/lscratch/kocevski/40863079/Model_4FGL_J0158.5-3932_daily_bin2215.xml', optimizer='MINUIT')

Using source of interest name: '4FGL J0158.5-3932'

4FGL J0158.5-3932
   Spectrum: PowerLaw
278    Prefactor:  4.060e+00  0.000e+00  0.000e+00  1.000e+06 ( 1.000e-13)
279        Index:  2.091e+00  0.000e+00  0.000e+00  1.000e+01 (-1.000e+00) fixed
280        Scale:  1.384e+03  0.000e+00  3.000e+01  5.000e+05 ( 1.000e+00) fixed


Likelihood Fit Parameters:
Event file(s): /lscratch/kocevski/40863079/ft1_filtered_4FGL_J0158.5-3932_daily_bin2215.fits
Spacecraft file(s): /lscratch/kocevski/40863079/ft2_4FGL_J0158.5-3932_daily_bin2215.fits
Exposure map: /lscratch/kocevski/40863079/expmap_813456001_813715201_4FGL_J0158.5-3932_daily_bin2215.fits
Exposure cube: /lscratch/kocevski/40863079/ltcube_813456001_813715201_4FGL_J0158.5-3932_daily_bin2215.fits
IRFs: P8R3_SOURCE_V2
Source model file: /lscratch/kocevski/40863079/Model_4FGL_J0158.5-3932_daily_bin2215.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) = 6125.26959347

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

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

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'Prefactor '    .98767E-04   1.0000          .0000       .10000E+07
     2 'Prefactor '    .27916E-03   1.0000          .0000       .10000E+07
     3 'Prefactor '    .61866E-05   1.0000          .0000       .10000E+07
     4 'Prefactor '    .22502E-03   1.0000          .0000       .10000E+07
     5 'norm      '    .35146E-03   1.0000          .0000       .10000E+07
     6 'Prefactor '    .19771E-04   1.0000          .0000       .10000E+07
     7 'Prefactor '    1.6143       1.0000          .0000       .10000E+07
     8 'norm      '    .47068E-06   1.0000          .0000       .10000E+07
     9 'Prefactor '    .89593E-03   1.0000          .0000       .10000E+07
    10 'Prefactor '    .11524E-02   1.0000          .0000       .10000E+07
    11 'Prefactor '    1.2912       1.0000          .0000       .10000E+07
    12 'norm      '    6.0623       1.0000          .0000       .10000E+07
    13 'Prefactor '    .20149E-03   1.0000          .0000       .10000E+07
    14 'Prefactor '    .12761E-02   1.0000          .0000       .10000E+07
    15 'Prefactor '    44.808       1.0000          .0000       .10000E+07
    16 'Prefactor '    .86907       1.0000          .0000       .10000E+07
    17 'norm      '    .27339       1.0000          .0000       .10000E+07
    18 'Normalizat'    1.1656       1.0000         .10000E-01   10.000    
    19 'Prefactor '    1.0015       1.0000          .0000       10.000    
 **********
 **   15 **SET ERR    .5000    
 **********
 **********
 **   16 **SET GRAD    1.000    
 **********
 **********
 **   17 **MINIMIZE    .5510E+05   .2000E-04
 **********

 MIGRAD MINIMIZATION HAS CONVERGED.

 FCN=   6125.226     FROM MIGRAD    STATUS=CONVERGED    137 CALLS     1149 TOTAL
                     EDM=   .12E-08  STRATEGY=1  ERROR MATRIX UNCERTAINTY=  1.1%

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor     .69944E-08    6.9266        .16238E-07** at limit **
   2  Prefactor     .11066E-05    6.1979        .16006E-06** at limit **
   3  Prefactor      .0000        2.3528       -.15552E-07** at limit **
   4  Prefactor      .0000        4.2024        .43176E-07** at limit **
   5  norm          .37748E-08    6.1671       -.63234E-07** at limit **
   6  Prefactor     .17075E-06    4.1626        .25403E-06** at limit **
   7  Prefactor     1.5910        58.891        .69970E-06    .74397E-03
   8  norm           .0000        .67498        .31871E-07** at limit **
   9  Prefactor     .45558E-06    9.4839       -.15766E-06** at limit **
  10  Prefactor     .35111E-06    8.2631       -.95270E-08** at limit **
  11  Prefactor     .85443        18.409       -.24799E-06   -.30002E-01
  12  norm          6.0402        3.2298       -.40286E-08    .13725E-02
  13  Prefactor     .65559E-07    5.3413        .64754E-07** at limit **
  14  Prefactor     .96367E-07    4.8124        .26970E-06** at limit **
  15  Prefactor     47.483        42.229        .21348E-06   -.28270E-01
  16  Prefactor     .87143        3.3434       -.91790E-08    .57235E-03
  17  norm          .27325        .68639        .54105E-07    .76323E-02
  18  Normalizat    1.1650        .20360        .10497E-05    .24291E-03
  19  Prefactor     1.0017        .22420       -.10335E-05    .13486E-03
                               ERR DEF=  .500    
Final values: 
  Prefactor  = 6.99441e-09
  Prefactor  = 1.10661e-06
  Prefactor  = 0
  Prefactor  = 0
  norm       = 3.77476e-09
  Prefactor  = 1.70752e-07
  Prefactor  = 1.59097
  norm       = 0
  Prefactor  = 4.5558e-07
  Prefactor  = 3.51108e-07
  Prefactor  = 0.85443
  norm       = 6.04018
  Prefactor  = 6.55587e-08
  Prefactor  = 9.63674e-08
  Prefactor  = 47.4828
  Prefactor  = 0.871425
  norm       = 0.273255
  Normalizat = 1.16495
  Prefactor  = 1.00168
 **********
 **   18 **HESSE 
 **********

 FCN=   6125.226     FROM HESSE     STATUS=OK           306 CALLS     1455 TOTAL
                     EDM=   .35E-06    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  Prefactor     .69944E-08    6.7776        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   2  Prefactor     .11066E-05    10.143        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   3  Prefactor      .0000        2.3502        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   4  Prefactor      .0000        4.1849        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   5  norm          .37748E-08    6.2068        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   6  Prefactor     .17075E-06    12.451        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   7  Prefactor     1.5910        76.263        .83311E-03   -1.5683    
   8  norm           .0000        .66718        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   9  Prefactor     .45558E-06    15.976        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  10  Prefactor     .35111E-06    9.3300        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  11  Prefactor     .85443        35.519        .15759E-01   -1.5689    
  12  norm          6.0402        3.2275        .40754E-03   -1.5659    
  13  Prefactor     .65559E-07    14.408        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  14  Prefactor     .96367E-07    12.133        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  15  Prefactor     47.483        42.741        .14940E-03   -1.5570    
  16  Prefactor     .87143        3.3622        .47922E-03   -1.5689    
  17  norm          .27325        .70165        .23573E-02   -1.5698    
  18  Normalizat    1.1650        .17415        .35797E-01   -.87693    
  19  Prefactor     1.0017        .19044        .45174E-01   -.92673    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 3.52812e-07
Minuit parameter uncertainties:
  1  0.000434873
  2  0.00670068
  3  1.18263e-05
  4  7.45628e-06
  5  0.000305982
  6  0.00291612
  7  22.0304
  8  5.51189e-06
  9  0.00539559
  10  0.00361984
  11  11.018
  12  3.22746
  13  0.00194415
  14  0.00216272
  15  42.7414
  16  3.36224
  17  0.701647
  18  0.17424
  19  0.190572
table="SC_DATA" srcmdl=/lscratch/kocevski/40863068/Model_4FGL_J0158.5-3932_daily_bin2215.xml irfs="P8R3_SOURCE_V2" evclsmin=0 evclass="INDEF" evtype="INDEF" convert=yes chatter=2 clobber=yes debug=no gui=no mode="ql"

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

adding source EG_v02
adding source Fornax A
adding source GAL_V02
Working on...
/lscratch/kocevski/40863068/ft1_filtered_4FGL_J0158.5-3932_daily_bin2215.fits.....................!
real 44.91
user 43.63
sys 0.80

Creating the likelihood object...
obs = UnbinnedObs('/lscratch/kocevski/40863068/ft1_filtered_4FGL_J0158.5-3932_daily_bin2215.fits', '/lscratch/kocevski/40863068/ft2_4FGL_J0158.5-3932_daily_bin2215.fits', expMap='/lscratch/kocevski/40863068/expmap_813456001_813715201_4FGL_J0158.5-3932_daily_bin2215.fits', expCube='/lscratch/kocevski/40863068/ltcube_813456001_813715201_4FGL_J0158.5-3932_daily_bin2215.fits', irfs='P8R3_SOURCE_V2')
like = UnbinnedAnalysis(obs, '/lscratch/kocevski/40863068/Model_4FGL_J0158.5-3932_daily_bin2215.xml', optimizer='MINUIT')

Using source of interest name: '4FGL J0158.5-3932'

4FGL J0158.5-3932
   Spectrum: PowerLaw
278    Prefactor:  4.060e+00  0.000e+00  0.000e+00  1.000e+06 ( 1.000e-13)
279        Index:  2.091e+00  0.000e+00  0.000e+00  1.000e+01 (-1.000e+00) fixed
280        Scale:  1.384e+03  0.000e+00  3.000e+01  5.000e+05 ( 1.000e+00) fixed


Likelihood Fit Parameters:
Event file(s): /lscratch/kocevski/40863068/ft1_filtered_4FGL_J0158.5-3932_daily_bin2215.fits
Spacecraft file(s): /lscratch/kocevski/40863068/ft2_4FGL_J0158.5-3932_daily_bin2215.fits
Exposure map: /lscratch/kocevski/40863068/expmap_813456001_813715201_4FGL_J0158.5-3932_daily_bin2215.fits
Exposure cube: /lscratch/kocevski/40863068/ltcube_813456001_813715201_4FGL_J0158.5-3932_daily_bin2215.fits
IRFs: P8R3_SOURCE_V2
Source model file: /lscratch/kocevski/40863068/Model_4FGL_J0158.5-3932_daily_bin2215.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) = 6125.26959347

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

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

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'Prefactor '    .98767E-04   1.0000          .0000       .10000E+07
     2 'Prefactor '    .27916E-03   1.0000          .0000       .10000E+07
     3 'Prefactor '    .61866E-05   1.0000          .0000       .10000E+07
     4 'Prefactor '    .22502E-03   1.0000          .0000       .10000E+07
     5 'norm      '    .35146E-03   1.0000          .0000       .10000E+07
     6 'Prefactor '    .19771E-04   1.0000          .0000       .10000E+07
     7 'Prefactor '    1.6143       1.0000          .0000       .10000E+07
     8 'norm      '    .47068E-06   1.0000          .0000       .10000E+07
     9 'Prefactor '    .89593E-03   1.0000          .0000       .10000E+07
    10 'Prefactor '    .11524E-02   1.0000          .0000       .10000E+07
    11 'Prefactor '    1.2912       1.0000          .0000       .10000E+07
    12 'norm      '    6.0623       1.0000          .0000       .10000E+07
    13 'Prefactor '    .20149E-03   1.0000          .0000       .10000E+07
    14 'Prefactor '    .12761E-02   1.0000          .0000       .10000E+07
    15 'Prefactor '    44.808       1.0000          .0000       .10000E+07
    16 'Prefactor '    .86907       1.0000          .0000       .10000E+07
    17 'norm      '    .27339       1.0000          .0000       .10000E+07
    18 'Normalizat'    1.1656       1.0000         .10000E-01   10.000    
    19 'Prefactor '    1.0015       1.0000          .0000       10.000    
 **********
 **   15 **SET ERR    .5000    
 **********
 **********
 **   16 **SET GRAD    1.000    
 **********
 **********
 **   17 **MINIMIZE    .5510E+05   .2000E-04
 **********

 MIGRAD MINIMIZATION HAS CONVERGED.

 FCN=   6125.226     FROM MIGRAD    STATUS=CONVERGED    137 CALLS     1149 TOTAL
                     EDM=   .12E-08  STRATEGY=1  ERROR MATRIX UNCERTAINTY=  1.1%

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor     .69944E-08    6.9266        .16238E-07** at limit **
   2  Prefactor     .11066E-05    6.1979        .16006E-06** at limit **
   3  Prefactor      .0000        2.3528       -.15552E-07** at limit **
   4  Prefactor      .0000        4.2024        .43176E-07** at limit **
   5  norm          .37748E-08    6.1671       -.63234E-07** at limit **
   6  Prefactor     .17075E-06    4.1626        .25403E-06** at limit **
   7  Prefactor     1.5910        58.891        .69970E-06    .74397E-03
   8  norm           .0000        .67498        .31871E-07** at limit **
   9  Prefactor     .45558E-06    9.4839       -.15766E-06** at limit **
  10  Prefactor     .35111E-06    8.2631       -.95270E-08** at limit **
  11  Prefactor     .85443        18.409       -.24799E-06   -.30002E-01
  12  norm          6.0402        3.2298       -.40286E-08    .13725E-02
  13  Prefactor     .65559E-07    5.3413        .64754E-07** at limit **
  14  Prefactor     .96367E-07    4.8124        .26970E-06** at limit **
  15  Prefactor     47.483        42.229        .21348E-06   -.28270E-01
  16  Prefactor     .87143        3.3434       -.91790E-08    .57235E-03
  17  norm          .27325        .68639        .54105E-07    .76323E-02
  18  Normalizat    1.1650        .20360        .10497E-05    .24291E-03
  19  Prefactor     1.0017        .22420       -.10335E-05    .13486E-03
                               ERR DEF=  .500    
Final values: 
  Prefactor  = 6.99441e-09
  Prefactor  = 1.10661e-06
  Prefactor  = 0
  Prefactor  = 0
  norm       = 3.77476e-09
  Prefactor  = 1.70752e-07
  Prefactor  = 1.59097
  norm       = 0
  Prefactor  = 4.5558e-07
  Prefactor  = 3.51108e-07
  Prefactor  = 0.85443
  norm       = 6.04018
  Prefactor  = 6.55587e-08
  Prefactor  = 9.63674e-08
  Prefactor  = 47.4828
  Prefactor  = 0.871425
  norm       = 0.273255
  Normalizat = 1.16495
  Prefactor  = 1.00168
number of points = 7242
number of fields = 31
RA_SUN column already exists. File will not be modified.
Done.


Performing analysis on: 4FGL_J0158.5-3932_daily_bin2215
RA = 29.646, Dec = -39.5358
tmin = 813456001, tmax = 813715201
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='40863285', job_status='RUN', time_executed='2026-10-15 01:32:56.354159', time_epoch_executed='1792053176.35' WHERE source_name='4FGL J0158.5-3932' and cadence='daily' and bin_id='2215'

Database successfully updated.
Done.

Creating custom output directory:
/lscratch/kocevski/40863285

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

Retrieving the FT1 file...

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

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

Retrieving 46 files...
Done.


Merging files...

Checksum keywords updated successfully.

Merged file saved to:
/lscratch/kocevski/40863285/ft1_4FGL_J0158.5-3932_daily_bin2215.fits


Retrieving the FT1 file...

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

Retrieving 46 files...
Done.


Merging files...

Merged file saved to:
/lscratch/kocevski/40863285/ft2_4FGL_J0158.5-3932_daily_bin2215.fits


Selecting the photons:
time -p gtselect infile=/lscratch/kocevski/40863285/ft1_4FGL_J0158.5-3932_daily_bin2215.fits outfile=/lscratch/kocevski/40863285/ft1_filteredMKT_4FGL_J0158.5-3932_daily_bin2215.fits ra=29.646 dec=-39.5358 rad=12.0 tmin=813456001.0 tmax=813715201.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 1.69
user 1.31
sys 0.15

Adding sun position to ft2 file:
/sdf/group/fermi/g/LCRepository/Repository/bin/sunpos /lscratch/kocevski/40863285/ft2_4FGL_J0158.5-3932_daily_bin2215.fits

Selecting the good time intervals:
time -p gtmktime scfile=/lscratch/kocevski/40863285/ft2_4FGL_J0158.5-3932_daily_bin2215.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/40863285/ft1_filteredMKT_4FGL_J0158.5-3932_daily_bin2215.fits evtable="EVENTS" outfile="/lscratch/kocevski/40863285/ft1_filtered_4FGL_J0158.5-3932_daily_bin2215.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.52
user 0.18
sys 0.13

Number of photons that the gtmktime cut: 551

Generating the livetime cube:
time -p gtltcube evfile="/lscratch/kocevski/40863285/ft1_filtered_4FGL_J0158.5-3932_daily_bin2215.fits" evtable="EVENTS" scfile=/lscratch/kocevski/40863285/ft2_4FGL_J0158.5-3932_daily_bin2215.fits sctable="SC_DATA" ouDone.

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

Extracting fit parameters...

4FGL J0158.5-3932
   Spectrum: PowerLaw
278    Prefactor:  1.708e-07  2.916e-03  0.000e+00  1.000e+06 ( 1.000e-13)
279        Index:  2.091e+00  0.000e+00  0.000e+00  1.000e+01 (-1.000e+00) fixed
280        Scale:  1.384e+03  0.000e+00  3.000e+01  5.000e+05 ( 1.000e+00) fixed

GAL_V02
   Spectrum: PowerLaw
548    Prefactor:  1.002e+00  1.906e-01  0.000e+00  1.000e+01 ( 1.000e+00)
549        Index:  0.000e+00  0.000e+00 -1.000e+00  1.000e+00 ( 1.000e+00) fixed
550        Scale:  1.000e+02  0.000e+00  5.000e+01  2.000e+02 ( 1.000e+00) fixed

EG_v02
   Spectrum: FileFunction
544   Normalization:  1.165e+00  1.742e-01  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Fixed Index): -0.00
Ra Dec: 29.646 -39.536
Photon Flux Upper Limit: 5.95931907441e-08 ph cm-2 s-1
Energy Flux Upper Limit: 0.00450253642272 MeV cm-2 s-1

Saving results to:
/lscratch/kocevski/40863079/likelihoodResults_813456001_813715201_4FGL_J0158.5-3932_daily_bin2215.txt

Performing a free index iterative likelihood fit...

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

Done.

Freeing candidate source...
Done.

Fit tolerance = 1

Performing likelihood fit...
Done.

MINUIT Return Code (Free Index): 0
logL (Free Index) = 6125.26649932
delta logL = -0.0403583146799

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

MINUIT Return Code (Free Index): 102
logL (Free Index) = 6125.22614483
delta logL = -3.82619509764e-06

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'Prefactor '    .18394E-04   1.0000          .0000       .10000E+07
     2 'Index     '    2.6257       1.0000          .0000       10.000    
     3 'Normalizat'    1.1654       1.0000         .10000E-01   10.000    
     4 'Prefactor '    1.0012       1.0000          .0000       10.000    
 **********
 **   15 **SET ERR    .5000    
 **********
 **********
 **   16 **SET GRAD    1.000    
 **********
 **********
 **   17 **MINIMIZE    .5510E+05   .2000E-04
 **********

 MIGRAD MINIMIZATION HAS CONVERGED.

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

 FCN=   6125.226     FROM MIGRAD    STATUS=CONVERGED     50 CALLS      210 TOTAL
                     EDM=   .28E-10  STRATEGY=1  ERROR MATRIX UNCERTAINTY=100.0%

  EXT PARAMETER                APPROXIMATE        STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor      .0000        5.5146        .42118E-03** at limit **
   2  Index         1.4089        .79709       -.75936E-05     .0000    
   3  Normalizat    1.1649        1.1194        .56951E-05    .11315E-03
   4  Prefactor     1.0017        1.3137       -.13546E-04    .15394E-03
                               ERR DEF=  .500    
Final values: 
  Prefactor  = 0
  Index      = 1.40885
  Normalizat = 1.16495
  Prefactor  = 1.00168
 **********
 **   18 **HESSE 
 **********
  MNHESS FAILS AND WILL RETURN DIAGONAL MATRIX. 

 FCN=   6125.226     FROM HESSE     STATUS=FAILED         9 CALLS      219 TOTAL
                     EDM=   .28E-10  STRATEGY=1  ERROR MATRIX UNCERTAINTY=100.0%

  EXT PARAMETER                APPROXIMATE     INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  Prefactor      .0000        5.5146        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   2  Index         .16746        1.3369       -.75936E-05   -.80125    
   3  Normalizat    1.1649        1.1194        .56951E-05   -.87693    
   4  Prefactor     1.0017        1.3137       -.13546E-04   -.92673    
                               ERR DEF=  .500    
Minuit fit quality: 1   estimated distance: 2.81919e-11
Minuit parameter uncertainties:
  1  8.83567e-06
  2  0.804233
  3  1.14364
  4  1.35969
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) = 6125.226141
delta logL = 6.84940459905e-09

Extracting fit parameters...

4FGL J0158.5-3932
   Spectrum: PowerLaw
278    Prefactor:  0.000e+00  8.836e-06  0.000e+00  1.000e+06 ( 1.000e-13)
279        Index:  1.409e+00  8.042e-01  0.000e+00  1.000e+01 (-1.000e+00)
280        Scale:  1.384e+03  0.000e+00  3.000e+01  5.000e+05 ( 1.000e+00) fixed

GAL_V02
   Spectrum: PowerLaw
548    Prefactor:  1.002e+00  1.360e+00  0.000e+00  1.000e+01 ( 1.000e+00)
549        Index:  0.000e+00  0.000e+00 -1.000e+00  1.000e+00 ( 1.000e+00) fixed
550        Scale:  1.000e+02  0.000e+00  5.000e+01  2.000e+02 ( 1.000e+00) fixed

EG_v02
   Spectrum: FileFunction
544   Normalization:  1.165e+00  1.144e+00  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Free Index): -0.00
Ra Dec: 29.646 -39.536

Creating a high resolution counts map...
INFO: Auto-setting vmin to  0.000e+00 [aplpy.core]
INFO: Auto-setting vmax to  0.000e+00 [aplpy.core]
Saving /lscratch/kocevski/40863079/cmap_HighResolution_813456001_813715201_4FGL_J0158.5-3932_daily_bin2215.png

Cleaning up...

** Nuclear option initiated! **

Updating database...

UPDATE lightcurve_data_v2 SET energy_flux_upper_limit='4.50e-03', job_status='DONE', photon_flux_upper_limit='5.96e-08', time_completed='2026-10-15 01:33:41.758632', job_id='40863079', GAL2='1.00', fit_tolerance='1e-08', EG2='1.16', EG='1.16', time_epoch_completed='1792053221.76', return_code2='101', ts='-0.00', comment='SUCCESS', return_code='0', GAL='1.00', dlogl='6.85e-09', ts2='0.00', photon_index_error='0.00', photon_index='2.09' WHERE bin_id='2215' AND source_name='4FGL J0158.5-3932' AND cadence='daily';

Database successfully updated.


Analysis Complete.


Thu Oct 15 01:33:41 PDT 2026

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

 FCN=   6125.226     FROM HESSE     STATUS=OK           306 CALLS     1455 TOTAL
                     EDM=   .35E-06    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  Prefactor     .69944E-08    6.7776        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   2  Prefactor     .11066E-05    10.143        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   3  Prefactor      .0000        2.3502        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   4  Prefactor      .0000        4.1849        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   5  norm          .37748E-08    6.2068        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   6  Prefactor     .17075E-06    12.451        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   7  Prefactor     1.5910        76.263        .83311E-03   -1.5683    
   8  norm           .0000        .66718        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   9  Prefactor     .45558E-06    15.976        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  10  Prefactor     .35111E-06    9.3300        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  11  Prefactor     .85443        35.519        .15759E-01   -1.5689    
  12  norm          6.0402        3.2275        .40754E-03   -1.5659    
  13  Prefactor     .65559E-07    14.408        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  14  Prefactor     .96367E-07    12.133        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  15  Prefactor     47.483        42.741        .14940E-03   -1.5570    
  16  Prefactor     .87143        3.3622        .47922E-03   -1.5689    
  17  norm          .27325        .70165        .23573E-02   -1.5698    
  18  Normalizat    1.1650        .17415        .35797E-01   -.87693    
  19  Prefactor     1.0017        .19044        .45174E-01   -.92673    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 3.52812e-07
Minuit parameter uncertainties:
  1  0.000434873
  2  0.00670068
  3  1.18263e-05
  4  7.45628e-06
  5  0.000305982
  6  0.00291612
  7  22.0304
  8  5.51189e-06
  9  0.00539559
  10  0.00361984
  11  11.018
  12  3.22746
  13  0.00194415
  14  0.00216272
  15  42.7414
  16  3.36224
  17  0.701647
  18  0.17424
  19  0.190572
table="SC_DATA" srcmdl=/lscratch/kocevski/40863121/Model_4FGL_J0158.5-3932_daily_bin2215.xml irfs="P8R3_SOURCE_V2" evclsmin=0 evclass="INDEF" evtype="INDEF" convert=yes chatter=2 clobber=yes debug=no gui=no mode="ql"

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

adding source EG_v02
adding source Fornax A
adding source GAL_V02
Working on...
/lscratch/kocevski/40863121/ft1_filtered_4FGL_J0158.5-3932_daily_bin2215.fits.....................!
real 44.58
user 43.31
sys 0.78

Creating the likelihood object...
obs = UnbinnedObs('/lscratch/kocevski/40863121/ft1_filtered_4FGL_J0158.5-3932_daily_bin2215.fits', '/lscratch/kocevski/40863121/ft2_4FGL_J0158.5-3932_daily_bin2215.fits', expMap='/lscratch/kocevski/40863121/expmap_813456001_813715201_4FGL_J0158.5-3932_daily_bin2215.fits', expCube='/lscratch/kocevski/40863121/ltcube_813456001_813715201_4FGL_J0158.5-3932_daily_bin2215.fits', irfs='P8R3_SOURCE_V2')
like = UnbinnedAnalysis(obs, '/lscratch/kocevski/40863121/Model_4FGL_J0158.5-3932_daily_bin2215.xml', optimizer='MINUIT')

Using source of interest name: '4FGL J0158.5-3932'

4FGL J0158.5-3932
   Spectrum: PowerLaw
278    Prefactor:  4.060e+00  0.000e+00  0.000e+00  1.000e+06 ( 1.000e-13)
279        Index:  2.091e+00  0.000e+00  0.000e+00  1.000e+01 (-1.000e+00) fixed
280        Scale:  1.384e+03  0.000e+00  3.000e+01  5.000e+05 ( 1.000e+00) fixed


Likelihood Fit Parameters:
Event file(s): /lscratch/kocevski/40863121/ft1_filtered_4FGL_J0158.5-3932_daily_bin2215.fits
Spacecraft file(s): /lscratch/kocevski/40863121/ft2_4FGL_J0158.5-3932_daily_bin2215.fits
Exposure map: /lscratch/kocevski/40863121/expmap_813456001_813715201_4FGL_J0158.5-3932_daily_bin2215.fits
Exposure cube: /lscratch/kocevski/40863121/ltcube_813456001_813715201_4FGL_J0158.5-3932_daily_bin2215.fits
IRFs: P8R3_SOURCE_V2
Source model file: /lscratch/kocevski/40863121/Model_4FGL_J0158.5-3932_daily_bin2215.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) = 6125.26959347

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

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

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'Prefactor '    .98767E-04   1.0000          .0000       .10000E+07
     2 'Prefactor '    .27916E-03   1.0000          .0000       .10000E+07
     3 'Prefactor '    .61866E-05   1.0000          .0000       .10000E+07
     4 'Prefactor '    .22502E-03   1.0000          .0000       .10000E+07
     5 'norm      '    .35146E-03   1.0000          .0000       .10000E+07
     6 'Prefactor '    .19771E-04   1.0000          .0000       .10000E+07
     7 'Prefactor '    1.6143       1.0000          .0000       .10000E+07
     8 'norm      '    .47068E-06   1.0000          .0000       .10000E+07
     9 'Prefactor '    .89593E-03   1.0000          .0000       .10000E+07
    10 'Prefactor '    .11524E-02   1.0000          .0000       .10000E+07
    11 'Prefactor '    1.2912       1.0000          .0000       .10000E+07
    12 'norm      '    6.0623       1.0000          .0000       .10000E+07
    13 'Prefactor '    .20149E-03   1.0000          .0000       .10000E+07
    14 'Prefactor '    .12761E-02   1.0000          .0000       .10000E+07
    15 'Prefactor '    44.808       1.0000          .0000       .10000E+07
    16 'Prefactor '    .86907       1.0000          .0000       .10000E+07
    17 'norm      '    .27339       1.0000          .0000       .10000E+07
    18 'Normalizat'    1.1656       1.0000         .10000E-01   10.000    
    19 'Prefactor '    1.0015       1.0000          .0000       10.000    
 **********
 **   15 **SET ERR    .5000    
 **********
 **********
 **   16 **SET GRAD    1.000    
 **********
 **********
 **   17 **MINIMIZE    .5510E+05   .2000E-04
 **********

 MIGRAD MINIMIZATION HAS CONVERGED.

 FCN=   6125.226     FROM MIGRAD    STATUS=CONVERGED    137 CALLS     1149 TOTAL
                     EDM=   .12E-08  STRATEGY=1  ERROR MATRIX UNCERTAINTY=  1.1%

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor     .69944E-08    6.9266        .16238E-07** at limit **
   2  Prefactor     .11066E-05    6.1979        .16006E-06** at limit **
   3  Prefactor      .0000        2.3528       -.15552E-07** at limit **
   4  Prefactor      .0000        4.2024        .43176E-07** at limit **
   5  norm          .37748E-08    6.1671       -.63234E-07** at limit **
   6  Prefactor     .17075E-06    4.1626        .25403E-06** at limit **
   7  Prefactor     1.5910        58.891        .69970E-06    .74397E-03
   8  norm           .0000        .67498        .31871E-07** at limit **
   9  Prefactor     .45558E-06    9.4839       -.15766E-06** at limit **
  10  Prefactor     .35111E-06    8.2631       -.95270E-08** at limit **
  11  Prefactor     .85443        18.409       -.24799E-06   -.30002E-01
  12  norm          6.0402        3.2298       -.40286E-08    .13725E-02
  13  Prefactor     .65559E-07    5.3413        .64754E-07** at limit **
  14  Prefactor     .96367E-07    4.8124        .26970E-06** at limit **
  15  Prefactor     47.483        42.229        .21348E-06   -.28270E-01
  16  Prefactor     .87143        3.3434       -.91790E-08    .57235E-03
  17  norm          .27325        .68639        .54105E-07    .76323E-02
  18  Normalizat    1.1650        .20360        .10497E-05    .24291E-03
  19  Prefactor     1.0017        .22420       -.10335E-05    .13486E-03
                               ERR DEF=  .500    
Final values: 
  Prefactor  = 6.99441e-09
  Prefactor  = 1.10661e-06
  Prefactor  = 0
  Prefactor  = 0
  norm       = 3.77476e-09
  Prefactor  = 1.70752e-07
  Prefactor  = 1.59097
  norm       = 0
  Prefactor  = 4.5558e-07
  Prefactor  = 3.51108e-07
  Prefactor  = 0.85443
  norm       = 6.04018
  Prefactor  = 6.55587e-08
  Prefactor  = 9.63674e-08
  Prefactor  = 47.4828
  Prefactor  = 0.871425
  norm       = 0.273255
  Normalizat = 1.16495
  Prefactor  = 1.00168
 **********
 **   18 **HESSE 
 **********

 FCN=   6125.226     FROM HESSE     STATUS=OK           306 CALLS     1455 TOTAL
                     EDM=   .35E-06    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  Prefactor     .69944E-08    6.7776        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   2  Prefactor     .11066E-05    10.143        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   3  Prefactor      .0000        2.3502        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   4  Prefactor      .0000        4.1849        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   5  norm          .37748E-08    6.2068        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   6  Prefactor     .17075E-06    12.451        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   7  Prefactor     1.5910        76.263        .83311E-03   -1.5683    
   8  norm           .0000        .66718        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   9  Prefactor     .45558E-06    15.976        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  10  Prefactor     .35111E-06    9.3300        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  11  Prefactor     .85443        35.519        .15759E-01   -1.5689    
  12  norm          6.0402        3.2275        .40754E-03   -1.5659    
  13  Prefactor     .65559E-07    14.408        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  14  Prefactor     .96367E-07    12.133        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  15  Prefactor     47.483        42.741        .14940E-03   -1.5570    
  16  Prefactor     .87143        3.3622        .47922E-03   -1.5689    
  17  norm          .27325        .70165        .23573E-02   -1.5698    
  18  Normalizat    1.1650        .17415        .35797E-01   -.87693    
  19  Prefactor     1.0017        .19044        .45174E-01   -.92673    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 3.52812e-07
Minuit parameter uncertainties:
  1  0.000434873
  2  0.00670068
  3  1.18263e-05
  4  7.45628e-06
  5  0.000305982
  6  0.00291612
  7  22.0304
  8  5.51189e-06
  9  0.00539559
  10  0.00361984
  11  11.018
  12  3.22746
  13  0.00194415
  14  0.00216272
  15  42.7414
  16  3.36224
  17  0.701647
  18  0.17424
  19  0.190572
Done.

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

Extracting fit parameters...

4FGL J0158.5-3932
   Spectrum: PowerLaw
278    Prefactor:  1.708e-07  2.916e-03  0.000e+00  1.000e+06 ( 1.000e-13)
279        Index:  2.091e+00  0.000e+00  0.000e+00  1.000e+01 (-1.000e+00) fixed
280        Scale:  1.384e+03  0.000e+00  3.000e+01  5.000e+05 ( 1.000e+00) fixed

GAL_V02
   Spectrum: PowerLaw
548    Prefactor:  1.002e+00  1.906e-01  0.000e+00  1.000e+01 ( 1.000e+00)
549        Index:  0.000e+00  0.000e+00 -1.000e+00  1.000e+00 ( 1.000e+00) fixed
550        Scale:  1.000e+02  0.000e+00  5.000e+01  2.000e+02 ( 1.000e+00) fixed

EG_v02
   Spectrum: FileFunction
544   Normalization:  1.165e+00  1.742e-01  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Fixed Index): -0.00
Ra Dec: 29.646 -39.536
Photon Flux Upper Limit: 5.95931907441e-08 ph cm-2 s-1
Energy Flux Upper Limit: 0.00450253642272 MeV cm-2 s-1

Saving results to:
/lscratch/kocevski/40863068/likelihoodResults_813456001_813715201_4FGL_J0158.5-3932_daily_bin2215.txt

Performing a free index iterative likelihood fit...

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

Done.

Freeing candidate source...
Done.

Fit tolerance = 1

Performing likelihood fit...
Done.

MINUIT Return Code (Free Index): 0
logL (Free Index) = 6125.26649932
delta logL = -0.0403583146799

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

MINUIT Return Code (Free Index): 102
logL (Free Index) = 6125.22614483
delta logL = -3.82619509764e-06

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'Prefactor '    .18394E-04   1.0000          .0000       .10000E+07
     2 'Index     '    2.6257       1.0000          .0000       10.000    
     3 'Normalizat'    1.1654       1.0000         .10000E-01   10.000    
     4 'Prefactor '    1.0012       1.0000          .0000       10.000    
 **********
 **   15 **SET ERR    .5000    
 **********
 **********
 **   16 **SET GRAD    1.000    
 **********
 **********
 **   17 **MINIMIZE    .5510E+05   .2000E-04
 **********

 MIGRAD MINIMIZATION HAS CONVERGED.

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

 FCN=   6125.226     FROM MIGRAD    STATUS=CONVERGED     50 CALLS      210 TOTAL
                     EDM=   .28E-10  STRATEGY=1  ERROR MATRIX UNCERTAINTY=100.0%

  EXT PARAMETER                APPROXIMATE        STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor      .0000        5.5146        .42118E-03** at limit **
   2  Index         1.4089        .79709       -.75936E-05     .0000    
   3  Normalizat    1.1649        1.1194        .56951E-05    .11315E-03
   4  Prefactor     1.0017        1.3137       -.13546E-04    .15394E-03
                               ERR DEF=  .500    
Final values: 
  Prefactor  = 0
  Index      = 1.40885
  Normalizat = 1.16495
  Prefactor  = 1.00168
 **********
 **   18 **HESSE 
 **********
  MNHESS FAILS AND WILL RETURN DIAGONAL MATRIX. 

 FCN=   6125.226     FROM HESSE     STATUS=FAILED         9 CALLS      219 TOTAL
                     EDM=   .28E-10  STRATEGY=1  ERROR MATRIX UNCERTAINTY=100.0%

  EXT PARAMETER                APPROXIMATE     INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  Prefactor      .0000        5.5146        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   2  Index         .16746        1.3369       -.75936E-05   -.80125    
   3  Normalizat    1.1649        1.1194        .56951E-05   -.87693    
   4  Prefactor     1.0017        1.3137       -.13546E-04   -.92673    
                               ERR DEF=  .500    
Minuit fit quality: 1   estimated distance: 2.81919e-11
Minuit parameter uncertainties:
  1  8.83567e-06
  2  0.804233
  3  1.14364
  4  1.35969
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) = 6125.226141
delta logL = 6.84940459905e-09

Extracting fit parameters...

4FGL J0158.5-3932
   Spectrum: PowerLaw
278    Prefactor:  0.000e+00  8.836e-06  0.000e+00  1.000e+06 ( 1.000e-13)
279        Index:  1.409e+00  8.042e-01  0.000e+00  1.000e+01 (-1.000e+00)
280        Scale:  1.384e+03  0.000e+00  3.000e+01  5.000e+05 ( 1.000e+00) fixed

GAL_V02
   Spectrum: PowerLaw
548    Prefactor:  1.002e+00  1.360e+00  0.000e+00  1.000e+01 ( 1.000e+00)
549        Index:  0.000e+00  0.000e+00 -1.000e+00  1.000e+00 ( 1.000e+00) fixed
550        Scale:  1.000e+02  0.000e+00  5.000e+01  2.000e+02 ( 1.000e+00) fixed

EG_v02
   Spectrum: FileFunction
544   Normalization:  1.165e+00  1.144e+00  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Free Index): -0.00
Ra Dec: 29.646 -39.536

Creating a high resolution counts map...
INFO: Auto-setting vmin to  0.000e+00 [aplpy.core]
INFO: Auto-setting vmax to  0.000e+00 [aplpy.core]
Saving /lscratch/kocevski/40863068/cmap_HighResolution_813456001_813715201_4FGL_J0158.5-3932_daily_bin2215.png

Cleaning up...

** Nuclear option initiated! **

Updating database...

UPDATE lightcurve_data_v2 SET energy_flux_upper_limit='4.50e-03', job_status='DONE', photon_flux_upper_limit='5.96e-08', time_completed='2026-10-15 01:34:02.849700', job_id='40863068', GAL2='1.00', fit_tolerance='1e-08', EG2='1.16', EG='1.16', time_epoch_completed='1792053242.85', return_code2='101', ts='-0.00', comment='SUCCESS', return_code='0', GAL='1.00', dlogl='6.85e-09', ts2='0.00', photon_index_error='0.00', photon_index='2.09' WHERE bin_id='2215' AND source_name='4FGL J0158.5-3932' AND cadence='daily';

Database successfully updated.


Analysis Complete.


Thu Oct 15 01:34:02 PDT 2026

Done.

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

Extracting fit parameters...

4FGL J0158.5-3932
   Spectrum: PowerLaw
278    Prefactor:  1.708e-07  2.916e-03  0.000e+00  1.000e+06 ( 1.000e-13)
279        Index:  2.091e+00  0.000e+00  0.000e+00  1.000e+01 (-1.000e+00) fixed
280        Scale:  1.384e+03  0.000e+00  3.000e+01  5.000e+05 ( 1.000e+00) fixed

GAL_V02
   Spectrum: PowerLaw
548    Prefactor:  1.002e+00  1.906e-01  0.000e+00  1.000e+01 ( 1.000e+00)
549        Index:  0.000e+00  0.000e+00 -1.000e+00  1.000e+00 ( 1.000e+00) fixed
550        Scale:  1.000e+02  0.000e+00  5.000e+01  2.000e+02 ( 1.000e+00) fixed

EG_v02
   Spectrum: FileFunction
544   Normalization:  1.165e+00  1.742e-01  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Fixed Index): -0.00
Ra Dec: 29.646 -39.536
Photon Flux Upper Limit: 5.95931907441e-08 ph cm-2 s-1
Energy Flux Upper Limit: 0.00450253642272 MeV cm-2 s-1

Saving results to:
/lscratch/kocevski/40863121/likelihoodResults_813456001_813715201_4FGL_J0158.5-3932_daily_bin2215.txt

Performing a free index iterative likelihood fit...

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

Done.

Freeing candidate source...
Done.

Fit tolerance = 1

Performing likelihood fit...
Done.

MINUIT Return Code (Free Index): 0
logL (Free Index) = 6125.26649932
delta logL = -0.0403583146799

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

MINUIT Return Code (Free Index): 102
logL (Free Index) = 6125.22614483
delta logL = -3.82619509764e-06

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'Prefactor '    .18394E-04   1.0000          .0000       .10000E+07
     2 'Index     '    2.6257       1.0000          .0000       10.000    
     3 'Normalizat'    1.1654       1.0000         .10000E-01   10.000    
     4 'Prefactor '    1.0012       1.0000          .0000       10.000    
 **********
 **   15 **SET ERR    .5000    
 **********
 **********
 **   16 **SET GRAD    1.000    
 **********
 **********
 **   17 **MINIMIZE    .5510E+05   .2000E-04
 **********

 MIGRAD MINIMIZATION HAS CONVERGED.

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

 FCN=   6125.226     FROM MIGRAD    STATUS=CONVERGED     50 CALLS      210 TOTAL
                     EDM=   .28E-10  STRATEGY=1  ERROR MATRIX UNCERTAINTY=100.0%

  EXT PARAMETER                APPROXIMATE        STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor      .0000        5.5146        .42118E-03** at limit **
   2  Index         1.4089        .79709       -.75936E-05     .0000    
   3  Normalizat    1.1649        1.1194        .56951E-05    .11315E-03
   4  Prefactor     1.0017        1.3137       -.13546E-04    .15394E-03
                               ERR DEF=  .500    
Final values: 
  Prefactor  = 0
  Index      = 1.40885
  Normalizat = 1.16495
  Prefactor  = 1.00168
 **********
 **   18 **HESSE 
 **********
  MNHESS FAILS AND WILL RETURN DIAGONAL MATRIX. 

 FCN=   6125.226     FROM HESSE     STATUS=FAILED         9 CALLS      219 TOTAL
                     EDM=   .28E-10  STRATEGY=1  ERROR MATRIX UNCERTAINTY=100.0%

  EXT PARAMETER                APPROXIMATE     INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  Prefactor      .0000        5.5146        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   2  Index         .16746        1.3369       -.75936E-05   -.80125    
   3  Normalizat    1.1649        1.1194        .56951E-05   -.87693    
   4  Prefactor     1.0017        1.3137       -.13546E-04   -.92673    
                               ERR DEF=  .500    
Minuit fit quality: 1   estimated distance: 2.81919e-11
Minuit parameter uncertainties:
  1  8.83567e-06
  2  0.804233
  3  1.14364
  4  1.35969
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) = 6125.226141
delta logL = 6.84940459905e-09

Extracting fit parameters...

4FGL J0158.5-3932
   Spectrum: PowerLaw
278    Prefactor:  0.000e+00  8.836e-06  0.000e+00  1.000e+06 ( 1.000e-13)
279        Index:  1.409e+00  8.042e-01  0.000e+00  1.000e+01 (-1.000e+00)
280        Scale:  1.384e+03  0.000e+00  3.000e+01  5.000e+05 ( 1.000e+00) fixed

GAL_V02
   Spectrum: PowerLaw
548    Prefactor:  1.002e+00  1.360e+00  0.000e+00  1.000e+01 ( 1.000e+00)
549        Index:  0.000e+00  0.000e+00 -1.000e+00  1.000e+00 ( 1.000e+00) fixed
550        Scale:  1.000e+02  0.000e+00  5.000e+01  2.000e+02 ( 1.000e+00) fixed

EG_v02
   Spectrum: FileFunction
544   Normalization:  1.165e+00  1.144e+00  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Free Index): -0.00
Ra Dec: 29.646 -39.536

Creating a high resolution counts map...
INFO: Auto-setting vmin to  0.000e+00 [aplpy.core]
INFO: Auto-setting vmax to  0.000e+00 [aplpy.core]
Saving /lscratch/kocevski/40863121/cmap_HighResolution_813456001_813715201_4FGL_J0158.5-3932_daily_bin2215.png

Cleaning up...

** Nuclear option initiated! **

Updating database...

UPDATE lightcurve_data_v2 SET energy_flux_upper_limit='4.50e-03', job_status='DONE', photon_flux_upper_limit='5.96e-08', time_completed='2026-10-15 01:34:14.784994', job_id='40863121', GAL2='1.00', fit_tolerance='1e-08', EG2='1.16', EG='1.16', time_epoch_completed='1792053254.79', return_code2='101', ts='-0.00', comment='SUCCESS', return_code='0', GAL='1.00', dlogl='6.85e-09', ts2='0.00', photon_index_error='0.00', photon_index='2.09' WHERE bin_id='2215' AND source_name='4FGL J0158.5-3932' AND cadence='daily';

Database successfully updated.


Analysis Complete.


Thu Oct 15 01:34:14 PDT 2026

tfile=/lscratch/kocevski/40863285/ltcube_813456001_813715201_4FGL_J0158.5-3932_daily_bin2215.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/40863285/ft2_4FGL_J0158.5-3932_daily_bin2215.fits
.....................!
real 7.49
user 7.03
sys 0.22

Generating the exposure map:
time -p gtexpmap evfile=/lscratch/kocevski/40863285/ft1_filtered_4FGL_J0158.5-3932_daily_bin2215.fits evtable="EVENTS" scfile=/lscratch/kocevski/40863285/ft2_4FGL_J0158.5-3932_daily_bin2215.fits sctable="SC_DATA" expcube=/lscratch/kocevski/40863285/ltcube_813456001_813715201_4FGL_J0158.5-3932_daily_bin2215.fits outfile=/lscratch/kocevski/40863285/expmap_813456001_813715201_4FGL_J0158.5-3932_daily_bin2215.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/40863285/ltcube_813456001_813715201_4FGL_J0158.5-3932_daily_bin2215.fits
.....................!
real 59.43
user 55.49
sys 3.43

Generating the xml model:
radLim = 0.001
maxRad = 12
normsOnly = True
freeVariableSources = True
Fixing all sources to their catalog values, except variable sources
Creating file and adding sources from 4FGL
Extended source Fornax A in ROI, make sure /sdf/group/fermi/g/LCRepository/Likelihood/ExtendedSources/Extended_8years/Templates/FornaxA.fits is the correct path to the extended template.
Added 174 point sources and 1 extended sources
If using unbinned likelihood you will need to rerun gtdiffrsp for the extended sources or rerun the makeModel function with optional argument psForce=True

Setting source of interest to:
4FGL J0158.5-3932 @ 29.646 -39.5358

Creating the counts map:
time -p gtbin evfile=/lscratch/kocevski/40863285/ft1_filtered_4FGL_J0158.5-3932_daily_bin2215.fits scfile=/lscratch/kocevski/40863285/ft2_4FGL_J0158.5-3932_daily_bin2215.fits outfile=/lscratch/kocevski/40863285/cmap_813456001_813715201_4FGL_J0158.5-3932_daily_bin2215.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=29.646 yref=-39.5358 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.50
user 0.21
sys 0.12

Creating the high resolution counts map:
time -p gtbin evfile=/lscratch/kocevski/40863285/ft1_filtered_4FGL_J0158.5-3932_daily_bin2215.fits scfile=/lscratch/kocevski/40863285/ft2_4FGL_J0158.5-3932_daily_bin2215.fits outfile=/lscratch/kocevski/40863285/cmap_HighResolution_813456001_813715201_4FGL_J0158.5-3932_daily_bin2215.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=29.646 yref=-39.5358 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.48
user 0.21
sys 0.13

Computing the diffuse response:
time -p gtdiffrsp evfile=/lscratch/kocevski/40863285/ft1_filtered_4FGL_J0158.5-3932_daily_bin2215.fits evtable="EVENTS" scfile=/lscratch/kocevski/40863285/ft2_4FGL_J0158.5-3932_daily_bin2215.fits scable="SC_DATA" srcmdl=/lscratch/kocevski/40863133/Model_4FGL_J0158.5-3932_daily_bin2215.xml irfs="P8R3_SOURCE_V2" evclsmin=0 evclass="INDEF" evtype="INDEF" convert=yes chatter=2 clobber=yes debug=no gui=no mode="ql"

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

adding source EG_v02
adding source Fornax A
adding source GAL_V02
Working on...
/lscratch/kocevski/40863133/ft1_filtered_4FGL_J0158.5-3932_daily_bin2215.fits.....................!
real 46.60
user 45.22
sys 0.88

Creating the likelihood object...
obs = UnbinnedObs('/lscratch/kocevski/40863133/ft1_filtered_4FGL_J0158.5-3932_daily_bin2215.fits', '/lscratch/kocevski/40863133/ft2_4FGL_J0158.5-3932_daily_bin2215.fits', expMap='/lscratch/kocevski/40863133/expmap_813456001_813715201_4FGL_J0158.5-3932_daily_bin2215.fits', expCube='/lscratch/kocevski/40863133/ltcube_813456001_813715201_4FGL_J0158.5-3932_daily_bin2215.fits', irfs='P8R3_SOURCE_V2')
like = UnbinnedAnalysis(obs, '/lscratch/kocevski/40863133/Model_4FGL_J0158.5-3932_daily_bin2215.xml', optimizer='MINUIT')

Using source of interest name: '4FGL J0158.5-3932'

4FGL J0158.5-3932
   Spectrum: PowerLaw
278    Prefactor:  4.060e+00  0.000e+00  0.000e+00  1.000e+06 ( 1.000e-13)
279        Index:  2.091e+00  0.000e+00  0.000e+00  1.000e+01 (-1.000e+00) fixed
280        Scale:  1.384e+03  0.000e+00  3.000e+01  5.000e+05 ( 1.000e+00) fixed


Likelihood Fit Parameters:
Event file(s): /lscratch/kocevski/40863133/ft1_filtered_4FGL_J0158.5-3932_daily_bin2215.fits
Spacecraft file(s): /lscratch/kocevski/40863133/ft2_4FGL_J0158.5-3932_daily_bin2215.fits
Exposure map: /lscratch/kocevski/40863133/expmap_813456001_813715201_4FGL_J0158.5-3932_daily_bin2215.fits
Exposure cube: /lscratch/kocevski/40863133/ltcube_813456001_813715201_4FGL_J0158.5-3932_daily_bin2215.fits
IRFs: P8R3_SOURCE_V2
Source model file: /lscratch/kocevski/40863133/Model_4FGL_J0158.5-3932_daily_bin2215.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) = 6125.26959347

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

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

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'Prefactor '    .98767E-04   1.0000          .0000       .10000E+07
     2 'Prefactor '    .27916E-03   1.0000          .0000       .10000E+07
     3 'Prefactor '    .61866E-05   1.0000          .0000       .10000E+07
     4 'Prefactor '    .22502E-03   1.0000          .0000       .10000E+07
     5 'norm      '    .35146E-03   1.0000          .0000       .10000E+07
     6 'Prefactor '    .19771E-04   1.0000          .0000       .10000E+07
     7 'Prefactor '    1.6143       1.0000          .0000       .10000E+07
     8 'norm      '    .47068E-06   1.0000          .0000       .10000E+07
     9 'Prefactor '    .89593E-03   1.0000          .0000       .10000E+07
    10 'Prefactor '    .11524E-02   1.0000          .0000       .10000E+07
    11 'Prefactor '    1.2912       1.0000          .0000       .10000E+07
    12 'norm      '    6.0623       1.0000          .0000       .10000E+07
    13 'Prefactor '    .20149E-03   1.0000          .0000       .10000E+07
    14 'Prefactor '    .12761E-02   1.0000          .0000       .10000E+07
    15 'Prefactor '    44.808       1.0000          .0000       .10000E+07
    16 'Prefactor '    .86907       1.0000          .0000       .10000E+07
    17 'norm      '    .27339       1.0000          .0000       .10000E+07
    18 'Normalizat'    1.1656       1.0000         .10000E-01   10.000    
    19 'Prefactor '    1.0015       1.0000          .0000       10.000    
 **********
 **   15 **SET ERR    .5000    
 **********
 **********
 **   16 **SET GRAD    1.000    
 **********
 **********
 **   17 **MINIMIZE    .5510E+05   .2000E-04
 **********

 MIGRAD MINIMIZATION HAS CONVERGED.

 FCN=   6125.226     FROM MIGRAD    STATUS=CONVERGED    137 CALLS     1149 TOTAL
                     EDM=   .12E-08  STRATEGY=1  ERROR MATRIX UNCERTAINTY=  1.1%

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor     .69944E-08    6.9266        .16238E-07** at limit **
   2  Prefactor     .11066E-05    6.1979        .16006E-06** at limit **
   3  Prefactor      .0000        2.3528       -.15552E-07** at limit **
   4  Prefactor      .0000        4.2024        .43176E-07** at limit **
   5  norm          .37748E-08    6.1671       -.63234E-07** at limit **
   6  Prefactor     .17075E-06    4.1626        .25403E-06** at limit **
   7  Prefactor     1.5910        58.891        .69970E-06    .74397E-03
   8  norm           .0000        .67498        .31871E-07** at limit **
   9  Prefactor     .45558E-06    9.4839       -.15766E-06** at limit **
  10  Prefactor     .35111E-06    8.2631       -.95270E-08** at limit **
  11  Prefactor     .85443        18.409       -.24799E-06   -.30002E-01
  12  norm          6.0402        3.2298       -.40286E-08    .13725E-02
  13  Prefactor     .65559E-07    5.3413        .64754E-07** at limit **
  14  Prefactor     .96367E-07    4.8124        .26970E-06** at limit **
  15  Prefactor     47.483        42.229        .21348E-06   -.28270E-01
  16  Prefactor     .87143        3.3434       -.91790E-08    .57235E-03
  17  norm          .27325        .68639        .54105E-07    .76323E-02
  18  Normalizat    1.1650        .20360        .10497E-05    .24291E-03
  19  Prefactor     1.0017        .22420       -.10335E-05    .13486E-03
                               ERR DEF=  .500    
Final values: 
  Prefactor  = 6.99441e-09
  Prefactor  = 1.10661e-06
  Prefactor  = 0
  Prefactor  = 0
  norm       = 3.77476e-09
  Prefactor  = 1.70752e-07
  Prefactor  = 1.59097
  norm       = 0
  Prefactor  = 4.5558e-07
  Prefactor  = 3.51108e-07
  Prefactor  = 0.85443
  norm       = 6.04018
  Prefactor  = 6.55587e-08
  Prefactor  = 9.63674e-08
  Prefactor  = 47.4828
  Prefactor  = 0.871425
  norm       = 0.273255
  Normalizat = 1.16495
  Prefactor  = 1.00168
 **********
 **   18 **HESSE 
 **********

 FCN=   6125.226     FROM HESSE     STATUS=OK           306 CALLS     1455 TOTAL
                     EDM=   .35E-06    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  Prefactor     .69944E-08    6.7776        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   2  Prefactor     .11066E-05    10.143        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   3  Prefactor      .0000        2.3502        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   4  Prefactor      .0000        4.1849        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   5  norm          .37748E-08    6.2068        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   6  Prefactor     .17075E-06    12.451        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   7  Prefactor     1.5910        76.263        .83311E-03   -1.5683    
   8  norm           .0000        .66718        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   9  Prefactor     .45558E-06    15.976        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  10  Prefactor     .35111E-06    9.3300        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  11  Prefactor     .85443        35.519        .15759E-01   -1.5689    
  12  norm          6.0402        3.2275        .40754E-03   -1.5659    
  13  Prefactor     .65559E-07    14.408        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  14  Prefactor     .96367E-07    12.133        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  15  Prefactor     47.483        42.741        .14940E-03   -1.5570    
  16  Prefactor     .87143        3.3622        .47922E-03   -1.5689    
  17  norm          .27325        .70165        .23573E-02   -1.5698    
  18  Normalizat    1.1650        .17415        .35797E-01   -.87693    
  19  Prefactor     1.0017        .19044        .45174E-01   -.92673    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 3.52812e-07
Minuit parameter uncertainties:
  1  0.000434873
  2  0.00670068
  3  1.18263e-05
  4  7.45628e-06
  5  0.000305982
  6  0.00291612
  7  22.0304
  8  5.51189e-06
  9  0.00539559
  10  0.00361984
  11  11.018
  12  3.22746
  13  0.00194415
  14  0.00216272
  15  42.7414
  16  3.36224
  17  0.701647
  18  0.17424
  19  0.190572
Done.

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

Extracting fit parameters...

4FGL J0158.5-3932
   Spectrum: PowerLaw
278    Prefactor:  1.708e-07  2.916e-03  0.000e+00  1.000e+06 ( 1.000e-13)
279        Index:  2.091e+00  0.000e+00  0.000e+00  1.000e+01 (-1.000e+00) fixed
280        Scale:  1.384e+03  0.000e+00  3.000e+01  5.000e+05 ( 1.000e+00) fixed

GAL_V02
   Spectrum: PowerLaw
548    Prefactor:  1.002e+00  1.906e-01  0.000e+00  1.000e+01 ( 1.000e+00)
549        Index:  0.000e+00  0.000e+00 -1.000e+00  1.000e+00 ( 1.000e+00) fixed
550        Scale:  1.000e+02  0.000e+00  5.000e+01  2.000e+02 ( 1.000e+00) fixed

EG_v02
   Spectrum: FileFunction
544   Normalization:  1.165e+00  1.742e-01  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Fixed Index): -0.00
Ra Dec: 29.646 -39.536
Photon Flux Upper Limit: 5.95931907441e-08 ph cm-2 s-1
Energy Flux Upper Limit: 0.00450253642272 MeV cm-2 s-1

Saving results to:
/lscratch/kocevski/40863133/likelihoodResults_813456001_813715201_4FGL_J0158.5-3932_daily_bin2215.txt

Performing a free index iterative likelihood fit...

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

Done.

Freeing candidate source...
Done.

Fit tolerance = 1

Performing likelihood fit...
Done.

MINUIT Return Code (Free Index): 0
logL (Free Index) = 6125.26649932
delta logL = -0.0403583146799

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

MINUIT Return Code (Free Index): 102
logL (Free Index) = 6125.22614483
delta logL = -3.82619509764e-06

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'Prefactor '    .18394E-04   1.0000          .0000       .10000E+07
     2 'Index     '    2.6257       1.0000          .0000       10.000    
     3 'Normalizat'    1.1654       1.0000         .10000E-01   10.000    
     4 'Prefactor '    1.0012       1.0000          .0000       10.000    
 **********
 **   15 **SET ERR    .5000    
 **********
 **********
 **   16 **SET GRAD    1.000    
 **********
 **********
 **   17 **MINIMIZE    .5510E+05   .2000E-04
 **********

 MIGRAD MINIMIZATION HAS CONVERGED.

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

 FCN=   6125.226     FROM MIGRAD    STATUS=CONVERGED     50 CALLS      210 TOTAL
                     EDM=   .28E-10  STRATEGY=1  ERROR MATRIX UNCERTAINTY=100.0%

  EXT PARAMETER                APPROXIMATE        STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor      .0000        5.5146        .42118E-03** at limit **
   2  Index         1.4089        .79709       -.75936E-05     .0000    
   3  Normalizat    1.1649        1.1194        .56951E-05    .11315E-03
   4  Prefactor     1.0017        1.3137       -.13546E-04    .15394E-03
                               ERR DEF=  .500    
Final values: 
  Prefactor  = 0
  Index      = 1.40885
  Normalizat = 1.16495
  Prefactor  = 1.00168
 **********
 **   18 **HESSE 
 **********
  MNHESS FAILS AND WILL RETURN DIAGONAL MATRIX. 

 FCN=   6125.226     FROM HESSE     STATUS=FAILED         9 CALLS      219 TOTAL
                     EDM=   .28E-10  STRATEGY=1  ERROR MATRIX UNCERTAINTY=100.0%

  EXT PARAMETER                APPROXIMATE     INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  Prefactor      .0000        5.5146        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   2  Index         .16746        1.3369       -.75936E-05   -.80125    
   3  Normalizat    1.1649        1.1194        .56951E-05   -.87693    
   4  Prefactor     1.0017        1.3137       -.13546E-04   -.92673    
                               ERR DEF=  .500    
Minuit fit quality: 1   estimated distance: 2.81919e-11
Minuit parameter uncertainties:
  1  8.83567e-06
  2  0.804233
  3  1.14364
  4  1.35969
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) = 6125.226141
delta logL = 6.84940459905e-09

Extracting fit parameters...

4FGL J0158.5-3932
   Spectrum: PowerLaw
278    Prefactor:  0.000e+00  8.836e-06  0.000e+00  1.000e+06 ( 1.000e-13)
279        Index:  1.409e+00  8.042e-01  0.000e+00  1.000e+01 (-1.000e+00)
280        Scale:  1.384e+03  0.000e+00  3.000e+01  5.000e+05 ( 1.000e+00) fixed

GAL_V02
   Spectrum: PowerLaw
548    Prefactor:  1.002e+00  1.360e+00  0.000e+00  1.000e+01 ( 1.000e+00)
549        Index:  0.000e+00  0.000e+00 -1.000e+00  1.000e+00 ( 1.000e+00) fixed
550        Scale:  1.000e+02  0.000e+00  5.000e+01  2.000e+02 ( 1.000e+00) fixed

EG_v02
   Spectrum: FileFunction
544   Normalization:  1.165e+00  1.144e+00  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Free Index): -0.00
Ra Dec: 29.646 -39.536

Creating a high resolution counts map...
INFO: Auto-setting vmin to  0.000e+00 [aplpy.core]
INFO: Auto-setting vmax to  0.000e+00 [aplpy.core]
Saving /lscratch/kocevski/40863133/cmap_HighResolution_813456001_813715201_4FGL_J0158.5-3932_daily_bin2215.png

Cleaning up...

** Nuclear option initiated! **

Updating database...

UPDATE lightcurve_data_v2 SET energy_flux_upper_limit='4.50e-03', job_status='DONE', photon_flux_upper_limit='5.96e-08', time_completed='2026-10-15 01:35:24.168416', job_id='40863133', GAL2='1.00', fit_tolerance='1e-08', EG2='1.16', EG='1.16', time_epoch_completed='1792053324.17', return_code2='101', ts='-0.00', comment='SUCCESS', return_code='0', GAL='1.00', dlogl='6.85e-09', ts2='0.00', photon_index_error='0.00', photon_index='2.09' WHERE bin_id='2215' AND source_name='4FGL J0158.5-3932' AND cadence='daily';

Database successfully updated.


Analysis Complete.


Thu Oct 15 01:35:24 PDT 2026

table="SC_DATA" srcmdl=/lscratch/kocevski/40863285/Model_4FGL_J0158.5-3932_daily_bin2215.xml irfs="P8R3_SOURCE_V2" evclsmin=0 evclass="INDEF" evtype="INDEF" convert=yes chatter=2 clobber=yes debug=no gui=no mode="ql"

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

adding source EG_v02
adding source Fornax A
adding source GAL_V02
Working on...
/lscratch/kocevski/40863285/ft1_filtered_4FGL_J0158.5-3932_daily_bin2215.fits.....................!
real 40.51
user 39.13
sys 0.92

Creating the likelihood object...
obs = UnbinnedObs('/lscratch/kocevski/40863285/ft1_filtered_4FGL_J0158.5-3932_daily_bin2215.fits', '/lscratch/kocevski/40863285/ft2_4FGL_J0158.5-3932_daily_bin2215.fits', expMap='/lscratch/kocevski/40863285/expmap_813456001_813715201_4FGL_J0158.5-3932_daily_bin2215.fits', expCube='/lscratch/kocevski/40863285/ltcube_813456001_813715201_4FGL_J0158.5-3932_daily_bin2215.fits', irfs='P8R3_SOURCE_V2')
like = UnbinnedAnalysis(obs, '/lscratch/kocevski/40863285/Model_4FGL_J0158.5-3932_daily_bin2215.xml', optimizer='MINUIT')

Using source of interest name: '4FGL J0158.5-3932'

4FGL J0158.5-3932
   Spectrum: PowerLaw
278    Prefactor:  4.060e+00  0.000e+00  0.000e+00  1.000e+06 ( 1.000e-13)
279        Index:  2.091e+00  0.000e+00  0.000e+00  1.000e+01 (-1.000e+00) fixed
280        Scale:  1.384e+03  0.000e+00  3.000e+01  5.000e+05 ( 1.000e+00) fixed


Likelihood Fit Parameters:
Event file(s): /lscratch/kocevski/40863285/ft1_filtered_4FGL_J0158.5-3932_daily_bin2215.fits
Spacecraft file(s): /lscratch/kocevski/40863285/ft2_4FGL_J0158.5-3932_daily_bin2215.fits
Exposure map: /lscratch/kocevski/40863285/expmap_813456001_813715201_4FGL_J0158.5-3932_daily_bin2215.fits
Exposure cube: /lscratch/kocevski/40863285/ltcube_813456001_813715201_4FGL_J0158.5-3932_daily_bin2215.fits
IRFs: P8R3_SOURCE_V2
Source model file: /lscratch/kocevski/40863285/Model_4FGL_J0158.5-3932_daily_bin2215.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) = 6125.26959347

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

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

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'Prefactor '    .98767E-04   1.0000          .0000       .10000E+07
     2 'Prefactor '    .27916E-03   1.0000          .0000       .10000E+07
     3 'Prefactor '    .61866E-05   1.0000          .0000       .10000E+07
     4 'Prefactor '    .22502E-03   1.0000          .0000       .10000E+07
     5 'norm      '    .35146E-03   1.0000          .0000       .10000E+07
     6 'Prefactor '    .19771E-04   1.0000          .0000       .10000E+07
     7 'Prefactor '    1.6143       1.0000          .0000       .10000E+07
     8 'norm      '    .47068E-06   1.0000          .0000       .10000E+07
     9 'Prefactor '    .89593E-03   1.0000          .0000       .10000E+07
    10 'Prefactor '    .11524E-02   1.0000          .0000       .10000E+07
    11 'Prefactor '    1.2912       1.0000          .0000       .10000E+07
    12 'norm      '    6.0623       1.0000          .0000       .10000E+07
    13 'Prefactor '    .20149E-03   1.0000          .0000       .10000E+07
    14 'Prefactor '    .12761E-02   1.0000          .0000       .10000E+07
    15 'Prefactor '    44.808       1.0000          .0000       .10000E+07
    16 'Prefactor '    .86907       1.0000          .0000       .10000E+07
    17 'norm      '    .27339       1.0000          .0000       .10000E+07
    18 'Normalizat'    1.1656       1.0000         .10000E-01   10.000    
    19 'Prefactor '    1.0015       1.0000          .0000       10.000    
 **********
 **   15 **SET ERR    .5000    
 **********
 **********
 **   16 **SET GRAD    1.000    
 **********
 **********
 **   17 **MINIMIZE    .5510E+05   .2000E-04
 **********

 MIGRAD MINIMIZATION HAS CONVERGED.

 FCN=   6125.226     FROM MIGRAD    STATUS=CONVERGED    137 CALLS     1149 TOTAL
                     EDM=   .12E-08  STRATEGY=1  ERROR MATRIX UNCERTAINTY=  1.1%

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor     .69944E-08    6.9266        .16238E-07** at limit **
   2  Prefactor     .11066E-05    6.1979        .16006E-06** at limit **
   3  Prefactor      .0000        2.3528       -.15552E-07** at limit **
   4  Prefactor      .0000        4.2024        .43176E-07** at limit **
   5  norm          .37748E-08    6.1671       -.63234E-07** at limit **
   6  Prefactor     .17075E-06    4.1626        .25403E-06** at limit **
   7  Prefactor     1.5910        58.891        .69970E-06    .74397E-03
   8  norm           .0000        .67498        .31871E-07** at limit **
   9  Prefactor     .45558E-06    9.4839       -.15766E-06** at limit **
  10  Prefactor     .35111E-06    8.2631       -.95270E-08** at limit **
  11  Prefactor     .85443        18.409       -.24799E-06   -.30002E-01
  12  norm          6.0402        3.2298       -.40286E-08    .13725E-02
  13  Prefactor     .65559E-07    5.3413        .64754E-07** at limit **
  14  Prefactor     .96367E-07    4.8124        .26970E-06** at limit **
  15  Prefactor     47.483        42.229        .21348E-06   -.28270E-01
  16  Prefactor     .87143        3.3434       -.91790E-08    .57235E-03
  17  norm          .27325        .68639        .54105E-07    .76323E-02
  18  Normalizat    1.1650        .20360        .10497E-05    .24291E-03
  19  Prefactor     1.0017        .22420       -.10335E-05    .13486E-03
                               ERR DEF=  .500    
Final values: 
  Prefactor  = 6.99441e-09
  Prefactor  = 1.10661e-06
  Prefactor  = 0
  Prefactor  = 0
  norm       = 3.77476e-09
  Prefactor  = 1.70752e-07
  Prefactor  = 1.59097
  norm       = 0
  Prefactor  = 4.5558e-07
  Prefactor  = 3.51108e-07
  Prefactor  = 0.85443
  norm       = 6.04018
  Prefactor  = 6.55587e-08
  Prefactor  = 9.63674e-08
  Prefactor  = 47.4828
  Prefactor  = 0.871425
  norm       = 0.273255
  Normalizat = 1.16495
  Prefactor  = 1.00168
 **********
 **   18 **HESSE 
 **********

 FCN=   6125.226     FROM HESSE     STATUS=OK           306 CALLS     1455 TOTAL
                     EDM=   .35E-06    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  Prefactor     .69944E-08    6.7776        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   2  Prefactor     .11066E-05    10.143        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   3  Prefactor      .0000        2.3502        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   4  Prefactor      .0000        4.1849        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   5  norm          .37748E-08    6.2068        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   6  Prefactor     .17075E-06    12.451        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   7  Prefactor     1.5910        76.263        .83311E-03   -1.5683    
   8  norm           .0000        .66718        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   9  Prefactor     .45558E-06    15.976        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  10  Prefactor     .35111E-06    9.3300        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  11  Prefactor     .85443        35.519        .15759E-01   -1.5689    
  12  norm          6.0402        3.2275        .40754E-03   -1.5659    
  13  Prefactor     .65559E-07    14.408        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  14  Prefactor     .96367E-07    12.133        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  15  Prefactor     47.483        42.741        .14940E-03   -1.5570    
  16  Prefactor     .87143        3.3622        .47922E-03   -1.5689    
  17  norm          .27325        .70165        .23573E-02   -1.5698    
  18  Normalizat    1.1650        .17415        .35797E-01   -.87693    
  19  Prefactor     1.0017        .19044        .45174E-01   -.92673    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 3.52812e-07
Minuit parameter uncertainties:
  1  0.000434873
  2  0.00670068
  3  1.18263e-05
  4  7.45628e-06
  5  0.000305982
  6  0.00291612
  7  22.0304
  8  5.51189e-06
  9  0.00539559
  10  0.00361984
  11  11.018
  12  3.22746
  13  0.00194415
  14  0.00216272
  15  42.7414
  16  3.36224
  17  0.701647
  18  0.17424
  19  0.190572
Done.

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

Extracting fit parameters...

4FGL J0158.5-3932
   Spectrum: PowerLaw
278    Prefactor:  1.708e-07  2.916e-03  0.000e+00  1.000e+06 ( 1.000e-13)
279        Index:  2.091e+00  0.000e+00  0.000e+00  1.000e+01 (-1.000e+00) fixed
280        Scale:  1.384e+03  0.000e+00  3.000e+01  5.000e+05 ( 1.000e+00) fixed

GAL_V02
   Spectrum: PowerLaw
548    Prefactor:  1.002e+00  1.906e-01  0.000e+00  1.000e+01 ( 1.000e+00)
549        Index:  0.000e+00  0.000e+00 -1.000e+00  1.000e+00 ( 1.000e+00) fixed
550        Scale:  1.000e+02  0.000e+00  5.000e+01  2.000e+02 ( 1.000e+00) fixed

EG_v02
   Spectrum: FileFunction
544   Normalization:  1.165e+00  1.742e-01  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Fixed Index): -0.00
Ra Dec: 29.646 -39.536
Photon Flux Upper Limit: 5.95931907441e-08 ph cm-2 s-1
Energy Flux Upper Limit: 0.00450253642272 MeV cm-2 s-1

Saving results to:
/lscratch/kocevski/40863285/likelihoodResults_813456001_813715201_4FGL_J0158.5-3932_daily_bin2215.txt

Performing a free index iterative likelihood fit...

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

Done.

Freeing candidate source...
Done.

Fit tolerance = 1

Performing likelihood fit...
Done.

MINUIT Return Code (Free Index): 0
logL (Free Index) = 6125.26649932
delta logL = -0.0403583146799

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

MINUIT Return Code (Free Index): 102
logL (Free Index) = 6125.22614483
delta logL = -3.82619509764e-06

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'Prefactor '    .18394E-04   1.0000          .0000       .10000E+07
     2 'Index     '    2.6257       1.0000          .0000       10.000    
     3 'Normalizat'    1.1654       1.0000         .10000E-01   10.000    
     4 'Prefactor '    1.0012       1.0000          .0000       10.000    
 **********
 **   15 **SET ERR    .5000    
 **********
 **********
 **   16 **SET GRAD    1.000    
 **********
 **********
 **   17 **MINIMIZE    .5510E+05   .2000E-04
 **********

 MIGRAD MINIMIZATION HAS CONVERGED.

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

 FCN=   6125.226     FROM MIGRAD    STATUS=CONVERGED     50 CALLS      210 TOTAL
                     EDM=   .28E-10  STRATEGY=1  ERROR MATRIX UNCERTAINTY=100.0%

  EXT PARAMETER                APPROXIMATE        STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor      .0000        5.5146        .42118E-03** at limit **
   2  Index         1.4089        .79709       -.75936E-05     .0000    
   3  Normalizat    1.1649        1.1194        .56951E-05    .11315E-03
   4  Prefactor     1.0017        1.3137       -.13546E-04    .15394E-03
                               ERR DEF=  .500    
Final values: 
  Prefactor  = 0
  Index      = 1.40885
  Normalizat = 1.16495
  Prefactor  = 1.00168
 **********
 **   18 **HESSE 
 **********
  MNHESS FAILS AND WILL RETURN DIAGONAL MATRIX. 

 FCN=   6125.226     FROM HESSE     STATUS=FAILED         9 CALLS      219 TOTAL
                     EDM=   .28E-10  STRATEGY=1  ERROR MATRIX UNCERTAINTY=100.0%

  EXT PARAMETER                APPROXIMATE     INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  Prefactor      .0000        5.5146        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   2  Index         .16746        1.3369       -.75936E-05   -.80125    
   3  Normalizat    1.1649        1.1194        .56951E-05   -.87693    
   4  Prefactor     1.0017        1.3137       -.13546E-04   -.92673    
                               ERR DEF=  .500    
Minuit fit quality: 1   estimated distance: 2.81919e-11
Minuit parameter uncertainties:
  1  8.83567e-06
  2  0.804233
  3  1.14364
  4  1.35969
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) = 6125.226141
delta logL = 6.84940459905e-09

Extracting fit parameters...

4FGL J0158.5-3932
   Spectrum: PowerLaw
278    Prefactor:  0.000e+00  8.836e-06  0.000e+00  1.000e+06 ( 1.000e-13)
279        Index:  1.409e+00  8.042e-01  0.000e+00  1.000e+01 (-1.000e+00)
280        Scale:  1.384e+03  0.000e+00  3.000e+01  5.000e+05 ( 1.000e+00) fixed

GAL_V02
   Spectrum: PowerLaw
548    Prefactor:  1.002e+00  1.360e+00  0.000e+00  1.000e+01 ( 1.000e+00)
549        Index:  0.000e+00  0.000e+00 -1.000e+00  1.000e+00 ( 1.000e+00) fixed
550        Scale:  1.000e+02  0.000e+00  5.000e+01  2.000e+02 ( 1.000e+00) fixed

EG_v02
   Spectrum: FileFunction
544   Normalization:  1.165e+00  1.144e+00  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Free Index): -0.00
Ra Dec: 29.646 -39.536

Creating a high resolution counts map...
INFO: Auto-setting vmin to  0.000e+00 [aplpy.core]
INFO: Auto-setting vmax to  0.000e+00 [aplpy.core]
Saving /lscratch/kocevski/40863285/cmap_HighResolution_813456001_813715201_4FGL_J0158.5-3932_daily_bin2215.png

Cleaning up...

** Nuclear option initiated! **

Updating database...

UPDATE lightcurve_data_v2 SET energy_flux_upper_limit='4.50e-03', job_status='DONE', photon_flux_upper_limit='5.96e-08', time_completed='2026-10-15 01:36:46.632418', job_id='40863285', GAL2='1.00', fit_tolerance='1e-08', EG2='1.16', EG='1.16', time_epoch_completed='1792053406.63', return_code2='101', ts='-0.00', comment='SUCCESS', return_code='0', GAL='1.00', dlogl='6.85e-09', ts2='0.00', photon_index_error='0.00', photon_index='2.09' WHERE bin_id='2215' AND source_name='4FGL J0158.5-3932' AND cadence='daily';

Database successfully updated.


Analysis Complete.


Thu Oct 15 01:36:46 PDT 2026

