 **********
 **   18 **HESSE 
 **********
  MNHESS FAILS AND WILL RETURN DIAGONAL MATRIX. 

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

  EXT PARAMETER                APPROXIMATE     INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  Prefactor      .0000        8.1351        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   2  Index         .48521        1.8715        .18306E-04   -.61661    
   3  Normalizat    1.4993        1.0497        .27700E-07   -.77797    
   4  Prefactor     .84285        1.1902       -.12286E-05   -.98168    
                               ERR DEF=  .500    
Minuit fit quality: 1   estimated distance: 1.05411e-12
Minuit parameter uncertainties:
  1  3.37113e-06
  2  1.70189
  3  1.0656
  4  1.22994
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) = 13257.1551503
delta logL = 3.14685166813e-10

Extracting fit parameters...

4FGL J0140.6+8736
   Spectrum: PowerLaw
70     Prefactor:  0.000e+00  3.371e-06  0.000e+00  1.000e+06 ( 1.000e-14)
71         Index:  2.109e+00  1.702e+00  0.000e+00  1.000e+01 (-1.000e+00)
72         Scale:  3.173e+03  0.000e+00  3.000e+01  5.000e+05 ( 1.000e+00) fixed

GAL_V02
   Spectrum: PowerLaw
698    Prefactor:  8.428e-01  1.230e+00  0.000e+00  1.000e+01 ( 1.000e+00)
699        Index:  0.000e+00  0.000e+00 -1.000e+00  1.000e+00 ( 1.000e+00) fixed
700        Scale:  1.000e+02  0.000e+00  5.000e+01  2.000e+02 ( 1.000e+00) fixed

EG_v02
   Spectrum: FileFunction
697   Normalization:  1.499e+00  1.066e+00  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Free Index): -0.00
Ra Dec: 25.169 87.606

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/32391048/cmap_HighResolution_805939201_806198401_4FGL_J0140.6+8736_daily_bin2186.png

Cleaning up...

** Nuclear option initiated! **

Updating database...

UPDATE lightcurve_data_v2 SET energy_flux_upper_limit='3.11e-03', job_status='DONE', photon_flux_upper_limit='4.12e-08', time_completed='2026-07-20 01:26:03.590098', job_id='32391048', GAL2='0.84', fit_tolerance='1e-08', EG2='1.50', EG='1.50', time_epoch_completed='1784535963.59', return_code2='101', ts='-0.00', comment='SUCCESS', return_code='0', GAL='0.84', dlogl='3.15e-10', ts2='0.00', photon_index_error='0.00', photon_index='2.06' WHERE bin_id='2186' AND source_name='4FGL J0140.6+8736' AND cadence='daily';

Database successfully updated.


Analysis Complete.


Mon Jul 20 01:26:03 PDT 2026

/sdf/group/fermi/u/kocevski/software/conda/envs/fermitools_v1.0.5/lib/python2.7/site-packages/pyfits/__init__.py:22: PyFITSDeprecationWarning: PyFITS is deprecated, please use astropy.io.fits
  PyFITSDeprecationWarning)  # noqa

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

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

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

/sdf/group/fermi/u/kocevski/software/conda/envs/fermitools_v1.0.5/lib/python2.7/site-packages/matplotlib/cbook/deprecation.py:106: MatplotlibDeprecationWarning: The mpl_toolkits.axes_grid module was deprecated in version 2.1. Use mpl_toolkits.axes_grid1 and mpl_toolkits.axisartist provies the same functionality instead.
  warnings.warn(message, mplDeprecation, stacklevel=1)
_V02
Working on...
/lscratch/kocevski/32391309/ft1_filtered_4FGL_J0140.6+8736_daily_bin2186.fits.....................!
real 68.05
user 66.00
sys 1.47

Creating the likelihood object...
obs = UnbinnedObs('/lscratch/kocevski/32391309/ft1_filtered_4FGL_J0140.6+8736_daily_bin2186.fits', '/lscratch/kocevski/32391309/ft2_4FGL_J0140.6+8736_daily_bin2186.fits', expMap='/lscratch/kocevski/32391309/expmap_805939201_806198401_4FGL_J0140.6+8736_daily_bin2186.fits', expCube='/lscratch/kocevski/32391309/ltcube_805939201_806198401_4FGL_J0140.6+8736_daily_bin2186.fits', irfs='P8R3_SOURCE_V2')
like = UnbinnedAnalysis(obs, '/lscratch/kocevski/32391309/Model_4FGL_J0140.6+8736_daily_bin2186.xml', optimizer='MINUIT')

Using source of interest name: '4FGL J0140.6+8736'

4FGL J0140.6+8736
   Spectrum: PowerLaw
70     Prefactor:  1.998e+00  0.000e+00  0.000e+00  1.000e+06 ( 1.000e-14)
71         Index:  2.064e+00  0.000e+00  0.000e+00  1.000e+01 (-1.000e+00) fixed
72         Scale:  3.173e+03  0.000e+00  3.000e+01  5.000e+05 ( 1.000e+00) fixed


Likelihood Fit Parameters:
Event file(s): /lscratch/kocevski/32391309/ft1_filtered_4FGL_J0140.6+8736_daily_bin2186.fits
Spacecraft file(s): /lscratch/kocevski/32391309/ft2_4FGL_J0140.6+8736_daily_bin2186.fits
Exposure map: /lscratch/kocevski/32391309/expmap_805939201_806198401_4FGL_J0140.6+8736_daily_bin2186.fits
Exposure cube: /lscratch/kocevski/32391309/ltcube_805939201_806198401_4FGL_J0140.6+8736_daily_bin2186.fits
IRFs: P8R3_SOURCE_V2
Source model file: /lscratch/kocevski/32391309/Model_4FGL_J0140.6+8736_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) = 13257.4609931

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

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

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'Prefactor '    .54414E-05   1.0000          .0000       .10000E+07
     2 'Prefactor '    1.7690       1.0000          .0000       .10000E+07
     3 'Prefactor '    .19984E-08   1.0000          .0000       .10000E+07
     4 'norm      '    .71752E-02   1.0000          .0000       .10000E+07
     5 'Prefactor '    1.7536       1.0000          .0000       .10000E+07
     6 'Prefactor '    .23093E-07   1.0000          .0000       .10000E+07
     7 'norm      '    .11433       1.0000          .0000       .10000E+07
     8 'Prefactor '    .11232E-04   1.0000          .0000       .10000E+07
     9 'Prefactor '    2.5368       1.0000          .0000       .10000E+07
    10 'norm      '    .48384E-06   1.0000          .0000       .10000E+07
    11 'Prefactor '    6.4201       1.0000          .0000       .10000E+07
    12 'Prefactor '    .14342E-04   1.0000          .0000       .10000E+07
    13 'Prefactor '    .65257E-04   1.0000          .0000       .10000E+07
    14 'Normalizat'    1.4989       1.0000         .10000E-01   10.000    
    15 'Prefactor '    .84296       1.0000          .0000       10.000    
 **********
 **   15 **SET ERR    .5000    
 **********
 **********
 **   16 **SET GRAD    1.000    
 **********
 **********
 **   17 **MINIMIZE    .7010E+05   .2000E-04
 **********

 MIGRAD MINIMIZATION HAS CONVERGED.

 FCN=   13257.16     FROM MIGRAD    STATUS=CONVERGED    116 CALLS      836 TOTAL
                     EDM=   .13E-08  STRATEGY=1  ERROR MATRIX UNCERTAINTY=  1.3%

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor     .54401E-08    4.7706        .22124E-07** at limit **
   2  Prefactor     1.7892        1.9423        .65775E-07    .18233E-01
   3  Prefactor     .56455E-07    6.5925       -.78204E-06** at limit **
   4  norm          .23870E-07    154.09       -.18016E-05** at limit **
   5  Prefactor     1.7515        5.0840       -.20590E-06    .71595E-04
   6  Prefactor     .31014E-06    3.2020       -.39040E-06** at limit **
   7  norm          .10258        29.141        .15297E-05** at limit **
   8  Prefactor     .14183E-06    3.4319       -.41869E-07** at limit **
   9  Prefactor     2.4040        9.0402       -.93177E-07   -.14340E-01
  10  norm           .0000        1.0976       -.13883E-06** at limit **
  11  Prefactor     6.4622        7.7251       -.46338E-06    .15765E-01
  12  Prefactor     .21649E-08    11.922        .63627E-06** at limit **
  13  Prefactor     .25713E-06    3.0600       -.51948E-07** at limit **
  14  Normalizat    1.4993        .17872        .29554E-05    .30136E-04
  15  Prefactor     .84285        .64534E-01   -.16267E-05    .31565E-04
                               ERR DEF=  .500    
