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

 FCN=   8551.591     FROM HESSE     STATUS=OK           288 CALLS     1571 TOTAL
                     EDM=   .13E-05    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  norm          .78001        .56055        .54456E-03   -1.5690    
   2  Prefactor     .58864E-06    92.689        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   3  Prefactor     1.1835        5.2373        .10247E-02   -1.5686    
   4  Prefactor     1.2440        27.553        .10443E-02   -1.5686    
   5  Prefactor     20.948        32.061        .22733E-03   -1.5616    
   6  norm          .79868        .64459        .53016E-03   -1.5690    
   7  Prefactor     .61062E-09    7.7248        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   8  Prefactor     .94685E-06    9.8731        .14079E-01   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   9  Prefactor     .32111        3.1984        .88949E-02   -1.5697    
  10  norm           .0000        1.0714        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  11  Prefactor     3.2402        2.2528        .56256E-03   -1.5672    
  12  Prefactor     .81601E-08    26.160        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  13  Prefactor      .0000        1.7200        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  14  norm          .13832E-05    21.707        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  15  Prefactor     .11962E-03    114.09        .89130E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  16  Prefactor     .29143E-07    17.072        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  17  Normalizat    .80558        .18400        .79555E-01   -.99862    
  18  Prefactor     1.0779        .10199        .38480E-01   -.90176    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 1.2796e-06
Minuit parameter uncertainties:
  1  0.560552
  2  0.0147733
  3  4.97935
  4  11.7093
  5  32.061
  6  0.644585
  7  0.000140349
  8  0.00611501
  9  2.02685
  10  4.73835e-06
  11  2.25282
  12  0.00092524
  13  3.8752e-07
  14  0.0109589
  15  0.233645
  16  0.00141058
  17  0.184138
  18  0.102004
/sdf/group/fermi/u/kocevski/software/conda/envs/fermitools_v1.0.5/lib/python2.7/site-packages/pyfits/__init__.py:22: PyFITSDeprecationWarning: PyFITS is deprecated, please use astropy.io.fits
  PyFITSDeprecationWarning)  # noqa

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

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

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

_V02
Working on...
/lscratch/kocevski/37964663/ft1_filtered_4FGL_J0152.2+2206_daily_bin2204.fits.....................!
real 39.73
user 37.95
sys 0.99

Creating the likelihood object...
obs = UnbinnedObs('/lscratch/kocevski/37964663/ft1_filtered_4FGL_J0152.2+2206_daily_bin2204.fits', '/lscratch/kocevski/37964663/ft2_4FGL_J0152.2+2206_daily_bin2204.fits', expMap='/lscratch/kocevski/37964663/expmap_810604801_810864001_4FGL_J0152.2+2206_daily_bin2204.fits', expCube='/lscratch/kocevski/37964663/ltcube_810604801_810864001_4FGL_J0152.2+2206_daily_bin2204.fits', irfs='P8R3_SOURCE_V2')
like = UnbinnedAnalysis(obs, '/lscratch/kocevski/37964663/Model_4FGL_J0152.2+2206_daily_bin2204.xml', optimizer='MINUIT')

Using source of interest name: '4FGL J0152.2+2206'

4FGL J0152.2+2206
   Spectrum: PowerLaw
218    Prefactor:  3.965e+00  0.000e+00  0.000e+00  1.000e+06 ( 1.000e-12)
219        Index:  2.677e+00  0.000e+00  0.000e+00  1.000e+01 (-1.000e+00) fixed
220        Scale:  5.002e+02  0.000e+00  3.000e+01  5.000e+05 ( 1.000e+00) fixed


Likelihood Fit Parameters:
Event file(s): /lscratch/kocevski/37964663/ft1_filtered_4FGL_J0152.2+2206_daily_bin2204.fits
Spacecraft file(s): /lscratch/kocevski/37964663/ft2_4FGL_J0152.2+2206_daily_bin2204.fits
Exposure map: /lscratch/kocevski/37964663/expmap_810604801_810864001_4FGL_J0152.2+2206_daily_bin2204.fits
Exposure cube: /lscratch/kocevski/37964663/ltcube_810604801_810864001_4FGL_J0152.2+2206_daily_bin2204.fits
IRFs: P8R3_SOURCE_V2
Source model file: /lscratch/kocevski/37964663/Model_4FGL_J0152.2+2206_daily_bin2204.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) = 8551.65248225

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

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

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'norm      '    .77976       1.0000          .0000       .10000E+07
     2 'Prefactor '    .82319E-02   1.0000          .0000       .10000E+07
     3 'Prefactor '    1.2149       1.0000          .0000       .10000E+07
     4 'Prefactor '    1.1896       1.0000          .0000       .10000E+07
     5 'Prefactor '    19.363       1.0000          .0000       .10000E+07
     6 'norm      '    .79892       1.0000          .0000       .10000E+07
     7 'Prefactor '    .10791E-06   1.0000          .0000       .10000E+07
     8 'Prefactor '    .94502E-01   1.0000          .0000       .10000E+07
     9 'Prefactor '    .17508       1.0000          .0000       .10000E+07
    10 'norm      '    .91704E-07   1.0000          .0000       .10000E+07
    11 'Prefactor '    3.2389       1.0000          .0000       .10000E+07
    12 'Prefactor '    .24269E-02   1.0000          .0000       .10000E+07
    13 'Prefactor '    .20650E-07   1.0000          .0000       .10000E+07
    14 'norm      '    .21050E-03   1.0000          .0000       .10000E+07
    15 'Prefactor '    .40309       1.0000          .0000       .10000E+07
    16 'Prefactor '    .26138E-03   1.0000          .0000       .10000E+07
    17 'Normalizat'    .80591       1.0000         .10000E-01   10.000    
    18 'Prefactor '    1.0782       1.0000          .0000       10.000    
 **********
 **   15 **SET ERR    .5000    
 **********
 **********
 **   16 **SET GRAD    1.000    
 **********
 **********
 **   17 **MINIMIZE    .5330E+05   .2000E-04
 **********

 MIGRAD MINIMIZATION HAS CONVERGED.

 FCN=   8551.591     FROM MIGRAD    STATUS=CONVERGED    147 CALLS     1283 TOTAL
                     EDM=   .12E-08  STRATEGY=1  ERROR MATRIX UNCERTAINTY=  1.2%

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  norm          .78001        .55870        .11671E-07    .41194E-02
   2  Prefactor     .58864E-06    92.313       -.15410E-05** at limit **
   3  Prefactor     1.1835        5.0328        .49368E-06    .79570E-03
   4  Prefactor     1.2440        26.729        .91650E-06    .34499E-02
   5  Prefactor     20.948        29.596        .19017E-06    .61408E-01
   6  norm          .79868        .63992       -.13848E-07    .10244E-02
   7  Prefactor     .61062E-09    7.6739       -.30824E-07** at limit **
   8  Prefactor     .94685E-06    67.166       -.38859E-07** at limit **
   9  Prefactor     .32111        25.439       -.27035E-06    .25337E-02
  10  norm           .0000        1.0536       -.55110E-07** at limit **
  11  Prefactor     3.2402        2.2485       -.13366E-07   -.63433E-03
  12  Prefactor     .81601E-08    6.2001       -.12530E-06** at limit **
  13  Prefactor      .0000        1.7213       -.39865E-07** at limit **
  14  norm          .13832E-05    16.410       -.32424E-06** at limit **
  15  Prefactor     .11962E-03    23.655       -.39992E-06** at limit **
  16  Prefactor     .29143E-07    16.531        .23777E-06** at limit **
  17  Normalizat    .80558        .20681        .25748E-07    .12632E-03
  18  Prefactor     1.0779        .11631       -.33083E-07    .15482E-03
                               ERR DEF=  .500    
Final values: 
  norm       = 0.780014
  Prefactor  = 5.8864e-07
  Prefactor  = 1.18352
  Prefactor  = 1.24404
  Prefactor  = 20.9482
  norm       = 0.798677
  Prefactor  = 6.10623e-10
  Prefactor  = 9.46854e-07
  Prefactor  = 0.321108
  norm       = 0
  Prefactor  = 3.24024
  Prefactor  = 8.16014e-09
  Prefactor  = 0
  norm       = 1.38317e-06
  Prefactor  = 0.000119621
  Prefactor  = 2.91434e-08
  Normalizat = 0.805577
  Prefactor  = 1.07789
/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)

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

_V02
Working on...
/lscratch/kocevski/37964707/ft1_filtered_4FGL_J0152.2+2206_daily_bin2204.fits.....................!
real 38.21
user 37.19
sys 0.62

Creating the likelihood object...
obs = UnbinnedObs('/lscratch/kocevski/37964707/ft1_filtered_4FGL_J0152.2+2206_daily_bin2204.fits', '/lscratch/kocevski/37964707/ft2_4FGL_J0152.2+2206_daily_bin2204.fits', expMap='/lscratch/kocevski/37964707/expmap_810604801_810864001_4FGL_J0152.2+2206_daily_bin2204.fits', expCube='/lscratch/kocevski/37964707/ltcube_810604801_810864001_4FGL_J0152.2+2206_daily_bin2204.fits', irfs='P8R3_SOURCE_V2')
like = UnbinnedAnalysis(obs, '/lscratch/kocevski/37964707/Model_4FGL_J0152.2+2206_daily_bin2204.xml', optimizer='MINUIT')

Using source of interest name: '4FGL J0152.2+2206'

4FGL J0152.2+2206
   Spectrum: PowerLaw
218    Prefactor:  3.965e+00  0.000e+00  0.000e+00  1.000e+06 ( 1.000e-12)
219        Index:  2.677e+00  0.000e+00  0.000e+00  1.000e+01 (-1.000e+00) fixed
220        Scale:  5.002e+02  0.000e+00  3.000e+01  5.000e+05 ( 1.000e+00) fixed


Likelihood Fit Parameters:
Event file(s): /lscratch/kocevski/37964707/ft1_filtered_4FGL_J0152.2+2206_daily_bin2204.fits
Spacecraft file(s): /lscratch/kocevski/37964707/ft2_4FGL_J0152.2+2206_daily_bin2204.fits
Exposure map: /lscratch/kocevski/37964707/expmap_810604801_810864001_4FGL_J0152.2+2206_daily_bin2204.fits
Exposure cube: /lscratch/kocevski/37964707/ltcube_810604801_810864001_4FGL_J0152.2+2206_daily_bin2204.fits
IRFs: P8R3_SOURCE_V2
Source model file: /lscratch/kocevski/37964707/Model_4FGL_J0152.2+2206_daily_bin2204.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) = 8551.65248225

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

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

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'norm      '    .77976       1.0000          .0000       .10000E+07
     2 'Prefactor '    .82319E-02   1.0000          .0000       .10000E+07
     3 'Prefactor '    1.2149       1.0000          .0000       .10000E+07
     4 'Prefactor '    1.1896       1.0000          .0000       .10000E+07
     5 'Prefactor '    19.363       1.0000          .0000       .10000E+07
     6 'norm      '    .79892       1.0000          .0000       .10000E+07
     7 'Prefactor '    .10791E-06   1.0000          .0000       .10000E+07
     8 'Prefactor '    .94502E-01   1.0000          .0000       .10000E+07
     9 'Prefactor '    .17508       1.0000          .0000       .10000E+07
    10 'norm      '    .91704E-07   1.0000          .0000       .10000E+07
    11 'Prefactor '    3.2389       1.0000          .0000       .10000E+07
    12 'Prefactor '    .24269E-02   1.0000          .0000       .10000E+07
    13 'Prefactor '    .20650E-07   1.0000          .0000       .10000E+07
    14 'norm      '    .21050E-03   1.0000          .0000       .10000E+07
    15 'Prefactor '    .40309       1.0000          .0000       .10000E+07
    16 'Prefactor '    .26138E-03   1.0000          .0000       .10000E+07
    17 'Normalizat'    .80591       1.0000         .10000E-01   10.000    
    18 'Prefactor '    1.0782       1.0000          .0000       10.000    
 **********
 **   15 **SET ERR    .5000    
 **********
 **********
 **   16 **SET GRAD    1.000    
 **********
 **********
 **   17 **MINIMIZE    .5330E+05   .2000E-04
 **********

 MIGRAD MINIMIZATION HAS CONVERGED.

 FCN=   8551.591     FROM MIGRAD    STATUS=CONVERGED    147 CALLS     1283 TOTAL
                     EDM=   .12E-08  STRATEGY=1  ERROR MATRIX UNCERTAINTY=  1.2%

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  norm          .78001        .55870        .11671E-07    .41194E-02
   2  Prefactor     .58864E-06    92.313       -.15410E-05** at limit **
   3  Prefactor     1.1835        5.0328        .49368E-06    .79570E-03
   4  Prefactor     1.2440        26.729        .91650E-06    .34499E-02
   5  Prefactor     20.948        29.596        .19017E-06    .61408E-01
   6  norm          .79868        .63992       -.13848E-07    .10244E-02
   7  Prefactor     .61062E-09    7.6739       -.30824E-07** at limit **
   8  Prefactor     .94685E-06    67.166       -.38859E-07** at limit **
   9  Prefactor     .32111        25.439       -.27035E-06    .25337E-02
  10  norm           .0000        1.0536       -.55110E-07** at limit **
  11  Prefactor     3.2402        2.2485       -.13366E-07   -.63433E-03
  12  Prefactor     .81601E-08    6.2001       -.12530E-06** at limit **
  13  Prefactor      .0000        1.7213       -.39865E-07** at limit **
  14  norm          .13832E-05    16.410       -.32424E-06** at limit **
  15  Prefactor     .11962E-03    23.655       -.39992E-06** at limit **
  16  Prefactor     .29143E-07    16.531        .23777E-06** at limit **
  17  Normalizat    .80558        .20681        .25748E-07    .12632E-03
  18  Prefactor     1.0779        .11631       -.33083E-07    .15482E-03
                               ERR DEF=  .500    
Final values: 
  norm       = 0.780014
  Prefactor  = 5.8864e-07
  Prefactor  = 1.18352
  Prefactor  = 1.24404
  Prefactor  = 20.9482
  norm       = 0.798677
  Prefactor  = 6.10623e-10
  Prefactor  = 9.46854e-07
  Prefactor  = 0.321108
  norm       = 0
  Prefactor  = 3.24024
  Prefactor  = 8.16014e-09
  Prefactor  = 0
  norm       = 1.38317e-06
  Prefactor  = 0.000119621
  Prefactor  = 2.91434e-08
  Normalizat = 0.805577
  Prefactor  = 1.07789
 **********
 **   18 **HESSE 
 **********

 FCN=   8551.591     FROM HESSE     STATUS=OK           288 CALLS     1571 TOTAL
                     EDM=   .13E-05    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  norm          .78001        .56055        .54456E-03   -1.5690    
   2  Prefactor     .58864E-06    92.689        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   3  Prefactor     1.1835        5.2373        .10247E-02   -1.5686    
   4  Prefactor     1.2440        27.553        .10443E-02   -1.5686    
   5  Prefactor     20.948        32.061        .22733E-03   -1.5616    
   6  norm          .79868        .64459        .53016E-03   -1.5690    
   7  Prefactor     .61062E-09    7.7248        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   8  Prefactor     .94685E-06    9.8731        .14079E-01   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   9  Prefactor     .32111        3.1984        .88949E-02   -1.5697    
  10  norm           .0000        1.0714        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  11  Prefactor     3.2402        2.2528        .56256E-03   -1.5672    
  12  Prefactor     .81601E-08    26.160        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  13  Prefactor      .0000        1.7200        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  14  norm          .13832E-05    21.707        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  15  Prefactor     .11962E-03    114.09        .89130E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  16  Prefactor     .29143E-07    17.072        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  17  Normalizat    .80558        .18400        .79555E-01   -.99862    
  18  Prefactor     1.0779        .10199        .38480E-01   -.90176    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 1.2796e-06
Minuit parameter uncertainties:
  1  0.560552
  2  0.0147733
  3  4.97935
  4  11.7093
  5  32.061
  6  0.644585
  7  0.000140349
  8  0.00611501
  9  2.02685
  10  4.73835e-06
  11  2.25282
  12  0.00092524
  13  3.8752e-07
  14  0.0109589
  15  0.233645
  16  0.00141058
  17  0.184138
  18  0.102004
Done.

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

Extracting fit parameters...

4FGL J0152.2+2206
   Spectrum: PowerLaw
218    Prefactor:  6.106e-10  1.403e-04  0.000e+00  1.000e+06 ( 1.000e-12)
219        Index:  2.677e+00  0.000e+00  0.000e+00  1.000e+01 (-1.000e+00) fixed
220        Scale:  5.002e+02  0.000e+00  3.000e+01  5.000e+05 ( 1.000e+00) fixed

GAL_V02
   Spectrum: PowerLaw
530    Prefactor:  1.078e+00  1.020e-01  0.000e+00  1.000e+01 ( 1.000e+00)
531        Index:  0.000e+00  0.000e+00 -1.000e+00  1.000e+00 ( 1.000e+00) fixed
532        Scale:  1.000e+02  0.000e+00  5.000e+01  2.000e+02 ( 1.000e+00) fixed

EG_v02
   Spectrum: FileFunction
529   Normalization:  8.056e-01  1.841e-01  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Fixed Index): -0.00
Ra Dec: 28.073 22.113
Photon Flux Upper Limit: 9.00309704375e-08 ph cm-2 s-1
Energy Flux Upper Limit: 0.00707832194189 MeV cm-2 s-1

Saving results to:
/lscratch/kocevski/37964648/likelihoodResults_810604801_810864001_4FGL_J0152.2+2206_daily_bin2204.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) = 8551.59081943
delta logL = -0.000159523024195

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

MINUIT Return Code (Free Index): 102
logL (Free Index) = 8551.59065997
delta logL = -6.88451109454e-08

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'Prefactor '    .16803E-06   1.0000          .0000       .10000E+07
     2 'Index     '    2.0474       1.0000          .0000       10.000    
     3 'Normalizat'    .80555       1.0000         .10000E-01   10.000    
     4 'Prefactor '    1.0779       1.0000          .0000       10.000    
 **********
 **   15 **SET ERR    .5000    
 **********
 **********
 **   16 **SET GRAD    1.000    
 **********
 **********
 **   17 **MINIMIZE    .5330E+05   .2000E-04
 **********

 MIGRAD MINIMIZATION HAS CONVERGED.

 FCN=   8551.591     FROM MIGRAD    STATUS=CONVERGED     33 CALLS      252 TOTAL
                     EDM=   .56E-11  STRATEGY=1  ERROR MATRIX UNCERTAINTY=  2.5%

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor      .0000        7.4813        .22541E-06** at limit **
   2  Index         3.9216        3.8499       -.32248E-04     .0000    
   3  Normalizat    .80558        .20090        .40697E-05    .14868E-04
   4  Prefactor     1.0779        .11472       -.20633E-06    .10512E-03
                               ERR DEF=  .500    
Final values: 
  Prefactor  = 0
  Index      = 3.92164
  Normalizat = 0.805575
  Prefactor  = 1.07789
 **********
 **   18 **HESSE 
 **********
  MNHESS FAILS AND WILL RETURN DIAGONAL MATRIX. 

 FCN=   8551.591     FROM HESSE     STATUS=FAILED        11 CALLS      263 TOTAL
                     EDM=   .56E-11  STRATEGY=1  ERROR MATRIX UNCERTAINTY=100.0%

  EXT PARAMETER                APPROXIMATE     INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  Prefactor      .0000        7.2455        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   2  Index         1.6754        2.2811       -.32248E-04   -.21738    
   3  Normalizat    .80558        1.1442        .40697E-05   -.99862    
   4  Prefactor     1.0779        1.1645       -.20633E-06   -.90176    
                               ERR DEF=  .500    
Minuit fit quality: 1   estimated distance: 5.59191e-12
Minuit parameter uncertainties:
  1  1.35594e-05
  2  1.24613
  3  1.18144
  4  1.19377
 **********
 **   18 **HESSE 
 **********

 FCN=   8551.591     FROM HESSE     STATUS=OK           288 CALLS     1571 TOTAL
                     EDM=   .13E-05    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  norm          .78001        .56055        .54456E-03   -1.5690    
   2  Prefactor     .58864E-06    92.689        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   3  Prefactor     1.1835        5.2373        .10247E-02   -1.5686    
   4  Prefactor     1.2440        27.553        .10443E-02   -1.5686    
   5  Prefactor     20.948        32.061        .22733E-03   -1.5616    
   6  norm          .79868        .64459        .53016E-03   -1.5690    
   7  Prefactor     .61062E-09    7.7248        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   8  Prefactor     .94685E-06    9.8731        .14079E-01   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   9  Prefactor     .32111        3.1984        .88949E-02   -1.5697    
  10  norm           .0000        1.0714        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  11  Prefactor     3.2402        2.2528        .56256E-03   -1.5672    
  12  Prefactor     .81601E-08    26.160        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  13  Prefactor      .0000        1.7200        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  14  norm          .13832E-05    21.707        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  15  Prefactor     .11962E-03    114.09        .89130E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  16  Prefactor     .29143E-07    17.072        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  17  Normalizat    .80558        .18400        .79555E-01   -.99862    
  18  Prefactor     1.0779        .10199        .38480E-01   -.90176    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 1.2796e-06
Minuit parameter uncertainties:
  1  0.560552
  2  0.0147733
  3  4.97935
  4  11.7093
  5  32.061
  6  0.644585
  7  0.000140349
  8  0.00611501
  9  2.02685
  10  4.73835e-06
  11  2.25282
  12  0.00092524
  13  3.8752e-07
  14  0.0109589
  15  0.233645
  16  0.00141058
  17  0.184138
  18  0.102004
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) = 8551.5906599
delta logL = 4.91127138957e-11

