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

 FCN=   8815.705     FROM HESSE     STATUS=OK           491 CALLS     2646 TOTAL
                     EDM=   .19E-06    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  norm          .45316        1.9935        .84061E-03   -1.5694    
   2  norm          8.6936        6.6250        .34007E-03   -1.5649    
   3  Prefactor     12.188        17.057        .28600E-03   -1.5638    
   4  Prefactor     2.1043        4.8024        .71416E-03   -1.5679    
   5  norm          6.4026        2.5268        .39631E-03   -1.5657    
   6  Prefactor     .12212E-08    6.2156        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   7  norm          3.7186        1.8650        .52355E-03   -1.5669    
   8  Prefactor     9.8072        7.3381        .32067E-03   -1.5645    
   9  Prefactor     4.3836        14.401        .48211E-03   -1.5666    
  10  norm          22.746        14.138        .20996E-03   -1.5613    
  11  norm          .33307E-09    1.0394        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  12  Prefactor     78.889        38.253        .11390E-03   -1.5530    
  13  Prefactor     25.063        32.467        .19909E-03   -1.5608    
  14  norm          .16653E-09    1.2926        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  15  Prefactor     .22204E-09    12.888        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  16  norm          .16944        .63035        .24784E-02   -1.5700    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  17  norm          1.4570        2.5806        .89402E-03   -1.5684    
  18  norm          4.1929        10.361        .50113E-03   -1.5667    
  19  Prefactor     .14094E-06    25.934        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  20  Prefactor     11.812        21.464        .29343E-03   -1.5639    
  21  Prefactor     3.6599        3.2866        .52819E-03   -1.5670    
  22  Prefactor     21.374        16.354        .21545E-03   -1.5615    
  23  Prefactor     .33307E-09    1.7255        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  24  Normalizat    .75258        .13759        .43006E-01   -1.0185    
  25  Prefactor     1.3055        .17060        .58059E-01   -.83143    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 1.87722e-07
Minuit parameter uncertainties:
  1  1.9009
  2  6.62505
  3  17.0571
  4  4.80243
  5  2.52685
  6  0.000173015
  7  1.86504
  8  7.33815
  9  14.4008
  10  14.1376
  11  3.77602e-05
  12  38.2528
  13  32.4673
  14  2.80146e-05
  15  0.000110318
  16  0.630347
  17  2.58057
  18  10.3615
  19  0.00382373
  20  21.4637
  21  3.28664
  22  16.3541
  23  4.81415e-05
  24  0.13765
  25  0.170674
_V02
Working on...
/lscratch/kocevski/34446035/ft1_filtered_4FGL_J1312.6+4828_daily_bin2192.fits.....................!
real 28.80
user 27.08
sys 1.01

Creating the likelihood object...
obs = UnbinnedObs('/lscratch/kocevski/34446035/ft1_filtered_4FGL_J1312.6+4828_daily_bin2192.fits', '/lscratch/kocevski/34446035/ft2_4FGL_J1312.6+4828_daily_bin2192.fits', expMap='/lscratch/kocevski/34446035/expmap_807494401_807753601_4FGL_J1312.6+4828_daily_bin2192.fits', expCube='/lscratch/kocevski/34446035/ltcube_807494401_807753601_4FGL_J1312.6+4828_daily_bin2192.fits', irfs='P8R3_SOURCE_V2')
like = UnbinnedAnalysis(obs, '/lscratch/kocevski/34446035/Model_4FGL_J1312.6+4828_daily_bin2192.xml', optimizer='MINUIT')

Using source of interest name: '4FGL J1312.6+4828'

4FGL J1312.6+4828
   Spectrum: LogParabola
360         norm:  4.452e+00  0.000e+00  0.000e+00  1.000e+06 ( 1.000e-12)
361        alpha:  2.066e+00  0.000e+00  0.000e+00  5.000e+00 ( 1.000e+00) fixed
362         beta:  6.200e-02  0.000e+00 -5.000e+00  1.000e+01 ( 1.000e+00) fixed
363           Eb:  7.916e+02  0.000e+00  3.000e+01  5.000e+05 ( 1.000e+00) fixed


Likelihood Fit Parameters:
Event file(s): /lscratch/kocevski/34446035/ft1_filtered_4FGL_J1312.6+4828_daily_bin2192.fits
Spacecraft file(s): /lscratch/kocevski/34446035/ft2_4FGL_J1312.6+4828_daily_bin2192.fits
Exposure map: /lscratch/kocevski/34446035/expmap_807494401_807753601_4FGL_J1312.6+4828_daily_bin2192.fits
Exposure cube: /lscratch/kocevski/34446035/ltcube_807494401_807753601_4FGL_J1312.6+4828_daily_bin2192.fits
IRFs: P8R3_SOURCE_V2
Source model file: /lscratch/kocevski/34446035/Model_4FGL_J1312.6+4828_daily_bin2192.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) = 8815.95248219

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

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

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'norm      '    .44858       1.0000          .0000       .10000E+07
     2 'norm      '    8.6761       1.0000          .0000       .10000E+07
     3 'Prefactor '    12.246       1.0000          .0000       .10000E+07
     4 'Prefactor '    2.0882       1.0000          .0000       .10000E+07
     5 'norm      '    6.4062       1.0000          .0000       .10000E+07
     6 'Prefactor '    .35238E-06   1.0000          .0000       .10000E+07
     7 'norm      '    3.7167       1.0000          .0000       .10000E+07
     8 'Prefactor '    9.7509       1.0000          .0000       .10000E+07
     9 'Prefactor '    4.3604       1.0000          .0000       .10000E+07
    10 'norm      '    22.696       1.0000          .0000       .10000E+07
    11 'norm      '    .40826E-05   1.0000          .0000       .10000E+07
    12 'Prefactor '    77.096       1.0000          .0000       .10000E+07
    13 'Prefactor '    25.239       1.0000          .0000       .10000E+07
    14 'norm      '    .50398E-04   1.0000          .0000       .10000E+07
    15 'Prefactor '    .40513E-02   1.0000          .0000       .10000E+07
    16 'norm      '    .16902       1.0000          .0000       .10000E+07
    17 'norm      '    1.4510       1.0000          .0000       .10000E+07
    18 'norm      '    4.0448       1.0000          .0000       .10000E+07
    19 'Prefactor '    .49106E-03   1.0000          .0000       .10000E+07
    20 'Prefactor '    11.636       1.0000          .0000       .10000E+07
    21 'Prefactor '    3.6542       1.0000          .0000       .10000E+07
    22 'Prefactor '    21.555       1.0000          .0000       .10000E+07
    23 'Prefactor '    .63515E-04   1.0000          .0000       .10000E+07
    24 'Normalizat'    .75394       1.0000         .10000E-01   10.000    
    25 'Prefactor '    1.3053       1.0000          .0000       10.000    
 **********
 **   15 **SET ERR    .5000    
 **/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).

Done.

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

Extracting fit parameters...

4FGL J1312.6+4828
   Spectrum: LogParabola
360         norm:  3.331e-10  3.776e-05  0.000e+00  1.000e+06 ( 1.000e-12)
361        alpha:  2.066e+00  0.000e+00  0.000e+00  5.000e+00 ( 1.000e+00) fixed
362         beta:  6.200e-02  0.000e+00 -5.000e+00  1.000e+01 ( 1.000e+00) fixed
363           Eb:  7.916e+02  0.000e+00  3.000e+01  5.000e+05 ( 1.000e+00) fixed

GAL_V02
   Spectrum: PowerLaw
675    Prefactor:  1.306e+00  1.707e-01  0.000e+00  1.000e+01 ( 1.000e+00)
676        Index:  0.000e+00  0.000e+00 -1.000e+00  1.000e+00 ( 1.000e+00) fixed
677        Scale:  1.000e+02  0.000e+00  5.000e+01  2.000e+02 ( 1.000e+00) fixed

EG_v02
   Spectrum: FileFunction
674   Normalization:  7.526e-01  1.377e-01  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Fixed Index): -0.00
Ra Dec: 198.169 48.470
Photon Flux Upper Limit: 2.92415947314e-08 ph cm-2 s-1
Energy Flux Upper Limit: 1.51463757528e-05 MeV cm-2 s-1

Saving results to:
/lscratch/kocevski/34445982/likelihoodResults_807494401_807753601_4FGL_J1312.6+4828_daily_bin2192.txt

Performing a free index iterative likelihood fit...

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

Done.

Freeing candidate source...
Done.

Fit tolerance = 1

Performing likelihood fit...
Done.

MINUIT Return Code (Free Index): 102
logL (Free Index) = 8815.70532226
delta logL = -0.000192477451492

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

MINUIT Return Code (Free Index): 102
logL (Free Index) = 8815.70513083
delta logL = -1.04085665953e-06

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'norm      '    .27756E-09   1.0000          .0000       .10000E+07
     2 'alpha     '    1.1232       1.0000          .0000       5.0000    
     3 'Normalizat'    .75236       1.0000         .10000E-01   10.000    
     4 'Prefactor '    1.3058       1.0000          .0000       10.000    
 **********
 **   15 **SET ERR    .5000    
 **********
 **********
 **   16 **SET GRAD    1.000    
 **********
 **********
 **   17 **MINIMIZE    .6780E+05   .2000E-04
 **********

 MIGRAD MINIMIZATION HAS CONVERGED.

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

 FCN=   8815.705     FROM MIGRAD    STATUS=CONVERGED     40 CALLS      247 TOTAL
                     EDM=   .40E-11  STRATEGY=1  ERROR MATRIX UNCERTAINTY=100.0%

  EXT PARAMETER                APPROXIMATE        STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  norm           .0000        .67500        .42118E-03** at limit **
   2  alpha         3.2284        1.2544        .33330E-04     .0000    
   3  Normalizat    .75258        1.0921       -.14132E-05   -.45240E-04
   4  Prefactor     1.3055        1.0761        .38712E-05   -.71988E-04
                               ERR DEF=  .500    
Final values: 
  norm       = 0
  alpha      = 3.22839
  Normalizat = 0.752581
  Prefactor  = 1.30553
********
 **********
 **   16 **SET GRAD    1.000    
 **********
 **********
 **   17 **MINIMIZE    .6780E+05   .2000E-04
 **********

 MIGRAD MINIMIZATION HAS CONVERGED.

 FCN=   8815.705     FROM MIGRAD    STATUS=CONVERGED    157 CALLS     2155 TOTAL
                     EDM=   .97E-09  STRATEGY=1  ERROR MATRIX UNCERTAINTY=   .7%

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  norm          .45316        2.0127       -.23923E-06   -.10201E-02
   2  norm          8.6936        5.9604        .18666E-06   -.86996E-03
   3  Prefactor     12.188        2.5498       -.73192E-06    .80671E-02
   4  Prefactor     2.1043        4.7539        .84938E-07    .77455E-03
   5  norm          6.4026        2.5156       -.49394E-07   -.14615E-02
   6  Prefactor     .12212E-08    6.2281        .34671E-06** at limit **
   7  norm          3.7186        1.8629        .20473E-07    .10486E-01
   8  Prefactor     9.8072        7.3144        .82863E-07    .72855E-03
   9  Prefactor     4.3836        8.9244        .52338E-05    .68659E-02
  10  norm          22.746        10.087       -.25970E-05   -.31314E-01
  11  norm          .33307E-09    1.0437       -.15690E-06** at limit **
  12  Prefactor     78.889        35.219        .61754E-06   -.68261E-01
  13  Prefactor     25.063        26.963        .85914E-07   -.50768E-01
  14  norm          .16653E-09    1.2984        .28069E-07** at limit **
  15  Prefactor     .22204E-09    12.825        .25706E-06** at limit **
  16  norm          .16944        1.0810        .22588E-06** at limit **
  17  norm          1.4570        2.5493       -.26799E-06   -.36814E-02
  18  norm          4.1929        10.351       -.19347E-06   -.57377E-03
  19  Prefactor     .14094E-06    24.741        .90130E-06** at limit **
  20  Prefactor     11.812        3.7411        .11861E-05   -.32919E-01
  21  Prefactor     3.6599        3.2187       -.21140E-06   -.15157E-02
  22  Prefactor     21.374        3.9931        .10143E-05   -.18271E-01
  23  Prefactor     .33307E-09    1.7419        .18282E-06** at limit **
  24  Normalizat    .75258        .15670       -.26955E-05    .26441E-03
  25  Prefactor     1.3055        .20038       -.13053E-05    .55351E-03
                               ERR DEF=  .500    