Final values: 
  Prefactor  = 5.44009e-09
  Prefactor  = 1.78916
  Prefactor  = 5.64548e-08
  norm       = 2.38698e-08
  Prefactor  = 1.75151
  Prefactor  = 3.10141e-07
  norm       = 0.102585
  Prefactor  = 1.41831e-07
  Prefactor  = 2.40398
  norm       = 0
  Prefactor  = 6.4622
  Prefactor  = 2.16493e-09
  Prefactor  = 2.57128e-07
  Normalizat = 1.49934
  Prefactor  = 0.842849

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

L_V02
Working on...
/lscratch/kocevski/32391423/ft1_filtered_4FGL_J0140.6+8736_daily_bin2186.fits.....................!
real 60.65
user 58.76
sys 1.05

Creating the likelihood object...
obs = UnbinnedObs('/lscratch/kocevski/32391423/ft1_filtered_4FGL_J0140.6+8736_daily_bin2186.fits', '/lscratch/kocevski/32391423/ft2_4FGL_J0140.6+8736_daily_bin2186.fits', expMap='/lscratch/kocevski/32391423/expmap_805939201_806198401_4FGL_J0140.6+8736_daily_bin2186.fits', expCube='/lscratch/kocevski/32391423/ltcube_805939201_806198401_4FGL_J0140.6+8736_daily_bin2186.fits', irfs='P8R3_SOURCE_V2')
like = UnbinnedAnalysis(obs, '/lscratch/kocevski/32391423/Model_4FGL_J0140.6+8736_daily_bin2186.xml', optimizer='MINUIT')

Using source of interest name: '4FGL J0140.6+8736'

4FGL J0140.6+8736
   Spectrum: PowerLaw
70     Prefactor:  1.998e+00  0.000e+00  0.000e+00  1.000e+06 ( 1.000e-14)
71         Index:  2.064e+00  0.000e+00  0.000e+00  1.000e+01 (-1.000e+00) fixed
72         Scale:  3.173e+03  0.000e+00  3.000e+01  5.000e+05 ( 1.000e+00) fixed


Likelihood Fit Parameters:
Event file(s): /lscratch/kocevski/32391423/ft1_filtered_4FGL_J0140.6+8736_daily_bin2186.fits
Spacecraft file(s): /lscratch/kocevski/32391423/ft2_4FGL_J0140.6+8736_daily_bin2186.fits
Exposure map: /lscratch/kocevski/32391423/expmap_805939201_806198401_4FGL_J0140.6+8736_daily_bin2186.fits
Exposure cube: /lscratch/kocevski/32391423/ltcube_805939201_806198401_4FGL_J0140.6+8736_daily_bin2186.fits
IRFs: P8R3_SOURCE_V2
Source model file: /lscratch/kocevski/32391423/Model_4FGL_J0140.6+8736_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) = 13257.4609931

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

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

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'Prefactor '    .54414E-05   1.0000          .0000       .10000E+07
     2 'Prefactor '    1.7690       1.0000          .0000       .10000E+07
     3 'Prefactor '    .19984E-08   1.0000          .0000       .10000E+07
     4 'norm      '    .71752E-02   1.0000          .0000       .10000E+07
     5 'Prefactor '    1.7536       1.0000          .0000       .10000E+07
     6 'Prefactor '    .23093E-07   1.0000          .0000       .10000E+07
     7 'norm      '    .11433       1.0000          .0000       .10000E+07
     8 'Prefactor '    .11232E-04   1.0000          .0000       .10000E+07
     9 'Prefactor '    2.5368       1.0000          .0000       .10000E+07
    10 'norm      '    .48384E-06   1.0000          .0000       .10000E+07
    11 'Prefactor '    6.4201       1.0000          .0000       .10000E+07
    12 'Prefactor '    .14342E-04   1.0000          .0000       .10000E+07
    13 'Prefactor '    .65257E-04   1.0000          .0000       .10000E+07
    14 'Normalizat'    1.4989       1.0000         .10000E-01   10.000    
    15 'Prefactor '    .84296       1.0000          .0000       10.000    
 **********
 **   15 **SET ERR    .5000    
 **********
 **********
 **   16 **SET GRAD    1.000    
 **********
 **********
 **   17 **MINIMIZE    .7010E+05   .2000E-04
 **********

 MIGRAD MINIMIZATION HAS CONVERGED.

 FCN=   13257.16     FROM MIGRAD    STATUS=CONVERGED    116 CALLS      836 TOTAL
                     EDM=   .13E-08  STRATEGY=1  ERROR MATRIX UNCERTAINTY=  1.3%

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor     .54401E-08    4.7706        .22124E-07** at limit **
   2  Prefactor     1.7892        1.9423        .65775E-07    .18233E-01
   3  Prefactor     .56455E-07    6.5925       -.78204E-06** at limit **
   4  norm          .23870E-07    154.09       -.18016E-05** at limit **
   5  Prefactor     1.7515        5.0840       -.20590E-06    .71595E-04
   6  Prefactor     .31014E-06    3.2020       -.39040E-06** at limit **
   7  norm          .10258        29.141        .15297E-05** at limit **
   8  Prefactor     .14183E-06    3.4319       -.41869E-07** at limit **
   9  Prefactor     2.4040        9.0402       -.93177E-07   -.14340E-01
  10  norm           .0000        1.0976       -.13883E-06** at limit **
  11  Prefactor     6.4622        7.7251       -.46338E-06    .15765E-01
  12  Prefactor     .21649E-08    11.922        .63627E-06** at limit **
  13  Prefactor     .25713E-06    3.0600       -.51948E-07** at limit **
  14  Normalizat    1.4993        .17872        .29554E-05    .30136E-04
  15  Prefactor     .84285        .64534E-01   -.16267E-05    .31565E-04
                               ERR DEF=  .500    
