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

 FCN=   9578.174     FROM HESSE     STATUS=OK           457 CALLS     2091 TOTAL
                     EDM=   .58E-06    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  norm           .0000        .72731        .29963E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   2  Prefactor      .0000        11.314        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   3  Prefactor     1.2151        25.863        .10485E-02   -1.5686    
   4  norm          .10769        .52570        .26909E-02   -1.5701    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   5  Prefactor     .15782E-06    36.516        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   6  norm          .93741        .59545        .43144E-03   -1.5689    
   7  Prefactor     10.745        9.8851        .30539E-03   -1.5642    
   8  Prefactor     15.858        12.441        .25181E-03   -1.5628    
   9  Prefactor     1.9217        2.1163        .74822E-03   -1.5680    
  10  Prefactor      .0000        8.6150        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  11  Prefactor     .73275E-07    33.628        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  12  norm          .32155        1.8638        .98904E-03   -1.5697    
  13  Prefactor     2.5395        3.8784        .63944E-03   -1.5676    
  14  Prefactor      .0000        1.0316        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  15  norm           .0000        .73344        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  16  norm           .0000        .15479        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  17  norm          .23770E-04    105.51        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  18  norm          .55044        .26108        .73778E-03   -1.5693    
  19  Prefactor      .0000        5.3829        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  20  norm          46.707        9.6544        .14632E-03   -1.5571    
  21  norm          5.2044        1.8819        .44053E-03   -1.5662    
  22  Prefactor     16.950        44.031        .21994E-03   -1.5626    
  23  Normalizat    1.4950        .18602        .64743E-01   -.77919    
  24  Prefactor     .73951        .10068        .42912E-01   -1.0200    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 5.83445e-07
Minuit parameter uncertainties:
  1  6.05441e-07
  2  1.0758e-05
  3  11.2119
  4  0.475873
  5  0.00480097
  6  0.59545
  7  9.88514
  8  12.4407
  9  2.1163
  10  1.46766e-05
  11  0.0031395
  12  1.54828
  13  3.87838
  14  4.75923e-07
  15  1.02449e-06
  16  3.9723e-07
  17  0.100162
  18  0.261079
  19  1.42606e-06
  20  9.65444
  21  1.88185
  22  44.0321
  23  0.186105
  24  0.100705
/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).

tfile=/lscratch/kocevski/36519155/ltcube_809568001_809827201_4FGL_J0159.0+3313_daily_bin2200.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/36519155/ft2_4FGL_J0159.0+3313_daily_bin2200.fits
.....................!
real 8.43
user 7.57
sys 0.23

Generating the exposure map:
time -p gtexpmap evfile=/lscratch/kocevski/36519155/ft1_filtered_4FGL_J0159.0+3313_daily_bin2200.fits evtable="EVENTS" scfile=/lscratch/kocevski/36519155/ft2_4FGL_J0159.0+3313_daily_bin2200.fits sctable="SC_DATA" expcube=/lscratch/kocevski/36519155/ltcube_809568001_809827201_4FGL_J0159.0+3313_daily_bin2200.fits outfile=/lscratch/kocevski/36519155/expmap_809568001_809827201_4FGL_J0159.0+3313_daily_bin2200.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/36519155/ltcube_809568001_809827201_4FGL_J0159.0+3313_daily_bin2200.fits
.....................!
real 68.86
user 64.02
sys 3.89

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

Setting source of interest to:
4FGL J0159.0+3313 @ 29.7665 33.2175

Creating the counts map:
time -p gtbin evfile=/lscratch/kocevski/36519155/ft1_filtered_4FGL_J0159.0+3313_daily_bin2200.fits scfile=/lscratch/kocevski/36519155/ft2_4FGL_J0159.0+3313_daily_bin2200.fits outfile=/lscratch/kocevski/36519155/cmap_809568001_809827201_4FGL_J0159.0+3313_daily_bin2200.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=29.7665 yref=33.2175 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.22
sys 0.14

Creating the high resolution counts map:
time -p gtbin evfile=/lscratch/kocevski/36519155/ft1_filtered_4FGL_J0159.0+3313_daily_bin2200.fits scfile=/lscratch/kocevski/36519155/ft2_4FGL_J0159.0+3313_daily_bin2200.fits outfile=/lscratch/kocevski/36519155/cmap_HighResolution_809568001_809827201_4FGL_J0159.0+3313_daily_bin2200.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=29.7665 yref=33.2175 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.85
user 0.21
sys 0.15

Computing the diffuse response:
time -p gtdiffrsp evfile=/lscratch/kocevski/36519155/ft1_filtered_4FGL_J0159.0+3313_daily_bin2200.fits evtable="EVENTS" scfile=/lscratch/kocevski/36519155/ft2_4FGL_J0159.0+3313_daily_bin2200.fits sctable="SC_DATA" srcmdl=/lscratch/kocevski/36519155/Model_4FGL_J0159.0+3313_daily_bin2200.xml irfs="P8R3_SOURCE_V2" evclsmin=0 evclass="INDEF" evtype="INDEF" convert=yes chatter=2 clobber=yes debug=no gui=no mode="ql"

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

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

 FCN=   9578.174     FROM HESSE     STATUS=OK           457 CALLS     2091 TOTAL
                     EDM=   .58E-06    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  norm           .0000        .72731        .29963E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   2  Prefactor      .0000        11.314        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   3  Prefactor     1.2151        25.863        .10485E-02   -1.5686    
   4  norm          .10769        .52570        .26909E-02   -1.5701    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   5  Prefactor     .15782E-06    36.516        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   6  norm          .93741        .59545        .43144E-03   -1.5689    
   7  Prefactor     10.745        9.8851        .30539E-03   -1.5642    
   8  Prefactor     15.858        12.441        .25181E-03   -1.5628    
   9  Prefactor     1.9217        2.1163        .74822E-03   -1.5680    
  10  Prefactor      .0000        8.6150        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  11  Prefactor     .73275E-07    33.628        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  12  norm          .32155        1.8638        .98904E-03   -1.5697    
  13  Prefactor     2.5395        3.8784        .63944E-03   -1.5676    
  14  Prefactor      .0000        1.0316        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  15  norm           .0000        .73344        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  16  norm           .0000        .15479        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  17  norm          .23770E-04    105.51        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  18  norm          .55044        .26108        .73778E-03   -1.5693    
  19  Prefactor      .0000        5.3829        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  20  norm          46.707        9.6544        .14632E-03   -1.5571    
  21  norm          5.2044        1.8819        .44053E-03   -1.5662    
  22  Prefactor     16.950        44.031        .21994E-03   -1.5626    
  23  Normalizat    1.4950        .18602        .64743E-01   -.77919    
  24  Prefactor     .73951        .10068        .42912E-01   -1.0200    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 5.83445e-07
Minuit parameter uncertainties:
  1  6.05441e-07
  2  1.0758e-05
  3  11.2119
  4  0.475873
  5  0.00480097
  6  0.59545
  7  9.88514
  8  12.4407
  9  2.1163
  10  1.46766e-05
  11  0.0031395
  12  1.54828
  13  3.87838
  14  4.75923e-07
  15  1.02449e-06
  16  3.9723e-07
  17  0.100162
  18  0.261079
  19  1.42606e-06
  20  9.65444
  21  1.88185
  22  44.0321
  23  0.186105
  24  0.100705
/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).

Done.

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

Extracting fit parameters...

4FGL J0159.0+3313
   Spectrum: PowerLaw
265    Prefactor:  0.000e+00  1.468e-05  0.000e+00  1.000e+06 ( 1.000e-14)
266        Index:  1.985e+00  0.000e+00  0.000e+00  1.000e+01 (-1.000e+00) fixed
267        Scale:  3.553e+03  0.000e+00  3.000e+01  5.000e+05 ( 1.000e+00) fixed

GAL_V02
   Spectrum: PowerLaw
591    Prefactor:  7.395e-01  1.007e-01  0.000e+00  1.000e+01 ( 1.000e+00)
592        Index:  0.000e+00  0.000e+00 -1.000e+00  1.000e+00 ( 1.000e+00) fixed
593        Scale:  1.000e+02  0.000e+00  5.000e+01  2.000e+02 ( 1.000e+00) fixed

EG_v02
   Spectrum: FileFunction
590   Normalization:  1.495e+00  1.861e-01  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Fixed Index): 0.00
Ra Dec: 29.767 33.218
Photon Flux Upper Limit: 4.19282387131e-08 ph cm-2 s-1
Energy Flux Upper Limit: 0.0031406168899 MeV cm-2 s-1

Saving results to:
/lscratch/kocevski/36518985/likelihoodResults_809568001_809827201_4FGL_J0159.0+3313_daily_bin2200.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) = 9578.22997492
delta logL = -0.0559566503816

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

MINUIT Return Code (Free Index): 102
logL (Free Index) = 9578.17401836
delta logL = -9.08530637389e-08

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'Prefactor '    .40823E-06   1.0000          .0000       .10000E+07
     2 'Index     '    .69523       1.0000          .0000       10.000    
     3 'Normalizat'    1.4949       1.0000         .10000E-01   10.000    
     4 'Prefactor '    .73953       1.0000          .0000       10.000    
 **********
 **   15 **SET ERR    .5000    
 **********
 **********
 **   16 **SET GRAD    1.000    
 **********
 **********
 **   17 **MINIMIZE    .5940E+05   .2000E-04
 **********

 MIGRAD MINIMIZATION HAS CONVERGED.

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

 FCN=   9578.174     FROM MIGRAD    STATUS=CONVERGED     37 CALLS      212 TOTAL
                     EDM=   .41E-10  STRATEGY=1  ERROR MATRIX UNCERTAINTY=100.0%

  EXT PARAMETER                APPROXIMATE        STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor      .0000        9.5385        .42118E-03** at limit **
   2  Index         1.0961        1.2835        .17136E-03     .0000    
   3  Normalizat    1.4950        1.0502       -.42634E-05   -.20582E-03
   4  Prefactor     .73950        1.0891        .10964E-05   -.34617E-03
                               ERR DEF=  .500    
Final values: 
  Prefactor  = 0
  Index      = 1.09612
  Normalizat = 1.49499
  Prefactor  = 0.739505
 **********
 **   18 **HESSE 
 **********
  MNHESS FAILS AND WILL RETURN DIAGONAL MATRIX. 

 FCN=   9578.174     FROM HESSE     STATUS=FAILED         9 CALLS      221 TOTAL
                     EDM=   .41E-10  STRATEGY=1  ERROR MATRIX UNCERTAINTY=100.0%

  EXT PARAMETER                APPROXIMATE     INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  Prefactor      .0000        9.5385        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   2  Index         .67817E-01    1.3730        .17136E-03   -.89591    
   3  Normalizat    1.4950        1.0502       -.42634E-05   -.77919    
   4  Prefactor     .73950        1.0891        .10964E-05   -1.0200    
                               ERR DEF=  .500    
Minuit fit quality: 1   estimated distance: 4.11338e-11
Minuit parameter uncertainties:
  1  2.4272e-05
  2  1.32265
  3  1.06616
  4  1.12331
_V02
Working on...
/lscratch/kocevski/36518991/ft1_filtered_4FGL_J0159.0+3313_daily_bin2200.fits.....................!
real 45.31
user 43.69
sys 0.59

