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

 FCN=   6893.282     FROM HESSE     STATUS=OK           516 CALLS     2305 TOTAL
                     EDM=   .16E-06    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  norm          5.4999        3.1877        .42823E-03   -1.5661    
   2  Prefactor     .16653E-09    5.6221        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   3  Prefactor      .0000        1.1150        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   4  Prefactor     3.5573        2.3172        .53529E-03   -1.5670    
   5  norm          8.1315        4.5346        .35225E-03   -1.5651    
   6  Prefactor     5.9502        6.1714        .41348E-03   -1.5659    
   7  Prefactor     .91926E-07    100.37        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   8  Prefactor     .44986E-06    36.823        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   9  Prefactor     4.3017        9.0824        .47883E-03   -1.5666    
  10  norm          28.437        8.8026        .18794E-03   -1.5601    
  11  Prefactor     .81601E-08    20.159        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  12  norm          7.8993        5.1365        .35643E-03   -1.5652    
  13  Prefactor     38.322        25.022        .16246E-03   -1.5584    
  14  norm          .27756E-09    7.7464        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  15  norm          23.630        16.515        .20652E-03   -1.5611    
  16  norm          50.466        12.706        .14112E-03   -1.5566    
  17  norm          27.409        19.563        .19087E-03   -1.5603    
  18  norm          .59952E-08    13.808        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  19  Prefactor     5.5866        4.6952        .42339E-03   -1.5661    
  20  Prefactor     .17431E-06    67.017        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  21  Prefactor     .11102E-09    29.170        .16400E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  22  Prefactor     .83267E-09    8.1502        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  23  Prefactor     4.0916        30.971        .48318E-03   -1.5668    
  24  Prefactor     7.0519        5.7516        .37739E-03   -1.5655    
  25  Normalizat    1.1241        .19324        .60061E-01   -.88982    
  26  Prefactor     .82204        .22325        .81045E-01   -.98921    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 1.59367e-07
Minuit parameter uncertainties:
  1  3.18773
  2  5.76996e-05
  3  1.67439e-06
  4  2.31717
  5  4.53463
  6  6.1714
  7  0.00607562
  8  0.00813991
  9  9.08242
  10  8.80259
  11  0.000812252
  12  5.13647
  13  25.0216
  14  9.63345e-05
  15  16.5147
  16  12.7061
  17  19.5628
  18  0.000575366
  19  4.69518
  20  0.00683535
  21  0.000121587
  22  0.000165673
  23  22.5144
  24  5.75162
  25  0.193359
  26  0.223497
/sdf/group/fermi/u/kocevski/software/conda/envs/fermitools_v1.0.5/lib/python2.7/site-packages/pyfits/__init__.py:22: PyFITSDeprecationWarning: PyFITS is deprecated, please use astropy.io.fits
  PyFITSDeprecationWarning)  # noqa

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

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

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

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

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

Extracting fit parameters...

4FGL J1301.6+3336
   Spectrum: PowerLaw
297    Prefactor:  8.160e-09  8.123e-04  0.000e+00  1.000e+06 ( 1.000e-13)
298        Index:  2.593e+00  0.000e+00  0.000e+00  1.000e+01 (-1.000e+00) fixed
299        Scale:  8.366e+02  0.000e+00  3.000e+01  5.000e+05 ( 1.000e+00) fixed

GAL_V02
   Spectrum: PowerLaw
569    Prefactor:  8.220e-01  2.235e-01  0.000e+00  1.000e+01 ( 1.000e+00)
570        Index:  0.000e+00  0.000e+00 -1.000e+00  1.000e+00 ( 1.000e+00) fixed
571        Scale:  1.000e+02  0.000e+00  5.000e+01  2.000e+02 ( 1.000e+00) fixed

EG_v02
   Spectrum: FileFunction
568   Normalization:  1.124e+00  1.934e-01  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Fixed Index): -0.00
Ra Dec: 195.418 33.610
Photon Flux Upper Limit: 1.08744476684e-07 ph cm-2 s-1
Energy Flux Upper Limit: 0.00850686019001 MeV cm-2 s-1

Saving results to:
/lscratch/kocevski/35358134/likelihoodResults_808531201_808790401_4FGL_J1301.6+3336_daily_bin2196.txt

Performing a free index iterative likelihood fit...

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

Done.

Freeing candidate source...
Done.

Fit tolerance = 1

Performing likelihood fit...
Done.

MINUIT Return Code (Free Index): 0
logL (Free Index) = 6893.30564871
delta logL = -0.0238117000517

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

MINUIT Return Code (Free Index): 102
logL (Free Index) = 6893.28183724
delta logL = -2.33623723034e-07

Fit tolerance = 1e-08

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

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

 MIGRAD MINIMIZATION HAS CONVERGED.

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

 FCN=   6893.282     FROM MIGRAD    STATUS=CONVERGED     31 CALLS      190 TOTAL
                     EDM=   .39E-12  STRATEGY=1  ERROR MATRIX UNCERTAINTY=100.0%

  EXT PARAMETER                APPROXIMATE        STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor      .0000        19.499        .42118E-03** at limit **
   2  Index         3.0331        1.0747       -.27684E-04     .0000    
   3  Normalizat    1.1241        1.1399       -.11369E-05   -.16736E-04
   4  Prefactor     .82204        1.1700        .63281E-06   -.13629E-04
                               ERR DEF=  .500    
Final values: 
  Prefactor  = 0
  Index      = 3.03308
  Normalizat = 1.12409
  Prefactor  = 0.82204
 **********
 **   18 **HESSE 
 **********
  MNHESS FAILS AND WILL RETURN DIAGONAL MATRIX. 

 FCN=   6893.282     FROM HESSE     STATUS=FAILED         9 CALLS      199 TOTAL
                     EDM=   .39E-12  STRATEGY=1  ERROR MATRIX UNCERTAINTY=100.0%

  EXT PARAMETER                APPROXIMATE     INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  Prefactor      .0000        19.499        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   2  Index         1.0393        2.0483       -.27684E-04   -.40431    
   3  Normalizat    1.1241        1.1399       -.11369E-05   -.88982    
   4  Prefactor     .82204        1.1700        .63281E-06   -.98921    
                               ERR DEF=  .500    