Final values: 
  Prefactor  = 5.44009e-09
  Prefactor  = 1.78916
  Prefactor  = 5.64548e-08
  norm       = 2.38698e-08
  Prefactor  = 1.75151
  Prefactor  = 3.10141e-07
  norm       = 0.102585
  Prefactor  = 1.41831e-07
  Prefactor  = 2.40398
  norm       = 0
  Prefactor  = 6.4622
  Prefactor  = 2.16493e-09
  Prefactor  = 2.57128e-07
  Normalizat = 1.49934
  Prefactor  = 0.842849
 **********
 **   18 **HESSE 
 **********

 FCN=   13257.16     FROM HESSE     STATUS=OK           216 CALLS     1052 TOTAL
                     EDM=   .19E-06    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  Prefactor     .54401E-08    8.6289        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   2  Prefactor     1.7892        17.793        .78711E-03   -1.5681    
   3  Prefactor     .56455E-07    6.8118        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   4  norm          .23870E-07    149.44        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   5  Prefactor     1.7515        5.0963        .79130E-03   -1.5681    
   6  Prefactor     .31014E-06    4.8021        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   7  norm          .10258        1.5607        .89861E-02   -1.5714    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   8  Prefactor     .14183E-06    8.7313        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   9  Prefactor     2.4040        9.3526        .64097E-03   -1.5677    
  10  norm           .0000        1.1045        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  11  Prefactor     6.4622        7.7939        .39588E-03   -1.5657    
  12  Prefactor     .21649E-08    12.034        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  13  Prefactor     .25713E-06    4.5157        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  14  Normalizat    1.4993        .15990        .74977E-01   -.77797    
  15  Prefactor     .84285        .57772E-01    .44274E-01   -.98168    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 1.87676e-07
Minuit parameter uncertainties:
  1  0.000433546
  2  11.2846
  3  0.00124023
  4  0.00377846
  5  5.09635
  6  0.00244068
  7  0.800273
  8  0.00222562
  9  9.35267
  10  9.33129e-06
  11  7.79393
  12  0.00032253
  13  0.00215498
  14  0.159955
  15  0.0577758
 **********
 **   18 **HESSE 
 **********

 FCN=   13257.16     FROM HESSE     STATUS=OK           216 CALLS     1052 TOTAL
                     EDM=   .19E-06    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  Prefactor     .54401E-08    8.6289        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   2  Prefactor     1.7892        17.793        .78711E-03   -1.5681    
   3  Prefactor     .56455E-07    6.8118        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   4  norm          .23870E-07    149.44        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   5  Prefactor     1.7515        5.0963        .79130E-03   -1.5681    
   6  Prefactor     .31014E-06    4.8021        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   7  norm          .10258        1.5607        .89861E-02   -1.5714    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   8  Prefactor     .14183E-06    8.7313        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   9  Prefactor     2.4040        9.3526        .64097E-03   -1.5677    
  10  norm           .0000        1.1045        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  11  Prefactor     6.4622        7.7939        .39588E-03   -1.5657    
  12  Prefactor     .21649E-08    12.034        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  13  Prefactor     .25713E-06    4.5157        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  14  Normalizat    1.4993        .15990        .74977E-01   -.77797    
  15  Prefactor     .84285        .57772E-01    .44274E-01   -.98168    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 1.87676e-07
Minuit parameter uncertainties:
  1  0.000433546
  2  11.2846
  3  0.00124023
  4  0.00377846
  5  5.09635
  6  0.00244068
  7  0.800273
  8  0.00222562
  9  9.35267
  10  9.33129e-06
  11  7.79393
  12  0.00032253
  13  0.00215498
  14  0.159955
  15  0.0577758
Done.

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

Extracting fit parameters...

4FGL J0140.6+8736
   Spectrum: PowerLaw
70     Prefactor:  5.440e-09  4.335e-04  0.000e+00  1.000e+06 ( 1.000e-14)
71         Index:  2.064e+00  0.000e+00  0.000e+00  1.000e+01 (-1.000e+00) fixed
72         Scale:  3.173e+03  0.000e+00  3.000e+01  5.000e+05 ( 1.000e+00) fixed

GAL_V02
   Spectrum: PowerLaw
698    Prefactor:  8.428e-01  5.778e-02  0.000e+00  1.000e+01 ( 1.000e+00)
699        Index:  0.000e+00  0.000e+00 -1.000e+00  1.000e+00 ( 1.000e+00) fixed
700        Scale:  1.000e+02  0.000e+00  5.000e+01  2.000e+02 ( 1.000e+00) fixed

EG_v02
   Spectrum: FileFunction
697   Normalization:  1.499e+00  1.600e-01  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Fixed Index): -0.00
Ra Dec: 25.169 87.606
Photon Flux Upper Limit: 4.1198418306e-08 ph cm-2 s-1
Energy Flux Upper Limit: 0.00310618353452 MeV cm-2 s-1

Saving results to:
/lscratch/kocevski/32391300/likelihoodResults_805939201_806198401_4FGL_J0140.6+8736_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) = 13257.2109849
delta logL = -0.0558346028065

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

MINUIT Return Code (Free Index): 0
logL (Free Index) = 13257.1551536
delta logL = -3.30352486344e-06

Fit tolerance = 1e-08

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

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

 MIGRAD MINIMIZATION HAS CONVERGED.

 FCN=   13257.16     FROM MIGRAD    STATUS=CONVERGED     33 CALLS      205 TOTAL
                     EDM=   .11E-11  STRATEGY=1  ERROR MATRIX UNCERTAINTY=  1.5%

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor      .0000        8.2295       -.23959E-06** at limit **
   2  Index         2.1087        3.2292        .18306E-04     .0000    
   3  Normalizat    1.4993        .17247        .27700E-07    .42102E-04
   4  Prefactor     .84285        .64149E-01   -.12286E-05    .96898E-04
                               ERR DEF=  .500    
Final values: 
  Prefactor  = 0
  Index      = 2.10865
  Normalizat = 1.49934
  Prefactor  = 0.84285
 **********
 **   18 **HESSE 
 **********
  MNHESS FAILS AND WILL RETURN DIAGONAL MATRIX. 

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

  EXT PARAMETER                APPROXIMATE     INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  Prefactor      .0000        8.1351        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   2  Index         .48521        1.8715        .18306E-04   -.61661    
   3  Normalizat    1.4993        1.0497        .27700E-07   -.77797    
   4  Prefactor     .84285        1.1902       -.12286E-05   -.98168    
                               ERR DEF=  .500    
