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

 FCN=   9023.651     FROM HESSE     STATUS=OK           516 CALLS     4083 TOTAL
                     EDM=   .14E-05    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  Prefactor     .98810E-08    3.2932        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   2  norm          3.8360        1.9572        .51506E-03   -1.5669    
   3  Prefactor     13.772        17.303        .26951E-03   -1.5634    
   4  norm          .33442        1.1198        .47549E-02   -1.5696    
   5  Prefactor     52.925        38.379        .13745E-03   -1.5562    
   6  Prefactor     .10181E-05    15.573        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   7  norm          .48012        4.5302        .81046E-03   -1.5694    
   8  Prefactor     67.478        33.363        .12184E-03   -1.5544    
   9  Prefactor     .14988E-08    57.631        .10353E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  10  norm          2.6902        3.4346        .62172E-03   -1.5675    
  11  Prefactor     .25638E-05    13.410        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  12  Prefactor     .28866E-08    1.8644        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  13  norm          .55511E-10    .36648        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  14  norm          2.0965        2.7796        .71261E-03   -1.5679    
  15  Prefactor     12.418        12.473        .28399E-03   -1.5637    
  16  Prefactor      .0000        22.582        .16623E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  17  Prefactor     42.595        34.206        .15334E-03   -1.5577    
  18  Prefactor     .18430E-07    4.5987        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  19  Prefactor     .12990E-07    9.3788        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  20  Prefactor     .10508E-05    1.3741        .42118E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  21  Prefactor     9.6600        21.930        .32396E-03   -1.5646    
  22  Prefactor     7.5350        62.886        .36629E-03   -1.5653    
  23  Prefactor     .16542E-07    9.2955        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  24  Prefactor     .26978E-07    5.2480        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  25  Normalizat    1.1200        .14164        .37238E-01   -.89113    
  26  Prefactor     .94385        .16643        .45564E-01   -.94625    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 1.38236e-06
Minuit parameter uncertainties:
  1  0.000360866
  2  1.95716
  3  17.3032
  4  1.11982
  5  38.379
  6  0.00796356
  7  2.94959
  8  33.3627
  9  0.000587287
  10  3.43457
  11  0.011727
  12  0.000147245
  13  8.53895e-06
  14  2.77962
  15  12.4728
  16  3.92984e-05
  17  34.2062
  18  0.000581939
  19  0.000698739
  20  0.00240321
  21  21.9304
  22  43.5367
  23  0.000784731
  24  0.000752268
  25  0.141689
  26  0.166522
/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)
_V02
Working on...
/lscratch/kocevski/40345538/ft1_filtered_4FGL_J1337.4+5502_daily_bin2213.fits.....................!
real 29.90
user 28.34
sys 1.07

Creating the likelihood object...
obs = UnbinnedObs('/lscratch/kocevski/40345538/ft1_filtered_4FGL_J1337.4+5502_daily_bin2213.fits', '/lscratch/kocevski/40345538/ft2_4FGL_J1337.4+5502_daily_bin2213.fits', expMap='/lscratch/kocevski/40345538/expmap_812937601_813196801_4FGL_J1337.4+5502_daily_bin2213.fits', expCube='/lscratch/kocevski/40345538/ltcube_812937601_813196801_4FGL_J1337.4+5502_daily_bin2213.fits', irfs='P8R3_SOURCE_V2')
like = UnbinnedAnalysis(obs, '/lscratch/kocevski/40345538/Model_4FGL_J1337.4+5502_daily_bin2213.xml', optimizer='MINUIT')

Using source of interest name: '4FGL J1337.4+5502'

4FGL J1337.4+5502
   Spectrum: PowerLaw
314    Prefactor:  7.731e+00  0.000e+00  0.000e+00  1.000e+06 ( 1.000e-13)
315        Index:  2.758e+00  0.000e+00  0.000e+00  1.000e+01 (-1.000e+00) fixed
316        Scale:  5.686e+02  0.000e+00  3.000e+01  5.000e+05 ( 1.000e+00) fixed


Likelihood Fit Parameters:
Event file(s): /lscratch/kocevski/40345538/ft1_filtered_4FGL_J1337.4+5502_daily_bin2213.fits
Spacecraft file(s): /lscratch/kocevski/40345538/ft2_4FGL_J1337.4+5502_daily_bin2213.fits
Exposure map: /lscratch/kocevski/40345538/expmap_812937601_813196801_4FGL_J1337.4+5502_daily_bin2213.fits
Exposure cube: /lscratch/kocevski/40345538/ltcube_812937601_813196801_4FGL_J1337.4+5502_daily_bin2213.fits
IRFs: P8R3_SOURCE_V2
Source model file: /lscratch/kocevski/40345538/Model_4FGL_J1337.4+5502_daily_bin2213.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) = 9023.65064255

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

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

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'Prefactor '    .80325E-03   1.0000          .0000       .10000E+07
     2 'norm      '    3.8358       1.0000          .0000       .10000E+07
     3 'Prefactor '    13.785       1.0000          .0000       .10000E+07
     4 'norm      '    .31439       1.0000          .0000       .10000E+07
     5 'Prefactor '    52.936       1.0000          .0000       .10000E+07
     6 'Prefactor '    .64455E-05   1.0000          .0000       .10000E+07
     7 'norm      '    .47711       1.0000          .0000       .10000E+07
     8 'Prefactor '    67.373       1.0000          .0000       .10000E+07
     9 'Prefactor '    .29002       1.0000          .0000       .10000E+07
    10 'norm      '    2.6837       1.0000          .0000       .10000E+07
    11 'Prefactor '    .56751E-03   1.0000          .0000       .10000E+07
    12 'Prefactor '    .83084E-06   1.0000          .0000       .10000E+07
    13 'norm      '    .17453E-06   1.0000          .0000       .10000E+07
    14 'norm      '    2.0962       1.0000          .0000       .10000E+07
    15 'Prefactor '    12.419       1.0000          .0000       .10000E+07
    16 'Prefactor '    .26827E-01   1.0000          .0000       .10000E+07
    17 'Prefactor '    42.535       1.0000          .0000       .10000E+07
    18 'Prefactor '    .10796E-02   1.0000          .0000       .10000E+07
    19 'Prefactor '    .38995E-02   1.0000          .0000       .10000E+07
    20 'Prefactor '    .51788E-03   1.0000          .0000       .10000E+07
    21 'Prefactor '    9.5546       1.0000          .0000       .10000E+07
    22 'Prefactor '    7.4870       1.0000          .0000       .10000E+07
    23 'Prefactor '    .40550E-02   1.0000          .0000       .10000E+07
    24 'Prefactor '    .10197E-02   1.0000          .0000       .10000E+07
    25 'Normalizat'    1.1200       1.0000         .10000E-01   10.000    
    26 'Prefactor '    .94408       1.0000          .0000       10.000    
 **********
 **   15 **SET ERR    .5000    
 **********_V02
Working on...
/lscratch/kocevski/40345551/ft1_filtered_4FGL_J1337.4+5502_daily_bin2213.fits.....................!
real 30.64
user 29.14
sys 0.99

Creating the likelihood object...
obs = UnbinnedObs('/lscratch/kocevski/40345551/ft1_filtered_4FGL_J1337.4+5502_daily_bin2213.fits', '/lscratch/kocevski/40345551/ft2_4FGL_J1337.4+5502_daily_bin2213.fits', expMap='/lscratch/kocevski/40345551/expmap_812937601_813196801_4FGL_J1337.4+5502_daily_bin2213.fits', expCube='/lscratch/kocevski/40345551/ltcube_812937601_813196801_4FGL_J1337.4+5502_daily_bin2213.fits', irfs='P8R3_SOURCE_V2')
like = UnbinnedAnalysis(obs, '/lscratch/kocevski/40345551/Model_4FGL_J1337.4+5502_daily_bin2213.xml', optimizer='MINUIT')

Using source of interest name: '4FGL J1337.4+5502'

4FGL J1337.4+5502
   Spectrum: PowerLaw
314    Prefactor:  7.731e+00  0.000e+00  0.000e+00  1.000e+06 ( 1.000e-13)
315        Index:  2.758e+00  0.000e+00  0.000e+00  1.000e+01 (-1.000e+00) fixed
316        Scale:  5.686e+02  0.000e+00  3.000e+01  5.000e+05 ( 1.000e+00) fixed


Likelihood Fit Parameters:
Event file(s): /lscratch/kocevski/40345551/ft1_filtered_4FGL_J1337.4+5502_daily_bin2213.fits
Spacecraft file(s): /lscratch/kocevski/40345551/ft2_4FGL_J1337.4+5502_daily_bin2213.fits
Exposure map: /lscratch/kocevski/40345551/expmap_812937601_813196801_4FGL_J1337.4+5502_daily_bin2213.fits
Exposure cube: /lscratch/kocevski/40345551/ltcube_812937601_813196801_4FGL_J1337.4+5502_daily_bin2213.fits
IRFs: P8R3_SOURCE_V2
Source model file: /lscratch/kocevski/40345551/Model_4FGL_J1337.4+5502_daily_bin2213.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) = 9023.65064255

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

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

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'Prefactor '    .80325E-03   1.0000          .0000       .10000E+07
     2 'norm      '    3.8358       1.0000          .0000       .10000E+07
     3 'Prefactor '    13.785       1.0000          .0000       .10000E+07
     4 'norm      '    .31439       1.0000          .0000       .10000E+07
     5 'Prefactor '    52.936       1.0000          .0000       .10000E+07
     6 'Prefactor '    .64455E-05   1.0000          .0000       .10000E+07
     7 'norm      '    .47711       1.0000          .0000       .10000E+07
     8 'Prefactor '    67.373       1.0000          .0000       .10000E+07
     9 'Prefactor '    .29002       1.0000          .0000       .10000E+07
    10 'norm      '    2.6837       1.0000          .0000       .10000E+07
    11 'Prefactor '    .56751E-03   1.0000          .0000       .10000E+07
    12 'Prefactor '    .83084E-06   1.0000          .0000       .10000E+07
    13 'norm      '    .17453E-06   1.0000          .0000       .10000E+07
    14 'norm      '    2.0962       1.0000          .0000       .10000E+07
    15 'Prefactor '    12.419       1.0000          .0000       .10000E+07
    16 'Prefactor '    .26827E-01   1.0000          .0000       .10000E+07
    17 'Prefactor '    42.535       1.0000          .0000       .10000E+07
    18 'Prefactor '    .10796E-02   1.0000          .0000       .10000E+07
    19 'Prefactor '    .38995E-02   1.0000          .0000       .10000E+07
    20 'Prefactor '    .51788E-03   1.0000          .0000       .10000E+07
    21 'Prefactor '    9.5546       1.0000          .0000       .10000E+07
    22 'Prefactor '    7.4870       1.0000          .0000       .10000E+07
    23 'Prefactor '    .40550E-02   1.0000          .0000       .10000E+07
    24 'Prefactor '    .10197E-02   1.0000          .0000       .10000E+07
    25 'Normalizat'    1.1200       1.0000         .10000E-01   10.000    
    26 'Prefactor '    .94408       1.0000          .0000       10.000    
 **********
 **   15 **SET ERR    .5000    
 **********_V02
Working on...
/lscratch/kocevski/40345539/ft1_filtered_4FGL_J1337.4+5502_daily_bin2213.fits.....................!
real 30.15
user 28.66
sys 1.01

Creating the likelihood object...
obs = UnbinnedObs('/lscratch/kocevski/40345539/ft1_filtered_4FGL_J1337.4+5502_daily_bin2213.fits', '/lscratch/kocevski/40345539/ft2_4FGL_J1337.4+5502_daily_bin2213.fits', expMap='/lscratch/kocevski/40345539/expmap_812937601_813196801_4FGL_J1337.4+5502_daily_bin2213.fits', expCube='/lscratch/kocevski/40345539/ltcube_812937601_813196801_4FGL_J1337.4+5502_daily_bin2213.fits', irfs='P8R3_SOURCE_V2')
like = UnbinnedAnalysis(obs, '/lscratch/kocevski/40345539/Model_4FGL_J1337.4+5502_daily_bin2213.xml', optimizer='MINUIT')

Using source of interest name: '4FGL J1337.4+5502'

4FGL J1337.4+5502
   Spectrum: PowerLaw
314    Prefactor:  7.731e+00  0.000e+00  0.000e+00  1.000e+06 ( 1.000e-13)
315        Index:  2.758e+00  0.000e+00  0.000e+00  1.000e+01 (-1.000e+00) fixed
316        Scale:  5.686e+02  0.000e+00  3.000e+01  5.000e+05 ( 1.000e+00) fixed


Likelihood Fit Parameters:
Event file(s): /lscratch/kocevski/40345539/ft1_filtered_4FGL_J1337.4+5502_daily_bin2213.fits
Spacecraft file(s): /lscratch/kocevski/40345539/ft2_4FGL_J1337.4+5502_daily_bin2213.fits
Exposure map: /lscratch/kocevski/40345539/expmap_812937601_813196801_4FGL_J1337.4+5502_daily_bin2213.fits
Exposure cube: /lscratch/kocevski/40345539/ltcube_812937601_813196801_4FGL_J1337.4+5502_daily_bin2213.fits
IRFs: P8R3_SOURCE_V2
Source model file: /lscratch/kocevski/40345539/Model_4FGL_J1337.4+5502_daily_bin2213.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) = 9023.65064255

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

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

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'Prefactor '    .80325E-03   1.0000          .0000       .10000E+07
     2 'norm      '    3.8358       1.0000          .0000       .10000E+07
     3 'Prefactor '    13.785       1.0000          .0000       .10000E+07
     4 'norm      '    .31439       1.0000          .0000       .10000E+07
     5 'Prefactor '    52.936       1.0000          .0000       .10000E+07
     6 'Prefactor '    .64455E-05   1.0000          .0000       .10000E+07
     7 'norm      '    .47711       1.0000          .0000       .10000E+07
     8 'Prefactor '    67.373       1.0000          .0000       .10000E+07
     9 'Prefactor '    .29002       1.0000          .0000       .10000E+07
    10 'norm      '    2.6837       1.0000          .0000       .10000E+07
    11 'Prefactor '    .56751E-03   1.0000          .0000       .10000E+07
    12 'Prefactor '    .83084E-06   1.0000          .0000       .10000E+07
    13 'norm      '    .17453E-06   1.0000          .0000       .10000E+07
    14 'norm      '    2.0962       1.0000          .0000       .10000E+07
    15 'Prefactor '    12.419       1.0000          .0000       .10000E+07
    16 'Prefactor '    .26827E-01   1.0000          .0000       .10000E+07
    17 'Prefactor '    42.535       1.0000          .0000       .10000E+07
    18 'Prefactor '    .10796E-02   1.0000          .0000       .10000E+07
    19 'Prefactor '    .38995E-02   1.0000          .0000       .10000E+07
    20 'Prefactor '    .51788E-03   1.0000          .0000       .10000E+07
    21 'Prefactor '    9.5546       1.0000          .0000       .10000E+07
    22 'Prefactor '    7.4870       1.0000          .0000       .10000E+07
    23 'Prefactor '    .40550E-02   1.0000          .0000       .10000E+07
    24 'Prefactor '    .10197E-02   1.0000          .0000       .10000E+07
    25 'Normalizat'    1.1200       1.0000         .10000E-01   10.000    
    26 'Prefactor '    .94408       1.0000          .0000       10.000    
 **********
 **   15 **SET ERR    .5000    
 **********
WARNING: version mismatch between CFITSIO header (v3.43) and linked library (v3.41).

Done.

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

Extracting fit parameters...

4FGL J1337.4+5502
   Spectrum: PowerLaw
314    Prefactor:  2.564e-06  1.173e-02  0.000e+00  1.000e+06 ( 1.000e-13)
315        Index:  2.758e+00  0.000e+00  0.000e+00  1.000e+01 (-1.000e+00) fixed
316        Scale:  5.686e+02  0.000e+00  3.000e+01  5.000e+05 ( 1.000e+00) fixed

GAL_V02
   Spectrum: PowerLaw
661    Prefactor:  9.439e-01  1.665e-01  0.000e+00  1.000e+01 ( 1.000e+00)
662        Index:  0.000e+00  0.000e+00 -1.000e+00  1.000e+00 ( 1.000e+00) fixed
663        Scale:  1.000e+02  0.000e+00  5.000e+01  2.000e+02 ( 1.000e+00) fixed

EG_v02
   Spectrum: FileFunction
660   Normalization:  1.120e+00  1.417e-01  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Fixed Index): -0.00
Ra Dec: 204.367 55.042
Photon Flux Upper Limit: 4.01913047221e-08 ph cm-2 s-1
Energy Flux Upper Limit: 0.00317449141872 MeV cm-2 s-1

Saving results to:
/lscratch/kocevski/40345564/likelihoodResults_812937601_813196801_4FGL_J1337.4+5502_daily_bin2213.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) = 9023.65065816
delta logL = -4.68264061055e-05

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

MINUIT Return Code (Free Index): 102
logL (Free Index) = 9023.65061125
delta logL = 8.47485353006e-08

Fit tolerance = 1e-08

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

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

 MIGRAD MINIMIZATION HAS CONVERGED.

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

 FCN=   9023.651     FROM MIGRAD    STATUS=CONVERGED     48 CALLS      249 TOTAL
                     EDM=   .10E-10  STRATEGY=1  ERROR MATRIX UNCERTAINTY=100.0%

  EXT PARAMETER                APPROXIMATE        STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor      .0000        8.2145        .42118E-03** at limit **
   2  Index         3.8415        1.8996       -.73858E-03     .0000    
   3  Normalizat    1.1200        1.1423        .13500E-04   -.85571E-04
   4  Prefactor     .94385        1.2864       -.64360E-05   -.11215E-03
                               ERR DEF=  .500    
Final values: 
  Prefactor  = 0
  Index      = 3.84148
  Normalizat = 1.11998
  Prefactor  = 0.943853
 **********
 **   18 **HESSE 
 **********
  MNHESS FAILS AND WILL RETURN DIAGONAL MATRIX. 

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

  EXT PARAMETER                APPROXIMATE     INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  Prefactor      .0000        8.2145        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   2  Index         1.6144        2.3190       -.73858E-03   -.23383    
   3  Normalizat    1.1200        1.1423        .13500E-04   -.89113    
   4  Prefactor     .94385        1.2864       -.64360E-05   -.94625    
                               ERR DEF=  .500    
Minuit fit quality: 1   estimated distance: 1.01338e-11
Minuit parameter uncertainties:
  1  9.26442e-06
  2  1.95155
  3  1.16918
  4  1.33206
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) = 9023.65061124
delta logL = 9.57024894888e-08

Extracting fit parameters...

4FGL J1337.4+5502
   Spectrum: PowerLaw
314    Prefactor:  0.000e+00  9.264e-06  0.000e+00  1.000e+06 ( 1.000e-13)
315        Index:  3.841e+00  1.952e+00  0.000e+00  1.000e+01 (-1.000e+00)
316        Scale:  5.686e+02  0.000e+00  3.000e+01  5.000e+05 ( 1.000e+00) fixed

GAL_V02
   Spectrum: PowerLaw
661    Prefactor:  9.439e-01  1.332e+00  0.000e+00  1.000e+01 ( 1.000e+00)
662        Index:  0.000e+00  0.000e+00 -1.000e+00  1.000e+00 ( 1.000e+00) fixed
663        Scale:  1.000e+02  0.000e+00  5.000e+01  2.000e+02 ( 1.000e+00) fixed

EG_v02
   Spectrum: FileFunction
660   Normalization:  1.120e+00  1.169e+00  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Free Index): -0.00
Ra Dec: 204.367 55.042

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/40345564/cmap_HighResolution_812937601_813196801_4FGL_J1337.4+5502_daily_bin2213.png

Cleaning up...

** Nuclear option initiated! **

Updating database...

UPDATE lightcurve_data_v2 SET energy_flux_upper_limit='3.17e-03', job_status='DONE', photon_flux_upper_limit='4.02e-08', time_completed='2026-10-09 10:42:27.103319', job_id='40345564', GAL2='0.94', fit_tolerance='1e-08', EG2='1.12', EG='1.12', time_epoch_completed='1791567747.1', return_code2='101', ts='-0.00', comment='SUCCESS', return_code='0', GAL='0.94', dlogl='9.57e-08', ts2='0.00', photon_index_error='0.00', photon_index='2.76' WHERE bin_id='2213' AND source_name='4FGL J1337.4+5502' AND cadence='daily';

Database successfully updated.


Analysis Complete.


Fri Oct  9 10:42:27 PDT 2026


 **********
 **   16 **SET GRAD    1.000    
 **********
 **********
 **   17 **MINIMIZE    .6640E+05   .2000E-04
 **********

 MIGRAD MINIMIZATION HAS CONVERGED.

 FCN=   9023.651     FROM MIGRAD    STATUS=CONVERGED    144 CALLS     3567 TOTAL
                     EDM=   .18E-08  STRATEGY=1  ERROR MATRIX UNCERTAINTY=  1.0%

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor     .98810E-08    3.3004       -.89884E-06** at limit **
   2  norm          3.8360        1.9546        .60646E-07   -.62917E-03
   3  Prefactor     13.772        2.7364        .24556E-06    .10639E-01
   4  norm          .33442        2.8954        .11261E-05    .32364E-02
   5  Prefactor     52.925        6.4912       -.49519E-06    .50274E-01
   6  Prefactor     .10181E-05    9.4071       -.15102E-05** at limit **
   7  norm          .48012        4.3626        .79464E-06    .73752E-03
   8  Prefactor     67.478        4.3431        .30340E-06   -.50855E-01
   9  Prefactor     .14988E-08    1.7792       -.98069E-06** at limit **
  10  norm          2.6902        3.3998       -.90458E-06    .88628E-03
  11  Prefactor     .25638E-05    9.1070       -.36551E-06** at limit **
  12  Prefactor     .28866E-08    1.8663       -.10124E-05** at limit **
  13  norm          .55511E-10    .36755       -.16851E-06** at limit **
  14  norm          2.0965        2.7548        .25981E-06   -.15146E-02
  15  Prefactor     12.418        1.0233       -.17722E-07   -.27942E-02
  16  Prefactor      .0000        22.730        .27348E-06** at limit **
  17  Prefactor     42.595        19.627        .16854E-05   -.12556    
  18  Prefactor     .18430E-07    4.6372       -.33234E-06** at limit **
  19  Prefactor     .12990E-07    4.4511       -.10058E-05** at limit **
  20  Prefactor     .10508E-05    8.5976        .26420E-05** at limit **
  21  Prefactor     9.6600        10.928        .11333E-05    .80758E-01
  22  Prefactor     7.5350        9.6628        .19807E-05   -.33033E-01
  23  Prefactor     .16542E-07    4.6975       -.95166E-06** at limit **
  24  Prefactor     .26978E-07    5.2270       -.19215E-06** at limit **
  25  Normalizat    1.1200        .16029       -.38781E-05    .16214E-03
  26  Prefactor     .94385        .19097       -.22330E-05   -.14141E-03
                               ERR DEF=  .500    
Final values: 
  Prefactor  = 9.88098e-09
  norm       = 3.83601
  Prefactor  = 13.7723
  norm       = 0.334418
  Prefactor  = 52.9252
  Prefactor  = 1.01807e-06
  norm       = 0.480115
  Prefactor  = 67.4778
  Prefactor  = 1.4988e-09
  norm       = 2.69021
  Prefactor  = 2.56378e-06
  Prefactor  = 2.88658e-09
  norm       = 5.55112e-11
  norm       = 2.09653
  Prefactor  = 12.4179
  Prefactor  = 0
  Prefactor  = 42.5946
  Prefactor  = 1.84297e-08
  Prefactor  = 1.29896e-08
  Prefactor  = 1.05077e-06
  Prefactor  = 9.66
  Prefactor  = 7.535
  Prefactor  = 1.65423e-08
  Prefactor  = 2.69784e-08
  Normalizat = 1.11998
  Prefactor  = 0.943851

 **********
 **   16 **SET GRAD    1.000    
 **********
 **********
 **   17 **MINIMIZE    .6640E+05   .2000E-04
 **********

 MIGRAD MINIMIZATION HAS CONVERGED.

 FCN=   9023.651     FROM MIGRAD    STATUS=CONVERGED    144 CALLS     3567 TOTAL
                     EDM=   .18E-08  STRATEGY=1  ERROR MATRIX UNCERTAINTY=  1.0%

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor     .98810E-08    3.3004       -.89884E-06** at limit **
   2  norm          3.8360        1.9546        .60646E-07   -.62917E-03
   3  Prefactor     13.772        2.7364        .24556E-06    .10639E-01
   4  norm          .33442        2.8954        .11261E-05    .32364E-02
   5  Prefactor     52.925        6.4912       -.49519E-06    .50274E-01
   6  Prefactor     .10181E-05    9.4071       -.15102E-05** at limit **
   7  norm          .48012        4.3626        .79464E-06    .73752E-03
   8  Prefactor     67.478        4.3431        .30340E-06   -.50855E-01
   9  Prefactor     .14988E-08    1.7792       -.98069E-06** at limit **
  10  norm          2.6902        3.3998       -.90458E-06    .88628E-03
  11  Prefactor     .25638E-05    9.1070       -.36551E-06** at limit **
  12  Prefactor     .28866E-08    1.8663       -.10124E-05** at limit **
  13  norm          .55511E-10    .36755       -.16851E-06** at limit **
  14  norm          2.0965        2.7548        .25981E-06   -.15146E-02
  15  Prefactor     12.418        1.0233       -.17722E-07   -.27942E-02
  16  Prefactor      .0000        22.730        .27348E-06** at limit **
  17  Prefactor     42.595        19.627        .16854E-05   -.12556    
  18  Prefactor     .18430E-07    4.6372       -.33234E-06** at limit **
  19  Prefactor     .12990E-07    4.4511       -.10058E-05** at limit **
  20  Prefactor     .10508E-05    8.5976        .26420E-05** at limit **
  21  Prefactor     9.6600        10.928        .11333E-05    .80758E-01
  22  Prefactor     7.5350        9.6628        .19807E-05   -.33033E-01
  23  Prefactor     .16542E-07    4.6975       -.95166E-06** at limit **
  24  Prefactor     .26978E-07    5.2270       -.19215E-06** at limit **
  25  Normalizat    1.1200        .16029       -.38781E-05    .16214E-03
  26  Prefactor     .94385        .19097       -.22330E-05   -.14141E-03
                               ERR DEF=  .500    
