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

 FCN=   12793.44     FROM HESSE     STATUS=OK           290 CALLS     1371 TOTAL
                     EDM=   .11E-06    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  Prefactor     .16241        7.5949        .42118E-03   -1.5700    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   2  Prefactor     2.7962        19.709        .63318E-03   -1.5675    
   3  Prefactor     .72164E-09    9.4514        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   4  Prefactor     .28433E-06    20.929        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   5  Prefactor     .55511E-10    2.6419        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   6  Prefactor     .61628E-06    21.893        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   7  norm          .21094E-08    10.900        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   8  Prefactor     .22204E-09    8.2005        .11827E-01   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   9  norm          .44409E-08    1.0675        .63132E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  10  Prefactor      .0000        42.018        .17230E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  11  norm          .94533        .84458        .42745E-03   -1.5689    
  12  norm           .0000        .17921        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  13  Prefactor     .38858E-09    3.5369        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  14  Prefactor     .29710        .88331        .46350E-02   -1.5697    
  15  Prefactor     .16043E-07    81.870        .62498E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  16  norm          .87444        .31498        .47577E-03   -1.5689    
  17  Normalizat    1.2173        .16829        .83803E-01   -.86071    
  18  Prefactor     .99536        .65178E-01    .46210E-01   -.92884    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 1.07335e-07
Minuit parameter uncertainties:
  1  2.22123
  2  14.8473
  3  0.000168175
  4  0.00487857
  5  2.50399e-05
  6  0.00734639
  7  0.000304627
  8  9.00968e-05
  9  0.000137833
  10  6.04402e-05
  11  0.844577
  12  2.59949e-06
  13  7.57053e-05
  14  0.883308
  15  0.0022921
  16  0.314979
  17  0.168366
  18  0.0651828
 **********
 **   18 **HESSE 
 **********

 FCN=   12793.44     FROM HESSE     STATUS=OK           290 CALLS     1371 TOTAL
                     EDM=   .11E-06    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  Prefactor     .16241        7.5949        .42118E-03   -1.5700    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   2  Prefactor     2.7962        19.709        .63318E-03   -1.5675    
   3  Prefactor     .72164E-09    9.4514        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   4  Prefactor     .28433E-06    20.929        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   5  Prefactor     .55511E-10    2.6419        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   6  Prefactor     .61628E-06    21.893        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   7  norm          .21094E-08    10.900        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   8  Prefactor     .22204E-09    8.2005        .11827E-01   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   9  norm          .44409E-08    1.0675        .63132E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  10  Prefactor      .0000        42.018        .17230E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  11  norm          .94533        .84458        .42745E-03   -1.5689    
  12  norm           .0000        .17921        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  13  Prefactor     .38858E-09    3.5369        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  14  Prefactor     .29710        .88331        .46350E-02   -1.5697    
  15  Prefactor     .16043E-07    81.870        .62498E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  16  norm          .87444        .31498        .47577E-03   -1.5689    
  17  Normalizat    1.2173        .16829        .83803E-01   -.86071    
  18  Prefactor     .99536        .65178E-01    .46210E-01   -.92884    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 1.07335e-07
Minuit parameter uncertainties:
  1  2.22123
  2  14.8473
  3  0.000168175
  4  0.00487857
  5  2.50399e-05
  6  0.00734639
  7  0.000304627
  8  9.00968e-05
  9  0.000137833
  10  6.04402e-05
  11  0.844577
  12  2.59949e-06
  13  7.57053e-05
  14  0.883308
  15  0.0022921
  16  0.314979
  17  0.168366
  18  0.0651828
/sdf/group/fermi/u/kocevski/software/conda/envs/fermitools_v1.0.5/lib/python2.7/site-packages/pyfits/__init__.py:22: PyFITSDeprecationWarning: PyFITS is deprecated, please use astropy.io.fits
  PyFITSDeprecationWarning)  # noqa

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

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

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

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

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

390626/ft2_4FGL_J0128.5+4440_daily_bin2186.fits sctable="SC_DATA" srcmdl=/lscratch/kocevski/32390626/Model_4FGL_J0128.5+4440_daily_bin2186.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
adding source HB 3
adding source W 3
Working on...
/lscratch/kocevski/32390626/ft1_filtered_4FGL_J0128.5+4440_daily_bin2186.fits.....................!
real 57.49
user 55.74
sys 1.15

Creating the likelihood object...
obs = UnbinnedObs('/lscratch/kocevski/32390626/ft1_filtered_4FGL_J0128.5+4440_daily_bin2186.fits', '/lscratch/kocevski/32390626/ft2_4FGL_J0128.5+4440_daily_bin2186.fits', expMap='/lscratch/kocevski/32390626/expmap_805939201_806198401_4FGL_J0128.5+4440_daily_bin2186.fits', expCube='/lscratch/kocevski/32390626/ltcube_805939201_806198401_4FGL_J0128.5+4440_daily_bin2186.fits', irfs='P8R3_SOURCE_V2')
like = UnbinnedAnalysis(obs, '/lscratch/kocevski/32390626/Model_4FGL_J0128.5+4440_daily_bin2186.xml', optimizer='MINUIT')

Using source of interest name: '4FGL J0128.5+4440'

4FGL J0128.5+4440
   Spectrum: PowerLaw
246    Prefactor:  2.926e+00  0.000e+00  0.000e+00  1.000e+06 ( 1.000e-14)
247        Index:  2.132e+00  0.000e+00  0.000e+00  1.000e+01 (-1.000e+00) fixed
248        Scale:  2.341e+03  0.000e+00  3.000e+01  5.000e+05 ( 1.000e+00) fixed