Minuit fit quality: 1   estimated distance: 1.05411e-12
Minuit parameter uncertainties:
  1  3.37113e-06
  2  1.70189
  3  1.0656
  4  1.22994
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) = 13257.1551503
delta logL = 3.14685166813e-10

Extracting fit parameters...

4FGL J0140.6+8736
   Spectrum: PowerLaw
70     Prefactor:  0.000e+00  3.371e-06  0.000e+00  1.000e+06 ( 1.000e-14)
71         Index:  2.109e+00  1.702e+00  0.000e+00  1.000e+01 (-1.000e+00)
72         Scale:  3.173e+03  0.000e+00  3.000e+01  5.000e+05 ( 1.000e+00) fixed

GAL_V02
   Spectrum: PowerLaw
698    Prefactor:  8.428e-01  1.230e+00  0.000e+00  1.000e+01 ( 1.000e+00)
699        Index:  0.000e+00  0.000e+00 -1.000e+00  1.000e+00 ( 1.000e+00) fixed
700        Scale:  1.000e+02  0.000e+00  5.000e+01  2.000e+02 ( 1.000e+00) fixed

EG_v02
   Spectrum: FileFunction
697   Normalization:  1.499e+00  1.066e+00  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Free Index): -0.00
Ra Dec: 25.169 87.606

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/32391300/cmap_HighResolution_805939201_806198401_4FGL_J0140.6+8736_daily_bin2186.png

Cleaning up...

** Nuclear option initiated! **

Updating database...

UPDATE lightcurve_data_v2 SET energy_flux_upper_limit='3.11e-03', job_status='DONE', photon_flux_upper_limit='4.12e-08', time_completed='2026-07-20 01:26:44.502648', job_id='32391300', GAL2='0.84', fit_tolerance='1e-08', EG2='1.50', EG='1.50', time_epoch_completed='1784536004.5', return_code2='101', ts='-0.00', comment='SUCCESS', return_code='0', GAL='0.84', dlogl='3.15e-10', ts2='0.00', photon_index_error='0.00', photon_index='2.06' WHERE bin_id='2186' AND source_name='4FGL J0140.6+8736' AND cadence='daily';

Database successfully updated.


Analysis Complete.


Mon Jul 20 01:26:44 PDT 2026

Done.

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

Extracting fit parameters...

4FGL J0140.6+8736
   Spectrum: PowerLaw
70     Prefactor:  5.440e-09  4.335e-04  0.000e+00  1.000e+06 ( 1.000e-14)
71         Index:  2.064e+00  0.000e+00  0.000e+00  1.000e+01 (-1.000e+00) fixed
72         Scale:  3.173e+03  0.000e+00  3.000e+01  5.000e+05 ( 1.000e+00) fixed

GAL_V02
   Spectrum: PowerLaw
698    Prefactor:  8.428e-01  5.778e-02  0.000e+00  1.000e+01 ( 1.000e+00)
699        Index:  0.000e+00  0.000e+00 -1.000e+00  1.000e+00 ( 1.000e+00) fixed
700        Scale:  1.000e+02  0.000e+00  5.000e+01  2.000e+02 ( 1.000e+00) fixed

EG_v02
   Spectrum: FileFunction
697   Normalization:  1.499e+00  1.600e-01  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Fixed Index): -0.00
Ra Dec: 25.169 87.606
Photon Flux Upper Limit: 4.1198418306e-08 ph cm-2 s-1
Energy Flux Upper Limit: 0.00310618353452 MeV cm-2 s-1

Saving results to:
/lscratch/kocevski/32391297/likelihoodResults_805939201_806198401_4FGL_J0140.6+8736_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) = 13257.2109849
delta logL = -0.0558346028065

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

MINUIT Return Code (Free Index): 0
logL (Free Index) = 13257.1551536
delta logL = -3.30352486344e-06

Fit tolerance = 1e-08

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

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

 MIGRAD MINIMIZATION HAS CONVERGED.

 FCN=   13257.16     FROM MIGRAD    STATUS=CONVERGED     33 CALLS      205 TOTAL
                     EDM=   .11E-11  STRATEGY=1  ERROR MATRIX UNCERTAINTY=  1.5%

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor      .0000        8.2295       -.23959E-06** at limit **
   2  Index         2.1087        3.2292        .18306E-04     .0000    
   3  Normalizat    1.4993        .17247        .27700E-07    .42102E-04
   4  Prefactor     .84285        .64149E-01   -.12286E-05    .96898E-04
                               ERR DEF=  .500    
Final values: 
  Prefactor  = 0
  Index      = 2.10865
  Normalizat = 1.49934
  Prefactor  = 0.84285
 **********
 **   18 **HESSE 
 **********
  MNHESS FAILS AND WILL RETURN DIAGONAL MATRIX. 

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

  EXT PARAMETER                APPROXIMATE     INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  Prefactor      .0000        8.1351        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   2  Index         .48521        1.8715        .18306E-04   -.61661    
   3  Normalizat    1.4993        1.0497        .27700E-07   -.77797    
   4  Prefactor     .84285        1.1902       -.12286E-05   -.98168    
                               ERR DEF=  .500    
Minuit fit quality: 1   estimated distance: 1.05411e-12
Minuit parameter uncertainties:
  1  3.37113e-06
  2  1.70189
  3  1.0656
  4  1.22994
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) = 13257.1551503
delta logL = 3.14685166813e-10

Extracting fit parameters...

4FGL J0140.6+8736
   Spectrum: PowerLaw
70     Prefactor:  0.000e+00  3.371e-06  0.000e+00  1.000e+06 ( 1.000e-14)
71         Index:  2.109e+00  1.702e+00  0.000e+00  1.000e+01 (-1.000e+00)
72         Scale:  3.173e+03  0.000e+00  3.000e+01  5.000e+05 ( 1.000e+00) fixed

GAL_V02
   Spectrum: PowerLaw
698    Prefactor:  8.428e-01  1.230e+00  0.000e+00  1.000e+01 ( 1.000e+00)
699        Index:  0.000e+00  0.000e+00 -1.000e+00  1.000e+00 ( 1.000e+00) fixed
700        Scale:  1.000e+02  0.000e+00  5.000e+01  2.000e+02 ( 1.000e+00) fixed

EG_v02
   Spectrum: FileFunction
697   Normalization:  1.499e+00  1.066e+00  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Free Index): -0.00
Ra Dec: 25.169 87.606

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/32391297/cmap_HighResolution_805939201_806198401_4FGL_J0140.6+8736_daily_bin2186.png

Cleaning up...

** Nuclear option initiated! **

Updating database...

