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

 FCN=   7683.604     FROM HESSE     STATUS=OK           457 CALLS     2545 TOTAL
                     EDM=   .33E-05    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  Prefactor     .32474E-07    13.259        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   2  norm          1.8485        .74275        .76683E-03   -1.5681    
   3  Prefactor     4.3361        11.547        .49124E-03   -1.5666    
   4  norm          2.1344        2.5355        .70553E-03   -1.5679    
   5  Prefactor     .15295        1.2980        .60352E-02   -1.5716    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   6  Prefactor     .88818E-09    2.9173        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   7  Prefactor     3.8956        4.5246        .51245E-03   -1.5668    
   8  norm          .18319E-08    25.389        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   9  Prefactor     4.3067        72.448        .50963E-03   -1.5666    
  10  Prefactor     .14808E-05    23.323        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  11  Prefactor     .11102E-08    5.1468        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  12  norm          .55511E-10    1.0653        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  13  Prefactor     7.6391        12.851        .36366E-03   -1.5653    
  14  norm          .45963E-01    .47744        .19386E-02   -1.5704    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  15  Prefactor     .93081E-06    19.017        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  16  Prefactor     .17248E-05    52.737        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  17  Prefactor     7.0617        57.614        .37499E-03   -1.5655    
  18  Prefactor     1.7096        11.069        .84567E-03   -1.5682    
  19  Prefactor      .0000        8.4998        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  20  Prefactor     48.069        49.797        .14477E-03   -1.5569    
  21  norm          4.1374        7.0011        .49538E-03   -1.5667    
  22  Prefactor     3.7762        9.4691        .52967E-03   -1.5669    
  23  Normalizat    1.0072        .22522        .81623E-01   -.92789    
  24  Prefactor     1.0280        .96243E-01    .41431E-01   -.91803    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 3.30865e-06
Minuit parameter uncertainties:
  1  0.00131229
  2  0.742752
  3  11.5473
  4  2.53548
  5  0.891126
  6  0.000102638
  7  4.52456
  8  0.000429751
  9  35.3285
  10  0.0117538
  11  0.000149626
  12  1.75405e-05
  13  12.8512
  14  0.296275
  15  0.00841479
  16  0.0190748
  17  40.3417
  18  8.70031
  19  9.52792e-07
  20  49.7975
  21  7.00115
  22  9.46917
  23  0.225431
  24  0.0962595
/sdf/group/fermi/u/kocevski/software/conda/envs/fermitools_v1.0.5/lib/python2.7/site-packages/pyfits/__init__.py:22: PyFITSDeprecationWarning: PyFITS is deprecated, please use astropy.io.fits
  PyFITSDeprecationWarning)  # noqa

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

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

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

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

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

_V02
Working on...
/lscratch/kocevski/39761565/ft1_filtered_4FGL_J0227.8+2246_daily_bin2211.fits.....................!
real 41.46
user 40.21
sys 0.79

Creating the likelihood object...
obs = UnbinnedObs('/lscratch/kocevski/39761565/ft1_filtered_4FGL_J0227.8+2246_daily_bin2211.fits', '/lscratch/kocevski/39761565/ft2_4FGL_J0227.8+2246_daily_bin2211.fits', expMap='/lscratch/kocevski/39761565/expmap_812419201_812678401_4FGL_J0227.8+2246_daily_bin2211.fits', expCube='/lscratch/kocevski/39761565/ltcube_812419201_812678401_4FGL_J0227.8+2246_daily_bin2211.fits', irfs='P8R3_SOURCE_V2')
like = UnbinnedAnalysis(obs, '/lscratch/kocevski/39761565/Model_4FGL_J0227.8+2246_daily_bin2211.xml', optimizer='MINUIT')

Using source of interest name: '4FGL J0227.8+2246'

4FGL J0227.8+2246
   Spectrum: PowerLaw
242    Prefactor:  5.054e+00  0.000e+00  0.000e+00  1.000e+06 ( 1.000e-14)
243        Index:  2.144e+00  0.000e+00  0.000e+00  1.000e+01 (-1.000e+00) fixed
244        Scale:  2.284e+03  0.000e+00  3.000e+01  5.000e+05 ( 1.000e+00) fixed


Likelihood Fit Parameters:
Event file(s): /lscratch/kocevski/39761565/ft1_filtered_4FGL_J0227.8+2246_daily_bin2211.fits
Spacecraft file(s): /lscratch/kocevski/39761565/ft2_4FGL_J0227.8+2246_daily_bin2211.fits
Exposure map: /lscratch/kocevski/39761565/expmap_812419201_812678401_4FGL_J0227.8+2246_daily_bin2211.fits
Exposure cube: /lscratch/kocevski/39761565/ltcube_812419201_812678401_4FGL_J0227.8+2246_daily_bin2211.fits
IRFs: P8R3_SOURCE_V2
Source model file: /lscratch/kocevski/39761565/Model_4FGL_J0227.8+2246_daily_bin2211.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) = 7683.71003558

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

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

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'Prefactor '    .21823E-03   1.0000          .0000       .10000E+07
     2 'norm      '    1.8476       1.0000          .0000       .10000E+07
     3 'Prefactor '    4.2043       1.0000          .0000       .10000E+07
     4 'norm      '    2.1334       1.0000          .0000       .10000E+07
     5 'Prefactor '    .13626       1.0000          .0000       .10000E+07
     6 'Prefactor '    .11102E-09   1.0000          .0000       .10000E+07
     7 'Prefactor '    3.8736       1.0000          .0000       .10000E+07
     8 'norm      '    .31025E-04   1.0000          .0000       .10000E+07
     9 'Prefactor '    3.9152       1.0000          .0000       .10000E+07
    10 'Prefactor '    .79690E-03   1.0000          .0000       .10000E+07
    11 'Prefactor '    .33427E-04   1.0000          .0000       .10000E+07
    12 'norm      '    .19890E-06   1.0000          .0000       .10000E+07
    13 'Prefactor '    7.5945       1.0000          .0000       .10000E+07
    14 'norm      '    .46262E-01   1.0000          .0000       .10000E+07
    15 'Prefactor '    .85159E-03   1.0000          .0000       .10000E+07
    16 'Prefactor '    .24362E-02   1.0000          .0000       .10000E+07
    17 'Prefactor '    7.1468       1.0000          .0000       .10000E+07
    18 'Prefactor '    1.5771       1.0000          .0000       .10000E+07
    19 'Prefactor '    .74171E-05   1.0000          .0000       .10000E+07
    20 'Prefactor '    47.722       1.0000          .0000       .10000E+07
    21 'norm      '    4.1363       1.0000          .0000       .10000E+07
    22 'Prefactor '    3.6345       1.0000          .0000       .10000E+07
    23 'Normalizat'    1.0096       1.0000         .10000E-01   10.000    
    24 'Prefactor '    1.0279       1.0000          .0000       10.000    
 **********
 **   15 **SET ERR    .5000    
 **********
 **********
 **   16 **SET GRAD    1.000    
 **********
 **********
 **   17 **MINIMIZE    .5300E+05   .2000E-04
 **********

 MIGRAD MINIMIZATION HAS CONVERGED.

 FCN=   7683.604     FROM MIGRAD    STATUS=CONVERGED    199 CALLS     2088 TOTAL
                     EDM=   .17E-08  STRATEGY=1  ERROR MATRIX UNCERTAINTY=  4.5%

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor     .32474E-07    13.223        .24566E-05** at limit **
   2  norm          1.8485        .73714        .89704E-07   -.81820E-03
   3  Prefactor     4.3361        8.3624        .26962E-05    .28548E-01
   4  norm          2.1344        2.5175        .23944E-06   -.59763E-02
   5  Prefactor     .15295        9.6767        .19347E-05** at limit **
   6  Prefactor     .88818E-09    2.9183       -.47723E-07** at limit **
   7  Prefactor     3.8956        4.5177       -.16013E-06    .15218E-02
   8  norm          .18319E-08    16.678        .80896E-06** at limit **
   9  Prefactor     4.3067        3.9996        .72719E-06   -.36241E-02
  10  Prefactor     .14808E-05    9.3409       -.60233E-06** at limit **
  11  Prefactor     .11102E-08    5.1617       -.72320E-06** at limit **
  12  norm          .55511E-10    1.0777       -.52415E-06** at limit **
  13  Prefactor     7.6391        7.9911       -.18015E-05    .13560E-01
  14  norm          .45963E-01    1.5716       -.10316E-06** at limit **
  15  Prefactor     .93081E-06    17.633       -.27462E-05** at limit **
  16  Prefactor     .17248E-05    51.533       -.54934E-05** at limit **
  17  Prefactor     7.0617        1.5085        .72558E-07   -.11530E-01
  18  Prefactor     1.7096        10.757       -.20924E-06    .28961E-02
  19  Prefactor      .0000        8.4731        .24966E-05** at limit **
  20  Prefactor     48.069        8.7867        .78453E-06   -.24336    
  21  norm          4.1374        7.0031        .32844E-06    .14900E-03
  22  Prefactor     3.7762        9.4329        .10174E-06   -.13711E-02
  23  Normalizat    1.0072        .24349       -.39103E-04    .10392E-03
  24  Prefactor     1.0280        .11024        .10321E-04    .25966E-03
                               ERR DEF=  .500    
Final values: 
  Prefactor  = 3.2474e-08
  norm       = 1.84852
de (Fixed Index): 0
logL (Fixed Index) = 7683.60379968

Extracting fit parameters...

4FGL J0227.8+2246
   Spectrum: PowerLaw
242    Prefactor:  1.481e-06  1.175e-02  0.000e+00  1.000e+06 ( 1.000e-14)
243        Index:  2.144e+00  0.000e+00  0.000e+00  1.000e+01 (-1.000e+00) fixed
244        Scale:  2.284e+03  0.000e+00  3.000e+01  5.000e+05 ( 1.000e+00) fixed

GAL_V02
   Spectrum: PowerLaw
527    Prefactor:  1.028e+00  9.626e-02  0.000e+00  1.000e+01 ( 1.000e+00)
528        Index:  0.000e+00  0.000e+00 -1.000e+00  1.000e+00 ( 1.000e+00) fixed
529        Scale:  1.000e+02  0.000e+00  5.000e+01  2.000e+02 ( 1.000e+00) fixed

EG_v02
   Spectrum: FileFunction
526   Normalization:  1.007e+00  2.254e-01  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Fixed Index): -0.00
Ra Dec: 36.954 22.777
Photon Flux Upper Limit: 6.09647158958e-08 ph cm-2 s-1
Energy Flux Upper Limit: 0.00462519105612 MeV cm-2 s-1

Saving results to:
/lscratch/kocevski/39761478/likelihoodResults_812419201_812678401_4FGL_J0227.8+2246_daily_bin2211.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) = 7683.62437497
delta logL = -0.0205752898646

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

MINUIT Return Code (Free Index): 102
logL (Free Index) = 7683.60380008
delta logL = -3.99541022489e-07

Fit tolerance = 1e-08

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

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

 MIGRAD MINIMIZATION HAS CONVERGED.

 FCN=   7683.604     FROM MIGRAD    STATUS=CONVERGED     30 CALLS      199 TOTAL
                     EDM=   .30E-12  STRATEGY=1  ERROR MATRIX UNCERTAINTY=  1.8%

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor      .0000        29.427       -.93585E-06** at limit **
   2  Index         1.6423        5.3559       -.31733E-05     .0000    
   3  Normalizat    1.0072        .23538       -.81910E-05    .28335E-05
   4  Prefactor     1.0280        .10861        .63536E-05   -.62778E-05
                               ERR DEF=  .500    
Final values: 
  Prefactor  = 4.33606
  norm       = 2.13443
  Prefactor  = 0.152949
  Prefactor  = 8.88178e-10
  Prefactor  = 3.89559
  norm       = 1.83187e-09
  Prefactor  = 4.30675
  Prefactor  = 1.48082e-06
  Prefactor  = 1.11022e-09
  norm       = 5.55112e-11
  Prefactor  = 7.6391
  norm       = 0.045963
  Prefactor  = 9.30811e-07
  Prefactor  = 1.72479e-06
  Prefactor  = 7.06166
  Prefactor  = 1.70958
  Prefactor  = 0
  Prefactor  = 48.0685
  norm       = 4.13742
  Prefactor  = 3.77622
  Normalizat = 1.00721
  Prefactor  = 1.02797
 **********
 **   18 **HESSE 
 **********
  MNHESS FAILS AND WILL RETURN DIAGONAL MATRIX. 

 FCN=   7683.604     FROM HESSE     STATUS=FAILED        11 CALLS      210 TOTAL
                     EDM=   .30E-12  STRATEGY=1  ERROR MATRIX UNCERTAINTY=100.0%

  EXT PARAMETER                APPROXIMATE     INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  Prefactor      .0000        29.708        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   2  Index         .26097        1.7015       -.31733E-05   -.73628    
   3  Normalizat    1.0072        1.3363       -.81910E-05   -.92789    
   4  Prefactor     1.0280        1.2222        .63536E-05   -.91803    
                               ERR DEF=  .500    
Minuit fit quality: 1   estimated distance: 2.96402e-13
Minuit parameter uncertainties:
  1  3.54925e-05
  2  1.63097
  3  1.38519
  4  1.25788
Done.

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

Extracting fit parameters...

4FGL J0227.8+2246
   Spectrum: PowerLaw
242    Prefactor:  1.481e-06  1.175e-02  0.000e+00  1.000e+06 ( 1.000e-14)
243        Index:  2.144e+00  0.000e+00  0.000e+00  1.000e+01 (-1.000e+00) fixed
244        Scale:  2.284e+03  0.000e+00  3.000e+01  5.000e+05 ( 1.000e+00) fixed

GAL_V02
   Spectrum: PowerLaw
527    Prefactor:  1.028e+00  9.626e-02  0.000e+00  1.000e+01 ( 1.000e+00)
528        Index:  0.000e+00  0.000e+00 -1.000e+00  1.000e+00 ( 1.000e+00) fixed
529        Scale:  1.000e+02  0.000e+00  5.000e+01  2.000e+02 ( 1.000e+00) fixed

EG_v02
   Spectrum: FileFunction
526   Normalization:  1.007e+00  2.254e-01  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Fixed Index): -0.00
Ra Dec: 36.954 22.777
Photon Flux Upper Limit: 6.09647158958e-08 ph cm-2 s-1
Energy Flux Upper Limit: 0.00462519105612 MeV cm-2 s-1

Saving results to:
/lscratch/kocevski/39761487/likelihoodResults_812419201_812678401_4FGL_J0227.8+2246_daily_bin2211.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) = 7683.62437497
delta logL = -0.0205752898646

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

MINUIT Return Code (Free Index): 102
logL (Free Index) = 7683.60380008
delta logL = -3.99541022489e-07

Fit tolerance = 1e-08

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

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

 MIGRAD MINIMIZATION HAS CONVERGED.

 FCN=   7683.604     FROM MIGRAD    STATUS=CONVERGED     30 CALLS      199 TOTAL
                     EDM=   .30E-12  STRATEGY=1  ERROR MATRIX UNCERTAINTY=  1.8%

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor      .0000        29.427       -.93585E-06** at limit **
   2  Index         1.6423        5.3559       -.31733E-05     .0000    
   3  Normalizat    1.0072        .23538       -.81910E-05    .28335E-05
   4  Prefactor     1.0280        .10861        .63536E-05   -.62778E-05
                               ERR DEF=  .500    
Final values: 
  Prefactor  = 0
  Index      = 1.64231
  Normalizat = 1.00721
  Prefactor  = 1.02797
 **********
 **   18 **HESSE 
 **********
  MNHESS FAILS AND WILL RETURN DIAGONAL MATRIX. 

 FCN=   7683.604     FROM HESSE     STATUS=FAILED        11 CALLS      210 TOTAL
                     EDM=   .30E-12  STRATEGY=1  ERROR MATRIX UNCERTAINTY=100.0%

  EXT PARAMETER                APPROXIMATE     INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  Prefactor      .0000        29.708        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   2  Index         .26097        1.7015       -.31733E-05   -.73628    
   3  Normalizat    1.0072        1.3363       -.81910E-05   -.92789    
   4  Prefactor     1.0280        1.2222        .63536E-05   -.91803    
                               ERR DEF=  .500    
Minuit fit quality: 1   estimated distance: 2.96402e-13
Minuit parameter uncertainties:
  1  3.54925e-05
  2  1.63097
  3  1.38519
  4  1.25788
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) = 7683.60379965
delta logL = 3.17477315548e-08

Extracting fit parameters...

4FGL J0227.8+2246
   Spectrum: PowerLaw
242    Prefactor:  0.000e+00  3.549e-05  0.000e+00  1.000e+06 ( 1.000e-14)
243        Index:  1.642e+00  1.631e+00  0.000e+00  1.000e+01 (-1.000e+00)
244        Scale:  2.284e+03  0.000e+00  3.000e+01  5.000e+05 ( 1.000e+00) fixed

GAL_V02
   Spectrum: PowerLaw
527    Prefactor:  1.028e+00  1.258e+00  0.000e+00  1.000e+01 ( 1.000e+00)
528        Index:  0.000e+00  0.000e+00 -1.000e+00  1.000e+00 ( 1.000e+00) fixed
529        Scale:  1.000e+02  0.000e+00  5.000e+01  2.000e+02 ( 1.000e+00) fixed

EG_v02
   Spectrum: FileFunction
526   Normalization:  1.007e+00  1.385e+00  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Free Index): -0.00
Ra Dec: 36.954 22.777

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/39761478/cmap_HighResolution_812419201_812678401_4FGL_J0227.8+2246_daily_bin2211.png

Cleaning up...

** Nuclear option initiated! **

Updating database...

UPDATE lightcurve_data_v2 SET energy_flux_upper_limit='4.63e-03', job_status='DONE', photon_flux_upper_limit='6.10e-08', time_completed='2026-10-03 13:50:31.729346', job_id='39761478', GAL2='1.03', fit_tolerance='1e-08', EG2='1.01', EG='1.01', time_epoch_completed='1791060631.73', return_code2='101', ts='-0.00', comment='SUCCESS', return_code='0', GAL='1.03', dlogl='3.17e-08', ts2='0.00', photon_index_error='0.00', photon_index='2.14' WHERE bin_id='2211' AND source_name='4FGL J0227.8+2246' AND cadence='daily';

Database successfully updated.


Analysis Complete.


Sat Oct  3 13:50:31 PDT 2026

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

MINUIT Return Code (Free Index): 101
logL (Free Index) = 7683.60379965
delta logL = 3.17477315548e-08

Extracting fit parameters...

4FGL J0227.8+2246
   Spectrum: PowerLaw
242    Prefactor:  0.000e+00  3.549e-05  0.000e+00  1.000e+06 ( 1.000e-14)
243        Index:  1.642e+00  1.631e+00  0.000e+00  1.000e+01 (-1.000e+00)
244        Scale:  2.284e+03  0.000e+00  3.000e+01  5.000e+05 ( 1.000e+00) fixed

GAL_V02
   Spectrum: PowerLaw
527    Prefactor:  1.028e+00  1.258e+00  0.000e+00  1.000e+01 ( 1.000e+00)
528        Index:  0.000e+00  0.000e+00 -1.000e+00  1.000e+00 ( 1.000e+00) fixed
529        Scale:  1.000e+02  0.000e+00  5.000e+01  2.000e+02 ( 1.000e+00) fixed

EG_v02
   Spectrum: FileFunction
526   Normalization:  1.007e+00  1.385e+00  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Free Index): -0.00
Ra Dec: 36.954 22.777

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/39761487/cmap_HighResolution_812419201_812678401_4FGL_J0227.8+2246_daily_bin2211.png

Cleaning up...

** Nuclear option initiated! **

Updating database...

UPDATE lightcurve_data_v2 SET energy_flux_upper_limit='4.63e-03', job_status='DONE', photon_flux_upper_limit='6.10e-08', time_completed='2026-10-03 13:50:33.337337', job_id='39761487', GAL2='1.03', fit_tolerance='1e-08', EG2='1.01', EG='1.01', time_epoch_completed='1791060633.34', return_code2='101', ts='-0.00', comment='SUCCESS', return_code='0', GAL='1.03', dlogl='3.17e-08', ts2='0.00', photon_index_error='0.00', photon_index='2.14' WHERE bin_id='2211' AND source_name='4FGL J0227.8+2246' AND cadence='daily';

Database successfully updated.


Analysis Complete.


Sat Oct  3 13:50:33 PDT 2026

Done.

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

Extracting fit parameters...

4FGL J0227.8+2246
   Spectrum: PowerLaw
242    Prefactor:  1.481e-06  1.175e-02  0.000e+00  1.000e+06 ( 1.000e-14)
243        Index:  2.144e+00  0.000e+00  0.000e+00  1.000e+01 (-1.000e+00) fixed
244        Scale:  2.284e+03  0.000e+00  3.000e+01  5.000e+05 ( 1.000e+00) fixed

GAL_V02
   Spectrum: PowerLaw
527    Prefactor:  1.028e+00  9.626e-02  0.000e+00  1.000e+01 ( 1.000e+00)
528        Index:  0.000e+00  0.000e+00 -1.000e+00  1.000e+00 ( 1.000e+00) fixed
529        Scale:  1.000e+02  0.000e+00  5.000e+01  2.000e+02 ( 1.000e+00) fixed

EG_v02
   Spectrum: FileFunction
526   Normalization:  1.007e+00  2.254e-01  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Fixed Index): -0.00
Ra Dec: 36.954 22.777
Photon Flux Upper Limit: 6.09647158958e-08 ph cm-2 s-1
Energy Flux Upper Limit: 0.00462519105612 MeV cm-2 s-1

Saving results to:
/lscratch/kocevski/39761448/likelihoodResults_812419201_812678401_4FGL_J0227.8+2246_daily_bin2211.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) = 7683.62437497
delta logL = -0.0205752898646

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