Likelihood Fit Parameters:
Event file(s): /lscratch/kocevski/32390626/ft1_filtered_4FGL_J0128.5+4440_daily_bin2186.fits
Spacecraft file(s): /lscratch/kocevski/32390626/ft2_4FGL_J0128.5+4440_daily_bin2186.fits
Exposure map: /lscratch/kocevski/32390626/expmap_805939201_806198401_4FGL_J0128.5+4440_daily_bin2186.fits
Exposure cube: /lscratch/kocevski/32390626/ltcube_805939201_806198401_4FGL_J0128.5+4440_daily_bin2186.fits
IRFs: P8R3_SOURCE_V2
Source model file: /lscratch/kocevski/32390626/Model_4FGL_J0128.5+4440_daily_bin2186.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) = 12794.2969048

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

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

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'Prefactor '    .64225E-04   1.0000          .0000       .10000E+07
     2 'Prefactor '    2.5945       1.0000          .0000       .10000E+07
     3 'Prefactor '    .11990E-02   1.0000          .0000       .10000E+07
     4 'Prefactor '    .39585E-02   1.0000          .0000       .10000E+07
     5 'Prefactor '    .24639E-05   1.0000          .0000       .10000E+07
     6 'Prefactor '    .14307E-01   1.0000          .0000       .10000E+07
     7 'norm      '    .14932E-03   1.0000          .0000       .10000E+07
     8 'Prefactor '    .18532E-01   1.0000          .0000       .10000E+07
     9 'norm      '    .49827E-06   1.0000          .0000       .10000E+07
    10 'Prefactor '    .17182E-01   1.0000          .0000       .10000E+07
    11 'norm      '    .94429       1.0000          .0000       .10000E+07
    12 'norm      '    .12323E-06   1.0000          .0000       .10000E+07
    13 'Prefactor '    .31147E-05   1.0000          .0000       .10000E+07
    14 'Prefactor '    .29494       1.0000          .0000       .10000E+07
    15 'Prefactor '    .67818       1.0000          .0000       .10000E+07
    16 'norm      '    .87396       1.0000          .0000       .10000E+07
    17 'Normalizat'    1.2178       1.0000         .10000E-01   10.000    
    18 'Prefactor '    .99541       1.0000          .0000       10.000    
 **********
 **   15 **SET ERR    .5000    
 **********
 **********
 **   16 **SET GRAD    1.000    
 **********
 **********
 **   17 **MINIMIZE    .5820E+05   .2000E-04
 **********

 MIGRAD MINIMIZATION HAS CONVERGED.

 FCN=   12793.44     FROM MIGRAD    STATUS=CONVERGED    137 CALLS     1081 TOTAL
                     EDM=   .23E-09  STRATEGY=1  ERROR MATRIX UNCERTAINTY=  1.7%

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor     .16241        4.8639        .69010E-06** at limit **
   2  Prefactor     2.7962        10.333        .57855E-06   -.12841E-02
   3  Prefactor     .72164E-09    8.7029        .45751E-05** at limit **
   4  Prefactor     .28433E-06    13.548        .12747E-05** at limit **
   5  Prefactor     .55511E-10    2.6383        .17309E-05** at limit **
   6  Prefactor     .61628E-06    8.3063        .20641E-06** at limit **
   7  norm          .21094E-08    10.216       -.31911E-05** at limit **
   8  Prefactor     .22204E-09    26.996       -.19714E-05** at limit **
   9  norm          .44409E-08    8.2360       -.46211E-05** at limit **
  10  Prefactor      .0000        44.342        .35058E-06** at limit **
  11  norm          .94533        .84882       -.99509E-07    .87339E-03
  12  norm           .0000        .18125       -.30465E-06** at limit **
  13  Prefactor     .38858E-09    3.5288        .10815E-05** at limit **
  14  Prefactor     .29710        .95407        .54554E-06    .33411E-02
  15  Prefactor     .16043E-07    81.873       -.84026E-05** at limit **
  16  norm          .87444        .31476        .10216E-06   -.12241E-01
  17  Normalizat    1.2173        .18442       -.48920E-05    .82950E-04
  18  Prefactor     .99536        .72726E-01   -.16634E-05    .37126E-03
                               ERR DEF=  .500    
Final values: 
  Prefactor  = 0.162406
  Prefactor  = 2.79619
  Prefactor  = 7.21645e-10
  Prefactor  = 2.84328e-07
  Prefactor  = 5.55112e-11
  Prefactor  = 6.16285e-07
  norm       = 2.10942e-09
  Prefactor  = 2.22045e-10
  norm       = 4.44089e-09
  Prefactor  = 0
  norm       = 0.945326
  norm       = 0
  Prefactor  = 3.88578e-10
  Prefactor  = 0.297104
  Prefactor  = 1.60427e-08
  norm       = 0.874439
  Normalizat = 1.21725
  Prefactor  = 0.995362
Done.

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

Extracting fit parameters...

4FGL J0128.5+4440
   Spectrum: PowerLaw
246    Prefactor:  0.000e+00  6.044e-05  0.000e+00  1.000e+06 ( 1.000e-14)
247        Index:  2.132e+00  0.000e+00  0.000e+00  1.000e+01 (-1.000e+00) fixed
248        Scale:  2.341e+03  0.000e+00  3.000e+01  5.000e+05 ( 1.000e+00) fixed

GAL_V02
   Spectrum: PowerLaw
571    Prefactor:  9.954e-01  6.518e-02  0.000e+00  1.000e+01 ( 1.000e+00)
572        Index:  0.000e+00  0.000e+00 -1.000e+00  1.000e+00 ( 1.000e+00) fixed
573        Scale:  1.000e+02  0.000e+00  5.000e+01  2.000e+02 ( 1.000e+00) fixed

EG_v02
   Spectrum: FileFunction
570   Normalization:  1.217e+00  1.684e-01  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Fixed Index): 0.00
Ra Dec: 22.144 44.678
Photon Flux Upper Limit: 4.8348093664e-08 ph cm-2 s-1
Energy Flux Upper Limit: 0.00366465200965 MeV cm-2 s-1

Saving results to:
/lscratch/kocevski/32390531/likelihoodResults_805939201_806198401_4FGL_J0128.5+4440_daily_bin2186.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) = 12793.4526441
delta logL = -0.0115060704884

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

MINUIT Return Code (Free Index): 102
logL (Free Index) = 12793.4411382
delta logL = -1.07063897303e-07