Final values: 
  norm       = 0.453159
  norm       = 8.69362
  Prefactor  = 12.1881
  Prefactor  = 2.10429
  norm       = 6.4026
  Prefactor  = 1.22125e-09
  norm       = 3.71864
  Prefactor  = 9.80722
  Prefactor  = 4.38356
  norm       = 22.7465
  norm       = 3.33067e-10
  Prefactor  = 78.8893
  Prefactor  = 25.0632
  norm       = 1.66533e-10
  Prefactor  = 2.22045e-10
  norm       = 0.16944
  norm       = 1.45697
  norm       = 4.19295
  Prefactor  = 1.40943e-07
  Prefactor  = 11.8116
  Prefactor  = 3.65991
  Prefactor  = 21.3738
  Prefactor  = 3.33067e-10
  Normalizat = 0.752579
  Prefactor  = 1.30553
Done.

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

Extracting fit parameters...

4FGL J1312.6+4828
   Spectrum: LogParabola
360         norm:  3.331e-10  3.776e-05  0.000e+00  1.000e+06 ( 1.000e-12)
361        alpha:  2.066e+00  0.000e+00  0.000e+00  5.000e+00 ( 1.000e+00) fixed
362         beta:  6.200e-02  0.000e+00 -5.000e+00  1.000e+01 ( 1.000e+00) fixed
363           Eb:  7.916e+02  0.000e+00  3.000e+01  5.000e+05 ( 1.000e+00) fixed

GAL_V02
   Spectrum: PowerLaw
675    Prefactor:  1.306e+00  1.707e-01  0.000e+00  1.000e+01 ( 1.000e+00)
676        Index:  0.000e+00  0.000e+00 -1.000e+00  1.000e+00 ( 1.000e+00) fixed
677        Scale:  1.000e+02  0.000e+00  5.000e+01  2.000e+02 ( 1.000e+00) fixed

EG_v02
   Spectrum: FileFunction
674   Normalization:  7.526e-01  1.377e-01  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Fixed Index): -0.00
Ra Dec: 198.169 48.470
Photon Flux Upper Limit: 2.92415947314e-08 ph cm-2 s-1
Energy Flux Upper Limit: 1.51463757528e-05 MeV cm-2 s-1

Saving results to:
/lscratch/kocevski/34445974/likelihoodResults_807494401_807753601_4FGL_J1312.6+4828_daily_bin2192.txt

Performing a free index iterative likelihood fit...

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

Done.

Freeing candidate source...
Done.

Fit tolerance = 1

Performing likelihood fit...
Done.

MINUIT Return Code (Free Index): 102
logL (Free Index) = 8815.70532226
delta logL = -0.000192477451492

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

MINUIT Return Code (Free Index): 102
logL (Free Index) = 8815.70513083
delta logL = -1.04085665953e-06

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'norm      '    .27756E-09   1.0000          .0000       .10000E+07
     2 'alpha     '    1.1232       1.0000          .0000       5.0000    
     3 'Normalizat'    .75236       1.0000         .10000E-01   10.000    
     4 'Prefactor '    1.3058       1.0000          .0000       10.000    
 **********
 **   15 **SET ERR    .5000    
 **********
 **********
 **   16 **SET GRAD    1.000    
 **********
 **********
 **   17 **MINIMIZE    .6780E+05   .2000E-04
 **********

 MIGRAD MINIMIZATION HAS CONVERGED.

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

 FCN=   8815.705     FROM MIGRAD    STATUS=CONVERGED     40 CALLS      247 TOTAL
                     EDM=   .40E-11  STRATEGY=1  ERROR MATRIX UNCERTAINTY=100.0%

  EXT PARAMETER                APPROXIMATE        STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  norm           .0000        .67500        .42118E-03** at limit **
   2  alpha         3.2284        1.2544        .33330E-04     .0000    
   3  Normalizat    .75258        1.0921       -.14132E-05   -.45240E-04
   4  Prefactor     1.3055        1.0761        .38712E-05   -.71988E-04
                               ERR DEF=  .500    
Final values: 
  norm       = 0
  alpha      = 3.22839
  Normalizat = 0.752581
  Prefactor  = 1.30553
 **********
 **   18 **HESSE 
 **********
  MNHESS FAILS AND WILL RETURN DIAGONAL MATRIX. 

 FCN=   8815.705     FROM HESSE     STATUS=FAILED         7 CALLS      254 TOTAL
                     EDM=   .40E-11  STRATEGY=1  ERROR MATRIX UNCERTAINTY=100.0%

  EXT PARAMETER                APPROXIMATE     INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  norm           .0000        .67500        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   2  alpha         1.9682        1.2544        .33330E-04    .29564    
   3  Normalizat    .75258        1.0921       -.14132E-05   -1.0185    
   4  Prefactor     1.3055        1.0761        .38712E-05   -.83143    
                               ERR DEF=  .500    
Minuit fit quality: 1   estimated distance: 3.95028e-12
Minuit parameter uncertainties:
  1  1.65596e-06
  2  1.32044
  3  1.12643
  4  1.09529
 **********
 **   18 **HESSE 
 **********
  MNHESS FAILS AND WILL RETURN DIAGONAL MATRIX. 

 FCN=   8815.705     FROM HESSE     STATUS=FAILED         7 CALLS      254 TOTAL
                     EDM=   .40E-11  STRATEGY=1  ERROR MATRIX UNCERTAINTY=100.0%

  EXT PARAMETER                APPROXIMATE     INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  norm           .0000        .67500        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   2  alpha         1.9682        1.2544        .33330E-04    .29564    
   3  Normalizat    .75258        1.0921       -.14132E-05   -1.0185    
   4  Prefactor     1.3055        1.0761        .38712E-05   -.83143    
                               ERR DEF=  .500    
Minuit fit quality: 1   estimated distance: 3.95028e-12
Minuit parameter uncertainties:
  1  1.65596e-06
  2  1.32044
  3  1.12643
  4  1.09529
Done.

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

Extracting fit parameters...

4FGL J1312.6+4828
   Spectrum: LogParabola
360         norm:  3.331e-10  3.776e-05  0.000e+00  1.000e+06 ( 1.000e-12)
361        alpha:  2.066e+00  0.000e+00  0.000e+00  5.000e+00 ( 1.000e+00) fixed
362         beta:  6.200e-02  0.000e+00 -5.000e+00  1.000e+01 ( 1.000e+00) fixed
363           Eb:  7.916e+02  0.000e+00  3.000e+01  5.000e+05 ( 1.000e+00) fixed

GAL_V02
   Spectrum: PowerLaw
675    Prefactor:  1.306e+00  1.707e-01  0.000e+00  1.000e+01 ( 1.000e+00)
676        Index:  0.000e+00  0.000e+00 -1.000e+00  1.000e+00 ( 1.000e+00) fixed
677        Scale:  1.000e+02  0.000e+00  5.000e+01  2.000e+02 ( 1.000e+00) fixed

EG_v02
   Spectrum: FileFunction
674   Normalization:  7.526e-01  1.377e-01  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Fixed Index): -0.00
Ra Dec: 198.169 48.470
Photon Flux Upper Limit: 2.92415947314e-08 ph cm-2 s-1
Energy Flux Upper Limit: 1.51463757528e-05 MeV cm-2 s-1

Saving results to:
/lscratch/kocevski/34445975/likelihoodResults_807494401_807753601_4FGL_J1312.6+4828_daily_bin2192.txt

Performing a free index iterative likelihood fit...

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

Done.

Freeing candidate source...
Done.

Fit tolerance = 1

Performing likelihood fit...
Done.

MINUIT Return Code (Free Index): 102
logL (Free Index) = 8815.70532226
delta logL = -0.000192477451492

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

MINUIT Return Code (Free Index): 102
logL (Free Index) = 8815.70513083
delta logL = -1.04085665953e-06

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'norm      '    .27756E-09   1.0000          .0000       .10000E+07
     2 'alpha     '    1.1232       1.0000          .0000       5.0000    
     3 'Normalizat'    .75236       1.0000         .10000E-01   10.000    
     4 'Prefactor '    1.3058       1.0000          .0000       10.000    
 **********
 **   15 **SET ERR    .5000    
 **********
 **********
 **   16 **SET GRAD    1.000    
 **********
 **********
 **   17 **MINIMIZE    .6780E+05   .2000E-04
 **********

 MIGRAD MINIMIZATION HAS CONVERGED.

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

 FCN=   8815.705     FROM MIGRAD    STATUS=CONVERGED     40 CALLS      247 TOTAL
                     EDM=   .40E-11  STRATEGY=1  ERROR MATRIX UNCERTAINTY=100.0%

  EXT PARAMETER                APPROXIMATE        STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  norm           .0000        .67500        .42118E-03** at limit **
   2  alpha         3.2284        1.2544        .33330E-04     .0000    
   3  Normalizat    .75258        1.0921       -.14132E-05   -.45240E-04
   4  Prefactor     1.3055        1.0761        .38712E-05   -.71988E-04
                               ERR DEF=  .500    
Final values: 
  norm       = 0
  alpha      = 3.22839
  Normalizat = 0.752581
  Prefactor  = 1.30553
/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)
 **********
 **   18 **HESSE 
 **********
  MNHESS FAILS AND WILL RETURN DIAGONAL MATRIX. 

 FCN=   8815.705     FROM HESSE     STATUS=FAILED         7 CALLS      254 TOTAL
                     EDM=   .40E-11  STRATEGY=1  ERROR MATRIX UNCERTAINTY=100.0%

  EXT PARAMETER                APPROXIMATE     INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  norm           .0000        .67500        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   2  alpha         1.9682        1.2544        .33330E-04    .29564    
   3  Normalizat    .75258        1.0921       -.14132E-05   -1.0185    
   4  Prefactor     1.3055        1.0761        .38712E-05   -.83143    
                               ERR DEF=  .500    
Minuit fit quality: 1   estimated distance: 3.95028e-12
Minuit parameter uncertainties:
  1  1.65596e-06
  2  1.32044
  3  1.12643
  4  1.09529
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) = 8815.70512978
delta logL = 3.6925484892e-10

Extracting fit parameters...

4FGL J1312.6+4828
   Spectrum: LogParabola
360         norm:  0.000e+00  1.656e-06  0.000e+00  1.000e+06 ( 1.000e-12)
361        alpha:  3.228e+00  1.320e+00  0.000e+00  5.000e+00 ( 1.000e+00)
362         beta:  6.200e-02  0.000e+00 -5.000e+00  1.000e+01 ( 1.000e+00) fixed
363           Eb:  7.916e+02  0.000e+00  3.000e+01  5.000e+05 ( 1.000e+00) fixed

GAL_V02
   Spectrum: PowerLaw
675    Prefactor:  1.306e+00  1.095e+00  0.000e+00  1.000e+01 ( 1.000e+00)
676        Index:  0.000e+00  0.000e+00 -1.000e+00  1.000e+00 ( 1.000e+00) fixed
677        Scale:  1.000e+02  0.000e+00  5.000e+01  2.000e+02 ( 1.000e+00) fixed

EG_v02
   Spectrum: FileFunction
674   Normalization:  7.526e-01  1.126e+00  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Free Index): -0.00
Ra Dec: 198.169 48.470

Creating a high resolution counts map...
INFO: Auto-setting vmin to -1.000e-01 [aplpy.core]
INFO: Auto-setting vmax to  1.110e+00 [aplpy.core]
Saving /lscratch/kocevski/34445982/cmap_HighResolution_807494401_807753601_4FGL_J1312.6+4828_daily_bin2192.png

Cleaning up...

** Nuclear option initiated! **

Updating database...

UPDATE lightcurve_data_v2 SET energy_flux_upper_limit='1.51e-05', job_status='DONE', photon_flux_upper_limit='2.92e-08', time_completed='2026-08-07 10:49:15.323667', job_id='34445982', GAL2='1.31', fit_tolerance='1e-08', EG2='0.75', EG='0.75', time_epoch_completed='1786124955.32', return_code2='101', ts='-0.00', comment='SUCCESS', return_code='0', GAL='1.31', dlogl='3.69e-10', ts2='0.00', photon_index_error='0.00', photon_index='2.07' WHERE bin_id='2192' AND source_name='4FGL J1312.6+4828' AND cadence='daily';

Database successfully updated.


Analysis Complete.


Fri Aug  7 10:49:15 PDT 2026

Done.

MINUIT Return Code (Free Index): 101
logL (Free Index) = 8815.70512978
delta logL = 3.6925484892e-10

Extracting fit parameters...

4FGL J1312.6+4828
   Spectrum: LogParabola