Minuit fit quality: 1   estimated distance: 3.90884e-13
Minuit parameter uncertainties:
  1  2.17293e-06
  2  1.08469
  3  1.16646
  4  1.20867
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) = 6893.28183701
delta logL = 2.06455297302e-10

Extracting fit parameters...

4FGL J1301.6+3336
   Spectrum: PowerLaw
297    Prefactor:  0.000e+00  2.173e-06  0.000e+00  1.000e+06 ( 1.000e-13)
298        Index:  3.033e+00  1.085e+00  0.000e+00  1.000e+01 (-1.000e+00)
299        Scale:  8.366e+02  0.000e+00  3.000e+01  5.000e+05 ( 1.000e+00) fixed

GAL_V02
   Spectrum: PowerLaw
569    Prefactor:  8.220e-01  1.209e+00  0.000e+00  1.000e+01 ( 1.000e+00)
570        Index:  0.000e+00  0.000e+00 -1.000e+00  1.000e+00 ( 1.000e+00) fixed
571        Scale:  1.000e+02  0.000e+00  5.000e+01  2.000e+02 ( 1.000e+00) fixed

EG_v02
   Spectrum: FileFunction
568   Normalization:  1.124e+00  1.166e+00  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Free Index): -0.00
Ra Dec: 195.418 33.610

Creating a high resolution counts map...
INFO: Auto-setting vmin to -2.500e-04 [aplpy.core]
INFO: Auto-setting vmax to  2.775e-03 [aplpy.core]
Saving /lscratch/kocevski/35358134/cmap_HighResolution_808531201_808790401_4FGL_J1301.6+3336_daily_bin2196.png

Cleaning up...

** Nuclear option initiated! **

Updating database...

UPDATE lightcurve_data_v2 SET energy_flux_upper_limit='8.51e-03', job_status='DONE', photon_flux_upper_limit='1.09e-07', time_completed='2026-08-19 10:06:44.861353', job_id='35358134', GAL2='0.82', fit_tolerance='1e-08', EG2='1.12', EG='1.12', time_epoch_completed='1787159204.86', return_code2='101', ts='-0.00', comment='SUCCESS', return_code='0', GAL='0.82', dlogl='2.06e-10', ts2='0.00', photon_index_error='0.00', photon_index='2.59' WHERE bin_id='2196' AND source_name='4FGL J1301.6+3336' AND cadence='daily';

Database successfully updated.


Analysis Complete.


Wed Aug 19 10:06:45 PDT 2026


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

_V02
Working on...
/lscratch/kocevski/35358185/ft1_filtered_4FGL_J1301.6+3336_daily_bin2196.fits.....................!
real 25.08
user 23.11
sys 1.06

Creating the likelihood object...
obs = UnbinnedObs('/lscratch/kocevski/35358185/ft1_filtered_4FGL_J1301.6+3336_daily_bin2196.fits', '/lscratch/kocevski/35358185/ft2_4FGL_J1301.6+3336_daily_bin2196.fits', expMap='/lscratch/kocevski/35358185/expmap_808531201_808790401_4FGL_J1301.6+3336_daily_bin2196.fits', expCube='/lscratch/kocevski/35358185/ltcube_808531201_808790401_4FGL_J1301.6+3336_daily_bin2196.fits', irfs='P8R3_SOURCE_V2')
like = UnbinnedAnalysis(obs, '/lscratch/kocevski/35358185/Model_4FGL_J1301.6+3336_daily_bin2196.xml', optimizer='MINUIT')

Using source of interest name: '4FGL J1301.6+3336'

4FGL J1301.6+3336
   Spectrum: PowerLaw
297    Prefactor:  4.837e+00  0.000e+00  0.000e+00  1.000e+06 ( 1.000e-13)
298        Index:  2.593e+00  0.000e+00  0.000e+00  1.000e+01 (-1.000e+00) fixed
299        Scale:  8.366e+02  0.000e+00  3.000e+01  5.000e+05 ( 1.000e+00) fixed