Final values: 
  Prefactor  = 9.88098e-09
  norm       = 3.83601
  Prefactor  = 13.7723
  norm       = 0.334418
  Prefactor  = 52.9252
  Prefactor  = 1.01807e-06
  norm       = 0.480115
  Prefactor  = 67.4778
  Prefactor  = 1.4988e-09
  norm       = 2.69021
  Prefactor  = 2.56378e-06
  Prefactor  = 2.88658e-09
  norm       = 5.55112e-11
  norm       = 2.09653
  Prefactor  = 12.4179
  Prefactor  = 0
  Prefactor  = 42.5946
  Prefactor  = 1.84297e-08
  Prefactor  = 1.29896e-08
  Prefactor  = 1.05077e-06
  Prefactor  = 9.66
  Prefactor  = 7.535
  Prefactor  = 1.65423e-08
  Prefactor  = 2.69784e-08
  Normalizat = 1.11998
  Prefactor  = 0.943851

 **********
 **   16 **SET GRAD    1.000    
 **********
 **********
 **   17 **MINIMIZE    .6640E+05   .2000E-04
 **********

 MIGRAD MINIMIZATION HAS CONVERGED.

 FCN=   9023.651     FROM MIGRAD    STATUS=CONVERGED    144 CALLS     3567 TOTAL
                     EDM=   .18E-08  STRATEGY=1  ERROR MATRIX UNCERTAINTY=  1.0%

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor     .98810E-08    3.3004       -.89884E-06** at limit **
   2  norm          3.8360        1.9546        .60646E-07   -.62917E-03
   3  Prefactor     13.772        2.7364        .24556E-06    .10639E-01
   4  norm          .33442        2.8954        .11261E-05    .32364E-02
   5  Prefactor     52.925        6.4912       -.49519E-06    .50274E-01
   6  Prefactor     .10181E-05    9.4071       -.15102E-05** at limit **
   7  norm          .48012        4.3626        .79464E-06    .73752E-03
   8  Prefactor     67.478        4.3431        .30340E-06   -.50855E-01
   9  Prefactor     .14988E-08    1.7792       -.98069E-06** at limit **
  10  norm          2.6902        3.3998       -.90458E-06    .88628E-03
  11  Prefactor     .25638E-05    9.1070       -.36551E-06** at limit **
  12  Prefactor     .28866E-08    1.8663       -.10124E-05** at limit **
  13  norm          .55511E-10    .36755       -.16851E-06** at limit **
  14  norm          2.0965        2.7548        .25981E-06   -.15146E-02
  15  Prefactor     12.418        1.0233       -.17722E-07   -.27942E-02
  16  Prefactor      .0000        22.730        .27348E-06** at limit **
  17  Prefactor     42.595        19.627        .16854E-05   -.12556    
  18  Prefactor     .18430E-07    4.6372       -.33234E-06** at limit **
  19  Prefactor     .12990E-07    4.4511       -.10058E-05** at limit **
  20  Prefactor     .10508E-05    8.5976        .26420E-05** at limit **
  21  Prefactor     9.6600        10.928        .11333E-05    .80758E-01
  22  Prefactor     7.5350        9.6628        .19807E-05   -.33033E-01
  23  Prefactor     .16542E-07    4.6975       -.95166E-06** at limit **
  24  Prefactor     .26978E-07    5.2270       -.19215E-06** at limit **
  25  Normalizat    1.1200        .16029       -.38781E-05    .16214E-03
  26  Prefactor     .94385        .19097       -.22330E-05   -.14141E-03
                               ERR DEF=  .500    
Final values: 
  Prefactor  = 9.88098e-09
  norm       = 3.83601
  Prefactor  = 13.7723
  norm       = 0.334418
  Prefactor  = 52.9252
  Prefactor  = 1.01807e-06
  norm       = 0.480115
  Prefactor  = 67.4778
  Prefactor  = 1.4988e-09
  norm       = 2.69021
  Prefactor  = 2.56378e-06
  Prefactor  = 2.88658e-09
  norm       = 5.55112e-11
  norm       = 2.09653
  Prefactor  = 12.4179
  Prefactor  = 0
  Prefactor  = 42.5946
  Prefactor  = 1.84297e-08
  Prefactor  = 1.29896e-08
  Prefactor  = 1.05077e-06
  Prefactor  = 9.66
  Prefactor  = 7.535
  Prefactor  = 1.65423e-08
  Prefactor  = 2.69784e-08
  Normalizat = 1.11998
  Prefactor  = 0.943851
tfile=/lscratch/kocevski/40345752/ltcube_812937601_813196801_4FGL_J1337.4+5502_daily_bin2213.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/40345752/ft2_4FGL_J1337.4+5502_daily_bin2213.fits
.....................!
real 9.37
user 8.71
sys 0.24

Generating the exposure map:
time -p gtexpmap evfile=/lscratch/kocevski/40345752/ft1_filtered_4FGL_J1337.4+5502_daily_bin2213.fits evtable="EVENTS" scfile=/lscratch/kocevski/40345752/ft2_4FGL_J1337.4+5502_daily_bin2213.fits sctable="SC_DATA" expcube=/lscratch/kocevski/40345752/ltcube_812937601_813196801_4FGL_J1337.4+5502_daily_bin2213.fits outfile=/lscratch/kocevski/40345752/expmap_812937601_813196801_4FGL_J1337.4+5502_daily_bin2213.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/40345752/ltcube_812937601_813196801_4FGL_J1337.4+5502_daily_bin2213.fits
.....................!
real 73.74
user 68.85
sys 4.21

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

Setting source of interest to:
4FGL J1337.4+5502 @ 204.367 55.0418

Creating the counts map:
time -p gtbin evfile=/lscratch/kocevski/40345752/ft1_filtered_4FGL_J1337.4+5502_daily_bin2213.fits scfile=/lscratch/kocevski/40345752/ft2_4FGL_J1337.4+5502_daily_bin2213.fits outfile=/lscratch/kocevski/40345752/cmap_812937601_813196801_4FGL_J1337.4+5502_daily_bin2213.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=204.367 yref=55.0418 axisrot=0.0 rafield="RA" decfield="DEC" proj="AIT" hpx_ordering_scheme="RING" hpx_order=3 hpx_ebin=yes hpx_region="" evtable="EVENTS" sctable="SC_DATA" efield="ENERGY" tfield="TIME" chatter=2 clobber=yes debug=no gui=no mode="ql"

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

This is gtbin version HEAD
real 0.68
user 0.24
sys 0.13

Creating the high resolution counts map:
time -p gtbin evfile=/lscratch/kocevski/40345752/ft1_filtered_4FGL_J1337.4+5502_daily_bin2213.fits scfile=/lscratch/kocevski/40345752/ft2_4FGL_J1337.4+5502_daily_bin2213.fits outfile=/lscratch/kocevski/40345752/cmap_HighResolution_812937601_813196801_4FGL_J1337.4+5502_daily_bin2213.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=204.367 yref=55.0418 axisrot=0.0 rafield="RA" decfield="DEC" proj="AIT" hpx_ordering_scheme="RING" hpx_order=3 hpx_ebin=yes hpx_region="" evtable="EVENTS" sctable="SC_DATA" efield="ENERGY" tfield="TIME" chatter=2 clobber=yes debug=no gui=no mode="ql"

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

This is gtbin version HEAD
real 0.71
user 0.22
sys 0.14

Computing the diffuse response:
time -p gtdiffrsp evfile=/lscratch/kocevski/40345752/ft1_filtered_4FGL_J1337.4+5502_daily_bin2213.fits evtable="EVENTS" scfile=/lscratch/kocevski/40345752/ft2_4FGL_J1337.4+5502_daily_bin2213.fits sctable="SC_DATA" srcmdl=/lscratch/kocevski/40345752/Model_4FGL_J1337.4+5502_daily_bin2213.xml irfs="P8R3_SOURCE_V2" evclsmin=0 evclass="INDEF" evtype="INDEF" convert=yes chatter=2 clobber=yes debug=no gui=no mode="ql"

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

adding source EG_v02
adding source GAL **********
 **   18 **HESSE 
 **********

 FCN=   9023.651     FROM HESSE     STATUS=OK           516 CALLS     4083 TOTAL
                     EDM=   .14E-05    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  Prefactor     .98810E-08    3.2932        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   2  norm          3.8360        1.9572        .51506E-03   -1.5669    
   3  Prefactor     13.772        17.303        .26951E-03   -1.5634    
   4  norm          .33442        1.1198        .47549E-02   -1.5696    
   5  Prefactor     52.925        38.379        .13745E-03   -1.5562    
   6  Prefactor     .10181E-05    15.573        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   7  norm          .48012        4.5302        .81046E-03   -1.5694    
   8  Prefactor     67.478        33.363        .12184E-03   -1.5544    
   9  Prefactor     .14988E-08    57.631        .10353E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  10  norm          2.6902        3.4346        .62172E-03   -1.5675    
  11  Prefactor     .25638E-05    13.410        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  12  Prefactor     .28866E-08    1.8644        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  13  norm          .55511E-10    .36648        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  14  norm          2.0965        2.7796        .71261E-03   -1.5679    
  15  Prefactor     12.418        12.473        .28399E-03   -1.5637    
  16  Prefactor      .0000        22.582        .16623E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  17  Prefactor     42.595        34.206        .15334E-03   -1.5577    
  18  Prefactor     .18430E-07    4.5987        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  19  Prefactor     .12990E-07    9.3788        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  20  Prefactor     .10508E-05    1.3741        .42118E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  21  Prefactor     9.6600        21.930        .32396E-03   -1.5646    
  22  Prefactor     7.5350        62.886        .36629E-03   -1.5653    
  23  Prefactor     .16542E-07    9.2955        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  24  Prefactor     .26978E-07    5.2480        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  25  Normalizat    1.1200        .14164        .37238E-01   -.89113    
  26  Prefactor     .94385        .16643        .45564E-01   -.94625    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 1.38236e-06
Minuit parameter uncertainties:
  1  0.000360866
  2  1.95716
  3  17.3032
  4  1.11982
  5  38.379
  6  0.00796356
  7  2.94959
  8  33.3627
  9  0.000587287
  10  3.43457
  11  0.011727
  12  0.000147245
  13  8.53895e-06
  14  2.77962
  15  12.4728
  16  3.92984e-05
  17  34.2062
  18  0.000581939
  19  0.000698739
  20  0.00240321
  21  21.9304
  22  43.5367
  23  0.000784731
  24  0.000752268
  25  0.141689
  26  0.166522
Done.

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

Extracting fit parameters...

4FGL J1337.4+5502
   Spectrum: PowerLaw
314    Prefactor:  2.564e-06  1.173e-02  0.000e+00  1.000e+06 ( 1.000e-13)
315        Index:  2.758e+00  0.000e+00  0.000e+00  1.000e+01 (-1.000e+00) fixed
316        Scale:  5.686e+02  0.000e+00  3.000e+01  5.000e+05 ( 1.000e+00) fixed

GAL_V02
   Spectrum: PowerLaw
661    Prefactor:  9.439e-01  1.665e-01  0.000e+00  1.000e+01 ( 1.000e+00)
662        Index:  0.000e+00  0.000e+00 -1.000e+00  1.000e+00 ( 1.000e+00) fixed
663        Scale:  1.000e+02  0.000e+00  5.000e+01  2.000e+02 ( 1.000e+00) fixed

EG_v02
   Spectrum: FileFunction
660   Normalization:  1.120e+00  1.417e-01  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Fixed Index): -0.00
Ra Dec: 204.367 55.042
Photon Flux Upper Limit: 4.01913047221e-08 ph cm-2 s-1
Energy Flux Upper Limit: 0.00317449141872 MeV cm-2 s-1

Saving results to:
/lscratch/kocevski/40345525/likelihoodResults_812937601_813196801_4FGL_J1337.4+5502_daily_bin2213.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) = 9023.65065816
delta logL = -4.68264061055e-05

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

MINUIT Return Code (Free Index): 102
logL (Free Index) = 9023.65061125
delta logL = 8.47485353006e-08

Fit tolerance = 1e-08

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

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

 MIGRAD MINIMIZATION HAS CONVERGED.

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

 FCN=   9023.651     FROM MIGRAD    STATUS=CONVERGED     48 CALLS      249 TOTAL
                     EDM=   .10E-10  STRATEGY=1  ERROR MATRIX UNCERTAINTY=100.0%

  EXT PARAMETER                APPROXIMATE        STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor      .0000        8.2145        .42118E-03** at limit **
   2  Index         3.8415        1.8996       -.73858E-03     .0000    
   3  Normalizat    1.1200        1.1423        .13500E-04   -.85571E-04
   4  Prefactor     .94385        1.2864       -.64360E-05   -.11215E-03
                               ERR DEF=  .500    
Final values: 
  Prefactor  = 0
  Index      = 3.84148
  Normalizat = 1.11998
  Prefactor  = 0.943853
 **********
 **   18 **HESSE 
 **********
  MNHESS FAILS AND WILL RETURN DIAGONAL MATRIX. 

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

  EXT PARAMETER                APPROXIMATE     INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  Prefactor      .0000        8.2145        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   2  Index         1.6144        2.3190       -.73858E-03   -.23383    
   3  Normalizat    1.1200        1.1423        .13500E-04   -.89113    
   4  Prefactor     .94385        1.2864       -.64360E-05   -.94625    
                               ERR DEF=  .500    
Minuit fit quality: 1   estimated distance: 1.01338e-11
Minuit parameter uncertainties:
  1  9.26442e-06
  2  1.95155
  3  1.16918
  4  1.33206
 **********
 **   18 **HESSE 
 **********

 FCN=   9023.651     FROM HESSE     STATUS=OK           516 CALLS     4083 TOTAL
                     EDM=   .14E-05    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  Prefactor     .98810E-08    3.2932        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   2  norm          3.8360        1.9572        .51506E-03   -1.5669    
   3  Prefactor     13.772        17.303        .26951E-03   -1.5634    
   4  norm          .33442        1.1198        .47549E-02   -1.5696    
   5  Prefactor     52.925        38.379        .13745E-03   -1.5562    
   6  Prefactor     .10181E-05    15.573        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   7  norm          .48012        4.5302        .81046E-03   -1.5694    
   8  Prefactor     67.478        33.363        .12184E-03   -1.5544    
   9  Prefactor     .14988E-08    57.631        .10353E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  10  norm          2.6902        3.4346        .62172E-03   -1.5675    
  11  Prefactor     .25638E-05    13.410        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  12  Prefactor     .28866E-08    1.8644        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  13  norm          .55511E-10    .36648        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  14  norm          2.0965        2.7796        .71261E-03   -1.5679    
  15  Prefactor     12.418        12.473        .28399E-03   -1.5637    
  16  Prefactor      .0000        22.582        .16623E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  17  Prefactor     42.595        34.206        .15334E-03   -1.5577    
  18  Prefactor     .18430E-07    4.5987        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  19  Prefactor     .12990E-07    9.3788        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  20  Prefactor     .10508E-05    1.3741        .42118E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  21  Prefactor     9.6600        21.930        .32396E-03   -1.5646    
  22  Prefactor     7.5350        62.886        .36629E-03   -1.5653    
  23  Prefactor     .16542E-07    9.2955        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  24  Prefactor     .26978E-07    5.2480        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  25  Normalizat    1.1200        .14164        .37238E-01   -.89113    
  26  Prefactor     .94385        .16643        .45564E-01   -.94625    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 1.38236e-06
Minuit parameter uncertainties:
  1  0.000360866
  2  1.95716
  3  17.3032
  4  1.11982
  5  38.379
  6  0.00796356
  7  2.94959
  8  33.3627
  9  0.000587287
  10  3.43457
  11  0.011727
  12  0.000147245
  13  8.53895e-06
  14  2.77962
  15  12.4728
  16  3.92984e-05
  17  34.2062
  18  0.000581939
  19  0.000698739
  20  0.00240321
  21  21.9304
  22  43.5367
  23  0.000784731
  24  0.000752268
  25  0.141689
  26  0.166522
_V02
Working on...
/lscratch/kocevski/40345623/ft1_filtered_4FGL_J1337.4+5502_daily_bin2213.fits.....................!
real 28.37
user 25.84
sys 1.35

Creating the likelihood object...
obs = UnbinnedObs('/lscratch/kocevski/40345623/ft1_filtered_4FGL_J1337.4+5502_daily_bin2213.fits', '/lscratch/kocevski/40345623/ft2_4FGL_J1337.4+5502_daily_bin2213.fits', expMap='/lscratch/kocevski/40345623/expmap_812937601_813196801_4FGL_J1337.4+5502_daily_bin2213.fits', expCube='/lscratch/kocevski/40345623/ltcube_812937601_813196801_4FGL_J1337.4+5502_daily_bin2213.fits', irfs='P8R3_SOURCE_V2')
like = UnbinnedAnalysis(obs, '/lscratch/kocevski/40345623/Model_4FGL_J1337.4+5502_daily_bin2213.xml', optimizer='MINUIT')

Using source of interest name: '4FGL J1337.4+5502'

4FGL J1337.4+5502
   Spectrum: PowerLaw
314    Prefactor:  7.731e+00  0.000e+00  0.000e+00  1.000e+06 ( 1.000e-13)
315        Index:  2.758e+00  0.000e+00  0.000e+00  1.000e+01 (-1.000e+00) fixed
316        Scale:  5.686e+02  0.000e+00  3.000e+01  5.000e+05 ( 1.000e+00) fixed


Likelihood Fit Parameters:
Event file(s): /lscratch/kocevski/40345623/ft1_filtered_4FGL_J1337.4+5502_daily_bin2213.fits
Spacecraft file(s): /lscratch/kocevski/40345623/ft2_4FGL_J1337.4+5502_daily_bin2213.fits
Exposure map: /lscratch/kocevski/40345623/expmap_812937601_813196801_4FGL_J1337.4+5502_daily_bin2213.fits
Exposure cube: /lscratch/kocevski/40345623/ltcube_812937601_813196801_4FGL_J1337.4+5502_daily_bin2213.fits
IRFs: P8R3_SOURCE_V2
Source model file: /lscratch/kocevski/40345623/Model_4FGL_J1337.4+5502_daily_bin2213.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) = 9023.65064255

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

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

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'Prefactor '    .80325E-03   1.0000          .0000       .10000E+07
     2 'norm      '    3.8358       1.0000          .0000       .10000E+07
     3 'Prefactor '    13.785       1.0000          .0000       .10000E+07
     4 'norm      '    .31439       1.0000          .0000       .10000E+07
     5 'Prefactor '    52.936       1.0000          .0000       .10000E+07
     6 'Prefactor '    .64455E-05   1.0000          .0000       .10000E+07
     7 'norm      '    .47711       1.0000          .0000       .10000E+07
     8 'Prefactor '    67.373       1.0000          .0000       .10000E+07
     9 'Prefactor '    .29002       1.0000          .0000       .10000E+07
    10 'norm      '    2.6837       1.0000          .0000       .10000E+07
    11 'Prefactor '    .56751E-03   1.0000          .0000       .10000E+07
    12 'Prefactor '    .83084E-06   1.0000          .0000       .10000E+07
    13 'norm      '    .17453E-06   1.0000          .0000       .10000E+07
    14 'norm      '    2.0962       1.0000          .0000       .10000E+07
    15 'Prefactor '    12.419       1.0000          .0000       .10000E+07
    16 'Prefactor '    .26827E-01   1.0000          .0000       .10000E+07
    17 'Prefactor '    42.535       1.0000          .0000       .10000E+07
    18 'Prefactor '    .10796E-02   1.0000          .0000       .10000E+07
    19 'Prefactor '    .38995E-02   1.0000          .0000       .10000E+07
    20 'Prefactor '    .51788E-03   1.0000          .0000       .10000E+07
    21 'Prefactor '    9.5546       1.0000          .0000       .10000E+07
    22 'Prefactor '    7.4870       1.0000          .0000       .10000E+07
    23 'Prefactor '    .40550E-02   1.0000          .0000       .10000E+07
    24 'Prefactor '    .10197E-02   1.0000          .0000       .10000E+07
    25 'Normalizat'    1.1200       1.0000         .10000E-01   10.000    
    26 'Prefactor '    .94408       1.0000          .0000       10.000    
 **********
 **   15 **SET ERR    .5000    
 ********** **********
 **   18 **HESSE 
 **********

 FCN=   9023.651     FROM HESSE     STATUS=OK           516 CALLS     4083 TOTAL
                     EDM=   .14E-05    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  Prefactor     .98810E-08    3.2932        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   2  norm          3.8360        1.9572        .51506E-03   -1.5669    
   3  Prefactor     13.772        17.303        .26951E-03   -1.5634    
   4  norm          .33442        1.1198        .47549E-02   -1.5696    
   5  Prefactor     52.925        38.379        .13745E-03   -1.5562    
   6  Prefactor     .10181E-05    15.573        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   7  norm          .48012        4.5302        .81046E-03   -1.5694    
   8  Prefactor     67.478        33.363        .12184E-03   -1.5544    
   9  Prefactor     .14988E-08    57.631        .10353E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  10  norm          2.6902        3.4346        .62172E-03   -1.5675    
  11  Prefactor     .25638E-05    13.410        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  12  Prefactor     .28866E-08    1.8644        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  13  norm          .55511E-10    .36648        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  14  norm          2.0965        2.7796        .71261E-03   -1.5679    
  15  Prefactor     12.418        12.473        .28399E-03   -1.5637    
  16  Prefactor      .0000        22.582        .16623E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  17  Prefactor     42.595        34.206        .15334E-03   -1.5577    
  18  Prefactor     .18430E-07    4.5987        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  19  Prefactor     .12990E-07    9.3788        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  20  Prefactor     .10508E-05    1.3741        .42118E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  21  Prefactor     9.6600        21.930        .32396E-03   -1.5646    
  22  Prefactor     7.5350        62.886        .36629E-03   -1.5653    
  23  Prefactor     .16542E-07    9.2955        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  24  Prefactor     .26978E-07    5.2480        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  25  Normalizat    1.1200        .14164        .37238E-01   -.89113    
  26  Prefactor     .94385        .16643        .45564E-01   -.94625    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 1.38236e-06
Minuit parameter uncertainties:
  1  0.000360866
  2  1.95716
  3  17.3032
  4  1.11982
  5  38.379
  6  0.00796356
  7  2.94959
  8  33.3627
  9  0.000587287
  10  3.43457
  11  0.011727
  12  0.000147245
  13  8.53895e-06
  14  2.77962
  15  12.4728
  16  3.92984e-05
  17  34.2062
  18  0.000581939
  19  0.000698739
  20  0.00240321
  21  21.9304
  22  43.5367
  23  0.000784731
  24  0.000752268
  25  0.141689
  26  0.166522
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) = 9023.65061124
delta logL = 9.57024894888e-08

Extracting fit parameters...

4FGL J1337.4+5502
   Spectrum: PowerLaw
314    Prefactor:  0.000e+00  9.264e-06  0.000e+00  1.000e+06 ( 1.000e-13)
315        Index:  3.841e+00  1.952e+00  0.000e+00  1.000e+01 (-1.000e+00)
316        Scale:  5.686e+02  0.000e+00  3.000e+01  5.000e+05 ( 1.000e+00) fixed

GAL_V02
   Spectrum: PowerLaw
661    Prefactor:  9.439e-01  1.332e+00  0.000e+00  1.000e+01 ( 1.000e+00)
662        Index:  0.000e+00  0.000e+00 -1.000e+00  1.000e+00 ( 1.000e+00) fixed
663        Scale:  1.000e+02  0.000e+00  5.000e+01  2.000e+02 ( 1.000e+00) fixed

EG_v02
   Spectrum: FileFunction
660   Normalization:  1.120e+00  1.169e+00  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Free Index): -0.00
Ra Dec: 204.367 55.042

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/40345525/cmap_HighResolution_812937601_813196801_4FGL_J1337.4+5502_daily_bin2213.png

Cleaning up...

** Nuclear option initiated! **

Updating database...

UPDATE lightcurve_data_v2 SET energy_flux_upper_limit='3.17e-03', job_status='DONE', photon_flux_upper_limit='4.02e-08', time_completed='2026-10-09 10:43:02.331061', job_id='40345525', GAL2='0.94', fit_tolerance='1e-08', EG2='1.12', EG='1.12', time_epoch_completed='1791567782.33', return_code2='101', ts='-0.00', comment='SUCCESS', return_code='0', GAL='0.94', dlogl='9.57e-08', ts2='0.00', photon_index_error='0.00', photon_index='2.76' WHERE bin_id='2213' AND source_name='4FGL J1337.4+5502' AND cadence='daily';

Database successfully updated.


Analysis Complete.


Fri Oct  9 10:43:02 PDT 2026

_V02
Working on...
/lscratch/kocevski/40345620/ft1_filtered_4FGL_J1337.4+5502_daily_bin2213.fits.....................!
real 27.40
user 25.57
sys 1.27

Creating the likelihood object...
obs = UnbinnedObs('/lscratch/kocevski/40345620/ft1_filtered_4FGL_J1337.4+5502_daily_bin2213.fits', '/lscratch/kocevski/40345620/ft2_4FGL_J1337.4+5502_daily_bin2213.fits', expMap='/lscratch/kocevski/40345620/expmap_812937601_813196801_4FGL_J1337.4+5502_daily_bin2213.fits', expCube='/lscratch/kocevski/40345620/ltcube_812937601_813196801_4FGL_J1337.4+5502_daily_bin2213.fits', irfs='P8R3_SOURCE_V2')
like = UnbinnedAnalysis(obs, '/lscratch/kocevski/40345620/Model_4FGL_J1337.4+5502_daily_bin2213.xml', optimizer='MINUIT')