MINUIT Return Code (Free Index): 102
logL (Free Index) = 7683.60380008
delta logL = -3.99541022489e-07

Fit tolerance = 1e-08

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

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

 MIGRAD MINIMIZATION HAS CONVERGED.

 FCN=   7683.604     FROM MIGRAD    STATUS=CONVERGED     30 CALLS      199 TOTAL
                     EDM=   .30E-12  STRATEGY=1  ERROR MATRIX UNCERTAINTY=  1.8%

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor      .0000        29.427       -.93585E-06** at limit **
   2  Index         1.6423        5.3559       -.31733E-05     .0000    
   3  Normalizat    1.0072        .23538       -.81910E-05    .28335E-05
   4  Prefactor     1.0280        .10861        .63536E-05   -.62778E-05
                               ERR DEF=  .500    
Final values: 
  Prefactor  = 0
  Index      = 1.64231
  Normalizat = 1.00721
  Prefactor  = 1.02797
 **********
 **   18 **HESSE 
 **********
  MNHESS FAILS AND WILL RETURN DIAGONAL MATRIX. 

 FCN=   7683.604     FROM HESSE     STATUS=FAILED        11 CALLS      210 TOTAL
                     EDM=   .30E-12  STRATEGY=1  ERROR MATRIX UNCERTAINTY=100.0%

  EXT PARAMETER                APPROXIMATE     INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  Prefactor      .0000        29.708        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   2  Index         .26097        1.7015       -.31733E-05   -.73628    
   3  Normalizat    1.0072        1.3363       -.81910E-05   -.92789    
   4  Prefactor     1.0280        1.2222        .63536E-05   -.91803    
                               ERR DEF=  .500    
Minuit fit quality: 1   estimated distance: 2.96402e-13
Minuit parameter uncertainties:
  1  3.54925e-05
  2  1.63097
  3  1.38519
  4  1.25788
Done.

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

Extracting fit parameters...

4FGL J0227.8+2246
   Spectrum: PowerLaw
242    Prefactor:  1.481e-06  1.175e-02  0.000e+00  1.000e+06 ( 1.000e-14)
243        Index:  2.144e+00  0.000e+00  0.000e+00  1.000e+01 (-1.000e+00) fixed
244        Scale:  2.284e+03  0.000e+00  3.000e+01  5.000e+05 ( 1.000e+00) fixed

GAL_V02
   Spectrum: PowerLaw
527    Prefactor:  1.028e+00  9.626e-02  0.000e+00  1.000e+01 ( 1.000e+00)
528        Index:  0.000e+00  0.000e+00 -1.000e+00  1.000e+00 ( 1.000e+00) fixed
529        Scale:  1.000e+02  0.000e+00  5.000e+01  2.000e+02 ( 1.000e+00) fixed

EG_v02
   Spectrum: FileFunction
526   Normalization:  1.007e+00  2.254e-01  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Fixed Index): -0.00
Ra Dec: 36.954 22.777
Photon Flux Upper Limit: 6.09647158958e-08 ph cm-2 s-1
Energy Flux Upper Limit: 0.00462519105612 MeV cm-2 s-1

Saving results to:
/lscratch/kocevski/39761488/likelihoodResults_812419201_812678401_4FGL_J0227.8+2246_daily_bin2211.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) = 7683.62437497
delta logL = -0.0205752898646

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

MINUIT Return Code (Free Index): 102
logL (Free Index) = 7683.60380008
delta logL = -3.99541022489e-07

Fit tolerance = 1e-08

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

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

 MIGRAD MINIMIZATION HAS CONVERGED.

 FCN=   7683.604     FROM MIGRAD    STATUS=CONVERGED     30 CALLS      199 TOTAL
                     EDM=   .30E-12  STRATEGY=1  ERROR MATRIX UNCERTAINTY=  1.8%

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor      .0000        29.427       -.93585E-06** at limit **
   2  Index         1.6423        5.3559       -.31733E-05     .0000    
   3  Normalizat    1.0072        .23538       -.81910E-05    .28335E-05
   4  Prefactor     1.0280        .10861        .63536E-05   -.62778E-05
                               ERR DEF=  .500    
Final values: 
  Prefactor  = 0
  Index      = 1.64231
  Normalizat = 1.00721
  Prefactor  = 1.02797
 **********
 **   18 **HESSE 
 **********
  MNHESS FAILS AND WILL RETURN DIAGONAL MATRIX. 

 FCN=   7683.604     FROM HESSE     STATUS=FAILED        11 CALLS      210 TOTAL
                     EDM=   .30E-12  STRATEGY=1  ERROR MATRIX UNCERTAINTY=100.0%

  EXT PARAMETER                APPROXIMATE     INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  Prefactor      .0000        29.708        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   2  Index         .26097        1.7015       -.31733E-05   -.73628    
   3  Normalizat    1.0072        1.3363       -.81910E-05   -.92789    
   4  Prefactor     1.0280        1.2222        .63536E-05   -.91803    
                               ERR DEF=  .500    
Minuit fit quality: 1   estimated distance: 2.96402e-13
Minuit parameter uncertainties:
  1  3.54925e-05
  2  1.63097
  3  1.38519
  4  1.25788
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) = 7683.60379965
delta logL = 3.17477315548e-08

Extracting fit parameters...

4FGL J0227.8+2246
   Spectrum: PowerLaw
242    Prefactor:  0.000e+00  3.549e-05  0.000e+00  1.000e+06 ( 1.000e-14)
243        Index:  1.642e+00  1.631e+00  0.000e+00  1.000e+01 (-1.000e+00)
244        Scale:  2.284e+03  0.000e+00  3.000e+01  5.000e+05 ( 1.000e+00) fixed

GAL_V02
   Spectrum: PowerLaw
527    Prefactor:  1.028e+00  1.258e+00  0.000e+00  1.000e+01 ( 1.000e+00)
528        Index:  0.000e+00  0.000e+00 -1.000e+00  1.000e+00 ( 1.000e+00) fixed
529        Scale:  1.000e+02  0.000e+00  5.000e+01  2.000e+02 ( 1.000e+00) fixed

EG_v02
   Spectrum: FileFunction
526   Normalization:  1.007e+00  1.385e+00  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Free Index): -0.00
Ra Dec: 36.954 22.777

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/39761448/cmap_HighResolution_812419201_812678401_4FGL_J0227.8+2246_daily_bin2211.png

Cleaning up...

** Nuclear option initiated! **

Updating database...

UPDATE lightcurve_data_v2 SET energy_flux_upper_limit='4.63e-03', job_status='DONE', photon_flux_upper_limit='6.10e-08', time_completed='2026-10-03 13:50:38.079616', job_id='39761448', GAL2='1.03', fit_tolerance='1e-08', EG2='1.01', EG='1.01', time_epoch_completed='1791060638.08', return_code2='101', ts='-0.00', comment='SUCCESS', return_code='0', GAL='1.03', dlogl='3.17e-08', ts2='0.00', photon_index_error='0.00', photon_index='2.14' WHERE bin_id='2211' AND source_name='4FGL J0227.8+2246' AND cadence='daily';

Database successfully updated.


Analysis Complete.


Sat Oct  3 13:50:38 PDT 2026

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

MINUIT Return Code (Free Index): 101
logL (Free Index) = 7683.60379965
delta logL = 3.17477315548e-08

Extracting fit parameters...

4FGL J0227.8+2246
   Spectrum: PowerLaw
242    Prefactor:  0.000e+00  3.549e-05  0.000e+00  1.000e+06 ( 1.000e-14)
243        Index:  1.642e+00  1.631e+00  0.000e+00  1.000e+01 (-1.000e+00)
244        Scale:  2.284e+03  0.000e+00  3.000e+01  5.000e+05 ( 1.000e+00) fixed

GAL_V02
   Spectrum: PowerLaw
527    Prefactor:  1.028e+00  1.258e+00  0.000e+00  1.000e+01 ( 1.000e+00)
528        Index:  0.000e+00  0.000e+00 -1.000e+00  1.000e+00 ( 1.000e+00) fixed
529        Scale:  1.000e+02  0.000e+00  5.000e+01  2.000e+02 ( 1.000e+00) fixed

EG_v02
   Spectrum: FileFunction
526   Normalization:  1.007e+00  1.385e+00  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Free Index): -0.00
Ra Dec: 36.954 22.777

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/39761488/cmap_HighResolution_812419201_812678401_4FGL_J0227.8+2246_daily_bin2211.png

Cleaning up...

** Nuclear option initiated! **

Updating database...

UPDATE lightcurve_data_v2 SET energy_flux_upper_limit='4.63e-03', job_status='DONE', photon_flux_upper_limit='6.10e-08', time_completed='2026-10-03 13:50:38.522889', job_id='39761488', GAL2='1.03', fit_tolerance='1e-08', EG2='1.01', EG='1.01', time_epoch_completed='1791060638.52', return_code2='101', ts='-0.00', comment='SUCCESS', return_code='0', GAL='1.03', dlogl='3.17e-08', ts2='0.00', photon_index_error='0.00', photon_index='2.14' WHERE bin_id='2211' AND source_name='4FGL J0227.8+2246' AND cadence='daily';

Database successfully updated.


Analysis Complete.


Sat Oct  3 13:50:38 PDT 2026

_V02
Working on...
/lscratch/kocevski/39761536/ft1_filtered_4FGL_J0227.8+2246_daily_bin2211.fits.....................!
real 44.12
user 42.79
sys 0.67

Creating the likelihood object...
obs = UnbinnedObs('/lscratch/kocevski/39761536/ft1_filtered_4FGL_J0227.8+2246_daily_bin2211.fits', '/lscratch/kocevski/39761536/ft2_4FGL_J0227.8+2246_daily_bin2211.fits', expMap='/lscratch/kocevski/39761536/expmap_812419201_812678401_4FGL_J0227.8+2246_daily_bin2211.fits', expCube='/lscratch/kocevski/39761536/ltcube_812419201_812678401_4FGL_J0227.8+2246_daily_bin2211.fits', irfs='P8R3_SOURCE_V2')
like = UnbinnedAnalysis(obs, '/lscratch/kocevski/39761536/Model_4FGL_J0227.8+2246_daily_bin2211.xml', optimizer='MINUIT')

Using source of interest name: '4FGL J0227.8+2246'

4FGL J0227.8+2246
   Spectrum: PowerLaw
242    Prefactor:  5.054e+00  0.000e+00  0.000e+00  1.000e+06 ( 1.000e-14)
243        Index:  2.144e+00  0.000e+00  0.000e+00  1.000e+01 (-1.000e+00) fixed
244        Scale:  2.284e+03  0.000e+00  3.000e+01  5.000e+05 ( 1.000e+00) fixed


Likelihood Fit Parameters:
Event file(s): /lscratch/kocevski/39761536/ft1_filtered_4FGL_J0227.8+2246_daily_bin2211.fits
Spacecraft file(s): /lscratch/kocevski/39761536/ft2_4FGL_J0227.8+2246_daily_bin2211.fits
Exposure map: /lscratch/kocevski/39761536/expmap_812419201_812678401_4FGL_J0227.8+2246_daily_bin2211.fits
Exposure cube: /lscratch/kocevski/39761536/ltcube_812419201_812678401_4FGL_J0227.8+2246_daily_bin2211.fits
IRFs: P8R3_SOURCE_V2
Source model file: /lscratch/kocevski/39761536/Model_4FGL_J0227.8+2246_daily_bin2211.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) = 7683.71003558

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

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

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'Prefactor '    .21823E-03   1.0000          .0000       .10000E+07
     2 'norm      '    1.8476       1.0000          .0000       .10000E+07
     3 'Prefactor '    4.2043       1.0000          .0000       .10000E+07
     4 'norm      '    2.1334       1.0000          .0000       .10000E+07
     5 'Prefactor '    .13626       1.0000          .0000       .10000E+07
     6 'Prefactor '    .11102E-09   1.0000          .0000       .10000E+07
     7 'Prefactor '    3.8736       1.0000          .0000       .10000E+07
     8 'norm      '    .31025E-04   1.0000          .0000       .10000E+07
     9 'Prefactor '    3.9152       1.0000          .0000       .10000E+07
    10 'Prefactor '    .79690E-03   1.0000          .0000       .10000E+07
    11 'Prefactor '    .33427E-04   1.0000          .0000       .10000E+07
    12 'norm      '    .19890E-06   1.0000          .0000       .10000E+07
    13 'Prefactor '    7.5945       1.0000          .0000       .10000E+07
    14 'norm      '    .46262E-01   1.0000          .0000       .10000E+07
    15 'Prefactor '    .85159E-03   1.0000          .0000       .10000E+07
    16 'Prefactor '    .24362E-02   1.0000          .0000       .10000E+07
    17 'Prefactor '    7.1468       1.0000          .0000       .10000E+07
    18 'Prefactor '    1.5771       1.0000          .0000       .10000E+07
    19 'Prefactor '    .74171E-05   1.0000          .0000       .10000E+07
    20 'Prefactor '    47.722       1.0000          .0000       .10000E+07
    21 'norm      '    4.1363       1.0000          .0000       .10000E+07
    22 'Prefactor '    3.6345       1.0000          .0000       .10000E+07
    23 'Normalizat'    1.0096       1.0000         .10000E-01   10.000    
    24 'Prefactor '    1.0279       1.0000          .0000       10.000    
 **********
 **   15 **SET ERR    .5000    
 **********
 **********
 **   16 **SET GRAD    1.000    
 **********
 **********
 **   17 **MINIMIZE    .5300E+05   .2000E-04
 **********

 MIGRAD MINIMIZATION HAS CONVERGED.

 FCN=   7683.604     FROM MIGRAD    STATUS=CONVERGED    199 CALLS     2088 TOTAL
                     EDM=   .17E-08  STRATEGY=1  ERROR MATRIX UNCERTAINTY=  4.5%

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor     .32474E-07    13.223        .24566E-05** at limit **
   2  norm          1.8485        .73714        .89704E-07   -.81820E-03
   3  Prefactor     4.3361        8.3624        .26962E-05    .28548E-01
   4  norm          2.1344        2.5175        .23944E-06   -.59763E-02
   5  Prefactor     .15295        9.6767        .19347E-05** at limit **
   6  Prefactor     .88818E-09    2.9183       -.47723E-07** at limit **
   7  Prefactor     3.8956        4.5177       -.16013E-06    .15218E-02
   8  norm          .18319E-08    16.678        .80896E-06** at limit **
   9  Prefactor     4.3067        3.9996        .72719E-06   -.36241E-02
  10  Prefactor     .14808E-05    9.3409       -.60233E-06** at limit **
  11  Prefactor     .11102E-08    5.1617       -.72320E-06** at limit **
  12  norm          .55511E-10    1.0777       -.52415E-06** at limit **
  13  Prefactor     7.6391        7.9911       -.18015E-05    .13560E-01
  14  norm          .45963E-01    1.5716       -.10316E-06** at limit **
  15  Prefactor     .93081E-06    17.633       -.27462E-05** at limit **
  16  Prefactor     .17248E-05    51.533       -.54934E-05** at limit **
  17  Prefactor     7.0617        1.5085        .72558E-07   -.11530E-01
  18  Prefactor     1.7096        10.757       -.20924E-06    .28961E-02
  19  Prefactor      .0000        8.4731        .24966E-05** at limit **
  20  Prefactor     48.069        8.7867        .78453E-06   -.24336    
  21  norm          4.1374        7.0031        .32844E-06    .14900E-03
  22  Prefactor     3.7762        9.4329        .10174E-06   -.13711E-02
  23  Normalizat    1.0072        .24349       -.39103E-04    .10392E-03
  24  Prefactor     1.0280        .11024        .10321E-04    .25966E-03
                               ERR DEF=  .500    
Final values: 
  Prefactor  = 3.2474e-08
  norm       = 1.84852
  Prefactor  = 4.33606
  norm       = 2.13443
  Prefactor  = 0.152949
  Prefactor  = 8.88178e-10
  Prefactor  = 3.89559
  norm       = 1.83187e-09
  Prefactor  = 4.30675
  Prefactor  = 1.48082e-06
  Prefactor  = 1.11022e-09
  norm       = 5.55112e-11
  Prefactor  = 7.6391
  norm       = 0.045963
  Prefactor  = 9.30811e-07
  Prefactor  = 1.72479e-06
  Prefactor  = 7.06166
  Prefactor  = 1.70958
  Prefactor  = 0
  Prefactor  = 48.0685
  norm       = 4.13742
  Prefactor  = 3.77622
  Normalizat = 1.00721
  Prefactor  = 1.02797
_V02
Working on...
/lscratch/kocevski/39761549/ft1_filtered_4FGL_J0227.8+2246_daily_bin2211.fits.....................!
real 44.35
user 43.09
sys 0.65

Creating the likelihood object...
obs = UnbinnedObs('/lscratch/kocevski/39761549/ft1_filtered_4FGL_J0227.8+2246_daily_bin2211.fits', '/lscratch/kocevski/39761549/ft2_4FGL_J0227.8+2246_daily_bin2211.fits', expMap='/lscratch/kocevski/39761549/expmap_812419201_812678401_4FGL_J0227.8+2246_daily_bin2211.fits', expCube='/lscratch/kocevski/39761549/ltcube_812419201_812678401_4FGL_J0227.8+2246_daily_bin2211.fits', irfs='P8R3_SOURCE_V2')
like = UnbinnedAnalysis(obs, '/lscratch/kocevski/39761549/Model_4FGL_J0227.8+2246_daily_bin2211.xml', optimizer='MINUIT')

Using source of interest name: '4FGL J0227.8+2246'

4FGL J0227.8+2246
   Spectrum: PowerLaw
242    Prefactor:  5.054e+00  0.000e+00  0.000e+00  1.000e+06 ( 1.000e-14)
243        Index:  2.144e+00  0.000e+00  0.000e+00  1.000e+01 (-1.000e+00) fixed
244        Scale:  2.284e+03  0.000e+00  3.000e+01  5.000e+05 ( 1.000e+00) fixed


Likelihood Fit Parameters:
Event file(s): /lscratch/kocevski/39761549/ft1_filtered_4FGL_J0227.8+2246_daily_bin2211.fits
Spacecraft file(s): /lscratch/kocevski/39761549/ft2_4FGL_J0227.8+2246_daily_bin2211.fits
Exposure map: /lscratch/kocevski/39761549/expmap_812419201_812678401_4FGL_J0227.8+2246_daily_bin2211.fits
Exposure cube: /lscratch/kocevski/39761549/ltcube_812419201_812678401_4FGL_J0227.8+2246_daily_bin2211.fits
IRFs: P8R3_SOURCE_V2
Source model file: /lscratch/kocevski/39761549/Model_4FGL_J0227.8+2246_daily_bin2211.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) = 7683.71003558

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

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

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'Prefactor '    .21823E-03   1.0000          .0000       .10000E+07
     2 'norm      '    1.8476       1.0000          .0000       .10000E+07
     3 'Prefactor '    4.2043       1.0000          .0000       .10000E+07
     4 'norm      '    2.1334       1.0000          .0000       .10000E+07
     5 'Prefactor '    .13626       1.0000          .0000       .10000E+07
     6 'Prefactor '    .11102E-09   1.0000          .0000       .10000E+07
     7 'Prefactor '    3.8736       1.0000          .0000       .10000E+07
     8 'norm      '    .31025E-04   1.0000          .0000       .10000E+07
     9 'Prefactor '    3.9152       1.0000          .0000       .10000E+07
    10 'Prefactor '    .79690E-03   1.0000          .0000       .10000E+07
    11 'Prefactor '    .33427E-04   1.0000          .0000       .10000E+07
    12 'norm      '    .19890E-06   1.0000          .0000       .10000E+07
    13 'Prefactor '    7.5945       1.0000          .0000       .10000E+07
    14 'norm      '    .46262E-01   1.0000          .0000       .10000E+07
    15 'Prefactor '    .85159E-03   1.0000          .0000       .10000E+07
    16 'Prefactor '    .24362E-02   1.0000          .0000       .10000E+07
    17 'Prefactor '    7.1468       1.0000          .0000       .10000E+07
    18 'Prefactor '    1.5771       1.0000          .0000       .10000E+07
    19 'Prefactor '    .74171E-05   1.0000          .0000       .10000E+07
    20 'Prefactor '    47.722       1.0000          .0000       .10000E+07
    21 'norm      '    4.1363       1.0000          .0000       .10000E+07
    22 'Prefactor '    3.6345       1.0000          .0000       .10000E+07
    23 'Normalizat'    1.0096       1.0000         .10000E-01   10.000    
    24 'Prefactor '    1.0279       1.0000          .0000       10.000    
 **********
 **   15 **SET ERR    .5000    
 **********
 **********
 **   16 **SET GRAD    1.000    
 **********
 **********
 **   17 **MINIMIZE    .5300E+05   .2000E-04
 **********

 MIGRAD MINIMIZATION HAS CONVERGED.

 FCN=   7683.604     FROM MIGRAD    STATUS=CONVERGED    199 CALLS     2088 TOTAL
                     EDM=   .17E-08  STRATEGY=1  ERROR MATRIX UNCERTAINTY=  4.5%

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor     .32474E-07    13.223        .24566E-05** at limit **
   2  norm          1.8485        .73714        .89704E-07   -.81820E-03
   3  Prefactor     4.3361        8.3624        .26962E-05    .28548E-01
   4  norm          2.1344        2.5175        .23944E-06   -.59763E-02
   5  Prefactor     .15295        9.6767        .19347E-05** at limit **
   6  Prefactor     .88818E-09    2.9183       -.47723E-07** at limit **
   7  Prefactor     3.8956        4.5177       -.16013E-06    .15218E-02
   8  norm          .18319E-08    16.678        .80896E-06** at limit **
   9  Prefactor     4.3067        3.9996        .72719E-06   -.36241E-02
  10  Prefactor     .14808E-05    9.3409       -.60233E-06** at limit **
  11  Prefactor     .11102E-08    5.1617       -.72320E-06** at limit **
  12  norm          .55511E-10    1.0777       -.52415E-06** at limit **
  13  Prefactor     7.6391        7.9911       -.18015E-05    .13560E-01
  14  norm          .45963E-01    1.5716       -.10316E-06** at limit **
  15  Prefactor     .93081E-06    17.633       -.27462E-05** at limit **
  16  Prefactor     .17248E-05    51.533       -.54934E-05** at limit **
  17  Prefactor     7.0617        1.5085        .72558E-07   -.11530E-01
  18  Prefactor     1.7096        10.757       -.20924E-06    .28961E-02
  19  Prefactor      .0000        8.4731        .24966E-05** at limit **
  20  Prefactor     48.069        8.7867        .78453E-06   -.24336    
  21  norm          4.1374        7.0031        .32844E-06    .14900E-03
  22  Prefactor     3.7762        9.4329        .10174E-06   -.13711E-02
  23  Normalizat    1.0072        .24349       -.39103E-04    .10392E-03
  24  Prefactor     1.0280        .11024        .10321E-04    .25966E-03
                               ERR DEF=  .500    