Creating the likelihood object...
obs = UnbinnedObs('/lscratch/kocevski/36518991/ft1_filtered_4FGL_J0159.0+3313_daily_bin2200.fits', '/lscratch/kocevski/36518991/ft2_4FGL_J0159.0+3313_daily_bin2200.fits', expMap='/lscratch/kocevski/36518991/expmap_809568001_809827201_4FGL_J0159.0+3313_daily_bin2200.fits', expCube='/lscratch/kocevski/36518991/ltcube_809568001_809827201_4FGL_J0159.0+3313_daily_bin2200.fits', irfs='P8R3_SOURCE_V2')
like = UnbinnedAnalysis(obs, '/lscratch/kocevski/36518991/Model_4FGL_J0159.0+3313_daily_bin2200.xml', optimizer='MINUIT')

Using source of interest name: '4FGL J0159.0+3313'

4FGL J0159.0+3313
   Spectrum: PowerLaw
265    Prefactor:  1.345e+00  0.000e+00  0.000e+00  1.000e+06 ( 1.000e-14)
266        Index:  1.985e+00  0.000e+00  0.000e+00  1.000e+01 (-1.000e+00) fixed
267        Scale:  3.553e+03  0.000e+00  3.000e+01  5.000e+05 ( 1.000e+00) fixed


Likelihood Fit Parameters:
Event file(s): /lscratch/kocevski/36518991/ft1_filtered_4FGL_J0159.0+3313_daily_bin2200.fits
Spacecraft file(s): /lscratch/kocevski/36518991/ft2_4FGL_J0159.0+3313_daily_bin2200.fits
Exposure map: /lscratch/kocevski/36518991/expmap_809568001_809827201_4FGL_J0159.0+3313_daily_bin2200.fits
Exposure cube: /lscratch/kocevski/36518991/ltcube_809568001_809827201_4FGL_J0159.0+3313_daily_bin2200.fits
IRFs: P8R3_SOURCE_V2
Source model file: /lscratch/kocevski/36518991/Model_4FGL_J0159.0+3313_daily_bin2200.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) = 9578.28704411

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

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

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'norm      '    .26124E-06   1.0000          .0000       .10000E+07
     2 'Prefactor '    .60216E-04   1.0000          .0000       .10000E+07
     3 'Prefactor '    1.1845       1.0000          .0000       .10000E+07
     4 'norm      '    .10794       1.0000          .0000       .10000E+07
     5 'Prefactor '    .18261E-02   1.0000          .0000       .10000E+07
     6 'norm      '    .93835       1.0000          .0000       .10000E+07
     7 'Prefactor '    10.746       1.0000          .0000       .10000E+07
     8 'Prefactor '    15.787       1.0000          .0000       .10000E+07
     9 'Prefactor '    1.9262       1.0000          .0000       .10000E+07
    10 'Prefactor '    .30673E-03   1.0000          .0000       .10000E+07
    11 'Prefactor '    .86069E-02   1.0000          .0000       .10000E+07
    12 'norm      '    .32382       1.0000          .0000       .10000E+07
    13 'Prefactor '    2.5479       1.0000          .0000       .10000E+07
    14 'Prefactor '    .47445E-05   1.0000          .0000       .10000E+07
    15 'norm      '    .16820E-07   1.0000          .0000       .10000E+07
    16 'norm      '    .12024E-06   1.0000          .0000       .10000E+07
    17 'norm      '    .12199E-01   1.0000          .0000       .10000E+07
    18 'norm      '    .55057       1.0000          .0000       .10000E+07
    19 'Prefactor '    .90247E-03   1.0000          .0000       .10000E+07
    20 'norm      '    46.716       1.0000          .0000       .10000E+07
    21 'norm      '    5.2015       1.0000          .0000       .10000E+07
    22 'Prefactor '    20.685       1.0000          .0000       .10000E+07
    23 'Normalizat'    1.4956       1.0000         .10000E-01   10.000    
    24 'Prefactor '    .73854       1.0000          .0000       10.000    
 **********
 **   15 **SET ERR    .5000    
 **********
 **********
 **   16 **SET GRAD    1.000    
 **********
 **********
 **   17 **MINIMIZE    .5940E+05   .2000E-04
 **********

 MIGRAD MINIMIZATION HAS CONVERGED.

 FCN=   9578.174     FROM MIGRAD    STATUS=CONVERGED    184 CALLS     1634 TOTAL
                     EDM=   .14E-09  STRATEGY=1  ERROR MATRIX UNCERTAINTY=  1.1%

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  norm           .0000        3.2109       -.69783E-07** at limit **
   2  Prefactor      .0000        11.293        .18306E-06** at limit **
   3  Prefactor     1.2151        26.481        .99360E-07    .11040E-03
   4  norm          .10769        1.0684        .89790E-07** at limit **
   5  Prefactor     .15782E-06    36.141       -.25786E-06** at limit **
   6  norm          .93741        .59043        .13237E-07   -.15498E-02
   7  Prefactor     10.745        9.8903       -.47531E-07   -.12363E-02
   8  Prefactor     15.858        12.400       -.32625E-07   -.95800E-02
   9  Prefactor     1.9217        2.1059       -.28132E-08    .20983E-03
  10  Prefactor      .0000        8.5963        .16433E-06** at limit **
  11  Prefactor     .73275E-07    33.411       -.25972E-06** at limit **
  12  norm          .32155        1.7970        .15422E-06   -.25229E-03
  13  Prefactor     2.5395        3.8508       -.57180E-07    .22936E-03
  14  Prefactor      .0000        1.0362        .17784E-08** at limit **
  15  norm           .0000        .73279        .38358E-07** at limit **
  16  norm           .0000        .15405       -.30928E-07** at limit **
  17  norm          .23770E-04    64.321       -.56828E-06** at limit **
  18  norm          .55044        .26172       -.14017E-07    .12250E-02
  19  Prefactor      .0000        5.3608        .11907E-06** at limit **
  20  norm          46.707        9.6378       -.39733E-07   -.65741E-03
  21  norm          5.2044        1.8801        .51905E-08   -.25759E-03
  22  Prefactor     16.950        27.883       -.23268E-06   -.54806E-01
  23  Normalizat    1.4950        .21522       -.18807E-05    .17026E-04
  24  Prefactor     .73951        .11711        .95193E-06    .12024E-04
                               ERR DEF=  .500    
Final values: 
  norm       = 0
  Prefactor  = 0
  Prefactor  = 1.2151
  norm       = 0.107693
  Prefactor  = 1.57818e-07
  norm       = 0.937406
  Prefactor  = 10.7452
  Prefactor  = 15.8579
  Prefactor  = 1.92174
  Prefactor  = 0
  Prefactor  = 7.32747e-08
  norm       = 0.321549
  Prefactor  = 2.53951
  Prefactor  = 0
  norm       = 0
  norm       = 0
  norm       = 2.37696e-05
  norm       = 0.550437
  Prefactor  = 0
  norm       = 46.7073
  norm       = 5.2044
  Prefactor  = 16.9503
  Normalizat = 1.49499
  Prefactor  = 0.739505
shell-init: error retrieving current directory: getcwd: cannot access parent directories: No such file or directory
Done.

MINUIT Return Code (Free Index): 101
logL (Free Index) = 9578.17401826
delta logL = -3.09228198603e-11

Extracting fit parameters...

4FGL J0159.0+3313
   Spectrum: PowerLaw
265    Prefactor:  0.000e+00  2.427e-05  0.000e+00  1.000e+06 ( 1.000e-14)
266        Index:  1.096e+00  1.323e+00  0.000e+00  1.000e+01 (-1.000e+00)
267        Scale:  3.553e+03  0.000e+00  3.000e+01  5.000e+05 ( 1.000e+00) fixed

GAL_V02
   Spectrum: PowerLaw
591    Prefactor:  7.395e-01  1.123e+00  0.000e+00  1.000e+01 ( 1.000e+00)
592        Index:  0.000e+00  0.000e+00 -1.000e+00  1.000e+00 ( 1.000e+00) fixed
593        Scale:  1.000e+02  0.000e+00  5.000e+01  2.000e+02 ( 1.000e+00) fixed

EG_v02
   Spectrum: FileFunction
590   Normalization:  1.495e+00  1.066e+00  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Free Index): 0.00
Ra Dec: 29.767 33.218

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/36518985/cmap_HighResolution_809568001_809827201_4FGL_J0159.0+3313_daily_bin2200.png

Cleaning up...

** Nuclear option initiated! **

Updating database...

UPDATE lightcurve_data_v2 SET energy_flux_upper_limit='3.14e-03', job_status='DONE', photon_flux_upper_limit='4.19e-08', time_completed='2026-08-31 01:37:55.103026', job_id='36518985', GAL2='0.74', fit_tolerance='1e-08', EG2='1.49', EG='1.49', time_epoch_completed='1788165475.1', return_code2='101', ts='0.00', comment='SUCCESS', return_code='0', GAL='0.74', dlogl='-3.09e-11', ts2='0.00', photon_index_error='0.00', photon_index='1.98' WHERE bin_id='2200' AND source_name='4FGL J0159.0+3313' AND cadence='daily';

Database successfully updated.


Analysis Complete.


Mon Aug 31 01:37:55 PDT 2026

Done.

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

Extracting fit parameters...

4FGL J0159.0+3313
   Spectrum: PowerLaw
265    Prefactor:  0.000e+00  1.468e-05  0.000e+00  1.000e+06 ( 1.000e-14)
266        Index:  1.985e+00  0.000e+00  0.000e+00  1.000e+01 (-1.000e+00) fixed
267        Scale:  3.553e+03  0.000e+00  3.000e+01  5.000e+05 ( 1.000e+00) fixed

GAL_V02
   Spectrum: PowerLaw
591    Prefactor:  7.395e-01  1.007e-01  0.000e+00  1.000e+01 ( 1.000e+00)
592        Index:  0.000e+00  0.000e+00 -1.000e+00  1.000e+00 ( 1.000e+00) fixed
593        Scale:  1.000e+02  0.000e+00  5.000e+01  2.000e+02 ( 1.000e+00) fixed

EG_v02
   Spectrum: FileFunction
590   Normalization:  1.495e+00  1.861e-01  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Fixed Index): 0.00
Ra Dec: 29.767 33.218
Photon Flux Upper Limit: 4.19282387131e-08 ph cm-2 s-1
Energy Flux Upper Limit: 0.0031406168899 MeV cm-2 s-1

Saving results to:
/lscratch/kocevski/36518988/likelihoodResults_809568001_809827201_4FGL_J0159.0+3313_daily_bin2200.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) = 9578.22997492
delta logL = -0.0559566503816

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

MINUIT Return Code (Free Index): 102
logL (Free Index) = 9578.17401836
delta logL = -9.08530637389e-08

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'Prefactor '    .40823E-06   1.0000          .0000       .10000E+07
     2 'Index     '    .69523       1.0000          .0000       10.000    
     3 'Normalizat'    1.4949       1.0000         .10000E-01   10.000    
     4 'Prefactor '    .73953       1.0000          .0000       10.000    
 **********
 **   15 **SET ERR    .5000    
 **********
 **********
 **   16 **SET GRAD    1.000    
 **********
 **********
 **   17 **MINIMIZE    .5940E+05   .2000E-04
 **********

 MIGRAD MINIMIZATION HAS CONVERGED.

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

 FCN=   9578.174     FROM MIGRAD    STATUS=CONVERGED     37 CALLS      212 TOTAL
                     EDM=   .41E-10  STRATEGY=1  ERROR MATRIX UNCERTAINTY=100.0%

  EXT PARAMETER                APPROXIMATE        STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor      .0000        9.5385        .42118E-03** at limit **
   2  Index         1.0961        1.2835        .17136E-03     .0000    
   3  Normalizat    1.4950        1.0502       -.42634E-05   -.20582E-03
   4  Prefactor     .73950        1.0891        .10964E-05   -.34617E-03
                               ERR DEF=  .500    