Using source of interest name: '4FGL J1337.4+5502'

4FGL J1337.4+5502
   Spectrum: PowerLaw
314    Prefactor:  7.731e+00  0.000e+00  0.000e+00  1.000e+06 ( 1.000e-13)
315        Index:  2.758e+00  0.000e+00  0.000e+00  1.000e+01 (-1.000e+00) fixed
316        Scale:  5.686e+02  0.000e+00  3.000e+01  5.000e+05 ( 1.000e+00) fixed


Likelihood Fit Parameters:
Event file(s): /lscratch/kocevski/40345620/ft1_filtered_4FGL_J1337.4+5502_daily_bin2213.fits
Spacecraft file(s): /lscratch/kocevski/40345620/ft2_4FGL_J1337.4+5502_daily_bin2213.fits
Exposure map: /lscratch/kocevski/40345620/expmap_812937601_813196801_4FGL_J1337.4+5502_daily_bin2213.fits
Exposure cube: /lscratch/kocevski/40345620/ltcube_812937601_813196801_4FGL_J1337.4+5502_daily_bin2213.fits
IRFs: P8R3_SOURCE_V2
Source model file: /lscratch/kocevski/40345620/Model_4FGL_J1337.4+5502_daily_bin2213.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) = 9023.65064255

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

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

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'Prefactor '    .80325E-03   1.0000          .0000       .10000E+07
     2 'norm      '    3.8358       1.0000          .0000       .10000E+07
     3 'Prefactor '    13.785       1.0000          .0000       .10000E+07
     4 'norm      '    .31439       1.0000          .0000       .10000E+07
     5 'Prefactor '    52.936       1.0000          .0000       .10000E+07
     6 'Prefactor '    .64455E-05   1.0000          .0000       .10000E+07
     7 'norm      '    .47711       1.0000          .0000       .10000E+07
     8 'Prefactor '    67.373       1.0000          .0000       .10000E+07
     9 'Prefactor '    .29002       1.0000          .0000       .10000E+07
    10 'norm      '    2.6837       1.0000          .0000       .10000E+07
    11 'Prefactor '    .56751E-03   1.0000          .0000       .10000E+07
    12 'Prefactor '    .83084E-06   1.0000          .0000       .10000E+07
    13 'norm      '    .17453E-06   1.0000          .0000       .10000E+07
    14 'norm      '    2.0962       1.0000          .0000       .10000E+07
    15 'Prefactor '    12.419       1.0000          .0000       .10000E+07
    16 'Prefactor '    .26827E-01   1.0000          .0000       .10000E+07
    17 'Prefactor '    42.535       1.0000          .0000       .10000E+07
    18 'Prefactor '    .10796E-02   1.0000          .0000       .10000E+07
    19 'Prefactor '    .38995E-02   1.0000          .0000       .10000E+07
    20 'Prefactor '    .51788E-03   1.0000          .0000       .10000E+07
    21 'Prefactor '    9.5546       1.0000          .0000       .10000E+07
    22 'Prefactor '    7.4870       1.0000          .0000       .10000E+07
    23 'Prefactor '    .40550E-02   1.0000          .0000       .10000E+07
    24 'Prefactor '    .10197E-02   1.0000          .0000       .10000E+07
    25 'Normalizat'    1.1200       1.0000         .10000E-01   10.000    
    26 'Prefactor '    .94408       1.0000          .0000       10.000    
 **********
 **   15 **SET ERR    .5000    
 **********
 **********
 **   16 **SET GRAD    1.000    
 **********
 **********
 **   17 **MINIMIZE    .6640E+05   .2000E-04
 **********

 MIGRAD MINIMIZATION HAS CONVERGED.

 FCN=   9023.651     FROM MIGRAD    STATUS=CONVERGED    144 CALLS     3567 TOTAL
                     EDM=   .18E-08  STRATEGY=1  ERROR MATRIX UNCERTAINTY=  1.0%

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor     .98810E-08    3.3004       -.89884E-06** at limit **
   2  norm          3.8360        1.9546        .60646E-07   -.62917E-03
   3  Prefactor     13.772        2.7364        .24556E-06    .10639E-01
   4  norm          .33442        2.8954        .11261E-05    .32364E-02
   5  Prefactor     52.925        6.4912       -.49519E-06    .50274E-01
   6  Prefactor     .10181E-05    9.4071       -.15102E-05** at limit **
   7  norm          .48012        4.3626        .79464E-06    .73752E-03
   8  Prefactor     67.478        4.3431        .30340E-06   -.50855E-01
   9  Prefactor     .14988E-08    1.7792       -.98069E-06** at limit **
  10  norm          2.6902        3.3998       -.90458E-06    .88628E-03
  11  Prefactor     .25638E-05    9.1070       -.36551E-06** at limit **
  12  Prefactor     .28866E-08    1.8663       -.10124E-05** at limit **
  13  norm          .55511E-10    .36755       -.16851E-06** at limit **
  14  norm          2.0965        2.7548        .25981E-06   -.15146E-02
  15  Prefactor     12.418        1.0233       -.17722E-07   -.27942E-02
  16  Prefactor      .0000        22.730        .27348E-06** at limit **
  17  Prefactor     42.595        19.627        .16854E-05   -.12556    
  18  Prefactor     .18430E-07    4.6372       -.33234E-06** at limit **
  19  Prefactor     .12990E-07    4.4511       -.10058E-05** at limit **
  20  Prefactor     .10508E-05    8.5976        .26420E-05** at limit **
  21  Prefactor     9.6600        10.928        .11333E-05    .80758E-01
  22  Prefactor     7.5350        9.6628        .19807E-05   -.33033E-01
  23  Prefactor     .16542E-07    4.6975       -.95166E-06** at limit **
  24  Prefactor     .26978E-07    5.2270       -.19215E-06** at limit **
  25  Normalizat    1.1200        .16029       -.38781E-05    .16214E-03
  26  Prefactor     .94385        .19097       -.22330E-05   -.14141E-03
                               ERR DEF=  .500    
Final values: 
  Prefactor  = 9.88098e-09
  norm       = 3.83601
  Prefactor  = 13.7723
  norm       = 0.334418
  Prefactor  = 52.9252
  Prefactor  = 1.01807e-06
  norm       = 0.480115
  Prefactor  = 67.4778
  Prefactor  = 1.4988e-09
  norm       = 2.69021
  Prefactor  = 2.56378e-06
  Prefactor  = 2.88658e-09
  norm       = 5.55112e-11
  norm       = 2.09653
  Prefactor  = 12.4179
  Prefactor  = 0
  Prefactor  = 42.5946
  Prefactor  = 1.84297e-08
  Prefactor  = 1.29896e-08
  Prefactor  = 1.05077e-06
  Prefactor  = 9.66
  Prefactor  = 7.535
  Prefactor  = 1.65423e-08
  Prefactor  = 2.69784e-08
  Normalizat = 1.11998
  Prefactor  = 0.943851

 **********
 **   16 **SET GRAD    1.000    
 **********
 **********
 **   17 **MINIMIZE    .6640E+05   .2000E-04
 **********

 MIGRAD MINIMIZATION HAS CONVERGED.

 FCN=   9023.651     FROM MIGRAD    STATUS=CONVERGED    144 CALLS     3567 TOTAL
                     EDM=   .18E-08  STRATEGY=1  ERROR MATRIX UNCERTAINTY=  1.0%

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor     .98810E-08    3.3004       -.89884E-06** at limit **
   2  norm          3.8360        1.9546        .60646E-07   -.62917E-03
   3  Prefactor     13.772        2.7364        .24556E-06    .10639E-01
   4  norm          .33442        2.8954        .11261E-05    .32364E-02
   5  Prefactor     52.925        6.4912       -.49519E-06    .50274E-01
   6  Prefactor     .10181E-05    9.4071       -.15102E-05** at limit **
   7  norm          .48012        4.3626        .79464E-06    .73752E-03
   8  Prefactor     67.478        4.3431        .30340E-06   -.50855E-01
   9  Prefactor     .14988E-08    1.7792       -.98069E-06** at limit **
  10  norm          2.6902        3.3998       -.90458E-06    .88628E-03
  11  Prefactor     .25638E-05    9.1070       -.36551E-06** at limit **
  12  Prefactor     .28866E-08    1.8663       -.10124E-05** at limit **
  13  norm          .55511E-10    .36755       -.16851E-06** at limit **
  14  norm          2.0965        2.7548        .25981E-06   -.15146E-02
  15  Prefactor     12.418        1.0233       -.17722E-07   -.27942E-02
  16  Prefactor      .0000        22.730        .27348E-06** at limit **
  17  Prefactor     42.595        19.627        .16854E-05   -.12556    
  18  Prefactor     .18430E-07    4.6372       -.33234E-06** at limit **
  19  Prefactor     .12990E-07    4.4511       -.10058E-05** at limit **
  20  Prefactor     .10508E-05    8.5976        .26420E-05** at limit **
  21  Prefactor     9.6600        10.928        .11333E-05    .80758E-01
  22  Prefactor     7.5350        9.6628        .19807E-05   -.33033E-01
  23  Prefactor     .16542E-07    4.6975       -.95166E-06** at limit **
  24  Prefactor     .26978E-07    5.2270       -.19215E-06** at limit **
  25  Normalizat    1.1200        .16029       -.38781E-05    .16214E-03
  26  Prefactor     .94385        .19097       -.22330E-05   -.14141E-03
                               ERR DEF=  .500    
Final values: 
  Prefactor  = 9.88098e-09
  norm       = 3.83601
  Prefactor  = 13.7723
  norm       = 0.334418
  Prefactor  = 52.9252
  Prefactor  = 1.01807e-06
  norm       = 0.480115
  Prefactor  = 67.4778
  Prefactor  = 1.4988e-09
  norm       = 2.69021
  Prefactor  = 2.56378e-06
  Prefactor  = 2.88658e-09
  norm       = 5.55112e-11
  norm       = 2.09653
  Prefactor  = 12.4179
  Prefactor  = 0
  Prefactor  = 42.5946
  Prefactor  = 1.84297e-08
  Prefactor  = 1.29896e-08
  Prefactor  = 1.05077e-06
  Prefactor  = 9.66
  Prefactor  = 7.535
  Prefactor  = 1.65423e-08
  Prefactor  = 2.69784e-08
  Normalizat = 1.11998
  Prefactor  = 0.943851
tfile=/lscratch/kocevski/40345836/ltcube_812937601_813196801_4FGL_J1337.4+5502_daily_bin2213.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/40345836/ft2_4FGL_J1337.4+5502_daily_bin2213.fits
.....................!
real 8.54
user 7.94
sys 0.23

Generating the exposure map:
time -p gtexpmap evfile=/lscratch/kocevski/40345836/ft1_filtered_4FGL_J1337.4+5502_daily_bin2213.fits evtable="EVENTS" scfile=/lscratch/kocevski/40345836/ft2_4FGL_J1337.4+5502_daily_bin2213.fits sctable="SC_DATA" expcube=/lscratch/kocevski/40345836/ltcube_812937601_813196801_4FGL_J1337.4+5502_daily_bin2213.fits outfile=/lscratch/kocevski/40345836/expmap_812937601_813196801_4FGL_J1337.4+5502_daily_bin2213.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/40345836/ltcube_812937601_813196801_4FGL_J1337.4+5502_daily_bin2213.fits
.....................!
real 60.19
user 56.17
sys 3.52

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

Setting source of interest to:
4FGL J1337.4+5502 @ 204.367 55.0418

Creating the counts map:
time -p gtbin evfile=/lscratch/kocevski/40345836/ft1_filtered_4FGL_J1337.4+5502_daily_bin2213.fits scfile=/lscratch/kocevski/40345836/ft2_4FGL_J1337.4+5502_daily_bin2213.fits outfile=/lscratch/kocevski/40345836/cmap_812937601_813196801_4FGL_J1337.4+5502_daily_bin2213.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=204.367 yref=55.0418 axisrot=0.0 rafield="RA" decfield="DEC" proj="AIT" hpx_ordering_scheme="RING" hpx_order=3 hpx_ebin=yes hpx_region="" evtable="EVENTS" sctable="SC_DATA" efield="ENERGY" tfield="TIME" chatter=2 clobber=yes debug=no gui=no mode="ql"

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

This is gtbin version HEAD
real 0.55
user 0.21
sys 0.13

Creating the high resolution counts map:
time -p gtbin evfile=/lscratch/kocevski/40345836/ft1_filtered_4FGL_J1337.4+5502_daily_bin2213.fits scfile=/lscratch/kocevski/40345836/ft2_4FGL_J1337.4+5502_daily_bin2213.fits outfile=/lscratch/kocevski/40345836/cmap_HighResolution_812937601_813196801_4FGL_J1337.4+5502_daily_bin2213.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=204.367 yref=55.0418 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.56
user 0.21
sys 0.13

Computing the diffuse response:
time -p gtdiffrsp evfile=/lscratch/kocevski/40345836/ft1_filtered_4FGL_J1337.4+5502_daily_bin2213.fits evtable="EVENTS" scfile=/lscratch/kocevski/40345836/ft2_4FGL_J1337.4+5502_daily_bin2213.fits sctable="SC_DATA" srcmdl=/lscratch/kocevski/40345836/Model_4FGL_J1337.4+5502_daily_bin2213.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/40345588/ft1_filtered_4FGL_J1337.4+5502_daily_bin2213.fits.....................!
real 31.26
user 29.34
sys 1.33

Creating the likelihood object...
obs = UnbinnedObs('/lscratch/kocevski/40345588/ft1_filtered_4FGL_J1337.4+5502_daily_bin2213.fits', '/lscratch/kocevski/40345588/ft2_4FGL_J1337.4+5502_daily_bin2213.fits', expMap='/lscratch/kocevski/40345588/expmap_812937601_813196801_4FGL_J1337.4+5502_daily_bin2213.fits', expCube='/lscratch/kocevski/40345588/ltcube_812937601_813196801_4FGL_J1337.4+5502_daily_bin2213.fits', irfs='P8R3_SOURCE_V2')
like = UnbinnedAnalysis(obs, '/lscratch/kocevski/40345588/Model_4FGL_J1337.4+5502_daily_bin2213.xml', optimizer='MINUIT')

Using source of interest name: '4FGL J1337.4+5502'

4FGL J1337.4+5502
   Spectrum: PowerLaw
314    Prefactor:  7.731e+00  0.000e+00  0.000e+00  1.000e+06 ( 1.000e-13)
315        Index:  2.758e+00  0.000e+00  0.000e+00  1.000e+01 (-1.000e+00) fixed
316        Scale:  5.686e+02  0.000e+00  3.000e+01  5.000e+05 ( 1.000e+00) fixed


Likelihood Fit Parameters:
Event file(s): /lscratch/kocevski/40345588/ft1_filtered_4FGL_J1337.4+5502_daily_bin2213.fits
Spacecraft file(s): /lscratch/kocevski/40345588/ft2_4FGL_J1337.4+5502_daily_bin2213.fits
Exposure map: /lscratch/kocevski/40345588/expmap_812937601_813196801_4FGL_J1337.4+5502_daily_bin2213.fits
Exposure cube: /lscratch/kocevski/40345588/ltcube_812937601_813196801_4FGL_J1337.4+5502_daily_bin2213.fits
IRFs: P8R3_SOURCE_V2
Source model file: /lscratch/kocevski/40345588/Model_4FGL_J1337.4+5502_daily_bin2213.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) = 9023.65064255

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

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

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'Prefactor '    .80325E-03   1.0000          .0000       .10000E+07
     2 'norm      '    3.8358       1.0000          .0000       .10000E+07
     3 'Prefactor '    13.785       1.0000          .0000       .10000E+07
     4 'norm      '    .31439       1.0000          .0000       .10000E+07
     5 'Prefactor '    52.936       1.0000          .0000       .10000E+07
     6 'Prefactor '    .64455E-05   1.0000          .0000       .10000E+07
     7 'norm      '    .47711       1.0000          .0000       .10000E+07
     8 'Prefactor '    67.373       1.0000          .0000       .10000E+07
     9 'Prefactor '    .29002       1.0000          .0000       .10000E+07
    10 'norm      '    2.6837       1.0000          .0000       .10000E+07
    11 'Prefactor '    .56751E-03   1.0000          .0000       .10000E+07
    12 'Prefactor '    .83084E-06   1.0000          .0000       .10000E+07
    13 'norm      '    .17453E-06   1.0000          .0000       .10000E+07
    14 'norm      '    2.0962       1.0000          .0000       .10000E+07
    15 'Prefactor '    12.419       1.0000          .0000       .10000E+07
    16 'Prefactor '    .26827E-01   1.0000          .0000       .10000E+07
    17 'Prefactor '    42.535       1.0000          .0000       .10000E+07
    18 'Prefactor '    .10796E-02   1.0000          .0000       .10000E+07
    19 'Prefactor '    .38995E-02   1.0000          .0000       .10000E+07
    20 'Prefactor '    .51788E-03   1.0000          .0000       .10000E+07
    21 'Prefactor '    9.5546       1.0000          .0000       .10000E+07
    22 'Prefactor '    7.4870       1.0000          .0000       .10000E+07
    23 'Prefactor '    .40550E-02   1.0000          .0000       .10000E+07
    24 'Prefactor '    .10197E-02   1.0000          .0000       .10000E+07
    25 'Normalizat'    1.1200       1.0000         .10000E-01   10.000    
    26 'Prefactor '    .94408       1.0000          .0000       10.000    
 **********
 **   15 **SET ERR    .5000    
 ********** **********
 **   18 **HESSE 
 **********

 FCN=   9023.651     FROM HESSE     STATUS=OK           516 CALLS     4083 TOTAL
                     EDM=   .14E-05    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  Prefactor     .98810E-08    3.2932        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   2  norm          3.8360        1.9572        .51506E-03   -1.5669    
   3  Prefactor     13.772        17.303        .26951E-03   -1.5634    
   4  norm          .33442        1.1198        .47549E-02   -1.5696    
   5  Prefactor     52.925        38.379        .13745E-03   -1.5562    
   6  Prefactor     .10181E-05    15.573        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   7  norm          .48012        4.5302        .81046E-03   -1.5694    
   8  Prefactor     67.478        33.363        .12184E-03   -1.5544    
   9  Prefactor     .14988E-08    57.631        .10353E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  10  norm          2.6902        3.4346        .62172E-03   -1.5675    
  11  Prefactor     .25638E-05    13.410        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  12  Prefactor     .28866E-08    1.8644        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  13  norm          .55511E-10    .36648        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  14  norm          2.0965        2.7796        .71261E-03   -1.5679    
  15  Prefactor     12.418        12.473        .28399E-03   -1.5637    
  16  Prefactor      .0000        22.582        .16623E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  17  Prefactor     42.595        34.206        .15334E-03   -1.5577    
  18  Prefactor     .18430E-07    4.5987        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  19  Prefactor     .12990E-07    9.3788        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  20  Prefactor     .10508E-05    1.3741        .42118E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  21  Prefactor     9.6600        21.930        .32396E-03   -1.5646    
  22  Prefactor     7.5350        62.886        .36629E-03   -1.5653    
  23  Prefactor     .16542E-07    9.2955        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  24  Prefactor     .26978E-07    5.2480        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  25  Normalizat    1.1200        .14164        .37238E-01   -.89113    
  26  Prefactor     .94385        .16643        .45564E-01   -.94625    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 1.38236e-06
Minuit parameter uncertainties:
  1  0.000360866
  2  1.95716
  3  17.3032
  4  1.11982
  5  38.379
  6  0.00796356
  7  2.94959
  8  33.3627
  9  0.000587287
  10  3.43457
  11  0.011727
  12  0.000147245
  13  8.53895e-06
  14  2.77962
  15  12.4728
  16  3.92984e-05
  17  34.2062
  18  0.000581939
  19  0.000698739
  20  0.00240321
  21  21.9304
  22  43.5367
  23  0.000784731
  24  0.000752268
  25  0.141689
  26  0.166522
 **********
 **   18 **HESSE 
 **********

 FCN=   9023.651     FROM HESSE     STATUS=OK           516 CALLS     4083 TOTAL
                     EDM=   .14E-05    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  Prefactor     .98810E-08    3.2932        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   2  norm          3.8360        1.9572        .51506E-03   -1.5669    
   3  Prefactor     13.772        17.303        .26951E-03   -1.5634    
   4  norm          .33442        1.1198        .47549E-02   -1.5696    
   5  Prefactor     52.925        38.379        .13745E-03   -1.5562    
   6  Prefactor     .10181E-05    15.573        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   7  norm          .48012        4.5302        .81046E-03   -1.5694    
   8  Prefactor     67.478        33.363        .12184E-03   -1.5544    
   9  Prefactor     .14988E-08    57.631        .10353E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  10  norm          2.6902        3.4346        .62172E-03   -1.5675    
  11  Prefactor     .25638E-05    13.410        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  12  Prefactor     .28866E-08    1.8644        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  13  norm          .55511E-10    .36648        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  14  norm          2.0965        2.7796        .71261E-03   -1.5679    
  15  Prefactor     12.418        12.473        .28399E-03   -1.5637    
  16  Prefactor      .0000        22.582        .16623E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  17  Prefactor     42.595        34.206        .15334E-03   -1.5577    
  18  Prefactor     .18430E-07    4.5987        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  19  Prefactor     .12990E-07    9.3788        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  20  Prefactor     .10508E-05    1.3741        .42118E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  21  Prefactor     9.6600        21.930        .32396E-03   -1.5646    
  22  Prefactor     7.5350        62.886        .36629E-03   -1.5653    
  23  Prefactor     .16542E-07    9.2955        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  24  Prefactor     .26978E-07    5.2480        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  25  Normalizat    1.1200        .14164        .37238E-01   -.89113    
  26  Prefactor     .94385        .16643        .45564E-01   -.94625    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 1.38236e-06
Minuit parameter uncertainties:
  1  0.000360866
  2  1.95716
  3  17.3032
  4  1.11982
  5  38.379
  6  0.00796356
  7  2.94959
  8  33.3627
  9  0.000587287
  10  3.43457
  11  0.011727
  12  0.000147245
  13  8.53895e-06
  14  2.77962
  15  12.4728
  16  3.92984e-05
  17  34.2062
  18  0.000581939
  19  0.000698739
  20  0.00240321
  21  21.9304
  22  43.5367
  23  0.000784731
  24  0.000752268
  25  0.141689
  26  0.166522

 **********
 **   16 **SET GRAD    1.000    
 **********
 **********
 **   17 **MINIMIZE    .6640E+05   .2000E-04
 **********

 MIGRAD MINIMIZATION HAS CONVERGED.

 FCN=   9023.651     FROM MIGRAD    STATUS=CONVERGED    144 CALLS     3567 TOTAL
                     EDM=   .18E-08  STRATEGY=1  ERROR MATRIX UNCERTAINTY=  1.0%

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor     .98810E-08    3.3004       -.89884E-06** at limit **
   2  norm          3.8360        1.9546        .60646E-07   -.62917E-03
   3  Prefactor     13.772        2.7364        .24556E-06    .10639E-01
   4  norm          .33442        2.8954        .11261E-05    .32364E-02
   5  Prefactor     52.925        6.4912       -.49519E-06    .50274E-01
   6  Prefactor     .10181E-05    9.4071       -.15102E-05** at limit **
   7  norm          .48012        4.3626        .79464E-06    .73752E-03
   8  Prefactor     67.478        4.3431        .30340E-06   -.50855E-01
   9  Prefactor     .14988E-08    1.7792       -.98069E-06** at limit **
  10  norm          2.6902        3.3998       -.90458E-06    .88628E-03
  11  Prefactor     .25638E-05    9.1070       -.36551E-06** at limit **
  12  Prefactor     .28866E-08    1.8663       -.10124E-05** at limit **
  13  norm          .55511E-10    .36755       -.16851E-06** at limit **
  14  norm          2.0965        2.7548        .25981E-06   -.15146E-02
  15  Prefactor     12.418        1.0233       -.17722E-07   -.27942E-02
  16  Prefactor      .0000        22.730        .27348E-06** at limit **
  17  Prefactor     42.595        19.627        .16854E-05   -.12556    
  18  Prefactor     .18430E-07    4.6372       -.33234E-06** at limit **
  19  Prefactor     .12990E-07    4.4511       -.10058E-05** at limit **
  20  Prefactor     .10508E-05    8.5976        .26420E-05** at limit **
  21  Prefactor     9.6600        10.928        .11333E-05    .80758E-01
  22  Prefactor     7.5350        9.6628        .19807E-05   -.33033E-01
  23  Prefactor     .16542E-07    4.6975       -.95166E-06** at limit **
  24  Prefactor     .26978E-07    5.2270       -.19215E-06** at limit **
  25  Normalizat    1.1200        .16029       -.38781E-05    .16214E-03
  26  Prefactor     .94385        .19097       -.22330E-05   -.14141E-03
                               ERR DEF=  .500    
Final values: 
  Prefactor  = 9.88098e-09
  norm       = 3.83601
  Prefactor  = 13.7723
  norm       = 0.334418
  Prefactor  = 52.9252
  Prefactor  = 1.01807e-06
  norm       = 0.480115
  Prefactor  = 67.4778
  Prefactor  = 1.4988e-09
  norm       = 2.69021
  Prefactor  = 2.56378e-06
  Prefactor  = 2.88658e-09
  norm       = 5.55112e-11
  norm       = 2.09653
  Prefactor  = 12.4179
  Prefactor  = 0
  Prefactor  = 42.5946
  Prefactor  = 1.84297e-08
  Prefactor  = 1.29896e-08
  Prefactor  = 1.05077e-06
  Prefactor  = 9.66
  Prefactor  = 7.535
  Prefactor  = 1.65423e-08
  Prefactor  = 2.69784e-08
  Normalizat = 1.11998
  Prefactor  = 0.943851
number of points = 7568
number of fields = 31
RA_SUN column already exists. File will not be modified.
Done.


