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

 FCN=   2894.411     FROM HESSE     STATUS=OK           621 CALLS     4178 TOTAL
                     EDM=   .75E-04    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  Prefactor     1.6701        8.3152        .80789E-03   -1.5682    
   2  Prefactor     .55511E-10    6.4943        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   3  norm          .55511E-10    4.1444        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   4  Prefactor     30.319        37.382        .18103E-03   -1.5598    
   5  norm          1.0248        .55737        .62485E-03   -1.5688    
   6  Prefactor     .24425E-08    3.9746        .79151E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   7  norm          8.0130        4.5602        .35382E-03   -1.5651    
   8  Prefactor      .0000        13.590        .17378E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   9  norm          1.1241        25.047        .11002E-02   -1.5687    
  10  Prefactor     45.265        29.548        .14865E-03   -1.5573    
  11  norm          6.0608        3.9383        .40738E-03   -1.5659    
  12  norm          1.0818        1.5577        .16935E-02   -1.5687    
  13  Prefactor     .46868E-06    92.844        .12448E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  14  norm          4.0252        2.9252        .50239E-03   -1.5668    
  15  Prefactor     6.8646        238.35        .34632E-03   -1.5656    
  16  Prefactor     49.503        33.827        .14204E-03   -1.5567    
  17  Prefactor     .50515E-08    97.030        .12115E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  18  norm          .53901E-07    107.75        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  19  Prefactor     .71609E-08    10.251        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  20  Prefactor     .55511E-10    38.638        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  21  norm          27.429        27.226        .19107E-03   -1.5603    
  22  Prefactor     .21483E-07    147.86        .98172E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  23  norm          2.5071        22.059        .63010E-03   -1.5676    
  24  Prefactor     12011.        4356.7        .91797E-05   -1.3512    
  25  Prefactor     .38303E-08    9.8460        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  26  Prefactor     27.207        27.754        .19196E-03   -1.5604    
  27  norm           .0000        4.0767        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  28  Normalizat    .79548        .22357        .43529E-01   -1.0024    
  29  Prefactor     .50456        .23959        .72036E-01   -1.1177    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 7.48375e-05
Minuit parameter uncertainties:
  1  7.45321
  2  3.45248e-05
  3  2.60259e-05
  4  37.382
  5  0.557374
  6  0.000195937
  7  4.56019
  8  2.97505e-05
  9  10.6123
  10  29.5483
  11  3.93833
  12  1.55766
  13  0.0131929
  14  2.92518
  15  80.902
  16  33.8269
  17  0.00140125
  18  0.00481916
  19  0.000542159
  20  9.87332e-05
  21  27.2262
  22  0.00356627
  23  14.8735
  24  4357.89
  25  0.000389121
  26  27.7538
  27  7.7558e-06
  28  0.223824
  29  0.240071
L_V02
Working on...
/lscratch/kocevski/38728349/ft1_filtered_4FGL_J1057.2+5510_daily_bin2207.fits.....................!
real 19.28
user 17.43
sys 1.25

Creating the likelihood object...
obs = UnbinnedObs('/lscratch/kocevski/38728349/ft1_filtered_4FGL_J1057.2+5510_daily_bin2207.fits', '/lscratch/kocevski/38728349/ft2_4FGL_J1057.2+5510_daily_bin2207.fits', expMap='/lscratch/kocevski/38728349/expmap_811382401_811641601_4FGL_J1057.2+5510_daily_bin2207.fits', expCube='/lscratch/kocevski/38728349/ltcube_811382401_811641601_4FGL_J1057.2+5510_daily_bin2207.fits', irfs='P8R3_SOURCE_V2')
like = UnbinnedAnalysis(obs, '/lscratch/kocevski/38728349/Model_4FGL_J1057.2+5510_daily_bin2207.xml', optimizer='MINUIT')

Using source of interest name: '4FGL J1057.2+5510'

4FGL J1057.2+5510
   Spectrum: PowerLaw
389    Prefactor:  5.757e+00  0.000e+00  0.000e+00  1.000e+06 ( 1.000e-15)
390        Index:  1.821e+00  0.000e+00  0.000e+00  1.000e+01 (-1.000e+00) fixed
391        Scale:  4.916e+03  0.000e+00  3.000e+01  5.000e+05 ( 1.000e+00) fixed


Likelihood Fit Parameters:
Event file(s): /lscratch/kocevski/38728349/ft1_filtered_4FGL_J1057.2+5510_daily_bin2207.fits
Spacecraft file(s): /lscratch/kocevski/38728349/ft2_4FGL_J1057.2+5510_daily_bin2207.fits
Exposure map: /lscratch/kocevski/38728349/expmap_811382401_811641601_4FGL_J1057.2+5510_daily_bin2207.fits
Exposure cube: /lscratch/kocevski/38728349/ltcube_811382401_811641601_4FGL_J1057.2+5510_daily_bin2207.fits
IRFs: P8R3_SOURCE_V2
Source model file: /lscratch/kocevski/38728349/Model_4FGL_J1057.2+5510_daily_bin2207.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) = 2894.41915641

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

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

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'Prefactor '    1.6953       1.0000          .0000       .10000E+07
     2 'Prefactor '    .52215E-03   1.0000          .0000       .10000E+07
     3 'norm      '    .25927E-03   1.0000          .0000       .10000E+07
     4 'Prefactor '    30.524       1.0000          .0000       .10000E+07
     5 'norm      '    1.0245       1.0000          .0000       .10000E+07
     6 'Prefactor '    .50485E-01   1.0000          .0000       .10000E+07
     7 'norm      '    8.0192       1.0000          .0000       .10000E+07
     8 'Prefactor '    .15169E-01   1.0000          .0000       .10000E+07
     9 'norm      '    1.1287       1.0000          .0000       .10000E+07
    10 'Prefactor '    45.263       1.0000          .0000       .10000E+07
    11 'norm      '    6.0671       1.0000          .0000       .10000E+07
    12 'norm      '    1.0818       1.0000          .0000       .10000E+07
    13 'Prefactor '    .16437       1.0000          .0000       .10000E+07
    14 'norm      '    4.0252       1.0000          .0000       .10000E+07
    15 'Prefactor '    8.3679       1.0000          .0000       .10000E+07
    16 'Prefactor '    49.571       1.0000          .0000       .10000E+07
    17 'Prefactor '    .18151       1.0000          .0000       .10000E+07
    18 'norm      '    .20311E-03   1.0000          .0000       .10000E+07
    19 'Prefactor '    .39817E-03   1.0000          .0000       .10000E+07
    20 'Prefactor '    .13348E-02   1.0000          .0000       .10000E+07
    21 'norm      '    27.401       1.0000          .0000       .10000E+07
    22 'Prefactor '    .32938       1.0000          .0000       .10000E+07
    23 'norm      '    2.6180       1.0000          .0000       .10000E+07
    24 'Prefactor '    12011.       1.0000          .0000       .10000E+07
    25 'Prefactor '    .12155E-02   1.0000          .0000       .10000E+07
    26 'Prefactor '    27.148       1.0000          .0000       .10000E+07
    27 'norm      '    .10653E-04   1.0000          .0/sdf/group/fermi/u/kocevski/software/conda/envs/fermitools_v1.0.5/lib/python2.7/site-packages/pyfits/__init__.py:22: PyFITSDeprecationWarning: PyFITS is deprecated, please use astropy.io.fits
  PyFITSDeprecationWarning)  # noqa
_V02
Working on...
/lscratch/kocevski/38728365/ft1_filtered_4FGL_J1057.2+5510_daily_bin2207.fits.....................!
real 17.17
user 15.80
sys 0.87

Creating the likelihood object...
obs = UnbinnedObs('/lscratch/kocevski/38728365/ft1_filtered_4FGL_J1057.2+5510_daily_bin2207.fits', '/lscratch/kocevski/38728365/ft2_4FGL_J1057.2+5510_daily_bin2207.fits', expMap='/lscratch/kocevski/38728365/expmap_811382401_811641601_4FGL_J1057.2+5510_daily_bin2207.fits', expCube='/lscratch/kocevski/38728365/ltcube_811382401_811641601_4FGL_J1057.2+5510_daily_bin2207.fits', irfs='P8R3_SOURCE_V2')
like = UnbinnedAnalysis(obs, '/lscratch/kocevski/38728365/Model_4FGL_J1057.2+5510_daily_bin2207.xml', optimizer='MINUIT')

Using source of interest name: '4FGL J1057.2+5510'

4FGL J1057.2+5510
   Spectrum: PowerLaw
389    Prefactor:  5.757e+00  0.000e+00  0.000e+00  1.000e+06 ( 1.000e-15)
390        Index:  1.821e+00  0.000e+00  0.000e+00  1.000e+01 (-1.000e+00) fixed
391        Scale:  4.916e+03  0.000e+00  3.000e+01  5.000e+05 ( 1.000e+00) fixed


Likelihood Fit Parameters:
Event file(s): /lscratch/kocevski/38728365/ft1_filtered_4FGL_J1057.2+5510_daily_bin2207.fits
Spacecraft file(s): /lscratch/kocevski/38728365/ft2_4FGL_J1057.2+5510_daily_bin2207.fits
Exposure map: /lscratch/kocevski/38728365/expmap_811382401_811641601_4FGL_J1057.2+5510_daily_bin2207.fits
Exposure cube: /lscratch/kocevski/38728365/ltcube_811382401_811641601_4FGL_J1057.2+5510_daily_bin2207.fits
IRFs: P8R3_SOURCE_V2
Source model file: /lscratch/kocevski/38728365/Model_4FGL_J1057.2+5510_daily_bin2207.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) = 2894.41915641

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

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

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'Prefactor '    1.6953       1.0000          .0000       .10000E+07
     2 'Prefactor '    .52215E-03   1.0000          .0000       .10000E+07
     3 'norm      '    .25927E-03   1.0000          .0000       .10000E+07
     4 'Prefactor '    30.524       1.0000          .0000       .10000E+07
     5 'norm      '    1.0245       1.0000          .0000       .10000E+07
     6 'Prefactor '    .50485E-01   1.0000          .0000       .10000E+07
     7 'norm      '    8.0192       1.0000          .0000       .10000E+07
     8 'Prefactor '    .15169E-01   1.0000          .0000       .10000E+07
     9 'norm      '    1.1287       1.0000          .0000       .10000E+07
    10 'Prefactor '    45.263       1.0000          .0000       .10000E+07
    11 'norm      '    6.0671       1.0000          .0000       .10000E+07
    12 'norm      '    1.0818       1.0000          .0000       .10000E+07
    13 'Prefactor '    .16437       1.0000          .0000       .10000E+07
    14 'norm      '    4.0252       1.0000          .0000       .10000E+07
    15 'Prefactor '    8.3679       1.0000          .0000       .10000E+07
    16 'Prefactor '    49.571       1.0000          .0000       .10000E+07
    17 'Prefactor '    .18151       1.0000          .0000       .10000E+07
    18 'norm      '    .20311E-03   1.0000          .0000       .10000E+07
    19 'Prefactor '    .39817E-03   1.0000          .0000       .10000E+07
    20 'Prefactor '    .13348E-02   1.0000          .0000       .10000E+07
    21 'norm      '    27.401       1.0000          .0000       .10000E+07
    22 'Prefactor '    .32938       1.0000          .0000       .10000E+07
    23 'norm      '    2.6180       1.0000          .0000       .10000E+07
    24 'Prefactor '    12011.       1.0000          .0000       .10000E+07
    25 'Prefactor '    .12155E-02   1.0000          .0000       .10000E+07
    26 'Prefactor '    27.148       1.0000          .0000       .10000E+07
    27 'norm      '    .10653E-04   1.0000          .00
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)
000       .10000E+07
    28 'Normalizat'    .79375       1.0000         .10000E-01   10.000    
    29 'Prefactor '    .50524       1.0000          .0000       10.000    
 **********
 **   15 **SET ERR    .5000    
 **********
 **********
 **   16 **SET GRAD    1.000    
 **********
 **********
 **   17 **MINIMIZE    .7400E+05   .2000E-04
 **********

 MIGRAD MINIMIZATION HAS CONVERGED.

 FCN=   2894.411     FROM MIGRAD    STATUS=CONVERGED    192 CALLS     3557 TOTAL
                     EDM=   .41E-09  STRATEGY=1  ERROR MATRIX UNCERTAINTY=  1.9%

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor     1.6701        7.7847       -.22441E-06   -.39997E-03
   2  Prefactor     .55511E-10    6.5170        .26724E-06** at limit **
   3  norm          .55511E-10    4.1435       -.13643E-06** at limit **
   4  Prefactor     30.319        2.5776       -.13928E-06    .84629E-01
   5  norm          1.0248        .54731       -.12198E-07   -.34790E-02
   6  Prefactor     .24425E-08    49.285       -.30902E-05** at limit **
   7  norm          8.0130        4.5273        .31104E-06    .17271E-02
   8  Prefactor      .0000        13.600        .12667E-07** at limit **
   9  norm          1.1241        25.289        .58055E-06    .36084E-03
  10  Prefactor     45.265        1.2704       -.19705E-07    .34984E-01
  11  norm          6.0608        3.0054       -.66963E-07   -.20163E-02
  12  norm          1.0818        1.4483        .64552E-07    .38012E-03
  13  Prefactor     .46868E-06    10.232        .65635E-06** at limit **
  14  norm          4.0252        2.8992        .19314E-06    .14348E-03
  15  Prefactor     6.8646        226.59        .10074E-04    .34888E-03
  16  Prefactor     49.503        1.3123       -.28303E-07    .12160E-01
  17  Prefactor     .50515E-08    95.735       -.57761E-05** at limit **
  18  norm          .53901E-07    107.28        .39534E-05** at limit **
  19  Prefactor     .71609E-08    9.4845        .10122E-05** at limit **
  20  Prefactor     .55511E-10    38.660        .15236E-05** at limit **
  21  norm          27.429        2.4356        .10628E-06    .53857E-02
  22  Prefactor     .21483E-07    147.42        .12139E-05** at limit **
  23  norm          2.5071        19.225        .24434E-05    .11877E-02
  24  Prefactor     12011.        2.3862        .60502E-08    .21512    
  25  Prefactor     .38303E-08    9.6017       -.50745E-06** at limit **
  26  Prefactor     27.207        1.8577       -.28667E-07    .34287E-01
  27  norm           .0000        4.0735       -.73617E-07** at limit **
  28  Normalizat    .79548        .23271       -.73369E-05    .12027E-03
  29  Prefactor     .50456        .26611        .21348E-04    .95898E-04
                               ERR DEF=  .500    
