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

 FCN=   6317.912     FROM HESSE     STATUS=OK           449 CALLS     2415 TOTAL
                     EDM=   .17E-06    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  Prefactor     .66613E-09    13.148        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   2  Prefactor     30.048        48.473        .18512E-03   -1.5598    
   3  norm          2.4523        .47076        .51801E-03   -1.5677    
   4  Prefactor     .16653E-09    4.3804        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   5  Prefactor     .33362E-07    14.694        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   6  Prefactor     .21710E-06    10.104        .93154E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   7  Prefactor     .37192E-08    29.119        .16112E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   8  norm          .64393E-08    20.267        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   9  Prefactor     .34795        8.4344        .84858E-02   -1.5696    
  10  norm          .77888        .97949        .54610E-03   -1.5690    
  11  norm          4.1612        2.2426        .49400E-03   -1.5667    
  12  Prefactor     .48889E-06    117.52        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  13  Prefactor     .62172E-08    9.6935        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  14  Prefactor     .21372E-07    7.9078        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  15  norm          .23928        .65771        .22359E-02   -1.5698    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  16  norm          1.9355        2.6964        .74657E-03   -1.5680    
  17  Prefactor     18.310        21.030        .23376E-03   -1.5622    
  18  Prefactor     .38858E-09    4.2926        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  19  Prefactor     6.6514        6.2317        .38886E-03   -1.5656    
  20  norm          .55511E-10    .23060        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  21  Prefactor     .80436E-07    8.9188        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  22  Prefactor     .22987E-06    9.9626        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  23  Normalizat    .84987        .18811        .44252E-01   -.98245    
  24  Prefactor     1.0503        .15993        .39879E-01   -.91070    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 1.69451e-07
Minuit parameter uncertainties:
  1  0.000183332
  2  48.4734
  3  0.470757
  4  5.77058e-05
  5  0.0013998
  6  0.00296228
  7  0.000660613
  8  0.000723359
  9  3.42621
  10  0.979492
  11  2.24257
  12  0.0151604
  13  0.00049071
  14  0.000822708
  15  0.657713
  16  2.69635
  17  21.0303
  18  7.93593e-05
  19  6.23171
  20  7.97801e-06
  21  0.00169382
  22  0.00302646
  23  0.188254
  24  0.160006
 **********
 **   18 **HESSE 
 **********

 FCN=   6317.912     FROM HESSE     STATUS=OK           449 CALLS     2415 TOTAL
                     EDM=   .17E-06    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  Prefactor     .66613E-09    13.148        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   2  Prefactor     30.048        48.473        .18512E-03   -1.5598    
   3  norm          2.4523        .47076        .51801E-03   -1.5677    
   4  Prefactor     .16653E-09    4.3804        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   5  Prefactor     .33362E-07    14.694        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   6  Prefactor     .21710E-06    10.104        .93154E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   7  Prefactor     .37192E-08    29.119        .16112E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   8  norm          .64393E-08    20.267        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   9  Prefactor     .34795        8.4344        .84858E-02   -1.5696    
  10  norm          .77888        .97949        .54610E-03   -1.5690    
  11  norm          4.1612        2.2426        .49400E-03   -1.5667    
  12  Prefactor     .48889E-06    117.52        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  13  Prefactor     .62172E-08    9.6935        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  14  Prefactor     .21372E-07    7.9078        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  15  norm          .23928        .65771        .22359E-02   -1.5698    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  16  norm          1.9355        2.6964        .74657E-03   -1.5680    
  17  Prefactor     18.310        21.030        .23376E-03   -1.5622    
  18  Prefactor     .38858E-09    4.2926        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  19  Prefactor     6.6514        6.2317        .38886E-03   -1.5656    
  20  norm          .55511E-10    .23060        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  21  Prefactor     .80436E-07    8.9188        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  22  Prefactor     .22987E-06    9.9626        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  23  Normalizat    .84987        .18811        .44252E-01   -.98245    
  24  Prefactor     1.0503        .15993        .39879E-01   -.91070    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 1.69451e-07
Minuit parameter uncertainties:
  1  0.000183332
  2  48.4734
  3  0.470757
  4  5.77058e-05
  5  0.0013998
  6  0.00296228
  7  0.000660613
  8  0.000723359
  9  3.42621
  10  0.979492
  11  2.24257
  12  0.0151604
  13  0.00049071
  14  0.000822708
  15  0.657713
  16  2.69635
  17  21.0303
  18  7.93593e-05
  19  6.23171
  20  7.97801e-06
  21  0.00169382
  22  0.00302646
  23  0.188254
  24  0.160006
e GAL_V02
Working on...
/lscratch/kocevski/40665489/ft1_filtered_4FGL_J2236.4-2309_daily_bin2214.fits....................!
real 20.14
user 18.39
sys 1.00

Creating the likelihood object...
obs = UnbinnedObs('/lscratch/kocevski/40665489/ft1_filtered_4FGL_J2236.4-2309_daily_bin2214.fits', '/lscratch/kocevski/40665489/ft2_4FGL_J2236.4-2309_daily_bin2214.fits', expMap='/lscratch/kocevski/40665489/expmap_813196801_813456001_4FGL_J2236.4-2309_daily_bin2214.fits', expCube='/lscratch/kocevski/40665489/ltcube_813196801_813456001_4FGL_J2236.4-2309_daily_bin2214.fits', irfs='P8R3_SOURCE_V2')
like = UnbinnedAnalysis(obs, '/lscratch/kocevski/40665489/Model_4FGL_J2236.4-2309_daily_bin2214.xml', optimizer='MINUIT')

Using source of interest name: '4FGL J2236.4-2309'

4FGL J2236.4-2309
   Spectrum: PowerLaw
247    Prefactor:  4.382e+00  0.000e+00  0.000e+00  1.000e+06 ( 1.000e-12)
248        Index:  2.743e+00  0.000e+00  0.000e+00  1.000e+01 (-1.000e+00) fixed
249        Scale:  4.484e+02  0.000e+00  3.000e+01  5.000e+05 ( 1.000e+00) fixed