Fit tolerance = 1e-08

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

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

 MIGRAD MINIMIZATION HAS CONVERGED.

 MIGRAD WILL VERIFY CONVERGENCE AND ERROR MATRIX.

 FCN=   12793.44     FROM MIGRAD    STATUS=CONVERGED     68 CALLS      242 TOTAL
                     EDM=   .91E-14    STRATEGY= 1      ERR MATRIX NOT POS-DEF

  EXT PARAMETER                APPROXIMATE        STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor     .16653E-09    .10268        .42118E-03** at limit **
   2  Index         2.3641        5.5124        .38655        .35293E-10
   3  Normalizat    1.2173        .28957E-03    .83803E-01   -.76692E-04
   4  Prefactor     .99536        .11513E-03    .46209E-01   -.15508E-03
                               ERR DEF=  .500    
Final values: 
  Prefactor  = 1.66533e-10
  Index      = 2.3641
  Normalizat = 1.21725
  Prefactor  = 0.995362
 **********
 **   18 **HESSE 
 **********

 FCN=   12793.44     FROM HESSE     STATUS=NOT POSDEF    29 CALLS      271 TOTAL
                     EDM=   .31E-13    STRATEGY= 1      ERR MATRIX NOT POS-DEF

  EXT PARAMETER                APPROXIMATE     INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  Prefactor     .16653E-09    .25860        .84235E-04   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   2  Index         2.3641        6.1789        .50000       -.55528    
   3  Normalizat    1.2173        .45770E-03    .37103E-03   -.86071    
   4  Prefactor     .99536        .18231E-03    .16045E-03   -.92884    
                               ERR DEF=  .500    
Minuit fit quality: 2   estimated distance: 3.09665e-14
Minuit parameter uncertainties:
  1  1.27427e-05
  2  4889.43
  3  0.000457703
  4  0.000182306
Done.

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

Extracting fit parameters...

4FGL J0128.5+4440
   Spectrum: PowerLaw
246    Prefactor:  0.000e+00  6.044e-05  0.000e+00  1.000e+06 ( 1.000e-14)
247        Index:  2.132e+00  0.000e+00  0.000e+00  1.000e+01 (-1.000e+00) fixed
248        Scale:  2.341e+03  0.000e+00  3.000e+01  5.000e+05 ( 1.000e+00) fixed

GAL_V02
   Spectrum: PowerLaw
571    Prefactor:  9.954e-01  6.518e-02  0.000e+00  1.000e+01 ( 1.000e+00)
572        Index:  0.000e+00  0.000e+00 -1.000e+00  1.000e+00 ( 1.000e+00) fixed
573        Scale:  1.000e+02  0.000e+00  5.000e+01  2.000e+02 ( 1.000e+00) fixed

EG_v02
   Spectrum: FileFunction
570   Normalization:  1.217e+00  1.684e-01  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Fixed Index): 0.00
Ra Dec: 22.144 44.678
Photon Flux Upper Limit: 4.8348093664e-08 ph cm-2 s-1
Energy Flux Upper Limit: 0.00366465200965 MeV cm-2 s-1

Saving results to:
/lscratch/kocevski/32390535/likelihoodResults_805939201_806198401_4FGL_J0128.5+4440_daily_bin2186.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) = 12793.4526441
delta logL = -0.0115060704884

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

MINUIT Return Code (Free Index): 102
logL (Free Index) = 12793.4411382
delta logL = -1.07063897303e-07

Fit tolerance = 1e-08

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

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

 MIGRAD MINIMIZATION HAS CONVERGED.

 MIGRAD WILL VERIFY CONVERGENCE AND ERROR MATRIX.

 FCN=   12793.44     FROM MIGRAD    STATUS=CONVERGED     68 CALLS      242 TOTAL
                     EDM=   .91E-14    STRATEGY= 1      ERR MATRIX NOT POS-DEF

  EXT PARAMETER                APPROXIMATE        STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor     .16653E-09    .10268        .42118E-03** at limit **
   2  Index         2.3641        5.5124        .38655        .35293E-10
   3  Normalizat    1.2173        .28957E-03    .83803E-01   -.76692E-04
   4  Prefactor     .99536        .11513E-03    .46209E-01   -.15508E-03
                               ERR DEF=  .500    
Final values: 
  Prefactor  = 1.66533e-10
  Index      = 2.3641
  Normalizat = 1.21725
  Prefactor  = 0.995362
 **********
 **   18 **HESSE 
 **********

 FCN=   12793.44     FROM HESSE     STATUS=NOT POSDEF    29 CALLS      271 TOTAL
                     EDM=   .31E-13    STRATEGY= 1      ERR MATRIX NOT POS-DEF

  EXT PARAMETER                APPROXIMATE     INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  Prefactor     .16653E-09    .25860        .84235E-04   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   2  Index         2.3641        6.1789        .50000       -.55528    
   3  Normalizat    1.2173        .45770E-03    .37103E-03   -.86071    
   4  Prefactor     .99536        .18231E-03    .16045E-03   -.92884    
                               ERR DEF=  .500    
Minuit fit quality: 2   estimated distance: 3.09665e-14
Minuit parameter uncertainties:
  1  1.27427e-05
  2  4889.43
  3  0.000457703
  4  0.000182306
shell-init: error retrieving current directory: getcwd: cannot access parent directories: No such file or directory
number of points = 7433
number of fields = 31
RA_SUN column already exists. File will not be modified.
Done.

MINUIT Return Code (Free Index): 102
logL (Free Index) = 12793.4411381
delta logL = 7.27595761418e-12

Extracting fit parameters...

4FGL J0128.5+4440
   Spectrum: PowerLaw
246    Prefactor:  1.665e-10  1.274e-05  0.000e+00  1.000e+06 ( 1.000e-14)
247        Index:  2.364e+00  4.889e+03  0.000e+00  1.000e+01 (-1.000e+00)
248        Scale:  2.341e+03  0.000e+00  3.000e+01  5.000e+05 ( 1.000e+00) fixed

GAL_V02
   Spectrum: PowerLaw