Performing analysis on: 4FGL_J1337.4+5502_daily_bin2213
RA = 204.367, Dec = 55.0418
tmin = 812937601, tmax = 813196801
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='40345907', job_status='RUN', time_executed='2026-10-09 10:42:23.159250', time_epoch_executed='1791567743.16' WHERE source_name='4FGL J1337.4+5502' and cadence='daily' and bin_id='2213'

Database successfully updated.
Done.

Creating custom output directory:
/lscratch/kocevski/40345907

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

Retrieving the FT1 file...

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

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

Retrieving 47 files...
Done.


Merging files...

Checksum keywords updated successfully.

Merged file saved to:
/lscratch/kocevski/40345907/ft1_4FGL_J1337.4+5502_daily_bin2213.fits


Retrieving the FT1 file...

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

Retrieving 47 files...
Done.


Merging files...

Merged file saved to:
/lscratch/kocevski/40345907/ft2_4FGL_J1337.4+5502_daily_bin2213.fits


Selecting the photons:
time -p gtselect infile=/lscratch/kocevski/40345907/ft1_4FGL_J1337.4+5502_daily_bin2213.fits outfile=/lscratch/kocevski/40345907/ft1_filteredMKT_4FGL_J1337.4+5502_daily_bin2213.fits ra=204.367 dec=55.0418 rad=12.0 tmin=812937601.0 tmax=813196801.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 3.05
user 2.53
sys 0.18

Adding sun position to ft2 file:
/sdf/group/fermi/g/LCRepository/Repository/bin/sunpos /lscratch/kocevski/40345907/ft2_4FGL_J1337.4+5502_daily_bin2213.fits

Selecting the good time intervals:
time -p gtmktime scfile=/lscratch/kocevski/40345907/ft2_4FGL_J1337.4+5502_daily_bin2213.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/40345907/ft1_filteredMKT_4FGL_J1337.4+5502_daily_bin2213.fits evtable="EVENTS" outfile="/lscratch/kocevski/40345907/ft1_filtered_4FGL_J1337.4+5502_daily_bin2213.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.64
user 0.22
sys 0.11

Number of photons that the gtmktime cut: 830

Generating the livetime cube:
time -p gtltcube evfile="/lscratch/kocevski/40345907/ft1_filtered_4FGL_J1337.4+5502_daily_bin2213.fits" evtable="EVENTS" scfile=/lscratch/kocevski/40345907/ft2_4FGL_J1337.4+5502_daily_bin2213.fits sctable="SC_DATA" ouDone.

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

Extracting fit parameters...

4FGL J1337.4+5502
   Spectrum: PowerLaw
314    Prefactor:  2.564e-06  1.173e-02  0.000e+00  1.000e+06 ( 1.000e-13)
315        Index:  2.758e+00  0.000e+00  0.000e+00  1.000e+01 (-1.000e+00) fixed
316        Scale:  5.686e+02  0.000e+00  3.000e+01  5.000e+05 ( 1.000e+00) fixed

GAL_V02
   Spectrum: PowerLaw
661    Prefactor:  9.439e-01  1.665e-01  0.000e+00  1.000e+01 ( 1.000e+00)
662        Index:  0.000e+00  0.000e+00 -1.000e+00  1.000e+00 ( 1.000e+00) fixed
663        Scale:  1.000e+02  0.000e+00  5.000e+01  2.000e+02 ( 1.000e+00) fixed

EG_v02
   Spectrum: FileFunction
660   Normalization:  1.120e+00  1.417e-01  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Fixed Index): -0.00
Ra Dec: 204.367 55.042
Photon Flux Upper Limit: 4.01913047221e-08 ph cm-2 s-1
Energy Flux Upper Limit: 0.00317449141872 MeV cm-2 s-1

Saving results to:
/lscratch/kocevski/40345538/likelihoodResults_812937601_813196801_4FGL_J1337.4+5502_daily_bin2213.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) = 9023.65065816
delta logL = -4.68264061055e-05

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

MINUIT Return Code (Free Index): 102
logL (Free Index) = 9023.65061125
delta logL = 8.47485353006e-08

Fit tolerance = 1e-08

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

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

 MIGRAD MINIMIZATION HAS CONVERGED.

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

 FCN=   9023.651     FROM MIGRAD    STATUS=CONVERGED     48 CALLS      249 TOTAL
                     EDM=   .10E-10  STRATEGY=1  ERROR MATRIX UNCERTAINTY=100.0%

  EXT PARAMETER                APPROXIMATE        STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor      .0000        8.2145        .42118E-03** at limit **
   2  Index         3.8415        1.8996       -.73858E-03     .0000    
   3  Normalizat    1.1200        1.1423        .13500E-04   -.85571E-04
   4  Prefactor     .94385        1.2864       -.64360E-05   -.11215E-03
                               ERR DEF=  .500    
Final values: 
  Prefactor  = 0
  Index      = 3.84148
  Normalizat = 1.11998
  Prefactor  = 0.943853
 **********
 **   18 **HESSE 
 **********
  MNHESS FAILS AND WILL RETURN DIAGONAL MATRIX. 

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

  EXT PARAMETER                APPROXIMATE     INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  Prefactor      .0000        8.2145        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   2  Index         1.6144        2.3190       -.73858E-03   -.23383    
   3  Normalizat    1.1200        1.1423        .13500E-04   -.89113    
   4  Prefactor     .94385        1.2864       -.64360E-05   -.94625    
                               ERR DEF=  .500    
Minuit fit quality: 1   estimated distance: 1.01338e-11
Minuit parameter uncertainties:
  1  9.26442e-06
  2  1.95155
  3  1.16918
  4  1.33206
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) = 9023.65061124
delta logL = 9.57024894888e-08

Extracting fit parameters...

4FGL J1337.4+5502
   Spectrum: PowerLaw
314    Prefactor:  0.000e+00  9.264e-06  0.000e+00  1.000e+06 ( 1.000e-13)
315        Index:  3.841e+00  1.952e+00  0.000e+00  1.000e+01 (-1.000e+00)
316        Scale:  5.686e+02  0.000e+00  3.000e+01  5.000e+05 ( 1.000e+00) fixed

GAL_V02
   Spectrum: PowerLaw
661    Prefactor:  9.439e-01  1.332e+00  0.000e+00  1.000e+01 ( 1.000e+00)
662        Index:  0.000e+00  0.000e+00 -1.000e+00  1.000e+00 ( 1.000e+00) fixed
663        Scale:  1.000e+02  0.000e+00  5.000e+01  2.000e+02 ( 1.000e+00) fixed

EG_v02
   Spectrum: FileFunction
660   Normalization:  1.120e+00  1.169e+00  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Free Index): -0.00
Ra Dec: 204.367 55.042

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/40345538/cmap_HighResolution_812937601_813196801_4FGL_J1337.4+5502_daily_bin2213.png

Cleaning up...

** Nuclear option initiated! **

Updating database...

UPDATE lightcurve_data_v2 SET energy_flux_upper_limit='3.17e-03', job_status='DONE', photon_flux_upper_limit='4.02e-08', time_completed='2026-10-09 10:43:50.609596', job_id='40345538', GAL2='0.94', fit_tolerance='1e-08', EG2='1.12', EG='1.12', time_epoch_completed='1791567830.61', return_code2='101', ts='-0.00', comment='SUCCESS', return_code='0', GAL='0.94', dlogl='9.57e-08', ts2='0.00', photon_index_error='0.00', photon_index='2.76' WHERE bin_id='2213' AND source_name='4FGL J1337.4+5502' AND cadence='daily';

Database successfully updated.


Analysis Complete.


Fri Oct  9 10:43:50 PDT 2026

Done.

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

Extracting fit parameters...

4FGL J1337.4+5502
   Spectrum: PowerLaw
314    Prefactor:  2.564e-06  1.173e-02  0.000e+00  1.000e+06 ( 1.000e-13)
315        Index:  2.758e+00  0.000e+00  0.000e+00  1.000e+01 (-1.000e+00) fixed
316        Scale:  5.686e+02  0.000e+00  3.000e+01  5.000e+05 ( 1.000e+00) fixed

GAL_V02
   Spectrum: PowerLaw
661    Prefactor:  9.439e-01  1.665e-01  0.000e+00  1.000e+01 ( 1.000e+00)
662        Index:  0.000e+00  0.000e+00 -1.000e+00  1.000e+00 ( 1.000e+00) fixed
663        Scale:  1.000e+02  0.000e+00  5.000e+01  2.000e+02 ( 1.000e+00) fixed

EG_v02
   Spectrum: FileFunction
660   Normalization:  1.120e+00  1.417e-01  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Fixed Index): -0.00
Ra Dec: 204.367 55.042
Photon Flux Upper Limit: 4.01913047221e-08 ph cm-2 s-1
Energy Flux Upper Limit: 0.00317449141872 MeV cm-2 s-1

Saving results to:
/lscratch/kocevski/40345551/likelihoodResults_812937601_813196801_4FGL_J1337.4+5502_daily_bin2213.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) = 9023.65065816
delta logL = -4.68264061055e-05

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

MINUIT Return Code (Free Index): 102
logL (Free Index) = 9023.65061125
delta logL = 8.47485353006e-08

Fit tolerance = 1e-08

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

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

 MIGRAD MINIMIZATION HAS CONVERGED.

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

 FCN=   9023.651     FROM MIGRAD    STATUS=CONVERGED     48 CALLS      249 TOTAL
                     EDM=   .10E-10  STRATEGY=1  ERROR MATRIX UNCERTAINTY=100.0%

  EXT PARAMETER                APPROXIMATE        STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor      .0000        8.2145        .42118E-03** at limit **
   2  Index         3.8415        1.8996       -.73858E-03     .0000    
   3  Normalizat    1.1200        1.1423        .13500E-04   -.85571E-04
   4  Prefactor     .94385        1.2864       -.64360E-05   -.11215E-03
                               ERR DEF=  .500    
Final values: 
  Prefactor  = 0
  Index      = 3.84148
  Normalizat = 1.11998
  Prefactor  = 0.943853
 **********
 **   18 **HESSE 
 **********
  MNHESS FAILS AND WILL RETURN DIAGONAL MATRIX. 

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

  EXT PARAMETER                APPROXIMATE     INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  Prefactor      .0000        8.2145        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   2  Index         1.6144        2.3190       -.73858E-03   -.23383    
   3  Normalizat    1.1200        1.1423        .13500E-04   -.89113    
   4  Prefactor     .94385        1.2864       -.64360E-05   -.94625    
                               ERR DEF=  .500    
Minuit fit quality: 1   estimated distance: 1.01338e-11
Minuit parameter uncertainties:
  1  9.26442e-06
  2  1.95155
  3  1.16918
  4  1.33206
Done.

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

Extracting fit parameters...

4FGL J1337.4+5502
   Spectrum: PowerLaw
314    Prefactor:  2.564e-06  1.173e-02  0.000e+00  1.000e+06 ( 1.000e-13)
315        Index:  2.758e+00  0.000e+00  0.000e+00  1.000e+01 (-1.000e+00) fixed
316        Scale:  5.686e+02  0.000e+00  3.000e+01  5.000e+05 ( 1.000e+00) fixed

GAL_V02
   Spectrum: PowerLaw
661    Prefactor:  9.439e-01  1.665e-01  0.000e+00  1.000e+01 ( 1.000e+00)
662        Index:  0.000e+00  0.000e+00 -1.000e+00  1.000e+00 ( 1.000e+00) fixed
663        Scale:  1.000e+02  0.000e+00  5.000e+01  2.000e+02 ( 1.000e+00) fixed

EG_v02
   Spectrum: FileFunction
660   Normalization:  1.120e+00  1.417e-01  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Fixed Index): -0.00
Ra Dec: 204.367 55.042
Photon Flux Upper Limit: 4.01913047221e-08 ph cm-2 s-1
Energy Flux Upper Limit: 0.00317449141872 MeV cm-2 s-1

Saving results to:
/lscratch/kocevski/40345539/likelihoodResults_812937601_813196801_4FGL_J1337.4+5502_daily_bin2213.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) = 9023.65065816
delta logL = -4.68264061055e-05

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

MINUIT Return Code (Free Index): 102
logL (Free Index) = 9023.65061125
delta logL = 8.47485353006e-08

Fit tolerance = 1e-08

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

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

 MIGRAD MINIMIZATION HAS CONVERGED.

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

 FCN=   9023.651     FROM MIGRAD    STATUS=CONVERGED     48 CALLS      249 TOTAL
                     EDM=   .10E-10  STRATEGY=1  ERROR MATRIX UNCERTAINTY=100.0%

  EXT PARAMETER                APPROXIMATE        STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor      .0000        8.2145        .42118E-03** at limit **
   2  Index         3.8415        1.8996       -.73858E-03     .0000    
   3  Normalizat    1.1200        1.1423        .13500E-04   -.85571E-04
   4  Prefactor     .94385        1.2864       -.64360E-05   -.11215E-03
                               ERR DEF=  .500    
Final values: 
  Prefactor  = 0
  Index      = 3.84148
  Normalizat = 1.11998
  Prefactor  = 0.943853
 **********
 **   18 **HESSE 
 **********
  MNHESS FAILS AND WILL RETURN DIAGONAL MATRIX. 

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

  EXT PARAMETER                APPROXIMATE     INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  Prefactor      .0000        8.2145        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   2  Index         1.6144        2.3190       -.73858E-03   -.23383    
   3  Normalizat    1.1200        1.1423        .13500E-04   -.89113    
   4  Prefactor     .94385        1.2864       -.64360E-05   -.94625    
                               ERR DEF=  .500    
Minuit fit quality: 1   estimated distance: 1.01338e-11
Minuit parameter uncertainties:
  1  9.26442e-06
  2  1.95155
  3  1.16918
  4  1.33206
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) = 9023.65061124
delta logL = 9.57024894888e-08

Extracting fit parameters...

4FGL J1337.4+5502
   Spectrum: PowerLaw
314    Prefactor:  0.000e+00  9.264e-06  0.000e+00  1.000e+06 ( 1.000e-13)
315        Index:  3.841e+00  1.952e+00  0.000e+00  1.000e+01 (-1.000e+00)
316        Scale:  5.686e+02  0.000e+00  3.000e+01  5.000e+05 ( 1.000e+00) fixed

GAL_V02
   Spectrum: PowerLaw
661    Prefactor:  9.439e-01  1.332e+00  0.000e+00  1.000e+01 ( 1.000e+00)
662        Index:  0.000e+00  0.000e+00 -1.000e+00  1.000e+00 ( 1.000e+00) fixed
663        Scale:  1.000e+02  0.000e+00  5.000e+01  2.000e+02 ( 1.000e+00) fixed

EG_v02
   Spectrum: FileFunction
660   Normalization:  1.120e+00  1.169e+00  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Free Index): -0.00
Ra Dec: 204.367 55.042

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/40345551/cmap_HighResolution_812937601_813196801_4FGL_J1337.4+5502_daily_bin2213.png

Cleaning up...

** Nuclear option initiated! **

Updating database...

UPDATE lightcurve_data_v2 SET energy_flux_upper_limit='3.17e-03', job_status='DONE', photon_flux_upper_limit='4.02e-08', time_completed='2026-10-09 10:43:54.675040', job_id='40345551', GAL2='0.94', fit_tolerance='1e-08', EG2='1.12', EG='1.12', time_epoch_completed='1791567834.68', return_code2='101', ts='-0.00', comment='SUCCESS', return_code='0', GAL='0.94', dlogl='9.57e-08', ts2='0.00', photon_index_error='0.00', photon_index='2.76' WHERE bin_id='2213' AND source_name='4FGL J1337.4+5502' AND cadence='daily';

Database successfully updated.


Analysis Complete.


Fri Oct  9 10:43:54 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) = 9023.65061124
delta logL = 9.57024894888e-08

Extracting fit parameters...

4FGL J1337.4+5502
   Spectrum: PowerLaw
314    Prefactor:  0.000e+00  9.264e-06  0.000e+00  1.000e+06 ( 1.000e-13)
315        Index:  3.841e+00  1.952e+00  0.000e+00  1.000e+01 (-1.000e+00)
316        Scale:  5.686e+02  0.000e+00  3.000e+01  5.000e+05 ( 1.000e+00) fixed

GAL_V02
   Spectrum: PowerLaw
661    Prefactor:  9.439e-01  1.332e+00  0.000e+00  1.000e+01 ( 1.000e+00)
662        Index:  0.000e+00  0.000e+00 -1.000e+00  1.000e+00 ( 1.000e+00) fixed
663        Scale:  1.000e+02  0.000e+00  5.000e+01  2.000e+02 ( 1.000e+00) fixed

EG_v02
   Spectrum: FileFunction
660   Normalization:  1.120e+00  1.169e+00  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Free Index): -0.00
Ra Dec: 204.367 55.042

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/40345539/cmap_HighResolution_812937601_813196801_4FGL_J1337.4+5502_daily_bin2213.png

Cleaning up...

** Nuclear option initiated! **

Updating database...

UPDATE lightcurve_data_v2 SET energy_flux_upper_limit='3.17e-03', job_status='DONE', photon_flux_upper_limit='4.02e-08', time_completed='2026-10-09 10:43:56.576722', job_id='40345539', GAL2='0.94', fit_tolerance='1e-08', EG2='1.12', EG='1.12', time_epoch_completed='1791567836.58', return_code2='101', ts='-0.00', comment='SUCCESS', return_code='0', GAL='0.94', dlogl='9.57e-08', ts2='0.00', photon_index_error='0.00', photon_index='2.76' WHERE bin_id='2213' AND source_name='4FGL J1337.4+5502' AND cadence='daily';

Database successfully updated.


Analysis Complete.


Fri Oct  9 10:43:56 PDT 2026

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

 FCN=   9023.651     FROM HESSE     STATUS=OK           516 CALLS     4083 TOTAL
                     EDM=   .14E-05    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  Prefactor     .98810E-08    3.2932        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   2  norm          3.8360        1.9572        .51506E-03   -1.5669    
   3  Prefactor     13.772        17.303        .26951E-03   -1.5634    
   4  norm          .33442        1.1198        .47549E-02   -1.5696    
   5  Prefactor     52.925        38.379        .13745E-03   -1.5562    
   6  Prefactor     .10181E-05    15.573        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   7  norm          .48012        4.5302        .81046E-03   -1.5694    
   8  Prefactor     67.478        33.363        .12184E-03   -1.5544    
   9  Prefactor     .14988E-08    57.631        .10353E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  10  norm          2.6902        3.4346        .62172E-03   -1.5675    
  11  Prefactor     .25638E-05    13.410        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  12  Prefactor     .28866E-08    1.8644        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  13  norm          .55511E-10    .36648        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  14  norm          2.0965        2.7796        .71261E-03   -1.5679    
  15  Prefactor     12.418        12.473        .28399E-03   -1.5637    
  16  Prefactor      .0000        22.582        .16623E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  17  Prefactor     42.595        34.206        .15334E-03   -1.5577    
  18  Prefactor     .18430E-07    4.5987        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  19  Prefactor     .12990E-07    9.3788        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  20  Prefactor     .10508E-05    1.3741        .42118E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  21  Prefactor     9.6600        21.930        .32396E-03   -1.5646    
  22  Prefactor     7.5350        62.886        .36629E-03   -1.5653    
  23  Prefactor     .16542E-07    9.2955        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  24  Prefactor     .26978E-07    5.2480        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  25  Normalizat    1.1200        .14164        .37238E-01   -.89113    
  26  Prefactor     .94385        .16643        .45564E-01   -.94625    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 1.38236e-06
Minuit parameter uncertainties:
  1  0.000360866
  2  1.95716
  3  17.3032
  4  1.11982
  5  38.379
  6  0.00796356
  7  2.94959
  8  33.3627
  9  0.000587287
  10  3.43457
  11  0.011727
  12  0.000147245
  13  8.53895e-06
  14  2.77962
  15  12.4728
  16  3.92984e-05
  17  34.2062
  18  0.000581939
  19  0.000698739
  20  0.00240321
  21  21.9304
  22  43.5367
  23  0.000784731
  24  0.000752268
  25  0.141689
  26  0.166522
Done.

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

Extracting fit parameters...

4FGL J1337.4+5502
   Spectrum: PowerLaw
314    Prefactor:  2.564e-06  1.173e-02  0.000e+00  1.000e+06 ( 1.000e-13)
315        Index:  2.758e+00  0.000e+00  0.000e+00  1.000e+01 (-1.000e+00) fixed
316        Scale:  5.686e+02  0.000e+00  3.000e+01  5.000e+05 ( 1.000e+00) fixed

GAL_V02
   Spectrum: PowerLaw
661    Prefactor:  9.439e-01  1.665e-01  0.000e+00  1.000e+01 ( 1.000e+00)
662        Index:  0.000e+00  0.000e+00 -1.000e+00  1.000e+00 ( 1.000e+00) fixed
663        Scale:  1.000e+02  0.000e+00  5.000e+01  2.000e+02 ( 1.000e+00) fixed

EG_v02
   Spectrum: FileFunction
660   Normalization:  1.120e+00  1.417e-01  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Fixed Index): -0.00
Ra Dec: 204.367 55.042
Photon Flux Upper Limit: 4.01913047221e-08 ph cm-2 s-1
Energy Flux Upper Limit: 0.00317449141872 MeV cm-2 s-1

Saving results to:
/lscratch/kocevski/40345623/likelihoodResults_812937601_813196801_4FGL_J1337.4+5502_daily_bin2213.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) = 9023.65065816
delta logL = -4.68264061055e-05

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

MINUIT Return Code (Free Index): 102
logL (Free Index) = 9023.65061125
delta logL = 8.47485353006e-08

Fit tolerance = 1e-08

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

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

 MIGRAD MINIMIZATION HAS CONVERGED.

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

 FCN=   9023.651     FROM MIGRAD    STATUS=CONVERGED     48 CALLS      249 TOTAL
                     EDM=   .10E-10  STRATEGY=1  ERROR MATRIX UNCERTAINTY=100.0%

  EXT PARAMETER                APPROXIMATE        STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor      .0000        8.2145        .42118E-03** at limit **
   2  Index         3.8415        1.8996       -.73858E-03     .0000    
   3  Normalizat    1.1200        1.1423        .13500E-04   -.85571E-04
   4  Prefactor     .94385        1.2864       -.64360E-05   -.11215E-03
                               ERR DEF=  .500    
Final values: 
  Prefactor  = 0
  Index      = 3.84148
  Normalizat = 1.11998
  Prefactor  = 0.943853
 **********
 **   18 **HESSE 
 **********
  MNHESS FAILS AND WILL RETURN DIAGONAL MATRIX. 

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

  EXT PARAMETER                APPROXIMATE     INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  Prefactor      .0000        8.2145        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   2  Index         1.6144        2.3190       -.73858E-03   -.23383    
   3  Normalizat    1.1200        1.1423        .13500E-04   -.89113    
   4  Prefactor     .94385        1.2864       -.64360E-05   -.94625    
                               ERR DEF=  .500    
Minuit fit quality: 1   estimated distance: 1.01338e-11
Minuit parameter uncertainties:
  1  9.26442e-06
  2  1.95155
  3  1.16918
  4  1.33206
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) = 9023.65061124
delta logL = 9.57024894888e-08

Extracting fit parameters...

4FGL J1337.4+5502
   Spectrum: PowerLaw
314    Prefactor:  0.000e+00  9.264e-06  0.000e+00  1.000e+06 ( 1.000e-13)
315        Index:  3.841e+00  1.952e+00  0.000e+00  1.000e+01 (-1.000e+00)
316        Scale:  5.686e+02  0.000e+00  3.000e+01  5.000e+05 ( 1.000e+00) fixed

GAL_V02
   Spectrum: PowerLaw
661    Prefactor:  9.439e-01  1.332e+00  0.000e+00  1.000e+01 ( 1.000e+00)
662        Index:  0.000e+00  0.000e+00 -1.000e+00  1.000e+00 ( 1.000e+00) fixed
663        Scale:  1.000e+02  0.000e+00  5.000e+01  2.000e+02 ( 1.000e+00) fixed

EG_v02
   Spectrum: FileFunction
660   Normalization:  1.120e+00  1.169e+00  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Free Index): -0.00
Ra Dec: 204.367 55.042

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/40345623/cmap_HighResolution_812937601_813196801_4FGL_J1337.4+5502_daily_bin2213.png

Cleaning up...

** Nuclear option initiated! **

Updating database...

UPDATE lightcurve_data_v2 SET energy_flux_upper_limit='3.17e-03', job_status='DONE', photon_flux_upper_limit='4.02e-08', time_completed='2026-10-09 10:44:23.469155', job_id='40345623', GAL2='0.94', fit_tolerance='1e-08', EG2='1.12', EG='1.12', time_epoch_completed='1791567863.47', return_code2='101', ts='-0.00', comment='SUCCESS', return_code='0', GAL='0.94', dlogl='9.57e-08', ts2='0.00', photon_index_error='0.00', photon_index='2.76' WHERE bin_id='2213' AND source_name='4FGL J1337.4+5502' AND cadence='daily';

Database successfully updated.


Analysis Complete.


Fri Oct  9 10:44:23 PDT 2026

_V02
Working on...
/lscratch/kocevski/40345699/ft1_filtered_4FGL_J1337.4+5502_daily_bin2213.fits.....................!
real 30.40
user 28.65
sys 0.95

Creating the likelihood object...
obs = UnbinnedObs('/lscratch/kocevski/40345699/ft1_filtered_4FGL_J1337.4+5502_daily_bin2213.fits', '/lscratch/kocevski/40345699/ft2_4FGL_J1337.4+5502_daily_bin2213.fits', expMap='/lscratch/kocevski/40345699/expmap_812937601_813196801_4FGL_J1337.4+5502_daily_bin2213.fits', expCube='/lscratch/kocevski/40345699/ltcube_812937601_813196801_4FGL_J1337.4+5502_daily_bin2213.fits', irfs='P8R3_SOURCE_V2')
like = UnbinnedAnalysis(obs, '/lscratch/kocevski/40345699/Model_4FGL_J1337.4+5502_daily_bin2213.xml', optimizer='MINUIT')