Final values: 
  Prefactor  = 1.67014
  Prefactor  = 5.55112e-11
  norm       = 5.55112e-11
  Prefactor  = 30.3192
  norm       = 1.02475
  Prefactor  = 2.44249e-09
  norm       = 8.01298
  Prefactor  = 0
  norm       = 1.12408
  Prefactor  = 45.2647
  norm       = 6.06075
  norm       = 1.08184
  Prefactor  = 4.68681e-07
  norm       = 4.02523
  Prefactor  = 6.8646
  Prefactor  = 49.503
  Prefactor  = 5.05151e-09
  norm       = 5.39013e-08
  Prefactor  = 7.16094e-09
  Prefactor  = 5.55112e-11
  norm       = 27.4291
  Prefactor  = 2.14828e-08
  norm       = 2.50709
  Prefactor  = 12011.3
  Prefactor  = 3.83027e-09
  Prefactor  = 27.2069
  norm       = 0
  Normalizat = 0.795479
  Prefactor  = 0.504558
Done.

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

Extracting fit parameters...

4FGL J1057.2+5510
   Spectrum: PowerLaw
389    Prefactor:  4.687e-07  1.319e-02  0.000e+00  1.000e+06 ( 1.000e-15)
390        Index:  1.821e+00  0.000e+00  0.000e+00  1.000e+01 (-1.000e+00) fixed
391        Scale:  4.916e+03  0.000e+00  3.000e+01  5.000e+05 ( 1.000e+00) fixed

GAL_V02
   Spectrum: PowerLaw
737    Prefactor:  5.046e-01  2.401e-01  0.000e+00  1.000e+01 ( 1.000e+00)
738        Index:  0.000e+00  0.000e+00 -1.000e+00  1.000e+00 ( 1.000e+00) fixed
739        Scale:  1.000e+02  0.000e+00  5.000e+01  2.000e+02 ( 1.000e+00) fixed

EG_v02
   Spectrum: FileFunction
736   Normalization:  7.955e-01  2.238e-01  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Fixed Index): -0.00
Ra Dec: 164.318 55.180
Photon Flux Upper Limit: 5.70456731897e-08 ph cm-2 s-1
Energy Flux Upper Limit: 0.00421160029927 MeV cm-2 s-1

Saving results to:
/lscratch/kocevski/38728351/likelihoodResults_811382401_811641601_4FGL_J1057.2+5510_daily_bin2207.txt

Performing a free index iterative likelihood fit...

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

Done.

Freeing candidate source...
Done.

Fit tolerance = 1

Performing likelihood fit...
Done.

MINUIT Return Code (Free Index): 0
logL (Free Index) = 2894.41605357
delta logL = -0.00513987882687

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

MINUIT Return Code (Free Index): 102
logL (Free Index) = 2894.41091442
delta logL = -7.2880402513e-07

Fit tolerance = 1e-08

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

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

 MIGRAD MINIMIZATION HAS CONVERGED.

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

 FCN=   2894.411     FROM MIGRAD    STATUS=CONVERGED     49 CALLS      246 TOTAL
                     EDM=   .19E-10  STRATEGY=1  ERROR MATRIX UNCERTAINTY=100.0%

  EXT PARAMETER                APPROXIMATE        STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor      .0000        63.646        .42118E-03** at limit **
   2  Index         .39535        .57125       -.43256E-03     .0000    
   3  Normalizat    .79548        1.1344       -.18807E-06    .25322E-04
   4  Prefactor     .50456        .84698       -.95178E-07   -.28449E-04
                               ERR DEF=  .500    
Final values: 
  Prefactor  = 0
  Index      = 0.395347
  Normalizat = 0.79548
  Prefactor  = 0.504555
 **********
 **   18 **HESSE 
 **********
  MNHESS FAILS AND WILL RETURN DIAGONAL MATRIX. 

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

  EXT PARAMETER                APPROXIMATE     INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  Prefactor      .0000        63.646        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   2  Index         .30036E-01    .57125       -.43256E-03   -1.1705    
   3  Normalizat    .79548        1.1344       -.18807E-06   -1.0024    
   4  Prefactor     .50456        .84698       -.95178E-07   -1.1177    
                               ERR DEF=  .500    
Minuit fit quality: 1   estimated distance: 1.94783e-11
Minuit parameter uncertainties:
  1  1.78731e-05
  2  0.579761
  3  1.17107
  4  0.869678

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

00       .10000E+07
    28 'Normalizat'    .79375       1.0000         .10000E-01   10.000    
    29 'Prefactor '    .50524       1.0000          .0000       10.000    
 **********
 **   15 **SET ERR    .5000    
 **********
 **********
 **   16 **SET GRAD    1.000    
 **********
 **********
 **   17 **MINIMIZE    .7400E+05   .2000E-04
 **********

 MIGRAD MINIMIZATION HAS CONVERGED.

 FCN=   2894.411     FROM MIGRAD    STATUS=CONVERGED    192 CALLS     3557 TOTAL
                     EDM=   .41E-09  STRATEGY=1  ERROR MATRIX UNCERTAINTY=  1.9%

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor     1.6701        7.7847       -.22441E-06   -.39997E-03
   2  Prefactor     .55511E-10    6.5170        .26724E-06** at limit **
   3  norm          .55511E-10    4.1435       -.13643E-06** at limit **
   4  Prefactor     30.319        2.5776       -.13928E-06    .84629E-01
   5  norm          1.0248        .54731       -.12198E-07   -.34790E-02
   6  Prefactor     .24425E-08    49.285       -.30902E-05** at limit **
   7  norm          8.0130        4.5273        .31104E-06    .17271E-02
   8  Prefactor      .0000        13.600        .12667E-07** at limit **
   9  norm          1.1241        25.289        .58055E-06    .36084E-03
  10  Prefactor     45.265        1.2704       -.19705E-07    .34984E-01
  11  norm          6.0608        3.0054       -.66963E-07   -.20163E-02
  12  norm          1.0818        1.4483        .64552E-07    .38012E-03
  13  Prefactor     .46868E-06    10.232        .65635E-06** at limit **
  14  norm          4.0252        2.8992        .19314E-06    .14348E-03
  15  Prefactor     6.8646        226.59        .10074E-04    .34888E-03
  16  Prefactor     49.503        1.3123       -.28303E-07    .12160E-01
  17  Prefactor     .50515E-08    95.735       -.57761E-05** at limit **
  18  norm          .53901E-07    107.28        .39534E-05** at limit **
  19  Prefactor     .71609E-08    9.4845        .10122E-05** at limit **
  20  Prefactor     .55511E-10    38.660        .15236E-05** at limit **
  21  norm          27.429        2.4356        .10628E-06    .53857E-02
  22  Prefactor     .21483E-07    147.42        .12139E-05** at limit **
  23  norm          2.5071        19.225        .24434E-05    .11877E-02
  24  Prefactor     12011.        2.3862        .60502E-08    .21512    
  25  Prefactor     .38303E-08    9.6017       -.50745E-06** at limit **
  26  Prefactor     27.207        1.8577       -.28667E-07    .34287E-01
  27  norm           .0000        4.0735       -.73617E-07** at limit **
  28  Normalizat    .79548        .23271       -.73369E-05    .12027E-03
  29  Prefactor     .50456        .26611        .21348E-04    .95898E-04
                               ERR DEF=  .500    
Final values: 
  Prefactor  = 1.67014
  Prefactor  = 5.55112e-11
  norm       = 5.55112e-11
  Prefactor  = 30.3192
  norm       = 1.02475
  Prefactor  = 2.44249e-09
  norm       = 8.01298
  Prefactor  = 0
  norm       = 1.12408
  Prefactor  = 45.2647
  norm       = 6.06075
  norm       = 1.08184
  Prefactor  = 4.68681e-07
  norm       = 4.02523
  Prefactor  = 6.8646
  Prefactor  = 49.503
  Prefactor  = 5.05151e-09
  norm       = 5.39013e-08
  Prefactor  = 7.16094e-09
  Prefactor  = 5.55112e-11
  norm       = 27.4291
  Prefactor  = 2.14828e-08
  norm       = 2.50709
  Prefactor  = 12011.3
  Prefactor  = 3.83027e-09
  Prefactor  = 27.2069
  norm       = 0
  Normalizat = 0.795479
  Prefactor  = 0.504558
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) = 2894.41091368
delta logL = 2.52475729212e-09

Extracting fit parameters...

4FGL J1057.2+5510
   Spectrum: PowerLaw
389    Prefactor:  0.000e+00  1.787e-05  0.000e+00  1.000e+06 ( 1.000e-15)
390        Index:  3.953e-01  5.798e-01  0.000e+00  1.000e+01 (-1.000e+00)
391        Scale:  4.916e+03  0.000e+00  3.000e+01  5.000e+05 ( 1.000e+00) fixed

GAL_V02
   Spectrum: PowerLaw
737    Prefactor:  5.046e-01  8.697e-01  0.000e+00  1.000e+01 ( 1.000e+00)
738        Index:  0.000e+00  0.000e+00 -1.000e+00  1.000e+00 ( 1.000e+00) fixed
739        Scale:  1.000e+02  0.000e+00  5.000e+01  2.000e+02 ( 1.000e+00) fixed

EG_v02
   Spectrum: FileFunction
736   Normalization:  7.955e-01  1.171e+00  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Free Index): -0.00
Ra Dec: 164.318 55.180

Creating a high resolution counts map...
INFO: Auto-setting vmin to  0.000e+00 [aplpy.core]
INFO: Auto-setting vmax to  0.000e+00 [aplpy.core]
Saving /lscratch/kocevski/38728351/cmap_HighResolution_811382401_811641601_4FGL_J1057.2+5510_daily_bin2207.png

Cleaning up...

** Nuclear option initiated! **

Updating database...

UPDATE lightcurve_data_v2 SET energy_flux_upper_limit='4.21e-03', job_status='DONE', photon_flux_upper_limit='5.70e-08', time_completed='2026-09-21 08:16:37.777229', job_id='38728351', GAL2='0.50', fit_tolerance='1e-08', EG2='0.80', EG='0.80', time_epoch_completed='1790003797.78', return_code2='101', ts='-0.00', comment='SUCCESS', return_code='0', GAL='0.50', dlogl='2.52e-09', ts2='0.00', photon_index_error='0.00', photon_index='1.82' WHERE bin_id='2207' AND source_name='4FGL J1057.2+5510' AND cadence='daily';

Database successfully updated.


Analysis Complete.


Mon Sep 21 08:16:38 PDT 2026

Done.

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

Extracting fit parameters...

4FGL J1057.2+5510
   Spectrum: PowerLaw
389    Prefactor:  4.687e-07  1.319e-02  0.000e+00  1.000e+06 ( 1.000e-15)
390        Index:  1.821e+00  0.000e+00  0.000e+00  1.000e+01 (-1.000e+00) fixed
391        Scale:  4.916e+03  0.000e+00  3.000e+01  5.000e+05 ( 1.000e+00) fixed

GAL_V02
   Spectrum: PowerLaw
737    Prefactor:  5.046e-01  2.401e-01  0.000e+00  1.000e+01 ( 1.000e+00)
738        Index:  0.000e+00  0.000e+00 -1.000e+00  1.000e+00 ( 1.000e+00) fixed
739        Scale:  1.000e+02  0.000e+00  5.000e+01  2.000e+02 ( 1.000e+00) fixed

EG_v02
   Spectrum: FileFunction
736   Normalization:  7.955e-01  2.238e-01  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Fixed Index): -0.00
Ra Dec: 164.318 55.180
Photon Flux Upper Limit: 5.70456731897e-08 ph cm-2 s-1
Energy Flux Upper Limit: 0.00421160029927 MeV cm-2 s-1

Saving results to:
/lscratch/kocevski/38728350/likelihoodResults_811382401_811641601_4FGL_J1057.2+5510_daily_bin2207.txt

Performing a free index iterative likelihood fit...

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

Done.

Freeing candidate source...
Done.

Fit tolerance = 1

Performing likelihood fit...
Done.

MINUIT Return Code (Free Index): 0
logL (Free Index) = 2894.41605357
delta logL = -0.00513987882687

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

MINUIT Return Code (Free Index): 102
logL (Free Index) = 2894.41091442
delta logL = -7.2880402513e-07

Fit tolerance = 1e-08

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

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

 MIGRAD MINIMIZATION HAS CONVERGED.

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

 FCN=   2894.411     FROM MIGRAD    STATUS=CONVERGED     49 CALLS      246 TOTAL
                     EDM=   .19E-10  STRATEGY=1  ERROR MATRIX UNCERTAINTY=100.0%

  EXT PARAMETER                APPROXIMATE        STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor      .0000        63.646        .42118E-03** at limit **
   2  Index         .39535        .57125       -.43256E-03     .0000    
   3  Normalizat    .79548        1.1344       -.18807E-06    .25322E-04
   4  Prefactor     .50456        .84698       -.95178E-07   -.28449E-04
                               ERR DEF=  .500    