360         norm:  0.000e+00  1.656e-06  0.000e+00  1.000e+06 ( 1.000e-12)
361        alpha:  3.228e+00  1.320e+00  0.000e+00  5.000e+00 ( 1.000e+00)
362         beta:  6.200e-02  0.000e+00 -5.000e+00  1.000e+01 ( 1.000e+00) fixed
363           Eb:  7.916e+02  0.000e+00  3.000e+01  5.000e+05 ( 1.000e+00) fixed

GAL_V02
   Spectrum: PowerLaw
675    Prefactor:  1.306e+00  1.095e+00  0.000e+00  1.000e+01 ( 1.000e+00)
676        Index:  0.000e+00  0.000e+00 -1.000e+00  1.000e+00 ( 1.000e+00) fixed
677        Scale:  1.000e+02  0.000e+00  5.000e+01  2.000e+02 ( 1.000e+00) fixed

EG_v02
   Spectrum: FileFunction
674   Normalization:  7.526e-01  1.126e+00  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Free Index): -0.00
Ra Dec: 198.169 48.470

Creating a high resolution counts map...
INFO: Auto-setting vmin to -1.000e-01 [aplpy.core]
INFO: Auto-setting vmax to  1.110e+00 [aplpy.core]
Saving /lscratch/kocevski/34445974/cmap_HighResolution_807494401_807753601_4FGL_J1312.6+4828_daily_bin2192.png

Cleaning up...

** Nuclear option initiated! **

Updating database...

UPDATE lightcurve_data_v2 SET energy_flux_upper_limit='1.51e-05', job_status='DONE', photon_flux_upper_limit='2.92e-08', time_completed='2026-08-07 10:49:15.625173', job_id='34445974', GAL2='1.31', fit_tolerance='1e-08', EG2='0.75', EG='0.75', time_epoch_completed='1786124955.63', return_code2='101', ts='-0.00', comment='SUCCESS', return_code='0', GAL='1.31', dlogl='3.69e-10', ts2='0.00', photon_index_error='0.00', photon_index='2.07' WHERE bin_id='2192' AND source_name='4FGL J1312.6+4828' AND cadence='daily';

Database successfully updated.


Analysis Complete.


Fri Aug  7 10:49:16 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) = 8815.70512978
delta logL = 3.6925484892e-10

Extracting fit parameters...

4FGL J1312.6+4828
   Spectrum: LogParabola
360         norm:  0.000e+00  1.656e-06  0.000e+00  1.000e+06 ( 1.000e-12)
361        alpha:  3.228e+00  1.320e+00  0.000e+00  5.000e+00 ( 1.000e+00)
362         beta:  6.200e-02  0.000e+00 -5.000e+00  1.000e+01 ( 1.000e+00) fixed
363           Eb:  7.916e+02  0.000e+00  3.000e+01  5.000e+05 ( 1.000e+00) fixed

GAL_V02
   Spectrum: PowerLaw
675    Prefactor:  1.306e+00  1.095e+00  0.000e+00  1.000e+01 ( 1.000e+00)
676        Index:  0.000e+00  0.000e+00 -1.000e+00  1.000e+00 ( 1.000e+00) fixed
677        Scale:  1.000e+02  0.000e+00  5.000e+01  2.000e+02 ( 1.000e+00) fixed

EG_v02
   Spectrum: FileFunction
674   Normalization:  7.526e-01  1.126e+00  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Free Index): -0.00
Ra Dec: 198.169 48.470

Creating a high resolution counts map...
INFO: Auto-setting vmin to -1.000e-01 [aplpy.core]
INFO: Auto-setting vmax to  1.110e+00 [aplpy.core]
Saving /lscratch/kocevski/34445975/cmap_HighResolution_807494401_807753601_4FGL_J1312.6+4828_daily_bin2192.png

Cleaning up...

** Nuclear option initiated! **

Updating database...

UPDATE lightcurve_data_v2 SET energy_flux_upper_limit='1.51e-05', job_status='DONE', photon_flux_upper_limit='2.92e-08', time_completed='2026-08-07 10:49:16.826428', job_id='34445975', GAL2='1.31', fit_tolerance='1e-08', EG2='0.75', EG='0.75', time_epoch_completed='1786124956.83', return_code2='101', ts='-0.00', comment='SUCCESS', return_code='0', GAL='1.31', dlogl='3.69e-10', ts2='0.00', photon_index_error='0.00', photon_index='2.07' WHERE bin_id='2192' AND source_name='4FGL J1312.6+4828' AND cadence='daily';

Database successfully updated.


Analysis Complete.


Fri Aug  7 10:49:17 PDT 2026


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

_V02
Working on...
/lscratch/kocevski/34446074/ft1_filtered_4FGL_J1312.6+4828_daily_bin2192.fits.....................!
real 26.55
user 24.81
sys 1.06

Creating the likelihood object...
obs = UnbinnedObs('/lscratch/kocevski/34446074/ft1_filtered_4FGL_J1312.6+4828_daily_bin2192.fits', '/lscratch/kocevski/34446074/ft2_4FGL_J1312.6+4828_daily_bin2192.fits', expMap='/lscratch/kocevski/34446074/expmap_807494401_807753601_4FGL_J1312.6+4828_daily_bin2192.fits', expCube='/lscratch/kocevski/34446074/ltcube_807494401_807753601_4FGL_J1312.6+4828_daily_bin2192.fits', irfs='P8R3_SOURCE_V2')
like = UnbinnedAnalysis(obs, '/lscratch/kocevski/34446074/Model_4FGL_J1312.6+4828_daily_bin2192.xml', optimizer='MINUIT')

Using source of interest name: '4FGL J1312.6+4828'

4FGL J1312.6+4828
   Spectrum: LogParabola
360         norm:  4.452e+00  0.000e+00  0.000e+00  1.000e+06 ( 1.000e-12)
361        alpha:  2.066e+00  0.000e+00  0.000e+00  5.000e+00 ( 1.000e+00) fixed
362         beta:  6.200e-02  0.000e+00 -5.000e+00  1.000e+01 ( 1.000e+00) fixed
363           Eb:  7.916e+02  0.000e+00  3.000e+01  5.000e+05 ( 1.000e+00) fixed


Likelihood Fit Parameters:
Event file(s): /lscratch/kocevski/34446074/ft1_filtered_4FGL_J1312.6+4828_daily_bin2192.fits
Spacecraft file(s): /lscratch/kocevski/34446074/ft2_4FGL_J1312.6+4828_daily_bin2192.fits
Exposure map: /lscratch/kocevski/34446074/expmap_807494401_807753601_4FGL_J1312.6+4828_daily_bin2192.fits
Exposure cube: /lscratch/kocevski/34446074/ltcube_807494401_807753601_4FGL_J1312.6+4828_daily_bin2192.fits
IRFs: P8R3_SOURCE_V2
Source model file: /lscratch/kocevski/34446074/Model_4FGL_J1312.6+4828_daily_bin2192.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) = 8815.95248219

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

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

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'norm      '    .44858       1.0000          .0000       .10000E+07
     2 'norm      '    8.6761       1.0000          .0000       .10000E+07
     3 'Prefactor '    12.246       1.0000          .0000       .10000E+07
     4 'Prefactor '    2.0882       1.0000          .0000       .10000E+07
     5 'norm      '    6.4062       1.0000          .0000       .10000E+07
     6 'Prefactor '    .35238E-06   1.0000          .0000       .10000E+07
     7 'norm      '    3.7167       1.0000          .0000       .10000E+07
     8 'Prefactor '    9.7509       1.0000          .0000       .10000E+07
     9 'Prefactor '    4.3604       1.0000          .0000       .10000E+07
    10 'norm      '    22.696       1.0000          .0000       .10000E+07
    11 'norm      '    .40826E-05   1.0000          .0000       .10000E+07
    12 'Prefactor '    77.096       1.0000          .0000       .10000E+07
    13 'Prefactor '    25.239       1.0000          .0000       .10000E+07
    14 'norm      '    .50398E-04   1.0000          .0000       .10000E+07
    15 'Prefactor '    .40513E-02   1.0000          .0000       .10000E+07
    16 'norm      '    .16902       1.0000          .0000       .10000E+07
    17 'norm      '    1.4510       1.0000          .0000       .10000E+07
    18 'norm      '    4.0448       1.0000          .0000       .10000E+07
    19 'Prefactor '    .49106E-03   1.0000          .0000       .10000E+07
    20 'Prefactor '    11.636       1.0000          .0000       .10000E+07
    21 'Prefactor '    3.6542       1.0000          .0000       .10000E+07
    22 'Prefactor '    21.555       1.0000          .0000       .10000E+07
    23 'Prefactor '    .63515E-04   1.0000          .0000       .10000E+07
    24 'Normalizat'    .75394       1.0000         .10000E-01   10.000    
    25 'Prefactor '    1.3053       1.0000          .0000       10.000    
 **********
 **   15 **SET ERR    .5000    
 **********
 **********
 **   16 **SET GRAD    1.000    
 **********
 **********
 **   17 **MINIMIZE    .6780E+05   .2000E-04
 **********

 MIGRAD MINIMIZATION HAS CONVERGED.

 FCN=   8815.705     FROM MIGRAD    STATUS=CONVERGED    157 CALLS     2155 TOTAL
                     EDM=   .97E-09  STRATEGY=1  ERROR MATRIX UNCERTAINTY=   .7%

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  norm          .45316        2.0127       -.23923E-06   -.10201E-02
   2  norm          8.6936        5.9604        .18666E-06   -.86996E-03
   3  Prefactor     12.188        2.5498       -.73192E-06    .80671E-02
   4  Prefactor     2.1043        4.7539        .84938E-07    .77455E-03
   5  norm          6.4026        2.5156       -.49394E-07   -.14615E-02
   6  Prefactor     .12212E-08    6.2281        .34671E-06** at limit **
   7  norm          3.7186        1.8629        .20473E-07    .10486E-01
   8  Prefactor     9.8072        7.3144        .82863E-07    .72855E-03
   9  Prefactor     4.3836        8.9244        .52338E-05    .68659E-02
  10  norm          22.746        10.087       -.25970E-05   -.31314E-01
  11  norm          .33307E-09    1.0437       -.15690E-06** at limit **
  12  Prefactor     78.889        35.219        .61754E-06   -.68261E-01
  13  Prefactor     25.063        26.963        .85914E-07   -.50768E-01
  14  norm          .16653E-09    1.2984        .28069E-07** at limit **
  15  Prefactor     .22204E-09    12.825        .25706E-06** at limit **
  16  norm          .16944        1.0810        .22588E-06** at limit **
  17  norm          1.4570        2.5493       -.26799E-06   -.36814E-02
  18  norm          4.1929        10.351       -.19347E-06   -.57377E-03
  19  Prefactor     .14094E-06    24.741        .90130E-06** at limit **
  20  Prefactor     11.812        3.7411        .11861E-05   -.32919E-01
  21  Prefactor     3.6599        3.2187       -.21140E-06   -.15157E-02
  22  Prefactor     21.374        3.9931        .10143E-05   -.18271E-01
  23  Prefactor     .33307E-09    1.7419        .18282E-06** at limit **
  24  Normalizat    .75258        .15670       -.26955E-05    .26441E-03
  25  Prefactor     1.3055        .20038       -.13053E-05    .55351E-03
                               ERR DEF=  .500    
