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

 FCN=   8338.073     FROM HESSE     STATUS=OK           544 CALLS     2936 TOTAL
                     EDM=   .34E-06    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  norm          15.310        5.2568        .25632E-03   -1.5630    
   2  Prefactor     3.6928        6.9701        .52653E-03   -1.5670    
   3  Prefactor     12.989        9.0703        .27785E-03   -1.5636    
   4  norm          .97028        9.2837        .42621E-03   -1.5688    
   5  Prefactor     .74885E-07    13.944        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   6  Prefactor     .99920E-08    38.672        .16853E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   7  norm          9.4277        4.3821        .32595E-03   -1.5647    
   8  norm          1.5472        .38190        .59356E-03   -1.5683    
   9  Prefactor     .53291E-08    8.5671        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  10  Prefactor     42.638        20.428        .15298E-03   -1.5577    
  11  Prefactor     .23370E-06    3.0960        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  12  Prefactor     1.6821        2.3864        .81338E-03   -1.5682    
  13  norm          .11985E-06    4.7319        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  14  Prefactor     .65503E-08    7.2089        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  15  Prefactor     6.7134        20.118        .39406E-03   -1.5656    
  16  Prefactor     .14266E-07    15.900        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  17  norm          2.1198        2.0679        .70311E-03   -1.5679    
  18  Prefactor     141.57        72.320        .84692E-04   -1.5470    
  19  Prefactor     .25108E-06    3.0905        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  20  Prefactor     .44964E-08    3.9700        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  21  norm           .0000        1.7259        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  22  Prefactor     .63949E-07    14.167        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  23  Prefactor     3.6859        7.5311        .52813E-03   -1.5670    
  24  norm          .10890        .31819        .22249E-02   -1.5715    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  25  Prefactor     .13017E-06    4.9266        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  26  Normalizat    1.1865        .16331        .56143E-01   -.87023    
  27  Prefactor     .83452        .14122        .44161E-01   -.98468    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 3.35773e-07
Minuit parameter uncertainties:
  1  5.25676
  2  6.97007
  3  9.0703
  4  6.00261
  5  0.00204366
  6  0.00124288
  7  4.38211
  8  0.381902
  9  0.000427326
  10  20.4284
  11  0.00170125
  12  2.38642
  13  0.00150619
  14  0.00043391
  15  20.1182
  16  0.000952587
  17  2.0679
  18  72.3203
  19  0.0017617
  20  0.000267255
  21  1.15175e-05
  22  0.00190351
  23  7.53112
  24  0.318187
  25  0.00160153
  26  0.163376
  27  0.141286
/sdf/group/fermi/u/kocevski/software/conda/envs/fermitools_v1.0.5/lib/python2.7/site-packages/pyfits/__init__.py:22: PyFITSDeprecationWarning: PyFITS is deprecated, please use astropy.io.fits
  PyFITSDeprecationWarning)  # noqa

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

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

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

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

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

e GAL_V02
Working on...
/lscratch/kocevski/40383120/ft1_filtered_4FGL_J2221.9-3504_daily_bin2213.fits.....................!
real 28.39
user 26.87
sys 1.23

Creating the likelihood object...
obs = UnbinnedObs('/lscratch/kocevski/40383120/ft1_filtered_4FGL_J2221.9-3504_daily_bin2213.fits', '/lscratch/kocevski/40383120/ft2_4FGL_J2221.9-3504_daily_bin2213.fits', expMap='/lscratch/kocevski/40383120/expmap_812937601_813196801_4FGL_J2221.9-3504_daily_bin2213.fits', expCube='/lscratch/kocevski/40383120/ltcube_812937601_813196801_4FGL_J2221.9-3504_daily_bin2213.fits', irfs='P8R3_SOURCE_V2')
like = UnbinnedAnalysis(obs, '/lscratch/kocevski/40383120/Model_4FGL_J2221.9-3504_daily_bin2213.xml', optimizer='MINUIT')

Using source of interest name: '4FGL J2221.9-3504'

4FGL J2221.9-3504
   Spectrum: PowerLaw
253    Prefactor:  1.240e+00  0.000e+00  0.000e+00  1.000e+06 ( 1.000e-12)
254        Index:  2.677e+00  0.000e+00  0.000e+00  1.000e+01 (-1.000e+00) fixed
255        Scale:  5.158e+02  0.000e+00  3.000e+01  5.000e+05 ( 1.000e+00) fixed


Likelihood Fit Parameters:
Event file(s): /lscratch/kocevski/40383120/ft1_filtered_4FGL_J2221.9-3504_daily_bin2213.fits
Spacecraft file(s): /lscratch/kocevski/40383120/ft2_4FGL_J2221.9-3504_daily_bin2213.fits
Exposure map: /lscratch/kocevski/40383120/expmap_812937601_813196801_4FGL_J2221.9-3504_daily_bin2213.fits
Exposure cube: /lscratch/kocevski/40383120/ltcube_812937601_813196801_4FGL_J2221.9-3504_daily_bin2213.fits
IRFs: P8R3_SOURCE_V2
Source model file: /lscratch/kocevski/40383120/Model_4FGL_J2221.9-3504_daily_bin2213.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) = 8338.26778817

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

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

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'norm      '    15.238       1.0000          .0000       .10000E+07
     2 'Prefactor '    3.6764       1.0000          .0000       .10000E+07
     3 'Prefactor '    12.973       1.0000          .0000       .10000E+07
     4 'norm      '    .96777       1.0000          .0000       .10000E+07
     5 'Prefactor '    .24956E-02   1.0000          .0000       .10000E+07
     6 'Prefactor '    .22891E-01   1.0000          .0000       .10000E+07
     7 'norm      '    9.4390       1.0000          .0000       .10000E+07
     8 'norm      '    1.5464       1.0000          .0000       .10000E+07
     9 'Prefactor '    .25756E-03   1.0000          .0000       .10000E+07
    10 'Prefactor '    42.738       1.0000          .0000       .10000E+07
    11 'Prefactor '    .18825E-03   1.0000          .0000       .10000E+07
    12 'Prefactor '    1.6769       1.0000          .0000       .10000E+07
    13 'norm      '    .14932E-06   1.0000          .0000       .10000E+07
    14 'Prefactor '    .64809E-05   1.0000          .0000       .10000E+07
    15 'Prefactor '    6.4787       1.0000          .0000       .10000E+07
    16 'Prefactor '    .15209E-02   1.0000          .0000       .10000E+07
    17 'norm      '    2.1464       1.0000          .0000       .10000E+07
    18 'Prefactor '    139.44       1.0000          .0000       .10000E+07
    19 'Prefactor '    .18093E-03   1.0000          .0000       .10000E+07
    20 'Prefactor '    .83369E-05   1.0000          .0000       .10000E+07
    21 'norm      '    .11651E-03   1.0000          .0000       .10000E+07
    22 'Prefactor '    .50926E-04   1.0000          .0000       .10000E+07
    23 'Prefactor '    3.6549       1.0000          .0000       .10000E+07
    24 'norm      '    .11006       1.0000          .0000       .10000E+07
    25 'Prefactor '    .18037E-02   1.0000          .0000       .10000E+07
    26 'Normalizat'    1.1877       1.0000         .10000E-01   10.000    
    27 'Prefactor '    .83423       1.0000        e GAL_V02
Working on...
/lscratch/kocevski/40383122/ft1_filtered_4FGL_J2221.9-3504_daily_bin2213.fits.....................!
real 28.54
user 26.93
sys 1.20

Creating the likelihood object...
obs = UnbinnedObs('/lscratch/kocevski/40383122/ft1_filtered_4FGL_J2221.9-3504_daily_bin2213.fits', '/lscratch/kocevski/40383122/ft2_4FGL_J2221.9-3504_daily_bin2213.fits', expMap='/lscratch/kocevski/40383122/expmap_812937601_813196801_4FGL_J2221.9-3504_daily_bin2213.fits', expCube='/lscratch/kocevski/40383122/ltcube_812937601_813196801_4FGL_J2221.9-3504_daily_bin2213.fits', irfs='P8R3_SOURCE_V2')
like = UnbinnedAnalysis(obs, '/lscratch/kocevski/40383122/Model_4FGL_J2221.9-3504_daily_bin2213.xml', optimizer='MINUIT')

Using source of interest name: '4FGL J2221.9-3504'

4FGL J2221.9-3504
   Spectrum: PowerLaw
253    Prefactor:  1.240e+00  0.000e+00  0.000e+00  1.000e+06 ( 1.000e-12)
254        Index:  2.677e+00  0.000e+00  0.000e+00  1.000e+01 (-1.000e+00) fixed
255        Scale:  5.158e+02  0.000e+00  3.000e+01  5.000e+05 ( 1.000e+00) fixed


