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

 FCN=   8885.178     FROM HESSE     STATUS=OK           558 CALLS     3398 TOTAL
                     EDM=   .94E-06    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  Prefactor     7.1264        17.723        .37550E-03   -1.5655    
   2  Prefactor     9.6806        13.579        .32182E-03   -1.5646    
   3  Prefactor     3.2601        4.3375        .56066E-03   -1.5672    
   4  Prefactor     10.652        20.134        .30685E-03   -1.5643    
   5  Prefactor     1.7701        1.6763        .78682E-03   -1.5681    
   6  norm          19.062        2.5593        .22912E-03   -1.5621    
   7  Prefactor     2.6159        3.7902        .63048E-03   -1.5676    
   8  Prefactor     .11102E-09    1.5008        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   9  Prefactor     1.8514        3.6881        .76590E-03   -1.5681    
  10  norm          17.135        4.4755        .24168E-03   -1.5625    
  11  Prefactor     4.0985        4.7563        .49771E-03   -1.5667    
  12  Prefactor     1.5147        1.8025        .86835E-03   -1.5683    
  13  Prefactor      .0000        1.1552        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  14  Prefactor      .0000        2.1186        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  15  norm          .30649E-01    .13547        .12400E-02   -1.5704    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  16  norm          21.193        5.7994        .21729E-03   -1.5616    
  17  Prefactor     .13212E-07    7.4527        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  18  Prefactor     .18430E-07    6.9912        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  19  Prefactor     8.1546        6.3606        .35085E-03   -1.5651    
  20  Prefactor     3.3807        4.1786        .55000E-03   -1.5671    
  21  norm          14.266        5.6416        .26491E-03   -1.5632    
  22  Prefactor     .94369E-09    7.5751        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  23  norm          3.5776        3.0478        .53404E-03   -1.5670    
  24  norm          93.351        15.812        .10351E-03   -1.5515    
  25  norm          98.482        30.883        .10077E-03   -1.5509    
  26  Normalizat    .97730        .18451        .70843E-01   -.93795    
  27  Prefactor     1.1149        .20580        .77216E-01   -.88991    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 9.4424e-07
Minuit parameter uncertainties:
  1  17.7229
  2  13.5793
  3  4.33751
  4  20.1341
  5  1.67629
  6  2.55933
  7  3.79017
  8  2.333e-05
  9  3.68809
  10  4.47552
  11  4.75626
  12  1.80248
  13  7.52996e-06
  14  1.12693e-06
  15  0.128872
  16  5.79937
  17  0.000627033
  18  0.000717687
  19  6.36062
  20  4.17862
  21  5.64161
  22  0.000167729
  23  3.0478
  24  15.8122
  25  30.8828
  26  0.184633
  27  0.205948
/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)
tfile=/lscratch/kocevski/38303571/ltcube_810864001_811123201_4FGL_J1221.5+2814_daily_bin2205.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/38303571/ft2_4FGL_J1221.5+2814_daily_bin2205.fits
.....................!
real 7.94
user 7.45
sys 0.18

Generating the exposure map:
time -p gtexpmap evfile=/lscratch/kocevski/38303571/ft1_filtered_4FGL_J1221.5+2814_daily_bin2205.fits evtable="EVENTS" scfile=/lscratch/kocevski/38303571/ft2_4FGL_J1221.5+2814_daily_bin2205.fits sctable="SC_DATA" expcube=/lscratch/kocevski/38303571/ltcube_810864001_811123201_4FGL_J1221.5+2814_daily_bin2205.fits outfile=/lscratch/kocevski/38303571/expmap_810864001_811123201_4FGL_J1221.5+2814_daily_bin2205.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/38303571/ltcube_810864001_811123201_4FGL_J1221.5+2814_daily_bin2205.fits
.....................!
real 68.37
user 63.57
sys 3.98

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

Setting source of interest to:
4FGL J1221.5+2814 @ 185.378 28.2382

Creating the counts map:
time -p gtbin evfile=/lscratch/kocevski/38303571/ft1_filtered_4FGL_J1221.5+2814_daily_bin2205.fits scfile=/lscratch/kocevski/38303571/ft2_4FGL_J1221.5+2814_daily_bin2205.fits outfile=/lscratch/kocevski/38303571/cmap_810864001_811123201_4FGL_J1221.5+2814_daily_bin2205.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=185.378 yref=28.2382 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.71
user 0.21
sys 0.13

Creating the high resolution counts map:
time -p gtbin evfile=/lscratch/kocevski/38303571/ft1_filtered_4FGL_J1221.5+2814_daily_bin2205.fits scfile=/lscratch/kocevski/38303571/ft2_4FGL_J1221.5+2814_daily_bin2205.fits outfile=/lscratch/kocevski/38303571/cmap_HighResolution_810864001_811123201_4FGL_J1221.5+2814_daily_bin2205.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=185.378 yref=28.2382 axisrot=0.0 rafield="RA" decfield="DEC" proj="AIT" hpx_ordering_scheme="RING" hpx_order=3 hpx_ebin=yes hpx_region="" evtable="EVENTS" sctable="SC_DATA" efield="ENERGY" tfield="TIME" chatter=2 clobber=yes debug=no gui=no mode="ql"

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

This is gtbin version HEAD
real 0.75
user 0.22
sys 0.14

Computing the diffuse response:
time -p gtdiffrsp evfile=/lscratch/kocevski/38303571/ft1_filtered_4FGL_J1221.5+2814_daily_bin2205.fits evtable="EVENTS" scfile=/lscratch/kocevski/38303571/ft2_4FGL_J1221.5+2814_daily_bin2205.fits sctable="SC_DATA" srcmdl=/lscratch/kocevski/38303571/Model_4FGL_J1221.5+2814_daily_bin2205.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
WARNING: version mismatch between CFITSIO header (v3.43) and linked library (v3.41).

_V02
Working on...
/lscratch/kocevski/38303464/ft1_filtered_4FGL_J1221.5+2814_daily_bin2205.fits.....................!
real 29.85
user 28.44
sys 0.96

Creating the likelihood object...
obs = UnbinnedObs('/lscratch/kocevski/38303464/ft1_filtered_4FGL_J1221.5+2814_daily_bin2205.fits', '/lscratch/kocevski/38303464/ft2_4FGL_J1221.5+2814_daily_bin2205.fits', expMap='/lscratch/kocevski/38303464/expmap_810864001_811123201_4FGL_J1221.5+2814_daily_bin2205.fits', expCube='/lscratch/kocevski/38303464/ltcube_810864001_811123201_4FGL_J1221.5+2814_daily_bin2205.fits', irfs='P8R3_SOURCE_V2')
like = UnbinnedAnalysis(obs, '/lscratch/kocevski/38303464/Model_4FGL_J1221.5+2814_daily_bin2205.xml', optimizer='MINUIT')

Using source of interest name: '4FGL J1221.5+2814'

4FGL J1221.5+2814
   Spectrum: PowerLaw
324    Prefactor:  3.206e+00  0.000e+00  0.000e+00  1.000e+06 ( 1.000e-12)
325        Index:  2.153e+00  0.000e+00  0.000e+00  1.000e+01 (-1.000e+00) fixed
326        Scale:  1.082e+03  0.000e+00  3.000e+01  5.000e+05 ( 1.000e+00) fixed


Likelihood Fit Parameters:
Event file(s): /lscratch/kocevski/38303464/ft1_filtered_4FGL_J1221.5+2814_daily_bin2205.fits
Spacecraft file(s): /lscratch/kocevski/38303464/ft2_4FGL_J1221.5+2814_daily_bin2205.fits
Exposure map: /lscratch/kocevski/38303464/expmap_810864001_811123201_4FGL_J1221.5+2814_daily_bin2205.fits
Exposure cube: /lscratch/kocevski/38303464/ltcube_810864001_811123201_4FGL_J1221.5+2814_daily_bin2205.fits
IRFs: P8R3_SOURCE_V2
Source model file: /lscratch/kocevski/38303464/Model_4FGL_J1221.5+2814_daily_bin2205.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) = 8885.21252092

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

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

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'Prefactor '    7.1274       1.0000          .0000       .10000E+07
     2 'Prefactor '    9.6812       1.0000          .0000       .10000E+07
     3 'Prefactor '    3.2598       1.0000          .0000       .10000E+07
     4 'Prefactor '    10.644       1.0000          .0000       .10000E+07
     5 'Prefactor '    1.7701       1.0000          .0000       .10000E+07
     6 'norm      '    19.062       1.0000          .0000       .10000E+07
     7 'Prefactor '    2.6151       1.0000          .0000       .10000E+07
     8 'Prefactor '    .65503E-08   1.0000          .0000       .10000E+07
     9 'Prefactor '    1.8514       1.0000          .0000       .10000E+07
    10 'norm      '    17.135       1.0000          .0000       .10000E+07
    11 'Prefactor '    4.0988       1.0000          .0000       .10000E+07
    12 'Prefactor '    1.5147       1.0000          .0000       .10000E+07
    13 'Prefactor '    .55511E-10   1.0000          .0000       .10000E+07
    14 'Prefactor '    .55511E-09   1.0000          .0000       .10000E+07
    15 'norm      '    .30766E-01   1.0000          .0000       .10000E+07
    16 'norm      '    21.192       1.0000          .0000       .10000E+07
    17 'Prefactor '    .57177E-05   1.0000          .0000       .10000E+07
    18 'Prefactor '    .38858E-09   1.0000          .0000       .10000E+07
    19 'Prefactor '    8.1544       1.0000          .0000       .10000E+07
    20 'Prefactor '    3.3814       1.0000          .0000       .10000E+07
    21 'norm      '    14.267       1.0000          .0000       .10000E+07
    22 'Prefactor '    .10386E-06   1.0000          .0000       .10000E+07
    23 'norm      '    3.5776       1.0000          .0000       .10000E+07
    24 'norm      '    93.346       1.0000          .0000       .10000E+07
    25 'norm      '    98.486       1.0000          .0000       .10000E+07
    26 'Normalizat'    .97746       1.0000         .10000E-01   10.000    
    27 'Prefactor '    1.1148       1.0000          .00Done.

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

Extracting fit parameters...

4FGL J1221.5+2814
   Spectrum: PowerLaw
324    Prefactor:  0.000e+00  7.530e-06  0.000e+00  1.000e+06 ( 1.000e-12)
325        Index:  2.153e+00  0.000e+00  0.000e+00  1.000e+01 (-1.000e+00) fixed
326        Scale:  1.082e+03  0.000e+00  3.000e+01  5.000e+05 ( 1.000e+00) fixed

GAL_V02
   Spectrum: PowerLaw
621    Prefactor:  1.115e+00  2.059e-01  0.000e+00  1.000e+01 ( 1.000e+00)
622        Index:  0.000e+00  0.000e+00 -1.000e+00  1.000e+00 ( 1.000e+00) fixed
623        Scale:  1.000e+02  0.000e+00  5.000e+01  2.000e+02 ( 1.000e+00) fixed

EG_v02
   Spectrum: FileFunction
620   Normalization:  9.773e-01  1.846e-01  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Fixed Index): 0.00
Ra Dec: 185.378 28.238
Photon Flux Upper Limit: 5.08390320446e-08 ph cm-2 s-1
Energy Flux Upper Limit: 0.00385979837852 MeV cm-2 s-1

Saving results to:
/lscratch/kocevski/38303363/likelihoodResults_810864001_811123201_4FGL_J1221.5+2814_daily_bin2205.txt

Performing a free index iterative likelihood fit...

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

Done.

Freeing candidate source...
Done.

Fit tolerance = 1

Performing likelihood fit...
Done.

MINUIT Return Code (Free Index): 102
logL (Free Index) = 8885.18074403
delta logL = -0.0022909174786

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

MINUIT Return Code (Free Index): 102
logL (Free Index) = 8885.17845317
delta logL = -5.47261151951e-08

Fit tolerance = 1e-08

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

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

 MIGRAD MINIMIZATION HAS CONVERGED.

 MIGRAD WILL VERIFY CONVERGENCE AND ERROR MATRIX.
  MNHESS FAILS AND WILL RETURN DIAGONAL MATRIX. 

 FCN=   8885.178     FROM MIGRAD    STATUS=CONVERGED     40 CALLS      247 TOTAL
                     EDM=   .39E-10  STRATEGY=1  ERROR MATRIX UNCERTAINTY=100.0%

  EXT PARAMETER                APPROXIMATE        STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor      .0000        .49632        .42118E-03** at limit **
   2  Index         1.2610        .83399       -.60839E-04     .0000    
   3  Normalizat    .97730        1.3084        .17926E-04   -.30033E-04
   4  Prefactor     1.1149        1.1395       -.23006E-04    .61632E-04
                               ERR DEF=  .500    