Extracting fit parameters...

4FGL J0152.2+2206
   Spectrum: PowerLaw
218    Prefactor:  0.000e+00  1.356e-05  0.000e+00  1.000e+06 ( 1.000e-12)
219        Index:  3.922e+00  1.246e+00  0.000e+00  1.000e+01 (-1.000e+00)
220        Scale:  5.002e+02  0.000e+00  3.000e+01  5.000e+05 ( 1.000e+00) fixed

GAL_V02
   Spectrum: PowerLaw
530    Prefactor:  1.078e+00  1.194e+00  0.000e+00  1.000e+01 ( 1.000e+00)
531        Index:  0.000e+00  0.000e+00 -1.000e+00  1.000e+00 ( 1.000e+00) fixed
532        Scale:  1.000e+02  0.000e+00  5.000e+01  2.000e+02 ( 1.000e+00) fixed

EG_v02
   Spectrum: FileFunction
529   Normalization:  8.056e-01  1.181e+00  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Free Index): -0.00
Ra Dec: 28.073 22.113

Creating a high resolution counts map...
INFO: Auto-setting vmin to -1.000e-01 [aplpy.core]
INFO: Auto-setting vmax to  1.110e+00 [aplpy.core]
Saving /lscratch/kocevski/37964648/cmap_HighResolution_810604801_810864001_4FGL_J0152.2+2206_daily_bin2204.png

Cleaning up...

** Nuclear option initiated! **

Updating database...

UPDATE lightcurve_data_v2 SET energy_flux_upper_limit='7.08e-03', job_status='DONE', photon_flux_upper_limit='9.00e-08', time_completed='2026-09-12 01:24:48.545685', job_id='37964648', GAL2='1.08', fit_tolerance='1e-08', EG2='0.81', EG='0.81', time_epoch_completed='1789201488.55', return_code2='101', ts='-0.00', comment='SUCCESS', return_code='0', GAL='1.08', dlogl='4.91e-11', ts2='0.00', photon_index_error='0.00', photon_index='2.68' WHERE bin_id='2204' AND source_name='4FGL J0152.2+2206' AND cadence='daily';

Database successfully updated.


Analysis Complete.


Sat Sep 12 01:24:48 PDT 2026

tfile=/lscratch/kocevski/37965044/ltcube_810604801_810864001_4FGL_J0152.2+2206_daily_bin2204.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/37965044/ft2_4FGL_J0152.2+2206_daily_bin2204.fits
.....................!
real 8.62
user 8.05
sys 0.22

Generating the exposure map:
time -p gtexpmap evfile=/lscratch/kocevski/37965044/ft1_filtered_4FGL_J0152.2+2206_daily_bin2204.fits evtable="EVENTS" scfile=/lscratch/kocevski/37965044/ft2_4FGL_J0152.2+2206_daily_bin2204.fits sctable="SC_DATA" expcube=/lscratch/kocevski/37965044/ltcube_810604801_810864001_4FGL_J0152.2+2206_daily_bin2204.fits outfile=/lscratch/kocevski/37965044/expmap_810604801_810864001_4FGL_J0152.2+2206_daily_bin2204.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/37965044/ltcube_810604801_810864001_4FGL_J0152.2+2206_daily_bin2204.fits
.....................!
real 69.74
user 65.41
sys 3.83

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

Setting source of interest to:
4FGL J0152.2+2206 @ 28.0727 22.1133

Creating the counts map:
time -p gtbin evfile=/lscratch/kocevski/37965044/ft1_filtered_4FGL_J0152.2+2206_daily_bin2204.fits scfile=/lscratch/kocevski/37965044/ft2_4FGL_J0152.2+2206_daily_bin2204.fits outfile=/lscratch/kocevski/37965044/cmap_810604801_810864001_4FGL_J0152.2+2206_daily_bin2204.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=28.0727 yref=22.1133 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.58
user 0.23
sys 0.13

Creating the high resolution counts map:
time -p gtbin evfile=/lscratch/kocevski/37965044/ft1_filtered_4FGL_J0152.2+2206_daily_bin2204.fits scfile=/lscratch/kocevski/37965044/ft2_4FGL_J0152.2+2206_daily_bin2204.fits outfile=/lscratch/kocevski/37965044/cmap_HighResolution_810604801_810864001_4FGL_J0152.2+2206_daily_bin2204.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=28.0727 yref=22.1133 axisrot=0.0 rafield="RA" decfield="DEC" proj="AIT" hpx_ordering_scheme="RING" hpx_order=3 hpx_ebin=yes hpx_region="" evtable="EVENTS" sctable="SC_DATA" efield="ENERGY" tfield="TIME" chatter=2 clobber=yes debug=no gui=no mode="ql"

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

This is gtbin version HEAD
real 0.65
user 0.24
sys 0.13

Computing the diffuse response:
time -p gtdiffrsp evfile=/lscratch/kocevski/37965044/ft1_filtered_4FGL_J0152.2+2206_daily_bin2204.fits evtable="EVENTS" scfile=/lscratch/kocevski/37965044/ft2_4FGL_J0152.2+2206_daily_bin2204.fits sctable="SC_DATA" srcmdl=/lscratch/kocevski/37965044/Model_4FGL_J0152.2+2206_daily_bin2204.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 GALDone.

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

Extracting fit parameters...

4FGL J0152.2+2206
   Spectrum: PowerLaw
218    Prefactor:  6.106e-10  1.403e-04  0.000e+00  1.000e+06 ( 1.000e-12)
219        Index:  2.677e+00  0.000e+00  0.000e+00  1.000e+01 (-1.000e+00) fixed
220        Scale:  5.002e+02  0.000e+00  3.000e+01  5.000e+05 ( 1.000e+00) fixed

GAL_V02
   Spectrum: PowerLaw
530    Prefactor:  1.078e+00  1.020e-01  0.000e+00  1.000e+01 ( 1.000e+00)
531        Index:  0.000e+00  0.000e+00 -1.000e+00  1.000e+00 ( 1.000e+00) fixed
532        Scale:  1.000e+02  0.000e+00  5.000e+01  2.000e+02 ( 1.000e+00) fixed

EG_v02
   Spectrum: FileFunction
529   Normalization:  8.056e-01  1.841e-01  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Fixed Index): -0.00
Ra Dec: 28.073 22.113
Photon Flux Upper Limit: 9.00309704375e-08 ph cm-2 s-1
Energy Flux Upper Limit: 0.00707832194189 MeV cm-2 s-1

Saving results to:
/lscratch/kocevski/37964663/likelihoodResults_810604801_810864001_4FGL_J0152.2+2206_daily_bin2204.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) = 8551.59081943
delta logL = -0.000159523024195

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

MINUIT Return Code (Free Index): 102
logL (Free Index) = 8551.59065997
delta logL = -6.88451109454e-08

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'Prefactor '    .16803E-06   1.0000          .0000       .10000E+07
     2 'Index     '    2.0474       1.0000          .0000       10.000    
     3 'Normalizat'    .80555       1.0000         .10000E-01   10.000    
     4 'Prefactor '    1.0779       1.0000          .0000       10.000    
 **********
 **   15 **SET ERR    .5000    
 **********
 **********
 **   16 **SET GRAD    1.000    
 **********
 **********
 **   17 **MINIMIZE    .5330E+05   .2000E-04
 **********

 MIGRAD MINIMIZATION HAS CONVERGED.

 FCN=   8551.591     FROM MIGRAD    STATUS=CONVERGED     33 CALLS      252 TOTAL
                     EDM=   .56E-11  STRATEGY=1  ERROR MATRIX UNCERTAINTY=  2.5%

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor      .0000        7.4813        .22541E-06** at limit **
   2  Index         3.9216        3.8499       -.32248E-04     .0000    
   3  Normalizat    .80558        .20090        .40697E-05    .14868E-04
   4  Prefactor     1.0779        .11472       -.20633E-06    .10512E-03
                               ERR DEF=  .500    
Final values: 
  Prefactor  = 0
  Index      = 3.92164
  Normalizat = 0.805575
  Prefactor  = 1.07789
 **********
 **   18 **HESSE 
 **********
  MNHESS FAILS AND WILL RETURN DIAGONAL MATRIX. 

 FCN=   8551.591     FROM HESSE     STATUS=FAILED        11 CALLS      263 TOTAL
                     EDM=   .56E-11  STRATEGY=1  ERROR MATRIX UNCERTAINTY=100.0%

  EXT PARAMETER                APPROXIMATE     INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  Prefactor      .0000        7.2455        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   2  Index         1.6754        2.2811       -.32248E-04   -.21738    
   3  Normalizat    .80558        1.1442        .40697E-05   -.99862    
   4  Prefactor     1.0779        1.1645       -.20633E-06   -.90176    
                               ERR DEF=  .500    
Minuit fit quality: 1   estimated distance: 5.59191e-12
Minuit parameter uncertainties:
  1  1.35594e-05
  2  1.24613
  3  1.18144
  4  1.19377
number of points = 7607
number of fields = 31
RA_SUN column already exists. File will not be modified.
shell-init: error retrieving current directory: getcwd: cannot access parent directories: No such file or directory
Done.


Performing analysis on: 4FGL_J0152.2+2206_daily_bin2204
RA = 28.0727, Dec = 22.1133
tmin = 810604801, tmax = 810864001
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='37965232', job_status='RUN', time_executed='2026-09-12 01:24:06.944535', time_epoch_executed='1789201446.94' WHERE source_name='4FGL J0152.2+2206' and cadence='daily' and bin_id='2204'

Database successfully updated.
Done.

Creating custom output directory:
/lscratch/kocevski/37965232

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

Retrieving the FT1 file...

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

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

Retrieving 47 files...
Done.


Merging files...

Checksum keywords updated successfully.

Merged file saved to:
/lscratch/kocevski/37965232/ft1_4FGL_J0152.2+2206_daily_bin2204.fits


Retrieving the FT1 file...

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

Retrieving 47 files...
Done.


Merging files...

Merged file saved to:
/lscratch/kocevski/37965232/ft2_4FGL_J0152.2+2206_daily_bin2204.fits


Selecting the photons:
time -p gtselect infile=/lscratch/kocevski/37965232/ft1_4FGL_J0152.2+2206_daily_bin2204.fits outfile=/lscratch/kocevski/37965232/ft1_filteredMKT_4FGL_J0152.2+2206_daily_bin2204.fits ra=28.0727 dec=22.1133 rad=12.0 tmin=810604801.0 tmax=810864001.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.66
user 2.19
sys 0.18

Adding sun position to ft2 file:
/sdf/group/fermi/g/LCRepository/Repository/bin/sunpos /lscratch/kocevski/37965232/ft2_4FGL_J0152.2+2206_daily_bin2204.fits

Selecting the good time intervals:
time -p gtmktime scfile=/lscratch/kocevski/37965232/ft2_4FGL_J0152.2+2206_daily_bin2204.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/37965232/ft1_filteredMKT_4FGL_J0152.2+2206_daily_bin2204.fits evtable="EVENTS" outfile="/lscratch/kocevski/37965232/ft1_filtered_4FGL_J0152.2+2206_daily_bin2204.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.53
user 0.21
sys 0.12

Number of photons that the gtmktime cut: 752

Generating the livetime cube:
time -p gtltcube evfile="/lscratch/kocevski/37965232/ft1_filtered_4FGL_J0152.2+2206_daily_bin2204.fits" evtable="EVENTS" scfile=/lscratch/kocevski/37965232/ft2_4FGL_J0152.2+2206_daily_bin2204.fits sctable="SC_DATA" ouDone.

MINUIT Return Code (Free Index): 101
logL (Free Index) = 8551.5906599
delta logL = 4.91127138957e-11

Extracting fit parameters...

4FGL J0152.2+2206
   Spectrum: PowerLaw
218    Prefactor:  0.000e+00  1.356e-05  0.000e+00  1.000e+06 ( 1.000e-12)
219        Index:  3.922e+00  1.246e+00  0.000e+00  1.000e+01 (-1.000e+00)
220        Scale:  5.002e+02  0.000e+00  3.000e+01  5.000e+05 ( 1.000e+00) fixed

GAL_V02
   Spectrum: PowerLaw
530    Prefactor:  1.078e+00  1.194e+00  0.000e+00  1.000e+01 ( 1.000e+00)
531        Index:  0.000e+00  0.000e+00 -1.000e+00  1.000e+00 ( 1.000e+00) fixed
532        Scale:  1.000e+02  0.000e+00  5.000e+01  2.000e+02 ( 1.000e+00) fixed

EG_v02
   Spectrum: FileFunction
529   Normalization:  8.056e-01  1.181e+00  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Free Index): -0.00
Ra Dec: 28.073 22.113

Creating a high resolution counts map...
INFO: Auto-setting vmin to -1.000e-01 [aplpy.core]
INFO: Auto-setting vmax to  1.110e+00 [aplpy.core]
Saving /lscratch/kocevski/37964663/cmap_HighResolution_810604801_810864001_4FGL_J0152.2+2206_daily_bin2204.png

Cleaning up...

** Nuclear option initiated! **

Updating database...

UPDATE lightcurve_data_v2 SET energy_flux_upper_limit='7.08e-03', job_status='DONE', photon_flux_upper_limit='9.00e-08', time_completed='2026-09-12 01:25:08.189457', job_id='37964663', GAL2='1.08', fit_tolerance='1e-08', EG2='0.81', EG='0.81', time_epoch_completed='1789201508.19', return_code2='101', ts='-0.00', comment='SUCCESS', return_code='0', GAL='1.08', dlogl='4.91e-11', ts2='0.00', photon_index_error='0.00', photon_index='2.68' WHERE bin_id='2204' AND source_name='4FGL J0152.2+2206' AND cadence='daily';

Database successfully updated.


Analysis Complete.


Sat Sep 12 01:25:08 PDT 2026

Done.

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

Extracting fit parameters...

4FGL J0152.2+2206
   Spectrum: PowerLaw
218    Prefactor:  6.106e-10  1.403e-04  0.000e+00  1.000e+06 ( 1.000e-12)
219        Index:  2.677e+00  0.000e+00  0.000e+00  1.000e+01 (-1.000e+00) fixed
220        Scale:  5.002e+02  0.000e+00  3.000e+01  5.000e+05 ( 1.000e+00) fixed

GAL_V02
   Spectrum: PowerLaw
530    Prefactor:  1.078e+00  1.020e-01  0.000e+00  1.000e+01 ( 1.000e+00)
531        Index:  0.000e+00  0.000e+00 -1.000e+00  1.000e+00 ( 1.000e+00) fixed
532        Scale:  1.000e+02  0.000e+00  5.000e+01  2.000e+02 ( 1.000e+00) fixed

EG_v02
   Spectrum: FileFunction
529   Normalization:  8.056e-01  1.841e-01  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Fixed Index): -0.00
Ra Dec: 28.073 22.113
Photon Flux Upper Limit: 9.00309704375e-08 ph cm-2 s-1
Energy Flux Upper Limit: 0.00707832194189 MeV cm-2 s-1

Saving results to:
/lscratch/kocevski/37964707/likelihoodResults_810604801_810864001_4FGL_J0152.2+2206_daily_bin2204.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) = 8551.59081943
delta logL = -0.000159523024195

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

MINUIT Return Code (Free Index): 102
logL (Free Index) = 8551.59065997
delta logL = -6.88451109454e-08

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'Prefactor '    .16803E-06   1.0000          .0000       .10000E+07
     2 'Index     '    2.0474       1.0000          .0000       10.000    
     3 'Normalizat'    .80555       1.0000         .10000E-01   10.000    
     4 'Prefactor '    1.0779       1.0000          .0000       10.000    
 **********
 **   15 **SET ERR    .5000    
 **********
 **********
 **   16 **SET GRAD    1.000    
 **********
 **********
 **   17 **MINIMIZE    .5330E+05   .2000E-04
 **********

 MIGRAD MINIMIZATION HAS CONVERGED.

 FCN=   8551.591     FROM MIGRAD    STATUS=CONVERGED     33 CALLS      252 TOTAL
                     EDM=   .56E-11  STRATEGY=1  ERROR MATRIX UNCERTAINTY=  2.5%

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor      .0000        7.4813        .22541E-06** at limit **
   2  Index         3.9216        3.8499       -.32248E-04     .0000    
   3  Normalizat    .80558        .20090        .40697E-05    .14868E-04
   4  Prefactor     1.0779        .11472       -.20633E-06    .10512E-03
                               ERR DEF=  .500    
Final values: 
  Prefactor  = 0
  Index      = 3.92164
  Normalizat = 0.805575
  Prefactor  = 1.07789
 **********
 **   18 **HESSE 
 **********
  MNHESS FAILS AND WILL RETURN DIAGONAL MATRIX. 

 FCN=   8551.591     FROM HESSE     STATUS=FAILED        11 CALLS      263 TOTAL
                     EDM=   .56E-11  STRATEGY=1  ERROR MATRIX UNCERTAINTY=100.0%

  EXT PARAMETER                APPROXIMATE     INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  Prefactor      .0000        7.2455        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   2  Index         1.6754        2.2811       -.32248E-04   -.21738    
   3  Normalizat    .80558        1.1442        .40697E-05   -.99862    
   4  Prefactor     1.0779        1.1645       -.20633E-06   -.90176    
                               ERR DEF=  .500    
Minuit fit quality: 1   estimated distance: 5.59191e-12
Minuit parameter uncertainties:
  1  1.35594e-05
  2  1.24613
  3  1.18144
  4  1.19377
_V02
Working on...
/lscratch/kocevski/37964771/ft1_filtered_4FGL_J0152.2+2206_daily_bin2204.fits.....................!
real 39.62
user 36.83
sys 1.58

Creating the likelihood object...
obs = UnbinnedObs('/lscratch/kocevski/37964771/ft1_filtered_4FGL_J0152.2+2206_daily_bin2204.fits', '/lscratch/kocevski/37964771/ft2_4FGL_J0152.2+2206_daily_bin2204.fits', expMap='/lscratch/kocevski/37964771/expmap_810604801_810864001_4FGL_J0152.2+2206_daily_bin2204.fits', expCube='/lscratch/kocevski/37964771/ltcube_810604801_810864001_4FGL_J0152.2+2206_daily_bin2204.fits', irfs='P8R3_SOURCE_V2')
like = UnbinnedAnalysis(obs, '/lscratch/kocevski/37964771/Model_4FGL_J0152.2+2206_daily_bin2204.xml', optimizer='MINUIT')

Using source of interest name: '4FGL J0152.2+2206'

4FGL J0152.2+2206
   Spectrum: PowerLaw
218    Prefactor:  3.965e+00  0.000e+00  0.000e+00  1.000e+06 ( 1.000e-12)
219        Index:  2.677e+00  0.000e+00  0.000e+00  1.000e+01 (-1.000e+00) fixed
220        Scale:  5.002e+02  0.000e+00  3.000e+01  5.000e+05 ( 1.000e+00) fixed


Likelihood Fit Parameters:
Event file(s): /lscratch/kocevski/37964771/ft1_filtered_4FGL_J0152.2+2206_daily_bin2204.fits
Spacecraft file(s): /lscratch/kocevski/37964771/ft2_4FGL_J0152.2+2206_daily_bin2204.fits
Exposure map: /lscratch/kocevski/37964771/expmap_810604801_810864001_4FGL_J0152.2+2206_daily_bin2204.fits
Exposure cube: /lscratch/kocevski/37964771/ltcube_810604801_810864001_4FGL_J0152.2+2206_daily_bin2204.fits
IRFs: P8R3_SOURCE_V2
Source model file: /lscratch/kocevski/37964771/Model_4FGL_J0152.2+2206_daily_bin2204.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) = 8551.65248225

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

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

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'norm      '    .77976       1.0000          .0000       .10000E+07
     2 'Prefactor '    .82319E-02   1.0000          .0000       .10000E+07
     3 'Prefactor '    1.2149       1.0000          .0000       .10000E+07
     4 'Prefactor '    1.1896       1.0000          .0000       .10000E+07
     5 'Prefactor '    19.363       1.0000          .0000       .10000E+07
     6 'norm      '    .79892       1.0000          .0000       .10000E+07
     7 'Prefactor '    .10791E-06   1.0000          .0000       .10000E+07
     8 'Prefactor '    .94502E-01   1.0000          .0000       .10000E+07
     9 'Prefactor '    .17508       1.0000          .0000       .10000E+07
    10 'norm      '    .91704E-07   1.0000          .0000       .10000E+07
    11 'Prefactor '    3.2389       1.0000          .0000       .10000E+07
    12 'Prefactor '    .24269E-02   1.0000          .0000       .10000E+07
    13 'Prefactor '    .20650E-07   1.0000          .0000       .10000E+07
    14 'norm      '    .21050E-03   1.0000          .0000       .10000E+07
    15 'Prefactor '    .40309       1.0000          .0000       .10000E+07
    16 'Prefactor '    .26138E-03   1.0000          .0000       .10000E+07
    17 'Normalizat'    .80591       1.0000         .10000E-01   10.000    
    18 'Prefactor '    1.0782       1.0000          .0000       10.000    
 **********
 **   15 **SET ERR    .5000    
 **********
 **********
 **   16 **SET GRAD    1.000    
 **********
 **********
 **   17 **MINIMIZE    .5330E+05   .2000E-04
 **********

 MIGRAD MINIMIZATION HAS CONVERGED.

 FCN=   8551.591     FROM MIGRAD    STATUS=CONVERGED    147 CALLS     1283 TOTAL
                     EDM=   .12E-08  STRATEGY=1  ERROR MATRIX UNCERTAINTY=  1.2%

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  norm          .78001        .55870        .11671E-07    .41194E-02
   2  Prefactor     .58864E-06    92.313       -.15410E-05** at limit **
   3  Prefactor     1.1835        5.0328        .49368E-06    .79570E-03
   4  Prefactor     1.2440        26.729        .91650E-06    .34499E-02
   5  Prefactor     20.948        29.596        .19017E-06    .61408E-01
   6  norm          .79868        .63992       -.13848E-07    .10244E-02
   7  Prefactor     .61062E-09    7.6739       -.30824E-07** at limit **
   8  Prefactor     .94685E-06    67.166       -.38859E-07** at limit **
   9  Prefactor     .32111        25.439       -.27035E-06    .25337E-02
  10  norm           .0000        1.0536       -.55110E-07** at limit **
  11  Prefactor     3.2402        2.2485       -.13366E-07   -.63433E-03
  12  Prefactor     .81601E-08    6.2001       -.12530E-06** at limit **
  13  Prefactor      .0000        1.7213       -.39865E-07** at limit **
  14  norm          .13832E-05    16.410       -.32424E-06** at limit **
  15  Prefactor     .11962E-03    23.655       -.39992E-06** at limit **
  16  Prefactor     .29143E-07    16.531        .23777E-06** at limit **
  17  Normalizat    .80558        .20681        .25748E-07    .12632E-03
  18  Prefactor     1.0779        .11631       -.33083E-07    .15482E-03
                               ERR DEF=  .500    