Likelihood Fit Parameters:
Event file(s): /lscratch/kocevski/40383122/ft1_filtered_4FGL_J2221.9-3504_daily_bin2213.fits
Spacecraft file(s): /lscratch/kocevski/40383122/ft2_4FGL_J2221.9-3504_daily_bin2213.fits
Exposure map: /lscratch/kocevski/40383122/expmap_812937601_813196801_4FGL_J2221.9-3504_daily_bin2213.fits
Exposure cube: /lscratch/kocevski/40383122/ltcube_812937601_813196801_4FGL_J2221.9-3504_daily_bin2213.fits
IRFs: P8R3_SOURCE_V2
Source model file: /lscratch/kocevski/40383122/Model_4FGL_J2221.9-3504_daily_bin2213.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) = 8338.26778817

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

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

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'norm      '    15.238       1.0000          .0000       .10000E+07
     2 'Prefactor '    3.6764       1.0000          .0000       .10000E+07
     3 'Prefactor '    12.973       1.0000          .0000       .10000E+07
     4 'norm      '    .96777       1.0000          .0000       .10000E+07
     5 'Prefactor '    .24956E-02   1.0000          .0000       .10000E+07
     6 'Prefactor '    .22891E-01   1.0000          .0000       .10000E+07
     7 'norm      '    9.4390       1.0000          .0000       .10000E+07
     8 'norm      '    1.5464       1.0000          .0000       .10000E+07
     9 'Prefactor '    .25756E-03   1.0000          .0000       .10000E+07
    10 'Prefactor '    42.738       1.0000          .0000       .10000E+07
    11 'Prefactor '    .18825E-03   1.0000          .0000       .10000E+07
    12 'Prefactor '    1.6769       1.0000          .0000       .10000E+07
    13 'norm      '    .14932E-06   1.0000          .0000       .10000E+07
    14 'Prefactor '    .64809E-05   1.0000          .0000       .10000E+07
    15 'Prefactor '    6.4787       1.0000          .0000       .10000E+07
    16 'Prefactor '    .15209E-02   1.0000          .0000       .10000E+07
    17 'norm      '    2.1464       1.0000          .0000       .10000E+07
    18 'Prefactor '    139.44       1.0000          .0000       .10000E+07
    19 'Prefactor '    .18093E-03   1.0000          .0000       .10000E+07
    20 'Prefactor '    .83369E-05   1.0000          .0000       .10000E+07
    21 'norm      '    .11651E-03   1.0000          .0000       .10000E+07
    22 'Prefactor '    .50926E-04   1.0000          .0000       .10000E+07
    23 'Prefactor '    3.6549       1.0000          .0000       .10000E+07
    24 'norm      '    .11006       1.0000          .0000       .10000E+07
    25 'Prefactor '    .18037E-02   1.0000          .0000       .10000E+07
    26 'Normalizat'    1.1877       1.0000         .10000E-01   10.000    
    27 'Prefactor '    .83423       1.0000          .0000       10.000    
 **********
 **   15 **SET ERR    .5000    
 **********
 **********
 **   16 **SET GRAD    1.000    
 **********
 **********
 **   17 **MINIMIZE    .5630E+05   .2000E-04
 **********

 MIGRAD MINIMIZATION HAS CONVERGED.

 FCN=   8338.073     FROM MIGRAD    STATUS=CONVERGED    179 CALLS     2392 TOTAL
                     EDM=   .17E-08  STRATEGY=1  ERROR MATRIX UNCERTAINTY=  1.7%

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  norm          15.310        5.1986       -.13813E-06   -.11670E-02
   2  Prefactor     3.6928        5.8712        .34203E-06    .23264E-02
   3  Prefactor     12.989        2.6408        .43249E-07   -.49595E-02
   4  norm          .97028        .55609        .30840E-07   -.66877E-02
   5  Prefactor     .74885E-07    7.8176        .11669E-06** at limit **
   6  Prefactor     .99920E-08    39.298        .73901E-06** at limit **
   7  norm          9.4277        4.3693        .11480E-06    .14790E-02
   8  norm          1.5472        .38363       -.69963E-08   -.12847E-03
   9  Prefactor     .53291E-08    8.5092        .11078E-06** at limit **
  10  Prefactor     42.638        1.3191       -.10315E-07    .53255E-01
  11  Prefactor     .23370E-06    2.0625       -.21450E-06** at limit **
  12  Prefactor     1.6821        2.3640        .29494E-07   -.13601E-03
  13  norm          .11985E-06    4.1022       -.34996E-06** at limit **
  14  Prefactor     .65503E-08    7.1431        .55117E-07** at limit **
  15  Prefactor     6.7134        4.7573       -.48703E-07    .35195E-01
  16  Prefactor     .14266E-07    15.250        .90892E-07** at limit **
  17  norm          2.1198        2.0641        .24879E-06    .21249E-02
  18  Prefactor     141.57        72.563        .54096E-07   -.33705E-02
  19  Prefactor     .25108E-06    1.9657       -.26454E-07** at limit **
  20  Prefactor     .44964E-08    3.9578       -.43188E-06** at limit **
  21  norm           .0000        1.7294        .12175E-06** at limit **
  22  Prefactor     .63949E-07    6.1592        .10173E-06** at limit **
  23  Prefactor     3.6859        8.0118        .10062E-05    .26896E-02
  24  norm          .10890        .41597        .19209E-07** at limit **
  25  Prefactor     .13017E-06    4.2554        .18696E-06** at limit **
  26  Normalizat    1.1865        .18921       -.10373E-04   -.11547E-03
  27  Prefactor     .83452        .16339        .49104E-05   -.81133E-04
                               ERR DEF=  .500    
Final values: 
  norm       = 15.3098
  Prefactor  = 3.69276
  Prefactor  = 12.9888
  norm       = 0.970278
  Prefactor  = 7.48845e-08
  Prefactor  = 9.99201e-09
  norm       = 9.42773
  norm       = 1.54716
  Prefactor  = 5.32907e-09
  Prefactor  = 42.6382
  Prefactor  = 2.33702e-07
  Prefactor  = 1.68212
  norm       = 1.19849e-07
  Prefactor  = 6.55032e-09
  Prefactor  = 6.71341
  Prefactor  = 1.42664e-08
  norm       = 2.11978
  Prefactor  = 141.573
  Prefactor  = 2.51077e-07
  Prefactor  = 4.4964e-09
  norm       = 0
  Prefactor  = 6.39488e-08
  Prefactor  = 3.68593
  norm       = 0.108904
  Prefactor  = 1.30174e-07
  Normalizat = 1.18645
  Prefactor  = 0.834517
  .0000       10.000    
 **********
 **   15 **SET ERR    .5000    
 **********
 **********
 **   16 **SET GRAD    1.000    
 **********
 **********
 **   17 **MINIMIZE    .5630E+05   .2000E-04
 **********

 MIGRAD MINIMIZATION HAS CONVERGED.

 FCN=   8338.073     FROM MIGRAD    STATUS=CONVERGED    179 CALLS     2392 TOTAL
                     EDM=   .17E-08  STRATEGY=1  ERROR MATRIX UNCERTAINTY=  1.7%

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  norm          15.310        5.1986       -.13813E-06   -.11670E-02
   2  Prefactor     3.6928        5.8712        .34203E-06    .23264E-02
   3  Prefactor     12.989        2.6408        .43249E-07   -.49595E-02
   4  norm          .97028        .55609        .30840E-07   -.66877E-02
   5  Prefactor     .74885E-07    7.8176        .11669E-06** at limit **
   6  Prefactor     .99920E-08    39.298        .73901E-06** at limit **
   7  norm          9.4277        4.3693        .11480E-06    .14790E-02
   8  norm          1.5472        .38363       -.69963E-08   -.12847E-03
   9  Prefactor     .53291E-08    8.5092        .11078E-06** at limit **
  10  Prefactor     42.638        1.3191       -.10315E-07    .53255E-01
  11  Prefactor     .23370E-06    2.0625       -.21450E-06** at limit **
  12  Prefactor     1.6821        2.3640        .29494E-07   -.13601E-03
  13  norm          .11985E-06    4.1022       -.34996E-06** at limit **
  14  Prefactor     .65503E-08    7.1431        .55117E-07** at limit **
  15  Prefactor     6.7134        4.7573       -.48703E-07    .35195E-01
  16  Prefactor     .14266E-07    15.250        .90892E-07** at limit **
  17  norm          2.1198        2.0641        .24879E-06    .21249E-02
  18  Prefactor     141.57        72.563        .54096E-07   -.33705E-02
  19  Prefactor     .25108E-06    1.9657       -.26454E-07** at limit **
  20  Prefactor     .44964E-08    3.9578       -.43188E-06** at limit **
  21  norm           .0000        1.7294        .12175E-06** at limit **
  22  Prefactor     .63949E-07    6.1592        .10173E-06** at limit **
  23  Prefactor     3.6859        8.0118        .10062E-05    .26896E-02
  24  norm          .10890        .41597        .19209E-07** at limit **
  25  Prefactor     .13017E-06    4.2554        .18696E-06** at limit **
  26  Normalizat    1.1865        .18921       -.10373E-04   -.11547E-03
  27  Prefactor     .83452        .16339        .49104E-05   -.81133E-04
                               ERR DEF=  .500    
Final values: 
  norm       = 15.3098
  Prefactor  = 3.69276
  Prefactor  = 12.9888
  norm       = 0.970278
  Prefactor  = 7.48845e-08
  Prefactor  = 9.99201e-09
  norm       = 9.42773
  norm       = 1.54716
  Prefactor  = 5.32907e-09
  Prefactor  = 42.6382
  Prefactor  = 2.33702e-07
  Prefactor  = 1.68212
  norm       = 1.19849e-07
  Prefactor  = 6.55032e-09
  Prefactor  = 6.71341
  Prefactor  = 1.42664e-08
  norm       = 2.11978
  Prefactor  = 141.573
  Prefactor  = 2.51077e-07
  Prefactor  = 4.4964e-09
  norm       = 0
  Prefactor  = 6.39488e-08
  Prefactor  = 3.68593
  norm       = 0.108904
  Prefactor  = 1.30174e-07
  Normalizat = 1.18645
  Prefactor  = 0.834517
number of points = 7568
number of fields = 31
RA_SUN column already exists. File will not be modified.
Done.


Performing analysis on: 4FGL_J2221.9-3504_daily_bin2213
RA = 335.497, Dec = -35.0712
tmin = 812937601, tmax = 813196801
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='40383282', job_status='RUN', time_executed='2026-10-09 19:33:47.927511', time_epoch_executed='1791599627.93' WHERE source_name='4FGL J2221.9-3504' and cadence='daily' and bin_id='2213'