Final values: 
  Prefactor  = 3.2474e-08
  norm       = 1.84852
  Prefactor  = 4.33606
  norm       = 2.13443
  Prefactor  = 0.152949
  Prefactor  = 8.88178e-10
  Prefactor  = 3.89559
  norm       = 1.83187e-09
  Prefactor  = 4.30675
  Prefactor  = 1.48082e-06
  Prefactor  = 1.11022e-09
  norm       = 5.55112e-11
  Prefactor  = 7.6391
  norm       = 0.045963
  Prefactor  = 9.30811e-07
  Prefactor  = 1.72479e-06
  Prefactor  = 7.06166
  Prefactor  = 1.70958
  Prefactor  = 0
  Prefactor  = 48.0685
  norm       = 4.13742
  Prefactor  = 3.77622
  Normalizat = 1.00721
  Prefactor  = 1.02797
Done.

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

Extracting fit parameters...

4FGL J0227.8+2246
   Spectrum: PowerLaw
242    Prefactor:  1.481e-06  1.175e-02  0.000e+00  1.000e+06 ( 1.000e-14)
243        Index:  2.144e+00  0.000e+00  0.000e+00  1.000e+01 (-1.000e+00) fixed
244        Scale:  2.284e+03  0.000e+00  3.000e+01  5.000e+05 ( 1.000e+00) fixed

GAL_V02
   Spectrum: PowerLaw
527    Prefactor:  1.028e+00  9.626e-02  0.000e+00  1.000e+01 ( 1.000e+00)
528        Index:  0.000e+00  0.000e+00 -1.000e+00  1.000e+00 ( 1.000e+00) fixed
529        Scale:  1.000e+02  0.000e+00  5.000e+01  2.000e+02 ( 1.000e+00) fixed

EG_v02
   Spectrum: FileFunction
526   Normalization:  1.007e+00  2.254e-01  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Fixed Index): -0.00
Ra Dec: 36.954 22.777
Photon Flux Upper Limit: 6.09647158958e-08 ph cm-2 s-1
Energy Flux Upper Limit: 0.00462519105612 MeV cm-2 s-1

Saving results to:
/lscratch/kocevski/39761480/likelihoodResults_812419201_812678401_4FGL_J0227.8+2246_daily_bin2211.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) = 7683.62437497
delta logL = -0.0205752898646

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

MINUIT Return Code (Free Index): 102
logL (Free Index) = 7683.60380008
delta logL = -3.99541022489e-07

Fit tolerance = 1e-08

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

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

 MIGRAD MINIMIZATION HAS CONVERGED.

 FCN=   7683.604     FROM MIGRAD    STATUS=CONVERGED     30 CALLS      199 TOTAL
                     EDM=   .30E-12  STRATEGY=1  ERROR MATRIX UNCERTAINTY=  1.8%

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor      .0000        29.427       -.93585E-06** at limit **
   2  Index         1.6423        5.3559       -.31733E-05     .0000    
   3  Normalizat    1.0072        .23538       -.81910E-05    .28335E-05
   4  Prefactor     1.0280        .10861        .63536E-05   -.62778E-05
                               ERR DEF=  .500    
Final values: 
  Prefactor  = 0
  Index      = 1.64231
  Normalizat = 1.00721
  Prefactor  = 1.02797
 **********
 **   18 **HESSE 
 **********
  MNHESS FAILS AND WILL RETURN DIAGONAL MATRIX. 

 FCN=   7683.604     FROM HESSE     STATUS=FAILED        11 CALLS      210 TOTAL
                     EDM=   .30E-12  STRATEGY=1  ERROR MATRIX UNCERTAINTY=100.0%

  EXT PARAMETER                APPROXIMATE     INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  Prefactor      .0000        29.708        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   2  Index         .26097        1.7015       -.31733E-05   -.73628    
   3  Normalizat    1.0072        1.3363       -.81910E-05   -.92789    
   4  Prefactor     1.0280        1.2222        .63536E-05   -.91803    
                               ERR DEF=  .500    
Minuit fit quality: 1   estimated distance: 2.96402e-13
Minuit parameter uncertainties:
  1  3.54925e-05
  2  1.63097
  3  1.38519
  4  1.25788
 **********
 **   18 **HESSE 
 **********

 FCN=   7683.604     FROM HESSE     STATUS=OK           457 CALLS     2545 TOTAL
                     EDM=   .33E-05    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  Prefactor     .32474E-07    13.259        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   2  norm          1.8485        .74275        .76683E-03   -1.5681    
   3  Prefactor     4.3361        11.547        .49124E-03   -1.5666    
   4  norm          2.1344        2.5355        .70553E-03   -1.5679    
   5  Prefactor     .15295        1.2980        .60352E-02   -1.5716    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   6  Prefactor     .88818E-09    2.9173        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   7  Prefactor     3.8956        4.5246        .51245E-03   -1.5668    
   8  norm          .18319E-08    25.389        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   9  Prefactor     4.3067        72.448        .50963E-03   -1.5666    
  10  Prefactor     .14808E-05    23.323        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  11  Prefactor     .11102E-08    5.1468        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  12  norm          .55511E-10    1.0653        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  13  Prefactor     7.6391        12.851        .36366E-03   -1.5653    
  14  norm          .45963E-01    .47744        .19386E-02   -1.5704    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  15  Prefactor     .93081E-06    19.017        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  16  Prefactor     .17248E-05    52.737        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  17  Prefactor     7.0617        57.614        .37499E-03   -1.5655    
  18  Prefactor     1.7096        11.069        .84567E-03   -1.5682    
  19  Prefactor      .0000        8.4998        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  20  Prefactor     48.069        49.797        .14477E-03   -1.5569    
  21  norm          4.1374        7.0011        .49538E-03   -1.5667    
  22  Prefactor     3.7762        9.4691        .52967E-03   -1.5669    
  23  Normalizat    1.0072        .22522        .81623E-01   -.92789    
  24  Prefactor     1.0280        .96243E-01    .41431E-01   -.91803    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 3.30865e-06
Minuit parameter uncertainties:
  1  0.00131229
  2  0.742752
  3  11.5473
  4  2.53548
  5  0.891126
  6  0.000102638
  7  4.52456
  8  0.000429751
  9  35.3285
  10  0.0117538
  11  0.000149626
  12  1.75405e-05
  13  12.8512
  14  0.296275
  15  0.00841479
  16  0.0190748
  17  40.3417
  18  8.70031
  19  9.52792e-07
  20  49.7975
  21  7.00115
  22  9.46917
  23  0.225431
  24  0.0962595
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) = 7683.60379965
delta logL = 3.17477315548e-08

Extracting fit parameters...

4FGL J0227.8+2246
   Spectrum: PowerLaw
242    Prefactor:  0.000e+00  3.549e-05  0.000e+00  1.000e+06 ( 1.000e-14)
243        Index:  1.642e+00  1.631e+00  0.000e+00  1.000e+01 (-1.000e+00)
244        Scale:  2.284e+03  0.000e+00  3.000e+01  5.000e+05 ( 1.000e+00) fixed

GAL_V02
   Spectrum: PowerLaw
527    Prefactor:  1.028e+00  1.258e+00  0.000e+00  1.000e+01 ( 1.000e+00)
528        Index:  0.000e+00  0.000e+00 -1.000e+00  1.000e+00 ( 1.000e+00) fixed
529        Scale:  1.000e+02  0.000e+00  5.000e+01  2.000e+02 ( 1.000e+00) fixed

EG_v02
   Spectrum: FileFunction
526   Normalization:  1.007e+00  1.385e+00  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Free Index): -0.00
Ra Dec: 36.954 22.777

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/39761480/cmap_HighResolution_812419201_812678401_4FGL_J0227.8+2246_daily_bin2211.png

Cleaning up...

** Nuclear option initiated! **

Updating database...

UPDATE lightcurve_data_v2 SET energy_flux_upper_limit='4.63e-03', job_status='DONE', photon_flux_upper_limit='6.10e-08', time_completed='2026-10-03 13:50:45.489049', job_id='39761480', GAL2='1.03', fit_tolerance='1e-08', EG2='1.01', EG='1.01', time_epoch_completed='1791060645.49', return_code2='101', ts='-0.00', comment='SUCCESS', return_code='0', GAL='1.03', dlogl='3.17e-08', ts2='0.00', photon_index_error='0.00', photon_index='2.14' WHERE bin_id='2211' AND source_name='4FGL J0227.8+2246' AND cadence='daily';

Database successfully updated.


Analysis Complete.


Sat Oct  3 13:50:45 PDT 2026

_V02
Working on...
/lscratch/kocevski/39761550/ft1_filtered_4FGL_J0227.8+2246_daily_bin2211.fits.....................!
real 45.48
user 44.01
sys 0.70

Creating the likelihood object...
obs = UnbinnedObs('/lscratch/kocevski/39761550/ft1_filtered_4FGL_J0227.8+2246_daily_bin2211.fits', '/lscratch/kocevski/39761550/ft2_4FGL_J0227.8+2246_daily_bin2211.fits', expMap='/lscratch/kocevski/39761550/expmap_812419201_812678401_4FGL_J0227.8+2246_daily_bin2211.fits', expCube='/lscratch/kocevski/39761550/ltcube_812419201_812678401_4FGL_J0227.8+2246_daily_bin2211.fits', irfs='P8R3_SOURCE_V2')
like = UnbinnedAnalysis(obs, '/lscratch/kocevski/39761550/Model_4FGL_J0227.8+2246_daily_bin2211.xml', optimizer='MINUIT')

Using source of interest name: '4FGL J0227.8+2246'

4FGL J0227.8+2246
   Spectrum: PowerLaw
242    Prefactor:  5.054e+00  0.000e+00  0.000e+00  1.000e+06 ( 1.000e-14)
243        Index:  2.144e+00  0.000e+00  0.000e+00  1.000e+01 (-1.000e+00) fixed
244        Scale:  2.284e+03  0.000e+00  3.000e+01  5.000e+05 ( 1.000e+00) fixed


Likelihood Fit Parameters:
Event file(s): /lscratch/kocevski/39761550/ft1_filtered_4FGL_J0227.8+2246_daily_bin2211.fits
Spacecraft file(s): /lscratch/kocevski/39761550/ft2_4FGL_J0227.8+2246_daily_bin2211.fits
Exposure map: /lscratch/kocevski/39761550/expmap_812419201_812678401_4FGL_J0227.8+2246_daily_bin2211.fits
Exposure cube: /lscratch/kocevski/39761550/ltcube_812419201_812678401_4FGL_J0227.8+2246_daily_bin2211.fits
IRFs: P8R3_SOURCE_V2
Source model file: /lscratch/kocevski/39761550/Model_4FGL_J0227.8+2246_daily_bin2211.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) = 7683.71003558

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

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

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'Prefactor '    .21823E-03   1.0000          .0000       .10000E+07
     2 'norm      '    1.8476       1.0000          .0000       .10000E+07
     3 'Prefactor '    4.2043       1.0000          .0000       .10000E+07
     4 'norm      '    2.1334       1.0000          .0000       .10000E+07
     5 'Prefactor '    .13626       1.0000          .0000       .10000E+07
     6 'Prefactor '    .11102E-09   1.0000          .0000       .10000E+07
     7 'Prefactor '    3.8736       1.0000          .0000       .10000E+07
     8 'norm      '    .31025E-04   1.0000          .0000       .10000E+07
     9 'Prefactor '    3.9152       1.0000          .0000       .10000E+07
    10 'Prefactor '    .79690E-03   1.0000          .0000       .10000E+07
    11 'Prefactor '    .33427E-04   1.0000          .0000       .10000E+07
    12 'norm      '    .19890E-06   1.0000          .0000       .10000E+07
    13 'Prefactor '    7.5945       1.0000          .0000       .10000E+07
    14 'norm      '    .46262E-01   1.0000          .0000       .10000E+07
    15 'Prefactor '    .85159E-03   1.0000          .0000       .10000E+07
    16 'Prefactor '    .24362E-02   1.0000          .0000       .10000E+07
    17 'Prefactor '    7.1468       1.0000          .0000       .10000E+07
    18 'Prefactor '    1.5771       1.0000          .0000       .10000E+07
    19 'Prefactor '    .74171E-05   1.0000          .0000       .10000E+07
    20 'Prefactor '    47.722       1.0000          .0000       .10000E+07
    21 'norm      '    4.1363       1.0000          .0000       .10000E+07
    22 'Prefactor '    3.6345       1.0000          .0000       .10000E+07
    23 'Normalizat'    1.0096       1.0000         .10000E-01   10.000    
    24 'Prefactor '    1.0279       1.0000          .0000       10.000    
 **********
 **   15 **SET ERR    .5000    
 **********
 **********
 **   16 **SET GRAD    1.000    
 **********
 **********
 **   17 **MINIMIZE    .5300E+05   .2000E-04
 **********

 MIGRAD MINIMIZATION HAS CONVERGED.

 FCN=   7683.604     FROM MIGRAD    STATUS=CONVERGED    199 CALLS     2088 TOTAL
                     EDM=   .17E-08  STRATEGY=1  ERROR MATRIX UNCERTAINTY=  4.5%

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor     .32474E-07    13.223        .24566E-05** at limit **
   2  norm          1.8485        .73714        .89704E-07   -.81820E-03
   3  Prefactor     4.3361        8.3624        .26962E-05    .28548E-01
   4  norm          2.1344        2.5175        .23944E-06   -.59763E-02
   5  Prefactor     .15295        9.6767        .19347E-05** at limit **
   6  Prefactor     .88818E-09    2.9183       -.47723E-07** at limit **
   7  Prefactor     3.8956        4.5177       -.16013E-06    .15218E-02
   8  norm          .18319E-08    16.678        .80896E-06** at limit **
   9  Prefactor     4.3067        3.9996        .72719E-06   -.36241E-02
  10  Prefactor     .14808E-05    9.3409       -.60233E-06** at limit **
  11  Prefactor     .11102E-08    5.1617       -.72320E-06** at limit **
  12  norm          .55511E-10    1.0777       -.52415E-06** at limit **
  13  Prefactor     7.6391        7.9911       -.18015E-05    .13560E-01
  14  norm          .45963E-01    1.5716       -.10316E-06** at limit **
  15  Prefactor     .93081E-06    17.633       -.27462E-05** at limit **
  16  Prefactor     .17248E-05    51.533       -.54934E-05** at limit **
  17  Prefactor     7.0617        1.5085        .72558E-07   -.11530E-01
  18  Prefactor     1.7096        10.757       -.20924E-06    .28961E-02
  19  Prefactor      .0000        8.4731        .24966E-05** at limit **
  20  Prefactor     48.069        8.7867        .78453E-06   -.24336    
  21  norm          4.1374        7.0031        .32844E-06    .14900E-03
  22  Prefactor     3.7762        9.4329        .10174E-06   -.13711E-02
  23  Normalizat    1.0072        .24349       -.39103E-04    .10392E-03
  24  Prefactor     1.0280        .11024        .10321E-04    .25966E-03
                               ERR DEF=  .500    
Final values: 
  Prefactor  = 3.2474e-08
  norm       = 1.84852
  Prefactor  = 4.33606
  norm       = 2.13443
  Prefactor  = 0.152949
  Prefactor  = 8.88178e-10
  Prefactor  = 3.89559
  norm       = 1.83187e-09
  Prefactor  = 4.30675
  Prefactor  = 1.48082e-06
  Prefactor  = 1.11022e-09
  norm       = 5.55112e-11
  Prefactor  = 7.6391
  norm       = 0.045963
  Prefactor  = 9.30811e-07
  Prefactor  = 1.72479e-06
  Prefactor  = 7.06166
  Prefactor  = 1.70958
  Prefactor  = 0
  Prefactor  = 48.0685
  norm       = 4.13742
  Prefactor  = 3.77622
  Normalizat = 1.00721
  Prefactor  = 1.02797
 **********
 **   18 **HESSE 
 **********

 FCN=   7683.604     FROM HESSE     STATUS=OK           457 CALLS     2545 TOTAL
                     EDM=   .33E-05    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  Prefactor     .32474E-07    13.259        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   2  norm          1.8485        .74275        .76683E-03   -1.5681    
   3  Prefactor     4.3361        11.547        .49124E-03   -1.5666    
   4  norm          2.1344        2.5355        .70553E-03   -1.5679    
   5  Prefactor     .15295        1.2980        .60352E-02   -1.5716    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   6  Prefactor     .88818E-09    2.9173        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   7  Prefactor     3.8956        4.5246        .51245E-03   -1.5668    
   8  norm          .18319E-08    25.389        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   9  Prefactor     4.3067        72.448        .50963E-03   -1.5666    
  10  Prefactor     .14808E-05    23.323        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  11  Prefactor     .11102E-08    5.1468        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  12  norm          .55511E-10    1.0653        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  13  Prefactor     7.6391        12.851        .36366E-03   -1.5653    
  14  norm          .45963E-01    .47744        .19386E-02   -1.5704    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  15  Prefactor     .93081E-06    19.017        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  16  Prefactor     .17248E-05    52.737        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  17  Prefactor     7.0617        57.614        .37499E-03   -1.5655    
  18  Prefactor     1.7096        11.069        .84567E-03   -1.5682    
  19  Prefactor      .0000        8.4998        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  20  Prefactor     48.069        49.797        .14477E-03   -1.5569    
  21  norm          4.1374        7.0011        .49538E-03   -1.5667    
  22  Prefactor     3.7762        9.4691        .52967E-03   -1.5669    
  23  Normalizat    1.0072        .22522        .81623E-01   -.92789    
  24  Prefactor     1.0280        .96243E-01    .41431E-01   -.91803    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 3.30865e-06
Minuit parameter uncertainties:
  1  0.00131229
  2  0.742752
  3  11.5473
  4  2.53548
  5  0.891126
  6  0.000102638
  7  4.52456
  8  0.000429751
  9  35.3285
  10  0.0117538
  11  0.000149626
  12  1.75405e-05
  13  12.8512
  14  0.296275
  15  0.00841479
  16  0.0190748
  17  40.3417
  18  8.70031
  19  9.52792e-07
  20  49.7975
  21  7.00115
  22  9.46917
  23  0.225431
  24  0.0962595
 **********
 **   18 **HESSE 
 **********

 FCN=   7683.604     FROM HESSE     STATUS=OK           457 CALLS     2545 TOTAL
                     EDM=   .33E-05    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  Prefactor     .32474E-07    13.259        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   2  norm          1.8485        .74275        .76683E-03   -1.5681    
   3  Prefactor     4.3361        11.547        .49124E-03   -1.5666    
   4  norm          2.1344        2.5355        .70553E-03   -1.5679    
   5  Prefactor     .15295        1.2980        .60352E-02   -1.5716    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   6  Prefactor     .88818E-09    2.9173        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   7  Prefactor     3.8956        4.5246        .51245E-03   -1.5668    
   8  norm          .18319E-08    25.389        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   9  Prefactor     4.3067        72.448        .50963E-03   -1.5666    
  10  Prefactor     .14808E-05    23.323        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  11  Prefactor     .11102E-08    5.1468        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  12  norm          .55511E-10    1.0653        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  13  Prefactor     7.6391        12.851        .36366E-03   -1.5653    
  14  norm          .45963E-01    .47744        .19386E-02   -1.5704    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  15  Prefactor     .93081E-06    19.017        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  16  Prefactor     .17248E-05    52.737        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  17  Prefactor     7.0617        57.614        .37499E-03   -1.5655    
  18  Prefactor     1.7096        11.069        .84567E-03   -1.5682    
  19  Prefactor      .0000        8.4998        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  20  Prefactor     48.069        49.797        .14477E-03   -1.5569    
  21  norm          4.1374        7.0011        .49538E-03   -1.5667    
  22  Prefactor     3.7762        9.4691        .52967E-03   -1.5669    
  23  Normalizat    1.0072        .22522        .81623E-01   -.92789    
  24  Prefactor     1.0280        .96243E-01    .41431E-01   -.91803    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 3.30865e-06
Minuit parameter uncertainties:
  1  0.00131229
  2  0.742752
  3  11.5473
  4  2.53548
  5  0.891126
  6  0.000102638
  7  4.52456
  8  0.000429751
  9  35.3285
  10  0.0117538
  11  0.000149626
  12  1.75405e-05
  13  12.8512
  14  0.296275
  15  0.00841479
  16  0.0190748
  17  40.3417
  18  8.70031
  19  9.52792e-07
  20  49.7975
  21  7.00115
  22  9.46917
  23  0.225431
  24  0.0962595
number of points = 6599
number of fields = 31
RA_SUN column already exists. File will not be modified.
Done.


Performing analysis on: 4FGL_J0227.8+2246_daily_bin2211
RA = 36.9544, Dec = 22.7775
tmin = 812419201, tmax = 812678401
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='39761744', job_status='RUN', time_executed='2026-10-03 13:50:20.432942', time_epoch_executed='1791060620.43' WHERE source_name='4FGL J0227.8+2246' and cadence='daily' and bin_id='2211'

