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

 FCN=   8184.616     FROM HESSE     STATUS=OK           365 CALLS     2954 TOTAL
                     EDM=   .46E-06    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  norm          4.0479        2.3955        .50132E-03   -1.5668    
   2  Prefactor     42.640        43.451        .15369E-03   -1.5577    
   3  norm          .33307E-09    .97762        .42118E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   4  norm          24.602        17.415        .20155E-03   -1.5609    
   5  Prefactor     .21894E-06    47.892        .12062E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   6  Prefactor     1.3052        293.16        .99067E-03   -1.5685    
   7  norm          .41844        .83850        .87702E-03   -1.5695    
   8  Prefactor     .92260E-07    10.557        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   9  norm          .27756E-09    1.3609        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  10  Prefactor     .18549E-05    8.2326        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  11  Prefactor     3.4139        8.5781        .54664E-03   -1.5671    
  12  Prefactor     2.5658        .32428        .39242E-02   -1.5388    
  13  Prefactor     .10000E-03    7.1781        .90712E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  14  norm          .74251        1.4345        .57467E-03   -1.5691    
  15  Prefactor     .13500E-05    7.8220        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  16  Prefactor     9.9654        9.9505        .31713E-03   -1.5645    
  17  Prefactor     1.9796        .23670        .32590E-02   -1.5427    
  18  Prefactor     .20539E-07    14.021        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  19  Prefactor     8.0448        7.6105        .35347E-03   -1.5651    
  20  Normalizat    1.1417        .20914        .73197E-01   -.88423    
  21  Prefactor     .65430        .10622        .41790E-01   -1.0535    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 4.63471e-07
Minuit parameter uncertainties:
  1  2.39552
  2  43.4518
  3  3.51948e-05
  4  17.4148
  5  0.00647593
  6  39.1248
  7  0.838497
  8  0.00197371
  9  3.69022e-05
  10  0.00781561
  11  8.57816
  12  0.324276
  13  3.5402e-05
  14  1.43451
  15  0.00649905
  16  9.95053
  17  0.236701
  18  0.00107304
  19  7.61053
  20  0.209289
  21  0.106252
Working on...
/lscratch/kocevski/31941799/ft1_filtered_4FGL_J2222.8+1209_daily_bin2184.fits.....................!
real 29.79
user 28.00
sys 1.15

Creating the likelihood object...
obs = UnbinnedObs('/lscratch/kocevski/31941799/ft1_filtered_4FGL_J2222.8+1209_daily_bin2184.fits', '/lscratch/kocevski/31941799/ft2_4FGL_J2222.8+1209_daily_bin2184.fits', expMap='/lscratch/kocevski/31941799/expmap_805420801_805680001_4FGL_J2222.8+1209_daily_bin2184.fits', expCube='/lscratch/kocevski/31941799/ltcube_805420801_805680001_4FGL_J2222.8+1209_daily_bin2184.fits', irfs='P8R3_SOURCE_V2')
like = UnbinnedAnalysis(obs, '/lscratch/kocevski/31941799/Model_4FGL_J2222.8+1209_daily_bin2184.xml', optimizer='MINUIT')

Using source of interest name: '4FGL J2222.8+1209'

4FGL J2222.8+1209
   Spectrum: PowerLaw
262    Prefactor:  1.996e+00  0.000e+00  0.000e+00  1.000e+06 ( 1.000e-13)
263        Index:  2.407e+00  0.000e+00  0.000e+00  1.000e+01 (-1.000e+00) fixed
264        Scale:  1.288e+03  0.000e+00  3.000e+01  5.000e+05 ( 1.000e+00) fixed


Likelihood Fit Parameters:
Event file(s): /lscratch/kocevski/31941799/ft1_filtered_4FGL_J2222.8+1209_daily_bin2184.fits
Spacecraft file(s): /lscratch/kocevski/31941799/ft2_4FGL_J2222.8+1209_daily_bin2184.fits
Exposure map: /lscratch/kocevski/31941799/expmap_805420801_805680001_4FGL_J2222.8+1209_daily_bin2184.fits
Exposure cube: /lscratch/kocevski/31941799/ltcube_805420801_805680001_4FGL_J2222.8+1209_daily_bin2184.fits
IRFs: P8R3_SOURCE_V2
Source model file: /lscratch/kocevski/31941799/Model_4FGL_J2222.8+1209_daily_bin2184.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) = 8184.61812385

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

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

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'norm      '    4.0419       1.0000          .0000       .10000E+07
     2 'Prefactor '    42.344       1.0000          .0000       .10000E+07
     3 'norm      '    .31386E-04   1.0000          .0000       .10000E+07
     4 'norm      '    24.628       1.0000          .0000       .10000E+07
     5 'Prefactor '    .18432       1.0000          .0000       .10000E+07
     6 'Prefactor '    1.2643       1.0000          .0000       .10000E+07
     7 'norm      '    .41559       1.0000          .0000       .10000E+07
     8 'Prefactor '    .34510E-02   1.0000          .0000       .10000E+07
     9 'norm      '    .20439E-05   1.0000          .0000       .10000E+07
    10 'Prefactor '    .27269E-03   1.0000          .0000       .10000E+07
    11 'Prefactor '    3.4213       1.0000          .0000       .10000E+07
    12 'Prefactor '    2.5659       1.0000         .10000E-03   10000.    
    13 'Prefactor '    .11441E-03   1.0000         .10000E-03   10000.    
    14 'norm      '    .74066       1.0000          .0000       .10000E+07
    15 'Prefactor '    .90442E-03   1.0000          .0000       .10000E+07
    16 'Prefactor '    9.9682       1.0000          .0000       .10000E+07
    17 'Prefactor '    1.9796       1.0000         .10000E-03   10000.    
    18 'Prefactor '    .29503E-02   1.0000          .0000       .10000E+07
    19 'Prefactor '    8.0349       1.0000          .0000       .10000E+07
    20 'Normalizat'    1.1415       1.0000         .10000E-01   10.000    
    21 'Prefactor '    .65435       1.0000          .0000       10.000    
 **********
 **   15 **SET ERR    .5000    
 **********
 **********
 **   16 **SET GRAD    1.000    
 **********
 **********
 **   17 **MINIMIZE    .5150E+05   .2000E-04
 **********

 MIGRAD MINIMIZATION HAS CONVERGED.

 FCN=   8184.616     FROM MIGRAD    STATUS=CONVERGED    126 CALLS     2589 TOTAL
                     EDM=   .17E-08  STRATEGY=1  ERROR MATRIX UNCERTAINTY=  1.6%

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  norm          4.0479        2.3893        .87181E-07   -.45815E-02
   2  Prefactor     42.640        42.497        .98017E-05   -.20594E-01
   3  norm          .33307E-09    4.5580        .10642E-05** at limit **
   4  norm          24.602        2.4428       -.64644E-06    .10538E-01
   5  Prefactor     .21894E-06    47.942       -.79694E-05** at limit **
   6  Prefactor     1.3052        1.4820        .12551E-05   -.63837E-03
   7  norm          .41844        .81445        .34353E-06    .15441E-02
   8  Prefactor     .92260E-07    10.348        .14455E-05** at limit **
   9  norm          .27756E-09    1.3499       -.11259E-08** at limit **
  10  Prefactor     .18549E-05    4.0669       -.21204E-06** at limit **
  11  Prefactor     3.4139        8.4293       -.56404E-05   -.19029E-01
  12  Prefactor     2.5658        .32441       -.12378E-06   -.29063E-02
  13  Prefactor     .10000E-03    7.3071       -.12272E-04** at limit **
  14  norm          .74251        1.3513       -.40394E-06   -.81511E-02
  15  Prefactor     .13500E-05    4.6926        .65081E-06** at limit **
  16  Prefactor     9.9654        1.7485       -.23437E-06    .39440E-01
  17  Prefactor     1.9796        .23701        .84184E-06    .41002E-02
  18  Prefactor     .20539E-07    13.929        .34399E-05** at limit **
  19  Prefactor     8.0448        7.6025        .48676E-06   -.20173E-03
  20  Normalizat    1.1417        .24479       -.16384E-04   -.14183E-03
  21  Prefactor     .65430        .12435        .10398E-04   -.46573E-03
                               ERR DEF=  .500    
Final values: 
  norm       = 4.04792
  Prefactor  = 42.6398
  norm       = 3.33067e-10
  norm       = 24.602
  Prefactor  = 2.18936e-07
  Prefactor  = 1.30524
  norm       = 0.418442
  Prefactor  = 9.22595e-08
  norm       = 2.77556e-10
  Prefactor  = 1.85491e-06
  Prefactor  = 3.41389
  Prefactor  = 2.56584
  Prefactor  = 0.0001
  norm       = 0.742509
  Prefactor  = 1.34998e-06
  Prefactor  = 9.96544
  Prefactor  = 1.97959
  Prefactor  = 2.05391e-08
  Prefactor  = 8.04478
  Normalizat = 1.14173
  Prefactor  = 0.654302
ile=/lscratch/kocevski/31942092/ltcube_805420801_805680001_4FGL_J2222.8+1209_daily_bin2184.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/31942092/ft2_4FGL_J2222.8+1209_daily_bin2184.fits
.....................!
real 7.49
user 6.68
sys 0.21

Generating the exposure map:
time -p gtexpmap evfile=/lscratch/kocevski/31942092/ft1_filtered_4FGL_J2222.8+1209_daily_bin2184.fits evtable="EVENTS" scfile=/lscratch/kocevski/31942092/ft2_4FGL_J2222.8+1209_daily_bin2184.fits sctable="SC_DATA" expcube=/lscratch/kocevski/31942092/ltcube_805420801_805680001_4FGL_J2222.8+1209_daily_bin2184.fits outfile=/lscratch/kocevski/31942092/expmap_805420801_805680001_4FGL_J2222.8+1209_daily_bin2184.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/31942092/ltcube_805420801_805680001_4FGL_J2222.8+1209_daily_bin2184.fits
.....................!
real 60.38
user 55.98
sys 3.52

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

Setting source of interest to:
4FGL J2222.8+1209 @ 335.71 12.1568

Creating the counts map:
time -p gtbin evfile=/lscratch/kocevski/31942092/ft1_filtered_4FGL_J2222.8+1209_daily_bin2184.fits scfile=/lscratch/kocevski/31942092/ft2_4FGL_J2222.8+1209_daily_bin2184.fits outfile=/lscratch/kocevski/31942092/cmap_805420801_805680001_4FGL_J2222.8+1209_daily_bin2184.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.71 yref=12.1568 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.88
user 0.20
sys 0.13

Creating the high resolution counts map:
time -p gtbin evfile=/lscratch/kocevski/31942092/ft1_filtered_4FGL_J2222.8+1209_daily_bin2184.fits scfile=/lscratch/kocevski/31942092/ft2_4FGL_J2222.8+1209_daily_bin2184.fits outfile=/lscratch/kocevski/31942092/cmap_HighResolution_805420801_805680001_4FGL_J2222.8+1209_daily_bin2184.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.71 yref=12.1568 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.96
user 0.20
sys 0.13

Computing the diffuse response:
time -p gtdiffrsp evfile=/lscratch/kocevski/31942092/ft1_filtered_4FGL_J2222.8+1209_daily_bin2184.fits evtable="EVENTS" scfile=/lscratch/kocevski/31942092/ft2_4FGL_J2222.8+1209_daily_bin2184.fits sctable="SC_DATA" srcmdl=/lscratch/kocevski/31942092/Model_4FGL_J2222.8+1209_daily_bin2184.xml irfs="P8R3_SOURCE_V2" evclsmin=0 evclass="INDEF" evtype="INDEF" convert=yes chatter=2 clobber=yes debug=no gui=no mode="ql"

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

adding source EG_v02
adding source GAL_V02
 **********
 **   18 **HESSE 
 **********

 FCN=   8184.616     FROM HESSE     STATUS=OK           365 CALLS     2954 TOTAL
                     EDM=   .46E-06    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  norm          4.0479        2.3955        .50132E-03   -1.5668    
   2  Prefactor     42.640        43.451        .15369E-03   -1.5577    
   3  norm          .33307E-09    .97762        .42118E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   4  norm          24.602        17.415        .20155E-03   -1.5609    
   5  Prefactor     .21894E-06    47.892        .12062E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   6  Prefactor     1.3052        293.16        .99067E-03   -1.5685    
   7  norm          .41844        .83850        .87702E-03   -1.5695    
   8  Prefactor     .92260E-07    10.557        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   9  norm          .27756E-09    1.3609        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  10  Prefactor     .18549E-05    8.2326        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  11  Prefactor     3.4139        8.5781        .54664E-03   -1.5671    
  12  Prefactor     2.5658        .32428        .39242E-02   -1.5388    
  13  Prefactor     .10000E-03    7.1781        .90712E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  14  norm          .74251        1.4345        .57467E-03   -1.5691    
  15  Prefactor     .13500E-05    7.8220        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  16  Prefactor     9.9654        9.9505        .31713E-03   -1.5645    
  17  Prefactor     1.9796        .23670        .32590E-02   -1.5427    
  18  Prefactor     .20539E-07    14.021        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  19  Prefactor     8.0448        7.6105        .35347E-03   -1.5651    
  20  Normalizat    1.1417        .20914        .73197E-01   -.88423    
  21  Prefactor     .65430        .10622        .41790E-01   -1.0535    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 4.63471e-07
Minuit parameter uncertainties:
  1  2.39552
  2  43.4518
  3  3.51948e-05
  4  17.4148
  5  0.00647593
  6  39.1248
  7  0.838497
  8  0.00197371
  9  3.69022e-05
  10  0.00781561
  11  8.57816
  12  0.324276
  13  3.5402e-05
  14  1.43451
  15  0.00649905
  16  9.95053
  17  0.236701
  18  0.00107304
  19  7.61053
  20  0.209289
  21  0.106252
/sdf/group/fermi/u/kocevski/software/conda/envs/fermitools_v1.0.5/lib/python2.7/site-packages/pyfits/__init__.py:22: PyFITSDeprecationWarning: PyFITS is deprecated, please use astropy.io.fits
  PyFITSDeprecationWarning)  # noqa

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

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

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

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

 FCN=   8184.616     FROM HESSE     STATUS=OK           365 CALLS     2954 TOTAL
                     EDM=   .46E-06    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  norm          4.0479        2.3955        .50132E-03   -1.5668    
   2  Prefactor     42.640        43.451        .15369E-03   -1.5577    
   3  norm          .33307E-09    .97762        .42118E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   4  norm          24.602        17.415        .20155E-03   -1.5609    
   5  Prefactor     .21894E-06    47.892        .12062E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   6  Prefactor     1.3052        293.16        .99067E-03   -1.5685    
   7  norm          .41844        .83850        .87702E-03   -1.5695    
   8  Prefactor     .92260E-07    10.557        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   9  norm          .27756E-09    1.3609        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  10  Prefactor     .18549E-05    8.2326        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  11  Prefactor     3.4139        8.5781        .54664E-03   -1.5671    
  12  Prefactor     2.5658        .32428        .39242E-02   -1.5388    
  13  Prefactor     .10000E-03    7.1781        .90712E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  14  norm          .74251        1.4345        .57467E-03   -1.5691    
  15  Prefactor     .13500E-05    7.8220        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  16  Prefactor     9.9654        9.9505        .31713E-03   -1.5645    
  17  Prefactor     1.9796        .23670        .32590E-02   -1.5427    
  18  Prefactor     .20539E-07    14.021        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  19  Prefactor     8.0448        7.6105        .35347E-03   -1.5651    
  20  Normalizat    1.1417        .20914        .73197E-01   -.88423    
  21  Prefactor     .65430        .10622        .41790E-01   -1.0535    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 4.63471e-07
Minuit parameter uncertainties:
  1  2.39552
  2  43.4518
  3  3.51948e-05
  4  17.4148
  5  0.00647593
  6  39.1248
  7  0.838497
  8  0.00197371
  9  3.69022e-05
  10  0.00781561
  11  8.57816
  12  0.324276
  13  3.5402e-05
  14  1.43451
  15  0.00649905
  16  9.95053
  17  0.236701
  18  0.00107304
  19  7.61053
  20  0.209289
  21  0.106252

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

Done.

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

Extracting fit parameters...

4FGL J2222.8+1209
   Spectrum: PowerLaw
262    Prefactor:  1.855e-06  7.816e-03  0.000e+00  1.000e+06 ( 1.000e-13)
263        Index:  2.407e+00  0.000e+00  0.000e+00  1.000e+01 (-1.000e+00) fixed
264        Scale:  1.288e+03  0.000e+00  3.000e+01  5.000e+05 ( 1.000e+00) fixed

GAL_V02
   Spectrum: PowerLaw
512    Prefactor:  6.543e-01  1.063e-01  0.000e+00  1.000e+01 ( 1.000e+00)
513        Index:  0.000e+00  0.000e+00 -1.000e+00  1.000e+00 ( 1.000e+00) fixed
514        Scale:  1.000e+02  0.000e+00  5.000e+01  2.000e+02 ( 1.000e+00) fixed

EG_v02
   Spectrum: FileFunction
511   Normalization:  1.142e+00  2.093e-01  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Fixed Index): -0.00
Ra Dec: 335.710 12.157
Photon Flux Upper Limit: 8.67912492866e-08 ph cm-2 s-1
Energy Flux Upper Limit: 0.00670967603809 MeV cm-2 s-1

Saving results to:
/lscratch/kocevski/31941768/likelihoodResults_805420801_805680001_4FGL_J2222.8+1209_daily_bin2184.txt

Performing a free index iterative likelihood fit...

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

Done.

Freeing candidate source...
Done.

Fit tolerance = 1

Performing likelihood fit...
Done.

MINUIT Return Code (Free Index): 0
logL (Free Index) = 8184.67542811
delta logL = -0.0595122115619

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

MINUIT Return Code (Free Index): 102
logL (Free Index) = 8184.6159159
delta logL = -3.63070284948e-09

Fit tolerance = 1e-08

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

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

 MIGRAD MINIMIZATION HAS CONVERGED.

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

 FCN=   8184.616     FROM MIGRAD    STATUS=CONVERGED     43 CALLS      207 TOTAL
                     EDM=   .35E-10  STRATEGY=1  ERROR MATRIX UNCERTAINTY=100.0%

  EXT PARAMETER                APPROXIMATE        STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor      .0000        6.3414        .42118E-03** at limit **
   2  Index         3.1636        2.0180       -.48305E-03     .0000    
   3  Normalizat    1.1417        1.1306       -.35264E-04    .11007E-05
   4  Prefactor     .65430        1.0036        .11435E-04   -.14946E-03
                               ERR DEF=  .500    
Final values: 
  Prefactor  = 0
  Index      = 3.16355
  Normalizat = 1.14173
  Prefactor  = 0.654303
 **********
 **   18 **HESSE 
 **********
  MNHESS FAILS AND WILL RETURN DIAGONAL MATRIX. 

 FCN=   8184.616     FROM HESSE     STATUS=FAILED         9 CALLS      216 TOTAL
                     EDM=   .35E-10  STRATEGY=1  ERROR MATRIX UNCERTAINTY=100.0%

  EXT PARAMETER                APPROXIMATE     INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  Prefactor      .0000        6.3414        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   2  Index         1.1270        2.2185       -.48305E-03   -.37609    
   3  Normalizat    1.1417        1.1306       -.35264E-04   -.88423    
   4  Prefactor     .65430        1.0036        .11435E-04   -1.0535    
                               ERR DEF=  .500    
Minuit fit quality: 1   estimated distance: 3.46233e-11
Minuit parameter uncertainties:
  1  1.84547e-05
  2  2.08743
  3  1.15609
  4  1.0334
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) = 8184.61591578
delta logL = 1.12599991553e-07

Extracting fit parameters...

4FGL J2222.8+1209
   Spectrum: PowerLaw
262    Prefactor:  0.000e+00  1.845e-05  0.000e+00  1.000e+06 ( 1.000e-13)
263        Index:  3.164e+00  2.087e+00  0.000e+00  1.000e+01 (-1.000e+00)
264        Scale:  1.288e+03  0.000e+00  3.000e+01  5.000e+05 ( 1.000e+00) fixed

GAL_V02
   Spectrum: PowerLaw
512    Prefactor:  6.543e-01  1.033e+00  0.000e+00  1.000e+01 ( 1.000e+00)
513        Index:  0.000e+00  0.000e+00 -1.000e+00  1.000e+00 ( 1.000e+00) fixed
514        Scale:  1.000e+02  0.000e+00  5.000e+01  2.000e+02 ( 1.000e+00) fixed

EG_v02
   Spectrum: FileFunction
511   Normalization:  1.142e+00  1.156e+00  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Free Index): -0.00
Ra Dec: 335.710 12.157

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/31941768/cmap_HighResolution_805420801_805680001_4FGL_J2222.8+1209_daily_bin2184.png

Cleaning up...

** Nuclear option initiated! **

Updating database...

UPDATE lightcurve_data_v2 SET energy_flux_upper_limit='6.71e-03', job_status='DONE', photon_flux_upper_limit='8.68e-08', time_completed='2026-07-16 15:08:37.900961', job_id='31941768', GAL2='0.65', fit_tolerance='1e-08', EG2='1.14', EG='1.14', time_epoch_completed='1784239717.9', return_code2='101', ts='-0.00', comment='SUCCESS', return_code='0', GAL='0.65', dlogl='1.13e-07', ts2='0.00', photon_index_error='0.00', photon_index='2.41' WHERE bin_id='2184' AND source_name='4FGL J2222.8+1209' AND cadence='daily';

Database successfully updated.


Analysis Complete.


Thu Jul 16 15:08:38 PDT 2026

Working on...
/lscratch/kocevski/31941827/ft1_filtered_4FGL_J2222.8+1209_daily_bin2184.fits.....................!
real 30.08
user 28.55
sys 0.92

Creating the likelihood object...
obs = UnbinnedObs('/lscratch/kocevski/31941827/ft1_filtered_4FGL_J2222.8+1209_daily_bin2184.fits', '/lscratch/kocevski/31941827/ft2_4FGL_J2222.8+1209_daily_bin2184.fits', expMap='/lscratch/kocevski/31941827/expmap_805420801_805680001_4FGL_J2222.8+1209_daily_bin2184.fits', expCube='/lscratch/kocevski/31941827/ltcube_805420801_805680001_4FGL_J2222.8+1209_daily_bin2184.fits', irfs='P8R3_SOURCE_V2')
like = UnbinnedAnalysis(obs, '/lscratch/kocevski/31941827/Model_4FGL_J2222.8+1209_daily_bin2184.xml', optimizer='MINUIT')

Using source of interest name: '4FGL J2222.8+1209'

4FGL J2222.8+1209
   Spectrum: PowerLaw
262    Prefactor:  1.996e+00  0.000e+00  0.000e+00  1.000e+06 ( 1.000e-13)
263        Index:  2.407e+00  0.000e+00  0.000e+00  1.000e+01 (-1.000e+00) fixed
264        Scale:  1.288e+03  0.000e+00  3.000e+01  5.000e+05 ( 1.000e+00) fixed


Likelihood Fit Parameters:
Event file(s): /lscratch/kocevski/31941827/ft1_filtered_4FGL_J2222.8+1209_daily_bin2184.fits
Spacecraft file(s): /lscratch/kocevski/31941827/ft2_4FGL_J2222.8+1209_daily_bin2184.fits
Exposure map: /lscratch/kocevski/31941827/expmap_805420801_805680001_4FGL_J2222.8+1209_daily_bin2184.fits
Exposure cube: /lscratch/kocevski/31941827/ltcube_805420801_805680001_4FGL_J2222.8+1209_daily_bin2184.fits
IRFs: P8R3_SOURCE_V2
Source model file: /lscratch/kocevski/31941827/Model_4FGL_J2222.8+1209_daily_bin2184.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) = 8184.61812385

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

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

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'norm      '    4.0419       1.0000          .0000       .10000E+07
     2 'Prefactor '    42.344       1.0000          .0000       .10000E+07
     3 'norm      '    .31386E-04   1.0000          .0000       .10000E+07
     4 'norm      '    24.628       1.0000          .0000       .10000E+07
     5 'Prefactor '    .18432       1.0000          .0000       .10000E+07
     6 'Prefactor '    1.2643       1.0000          .0000       .10000E+07
     7 'norm      '    .41559       1.0000          .0000       .10000E+07
     8 'Prefactor '    .34510E-02   1.0000          .0000       .10000E+07
     9 'norm      '    .20439E-05   1.0000          .0000       .10000E+07
    10 'Prefactor '    .27269E-03   1.0000          .0000       .10000E+07
    11 'Prefactor '    3.4213       1.0000          .0000       .10000E+07
    12 'Prefactor '    2.5659       1.0000         .10000E-03   10000.    
    13 'Prefactor '    .11441E-03   1.0000         .10000E-03   10000.    
    14 'norm      '    .74066       1.0000          .0000       .10000E+07
    15 'Prefactor '    .90442E-03   1.0000          .0000       .10000E+07
    16 'Prefactor '    9.9682       1.0000          .0000       .10000E+07
    17 'Prefactor '    1.9796       1.0000         .10000E-03   10000.    
    18 'Prefactor '    .29503E-02   1.0000          .0000       .10000E+07
    19 'Prefactor '    8.0349       1.0000          .0000       .10000E+07
    20 'Normalizat'    1.1415       1.0000         .10000E-01   10.000    
    21 'Prefactor '    .65435       1.0000          .0000       10.000    
 **********
 **   15 **SET ERR    .5000    
 **********
 **********
 **   16 **SET GRAD    1.000    
 **********
 **********
 **   17 **MINIMIZE    .5150E+05   .2000E-04
 **********

 MIGRAD MINIMIZATION HAS CONVERGED.

 FCN=   8184.616     FROM MIGRAD    STATUS=CONVERGED    126 CALLS     2589 TOTAL
                     EDM=   .17E-08  STRATEGY=1  ERROR MATRIX UNCERTAINTY=  1.6%

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  norm          4.0479        2.3893        .87181E-07   -.45815E-02
   2  Prefactor     42.640        42.497        .98017E-05   -.20594E-01
   3  norm          .33307E-09    4.5580        .10642E-05** at limit **
   4  norm          24.602        2.4428       -.64644E-06    .10538E-01
   5  Prefactor     .21894E-06    47.942       -.79694E-05** at limit **
   6  Prefactor     1.3052        1.4820        .12551E-05   -.63837E-03
   7  norm          .41844        .81445        .34353E-06    .15441E-02
   8  Prefactor     .92260E-07    10.348        .14455E-05** at limit **
   9  norm          .27756E-09    1.3499       -.11259E-08** at limit **
  10  Prefactor     .18549E-05    4.0669       -.21204E-06** at limit **
  11  Prefactor     3.4139        8.4293       -.56404E-05   -.19029E-01
  12  Prefactor     2.5658        .32441       -.12378E-06   -.29063E-02
  13  Prefactor     .10000E-03    7.3071       -.12272E-04** at limit **
  14  norm          .74251        1.3513       -.40394E-06   -.81511E-02
  15  Prefactor     .13500E-05    4.6926        .65081E-06** at limit **
  16  Prefactor     9.9654        1.7485       -.23437E-06    .39440E-01
  17  Prefactor     1.9796        .23701        .84184E-06    .41002E-02
  18  Prefactor     .20539E-07    13.929        .34399E-05** at limit **
  19  Prefactor     8.0448        7.6025        .48676E-06   -.20173E-03
  20  Normalizat    1.1417        .24479       -.16384E-04   -.14183E-03
  21  Prefactor     .65430        .12435        .10398E-04   -.46573E-03
                               ERR DEF=  .500    
Final values: 
  norm       = 4.04792
  Prefactor  = 42.6398
  norm       = 3.33067e-10
  norm       = 24.602
  Prefactor  = 2.18936e-07
  Prefactor  = 1.30524
  norm       = 0.418442
  Prefactor  = 9.22595e-08
  norm       = 2.77556e-10
  Prefactor  = 1.85491e-06
  Prefactor  = 3.41389
  Prefactor  = 2.56584
  Prefactor  = 0.0001
  norm       = 0.742509
  Prefactor  = 1.34998e-06
  Prefactor  = 9.96544
  Prefactor  = 1.97959
  Prefactor  = 2.05391e-08
  Prefactor  = 8.04478
  Normalizat = 1.14173
  Prefactor  = 0.654302
Done.

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

Extracting fit parameters...

4FGL J2222.8+1209
   Spectrum: PowerLaw
262    Prefactor:  1.855e-06  7.816e-03  0.000e+00  1.000e+06 ( 1.000e-13)
263        Index:  2.407e+00  0.000e+00  0.000e+00  1.000e+01 (-1.000e+00) fixed
264        Scale:  1.288e+03  0.000e+00  3.000e+01  5.000e+05 ( 1.000e+00) fixed

GAL_V02
   Spectrum: PowerLaw
512    Prefactor:  6.543e-01  1.063e-01  0.000e+00  1.000e+01 ( 1.000e+00)
513        Index:  0.000e+00  0.000e+00 -1.000e+00  1.000e+00 ( 1.000e+00) fixed
514        Scale:  1.000e+02  0.000e+00  5.000e+01  2.000e+02 ( 1.000e+00) fixed