Using source of interest name: '4FGL J1337.4+5502'

4FGL J1337.4+5502
   Spectrum: PowerLaw
314    Prefactor:  7.731e+00  0.000e+00  0.000e+00  1.000e+06 ( 1.000e-13)
315        Index:  2.758e+00  0.000e+00  0.000e+00  1.000e+01 (-1.000e+00) fixed
316        Scale:  5.686e+02  0.000e+00  3.000e+01  5.000e+05 ( 1.000e+00) fixed


Likelihood Fit Parameters:
Event file(s): /lscratch/kocevski/40345699/ft1_filtered_4FGL_J1337.4+5502_daily_bin2213.fits
Spacecraft file(s): /lscratch/kocevski/40345699/ft2_4FGL_J1337.4+5502_daily_bin2213.fits
Exposure map: /lscratch/kocevski/40345699/expmap_812937601_813196801_4FGL_J1337.4+5502_daily_bin2213.fits
Exposure cube: /lscratch/kocevski/40345699/ltcube_812937601_813196801_4FGL_J1337.4+5502_daily_bin2213.fits
IRFs: P8R3_SOURCE_V2
Source model file: /lscratch/kocevski/40345699/Model_4FGL_J1337.4+5502_daily_bin2213.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) = 9023.65064255

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

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

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'Prefactor '    .80325E-03   1.0000          .0000       .10000E+07
     2 'norm      '    3.8358       1.0000          .0000       .10000E+07
     3 'Prefactor '    13.785       1.0000          .0000       .10000E+07
     4 'norm      '    .31439       1.0000          .0000       .10000E+07
     5 'Prefactor '    52.936       1.0000          .0000       .10000E+07
     6 'Prefactor '    .64455E-05   1.0000          .0000       .10000E+07
     7 'norm      '    .47711       1.0000          .0000       .10000E+07
     8 'Prefactor '    67.373       1.0000          .0000       .10000E+07
     9 'Prefactor '    .29002       1.0000          .0000       .10000E+07
    10 'norm      '    2.6837       1.0000          .0000       .10000E+07
    11 'Prefactor '    .56751E-03   1.0000          .0000       .10000E+07
    12 'Prefactor '    .83084E-06   1.0000          .0000       .10000E+07
    13 'norm      '    .17453E-06   1.0000          .0000       .10000E+07
    14 'norm      '    2.0962       1.0000          .0000       .10000E+07
    15 'Prefactor '    12.419       1.0000          .0000       .10000E+07
    16 'Prefactor '    .26827E-01   1.0000          .0000       .10000E+07
    17 'Prefactor '    42.535       1.0000          .0000       .10000E+07
    18 'Prefactor '    .10796E-02   1.0000          .0000       .10000E+07
    19 'Prefactor '    .38995E-02   1.0000          .0000       .10000E+07
    20 'Prefactor '    .51788E-03   1.0000          .0000       .10000E+07
    21 'Prefactor '    9.5546       1.0000          .0000       .10000E+07
    22 'Prefactor '    7.4870       1.0000          .0000       .10000E+07
    23 'Prefactor '    .40550E-02   1.0000          .0000       .10000E+07
    24 'Prefactor '    .10197E-02   1.0000          .0000       .10000E+07
    25 'Normalizat'    1.1200       1.0000         .10000E-01   10.000    
    26 'Prefactor '    .94408       1.0000          .0000       10.000    
 **********
 **   15 **SET ERR    .5000    
 **********Done.

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

Extracting fit parameters...

4FGL J1337.4+5502
   Spectrum: PowerLaw
314    Prefactor:  2.564e-06  1.173e-02  0.000e+00  1.000e+06 ( 1.000e-13)
315        Index:  2.758e+00  0.000e+00  0.000e+00  1.000e+01 (-1.000e+00) fixed
316        Scale:  5.686e+02  0.000e+00  3.000e+01  5.000e+05 ( 1.000e+00) fixed

GAL_V02
   Spectrum: PowerLaw
661    Prefactor:  9.439e-01  1.665e-01  0.000e+00  1.000e+01 ( 1.000e+00)
662        Index:  0.000e+00  0.000e+00 -1.000e+00  1.000e+00 ( 1.000e+00) fixed
663        Scale:  1.000e+02  0.000e+00  5.000e+01  2.000e+02 ( 1.000e+00) fixed

EG_v02
   Spectrum: FileFunction
660   Normalization:  1.120e+00  1.417e-01  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Fixed Index): -0.00
Ra Dec: 204.367 55.042
Photon Flux Upper Limit: 4.01913047221e-08 ph cm-2 s-1
Energy Flux Upper Limit: 0.00317449141872 MeV cm-2 s-1

Saving results to:
/lscratch/kocevski/40345620/likelihoodResults_812937601_813196801_4FGL_J1337.4+5502_daily_bin2213.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) = 9023.65065816
delta logL = -4.68264061055e-05

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

MINUIT Return Code (Free Index): 102
logL (Free Index) = 9023.65061125
delta logL = 8.47485353006e-08

Fit tolerance = 1e-08

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

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

 MIGRAD MINIMIZATION HAS CONVERGED.

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

 FCN=   9023.651     FROM MIGRAD    STATUS=CONVERGED     48 CALLS      249 TOTAL
                     EDM=   .10E-10  STRATEGY=1  ERROR MATRIX UNCERTAINTY=100.0%

  EXT PARAMETER                APPROXIMATE        STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor      .0000        8.2145        .42118E-03** at limit **
   2  Index         3.8415        1.8996       -.73858E-03     .0000    
   3  Normalizat    1.1200        1.1423        .13500E-04   -.85571E-04
   4  Prefactor     .94385        1.2864       -.64360E-05   -.11215E-03
                               ERR DEF=  .500    
Final values: 
  Prefactor  = 0
  Index      = 3.84148
  Normalizat = 1.11998
  Prefactor  = 0.943853
 **********
 **   18 **HESSE 
 **********
  MNHESS FAILS AND WILL RETURN DIAGONAL MATRIX. 

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

  EXT PARAMETER                APPROXIMATE     INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  Prefactor      .0000        8.2145        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   2  Index         1.6144        2.3190       -.73858E-03   -.23383    
   3  Normalizat    1.1200        1.1423        .13500E-04   -.89113    
   4  Prefactor     .94385        1.2864       -.64360E-05   -.94625    
                               ERR DEF=  .500    
Minuit fit quality: 1   estimated distance: 1.01338e-11
Minuit parameter uncertainties:
  1  9.26442e-06
  2  1.95155
  3  1.16918
  4  1.33206
V02
Working on...
/lscratch/kocevski/40345664/ft1_filtered_4FGL_J1337.4+5502_daily_bin2213.fits.....................!
real 31.63
user 30.07
sys 0.95

Creating the likelihood object...
obs = UnbinnedObs('/lscratch/kocevski/40345664/ft1_filtered_4FGL_J1337.4+5502_daily_bin2213.fits', '/lscratch/kocevski/40345664/ft2_4FGL_J1337.4+5502_daily_bin2213.fits', expMap='/lscratch/kocevski/40345664/expmap_812937601_813196801_4FGL_J1337.4+5502_daily_bin2213.fits', expCube='/lscratch/kocevski/40345664/ltcube_812937601_813196801_4FGL_J1337.4+5502_daily_bin2213.fits', irfs='P8R3_SOURCE_V2')
like = UnbinnedAnalysis(obs, '/lscratch/kocevski/40345664/Model_4FGL_J1337.4+5502_daily_bin2213.xml', optimizer='MINUIT')

Using source of interest name: '4FGL J1337.4+5502'

4FGL J1337.4+5502
   Spectrum: PowerLaw
314    Prefactor:  7.731e+00  0.000e+00  0.000e+00  1.000e+06 ( 1.000e-13)
315        Index:  2.758e+00  0.000e+00  0.000e+00  1.000e+01 (-1.000e+00) fixed
316        Scale:  5.686e+02  0.000e+00  3.000e+01  5.000e+05 ( 1.000e+00) fixed


Likelihood Fit Parameters:
Event file(s): /lscratch/kocevski/40345664/ft1_filtered_4FGL_J1337.4+5502_daily_bin2213.fits
Spacecraft file(s): /lscratch/kocevski/40345664/ft2_4FGL_J1337.4+5502_daily_bin2213.fits
Exposure map: /lscratch/kocevski/40345664/expmap_812937601_813196801_4FGL_J1337.4+5502_daily_bin2213.fits
Exposure cube: /lscratch/kocevski/40345664/ltcube_812937601_813196801_4FGL_J1337.4+5502_daily_bin2213.fits
IRFs: P8R3_SOURCE_V2
Source model file: /lscratch/kocevski/40345664/Model_4FGL_J1337.4+5502_daily_bin2213.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) = 9023.65064255

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

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

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'Prefactor '    .80325E-03   1.0000          .0000       .10000E+07
     2 'norm      '    3.8358       1.0000          .0000       .10000E+07
     3 'Prefactor '    13.785       1.0000          .0000       .10000E+07
     4 'norm      '    .31439       1.0000          .0000       .10000E+07
     5 'Prefactor '    52.936       1.0000          .0000       .10000E+07
     6 'Prefactor '    .64455E-05   1.0000          .0000       .10000E+07
     7 'norm      '    .47711       1.0000          .0000       .10000E+07
     8 'Prefactor '    67.373       1.0000          .0000       .10000E+07
     9 'Prefactor '    .29002       1.0000          .0000       .10000E+07
    10 'norm      '    2.6837       1.0000          .0000       .10000E+07
    11 'Prefactor '    .56751E-03   1.0000          .0000       .10000E+07
    12 'Prefactor '    .83084E-06   1.0000          .0000       .10000E+07
    13 'norm      '    .17453E-06   1.0000          .0000       .10000E+07
    14 'norm      '    2.0962       1.0000          .0000       .10000E+07
    15 'Prefactor '    12.419       1.0000          .0000       .10000E+07
    16 'Prefactor '    .26827E-01   1.0000          .0000       .10000E+07
    17 'Prefactor '    42.535       1.0000          .0000       .10000E+07
    18 'Prefactor '    .10796E-02   1.0000          .0000       .10000E+07
    19 'Prefactor '    .38995E-02   1.0000          .0000       .10000E+07
    20 'Prefactor '    .51788E-03   1.0000          .0000       .10000E+07
    21 'Prefactor '    9.5546       1.0000          .0000       .10000E+07
    22 'Prefactor '    7.4870       1.0000          .0000       .10000E+07
    23 'Prefactor '    .40550E-02   1.0000          .0000       .10000E+07
    24 'Prefactor '    .10197E-02   1.0000          .0000       .10000E+07
    25 'Normalizat'    1.1200       1.0000         .10000E-01   10.000    
    26 'Prefactor '    .94408       1.0000          .0000       10.000    
 **********
 **   15 **SET ERR    .5000    
 **********
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) = 9023.65061124
delta logL = 9.57024894888e-08

Extracting fit parameters...

4FGL J1337.4+5502
   Spectrum: PowerLaw
314    Prefactor:  0.000e+00  9.264e-06  0.000e+00  1.000e+06 ( 1.000e-13)
315        Index:  3.841e+00  1.952e+00  0.000e+00  1.000e+01 (-1.000e+00)
316        Scale:  5.686e+02  0.000e+00  3.000e+01  5.000e+05 ( 1.000e+00) fixed

GAL_V02
   Spectrum: PowerLaw
661    Prefactor:  9.439e-01  1.332e+00  0.000e+00  1.000e+01 ( 1.000e+00)
662        Index:  0.000e+00  0.000e+00 -1.000e+00  1.000e+00 ( 1.000e+00) fixed
663        Scale:  1.000e+02  0.000e+00  5.000e+01  2.000e+02 ( 1.000e+00) fixed

EG_v02
   Spectrum: FileFunction
660   Normalization:  1.120e+00  1.169e+00  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Free Index): -0.00
Ra Dec: 204.367 55.042

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/40345620/cmap_HighResolution_812937601_813196801_4FGL_J1337.4+5502_daily_bin2213.png

Cleaning up...

** Nuclear option initiated! **

Updating database...

UPDATE lightcurve_data_v2 SET energy_flux_upper_limit='3.17e-03', job_status='DONE', photon_flux_upper_limit='4.02e-08', time_completed='2026-10-09 10:44:27.663359', job_id='40345620', GAL2='0.94', fit_tolerance='1e-08', EG2='1.12', EG='1.12', time_epoch_completed='1791567867.66', return_code2='101', ts='-0.00', comment='SUCCESS', return_code='0', GAL='0.94', dlogl='9.57e-08', ts2='0.00', photon_index_error='0.00', photon_index='2.76' WHERE bin_id='2213' AND source_name='4FGL J1337.4+5502' AND cadence='daily';

Database successfully updated.


Analysis Complete.


Fri Oct  9 10:44:27 PDT 2026


 **********
 **   16 **SET GRAD    1.000    
 **********
 **********
 **   17 **MINIMIZE    .6640E+05   .2000E-04
 **********

 MIGRAD MINIMIZATION HAS CONVERGED.

 FCN=   9023.651     FROM MIGRAD    STATUS=CONVERGED    144 CALLS     3567 TOTAL
                     EDM=   .18E-08  STRATEGY=1  ERROR MATRIX UNCERTAINTY=  1.0%

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor     .98810E-08    3.3004       -.89884E-06** at limit **
   2  norm          3.8360        1.9546        .60646E-07   -.62917E-03
   3  Prefactor     13.772        2.7364        .24556E-06    .10639E-01
   4  norm          .33442        2.8954        .11261E-05    .32364E-02
   5  Prefactor     52.925        6.4912       -.49519E-06    .50274E-01
   6  Prefactor     .10181E-05    9.4071       -.15102E-05** at limit **
   7  norm          .48012        4.3626        .79464E-06    .73752E-03
   8  Prefactor     67.478        4.3431        .30340E-06   -.50855E-01
   9  Prefactor     .14988E-08    1.7792       -.98069E-06** at limit **
  10  norm          2.6902        3.3998       -.90458E-06    .88628E-03
  11  Prefactor     .25638E-05    9.1070       -.36551E-06** at limit **
  12  Prefactor     .28866E-08    1.8663       -.10124E-05** at limit **
  13  norm          .55511E-10    .36755       -.16851E-06** at limit **
  14  norm          2.0965        2.7548        .25981E-06   -.15146E-02
  15  Prefactor     12.418        1.0233       -.17722E-07   -.27942E-02
  16  Prefactor      .0000        22.730        .27348E-06** at limit **
  17  Prefactor     42.595        19.627        .16854E-05   -.12556    
  18  Prefactor     .18430E-07    4.6372       -.33234E-06** at limit **
  19  Prefactor     .12990E-07    4.4511       -.10058E-05** at limit **
  20  Prefactor     .10508E-05    8.5976        .26420E-05** at limit **
  21  Prefactor     9.6600        10.928        .11333E-05    .80758E-01
  22  Prefactor     7.5350        9.6628        .19807E-05   -.33033E-01
  23  Prefactor     .16542E-07    4.6975       -.95166E-06** at limit **
  24  Prefactor     .26978E-07    5.2270       -.19215E-06** at limit **
  25  Normalizat    1.1200        .16029       -.38781E-05    .16214E-03
  26  Prefactor     .94385        .19097       -.22330E-05   -.14141E-03
                               ERR DEF=  .500    
Final values: 
  Prefactor  = 9.88098e-09
  norm       = 3.83601
  Prefactor  = 13.7723
  norm       = 0.334418
  Prefactor  = 52.9252
  Prefactor  = 1.01807e-06
  norm       = 0.480115
  Prefactor  = 67.4778
  Prefactor  = 1.4988e-09
  norm       = 2.69021
  Prefactor  = 2.56378e-06
  Prefactor  = 2.88658e-09
  norm       = 5.55112e-11
  norm       = 2.09653
  Prefactor  = 12.4179
  Prefactor  = 0
  Prefactor  = 42.5946
  Prefactor  = 1.84297e-08
  Prefactor  = 1.29896e-08
  Prefactor  = 1.05077e-06
  Prefactor  = 9.66
  Prefactor  = 7.535
  Prefactor  = 1.65423e-08
  Prefactor  = 2.69784e-08
  Normalizat = 1.11998
  Prefactor  = 0.943851
 **********
 **   16 **SET GRAD    1.000    
 **********
 **********
 **   17 **MINIMIZE    .6640E+05   .2000E-04
 **********

 MIGRAD MINIMIZATION HAS CONVERGED.

 FCN=   9023.651     FROM MIGRAD    STATUS=CONVERGED    144 CALLS     3567 TOTAL
                     EDM=   .18E-08  STRATEGY=1  ERROR MATRIX UNCERTAINTY=  1.0%

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor     .98810E-08    3.3004       -.89884E-06** at limit **
   2  norm          3.8360        1.9546        .60646E-07   -.62917E-03
   3  Prefactor     13.772        2.7364        .24556E-06    .10639E-01
   4  norm          .33442        2.8954        .11261E-05    .32364E-02
   5  Prefactor     52.925        6.4912       -.49519E-06    .50274E-01
   6  Prefactor     .10181E-05    9.4071       -.15102E-05** at limit **
   7  norm          .48012        4.3626        .79464E-06    .73752E-03
   8  Prefactor     67.478        4.3431        .30340E-06   -.50855E-01
   9  Prefactor     .14988E-08    1.7792       -.98069E-06** at limit **
  10  norm          2.6902        3.3998       -.90458E-06    .88628E-03
  11  Prefactor     .25638E-05    9.1070       -.36551E-06** at limit **
  12  Prefactor     .28866E-08    1.8663       -.10124E-05** at limit **
  13  norm          .55511E-10    .36755       -.16851E-06** at limit **
  14  norm          2.0965        2.7548        .25981E-06   -.15146E-02
  15  Prefactor     12.418        1.0233       -.17722E-07   -.27942E-02
  16  Prefactor      .0000        22.730        .27348E-06** at limit **
  17  Prefactor     42.595        19.627        .16854E-05   -.12556    
  18  Prefactor     .18430E-07    4.6372       -.33234E-06** at limit **
  19  Prefactor     .12990E-07    4.4511       -.10058E-05** at limit **
  20  Prefactor     .10508E-05    8.5976        .26420E-05** at limit **
  21  Prefactor     9.6600        10.928        .11333E-05    .80758E-01
  22  Prefactor     7.5350        9.6628        .19807E-05   -.33033E-01
  23  Prefactor     .16542E-07    4.6975       -.95166E-06** at limit **
  24  Prefactor     .26978E-07    5.2270       -.19215E-06** at limit **
  25  Normalizat    1.1200        .16029       -.38781E-05    .16214E-03
  26  Prefactor     .94385        .19097       -.22330E-05   -.14141E-03
                               ERR DEF=  .500    
Final values: 
  Prefactor  = 9.88098e-09
  norm       = 3.83601
  Prefactor  = 13.7723
  norm       = 0.334418
  Prefactor  = 52.9252
  Prefactor  = 1.01807e-06
  norm       = 0.480115
  Prefactor  = 67.4778
  Prefactor  = 1.4988e-09
  norm       = 2.69021
  Prefactor  = 2.56378e-06
  Prefactor  = 2.88658e-09
  norm       = 5.55112e-11
  norm       = 2.09653
  Prefactor  = 12.4179
  Prefactor  = 0
  Prefactor  = 42.5946
  Prefactor  = 1.84297e-08
  Prefactor  = 1.29896e-08
  Prefactor  = 1.05077e-06
  Prefactor  = 9.66
  Prefactor  = 7.535
  Prefactor  = 1.65423e-08
  Prefactor  = 2.69784e-08
  Normalizat = 1.11998
  Prefactor  = 0.943851
 **********
 **   18 **HESSE 
 **********

 FCN=   9023.651     FROM HESSE     STATUS=OK           516 CALLS     4083 TOTAL
                     EDM=   .14E-05    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  Prefactor     .98810E-08    3.2932        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   2  norm          3.8360        1.9572        .51506E-03   -1.5669    
   3  Prefactor     13.772        17.303        .26951E-03   -1.5634    
   4  norm          .33442        1.1198        .47549E-02   -1.5696    
   5  Prefactor     52.925        38.379        .13745E-03   -1.5562    
   6  Prefactor     .10181E-05    15.573        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   7  norm          .48012        4.5302        .81046E-03   -1.5694    
   8  Prefactor     67.478        33.363        .12184E-03   -1.5544    
   9  Prefactor     .14988E-08    57.631        .10353E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  10  norm          2.6902        3.4346        .62172E-03   -1.5675    
  11  Prefactor     .25638E-05    13.410        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  12  Prefactor     .28866E-08    1.8644        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  13  norm          .55511E-10    .36648        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  14  norm          2.0965        2.7796        .71261E-03   -1.5679    
  15  Prefactor     12.418        12.473        .28399E-03   -1.5637    
  16  Prefactor      .0000        22.582        .16623E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  17  Prefactor     42.595        34.206        .15334E-03   -1.5577    
  18  Prefactor     .18430E-07    4.5987        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  19  Prefactor     .12990E-07    9.3788        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  20  Prefactor     .10508E-05    1.3741        .42118E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  21  Prefactor     9.6600        21.930        .32396E-03   -1.5646    
  22  Prefactor     7.5350        62.886        .36629E-03   -1.5653    
  23  Prefactor     .16542E-07    9.2955        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  24  Prefactor     .26978E-07    5.2480        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  25  Normalizat    1.1200        .14164        .37238E-01   -.89113    
  26  Prefactor     .94385        .16643        .45564E-01   -.94625    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 1.38236e-06
Minuit parameter uncertainties:
  1  0.000360866
  2  1.95716
  3  17.3032
  4  1.11982
  5  38.379
  6  0.00796356
  7  2.94959
  8  33.3627
  9  0.000587287
  10  3.43457
  11  0.011727
  12  0.000147245
  13  8.53895e-06
  14  2.77962
  15  12.4728
  16  3.92984e-05
  17  34.2062
  18  0.000581939
  19  0.000698739
  20  0.00240321
  21  21.9304
  22  43.5367
  23  0.000784731
  24  0.000752268
  25  0.141689
  26  0.166522
Done.

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

Extracting fit parameters...

4FGL J1337.4+5502
   Spectrum: PowerLaw
314    Prefactor:  2.564e-06  1.173e-02  0.000e+00  1.000e+06 ( 1.000e-13)
315        Index:  2.758e+00  0.000e+00  0.000e+00  1.000e+01 (-1.000e+00) fixed
316        Scale:  5.686e+02  0.000e+00  3.000e+01  5.000e+05 ( 1.000e+00) fixed

GAL_V02
   Spectrum: PowerLaw
661    Prefactor:  9.439e-01  1.665e-01  0.000e+00  1.000e+01 ( 1.000e+00)
662        Index:  0.000e+00  0.000e+00 -1.000e+00  1.000e+00 ( 1.000e+00) fixed
663        Scale:  1.000e+02  0.000e+00  5.000e+01  2.000e+02 ( 1.000e+00) fixed

EG_v02
   Spectrum: FileFunction
660   Normalization:  1.120e+00  1.417e-01  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Fixed Index): -0.00
Ra Dec: 204.367 55.042
Photon Flux Upper Limit: 4.01913047221e-08 ph cm-2 s-1
Energy Flux Upper Limit: 0.00317449141872 MeV cm-2 s-1

Saving results to:
/lscratch/kocevski/40345588/likelihoodResults_812937601_813196801_4FGL_J1337.4+5502_daily_bin2213.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) = 9023.65065816
delta logL = -4.68264061055e-05

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

MINUIT Return Code (Free Index): 102
logL (Free Index) = 9023.65061125
delta logL = 8.47485353006e-08

Fit tolerance = 1e-08

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

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

 MIGRAD MINIMIZATION HAS CONVERGED.

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

 FCN=   9023.651     FROM MIGRAD    STATUS=CONVERGED     48 CALLS      249 TOTAL
                     EDM=   .10E-10  STRATEGY=1  ERROR MATRIX UNCERTAINTY=100.0%

  EXT PARAMETER                APPROXIMATE        STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor      .0000        8.2145        .42118E-03** at limit **
   2  Index         3.8415        1.8996       -.73858E-03     .0000    
   3  Normalizat    1.1200        1.1423        .13500E-04   -.85571E-04
   4  Prefactor     .94385        1.2864       -.64360E-05   -.11215E-03
                               ERR DEF=  .500    
Final values: 
  Prefactor  = 0
  Index      = 3.84148
  Normalizat = 1.11998
  Prefactor  = 0.943853
 **********
 **   18 **HESSE 
 **********
  MNHESS FAILS AND WILL RETURN DIAGONAL MATRIX. 

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

  EXT PARAMETER                APPROXIMATE     INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  Prefactor      .0000        8.2145        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   2  Index         1.6144        2.3190       -.73858E-03   -.23383    
   3  Normalizat    1.1200        1.1423        .13500E-04   -.89113    
   4  Prefactor     .94385        1.2864       -.64360E-05   -.94625    
                               ERR DEF=  .500    
Minuit fit quality: 1   estimated distance: 1.01338e-11
Minuit parameter uncertainties:
  1  9.26442e-06
  2  1.95155
  3  1.16918
  4  1.33206
 **********
 **   18 **HESSE 
 **********

 FCN=   9023.651     FROM HESSE     STATUS=OK           516 CALLS     4083 TOTAL
                     EDM=   .14E-05    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  Prefactor     .98810E-08    3.2932        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   2  norm          3.8360        1.9572        .51506E-03   -1.5669    
   3  Prefactor     13.772        17.303        .26951E-03   -1.5634    
   4  norm          .33442        1.1198        .47549E-02   -1.5696    
   5  Prefactor     52.925        38.379        .13745E-03   -1.5562    
   6  Prefactor     .10181E-05    15.573        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   7  norm          .48012        4.5302        .81046E-03   -1.5694    
   8  Prefactor     67.478        33.363        .12184E-03   -1.5544    
   9  Prefactor     .14988E-08    57.631        .10353E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  10  norm          2.6902        3.4346        .62172E-03   -1.5675    
  11  Prefactor     .25638E-05    13.410        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  12  Prefactor     .28866E-08    1.8644        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  13  norm          .55511E-10    .36648        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  14  norm          2.0965        2.7796        .71261E-03   -1.5679    
  15  Prefactor     12.418        12.473        .28399E-03   -1.5637    
  16  Prefactor      .0000        22.582        .16623E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  17  Prefactor     42.595        34.206        .15334E-03   -1.5577    
  18  Prefactor     .18430E-07    4.5987        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  19  Prefactor     .12990E-07    9.3788        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  20  Prefactor     .10508E-05    1.3741        .42118E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  21  Prefactor     9.6600        21.930        .32396E-03   -1.5646    
  22  Prefactor     7.5350        62.886        .36629E-03   -1.5653    
  23  Prefactor     .16542E-07    9.2955        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  24  Prefactor     .26978E-07    5.2480        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  25  Normalizat    1.1200        .14164        .37238E-01   -.89113    
  26  Prefactor     .94385        .16643        .45564E-01   -.94625    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 1.38236e-06