Database successfully updated.
Done.

Creating custom output directory:
/lscratch/kocevski/40383282

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

Retrieving the FT1 file...

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

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

Retrieving 47 files...
Done.


Merging files...

Checksum keywords updated successfully.

Merged file saved to:
/lscratch/kocevski/40383282/ft1_4FGL_J2221.9-3504_daily_bin2213.fits


Retrieving the FT1 file...

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

Retrieving 47 files...
Done.


Merging files...

Merged file saved to:
/lscratch/kocevski/40383282/ft2_4FGL_J2221.9-3504_daily_bin2213.fits


Selecting the photons:
time -p gtselect infile=/lscratch/kocevski/40383282/ft1_4FGL_J2221.9-3504_daily_bin2213.fits outfile=/lscratch/kocevski/40383282/ft1_filteredMKT_4FGL_J2221.9-3504_daily_bin2213.fits ra=335.497 dec=-35.0712 rad=12.0 tmin=812937601.0 tmax=813196801.0 emin=100.0 emax=100000.0 zmin=0.0 zmax=90.0 evclass=128 evtype="INDEF" convtype=-1 phasemin=0.0 phasemax=1.0 evtable="EVENTS" chatter=2 clobber=yes debug=no gui=no mode="ql"

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

Done.
real 2.82
user 2.47
sys 0.20

Adding sun position to ft2 file:
/sdf/group/fermi/g/LCRepository/Repository/bin/sunpos /lscratch/kocevski/40383282/ft2_4FGL_J2221.9-3504_daily_bin2213.fits

Selecting the good time intervals:
time -p gtmktime scfile=/lscratch/kocevski/40383282/ft2_4FGL_J2221.9-3504_daily_bin2213.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/40383282/ft1_filteredMKT_4FGL_J2221.9-3504_daily_bin2213.fits evtable="EVENTS" outfile="/lscratch/kocevski/40383282/ft1_filtered_4FGL_J2221.9-3504_daily_bin2213.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.43
user 0.20
sys 0.13

Number of photons that the gtmktime cut: 774

Generating the livetime cube:
time -p gtltcube evfile="/lscratch/kocevski/40383282/ft1_filtered_4FGL_J2221.9-3504_daily_bin2213.fits" evtable="EVENTS" scfile=/lscratch/kocevski/40383282/ft2_4FGL_J2221.9-3504_daily_bin2213.fits sctable="SC_DATA" Done.

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

Extracting fit parameters...

4FGL J2221.9-3504
   Spectrum: PowerLaw
253    Prefactor:  2.337e-07  1.701e-03  0.000e+00  1.000e+06 ( 1.000e-12)
254        Index:  2.677e+00  0.000e+00  0.000e+00  1.000e+01 (-1.000e+00) fixed
255        Scale:  5.158e+02  0.000e+00  3.000e+01  5.000e+05 ( 1.000e+00) fixed

GAL_V02
   Spectrum: PowerLaw
560    Prefactor:  8.345e-01  1.413e-01  0.000e+00  1.000e+01 ( 1.000e+00)
561        Index:  0.000e+00  0.000e+00 -1.000e+00  1.000e+00 ( 1.000e+00) fixed
562        Scale:  1.000e+02  0.000e+00  5.000e+01  2.000e+02 ( 1.000e+00) fixed

EG_v02
   Spectrum: FileFunction
559   Normalization:  1.186e+00  1.634e-01  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Fixed Index): -0.00
Ra Dec: 335.497 -35.071
Photon Flux Upper Limit: 5.87314737667e-08 ph cm-2 s-1
Energy Flux Upper Limit: 0.004617340001 MeV cm-2 s-1

Saving results to:
/lscratch/kocevski/40383070/likelihoodResults_812937601_813196801_4FGL_J2221.9-3504_daily_bin2213.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) = 8338.07331423
delta logL = -0.000438135934019

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

MINUIT Return Code (Free Index): 102
logL (Free Index) = 8338.07287625
delta logL = -1.53058863361e-07

Fit tolerance = 1e-08

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

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

 MIGRAD MINIMIZATION HAS CONVERGED.

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

 FCN=   8338.073     FROM MIGRAD    STATUS=CONVERGED     42 CALLS      239 TOTAL
                     EDM=   .54E-09  STRATEGY=1  ERROR MATRIX UNCERTAINTY=100.0%

  EXT PARAMETER                APPROXIMATE        STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor      .0000        1.6387        .42118E-03** at limit **
   2  Index         3.7633        1.4062        .11332E-03     .0000    
   3  Normalizat    1.1865        1.1112        .17717E-04   -.21074E-03
   4  Prefactor     .83451        1.1821        .87668E-06   -.65246E-03
                               ERR DEF=  .500    
Final values: 
  Prefactor  = 0
  Index      = 3.76335
  Normalizat = 1.18646
  Prefactor  = 0.834512
 **********
 **   18 **HESSE 
 **********
  MNHESS FAILS AND WILL RETURN DIAGONAL MATRIX. 

 FCN=   8338.073     FROM HESSE     STATUS=FAILED         9 CALLS      248 TOTAL
                     EDM=   .54E-09  STRATEGY=1  ERROR MATRIX UNCERTAINTY=100.0%

  EXT PARAMETER                APPROXIMATE     INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  Prefactor      .0000        1.6387        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   2  Index         1.5557        2.2609        .11332E-03   -.24992    
   3  Normalizat    1.1865        1.1112        .17717E-04   -.87022    
   4  Prefactor     .83451        1.1821        .87668E-06   -.98468    
                               ERR DEF=  .500    
Minuit fit quality: 1   estimated distance: 5.3884e-10
Minuit parameter uncertainties:
  1  1.2266e-05
  2  1.42668
  3  1.1345
  4  1.22142
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) = 8338.07287606
delta logL = 3.73001967091e-08

Extracting fit parameters...

4FGL J2221.9-3504
   Spectrum: PowerLaw
253    Prefactor:  0.000e+00  1.227e-05  0.000e+00  1.000e+06 ( 1.000e-12)
254        Index:  3.763e+00  1.427e+00  0.000e+00  1.000e+01 (-1.000e+00)
255        Scale:  5.158e+02  0.000e+00  3.000e+01  5.000e+05 ( 1.000e+00) fixed

GAL_V02
   Spectrum: PowerLaw
560    Prefactor:  8.345e-01  1.221e+00  0.000e+00  1.000e+01 ( 1.000e+00)
561        Index:  0.000e+00  0.000e+00 -1.000e+00  1.000e+00 ( 1.000e+00) fixed
562        Scale:  1.000e+02  0.000e+00  5.000e+01  2.000e+02 ( 1.000e+00) fixed

EG_v02
   Spectrum: FileFunction
559   Normalization:  1.186e+00  1.134e+00  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Free Index): -0.00
Ra Dec: 335.497 -35.071

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/40383070/cmap_HighResolution_812937601_813196801_4FGL_J2221.9-3504_daily_bin2213.png

Cleaning up...

** Nuclear option initiated! **

Updating database...

UPDATE lightcurve_data_v2 SET energy_flux_upper_limit='4.62e-03', job_status='DONE', photon_flux_upper_limit='5.87e-08', time_completed='2026-10-09 19:34:23.630115', job_id='40383070', GAL2='0.83', fit_tolerance='1e-08', EG2='1.19', EG='1.19', time_epoch_completed='1791599663.63', return_code2='101', ts='-0.00', comment='SUCCESS', return_code='0', GAL='0.83', dlogl='3.73e-08', ts2='0.00', photon_index_error='0.00', photon_index='2.68' WHERE bin_id='2213' AND source_name='4FGL J2221.9-3504' AND cadence='daily';

Database successfully updated.


Analysis Complete.


Fri Oct  9 19:34:23 PDT 2026

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

 FCN=   8338.073     FROM HESSE     STATUS=OK           544 CALLS     2936 TOTAL
                     EDM=   .34E-06    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  norm          15.310        5.2568        .25632E-03   -1.5630    
   2  Prefactor     3.6928        6.9701        .52653E-03   -1.5670    
   3  Prefactor     12.989        9.0703        .27785E-03   -1.5636    
   4  norm          .97028        9.2837        .42621E-03   -1.5688    
   5  Prefactor     .74885E-07    13.944        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   6  Prefactor     .99920E-08    38.672        .16853E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   7  norm          9.4277        4.3821        .32595E-03   -1.5647    
   8  norm          1.5472        .38190        .59356E-03   -1.5683    
   9  Prefactor     .53291E-08    8.5671        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  10  Prefactor     42.638        20.428        .15298E-03   -1.5577    
  11  Prefactor     .23370E-06    3.0960        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  12  Prefactor     1.6821        2.3864        .81338E-03   -1.5682    
  13  norm          .11985E-06    4.7319        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  14  Prefactor     .65503E-08    7.2089        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  15  Prefactor     6.7134        20.118        .39406E-03   -1.5656    
  16  Prefactor     .14266E-07    15.900        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  17  norm          2.1198        2.0679        .70311E-03   -1.5679    
  18  Prefactor     141.57        72.320        .84692E-04   -1.5470    
  19  Prefactor     .25108E-06    3.0905        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  20  Prefactor     .44964E-08    3.9700        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  21  norm           .0000        1.7259        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  22  Prefactor     .63949E-07    14.167        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  23  Prefactor     3.6859        7.5311        .52813E-03   -1.5670    
  24  norm          .10890        .31819        .22249E-02   -1.5715    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  25  Prefactor     .13017E-06    4.9266        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  26  Normalizat    1.1865        .16331        .56143E-01   -.87023    
  27  Prefactor     .83452        .14122        .44161E-01   -.98468    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 3.35773e-07