Final values: 
  Prefactor  = 0
  Index      = 1.26105
  Normalizat = 0.977298
  Prefactor  = 1.11494
 **********
 **   18 **HESSE 
 **********
  MNHESS FAILS AND WILL RETURN DIAGONAL MATRIX. 

 FCN=   8885.178     FROM HESSE     STATUS=FAILED         9 CALLS      256 TOTAL
                     EDM=   .39E-10  STRATEGY=1  ERROR MATRIX UNCERTAINTY=100.0%

  EXT PARAMETER                APPROXIMATE     INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  Prefactor      .0000        .49632        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   2  Index         .11626        1.2647       -.60839E-04   -.84473    
   3  Normalizat    .97730        1.3084        .17926E-04   -.93795    
   4  Prefactor     1.1149        1.1395       -.23006E-04   -.88991    
                               ERR DEF=  .500    
Minuit fit quality: 1   estimated distance: 3.89857e-11
Minuit parameter uncertainties:
  1  4.45774e-06
  2  0.843023
  3  1.35549
  4  1.16601
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) = 8885.17845311
delta logL = -9.09494701773e-12

Extracting fit parameters...

4FGL J1221.5+2814
   Spectrum: PowerLaw
324    Prefactor:  0.000e+00  4.458e-06  0.000e+00  1.000e+06 ( 1.000e-12)
325        Index:  1.261e+00  8.430e-01  0.000e+00  1.000e+01 (-1.000e+00)
326        Scale:  1.082e+03  0.000e+00  3.000e+01  5.000e+05 ( 1.000e+00) fixed

GAL_V02
   Spectrum: PowerLaw
621    Prefactor:  1.115e+00  1.166e+00  0.000e+00  1.000e+01 ( 1.000e+00)
622        Index:  0.000e+00  0.000e+00 -1.000e+00  1.000e+00 ( 1.000e+00) fixed
623        Scale:  1.000e+02  0.000e+00  5.000e+01  2.000e+02 ( 1.000e+00) fixed

EG_v02
   Spectrum: FileFunction
620   Normalization:  9.773e-01  1.355e+00  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Free Index): 0.00
Ra Dec: 185.378 28.238

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/38303363/cmap_HighResolution_810864001_811123201_4FGL_J1221.5+2814_daily_bin2205.png

Cleaning up...

** Nuclear option initiated! **

Updating database...

UPDATE lightcurve_data_v2 SET energy_flux_upper_limit='3.86e-03', job_status='DONE', photon_flux_upper_limit='5.08e-08', time_completed='2026-09-15 09:27:13.764539', job_id='38303363', GAL2='1.11', fit_tolerance='1e-08', EG2='0.98', EG='0.98', time_epoch_completed='1789489633.76', return_code2='101', ts='0.00', comment='SUCCESS', return_code='0', GAL='1.11', dlogl='-9.09e-12', ts2='0.00', photon_index_error='0.00', photon_index='2.15' WHERE bin_id='2205' AND source_name='4FGL J1221.5+2814' AND cadence='daily';

Database successfully updated.


Analysis Complete.


Tue Sep 15 09:27:13 PDT 2026

00       10.000    
 **********
 **   15 **SET ERR    .5000    
 **********
 **********
 **   16 **SET GRAD    1.000    
 **********
 **********
 **   17 **MINIMIZE    .6240E+05   .2000E-04
 **********

 MIGRAD MINIMIZATION HAS CONVERGED.

 FCN=   8885.178     FROM MIGRAD    STATUS=CONVERGED    127 CALLS     2840 TOTAL
                     EDM=   .14E-08  STRATEGY=1  ERROR MATRIX UNCERTAINTY=  1.9%

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor     7.1264        1.0424       -.16450E-08   -.16522E-02
   2  Prefactor     9.6806        1.1042        .71144E-08   -.20618E-01
   3  Prefactor     3.2601        3.5812        .15827E-06    .16721E-01
   4  Prefactor     10.652        1.6429       -.38607E-07    .70432E-01
   5  Prefactor     1.7701        1.6175        .55829E-07    .28913E-03
   6  norm          19.062        2.5274       -.11088E-07   -.47139E-02
   7  Prefactor     2.6159        1.5673        .48793E-07    .20790E-01
   8  Prefactor     .11102E-09    1.5061        .19448E-06** at limit **
   9  Prefactor     1.8514        3.3928        .12942E-06   -.71325E-02
  10  norm          17.135        4.4258       -.21090E-07   -.27411E-02
  11  Prefactor     4.0985        2.2013       -.79429E-07   -.45413E-01
  12  Prefactor     1.5147        1.7880       -.45173E-07   -.20170E-02
  13  Prefactor      .0000        1.1765       -.82373E-07** at limit **
  14  Prefactor      .0000        2.1112        .35922E-07** at limit **
  15  norm          .30649E-01    .34616        .57486E-07** at limit **
  16  norm          21.193        5.1784       -.78270E-07    .19581E-01
  17  Prefactor     .13212E-07    4.6289        .33532E-06** at limit **
  18  Prefactor     .18430E-07    3.0144        .21804E-06** at limit **
  19  Prefactor     8.1546        1.0555       -.94206E-09   -.65188E-03
  20  Prefactor     3.3807        2.6385        .70767E-07   -.41944E-01
  21  norm          14.266        1.1716       -.87533E-08   -.68640E-02
  22  Prefactor     .94369E-09    7.1521       -.11402E-06** at limit **
  23  norm          3.5776        3.0254       -.91657E-07   -.24684E-02
  24  norm          93.351        1.7442        .10243E-08    .14624    
  25  norm          98.482        1.2417       -.48072E-08    .16667    
  26  Normalizat    .97730        .21737       -.74259E-05   -.12189E-03
  27  Prefactor     1.1149        .24869        .55563E-05   -.56152E-04
                               ERR DEF=  .500    
Final values: 
  Prefactor  = 7.12639
  Prefactor  = 9.68057
  Prefactor  = 3.26008
  Prefactor  = 10.6517
  Prefactor  = 1.7701
  norm       = 19.0621
  Prefactor  = 2.61594
  Prefactor  = 1.11022e-10
  Prefactor  = 1.85145
  norm       = 17.1351
  Prefactor  = 4.09853
  Prefactor  = 1.51474
  Prefactor  = 0
  Prefactor  = 0
  norm       = 0.0306487
  norm       = 21.1929
  Prefactor  = 1.32117e-08
  Prefactor  = 1.84297e-08
  Prefactor  = 8.1546
  Prefactor  = 3.3807
  norm       = 14.2664
  Prefactor  = 9.4369e-10
  norm       = 3.57763
  norm       = 93.3511
  norm       = 98.4822
  Normalizat = 0.977298
  Prefactor  = 1.11494
Done.

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

Extracting fit parameters...

4FGL J1221.5+2814
   Spectrum: PowerLaw
324    Prefactor:  0.000e+00  7.530e-06  0.000e+00  1.000e+06 ( 1.000e-12)
325        Index:  2.153e+00  0.000e+00  0.000e+00  1.000e+01 (-1.000e+00) fixed
326        Scale:  1.082e+03  0.000e+00  3.000e+01  5.000e+05 ( 1.000e+00) fixed

GAL_V02
   Spectrum: PowerLaw
621    Prefactor:  1.115e+00  2.059e-01  0.000e+00  1.000e+01 ( 1.000e+00)
622        Index:  0.000e+00  0.000e+00 -1.000e+00  1.000e+00 ( 1.000e+00) fixed
623        Scale:  1.000e+02  0.000e+00  5.000e+01  2.000e+02 ( 1.000e+00) fixed

EG_v02
   Spectrum: FileFunction
620   Normalization:  9.773e-01  1.846e-01  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Fixed Index): 0.00
Ra Dec: 185.378 28.238
Photon Flux Upper Limit: 5.08390320446e-08 ph cm-2 s-1
Energy Flux Upper Limit: 0.00385979837852 MeV cm-2 s-1

Saving results to:
/lscratch/kocevski/38303378/likelihoodResults_810864001_811123201_4FGL_J1221.5+2814_daily_bin2205.txt

Performing a free index iterative likelihood fit...

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

Done.

Freeing candidate source...
Done.

Fit tolerance = 1

Performing likelihood fit...
Done.

MINUIT Return Code (Free Index): 102
logL (Free Index) = 8885.18074403
delta logL = -0.0022909174786

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

MINUIT Return Code (Free Index): 102
logL (Free Index) = 8885.17845317
delta logL = -5.47261151951e-08

Fit tolerance = 1e-08

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

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

 MIGRAD MINIMIZATION HAS CONVERGED.

 MIGRAD WILL VERIFY CONVERGENCE AND ERROR MATRIX.
  MNHESS FAILS AND WILL RETURN DIAGONAL MATRIX. 

 FCN=   8885.178     FROM MIGRAD    STATUS=CONVERGED     40 CALLS      247 TOTAL
                     EDM=   .39E-10  STRATEGY=1  ERROR MATRIX UNCERTAINTY=100.0%

  EXT PARAMETER                APPROXIMATE        STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor      .0000        .49632        .42118E-03** at limit **
   2  Index         1.2610        .83399       -.60839E-04     .0000    
   3  Normalizat    .97730        1.3084        .17926E-04   -.30033E-04
   4  Prefactor     1.1149        1.1395       -.23006E-04    .61632E-04
                               ERR DEF=  .500    
Final values: 
  Prefactor  = 0
  Index      = 1.26105
  Normalizat = 0.977298
  Prefactor  = 1.11494
 **********
 **   18 **HESSE 
 **********
  MNHESS FAILS AND WILL RETURN DIAGONAL MATRIX. 

 FCN=   8885.178     FROM HESSE     STATUS=FAILED         9 CALLS      256 TOTAL
                     EDM=   .39E-10  STRATEGY=1  ERROR MATRIX UNCERTAINTY=100.0%

  EXT PARAMETER                APPROXIMATE     INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  Prefactor      .0000        .49632        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   2  Index         .11626        1.2647       -.60839E-04   -.84473    
   3  Normalizat    .97730        1.3084        .17926E-04   -.93795    
   4  Prefactor     1.1149        1.1395       -.23006E-04   -.88991    
                               ERR DEF=  .500    
Minuit fit quality: 1   estimated distance: 3.89857e-11
Minuit parameter uncertainties:
  1  4.45774e-06
  2  0.843023
  3  1.35549
  4  1.16601
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) = 8885.17845311
delta logL = -9.09494701773e-12

Extracting fit parameters...

4FGL J1221.5+2814
   Spectrum: PowerLaw
324    Prefactor:  0.000e+00  4.458e-06  0.000e+00  1.000e+06 ( 1.000e-12)
325        Index:  1.261e+00  8.430e-01  0.000e+00  1.000e+01 (-1.000e+00)
326        Scale:  1.082e+03  0.000e+00  3.000e+01  5.000e+05 ( 1.000e+00) fixed

GAL_V02
   Spectrum: PowerLaw
621    Prefactor:  1.115e+00  1.166e+00  0.000e+00  1.000e+01 ( 1.000e+00)
622        Index:  0.000e+00  0.000e+00 -1.000e+00  1.000e+00 ( 1.000e+00) fixed
623        Scale:  1.000e+02  0.000e+00  5.000e+01  2.000e+02 ( 1.000e+00) fixed

EG_v02
   Spectrum: FileFunction
620   Normalization:  9.773e-01  1.355e+00  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Free Index): 0.00
Ra Dec: 185.378 28.238

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/38303378/cmap_HighResolution_810864001_811123201_4FGL_J1221.5+2814_daily_bin2205.png

Cleaning up...

** Nuclear option initiated! **

Updating database...

UPDATE lightcurve_data_v2 SET energy_flux_upper_limit='3.86e-03', job_status='DONE', photon_flux_upper_limit='5.08e-08', time_completed='2026-09-15 09:27:38.179344', job_id='38303378', GAL2='1.11', fit_tolerance='1e-08', EG2='0.98', EG='0.98', time_epoch_completed='1789489658.18', return_code2='101', ts='0.00', comment='SUCCESS', return_code='0', GAL='1.11', dlogl='-9.09e-12', ts2='0.00', photon_index_error='0.00', photon_index='2.15' WHERE bin_id='2205' AND source_name='4FGL J1221.5+2814' AND cadence='daily';

Database successfully updated.


Analysis Complete.