Minuit parameter uncertainties:
  1  0.000360866
  2  1.95716
  3  17.3032
  4  1.11982
  5  38.379
  6  0.00796356
  7  2.94959
  8  33.3627
  9  0.000587287
  10  3.43457
  11  0.011727
  12  0.000147245
  13  8.53895e-06
  14  2.77962
  15  12.4728
  16  3.92984e-05
  17  34.2062
  18  0.000581939
  19  0.000698739
  20  0.00240321
  21  21.9304
  22  43.5367
  23  0.000784731
  24  0.000752268
  25  0.141689
  26  0.166522
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) = 9023.65061124
delta logL = 9.57024894888e-08

Extracting fit parameters...

4FGL J1337.4+5502
   Spectrum: PowerLaw
314    Prefactor:  0.000e+00  9.264e-06  0.000e+00  1.000e+06 ( 1.000e-13)
315        Index:  3.841e+00  1.952e+00  0.000e+00  1.000e+01 (-1.000e+00)
316        Scale:  5.686e+02  0.000e+00  3.000e+01  5.000e+05 ( 1.000e+00) fixed

GAL_V02
   Spectrum: PowerLaw
661    Prefactor:  9.439e-01  1.332e+00  0.000e+00  1.000e+01 ( 1.000e+00)
662        Index:  0.000e+00  0.000e+00 -1.000e+00  1.000e+00 ( 1.000e+00) fixed
663        Scale:  1.000e+02  0.000e+00  5.000e+01  2.000e+02 ( 1.000e+00) fixed

EG_v02
   Spectrum: FileFunction
660   Normalization:  1.120e+00  1.169e+00  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Free Index): -0.00
Ra Dec: 204.367 55.042

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/40345588/cmap_HighResolution_812937601_813196801_4FGL_J1337.4+5502_daily_bin2213.png

Cleaning up...

** Nuclear option initiated! **

Updating database...

UPDATE lightcurve_data_v2 SET energy_flux_upper_limit='3.17e-03', job_status='DONE', photon_flux_upper_limit='4.02e-08', time_completed='2026-10-09 10:45:08.876656', job_id='40345588', GAL2='0.94', fit_tolerance='1e-08', EG2='1.12', EG='1.12', time_epoch_completed='1791567908.88', return_code2='101', ts='-0.00', comment='SUCCESS', return_code='0', GAL='0.94', dlogl='9.57e-08', ts2='0.00', photon_index_error='0.00', photon_index='2.76' WHERE bin_id='2213' AND source_name='4FGL J1337.4+5502' AND cadence='daily';

Database successfully updated.


Analysis Complete.


Fri Oct  9 10:45:09 PDT 2026

_V02
Working on...
/lscratch/kocevski/40345724/ft1_filtered_4FGL_J1337.4+5502_daily_bin2213.fits.....................!
real 31.03
user 28.98
sys 1.52

Creating the likelihood object...
obs = UnbinnedObs('/lscratch/kocevski/40345724/ft1_filtered_4FGL_J1337.4+5502_daily_bin2213.fits', '/lscratch/kocevski/40345724/ft2_4FGL_J1337.4+5502_daily_bin2213.fits', expMap='/lscratch/kocevski/40345724/expmap_812937601_813196801_4FGL_J1337.4+5502_daily_bin2213.fits', expCube='/lscratch/kocevski/40345724/ltcube_812937601_813196801_4FGL_J1337.4+5502_daily_bin2213.fits', irfs='P8R3_SOURCE_V2')
like = UnbinnedAnalysis(obs, '/lscratch/kocevski/40345724/Model_4FGL_J1337.4+5502_daily_bin2213.xml', optimizer='MINUIT')

Using source of interest name: '4FGL J1337.4+5502'

4FGL J1337.4+5502
   Spectrum: PowerLaw
314    Prefactor:  7.731e+00  0.000e+00  0.000e+00  1.000e+06 ( 1.000e-13)
315        Index:  2.758e+00  0.000e+00  0.000e+00  1.000e+01 (-1.000e+00) fixed
316        Scale:  5.686e+02  0.000e+00  3.000e+01  5.000e+05 ( 1.000e+00) fixed


Likelihood Fit Parameters:
Event file(s): /lscratch/kocevski/40345724/ft1_filtered_4FGL_J1337.4+5502_daily_bin2213.fits
Spacecraft file(s): /lscratch/kocevski/40345724/ft2_4FGL_J1337.4+5502_daily_bin2213.fits
Exposure map: /lscratch/kocevski/40345724/expmap_812937601_813196801_4FGL_J1337.4+5502_daily_bin2213.fits
Exposure cube: /lscratch/kocevski/40345724/ltcube_812937601_813196801_4FGL_J1337.4+5502_daily_bin2213.fits
IRFs: P8R3_SOURCE_V2
Source model file: /lscratch/kocevski/40345724/Model_4FGL_J1337.4+5502_daily_bin2213.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) = 9023.65064255

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

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

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'Prefactor '    .80325E-03   1.0000          .0000       .10000E+07
     2 'norm      '    3.8358       1.0000          .0000       .10000E+07
     3 'Prefactor '    13.785       1.0000          .0000       .10000E+07
     4 'norm      '    .31439       1.0000          .0000       .10000E+07
     5 'Prefactor '    52.936       1.0000          .0000       .10000E+07
     6 'Prefactor '    .64455E-05   1.0000          .0000       .10000E+07
     7 'norm      '    .47711       1.0000          .0000       .10000E+07
     8 'Prefactor '    67.373       1.0000          .0000       .10000E+07
     9 'Prefactor '    .29002       1.0000          .0000       .10000E+07
    10 'norm      '    2.6837       1.0000          .0000       .10000E+07
    11 'Prefactor '    .56751E-03   1.0000          .0000       .10000E+07
    12 'Prefactor '    .83084E-06   1.0000          .0000       .10000E+07
    13 'norm      '    .17453E-06   1.0000          .0000       .10000E+07
    14 'norm      '    2.0962       1.0000          .0000       .10000E+07
    15 'Prefactor '    12.419       1.0000          .0000       .10000E+07
    16 'Prefactor '    .26827E-01   1.0000          .0000       .10000E+07
    17 'Prefactor '    42.535       1.0000          .0000       .10000E+07
    18 'Prefactor '    .10796E-02   1.0000          .0000       .10000E+07
    19 'Prefactor '    .38995E-02   1.0000          .0000       .10000E+07
    20 'Prefactor '    .51788E-03   1.0000          .0000       .10000E+07
    21 'Prefactor '    9.5546       1.0000          .0000       .10000E+07
    22 'Prefactor '    7.4870       1.0000          .0000       .10000E+07
    23 'Prefactor '    .40550E-02   1.0000          .0000       .10000E+07
    24 'Prefactor '    .10197E-02   1.0000          .0000       .10000E+07
    25 'Normalizat'    1.1200       1.0000         .10000E-01   10.000    
    26 'Prefactor '    .94408       1.0000          .0000       10.000    
 **********
 **   15 **SET ERR    .5000    
 **********
 **********
 **   16 **SET GRAD    1.000    
 **********
 **********
 **   17 **MINIMIZE    .6640E+05   .2000E-04
 **********

 MIGRAD MINIMIZATION HAS CONVERGED.

 FCN=   9023.651     FROM MIGRAD    STATUS=CONVERGED    144 CALLS     3567 TOTAL
                     EDM=   .18E-08  STRATEGY=1  ERROR MATRIX UNCERTAINTY=  1.0%

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor     .98810E-08    3.3004       -.89884E-06** at limit **
   2  norm          3.8360        1.9546        .60646E-07   -.62917E-03
   3  Prefactor     13.772        2.7364        .24556E-06    .10639E-01
   4  norm          .33442        2.8954        .11261E-05    .32364E-02
   5  Prefactor     52.925        6.4912       -.49519E-06    .50274E-01
   6  Prefactor     .10181E-05    9.4071       -.15102E-05** at limit **
   7  norm          .48012        4.3626        .79464E-06    .73752E-03
   8  Prefactor     67.478        4.3431        .30340E-06   -.50855E-01
   9  Prefactor     .14988E-08    1.7792       -.98069E-06** at limit **
  10  norm          2.6902        3.3998       -.90458E-06    .88628E-03
  11  Prefactor     .25638E-05    9.1070       -.36551E-06** at limit **
  12  Prefactor     .28866E-08    1.8663       -.10124E-05** at limit **
  13  norm          .55511E-10    .36755       -.16851E-06** at limit **
  14  norm          2.0965        2.7548        .25981E-06   -.15146E-02
  15  Prefactor     12.418        1.0233       -.17722E-07   -.27942E-02
  16  Prefactor      .0000        22.730        .27348E-06** at limit **
  17  Prefactor     42.595        19.627        .16854E-05   -.12556    
  18  Prefactor     .18430E-07    4.6372       -.33234E-06** at limit **
  19  Prefactor     .12990E-07    4.4511       -.10058E-05** at limit **
  20  Prefactor     .10508E-05    8.5976        .26420E-05** at limit **
  21  Prefactor     9.6600        10.928        .11333E-05    .80758E-01
  22  Prefactor     7.5350        9.6628        .19807E-05   -.33033E-01
  23  Prefactor     .16542E-07    4.6975       -.95166E-06** at limit **
  24  Prefactor     .26978E-07    5.2270       -.19215E-06** at limit **
  25  Normalizat    1.1200        .16029       -.38781E-05    .16214E-03
  26  Prefactor     .94385        .19097       -.22330E-05   -.14141E-03
                               ERR DEF=  .500    
Final values: 
  Prefactor  = 9.88098e-09
  norm       = 3.83601
  Prefactor  = 13.7723
  norm       = 0.334418
  Prefactor  = 52.9252
  Prefactor  = 1.01807e-06
  norm       = 0.480115
  Prefactor  = 67.4778
  Prefactor  = 1.4988e-09
  norm       = 2.69021
  Prefactor  = 2.56378e-06
  Prefactor  = 2.88658e-09
  norm       = 5.55112e-11
  norm       = 2.09653
  Prefactor  = 12.4179
  Prefactor  = 0
  Prefactor  = 42.5946
  Prefactor  = 1.84297e-08
  Prefactor  = 1.29896e-08
  Prefactor  = 1.05077e-06
  Prefactor  = 9.66
  Prefactor  = 7.535
  Prefactor  = 1.65423e-08
  Prefactor  = 2.69784e-08
  Normalizat = 1.11998
  Prefactor  = 0.943851
tfile=/lscratch/kocevski/40345907/ltcube_812937601_813196801_4FGL_J1337.4+5502_daily_bin2213.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/40345907/ft2_4FGL_J1337.4+5502_daily_bin2213.fits
.....................!
real 9.12
user 8.53
sys 0.22

Generating the exposure map:
time -p gtexpmap evfile=/lscratch/kocevski/40345907/ft1_filtered_4FGL_J1337.4+5502_daily_bin2213.fits evtable="EVENTS" scfile=/lscratch/kocevski/40345907/ft2_4FGL_J1337.4+5502_daily_bin2213.fits sctable="SC_DATA" expcube=/lscratch/kocevski/40345907/ltcube_812937601_813196801_4FGL_J1337.4+5502_daily_bin2213.fits outfile=/lscratch/kocevski/40345907/expmap_812937601_813196801_4FGL_J1337.4+5502_daily_bin2213.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/40345907/ltcube_812937601_813196801_4FGL_J1337.4+5502_daily_bin2213.fits
.....................!
real 74.07
user 69.03
sys 4.41

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

Setting source of interest to:
4FGL J1337.4+5502 @ 204.367 55.0418

Creating the counts map:
time -p gtbin evfile=/lscratch/kocevski/40345907/ft1_filtered_4FGL_J1337.4+5502_daily_bin2213.fits scfile=/lscratch/kocevski/40345907/ft2_4FGL_J1337.4+5502_daily_bin2213.fits outfile=/lscratch/kocevski/40345907/cmap_812937601_813196801_4FGL_J1337.4+5502_daily_bin2213.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=204.367 yref=55.0418 axisrot=0.0 rafield="RA" decfield="DEC" proj="AIT" hpx_ordering_scheme="RING" hpx_order=3 hpx_ebin=yes hpx_region="" evtable="EVENTS" sctable="SC_DATA" efield="ENERGY" tfield="TIME" chatter=2 clobber=yes debug=no gui=no mode="ql"

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

This is gtbin version HEAD
real 0.65
user 0.23
sys 0.12

Creating the high resolution counts map:
time -p gtbin evfile=/lscratch/kocevski/40345907/ft1_filtered_4FGL_J1337.4+5502_daily_bin2213.fits scfile=/lscratch/kocevski/40345907/ft2_4FGL_J1337.4+5502_daily_bin2213.fits outfile=/lscratch/kocevski/40345907/cmap_HighResolution_812937601_813196801_4FGL_J1337.4+5502_daily_bin2213.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=204.367 yref=55.0418 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.60
user 0.23
sys 0.12

Computing the diffuse response:
time -p gtdiffrsp evfile=/lscratch/kocevski/40345907/ft1_filtered_4FGL_J1337.4+5502_daily_bin2213.fits evtable="EVENTS" scfile=/lscratch/kocevski/40345907/ft2_4FGL_J1337.4+5502_daily_bin2213.fits sctable="SC_DATA" srcmdl=/lscratch/kocevski/40345907/Model_4FGL_J1337.4+5502_daily_bin2213.xml irfs="P8R3_SOURCE_V2" evclsmin=0 evclass="INDEF" evtype="INDEF" convert=yes chatter=2 clobber=yes debug=no gui=no mode="ql"

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

adding source EG_v02
adding source GAL **********
 **   18 **HESSE 
 **********

 FCN=   9023.651     FROM HESSE     STATUS=OK           516 CALLS     4083 TOTAL
                     EDM=   .14E-05    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  Prefactor     .98810E-08    3.2932        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   2  norm          3.8360        1.9572        .51506E-03   -1.5669    
   3  Prefactor     13.772        17.303        .26951E-03   -1.5634    
   4  norm          .33442        1.1198        .47549E-02   -1.5696    
   5  Prefactor     52.925        38.379        .13745E-03   -1.5562    
   6  Prefactor     .10181E-05    15.573        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   7  norm          .48012        4.5302        .81046E-03   -1.5694    
   8  Prefactor     67.478        33.363        .12184E-03   -1.5544    
   9  Prefactor     .14988E-08    57.631        .10353E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  10  norm          2.6902        3.4346        .62172E-03   -1.5675    
  11  Prefactor     .25638E-05    13.410        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  12  Prefactor     .28866E-08    1.8644        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  13  norm          .55511E-10    .36648        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  14  norm          2.0965        2.7796        .71261E-03   -1.5679    
  15  Prefactor     12.418        12.473        .28399E-03   -1.5637    
  16  Prefactor      .0000        22.582        .16623E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  17  Prefactor     42.595        34.206        .15334E-03   -1.5577    
  18  Prefactor     .18430E-07    4.5987        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  19  Prefactor     .12990E-07    9.3788        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  20  Prefactor     .10508E-05    1.3741        .42118E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  21  Prefactor     9.6600        21.930        .32396E-03   -1.5646    
  22  Prefactor     7.5350        62.886        .36629E-03   -1.5653    
  23  Prefactor     .16542E-07    9.2955        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  24  Prefactor     .26978E-07    5.2480        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  25  Normalizat    1.1200        .14164        .37238E-01   -.89113    
  26  Prefactor     .94385        .16643        .45564E-01   -.94625    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 1.38236e-06
Minuit parameter uncertainties:
  1  0.000360866
  2  1.95716
  3  17.3032
  4  1.11982
  5  38.379
  6  0.00796356
  7  2.94959
  8  33.3627
  9  0.000587287
  10  3.43457
  11  0.011727
  12  0.000147245
  13  8.53895e-06
  14  2.77962
  15  12.4728
  16  3.92984e-05
  17  34.2062
  18  0.000581939
  19  0.000698739
  20  0.00240321
  21  21.9304
  22  43.5367
  23  0.000784731
  24  0.000752268
  25  0.141689
  26  0.166522
Done.

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

Extracting fit parameters...

4FGL J1337.4+5502
   Spectrum: PowerLaw
314    Prefactor:  2.564e-06  1.173e-02  0.000e+00  1.000e+06 ( 1.000e-13)
315        Index:  2.758e+00  0.000e+00  0.000e+00  1.000e+01 (-1.000e+00) fixed
316        Scale:  5.686e+02  0.000e+00  3.000e+01  5.000e+05 ( 1.000e+00) fixed

GAL_V02
   Spectrum: PowerLaw
661    Prefactor:  9.439e-01  1.665e-01  0.000e+00  1.000e+01 ( 1.000e+00)
662        Index:  0.000e+00  0.000e+00 -1.000e+00  1.000e+00 ( 1.000e+00) fixed
663        Scale:  1.000e+02  0.000e+00  5.000e+01  2.000e+02 ( 1.000e+00) fixed

EG_v02
   Spectrum: FileFunction
660   Normalization:  1.120e+00  1.417e-01  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Fixed Index): -0.00
Ra Dec: 204.367 55.042
Photon Flux Upper Limit: 4.01913047221e-08 ph cm-2 s-1
Energy Flux Upper Limit: 0.00317449141872 MeV cm-2 s-1

Saving results to:
/lscratch/kocevski/40345699/likelihoodResults_812937601_813196801_4FGL_J1337.4+5502_daily_bin2213.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) = 9023.65065816
delta logL = -4.68264061055e-05

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

MINUIT Return Code (Free Index): 102
logL (Free Index) = 9023.65061125
delta logL = 8.47485353006e-08

Fit tolerance = 1e-08

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

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

 MIGRAD MINIMIZATION HAS CONVERGED.

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

 FCN=   9023.651     FROM MIGRAD    STATUS=CONVERGED     48 CALLS      249 TOTAL
                     EDM=   .10E-10  STRATEGY=1  ERROR MATRIX UNCERTAINTY=100.0%

  EXT PARAMETER                APPROXIMATE        STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor      .0000        8.2145        .42118E-03** at limit **
   2  Index         3.8415        1.8996       -.73858E-03     .0000    
   3  Normalizat    1.1200        1.1423        .13500E-04   -.85571E-04
   4  Prefactor     .94385        1.2864       -.64360E-05   -.11215E-03
                               ERR DEF=  .500    
Final values: 
  Prefactor  = 0
  Index      = 3.84148
  Normalizat = 1.11998
  Prefactor  = 0.943853
 **********
 **   18 **HESSE 
 **********
  MNHESS FAILS AND WILL RETURN DIAGONAL MATRIX. 

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

  EXT PARAMETER                APPROXIMATE     INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  Prefactor      .0000        8.2145        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   2  Index         1.6144        2.3190       -.73858E-03   -.23383    
   3  Normalizat    1.1200        1.1423        .13500E-04   -.89113    
   4  Prefactor     .94385        1.2864       -.64360E-05   -.94625    
                               ERR DEF=  .500    
Minuit fit quality: 1   estimated distance: 1.01338e-11
Minuit parameter uncertainties:
  1  9.26442e-06
  2  1.95155
  3  1.16918
  4  1.33206
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) = 9023.65061124
delta logL = 9.57024894888e-08

Extracting fit parameters...

4FGL J1337.4+5502
   Spectrum: PowerLaw
314    Prefactor:  0.000e+00  9.264e-06  0.000e+00  1.000e+06 ( 1.000e-13)
315        Index:  3.841e+00  1.952e+00  0.000e+00  1.000e+01 (-1.000e+00)
316        Scale:  5.686e+02  0.000e+00  3.000e+01  5.000e+05 ( 1.000e+00) fixed

GAL_V02
   Spectrum: PowerLaw
661    Prefactor:  9.439e-01  1.332e+00  0.000e+00  1.000e+01 ( 1.000e+00)
662        Index:  0.000e+00  0.000e+00 -1.000e+00  1.000e+00 ( 1.000e+00) fixed
663        Scale:  1.000e+02  0.000e+00  5.000e+01  2.000e+02 ( 1.000e+00) fixed

EG_v02
   Spectrum: FileFunction
660   Normalization:  1.120e+00  1.169e+00  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Free Index): -0.00
Ra Dec: 204.367 55.042

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/40345699/cmap_HighResolution_812937601_813196801_4FGL_J1337.4+5502_daily_bin2213.png

Cleaning up...

** Nuclear option initiated! **

Updating database...

UPDATE lightcurve_data_v2 SET energy_flux_upper_limit='3.17e-03', job_status='DONE', photon_flux_upper_limit='4.02e-08', time_completed='2026-10-09 10:45:55.654441', job_id='40345699', GAL2='0.94', fit_tolerance='1e-08', EG2='1.12', EG='1.12', time_epoch_completed='1791567955.65', return_code2='101', ts='-0.00', comment='SUCCESS', return_code='0', GAL='0.94', dlogl='9.57e-08', ts2='0.00', photon_index_error='0.00', photon_index='2.76' WHERE bin_id='2213' AND source_name='4FGL J1337.4+5502' AND cadence='daily';

Database successfully updated.


Analysis Complete.


Fri Oct  9 10:45:55 PDT 2026

Done.

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

Extracting fit parameters...

4FGL J1337.4+5502
   Spectrum: PowerLaw
314    Prefactor:  2.564e-06  1.173e-02  0.000e+00  1.000e+06 ( 1.000e-13)
315        Index:  2.758e+00  0.000e+00  0.000e+00  1.000e+01 (-1.000e+00) fixed
316        Scale:  5.686e+02  0.000e+00  3.000e+01  5.000e+05 ( 1.000e+00) fixed

GAL_V02
   Spectrum: PowerLaw
661    Prefactor:  9.439e-01  1.665e-01  0.000e+00  1.000e+01 ( 1.000e+00)
662        Index:  0.000e+00  0.000e+00 -1.000e+00  1.000e+00 ( 1.000e+00) fixed
663        Scale:  1.000e+02  0.000e+00  5.000e+01  2.000e+02 ( 1.000e+00) fixed

EG_v02
   Spectrum: FileFunction
660   Normalization:  1.120e+00  1.417e-01  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Fixed Index): -0.00
Ra Dec: 204.367 55.042
Photon Flux Upper Limit: 4.01913047221e-08 ph cm-2 s-1
Energy Flux Upper Limit: 0.00317449141872 MeV cm-2 s-1

Saving results to:
/lscratch/kocevski/40345664/likelihoodResults_812937601_813196801_4FGL_J1337.4+5502_daily_bin2213.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) = 9023.65065816
delta logL = -4.68264061055e-05

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

MINUIT Return Code (Free Index): 102
logL (Free Index) = 9023.65061125
delta logL = 8.47485353006e-08

Fit tolerance = 1e-08

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

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

 MIGRAD MINIMIZATION HAS CONVERGED.

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

 FCN=   9023.651     FROM MIGRAD    STATUS=CONVERGED     48 CALLS      249 TOTAL
                     EDM=   .10E-10  STRATEGY=1  ERROR MATRIX UNCERTAINTY=100.0%

  EXT PARAMETER                APPROXIMATE        STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor      .0000        8.2145        .42118E-03** at limit **
   2  Index         3.8415        1.8996       -.73858E-03     .0000    
   3  Normalizat    1.1200        1.1423        .13500E-04   -.85571E-04
   4  Prefactor     .94385        1.2864       -.64360E-05   -.11215E-03
                               ERR DEF=  .500    
Final values: 
  Prefactor  = 0
  Index      = 3.84148
  Normalizat = 1.11998
  Prefactor  = 0.943853
 **********
 **   18 **HESSE 
 **********
  MNHESS FAILS AND WILL RETURN DIAGONAL MATRIX. 

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

  EXT PARAMETER                APPROXIMATE     INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  Prefactor      .0000        8.2145        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   2  Index         1.6144        2.3190       -.73858E-03   -.23383    
   3  Normalizat    1.1200        1.1423        .13500E-04   -.89113    
   4  Prefactor     .94385        1.2864       -.64360E-05   -.94625    
                               ERR DEF=  .500    
Minuit fit quality: 1   estimated distance: 1.01338e-11
Minuit parameter uncertainties:
  1  9.26442e-06
  2  1.95155
  3  1.16918
  4  1.33206
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) = 9023.65061124
delta logL = 9.57024894888e-08

Extracting fit parameters...

4FGL J1337.4+5502
   Spectrum: PowerLaw
314    Prefactor:  0.000e+00  9.264e-06  0.000e+00  1.000e+06 ( 1.000e-13)
315        Index:  3.841e+00  1.952e+00  0.000e+00  1.000e+01 (-1.000e+00)
316        Scale:  5.686e+02  0.000e+00  3.000e+01  5.000e+05 ( 1.000e+00) fixed

GAL_V02
   Spectrum: PowerLaw
661    Prefactor:  9.439e-01  1.332e+00  0.000e+00  1.000e+01 ( 1.000e+00)
662        Index:  0.000e+00  0.000e+00 -1.000e+00  1.000e+00 ( 1.000e+00) fixed
663        Scale:  1.000e+02  0.000e+00  5.000e+01  2.000e+02 ( 1.000e+00) fixed