Final values: 
  Prefactor  = 0
  Index      = 0.395347
  Normalizat = 0.79548
  Prefactor  = 0.504555
 **********
 **   18 **HESSE 
 **********
  MNHESS FAILS AND WILL RETURN DIAGONAL MATRIX. 

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

  EXT PARAMETER                APPROXIMATE     INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  Prefactor      .0000        63.646        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   2  Index         .30036E-01    .57125       -.43256E-03   -1.1705    
   3  Normalizat    .79548        1.1344       -.18807E-06   -1.0024    
   4  Prefactor     .50456        .84698       -.95178E-07   -1.1177    
                               ERR DEF=  .500    
Minuit fit quality: 1   estimated distance: 1.94783e-11
Minuit parameter uncertainties:
  1  1.78731e-05
  2  0.579761
  3  1.17107
  4  0.869678
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) = 2894.41091368
delta logL = 2.52475729212e-09

Extracting fit parameters...

4FGL J1057.2+5510
   Spectrum: PowerLaw
389    Prefactor:  0.000e+00  1.787e-05  0.000e+00  1.000e+06 ( 1.000e-15)
390        Index:  3.953e-01  5.798e-01  0.000e+00  1.000e+01 (-1.000e+00)
391        Scale:  4.916e+03  0.000e+00  3.000e+01  5.000e+05 ( 1.000e+00) fixed

GAL_V02
   Spectrum: PowerLaw
737    Prefactor:  5.046e-01  8.697e-01  0.000e+00  1.000e+01 ( 1.000e+00)
738        Index:  0.000e+00  0.000e+00 -1.000e+00  1.000e+00 ( 1.000e+00) fixed
739        Scale:  1.000e+02  0.000e+00  5.000e+01  2.000e+02 ( 1.000e+00) fixed

EG_v02
   Spectrum: FileFunction
736   Normalization:  7.955e-01  1.171e+00  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Free Index): -0.00
Ra Dec: 164.318 55.180

Creating a high resolution counts map...
INFO: Auto-setting vmin to  0.000e+00 [aplpy.core]
INFO: Auto-setting vmax to  0.000e+00 [aplpy.core]
Saving /lscratch/kocevski/38728350/cmap_HighResolution_811382401_811641601_4FGL_J1057.2+5510_daily_bin2207.png

Cleaning up...

** Nuclear option initiated! **

Updating database...

UPDATE lightcurve_data_v2 SET energy_flux_upper_limit='4.21e-03', job_status='DONE', photon_flux_upper_limit='5.70e-08', time_completed='2026-09-21 08:16:46.363028', job_id='38728350', GAL2='0.50', fit_tolerance='1e-08', EG2='0.80', EG='0.80', time_epoch_completed='1790003806.36', return_code2='101', ts='-0.00', comment='SUCCESS', return_code='0', GAL='0.50', dlogl='2.52e-09', ts2='0.00', photon_index_error='0.00', photon_index='1.82' WHERE bin_id='2207' AND source_name='4FGL J1057.2+5510' AND cadence='daily';

Database successfully updated.


Analysis Complete.


Mon Sep 21 08:16:46 PDT 2026

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

 FCN=   2894.411     FROM HESSE     STATUS=OK           621 CALLS     4178 TOTAL
                     EDM=   .75E-04    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  Prefactor     1.6701        8.3152        .80789E-03   -1.5682    
   2  Prefactor     .55511E-10    6.4943        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   3  norm          .55511E-10    4.1444        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   4  Prefactor     30.319        37.382        .18103E-03   -1.5598    
   5  norm          1.0248        .55737        .62485E-03   -1.5688    
   6  Prefactor     .24425E-08    3.9746        .79151E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   7  norm          8.0130        4.5602        .35382E-03   -1.5651    
   8  Prefactor      .0000        13.590        .17378E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   9  norm          1.1241        25.047        .11002E-02   -1.5687    
  10  Prefactor     45.265        29.548        .14865E-03   -1.5573    
  11  norm          6.0608        3.9383        .40738E-03   -1.5659    
  12  norm          1.0818        1.5577        .16935E-02   -1.5687    
  13  Prefactor     .46868E-06    92.844        .12448E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  14  norm          4.0252        2.9252        .50239E-03   -1.5668    
  15  Prefactor     6.8646        238.35        .34632E-03   -1.5656    
  16  Prefactor     49.503        33.827        .14204E-03   -1.5567    
  17  Prefactor     .50515E-08    97.030        .12115E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  18  norm          .53901E-07    107.75        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  19  Prefactor     .71609E-08    10.251        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  20  Prefactor     .55511E-10    38.638        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  21  norm          27.429        27.226        .19107E-03   -1.5603    
  22  Prefactor     .21483E-07    147.86        .98172E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  23  norm          2.5071        22.059        .63010E-03   -1.5676    
  24  Prefactor     12011.        4356.7        .91797E-05   -1.3512    
  25  Prefactor     .38303E-08    9.8460        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  26  Prefactor     27.207        27.754        .19196E-03   -1.5604    
  27  norm           .0000        4.0767        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  28  Normalizat    .79548        .22357        .43529E-01   -1.0024    
  29  Prefactor     .50456        .23959        .72036E-01   -1.1177    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 7.48375e-05
Minuit parameter uncertainties:
  1  7.45321
  2  3.45248e-05
  3  2.60259e-05
  4  37.382
  5  0.557374
  6  0.000195937
  7  4.56019
  8  2.97505e-05
  9  10.6123
  10  29.5483
  11  3.93833
  12  1.55766
  13  0.0131929
  14  2.92518
  15  80.902
  16  33.8269
  17  0.00140125
  18  0.00481916
  19  0.000542159
  20  9.87332e-05
  21  27.2262
  22  0.00356627
  23  14.8735
  24  4357.89
  25  0.000389121
  26  27.7538
  27  7.7558e-06
  28  0.223824
  29  0.240071
 **********
 **   18 **HESSE 
 **********

 FCN=   2894.411     FROM HESSE     STATUS=OK           621 CALLS     4178 TOTAL
                     EDM=   .75E-04    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  Prefactor     1.6701        8.3152        .80789E-03   -1.5682    
   2  Prefactor     .55511E-10    6.4943        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   3  norm          .55511E-10    4.1444        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   4  Prefactor     30.319        37.382        .18103E-03   -1.5598    
   5  norm          1.0248        .55737        .62485E-03   -1.5688    
   6  Prefactor     .24425E-08    3.9746        .79151E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   7  norm          8.0130        4.5602        .35382E-03   -1.5651    
   8  Prefactor      .0000        13.590        .17378E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   9  norm          1.1241        25.047        .11002E-02   -1.5687    
  10  Prefactor     45.265        29.548        .14865E-03   -1.5573    
  11  norm          6.0608        3.9383        .40738E-03   -1.5659    
  12  norm          1.0818        1.5577        .16935E-02   -1.5687    
  13  Prefactor     .46868E-06    92.844        .12448E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  14  norm          4.0252        2.9252        .50239E-03   -1.5668    
  15  Prefactor     6.8646        238.35        .34632E-03   -1.5656    
  16  Prefactor     49.503        33.827        .14204E-03   -1.5567    
  17  Prefactor     .50515E-08    97.030        .12115E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  18  norm          .53901E-07    107.75        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  19  Prefactor     .71609E-08    10.251        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  20  Prefactor     .55511E-10    38.638        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  21  norm          27.429        27.226        .19107E-03   -1.5603    
  22  Prefactor     .21483E-07    147.86        .98172E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  23  norm          2.5071        22.059        .63010E-03   -1.5676    
  24  Prefactor     12011.        4356.7        .91797E-05   -1.3512    
  25  Prefactor     .38303E-08    9.8460        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  26  Prefactor     27.207        27.754        .19196E-03   -1.5604    
  27  norm           .0000        4.0767        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  28  Normalizat    .79548        .22357        .43529E-01   -1.0024    
  29  Prefactor     .50456        .23959        .72036E-01   -1.1177    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 7.48375e-05
Minuit parameter uncertainties:
  1  7.45321
  2  3.45248e-05
  3  2.60259e-05
  4  37.382
  5  0.557374
  6  0.000195937
  7  4.56019
  8  2.97505e-05
  9  10.6123
  10  29.5483
  11  3.93833
  12  1.55766
  13  0.0131929
  14  2.92518
  15  80.902
  16  33.8269
  17  0.00140125
  18  0.00481916
  19  0.000542159
  20  9.87332e-05
  21  27.2262
  22  0.00356627
  23  14.8735
  24  4357.89
  25  0.000389121
  26  27.7538
  27  7.7558e-06
  28  0.223824
  29  0.240071
Done.

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

Extracting fit parameters...

4FGL J1057.2+5510
   Spectrum: PowerLaw
389    Prefactor:  4.687e-07  1.319e-02  0.000e+00  1.000e+06 ( 1.000e-15)
390        Index:  1.821e+00  0.000e+00  0.000e+00  1.000e+01 (-1.000e+00) fixed
391        Scale:  4.916e+03  0.000e+00  3.000e+01  5.000e+05 ( 1.000e+00) fixed

GAL_V02
   Spectrum: PowerLaw
737    Prefactor:  5.046e-01  2.401e-01  0.000e+00  1.000e+01 ( 1.000e+00)
738        Index:  0.000e+00  0.000e+00 -1.000e+00  1.000e+00 ( 1.000e+00) fixed
739        Scale:  1.000e+02  0.000e+00  5.000e+01  2.000e+02 ( 1.000e+00) fixed

EG_v02
   Spectrum: FileFunction
736   Normalization:  7.955e-01  2.238e-01  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Fixed Index): -0.00
Ra Dec: 164.318 55.180
Photon Flux Upper Limit: 5.70456731897e-08 ph cm-2 s-1
Energy Flux Upper Limit: 0.00421160029927 MeV cm-2 s-1

Saving results to:
/lscratch/kocevski/38728365/likelihoodResults_811382401_811641601_4FGL_J1057.2+5510_daily_bin2207.txt

Performing a free index iterative likelihood fit...

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

Done.

Freeing candidate source...
Done.

Fit tolerance = 1

Performing likelihood fit...
Done.

MINUIT Return Code (Free Index): 0
logL (Free Index) = 2894.41605357
delta logL = -0.00513987882687

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

MINUIT Return Code (Free Index): 102
logL (Free Index) = 2894.41091442
delta logL = -7.2880402513e-07

Fit tolerance = 1e-08

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

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

 MIGRAD MINIMIZATION HAS CONVERGED.

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

 FCN=   2894.411     FROM MIGRAD    STATUS=CONVERGED     49 CALLS      246 TOTAL
                     EDM=   .19E-10  STRATEGY=1  ERROR MATRIX UNCERTAINTY=100.0%

  EXT PARAMETER                APPROXIMATE        STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor      .0000        63.646        .42118E-03** at limit **
   2  Index         .39535        .57125       -.43256E-03     .0000    
   3  Normalizat    .79548        1.1344       -.18807E-06    .25322E-04
   4  Prefactor     .50456        .84698       -.95178E-07   -.28449E-04
                               ERR DEF=  .500    
Final values: 
  Prefactor  = 0
  Index      = 0.395347
  Normalizat = 0.79548
  Prefactor  = 0.504555
 **********
 **   18 **HESSE 
 **********
  MNHESS FAILS AND WILL RETURN DIAGONAL MATRIX. 

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

  EXT PARAMETER                APPROXIMATE     INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  Prefactor      .0000        63.646        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   2  Index         .30036E-01    .57125       -.43256E-03   -1.1705    
   3  Normalizat    .79548        1.1344       -.18807E-06   -1.0024    
   4  Prefactor     .50456        .84698       -.95178E-07   -1.1177    
                               ERR DEF=  .500    
Minuit fit quality: 1   estimated distance: 1.94783e-11
Minuit parameter uncertainties:
  1  1.78731e-05
  2  0.579761
  3  1.17107
  4  0.869678
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) = 2894.41091368
delta logL = 2.52475729212e-09

Extracting fit parameters...

4FGL J1057.2+5510
   Spectrum: PowerLaw
389    Prefactor:  0.000e+00  1.787e-05  0.000e+00  1.000e+06 ( 1.000e-15)
390        Index:  3.953e-01  5.798e-01  0.000e+00  1.000e+01 (-1.000e+00)
391        Scale:  4.916e+03  0.000e+00  3.000e+01  5.000e+05 ( 1.000e+00) fixed

GAL_V02
   Spectrum: PowerLaw
737    Prefactor:  5.046e-01  8.697e-01  0.000e+00  1.000e+01 ( 1.000e+00)
738        Index:  0.000e+00  0.000e+00 -1.000e+00  1.000e+00 ( 1.000e+00) fixed
739        Scale:  1.000e+02  0.000e+00  5.000e+01  2.000e+02 ( 1.000e+00) fixed

EG_v02
   Spectrum: FileFunction
736   Normalization:  7.955e-01  1.171e+00  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Free Index): -0.00
Ra Dec: 164.318 55.180

Creating a high resolution counts map...
INFO: Auto-setting vmin to  0.000e+00 [aplpy.core]
INFO: Auto-setting vmax to  0.000e+00 [aplpy.core]
Saving /lscratch/kocevski/38728365/cmap_HighResolution_811382401_811641601_4FGL_J1057.2+5510_daily_bin2207.png

Cleaning up...

** Nuclear option initiated! **

Updating database...