Minuit parameter uncertainties:
  1  5.25676
  2  6.97007
  3  9.0703
  4  6.00261
  5  0.00204366
  6  0.00124288
  7  4.38211
  8  0.381902
  9  0.000427326
  10  20.4284
  11  0.00170125
  12  2.38642
  13  0.00150619
  14  0.00043391
  15  20.1182
  16  0.000952587
  17  2.0679
  18  72.3203
  19  0.0017617
  20  0.000267255
  21  1.15175e-05
  22  0.00190351
  23  7.53112
  24  0.318187
  25  0.00160153
  26  0.163376
  27  0.141286
 **********
 **   18 **HESSE 
 **********

 FCN=   8338.073     FROM HESSE     STATUS=OK           544 CALLS     2936 TOTAL
                     EDM=   .34E-06    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  norm          15.310        5.2568        .25632E-03   -1.5630    
   2  Prefactor     3.6928        6.9701        .52653E-03   -1.5670    
   3  Prefactor     12.989        9.0703        .27785E-03   -1.5636    
   4  norm          .97028        9.2837        .42621E-03   -1.5688    
   5  Prefactor     .74885E-07    13.944        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   6  Prefactor     .99920E-08    38.672        .16853E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   7  norm          9.4277        4.3821        .32595E-03   -1.5647    
   8  norm          1.5472        .38190        .59356E-03   -1.5683    
   9  Prefactor     .53291E-08    8.5671        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  10  Prefactor     42.638        20.428        .15298E-03   -1.5577    
  11  Prefactor     .23370E-06    3.0960        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  12  Prefactor     1.6821        2.3864        .81338E-03   -1.5682    
  13  norm          .11985E-06    4.7319        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  14  Prefactor     .65503E-08    7.2089        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  15  Prefactor     6.7134        20.118        .39406E-03   -1.5656    
  16  Prefactor     .14266E-07    15.900        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  17  norm          2.1198        2.0679        .70311E-03   -1.5679    
  18  Prefactor     141.57        72.320        .84692E-04   -1.5470    
  19  Prefactor     .25108E-06    3.0905        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  20  Prefactor     .44964E-08    3.9700        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  21  norm           .0000        1.7259        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  22  Prefactor     .63949E-07    14.167        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  23  Prefactor     3.6859        7.5311        .52813E-03   -1.5670    
  24  norm          .10890        .31819        .22249E-02   -1.5715    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  25  Prefactor     .13017E-06    4.9266        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  26  Normalizat    1.1865        .16331        .56143E-01   -.87023    
  27  Prefactor     .83452        .14122        .44161E-01   -.98468    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 3.35773e-07
Minuit parameter uncertainties:
  1  5.25676
  2  6.97007
  3  9.0703
  4  6.00261
  5  0.00204366
  6  0.00124288
  7  4.38211
  8  0.381902
  9  0.000427326
  10  20.4284
  11  0.00170125
  12  2.38642
  13  0.00150619
  14  0.00043391
  15  20.1182
  16  0.000952587
  17  2.0679
  18  72.3203
  19  0.0017617
  20  0.000267255
  21  1.15175e-05
  22  0.00190351
  23  7.53112
  24  0.318187
  25  0.00160153
  26  0.163376
  27  0.141286
e GAL_V02
Working on...
/lscratch/kocevski/40383180/ft1_filtered_4FGL_J2221.9-3504_daily_bin2213.fits.....................!
real 27.42
user 26.06
sys 1.06

Creating the likelihood object...
obs = UnbinnedObs('/lscratch/kocevski/40383180/ft1_filtered_4FGL_J2221.9-3504_daily_bin2213.fits', '/lscratch/kocevski/40383180/ft2_4FGL_J2221.9-3504_daily_bin2213.fits', expMap='/lscratch/kocevski/40383180/expmap_812937601_813196801_4FGL_J2221.9-3504_daily_bin2213.fits', expCube='/lscratch/kocevski/40383180/ltcube_812937601_813196801_4FGL_J2221.9-3504_daily_bin2213.fits', irfs='P8R3_SOURCE_V2')
like = UnbinnedAnalysis(obs, '/lscratch/kocevski/40383180/Model_4FGL_J2221.9-3504_daily_bin2213.xml', optimizer='MINUIT')

Using source of interest name: '4FGL J2221.9-3504'

4FGL J2221.9-3504
   Spectrum: PowerLaw
253    Prefactor:  1.240e+00  0.000e+00  0.000e+00  1.000e+06 ( 1.000e-12)
254        Index:  2.677e+00  0.000e+00  0.000e+00  1.000e+01 (-1.000e+00) fixed
255        Scale:  5.158e+02  0.000e+00  3.000e+01  5.000e+05 ( 1.000e+00) fixed


Likelihood Fit Parameters:
Event file(s): /lscratch/kocevski/40383180/ft1_filtered_4FGL_J2221.9-3504_daily_bin2213.fits
Spacecraft file(s): /lscratch/kocevski/40383180/ft2_4FGL_J2221.9-3504_daily_bin2213.fits
Exposure map: /lscratch/kocevski/40383180/expmap_812937601_813196801_4FGL_J2221.9-3504_daily_bin2213.fits
Exposure cube: /lscratch/kocevski/40383180/ltcube_812937601_813196801_4FGL_J2221.9-3504_daily_bin2213.fits
IRFs: P8R3_SOURCE_V2
Source model file: /lscratch/kocevski/40383180/Model_4FGL_J2221.9-3504_daily_bin2213.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) = 8338.26778817

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

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

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'norm      '    15.238       1.0000          .0000       .10000E+07
     2 'Prefactor '    3.6764       1.0000          .0000       .10000E+07
     3 'Prefactor '    12.973       1.0000          .0000       .10000E+07
     4 'norm      '    .96777       1.0000          .0000       .10000E+07
     5 'Prefactor '    .24956E-02   1.0000          .0000       .10000E+07
     6 'Prefactor '    .22891E-01   1.0000          .0000       .10000E+07
     7 'norm      '    9.4390       1.0000          .0000       .10000E+07
     8 'norm      '    1.5464       1.0000          .0000       .10000E+07
     9 'Prefactor '    .25756E-03   1.0000          .0000       .10000E+07
    10 'Prefactor '    42.738       1.0000          .0000       .10000E+07
    11 'Prefactor '    .18825E-03   1.0000          .0000       .10000E+07
    12 'Prefactor '    1.6769       1.0000          .0000       .10000E+07
    13 'norm      '    .14932E-06   1.0000          .0000       .10000E+07
    14 'Prefactor '    .64809E-05   1.0000          .0000       .10000E+07
    15 'Prefactor '    6.4787       1.0000          .0000       .10000E+07
    16 'Prefactor '    .15209E-02   1.0000          .0000       .10000E+07
    17 'norm      '    2.1464       1.0000          .0000       .10000E+07
    18 'Prefactor '    139.44       1.0000          .0000       .10000E+07
    19 'Prefactor '    .18093E-03   1.0000          .0000       .10000E+07
    20 'Prefactor '    .83369E-05   1.0000          .0000       .10000E+07
    21 'norm      '    .11651E-03   1.0000          .0000       .10000E+07
    22 'Prefactor '    .50926E-04   1.0000          .0000       .10000E+07
    23 'Prefactor '    3.6549       1.0000          .0000       .10000E+07
    24 'norm      '    .11006       1.0000          .0000       .10000E+07
    25 'Prefactor '    .18037E-02   1.0000          .0000       .10000E+07
    26 'Normalizat'    1.1877       1.0000         .10000E-01   10.000    
    27 'Prefactor '    .83423       1.0000        Done.

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

Extracting fit parameters...

4FGL J2221.9-3504
   Spectrum: PowerLaw
253    Prefactor:  2.337e-07  1.701e-03  0.000e+00  1.000e+06 ( 1.000e-12)
254        Index:  2.677e+00  0.000e+00  0.000e+00  1.000e+01 (-1.000e+00) fixed
255        Scale:  5.158e+02  0.000e+00  3.000e+01  5.000e+05 ( 1.000e+00) fixed

GAL_V02
   Spectrum: PowerLaw
560    Prefactor:  8.345e-01  1.413e-01  0.000e+00  1.000e+01 ( 1.000e+00)
561        Index:  0.000e+00  0.000e+00 -1.000e+00  1.000e+00 ( 1.000e+00) fixed
562        Scale:  1.000e+02  0.000e+00  5.000e+01  2.000e+02 ( 1.000e+00) fixed

EG_v02
   Spectrum: FileFunction
559   Normalization:  1.186e+00  1.634e-01  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Fixed Index): -0.00
Ra Dec: 335.497 -35.071
Photon Flux Upper Limit: 5.87314737667e-08 ph cm-2 s-1
Energy Flux Upper Limit: 0.004617340001 MeV cm-2 s-1

Saving results to:
/lscratch/kocevski/40383120/likelihoodResults_812937601_813196801_4FGL_J2221.9-3504_daily_bin2213.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) = 8338.07331423
delta logL = -0.000438135934019

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

MINUIT Return Code (Free Index): 102
logL (Free Index) = 8338.07287625
delta logL = -1.53058863361e-07

Fit tolerance = 1e-08

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

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

 MIGRAD MINIMIZATION HAS CONVERGED.

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

 FCN=   8338.073     FROM MIGRAD    STATUS=CONVERGED     42 CALLS      239 TOTAL
                     EDM=   .54E-09  STRATEGY=1  ERROR MATRIX UNCERTAINTY=100.0%

  EXT PARAMETER                APPROXIMATE        STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor      .0000        1.6387        .42118E-03** at limit **
   2  Index         3.7633        1.4062        .11332E-03     .0000    
   3  Normalizat    1.1865        1.1112        .17717E-04   -.21074E-03
   4  Prefactor     .83451        1.1821        .87668E-06   -.65246E-03
                               ERR DEF=  .500    