EG_v02
   Spectrum: FileFunction
511   Normalization:  1.142e+00  2.093e-01  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Fixed Index): -0.00
Ra Dec: 335.710 12.157
Photon Flux Upper Limit: 8.67912492866e-08 ph cm-2 s-1
Energy Flux Upper Limit: 0.00670967603809 MeV cm-2 s-1

Saving results to:
/lscratch/kocevski/31941772/likelihoodResults_805420801_805680001_4FGL_J2222.8+1209_daily_bin2184.txt

Performing a free index iterative likelihood fit...

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

Done.

Freeing candidate source...
Done.

Fit tolerance = 1

Performing likelihood fit...
Done.

MINUIT Return Code (Free Index): 0
logL (Free Index) = 8184.67542811
delta logL = -0.0595122115619

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

MINUIT Return Code (Free Index): 102
logL (Free Index) = 8184.6159159
delta logL = -3.63070284948e-09

Fit tolerance = 1e-08

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

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

 MIGRAD MINIMIZATION HAS CONVERGED.

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

 FCN=   8184.616     FROM MIGRAD    STATUS=CONVERGED     43 CALLS      207 TOTAL
                     EDM=   .35E-10  STRATEGY=1  ERROR MATRIX UNCERTAINTY=100.0%

  EXT PARAMETER                APPROXIMATE        STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor      .0000        6.3414        .42118E-03** at limit **
   2  Index         3.1636        2.0180       -.48305E-03     .0000    
   3  Normalizat    1.1417        1.1306       -.35264E-04    .11007E-05
   4  Prefactor     .65430        1.0036        .11435E-04   -.14946E-03
                               ERR DEF=  .500    
Final values: 
  Prefactor  = 0
  Index      = 3.16355
  Normalizat = 1.14173
  Prefactor  = 0.654303
 **********
 **   18 **HESSE 
 **********
  MNHESS FAILS AND WILL RETURN DIAGONAL MATRIX. 

 FCN=   8184.616     FROM HESSE     STATUS=FAILED         9 CALLS      216 TOTAL
                     EDM=   .35E-10  STRATEGY=1  ERROR MATRIX UNCERTAINTY=100.0%

  EXT PARAMETER                APPROXIMATE     INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  Prefactor      .0000        6.3414        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   2  Index         1.1270        2.2185       -.48305E-03   -.37609    
   3  Normalizat    1.1417        1.1306       -.35264E-04   -.88423    
   4  Prefactor     .65430        1.0036        .11435E-04   -1.0535    
                               ERR DEF=  .500    
Minuit fit quality: 1   estimated distance: 3.46233e-11
Minuit parameter uncertainties:
  1  1.84547e-05
  2  2.08743
  3  1.15609
  4  1.0334
number of points = 7550
number of fields = 31
RA_SUN column already exists. File will not be modified.
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) = 8184.61591578
delta logL = 1.12599991553e-07

Extracting fit parameters...

4FGL J2222.8+1209
   Spectrum: PowerLaw
262    Prefactor:  0.000e+00  1.845e-05  0.000e+00  1.000e+06 ( 1.000e-13)
263        Index:  3.164e+00  2.087e+00  0.000e+00  1.000e+01 (-1.000e+00)
264        Scale:  1.288e+03  0.000e+00  3.000e+01  5.000e+05 ( 1.000e+00) fixed

GAL_V02
   Spectrum: PowerLaw
512    Prefactor:  6.543e-01  1.033e+00  0.000e+00  1.000e+01 ( 1.000e+00)
513        Index:  0.000e+00  0.000e+00 -1.000e+00  1.000e+00 ( 1.000e+00) fixed
514        Scale:  1.000e+02  0.000e+00  5.000e+01  2.000e+02 ( 1.000e+00) fixed

EG_v02
   Spectrum: FileFunction
511   Normalization:  1.142e+00  1.156e+00  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Free Index): -0.00
Ra Dec: 335.710 12.157

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/31941772/cmap_HighResolution_805420801_805680001_4FGL_J2222.8+1209_daily_bin2184.png

Cleaning up...

** Nuclear option initiated! **

Updating database...

UPDATE lightcurve_data_v2 SET energy_flux_upper_limit='6.71e-03', job_status='DONE', photon_flux_upper_limit='8.68e-08', time_completed='2026-07-16 15:08:41.995754', job_id='31941772', GAL2='0.65', fit_tolerance='1e-08', EG2='1.14', EG='1.14', time_epoch_completed='1784239722.0', return_code2='101', ts='-0.00', comment='SUCCESS', return_code='0', GAL='0.65', dlogl='1.13e-07', ts2='0.00', photon_index_error='0.00', photon_index='2.41' WHERE bin_id='2184' AND source_name='4FGL J2222.8+1209' AND cadence='daily';

Database successfully updated.


Analysis Complete.


Thu Jul 16 15:08:42 PDT 2026

Done.


Performing analysis on: 4FGL_J2222.8+1209_daily_bin2184
RA = 335.71, Dec = 12.1568
tmin = 805420801, tmax = 805680001
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='31942395', job_status='RUN', time_executed='2026-07-16 15:05:20.848708', time_epoch_executed='1784239520.85' WHERE source_name='4FGL J2222.8+1209' and cadence='daily' and bin_id='2184'

Database successfully updated.
Done.

Creating custom output directory:
/lscratch/kocevski/31942395

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

Retrieving the FT1 file...

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

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

Retrieving 47 files...
Done.


Merging files...

Checksum keywords updated successfully.

Merged file saved to:
/lscratch/kocevski/31942395/ft1_4FGL_J2222.8+1209_daily_bin2184.fits


Retrieving the FT1 file...

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

Retrieving 47 files...
Done.


Merging files...

Merged file saved to:
/lscratch/kocevski/31942395/ft2_4FGL_J2222.8+1209_daily_bin2184.fits


Selecting the photons:
time -p gtselect infile=/lscratch/kocevski/31942395/ft1_4FGL_J2222.8+1209_daily_bin2184.fits outfile=/lscratch/kocevski/31942395/ft1_filteredMKT_4FGL_J2222.8+1209_daily_bin2184.fits ra=335.71 dec=12.1568 rad=12.0 tmin=805420801.0 tmax=805680001.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.45
user 1.75
sys 0.17

Adding sun position to ft2 file:
/sdf/group/fermi/g/LCRepository/Repository/bin/sunpos /lscratch/kocevski/31942395/ft2_4FGL_J2222.8+1209_daily_bin2184.fits

Selecting the good time intervals:
time -p gtmktime scfile=/lscratch/kocevski/31942395/ft2_4FGL_J2222.8+1209_daily_bin2184.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/31942395/ft1_filteredMKT_4FGL_J2222.8+1209_daily_bin2184.fits evtable="EVENTS" outfile="/lscratch/kocevski/31942395/ft1_filtered_4FGL_J2222.8+1209_daily_bin2184.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.78
user 0.20
sys 0.13

Number of photons that the gtmktime cut: 794

Generating the livetime cube:
time -p gtltcube evfile="/lscratch/kocevski/31942395/ft1_filtered_4FGL_J2222.8+1209_daily_bin2184.fits" evtable="EVENTS" scfile=/lscratch/kocevski/31942395/ft2_4FGL_J2222.8+1209_daily_bin2184.fits sctable="SC_DATA" outfDone.

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

Extracting fit parameters...

4FGL J2222.8+1209
   Spectrum: PowerLaw
262    Prefactor:  1.855e-06  7.816e-03  0.000e+00  1.000e+06 ( 1.000e-13)
263        Index:  2.407e+00  0.000e+00  0.000e+00  1.000e+01 (-1.000e+00) fixed
264        Scale:  1.288e+03  0.000e+00  3.000e+01  5.000e+05 ( 1.000e+00) fixed

GAL_V02
   Spectrum: PowerLaw
512    Prefactor:  6.543e-01  1.063e-01  0.000e+00  1.000e+01 ( 1.000e+00)
513        Index:  0.000e+00  0.000e+00 -1.000e+00  1.000e+00 ( 1.000e+00) fixed
514        Scale:  1.000e+02  0.000e+00  5.000e+01  2.000e+02 ( 1.000e+00) fixed

EG_v02
   Spectrum: FileFunction
511   Normalization:  1.142e+00  2.093e-01  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Fixed Index): -0.00
Ra Dec: 335.710 12.157
Photon Flux Upper Limit: 8.67912492866e-08 ph cm-2 s-1
Energy Flux Upper Limit: 0.00670967603809 MeV cm-2 s-1

Saving results to:
/lscratch/kocevski/31941799/likelihoodResults_805420801_805680001_4FGL_J2222.8+1209_daily_bin2184.txt

Performing a free index iterative likelihood fit...

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

Done.

Freeing candidate source...
Done.

Fit tolerance = 1

Performing likelihood fit...
Done.

MINUIT Return Code (Free Index): 0
logL (Free Index) = 8184.67542811
delta logL = -0.0595122115619

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

MINUIT Return Code (Free Index): 102
logL (Free Index) = 8184.6159159
delta logL = -3.63070284948e-09

Fit tolerance = 1e-08

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

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

 MIGRAD MINIMIZATION HAS CONVERGED.

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

 FCN=   8184.616     FROM MIGRAD    STATUS=CONVERGED     43 CALLS      207 TOTAL
                     EDM=   .35E-10  STRATEGY=1  ERROR MATRIX UNCERTAINTY=100.0%

  EXT PARAMETER                APPROXIMATE        STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor      .0000        6.3414        .42118E-03** at limit **
   2  Index         3.1636        2.0180       -.48305E-03     .0000    
   3  Normalizat    1.1417        1.1306       -.35264E-04    .11007E-05
   4  Prefactor     .65430        1.0036        .11435E-04   -.14946E-03
                               ERR DEF=  .500    
Final values: 
  Prefactor  = 0
  Index      = 3.16355
  Normalizat = 1.14173
  Prefactor  = 0.654303
 **********
 **   18 **HESSE 
 **********
  MNHESS FAILS AND WILL RETURN DIAGONAL MATRIX. 

 FCN=   8184.616     FROM HESSE     STATUS=FAILED         9 CALLS      216 TOTAL
                     EDM=   .35E-10  STRATEGY=1  ERROR MATRIX UNCERTAINTY=100.0%

  EXT PARAMETER                APPROXIMATE     INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  Prefactor      .0000        6.3414        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   2  Index         1.1270        2.2185       -.48305E-03   -.37609    
   3  Normalizat    1.1417        1.1306       -.35264E-04   -.88423    
   4  Prefactor     .65430        1.0036        .11435E-04   -1.0535    
                               ERR DEF=  .500    
Minuit fit quality: 1   estimated distance: 3.46233e-11
Minuit parameter uncertainties:
  1  1.84547e-05
  2  2.08743
  3  1.15609
  4  1.0334
 **********
 **   18 **HESSE 
 **********

 FCN=   8184.616     FROM HESSE     STATUS=OK           365 CALLS     2954 TOTAL
                     EDM=   .46E-06    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  norm          4.0479        2.3955        .50132E-03   -1.5668    
   2  Prefactor     42.640        43.451        .15369E-03   -1.5577    
   3  norm          .33307E-09    .97762        .42118E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   4  norm          24.602        17.415        .20155E-03   -1.5609    
   5  Prefactor     .21894E-06    47.892        .12062E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   6  Prefactor     1.3052        293.16        .99067E-03   -1.5685    
   7  norm          .41844        .83850        .87702E-03   -1.5695    
   8  Prefactor     .92260E-07    10.557        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   9  norm          .27756E-09    1.3609        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  10  Prefactor     .18549E-05    8.2326        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  11  Prefactor     3.4139        8.5781        .54664E-03   -1.5671    
  12  Prefactor     2.5658        .32428        .39242E-02   -1.5388    
  13  Prefactor     .10000E-03    7.1781        .90712E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  14  norm          .74251        1.4345        .57467E-03   -1.5691    
  15  Prefactor     .13500E-05    7.8220        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  16  Prefactor     9.9654        9.9505        .31713E-03   -1.5645    
  17  Prefactor     1.9796        .23670        .32590E-02   -1.5427    
  18  Prefactor     .20539E-07    14.021        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  19  Prefactor     8.0448        7.6105        .35347E-03   -1.5651    
  20  Normalizat    1.1417        .20914        .73197E-01   -.88423    
  21  Prefactor     .65430        .10622        .41790E-01   -1.0535    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 4.63471e-07
Minuit parameter uncertainties:
  1  2.39552
  2  43.4518
  3  3.51948e-05
  4  17.4148
  5  0.00647593
  6  39.1248
  7  0.838497
  8  0.00197371
  9  3.69022e-05
  10  0.00781561
  11  8.57816
  12  0.324276
  13  3.5402e-05
  14  1.43451
  15  0.00649905
  16  9.95053
  17  0.236701
  18  0.00107304
  19  7.61053
  20  0.209289
  21  0.106252
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) = 8184.61591578
delta logL = 1.12599991553e-07

Extracting fit parameters...

4FGL J2222.8+1209
   Spectrum: PowerLaw
262    Prefactor:  0.000e+00  1.845e-05  0.000e+00  1.000e+06 ( 1.000e-13)
263        Index:  3.164e+00  2.087e+00  0.000e+00  1.000e+01 (-1.000e+00)
264        Scale:  1.288e+03  0.000e+00  3.000e+01  5.000e+05 ( 1.000e+00) fixed

GAL_V02
   Spectrum: PowerLaw
512    Prefactor:  6.543e-01  1.033e+00  0.000e+00  1.000e+01 ( 1.000e+00)
513        Index:  0.000e+00  0.000e+00 -1.000e+00  1.000e+00 ( 1.000e+00) fixed
514        Scale:  1.000e+02  0.000e+00  5.000e+01  2.000e+02 ( 1.000e+00) fixed

EG_v02
   Spectrum: FileFunction
511   Normalization:  1.142e+00  1.156e+00  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Free Index): -0.00
Ra Dec: 335.710 12.157

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/31941799/cmap_HighResolution_805420801_805680001_4FGL_J2222.8+1209_daily_bin2184.png

Cleaning up...

** Nuclear option initiated! **

Updating database...

UPDATE lightcurve_data_v2 SET energy_flux_upper_limit='6.71e-03', job_status='DONE', photon_flux_upper_limit='8.68e-08', time_completed='2026-07-16 15:08:54.459850', job_id='31941799', GAL2='0.65', fit_tolerance='1e-08', EG2='1.14', EG='1.14', time_epoch_completed='1784239734.46', return_code2='101', ts='-0.00', comment='SUCCESS', return_code='0', GAL='0.65', dlogl='1.13e-07', ts2='0.00', photon_index_error='0.00', photon_index='2.41' WHERE bin_id='2184' AND source_name='4FGL J2222.8+1209' AND cadence='daily';

Database successfully updated.


Analysis Complete.


Thu Jul 16 15:08:54 PDT 2026

number of points = 7550
number of fields = 31
RA_SUN column already exists. File will not be modified.
Working on...
/lscratch/kocevski/31941884/ft1_filtered_4FGL_J2222.8+1209_daily_bin2184.fits.....................!
real 29.40
user 27.75
sys 0.89

Creating the likelihood object...
obs = UnbinnedObs('/lscratch/kocevski/31941884/ft1_filtered_4FGL_J2222.8+1209_daily_bin2184.fits', '/lscratch/kocevski/31941884/ft2_4FGL_J2222.8+1209_daily_bin2184.fits', expMap='/lscratch/kocevski/31941884/expmap_805420801_805680001_4FGL_J2222.8+1209_daily_bin2184.fits', expCube='/lscratch/kocevski/31941884/ltcube_805420801_805680001_4FGL_J2222.8+1209_daily_bin2184.fits', irfs='P8R3_SOURCE_V2')
like = UnbinnedAnalysis(obs, '/lscratch/kocevski/31941884/Model_4FGL_J2222.8+1209_daily_bin2184.xml', optimizer='MINUIT')

Using source of interest name: '4FGL J2222.8+1209'

4FGL J2222.8+1209
   Spectrum: PowerLaw
262    Prefactor:  1.996e+00  0.000e+00  0.000e+00  1.000e+06 ( 1.000e-13)
263        Index:  2.407e+00  0.000e+00  0.000e+00  1.000e+01 (-1.000e+00) fixed
264        Scale:  1.288e+03  0.000e+00  3.000e+01  5.000e+05 ( 1.000e+00) fixed


Likelihood Fit Parameters:
Event file(s): /lscratch/kocevski/31941884/ft1_filtered_4FGL_J2222.8+1209_daily_bin2184.fits
Spacecraft file(s): /lscratch/kocevski/31941884/ft2_4FGL_J2222.8+1209_daily_bin2184.fits
Exposure map: /lscratch/kocevski/31941884/expmap_805420801_805680001_4FGL_J2222.8+1209_daily_bin2184.fits
Exposure cube: /lscratch/kocevski/31941884/ltcube_805420801_805680001_4FGL_J2222.8+1209_daily_bin2184.fits
IRFs: P8R3_SOURCE_V2
Source model file: /lscratch/kocevski/31941884/Model_4FGL_J2222.8+1209_daily_bin2184.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) = 8184.61812385

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

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

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'norm      '    4.0419       1.0000          .0000       .10000E+07
     2 'Prefactor '    42.344       1.0000          .0000       .10000E+07
     3 'norm      '    .31386E-04   1.0000          .0000       .10000E+07
     4 'norm      '    24.628       1.0000          .0000       .10000E+07
     5 'Prefactor '    .18432       1.0000          .0000       .10000E+07
     6 'Prefactor '    1.2643       1.0000          .0000       .10000E+07
     7 'norm      '    .41559       1.0000          .0000       .10000E+07
     8 'Prefactor '    .34510E-02   1.0000          .0000       .10000E+07
     9 'norm      '    .20439E-05   1.0000          .0000       .10000E+07
    10 'Prefactor '    .27269E-03   1.0000          .0000       .10000E+07
    11 'Prefactor '    3.4213       1.0000          .0000       .10000E+07
    12 'Prefactor '    2.5659       1.0000         .10000E-03   10000.    
    13 'Prefactor '    .11441E-03   1.0000         .10000E-03   10000.    
    14 'norm      '    .74066       1.0000          .0000       .10000E+07
    15 'Prefactor '    .90442E-03   1.0000          .0000       .10000E+07
    16 'Prefactor '    9.9682       1.0000          .0000       .10000E+07
    17 'Prefactor '    1.9796       1.0000         .10000E-03   10000.    
    18 'Prefactor '    .29503E-02   1.0000          .0000       .10000E+07
    19 'Prefactor '    8.0349       1.0000          .0000       .10000E+07
    20 'Normalizat'    1.1415       1.0000         .10000E-01   10.000    
    21 'Prefactor '    .65435       1.0000          .0000       10.000    
 **********
 **   15 **SET ERR    .5000    
 **********
 **********
 **   16 **SET GRAD    1.000    
 **********
 **********
 **   17 **MINIMIZE    .5150E+05   .2000E-04
 **********

 MIGRAD MINIMIZATION HAS CONVERGED.

 FCN=   8184.616     FROM MIGRAD    STATUS=CONVERGED    126 CALLS     2589 TOTAL
                     EDM=   .17E-08  STRATEGY=1  ERROR MATRIX UNCERTAINTY=  1.6%

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  norm          4.0479        2.3893        .87181E-07   -.45815E-02
   2  Prefactor     42.640        42.497        .98017E-05   -.20594E-01
   3  norm          .33307E-09    4.5580        .10642E-05** at limit **
   4  norm          24.602        2.4428       -.64644E-06    .10538E-01
   5  Prefactor     .21894E-06    47.942       -.79694E-05** at limit **
   6  Prefactor     1.3052        1.4820        .12551E-05   -.63837E-03
   7  norm          .41844        .81445        .34353E-06    .15441E-02
   8  Prefactor     .92260E-07    10.348        .14455E-05** at limit **
   9  norm          .27756E-09    1.3499       -.11259E-08** at limit **
  10  Prefactor     .18549E-05    4.0669       -.21204E-06** at limit **
  11  Prefactor     3.4139        8.4293       -.56404E-05   -.19029E-01
  12  Prefactor     2.5658        .32441       -.12378E-06   -.29063E-02
  13  Prefactor     .10000E-03    7.3071       -.12272E-04** at limit **
  14  norm          .74251        1.3513       -.40394E-06   -.81511E-02
  15  Prefactor     .13500E-05    4.6926        .65081E-06** at limit **
  16  Prefactor     9.9654        1.7485       -.23437E-06    .39440E-01
  17  Prefactor     1.9796        .23701        .84184E-06    .41002E-02
  18  Prefactor     .20539E-07    13.929        .34399E-05** at limit **
  19  Prefactor     8.0448        7.6025        .48676E-06   -.20173E-03
  20  Normalizat    1.1417        .24479       -.16384E-04   -.14183E-03
  21  Prefactor     .65430        .12435        .10398E-04   -.46573E-03
                               ERR DEF=  .500    
Final values: 
  norm       = 4.04792
  Prefactor  = 42.6398
  norm       = 3.33067e-10
  norm       = 24.602
  Prefactor  = 2.18936e-07
  Prefactor  = 1.30524
  norm       = 0.418442
  Prefactor  = 9.22595e-08
  norm       = 2.77556e-10
  Prefactor  = 1.85491e-06
  Prefactor  = 3.41389
  Prefactor  = 2.56584
  Prefactor  = 0.0001
  norm       = 0.742509
  Prefactor  = 1.34998e-06
  Prefactor  = 9.96544
  Prefactor  = 1.97959
  Prefactor  = 2.05391e-08
  Prefactor  = 8.04478
  Normalizat = 1.14173
  Prefactor  = 0.654302
Done.


Performing analysis on: 4FGL_J2222.8+1209_daily_bin2184
RA = 335.71, Dec = 12.1568
tmin = 805420801, tmax = 805680001
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='31942424', job_status='RUN', time_executed='2026-07-16 15:05:54.750978', time_epoch_executed='1784239554.75' WHERE source_name='4FGL J2222.8+1209' and cadence='daily' and bin_id='2184'

Database successfully updated.
Done.

Creating custom output directory:
/lscratch/kocevski/31942424

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

Retrieving the FT1 file...

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

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

Retrieving 47 files...
Done.


Merging files...

Checksum keywords updated successfully.

Merged file saved to:
/lscratch/kocevski/31942424/ft1_4FGL_J2222.8+1209_daily_bin2184.fits


Retrieving the FT1 file...

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

Retrieving 47 files...
Done.


Merging files...

Merged file saved to:
/lscratch/kocevski/31942424/ft2_4FGL_J2222.8+1209_daily_bin2184.fits


Selecting the photons:
time -p gtselect infile=/lscratch/kocevski/31942424/ft1_4FGL_J2222.8+1209_daily_bin2184.fits outfile=/lscratch/kocevski/31942424/ft1_filteredMKT_4FGL_J2222.8+1209_daily_bin2184.fits ra=335.71 dec=12.1568 rad=12.0 tmin=805420801.0 tmax=805680001.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.38
user 1.84
sys 0.20

Adding sun position to ft2 file:
/sdf/group/fermi/g/LCRepository/Repository/bin/sunpos /lscratch/kocevski/31942424/ft2_4FGL_J2222.8+1209_daily_bin2184.fits

Selecting the good time intervals:
time -p gtmktime scfile=/lscratch/kocevski/31942424/ft2_4FGL_J2222.8+1209_daily_bin2184.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/31942424/ft1_filteredMKT_4FGL_J2222.8+1209_daily_bin2184.fits evtable="EVENTS" outfile="/lscratch/kocevski/31942424/ft1_filtered_4FGL_J2222.8+1209_daily_bin2184.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.74
user 0.18
sys 0.13

Number of photons that the gtmktime cut: 794

Generating the livetime cube:
time -p gtltcube evfile="/lscratch/kocevski/31942424/ft1_filtered_4FGL_J2222.8+1209_daily_bin2184.fits" evtable="EVENTS" scfile=/lscratch/kocevski/31942424/ft2_4FGL_J2222.8+1209_daily_bin2184.fits sctable="SC_DATA" outf **********
 **   18 **HESSE 
 **********

 FCN=   8184.616     FROM HESSE     STATUS=OK           365 CALLS     2954 TOTAL
                     EDM=   .46E-06    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  norm          4.0479        2.3955        .50132E-03   -1.5668    
   2  Prefactor     42.640        43.451        .15369E-03   -1.5577    
   3  norm          .33307E-09    .97762        .42118E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   4  norm          24.602        17.415        .20155E-03   -1.5609    
   5  Prefactor     .21894E-06    47.892        .12062E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   6  Prefactor     1.3052        293.16        .99067E-03   -1.5685    
   7  norm          .41844        .83850        .87702E-03   -1.5695    
   8  Prefactor     .92260E-07    10.557        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   9  norm          .27756E-09    1.3609        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  10  Prefactor     .18549E-05    8.2326        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  11  Prefactor     3.4139        8.5781        .54664E-03   -1.5671    
  12  Prefactor     2.5658        .32428        .39242E-02   -1.5388    
  13  Prefactor     .10000E-03    7.1781        .90712E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  14  norm          .74251        1.4345        .57467E-03   -1.5691    
  15  Prefactor     .13500E-05    7.8220        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  16  Prefactor     9.9654        9.9505        .31713E-03   -1.5645    
  17  Prefactor     1.9796        .23670        .32590E-02   -1.5427    
  18  Prefactor     .20539E-07    14.021        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  19  Prefactor     8.0448        7.6105        .35347E-03   -1.5651    
  20  Normalizat    1.1417        .20914        .73197E-01   -.88423    
  21  Prefactor     .65430        .10622        .41790E-01   -1.0535    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 4.63471e-07
Minuit parameter uncertainties:
  1  2.39552
  2  43.4518
  3  3.51948e-05
  4  17.4148
  5  0.00647593
  6  39.1248
  7  0.838497
  8  0.00197371
  9  3.69022e-05
  10  0.00781561
  11  8.57816
  12  0.324276
  13  3.5402e-05
  14  1.43451
  15  0.00649905
  16  9.95053
  17  0.236701
  18  0.00107304
  19  7.61053
  20  0.209289
  21  0.106252
Done.

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

Extracting fit parameters...

4FGL J2222.8+1209
   Spectrum: PowerLaw
262    Prefactor:  1.855e-06  7.816e-03  0.000e+00  1.000e+06 ( 1.000e-13)
263        Index:  2.407e+00  0.000e+00  0.000e+00  1.000e+01 (-1.000e+00) fixed
264        Scale:  1.288e+03  0.000e+00  3.000e+01  5.000e+05 ( 1.000e+00) fixed

GAL_V02
   Spectrum: PowerLaw
512    Prefactor:  6.543e-01  1.063e-01  0.000e+00  1.000e+01 ( 1.000e+00)
513        Index:  0.000e+00  0.000e+00 -1.000e+00  1.000e+00 ( 1.000e+00) fixed
514        Scale:  1.000e+02  0.000e+00  5.000e+01  2.000e+02 ( 1.000e+00) fixed

EG_v02
   Spectrum: FileFunction
511   Normalization:  1.142e+00  2.093e-01  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Fixed Index): -0.00
Ra Dec: 335.710 12.157
Photon Flux Upper Limit: 8.67912492866e-08 ph cm-2 s-1
Energy Flux Upper Limit: 0.00670967603809 MeV cm-2 s-1

Saving results to:
/lscratch/kocevski/31941827/likelihoodResults_805420801_805680001_4FGL_J2222.8+1209_daily_bin2184.txt

Performing a free index iterative likelihood fit...

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

Done.

Freeing candidate source...
Done.

Fit tolerance = 1

Performing likelihood fit...
Done.

MINUIT Return Code (Free Index): 0
logL (Free Index) = 8184.67542811
delta logL = -0.0595122115619

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

MINUIT Return Code (Free Index): 102
logL (Free Index) = 8184.6159159
delta logL = -3.63070284948e-09

Fit tolerance = 1e-08

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

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

 MIGRAD MINIMIZATION HAS CONVERGED.

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

 FCN=   8184.616     FROM MIGRAD    STATUS=CONVERGED     43 CALLS      207 TOTAL
                     EDM=   .35E-10  STRATEGY=1  ERROR MATRIX UNCERTAINTY=100.0%

  EXT PARAMETER                APPROXIMATE        STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor      .0000        6.3414        .42118E-03** at limit **
   2  Index         3.1636        2.0180       -.48305E-03     .0000    
   3  Normalizat    1.1417        1.1306       -.35264E-04    .11007E-05
   4  Prefactor     .65430        1.0036        .11435E-04   -.14946E-03
                               ERR DEF=  .500    
Final values: 
  Prefactor  = 0
  Index      = 3.16355
  Normalizat = 1.14173
  Prefactor  = 0.654303
 **********
 **   18 **HESSE 
 **********
  MNHESS FAILS AND WILL RETURN DIAGONAL MATRIX. 

 FCN=   8184.616     FROM HESSE     STATUS=FAILED         9 CALLS      216 TOTAL
                     EDM=   .35E-10  STRATEGY=1  ERROR MATRIX UNCERTAINTY=100.0%

  EXT PARAMETER                APPROXIMATE     INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  Prefactor      .0000        6.3414        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   2  Index         1.1270        2.2185       -.48305E-03   -.37609    
   3  Normalizat    1.1417        1.1306       -.35264E-04   -.88423    
   4  Prefactor     .65430        1.0036        .11435E-04   -1.0535    
                               ERR DEF=  .500    
