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

 FCN=   10816.04     FROM HESSE     STATUS=OK           383 CALLS     2087 TOTAL
                     EDM=   .84E-06    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  Prefactor     12.611        8.4021        .28124E-03   -1.5637    
   2  norm          46.635        9.6053        .14654E-03   -1.5571    
   3  Prefactor     .93322E-01    35.867        .10432E-01   -1.5702    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   4  norm          2.1990        2.5082        .69343E-03   -1.5678    
   5  Prefactor     16.158        14.169        .24905E-03   -1.5628    
   6  norm          .82157E-08    11.121        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   7  norm          6.0200        4.1711        .41522E-03   -1.5659    
   8  norm          .12308E-02    5.3174        .71951E-02   -1.5709    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   9  norm          32.364        20.789        .17648E-03   -1.5594    
  10  Prefactor     4.4846        3.0198        .47495E-03   -1.5666    
  11  Prefactor     8.7030        9.9695        .33894E-03   -1.5649    
  12  norm           .0000        3.3944        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  13  Prefactor     37.311        45.971        .16482E-03   -1.5586    
  14  norm          25.139        9.5186        .19980E-03   -1.5608    
  15  Prefactor     .18430E-07    14.162        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  16  Prefactor     .49960E-09    6.4556        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  17  Prefactor     .11102E-09    4.6864        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  18  Prefactor     10.533        10.465        .30866E-03   -1.5643    
  19  Prefactor     257.58        14.664        .62316E-04   -1.5387    
  20  Normalizat    .60772        .16323        .84718E-01   -1.0766    
  21  Prefactor     1.3753        .17254        .64567E-01   -.81093    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 8.43351e-07
Minuit parameter uncertainties:
  1  8.40211
  2  9.60531
  3  3.65908
  4  2.50818
  5  14.1694
  6  0.000604659
  7  4.17111
  8  0.161795
  9  20.789
  10  3.01978
  11  9.96952
  12  6.09087e-06
  13  45.971
  14  9.51864
  15  0.00102231
  16  0.000111332
  17  4.91843e-05
  18  10.4648
  19  14.6635
  20  0.163356
  21  0.172616
/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).

L_V02
Working on...
/lscratch/kocevski/33911755/ft1_filtered_4FGL_J1333.2+2725_daily_bin2190.fits.....................!
real 28.99
user 27.27
sys 0.90

Creating the likelihood object...
obs = UnbinnedObs('/lscratch/kocevski/33911755/ft1_filtered_4FGL_J1333.2+2725_daily_bin2190.fits', '/lscratch/kocevski/33911755/ft2_4FGL_J1333.2+2725_daily_bin2190.fits', expMap='/lscratch/kocevski/33911755/expmap_806976001_807235201_4FGL_J1333.2+2725_daily_bin2190.fits', expCube='/lscratch/kocevski/33911755/ltcube_806976001_807235201_4FGL_J1333.2+2725_daily_bin2190.fits', irfs='P8R3_SOURCE_V2')
like = UnbinnedAnalysis(obs, '/lscratch/kocevski/33911755/Model_4FGL_J1333.2+2725_daily_bin2190.xml', optimizer='MINUIT')

Using source of interest name: '4FGL J1333.2+2725'

4FGL J1333.2+2725
   Spectrum: PowerLaw
301    Prefactor:  6.668e+00  0.000e+00  0.000e+00  1.000e+06 ( 1.000e-13)
302        Index:  2.315e+00  0.000e+00  0.000e+00  1.000e+01 (-1.000e+00) fixed
303        Scale:  9.619e+02  0.000e+00  3.000e+01  5.000e+05 ( 1.000e+00) fixed


Likelihood Fit Parameters:
Event file(s): /lscratch/kocevski/33911755/ft1_filtered_4FGL_J1333.2+2725_daily_bin2190.fits
Spacecraft file(s): /lscratch/kocevski/33911755/ft2_4FGL_J1333.2+2725_daily_bin2190.fits
Exposure map: /lscratch/kocevski/33911755/expmap_806976001_807235201_4FGL_J1333.2+2725_daily_bin2190.fits
Exposure cube: /lscratch/kocevski/33911755/ltcube_806976001_807235201_4FGL_J1333.2+2725_daily_bin2190.fits
IRFs: P8R3_SOURCE_V2
Source model file: /lscratch/kocevski/33911755/Model_4FGL_J1333.2+2725_daily_bin2190.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) = 10816.0662445

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

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

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'Prefactor '    12.663       1.0000          .0000       .10000E+07
     2 'norm      '    46.576       1.0000          .0000       .10000E+07
     3 'Prefactor '    .73824       1.0000          .0000       .10000E+07
     4 'norm      '    2.1999       1.0000          .0000       .10000E+07
     5 'Prefactor '    16.138       1.0000          .0000       .10000E+07
     6 'norm      '    .69644E-03   1.0000          .0000       .10000E+07
     7 'norm      '    5.8434       1.0000          .0000       .10000E+07
     8 'norm      '    .29114       1.0000          .0000       .10000E+07
     9 'norm      '    32.118       1.0000          .0000       .10000E+07
    10 'Prefactor '    4.4895       1.0000          .0000       .10000E+07
    11 'Prefactor '    8.7337       1.0000          .0000       .10000E+07
    12 'norm      '    .93667E-03   1.0000          .0000       .10000E+07
    13 'Prefactor '    36.820       1.0000          .0000       .10000E+07
    14 'norm      '    25.059       1.0000          .0000       .10000E+07
    15 'Prefactor '    .11668E-01   1.0000          .0000       .10000E+07
    16 'Prefactor '    .57577E-02   1.0000          .0000       .10000E+07
    17 'Prefactor '    .16906E-03   1.0000          .0000       .10000E+07
    18 'Prefactor '    10.520       1.0000          .0000       .10000E+07
    19 'Prefactor '    257.58       1.0000          .0000       .10000E+07
    20 'Normalizat'    .60858       1.0000         .10000E-01   10.000    
    21 'Prefactor '    1.3748       1.0000          .0000       10.000    
 **********
 **   15 **SET ERR    .5000    
 **********
 **********
 **   16 **SET GRAD    1.000    
 **********
 **********
 **   17 **MINIMIZE    .5400E+05   .2000E-04
 **********

 MIGRAD MINIMIZATION HAS CONVERGED.

 FCN=   10816.04     FROM MIGRAD    STATUS=CONVERGED    195 CALLS     1704 TOTAL
                     EDM=   .85E-09  STRATEGY=1  ERROR MATRIX UNCERTAINTY=  4.4%

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor     12.611        8.3772        .16420E-07   -.11877E-02
   2  norm          46.635        9.4857        .24680E-07    .95423E-02
   3  Prefactor     .93322E-01    1700.9       -.68575E-05** at limit **
   4  norm          2.1990        2.4924       -.19242E-08   -.75051E-03
   5  Prefactor     16.158        13.964        .69668E-07   -.16005E-01
   6  norm          .82157E-08    11.476        .72140E-07** at limit **
   7  norm          6.0200        3.4138        .10918E-06    .25251E-01
   8  norm          .12308E-02    428.63       -.12584E-06** at limit **
   9  norm          32.364        20.643       -.71974E-07    .12047E-01
  10  Prefactor     4.4846        2.9823        .87182E-08    .22680E-02
  11  Prefactor     8.7030        9.8621       -.10736E-07    .12794E-01
  12  norm           .0000        3.4001        .58381E-08** at limit **
  13  Prefactor     37.311        35.905       -.18138E-06   -.11907    
  14  norm          25.139        9.4782       -.23419E-08   -.40950E-02
  15  Prefactor     .18430E-07    14.156       -.19695E-07** at limit **
  16  Prefactor     .49960E-09    6.4413       -.30646E-07** at limit **
  17  Prefactor     .11102E-09    4.8308        .20847E-07** at limit **
  18  Prefactor     10.533        10.419       -.13064E-07   -.13929E-01
  19  Prefactor     257.58        1.7892       -.17652E-09    .56539E-01
  20  Normalizat    .60772        .18837        .76591E-06    .97225E-04
  21  Prefactor     1.3753        .20310       -.52625E-06    .28285E-04
                               ERR DEF=  .500    
Final values: 
  Prefactor  = 12.6112
  norm       = 46.6354
  Prefactor  = 0.093322
  norm       = 2.19902
  Prefactor  = 16.1578
  norm       = 8.21565e-09
  norm       = 6.01999
  norm       = 0.00123076
  norm       = 32.3644
  Prefactor  = 4.48465
  Prefactor  = 8.70304
  norm       = 0
  Prefactor  = 37.3111
  norm       = 25.1389
  Prefactor  = 1.84297e-08
  Prefactor  = 4.996e-10
  Prefactor  = 1.11022e-10
  Prefactor  = 10.5327
  Prefactor  = 257.579
  Normalizat = 0.607723
  Prefactor  = 1.37534
/sdf/group/fermi/u/kocevski/software/conda/envs/fermitools_v1.0.5/lib/python2.7/site-packages/matplotlib/cbook/deprecation.py:106: MatplotlibDeprecationWarning: The mpl_toolkits.axes_grid module was deprecated in version 2.1. Use mpl_toolkits.axes_grid1 and mpl_toolkits.axisartist provies the same functionality instead.
  warnings.warn(message, mplDeprecation, stacklevel=1)

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

utfile=/lscratch/kocevski/33911884/ltcube_806976001_807235201_4FGL_J1333.2+2725_daily_bin2190.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/33911884/ft2_4FGL_J1333.2+2725_daily_bin2190.fits
.....................!
real 7.74
user 6.98
sys 0.20

Generating the exposure map:
time -p gtexpmap evfile=/lscratch/kocevski/33911884/ft1_filtered_4FGL_J1333.2+2725_daily_bin2190.fits evtable="EVENTS" scfile=/lscratch/kocevski/33911884/ft2_4FGL_J1333.2+2725_daily_bin2190.fits sctable="SC_DATA" expcube=/lscratch/kocevski/33911884/ltcube_806976001_807235201_4FGL_J1333.2+2725_daily_bin2190.fits outfile=/lscratch/kocevski/33911884/expmap_806976001_807235201_4FGL_J1333.2+2725_daily_bin2190.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/33911884/ltcube_806976001_807235201_4FGL_J1333.2+2725_daily_bin2190.fits
.....................!
real 60.06
user 55.72
sys 3.41

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

Setting source of interest to:
4FGL J1333.2+2725 @ 203.323 27.4221

Creating the counts map:
time -p gtbin evfile=/lscratch/kocevski/33911884/ft1_filtered_4FGL_J1333.2+2725_daily_bin2190.fits scfile=/lscratch/kocevski/33911884/ft2_4FGL_J1333.2+2725_daily_bin2190.fits outfile=/lscratch/kocevski/33911884/cmap_806976001_807235201_4FGL_J1333.2+2725_daily_bin2190.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=203.323 yref=27.4221 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.92
user 0.20
sys 0.14

Creating the high resolution counts map:
time -p gtbin evfile=/lscratch/kocevski/33911884/ft1_filtered_4FGL_J1333.2+2725_daily_bin2190.fits scfile=/lscratch/kocevski/33911884/ft2_4FGL_J1333.2+2725_daily_bin2190.fits outfile=/lscratch/kocevski/33911884/cmap_HighResolution_806976001_807235201_4FGL_J1333.2+2725_daily_bin2190.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=203.323 yref=27.4221 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.12