Final values: 
  Prefactor  = 0
  Index      = 3.76335
  Normalizat = 1.18646
  Prefactor  = 0.834512
 **********
 **   18 **HESSE 
 **********
  MNHESS FAILS AND WILL RETURN DIAGONAL MATRIX. 

 FCN=   8338.073     FROM HESSE     STATUS=FAILED         9 CALLS      248 TOTAL
                     EDM=   .54E-09  STRATEGY=1  ERROR MATRIX UNCERTAINTY=100.0%

  EXT PARAMETER                APPROXIMATE     INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  Prefactor      .0000        1.6387        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   2  Index         1.5557        2.2609        .11332E-03   -.24992    
   3  Normalizat    1.1865        1.1112        .17717E-04   -.87022    
   4  Prefactor     .83451        1.1821        .87668E-06   -.98468    
                               ERR DEF=  .500    
Minuit fit quality: 1   estimated distance: 5.3884e-10
Minuit parameter uncertainties:
  1  1.2266e-05
  2  1.42668
  3  1.1345
  4  1.22142
Done.

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

Extracting fit parameters...

4FGL J2221.9-3504
   Spectrum: PowerLaw
253    Prefactor:  2.337e-07  1.701e-03  0.000e+00  1.000e+06 ( 1.000e-12)
254        Index:  2.677e+00  0.000e+00  0.000e+00  1.000e+01 (-1.000e+00) fixed
255        Scale:  5.158e+02  0.000e+00  3.000e+01  5.000e+05 ( 1.000e+00) fixed

GAL_V02
   Spectrum: PowerLaw
560    Prefactor:  8.345e-01  1.413e-01  0.000e+00  1.000e+01 ( 1.000e+00)
561        Index:  0.000e+00  0.000e+00 -1.000e+00  1.000e+00 ( 1.000e+00) fixed
562        Scale:  1.000e+02  0.000e+00  5.000e+01  2.000e+02 ( 1.000e+00) fixed

EG_v02
   Spectrum: FileFunction
559   Normalization:  1.186e+00  1.634e-01  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Fixed Index): -0.00
Ra Dec: 335.497 -35.071
Photon Flux Upper Limit: 5.87314737667e-08 ph cm-2 s-1
Energy Flux Upper Limit: 0.004617340001 MeV cm-2 s-1

Saving results to:
/lscratch/kocevski/40383122/likelihoodResults_812937601_813196801_4FGL_J2221.9-3504_daily_bin2213.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) = 8338.07331423
delta logL = -0.000438135934019

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

MINUIT Return Code (Free Index): 102
logL (Free Index) = 8338.07287625
delta logL = -1.53058863361e-07

Fit tolerance = 1e-08

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

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

 MIGRAD MINIMIZATION HAS CONVERGED.

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

 FCN=   8338.073     FROM MIGRAD    STATUS=CONVERGED     42 CALLS      239 TOTAL
                     EDM=   .54E-09  STRATEGY=1  ERROR MATRIX UNCERTAINTY=100.0%

  EXT PARAMETER                APPROXIMATE        STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor      .0000        1.6387        .42118E-03** at limit **
   2  Index         3.7633        1.4062        .11332E-03     .0000    
   3  Normalizat    1.1865        1.1112        .17717E-04   -.21074E-03
   4  Prefactor     .83451        1.1821        .87668E-06   -.65246E-03
                               ERR DEF=  .500    
Final values: 
  Prefactor  = 0
  Index      = 3.76335
  Normalizat = 1.18646
  Prefactor  = 0.834512
 **********
 **   18 **HESSE 
 **********
  MNHESS FAILS AND WILL RETURN DIAGONAL MATRIX. 

 FCN=   8338.073     FROM HESSE     STATUS=FAILED         9 CALLS      248 TOTAL
                     EDM=   .54E-09  STRATEGY=1  ERROR MATRIX UNCERTAINTY=100.0%

  EXT PARAMETER                APPROXIMATE     INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  Prefactor      .0000        1.6387        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   2  Index         1.5557        2.2609        .11332E-03   -.24992    
   3  Normalizat    1.1865        1.1112        .17717E-04   -.87022    
   4  Prefactor     .83451        1.1821        .87668E-06   -.98468    
                               ERR DEF=  .500    
Minuit fit quality: 1   estimated distance: 5.3884e-10
Minuit parameter uncertainties:
  1  1.2266e-05
  2  1.42668
  3  1.1345
  4  1.22142
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) = 8338.07287606
delta logL = 3.73001967091e-08

Extracting fit parameters...

4FGL J2221.9-3504
   Spectrum: PowerLaw
253    Prefactor:  0.000e+00  1.227e-05  0.000e+00  1.000e+06 ( 1.000e-12)
254        Index:  3.763e+00  1.427e+00  0.000e+00  1.000e+01 (-1.000e+00)
255        Scale:  5.158e+02  0.000e+00  3.000e+01  5.000e+05 ( 1.000e+00) fixed

GAL_V02
   Spectrum: PowerLaw
560    Prefactor:  8.345e-01  1.221e+00  0.000e+00  1.000e+01 ( 1.000e+00)
561        Index:  0.000e+00  0.000e+00 -1.000e+00  1.000e+00 ( 1.000e+00) fixed
562        Scale:  1.000e+02  0.000e+00  5.000e+01  2.000e+02 ( 1.000e+00) fixed

EG_v02
   Spectrum: FileFunction
559   Normalization:  1.186e+00  1.134e+00  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Free Index): -0.00
Ra Dec: 335.497 -35.071

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/40383120/cmap_HighResolution_812937601_813196801_4FGL_J2221.9-3504_daily_bin2213.png

Cleaning up...

** Nuclear option initiated! **

Updating database...

UPDATE lightcurve_data_v2 SET energy_flux_upper_limit='4.62e-03', job_status='DONE', photon_flux_upper_limit='5.87e-08', time_completed='2026-10-09 19:35:10.845960', job_id='40383120', GAL2='0.83', fit_tolerance='1e-08', EG2='1.19', EG='1.19', time_epoch_completed='1791599710.85', return_code2='101', ts='-0.00', comment='SUCCESS', return_code='0', GAL='0.83', dlogl='3.73e-08', ts2='0.00', photon_index_error='0.00', photon_index='2.68' WHERE bin_id='2213' AND source_name='4FGL J2221.9-3504' AND cadence='daily';

Database successfully updated.


Analysis Complete.


Fri Oct  9 19:35:10 PDT 2026

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

MINUIT Return Code (Free Index): 101
logL (Free Index) = 8338.07287606
delta logL = 3.73001967091e-08

Extracting fit parameters...

4FGL J2221.9-3504
   Spectrum: PowerLaw
253    Prefactor:  0.000e+00  1.227e-05  0.000e+00  1.000e+06 ( 1.000e-12)
254        Index:  3.763e+00  1.427e+00  0.000e+00  1.000e+01 (-1.000e+00)
255        Scale:  5.158e+02  0.000e+00  3.000e+01  5.000e+05 ( 1.000e+00) fixed

GAL_V02
   Spectrum: PowerLaw
560    Prefactor:  8.345e-01  1.221e+00  0.000e+00  1.000e+01 ( 1.000e+00)
561        Index:  0.000e+00  0.000e+00 -1.000e+00  1.000e+00 ( 1.000e+00) fixed
562        Scale:  1.000e+02  0.000e+00  5.000e+01  2.000e+02 ( 1.000e+00) fixed

EG_v02
   Spectrum: FileFunction
559   Normalization:  1.186e+00  1.134e+00  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Free Index): -0.00
Ra Dec: 335.497 -35.071

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/40383122/cmap_HighResolution_812937601_813196801_4FGL_J2221.9-3504_daily_bin2213.png

Cleaning up...

** Nuclear option initiated! **

Updating database...

UPDATE lightcurve_data_v2 SET energy_flux_upper_limit='4.62e-03', job_status='DONE', photon_flux_upper_limit='5.87e-08', time_completed='2026-10-09 19:35:11.218689', job_id='40383122', GAL2='0.83', fit_tolerance='1e-08', EG2='1.19', EG='1.19', time_epoch_completed='1791599711.22', return_code2='101', ts='-0.00', comment='SUCCESS', return_code='0', GAL='0.83', dlogl='3.73e-08', ts2='0.00', photon_index_error='0.00', photon_index='2.68' WHERE bin_id='2213' AND source_name='4FGL J2221.9-3504' AND cadence='daily';

Database successfully updated.


Analysis Complete.