Minuit fit quality: 1   estimated distance: 3.46233e-11
Minuit parameter uncertainties:
  1  1.84547e-05
  2  2.08743
  3  1.15609
  4  1.0334
Working on...
/lscratch/kocevski/31941892/ft1_filtered_4FGL_J2222.8+1209_daily_bin2184.fits.....................!
real 29.54
user 27.86
sys 0.91

Creating the likelihood object...
obs = UnbinnedObs('/lscratch/kocevski/31941892/ft1_filtered_4FGL_J2222.8+1209_daily_bin2184.fits', '/lscratch/kocevski/31941892/ft2_4FGL_J2222.8+1209_daily_bin2184.fits', expMap='/lscratch/kocevski/31941892/expmap_805420801_805680001_4FGL_J2222.8+1209_daily_bin2184.fits', expCube='/lscratch/kocevski/31941892/ltcube_805420801_805680001_4FGL_J2222.8+1209_daily_bin2184.fits', irfs='P8R3_SOURCE_V2')
like = UnbinnedAnalysis(obs, '/lscratch/kocevski/31941892/Model_4FGL_J2222.8+1209_daily_bin2184.xml', optimizer='MINUIT')

Using source of interest name: '4FGL J2222.8+1209'

4FGL J2222.8+1209
   Spectrum: PowerLaw
262    Prefactor:  1.996e+00  0.000e+00  0.000e+00  1.000e+06 ( 1.000e-13)
263        Index:  2.407e+00  0.000e+00  0.000e+00  1.000e+01 (-1.000e+00) fixed
264        Scale:  1.288e+03  0.000e+00  3.000e+01  5.000e+05 ( 1.000e+00) fixed


Likelihood Fit Parameters:
Event file(s): /lscratch/kocevski/31941892/ft1_filtered_4FGL_J2222.8+1209_daily_bin2184.fits
Spacecraft file(s): /lscratch/kocevski/31941892/ft2_4FGL_J2222.8+1209_daily_bin2184.fits
Exposure map: /lscratch/kocevski/31941892/expmap_805420801_805680001_4FGL_J2222.8+1209_daily_bin2184.fits
Exposure cube: /lscratch/kocevski/31941892/ltcube_805420801_805680001_4FGL_J2222.8+1209_daily_bin2184.fits
IRFs: P8R3_SOURCE_V2
Source model file: /lscratch/kocevski/31941892/Model_4FGL_J2222.8+1209_daily_bin2184.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) = 8184.61812385

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

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

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'norm      '    4.0419       1.0000          .0000       .10000E+07
     2 'Prefactor '    42.344       1.0000          .0000       .10000E+07
     3 'norm      '    .31386E-04   1.0000          .0000       .10000E+07
     4 'norm      '    24.628       1.0000          .0000       .10000E+07
     5 'Prefactor '    .18432       1.0000          .0000       .10000E+07
     6 'Prefactor '    1.2643       1.0000          .0000       .10000E+07
     7 'norm      '    .41559       1.0000          .0000       .10000E+07
     8 'Prefactor '    .34510E-02   1.0000          .0000       .10000E+07
     9 'norm      '    .20439E-05   1.0000          .0000       .10000E+07
    10 'Prefactor '    .27269E-03   1.0000          .0000       .10000E+07
    11 'Prefactor '    3.4213       1.0000          .0000       .10000E+07
    12 'Prefactor '    2.5659       1.0000         .10000E-03   10000.    
    13 'Prefactor '    .11441E-03   1.0000         .10000E-03   10000.    
    14 'norm      '    .74066       1.0000          .0000       .10000E+07
    15 'Prefactor '    .90442E-03   1.0000          .0000       .10000E+07
    16 'Prefactor '    9.9682       1.0000          .0000       .10000E+07
    17 'Prefactor '    1.9796       1.0000         .10000E-03   10000.    
    18 'Prefactor '    .29503E-02   1.0000          .0000       .10000E+07
    19 'Prefactor '    8.0349       1.0000          .0000       .10000E+07
    20 'Normalizat'    1.1415       1.0000         .10000E-01   10.000    
    21 'Prefactor '    .65435       1.0000          .0000       10.000    
 **********
 **   15 **SET ERR    .5000    
 **********
 **********
 **   16 **SET GRAD    1.000    
 **********
 **********
 **   17 **MINIMIZE    .5150E+05   .2000E-04
 **********

 MIGRAD MINIMIZATION HAS CONVERGED.

 FCN=   8184.616     FROM MIGRAD    STATUS=CONVERGED    126 CALLS     2589 TOTAL
                     EDM=   .17E-08  STRATEGY=1  ERROR MATRIX UNCERTAINTY=  1.6%

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  norm          4.0479        2.3893        .87181E-07   -.45815E-02
   2  Prefactor     42.640        42.497        .98017E-05   -.20594E-01
   3  norm          .33307E-09    4.5580        .10642E-05** at limit **
   4  norm          24.602        2.4428       -.64644E-06    .10538E-01
   5  Prefactor     .21894E-06    47.942       -.79694E-05** at limit **
   6  Prefactor     1.3052        1.4820        .12551E-05   -.63837E-03
   7  norm          .41844        .81445        .34353E-06    .15441E-02
   8  Prefactor     .92260E-07    10.348        .14455E-05** at limit **
   9  norm          .27756E-09    1.3499       -.11259E-08** at limit **
  10  Prefactor     .18549E-05    4.0669       -.21204E-06** at limit **
  11  Prefactor     3.4139        8.4293       -.56404E-05   -.19029E-01
  12  Prefactor     2.5658        .32441       -.12378E-06   -.29063E-02
  13  Prefactor     .10000E-03    7.3071       -.12272E-04** at limit **
  14  norm          .74251        1.3513       -.40394E-06   -.81511E-02
  15  Prefactor     .13500E-05    4.6926        .65081E-06** at limit **
  16  Prefactor     9.9654        1.7485       -.23437E-06    .39440E-01
  17  Prefactor     1.9796        .23701        .84184E-06    .41002E-02
  18  Prefactor     .20539E-07    13.929        .34399E-05** at limit **
  19  Prefactor     8.0448        7.6025        .48676E-06   -.20173E-03
  20  Normalizat    1.1417        .24479       -.16384E-04   -.14183E-03
  21  Prefactor     .65430        .12435        .10398E-04   -.46573E-03
                               ERR DEF=  .500    
Final values: 
  norm       = 4.04792
  Prefactor  = 42.6398
  norm       = 3.33067e-10
  norm       = 24.602
  Prefactor  = 2.18936e-07
  Prefactor  = 1.30524
  norm       = 0.418442
  Prefactor  = 9.22595e-08
  norm       = 2.77556e-10
  Prefactor  = 1.85491e-06
  Prefactor  = 3.41389
  Prefactor  = 2.56584
  Prefactor  = 0.0001
  norm       = 0.742509
  Prefactor  = 1.34998e-06
  Prefactor  = 9.96544
  Prefactor  = 1.97959
  Prefactor  = 2.05391e-08
  Prefactor  = 8.04478
  Normalizat = 1.14173
  Prefactor  = 0.654302
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) = 8184.61591578
delta logL = 1.12599991553e-07

Extracting fit parameters...

4FGL J2222.8+1209
   Spectrum: PowerLaw
262    Prefactor:  0.000e+00  1.845e-05  0.000e+00  1.000e+06 ( 1.000e-13)
263        Index:  3.164e+00  2.087e+00  0.000e+00  1.000e+01 (-1.000e+00)
264        Scale:  1.288e+03  0.000e+00  3.000e+01  5.000e+05 ( 1.000e+00) fixed

GAL_V02
   Spectrum: PowerLaw
512    Prefactor:  6.543e-01  1.033e+00  0.000e+00  1.000e+01 ( 1.000e+00)
513        Index:  0.000e+00  0.000e+00 -1.000e+00  1.000e+00 ( 1.000e+00) fixed
514        Scale:  1.000e+02  0.000e+00  5.000e+01  2.000e+02 ( 1.000e+00) fixed

EG_v02
   Spectrum: FileFunction
511   Normalization:  1.142e+00  1.156e+00  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Free Index): -0.00
Ra Dec: 335.710 12.157

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/31941827/cmap_HighResolution_805420801_805680001_4FGL_J2222.8+1209_daily_bin2184.png

Cleaning up...

** Nuclear option initiated! **

Updating database...

UPDATE lightcurve_data_v2 SET energy_flux_upper_limit='6.71e-03', job_status='DONE', photon_flux_upper_limit='8.68e-08', time_completed='2026-07-16 15:09:19.841113', job_id='31941827', GAL2='0.65', fit_tolerance='1e-08', EG2='1.14', EG='1.14', time_epoch_completed='1784239759.84', return_code2='101', ts='-0.00', comment='SUCCESS', return_code='0', GAL='0.65', dlogl='1.13e-07', ts2='0.00', photon_index_error='0.00', photon_index='2.41' WHERE bin_id='2184' AND source_name='4FGL J2222.8+1209' AND cadence='daily';

Database successfully updated.


Analysis Complete.


Thu Jul 16 15:09:20 PDT 2026

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


Performing analysis on: 4FGL_J2222.8+1209_daily_bin2184
RA = 335.71, Dec = 12.1568
tmin = 805420801, tmax = 805680001
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='31942484', job_status='RUN', time_executed='2026-07-16 15:06:28.891012', time_epoch_executed='1784239588.89' WHERE source_name='4FGL J2222.8+1209' and cadence='daily' and bin_id='2184'

Database successfully updated.
Done.

Creating custom output directory:
/lscratch/kocevski/31942484

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

Retrieving the FT1 file...

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

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

Retrieving 47 files...
Done.


Merging files...

Checksum keywords updated successfully.

Merged file saved to:
/lscratch/kocevski/31942484/ft1_4FGL_J2222.8+1209_daily_bin2184.fits


Retrieving the FT1 file...

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

Retrieving 47 files...
Done.


Merging files...

Merged file saved to:
/lscratch/kocevski/31942484/ft2_4FGL_J2222.8+1209_daily_bin2184.fits


Selecting the photons:
time -p gtselect infile=/lscratch/kocevski/31942484/ft1_4FGL_J2222.8+1209_daily_bin2184.fits outfile=/lscratch/kocevski/31942484/ft1_filteredMKT_4FGL_J2222.8+1209_daily_bin2184.fits ra=335.71 dec=12.1568 rad=12.0 tmin=805420801.0 tmax=805680001.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.48
user 1.86
sys 0.19

Adding sun position to ft2 file:
/sdf/group/fermi/g/LCRepository/Repository/bin/sunpos /lscratch/kocevski/31942484/ft2_4FGL_J2222.8+1209_daily_bin2184.fits

Selecting the good time intervals:
time -p gtmktime scfile=/lscratch/kocevski/31942484/ft2_4FGL_J2222.8+1209_daily_bin2184.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/31942484/ft1_filteredMKT_4FGL_J2222.8+1209_daily_bin2184.fits evtable="EVENTS" outfile="/lscratch/kocevski/31942484/ft1_filtered_4FGL_J2222.8+1209_daily_bin2184.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.81
user 0.19
sys 0.12

Number of photons that the gtmktime cut: 794

Generating the livetime cube:
time -p gtltcube evfile="/lscratch/kocevski/31942484/ft1_filtered_4FGL_J2222.8+1209_daily_bin2184.fits" evtable="EVENTS" scfile=/lscratch/kocevski/31942484/ft2_4FGL_J2222.8+1209_daily_bin2184.fits sctable="SC_DATA" outfWorking on...
/lscratch/kocevski/31941988/ft1_filtered_4FGL_J2222.8+1209_daily_bin2184.fits.....................!
real 30.11
user 28.03
sys 1.37

Creating the likelihood object...
obs = UnbinnedObs('/lscratch/kocevski/31941988/ft1_filtered_4FGL_J2222.8+1209_daily_bin2184.fits', '/lscratch/kocevski/31941988/ft2_4FGL_J2222.8+1209_daily_bin2184.fits', expMap='/lscratch/kocevski/31941988/expmap_805420801_805680001_4FGL_J2222.8+1209_daily_bin2184.fits', expCube='/lscratch/kocevski/31941988/ltcube_805420801_805680001_4FGL_J2222.8+1209_daily_bin2184.fits', irfs='P8R3_SOURCE_V2')
like = UnbinnedAnalysis(obs, '/lscratch/kocevski/31941988/Model_4FGL_J2222.8+1209_daily_bin2184.xml', optimizer='MINUIT')

Using source of interest name: '4FGL J2222.8+1209'

4FGL J2222.8+1209
   Spectrum: PowerLaw
262    Prefactor:  1.996e+00  0.000e+00  0.000e+00  1.000e+06 ( 1.000e-13)
263        Index:  2.407e+00  0.000e+00  0.000e+00  1.000e+01 (-1.000e+00) fixed
264        Scale:  1.288e+03  0.000e+00  3.000e+01  5.000e+05 ( 1.000e+00) fixed


Likelihood Fit Parameters:
Event file(s): /lscratch/kocevski/31941988/ft1_filtered_4FGL_J2222.8+1209_daily_bin2184.fits
Spacecraft file(s): /lscratch/kocevski/31941988/ft2_4FGL_J2222.8+1209_daily_bin2184.fits
Exposure map: /lscratch/kocevski/31941988/expmap_805420801_805680001_4FGL_J2222.8+1209_daily_bin2184.fits
Exposure cube: /lscratch/kocevski/31941988/ltcube_805420801_805680001_4FGL_J2222.8+1209_daily_bin2184.fits
IRFs: P8R3_SOURCE_V2
Source model file: /lscratch/kocevski/31941988/Model_4FGL_J2222.8+1209_daily_bin2184.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) = 8184.61812385

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

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

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'norm      '    4.0419       1.0000          .0000       .10000E+07
     2 'Prefactor '    42.344       1.0000          .0000       .10000E+07
     3 'norm      '    .31386E-04   1.0000          .0000       .10000E+07
     4 'norm      '    24.628       1.0000          .0000       .10000E+07
     5 'Prefactor '    .18432       1.0000          .0000       .10000E+07
     6 'Prefactor '    1.2643       1.0000          .0000       .10000E+07
     7 'norm      '    .41559       1.0000          .0000       .10000E+07
     8 'Prefactor '    .34510E-02   1.0000          .0000       .10000E+07
     9 'norm      '    .20439E-05   1.0000          .0000       .10000E+07
    10 'Prefactor '    .27269E-03   1.0000          .0000       .10000E+07
    11 'Prefactor '    3.4213       1.0000          .0000       .10000E+07
    12 'Prefactor '    2.5659       1.0000         .10000E-03   10000.    
    13 'Prefactor '    .11441E-03   1.0000         .10000E-03   10000.    
    14 'norm      '    .74066       1.0000          .0000       .10000E+07
    15 'Prefactor '    .90442E-03   1.0000          .0000       .10000E+07
    16 'Prefactor '    9.9682       1.0000          .0000       .10000E+07
    17 'Prefactor '    1.9796       1.0000         .10000E-03   10000.    
    18 'Prefactor '    .29503E-02   1.0000          .0000       .10000E+07
    19 'Prefactor '    8.0349       1.0000          .0000       .10000E+07
    20 'Normalizat'    1.1415       1.0000         .10000E-01   10.000    
    21 'Prefactor '    .65435       1.0000          .0000       10.000    
 **********
 **   15 **SET ERR    .5000    
 **********
 **********
 **   16 **SET GRAD    1.000    
 **********
 **********
 **   17 **MINIMIZE    .5150E+05   .2000E-04
 **********

 MIGRAD MINIMIZATION HAS CONVERGED.

 FCN=   8184.616     FROM MIGRAD    STATUS=CONVERGED    126 CALLS     2589 TOTAL
                     EDM=   .17E-08  STRATEGY=1  ERROR MATRIX UNCERTAINTY=  1.6%

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  norm          4.0479        2.3893        .87181E-07   -.45815E-02
   2  Prefactor     42.640        42.497        .98017E-05   -.20594E-01
   3  norm          .33307E-09    4.5580        .10642E-05** at limit **
   4  norm          24.602        2.4428       -.64644E-06    .10538E-01
   5  Prefactor     .21894E-06    47.942       -.79694E-05** at limit **
   6  Prefactor     1.3052        1.4820        .12551E-05   -.63837E-03
   7  norm          .41844        .81445        .34353E-06    .15441E-02
   8  Prefactor     .92260E-07    10.348        .14455E-05** at limit **
   9  norm          .27756E-09    1.3499       -.11259E-08** at limit **
  10  Prefactor     .18549E-05    4.0669       -.21204E-06** at limit **
  11  Prefactor     3.4139        8.4293       -.56404E-05   -.19029E-01
  12  Prefactor     2.5658        .32441       -.12378E-06   -.29063E-02
  13  Prefactor     .10000E-03    7.3071       -.12272E-04** at limit **
  14  norm          .74251        1.3513       -.40394E-06   -.81511E-02
  15  Prefactor     .13500E-05    4.6926        .65081E-06** at limit **
  16  Prefactor     9.9654        1.7485       -.23437E-06    .39440E-01
  17  Prefactor     1.9796        .23701        .84184E-06    .41002E-02
  18  Prefactor     .20539E-07    13.929        .34399E-05** at limit **
  19  Prefactor     8.0448        7.6025        .48676E-06   -.20173E-03
  20  Normalizat    1.1417        .24479       -.16384E-04   -.14183E-03
  21  Prefactor     .65430        .12435        .10398E-04   -.46573E-03
                               ERR DEF=  .500    
Final values: 
  norm       = 4.04792
  Prefactor  = 42.6398
  norm       = 3.33067e-10
  norm       = 24.602
  Prefactor  = 2.18936e-07
  Prefactor  = 1.30524
  norm       = 0.418442
  Prefactor  = 9.22595e-08
  norm       = 2.77556e-10
  Prefactor  = 1.85491e-06
  Prefactor  = 3.41389
  Prefactor  = 2.56584
  Prefactor  = 0.0001
  norm       = 0.742509
  Prefactor  = 1.34998e-06
  Prefactor  = 9.96544
  Prefactor  = 1.97959
  Prefactor  = 2.05391e-08
  Prefactor  = 8.04478
  Normalizat = 1.14173
  Prefactor  = 0.654302
 **********
 **   18 **HESSE 
 **********

 FCN=   8184.616     FROM HESSE     STATUS=OK           365 CALLS     2954 TOTAL
                     EDM=   .46E-06    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  norm          4.0479        2.3955        .50132E-03   -1.5668    
   2  Prefactor     42.640        43.451        .15369E-03   -1.5577    
   3  norm          .33307E-09    .97762        .42118E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   4  norm          24.602        17.415        .20155E-03   -1.5609    
   5  Prefactor     .21894E-06    47.892        .12062E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   6  Prefactor     1.3052        293.16        .99067E-03   -1.5685    
   7  norm          .41844        .83850        .87702E-03   -1.5695    
   8  Prefactor     .92260E-07    10.557        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   9  norm          .27756E-09    1.3609        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  10  Prefactor     .18549E-05    8.2326        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  11  Prefactor     3.4139        8.5781        .54664E-03   -1.5671    
  12  Prefactor     2.5658        .32428        .39242E-02   -1.5388    
  13  Prefactor     .10000E-03    7.1781        .90712E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  14  norm          .74251        1.4345        .57467E-03   -1.5691    
  15  Prefactor     .13500E-05    7.8220        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  16  Prefactor     9.9654        9.9505        .31713E-03   -1.5645    
  17  Prefactor     1.9796        .23670        .32590E-02   -1.5427    
  18  Prefactor     .20539E-07    14.021        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  19  Prefactor     8.0448        7.6105        .35347E-03   -1.5651    
  20  Normalizat    1.1417        .20914        .73197E-01   -.88423    
  21  Prefactor     .65430        .10622        .41790E-01   -1.0535    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 4.63471e-07
Minuit parameter uncertainties:
  1  2.39552
  2  43.4518
  3  3.51948e-05
  4  17.4148
  5  0.00647593
  6  39.1248
  7  0.838497
  8  0.00197371
  9  3.69022e-05
  10  0.00781561
  11  8.57816
  12  0.324276
  13  3.5402e-05
  14  1.43451
  15  0.00649905
  16  9.95053
  17  0.236701
  18  0.00107304
  19  7.61053
  20  0.209289
  21  0.106252
Done.

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

Extracting fit parameters...

4FGL J2222.8+1209
   Spectrum: PowerLaw
262    Prefactor:  1.855e-06  7.816e-03  0.000e+00  1.000e+06 ( 1.000e-13)
263        Index:  2.407e+00  0.000e+00  0.000e+00  1.000e+01 (-1.000e+00) fixed
264        Scale:  1.288e+03  0.000e+00  3.000e+01  5.000e+05 ( 1.000e+00) fixed

GAL_V02
   Spectrum: PowerLaw
512    Prefactor:  6.543e-01  1.063e-01  0.000e+00  1.000e+01 ( 1.000e+00)
513        Index:  0.000e+00  0.000e+00 -1.000e+00  1.000e+00 ( 1.000e+00) fixed
514        Scale:  1.000e+02  0.000e+00  5.000e+01  2.000e+02 ( 1.000e+00) fixed

EG_v02
   Spectrum: FileFunction
511   Normalization:  1.142e+00  2.093e-01  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Fixed Index): -0.00
Ra Dec: 335.710 12.157
Photon Flux Upper Limit: 8.67912492866e-08 ph cm-2 s-1
Energy Flux Upper Limit: 0.00670967603809 MeV cm-2 s-1

Saving results to:
/lscratch/kocevski/31941884/likelihoodResults_805420801_805680001_4FGL_J2222.8+1209_daily_bin2184.txt

Performing a free index iterative likelihood fit...

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

Done.

Freeing candidate source...
Done.

Fit tolerance = 1

Performing likelihood fit...
Done.

MINUIT Return Code (Free Index): 0
logL (Free Index) = 8184.67542811
delta logL = -0.0595122115619

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

MINUIT Return Code (Free Index): 102
logL (Free Index) = 8184.6159159
delta logL = -3.63070284948e-09

Fit tolerance = 1e-08

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

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

 MIGRAD MINIMIZATION HAS CONVERGED.

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

 FCN=   8184.616     FROM MIGRAD    STATUS=CONVERGED     43 CALLS      207 TOTAL
                     EDM=   .35E-10  STRATEGY=1  ERROR MATRIX UNCERTAINTY=100.0%

  EXT PARAMETER                APPROXIMATE        STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor      .0000        6.3414        .42118E-03** at limit **
   2  Index         3.1636        2.0180       -.48305E-03     .0000    
   3  Normalizat    1.1417        1.1306       -.35264E-04    .11007E-05
   4  Prefactor     .65430        1.0036        .11435E-04   -.14946E-03
                               ERR DEF=  .500    
Final values: 
  Prefactor  = 0
  Index      = 3.16355
  Normalizat = 1.14173
  Prefactor  = 0.654303
 **********
 **   18 **HESSE 
 **********
  MNHESS FAILS AND WILL RETURN DIAGONAL MATRIX. 

 FCN=   8184.616     FROM HESSE     STATUS=FAILED         9 CALLS      216 TOTAL
                     EDM=   .35E-10  STRATEGY=1  ERROR MATRIX UNCERTAINTY=100.0%

  EXT PARAMETER                APPROXIMATE     INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  Prefactor      .0000        6.3414        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   2  Index         1.1270        2.2185       -.48305E-03   -.37609    
   3  Normalizat    1.1417        1.1306       -.35264E-04   -.88423    
   4  Prefactor     .65430        1.0036        .11435E-04   -1.0535    
                               ERR DEF=  .500    
Minuit fit quality: 1   estimated distance: 3.46233e-11
Minuit parameter uncertainties:
  1  1.84547e-05
  2  2.08743
  3  1.15609
  4  1.0334
orking on...
/lscratch/kocevski/31941991/ft1_filtered_4FGL_J2222.8+1209_daily_bin2184.fits.....................!
real 29.30
user 27.67
sys 0.87

Creating the likelihood object...
obs = UnbinnedObs('/lscratch/kocevski/31941991/ft1_filtered_4FGL_J2222.8+1209_daily_bin2184.fits', '/lscratch/kocevski/31941991/ft2_4FGL_J2222.8+1209_daily_bin2184.fits', expMap='/lscratch/kocevski/31941991/expmap_805420801_805680001_4FGL_J2222.8+1209_daily_bin2184.fits', expCube='/lscratch/kocevski/31941991/ltcube_805420801_805680001_4FGL_J2222.8+1209_daily_bin2184.fits', irfs='P8R3_SOURCE_V2')
like = UnbinnedAnalysis(obs, '/lscratch/kocevski/31941991/Model_4FGL_J2222.8+1209_daily_bin2184.xml', optimizer='MINUIT')

Using source of interest name: '4FGL J2222.8+1209'

4FGL J2222.8+1209
   Spectrum: PowerLaw
262    Prefactor:  1.996e+00  0.000e+00  0.000e+00  1.000e+06 ( 1.000e-13)
263        Index:  2.407e+00  0.000e+00  0.000e+00  1.000e+01 (-1.000e+00) fixed
264        Scale:  1.288e+03  0.000e+00  3.000e+01  5.000e+05 ( 1.000e+00) fixed


Likelihood Fit Parameters:
Event file(s): /lscratch/kocevski/31941991/ft1_filtered_4FGL_J2222.8+1209_daily_bin2184.fits
Spacecraft file(s): /lscratch/kocevski/31941991/ft2_4FGL_J2222.8+1209_daily_bin2184.fits
Exposure map: /lscratch/kocevski/31941991/expmap_805420801_805680001_4FGL_J2222.8+1209_daily_bin2184.fits
Exposure cube: /lscratch/kocevski/31941991/ltcube_805420801_805680001_4FGL_J2222.8+1209_daily_bin2184.fits
IRFs: P8R3_SOURCE_V2
Source model file: /lscratch/kocevski/31941991/Model_4FGL_J2222.8+1209_daily_bin2184.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) = 8184.61812385

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

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

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'norm      '    4.0419       1.0000          .0000       .10000E+07
     2 'Prefactor '    42.344       1.0000          .0000       .10000E+07
     3 'norm      '    .31386E-04   1.0000          .0000       .10000E+07
     4 'norm      '    24.628       1.0000          .0000       .10000E+07
     5 'Prefactor '    .18432       1.0000          .0000       .10000E+07
     6 'Prefactor '    1.2643       1.0000          .0000       .10000E+07
     7 'norm      '    .41559       1.0000          .0000       .10000E+07
     8 'Prefactor '    .34510E-02   1.0000          .0000       .10000E+07
     9 'norm      '    .20439E-05   1.0000          .0000       .10000E+07
    10 'Prefactor '    .27269E-03   1.0000          .0000       .10000E+07
    11 'Prefactor '    3.4213       1.0000          .0000       .10000E+07
    12 'Prefactor '    2.5659       1.0000         .10000E-03   10000.    
    13 'Prefactor '    .11441E-03   1.0000         .10000E-03   10000.    
    14 'norm      '    .74066       1.0000          .0000       .10000E+07
    15 'Prefactor '    .90442E-03   1.0000          .0000       .10000E+07
    16 'Prefactor '    9.9682       1.0000          .0000       .10000E+07
    17 'Prefactor '    1.9796       1.0000         .10000E-03   10000.    
    18 'Prefactor '    .29503E-02   1.0000          .0000       .10000E+07
    19 'Prefactor '    8.0349       1.0000          .0000       .10000E+07
    20 'Normalizat'    1.1415       1.0000         .10000E-01   10.000    
    21 'Prefactor '    .65435       1.0000          .0000       10.000    
 **********
 **   15 **SET ERR    .5000    
 **********
 **********
 **   16 **SET GRAD    1.000    
 **********
 **********
 **   17 **MINIMIZE    .5150E+05   .2000E-04
 **********

 MIGRAD MINIMIZATION HAS CONVERGED.

 FCN=   8184.616     FROM MIGRAD    STATUS=CONVERGED    126 CALLS     2589 TOTAL
                     EDM=   .17E-08  STRATEGY=1  ERROR MATRIX UNCERTAINTY=  1.6%

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  norm          4.0479        2.3893        .87181E-07   -.45815E-02
   2  Prefactor     42.640        42.497        .98017E-05   -.20594E-01
   3  norm          .33307E-09    4.5580        .10642E-05** at limit **
   4  norm          24.602        2.4428       -.64644E-06    .10538E-01
   5  Prefactor     .21894E-06    47.942       -.79694E-05** at limit **
   6  Prefactor     1.3052        1.4820        .12551E-05   -.63837E-03
   7  norm          .41844        .81445        .34353E-06    .15441E-02
   8  Prefactor     .92260E-07    10.348        .14455E-05** at limit **
   9  norm          .27756E-09    1.3499       -.11259E-08** at limit **
  10  Prefactor     .18549E-05    4.0669       -.21204E-06** at limit **
  11  Prefactor     3.4139        8.4293       -.56404E-05   -.19029E-01
  12  Prefactor     2.5658        .32441       -.12378E-06   -.29063E-02
  13  Prefactor     .10000E-03    7.3071       -.12272E-04** at limit **
  14  norm          .74251        1.3513       -.40394E-06   -.81511E-02
  15  Prefactor     .13500E-05    4.6926        .65081E-06** at limit **
  16  Prefactor     9.9654        1.7485       -.23437E-06    .39440E-01
  17  Prefactor     1.9796        .23701        .84184E-06    .41002E-02
  18  Prefactor     .20539E-07    13.929        .34399E-05** at limit **
  19  Prefactor     8.0448        7.6025        .48676E-06   -.20173E-03
  20  Normalizat    1.1417        .24479       -.16384E-04   -.14183E-03
  21  Prefactor     .65430        .12435        .10398E-04   -.46573E-03
                               ERR DEF=  .500    