Tue Sep 15 09:27:38 PDT 2026

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

 FCN=   8885.178     FROM HESSE     STATUS=OK           558 CALLS     3398 TOTAL
                     EDM=   .94E-06    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  Prefactor     7.1264        17.723        .37550E-03   -1.5655    
   2  Prefactor     9.6806        13.579        .32182E-03   -1.5646    
   3  Prefactor     3.2601        4.3375        .56066E-03   -1.5672    
   4  Prefactor     10.652        20.134        .30685E-03   -1.5643    
   5  Prefactor     1.7701        1.6763        .78682E-03   -1.5681    
   6  norm          19.062        2.5593        .22912E-03   -1.5621    
   7  Prefactor     2.6159        3.7902        .63048E-03   -1.5676    
   8  Prefactor     .11102E-09    1.5008        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   9  Prefactor     1.8514        3.6881        .76590E-03   -1.5681    
  10  norm          17.135        4.4755        .24168E-03   -1.5625    
  11  Prefactor     4.0985        4.7563        .49771E-03   -1.5667    
  12  Prefactor     1.5147        1.8025        .86835E-03   -1.5683    
  13  Prefactor      .0000        1.1552        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  14  Prefactor      .0000        2.1186        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  15  norm          .30649E-01    .13547        .12400E-02   -1.5704    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  16  norm          21.193        5.7994        .21729E-03   -1.5616    
  17  Prefactor     .13212E-07    7.4527        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  18  Prefactor     .18430E-07    6.9912        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  19  Prefactor     8.1546        6.3606        .35085E-03   -1.5651    
  20  Prefactor     3.3807        4.1786        .55000E-03   -1.5671    
  21  norm          14.266        5.6416        .26491E-03   -1.5632    
  22  Prefactor     .94369E-09    7.5751        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  23  norm          3.5776        3.0478        .53404E-03   -1.5670    
  24  norm          93.351        15.812        .10351E-03   -1.5515    
  25  norm          98.482        30.883        .10077E-03   -1.5509    
  26  Normalizat    .97730        .18451        .70843E-01   -.93795    
  27  Prefactor     1.1149        .20580        .77216E-01   -.88991    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 9.4424e-07
Minuit parameter uncertainties:
  1  17.7229
  2  13.5793
  3  4.33751
  4  20.1341
  5  1.67629
  6  2.55933
  7  3.79017
  8  2.333e-05
  9  3.68809
  10  4.47552
  11  4.75626
  12  1.80248
  13  7.52996e-06
  14  1.12693e-06
  15  0.128872
  16  5.79937
  17  0.000627033
  18  0.000717687
  19  6.36062
  20  4.17862
  21  5.64161
  22  0.000167729
  23  3.0478
  24  15.8122
  25  30.8828
  26  0.184633
  27  0.205948
number of points = 7633
number of fields = 31
RA_SUN column already exists. File will not be modified.
Done.


Performing analysis on: 4FGL_J1221.5+2814_daily_bin2205
RA = 185.378, Dec = 28.2382
tmin = 810864001, tmax = 811123201
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='38303984', job_status='RUN', time_executed='2026-09-15 09:26:53.375176', time_epoch_executed='1789489613.38' WHERE source_name='4FGL J1221.5+2814' and cadence='daily' and bin_id='2205'

Database successfully updated.
Done.

Creating custom output directory:
/lscratch/kocevski/38303984

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

Retrieving the FT1 file...

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

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

Retrieving 47 files...
Done.


Merging files...

Checksum keywords updated successfully.

Merged file saved to:
/lscratch/kocevski/38303984/ft1_4FGL_J1221.5+2814_daily_bin2205.fits


Retrieving the FT1 file...

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

Retrieving 47 files...
Done.


Merging files...

Merged file saved to:
/lscratch/kocevski/38303984/ft2_4FGL_J1221.5+2814_daily_bin2205.fits


Selecting the photons:
time -p gtselect infile=/lscratch/kocevski/38303984/ft1_4FGL_J1221.5+2814_daily_bin2205.fits outfile=/lscratch/kocevski/38303984/ft1_filteredMKT_4FGL_J1221.5+2814_daily_bin2205.fits ra=185.378 dec=28.2382 rad=12.0 tmin=810864001.0 tmax=811123201.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 3.07
user 2.48
sys 0.19

Adding sun position to ft2 file:
/sdf/group/fermi/g/LCRepository/Repository/bin/sunpos /lscratch/kocevski/38303984/ft2_4FGL_J1221.5+2814_daily_bin2205.fits

Selecting the good time intervals:
time -p gtmktime scfile=/lscratch/kocevski/38303984/ft2_4FGL_J1221.5+2814_daily_bin2205.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/38303984/ft1_filteredMKT_4FGL_J1221.5+2814_daily_bin2205.fits evtable="EVENTS" outfile="/lscratch/kocevski/38303984/ft1_filtered_4FGL_J1221.5+2814_daily_bin2205.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.58
user 0.16
sys 0.14

Number of photons that the gtmktime cut: 876

Generating the livetime cube:
time -p gtltcube evfile="/lscratch/kocevski/38303984/ft1_filtered_4FGL_J1221.5+2814_daily_bin2205.fits" evtable="EVENTS" scfile=/lscratch/kocevski/38303984/ft2_4FGL_J1221.5+2814_daily_bin2205.fits sctable="SC_DATA" ouDone.

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

Extracting fit parameters...

4FGL J1221.5+2814
   Spectrum: PowerLaw
324    Prefactor:  0.000e+00  7.530e-06  0.000e+00  1.000e+06 ( 1.000e-12)
325        Index:  2.153e+00  0.000e+00  0.000e+00  1.000e+01 (-1.000e+00) fixed
326        Scale:  1.082e+03  0.000e+00  3.000e+01  5.000e+05 ( 1.000e+00) fixed

GAL_V02
   Spectrum: PowerLaw
621    Prefactor:  1.115e+00  2.059e-01  0.000e+00  1.000e+01 ( 1.000e+00)
622        Index:  0.000e+00  0.000e+00 -1.000e+00  1.000e+00 ( 1.000e+00) fixed
623        Scale:  1.000e+02  0.000e+00  5.000e+01  2.000e+02 ( 1.000e+00) fixed

EG_v02
   Spectrum: FileFunction
620   Normalization:  9.773e-01  1.846e-01  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Fixed Index): 0.00
Ra Dec: 185.378 28.238
Photon Flux Upper Limit: 5.08390320446e-08 ph cm-2 s-1
Energy Flux Upper Limit: 0.00385979837852 MeV cm-2 s-1

Saving results to:
/lscratch/kocevski/38303464/likelihoodResults_810864001_811123201_4FGL_J1221.5+2814_daily_bin2205.txt

Performing a free index iterative likelihood fit...

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

Done.

Freeing candidate source...
Done.

Fit tolerance = 1

Performing likelihood fit...
Done.

MINUIT Return Code (Free Index): 102
logL (Free Index) = 8885.18074403
delta logL = -0.0022909174786

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

MINUIT Return Code (Free Index): 102
logL (Free Index) = 8885.17845317
delta logL = -5.47261151951e-08

Fit tolerance = 1e-08

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

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

 MIGRAD MINIMIZATION HAS CONVERGED.

 MIGRAD WILL VERIFY CONVERGENCE AND ERROR MATRIX.
  MNHESS FAILS AND WILL RETURN DIAGONAL MATRIX. 

 FCN=   8885.178     FROM MIGRAD    STATUS=CONVERGED     40 CALLS      247 TOTAL
                     EDM=   .39E-10  STRATEGY=1  ERROR MATRIX UNCERTAINTY=100.0%

  EXT PARAMETER                APPROXIMATE        STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor      .0000        .49632        .42118E-03** at limit **
   2  Index         1.2610        .83399       -.60839E-04     .0000    
   3  Normalizat    .97730        1.3084        .17926E-04   -.30033E-04
   4  Prefactor     1.1149        1.1395       -.23006E-04    .61632E-04
                               ERR DEF=  .500    
Final values: 
  Prefactor  = 0
  Index      = 1.26105
  Normalizat = 0.977298
  Prefactor  = 1.11494
 **********
 **   18 **HESSE 
 **********
  MNHESS FAILS AND WILL RETURN DIAGONAL MATRIX. 

 FCN=   8885.178     FROM HESSE     STATUS=FAILED         9 CALLS      256 TOTAL
                     EDM=   .39E-10  STRATEGY=1  ERROR MATRIX UNCERTAINTY=100.0%

  EXT PARAMETER                APPROXIMATE     INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  Prefactor      .0000        .49632        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   2  Index         .11626        1.2647       -.60839E-04   -.84473    
   3  Normalizat    .97730        1.3084        .17926E-04   -.93795    
   4  Prefactor     1.1149        1.1395       -.23006E-04   -.88991    
                               ERR DEF=  .500    
Minuit fit quality: 1   estimated distance: 3.89857e-11
Minuit parameter uncertainties:
  1  4.45774e-06
  2  0.843023
  3  1.35549
  4  1.16601
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) = 8885.17845311
delta logL = -9.09494701773e-12

Extracting fit parameters...

4FGL J1221.5+2814
   Spectrum: PowerLaw
324    Prefactor:  0.000e+00  4.458e-06  0.000e+00  1.000e+06 ( 1.000e-12)
325        Index:  1.261e+00  8.430e-01  0.000e+00  1.000e+01 (-1.000e+00)
326        Scale:  1.082e+03  0.000e+00  3.000e+01  5.000e+05 ( 1.000e+00) fixed

GAL_V02
   Spectrum: PowerLaw
621    Prefactor:  1.115e+00  1.166e+00  0.000e+00  1.000e+01 ( 1.000e+00)
622        Index:  0.000e+00  0.000e+00 -1.000e+00  1.000e+00 ( 1.000e+00) fixed
623        Scale:  1.000e+02  0.000e+00  5.000e+01  2.000e+02 ( 1.000e+00) fixed

EG_v02
   Spectrum: FileFunction
620   Normalization:  9.773e-01  1.355e+00  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Free Index): 0.00
Ra Dec: 185.378 28.238

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/38303464/cmap_HighResolution_810864001_811123201_4FGL_J1221.5+2814_daily_bin2205.png

Cleaning up...

** Nuclear option initiated! **

Updating database...

UPDATE lightcurve_data_v2 SET energy_flux_upper_limit='3.86e-03', job_status='DONE', photon_flux_upper_limit='5.08e-08', time_completed='2026-09-15 09:28:39.932890', job_id='38303464', GAL2='1.11', fit_tolerance='1e-08', EG2='0.98', EG='0.98', time_epoch_completed='1789489719.93', return_code2='101', ts='0.00', comment='SUCCESS', return_code='0', GAL='1.11', dlogl='-9.09e-12', ts2='0.00', photon_index_error='0.00', photon_index='2.15' WHERE bin_id='2205' AND source_name='4FGL J1221.5+2814' AND cadence='daily';

Database successfully updated.


Analysis Complete.


Tue Sep 15 09:28:40 PDT 2026

_V02
Working on...
/lscratch/kocevski/38303523/ft1_filtered_4FGL_J1221.5+2814_daily_bin2205.fits.....................!
real 32.15
user 30.32
sys 1.15

Creating the likelihood object...
obs = UnbinnedObs('/lscratch/kocevski/38303523/ft1_filtered_4FGL_J1221.5+2814_daily_bin2205.fits', '/lscratch/kocevski/38303523/ft2_4FGL_J1221.5+2814_daily_bin2205.fits', expMap='/lscratch/kocevski/38303523/expmap_810864001_811123201_4FGL_J1221.5+2814_daily_bin2205.fits', expCube='/lscratch/kocevski/38303523/ltcube_810864001_811123201_4FGL_J1221.5+2814_daily_bin2205.fits', irfs='P8R3_SOURCE_V2')
like = UnbinnedAnalysis(obs, '/lscratch/kocevski/38303523/Model_4FGL_J1221.5+2814_daily_bin2205.xml', optimizer='MINUIT')

Using source of interest name: '4FGL J1221.5+2814'

4FGL J1221.5+2814
   Spectrum: PowerLaw
324    Prefactor:  3.206e+00  0.000e+00  0.000e+00  1.000e+06 ( 1.000e-12)
325        Index:  2.153e+00  0.000e+00  0.000e+00  1.000e+01 (-1.000e+00) fixed
326        Scale:  1.082e+03  0.000e+00  3.000e+01  5.000e+05 ( 1.000e+00) fixed


Likelihood Fit Parameters:
Event file(s): /lscratch/kocevski/38303523/ft1_filtered_4FGL_J1221.5+2814_daily_bin2205.fits
Spacecraft file(s): /lscratch/kocevski/38303523/ft2_4FGL_J1221.5+2814_daily_bin2205.fits
Exposure map: /lscratch/kocevski/38303523/expmap_810864001_811123201_4FGL_J1221.5+2814_daily_bin2205.fits
Exposure cube: /lscratch/kocevski/38303523/ltcube_810864001_811123201_4FGL_J1221.5+2814_daily_bin2205.fits
IRFs: P8R3_SOURCE_V2
Source model file: /lscratch/kocevski/38303523/Model_4FGL_J1221.5+2814_daily_bin2205.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) = 8885.21252092

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

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

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'Prefactor '    7.1274       1.0000          .0000       .10000E+07
     2 'Prefactor '    9.6812       1.0000          .0000       .10000E+07
     3 'Prefactor '    3.2598       1.0000          .0000       .10000E+07
     4 'Prefactor '    10.644       1.0000          .0000       .10000E+07
     5 'Prefactor '    1.7701       1.0000          .0000       .10000E+07
     6 'norm      '    19.062       1.0000          .0000       .10000E+07
     7 'Prefactor '    2.6151       1.0000          .0000       .10000E+07
     8 'Prefactor '    .65503E-08   1.0000          .0000       .10000E+07
     9 'Prefactor '    1.8514       1.0000          .0000       .10000E+07
    10 'norm      '    17.135       1.0000          .0000       .10000E+07
    11 'Prefactor '    4.0988       1.0000          .0000       .10000E+07
    12 'Prefactor '    1.5147       1.0000          .0000       .10000E+07
    13 'Prefactor '    .55511E-10   1.0000          .0000       .10000E+07
    14 'Prefactor '    .55511E-09   1.0000          .0000       .10000E+07
    15 'norm      '    .30766E-01   1.0000          .0000       .10000E+07
    16 'norm      '    21.192       1.0000          .0000       .10000E+07
    17 'Prefactor '    .57177E-05   1.0000          .0000       .10000E+07
    18 'Prefactor '    .38858E-09   1.0000          .0000       .10000E+07
    19 'Prefactor '    8.1544       1.0000          .0000       .10000E+07
    20 'Prefactor '    3.3814       1.0000          .0000       .10000E+07
    21 'norm      '    14.267       1.0000          .0000       .10000E+07
    22 'Prefactor '    .10386E-06   1.0000          .0000       .10000E+07
    23 'norm      '    3.5776       1.0000          .0000       .10000E+07
    24 'norm      '    93.346       1.0000          .0000       .10000E+07
    25 'norm      '    98.486       1.0000          .0000       .10000E+07
    26 'Normalizat'    .97746       1.0000         .10000E-01   10.000    
    27 'Prefactor '    1.1148       1.0000          .00_V02