Likelihood Fit Parameters:
Event file(s): /lscratch/kocevski/35358185/ft1_filtered_4FGL_J1301.6+3336_daily_bin2196.fits
Spacecraft file(s): /lscratch/kocevski/35358185/ft2_4FGL_J1301.6+3336_daily_bin2196.fits
Exposure map: /lscratch/kocevski/35358185/expmap_808531201_808790401_4FGL_J1301.6+3336_daily_bin2196.fits
Exposure cube: /lscratch/kocevski/35358185/ltcube_808531201_808790401_4FGL_J1301.6+3336_daily_bin2196.fits
IRFs: P8R3_SOURCE_V2
Source model file: /lscratch/kocevski/35358185/Model_4FGL_J1301.6+3336_daily_bin2196.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) = 6894.30961183

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

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

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'norm      '    5.4990       1.0000          .0000       .10000E+07
     2 'Prefactor '    .29177E-05   1.0000          .0000       .10000E+07
     3 'Prefactor '    .39178E-05   1.0000          .0000       .10000E+07
     4 'Prefactor '    3.5616       1.0000          .0000       .10000E+07
     5 'norm      '    8.0902       1.0000          .0000       .10000E+07
     6 'Prefactor '    5.8920       1.0000          .0000       .10000E+07
     7 'Prefactor '    .74510E-02   1.0000          .0000       .10000E+07
     8 'Prefactor '    .10796E-04   1.0000          .0000       .10000E+07
     9 'Prefactor '    4.4188       1.0000          .0000       .10000E+07
    10 'norm      '    28.321       1.0000          .0000       .10000E+07
    11 'Prefactor '    .66182E-02   1.0000          .0000       .10000E+07
    12 'norm      '    7.9031       1.0000          .0000       .10000E+07
    13 'Prefactor '    37.898       1.0000          .0000       .10000E+07
    14 'norm      '    .23051E-03   1.0000          .0000       .10000E+07
    15 'norm      '    23.458       1.0000          .0000       .10000E+07
    16 'norm      '    50.220       1.0000          .0000       .10000E+07
    17 'norm      '    27.460       1.0000          .0000       .10000E+07
    18 'norm      '    .62536E-02   1.0000          .0000       .10000E+07
    19 'Prefactor '    5.6233       1.0000          .0000       .10000E+07
    20 'Prefactor '    .78037E-02   1.0000          .0000       .10000E+07
    21 'Prefactor '    .30965E-01   1.0000          .0000       .10000E+07
    22 'Prefactor '    .13253E-03   1.0000          .0000       .10000E+07
    23 'Prefactor '    4.3418       1.0000          .0000       .10000E+07
    24 'Prefactor '    7.0571       1.0000          .0000       .10000E+07
    25 'Normalizat'    1.1252       1.0000         .10000E-01   10.000    
    26 'Prefactor '    .82147       1.0000          .0000       10.000    
 **********
 **   15 **SET ERR    .5000    
 **********
 **********
 **   16 **SET GRAD    1.000    
 **********
 **********
 **   17 **MINIMIZE    .5720E+05   .2000E-04
 **********

 MIGRAD MINIMIZATION HAS CONVERGED.

 FCN=   6893.282     FROM MIGRAD    STATUS=CONVERGED    201 CALLS     1789 TOTAL
                     EDM=   .20E-09  STRATEGY=1  ERROR MATRIX UNCERTAINTY=   .9%

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  norm          5.4999        3.1833        .10624E-07    .15523E-03
   2  Prefactor     .16653E-09    5.6345        .14027E-06** at limit **
   3  Prefactor      .0000        1.1150        .37556E-07** at limit **
   4  Prefactor     3.5573        2.3113       -.34830E-07    .99693E-03
   5  norm          8.1315        4.5299        .29057E-07   -.47501E-03
   6  Prefactor     5.9502        6.1682        .18377E-07   -.11573E-03
   7  Prefactor     .91926E-07    100.52       -.29031E-05** at limit **
   8  Prefactor     .44986E-06    35.286        .77212E-06** at limit **
   9  Prefactor     4.3017        8.1594       -.30883E-07   -.46662E-02
  10  norm          28.437        8.7564       -.84319E-08   -.12577E-02
  11  Prefactor     .81601E-08    20.054        .50418E-06** at limit **
  12  norm          7.8993        5.1297       -.60794E-07    .98778E-03
  13  Prefactor     38.322        10.696       -.11582E-06    .82111E-01
  14  norm          .27756E-09    7.7508        .99473E-07** at limit **
  15  norm          23.630        15.400       -.63744E-07   -.39514E-01
  16  norm          50.466        7.4880       -.99235E-09    .10549E-01
  17  norm          27.409        4.7813        .25536E-07   -.15231E-01
  18  norm          .59952E-08    13.758       -.21055E-06** at limit **
  19  Prefactor     5.5866        4.6554       -.25470E-07    .51518E-04
  20  Prefactor     .17431E-06    66.518       -.82502E-06** at limit **
  21  Prefactor     .11102E-09    29.110       -.55711E-06** at limit **
  22  Prefactor     .83267E-09    8.1393        .18234E-06** at limit **
  23  Prefactor     4.0916        3.8942        .79534E-07   -.85746E-02
  24  Prefactor     7.0519        5.7402       -.16951E-07    .29714E-03
  25  Normalizat    1.1241        .23171        .86396E-06    .80022E-04
  26  Prefactor     .82204        .26671       -.31615E-05    .68812E-04
                               ERR DEF=  .500    
Final values: 
  norm       = 5.49994
  Prefactor  = 1.66533e-10
  Prefactor  = 0
  Prefactor  = 3.55726
  norm       = 8.13155
  Prefactor  = 5.95022
  Prefactor  = 9.19265e-08
  Prefactor  = 4.49862e-07
  Prefactor  = 4.30166
  norm       = 28.4368
  Prefactor  = 8.16014e-09
  norm       = 7.89935
  Prefactor  = 38.3222
  norm       = 2.77556e-10
  norm       = 23.6301
  norm       = 50.4657
  norm       = 27.4087
  norm       = 5.9952e-09
  Prefactor  = 5.5866
  Prefactor  = 1.74305e-07
  Prefactor  = 1.11022e-10
  Prefactor  = 8.32667e-10
  Prefactor  = 4.09163
  Prefactor  = 7.05193
  Normalizat = 1.12409
  Prefactor  = 0.82204
 **********
 **   18 **HESSE 
 **********

 FCN=   6893.282     FROM HESSE     STATUS=OK           516 CALLS     2305 TOTAL
                     EDM=   .16E-06    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  norm          5.4999        3.1877        .42823E-03   -1.5661    
   2  Prefactor     .16653E-09    5.6221        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   3  Prefactor      .0000        1.1150        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   4  Prefactor     3.5573        2.3172        .53529E-03   -1.5670    
   5  norm          8.1315        4.5346        .35225E-03   -1.5651    
   6  Prefactor     5.9502        6.1714        .41348E-03   -1.5659    
   7  Prefactor     .91926E-07    100.37        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   8  Prefactor     .44986E-06    36.823        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   9  Prefactor     4.3017        9.0824        .47883E-03   -1.5666    
  10  norm          28.437        8.8026        .18794E-03   -1.5601    
  11  Prefactor     .81601E-08    20.159        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  12  norm          7.8993        5.1365        .35643E-03   -1.5652    
  13  Prefactor     38.322        25.022        .16246E-03   -1.5584    
  14  norm          .27756E-09    7.7464        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  15  norm          23.630        16.515        .20652E-03   -1.5611    
  16  norm          50.466        12.706        .14112E-03   -1.5566    
  17  norm          27.409        19.563        .19087E-03   -1.5603    
  18  norm          .59952E-08    13.808        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  19  Prefactor     5.5866        4.6952        .42339E-03   -1.5661    
  20  Prefactor     .17431E-06    67.017        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  21  Prefactor     .11102E-09    29.170        .16400E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  22  Prefactor     .83267E-09    8.1502        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  23  Prefactor     4.0916        30.971        .48318E-03   -1.5668    
  24  Prefactor     7.0519        5.7516        .37739E-03   -1.5655    
  25  Normalizat    1.1241        .19324        .60061E-01   -.88982    
  26  Prefactor     .82204        .22325        .81045E-01   -.98921    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 1.59367e-07