Final values: 
  norm       = 4.04792
  Prefactor  = 42.6398
  norm       = 3.33067e-10
  norm       = 24.602
  Prefactor  = 2.18936e-07
  Prefactor  = 1.30524
  norm       = 0.418442
  Prefactor  = 9.22595e-08
  norm       = 2.77556e-10
  Prefactor  = 1.85491e-06
  Prefactor  = 3.41389
  Prefactor  = 2.56584
  Prefactor  = 0.0001
  norm       = 0.742509
  Prefactor  = 1.34998e-06
  Prefactor  = 9.96544
  Prefactor  = 1.97959
  Prefactor  = 2.05391e-08
  Prefactor  = 8.04478
  Normalizat = 1.14173
  Prefactor  = 0.654302
 **********
 **   18 **HESSE 
 **********

 FCN=   8184.616     FROM HESSE     STATUS=OK           365 CALLS     2954 TOTAL
                     EDM=   .46E-06    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  norm          4.0479        2.3955        .50132E-03   -1.5668    
   2  Prefactor     42.640        43.451        .15369E-03   -1.5577    
   3  norm          .33307E-09    .97762        .42118E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   4  norm          24.602        17.415        .20155E-03   -1.5609    
   5  Prefactor     .21894E-06    47.892        .12062E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   6  Prefactor     1.3052        293.16        .99067E-03   -1.5685    
   7  norm          .41844        .83850        .87702E-03   -1.5695    
   8  Prefactor     .92260E-07    10.557        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   9  norm          .27756E-09    1.3609        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  10  Prefactor     .18549E-05    8.2326        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  11  Prefactor     3.4139        8.5781        .54664E-03   -1.5671    
  12  Prefactor     2.5658        .32428        .39242E-02   -1.5388    
  13  Prefactor     .10000E-03    7.1781        .90712E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  14  norm          .74251        1.4345        .57467E-03   -1.5691    
  15  Prefactor     .13500E-05    7.8220        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  16  Prefactor     9.9654        9.9505        .31713E-03   -1.5645    
  17  Prefactor     1.9796        .23670        .32590E-02   -1.5427    
  18  Prefactor     .20539E-07    14.021        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  19  Prefactor     8.0448        7.6105        .35347E-03   -1.5651    
  20  Normalizat    1.1417        .20914        .73197E-01   -.88423    
  21  Prefactor     .65430        .10622        .41790E-01   -1.0535    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 4.63471e-07
Minuit parameter uncertainties:
  1  2.39552
  2  43.4518
  3  3.51948e-05
  4  17.4148
  5  0.00647593
  6  39.1248
  7  0.838497
  8  0.00197371
  9  3.69022e-05
  10  0.00781561
  11  8.57816
  12  0.324276
  13  3.5402e-05
  14  1.43451
  15  0.00649905
  16  9.95053
  17  0.236701
  18  0.00107304
  19  7.61053
  20  0.209289
  21  0.106252
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) = 8184.61591578
delta logL = 1.12599991553e-07

Extracting fit parameters...

4FGL J2222.8+1209
   Spectrum: PowerLaw
262    Prefactor:  0.000e+00  1.845e-05  0.000e+00  1.000e+06 ( 1.000e-13)
263        Index:  3.164e+00  2.087e+00  0.000e+00  1.000e+01 (-1.000e+00)
264        Scale:  1.288e+03  0.000e+00  3.000e+01  5.000e+05 ( 1.000e+00) fixed

GAL_V02
   Spectrum: PowerLaw
512    Prefactor:  6.543e-01  1.033e+00  0.000e+00  1.000e+01 ( 1.000e+00)
513        Index:  0.000e+00  0.000e+00 -1.000e+00  1.000e+00 ( 1.000e+00) fixed
514        Scale:  1.000e+02  0.000e+00  5.000e+01  2.000e+02 ( 1.000e+00) fixed

EG_v02
   Spectrum: FileFunction
511   Normalization:  1.142e+00  1.156e+00  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Free Index): -0.00
Ra Dec: 335.710 12.157

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/31941884/cmap_HighResolution_805420801_805680001_4FGL_J2222.8+1209_daily_bin2184.png

Cleaning up...

** Nuclear option initiated! **

Updating database...

UPDATE lightcurve_data_v2 SET energy_flux_upper_limit='6.71e-03', job_status='DONE', photon_flux_upper_limit='8.68e-08', time_completed='2026-07-16 15:09:42.792760', job_id='31941884', GAL2='0.65', fit_tolerance='1e-08', EG2='1.14', EG='1.14', time_epoch_completed='1784239782.79', return_code2='101', ts='-0.00', comment='SUCCESS', return_code='0', GAL='0.65', dlogl='1.13e-07', ts2='0.00', photon_index_error='0.00', photon_index='2.41' WHERE bin_id='2184' AND source_name='4FGL J2222.8+1209' AND cadence='daily';

Database successfully updated.


Analysis Complete.


Thu Jul 16 15:09:43 PDT 2026

Working on...
/lscratch/kocevski/31942031/ft1_filtered_4FGL_J2222.8+1209_daily_bin2184.fits.....................!
real 29.35
user 27.78
sys 0.80

Creating the likelihood object...
obs = UnbinnedObs('/lscratch/kocevski/31942031/ft1_filtered_4FGL_J2222.8+1209_daily_bin2184.fits', '/lscratch/kocevski/31942031/ft2_4FGL_J2222.8+1209_daily_bin2184.fits', expMap='/lscratch/kocevski/31942031/expmap_805420801_805680001_4FGL_J2222.8+1209_daily_bin2184.fits', expCube='/lscratch/kocevski/31942031/ltcube_805420801_805680001_4FGL_J2222.8+1209_daily_bin2184.fits', irfs='P8R3_SOURCE_V2')
like = UnbinnedAnalysis(obs, '/lscratch/kocevski/31942031/Model_4FGL_J2222.8+1209_daily_bin2184.xml', optimizer='MINUIT')

Using source of interest name: '4FGL J2222.8+1209'

4FGL J2222.8+1209
   Spectrum: PowerLaw
262    Prefactor:  1.996e+00  0.000e+00  0.000e+00  1.000e+06 ( 1.000e-13)
263        Index:  2.407e+00  0.000e+00  0.000e+00  1.000e+01 (-1.000e+00) fixed
264        Scale:  1.288e+03  0.000e+00  3.000e+01  5.000e+05 ( 1.000e+00) fixed


Likelihood Fit Parameters:
Event file(s): /lscratch/kocevski/31942031/ft1_filtered_4FGL_J2222.8+1209_daily_bin2184.fits
Spacecraft file(s): /lscratch/kocevski/31942031/ft2_4FGL_J2222.8+1209_daily_bin2184.fits
Exposure map: /lscratch/kocevski/31942031/expmap_805420801_805680001_4FGL_J2222.8+1209_daily_bin2184.fits
Exposure cube: /lscratch/kocevski/31942031/ltcube_805420801_805680001_4FGL_J2222.8+1209_daily_bin2184.fits
IRFs: P8R3_SOURCE_V2
Source model file: /lscratch/kocevski/31942031/Model_4FGL_J2222.8+1209_daily_bin2184.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) = 8184.61812385

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

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

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'norm      '    4.0419       1.0000          .0000       .10000E+07
     2 'Prefactor '    42.344       1.0000          .0000       .10000E+07
     3 'norm      '    .31386E-04   1.0000          .0000       .10000E+07
     4 'norm      '    24.628       1.0000          .0000       .10000E+07
     5 'Prefactor '    .18432       1.0000          .0000       .10000E+07
     6 'Prefactor '    1.2643       1.0000          .0000       .10000E+07
     7 'norm      '    .41559       1.0000          .0000       .10000E+07
     8 'Prefactor '    .34510E-02   1.0000          .0000       .10000E+07
     9 'norm      '    .20439E-05   1.0000          .0000       .10000E+07
    10 'Prefactor '    .27269E-03   1.0000          .0000       .10000E+07
    11 'Prefactor '    3.4213       1.0000          .0000       .10000E+07
    12 'Prefactor '    2.5659       1.0000         .10000E-03   10000.    
    13 'Prefactor '    .11441E-03   1.0000         .10000E-03   10000.    
    14 'norm      '    .74066       1.0000          .0000       .10000E+07
    15 'Prefactor '    .90442E-03   1.0000          .0000       .10000E+07
    16 'Prefactor '    9.9682       1.0000          .0000       .10000E+07
    17 'Prefactor '    1.9796       1.0000         .10000E-03   10000.    
    18 'Prefactor '    .29503E-02   1.0000          .0000       .10000E+07
    19 'Prefactor '    8.0349       1.0000          .0000       .10000E+07
    20 'Normalizat'    1.1415       1.0000         .10000E-01   10.000    
    21 'Prefactor '    .65435       1.0000          .0000       10.000    
 **********
 **   15 **SET ERR    .5000    
 **********
 **********
 **   16 **SET GRAD    1.000    
 **********
 **********
 **   17 **MINIMIZE    .5150E+05   .2000E-04
 **********

 MIGRAD MINIMIZATION HAS CONVERGED.

 FCN=   8184.616     FROM MIGRAD    STATUS=CONVERGED    126 CALLS     2589 TOTAL
                     EDM=   .17E-08  STRATEGY=1  ERROR MATRIX UNCERTAINTY=  1.6%

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  norm          4.0479        2.3893        .87181E-07   -.45815E-02
   2  Prefactor     42.640        42.497        .98017E-05   -.20594E-01
   3  norm          .33307E-09    4.5580        .10642E-05** at limit **
   4  norm          24.602        2.4428       -.64644E-06    .10538E-01
   5  Prefactor     .21894E-06    47.942       -.79694E-05** at limit **
   6  Prefactor     1.3052        1.4820        .12551E-05   -.63837E-03
   7  norm          .41844        .81445        .34353E-06    .15441E-02
   8  Prefactor     .92260E-07    10.348        .14455E-05** at limit **
   9  norm          .27756E-09    1.3499       -.11259E-08** at limit **
  10  Prefactor     .18549E-05    4.0669       -.21204E-06** at limit **
  11  Prefactor     3.4139        8.4293       -.56404E-05   -.19029E-01
  12  Prefactor     2.5658        .32441       -.12378E-06   -.29063E-02
  13  Prefactor     .10000E-03    7.3071       -.12272E-04** at limit **
  14  norm          .74251        1.3513       -.40394E-06   -.81511E-02
  15  Prefactor     .13500E-05    4.6926        .65081E-06** at limit **
  16  Prefactor     9.9654        1.7485       -.23437E-06    .39440E-01
  17  Prefactor     1.9796        .23701        .84184E-06    .41002E-02
  18  Prefactor     .20539E-07    13.929        .34399E-05** at limit **
  19  Prefactor     8.0448        7.6025        .48676E-06   -.20173E-03
  20  Normalizat    1.1417        .24479       -.16384E-04   -.14183E-03
  21  Prefactor     .65430        .12435        .10398E-04   -.46573E-03
                               ERR DEF=  .500    
Final values: 
  norm       = 4.04792
  Prefactor  = 42.6398
  norm       = 3.33067e-10
  norm       = 24.602
  Prefactor  = 2.18936e-07
  Prefactor  = 1.30524
  norm       = 0.418442
  Prefactor  = 9.22595e-08
  norm       = 2.77556e-10
  Prefactor  = 1.85491e-06
  Prefactor  = 3.41389
  Prefactor  = 2.56584
  Prefactor  = 0.0001
  norm       = 0.742509
  Prefactor  = 1.34998e-06
  Prefactor  = 9.96544
  Prefactor  = 1.97959
  Prefactor  = 2.05391e-08
  Prefactor  = 8.04478
  Normalizat = 1.14173
  Prefactor  = 0.654302
 **********
 **   18 **HESSE 
 **********

 FCN=   8184.616     FROM HESSE     STATUS=OK           365 CALLS     2954 TOTAL
                     EDM=   .46E-06    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  norm          4.0479        2.3955        .50132E-03   -1.5668    
   2  Prefactor     42.640        43.451        .15369E-03   -1.5577    
   3  norm          .33307E-09    .97762        .42118E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   4  norm          24.602        17.415        .20155E-03   -1.5609    
   5  Prefactor     .21894E-06    47.892        .12062E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   6  Prefactor     1.3052        293.16        .99067E-03   -1.5685    
   7  norm          .41844        .83850        .87702E-03   -1.5695    
   8  Prefactor     .92260E-07    10.557        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   9  norm          .27756E-09    1.3609        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  10  Prefactor     .18549E-05    8.2326        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  11  Prefactor     3.4139        8.5781        .54664E-03   -1.5671    
  12  Prefactor     2.5658        .32428        .39242E-02   -1.5388    
  13  Prefactor     .10000E-03    7.1781        .90712E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  14  norm          .74251        1.4345        .57467E-03   -1.5691    
  15  Prefactor     .13500E-05    7.8220        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  16  Prefactor     9.9654        9.9505        .31713E-03   -1.5645    
  17  Prefactor     1.9796        .23670        .32590E-02   -1.5427    
  18  Prefactor     .20539E-07    14.021        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  19  Prefactor     8.0448        7.6105        .35347E-03   -1.5651    
  20  Normalizat    1.1417        .20914        .73197E-01   -.88423    
  21  Prefactor     .65430        .10622        .41790E-01   -1.0535    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 4.63471e-07
Minuit parameter uncertainties:
  1  2.39552
  2  43.4518
  3  3.51948e-05
  4  17.4148
  5  0.00647593
  6  39.1248
  7  0.838497
  8  0.00197371
  9  3.69022e-05
  10  0.00781561
  11  8.57816
  12  0.324276
  13  3.5402e-05
  14  1.43451
  15  0.00649905
  16  9.95053
  17  0.236701
  18  0.00107304
  19  7.61053
  20  0.209289
  21  0.106252
Done.

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

Extracting fit parameters...

4FGL J2222.8+1209
   Spectrum: PowerLaw
262    Prefactor:  1.855e-06  7.816e-03  0.000e+00  1.000e+06 ( 1.000e-13)
263        Index:  2.407e+00  0.000e+00  0.000e+00  1.000e+01 (-1.000e+00) fixed
264        Scale:  1.288e+03  0.000e+00  3.000e+01  5.000e+05 ( 1.000e+00) fixed

GAL_V02
   Spectrum: PowerLaw
512    Prefactor:  6.543e-01  1.063e-01  0.000e+00  1.000e+01 ( 1.000e+00)
513        Index:  0.000e+00  0.000e+00 -1.000e+00  1.000e+00 ( 1.000e+00) fixed
514        Scale:  1.000e+02  0.000e+00  5.000e+01  2.000e+02 ( 1.000e+00) fixed

EG_v02
   Spectrum: FileFunction
511   Normalization:  1.142e+00  2.093e-01  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Fixed Index): -0.00
Ra Dec: 335.710 12.157
Photon Flux Upper Limit: 8.67912492866e-08 ph cm-2 s-1
Energy Flux Upper Limit: 0.00670967603809 MeV cm-2 s-1

Saving results to:
/lscratch/kocevski/31941892/likelihoodResults_805420801_805680001_4FGL_J2222.8+1209_daily_bin2184.txt

Performing a free index iterative likelihood fit...

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

Done.

Freeing candidate source...
Done.

Fit tolerance = 1

Performing likelihood fit...
Done.

MINUIT Return Code (Free Index): 0
logL (Free Index) = 8184.67542811
delta logL = -0.0595122115619

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

MINUIT Return Code (Free Index): 102
logL (Free Index) = 8184.6159159
delta logL = -3.63070284948e-09

Fit tolerance = 1e-08

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

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

 MIGRAD MINIMIZATION HAS CONVERGED.

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

 FCN=   8184.616     FROM MIGRAD    STATUS=CONVERGED     43 CALLS      207 TOTAL
                     EDM=   .35E-10  STRATEGY=1  ERROR MATRIX UNCERTAINTY=100.0%

  EXT PARAMETER                APPROXIMATE        STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor      .0000        6.3414        .42118E-03** at limit **
   2  Index         3.1636        2.0180       -.48305E-03     .0000    
   3  Normalizat    1.1417        1.1306       -.35264E-04    .11007E-05
   4  Prefactor     .65430        1.0036        .11435E-04   -.14946E-03
                               ERR DEF=  .500    
Final values: 
  Prefactor  = 0
  Index      = 3.16355
  Normalizat = 1.14173
  Prefactor  = 0.654303
 **********
 **   18 **HESSE 
 **********
  MNHESS FAILS AND WILL RETURN DIAGONAL MATRIX. 

 FCN=   8184.616     FROM HESSE     STATUS=FAILED         9 CALLS      216 TOTAL
                     EDM=   .35E-10  STRATEGY=1  ERROR MATRIX UNCERTAINTY=100.0%

  EXT PARAMETER                APPROXIMATE     INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  Prefactor      .0000        6.3414        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   2  Index         1.1270        2.2185       -.48305E-03   -.37609    
   3  Normalizat    1.1417        1.1306       -.35264E-04   -.88423    
   4  Prefactor     .65430        1.0036        .11435E-04   -1.0535    
                               ERR DEF=  .500    
Minuit fit quality: 1   estimated distance: 3.46233e-11
Minuit parameter uncertainties:
  1  1.84547e-05
  2  2.08743
  3  1.15609
  4  1.0334
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) = 8184.61591578
delta logL = 1.12599991553e-07

Extracting fit parameters...

4FGL J2222.8+1209
   Spectrum: PowerLaw
262    Prefactor:  0.000e+00  1.845e-05  0.000e+00  1.000e+06 ( 1.000e-13)
263        Index:  3.164e+00  2.087e+00  0.000e+00  1.000e+01 (-1.000e+00)
264        Scale:  1.288e+03  0.000e+00  3.000e+01  5.000e+05 ( 1.000e+00) fixed

GAL_V02
   Spectrum: PowerLaw
512    Prefactor:  6.543e-01  1.033e+00  0.000e+00  1.000e+01 ( 1.000e+00)
513        Index:  0.000e+00  0.000e+00 -1.000e+00  1.000e+00 ( 1.000e+00) fixed
514        Scale:  1.000e+02  0.000e+00  5.000e+01  2.000e+02 ( 1.000e+00) fixed

EG_v02
   Spectrum: FileFunction
511   Normalization:  1.142e+00  1.156e+00  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Free Index): -0.00
Ra Dec: 335.710 12.157

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/31941892/cmap_HighResolution_805420801_805680001_4FGL_J2222.8+1209_daily_bin2184.png

Cleaning up...

** Nuclear option initiated! **

Updating database...

UPDATE lightcurve_data_v2 SET energy_flux_upper_limit='6.71e-03', job_status='DONE', photon_flux_upper_limit='8.68e-08', time_completed='2026-07-16 15:09:57.204335', job_id='31941892', GAL2='0.65', fit_tolerance='1e-08', EG2='1.14', EG='1.14', time_epoch_completed='1784239797.2', return_code2='101', ts='-0.00', comment='SUCCESS', return_code='0', GAL='0.65', dlogl='1.13e-07', ts2='0.00', photon_index_error='0.00', photon_index='2.41' WHERE bin_id='2184' AND source_name='4FGL J2222.8+1209' AND cadence='daily';

Database successfully updated.


Analysis Complete.


Thu Jul 16 15:09:57 PDT 2026

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

 FCN=   8184.616     FROM HESSE     STATUS=OK           365 CALLS     2954 TOTAL
                     EDM=   .46E-06    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  norm          4.0479        2.3955        .50132E-03   -1.5668    
   2  Prefactor     42.640        43.451        .15369E-03   -1.5577    
   3  norm          .33307E-09    .97762        .42118E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   4  norm          24.602        17.415        .20155E-03   -1.5609    
   5  Prefactor     .21894E-06    47.892        .12062E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   6  Prefactor     1.3052        293.16        .99067E-03   -1.5685    
   7  norm          .41844        .83850        .87702E-03   -1.5695    
   8  Prefactor     .92260E-07    10.557        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   9  norm          .27756E-09    1.3609        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  10  Prefactor     .18549E-05    8.2326        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  11  Prefactor     3.4139        8.5781        .54664E-03   -1.5671    
  12  Prefactor     2.5658        .32428        .39242E-02   -1.5388    
  13  Prefactor     .10000E-03    7.1781        .90712E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  14  norm          .74251        1.4345        .57467E-03   -1.5691    
  15  Prefactor     .13500E-05    7.8220        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  16  Prefactor     9.9654        9.9505        .31713E-03   -1.5645    
  17  Prefactor     1.9796        .23670        .32590E-02   -1.5427    
  18  Prefactor     .20539E-07    14.021        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  19  Prefactor     8.0448        7.6105        .35347E-03   -1.5651    
  20  Normalizat    1.1417        .20914        .73197E-01   -.88423    
  21  Prefactor     .65430        .10622        .41790E-01   -1.0535    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 4.63471e-07
Minuit parameter uncertainties:
  1  2.39552
  2  43.4518
  3  3.51948e-05
  4  17.4148
  5  0.00647593
  6  39.1248
  7  0.838497
  8  0.00197371
  9  3.69022e-05
  10  0.00781561
  11  8.57816
  12  0.324276
  13  3.5402e-05
  14  1.43451
  15  0.00649905
  16  9.95053
  17  0.236701
  18  0.00107304
  19  7.61053
  20  0.209289
  21  0.106252
Done.

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

Extracting fit parameters...

4FGL J2222.8+1209
   Spectrum: PowerLaw
262    Prefactor:  1.855e-06  7.816e-03  0.000e+00  1.000e+06 ( 1.000e-13)
263        Index:  2.407e+00  0.000e+00  0.000e+00  1.000e+01 (-1.000e+00) fixed
264        Scale:  1.288e+03  0.000e+00  3.000e+01  5.000e+05 ( 1.000e+00) fixed

GAL_V02
   Spectrum: PowerLaw
512    Prefactor:  6.543e-01  1.063e-01  0.000e+00  1.000e+01 ( 1.000e+00)
513        Index:  0.000e+00  0.000e+00 -1.000e+00  1.000e+00 ( 1.000e+00) fixed
514        Scale:  1.000e+02  0.000e+00  5.000e+01  2.000e+02 ( 1.000e+00) fixed

EG_v02
   Spectrum: FileFunction
511   Normalization:  1.142e+00  2.093e-01  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Fixed Index): -0.00
Ra Dec: 335.710 12.157
Photon Flux Upper Limit: 8.67912492866e-08 ph cm-2 s-1
Energy Flux Upper Limit: 0.00670967603809 MeV cm-2 s-1

Saving results to:
/lscratch/kocevski/31941988/likelihoodResults_805420801_805680001_4FGL_J2222.8+1209_daily_bin2184.txt

Performing a free index iterative likelihood fit...

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

Done.

Freeing candidate source...
Done.

Fit tolerance = 1

Performing likelihood fit...
Done.

MINUIT Return Code (Free Index): 0
logL (Free Index) = 8184.67542811
delta logL = -0.0595122115619

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

MINUIT Return Code (Free Index): 102
logL (Free Index) = 8184.6159159
delta logL = -3.63070284948e-09

Fit tolerance = 1e-08

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

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

 MIGRAD MINIMIZATION HAS CONVERGED.

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

 FCN=   8184.616     FROM MIGRAD    STATUS=CONVERGED     43 CALLS      207 TOTAL
                     EDM=   .35E-10  STRATEGY=1  ERROR MATRIX UNCERTAINTY=100.0%

  EXT PARAMETER                APPROXIMATE        STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor      .0000        6.3414        .42118E-03** at limit **
   2  Index         3.1636        2.0180       -.48305E-03     .0000    
   3  Normalizat    1.1417        1.1306       -.35264E-04    .11007E-05
   4  Prefactor     .65430        1.0036        .11435E-04   -.14946E-03
                               ERR DEF=  .500    
Final values: 
  Prefactor  = 0
  Index      = 3.16355
  Normalizat = 1.14173
  Prefactor  = 0.654303
 **********
 **   18 **HESSE 
 **********
  MNHESS FAILS AND WILL RETURN DIAGONAL MATRIX. 

 FCN=   8184.616     FROM HESSE     STATUS=FAILED         9 CALLS      216 TOTAL
                     EDM=   .35E-10  STRATEGY=1  ERROR MATRIX UNCERTAINTY=100.0%

  EXT PARAMETER                APPROXIMATE     INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  Prefactor      .0000        6.3414        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   2  Index         1.1270        2.2185       -.48305E-03   -.37609    
   3  Normalizat    1.1417        1.1306       -.35264E-04   -.88423    
   4  Prefactor     .65430        1.0036        .11435E-04   -1.0535    
                               ERR DEF=  .500    
Minuit fit quality: 1   estimated distance: 3.46233e-11
Minuit parameter uncertainties:
  1  1.84547e-05
  2  2.08743
  3  1.15609
  4  1.0334
shell-init: error retrieving current directory: getcwd: cannot access parent directories: No such file or directory
Working on...
/lscratch/kocevski/31942092/ft1_filtered_4FGL_J2222.8+1209_daily_bin2184.fits.....................!
real 29.33
user 27.94
sys 0.79

Creating the likelihood object...
obs = UnbinnedObs('/lscratch/kocevski/31942092/ft1_filtered_4FGL_J2222.8+1209_daily_bin2184.fits', '/lscratch/kocevski/31942092/ft2_4FGL_J2222.8+1209_daily_bin2184.fits', expMap='/lscratch/kocevski/31942092/expmap_805420801_805680001_4FGL_J2222.8+1209_daily_bin2184.fits', expCube='/lscratch/kocevski/31942092/ltcube_805420801_805680001_4FGL_J2222.8+1209_daily_bin2184.fits', irfs='P8R3_SOURCE_V2')
like = UnbinnedAnalysis(obs, '/lscratch/kocevski/31942092/Model_4FGL_J2222.8+1209_daily_bin2184.xml', optimizer='MINUIT')

Using source of interest name: '4FGL J2222.8+1209'

4FGL J2222.8+1209
   Spectrum: PowerLaw
262    Prefactor:  1.996e+00  0.000e+00  0.000e+00  1.000e+06 ( 1.000e-13)
263        Index:  2.407e+00  0.000e+00  0.000e+00  1.000e+01 (-1.000e+00) fixed
264        Scale:  1.288e+03  0.000e+00  3.000e+01  5.000e+05 ( 1.000e+00) fixed