Database successfully updated.
Done.

Creating custom output directory:
/lscratch/kocevski/39761744

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

Retrieving the FT1 file...

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

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

Retrieving 42 files...
Done.


Merging files...

Checksum keywords updated successfully.

Merged file saved to:
/lscratch/kocevski/39761744/ft1_4FGL_J0227.8+2246_daily_bin2211.fits


Retrieving the FT1 file...

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

Retrieving 42 files...
Done.


Merging files...

Merged file saved to:
/lscratch/kocevski/39761744/ft2_4FGL_J0227.8+2246_daily_bin2211.fits


Selecting the photons:
time -p gtselect infile=/lscratch/kocevski/39761744/ft1_4FGL_J0227.8+2246_daily_bin2211.fits outfile=/lscratch/kocevski/39761744/ft1_filteredMKT_4FGL_J0227.8+2246_daily_bin2211.fits ra=36.9544 dec=22.7775 rad=12.0 tmin=812419201.0 tmax=812678401.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.44
user 1.94
sys 0.16

Adding sun position to ft2 file:
/sdf/group/fermi/g/LCRepository/Repository/bin/sunpos /lscratch/kocevski/39761744/ft2_4FGL_J0227.8+2246_daily_bin2211.fits

Selecting the good time intervals:
time -p gtmktime scfile=/lscratch/kocevski/39761744/ft2_4FGL_J0227.8+2246_daily_bin2211.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/39761744/ft1_filteredMKT_4FGL_J0227.8+2246_daily_bin2211.fits evtable="EVENTS" outfile="/lscratch/kocevski/39761744/ft1_filtered_4FGL_J0227.8+2246_daily_bin2211.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.64
user 0.21
sys 0.14

Number of photons that the gtmktime cut: 724

Generating the livetime cube:
time -p gtltcube evfile="/lscratch/kocevski/39761744/ft1_filtered_4FGL_J0227.8+2246_daily_bin2211.fits" evtable="EVENTS" scfile=/lscratch/kocevski/39761744/ft2_4FGL_J0227.8+2246_daily_bin2211.fits sctable="SC_DATA" ou **********
 **   18 **HESSE 
 **********

 FCN=   7683.604     FROM HESSE     STATUS=OK           457 CALLS     2545 TOTAL
                     EDM=   .33E-05    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  Prefactor     .32474E-07    13.259        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   2  norm          1.8485        .74275        .76683E-03   -1.5681    
   3  Prefactor     4.3361        11.547        .49124E-03   -1.5666    
   4  norm          2.1344        2.5355        .70553E-03   -1.5679    
   5  Prefactor     .15295        1.2980        .60352E-02   -1.5716    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   6  Prefactor     .88818E-09    2.9173        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   7  Prefactor     3.8956        4.5246        .51245E-03   -1.5668    
   8  norm          .18319E-08    25.389        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   9  Prefactor     4.3067        72.448        .50963E-03   -1.5666    
  10  Prefactor     .14808E-05    23.323        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  11  Prefactor     .11102E-08    5.1468        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  12  norm          .55511E-10    1.0653        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  13  Prefactor     7.6391        12.851        .36366E-03   -1.5653    
  14  norm          .45963E-01    .47744        .19386E-02   -1.5704    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  15  Prefactor     .93081E-06    19.017        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  16  Prefactor     .17248E-05    52.737        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  17  Prefactor     7.0617        57.614        .37499E-03   -1.5655    
  18  Prefactor     1.7096        11.069        .84567E-03   -1.5682    
  19  Prefactor      .0000        8.4998        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  20  Prefactor     48.069        49.797        .14477E-03   -1.5569    
  21  norm          4.1374        7.0011        .49538E-03   -1.5667    
  22  Prefactor     3.7762        9.4691        .52967E-03   -1.5669    
  23  Normalizat    1.0072        .22522        .81623E-01   -.92789    
  24  Prefactor     1.0280        .96243E-01    .41431E-01   -.91803    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 3.30865e-06
Minuit parameter uncertainties:
  1  0.00131229
  2  0.742752
  3  11.5473
  4  2.53548
  5  0.891126
  6  0.000102638
  7  4.52456
  8  0.000429751
  9  35.3285
  10  0.0117538
  11  0.000149626
  12  1.75405e-05
  13  12.8512
  14  0.296275
  15  0.00841479
  16  0.0190748
  17  40.3417
  18  8.70031
  19  9.52792e-07
  20  49.7975
  21  7.00115
  22  9.46917
  23  0.225431
  24  0.0962595
file=/lscratch/kocevski/39761663/ltcube_812419201_812678401_4FGL_J0227.8+2246_daily_bin2211.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/39761663/ft2_4FGL_J0227.8+2246_daily_bin2211.fits
.....................!
real 8.33
user 7.79
sys 0.24

Generating the exposure map:
time -p gtexpmap evfile=/lscratch/kocevski/39761663/ft1_filtered_4FGL_J0227.8+2246_daily_bin2211.fits evtable="EVENTS" scfile=/lscratch/kocevski/39761663/ft2_4FGL_J0227.8+2246_daily_bin2211.fits sctable="SC_DATA" expcube=/lscratch/kocevski/39761663/ltcube_812419201_812678401_4FGL_J0227.8+2246_daily_bin2211.fits outfile=/lscratch/kocevski/39761663/expmap_812419201_812678401_4FGL_J0227.8+2246_daily_bin2211.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/39761663/ltcube_812419201_812678401_4FGL_J0227.8+2246_daily_bin2211.fits
.....................!
real 74.20
user 69.38
sys 4.19

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

Setting source of interest to:
4FGL J0227.8+2246 @ 36.9544 22.7775

Creating the counts map:
time -p gtbin evfile=/lscratch/kocevski/39761663/ft1_filtered_4FGL_J0227.8+2246_daily_bin2211.fits scfile=/lscratch/kocevski/39761663/ft2_4FGL_J0227.8+2246_daily_bin2211.fits outfile=/lscratch/kocevski/39761663/cmap_812419201_812678401_4FGL_J0227.8+2246_daily_bin2211.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=36.9544 yref=22.7775 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.64
user 0.22
sys 0.13

Creating the high resolution counts map:
time -p gtbin evfile=/lscratch/kocevski/39761663/ft1_filtered_4FGL_J0227.8+2246_daily_bin2211.fits scfile=/lscratch/kocevski/39761663/ft2_4FGL_J0227.8+2246_daily_bin2211.fits outfile=/lscratch/kocevski/39761663/cmap_HighResolution_812419201_812678401_4FGL_J0227.8+2246_daily_bin2211.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=36.9544 yref=22.7775 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.62
user 0.24
sys 0.13

Computing the diffuse response:
time -p gtdiffrsp evfile=/lscratch/kocevski/39761663/ft1_filtered_4FGL_J0227.8+2246_daily_bin2211.fits evtable="EVENTS" scfile=/lscratch/kocevski/39761663/ft2_4FGL_J0227.8+2246_daily_bin2211.fits sctable="SC_DATA" srcmdl=/lscratch/kocevski/39761663/Model_4FGL_J0227.8+2246_daily_bin2211.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_file=/lscratch/kocevski/39761667/ltcube_812419201_812678401_4FGL_J0227.8+2246_daily_bin2211.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/39761667/ft2_4FGL_J0227.8+2246_daily_bin2211.fits
.....................!
real 7.93
user 7.48
sys 0.20

Generating the exposure map:
time -p gtexpmap evfile=/lscratch/kocevski/39761667/ft1_filtered_4FGL_J0227.8+2246_daily_bin2211.fits evtable="EVENTS" scfile=/lscratch/kocevski/39761667/ft2_4FGL_J0227.8+2246_daily_bin2211.fits sctable="SC_DATA" expcube=/lscratch/kocevski/39761667/ltcube_812419201_812678401_4FGL_J0227.8+2246_daily_bin2211.fits outfile=/lscratch/kocevski/39761667/expmap_812419201_812678401_4FGL_J0227.8+2246_daily_bin2211.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/39761667/ltcube_812419201_812678401_4FGL_J0227.8+2246_daily_bin2211.fits
.....................!
real 73.79
user 69.20
sys 3.92

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

Setting source of interest to:
4FGL J0227.8+2246 @ 36.9544 22.7775

Creating the counts map:
time -p gtbin evfile=/lscratch/kocevski/39761667/ft1_filtered_4FGL_J0227.8+2246_daily_bin2211.fits scfile=/lscratch/kocevski/39761667/ft2_4FGL_J0227.8+2246_daily_bin2211.fits outfile=/lscratch/kocevski/39761667/cmap_812419201_812678401_4FGL_J0227.8+2246_daily_bin2211.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=36.9544 yref=22.7775 axisrot=0.0 rafield="RA" decfield="DEC" proj="AIT" hpx_ordering_scheme="RING" hpx_order=3 hpx_ebin=yes hpx_region="" evtable="EVENTS" sctable="SC_DATA" efield="ENERGY" tfield="TIME" chatter=2 clobber=yes debug=no gui=no mode="ql"

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

This is gtbin version HEAD
real 0.58
user 0.22
sys 0.13

Creating the high resolution counts map:
time -p gtbin evfile=/lscratch/kocevski/39761667/ft1_filtered_4FGL_J0227.8+2246_daily_bin2211.fits scfile=/lscratch/kocevski/39761667/ft2_4FGL_J0227.8+2246_daily_bin2211.fits outfile=/lscratch/kocevski/39761667/cmap_HighResolution_812419201_812678401_4FGL_J0227.8+2246_daily_bin2211.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=36.9544 yref=22.7775 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.67
user 0.23
sys 0.13

Computing the diffuse response:
time -p gtdiffrsp evfile=/lscratch/kocevski/39761667/ft1_filtered_4FGL_J0227.8+2246_daily_bin2211.fits evtable="EVENTS" scfile=/lscratch/kocevski/39761667/ft2_4FGL_J0227.8+2246_daily_bin2211.fits sctable="SC_DATA" srcmdl=/lscratch/kocevski/39761667/Model_4FGL_J0227.8+2246_daily_bin2211.xml irfs="P8R3_SOURCE_V2" evclsmin=0 evclass="INDEF" evtype="INDEF" convert=yes chatter=2 clobber=yes debug=no gui=no mode="ql"

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

adding source EG_v02
adding source GAL_Done.

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

Extracting fit parameters...

4FGL J0227.8+2246
   Spectrum: PowerLaw
242    Prefactor:  1.481e-06  1.175e-02  0.000e+00  1.000e+06 ( 1.000e-14)
243        Index:  2.144e+00  0.000e+00  0.000e+00  1.000e+01 (-1.000e+00) fixed
244        Scale:  2.284e+03  0.000e+00  3.000e+01  5.000e+05 ( 1.000e+00) fixed

GAL_V02
   Spectrum: PowerLaw
527    Prefactor:  1.028e+00  9.626e-02  0.000e+00  1.000e+01 ( 1.000e+00)
528        Index:  0.000e+00  0.000e+00 -1.000e+00  1.000e+00 ( 1.000e+00) fixed
529        Scale:  1.000e+02  0.000e+00  5.000e+01  2.000e+02 ( 1.000e+00) fixed

EG_v02
   Spectrum: FileFunction
526   Normalization:  1.007e+00  2.254e-01  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Fixed Index): -0.00
Ra Dec: 36.954 22.777
Photon Flux Upper Limit: 6.09647158958e-08 ph cm-2 s-1
Energy Flux Upper Limit: 0.00462519105612 MeV cm-2 s-1

Saving results to:
/lscratch/kocevski/39761565/likelihoodResults_812419201_812678401_4FGL_J0227.8+2246_daily_bin2211.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) = 7683.62437497
delta logL = -0.0205752898646

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

MINUIT Return Code (Free Index): 102
logL (Free Index) = 7683.60380008
delta logL = -3.99541022489e-07

Fit tolerance = 1e-08

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

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

 MIGRAD MINIMIZATION HAS CONVERGED.

 FCN=   7683.604     FROM MIGRAD    STATUS=CONVERGED     30 CALLS      199 TOTAL
                     EDM=   .30E-12  STRATEGY=1  ERROR MATRIX UNCERTAINTY=  1.8%

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor      .0000        29.427       -.93585E-06** at limit **
   2  Index         1.6423        5.3559       -.31733E-05     .0000    
   3  Normalizat    1.0072        .23538       -.81910E-05    .28335E-05
   4  Prefactor     1.0280        .10861        .63536E-05   -.62778E-05
                               ERR DEF=  .500    
Final values: 
  Prefactor  = 0
  Index      = 1.64231
  Normalizat = 1.00721
  Prefactor  = 1.02797
 **********
 **   18 **HESSE 
 **********
  MNHESS FAILS AND WILL RETURN DIAGONAL MATRIX. 

 FCN=   7683.604     FROM HESSE     STATUS=FAILED        11 CALLS      210 TOTAL
                     EDM=   .30E-12  STRATEGY=1  ERROR MATRIX UNCERTAINTY=100.0%

  EXT PARAMETER                APPROXIMATE     INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  Prefactor      .0000        29.708        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   2  Index         .26097        1.7015       -.31733E-05   -.73628    
   3  Normalizat    1.0072        1.3363       -.81910E-05   -.92789    
   4  Prefactor     1.0280        1.2222        .63536E-05   -.91803    
                               ERR DEF=  .500    
Minuit fit quality: 1   estimated distance: 2.96402e-13
Minuit parameter uncertainties:
  1  3.54925e-05
  2  1.63097
  3  1.38519
  4  1.25788
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) = 7683.60379965
delta logL = 3.17477315548e-08

Extracting fit parameters...

4FGL J0227.8+2246
   Spectrum: PowerLaw
242    Prefactor:  0.000e+00  3.549e-05  0.000e+00  1.000e+06 ( 1.000e-14)
243        Index:  1.642e+00  1.631e+00  0.000e+00  1.000e+01 (-1.000e+00)
244        Scale:  2.284e+03  0.000e+00  3.000e+01  5.000e+05 ( 1.000e+00) fixed

GAL_V02
   Spectrum: PowerLaw
527    Prefactor:  1.028e+00  1.258e+00  0.000e+00  1.000e+01 ( 1.000e+00)
528        Index:  0.000e+00  0.000e+00 -1.000e+00  1.000e+00 ( 1.000e+00) fixed
529        Scale:  1.000e+02  0.000e+00  5.000e+01  2.000e+02 ( 1.000e+00) fixed

EG_v02
   Spectrum: FileFunction
526   Normalization:  1.007e+00  1.385e+00  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Free Index): -0.00
Ra Dec: 36.954 22.777

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/39761565/cmap_HighResolution_812419201_812678401_4FGL_J0227.8+2246_daily_bin2211.png

Cleaning up...

** Nuclear option initiated! **

Updating database...

UPDATE lightcurve_data_v2 SET energy_flux_upper_limit='4.63e-03', job_status='DONE', photon_flux_upper_limit='6.10e-08', time_completed='2026-10-03 13:51:13.289495', job_id='39761565', GAL2='1.03', fit_tolerance='1e-08', EG2='1.01', EG='1.01', time_epoch_completed='1791060673.29', return_code2='101', ts='-0.00', comment='SUCCESS', return_code='0', GAL='1.03', dlogl='3.17e-08', ts2='0.00', photon_index_error='0.00', photon_index='2.14' WHERE bin_id='2211' AND source_name='4FGL J0227.8+2246' AND cadence='daily';

Database successfully updated.


Analysis Complete.


Sat Oct  3 13:51:13 PDT 2026

Done.

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

Extracting fit parameters...

4FGL J0227.8+2246
   Spectrum: PowerLaw
242    Prefactor:  1.481e-06  1.175e-02  0.000e+00  1.000e+06 ( 1.000e-14)
243        Index:  2.144e+00  0.000e+00  0.000e+00  1.000e+01 (-1.000e+00) fixed
244        Scale:  2.284e+03  0.000e+00  3.000e+01  5.000e+05 ( 1.000e+00) fixed

GAL_V02
   Spectrum: PowerLaw
527    Prefactor:  1.028e+00  9.626e-02  0.000e+00  1.000e+01 ( 1.000e+00)
528        Index:  0.000e+00  0.000e+00 -1.000e+00  1.000e+00 ( 1.000e+00) fixed
529        Scale:  1.000e+02  0.000e+00  5.000e+01  2.000e+02 ( 1.000e+00) fixed

EG_v02
   Spectrum: FileFunction
526   Normalization:  1.007e+00  2.254e-01  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Fixed Index): -0.00
Ra Dec: 36.954 22.777
Photon Flux Upper Limit: 6.09647158958e-08 ph cm-2 s-1
Energy Flux Upper Limit: 0.00462519105612 MeV cm-2 s-1

Saving results to:
/lscratch/kocevski/39761549/likelihoodResults_812419201_812678401_4FGL_J0227.8+2246_daily_bin2211.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) = 7683.62437497
delta logL = -0.0205752898646

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

MINUIT Return Code (Free Index): 102
logL (Free Index) = 7683.60380008
delta logL = -3.99541022489e-07

Fit tolerance = 1e-08

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

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

 MIGRAD MINIMIZATION HAS CONVERGED.

 FCN=   7683.604     FROM MIGRAD    STATUS=CONVERGED     30 CALLS      199 TOTAL
                     EDM=   .30E-12  STRATEGY=1  ERROR MATRIX UNCERTAINTY=  1.8%

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor      .0000        29.427       -.93585E-06** at limit **
   2  Index         1.6423        5.3559       -.31733E-05     .0000    
   3  Normalizat    1.0072        .23538       -.81910E-05    .28335E-05
   4  Prefactor     1.0280        .10861        .63536E-05   -.62778E-05
                               ERR DEF=  .500    
Final values: 
  Prefactor  = 0
  Index      = 1.64231
  Normalizat = 1.00721
  Prefactor  = 1.02797
 **********
 **   18 **HESSE 
 **********
  MNHESS FAILS AND WILL RETURN DIAGONAL MATRIX. 

 FCN=   7683.604     FROM HESSE     STATUS=FAILED        11 CALLS      210 TOTAL
                     EDM=   .30E-12  STRATEGY=1  ERROR MATRIX UNCERTAINTY=100.0%

  EXT PARAMETER                APPROXIMATE     INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  Prefactor      .0000        29.708        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   2  Index         .26097        1.7015       -.31733E-05   -.73628    
   3  Normalizat    1.0072        1.3363       -.81910E-05   -.92789    
   4  Prefactor     1.0280        1.2222        .63536E-05   -.91803    
                               ERR DEF=  .500    
Minuit fit quality: 1   estimated distance: 2.96402e-13
Minuit parameter uncertainties:
  1  3.54925e-05
  2  1.63097
  3  1.38519
  4  1.25788
Done.

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

Extracting fit parameters...

4FGL J0227.8+2246
   Spectrum: PowerLaw
242    Prefactor:  1.481e-06  1.175e-02  0.000e+00  1.000e+06 ( 1.000e-14)
243        Index:  2.144e+00  0.000e+00  0.000e+00  1.000e+01 (-1.000e+00) fixed
244        Scale:  2.284e+03  0.000e+00  3.000e+01  5.000e+05 ( 1.000e+00) fixed

GAL_V02
   Spectrum: PowerLaw
527    Prefactor:  1.028e+00  9.626e-02  0.000e+00  1.000e+01 ( 1.000e+00)
528        Index:  0.000e+00  0.000e+00 -1.000e+00  1.000e+00 ( 1.000e+00) fixed
529        Scale:  1.000e+02  0.000e+00  5.000e+01  2.000e+02 ( 1.000e+00) fixed

EG_v02
   Spectrum: FileFunction
526   Normalization:  1.007e+00  2.254e-01  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Fixed Index): -0.00
Ra Dec: 36.954 22.777
Photon Flux Upper Limit: 6.09647158958e-08 ph cm-2 s-1
Energy Flux Upper Limit: 0.00462519105612 MeV cm-2 s-1

Saving results to:
/lscratch/kocevski/39761536/likelihoodResults_812419201_812678401_4FGL_J0227.8+2246_daily_bin2211.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) = 7683.62437497
delta logL = -0.0205752898646

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

MINUIT Return Code (Free Index): 102
logL (Free Index) = 7683.60380008
delta logL = -3.99541022489e-07

Fit tolerance = 1e-08

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

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

 MIGRAD MINIMIZATION HAS CONVERGED.

 FCN=   7683.604     FROM MIGRAD    STATUS=CONVERGED     30 CALLS      199 TOTAL
                     EDM=   .30E-12  STRATEGY=1  ERROR MATRIX UNCERTAINTY=  1.8%

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor      .0000        29.427       -.93585E-06** at limit **
   2  Index         1.6423        5.3559       -.31733E-05     .0000    
   3  Normalizat    1.0072        .23538       -.81910E-05    .28335E-05
   4  Prefactor     1.0280        .10861        .63536E-05   -.62778E-05
                               ERR DEF=  .500    
Final values: 
  Prefactor  = 0
  Index      = 1.64231
  Normalizat = 1.00721
  Prefactor  = 1.02797
 **********
 **   18 **HESSE 
 **********
  MNHESS FAILS AND WILL RETURN DIAGONAL MATRIX. 

 FCN=   7683.604     FROM HESSE     STATUS=FAILED        11 CALLS      210 TOTAL
                     EDM=   .30E-12  STRATEGY=1  ERROR MATRIX UNCERTAINTY=100.0%

  EXT PARAMETER                APPROXIMATE     INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  Prefactor      .0000        29.708        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   2  Index         .26097        1.7015       -.31733E-05   -.73628    
   3  Normalizat    1.0072        1.3363       -.81910E-05   -.92789    
   4  Prefactor     1.0280        1.2222        .63536E-05   -.91803    
                               ERR DEF=  .500    
Minuit fit quality: 1   estimated distance: 2.96402e-13
Minuit parameter uncertainties:
  1  3.54925e-05
  2  1.63097
  3  1.38519
  4  1.25788
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) = 7683.60379965
delta logL = 3.17477315548e-08