Final values: 
  norm       = 0.780014
  Prefactor  = 5.8864e-07
  Prefactor  = 1.18352
  Prefactor  = 1.24404
  Prefactor  = 20.9482
  norm       = 0.798677
  Prefactor  = 6.10623e-10
  Prefactor  = 9.46854e-07
  Prefactor  = 0.321108
  norm       = 0
  Prefactor  = 3.24024
  Prefactor  = 8.16014e-09
  Prefactor  = 0
  norm       = 1.38317e-06
  Prefactor  = 0.000119621
  Prefactor  = 2.91434e-08
  Normalizat = 0.805577
  Prefactor  = 1.07789
_V02
Working on...
/lscratch/kocevski/37964815/ft1_filtered_4FGL_J0152.2+2206_daily_bin2204.fits.....................!
real 37.95
user 36.93
sys 0.62

Creating the likelihood object...
obs = UnbinnedObs('/lscratch/kocevski/37964815/ft1_filtered_4FGL_J0152.2+2206_daily_bin2204.fits', '/lscratch/kocevski/37964815/ft2_4FGL_J0152.2+2206_daily_bin2204.fits', expMap='/lscratch/kocevski/37964815/expmap_810604801_810864001_4FGL_J0152.2+2206_daily_bin2204.fits', expCube='/lscratch/kocevski/37964815/ltcube_810604801_810864001_4FGL_J0152.2+2206_daily_bin2204.fits', irfs='P8R3_SOURCE_V2')
like = UnbinnedAnalysis(obs, '/lscratch/kocevski/37964815/Model_4FGL_J0152.2+2206_daily_bin2204.xml', optimizer='MINUIT')

Using source of interest name: '4FGL J0152.2+2206'

4FGL J0152.2+2206
   Spectrum: PowerLaw
218    Prefactor:  3.965e+00  0.000e+00  0.000e+00  1.000e+06 ( 1.000e-12)
219        Index:  2.677e+00  0.000e+00  0.000e+00  1.000e+01 (-1.000e+00) fixed
220        Scale:  5.002e+02  0.000e+00  3.000e+01  5.000e+05 ( 1.000e+00) fixed


Likelihood Fit Parameters:
Event file(s): /lscratch/kocevski/37964815/ft1_filtered_4FGL_J0152.2+2206_daily_bin2204.fits
Spacecraft file(s): /lscratch/kocevski/37964815/ft2_4FGL_J0152.2+2206_daily_bin2204.fits
Exposure map: /lscratch/kocevski/37964815/expmap_810604801_810864001_4FGL_J0152.2+2206_daily_bin2204.fits
Exposure cube: /lscratch/kocevski/37964815/ltcube_810604801_810864001_4FGL_J0152.2+2206_daily_bin2204.fits
IRFs: P8R3_SOURCE_V2
Source model file: /lscratch/kocevski/37964815/Model_4FGL_J0152.2+2206_daily_bin2204.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) = 8551.65248225

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

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

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'norm      '    .77976       1.0000          .0000       .10000E+07
     2 'Prefactor '    .82319E-02   1.0000          .0000       .10000E+07
     3 'Prefactor '    1.2149       1.0000          .0000       .10000E+07
     4 'Prefactor '    1.1896       1.0000          .0000       .10000E+07
     5 'Prefactor '    19.363       1.0000          .0000       .10000E+07
     6 'norm      '    .79892       1.0000          .0000       .10000E+07
     7 'Prefactor '    .10791E-06   1.0000          .0000       .10000E+07
     8 'Prefactor '    .94502E-01   1.0000          .0000       .10000E+07
     9 'Prefactor '    .17508       1.0000          .0000       .10000E+07
    10 'norm      '    .91704E-07   1.0000          .0000       .10000E+07
    11 'Prefactor '    3.2389       1.0000          .0000       .10000E+07
    12 'Prefactor '    .24269E-02   1.0000          .0000       .10000E+07
    13 'Prefactor '    .20650E-07   1.0000          .0000       .10000E+07
    14 'norm      '    .21050E-03   1.0000          .0000       .10000E+07
    15 'Prefactor '    .40309       1.0000          .0000       .10000E+07
    16 'Prefactor '    .26138E-03   1.0000          .0000       .10000E+07
    17 'Normalizat'    .80591       1.0000         .10000E-01   10.000    
    18 'Prefactor '    1.0782       1.0000          .0000       10.000    
 **********
 **   15 **SET ERR    .5000    
 **********
 **********
 **   16 **SET GRAD    1.000    
 **********
 **********
 **   17 **MINIMIZE    .5330E+05   .2000E-04
 **********

 MIGRAD MINIMIZATION HAS CONVERGED.

 FCN=   8551.591     FROM MIGRAD    STATUS=CONVERGED    147 CALLS     1283 TOTAL
                     EDM=   .12E-08  STRATEGY=1  ERROR MATRIX UNCERTAINTY=  1.2%

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  norm          .78001        .55870        .11671E-07    .41194E-02
   2  Prefactor     .58864E-06    92.313       -.15410E-05** at limit **
   3  Prefactor     1.1835        5.0328        .49368E-06    .79570E-03
   4  Prefactor     1.2440        26.729        .91650E-06    .34499E-02
   5  Prefactor     20.948        29.596        .19017E-06    .61408E-01
   6  norm          .79868        .63992       -.13848E-07    .10244E-02
   7  Prefactor     .61062E-09    7.6739       -.30824E-07** at limit **
   8  Prefactor     .94685E-06    67.166       -.38859E-07** at limit **
   9  Prefactor     .32111        25.439       -.27035E-06    .25337E-02
  10  norm           .0000        1.0536       -.55110E-07** at limit **
  11  Prefactor     3.2402        2.2485       -.13366E-07   -.63433E-03
  12  Prefactor     .81601E-08    6.2001       -.12530E-06** at limit **
  13  Prefactor      .0000        1.7213       -.39865E-07** at limit **
  14  norm          .13832E-05    16.410       -.32424E-06** at limit **
  15  Prefactor     .11962E-03    23.655       -.39992E-06** at limit **
  16  Prefactor     .29143E-07    16.531        .23777E-06** at limit **
  17  Normalizat    .80558        .20681        .25748E-07    .12632E-03
  18  Prefactor     1.0779        .11631       -.33083E-07    .15482E-03
                               ERR DEF=  .500    
Final values: 
  norm       = 0.780014
  Prefactor  = 5.8864e-07
  Prefactor  = 1.18352
  Prefactor  = 1.24404
  Prefactor  = 20.9482
  norm       = 0.798677
  Prefactor  = 6.10623e-10
  Prefactor  = 9.46854e-07
  Prefactor  = 0.321108
  norm       = 0
  Prefactor  = 3.24024
  Prefactor  = 8.16014e-09
  Prefactor  = 0
  norm       = 1.38317e-06
  Prefactor  = 0.000119621
  Prefactor  = 2.91434e-08
  Normalizat = 0.805577
  Prefactor  = 1.07789
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) = 8551.5906599
delta logL = 4.91127138957e-11

Extracting fit parameters...

4FGL J0152.2+2206
   Spectrum: PowerLaw
218    Prefactor:  0.000e+00  1.356e-05  0.000e+00  1.000e+06 ( 1.000e-12)
219        Index:  3.922e+00  1.246e+00  0.000e+00  1.000e+01 (-1.000e+00)
220        Scale:  5.002e+02  0.000e+00  3.000e+01  5.000e+05 ( 1.000e+00) fixed

GAL_V02
   Spectrum: PowerLaw
530    Prefactor:  1.078e+00  1.194e+00  0.000e+00  1.000e+01 ( 1.000e+00)
531        Index:  0.000e+00  0.000e+00 -1.000e+00  1.000e+00 ( 1.000e+00) fixed
532        Scale:  1.000e+02  0.000e+00  5.000e+01  2.000e+02 ( 1.000e+00) fixed

EG_v02
   Spectrum: FileFunction
529   Normalization:  8.056e-01  1.181e+00  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Free Index): -0.00
Ra Dec: 28.073 22.113

Creating a high resolution counts map...
INFO: Auto-setting vmin to -1.000e-01 [aplpy.core]
INFO: Auto-setting vmax to  1.110e+00 [aplpy.core]
Saving /lscratch/kocevski/37964707/cmap_HighResolution_810604801_810864001_4FGL_J0152.2+2206_daily_bin2204.png

Cleaning up...

** Nuclear option initiated! **

Updating database...

UPDATE lightcurve_data_v2 SET energy_flux_upper_limit='7.08e-03', job_status='DONE', photon_flux_upper_limit='9.00e-08', time_completed='2026-09-12 01:25:15.106966', job_id='37964707', GAL2='1.08', fit_tolerance='1e-08', EG2='0.81', EG='0.81', time_epoch_completed='1789201515.11', return_code2='101', ts='-0.00', comment='SUCCESS', return_code='0', GAL='1.08', dlogl='4.91e-11', ts2='0.00', photon_index_error='0.00', photon_index='2.68' WHERE bin_id='2204' AND source_name='4FGL J0152.2+2206' AND cadence='daily';

Database successfully updated.


Analysis Complete.


Sat Sep 12 01:25:15 PDT 2026

tfile=/lscratch/kocevski/37965043/ltcube_810604801_810864001_4FGL_J0152.2+2206_daily_bin2204.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/37965043/ft2_4FGL_J0152.2+2206_daily_bin2204.fits
.....................!
real 9.01
user 8.33
sys 0.22

Generating the exposure map:
time -p gtexpmap evfile=/lscratch/kocevski/37965043/ft1_filtered_4FGL_J0152.2+2206_daily_bin2204.fits evtable="EVENTS" scfile=/lscratch/kocevski/37965043/ft2_4FGL_J0152.2+2206_daily_bin2204.fits sctable="SC_DATA" expcube=/lscratch/kocevski/37965043/ltcube_810604801_810864001_4FGL_J0152.2+2206_daily_bin2204.fits outfile=/lscratch/kocevski/37965043/expmap_810604801_810864001_4FGL_J0152.2+2206_daily_bin2204.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/37965043/ltcube_810604801_810864001_4FGL_J0152.2+2206_daily_bin2204.fits
.....................!
real 73.59
user 68.08
sys 4.28

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

Setting source of interest to:
4FGL J0152.2+2206 @ 28.0727 22.1133

Creating the counts map:
time -p gtbin evfile=/lscratch/kocevski/37965043/ft1_filtered_4FGL_J0152.2+2206_daily_bin2204.fits scfile=/lscratch/kocevski/37965043/ft2_4FGL_J0152.2+2206_daily_bin2204.fits outfile=/lscratch/kocevski/37965043/cmap_810604801_810864001_4FGL_J0152.2+2206_daily_bin2204.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=28.0727 yref=22.1133 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.57
user 0.24
sys 0.12

Creating the high resolution counts map:
time -p gtbin evfile=/lscratch/kocevski/37965043/ft1_filtered_4FGL_J0152.2+2206_daily_bin2204.fits scfile=/lscratch/kocevski/37965043/ft2_4FGL_J0152.2+2206_daily_bin2204.fits outfile=/lscratch/kocevski/37965043/cmap_HighResolution_810604801_810864001_4FGL_J0152.2+2206_daily_bin2204.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=28.0727 yref=22.1133 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.83
user 0.23
sys 0.13

Computing the diffuse response:
time -p gtdiffrsp evfile=/lscratch/kocevski/37965043/ft1_filtered_4FGL_J0152.2+2206_daily_bin2204.fits evtable="EVENTS" scfile=/lscratch/kocevski/37965043/ft2_4FGL_J0152.2+2206_daily_bin2204.fits sctable="SC_DATA" srcmdl=/lscratch/kocevski/37965043/Model_4FGL_J0152.2+2206_daily_bin2204.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 GALnumber of points = 7607
number of fields = 31
RA_SUN column already exists. File will not be modified.
Done.


Performing analysis on: 4FGL_J0152.2+2206_daily_bin2204
RA = 28.0727, Dec = 22.1133
tmin = 810604801, tmax = 810864001
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='37965246', job_status='RUN', time_executed='2026-09-12 01:24:20.297820', time_epoch_executed='1789201460.3' WHERE source_name='4FGL J0152.2+2206' and cadence='daily' and bin_id='2204'

Database successfully updated.
Done.

Creating custom output directory:
/lscratch/kocevski/37965246

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

Retrieving the FT1 file...

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

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

Retrieving 47 files...
Done.


Merging files...

Checksum keywords updated successfully.

Merged file saved to:
/lscratch/kocevski/37965246/ft1_4FGL_J0152.2+2206_daily_bin2204.fits


Retrieving the FT1 file...

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

Retrieving 47 files...
Done.


Merging files...

Merged file saved to:
/lscratch/kocevski/37965246/ft2_4FGL_J0152.2+2206_daily_bin2204.fits


Selecting the photons:
time -p gtselect infile=/lscratch/kocevski/37965246/ft1_4FGL_J0152.2+2206_daily_bin2204.fits outfile=/lscratch/kocevski/37965246/ft1_filteredMKT_4FGL_J0152.2+2206_daily_bin2204.fits ra=28.0727 dec=22.1133 rad=12.0 tmin=810604801.0 tmax=810864001.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.64
user 2.20
sys 0.17

Adding sun position to ft2 file:
/sdf/group/fermi/g/LCRepository/Repository/bin/sunpos /lscratch/kocevski/37965246/ft2_4FGL_J0152.2+2206_daily_bin2204.fits

Selecting the good time intervals:
time -p gtmktime scfile=/lscratch/kocevski/37965246/ft2_4FGL_J0152.2+2206_daily_bin2204.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/37965246/ft1_filteredMKT_4FGL_J0152.2+2206_daily_bin2204.fits evtable="EVENTS" outfile="/lscratch/kocevski/37965246/ft1_filtered_4FGL_J0152.2+2206_daily_bin2204.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.78
user 0.21
sys 0.13

Number of photons that the gtmktime cut: 752

Generating the livetime cube:
time -p gtltcube evfile="/lscratch/kocevski/37965246/ft1_filtered_4FGL_J0152.2+2206_daily_bin2204.fits" evtable="EVENTS" scfile=/lscratch/kocevski/37965246/ft2_4FGL_J0152.2+2206_daily_bin2204.fits sctable="SC_DATA" out **********
 **   18 **HESSE 
 **********

 FCN=   8551.591     FROM HESSE     STATUS=OK           288 CALLS     1571 TOTAL
                     EDM=   .13E-05    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  norm          .78001        .56055        .54456E-03   -1.5690    
   2  Prefactor     .58864E-06    92.689        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   3  Prefactor     1.1835        5.2373        .10247E-02   -1.5686    
   4  Prefactor     1.2440        27.553        .10443E-02   -1.5686    
   5  Prefactor     20.948        32.061        .22733E-03   -1.5616    
   6  norm          .79868        .64459        .53016E-03   -1.5690    
   7  Prefactor     .61062E-09    7.7248        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   8  Prefactor     .94685E-06    9.8731        .14079E-01   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   9  Prefactor     .32111        3.1984        .88949E-02   -1.5697    
  10  norm           .0000        1.0714        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  11  Prefactor     3.2402        2.2528        .56256E-03   -1.5672    
  12  Prefactor     .81601E-08    26.160        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  13  Prefactor      .0000        1.7200        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  14  norm          .13832E-05    21.707        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  15  Prefactor     .11962E-03    114.09        .89130E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  16  Prefactor     .29143E-07    17.072        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  17  Normalizat    .80558        .18400        .79555E-01   -.99862    
  18  Prefactor     1.0779        .10199        .38480E-01   -.90176    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 1.2796e-06
Minuit parameter uncertainties:
  1  0.560552
  2  0.0147733
  3  4.97935
  4  11.7093
  5  32.061
  6  0.644585
  7  0.000140349
  8  0.00611501
  9  2.02685
  10  4.73835e-06
  11  2.25282
  12  0.00092524
  13  3.8752e-07
  14  0.0109589
  15  0.233645
  16  0.00141058
  17  0.184138
  18  0.102004
 **********
 **   18 **HESSE 
 **********

 FCN=   8551.591     FROM HESSE     STATUS=OK           288 CALLS     1571 TOTAL
                     EDM=   .13E-05    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  norm          .78001        .56055        .54456E-03   -1.5690    
   2  Prefactor     .58864E-06    92.689        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   3  Prefactor     1.1835        5.2373        .10247E-02   -1.5686    
   4  Prefactor     1.2440        27.553        .10443E-02   -1.5686    
   5  Prefactor     20.948        32.061        .22733E-03   -1.5616    
   6  norm          .79868        .64459        .53016E-03   -1.5690    
   7  Prefactor     .61062E-09    7.7248        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   8  Prefactor     .94685E-06    9.8731        .14079E-01   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   9  Prefactor     .32111        3.1984        .88949E-02   -1.5697    
  10  norm           .0000        1.0714        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  11  Prefactor     3.2402        2.2528        .56256E-03   -1.5672    
  12  Prefactor     .81601E-08    26.160        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  13  Prefactor      .0000        1.7200        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  14  norm          .13832E-05    21.707        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  15  Prefactor     .11962E-03    114.09        .89130E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  16  Prefactor     .29143E-07    17.072        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  17  Normalizat    .80558        .18400        .79555E-01   -.99862    
  18  Prefactor     1.0779        .10199        .38480E-01   -.90176    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 1.2796e-06
Minuit parameter uncertainties:
  1  0.560552
  2  0.0147733
  3  4.97935
  4  11.7093
  5  32.061
  6  0.644585
  7  0.000140349
  8  0.00611501
  9  2.02685
  10  4.73835e-06
  11  2.25282
  12  0.00092524
  13  3.8752e-07
  14  0.0109589
  15  0.233645
  16  0.00141058
  17  0.184138
  18  0.102004
number of points = 7607
number of fields = 31
RA_SUN column already exists. File will not be modified.
Done.


Performing analysis on: 4FGL_J0152.2+2206_daily_bin2204
RA = 28.0727, Dec = 22.1133
tmin = 810604801, tmax = 810864001
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='37965269', job_status='RUN', time_executed='2026-09-12 01:24:33.795821', time_epoch_executed='1789201473.8' WHERE source_name='4FGL J0152.2+2206' and cadence='daily' and bin_id='2204'

Database successfully updated.
Done.

Creating custom output directory:
/lscratch/kocevski/37965269

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

Retrieving the FT1 file...

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

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

Retrieving 47 files...
Done.


Merging files...

Checksum keywords updated successfully.

Merged file saved to:
/lscratch/kocevski/37965269/ft1_4FGL_J0152.2+2206_daily_bin2204.fits


Retrieving the FT1 file...

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

Retrieving 47 files...
Done.


Merging files...

Merged file saved to:
/lscratch/kocevski/37965269/ft2_4FGL_J0152.2+2206_daily_bin2204.fits


Selecting the photons:
time -p gtselect infile=/lscratch/kocevski/37965269/ft1_4FGL_J0152.2+2206_daily_bin2204.fits outfile=/lscratch/kocevski/37965269/ft1_filteredMKT_4FGL_J0152.2+2206_daily_bin2204.fits ra=28.0727 dec=22.1133 rad=12.0 tmin=810604801.0 tmax=810864001.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.53
user 2.16
sys 0.17

Adding sun position to ft2 file:
/sdf/group/fermi/g/LCRepository/Repository/bin/sunpos /lscratch/kocevski/37965269/ft2_4FGL_J0152.2+2206_daily_bin2204.fits

Selecting the good time intervals:
time -p gtmktime scfile=/lscratch/kocevski/37965269/ft2_4FGL_J0152.2+2206_daily_bin2204.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/37965269/ft1_filteredMKT_4FGL_J0152.2+2206_daily_bin2204.fits evtable="EVENTS" outfile="/lscratch/kocevski/37965269/ft1_filtered_4FGL_J0152.2+2206_daily_bin2204.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.51
user 0.19
sys 0.13