Computing the diffuse response:
time -p gtdiffrsp evfile=/lscratch/kocevski/33911884/ft1_filtered_4FGL_J1333.2+2725_daily_bin2190.fits evtable="EVENTS" scfile=/lscratch/kocevski/33911884/ft2_4FGL_J1333.2+2725_daily_bin2190.fits sctable="SC_DATA" srcmdl=/lscratch/kocevski/33911884/Model_4FGL_J1333.2+2725_daily_bin2190.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 GA **********
 **   18 **HESSE 
 **********

 FCN=   10816.04     FROM HESSE     STATUS=OK           383 CALLS     2087 TOTAL
                     EDM=   .84E-06    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  Prefactor     12.611        8.4021        .28124E-03   -1.5637    
   2  norm          46.635        9.6053        .14654E-03   -1.5571    
   3  Prefactor     .93322E-01    35.867        .10432E-01   -1.5702    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   4  norm          2.1990        2.5082        .69343E-03   -1.5678    
   5  Prefactor     16.158        14.169        .24905E-03   -1.5628    
   6  norm          .82157E-08    11.121        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   7  norm          6.0200        4.1711        .41522E-03   -1.5659    
   8  norm          .12308E-02    5.3174        .71951E-02   -1.5709    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   9  norm          32.364        20.789        .17648E-03   -1.5594    
  10  Prefactor     4.4846        3.0198        .47495E-03   -1.5666    
  11  Prefactor     8.7030        9.9695        .33894E-03   -1.5649    
  12  norm           .0000        3.3944        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  13  Prefactor     37.311        45.971        .16482E-03   -1.5586    
  14  norm          25.139        9.5186        .19980E-03   -1.5608    
  15  Prefactor     .18430E-07    14.162        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  16  Prefactor     .49960E-09    6.4556        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  17  Prefactor     .11102E-09    4.6864        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  18  Prefactor     10.533        10.465        .30866E-03   -1.5643    
  19  Prefactor     257.58        14.664        .62316E-04   -1.5387    
  20  Normalizat    .60772        .16323        .84718E-01   -1.0766    
  21  Prefactor     1.3753        .17254        .64567E-01   -.81093    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 8.43351e-07
Minuit parameter uncertainties:
  1  8.40211
  2  9.60531
  3  3.65908
  4  2.50818
  5  14.1694
  6  0.000604659
  7  4.17111
  8  0.161795
  9  20.789
  10  3.01978
  11  9.96952
  12  6.09087e-06
  13  45.971
  14  9.51864
  15  0.00102231
  16  0.000111332
  17  4.91843e-05
  18  10.4648
  19  14.6635
  20  0.163356
  21  0.172616
utfile=/lscratch/kocevski/33911901/ltcube_806976001_807235201_4FGL_J1333.2+2725_daily_bin2190.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/33911901/ft2_4FGL_J1333.2+2725_daily_bin2190.fits
.....................!
real 8.19
user 7.30
sys 0.22

Generating the exposure map:
time -p gtexpmap evfile=/lscratch/kocevski/33911901/ft1_filtered_4FGL_J1333.2+2725_daily_bin2190.fits evtable="EVENTS" scfile=/lscratch/kocevski/33911901/ft2_4FGL_J1333.2+2725_daily_bin2190.fits sctable="SC_DATA" expcube=/lscratch/kocevski/33911901/ltcube_806976001_807235201_4FGL_J1333.2+2725_daily_bin2190.fits outfile=/lscratch/kocevski/33911901/expmap_806976001_807235201_4FGL_J1333.2+2725_daily_bin2190.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/33911901/ltcube_806976001_807235201_4FGL_J1333.2+2725_daily_bin2190.fits
.....................!
real 61.59
user 56.91
sys 3.59

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

Setting source of interest to:
4FGL J1333.2+2725 @ 203.323 27.4221

Creating the counts map:
time -p gtbin evfile=/lscratch/kocevski/33911901/ft1_filtered_4FGL_J1333.2+2725_daily_bin2190.fits scfile=/lscratch/kocevski/33911901/ft2_4FGL_J1333.2+2725_daily_bin2190.fits outfile=/lscratch/kocevski/33911901/cmap_806976001_807235201_4FGL_J1333.2+2725_daily_bin2190.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=203.323 yref=27.4221 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.84
user 0.21
sys 0.12

Creating the high resolution counts map:
time -p gtbin evfile=/lscratch/kocevski/33911901/ft1_filtered_4FGL_J1333.2+2725_daily_bin2190.fits scfile=/lscratch/kocevski/33911901/ft2_4FGL_J1333.2+2725_daily_bin2190.fits outfile=/lscratch/kocevski/33911901/cmap_HighResolution_806976001_807235201_4FGL_J1333.2+2725_daily_bin2190.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=203.323 yref=27.4221 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.92
user 0.20
sys 0.14

Computing the diffuse response:
time -p gtdiffrsp evfile=/lscratch/kocevski/33911901/ft1_filtered_4FGL_J1333.2+2725_daily_bin2190.fits evtable="EVENTS" scfile=/lscratch/kocevski/33911901/ft2_4FGL_J1333.2+2725_daily_bin2190.fits sctable="SC_DATA" srcmdl=/lscratch/kocevski/33911901/Model_4FGL_J1333.2+2725_daily_bin2190.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 GADone.

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

Extracting fit parameters...

4FGL J1333.2+2725
   Spectrum: PowerLaw
301    Prefactor:  4.996e-10  1.113e-04  0.000e+00  1.000e+06 ( 1.000e-13)
302        Index:  2.315e+00  0.000e+00  0.000e+00  1.000e+01 (-1.000e+00) fixed
303        Scale:  9.619e+02  0.000e+00  3.000e+01  5.000e+05 ( 1.000e+00) fixed

GAL_V02
   Spectrum: PowerLaw
537    Prefactor:  1.375e+00  1.726e-01  0.000e+00  1.000e+01 ( 1.000e+00)
538        Index:  0.000e+00  0.000e+00 -1.000e+00  1.000e+00 ( 1.000e+00) fixed
539        Scale:  1.000e+02  0.000e+00  5.000e+01  2.000e+02 ( 1.000e+00) fixed

EG_v02
   Spectrum: FileFunction
536   Normalization:  6.077e-01  1.634e-01  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Fixed Index): -0.00
Ra Dec: 203.323 27.422
Photon Flux Upper Limit: 3.9087033847e-08 ph cm-2 s-1
Energy Flux Upper Limit: 0.00300288559947 MeV cm-2 s-1

Saving results to:
/lscratch/kocevski/33911736/likelihoodResults_806976001_807235201_4FGL_J1333.2+2725_daily_bin2190.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) = 10816.0431509
delta logL = -0.00664820231214

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

MINUIT Return Code (Free Index): 102
logL (Free Index) = 10816.0365116
delta logL = -8.94683398656e-06

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'Prefactor '    .53353E-03   1.0000          .0000       .10000E+07
     2 'Index     '    3.3247       1.0000          .0000       10.000    
     3 'Normalizat'    .60755       1.0000         .10000E-01   10.000    
     4 'Prefactor '    1.3755       1.0000          .0000       10.000    
 **********
 **   15 **SET ERR    .5000    
 **********
 **********
 **   16 **SET GRAD    1.000    
 **********
 **********
 **   17 **MINIMIZE    .5400E+05   .2000E-04
 **********

 MIGRAD MINIMIZATION HAS CONVERGED.

 MIGRAD WILL VERIFY CONVERGENCE AND ERROR MATRIX.

 FCN=   10815.93     FROM MIGRAD    STATUS=CONVERGED     92 CALLS      292 TOTAL
                     EDM=   .19E-07    STRATEGY= 1      ERR MATRIX NOT POS-DEF

  EXT PARAMETER                APPROXIMATE        STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor     .31660E-01    .94599        .42118E-03** at limit **
   2  Index         5.4481        2.6223        .21455        .23935E-04
   3  Normalizat    .58078        .20754E-01    .86608E-01   -.63694E-03
   4  Prefactor     1.3946        .22938E-01    .64211E-01   -.96400E-03
                               ERR DEF=  .500    
Final values: 
  Prefactor  = 0.0316602
  Index      = 5.44815
  Normalizat = 0.580778
  Prefactor  = 1.39458
 **********
 **   18 **HESSE 
 **********

 FCN=   10815.93     FROM HESSE     STATUS=NOT POSDEF    31 CALLS      323 TOTAL
                     EDM=   .51E-08    STRATEGY= 1      ERR MATRIX NOT POS-DEF

  EXT PARAMETER                APPROXIMATE     INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  Prefactor     .31660E-01    7.3522        .38368E-05   -1.5704    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   2  Index         5.4481        5.9588        .10939E-01    .89750E-01
   3  Normalizat    .58078        .12712        .38374E-03   -1.0881    
   4  Prefactor     1.3946        .13839        .28394E-03   -.80537    
                               ERR DEF=  .500    
Minuit fit quality: 2   estimated distance: 5.12503e-09
Minuit parameter uncertainties:
  1  0.964927
  2  14.6062
  3  0.127186
  4  0.138424
shell-init: error retrieving current directory: getcwd: cannot access parent directories: No such file or directory
Done.

MINUIT Return Code (Free Index): 102
logL (Free Index) = 10815.9251924
delta logL = 0.111310292963

Extracting fit parameters...

4FGL J1333.2+2725
   Spectrum: PowerLaw
301    Prefactor:  3.166e-02  9.649e-01  0.000e+00  1.000e+06 ( 1.000e-13)
302        Index:  5.448e+00  1.461e+01  0.000e+00  1.000e+01 (-1.000e+00)
303        Scale:  9.619e+02  0.000e+00  3.000e+01  5.000e+05 ( 1.000e+00) fixed

GAL_V02
   Spectrum: PowerLaw
537    Prefactor:  1.395e+00  1.384e-01  0.000e+00  1.000e+01 ( 1.000e+00)
538        Index:  0.000e+00  0.000e+00 -1.000e+00  1.000e+00 ( 1.000e+00) fixed
539        Scale:  1.000e+02  0.000e+00  5.000e+01  2.000e+02 ( 1.000e+00) fixed

EG_v02
   Spectrum: FileFunction
536   Normalization:  5.808e-01  1.272e-01  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Free Index): -0.00
Ra Dec: 203.323 27.422

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/33911736/cmap_HighResolution_806976001_807235201_4FGL_J1333.2+2725_daily_bin2190.png

Cleaning up...

** Nuclear option initiated! **

Updating database...

UPDATE lightcurve_data_v2 SET energy_flux_upper_limit='3.00e-03', job_status='DONE', photon_flux_upper_limit='3.91e-08', time_completed='2026-08-01 13:35:36.930640', job_id='33911736', GAL2='1.39', fit_tolerance='1e-08', EG2='0.58', EG='0.61', time_epoch_completed='1785616536.93', return_code2='102', ts='-0.00', comment='SUCCESS', return_code='0', GAL='1.38', dlogl='1.11e-01', ts2='0.24', photon_index_error='0.00', photon_index='2.32' WHERE bin_id='2190' AND source_name='4FGL J1333.2+2725' AND cadence='daily';

Database successfully updated.


Analysis Complete.


Sat Aug  1 13:35:37 PDT 2026

Done.

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

Extracting fit parameters...

4FGL J1333.2+2725
   Spectrum: PowerLaw
301    Prefactor:  4.996e-10  1.113e-04  0.000e+00  1.000e+06 ( 1.000e-13)
302        Index:  2.315e+00  0.000e+00  0.000e+00  1.000e+01 (-1.000e+00) fixed
303        Scale:  9.619e+02  0.000e+00  3.000e+01  5.000e+05 ( 1.000e+00) fixed

GAL_V02
   Spectrum: PowerLaw