Working on...
/lscratch/kocevski/38303527/ft1_filtered_4FGL_J1221.5+2814_daily_bin2205.fits.....................!
real 31.57
user 30.36
sys 0.79

Creating the likelihood object...
obs = UnbinnedObs('/lscratch/kocevski/38303527/ft1_filtered_4FGL_J1221.5+2814_daily_bin2205.fits', '/lscratch/kocevski/38303527/ft2_4FGL_J1221.5+2814_daily_bin2205.fits', expMap='/lscratch/kocevski/38303527/expmap_810864001_811123201_4FGL_J1221.5+2814_daily_bin2205.fits', expCube='/lscratch/kocevski/38303527/ltcube_810864001_811123201_4FGL_J1221.5+2814_daily_bin2205.fits', irfs='P8R3_SOURCE_V2')
like = UnbinnedAnalysis(obs, '/lscratch/kocevski/38303527/Model_4FGL_J1221.5+2814_daily_bin2205.xml', optimizer='MINUIT')

Using source of interest name: '4FGL J1221.5+2814'

4FGL J1221.5+2814
   Spectrum: PowerLaw
324    Prefactor:  3.206e+00  0.000e+00  0.000e+00  1.000e+06 ( 1.000e-12)
325        Index:  2.153e+00  0.000e+00  0.000e+00  1.000e+01 (-1.000e+00) fixed
326        Scale:  1.082e+03  0.000e+00  3.000e+01  5.000e+05 ( 1.000e+00) fixed


Likelihood Fit Parameters:
Event file(s): /lscratch/kocevski/38303527/ft1_filtered_4FGL_J1221.5+2814_daily_bin2205.fits
Spacecraft file(s): /lscratch/kocevski/38303527/ft2_4FGL_J1221.5+2814_daily_bin2205.fits
Exposure map: /lscratch/kocevski/38303527/expmap_810864001_811123201_4FGL_J1221.5+2814_daily_bin2205.fits
Exposure cube: /lscratch/kocevski/38303527/ltcube_810864001_811123201_4FGL_J1221.5+2814_daily_bin2205.fits
IRFs: P8R3_SOURCE_V2
Source model file: /lscratch/kocevski/38303527/Model_4FGL_J1221.5+2814_daily_bin2205.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) = 8885.21252092

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

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

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'Prefactor '    7.1274       1.0000          .0000       .10000E+07
     2 'Prefactor '    9.6812       1.0000          .0000       .10000E+07
     3 'Prefactor '    3.2598       1.0000          .0000       .10000E+07
     4 'Prefactor '    10.644       1.0000          .0000       .10000E+07
     5 'Prefactor '    1.7701       1.0000          .0000       .10000E+07
     6 'norm      '    19.062       1.0000          .0000       .10000E+07
     7 'Prefactor '    2.6151       1.0000          .0000       .10000E+07
     8 'Prefactor '    .65503E-08   1.0000          .0000       .10000E+07
     9 'Prefactor '    1.8514       1.0000          .0000       .10000E+07
    10 'norm      '    17.135       1.0000          .0000       .10000E+07
    11 'Prefactor '    4.0988       1.0000          .0000       .10000E+07
    12 'Prefactor '    1.5147       1.0000          .0000       .10000E+07
    13 'Prefactor '    .55511E-10   1.0000          .0000       .10000E+07
    14 'Prefactor '    .55511E-09   1.0000          .0000       .10000E+07
    15 'norm      '    .30766E-01   1.0000          .0000       .10000E+07
    16 'norm      '    21.192       1.0000          .0000       .10000E+07
    17 'Prefactor '    .57177E-05   1.0000          .0000       .10000E+07
    18 'Prefactor '    .38858E-09   1.0000          .0000       .10000E+07
    19 'Prefactor '    8.1544       1.0000          .0000       .10000E+07
    20 'Prefactor '    3.3814       1.0000          .0000       .10000E+07
    21 'norm      '    14.267       1.0000          .0000       .10000E+07
    22 'Prefactor '    .10386E-06   1.0000          .0000       .10000E+07
    23 'norm      '    3.5776       1.0000          .0000       .10000E+07
    24 'norm      '    93.346       1.0000          .0000       .10000E+07
    25 'norm      '    98.486       1.0000          .0000       .10000E+07
    26 'Normalizat'    .97746       1.0000         .10000E-01   10.000    
    27 'Prefactor '    1.1148       1.0000          .0000       10.000    
 **********
 **   15 **SET ERR    .5000    
 **********
 **********
 **   16 **SET GRAD    1.000    
 **********
 **********
 **   17 **MINIMIZE    .6240E+05   .2000E-04
 **********

 MIGRAD MINIMIZATION HAS CONVERGED.

 FCN=   8885.178     FROM MIGRAD    STATUS=CONVERGED    127 CALLS     2840 TOTAL
                     EDM=   .14E-08  STRATEGY=1  ERROR MATRIX UNCERTAINTY=  1.9%

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor     7.1264        1.0424       -.16450E-08   -.16522E-02
   2  Prefactor     9.6806        1.1042        .71144E-08   -.20618E-01
   3  Prefactor     3.2601        3.5812        .15827E-06    .16721E-01
   4  Prefactor     10.652        1.6429       -.38607E-07    .70432E-01
   5  Prefactor     1.7701        1.6175        .55829E-07    .28913E-03
   6  norm          19.062        2.5274       -.11088E-07   -.47139E-02
   7  Prefactor     2.6159        1.5673        .48793E-07    .20790E-01
   8  Prefactor     .11102E-09    1.5061        .19448E-06** at limit **
   9  Prefactor     1.8514        3.3928        .12942E-06   -.71325E-02
  10  norm          17.135        4.4258       -.21090E-07   -.27411E-02
  11  Prefactor     4.0985        2.2013       -.79429E-07   -.45413E-01
  12  Prefactor     1.5147        1.7880       -.45173E-07   -.20170E-02
  13  Prefactor      .0000        1.1765       -.82373E-07** at limit **
  14  Prefactor      .0000        2.1112        .35922E-07** at limit **
  15  norm          .30649E-01    .34616        .57486E-07** at limit **
  16  norm          21.193        5.1784       -.78270E-07    .19581E-01
  17  Prefactor     .13212E-07    4.6289        .33532E-06** at limit **
  18  Prefactor     .18430E-07    3.0144        .21804E-06** at limit **
  19  Prefactor     8.1546        1.0555       -.94206E-09   -.65188E-03
  20  Prefactor     3.3807        2.6385        .70767E-07   -.41944E-01
  21  norm          14.266        1.1716       -.87533E-08   -.68640E-02
  22  Prefactor     .94369E-09    7.1521       -.11402E-06** at limit **
  23  norm          3.5776        3.0254       -.91657E-07   -.24684E-02
  24  norm          93.351        1.7442        .10243E-08    .14624    
  25  norm          98.482        1.2417       -.48072E-08    .16667    
  26  Normalizat    .97730        .21737       -.74259E-05   -.12189E-03
  27  Prefactor     1.1149        .24869        .55563E-05   -.56152E-04
                               ERR DEF=  .500    
Final values: 
  Prefactor  = 7.12639
  Prefactor  = 9.68057
  Prefactor  = 3.26008
  Prefactor  = 10.6517
  Prefactor  = 1.7701
  norm       = 19.0621
  Prefactor  = 2.61594
  Prefactor  = 1.11022e-10
  Prefactor  = 1.85145
  norm       = 17.1351
  Prefactor  = 4.09853
  Prefactor  = 1.51474
  Prefactor  = 0
  Prefactor  = 0
  norm       = 0.0306487
  norm       = 21.1929
  Prefactor  = 1.32117e-08
  Prefactor  = 1.84297e-08
  Prefactor  = 8.1546
  Prefactor  = 3.3807
  norm       = 14.2664
  Prefactor  = 9.4369e-10
  norm       = 3.57763
  norm       = 93.3511
  norm       = 98.4822
  Normalizat = 0.977298
  Prefactor  = 1.11494
00       10.000    
 **********
 **   15 **SET ERR    .5000    
 **********
 **********
 **   16 **SET GRAD    1.000    
 **********
 **********
 **   17 **MINIMIZE    .6240E+05   .2000E-04
 **********

 MIGRAD MINIMIZATION HAS CONVERGED.

 FCN=   8885.178     FROM MIGRAD    STATUS=CONVERGED    127 CALLS     2840 TOTAL
                     EDM=   .14E-08  STRATEGY=1  ERROR MATRIX UNCERTAINTY=  1.9%

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor     7.1264        1.0424       -.16450E-08   -.16522E-02
   2  Prefactor     9.6806        1.1042        .71144E-08   -.20618E-01
   3  Prefactor     3.2601        3.5812        .15827E-06    .16721E-01
   4  Prefactor     10.652        1.6429       -.38607E-07    .70432E-01
   5  Prefactor     1.7701        1.6175        .55829E-07    .28913E-03
   6  norm          19.062        2.5274       -.11088E-07   -.47139E-02
   7  Prefactor     2.6159        1.5673        .48793E-07    .20790E-01
   8  Prefactor     .11102E-09    1.5061        .19448E-06** at limit **
   9  Prefactor     1.8514        3.3928        .12942E-06   -.71325E-02
  10  norm          17.135        4.4258       -.21090E-07   -.27411E-02
  11  Prefactor     4.0985        2.2013       -.79429E-07   -.45413E-01
  12  Prefactor     1.5147        1.7880       -.45173E-07   -.20170E-02
  13  Prefactor      .0000        1.1765       -.82373E-07** at limit **
  14  Prefactor      .0000        2.1112        .35922E-07** at limit **
  15  norm          .30649E-01    .34616        .57486E-07** at limit **
  16  norm          21.193        5.1784       -.78270E-07    .19581E-01
  17  Prefactor     .13212E-07    4.6289        .33532E-06** at limit **
  18  Prefactor     .18430E-07    3.0144        .21804E-06** at limit **
  19  Prefactor     8.1546        1.0555       -.94206E-09   -.65188E-03
  20  Prefactor     3.3807        2.6385        .70767E-07   -.41944E-01
  21  norm          14.266        1.1716       -.87533E-08   -.68640E-02
  22  Prefactor     .94369E-09    7.1521       -.11402E-06** at limit **
  23  norm          3.5776        3.0254       -.91657E-07   -.24684E-02
  24  norm          93.351        1.7442        .10243E-08    .14624    
  25  norm          98.482        1.2417       -.48072E-08    .16667    
  26  Normalizat    .97730        .21737       -.74259E-05   -.12189E-03
  27  Prefactor     1.1149        .24869        .55563E-05   -.56152E-04
                               ERR DEF=  .500    