Extracting fit parameters...

4FGL J0227.8+2246
   Spectrum: PowerLaw
242    Prefactor:  0.000e+00  3.549e-05  0.000e+00  1.000e+06 ( 1.000e-14)
243        Index:  1.642e+00  1.631e+00  0.000e+00  1.000e+01 (-1.000e+00)
244        Scale:  2.284e+03  0.000e+00  3.000e+01  5.000e+05 ( 1.000e+00) fixed

GAL_V02
   Spectrum: PowerLaw
527    Prefactor:  1.028e+00  1.258e+00  0.000e+00  1.000e+01 ( 1.000e+00)
528        Index:  0.000e+00  0.000e+00 -1.000e+00  1.000e+00 ( 1.000e+00) fixed
529        Scale:  1.000e+02  0.000e+00  5.000e+01  2.000e+02 ( 1.000e+00) fixed

EG_v02
   Spectrum: FileFunction
526   Normalization:  1.007e+00  1.385e+00  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Free Index): -0.00
Ra Dec: 36.954 22.777

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/39761549/cmap_HighResolution_812419201_812678401_4FGL_J0227.8+2246_daily_bin2211.png

Cleaning up...

** Nuclear option initiated! **

Updating database...

UPDATE lightcurve_data_v2 SET energy_flux_upper_limit='4.63e-03', job_status='DONE', photon_flux_upper_limit='6.10e-08', time_completed='2026-10-03 13:51:29.368561', job_id='39761549', GAL2='1.03', fit_tolerance='1e-08', EG2='1.01', EG='1.01', time_epoch_completed='1791060689.37', return_code2='101', ts='-0.00', comment='SUCCESS', return_code='0', GAL='1.03', dlogl='3.17e-08', ts2='0.00', photon_index_error='0.00', photon_index='2.14' WHERE bin_id='2211' AND source_name='4FGL J0227.8+2246' AND cadence='daily';

Database successfully updated.


Analysis Complete.


Sat Oct  3 13:51:29 PDT 2026

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

MINUIT Return Code (Free Index): 101
logL (Free Index) = 7683.60379965
delta logL = 3.17477315548e-08

Extracting fit parameters...

4FGL J0227.8+2246
   Spectrum: PowerLaw
242    Prefactor:  0.000e+00  3.549e-05  0.000e+00  1.000e+06 ( 1.000e-14)
243        Index:  1.642e+00  1.631e+00  0.000e+00  1.000e+01 (-1.000e+00)
244        Scale:  2.284e+03  0.000e+00  3.000e+01  5.000e+05 ( 1.000e+00) fixed

GAL_V02
   Spectrum: PowerLaw
527    Prefactor:  1.028e+00  1.258e+00  0.000e+00  1.000e+01 ( 1.000e+00)
528        Index:  0.000e+00  0.000e+00 -1.000e+00  1.000e+00 ( 1.000e+00) fixed
529        Scale:  1.000e+02  0.000e+00  5.000e+01  2.000e+02 ( 1.000e+00) fixed

EG_v02
   Spectrum: FileFunction
526   Normalization:  1.007e+00  1.385e+00  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Free Index): -0.00
Ra Dec: 36.954 22.777

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/39761536/cmap_HighResolution_812419201_812678401_4FGL_J0227.8+2246_daily_bin2211.png

Cleaning up...

** Nuclear option initiated! **

Updating database...

UPDATE lightcurve_data_v2 SET energy_flux_upper_limit='4.63e-03', job_status='DONE', photon_flux_upper_limit='6.10e-08', time_completed='2026-10-03 13:51:30.267183', job_id='39761536', GAL2='1.03', fit_tolerance='1e-08', EG2='1.01', EG='1.01', time_epoch_completed='1791060690.27', return_code2='101', ts='-0.00', comment='SUCCESS', return_code='0', GAL='1.03', dlogl='3.17e-08', ts2='0.00', photon_index_error='0.00', photon_index='2.14' WHERE bin_id='2211' AND source_name='4FGL J0227.8+2246' AND cadence='daily';

Database successfully updated.


Analysis Complete.


Sat Oct  3 13:51:30 PDT 2026

_V02
Working on...
/lscratch/kocevski/39761631/ft1_filtered_4FGL_J0227.8+2246_daily_bin2211.fits.....................!
real 40.59
user 39.46
sys 0.64

Creating the likelihood object...
obs = UnbinnedObs('/lscratch/kocevski/39761631/ft1_filtered_4FGL_J0227.8+2246_daily_bin2211.fits', '/lscratch/kocevski/39761631/ft2_4FGL_J0227.8+2246_daily_bin2211.fits', expMap='/lscratch/kocevski/39761631/expmap_812419201_812678401_4FGL_J0227.8+2246_daily_bin2211.fits', expCube='/lscratch/kocevski/39761631/ltcube_812419201_812678401_4FGL_J0227.8+2246_daily_bin2211.fits', irfs='P8R3_SOURCE_V2')
like = UnbinnedAnalysis(obs, '/lscratch/kocevski/39761631/Model_4FGL_J0227.8+2246_daily_bin2211.xml', optimizer='MINUIT')

Using source of interest name: '4FGL J0227.8+2246'

4FGL J0227.8+2246
   Spectrum: PowerLaw
242    Prefactor:  5.054e+00  0.000e+00  0.000e+00  1.000e+06 ( 1.000e-14)
243        Index:  2.144e+00  0.000e+00  0.000e+00  1.000e+01 (-1.000e+00) fixed
244        Scale:  2.284e+03  0.000e+00  3.000e+01  5.000e+05 ( 1.000e+00) fixed


Likelihood Fit Parameters:
Event file(s): /lscratch/kocevski/39761631/ft1_filtered_4FGL_J0227.8+2246_daily_bin2211.fits
Spacecraft file(s): /lscratch/kocevski/39761631/ft2_4FGL_J0227.8+2246_daily_bin2211.fits
Exposure map: /lscratch/kocevski/39761631/expmap_812419201_812678401_4FGL_J0227.8+2246_daily_bin2211.fits
Exposure cube: /lscratch/kocevski/39761631/ltcube_812419201_812678401_4FGL_J0227.8+2246_daily_bin2211.fits
IRFs: P8R3_SOURCE_V2
Source model file: /lscratch/kocevski/39761631/Model_4FGL_J0227.8+2246_daily_bin2211.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) = 7683.71003558

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

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

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'Prefactor '    .21823E-03   1.0000          .0000       .10000E+07
     2 'norm      '    1.8476       1.0000          .0000       .10000E+07
     3 'Prefactor '    4.2043       1.0000          .0000       .10000E+07
     4 'norm      '    2.1334       1.0000          .0000       .10000E+07
     5 'Prefactor '    .13626       1.0000          .0000       .10000E+07
     6 'Prefactor '    .11102E-09   1.0000          .0000       .10000E+07
     7 'Prefactor '    3.8736       1.0000          .0000       .10000E+07
     8 'norm      '    .31025E-04   1.0000          .0000       .10000E+07
     9 'Prefactor '    3.9152       1.0000          .0000       .10000E+07
    10 'Prefactor '    .79690E-03   1.0000          .0000       .10000E+07
    11 'Prefactor '    .33427E-04   1.0000          .0000       .10000E+07
    12 'norm      '    .19890E-06   1.0000          .0000       .10000E+07
    13 'Prefactor '    7.5945       1.0000          .0000       .10000E+07
    14 'norm      '    .46262E-01   1.0000          .0000       .10000E+07
    15 'Prefactor '    .85159E-03   1.0000          .0000       .10000E+07
    16 'Prefactor '    .24362E-02   1.0000          .0000       .10000E+07
    17 'Prefactor '    7.1468       1.0000          .0000       .10000E+07
    18 'Prefactor '    1.5771       1.0000          .0000       .10000E+07
    19 'Prefactor '    .74171E-05   1.0000          .0000       .10000E+07
    20 'Prefactor '    47.722       1.0000          .0000       .10000E+07
    21 'norm      '    4.1363       1.0000          .0000       .10000E+07
    22 'Prefactor '    3.6345       1.0000          .0000       .10000E+07
    23 'Normalizat'    1.0096       1.0000         .10000E-01   10.000    
    24 'Prefactor '    1.0279       1.0000          .0000       10.000    
 **********
 **   15 **SET ERR    .5000    
 **********
 **********
 **   16 **SET GRAD    1.000    
 **********
 **********
 **   17 **MINIMIZE    .5300E+05   .2000E-04
 **********

 MIGRAD MINIMIZATION HAS CONVERGED.

 FCN=   7683.604     FROM MIGRAD    STATUS=CONVERGED    199 CALLS     2088 TOTAL
                     EDM=   .17E-08  STRATEGY=1  ERROR MATRIX UNCERTAINTY=  4.5%

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor     .32474E-07    13.223        .24566E-05** at limit **
   2  norm          1.8485        .73714        .89704E-07   -.81820E-03
   3  Prefactor     4.3361        8.3624        .26962E-05    .28548E-01
   4  norm          2.1344        2.5175        .23944E-06   -.59763E-02
   5  Prefactor     .15295        9.6767        .19347E-05** at limit **
   6  Prefactor     .88818E-09    2.9183       -.47723E-07** at limit **
   7  Prefactor     3.8956        4.5177       -.16013E-06    .15218E-02
   8  norm          .18319E-08    16.678        .80896E-06** at limit **
   9  Prefactor     4.3067        3.9996        .72719E-06   -.36241E-02
  10  Prefactor     .14808E-05    9.3409       -.60233E-06** at limit **
  11  Prefactor     .11102E-08    5.1617       -.72320E-06** at limit **
  12  norm          .55511E-10    1.0777       -.52415E-06** at limit **
  13  Prefactor     7.6391        7.9911       -.18015E-05    .13560E-01
  14  norm          .45963E-01    1.5716       -.10316E-06** at limit **
  15  Prefactor     .93081E-06    17.633       -.27462E-05** at limit **
  16  Prefactor     .17248E-05    51.533       -.54934E-05** at limit **
  17  Prefactor     7.0617        1.5085        .72558E-07   -.11530E-01
  18  Prefactor     1.7096        10.757       -.20924E-06    .28961E-02
  19  Prefactor      .0000        8.4731        .24966E-05** at limit **
  20  Prefactor     48.069        8.7867        .78453E-06   -.24336    
  21  norm          4.1374        7.0031        .32844E-06    .14900E-03
  22  Prefactor     3.7762        9.4329        .10174E-06   -.13711E-02
  23  Normalizat    1.0072        .24349       -.39103E-04    .10392E-03
  24  Prefactor     1.0280        .11024        .10321E-04    .25966E-03
                               ERR DEF=  .500    
Final values: 
  Prefactor  = 3.2474e-08
  norm       = 1.84852
  Prefactor  = 4.33606
  norm       = 2.13443
  Prefactor  = 0.152949
  Prefactor  = 8.88178e-10
  Prefactor  = 3.89559
  norm       = 1.83187e-09
  Prefactor  = 4.30675
  Prefactor  = 1.48082e-06
  Prefactor  = 1.11022e-09
  norm       = 5.55112e-11
  Prefactor  = 7.6391
  norm       = 0.045963
  Prefactor  = 9.30811e-07
  Prefactor  = 1.72479e-06
  Prefactor  = 7.06166
  Prefactor  = 1.70958
  Prefactor  = 0
  Prefactor  = 48.0685
  norm       = 4.13742
  Prefactor  = 3.77622
  Normalizat = 1.00721
  Prefactor  = 1.02797
Done.

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

Extracting fit parameters...

4FGL J0227.8+2246
   Spectrum: PowerLaw
242    Prefactor:  1.481e-06  1.175e-02  0.000e+00  1.000e+06 ( 1.000e-14)
243        Index:  2.144e+00  0.000e+00  0.000e+00  1.000e+01 (-1.000e+00) fixed
244        Scale:  2.284e+03  0.000e+00  3.000e+01  5.000e+05 ( 1.000e+00) fixed

GAL_V02
   Spectrum: PowerLaw
527    Prefactor:  1.028e+00  9.626e-02  0.000e+00  1.000e+01 ( 1.000e+00)
528        Index:  0.000e+00  0.000e+00 -1.000e+00  1.000e+00 ( 1.000e+00) fixed
529        Scale:  1.000e+02  0.000e+00  5.000e+01  2.000e+02 ( 1.000e+00) fixed

EG_v02
   Spectrum: FileFunction
526   Normalization:  1.007e+00  2.254e-01  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Fixed Index): -0.00
Ra Dec: 36.954 22.777
Photon Flux Upper Limit: 6.09647158958e-08 ph cm-2 s-1
Energy Flux Upper Limit: 0.00462519105612 MeV cm-2 s-1

Saving results to:
/lscratch/kocevski/39761550/likelihoodResults_812419201_812678401_4FGL_J0227.8+2246_daily_bin2211.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) = 7683.62437497
delta logL = -0.0205752898646

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

MINUIT Return Code (Free Index): 102
logL (Free Index) = 7683.60380008
delta logL = -3.99541022489e-07

Fit tolerance = 1e-08

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

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

 MIGRAD MINIMIZATION HAS CONVERGED.

 FCN=   7683.604     FROM MIGRAD    STATUS=CONVERGED     30 CALLS      199 TOTAL
                     EDM=   .30E-12  STRATEGY=1  ERROR MATRIX UNCERTAINTY=  1.8%

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor      .0000        29.427       -.93585E-06** at limit **
   2  Index         1.6423        5.3559       -.31733E-05     .0000    
   3  Normalizat    1.0072        .23538       -.81910E-05    .28335E-05
   4  Prefactor     1.0280        .10861        .63536E-05   -.62778E-05
                               ERR DEF=  .500    
Final values: 
  Prefactor  = 0
  Index      = 1.64231
  Normalizat = 1.00721
  Prefactor  = 1.02797
 **********
 **   18 **HESSE 
 **********
  MNHESS FAILS AND WILL RETURN DIAGONAL MATRIX. 

 FCN=   7683.604     FROM HESSE     STATUS=FAILED        11 CALLS      210 TOTAL
                     EDM=   .30E-12  STRATEGY=1  ERROR MATRIX UNCERTAINTY=100.0%

  EXT PARAMETER                APPROXIMATE     INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  Prefactor      .0000        29.708        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   2  Index         .26097        1.7015       -.31733E-05   -.73628    
   3  Normalizat    1.0072        1.3363       -.81910E-05   -.92789    
   4  Prefactor     1.0280        1.2222        .63536E-05   -.91803    
                               ERR DEF=  .500    
Minuit fit quality: 1   estimated distance: 2.96402e-13
Minuit parameter uncertainties:
  1  3.54925e-05
  2  1.63097
  3  1.38519
  4  1.25788
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) = 7683.60379965
delta logL = 3.17477315548e-08

Extracting fit parameters...

4FGL J0227.8+2246
   Spectrum: PowerLaw
242    Prefactor:  0.000e+00  3.549e-05  0.000e+00  1.000e+06 ( 1.000e-14)
243        Index:  1.642e+00  1.631e+00  0.000e+00  1.000e+01 (-1.000e+00)
244        Scale:  2.284e+03  0.000e+00  3.000e+01  5.000e+05 ( 1.000e+00) fixed

GAL_V02
   Spectrum: PowerLaw
527    Prefactor:  1.028e+00  1.258e+00  0.000e+00  1.000e+01 ( 1.000e+00)
528        Index:  0.000e+00  0.000e+00 -1.000e+00  1.000e+00 ( 1.000e+00) fixed
529        Scale:  1.000e+02  0.000e+00  5.000e+01  2.000e+02 ( 1.000e+00) fixed

EG_v02
   Spectrum: FileFunction
526   Normalization:  1.007e+00  1.385e+00  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Free Index): -0.00
Ra Dec: 36.954 22.777

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/39761550/cmap_HighResolution_812419201_812678401_4FGL_J0227.8+2246_daily_bin2211.png

Cleaning up...

** Nuclear option initiated! **

Updating database...

UPDATE lightcurve_data_v2 SET energy_flux_upper_limit='4.63e-03', job_status='DONE', photon_flux_upper_limit='6.10e-08', time_completed='2026-10-03 13:51:42.255681', job_id='39761550', GAL2='1.03', fit_tolerance='1e-08', EG2='1.01', EG='1.01', time_epoch_completed='1791060702.26', return_code2='101', ts='-0.00', comment='SUCCESS', return_code='0', GAL='1.03', dlogl='3.17e-08', ts2='0.00', photon_index_error='0.00', photon_index='2.14' WHERE bin_id='2211' AND source_name='4FGL J0227.8+2246' AND cadence='daily';

Database successfully updated.


Analysis Complete.


Sat Oct  3 13:51:42 PDT 2026

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

 FCN=   7683.604     FROM HESSE     STATUS=OK           457 CALLS     2545 TOTAL
                     EDM=   .33E-05    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  Prefactor     .32474E-07    13.259        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   2  norm          1.8485        .74275        .76683E-03   -1.5681    
   3  Prefactor     4.3361        11.547        .49124E-03   -1.5666    
   4  norm          2.1344        2.5355        .70553E-03   -1.5679    
   5  Prefactor     .15295        1.2980        .60352E-02   -1.5716    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   6  Prefactor     .88818E-09    2.9173        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   7  Prefactor     3.8956        4.5246        .51245E-03   -1.5668    
   8  norm          .18319E-08    25.389        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   9  Prefactor     4.3067        72.448        .50963E-03   -1.5666    
  10  Prefactor     .14808E-05    23.323        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  11  Prefactor     .11102E-08    5.1468        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  12  norm          .55511E-10    1.0653        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  13  Prefactor     7.6391        12.851        .36366E-03   -1.5653    
  14  norm          .45963E-01    .47744        .19386E-02   -1.5704    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  15  Prefactor     .93081E-06    19.017        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  16  Prefactor     .17248E-05    52.737        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  17  Prefactor     7.0617        57.614        .37499E-03   -1.5655    
  18  Prefactor     1.7096        11.069        .84567E-03   -1.5682    
  19  Prefactor      .0000        8.4998        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  20  Prefactor     48.069        49.797        .14477E-03   -1.5569    
  21  norm          4.1374        7.0011        .49538E-03   -1.5667    
  22  Prefactor     3.7762        9.4691        .52967E-03   -1.5669    
  23  Normalizat    1.0072        .22522        .81623E-01   -.92789    
  24  Prefactor     1.0280        .96243E-01    .41431E-01   -.91803    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 3.30865e-06
Minuit parameter uncertainties:
  1  0.00131229
  2  0.742752
  3  11.5473
  4  2.53548
  5  0.891126
  6  0.000102638
  7  4.52456
  8  0.000429751
  9  35.3285
  10  0.0117538
  11  0.000149626
  12  1.75405e-05
  13  12.8512
  14  0.296275
  15  0.00841479
  16  0.0190748
  17  40.3417
  18  8.70031
  19  9.52792e-07
  20  49.7975
  21  7.00115
  22  9.46917
  23  0.225431
  24  0.0962595
_V02
Working on...
/lscratch/kocevski/39761628/ft1_filtered_4FGL_J0227.8+2246_daily_bin2211.fits.....................!
real 45.42
user 44.26
sys 0.64

Creating the likelihood object...
obs = UnbinnedObs('/lscratch/kocevski/39761628/ft1_filtered_4FGL_J0227.8+2246_daily_bin2211.fits', '/lscratch/kocevski/39761628/ft2_4FGL_J0227.8+2246_daily_bin2211.fits', expMap='/lscratch/kocevski/39761628/expmap_812419201_812678401_4FGL_J0227.8+2246_daily_bin2211.fits', expCube='/lscratch/kocevski/39761628/ltcube_812419201_812678401_4FGL_J0227.8+2246_daily_bin2211.fits', irfs='P8R3_SOURCE_V2')
like = UnbinnedAnalysis(obs, '/lscratch/kocevski/39761628/Model_4FGL_J0227.8+2246_daily_bin2211.xml', optimizer='MINUIT')

Using source of interest name: '4FGL J0227.8+2246'

4FGL J0227.8+2246
   Spectrum: PowerLaw
242    Prefactor:  5.054e+00  0.000e+00  0.000e+00  1.000e+06 ( 1.000e-14)
243        Index:  2.144e+00  0.000e+00  0.000e+00  1.000e+01 (-1.000e+00) fixed
244        Scale:  2.284e+03  0.000e+00  3.000e+01  5.000e+05 ( 1.000e+00) fixed