537    Prefactor:  1.375e+00  1.726e-01  0.000e+00  1.000e+01 ( 1.000e+00)
538        Index:  0.000e+00  0.000e+00 -1.000e+00  1.000e+00 ( 1.000e+00) fixed
539        Scale:  1.000e+02  0.000e+00  5.000e+01  2.000e+02 ( 1.000e+00) fixed

EG_v02
   Spectrum: FileFunction
536   Normalization:  6.077e-01  1.634e-01  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Fixed Index): -0.00
Ra Dec: 203.323 27.422
Photon Flux Upper Limit: 3.9087033847e-08 ph cm-2 s-1
Energy Flux Upper Limit: 0.00300288559947 MeV cm-2 s-1

Saving results to:
/lscratch/kocevski/33911755/likelihoodResults_806976001_807235201_4FGL_J1333.2+2725_daily_bin2190.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) = 10816.0431509
delta logL = -0.00664820231214

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

MINUIT Return Code (Free Index): 102
logL (Free Index) = 10816.0365116
delta logL = -8.94683398656e-06

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'Prefactor '    .53353E-03   1.0000          .0000       .10000E+07
     2 'Index     '    3.3247       1.0000          .0000       10.000    
     3 'Normalizat'    .60755       1.0000         .10000E-01   10.000    
     4 'Prefactor '    1.3755       1.0000          .0000       10.000    
 **********
 **   15 **SET ERR    .5000    
 **********
 **********
 **   16 **SET GRAD    1.000    
 **********
 **********
 **   17 **MINIMIZE    .5400E+05   .2000E-04
 **********

 MIGRAD MINIMIZATION HAS CONVERGED.

 MIGRAD WILL VERIFY CONVERGENCE AND ERROR MATRIX.

 FCN=   10815.93     FROM MIGRAD    STATUS=CONVERGED     92 CALLS      292 TOTAL
                     EDM=   .19E-07    STRATEGY= 1      ERR MATRIX NOT POS-DEF

  EXT PARAMETER                APPROXIMATE        STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor     .31660E-01    .94599        .42118E-03** at limit **
   2  Index         5.4481        2.6223        .21455        .23935E-04
   3  Normalizat    .58078        .20754E-01    .86608E-01   -.63694E-03
   4  Prefactor     1.3946        .22938E-01    .64211E-01   -.96400E-03
                               ERR DEF=  .500    
Final values: 
  Prefactor  = 0.0316602
  Index      = 5.44815
  Normalizat = 0.580778
  Prefactor  = 1.39458
 **********
 **   18 **HESSE 
 **********

 FCN=   10815.93     FROM HESSE     STATUS=NOT POSDEF    31 CALLS      323 TOTAL
                     EDM=   .51E-08    STRATEGY= 1      ERR MATRIX NOT POS-DEF

  EXT PARAMETER                APPROXIMATE     INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  Prefactor     .31660E-01    7.3522        .38368E-05   -1.5704    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   2  Index         5.4481        5.9588        .10939E-01    .89750E-01
   3  Normalizat    .58078        .12712        .38374E-03   -1.0881    
   4  Prefactor     1.3946        .13839        .28394E-03   -.80537    
                               ERR DEF=  .500    
Minuit fit quality: 2   estimated distance: 5.12503e-09
Minuit parameter uncertainties:
  1  0.964927
  2  14.6062
  3  0.127186
  4  0.138424
shell-init: error retrieving current directory: getcwd: cannot access parent directories: No such file or directory
Done.

MINUIT Return Code (Free Index): 102
logL (Free Index) = 10815.9251924
delta logL = 0.111310292963

Extracting fit parameters...

4FGL J1333.2+2725
   Spectrum: PowerLaw
301    Prefactor:  3.166e-02  9.649e-01  0.000e+00  1.000e+06 ( 1.000e-13)
302        Index:  5.448e+00  1.461e+01  0.000e+00  1.000e+01 (-1.000e+00)
303        Scale:  9.619e+02  0.000e+00  3.000e+01  5.000e+05 ( 1.000e+00) fixed

GAL_V02
   Spectrum: PowerLaw
537    Prefactor:  1.395e+00  1.384e-01  0.000e+00  1.000e+01 ( 1.000e+00)
538        Index:  0.000e+00  0.000e+00 -1.000e+00  1.000e+00 ( 1.000e+00) fixed
539        Scale:  1.000e+02  0.000e+00  5.000e+01  2.000e+02 ( 1.000e+00) fixed

EG_v02
   Spectrum: FileFunction
536   Normalization:  5.808e-01  1.272e-01  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Free Index): -0.00
Ra Dec: 203.323 27.422

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/33911755/cmap_HighResolution_806976001_807235201_4FGL_J1333.2+2725_daily_bin2190.png

Cleaning up...

** Nuclear option initiated! **

Updating database...

UPDATE lightcurve_data_v2 SET energy_flux_upper_limit='3.00e-03', job_status='DONE', photon_flux_upper_limit='3.91e-08', time_completed='2026-08-01 13:35:55.621561', job_id='33911755', GAL2='1.39', fit_tolerance='1e-08', EG2='0.58', EG='0.61', time_epoch_completed='1785616555.62', return_code2='102', ts='-0.00', comment='SUCCESS', return_code='0', GAL='1.38', dlogl='1.11e-01', ts2='0.24', photon_index_error='0.00', photon_index='2.32' WHERE bin_id='2190' AND source_name='4FGL J1333.2+2725' AND cadence='daily';

Database successfully updated.


Analysis Complete.


Sat Aug  1 13:35:56 PDT 2026

L_V02
Working on...
/lscratch/kocevski/33911772/ft1_filtered_4FGL_J1333.2+2725_daily_bin2190.fits.....................!
real 30.21
user 28.02
sys 1.09

Creating the likelihood object...
obs = UnbinnedObs('/lscratch/kocevski/33911772/ft1_filtered_4FGL_J1333.2+2725_daily_bin2190.fits', '/lscratch/kocevski/33911772/ft2_4FGL_J1333.2+2725_daily_bin2190.fits', expMap='/lscratch/kocevski/33911772/expmap_806976001_807235201_4FGL_J1333.2+2725_daily_bin2190.fits', expCube='/lscratch/kocevski/33911772/ltcube_806976001_807235201_4FGL_J1333.2+2725_daily_bin2190.fits', irfs='P8R3_SOURCE_V2')
like = UnbinnedAnalysis(obs, '/lscratch/kocevski/33911772/Model_4FGL_J1333.2+2725_daily_bin2190.xml', optimizer='MINUIT')

Using source of interest name: '4FGL J1333.2+2725'

4FGL J1333.2+2725
   Spectrum: PowerLaw
301    Prefactor:  6.668e+00  0.000e+00  0.000e+00  1.000e+06 ( 1.000e-13)
302        Index:  2.315e+00  0.000e+00  0.000e+00  1.000e+01 (-1.000e+00) fixed
303        Scale:  9.619e+02  0.000e+00  3.000e+01  5.000e+05 ( 1.000e+00) fixed


Likelihood Fit Parameters:
Event file(s): /lscratch/kocevski/33911772/ft1_filtered_4FGL_J1333.2+2725_daily_bin2190.fits
Spacecraft file(s): /lscratch/kocevski/33911772/ft2_4FGL_J1333.2+2725_daily_bin2190.fits
Exposure map: /lscratch/kocevski/33911772/expmap_806976001_807235201_4FGL_J1333.2+2725_daily_bin2190.fits
Exposure cube: /lscratch/kocevski/33911772/ltcube_806976001_807235201_4FGL_J1333.2+2725_daily_bin2190.fits
IRFs: P8R3_SOURCE_V2
Source model file: /lscratch/kocevski/33911772/Model_4FGL_J1333.2+2725_daily_bin2190.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) = 10816.0662445

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

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

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'Prefactor '    12.663       1.0000          .0000       .10000E+07
     2 'norm      '    46.576       1.0000          .0000       .10000E+07
     3 'Prefactor '    .73824       1.0000          .0000       .10000E+07
     4 'norm      '    2.1999       1.0000          .0000       .10000E+07
     5 'Prefactor '    16.138       1.0000          .0000       .10000E+07
     6 'norm      '    .69644E-03   1.0000          .0000       .10000E+07
     7 'norm      '    5.8434       1.0000          .0000       .10000E+07
     8 'norm      '    .29114       1.0000          .0000       .10000E+07
     9 'norm      '    32.118       1.0000          .0000       .10000E+07
    10 'Prefactor '    4.4895       1.0000          .0000       .10000E+07
    11 'Prefactor '    8.7337       1.0000          .0000       .10000E+07
    12 'norm      '    .93667E-03   1.0000          .0000       .10000E+07
    13 'Prefactor '    36.820       1.0000          .0000       .10000E+07
    14 'norm      '    25.059       1.0000          .0000       .10000E+07
    15 'Prefactor '    .11668E-01   1.0000          .0000       .10000E+07
    16 'Prefactor '    .57577E-02   1.0000          .0000       .10000E+07
    17 'Prefactor '    .16906E-03   1.0000          .0000       .10000E+07
    18 'Prefactor '    10.520       1.0000          .0000       .10000E+07
    19 'Prefactor '    257.58       1.0000          .0000       .10000E+07
    20 'Normalizat'    .60858       1.0000         .10000E-01   10.000    
    21 'Prefactor '    1.3748       1.0000          .0000       10.000    
 **********
 **   15 **SET ERR    .5000    
 **********
 **********
 **   16 **SET GRAD    1.000    
 **********
 **********
 **   17 **MINIMIZE    .5400E+05   .2000E-04
 **********

 MIGRAD MINIMIZATION HAS CONVERGED.

 FCN=   10816.04     FROM MIGRAD    STATUS=CONVERGED    195 CALLS     1704 TOTAL
                     EDM=   .85E-09  STRATEGY=1  ERROR MATRIX UNCERTAINTY=  4.4%

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor     12.611        8.3772        .16420E-07   -.11877E-02
   2  norm          46.635        9.4857        .24680E-07    .95423E-02
   3  Prefactor     .93322E-01    1700.9       -.68575E-05** at limit **
   4  norm          2.1990        2.4924       -.19242E-08   -.75051E-03
   5  Prefactor     16.158        13.964        .69668E-07   -.16005E-01
   6  norm          .82157E-08    11.476        .72140E-07** at limit **
   7  norm          6.0200        3.4138        .10918E-06    .25251E-01
   8  norm          .12308E-02    428.63       -.12584E-06** at limit **
   9  norm          32.364        20.643       -.71974E-07    .12047E-01
  10  Prefactor     4.4846        2.9823        .87182E-08    .22680E-02
  11  Prefactor     8.7030        9.8621       -.10736E-07    .12794E-01
  12  norm           .0000        3.4001        .58381E-08** at limit **
  13  Prefactor     37.311        35.905       -.18138E-06   -.11907    
  14  norm          25.139        9.4782       -.23419E-08   -.40950E-02
  15  Prefactor     .18430E-07    14.156       -.19695E-07** at limit **
  16  Prefactor     .49960E-09    6.4413       -.30646E-07** at limit **
  17  Prefactor     .11102E-09    4.8308        .20847E-07** at limit **
  18  Prefactor     10.533        10.419       -.13064E-07   -.13929E-01
  19  Prefactor     257.58        1.7892       -.17652E-09    .56539E-01
  20  Normalizat    .60772        .18837        .76591E-06    .97225E-04
  21  Prefactor     1.3753        .20310       -.52625E-06    .28285E-04
                               ERR DEF=  .500    