Final values: 
  norm       = 0.453159
  norm       = 8.69362
  Prefactor  = 12.1881
  Prefactor  = 2.10429
  norm       = 6.4026
  Prefactor  = 1.22125e-09
  norm       = 3.71864
  Prefactor  = 9.80722
  Prefactor  = 4.38356
  norm       = 22.7465
  norm       = 3.33067e-10
  Prefactor  = 78.8893
  Prefactor  = 25.0632
  norm       = 1.66533e-10
  Prefactor  = 2.22045e-10
  norm       = 0.16944
  norm       = 1.45697
  norm       = 4.19295
  Prefactor  = 1.40943e-07
  Prefactor  = 11.8116
  Prefactor  = 3.65991
  Prefactor  = 21.3738
  Prefactor  = 3.33067e-10
  Normalizat = 0.752579
  Prefactor  = 1.30553
 **********
 **   18 **HESSE 
 **********

 FCN=   8815.705     FROM HESSE     STATUS=OK           491 CALLS     2646 TOTAL
                     EDM=   .19E-06    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  norm          .45316        1.9935        .84061E-03   -1.5694    
   2  norm          8.6936        6.6250        .34007E-03   -1.5649    
   3  Prefactor     12.188        17.057        .28600E-03   -1.5638    
   4  Prefactor     2.1043        4.8024        .71416E-03   -1.5679    
   5  norm          6.4026        2.5268        .39631E-03   -1.5657    
   6  Prefactor     .12212E-08    6.2156        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   7  norm          3.7186        1.8650        .52355E-03   -1.5669    
   8  Prefactor     9.8072        7.3381        .32067E-03   -1.5645    
   9  Prefactor     4.3836        14.401        .48211E-03   -1.5666    
  10  norm          22.746        14.138        .20996E-03   -1.5613    
  11  norm          .33307E-09    1.0394        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  12  Prefactor     78.889        38.253        .11390E-03   -1.5530    
  13  Prefactor     25.063        32.467        .19909E-03   -1.5608    
  14  norm          .16653E-09    1.2926        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  15  Prefactor     .22204E-09    12.888        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  16  norm          .16944        .63035        .24784E-02   -1.5700    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  17  norm          1.4570        2.5806        .89402E-03   -1.5684    
  18  norm          4.1929        10.361        .50113E-03   -1.5667    
  19  Prefactor     .14094E-06    25.934        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  20  Prefactor     11.812        21.464        .29343E-03   -1.5639    
  21  Prefactor     3.6599        3.2866        .52819E-03   -1.5670    
  22  Prefactor     21.374        16.354        .21545E-03   -1.5615    
  23  Prefactor     .33307E-09    1.7255        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  24  Normalizat    .75258        .13759        .43006E-01   -1.0185    
  25  Prefactor     1.3055        .17060        .58059E-01   -.83143    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 1.87722e-07
Minuit parameter uncertainties:
  1  1.9009
  2  6.62505
  3  17.0571
  4  4.80243
  5  2.52685
  6  0.000173015
  7  1.86504
  8  7.33815
  9  14.4008
  10  14.1376
  11  3.77602e-05
  12  38.2528
  13  32.4673
  14  2.80146e-05
  15  0.000110318
  16  0.630347
  17  2.58057
  18  10.3615
  19  0.00382373
  20  21.4637
  21  3.28664
  22  16.3541
  23  4.81415e-05
  24  0.13765
  25  0.170674
Done.

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

Extracting fit parameters...

4FGL J1312.6+4828
   Spectrum: LogParabola
360         norm:  3.331e-10  3.776e-05  0.000e+00  1.000e+06 ( 1.000e-12)
361        alpha:  2.066e+00  0.000e+00  0.000e+00  5.000e+00 ( 1.000e+00) fixed
362         beta:  6.200e-02  0.000e+00 -5.000e+00  1.000e+01 ( 1.000e+00) fixed
363           Eb:  7.916e+02  0.000e+00  3.000e+01  5.000e+05 ( 1.000e+00) fixed

GAL_V02
   Spectrum: PowerLaw
675    Prefactor:  1.306e+00  1.707e-01  0.000e+00  1.000e+01 ( 1.000e+00)
676        Index:  0.000e+00  0.000e+00 -1.000e+00  1.000e+00 ( 1.000e+00) fixed
677        Scale:  1.000e+02  0.000e+00  5.000e+01  2.000e+02 ( 1.000e+00) fixed

EG_v02
   Spectrum: FileFunction
674   Normalization:  7.526e-01  1.377e-01  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Fixed Index): -0.00
Ra Dec: 198.169 48.470
Photon Flux Upper Limit: 2.92415947314e-08 ph cm-2 s-1
Energy Flux Upper Limit: 1.51463757528e-05 MeV cm-2 s-1

Saving results to:
/lscratch/kocevski/34446000/likelihoodResults_807494401_807753601_4FGL_J1312.6+4828_daily_bin2192.txt

Performing a free index iterative likelihood fit...

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

Done.

Freeing candidate source...
Done.

Fit tolerance = 1

Performing likelihood fit...
Done.

MINUIT Return Code (Free Index): 102
logL (Free Index) = 8815.70532226
delta logL = -0.000192477451492

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

MINUIT Return Code (Free Index): 102
logL (Free Index) = 8815.70513083
delta logL = -1.04085665953e-06

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'norm      '    .27756E-09   1.0000          .0000       .10000E+07
     2 'alpha     '    1.1232       1.0000          .0000       5.0000    
     3 'Normalizat'    .75236       1.0000         .10000E-01   10.000    
     4 'Prefactor '    1.3058       1.0000          .0000       10.000    
 **********
 **   15 **SET ERR    .5000    
 **********
 **********
 **   16 **SET GRAD    1.000    
 **********
 **********
 **   17 **MINIMIZE    .6780E+05   .2000E-04
 **********

 MIGRAD MINIMIZATION HAS CONVERGED.

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

 FCN=   8815.705     FROM MIGRAD    STATUS=CONVERGED     40 CALLS      247 TOTAL
                     EDM=   .40E-11  STRATEGY=1  ERROR MATRIX UNCERTAINTY=100.0%

  EXT PARAMETER                APPROXIMATE        STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  norm           .0000        .67500        .42118E-03** at limit **
   2  alpha         3.2284        1.2544        .33330E-04     .0000    
   3  Normalizat    .75258        1.0921       -.14132E-05   -.45240E-04
   4  Prefactor     1.3055        1.0761        .38712E-05   -.71988E-04
                               ERR DEF=  .500    
Final values: 
  norm       = 0
  alpha      = 3.22839
  Normalizat = 0.752581
  Prefactor  = 1.30553
 **********
 **   18 **HESSE 
 **********
  MNHESS FAILS AND WILL RETURN DIAGONAL MATRIX. 

 FCN=   8815.705     FROM HESSE     STATUS=FAILED         7 CALLS      254 TOTAL
                     EDM=   .40E-11  STRATEGY=1  ERROR MATRIX UNCERTAINTY=100.0%

  EXT PARAMETER                APPROXIMATE     INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  norm           .0000        .67500        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   2  alpha         1.9682        1.2544        .33330E-04    .29564    
   3  Normalizat    .75258        1.0921       -.14132E-05   -1.0185    
   4  Prefactor     1.3055        1.0761        .38712E-05   -.83143    
                               ERR DEF=  .500    
Minuit fit quality: 1   estimated distance: 3.95028e-12
Minuit parameter uncertainties:
  1  1.65596e-06
  2  1.32044
  3  1.12643
  4  1.09529
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) = 8815.70512978
delta logL = 3.6925484892e-10

Extracting fit parameters...

4FGL J1312.6+4828
   Spectrum: LogParabola
360         norm:  0.000e+00  1.656e-06  0.000e+00  1.000e+06 ( 1.000e-12)
361        alpha:  3.228e+00  1.320e+00  0.000e+00  5.000e+00 ( 1.000e+00)
362         beta:  6.200e-02  0.000e+00 -5.000e+00  1.000e+01 ( 1.000e+00) fixed
363           Eb:  7.916e+02  0.000e+00  3.000e+01  5.000e+05 ( 1.000e+00) fixed

GAL_V02
   Spectrum: PowerLaw
675    Prefactor:  1.306e+00  1.095e+00  0.000e+00  1.000e+01 ( 1.000e+00)
676        Index:  0.000e+00  0.000e+00 -1.000e+00  1.000e+00 ( 1.000e+00) fixed
677        Scale:  1.000e+02  0.000e+00  5.000e+01  2.000e+02 ( 1.000e+00) fixed

EG_v02
   Spectrum: FileFunction
674   Normalization:  7.526e-01  1.126e+00  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Free Index): -0.00
Ra Dec: 198.169 48.470

Creating a high resolution counts map...
INFO: Auto-setting vmin to -1.000e-01 [aplpy.core]
INFO: Auto-setting vmax to  1.110e+00 [aplpy.core]
Saving /lscratch/kocevski/34446000/cmap_HighResolution_807494401_807753601_4FGL_J1312.6+4828_daily_bin2192.png

Cleaning up...

** Nuclear option initiated! **

Updating database...

UPDATE lightcurve_data_v2 SET energy_flux_upper_limit='1.51e-05', job_status='DONE', photon_flux_upper_limit='2.92e-08', time_completed='2026-08-07 10:49:43.712514', job_id='34446000', GAL2='1.31', fit_tolerance='1e-08', EG2='0.75', EG='0.75', time_epoch_completed='1786124983.71', return_code2='101', ts='-0.00', comment='SUCCESS', return_code='0', GAL='1.31', dlogl='3.69e-10', ts2='0.00', photon_index_error='0.00', photon_index='2.07' WHERE bin_id='2192' AND source_name='4FGL J1312.6+4828' AND cadence='daily';

Database successfully updated.


Analysis Complete.


Fri Aug  7 10:49:44 PDT 2026

_V02
Working on...
/lscratch/kocevski/34446071/ft1_filtered_4FGL_J1312.6+4828_daily_bin2192.fits.....................!
real 30.54
user 28.45
sys 1.18

Creating the likelihood object...
obs = UnbinnedObs('/lscratch/kocevski/34446071/ft1_filtered_4FGL_J1312.6+4828_daily_bin2192.fits', '/lscratch/kocevski/34446071/ft2_4FGL_J1312.6+4828_daily_bin2192.fits', expMap='/lscratch/kocevski/34446071/expmap_807494401_807753601_4FGL_J1312.6+4828_daily_bin2192.fits', expCube='/lscratch/kocevski/34446071/ltcube_807494401_807753601_4FGL_J1312.6+4828_daily_bin2192.fits', irfs='P8R3_SOURCE_V2')
like = UnbinnedAnalysis(obs, '/lscratch/kocevski/34446071/Model_4FGL_J1312.6+4828_daily_bin2192.xml', optimizer='MINUIT')

Using source of interest name: '4FGL J1312.6+4828'

4FGL J1312.6+4828
   Spectrum: LogParabola
360         norm:  4.452e+00  0.000e+00  0.000e+00  1.000e+06 ( 1.000e-12)
361        alpha:  2.066e+00  0.000e+00  0.000e+00  5.000e+00 ( 1.000e+00) fixed
362         beta:  6.200e-02  0.000e+00 -5.000e+00  1.000e+01 ( 1.000e+00) fixed
363           Eb:  7.916e+02  0.000e+00  3.000e+01  5.000e+05 ( 1.000e+00) fixed


Likelihood Fit Parameters:
Event file(s): /lscratch/kocevski/34446071/ft1_filtered_4FGL_J1312.6+4828_daily_bin2192.fits
Spacecraft file(s): /lscratch/kocevski/34446071/ft2_4FGL_J1312.6+4828_daily_bin2192.fits
Exposure map: /lscratch/kocevski/34446071/expmap_807494401_807753601_4FGL_J1312.6+4828_daily_bin2192.fits
Exposure cube: /lscratch/kocevski/34446071/ltcube_807494401_807753601_4FGL_J1312.6+4828_daily_bin2192.fits
IRFs: P8R3_SOURCE_V2
Source model file: /lscratch/kocevski/34446071/Model_4FGL_J1312.6+4828_daily_bin2192.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) = 8815.95248219

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

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

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'norm      '    .44858       1.0000          .0000       .10000E+07
     2 'norm      '    8.6761       1.0000          .0000       .10000E+07
     3 'Prefactor '    12.246       1.0000          .0000       .10000E+07
     4 'Prefactor '    2.0882       1.0000          .0000       .10000E+07
     5 'norm      '    6.4062       1.0000          .0000       .10000E+07
     6 'Prefactor '    .35238E-06   1.0000          .0000       .10000E+07
     7 'norm      '    3.7167       1.0000          .0000       .10000E+07
     8 'Prefactor '    9.7509       1.0000          .0000       .10000E+07
     9 'Prefactor '    4.3604       1.0000          .0000       .10000E+07
    10 'norm      '    22.696       1.0000          .0000       .10000E+07
    11 'norm      '    .40826E-05   1.0000          .0000       .10000E+07
    12 'Prefactor '    77.096       1.0000          .0000       .10000E+07
    13 'Prefactor '    25.239       1.0000          .0000       .10000E+07
    14 'norm      '    .50398E-04   1.0000          .0000       .10000E+07
    15 'Prefactor '    .40513E-02   1.0000          .0000       .10000E+07
    16 'norm      '    .16902       1.0000          .0000       .10000E+07
    17 'norm      '    1.4510       1.0000          .0000       .10000E+07
    18 'norm      '    4.0448       1.0000          .0000       .10000E+07
    19 'Prefactor '    .49106E-03   1.0000          .0000       .10000E+07
    20 'Prefactor '    11.636       1.0000          .0000       .10000E+07
    21 'Prefactor '    3.6542       1.0000          .0000       .10000E+07
    22 'Prefactor '    21.555       1.0000          .0000       .10000E+07
    23 'Prefactor '    .63515E-04   1.0000          .0000       .10000E+07
    24 'Normalizat'    .75394       1.0000         .10000E-01   10.000    
    25 'Prefactor '    1.3053       1.0000          .0000       10.000    
 **********
 **   15 **SET ERR    .5000    
 ** **********
 **   18 **HESSE 
 **********

 FCN=   8815.705     FROM HESSE     STATUS=OK           491 CALLS     2646 TOTAL
                     EDM=   .19E-06    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  norm          .45316        1.9935        .84061E-03   -1.5694    
   2  norm          8.6936        6.6250        .34007E-03   -1.5649    
   3  Prefactor     12.188        17.057        .28600E-03   -1.5638    
   4  Prefactor     2.1043        4.8024        .71416E-03   -1.5679    
   5  norm          6.4026        2.5268        .39631E-03   -1.5657    
   6  Prefactor     .12212E-08    6.2156        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   7  norm          3.7186        1.8650        .52355E-03   -1.5669    
   8  Prefactor     9.8072        7.3381        .32067E-03   -1.5645    
   9  Prefactor     4.3836        14.401        .48211E-03   -1.5666    
  10  norm          22.746        14.138        .20996E-03   -1.5613    
  11  norm          .33307E-09    1.0394        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  12  Prefactor     78.889        38.253        .11390E-03   -1.5530    
  13  Prefactor     25.063        32.467        .19909E-03   -1.5608    
  14  norm          .16653E-09    1.2926        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  15  Prefactor     .22204E-09    12.888        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  16  norm          .16944        .63035        .24784E-02   -1.5700    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  17  norm          1.4570        2.5806        .89402E-03   -1.5684    
  18  norm          4.1929        10.361        .50113E-03   -1.5667    
  19  Prefactor     .14094E-06    25.934        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  20  Prefactor     11.812        21.464        .29343E-03   -1.5639    
  21  Prefactor     3.6599        3.2866        .52819E-03   -1.5670    
  22  Prefactor     21.374        16.354        .21545E-03   -1.5615    
  23  Prefactor     .33307E-09    1.7255        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  24  Normalizat    .75258        .13759        .43006E-01   -1.0185    
  25  Prefactor     1.3055        .17060        .58059E-01   -.83143    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 1.87722e-07