Likelihood Fit Parameters:
Event file(s): /lscratch/kocevski/40665489/ft1_filtered_4FGL_J2236.4-2309_daily_bin2214.fits
Spacecraft file(s): /lscratch/kocevski/40665489/ft2_4FGL_J2236.4-2309_daily_bin2214.fits
Exposure map: /lscratch/kocevski/40665489/expmap_813196801_813456001_4FGL_J2236.4-2309_daily_bin2214.fits
Exposure cube: /lscratch/kocevski/40665489/ltcube_813196801_813456001_4FGL_J2236.4-2309_daily_bin2214.fits
IRFs: P8R3_SOURCE_V2
Source model file: /lscratch/kocevski/40665489/Model_4FGL_J2236.4-2309_daily_bin2214.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) = 6317.91779815

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

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

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'Prefactor '    .46795E-02   1.0000          .0000       .10000E+07
     2 'Prefactor '    29.189       1.0000          .0000       .10000E+07
     3 'norm      '    2.4528       1.0000          .0000       .10000E+07
     4 'Prefactor '    .10662E-03   1.0000          .0000       .10000E+07
     5 'Prefactor '    .34142E-02   1.0000          .0000       .10000E+07
     6 'Prefactor '    .17249       1.0000          .0000       .10000E+07
     7 'Prefactor '    .36775E-01   1.0000          .0000       .10000E+07
     8 'norm      '    .75324E-03   1.0000          .0000       .10000E+07
     9 'Prefactor '    .44122       1.0000          .0000       .10000E+07
    10 'norm      '    .77773       1.0000          .0000       .10000E+07
    11 'norm      '    4.1587       1.0000          .0000       .10000E+07
    12 'Prefactor '    .24056E-03   1.0000          .0000       .10000E+07
    13 'Prefactor '    .82892E-03   1.0000          .0000       .10000E+07
    14 'Prefactor '    .18305E-02   1.0000          .0000       .10000E+07
    15 'norm      '    .23906       1.0000          .0000       .10000E+07
    16 'norm      '    1.9335       1.0000          .0000       .10000E+07
    17 'Prefactor '    18.314       1.0000          .0000       .10000E+07
    18 'Prefactor '    .35083E-07   1.0000          .0000       .10000E+07
    19 'Prefactor '    6.6510       1.0000          .0000       .10000E+07
    20 'norm      '    .11102E-09   1.0000          .0000       .10000E+07
    21 'Prefactor '    .12768E-07   1.0000          .0000       .10000E+07
    22 'Prefactor '    .42312E-04   1.0000          .0000       .10000E+07
    23 'Normalizat'    .84940       1.0000         .10000E-01   10.000    
    24 'Prefactor '    1.0505       1.0000          .0000       10.000    
 **********
 **   15 **SET ERR    .5000    
 **********
 **********
 **   16 **SET GRAD    1.000    
 **********
 **********
 **   17 **MINIMIZE    .5120E+05   .2000E-04
 **********

 MIGRAD MINIMIZATION HAS CONVERGED.

 FCN=   6317.912     FROM MIGRAD    STATUS=CONVERGED    164 CALLS     1966 TOTAL
                     EDM=   .14E-08  STRATEGY=1  ERROR MATRIX UNCERTAINTY=  4.7%

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor     .66613E-09    12.110       -.45561E-05** at limit **
   2  Prefactor     30.048        13.953       -.20112E-05    .36989E-01
   3  norm          2.4523        .46625        .54378E-08    .30854E-01
   4  Prefactor     .16653E-09    4.3697        .18228E-07** at limit **
   5  Prefactor     .33362E-07    13.686        .66912E-05** at limit **
   6  Prefactor     .21710E-06    486.04        .49808E-04** at limit **
   7  Prefactor     .37192E-08    29.136       -.13978E-05** at limit **
   8  norm          .64393E-08    20.215       -.87292E-06** at limit **
   9  Prefactor     .34795        9.3593        .27534E-05   -.14978E-01
  10  norm          .77888        .96701       -.47015E-07    .55655E-02
  11  norm          4.1612        2.2314       -.10690E-06   -.40565E-02
  12  Prefactor     .48889E-06    112.51       -.34024E-05** at limit **
  13  Prefactor     .62172E-08    9.4138        .92422E-06** at limit **
  14  Prefactor     .21372E-07    7.8021        .13216E-05** at limit **
  15  norm          .23928        .56272       -.32598E-07** at limit **
  16  norm          1.9355        2.6646       -.11423E-06   -.26879E-02
  17  Prefactor     18.310        1.0613       -.85076E-07    .25798E-02
  18  Prefactor     .38858E-09    4.2805        .71436E-06** at limit **
  19  Prefactor     6.6514        6.1561       -.63540E-07    .16590E-02
  20  norm          .55511E-10    .23169       -.14655E-07** at limit **
  21  Prefactor     .80436E-07    7.1934       -.23630E-05** at limit **
  22  Prefactor     .22987E-06    3.1136        .16551E-05** at limit **
  23  Normalizat    .84987        .21801       -.46671E-05   -.13362E-03
  24  Prefactor     1.0503        .18970        .72948E-05   -.74782E-04
                               ERR DEF=  .500    
Final values: 
  Prefactor  = 6.66134e-10
  Prefactor  = 30.0477
  norm       = 2.45234
  Prefactor  = 1.66533e-10
  Prefactor  = 3.33622e-08
  Prefactor  = 2.17104e-07
  Prefactor  = 3.71925e-09
  norm       = 6.43929e-09
  Prefactor  = 0.347946
  norm       = 0.778884
  norm       = 4.16124
  Prefactor  = 4.88887e-07
  Prefactor  = 6.21725e-09
  Prefactor  = 2.13718e-08
  norm       = 0.239277
  norm       = 1.93545
  Prefactor  = 18.3105
  Prefactor  = 3.88578e-10
  Prefactor  = 6.65138
  norm       = 5.55112e-11
  Prefactor  = 8.04357e-08
  Prefactor  = 2.29872e-07
  Normalizat = 0.849867
  Prefactor  = 1.05032
/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)
 **********
 **   18 **HESSE 
 **********

 FCN=   6317.912     FROM HESSE     STATUS=OK           449 CALLS     2415 TOTAL
                     EDM=   .17E-06    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  Prefactor     .66613E-09    13.148        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   2  Prefactor     30.048        48.473        .18512E-03   -1.5598    
   3  norm          2.4523        .47076        .51801E-03   -1.5677    
   4  Prefactor     .16653E-09    4.3804        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   5  Prefactor     .33362E-07    14.694        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   6  Prefactor     .21710E-06    10.104        .93154E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   7  Prefactor     .37192E-08    29.119        .16112E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   8  norm          .64393E-08    20.267        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   9  Prefactor     .34795        8.4344        .84858E-02   -1.5696    
  10  norm          .77888        .97949        .54610E-03   -1.5690    
  11  norm          4.1612        2.2426        .49400E-03   -1.5667    
  12  Prefactor     .48889E-06    117.52        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  13  Prefactor     .62172E-08    9.6935        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  14  Prefactor     .21372E-07    7.9078        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  15  norm          .23928        .65771        .22359E-02   -1.5698    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  16  norm          1.9355        2.6964        .74657E-03   -1.5680    
  17  Prefactor     18.310        21.030        .23376E-03   -1.5622    
  18  Prefactor     .38858E-09    4.2926        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  19  Prefactor     6.6514        6.2317        .38886E-03   -1.5656    
  20  norm          .55511E-10    .23060        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  21  Prefactor     .80436E-07    8.9188        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  22  Prefactor     .22987E-06    9.9626        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  23  Normalizat    .84987        .18811        .44252E-01   -.98245    
  24  Prefactor     1.0503        .15993        .39879E-01   -.91070    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 1.69451e-07