Final values: 
  Prefactor  = 12.6112
  norm       = 46.6354
  Prefactor  = 0.093322
  norm       = 2.19902
  Prefactor  = 16.1578
  norm       = 8.21565e-09
  norm       = 6.01999
  norm       = 0.00123076
  norm       = 32.3644
  Prefactor  = 4.48465
  Prefactor  = 8.70304
  norm       = 0
  Prefactor  = 37.3111
  norm       = 25.1389
  Prefactor  = 1.84297e-08
  Prefactor  = 4.996e-10
  Prefactor  = 1.11022e-10
  Prefactor  = 10.5327
  Prefactor  = 257.579
  Normalizat = 0.607723
  Prefactor  = 1.37534
 **********
 **   18 **HESSE 
 **********

 FCN=   10816.04     FROM HESSE     STATUS=OK           383 CALLS     2087 TOTAL
                     EDM=   .84E-06    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  Prefactor     12.611        8.4021        .28124E-03   -1.5637    
   2  norm          46.635        9.6053        .14654E-03   -1.5571    
   3  Prefactor     .93322E-01    35.867        .10432E-01   -1.5702    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   4  norm          2.1990        2.5082        .69343E-03   -1.5678    
   5  Prefactor     16.158        14.169        .24905E-03   -1.5628    
   6  norm          .82157E-08    11.121        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   7  norm          6.0200        4.1711        .41522E-03   -1.5659    
   8  norm          .12308E-02    5.3174        .71951E-02   -1.5709    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   9  norm          32.364        20.789        .17648E-03   -1.5594    
  10  Prefactor     4.4846        3.0198        .47495E-03   -1.5666    
  11  Prefactor     8.7030        9.9695        .33894E-03   -1.5649    
  12  norm           .0000        3.3944        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  13  Prefactor     37.311        45.971        .16482E-03   -1.5586    
  14  norm          25.139        9.5186        .19980E-03   -1.5608    
  15  Prefactor     .18430E-07    14.162        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  16  Prefactor     .49960E-09    6.4556        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  17  Prefactor     .11102E-09    4.6864        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  18  Prefactor     10.533        10.465        .30866E-03   -1.5643    
  19  Prefactor     257.58        14.664        .62316E-04   -1.5387    
  20  Normalizat    .60772        .16323        .84718E-01   -1.0766    
  21  Prefactor     1.3753        .17254        .64567E-01   -.81093    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 8.43351e-07
Minuit parameter uncertainties:
  1  8.40211
  2  9.60531
  3  3.65908
  4  2.50818
  5  14.1694
  6  0.000604659
  7  4.17111
  8  0.161795
  9  20.789
  10  3.01978
  11  9.96952
  12  6.09087e-06
  13  45.971
  14  9.51864
  15  0.00102231
  16  0.000111332
  17  4.91843e-05
  18  10.4648
  19  14.6635
  20  0.163356
  21  0.172616
Done.

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

Extracting fit parameters...

4FGL J1333.2+2725
   Spectrum: PowerLaw
301    Prefactor:  4.996e-10  1.113e-04  0.000e+00  1.000e+06 ( 1.000e-13)
302        Index:  2.315e+00  0.000e+00  0.000e+00  1.000e+01 (-1.000e+00) fixed
303        Scale:  9.619e+02  0.000e+00  3.000e+01  5.000e+05 ( 1.000e+00) fixed

GAL_V02
   Spectrum: PowerLaw
537    Prefactor:  1.375e+00  1.726e-01  0.000e+00  1.000e+01 ( 1.000e+00)
538        Index:  0.000e+00  0.000e+00 -1.000e+00  1.000e+00 ( 1.000e+00) fixed
539        Scale:  1.000e+02  0.000e+00  5.000e+01  2.000e+02 ( 1.000e+00) fixed

EG_v02
   Spectrum: FileFunction
536   Normalization:  6.077e-01  1.634e-01  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Fixed Index): -0.00
Ra Dec: 203.323 27.422
Photon Flux Upper Limit: 3.9087033847e-08 ph cm-2 s-1
Energy Flux Upper Limit: 0.00300288559947 MeV cm-2 s-1

Saving results to:
/lscratch/kocevski/33911772/likelihoodResults_806976001_807235201_4FGL_J1333.2+2725_daily_bin2190.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) = 10816.0431509
delta logL = -0.00664820231214

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

MINUIT Return Code (Free Index): 102
logL (Free Index) = 10816.0365116
delta logL = -8.94683398656e-06

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'Prefactor '    .53353E-03   1.0000          .0000       .10000E+07
     2 'Index     '    3.3247       1.0000          .0000       10.000    
     3 'Normalizat'    .60755       1.0000         .10000E-01   10.000    
     4 'Prefactor '    1.3755       1.0000          .0000       10.000    
 **********
 **   15 **SET ERR    .5000    
 **********
 **********
 **   16 **SET GRAD    1.000    
 **********
 **********
 **   17 **MINIMIZE    .5400E+05   .2000E-04
 **********

 MIGRAD MINIMIZATION HAS CONVERGED.

 MIGRAD WILL VERIFY CONVERGENCE AND ERROR MATRIX.

 FCN=   10815.93     FROM MIGRAD    STATUS=CONVERGED     92 CALLS      292 TOTAL
                     EDM=   .19E-07    STRATEGY= 1      ERR MATRIX NOT POS-DEF

  EXT PARAMETER                APPROXIMATE        STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor     .31660E-01    .94599        .42118E-03** at limit **
   2  Index         5.4481        2.6223        .21455        .23935E-04
   3  Normalizat    .58078        .20754E-01    .86608E-01   -.63694E-03
   4  Prefactor     1.3946        .22938E-01    .64211E-01   -.96400E-03
                               ERR DEF=  .500    
Final values: 
  Prefactor  = 0.0316602
  Index      = 5.44815
  Normalizat = 0.580778
  Prefactor  = 1.39458
 **********
 **   18 **HESSE 
 **********

 FCN=   10815.93     FROM HESSE     STATUS=NOT POSDEF    31 CALLS      323 TOTAL
                     EDM=   .51E-08    STRATEGY= 1      ERR MATRIX NOT POS-DEF

  EXT PARAMETER                APPROXIMATE     INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  Prefactor     .31660E-01    7.3522        .38368E-05   -1.5704    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   2  Index         5.4481        5.9588        .10939E-01    .89750E-01
   3  Normalizat    .58078        .12712        .38374E-03   -1.0881    
   4  Prefactor     1.3946        .13839        .28394E-03   -.80537    
                               ERR DEF=  .500    
Minuit fit quality: 2   estimated distance: 5.12503e-09
Minuit parameter uncertainties:
  1  0.964927
  2  14.6062
  3  0.127186
  4  0.138424
L_V02
Working on...
/lscratch/kocevski/33911884/ft1_filtered_4FGL_J1333.2+2725_daily_bin2190.fits.....................!
real 28.87
user 27.31
sys 0.67

Creating the likelihood object...
obs = UnbinnedObs('/lscratch/kocevski/33911884/ft1_filtered_4FGL_J1333.2+2725_daily_bin2190.fits', '/lscratch/kocevski/33911884/ft2_4FGL_J1333.2+2725_daily_bin2190.fits', expMap='/lscratch/kocevski/33911884/expmap_806976001_807235201_4FGL_J1333.2+2725_daily_bin2190.fits', expCube='/lscratch/kocevski/33911884/ltcube_806976001_807235201_4FGL_J1333.2+2725_daily_bin2190.fits', irfs='P8R3_SOURCE_V2')
like = UnbinnedAnalysis(obs, '/lscratch/kocevski/33911884/Model_4FGL_J1333.2+2725_daily_bin2190.xml', optimizer='MINUIT')

Using source of interest name: '4FGL J1333.2+2725'

4FGL J1333.2+2725
   Spectrum: PowerLaw
301    Prefactor:  6.668e+00  0.000e+00  0.000e+00  1.000e+06 ( 1.000e-13)
302        Index:  2.315e+00  0.000e+00  0.000e+00  1.000e+01 (-1.000e+00) fixed
303        Scale:  9.619e+02  0.000e+00  3.000e+01  5.000e+05 ( 1.000e+00) fixed


Likelihood Fit Parameters:
Event file(s): /lscratch/kocevski/33911884/ft1_filtered_4FGL_J1333.2+2725_daily_bin2190.fits
Spacecraft file(s): /lscratch/kocevski/33911884/ft2_4FGL_J1333.2+2725_daily_bin2190.fits
Exposure map: /lscratch/kocevski/33911884/expmap_806976001_807235201_4FGL_J1333.2+2725_daily_bin2190.fits
Exposure cube: /lscratch/kocevski/33911884/ltcube_806976001_807235201_4FGL_J1333.2+2725_daily_bin2190.fits
IRFs: P8R3_SOURCE_V2
Source model file: /lscratch/kocevski/33911884/Model_4FGL_J1333.2+2725_daily_bin2190.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) = 10816.0662445

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

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

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'Prefactor '    12.663       1.0000          .0000       .10000E+07
     2 'norm      '    46.576       1.0000          .0000       .10000E+07
     3 'Prefactor '    .73824       1.0000          .0000       .10000E+07
     4 'norm      '    2.1999       1.0000          .0000       .10000E+07
     5 'Prefactor '    16.138       1.0000          .0000       .10000E+07
     6 'norm      '    .69644E-03   1.0000          .0000       .10000E+07
     7 'norm      '    5.8434       1.0000          .0000       .10000E+07
     8 'norm      '    .29114       1.0000          .0000       .10000E+07
     9 'norm      '    32.118       1.0000          .0000       .10000E+07
    10 'Prefactor '    4.4895       1.0000          .0000       .10000E+07
    11 'Prefactor '    8.7337       1.0000          .0000       .10000E+07
    12 'norm      '    .93667E-03   1.0000          .0000       .10000E+07
    13 'Prefactor '    36.820       1.0000          .0000       .10000E+07
    14 'norm      '    25.059       1.0000          .0000       .10000E+07
    15 'Prefactor '    .11668E-01   1.0000          .0000       .10000E+07
    16 'Prefactor '    .57577E-02   1.0000          .0000       .10000E+07
    17 'Prefactor '    .16906E-03   1.0000          .0000       .10000E+07
    18 'Prefactor '    10.520       1.0000          .0000       .10000E+07
    19 'Prefactor '    257.58       1.0000          .0000       .10000E+07
    20 'Normalizat'    .60858       1.0000         .10000E-01   10.000    
    21 'Prefactor '    1.3748       1.0000          .0000       10.000    
 **********
 **   15 **SET ERR    .5000    
 **********
 **********
 **   16 **SET GRAD    1.000    
 **********
 **********
 **   17 **MINIMIZE    .5400E+05   .2000E-04
 **********

 MIGRAD MINIMIZATION HAS CONVERGED.

 FCN=   10816.04     FROM MIGRAD    STATUS=CONVERGED    195 CALLS     1704 TOTAL
                     EDM=   .85E-09  STRATEGY=1  ERROR MATRIX UNCERTAINTY=  4.4%

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor     12.611        8.3772        .16420E-07   -.11877E-02
   2  norm          46.635        9.4857        .24680E-07    .95423E-02
   3  Prefactor     .93322E-01    1700.9       -.68575E-05** at limit **
   4  norm          2.1990        2.4924       -.19242E-08   -.75051E-03
   5  Prefactor     16.158        13.964        .69668E-07   -.16005E-01
   6  norm          .82157E-08    11.476        .72140E-07** at limit **
   7  norm          6.0200        3.4138        .10918E-06    .25251E-01
   8  norm          .12308E-02    428.63       -.12584E-06** at limit **
   9  norm          32.364        20.643       -.71974E-07    .12047E-01
  10  Prefactor     4.4846        2.9823        .87182E-08    .22680E-02
  11  Prefactor     8.7030        9.8621       -.10736E-07    .12794E-01
  12  norm           .0000        3.4001        .58381E-08** at limit **
  13  Prefactor     37.311        35.905       -.18138E-06   -.11907    
  14  norm          25.139        9.4782       -.23419E-08   -.40950E-02
  15  Prefactor     .18430E-07    14.156       -.19695E-07** at limit **
  16  Prefactor     .49960E-09    6.4413       -.30646E-07** at limit **
  17  Prefactor     .11102E-09    4.8308        .20847E-07** at limit **
  18  Prefactor     10.533        10.419       -.13064E-07   -.13929E-01
  19  Prefactor     257.58        1.7892       -.17652E-09    .56539E-01
  20  Normalizat    .60772        .18837        .76591E-06    .97225E-04
  21  Prefactor     1.3753        .20310       -.52625E-06    .28285E-04
                               ERR DEF=  .500    