Final values: 
  Prefactor  = 0
  Index      = 1.09612
  Normalizat = 1.49499
  Prefactor  = 0.739505
 **********
 **   18 **HESSE 
 **********
  MNHESS FAILS AND WILL RETURN DIAGONAL MATRIX. 

 FCN=   9578.174     FROM HESSE     STATUS=FAILED         9 CALLS      221 TOTAL
                     EDM=   .41E-10  STRATEGY=1  ERROR MATRIX UNCERTAINTY=100.0%

  EXT PARAMETER                APPROXIMATE     INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  Prefactor      .0000        9.5385        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   2  Index         .67817E-01    1.3730        .17136E-03   -.89591    
   3  Normalizat    1.4950        1.0502       -.42634E-05   -.77919    
   4  Prefactor     .73950        1.0891        .10964E-05   -1.0200    
                               ERR DEF=  .500    
Minuit fit quality: 1   estimated distance: 4.11338e-11
Minuit parameter uncertainties:
  1  2.4272e-05
  2  1.32265
  3  1.06616
  4  1.12331
shell-init: error retrieving current directory: getcwd: cannot access parent directories: No such file or directory
Done.

MINUIT Return Code (Free Index): 101
logL (Free Index) = 9578.17401826
delta logL = -3.09228198603e-11

Extracting fit parameters...

4FGL J0159.0+3313
   Spectrum: PowerLaw
265    Prefactor:  0.000e+00  2.427e-05  0.000e+00  1.000e+06 ( 1.000e-14)
266        Index:  1.096e+00  1.323e+00  0.000e+00  1.000e+01 (-1.000e+00)
267        Scale:  3.553e+03  0.000e+00  3.000e+01  5.000e+05 ( 1.000e+00) fixed

GAL_V02
   Spectrum: PowerLaw
591    Prefactor:  7.395e-01  1.123e+00  0.000e+00  1.000e+01 ( 1.000e+00)
592        Index:  0.000e+00  0.000e+00 -1.000e+00  1.000e+00 ( 1.000e+00) fixed
593        Scale:  1.000e+02  0.000e+00  5.000e+01  2.000e+02 ( 1.000e+00) fixed

EG_v02
   Spectrum: FileFunction
590   Normalization:  1.495e+00  1.066e+00  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Free Index): 0.00
Ra Dec: 29.767 33.218

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/36518988/cmap_HighResolution_809568001_809827201_4FGL_J0159.0+3313_daily_bin2200.png

Cleaning up...

** Nuclear option initiated! **

Updating database...

UPDATE lightcurve_data_v2 SET energy_flux_upper_limit='3.14e-03', job_status='DONE', photon_flux_upper_limit='4.19e-08', time_completed='2026-08-31 01:38:06.880955', job_id='36518988', GAL2='0.74', fit_tolerance='1e-08', EG2='1.49', EG='1.49', time_epoch_completed='1788165486.88', return_code2='101', ts='0.00', comment='SUCCESS', return_code='0', GAL='0.74', dlogl='-3.09e-11', ts2='0.00', photon_index_error='0.00', photon_index='1.98' WHERE bin_id='2200' AND source_name='4FGL J0159.0+3313' AND cadence='daily';

Database successfully updated.


Analysis Complete.


Mon Aug 31 01:38:07 PDT 2026

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

 FCN=   9578.174     FROM HESSE     STATUS=OK           457 CALLS     2091 TOTAL
                     EDM=   .58E-06    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  norm           .0000        .72731        .29963E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   2  Prefactor      .0000        11.314        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   3  Prefactor     1.2151        25.863        .10485E-02   -1.5686    
   4  norm          .10769        .52570        .26909E-02   -1.5701    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   5  Prefactor     .15782E-06    36.516        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   6  norm          .93741        .59545        .43144E-03   -1.5689    
   7  Prefactor     10.745        9.8851        .30539E-03   -1.5642    
   8  Prefactor     15.858        12.441        .25181E-03   -1.5628    
   9  Prefactor     1.9217        2.1163        .74822E-03   -1.5680    
  10  Prefactor      .0000        8.6150        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  11  Prefactor     .73275E-07    33.628        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  12  norm          .32155        1.8638        .98904E-03   -1.5697    
  13  Prefactor     2.5395        3.8784        .63944E-03   -1.5676    
  14  Prefactor      .0000        1.0316        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  15  norm           .0000        .73344        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  16  norm           .0000        .15479        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  17  norm          .23770E-04    105.51        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  18  norm          .55044        .26108        .73778E-03   -1.5693    
  19  Prefactor      .0000        5.3829        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  20  norm          46.707        9.6544        .14632E-03   -1.5571    
  21  norm          5.2044        1.8819        .44053E-03   -1.5662    
  22  Prefactor     16.950        44.031        .21994E-03   -1.5626    
  23  Normalizat    1.4950        .18602        .64743E-01   -.77919    
  24  Prefactor     .73951        .10068        .42912E-01   -1.0200    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 5.83445e-07
Minuit parameter uncertainties:
  1  6.05441e-07
  2  1.0758e-05
  3  11.2119
  4  0.475873
  5  0.00480097
  6  0.59545
  7  9.88514
  8  12.4407
  9  2.1163
  10  1.46766e-05
  11  0.0031395
  12  1.54828
  13  3.87838
  14  4.75923e-07
  15  1.02449e-06
  16  3.9723e-07
  17  0.100162
  18  0.261079
  19  1.42606e-06
  20  9.65444
  21  1.88185
  22  44.0321
  23  0.186105
  24  0.100705
number of points = 7527
number of fields = 31
RA_SUN column already exists. File will not be modified.
Done.


Performing analysis on: 4FGL_J0159.0+3313_daily_bin2200
RA = 29.7665, Dec = 33.2175
tmin = 809568001, tmax = 809827201
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='36519437', job_status='RUN', time_executed='2026-08-31 01:35:56.498302', time_epoch_executed='1788165356.5' WHERE source_name='4FGL J0159.0+3313' and cadence='daily' and bin_id='2200'

Database successfully updated.
Done.

Creating custom output directory:
/lscratch/kocevski/36519437

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

Retrieving the FT1 file...

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

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

Retrieving 47 files...
Done.


Merging files...

Checksum keywords updated successfully.

Merged file saved to:
/lscratch/kocevski/36519437/ft1_4FGL_J0159.0+3313_daily_bin2200.fits


Retrieving the FT1 file...

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

Retrieving 47 files...
Done.


Merging files...

Merged file saved to:
/lscratch/kocevski/36519437/ft2_4FGL_J0159.0+3313_daily_bin2200.fits


Selecting the photons:
time -p gtselect infile=/lscratch/kocevski/36519437/ft1_4FGL_J0159.0+3313_daily_bin2200.fits outfile=/lscratch/kocevski/36519437/ft1_filteredMKT_4FGL_J0159.0+3313_daily_bin2200.fits ra=29.7665 dec=33.2175 rad=12.0 tmin=809568001.0 tmax=809827201.0 emin=100.0 emax=100000.0 zmin=0.0 zmax=90.0 evclass=128 evtype="INDEF" convtype=-1 phasemin=0.0 phasemax=1.0 evtable="EVENTS" chatter=2 clobber=yes debug=no gui=no mode="ql"

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

Done.
real 3.87
user 2.98
sys 0.19

Adding sun position to ft2 file:
/sdf/group/fermi/g/LCRepository/Repository/bin/sunpos /lscratch/kocevski/36519437/ft2_4FGL_J0159.0+3313_daily_bin2200.fits

Selecting the good time intervals:
time -p gtmktime scfile=/lscratch/kocevski/36519437/ft2_4FGL_J0159.0+3313_daily_bin2200.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/36519437/ft1_filteredMKT_4FGL_J0159.0+3313_daily_bin2200.fits evtable="EVENTS" outfile="/lscratch/kocevski/36519437/ft1_filtered_4FGL_J0159.0+3313_daily_bin2200.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.87
user 0.19
sys 0.13

Number of photons that the gtmktime cut: 914

Generating the livetime cube:
time -p gtltcube evfile="/lscratch/kocevski/36519437/ft1_filtered_4FGL_J0159.0+3313_daily_bin2200.fits" evtable="EVENTS" scfile=/lscratch/kocevski/36519437/ft2_4FGL_J0159.0+3313_daily_bin2200.fits sctable="SC_DATA" outDone.

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

Extracting fit parameters...

4FGL J0159.0+3313
   Spectrum: PowerLaw
265    Prefactor:  0.000e+00  1.468e-05  0.000e+00  1.000e+06 ( 1.000e-14)
266        Index:  1.985e+00  0.000e+00  0.000e+00  1.000e+01 (-1.000e+00) fixed
267        Scale:  3.553e+03  0.000e+00  3.000e+01  5.000e+05 ( 1.000e+00) fixed

GAL_V02
   Spectrum: PowerLaw
591    Prefactor:  7.395e-01  1.007e-01  0.000e+00  1.000e+01 ( 1.000e+00)
592        Index:  0.000e+00  0.000e+00 -1.000e+00  1.000e+00 ( 1.000e+00) fixed
593        Scale:  1.000e+02  0.000e+00  5.000e+01  2.000e+02 ( 1.000e+00) fixed

EG_v02
   Spectrum: FileFunction
590   Normalization:  1.495e+00  1.861e-01  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Fixed Index): 0.00
Ra Dec: 29.767 33.218
Photon Flux Upper Limit: 4.19282387131e-08 ph cm-2 s-1
Energy Flux Upper Limit: 0.0031406168899 MeV cm-2 s-1

Saving results to:
/lscratch/kocevski/36518991/likelihoodResults_809568001_809827201_4FGL_J0159.0+3313_daily_bin2200.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) = 9578.22997492
delta logL = -0.0559566503816

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

MINUIT Return Code (Free Index): 102
logL (Free Index) = 9578.17401836
delta logL = -9.08530637389e-08

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'Prefactor '    .40823E-06   1.0000          .0000       .10000E+07
     2 'Index     '    .69523       1.0000          .0000       10.000    
     3 'Normalizat'    1.4949       1.0000         .10000E-01   10.000    
     4 'Prefactor '    .73953       1.0000          .0000       10.000    
 **********
 **   15 **SET ERR    .5000    
 **********
 **********
 **   16 **SET GRAD    1.000    
 **********
 **********
 **   17 **MINIMIZE    .5940E+05   .2000E-04
 **********

 MIGRAD MINIMIZATION HAS CONVERGED.

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

 FCN=   9578.174     FROM MIGRAD    STATUS=CONVERGED     37 CALLS      212 TOTAL
                     EDM=   .41E-10  STRATEGY=1  ERROR MATRIX UNCERTAINTY=100.0%

  EXT PARAMETER                APPROXIMATE        STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor      .0000        9.5385        .42118E-03** at limit **
   2  Index         1.0961        1.2835        .17136E-03     .0000    
   3  Normalizat    1.4950        1.0502       -.42634E-05   -.20582E-03
   4  Prefactor     .73950        1.0891        .10964E-05   -.34617E-03
                               ERR DEF=  .500    