Minuit parameter uncertainties:
  1  0.000183332
  2  48.4734
  3  0.470757
  4  5.77058e-05
  5  0.0013998
  6  0.00296228
  7  0.000660613
  8  0.000723359
  9  3.42621
  10  0.979492
  11  2.24257
  12  0.0151604
  13  0.00049071
  14  0.000822708
  15  0.657713
  16  2.69635
  17  21.0303
  18  7.93593e-05
  19  6.23171
  20  7.97801e-06
  21  0.00169382
  22  0.00302646
  23  0.188254
  24  0.160006

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

Done.

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

Extracting fit parameters...

4FGL J2236.4-2309
   Spectrum: PowerLaw
247    Prefactor:  3.479e-01  3.426e+00  0.000e+00  1.000e+06 ( 1.000e-12)
248        Index:  2.743e+00  0.000e+00  0.000e+00  1.000e+01 (-1.000e+00) fixed
249        Scale:  4.484e+02  0.000e+00  3.000e+01  5.000e+05 ( 1.000e+00) fixed

GAL_V02
   Spectrum: PowerLaw
509    Prefactor:  1.050e+00  1.600e-01  0.000e+00  1.000e+01 ( 1.000e+00)
510        Index:  0.000e+00  0.000e+00 -1.000e+00  1.000e+00 ( 1.000e+00) fixed
511        Scale:  1.000e+02  0.000e+00  5.000e+01  2.000e+02 ( 1.000e+00) fixed

EG_v02
   Spectrum: FileFunction
508   Normalization:  8.499e-01  1.883e-01  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Fixed Index): 0.00
Ra Dec: 339.125 -23.155
Photon Flux Upper Limit: 9.37631539854e-08 ph cm-2 s-1
Energy Flux Upper Limit: 0.00739929508325 MeV cm-2 s-1

Saving results to:
/lscratch/kocevski/40665440/likelihoodResults_813196801_813456001_4FGL_J2236.4-2309_daily_bin2214.txt

Performing a free index iterative likelihood fit...

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

Done.

Freeing candidate source...
Done.

Fit tolerance = 1

Performing likelihood fit...
Done.

MINUIT Return Code (Free Index): 102
logL (Free Index) = 6317.90537594
delta logL = 0.00675238450185

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

MINUIT Return Code (Free Index): 0
logL (Free Index) = 6317.89694496
delta logL = 0.0151833698192

Fit tolerance = 1e-08

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

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

 MIGRAD MINIMIZATION HAS CONVERGED.

 MIGRAD WILL VERIFY CONVERGENCE AND ERROR MATRIX.

 FCN=   6317.897     FROM MIGRAD    STATUS=CONVERGED     58 CALLS      244 TOTAL
                     EDM=   .15E-07    STRATEGY= 1      ERR MATRIX NOT POS-DEF

  EXT PARAMETER                APPROXIMATE        STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor     .91918        157.24        .43936E-03    .46090E-02
   2  Index         3.6234        6.7966        .50000       -.67368E-05
   3  Normalizat    .84092        .21475E-01    .44143E-01   -.10553E-03
   4  Prefactor     1.0548        .18942E-01    .39637E-01   -.18096E-04
                               ERR DEF=  .500    
Final values: 
  Prefactor  = 0.919182
  Index      = 3.62344
  Normalizat = 0.840925
  Prefactor  = 1.05479
 **********
 **   18 **HESSE 
 **********

 FCN=   6317.897     FROM HESSE     STATUS=OK            33 CALLS      277 TOTAL
                     EDM=   .21E-08    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  Prefactor     .91918        28.127        .17574E-04   -1.5689    
   2  Index         3.6234        6.7056        .19066E-01   -.27891    
   3  Normalizat    .84092        .21999        .27400E-03   -.98568    
   4  Prefactor     1.0548        .18959        .21689E-03   -.90925    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 2.0764e-09
Minuit parameter uncertainties:
  1  10.1693
  2  7.61505
  3  0.220228
  4  0.189711
shell-init: error retrieving current directory: getcwd: cannot access parent directories: No such file or directory
Done.

MINUIT Return Code (Free Index): 0
logL (Free Index) = 6317.89694179
delta logL = 0.0151865405869

Extracting fit parameters...

4FGL J2236.4-2309
   Spectrum: PowerLaw
247    Prefactor:  9.192e-01  1.017e+01  0.000e+00  1.000e+06 ( 1.000e-12)
248        Index:  3.623e+00  7.615e+00  0.000e+00  1.000e+01 (-1.000e+00)
249        Scale:  4.484e+02  0.000e+00  3.000e+01  5.000e+05 ( 1.000e+00) fixed

GAL_V02
   Spectrum: PowerLaw
509    Prefactor:  1.055e+00  1.897e-01  0.000e+00  1.000e+01 ( 1.000e+00)
510        Index:  0.000e+00  0.000e+00 -1.000e+00  1.000e+00 ( 1.000e+00) fixed
511        Scale:  1.000e+02  0.000e+00  5.000e+01  2.000e+02 ( 1.000e+00) fixed

EG_v02
   Spectrum: FileFunction
508   Normalization:  8.409e-01  2.202e-01  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Free Index): 0.00
Ra Dec: 339.125 -23.155

Creating a high resolution counts map...
INFO: Auto-setting vmin to  0.000e+00 [aplpy.core]
INFO: Auto-setting vmax to  0.000e+00 [aplpy.core]
Saving /lscratch/kocevski/40665440/cmap_HighResolution_813196801_813456001_4FGL_J2236.4-2309_daily_bin2214.png

Cleaning up...

** Nuclear option initiated! **

Updating database...