Final values: 
  Prefactor  = 7.12639
  Prefactor  = 9.68057
  Prefactor  = 3.26008
  Prefactor  = 10.6517
  Prefactor  = 1.7701
  norm       = 19.0621
  Prefactor  = 2.61594
  Prefactor  = 1.11022e-10
  Prefactor  = 1.85145
  norm       = 17.1351
  Prefactor  = 4.09853
  Prefactor  = 1.51474
  Prefactor  = 0
  Prefactor  = 0
  norm       = 0.0306487
  norm       = 21.1929
  Prefactor  = 1.32117e-08
  Prefactor  = 1.84297e-08
  Prefactor  = 8.1546
  Prefactor  = 3.3807
  norm       = 14.2664
  Prefactor  = 9.4369e-10
  norm       = 3.57763
  norm       = 93.3511
  norm       = 98.4822
  Normalizat = 0.977298
  Prefactor  = 1.11494
 **********
 **   18 **HESSE 
 **********

 FCN=   8885.178     FROM HESSE     STATUS=OK           558 CALLS     3398 TOTAL
                     EDM=   .94E-06    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  Prefactor     7.1264        17.723        .37550E-03   -1.5655    
   2  Prefactor     9.6806        13.579        .32182E-03   -1.5646    
   3  Prefactor     3.2601        4.3375        .56066E-03   -1.5672    
   4  Prefactor     10.652        20.134        .30685E-03   -1.5643    
   5  Prefactor     1.7701        1.6763        .78682E-03   -1.5681    
   6  norm          19.062        2.5593        .22912E-03   -1.5621    
   7  Prefactor     2.6159        3.7902        .63048E-03   -1.5676    
   8  Prefactor     .11102E-09    1.5008        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   9  Prefactor     1.8514        3.6881        .76590E-03   -1.5681    
  10  norm          17.135        4.4755        .24168E-03   -1.5625    
  11  Prefactor     4.0985        4.7563        .49771E-03   -1.5667    
  12  Prefactor     1.5147        1.8025        .86835E-03   -1.5683    
  13  Prefactor      .0000        1.1552        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  14  Prefactor      .0000        2.1186        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  15  norm          .30649E-01    .13547        .12400E-02   -1.5704    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  16  norm          21.193        5.7994        .21729E-03   -1.5616    
  17  Prefactor     .13212E-07    7.4527        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  18  Prefactor     .18430E-07    6.9912        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  19  Prefactor     8.1546        6.3606        .35085E-03   -1.5651    
  20  Prefactor     3.3807        4.1786        .55000E-03   -1.5671    
  21  norm          14.266        5.6416        .26491E-03   -1.5632    
  22  Prefactor     .94369E-09    7.5751        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  23  norm          3.5776        3.0478        .53404E-03   -1.5670    
  24  norm          93.351        15.812        .10351E-03   -1.5515    
  25  norm          98.482        30.883        .10077E-03   -1.5509    
  26  Normalizat    .97730        .18451        .70843E-01   -.93795    
  27  Prefactor     1.1149        .20580        .77216E-01   -.88991    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 9.4424e-07
Minuit parameter uncertainties:
  1  17.7229
  2  13.5793
  3  4.33751
  4  20.1341
  5  1.67629
  6  2.55933
  7  3.79017
  8  2.333e-05
  9  3.68809
  10  4.47552
  11  4.75626
  12  1.80248
  13  7.52996e-06
  14  1.12693e-06
  15  0.128872
  16  5.79937
  17  0.000627033
  18  0.000717687
  19  6.36062
  20  4.17862
  21  5.64161
  22  0.000167729
  23  3.0478
  24  15.8122
  25  30.8828
  26  0.184633
  27  0.205948
tfile=/lscratch/kocevski/38303984/ltcube_810864001_811123201_4FGL_J1221.5+2814_daily_bin2205.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/38303984/ft2_4FGL_J1221.5+2814_daily_bin2205.fits
.....................!
real 7.07
user 6.61
sys 0.20

Generating the exposure map:
time -p gtexpmap evfile=/lscratch/kocevski/38303984/ft1_filtered_4FGL_J1221.5+2814_daily_bin2205.fits evtable="EVENTS" scfile=/lscratch/kocevski/38303984/ft2_4FGL_J1221.5+2814_daily_bin2205.fits sctable="SC_DATA" expcube=/lscratch/kocevski/38303984/ltcube_810864001_811123201_4FGL_J1221.5+2814_daily_bin2205.fits outfile=/lscratch/kocevski/38303984/expmap_810864001_811123201_4FGL_J1221.5+2814_daily_bin2205.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/38303984/ltcube_810864001_811123201_4FGL_J1221.5+2814_daily_bin2205.fits
.....................!
real 59.45
user 55.57
sys 3.28

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

Setting source of interest to:
4FGL J1221.5+2814 @ 185.378 28.2382

Creating the counts map:
time -p gtbin evfile=/lscratch/kocevski/38303984/ft1_filtered_4FGL_J1221.5+2814_daily_bin2205.fits scfile=/lscratch/kocevski/38303984/ft2_4FGL_J1221.5+2814_daily_bin2205.fits outfile=/lscratch/kocevski/38303984/cmap_810864001_811123201_4FGL_J1221.5+2814_daily_bin2205.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=185.378 yref=28.2382 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.63
user 0.20
sys 0.13

Creating the high resolution counts map:
time -p gtbin evfile=/lscratch/kocevski/38303984/ft1_filtered_4FGL_J1221.5+2814_daily_bin2205.fits scfile=/lscratch/kocevski/38303984/ft2_4FGL_J1221.5+2814_daily_bin2205.fits outfile=/lscratch/kocevski/38303984/cmap_HighResolution_810864001_811123201_4FGL_J1221.5+2814_daily_bin2205.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=185.378 yref=28.2382 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.59
user 0.19
sys 0.14

Computing the diffuse response:
time -p gtdiffrsp evfile=/lscratch/kocevski/38303984/ft1_filtered_4FGL_J1221.5+2814_daily_bin2205.fits evtable="EVENTS" scfile=/lscratch/kocevski/38303984/ft2_4FGL_J1221.5+2814_daily_bin2205.fits sctable="SC_DATA" srcmdl=/lscratch/kocevski/38303984/Model_4FGL_J1221.5+2814_daily_bin2205.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=   8885.178     FROM HESSE     STATUS=OK           558 CALLS     3398 TOTAL
                     EDM=   .94E-06    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  Prefactor     7.1264        17.723        .37550E-03   -1.5655    
   2  Prefactor     9.6806        13.579        .32182E-03   -1.5646    
   3  Prefactor     3.2601        4.3375        .56066E-03   -1.5672    
   4  Prefactor     10.652        20.134        .30685E-03   -1.5643    
   5  Prefactor     1.7701        1.6763        .78682E-03   -1.5681    
   6  norm          19.062        2.5593        .22912E-03   -1.5621    
   7  Prefactor     2.6159        3.7902        .63048E-03   -1.5676    
   8  Prefactor     .11102E-09    1.5008        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   9  Prefactor     1.8514        3.6881        .76590E-03   -1.5681    
  10  norm          17.135        4.4755        .24168E-03   -1.5625    
  11  Prefactor     4.0985        4.7563        .49771E-03   -1.5667    
  12  Prefactor     1.5147        1.8025        .86835E-03   -1.5683    
  13  Prefactor      .0000        1.1552        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  14  Prefactor      .0000        2.1186        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  15  norm          .30649E-01    .13547        .12400E-02   -1.5704    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  16  norm          21.193        5.7994        .21729E-03   -1.5616    
  17  Prefactor     .13212E-07    7.4527        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  18  Prefactor     .18430E-07    6.9912        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  19  Prefactor     8.1546        6.3606        .35085E-03   -1.5651    
  20  Prefactor     3.3807        4.1786        .55000E-03   -1.5671    
  21  norm          14.266        5.6416        .26491E-03   -1.5632    
  22  Prefactor     .94369E-09    7.5751        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  23  norm          3.5776        3.0478        .53404E-03   -1.5670    
  24  norm          93.351        15.812        .10351E-03   -1.5515    
  25  norm          98.482        30.883        .10077E-03   -1.5509    
  26  Normalizat    .97730        .18451        .70843E-01   -.93795    
  27  Prefactor     1.1149        .20580        .77216E-01   -.88991    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 9.4424e-07
Minuit parameter uncertainties:
  1  17.7229
  2  13.5793
  3  4.33751
  4  20.1341
  5  1.67629
  6  2.55933
  7  3.79017
  8  2.333e-05
  9  3.68809
  10  4.47552
  11  4.75626
  12  1.80248
  13  7.52996e-06
  14  1.12693e-06
  15  0.128872
  16  5.79937
  17  0.000627033
  18  0.000717687
  19  6.36062
  20  4.17862
  21  5.64161
  22  0.000167729
  23  3.0478
  24  15.8122
  25  30.8828
  26  0.184633
  27  0.205948
_V02
Working on...
/lscratch/kocevski/38303571/ft1_filtered_4FGL_J1221.5+2814_daily_bin2205.fits.....................!
real 34.93
user 32.99
sys 1.07

Creating the likelihood object...
obs = UnbinnedObs('/lscratch/kocevski/38303571/ft1_filtered_4FGL_J1221.5+2814_daily_bin2205.fits', '/lscratch/kocevski/38303571/ft2_4FGL_J1221.5+2814_daily_bin2205.fits', expMap='/lscratch/kocevski/38303571/expmap_810864001_811123201_4FGL_J1221.5+2814_daily_bin2205.fits', expCube='/lscratch/kocevski/38303571/ltcube_810864001_811123201_4FGL_J1221.5+2814_daily_bin2205.fits', irfs='P8R3_SOURCE_V2')
like = UnbinnedAnalysis(obs, '/lscratch/kocevski/38303571/Model_4FGL_J1221.5+2814_daily_bin2205.xml', optimizer='MINUIT')

Using source of interest name: '4FGL J1221.5+2814'

4FGL J1221.5+2814
   Spectrum: PowerLaw
324    Prefactor:  3.206e+00  0.000e+00  0.000e+00  1.000e+06 ( 1.000e-12)
325        Index:  2.153e+00  0.000e+00  0.000e+00  1.000e+01 (-1.000e+00) fixed
326        Scale:  1.082e+03  0.000e+00  3.000e+01  5.000e+05 ( 1.000e+00) fixed


Likelihood Fit Parameters:
Event file(s): /lscratch/kocevski/38303571/ft1_filtered_4FGL_J1221.5+2814_daily_bin2205.fits
Spacecraft file(s): /lscratch/kocevski/38303571/ft2_4FGL_J1221.5+2814_daily_bin2205.fits
Exposure map: /lscratch/kocevski/38303571/expmap_810864001_811123201_4FGL_J1221.5+2814_daily_bin2205.fits
Exposure cube: /lscratch/kocevski/38303571/ltcube_810864001_811123201_4FGL_J1221.5+2814_daily_bin2205.fits
IRFs: P8R3_SOURCE_V2
Source model file: /lscratch/kocevski/38303571/Model_4FGL_J1221.5+2814_daily_bin2205.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) = 8885.21252092

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

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

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'Prefactor '    7.1274       1.0000          .0000       .10000E+07
     2 'Prefactor '    9.6812       1.0000          .0000       .10000E+07
     3 'Prefactor '    3.2598       1.0000          .0000       .10000E+07
     4 'Prefactor '    10.644       1.0000          .0000       .10000E+07
     5 'Prefactor '    1.7701       1.0000          .0000       .10000E+07
     6 'norm      '    19.062       1.0000          .0000       .10000E+07
     7 'Prefactor '    2.6151       1.0000          .0000       .10000E+07
     8 'Prefactor '    .65503E-08   1.0000          .0000       .10000E+07
     9 'Prefactor '    1.8514       1.0000          .0000       .10000E+07
    10 'norm      '    17.135       1.0000          .0000       .10000E+07
    11 'Prefactor '    4.0988       1.0000          .0000       .10000E+07
    12 'Prefactor '    1.5147       1.0000          .0000       .10000E+07
    13 'Prefactor '    .55511E-10   1.0000          .0000       .10000E+07
    14 'Prefactor '    .55511E-09   1.0000          .0000       .10000E+07
    15 'norm      '    .30766E-01   1.0000          .0000       .10000E+07
    16 'norm      '    21.192       1.0000          .0000       .10000E+07
    17 'Prefactor '    .57177E-05   1.0000          .0000       .10000E+07
    18 'Prefactor '    .38858E-09   1.0000          .0000       .10000E+07
    19 'Prefactor '    8.1544       1.0000          .0000       .10000E+07
    20 'Prefactor '    3.3814       1.0000          .0000       .10000E+07
    21 'norm      '    14.267       1.0000          .0000       .10000E+07
    22 'Prefactor '    .10386E-06   1.0000          .0000       .10000E+07
    23 'norm      '    3.5776       1.0000          .0000       .10000E+07
    24 'norm      '    93.346       1.0000          .0000       .10000E+07
    25 'norm      '    98.486       1.0000          .0000       .10000E+07
    26 'Normalizat'    .97746       1.0000         .10000E-01   10.000    
    27 'Prefactor '    1.1148       1.0000          .0000       10.000    
 **********
 **   15 **SET ERR    .5000    
 **********
 **********
 **   16 **SET GRAD    1.000    
 **********
 **********
 **   17 **MINIMIZE    .6240E+05   .2000E-04
 **********

 MIGRAD MINIMIZATION HAS CONVERGED.

 FCN=   8885.178     FROM MIGRAD    STATUS=CONVERGED    127 CALLS     2840 TOTAL
                     EDM=   .14E-08  STRATEGY=1  ERROR MATRIX UNCERTAINTY=  1.9%

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor     7.1264        1.0424       -.16450E-08   -.16522E-02
   2  Prefactor     9.6806        1.1042        .71144E-08   -.20618E-01
   3  Prefactor     3.2601        3.5812        .15827E-06    .16721E-01
   4  Prefactor     10.652        1.6429       -.38607E-07    .70432E-01
   5  Prefactor     1.7701        1.6175        .55829E-07    .28913E-03
   6  norm          19.062        2.5274       -.11088E-07   -.47139E-02
   7  Prefactor     2.6159        1.5673        .48793E-07    .20790E-01
   8  Prefactor     .11102E-09    1.5061        .19448E-06** at limit **
   9  Prefactor     1.8514        3.3928        .12942E-06   -.71325E-02
  10  norm          17.135        4.4258       -.21090E-07   -.27411E-02
  11  Prefactor     4.0985        2.2013       -.79429E-07   -.45413E-01
  12  Prefactor     1.5147        1.7880       -.45173E-07   -.20170E-02
  13  Prefactor      .0000        1.1765       -.82373E-07** at limit **
  14  Prefactor      .0000        2.1112        .35922E-07** at limit **
  15  norm          .30649E-01    .34616        .57486E-07** at limit **
  16  norm          21.193        5.1784       -.78270E-07    .19581E-01
  17  Prefactor     .13212E-07    4.6289        .33532E-06** at limit **
  18  Prefactor     .18430E-07    3.0144        .21804E-06** at limit **
  19  Prefactor     8.1546        1.0555       -.94206E-09   -.65188E-03
  20  Prefactor     3.3807        2.6385        .70767E-07   -.41944E-01
  21  norm          14.266        1.1716       -.87533E-08   -.68640E-02
  22  Prefactor     .94369E-09    7.1521       -.11402E-06** at limit **
  23  norm          3.5776        3.0254       -.91657E-07   -.24684E-02
  24  norm          93.351        1.7442        .10243E-08    .14624    
  25  norm          98.482        1.2417       -.48072E-08    .16667    
  26  Normalizat    .97730        .21737       -.74259E-05   -.12189E-03
  27  Prefactor     1.1149        .24869        .55563E-05   -.56152E-04
                               ERR DEF=  .500    