Minuit parameter uncertainties:
  1  3.18773
  2  5.76996e-05
  3  1.67439e-06
  4  2.31717
  5  4.53463
  6  6.1714
  7  0.00607562
  8  0.00813991
  9  9.08242
  10  8.80259
  11  0.000812252
  12  5.13647
  13  25.0216
  14  9.63345e-05
  15  16.5147
  16  12.7061
  17  19.5628
  18  0.000575366
  19  4.69518
  20  0.00683535
  21  0.000121587
  22  0.000165673
  23  22.5144
  24  5.75162
  25  0.193359
  26  0.223497
Done.

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

Extracting fit parameters...

4FGL J1301.6+3336
   Spectrum: PowerLaw
297    Prefactor:  8.160e-09  8.123e-04  0.000e+00  1.000e+06 ( 1.000e-13)
298        Index:  2.593e+00  0.000e+00  0.000e+00  1.000e+01 (-1.000e+00) fixed
299        Scale:  8.366e+02  0.000e+00  3.000e+01  5.000e+05 ( 1.000e+00) fixed

GAL_V02
   Spectrum: PowerLaw
569    Prefactor:  8.220e-01  2.235e-01  0.000e+00  1.000e+01 ( 1.000e+00)
570        Index:  0.000e+00  0.000e+00 -1.000e+00  1.000e+00 ( 1.000e+00) fixed
571        Scale:  1.000e+02  0.000e+00  5.000e+01  2.000e+02 ( 1.000e+00) fixed

EG_v02
   Spectrum: FileFunction
568   Normalization:  1.124e+00  1.934e-01  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Fixed Index): -0.00
Ra Dec: 195.418 33.610
Photon Flux Upper Limit: 1.08744476684e-07 ph cm-2 s-1
Energy Flux Upper Limit: 0.00850686019001 MeV cm-2 s-1

Saving results to:
/lscratch/kocevski/35358185/likelihoodResults_808531201_808790401_4FGL_J1301.6+3336_daily_bin2196.txt

Performing a free index iterative likelihood fit...

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

Done.

Freeing candidate source...
Done.

Fit tolerance = 1

Performing likelihood fit...
Done.

MINUIT Return Code (Free Index): 0
logL (Free Index) = 6893.30564871
delta logL = -0.0238117000517

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

MINUIT Return Code (Free Index): 102
logL (Free Index) = 6893.28183724
delta logL = -2.33623723034e-07

Fit tolerance = 1e-08

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

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

 MIGRAD MINIMIZATION HAS CONVERGED.

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

 FCN=   6893.282     FROM MIGRAD    STATUS=CONVERGED     31 CALLS      190 TOTAL
                     EDM=   .39E-12  STRATEGY=1  ERROR MATRIX UNCERTAINTY=100.0%

  EXT PARAMETER                APPROXIMATE        STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor      .0000        19.499        .42118E-03** at limit **
   2  Index         3.0331        1.0747       -.27684E-04     .0000    
   3  Normalizat    1.1241        1.1399       -.11369E-05   -.16736E-04
   4  Prefactor     .82204        1.1700        .63281E-06   -.13629E-04
                               ERR DEF=  .500    
Final values: 
  Prefactor  = 0
  Index      = 3.03308
  Normalizat = 1.12409
  Prefactor  = 0.82204
 **********
 **   18 **HESSE 
 **********
  MNHESS FAILS AND WILL RETURN DIAGONAL MATRIX. 

 FCN=   6893.282     FROM HESSE     STATUS=FAILED         9 CALLS      199 TOTAL
                     EDM=   .39E-12  STRATEGY=1  ERROR MATRIX UNCERTAINTY=100.0%

  EXT PARAMETER                APPROXIMATE     INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  Prefactor      .0000        19.499        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   2  Index         1.0393        2.0483       -.27684E-04   -.40431    
   3  Normalizat    1.1241        1.1399       -.11369E-05   -.88982    
   4  Prefactor     .82204        1.1700        .63281E-06   -.98921    
                               ERR DEF=  .500    
Minuit fit quality: 1   estimated distance: 3.90884e-13
Minuit parameter uncertainties:
  1  2.17293e-06
  2  1.08469
  3  1.16646
  4  1.20867
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) = 6893.28183701
delta logL = 2.06455297302e-10

Extracting fit parameters...

4FGL J1301.6+3336
   Spectrum: PowerLaw
297    Prefactor:  0.000e+00  2.173e-06  0.000e+00  1.000e+06 ( 1.000e-13)
298        Index:  3.033e+00  1.085e+00  0.000e+00  1.000e+01 (-1.000e+00)
299        Scale:  8.366e+02  0.000e+00  3.000e+01  5.000e+05 ( 1.000e+00) fixed