Minuit parameter uncertainties:
  1  1.9009
  2  6.62505
  3  17.0571
  4  4.80243
  5  2.52685
  6  0.000173015
  7  1.86504
  8  7.33815
  9  14.4008
  10  14.1376
  11  3.77602e-05
  12  38.2528
  13  32.4673
  14  2.80146e-05
  15  0.000110318
  16  0.630347
  17  2.58057
  18  10.3615
  19  0.00382373
  20  21.4637
  21  3.28664
  22  16.3541
  23  4.81415e-05
  24  0.13765
  25  0.170674
********
 **********
 **   16 **SET GRAD    1.000    
 **********
 **********
 **   17 **MINIMIZE    .6780E+05   .2000E-04
 **********

 MIGRAD MINIMIZATION HAS CONVERGED.

 FCN=   8815.705     FROM MIGRAD    STATUS=CONVERGED    157 CALLS     2155 TOTAL
                     EDM=   .97E-09  STRATEGY=1  ERROR MATRIX UNCERTAINTY=   .7%

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  norm          .45316        2.0127       -.23923E-06   -.10201E-02
   2  norm          8.6936        5.9604        .18666E-06   -.86996E-03
   3  Prefactor     12.188        2.5498       -.73192E-06    .80671E-02
   4  Prefactor     2.1043        4.7539        .84938E-07    .77455E-03
   5  norm          6.4026        2.5156       -.49394E-07   -.14615E-02
   6  Prefactor     .12212E-08    6.2281        .34671E-06** at limit **
   7  norm          3.7186        1.8629        .20473E-07    .10486E-01
   8  Prefactor     9.8072        7.3144        .82863E-07    .72855E-03
   9  Prefactor     4.3836        8.9244        .52338E-05    .68659E-02
  10  norm          22.746        10.087       -.25970E-05   -.31314E-01
  11  norm          .33307E-09    1.0437       -.15690E-06** at limit **
  12  Prefactor     78.889        35.219        .61754E-06   -.68261E-01
  13  Prefactor     25.063        26.963        .85914E-07   -.50768E-01
  14  norm          .16653E-09    1.2984        .28069E-07** at limit **
  15  Prefactor     .22204E-09    12.825        .25706E-06** at limit **
  16  norm          .16944        1.0810        .22588E-06** at limit **
  17  norm          1.4570        2.5493       -.26799E-06   -.36814E-02
  18  norm          4.1929        10.351       -.19347E-06   -.57377E-03
  19  Prefactor     .14094E-06    24.741        .90130E-06** at limit **
  20  Prefactor     11.812        3.7411        .11861E-05   -.32919E-01
  21  Prefactor     3.6599        3.2187       -.21140E-06   -.15157E-02
  22  Prefactor     21.374        3.9931        .10143E-05   -.18271E-01
  23  Prefactor     .33307E-09    1.7419        .18282E-06** at limit **
  24  Normalizat    .75258        .15670       -.26955E-05    .26441E-03
  25  Prefactor     1.3055        .20038       -.13053E-05    .55351E-03
                               ERR DEF=  .500    
Final values: 
  norm       = 0.453159
  norm       = 8.69362
  Prefactor  = 12.1881
  Prefactor  = 2.10429
  norm       = 6.4026
  Prefactor  = 1.22125e-09
  norm       = 3.71864
  Prefactor  = 9.80722
  Prefactor  = 4.38356
  norm       = 22.7465
  norm       = 3.33067e-10
  Prefactor  = 78.8893
  Prefactor  = 25.0632
  norm       = 1.66533e-10
  Prefactor  = 2.22045e-10
  norm       = 0.16944
  norm       = 1.45697
  norm       = 4.19295
  Prefactor  = 1.40943e-07
  Prefactor  = 11.8116
  Prefactor  = 3.65991
  Prefactor  = 21.3738
  Prefactor  = 3.33067e-10
  Normalizat = 0.752579
  Prefactor  = 1.30553
Done.

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

Extracting fit parameters...

4FGL J1312.6+4828
   Spectrum: LogParabola
360         norm:  3.331e-10  3.776e-05  0.000e+00  1.000e+06 ( 1.000e-12)
361        alpha:  2.066e+00  0.000e+00  0.000e+00  5.000e+00 ( 1.000e+00) fixed
362         beta:  6.200e-02  0.000e+00 -5.000e+00  1.000e+01 ( 1.000e+00) fixed
363           Eb:  7.916e+02  0.000e+00  3.000e+01  5.000e+05 ( 1.000e+00) fixed

GAL_V02
   Spectrum: PowerLaw
675    Prefactor:  1.306e+00  1.707e-01  0.000e+00  1.000e+01 ( 1.000e+00)
676        Index:  0.000e+00  0.000e+00 -1.000e+00  1.000e+00 ( 1.000e+00) fixed
677        Scale:  1.000e+02  0.000e+00  5.000e+01  2.000e+02 ( 1.000e+00) fixed

EG_v02
   Spectrum: FileFunction
674   Normalization:  7.526e-01  1.377e-01  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Fixed Index): -0.00
Ra Dec: 198.169 48.470
Photon Flux Upper Limit: 2.92415947314e-08 ph cm-2 s-1
Energy Flux Upper Limit: 1.51463757528e-05 MeV cm-2 s-1

Saving results to:
/lscratch/kocevski/34446035/likelihoodResults_807494401_807753601_4FGL_J1312.6+4828_daily_bin2192.txt

Performing a free index iterative likelihood fit...

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

Done.

Freeing candidate source...
Done.

Fit tolerance = 1

Performing likelihood fit...
Done.

MINUIT Return Code (Free Index): 102
logL (Free Index) = 8815.70532226
delta logL = -0.000192477451492

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

MINUIT Return Code (Free Index): 102
logL (Free Index) = 8815.70513083
delta logL = -1.04085665953e-06

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'norm      '    .27756E-09   1.0000          .0000       .10000E+07
     2 'alpha     '    1.1232       1.0000          .0000       5.0000    
     3 'Normalizat'    .75236       1.0000         .10000E-01   10.000    
     4 'Prefactor '    1.3058       1.0000          .0000       10.000    
 **********
 **   15 **SET ERR    .5000    
 **********
 **********
 **   16 **SET GRAD    1.000    
 **********
 **********
 **   17 **MINIMIZE    .6780E+05   .2000E-04
 **********

 MIGRAD MINIMIZATION HAS CONVERGED.

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

 FCN=   8815.705     FROM MIGRAD    STATUS=CONVERGED     40 CALLS      247 TOTAL
                     EDM=   .40E-11  STRATEGY=1  ERROR MATRIX UNCERTAINTY=100.0%

  EXT PARAMETER                APPROXIMATE        STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  norm           .0000        .67500        .42118E-03** at limit **
   2  alpha         3.2284        1.2544        .33330E-04     .0000    
   3  Normalizat    .75258        1.0921       -.14132E-05   -.45240E-04
   4  Prefactor     1.3055        1.0761        .38712E-05   -.71988E-04
                               ERR DEF=  .500    
Final values: 
  norm       = 0
  alpha      = 3.22839
  Normalizat = 0.752581
  Prefactor  = 1.30553
 **********
 **   18 **HESSE 
 **********
  MNHESS FAILS AND WILL RETURN DIAGONAL MATRIX. 

 FCN=   8815.705     FROM HESSE     STATUS=FAILED         7 CALLS      254 TOTAL
                     EDM=   .40E-11  STRATEGY=1  ERROR MATRIX UNCERTAINTY=100.0%

  EXT PARAMETER                APPROXIMATE     INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  norm           .0000        .67500        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   2  alpha         1.9682        1.2544        .33330E-04    .29564    
   3  Normalizat    .75258        1.0921       -.14132E-05   -1.0185    
   4  Prefactor     1.3055        1.0761        .38712E-05   -.83143    
                               ERR DEF=  .500    
Minuit fit quality: 1   estimated distance: 3.95028e-12
Minuit parameter uncertainties:
  1  1.65596e-06
  2  1.32044
  3  1.12643
  4  1.09529
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) = 8815.70512978
delta logL = 3.6925484892e-10

Extracting fit parameters...

4FGL J1312.6+4828
   Spectrum: LogParabola
360         norm:  0.000e+00  1.656e-06  0.000e+00  1.000e+06 ( 1.000e-12)
361        alpha:  3.228e+00  1.320e+00  0.000e+00  5.000e+00 ( 1.000e+00)
362         beta:  6.200e-02  0.000e+00 -5.000e+00  1.000e+01 ( 1.000e+00) fixed
363           Eb:  7.916e+02  0.000e+00  3.000e+01  5.000e+05 ( 1.000e+00) fixed

GAL_V02
   Spectrum: PowerLaw
675    Prefactor:  1.306e+00  1.095e+00  0.000e+00  1.000e+01 ( 1.000e+00)
676        Index:  0.000e+00  0.000e+00 -1.000e+00  1.000e+00 ( 1.000e+00) fixed
677        Scale:  1.000e+02  0.000e+00  5.000e+01  2.000e+02 ( 1.000e+00) fixed

EG_v02
   Spectrum: FileFunction
674   Normalization:  7.526e-01  1.126e+00  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Free Index): -0.00
Ra Dec: 198.169 48.470

Creating a high resolution counts map...
INFO: Auto-setting vmin to -1.000e-01 [aplpy.core]
INFO: Auto-setting vmax to  1.110e+00 [aplpy.core]
Saving /lscratch/kocevski/34446035/cmap_HighResolution_807494401_807753601_4FGL_J1312.6+4828_daily_bin2192.png

Cleaning up...

** Nuclear option initiated! **

Updating database...

UPDATE lightcurve_data_v2 SET energy_flux_upper_limit='1.51e-05', job_status='DONE', photon_flux_upper_limit='2.92e-08', time_completed='2026-08-07 10:50:32.007441', job_id='34446035', GAL2='1.31', fit_tolerance='1e-08', EG2='0.75', EG='0.75', time_epoch_completed='1786125032.01', return_code2='101', ts='-0.00', comment='SUCCESS', return_code='0', GAL='1.31', dlogl='3.69e-10', ts2='0.00', photon_index_error='0.00', photon_index='2.07' WHERE bin_id='2192' AND source_name='4FGL J1312.6+4828' AND cadence='daily';

Database successfully updated.


Analysis Complete.