UPDATE lightcurve_data_v2 SET energy_flux_upper_limit='3.11e-03', job_status='DONE', photon_flux_upper_limit='4.12e-08', time_completed='2026-07-20 01:26:51.349939', job_id='32391297', GAL2='0.84', fit_tolerance='1e-08', EG2='1.50', EG='1.50', time_epoch_completed='1784536011.35', return_code2='101', ts='-0.00', comment='SUCCESS', return_code='0', GAL='0.84', dlogl='3.15e-10', ts2='0.00', photon_index_error='0.00', photon_index='2.06' WHERE bin_id='2186' AND source_name='4FGL J0140.6+8736' AND cadence='daily';

Database successfully updated.


Analysis Complete.


Mon Jul 20 01:26:51 PDT 2026

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


Performing analysis on: 4FGL_J0140.6+8736_daily_bin2186
RA = 25.1688, Dec = 87.6062
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='32392135', job_status='RUN', time_executed='2026-07-20 01:26:15.536225', time_epoch_executed='1784535975.54' WHERE source_name='4FGL J0140.6+8736' and cadence='daily' and bin_id='2186'

Database successfully updated.
Done.

Creating custom output directory:
/lscratch/kocevski/32392135

Creating custom pfile directory:
/lscratch/kocevski/32392135/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/32392135/ft1_4FGL_J0140.6+8736_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/32392135/ft2_4FGL_J0140.6+8736_daily_bin2186.fits


Selecting the photons:
time -p gtselect infile=/lscratch/kocevski/32392135/ft1_4FGL_J0140.6+8736_daily_bin2186.fits outfile=/lscratch/kocevski/32392135/ft1_filteredMKT_4FGL_J0140.6+8736_daily_bin2186.fits ra=25.1688 dec=87.6062 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.34
user 2.01
sys 0.16

Adding sun position to ft2 file:
/sdf/group/fermi/g/LCRepository/Repository/bin/sunpos /lscratch/kocevski/32392135/ft2_4FGL_J0140.6+8736_daily_bin2186.fits

Selecting the good time intervals:
time -p gtmktime scfile=/lscratch/kocevski/32392135/ft2_4FGL_J0140.6+8736_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/32392135/ft1_filteredMKT_4FGL_J0140.6+8736_daily_bin2186.fits evtable="EVENTS" outfile="/lscratch/kocevski/32392135/ft1_filtered_4FGL_J0140.6+8736_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.51
user 0.19
sys 0.11

Number of photons that the gtmktime cut: 1289

Generating the livetime cube:
time -p gtltcube evfile="/lscratch/kocevski/32392135/ft1_filtered_4FGL_J0140.6+8736_daily_bin2186.fits" evtable="EVENTS" scfile=/lscratch/kocevski/32392135/ft2_4FGL_J0140.6+8736_daily_bin2186.fits sctable="SC_DATA" oDone.

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

Extracting fit parameters...

4FGL J0140.6+8736
   Spectrum: PowerLaw
70     Prefactor:  5.440e-09  4.335e-04  0.000e+00  1.000e+06 ( 1.000e-14)
71         Index:  2.064e+00  0.000e+00  0.000e+00  1.000e+01 (-1.000e+00) fixed
72         Scale:  3.173e+03  0.000e+00  3.000e+01  5.000e+05 ( 1.000e+00) fixed

GAL_V02
   Spectrum: PowerLaw
698    Prefactor:  8.428e-01  5.778e-02  0.000e+00  1.000e+01 ( 1.000e+00)
699        Index:  0.000e+00  0.000e+00 -1.000e+00  1.000e+00 ( 1.000e+00) fixed
700        Scale:  1.000e+02  0.000e+00  5.000e+01  2.000e+02 ( 1.000e+00) fixed

EG_v02
   Spectrum: FileFunction
697   Normalization:  1.499e+00  1.600e-01  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Fixed Index): -0.00
Ra Dec: 25.169 87.606
Photon Flux Upper Limit: 4.1198418306e-08 ph cm-2 s-1
Energy Flux Upper Limit: 0.00310618353452 MeV cm-2 s-1

Saving results to:
/lscratch/kocevski/32391423/likelihoodResults_805939201_806198401_4FGL_J0140.6+8736_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) = 13257.2109849
delta logL = -0.0558346028065

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

MINUIT Return Code (Free Index): 0
logL (Free Index) = 13257.1551536
delta logL = -3.30352486344e-06

Fit tolerance = 1e-08

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

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

 MIGRAD MINIMIZATION HAS CONVERGED.

 FCN=   13257.16     FROM MIGRAD    STATUS=CONVERGED     33 CALLS      205 TOTAL
                     EDM=   .11E-11  STRATEGY=1  ERROR MATRIX UNCERTAINTY=  1.5%

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor      .0000        8.2295       -.23959E-06** at limit **
   2  Index         2.1087        3.2292        .18306E-04     .0000    
   3  Normalizat    1.4993        .17247        .27700E-07    .42102E-04
   4  Prefactor     .84285        .64149E-01   -.12286E-05    .96898E-04
                               ERR DEF=  .500    
Final values: 
  Prefactor  = 0
  Index      = 2.10865
  Normalizat = 1.49934
  Prefactor  = 0.84285
 **********
 **   18 **HESSE 
 **********
  MNHESS FAILS AND WILL RETURN DIAGONAL MATRIX. 

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

  EXT PARAMETER                APPROXIMATE     INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  Prefactor      .0000        8.1351        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   2  Index         .48521        1.8715        .18306E-04   -.61661    
   3  Normalizat    1.4993        1.0497        .27700E-07   -.77797    
   4  Prefactor     .84285        1.1902       -.12286E-05   -.98168    
                               ERR DEF=  .500    
Minuit fit quality: 1   estimated distance: 1.05411e-12
Minuit parameter uncertainties:
  1  3.37113e-06
  2  1.70189
  3  1.0656
  4  1.22994
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) = 13257.1551503
delta logL = 3.14685166813e-10

Extracting fit parameters...

4FGL J0140.6+8736
   Spectrum: PowerLaw
70     Prefactor:  0.000e+00  3.371e-06  0.000e+00  1.000e+06 ( 1.000e-14)
71         Index:  2.109e+00  1.702e+00  0.000e+00  1.000e+01 (-1.000e+00)
72         Scale:  3.173e+03  0.000e+00  3.000e+01  5.000e+05 ( 1.000e+00) fixed

GAL_V02
   Spectrum: PowerLaw
698    Prefactor:  8.428e-01  1.230e+00  0.000e+00  1.000e+01 ( 1.000e+00)
699        Index:  0.000e+00  0.000e+00 -1.000e+00  1.000e+00 ( 1.000e+00) fixed
700        Scale:  1.000e+02  0.000e+00  5.000e+01  2.000e+02 ( 1.000e+00) fixed

EG_v02
   Spectrum: FileFunction
697   Normalization:  1.499e+00  1.066e+00  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Free Index): -0.00
Ra Dec: 25.169 87.606

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/32391423/cmap_HighResolution_805939201_806198401_4FGL_J0140.6+8736_daily_bin2186.png

Cleaning up...

** Nuclear option initiated! **