GAL_V02
   Spectrum: PowerLaw
569    Prefactor:  8.220e-01  1.209e+00  0.000e+00  1.000e+01 ( 1.000e+00)
570        Index:  0.000e+00  0.000e+00 -1.000e+00  1.000e+00 ( 1.000e+00) fixed
571        Scale:  1.000e+02  0.000e+00  5.000e+01  2.000e+02 ( 1.000e+00) fixed

EG_v02
   Spectrum: FileFunction
568   Normalization:  1.124e+00  1.166e+00  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Free Index): -0.00
Ra Dec: 195.418 33.610

Creating a high resolution counts map...
INFO: Auto-setting vmin to -2.500e-04 [aplpy.core]
INFO: Auto-setting vmax to  2.775e-03 [aplpy.core]
Saving /lscratch/kocevski/35358185/cmap_HighResolution_808531201_808790401_4FGL_J1301.6+3336_daily_bin2196.png

Cleaning up...

** Nuclear option initiated! **

Updating database...

UPDATE lightcurve_data_v2 SET energy_flux_upper_limit='8.51e-03', job_status='DONE', photon_flux_upper_limit='1.09e-07', time_completed='2026-08-19 10:08:16.175312', job_id='35358185', GAL2='0.82', fit_tolerance='1e-08', EG2='1.12', EG='1.12', time_epoch_completed='1787159296.18', return_code2='101', ts='-0.00', comment='SUCCESS', return_code='0', GAL='0.82', dlogl='2.06e-10', ts2='0.00', photon_index_error='0.00', photon_index='2.59' WHERE bin_id='2196' AND source_name='4FGL J1301.6+3336' AND cadence='daily';

Database successfully updated.


Analysis Complete.


Wed Aug 19 10:08:16 PDT 2026

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


Performing analysis on: 4FGL_J1301.6+3336_daily_bin2196
RA = 195.418, Dec = 33.6097
tmin = 808531201, tmax = 808790401
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='35357856', job_status='RUN', time_executed='2026-08-19 10:06:47.980215', time_epoch_executed='1787159207.98' WHERE source_name='4FGL J1301.6+3336' and cadence='daily' and bin_id='2196'

Database successfully updated.
Done.

Creating custom output directory:
/lscratch/kocevski/35357856

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

Retrieving the FT1 file...

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

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

Retrieving 47 files...
Done.


Merging files...

Checksum keywords updated successfully.

Merged file saved to:
/lscratch/kocevski/35357856/ft1_4FGL_J1301.6+3336_daily_bin2196.fits


Retrieving the FT1 file...

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

Retrieving 47 files...
Done.


Merging files...

Merged file saved to:
/lscratch/kocevski/35357856/ft2_4FGL_J1301.6+3336_daily_bin2196.fits


Selecting the photons:
time -p gtselect infile=/lscratch/kocevski/35357856/ft1_4FGL_J1301.6+3336_daily_bin2196.fits outfile=/lscratch/kocevski/35357856/ft1_filteredMKT_4FGL_J1301.6+3336_daily_bin2196.fits ra=195.418 dec=33.6097 rad=12.0 tmin=808531201.0 tmax=808790401.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.79
user 1.98
sys 0.17

Adding sun position to ft2 file:
/sdf/group/fermi/g/LCRepository/Repository/bin/sunpos /lscratch/kocevski/35357856/ft2_4FGL_J1301.6+3336_daily_bin2196.fits

Selecting the good time intervals:
time -p gtmktime scfile=/lscratch/kocevski/35357856/ft2_4FGL_J1301.6+3336_daily_bin2196.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/35357856/ft1_filteredMKT_4FGL_J1301.6+3336_daily_bin2196.fits evtable="EVENTS" outfile="/lscratch/kocevski/35357856/ft1_filtered_4FGL_J1301.6+3336_daily_bin2196.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.83
user 0.18
sys 0.14

Number of photons that the gtmktime cut: 622

Generating the livetime cube:
time -p gtltcube evfile="/lscratch/kocevski/35357856/ft1_filtered_4FGL_J1301.6+3336_daily_bin2196.fits" evtable="EVENTS" scfile=/lscratch/kocevski/35357856/ft2_4FGL_J1301.6+3336_daily_bin2196.fits sctable="SC_DATA" outfile=/lscratch/kocevski/35357856/ltcube_808531201_808790401_4FGL_J1301.6+3336_daily_bin2196.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/35357856/ft2_4FGL_J1301.6+3336_daily_bin2196.fits
.....................!
real 8.05
user 7.24
sys 0.23

Generating the exposure map:
time -p gtexpmap evfile=/lscratch/kocevski/35357856/ft1_filtered_4FGL_J1301.6+3336_daily_bin2196.fits evtable="EVENTS" scfile=/lscratch/kocevski/35357856/ft2_4FGL_J1301.6+3336_daily_bin2196.fits sctable="SC_DATA" expcube=/lscratch/kocevski/35357856/ltcube_808531201_808790401_4FGL_J1301.6+3336_daily_bin2196.fits outfile=/lscratch/kocevski/35357856/expmap_808531201_808790401_4FGL_J1301.6+3336_daily_bin2196.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/35357856/ltcube_808531201_808790401_4FGL_J1301.6+3336_daily_bin2196.fits
.....................!
real 64.05
user 59.27
sys 3.79

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 179 point sources and 0 extended sources

Setting source of interest to:
4FGL J1301.6+3336 @ 195.418 33.6097

Creating the counts map:
time -p gtbin evfile=/lscratch/kocevski/35357856/ft1_filtered_4FGL_J1301.6+3336_daily_bin2196.fits scfile=/lscratch/kocevski/35357856/ft2_4FGL_J1301.6+3336_daily_bin2196.fits outfile=/lscratch/kocevski/35357856/cmap_808531201_808790401_4FGL_J1301.6+3336_daily_bin2196.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=195.418 yref=33.6097 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.84
user 0.20
sys 0.13