Fri Aug  7 10:50:32 PDT 2026

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

 FCN=   8815.705     FROM HESSE     STATUS=OK           491 CALLS     2646 TOTAL
                     EDM=   .19E-06    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  norm          .45316        1.9935        .84061E-03   -1.5694    
   2  norm          8.6936        6.6250        .34007E-03   -1.5649    
   3  Prefactor     12.188        17.057        .28600E-03   -1.5638    
   4  Prefactor     2.1043        4.8024        .71416E-03   -1.5679    
   5  norm          6.4026        2.5268        .39631E-03   -1.5657    
   6  Prefactor     .12212E-08    6.2156        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   7  norm          3.7186        1.8650        .52355E-03   -1.5669    
   8  Prefactor     9.8072        7.3381        .32067E-03   -1.5645    
   9  Prefactor     4.3836        14.401        .48211E-03   -1.5666    
  10  norm          22.746        14.138        .20996E-03   -1.5613    
  11  norm          .33307E-09    1.0394        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  12  Prefactor     78.889        38.253        .11390E-03   -1.5530    
  13  Prefactor     25.063        32.467        .19909E-03   -1.5608    
  14  norm          .16653E-09    1.2926        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  15  Prefactor     .22204E-09    12.888        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  16  norm          .16944        .63035        .24784E-02   -1.5700    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  17  norm          1.4570        2.5806        .89402E-03   -1.5684    
  18  norm          4.1929        10.361        .50113E-03   -1.5667    
  19  Prefactor     .14094E-06    25.934        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  20  Prefactor     11.812        21.464        .29343E-03   -1.5639    
  21  Prefactor     3.6599        3.2866        .52819E-03   -1.5670    
  22  Prefactor     21.374        16.354        .21545E-03   -1.5615    
  23  Prefactor     .33307E-09    1.7255        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  24  Normalizat    .75258        .13759        .43006E-01   -1.0185    
  25  Prefactor     1.3055        .17060        .58059E-01   -.83143    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 1.87722e-07
Minuit parameter uncertainties:
  1  1.9009
  2  6.62505
  3  17.0571
  4  4.80243
  5  2.52685
  6  0.000173015
  7  1.86504
  8  7.33815
  9  14.4008
  10  14.1376
  11  3.77602e-05
  12  38.2528
  13  32.4673
  14  2.80146e-05
  15  0.000110318
  16  0.630347
  17  2.58057
  18  10.3615
  19  0.00382373
  20  21.4637
  21  3.28664
  22  16.3541
  23  4.81415e-05
  24  0.13765
  25  0.170674
Done.

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

Extracting fit parameters...

4FGL J1312.6+4828
   Spectrum: LogParabola
360         norm:  3.331e-10  3.776e-05  0.000e+00  1.000e+06 ( 1.000e-12)
361        alpha:  2.066e+00  0.000e+00  0.000e+00  5.000e+00 ( 1.000e+00) fixed
362         beta:  6.200e-02  0.000e+00 -5.000e+00  1.000e+01 ( 1.000e+00) fixed
363           Eb:  7.916e+02  0.000e+00  3.000e+01  5.000e+05 ( 1.000e+00) fixed

GAL_V02
   Spectrum: PowerLaw
675    Prefactor:  1.306e+00  1.707e-01  0.000e+00  1.000e+01 ( 1.000e+00)
676        Index:  0.000e+00  0.000e+00 -1.000e+00  1.000e+00 ( 1.000e+00) fixed
677        Scale:  1.000e+02  0.000e+00  5.000e+01  2.000e+02 ( 1.000e+00) fixed

EG_v02
   Spectrum: FileFunction
674   Normalization:  7.526e-01  1.377e-01  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Fixed Index): -0.00
Ra Dec: 198.169 48.470
Photon Flux Upper Limit: 2.92415947314e-08 ph cm-2 s-1
Energy Flux Upper Limit: 1.51463757528e-05 MeV cm-2 s-1

Saving results to:
/lscratch/kocevski/34446074/likelihoodResults_807494401_807753601_4FGL_J1312.6+4828_daily_bin2192.txt

Performing a free index iterative likelihood fit...

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

Done.

Freeing candidate source...
Done.

Fit tolerance = 1

Performing likelihood fit...
Done.

MINUIT Return Code (Free Index): 102
logL (Free Index) = 8815.70532226
delta logL = -0.000192477451492

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

MINUIT Return Code (Free Index): 102
logL (Free Index) = 8815.70513083
delta logL = -1.04085665953e-06

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'norm      '    .27756E-09   1.0000          .0000       .10000E+07
     2 'alpha     '    1.1232       1.0000          .0000       5.0000    
     3 'Normalizat'    .75236       1.0000         .10000E-01   10.000    
     4 'Prefactor '    1.3058       1.0000          .0000       10.000    
 **********
 **   15 **SET ERR    .5000    
 **********
 **********
 **   16 **SET GRAD    1.000    
 **********
 **********
 **   17 **MINIMIZE    .6780E+05   .2000E-04
 **********

 MIGRAD MINIMIZATION HAS CONVERGED.

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

 FCN=   8815.705     FROM MIGRAD    STATUS=CONVERGED     40 CALLS      247 TOTAL
                     EDM=   .40E-11  STRATEGY=1  ERROR MATRIX UNCERTAINTY=100.0%

  EXT PARAMETER                APPROXIMATE        STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  norm           .0000        .67500        .42118E-03** at limit **
   2  alpha         3.2284        1.2544        .33330E-04     .0000    
   3  Normalizat    .75258        1.0921       -.14132E-05   -.45240E-04
   4  Prefactor     1.3055        1.0761        .38712E-05   -.71988E-04
                               ERR DEF=  .500    
Final values: 
  norm       = 0
  alpha      = 3.22839
  Normalizat = 0.752581
  Prefactor  = 1.30553
 **********
 **   18 **HESSE 
 **********
  MNHESS FAILS AND WILL RETURN DIAGONAL MATRIX. 

 FCN=   8815.705     FROM HESSE     STATUS=FAILED         7 CALLS      254 TOTAL
                     EDM=   .40E-11  STRATEGY=1  ERROR MATRIX UNCERTAINTY=100.0%

  EXT PARAMETER                APPROXIMATE     INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  norm           .0000        .67500        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   2  alpha         1.9682        1.2544        .33330E-04    .29564    
   3  Normalizat    .75258        1.0921       -.14132E-05   -1.0185    
   4  Prefactor     1.3055        1.0761        .38712E-05   -.83143    
                               ERR DEF=  .500    
Minuit fit quality: 1   estimated distance: 3.95028e-12
Minuit parameter uncertainties:
  1  1.65596e-06
  2  1.32044
  3  1.12643
  4  1.09529
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) = 8815.70512978
delta logL = 3.6925484892e-10

Extracting fit parameters...

4FGL J1312.6+4828
   Spectrum: LogParabola
360         norm:  0.000e+00  1.656e-06  0.000e+00  1.000e+06 ( 1.000e-12)
361        alpha:  3.228e+00  1.320e+00  0.000e+00  5.000e+00 ( 1.000e+00)
362         beta:  6.200e-02  0.000e+00 -5.000e+00  1.000e+01 ( 1.000e+00) fixed
363           Eb:  7.916e+02  0.000e+00  3.000e+01  5.000e+05 ( 1.000e+00) fixed

GAL_V02
   Spectrum: PowerLaw
675    Prefactor:  1.306e+00  1.095e+00  0.000e+00  1.000e+01 ( 1.000e+00)
676        Index:  0.000e+00  0.000e+00 -1.000e+00  1.000e+00 ( 1.000e+00) fixed
677        Scale:  1.000e+02  0.000e+00  5.000e+01  2.000e+02 ( 1.000e+00) fixed

EG_v02
   Spectrum: FileFunction
674   Normalization:  7.526e-01  1.126e+00  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Free Index): -0.00
Ra Dec: 198.169 48.470

Creating a high resolution counts map...
INFO: Auto-setting vmin to -1.000e-01 [aplpy.core]
INFO: Auto-setting vmax to  1.110e+00 [aplpy.core]
Saving /lscratch/kocevski/34446074/cmap_HighResolution_807494401_807753601_4FGL_J1312.6+4828_daily_bin2192.png

Cleaning up...

** Nuclear option initiated! **

Updating database...

UPDATE lightcurve_data_v2 SET energy_flux_upper_limit='1.51e-05', job_status='DONE', photon_flux_upper_limit='2.92e-08', time_completed='2026-08-07 10:50:50.965057', job_id='34446074', GAL2='1.31', fit_tolerance='1e-08', EG2='0.75', EG='0.75', time_epoch_completed='1786125050.97', return_code2='101', ts='-0.00', comment='SUCCESS', return_code='0', GAL='1.31', dlogl='3.69e-10', ts2='0.00', photon_index_error='0.00', photon_index='2.07' WHERE bin_id='2192' AND source_name='4FGL J1312.6+4828' AND cadence='daily';

Database successfully updated.


Analysis Complete.


Fri Aug  7 10:50:51 PDT 2026

Done.

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

Extracting fit parameters...

4FGL J1312.6+4828
   Spectrum: LogParabola
360         norm:  3.331e-10  3.776e-05  0.000e+00  1.000e+06 ( 1.000e-12)
361        alpha:  2.066e+00  0.000e+00  0.000e+00  5.000e+00 ( 1.000e+00) fixed
362         beta:  6.200e-02  0.000e+00 -5.000e+00  1.000e+01 ( 1.000e+00) fixed
363           Eb:  7.916e+02  0.000e+00  3.000e+01  5.000e+05 ( 1.000e+00) fixed

GAL_V02
   Spectrum: PowerLaw
675    Prefactor:  1.306e+00  1.707e-01  0.000e+00  1.000e+01 ( 1.000e+00)
676        Index:  0.000e+00  0.000e+00 -1.000e+00  1.000e+00 ( 1.000e+00) fixed
677        Scale:  1.000e+02  0.000e+00  5.000e+01  2.000e+02 ( 1.000e+00) fixed

EG_v02
   Spectrum: FileFunction
674   Normalization:  7.526e-01  1.377e-01  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Fixed Index): -0.00
Ra Dec: 198.169 48.470
Photon Flux Upper Limit: 2.92415947314e-08 ph cm-2 s-1
Energy Flux Upper Limit: 1.51463757528e-05 MeV cm-2 s-1

Saving results to:
/lscratch/kocevski/34446071/likelihoodResults_807494401_807753601_4FGL_J1312.6+4828_daily_bin2192.txt

Performing a free index iterative likelihood fit...

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

Done.

Freeing candidate source...
Done.

Fit tolerance = 1

Performing likelihood fit...
Done.

MINUIT Return Code (Free Index): 102
logL (Free Index) = 8815.70532226
delta logL = -0.000192477451492

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

MINUIT Return Code (Free Index): 102
logL (Free Index) = 8815.70513083
delta logL = -1.04085665953e-06

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'norm      '    .27756E-09   1.0000          .0000       .10000E+07
     2 'alpha     '    1.1232       1.0000          .0000       5.0000    
     3 'Normalizat'    .75236       1.0000         .10000E-01   10.000    
     4 'Prefactor '    1.3058       1.0000          .0000       10.000    
 **********
 **   15 **SET ERR    .5000    
 **********
 **********
 **   16 **SET GRAD    1.000    
 **********
 **********
 **   17 **MINIMIZE    .6780E+05   .2000E-04
 **********

 MIGRAD MINIMIZATION HAS CONVERGED.

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

 FCN=   8815.705     FROM MIGRAD    STATUS=CONVERGED     40 CALLS      247 TOTAL
                     EDM=   .40E-11  STRATEGY=1  ERROR MATRIX UNCERTAINTY=100.0%

  EXT PARAMETER                APPROXIMATE        STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  norm           .0000        .67500        .42118E-03** at limit **
   2  alpha         3.2284        1.2544        .33330E-04     .0000    
   3  Normalizat    .75258        1.0921       -.14132E-05   -.45240E-04
   4  Prefactor     1.3055        1.0761        .38712E-05   -.71988E-04
                               ERR DEF=  .500    
Final values: 
  norm       = 0
  alpha      = 3.22839
  Normalizat = 0.752581
  Prefactor  = 1.30553
 **********
 **   18 **HESSE 
 **********
  MNHESS FAILS AND WILL RETURN DIAGONAL MATRIX. 

 FCN=   8815.705     FROM HESSE     STATUS=FAILED         7 CALLS      254 TOTAL
                     EDM=   .40E-11  STRATEGY=1  ERROR MATRIX UNCERTAINTY=100.0%

  EXT PARAMETER                APPROXIMATE     INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  norm           .0000        .67500        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   2  alpha         1.9682        1.2544        .33330E-04    .29564    
   3  Normalizat    .75258        1.0921       -.14132E-05   -1.0185    
   4  Prefactor     1.3055        1.0761        .38712E-05   -.83143    
                               ERR DEF=  .500    