571    Prefactor:  9.954e-01  1.823e-04  0.000e+00  1.000e+01 ( 1.000e+00)
572        Index:  0.000e+00  0.000e+00 -1.000e+00  1.000e+00 ( 1.000e+00) fixed
573        Scale:  1.000e+02  0.000e+00  5.000e+01  2.000e+02 ( 1.000e+00) fixed

EG_v02
   Spectrum: FileFunction
570   Normalization:  1.217e+00  4.577e-04  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Free Index): 0.00
Ra Dec: 22.144 44.678

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/32390531/cmap_HighResolution_805939201_806198401_4FGL_J0128.5+4440_daily_bin2186.png

Cleaning up...

** Nuclear option initiated! **

Updating database...

UPDATE lightcurve_data_v2 SET energy_flux_upper_limit='3.66e-03', job_status='DONE', photon_flux_upper_limit='4.83e-08', time_completed='2026-07-20 01:19:18.886319', job_id='32390531', GAL2='1.00', fit_tolerance='1e-08', EG2='1.22', EG='1.22', time_epoch_completed='1784535558.89', return_code2='102', ts='0.00', comment='SUCCESS', return_code='0', GAL='1.00', dlogl='7.28e-12', ts2='-0.00', photon_index_error='0.00', photon_index='2.13' WHERE bin_id='2186' AND source_name='4FGL J0128.5+4440' AND cadence='daily';

Database successfully updated.


Analysis Complete.


Mon Jul 20 01:19:18 PDT 2026

Done.


Performing analysis on: 4FGL_J0128.5+4440_daily_bin2186
RA = 22.1438, Dec = 44.6777
tmin = 805939201, tmax = 806198401
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='32390987', job_status='RUN', time_executed='2026-07-20 01:18:41.320644', time_epoch_executed='1784535521.32' WHERE source_name='4FGL J0128.5+4440' and cadence='daily' and bin_id='2186'

Database successfully updated.
Done.

Creating custom output directory:
/lscratch/kocevski/32390987

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

Retrieving the FT1 file...

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

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

Retrieving 46 files...
Done.


Merging files...

Checksum keywords updated successfully.

Merged file saved to:
/lscratch/kocevski/32390987/ft1_4FGL_J0128.5+4440_daily_bin2186.fits


Retrieving the FT1 file...

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

Retrieving 46 files...
Done.


Merging files...

Merged file saved to:
/lscratch/kocevski/32390987/ft2_4FGL_J0128.5+4440_daily_bin2186.fits


Selecting the photons:
time -p gtselect infile=/lscratch/kocevski/32390987/ft1_4FGL_J0128.5+4440_daily_bin2186.fits outfile=/lscratch/kocevski/32390987/ft1_filteredMKT_4FGL_J0128.5+4440_daily_bin2186.fits ra=22.1438 dec=44.6777 rad=12.0 tmin=805939201.0 tmax=806198401.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.14
user 1.71
sys 0.15

Adding sun position to ft2 file:
/sdf/group/fermi/g/LCRepository/Repository/bin/sunpos /lscratch/kocevski/32390987/ft2_4FGL_J0128.5+4440_daily_bin2186.fits

Selecting the good time intervals:
time -p gtmktime scfile=/lscratch/kocevski/32390987/ft2_4FGL_J0128.5+4440_daily_bin2186.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/32390987/ft1_filteredMKT_4FGL_J0128.5+4440_daily_bin2186.fits evtable="EVENTS" outfile="/lscratch/kocevski/32390987/ft1_filtered_4FGL_J0128.5+4440_daily_bin2186.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.16
sys 0.15

Number of photons that the gtmktime cut: 1218

Generating the livetime cube:
time -p gtltcube evfile="/lscratch/kocevski/32390987/ft1_filtered_4FGL_J0128.5+4440_daily_bin2186.fits" evtable="EVENTS" scfile=/lscratch/kocevski/32390987/ft2_4FGL_J0128.5+4440_daily_bin2186.fits sctable="SC_DATA" oshell-init: error retrieving current directory: getcwd: cannot access parent directories: No such file or directory
Done.

MINUIT Return Code (Free Index): 102
logL (Free Index) = 12793.4411381
delta logL = 7.27595761418e-12

Extracting fit parameters...

4FGL J0128.5+4440
   Spectrum: PowerLaw
246    Prefactor:  1.665e-10  1.274e-05  0.000e+00  1.000e+06 ( 1.000e-14)
247        Index:  2.364e+00  4.889e+03  0.000e+00  1.000e+01 (-1.000e+00)
248        Scale:  2.341e+03  0.000e+00  3.000e+01  5.000e+05 ( 1.000e+00) fixed

GAL_V02
   Spectrum: PowerLaw
571    Prefactor:  9.954e-01  1.823e-04  0.000e+00  1.000e+01 ( 1.000e+00)
572        Index:  0.000e+00  0.000e+00 -1.000e+00  1.000e+00 ( 1.000e+00) fixed
573        Scale:  1.000e+02  0.000e+00  5.000e+01  2.000e+02 ( 1.000e+00) fixed

EG_v02
   Spectrum: FileFunction
570   Normalization:  1.217e+00  4.577e-04  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Free Index): 0.00
Ra Dec: 22.144 44.678

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/32390535/cmap_HighResolution_805939201_806198401_4FGL_J0128.5+4440_daily_bin2186.png

Cleaning up...

** Nuclear option initiated! **

Updating database...

UPDATE lightcurve_data_v2 SET energy_flux_upper_limit='3.66e-03', job_status='DONE', photon_flux_upper_limit='4.83e-08', time_completed='2026-07-20 01:19:20.927958', job_id='32390535', GAL2='1.00', fit_tolerance='1e-08', EG2='1.22', EG='1.22', time_epoch_completed='1784535560.93', return_code2='102', ts='0.00', comment='SUCCESS', return_code='0', GAL='1.00', dlogl='7.28e-12', ts2='-0.00', photon_index_error='0.00', photon_index='2.13' WHERE bin_id='2186' AND source_name='4FGL J0128.5+4440' AND cadence='daily';

Database successfully updated.


Analysis Complete.