UPDATE lightcurve_data_v2 SET energy_flux_upper_limit='4.21e-03', job_status='DONE', photon_flux_upper_limit='5.70e-08', time_completed='2026-09-21 08:17:14.606838', job_id='38728365', GAL2='0.50', fit_tolerance='1e-08', EG2='0.80', EG='0.80', time_epoch_completed='1790003834.61', return_code2='101', ts='-0.00', comment='SUCCESS', return_code='0', GAL='0.50', dlogl='2.52e-09', ts2='0.00', photon_index_error='0.00', photon_index='1.82' WHERE bin_id='2207' AND source_name='4FGL J1057.2+5510' AND cadence='daily';

Database successfully updated.


Analysis Complete.


Mon Sep 21 08:17:14 PDT 2026

Done.

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

Extracting fit parameters...

4FGL J1057.2+5510
   Spectrum: PowerLaw
389    Prefactor:  4.687e-07  1.319e-02  0.000e+00  1.000e+06 ( 1.000e-15)
390        Index:  1.821e+00  0.000e+00  0.000e+00  1.000e+01 (-1.000e+00) fixed
391        Scale:  4.916e+03  0.000e+00  3.000e+01  5.000e+05 ( 1.000e+00) fixed

GAL_V02
   Spectrum: PowerLaw
737    Prefactor:  5.046e-01  2.401e-01  0.000e+00  1.000e+01 ( 1.000e+00)
738        Index:  0.000e+00  0.000e+00 -1.000e+00  1.000e+00 ( 1.000e+00) fixed
739        Scale:  1.000e+02  0.000e+00  5.000e+01  2.000e+02 ( 1.000e+00) fixed

EG_v02
   Spectrum: FileFunction
736   Normalization:  7.955e-01  2.238e-01  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Fixed Index): -0.00
Ra Dec: 164.318 55.180
Photon Flux Upper Limit: 5.70456731897e-08 ph cm-2 s-1
Energy Flux Upper Limit: 0.00421160029927 MeV cm-2 s-1

Saving results to:
/lscratch/kocevski/38728349/likelihoodResults_811382401_811641601_4FGL_J1057.2+5510_daily_bin2207.txt

Performing a free index iterative likelihood fit...

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

Done.

Freeing candidate source...
Done.

Fit tolerance = 1

Performing likelihood fit...
Done.

MINUIT Return Code (Free Index): 0
logL (Free Index) = 2894.41605357
delta logL = -0.00513987882687

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

MINUIT Return Code (Free Index): 102
logL (Free Index) = 2894.41091442
delta logL = -7.2880402513e-07

Fit tolerance = 1e-08

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

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

 MIGRAD MINIMIZATION HAS CONVERGED.

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

 FCN=   2894.411     FROM MIGRAD    STATUS=CONVERGED     49 CALLS      246 TOTAL
                     EDM=   .19E-10  STRATEGY=1  ERROR MATRIX UNCERTAINTY=100.0%

  EXT PARAMETER                APPROXIMATE        STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor      .0000        63.646        .42118E-03** at limit **
   2  Index         .39535        .57125       -.43256E-03     .0000    
   3  Normalizat    .79548        1.1344       -.18807E-06    .25322E-04
   4  Prefactor     .50456        .84698       -.95178E-07   -.28449E-04
                               ERR DEF=  .500    
Final values: 
  Prefactor  = 0
  Index      = 0.395347
  Normalizat = 0.79548
  Prefactor  = 0.504555
 **********
 **   18 **HESSE 
 **********
  MNHESS FAILS AND WILL RETURN DIAGONAL MATRIX. 

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

  EXT PARAMETER                APPROXIMATE     INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  Prefactor      .0000        63.646        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   2  Index         .30036E-01    .57125       -.43256E-03   -1.1705    
   3  Normalizat    .79548        1.1344       -.18807E-06   -1.0024    
   4  Prefactor     .50456        .84698       -.95178E-07   -1.1177    
                               ERR DEF=  .500    
Minuit fit quality: 1   estimated distance: 1.94783e-11
Minuit parameter uncertainties:
  1  1.78731e-05
  2  0.579761
  3  1.17107
  4  0.869678
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) = 2894.41091368
delta logL = 2.52475729212e-09

Extracting fit parameters...

4FGL J1057.2+5510
   Spectrum: PowerLaw
389    Prefactor:  0.000e+00  1.787e-05  0.000e+00  1.000e+06 ( 1.000e-15)
390        Index:  3.953e-01  5.798e-01  0.000e+00  1.000e+01 (-1.000e+00)
391        Scale:  4.916e+03  0.000e+00  3.000e+01  5.000e+05 ( 1.000e+00) fixed

GAL_V02
   Spectrum: PowerLaw
737    Prefactor:  5.046e-01  8.697e-01  0.000e+00  1.000e+01 ( 1.000e+00)
738        Index:  0.000e+00  0.000e+00 -1.000e+00  1.000e+00 ( 1.000e+00) fixed
739        Scale:  1.000e+02  0.000e+00  5.000e+01  2.000e+02 ( 1.000e+00) fixed

EG_v02
   Spectrum: FileFunction
736   Normalization:  7.955e-01  1.171e+00  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Free Index): -0.00
Ra Dec: 164.318 55.180

Creating a high resolution counts map...
INFO: Auto-setting vmin to  0.000e+00 [aplpy.core]
INFO: Auto-setting vmax to  0.000e+00 [aplpy.core]
Saving /lscratch/kocevski/38728349/cmap_HighResolution_811382401_811641601_4FGL_J1057.2+5510_daily_bin2207.png

Cleaning up...

** Nuclear option initiated! **

Updating database...

UPDATE lightcurve_data_v2 SET energy_flux_upper_limit='4.21e-03', job_status='DONE', photon_flux_upper_limit='5.70e-08', time_completed='2026-09-21 08:17:17.192755', job_id='38728349', GAL2='0.50', fit_tolerance='1e-08', EG2='0.80', EG='0.80', time_epoch_completed='1790003837.19', return_code2='101', ts='-0.00', comment='SUCCESS', return_code='0', GAL='0.50', dlogl='2.52e-09', ts2='0.00', photon_index_error='0.00', photon_index='1.82' WHERE bin_id='2207' AND source_name='4FGL J1057.2+5510' AND cadence='daily';

Database successfully updated.


Analysis Complete.


Mon Sep 21 08:17:17 PDT 2026

tfile=/lscratch/kocevski/38728476/ltcube_811382401_811641601_4FGL_J1057.2+5510_daily_bin2207.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/38728476/ft2_4FGL_J1057.2+5510_daily_bin2207.fits
.....................!
real 10.37
user 9.73
sys 0.25

Generating the exposure map:
time -p gtexpmap evfile=/lscratch/kocevski/38728476/ft1_filtered_4FGL_J1057.2+5510_daily_bin2207.fits evtable="EVENTS" scfile=/lscratch/kocevski/38728476/ft2_4FGL_J1057.2+5510_daily_bin2207.fits sctable="SC_DATA" expcube=/lscratch/kocevski/38728476/ltcube_811382401_811641601_4FGL_J1057.2+5510_daily_bin2207.fits outfile=/lscratch/kocevski/38728476/expmap_811382401_811641601_4FGL_J1057.2+5510_daily_bin2207.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/38728476/ltcube_811382401_811641601_4FGL_J1057.2+5510_daily_bin2207.fits
.....................!
real 81.96
user 76.50
sys 4.46

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

Setting source of interest to:
4FGL J1057.2+5510 @ 164.318 55.1804

Creating the counts map:
time -p gtbin evfile=/lscratch/kocevski/38728476/ft1_filtered_4FGL_J1057.2+5510_daily_bin2207.fits scfile=/lscratch/kocevski/38728476/ft2_4FGL_J1057.2+5510_daily_bin2207.fits outfile=/lscratch/kocevski/38728476/cmap_811382401_811641601_4FGL_J1057.2+5510_daily_bin2207.fits algorithm="CMAP" ebinalg="LOG" emin=30.0 emax=200000.0 ebinfile=NONE tbinalg="LIN" tbinfile=NONE nxpix=160 nypix=160 binsz=0.25 coordsys="CEL" xref=164.318 yref=55.1804 axisrot=0.0 rafield="RA" decfield="DEC" proj="AIT" hpx_ordering_scheme="RING" hpx_order=3 hpx_ebin=yes hpx_region="" evtable="EVENTS" sctable="SC_DATA" efield="ENERGY" tfield="TIME" chatter=2 clobber=yes debug=no gui=no mode="ql"

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

This is gtbin version HEAD
real 0.59
user 0.27
sys 0.11

Creating the high resolution counts map:
time -p gtbin evfile=/lscratch/kocevski/38728476/ft1_filtered_4FGL_J1057.2+5510_daily_bin2207.fits scfile=/lscratch/kocevski/38728476/ft2_4FGL_J1057.2+5510_daily_bin2207.fits outfile=/lscratch/kocevski/38728476/cmap_HighResolution_811382401_811641601_4FGL_J1057.2+5510_daily_bin2207.fits algorithm="CMAP" ebinalg="LOG" emin=30.0 emax=200000.0 ebinfile=NONE tbinalg="LIN" tbinfile=NONE nxpix=500 nypix=500 binsz=0.1 coordsys="CEL" xref=164.318 yref=55.1804 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.81
user 0.27
sys 0.12

Computing the diffuse response:
time -p gtdiffrsp evfile=/lscratch/kocevski/38728476/ft1_filtered_4FGL_J1057.2+5510_daily_bin2207.fits evtable="EVENTS" scfile=/lscratch/kocevski/38728476/ft2_4FGL_J1057.2+5510_daily_bin2207.fits sctable="SC_DATA" srcmdl=/lscratch/kocevski/38728476/Model_4FGL_J1057.2+5510_daily_bin2207.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 GAtfile=/lscratch/kocevski/38728479/ltcube_811382401_811641601_4FGL_J1057.2+5510_daily_bin2207.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/38728479/ft2_4FGL_J1057.2+5510_daily_bin2207.fits
.....................!
real 10.79
user 9.80
sys 0.24

Generating the exposure map:
time -p gtexpmap evfile=/lscratch/kocevski/38728479/ft1_filtered_4FGL_J1057.2+5510_daily_bin2207.fits evtable="EVENTS" scfile=/lscratch/kocevski/38728479/ft2_4FGL_J1057.2+5510_daily_bin2207.fits sctable="SC_DATA" expcube=/lscratch/kocevski/38728479/ltcube_811382401_811641601_4FGL_J1057.2+5510_daily_bin2207.fits outfile=/lscratch/kocevski/38728479/expmap_811382401_811641601_4FGL_J1057.2+5510_daily_bin2207.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/38728479/ltcube_811382401_811641601_4FGL_J1057.2+5510_daily_bin2207.fits
.....................!
real 81.99
user 76.50
sys 4.58

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

Setting source of interest to:
4FGL J1057.2+5510 @ 164.318 55.1804

Creating the counts map:
time -p gtbin evfile=/lscratch/kocevski/38728479/ft1_filtered_4FGL_J1057.2+5510_daily_bin2207.fits scfile=/lscratch/kocevski/38728479/ft2_4FGL_J1057.2+5510_daily_bin2207.fits outfile=/lscratch/kocevski/38728479/cmap_811382401_811641601_4FGL_J1057.2+5510_daily_bin2207.fits algorithm="CMAP" ebinalg="LOG" emin=30.0 emax=200000.0 ebinfile=NONE tbinalg="LIN" tbinfile=NONE nxpix=160 nypix=160 binsz=0.25 coordsys="CEL" xref=164.318 yref=55.1804 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.27
sys 0.12

Creating the high resolution counts map:
time -p gtbin evfile=/lscratch/kocevski/38728479/ft1_filtered_4FGL_J1057.2+5510_daily_bin2207.fits scfile=/lscratch/kocevski/38728479/ft2_4FGL_J1057.2+5510_daily_bin2207.fits outfile=/lscratch/kocevski/38728479/cmap_HighResolution_811382401_811641601_4FGL_J1057.2+5510_daily_bin2207.fits algorithm="CMAP" ebinalg="LOG" emin=30.0 emax=200000.0 ebinfile=NONE tbinalg="LIN" tbinfile=NONE nxpix=500 nypix=500 binsz=0.1 coordsys="CEL" xref=164.318 yref=55.1804 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.69
user 0.27
sys 0.13

Computing the diffuse response:
time -p gtdiffrsp evfile=/lscratch/kocevski/38728479/ft1_filtered_4FGL_J1057.2+5510_daily_bin2207.fits evtable="EVENTS" scfile=/lscratch/kocevski/38728479/ft2_4FGL_J1057.2+5510_daily_bin2207.fits sctable="SC_DATA" srcmdl=/lscratch/kocevski/38728479/Model_4FGL_J1057.2+5510_daily_bin2207.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 GAnumber of points = 7465
number of fields = 31
RA_SUN column already exists. File will not be modified.
Done.


Performing analysis on: 4FGL_J1057.2+5510_daily_bin2207
RA = 164.318, Dec = 55.1804
tmin = 811382401, tmax = 811641601
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='38728561', job_status='RUN', time_executed='2026-09-21 08:16:37.890441', time_epoch_executed='1790003797.89' WHERE source_name='4FGL J1057.2+5510' and cadence='daily' and bin_id='2207'

Database successfully updated.
Done.

Creating custom output directory:
/lscratch/kocevski/38728561

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

Retrieving the FT1 file...

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

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

Retrieving 46 files...
Done.


Merging files...

Checksum keywords updated successfully.

Merged file saved to:
/lscratch/kocevski/38728561/ft1_4FGL_J1057.2+5510_daily_bin2207.fits


Retrieving the FT1 file...

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

Retrieving 46 files...
Done.