Final values: 
  Prefactor  = 0
  Index      = 1.09612
  Normalizat = 1.49499
  Prefactor  = 0.739505
 **********
 **   18 **HESSE 
 **********
  MNHESS FAILS AND WILL RETURN DIAGONAL MATRIX. 

 FCN=   9578.174     FROM HESSE     STATUS=FAILED         9 CALLS      221 TOTAL
                     EDM=   .41E-10  STRATEGY=1  ERROR MATRIX UNCERTAINTY=100.0%

  EXT PARAMETER                APPROXIMATE     INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  Prefactor      .0000        9.5385        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   2  Index         .67817E-01    1.3730        .17136E-03   -.89591    
   3  Normalizat    1.4950        1.0502       -.42634E-05   -.77919    
   4  Prefactor     .73950        1.0891        .10964E-05   -1.0200    
                               ERR DEF=  .500    
Minuit fit quality: 1   estimated distance: 4.11338e-11
Minuit parameter uncertainties:
  1  2.4272e-05
  2  1.32265
  3  1.06616
  4  1.12331
shell-init: error retrieving current directory: getcwd: cannot access parent directories: No such file or directory
Done.

MINUIT Return Code (Free Index): 101
logL (Free Index) = 9578.17401826
delta logL = -3.09228198603e-11

Extracting fit parameters...

4FGL J0159.0+3313
   Spectrum: PowerLaw
265    Prefactor:  0.000e+00  2.427e-05  0.000e+00  1.000e+06 ( 1.000e-14)
266        Index:  1.096e+00  1.323e+00  0.000e+00  1.000e+01 (-1.000e+00)
267        Scale:  3.553e+03  0.000e+00  3.000e+01  5.000e+05 ( 1.000e+00) fixed

GAL_V02
   Spectrum: PowerLaw
591    Prefactor:  7.395e-01  1.123e+00  0.000e+00  1.000e+01 ( 1.000e+00)
592        Index:  0.000e+00  0.000e+00 -1.000e+00  1.000e+00 ( 1.000e+00) fixed
593        Scale:  1.000e+02  0.000e+00  5.000e+01  2.000e+02 ( 1.000e+00) fixed

EG_v02
   Spectrum: FileFunction
590   Normalization:  1.495e+00  1.066e+00  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Free Index): 0.00
Ra Dec: 29.767 33.218

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/36518991/cmap_HighResolution_809568001_809827201_4FGL_J0159.0+3313_daily_bin2200.png

Cleaning up...

** Nuclear option initiated! **

Updating database...

UPDATE lightcurve_data_v2 SET energy_flux_upper_limit='3.14e-03', job_status='DONE', photon_flux_upper_limit='4.19e-08', time_completed='2026-08-31 01:39:04.250925', job_id='36518991', GAL2='0.74', fit_tolerance='1e-08', EG2='1.49', EG='1.49', time_epoch_completed='1788165544.25', return_code2='101', ts='0.00', comment='SUCCESS', return_code='0', GAL='0.74', dlogl='-3.09e-11', ts2='0.00', photon_index_error='0.00', photon_index='1.98' WHERE bin_id='2200' AND source_name='4FGL J0159.0+3313' AND cadence='daily';

Database successfully updated.


Analysis Complete.


Mon Aug 31 01:39:04 PDT 2026

_V02
Working on...
/lscratch/kocevski/36519155/ft1_filtered_4FGL_J0159.0+3313_daily_bin2200.fits.....................!
real 42.33
user 40.85
sys 0.70

Creating the likelihood object...
obs = UnbinnedObs('/lscratch/kocevski/36519155/ft1_filtered_4FGL_J0159.0+3313_daily_bin2200.fits', '/lscratch/kocevski/36519155/ft2_4FGL_J0159.0+3313_daily_bin2200.fits', expMap='/lscratch/kocevski/36519155/expmap_809568001_809827201_4FGL_J0159.0+3313_daily_bin2200.fits', expCube='/lscratch/kocevski/36519155/ltcube_809568001_809827201_4FGL_J0159.0+3313_daily_bin2200.fits', irfs='P8R3_SOURCE_V2')
like = UnbinnedAnalysis(obs, '/lscratch/kocevski/36519155/Model_4FGL_J0159.0+3313_daily_bin2200.xml', optimizer='MINUIT')

Using source of interest name: '4FGL J0159.0+3313'

4FGL J0159.0+3313
   Spectrum: PowerLaw
265    Prefactor:  1.345e+00  0.000e+00  0.000e+00  1.000e+06 ( 1.000e-14)
266        Index:  1.985e+00  0.000e+00  0.000e+00  1.000e+01 (-1.000e+00) fixed
267        Scale:  3.553e+03  0.000e+00  3.000e+01  5.000e+05 ( 1.000e+00) fixed


Likelihood Fit Parameters:
Event file(s): /lscratch/kocevski/36519155/ft1_filtered_4FGL_J0159.0+3313_daily_bin2200.fits
Spacecraft file(s): /lscratch/kocevski/36519155/ft2_4FGL_J0159.0+3313_daily_bin2200.fits
Exposure map: /lscratch/kocevski/36519155/expmap_809568001_809827201_4FGL_J0159.0+3313_daily_bin2200.fits
Exposure cube: /lscratch/kocevski/36519155/ltcube_809568001_809827201_4FGL_J0159.0+3313_daily_bin2200.fits
IRFs: P8R3_SOURCE_V2
Source model file: /lscratch/kocevski/36519155/Model_4FGL_J0159.0+3313_daily_bin2200.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) = 9578.28704411

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

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

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'norm      '    .26124E-06   1.0000          .0000       .10000E+07
     2 'Prefactor '    .60216E-04   1.0000          .0000       .10000E+07
     3 'Prefactor '    1.1845       1.0000          .0000       .10000E+07
     4 'norm      '    .10794       1.0000          .0000       .10000E+07
     5 'Prefactor '    .18261E-02   1.0000          .0000       .10000E+07
     6 'norm      '    .93835       1.0000          .0000       .10000E+07
     7 'Prefactor '    10.746       1.0000          .0000       .10000E+07
     8 'Prefactor '    15.787       1.0000          .0000       .10000E+07
     9 'Prefactor '    1.9262       1.0000          .0000       .10000E+07
    10 'Prefactor '    .30673E-03   1.0000          .0000       .10000E+07
    11 'Prefactor '    .86069E-02   1.0000          .0000       .10000E+07
    12 'norm      '    .32382       1.0000          .0000       .10000E+07
    13 'Prefactor '    2.5479       1.0000          .0000       .10000E+07
    14 'Prefactor '    .47445E-05   1.0000          .0000       .10000E+07
    15 'norm      '    .16820E-07   1.0000          .0000       .10000E+07
    16 'norm      '    .12024E-06   1.0000          .0000       .10000E+07
    17 'norm      '    .12199E-01   1.0000          .0000       .10000E+07
    18 'norm      '    .55057       1.0000          .0000       .10000E+07
    19 'Prefactor '    .90247E-03   1.0000          .0000       .10000E+07
    20 'norm      '    46.716       1.0000          .0000       .10000E+07
    21 'norm      '    5.2015       1.0000          .0000       .10000E+07
    22 'Prefactor '    20.685       1.0000          .0000       .10000E+07
    23 'Normalizat'    1.4956       1.0000         .10000E-01   10.000    
    24 'Prefactor '    .73854       1.0000          .0000       10.000    
 **********
 **   15 **SET ERR    .5000    
 **********
 **********
 **   16 **SET GRAD    1.000    
 **********
 **********
 **   17 **MINIMIZE    .5940E+05   .2000E-04
 **********

 MIGRAD MINIMIZATION HAS CONVERGED.

 FCN=   9578.174     FROM MIGRAD    STATUS=CONVERGED    184 CALLS     1634 TOTAL
                     EDM=   .14E-09  STRATEGY=1  ERROR MATRIX UNCERTAINTY=  1.1%

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  norm           .0000        3.2109       -.69783E-07** at limit **
   2  Prefactor      .0000        11.293        .18306E-06** at limit **
   3  Prefactor     1.2151        26.481        .99360E-07    .11040E-03
   4  norm          .10769        1.0684        .89790E-07** at limit **
   5  Prefactor     .15782E-06    36.141       -.25786E-06** at limit **
   6  norm          .93741        .59043        .13237E-07   -.15498E-02
   7  Prefactor     10.745        9.8903       -.47531E-07   -.12363E-02
   8  Prefactor     15.858        12.400       -.32625E-07   -.95800E-02
   9  Prefactor     1.9217        2.1059       -.28132E-08    .20983E-03
  10  Prefactor      .0000        8.5963        .16433E-06** at limit **
  11  Prefactor     .73275E-07    33.411       -.25972E-06** at limit **
  12  norm          .32155        1.7970        .15422E-06   -.25229E-03
  13  Prefactor     2.5395        3.8508       -.57180E-07    .22936E-03
  14  Prefactor      .0000        1.0362        .17784E-08** at limit **
  15  norm           .0000        .73279        .38358E-07** at limit **
  16  norm           .0000        .15405       -.30928E-07** at limit **
  17  norm          .23770E-04    64.321       -.56828E-06** at limit **
  18  norm          .55044        .26172       -.14017E-07    .12250E-02
  19  Prefactor      .0000        5.3608        .11907E-06** at limit **
  20  norm          46.707        9.6378       -.39733E-07   -.65741E-03
  21  norm          5.2044        1.8801        .51905E-08   -.25759E-03
  22  Prefactor     16.950        27.883       -.23268E-06   -.54806E-01
  23  Normalizat    1.4950        .21522       -.18807E-05    .17026E-04
  24  Prefactor     .73951        .11711        .95193E-06    .12024E-04
                               ERR DEF=  .500    
Final values: 
  norm       = 0
  Prefactor  = 0
  Prefactor  = 1.2151
  norm       = 0.107693
  Prefactor  = 1.57818e-07
  norm       = 0.937406
  Prefactor  = 10.7452
  Prefactor  = 15.8579
  Prefactor  = 1.92174
  Prefactor  = 0
  Prefactor  = 7.32747e-08
  norm       = 0.321549
  Prefactor  = 2.53951
  Prefactor  = 0
  norm       = 0
  norm       = 0
  norm       = 2.37696e-05
  norm       = 0.550437
  Prefactor  = 0
  norm       = 46.7073
  norm       = 5.2044
  Prefactor  = 16.9503
  Normalizat = 1.49499
  Prefactor  = 0.739505
 **********
 **   18 **HESSE 
 **********

 FCN=   9578.174     FROM HESSE     STATUS=OK           457 CALLS     2091 TOTAL
                     EDM=   .58E-06    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  norm           .0000        .72731        .29963E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   2  Prefactor      .0000        11.314        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   3  Prefactor     1.2151        25.863        .10485E-02   -1.5686    
   4  norm          .10769        .52570        .26909E-02   -1.5701    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   5  Prefactor     .15782E-06    36.516        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   6  norm          .93741        .59545        .43144E-03   -1.5689    
   7  Prefactor     10.745        9.8851        .30539E-03   -1.5642    
   8  Prefactor     15.858        12.441        .25181E-03   -1.5628    
   9  Prefactor     1.9217        2.1163        .74822E-03   -1.5680    
  10  Prefactor      .0000        8.6150        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  11  Prefactor     .73275E-07    33.628        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  12  norm          .32155        1.8638        .98904E-03   -1.5697    
  13  Prefactor     2.5395        3.8784        .63944E-03   -1.5676    
  14  Prefactor      .0000        1.0316        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  15  norm           .0000        .73344        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  16  norm           .0000        .15479        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  17  norm          .23770E-04    105.51        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  18  norm          .55044        .26108        .73778E-03   -1.5693    
  19  Prefactor      .0000        5.3829        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  20  norm          46.707        9.6544        .14632E-03   -1.5571    
  21  norm          5.2044        1.8819        .44053E-03   -1.5662    
  22  Prefactor     16.950        44.031        .21994E-03   -1.5626    
  23  Normalizat    1.4950        .18602        .64743E-01   -.77919    
  24  Prefactor     .73951        .10068        .42912E-01   -1.0200    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 5.83445e-07