Mon Jul 20 01:19:21 PDT 2026

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

 FCN=   12793.44     FROM HESSE     STATUS=OK           290 CALLS     1371 TOTAL
                     EDM=   .11E-06    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  Prefactor     .16241        7.5949        .42118E-03   -1.5700    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   2  Prefactor     2.7962        19.709        .63318E-03   -1.5675    
   3  Prefactor     .72164E-09    9.4514        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   4  Prefactor     .28433E-06    20.929        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   5  Prefactor     .55511E-10    2.6419        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   6  Prefactor     .61628E-06    21.893        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   7  norm          .21094E-08    10.900        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   8  Prefactor     .22204E-09    8.2005        .11827E-01   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   9  norm          .44409E-08    1.0675        .63132E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  10  Prefactor      .0000        42.018        .17230E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  11  norm          .94533        .84458        .42745E-03   -1.5689    
  12  norm           .0000        .17921        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  13  Prefactor     .38858E-09    3.5369        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  14  Prefactor     .29710        .88331        .46350E-02   -1.5697    
  15  Prefactor     .16043E-07    81.870        .62498E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  16  norm          .87444        .31498        .47577E-03   -1.5689    
  17  Normalizat    1.2173        .16829        .83803E-01   -.86071    
  18  Prefactor     .99536        .65178E-01    .46210E-01   -.92884    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 1.07335e-07
Minuit parameter uncertainties:
  1  2.22123
  2  14.8473
  3  0.000168175
  4  0.00487857
  5  2.50399e-05
  6  0.00734639
  7  0.000304627
  8  9.00968e-05
  9  0.000137833
  10  6.04402e-05
  11  0.844577
  12  2.59949e-06
  13  7.57053e-05
  14  0.883308
  15  0.0022921
  16  0.314979
  17  0.168366
  18  0.0651828
Done.

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

Extracting fit parameters...

4FGL J0128.5+4440
   Spectrum: PowerLaw
246    Prefactor:  0.000e+00  6.044e-05  0.000e+00  1.000e+06 ( 1.000e-14)
247        Index:  2.132e+00  0.000e+00  0.000e+00  1.000e+01 (-1.000e+00) fixed
248        Scale:  2.341e+03  0.000e+00  3.000e+01  5.000e+05 ( 1.000e+00) fixed

GAL_V02
   Spectrum: PowerLaw
571    Prefactor:  9.954e-01  6.518e-02  0.000e+00  1.000e+01 ( 1.000e+00)
572        Index:  0.000e+00  0.000e+00 -1.000e+00  1.000e+00 ( 1.000e+00) fixed
573        Scale:  1.000e+02  0.000e+00  5.000e+01  2.000e+02 ( 1.000e+00) fixed

EG_v02
   Spectrum: FileFunction
570   Normalization:  1.217e+00  1.684e-01  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Fixed Index): 0.00
Ra Dec: 22.144 44.678
Photon Flux Upper Limit: 4.8348093664e-08 ph cm-2 s-1
Energy Flux Upper Limit: 0.00366465200965 MeV cm-2 s-1

Saving results to:
/lscratch/kocevski/32390626/likelihoodResults_805939201_806198401_4FGL_J0128.5+4440_daily_bin2186.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) = 12793.4526441
delta logL = -0.0115060704884

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

MINUIT Return Code (Free Index): 102
logL (Free Index) = 12793.4411382
delta logL = -1.07063897303e-07

Fit tolerance = 1e-08

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

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

 MIGRAD MINIMIZATION HAS CONVERGED.

 MIGRAD WILL VERIFY CONVERGENCE AND ERROR MATRIX.

 FCN=   12793.44     FROM MIGRAD    STATUS=CONVERGED     68 CALLS      242 TOTAL
                     EDM=   .91E-14    STRATEGY= 1      ERR MATRIX NOT POS-DEF

  EXT PARAMETER                APPROXIMATE        STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor     .16653E-09    .10268        .42118E-03** at limit **
   2  Index         2.3641        5.5124        .38655        .35293E-10
   3  Normalizat    1.2173        .28957E-03    .83803E-01   -.76692E-04
   4  Prefactor     .99536        .11513E-03    .46209E-01   -.15508E-03
                               ERR DEF=  .500    
Final values: 
  Prefactor  = 1.66533e-10
  Index      = 2.3641
  Normalizat = 1.21725
  Prefactor  = 0.995362
 **********
 **   18 **HESSE 
 **********

 FCN=   12793.44     FROM HESSE     STATUS=NOT POSDEF    29 CALLS      271 TOTAL
                     EDM=   .31E-13    STRATEGY= 1      ERR MATRIX NOT POS-DEF

  EXT PARAMETER                APPROXIMATE     INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  Prefactor     .16653E-09    .25860        .84235E-04   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   2  Index         2.3641        6.1789        .50000       -.55528    
   3  Normalizat    1.2173        .45770E-03    .37103E-03   -.86071    
   4  Prefactor     .99536        .18231E-03    .16045E-03   -.92884    
                               ERR DEF=  .500    
Minuit fit quality: 2   estimated distance: 3.09665e-14
Minuit parameter uncertainties:
  1  1.27427e-05
  2  4889.43
  3  0.000457703
  4  0.000182306
shell-init: error retrieving current directory: getcwd: cannot access parent directories: No such file or directory
Done.

MINUIT Return Code (Free Index): 102
logL (Free Index) = 12793.4411381
delta logL = 7.27595761418e-12

Extracting fit parameters...

4FGL J0128.5+4440
   Spectrum: PowerLaw
246    Prefactor:  1.665e-10  1.274e-05  0.000e+00  1.000e+06 ( 1.000e-14)
247        Index:  2.364e+00  4.889e+03  0.000e+00  1.000e+01 (-1.000e+00)
248        Scale:  2.341e+03  0.000e+00  3.000e+01  5.000e+05 ( 1.000e+00) fixed

GAL_V02
   Spectrum: PowerLaw