Final values: 
  Prefactor  = 12.6112
  norm       = 46.6354
  Prefactor  = 0.093322
  norm       = 2.19902
  Prefactor  = 16.1578
  norm       = 8.21565e-09
  norm       = 6.01999
  norm       = 0.00123076
  norm       = 32.3644
  Prefactor  = 4.48465
  Prefactor  = 8.70304
  norm       = 0
  Prefactor  = 37.3111
  norm       = 25.1389
  Prefactor  = 1.84297e-08
  Prefactor  = 4.996e-10
  Prefactor  = 1.11022e-10
  Prefactor  = 10.5327
  Prefactor  = 257.579
  Normalizat = 0.607723
  Prefactor  = 1.37534
shell-init: error retrieving current directory: getcwd: cannot access parent directories: No such file or directory
Done.

MINUIT Return Code (Free Index): 102
logL (Free Index) = 10815.9251924
delta logL = 0.111310292963

Extracting fit parameters...

4FGL J1333.2+2725
   Spectrum: PowerLaw
301    Prefactor:  3.166e-02  9.649e-01  0.000e+00  1.000e+06 ( 1.000e-13)
302        Index:  5.448e+00  1.461e+01  0.000e+00  1.000e+01 (-1.000e+00)
303        Scale:  9.619e+02  0.000e+00  3.000e+01  5.000e+05 ( 1.000e+00) fixed

GAL_V02
   Spectrum: PowerLaw
537    Prefactor:  1.395e+00  1.384e-01  0.000e+00  1.000e+01 ( 1.000e+00)
538        Index:  0.000e+00  0.000e+00 -1.000e+00  1.000e+00 ( 1.000e+00) fixed
539        Scale:  1.000e+02  0.000e+00  5.000e+01  2.000e+02 ( 1.000e+00) fixed

EG_v02
   Spectrum: FileFunction
536   Normalization:  5.808e-01  1.272e-01  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Free Index): -0.00
Ra Dec: 203.323 27.422

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/33911772/cmap_HighResolution_806976001_807235201_4FGL_J1333.2+2725_daily_bin2190.png

Cleaning up...

** Nuclear option initiated! **

Updating database...

UPDATE lightcurve_data_v2 SET energy_flux_upper_limit='3.00e-03', job_status='DONE', photon_flux_upper_limit='3.91e-08', time_completed='2026-08-01 13:36:58.626722', job_id='33911772', GAL2='1.39', fit_tolerance='1e-08', EG2='0.58', EG='0.61', time_epoch_completed='1785616618.63', return_code2='102', ts='-0.00', comment='SUCCESS', return_code='0', GAL='1.38', dlogl='1.11e-01', ts2='0.24', photon_index_error='0.00', photon_index='2.32' WHERE bin_id='2190' AND source_name='4FGL J1333.2+2725' AND cadence='daily';

Database successfully updated.


Analysis Complete.


Sat Aug  1 13:36:59 PDT 2026

L_V02
Working on...
/lscratch/kocevski/33911901/ft1_filtered_4FGL_J1333.2+2725_daily_bin2190.fits.....................!
real 29.47
user 27.69
sys 0.92

Creating the likelihood object...
obs = UnbinnedObs('/lscratch/kocevski/33911901/ft1_filtered_4FGL_J1333.2+2725_daily_bin2190.fits', '/lscratch/kocevski/33911901/ft2_4FGL_J1333.2+2725_daily_bin2190.fits', expMap='/lscratch/kocevski/33911901/expmap_806976001_807235201_4FGL_J1333.2+2725_daily_bin2190.fits', expCube='/lscratch/kocevski/33911901/ltcube_806976001_807235201_4FGL_J1333.2+2725_daily_bin2190.fits', irfs='P8R3_SOURCE_V2')
like = UnbinnedAnalysis(obs, '/lscratch/kocevski/33911901/Model_4FGL_J1333.2+2725_daily_bin2190.xml', optimizer='MINUIT')

Using source of interest name: '4FGL J1333.2+2725'

4FGL J1333.2+2725
   Spectrum: PowerLaw
301    Prefactor:  6.668e+00  0.000e+00  0.000e+00  1.000e+06 ( 1.000e-13)
302        Index:  2.315e+00  0.000e+00  0.000e+00  1.000e+01 (-1.000e+00) fixed
303        Scale:  9.619e+02  0.000e+00  3.000e+01  5.000e+05 ( 1.000e+00) fixed


Likelihood Fit Parameters:
Event file(s): /lscratch/kocevski/33911901/ft1_filtered_4FGL_J1333.2+2725_daily_bin2190.fits
Spacecraft file(s): /lscratch/kocevski/33911901/ft2_4FGL_J1333.2+2725_daily_bin2190.fits
Exposure map: /lscratch/kocevski/33911901/expmap_806976001_807235201_4FGL_J1333.2+2725_daily_bin2190.fits
Exposure cube: /lscratch/kocevski/33911901/ltcube_806976001_807235201_4FGL_J1333.2+2725_daily_bin2190.fits
IRFs: P8R3_SOURCE_V2
Source model file: /lscratch/kocevski/33911901/Model_4FGL_J1333.2+2725_daily_bin2190.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) = 10816.0662445

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

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

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'Prefactor '    12.663       1.0000          .0000       .10000E+07
     2 'norm      '    46.576       1.0000          .0000       .10000E+07
     3 'Prefactor '    .73824       1.0000          .0000       .10000E+07
     4 'norm      '    2.1999       1.0000          .0000       .10000E+07
     5 'Prefactor '    16.138       1.0000          .0000       .10000E+07
     6 'norm      '    .69644E-03   1.0000          .0000       .10000E+07
     7 'norm      '    5.8434       1.0000          .0000       .10000E+07
     8 'norm      '    .29114       1.0000          .0000       .10000E+07
     9 'norm      '    32.118       1.0000          .0000       .10000E+07
    10 'Prefactor '    4.4895       1.0000          .0000       .10000E+07
    11 'Prefactor '    8.7337       1.0000          .0000       .10000E+07
    12 'norm      '    .93667E-03   1.0000          .0000       .10000E+07
    13 'Prefactor '    36.820       1.0000          .0000       .10000E+07
    14 'norm      '    25.059       1.0000          .0000       .10000E+07
    15 'Prefactor '    .11668E-01   1.0000          .0000       .10000E+07
    16 'Prefactor '    .57577E-02   1.0000          .0000       .10000E+07
    17 'Prefactor '    .16906E-03   1.0000          .0000       .10000E+07
    18 'Prefactor '    10.520       1.0000          .0000       .10000E+07
    19 'Prefactor '    257.58       1.0000          .0000       .10000E+07
    20 'Normalizat'    .60858       1.0000         .10000E-01   10.000    
    21 'Prefactor '    1.3748       1.0000          .0000       10.000    
 **********
 **   15 **SET ERR    .5000    
 **********
 **********
 **   16 **SET GRAD    1.000    
 **********
 **********
 **   17 **MINIMIZE    .5400E+05   .2000E-04
 **********

 MIGRAD MINIMIZATION HAS CONVERGED.

 FCN=   10816.04     FROM MIGRAD    STATUS=CONVERGED    195 CALLS     1704 TOTAL
                     EDM=   .85E-09  STRATEGY=1  ERROR MATRIX UNCERTAINTY=  4.4%

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor     12.611        8.3772        .16420E-07   -.11877E-02
   2  norm          46.635        9.4857        .24680E-07    .95423E-02
   3  Prefactor     .93322E-01    1700.9       -.68575E-05** at limit **
   4  norm          2.1990        2.4924       -.19242E-08   -.75051E-03
   5  Prefactor     16.158        13.964        .69668E-07   -.16005E-01
   6  norm          .82157E-08    11.476        .72140E-07** at limit **
   7  norm          6.0200        3.4138        .10918E-06    .25251E-01
   8  norm          .12308E-02    428.63       -.12584E-06** at limit **
   9  norm          32.364        20.643       -.71974E-07    .12047E-01
  10  Prefactor     4.4846        2.9823        .87182E-08    .22680E-02
  11  Prefactor     8.7030        9.8621       -.10736E-07    .12794E-01
  12  norm           .0000        3.4001        .58381E-08** at limit **
  13  Prefactor     37.311        35.905       -.18138E-06   -.11907    
  14  norm          25.139        9.4782       -.23419E-08   -.40950E-02
  15  Prefactor     .18430E-07    14.156       -.19695E-07** at limit **
  16  Prefactor     .49960E-09    6.4413       -.30646E-07** at limit **
  17  Prefactor     .11102E-09    4.8308        .20847E-07** at limit **
  18  Prefactor     10.533        10.419       -.13064E-07   -.13929E-01
  19  Prefactor     257.58        1.7892       -.17652E-09    .56539E-01
  20  Normalizat    .60772        .18837        .76591E-06    .97225E-04
  21  Prefactor     1.3753        .20310       -.52625E-06    .28285E-04
                               ERR DEF=  .500    
Final values: 
  Prefactor  = 12.6112
  norm       = 46.6354
  Prefactor  = 0.093322
  norm       = 2.19902
  Prefactor  = 16.1578
  norm       = 8.21565e-09
  norm       = 6.01999
  norm       = 0.00123076
  norm       = 32.3644
  Prefactor  = 4.48465
  Prefactor  = 8.70304
  norm       = 0
  Prefactor  = 37.3111
  norm       = 25.1389
  Prefactor  = 1.84297e-08
  Prefactor  = 4.996e-10
  Prefactor  = 1.11022e-10
  Prefactor  = 10.5327
  Prefactor  = 257.579
  Normalizat = 0.607723
  Prefactor  = 1.37534
 **********
 **   18 **HESSE 
 **********

 FCN=   10816.04     FROM HESSE     STATUS=OK           383 CALLS     2087 TOTAL
                     EDM=   .84E-06    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  Prefactor     12.611        8.4021        .28124E-03   -1.5637    
   2  norm          46.635        9.6053        .14654E-03   -1.5571    
   3  Prefactor     .93322E-01    35.867        .10432E-01   -1.5702    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   4  norm          2.1990        2.5082        .69343E-03   -1.5678    
   5  Prefactor     16.158        14.169        .24905E-03   -1.5628    
   6  norm          .82157E-08    11.121        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   7  norm          6.0200        4.1711        .41522E-03   -1.5659    
   8  norm          .12308E-02    5.3174        .71951E-02   -1.5709    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   9  norm          32.364        20.789        .17648E-03   -1.5594    
  10  Prefactor     4.4846        3.0198        .47495E-03   -1.5666    
  11  Prefactor     8.7030        9.9695        .33894E-03   -1.5649    
  12  norm           .0000        3.3944        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  13  Prefactor     37.311        45.971        .16482E-03   -1.5586    
  14  norm          25.139        9.5186        .19980E-03   -1.5608    
  15  Prefactor     .18430E-07    14.162        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  16  Prefactor     .49960E-09    6.4556        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  17  Prefactor     .11102E-09    4.6864        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  18  Prefactor     10.533        10.465        .30866E-03   -1.5643    
  19  Prefactor     257.58        14.664        .62316E-04   -1.5387    
  20  Normalizat    .60772        .16323        .84718E-01   -1.0766    
  21  Prefactor     1.3753        .17254        .64567E-01   -.81093    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 8.43351e-07