Likelihood Fit Parameters:
Event file(s): /lscratch/kocevski/39761628/ft1_filtered_4FGL_J0227.8+2246_daily_bin2211.fits
Spacecraft file(s): /lscratch/kocevski/39761628/ft2_4FGL_J0227.8+2246_daily_bin2211.fits
Exposure map: /lscratch/kocevski/39761628/expmap_812419201_812678401_4FGL_J0227.8+2246_daily_bin2211.fits
Exposure cube: /lscratch/kocevski/39761628/ltcube_812419201_812678401_4FGL_J0227.8+2246_daily_bin2211.fits
IRFs: P8R3_SOURCE_V2
Source model file: /lscratch/kocevski/39761628/Model_4FGL_J0227.8+2246_daily_bin2211.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) = 7683.71003558

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

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

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'Prefactor '    .21823E-03   1.0000          .0000       .10000E+07
     2 'norm      '    1.8476       1.0000          .0000       .10000E+07
     3 'Prefactor '    4.2043       1.0000          .0000       .10000E+07
     4 'norm      '    2.1334       1.0000          .0000       .10000E+07
     5 'Prefactor '    .13626       1.0000          .0000       .10000E+07
     6 'Prefactor '    .11102E-09   1.0000          .0000       .10000E+07
     7 'Prefactor '    3.8736       1.0000          .0000       .10000E+07
     8 'norm      '    .31025E-04   1.0000          .0000       .10000E+07
     9 'Prefactor '    3.9152       1.0000          .0000       .10000E+07
    10 'Prefactor '    .79690E-03   1.0000          .0000       .10000E+07
    11 'Prefactor '    .33427E-04   1.0000          .0000       .10000E+07
    12 'norm      '    .19890E-06   1.0000          .0000       .10000E+07
    13 'Prefactor '    7.5945       1.0000          .0000       .10000E+07
    14 'norm      '    .46262E-01   1.0000          .0000       .10000E+07
    15 'Prefactor '    .85159E-03   1.0000          .0000       .10000E+07
    16 'Prefactor '    .24362E-02   1.0000          .0000       .10000E+07
    17 'Prefactor '    7.1468       1.0000          .0000       .10000E+07
    18 'Prefactor '    1.5771       1.0000          .0000       .10000E+07
    19 'Prefactor '    .74171E-05   1.0000          .0000       .10000E+07
    20 'Prefactor '    47.722       1.0000          .0000       .10000E+07
    21 'norm      '    4.1363       1.0000          .0000       .10000E+07
    22 'Prefactor '    3.6345       1.0000          .0000       .10000E+07
    23 'Normalizat'    1.0096       1.0000         .10000E-01   10.000    
    24 'Prefactor '    1.0279       1.0000          .0000       10.000    
 **********
 **   15 **SET ERR    .5000    
 **********
 **********
 **   16 **SET GRAD    1.000    
 **********
 **********
 **   17 **MINIMIZE    .5300E+05   .2000E-04
 **********

 MIGRAD MINIMIZATION HAS CONVERGED.

 FCN=   7683.604     FROM MIGRAD    STATUS=CONVERGED    199 CALLS     2088 TOTAL
                     EDM=   .17E-08  STRATEGY=1  ERROR MATRIX UNCERTAINTY=  4.5%

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor     .32474E-07    13.223        .24566E-05** at limit **
   2  norm          1.8485        .73714        .89704E-07   -.81820E-03
   3  Prefactor     4.3361        8.3624        .26962E-05    .28548E-01
   4  norm          2.1344        2.5175        .23944E-06   -.59763E-02
   5  Prefactor     .15295        9.6767        .19347E-05** at limit **
   6  Prefactor     .88818E-09    2.9183       -.47723E-07** at limit **
   7  Prefactor     3.8956        4.5177       -.16013E-06    .15218E-02
   8  norm          .18319E-08    16.678        .80896E-06** at limit **
   9  Prefactor     4.3067        3.9996        .72719E-06   -.36241E-02
  10  Prefactor     .14808E-05    9.3409       -.60233E-06** at limit **
  11  Prefactor     .11102E-08    5.1617       -.72320E-06** at limit **
  12  norm          .55511E-10    1.0777       -.52415E-06** at limit **
  13  Prefactor     7.6391        7.9911       -.18015E-05    .13560E-01
  14  norm          .45963E-01    1.5716       -.10316E-06** at limit **
  15  Prefactor     .93081E-06    17.633       -.27462E-05** at limit **
  16  Prefactor     .17248E-05    51.533       -.54934E-05** at limit **
  17  Prefactor     7.0617        1.5085        .72558E-07   -.11530E-01
  18  Prefactor     1.7096        10.757       -.20924E-06    .28961E-02
  19  Prefactor      .0000        8.4731        .24966E-05** at limit **
  20  Prefactor     48.069        8.7867        .78453E-06   -.24336    
  21  norm          4.1374        7.0031        .32844E-06    .14900E-03
  22  Prefactor     3.7762        9.4329        .10174E-06   -.13711E-02
  23  Normalizat    1.0072        .24349       -.39103E-04    .10392E-03
  24  Prefactor     1.0280        .11024        .10321E-04    .25966E-03
                               ERR DEF=  .500    
Final values: 
  Prefactor  = 3.2474e-08
  norm       = 1.84852
  Prefactor  = 4.33606
  norm       = 2.13443
  Prefactor  = 0.152949
  Prefactor  = 8.88178e-10
  Prefactor  = 3.89559
  norm       = 1.83187e-09
  Prefactor  = 4.30675
  Prefactor  = 1.48082e-06
  Prefactor  = 1.11022e-09
  norm       = 5.55112e-11
  Prefactor  = 7.6391
  norm       = 0.045963
  Prefactor  = 9.30811e-07
  Prefactor  = 1.72479e-06
  Prefactor  = 7.06166
  Prefactor  = 1.70958
  Prefactor  = 0
  Prefactor  = 48.0685
  norm       = 4.13742
  Prefactor  = 3.77622
  Normalizat = 1.00721
  Prefactor  = 1.02797
 **********
 **   18 **HESSE 
 **********

 FCN=   7683.604     FROM HESSE     STATUS=OK           457 CALLS     2545 TOTAL
                     EDM=   .33E-05    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  Prefactor     .32474E-07    13.259        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   2  norm          1.8485        .74275        .76683E-03   -1.5681    
   3  Prefactor     4.3361        11.547        .49124E-03   -1.5666    
   4  norm          2.1344        2.5355        .70553E-03   -1.5679    
   5  Prefactor     .15295        1.2980        .60352E-02   -1.5716    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   6  Prefactor     .88818E-09    2.9173        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   7  Prefactor     3.8956        4.5246        .51245E-03   -1.5668    
   8  norm          .18319E-08    25.389        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   9  Prefactor     4.3067        72.448        .50963E-03   -1.5666    
  10  Prefactor     .14808E-05    23.323        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  11  Prefactor     .11102E-08    5.1468        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  12  norm          .55511E-10    1.0653        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  13  Prefactor     7.6391        12.851        .36366E-03   -1.5653    
  14  norm          .45963E-01    .47744        .19386E-02   -1.5704    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  15  Prefactor     .93081E-06    19.017        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  16  Prefactor     .17248E-05    52.737        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  17  Prefactor     7.0617        57.614        .37499E-03   -1.5655    
  18  Prefactor     1.7096        11.069        .84567E-03   -1.5682    
  19  Prefactor      .0000        8.4998        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  20  Prefactor     48.069        49.797        .14477E-03   -1.5569    
  21  norm          4.1374        7.0011        .49538E-03   -1.5667    
  22  Prefactor     3.7762        9.4691        .52967E-03   -1.5669    
  23  Normalizat    1.0072        .22522        .81623E-01   -.92789    
  24  Prefactor     1.0280        .96243E-01    .41431E-01   -.91803    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 3.30865e-06
Minuit parameter uncertainties:
  1  0.00131229
  2  0.742752
  3  11.5473
  4  2.53548
  5  0.891126
  6  0.000102638
  7  4.52456
  8  0.000429751
  9  35.3285
  10  0.0117538
  11  0.000149626
  12  1.75405e-05
  13  12.8512
  14  0.296275
  15  0.00841479
  16  0.0190748
  17  40.3417
  18  8.70031
  19  9.52792e-07
  20  49.7975
  21  7.00115
  22  9.46917
  23  0.225431
  24  0.0962595
Done.

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

Extracting fit parameters...

4FGL J0227.8+2246
   Spectrum: PowerLaw
242    Prefactor:  1.481e-06  1.175e-02  0.000e+00  1.000e+06 ( 1.000e-14)
243        Index:  2.144e+00  0.000e+00  0.000e+00  1.000e+01 (-1.000e+00) fixed
244        Scale:  2.284e+03  0.000e+00  3.000e+01  5.000e+05 ( 1.000e+00) fixed

GAL_V02
   Spectrum: PowerLaw
527    Prefactor:  1.028e+00  9.626e-02  0.000e+00  1.000e+01 ( 1.000e+00)
528        Index:  0.000e+00  0.000e+00 -1.000e+00  1.000e+00 ( 1.000e+00) fixed
529        Scale:  1.000e+02  0.000e+00  5.000e+01  2.000e+02 ( 1.000e+00) fixed

EG_v02
   Spectrum: FileFunction
526   Normalization:  1.007e+00  2.254e-01  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Fixed Index): -0.00
Ra Dec: 36.954 22.777
Photon Flux Upper Limit: 6.09647158958e-08 ph cm-2 s-1
Energy Flux Upper Limit: 0.00462519105612 MeV cm-2 s-1

Saving results to:
/lscratch/kocevski/39761631/likelihoodResults_812419201_812678401_4FGL_J0227.8+2246_daily_bin2211.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) = 7683.62437497
delta logL = -0.0205752898646

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

MINUIT Return Code (Free Index): 102
logL (Free Index) = 7683.60380008
delta logL = -3.99541022489e-07

Fit tolerance = 1e-08

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

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

 MIGRAD MINIMIZATION HAS CONVERGED.

 FCN=   7683.604     FROM MIGRAD    STATUS=CONVERGED     30 CALLS      199 TOTAL
                     EDM=   .30E-12  STRATEGY=1  ERROR MATRIX UNCERTAINTY=  1.8%

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor      .0000        29.427       -.93585E-06** at limit **
   2  Index         1.6423        5.3559       -.31733E-05     .0000    
   3  Normalizat    1.0072        .23538       -.81910E-05    .28335E-05
   4  Prefactor     1.0280        .10861        .63536E-05   -.62778E-05
                               ERR DEF=  .500    
Final values: 
  Prefactor  = 0
  Index      = 1.64231
  Normalizat = 1.00721
  Prefactor  = 1.02797
 **********
 **   18 **HESSE 
 **********
  MNHESS FAILS AND WILL RETURN DIAGONAL MATRIX. 

 FCN=   7683.604     FROM HESSE     STATUS=FAILED        11 CALLS      210 TOTAL
                     EDM=   .30E-12  STRATEGY=1  ERROR MATRIX UNCERTAINTY=100.0%

  EXT PARAMETER                APPROXIMATE     INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  Prefactor      .0000        29.708        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   2  Index         .26097        1.7015       -.31733E-05   -.73628    
   3  Normalizat    1.0072        1.3363       -.81910E-05   -.92789    
   4  Prefactor     1.0280        1.2222        .63536E-05   -.91803    
                               ERR DEF=  .500    
Minuit fit quality: 1   estimated distance: 2.96402e-13
Minuit parameter uncertainties:
  1  3.54925e-05
  2  1.63097
  3  1.38519
  4  1.25788
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) = 7683.60379965
delta logL = 3.17477315548e-08

Extracting fit parameters...

4FGL J0227.8+2246
   Spectrum: PowerLaw
242    Prefactor:  0.000e+00  3.549e-05  0.000e+00  1.000e+06 ( 1.000e-14)
243        Index:  1.642e+00  1.631e+00  0.000e+00  1.000e+01 (-1.000e+00)
244        Scale:  2.284e+03  0.000e+00  3.000e+01  5.000e+05 ( 1.000e+00) fixed

GAL_V02
   Spectrum: PowerLaw
527    Prefactor:  1.028e+00  1.258e+00  0.000e+00  1.000e+01 ( 1.000e+00)
528        Index:  0.000e+00  0.000e+00 -1.000e+00  1.000e+00 ( 1.000e+00) fixed
529        Scale:  1.000e+02  0.000e+00  5.000e+01  2.000e+02 ( 1.000e+00) fixed

EG_v02
   Spectrum: FileFunction
526   Normalization:  1.007e+00  1.385e+00  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Free Index): -0.00
Ra Dec: 36.954 22.777

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/39761631/cmap_HighResolution_812419201_812678401_4FGL_J0227.8+2246_daily_bin2211.png

Cleaning up...

** Nuclear option initiated! **

Updating database...

UPDATE lightcurve_data_v2 SET energy_flux_upper_limit='4.63e-03', job_status='DONE', photon_flux_upper_limit='6.10e-08', time_completed='2026-10-03 13:52:19.617120', job_id='39761631', GAL2='1.03', fit_tolerance='1e-08', EG2='1.01', EG='1.01', time_epoch_completed='1791060739.62', return_code2='101', ts='-0.00', comment='SUCCESS', return_code='0', GAL='1.03', dlogl='3.17e-08', ts2='0.00', photon_index_error='0.00', photon_index='2.14' WHERE bin_id='2211' AND source_name='4FGL J0227.8+2246' AND cadence='daily';

Database successfully updated.


Analysis Complete.


Sat Oct  3 13:52:19 PDT 2026

Done.

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

Extracting fit parameters...

4FGL J0227.8+2246
   Spectrum: PowerLaw
242    Prefactor:  1.481e-06  1.175e-02  0.000e+00  1.000e+06 ( 1.000e-14)
243        Index:  2.144e+00  0.000e+00  0.000e+00  1.000e+01 (-1.000e+00) fixed
244        Scale:  2.284e+03  0.000e+00  3.000e+01  5.000e+05 ( 1.000e+00) fixed

GAL_V02
   Spectrum: PowerLaw
527    Prefactor:  1.028e+00  9.626e-02  0.000e+00  1.000e+01 ( 1.000e+00)
528        Index:  0.000e+00  0.000e+00 -1.000e+00  1.000e+00 ( 1.000e+00) fixed
529        Scale:  1.000e+02  0.000e+00  5.000e+01  2.000e+02 ( 1.000e+00) fixed

EG_v02
   Spectrum: FileFunction
526   Normalization:  1.007e+00  2.254e-01  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Fixed Index): -0.00
Ra Dec: 36.954 22.777
Photon Flux Upper Limit: 6.09647158958e-08 ph cm-2 s-1
Energy Flux Upper Limit: 0.00462519105612 MeV cm-2 s-1

Saving results to:
/lscratch/kocevski/39761628/likelihoodResults_812419201_812678401_4FGL_J0227.8+2246_daily_bin2211.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) = 7683.62437497
delta logL = -0.0205752898646

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

MINUIT Return Code (Free Index): 102
logL (Free Index) = 7683.60380008
delta logL = -3.99541022489e-07

Fit tolerance = 1e-08

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

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

 MIGRAD MINIMIZATION HAS CONVERGED.

 FCN=   7683.604     FROM MIGRAD    STATUS=CONVERGED     30 CALLS      199 TOTAL
                     EDM=   .30E-12  STRATEGY=1  ERROR MATRIX UNCERTAINTY=  1.8%

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor      .0000        29.427       -.93585E-06** at limit **
   2  Index         1.6423        5.3559       -.31733E-05     .0000    
   3  Normalizat    1.0072        .23538       -.81910E-05    .28335E-05
   4  Prefactor     1.0280        .10861        .63536E-05   -.62778E-05
                               ERR DEF=  .500    
Final values: 
  Prefactor  = 0
  Index      = 1.64231
  Normalizat = 1.00721
  Prefactor  = 1.02797
 **********
 **   18 **HESSE 
 **********
  MNHESS FAILS AND WILL RETURN DIAGONAL MATRIX. 

 FCN=   7683.604     FROM HESSE     STATUS=FAILED        11 CALLS      210 TOTAL
                     EDM=   .30E-12  STRATEGY=1  ERROR MATRIX UNCERTAINTY=100.0%

  EXT PARAMETER                APPROXIMATE     INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  Prefactor      .0000        29.708        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   2  Index         .26097        1.7015       -.31733E-05   -.73628    
   3  Normalizat    1.0072        1.3363       -.81910E-05   -.92789    
   4  Prefactor     1.0280        1.2222        .63536E-05   -.91803    
                               ERR DEF=  .500    
Minuit fit quality: 1   estimated distance: 2.96402e-13
Minuit parameter uncertainties:
  1  3.54925e-05
  2  1.63097
  3  1.38519
  4  1.25788
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) = 7683.60379965
delta logL = 3.17477315548e-08

Extracting fit parameters...

4FGL J0227.8+2246
   Spectrum: PowerLaw
242    Prefactor:  0.000e+00  3.549e-05  0.000e+00  1.000e+06 ( 1.000e-14)
243        Index:  1.642e+00  1.631e+00  0.000e+00  1.000e+01 (-1.000e+00)
244        Scale:  2.284e+03  0.000e+00  3.000e+01  5.000e+05 ( 1.000e+00) fixed

GAL_V02
   Spectrum: PowerLaw
527    Prefactor:  1.028e+00  1.258e+00  0.000e+00  1.000e+01 ( 1.000e+00)
528        Index:  0.000e+00  0.000e+00 -1.000e+00  1.000e+00 ( 1.000e+00) fixed
529        Scale:  1.000e+02  0.000e+00  5.000e+01  2.000e+02 ( 1.000e+00) fixed

EG_v02
   Spectrum: FileFunction
526   Normalization:  1.007e+00  1.385e+00  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Free Index): -0.00
Ra Dec: 36.954 22.777

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/39761628/cmap_HighResolution_812419201_812678401_4FGL_J0227.8+2246_daily_bin2211.png

Cleaning up...

** Nuclear option initiated! **

Updating database...

UPDATE lightcurve_data_v2 SET energy_flux_upper_limit='4.63e-03', job_status='DONE', photon_flux_upper_limit='6.10e-08', time_completed='2026-10-03 13:52:46.737891', job_id='39761628', GAL2='1.03', fit_tolerance='1e-08', EG2='1.01', EG='1.01', time_epoch_completed='1791060766.74', return_code2='101', ts='-0.00', comment='SUCCESS', return_code='0', GAL='1.03', dlogl='3.17e-08', ts2='0.00', photon_index_error='0.00', photon_index='2.14' WHERE bin_id='2211' AND source_name='4FGL J0227.8+2246' AND cadence='daily';

Database successfully updated.


Analysis Complete.


Sat Oct  3 13:52:46 PDT 2026

V02
Working on...
/lscratch/kocevski/39761667/ft1_filtered_4FGL_J0227.8+2246_daily_bin2211.fits.....................!
real 45.69
user 44.50
sys 0.61

Creating the likelihood object...
obs = UnbinnedObs('/lscratch/kocevski/39761667/ft1_filtered_4FGL_J0227.8+2246_daily_bin2211.fits', '/lscratch/kocevski/39761667/ft2_4FGL_J0227.8+2246_daily_bin2211.fits', expMap='/lscratch/kocevski/39761667/expmap_812419201_812678401_4FGL_J0227.8+2246_daily_bin2211.fits', expCube='/lscratch/kocevski/39761667/ltcube_812419201_812678401_4FGL_J0227.8+2246_daily_bin2211.fits', irfs='P8R3_SOURCE_V2')
like = UnbinnedAnalysis(obs, '/lscratch/kocevski/39761667/Model_4FGL_J0227.8+2246_daily_bin2211.xml', optimizer='MINUIT')

Using source of interest name: '4FGL J0227.8+2246'

4FGL J0227.8+2246
   Spectrum: PowerLaw
242    Prefactor:  5.054e+00  0.000e+00  0.000e+00  1.000e+06 ( 1.000e-14)
243        Index:  2.144e+00  0.000e+00  0.000e+00  1.000e+01 (-1.000e+00) fixed
244        Scale:  2.284e+03  0.000e+00  3.000e+01  5.000e+05 ( 1.000e+00) fixed


Likelihood Fit Parameters:
Event file(s): /lscratch/kocevski/39761667/ft1_filtered_4FGL_J0227.8+2246_daily_bin2211.fits
Spacecraft file(s): /lscratch/kocevski/39761667/ft2_4FGL_J0227.8+2246_daily_bin2211.fits
Exposure map: /lscratch/kocevski/39761667/expmap_812419201_812678401_4FGL_J0227.8+2246_daily_bin2211.fits
Exposure cube: /lscratch/kocevski/39761667/ltcube_812419201_812678401_4FGL_J0227.8+2246_daily_bin2211.fits
IRFs: P8R3_SOURCE_V2
Source model file: /lscratch/kocevski/39761667/Model_4FGL_J0227.8+2246_daily_bin2211.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) = 7683.71003558

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

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

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'Prefactor '    .21823E-03   1.0000          .0000       .10000E+07
     2 'norm      '    1.8476       1.0000          .0000       .10000E+07
     3 'Prefactor '    4.2043       1.0000          .0000       .10000E+07
     4 'norm      '    2.1334       1.0000          .0000       .10000E+07
     5 'Prefactor '    .13626       1.0000          .0000       .10000E+07
     6 'Prefactor '    .11102E-09   1.0000          .0000       .10000E+07
     7 'Prefactor '    3.8736       1.0000          .0000       .10000E+07
     8 'norm      '    .31025E-04   1.0000          .0000       .10000E+07
     9 'Prefactor '    3.9152       1.0000          .0000       .10000E+07
    10 'Prefactor '    .79690E-03   1.0000          .0000       .10000E+07
    11 'Prefactor '    .33427E-04   1.0000          .0000       .10000E+07
    12 'norm      '    .19890E-06   1.0000          .0000       .10000E+07
    13 'Prefactor '    7.5945       1.0000          .0000       .10000E+07
    14 'norm      '    .46262E-01   1.0000          .0000       .10000E+07
    15 'Prefactor '    .85159E-03   1.0000          .0000       .10000E+07
    16 'Prefactor '    .24362E-02   1.0000          .0000       .10000E+07
    17 'Prefactor '    7.1468       1.0000          .0000       .10000E+07
    18 'Prefactor '    1.5771       1.0000          .0000       .10000E+07
    19 'Prefactor '    .74171E-05   1.0000          .0000       .10000E+07
    20 'Prefactor '    47.722       1.0000          .0000       .10000E+07
    21 'norm      '    4.1363       1.0000          .0000       .10000E+07
    22 'Prefactor '    3.6345       1.0000          .0000       .10000E+07
    23 'Normalizat'    1.0096       1.0000         .10000E-01   10.000    
    24 'Prefactor '    1.0279       1.0000          .0000       10.000    
 **********
 **   15 **SET ERR    .5000    
 **********
 **********
 **   16 **SET GRAD    1.000    
 **********
 **********
 **   17 **MINIMIZE    .5300E+05   .2000E-04
 **********

 MIGRAD MINIMIZATION HAS CONVERGED.

 FCN=   7683.604     FROM MIGRAD    STATUS=CONVERGED    199 CALLS     2088 TOTAL
                     EDM=   .17E-08  STRATEGY=1  ERROR MATRIX UNCERTAINTY=  4.5%

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor     .32474E-07    13.223        .24566E-05** at limit **
   2  norm          1.8485        .73714        .89704E-07   -.81820E-03
   3  Prefactor     4.3361        8.3624        .26962E-05    .28548E-01
   4  norm          2.1344        2.5175        .23944E-06   -.59763E-02
   5  Prefactor     .15295        9.6767        .19347E-05** at limit **
   6  Prefactor     .88818E-09    2.9183       -.47723E-07** at limit **
   7  Prefactor     3.8956        4.5177       -.16013E-06    .15218E-02
   8  norm          .18319E-08    16.678        .80896E-06** at limit **
   9  Prefactor     4.3067        3.9996        .72719E-06   -.36241E-02
  10  Prefactor     .14808E-05    9.3409       -.60233E-06** at limit **
  11  Prefactor     .11102E-08    5.1617       -.72320E-06** at limit **
  12  norm          .55511E-10    1.0777       -.52415E-06** at limit **
  13  Prefactor     7.6391        7.9911       -.18015E-05    .13560E-01
  14  norm          .45963E-01    1.5716       -.10316E-06** at limit **
  15  Prefactor     .93081E-06    17.633       -.27462E-05** at limit **
  16  Prefactor     .17248E-05    51.533       -.54934E-05** at limit **
  17  Prefactor     7.0617        1.5085        .72558E-07   -.11530E-01
  18  Prefactor     1.7096        10.757       -.20924E-06    .28961E-02
  19  Prefactor      .0000        8.4731        .24966E-05** at limit **
  20  Prefactor     48.069        8.7867        .78453E-06   -.24336    
  21  norm          4.1374        7.0031        .32844E-06    .14900E-03
  22  Prefactor     3.7762        9.4329        .10174E-06   -.13711E-02
  23  Normalizat    1.0072        .24349       -.39103E-04    .10392E-03
  24  Prefactor     1.0280        .11024        .10321E-04    .25966E-03
                               ERR DEF=  .500    