UPDATE lightcurve_data_v2 SET energy_flux_upper_limit='7.40e-03', job_status='DONE', photon_flux_upper_limit='9.38e-08', time_completed='2026-10-12 20:10:31.206460', job_id='40665440', GAL2='1.05', fit_tolerance='1e-08', EG2='0.84', EG='0.85', time_epoch_completed='1791861031.21', return_code2='0', ts='0.00', comment='SUCCESS', return_code='0', GAL='1.05', dlogl='1.52e-02', ts2='0.04', photon_index_error='0.00', photon_index='2.74' WHERE bin_id='2214' AND source_name='4FGL J2236.4-2309' AND cadence='daily';

Database successfully updated.


Analysis Complete.


Mon Oct 12 20:10:31 PDT 2026

Done.

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

Extracting fit parameters...

4FGL J2236.4-2309
   Spectrum: PowerLaw
247    Prefactor:  3.479e-01  3.426e+00  0.000e+00  1.000e+06 ( 1.000e-12)
248        Index:  2.743e+00  0.000e+00  0.000e+00  1.000e+01 (-1.000e+00) fixed
249        Scale:  4.484e+02  0.000e+00  3.000e+01  5.000e+05 ( 1.000e+00) fixed

GAL_V02
   Spectrum: PowerLaw
509    Prefactor:  1.050e+00  1.600e-01  0.000e+00  1.000e+01 ( 1.000e+00)
510        Index:  0.000e+00  0.000e+00 -1.000e+00  1.000e+00 ( 1.000e+00) fixed
511        Scale:  1.000e+02  0.000e+00  5.000e+01  2.000e+02 ( 1.000e+00) fixed

EG_v02
   Spectrum: FileFunction
508   Normalization:  8.499e-01  1.883e-01  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Fixed Index): 0.00
Ra Dec: 339.125 -23.155
Photon Flux Upper Limit: 9.37631539854e-08 ph cm-2 s-1
Energy Flux Upper Limit: 0.00739929508325 MeV cm-2 s-1

Saving results to:
/lscratch/kocevski/40665441/likelihoodResults_813196801_813456001_4FGL_J2236.4-2309_daily_bin2214.txt

Performing a free index iterative likelihood fit...

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

Done.

Freeing candidate source...
Done.

Fit tolerance = 1

Performing likelihood fit...
Done.

MINUIT Return Code (Free Index): 102
logL (Free Index) = 6317.90537594
delta logL = 0.00675238450185

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

MINUIT Return Code (Free Index): 0
logL (Free Index) = 6317.89694496
delta logL = 0.0151833698192

Fit tolerance = 1e-08

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

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

 MIGRAD MINIMIZATION HAS CONVERGED.

 MIGRAD WILL VERIFY CONVERGENCE AND ERROR MATRIX.

 FCN=   6317.897     FROM MIGRAD    STATUS=CONVERGED     58 CALLS      244 TOTAL
                     EDM=   .15E-07    STRATEGY= 1      ERR MATRIX NOT POS-DEF

  EXT PARAMETER                APPROXIMATE        STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor     .91918        157.24        .43936E-03    .46090E-02
   2  Index         3.6234        6.7966        .50000       -.67368E-05
   3  Normalizat    .84092        .21475E-01    .44143E-01   -.10553E-03
   4  Prefactor     1.0548        .18942E-01    .39637E-01   -.18096E-04
                               ERR DEF=  .500    
Final values: 
  Prefactor  = 0.919182
  Index      = 3.62344
  Normalizat = 0.840925
  Prefactor  = 1.05479
 **********
 **   18 **HESSE 
 **********

 FCN=   6317.897     FROM HESSE     STATUS=OK            33 CALLS      277 TOTAL
                     EDM=   .21E-08    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  Prefactor     .91918        28.127        .17574E-04   -1.5689    
   2  Index         3.6234        6.7056        .19066E-01   -.27891    
   3  Normalizat    .84092        .21999        .27400E-03   -.98568    
   4  Prefactor     1.0548        .18959        .21689E-03   -.90925    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 2.0764e-09
Minuit parameter uncertainties:
  1  10.1693
  2  7.61505
  3  0.220228
  4  0.189711
shell-init: error retrieving current directory: getcwd: cannot access parent directories: No such file or directory
Done.

MINUIT Return Code (Free Index): 0
logL (Free Index) = 6317.89694179
delta logL = 0.0151865405869

Extracting fit parameters...

4FGL J2236.4-2309
   Spectrum: PowerLaw
247    Prefactor:  9.192e-01  1.017e+01  0.000e+00  1.000e+06 ( 1.000e-12)
248        Index:  3.623e+00  7.615e+00  0.000e+00  1.000e+01 (-1.000e+00)
249        Scale:  4.484e+02  0.000e+00  3.000e+01  5.000e+05 ( 1.000e+00) fixed

GAL_V02
   Spectrum: PowerLaw
509    Prefactor:  1.055e+00  1.897e-01  0.000e+00  1.000e+01 ( 1.000e+00)
510        Index:  0.000e+00  0.000e+00 -1.000e+00  1.000e+00 ( 1.000e+00) fixed
511        Scale:  1.000e+02  0.000e+00  5.000e+01  2.000e+02 ( 1.000e+00) fixed

EG_v02
   Spectrum: FileFunction
508   Normalization:  8.409e-01  2.202e-01  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Free Index): 0.00
Ra Dec: 339.125 -23.155

Creating a high resolution counts map...
INFO: Auto-setting vmin to  0.000e+00 [aplpy.core]
INFO: Auto-setting vmax to  0.000e+00 [aplpy.core]
Saving /lscratch/kocevski/40665441/cmap_HighResolution_813196801_813456001_4FGL_J2236.4-2309_daily_bin2214.png

Cleaning up...

** Nuclear option initiated! **

Updating database...

UPDATE lightcurve_data_v2 SET energy_flux_upper_limit='7.40e-03', job_status='DONE', photon_flux_upper_limit='9.38e-08', time_completed='2026-10-12 20:10:36.680812', job_id='40665441', GAL2='1.05', fit_tolerance='1e-08', EG2='0.84', EG='0.85', time_epoch_completed='1791861036.68', return_code2='0', ts='0.00', comment='SUCCESS', return_code='0', GAL='1.05', dlogl='1.52e-02', ts2='0.04', photon_index_error='0.00', photon_index='2.74' WHERE bin_id='2214' AND source_name='4FGL J2236.4-2309' AND cadence='daily';

Database successfully updated.


Analysis Complete.


Mon Oct 12 20:10:37 PDT 2026

Done.

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

Extracting fit parameters...

4FGL J2236.4-2309
   Spectrum: PowerLaw