Minuit parameter uncertainties:
  1  8.40211
  2  9.60531
  3  3.65908
  4  2.50818
  5  14.1694
  6  0.000604659
  7  4.17111
  8  0.161795
  9  20.789
  10  3.01978
  11  9.96952
  12  6.09087e-06
  13  45.971
  14  9.51864
  15  0.00102231
  16  0.000111332
  17  4.91843e-05
  18  10.4648
  19  14.6635
  20  0.163356
  21  0.172616
 **********
 **   18 **HESSE 
 **********

 FCN=   10816.04     FROM HESSE     STATUS=OK           383 CALLS     2087 TOTAL
                     EDM=   .84E-06    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  Prefactor     12.611        8.4021        .28124E-03   -1.5637    
   2  norm          46.635        9.6053        .14654E-03   -1.5571    
   3  Prefactor     .93322E-01    35.867        .10432E-01   -1.5702    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   4  norm          2.1990        2.5082        .69343E-03   -1.5678    
   5  Prefactor     16.158        14.169        .24905E-03   -1.5628    
   6  norm          .82157E-08    11.121        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   7  norm          6.0200        4.1711        .41522E-03   -1.5659    
   8  norm          .12308E-02    5.3174        .71951E-02   -1.5709    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   9  norm          32.364        20.789        .17648E-03   -1.5594    
  10  Prefactor     4.4846        3.0198        .47495E-03   -1.5666    
  11  Prefactor     8.7030        9.9695        .33894E-03   -1.5649    
  12  norm           .0000        3.3944        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  13  Prefactor     37.311        45.971        .16482E-03   -1.5586    
  14  norm          25.139        9.5186        .19980E-03   -1.5608    
  15  Prefactor     .18430E-07    14.162        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  16  Prefactor     .49960E-09    6.4556        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  17  Prefactor     .11102E-09    4.6864        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  18  Prefactor     10.533        10.465        .30866E-03   -1.5643    
  19  Prefactor     257.58        14.664        .62316E-04   -1.5387    
  20  Normalizat    .60772        .16323        .84718E-01   -1.0766    
  21  Prefactor     1.3753        .17254        .64567E-01   -.81093    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 8.43351e-07
Minuit parameter uncertainties:
  1  8.40211
  2  9.60531
  3  3.65908
  4  2.50818
  5  14.1694
  6  0.000604659
  7  4.17111
  8  0.161795
  9  20.789
  10  3.01978
  11  9.96952
  12  6.09087e-06
  13  45.971
  14  9.51864
  15  0.00102231
  16  0.000111332
  17  4.91843e-05
  18  10.4648
  19  14.6635
  20  0.163356
  21  0.172616
Done.

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

Extracting fit parameters...

4FGL J1333.2+2725
   Spectrum: PowerLaw
301    Prefactor:  4.996e-10  1.113e-04  0.000e+00  1.000e+06 ( 1.000e-13)
302        Index:  2.315e+00  0.000e+00  0.000e+00  1.000e+01 (-1.000e+00) fixed
303        Scale:  9.619e+02  0.000e+00  3.000e+01  5.000e+05 ( 1.000e+00) fixed

GAL_V02
   Spectrum: PowerLaw
537    Prefactor:  1.375e+00  1.726e-01  0.000e+00  1.000e+01 ( 1.000e+00)
538        Index:  0.000e+00  0.000e+00 -1.000e+00  1.000e+00 ( 1.000e+00) fixed
539        Scale:  1.000e+02  0.000e+00  5.000e+01  2.000e+02 ( 1.000e+00) fixed

EG_v02
   Spectrum: FileFunction
536   Normalization:  6.077e-01  1.634e-01  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Fixed Index): -0.00
Ra Dec: 203.323 27.422
Photon Flux Upper Limit: 3.9087033847e-08 ph cm-2 s-1
Energy Flux Upper Limit: 0.00300288559947 MeV cm-2 s-1

Saving results to:
/lscratch/kocevski/33911884/likelihoodResults_806976001_807235201_4FGL_J1333.2+2725_daily_bin2190.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) = 10816.0431509
delta logL = -0.00664820231214

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

MINUIT Return Code (Free Index): 102
logL (Free Index) = 10816.0365116
delta logL = -8.94683398656e-06

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'Prefactor '    .53353E-03   1.0000          .0000       .10000E+07
     2 'Index     '    3.3247       1.0000          .0000       10.000    
     3 'Normalizat'    .60755       1.0000         .10000E-01   10.000    
     4 'Prefactor '    1.3755       1.0000          .0000       10.000    
 **********
 **   15 **SET ERR    .5000    
 **********
 **********
 **   16 **SET GRAD    1.000    
 **********
 **********
 **   17 **MINIMIZE    .5400E+05   .2000E-04
 **********

 MIGRAD MINIMIZATION HAS CONVERGED.

 MIGRAD WILL VERIFY CONVERGENCE AND ERROR MATRIX.

 FCN=   10815.93     FROM MIGRAD    STATUS=CONVERGED     92 CALLS      292 TOTAL
                     EDM=   .19E-07    STRATEGY= 1      ERR MATRIX NOT POS-DEF

  EXT PARAMETER                APPROXIMATE        STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor     .31660E-01    .94599        .42118E-03** at limit **
   2  Index         5.4481        2.6223        .21455        .23935E-04
   3  Normalizat    .58078        .20754E-01    .86608E-01   -.63694E-03
   4  Prefactor     1.3946        .22938E-01    .64211E-01   -.96400E-03
                               ERR DEF=  .500    
Final values: 
  Prefactor  = 0.0316602
  Index      = 5.44815
  Normalizat = 0.580778
  Prefactor  = 1.39458
 **********
 **   18 **HESSE 
 **********

 FCN=   10815.93     FROM HESSE     STATUS=NOT POSDEF    31 CALLS      323 TOTAL
                     EDM=   .51E-08    STRATEGY= 1      ERR MATRIX NOT POS-DEF

  EXT PARAMETER                APPROXIMATE     INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  Prefactor     .31660E-01    7.3522        .38368E-05   -1.5704    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   2  Index         5.4481        5.9588        .10939E-01    .89750E-01
   3  Normalizat    .58078        .12712        .38374E-03   -1.0881    
   4  Prefactor     1.3946        .13839        .28394E-03   -.80537    
                               ERR DEF=  .500    
Minuit fit quality: 2   estimated distance: 5.12503e-09
Minuit parameter uncertainties:
  1  0.964927
  2  14.6062
  3  0.127186
  4  0.138424
shell-init: error retrieving current directory: getcwd: cannot access parent directories: No such file or directory
Done.

MINUIT Return Code (Free Index): 102
logL (Free Index) = 10815.9251924
delta logL = 0.111310292963

Extracting fit parameters...

4FGL J1333.2+2725
   Spectrum: PowerLaw
301    Prefactor:  3.166e-02  9.649e-01  0.000e+00  1.000e+06 ( 1.000e-13)
302        Index:  5.448e+00  1.461e+01  0.000e+00  1.000e+01 (-1.000e+00)
303        Scale:  9.619e+02  0.000e+00  3.000e+01  5.000e+05 ( 1.000e+00) fixed

GAL_V02
   Spectrum: PowerLaw
537    Prefactor:  1.395e+00  1.384e-01  0.000e+00  1.000e+01 ( 1.000e+00)
538        Index:  0.000e+00  0.000e+00 -1.000e+00  1.000e+00 ( 1.000e+00) fixed
539        Scale:  1.000e+02  0.000e+00  5.000e+01  2.000e+02 ( 1.000e+00) fixed

EG_v02
   Spectrum: FileFunction
536   Normalization:  5.808e-01  1.272e-01  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Free Index): -0.00
Ra Dec: 203.323 27.422

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/33911884/cmap_HighResolution_806976001_807235201_4FGL_J1333.2+2725_daily_bin2190.png

Cleaning up...

** Nuclear option initiated! **

Updating database...

UPDATE lightcurve_data_v2 SET energy_flux_upper_limit='3.00e-03', job_status='DONE', photon_flux_upper_limit='3.91e-08', time_completed='2026-08-01 13:37:57.360112', job_id='33911884', GAL2='1.39', fit_tolerance='1e-08', EG2='0.58', EG='0.61', time_epoch_completed='1785616677.36', return_code2='102', ts='-0.00', comment='SUCCESS', return_code='0', GAL='1.38', dlogl='1.11e-01', ts2='0.24', photon_index_error='0.00', photon_index='2.32' WHERE bin_id='2190' AND source_name='4FGL J1333.2+2725' AND cadence='daily';

Database successfully updated.


Analysis Complete.


Sat Aug  1 13:37:57 PDT 2026

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


Performing analysis on: 4FGL_J1333.2+2725_daily_bin2190
RA = 203.323, Dec = 27.4221
tmin = 806976001, tmax = 807235201
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='33912065', job_status='RUN', time_executed='2026-08-01 13:35:05.372656', time_epoch_executed='1785616505.37' WHERE source_name='4FGL J1333.2+2725' and cadence='daily' and bin_id='2190'

Database successfully updated.
Done.

Creating custom output directory:
/lscratch/kocevski/33912065

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

Retrieving the FT1 file...

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

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

Retrieving 46 files...
Done.


Merging files...

Checksum keywords updated successfully.

Merged file saved to:
/lscratch/kocevski/33912065/ft1_4FGL_J1333.2+2725_daily_bin2190.fits


Retrieving the FT1 file...

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

Retrieving 46 files...
Done.


Merging files...

Merged file saved to:
/lscratch/kocevski/33912065/ft2_4FGL_J1333.2+2725_daily_bin2190.fits


Selecting the photons:
time -p gtselect infile=/lscratch/kocevski/33912065/ft1_4FGL_J1333.2+2725_daily_bin2190.fits outfile=/lscratch/kocevski/33912065/ft1_filteredMKT_4FGL_J1333.2+2725_daily_bin2190.fits ra=203.323 dec=27.4221 rad=12.0 tmin=806976001.0 tmax=807235201.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.25
user 1.39
sys 0.17

Adding sun position to ft2 file:
/sdf/group/fermi/g/LCRepository/Repository/bin/sunpos /lscratch/kocevski/33912065/ft2_4FGL_J1333.2+2725_daily_bin2190.fits

Selecting the good time intervals:
time -p gtmktime scfile=/lscratch/kocevski/33912065/ft2_4FGL_J1333.2+2725_daily_bin2190.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/33912065/ft1_filteredMKT_4FGL_J1333.2+2725_daily_bin2190.fits evtable="EVENTS" outfile="/lscratch/kocevski/33912065/ft1_filtered_4FGL_J1333.2+2725_daily_bin2190.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.95
user 0.16
sys 0.14

Number of photons that the gtmktime cut: 1093

Generating the livetime cube:
time -p gtltcube evfile="/lscratch/kocevski/33912065/ft1_filtered_4FGL_J1333.2+2725_daily_bin2190.fits" evtable="EVENTS" scfile=/lscratch/kocevski/33912065/ft2_4FGL_J1333.2+2725_daily_bin2190.fits sctable="SC_DATA" oDone.

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

Extracting fit parameters...

4FGL J1333.2+2725
   Spectrum: PowerLaw