Number of photons that the gtmktime cut: 752

Generating the livetime cube:
time -p gtltcube evfile="/lscratch/kocevski/37965269/ft1_filtered_4FGL_J0152.2+2206_daily_bin2204.fits" evtable="EVENTS" scfile=/lscratch/kocevski/37965269/ft2_4FGL_J0152.2+2206_daily_bin2204.fits sctable="SC_DATA" outDone.

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

Extracting fit parameters...

4FGL J0152.2+2206
   Spectrum: PowerLaw
218    Prefactor:  6.106e-10  1.403e-04  0.000e+00  1.000e+06 ( 1.000e-12)
219        Index:  2.677e+00  0.000e+00  0.000e+00  1.000e+01 (-1.000e+00) fixed
220        Scale:  5.002e+02  0.000e+00  3.000e+01  5.000e+05 ( 1.000e+00) fixed

GAL_V02
   Spectrum: PowerLaw
530    Prefactor:  1.078e+00  1.020e-01  0.000e+00  1.000e+01 ( 1.000e+00)
531        Index:  0.000e+00  0.000e+00 -1.000e+00  1.000e+00 ( 1.000e+00) fixed
532        Scale:  1.000e+02  0.000e+00  5.000e+01  2.000e+02 ( 1.000e+00) fixed

EG_v02
   Spectrum: FileFunction
529   Normalization:  8.056e-01  1.841e-01  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Fixed Index): -0.00
Ra Dec: 28.073 22.113
Photon Flux Upper Limit: 9.00309704375e-08 ph cm-2 s-1
Energy Flux Upper Limit: 0.00707832194189 MeV cm-2 s-1

Saving results to:
/lscratch/kocevski/37964771/likelihoodResults_810604801_810864001_4FGL_J0152.2+2206_daily_bin2204.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) = 8551.59081943
delta logL = -0.000159523024195

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

MINUIT Return Code (Free Index): 102
logL (Free Index) = 8551.59065997
delta logL = -6.88451109454e-08

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'Prefactor '    .16803E-06   1.0000          .0000       .10000E+07
     2 'Index     '    2.0474       1.0000          .0000       10.000    
     3 'Normalizat'    .80555       1.0000         .10000E-01   10.000    
     4 'Prefactor '    1.0779       1.0000          .0000       10.000    
 **********
 **   15 **SET ERR    .5000    
 **********
 **********
 **   16 **SET GRAD    1.000    
 **********
 **********
 **   17 **MINIMIZE    .5330E+05   .2000E-04
 **********

 MIGRAD MINIMIZATION HAS CONVERGED.

 FCN=   8551.591     FROM MIGRAD    STATUS=CONVERGED     33 CALLS      252 TOTAL
                     EDM=   .56E-11  STRATEGY=1  ERROR MATRIX UNCERTAINTY=  2.5%

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor      .0000        7.4813        .22541E-06** at limit **
   2  Index         3.9216        3.8499       -.32248E-04     .0000    
   3  Normalizat    .80558        .20090        .40697E-05    .14868E-04
   4  Prefactor     1.0779        .11472       -.20633E-06    .10512E-03
                               ERR DEF=  .500    
Final values: 
  Prefactor  = 0
  Index      = 3.92164
  Normalizat = 0.805575
  Prefactor  = 1.07789
 **********
 **   18 **HESSE 
 **********
  MNHESS FAILS AND WILL RETURN DIAGONAL MATRIX. 

 FCN=   8551.591     FROM HESSE     STATUS=FAILED        11 CALLS      263 TOTAL
                     EDM=   .56E-11  STRATEGY=1  ERROR MATRIX UNCERTAINTY=100.0%

  EXT PARAMETER                APPROXIMATE     INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  Prefactor      .0000        7.2455        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   2  Index         1.6754        2.2811       -.32248E-04   -.21738    
   3  Normalizat    .80558        1.1442        .40697E-05   -.99862    
   4  Prefactor     1.0779        1.1645       -.20633E-06   -.90176    
                               ERR DEF=  .500    
Minuit fit quality: 1   estimated distance: 5.59191e-12
Minuit parameter uncertainties:
  1  1.35594e-05
  2  1.24613
  3  1.18144
  4  1.19377
Done.

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

Extracting fit parameters...

4FGL J0152.2+2206
   Spectrum: PowerLaw
218    Prefactor:  6.106e-10  1.403e-04  0.000e+00  1.000e+06 ( 1.000e-12)
219        Index:  2.677e+00  0.000e+00  0.000e+00  1.000e+01 (-1.000e+00) fixed
220        Scale:  5.002e+02  0.000e+00  3.000e+01  5.000e+05 ( 1.000e+00) fixed

GAL_V02
   Spectrum: PowerLaw
530    Prefactor:  1.078e+00  1.020e-01  0.000e+00  1.000e+01 ( 1.000e+00)
531        Index:  0.000e+00  0.000e+00 -1.000e+00  1.000e+00 ( 1.000e+00) fixed
532        Scale:  1.000e+02  0.000e+00  5.000e+01  2.000e+02 ( 1.000e+00) fixed

EG_v02
   Spectrum: FileFunction
529   Normalization:  8.056e-01  1.841e-01  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Fixed Index): -0.00
Ra Dec: 28.073 22.113
Photon Flux Upper Limit: 9.00309704375e-08 ph cm-2 s-1
Energy Flux Upper Limit: 0.00707832194189 MeV cm-2 s-1

Saving results to:
/lscratch/kocevski/37964815/likelihoodResults_810604801_810864001_4FGL_J0152.2+2206_daily_bin2204.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) = 8551.59081943
delta logL = -0.000159523024195

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

MINUIT Return Code (Free Index): 102
logL (Free Index) = 8551.59065997
delta logL = -6.88451109454e-08

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'Prefactor '    .16803E-06   1.0000          .0000       .10000E+07
     2 'Index     '    2.0474       1.0000          .0000       10.000    
     3 'Normalizat'    .80555       1.0000         .10000E-01   10.000    
     4 'Prefactor '    1.0779       1.0000          .0000       10.000    
 **********
 **   15 **SET ERR    .5000    
 **********
 **********
 **   16 **SET GRAD    1.000    
 **********
 **********
 **   17 **MINIMIZE    .5330E+05   .2000E-04
 **********

 MIGRAD MINIMIZATION HAS CONVERGED.

 FCN=   8551.591     FROM MIGRAD    STATUS=CONVERGED     33 CALLS      252 TOTAL
                     EDM=   .56E-11  STRATEGY=1  ERROR MATRIX UNCERTAINTY=  2.5%

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor      .0000        7.4813        .22541E-06** at limit **
   2  Index         3.9216        3.8499       -.32248E-04     .0000    
   3  Normalizat    .80558        .20090        .40697E-05    .14868E-04
   4  Prefactor     1.0779        .11472       -.20633E-06    .10512E-03
                               ERR DEF=  .500    
Final values: 
  Prefactor  = 0
  Index      = 3.92164
  Normalizat = 0.805575
  Prefactor  = 1.07789
 **********
 **   18 **HESSE 
 **********
  MNHESS FAILS AND WILL RETURN DIAGONAL MATRIX. 

 FCN=   8551.591     FROM HESSE     STATUS=FAILED        11 CALLS      263 TOTAL
                     EDM=   .56E-11  STRATEGY=1  ERROR MATRIX UNCERTAINTY=100.0%

  EXT PARAMETER                APPROXIMATE     INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  Prefactor      .0000        7.2455        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   2  Index         1.6754        2.2811       -.32248E-04   -.21738    
   3  Normalizat    .80558        1.1442        .40697E-05   -.99862    
   4  Prefactor     1.0779        1.1645       -.20633E-06   -.90176    
                               ERR DEF=  .500    
Minuit fit quality: 1   estimated distance: 5.59191e-12
Minuit parameter uncertainties:
  1  1.35594e-05
  2  1.24613
  3  1.18144
  4  1.19377
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) = 8551.5906599
delta logL = 4.91127138957e-11

Extracting fit parameters...

4FGL J0152.2+2206
   Spectrum: PowerLaw
218    Prefactor:  0.000e+00  1.356e-05  0.000e+00  1.000e+06 ( 1.000e-12)
219        Index:  3.922e+00  1.246e+00  0.000e+00  1.000e+01 (-1.000e+00)
220        Scale:  5.002e+02  0.000e+00  3.000e+01  5.000e+05 ( 1.000e+00) fixed

GAL_V02
   Spectrum: PowerLaw
530    Prefactor:  1.078e+00  1.194e+00  0.000e+00  1.000e+01 ( 1.000e+00)
531        Index:  0.000e+00  0.000e+00 -1.000e+00  1.000e+00 ( 1.000e+00) fixed
532        Scale:  1.000e+02  0.000e+00  5.000e+01  2.000e+02 ( 1.000e+00) fixed

EG_v02
   Spectrum: FileFunction
529   Normalization:  8.056e-01  1.181e+00  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Free Index): -0.00
Ra Dec: 28.073 22.113

Creating a high resolution counts map...
INFO: Auto-setting vmin to -1.000e-01 [aplpy.core]
INFO: Auto-setting vmax to  1.110e+00 [aplpy.core]
Saving /lscratch/kocevski/37964771/cmap_HighResolution_810604801_810864001_4FGL_J0152.2+2206_daily_bin2204.png

Cleaning up...

** Nuclear option initiated! **

Updating database...

UPDATE lightcurve_data_v2 SET energy_flux_upper_limit='7.08e-03', job_status='DONE', photon_flux_upper_limit='9.00e-08', time_completed='2026-09-12 01:25:49.634860', job_id='37964771', GAL2='1.08', fit_tolerance='1e-08', EG2='0.81', EG='0.81', time_epoch_completed='1789201549.63', return_code2='101', ts='-0.00', comment='SUCCESS', return_code='0', GAL='1.08', dlogl='4.91e-11', ts2='0.00', photon_index_error='0.00', photon_index='2.68' WHERE bin_id='2204' AND source_name='4FGL J0152.2+2206' AND cadence='daily';

Database successfully updated.


Analysis Complete.


Sat Sep 12 01:25:49 PDT 2026

shell-init: error retrieving current directory: getcwd: cannot access parent directories: No such file or directory
Done.

MINUIT Return Code (Free Index): 101
logL (Free Index) = 8551.5906599
delta logL = 4.91127138957e-11

Extracting fit parameters...

4FGL J0152.2+2206
   Spectrum: PowerLaw
218    Prefactor:  0.000e+00  1.356e-05  0.000e+00  1.000e+06 ( 1.000e-12)
219        Index:  3.922e+00  1.246e+00  0.000e+00  1.000e+01 (-1.000e+00)
220        Scale:  5.002e+02  0.000e+00  3.000e+01  5.000e+05 ( 1.000e+00) fixed

GAL_V02
   Spectrum: PowerLaw
530    Prefactor:  1.078e+00  1.194e+00  0.000e+00  1.000e+01 ( 1.000e+00)
531        Index:  0.000e+00  0.000e+00 -1.000e+00  1.000e+00 ( 1.000e+00) fixed
532        Scale:  1.000e+02  0.000e+00  5.000e+01  2.000e+02 ( 1.000e+00) fixed

EG_v02
   Spectrum: FileFunction
529   Normalization:  8.056e-01  1.181e+00  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Free Index): -0.00
Ra Dec: 28.073 22.113

Creating a high resolution counts map...
INFO: Auto-setting vmin to -1.000e-01 [aplpy.core]
INFO: Auto-setting vmax to  1.110e+00 [aplpy.core]
Saving /lscratch/kocevski/37964815/cmap_HighResolution_810604801_810864001_4FGL_J0152.2+2206_daily_bin2204.png

Cleaning up...

** Nuclear option initiated! **

Updating database...

UPDATE lightcurve_data_v2 SET energy_flux_upper_limit='7.08e-03', job_status='DONE', photon_flux_upper_limit='9.00e-08', time_completed='2026-09-12 01:25:50.916832', job_id='37964815', GAL2='1.08', fit_tolerance='1e-08', EG2='0.81', EG='0.81', time_epoch_completed='1789201550.92', return_code2='101', ts='-0.00', comment='SUCCESS', return_code='0', GAL='1.08', dlogl='4.91e-11', ts2='0.00', photon_index_error='0.00', photon_index='2.68' WHERE bin_id='2204' AND source_name='4FGL J0152.2+2206' AND cadence='daily';

Database successfully updated.


Analysis Complete.


Sat Sep 12 01:25:51 PDT 2026

tfile=/lscratch/kocevski/37965108/ltcube_810604801_810864001_4FGL_J0152.2+2206_daily_bin2204.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/37965108/ft2_4FGL_J0152.2+2206_daily_bin2204.fits
.....................!
real 8.76
user 8.29
sys 0.22

Generating the exposure map:
time -p gtexpmap evfile=/lscratch/kocevski/37965108/ft1_filtered_4FGL_J0152.2+2206_daily_bin2204.fits evtable="EVENTS" scfile=/lscratch/kocevski/37965108/ft2_4FGL_J0152.2+2206_daily_bin2204.fits sctable="SC_DATA" expcube=/lscratch/kocevski/37965108/ltcube_810604801_810864001_4FGL_J0152.2+2206_daily_bin2204.fits outfile=/lscratch/kocevski/37965108/expmap_810604801_810864001_4FGL_J0152.2+2206_daily_bin2204.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/37965108/ltcube_810604801_810864001_4FGL_J0152.2+2206_daily_bin2204.fits
.....................!
real 73.21
user 68.08
sys 4.16

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

Setting source of interest to:
4FGL J0152.2+2206 @ 28.0727 22.1133

Creating the counts map:
time -p gtbin evfile=/lscratch/kocevski/37965108/ft1_filtered_4FGL_J0152.2+2206_daily_bin2204.fits scfile=/lscratch/kocevski/37965108/ft2_4FGL_J0152.2+2206_daily_bin2204.fits outfile=/lscratch/kocevski/37965108/cmap_810604801_810864001_4FGL_J0152.2+2206_daily_bin2204.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=28.0727 yref=22.1133 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.74
user 0.23
sys 0.13

Creating the high resolution counts map:
time -p gtbin evfile=/lscratch/kocevski/37965108/ft1_filtered_4FGL_J0152.2+2206_daily_bin2204.fits scfile=/lscratch/kocevski/37965108/ft2_4FGL_J0152.2+2206_daily_bin2204.fits outfile=/lscratch/kocevski/37965108/cmap_HighResolution_810604801_810864001_4FGL_J0152.2+2206_daily_bin2204.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=28.0727 yref=22.1133 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.74
user 0.25
sys 0.13

Computing the diffuse response:
time -p gtdiffrsp evfile=/lscratch/kocevski/37965108/ft1_filtered_4FGL_J0152.2+2206_daily_bin2204.fits evtable="EVENTS" scfile=/lscratch/kocevski/37965108/ft2_4FGL_J0152.2+2206_daily_bin2204.fits sctable="SC_DATA" srcmdl=/lscratch/kocevski/37965108/Model_4FGL_J0152.2+2206_daily_bin2204.xml irfs="P8R3_SOURCE_V2" evclsmin=0 evclass="INDEF" evtype="INDEF" convert=yes chatter=2 clobber=yes debug=no gui=no mode="ql"

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

adding source EG_v02
adding source GAL_V02
Working on...
/lscratch/kocevski/37965044/ft1_filtered_4FGL_J0152.2+2206_daily_bin2204.fits.....................!
real 37.12
user 35.73
sys 0.92

Creating the likelihood object...
obs = UnbinnedObs('/lscratch/kocevski/37965044/ft1_filtered_4FGL_J0152.2+2206_daily_bin2204.fits', '/lscratch/kocevski/37965044/ft2_4FGL_J0152.2+2206_daily_bin2204.fits', expMap='/lscratch/kocevski/37965044/expmap_810604801_810864001_4FGL_J0152.2+2206_daily_bin2204.fits', expCube='/lscratch/kocevski/37965044/ltcube_810604801_810864001_4FGL_J0152.2+2206_daily_bin2204.fits', irfs='P8R3_SOURCE_V2')
like = UnbinnedAnalysis(obs, '/lscratch/kocevski/37965044/Model_4FGL_J0152.2+2206_daily_bin2204.xml', optimizer='MINUIT')

Using source of interest name: '4FGL J0152.2+2206'

4FGL J0152.2+2206
   Spectrum: PowerLaw
218    Prefactor:  3.965e+00  0.000e+00  0.000e+00  1.000e+06 ( 1.000e-12)
219        Index:  2.677e+00  0.000e+00  0.000e+00  1.000e+01 (-1.000e+00) fixed
220        Scale:  5.002e+02  0.000e+00  3.000e+01  5.000e+05 ( 1.000e+00) fixed


Likelihood Fit Parameters:
Event file(s): /lscratch/kocevski/37965044/ft1_filtered_4FGL_J0152.2+2206_daily_bin2204.fits
Spacecraft file(s): /lscratch/kocevski/37965044/ft2_4FGL_J0152.2+2206_daily_bin2204.fits
Exposure map: /lscratch/kocevski/37965044/expmap_810604801_810864001_4FGL_J0152.2+2206_daily_bin2204.fits
Exposure cube: /lscratch/kocevski/37965044/ltcube_810604801_810864001_4FGL_J0152.2+2206_daily_bin2204.fits
IRFs: P8R3_SOURCE_V2
Source model file: /lscratch/kocevski/37965044/Model_4FGL_J0152.2+2206_daily_bin2204.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) = 8551.65248225

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

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

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'norm      '    .77976       1.0000          .0000       .10000E+07
     2 'Prefactor '    .82319E-02   1.0000          .0000       .10000E+07
     3 'Prefactor '    1.2149       1.0000          .0000       .10000E+07
     4 'Prefactor '    1.1896       1.0000          .0000       .10000E+07
     5 'Prefactor '    19.363       1.0000          .0000       .10000E+07
     6 'norm      '    .79892       1.0000          .0000       .10000E+07
     7 'Prefactor '    .10791E-06   1.0000          .0000       .10000E+07
     8 'Prefactor '    .94502E-01   1.0000          .0000       .10000E+07
     9 'Prefactor '    .17508       1.0000          .0000       .10000E+07
    10 'norm      '    .91704E-07   1.0000          .0000       .10000E+07
    11 'Prefactor '    3.2389       1.0000          .0000       .10000E+07
    12 'Prefactor '    .24269E-02   1.0000          .0000       .10000E+07
    13 'Prefactor '    .20650E-07   1.0000          .0000       .10000E+07
    14 'norm      '    .21050E-03   1.0000          .0000       .10000E+07
    15 'Prefactor '    .40309       1.0000          .0000       .10000E+07
    16 'Prefactor '    .26138E-03   1.0000          .0000       .10000E+07
    17 'Normalizat'    .80591       1.0000         .10000E-01   10.000    
    18 'Prefactor '    1.0782       1.0000          .0000       10.000    
 **********
 **   15 **SET ERR    .5000    
 **********
 **********
 **   16 **SET GRAD    1.000    
 **********
 **********
 **   17 **MINIMIZE    .5330E+05   .2000E-04
 **********

 MIGRAD MINIMIZATION HAS CONVERGED.

 FCN=   8551.591     FROM MIGRAD    STATUS=CONVERGED    147 CALLS     1283 TOTAL
                     EDM=   .12E-08  STRATEGY=1  ERROR MATRIX UNCERTAINTY=  1.2%

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  norm          .78001        .55870        .11671E-07    .41194E-02
   2  Prefactor     .58864E-06    92.313       -.15410E-05** at limit **
   3  Prefactor     1.1835        5.0328        .49368E-06    .79570E-03
   4  Prefactor     1.2440        26.729        .91650E-06    .34499E-02
   5  Prefactor     20.948        29.596        .19017E-06    .61408E-01
   6  norm          .79868        .63992       -.13848E-07    .10244E-02
   7  Prefactor     .61062E-09    7.6739       -.30824E-07** at limit **
   8  Prefactor     .94685E-06    67.166       -.38859E-07** at limit **
   9  Prefactor     .32111        25.439       -.27035E-06    .25337E-02
  10  norm           .0000        1.0536       -.55110E-07** at limit **
  11  Prefactor     3.2402        2.2485       -.13366E-07   -.63433E-03
  12  Prefactor     .81601E-08    6.2001       -.12530E-06** at limit **
  13  Prefactor      .0000        1.7213       -.39865E-07** at limit **
  14  norm          .13832E-05    16.410       -.32424E-06** at limit **
  15  Prefactor     .11962E-03    23.655       -.39992E-06** at limit **
  16  Prefactor     .29143E-07    16.531        .23777E-06** at limit **
  17  Normalizat    .80558        .20681        .25748E-07    .12632E-03
  18  Prefactor     1.0779        .11631       -.33083E-07    .15482E-03
                               ERR DEF=  .500    