Creating the high resolution counts map:
time -p gtbin evfile=/lscratch/kocevski/35357856/ft1_filtered_4FGL_J1301.6+3336_daily_bin2196.fits scfile=/lscratch/kocevski/35357856/ft2_4FGL_J1301.6+3336_daily_bin2196.fits outfile=/lscratch/kocevski/35357856/cmap_HighResolution_808531201_808790401_4FGL_J1301.6+3336_daily_bin2196.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=195.418 yref=33.6097 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.87
user 0.19
sys 0.15

Computing the diffuse response:
time -p gtdiffrsp evfile=/lscratch/kocevski/35357856/ft1_filtered_4FGL_J1301.6+3336_daily_bin2196.fits evtable="EVENTS" scfile=/lscratch/kocevski/35357856/ft2_4FGL_J1301.6+3336_daily_bin2196.fits sctable="SC_DATA" srcmdl=/lscratch/kocevski/35357856/Model_4FGL_J1301.6+3336_daily_bin2196.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/35357856/ft1_filtered_4FGL_J1301.6+3336_daily_bin2196.fits.....................!
real 21.46
user 19.80
sys 0.89

Creating the likelihood object...
obs = UnbinnedObs('/lscratch/kocevski/35357856/ft1_filtered_4FGL_J1301.6+3336_daily_bin2196.fits', '/lscratch/kocevski/35357856/ft2_4FGL_J1301.6+3336_daily_bin2196.fits', expMap='/lscratch/kocevski/35357856/expmap_808531201_808790401_4FGL_J1301.6+3336_daily_bin2196.fits', expCube='/lscratch/kocevski/35357856/ltcube_808531201_808790401_4FGL_J1301.6+3336_daily_bin2196.fits', irfs='P8R3_SOURCE_V2')
like = UnbinnedAnalysis(obs, '/lscratch/kocevski/35357856/Model_4FGL_J1301.6+3336_daily_bin2196.xml', optimizer='MINUIT')

Using source of interest name: '4FGL J1301.6+3336'

4FGL J1301.6+3336
   Spectrum: PowerLaw
297    Prefactor:  4.837e+00  0.000e+00  0.000e+00  1.000e+06 ( 1.000e-13)
298        Index:  2.593e+00  0.000e+00  0.000e+00  1.000e+01 (-1.000e+00) fixed
299        Scale:  8.366e+02  0.000e+00  3.000e+01  5.000e+05 ( 1.000e+00) fixed


Likelihood Fit Parameters:
Event file(s): /lscratch/kocevski/35357856/ft1_filtered_4FGL_J1301.6+3336_daily_bin2196.fits
Spacecraft file(s): /lscratch/kocevski/35357856/ft2_4FGL_J1301.6+3336_daily_bin2196.fits
Exposure map: /lscratch/kocevski/35357856/expmap_808531201_808790401_4FGL_J1301.6+3336_daily_bin2196.fits
Exposure cube: /lscratch/kocevski/35357856/ltcube_808531201_808790401_4FGL_J1301.6+3336_daily_bin2196.fits
IRFs: P8R3_SOURCE_V2
Source model file: /lscratch/kocevski/35357856/Model_4FGL_J1301.6+3336_daily_bin2196.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) = 6894.30961183

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

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

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'norm      '    5.4990       1.0000          .0000       .10000E+07
     2 'Prefactor '    .29177E-05   1.0000          .0000       .10000E+07
     3 'Prefactor '    .39178E-05   1.0000          .0000       .10000E+07
     4 'Prefactor '    3.5616       1.0000          .0000       .10000E+07
     5 'norm      '    8.0902       1.0000          .0000       .10000E+07
     6 'Prefactor '    5.8920       1.0000          .0000       .10000E+07
     7 'Prefactor '    .74510E-02   1.0000          .0000       .10000E+07
     8 'Prefactor '    .10796E-04   1.0000          .0000       .10000E+07
     9 'Prefactor '    4.4188       1.0000          .0000       .10000E+07
    10 'norm      '    28.321       1.0000          .0000       .10000E+07
    11 'Prefactor '    .66182E-02   1.0000          .0000       .10000E+07
    12 'norm      '    7.9031       1.0000          .0000       .10000E+07
    13 'Prefactor '    37.898       1.0000          .0000       .10000E+07
    14 'norm      '    .23051E-03   1.0000          .0000       .10000E+07
    15 'norm      '    23.458       1.0000          .0000       .10000E+07
    16 'norm      '    50.220       1.0000          .0000       .10000E+07
    17 'norm      '    27.460       1.0000          .0000       .10000E+07
    18 'norm      '    .62536E-02   1.0000          .0000       .10000E+07
    19 'Prefactor '    5.6233       1.0000          .0000       .10000E+07
    20 'Prefactor '    .78037E-02   1.0000          .0000       .10000E+07
    21 'Prefactor '    .30965E-01   1.0000          .0000       .10000E+07
    22 'Prefactor '    .13253E-03   1.0000          .0000       .10000E+07
    23 'Prefactor '    4.3418       1.0000          .0000       .10000E+07
    24 'Prefactor '    7.0571       1.0000          .0000       .10000E+07
    25 'Normalizat'    1.1252       1.0000         .10000E-01   10.000    
    26 'Prefactor '    .82147       1.0000          .0000       10.000    
 **********
 **   15 **SET ERR    .5000    
 **********
 **********
 **   16 **SET GRAD    1.000    
 **********
 **********
 **   17 **MINIMIZE    .5720E+05   .2000E-04
 **********

 MIGRAD MINIMIZATION HAS CONVERGED.

 FCN=   6893.282     FROM MIGRAD    STATUS=CONVERGED    201 CALLS     1789 TOTAL
                     EDM=   .20E-09  STRATEGY=1  ERROR MATRIX UNCERTAINTY=   .9%

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  norm          5.4999        3.1833        .10624E-07    .15523E-03
   2  Prefactor     .16653E-09    5.6345        .14027E-06** at limit **
   3  Prefactor      .0000        1.1150        .37556E-07** at limit **
   4  Prefactor     3.5573        2.3113       -.34830E-07    .99693E-03
   5  norm          8.1315        4.5299        .29057E-07   -.47501E-03
   6  Prefactor     5.9502        6.1682        .18377E-07   -.11573E-03
   7  Prefactor     .91926E-07    100.52       -.29031E-05** at limit **
   8  Prefactor     .44986E-06    35.286        .77212E-06** at limit **
   9  Prefactor     4.3017        8.1594       -.30883E-07   -.46662E-02
  10  norm          28.437        8.7564       -.84319E-08   -.12577E-02
  11  Prefactor     .81601E-08    20.054        .50418E-06** at limit **
  12  norm          7.8993        5.1297       -.60794E-07    .98778E-03
  13  Prefactor     38.322        10.696       -.11582E-06    .82111E-01
  14  norm          .27756E-09    7.7508        .99473E-07** at limit **
  15  norm          23.630        15.400       -.63744E-07   -.39514E-01
  16  norm          50.466        7.4880       -.99235E-09    .10549E-01
  17  norm          27.409        4.7813        .25536E-07   -.15231E-01
  18  norm          .59952E-08    13.758       -.21055E-06** at limit **
  19  Prefactor     5.5866        4.6554       -.25470E-07    .51518E-04
  20  Prefactor     .17431E-06    66.518       -.82502E-06** at limit **
  21  Prefactor     .11102E-09    29.110       -.55711E-06** at limit **
  22  Prefactor     .83267E-09    8.1393        .18234E-06** at limit **
  23  Prefactor     4.0916        3.8942        .79534E-07   -.85746E-02
  24  Prefactor     7.0519        5.7402       -.16951E-07    .29714E-03
  25  Normalizat    1.1241        .23171        .86396E-06    .80022E-04
  26  Prefactor     .82204        .26671       -.31615E-05    .68812E-04
                               ERR DEF=  .500    