301    Prefactor:  4.996e-10  1.113e-04  0.000e+00  1.000e+06 ( 1.000e-13)
302        Index:  2.315e+00  0.000e+00  0.000e+00  1.000e+01 (-1.000e+00) fixed
303        Scale:  9.619e+02  0.000e+00  3.000e+01  5.000e+05 ( 1.000e+00) fixed

GAL_V02
   Spectrum: PowerLaw
537    Prefactor:  1.375e+00  1.726e-01  0.000e+00  1.000e+01 ( 1.000e+00)
538        Index:  0.000e+00  0.000e+00 -1.000e+00  1.000e+00 ( 1.000e+00) fixed
539        Scale:  1.000e+02  0.000e+00  5.000e+01  2.000e+02 ( 1.000e+00) fixed

EG_v02
   Spectrum: FileFunction
536   Normalization:  6.077e-01  1.634e-01  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Fixed Index): -0.00
Ra Dec: 203.323 27.422
Photon Flux Upper Limit: 3.9087033847e-08 ph cm-2 s-1
Energy Flux Upper Limit: 0.00300288559947 MeV cm-2 s-1

Saving results to:
/lscratch/kocevski/33911901/likelihoodResults_806976001_807235201_4FGL_J1333.2+2725_daily_bin2190.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) = 10816.0431509
delta logL = -0.00664820231214

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

MINUIT Return Code (Free Index): 102
logL (Free Index) = 10816.0365116
delta logL = -8.94683398656e-06

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'Prefactor '    .53353E-03   1.0000          .0000       .10000E+07
     2 'Index     '    3.3247       1.0000          .0000       10.000    
     3 'Normalizat'    .60755       1.0000         .10000E-01   10.000    
     4 'Prefactor '    1.3755       1.0000          .0000       10.000    
 **********
 **   15 **SET ERR    .5000    
 **********
 **********
 **   16 **SET GRAD    1.000    
 **********
 **********
 **   17 **MINIMIZE    .5400E+05   .2000E-04
 **********

 MIGRAD MINIMIZATION HAS CONVERGED.

 MIGRAD WILL VERIFY CONVERGENCE AND ERROR MATRIX.

 FCN=   10815.93     FROM MIGRAD    STATUS=CONVERGED     92 CALLS      292 TOTAL
                     EDM=   .19E-07    STRATEGY= 1      ERR MATRIX NOT POS-DEF

  EXT PARAMETER                APPROXIMATE        STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor     .31660E-01    .94599        .42118E-03** at limit **
   2  Index         5.4481        2.6223        .21455        .23935E-04
   3  Normalizat    .58078        .20754E-01    .86608E-01   -.63694E-03
   4  Prefactor     1.3946        .22938E-01    .64211E-01   -.96400E-03
                               ERR DEF=  .500    
Final values: 
  Prefactor  = 0.0316602
  Index      = 5.44815
  Normalizat = 0.580778
  Prefactor  = 1.39458
 **********
 **   18 **HESSE 
 **********

 FCN=   10815.93     FROM HESSE     STATUS=NOT POSDEF    31 CALLS      323 TOTAL
                     EDM=   .51E-08    STRATEGY= 1      ERR MATRIX NOT POS-DEF

  EXT PARAMETER                APPROXIMATE     INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  Prefactor     .31660E-01    7.3522        .38368E-05   -1.5704    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   2  Index         5.4481        5.9588        .10939E-01    .89750E-01
   3  Normalizat    .58078        .12712        .38374E-03   -1.0881    
   4  Prefactor     1.3946        .13839        .28394E-03   -.80537    
                               ERR DEF=  .500    
Minuit fit quality: 2   estimated distance: 5.12503e-09
Minuit parameter uncertainties:
  1  0.964927
  2  14.6062
  3  0.127186
  4  0.138424
shell-init: error retrieving current directory: getcwd: cannot access parent directories: No such file or directory
Done.

MINUIT Return Code (Free Index): 102
logL (Free Index) = 10815.9251924
delta logL = 0.111310292963

Extracting fit parameters...

4FGL J1333.2+2725
   Spectrum: PowerLaw
301    Prefactor:  3.166e-02  9.649e-01  0.000e+00  1.000e+06 ( 1.000e-13)
302        Index:  5.448e+00  1.461e+01  0.000e+00  1.000e+01 (-1.000e+00)
303        Scale:  9.619e+02  0.000e+00  3.000e+01  5.000e+05 ( 1.000e+00) fixed

GAL_V02
   Spectrum: PowerLaw
537    Prefactor:  1.395e+00  1.384e-01  0.000e+00  1.000e+01 ( 1.000e+00)
538        Index:  0.000e+00  0.000e+00 -1.000e+00  1.000e+00 ( 1.000e+00) fixed
539        Scale:  1.000e+02  0.000e+00  5.000e+01  2.000e+02 ( 1.000e+00) fixed

EG_v02
   Spectrum: FileFunction
536   Normalization:  5.808e-01  1.272e-01  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Free Index): -0.00
Ra Dec: 203.323 27.422

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/33911901/cmap_HighResolution_806976001_807235201_4FGL_J1333.2+2725_daily_bin2190.png

Cleaning up...

** Nuclear option initiated! **

Updating database...

UPDATE lightcurve_data_v2 SET energy_flux_upper_limit='3.00e-03', job_status='DONE', photon_flux_upper_limit='3.91e-08', time_completed='2026-08-01 13:38:09.453544', job_id='33911901', GAL2='1.39', fit_tolerance='1e-08', EG2='0.58', EG='0.61', time_epoch_completed='1785616689.45', return_code2='102', ts='-0.00', comment='SUCCESS', return_code='0', GAL='1.38', dlogl='1.11e-01', ts2='0.24', photon_index_error='0.00', photon_index='2.32' WHERE bin_id='2190' AND source_name='4FGL J1333.2+2725' AND cadence='daily';

Database successfully updated.


Analysis Complete.


Sat Aug  1 13:38:09 PDT 2026

utfile=/lscratch/kocevski/33912065/ltcube_806976001_807235201_4FGL_J1333.2+2725_daily_bin2190.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/33912065/ft2_4FGL_J1333.2+2725_daily_bin2190.fits
.....................!
real 7.75
user 6.96
sys 0.20

Generating the exposure map:
time -p gtexpmap evfile=/lscratch/kocevski/33912065/ft1_filtered_4FGL_J1333.2+2725_daily_bin2190.fits evtable="EVENTS" scfile=/lscratch/kocevski/33912065/ft2_4FGL_J1333.2+2725_daily_bin2190.fits sctable="SC_DATA" expcube=/lscratch/kocevski/33912065/ltcube_806976001_807235201_4FGL_J1333.2+2725_daily_bin2190.fits outfile=/lscratch/kocevski/33912065/expmap_806976001_807235201_4FGL_J1333.2+2725_daily_bin2190.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/33912065/ltcube_806976001_807235201_4FGL_J1333.2+2725_daily_bin2190.fits
.....................!
real 59.98
user 55.47
sys 3.56

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

Setting source of interest to:
4FGL J1333.2+2725 @ 203.323 27.4221

Creating the counts map:
time -p gtbin evfile=/lscratch/kocevski/33912065/ft1_filtered_4FGL_J1333.2+2725_daily_bin2190.fits scfile=/lscratch/kocevski/33912065/ft2_4FGL_J1333.2+2725_daily_bin2190.fits outfile=/lscratch/kocevski/33912065/cmap_806976001_807235201_4FGL_J1333.2+2725_daily_bin2190.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=203.323 yref=27.4221 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.19
sys 0.12

Creating the high resolution counts map:
time -p gtbin evfile=/lscratch/kocevski/33912065/ft1_filtered_4FGL_J1333.2+2725_daily_bin2190.fits scfile=/lscratch/kocevski/33912065/ft2_4FGL_J1333.2+2725_daily_bin2190.fits outfile=/lscratch/kocevski/33912065/cmap_HighResolution_806976001_807235201_4FGL_J1333.2+2725_daily_bin2190.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=203.323 yref=27.4221 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.94
user 0.18
sys 0.14

Computing the diffuse response:
time -p gtdiffrsp evfile=/lscratch/kocevski/33912065/ft1_filtered_4FGL_J1333.2+2725_daily_bin2190.fits evtable="EVENTS" scfile=/lscratch/kocevski/33912065/ft2_4FGL_J1333.2+2725_daily_bin2190.fits sctable="SC_DATA" srcmdl=/lscratch/kocevski/33912065/Model_4FGL_J1333.2+2725_daily_bin2190.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/33912065/ft1_filtered_4FGL_J1333.2+2725_daily_bin2190.fits.....................!
real 29.02
user 27.20
sys 0.92

Creating the likelihood object...
obs = UnbinnedObs('/lscratch/kocevski/33912065/ft1_filtered_4FGL_J1333.2+2725_daily_bin2190.fits', '/lscratch/kocevski/33912065/ft2_4FGL_J1333.2+2725_daily_bin2190.fits', expMap='/lscratch/kocevski/33912065/expmap_806976001_807235201_4FGL_J1333.2+2725_daily_bin2190.fits', expCube='/lscratch/kocevski/33912065/ltcube_806976001_807235201_4FGL_J1333.2+2725_daily_bin2190.fits', irfs='P8R3_SOURCE_V2')
like = UnbinnedAnalysis(obs, '/lscratch/kocevski/33912065/Model_4FGL_J1333.2+2725_daily_bin2190.xml', optimizer='MINUIT')

Using source of interest name: '4FGL J1333.2+2725'

4FGL J1333.2+2725
   Spectrum: PowerLaw
301    Prefactor:  6.668e+00  0.000e+00  0.000e+00  1.000e+06 ( 1.000e-13)
302        Index:  2.315e+00  0.000e+00  0.000e+00  1.000e+01 (-1.000e+00) fixed
303        Scale:  9.619e+02  0.000e+00  3.000e+01  5.000e+05 ( 1.000e+00) fixed