Final values: 
  Prefactor  = 3.2474e-08
  norm       = 1.84852
  Prefactor  = 4.33606
  norm       = 2.13443
  Prefactor  = 0.152949
  Prefactor  = 8.88178e-10
  Prefactor  = 3.89559
  norm       = 1.83187e-09
  Prefactor  = 4.30675
  Prefactor  = 1.48082e-06
  Prefactor  = 1.11022e-09
  norm       = 5.55112e-11
  Prefactor  = 7.6391
  norm       = 0.045963
  Prefactor  = 9.30811e-07
  Prefactor  = 1.72479e-06
  Prefactor  = 7.06166
  Prefactor  = 1.70958
  Prefactor  = 0
  Prefactor  = 48.0685
  norm       = 4.13742
  Prefactor  = 3.77622
  Normalizat = 1.00721
  Prefactor  = 1.02797
V02
Working on...
/lscratch/kocevski/39761663/ft1_filtered_4FGL_J0227.8+2246_daily_bin2211.fits.....................!
real 45.38
user 44.18
sys 0.67

Creating the likelihood object...
obs = UnbinnedObs('/lscratch/kocevski/39761663/ft1_filtered_4FGL_J0227.8+2246_daily_bin2211.fits', '/lscratch/kocevski/39761663/ft2_4FGL_J0227.8+2246_daily_bin2211.fits', expMap='/lscratch/kocevski/39761663/expmap_812419201_812678401_4FGL_J0227.8+2246_daily_bin2211.fits', expCube='/lscratch/kocevski/39761663/ltcube_812419201_812678401_4FGL_J0227.8+2246_daily_bin2211.fits', irfs='P8R3_SOURCE_V2')
like = UnbinnedAnalysis(obs, '/lscratch/kocevski/39761663/Model_4FGL_J0227.8+2246_daily_bin2211.xml', optimizer='MINUIT')

Using source of interest name: '4FGL J0227.8+2246'

4FGL J0227.8+2246
   Spectrum: PowerLaw
242    Prefactor:  5.054e+00  0.000e+00  0.000e+00  1.000e+06 ( 1.000e-14)
243        Index:  2.144e+00  0.000e+00  0.000e+00  1.000e+01 (-1.000e+00) fixed
244        Scale:  2.284e+03  0.000e+00  3.000e+01  5.000e+05 ( 1.000e+00) fixed


Likelihood Fit Parameters:
Event file(s): /lscratch/kocevski/39761663/ft1_filtered_4FGL_J0227.8+2246_daily_bin2211.fits
Spacecraft file(s): /lscratch/kocevski/39761663/ft2_4FGL_J0227.8+2246_daily_bin2211.fits
Exposure map: /lscratch/kocevski/39761663/expmap_812419201_812678401_4FGL_J0227.8+2246_daily_bin2211.fits
Exposure cube: /lscratch/kocevski/39761663/ltcube_812419201_812678401_4FGL_J0227.8+2246_daily_bin2211.fits
IRFs: P8R3_SOURCE_V2
Source model file: /lscratch/kocevski/39761663/Model_4FGL_J0227.8+2246_daily_bin2211.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) = 7683.71003558

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

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

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'Prefactor '    .21823E-03   1.0000          .0000       .10000E+07
     2 'norm      '    1.8476       1.0000          .0000       .10000E+07
     3 'Prefactor '    4.2043       1.0000          .0000       .10000E+07
     4 'norm      '    2.1334       1.0000          .0000       .10000E+07
     5 'Prefactor '    .13626       1.0000          .0000       .10000E+07
     6 'Prefactor '    .11102E-09   1.0000          .0000       .10000E+07
     7 'Prefactor '    3.8736       1.0000          .0000       .10000E+07
     8 'norm      '    .31025E-04   1.0000          .0000       .10000E+07
     9 'Prefactor '    3.9152       1.0000          .0000       .10000E+07
    10 'Prefactor '    .79690E-03   1.0000          .0000       .10000E+07
    11 'Prefactor '    .33427E-04   1.0000          .0000       .10000E+07
    12 'norm      '    .19890E-06   1.0000          .0000       .10000E+07
    13 'Prefactor '    7.5945       1.0000          .0000       .10000E+07
    14 'norm      '    .46262E-01   1.0000          .0000       .10000E+07
    15 'Prefactor '    .85159E-03   1.0000          .0000       .10000E+07
    16 'Prefactor '    .24362E-02   1.0000          .0000       .10000E+07
    17 'Prefactor '    7.1468       1.0000          .0000       .10000E+07
    18 'Prefactor '    1.5771       1.0000          .0000       .10000E+07
    19 'Prefactor '    .74171E-05   1.0000          .0000       .10000E+07
    20 'Prefactor '    47.722       1.0000          .0000       .10000E+07
    21 'norm      '    4.1363       1.0000          .0000       .10000E+07
    22 'Prefactor '    3.6345       1.0000          .0000       .10000E+07
    23 'Normalizat'    1.0096       1.0000         .10000E-01   10.000    
    24 'Prefactor '    1.0279       1.0000          .0000       10.000    
 **********
 **   15 **SET ERR    .5000    
 **********
 **********
 **   16 **SET GRAD    1.000    
 **********
 **********
 **   17 **MINIMIZE    .5300E+05   .2000E-04
 **********

 MIGRAD MINIMIZATION HAS CONVERGED.

 FCN=   7683.604     FROM MIGRAD    STATUS=CONVERGED    199 CALLS     2088 TOTAL
                     EDM=   .17E-08  STRATEGY=1  ERROR MATRIX UNCERTAINTY=  4.5%

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor     .32474E-07    13.223        .24566E-05** at limit **
   2  norm          1.8485        .73714        .89704E-07   -.81820E-03
   3  Prefactor     4.3361        8.3624        .26962E-05    .28548E-01
   4  norm          2.1344        2.5175        .23944E-06   -.59763E-02
   5  Prefactor     .15295        9.6767        .19347E-05** at limit **
   6  Prefactor     .88818E-09    2.9183       -.47723E-07** at limit **
   7  Prefactor     3.8956        4.5177       -.16013E-06    .15218E-02
   8  norm          .18319E-08    16.678        .80896E-06** at limit **
   9  Prefactor     4.3067        3.9996        .72719E-06   -.36241E-02
  10  Prefactor     .14808E-05    9.3409       -.60233E-06** at limit **
  11  Prefactor     .11102E-08    5.1617       -.72320E-06** at limit **
  12  norm          .55511E-10    1.0777       -.52415E-06** at limit **
  13  Prefactor     7.6391        7.9911       -.18015E-05    .13560E-01
  14  norm          .45963E-01    1.5716       -.10316E-06** at limit **
  15  Prefactor     .93081E-06    17.633       -.27462E-05** at limit **
  16  Prefactor     .17248E-05    51.533       -.54934E-05** at limit **
  17  Prefactor     7.0617        1.5085        .72558E-07   -.11530E-01
  18  Prefactor     1.7096        10.757       -.20924E-06    .28961E-02
  19  Prefactor      .0000        8.4731        .24966E-05** at limit **
  20  Prefactor     48.069        8.7867        .78453E-06   -.24336    
  21  norm          4.1374        7.0031        .32844E-06    .14900E-03
  22  Prefactor     3.7762        9.4329        .10174E-06   -.13711E-02
  23  Normalizat    1.0072        .24349       -.39103E-04    .10392E-03
  24  Prefactor     1.0280        .11024        .10321E-04    .25966E-03
                               ERR DEF=  .500    
Final values: 
  Prefactor  = 3.2474e-08
  norm       = 1.84852
  Prefactor  = 4.33606
  norm       = 2.13443
  Prefactor  = 0.152949
  Prefactor  = 8.88178e-10
  Prefactor  = 3.89559
  norm       = 1.83187e-09
  Prefactor  = 4.30675
  Prefactor  = 1.48082e-06
  Prefactor  = 1.11022e-09
  norm       = 5.55112e-11
  Prefactor  = 7.6391
  norm       = 0.045963
  Prefactor  = 9.30811e-07
  Prefactor  = 1.72479e-06
  Prefactor  = 7.06166
  Prefactor  = 1.70958
  Prefactor  = 0
  Prefactor  = 48.0685
  norm       = 4.13742
  Prefactor  = 3.77622
  Normalizat = 1.00721
  Prefactor  = 1.02797
tfile=/lscratch/kocevski/39761744/ltcube_812419201_812678401_4FGL_J0227.8+2246_daily_bin2211.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/39761744/ft2_4FGL_J0227.8+2246_daily_bin2211.fits
.....................!
real 7.91
user 7.42
sys 0.20

Generating the exposure map:
time -p gtexpmap evfile=/lscratch/kocevski/39761744/ft1_filtered_4FGL_J0227.8+2246_daily_bin2211.fits evtable="EVENTS" scfile=/lscratch/kocevski/39761744/ft2_4FGL_J0227.8+2246_daily_bin2211.fits sctable="SC_DATA" expcube=/lscratch/kocevski/39761744/ltcube_812419201_812678401_4FGL_J0227.8+2246_daily_bin2211.fits outfile=/lscratch/kocevski/39761744/expmap_812419201_812678401_4FGL_J0227.8+2246_daily_bin2211.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/39761744/ltcube_812419201_812678401_4FGL_J0227.8+2246_daily_bin2211.fits
.....................!
real 73.01
user 68.58
sys 3.83

Generating the xml model:
radLim = 0.001
maxRad = 12
normsOnly = True
freeVariableSources = True
Fixing all sources to their catalog values, except variable sources
Creating file and adding sources from 4FGL
Added 162 point sources and 0 extended sources

Setting source of interest to:
4FGL J0227.8+2246 @ 36.9544 22.7775

Creating the counts map:
time -p gtbin evfile=/lscratch/kocevski/39761744/ft1_filtered_4FGL_J0227.8+2246_daily_bin2211.fits scfile=/lscratch/kocevski/39761744/ft2_4FGL_J0227.8+2246_daily_bin2211.fits outfile=/lscratch/kocevski/39761744/cmap_812419201_812678401_4FGL_J0227.8+2246_daily_bin2211.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=36.9544 yref=22.7775 axisrot=0.0 rafield="RA" decfield="DEC" proj="AIT" hpx_ordering_scheme="RING" hpx_order=3 hpx_ebin=yes hpx_region="" evtable="EVENTS" sctable="SC_DATA" efield="ENERGY" tfield="TIME" chatter=2 clobber=yes debug=no gui=no mode="ql"

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

This is gtbin version HEAD
real 0.57
user 0.24
sys 0.15

Creating the high resolution counts map:
time -p gtbin evfile=/lscratch/kocevski/39761744/ft1_filtered_4FGL_J0227.8+2246_daily_bin2211.fits scfile=/lscratch/kocevski/39761744/ft2_4FGL_J0227.8+2246_daily_bin2211.fits outfile=/lscratch/kocevski/39761744/cmap_HighResolution_812419201_812678401_4FGL_J0227.8+2246_daily_bin2211.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=36.9544 yref=22.7775 axisrot=0.0 rafield="RA" decfield="DEC" proj="AIT" hpx_ordering_scheme="RING" hpx_order=3 hpx_ebin=yes hpx_region="" evtable="EVENTS" sctable="SC_DATA" efield="ENERGY" tfield="TIME" chatter=2 clobber=yes debug=no gui=no mode="ql"

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

This is gtbin version HEAD
real 0.81
user 0.24
sys 0.14

Computing the diffuse response:
time -p gtdiffrsp evfile=/lscratch/kocevski/39761744/ft1_filtered_4FGL_J0227.8+2246_daily_bin2211.fits evtable="EVENTS" scfile=/lscratch/kocevski/39761744/ft2_4FGL_J0227.8+2246_daily_bin2211.fits sctable="SC_DATA" srcmdl=/lscratch/kocevski/39761744/Model_4FGL_J0227.8+2246_daily_bin2211.xml irfs="P8R3_SOURCE_V2" evclsmin=0 evclass="INDEF" evtype="INDEF" convert=yes chatter=2 clobber=yes debug=no gui=no mode="ql"

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

adding source EG_v02
adding source GAL **********
 **   18 **HESSE 
 **********

 FCN=   7683.604     FROM HESSE     STATUS=OK           457 CALLS     2545 TOTAL
                     EDM=   .33E-05    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  Prefactor     .32474E-07    13.259        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   2  norm          1.8485        .74275        .76683E-03   -1.5681    
   3  Prefactor     4.3361        11.547        .49124E-03   -1.5666    
   4  norm          2.1344        2.5355        .70553E-03   -1.5679    
   5  Prefactor     .15295        1.2980        .60352E-02   -1.5716    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   6  Prefactor     .88818E-09    2.9173        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   7  Prefactor     3.8956        4.5246        .51245E-03   -1.5668    
   8  norm          .18319E-08    25.389        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   9  Prefactor     4.3067        72.448        .50963E-03   -1.5666    
  10  Prefactor     .14808E-05    23.323        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  11  Prefactor     .11102E-08    5.1468        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  12  norm          .55511E-10    1.0653        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  13  Prefactor     7.6391        12.851        .36366E-03   -1.5653    
  14  norm          .45963E-01    .47744        .19386E-02   -1.5704    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  15  Prefactor     .93081E-06    19.017        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  16  Prefactor     .17248E-05    52.737        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  17  Prefactor     7.0617        57.614        .37499E-03   -1.5655    
  18  Prefactor     1.7096        11.069        .84567E-03   -1.5682    
  19  Prefactor      .0000        8.4998        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  20  Prefactor     48.069        49.797        .14477E-03   -1.5569    
  21  norm          4.1374        7.0011        .49538E-03   -1.5667    
  22  Prefactor     3.7762        9.4691        .52967E-03   -1.5669    
  23  Normalizat    1.0072        .22522        .81623E-01   -.92789    
  24  Prefactor     1.0280        .96243E-01    .41431E-01   -.91803    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 3.30865e-06
Minuit parameter uncertainties:
  1  0.00131229
  2  0.742752
  3  11.5473
  4  2.53548
  5  0.891126
  6  0.000102638
  7  4.52456
  8  0.000429751
  9  35.3285
  10  0.0117538
  11  0.000149626
  12  1.75405e-05
  13  12.8512
  14  0.296275
  15  0.00841479
  16  0.0190748
  17  40.3417
  18  8.70031
  19  9.52792e-07
  20  49.7975
  21  7.00115
  22  9.46917
  23  0.225431
  24  0.0962595
 **********
 **   18 **HESSE 
 **********

 FCN=   7683.604     FROM HESSE     STATUS=OK           457 CALLS     2545 TOTAL
                     EDM=   .33E-05    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  Prefactor     .32474E-07    13.259        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   2  norm          1.8485        .74275        .76683E-03   -1.5681    
   3  Prefactor     4.3361        11.547        .49124E-03   -1.5666    
   4  norm          2.1344        2.5355        .70553E-03   -1.5679    
   5  Prefactor     .15295        1.2980        .60352E-02   -1.5716    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   6  Prefactor     .88818E-09    2.9173        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   7  Prefactor     3.8956        4.5246        .51245E-03   -1.5668    
   8  norm          .18319E-08    25.389        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   9  Prefactor     4.3067        72.448        .50963E-03   -1.5666    
  10  Prefactor     .14808E-05    23.323        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  11  Prefactor     .11102E-08    5.1468        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  12  norm          .55511E-10    1.0653        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  13  Prefactor     7.6391        12.851        .36366E-03   -1.5653    
  14  norm          .45963E-01    .47744        .19386E-02   -1.5704    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  15  Prefactor     .93081E-06    19.017        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  16  Prefactor     .17248E-05    52.737        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  17  Prefactor     7.0617        57.614        .37499E-03   -1.5655    
  18  Prefactor     1.7096        11.069        .84567E-03   -1.5682    
  19  Prefactor      .0000        8.4998        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  20  Prefactor     48.069        49.797        .14477E-03   -1.5569    
  21  norm          4.1374        7.0011        .49538E-03   -1.5667    
  22  Prefactor     3.7762        9.4691        .52967E-03   -1.5669    
  23  Normalizat    1.0072        .22522        .81623E-01   -.92789    
  24  Prefactor     1.0280        .96243E-01    .41431E-01   -.91803    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 3.30865e-06
Minuit parameter uncertainties:
  1  0.00131229
  2  0.742752
  3  11.5473
  4  2.53548
  5  0.891126
  6  0.000102638
  7  4.52456
  8  0.000429751
  9  35.3285
  10  0.0117538
  11  0.000149626
  12  1.75405e-05
  13  12.8512
  14  0.296275
  15  0.00841479
  16  0.0190748
  17  40.3417
  18  8.70031
  19  9.52792e-07
  20  49.7975
  21  7.00115
  22  9.46917
  23  0.225431
  24  0.0962595
Done.

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

Extracting fit parameters...

4FGL J0227.8+2246
   Spectrum: PowerLaw
242    Prefactor:  1.481e-06  1.175e-02  0.000e+00  1.000e+06 ( 1.000e-14)
243        Index:  2.144e+00  0.000e+00  0.000e+00  1.000e+01 (-1.000e+00) fixed
244        Scale:  2.284e+03  0.000e+00  3.000e+01  5.000e+05 ( 1.000e+00) fixed

GAL_V02
   Spectrum: PowerLaw
527    Prefactor:  1.028e+00  9.626e-02  0.000e+00  1.000e+01 ( 1.000e+00)
528        Index:  0.000e+00  0.000e+00 -1.000e+00  1.000e+00 ( 1.000e+00) fixed
529        Scale:  1.000e+02  0.000e+00  5.000e+01  2.000e+02 ( 1.000e+00) fixed

EG_v02
   Spectrum: FileFunction
526   Normalization:  1.007e+00  2.254e-01  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Fixed Index): -0.00
Ra Dec: 36.954 22.777
Photon Flux Upper Limit: 6.09647158958e-08 ph cm-2 s-1
Energy Flux Upper Limit: 0.00462519105612 MeV cm-2 s-1

Saving results to:
/lscratch/kocevski/39761667/likelihoodResults_812419201_812678401_4FGL_J0227.8+2246_daily_bin2211.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) = 7683.62437497
delta logL = -0.0205752898646

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

MINUIT Return Code (Free Index): 102
logL (Free Index) = 7683.60380008
delta logL = -3.99541022489e-07

Fit tolerance = 1e-08

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

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

 MIGRAD MINIMIZATION HAS CONVERGED.

 FCN=   7683.604     FROM MIGRAD    STATUS=CONVERGED     30 CALLS      199 TOTAL
                     EDM=   .30E-12  STRATEGY=1  ERROR MATRIX UNCERTAINTY=  1.8%

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor      .0000        29.427       -.93585E-06** at limit **
   2  Index         1.6423        5.3559       -.31733E-05     .0000    
   3  Normalizat    1.0072        .23538       -.81910E-05    .28335E-05
   4  Prefactor     1.0280        .10861        .63536E-05   -.62778E-05
                               ERR DEF=  .500    
Final values: 
  Prefactor  = 0
  Index      = 1.64231
  Normalizat = 1.00721
  Prefactor  = 1.02797
 **********
 **   18 **HESSE 
 **********
  MNHESS FAILS AND WILL RETURN DIAGONAL MATRIX. 

 FCN=   7683.604     FROM HESSE     STATUS=FAILED        11 CALLS      210 TOTAL
                     EDM=   .30E-12  STRATEGY=1  ERROR MATRIX UNCERTAINTY=100.0%

  EXT PARAMETER                APPROXIMATE     INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  Prefactor      .0000        29.708        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   2  Index         .26097        1.7015       -.31733E-05   -.73628    
   3  Normalizat    1.0072        1.3363       -.81910E-05   -.92789    
   4  Prefactor     1.0280        1.2222        .63536E-05   -.91803    
                               ERR DEF=  .500    
Minuit fit quality: 1   estimated distance: 2.96402e-13
Minuit parameter uncertainties:
  1  3.54925e-05
  2  1.63097
  3  1.38519
  4  1.25788
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) = 7683.60379965
delta logL = 3.17477315548e-08

Extracting fit parameters...

4FGL J0227.8+2246
   Spectrum: PowerLaw