571    Prefactor:  9.954e-01  1.823e-04  0.000e+00  1.000e+01 ( 1.000e+00)
572        Index:  0.000e+00  0.000e+00 -1.000e+00  1.000e+00 ( 1.000e+00) fixed
573        Scale:  1.000e+02  0.000e+00  5.000e+01  2.000e+02 ( 1.000e+00) fixed

EG_v02
   Spectrum: FileFunction
570   Normalization:  1.217e+00  4.577e-04  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Free Index): 0.00
Ra Dec: 22.144 44.678

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/32390626/cmap_HighResolution_805939201_806198401_4FGL_J0128.5+4440_daily_bin2186.png

Cleaning up...

** Nuclear option initiated! **

Updating database...

UPDATE lightcurve_data_v2 SET energy_flux_upper_limit='3.66e-03', job_status='DONE', photon_flux_upper_limit='4.83e-08', time_completed='2026-07-20 01:20:16.493979', job_id='32390626', GAL2='1.00', fit_tolerance='1e-08', EG2='1.22', EG='1.22', time_epoch_completed='1784535616.49', return_code2='102', ts='0.00', comment='SUCCESS', return_code='0', GAL='1.00', dlogl='7.28e-12', ts2='-0.00', photon_index_error='0.00', photon_index='2.13' WHERE bin_id='2186' AND source_name='4FGL J0128.5+4440' AND cadence='daily';

Database successfully updated.


Analysis Complete.


Mon Jul 20 01:20:16 PDT 2026

utfile=/lscratch/kocevski/32390987/ltcube_805939201_806198401_4FGL_J0128.5+4440_daily_bin2186.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/32390987/ft2_4FGL_J0128.5+4440_daily_bin2186.fits
.....................!
real 7.40
user 6.96
sys 0.19

Generating the exposure map:
time -p gtexpmap evfile=/lscratch/kocevski/32390987/ft1_filtered_4FGL_J0128.5+4440_daily_bin2186.fits evtable="EVENTS" scfile=/lscratch/kocevski/32390987/ft2_4FGL_J0128.5+4440_daily_bin2186.fits sctable="SC_DATA" expcube=/lscratch/kocevski/32390987/ltcube_805939201_806198401_4FGL_J0128.5+4440_daily_bin2186.fits outfile=/lscratch/kocevski/32390987/expmap_805939201_806198401_4FGL_J0128.5+4440_daily_bin2186.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/32390987/ltcube_805939201_806198401_4FGL_J0128.5+4440_daily_bin2186.fits
.....................!
real 59.60
user 55.82
sys 3.32

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
Extended source HB 3 in ROI with RadialDisk spatial model.
Extended source W 3 in ROI, make sure /sdf/group/fermi/g/LCRepository/Likelihood/ExtendedSources/Extended_8years/Templates/W3.fits is the correct path to the extended template.
Added 171 point sources and 2 extended sources
If using unbinned likelihood you will need to rerun gtdiffrsp for the extended sources or rerun the makeModel function with optional argument psForce=True

Setting source of interest to:
4FGL J0128.5+4440 @ 22.1438 44.6777

Creating the counts map:
time -p gtbin evfile=/lscratch/kocevski/32390987/ft1_filtered_4FGL_J0128.5+4440_daily_bin2186.fits scfile=/lscratch/kocevski/32390987/ft2_4FGL_J0128.5+4440_daily_bin2186.fits outfile=/lscratch/kocevski/32390987/cmap_805939201_806198401_4FGL_J0128.5+4440_daily_bin2186.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=22.1438 yref=44.6777 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.52
user 0.19
sys 0.14

Creating the high resolution counts map:
time -p gtbin evfile=/lscratch/kocevski/32390987/ft1_filtered_4FGL_J0128.5+4440_daily_bin2186.fits scfile=/lscratch/kocevski/32390987/ft2_4FGL_J0128.5+4440_daily_bin2186.fits outfile=/lscratch/kocevski/32390987/cmap_HighResolution_805939201_806198401_4FGL_J0128.5+4440_daily_bin2186.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=22.1438 yref=44.6777 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.49
user 0.21
sys 0.13

Computing the diffuse response:
time -p gtdiffrsp evfile=/lscratch/kocevski/32390987/ft1_filtered_4FGL_J0128.5+4440_daily_bin2186.fits evtable="EVENTS" scfile=/lscratch/kocevski/32390987/ft2_4FGL_J0128.5+4440_daily_bin2186.fits sctable="SC_DATA" srcmdl=/lscratch/kocevski/32390987/Model_4FGL_J0128.5+4440_daily_bin2186.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
adding source HB 3
adding source W 3
Working on...
/lscratch/kocevski/32390987/ft1_filtered_4FGL_J0128.5+4440_daily_bin2186.fits.....................!
real 47.58
user 46.07
sys 0.98

Creating the likelihood object...
obs = UnbinnedObs('/lscratch/kocevski/32390987/ft1_filtered_4FGL_J0128.5+4440_daily_bin2186.fits', '/lscratch/kocevski/32390987/ft2_4FGL_J0128.5+4440_daily_bin2186.fits', expMap='/lscratch/kocevski/32390987/expmap_805939201_806198401_4FGL_J0128.5+4440_daily_bin2186.fits', expCube='/lscratch/kocevski/32390987/ltcube_805939201_806198401_4FGL_J0128.5+4440_daily_bin2186.fits', irfs='P8R3_SOURCE_V2')
like = UnbinnedAnalysis(obs, '/lscratch/kocevski/32390987/Model_4FGL_J0128.5+4440_daily_bin2186.xml', optimizer='MINUIT')

Using source of interest name: '4FGL J0128.5+4440'

4FGL J0128.5+4440
   Spectrum: PowerLaw
246    Prefactor:  2.926e+00  0.000e+00  0.000e+00  1.000e+06 ( 1.000e-14)
247        Index:  2.132e+00  0.000e+00  0.000e+00  1.000e+01 (-1.000e+00) fixed
248        Scale:  2.341e+03  0.000e+00  3.000e+01  5.000e+05 ( 1.000e+00) fixed