Final values: 
  norm       = 5.49994
  Prefactor  = 1.66533e-10
  Prefactor  = 0
  Prefactor  = 3.55726
  norm       = 8.13155
  Prefactor  = 5.95022
  Prefactor  = 9.19265e-08
  Prefactor  = 4.49862e-07
  Prefactor  = 4.30166
  norm       = 28.4368
  Prefactor  = 8.16014e-09
  norm       = 7.89935
  Prefactor  = 38.3222
  norm       = 2.77556e-10
  norm       = 23.6301
  norm       = 50.4657
  norm       = 27.4087
  norm       = 5.9952e-09
  Prefactor  = 5.5866
  Prefactor  = 1.74305e-07
  Prefactor  = 1.11022e-10
  Prefactor  = 8.32667e-10
  Prefactor  = 4.09163
  Prefactor  = 7.05193
  Normalizat = 1.12409
  Prefactor  = 0.82204
 **********
 **   18 **HESSE 
 **********

 FCN=   6893.282     FROM HESSE     STATUS=OK           516 CALLS     2305 TOTAL
                     EDM=   .16E-06    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  norm          5.4999        3.1877        .42823E-03   -1.5661    
   2  Prefactor     .16653E-09    5.6221        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   3  Prefactor      .0000        1.1150        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   4  Prefactor     3.5573        2.3172        .53529E-03   -1.5670    
   5  norm          8.1315        4.5346        .35225E-03   -1.5651    
   6  Prefactor     5.9502        6.1714        .41348E-03   -1.5659    
   7  Prefactor     .91926E-07    100.37        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   8  Prefactor     .44986E-06    36.823        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   9  Prefactor     4.3017        9.0824        .47883E-03   -1.5666    
  10  norm          28.437        8.8026        .18794E-03   -1.5601    
  11  Prefactor     .81601E-08    20.159        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  12  norm          7.8993        5.1365        .35643E-03   -1.5652    
  13  Prefactor     38.322        25.022        .16246E-03   -1.5584    
  14  norm          .27756E-09    7.7464        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  15  norm          23.630        16.515        .20652E-03   -1.5611    
  16  norm          50.466        12.706        .14112E-03   -1.5566    
  17  norm          27.409        19.563        .19087E-03   -1.5603    
  18  norm          .59952E-08    13.808        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  19  Prefactor     5.5866        4.6952        .42339E-03   -1.5661    
  20  Prefactor     .17431E-06    67.017        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  21  Prefactor     .11102E-09    29.170        .16400E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  22  Prefactor     .83267E-09    8.1502        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  23  Prefactor     4.0916        30.971        .48318E-03   -1.5668    
  24  Prefactor     7.0519        5.7516        .37739E-03   -1.5655    
  25  Normalizat    1.1241        .19324        .60061E-01   -.88982    
  26  Prefactor     .82204        .22325        .81045E-01   -.98921    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 1.59367e-07
Minuit parameter uncertainties:
  1  3.18773
  2  5.76996e-05
  3  1.67439e-06
  4  2.31717
  5  4.53463
  6  6.1714
  7  0.00607562
  8  0.00813991
  9  9.08242
  10  8.80259
  11  0.000812252
  12  5.13647
  13  25.0216
  14  9.63345e-05
  15  16.5147
  16  12.7061
  17  19.5628
  18  0.000575366
  19  4.69518
  20  0.00683535
  21  0.000121587
  22  0.000165673
  23  22.5144
  24  5.75162
  25  0.193359
  26  0.223497
Done.

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

Extracting fit parameters...