Merging files...

Merged file saved to:
/lscratch/kocevski/38728561/ft2_4FGL_J1057.2+5510_daily_bin2207.fits


Selecting the photons:
time -p gtselect infile=/lscratch/kocevski/38728561/ft1_4FGL_J1057.2+5510_daily_bin2207.fits outfile=/lscratch/kocevski/38728561/ft1_filteredMKT_4FGL_J1057.2+5510_daily_bin2207.fits ra=164.318 dec=55.1804 rad=12.0 tmin=811382401.0 tmax=811641601.0 emin=100.0 emax=100000.0 zmin=0.0 zmax=90.0 evclass=128 evtype="INDEF" convtype=-1 phasemin=0.0 phasemax=1.0 evtable="EVENTS" chatter=2 clobber=yes debug=no gui=no mode="ql"

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

Done.
real 2.22
user 1.83
sys 0.15

Adding sun position to ft2 file:
/sdf/group/fermi/g/LCRepository/Repository/bin/sunpos /lscratch/kocevski/38728561/ft2_4FGL_J1057.2+5510_daily_bin2207.fits

Selecting the good time intervals:
time -p gtmktime scfile=/lscratch/kocevski/38728561/ft2_4FGL_J1057.2+5510_daily_bin2207.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/38728561/ft1_filteredMKT_4FGL_J1057.2+5510_daily_bin2207.fits evtable="EVENTS" outfile="/lscratch/kocevski/38728561/ft1_filtered_4FGL_J1057.2+5510_daily_bin2207.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.87
user 0.20
sys 0.13

Number of photons that the gtmktime cut: 270

Generating the livetime cube:
time -p gtltcube evfile="/lscratch/kocevski/38728561/ft1_filtered_4FGL_J1057.2+5510_daily_bin2207.fits" evtable="EVENTS" scfile=/lscratch/kocevski/38728561/ft2_4FGL_J1057.2+5510_daily_bin2207.fits sctable="SC_DATA" outfile=/lscratch/kocevski/38728561/ltcube_811382401_811641601_4FGL_J1057.2+5510_daily_bin2207.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/38728561/ft2_4FGL_J1057.2+5510_daily_bin2207.fits
.....................!
real 9.48
user 8.74
sys 0.21

Generating the exposure map:
time -p gtexpmap evfile=/lscratch/kocevski/38728561/ft1_filtered_4FGL_J1057.2+5510_daily_bin2207.fits evtable="EVENTS" scfile=/lscratch/kocevski/38728561/ft2_4FGL_J1057.2+5510_daily_bin2207.fits sctable="SC_DATA" expcube=/lscratch/kocevski/38728561/ltcube_811382401_811641601_4FGL_J1057.2+5510_daily_bin2207.fits outfile=/lscratch/kocevski/38728561/expmap_811382401_811641601_4FGL_J1057.2+5510_daily_bin2207.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/38728561/ltcube_811382401_811641601_4FGL_J1057.2+5510_daily_bin2207.fits
.....................!
real 74.88
user 69.14
sys 4.23

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

Setting source of interest to:
4FGL J1057.2+5510 @ 164.318 55.1804

Creating the counts map:
time -p gtbin evfile=/lscratch/kocevski/38728561/ft1_filtered_4FGL_J1057.2+5510_daily_bin2207.fits scfile=/lscratch/kocevski/38728561/ft2_4FGL_J1057.2+5510_daily_bin2207.fits outfile=/lscratch/kocevski/38728561/cmap_811382401_811641601_4FGL_J1057.2+5510_daily_bin2207.fits algorithm="CMAP" ebinalg="LOG" emin=30.0 emax=200000.0 ebinfile=NONE tbinalg="LIN" tbinfile=NONE nxpix=160 nypix=160 binsz=0.25 coordsys="CEL" xref=164.318 yref=55.1804 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.11

Creating the high resolution counts map:
time -p gtbin evfile=/lscratch/kocevski/38728561/ft1_filtered_4FGL_J1057.2+5510_daily_bin2207.fits scfile=/lscratch/kocevski/38728561/ft2_4FGL_J1057.2+5510_daily_bin2207.fits outfile=/lscratch/kocevski/38728561/cmap_HighResolution_811382401_811641601_4FGL_J1057.2+5510_daily_bin2207.fits algorithm="CMAP" ebinalg="LOG" emin=30.0 emax=200000.0 ebinfile=NONE tbinalg="LIN" tbinfile=NONE nxpix=500 nypix=500 binsz=0.1 coordsys="CEL" xref=164.318 yref=55.1804 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.53
user 0.24
sys 0.13

Computing the diffuse response:
time -p gtdiffrsp evfile=/lscratch/kocevski/38728561/ft1_filtered_4FGL_J1057.2+5510_daily_bin2207.fits evtable="EVENTS" scfile=/lscratch/kocevski/38728561/ft2_4FGL_J1057.2+5510_daily_bin2207.fits sctable="SC_DATA" srcmdl=/lscratch/kocevski/38728561/Model_4FGL_J1057.2+5510_daily_bin2207.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 GALL_V02
Working on...
/lscratch/kocevski/38728476/ft1_filtered_4FGL_J1057.2+5510_daily_bin2207.fits.....................!
real 19.25
user 17.43
sys 0.94

Creating the likelihood object...
obs = UnbinnedObs('/lscratch/kocevski/38728476/ft1_filtered_4FGL_J1057.2+5510_daily_bin2207.fits', '/lscratch/kocevski/38728476/ft2_4FGL_J1057.2+5510_daily_bin2207.fits', expMap='/lscratch/kocevski/38728476/expmap_811382401_811641601_4FGL_J1057.2+5510_daily_bin2207.fits', expCube='/lscratch/kocevski/38728476/ltcube_811382401_811641601_4FGL_J1057.2+5510_daily_bin2207.fits', irfs='P8R3_SOURCE_V2')
like = UnbinnedAnalysis(obs, '/lscratch/kocevski/38728476/Model_4FGL_J1057.2+5510_daily_bin2207.xml', optimizer='MINUIT')

Using source of interest name: '4FGL J1057.2+5510'

4FGL J1057.2+5510
   Spectrum: PowerLaw
389    Prefactor:  5.757e+00  0.000e+00  0.000e+00  1.000e+06 ( 1.000e-15)
390        Index:  1.821e+00  0.000e+00  0.000e+00  1.000e+01 (-1.000e+00) fixed
391        Scale:  4.916e+03  0.000e+00  3.000e+01  5.000e+05 ( 1.000e+00) fixed


Likelihood Fit Parameters:
Event file(s): /lscratch/kocevski/38728476/ft1_filtered_4FGL_J1057.2+5510_daily_bin2207.fits
Spacecraft file(s): /lscratch/kocevski/38728476/ft2_4FGL_J1057.2+5510_daily_bin2207.fits
Exposure map: /lscratch/kocevski/38728476/expmap_811382401_811641601_4FGL_J1057.2+5510_daily_bin2207.fits
Exposure cube: /lscratch/kocevski/38728476/ltcube_811382401_811641601_4FGL_J1057.2+5510_daily_bin2207.fits
IRFs: P8R3_SOURCE_V2
Source model file: /lscratch/kocevski/38728476/Model_4FGL_J1057.2+5510_daily_bin2207.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) = 2894.41915641

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

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

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'Prefactor '    1.6953       1.0000          .0000       .10000E+07
     2 'Prefactor '    .52215E-03   1.0000          .0000       .10000E+07
     3 'norm      '    .25927E-03   1.0000          .0000       .10000E+07
     4 'Prefactor '    30.524       1.0000          .0000       .10000E+07
     5 'norm      '    1.0245       1.0000          .0000       .10000E+07
     6 'Prefactor '    .50485E-01   1.0000          .0000       .10000E+07
     7 'norm      '    8.0192       1.0000          .0000       .10000E+07
     8 'Prefactor '    .15169E-01   1.0000          .0000       .10000E+07
     9 'norm      '    1.1287       1.0000          .0000       .10000E+07
    10 'Prefactor '    45.263       1.0000          .0000       .10000E+07
    11 'norm      '    6.0671       1.0000          .0000       .10000E+07
    12 'norm      '    1.0818       1.0000          .0000       .10000E+07
    13 'Prefactor '    .16437       1.0000          .0000       .10000E+07
    14 'norm      '    4.0252       1.0000          .0000       .10000E+07
    15 'Prefactor '    8.3679       1.0000          .0000       .10000E+07
    16 'Prefactor '    49.571       1.0000          .0000       .10000E+07
    17 'Prefactor '    .18151       1.0000          .0000       .10000E+07
    18 'norm      '    .20311E-03   1.0000          .0000       .10000E+07
    19 'Prefactor '    .39817E-03   1.0000          .0000       .10000E+07
    20 'Prefactor '    .13348E-02   1.0000          .0000       .10000E+07
    21 'norm      '    27.401       1.0000          .0000       .10000E+07
    22 'Prefactor '    .32938       1.0000          .0000       .10000E+07
    23 'norm      '    2.6180       1.0000          .0000       .10000E+07
    24 'Prefactor '    12011.       1.0000          .0000       .10000E+07
    25 'Prefactor '    .12155E-02   1.0000          .0000       .10000E+07
    26 'Prefactor '    27.148       1.0000          .0000       .10000E+07
    27 'norm      '    .10653E-04   1.0000          .0000       .10000E+07
    28 'Normalizat'    .79375       1.0000         .10000E-01   10.000    
    29 'Prefactor '    .50524       1.0000          .0000       10.000    
 **********
 **   15 **SET ERR    .5000    
 **********
 **********
 **   16 **SET GRAD    1.000    
 **********
 **********
 **   17 **MINIMIZE    .7400E+05   .2000E-04
 **********

 MIGRAD MINIMIZATION HAS CONVERGED.

 FCN=   2894.411     FROM MIGRAD    STATUS=CONVERGED    192 CALLS     3557 TOTAL
                     EDM=   .41E-09  STRATEGY=1  ERROR MATRIX UNCERTAINTY=  1.9%

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor     1.6701        7.7847       -.22441E-06   -.39997E-03
   2  Prefactor     .55511E-10    6.5170        .26724E-06** at limit **
   3  norm          .55511E-10    4.1435       -.13643E-06** at limit **
   4  Prefactor     30.319        2.5776       -.13928E-06    .84629E-01
   5  norm          1.0248        .54731       -.12198E-07   -.34790E-02
   6  Prefactor     .24425E-08    49.285       -.30902E-05** at limit **
   7  norm          8.0130        4.5273        .31104E-06    .17271E-02
   8  Prefactor      .0000        13.600        .12667E-07** at limit **
   9  norm          1.1241        25.289        .58055E-06    .36084E-03
  10  Prefactor     45.265        1.2704       -.19705E-07    .34984E-01
  11  norm          6.0608        3.0054       -.66963E-07   -.20163E-02
  12  norm          1.0818        1.4483        .64552E-07    .38012E-03
  13  Prefactor     .46868E-06    10.232        .65635E-06** at limit **
  14  norm          4.0252        2.8992        .19314E-06    .14348E-03
  15  Prefactor     6.8646        226.59        .10074E-04    .34888E-03
  16  Prefactor     49.503        1.3123       -.28303E-07    .12160E-01
  17  Prefactor     .50515E-08    95.735       -.57761E-05** at limit **
  18  norm          .53901E-07    107.28        .39534E-05** at limit **
  19  Prefactor     .71609E-08    9.4845        .10122E-05** at limit **
  20  Prefactor     .55511E-10    38.660        .15236E-05** at limit **
  21  norm          27.429        2.4356        .10628E-06    .53857E-02
  22  Prefactor     .21483E-07    147.42        .12139E-05** at limit **
  23  norm          2.5071        19.225        .24434E-05    .11877E-02
  24  Prefactor     12011.        2.3862        .60502E-08    .21512    
  25  Prefactor     .38303E-08    9.6017       -.50745E-06** at limit **
  26  Prefactor     27.207        1.8577       -.28667E-07    .34287E-01
  27  norm           .0000        4.0735       -.73617E-07** at limit **
  28  Normalizat    .79548        .23271       -.73369E-05    .12027E-03
  29  Prefactor     .50456        .26611        .21348E-04    .95898E-04
                               ERR DEF=  .500    
Final values: 
  Prefactor  = 1.67014
  Prefactor  = 5.55112e-11
  norm       = 5.55112e-11
  Prefactor  = 30.3192
  norm       = 1.02475
  Prefactor  = 2.44249e-09
  norm       = 8.01298
  Prefactor  = 0
  norm       = 1.12408
  Prefactor  = 45.2647
  norm       = 6.06075
  norm       = 1.08184
  Prefactor  = 4.68681e-07
  norm       = 4.02523
  Prefactor  = 6.8646
  Prefactor  = 49.503
  Prefactor  = 5.05151e-09
  norm       = 5.39013e-08
  Prefactor  = 7.16094e-09
  Prefactor  = 5.55112e-11
  norm       = 27.4291
  Prefactor  = 2.14828e-08
  norm       = 2.50709
  Prefactor  = 12011.3
  Prefactor  = 3.83027e-09
  Prefactor  = 27.2069
  norm       = 0
  Normalizat = 0.795479
  Prefactor  = 0.504558
L_V02
Working on...
/lscratch/kocevski/38728479/ft1_filtered_4FGL_J1057.2+5510_daily_bin2207.fits.....................!
real 18.93
user 17.03
sys 0.96