Likelihood Fit Parameters:
Event file(s): /lscratch/kocevski/32390987/ft1_filtered_4FGL_J0128.5+4440_daily_bin2186.fits
Spacecraft file(s): /lscratch/kocevski/32390987/ft2_4FGL_J0128.5+4440_daily_bin2186.fits
Exposure map: /lscratch/kocevski/32390987/expmap_805939201_806198401_4FGL_J0128.5+4440_daily_bin2186.fits
Exposure cube: /lscratch/kocevski/32390987/ltcube_805939201_806198401_4FGL_J0128.5+4440_daily_bin2186.fits
IRFs: P8R3_SOURCE_V2
Source model file: /lscratch/kocevski/32390987/Model_4FGL_J0128.5+4440_daily_bin2186.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) = 12794.2969048

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

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

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'Prefactor '    .64225E-04   1.0000          .0000       .10000E+07
     2 'Prefactor '    2.5945       1.0000          .0000       .10000E+07
     3 'Prefactor '    .11990E-02   1.0000          .0000       .10000E+07
     4 'Prefactor '    .39585E-02   1.0000          .0000       .10000E+07
     5 'Prefactor '    .24639E-05   1.0000          .0000       .10000E+07
     6 'Prefactor '    .14307E-01   1.0000          .0000       .10000E+07
     7 'norm      '    .14932E-03   1.0000          .0000       .10000E+07
     8 'Prefactor '    .18532E-01   1.0000          .0000       .10000E+07
     9 'norm      '    .49827E-06   1.0000          .0000       .10000E+07
    10 'Prefactor '    .17182E-01   1.0000          .0000       .10000E+07
    11 'norm      '    .94429       1.0000          .0000       .10000E+07
    12 'norm      '    .12323E-06   1.0000          .0000       .10000E+07
    13 'Prefactor '    .31147E-05   1.0000          .0000       .10000E+07
    14 'Prefactor '    .29494       1.0000          .0000       .10000E+07
    15 'Prefactor '    .67818       1.0000          .0000       .10000E+07
    16 'norm      '    .87396       1.0000          .0000       .10000E+07
    17 'Normalizat'    1.2178       1.0000         .10000E-01   10.000    
    18 'Prefactor '    .99541       1.0000          .0000       10.000    
 **********
 **   15 **SET ERR    .5000    
 **********
 **********
 **   16 **SET GRAD    1.000    
 **********
 **********
 **   17 **MINIMIZE    .5820E+05   .2000E-04
 **********

 MIGRAD MINIMIZATION HAS CONVERGED.

 FCN=   12793.44     FROM MIGRAD    STATUS=CONVERGED    137 CALLS     1081 TOTAL
                     EDM=   .23E-09  STRATEGY=1  ERROR MATRIX UNCERTAINTY=  1.7%

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor     .16241        4.8639        .69010E-06** at limit **
   2  Prefactor     2.7962        10.333        .57855E-06   -.12841E-02
   3  Prefactor     .72164E-09    8.7029        .45751E-05** at limit **
   4  Prefactor     .28433E-06    13.548        .12747E-05** at limit **
   5  Prefactor     .55511E-10    2.6383        .17309E-05** at limit **
   6  Prefactor     .61628E-06    8.3063        .20641E-06** at limit **
   7  norm          .21094E-08    10.216       -.31911E-05** at limit **
   8  Prefactor     .22204E-09    26.996       -.19714E-05** at limit **
   9  norm          .44409E-08    8.2360       -.46211E-05** at limit **
  10  Prefactor      .0000        44.342        .35058E-06** at limit **
  11  norm          .94533        .84882       -.99509E-07    .87339E-03
  12  norm           .0000        .18125       -.30465E-06** at limit **
  13  Prefactor     .38858E-09    3.5288        .10815E-05** at limit **
  14  Prefactor     .29710        .95407        .54554E-06    .33411E-02
  15  Prefactor     .16043E-07    81.873       -.84026E-05** at limit **
  16  norm          .87444        .31476        .10216E-06   -.12241E-01
  17  Normalizat    1.2173        .18442       -.48920E-05    .82950E-04
  18  Prefactor     .99536        .72726E-01   -.16634E-05    .37126E-03
                               ERR DEF=  .500    
Final values: 
  Prefactor  = 0.162406
  Prefactor  = 2.79619
  Prefactor  = 7.21645e-10
  Prefactor  = 2.84328e-07
  Prefactor  = 5.55112e-11
  Prefactor  = 6.16285e-07
  norm       = 2.10942e-09
  Prefactor  = 2.22045e-10
  norm       = 4.44089e-09
  Prefactor  = 0
  norm       = 0.945326
  norm       = 0
  Prefactor  = 3.88578e-10
  Prefactor  = 0.297104
  Prefactor  = 1.60427e-08
  norm       = 0.874439
  Normalizat = 1.21725
  Prefactor  = 0.995362
 **********
 **   18 **HESSE 
 **********

 FCN=   12793.44     FROM HESSE     STATUS=OK           290 CALLS     1371 TOTAL
                     EDM=   .11E-06    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  Prefactor     .16241        7.5949        .42118E-03   -1.5700    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   2  Prefactor     2.7962        19.709        .63318E-03   -1.5675    
   3  Prefactor     .72164E-09    9.4514        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   4  Prefactor     .28433E-06    20.929        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   5  Prefactor     .55511E-10    2.6419        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   6  Prefactor     .61628E-06    21.893        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   7  norm          .21094E-08    10.900        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   8  Prefactor     .22204E-09    8.2005        .11827E-01   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   9  norm          .44409E-08    1.0675        .63132E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  10  Prefactor      .0000        42.018        .17230E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  11  norm          .94533        .84458        .42745E-03   -1.5689    
  12  norm           .0000        .17921        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  13  Prefactor     .38858E-09    3.5369        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  14  Prefactor     .29710        .88331        .46350E-02   -1.5697    
  15  Prefactor     .16043E-07    81.870        .62498E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  16  norm          .87444        .31498        .47577E-03   -1.5689    
  17  Normalizat    1.2173        .16829        .83803E-01   -.86071    
  18  Prefactor     .99536        .65178E-01    .46210E-01   -.92884    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 1.07335e-07