247    Prefactor:  3.479e-01  3.426e+00  0.000e+00  1.000e+06 ( 1.000e-12)
248        Index:  2.743e+00  0.000e+00  0.000e+00  1.000e+01 (-1.000e+00) fixed
249        Scale:  4.484e+02  0.000e+00  3.000e+01  5.000e+05 ( 1.000e+00) fixed

GAL_V02
   Spectrum: PowerLaw
509    Prefactor:  1.050e+00  1.600e-01  0.000e+00  1.000e+01 ( 1.000e+00)
510        Index:  0.000e+00  0.000e+00 -1.000e+00  1.000e+00 ( 1.000e+00) fixed
511        Scale:  1.000e+02  0.000e+00  5.000e+01  2.000e+02 ( 1.000e+00) fixed

EG_v02
   Spectrum: FileFunction
508   Normalization:  8.499e-01  1.883e-01  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Fixed Index): 0.00
Ra Dec: 339.125 -23.155
Photon Flux Upper Limit: 9.37631539854e-08 ph cm-2 s-1
Energy Flux Upper Limit: 0.00739929508325 MeV cm-2 s-1

Saving results to:
/lscratch/kocevski/40665489/likelihoodResults_813196801_813456001_4FGL_J2236.4-2309_daily_bin2214.txt

Performing a free index iterative likelihood fit...

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

Done.

Freeing candidate source...
Done.

Fit tolerance = 1

Performing likelihood fit...
Done.

MINUIT Return Code (Free Index): 102
logL (Free Index) = 6317.90537594
delta logL = 0.00675238450185

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

MINUIT Return Code (Free Index): 0
logL (Free Index) = 6317.89694496
delta logL = 0.0151833698192

Fit tolerance = 1e-08

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

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

 MIGRAD MINIMIZATION HAS CONVERGED.

 MIGRAD WILL VERIFY CONVERGENCE AND ERROR MATRIX.

 FCN=   6317.897     FROM MIGRAD    STATUS=CONVERGED     58 CALLS      244 TOTAL
                     EDM=   .15E-07    STRATEGY= 1      ERR MATRIX NOT POS-DEF

  EXT PARAMETER                APPROXIMATE        STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor     .91918        157.24        .43936E-03    .46090E-02
   2  Index         3.6234        6.7966        .50000       -.67368E-05
   3  Normalizat    .84092        .21475E-01    .44143E-01   -.10553E-03
   4  Prefactor     1.0548        .18942E-01    .39637E-01   -.18096E-04
                               ERR DEF=  .500    
Final values: 
  Prefactor  = 0.919182
  Index      = 3.62344
  Normalizat = 0.840925
  Prefactor  = 1.05479
 **********
 **   18 **HESSE 
 **********

 FCN=   6317.897     FROM HESSE     STATUS=OK            33 CALLS      277 TOTAL
                     EDM=   .21E-08    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  Prefactor     .91918        28.127        .17574E-04   -1.5689    
   2  Index         3.6234        6.7056        .19066E-01   -.27891    
   3  Normalizat    .84092        .21999        .27400E-03   -.98568    
   4  Prefactor     1.0548        .18959        .21689E-03   -.90925    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 2.0764e-09
Minuit parameter uncertainties:
  1  10.1693
  2  7.61505
  3  0.220228
  4  0.189711
shell-init: error retrieving current directory: getcwd: cannot access parent directories: No such file or directory
Done.

MINUIT Return Code (Free Index): 0
logL (Free Index) = 6317.89694179
delta logL = 0.0151865405869

Extracting fit parameters...

4FGL J2236.4-2309
   Spectrum: PowerLaw
247    Prefactor:  9.192e-01  1.017e+01  0.000e+00  1.000e+06 ( 1.000e-12)
248        Index:  3.623e+00  7.615e+00  0.000e+00  1.000e+01 (-1.000e+00)
249        Scale:  4.484e+02  0.000e+00  3.000e+01  5.000e+05 ( 1.000e+00) fixed

GAL_V02
   Spectrum: PowerLaw
509    Prefactor:  1.055e+00  1.897e-01  0.000e+00  1.000e+01 ( 1.000e+00)
510        Index:  0.000e+00  0.000e+00 -1.000e+00  1.000e+00 ( 1.000e+00) fixed
511        Scale:  1.000e+02  0.000e+00  5.000e+01  2.000e+02 ( 1.000e+00) fixed

EG_v02
   Spectrum: FileFunction
508   Normalization:  8.409e-01  2.202e-01  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Free Index): 0.00
Ra Dec: 339.125 -23.155

Creating a high resolution counts map...
INFO: Auto-setting vmin to  0.000e+00 [aplpy.core]
INFO: Auto-setting vmax to  0.000e+00 [aplpy.core]
Saving /lscratch/kocevski/40665489/cmap_HighResolution_813196801_813456001_4FGL_J2236.4-2309_daily_bin2214.png

Cleaning up...

** Nuclear option initiated! **

Updating database...

UPDATE lightcurve_data_v2 SET energy_flux_upper_limit='7.40e-03', job_status='DONE', photon_flux_upper_limit='9.38e-08', time_completed='2026-10-12 20:10:47.103908', job_id='40665489', GAL2='1.05', fit_tolerance='1e-08', EG2='0.84', EG='0.85', time_epoch_completed='1791861047.1', return_code2='0', ts='0.00', comment='SUCCESS', return_code='0', GAL='1.05', dlogl='1.52e-02', ts2='0.04', photon_index_error='0.00', photon_index='2.74' WHERE bin_id='2214' AND source_name='4FGL J2236.4-2309' AND cadence='daily';

Database successfully updated.


Analysis Complete.


Mon Oct 12 20:10:47 PDT 2026

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


Performing analysis on: 4FGL_J2236.4-2309_daily_bin2214
RA = 339.125, Dec = -23.1552
tmin = 813196801, tmax = 813456001
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='40665783', job_status='RUN', time_executed='2026-10-12 20:10:27.704829', time_epoch_executed='1791861027.7' WHERE source_name='4FGL J2236.4-2309' and cadence='daily' and bin_id='2214'

Database successfully updated.
Done.

Creating custom output directory:
/lscratch/kocevski/40665783

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

Retrieving the FT1 file...

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

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

Retrieving 46 files...
Done.


Merging files...

Checksum keywords updated successfully.

Merged file saved to:
/lscratch/kocevski/40665783/ft1_4FGL_J2236.4-2309_daily_bin2214.fits


Retrieving the FT1 file...

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

Retrieving 46 files...
Done.


Merging files...

Merged file saved to:
/lscratch/kocevski/40665783/ft2_4FGL_J2236.4-2309_daily_bin2214.fits