Final values: 
  Prefactor  = 7.12639
  Prefactor  = 9.68057
  Prefactor  = 3.26008
  Prefactor  = 10.6517
  Prefactor  = 1.7701
  norm       = 19.0621
  Prefactor  = 2.61594
  Prefactor  = 1.11022e-10
  Prefactor  = 1.85145
  norm       = 17.1351
  Prefactor  = 4.09853
  Prefactor  = 1.51474
  Prefactor  = 0
  Prefactor  = 0
  norm       = 0.0306487
  norm       = 21.1929
  Prefactor  = 1.32117e-08
  Prefactor  = 1.84297e-08
  Prefactor  = 8.1546
  Prefactor  = 3.3807
  norm       = 14.2664
  Prefactor  = 9.4369e-10
  norm       = 3.57763
  norm       = 93.3511
  norm       = 98.4822
  Normalizat = 0.977298
  Prefactor  = 1.11494
Done.

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

Extracting fit parameters...

4FGL J1221.5+2814
   Spectrum: PowerLaw
324    Prefactor:  0.000e+00  7.530e-06  0.000e+00  1.000e+06 ( 1.000e-12)
325        Index:  2.153e+00  0.000e+00  0.000e+00  1.000e+01 (-1.000e+00) fixed
326        Scale:  1.082e+03  0.000e+00  3.000e+01  5.000e+05 ( 1.000e+00) fixed

GAL_V02
   Spectrum: PowerLaw
621    Prefactor:  1.115e+00  2.059e-01  0.000e+00  1.000e+01 ( 1.000e+00)
622        Index:  0.000e+00  0.000e+00 -1.000e+00  1.000e+00 ( 1.000e+00) fixed
623        Scale:  1.000e+02  0.000e+00  5.000e+01  2.000e+02 ( 1.000e+00) fixed

EG_v02
   Spectrum: FileFunction
620   Normalization:  9.773e-01  1.846e-01  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Fixed Index): 0.00
Ra Dec: 185.378 28.238
Photon Flux Upper Limit: 5.08390320446e-08 ph cm-2 s-1
Energy Flux Upper Limit: 0.00385979837852 MeV cm-2 s-1

Saving results to:
/lscratch/kocevski/38303523/likelihoodResults_810864001_811123201_4FGL_J1221.5+2814_daily_bin2205.txt

Performing a free index iterative likelihood fit...

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

Done.

Freeing candidate source...
Done.

Fit tolerance = 1

Performing likelihood fit...
Done.

MINUIT Return Code (Free Index): 102
logL (Free Index) = 8885.18074403
delta logL = -0.0022909174786

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

MINUIT Return Code (Free Index): 102
logL (Free Index) = 8885.17845317
delta logL = -5.47261151951e-08

Fit tolerance = 1e-08

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

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

 MIGRAD MINIMIZATION HAS CONVERGED.

 MIGRAD WILL VERIFY CONVERGENCE AND ERROR MATRIX.
  MNHESS FAILS AND WILL RETURN DIAGONAL MATRIX. 

 FCN=   8885.178     FROM MIGRAD    STATUS=CONVERGED     40 CALLS      247 TOTAL
                     EDM=   .39E-10  STRATEGY=1  ERROR MATRIX UNCERTAINTY=100.0%

  EXT PARAMETER                APPROXIMATE        STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor      .0000        .49632        .42118E-03** at limit **
   2  Index         1.2610        .83399       -.60839E-04     .0000    
   3  Normalizat    .97730        1.3084        .17926E-04   -.30033E-04
   4  Prefactor     1.1149        1.1395       -.23006E-04    .61632E-04
                               ERR DEF=  .500    
Final values: 
  Prefactor  = 0
  Index      = 1.26105
  Normalizat = 0.977298
  Prefactor  = 1.11494
 **********
 **   18 **HESSE 
 **********
  MNHESS FAILS AND WILL RETURN DIAGONAL MATRIX. 

 FCN=   8885.178     FROM HESSE     STATUS=FAILED         9 CALLS      256 TOTAL
                     EDM=   .39E-10  STRATEGY=1  ERROR MATRIX UNCERTAINTY=100.0%

  EXT PARAMETER                APPROXIMATE     INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  Prefactor      .0000        .49632        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   2  Index         .11626        1.2647       -.60839E-04   -.84473    
   3  Normalizat    .97730        1.3084        .17926E-04   -.93795    
   4  Prefactor     1.1149        1.1395       -.23006E-04   -.88991    
                               ERR DEF=  .500    
Minuit fit quality: 1   estimated distance: 3.89857e-11
Minuit parameter uncertainties:
  1  4.45774e-06
  2  0.843023
  3  1.35549
  4  1.16601
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) = 8885.17845311
delta logL = -9.09494701773e-12

Extracting fit parameters...

4FGL J1221.5+2814
   Spectrum: PowerLaw
324    Prefactor:  0.000e+00  4.458e-06  0.000e+00  1.000e+06 ( 1.000e-12)
325        Index:  1.261e+00  8.430e-01  0.000e+00  1.000e+01 (-1.000e+00)
326        Scale:  1.082e+03  0.000e+00  3.000e+01  5.000e+05 ( 1.000e+00) fixed

GAL_V02
   Spectrum: PowerLaw
621    Prefactor:  1.115e+00  1.166e+00  0.000e+00  1.000e+01 ( 1.000e+00)
622        Index:  0.000e+00  0.000e+00 -1.000e+00  1.000e+00 ( 1.000e+00) fixed
623        Scale:  1.000e+02  0.000e+00  5.000e+01  2.000e+02 ( 1.000e+00) fixed

EG_v02
   Spectrum: FileFunction
620   Normalization:  9.773e-01  1.355e+00  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Free Index): 0.00
Ra Dec: 185.378 28.238

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/38303523/cmap_HighResolution_810864001_811123201_4FGL_J1221.5+2814_daily_bin2205.png

Cleaning up...

** Nuclear option initiated! **

Updating database...

UPDATE lightcurve_data_v2 SET energy_flux_upper_limit='3.86e-03', job_status='DONE', photon_flux_upper_limit='5.08e-08', time_completed='2026-09-15 09:30:34.155273', job_id='38303523', GAL2='1.11', fit_tolerance='1e-08', EG2='0.98', EG='0.98', time_epoch_completed='1789489834.16', return_code2='101', ts='0.00', comment='SUCCESS', return_code='0', GAL='1.11', dlogl='-9.09e-12', ts2='0.00', photon_index_error='0.00', photon_index='2.15' WHERE bin_id='2205' AND source_name='4FGL J1221.5+2814' AND cadence='daily';

Database successfully updated.


Analysis Complete.


Tue Sep 15 09:30:34 PDT 2026

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

 FCN=   8885.178     FROM HESSE     STATUS=OK           558 CALLS     3398 TOTAL
                     EDM=   .94E-06    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  Prefactor     7.1264        17.723        .37550E-03   -1.5655    
   2  Prefactor     9.6806        13.579        .32182E-03   -1.5646    
   3  Prefactor     3.2601        4.3375        .56066E-03   -1.5672    
   4  Prefactor     10.652        20.134        .30685E-03   -1.5643    
   5  Prefactor     1.7701        1.6763        .78682E-03   -1.5681    
   6  norm          19.062        2.5593        .22912E-03   -1.5621    
   7  Prefactor     2.6159        3.7902        .63048E-03   -1.5676    
   8  Prefactor     .11102E-09    1.5008        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   9  Prefactor     1.8514        3.6881        .76590E-03   -1.5681    
  10  norm          17.135        4.4755        .24168E-03   -1.5625    
  11  Prefactor     4.0985        4.7563        .49771E-03   -1.5667    
  12  Prefactor     1.5147        1.8025        .86835E-03   -1.5683    
  13  Prefactor      .0000        1.1552        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  14  Prefactor      .0000        2.1186        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  15  norm          .30649E-01    .13547        .12400E-02   -1.5704    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  16  norm          21.193        5.7994        .21729E-03   -1.5616    
  17  Prefactor     .13212E-07    7.4527        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  18  Prefactor     .18430E-07    6.9912        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  19  Prefactor     8.1546        6.3606        .35085E-03   -1.5651    
  20  Prefactor     3.3807        4.1786        .55000E-03   -1.5671    
  21  norm          14.266        5.6416        .26491E-03   -1.5632    
  22  Prefactor     .94369E-09    7.5751        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  23  norm          3.5776        3.0478        .53404E-03   -1.5670    
  24  norm          93.351        15.812        .10351E-03   -1.5515    
  25  norm          98.482        30.883        .10077E-03   -1.5509    
  26  Normalizat    .97730        .18451        .70843E-01   -.93795    
  27  Prefactor     1.1149        .20580        .77216E-01   -.88991    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 9.4424e-07
Minuit parameter uncertainties:
  1  17.7229
  2  13.5793
  3  4.33751
  4  20.1341
  5  1.67629
  6  2.55933
  7  3.79017
  8  2.333e-05
  9  3.68809
  10  4.47552
  11  4.75626
  12  1.80248
  13  7.52996e-06
  14  1.12693e-06
  15  0.128872
  16  5.79937
  17  0.000627033
  18  0.000717687
  19  6.36062
  20  4.17862
  21  5.64161
  22  0.000167729
  23  3.0478
  24  15.8122
  25  30.8828
  26  0.184633
  27  0.205948
Done.

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

Extracting fit parameters...

4FGL J1221.5+2814
   Spectrum: PowerLaw
324    Prefactor:  0.000e+00  7.530e-06  0.000e+00  1.000e+06 ( 1.000e-12)
325        Index:  2.153e+00  0.000e+00  0.000e+00  1.000e+01 (-1.000e+00) fixed
326        Scale:  1.082e+03  0.000e+00  3.000e+01  5.000e+05 ( 1.000e+00) fixed

GAL_V02
   Spectrum: PowerLaw
621    Prefactor:  1.115e+00  2.059e-01  0.000e+00  1.000e+01 ( 1.000e+00)
622        Index:  0.000e+00  0.000e+00 -1.000e+00  1.000e+00 ( 1.000e+00) fixed
623        Scale:  1.000e+02  0.000e+00  5.000e+01  2.000e+02 ( 1.000e+00) fixed

EG_v02
   Spectrum: FileFunction
620   Normalization:  9.773e-01  1.846e-01  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Fixed Index): 0.00
Ra Dec: 185.378 28.238
Photon Flux Upper Limit: 5.08390320446e-08 ph cm-2 s-1
Energy Flux Upper Limit: 0.00385979837852 MeV cm-2 s-1

Saving results to:
/lscratch/kocevski/38303527/likelihoodResults_810864001_811123201_4FGL_J1221.5+2814_daily_bin2205.txt

Performing a free index iterative likelihood fit...

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

Done.

Freeing candidate source...
Done.

Fit tolerance = 1

Performing likelihood fit...
Done.

MINUIT Return Code (Free Index): 102
logL (Free Index) = 8885.18074403
delta logL = -0.0022909174786

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

MINUIT Return Code (Free Index): 102
logL (Free Index) = 8885.17845317
delta logL = -5.47261151951e-08