Minuit fit quality: 1   estimated distance: 3.95028e-12
Minuit parameter uncertainties:
  1  1.65596e-06
  2  1.32044
  3  1.12643
  4  1.09529
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) = 8815.70512978
delta logL = 3.6925484892e-10

Extracting fit parameters...

4FGL J1312.6+4828
   Spectrum: LogParabola
360         norm:  0.000e+00  1.656e-06  0.000e+00  1.000e+06 ( 1.000e-12)
361        alpha:  3.228e+00  1.320e+00  0.000e+00  5.000e+00 ( 1.000e+00)
362         beta:  6.200e-02  0.000e+00 -5.000e+00  1.000e+01 ( 1.000e+00) fixed
363           Eb:  7.916e+02  0.000e+00  3.000e+01  5.000e+05 ( 1.000e+00) fixed

GAL_V02
   Spectrum: PowerLaw
675    Prefactor:  1.306e+00  1.095e+00  0.000e+00  1.000e+01 ( 1.000e+00)
676        Index:  0.000e+00  0.000e+00 -1.000e+00  1.000e+00 ( 1.000e+00) fixed
677        Scale:  1.000e+02  0.000e+00  5.000e+01  2.000e+02 ( 1.000e+00) fixed

EG_v02
   Spectrum: FileFunction
674   Normalization:  7.526e-01  1.126e+00  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Free Index): -0.00
Ra Dec: 198.169 48.470

Creating a high resolution counts map...
INFO: Auto-setting vmin to -1.000e-01 [aplpy.core]
INFO: Auto-setting vmax to  1.110e+00 [aplpy.core]
Saving /lscratch/kocevski/34446071/cmap_HighResolution_807494401_807753601_4FGL_J1312.6+4828_daily_bin2192.png

Cleaning up...

** Nuclear option initiated! **

Updating database...

UPDATE lightcurve_data_v2 SET energy_flux_upper_limit='1.51e-05', job_status='DONE', photon_flux_upper_limit='2.92e-08', time_completed='2026-08-07 10:51:27.945728', job_id='34446071', GAL2='1.31', fit_tolerance='1e-08', EG2='0.75', EG='0.75', time_epoch_completed='1786125087.95', return_code2='101', ts='-0.00', comment='SUCCESS', return_code='0', GAL='1.31', dlogl='3.69e-10', ts2='0.00', photon_index_error='0.00', photon_index='2.07' WHERE bin_id='2192' AND source_name='4FGL J1312.6+4828' AND cadence='daily';

Database successfully updated.


Analysis Complete.


Fri Aug  7 10:51:28 PDT 2026

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


Performing analysis on: 4FGL_J1312.6+4828_daily_bin2192
RA = 198.169, Dec = 48.4701
tmin = 807494401, tmax = 807753601
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='34446418', job_status='RUN', time_executed='2026-08-07 10:49:21.686508', time_epoch_executed='1786124961.69' WHERE source_name='4FGL J1312.6+4828' and cadence='daily' and bin_id='2192'

Database successfully updated.
Done.

Creating custom output directory:
/lscratch/kocevski/34446418

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

Retrieving the FT1 file...

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

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

Retrieving 47 files...
Done.


Merging files...

Checksum keywords updated successfully.

Merged file saved to:
/lscratch/kocevski/34446418/ft1_4FGL_J1312.6+4828_daily_bin2192.fits


Retrieving the FT1 file...

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

Retrieving 47 files...
Done.


Merging files...

Merged file saved to:
/lscratch/kocevski/34446418/ft2_4FGL_J1312.6+4828_daily_bin2192.fits


Selecting the photons:
time -p gtselect infile=/lscratch/kocevski/34446418/ft1_4FGL_J1312.6+4828_daily_bin2192.fits outfile=/lscratch/kocevski/34446418/ft1_filteredMKT_4FGL_J1312.6+4828_daily_bin2192.fits ra=198.169 dec=48.4701 rad=12.0 tmin=807494401.0 tmax=807753601.0 emin=100.0 emax=100000.0 zmin=0.0 zmax=90.0 evclass=128 evtype="INDEF" convtype=-1 phasemin=0.0 phasemax=1.0 evtable="EVENTS" chatter=2 clobber=yes debug=no gui=no mode="ql"

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

Done.
real 2.17
user 1.53
sys 0.17

Adding sun position to ft2 file:
/sdf/group/fermi/g/LCRepository/Repository/bin/sunpos /lscratch/kocevski/34446418/ft2_4FGL_J1312.6+4828_daily_bin2192.fits

Selecting the good time intervals:
time -p gtmktime scfile=/lscratch/kocevski/34446418/ft2_4FGL_J1312.6+4828_daily_bin2192.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/34446418/ft1_filteredMKT_4FGL_J1312.6+4828_daily_bin2192.fits evtable="EVENTS" outfile="/lscratch/kocevski/34446418/ft1_filtered_4FGL_J1312.6+4828_daily_bin2192.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.76
user 0.19
sys 0.13

Number of photons that the gtmktime cut: 809

Generating the livetime cube:
time -p gtltcube evfile="/lscratch/kocevski/34446418/ft1_filtered_4FGL_J1312.6+4828_daily_bin2192.fits" evtable="EVENTS" scfile=/lscratch/kocevski/34446418/ft2_4FGL_J1312.6+4828_daily_bin2192.fits sctable="SC_DATA" outfile=/lscratch/kocevski/34446418/ltcube_807494401_807753601_4FGL_J1312.6+4828_daily_bin2192.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/34446418/ft2_4FGL_J1312.6+4828_daily_bin2192.fits
.....................!
real 8.36
user 7.46
sys 0.22

Generating the exposure map:
time -p gtexpmap evfile=/lscratch/kocevski/34446418/ft1_filtered_4FGL_J1312.6+4828_daily_bin2192.fits evtable="EVENTS" scfile=/lscratch/kocevski/34446418/ft2_4FGL_J1312.6+4828_daily_bin2192.fits sctable="SC_DATA" expcube=/lscratch/kocevski/34446418/ltcube_807494401_807753601_4FGL_J1312.6+4828_daily_bin2192.fits outfile=/lscratch/kocevski/34446418/expmap_807494401_807753601_4FGL_J1312.6+4828_daily_bin2192.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/34446418/ltcube_807494401_807753601_4FGL_J1312.6+4828_daily_bin2192.fits
.....................!
real 64.11
user 59.50
sys 3.74

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

Setting source of interest to:
4FGL J1312.6+4828 @ 198.169 48.4701

Creating the counts map:
time -p gtbin evfile=/lscratch/kocevski/34446418/ft1_filtered_4FGL_J1312.6+4828_daily_bin2192.fits scfile=/lscratch/kocevski/34446418/ft2_4FGL_J1312.6+4828_daily_bin2192.fits outfile=/lscratch/kocevski/34446418/cmap_807494401_807753601_4FGL_J1312.6+4828_daily_bin2192.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=198.169 yref=48.4701 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.91
user 0.22
sys 0.14

Creating the high resolution counts map:
time -p gtbin evfile=/lscratch/kocevski/34446418/ft1_filtered_4FGL_J1312.6+4828_daily_bin2192.fits scfile=/lscratch/kocevski/34446418/ft2_4FGL_J1312.6+4828_daily_bin2192.fits outfile=/lscratch/kocevski/34446418/cmap_HighResolution_807494401_807753601_4FGL_J1312.6+4828_daily_bin2192.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=198.169 yref=48.4701 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.94
user 0.22
sys 0.14

Computing the diffuse response:
time -p gtdiffrsp evfile=/lscratch/kocevski/34446418/ft1_filtered_4FGL_J1312.6+4828_daily_bin2192.fits evtable="EVENTS" scfile=/lscratch/kocevski/34446418/ft2_4FGL_J1312.6+4828_daily_bin2192.fits sctable="SC_DATA" srcmdl=/lscratch/kocevski/34446418/Model_4FGL_J1312.6+4828_daily_bin2192.xml irfs="P8R3_SOURCE_V2" evclsmin=0 evclass="INDEF" evtype="INDEF" convert=yes chatter=2 clobber=yes debug=no gui=no mode="ql"

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

adding source EG_v02
adding source GAL_V02
Working on...
/lscratch/kocevski/34446418/ft1_filtered_4FGL_J1312.6+4828_daily_bin2192.fits.....................!
real 25.98
user 24.20
sys 0.97

Creating the likelihood object...
obs = UnbinnedObs('/lscratch/kocevski/34446418/ft1_filtered_4FGL_J1312.6+4828_daily_bin2192.fits', '/lscratch/kocevski/34446418/ft2_4FGL_J1312.6+4828_daily_bin2192.fits', expMap='/lscratch/kocevski/34446418/expmap_807494401_807753601_4FGL_J1312.6+4828_daily_bin2192.fits', expCube='/lscratch/kocevski/34446418/ltcube_807494401_807753601_4FGL_J1312.6+4828_daily_bin2192.fits', irfs='P8R3_SOURCE_V2')
like = UnbinnedAnalysis(obs, '/lscratch/kocevski/34446418/Model_4FGL_J1312.6+4828_daily_bin2192.xml', optimizer='MINUIT')

Using source of interest name: '4FGL J1312.6+4828'

4FGL J1312.6+4828
   Spectrum: LogParabola
360         norm:  4.452e+00  0.000e+00  0.000e+00  1.000e+06 ( 1.000e-12)
361        alpha:  2.066e+00  0.000e+00  0.000e+00  5.000e+00 ( 1.000e+00) fixed
362         beta:  6.200e-02  0.000e+00 -5.000e+00  1.000e+01 ( 1.000e+00) fixed
363           Eb:  7.916e+02  0.000e+00  3.000e+01  5.000e+05 ( 1.000e+00) fixed