Selecting the photons:
time -p gtselect infile=/lscratch/kocevski/40665783/ft1_4FGL_J2236.4-2309_daily_bin2214.fits outfile=/lscratch/kocevski/40665783/ft1_filteredMKT_4FGL_J2236.4-2309_daily_bin2214.fits ra=339.125 dec=-23.1552 rad=12.0 tmin=813196801.0 tmax=813456001.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.18
user 1.56
sys 0.16

Adding sun position to ft2 file:
/sdf/group/fermi/g/LCRepository/Repository/bin/sunpos /lscratch/kocevski/40665783/ft2_4FGL_J2236.4-2309_daily_bin2214.fits

Selecting the good time intervals:
time -p gtmktime scfile=/lscratch/kocevski/40665783/ft2_4FGL_J2236.4-2309_daily_bin2214.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/40665783/ft1_filteredMKT_4FGL_J2236.4-2309_daily_bin2214.fits evtable="EVENTS" outfile="/lscratch/kocevski/40665783/ft1_filtered_4FGL_J2236.4-2309_daily_bin2214.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.68
user 0.21
sys 0.12

Number of photons that the gtmktime cut: 560

Generating the livetime cube:
time -p gtltcube evfile="/lscratch/kocevski/40665783/ft1_filtered_4FGL_J2236.4-2309_daily_bin2214.fits" evtable="EVENTS" scfile=/lscratch/kocevski/40665783/ft2_4FGL_J2236.4-2309_daily_bin2214.fits sctable="SC_DATA" outfile=/lscratch/kocevski/40665783/ltcube_813196801_813456001_4FGL_J2236.4-2309_daily_bin2214.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/40665783/ft2_4FGL_J2236.4-2309_daily_bin2214.fits
.....................!
real 8.43
user 7.84
sys 0.20

Generating the exposure map:
time -p gtexpmap evfile=/lscratch/kocevski/40665783/ft1_filtered_4FGL_J2236.4-2309_daily_bin2214.fits evtable="EVENTS" scfile=/lscratch/kocevski/40665783/ft2_4FGL_J2236.4-2309_daily_bin2214.fits sctable="SC_DATA" expcube=/lscratch/kocevski/40665783/ltcube_813196801_813456001_4FGL_J2236.4-2309_daily_bin2214.fits outfile=/lscratch/kocevski/40665783/expmap_813196801_813456001_4FGL_J2236.4-2309_daily_bin2214.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/40665783/ltcube_813196801_813456001_4FGL_J2236.4-2309_daily_bin2214.fits
.....................!
real 64.10
user 59.77
sys 3.71

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

Setting source of interest to:
4FGL J2236.4-2309 @ 339.125 -23.1552

Creating the counts map:
time -p gtbin evfile=/lscratch/kocevski/40665783/ft1_filtered_4FGL_J2236.4-2309_daily_bin2214.fits scfile=/lscratch/kocevski/40665783/ft2_4FGL_J2236.4-2309_daily_bin2214.fits outfile=/lscratch/kocevski/40665783/cmap_813196801_813456001_4FGL_J2236.4-2309_daily_bin2214.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=339.125 yref=-23.1552 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.77
user 0.20
sys 0.14

Creating the high resolution counts map:
time -p gtbin evfile=/lscratch/kocevski/40665783/ft1_filtered_4FGL_J2236.4-2309_daily_bin2214.fits scfile=/lscratch/kocevski/40665783/ft2_4FGL_J2236.4-2309_daily_bin2214.fits outfile=/lscratch/kocevski/40665783/cmap_HighResolution_813196801_813456001_4FGL_J2236.4-2309_daily_bin2214.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=339.125 yref=-23.1552 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.75
user 0.23
sys 0.12

Computing the diffuse response:
time -p gtdiffrsp evfile=/lscratch/kocevski/40665783/ft1_filtered_4FGL_J2236.4-2309_daily_bin2214.fits evtable="EVENTS" scfile=/lscratch/kocevski/40665783/ft2_4FGL_J2236.4-2309_daily_bin2214.fits sctable="SC_DATA" srcmdl=/lscratch/kocevski/40665783/Model_4FGL_J2236.4-2309_daily_bin2214.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/40665783/ft1_filtered_4FGL_J2236.4-2309_daily_bin2214.fits....................!
real 20.36
user 18.69
sys 1.08

Creating the likelihood object...
obs = UnbinnedObs('/lscratch/kocevski/40665783/ft1_filtered_4FGL_J2236.4-2309_daily_bin2214.fits', '/lscratch/kocevski/40665783/ft2_4FGL_J2236.4-2309_daily_bin2214.fits', expMap='/lscratch/kocevski/40665783/expmap_813196801_813456001_4FGL_J2236.4-2309_daily_bin2214.fits', expCube='/lscratch/kocevski/40665783/ltcube_813196801_813456001_4FGL_J2236.4-2309_daily_bin2214.fits', irfs='P8R3_SOURCE_V2')
like = UnbinnedAnalysis(obs, '/lscratch/kocevski/40665783/Model_4FGL_J2236.4-2309_daily_bin2214.xml', optimizer='MINUIT')

Using source of interest name: '4FGL J2236.4-2309'

4FGL J2236.4-2309
   Spectrum: PowerLaw
247    Prefactor:  4.382e+00  0.000e+00  0.000e+00  1.000e+06 ( 1.000e-12)
248        Index:  2.743e+00  0.000e+00  0.000e+00  1.000e+01 (-1.000e+00) fixed
249        Scale:  4.484e+02  0.000e+00  3.000e+01  5.000e+05 ( 1.000e+00) fixed