Updating database...

UPDATE lightcurve_data_v2 SET energy_flux_upper_limit='3.11e-03', job_status='DONE', photon_flux_upper_limit='4.12e-08', time_completed='2026-07-20 01:27:35.000931', job_id='32391423', GAL2='0.84', fit_tolerance='1e-08', EG2='1.50', EG='1.50', time_epoch_completed='1784536055.0', return_code2='101', ts='-0.00', comment='SUCCESS', return_code='0', GAL='0.84', dlogl='3.15e-10', ts2='0.00', photon_index_error='0.00', photon_index='2.06' WHERE bin_id='2186' AND source_name='4FGL J0140.6+8736' AND cadence='daily';

Database successfully updated.


Analysis Complete.


Mon Jul 20 01:27:35 PDT 2026

Done.

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

Extracting fit parameters...

4FGL J0140.6+8736
   Spectrum: PowerLaw
70     Prefactor:  5.440e-09  4.335e-04  0.000e+00  1.000e+06 ( 1.000e-14)
71         Index:  2.064e+00  0.000e+00  0.000e+00  1.000e+01 (-1.000e+00) fixed
72         Scale:  3.173e+03  0.000e+00  3.000e+01  5.000e+05 ( 1.000e+00) fixed

GAL_V02
   Spectrum: PowerLaw
698    Prefactor:  8.428e-01  5.778e-02  0.000e+00  1.000e+01 ( 1.000e+00)
699        Index:  0.000e+00  0.000e+00 -1.000e+00  1.000e+00 ( 1.000e+00) fixed
700        Scale:  1.000e+02  0.000e+00  5.000e+01  2.000e+02 ( 1.000e+00) fixed

EG_v02
   Spectrum: FileFunction
697   Normalization:  1.499e+00  1.600e-01  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Fixed Index): -0.00
Ra Dec: 25.169 87.606
Photon Flux Upper Limit: 4.1198418306e-08 ph cm-2 s-1
Energy Flux Upper Limit: 0.00310618353452 MeV cm-2 s-1

Saving results to:
/lscratch/kocevski/32391309/likelihoodResults_805939201_806198401_4FGL_J0140.6+8736_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) = 13257.2109849
delta logL = -0.0558346028065

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

MINUIT Return Code (Free Index): 0
logL (Free Index) = 13257.1551536
delta logL = -3.30352486344e-06

Fit tolerance = 1e-08

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

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

 MIGRAD MINIMIZATION HAS CONVERGED.

 FCN=   13257.16     FROM MIGRAD    STATUS=CONVERGED     33 CALLS      205 TOTAL
                     EDM=   .11E-11  STRATEGY=1  ERROR MATRIX UNCERTAINTY=  1.5%

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor      .0000        8.2295       -.23959E-06** at limit **
   2  Index         2.1087        3.2292        .18306E-04     .0000    
   3  Normalizat    1.4993        .17247        .27700E-07    .42102E-04
   4  Prefactor     .84285        .64149E-01   -.12286E-05    .96898E-04
                               ERR DEF=  .500    
Final values: 
  Prefactor  = 0
  Index      = 2.10865
  Normalizat = 1.49934
  Prefactor  = 0.84285
 **********
 **   18 **HESSE 
 **********
  MNHESS FAILS AND WILL RETURN DIAGONAL MATRIX. 

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

  EXT PARAMETER                APPROXIMATE     INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  Prefactor      .0000        8.1351        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   2  Index         .48521        1.8715        .18306E-04   -.61661    
   3  Normalizat    1.4993        1.0497        .27700E-07   -.77797    
   4  Prefactor     .84285        1.1902       -.12286E-05   -.98168    
                               ERR DEF=  .500    
Minuit fit quality: 1   estimated distance: 1.05411e-12
Minuit parameter uncertainties:
  1  3.37113e-06
  2  1.70189
  3  1.0656
  4  1.22994
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) = 13257.1551503
delta logL = 3.14685166813e-10

Extracting fit parameters...

4FGL J0140.6+8736
   Spectrum: PowerLaw
70     Prefactor:  0.000e+00  3.371e-06  0.000e+00  1.000e+06 ( 1.000e-14)
71         Index:  2.109e+00  1.702e+00  0.000e+00  1.000e+01 (-1.000e+00)
72         Scale:  3.173e+03  0.000e+00  3.000e+01  5.000e+05 ( 1.000e+00) fixed

GAL_V02
   Spectrum: PowerLaw
698    Prefactor:  8.428e-01  1.230e+00  0.000e+00  1.000e+01 ( 1.000e+00)
699        Index:  0.000e+00  0.000e+00 -1.000e+00  1.000e+00 ( 1.000e+00) fixed
700        Scale:  1.000e+02  0.000e+00  5.000e+01  2.000e+02 ( 1.000e+00) fixed

EG_v02
   Spectrum: FileFunction
697   Normalization:  1.499e+00  1.066e+00  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Free Index): -0.00
Ra Dec: 25.169 87.606

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/32391309/cmap_HighResolution_805939201_806198401_4FGL_J0140.6+8736_daily_bin2186.png

Cleaning up...

** Nuclear option initiated! **

Updating database...

UPDATE lightcurve_data_v2 SET energy_flux_upper_limit='3.11e-03', job_status='DONE', photon_flux_upper_limit='4.12e-08', time_completed='2026-07-20 01:27:43.044493', job_id='32391309', GAL2='0.84', fit_tolerance='1e-08', EG2='1.50', EG='1.50', time_epoch_completed='1784536063.04', return_code2='101', ts='-0.00', comment='SUCCESS', return_code='0', GAL='0.84', dlogl='3.15e-10', ts2='0.00', photon_index_error='0.00', photon_index='2.06' WHERE bin_id='2186' AND source_name='4FGL J0140.6+8736' AND cadence='daily';

Database successfully updated.


Analysis Complete.


Mon Jul 20 01:27:43 PDT 2026

utfile=/lscratch/kocevski/32392135/ltcube_805939201_806198401_4FGL_J0140.6+8736_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/32392135/ft2_4FGL_J0140.6+8736_daily_bin2186.fits
.....................!
real 8.71
user 8.26
sys 0.22

Generating the exposure map:
time -p gtexpmap evfile=/lscratch/kocevski/32392135/ft1_filtered_4FGL_J0140.6+8736_daily_bin2186.fits evtable="EVENTS" scfile=/lscratch/kocevski/32392135/ft2_4FGL_J0140.6+8736_daily_bin2186.fits sctable="SC_DATA" expcube=/lscratch/kocevski/32392135/ltcube_805939201_806198401_4FGL_J0140.6+8736_daily_bin2186.fits outfile=/lscratch/kocevski/32392135/expmap_805939201_806198401_4FGL_J0140.6+8736_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/32392135/ltcube_805939201_806198401_4FGL_J0140.6+8736_daily_bin2186.fits
.....................!
real 74.15
user 69.47
sys 4.12

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