Fri Oct  9 19:35:11 PDT 2026

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

 MIGRAD MINIMIZATION HAS CONVERGED.

 FCN=   8338.073     FROM MIGRAD    STATUS=CONVERGED    179 CALLS     2392 TOTAL
                     EDM=   .17E-08  STRATEGY=1  ERROR MATRIX UNCERTAINTY=  1.7%

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  norm          15.310        5.1986       -.13813E-06   -.11670E-02
   2  Prefactor     3.6928        5.8712        .34203E-06    .23264E-02
   3  Prefactor     12.989        2.6408        .43249E-07   -.49595E-02
   4  norm          .97028        .55609        .30840E-07   -.66877E-02
   5  Prefactor     .74885E-07    7.8176        .11669E-06** at limit **
   6  Prefactor     .99920E-08    39.298        .73901E-06** at limit **
   7  norm          9.4277        4.3693        .11480E-06    .14790E-02
   8  norm          1.5472        .38363       -.69963E-08   -.12847E-03
   9  Prefactor     .53291E-08    8.5092        .11078E-06** at limit **
  10  Prefactor     42.638        1.3191       -.10315E-07    .53255E-01
  11  Prefactor     .23370E-06    2.0625       -.21450E-06** at limit **
  12  Prefactor     1.6821        2.3640        .29494E-07   -.13601E-03
  13  norm          .11985E-06    4.1022       -.34996E-06** at limit **
  14  Prefactor     .65503E-08    7.1431        .55117E-07** at limit **
  15  Prefactor     6.7134        4.7573       -.48703E-07    .35195E-01
  16  Prefactor     .14266E-07    15.250        .90892E-07** at limit **
  17  norm          2.1198        2.0641        .24879E-06    .21249E-02
  18  Prefactor     141.57        72.563        .54096E-07   -.33705E-02
  19  Prefactor     .25108E-06    1.9657       -.26454E-07** at limit **
  20  Prefactor     .44964E-08    3.9578       -.43188E-06** at limit **
  21  norm           .0000        1.7294        .12175E-06** at limit **
  22  Prefactor     .63949E-07    6.1592        .10173E-06** at limit **
  23  Prefactor     3.6859        8.0118        .10062E-05    .26896E-02
  24  norm          .10890        .41597        .19209E-07** at limit **
  25  Prefactor     .13017E-06    4.2554        .18696E-06** at limit **
  26  Normalizat    1.1865        .18921       -.10373E-04   -.11547E-03
  27  Prefactor     .83452        .16339        .49104E-05   -.81133E-04
                               ERR DEF=  .500    
Final values: 
  norm       = 15.3098
  Prefactor  = 3.69276
  Prefactor  = 12.9888
  norm       = 0.970278
  Prefactor  = 7.48845e-08
  Prefactor  = 9.99201e-09
  norm       = 9.42773
  norm       = 1.54716
  Prefactor  = 5.32907e-09
  Prefactor  = 42.6382
  Prefactor  = 2.33702e-07
  Prefactor  = 1.68212
  norm       = 1.19849e-07
  Prefactor  = 6.55032e-09
  Prefactor  = 6.71341
  Prefactor  = 1.42664e-08
  norm       = 2.11978
  Prefactor  = 141.573
  Prefactor  = 2.51077e-07
  Prefactor  = 4.4964e-09
  norm       = 0
  Prefactor  = 6.39488e-08
  Prefactor  = 3.68593
  norm       = 0.108904
  Prefactor  = 1.30174e-07
  Normalizat = 1.18645
  Prefactor  = 0.834517
 **********
 **   18 **HESSE 
 **********

 FCN=   8338.073     FROM HESSE     STATUS=OK           544 CALLS     2936 TOTAL
                     EDM=   .34E-06    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  norm          15.310        5.2568        .25632E-03   -1.5630    
   2  Prefactor     3.6928        6.9701        .52653E-03   -1.5670    
   3  Prefactor     12.989        9.0703        .27785E-03   -1.5636    
   4  norm          .97028        9.2837        .42621E-03   -1.5688    
   5  Prefactor     .74885E-07    13.944        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   6  Prefactor     .99920E-08    38.672        .16853E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   7  norm          9.4277        4.3821        .32595E-03   -1.5647    
   8  norm          1.5472        .38190        .59356E-03   -1.5683    
   9  Prefactor     .53291E-08    8.5671        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  10  Prefactor     42.638        20.428        .15298E-03   -1.5577    
  11  Prefactor     .23370E-06    3.0960        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  12  Prefactor     1.6821        2.3864        .81338E-03   -1.5682    
  13  norm          .11985E-06    4.7319        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  14  Prefactor     .65503E-08    7.2089        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  15  Prefactor     6.7134        20.118        .39406E-03   -1.5656    
  16  Prefactor     .14266E-07    15.900        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  17  norm          2.1198        2.0679        .70311E-03   -1.5679    
  18  Prefactor     141.57        72.320        .84692E-04   -1.5470    
  19  Prefactor     .25108E-06    3.0905        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  20  Prefactor     .44964E-08    3.9700        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  21  norm           .0000        1.7259        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  22  Prefactor     .63949E-07    14.167        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  23  Prefactor     3.6859        7.5311        .52813E-03   -1.5670    
  24  norm          .10890        .31819        .22249E-02   -1.5715    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  25  Prefactor     .13017E-06    4.9266        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  26  Normalizat    1.1865        .16331        .56143E-01   -.87023    
  27  Prefactor     .83452        .14122        .44161E-01   -.98468    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 3.35773e-07
Minuit parameter uncertainties:
  1  5.25676
  2  6.97007
  3  9.0703
  4  6.00261
  5  0.00204366
  6  0.00124288
  7  4.38211
  8  0.381902
  9  0.000427326
  10  20.4284
  11  0.00170125
  12  2.38642
  13  0.00150619
  14  0.00043391
  15  20.1182
  16  0.000952587
  17  2.0679
  18  72.3203
  19  0.0017617
  20  0.000267255
  21  1.15175e-05
  22  0.00190351
  23  7.53112
  24  0.318187
  25  0.00160153
  26  0.163376
  27  0.141286
outfile=/lscratch/kocevski/40383282/ltcube_812937601_813196801_4FGL_J2221.9-3504_daily_bin2213.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/40383282/ft2_4FGL_J2221.9-3504_daily_bin2213.fits
.....................!
real 8.95
user 8.54
sys 0.25

Generating the exposure map:
time -p gtexpmap evfile=/lscratch/kocevski/40383282/ft1_filtered_4FGL_J2221.9-3504_daily_bin2213.fits evtable="EVENTS" scfile=/lscratch/kocevski/40383282/ft2_4FGL_J2221.9-3504_daily_bin2213.fits sctable="SC_DATA" expcube=/lscratch/kocevski/40383282/ltcube_812937601_813196801_4FGL_J2221.9-3504_daily_bin2213.fits outfile=/lscratch/kocevski/40383282/expmap_812937601_813196801_4FGL_J2221.9-3504_daily_bin2213.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/40383282/ltcube_812937601_813196801_4FGL_J2221.9-3504_daily_bin2213.fits
.....................!
real 73.34
user 68.35
sys 4.32

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

Setting source of interest to:
4FGL J2221.9-3504 @ 335.497 -35.0712

Creating the counts map:
time -p gtbin evfile=/lscratch/kocevski/40383282/ft1_filtered_4FGL_J2221.9-3504_daily_bin2213.fits scfile=/lscratch/kocevski/40383282/ft2_4FGL_J2221.9-3504_daily_bin2213.fits outfile=/lscratch/kocevski/40383282/cmap_812937601_813196801_4FGL_J2221.9-3504_daily_bin2213.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=335.497 yref=-35.0712 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.43
user 0.22
sys 0.13

Creating the high resolution counts map:
time -p gtbin evfile=/lscratch/kocevski/40383282/ft1_filtered_4FGL_J2221.9-3504_daily_bin2213.fits scfile=/lscratch/kocevski/40383282/ft2_4FGL_J2221.9-3504_daily_bin2213.fits outfile=/lscratch/kocevski/40383282/cmap_HighResolution_812937601_813196801_4FGL_J2221.9-3504_daily_bin2213.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=335.497 yref=-35.0712 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.45
user 0.23
sys 0.13

Computing the diffuse response:
time -p gtdiffrsp evfile=/lscratch/kocevski/40383282/ft1_filtered_4FGL_J2221.9-3504_daily_bin2213.fits evtable="EVENTS" scfile=/lscratch/kocevski/40383282/ft2_4FGL_J2221.9-3504_daily_bin2213.fits sctable="SC_DATA" srcmdl=/lscratch/kocevski/40383282/Model_4FGL_J2221.9-3504_daily_bin2213.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 sourcDone.

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

Extracting fit parameters...

4FGL J2221.9-3504
   Spectrum: PowerLaw
253    Prefactor:  2.337e-07  1.701e-03  0.000e+00  1.000e+06 ( 1.000e-12)
254        Index:  2.677e+00  0.000e+00  0.000e+00  1.000e+01 (-1.000e+00) fixed
255        Scale:  5.158e+02  0.000e+00  3.000e+01  5.000e+05 ( 1.000e+00) fixed

GAL_V02
   Spectrum: PowerLaw
560    Prefactor:  8.345e-01  1.413e-01  0.000e+00  1.000e+01 ( 1.000e+00)
561        Index:  0.000e+00  0.000e+00 -1.000e+00  1.000e+00 ( 1.000e+00) fixed
562        Scale:  1.000e+02  0.000e+00  5.000e+01  2.000e+02 ( 1.000e+00) fixed

EG_v02
   Spectrum: FileFunction
559   Normalization:  1.186e+00  1.634e-01  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Fixed Index): -0.00
Ra Dec: 335.497 -35.071
Photon Flux Upper Limit: 5.87314737667e-08 ph cm-2 s-1
Energy Flux Upper Limit: 0.004617340001 MeV cm-2 s-1

Saving results to:
/lscratch/kocevski/40383180/likelihoodResults_812937601_813196801_4FGL_J2221.9-3504_daily_bin2213.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) = 8338.07331423
delta logL = -0.000438135934019

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

MINUIT Return Code (Free Index): 102
logL (Free Index) = 8338.07287625
delta logL = -1.53058863361e-07

Fit tolerance = 1e-08

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

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

 MIGRAD MINIMIZATION HAS CONVERGED.

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

 FCN=   8338.073     FROM MIGRAD    STATUS=CONVERGED     42 CALLS      239 TOTAL
                     EDM=   .54E-09  STRATEGY=1  ERROR MATRIX UNCERTAINTY=100.0%

  EXT PARAMETER                APPROXIMATE        STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor      .0000        1.6387        .42118E-03** at limit **
   2  Index         3.7633        1.4062        .11332E-03     .0000    
   3  Normalizat    1.1865        1.1112        .17717E-04   -.21074E-03
   4  Prefactor     .83451        1.1821        .87668E-06   -.65246E-03
                               ERR DEF=  .500    