Likelihood Fit Parameters:
Event file(s): /lscratch/kocevski/40665783/ft1_filtered_4FGL_J2236.4-2309_daily_bin2214.fits
Spacecraft file(s): /lscratch/kocevski/40665783/ft2_4FGL_J2236.4-2309_daily_bin2214.fits
Exposure map: /lscratch/kocevski/40665783/expmap_813196801_813456001_4FGL_J2236.4-2309_daily_bin2214.fits
Exposure cube: /lscratch/kocevski/40665783/ltcube_813196801_813456001_4FGL_J2236.4-2309_daily_bin2214.fits
IRFs: P8R3_SOURCE_V2
Source model file: /lscratch/kocevski/40665783/Model_4FGL_J2236.4-2309_daily_bin2214.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) = 6317.91779815

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

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

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'Prefactor '    .46795E-02   1.0000          .0000       .10000E+07
     2 'Prefactor '    29.189       1.0000          .0000       .10000E+07
     3 'norm      '    2.4528       1.0000          .0000       .10000E+07
     4 'Prefactor '    .10662E-03   1.0000          .0000       .10000E+07
     5 'Prefactor '    .34142E-02   1.0000          .0000       .10000E+07
     6 'Prefactor '    .17249       1.0000          .0000       .10000E+07
     7 'Prefactor '    .36775E-01   1.0000          .0000       .10000E+07
     8 'norm      '    .75324E-03   1.0000          .0000       .10000E+07
     9 'Prefactor '    .44122       1.0000          .0000       .10000E+07
    10 'norm      '    .77773       1.0000          .0000       .10000E+07
    11 'norm      '    4.1587       1.0000          .0000       .10000E+07
    12 'Prefactor '    .24056E-03   1.0000          .0000       .10000E+07
    13 'Prefactor '    .82892E-03   1.0000          .0000       .10000E+07
    14 'Prefactor '    .18305E-02   1.0000          .0000       .10000E+07
    15 'norm      '    .23906       1.0000          .0000       .10000E+07
    16 'norm      '    1.9335       1.0000          .0000       .10000E+07
    17 'Prefactor '    18.314       1.0000          .0000       .10000E+07
    18 'Prefactor '    .35083E-07   1.0000          .0000       .10000E+07
    19 'Prefactor '    6.6510       1.0000          .0000       .10000E+07
    20 'norm      '    .11102E-09   1.0000          .0000       .10000E+07
    21 'Prefactor '    .12768E-07   1.0000          .0000       .10000E+07
    22 'Prefactor '    .42312E-04   1.0000          .0000       .10000E+07
    23 'Normalizat'    .84940       1.0000         .10000E-01   10.000    
    24 'Prefactor '    1.0505       1.0000          .0000       10.000    
 **********
 **   15 **SET ERR    .5000    
 **********
 **********
 **   16 **SET GRAD    1.000    
 **********
 **********
 **   17 **MINIMIZE    .5120E+05   .2000E-04
 **********

 MIGRAD MINIMIZATION HAS CONVERGED.

 FCN=   6317.912     FROM MIGRAD    STATUS=CONVERGED    164 CALLS     1966 TOTAL
                     EDM=   .14E-08  STRATEGY=1  ERROR MATRIX UNCERTAINTY=  4.7%

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor     .66613E-09    12.110       -.45561E-05** at limit **
   2  Prefactor     30.048        13.953       -.20112E-05    .36989E-01
   3  norm          2.4523        .46625        .54378E-08    .30854E-01
   4  Prefactor     .16653E-09    4.3697        .18228E-07** at limit **
   5  Prefactor     .33362E-07    13.686        .66912E-05** at limit **
   6  Prefactor     .21710E-06    486.04        .49808E-04** at limit **
   7  Prefactor     .37192E-08    29.136       -.13978E-05** at limit **
   8  norm          .64393E-08    20.215       -.87292E-06** at limit **
   9  Prefactor     .34795        9.3593        .27534E-05   -.14978E-01
  10  norm          .77888        .96701       -.47015E-07    .55655E-02
  11  norm          4.1612        2.2314       -.10690E-06   -.40565E-02
  12  Prefactor     .48889E-06    112.51       -.34024E-05** at limit **
  13  Prefactor     .62172E-08    9.4138        .92422E-06** at limit **
  14  Prefactor     .21372E-07    7.8021        .13216E-05** at limit **
  15  norm          .23928        .56272       -.32598E-07** at limit **
  16  norm          1.9355        2.6646       -.11423E-06   -.26879E-02
  17  Prefactor     18.310        1.0613       -.85076E-07    .25798E-02
  18  Prefactor     .38858E-09    4.2805        .71436E-06** at limit **
  19  Prefactor     6.6514        6.1561       -.63540E-07    .16590E-02
  20  norm          .55511E-10    .23169       -.14655E-07** at limit **
  21  Prefactor     .80436E-07    7.1934       -.23630E-05** at limit **
  22  Prefactor     .22987E-06    3.1136        .16551E-05** at limit **
  23  Normalizat    .84987        .21801       -.46671E-05   -.13362E-03
  24  Prefactor     1.0503        .18970        .72948E-05   -.74782E-04
                               ERR DEF=  .500    
Final values: 
  Prefactor  = 6.66134e-10
  Prefactor  = 30.0477
  norm       = 2.45234
  Prefactor  = 1.66533e-10
  Prefactor  = 3.33622e-08
  Prefactor  = 2.17104e-07
  Prefactor  = 3.71925e-09
  norm       = 6.43929e-09
  Prefactor  = 0.347946
  norm       = 0.778884
  norm       = 4.16124
  Prefactor  = 4.88887e-07
  Prefactor  = 6.21725e-09
  Prefactor  = 2.13718e-08
  norm       = 0.239277
  norm       = 1.93545
  Prefactor  = 18.3105
  Prefactor  = 3.88578e-10
  Prefactor  = 6.65138
  norm       = 5.55112e-11
  Prefactor  = 8.04357e-08
  Prefactor  = 2.29872e-07
  Normalizat = 0.849867
  Prefactor  = 1.05032
 **********
 **   18 **HESSE 
 **********

 FCN=   6317.912     FROM HESSE     STATUS=OK           449 CALLS     2415 TOTAL
                     EDM=   .17E-06    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  Prefactor     .66613E-09    13.148        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   2  Prefactor     30.048        48.473        .18512E-03   -1.5598    
   3  norm          2.4523        .47076        .51801E-03   -1.5677    
   4  Prefactor     .16653E-09    4.3804        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   5  Prefactor     .33362E-07    14.694        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   6  Prefactor     .21710E-06    10.104        .93154E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   7  Prefactor     .37192E-08    29.119        .16112E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   8  norm          .64393E-08    20.267        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   9  Prefactor     .34795        8.4344        .84858E-02   -1.5696    
  10  norm          .77888        .97949        .54610E-03   -1.5690    
  11  norm          4.1612        2.2426        .49400E-03   -1.5667    
  12  Prefactor     .48889E-06    117.52        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  13  Prefactor     .62172E-08    9.6935        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  14  Prefactor     .21372E-07    7.9078        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  15  norm          .23928        .65771        .22359E-02   -1.5698    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  16  norm          1.9355        2.6964        .74657E-03   -1.5680    
  17  Prefactor     18.310        21.030        .23376E-03   -1.5622    
  18  Prefactor     .38858E-09    4.2926        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  19  Prefactor     6.6514        6.2317        .38886E-03   -1.5656    
  20  norm          .55511E-10    .23060        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  21  Prefactor     .80436E-07    8.9188        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  22  Prefactor     .22987E-06    9.9626        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  23  Normalizat    .84987        .18811        .44252E-01   -.98245    
  24  Prefactor     1.0503        .15993        .39879E-01   -.91070    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 1.69451e-07