Likelihood Fit Parameters:
Event file(s): /lscratch/kocevski/34446418/ft1_filtered_4FGL_J1312.6+4828_daily_bin2192.fits
Spacecraft file(s): /lscratch/kocevski/34446418/ft2_4FGL_J1312.6+4828_daily_bin2192.fits
Exposure map: /lscratch/kocevski/34446418/expmap_807494401_807753601_4FGL_J1312.6+4828_daily_bin2192.fits
Exposure cube: /lscratch/kocevski/34446418/ltcube_807494401_807753601_4FGL_J1312.6+4828_daily_bin2192.fits
IRFs: P8R3_SOURCE_V2
Source model file: /lscratch/kocevski/34446418/Model_4FGL_J1312.6+4828_daily_bin2192.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) = 8815.95248219

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

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

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'norm      '    .44858       1.0000          .0000       .10000E+07
     2 'norm      '    8.6761       1.0000          .0000       .10000E+07
     3 'Prefactor '    12.246       1.0000          .0000       .10000E+07
     4 'Prefactor '    2.0882       1.0000          .0000       .10000E+07
     5 'norm      '    6.4062       1.0000          .0000       .10000E+07
     6 'Prefactor '    .35238E-06   1.0000          .0000       .10000E+07
     7 'norm      '    3.7167       1.0000          .0000       .10000E+07
     8 'Prefactor '    9.7509       1.0000          .0000       .10000E+07
     9 'Prefactor '    4.3604       1.0000          .0000       .10000E+07
    10 'norm      '    22.696       1.0000          .0000       .10000E+07
    11 'norm      '    .40826E-05   1.0000          .0000       .10000E+07
    12 'Prefactor '    77.096       1.0000          .0000       .10000E+07
    13 'Prefactor '    25.239       1.0000          .0000       .10000E+07
    14 'norm      '    .50398E-04   1.0000          .0000       .10000E+07
    15 'Prefactor '    .40513E-02   1.0000          .0000       .10000E+07
    16 'norm      '    .16902       1.0000          .0000       .10000E+07
    17 'norm      '    1.4510       1.0000          .0000       .10000E+07
    18 'norm      '    4.0448       1.0000          .0000       .10000E+07
    19 'Prefactor '    .49106E-03   1.0000          .0000       .10000E+07
    20 'Prefactor '    11.636       1.0000          .0000       .10000E+07
    21 'Prefactor '    3.6542       1.0000          .0000       .10000E+07
    22 'Prefactor '    21.555       1.0000          .0000       .10000E+07
    23 'Prefactor '    .63515E-04   1.0000          .0000       .10000E+07
    24 'Normalizat'    .75394       1.0000         .10000E-01   10.000    
    25 'Prefactor '    1.3053       1.0000          .0000       10.000    
 **********
 **   15 **SET ERR    .5000    
 **********
 **********
 **   16 **SET GRAD    1.000    
 **********
 **********
 **   17 **MINIMIZE    .6780E+05   .2000E-04
 **********

 MIGRAD MINIMIZATION HAS CONVERGED.

 FCN=   8815.705     FROM MIGRAD    STATUS=CONVERGED    157 CALLS     2155 TOTAL
                     EDM=   .97E-09  STRATEGY=1  ERROR MATRIX UNCERTAINTY=   .7%

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  norm          .45316        2.0127       -.23923E-06   -.10201E-02
   2  norm          8.6936        5.9604        .18666E-06   -.86996E-03
   3  Prefactor     12.188        2.5498       -.73192E-06    .80671E-02
   4  Prefactor     2.1043        4.7539        .84938E-07    .77455E-03
   5  norm          6.4026        2.5156       -.49394E-07   -.14615E-02
   6  Prefactor     .12212E-08    6.2281        .34671E-06** at limit **
   7  norm          3.7186        1.8629        .20473E-07    .10486E-01
   8  Prefactor     9.8072        7.3144        .82863E-07    .72855E-03
   9  Prefactor     4.3836        8.9244        .52338E-05    .68659E-02
  10  norm          22.746        10.087       -.25970E-05   -.31314E-01
  11  norm          .33307E-09    1.0437       -.15690E-06** at limit **
  12  Prefactor     78.889        35.219        .61754E-06   -.68261E-01
  13  Prefactor     25.063        26.963        .85914E-07   -.50768E-01
  14  norm          .16653E-09    1.2984        .28069E-07** at limit **
  15  Prefactor     .22204E-09    12.825        .25706E-06** at limit **
  16  norm          .16944        1.0810        .22588E-06** at limit **
  17  norm          1.4570        2.5493       -.26799E-06   -.36814E-02
  18  norm          4.1929        10.351       -.19347E-06   -.57377E-03
  19  Prefactor     .14094E-06    24.741        .90130E-06** at limit **
  20  Prefactor     11.812        3.7411        .11861E-05   -.32919E-01
  21  Prefactor     3.6599        3.2187       -.21140E-06   -.15157E-02
  22  Prefactor     21.374        3.9931        .10143E-05   -.18271E-01
  23  Prefactor     .33307E-09    1.7419        .18282E-06** at limit **
  24  Normalizat    .75258        .15670       -.26955E-05    .26441E-03
  25  Prefactor     1.3055        .20038       -.13053E-05    .55351E-03
                               ERR DEF=  .500    
Final values: 
  norm       = 0.453159
  norm       = 8.69362
  Prefactor  = 12.1881
  Prefactor  = 2.10429
  norm       = 6.4026
  Prefactor  = 1.22125e-09
  norm       = 3.71864
  Prefactor  = 9.80722
  Prefactor  = 4.38356
  norm       = 22.7465
  norm       = 3.33067e-10
  Prefactor  = 78.8893
  Prefactor  = 25.0632
  norm       = 1.66533e-10
  Prefactor  = 2.22045e-10
  norm       = 0.16944
  norm       = 1.45697
  norm       = 4.19295
  Prefactor  = 1.40943e-07
  Prefactor  = 11.8116
  Prefactor  = 3.65991
  Prefactor  = 21.3738
  Prefactor  = 3.33067e-10
  Normalizat = 0.752579
  Prefactor  = 1.30553
 **********
 **   18 **HESSE 
 **********

 FCN=   8815.705     FROM HESSE     STATUS=OK           491 CALLS     2646 TOTAL
                     EDM=   .19E-06    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  norm          .45316        1.9935        .84061E-03   -1.5694    
   2  norm          8.6936        6.6250        .34007E-03   -1.5649    
   3  Prefactor     12.188        17.057        .28600E-03   -1.5638    
   4  Prefactor     2.1043        4.8024        .71416E-03   -1.5679    
   5  norm          6.4026        2.5268        .39631E-03   -1.5657    
   6  Prefactor     .12212E-08    6.2156        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   7  norm          3.7186        1.8650        .52355E-03   -1.5669    
   8  Prefactor     9.8072        7.3381        .32067E-03   -1.5645    
   9  Prefactor     4.3836        14.401        .48211E-03   -1.5666    
  10  norm          22.746        14.138        .20996E-03   -1.5613    
  11  norm          .33307E-09    1.0394        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  12  Prefactor     78.889        38.253        .11390E-03   -1.5530    
  13  Prefactor     25.063        32.467        .19909E-03   -1.5608    
  14  norm          .16653E-09    1.2926        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  15  Prefactor     .22204E-09    12.888        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  16  norm          .16944        .63035        .24784E-02   -1.5700    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  17  norm          1.4570        2.5806        .89402E-03   -1.5684    
  18  norm          4.1929        10.361        .50113E-03   -1.5667    
  19  Prefactor     .14094E-06    25.934        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  20  Prefactor     11.812        21.464        .29343E-03   -1.5639    
  21  Prefactor     3.6599        3.2866        .52819E-03   -1.5670    
  22  Prefactor     21.374        16.354        .21545E-03   -1.5615    
  23  Prefactor     .33307E-09    1.7255        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  24  Normalizat    .75258        .13759        .43006E-01   -1.0185    
  25  Prefactor     1.3055        .17060        .58059E-01   -.83143    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 1.87722e-07
Minuit parameter uncertainties:
  1  1.9009
  2  6.62505
  3  17.0571
  4  4.80243
  5  2.52685
  6  0.000173015
  7  1.86504
  8  7.33815
  9  14.4008
  10  14.1376
  11  3.77602e-05
  12  38.2528
  13  32.4673
  14  2.80146e-05
  15  0.000110318
  16  0.630347
  17  2.58057
  18  10.3615
  19  0.00382373
  20  21.4637
  21  3.28664
  22  16.3541
  23  4.81415e-05
  24  0.13765
  25  0.170674
Done.

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

Extracting fit parameters...

4FGL J1312.6+4828
   Spectrum: LogParabola
360         norm:  3.331e-10  3.776e-05  0.000e+00  1.000e+06 ( 1.000e-12)
361        alpha:  2.066e+00  0.000e+00  0.000e+00  5.000e+00 ( 1.000e+00) fixed
362         beta:  6.200e-02  0.000e+00 -5.000e+00  1.000e+01 ( 1.000e+00) fixed
363           Eb:  7.916e+02  0.000e+00  3.000e+01  5.000e+05 ( 1.000e+00) fixed

GAL_V02
   Spectrum: PowerLaw
675    Prefactor:  1.306e+00  1.707e-01  0.000e+00  1.000e+01 ( 1.000e+00)
676        Index:  0.000e+00  0.000e+00 -1.000e+00  1.000e+00 ( 1.000e+00) fixed
677        Scale:  1.000e+02  0.000e+00  5.000e+01  2.000e+02 ( 1.000e+00) fixed

EG_v02
   Spectrum: FileFunction
674   Normalization:  7.526e-01  1.377e-01  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Fixed Index): -0.00
Ra Dec: 198.169 48.470
Photon Flux Upper Limit: 2.92415947314e-08 ph cm-2 s-1
Energy Flux Upper Limit: 1.51463757528e-05 MeV cm-2 s-1

Saving results to:
/lscratch/kocevski/34446418/likelihoodResults_807494401_807753601_4FGL_J1312.6+4828_daily_bin2192.txt

Performing a free index iterative likelihood fit...

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

Done.

Freeing candidate source...
Done.

Fit tolerance = 1

Performing likelihood fit...
Done.

MINUIT Return Code (Free Index): 102
logL (Free Index) = 8815.70532226
delta logL = -0.000192477451492

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

MINUIT Return Code (Free Index): 102
logL (Free Index) = 8815.70513083
delta logL = -1.04085665953e-06

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'norm      '    .27756E-09   1.0000          .0000       .10000E+07
     2 'alpha     '    1.1232       1.0000          .0000       5.0000    
     3 'Normalizat'    .75236       1.0000         .10000E-01   10.000    
     4 'Prefactor '    1.3058       1.0000          .0000       10.000    
 **********
 **   15 **SET ERR    .5000    
 **********
 **********
 **   16 **SET GRAD    1.000    
 **********
 **********
 **   17 **MINIMIZE    .6780E+05   .2000E-04
 **********

 MIGRAD MINIMIZATION HAS CONVERGED.

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

 FCN=   8815.705     FROM MIGRAD    STATUS=CONVERGED     40 CALLS      247 TOTAL
                     EDM=   .40E-11  STRATEGY=1  ERROR MATRIX UNCERTAINTY=100.0%

  EXT PARAMETER                APPROXIMATE        STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  norm           .0000        .67500        .42118E-03** at limit **
   2  alpha         3.2284        1.2544        .33330E-04     .0000    
   3  Normalizat    .75258        1.0921       -.14132E-05   -.45240E-04
   4  Prefactor     1.3055        1.0761        .38712E-05   -.71988E-04
                               ERR DEF=  .500    
Final values: 
  norm       = 0
  alpha      = 3.22839
  Normalizat = 0.752581
  Prefactor  = 1.30553
 **********
 **   18 **HESSE 
 **********
  MNHESS FAILS AND WILL RETURN DIAGONAL MATRIX. 

 FCN=   8815.705     FROM HESSE     STATUS=FAILED         7 CALLS      254 TOTAL
                     EDM=   .40E-11  STRATEGY=1  ERROR MATRIX UNCERTAINTY=100.0%

  EXT PARAMETER                APPROXIMATE     INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  norm           .0000        .67500        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   2  alpha         1.9682        1.2544        .33330E-04    .29564    
   3  Normalizat    .75258        1.0921       -.14132E-05   -1.0185    
   4  Prefactor     1.3055        1.0761        .38712E-05   -.83143    
                               ERR DEF=  .500    
Minuit fit quality: 1   estimated distance: 3.95028e-12
Minuit parameter uncertainties:
  1  1.65596e-06
  2  1.32044
  3  1.12643
  4  1.09529
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) = 8815.70512978
delta logL = 3.6925484892e-10

Extracting fit parameters...

4FGL J1312.6+4828
   Spectrum: LogParabola
360         norm:  0.000e+00  1.656e-06  0.000e+00  1.000e+06 ( 1.000e-12)
361        alpha:  3.228e+00  1.320e+00  0.000e+00  5.000e+00 ( 1.000e+00)
362         beta:  6.200e-02  0.000e+00 -5.000e+00  1.000e+01 ( 1.000e+00) fixed
363           Eb:  7.916e+02  0.000e+00  3.000e+01  5.000e+05 ( 1.000e+00) fixed

GAL_V02
   Spectrum: PowerLaw
675    Prefactor:  1.306e+00  1.095e+00  0.000e+00  1.000e+01 ( 1.000e+00)
676        Index:  0.000e+00  0.000e+00 -1.000e+00  1.000e+00 ( 1.000e+00) fixed
677        Scale:  1.000e+02  0.000e+00  5.000e+01  2.000e+02 ( 1.000e+00) fixed

EG_v02
   Spectrum: FileFunction
674   Normalization:  7.526e-01  1.126e+00  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Free Index): -0.00
Ra Dec: 198.169 48.470

Creating a high resolution counts map...
INFO: Auto-setting vmin to -1.000e-01 [aplpy.core]
INFO: Auto-setting vmax to  1.110e+00 [aplpy.core]
Saving /lscratch/kocevski/34446418/cmap_HighResolution_807494401_807753601_4FGL_J1312.6+4828_daily_bin2192.png

Cleaning up...

** Nuclear option initiated! **

Updating database...

UPDATE lightcurve_data_v2 SET energy_flux_upper_limit='1.51e-05', job_status='DONE', photon_flux_upper_limit='2.92e-08', time_completed='2026-08-07 10:57:03.261715', job_id='34446418', GAL2='1.31', fit_tolerance='1e-08', EG2='0.75', EG='0.75', time_epoch_completed='1786125423.26', return_code2='101', ts='-0.00', comment='SUCCESS', return_code='0', GAL='1.31', dlogl='3.69e-10', ts2='0.00', photon_index_error='0.00', photon_index='2.07' WHERE bin_id='2192' AND source_name='4FGL J1312.6+4828' AND cadence='daily';

Database successfully updated.


Analysis Complete.


Fri Aug  7 10:57:03 PDT 2026