242    Prefactor:  0.000e+00  3.549e-05  0.000e+00  1.000e+06 ( 1.000e-14)
243        Index:  1.642e+00  1.631e+00  0.000e+00  1.000e+01 (-1.000e+00)
244        Scale:  2.284e+03  0.000e+00  3.000e+01  5.000e+05 ( 1.000e+00) fixed

GAL_V02
   Spectrum: PowerLaw
527    Prefactor:  1.028e+00  1.258e+00  0.000e+00  1.000e+01 ( 1.000e+00)
528        Index:  0.000e+00  0.000e+00 -1.000e+00  1.000e+00 ( 1.000e+00) fixed
529        Scale:  1.000e+02  0.000e+00  5.000e+01  2.000e+02 ( 1.000e+00) fixed

EG_v02
   Spectrum: FileFunction
526   Normalization:  1.007e+00  1.385e+00  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Free Index): -0.00
Ra Dec: 36.954 22.777

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/39761667/cmap_HighResolution_812419201_812678401_4FGL_J0227.8+2246_daily_bin2211.png

Cleaning up...

** Nuclear option initiated! **

Updating database...

UPDATE lightcurve_data_v2 SET energy_flux_upper_limit='4.63e-03', job_status='DONE', photon_flux_upper_limit='6.10e-08', time_completed='2026-10-03 13:53:45.490161', job_id='39761667', GAL2='1.03', fit_tolerance='1e-08', EG2='1.01', EG='1.01', time_epoch_completed='1791060825.49', return_code2='101', ts='-0.00', comment='SUCCESS', return_code='0', GAL='1.03', dlogl='3.17e-08', ts2='0.00', photon_index_error='0.00', photon_index='2.14' WHERE bin_id='2211' AND source_name='4FGL J0227.8+2246' AND cadence='daily';

Database successfully updated.


Analysis Complete.


Sat Oct  3 13:53:45 PDT 2026

Done.

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

Extracting fit parameters...

4FGL J0227.8+2246
   Spectrum: PowerLaw
242    Prefactor:  1.481e-06  1.175e-02  0.000e+00  1.000e+06 ( 1.000e-14)
243        Index:  2.144e+00  0.000e+00  0.000e+00  1.000e+01 (-1.000e+00) fixed
244        Scale:  2.284e+03  0.000e+00  3.000e+01  5.000e+05 ( 1.000e+00) fixed

GAL_V02
   Spectrum: PowerLaw
527    Prefactor:  1.028e+00  9.626e-02  0.000e+00  1.000e+01 ( 1.000e+00)
528        Index:  0.000e+00  0.000e+00 -1.000e+00  1.000e+00 ( 1.000e+00) fixed
529        Scale:  1.000e+02  0.000e+00  5.000e+01  2.000e+02 ( 1.000e+00) fixed

EG_v02
   Spectrum: FileFunction
526   Normalization:  1.007e+00  2.254e-01  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Fixed Index): -0.00
Ra Dec: 36.954 22.777
Photon Flux Upper Limit: 6.09647158958e-08 ph cm-2 s-1
Energy Flux Upper Limit: 0.00462519105612 MeV cm-2 s-1

Saving results to:
/lscratch/kocevski/39761663/likelihoodResults_812419201_812678401_4FGL_J0227.8+2246_daily_bin2211.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) = 7683.62437497
delta logL = -0.0205752898646

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

MINUIT Return Code (Free Index): 102
logL (Free Index) = 7683.60380008
delta logL = -3.99541022489e-07

Fit tolerance = 1e-08

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

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

 MIGRAD MINIMIZATION HAS CONVERGED.

 FCN=   7683.604     FROM MIGRAD    STATUS=CONVERGED     30 CALLS      199 TOTAL
                     EDM=   .30E-12  STRATEGY=1  ERROR MATRIX UNCERTAINTY=  1.8%

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor      .0000        29.427       -.93585E-06** at limit **
   2  Index         1.6423        5.3559       -.31733E-05     .0000    
   3  Normalizat    1.0072        .23538       -.81910E-05    .28335E-05
   4  Prefactor     1.0280        .10861        .63536E-05   -.62778E-05
                               ERR DEF=  .500    
Final values: 
  Prefactor  = 0
  Index      = 1.64231
  Normalizat = 1.00721
  Prefactor  = 1.02797
 **********
 **   18 **HESSE 
 **********
  MNHESS FAILS AND WILL RETURN DIAGONAL MATRIX. 

 FCN=   7683.604     FROM HESSE     STATUS=FAILED        11 CALLS      210 TOTAL
                     EDM=   .30E-12  STRATEGY=1  ERROR MATRIX UNCERTAINTY=100.0%

  EXT PARAMETER                APPROXIMATE     INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  Prefactor      .0000        29.708        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   2  Index         .26097        1.7015       -.31733E-05   -.73628    
   3  Normalizat    1.0072        1.3363       -.81910E-05   -.92789    
   4  Prefactor     1.0280        1.2222        .63536E-05   -.91803    
                               ERR DEF=  .500    
Minuit fit quality: 1   estimated distance: 2.96402e-13
Minuit parameter uncertainties:
  1  3.54925e-05
  2  1.63097
  3  1.38519
  4  1.25788
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) = 7683.60379965
delta logL = 3.17477315548e-08

Extracting fit parameters...

4FGL J0227.8+2246
   Spectrum: PowerLaw
242    Prefactor:  0.000e+00  3.549e-05  0.000e+00  1.000e+06 ( 1.000e-14)
243        Index:  1.642e+00  1.631e+00  0.000e+00  1.000e+01 (-1.000e+00)
244        Scale:  2.284e+03  0.000e+00  3.000e+01  5.000e+05 ( 1.000e+00) fixed

GAL_V02
   Spectrum: PowerLaw
527    Prefactor:  1.028e+00  1.258e+00  0.000e+00  1.000e+01 ( 1.000e+00)
528        Index:  0.000e+00  0.000e+00 -1.000e+00  1.000e+00 ( 1.000e+00) fixed
529        Scale:  1.000e+02  0.000e+00  5.000e+01  2.000e+02 ( 1.000e+00) fixed

EG_v02
   Spectrum: FileFunction
526   Normalization:  1.007e+00  1.385e+00  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Free Index): -0.00
Ra Dec: 36.954 22.777

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/39761663/cmap_HighResolution_812419201_812678401_4FGL_J0227.8+2246_daily_bin2211.png

Cleaning up...

** Nuclear option initiated! **

Updating database...

UPDATE lightcurve_data_v2 SET energy_flux_upper_limit='4.63e-03', job_status='DONE', photon_flux_upper_limit='6.10e-08', time_completed='2026-10-03 13:53:48.410643', job_id='39761663', GAL2='1.03', fit_tolerance='1e-08', EG2='1.01', EG='1.01', time_epoch_completed='1791060828.41', return_code2='101', ts='-0.00', comment='SUCCESS', return_code='0', GAL='1.03', dlogl='3.17e-08', ts2='0.00', photon_index_error='0.00', photon_index='2.14' WHERE bin_id='2211' AND source_name='4FGL J0227.8+2246' AND cadence='daily';

Database successfully updated.


Analysis Complete.


Sat Oct  3 13:53:48 PDT 2026

_V02
Working on...
/lscratch/kocevski/39761744/ft1_filtered_4FGL_J0227.8+2246_daily_bin2211.fits.....................!
real 45.21
user 44.07
sys 0.56

Creating the likelihood object...
obs = UnbinnedObs('/lscratch/kocevski/39761744/ft1_filtered_4FGL_J0227.8+2246_daily_bin2211.fits', '/lscratch/kocevski/39761744/ft2_4FGL_J0227.8+2246_daily_bin2211.fits', expMap='/lscratch/kocevski/39761744/expmap_812419201_812678401_4FGL_J0227.8+2246_daily_bin2211.fits', expCube='/lscratch/kocevski/39761744/ltcube_812419201_812678401_4FGL_J0227.8+2246_daily_bin2211.fits', irfs='P8R3_SOURCE_V2')
like = UnbinnedAnalysis(obs, '/lscratch/kocevski/39761744/Model_4FGL_J0227.8+2246_daily_bin2211.xml', optimizer='MINUIT')

Using source of interest name: '4FGL J0227.8+2246'

4FGL J0227.8+2246
   Spectrum: PowerLaw
242    Prefactor:  5.054e+00  0.000e+00  0.000e+00  1.000e+06 ( 1.000e-14)
243        Index:  2.144e+00  0.000e+00  0.000e+00  1.000e+01 (-1.000e+00) fixed
244        Scale:  2.284e+03  0.000e+00  3.000e+01  5.000e+05 ( 1.000e+00) fixed


Likelihood Fit Parameters:
Event file(s): /lscratch/kocevski/39761744/ft1_filtered_4FGL_J0227.8+2246_daily_bin2211.fits
Spacecraft file(s): /lscratch/kocevski/39761744/ft2_4FGL_J0227.8+2246_daily_bin2211.fits
Exposure map: /lscratch/kocevski/39761744/expmap_812419201_812678401_4FGL_J0227.8+2246_daily_bin2211.fits
Exposure cube: /lscratch/kocevski/39761744/ltcube_812419201_812678401_4FGL_J0227.8+2246_daily_bin2211.fits
IRFs: P8R3_SOURCE_V2
Source model file: /lscratch/kocevski/39761744/Model_4FGL_J0227.8+2246_daily_bin2211.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) = 7683.71003558

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

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

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'Prefactor '    .21823E-03   1.0000          .0000       .10000E+07
     2 'norm      '    1.8476       1.0000          .0000       .10000E+07
     3 'Prefactor '    4.2043       1.0000          .0000       .10000E+07
     4 'norm      '    2.1334       1.0000          .0000       .10000E+07
     5 'Prefactor '    .13626       1.0000          .0000       .10000E+07
     6 'Prefactor '    .11102E-09   1.0000          .0000       .10000E+07
     7 'Prefactor '    3.8736       1.0000          .0000       .10000E+07
     8 'norm      '    .31025E-04   1.0000          .0000       .10000E+07
     9 'Prefactor '    3.9152       1.0000          .0000       .10000E+07
    10 'Prefactor '    .79690E-03   1.0000          .0000       .10000E+07
    11 'Prefactor '    .33427E-04   1.0000          .0000       .10000E+07
    12 'norm      '    .19890E-06   1.0000          .0000       .10000E+07
    13 'Prefactor '    7.5945       1.0000          .0000       .10000E+07
    14 'norm      '    .46262E-01   1.0000          .0000       .10000E+07
    15 'Prefactor '    .85159E-03   1.0000          .0000       .10000E+07
    16 'Prefactor '    .24362E-02   1.0000          .0000       .10000E+07
    17 'Prefactor '    7.1468       1.0000          .0000       .10000E+07
    18 'Prefactor '    1.5771       1.0000          .0000       .10000E+07
    19 'Prefactor '    .74171E-05   1.0000          .0000       .10000E+07
    20 'Prefactor '    47.722       1.0000          .0000       .10000E+07
    21 'norm      '    4.1363       1.0000          .0000       .10000E+07
    22 'Prefactor '    3.6345       1.0000          .0000       .10000E+07
    23 'Normalizat'    1.0096       1.0000         .10000E-01   10.000    
    24 'Prefactor '    1.0279       1.0000          .0000       10.000    
 **********
 **   15 **SET ERR    .5000    
 **********
 **********
 **   16 **SET GRAD    1.000    
 **********
 **********
 **   17 **MINIMIZE    .5300E+05   .2000E-04
 **********

 MIGRAD MINIMIZATION HAS CONVERGED.

 FCN=   7683.604     FROM MIGRAD    STATUS=CONVERGED    199 CALLS     2088 TOTAL
                     EDM=   .17E-08  STRATEGY=1  ERROR MATRIX UNCERTAINTY=  4.5%

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor     .32474E-07    13.223        .24566E-05** at limit **
   2  norm          1.8485        .73714        .89704E-07   -.81820E-03
   3  Prefactor     4.3361        8.3624        .26962E-05    .28548E-01
   4  norm          2.1344        2.5175        .23944E-06   -.59763E-02
   5  Prefactor     .15295        9.6767        .19347E-05** at limit **
   6  Prefactor     .88818E-09    2.9183       -.47723E-07** at limit **
   7  Prefactor     3.8956        4.5177       -.16013E-06    .15218E-02
   8  norm          .18319E-08    16.678        .80896E-06** at limit **
   9  Prefactor     4.3067        3.9996        .72719E-06   -.36241E-02
  10  Prefactor     .14808E-05    9.3409       -.60233E-06** at limit **
  11  Prefactor     .11102E-08    5.1617       -.72320E-06** at limit **
  12  norm          .55511E-10    1.0777       -.52415E-06** at limit **
  13  Prefactor     7.6391        7.9911       -.18015E-05    .13560E-01
  14  norm          .45963E-01    1.5716       -.10316E-06** at limit **
  15  Prefactor     .93081E-06    17.633       -.27462E-05** at limit **
  16  Prefactor     .17248E-05    51.533       -.54934E-05** at limit **
  17  Prefactor     7.0617        1.5085        .72558E-07   -.11530E-01
  18  Prefactor     1.7096        10.757       -.20924E-06    .28961E-02
  19  Prefactor      .0000        8.4731        .24966E-05** at limit **
  20  Prefactor     48.069        8.7867        .78453E-06   -.24336    
  21  norm          4.1374        7.0031        .32844E-06    .14900E-03
  22  Prefactor     3.7762        9.4329        .10174E-06   -.13711E-02
  23  Normalizat    1.0072        .24349       -.39103E-04    .10392E-03
  24  Prefactor     1.0280        .11024        .10321E-04    .25966E-03
                               ERR DEF=  .500    
Final values: 
  Prefactor  = 3.2474e-08
  norm       = 1.84852
  Prefactor  = 4.33606
  norm       = 2.13443
  Prefactor  = 0.152949
  Prefactor  = 8.88178e-10
  Prefactor  = 3.89559
  norm       = 1.83187e-09
  Prefactor  = 4.30675
  Prefactor  = 1.48082e-06
  Prefactor  = 1.11022e-09
  norm       = 5.55112e-11
  Prefactor  = 7.6391
  norm       = 0.045963
  Prefactor  = 9.30811e-07
  Prefactor  = 1.72479e-06
  Prefactor  = 7.06166
  Prefactor  = 1.70958
  Prefactor  = 0
  Prefactor  = 48.0685
  norm       = 4.13742
  Prefactor  = 3.77622
  Normalizat = 1.00721
  Prefactor  = 1.02797
 **********
 **   18 **HESSE 
 **********

 FCN=   7683.604     FROM HESSE     STATUS=OK           457 CALLS     2545 TOTAL
                     EDM=   .33E-05    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  Prefactor     .32474E-07    13.259        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   2  norm          1.8485        .74275        .76683E-03   -1.5681    
   3  Prefactor     4.3361        11.547        .49124E-03   -1.5666    
   4  norm          2.1344        2.5355        .70553E-03   -1.5679    
   5  Prefactor     .15295        1.2980        .60352E-02   -1.5716    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   6  Prefactor     .88818E-09    2.9173        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   7  Prefactor     3.8956        4.5246        .51245E-03   -1.5668    
   8  norm          .18319E-08    25.389        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   9  Prefactor     4.3067        72.448        .50963E-03   -1.5666    
  10  Prefactor     .14808E-05    23.323        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  11  Prefactor     .11102E-08    5.1468        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  12  norm          .55511E-10    1.0653        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  13  Prefactor     7.6391        12.851        .36366E-03   -1.5653    
  14  norm          .45963E-01    .47744        .19386E-02   -1.5704    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  15  Prefactor     .93081E-06    19.017        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  16  Prefactor     .17248E-05    52.737        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  17  Prefactor     7.0617        57.614        .37499E-03   -1.5655    
  18  Prefactor     1.7096        11.069        .84567E-03   -1.5682    
  19  Prefactor      .0000        8.4998        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  20  Prefactor     48.069        49.797        .14477E-03   -1.5569    
  21  norm          4.1374        7.0011        .49538E-03   -1.5667    
  22  Prefactor     3.7762        9.4691        .52967E-03   -1.5669    
  23  Normalizat    1.0072        .22522        .81623E-01   -.92789    
  24  Prefactor     1.0280        .96243E-01    .41431E-01   -.91803    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 3.30865e-06
Minuit parameter uncertainties:
  1  0.00131229
  2  0.742752
  3  11.5473
  4  2.53548
  5  0.891126
  6  0.000102638
  7  4.52456
  8  0.000429751
  9  35.3285
  10  0.0117538
  11  0.000149626
  12  1.75405e-05
  13  12.8512
  14  0.296275
  15  0.00841479
  16  0.0190748
  17  40.3417
  18  8.70031
  19  9.52792e-07
  20  49.7975
  21  7.00115
  22  9.46917
  23  0.225431
  24  0.0962595
Done.

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

Extracting fit parameters...

4FGL J0227.8+2246
   Spectrum: PowerLaw
242    Prefactor:  1.481e-06  1.175e-02  0.000e+00  1.000e+06 ( 1.000e-14)
243        Index:  2.144e+00  0.000e+00  0.000e+00  1.000e+01 (-1.000e+00) fixed
244        Scale:  2.284e+03  0.000e+00  3.000e+01  5.000e+05 ( 1.000e+00) fixed

GAL_V02
   Spectrum: PowerLaw
527    Prefactor:  1.028e+00  9.626e-02  0.000e+00  1.000e+01 ( 1.000e+00)
528        Index:  0.000e+00  0.000e+00 -1.000e+00  1.000e+00 ( 1.000e+00) fixed
529        Scale:  1.000e+02  0.000e+00  5.000e+01  2.000e+02 ( 1.000e+00) fixed

EG_v02
   Spectrum: FileFunction
526   Normalization:  1.007e+00  2.254e-01  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Fixed Index): -0.00
Ra Dec: 36.954 22.777
Photon Flux Upper Limit: 6.09647158958e-08 ph cm-2 s-1
Energy Flux Upper Limit: 0.00462519105612 MeV cm-2 s-1

Saving results to:
/lscratch/kocevski/39761744/likelihoodResults_812419201_812678401_4FGL_J0227.8+2246_daily_bin2211.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) = 7683.62437497
delta logL = -0.0205752898646

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

MINUIT Return Code (Free Index): 102
logL (Free Index) = 7683.60380008
delta logL = -3.99541022489e-07

Fit tolerance = 1e-08

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

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

 MIGRAD MINIMIZATION HAS CONVERGED.

 FCN=   7683.604     FROM MIGRAD    STATUS=CONVERGED     30 CALLS      199 TOTAL
                     EDM=   .30E-12  STRATEGY=1  ERROR MATRIX UNCERTAINTY=  1.8%

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor      .0000        29.427       -.93585E-06** at limit **
   2  Index         1.6423        5.3559       -.31733E-05     .0000    
   3  Normalizat    1.0072        .23538       -.81910E-05    .28335E-05
   4  Prefactor     1.0280        .10861        .63536E-05   -.62778E-05
                               ERR DEF=  .500    
Final values: 
  Prefactor  = 0
  Index      = 1.64231
  Normalizat = 1.00721
  Prefactor  = 1.02797
 **********
 **   18 **HESSE 
 **********
  MNHESS FAILS AND WILL RETURN DIAGONAL MATRIX. 

 FCN=   7683.604     FROM HESSE     STATUS=FAILED        11 CALLS      210 TOTAL
                     EDM=   .30E-12  STRATEGY=1  ERROR MATRIX UNCERTAINTY=100.0%

  EXT PARAMETER                APPROXIMATE     INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  Prefactor      .0000        29.708        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   2  Index         .26097        1.7015       -.31733E-05   -.73628    
   3  Normalizat    1.0072        1.3363       -.81910E-05   -.92789    
   4  Prefactor     1.0280        1.2222        .63536E-05   -.91803    
                               ERR DEF=  .500    
Minuit fit quality: 1   estimated distance: 2.96402e-13
Minuit parameter uncertainties:
  1  3.54925e-05
  2  1.63097
  3  1.38519
  4  1.25788
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) = 7683.60379965
delta logL = 3.17477315548e-08

Extracting fit parameters...

4FGL J0227.8+2246
   Spectrum: PowerLaw
242    Prefactor:  0.000e+00  3.549e-05  0.000e+00  1.000e+06 ( 1.000e-14)
243        Index:  1.642e+00  1.631e+00  0.000e+00  1.000e+01 (-1.000e+00)
244        Scale:  2.284e+03  0.000e+00  3.000e+01  5.000e+05 ( 1.000e+00) fixed

GAL_V02
   Spectrum: PowerLaw
527    Prefactor:  1.028e+00  1.258e+00  0.000e+00  1.000e+01 ( 1.000e+00)
528        Index:  0.000e+00  0.000e+00 -1.000e+00  1.000e+00 ( 1.000e+00) fixed
529        Scale:  1.000e+02  0.000e+00  5.000e+01  2.000e+02 ( 1.000e+00) fixed

EG_v02
   Spectrum: FileFunction
526   Normalization:  1.007e+00  1.385e+00  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Free Index): -0.00
Ra Dec: 36.954 22.777

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/39761744/cmap_HighResolution_812419201_812678401_4FGL_J0227.8+2246_daily_bin2211.png

Cleaning up...

** Nuclear option initiated! **

Updating database...

UPDATE lightcurve_data_v2 SET energy_flux_upper_limit='4.63e-03', job_status='DONE', photon_flux_upper_limit='6.10e-08', time_completed='2026-10-03 13:55:42.173965', job_id='39761744', GAL2='1.03', fit_tolerance='1e-08', EG2='1.01', EG='1.01', time_epoch_completed='1791060942.17', return_code2='101', ts='-0.00', comment='SUCCESS', return_code='0', GAL='1.03', dlogl='3.17e-08', ts2='0.00', photon_index_error='0.00', photon_index='2.14' WHERE bin_id='2211' AND source_name='4FGL J0227.8+2246' AND cadence='daily';

Database successfully updated.


Analysis Complete.


Sat Oct  3 13:55:42 PDT 2026