Fit tolerance = 1e-08

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

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

 MIGRAD MINIMIZATION HAS CONVERGED.

 MIGRAD WILL VERIFY CONVERGENCE AND ERROR MATRIX.
  MNHESS FAILS AND WILL RETURN DIAGONAL MATRIX. 

 FCN=   8885.178     FROM MIGRAD    STATUS=CONVERGED     40 CALLS      247 TOTAL
                     EDM=   .39E-10  STRATEGY=1  ERROR MATRIX UNCERTAINTY=100.0%

  EXT PARAMETER                APPROXIMATE        STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor      .0000        .49632        .42118E-03** at limit **
   2  Index         1.2610        .83399       -.60839E-04     .0000    
   3  Normalizat    .97730        1.3084        .17926E-04   -.30033E-04
   4  Prefactor     1.1149        1.1395       -.23006E-04    .61632E-04
                               ERR DEF=  .500    
Final values: 
  Prefactor  = 0
  Index      = 1.26105
  Normalizat = 0.977298
  Prefactor  = 1.11494
 **********
 **   18 **HESSE 
 **********
  MNHESS FAILS AND WILL RETURN DIAGONAL MATRIX. 

 FCN=   8885.178     FROM HESSE     STATUS=FAILED         9 CALLS      256 TOTAL
                     EDM=   .39E-10  STRATEGY=1  ERROR MATRIX UNCERTAINTY=100.0%

  EXT PARAMETER                APPROXIMATE     INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  Prefactor      .0000        .49632        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   2  Index         .11626        1.2647       -.60839E-04   -.84473    
   3  Normalizat    .97730        1.3084        .17926E-04   -.93795    
   4  Prefactor     1.1149        1.1395       -.23006E-04   -.88991    
                               ERR DEF=  .500    
Minuit fit quality: 1   estimated distance: 3.89857e-11
Minuit parameter uncertainties:
  1  4.45774e-06
  2  0.843023
  3  1.35549
  4  1.16601
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) = 8885.17845311
delta logL = -9.09494701773e-12

Extracting fit parameters...

4FGL J1221.5+2814
   Spectrum: PowerLaw
324    Prefactor:  0.000e+00  4.458e-06  0.000e+00  1.000e+06 ( 1.000e-12)
325        Index:  1.261e+00  8.430e-01  0.000e+00  1.000e+01 (-1.000e+00)
326        Scale:  1.082e+03  0.000e+00  3.000e+01  5.000e+05 ( 1.000e+00) fixed

GAL_V02
   Spectrum: PowerLaw
621    Prefactor:  1.115e+00  1.166e+00  0.000e+00  1.000e+01 ( 1.000e+00)
622        Index:  0.000e+00  0.000e+00 -1.000e+00  1.000e+00 ( 1.000e+00) fixed
623        Scale:  1.000e+02  0.000e+00  5.000e+01  2.000e+02 ( 1.000e+00) fixed

EG_v02
   Spectrum: FileFunction
620   Normalization:  9.773e-01  1.355e+00  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Free Index): 0.00
Ra Dec: 185.378 28.238

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/38303527/cmap_HighResolution_810864001_811123201_4FGL_J1221.5+2814_daily_bin2205.png

Cleaning up...

** Nuclear option initiated! **

Updating database...

UPDATE lightcurve_data_v2 SET energy_flux_upper_limit='3.86e-03', job_status='DONE', photon_flux_upper_limit='5.08e-08', time_completed='2026-09-15 09:30:39.890247', job_id='38303527', GAL2='1.11', fit_tolerance='1e-08', EG2='0.98', EG='0.98', time_epoch_completed='1789489839.89', return_code2='101', ts='0.00', comment='SUCCESS', return_code='0', GAL='1.11', dlogl='-9.09e-12', ts2='0.00', photon_index_error='0.00', photon_index='2.15' WHERE bin_id='2205' AND source_name='4FGL J1221.5+2814' AND cadence='daily';

Database successfully updated.


Analysis Complete.


Tue Sep 15 09:30:40 PDT 2026

Done.

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

Extracting fit parameters...

4FGL J1221.5+2814
   Spectrum: PowerLaw
324    Prefactor:  0.000e+00  7.530e-06  0.000e+00  1.000e+06 ( 1.000e-12)
325        Index:  2.153e+00  0.000e+00  0.000e+00  1.000e+01 (-1.000e+00) fixed
326        Scale:  1.082e+03  0.000e+00  3.000e+01  5.000e+05 ( 1.000e+00) fixed

GAL_V02
   Spectrum: PowerLaw
621    Prefactor:  1.115e+00  2.059e-01  0.000e+00  1.000e+01 ( 1.000e+00)
622        Index:  0.000e+00  0.000e+00 -1.000e+00  1.000e+00 ( 1.000e+00) fixed
623        Scale:  1.000e+02  0.000e+00  5.000e+01  2.000e+02 ( 1.000e+00) fixed

EG_v02
   Spectrum: FileFunction
620   Normalization:  9.773e-01  1.846e-01  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Fixed Index): 0.00
Ra Dec: 185.378 28.238
Photon Flux Upper Limit: 5.08390320446e-08 ph cm-2 s-1
Energy Flux Upper Limit: 0.00385979837852 MeV cm-2 s-1

Saving results to:
/lscratch/kocevski/38303571/likelihoodResults_810864001_811123201_4FGL_J1221.5+2814_daily_bin2205.txt

Performing a free index iterative likelihood fit...

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

Done.

Freeing candidate source...
Done.

Fit tolerance = 1

Performing likelihood fit...
Done.

MINUIT Return Code (Free Index): 102
logL (Free Index) = 8885.18074403
delta logL = -0.0022909174786

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

MINUIT Return Code (Free Index): 102
logL (Free Index) = 8885.17845317
delta logL = -5.47261151951e-08

Fit tolerance = 1e-08

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

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

 MIGRAD MINIMIZATION HAS CONVERGED.

 MIGRAD WILL VERIFY CONVERGENCE AND ERROR MATRIX.
  MNHESS FAILS AND WILL RETURN DIAGONAL MATRIX. 

 FCN=   8885.178     FROM MIGRAD    STATUS=CONVERGED     40 CALLS      247 TOTAL
                     EDM=   .39E-10  STRATEGY=1  ERROR MATRIX UNCERTAINTY=100.0%

  EXT PARAMETER                APPROXIMATE        STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor      .0000        .49632        .42118E-03** at limit **
   2  Index         1.2610        .83399       -.60839E-04     .0000    
   3  Normalizat    .97730        1.3084        .17926E-04   -.30033E-04
   4  Prefactor     1.1149        1.1395       -.23006E-04    .61632E-04
                               ERR DEF=  .500    
Final values: 
  Prefactor  = 0
  Index      = 1.26105
  Normalizat = 0.977298
  Prefactor  = 1.11494
 **********
 **   18 **HESSE 
 **********
  MNHESS FAILS AND WILL RETURN DIAGONAL MATRIX. 

 FCN=   8885.178     FROM HESSE     STATUS=FAILED         9 CALLS      256 TOTAL
                     EDM=   .39E-10  STRATEGY=1  ERROR MATRIX UNCERTAINTY=100.0%

  EXT PARAMETER                APPROXIMATE     INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  Prefactor      .0000        .49632        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   2  Index         .11626        1.2647       -.60839E-04   -.84473    
   3  Normalizat    .97730        1.3084        .17926E-04   -.93795    
   4  Prefactor     1.1149        1.1395       -.23006E-04   -.88991    
                               ERR DEF=  .500    
Minuit fit quality: 1   estimated distance: 3.89857e-11
Minuit parameter uncertainties:
  1  4.45774e-06
  2  0.843023
  3  1.35549
  4  1.16601
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) = 8885.17845311
delta logL = -9.09494701773e-12

Extracting fit parameters...

4FGL J1221.5+2814
   Spectrum: PowerLaw
324    Prefactor:  0.000e+00  4.458e-06  0.000e+00  1.000e+06 ( 1.000e-12)
325        Index:  1.261e+00  8.430e-01  0.000e+00  1.000e+01 (-1.000e+00)
326        Scale:  1.082e+03  0.000e+00  3.000e+01  5.000e+05 ( 1.000e+00) fixed

GAL_V02
   Spectrum: PowerLaw
621    Prefactor:  1.115e+00  1.166e+00  0.000e+00  1.000e+01 ( 1.000e+00)
622        Index:  0.000e+00  0.000e+00 -1.000e+00  1.000e+00 ( 1.000e+00) fixed
623        Scale:  1.000e+02  0.000e+00  5.000e+01  2.000e+02 ( 1.000e+00) fixed

EG_v02
   Spectrum: FileFunction
620   Normalization:  9.773e-01  1.355e+00  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Free Index): 0.00
Ra Dec: 185.378 28.238

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/38303571/cmap_HighResolution_810864001_811123201_4FGL_J1221.5+2814_daily_bin2205.png

Cleaning up...

** Nuclear option initiated! **

Updating database...

UPDATE lightcurve_data_v2 SET energy_flux_upper_limit='3.86e-03', job_status='DONE', photon_flux_upper_limit='5.08e-08', time_completed='2026-09-15 09:31:29.536661', job_id='38303571', GAL2='1.11', fit_tolerance='1e-08', EG2='0.98', EG='0.98', time_epoch_completed='1789489889.54', return_code2='101', ts='0.00', comment='SUCCESS', return_code='0', GAL='1.11', dlogl='-9.09e-12', ts2='0.00', photon_index_error='0.00', photon_index='2.15' WHERE bin_id='2205' AND source_name='4FGL J1221.5+2814' AND cadence='daily';

Database successfully updated.


Analysis Complete.


Tue Sep 15 09:31:29 PDT 2026

_V02
Working on...
/lscratch/kocevski/38303984/ft1_filtered_4FGL_J1221.5+2814_daily_bin2205.fits.....................!
real 26.02
user 24.57
sys 0.86

Creating the likelihood object...
obs = UnbinnedObs('/lscratch/kocevski/38303984/ft1_filtered_4FGL_J1221.5+2814_daily_bin2205.fits', '/lscratch/kocevski/38303984/ft2_4FGL_J1221.5+2814_daily_bin2205.fits', expMap='/lscratch/kocevski/38303984/expmap_810864001_811123201_4FGL_J1221.5+2814_daily_bin2205.fits', expCube='/lscratch/kocevski/38303984/ltcube_810864001_811123201_4FGL_J1221.5+2814_daily_bin2205.fits', irfs='P8R3_SOURCE_V2')
like = UnbinnedAnalysis(obs, '/lscratch/kocevski/38303984/Model_4FGL_J1221.5+2814_daily_bin2205.xml', optimizer='MINUIT')

Using source of interest name: '4FGL J1221.5+2814'

4FGL J1221.5+2814
   Spectrum: PowerLaw
324    Prefactor:  3.206e+00  0.000e+00  0.000e+00  1.000e+06 ( 1.000e-12)
325        Index:  2.153e+00  0.000e+00  0.000e+00  1.000e+01 (-1.000e+00) fixed
326        Scale:  1.082e+03  0.000e+00  3.000e+01  5.000e+05 ( 1.000e+00) fixed