EG_v02
   Spectrum: FileFunction
660   Normalization:  1.120e+00  1.169e+00  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Free Index): -0.00
Ra Dec: 204.367 55.042

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/40345664/cmap_HighResolution_812937601_813196801_4FGL_J1337.4+5502_daily_bin2213.png

Cleaning up...

** Nuclear option initiated! **

Updating database...

UPDATE lightcurve_data_v2 SET energy_flux_upper_limit='3.17e-03', job_status='DONE', photon_flux_upper_limit='4.02e-08', time_completed='2026-10-09 10:46:02.058600', job_id='40345664', GAL2='0.94', fit_tolerance='1e-08', EG2='1.12', EG='1.12', time_epoch_completed='1791567962.06', return_code2='101', ts='-0.00', comment='SUCCESS', return_code='0', GAL='0.94', dlogl='9.57e-08', ts2='0.00', photon_index_error='0.00', photon_index='2.76' WHERE bin_id='2213' AND source_name='4FGL J1337.4+5502' AND cadence='daily';

Database successfully updated.


Analysis Complete.


Fri Oct  9 10:46:02 PDT 2026

_V02
Working on...
/lscratch/kocevski/40345752/ft1_filtered_4FGL_J1337.4+5502_daily_bin2213.fits.....................!
real 31.95
user 30.15
sys 1.02

Creating the likelihood object...
obs = UnbinnedObs('/lscratch/kocevski/40345752/ft1_filtered_4FGL_J1337.4+5502_daily_bin2213.fits', '/lscratch/kocevski/40345752/ft2_4FGL_J1337.4+5502_daily_bin2213.fits', expMap='/lscratch/kocevski/40345752/expmap_812937601_813196801_4FGL_J1337.4+5502_daily_bin2213.fits', expCube='/lscratch/kocevski/40345752/ltcube_812937601_813196801_4FGL_J1337.4+5502_daily_bin2213.fits', irfs='P8R3_SOURCE_V2')
like = UnbinnedAnalysis(obs, '/lscratch/kocevski/40345752/Model_4FGL_J1337.4+5502_daily_bin2213.xml', optimizer='MINUIT')

Using source of interest name: '4FGL J1337.4+5502'

4FGL J1337.4+5502
   Spectrum: PowerLaw
314    Prefactor:  7.731e+00  0.000e+00  0.000e+00  1.000e+06 ( 1.000e-13)
315        Index:  2.758e+00  0.000e+00  0.000e+00  1.000e+01 (-1.000e+00) fixed
316        Scale:  5.686e+02  0.000e+00  3.000e+01  5.000e+05 ( 1.000e+00) fixed


Likelihood Fit Parameters:
Event file(s): /lscratch/kocevski/40345752/ft1_filtered_4FGL_J1337.4+5502_daily_bin2213.fits
Spacecraft file(s): /lscratch/kocevski/40345752/ft2_4FGL_J1337.4+5502_daily_bin2213.fits
Exposure map: /lscratch/kocevski/40345752/expmap_812937601_813196801_4FGL_J1337.4+5502_daily_bin2213.fits
Exposure cube: /lscratch/kocevski/40345752/ltcube_812937601_813196801_4FGL_J1337.4+5502_daily_bin2213.fits
IRFs: P8R3_SOURCE_V2
Source model file: /lscratch/kocevski/40345752/Model_4FGL_J1337.4+5502_daily_bin2213.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) = 9023.65064255

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

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

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'Prefactor '    .80325E-03   1.0000          .0000       .10000E+07
     2 'norm      '    3.8358       1.0000          .0000       .10000E+07
     3 'Prefactor '    13.785       1.0000          .0000       .10000E+07
     4 'norm      '    .31439       1.0000          .0000       .10000E+07
     5 'Prefactor '    52.936       1.0000          .0000       .10000E+07
     6 'Prefactor '    .64455E-05   1.0000          .0000       .10000E+07
     7 'norm      '    .47711       1.0000          .0000       .10000E+07
     8 'Prefactor '    67.373       1.0000          .0000       .10000E+07
     9 'Prefactor '    .29002       1.0000          .0000       .10000E+07
    10 'norm      '    2.6837       1.0000          .0000       .10000E+07
    11 'Prefactor '    .56751E-03   1.0000          .0000       .10000E+07
    12 'Prefactor '    .83084E-06   1.0000          .0000       .10000E+07
    13 'norm      '    .17453E-06   1.0000          .0000       .10000E+07
    14 'norm      '    2.0962       1.0000          .0000       .10000E+07
    15 'Prefactor '    12.419       1.0000          .0000       .10000E+07
    16 'Prefactor '    .26827E-01   1.0000          .0000       .10000E+07
    17 'Prefactor '    42.535       1.0000          .0000       .10000E+07
    18 'Prefactor '    .10796E-02   1.0000          .0000       .10000E+07
    19 'Prefactor '    .38995E-02   1.0000          .0000       .10000E+07
    20 'Prefactor '    .51788E-03   1.0000          .0000       .10000E+07
    21 'Prefactor '    9.5546       1.0000          .0000       .10000E+07
    22 'Prefactor '    7.4870       1.0000          .0000       .10000E+07
    23 'Prefactor '    .40550E-02   1.0000          .0000       .10000E+07
    24 'Prefactor '    .10197E-02   1.0000          .0000       .10000E+07
    25 'Normalizat'    1.1200       1.0000         .10000E-01   10.000    
    26 'Prefactor '    .94408       1.0000          .0000       10.000    
 **********
 **   15 **SET ERR    .5000    
 **********Done.

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

Extracting fit parameters...

4FGL J1337.4+5502
   Spectrum: PowerLaw
314    Prefactor:  2.564e-06  1.173e-02  0.000e+00  1.000e+06 ( 1.000e-13)
315        Index:  2.758e+00  0.000e+00  0.000e+00  1.000e+01 (-1.000e+00) fixed
316        Scale:  5.686e+02  0.000e+00  3.000e+01  5.000e+05 ( 1.000e+00) fixed

GAL_V02
   Spectrum: PowerLaw
661    Prefactor:  9.439e-01  1.665e-01  0.000e+00  1.000e+01 ( 1.000e+00)
662        Index:  0.000e+00  0.000e+00 -1.000e+00  1.000e+00 ( 1.000e+00) fixed
663        Scale:  1.000e+02  0.000e+00  5.000e+01  2.000e+02 ( 1.000e+00) fixed

EG_v02
   Spectrum: FileFunction
660   Normalization:  1.120e+00  1.417e-01  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Fixed Index): -0.00
Ra Dec: 204.367 55.042
Photon Flux Upper Limit: 4.01913047221e-08 ph cm-2 s-1
Energy Flux Upper Limit: 0.00317449141872 MeV cm-2 s-1

Saving results to:
/lscratch/kocevski/40345724/likelihoodResults_812937601_813196801_4FGL_J1337.4+5502_daily_bin2213.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) = 9023.65065816
delta logL = -4.68264061055e-05

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

MINUIT Return Code (Free Index): 102
logL (Free Index) = 9023.65061125
delta logL = 8.47485353006e-08

Fit tolerance = 1e-08

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

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

 MIGRAD MINIMIZATION HAS CONVERGED.

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

 FCN=   9023.651     FROM MIGRAD    STATUS=CONVERGED     48 CALLS      249 TOTAL
                     EDM=   .10E-10  STRATEGY=1  ERROR MATRIX UNCERTAINTY=100.0%

  EXT PARAMETER                APPROXIMATE        STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor      .0000        8.2145        .42118E-03** at limit **
   2  Index         3.8415        1.8996       -.73858E-03     .0000    
   3  Normalizat    1.1200        1.1423        .13500E-04   -.85571E-04
   4  Prefactor     .94385        1.2864       -.64360E-05   -.11215E-03
                               ERR DEF=  .500    
Final values: 
  Prefactor  = 0
  Index      = 3.84148
  Normalizat = 1.11998
  Prefactor  = 0.943853
 **********
 **   18 **HESSE 
 **********
  MNHESS FAILS AND WILL RETURN DIAGONAL MATRIX. 

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

  EXT PARAMETER                APPROXIMATE     INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  Prefactor      .0000        8.2145        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   2  Index         1.6144        2.3190       -.73858E-03   -.23383    
   3  Normalizat    1.1200        1.1423        .13500E-04   -.89113    
   4  Prefactor     .94385        1.2864       -.64360E-05   -.94625    
                               ERR DEF=  .500    
Minuit fit quality: 1   estimated distance: 1.01338e-11
Minuit parameter uncertainties:
  1  9.26442e-06
  2  1.95155
  3  1.16918
  4  1.33206
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) = 9023.65061124
delta logL = 9.57024894888e-08

Extracting fit parameters...

4FGL J1337.4+5502
   Spectrum: PowerLaw
314    Prefactor:  0.000e+00  9.264e-06  0.000e+00  1.000e+06 ( 1.000e-13)
315        Index:  3.841e+00  1.952e+00  0.000e+00  1.000e+01 (-1.000e+00)
316        Scale:  5.686e+02  0.000e+00  3.000e+01  5.000e+05 ( 1.000e+00) fixed

GAL_V02
   Spectrum: PowerLaw
661    Prefactor:  9.439e-01  1.332e+00  0.000e+00  1.000e+01 ( 1.000e+00)
662        Index:  0.000e+00  0.000e+00 -1.000e+00  1.000e+00 ( 1.000e+00) fixed
663        Scale:  1.000e+02  0.000e+00  5.000e+01  2.000e+02 ( 1.000e+00) fixed

EG_v02
   Spectrum: FileFunction
660   Normalization:  1.120e+00  1.169e+00  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Free Index): -0.00
Ra Dec: 204.367 55.042

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/40345724/cmap_HighResolution_812937601_813196801_4FGL_J1337.4+5502_daily_bin2213.png

Cleaning up...

** Nuclear option initiated! **

Updating database...

UPDATE lightcurve_data_v2 SET energy_flux_upper_limit='3.17e-03', job_status='DONE', photon_flux_upper_limit='4.02e-08', time_completed='2026-10-09 10:46:39.418408', job_id='40345724', GAL2='0.94', fit_tolerance='1e-08', EG2='1.12', EG='1.12', time_epoch_completed='1791567999.42', return_code2='101', ts='-0.00', comment='SUCCESS', return_code='0', GAL='0.94', dlogl='9.57e-08', ts2='0.00', photon_index_error='0.00', photon_index='2.76' WHERE bin_id='2213' AND source_name='4FGL J1337.4+5502' AND cadence='daily';

Database successfully updated.


Analysis Complete.


Fri Oct  9 10:46:39 PDT 2026


 **********
 **   16 **SET GRAD    1.000    
 **********
 **********
 **   17 **MINIMIZE    .6640E+05   .2000E-04
 **********

 MIGRAD MINIMIZATION HAS CONVERGED.

 FCN=   9023.651     FROM MIGRAD    STATUS=CONVERGED    144 CALLS     3567 TOTAL
                     EDM=   .18E-08  STRATEGY=1  ERROR MATRIX UNCERTAINTY=  1.0%

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor     .98810E-08    3.3004       -.89884E-06** at limit **
   2  norm          3.8360        1.9546        .60646E-07   -.62917E-03
   3  Prefactor     13.772        2.7364        .24556E-06    .10639E-01
   4  norm          .33442        2.8954        .11261E-05    .32364E-02
   5  Prefactor     52.925        6.4912       -.49519E-06    .50274E-01
   6  Prefactor     .10181E-05    9.4071       -.15102E-05** at limit **
   7  norm          .48012        4.3626        .79464E-06    .73752E-03
   8  Prefactor     67.478        4.3431        .30340E-06   -.50855E-01
   9  Prefactor     .14988E-08    1.7792       -.98069E-06** at limit **
  10  norm          2.6902        3.3998       -.90458E-06    .88628E-03
  11  Prefactor     .25638E-05    9.1070       -.36551E-06** at limit **
  12  Prefactor     .28866E-08    1.8663       -.10124E-05** at limit **
  13  norm          .55511E-10    .36755       -.16851E-06** at limit **
  14  norm          2.0965        2.7548        .25981E-06   -.15146E-02
  15  Prefactor     12.418        1.0233       -.17722E-07   -.27942E-02
  16  Prefactor      .0000        22.730        .27348E-06** at limit **
  17  Prefactor     42.595        19.627        .16854E-05   -.12556    
  18  Prefactor     .18430E-07    4.6372       -.33234E-06** at limit **
  19  Prefactor     .12990E-07    4.4511       -.10058E-05** at limit **
  20  Prefactor     .10508E-05    8.5976        .26420E-05** at limit **
  21  Prefactor     9.6600        10.928        .11333E-05    .80758E-01
  22  Prefactor     7.5350        9.6628        .19807E-05   -.33033E-01
  23  Prefactor     .16542E-07    4.6975       -.95166E-06** at limit **
  24  Prefactor     .26978E-07    5.2270       -.19215E-06** at limit **
  25  Normalizat    1.1200        .16029       -.38781E-05    .16214E-03
  26  Prefactor     .94385        .19097       -.22330E-05   -.14141E-03
                               ERR DEF=  .500    
Final values: 
  Prefactor  = 9.88098e-09
  norm       = 3.83601
  Prefactor  = 13.7723
  norm       = 0.334418
  Prefactor  = 52.9252
  Prefactor  = 1.01807e-06
  norm       = 0.480115
  Prefactor  = 67.4778
  Prefactor  = 1.4988e-09
  norm       = 2.69021
  Prefactor  = 2.56378e-06
  Prefactor  = 2.88658e-09
  norm       = 5.55112e-11
  norm       = 2.09653
  Prefactor  = 12.4179
  Prefactor  = 0
  Prefactor  = 42.5946
  Prefactor  = 1.84297e-08
  Prefactor  = 1.29896e-08
  Prefactor  = 1.05077e-06
  Prefactor  = 9.66
  Prefactor  = 7.535
  Prefactor  = 1.65423e-08
  Prefactor  = 2.69784e-08
  Normalizat = 1.11998
  Prefactor  = 0.943851
_V02
Working on...
/lscratch/kocevski/40345836/ft1_filtered_4FGL_J1337.4+5502_daily_bin2213.fits.....................!
real 27.98
user 25.67
sys 1.87

Creating the likelihood object...
obs = UnbinnedObs('/lscratch/kocevski/40345836/ft1_filtered_4FGL_J1337.4+5502_daily_bin2213.fits', '/lscratch/kocevski/40345836/ft2_4FGL_J1337.4+5502_daily_bin2213.fits', expMap='/lscratch/kocevski/40345836/expmap_812937601_813196801_4FGL_J1337.4+5502_daily_bin2213.fits', expCube='/lscratch/kocevski/40345836/ltcube_812937601_813196801_4FGL_J1337.4+5502_daily_bin2213.fits', irfs='P8R3_SOURCE_V2')
like = UnbinnedAnalysis(obs, '/lscratch/kocevski/40345836/Model_4FGL_J1337.4+5502_daily_bin2213.xml', optimizer='MINUIT')

Using source of interest name: '4FGL J1337.4+5502'

4FGL J1337.4+5502
   Spectrum: PowerLaw
314    Prefactor:  7.731e+00  0.000e+00  0.000e+00  1.000e+06 ( 1.000e-13)
315        Index:  2.758e+00  0.000e+00  0.000e+00  1.000e+01 (-1.000e+00) fixed
316        Scale:  5.686e+02  0.000e+00  3.000e+01  5.000e+05 ( 1.000e+00) fixed


Likelihood Fit Parameters:
Event file(s): /lscratch/kocevski/40345836/ft1_filtered_4FGL_J1337.4+5502_daily_bin2213.fits
Spacecraft file(s): /lscratch/kocevski/40345836/ft2_4FGL_J1337.4+5502_daily_bin2213.fits
Exposure map: /lscratch/kocevski/40345836/expmap_812937601_813196801_4FGL_J1337.4+5502_daily_bin2213.fits
Exposure cube: /lscratch/kocevski/40345836/ltcube_812937601_813196801_4FGL_J1337.4+5502_daily_bin2213.fits
IRFs: P8R3_SOURCE_V2
Source model file: /lscratch/kocevski/40345836/Model_4FGL_J1337.4+5502_daily_bin2213.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) = 9023.65064255

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

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

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'Prefactor '    .80325E-03   1.0000          .0000       .10000E+07
     2 'norm      '    3.8358       1.0000          .0000       .10000E+07
     3 'Prefactor '    13.785       1.0000          .0000       .10000E+07
     4 'norm      '    .31439       1.0000          .0000       .10000E+07
     5 'Prefactor '    52.936       1.0000          .0000       .10000E+07
     6 'Prefactor '    .64455E-05   1.0000          .0000       .10000E+07
     7 'norm      '    .47711       1.0000          .0000       .10000E+07
     8 'Prefactor '    67.373       1.0000          .0000       .10000E+07
     9 'Prefactor '    .29002       1.0000          .0000       .10000E+07
    10 'norm      '    2.6837       1.0000          .0000       .10000E+07
    11 'Prefactor '    .56751E-03   1.0000          .0000       .10000E+07
    12 'Prefactor '    .83084E-06   1.0000          .0000       .10000E+07
    13 'norm      '    .17453E-06   1.0000          .0000       .10000E+07
    14 'norm      '    2.0962       1.0000          .0000       .10000E+07
    15 'Prefactor '    12.419       1.0000          .0000       .10000E+07
    16 'Prefactor '    .26827E-01   1.0000          .0000       .10000E+07
    17 'Prefactor '    42.535       1.0000          .0000       .10000E+07
    18 'Prefactor '    .10796E-02   1.0000          .0000       .10000E+07
    19 'Prefactor '    .38995E-02   1.0000          .0000       .10000E+07
    20 'Prefactor '    .51788E-03   1.0000          .0000       .10000E+07
    21 'Prefactor '    9.5546       1.0000          .0000       .10000E+07
    22 'Prefactor '    7.4870       1.0000          .0000       .10000E+07
    23 'Prefactor '    .40550E-02   1.0000          .0000       .10000E+07
    24 'Prefactor '    .10197E-02   1.0000          .0000       .10000E+07
    25 'Normalizat'    1.1200       1.0000         .10000E-01   10.000    
    26 'Prefactor '    .94408       1.0000          .0000       10.000    
 **********
 **   15 **SET ERR    .5000    
 **********
 **********
 **   16 **SET GRAD    1.000    
 **********
 **********
 **   17 **MINIMIZE    .6640E+05   .2000E-04
 **********

 MIGRAD MINIMIZATION HAS CONVERGED.

 FCN=   9023.651     FROM MIGRAD    STATUS=CONVERGED    144 CALLS     3567 TOTAL
                     EDM=   .18E-08  STRATEGY=1  ERROR MATRIX UNCERTAINTY=  1.0%

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor     .98810E-08    3.3004       -.89884E-06** at limit **
   2  norm          3.8360        1.9546        .60646E-07   -.62917E-03
   3  Prefactor     13.772        2.7364        .24556E-06    .10639E-01
   4  norm          .33442        2.8954        .11261E-05    .32364E-02
   5  Prefactor     52.925        6.4912       -.49519E-06    .50274E-01
   6  Prefactor     .10181E-05    9.4071       -.15102E-05** at limit **
   7  norm          .48012        4.3626        .79464E-06    .73752E-03
   8  Prefactor     67.478        4.3431        .30340E-06   -.50855E-01
   9  Prefactor     .14988E-08    1.7792       -.98069E-06** at limit **
  10  norm          2.6902        3.3998       -.90458E-06    .88628E-03
  11  Prefactor     .25638E-05    9.1070       -.36551E-06** at limit **
  12  Prefactor     .28866E-08    1.8663       -.10124E-05** at limit **
  13  norm          .55511E-10    .36755       -.16851E-06** at limit **
  14  norm          2.0965        2.7548        .25981E-06   -.15146E-02
  15  Prefactor     12.418        1.0233       -.17722E-07   -.27942E-02
  16  Prefactor      .0000        22.730        .27348E-06** at limit **
  17  Prefactor     42.595        19.627        .16854E-05   -.12556    
  18  Prefactor     .18430E-07    4.6372       -.33234E-06** at limit **
  19  Prefactor     .12990E-07    4.4511       -.10058E-05** at limit **
  20  Prefactor     .10508E-05    8.5976        .26420E-05** at limit **
  21  Prefactor     9.6600        10.928        .11333E-05    .80758E-01
  22  Prefactor     7.5350        9.6628        .19807E-05   -.33033E-01
  23  Prefactor     .16542E-07    4.6975       -.95166E-06** at limit **
  24  Prefactor     .26978E-07    5.2270       -.19215E-06** at limit **
  25  Normalizat    1.1200        .16029       -.38781E-05    .16214E-03
  26  Prefactor     .94385        .19097       -.22330E-05   -.14141E-03
                               ERR DEF=  .500    
Final values: 
  Prefactor  = 9.88098e-09
  norm       = 3.83601
  Prefactor  = 13.7723
  norm       = 0.334418
  Prefactor  = 52.9252
  Prefactor  = 1.01807e-06
  norm       = 0.480115
  Prefactor  = 67.4778
  Prefactor  = 1.4988e-09
  norm       = 2.69021
  Prefactor  = 2.56378e-06
  Prefactor  = 2.88658e-09
  norm       = 5.55112e-11
  norm       = 2.09653
  Prefactor  = 12.4179
  Prefactor  = 0
  Prefactor  = 42.5946
  Prefactor  = 1.84297e-08
  Prefactor  = 1.29896e-08
  Prefactor  = 1.05077e-06
  Prefactor  = 9.66
  Prefactor  = 7.535
  Prefactor  = 1.65423e-08
  Prefactor  = 2.69784e-08
  Normalizat = 1.11998
  Prefactor  = 0.943851
 **********
 **   18 **HESSE 
 **********

 FCN=   9023.651     FROM HESSE     STATUS=OK           516 CALLS     4083 TOTAL
                     EDM=   .14E-05    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  Prefactor     .98810E-08    3.2932        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   2  norm          3.8360        1.9572        .51506E-03   -1.5669    
   3  Prefactor     13.772        17.303        .26951E-03   -1.5634    
   4  norm          .33442        1.1198        .47549E-02   -1.5696    
   5  Prefactor     52.925        38.379        .13745E-03   -1.5562    
   6  Prefactor     .10181E-05    15.573        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   7  norm          .48012        4.5302        .81046E-03   -1.5694    
   8  Prefactor     67.478        33.363        .12184E-03   -1.5544    
   9  Prefactor     .14988E-08    57.631        .10353E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  10  norm          2.6902        3.4346        .62172E-03   -1.5675    
  11  Prefactor     .25638E-05    13.410        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  12  Prefactor     .28866E-08    1.8644        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  13  norm          .55511E-10    .36648        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  14  norm          2.0965        2.7796        .71261E-03   -1.5679    
  15  Prefactor     12.418        12.473        .28399E-03   -1.5637    
  16  Prefactor      .0000        22.582        .16623E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  17  Prefactor     42.595        34.206        .15334E-03   -1.5577    
  18  Prefactor     .18430E-07    4.5987        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  19  Prefactor     .12990E-07    9.3788        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  20  Prefactor     .10508E-05    1.3741        .42118E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  21  Prefactor     9.6600        21.930        .32396E-03   -1.5646    
  22  Prefactor     7.5350        62.886        .36629E-03   -1.5653    
  23  Prefactor     .16542E-07    9.2955        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  24  Prefactor     .26978E-07    5.2480        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  25  Normalizat    1.1200        .14164        .37238E-01   -.89113    
  26  Prefactor     .94385        .16643        .45564E-01   -.94625    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 1.38236e-06
Minuit parameter uncertainties:
  1  0.000360866
  2  1.95716
  3  17.3032
  4  1.11982
  5  38.379
  6  0.00796356
  7  2.94959
  8  33.3627
  9  0.000587287
  10  3.43457
  11  0.011727
  12  0.000147245
  13  8.53895e-06
  14  2.77962
  15  12.4728
  16  3.92984e-05
  17  34.2062
  18  0.000581939
  19  0.000698739
  20  0.00240321
  21  21.9304
  22  43.5367
  23  0.000784731
  24  0.000752268
  25  0.141689
  26  0.166522
 **********
 **   18 **HESSE 
 **********

 FCN=   9023.651     FROM HESSE     STATUS=OK           516 CALLS     4083 TOTAL
                     EDM=   .14E-05    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  Prefactor     .98810E-08    3.2932        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   2  norm          3.8360        1.9572        .51506E-03   -1.5669    
   3  Prefactor     13.772        17.303        .26951E-03   -1.5634    
   4  norm          .33442        1.1198        .47549E-02   -1.5696    
   5  Prefactor     52.925        38.379        .13745E-03   -1.5562    
   6  Prefactor     .10181E-05    15.573        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   7  norm          .48012        4.5302        .81046E-03   -1.5694    
   8  Prefactor     67.478        33.363        .12184E-03   -1.5544    
   9  Prefactor     .14988E-08    57.631        .10353E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  10  norm          2.6902        3.4346        .62172E-03   -1.5675    
  11  Prefactor     .25638E-05    13.410        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  12  Prefactor     .28866E-08    1.8644        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  13  norm          .55511E-10    .36648        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  14  norm          2.0965        2.7796        .71261E-03   -1.5679    
  15  Prefactor     12.418        12.473        .28399E-03   -1.5637    
  16  Prefactor      .0000        22.582        .16623E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  17  Prefactor     42.595        34.206        .15334E-03   -1.5577    
  18  Prefactor     .18430E-07    4.5987        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  19  Prefactor     .12990E-07    9.3788        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  20  Prefactor     .10508E-05    1.3741        .42118E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  21  Prefactor     9.6600        21.930        .32396E-03   -1.5646    
  22  Prefactor     7.5350        62.886        .36629E-03   -1.5653    
  23  Prefactor     .16542E-07    9.2955        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  24  Prefactor     .26978E-07    5.2480        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  25  Normalizat    1.1200        .14164        .37238E-01   -.89113    
  26  Prefactor     .94385        .16643        .45564E-01   -.94625    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 1.38236e-06