Minuit parameter uncertainties:
  1  6.05441e-07
  2  1.0758e-05
  3  11.2119
  4  0.475873
  5  0.00480097
  6  0.59545
  7  9.88514
  8  12.4407
  9  2.1163
  10  1.46766e-05
  11  0.0031395
  12  1.54828
  13  3.87838
  14  4.75923e-07
  15  1.02449e-06
  16  3.9723e-07
  17  0.100162
  18  0.261079
  19  1.42606e-06
  20  9.65444
  21  1.88185
  22  44.0321
  23  0.186105
  24  0.100705
Done.

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

Extracting fit parameters...

4FGL J0159.0+3313
   Spectrum: PowerLaw
265    Prefactor:  0.000e+00  1.468e-05  0.000e+00  1.000e+06 ( 1.000e-14)
266        Index:  1.985e+00  0.000e+00  0.000e+00  1.000e+01 (-1.000e+00) fixed
267        Scale:  3.553e+03  0.000e+00  3.000e+01  5.000e+05 ( 1.000e+00) fixed

GAL_V02
   Spectrum: PowerLaw
591    Prefactor:  7.395e-01  1.007e-01  0.000e+00  1.000e+01 ( 1.000e+00)
592        Index:  0.000e+00  0.000e+00 -1.000e+00  1.000e+00 ( 1.000e+00) fixed
593        Scale:  1.000e+02  0.000e+00  5.000e+01  2.000e+02 ( 1.000e+00) fixed

EG_v02
   Spectrum: FileFunction
590   Normalization:  1.495e+00  1.861e-01  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Fixed Index): 0.00
Ra Dec: 29.767 33.218
Photon Flux Upper Limit: 4.19282387131e-08 ph cm-2 s-1
Energy Flux Upper Limit: 0.0031406168899 MeV cm-2 s-1

Saving results to:
/lscratch/kocevski/36519155/likelihoodResults_809568001_809827201_4FGL_J0159.0+3313_daily_bin2200.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) = 9578.22997492
delta logL = -0.0559566503816

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

MINUIT Return Code (Free Index): 102
logL (Free Index) = 9578.17401836
delta logL = -9.08530637389e-08

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'Prefactor '    .40823E-06   1.0000          .0000       .10000E+07
     2 'Index     '    .69523       1.0000          .0000       10.000    
     3 'Normalizat'    1.4949       1.0000         .10000E-01   10.000    
     4 'Prefactor '    .73953       1.0000          .0000       10.000    
 **********
 **   15 **SET ERR    .5000    
 **********
 **********
 **   16 **SET GRAD    1.000    
 **********
 **********
 **   17 **MINIMIZE    .5940E+05   .2000E-04
 **********

 MIGRAD MINIMIZATION HAS CONVERGED.

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

 FCN=   9578.174     FROM MIGRAD    STATUS=CONVERGED     37 CALLS      212 TOTAL
                     EDM=   .41E-10  STRATEGY=1  ERROR MATRIX UNCERTAINTY=100.0%

  EXT PARAMETER                APPROXIMATE        STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor      .0000        9.5385        .42118E-03** at limit **
   2  Index         1.0961        1.2835        .17136E-03     .0000    
   3  Normalizat    1.4950        1.0502       -.42634E-05   -.20582E-03
   4  Prefactor     .73950        1.0891        .10964E-05   -.34617E-03
                               ERR DEF=  .500    
Final values: 
  Prefactor  = 0
  Index      = 1.09612
  Normalizat = 1.49499
  Prefactor  = 0.739505
 **********
 **   18 **HESSE 
 **********
  MNHESS FAILS AND WILL RETURN DIAGONAL MATRIX. 

 FCN=   9578.174     FROM HESSE     STATUS=FAILED         9 CALLS      221 TOTAL
                     EDM=   .41E-10  STRATEGY=1  ERROR MATRIX UNCERTAINTY=100.0%

  EXT PARAMETER                APPROXIMATE     INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  Prefactor      .0000        9.5385        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   2  Index         .67817E-01    1.3730        .17136E-03   -.89591    
   3  Normalizat    1.4950        1.0502       -.42634E-05   -.77919    
   4  Prefactor     .73950        1.0891        .10964E-05   -1.0200    
                               ERR DEF=  .500    
Minuit fit quality: 1   estimated distance: 4.11338e-11
Minuit parameter uncertainties:
  1  2.4272e-05
  2  1.32265
  3  1.06616
  4  1.12331
shell-init: error retrieving current directory: getcwd: cannot access parent directories: No such file or directory
Done.

MINUIT Return Code (Free Index): 101
logL (Free Index) = 9578.17401826
delta logL = -3.09228198603e-11

Extracting fit parameters...

4FGL J0159.0+3313
   Spectrum: PowerLaw
265    Prefactor:  0.000e+00  2.427e-05  0.000e+00  1.000e+06 ( 1.000e-14)
266        Index:  1.096e+00  1.323e+00  0.000e+00  1.000e+01 (-1.000e+00)
267        Scale:  3.553e+03  0.000e+00  3.000e+01  5.000e+05 ( 1.000e+00) fixed

GAL_V02
   Spectrum: PowerLaw
591    Prefactor:  7.395e-01  1.123e+00  0.000e+00  1.000e+01 ( 1.000e+00)
592        Index:  0.000e+00  0.000e+00 -1.000e+00  1.000e+00 ( 1.000e+00) fixed
593        Scale:  1.000e+02  0.000e+00  5.000e+01  2.000e+02 ( 1.000e+00) fixed

EG_v02
   Spectrum: FileFunction
590   Normalization:  1.495e+00  1.066e+00  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Free Index): 0.00
Ra Dec: 29.767 33.218

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/36519155/cmap_HighResolution_809568001_809827201_4FGL_J0159.0+3313_daily_bin2200.png

Cleaning up...

** Nuclear option initiated! **

Updating database...

UPDATE lightcurve_data_v2 SET energy_flux_upper_limit='3.14e-03', job_status='DONE', photon_flux_upper_limit='4.19e-08', time_completed='2026-08-31 01:40:26.745276', job_id='36519155', GAL2='0.74', fit_tolerance='1e-08', EG2='1.49', EG='1.49', time_epoch_completed='1788165626.75', return_code2='101', ts='0.00', comment='SUCCESS', return_code='0', GAL='0.74', dlogl='-3.09e-11', ts2='0.00', photon_index_error='0.00', photon_index='1.98' WHERE bin_id='2200' AND source_name='4FGL J0159.0+3313' AND cadence='daily';

Database successfully updated.


Analysis Complete.


Mon Aug 31 01:40:27 PDT 2026

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


Performing analysis on: 4FGL_J0159.0+3313_daily_bin2200
RA = 29.7665, Dec = 33.2175
tmin = 809568001, tmax = 809827201
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='36519625', job_status='RUN', time_executed='2026-08-31 01:37:32.702510', time_epoch_executed='1788165452.7' WHERE source_name='4FGL J0159.0+3313' and cadence='daily' and bin_id='2200'

Database successfully updated.
Done.

Creating custom output directory:
/lscratch/kocevski/36519625

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

Retrieving the FT1 file...

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

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

Retrieving 47 files...
Done.


Merging files...

Checksum keywords updated successfully.

Merged file saved to:
/lscratch/kocevski/36519625/ft1_4FGL_J0159.0+3313_daily_bin2200.fits


Retrieving the FT1 file...

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

Retrieving 47 files...
Done.


Merging files...

Merged file saved to:
/lscratch/kocevski/36519625/ft2_4FGL_J0159.0+3313_daily_bin2200.fits


Selecting the photons:
time -p gtselect infile=/lscratch/kocevski/36519625/ft1_4FGL_J0159.0+3313_daily_bin2200.fits outfile=/lscratch/kocevski/36519625/ft1_filteredMKT_4FGL_J0159.0+3313_daily_bin2200.fits ra=29.7665 dec=33.2175 rad=12.0 tmin=809568001.0 tmax=809827201.0 emin=100.0 emax=100000.0 zmin=0.0 zmax=90.0 evclass=128 evtype="INDEF" convtype=-1 phasemin=0.0 phasemax=1.0 evtable="EVENTS" chatter=2 clobber=yes debug=no gui=no mode="ql"

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

Done.
real 3.78
user 2.99
sys 0.18

Adding sun position to ft2 file:
/sdf/group/fermi/g/LCRepository/Repository/bin/sunpos /lscratch/kocevski/36519625/ft2_4FGL_J0159.0+3313_daily_bin2200.fits

Selecting the good time intervals:
time -p gtmktime scfile=/lscratch/kocevski/36519625/ft2_4FGL_J0159.0+3313_daily_bin2200.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/36519625/ft1_filteredMKT_4FGL_J0159.0+3313_daily_bin2200.fits evtable="EVENTS" outfile="/lscratch/kocevski/36519625/ft1_filtered_4FGL_J0159.0+3313_daily_bin2200.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.87
user 0.20
sys 0.14

Number of photons that the gtmktime cut: 914

Generating the livetime cube:
time -p gtltcube evfile="/lscratch/kocevski/36519625/ft1_filtered_4FGL_J0159.0+3313_daily_bin2200.fits" evtable="EVENTS" scfile=/lscratch/kocevski/36519625/ft2_4FGL_J0159.0+3313_daily_bin2200.fits sctable="SC_DATA" outfile=/lscratch/kocevski/36519437/ltcube_809568001_809827201_4FGL_J0159.0+3313_daily_bin2200.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/36519437/ft2_4FGL_J0159.0+3313_daily_bin2200.fits
.....................!
real 8.46
user 7.71
sys 0.21

Generating the exposure map:
time -p gtexpmap evfile=/lscratch/kocevski/36519437/ft1_filtered_4FGL_J0159.0+3313_daily_bin2200.fits evtable="EVENTS" scfile=/lscratch/kocevski/36519437/ft2_4FGL_J0159.0+3313_daily_bin2200.fits sctable="SC_DATA" expcube=/lscratch/kocevski/36519437/ltcube_809568001_809827201_4FGL_J0159.0+3313_daily_bin2200.fits outfile=/lscratch/kocevski/36519437/expmap_809568001_809827201_4FGL_J0159.0+3313_daily_bin2200.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/36519437/ltcube_809568001_809827201_4FGL_J0159.0+3313_daily_bin2200.fits
.....................!
real 70.23
user 65.08
sys 4.00

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

Setting source of interest to:
4FGL J0159.0+3313 @ 29.7665 33.2175

Creating the counts map:
time -p gtbin evfile=/lscratch/kocevski/36519437/ft1_filtered_4FGL_J0159.0+3313_daily_bin2200.fits scfile=/lscratch/kocevski/36519437/ft2_4FGL_J0159.0+3313_daily_bin2200.fits outfile=/lscratch/kocevski/36519437/cmap_809568001_809827201_4FGL_J0159.0+3313_daily_bin2200.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=29.7665 yref=33.2175 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.74
user 0.23
sys 0.12

Creating the high resolution counts map:
time -p gtbin evfile=/lscratch/kocevski/36519437/ft1_filtered_4FGL_J0159.0+3313_daily_bin2200.fits scfile=/lscratch/kocevski/36519437/ft2_4FGL_J0159.0+3313_daily_bin2200.fits outfile=/lscratch/kocevski/36519437/cmap_HighResolution_809568001_809827201_4FGL_J0159.0+3313_daily_bin2200.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=29.7665 yref=33.2175 axisrot=0.0 rafield="RA" decfield="DEC" proj="AIT" hpx_ordering_scheme="RING" hpx_order=3 hpx_ebin=yes hpx_region="" evtable="EVENTS" sctable="SC_DATA" efield="ENERGY" tfield="TIME" chatter=2 clobber=yes debug=no gui=no mode="ql"

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