Likelihood Fit Parameters:
Event file(s): /lscratch/kocevski/31942092/ft1_filtered_4FGL_J2222.8+1209_daily_bin2184.fits
Spacecraft file(s): /lscratch/kocevski/31942092/ft2_4FGL_J2222.8+1209_daily_bin2184.fits
Exposure map: /lscratch/kocevski/31942092/expmap_805420801_805680001_4FGL_J2222.8+1209_daily_bin2184.fits
Exposure cube: /lscratch/kocevski/31942092/ltcube_805420801_805680001_4FGL_J2222.8+1209_daily_bin2184.fits
IRFs: P8R3_SOURCE_V2
Source model file: /lscratch/kocevski/31942092/Model_4FGL_J2222.8+1209_daily_bin2184.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) = 8184.61812385

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

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

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'norm      '    4.0419       1.0000          .0000       .10000E+07
     2 'Prefactor '    42.344       1.0000          .0000       .10000E+07
     3 'norm      '    .31386E-04   1.0000          .0000       .10000E+07
     4 'norm      '    24.628       1.0000          .0000       .10000E+07
     5 'Prefactor '    .18432       1.0000          .0000       .10000E+07
     6 'Prefactor '    1.2643       1.0000          .0000       .10000E+07
     7 'norm      '    .41559       1.0000          .0000       .10000E+07
     8 'Prefactor '    .34510E-02   1.0000          .0000       .10000E+07
     9 'norm      '    .20439E-05   1.0000          .0000       .10000E+07
    10 'Prefactor '    .27269E-03   1.0000          .0000       .10000E+07
    11 'Prefactor '    3.4213       1.0000          .0000       .10000E+07
    12 'Prefactor '    2.5659       1.0000         .10000E-03   10000.    
    13 'Prefactor '    .11441E-03   1.0000         .10000E-03   10000.    
    14 'norm      '    .74066       1.0000          .0000       .10000E+07
    15 'Prefactor '    .90442E-03   1.0000          .0000       .10000E+07
    16 'Prefactor '    9.9682       1.0000          .0000       .10000E+07
    17 'Prefactor '    1.9796       1.0000         .10000E-03   10000.    
    18 'Prefactor '    .29503E-02   1.0000          .0000       .10000E+07
    19 'Prefactor '    8.0349       1.0000          .0000       .10000E+07
    20 'Normalizat'    1.1415       1.0000         .10000E-01   10.000    
    21 'Prefactor '    .65435       1.0000          .0000       10.000    
 **********
 **   15 **SET ERR    .5000    
 **********
 **********
 **   16 **SET GRAD    1.000    
 **********
 **********
 **   17 **MINIMIZE    .5150E+05   .2000E-04
 **********

 MIGRAD MINIMIZATION HAS CONVERGED.

 FCN=   8184.616     FROM MIGRAD    STATUS=CONVERGED    126 CALLS     2589 TOTAL
                     EDM=   .17E-08  STRATEGY=1  ERROR MATRIX UNCERTAINTY=  1.6%

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  norm          4.0479        2.3893        .87181E-07   -.45815E-02
   2  Prefactor     42.640        42.497        .98017E-05   -.20594E-01
   3  norm          .33307E-09    4.5580        .10642E-05** at limit **
   4  norm          24.602        2.4428       -.64644E-06    .10538E-01
   5  Prefactor     .21894E-06    47.942       -.79694E-05** at limit **
   6  Prefactor     1.3052        1.4820        .12551E-05   -.63837E-03
   7  norm          .41844        .81445        .34353E-06    .15441E-02
   8  Prefactor     .92260E-07    10.348        .14455E-05** at limit **
   9  norm          .27756E-09    1.3499       -.11259E-08** at limit **
  10  Prefactor     .18549E-05    4.0669       -.21204E-06** at limit **
  11  Prefactor     3.4139        8.4293       -.56404E-05   -.19029E-01
  12  Prefactor     2.5658        .32441       -.12378E-06   -.29063E-02
  13  Prefactor     .10000E-03    7.3071       -.12272E-04** at limit **
  14  norm          .74251        1.3513       -.40394E-06   -.81511E-02
  15  Prefactor     .13500E-05    4.6926        .65081E-06** at limit **
  16  Prefactor     9.9654        1.7485       -.23437E-06    .39440E-01
  17  Prefactor     1.9796        .23701        .84184E-06    .41002E-02
  18  Prefactor     .20539E-07    13.929        .34399E-05** at limit **
  19  Prefactor     8.0448        7.6025        .48676E-06   -.20173E-03
  20  Normalizat    1.1417        .24479       -.16384E-04   -.14183E-03
  21  Prefactor     .65430        .12435        .10398E-04   -.46573E-03
                               ERR DEF=  .500    
Final values: 
  norm       = 4.04792
  Prefactor  = 42.6398
  norm       = 3.33067e-10
  norm       = 24.602
  Prefactor  = 2.18936e-07
  Prefactor  = 1.30524
  norm       = 0.418442
  Prefactor  = 9.22595e-08
  norm       = 2.77556e-10
  Prefactor  = 1.85491e-06
  Prefactor  = 3.41389
  Prefactor  = 2.56584
  Prefactor  = 0.0001
  norm       = 0.742509
  Prefactor  = 1.34998e-06
  Prefactor  = 9.96544
  Prefactor  = 1.97959
  Prefactor  = 2.05391e-08
  Prefactor  = 8.04478
  Normalizat = 1.14173
  Prefactor  = 0.654302
Done.

MINUIT Return Code (Free Index): 101
logL (Free Index) = 8184.61591578
delta logL = 1.12599991553e-07

Extracting fit parameters...

4FGL J2222.8+1209
   Spectrum: PowerLaw
262    Prefactor:  0.000e+00  1.845e-05  0.000e+00  1.000e+06 ( 1.000e-13)
263        Index:  3.164e+00  2.087e+00  0.000e+00  1.000e+01 (-1.000e+00)
264        Scale:  1.288e+03  0.000e+00  3.000e+01  5.000e+05 ( 1.000e+00) fixed

GAL_V02
   Spectrum: PowerLaw
512    Prefactor:  6.543e-01  1.033e+00  0.000e+00  1.000e+01 ( 1.000e+00)
513        Index:  0.000e+00  0.000e+00 -1.000e+00  1.000e+00 ( 1.000e+00) fixed
514        Scale:  1.000e+02  0.000e+00  5.000e+01  2.000e+02 ( 1.000e+00) fixed

EG_v02
   Spectrum: FileFunction
511   Normalization:  1.142e+00  1.156e+00  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Free Index): -0.00
Ra Dec: 335.710 12.157

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/31941988/cmap_HighResolution_805420801_805680001_4FGL_J2222.8+1209_daily_bin2184.png

Cleaning up...

** Nuclear option initiated! **

Updating database...

UPDATE lightcurve_data_v2 SET energy_flux_upper_limit='6.71e-03', job_status='DONE', photon_flux_upper_limit='8.68e-08', time_completed='2026-07-16 15:10:09.265035', job_id='31941988', GAL2='0.65', fit_tolerance='1e-08', EG2='1.14', EG='1.14', time_epoch_completed='1784239809.27', return_code2='101', ts='-0.00', comment='SUCCESS', return_code='0', GAL='0.65', dlogl='1.13e-07', ts2='0.00', photon_index_error='0.00', photon_index='2.41' WHERE bin_id='2184' AND source_name='4FGL J2222.8+1209' AND cadence='daily';

Database successfully updated.


Analysis Complete.


Thu Jul 16 15:10:09 PDT 2026

Done.

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

Extracting fit parameters...

4FGL J2222.8+1209
   Spectrum: PowerLaw
262    Prefactor:  1.855e-06  7.816e-03  0.000e+00  1.000e+06 ( 1.000e-13)
263        Index:  2.407e+00  0.000e+00  0.000e+00  1.000e+01 (-1.000e+00) fixed
264        Scale:  1.288e+03  0.000e+00  3.000e+01  5.000e+05 ( 1.000e+00) fixed

GAL_V02
   Spectrum: PowerLaw
512    Prefactor:  6.543e-01  1.063e-01  0.000e+00  1.000e+01 ( 1.000e+00)
513        Index:  0.000e+00  0.000e+00 -1.000e+00  1.000e+00 ( 1.000e+00) fixed
514        Scale:  1.000e+02  0.000e+00  5.000e+01  2.000e+02 ( 1.000e+00) fixed

EG_v02
   Spectrum: FileFunction
511   Normalization:  1.142e+00  2.093e-01  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Fixed Index): -0.00
Ra Dec: 335.710 12.157
Photon Flux Upper Limit: 8.67912492866e-08 ph cm-2 s-1
Energy Flux Upper Limit: 0.00670967603809 MeV cm-2 s-1

Saving results to:
/lscratch/kocevski/31941991/likelihoodResults_805420801_805680001_4FGL_J2222.8+1209_daily_bin2184.txt

Performing a free index iterative likelihood fit...

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

Done.

Freeing candidate source...
Done.

Fit tolerance = 1

Performing likelihood fit...
Done.

MINUIT Return Code (Free Index): 0
logL (Free Index) = 8184.67542811
delta logL = -0.0595122115619

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

MINUIT Return Code (Free Index): 102
logL (Free Index) = 8184.6159159
delta logL = -3.63070284948e-09

Fit tolerance = 1e-08

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

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

 MIGRAD MINIMIZATION HAS CONVERGED.

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

 FCN=   8184.616     FROM MIGRAD    STATUS=CONVERGED     43 CALLS      207 TOTAL
                     EDM=   .35E-10  STRATEGY=1  ERROR MATRIX UNCERTAINTY=100.0%

  EXT PARAMETER                APPROXIMATE        STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor      .0000        6.3414        .42118E-03** at limit **
   2  Index         3.1636        2.0180       -.48305E-03     .0000    
   3  Normalizat    1.1417        1.1306       -.35264E-04    .11007E-05
   4  Prefactor     .65430        1.0036        .11435E-04   -.14946E-03
                               ERR DEF=  .500    
Final values: 
  Prefactor  = 0
  Index      = 3.16355
  Normalizat = 1.14173
  Prefactor  = 0.654303
 **********
 **   18 **HESSE 
 **********
  MNHESS FAILS AND WILL RETURN DIAGONAL MATRIX. 

 FCN=   8184.616     FROM HESSE     STATUS=FAILED         9 CALLS      216 TOTAL
                     EDM=   .35E-10  STRATEGY=1  ERROR MATRIX UNCERTAINTY=100.0%

  EXT PARAMETER                APPROXIMATE     INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  Prefactor      .0000        6.3414        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   2  Index         1.1270        2.2185       -.48305E-03   -.37609    
   3  Normalizat    1.1417        1.1306       -.35264E-04   -.88423    
   4  Prefactor     .65430        1.0036        .11435E-04   -1.0535    
                               ERR DEF=  .500    
Minuit fit quality: 1   estimated distance: 3.46233e-11
Minuit parameter uncertainties:
  1  1.84547e-05
  2  2.08743
  3  1.15609
  4  1.0334
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) = 8184.61591578
delta logL = 1.12599991553e-07

Extracting fit parameters...

4FGL J2222.8+1209
   Spectrum: PowerLaw
262    Prefactor:  0.000e+00  1.845e-05  0.000e+00  1.000e+06 ( 1.000e-13)
263        Index:  3.164e+00  2.087e+00  0.000e+00  1.000e+01 (-1.000e+00)
264        Scale:  1.288e+03  0.000e+00  3.000e+01  5.000e+05 ( 1.000e+00) fixed

GAL_V02
   Spectrum: PowerLaw
512    Prefactor:  6.543e-01  1.033e+00  0.000e+00  1.000e+01 ( 1.000e+00)
513        Index:  0.000e+00  0.000e+00 -1.000e+00  1.000e+00 ( 1.000e+00) fixed
514        Scale:  1.000e+02  0.000e+00  5.000e+01  2.000e+02 ( 1.000e+00) fixed

EG_v02
   Spectrum: FileFunction
511   Normalization:  1.142e+00  1.156e+00  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Free Index): -0.00
Ra Dec: 335.710 12.157

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/31941991/cmap_HighResolution_805420801_805680001_4FGL_J2222.8+1209_daily_bin2184.png

Cleaning up...

** Nuclear option initiated! **

Updating database...

UPDATE lightcurve_data_v2 SET energy_flux_upper_limit='6.71e-03', job_status='DONE', photon_flux_upper_limit='8.68e-08', time_completed='2026-07-16 15:10:20.779785', job_id='31941991', GAL2='0.65', fit_tolerance='1e-08', EG2='1.14', EG='1.14', time_epoch_completed='1784239820.78', return_code2='101', ts='-0.00', comment='SUCCESS', return_code='0', GAL='0.65', dlogl='1.13e-07', ts2='0.00', photon_index_error='0.00', photon_index='2.41' WHERE bin_id='2184' AND source_name='4FGL J2222.8+1209' AND cadence='daily';

Database successfully updated.


Analysis Complete.


Thu Jul 16 15:10:21 PDT 2026

Done.

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

Extracting fit parameters...

4FGL J2222.8+1209
   Spectrum: PowerLaw
262    Prefactor:  1.855e-06  7.816e-03  0.000e+00  1.000e+06 ( 1.000e-13)
263        Index:  2.407e+00  0.000e+00  0.000e+00  1.000e+01 (-1.000e+00) fixed
264        Scale:  1.288e+03  0.000e+00  3.000e+01  5.000e+05 ( 1.000e+00) fixed

GAL_V02
   Spectrum: PowerLaw
512    Prefactor:  6.543e-01  1.063e-01  0.000e+00  1.000e+01 ( 1.000e+00)
513        Index:  0.000e+00  0.000e+00 -1.000e+00  1.000e+00 ( 1.000e+00) fixed
514        Scale:  1.000e+02  0.000e+00  5.000e+01  2.000e+02 ( 1.000e+00) fixed

EG_v02
   Spectrum: FileFunction
511   Normalization:  1.142e+00  2.093e-01  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Fixed Index): -0.00
Ra Dec: 335.710 12.157
Photon Flux Upper Limit: 8.67912492866e-08 ph cm-2 s-1
Energy Flux Upper Limit: 0.00670967603809 MeV cm-2 s-1

Saving results to:
/lscratch/kocevski/31942031/likelihoodResults_805420801_805680001_4FGL_J2222.8+1209_daily_bin2184.txt

Performing a free index iterative likelihood fit...

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

Done.

Freeing candidate source...
Done.

Fit tolerance = 1

Performing likelihood fit...
Done.

MINUIT Return Code (Free Index): 0
logL (Free Index) = 8184.67542811
delta logL = -0.0595122115619

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

MINUIT Return Code (Free Index): 102
logL (Free Index) = 8184.6159159
delta logL = -3.63070284948e-09

Fit tolerance = 1e-08

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

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

 MIGRAD MINIMIZATION HAS CONVERGED.

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

 FCN=   8184.616     FROM MIGRAD    STATUS=CONVERGED     43 CALLS      207 TOTAL
                     EDM=   .35E-10  STRATEGY=1  ERROR MATRIX UNCERTAINTY=100.0%

  EXT PARAMETER                APPROXIMATE        STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor      .0000        6.3414        .42118E-03** at limit **
   2  Index         3.1636        2.0180       -.48305E-03     .0000    
   3  Normalizat    1.1417        1.1306       -.35264E-04    .11007E-05
   4  Prefactor     .65430        1.0036        .11435E-04   -.14946E-03
                               ERR DEF=  .500    
Final values: 
  Prefactor  = 0
  Index      = 3.16355
  Normalizat = 1.14173
  Prefactor  = 0.654303
 **********
 **   18 **HESSE 
 **********
  MNHESS FAILS AND WILL RETURN DIAGONAL MATRIX. 

 FCN=   8184.616     FROM HESSE     STATUS=FAILED         9 CALLS      216 TOTAL
                     EDM=   .35E-10  STRATEGY=1  ERROR MATRIX UNCERTAINTY=100.0%

  EXT PARAMETER                APPROXIMATE     INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  Prefactor      .0000        6.3414        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   2  Index         1.1270        2.2185       -.48305E-03   -.37609    
   3  Normalizat    1.1417        1.1306       -.35264E-04   -.88423    
   4  Prefactor     .65430        1.0036        .11435E-04   -1.0535    
                               ERR DEF=  .500    
Minuit fit quality: 1   estimated distance: 3.46233e-11
Minuit parameter uncertainties:
  1  1.84547e-05
  2  2.08743
  3  1.15609
  4  1.0334
 **********
 **   18 **HESSE 
 **********

 FCN=   8184.616     FROM HESSE     STATUS=OK           365 CALLS     2954 TOTAL
                     EDM=   .46E-06    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  norm          4.0479        2.3955        .50132E-03   -1.5668    
   2  Prefactor     42.640        43.451        .15369E-03   -1.5577    
   3  norm          .33307E-09    .97762        .42118E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   4  norm          24.602        17.415        .20155E-03   -1.5609    
   5  Prefactor     .21894E-06    47.892        .12062E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   6  Prefactor     1.3052        293.16        .99067E-03   -1.5685    
   7  norm          .41844        .83850        .87702E-03   -1.5695    
   8  Prefactor     .92260E-07    10.557        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   9  norm          .27756E-09    1.3609        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  10  Prefactor     .18549E-05    8.2326        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  11  Prefactor     3.4139        8.5781        .54664E-03   -1.5671    
  12  Prefactor     2.5658        .32428        .39242E-02   -1.5388    
  13  Prefactor     .10000E-03    7.1781        .90712E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  14  norm          .74251        1.4345        .57467E-03   -1.5691    
  15  Prefactor     .13500E-05    7.8220        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  16  Prefactor     9.9654        9.9505        .31713E-03   -1.5645    
  17  Prefactor     1.9796        .23670        .32590E-02   -1.5427    
  18  Prefactor     .20539E-07    14.021        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  19  Prefactor     8.0448        7.6105        .35347E-03   -1.5651    
  20  Normalizat    1.1417        .20914        .73197E-01   -.88423    
  21  Prefactor     .65430        .10622        .41790E-01   -1.0535    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 4.63471e-07
Minuit parameter uncertainties:
  1  2.39552
  2  43.4518
  3  3.51948e-05
  4  17.4148
  5  0.00647593
  6  39.1248
  7  0.838497
  8  0.00197371
  9  3.69022e-05
  10  0.00781561
  11  8.57816
  12  0.324276
  13  3.5402e-05
  14  1.43451
  15  0.00649905
  16  9.95053
  17  0.236701
  18  0.00107304
  19  7.61053
  20  0.209289
  21  0.106252
ile=/lscratch/kocevski/31942395/ltcube_805420801_805680001_4FGL_J2222.8+1209_daily_bin2184.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/31942395/ft2_4FGL_J2222.8+1209_daily_bin2184.fits
.....................!
real 7.41
user 6.62
sys 0.19

Generating the exposure map:
time -p gtexpmap evfile=/lscratch/kocevski/31942395/ft1_filtered_4FGL_J2222.8+1209_daily_bin2184.fits evtable="EVENTS" scfile=/lscratch/kocevski/31942395/ft2_4FGL_J2222.8+1209_daily_bin2184.fits sctable="SC_DATA" expcube=/lscratch/kocevski/31942395/ltcube_805420801_805680001_4FGL_J2222.8+1209_daily_bin2184.fits outfile=/lscratch/kocevski/31942395/expmap_805420801_805680001_4FGL_J2222.8+1209_daily_bin2184.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/31942395/ltcube_805420801_805680001_4FGL_J2222.8+1209_daily_bin2184.fits
.....................!
real 59.88
user 55.53
sys 3.52

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

Setting source of interest to:
4FGL J2222.8+1209 @ 335.71 12.1568

Creating the counts map:
time -p gtbin evfile=/lscratch/kocevski/31942395/ft1_filtered_4FGL_J2222.8+1209_daily_bin2184.fits scfile=/lscratch/kocevski/31942395/ft2_4FGL_J2222.8+1209_daily_bin2184.fits outfile=/lscratch/kocevski/31942395/cmap_805420801_805680001_4FGL_J2222.8+1209_daily_bin2184.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.71 yref=12.1568 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.90
user 0.20
sys 0.11

Creating the high resolution counts map:
time -p gtbin evfile=/lscratch/kocevski/31942395/ft1_filtered_4FGL_J2222.8+1209_daily_bin2184.fits scfile=/lscratch/kocevski/31942395/ft2_4FGL_J2222.8+1209_daily_bin2184.fits outfile=/lscratch/kocevski/31942395/cmap_HighResolution_805420801_805680001_4FGL_J2222.8+1209_daily_bin2184.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.71 yref=12.1568 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.72
user 0.18
sys 0.14

Computing the diffuse response:
time -p gtdiffrsp evfile=/lscratch/kocevski/31942395/ft1_filtered_4FGL_J2222.8+1209_daily_bin2184.fits evtable="EVENTS" scfile=/lscratch/kocevski/31942395/ft2_4FGL_J2222.8+1209_daily_bin2184.fits sctable="SC_DATA" srcmdl=/lscratch/kocevski/31942395/Model_4FGL_J2222.8+1209_daily_bin2184.xml irfs="P8R3_SOURCE_V2" evclsmin=0 evclass="INDEF" evtype="INDEF" convert=yes chatter=2 clobber=yes debug=no gui=no mode="ql"

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

adding source EG_v02
adding source GAL_V02
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) = 8184.61591578
delta logL = 1.12599991553e-07

Extracting fit parameters...

4FGL J2222.8+1209
   Spectrum: PowerLaw
262    Prefactor:  0.000e+00  1.845e-05  0.000e+00  1.000e+06 ( 1.000e-13)
263        Index:  3.164e+00  2.087e+00  0.000e+00  1.000e+01 (-1.000e+00)
264        Scale:  1.288e+03  0.000e+00  3.000e+01  5.000e+05 ( 1.000e+00) fixed

GAL_V02
   Spectrum: PowerLaw
512    Prefactor:  6.543e-01  1.033e+00  0.000e+00  1.000e+01 ( 1.000e+00)
513        Index:  0.000e+00  0.000e+00 -1.000e+00  1.000e+00 ( 1.000e+00) fixed
514        Scale:  1.000e+02  0.000e+00  5.000e+01  2.000e+02 ( 1.000e+00) fixed

EG_v02
   Spectrum: FileFunction
511   Normalization:  1.142e+00  1.156e+00  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Free Index): -0.00
Ra Dec: 335.710 12.157

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/31942031/cmap_HighResolution_805420801_805680001_4FGL_J2222.8+1209_daily_bin2184.png

Cleaning up...

** Nuclear option initiated! **

Updating database...

UPDATE lightcurve_data_v2 SET energy_flux_upper_limit='6.71e-03', job_status='DONE', photon_flux_upper_limit='8.68e-08', time_completed='2026-07-16 15:10:24.559767', job_id='31942031', GAL2='0.65', fit_tolerance='1e-08', EG2='1.14', EG='1.14', time_epoch_completed='1784239824.56', return_code2='101', ts='-0.00', comment='SUCCESS', return_code='0', GAL='0.65', dlogl='1.13e-07', ts2='0.00', photon_index_error='0.00', photon_index='2.41' WHERE bin_id='2184' AND source_name='4FGL J2222.8+1209' AND cadence='daily';

Database successfully updated.


Analysis Complete.


Thu Jul 16 15:10:24 PDT 2026

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


Performing analysis on: 4FGL_J2222.8+1209_daily_bin2184
RA = 335.71, Dec = 12.1568
tmin = 805420801, tmax = 805680001
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='31942572', job_status='RUN', time_executed='2026-07-16 15:07:41.193482', time_epoch_executed='1784239661.19' WHERE source_name='4FGL J2222.8+1209' and cadence='daily' and bin_id='2184'

Database successfully updated.
Done.

Creating custom output directory:
/lscratch/kocevski/31942572

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

Retrieving the FT1 file...

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

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

Retrieving 47 files...
Done.


Merging files...

Checksum keywords updated successfully.

Merged file saved to:
/lscratch/kocevski/31942572/ft1_4FGL_J2222.8+1209_daily_bin2184.fits


Retrieving the FT1 file...

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

Retrieving 47 files...
Done.


Merging files...

Merged file saved to:
/lscratch/kocevski/31942572/ft2_4FGL_J2222.8+1209_daily_bin2184.fits


Selecting the photons:
time -p gtselect infile=/lscratch/kocevski/31942572/ft1_4FGL_J2222.8+1209_daily_bin2184.fits outfile=/lscratch/kocevski/31942572/ft1_filteredMKT_4FGL_J2222.8+1209_daily_bin2184.fits ra=335.71 dec=12.1568 rad=12.0 tmin=805420801.0 tmax=805680001.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.42
user 1.81
sys 0.15

Adding sun position to ft2 file:
/sdf/group/fermi/g/LCRepository/Repository/bin/sunpos /lscratch/kocevski/31942572/ft2_4FGL_J2222.8+1209_daily_bin2184.fits

Selecting the good time intervals:
time -p gtmktime scfile=/lscratch/kocevski/31942572/ft2_4FGL_J2222.8+1209_daily_bin2184.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/31942572/ft1_filteredMKT_4FGL_J2222.8+1209_daily_bin2184.fits evtable="EVENTS" outfile="/lscratch/kocevski/31942572/ft1_filtered_4FGL_J2222.8+1209_daily_bin2184.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.65
user 0.18
sys 0.13

Number of photons that the gtmktime cut: 794

Generating the livetime cube:
time -p gtltcube evfile="/lscratch/kocevski/31942572/ft1_filtered_4FGL_J2222.8+1209_daily_bin2184.fits" evtable="EVENTS" scfile=/lscratch/kocevski/31942572/ft2_4FGL_J2222.8+1209_daily_bin2184.fits sctable="SC_DATA" outfDone.

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

Extracting fit parameters...

4FGL J2222.8+1209
   Spectrum: PowerLaw
262    Prefactor:  1.855e-06  7.816e-03  0.000e+00  1.000e+06 ( 1.000e-13)
263        Index:  2.407e+00  0.000e+00  0.000e+00  1.000e+01 (-1.000e+00) fixed
264        Scale:  1.288e+03  0.000e+00  3.000e+01  5.000e+05 ( 1.000e+00) fixed

GAL_V02
   Spectrum: PowerLaw
512    Prefactor:  6.543e-01  1.063e-01  0.000e+00  1.000e+01 ( 1.000e+00)
513        Index:  0.000e+00  0.000e+00 -1.000e+00  1.000e+00 ( 1.000e+00) fixed
514        Scale:  1.000e+02  0.000e+00  5.000e+01  2.000e+02 ( 1.000e+00) fixed

EG_v02
   Spectrum: FileFunction
511   Normalization:  1.142e+00  2.093e-01  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Fixed Index): -0.00
Ra Dec: 335.710 12.157
Photon Flux Upper Limit: 8.67912492866e-08 ph cm-2 s-1
Energy Flux Upper Limit: 0.00670967603809 MeV cm-2 s-1

Saving results to:
/lscratch/kocevski/31942092/likelihoodResults_805420801_805680001_4FGL_J2222.8+1209_daily_bin2184.txt

Performing a free index iterative likelihood fit...

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

Done.

Freeing candidate source...
Done.

Fit tolerance = 1

Performing likelihood fit...
Done.

MINUIT Return Code (Free Index): 0
logL (Free Index) = 8184.67542811
delta logL = -0.0595122115619

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

MINUIT Return Code (Free Index): 102
logL (Free Index) = 8184.6159159
delta logL = -3.63070284948e-09

Fit tolerance = 1e-08

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

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

 MIGRAD MINIMIZATION HAS CONVERGED.

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

 FCN=   8184.616     FROM MIGRAD    STATUS=CONVERGED     43 CALLS      207 TOTAL
                     EDM=   .35E-10  STRATEGY=1  ERROR MATRIX UNCERTAINTY=100.0%

  EXT PARAMETER                APPROXIMATE        STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor      .0000        6.3414        .42118E-03** at limit **
   2  Index         3.1636        2.0180       -.48305E-03     .0000    
   3  Normalizat    1.1417        1.1306       -.35264E-04    .11007E-05
   4  Prefactor     .65430        1.0036        .11435E-04   -.14946E-03
                               ERR DEF=  .500    
Final values: 
  Prefactor  = 0
  Index      = 3.16355
  Normalizat = 1.14173
  Prefactor  = 0.654303
 **********
 **   18 **HESSE 
 **********
  MNHESS FAILS AND WILL RETURN DIAGONAL MATRIX. 

 FCN=   8184.616     FROM HESSE     STATUS=FAILED         9 CALLS      216 TOTAL
                     EDM=   .35E-10  STRATEGY=1  ERROR MATRIX UNCERTAINTY=100.0%

  EXT PARAMETER                APPROXIMATE     INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  Prefactor      .0000        6.3414        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   2  Index         1.1270        2.2185       -.48305E-03   -.37609    
   3  Normalizat    1.1417        1.1306       -.35264E-04   -.88423    
   4  Prefactor     .65430        1.0036        .11435E-04   -1.0535    
                               ERR DEF=  .500    
Minuit fit quality: 1   estimated distance: 3.46233e-11
Minuit parameter uncertainties:
  1  1.84547e-05
  2  2.08743
  3  1.15609
  4  1.0334
ile=/lscratch/kocevski/31942424/ltcube_805420801_805680001_4FGL_J2222.8+1209_daily_bin2184.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/31942424/ft2_4FGL_J2222.8+1209_daily_bin2184.fits
.....................!
real 7.73
user 7.14
sys 0.20

Generating the exposure map:
time -p gtexpmap evfile=/lscratch/kocevski/31942424/ft1_filtered_4FGL_J2222.8+1209_daily_bin2184.fits evtable="EVENTS" scfile=/lscratch/kocevski/31942424/ft2_4FGL_J2222.8+1209_daily_bin2184.fits sctable="SC_DATA" expcube=/lscratch/kocevski/31942424/ltcube_805420801_805680001_4FGL_J2222.8+1209_daily_bin2184.fits outfile=/lscratch/kocevski/31942424/expmap_805420801_805680001_4FGL_J2222.8+1209_daily_bin2184.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/31942424/ltcube_805420801_805680001_4FGL_J2222.8+1209_daily_bin2184.fits
.....................!
real 62.79
user 58.45
sys 3.66

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

Setting source of interest to:
4FGL J2222.8+1209 @ 335.71 12.1568

Creating the counts map:
time -p gtbin evfile=/lscratch/kocevski/31942424/ft1_filtered_4FGL_J2222.8+1209_daily_bin2184.fits scfile=/lscratch/kocevski/31942424/ft2_4FGL_J2222.8+1209_daily_bin2184.fits outfile=/lscratch/kocevski/31942424/cmap_805420801_805680001_4FGL_J2222.8+1209_daily_bin2184.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.71 yref=12.1568 axisrot=0.0 rafield="RA" decfield="DEC" proj="AIT" hpx_ordering_scheme="RING" hpx_order=3 hpx_ebin=yes hpx_region="" evtable="EVENTS" sctable="SC_DATA" efield="ENERGY" tfield="TIME" chatter=2 clobber=yes debug=no gui=no mode="ql"

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

This is gtbin version HEAD
real 0.77
user 0.21
sys 0.12