Final values: 
  Prefactor  = 0
  Index      = 3.76335
  Normalizat = 1.18646
  Prefactor  = 0.834512
 **********
 **   18 **HESSE 
 **********
  MNHESS FAILS AND WILL RETURN DIAGONAL MATRIX. 

 FCN=   8338.073     FROM HESSE     STATUS=FAILED         9 CALLS      248 TOTAL
                     EDM=   .54E-09  STRATEGY=1  ERROR MATRIX UNCERTAINTY=100.0%

  EXT PARAMETER                APPROXIMATE     INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  Prefactor      .0000        1.6387        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   2  Index         1.5557        2.2609        .11332E-03   -.24992    
   3  Normalizat    1.1865        1.1112        .17717E-04   -.87022    
   4  Prefactor     .83451        1.1821        .87668E-06   -.98468    
                               ERR DEF=  .500    
Minuit fit quality: 1   estimated distance: 5.3884e-10
Minuit parameter uncertainties:
  1  1.2266e-05
  2  1.42668
  3  1.1345
  4  1.22142
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) = 8338.07287606
delta logL = 3.73001967091e-08

Extracting fit parameters...

4FGL J2221.9-3504
   Spectrum: PowerLaw
253    Prefactor:  0.000e+00  1.227e-05  0.000e+00  1.000e+06 ( 1.000e-12)
254        Index:  3.763e+00  1.427e+00  0.000e+00  1.000e+01 (-1.000e+00)
255        Scale:  5.158e+02  0.000e+00  3.000e+01  5.000e+05 ( 1.000e+00) fixed

GAL_V02
   Spectrum: PowerLaw
560    Prefactor:  8.345e-01  1.221e+00  0.000e+00  1.000e+01 ( 1.000e+00)
561        Index:  0.000e+00  0.000e+00 -1.000e+00  1.000e+00 ( 1.000e+00) fixed
562        Scale:  1.000e+02  0.000e+00  5.000e+01  2.000e+02 ( 1.000e+00) fixed

EG_v02
   Spectrum: FileFunction
559   Normalization:  1.186e+00  1.134e+00  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Free Index): -0.00
Ra Dec: 335.497 -35.071

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/40383180/cmap_HighResolution_812937601_813196801_4FGL_J2221.9-3504_daily_bin2213.png

Cleaning up...

** Nuclear option initiated! **

Updating database...

UPDATE lightcurve_data_v2 SET energy_flux_upper_limit='4.62e-03', job_status='DONE', photon_flux_upper_limit='5.87e-08', time_completed='2026-10-09 19:36:19.959349', job_id='40383180', GAL2='0.83', fit_tolerance='1e-08', EG2='1.19', EG='1.19', time_epoch_completed='1791599779.96', return_code2='101', ts='-0.00', comment='SUCCESS', return_code='0', GAL='0.83', dlogl='3.73e-08', ts2='0.00', photon_index_error='0.00', photon_index='2.68' WHERE bin_id='2213' AND source_name='4FGL J2221.9-3504' AND cadence='daily';

Database successfully updated.


Analysis Complete.


Fri Oct  9 19:36:20 PDT 2026

e GAL_V02
Working on...
/lscratch/kocevski/40383282/ft1_filtered_4FGL_J2221.9-3504_daily_bin2213.fits.....................!
real 26.72
user 25.48
sys 0.89

Creating the likelihood object...
obs = UnbinnedObs('/lscratch/kocevski/40383282/ft1_filtered_4FGL_J2221.9-3504_daily_bin2213.fits', '/lscratch/kocevski/40383282/ft2_4FGL_J2221.9-3504_daily_bin2213.fits', expMap='/lscratch/kocevski/40383282/expmap_812937601_813196801_4FGL_J2221.9-3504_daily_bin2213.fits', expCube='/lscratch/kocevski/40383282/ltcube_812937601_813196801_4FGL_J2221.9-3504_daily_bin2213.fits', irfs='P8R3_SOURCE_V2')
like = UnbinnedAnalysis(obs, '/lscratch/kocevski/40383282/Model_4FGL_J2221.9-3504_daily_bin2213.xml', optimizer='MINUIT')

Using source of interest name: '4FGL J2221.9-3504'

4FGL J2221.9-3504
   Spectrum: PowerLaw
253    Prefactor:  1.240e+00  0.000e+00  0.000e+00  1.000e+06 ( 1.000e-12)
254        Index:  2.677e+00  0.000e+00  0.000e+00  1.000e+01 (-1.000e+00) fixed
255        Scale:  5.158e+02  0.000e+00  3.000e+01  5.000e+05 ( 1.000e+00) fixed


Likelihood Fit Parameters:
Event file(s): /lscratch/kocevski/40383282/ft1_filtered_4FGL_J2221.9-3504_daily_bin2213.fits
Spacecraft file(s): /lscratch/kocevski/40383282/ft2_4FGL_J2221.9-3504_daily_bin2213.fits
Exposure map: /lscratch/kocevski/40383282/expmap_812937601_813196801_4FGL_J2221.9-3504_daily_bin2213.fits
Exposure cube: /lscratch/kocevski/40383282/ltcube_812937601_813196801_4FGL_J2221.9-3504_daily_bin2213.fits
IRFs: P8R3_SOURCE_V2
Source model file: /lscratch/kocevski/40383282/Model_4FGL_J2221.9-3504_daily_bin2213.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) = 8338.26778817

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

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

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'norm      '    15.238       1.0000          .0000       .10000E+07
     2 'Prefactor '    3.6764       1.0000          .0000       .10000E+07
     3 'Prefactor '    12.973       1.0000          .0000       .10000E+07
     4 'norm      '    .96777       1.0000          .0000       .10000E+07
     5 'Prefactor '    .24956E-02   1.0000          .0000       .10000E+07
     6 'Prefactor '    .22891E-01   1.0000          .0000       .10000E+07
     7 'norm      '    9.4390       1.0000          .0000       .10000E+07
     8 'norm      '    1.5464       1.0000          .0000       .10000E+07
     9 'Prefactor '    .25756E-03   1.0000          .0000       .10000E+07
    10 'Prefactor '    42.738       1.0000          .0000       .10000E+07
    11 'Prefactor '    .18825E-03   1.0000          .0000       .10000E+07
    12 'Prefactor '    1.6769       1.0000          .0000       .10000E+07
    13 'norm      '    .14932E-06   1.0000          .0000       .10000E+07
    14 'Prefactor '    .64809E-05   1.0000          .0000       .10000E+07
    15 'Prefactor '    6.4787       1.0000          .0000       .10000E+07
    16 'Prefactor '    .15209E-02   1.0000          .0000       .10000E+07
    17 'norm      '    2.1464       1.0000          .0000       .10000E+07
    18 'Prefactor '    139.44       1.0000          .0000       .10000E+07
    19 'Prefactor '    .18093E-03   1.0000          .0000       .10000E+07
    20 'Prefactor '    .83369E-05   1.0000          .0000       .10000E+07
    21 'norm      '    .11651E-03   1.0000          .0000       .10000E+07
    22 'Prefactor '    .50926E-04   1.0000          .0000       .10000E+07
    23 'Prefactor '    3.6549       1.0000          .0000       .10000E+07
    24 'norm      '    .11006       1.0000          .0000       .10000E+07
    25 'Prefactor '    .18037E-02   1.0000          .0000       .10000E+07
    26 'Normalizat'    1.1877       1.0000         .10000E-01   10.000    
    27 'Prefactor '    .83423       1.0000          .0000       10.000    
 **********
 **   15 **SET ERR    .5000    
 **********
 **********
 **   16 **SET GRAD    1.000    
 **********
 **********
 **   17 **MINIMIZE    .5630E+05   .2000E-04
 **********

 MIGRAD MINIMIZATION HAS CONVERGED.

 FCN=   8338.073     FROM MIGRAD    STATUS=CONVERGED    179 CALLS     2392 TOTAL
                     EDM=   .17E-08  STRATEGY=1  ERROR MATRIX UNCERTAINTY=  1.7%

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  norm          15.310        5.1986       -.13813E-06   -.11670E-02
   2  Prefactor     3.6928        5.8712        .34203E-06    .23264E-02
   3  Prefactor     12.989        2.6408        .43249E-07   -.49595E-02
   4  norm          .97028        .55609        .30840E-07   -.66877E-02
   5  Prefactor     .74885E-07    7.8176        .11669E-06** at limit **
   6  Prefactor     .99920E-08    39.298        .73901E-06** at limit **
   7  norm          9.4277        4.3693        .11480E-06    .14790E-02
   8  norm          1.5472        .38363       -.69963E-08   -.12847E-03
   9  Prefactor     .53291E-08    8.5092        .11078E-06** at limit **
  10  Prefactor     42.638        1.3191       -.10315E-07    .53255E-01
  11  Prefactor     .23370E-06    2.0625       -.21450E-06** at limit **
  12  Prefactor     1.6821        2.3640        .29494E-07   -.13601E-03
  13  norm          .11985E-06    4.1022       -.34996E-06** at limit **
  14  Prefactor     .65503E-08    7.1431        .55117E-07** at limit **
  15  Prefactor     6.7134        4.7573       -.48703E-07    .35195E-01
  16  Prefactor     .14266E-07    15.250        .90892E-07** at limit **
  17  norm          2.1198        2.0641        .24879E-06    .21249E-02
  18  Prefactor     141.57        72.563        .54096E-07   -.33705E-02
  19  Prefactor     .25108E-06    1.9657       -.26454E-07** at limit **
  20  Prefactor     .44964E-08    3.9578       -.43188E-06** at limit **
  21  norm           .0000        1.7294        .12175E-06** at limit **
  22  Prefactor     .63949E-07    6.1592        .10173E-06** at limit **
  23  Prefactor     3.6859        8.0118        .10062E-05    .26896E-02
  24  norm          .10890        .41597        .19209E-07** at limit **
  25  Prefactor     .13017E-06    4.2554        .18696E-06** at limit **
  26  Normalizat    1.1865        .18921       -.10373E-04   -.11547E-03
  27  Prefactor     .83452        .16339        .49104E-05   -.81133E-04
                               ERR DEF=  .500    