This is gtbin version HEAD
real 0.81
user 0.22
sys 0.13

Computing the diffuse response:
time -p gtdiffrsp evfile=/lscratch/kocevski/36519437/ft1_filtered_4FGL_J0159.0+3313_daily_bin2200.fits evtable="EVENTS" scfile=/lscratch/kocevski/36519437/ft2_4FGL_J0159.0+3313_daily_bin2200.fits sctable="SC_DATA" srcmdl=/lscratch/kocevski/36519437/Model_4FGL_J0159.0+3313_daily_bin2200.xml irfs="P8R3_SOURCE_V2" evclsmin=0 evclass="INDEF" evtype="INDEF" convert=yes chatter=2 clobber=yes debug=no gui=no mode="ql"

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

adding source EG_v02
adding source GAL_file=/lscratch/kocevski/36519625/ltcube_809568001_809827201_4FGL_J0159.0+3313_daily_bin2200.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/36519625/ft2_4FGL_J0159.0+3313_daily_bin2200.fits
.....................!
real 8.20
user 7.54
sys 0.24

Generating the exposure map:
time -p gtexpmap evfile=/lscratch/kocevski/36519625/ft1_filtered_4FGL_J0159.0+3313_daily_bin2200.fits evtable="EVENTS" scfile=/lscratch/kocevski/36519625/ft2_4FGL_J0159.0+3313_daily_bin2200.fits sctable="SC_DATA" expcube=/lscratch/kocevski/36519625/ltcube_809568001_809827201_4FGL_J0159.0+3313_daily_bin2200.fits outfile=/lscratch/kocevski/36519625/expmap_809568001_809827201_4FGL_J0159.0+3313_daily_bin2200.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/36519625/ltcube_809568001_809827201_4FGL_J0159.0+3313_daily_bin2200.fits
.....................!
real 68.88
user 63.54
sys 4.09

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

Setting source of interest to:
4FGL J0159.0+3313 @ 29.7665 33.2175

Creating the counts map:
time -p gtbin evfile=/lscratch/kocevski/36519625/ft1_filtered_4FGL_J0159.0+3313_daily_bin2200.fits scfile=/lscratch/kocevski/36519625/ft2_4FGL_J0159.0+3313_daily_bin2200.fits outfile=/lscratch/kocevski/36519625/cmap_809568001_809827201_4FGL_J0159.0+3313_daily_bin2200.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=29.7665 yref=33.2175 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.87
user 0.23
sys 0.13

Creating the high resolution counts map:
time -p gtbin evfile=/lscratch/kocevski/36519625/ft1_filtered_4FGL_J0159.0+3313_daily_bin2200.fits scfile=/lscratch/kocevski/36519625/ft2_4FGL_J0159.0+3313_daily_bin2200.fits outfile=/lscratch/kocevski/36519625/cmap_HighResolution_809568001_809827201_4FGL_J0159.0+3313_daily_bin2200.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=29.7665 yref=33.2175 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.82
user 0.23
sys 0.14

Computing the diffuse response:
time -p gtdiffrsp evfile=/lscratch/kocevski/36519625/ft1_filtered_4FGL_J0159.0+3313_daily_bin2200.fits evtable="EVENTS" scfile=/lscratch/kocevski/36519625/ft2_4FGL_J0159.0+3313_daily_bin2200.fits sctable="SC_DATA" srcmdl=/lscratch/kocevski/36519625/Model_4FGL_J0159.0+3313_daily_bin2200.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/36519437/ft1_filtered_4FGL_J0159.0+3313_daily_bin2200.fits.....................!
real 43.88
user 42.05
sys 1.05

Creating the likelihood object...
obs = UnbinnedObs('/lscratch/kocevski/36519437/ft1_filtered_4FGL_J0159.0+3313_daily_bin2200.fits', '/lscratch/kocevski/36519437/ft2_4FGL_J0159.0+3313_daily_bin2200.fits', expMap='/lscratch/kocevski/36519437/expmap_809568001_809827201_4FGL_J0159.0+3313_daily_bin2200.fits', expCube='/lscratch/kocevski/36519437/ltcube_809568001_809827201_4FGL_J0159.0+3313_daily_bin2200.fits', irfs='P8R3_SOURCE_V2')
like = UnbinnedAnalysis(obs, '/lscratch/kocevski/36519437/Model_4FGL_J0159.0+3313_daily_bin2200.xml', optimizer='MINUIT')

Using source of interest name: '4FGL J0159.0+3313'

4FGL J0159.0+3313
   Spectrum: PowerLaw
265    Prefactor:  1.345e+00  0.000e+00  0.000e+00  1.000e+06 ( 1.000e-14)
266        Index:  1.985e+00  0.000e+00  0.000e+00  1.000e+01 (-1.000e+00) fixed
267        Scale:  3.553e+03  0.000e+00  3.000e+01  5.000e+05 ( 1.000e+00) fixed


Likelihood Fit Parameters:
Event file(s): /lscratch/kocevski/36519437/ft1_filtered_4FGL_J0159.0+3313_daily_bin2200.fits
Spacecraft file(s): /lscratch/kocevski/36519437/ft2_4FGL_J0159.0+3313_daily_bin2200.fits
Exposure map: /lscratch/kocevski/36519437/expmap_809568001_809827201_4FGL_J0159.0+3313_daily_bin2200.fits
Exposure cube: /lscratch/kocevski/36519437/ltcube_809568001_809827201_4FGL_J0159.0+3313_daily_bin2200.fits
IRFs: P8R3_SOURCE_V2
Source model file: /lscratch/kocevski/36519437/Model_4FGL_J0159.0+3313_daily_bin2200.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) = 9578.28704411

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

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

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'norm      '    .26124E-06   1.0000          .0000       .10000E+07
     2 'Prefactor '    .60216E-04   1.0000          .0000       .10000E+07
     3 'Prefactor '    1.1845       1.0000          .0000       .10000E+07
     4 'norm      '    .10794       1.0000          .0000       .10000E+07
     5 'Prefactor '    .18261E-02   1.0000          .0000       .10000E+07
     6 'norm      '    .93835       1.0000          .0000       .10000E+07
     7 'Prefactor '    10.746       1.0000          .0000       .10000E+07
     8 'Prefactor '    15.787       1.0000          .0000       .10000E+07
     9 'Prefactor '    1.9262       1.0000          .0000       .10000E+07
    10 'Prefactor '    .30673E-03   1.0000          .0000       .10000E+07
    11 'Prefactor '    .86069E-02   1.0000          .0000       .10000E+07
    12 'norm      '    .32382       1.0000          .0000       .10000E+07
    13 'Prefactor '    2.5479       1.0000          .0000       .10000E+07
    14 'Prefactor '    .47445E-05   1.0000          .0000       .10000E+07
    15 'norm      '    .16820E-07   1.0000          .0000       .10000E+07
    16 'norm      '    .12024E-06   1.0000          .0000       .10000E+07
    17 'norm      '    .12199E-01   1.0000          .0000       .10000E+07
    18 'norm      '    .55057       1.0000          .0000       .10000E+07
    19 'Prefactor '    .90247E-03   1.0000          .0000       .10000E+07
    20 'norm      '    46.716       1.0000          .0000       .10000E+07
    21 'norm      '    5.2015       1.0000          .0000       .10000E+07
    22 'Prefactor '    20.685       1.0000          .0000       .10000E+07
    23 'Normalizat'    1.4956       1.0000         .10000E-01   10.000    
    24 'Prefactor '    .73854       1.0000          .0000       10.000    
 **********
 **   15 **SET ERR    .5000    
 **********
 **********
 **   16 **SET GRAD    1.000    
 **********
 **********
 **   17 **MINIMIZE    .5940E+05   .2000E-04
 **********

 MIGRAD MINIMIZATION HAS CONVERGED.

 FCN=   9578.174     FROM MIGRAD    STATUS=CONVERGED    184 CALLS     1634 TOTAL
                     EDM=   .14E-09  STRATEGY=1  ERROR MATRIX UNCERTAINTY=  1.1%

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  norm           .0000        3.2109       -.69783E-07** at limit **
   2  Prefactor      .0000        11.293        .18306E-06** at limit **
   3  Prefactor     1.2151        26.481        .99360E-07    .11040E-03
   4  norm          .10769        1.0684        .89790E-07** at limit **
   5  Prefactor     .15782E-06    36.141       -.25786E-06** at limit **
   6  norm          .93741        .59043        .13237E-07   -.15498E-02
   7  Prefactor     10.745        9.8903       -.47531E-07   -.12363E-02
   8  Prefactor     15.858        12.400       -.32625E-07   -.95800E-02
   9  Prefactor     1.9217        2.1059       -.28132E-08    .20983E-03
  10  Prefactor      .0000        8.5963        .16433E-06** at limit **
  11  Prefactor     .73275E-07    33.411       -.25972E-06** at limit **
  12  norm          .32155        1.7970        .15422E-06   -.25229E-03
  13  Prefactor     2.5395        3.8508       -.57180E-07    .22936E-03
  14  Prefactor      .0000        1.0362        .17784E-08** at limit **
  15  norm           .0000        .73279        .38358E-07** at limit **
  16  norm           .0000        .15405       -.30928E-07** at limit **
  17  norm          .23770E-04    64.321       -.56828E-06** at limit **
  18  norm          .55044        .26172       -.14017E-07    .12250E-02
  19  Prefactor      .0000        5.3608        .11907E-06** at limit **
  20  norm          46.707        9.6378       -.39733E-07   -.65741E-03
  21  norm          5.2044        1.8801        .51905E-08   -.25759E-03
  22  Prefactor     16.950        27.883       -.23268E-06   -.54806E-01
  23  Normalizat    1.4950        .21522       -.18807E-05    .17026E-04
  24  Prefactor     .73951        .11711        .95193E-06    .12024E-04
                               ERR DEF=  .500    
Final values: 
  norm       = 0
  Prefactor  = 0
  Prefactor  = 1.2151
  norm       = 0.107693
  Prefactor  = 1.57818e-07
  norm       = 0.937406
  Prefactor  = 10.7452
  Prefactor  = 15.8579
  Prefactor  = 1.92174
  Prefactor  = 0
  Prefactor  = 7.32747e-08
  norm       = 0.321549
  Prefactor  = 2.53951
  Prefactor  = 0
  norm       = 0
  norm       = 0
  norm       = 2.37696e-05
  norm       = 0.550437
  Prefactor  = 0
  norm       = 46.7073
  norm       = 5.2044
  Prefactor  = 16.9503
  Normalizat = 1.49499
  Prefactor  = 0.739505
 **********
 **   18 **HESSE 
 **********

 FCN=   9578.174     FROM HESSE     STATUS=OK           457 CALLS     2091 TOTAL
                     EDM=   .58E-06    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  norm           .0000        .72731        .29963E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   2  Prefactor      .0000        11.314        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   3  Prefactor     1.2151        25.863        .10485E-02   -1.5686    
   4  norm          .10769        .52570        .26909E-02   -1.5701    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   5  Prefactor     .15782E-06    36.516        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   6  norm          .93741        .59545        .43144E-03   -1.5689    
   7  Prefactor     10.745        9.8851        .30539E-03   -1.5642    
   8  Prefactor     15.858        12.441        .25181E-03   -1.5628    
   9  Prefactor     1.9217        2.1163        .74822E-03   -1.5680    
  10  Prefactor      .0000        8.6150        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  11  Prefactor     .73275E-07    33.628        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  12  norm          .32155        1.8638        .98904E-03   -1.5697    
  13  Prefactor     2.5395        3.8784        .63944E-03   -1.5676    
  14  Prefactor      .0000        1.0316        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  15  norm           .0000        .73344        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  16  norm           .0000        .15479        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  17  norm          .23770E-04    105.51        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  18  norm          .55044        .26108        .73778E-03   -1.5693    
  19  Prefactor      .0000        5.3829        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  20  norm          46.707        9.6544        .14632E-03   -1.5571    
  21  norm          5.2044        1.8819        .44053E-03   -1.5662    
  22  Prefactor     16.950        44.031        .21994E-03   -1.5626    
  23  Normalizat    1.4950        .18602        .64743E-01   -.77919    
  24  Prefactor     .73951        .10068        .42912E-01   -1.0200    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 5.83445e-07