Creating the high resolution counts map:
time -p gtbin evfile=/lscratch/kocevski/31942424/ft1_filtered_4FGL_J2222.8+1209_daily_bin2184.fits scfile=/lscratch/kocevski/31942424/ft2_4FGL_J2222.8+1209_daily_bin2184.fits outfile=/lscratch/kocevski/31942424/cmap_HighResolution_805420801_805680001_4FGL_J2222.8+1209_daily_bin2184.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.71 yref=12.1568 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.72
user 0.23
sys 0.12

Computing the diffuse response:
time -p gtdiffrsp evfile=/lscratch/kocevski/31942424/ft1_filtered_4FGL_J2222.8+1209_daily_bin2184.fits evtable="EVENTS" scfile=/lscratch/kocevski/31942424/ft2_4FGL_J2222.8+1209_daily_bin2184.fits sctable="SC_DATA" srcmdl=/lscratch/kocevski/31942424/Model_4FGL_J2222.8+1209_daily_bin2184.xml irfs="P8R3_SOURCE_V2" evclsmin=0 evclass="INDEF" evtype="INDEF" convert=yes chatter=2 clobber=yes debug=no gui=no mode="ql"

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

adding source EG_v02
adding source GAL_V02
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) = 8184.61591578
delta logL = 1.12599991553e-07

Extracting fit parameters...

4FGL J2222.8+1209
   Spectrum: PowerLaw
262    Prefactor:  0.000e+00  1.845e-05  0.000e+00  1.000e+06 ( 1.000e-13)
263        Index:  3.164e+00  2.087e+00  0.000e+00  1.000e+01 (-1.000e+00)
264        Scale:  1.288e+03  0.000e+00  3.000e+01  5.000e+05 ( 1.000e+00) fixed

GAL_V02
   Spectrum: PowerLaw
512    Prefactor:  6.543e-01  1.033e+00  0.000e+00  1.000e+01 ( 1.000e+00)
513        Index:  0.000e+00  0.000e+00 -1.000e+00  1.000e+00 ( 1.000e+00) fixed
514        Scale:  1.000e+02  0.000e+00  5.000e+01  2.000e+02 ( 1.000e+00) fixed

EG_v02
   Spectrum: FileFunction
511   Normalization:  1.142e+00  1.156e+00  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Free Index): -0.00
Ra Dec: 335.710 12.157

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/31942092/cmap_HighResolution_805420801_805680001_4FGL_J2222.8+1209_daily_bin2184.png

Cleaning up...

** Nuclear option initiated! **

Updating database...

UPDATE lightcurve_data_v2 SET energy_flux_upper_limit='6.71e-03', job_status='DONE', photon_flux_upper_limit='8.68e-08', time_completed='2026-07-16 15:10:50.071044', job_id='31942092', GAL2='0.65', fit_tolerance='1e-08', EG2='1.14', EG='1.14', time_epoch_completed='1784239850.07', return_code2='101', ts='-0.00', comment='SUCCESS', return_code='0', GAL='0.65', dlogl='1.13e-07', ts2='0.00', photon_index_error='0.00', photon_index='2.41' WHERE bin_id='2184' AND source_name='4FGL J2222.8+1209' AND cadence='daily';

Database successfully updated.


Analysis Complete.


Thu Jul 16 15:10:50 PDT 2026

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


Performing analysis on: 4FGL_J2222.8+1209_daily_bin2184
RA = 335.71, Dec = 12.1568
tmin = 805420801, tmax = 805680001
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='31942738', job_status='RUN', time_executed='2026-07-16 15:08:33.709872', time_epoch_executed='1784239713.71' WHERE source_name='4FGL J2222.8+1209' and cadence='daily' and bin_id='2184'

Database successfully updated.
Done.

Creating custom output directory:
/lscratch/kocevski/31942738

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

Retrieving the FT1 file...

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

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

Retrieving 47 files...
Done.


Merging files...

Checksum keywords updated successfully.

Merged file saved to:
/lscratch/kocevski/31942738/ft1_4FGL_J2222.8+1209_daily_bin2184.fits


Retrieving the FT1 file...

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

Retrieving 47 files...
Done.


Merging files...

Merged file saved to:
/lscratch/kocevski/31942738/ft2_4FGL_J2222.8+1209_daily_bin2184.fits


Selecting the photons:
time -p gtselect infile=/lscratch/kocevski/31942738/ft1_4FGL_J2222.8+1209_daily_bin2184.fits outfile=/lscratch/kocevski/31942738/ft1_filteredMKT_4FGL_J2222.8+1209_daily_bin2184.fits ra=335.71 dec=12.1568 rad=12.0 tmin=805420801.0 tmax=805680001.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.41
user 1.83
sys 0.15

Adding sun position to ft2 file:
/sdf/group/fermi/g/LCRepository/Repository/bin/sunpos /lscratch/kocevski/31942738/ft2_4FGL_J2222.8+1209_daily_bin2184.fits

Selecting the good time intervals:
time -p gtmktime scfile=/lscratch/kocevski/31942738/ft2_4FGL_J2222.8+1209_daily_bin2184.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/31942738/ft1_filteredMKT_4FGL_J2222.8+1209_daily_bin2184.fits evtable="EVENTS" outfile="/lscratch/kocevski/31942738/ft1_filtered_4FGL_J2222.8+1209_daily_bin2184.fits" apply_filter=yes overwrite=yes header_obstimes=yes tstart=0.0 tstop=0.0 gtifile="default" chatter=3 clobber=yes debug=no gui=no mode="ql"

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

This is gtmktime version HEAD
Applying GTI filter:
IN_SAA!=T && LIVETIME>0 && gtifilter('/sdf/group/fermi/g/LCRepository/Likelihood/GTIs/nogrb.gti',(START+STOP)/2) && (angsep(RA_SUN,DEC_SUN,RA_ZENITH,DEC_ZENITH)>115 || gtifilter('/sdf/group/fermi/g/LCRepository/Likelihood/GTIs/nosolarflares.gti',(START+STOP)/2))
real 0.68
user 0.18
sys 0.13

Number of photons that the gtmktime cut: 794

Generating the livetime cube:
time -p gtltcube evfile="/lscratch/kocevski/31942738/ft1_filtered_4FGL_J2222.8+1209_daily_bin2184.fits" evtable="EVENTS" scfile=/lscratch/kocevski/31942738/ft2_4FGL_J2222.8+1209_daily_bin2184.fits sctable="SC_DATA" outfile=/lscratch/kocevski/31942484/ltcube_805420801_805680001_4FGL_J2222.8+1209_daily_bin2184.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/31942484/ft2_4FGL_J2222.8+1209_daily_bin2184.fits
.....................!
real 7.71
user 7.02
sys 0.20

Generating the exposure map:
time -p gtexpmap evfile=/lscratch/kocevski/31942484/ft1_filtered_4FGL_J2222.8+1209_daily_bin2184.fits evtable="EVENTS" scfile=/lscratch/kocevski/31942484/ft2_4FGL_J2222.8+1209_daily_bin2184.fits sctable="SC_DATA" expcube=/lscratch/kocevski/31942484/ltcube_805420801_805680001_4FGL_J2222.8+1209_daily_bin2184.fits outfile=/lscratch/kocevski/31942484/expmap_805420801_805680001_4FGL_J2222.8+1209_daily_bin2184.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/31942484/ltcube_805420801_805680001_4FGL_J2222.8+1209_daily_bin2184.fits
.....................!
real 62.87
user 58.47
sys 3.78

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

Setting source of interest to:
4FGL J2222.8+1209 @ 335.71 12.1568

Creating the counts map:
time -p gtbin evfile=/lscratch/kocevski/31942484/ft1_filtered_4FGL_J2222.8+1209_daily_bin2184.fits scfile=/lscratch/kocevski/31942484/ft2_4FGL_J2222.8+1209_daily_bin2184.fits outfile=/lscratch/kocevski/31942484/cmap_805420801_805680001_4FGL_J2222.8+1209_daily_bin2184.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.71 yref=12.1568 axisrot=0.0 rafield="RA" decfield="DEC" proj="AIT" hpx_ordering_scheme="RING" hpx_order=3 hpx_ebin=yes hpx_region="" evtable="EVENTS" sctable="SC_DATA" efield="ENERGY" tfield="TIME" chatter=2 clobber=yes debug=no gui=no mode="ql"

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

This is gtbin version HEAD
real 0.77
user 0.20
sys 0.12

Creating the high resolution counts map:
time -p gtbin evfile=/lscratch/kocevski/31942484/ft1_filtered_4FGL_J2222.8+1209_daily_bin2184.fits scfile=/lscratch/kocevski/31942484/ft2_4FGL_J2222.8+1209_daily_bin2184.fits outfile=/lscratch/kocevski/31942484/cmap_HighResolution_805420801_805680001_4FGL_J2222.8+1209_daily_bin2184.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.71 yref=12.1568 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.70
user 0.20
sys 0.14

Computing the diffuse response:
time -p gtdiffrsp evfile=/lscratch/kocevski/31942484/ft1_filtered_4FGL_J2222.8+1209_daily_bin2184.fits evtable="EVENTS" scfile=/lscratch/kocevski/31942484/ft2_4FGL_J2222.8+1209_daily_bin2184.fits sctable="SC_DATA" srcmdl=/lscratch/kocevski/31942484/Model_4FGL_J2222.8+1209_daily_bin2184.xml irfs="P8R3_SOURCE_V2" evclsmin=0 evclass="INDEF" evtype="INDEF" convert=yes chatter=2 clobber=yes debug=no gui=no mode="ql"

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

adding source EG_v02
adding source GAL_V02
ile=/lscratch/kocevski/31942572/ltcube_805420801_805680001_4FGL_J2222.8+1209_daily_bin2184.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/31942572/ft2_4FGL_J2222.8+1209_daily_bin2184.fits
.....................!
real 7.47
user 6.90
sys 0.21

Generating the exposure map:
time -p gtexpmap evfile=/lscratch/kocevski/31942572/ft1_filtered_4FGL_J2222.8+1209_daily_bin2184.fits evtable="EVENTS" scfile=/lscratch/kocevski/31942572/ft2_4FGL_J2222.8+1209_daily_bin2184.fits sctable="SC_DATA" expcube=/lscratch/kocevski/31942572/ltcube_805420801_805680001_4FGL_J2222.8+1209_daily_bin2184.fits outfile=/lscratch/kocevski/31942572/expmap_805420801_805680001_4FGL_J2222.8+1209_daily_bin2184.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/31942572/ltcube_805420801_805680001_4FGL_J2222.8+1209_daily_bin2184.fits
.....................!
real 61.07
user 57.12
sys 3.35

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

Setting source of interest to:
4FGL J2222.8+1209 @ 335.71 12.1568

Creating the counts map:
time -p gtbin evfile=/lscratch/kocevski/31942572/ft1_filtered_4FGL_J2222.8+1209_daily_bin2184.fits scfile=/lscratch/kocevski/31942572/ft2_4FGL_J2222.8+1209_daily_bin2184.fits outfile=/lscratch/kocevski/31942572/cmap_805420801_805680001_4FGL_J2222.8+1209_daily_bin2184.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.71 yref=12.1568 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.76
user 0.20
sys 0.13

Creating the high resolution counts map:
time -p gtbin evfile=/lscratch/kocevski/31942572/ft1_filtered_4FGL_J2222.8+1209_daily_bin2184.fits scfile=/lscratch/kocevski/31942572/ft2_4FGL_J2222.8+1209_daily_bin2184.fits outfile=/lscratch/kocevski/31942572/cmap_HighResolution_805420801_805680001_4FGL_J2222.8+1209_daily_bin2184.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.71 yref=12.1568 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.69
user 0.20
sys 0.13

Computing the diffuse response:
time -p gtdiffrsp evfile=/lscratch/kocevski/31942572/ft1_filtered_4FGL_J2222.8+1209_daily_bin2184.fits evtable="EVENTS" scfile=/lscratch/kocevski/31942572/ft2_4FGL_J2222.8+1209_daily_bin2184.fits sctable="SC_DATA" srcmdl=/lscratch/kocevski/31942572/Model_4FGL_J2222.8+1209_daily_bin2184.xml irfs="P8R3_SOURCE_V2" evclsmin=0 evclass="INDEF" evtype="INDEF" convert=yes chatter=2 clobber=yes debug=no gui=no mode="ql"

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

adding source EG_v02
adding source GAL_V02
Working on...
/lscratch/kocevski/31942395/ft1_filtered_4FGL_J2222.8+1209_daily_bin2184.fits.....................!
real 28.64
user 27.48
sys 0.57

Creating the likelihood object...
obs = UnbinnedObs('/lscratch/kocevski/31942395/ft1_filtered_4FGL_J2222.8+1209_daily_bin2184.fits', '/lscratch/kocevski/31942395/ft2_4FGL_J2222.8+1209_daily_bin2184.fits', expMap='/lscratch/kocevski/31942395/expmap_805420801_805680001_4FGL_J2222.8+1209_daily_bin2184.fits', expCube='/lscratch/kocevski/31942395/ltcube_805420801_805680001_4FGL_J2222.8+1209_daily_bin2184.fits', irfs='P8R3_SOURCE_V2')
like = UnbinnedAnalysis(obs, '/lscratch/kocevski/31942395/Model_4FGL_J2222.8+1209_daily_bin2184.xml', optimizer='MINUIT')

Using source of interest name: '4FGL J2222.8+1209'

4FGL J2222.8+1209
   Spectrum: PowerLaw
262    Prefactor:  1.996e+00  0.000e+00  0.000e+00  1.000e+06 ( 1.000e-13)
263        Index:  2.407e+00  0.000e+00  0.000e+00  1.000e+01 (-1.000e+00) fixed
264        Scale:  1.288e+03  0.000e+00  3.000e+01  5.000e+05 ( 1.000e+00) fixed


Likelihood Fit Parameters:
Event file(s): /lscratch/kocevski/31942395/ft1_filtered_4FGL_J2222.8+1209_daily_bin2184.fits
Spacecraft file(s): /lscratch/kocevski/31942395/ft2_4FGL_J2222.8+1209_daily_bin2184.fits
Exposure map: /lscratch/kocevski/31942395/expmap_805420801_805680001_4FGL_J2222.8+1209_daily_bin2184.fits
Exposure cube: /lscratch/kocevski/31942395/ltcube_805420801_805680001_4FGL_J2222.8+1209_daily_bin2184.fits
IRFs: P8R3_SOURCE_V2
Source model file: /lscratch/kocevski/31942395/Model_4FGL_J2222.8+1209_daily_bin2184.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) = 8184.61812385

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

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

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'norm      '    4.0419       1.0000          .0000       .10000E+07
     2 'Prefactor '    42.344       1.0000          .0000       .10000E+07
     3 'norm      '    .31386E-04   1.0000          .0000       .10000E+07
     4 'norm      '    24.628       1.0000          .0000       .10000E+07
     5 'Prefactor '    .18432       1.0000          .0000       .10000E+07
     6 'Prefactor '    1.2643       1.0000          .0000       .10000E+07
     7 'norm      '    .41559       1.0000          .0000       .10000E+07
     8 'Prefactor '    .34510E-02   1.0000          .0000       .10000E+07
     9 'norm      '    .20439E-05   1.0000          .0000       .10000E+07
    10 'Prefactor '    .27269E-03   1.0000          .0000       .10000E+07
    11 'Prefactor '    3.4213       1.0000          .0000       .10000E+07
    12 'Prefactor '    2.5659       1.0000         .10000E-03   10000.    
    13 'Prefactor '    .11441E-03   1.0000         .10000E-03   10000.    
    14 'norm      '    .74066       1.0000          .0000       .10000E+07
    15 'Prefactor '    .90442E-03   1.0000          .0000       .10000E+07
    16 'Prefactor '    9.9682       1.0000          .0000       .10000E+07
    17 'Prefactor '    1.9796       1.0000         .10000E-03   10000.    
    18 'Prefactor '    .29503E-02   1.0000          .0000       .10000E+07
    19 'Prefactor '    8.0349       1.0000          .0000       .10000E+07
    20 'Normalizat'    1.1415       1.0000         .10000E-01   10.000    
    21 'Prefactor '    .65435       1.0000          .0000       10.000    
 **********
 **   15 **SET ERR    .5000    
 **********
 **********
 **   16 **SET GRAD    1.000    
 **********
 **********
 **   17 **MINIMIZE    .5150E+05   .2000E-04
 **********

 MIGRAD MINIMIZATION HAS CONVERGED.

 FCN=   8184.616     FROM MIGRAD    STATUS=CONVERGED    126 CALLS     2589 TOTAL
                     EDM=   .17E-08  STRATEGY=1  ERROR MATRIX UNCERTAINTY=  1.6%

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  norm          4.0479        2.3893        .87181E-07   -.45815E-02
   2  Prefactor     42.640        42.497        .98017E-05   -.20594E-01
   3  norm          .33307E-09    4.5580        .10642E-05** at limit **
   4  norm          24.602        2.4428       -.64644E-06    .10538E-01
   5  Prefactor     .21894E-06    47.942       -.79694E-05** at limit **
   6  Prefactor     1.3052        1.4820        .12551E-05   -.63837E-03
   7  norm          .41844        .81445        .34353E-06    .15441E-02
   8  Prefactor     .92260E-07    10.348        .14455E-05** at limit **
   9  norm          .27756E-09    1.3499       -.11259E-08** at limit **
  10  Prefactor     .18549E-05    4.0669       -.21204E-06** at limit **
  11  Prefactor     3.4139        8.4293       -.56404E-05   -.19029E-01
  12  Prefactor     2.5658        .32441       -.12378E-06   -.29063E-02
  13  Prefactor     .10000E-03    7.3071       -.12272E-04** at limit **
  14  norm          .74251        1.3513       -.40394E-06   -.81511E-02
  15  Prefactor     .13500E-05    4.6926        .65081E-06** at limit **
  16  Prefactor     9.9654        1.7485       -.23437E-06    .39440E-01
  17  Prefactor     1.9796        .23701        .84184E-06    .41002E-02
  18  Prefactor     .20539E-07    13.929        .34399E-05** at limit **
  19  Prefactor     8.0448        7.6025        .48676E-06   -.20173E-03
  20  Normalizat    1.1417        .24479       -.16384E-04   -.14183E-03
  21  Prefactor     .65430        .12435        .10398E-04   -.46573E-03
                               ERR DEF=  .500    
Final values: 
  norm       = 4.04792
  Prefactor  = 42.6398
  norm       = 3.33067e-10
  norm       = 24.602
  Prefactor  = 2.18936e-07
  Prefactor  = 1.30524
  norm       = 0.418442
  Prefactor  = 9.22595e-08
  norm       = 2.77556e-10
  Prefactor  = 1.85491e-06
  Prefactor  = 3.41389
  Prefactor  = 2.56584
  Prefactor  = 0.0001
  norm       = 0.742509
  Prefactor  = 1.34998e-06
  Prefactor  = 9.96544
  Prefactor  = 1.97959
  Prefactor  = 2.05391e-08
  Prefactor  = 8.04478
  Normalizat = 1.14173
  Prefactor  = 0.654302
 **********
 **   18 **HESSE 
 **********

 FCN=   8184.616     FROM HESSE     STATUS=OK           365 CALLS     2954 TOTAL
                     EDM=   .46E-06    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  norm          4.0479        2.3955        .50132E-03   -1.5668    
   2  Prefactor     42.640        43.451        .15369E-03   -1.5577    
   3  norm          .33307E-09    .97762        .42118E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   4  norm          24.602        17.415        .20155E-03   -1.5609    
   5  Prefactor     .21894E-06    47.892        .12062E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   6  Prefactor     1.3052        293.16        .99067E-03   -1.5685    
   7  norm          .41844        .83850        .87702E-03   -1.5695    
   8  Prefactor     .92260E-07    10.557        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   9  norm          .27756E-09    1.3609        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  10  Prefactor     .18549E-05    8.2326        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  11  Prefactor     3.4139        8.5781        .54664E-03   -1.5671    
  12  Prefactor     2.5658        .32428        .39242E-02   -1.5388    
  13  Prefactor     .10000E-03    7.1781        .90712E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  14  norm          .74251        1.4345        .57467E-03   -1.5691    
  15  Prefactor     .13500E-05    7.8220        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  16  Prefactor     9.9654        9.9505        .31713E-03   -1.5645    
  17  Prefactor     1.9796        .23670        .32590E-02   -1.5427    
  18  Prefactor     .20539E-07    14.021        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  19  Prefactor     8.0448        7.6105        .35347E-03   -1.5651    
  20  Normalizat    1.1417        .20914        .73197E-01   -.88423    
  21  Prefactor     .65430        .10622        .41790E-01   -1.0535    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 4.63471e-07
Minuit parameter uncertainties:
  1  2.39552
  2  43.4518
  3  3.51948e-05
  4  17.4148
  5  0.00647593
  6  39.1248
  7  0.838497
  8  0.00197371
  9  3.69022e-05
  10  0.00781561
  11  8.57816
  12  0.324276
  13  3.5402e-05
  14  1.43451
  15  0.00649905
  16  9.95053
  17  0.236701
  18  0.00107304
  19  7.61053
  20  0.209289
  21  0.106252
Working on...
/lscratch/kocevski/31942424/ft1_filtered_4FGL_J2222.8+1209_daily_bin2184.fits.....................!
real 30.34
user 28.64
sys 1.18

Creating the likelihood object...
obs = UnbinnedObs('/lscratch/kocevski/31942424/ft1_filtered_4FGL_J2222.8+1209_daily_bin2184.fits', '/lscratch/kocevski/31942424/ft2_4FGL_J2222.8+1209_daily_bin2184.fits', expMap='/lscratch/kocevski/31942424/expmap_805420801_805680001_4FGL_J2222.8+1209_daily_bin2184.fits', expCube='/lscratch/kocevski/31942424/ltcube_805420801_805680001_4FGL_J2222.8+1209_daily_bin2184.fits', irfs='P8R3_SOURCE_V2')
like = UnbinnedAnalysis(obs, '/lscratch/kocevski/31942424/Model_4FGL_J2222.8+1209_daily_bin2184.xml', optimizer='MINUIT')

Using source of interest name: '4FGL J2222.8+1209'

4FGL J2222.8+1209
   Spectrum: PowerLaw
262    Prefactor:  1.996e+00  0.000e+00  0.000e+00  1.000e+06 ( 1.000e-13)
263        Index:  2.407e+00  0.000e+00  0.000e+00  1.000e+01 (-1.000e+00) fixed
264        Scale:  1.288e+03  0.000e+00  3.000e+01  5.000e+05 ( 1.000e+00) fixed


Likelihood Fit Parameters:
Event file(s): /lscratch/kocevski/31942424/ft1_filtered_4FGL_J2222.8+1209_daily_bin2184.fits
Spacecraft file(s): /lscratch/kocevski/31942424/ft2_4FGL_J2222.8+1209_daily_bin2184.fits
Exposure map: /lscratch/kocevski/31942424/expmap_805420801_805680001_4FGL_J2222.8+1209_daily_bin2184.fits
Exposure cube: /lscratch/kocevski/31942424/ltcube_805420801_805680001_4FGL_J2222.8+1209_daily_bin2184.fits
IRFs: P8R3_SOURCE_V2
Source model file: /lscratch/kocevski/31942424/Model_4FGL_J2222.8+1209_daily_bin2184.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) = 8184.61812385

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

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

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'norm      '    4.0419       1.0000          .0000       .10000E+07
     2 'Prefactor '    42.344       1.0000          .0000       .10000E+07
     3 'norm      '    .31386E-04   1.0000          .0000       .10000E+07
     4 'norm      '    24.628       1.0000          .0000       .10000E+07
     5 'Prefactor '    .18432       1.0000          .0000       .10000E+07
     6 'Prefactor '    1.2643       1.0000          .0000       .10000E+07
     7 'norm      '    .41559       1.0000          .0000       .10000E+07
     8 'Prefactor '    .34510E-02   1.0000          .0000       .10000E+07
     9 'norm      '    .20439E-05   1.0000          .0000       .10000E+07
    10 'Prefactor '    .27269E-03   1.0000          .0000       .10000E+07
    11 'Prefactor '    3.4213       1.0000          .0000       .10000E+07
    12 'Prefactor '    2.5659       1.0000         .10000E-03   10000.    
    13 'Prefactor '    .11441E-03   1.0000         .10000E-03   10000.    
    14 'norm      '    .74066       1.0000          .0000       .10000E+07
    15 'Prefactor '    .90442E-03   1.0000          .0000       .10000E+07
    16 'Prefactor '    9.9682       1.0000          .0000       .10000E+07
    17 'Prefactor '    1.9796       1.0000         .10000E-03   10000.    
    18 'Prefactor '    .29503E-02   1.0000          .0000       .10000E+07
    19 'Prefactor '    8.0349       1.0000          .0000       .10000E+07
    20 'Normalizat'    1.1415       1.0000         .10000E-01   10.000    
    21 'Prefactor '    .65435       1.0000          .0000       10.000    
 **********
 **   15 **SET ERR    .5000    
 **********
 **********
 **   16 **SET GRAD    1.000    
 **********
 **********
 **   17 **MINIMIZE    .5150E+05   .2000E-04
 **********

 MIGRAD MINIMIZATION HAS CONVERGED.

 FCN=   8184.616     FROM MIGRAD    STATUS=CONVERGED    126 CALLS     2589 TOTAL
                     EDM=   .17E-08  STRATEGY=1  ERROR MATRIX UNCERTAINTY=  1.6%

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  norm          4.0479        2.3893        .87181E-07   -.45815E-02
   2  Prefactor     42.640        42.497        .98017E-05   -.20594E-01
   3  norm          .33307E-09    4.5580        .10642E-05** at limit **
   4  norm          24.602        2.4428       -.64644E-06    .10538E-01
   5  Prefactor     .21894E-06    47.942       -.79694E-05** at limit **
   6  Prefactor     1.3052        1.4820        .12551E-05   -.63837E-03
   7  norm          .41844        .81445        .34353E-06    .15441E-02
   8  Prefactor     .92260E-07    10.348        .14455E-05** at limit **
   9  norm          .27756E-09    1.3499       -.11259E-08** at limit **
  10  Prefactor     .18549E-05    4.0669       -.21204E-06** at limit **
  11  Prefactor     3.4139        8.4293       -.56404E-05   -.19029E-01
  12  Prefactor     2.5658        .32441       -.12378E-06   -.29063E-02
  13  Prefactor     .10000E-03    7.3071       -.12272E-04** at limit **
  14  norm          .74251        1.3513       -.40394E-06   -.81511E-02
  15  Prefactor     .13500E-05    4.6926        .65081E-06** at limit **
  16  Prefactor     9.9654        1.7485       -.23437E-06    .39440E-01
  17  Prefactor     1.9796        .23701        .84184E-06    .41002E-02
  18  Prefactor     .20539E-07    13.929        .34399E-05** at limit **
  19  Prefactor     8.0448        7.6025        .48676E-06   -.20173E-03
  20  Normalizat    1.1417        .24479       -.16384E-04   -.14183E-03
  21  Prefactor     .65430        .12435        .10398E-04   -.46573E-03
                               ERR DEF=  .500    
Final values: 
  norm       = 4.04792
  Prefactor  = 42.6398
  norm       = 3.33067e-10
  norm       = 24.602
  Prefactor  = 2.18936e-07
  Prefactor  = 1.30524
  norm       = 0.418442
  Prefactor  = 9.22595e-08
  norm       = 2.77556e-10
  Prefactor  = 1.85491e-06
  Prefactor  = 3.41389
  Prefactor  = 2.56584
  Prefactor  = 0.0001
  norm       = 0.742509
  Prefactor  = 1.34998e-06
  Prefactor  = 9.96544
  Prefactor  = 1.97959
  Prefactor  = 2.05391e-08
  Prefactor  = 8.04478
  Normalizat = 1.14173
  Prefactor  = 0.654302
Done.

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

Extracting fit parameters...

4FGL J2222.8+1209
   Spectrum: PowerLaw
262    Prefactor:  1.855e-06  7.816e-03  0.000e+00  1.000e+06 ( 1.000e-13)
263        Index:  2.407e+00  0.000e+00  0.000e+00  1.000e+01 (-1.000e+00) fixed
264        Scale:  1.288e+03  0.000e+00  3.000e+01  5.000e+05 ( 1.000e+00) fixed

GAL_V02
   Spectrum: PowerLaw
512    Prefactor:  6.543e-01  1.063e-01  0.000e+00  1.000e+01 ( 1.000e+00)
513        Index:  0.000e+00  0.000e+00 -1.000e+00  1.000e+00 ( 1.000e+00) fixed
514        Scale:  1.000e+02  0.000e+00  5.000e+01  2.000e+02 ( 1.000e+00) fixed

EG_v02
   Spectrum: FileFunction
511   Normalization:  1.142e+00  2.093e-01  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Fixed Index): -0.00
Ra Dec: 335.710 12.157
Photon Flux Upper Limit: 8.67912492866e-08 ph cm-2 s-1
Energy Flux Upper Limit: 0.00670967603809 MeV cm-2 s-1