Likelihood Fit Parameters:
Event file(s): /lscratch/kocevski/38303984/ft1_filtered_4FGL_J1221.5+2814_daily_bin2205.fits
Spacecraft file(s): /lscratch/kocevski/38303984/ft2_4FGL_J1221.5+2814_daily_bin2205.fits
Exposure map: /lscratch/kocevski/38303984/expmap_810864001_811123201_4FGL_J1221.5+2814_daily_bin2205.fits
Exposure cube: /lscratch/kocevski/38303984/ltcube_810864001_811123201_4FGL_J1221.5+2814_daily_bin2205.fits
IRFs: P8R3_SOURCE_V2
Source model file: /lscratch/kocevski/38303984/Model_4FGL_J1221.5+2814_daily_bin2205.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) = 8885.21252092

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

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

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'Prefactor '    7.1274       1.0000          .0000       .10000E+07
     2 'Prefactor '    9.6812       1.0000          .0000       .10000E+07
     3 'Prefactor '    3.2598       1.0000          .0000       .10000E+07
     4 'Prefactor '    10.644       1.0000          .0000       .10000E+07
     5 'Prefactor '    1.7701       1.0000          .0000       .10000E+07
     6 'norm      '    19.062       1.0000          .0000       .10000E+07
     7 'Prefactor '    2.6151       1.0000          .0000       .10000E+07
     8 'Prefactor '    .65503E-08   1.0000          .0000       .10000E+07
     9 'Prefactor '    1.8514       1.0000          .0000       .10000E+07
    10 'norm      '    17.135       1.0000          .0000       .10000E+07
    11 'Prefactor '    4.0988       1.0000          .0000       .10000E+07
    12 'Prefactor '    1.5147       1.0000          .0000       .10000E+07
    13 'Prefactor '    .55511E-10   1.0000          .0000       .10000E+07
    14 'Prefactor '    .55511E-09   1.0000          .0000       .10000E+07
    15 'norm      '    .30766E-01   1.0000          .0000       .10000E+07
    16 'norm      '    21.192       1.0000          .0000       .10000E+07
    17 'Prefactor '    .57177E-05   1.0000          .0000       .10000E+07
    18 'Prefactor '    .38858E-09   1.0000          .0000       .10000E+07
    19 'Prefactor '    8.1544       1.0000          .0000       .10000E+07
    20 'Prefactor '    3.3814       1.0000          .0000       .10000E+07
    21 'norm      '    14.267       1.0000          .0000       .10000E+07
    22 'Prefactor '    .10386E-06   1.0000          .0000       .10000E+07
    23 'norm      '    3.5776       1.0000          .0000       .10000E+07
    24 'norm      '    93.346       1.0000          .0000       .10000E+07
    25 'norm      '    98.486       1.0000          .0000       .10000E+07
    26 'Normalizat'    .97746       1.0000         .10000E-01   10.000    
    27 'Prefactor '    1.1148       1.0000          .0000       10.000    
 **********
 **   15 **SET ERR    .5000    
 **********
 **********
 **   16 **SET GRAD    1.000    
 **********
 **********
 **   17 **MINIMIZE    .6240E+05   .2000E-04
 **********

 MIGRAD MINIMIZATION HAS CONVERGED.

 FCN=   8885.178     FROM MIGRAD    STATUS=CONVERGED    127 CALLS     2840 TOTAL
                     EDM=   .14E-08  STRATEGY=1  ERROR MATRIX UNCERTAINTY=  1.9%

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor     7.1264        1.0424       -.16450E-08   -.16522E-02
   2  Prefactor     9.6806        1.1042        .71144E-08   -.20618E-01
   3  Prefactor     3.2601        3.5812        .15827E-06    .16721E-01
   4  Prefactor     10.652        1.6429       -.38607E-07    .70432E-01
   5  Prefactor     1.7701        1.6175        .55829E-07    .28913E-03
   6  norm          19.062        2.5274       -.11088E-07   -.47139E-02
   7  Prefactor     2.6159        1.5673        .48793E-07    .20790E-01
   8  Prefactor     .11102E-09    1.5061        .19448E-06** at limit **
   9  Prefactor     1.8514        3.3928        .12942E-06   -.71325E-02
  10  norm          17.135        4.4258       -.21090E-07   -.27411E-02
  11  Prefactor     4.0985        2.2013       -.79429E-07   -.45413E-01
  12  Prefactor     1.5147        1.7880       -.45173E-07   -.20170E-02
  13  Prefactor      .0000        1.1765       -.82373E-07** at limit **
  14  Prefactor      .0000        2.1112        .35922E-07** at limit **
  15  norm          .30649E-01    .34616        .57486E-07** at limit **
  16  norm          21.193        5.1784       -.78270E-07    .19581E-01
  17  Prefactor     .13212E-07    4.6289        .33532E-06** at limit **
  18  Prefactor     .18430E-07    3.0144        .21804E-06** at limit **
  19  Prefactor     8.1546        1.0555       -.94206E-09   -.65188E-03
  20  Prefactor     3.3807        2.6385        .70767E-07   -.41944E-01
  21  norm          14.266        1.1716       -.87533E-08   -.68640E-02
  22  Prefactor     .94369E-09    7.1521       -.11402E-06** at limit **
  23  norm          3.5776        3.0254       -.91657E-07   -.24684E-02
  24  norm          93.351        1.7442        .10243E-08    .14624    
  25  norm          98.482        1.2417       -.48072E-08    .16667    
  26  Normalizat    .97730        .21737       -.74259E-05   -.12189E-03
  27  Prefactor     1.1149        .24869        .55563E-05   -.56152E-04
                               ERR DEF=  .500    
Final values: 
  Prefactor  = 7.12639
  Prefactor  = 9.68057
  Prefactor  = 3.26008
  Prefactor  = 10.6517
  Prefactor  = 1.7701
  norm       = 19.0621
  Prefactor  = 2.61594
  Prefactor  = 1.11022e-10
  Prefactor  = 1.85145
  norm       = 17.1351
  Prefactor  = 4.09853
  Prefactor  = 1.51474
  Prefactor  = 0
  Prefactor  = 0
  norm       = 0.0306487
  norm       = 21.1929
  Prefactor  = 1.32117e-08
  Prefactor  = 1.84297e-08
  Prefactor  = 8.1546
  Prefactor  = 3.3807
  norm       = 14.2664
  Prefactor  = 9.4369e-10
  norm       = 3.57763
  norm       = 93.3511
  norm       = 98.4822
  Normalizat = 0.977298
  Prefactor  = 1.11494
 **********
 **   18 **HESSE 
 **********

 FCN=   8885.178     FROM HESSE     STATUS=OK           558 CALLS     3398 TOTAL
                     EDM=   .94E-06    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  Prefactor     7.1264        17.723        .37550E-03   -1.5655    
   2  Prefactor     9.6806        13.579        .32182E-03   -1.5646    
   3  Prefactor     3.2601        4.3375        .56066E-03   -1.5672    
   4  Prefactor     10.652        20.134        .30685E-03   -1.5643    
   5  Prefactor     1.7701        1.6763        .78682E-03   -1.5681    
   6  norm          19.062        2.5593        .22912E-03   -1.5621    
   7  Prefactor     2.6159        3.7902        .63048E-03   -1.5676    
   8  Prefactor     .11102E-09    1.5008        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   9  Prefactor     1.8514        3.6881        .76590E-03   -1.5681    
  10  norm          17.135        4.4755        .24168E-03   -1.5625    
  11  Prefactor     4.0985        4.7563        .49771E-03   -1.5667    
  12  Prefactor     1.5147        1.8025        .86835E-03   -1.5683    
  13  Prefactor      .0000        1.1552        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  14  Prefactor      .0000        2.1186        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  15  norm          .30649E-01    .13547        .12400E-02   -1.5704    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  16  norm          21.193        5.7994        .21729E-03   -1.5616    
  17  Prefactor     .13212E-07    7.4527        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  18  Prefactor     .18430E-07    6.9912        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  19  Prefactor     8.1546        6.3606        .35085E-03   -1.5651    
  20  Prefactor     3.3807        4.1786        .55000E-03   -1.5671    
  21  norm          14.266        5.6416        .26491E-03   -1.5632    
  22  Prefactor     .94369E-09    7.5751        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  23  norm          3.5776        3.0478        .53404E-03   -1.5670    
  24  norm          93.351        15.812        .10351E-03   -1.5515    
  25  norm          98.482        30.883        .10077E-03   -1.5509    
  26  Normalizat    .97730        .18451        .70843E-01   -.93795    
  27  Prefactor     1.1149        .20580        .77216E-01   -.88991    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 9.4424e-07
Minuit parameter uncertainties:
  1  17.7229
  2  13.5793
  3  4.33751
  4  20.1341
  5  1.67629
  6  2.55933
  7  3.79017
  8  2.333e-05
  9  3.68809
  10  4.47552
  11  4.75626
  12  1.80248
  13  7.52996e-06
  14  1.12693e-06
  15  0.128872
  16  5.79937
  17  0.000627033
  18  0.000717687
  19  6.36062
  20  4.17862
  21  5.64161
  22  0.000167729
  23  3.0478
  24  15.8122
  25  30.8828
  26  0.184633
  27  0.205948
Done.

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

Extracting fit parameters...

4FGL J1221.5+2814
   Spectrum: PowerLaw
324    Prefactor:  0.000e+00  7.530e-06  0.000e+00  1.000e+06 ( 1.000e-12)
325        Index:  2.153e+00  0.000e+00  0.000e+00  1.000e+01 (-1.000e+00) fixed
326        Scale:  1.082e+03  0.000e+00  3.000e+01  5.000e+05 ( 1.000e+00) fixed

GAL_V02
   Spectrum: PowerLaw
621    Prefactor:  1.115e+00  2.059e-01  0.000e+00  1.000e+01 ( 1.000e+00)
622        Index:  0.000e+00  0.000e+00 -1.000e+00  1.000e+00 ( 1.000e+00) fixed
623        Scale:  1.000e+02  0.000e+00  5.000e+01  2.000e+02 ( 1.000e+00) fixed

EG_v02
   Spectrum: FileFunction
620   Normalization:  9.773e-01  1.846e-01  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Fixed Index): 0.00
Ra Dec: 185.378 28.238
Photon Flux Upper Limit: 5.08390320446e-08 ph cm-2 s-1
Energy Flux Upper Limit: 0.00385979837852 MeV cm-2 s-1

Saving results to:
/lscratch/kocevski/38303984/likelihoodResults_810864001_811123201_4FGL_J1221.5+2814_daily_bin2205.txt

Performing a free index iterative likelihood fit...

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

Done.

Freeing candidate source...
Done.

Fit tolerance = 1

Performing likelihood fit...
Done.

MINUIT Return Code (Free Index): 102
logL (Free Index) = 8885.18074403
delta logL = -0.0022909174786

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

MINUIT Return Code (Free Index): 102
logL (Free Index) = 8885.17845317
delta logL = -5.47261151951e-08

Fit tolerance = 1e-08

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

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

 MIGRAD MINIMIZATION HAS CONVERGED.

 MIGRAD WILL VERIFY CONVERGENCE AND ERROR MATRIX.
  MNHESS FAILS AND WILL RETURN DIAGONAL MATRIX. 

 FCN=   8885.178     FROM MIGRAD    STATUS=CONVERGED     40 CALLS      247 TOTAL
                     EDM=   .39E-10  STRATEGY=1  ERROR MATRIX UNCERTAINTY=100.0%

  EXT PARAMETER                APPROXIMATE        STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor      .0000        .49632        .42118E-03** at limit **
   2  Index         1.2610        .83399       -.60839E-04     .0000    
   3  Normalizat    .97730        1.3084        .17926E-04   -.30033E-04
   4  Prefactor     1.1149        1.1395       -.23006E-04    .61632E-04
                               ERR DEF=  .500    
Final values: 
  Prefactor  = 0
  Index      = 1.26105
  Normalizat = 0.977298
  Prefactor  = 1.11494
 **********
 **   18 **HESSE 
 **********
  MNHESS FAILS AND WILL RETURN DIAGONAL MATRIX. 

 FCN=   8885.178     FROM HESSE     STATUS=FAILED         9 CALLS      256 TOTAL
                     EDM=   .39E-10  STRATEGY=1  ERROR MATRIX UNCERTAINTY=100.0%

  EXT PARAMETER                APPROXIMATE     INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  Prefactor      .0000        .49632        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   2  Index         .11626        1.2647       -.60839E-04   -.84473    
   3  Normalizat    .97730        1.3084        .17926E-04   -.93795    
   4  Prefactor     1.1149        1.1395       -.23006E-04   -.88991    
                               ERR DEF=  .500    
Minuit fit quality: 1   estimated distance: 3.89857e-11
Minuit parameter uncertainties:
  1  4.45774e-06
  2  0.843023
  3  1.35549
  4  1.16601
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) = 8885.17845311
delta logL = -9.09494701773e-12

Extracting fit parameters...

4FGL J1221.5+2814
   Spectrum: PowerLaw
324    Prefactor:  0.000e+00  4.458e-06  0.000e+00  1.000e+06 ( 1.000e-12)
325        Index:  1.261e+00  8.430e-01  0.000e+00  1.000e+01 (-1.000e+00)
326        Scale:  1.082e+03  0.000e+00  3.000e+01  5.000e+05 ( 1.000e+00) fixed

GAL_V02
   Spectrum: PowerLaw
621    Prefactor:  1.115e+00  1.166e+00  0.000e+00  1.000e+01 ( 1.000e+00)
622        Index:  0.000e+00  0.000e+00 -1.000e+00  1.000e+00 ( 1.000e+00) fixed
623        Scale:  1.000e+02  0.000e+00  5.000e+01  2.000e+02 ( 1.000e+00) fixed

EG_v02
   Spectrum: FileFunction
620   Normalization:  9.773e-01  1.355e+00  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Free Index): 0.00
Ra Dec: 185.378 28.238

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/38303984/cmap_HighResolution_810864001_811123201_4FGL_J1221.5+2814_daily_bin2205.png

Cleaning up...

** Nuclear option initiated! **

Updating database...

UPDATE lightcurve_data_v2 SET energy_flux_upper_limit='3.86e-03', job_status='DONE', photon_flux_upper_limit='5.08e-08', time_completed='2026-09-15 09:33:41.062391', job_id='38303984', GAL2='1.11', fit_tolerance='1e-08', EG2='0.98', EG='0.98', time_epoch_completed='1789490021.06', return_code2='101', ts='0.00', comment='SUCCESS', return_code='0', GAL='1.11', dlogl='-9.09e-12', ts2='0.00', photon_index_error='0.00', photon_index='2.15' WHERE bin_id='2205' AND source_name='4FGL J1221.5+2814' AND cadence='daily';

Database successfully updated.


Analysis Complete.


Tue Sep 15 09:33:41 PDT 2026