Minuit parameter uncertainties:
  1  6.05441e-07
  2  1.0758e-05
  3  11.2119
  4  0.475873
  5  0.00480097
  6  0.59545
  7  9.88514
  8  12.4407
  9  2.1163
  10  1.46766e-05
  11  0.0031395
  12  1.54828
  13  3.87838
  14  4.75923e-07
  15  1.02449e-06
  16  3.9723e-07
  17  0.100162
  18  0.261079
  19  1.42606e-06
  20  9.65444
  21  1.88185
  22  44.0321
  23  0.186105
  24  0.100705
Done.

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

Extracting fit parameters...

4FGL J0159.0+3313
   Spectrum: PowerLaw
265    Prefactor:  0.000e+00  1.468e-05  0.000e+00  1.000e+06 ( 1.000e-14)
266        Index:  1.985e+00  0.000e+00  0.000e+00  1.000e+01 (-1.000e+00) fixed
267        Scale:  3.553e+03  0.000e+00  3.000e+01  5.000e+05 ( 1.000e+00) fixed

GAL_V02
   Spectrum: PowerLaw
591    Prefactor:  7.395e-01  1.007e-01  0.000e+00  1.000e+01 ( 1.000e+00)
592        Index:  0.000e+00  0.000e+00 -1.000e+00  1.000e+00 ( 1.000e+00) fixed
593        Scale:  1.000e+02  0.000e+00  5.000e+01  2.000e+02 ( 1.000e+00) fixed

EG_v02
   Spectrum: FileFunction
590   Normalization:  1.495e+00  1.861e-01  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Fixed Index): 0.00
Ra Dec: 29.767 33.218
Photon Flux Upper Limit: 4.19282387131e-08 ph cm-2 s-1
Energy Flux Upper Limit: 0.0031406168899 MeV cm-2 s-1

Saving results to:
/lscratch/kocevski/36519437/likelihoodResults_809568001_809827201_4FGL_J0159.0+3313_daily_bin2200.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) = 9578.22997492
delta logL = -0.0559566503816

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

MINUIT Return Code (Free Index): 102
logL (Free Index) = 9578.17401836
delta logL = -9.08530637389e-08

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'Prefactor '    .40823E-06   1.0000          .0000       .10000E+07
     2 'Index     '    .69523       1.0000          .0000       10.000    
     3 'Normalizat'    1.4949       1.0000         .10000E-01   10.000    
     4 'Prefactor '    .73953       1.0000          .0000       10.000    
 **********
 **   15 **SET ERR    .5000    
 **********
 **********
 **   16 **SET GRAD    1.000    
 **********
 **********
 **   17 **MINIMIZE    .5940E+05   .2000E-04
 **********

 MIGRAD MINIMIZATION HAS CONVERGED.

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

 FCN=   9578.174     FROM MIGRAD    STATUS=CONVERGED     37 CALLS      212 TOTAL
                     EDM=   .41E-10  STRATEGY=1  ERROR MATRIX UNCERTAINTY=100.0%

  EXT PARAMETER                APPROXIMATE        STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor      .0000        9.5385        .42118E-03** at limit **
   2  Index         1.0961        1.2835        .17136E-03     .0000    
   3  Normalizat    1.4950        1.0502       -.42634E-05   -.20582E-03
   4  Prefactor     .73950        1.0891        .10964E-05   -.34617E-03
                               ERR DEF=  .500    
Final values: 
  Prefactor  = 0
  Index      = 1.09612
  Normalizat = 1.49499
  Prefactor  = 0.739505
 **********
 **   18 **HESSE 
 **********
  MNHESS FAILS AND WILL RETURN DIAGONAL MATRIX. 

 FCN=   9578.174     FROM HESSE     STATUS=FAILED         9 CALLS      221 TOTAL
                     EDM=   .41E-10  STRATEGY=1  ERROR MATRIX UNCERTAINTY=100.0%

  EXT PARAMETER                APPROXIMATE     INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  Prefactor      .0000        9.5385        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   2  Index         .67817E-01    1.3730        .17136E-03   -.89591    
   3  Normalizat    1.4950        1.0502       -.42634E-05   -.77919    
   4  Prefactor     .73950        1.0891        .10964E-05   -1.0200    
                               ERR DEF=  .500    
Minuit fit quality: 1   estimated distance: 4.11338e-11
Minuit parameter uncertainties:
  1  2.4272e-05
  2  1.32265
  3  1.06616
  4  1.12331
shell-init: error retrieving current directory: getcwd: cannot access parent directories: No such file or directory
Done.

MINUIT Return Code (Free Index): 101
logL (Free Index) = 9578.17401826
delta logL = -3.09228198603e-11

Extracting fit parameters...

4FGL J0159.0+3313
   Spectrum: PowerLaw
265    Prefactor:  0.000e+00  2.427e-05  0.000e+00  1.000e+06 ( 1.000e-14)
266        Index:  1.096e+00  1.323e+00  0.000e+00  1.000e+01 (-1.000e+00)
267        Scale:  3.553e+03  0.000e+00  3.000e+01  5.000e+05 ( 1.000e+00) fixed

GAL_V02
   Spectrum: PowerLaw
591    Prefactor:  7.395e-01  1.123e+00  0.000e+00  1.000e+01 ( 1.000e+00)
592        Index:  0.000e+00  0.000e+00 -1.000e+00  1.000e+00 ( 1.000e+00) fixed
593        Scale:  1.000e+02  0.000e+00  5.000e+01  2.000e+02 ( 1.000e+00) fixed

EG_v02
   Spectrum: FileFunction
590   Normalization:  1.495e+00  1.066e+00  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Free Index): 0.00
Ra Dec: 29.767 33.218

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/36519437/cmap_HighResolution_809568001_809827201_4FGL_J0159.0+3313_daily_bin2200.png

Cleaning up...

** Nuclear option initiated! **

Updating database...

UPDATE lightcurve_data_v2 SET energy_flux_upper_limit='3.14e-03', job_status='DONE', photon_flux_upper_limit='4.19e-08', time_completed='2026-08-31 01:43:59.091969', job_id='36519437', GAL2='0.74', fit_tolerance='1e-08', EG2='1.49', EG='1.49', time_epoch_completed='1788165839.09', return_code2='101', ts='0.00', comment='SUCCESS', return_code='0', GAL='0.74', dlogl='-3.09e-11', ts2='0.00', photon_index_error='0.00', photon_index='1.98' WHERE bin_id='2200' AND source_name='4FGL J0159.0+3313' AND cadence='daily';

Database successfully updated.


Analysis Complete.


Mon Aug 31 01:43:59 PDT 2026

V02
Working on...
/lscratch/kocevski/36519625/ft1_filtered_4FGL_J0159.0+3313_daily_bin2200.fits.....................!
real 42.16
user 40.50
sys 0.94

Creating the likelihood object...
obs = UnbinnedObs('/lscratch/kocevski/36519625/ft1_filtered_4FGL_J0159.0+3313_daily_bin2200.fits', '/lscratch/kocevski/36519625/ft2_4FGL_J0159.0+3313_daily_bin2200.fits', expMap='/lscratch/kocevski/36519625/expmap_809568001_809827201_4FGL_J0159.0+3313_daily_bin2200.fits', expCube='/lscratch/kocevski/36519625/ltcube_809568001_809827201_4FGL_J0159.0+3313_daily_bin2200.fits', irfs='P8R3_SOURCE_V2')
like = UnbinnedAnalysis(obs, '/lscratch/kocevski/36519625/Model_4FGL_J0159.0+3313_daily_bin2200.xml', optimizer='MINUIT')

Using source of interest name: '4FGL J0159.0+3313'

4FGL J0159.0+3313
   Spectrum: PowerLaw
265    Prefactor:  1.345e+00  0.000e+00  0.000e+00  1.000e+06 ( 1.000e-14)
266        Index:  1.985e+00  0.000e+00  0.000e+00  1.000e+01 (-1.000e+00) fixed
267        Scale:  3.553e+03  0.000e+00  3.000e+01  5.000e+05 ( 1.000e+00) fixed