Saving results to:
/lscratch/kocevski/31942395/likelihoodResults_805420801_805680001_4FGL_J2222.8+1209_daily_bin2184.txt

Performing a free index iterative likelihood fit...

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

Done.

Freeing candidate source...
Done.

Fit tolerance = 1

Performing likelihood fit...
Done.

MINUIT Return Code (Free Index): 0
logL (Free Index) = 8184.67542811
delta logL = -0.0595122115619

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

MINUIT Return Code (Free Index): 102
logL (Free Index) = 8184.6159159
delta logL = -3.63070284948e-09

Fit tolerance = 1e-08

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

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

 MIGRAD MINIMIZATION HAS CONVERGED.

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

 FCN=   8184.616     FROM MIGRAD    STATUS=CONVERGED     43 CALLS      207 TOTAL
                     EDM=   .35E-10  STRATEGY=1  ERROR MATRIX UNCERTAINTY=100.0%

  EXT PARAMETER                APPROXIMATE        STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor      .0000        6.3414        .42118E-03** at limit **
   2  Index         3.1636        2.0180       -.48305E-03     .0000    
   3  Normalizat    1.1417        1.1306       -.35264E-04    .11007E-05
   4  Prefactor     .65430        1.0036        .11435E-04   -.14946E-03
                               ERR DEF=  .500    
Final values: 
  Prefactor  = 0
  Index      = 3.16355
  Normalizat = 1.14173
  Prefactor  = 0.654303
 **********
 **   18 **HESSE 
 **********
  MNHESS FAILS AND WILL RETURN DIAGONAL MATRIX. 

 FCN=   8184.616     FROM HESSE     STATUS=FAILED         9 CALLS      216 TOTAL
                     EDM=   .35E-10  STRATEGY=1  ERROR MATRIX UNCERTAINTY=100.0%

  EXT PARAMETER                APPROXIMATE     INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  Prefactor      .0000        6.3414        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   2  Index         1.1270        2.2185       -.48305E-03   -.37609    
   3  Normalizat    1.1417        1.1306       -.35264E-04   -.88423    
   4  Prefactor     .65430        1.0036        .11435E-04   -1.0535    
                               ERR DEF=  .500    
Minuit fit quality: 1   estimated distance: 3.46233e-11
Minuit parameter uncertainties:
  1  1.84547e-05
  2  2.08743
  3  1.15609
  4  1.0334
shell-init: error retrieving current directory: getcwd: cannot access parent directories: No such file or directory
ile=/lscratch/kocevski/31942738/ltcube_805420801_805680001_4FGL_J2222.8+1209_daily_bin2184.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/31942738/ft2_4FGL_J2222.8+1209_daily_bin2184.fits
.....................!
real 7.55
user 6.94
sys 0.22

Generating the exposure map:
time -p gtexpmap evfile=/lscratch/kocevski/31942738/ft1_filtered_4FGL_J2222.8+1209_daily_bin2184.fits evtable="EVENTS" scfile=/lscratch/kocevski/31942738/ft2_4FGL_J2222.8+1209_daily_bin2184.fits sctable="SC_DATA" expcube=/lscratch/kocevski/31942738/ltcube_805420801_805680001_4FGL_J2222.8+1209_daily_bin2184.fits outfile=/lscratch/kocevski/31942738/expmap_805420801_805680001_4FGL_J2222.8+1209_daily_bin2184.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/31942738/ltcube_805420801_805680001_4FGL_J2222.8+1209_daily_bin2184.fits
.....................!
real 62.27
user 57.97
sys 3.67

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

Setting source of interest to:
4FGL J2222.8+1209 @ 335.71 12.1568

Creating the counts map:
time -p gtbin evfile=/lscratch/kocevski/31942738/ft1_filtered_4FGL_J2222.8+1209_daily_bin2184.fits scfile=/lscratch/kocevski/31942738/ft2_4FGL_J2222.8+1209_daily_bin2184.fits outfile=/lscratch/kocevski/31942738/cmap_805420801_805680001_4FGL_J2222.8+1209_daily_bin2184.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.71 yref=12.1568 axisrot=0.0 rafield="RA" decfield="DEC" proj="AIT" hpx_ordering_scheme="RING" hpx_order=3 hpx_ebin=yes hpx_region="" evtable="EVENTS" sctable="SC_DATA" efield="ENERGY" tfield="TIME" chatter=2 clobber=yes debug=no gui=no mode="ql"

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

This is gtbin version HEAD
real 0.77
user 0.20
sys 0.13

Creating the high resolution counts map:
time -p gtbin evfile=/lscratch/kocevski/31942738/ft1_filtered_4FGL_J2222.8+1209_daily_bin2184.fits scfile=/lscratch/kocevski/31942738/ft2_4FGL_J2222.8+1209_daily_bin2184.fits outfile=/lscratch/kocevski/31942738/cmap_HighResolution_805420801_805680001_4FGL_J2222.8+1209_daily_bin2184.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.71 yref=12.1568 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.21
sys 0.13

Computing the diffuse response:
time -p gtdiffrsp evfile=/lscratch/kocevski/31942738/ft1_filtered_4FGL_J2222.8+1209_daily_bin2184.fits evtable="EVENTS" scfile=/lscratch/kocevski/31942738/ft2_4FGL_J2222.8+1209_daily_bin2184.fits sctable="SC_DATA" srcmdl=/lscratch/kocevski/31942738/Model_4FGL_J2222.8+1209_daily_bin2184.xml irfs="P8R3_SOURCE_V2" evclsmin=0 evclass="INDEF" evtype="INDEF" convert=yes chatter=2 clobber=yes debug=no gui=no mode="ql"

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

adding source EG_v02
adding source GAL_V02
Done.

MINUIT Return Code (Free Index): 101
logL (Free Index) = 8184.61591578
delta logL = 1.12599991553e-07

Extracting fit parameters...

4FGL J2222.8+1209
   Spectrum: PowerLaw
262    Prefactor:  0.000e+00  1.845e-05  0.000e+00  1.000e+06 ( 1.000e-13)
263        Index:  3.164e+00  2.087e+00  0.000e+00  1.000e+01 (-1.000e+00)
264        Scale:  1.288e+03  0.000e+00  3.000e+01  5.000e+05 ( 1.000e+00) fixed

GAL_V02
   Spectrum: PowerLaw
512    Prefactor:  6.543e-01  1.033e+00  0.000e+00  1.000e+01 ( 1.000e+00)
513        Index:  0.000e+00  0.000e+00 -1.000e+00  1.000e+00 ( 1.000e+00) fixed
514        Scale:  1.000e+02  0.000e+00  5.000e+01  2.000e+02 ( 1.000e+00) fixed

EG_v02
   Spectrum: FileFunction
511   Normalization:  1.142e+00  1.156e+00  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Free Index): -0.00
Ra Dec: 335.710 12.157

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/31942395/cmap_HighResolution_805420801_805680001_4FGL_J2222.8+1209_daily_bin2184.png

Cleaning up...

** Nuclear option initiated! **

Updating database...

UPDATE lightcurve_data_v2 SET energy_flux_upper_limit='6.71e-03', job_status='DONE', photon_flux_upper_limit='8.68e-08', time_completed='2026-07-16 15:12:57.918819', job_id='31942395', GAL2='0.65', fit_tolerance='1e-08', EG2='1.14', EG='1.14', time_epoch_completed='1784239977.92', return_code2='101', ts='-0.00', comment='SUCCESS', return_code='0', GAL='0.65', dlogl='1.13e-07', ts2='0.00', photon_index_error='0.00', photon_index='2.41' WHERE bin_id='2184' AND source_name='4FGL J2222.8+1209' AND cadence='daily';

Database successfully updated.


Analysis Complete.


Thu Jul 16 15:12:58 PDT 2026

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

 FCN=   8184.616     FROM HESSE     STATUS=OK           365 CALLS     2954 TOTAL
                     EDM=   .46E-06    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  norm          4.0479        2.3955        .50132E-03   -1.5668    
   2  Prefactor     42.640        43.451        .15369E-03   -1.5577    
   3  norm          .33307E-09    .97762        .42118E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   4  norm          24.602        17.415        .20155E-03   -1.5609    
   5  Prefactor     .21894E-06    47.892        .12062E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   6  Prefactor     1.3052        293.16        .99067E-03   -1.5685    
   7  norm          .41844        .83850        .87702E-03   -1.5695    
   8  Prefactor     .92260E-07    10.557        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   9  norm          .27756E-09    1.3609        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  10  Prefactor     .18549E-05    8.2326        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  11  Prefactor     3.4139        8.5781        .54664E-03   -1.5671    
  12  Prefactor     2.5658        .32428        .39242E-02   -1.5388    
  13  Prefactor     .10000E-03    7.1781        .90712E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  14  norm          .74251        1.4345        .57467E-03   -1.5691    
  15  Prefactor     .13500E-05    7.8220        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  16  Prefactor     9.9654        9.9505        .31713E-03   -1.5645    
  17  Prefactor     1.9796        .23670        .32590E-02   -1.5427    
  18  Prefactor     .20539E-07    14.021        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  19  Prefactor     8.0448        7.6105        .35347E-03   -1.5651    
  20  Normalizat    1.1417        .20914        .73197E-01   -.88423    
  21  Prefactor     .65430        .10622        .41790E-01   -1.0535    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 4.63471e-07
Minuit parameter uncertainties:
  1  2.39552
  2  43.4518
  3  3.51948e-05
  4  17.4148
  5  0.00647593
  6  39.1248
  7  0.838497
  8  0.00197371
  9  3.69022e-05
  10  0.00781561
  11  8.57816
  12  0.324276
  13  3.5402e-05
  14  1.43451
  15  0.00649905
  16  9.95053
  17  0.236701
  18  0.00107304
  19  7.61053
  20  0.209289
  21  0.106252
Working on...
/lscratch/kocevski/31942484/ft1_filtered_4FGL_J2222.8+1209_daily_bin2184.fits.....................!
real 31.07
user 29.25
sys 1.28

Creating the likelihood object...
obs = UnbinnedObs('/lscratch/kocevski/31942484/ft1_filtered_4FGL_J2222.8+1209_daily_bin2184.fits', '/lscratch/kocevski/31942484/ft2_4FGL_J2222.8+1209_daily_bin2184.fits', expMap='/lscratch/kocevski/31942484/expmap_805420801_805680001_4FGL_J2222.8+1209_daily_bin2184.fits', expCube='/lscratch/kocevski/31942484/ltcube_805420801_805680001_4FGL_J2222.8+1209_daily_bin2184.fits', irfs='P8R3_SOURCE_V2')
like = UnbinnedAnalysis(obs, '/lscratch/kocevski/31942484/Model_4FGL_J2222.8+1209_daily_bin2184.xml', optimizer='MINUIT')

Using source of interest name: '4FGL J2222.8+1209'

4FGL J2222.8+1209
   Spectrum: PowerLaw
262    Prefactor:  1.996e+00  0.000e+00  0.000e+00  1.000e+06 ( 1.000e-13)
263        Index:  2.407e+00  0.000e+00  0.000e+00  1.000e+01 (-1.000e+00) fixed
264        Scale:  1.288e+03  0.000e+00  3.000e+01  5.000e+05 ( 1.000e+00) fixed


Likelihood Fit Parameters:
Event file(s): /lscratch/kocevski/31942484/ft1_filtered_4FGL_J2222.8+1209_daily_bin2184.fits
Spacecraft file(s): /lscratch/kocevski/31942484/ft2_4FGL_J2222.8+1209_daily_bin2184.fits
Exposure map: /lscratch/kocevski/31942484/expmap_805420801_805680001_4FGL_J2222.8+1209_daily_bin2184.fits
Exposure cube: /lscratch/kocevski/31942484/ltcube_805420801_805680001_4FGL_J2222.8+1209_daily_bin2184.fits
IRFs: P8R3_SOURCE_V2
Source model file: /lscratch/kocevski/31942484/Model_4FGL_J2222.8+1209_daily_bin2184.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) = 8184.61812385

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

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

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'norm      '    4.0419       1.0000          .0000       .10000E+07
     2 'Prefactor '    42.344       1.0000          .0000       .10000E+07
     3 'norm      '    .31386E-04   1.0000          .0000       .10000E+07
     4 'norm      '    24.628       1.0000          .0000       .10000E+07
     5 'Prefactor '    .18432       1.0000          .0000       .10000E+07
     6 'Prefactor '    1.2643       1.0000          .0000       .10000E+07
     7 'norm      '    .41559       1.0000          .0000       .10000E+07
     8 'Prefactor '    .34510E-02   1.0000          .0000       .10000E+07
     9 'norm      '    .20439E-05   1.0000          .0000       .10000E+07
    10 'Prefactor '    .27269E-03   1.0000          .0000       .10000E+07
    11 'Prefactor '    3.4213       1.0000          .0000       .10000E+07
    12 'Prefactor '    2.5659       1.0000         .10000E-03   10000.    
    13 'Prefactor '    .11441E-03   1.0000         .10000E-03   10000.    
    14 'norm      '    .74066       1.0000          .0000       .10000E+07
    15 'Prefactor '    .90442E-03   1.0000          .0000       .10000E+07
    16 'Prefactor '    9.9682       1.0000          .0000       .10000E+07
    17 'Prefactor '    1.9796       1.0000         .10000E-03   10000.    
    18 'Prefactor '    .29503E-02   1.0000          .0000       .10000E+07
    19 'Prefactor '    8.0349       1.0000          .0000       .10000E+07
    20 'Normalizat'    1.1415       1.0000         .10000E-01   10.000    
    21 'Prefactor '    .65435       1.0000          .0000       10.000    
 **********
 **   15 **SET ERR    .5000    
 **********
 **********
 **   16 **SET GRAD    1.000    
 **********
 **********
 **   17 **MINIMIZE    .5150E+05   .2000E-04
 **********

 MIGRAD MINIMIZATION HAS CONVERGED.

 FCN=   8184.616     FROM MIGRAD    STATUS=CONVERGED    126 CALLS     2589 TOTAL
                     EDM=   .17E-08  STRATEGY=1  ERROR MATRIX UNCERTAINTY=  1.6%

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  norm          4.0479        2.3893        .87181E-07   -.45815E-02
   2  Prefactor     42.640        42.497        .98017E-05   -.20594E-01
   3  norm          .33307E-09    4.5580        .10642E-05** at limit **
   4  norm          24.602        2.4428       -.64644E-06    .10538E-01
   5  Prefactor     .21894E-06    47.942       -.79694E-05** at limit **
   6  Prefactor     1.3052        1.4820        .12551E-05   -.63837E-03
   7  norm          .41844        .81445        .34353E-06    .15441E-02
   8  Prefactor     .92260E-07    10.348        .14455E-05** at limit **
   9  norm          .27756E-09    1.3499       -.11259E-08** at limit **
  10  Prefactor     .18549E-05    4.0669       -.21204E-06** at limit **
  11  Prefactor     3.4139        8.4293       -.56404E-05   -.19029E-01
  12  Prefactor     2.5658        .32441       -.12378E-06   -.29063E-02
  13  Prefactor     .10000E-03    7.3071       -.12272E-04** at limit **
  14  norm          .74251        1.3513       -.40394E-06   -.81511E-02
  15  Prefactor     .13500E-05    4.6926        .65081E-06** at limit **
  16  Prefactor     9.9654        1.7485       -.23437E-06    .39440E-01
  17  Prefactor     1.9796        .23701        .84184E-06    .41002E-02
  18  Prefactor     .20539E-07    13.929        .34399E-05** at limit **
  19  Prefactor     8.0448        7.6025        .48676E-06   -.20173E-03
  20  Normalizat    1.1417        .24479       -.16384E-04   -.14183E-03
  21  Prefactor     .65430        .12435        .10398E-04   -.46573E-03
                               ERR DEF=  .500    
Final values: 
  norm       = 4.04792
  Prefactor  = 42.6398
  norm       = 3.33067e-10
  norm       = 24.602
  Prefactor  = 2.18936e-07
  Prefactor  = 1.30524
  norm       = 0.418442
  Prefactor  = 9.22595e-08
  norm       = 2.77556e-10
  Prefactor  = 1.85491e-06
  Prefactor  = 3.41389
  Prefactor  = 2.56584
  Prefactor  = 0.0001
  norm       = 0.742509
  Prefactor  = 1.34998e-06
  Prefactor  = 9.96544
  Prefactor  = 1.97959
  Prefactor  = 2.05391e-08
  Prefactor  = 8.04478
  Normalizat = 1.14173
  Prefactor  = 0.654302
Done.

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

Extracting fit parameters...

4FGL J2222.8+1209
   Spectrum: PowerLaw
262    Prefactor:  1.855e-06  7.816e-03  0.000e+00  1.000e+06 ( 1.000e-13)
263        Index:  2.407e+00  0.000e+00  0.000e+00  1.000e+01 (-1.000e+00) fixed
264        Scale:  1.288e+03  0.000e+00  3.000e+01  5.000e+05 ( 1.000e+00) fixed

GAL_V02
   Spectrum: PowerLaw
512    Prefactor:  6.543e-01  1.063e-01  0.000e+00  1.000e+01 ( 1.000e+00)
513        Index:  0.000e+00  0.000e+00 -1.000e+00  1.000e+00 ( 1.000e+00) fixed
514        Scale:  1.000e+02  0.000e+00  5.000e+01  2.000e+02 ( 1.000e+00) fixed

EG_v02
   Spectrum: FileFunction
511   Normalization:  1.142e+00  2.093e-01  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Fixed Index): -0.00
Ra Dec: 335.710 12.157
Photon Flux Upper Limit: 8.67912492866e-08 ph cm-2 s-1
Energy Flux Upper Limit: 0.00670967603809 MeV cm-2 s-1

Saving results to:
/lscratch/kocevski/31942424/likelihoodResults_805420801_805680001_4FGL_J2222.8+1209_daily_bin2184.txt

Performing a free index iterative likelihood fit...

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

Done.

Freeing candidate source...
Done.

Fit tolerance = 1

Performing likelihood fit...
Done.

MINUIT Return Code (Free Index): 0
logL (Free Index) = 8184.67542811
delta logL = -0.0595122115619

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

MINUIT Return Code (Free Index): 102
logL (Free Index) = 8184.6159159
delta logL = -3.63070284948e-09

Fit tolerance = 1e-08

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

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

 MIGRAD MINIMIZATION HAS CONVERGED.

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

 FCN=   8184.616     FROM MIGRAD    STATUS=CONVERGED     43 CALLS      207 TOTAL
                     EDM=   .35E-10  STRATEGY=1  ERROR MATRIX UNCERTAINTY=100.0%

  EXT PARAMETER                APPROXIMATE        STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor      .0000        6.3414        .42118E-03** at limit **
   2  Index         3.1636        2.0180       -.48305E-03     .0000    
   3  Normalizat    1.1417        1.1306       -.35264E-04    .11007E-05
   4  Prefactor     .65430        1.0036        .11435E-04   -.14946E-03
                               ERR DEF=  .500    
Final values: 
  Prefactor  = 0
  Index      = 3.16355
  Normalizat = 1.14173
  Prefactor  = 0.654303
 **********
 **   18 **HESSE 
 **********
  MNHESS FAILS AND WILL RETURN DIAGONAL MATRIX. 

 FCN=   8184.616     FROM HESSE     STATUS=FAILED         9 CALLS      216 TOTAL
                     EDM=   .35E-10  STRATEGY=1  ERROR MATRIX UNCERTAINTY=100.0%

  EXT PARAMETER                APPROXIMATE     INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  Prefactor      .0000        6.3414        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   2  Index         1.1270        2.2185       -.48305E-03   -.37609    
   3  Normalizat    1.1417        1.1306       -.35264E-04   -.88423    
   4  Prefactor     .65430        1.0036        .11435E-04   -1.0535    
                               ERR DEF=  .500    
Minuit fit quality: 1   estimated distance: 3.46233e-11
Minuit parameter uncertainties:
  1  1.84547e-05
  2  2.08743
  3  1.15609
  4  1.0334
shell-init: error retrieving current directory: getcwd: cannot access parent directories: No such file or directory
 **********
 **   18 **HESSE 
 **********

 FCN=   8184.616     FROM HESSE     STATUS=OK           365 CALLS     2954 TOTAL
                     EDM=   .46E-06    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  norm          4.0479        2.3955        .50132E-03   -1.5668    
   2  Prefactor     42.640        43.451        .15369E-03   -1.5577    
   3  norm          .33307E-09    .97762        .42118E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   4  norm          24.602        17.415        .20155E-03   -1.5609    
   5  Prefactor     .21894E-06    47.892        .12062E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   6  Prefactor     1.3052        293.16        .99067E-03   -1.5685    
   7  norm          .41844        .83850        .87702E-03   -1.5695    
   8  Prefactor     .92260E-07    10.557        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   9  norm          .27756E-09    1.3609        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  10  Prefactor     .18549E-05    8.2326        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  11  Prefactor     3.4139        8.5781        .54664E-03   -1.5671    
  12  Prefactor     2.5658        .32428        .39242E-02   -1.5388    
  13  Prefactor     .10000E-03    7.1781        .90712E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  14  norm          .74251        1.4345        .57467E-03   -1.5691    
  15  Prefactor     .13500E-05    7.8220        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  16  Prefactor     9.9654        9.9505        .31713E-03   -1.5645    
  17  Prefactor     1.9796        .23670        .32590E-02   -1.5427    
  18  Prefactor     .20539E-07    14.021        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  19  Prefactor     8.0448        7.6105        .35347E-03   -1.5651    
  20  Normalizat    1.1417        .20914        .73197E-01   -.88423    
  21  Prefactor     .65430        .10622        .41790E-01   -1.0535    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 4.63471e-07
Minuit parameter uncertainties:
  1  2.39552
  2  43.4518
  3  3.51948e-05
  4  17.4148
  5  0.00647593
  6  39.1248
  7  0.838497
  8  0.00197371
  9  3.69022e-05
  10  0.00781561
  11  8.57816
  12  0.324276
  13  3.5402e-05
  14  1.43451
  15  0.00649905
  16  9.95053
  17  0.236701
  18  0.00107304
  19  7.61053
  20  0.209289
  21  0.106252
Done.

MINUIT Return Code (Free Index): 101
logL (Free Index) = 8184.61591578
delta logL = 1.12599991553e-07

Extracting fit parameters...

4FGL J2222.8+1209
   Spectrum: PowerLaw
262    Prefactor:  0.000e+00  1.845e-05  0.000e+00  1.000e+06 ( 1.000e-13)
263        Index:  3.164e+00  2.087e+00  0.000e+00  1.000e+01 (-1.000e+00)
264        Scale:  1.288e+03  0.000e+00  3.000e+01  5.000e+05 ( 1.000e+00) fixed

GAL_V02
   Spectrum: PowerLaw
512    Prefactor:  6.543e-01  1.033e+00  0.000e+00  1.000e+01 ( 1.000e+00)
513        Index:  0.000e+00  0.000e+00 -1.000e+00  1.000e+00 ( 1.000e+00) fixed
514        Scale:  1.000e+02  0.000e+00  5.000e+01  2.000e+02 ( 1.000e+00) fixed

EG_v02
   Spectrum: FileFunction
511   Normalization:  1.142e+00  1.156e+00  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Free Index): -0.00
Ra Dec: 335.710 12.157

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/31942424/cmap_HighResolution_805420801_805680001_4FGL_J2222.8+1209_daily_bin2184.png

Cleaning up...

** Nuclear option initiated! **

Updating database...

UPDATE lightcurve_data_v2 SET energy_flux_upper_limit='6.71e-03', job_status='DONE', photon_flux_upper_limit='8.68e-08', time_completed='2026-07-16 15:13:29.548693', job_id='31942424', GAL2='0.65', fit_tolerance='1e-08', EG2='1.14', EG='1.14', time_epoch_completed='1784240009.55', return_code2='101', ts='-0.00', comment='SUCCESS', return_code='0', GAL='0.65', dlogl='1.13e-07', ts2='0.00', photon_index_error='0.00', photon_index='2.41' WHERE bin_id='2184' AND source_name='4FGL J2222.8+1209' AND cadence='daily';

Database successfully updated.


Analysis Complete.


Thu Jul 16 15:13:29 PDT 2026

Done.

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

Extracting fit parameters...

4FGL J2222.8+1209
   Spectrum: PowerLaw
262    Prefactor:  1.855e-06  7.816e-03  0.000e+00  1.000e+06 ( 1.000e-13)
263        Index:  2.407e+00  0.000e+00  0.000e+00  1.000e+01 (-1.000e+00) fixed
264        Scale:  1.288e+03  0.000e+00  3.000e+01  5.000e+05 ( 1.000e+00) fixed

GAL_V02
   Spectrum: PowerLaw
512    Prefactor:  6.543e-01  1.063e-01  0.000e+00  1.000e+01 ( 1.000e+00)
513        Index:  0.000e+00  0.000e+00 -1.000e+00  1.000e+00 ( 1.000e+00) fixed
514        Scale:  1.000e+02  0.000e+00  5.000e+01  2.000e+02 ( 1.000e+00) fixed

EG_v02
   Spectrum: FileFunction
511   Normalization:  1.142e+00  2.093e-01  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Fixed Index): -0.00
Ra Dec: 335.710 12.157
Photon Flux Upper Limit: 8.67912492866e-08 ph cm-2 s-1
Energy Flux Upper Limit: 0.00670967603809 MeV cm-2 s-1

Saving results to:
/lscratch/kocevski/31942484/likelihoodResults_805420801_805680001_4FGL_J2222.8+1209_daily_bin2184.txt

Performing a free index iterative likelihood fit...

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

Done.

Freeing candidate source...
Done.

Fit tolerance = 1

Performing likelihood fit...
Done.

MINUIT Return Code (Free Index): 0
logL (Free Index) = 8184.67542811
delta logL = -0.0595122115619

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

MINUIT Return Code (Free Index): 102
logL (Free Index) = 8184.6159159
delta logL = -3.63070284948e-09

Fit tolerance = 1e-08

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

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

 MIGRAD MINIMIZATION HAS CONVERGED.

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

 FCN=   8184.616     FROM MIGRAD    STATUS=CONVERGED     43 CALLS      207 TOTAL
                     EDM=   .35E-10  STRATEGY=1  ERROR MATRIX UNCERTAINTY=100.0%

  EXT PARAMETER                APPROXIMATE        STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor      .0000        6.3414        .42118E-03** at limit **
   2  Index         3.1636        2.0180       -.48305E-03     .0000    
   3  Normalizat    1.1417        1.1306       -.35264E-04    .11007E-05
   4  Prefactor     .65430        1.0036        .11435E-04   -.14946E-03
                               ERR DEF=  .500    
Final values: 
  Prefactor  = 0
  Index      = 3.16355
  Normalizat = 1.14173
  Prefactor  = 0.654303
 **********
 **   18 **HESSE 
 **********
  MNHESS FAILS AND WILL RETURN DIAGONAL MATRIX. 

 FCN=   8184.616     FROM HESSE     STATUS=FAILED         9 CALLS      216 TOTAL
                     EDM=   .35E-10  STRATEGY=1  ERROR MATRIX UNCERTAINTY=100.0%

  EXT PARAMETER                APPROXIMATE     INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  Prefactor      .0000        6.3414        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   2  Index         1.1270        2.2185       -.48305E-03   -.37609    
   3  Normalizat    1.1417        1.1306       -.35264E-04   -.88423    
   4  Prefactor     .65430        1.0036        .11435E-04   -1.0535    
                               ERR DEF=  .500    
Minuit fit quality: 1   estimated distance: 3.46233e-11
Minuit parameter uncertainties:
  1  1.84547e-05
  2  2.08743
  3  1.15609
  4  1.0334
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) = 8184.61591578
delta logL = 1.12599991553e-07

Extracting fit parameters...

4FGL J2222.8+1209
   Spectrum: PowerLaw
262    Prefactor:  0.000e+00  1.845e-05  0.000e+00  1.000e+06 ( 1.000e-13)
263        Index:  3.164e+00  2.087e+00  0.000e+00  1.000e+01 (-1.000e+00)
264        Scale:  1.288e+03  0.000e+00  3.000e+01  5.000e+05 ( 1.000e+00) fixed

GAL_V02
   Spectrum: PowerLaw
512    Prefactor:  6.543e-01  1.033e+00  0.000e+00  1.000e+01 ( 1.000e+00)
513        Index:  0.000e+00  0.000e+00 -1.000e+00  1.000e+00 ( 1.000e+00) fixed
514        Scale:  1.000e+02  0.000e+00  5.000e+01  2.000e+02 ( 1.000e+00) fixed

EG_v02
   Spectrum: FileFunction
511   Normalization:  1.142e+00  1.156e+00  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Free Index): -0.00
Ra Dec: 335.710 12.157

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/31942484/cmap_HighResolution_805420801_805680001_4FGL_J2222.8+1209_daily_bin2184.png

Cleaning up...

** Nuclear option initiated! **

Updating database...