Setting source of interest to:
4FGL J0140.6+8736 @ 25.1688 87.6062

Creating the counts map:
time -p gtbin evfile=/lscratch/kocevski/32392135/ft1_filtered_4FGL_J0140.6+8736_daily_bin2186.fits scfile=/lscratch/kocevski/32392135/ft2_4FGL_J0140.6+8736_daily_bin2186.fits outfile=/lscratch/kocevski/32392135/cmap_805939201_806198401_4FGL_J0140.6+8736_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=25.1688 yref=87.6062 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.22
sys 0.13

Creating the high resolution counts map:
time -p gtbin evfile=/lscratch/kocevski/32392135/ft1_filtered_4FGL_J0140.6+8736_daily_bin2186.fits scfile=/lscratch/kocevski/32392135/ft2_4FGL_J0140.6+8736_daily_bin2186.fits outfile=/lscratch/kocevski/32392135/cmap_HighResolution_805939201_806198401_4FGL_J0140.6+8736_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=25.1688 yref=87.6062 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.48
user 0.22
sys 0.13

Computing the diffuse response:
time -p gtdiffrsp evfile=/lscratch/kocevski/32392135/ft1_filtered_4FGL_J0140.6+8736_daily_bin2186.fits evtable="EVENTS" scfile=/lscratch/kocevski/32392135/ft2_4FGL_J0140.6+8736_daily_bin2186.fits sctable="SC_DATA" srcmdl=/lscratch/kocevski/32392135/Model_4FGL_J0140.6+8736_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
Working on...
/lscratch/kocevski/32392135/ft1_filtered_4FGL_J0140.6+8736_daily_bin2186.fits.....................!
real 79.56
user 76.20
sys 2.64

Creating the likelihood object...
obs = UnbinnedObs('/lscratch/kocevski/32392135/ft1_filtered_4FGL_J0140.6+8736_daily_bin2186.fits', '/lscratch/kocevski/32392135/ft2_4FGL_J0140.6+8736_daily_bin2186.fits', expMap='/lscratch/kocevski/32392135/expmap_805939201_806198401_4FGL_J0140.6+8736_daily_bin2186.fits', expCube='/lscratch/kocevski/32392135/ltcube_805939201_806198401_4FGL_J0140.6+8736_daily_bin2186.fits', irfs='P8R3_SOURCE_V2')
like = UnbinnedAnalysis(obs, '/lscratch/kocevski/32392135/Model_4FGL_J0140.6+8736_daily_bin2186.xml', optimizer='MINUIT')

Using source of interest name: '4FGL J0140.6+8736'

4FGL J0140.6+8736
   Spectrum: PowerLaw
70     Prefactor:  1.998e+00  0.000e+00  0.000e+00  1.000e+06 ( 1.000e-14)
71         Index:  2.064e+00  0.000e+00  0.000e+00  1.000e+01 (-1.000e+00) fixed
72         Scale:  3.173e+03  0.000e+00  3.000e+01  5.000e+05 ( 1.000e+00) fixed


Likelihood Fit Parameters:
Event file(s): /lscratch/kocevski/32392135/ft1_filtered_4FGL_J0140.6+8736_daily_bin2186.fits
Spacecraft file(s): /lscratch/kocevski/32392135/ft2_4FGL_J0140.6+8736_daily_bin2186.fits
Exposure map: /lscratch/kocevski/32392135/expmap_805939201_806198401_4FGL_J0140.6+8736_daily_bin2186.fits
Exposure cube: /lscratch/kocevski/32392135/ltcube_805939201_806198401_4FGL_J0140.6+8736_daily_bin2186.fits
IRFs: P8R3_SOURCE_V2
Source model file: /lscratch/kocevski/32392135/Model_4FGL_J0140.6+8736_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) = 13257.4609931

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

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

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'Prefactor '    .54414E-05   1.0000          .0000       .10000E+07
     2 'Prefactor '    1.7690       1.0000          .0000       .10000E+07
     3 'Prefactor '    .19984E-08   1.0000          .0000       .10000E+07
     4 'norm      '    .71752E-02   1.0000          .0000       .10000E+07
     5 'Prefactor '    1.7536       1.0000          .0000       .10000E+07
     6 'Prefactor '    .23093E-07   1.0000          .0000       .10000E+07
     7 'norm      '    .11433       1.0000          .0000       .10000E+07
     8 'Prefactor '    .11232E-04   1.0000          .0000       .10000E+07
     9 'Prefactor '    2.5368       1.0000          .0000       .10000E+07
    10 'norm      '    .48384E-06   1.0000          .0000       .10000E+07
    11 'Prefactor '    6.4201       1.0000          .0000       .10000E+07
    12 'Prefactor '    .14342E-04   1.0000          .0000       .10000E+07
    13 'Prefactor '    .65257E-04   1.0000          .0000       .10000E+07
    14 'Normalizat'    1.4989       1.0000         .10000E-01   10.000    
    15 'Prefactor '    .84296       1.0000          .0000       10.000    
 **********
 **   15 **SET ERR    .5000    
 **********
 **********
 **   16 **SET GRAD    1.000    
 **********
 **********
 **   17 **MINIMIZE    .7010E+05   .2000E-04
 **********

 MIGRAD MINIMIZATION HAS CONVERGED.

 FCN=   13257.16     FROM MIGRAD    STATUS=CONVERGED    116 CALLS      836 TOTAL
                     EDM=   .13E-08  STRATEGY=1  ERROR MATRIX UNCERTAINTY=  1.3%

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor     .54401E-08    4.7706        .22124E-07** at limit **
   2  Prefactor     1.7892        1.9423        .65775E-07    .18233E-01
   3  Prefactor     .56455E-07    6.5925       -.78204E-06** at limit **
   4  norm          .23870E-07    154.09       -.18016E-05** at limit **
   5  Prefactor     1.7515        5.0840       -.20590E-06    .71595E-04
   6  Prefactor     .31014E-06    3.2020       -.39040E-06** at limit **
   7  norm          .10258        29.141        .15297E-05** at limit **
   8  Prefactor     .14183E-06    3.4319       -.41869E-07** at limit **
   9  Prefactor     2.4040        9.0402       -.93177E-07   -.14340E-01
  10  norm           .0000        1.0976       -.13883E-06** at limit **
  11  Prefactor     6.4622        7.7251       -.46338E-06    .15765E-01
  12  Prefactor     .21649E-08    11.922        .63627E-06** at limit **
  13  Prefactor     .25713E-06    3.0600       -.51948E-07** at limit **
  14  Normalizat    1.4993        .17872        .29554E-05    .30136E-04
  15  Prefactor     .84285        .64534E-01   -.16267E-05    .31565E-04
                               ERR DEF=  .500    