Minuit parameter uncertainties:
  1  2.22123
  2  14.8473
  3  0.000168175
  4  0.00487857
  5  2.50399e-05
  6  0.00734639
  7  0.000304627
  8  9.00968e-05
  9  0.000137833
  10  6.04402e-05
  11  0.844577
  12  2.59949e-06
  13  7.57053e-05
  14  0.883308
  15  0.0022921
  16  0.314979
  17  0.168366
  18  0.0651828
Done.

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

Extracting fit parameters...

4FGL J0128.5+4440
   Spectrum: PowerLaw
246    Prefactor:  0.000e+00  6.044e-05  0.000e+00  1.000e+06 ( 1.000e-14)
247        Index:  2.132e+00  0.000e+00  0.000e+00  1.000e+01 (-1.000e+00) fixed
248        Scale:  2.341e+03  0.000e+00  3.000e+01  5.000e+05 ( 1.000e+00) fixed

GAL_V02
   Spectrum: PowerLaw
571    Prefactor:  9.954e-01  6.518e-02  0.000e+00  1.000e+01 ( 1.000e+00)
572        Index:  0.000e+00  0.000e+00 -1.000e+00  1.000e+00 ( 1.000e+00) fixed
573        Scale:  1.000e+02  0.000e+00  5.000e+01  2.000e+02 ( 1.000e+00) fixed

EG_v02
   Spectrum: FileFunction
570   Normalization:  1.217e+00  1.684e-01  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Fixed Index): 0.00
Ra Dec: 22.144 44.678
Photon Flux Upper Limit: 4.8348093664e-08 ph cm-2 s-1
Energy Flux Upper Limit: 0.00366465200965 MeV cm-2 s-1

Saving results to:
/lscratch/kocevski/32390987/likelihoodResults_805939201_806198401_4FGL_J0128.5+4440_daily_bin2186.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) = 12793.4526441
delta logL = -0.0115060704884

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

MINUIT Return Code (Free Index): 102
logL (Free Index) = 12793.4411382
delta logL = -1.07063897303e-07

Fit tolerance = 1e-08

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

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

 MIGRAD MINIMIZATION HAS CONVERGED.

 MIGRAD WILL VERIFY CONVERGENCE AND ERROR MATRIX.

 FCN=   12793.44     FROM MIGRAD    STATUS=CONVERGED     68 CALLS      242 TOTAL
                     EDM=   .91E-14    STRATEGY= 1      ERR MATRIX NOT POS-DEF

  EXT PARAMETER                APPROXIMATE        STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor     .16653E-09    .10268        .42118E-03** at limit **
   2  Index         2.3641        5.5124        .38655        .35293E-10
   3  Normalizat    1.2173        .28957E-03    .83803E-01   -.76692E-04
   4  Prefactor     .99536        .11513E-03    .46209E-01   -.15508E-03
                               ERR DEF=  .500    
Final values: 
  Prefactor  = 1.66533e-10
  Index      = 2.3641
  Normalizat = 1.21725
  Prefactor  = 0.995362
 **********
 **   18 **HESSE 
 **********

 FCN=   12793.44     FROM HESSE     STATUS=NOT POSDEF    29 CALLS      271 TOTAL
                     EDM=   .31E-13    STRATEGY= 1      ERR MATRIX NOT POS-DEF

  EXT PARAMETER                APPROXIMATE     INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  Prefactor     .16653E-09    .25860        .84235E-04   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   2  Index         2.3641        6.1789        .50000       -.55528    
   3  Normalizat    1.2173        .45770E-03    .37103E-03   -.86071    
   4  Prefactor     .99536        .18231E-03    .16045E-03   -.92884    
                               ERR DEF=  .500    
Minuit fit quality: 2   estimated distance: 3.09665e-14
Minuit parameter uncertainties:
  1  1.27427e-05
  2  4889.43
  3  0.000457703
  4  0.000182306
shell-init: error retrieving current directory: getcwd: cannot access parent directories: No such file or directory
Done.

MINUIT Return Code (Free Index): 102
logL (Free Index) = 12793.4411381
delta logL = 7.27595761418e-12

Extracting fit parameters...

4FGL J0128.5+4440
   Spectrum: PowerLaw
246    Prefactor:  1.665e-10  1.274e-05  0.000e+00  1.000e+06 ( 1.000e-14)
247        Index:  2.364e+00  4.889e+03  0.000e+00  1.000e+01 (-1.000e+00)
248        Scale:  2.341e+03  0.000e+00  3.000e+01  5.000e+05 ( 1.000e+00) fixed

GAL_V02
   Spectrum: PowerLaw
571    Prefactor:  9.954e-01  1.823e-04  0.000e+00  1.000e+01 ( 1.000e+00)
572        Index:  0.000e+00  0.000e+00 -1.000e+00  1.000e+00 ( 1.000e+00) fixed
573        Scale:  1.000e+02  0.000e+00  5.000e+01  2.000e+02 ( 1.000e+00) fixed

EG_v02
   Spectrum: FileFunction
570   Normalization:  1.217e+00  4.577e-04  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Free Index): 0.00
Ra Dec: 22.144 44.678

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/32390987/cmap_HighResolution_805939201_806198401_4FGL_J0128.5+4440_daily_bin2186.png

Cleaning up...

** Nuclear option initiated! **

Updating database...

UPDATE lightcurve_data_v2 SET energy_flux_upper_limit='3.66e-03', job_status='DONE', photon_flux_upper_limit='4.83e-08', time_completed='2026-07-20 01:23:36.017109', job_id='32390987', GAL2='1.00', fit_tolerance='1e-08', EG2='1.22', EG='1.22', time_epoch_completed='1784535816.02', return_code2='102', ts='0.00', comment='SUCCESS', return_code='0', GAL='1.00', dlogl='7.28e-12', ts2='-0.00', photon_index_error='0.00', photon_index='2.13' WHERE bin_id='2186' AND source_name='4FGL J0128.5+4440' AND cadence='daily';

Database successfully updated.


Analysis Complete.


Mon Jul 20 01:23:36 PDT 2026