Final values: 
  norm       = 0.780014
  Prefactor  = 5.8864e-07
  Prefactor  = 1.18352
  Prefactor  = 1.24404
  Prefactor  = 20.9482
  norm       = 0.798677
  Prefactor  = 6.10623e-10
  Prefactor  = 9.46854e-07
  Prefactor  = 0.321108
  norm       = 0
  Prefactor  = 3.24024
  Prefactor  = 8.16014e-09
  Prefactor  = 0
  norm       = 1.38317e-06
  Prefactor  = 0.000119621
  Prefactor  = 2.91434e-08
  Normalizat = 0.805577
  Prefactor  = 1.07789
 **********
 **   18 **HESSE 
 **********

 FCN=   8551.591     FROM HESSE     STATUS=OK           288 CALLS     1571 TOTAL
                     EDM=   .13E-05    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  norm          .78001        .56055        .54456E-03   -1.5690    
   2  Prefactor     .58864E-06    92.689        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   3  Prefactor     1.1835        5.2373        .10247E-02   -1.5686    
   4  Prefactor     1.2440        27.553        .10443E-02   -1.5686    
   5  Prefactor     20.948        32.061        .22733E-03   -1.5616    
   6  norm          .79868        .64459        .53016E-03   -1.5690    
   7  Prefactor     .61062E-09    7.7248        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   8  Prefactor     .94685E-06    9.8731        .14079E-01   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   9  Prefactor     .32111        3.1984        .88949E-02   -1.5697    
  10  norm           .0000        1.0714        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  11  Prefactor     3.2402        2.2528        .56256E-03   -1.5672    
  12  Prefactor     .81601E-08    26.160        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  13  Prefactor      .0000        1.7200        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  14  norm          .13832E-05    21.707        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  15  Prefactor     .11962E-03    114.09        .89130E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  16  Prefactor     .29143E-07    17.072        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  17  Normalizat    .80558        .18400        .79555E-01   -.99862    
  18  Prefactor     1.0779        .10199        .38480E-01   -.90176    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 1.2796e-06
Minuit parameter uncertainties:
  1  0.560552
  2  0.0147733
  3  4.97935
  4  11.7093
  5  32.061
  6  0.644585
  7  0.000140349
  8  0.00611501
  9  2.02685
  10  4.73835e-06
  11  2.25282
  12  0.00092524
  13  3.8752e-07
  14  0.0109589
  15  0.233645
  16  0.00141058
  17  0.184138
  18  0.102004
_V02
Working on...
/lscratch/kocevski/37965043/ft1_filtered_4FGL_J0152.2+2206_daily_bin2204.fits.....................!
real 40.06
user 37.65
sys 0.84

Creating the likelihood object...
obs = UnbinnedObs('/lscratch/kocevski/37965043/ft1_filtered_4FGL_J0152.2+2206_daily_bin2204.fits', '/lscratch/kocevski/37965043/ft2_4FGL_J0152.2+2206_daily_bin2204.fits', expMap='/lscratch/kocevski/37965043/expmap_810604801_810864001_4FGL_J0152.2+2206_daily_bin2204.fits', expCube='/lscratch/kocevski/37965043/ltcube_810604801_810864001_4FGL_J0152.2+2206_daily_bin2204.fits', irfs='P8R3_SOURCE_V2')
like = UnbinnedAnalysis(obs, '/lscratch/kocevski/37965043/Model_4FGL_J0152.2+2206_daily_bin2204.xml', optimizer='MINUIT')

Using source of interest name: '4FGL J0152.2+2206'

4FGL J0152.2+2206
   Spectrum: PowerLaw
218    Prefactor:  3.965e+00  0.000e+00  0.000e+00  1.000e+06 ( 1.000e-12)
219        Index:  2.677e+00  0.000e+00  0.000e+00  1.000e+01 (-1.000e+00) fixed
220        Scale:  5.002e+02  0.000e+00  3.000e+01  5.000e+05 ( 1.000e+00) fixed


Likelihood Fit Parameters:
Event file(s): /lscratch/kocevski/37965043/ft1_filtered_4FGL_J0152.2+2206_daily_bin2204.fits
Spacecraft file(s): /lscratch/kocevski/37965043/ft2_4FGL_J0152.2+2206_daily_bin2204.fits
Exposure map: /lscratch/kocevski/37965043/expmap_810604801_810864001_4FGL_J0152.2+2206_daily_bin2204.fits
Exposure cube: /lscratch/kocevski/37965043/ltcube_810604801_810864001_4FGL_J0152.2+2206_daily_bin2204.fits
IRFs: P8R3_SOURCE_V2
Source model file: /lscratch/kocevski/37965043/Model_4FGL_J0152.2+2206_daily_bin2204.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) = 8551.65248225

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

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

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'norm      '    .77976       1.0000          .0000       .10000E+07
     2 'Prefactor '    .82319E-02   1.0000          .0000       .10000E+07
     3 'Prefactor '    1.2149       1.0000          .0000       .10000E+07
     4 'Prefactor '    1.1896       1.0000          .0000       .10000E+07
     5 'Prefactor '    19.363       1.0000          .0000       .10000E+07
     6 'norm      '    .79892       1.0000          .0000       .10000E+07
     7 'Prefactor '    .10791E-06   1.0000          .0000       .10000E+07
     8 'Prefactor '    .94502E-01   1.0000          .0000       .10000E+07
     9 'Prefactor '    .17508       1.0000          .0000       .10000E+07
    10 'norm      '    .91704E-07   1.0000          .0000       .10000E+07
    11 'Prefactor '    3.2389       1.0000          .0000       .10000E+07
    12 'Prefactor '    .24269E-02   1.0000          .0000       .10000E+07
    13 'Prefactor '    .20650E-07   1.0000          .0000       .10000E+07
    14 'norm      '    .21050E-03   1.0000          .0000       .10000E+07
    15 'Prefactor '    .40309       1.0000          .0000       .10000E+07
    16 'Prefactor '    .26138E-03   1.0000          .0000       .10000E+07
    17 'Normalizat'    .80591       1.0000         .10000E-01   10.000    
    18 'Prefactor '    1.0782       1.0000          .0000       10.000    
 **********
 **   15 **SET ERR    .5000    
 **********
 **********
 **   16 **SET GRAD    1.000    
 **********
 **********
 **   17 **MINIMIZE    .5330E+05   .2000E-04
 **********

 MIGRAD MINIMIZATION HAS CONVERGED.

 FCN=   8551.591     FROM MIGRAD    STATUS=CONVERGED    147 CALLS     1283 TOTAL
                     EDM=   .12E-08  STRATEGY=1  ERROR MATRIX UNCERTAINTY=  1.2%

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  norm          .78001        .55870        .11671E-07    .41194E-02
   2  Prefactor     .58864E-06    92.313       -.15410E-05** at limit **
   3  Prefactor     1.1835        5.0328        .49368E-06    .79570E-03
   4  Prefactor     1.2440        26.729        .91650E-06    .34499E-02
   5  Prefactor     20.948        29.596        .19017E-06    .61408E-01
   6  norm          .79868        .63992       -.13848E-07    .10244E-02
   7  Prefactor     .61062E-09    7.6739       -.30824E-07** at limit **
   8  Prefactor     .94685E-06    67.166       -.38859E-07** at limit **
   9  Prefactor     .32111        25.439       -.27035E-06    .25337E-02
  10  norm           .0000        1.0536       -.55110E-07** at limit **
  11  Prefactor     3.2402        2.2485       -.13366E-07   -.63433E-03
  12  Prefactor     .81601E-08    6.2001       -.12530E-06** at limit **
  13  Prefactor      .0000        1.7213       -.39865E-07** at limit **
  14  norm          .13832E-05    16.410       -.32424E-06** at limit **
  15  Prefactor     .11962E-03    23.655       -.39992E-06** at limit **
  16  Prefactor     .29143E-07    16.531        .23777E-06** at limit **
  17  Normalizat    .80558        .20681        .25748E-07    .12632E-03
  18  Prefactor     1.0779        .11631       -.33083E-07    .15482E-03
                               ERR DEF=  .500    
Final values: 
  norm       = 0.780014
  Prefactor  = 5.8864e-07
  Prefactor  = 1.18352
  Prefactor  = 1.24404
  Prefactor  = 20.9482
  norm       = 0.798677
  Prefactor  = 6.10623e-10
  Prefactor  = 9.46854e-07
  Prefactor  = 0.321108
  norm       = 0
  Prefactor  = 3.24024
  Prefactor  = 8.16014e-09
  Prefactor  = 0
  norm       = 1.38317e-06
  Prefactor  = 0.000119621
  Prefactor  = 2.91434e-08
  Normalizat = 0.805577
  Prefactor  = 1.07789
 **********
 **   18 **HESSE 
 **********

 FCN=   8551.591     FROM HESSE     STATUS=OK           288 CALLS     1571 TOTAL
                     EDM=   .13E-05    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  norm          .78001        .56055        .54456E-03   -1.5690    
   2  Prefactor     .58864E-06    92.689        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   3  Prefactor     1.1835        5.2373        .10247E-02   -1.5686    
   4  Prefactor     1.2440        27.553        .10443E-02   -1.5686    
   5  Prefactor     20.948        32.061        .22733E-03   -1.5616    
   6  norm          .79868        .64459        .53016E-03   -1.5690    
   7  Prefactor     .61062E-09    7.7248        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   8  Prefactor     .94685E-06    9.8731        .14079E-01   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   9  Prefactor     .32111        3.1984        .88949E-02   -1.5697    
  10  norm           .0000        1.0714        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  11  Prefactor     3.2402        2.2528        .56256E-03   -1.5672    
  12  Prefactor     .81601E-08    26.160        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  13  Prefactor      .0000        1.7200        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  14  norm          .13832E-05    21.707        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  15  Prefactor     .11962E-03    114.09        .89130E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  16  Prefactor     .29143E-07    17.072        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  17  Normalizat    .80558        .18400        .79555E-01   -.99862    
  18  Prefactor     1.0779        .10199        .38480E-01   -.90176    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 1.2796e-06
Minuit parameter uncertainties:
  1  0.560552
  2  0.0147733
  3  4.97935
  4  11.7093
  5  32.061
  6  0.644585
  7  0.000140349
  8  0.00611501
  9  2.02685
  10  4.73835e-06
  11  2.25282
  12  0.00092524
  13  3.8752e-07
  14  0.0109589
  15  0.233645
  16  0.00141058
  17  0.184138
  18  0.102004
Done.

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

Extracting fit parameters...

4FGL J0152.2+2206
   Spectrum: PowerLaw
218    Prefactor:  6.106e-10  1.403e-04  0.000e+00  1.000e+06 ( 1.000e-12)
219        Index:  2.677e+00  0.000e+00  0.000e+00  1.000e+01 (-1.000e+00) fixed
220        Scale:  5.002e+02  0.000e+00  3.000e+01  5.000e+05 ( 1.000e+00) fixed

GAL_V02
   Spectrum: PowerLaw
530    Prefactor:  1.078e+00  1.020e-01  0.000e+00  1.000e+01 ( 1.000e+00)
531        Index:  0.000e+00  0.000e+00 -1.000e+00  1.000e+00 ( 1.000e+00) fixed
532        Scale:  1.000e+02  0.000e+00  5.000e+01  2.000e+02 ( 1.000e+00) fixed

EG_v02
   Spectrum: FileFunction
529   Normalization:  8.056e-01  1.841e-01  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Fixed Index): -0.00
Ra Dec: 28.073 22.113
Photon Flux Upper Limit: 9.00309704375e-08 ph cm-2 s-1
Energy Flux Upper Limit: 0.00707832194189 MeV cm-2 s-1

Saving results to:
/lscratch/kocevski/37965044/likelihoodResults_810604801_810864001_4FGL_J0152.2+2206_daily_bin2204.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) = 8551.59081943
delta logL = -0.000159523024195

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

MINUIT Return Code (Free Index): 102
logL (Free Index) = 8551.59065997
delta logL = -6.88451109454e-08

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'Prefactor '    .16803E-06   1.0000          .0000       .10000E+07
     2 'Index     '    2.0474       1.0000          .0000       10.000    
     3 'Normalizat'    .80555       1.0000         .10000E-01   10.000    
     4 'Prefactor '    1.0779       1.0000          .0000       10.000    
 **********
 **   15 **SET ERR    .5000    
 **********
 **********
 **   16 **SET GRAD    1.000    
 **********
 **********
 **   17 **MINIMIZE    .5330E+05   .2000E-04
 **********

 MIGRAD MINIMIZATION HAS CONVERGED.

 FCN=   8551.591     FROM MIGRAD    STATUS=CONVERGED     33 CALLS      252 TOTAL
                     EDM=   .56E-11  STRATEGY=1  ERROR MATRIX UNCERTAINTY=  2.5%

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor      .0000        7.4813        .22541E-06** at limit **
   2  Index         3.9216        3.8499       -.32248E-04     .0000    
   3  Normalizat    .80558        .20090        .40697E-05    .14868E-04
   4  Prefactor     1.0779        .11472       -.20633E-06    .10512E-03
                               ERR DEF=  .500    
Final values: 
  Prefactor  = 0
  Index      = 3.92164
  Normalizat = 0.805575
  Prefactor  = 1.07789
 **********
 **   18 **HESSE 
 **********
  MNHESS FAILS AND WILL RETURN DIAGONAL MATRIX. 

 FCN=   8551.591     FROM HESSE     STATUS=FAILED        11 CALLS      263 TOTAL
                     EDM=   .56E-11  STRATEGY=1  ERROR MATRIX UNCERTAINTY=100.0%

  EXT PARAMETER                APPROXIMATE     INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  Prefactor      .0000        7.2455        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   2  Index         1.6754        2.2811       -.32248E-04   -.21738    
   3  Normalizat    .80558        1.1442        .40697E-05   -.99862    
   4  Prefactor     1.0779        1.1645       -.20633E-06   -.90176    
                               ERR DEF=  .500    
Minuit fit quality: 1   estimated distance: 5.59191e-12
Minuit parameter uncertainties:
  1  1.35594e-05
  2  1.24613
  3  1.18144
  4  1.19377
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) = 8551.5906599
delta logL = 4.91127138957e-11

Extracting fit parameters...

4FGL J0152.2+2206
   Spectrum: PowerLaw
218    Prefactor:  0.000e+00  1.356e-05  0.000e+00  1.000e+06 ( 1.000e-12)
219        Index:  3.922e+00  1.246e+00  0.000e+00  1.000e+01 (-1.000e+00)
220        Scale:  5.002e+02  0.000e+00  3.000e+01  5.000e+05 ( 1.000e+00) fixed

GAL_V02
   Spectrum: PowerLaw
530    Prefactor:  1.078e+00  1.194e+00  0.000e+00  1.000e+01 ( 1.000e+00)
531        Index:  0.000e+00  0.000e+00 -1.000e+00  1.000e+00 ( 1.000e+00) fixed
532        Scale:  1.000e+02  0.000e+00  5.000e+01  2.000e+02 ( 1.000e+00) fixed

EG_v02
   Spectrum: FileFunction
529   Normalization:  8.056e-01  1.181e+00  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Free Index): -0.00
Ra Dec: 28.073 22.113

Creating a high resolution counts map...
INFO: Auto-setting vmin to -1.000e-01 [aplpy.core]
INFO: Auto-setting vmax to  1.110e+00 [aplpy.core]
Saving /lscratch/kocevski/37965044/cmap_HighResolution_810604801_810864001_4FGL_J0152.2+2206_daily_bin2204.png

Cleaning up...

** Nuclear option initiated! **

Updating database...

UPDATE lightcurve_data_v2 SET energy_flux_upper_limit='7.08e-03', job_status='DONE', photon_flux_upper_limit='9.00e-08', time_completed='2026-09-12 01:26:45.844481', job_id='37965044', GAL2='1.08', fit_tolerance='1e-08', EG2='0.81', EG='0.81', time_epoch_completed='1789201605.84', return_code2='101', ts='-0.00', comment='SUCCESS', return_code='0', GAL='1.08', dlogl='4.91e-11', ts2='0.00', photon_index_error='0.00', photon_index='2.68' WHERE bin_id='2204' AND source_name='4FGL J0152.2+2206' AND cadence='daily';

Database successfully updated.


Analysis Complete.


Sat Sep 12 01:26:46 PDT 2026

Done.

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

Extracting fit parameters...

4FGL J0152.2+2206
   Spectrum: PowerLaw
218    Prefactor:  6.106e-10  1.403e-04  0.000e+00  1.000e+06 ( 1.000e-12)
219        Index:  2.677e+00  0.000e+00  0.000e+00  1.000e+01 (-1.000e+00) fixed
220        Scale:  5.002e+02  0.000e+00  3.000e+01  5.000e+05 ( 1.000e+00) fixed

GAL_V02
   Spectrum: PowerLaw
530    Prefactor:  1.078e+00  1.020e-01  0.000e+00  1.000e+01 ( 1.000e+00)
531        Index:  0.000e+00  0.000e+00 -1.000e+00  1.000e+00 ( 1.000e+00) fixed
532        Scale:  1.000e+02  0.000e+00  5.000e+01  2.000e+02 ( 1.000e+00) fixed

EG_v02
   Spectrum: FileFunction
529   Normalization:  8.056e-01  1.841e-01  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Fixed Index): -0.00
Ra Dec: 28.073 22.113
Photon Flux Upper Limit: 9.00309704375e-08 ph cm-2 s-1
Energy Flux Upper Limit: 0.00707832194189 MeV cm-2 s-1

Saving results to:
/lscratch/kocevski/37965043/likelihoodResults_810604801_810864001_4FGL_J0152.2+2206_daily_bin2204.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) = 8551.59081943
delta logL = -0.000159523024195

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

MINUIT Return Code (Free Index): 102
logL (Free Index) = 8551.59065997
delta logL = -6.88451109454e-08

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'Prefactor '    .16803E-06   1.0000          .0000       .10000E+07
     2 'Index     '    2.0474       1.0000          .0000       10.000    
     3 'Normalizat'    .80555       1.0000         .10000E-01   10.000    
     4 'Prefactor '    1.0779       1.0000          .0000       10.000    
 **********
 **   15 **SET ERR    .5000    
 **********
 **********
 **   16 **SET GRAD    1.000    
 **********
 **********
 **   17 **MINIMIZE    .5330E+05   .2000E-04
 **********

 MIGRAD MINIMIZATION HAS CONVERGED.

 FCN=   8551.591     FROM MIGRAD    STATUS=CONVERGED     33 CALLS      252 TOTAL
                     EDM=   .56E-11  STRATEGY=1  ERROR MATRIX UNCERTAINTY=  2.5%

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor      .0000        7.4813        .22541E-06** at limit **
   2  Index         3.9216        3.8499       -.32248E-04     .0000    
   3  Normalizat    .80558        .20090        .40697E-05    .14868E-04
   4  Prefactor     1.0779        .11472       -.20633E-06    .10512E-03
                               ERR DEF=  .500    
Final values: 
  Prefactor  = 0
  Index      = 3.92164
  Normalizat = 0.805575
  Prefactor  = 1.07789
 **********
 **   18 **HESSE 
 **********
  MNHESS FAILS AND WILL RETURN DIAGONAL MATRIX. 

 FCN=   8551.591     FROM HESSE     STATUS=FAILED        11 CALLS      263 TOTAL
                     EDM=   .56E-11  STRATEGY=1  ERROR MATRIX UNCERTAINTY=100.0%

  EXT PARAMETER                APPROXIMATE     INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  Prefactor      .0000        7.2455        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   2  Index         1.6754        2.2811       -.32248E-04   -.21738    
   3  Normalizat    .80558        1.1442        .40697E-05   -.99862    
   4  Prefactor     1.0779        1.1645       -.20633E-06   -.90176    
                               ERR DEF=  .500    
Minuit fit quality: 1   estimated distance: 5.59191e-12
Minuit parameter uncertainties:
  1  1.35594e-05
  2  1.24613
  3  1.18144
  4  1.19377
tfile=/lscratch/kocevski/37965232/ltcube_810604801_810864001_4FGL_J0152.2+2206_daily_bin2204.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/37965232/ft2_4FGL_J0152.2+2206_daily_bin2204.fits
.....................!
real 8.36
user 7.91
sys 0.22

Generating the exposure map:
time -p gtexpmap evfile=/lscratch/kocevski/37965232/ft1_filtered_4FGL_J0152.2+2206_daily_bin2204.fits evtable="EVENTS" scfile=/lscratch/kocevski/37965232/ft2_4FGL_J0152.2+2206_daily_bin2204.fits sctable="SC_DATA" expcube=/lscratch/kocevski/37965232/ltcube_810604801_810864001_4FGL_J0152.2+2206_daily_bin2204.fits outfile=/lscratch/kocevski/37965232/expmap_810604801_810864001_4FGL_J0152.2+2206_daily_bin2204.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/37965232/ltcube_810604801_810864001_4FGL_J0152.2+2206_daily_bin2204.fits
.....................!
real 70.70
user 65.91
sys 4.17

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

Setting source of interest to:
4FGL J0152.2+2206 @ 28.0727 22.1133

Creating the counts map:
time -p gtbin evfile=/lscratch/kocevski/37965232/ft1_filtered_4FGL_J0152.2+2206_daily_bin2204.fits scfile=/lscratch/kocevski/37965232/ft2_4FGL_J0152.2+2206_daily_bin2204.fits outfile=/lscratch/kocevski/37965232/cmap_810604801_810864001_4FGL_J0152.2+2206_daily_bin2204.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=28.0727 yref=22.1133 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.58
user 0.23
sys 0.12

Creating the high resolution counts map:
time -p gtbin evfile=/lscratch/kocevski/37965232/ft1_filtered_4FGL_J0152.2+2206_daily_bin2204.fits scfile=/lscratch/kocevski/37965232/ft2_4FGL_J0152.2+2206_daily_bin2204.fits outfile=/lscratch/kocevski/37965232/cmap_HighResolution_810604801_810864001_4FGL_J0152.2+2206_daily_bin2204.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=28.0727 yref=22.1133 axisrot=0.0 rafield="RA" decfield="DEC" proj="AIT" hpx_ordering_scheme="RING" hpx_order=3 hpx_ebin=yes hpx_region="" evtable="EVENTS" sctable="SC_DATA" efield="ENERGY" tfield="TIME" chatter=2 clobber=yes debug=no gui=no mode="ql"

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