Final values: 
  norm       = 15.3098
  Prefactor  = 3.69276
  Prefactor  = 12.9888
  norm       = 0.970278
  Prefactor  = 7.48845e-08
  Prefactor  = 9.99201e-09
  norm       = 9.42773
  norm       = 1.54716
  Prefactor  = 5.32907e-09
  Prefactor  = 42.6382
  Prefactor  = 2.33702e-07
  Prefactor  = 1.68212
  norm       = 1.19849e-07
  Prefactor  = 6.55032e-09
  Prefactor  = 6.71341
  Prefactor  = 1.42664e-08
  norm       = 2.11978
  Prefactor  = 141.573
  Prefactor  = 2.51077e-07
  Prefactor  = 4.4964e-09
  norm       = 0
  Prefactor  = 6.39488e-08
  Prefactor  = 3.68593
  norm       = 0.108904
  Prefactor  = 1.30174e-07
  Normalizat = 1.18645
  Prefactor  = 0.834517
 **********
 **   18 **HESSE 
 **********

 FCN=   8338.073     FROM HESSE     STATUS=OK           544 CALLS     2936 TOTAL
                     EDM=   .34E-06    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  norm          15.310        5.2568        .25632E-03   -1.5630    
   2  Prefactor     3.6928        6.9701        .52653E-03   -1.5670    
   3  Prefactor     12.989        9.0703        .27785E-03   -1.5636    
   4  norm          .97028        9.2837        .42621E-03   -1.5688    
   5  Prefactor     .74885E-07    13.944        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   6  Prefactor     .99920E-08    38.672        .16853E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   7  norm          9.4277        4.3821        .32595E-03   -1.5647    
   8  norm          1.5472        .38190        .59356E-03   -1.5683    
   9  Prefactor     .53291E-08    8.5671        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  10  Prefactor     42.638        20.428        .15298E-03   -1.5577    
  11  Prefactor     .23370E-06    3.0960        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  12  Prefactor     1.6821        2.3864        .81338E-03   -1.5682    
  13  norm          .11985E-06    4.7319        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  14  Prefactor     .65503E-08    7.2089        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  15  Prefactor     6.7134        20.118        .39406E-03   -1.5656    
  16  Prefactor     .14266E-07    15.900        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  17  norm          2.1198        2.0679        .70311E-03   -1.5679    
  18  Prefactor     141.57        72.320        .84692E-04   -1.5470    
  19  Prefactor     .25108E-06    3.0905        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  20  Prefactor     .44964E-08    3.9700        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  21  norm           .0000        1.7259        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  22  Prefactor     .63949E-07    14.167        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  23  Prefactor     3.6859        7.5311        .52813E-03   -1.5670    
  24  norm          .10890        .31819        .22249E-02   -1.5715    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  25  Prefactor     .13017E-06    4.9266        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  26  Normalizat    1.1865        .16331        .56143E-01   -.87023    
  27  Prefactor     .83452        .14122        .44161E-01   -.98468    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 3.35773e-07
Minuit parameter uncertainties:
  1  5.25676
  2  6.97007
  3  9.0703
  4  6.00261
  5  0.00204366
  6  0.00124288
  7  4.38211
  8  0.381902
  9  0.000427326
  10  20.4284
  11  0.00170125
  12  2.38642
  13  0.00150619
  14  0.00043391
  15  20.1182
  16  0.000952587
  17  2.0679
  18  72.3203
  19  0.0017617
  20  0.000267255
  21  1.15175e-05
  22  0.00190351
  23  7.53112
  24  0.318187
  25  0.00160153
  26  0.163376
  27  0.141286
Done.

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

Extracting fit parameters...

4FGL J2221.9-3504
   Spectrum: PowerLaw
253    Prefactor:  2.337e-07  1.701e-03  0.000e+00  1.000e+06 ( 1.000e-12)
254        Index:  2.677e+00  0.000e+00  0.000e+00  1.000e+01 (-1.000e+00) fixed
255        Scale:  5.158e+02  0.000e+00  3.000e+01  5.000e+05 ( 1.000e+00) fixed

GAL_V02
   Spectrum: PowerLaw
560    Prefactor:  8.345e-01  1.413e-01  0.000e+00  1.000e+01 ( 1.000e+00)
561        Index:  0.000e+00  0.000e+00 -1.000e+00  1.000e+00 ( 1.000e+00) fixed
562        Scale:  1.000e+02  0.000e+00  5.000e+01  2.000e+02 ( 1.000e+00) fixed

EG_v02
   Spectrum: FileFunction
559   Normalization:  1.186e+00  1.634e-01  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Fixed Index): -0.00
Ra Dec: 335.497 -35.071
Photon Flux Upper Limit: 5.87314737667e-08 ph cm-2 s-1
Energy Flux Upper Limit: 0.004617340001 MeV cm-2 s-1

Saving results to:
/lscratch/kocevski/40383282/likelihoodResults_812937601_813196801_4FGL_J2221.9-3504_daily_bin2213.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) = 8338.07331423
delta logL = -0.000438135934019

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

MINUIT Return Code (Free Index): 102
logL (Free Index) = 8338.07287625
delta logL = -1.53058863361e-07

Fit tolerance = 1e-08

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

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

 MIGRAD MINIMIZATION HAS CONVERGED.

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

 FCN=   8338.073     FROM MIGRAD    STATUS=CONVERGED     42 CALLS      239 TOTAL
                     EDM=   .54E-09  STRATEGY=1  ERROR MATRIX UNCERTAINTY=100.0%

  EXT PARAMETER                APPROXIMATE        STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor      .0000        1.6387        .42118E-03** at limit **
   2  Index         3.7633        1.4062        .11332E-03     .0000    
   3  Normalizat    1.1865        1.1112        .17717E-04   -.21074E-03
   4  Prefactor     .83451        1.1821        .87668E-06   -.65246E-03
                               ERR DEF=  .500    
Final values: 
  Prefactor  = 0
  Index      = 3.76335
  Normalizat = 1.18646
  Prefactor  = 0.834512
 **********
 **   18 **HESSE 
 **********
  MNHESS FAILS AND WILL RETURN DIAGONAL MATRIX. 

 FCN=   8338.073     FROM HESSE     STATUS=FAILED         9 CALLS      248 TOTAL
                     EDM=   .54E-09  STRATEGY=1  ERROR MATRIX UNCERTAINTY=100.0%

  EXT PARAMETER                APPROXIMATE     INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  Prefactor      .0000        1.6387        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   2  Index         1.5557        2.2609        .11332E-03   -.24992    
   3  Normalizat    1.1865        1.1112        .17717E-04   -.87022    
   4  Prefactor     .83451        1.1821        .87668E-06   -.98468    
                               ERR DEF=  .500    
Minuit fit quality: 1   estimated distance: 5.3884e-10
Minuit parameter uncertainties:
  1  1.2266e-05
  2  1.42668
  3  1.1345
  4  1.22142
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) = 8338.07287606
delta logL = 3.73001967091e-08

Extracting fit parameters...

4FGL J2221.9-3504
   Spectrum: PowerLaw
253    Prefactor:  0.000e+00  1.227e-05  0.000e+00  1.000e+06 ( 1.000e-12)
254        Index:  3.763e+00  1.427e+00  0.000e+00  1.000e+01 (-1.000e+00)
255        Scale:  5.158e+02  0.000e+00  3.000e+01  5.000e+05 ( 1.000e+00) fixed

GAL_V02
   Spectrum: PowerLaw
560    Prefactor:  8.345e-01  1.221e+00  0.000e+00  1.000e+01 ( 1.000e+00)
561        Index:  0.000e+00  0.000e+00 -1.000e+00  1.000e+00 ( 1.000e+00) fixed
562        Scale:  1.000e+02  0.000e+00  5.000e+01  2.000e+02 ( 1.000e+00) fixed

EG_v02
   Spectrum: FileFunction
559   Normalization:  1.186e+00  1.134e+00  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Free Index): -0.00
Ra Dec: 335.497 -35.071

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/40383282/cmap_HighResolution_812937601_813196801_4FGL_J2221.9-3504_daily_bin2213.png

Cleaning up...

** Nuclear option initiated! **

Updating database...

UPDATE lightcurve_data_v2 SET energy_flux_upper_limit='4.62e-03', job_status='DONE', photon_flux_upper_limit='5.87e-08', time_completed='2026-10-09 19:39:33.015995', job_id='40383282', GAL2='0.83', fit_tolerance='1e-08', EG2='1.19', EG='1.19', time_epoch_completed='1791599973.02', return_code2='101', ts='-0.00', comment='SUCCESS', return_code='0', GAL='0.83', dlogl='3.73e-08', ts2='0.00', photon_index_error='0.00', photon_index='2.68' WHERE bin_id='2213' AND source_name='4FGL J2221.9-3504' AND cadence='daily';

Database successfully updated.


Analysis Complete.


Fri Oct  9 19:39:33 PDT 2026