Minuit parameter uncertainties:
  1  0.000360866
  2  1.95716
  3  17.3032
  4  1.11982
  5  38.379
  6  0.00796356
  7  2.94959
  8  33.3627
  9  0.000587287
  10  3.43457
  11  0.011727
  12  0.000147245
  13  8.53895e-06
  14  2.77962
  15  12.4728
  16  3.92984e-05
  17  34.2062
  18  0.000581939
  19  0.000698739
  20  0.00240321
  21  21.9304
  22  43.5367
  23  0.000784731
  24  0.000752268
  25  0.141689
  26  0.166522
Done.

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

Extracting fit parameters...

4FGL J1337.4+5502
   Spectrum: PowerLaw
314    Prefactor:  2.564e-06  1.173e-02  0.000e+00  1.000e+06 ( 1.000e-13)
315        Index:  2.758e+00  0.000e+00  0.000e+00  1.000e+01 (-1.000e+00) fixed
316        Scale:  5.686e+02  0.000e+00  3.000e+01  5.000e+05 ( 1.000e+00) fixed

GAL_V02
   Spectrum: PowerLaw
661    Prefactor:  9.439e-01  1.665e-01  0.000e+00  1.000e+01 ( 1.000e+00)
662        Index:  0.000e+00  0.000e+00 -1.000e+00  1.000e+00 ( 1.000e+00) fixed
663        Scale:  1.000e+02  0.000e+00  5.000e+01  2.000e+02 ( 1.000e+00) fixed

EG_v02
   Spectrum: FileFunction
660   Normalization:  1.120e+00  1.417e-01  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Fixed Index): -0.00
Ra Dec: 204.367 55.042
Photon Flux Upper Limit: 4.01913047221e-08 ph cm-2 s-1
Energy Flux Upper Limit: 0.00317449141872 MeV cm-2 s-1

Saving results to:
/lscratch/kocevski/40345752/likelihoodResults_812937601_813196801_4FGL_J1337.4+5502_daily_bin2213.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) = 9023.65065816
delta logL = -4.68264061055e-05

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

MINUIT Return Code (Free Index): 102
logL (Free Index) = 9023.65061125
delta logL = 8.47485353006e-08

Fit tolerance = 1e-08

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

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

 MIGRAD MINIMIZATION HAS CONVERGED.

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

 FCN=   9023.651     FROM MIGRAD    STATUS=CONVERGED     48 CALLS      249 TOTAL
                     EDM=   .10E-10  STRATEGY=1  ERROR MATRIX UNCERTAINTY=100.0%

  EXT PARAMETER                APPROXIMATE        STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor      .0000        8.2145        .42118E-03** at limit **
   2  Index         3.8415        1.8996       -.73858E-03     .0000    
   3  Normalizat    1.1200        1.1423        .13500E-04   -.85571E-04
   4  Prefactor     .94385        1.2864       -.64360E-05   -.11215E-03
                               ERR DEF=  .500    
Final values: 
  Prefactor  = 0
  Index      = 3.84148
  Normalizat = 1.11998
  Prefactor  = 0.943853
 **********
 **   18 **HESSE 
 **********
  MNHESS FAILS AND WILL RETURN DIAGONAL MATRIX. 

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

  EXT PARAMETER                APPROXIMATE     INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  Prefactor      .0000        8.2145        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   2  Index         1.6144        2.3190       -.73858E-03   -.23383    
   3  Normalizat    1.1200        1.1423        .13500E-04   -.89113    
   4  Prefactor     .94385        1.2864       -.64360E-05   -.94625    
                               ERR DEF=  .500    
Minuit fit quality: 1   estimated distance: 1.01338e-11
Minuit parameter uncertainties:
  1  9.26442e-06
  2  1.95155
  3  1.16918
  4  1.33206
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) = 9023.65061124
delta logL = 9.57024894888e-08

Extracting fit parameters...

4FGL J1337.4+5502
   Spectrum: PowerLaw
314    Prefactor:  0.000e+00  9.264e-06  0.000e+00  1.000e+06 ( 1.000e-13)
315        Index:  3.841e+00  1.952e+00  0.000e+00  1.000e+01 (-1.000e+00)
316        Scale:  5.686e+02  0.000e+00  3.000e+01  5.000e+05 ( 1.000e+00) fixed

GAL_V02
   Spectrum: PowerLaw
661    Prefactor:  9.439e-01  1.332e+00  0.000e+00  1.000e+01 ( 1.000e+00)
662        Index:  0.000e+00  0.000e+00 -1.000e+00  1.000e+00 ( 1.000e+00) fixed
663        Scale:  1.000e+02  0.000e+00  5.000e+01  2.000e+02 ( 1.000e+00) fixed

EG_v02
   Spectrum: FileFunction
660   Normalization:  1.120e+00  1.169e+00  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Free Index): -0.00
Ra Dec: 204.367 55.042

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/40345752/cmap_HighResolution_812937601_813196801_4FGL_J1337.4+5502_daily_bin2213.png

Cleaning up...

** Nuclear option initiated! **

Updating database...

UPDATE lightcurve_data_v2 SET energy_flux_upper_limit='3.17e-03', job_status='DONE', photon_flux_upper_limit='4.02e-08', time_completed='2026-10-09 10:48:06.191475', job_id='40345752', GAL2='0.94', fit_tolerance='1e-08', EG2='1.12', EG='1.12', time_epoch_completed='1791568086.19', return_code2='101', ts='-0.00', comment='SUCCESS', return_code='0', GAL='0.94', dlogl='9.57e-08', ts2='0.00', photon_index_error='0.00', photon_index='2.76' WHERE bin_id='2213' AND source_name='4FGL J1337.4+5502' AND cadence='daily';

Database successfully updated.


Analysis Complete.


Fri Oct  9 10:48:06 PDT 2026

Done.

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

Extracting fit parameters...

4FGL J1337.4+5502
   Spectrum: PowerLaw
314    Prefactor:  2.564e-06  1.173e-02  0.000e+00  1.000e+06 ( 1.000e-13)
315        Index:  2.758e+00  0.000e+00  0.000e+00  1.000e+01 (-1.000e+00) fixed
316        Scale:  5.686e+02  0.000e+00  3.000e+01  5.000e+05 ( 1.000e+00) fixed

GAL_V02
   Spectrum: PowerLaw
661    Prefactor:  9.439e-01  1.665e-01  0.000e+00  1.000e+01 ( 1.000e+00)
662        Index:  0.000e+00  0.000e+00 -1.000e+00  1.000e+00 ( 1.000e+00) fixed
663        Scale:  1.000e+02  0.000e+00  5.000e+01  2.000e+02 ( 1.000e+00) fixed

EG_v02
   Spectrum: FileFunction
660   Normalization:  1.120e+00  1.417e-01  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Fixed Index): -0.00
Ra Dec: 204.367 55.042
Photon Flux Upper Limit: 4.01913047221e-08 ph cm-2 s-1
Energy Flux Upper Limit: 0.00317449141872 MeV cm-2 s-1

Saving results to:
/lscratch/kocevski/40345836/likelihoodResults_812937601_813196801_4FGL_J1337.4+5502_daily_bin2213.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) = 9023.65065816
delta logL = -4.68264061055e-05

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

MINUIT Return Code (Free Index): 102
logL (Free Index) = 9023.65061125
delta logL = 8.47485353006e-08

Fit tolerance = 1e-08

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

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

 MIGRAD MINIMIZATION HAS CONVERGED.

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

 FCN=   9023.651     FROM MIGRAD    STATUS=CONVERGED     48 CALLS      249 TOTAL
                     EDM=   .10E-10  STRATEGY=1  ERROR MATRIX UNCERTAINTY=100.0%

  EXT PARAMETER                APPROXIMATE        STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor      .0000        8.2145        .42118E-03** at limit **
   2  Index         3.8415        1.8996       -.73858E-03     .0000    
   3  Normalizat    1.1200        1.1423        .13500E-04   -.85571E-04
   4  Prefactor     .94385        1.2864       -.64360E-05   -.11215E-03
                               ERR DEF=  .500    
Final values: 
  Prefactor  = 0
  Index      = 3.84148
  Normalizat = 1.11998
  Prefactor  = 0.943853
 **********
 **   18 **HESSE 
 **********
  MNHESS FAILS AND WILL RETURN DIAGONAL MATRIX. 

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

  EXT PARAMETER                APPROXIMATE     INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  Prefactor      .0000        8.2145        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   2  Index         1.6144        2.3190       -.73858E-03   -.23383    
   3  Normalizat    1.1200        1.1423        .13500E-04   -.89113    
   4  Prefactor     .94385        1.2864       -.64360E-05   -.94625    
                               ERR DEF=  .500    
Minuit fit quality: 1   estimated distance: 1.01338e-11
Minuit parameter uncertainties:
  1  9.26442e-06
  2  1.95155
  3  1.16918
  4  1.33206
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) = 9023.65061124
delta logL = 9.57024894888e-08

Extracting fit parameters...

4FGL J1337.4+5502
   Spectrum: PowerLaw
314    Prefactor:  0.000e+00  9.264e-06  0.000e+00  1.000e+06 ( 1.000e-13)
315        Index:  3.841e+00  1.952e+00  0.000e+00  1.000e+01 (-1.000e+00)
316        Scale:  5.686e+02  0.000e+00  3.000e+01  5.000e+05 ( 1.000e+00) fixed

GAL_V02
   Spectrum: PowerLaw
661    Prefactor:  9.439e-01  1.332e+00  0.000e+00  1.000e+01 ( 1.000e+00)
662        Index:  0.000e+00  0.000e+00 -1.000e+00  1.000e+00 ( 1.000e+00) fixed
663        Scale:  1.000e+02  0.000e+00  5.000e+01  2.000e+02 ( 1.000e+00) fixed

EG_v02
   Spectrum: FileFunction
660   Normalization:  1.120e+00  1.169e+00  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Free Index): -0.00
Ra Dec: 204.367 55.042

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/40345836/cmap_HighResolution_812937601_813196801_4FGL_J1337.4+5502_daily_bin2213.png

Cleaning up...

** Nuclear option initiated! **

Updating database...

UPDATE lightcurve_data_v2 SET energy_flux_upper_limit='3.17e-03', job_status='DONE', photon_flux_upper_limit='4.02e-08', time_completed='2026-10-09 10:48:28.534506', job_id='40345836', GAL2='0.94', fit_tolerance='1e-08', EG2='1.12', EG='1.12', time_epoch_completed='1791568108.53', return_code2='101', ts='-0.00', comment='SUCCESS', return_code='0', GAL='0.94', dlogl='9.57e-08', ts2='0.00', photon_index_error='0.00', photon_index='2.76' WHERE bin_id='2213' AND source_name='4FGL J1337.4+5502' AND cadence='daily';

Database successfully updated.


Analysis Complete.


Fri Oct  9 10:48:28 PDT 2026

_V02
Working on...
/lscratch/kocevski/40345907/ft1_filtered_4FGL_J1337.4+5502_daily_bin2213.fits.....................!
real 30.84
user 29.24
sys 1.06

Creating the likelihood object...
obs = UnbinnedObs('/lscratch/kocevski/40345907/ft1_filtered_4FGL_J1337.4+5502_daily_bin2213.fits', '/lscratch/kocevski/40345907/ft2_4FGL_J1337.4+5502_daily_bin2213.fits', expMap='/lscratch/kocevski/40345907/expmap_812937601_813196801_4FGL_J1337.4+5502_daily_bin2213.fits', expCube='/lscratch/kocevski/40345907/ltcube_812937601_813196801_4FGL_J1337.4+5502_daily_bin2213.fits', irfs='P8R3_SOURCE_V2')
like = UnbinnedAnalysis(obs, '/lscratch/kocevski/40345907/Model_4FGL_J1337.4+5502_daily_bin2213.xml', optimizer='MINUIT')

Using source of interest name: '4FGL J1337.4+5502'

4FGL J1337.4+5502
   Spectrum: PowerLaw
314    Prefactor:  7.731e+00  0.000e+00  0.000e+00  1.000e+06 ( 1.000e-13)
315        Index:  2.758e+00  0.000e+00  0.000e+00  1.000e+01 (-1.000e+00) fixed
316        Scale:  5.686e+02  0.000e+00  3.000e+01  5.000e+05 ( 1.000e+00) fixed


Likelihood Fit Parameters:
Event file(s): /lscratch/kocevski/40345907/ft1_filtered_4FGL_J1337.4+5502_daily_bin2213.fits
Spacecraft file(s): /lscratch/kocevski/40345907/ft2_4FGL_J1337.4+5502_daily_bin2213.fits
Exposure map: /lscratch/kocevski/40345907/expmap_812937601_813196801_4FGL_J1337.4+5502_daily_bin2213.fits
Exposure cube: /lscratch/kocevski/40345907/ltcube_812937601_813196801_4FGL_J1337.4+5502_daily_bin2213.fits
IRFs: P8R3_SOURCE_V2
Source model file: /lscratch/kocevski/40345907/Model_4FGL_J1337.4+5502_daily_bin2213.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) = 9023.65064255

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

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

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'Prefactor '    .80325E-03   1.0000          .0000       .10000E+07
     2 'norm      '    3.8358       1.0000          .0000       .10000E+07
     3 'Prefactor '    13.785       1.0000          .0000       .10000E+07
     4 'norm      '    .31439       1.0000          .0000       .10000E+07
     5 'Prefactor '    52.936       1.0000          .0000       .10000E+07
     6 'Prefactor '    .64455E-05   1.0000          .0000       .10000E+07
     7 'norm      '    .47711       1.0000          .0000       .10000E+07
     8 'Prefactor '    67.373       1.0000          .0000       .10000E+07
     9 'Prefactor '    .29002       1.0000          .0000       .10000E+07
    10 'norm      '    2.6837       1.0000          .0000       .10000E+07
    11 'Prefactor '    .56751E-03   1.0000          .0000       .10000E+07
    12 'Prefactor '    .83084E-06   1.0000          .0000       .10000E+07
    13 'norm      '    .17453E-06   1.0000          .0000       .10000E+07
    14 'norm      '    2.0962       1.0000          .0000       .10000E+07
    15 'Prefactor '    12.419       1.0000          .0000       .10000E+07
    16 'Prefactor '    .26827E-01   1.0000          .0000       .10000E+07
    17 'Prefactor '    42.535       1.0000          .0000       .10000E+07
    18 'Prefactor '    .10796E-02   1.0000          .0000       .10000E+07
    19 'Prefactor '    .38995E-02   1.0000          .0000       .10000E+07
    20 'Prefactor '    .51788E-03   1.0000          .0000       .10000E+07
    21 'Prefactor '    9.5546       1.0000          .0000       .10000E+07
    22 'Prefactor '    7.4870       1.0000          .0000       .10000E+07
    23 'Prefactor '    .40550E-02   1.0000          .0000       .10000E+07
    24 'Prefactor '    .10197E-02   1.0000          .0000       .10000E+07
    25 'Normalizat'    1.1200       1.0000         .10000E-01   10.000    
    26 'Prefactor '    .94408       1.0000          .0000       10.000    
 **********
 **   15 **SET ERR    .5000    
 **********
 **********
 **   16 **SET GRAD    1.000    
 **********
 **********
 **   17 **MINIMIZE    .6640E+05   .2000E-04
 **********

 MIGRAD MINIMIZATION HAS CONVERGED.

 FCN=   9023.651     FROM MIGRAD    STATUS=CONVERGED    144 CALLS     3567 TOTAL
                     EDM=   .18E-08  STRATEGY=1  ERROR MATRIX UNCERTAINTY=  1.0%

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor     .98810E-08    3.3004       -.89884E-06** at limit **
   2  norm          3.8360        1.9546        .60646E-07   -.62917E-03
   3  Prefactor     13.772        2.7364        .24556E-06    .10639E-01
   4  norm          .33442        2.8954        .11261E-05    .32364E-02
   5  Prefactor     52.925        6.4912       -.49519E-06    .50274E-01
   6  Prefactor     .10181E-05    9.4071       -.15102E-05** at limit **
   7  norm          .48012        4.3626        .79464E-06    .73752E-03
   8  Prefactor     67.478        4.3431        .30340E-06   -.50855E-01
   9  Prefactor     .14988E-08    1.7792       -.98069E-06** at limit **
  10  norm          2.6902        3.3998       -.90458E-06    .88628E-03
  11  Prefactor     .25638E-05    9.1070       -.36551E-06** at limit **
  12  Prefactor     .28866E-08    1.8663       -.10124E-05** at limit **
  13  norm          .55511E-10    .36755       -.16851E-06** at limit **
  14  norm          2.0965        2.7548        .25981E-06   -.15146E-02
  15  Prefactor     12.418        1.0233       -.17722E-07   -.27942E-02
  16  Prefactor      .0000        22.730        .27348E-06** at limit **
  17  Prefactor     42.595        19.627        .16854E-05   -.12556    
  18  Prefactor     .18430E-07    4.6372       -.33234E-06** at limit **
  19  Prefactor     .12990E-07    4.4511       -.10058E-05** at limit **
  20  Prefactor     .10508E-05    8.5976        .26420E-05** at limit **
  21  Prefactor     9.6600        10.928        .11333E-05    .80758E-01
  22  Prefactor     7.5350        9.6628        .19807E-05   -.33033E-01
  23  Prefactor     .16542E-07    4.6975       -.95166E-06** at limit **
  24  Prefactor     .26978E-07    5.2270       -.19215E-06** at limit **
  25  Normalizat    1.1200        .16029       -.38781E-05    .16214E-03
  26  Prefactor     .94385        .19097       -.22330E-05   -.14141E-03
                               ERR DEF=  .500    
Final values: 
  Prefactor  = 9.88098e-09
  norm       = 3.83601
  Prefactor  = 13.7723
  norm       = 0.334418
  Prefactor  = 52.9252
  Prefactor  = 1.01807e-06
  norm       = 0.480115
  Prefactor  = 67.4778
  Prefactor  = 1.4988e-09
  norm       = 2.69021
  Prefactor  = 2.56378e-06
  Prefactor  = 2.88658e-09
  norm       = 5.55112e-11
  norm       = 2.09653
  Prefactor  = 12.4179
  Prefactor  = 0
  Prefactor  = 42.5946
  Prefactor  = 1.84297e-08
  Prefactor  = 1.29896e-08
  Prefactor  = 1.05077e-06
  Prefactor  = 9.66
  Prefactor  = 7.535
  Prefactor  = 1.65423e-08
  Prefactor  = 2.69784e-08
  Normalizat = 1.11998
  Prefactor  = 0.943851
 **********
 **   18 **HESSE 
 **********

 FCN=   9023.651     FROM HESSE     STATUS=OK           516 CALLS     4083 TOTAL
                     EDM=   .14E-05    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  Prefactor     .98810E-08    3.2932        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   2  norm          3.8360        1.9572        .51506E-03   -1.5669    
   3  Prefactor     13.772        17.303        .26951E-03   -1.5634    
   4  norm          .33442        1.1198        .47549E-02   -1.5696    
   5  Prefactor     52.925        38.379        .13745E-03   -1.5562    
   6  Prefactor     .10181E-05    15.573        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   7  norm          .48012        4.5302        .81046E-03   -1.5694    
   8  Prefactor     67.478        33.363        .12184E-03   -1.5544    
   9  Prefactor     .14988E-08    57.631        .10353E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  10  norm          2.6902        3.4346        .62172E-03   -1.5675    
  11  Prefactor     .25638E-05    13.410        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  12  Prefactor     .28866E-08    1.8644        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  13  norm          .55511E-10    .36648        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  14  norm          2.0965        2.7796        .71261E-03   -1.5679    
  15  Prefactor     12.418        12.473        .28399E-03   -1.5637    
  16  Prefactor      .0000        22.582        .16623E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  17  Prefactor     42.595        34.206        .15334E-03   -1.5577    
  18  Prefactor     .18430E-07    4.5987        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  19  Prefactor     .12990E-07    9.3788        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  20  Prefactor     .10508E-05    1.3741        .42118E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  21  Prefactor     9.6600        21.930        .32396E-03   -1.5646    
  22  Prefactor     7.5350        62.886        .36629E-03   -1.5653    
  23  Prefactor     .16542E-07    9.2955        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  24  Prefactor     .26978E-07    5.2480        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  25  Normalizat    1.1200        .14164        .37238E-01   -.89113    
  26  Prefactor     .94385        .16643        .45564E-01   -.94625    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 1.38236e-06
Minuit parameter uncertainties:
  1  0.000360866
  2  1.95716
  3  17.3032
  4  1.11982
  5  38.379
  6  0.00796356
  7  2.94959
  8  33.3627
  9  0.000587287
  10  3.43457
  11  0.011727
  12  0.000147245
  13  8.53895e-06
  14  2.77962
  15  12.4728
  16  3.92984e-05
  17  34.2062
  18  0.000581939
  19  0.000698739
  20  0.00240321
  21  21.9304
  22  43.5367
  23  0.000784731
  24  0.000752268
  25  0.141689
  26  0.166522
Done.

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

Extracting fit parameters...

4FGL J1337.4+5502
   Spectrum: PowerLaw
314    Prefactor:  2.564e-06  1.173e-02  0.000e+00  1.000e+06 ( 1.000e-13)
315        Index:  2.758e+00  0.000e+00  0.000e+00  1.000e+01 (-1.000e+00) fixed
316        Scale:  5.686e+02  0.000e+00  3.000e+01  5.000e+05 ( 1.000e+00) fixed

GAL_V02
   Spectrum: PowerLaw
661    Prefactor:  9.439e-01  1.665e-01  0.000e+00  1.000e+01 ( 1.000e+00)
662        Index:  0.000e+00  0.000e+00 -1.000e+00  1.000e+00 ( 1.000e+00) fixed
663        Scale:  1.000e+02  0.000e+00  5.000e+01  2.000e+02 ( 1.000e+00) fixed

EG_v02
   Spectrum: FileFunction
660   Normalization:  1.120e+00  1.417e-01  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Fixed Index): -0.00
Ra Dec: 204.367 55.042
Photon Flux Upper Limit: 4.01913047221e-08 ph cm-2 s-1
Energy Flux Upper Limit: 0.00317449141872 MeV cm-2 s-1

Saving results to:
/lscratch/kocevski/40345907/likelihoodResults_812937601_813196801_4FGL_J1337.4+5502_daily_bin2213.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) = 9023.65065816
delta logL = -4.68264061055e-05

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

MINUIT Return Code (Free Index): 102
logL (Free Index) = 9023.65061125
delta logL = 8.47485353006e-08

Fit tolerance = 1e-08

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

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

 MIGRAD MINIMIZATION HAS CONVERGED.

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

 FCN=   9023.651     FROM MIGRAD    STATUS=CONVERGED     48 CALLS      249 TOTAL
                     EDM=   .10E-10  STRATEGY=1  ERROR MATRIX UNCERTAINTY=100.0%

  EXT PARAMETER                APPROXIMATE        STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor      .0000        8.2145        .42118E-03** at limit **
   2  Index         3.8415        1.8996       -.73858E-03     .0000    
   3  Normalizat    1.1200        1.1423        .13500E-04   -.85571E-04
   4  Prefactor     .94385        1.2864       -.64360E-05   -.11215E-03
                               ERR DEF=  .500    
Final values: 
  Prefactor  = 0
  Index      = 3.84148
  Normalizat = 1.11998
  Prefactor  = 0.943853
 **********
 **   18 **HESSE 
 **********
  MNHESS FAILS AND WILL RETURN DIAGONAL MATRIX. 

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

  EXT PARAMETER                APPROXIMATE     INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  Prefactor      .0000        8.2145        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   2  Index         1.6144        2.3190       -.73858E-03   -.23383    
   3  Normalizat    1.1200        1.1423        .13500E-04   -.89113    
   4  Prefactor     .94385        1.2864       -.64360E-05   -.94625    
                               ERR DEF=  .500    
Minuit fit quality: 1   estimated distance: 1.01338e-11
Minuit parameter uncertainties:
  1  9.26442e-06
  2  1.95155
  3  1.16918
  4  1.33206
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) = 9023.65061124
delta logL = 9.57024894888e-08

Extracting fit parameters...

4FGL J1337.4+5502
   Spectrum: PowerLaw
314    Prefactor:  0.000e+00  9.264e-06  0.000e+00  1.000e+06 ( 1.000e-13)
315        Index:  3.841e+00  1.952e+00  0.000e+00  1.000e+01 (-1.000e+00)
316        Scale:  5.686e+02  0.000e+00  3.000e+01  5.000e+05 ( 1.000e+00) fixed

GAL_V02
   Spectrum: PowerLaw
661    Prefactor:  9.439e-01  1.332e+00  0.000e+00  1.000e+01 ( 1.000e+00)
662        Index:  0.000e+00  0.000e+00 -1.000e+00  1.000e+00 ( 1.000e+00) fixed
663        Scale:  1.000e+02  0.000e+00  5.000e+01  2.000e+02 ( 1.000e+00) fixed

EG_v02
   Spectrum: FileFunction
660   Normalization:  1.120e+00  1.169e+00  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Free Index): -0.00
Ra Dec: 204.367 55.042

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/40345907/cmap_HighResolution_812937601_813196801_4FGL_J1337.4+5502_daily_bin2213.png

Cleaning up...

** Nuclear option initiated! **

Updating database...

UPDATE lightcurve_data_v2 SET energy_flux_upper_limit='3.17e-03', job_status='DONE', photon_flux_upper_limit='4.02e-08', time_completed='2026-10-09 10:51:03.032564', job_id='40345907', GAL2='0.94', fit_tolerance='1e-08', EG2='1.12', EG='1.12', time_epoch_completed='1791568263.03', return_code2='101', ts='-0.00', comment='SUCCESS', return_code='0', GAL='0.94', dlogl='9.57e-08', ts2='0.00', photon_index_error='0.00', photon_index='2.76' WHERE bin_id='2213' AND source_name='4FGL J1337.4+5502' AND cadence='daily';

Database successfully updated.


Analysis Complete.


Fri Oct  9 10:51:03 PDT 2026