This is gtbin version HEAD
real 0.55
user 0.24
sys 0.13

Computing the diffuse response:
time -p gtdiffrsp evfile=/lscratch/kocevski/37965232/ft1_filtered_4FGL_J0152.2+2206_daily_bin2204.fits evtable="EVENTS" scfile=/lscratch/kocevski/37965232/ft2_4FGL_J0152.2+2206_daily_bin2204.fits sctable="SC_DATA" srcmdl=/lscratch/kocevski/37965232/Model_4FGL_J0152.2+2206_daily_bin2204.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 GALshell-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) = 8551.5906599
delta logL = 4.91127138957e-11

Extracting fit parameters...

4FGL J0152.2+2206
   Spectrum: PowerLaw
218    Prefactor:  0.000e+00  1.356e-05  0.000e+00  1.000e+06 ( 1.000e-12)
219        Index:  3.922e+00  1.246e+00  0.000e+00  1.000e+01 (-1.000e+00)
220        Scale:  5.002e+02  0.000e+00  3.000e+01  5.000e+05 ( 1.000e+00) fixed

GAL_V02
   Spectrum: PowerLaw
530    Prefactor:  1.078e+00  1.194e+00  0.000e+00  1.000e+01 ( 1.000e+00)
531        Index:  0.000e+00  0.000e+00 -1.000e+00  1.000e+00 ( 1.000e+00) fixed
532        Scale:  1.000e+02  0.000e+00  5.000e+01  2.000e+02 ( 1.000e+00) fixed

EG_v02
   Spectrum: FileFunction
529   Normalization:  8.056e-01  1.181e+00  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Free Index): -0.00
Ra Dec: 28.073 22.113

Creating a high resolution counts map...
INFO: Auto-setting vmin to -1.000e-01 [aplpy.core]
INFO: Auto-setting vmax to  1.110e+00 [aplpy.core]
Saving /lscratch/kocevski/37965043/cmap_HighResolution_810604801_810864001_4FGL_J0152.2+2206_daily_bin2204.png

Cleaning up...

** Nuclear option initiated! **

Updating database...

UPDATE lightcurve_data_v2 SET energy_flux_upper_limit='7.08e-03', job_status='DONE', photon_flux_upper_limit='9.00e-08', time_completed='2026-09-12 01:27:08.938676', job_id='37965043', GAL2='1.08', fit_tolerance='1e-08', EG2='0.81', EG='0.81', time_epoch_completed='1789201628.94', return_code2='101', ts='-0.00', comment='SUCCESS', return_code='0', GAL='1.08', dlogl='4.91e-11', ts2='0.00', photon_index_error='0.00', photon_index='2.68' WHERE bin_id='2204' AND source_name='4FGL J0152.2+2206' AND cadence='daily';

Database successfully updated.


Analysis Complete.


Sat Sep 12 01:27:09 PDT 2026

_V02
Working on...
/lscratch/kocevski/37965108/ft1_filtered_4FGL_J0152.2+2206_daily_bin2204.fits.....................!
real 39.81
user 38.37
sys 0.95

Creating the likelihood object...
obs = UnbinnedObs('/lscratch/kocevski/37965108/ft1_filtered_4FGL_J0152.2+2206_daily_bin2204.fits', '/lscratch/kocevski/37965108/ft2_4FGL_J0152.2+2206_daily_bin2204.fits', expMap='/lscratch/kocevski/37965108/expmap_810604801_810864001_4FGL_J0152.2+2206_daily_bin2204.fits', expCube='/lscratch/kocevski/37965108/ltcube_810604801_810864001_4FGL_J0152.2+2206_daily_bin2204.fits', irfs='P8R3_SOURCE_V2')
like = UnbinnedAnalysis(obs, '/lscratch/kocevski/37965108/Model_4FGL_J0152.2+2206_daily_bin2204.xml', optimizer='MINUIT')

Using source of interest name: '4FGL J0152.2+2206'

4FGL J0152.2+2206
   Spectrum: PowerLaw
218    Prefactor:  3.965e+00  0.000e+00  0.000e+00  1.000e+06 ( 1.000e-12)
219        Index:  2.677e+00  0.000e+00  0.000e+00  1.000e+01 (-1.000e+00) fixed
220        Scale:  5.002e+02  0.000e+00  3.000e+01  5.000e+05 ( 1.000e+00) fixed


Likelihood Fit Parameters:
Event file(s): /lscratch/kocevski/37965108/ft1_filtered_4FGL_J0152.2+2206_daily_bin2204.fits
Spacecraft file(s): /lscratch/kocevski/37965108/ft2_4FGL_J0152.2+2206_daily_bin2204.fits
Exposure map: /lscratch/kocevski/37965108/expmap_810604801_810864001_4FGL_J0152.2+2206_daily_bin2204.fits
Exposure cube: /lscratch/kocevski/37965108/ltcube_810604801_810864001_4FGL_J0152.2+2206_daily_bin2204.fits
IRFs: P8R3_SOURCE_V2
Source model file: /lscratch/kocevski/37965108/Model_4FGL_J0152.2+2206_daily_bin2204.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) = 8551.65248225

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

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

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'norm      '    .77976       1.0000          .0000       .10000E+07
     2 'Prefactor '    .82319E-02   1.0000          .0000       .10000E+07
     3 'Prefactor '    1.2149       1.0000          .0000       .10000E+07
     4 'Prefactor '    1.1896       1.0000          .0000       .10000E+07
     5 'Prefactor '    19.363       1.0000          .0000       .10000E+07
     6 'norm      '    .79892       1.0000          .0000       .10000E+07
     7 'Prefactor '    .10791E-06   1.0000          .0000       .10000E+07
     8 'Prefactor '    .94502E-01   1.0000          .0000       .10000E+07
     9 'Prefactor '    .17508       1.0000          .0000       .10000E+07
    10 'norm      '    .91704E-07   1.0000          .0000       .10000E+07
    11 'Prefactor '    3.2389       1.0000          .0000       .10000E+07
    12 'Prefactor '    .24269E-02   1.0000          .0000       .10000E+07
    13 'Prefactor '    .20650E-07   1.0000          .0000       .10000E+07
    14 'norm      '    .21050E-03   1.0000          .0000       .10000E+07
    15 'Prefactor '    .40309       1.0000          .0000       .10000E+07
    16 'Prefactor '    .26138E-03   1.0000          .0000       .10000E+07
    17 'Normalizat'    .80591       1.0000         .10000E-01   10.000    
    18 'Prefactor '    1.0782       1.0000          .0000       10.000    
 **********
 **   15 **SET ERR    .5000    
 **********
 **********
 **   16 **SET GRAD    1.000    
 **********
 **********
 **   17 **MINIMIZE    .5330E+05   .2000E-04
 **********

 MIGRAD MINIMIZATION HAS CONVERGED.

 FCN=   8551.591     FROM MIGRAD    STATUS=CONVERGED    147 CALLS     1283 TOTAL
                     EDM=   .12E-08  STRATEGY=1  ERROR MATRIX UNCERTAINTY=  1.2%

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  norm          .78001        .55870        .11671E-07    .41194E-02
   2  Prefactor     .58864E-06    92.313       -.15410E-05** at limit **
   3  Prefactor     1.1835        5.0328        .49368E-06    .79570E-03
   4  Prefactor     1.2440        26.729        .91650E-06    .34499E-02
   5  Prefactor     20.948        29.596        .19017E-06    .61408E-01
   6  norm          .79868        .63992       -.13848E-07    .10244E-02
   7  Prefactor     .61062E-09    7.6739       -.30824E-07** at limit **
   8  Prefactor     .94685E-06    67.166       -.38859E-07** at limit **
   9  Prefactor     .32111        25.439       -.27035E-06    .25337E-02
  10  norm           .0000        1.0536       -.55110E-07** at limit **
  11  Prefactor     3.2402        2.2485       -.13366E-07   -.63433E-03
  12  Prefactor     .81601E-08    6.2001       -.12530E-06** at limit **
  13  Prefactor      .0000        1.7213       -.39865E-07** at limit **
  14  norm          .13832E-05    16.410       -.32424E-06** at limit **
  15  Prefactor     .11962E-03    23.655       -.39992E-06** at limit **
  16  Prefactor     .29143E-07    16.531        .23777E-06** at limit **
  17  Normalizat    .80558        .20681        .25748E-07    .12632E-03
  18  Prefactor     1.0779        .11631       -.33083E-07    .15482E-03
                               ERR DEF=  .500    
Final values: 
  norm       = 0.780014
  Prefactor  = 5.8864e-07
  Prefactor  = 1.18352
  Prefactor  = 1.24404
  Prefactor  = 20.9482
  norm       = 0.798677
  Prefactor  = 6.10623e-10
  Prefactor  = 9.46854e-07
  Prefactor  = 0.321108
  norm       = 0
  Prefactor  = 3.24024
  Prefactor  = 8.16014e-09
  Prefactor  = 0
  norm       = 1.38317e-06
  Prefactor  = 0.000119621
  Prefactor  = 2.91434e-08
  Normalizat = 0.805577
  Prefactor  = 1.07789
file=/lscratch/kocevski/37965246/ltcube_810604801_810864001_4FGL_J0152.2+2206_daily_bin2204.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/37965246/ft2_4FGL_J0152.2+2206_daily_bin2204.fits
.....................!
real 8.33
user 7.90
sys 0.20

Generating the exposure map:
time -p gtexpmap evfile=/lscratch/kocevski/37965246/ft1_filtered_4FGL_J0152.2+2206_daily_bin2204.fits evtable="EVENTS" scfile=/lscratch/kocevski/37965246/ft2_4FGL_J0152.2+2206_daily_bin2204.fits sctable="SC_DATA" expcube=/lscratch/kocevski/37965246/ltcube_810604801_810864001_4FGL_J0152.2+2206_daily_bin2204.fits outfile=/lscratch/kocevski/37965246/expmap_810604801_810864001_4FGL_J0152.2+2206_daily_bin2204.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/37965246/ltcube_810604801_810864001_4FGL_J0152.2+2206_daily_bin2204.fits
.....................!
real 69.56
user 65.05
sys 3.97

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

Setting source of interest to:
4FGL J0152.2+2206 @ 28.0727 22.1133

Creating the counts map:
time -p gtbin evfile=/lscratch/kocevski/37965246/ft1_filtered_4FGL_J0152.2+2206_daily_bin2204.fits scfile=/lscratch/kocevski/37965246/ft2_4FGL_J0152.2+2206_daily_bin2204.fits outfile=/lscratch/kocevski/37965246/cmap_810604801_810864001_4FGL_J0152.2+2206_daily_bin2204.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=28.0727 yref=22.1133 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.23
sys 0.13

Creating the high resolution counts map:
time -p gtbin evfile=/lscratch/kocevski/37965246/ft1_filtered_4FGL_J0152.2+2206_daily_bin2204.fits scfile=/lscratch/kocevski/37965246/ft2_4FGL_J0152.2+2206_daily_bin2204.fits outfile=/lscratch/kocevski/37965246/cmap_HighResolution_810604801_810864001_4FGL_J0152.2+2206_daily_bin2204.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=28.0727 yref=22.1133 axisrot=0.0 rafield="RA" decfield="DEC" proj="AIT" hpx_ordering_scheme="RING" hpx_order=3 hpx_ebin=yes hpx_region="" evtable="EVENTS" sctable="SC_DATA" efield="ENERGY" tfield="TIME" chatter=2 clobber=yes debug=no gui=no mode="ql"

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

This is gtbin version HEAD
real 0.55
user 0.22
sys 0.14

Computing the diffuse response:
time -p gtdiffrsp evfile=/lscratch/kocevski/37965246/ft1_filtered_4FGL_J0152.2+2206_daily_bin2204.fits evtable="EVENTS" scfile=/lscratch/kocevski/37965246/ft2_4FGL_J0152.2+2206_daily_bin2204.fits sctable="SC_DATA" srcmdl=/lscratch/kocevski/37965246/Model_4FGL_J0152.2+2206_daily_bin2204.xml irfs="P8R3_SOURCE_V2" evclsmin=0 evclass="INDEF" evtype="INDEF" convert=yes chatter=2 clobber=yes debug=no gui=no mode="ql"

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

adding source EG_v02
adding source GAL_ **********
 **   18 **HESSE 
 **********

 FCN=   8551.591     FROM HESSE     STATUS=OK           288 CALLS     1571 TOTAL
                     EDM=   .13E-05    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  norm          .78001        .56055        .54456E-03   -1.5690    
   2  Prefactor     .58864E-06    92.689        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   3  Prefactor     1.1835        5.2373        .10247E-02   -1.5686    
   4  Prefactor     1.2440        27.553        .10443E-02   -1.5686    
   5  Prefactor     20.948        32.061        .22733E-03   -1.5616    
   6  norm          .79868        .64459        .53016E-03   -1.5690    
   7  Prefactor     .61062E-09    7.7248        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   8  Prefactor     .94685E-06    9.8731        .14079E-01   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   9  Prefactor     .32111        3.1984        .88949E-02   -1.5697    
  10  norm           .0000        1.0714        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  11  Prefactor     3.2402        2.2528        .56256E-03   -1.5672    
  12  Prefactor     .81601E-08    26.160        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  13  Prefactor      .0000        1.7200        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  14  norm          .13832E-05    21.707        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  15  Prefactor     .11962E-03    114.09        .89130E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  16  Prefactor     .29143E-07    17.072        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  17  Normalizat    .80558        .18400        .79555E-01   -.99862    
  18  Prefactor     1.0779        .10199        .38480E-01   -.90176    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 1.2796e-06
Minuit parameter uncertainties:
  1  0.560552
  2  0.0147733
  3  4.97935
  4  11.7093
  5  32.061
  6  0.644585
  7  0.000140349
  8  0.00611501
  9  2.02685
  10  4.73835e-06
  11  2.25282
  12  0.00092524
  13  3.8752e-07
  14  0.0109589
  15  0.233645
  16  0.00141058
  17  0.184138
  18  0.102004
file=/lscratch/kocevski/37965269/ltcube_810604801_810864001_4FGL_J0152.2+2206_daily_bin2204.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/37965269/ft2_4FGL_J0152.2+2206_daily_bin2204.fits
.....................!
real 8.36
user 7.92
sys 0.22

Generating the exposure map:
time -p gtexpmap evfile=/lscratch/kocevski/37965269/ft1_filtered_4FGL_J0152.2+2206_daily_bin2204.fits evtable="EVENTS" scfile=/lscratch/kocevski/37965269/ft2_4FGL_J0152.2+2206_daily_bin2204.fits sctable="SC_DATA" expcube=/lscratch/kocevski/37965269/ltcube_810604801_810864001_4FGL_J0152.2+2206_daily_bin2204.fits outfile=/lscratch/kocevski/37965269/expmap_810604801_810864001_4FGL_J0152.2+2206_daily_bin2204.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/37965269/ltcube_810604801_810864001_4FGL_J0152.2+2206_daily_bin2204.fits
.....................!
real 69.27
user 64.94
sys 3.77

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

Setting source of interest to:
4FGL J0152.2+2206 @ 28.0727 22.1133

Creating the counts map:
time -p gtbin evfile=/lscratch/kocevski/37965269/ft1_filtered_4FGL_J0152.2+2206_daily_bin2204.fits scfile=/lscratch/kocevski/37965269/ft2_4FGL_J0152.2+2206_daily_bin2204.fits outfile=/lscratch/kocevski/37965269/cmap_810604801_810864001_4FGL_J0152.2+2206_daily_bin2204.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=28.0727 yref=22.1133 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.58
user 0.24
sys 0.13

Creating the high resolution counts map:
time -p gtbin evfile=/lscratch/kocevski/37965269/ft1_filtered_4FGL_J0152.2+2206_daily_bin2204.fits scfile=/lscratch/kocevski/37965269/ft2_4FGL_J0152.2+2206_daily_bin2204.fits outfile=/lscratch/kocevski/37965269/cmap_HighResolution_810604801_810864001_4FGL_J0152.2+2206_daily_bin2204.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=28.0727 yref=22.1133 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.58
user 0.24
sys 0.12

Computing the diffuse response:
time -p gtdiffrsp evfile=/lscratch/kocevski/37965269/ft1_filtered_4FGL_J0152.2+2206_daily_bin2204.fits evtable="EVENTS" scfile=/lscratch/kocevski/37965269/ft2_4FGL_J0152.2+2206_daily_bin2204.fits sctable="SC_DATA" srcmdl=/lscratch/kocevski/37965269/Model_4FGL_J0152.2+2206_daily_bin2204.xml irfs="P8R3_SOURCE_V2" evclsmin=0 evclass="INDEF" evtype="INDEF" convert=yes chatter=2 clobber=yes debug=no gui=no mode="ql"

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

adding source EG_v02
adding source GAL_Done.

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

Extracting fit parameters...

4FGL J0152.2+2206
   Spectrum: PowerLaw
218    Prefactor:  6.106e-10  1.403e-04  0.000e+00  1.000e+06 ( 1.000e-12)
219        Index:  2.677e+00  0.000e+00  0.000e+00  1.000e+01 (-1.000e+00) fixed
220        Scale:  5.002e+02  0.000e+00  3.000e+01  5.000e+05 ( 1.000e+00) fixed

GAL_V02
   Spectrum: PowerLaw
530    Prefactor:  1.078e+00  1.020e-01  0.000e+00  1.000e+01 ( 1.000e+00)
531        Index:  0.000e+00  0.000e+00 -1.000e+00  1.000e+00 ( 1.000e+00) fixed
532        Scale:  1.000e+02  0.000e+00  5.000e+01  2.000e+02 ( 1.000e+00) fixed

EG_v02
   Spectrum: FileFunction
529   Normalization:  8.056e-01  1.841e-01  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Fixed Index): -0.00
Ra Dec: 28.073 22.113
Photon Flux Upper Limit: 9.00309704375e-08 ph cm-2 s-1
Energy Flux Upper Limit: 0.00707832194189 MeV cm-2 s-1

Saving results to:
/lscratch/kocevski/37965108/likelihoodResults_810604801_810864001_4FGL_J0152.2+2206_daily_bin2204.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) = 8551.59081943
delta logL = -0.000159523024195

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

MINUIT Return Code (Free Index): 102
logL (Free Index) = 8551.59065997
delta logL = -6.88451109454e-08

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'Prefactor '    .16803E-06   1.0000          .0000       .10000E+07
     2 'Index     '    2.0474       1.0000          .0000       10.000    
     3 'Normalizat'    .80555       1.0000         .10000E-01   10.000    
     4 'Prefactor '    1.0779       1.0000          .0000       10.000    
 **********
 **   15 **SET ERR    .5000    
 **********
 **********
 **   16 **SET GRAD    1.000    
 **********
 **********
 **   17 **MINIMIZE    .5330E+05   .2000E-04
 **********

 MIGRAD MINIMIZATION HAS CONVERGED.

 FCN=   8551.591     FROM MIGRAD    STATUS=CONVERGED     33 CALLS      252 TOTAL
                     EDM=   .56E-11  STRATEGY=1  ERROR MATRIX UNCERTAINTY=  2.5%

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor      .0000        7.4813        .22541E-06** at limit **
   2  Index         3.9216        3.8499       -.32248E-04     .0000    
   3  Normalizat    .80558        .20090        .40697E-05    .14868E-04
   4  Prefactor     1.0779        .11472       -.20633E-06    .10512E-03
                               ERR DEF=  .500    
Final values: 
  Prefactor  = 0
  Index      = 3.92164
  Normalizat = 0.805575
  Prefactor  = 1.07789
 **********
 **   18 **HESSE 
 **********
  MNHESS FAILS AND WILL RETURN DIAGONAL MATRIX. 

 FCN=   8551.591     FROM HESSE     STATUS=FAILED        11 CALLS      263 TOTAL
                     EDM=   .56E-11  STRATEGY=1  ERROR MATRIX UNCERTAINTY=100.0%

  EXT PARAMETER                APPROXIMATE     INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  Prefactor      .0000        7.2455        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   2  Index         1.6754        2.2811       -.32248E-04   -.21738    
   3  Normalizat    .80558        1.1442        .40697E-05   -.99862    
   4  Prefactor     1.0779        1.1645       -.20633E-06   -.90176    
                               ERR DEF=  .500    
Minuit fit quality: 1   estimated distance: 5.59191e-12
Minuit parameter uncertainties:
  1  1.35594e-05
  2  1.24613
  3  1.18144
  4  1.19377
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) = 8551.5906599
delta logL = 4.91127138957e-11

Extracting fit parameters...

4FGL J0152.2+2206
   Spectrum: PowerLaw
218    Prefactor:  0.000e+00  1.356e-05  0.000e+00  1.000e+06 ( 1.000e-12)
219        Index:  3.922e+00  1.246e+00  0.000e+00  1.000e+01 (-1.000e+00)
220        Scale:  5.002e+02  0.000e+00  3.000e+01  5.000e+05 ( 1.000e+00) fixed

GAL_V02
   Spectrum: PowerLaw
530    Prefactor:  1.078e+00  1.194e+00  0.000e+00  1.000e+01 ( 1.000e+00)
531        Index:  0.000e+00  0.000e+00 -1.000e+00  1.000e+00 ( 1.000e+00) fixed
532        Scale:  1.000e+02  0.000e+00  5.000e+01  2.000e+02 ( 1.000e+00) fixed