Creating the likelihood object...
obs = UnbinnedObs('/lscratch/kocevski/38728479/ft1_filtered_4FGL_J1057.2+5510_daily_bin2207.fits', '/lscratch/kocevski/38728479/ft2_4FGL_J1057.2+5510_daily_bin2207.fits', expMap='/lscratch/kocevski/38728479/expmap_811382401_811641601_4FGL_J1057.2+5510_daily_bin2207.fits', expCube='/lscratch/kocevski/38728479/ltcube_811382401_811641601_4FGL_J1057.2+5510_daily_bin2207.fits', irfs='P8R3_SOURCE_V2')
like = UnbinnedAnalysis(obs, '/lscratch/kocevski/38728479/Model_4FGL_J1057.2+5510_daily_bin2207.xml', optimizer='MINUIT')

Using source of interest name: '4FGL J1057.2+5510'

4FGL J1057.2+5510
   Spectrum: PowerLaw
389    Prefactor:  5.757e+00  0.000e+00  0.000e+00  1.000e+06 ( 1.000e-15)
390        Index:  1.821e+00  0.000e+00  0.000e+00  1.000e+01 (-1.000e+00) fixed
391        Scale:  4.916e+03  0.000e+00  3.000e+01  5.000e+05 ( 1.000e+00) fixed


Likelihood Fit Parameters:
Event file(s): /lscratch/kocevski/38728479/ft1_filtered_4FGL_J1057.2+5510_daily_bin2207.fits
Spacecraft file(s): /lscratch/kocevski/38728479/ft2_4FGL_J1057.2+5510_daily_bin2207.fits
Exposure map: /lscratch/kocevski/38728479/expmap_811382401_811641601_4FGL_J1057.2+5510_daily_bin2207.fits
Exposure cube: /lscratch/kocevski/38728479/ltcube_811382401_811641601_4FGL_J1057.2+5510_daily_bin2207.fits
IRFs: P8R3_SOURCE_V2
Source model file: /lscratch/kocevski/38728479/Model_4FGL_J1057.2+5510_daily_bin2207.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) = 2894.41915641

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

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

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'Prefactor '    1.6953       1.0000          .0000       .10000E+07
     2 'Prefactor '    .52215E-03   1.0000          .0000       .10000E+07
     3 'norm      '    .25927E-03   1.0000          .0000       .10000E+07
     4 'Prefactor '    30.524       1.0000          .0000       .10000E+07
     5 'norm      '    1.0245       1.0000          .0000       .10000E+07
     6 'Prefactor '    .50485E-01   1.0000          .0000       .10000E+07
     7 'norm      '    8.0192       1.0000          .0000       .10000E+07
     8 'Prefactor '    .15169E-01   1.0000          .0000       .10000E+07
     9 'norm      '    1.1287       1.0000          .0000       .10000E+07
    10 'Prefactor '    45.263       1.0000          .0000       .10000E+07
    11 'norm      '    6.0671       1.0000          .0000       .10000E+07
    12 'norm      '    1.0818       1.0000          .0000       .10000E+07
    13 'Prefactor '    .16437       1.0000          .0000       .10000E+07
    14 'norm      '    4.0252       1.0000          .0000       .10000E+07
    15 'Prefactor '    8.3679       1.0000          .0000       .10000E+07
    16 'Prefactor '    49.571       1.0000          .0000       .10000E+07
    17 'Prefactor '    .18151       1.0000          .0000       .10000E+07
    18 'norm      '    .20311E-03   1.0000          .0000       .10000E+07
    19 'Prefactor '    .39817E-03   1.0000          .0000       .10000E+07
    20 'Prefactor '    .13348E-02   1.0000          .0000       .10000E+07
    21 'norm      '    27.401       1.0000          .0000       .10000E+07
    22 'Prefactor '    .32938       1.0000          .0000       .10000E+07
    23 'norm      '    2.6180       1.0000          .0000       .10000E+07
    24 'Prefactor '    12011.       1.0000          .0000       .10000E+07
    25 'Prefactor '    .12155E-02   1.0000          .0000       .10000E+07
    26 'Prefactor '    27.148       1.0000          .0000       .10000E+07
    27 'norm      '    .10653E-04   1.0000          .0000       .10000E+07
    28 'Normalizat'    .79375       1.0000         .10000E-01   10.000    
    29 'Prefactor '    .50524       1.0000          .0000       10.000    
 **********
 **   15 **SET ERR    .5000    
 **********
 **********
 **   16 **SET GRAD    1.000    
 **********
 **********
 **   17 **MINIMIZE    .7400E+05   .2000E-04
 **********

 MIGRAD MINIMIZATION HAS CONVERGED.

 FCN=   2894.411     FROM MIGRAD    STATUS=CONVERGED    192 CALLS     3557 TOTAL
                     EDM=   .41E-09  STRATEGY=1  ERROR MATRIX UNCERTAINTY=  1.9%

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor     1.6701        7.7847       -.22441E-06   -.39997E-03
   2  Prefactor     .55511E-10    6.5170        .26724E-06** at limit **
   3  norm          .55511E-10    4.1435       -.13643E-06** at limit **
   4  Prefactor     30.319        2.5776       -.13928E-06    .84629E-01
   5  norm          1.0248        .54731       -.12198E-07   -.34790E-02
   6  Prefactor     .24425E-08    49.285       -.30902E-05** at limit **
   7  norm          8.0130        4.5273        .31104E-06    .17271E-02
   8  Prefactor      .0000        13.600        .12667E-07** at limit **
   9  norm          1.1241        25.289        .58055E-06    .36084E-03
  10  Prefactor     45.265        1.2704       -.19705E-07    .34984E-01
  11  norm          6.0608        3.0054       -.66963E-07   -.20163E-02
  12  norm          1.0818        1.4483        .64552E-07    .38012E-03
  13  Prefactor     .46868E-06    10.232        .65635E-06** at limit **
  14  norm          4.0252        2.8992        .19314E-06    .14348E-03
  15  Prefactor     6.8646        226.59        .10074E-04    .34888E-03
  16  Prefactor     49.503        1.3123       -.28303E-07    .12160E-01
  17  Prefactor     .50515E-08    95.735       -.57761E-05** at limit **
  18  norm          .53901E-07    107.28        .39534E-05** at limit **
  19  Prefactor     .71609E-08    9.4845        .10122E-05** at limit **
  20  Prefactor     .55511E-10    38.660        .15236E-05** at limit **
  21  norm          27.429        2.4356        .10628E-06    .53857E-02
  22  Prefactor     .21483E-07    147.42        .12139E-05** at limit **
  23  norm          2.5071        19.225        .24434E-05    .11877E-02
  24  Prefactor     12011.        2.3862        .60502E-08    .21512    
  25  Prefactor     .38303E-08    9.6017       -.50745E-06** at limit **
  26  Prefactor     27.207        1.8577       -.28667E-07    .34287E-01
  27  norm           .0000        4.0735       -.73617E-07** at limit **
  28  Normalizat    .79548        .23271       -.73369E-05    .12027E-03
  29  Prefactor     .50456        .26611        .21348E-04    .95898E-04
                               ERR DEF=  .500    
Final values: 
  Prefactor  = 1.67014
  Prefactor  = 5.55112e-11
  norm       = 5.55112e-11
  Prefactor  = 30.3192
  norm       = 1.02475
  Prefactor  = 2.44249e-09
  norm       = 8.01298
  Prefactor  = 0
  norm       = 1.12408
  Prefactor  = 45.2647
  norm       = 6.06075
  norm       = 1.08184
  Prefactor  = 4.68681e-07
  norm       = 4.02523
  Prefactor  = 6.8646
  Prefactor  = 49.503
  Prefactor  = 5.05151e-09
  norm       = 5.39013e-08
  Prefactor  = 7.16094e-09
  Prefactor  = 5.55112e-11
  norm       = 27.4291
  Prefactor  = 2.14828e-08
  norm       = 2.50709
  Prefactor  = 12011.3
  Prefactor  = 3.83027e-09
  Prefactor  = 27.2069
  norm       = 0
  Normalizat = 0.795479
  Prefactor  = 0.504558
 **********
 **   18 **HESSE 
 **********

 FCN=   2894.411     FROM HESSE     STATUS=OK           621 CALLS     4178 TOTAL
                     EDM=   .75E-04    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  Prefactor     1.6701        8.3152        .80789E-03   -1.5682    
   2  Prefactor     .55511E-10    6.4943        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   3  norm          .55511E-10    4.1444        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   4  Prefactor     30.319        37.382        .18103E-03   -1.5598    
   5  norm          1.0248        .55737        .62485E-03   -1.5688    
   6  Prefactor     .24425E-08    3.9746        .79151E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   7  norm          8.0130        4.5602        .35382E-03   -1.5651    
   8  Prefactor      .0000        13.590        .17378E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   9  norm          1.1241        25.047        .11002E-02   -1.5687    
  10  Prefactor     45.265        29.548        .14865E-03   -1.5573    
  11  norm          6.0608        3.9383        .40738E-03   -1.5659    
  12  norm          1.0818        1.5577        .16935E-02   -1.5687    
  13  Prefactor     .46868E-06    92.844        .12448E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  14  norm          4.0252        2.9252        .50239E-03   -1.5668    
  15  Prefactor     6.8646        238.35        .34632E-03   -1.5656    
  16  Prefactor     49.503        33.827        .14204E-03   -1.5567    
  17  Prefactor     .50515E-08    97.030        .12115E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  18  norm          .53901E-07    107.75        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  19  Prefactor     .71609E-08    10.251        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  20  Prefactor     .55511E-10    38.638        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  21  norm          27.429        27.226        .19107E-03   -1.5603    
  22  Prefactor     .21483E-07    147.86        .98172E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  23  norm          2.5071        22.059        .63010E-03   -1.5676    
  24  Prefactor     12011.        4356.7        .91797E-05   -1.3512    
  25  Prefactor     .38303E-08    9.8460        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  26  Prefactor     27.207        27.754        .19196E-03   -1.5604    
  27  norm           .0000        4.0767        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  28  Normalizat    .79548        .22357        .43529E-01   -1.0024    
  29  Prefactor     .50456        .23959        .72036E-01   -1.1177    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 7.48375e-05
Minuit parameter uncertainties:
  1  7.45321
  2  3.45248e-05
  3  2.60259e-05
  4  37.382
  5  0.557374
  6  0.000195937
  7  4.56019
  8  2.97505e-05
  9  10.6123
  10  29.5483
  11  3.93833
  12  1.55766
  13  0.0131929
  14  2.92518
  15  80.902
  16  33.8269
  17  0.00140125
  18  0.00481916
  19  0.000542159
  20  9.87332e-05
  21  27.2262
  22  0.00356627
  23  14.8735
  24  4357.89
  25  0.000389121
  26  27.7538
  27  7.7558e-06
  28  0.223824
  29  0.240071
 **********
 **   18 **HESSE 
 **********

 FCN=   2894.411     FROM HESSE     STATUS=OK           621 CALLS     4178 TOTAL
                     EDM=   .75E-04    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  Prefactor     1.6701        8.3152        .80789E-03   -1.5682    
   2  Prefactor     .55511E-10    6.4943        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   3  norm          .55511E-10    4.1444        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   4  Prefactor     30.319        37.382        .18103E-03   -1.5598    
   5  norm          1.0248        .55737        .62485E-03   -1.5688    
   6  Prefactor     .24425E-08    3.9746        .79151E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   7  norm          8.0130        4.5602        .35382E-03   -1.5651    
   8  Prefactor      .0000        13.590        .17378E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   9  norm          1.1241        25.047        .11002E-02   -1.5687    
  10  Prefactor     45.265        29.548        .14865E-03   -1.5573    
  11  norm          6.0608        3.9383        .40738E-03   -1.5659    
  12  norm          1.0818        1.5577        .16935E-02   -1.5687    
  13  Prefactor     .46868E-06    92.844        .12448E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  14  norm          4.0252        2.9252        .50239E-03   -1.5668    
  15  Prefactor     6.8646        238.35        .34632E-03   -1.5656    
  16  Prefactor     49.503        33.827        .14204E-03   -1.5567    
  17  Prefactor     .50515E-08    97.030        .12115E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  18  norm          .53901E-07    107.75        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  19  Prefactor     .71609E-08    10.251        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  20  Prefactor     .55511E-10    38.638        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  21  norm          27.429        27.226        .19107E-03   -1.5603    
  22  Prefactor     .21483E-07    147.86        .98172E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  23  norm          2.5071        22.059        .63010E-03   -1.5676    
  24  Prefactor     12011.        4356.7        .91797E-05   -1.3512    
  25  Prefactor     .38303E-08    9.8460        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  26  Prefactor     27.207        27.754        .19196E-03   -1.5604    
  27  norm           .0000        4.0767        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  28  Normalizat    .79548        .22357        .43529E-01   -1.0024    
  29  Prefactor     .50456        .23959        .72036E-01   -1.1177    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 7.48375e-05
Minuit parameter uncertainties:
  1  7.45321
  2  3.45248e-05
  3  2.60259e-05
  4  37.382
  5  0.557374
  6  0.000195937
  7  4.56019
  8  2.97505e-05
  9  10.6123
  10  29.5483
  11  3.93833
  12  1.55766
  13  0.0131929
  14  2.92518
  15  80.902
  16  33.8269
  17  0.00140125
  18  0.00481916
  19  0.000542159
  20  9.87332e-05
  21  27.2262
  22  0.00356627
  23  14.8735
  24  4357.89
  25  0.000389121
  26  27.7538
  27  7.7558e-06
  28  0.223824
  29  0.240071
Done.

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

Extracting fit parameters...

4FGL J1057.2+5510
   Spectrum: PowerLaw
389    Prefactor:  4.687e-07  1.319e-02  0.000e+00  1.000e+06 ( 1.000e-15)
390        Index:  1.821e+00  0.000e+00  0.000e+00  1.000e+01 (-1.000e+00) fixed
391        Scale:  4.916e+03  0.000e+00  3.000e+01  5.000e+05 ( 1.000e+00) fixed