Likelihood Fit Parameters:
Event file(s): /lscratch/kocevski/33912065/ft1_filtered_4FGL_J1333.2+2725_daily_bin2190.fits
Spacecraft file(s): /lscratch/kocevski/33912065/ft2_4FGL_J1333.2+2725_daily_bin2190.fits
Exposure map: /lscratch/kocevski/33912065/expmap_806976001_807235201_4FGL_J1333.2+2725_daily_bin2190.fits
Exposure cube: /lscratch/kocevski/33912065/ltcube_806976001_807235201_4FGL_J1333.2+2725_daily_bin2190.fits
IRFs: P8R3_SOURCE_V2
Source model file: /lscratch/kocevski/33912065/Model_4FGL_J1333.2+2725_daily_bin2190.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) = 10816.0662445

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

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

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'Prefactor '    12.663       1.0000          .0000       .10000E+07
     2 'norm      '    46.576       1.0000          .0000       .10000E+07
     3 'Prefactor '    .73824       1.0000          .0000       .10000E+07
     4 'norm      '    2.1999       1.0000          .0000       .10000E+07
     5 'Prefactor '    16.138       1.0000          .0000       .10000E+07
     6 'norm      '    .69644E-03   1.0000          .0000       .10000E+07
     7 'norm      '    5.8434       1.0000          .0000       .10000E+07
     8 'norm      '    .29114       1.0000          .0000       .10000E+07
     9 'norm      '    32.118       1.0000          .0000       .10000E+07
    10 'Prefactor '    4.4895       1.0000          .0000       .10000E+07
    11 'Prefactor '    8.7337       1.0000          .0000       .10000E+07
    12 'norm      '    .93667E-03   1.0000          .0000       .10000E+07
    13 'Prefactor '    36.820       1.0000          .0000       .10000E+07
    14 'norm      '    25.059       1.0000          .0000       .10000E+07
    15 'Prefactor '    .11668E-01   1.0000          .0000       .10000E+07
    16 'Prefactor '    .57577E-02   1.0000          .0000       .10000E+07
    17 'Prefactor '    .16906E-03   1.0000          .0000       .10000E+07
    18 'Prefactor '    10.520       1.0000          .0000       .10000E+07
    19 'Prefactor '    257.58       1.0000          .0000       .10000E+07
    20 'Normalizat'    .60858       1.0000         .10000E-01   10.000    
    21 'Prefactor '    1.3748       1.0000          .0000       10.000    
 **********
 **   15 **SET ERR    .5000    
 **********
 **********
 **   16 **SET GRAD    1.000    
 **********
 **********
 **   17 **MINIMIZE    .5400E+05   .2000E-04
 **********

 MIGRAD MINIMIZATION HAS CONVERGED.

 FCN=   10816.04     FROM MIGRAD    STATUS=CONVERGED    195 CALLS     1704 TOTAL
                     EDM=   .85E-09  STRATEGY=1  ERROR MATRIX UNCERTAINTY=  4.4%

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor     12.611        8.3772        .16420E-07   -.11877E-02
   2  norm          46.635        9.4857        .24680E-07    .95423E-02
   3  Prefactor     .93322E-01    1700.9       -.68575E-05** at limit **
   4  norm          2.1990        2.4924       -.19242E-08   -.75051E-03
   5  Prefactor     16.158        13.964        .69668E-07   -.16005E-01
   6  norm          .82157E-08    11.476        .72140E-07** at limit **
   7  norm          6.0200        3.4138        .10918E-06    .25251E-01
   8  norm          .12308E-02    428.63       -.12584E-06** at limit **
   9  norm          32.364        20.643       -.71974E-07    .12047E-01
  10  Prefactor     4.4846        2.9823        .87182E-08    .22680E-02
  11  Prefactor     8.7030        9.8621       -.10736E-07    .12794E-01
  12  norm           .0000        3.4001        .58381E-08** at limit **
  13  Prefactor     37.311        35.905       -.18138E-06   -.11907    
  14  norm          25.139        9.4782       -.23419E-08   -.40950E-02
  15  Prefactor     .18430E-07    14.156       -.19695E-07** at limit **
  16  Prefactor     .49960E-09    6.4413       -.30646E-07** at limit **
  17  Prefactor     .11102E-09    4.8308        .20847E-07** at limit **
  18  Prefactor     10.533        10.419       -.13064E-07   -.13929E-01
  19  Prefactor     257.58        1.7892       -.17652E-09    .56539E-01
  20  Normalizat    .60772        .18837        .76591E-06    .97225E-04
  21  Prefactor     1.3753        .20310       -.52625E-06    .28285E-04
                               ERR DEF=  .500    
Final values: 
  Prefactor  = 12.6112
  norm       = 46.6354
  Prefactor  = 0.093322
  norm       = 2.19902
  Prefactor  = 16.1578
  norm       = 8.21565e-09
  norm       = 6.01999
  norm       = 0.00123076
  norm       = 32.3644
  Prefactor  = 4.48465
  Prefactor  = 8.70304
  norm       = 0
  Prefactor  = 37.3111
  norm       = 25.1389
  Prefactor  = 1.84297e-08
  Prefactor  = 4.996e-10
  Prefactor  = 1.11022e-10
  Prefactor  = 10.5327
  Prefactor  = 257.579
  Normalizat = 0.607723
  Prefactor  = 1.37534
 **********
 **   18 **HESSE 
 **********

 FCN=   10816.04     FROM HESSE     STATUS=OK           383 CALLS     2087 TOTAL
                     EDM=   .84E-06    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  Prefactor     12.611        8.4021        .28124E-03   -1.5637    
   2  norm          46.635        9.6053        .14654E-03   -1.5571    
   3  Prefactor     .93322E-01    35.867        .10432E-01   -1.5702    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   4  norm          2.1990        2.5082        .69343E-03   -1.5678    
   5  Prefactor     16.158        14.169        .24905E-03   -1.5628    
   6  norm          .82157E-08    11.121        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   7  norm          6.0200        4.1711        .41522E-03   -1.5659    
   8  norm          .12308E-02    5.3174        .71951E-02   -1.5709    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   9  norm          32.364        20.789        .17648E-03   -1.5594    
  10  Prefactor     4.4846        3.0198        .47495E-03   -1.5666    
  11  Prefactor     8.7030        9.9695        .33894E-03   -1.5649    
  12  norm           .0000        3.3944        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  13  Prefactor     37.311        45.971        .16482E-03   -1.5586    
  14  norm          25.139        9.5186        .19980E-03   -1.5608    
  15  Prefactor     .18430E-07    14.162        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  16  Prefactor     .49960E-09    6.4556        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  17  Prefactor     .11102E-09    4.6864        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  18  Prefactor     10.533        10.465        .30866E-03   -1.5643    
  19  Prefactor     257.58        14.664        .62316E-04   -1.5387    
  20  Normalizat    .60772        .16323        .84718E-01   -1.0766    
  21  Prefactor     1.3753        .17254        .64567E-01   -.81093    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 8.43351e-07
Minuit parameter uncertainties:
  1  8.40211
  2  9.60531
  3  3.65908
  4  2.50818
  5  14.1694
  6  0.000604659
  7  4.17111
  8  0.161795
  9  20.789
  10  3.01978
  11  9.96952
  12  6.09087e-06
  13  45.971
  14  9.51864
  15  0.00102231
  16  0.000111332
  17  4.91843e-05
  18  10.4648
  19  14.6635
  20  0.163356
  21  0.172616
Done.

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

Extracting fit parameters...

4FGL J1333.2+2725
   Spectrum: PowerLaw
301    Prefactor:  4.996e-10  1.113e-04  0.000e+00  1.000e+06 ( 1.000e-13)
302        Index:  2.315e+00  0.000e+00  0.000e+00  1.000e+01 (-1.000e+00) fixed
303        Scale:  9.619e+02  0.000e+00  3.000e+01  5.000e+05 ( 1.000e+00) fixed

GAL_V02
   Spectrum: PowerLaw
537    Prefactor:  1.375e+00  1.726e-01  0.000e+00  1.000e+01 ( 1.000e+00)
538        Index:  0.000e+00  0.000e+00 -1.000e+00  1.000e+00 ( 1.000e+00) fixed
539        Scale:  1.000e+02  0.000e+00  5.000e+01  2.000e+02 ( 1.000e+00) fixed

EG_v02
   Spectrum: FileFunction
536   Normalization:  6.077e-01  1.634e-01  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Fixed Index): -0.00
Ra Dec: 203.323 27.422
Photon Flux Upper Limit: 3.9087033847e-08 ph cm-2 s-1
Energy Flux Upper Limit: 0.00300288559947 MeV cm-2 s-1

Saving results to:
/lscratch/kocevski/33912065/likelihoodResults_806976001_807235201_4FGL_J1333.2+2725_daily_bin2190.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) = 10816.0431509
delta logL = -0.00664820231214

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

MINUIT Return Code (Free Index): 102
logL (Free Index) = 10816.0365116
delta logL = -8.94683398656e-06

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'Prefactor '    .53353E-03   1.0000          .0000       .10000E+07
     2 'Index     '    3.3247       1.0000          .0000       10.000    
     3 'Normalizat'    .60755       1.0000         .10000E-01   10.000    
     4 'Prefactor '    1.3755       1.0000          .0000       10.000    
 **********
 **   15 **SET ERR    .5000    
 **********
 **********
 **   16 **SET GRAD    1.000    
 **********
 **********
 **   17 **MINIMIZE    .5400E+05   .2000E-04
 **********

 MIGRAD MINIMIZATION HAS CONVERGED.

 MIGRAD WILL VERIFY CONVERGENCE AND ERROR MATRIX.

 FCN=   10815.93     FROM MIGRAD    STATUS=CONVERGED     92 CALLS      292 TOTAL
                     EDM=   .19E-07    STRATEGY= 1      ERR MATRIX NOT POS-DEF

  EXT PARAMETER                APPROXIMATE        STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor     .31660E-01    .94599        .42118E-03** at limit **
   2  Index         5.4481        2.6223        .21455        .23935E-04
   3  Normalizat    .58078        .20754E-01    .86608E-01   -.63694E-03
   4  Prefactor     1.3946        .22938E-01    .64211E-01   -.96400E-03
                               ERR DEF=  .500    
Final values: 
  Prefactor  = 0.0316602
  Index      = 5.44815
  Normalizat = 0.580778
  Prefactor  = 1.39458
 **********
 **   18 **HESSE 
 **********

 FCN=   10815.93     FROM HESSE     STATUS=NOT POSDEF    31 CALLS      323 TOTAL
                     EDM=   .51E-08    STRATEGY= 1      ERR MATRIX NOT POS-DEF

  EXT PARAMETER                APPROXIMATE     INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  Prefactor     .31660E-01    7.3522        .38368E-05   -1.5704    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   2  Index         5.4481        5.9588        .10939E-01    .89750E-01
   3  Normalizat    .58078        .12712        .38374E-03   -1.0881    
   4  Prefactor     1.3946        .13839        .28394E-03   -.80537    
                               ERR DEF=  .500    
Minuit fit quality: 2   estimated distance: 5.12503e-09
Minuit parameter uncertainties:
  1  0.964927
  2  14.6062
  3  0.127186
  4  0.138424
shell-init: error retrieving current directory: getcwd: cannot access parent directories: No such file or directory
Done.

MINUIT Return Code (Free Index): 102
logL (Free Index) = 10815.9251924
delta logL = 0.111310292963

Extracting fit parameters...

4FGL J1333.2+2725
   Spectrum: PowerLaw
301    Prefactor:  3.166e-02  9.649e-01  0.000e+00  1.000e+06 ( 1.000e-13)
302        Index:  5.448e+00  1.461e+01  0.000e+00  1.000e+01 (-1.000e+00)
303        Scale:  9.619e+02  0.000e+00  3.000e+01  5.000e+05 ( 1.000e+00) fixed

GAL_V02
   Spectrum: PowerLaw
537    Prefactor:  1.395e+00  1.384e-01  0.000e+00  1.000e+01 ( 1.000e+00)
538        Index:  0.000e+00  0.000e+00 -1.000e+00  1.000e+00 ( 1.000e+00) fixed
539        Scale:  1.000e+02  0.000e+00  5.000e+01  2.000e+02 ( 1.000e+00) fixed

EG_v02
   Spectrum: FileFunction
536   Normalization:  5.808e-01  1.272e-01  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Free Index): -0.00
Ra Dec: 203.323 27.422

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/33912065/cmap_HighResolution_806976001_807235201_4FGL_J1333.2+2725_daily_bin2190.png

Cleaning up...

** Nuclear option initiated! **

Updating database...

UPDATE lightcurve_data_v2 SET energy_flux_upper_limit='3.00e-03', job_status='DONE', photon_flux_upper_limit='3.91e-08', time_completed='2026-08-01 13:42:29.815221', job_id='33912065', GAL2='1.39', fit_tolerance='1e-08', EG2='0.58', EG='0.61', time_epoch_completed='1785616949.82', return_code2='102', ts='-0.00', comment='SUCCESS', return_code='0', GAL='1.38', dlogl='1.11e-01', ts2='0.24', photon_index_error='0.00', photon_index='2.32' WHERE bin_id='2190' AND source_name='4FGL J1333.2+2725' AND cadence='daily';

Database successfully updated.


Analysis Complete.


Sat Aug  1 13:42:30 PDT 2026