EG_v02
   Spectrum: FileFunction
529   Normalization:  8.056e-01  1.181e+00  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Free Index): -0.00
Ra Dec: 28.073 22.113

Creating a high resolution counts map...
INFO: Auto-setting vmin to -1.000e-01 [aplpy.core]
INFO: Auto-setting vmax to  1.110e+00 [aplpy.core]
Saving /lscratch/kocevski/37965108/cmap_HighResolution_810604801_810864001_4FGL_J0152.2+2206_daily_bin2204.png

Cleaning up...

** Nuclear option initiated! **

Updating database...

UPDATE lightcurve_data_v2 SET energy_flux_upper_limit='7.08e-03', job_status='DONE', photon_flux_upper_limit='9.00e-08', time_completed='2026-09-12 01:27:51.204763', job_id='37965108', GAL2='1.08', fit_tolerance='1e-08', EG2='0.81', EG='0.81', time_epoch_completed='1789201671.2', return_code2='101', ts='-0.00', comment='SUCCESS', return_code='0', GAL='1.08', dlogl='4.91e-11', ts2='0.00', photon_index_error='0.00', photon_index='2.68' WHERE bin_id='2204' AND source_name='4FGL J0152.2+2206' AND cadence='daily';

Database successfully updated.


Analysis Complete.


Sat Sep 12 01:27:51 PDT 2026

_V02
Working on...
/lscratch/kocevski/37965232/ft1_filtered_4FGL_J0152.2+2206_daily_bin2204.fits.....................!
real 37.96
user 36.56
sys 0.78

Creating the likelihood object...
obs = UnbinnedObs('/lscratch/kocevski/37965232/ft1_filtered_4FGL_J0152.2+2206_daily_bin2204.fits', '/lscratch/kocevski/37965232/ft2_4FGL_J0152.2+2206_daily_bin2204.fits', expMap='/lscratch/kocevski/37965232/expmap_810604801_810864001_4FGL_J0152.2+2206_daily_bin2204.fits', expCube='/lscratch/kocevski/37965232/ltcube_810604801_810864001_4FGL_J0152.2+2206_daily_bin2204.fits', irfs='P8R3_SOURCE_V2')
like = UnbinnedAnalysis(obs, '/lscratch/kocevski/37965232/Model_4FGL_J0152.2+2206_daily_bin2204.xml', optimizer='MINUIT')

Using source of interest name: '4FGL J0152.2+2206'

4FGL J0152.2+2206
   Spectrum: PowerLaw
218    Prefactor:  3.965e+00  0.000e+00  0.000e+00  1.000e+06 ( 1.000e-12)
219        Index:  2.677e+00  0.000e+00  0.000e+00  1.000e+01 (-1.000e+00) fixed
220        Scale:  5.002e+02  0.000e+00  3.000e+01  5.000e+05 ( 1.000e+00) fixed


Likelihood Fit Parameters:
Event file(s): /lscratch/kocevski/37965232/ft1_filtered_4FGL_J0152.2+2206_daily_bin2204.fits
Spacecraft file(s): /lscratch/kocevski/37965232/ft2_4FGL_J0152.2+2206_daily_bin2204.fits
Exposure map: /lscratch/kocevski/37965232/expmap_810604801_810864001_4FGL_J0152.2+2206_daily_bin2204.fits
Exposure cube: /lscratch/kocevski/37965232/ltcube_810604801_810864001_4FGL_J0152.2+2206_daily_bin2204.fits
IRFs: P8R3_SOURCE_V2
Source model file: /lscratch/kocevski/37965232/Model_4FGL_J0152.2+2206_daily_bin2204.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) = 8551.65248225

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

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

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'norm      '    .77976       1.0000          .0000       .10000E+07
     2 'Prefactor '    .82319E-02   1.0000          .0000       .10000E+07
     3 'Prefactor '    1.2149       1.0000          .0000       .10000E+07
     4 'Prefactor '    1.1896       1.0000          .0000       .10000E+07
     5 'Prefactor '    19.363       1.0000          .0000       .10000E+07
     6 'norm      '    .79892       1.0000          .0000       .10000E+07
     7 'Prefactor '    .10791E-06   1.0000          .0000       .10000E+07
     8 'Prefactor '    .94502E-01   1.0000          .0000       .10000E+07
     9 'Prefactor '    .17508       1.0000          .0000       .10000E+07
    10 'norm      '    .91704E-07   1.0000          .0000       .10000E+07
    11 'Prefactor '    3.2389       1.0000          .0000       .10000E+07
    12 'Prefactor '    .24269E-02   1.0000          .0000       .10000E+07
    13 'Prefactor '    .20650E-07   1.0000          .0000       .10000E+07
    14 'norm      '    .21050E-03   1.0000          .0000       .10000E+07
    15 'Prefactor '    .40309       1.0000          .0000       .10000E+07
    16 'Prefactor '    .26138E-03   1.0000          .0000       .10000E+07
    17 'Normalizat'    .80591       1.0000         .10000E-01   10.000    
    18 'Prefactor '    1.0782       1.0000          .0000       10.000    
 **********
 **   15 **SET ERR    .5000    
 **********
 **********
 **   16 **SET GRAD    1.000    
 **********
 **********
 **   17 **MINIMIZE    .5330E+05   .2000E-04
 **********

 MIGRAD MINIMIZATION HAS CONVERGED.

 FCN=   8551.591     FROM MIGRAD    STATUS=CONVERGED    147 CALLS     1283 TOTAL
                     EDM=   .12E-08  STRATEGY=1  ERROR MATRIX UNCERTAINTY=  1.2%

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  norm          .78001        .55870        .11671E-07    .41194E-02
   2  Prefactor     .58864E-06    92.313       -.15410E-05** at limit **
   3  Prefactor     1.1835        5.0328        .49368E-06    .79570E-03
   4  Prefactor     1.2440        26.729        .91650E-06    .34499E-02
   5  Prefactor     20.948        29.596        .19017E-06    .61408E-01
   6  norm          .79868        .63992       -.13848E-07    .10244E-02
   7  Prefactor     .61062E-09    7.6739       -.30824E-07** at limit **
   8  Prefactor     .94685E-06    67.166       -.38859E-07** at limit **
   9  Prefactor     .32111        25.439       -.27035E-06    .25337E-02
  10  norm           .0000        1.0536       -.55110E-07** at limit **
  11  Prefactor     3.2402        2.2485       -.13366E-07   -.63433E-03
  12  Prefactor     .81601E-08    6.2001       -.12530E-06** at limit **
  13  Prefactor      .0000        1.7213       -.39865E-07** at limit **
  14  norm          .13832E-05    16.410       -.32424E-06** at limit **
  15  Prefactor     .11962E-03    23.655       -.39992E-06** at limit **
  16  Prefactor     .29143E-07    16.531        .23777E-06** at limit **
  17  Normalizat    .80558        .20681        .25748E-07    .12632E-03
  18  Prefactor     1.0779        .11631       -.33083E-07    .15482E-03
                               ERR DEF=  .500    
Final values: 
  norm       = 0.780014
  Prefactor  = 5.8864e-07
  Prefactor  = 1.18352
  Prefactor  = 1.24404
  Prefactor  = 20.9482
  norm       = 0.798677
  Prefactor  = 6.10623e-10
  Prefactor  = 9.46854e-07
  Prefactor  = 0.321108
  norm       = 0
  Prefactor  = 3.24024
  Prefactor  = 8.16014e-09
  Prefactor  = 0
  norm       = 1.38317e-06
  Prefactor  = 0.000119621
  Prefactor  = 2.91434e-08
  Normalizat = 0.805577
  Prefactor  = 1.07789
V02
Working on...
/lscratch/kocevski/37965246/ft1_filtered_4FGL_J0152.2+2206_daily_bin2204.fits.....................!
real 37.56
user 36.22
sys 0.88

Creating the likelihood object...
obs = UnbinnedObs('/lscratch/kocevski/37965246/ft1_filtered_4FGL_J0152.2+2206_daily_bin2204.fits', '/lscratch/kocevski/37965246/ft2_4FGL_J0152.2+2206_daily_bin2204.fits', expMap='/lscratch/kocevski/37965246/expmap_810604801_810864001_4FGL_J0152.2+2206_daily_bin2204.fits', expCube='/lscratch/kocevski/37965246/ltcube_810604801_810864001_4FGL_J0152.2+2206_daily_bin2204.fits', irfs='P8R3_SOURCE_V2')
like = UnbinnedAnalysis(obs, '/lscratch/kocevski/37965246/Model_4FGL_J0152.2+2206_daily_bin2204.xml', optimizer='MINUIT')

Using source of interest name: '4FGL J0152.2+2206'

4FGL J0152.2+2206
   Spectrum: PowerLaw
218    Prefactor:  3.965e+00  0.000e+00  0.000e+00  1.000e+06 ( 1.000e-12)
219        Index:  2.677e+00  0.000e+00  0.000e+00  1.000e+01 (-1.000e+00) fixed
220        Scale:  5.002e+02  0.000e+00  3.000e+01  5.000e+05 ( 1.000e+00) fixed


Likelihood Fit Parameters:
Event file(s): /lscratch/kocevski/37965246/ft1_filtered_4FGL_J0152.2+2206_daily_bin2204.fits
Spacecraft file(s): /lscratch/kocevski/37965246/ft2_4FGL_J0152.2+2206_daily_bin2204.fits
Exposure map: /lscratch/kocevski/37965246/expmap_810604801_810864001_4FGL_J0152.2+2206_daily_bin2204.fits
Exposure cube: /lscratch/kocevski/37965246/ltcube_810604801_810864001_4FGL_J0152.2+2206_daily_bin2204.fits
IRFs: P8R3_SOURCE_V2
Source model file: /lscratch/kocevski/37965246/Model_4FGL_J0152.2+2206_daily_bin2204.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) = 8551.65248225

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

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

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'norm      '    .77976       1.0000          .0000       .10000E+07
     2 'Prefactor '    .82319E-02   1.0000          .0000       .10000E+07
     3 'Prefactor '    1.2149       1.0000          .0000       .10000E+07
     4 'Prefactor '    1.1896       1.0000          .0000       .10000E+07
     5 'Prefactor '    19.363       1.0000          .0000       .10000E+07
     6 'norm      '    .79892       1.0000          .0000       .10000E+07
     7 'Prefactor '    .10791E-06   1.0000          .0000       .10000E+07
     8 'Prefactor '    .94502E-01   1.0000          .0000       .10000E+07
     9 'Prefactor '    .17508       1.0000          .0000       .10000E+07
    10 'norm      '    .91704E-07   1.0000          .0000       .10000E+07
    11 'Prefactor '    3.2389       1.0000          .0000       .10000E+07
    12 'Prefactor '    .24269E-02   1.0000          .0000       .10000E+07
    13 'Prefactor '    .20650E-07   1.0000          .0000       .10000E+07
    14 'norm      '    .21050E-03   1.0000          .0000       .10000E+07
    15 'Prefactor '    .40309       1.0000          .0000       .10000E+07
    16 'Prefactor '    .26138E-03   1.0000          .0000       .10000E+07
    17 'Normalizat'    .80591       1.0000         .10000E-01   10.000    
    18 'Prefactor '    1.0782       1.0000          .0000       10.000    
 **********
 **   15 **SET ERR    .5000    
 **********
 **********
 **   16 **SET GRAD    1.000    
 **********
 **********
 **   17 **MINIMIZE    .5330E+05   .2000E-04
 **********

 MIGRAD MINIMIZATION HAS CONVERGED.

 FCN=   8551.591     FROM MIGRAD    STATUS=CONVERGED    147 CALLS     1283 TOTAL
                     EDM=   .12E-08  STRATEGY=1  ERROR MATRIX UNCERTAINTY=  1.2%

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  norm          .78001        .55870        .11671E-07    .41194E-02
   2  Prefactor     .58864E-06    92.313       -.15410E-05** at limit **
   3  Prefactor     1.1835        5.0328        .49368E-06    .79570E-03
   4  Prefactor     1.2440        26.729        .91650E-06    .34499E-02
   5  Prefactor     20.948        29.596        .19017E-06    .61408E-01
   6  norm          .79868        .63992       -.13848E-07    .10244E-02
   7  Prefactor     .61062E-09    7.6739       -.30824E-07** at limit **
   8  Prefactor     .94685E-06    67.166       -.38859E-07** at limit **
   9  Prefactor     .32111        25.439       -.27035E-06    .25337E-02
  10  norm           .0000        1.0536       -.55110E-07** at limit **
  11  Prefactor     3.2402        2.2485       -.13366E-07   -.63433E-03
  12  Prefactor     .81601E-08    6.2001       -.12530E-06** at limit **
  13  Prefactor      .0000        1.7213       -.39865E-07** at limit **
  14  norm          .13832E-05    16.410       -.32424E-06** at limit **
  15  Prefactor     .11962E-03    23.655       -.39992E-06** at limit **
  16  Prefactor     .29143E-07    16.531        .23777E-06** at limit **
  17  Normalizat    .80558        .20681        .25748E-07    .12632E-03
  18  Prefactor     1.0779        .11631       -.33083E-07    .15482E-03
                               ERR DEF=  .500    
Final values: 
  norm       = 0.780014
  Prefactor  = 5.8864e-07
  Prefactor  = 1.18352
  Prefactor  = 1.24404
  Prefactor  = 20.9482
  norm       = 0.798677
  Prefactor  = 6.10623e-10
  Prefactor  = 9.46854e-07
  Prefactor  = 0.321108
  norm       = 0
  Prefactor  = 3.24024
  Prefactor  = 8.16014e-09
  Prefactor  = 0
  norm       = 1.38317e-06
  Prefactor  = 0.000119621
  Prefactor  = 2.91434e-08
  Normalizat = 0.805577
  Prefactor  = 1.07789
 **********
 **   18 **HESSE 
 **********

 FCN=   8551.591     FROM HESSE     STATUS=OK           288 CALLS     1571 TOTAL
                     EDM=   .13E-05    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  norm          .78001        .56055        .54456E-03   -1.5690    
   2  Prefactor     .58864E-06    92.689        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   3  Prefactor     1.1835        5.2373        .10247E-02   -1.5686    
   4  Prefactor     1.2440        27.553        .10443E-02   -1.5686    
   5  Prefactor     20.948        32.061        .22733E-03   -1.5616    
   6  norm          .79868        .64459        .53016E-03   -1.5690    
   7  Prefactor     .61062E-09    7.7248        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   8  Prefactor     .94685E-06    9.8731        .14079E-01   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   9  Prefactor     .32111        3.1984        .88949E-02   -1.5697    
  10  norm           .0000        1.0714        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  11  Prefactor     3.2402        2.2528        .56256E-03   -1.5672    
  12  Prefactor     .81601E-08    26.160        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  13  Prefactor      .0000        1.7200        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  14  norm          .13832E-05    21.707        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  15  Prefactor     .11962E-03    114.09        .89130E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  16  Prefactor     .29143E-07    17.072        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  17  Normalizat    .80558        .18400        .79555E-01   -.99862    
  18  Prefactor     1.0779        .10199        .38480E-01   -.90176    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 1.2796e-06
Minuit parameter uncertainties:
  1  0.560552
  2  0.0147733
  3  4.97935
  4  11.7093
  5  32.061
  6  0.644585
  7  0.000140349
  8  0.00611501
  9  2.02685
  10  4.73835e-06
  11  2.25282
  12  0.00092524
  13  3.8752e-07
  14  0.0109589
  15  0.233645
  16  0.00141058
  17  0.184138
  18  0.102004
 **********
 **   18 **HESSE 
 **********

 FCN=   8551.591     FROM HESSE     STATUS=OK           288 CALLS     1571 TOTAL
                     EDM=   .13E-05    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  norm          .78001        .56055        .54456E-03   -1.5690    
   2  Prefactor     .58864E-06    92.689        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   3  Prefactor     1.1835        5.2373        .10247E-02   -1.5686    
   4  Prefactor     1.2440        27.553        .10443E-02   -1.5686    
   5  Prefactor     20.948        32.061        .22733E-03   -1.5616    
   6  norm          .79868        .64459        .53016E-03   -1.5690    
   7  Prefactor     .61062E-09    7.7248        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   8  Prefactor     .94685E-06    9.8731        .14079E-01   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   9  Prefactor     .32111        3.1984        .88949E-02   -1.5697    
  10  norm           .0000        1.0714        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  11  Prefactor     3.2402        2.2528        .56256E-03   -1.5672    
  12  Prefactor     .81601E-08    26.160        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  13  Prefactor      .0000        1.7200        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  14  norm          .13832E-05    21.707        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  15  Prefactor     .11962E-03    114.09        .89130E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  16  Prefactor     .29143E-07    17.072        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  17  Normalizat    .80558        .18400        .79555E-01   -.99862    
  18  Prefactor     1.0779        .10199        .38480E-01   -.90176    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 1.2796e-06
Minuit parameter uncertainties:
  1  0.560552
  2  0.0147733
  3  4.97935
  4  11.7093
  5  32.061
  6  0.644585
  7  0.000140349
  8  0.00611501
  9  2.02685
  10  4.73835e-06
  11  2.25282
  12  0.00092524
  13  3.8752e-07
  14  0.0109589
  15  0.233645
  16  0.00141058
  17  0.184138
  18  0.102004
V02
Working on...
/lscratch/kocevski/37965269/ft1_filtered_4FGL_J0152.2+2206_daily_bin2204.fits.....................!
real 36.87
user 35.42
sys 0.91

Creating the likelihood object...
obs = UnbinnedObs('/lscratch/kocevski/37965269/ft1_filtered_4FGL_J0152.2+2206_daily_bin2204.fits', '/lscratch/kocevski/37965269/ft2_4FGL_J0152.2+2206_daily_bin2204.fits', expMap='/lscratch/kocevski/37965269/expmap_810604801_810864001_4FGL_J0152.2+2206_daily_bin2204.fits', expCube='/lscratch/kocevski/37965269/ltcube_810604801_810864001_4FGL_J0152.2+2206_daily_bin2204.fits', irfs='P8R3_SOURCE_V2')
like = UnbinnedAnalysis(obs, '/lscratch/kocevski/37965269/Model_4FGL_J0152.2+2206_daily_bin2204.xml', optimizer='MINUIT')

Using source of interest name: '4FGL J0152.2+2206'

4FGL J0152.2+2206
   Spectrum: PowerLaw
218    Prefactor:  3.965e+00  0.000e+00  0.000e+00  1.000e+06 ( 1.000e-12)
219        Index:  2.677e+00  0.000e+00  0.000e+00  1.000e+01 (-1.000e+00) fixed
220        Scale:  5.002e+02  0.000e+00  3.000e+01  5.000e+05 ( 1.000e+00) fixed


Likelihood Fit Parameters:
Event file(s): /lscratch/kocevski/37965269/ft1_filtered_4FGL_J0152.2+2206_daily_bin2204.fits
Spacecraft file(s): /lscratch/kocevski/37965269/ft2_4FGL_J0152.2+2206_daily_bin2204.fits
Exposure map: /lscratch/kocevski/37965269/expmap_810604801_810864001_4FGL_J0152.2+2206_daily_bin2204.fits
Exposure cube: /lscratch/kocevski/37965269/ltcube_810604801_810864001_4FGL_J0152.2+2206_daily_bin2204.fits
IRFs: P8R3_SOURCE_V2
Source model file: /lscratch/kocevski/37965269/Model_4FGL_J0152.2+2206_daily_bin2204.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) = 8551.65248225

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

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

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'norm      '    .77976       1.0000          .0000       .10000E+07
     2 'Prefactor '    .82319E-02   1.0000          .0000       .10000E+07
     3 'Prefactor '    1.2149       1.0000          .0000       .10000E+07
     4 'Prefactor '    1.1896       1.0000          .0000       .10000E+07
     5 'Prefactor '    19.363       1.0000          .0000       .10000E+07
     6 'norm      '    .79892       1.0000          .0000       .10000E+07
     7 'Prefactor '    .10791E-06   1.0000          .0000       .10000E+07
     8 'Prefactor '    .94502E-01   1.0000          .0000       .10000E+07
     9 'Prefactor '    .17508       1.0000          .0000       .10000E+07
    10 'norm      '    .91704E-07   1.0000          .0000       .10000E+07
    11 'Prefactor '    3.2389       1.0000          .0000       .10000E+07
    12 'Prefactor '    .24269E-02   1.0000          .0000       .10000E+07
    13 'Prefactor '    .20650E-07   1.0000          .0000       .10000E+07
    14 'norm      '    .21050E-03   1.0000          .0000       .10000E+07
    15 'Prefactor '    .40309       1.0000          .0000       .10000E+07
    16 'Prefactor '    .26138E-03   1.0000          .0000       .10000E+07
    17 'Normalizat'    .80591       1.0000         .10000E-01   10.000    
    18 'Prefactor '    1.0782       1.0000          .0000       10.000    
 **********
 **   15 **SET ERR    .5000    
 **********
 **********
 **   16 **SET GRAD    1.000    
 **********
 **********
 **   17 **MINIMIZE    .5330E+05   .2000E-04
 **********

 MIGRAD MINIMIZATION HAS CONVERGED.

 FCN=   8551.591     FROM MIGRAD    STATUS=CONVERGED    147 CALLS     1283 TOTAL
                     EDM=   .12E-08  STRATEGY=1  ERROR MATRIX UNCERTAINTY=  1.2%

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  norm          .78001        .55870        .11671E-07    .41194E-02
   2  Prefactor     .58864E-06    92.313       -.15410E-05** at limit **
   3  Prefactor     1.1835        5.0328        .49368E-06    .79570E-03
   4  Prefactor     1.2440        26.729        .91650E-06    .34499E-02
   5  Prefactor     20.948        29.596        .19017E-06    .61408E-01
   6  norm          .79868        .63992       -.13848E-07    .10244E-02
   7  Prefactor     .61062E-09    7.6739       -.30824E-07** at limit **
   8  Prefactor     .94685E-06    67.166       -.38859E-07** at limit **
   9  Prefactor     .32111        25.439       -.27035E-06    .25337E-02
  10  norm           .0000        1.0536       -.55110E-07** at limit **
  11  Prefactor     3.2402        2.2485       -.13366E-07   -.63433E-03
  12  Prefactor     .81601E-08    6.2001       -.12530E-06** at limit **
  13  Prefactor      .0000        1.7213       -.39865E-07** at limit **
  14  norm          .13832E-05    16.410       -.32424E-06** at limit **
  15  Prefactor     .11962E-03    23.655       -.39992E-06** at limit **
  16  Prefactor     .29143E-07    16.531        .23777E-06** at limit **
  17  Normalizat    .80558        .20681        .25748E-07    .12632E-03
  18  Prefactor     1.0779        .11631       -.33083E-07    .15482E-03
                               ERR DEF=  .500    