GAL_V02
   Spectrum: PowerLaw
737    Prefactor:  5.046e-01  2.401e-01  0.000e+00  1.000e+01 ( 1.000e+00)
738        Index:  0.000e+00  0.000e+00 -1.000e+00  1.000e+00 ( 1.000e+00) fixed
739        Scale:  1.000e+02  0.000e+00  5.000e+01  2.000e+02 ( 1.000e+00) fixed

EG_v02
   Spectrum: FileFunction
736   Normalization:  7.955e-01  2.238e-01  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Fixed Index): -0.00
Ra Dec: 164.318 55.180
Photon Flux Upper Limit: 5.70456731897e-08 ph cm-2 s-1
Energy Flux Upper Limit: 0.00421160029927 MeV cm-2 s-1

Saving results to:
/lscratch/kocevski/38728476/likelihoodResults_811382401_811641601_4FGL_J1057.2+5510_daily_bin2207.txt

Performing a free index iterative likelihood fit...

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

Done.

Freeing candidate source...
Done.

Fit tolerance = 1

Performing likelihood fit...
Done.

MINUIT Return Code (Free Index): 0
logL (Free Index) = 2894.41605357
delta logL = -0.00513987882687

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

MINUIT Return Code (Free Index): 102
logL (Free Index) = 2894.41091442
delta logL = -7.2880402513e-07

Fit tolerance = 1e-08

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

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

 MIGRAD MINIMIZATION HAS CONVERGED.

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

 FCN=   2894.411     FROM MIGRAD    STATUS=CONVERGED     49 CALLS      246 TOTAL
                     EDM=   .19E-10  STRATEGY=1  ERROR MATRIX UNCERTAINTY=100.0%

  EXT PARAMETER                APPROXIMATE        STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor      .0000        63.646        .42118E-03** at limit **
   2  Index         .39535        .57125       -.43256E-03     .0000    
   3  Normalizat    .79548        1.1344       -.18807E-06    .25322E-04
   4  Prefactor     .50456        .84698       -.95178E-07   -.28449E-04
                               ERR DEF=  .500    
Final values: 
  Prefactor  = 0
  Index      = 0.395347
  Normalizat = 0.79548
  Prefactor  = 0.504555
 **********
 **   18 **HESSE 
 **********
  MNHESS FAILS AND WILL RETURN DIAGONAL MATRIX. 

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

  EXT PARAMETER                APPROXIMATE     INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  Prefactor      .0000        63.646        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   2  Index         .30036E-01    .57125       -.43256E-03   -1.1705    
   3  Normalizat    .79548        1.1344       -.18807E-06   -1.0024    
   4  Prefactor     .50456        .84698       -.95178E-07   -1.1177    
                               ERR DEF=  .500    
Minuit fit quality: 1   estimated distance: 1.94783e-11
Minuit parameter uncertainties:
  1  1.78731e-05
  2  0.579761
  3  1.17107
  4  0.869678
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) = 2894.41091368
delta logL = 2.52475729212e-09

Extracting fit parameters...

4FGL J1057.2+5510
   Spectrum: PowerLaw
389    Prefactor:  0.000e+00  1.787e-05  0.000e+00  1.000e+06 ( 1.000e-15)
390        Index:  3.953e-01  5.798e-01  0.000e+00  1.000e+01 (-1.000e+00)
391        Scale:  4.916e+03  0.000e+00  3.000e+01  5.000e+05 ( 1.000e+00) fixed

GAL_V02
   Spectrum: PowerLaw
737    Prefactor:  5.046e-01  8.697e-01  0.000e+00  1.000e+01 ( 1.000e+00)
738        Index:  0.000e+00  0.000e+00 -1.000e+00  1.000e+00 ( 1.000e+00) fixed
739        Scale:  1.000e+02  0.000e+00  5.000e+01  2.000e+02 ( 1.000e+00) fixed

EG_v02
   Spectrum: FileFunction
736   Normalization:  7.955e-01  1.171e+00  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Free Index): -0.00
Ra Dec: 164.318 55.180

Creating a high resolution counts map...
INFO: Auto-setting vmin to  0.000e+00 [aplpy.core]
INFO: Auto-setting vmax to  0.000e+00 [aplpy.core]
Saving /lscratch/kocevski/38728476/cmap_HighResolution_811382401_811641601_4FGL_J1057.2+5510_daily_bin2207.png

Cleaning up...

** Nuclear option initiated! **

Updating database...

UPDATE lightcurve_data_v2 SET energy_flux_upper_limit='4.21e-03', job_status='DONE', photon_flux_upper_limit='5.70e-08', time_completed='2026-09-21 08:20:17.926248', job_id='38728476', GAL2='0.50', fit_tolerance='1e-08', EG2='0.80', EG='0.80', time_epoch_completed='1790004017.93', return_code2='101', ts='-0.00', comment='SUCCESS', return_code='0', GAL='0.50', dlogl='2.52e-09', ts2='0.00', photon_index_error='0.00', photon_index='1.82' WHERE bin_id='2207' AND source_name='4FGL J1057.2+5510' AND cadence='daily';

Database successfully updated.


Analysis Complete.


Mon Sep 21 08:20:18 PDT 2026

Done.

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

Extracting fit parameters...

4FGL J1057.2+5510
   Spectrum: PowerLaw
389    Prefactor:  4.687e-07  1.319e-02  0.000e+00  1.000e+06 ( 1.000e-15)
390        Index:  1.821e+00  0.000e+00  0.000e+00  1.000e+01 (-1.000e+00) fixed
391        Scale:  4.916e+03  0.000e+00  3.000e+01  5.000e+05 ( 1.000e+00) fixed

GAL_V02
   Spectrum: PowerLaw
737    Prefactor:  5.046e-01  2.401e-01  0.000e+00  1.000e+01 ( 1.000e+00)
738        Index:  0.000e+00  0.000e+00 -1.000e+00  1.000e+00 ( 1.000e+00) fixed
739        Scale:  1.000e+02  0.000e+00  5.000e+01  2.000e+02 ( 1.000e+00) fixed

EG_v02
   Spectrum: FileFunction
736   Normalization:  7.955e-01  2.238e-01  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Fixed Index): -0.00
Ra Dec: 164.318 55.180
Photon Flux Upper Limit: 5.70456731897e-08 ph cm-2 s-1
Energy Flux Upper Limit: 0.00421160029927 MeV cm-2 s-1

Saving results to:
/lscratch/kocevski/38728479/likelihoodResults_811382401_811641601_4FGL_J1057.2+5510_daily_bin2207.txt

Performing a free index iterative likelihood fit...

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

Done.

Freeing candidate source...
Done.

Fit tolerance = 1

Performing likelihood fit...
Done.

MINUIT Return Code (Free Index): 0
logL (Free Index) = 2894.41605357
delta logL = -0.00513987882687

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

MINUIT Return Code (Free Index): 102
logL (Free Index) = 2894.41091442
delta logL = -7.2880402513e-07

Fit tolerance = 1e-08

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

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

 MIGRAD MINIMIZATION HAS CONVERGED.

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

 FCN=   2894.411     FROM MIGRAD    STATUS=CONVERGED     49 CALLS      246 TOTAL
                     EDM=   .19E-10  STRATEGY=1  ERROR MATRIX UNCERTAINTY=100.0%

  EXT PARAMETER                APPROXIMATE        STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor      .0000        63.646        .42118E-03** at limit **
   2  Index         .39535        .57125       -.43256E-03     .0000    
   3  Normalizat    .79548        1.1344       -.18807E-06    .25322E-04
   4  Prefactor     .50456        .84698       -.95178E-07   -.28449E-04
                               ERR DEF=  .500    
Final values: 
  Prefactor  = 0
  Index      = 0.395347
  Normalizat = 0.79548
  Prefactor  = 0.504555
 **********
 **   18 **HESSE 
 **********
  MNHESS FAILS AND WILL RETURN DIAGONAL MATRIX. 

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

  EXT PARAMETER                APPROXIMATE     INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  Prefactor      .0000        63.646        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   2  Index         .30036E-01    .57125       -.43256E-03   -1.1705    
   3  Normalizat    .79548        1.1344       -.18807E-06   -1.0024    
   4  Prefactor     .50456        .84698       -.95178E-07   -1.1177    
                               ERR DEF=  .500    
Minuit fit quality: 1   estimated distance: 1.94783e-11
Minuit parameter uncertainties:
  1  1.78731e-05
  2  0.579761
  3  1.17107
  4  0.869678
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) = 2894.41091368
delta logL = 2.52475729212e-09

Extracting fit parameters...

4FGL J1057.2+5510
   Spectrum: PowerLaw
389    Prefactor:  0.000e+00  1.787e-05  0.000e+00  1.000e+06 ( 1.000e-15)
390        Index:  3.953e-01  5.798e-01  0.000e+00  1.000e+01 (-1.000e+00)
391        Scale:  4.916e+03  0.000e+00  3.000e+01  5.000e+05 ( 1.000e+00) fixed

GAL_V02
   Spectrum: PowerLaw
737    Prefactor:  5.046e-01  8.697e-01  0.000e+00  1.000e+01 ( 1.000e+00)
738        Index:  0.000e+00  0.000e+00 -1.000e+00  1.000e+00 ( 1.000e+00) fixed
739        Scale:  1.000e+02  0.000e+00  5.000e+01  2.000e+02 ( 1.000e+00) fixed

EG_v02
   Spectrum: FileFunction
736   Normalization:  7.955e-01  1.171e+00  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Free Index): -0.00
Ra Dec: 164.318 55.180

Creating a high resolution counts map...
INFO: Auto-setting vmin to  0.000e+00 [aplpy.core]
INFO: Auto-setting vmax to  0.000e+00 [aplpy.core]
Saving /lscratch/kocevski/38728479/cmap_HighResolution_811382401_811641601_4FGL_J1057.2+5510_daily_bin2207.png

Cleaning up...

** Nuclear option initiated! **

Updating database...

UPDATE lightcurve_data_v2 SET energy_flux_upper_limit='4.21e-03', job_status='DONE', photon_flux_upper_limit='5.70e-08', time_completed='2026-09-21 08:20:27.730681', job_id='38728479', GAL2='0.50', fit_tolerance='1e-08', EG2='0.80', EG='0.80', time_epoch_completed='1790004027.73', return_code2='101', ts='-0.00', comment='SUCCESS', return_code='0', GAL='0.50', dlogl='2.52e-09', ts2='0.00', photon_index_error='0.00', photon_index='1.82' WHERE bin_id='2207' AND source_name='4FGL J1057.2+5510' AND cadence='daily';

Database successfully updated.


Analysis Complete.


Mon Sep 21 08:20:27 PDT 2026

_V02
Working on...
/lscratch/kocevski/38728561/ft1_filtered_4FGL_J1057.2+5510_daily_bin2207.fits.....................!
real 16.55
user 15.30
sys 0.89

Creating the likelihood object...
obs = UnbinnedObs('/lscratch/kocevski/38728561/ft1_filtered_4FGL_J1057.2+5510_daily_bin2207.fits', '/lscratch/kocevski/38728561/ft2_4FGL_J1057.2+5510_daily_bin2207.fits', expMap='/lscratch/kocevski/38728561/expmap_811382401_811641601_4FGL_J1057.2+5510_daily_bin2207.fits', expCube='/lscratch/kocevski/38728561/ltcube_811382401_811641601_4FGL_J1057.2+5510_daily_bin2207.fits', irfs='P8R3_SOURCE_V2')
like = UnbinnedAnalysis(obs, '/lscratch/kocevski/38728561/Model_4FGL_J1057.2+5510_daily_bin2207.xml', optimizer='MINUIT')

Using source of interest name: '4FGL J1057.2+5510'

4FGL J1057.2+5510
   Spectrum: PowerLaw
389    Prefactor:  5.757e+00  0.000e+00  0.000e+00  1.000e+06 ( 1.000e-15)
390        Index:  1.821e+00  0.000e+00  0.000e+00  1.000e+01 (-1.000e+00) fixed
391        Scale:  4.916e+03  0.000e+00  3.000e+01  5.000e+05 ( 1.000e+00) fixed