Minuit parameter uncertainties:
  1  0.000183332
  2  48.4734
  3  0.470757
  4  5.77058e-05
  5  0.0013998
  6  0.00296228
  7  0.000660613
  8  0.000723359
  9  3.42621
  10  0.979492
  11  2.24257
  12  0.0151604
  13  0.00049071
  14  0.000822708
  15  0.657713
  16  2.69635
  17  21.0303
  18  7.93593e-05
  19  6.23171
  20  7.97801e-06
  21  0.00169382
  22  0.00302646
  23  0.188254
  24  0.160006
Done.

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

Extracting fit parameters...

4FGL J2236.4-2309
   Spectrum: PowerLaw
247    Prefactor:  3.479e-01  3.426e+00  0.000e+00  1.000e+06 ( 1.000e-12)
248        Index:  2.743e+00  0.000e+00  0.000e+00  1.000e+01 (-1.000e+00) fixed
249        Scale:  4.484e+02  0.000e+00  3.000e+01  5.000e+05 ( 1.000e+00) fixed

GAL_V02
   Spectrum: PowerLaw
509    Prefactor:  1.050e+00  1.600e-01  0.000e+00  1.000e+01 ( 1.000e+00)
510        Index:  0.000e+00  0.000e+00 -1.000e+00  1.000e+00 ( 1.000e+00) fixed
511        Scale:  1.000e+02  0.000e+00  5.000e+01  2.000e+02 ( 1.000e+00) fixed

EG_v02
   Spectrum: FileFunction
508   Normalization:  8.499e-01  1.883e-01  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Fixed Index): 0.00
Ra Dec: 339.125 -23.155
Photon Flux Upper Limit: 9.37631539854e-08 ph cm-2 s-1
Energy Flux Upper Limit: 0.00739929508325 MeV cm-2 s-1

Saving results to:
/lscratch/kocevski/40665783/likelihoodResults_813196801_813456001_4FGL_J2236.4-2309_daily_bin2214.txt

Performing a free index iterative likelihood fit...

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

Done.

Freeing candidate source...
Done.

Fit tolerance = 1

Performing likelihood fit...
Done.

MINUIT Return Code (Free Index): 102
logL (Free Index) = 6317.90537594
delta logL = 0.00675238450185

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

MINUIT Return Code (Free Index): 0
logL (Free Index) = 6317.89694496
delta logL = 0.0151833698192

Fit tolerance = 1e-08

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

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

 MIGRAD MINIMIZATION HAS CONVERGED.

 MIGRAD WILL VERIFY CONVERGENCE AND ERROR MATRIX.

 FCN=   6317.897     FROM MIGRAD    STATUS=CONVERGED     58 CALLS      244 TOTAL
                     EDM=   .15E-07    STRATEGY= 1      ERR MATRIX NOT POS-DEF

  EXT PARAMETER                APPROXIMATE        STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor     .91918        157.24        .43936E-03    .46090E-02
   2  Index         3.6234        6.7966        .50000       -.67368E-05
   3  Normalizat    .84092        .21475E-01    .44143E-01   -.10553E-03
   4  Prefactor     1.0548        .18942E-01    .39637E-01   -.18096E-04
                               ERR DEF=  .500    
Final values: 
  Prefactor  = 0.919182
  Index      = 3.62344
  Normalizat = 0.840925
  Prefactor  = 1.05479
 **********
 **   18 **HESSE 
 **********

 FCN=   6317.897     FROM HESSE     STATUS=OK            33 CALLS      277 TOTAL
                     EDM=   .21E-08    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  Prefactor     .91918        28.127        .17574E-04   -1.5689    
   2  Index         3.6234        6.7056        .19066E-01   -.27891    
   3  Normalizat    .84092        .21999        .27400E-03   -.98568    
   4  Prefactor     1.0548        .18959        .21689E-03   -.90925    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 2.0764e-09
Minuit parameter uncertainties:
  1  10.1693
  2  7.61505
  3  0.220228
  4  0.189711
shell-init: error retrieving current directory: getcwd: cannot access parent directories: No such file or directory
Done.

MINUIT Return Code (Free Index): 0
logL (Free Index) = 6317.89694179
delta logL = 0.0151865405869

Extracting fit parameters...

4FGL J2236.4-2309
   Spectrum: PowerLaw
247    Prefactor:  9.192e-01  1.017e+01  0.000e+00  1.000e+06 ( 1.000e-12)
248        Index:  3.623e+00  7.615e+00  0.000e+00  1.000e+01 (-1.000e+00)
249        Scale:  4.484e+02  0.000e+00  3.000e+01  5.000e+05 ( 1.000e+00) fixed

GAL_V02
   Spectrum: PowerLaw
509    Prefactor:  1.055e+00  1.897e-01  0.000e+00  1.000e+01 ( 1.000e+00)
510        Index:  0.000e+00  0.000e+00 -1.000e+00  1.000e+00 ( 1.000e+00) fixed
511        Scale:  1.000e+02  0.000e+00  5.000e+01  2.000e+02 ( 1.000e+00) fixed

EG_v02
   Spectrum: FileFunction
508   Normalization:  8.409e-01  2.202e-01  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Free Index): 0.00
Ra Dec: 339.125 -23.155

Creating a high resolution counts map...
INFO: Auto-setting vmin to  0.000e+00 [aplpy.core]
INFO: Auto-setting vmax to  0.000e+00 [aplpy.core]
Saving /lscratch/kocevski/40665783/cmap_HighResolution_813196801_813456001_4FGL_J2236.4-2309_daily_bin2214.png

Cleaning up...

** Nuclear option initiated! **

Updating database...

UPDATE lightcurve_data_v2 SET energy_flux_upper_limit='7.40e-03', job_status='DONE', photon_flux_upper_limit='9.38e-08', time_completed='2026-10-12 20:15:50.998509', job_id='40665783', GAL2='1.05', fit_tolerance='1e-08', EG2='0.84', EG='0.85', time_epoch_completed='1791861351.0', return_code2='0', ts='0.00', comment='SUCCESS', return_code='0', GAL='1.05', dlogl='1.52e-02', ts2='0.04', photon_index_error='0.00', photon_index='2.74' WHERE bin_id='2214' AND source_name='4FGL J2236.4-2309' AND cadence='daily';

Database successfully updated.


Analysis Complete.


Mon Oct 12 20:15:51 PDT 2026