4FGL J1301.6+3336
   Spectrum: PowerLaw
297    Prefactor:  8.160e-09  8.123e-04  0.000e+00  1.000e+06 ( 1.000e-13)
298        Index:  2.593e+00  0.000e+00  0.000e+00  1.000e+01 (-1.000e+00) fixed
299        Scale:  8.366e+02  0.000e+00  3.000e+01  5.000e+05 ( 1.000e+00) fixed

GAL_V02
   Spectrum: PowerLaw
569    Prefactor:  8.220e-01  2.235e-01  0.000e+00  1.000e+01 ( 1.000e+00)
570        Index:  0.000e+00  0.000e+00 -1.000e+00  1.000e+00 ( 1.000e+00) fixed
571        Scale:  1.000e+02  0.000e+00  5.000e+01  2.000e+02 ( 1.000e+00) fixed

EG_v02
   Spectrum: FileFunction
568   Normalization:  1.124e+00  1.934e-01  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Fixed Index): -0.00
Ra Dec: 195.418 33.610
Photon Flux Upper Limit: 1.08744476684e-07 ph cm-2 s-1
Energy Flux Upper Limit: 0.00850686019001 MeV cm-2 s-1

Saving results to:
/lscratch/kocevski/35357856/likelihoodResults_808531201_808790401_4FGL_J1301.6+3336_daily_bin2196.txt

Performing a free index iterative likelihood fit...

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

Done.

Freeing candidate source...
Done.

Fit tolerance = 1

Performing likelihood fit...
Done.

MINUIT Return Code (Free Index): 0
logL (Free Index) = 6893.30564871
delta logL = -0.0238117000517

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

MINUIT Return Code (Free Index): 102
logL (Free Index) = 6893.28183724
delta logL = -2.33623723034e-07

Fit tolerance = 1e-08

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

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

 MIGRAD MINIMIZATION HAS CONVERGED.

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

 FCN=   6893.282     FROM MIGRAD    STATUS=CONVERGED     31 CALLS      190 TOTAL
                     EDM=   .39E-12  STRATEGY=1  ERROR MATRIX UNCERTAINTY=100.0%

  EXT PARAMETER                APPROXIMATE        STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor      .0000        19.499        .42118E-03** at limit **
   2  Index         3.0331        1.0747       -.27684E-04     .0000    
   3  Normalizat    1.1241        1.1399       -.11369E-05   -.16736E-04
   4  Prefactor     .82204        1.1700        .63281E-06   -.13629E-04
                               ERR DEF=  .500    
Final values: 
  Prefactor  = 0
  Index      = 3.03308
  Normalizat = 1.12409
  Prefactor  = 0.82204
 **********
 **   18 **HESSE 
 **********
  MNHESS FAILS AND WILL RETURN DIAGONAL MATRIX. 

 FCN=   6893.282     FROM HESSE     STATUS=FAILED         9 CALLS      199 TOTAL
                     EDM=   .39E-12  STRATEGY=1  ERROR MATRIX UNCERTAINTY=100.0%

  EXT PARAMETER                APPROXIMATE     INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  Prefactor      .0000        19.499        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   2  Index         1.0393        2.0483       -.27684E-04   -.40431    
   3  Normalizat    1.1241        1.1399       -.11369E-05   -.88982    
   4  Prefactor     .82204        1.1700        .63281E-06   -.98921    
                               ERR DEF=  .500    
Minuit fit quality: 1   estimated distance: 3.90884e-13
Minuit parameter uncertainties:
  1  2.17293e-06
  2  1.08469
  3  1.16646
  4  1.20867
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) = 6893.28183701
delta logL = 2.06455297302e-10

Extracting fit parameters...

4FGL J1301.6+3336
   Spectrum: PowerLaw
297    Prefactor:  0.000e+00  2.173e-06  0.000e+00  1.000e+06 ( 1.000e-13)
298        Index:  3.033e+00  1.085e+00  0.000e+00  1.000e+01 (-1.000e+00)
299        Scale:  8.366e+02  0.000e+00  3.000e+01  5.000e+05 ( 1.000e+00) fixed

GAL_V02
   Spectrum: PowerLaw
569    Prefactor:  8.220e-01  1.209e+00  0.000e+00  1.000e+01 ( 1.000e+00)
570        Index:  0.000e+00  0.000e+00 -1.000e+00  1.000e+00 ( 1.000e+00) fixed
571        Scale:  1.000e+02  0.000e+00  5.000e+01  2.000e+02 ( 1.000e+00) fixed

EG_v02
   Spectrum: FileFunction
568   Normalization:  1.124e+00  1.166e+00  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Free Index): -0.00
Ra Dec: 195.418 33.610

Creating a high resolution counts map...
INFO: Auto-setting vmin to -2.500e-04 [aplpy.core]
INFO: Auto-setting vmax to  2.775e-03 [aplpy.core]
Saving /lscratch/kocevski/35357856/cmap_HighResolution_808531201_808790401_4FGL_J1301.6+3336_daily_bin2196.png

Cleaning up...

** Nuclear option initiated! **

Updating database...

UPDATE lightcurve_data_v2 SET energy_flux_upper_limit='8.51e-03', job_status='DONE', photon_flux_upper_limit='1.09e-07', time_completed='2026-08-19 10:13:35.651673', job_id='35357856', GAL2='0.82', fit_tolerance='1e-08', EG2='1.12', EG='1.12', time_epoch_completed='1787159615.65', return_code2='101', ts='-0.00', comment='SUCCESS', return_code='0', GAL='0.82', dlogl='2.06e-10', ts2='0.00', photon_index_error='0.00', photon_index='2.59' WHERE bin_id='2196' AND source_name='4FGL J1301.6+3336' AND cadence='daily';

Database successfully updated.


Analysis Complete.


Wed Aug 19 10:13:36 PDT 2026