UPDATE lightcurve_data_v2 SET energy_flux_upper_limit='6.71e-03', job_status='DONE', photon_flux_upper_limit='8.68e-08', time_completed='2026-07-16 15:13:57.996069', job_id='31942484', GAL2='0.65', fit_tolerance='1e-08', EG2='1.14', EG='1.14', time_epoch_completed='1784240038.0', return_code2='101', ts='-0.00', comment='SUCCESS', return_code='0', GAL='0.65', dlogl='1.13e-07', ts2='0.00', photon_index_error='0.00', photon_index='2.41' WHERE bin_id='2184' AND source_name='4FGL J2222.8+1209' AND cadence='daily';

Database successfully updated.


Analysis Complete.


Thu Jul 16 15:13:58 PDT 2026

Working on...
/lscratch/kocevski/31942572/ft1_filtered_4FGL_J2222.8+1209_daily_bin2184.fits.....................!
real 30.38
user 28.60
sys 1.15

Creating the likelihood object...
obs = UnbinnedObs('/lscratch/kocevski/31942572/ft1_filtered_4FGL_J2222.8+1209_daily_bin2184.fits', '/lscratch/kocevski/31942572/ft2_4FGL_J2222.8+1209_daily_bin2184.fits', expMap='/lscratch/kocevski/31942572/expmap_805420801_805680001_4FGL_J2222.8+1209_daily_bin2184.fits', expCube='/lscratch/kocevski/31942572/ltcube_805420801_805680001_4FGL_J2222.8+1209_daily_bin2184.fits', irfs='P8R3_SOURCE_V2')
like = UnbinnedAnalysis(obs, '/lscratch/kocevski/31942572/Model_4FGL_J2222.8+1209_daily_bin2184.xml', optimizer='MINUIT')

Using source of interest name: '4FGL J2222.8+1209'

4FGL J2222.8+1209
   Spectrum: PowerLaw
262    Prefactor:  1.996e+00  0.000e+00  0.000e+00  1.000e+06 ( 1.000e-13)
263        Index:  2.407e+00  0.000e+00  0.000e+00  1.000e+01 (-1.000e+00) fixed
264        Scale:  1.288e+03  0.000e+00  3.000e+01  5.000e+05 ( 1.000e+00) fixed


Likelihood Fit Parameters:
Event file(s): /lscratch/kocevski/31942572/ft1_filtered_4FGL_J2222.8+1209_daily_bin2184.fits
Spacecraft file(s): /lscratch/kocevski/31942572/ft2_4FGL_J2222.8+1209_daily_bin2184.fits
Exposure map: /lscratch/kocevski/31942572/expmap_805420801_805680001_4FGL_J2222.8+1209_daily_bin2184.fits
Exposure cube: /lscratch/kocevski/31942572/ltcube_805420801_805680001_4FGL_J2222.8+1209_daily_bin2184.fits
IRFs: P8R3_SOURCE_V2
Source model file: /lscratch/kocevski/31942572/Model_4FGL_J2222.8+1209_daily_bin2184.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) = 8184.61812385

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

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

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'norm      '    4.0419       1.0000          .0000       .10000E+07
     2 'Prefactor '    42.344       1.0000          .0000       .10000E+07
     3 'norm      '    .31386E-04   1.0000          .0000       .10000E+07
     4 'norm      '    24.628       1.0000          .0000       .10000E+07
     5 'Prefactor '    .18432       1.0000          .0000       .10000E+07
     6 'Prefactor '    1.2643       1.0000          .0000       .10000E+07
     7 'norm      '    .41559       1.0000          .0000       .10000E+07
     8 'Prefactor '    .34510E-02   1.0000          .0000       .10000E+07
     9 'norm      '    .20439E-05   1.0000          .0000       .10000E+07
    10 'Prefactor '    .27269E-03   1.0000          .0000       .10000E+07
    11 'Prefactor '    3.4213       1.0000          .0000       .10000E+07
    12 'Prefactor '    2.5659       1.0000         .10000E-03   10000.    
    13 'Prefactor '    .11441E-03   1.0000         .10000E-03   10000.    
    14 'norm      '    .74066       1.0000          .0000       .10000E+07
    15 'Prefactor '    .90442E-03   1.0000          .0000       .10000E+07
    16 'Prefactor '    9.9682       1.0000          .0000       .10000E+07
    17 'Prefactor '    1.9796       1.0000         .10000E-03   10000.    
    18 'Prefactor '    .29503E-02   1.0000          .0000       .10000E+07
    19 'Prefactor '    8.0349       1.0000          .0000       .10000E+07
    20 'Normalizat'    1.1415       1.0000         .10000E-01   10.000    
    21 'Prefactor '    .65435       1.0000          .0000       10.000    
 **********
 **   15 **SET ERR    .5000    
 **********
 **********
 **   16 **SET GRAD    1.000    
 **********
 **********
 **   17 **MINIMIZE    .5150E+05   .2000E-04
 **********

 MIGRAD MINIMIZATION HAS CONVERGED.

 FCN=   8184.616     FROM MIGRAD    STATUS=CONVERGED    126 CALLS     2589 TOTAL
                     EDM=   .17E-08  STRATEGY=1  ERROR MATRIX UNCERTAINTY=  1.6%

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  norm          4.0479        2.3893        .87181E-07   -.45815E-02
   2  Prefactor     42.640        42.497        .98017E-05   -.20594E-01
   3  norm          .33307E-09    4.5580        .10642E-05** at limit **
   4  norm          24.602        2.4428       -.64644E-06    .10538E-01
   5  Prefactor     .21894E-06    47.942       -.79694E-05** at limit **
   6  Prefactor     1.3052        1.4820        .12551E-05   -.63837E-03
   7  norm          .41844        .81445        .34353E-06    .15441E-02
   8  Prefactor     .92260E-07    10.348        .14455E-05** at limit **
   9  norm          .27756E-09    1.3499       -.11259E-08** at limit **
  10  Prefactor     .18549E-05    4.0669       -.21204E-06** at limit **
  11  Prefactor     3.4139        8.4293       -.56404E-05   -.19029E-01
  12  Prefactor     2.5658        .32441       -.12378E-06   -.29063E-02
  13  Prefactor     .10000E-03    7.3071       -.12272E-04** at limit **
  14  norm          .74251        1.3513       -.40394E-06   -.81511E-02
  15  Prefactor     .13500E-05    4.6926        .65081E-06** at limit **
  16  Prefactor     9.9654        1.7485       -.23437E-06    .39440E-01
  17  Prefactor     1.9796        .23701        .84184E-06    .41002E-02
  18  Prefactor     .20539E-07    13.929        .34399E-05** at limit **
  19  Prefactor     8.0448        7.6025        .48676E-06   -.20173E-03
  20  Normalizat    1.1417        .24479       -.16384E-04   -.14183E-03
  21  Prefactor     .65430        .12435        .10398E-04   -.46573E-03
                               ERR DEF=  .500    
Final values: 
  norm       = 4.04792
  Prefactor  = 42.6398
  norm       = 3.33067e-10
  norm       = 24.602
  Prefactor  = 2.18936e-07
  Prefactor  = 1.30524
  norm       = 0.418442
  Prefactor  = 9.22595e-08
  norm       = 2.77556e-10
  Prefactor  = 1.85491e-06
  Prefactor  = 3.41389
  Prefactor  = 2.56584
  Prefactor  = 0.0001
  norm       = 0.742509
  Prefactor  = 1.34998e-06
  Prefactor  = 9.96544
  Prefactor  = 1.97959
  Prefactor  = 2.05391e-08
  Prefactor  = 8.04478
  Normalizat = 1.14173
  Prefactor  = 0.654302
 **********
 **   18 **HESSE 
 **********

 FCN=   8184.616     FROM HESSE     STATUS=OK           365 CALLS     2954 TOTAL
                     EDM=   .46E-06    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  norm          4.0479        2.3955        .50132E-03   -1.5668    
   2  Prefactor     42.640        43.451        .15369E-03   -1.5577    
   3  norm          .33307E-09    .97762        .42118E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   4  norm          24.602        17.415        .20155E-03   -1.5609    
   5  Prefactor     .21894E-06    47.892        .12062E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   6  Prefactor     1.3052        293.16        .99067E-03   -1.5685    
   7  norm          .41844        .83850        .87702E-03   -1.5695    
   8  Prefactor     .92260E-07    10.557        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   9  norm          .27756E-09    1.3609        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  10  Prefactor     .18549E-05    8.2326        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  11  Prefactor     3.4139        8.5781        .54664E-03   -1.5671    
  12  Prefactor     2.5658        .32428        .39242E-02   -1.5388    
  13  Prefactor     .10000E-03    7.1781        .90712E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  14  norm          .74251        1.4345        .57467E-03   -1.5691    
  15  Prefactor     .13500E-05    7.8220        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  16  Prefactor     9.9654        9.9505        .31713E-03   -1.5645    
  17  Prefactor     1.9796        .23670        .32590E-02   -1.5427    
  18  Prefactor     .20539E-07    14.021        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  19  Prefactor     8.0448        7.6105        .35347E-03   -1.5651    
  20  Normalizat    1.1417        .20914        .73197E-01   -.88423    
  21  Prefactor     .65430        .10622        .41790E-01   -1.0535    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 4.63471e-07
Minuit parameter uncertainties:
  1  2.39552
  2  43.4518
  3  3.51948e-05
  4  17.4148
  5  0.00647593
  6  39.1248
  7  0.838497
  8  0.00197371
  9  3.69022e-05
  10  0.00781561
  11  8.57816
  12  0.324276
  13  3.5402e-05
  14  1.43451
  15  0.00649905
  16  9.95053
  17  0.236701
  18  0.00107304
  19  7.61053
  20  0.209289
  21  0.106252
Done.

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

Extracting fit parameters...

4FGL J2222.8+1209
   Spectrum: PowerLaw
262    Prefactor:  1.855e-06  7.816e-03  0.000e+00  1.000e+06 ( 1.000e-13)
263        Index:  2.407e+00  0.000e+00  0.000e+00  1.000e+01 (-1.000e+00) fixed
264        Scale:  1.288e+03  0.000e+00  3.000e+01  5.000e+05 ( 1.000e+00) fixed

GAL_V02
   Spectrum: PowerLaw
512    Prefactor:  6.543e-01  1.063e-01  0.000e+00  1.000e+01 ( 1.000e+00)
513        Index:  0.000e+00  0.000e+00 -1.000e+00  1.000e+00 ( 1.000e+00) fixed
514        Scale:  1.000e+02  0.000e+00  5.000e+01  2.000e+02 ( 1.000e+00) fixed

EG_v02
   Spectrum: FileFunction
511   Normalization:  1.142e+00  2.093e-01  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Fixed Index): -0.00
Ra Dec: 335.710 12.157
Photon Flux Upper Limit: 8.67912492866e-08 ph cm-2 s-1
Energy Flux Upper Limit: 0.00670967603809 MeV cm-2 s-1

Saving results to:
/lscratch/kocevski/31942572/likelihoodResults_805420801_805680001_4FGL_J2222.8+1209_daily_bin2184.txt

Performing a free index iterative likelihood fit...

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

Done.

Freeing candidate source...
Done.

Fit tolerance = 1

Performing likelihood fit...
Done.

MINUIT Return Code (Free Index): 0
logL (Free Index) = 8184.67542811
delta logL = -0.0595122115619

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

MINUIT Return Code (Free Index): 102
logL (Free Index) = 8184.6159159
delta logL = -3.63070284948e-09

Fit tolerance = 1e-08

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

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

 MIGRAD MINIMIZATION HAS CONVERGED.

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

 FCN=   8184.616     FROM MIGRAD    STATUS=CONVERGED     43 CALLS      207 TOTAL
                     EDM=   .35E-10  STRATEGY=1  ERROR MATRIX UNCERTAINTY=100.0%

  EXT PARAMETER                APPROXIMATE        STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor      .0000        6.3414        .42118E-03** at limit **
   2  Index         3.1636        2.0180       -.48305E-03     .0000    
   3  Normalizat    1.1417        1.1306       -.35264E-04    .11007E-05
   4  Prefactor     .65430        1.0036        .11435E-04   -.14946E-03
                               ERR DEF=  .500    
Final values: 
  Prefactor  = 0
  Index      = 3.16355
  Normalizat = 1.14173
  Prefactor  = 0.654303
 **********
 **   18 **HESSE 
 **********
  MNHESS FAILS AND WILL RETURN DIAGONAL MATRIX. 

 FCN=   8184.616     FROM HESSE     STATUS=FAILED         9 CALLS      216 TOTAL
                     EDM=   .35E-10  STRATEGY=1  ERROR MATRIX UNCERTAINTY=100.0%

  EXT PARAMETER                APPROXIMATE     INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  Prefactor      .0000        6.3414        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   2  Index         1.1270        2.2185       -.48305E-03   -.37609    
   3  Normalizat    1.1417        1.1306       -.35264E-04   -.88423    
   4  Prefactor     .65430        1.0036        .11435E-04   -1.0535    
                               ERR DEF=  .500    
Minuit fit quality: 1   estimated distance: 3.46233e-11
Minuit parameter uncertainties:
  1  1.84547e-05
  2  2.08743
  3  1.15609
  4  1.0334
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) = 8184.61591578
delta logL = 1.12599991553e-07

Extracting fit parameters...

4FGL J2222.8+1209
   Spectrum: PowerLaw
262    Prefactor:  0.000e+00  1.845e-05  0.000e+00  1.000e+06 ( 1.000e-13)
263        Index:  3.164e+00  2.087e+00  0.000e+00  1.000e+01 (-1.000e+00)
264        Scale:  1.288e+03  0.000e+00  3.000e+01  5.000e+05 ( 1.000e+00) fixed

GAL_V02
   Spectrum: PowerLaw
512    Prefactor:  6.543e-01  1.033e+00  0.000e+00  1.000e+01 ( 1.000e+00)
513        Index:  0.000e+00  0.000e+00 -1.000e+00  1.000e+00 ( 1.000e+00) fixed
514        Scale:  1.000e+02  0.000e+00  5.000e+01  2.000e+02 ( 1.000e+00) fixed

EG_v02
   Spectrum: FileFunction
511   Normalization:  1.142e+00  1.156e+00  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Free Index): -0.00
Ra Dec: 335.710 12.157

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/31942572/cmap_HighResolution_805420801_805680001_4FGL_J2222.8+1209_daily_bin2184.png

Cleaning up...

** Nuclear option initiated! **

Updating database...

UPDATE lightcurve_data_v2 SET energy_flux_upper_limit='6.71e-03', job_status='DONE', photon_flux_upper_limit='8.68e-08', time_completed='2026-07-16 15:14:44.519681', job_id='31942572', GAL2='0.65', fit_tolerance='1e-08', EG2='1.14', EG='1.14', time_epoch_completed='1784240084.52', return_code2='101', ts='-0.00', comment='SUCCESS', return_code='0', GAL='0.65', dlogl='1.13e-07', ts2='0.00', photon_index_error='0.00', photon_index='2.41' WHERE bin_id='2184' AND source_name='4FGL J2222.8+1209' AND cadence='daily';

Database successfully updated.


Analysis Complete.


Thu Jul 16 15:14:44 PDT 2026

Working on...
/lscratch/kocevski/31942738/ft1_filtered_4FGL_J2222.8+1209_daily_bin2184.fits.....................!
real 30.49
user 28.72
sys 1.16

Creating the likelihood object...
obs = UnbinnedObs('/lscratch/kocevski/31942738/ft1_filtered_4FGL_J2222.8+1209_daily_bin2184.fits', '/lscratch/kocevski/31942738/ft2_4FGL_J2222.8+1209_daily_bin2184.fits', expMap='/lscratch/kocevski/31942738/expmap_805420801_805680001_4FGL_J2222.8+1209_daily_bin2184.fits', expCube='/lscratch/kocevski/31942738/ltcube_805420801_805680001_4FGL_J2222.8+1209_daily_bin2184.fits', irfs='P8R3_SOURCE_V2')
like = UnbinnedAnalysis(obs, '/lscratch/kocevski/31942738/Model_4FGL_J2222.8+1209_daily_bin2184.xml', optimizer='MINUIT')

Using source of interest name: '4FGL J2222.8+1209'

4FGL J2222.8+1209
   Spectrum: PowerLaw
262    Prefactor:  1.996e+00  0.000e+00  0.000e+00  1.000e+06 ( 1.000e-13)
263        Index:  2.407e+00  0.000e+00  0.000e+00  1.000e+01 (-1.000e+00) fixed
264        Scale:  1.288e+03  0.000e+00  3.000e+01  5.000e+05 ( 1.000e+00) fixed


Likelihood Fit Parameters:
Event file(s): /lscratch/kocevski/31942738/ft1_filtered_4FGL_J2222.8+1209_daily_bin2184.fits
Spacecraft file(s): /lscratch/kocevski/31942738/ft2_4FGL_J2222.8+1209_daily_bin2184.fits
Exposure map: /lscratch/kocevski/31942738/expmap_805420801_805680001_4FGL_J2222.8+1209_daily_bin2184.fits
Exposure cube: /lscratch/kocevski/31942738/ltcube_805420801_805680001_4FGL_J2222.8+1209_daily_bin2184.fits
IRFs: P8R3_SOURCE_V2
Source model file: /lscratch/kocevski/31942738/Model_4FGL_J2222.8+1209_daily_bin2184.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) = 8184.61812385

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

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

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'norm      '    4.0419       1.0000          .0000       .10000E+07
     2 'Prefactor '    42.344       1.0000          .0000       .10000E+07
     3 'norm      '    .31386E-04   1.0000          .0000       .10000E+07
     4 'norm      '    24.628       1.0000          .0000       .10000E+07
     5 'Prefactor '    .18432       1.0000          .0000       .10000E+07
     6 'Prefactor '    1.2643       1.0000          .0000       .10000E+07
     7 'norm      '    .41559       1.0000          .0000       .10000E+07
     8 'Prefactor '    .34510E-02   1.0000          .0000       .10000E+07
     9 'norm      '    .20439E-05   1.0000          .0000       .10000E+07
    10 'Prefactor '    .27269E-03   1.0000          .0000       .10000E+07
    11 'Prefactor '    3.4213       1.0000          .0000       .10000E+07
    12 'Prefactor '    2.5659       1.0000         .10000E-03   10000.    
    13 'Prefactor '    .11441E-03   1.0000         .10000E-03   10000.    
    14 'norm      '    .74066       1.0000          .0000       .10000E+07
    15 'Prefactor '    .90442E-03   1.0000          .0000       .10000E+07
    16 'Prefactor '    9.9682       1.0000          .0000       .10000E+07
    17 'Prefactor '    1.9796       1.0000         .10000E-03   10000.    
    18 'Prefactor '    .29503E-02   1.0000          .0000       .10000E+07
    19 'Prefactor '    8.0349       1.0000          .0000       .10000E+07
    20 'Normalizat'    1.1415       1.0000         .10000E-01   10.000    
    21 'Prefactor '    .65435       1.0000          .0000       10.000    
 **********
 **   15 **SET ERR    .5000    
 **********
 **********
 **   16 **SET GRAD    1.000    
 **********
 **********
 **   17 **MINIMIZE    .5150E+05   .2000E-04
 **********

 MIGRAD MINIMIZATION HAS CONVERGED.

 FCN=   8184.616     FROM MIGRAD    STATUS=CONVERGED    126 CALLS     2589 TOTAL
                     EDM=   .17E-08  STRATEGY=1  ERROR MATRIX UNCERTAINTY=  1.6%

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  norm          4.0479        2.3893        .87181E-07   -.45815E-02
   2  Prefactor     42.640        42.497        .98017E-05   -.20594E-01
   3  norm          .33307E-09    4.5580        .10642E-05** at limit **
   4  norm          24.602        2.4428       -.64644E-06    .10538E-01
   5  Prefactor     .21894E-06    47.942       -.79694E-05** at limit **
   6  Prefactor     1.3052        1.4820        .12551E-05   -.63837E-03
   7  norm          .41844        .81445        .34353E-06    .15441E-02
   8  Prefactor     .92260E-07    10.348        .14455E-05** at limit **
   9  norm          .27756E-09    1.3499       -.11259E-08** at limit **
  10  Prefactor     .18549E-05    4.0669       -.21204E-06** at limit **
  11  Prefactor     3.4139        8.4293       -.56404E-05   -.19029E-01
  12  Prefactor     2.5658        .32441       -.12378E-06   -.29063E-02
  13  Prefactor     .10000E-03    7.3071       -.12272E-04** at limit **
  14  norm          .74251        1.3513       -.40394E-06   -.81511E-02
  15  Prefactor     .13500E-05    4.6926        .65081E-06** at limit **
  16  Prefactor     9.9654        1.7485       -.23437E-06    .39440E-01
  17  Prefactor     1.9796        .23701        .84184E-06    .41002E-02
  18  Prefactor     .20539E-07    13.929        .34399E-05** at limit **
  19  Prefactor     8.0448        7.6025        .48676E-06   -.20173E-03
  20  Normalizat    1.1417        .24479       -.16384E-04   -.14183E-03
  21  Prefactor     .65430        .12435        .10398E-04   -.46573E-03
                               ERR DEF=  .500    
Final values: 
  norm       = 4.04792
  Prefactor  = 42.6398
  norm       = 3.33067e-10
  norm       = 24.602
  Prefactor  = 2.18936e-07
  Prefactor  = 1.30524
  norm       = 0.418442
  Prefactor  = 9.22595e-08
  norm       = 2.77556e-10
  Prefactor  = 1.85491e-06
  Prefactor  = 3.41389
  Prefactor  = 2.56584
  Prefactor  = 0.0001
  norm       = 0.742509
  Prefactor  = 1.34998e-06
  Prefactor  = 9.96544
  Prefactor  = 1.97959
  Prefactor  = 2.05391e-08
  Prefactor  = 8.04478
  Normalizat = 1.14173
  Prefactor  = 0.654302
 **********
 **   18 **HESSE 
 **********

 FCN=   8184.616     FROM HESSE     STATUS=OK           365 CALLS     2954 TOTAL
                     EDM=   .46E-06    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  norm          4.0479        2.3955        .50132E-03   -1.5668    
   2  Prefactor     42.640        43.451        .15369E-03   -1.5577    
   3  norm          .33307E-09    .97762        .42118E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   4  norm          24.602        17.415        .20155E-03   -1.5609    
   5  Prefactor     .21894E-06    47.892        .12062E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   6  Prefactor     1.3052        293.16        .99067E-03   -1.5685    
   7  norm          .41844        .83850        .87702E-03   -1.5695    
   8  Prefactor     .92260E-07    10.557        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   9  norm          .27756E-09    1.3609        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  10  Prefactor     .18549E-05    8.2326        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  11  Prefactor     3.4139        8.5781        .54664E-03   -1.5671    
  12  Prefactor     2.5658        .32428        .39242E-02   -1.5388    
  13  Prefactor     .10000E-03    7.1781        .90712E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  14  norm          .74251        1.4345        .57467E-03   -1.5691    
  15  Prefactor     .13500E-05    7.8220        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  16  Prefactor     9.9654        9.9505        .31713E-03   -1.5645    
  17  Prefactor     1.9796        .23670        .32590E-02   -1.5427    
  18  Prefactor     .20539E-07    14.021        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  19  Prefactor     8.0448        7.6105        .35347E-03   -1.5651    
  20  Normalizat    1.1417        .20914        .73197E-01   -.88423    
  21  Prefactor     .65430        .10622        .41790E-01   -1.0535    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 4.63471e-07
Minuit parameter uncertainties:
  1  2.39552
  2  43.4518
  3  3.51948e-05
  4  17.4148
  5  0.00647593
  6  39.1248
  7  0.838497
  8  0.00197371
  9  3.69022e-05
  10  0.00781561
  11  8.57816
  12  0.324276
  13  3.5402e-05
  14  1.43451
  15  0.00649905
  16  9.95053
  17  0.236701
  18  0.00107304
  19  7.61053
  20  0.209289
  21  0.106252
Done.

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

Extracting fit parameters...

4FGL J2222.8+1209
   Spectrum: PowerLaw
262    Prefactor:  1.855e-06  7.816e-03  0.000e+00  1.000e+06 ( 1.000e-13)
263        Index:  2.407e+00  0.000e+00  0.000e+00  1.000e+01 (-1.000e+00) fixed
264        Scale:  1.288e+03  0.000e+00  3.000e+01  5.000e+05 ( 1.000e+00) fixed

GAL_V02
   Spectrum: PowerLaw
512    Prefactor:  6.543e-01  1.063e-01  0.000e+00  1.000e+01 ( 1.000e+00)
513        Index:  0.000e+00  0.000e+00 -1.000e+00  1.000e+00 ( 1.000e+00) fixed
514        Scale:  1.000e+02  0.000e+00  5.000e+01  2.000e+02 ( 1.000e+00) fixed

EG_v02
   Spectrum: FileFunction
511   Normalization:  1.142e+00  2.093e-01  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Fixed Index): -0.00
Ra Dec: 335.710 12.157
Photon Flux Upper Limit: 8.67912492866e-08 ph cm-2 s-1
Energy Flux Upper Limit: 0.00670967603809 MeV cm-2 s-1

Saving results to:
/lscratch/kocevski/31942738/likelihoodResults_805420801_805680001_4FGL_J2222.8+1209_daily_bin2184.txt

Performing a free index iterative likelihood fit...

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

Done.

Freeing candidate source...
Done.

Fit tolerance = 1

Performing likelihood fit...
Done.

MINUIT Return Code (Free Index): 0
logL (Free Index) = 8184.67542811
delta logL = -0.0595122115619

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

MINUIT Return Code (Free Index): 102
logL (Free Index) = 8184.6159159
delta logL = -3.63070284948e-09

Fit tolerance = 1e-08

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

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

 MIGRAD MINIMIZATION HAS CONVERGED.

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

 FCN=   8184.616     FROM MIGRAD    STATUS=CONVERGED     43 CALLS      207 TOTAL
                     EDM=   .35E-10  STRATEGY=1  ERROR MATRIX UNCERTAINTY=100.0%

  EXT PARAMETER                APPROXIMATE        STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor      .0000        6.3414        .42118E-03** at limit **
   2  Index         3.1636        2.0180       -.48305E-03     .0000    
   3  Normalizat    1.1417        1.1306       -.35264E-04    .11007E-05
   4  Prefactor     .65430        1.0036        .11435E-04   -.14946E-03
                               ERR DEF=  .500    
Final values: 
  Prefactor  = 0
  Index      = 3.16355
  Normalizat = 1.14173
  Prefactor  = 0.654303
 **********
 **   18 **HESSE 
 **********
  MNHESS FAILS AND WILL RETURN DIAGONAL MATRIX. 

 FCN=   8184.616     FROM HESSE     STATUS=FAILED         9 CALLS      216 TOTAL
                     EDM=   .35E-10  STRATEGY=1  ERROR MATRIX UNCERTAINTY=100.0%

  EXT PARAMETER                APPROXIMATE     INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  Prefactor      .0000        6.3414        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   2  Index         1.1270        2.2185       -.48305E-03   -.37609    
   3  Normalizat    1.1417        1.1306       -.35264E-04   -.88423    
   4  Prefactor     .65430        1.0036        .11435E-04   -1.0535    
                               ERR DEF=  .500    
Minuit fit quality: 1   estimated distance: 3.46233e-11
Minuit parameter uncertainties:
  1  1.84547e-05
  2  2.08743
  3  1.15609
  4  1.0334
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) = 8184.61591578
delta logL = 1.12599991553e-07

Extracting fit parameters...

4FGL J2222.8+1209
   Spectrum: PowerLaw
262    Prefactor:  0.000e+00  1.845e-05  0.000e+00  1.000e+06 ( 1.000e-13)
263        Index:  3.164e+00  2.087e+00  0.000e+00  1.000e+01 (-1.000e+00)
264        Scale:  1.288e+03  0.000e+00  3.000e+01  5.000e+05 ( 1.000e+00) fixed

GAL_V02
   Spectrum: PowerLaw
512    Prefactor:  6.543e-01  1.033e+00  0.000e+00  1.000e+01 ( 1.000e+00)
513        Index:  0.000e+00  0.000e+00 -1.000e+00  1.000e+00 ( 1.000e+00) fixed
514        Scale:  1.000e+02  0.000e+00  5.000e+01  2.000e+02 ( 1.000e+00) fixed

EG_v02
   Spectrum: FileFunction
511   Normalization:  1.142e+00  1.156e+00  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Free Index): -0.00
Ra Dec: 335.710 12.157

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/31942738/cmap_HighResolution_805420801_805680001_4FGL_J2222.8+1209_daily_bin2184.png

Cleaning up...

** Nuclear option initiated! **

Updating database...

UPDATE lightcurve_data_v2 SET energy_flux_upper_limit='6.71e-03', job_status='DONE', photon_flux_upper_limit='8.68e-08', time_completed='2026-07-16 15:15:34.878975', job_id='31942738', GAL2='0.65', fit_tolerance='1e-08', EG2='1.14', EG='1.14', time_epoch_completed='1784240134.88', return_code2='101', ts='-0.00', comment='SUCCESS', return_code='0', GAL='0.65', dlogl='1.13e-07', ts2='0.00', photon_index_error='0.00', photon_index='2.41' WHERE bin_id='2184' AND source_name='4FGL J2222.8+1209' AND cadence='daily';

Database successfully updated.


Analysis Complete.


Thu Jul 16 15:15:35 PDT 2026