Final values: 
  norm       = 0.780014
  Prefactor  = 5.8864e-07
  Prefactor  = 1.18352
  Prefactor  = 1.24404
  Prefactor  = 20.9482
  norm       = 0.798677
  Prefactor  = 6.10623e-10
  Prefactor  = 9.46854e-07
  Prefactor  = 0.321108
  norm       = 0
  Prefactor  = 3.24024
  Prefactor  = 8.16014e-09
  Prefactor  = 0
  norm       = 1.38317e-06
  Prefactor  = 0.000119621
  Prefactor  = 2.91434e-08
  Normalizat = 0.805577
  Prefactor  = 1.07789
 **********
 **   18 **HESSE 
 **********

 FCN=   8551.591     FROM HESSE     STATUS=OK           288 CALLS     1571 TOTAL
                     EDM=   .13E-05    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  norm          .78001        .56055        .54456E-03   -1.5690    
   2  Prefactor     .58864E-06    92.689        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   3  Prefactor     1.1835        5.2373        .10247E-02   -1.5686    
   4  Prefactor     1.2440        27.553        .10443E-02   -1.5686    
   5  Prefactor     20.948        32.061        .22733E-03   -1.5616    
   6  norm          .79868        .64459        .53016E-03   -1.5690    
   7  Prefactor     .61062E-09    7.7248        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   8  Prefactor     .94685E-06    9.8731        .14079E-01   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   9  Prefactor     .32111        3.1984        .88949E-02   -1.5697    
  10  norm           .0000        1.0714        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  11  Prefactor     3.2402        2.2528        .56256E-03   -1.5672    
  12  Prefactor     .81601E-08    26.160        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  13  Prefactor      .0000        1.7200        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  14  norm          .13832E-05    21.707        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  15  Prefactor     .11962E-03    114.09        .89130E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  16  Prefactor     .29143E-07    17.072        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  17  Normalizat    .80558        .18400        .79555E-01   -.99862    
  18  Prefactor     1.0779        .10199        .38480E-01   -.90176    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 1.2796e-06
Minuit parameter uncertainties:
  1  0.560552
  2  0.0147733
  3  4.97935
  4  11.7093
  5  32.061
  6  0.644585
  7  0.000140349
  8  0.00611501
  9  2.02685
  10  4.73835e-06
  11  2.25282
  12  0.00092524
  13  3.8752e-07
  14  0.0109589
  15  0.233645
  16  0.00141058
  17  0.184138
  18  0.102004
Done.

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

Extracting fit parameters...

4FGL J0152.2+2206
   Spectrum: PowerLaw
218    Prefactor:  6.106e-10  1.403e-04  0.000e+00  1.000e+06 ( 1.000e-12)
219        Index:  2.677e+00  0.000e+00  0.000e+00  1.000e+01 (-1.000e+00) fixed
220        Scale:  5.002e+02  0.000e+00  3.000e+01  5.000e+05 ( 1.000e+00) fixed

GAL_V02
   Spectrum: PowerLaw
530    Prefactor:  1.078e+00  1.020e-01  0.000e+00  1.000e+01 ( 1.000e+00)
531        Index:  0.000e+00  0.000e+00 -1.000e+00  1.000e+00 ( 1.000e+00) fixed
532        Scale:  1.000e+02  0.000e+00  5.000e+01  2.000e+02 ( 1.000e+00) fixed

EG_v02
   Spectrum: FileFunction
529   Normalization:  8.056e-01  1.841e-01  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Fixed Index): -0.00
Ra Dec: 28.073 22.113
Photon Flux Upper Limit: 9.00309704375e-08 ph cm-2 s-1
Energy Flux Upper Limit: 0.00707832194189 MeV cm-2 s-1

Saving results to:
/lscratch/kocevski/37965232/likelihoodResults_810604801_810864001_4FGL_J0152.2+2206_daily_bin2204.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) = 8551.59081943
delta logL = -0.000159523024195

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

MINUIT Return Code (Free Index): 102
logL (Free Index) = 8551.59065997
delta logL = -6.88451109454e-08

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'Prefactor '    .16803E-06   1.0000          .0000       .10000E+07
     2 'Index     '    2.0474       1.0000          .0000       10.000    
     3 'Normalizat'    .80555       1.0000         .10000E-01   10.000    
     4 'Prefactor '    1.0779       1.0000          .0000       10.000    
 **********
 **   15 **SET ERR    .5000    
 **********
 **********
 **   16 **SET GRAD    1.000    
 **********
 **********
 **   17 **MINIMIZE    .5330E+05   .2000E-04
 **********

 MIGRAD MINIMIZATION HAS CONVERGED.

 FCN=   8551.591     FROM MIGRAD    STATUS=CONVERGED     33 CALLS      252 TOTAL
                     EDM=   .56E-11  STRATEGY=1  ERROR MATRIX UNCERTAINTY=  2.5%

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor      .0000        7.4813        .22541E-06** at limit **
   2  Index         3.9216        3.8499       -.32248E-04     .0000    
   3  Normalizat    .80558        .20090        .40697E-05    .14868E-04
   4  Prefactor     1.0779        .11472       -.20633E-06    .10512E-03
                               ERR DEF=  .500    
Final values: 
  Prefactor  = 0
  Index      = 3.92164
  Normalizat = 0.805575
  Prefactor  = 1.07789
 **********
 **   18 **HESSE 
 **********
  MNHESS FAILS AND WILL RETURN DIAGONAL MATRIX. 

 FCN=   8551.591     FROM HESSE     STATUS=FAILED        11 CALLS      263 TOTAL
                     EDM=   .56E-11  STRATEGY=1  ERROR MATRIX UNCERTAINTY=100.0%

  EXT PARAMETER                APPROXIMATE     INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  Prefactor      .0000        7.2455        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   2  Index         1.6754        2.2811       -.32248E-04   -.21738    
   3  Normalizat    .80558        1.1442        .40697E-05   -.99862    
   4  Prefactor     1.0779        1.1645       -.20633E-06   -.90176    
                               ERR DEF=  .500    
Minuit fit quality: 1   estimated distance: 5.59191e-12
Minuit parameter uncertainties:
  1  1.35594e-05
  2  1.24613
  3  1.18144
  4  1.19377
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) = 8551.5906599
delta logL = 4.91127138957e-11

Extracting fit parameters...

4FGL J0152.2+2206
   Spectrum: PowerLaw
218    Prefactor:  0.000e+00  1.356e-05  0.000e+00  1.000e+06 ( 1.000e-12)
219        Index:  3.922e+00  1.246e+00  0.000e+00  1.000e+01 (-1.000e+00)
220        Scale:  5.002e+02  0.000e+00  3.000e+01  5.000e+05 ( 1.000e+00) fixed

GAL_V02
   Spectrum: PowerLaw
530    Prefactor:  1.078e+00  1.194e+00  0.000e+00  1.000e+01 ( 1.000e+00)
531        Index:  0.000e+00  0.000e+00 -1.000e+00  1.000e+00 ( 1.000e+00) fixed
532        Scale:  1.000e+02  0.000e+00  5.000e+01  2.000e+02 ( 1.000e+00) fixed

EG_v02
   Spectrum: FileFunction
529   Normalization:  8.056e-01  1.181e+00  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Free Index): -0.00
Ra Dec: 28.073 22.113

Creating a high resolution counts map...
INFO: Auto-setting vmin to -1.000e-01 [aplpy.core]
INFO: Auto-setting vmax to  1.110e+00 [aplpy.core]
Saving /lscratch/kocevski/37965232/cmap_HighResolution_810604801_810864001_4FGL_J0152.2+2206_daily_bin2204.png

Cleaning up...

** Nuclear option initiated! **

Updating database...

UPDATE lightcurve_data_v2 SET energy_flux_upper_limit='7.08e-03', job_status='DONE', photon_flux_upper_limit='9.00e-08', time_completed='2026-09-12 01:28:52.680569', job_id='37965232', GAL2='1.08', fit_tolerance='1e-08', EG2='0.81', EG='0.81', time_epoch_completed='1789201732.68', return_code2='101', ts='-0.00', comment='SUCCESS', return_code='0', GAL='1.08', dlogl='4.91e-11', ts2='0.00', photon_index_error='0.00', photon_index='2.68' WHERE bin_id='2204' AND source_name='4FGL J0152.2+2206' AND cadence='daily';

Database successfully updated.


Analysis Complete.


Sat Sep 12 01:28:52 PDT 2026

Done.

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

Extracting fit parameters...

4FGL J0152.2+2206
   Spectrum: PowerLaw
218    Prefactor:  6.106e-10  1.403e-04  0.000e+00  1.000e+06 ( 1.000e-12)
219        Index:  2.677e+00  0.000e+00  0.000e+00  1.000e+01 (-1.000e+00) fixed
220        Scale:  5.002e+02  0.000e+00  3.000e+01  5.000e+05 ( 1.000e+00) fixed

GAL_V02
   Spectrum: PowerLaw
530    Prefactor:  1.078e+00  1.020e-01  0.000e+00  1.000e+01 ( 1.000e+00)
531        Index:  0.000e+00  0.000e+00 -1.000e+00  1.000e+00 ( 1.000e+00) fixed
532        Scale:  1.000e+02  0.000e+00  5.000e+01  2.000e+02 ( 1.000e+00) fixed

EG_v02
   Spectrum: FileFunction
529   Normalization:  8.056e-01  1.841e-01  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Fixed Index): -0.00
Ra Dec: 28.073 22.113
Photon Flux Upper Limit: 9.00309704375e-08 ph cm-2 s-1
Energy Flux Upper Limit: 0.00707832194189 MeV cm-2 s-1

Saving results to:
/lscratch/kocevski/37965246/likelihoodResults_810604801_810864001_4FGL_J0152.2+2206_daily_bin2204.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) = 8551.59081943
delta logL = -0.000159523024195

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

MINUIT Return Code (Free Index): 102
logL (Free Index) = 8551.59065997
delta logL = -6.88451109454e-08

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'Prefactor '    .16803E-06   1.0000          .0000       .10000E+07
     2 'Index     '    2.0474       1.0000          .0000       10.000    
     3 'Normalizat'    .80555       1.0000         .10000E-01   10.000    
     4 'Prefactor '    1.0779       1.0000          .0000       10.000    
 **********
 **   15 **SET ERR    .5000    
 **********
 **********
 **   16 **SET GRAD    1.000    
 **********
 **********
 **   17 **MINIMIZE    .5330E+05   .2000E-04
 **********

 MIGRAD MINIMIZATION HAS CONVERGED.

 FCN=   8551.591     FROM MIGRAD    STATUS=CONVERGED     33 CALLS      252 TOTAL
                     EDM=   .56E-11  STRATEGY=1  ERROR MATRIX UNCERTAINTY=  2.5%

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor      .0000        7.4813        .22541E-06** at limit **
   2  Index         3.9216        3.8499       -.32248E-04     .0000    
   3  Normalizat    .80558        .20090        .40697E-05    .14868E-04
   4  Prefactor     1.0779        .11472       -.20633E-06    .10512E-03
                               ERR DEF=  .500    
Final values: 
  Prefactor  = 0
  Index      = 3.92164
  Normalizat = 0.805575
  Prefactor  = 1.07789
 **********
 **   18 **HESSE 
 **********
  MNHESS FAILS AND WILL RETURN DIAGONAL MATRIX. 

 FCN=   8551.591     FROM HESSE     STATUS=FAILED        11 CALLS      263 TOTAL
                     EDM=   .56E-11  STRATEGY=1  ERROR MATRIX UNCERTAINTY=100.0%

  EXT PARAMETER                APPROXIMATE     INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  Prefactor      .0000        7.2455        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   2  Index         1.6754        2.2811       -.32248E-04   -.21738    
   3  Normalizat    .80558        1.1442        .40697E-05   -.99862    
   4  Prefactor     1.0779        1.1645       -.20633E-06   -.90176    
                               ERR DEF=  .500    
Minuit fit quality: 1   estimated distance: 5.59191e-12
Minuit parameter uncertainties:
  1  1.35594e-05
  2  1.24613
  3  1.18144
  4  1.19377
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) = 8551.5906599
delta logL = 4.91127138957e-11

Extracting fit parameters...

4FGL J0152.2+2206
   Spectrum: PowerLaw
218    Prefactor:  0.000e+00  1.356e-05  0.000e+00  1.000e+06 ( 1.000e-12)
219        Index:  3.922e+00  1.246e+00  0.000e+00  1.000e+01 (-1.000e+00)
220        Scale:  5.002e+02  0.000e+00  3.000e+01  5.000e+05 ( 1.000e+00) fixed

GAL_V02
   Spectrum: PowerLaw
530    Prefactor:  1.078e+00  1.194e+00  0.000e+00  1.000e+01 ( 1.000e+00)
531        Index:  0.000e+00  0.000e+00 -1.000e+00  1.000e+00 ( 1.000e+00) fixed
532        Scale:  1.000e+02  0.000e+00  5.000e+01  2.000e+02 ( 1.000e+00) fixed

EG_v02
   Spectrum: FileFunction
529   Normalization:  8.056e-01  1.181e+00  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Free Index): -0.00
Ra Dec: 28.073 22.113

Creating a high resolution counts map...
INFO: Auto-setting vmin to -1.000e-01 [aplpy.core]
INFO: Auto-setting vmax to  1.110e+00 [aplpy.core]
Saving /lscratch/kocevski/37965246/cmap_HighResolution_810604801_810864001_4FGL_J0152.2+2206_daily_bin2204.png

Cleaning up...

** Nuclear option initiated! **

Updating database...

UPDATE lightcurve_data_v2 SET energy_flux_upper_limit='7.08e-03', job_status='DONE', photon_flux_upper_limit='9.00e-08', time_completed='2026-09-12 01:29:03.471094', job_id='37965246', GAL2='1.08', fit_tolerance='1e-08', EG2='0.81', EG='0.81', time_epoch_completed='1789201743.47', return_code2='101', ts='-0.00', comment='SUCCESS', return_code='0', GAL='1.08', dlogl='4.91e-11', ts2='0.00', photon_index_error='0.00', photon_index='2.68' WHERE bin_id='2204' AND source_name='4FGL J0152.2+2206' AND cadence='daily';

Database successfully updated.


Analysis Complete.


Sat Sep 12 01:29:03 PDT 2026

Done.

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

Extracting fit parameters...

4FGL J0152.2+2206
   Spectrum: PowerLaw
218    Prefactor:  6.106e-10  1.403e-04  0.000e+00  1.000e+06 ( 1.000e-12)
219        Index:  2.677e+00  0.000e+00  0.000e+00  1.000e+01 (-1.000e+00) fixed
220        Scale:  5.002e+02  0.000e+00  3.000e+01  5.000e+05 ( 1.000e+00) fixed

GAL_V02
   Spectrum: PowerLaw
530    Prefactor:  1.078e+00  1.020e-01  0.000e+00  1.000e+01 ( 1.000e+00)
531        Index:  0.000e+00  0.000e+00 -1.000e+00  1.000e+00 ( 1.000e+00) fixed
532        Scale:  1.000e+02  0.000e+00  5.000e+01  2.000e+02 ( 1.000e+00) fixed

EG_v02
   Spectrum: FileFunction
529   Normalization:  8.056e-01  1.841e-01  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Fixed Index): -0.00
Ra Dec: 28.073 22.113
Photon Flux Upper Limit: 9.00309704375e-08 ph cm-2 s-1
Energy Flux Upper Limit: 0.00707832194189 MeV cm-2 s-1

Saving results to:
/lscratch/kocevski/37965269/likelihoodResults_810604801_810864001_4FGL_J0152.2+2206_daily_bin2204.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) = 8551.59081943
delta logL = -0.000159523024195

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

MINUIT Return Code (Free Index): 102
logL (Free Index) = 8551.59065997
delta logL = -6.88451109454e-08

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'Prefactor '    .16803E-06   1.0000          .0000       .10000E+07
     2 'Index     '    2.0474       1.0000          .0000       10.000    
     3 'Normalizat'    .80555       1.0000         .10000E-01   10.000    
     4 'Prefactor '    1.0779       1.0000          .0000       10.000    
 **********
 **   15 **SET ERR    .5000    
 **********
 **********
 **   16 **SET GRAD    1.000    
 **********
 **********
 **   17 **MINIMIZE    .5330E+05   .2000E-04
 **********

 MIGRAD MINIMIZATION HAS CONVERGED.

 FCN=   8551.591     FROM MIGRAD    STATUS=CONVERGED     33 CALLS      252 TOTAL
                     EDM=   .56E-11  STRATEGY=1  ERROR MATRIX UNCERTAINTY=  2.5%

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor      .0000        7.4813        .22541E-06** at limit **
   2  Index         3.9216        3.8499       -.32248E-04     .0000    
   3  Normalizat    .80558        .20090        .40697E-05    .14868E-04
   4  Prefactor     1.0779        .11472       -.20633E-06    .10512E-03
                               ERR DEF=  .500    
Final values: 
  Prefactor  = 0
  Index      = 3.92164
  Normalizat = 0.805575
  Prefactor  = 1.07789
 **********
 **   18 **HESSE 
 **********
  MNHESS FAILS AND WILL RETURN DIAGONAL MATRIX. 

 FCN=   8551.591     FROM HESSE     STATUS=FAILED        11 CALLS      263 TOTAL
                     EDM=   .56E-11  STRATEGY=1  ERROR MATRIX UNCERTAINTY=100.0%

  EXT PARAMETER                APPROXIMATE     INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  Prefactor      .0000        7.2455        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   2  Index         1.6754        2.2811       -.32248E-04   -.21738    
   3  Normalizat    .80558        1.1442        .40697E-05   -.99862    
   4  Prefactor     1.0779        1.1645       -.20633E-06   -.90176    
                               ERR DEF=  .500    
Minuit fit quality: 1   estimated distance: 5.59191e-12
Minuit parameter uncertainties:
  1  1.35594e-05
  2  1.24613
  3  1.18144
  4  1.19377
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) = 8551.5906599
delta logL = 4.91127138957e-11

Extracting fit parameters...

4FGL J0152.2+2206
   Spectrum: PowerLaw
218    Prefactor:  0.000e+00  1.356e-05  0.000e+00  1.000e+06 ( 1.000e-12)
219        Index:  3.922e+00  1.246e+00  0.000e+00  1.000e+01 (-1.000e+00)
220        Scale:  5.002e+02  0.000e+00  3.000e+01  5.000e+05 ( 1.000e+00) fixed

GAL_V02
   Spectrum: PowerLaw
530    Prefactor:  1.078e+00  1.194e+00  0.000e+00  1.000e+01 ( 1.000e+00)
531        Index:  0.000e+00  0.000e+00 -1.000e+00  1.000e+00 ( 1.000e+00) fixed
532        Scale:  1.000e+02  0.000e+00  5.000e+01  2.000e+02 ( 1.000e+00) fixed

EG_v02
   Spectrum: FileFunction
529   Normalization:  8.056e-01  1.181e+00  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Free Index): -0.00
Ra Dec: 28.073 22.113

Creating a high resolution counts map...
INFO: Auto-setting vmin to -1.000e-01 [aplpy.core]
INFO: Auto-setting vmax to  1.110e+00 [aplpy.core]
Saving /lscratch/kocevski/37965269/cmap_HighResolution_810604801_810864001_4FGL_J0152.2+2206_daily_bin2204.png

Cleaning up...

** Nuclear option initiated! **

Updating database...

UPDATE lightcurve_data_v2 SET energy_flux_upper_limit='7.08e-03', job_status='DONE', photon_flux_upper_limit='9.00e-08', time_completed='2026-09-12 01:29:15.668433', job_id='37965269', GAL2='1.08', fit_tolerance='1e-08', EG2='0.81', EG='0.81', time_epoch_completed='1789201755.67', return_code2='101', ts='-0.00', comment='SUCCESS', return_code='0', GAL='1.08', dlogl='4.91e-11', ts2='0.00', photon_index_error='0.00', photon_index='2.68' WHERE bin_id='2204' AND source_name='4FGL J0152.2+2206' AND cadence='daily';

Database successfully updated.


Analysis Complete.


Sat Sep 12 01:29:15 PDT 2026