Final values: 
  Prefactor  = 5.44009e-09
  Prefactor  = 1.78916
  Prefactor  = 5.64548e-08
  norm       = 2.38698e-08
  Prefactor  = 1.75151
  Prefactor  = 3.10141e-07
  norm       = 0.102585
  Prefactor  = 1.41831e-07
  Prefactor  = 2.40398
  norm       = 0
  Prefactor  = 6.4622
  Prefactor  = 2.16493e-09
  Prefactor  = 2.57128e-07
  Normalizat = 1.49934
  Prefactor  = 0.842849
 **********
 **   18 **HESSE 
 **********

 FCN=   13257.16     FROM HESSE     STATUS=OK           216 CALLS     1052 TOTAL
                     EDM=   .19E-06    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  Prefactor     .54401E-08    8.6289        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   2  Prefactor     1.7892        17.793        .78711E-03   -1.5681    
   3  Prefactor     .56455E-07    6.8118        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   4  norm          .23870E-07    149.44        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   5  Prefactor     1.7515        5.0963        .79130E-03   -1.5681    
   6  Prefactor     .31014E-06    4.8021        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   7  norm          .10258        1.5607        .89861E-02   -1.5714    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   8  Prefactor     .14183E-06    8.7313        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   9  Prefactor     2.4040        9.3526        .64097E-03   -1.5677    
  10  norm           .0000        1.1045        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  11  Prefactor     6.4622        7.7939        .39588E-03   -1.5657    
  12  Prefactor     .21649E-08    12.034        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  13  Prefactor     .25713E-06    4.5157        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  14  Normalizat    1.4993        .15990        .74977E-01   -.77797    
  15  Prefactor     .84285        .57772E-01    .44274E-01   -.98168    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 1.87676e-07
Minuit parameter uncertainties:
  1  0.000433546
  2  11.2846
  3  0.00124023
  4  0.00377846
  5  5.09635
  6  0.00244068
  7  0.800273
  8  0.00222562
  9  9.35267
  10  9.33129e-06
  11  7.79393
  12  0.00032253
  13  0.00215498
  14  0.159955
  15  0.0577758
Done.

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

Extracting fit parameters...

4FGL J0140.6+8736
   Spectrum: PowerLaw
70     Prefactor:  5.440e-09  4.335e-04  0.000e+00  1.000e+06 ( 1.000e-14)
71         Index:  2.064e+00  0.000e+00  0.000e+00  1.000e+01 (-1.000e+00) fixed
72         Scale:  3.173e+03  0.000e+00  3.000e+01  5.000e+05 ( 1.000e+00) fixed

GAL_V02
   Spectrum: PowerLaw
698    Prefactor:  8.428e-01  5.778e-02  0.000e+00  1.000e+01 ( 1.000e+00)
699        Index:  0.000e+00  0.000e+00 -1.000e+00  1.000e+00 ( 1.000e+00) fixed
700        Scale:  1.000e+02  0.000e+00  5.000e+01  2.000e+02 ( 1.000e+00) fixed

EG_v02
   Spectrum: FileFunction
697   Normalization:  1.499e+00  1.600e-01  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Fixed Index): -0.00
Ra Dec: 25.169 87.606
Photon Flux Upper Limit: 4.1198418306e-08 ph cm-2 s-1
Energy Flux Upper Limit: 0.00310618353452 MeV cm-2 s-1

Saving results to:
/lscratch/kocevski/32392135/likelihoodResults_805939201_806198401_4FGL_J0140.6+8736_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) = 13257.2109849
delta logL = -0.0558346028065

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

MINUIT Return Code (Free Index): 0
logL (Free Index) = 13257.1551536
delta logL = -3.30352486344e-06

Fit tolerance = 1e-08

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

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

 MIGRAD MINIMIZATION HAS CONVERGED.

 FCN=   13257.16     FROM MIGRAD    STATUS=CONVERGED     33 CALLS      205 TOTAL
                     EDM=   .11E-11  STRATEGY=1  ERROR MATRIX UNCERTAINTY=  1.5%

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor      .0000        8.2295       -.23959E-06** at limit **
   2  Index         2.1087        3.2292        .18306E-04     .0000    
   3  Normalizat    1.4993        .17247        .27700E-07    .42102E-04
   4  Prefactor     .84285        .64149E-01   -.12286E-05    .96898E-04
                               ERR DEF=  .500    
Final values: 
  Prefactor  = 0
  Index      = 2.10865
  Normalizat = 1.49934
  Prefactor  = 0.84285
 **********
 **   18 **HESSE 
 **********
  MNHESS FAILS AND WILL RETURN DIAGONAL MATRIX. 

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

  EXT PARAMETER                APPROXIMATE     INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  Prefactor      .0000        8.1351        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   2  Index         .48521        1.8715        .18306E-04   -.61661    
   3  Normalizat    1.4993        1.0497        .27700E-07   -.77797    
   4  Prefactor     .84285        1.1902       -.12286E-05   -.98168    
                               ERR DEF=  .500    
Minuit fit quality: 1   estimated distance: 1.05411e-12
Minuit parameter uncertainties:
  1  3.37113e-06
  2  1.70189
  3  1.0656
  4  1.22994
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) = 13257.1551503
delta logL = 3.14685166813e-10

Extracting fit parameters...

4FGL J0140.6+8736
   Spectrum: PowerLaw
70     Prefactor:  0.000e+00  3.371e-06  0.000e+00  1.000e+06 ( 1.000e-14)
71         Index:  2.109e+00  1.702e+00  0.000e+00  1.000e+01 (-1.000e+00)
72         Scale:  3.173e+03  0.000e+00  3.000e+01  5.000e+05 ( 1.000e+00) fixed

GAL_V02
   Spectrum: PowerLaw
698    Prefactor:  8.428e-01  1.230e+00  0.000e+00  1.000e+01 ( 1.000e+00)
699        Index:  0.000e+00  0.000e+00 -1.000e+00  1.000e+00 ( 1.000e+00) fixed
700        Scale:  1.000e+02  0.000e+00  5.000e+01  2.000e+02 ( 1.000e+00) fixed

EG_v02
   Spectrum: FileFunction
697   Normalization:  1.499e+00  1.066e+00  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Free Index): -0.00
Ra Dec: 25.169 87.606

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/32392135/cmap_HighResolution_805939201_806198401_4FGL_J0140.6+8736_daily_bin2186.png

Cleaning up...

** Nuclear option initiated! **

Updating database...

UPDATE lightcurve_data_v2 SET energy_flux_upper_limit='3.11e-03', job_status='DONE', photon_flux_upper_limit='4.12e-08', time_completed='2026-07-20 01:33:09.280529', job_id='32392135', GAL2='0.84', fit_tolerance='1e-08', EG2='1.50', EG='1.50', time_epoch_completed='1784536389.28', return_code2='101', ts='-0.00', comment='SUCCESS', return_code='0', GAL='0.84', dlogl='3.15e-10', ts2='0.00', photon_index_error='0.00', photon_index='2.06' WHERE bin_id='2186' AND source_name='4FGL J0140.6+8736' AND cadence='daily';

Database successfully updated.


Analysis Complete.


Mon Jul 20 01:33:09 PDT 2026