Likelihood Fit Parameters:
Event file(s): /lscratch/kocevski/38728561/ft1_filtered_4FGL_J1057.2+5510_daily_bin2207.fits
Spacecraft file(s): /lscratch/kocevski/38728561/ft2_4FGL_J1057.2+5510_daily_bin2207.fits
Exposure map: /lscratch/kocevski/38728561/expmap_811382401_811641601_4FGL_J1057.2+5510_daily_bin2207.fits
Exposure cube: /lscratch/kocevski/38728561/ltcube_811382401_811641601_4FGL_J1057.2+5510_daily_bin2207.fits
IRFs: P8R3_SOURCE_V2
Source model file: /lscratch/kocevski/38728561/Model_4FGL_J1057.2+5510_daily_bin2207.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) = 2894.41915641

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

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

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'Prefactor '    1.6953       1.0000          .0000       .10000E+07
     2 'Prefactor '    .52215E-03   1.0000          .0000       .10000E+07
     3 'norm      '    .25927E-03   1.0000          .0000       .10000E+07
     4 'Prefactor '    30.524       1.0000          .0000       .10000E+07
     5 'norm      '    1.0245       1.0000          .0000       .10000E+07
     6 'Prefactor '    .50485E-01   1.0000          .0000       .10000E+07
     7 'norm      '    8.0192       1.0000          .0000       .10000E+07
     8 'Prefactor '    .15169E-01   1.0000          .0000       .10000E+07
     9 'norm      '    1.1287       1.0000          .0000       .10000E+07
    10 'Prefactor '    45.263       1.0000          .0000       .10000E+07
    11 'norm      '    6.0671       1.0000          .0000       .10000E+07
    12 'norm      '    1.0818       1.0000          .0000       .10000E+07
    13 'Prefactor '    .16437       1.0000          .0000       .10000E+07
    14 'norm      '    4.0252       1.0000          .0000       .10000E+07
    15 'Prefactor '    8.3679       1.0000          .0000       .10000E+07
    16 'Prefactor '    49.571       1.0000          .0000       .10000E+07
    17 'Prefactor '    .18151       1.0000          .0000       .10000E+07
    18 'norm      '    .20311E-03   1.0000          .0000       .10000E+07
    19 'Prefactor '    .39817E-03   1.0000          .0000       .10000E+07
    20 'Prefactor '    .13348E-02   1.0000          .0000       .10000E+07
    21 'norm      '    27.401       1.0000          .0000       .10000E+07
    22 'Prefactor '    .32938       1.0000          .0000       .10000E+07
    23 'norm      '    2.6180       1.0000          .0000       .10000E+07
    24 'Prefactor '    12011.       1.0000          .0000       .10000E+07
    25 'Prefactor '    .12155E-02   1.0000          .0000       .10000E+07
    26 'Prefactor '    27.148       1.0000          .0000       .10000E+07
    27 'norm      '    .10653E-04   1.0000          .0000       .10000E+07
    28 'Normalizat'    .79375       1.0000         .10000E-01   10.000    
    29 'Prefactor '    .50524       1.0000          .0000       10.000    
 **********
 **   15 **SET ERR    .5000    
 **********
 **********
 **   16 **SET GRAD    1.000    
 **********
 **********
 **   17 **MINIMIZE    .7400E+05   .2000E-04
 **********

 MIGRAD MINIMIZATION HAS CONVERGED.

 FCN=   2894.411     FROM MIGRAD    STATUS=CONVERGED    192 CALLS     3557 TOTAL
                     EDM=   .41E-09  STRATEGY=1  ERROR MATRIX UNCERTAINTY=  1.9%

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor     1.6701        7.7847       -.22441E-06   -.39997E-03
   2  Prefactor     .55511E-10    6.5170        .26724E-06** at limit **
   3  norm          .55511E-10    4.1435       -.13643E-06** at limit **
   4  Prefactor     30.319        2.5776       -.13928E-06    .84629E-01
   5  norm          1.0248        .54731       -.12198E-07   -.34790E-02
   6  Prefactor     .24425E-08    49.285       -.30902E-05** at limit **
   7  norm          8.0130        4.5273        .31104E-06    .17271E-02
   8  Prefactor      .0000        13.600        .12667E-07** at limit **
   9  norm          1.1241        25.289        .58055E-06    .36084E-03
  10  Prefactor     45.265        1.2704       -.19705E-07    .34984E-01
  11  norm          6.0608        3.0054       -.66963E-07   -.20163E-02
  12  norm          1.0818        1.4483        .64552E-07    .38012E-03
  13  Prefactor     .46868E-06    10.232        .65635E-06** at limit **
  14  norm          4.0252        2.8992        .19314E-06    .14348E-03
  15  Prefactor     6.8646        226.59        .10074E-04    .34888E-03
  16  Prefactor     49.503        1.3123       -.28303E-07    .12160E-01
  17  Prefactor     .50515E-08    95.735       -.57761E-05** at limit **
  18  norm          .53901E-07    107.28        .39534E-05** at limit **
  19  Prefactor     .71609E-08    9.4845        .10122E-05** at limit **
  20  Prefactor     .55511E-10    38.660        .15236E-05** at limit **
  21  norm          27.429        2.4356        .10628E-06    .53857E-02
  22  Prefactor     .21483E-07    147.42        .12139E-05** at limit **
  23  norm          2.5071        19.225        .24434E-05    .11877E-02
  24  Prefactor     12011.        2.3862        .60502E-08    .21512    
  25  Prefactor     .38303E-08    9.6017       -.50745E-06** at limit **
  26  Prefactor     27.207        1.8577       -.28667E-07    .34287E-01
  27  norm           .0000        4.0735       -.73617E-07** at limit **
  28  Normalizat    .79548        .23271       -.73369E-05    .12027E-03
  29  Prefactor     .50456        .26611        .21348E-04    .95898E-04
                               ERR DEF=  .500    
Final values: 
  Prefactor  = 1.67014
  Prefactor  = 5.55112e-11
  norm       = 5.55112e-11
  Prefactor  = 30.3192
  norm       = 1.02475
  Prefactor  = 2.44249e-09
  norm       = 8.01298
  Prefactor  = 0
  norm       = 1.12408
  Prefactor  = 45.2647
  norm       = 6.06075
  norm       = 1.08184
  Prefactor  = 4.68681e-07
  norm       = 4.02523
  Prefactor  = 6.8646
  Prefactor  = 49.503
  Prefactor  = 5.05151e-09
  norm       = 5.39013e-08
  Prefactor  = 7.16094e-09
  Prefactor  = 5.55112e-11
  norm       = 27.4291
  Prefactor  = 2.14828e-08
  norm       = 2.50709
  Prefactor  = 12011.3
  Prefactor  = 3.83027e-09
  Prefactor  = 27.2069
  norm       = 0
  Normalizat = 0.795479
  Prefactor  = 0.504558
 **********
 **   18 **HESSE 
 **********

 FCN=   2894.411     FROM HESSE     STATUS=OK           621 CALLS     4178 TOTAL
                     EDM=   .75E-04    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  Prefactor     1.6701        8.3152        .80789E-03   -1.5682    
   2  Prefactor     .55511E-10    6.4943        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   3  norm          .55511E-10    4.1444        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   4  Prefactor     30.319        37.382        .18103E-03   -1.5598    
   5  norm          1.0248        .55737        .62485E-03   -1.5688    
   6  Prefactor     .24425E-08    3.9746        .79151E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   7  norm          8.0130        4.5602        .35382E-03   -1.5651    
   8  Prefactor      .0000        13.590        .17378E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   9  norm          1.1241        25.047        .11002E-02   -1.5687    
  10  Prefactor     45.265        29.548        .14865E-03   -1.5573    
  11  norm          6.0608        3.9383        .40738E-03   -1.5659    
  12  norm          1.0818        1.5577        .16935E-02   -1.5687    
  13  Prefactor     .46868E-06    92.844        .12448E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  14  norm          4.0252        2.9252        .50239E-03   -1.5668    
  15  Prefactor     6.8646        238.35        .34632E-03   -1.5656    
  16  Prefactor     49.503        33.827        .14204E-03   -1.5567    
  17  Prefactor     .50515E-08    97.030        .12115E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  18  norm          .53901E-07    107.75        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  19  Prefactor     .71609E-08    10.251        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  20  Prefactor     .55511E-10    38.638        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  21  norm          27.429        27.226        .19107E-03   -1.5603    
  22  Prefactor     .21483E-07    147.86        .98172E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  23  norm          2.5071        22.059        .63010E-03   -1.5676    
  24  Prefactor     12011.        4356.7        .91797E-05   -1.3512    
  25  Prefactor     .38303E-08    9.8460        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  26  Prefactor     27.207        27.754        .19196E-03   -1.5604    
  27  norm           .0000        4.0767        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  28  Normalizat    .79548        .22357        .43529E-01   -1.0024    
  29  Prefactor     .50456        .23959        .72036E-01   -1.1177    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 7.48375e-05
Minuit parameter uncertainties:
  1  7.45321
  2  3.45248e-05
  3  2.60259e-05
  4  37.382
  5  0.557374
  6  0.000195937
  7  4.56019
  8  2.97505e-05
  9  10.6123
  10  29.5483
  11  3.93833
  12  1.55766
  13  0.0131929
  14  2.92518
  15  80.902
  16  33.8269
  17  0.00140125
  18  0.00481916
  19  0.000542159
  20  9.87332e-05
  21  27.2262
  22  0.00356627
  23  14.8735
  24  4357.89
  25  0.000389121
  26  27.7538
  27  7.7558e-06
  28  0.223824
  29  0.240071
Done.

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

Extracting fit parameters...

4FGL J1057.2+5510
   Spectrum: PowerLaw
389    Prefactor:  4.687e-07  1.319e-02  0.000e+00  1.000e+06 ( 1.000e-15)
390        Index:  1.821e+00  0.000e+00  0.000e+00  1.000e+01 (-1.000e+00) fixed
391        Scale:  4.916e+03  0.000e+00  3.000e+01  5.000e+05 ( 1.000e+00) fixed

GAL_V02
   Spectrum: PowerLaw
737    Prefactor:  5.046e-01  2.401e-01  0.000e+00  1.000e+01 ( 1.000e+00)
738        Index:  0.000e+00  0.000e+00 -1.000e+00  1.000e+00 ( 1.000e+00) fixed
739        Scale:  1.000e+02  0.000e+00  5.000e+01  2.000e+02 ( 1.000e+00) fixed

EG_v02
   Spectrum: FileFunction
736   Normalization:  7.955e-01  2.238e-01  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Fixed Index): -0.00
Ra Dec: 164.318 55.180
Photon Flux Upper Limit: 5.70456731897e-08 ph cm-2 s-1
Energy Flux Upper Limit: 0.00421160029927 MeV cm-2 s-1

Saving results to:
/lscratch/kocevski/38728561/likelihoodResults_811382401_811641601_4FGL_J1057.2+5510_daily_bin2207.txt

Performing a free index iterative likelihood fit...

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

Done.

Freeing candidate source...
Done.

Fit tolerance = 1

Performing likelihood fit...
Done.

MINUIT Return Code (Free Index): 0
logL (Free Index) = 2894.41605357
delta logL = -0.00513987882687

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

MINUIT Return Code (Free Index): 102
logL (Free Index) = 2894.41091442
delta logL = -7.2880402513e-07

Fit tolerance = 1e-08

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

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

 MIGRAD MINIMIZATION HAS CONVERGED.

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

 FCN=   2894.411     FROM MIGRAD    STATUS=CONVERGED     49 CALLS      246 TOTAL
                     EDM=   .19E-10  STRATEGY=1  ERROR MATRIX UNCERTAINTY=100.0%

  EXT PARAMETER                APPROXIMATE        STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor      .0000        63.646        .42118E-03** at limit **
   2  Index         .39535        .57125       -.43256E-03     .0000    
   3  Normalizat    .79548        1.1344       -.18807E-06    .25322E-04
   4  Prefactor     .50456        .84698       -.95178E-07   -.28449E-04
                               ERR DEF=  .500    
Final values: 
  Prefactor  = 0
  Index      = 0.395347
  Normalizat = 0.79548
  Prefactor  = 0.504555
 **********
 **   18 **HESSE 
 **********
  MNHESS FAILS AND WILL RETURN DIAGONAL MATRIX. 

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

  EXT PARAMETER                APPROXIMATE     INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  Prefactor      .0000        63.646        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   2  Index         .30036E-01    .57125       -.43256E-03   -1.1705    
   3  Normalizat    .79548        1.1344       -.18807E-06   -1.0024    
   4  Prefactor     .50456        .84698       -.95178E-07   -1.1177    
                               ERR DEF=  .500    
Minuit fit quality: 1   estimated distance: 1.94783e-11
Minuit parameter uncertainties:
  1  1.78731e-05
  2  0.579761
  3  1.17107
  4  0.869678
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) = 2894.41091368
delta logL = 2.52475729212e-09

Extracting fit parameters...

4FGL J1057.2+5510
   Spectrum: PowerLaw
389    Prefactor:  0.000e+00  1.787e-05  0.000e+00  1.000e+06 ( 1.000e-15)
390        Index:  3.953e-01  5.798e-01  0.000e+00  1.000e+01 (-1.000e+00)
391        Scale:  4.916e+03  0.000e+00  3.000e+01  5.000e+05 ( 1.000e+00) fixed

GAL_V02
   Spectrum: PowerLaw
737    Prefactor:  5.046e-01  8.697e-01  0.000e+00  1.000e+01 ( 1.000e+00)
738        Index:  0.000e+00  0.000e+00 -1.000e+00  1.000e+00 ( 1.000e+00) fixed
739        Scale:  1.000e+02  0.000e+00  5.000e+01  2.000e+02 ( 1.000e+00) fixed

EG_v02
   Spectrum: FileFunction
736   Normalization:  7.955e-01  1.171e+00  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Free Index): -0.00
Ra Dec: 164.318 55.180

Creating a high resolution counts map...
INFO: Auto-setting vmin to  0.000e+00 [aplpy.core]
INFO: Auto-setting vmax to  0.000e+00 [aplpy.core]
Saving /lscratch/kocevski/38728561/cmap_HighResolution_811382401_811641601_4FGL_J1057.2+5510_daily_bin2207.png

Cleaning up...

** Nuclear option initiated! **

Updating database...

UPDATE lightcurve_data_v2 SET energy_flux_upper_limit='4.21e-03', job_status='DONE', photon_flux_upper_limit='5.70e-08', time_completed='2026-09-21 08:21:54.466448', job_id='38728561', GAL2='0.50', fit_tolerance='1e-08', EG2='0.80', EG='0.80', time_epoch_completed='1790004114.47', return_code2='101', ts='-0.00', comment='SUCCESS', return_code='0', GAL='0.50', dlogl='2.52e-09', ts2='0.00', photon_index_error='0.00', photon_index='1.82' WHERE bin_id='2207' AND source_name='4FGL J1057.2+5510' AND cadence='daily';

Database successfully updated.


Analysis Complete.


Mon Sep 21 08:21:54 PDT 2026