Likelihood Fit Parameters:
Event file(s): /lscratch/kocevski/36519625/ft1_filtered_4FGL_J0159.0+3313_daily_bin2200.fits
Spacecraft file(s): /lscratch/kocevski/36519625/ft2_4FGL_J0159.0+3313_daily_bin2200.fits
Exposure map: /lscratch/kocevski/36519625/expmap_809568001_809827201_4FGL_J0159.0+3313_daily_bin2200.fits
Exposure cube: /lscratch/kocevski/36519625/ltcube_809568001_809827201_4FGL_J0159.0+3313_daily_bin2200.fits
IRFs: P8R3_SOURCE_V2
Source model file: /lscratch/kocevski/36519625/Model_4FGL_J0159.0+3313_daily_bin2200.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) = 9578.28704411

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

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

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'norm      '    .26124E-06   1.0000          .0000       .10000E+07
     2 'Prefactor '    .60216E-04   1.0000          .0000       .10000E+07
     3 'Prefactor '    1.1845       1.0000          .0000       .10000E+07
     4 'norm      '    .10794       1.0000          .0000       .10000E+07
     5 'Prefactor '    .18261E-02   1.0000          .0000       .10000E+07
     6 'norm      '    .93835       1.0000          .0000       .10000E+07
     7 'Prefactor '    10.746       1.0000          .0000       .10000E+07
     8 'Prefactor '    15.787       1.0000          .0000       .10000E+07
     9 'Prefactor '    1.9262       1.0000          .0000       .10000E+07
    10 'Prefactor '    .30673E-03   1.0000          .0000       .10000E+07
    11 'Prefactor '    .86069E-02   1.0000          .0000       .10000E+07
    12 'norm      '    .32382       1.0000          .0000       .10000E+07
    13 'Prefactor '    2.5479       1.0000          .0000       .10000E+07
    14 'Prefactor '    .47445E-05   1.0000          .0000       .10000E+07
    15 'norm      '    .16820E-07   1.0000          .0000       .10000E+07
    16 'norm      '    .12024E-06   1.0000          .0000       .10000E+07
    17 'norm      '    .12199E-01   1.0000          .0000       .10000E+07
    18 'norm      '    .55057       1.0000          .0000       .10000E+07
    19 'Prefactor '    .90247E-03   1.0000          .0000       .10000E+07
    20 'norm      '    46.716       1.0000          .0000       .10000E+07
    21 'norm      '    5.2015       1.0000          .0000       .10000E+07
    22 'Prefactor '    20.685       1.0000          .0000       .10000E+07
    23 'Normalizat'    1.4956       1.0000         .10000E-01   10.000    
    24 'Prefactor '    .73854       1.0000          .0000       10.000    
 **********
 **   15 **SET ERR    .5000    
 **********
 **********
 **   16 **SET GRAD    1.000    
 **********
 **********
 **   17 **MINIMIZE    .5940E+05   .2000E-04
 **********

 MIGRAD MINIMIZATION HAS CONVERGED.

 FCN=   9578.174     FROM MIGRAD    STATUS=CONVERGED    184 CALLS     1634 TOTAL
                     EDM=   .14E-09  STRATEGY=1  ERROR MATRIX UNCERTAINTY=  1.1%

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  norm           .0000        3.2109       -.69783E-07** at limit **
   2  Prefactor      .0000        11.293        .18306E-06** at limit **
   3  Prefactor     1.2151        26.481        .99360E-07    .11040E-03
   4  norm          .10769        1.0684        .89790E-07** at limit **
   5  Prefactor     .15782E-06    36.141       -.25786E-06** at limit **
   6  norm          .93741        .59043        .13237E-07   -.15498E-02
   7  Prefactor     10.745        9.8903       -.47531E-07   -.12363E-02
   8  Prefactor     15.858        12.400       -.32625E-07   -.95800E-02
   9  Prefactor     1.9217        2.1059       -.28132E-08    .20983E-03
  10  Prefactor      .0000        8.5963        .16433E-06** at limit **
  11  Prefactor     .73275E-07    33.411       -.25972E-06** at limit **
  12  norm          .32155        1.7970        .15422E-06   -.25229E-03
  13  Prefactor     2.5395        3.8508       -.57180E-07    .22936E-03
  14  Prefactor      .0000        1.0362        .17784E-08** at limit **
  15  norm           .0000        .73279        .38358E-07** at limit **
  16  norm           .0000        .15405       -.30928E-07** at limit **
  17  norm          .23770E-04    64.321       -.56828E-06** at limit **
  18  norm          .55044        .26172       -.14017E-07    .12250E-02
  19  Prefactor      .0000        5.3608        .11907E-06** at limit **
  20  norm          46.707        9.6378       -.39733E-07   -.65741E-03
  21  norm          5.2044        1.8801        .51905E-08   -.25759E-03
  22  Prefactor     16.950        27.883       -.23268E-06   -.54806E-01
  23  Normalizat    1.4950        .21522       -.18807E-05    .17026E-04
  24  Prefactor     .73951        .11711        .95193E-06    .12024E-04
                               ERR DEF=  .500    
Final values: 
  norm       = 0
  Prefactor  = 0
  Prefactor  = 1.2151
  norm       = 0.107693
  Prefactor  = 1.57818e-07
  norm       = 0.937406
  Prefactor  = 10.7452
  Prefactor  = 15.8579
  Prefactor  = 1.92174
  Prefactor  = 0
  Prefactor  = 7.32747e-08
  norm       = 0.321549
  Prefactor  = 2.53951
  Prefactor  = 0
  norm       = 0
  norm       = 0
  norm       = 2.37696e-05
  norm       = 0.550437
  Prefactor  = 0
  norm       = 46.7073
  norm       = 5.2044
  Prefactor  = 16.9503
  Normalizat = 1.49499
  Prefactor  = 0.739505
 **********
 **   18 **HESSE 
 **********

 FCN=   9578.174     FROM HESSE     STATUS=OK           457 CALLS     2091 TOTAL
                     EDM=   .58E-06    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  norm           .0000        .72731        .29963E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   2  Prefactor      .0000        11.314        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   3  Prefactor     1.2151        25.863        .10485E-02   -1.5686    
   4  norm          .10769        .52570        .26909E-02   -1.5701    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   5  Prefactor     .15782E-06    36.516        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   6  norm          .93741        .59545        .43144E-03   -1.5689    
   7  Prefactor     10.745        9.8851        .30539E-03   -1.5642    
   8  Prefactor     15.858        12.441        .25181E-03   -1.5628    
   9  Prefactor     1.9217        2.1163        .74822E-03   -1.5680    
  10  Prefactor      .0000        8.6150        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  11  Prefactor     .73275E-07    33.628        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  12  norm          .32155        1.8638        .98904E-03   -1.5697    
  13  Prefactor     2.5395        3.8784        .63944E-03   -1.5676    
  14  Prefactor      .0000        1.0316        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  15  norm           .0000        .73344        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  16  norm           .0000        .15479        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  17  norm          .23770E-04    105.51        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  18  norm          .55044        .26108        .73778E-03   -1.5693    
  19  Prefactor      .0000        5.3829        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  20  norm          46.707        9.6544        .14632E-03   -1.5571    
  21  norm          5.2044        1.8819        .44053E-03   -1.5662    
  22  Prefactor     16.950        44.031        .21994E-03   -1.5626    
  23  Normalizat    1.4950        .18602        .64743E-01   -.77919    
  24  Prefactor     .73951        .10068        .42912E-01   -1.0200    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 5.83445e-07
Minuit parameter uncertainties:
  1  6.05441e-07
  2  1.0758e-05
  3  11.2119
  4  0.475873
  5  0.00480097
  6  0.59545
  7  9.88514
  8  12.4407
  9  2.1163
  10  1.46766e-05
  11  0.0031395
  12  1.54828
  13  3.87838
  14  4.75923e-07
  15  1.02449e-06
  16  3.9723e-07
  17  0.100162
  18  0.261079
  19  1.42606e-06
  20  9.65444
  21  1.88185
  22  44.0321
  23  0.186105
  24  0.100705
Done.

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

Extracting fit parameters...

4FGL J0159.0+3313
   Spectrum: PowerLaw
265    Prefactor:  0.000e+00  1.468e-05  0.000e+00  1.000e+06 ( 1.000e-14)
266        Index:  1.985e+00  0.000e+00  0.000e+00  1.000e+01 (-1.000e+00) fixed
267        Scale:  3.553e+03  0.000e+00  3.000e+01  5.000e+05 ( 1.000e+00) fixed

GAL_V02
   Spectrum: PowerLaw
591    Prefactor:  7.395e-01  1.007e-01  0.000e+00  1.000e+01 ( 1.000e+00)
592        Index:  0.000e+00  0.000e+00 -1.000e+00  1.000e+00 ( 1.000e+00) fixed
593        Scale:  1.000e+02  0.000e+00  5.000e+01  2.000e+02 ( 1.000e+00) fixed

EG_v02
   Spectrum: FileFunction
590   Normalization:  1.495e+00  1.861e-01  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Fixed Index): 0.00
Ra Dec: 29.767 33.218
Photon Flux Upper Limit: 4.19282387131e-08 ph cm-2 s-1
Energy Flux Upper Limit: 0.0031406168899 MeV cm-2 s-1

Saving results to:
/lscratch/kocevski/36519625/likelihoodResults_809568001_809827201_4FGL_J0159.0+3313_daily_bin2200.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) = 9578.22997492
delta logL = -0.0559566503816

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

MINUIT Return Code (Free Index): 102
logL (Free Index) = 9578.17401836
delta logL = -9.08530637389e-08

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'Prefactor '    .40823E-06   1.0000          .0000       .10000E+07
     2 'Index     '    .69523       1.0000          .0000       10.000    
     3 'Normalizat'    1.4949       1.0000         .10000E-01   10.000    
     4 'Prefactor '    .73953       1.0000          .0000       10.000    
 **********
 **   15 **SET ERR    .5000    
 **********
 **********
 **   16 **SET GRAD    1.000    
 **********
 **********
 **   17 **MINIMIZE    .5940E+05   .2000E-04
 **********

 MIGRAD MINIMIZATION HAS CONVERGED.

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

 FCN=   9578.174     FROM MIGRAD    STATUS=CONVERGED     37 CALLS      212 TOTAL
                     EDM=   .41E-10  STRATEGY=1  ERROR MATRIX UNCERTAINTY=100.0%

  EXT PARAMETER                APPROXIMATE        STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor      .0000        9.5385        .42118E-03** at limit **
   2  Index         1.0961        1.2835        .17136E-03     .0000    
   3  Normalizat    1.4950        1.0502       -.42634E-05   -.20582E-03
   4  Prefactor     .73950        1.0891        .10964E-05   -.34617E-03
                               ERR DEF=  .500    
Final values: 
  Prefactor  = 0
  Index      = 1.09612
  Normalizat = 1.49499
  Prefactor  = 0.739505
 **********
 **   18 **HESSE 
 **********
  MNHESS FAILS AND WILL RETURN DIAGONAL MATRIX. 

 FCN=   9578.174     FROM HESSE     STATUS=FAILED         9 CALLS      221 TOTAL
                     EDM=   .41E-10  STRATEGY=1  ERROR MATRIX UNCERTAINTY=100.0%

  EXT PARAMETER                APPROXIMATE     INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  Prefactor      .0000        9.5385        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   2  Index         .67817E-01    1.3730        .17136E-03   -.89591    
   3  Normalizat    1.4950        1.0502       -.42634E-05   -.77919    
   4  Prefactor     .73950        1.0891        .10964E-05   -1.0200    
                               ERR DEF=  .500    
Minuit fit quality: 1   estimated distance: 4.11338e-11
Minuit parameter uncertainties:
  1  2.4272e-05
  2  1.32265
  3  1.06616
  4  1.12331
shell-init: error retrieving current directory: getcwd: cannot access parent directories: No such file or directory
Done.

MINUIT Return Code (Free Index): 101
logL (Free Index) = 9578.17401826
delta logL = -3.09228198603e-11

Extracting fit parameters...

4FGL J0159.0+3313
   Spectrum: PowerLaw
265    Prefactor:  0.000e+00  2.427e-05  0.000e+00  1.000e+06 ( 1.000e-14)
266        Index:  1.096e+00  1.323e+00  0.000e+00  1.000e+01 (-1.000e+00)
267        Scale:  3.553e+03  0.000e+00  3.000e+01  5.000e+05 ( 1.000e+00) fixed

GAL_V02
   Spectrum: PowerLaw
591    Prefactor:  7.395e-01  1.123e+00  0.000e+00  1.000e+01 ( 1.000e+00)
592        Index:  0.000e+00  0.000e+00 -1.000e+00  1.000e+00 ( 1.000e+00) fixed
593        Scale:  1.000e+02  0.000e+00  5.000e+01  2.000e+02 ( 1.000e+00) fixed

EG_v02
   Spectrum: FileFunction
590   Normalization:  1.495e+00  1.066e+00  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Free Index): 0.00
Ra Dec: 29.767 33.218

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/36519625/cmap_HighResolution_809568001_809827201_4FGL_J0159.0+3313_daily_bin2200.png

Cleaning up...

** Nuclear option initiated! **

Updating database...

UPDATE lightcurve_data_v2 SET energy_flux_upper_limit='3.14e-03', job_status='DONE', photon_flux_upper_limit='4.19e-08', time_completed='2026-08-31 01:45:29.762002', job_id='36519625', GAL2='0.74', fit_tolerance='1e-08', EG2='1.49', EG='1.49', time_epoch_completed='1788165929.76', return_code2='101', ts='0.00', comment='SUCCESS', return_code='0', GAL='0.74', dlogl='-3.09e-11', ts2='0.00', photon_index_error='0.00', photon_index='1.98' WHERE bin_id='2200' AND source_name='4FGL J0159.0+3313' AND cadence='daily';

Database successfully updated.


Analysis Complete.


Mon Aug 31 01:45:30 PDT 2026

