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

 FCN=   7354.861     FROM HESSE     STATUS=OK           306 CALLS     1717 TOTAL
                     EDM=   .14E-07    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  Prefactor     44.331        22.812        .15090E-03   -1.5575    
   2  Prefactor     .16653E-09    9.1556        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   3  norm          2.4501        1.5599        .65359E-03   -1.5677    
   4  Prefactor     .22204E-09    18.876        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   5  norm           .0000        7.8119        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   6  Prefactor     4.3087        4.0178        .48625E-03   -1.5666    
   7  Prefactor      .0000        7.3618        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   8  Prefactor      .0000        1.2568        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   9  Prefactor     .22204E-09    10.675        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  10  norm          3.6542        2.5045        .52859E-03   -1.5670    
  11  Prefactor     17.930        15.820        .23672E-03   -1.5623    
  12  norm          11.786        9.2672        .29154E-03   -1.5639    
  13  norm           .0000        4.6504        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  14  norm          8.5071        18.734        .34367E-03   -1.5650    
  15  Prefactor     5.7800        118.01        .53384E-03   -1.5660    
  16  Prefactor     .27756E-09    26.178        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  17  norm          9.5575        14.542        .32391E-03   -1.5646    
  18  Normalizat    1.3636        .19256        .59369E-01   -.81688    
  19  Prefactor     .82730        .13169        .44076E-01   -.98730    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 1.38431e-08
Minuit parameter uncertainties:
  1  22.8124
  2  8.02865e-05
  3  1.55988
  4  0.000137095
  5  1.80199e-05
  6  4.01779
  7  1.73915e-05
  8  6.66821e-07
  9  9.52655e-05
  10  2.50455
  11  15.8202
  12  9.26718
  13  2.44956e-06
  14  18.7345
  15  52.2342
  16  0.000163754
  17  14.5421
  18  0.192664
  19  0.131736
/sdf/group/fermi/u/kocevski/software/conda/envs/fermitools_v1.0.5/lib/python2.7/site-packages/pyfits/__init__.py:22: PyFITSDeprecationWarning: PyFITS is deprecated, please use astropy.io.fits
  PyFITSDeprecationWarning)  # noqa

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

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

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

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

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

Done.

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

Extracting fit parameters...

4FGL J1359.4+0202
   Spectrum: PowerLaw
268    Prefactor:  2.220e-10  9.527e-05  0.000e+00  1.000e+06 ( 1.000e-13)
269        Index:  2.385e+00  0.000e+00  0.000e+00  1.000e+01 (-1.000e+00) fixed
270        Scale:  1.283e+03  0.000e+00  3.000e+01  5.000e+05 ( 1.000e+00) fixed

GAL_V02
   Spectrum: PowerLaw
519    Prefactor:  8.273e-01  1.317e-01  0.000e+00  1.000e+01 ( 1.000e+00)
520        Index:  0.000e+00  0.000e+00 -1.000e+00  1.000e+00 ( 1.000e+00) fixed
521        Scale:  1.000e+02  0.000e+00  5.000e+01  2.000e+02 ( 1.000e+00) fixed

EG_v02
   Spectrum: FileFunction
518   Normalization:  1.364e+00  1.927e-01  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Fixed Index): -0.00
Ra Dec: 209.859 2.042
Photon Flux Upper Limit: 6.85030428981e-08 ph cm-2 s-1
Energy Flux Upper Limit: 0.00528809478785 MeV cm-2 s-1

Saving results to:
/lscratch/kocevski/33563600/likelihoodResults_806716801_806976001_4FGL_J1359.4+0202_daily_bin2189.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) = 7354.90945255
delta logL = -0.048816673454

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

MINUIT Return Code (Free Index): 102
logL (Free Index) = 7354.86063617
delta logL = -3.0004139262e-07

Fit tolerance = 1e-08

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

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

 MIGRAD MINIMIZATION HAS CONVERGED.

 FCN=   7354.861     FROM MIGRAD    STATUS=CONVERGED     30 CALLS      236 TOTAL
                     EDM=   .15E-09  STRATEGY=1  ERROR MATRIX UNCERTAINTY=  4.1%

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor      .0000        9.1912       -.10424E-05** at limit **
   2  Index         2.5092        2.9289        .63939E-04     .0000    
   3  Normalizat    1.3636        .22158        .16464E-06   -.43960E-03
   4  Prefactor     .82730        .15492        .28371E-06   -.59309E-03
                               ERR DEF=  .500    
Final values: 
  Prefactor  = 0
  Index      = 2.50917
  Normalizat = 1.36356
  Prefactor  = 0.827296
 **********
 **   18 **HESSE 
 **********
  MNHESS FAILS AND WILL RETURN DIAGONAL MATRIX. 

 FCN=   7354.861     FROM HESSE     STATUS=FAILED        11 CALLS      247 TOTAL
                     EDM=   .15E-09  STRATEGY=1  ERROR MATRIX UNCERTAINTY=100.0%

  EXT PARAMETER                APPROXIMATE     INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  Prefactor      .0000        9.1343        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   2  Index         .70969        1.8999        .63939E-04   -.52148    
   3  Normalizat    1.3636        1.0675        .16464E-06   -.81688    
   4  Prefactor     .82730        1.1751        .28371E-06   -.98730    
                               ERR DEF=  .500    
Minuit fit quality: 1   estimated distance: 1.4997e-10
Minuit parameter uncertainties:
  1  2.58501e-05
  2  1.23551
  3  1.08562
  4  1.21401
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) = 7354.86063587
delta logL = -1.1823431123e-10

Extracting fit parameters...

4FGL J1359.4+0202
   Spectrum: PowerLaw
268    Prefactor:  0.000e+00  2.585e-05  0.000e+00  1.000e+06 ( 1.000e-13)
269        Index:  2.509e+00  1.236e+00  0.000e+00  1.000e+01 (-1.000e+00)
270        Scale:  1.283e+03  0.000e+00  3.000e+01  5.000e+05 ( 1.000e+00) fixed

GAL_V02
   Spectrum: PowerLaw
519    Prefactor:  8.273e-01  1.214e+00  0.000e+00  1.000e+01 ( 1.000e+00)
520        Index:  0.000e+00  0.000e+00 -1.000e+00  1.000e+00 ( 1.000e+00) fixed
521        Scale:  1.000e+02  0.000e+00  5.000e+01  2.000e+02 ( 1.000e+00) fixed

EG_v02
   Spectrum: FileFunction
518   Normalization:  1.364e+00  1.086e+00  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Free Index): -0.00
Ra Dec: 209.859 2.042

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/33563600/cmap_HighResolution_806716801_806976001_4FGL_J1359.4+0202_daily_bin2189.png

Cleaning up...

** Nuclear option initiated! **

Updating database...

UPDATE lightcurve_data_v2 SET energy_flux_upper_limit='5.29e-03', job_status='DONE', photon_flux_upper_limit='6.85e-08', time_completed='2026-07-29 11:43:36.061616', job_id='33563600', GAL2='0.83', fit_tolerance='1e-08', EG2='1.36', EG='1.36', time_epoch_completed='1785350616.06', return_code2='101', ts='-0.00', comment='SUCCESS', return_code='0', GAL='0.83', dlogl='-1.18e-10', ts2='0.00', photon_index_error='0.00', photon_index='2.39' WHERE bin_id='2189' AND source_name='4FGL J1359.4+0202' AND cadence='daily';

Database successfully updated.


Analysis Complete.


Wed Jul 29 11:43:36 PDT 2026

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


Performing analysis on: 4FGL_J1359.4+0202_daily_bin2189
RA = 209.859, Dec = 2.0424
tmin = 806716801, tmax = 806976001
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='33563837', job_status='RUN', time_executed='2026-07-29 11:43:21.656761', time_epoch_executed='1785350601.66' WHERE source_name='4FGL J1359.4+0202' and cadence='daily' and bin_id='2189'

Database successfully updated.
Done.

Creating custom output directory:
/lscratch/kocevski/33563837

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

Retrieving the FT1 file...

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

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

Retrieving 46 files...
Done.


Merging files...

Checksum keywords updated successfully.

Merged file saved to:
/lscratch/kocevski/33563837/ft1_4FGL_J1359.4+0202_daily_bin2189.fits


Retrieving the FT1 file...

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

Retrieving 46 files...
Done.


Merging files...

Merged file saved to:
/lscratch/kocevski/33563837/ft2_4FGL_J1359.4+0202_daily_bin2189.fits


Selecting the photons:
time -p gtselect infile=/lscratch/kocevski/33563837/ft1_4FGL_J1359.4+0202_daily_bin2189.fits outfile=/lscratch/kocevski/33563837/ft1_filteredMKT_4FGL_J1359.4+0202_daily_bin2189.fits ra=209.859 dec=2.0424 rad=12.0 tmin=806716801.0 tmax=806976001.0 emin=100.0 emax=100000.0 zmin=0.0 zmax=90.0 evclass=128 evtype="INDEF" convtype=-1 phasemin=0.0 phasemax=1.0 evtable="EVENTS" chatter=2 clobber=yes debug=no gui=no mode="ql"

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

Done.
real 2.83
user 2.09
sys 0.17

Adding sun position to ft2 file:
/sdf/group/fermi/g/LCRepository/Repository/bin/sunpos /lscratch/kocevski/33563837/ft2_4FGL_J1359.4+0202_daily_bin2189.fits

Selecting the good time intervals:
time -p gtmktime scfile=/lscratch/kocevski/33563837/ft2_4FGL_J1359.4+0202_daily_bin2189.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/33563837/ft1_filteredMKT_4FGL_J1359.4+0202_daily_bin2189.fits evtable="EVENTS" outfile="/lscratch/kocevski/33563837/ft1_filtered_4FGL_J1359.4+0202_daily_bin2189.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.79
user 0.22
sys 0.13

Number of photons that the gtmktime cut: 672

Generating the livetime cube:
time -p gtltcube evfile="/lscratch/kocevski/33563837/ft1_filtered_4FGL_J1359.4+0202_daily_bin2189.fits" evtable="EVENTS" scfile=/lscratch/kocevski/33563837/ft2_4FGL_J1359.4+0202_daily_bin2189.fits sctable="SC_DATA" outfile=/lscratch/kocevski/33563837/ltcube_806716801_806976001_4FGL_J1359.4+0202_daily_bin2189.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/33563837/ft2_4FGL_J1359.4+0202_daily_bin2189.fits
.....................!
real 9.69
user 8.84
sys 0.22

Generating the exposure map:
time -p gtexpmap evfile=/lscratch/kocevski/33563837/ft1_filtered_4FGL_J1359.4+0202_daily_bin2189.fits evtable="EVENTS" scfile=/lscratch/kocevski/33563837/ft2_4FGL_J1359.4+0202_daily_bin2189.fits sctable="SC_DATA" expcube=/lscratch/kocevski/33563837/ltcube_806716801_806976001_4FGL_J1359.4+0202_daily_bin2189.fits outfile=/lscratch/kocevski/33563837/expmap_806716801_806976001_4FGL_J1359.4+0202_daily_bin2189.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/33563837/ltcube_806716801_806976001_4FGL_J1359.4+0202_daily_bin2189.fits
.....................!
real 76.28
user 70.66
sys 4.39

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

Setting source of interest to:
4FGL J1359.4+0202 @ 209.859 2.0424

Creating the counts map:
time -p gtbin evfile=/lscratch/kocevski/33563837/ft1_filtered_4FGL_J1359.4+0202_daily_bin2189.fits scfile=/lscratch/kocevski/33563837/ft2_4FGL_J1359.4+0202_daily_bin2189.fits outfile=/lscratch/kocevski/33563837/cmap_806716801_806976001_4FGL_J1359.4+0202_daily_bin2189.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=209.859 yref=2.0424 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.86
user 0.25
sys 0.12

Creating the high resolution counts map:
time -p gtbin evfile=/lscratch/kocevski/33563837/ft1_filtered_4FGL_J1359.4+0202_daily_bin2189.fits scfile=/lscratch/kocevski/33563837/ft2_4FGL_J1359.4+0202_daily_bin2189.fits outfile=/lscratch/kocevski/33563837/cmap_HighResolution_806716801_806976001_4FGL_J1359.4+0202_daily_bin2189.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=209.859 yref=2.0424 axisrot=0.0 rafield="RA" decfield="DEC" proj="AIT" hpx_ordering_scheme="RING" hpx_order=3 hpx_ebin=yes hpx_region="" evtable="EVENTS" sctable="SC_DATA" efield="ENERGY" tfield="TIME" chatter=2 clobber=yes debug=no gui=no mode="ql"

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

This is gtbin version HEAD
real 0.92
user 0.26
sys 0.13

Computing the diffuse response:
time -p gtdiffrsp evfile=/lscratch/kocevski/33563837/ft1_filtered_4FGL_J1359.4+0202_daily_bin2189.fits evtable="EVENTS" scfile=/lscratch/kocevski/33563837/ft2_4FGL_J1359.4+0202_daily_bin2189.fits sctable="SC_DATA" srcmdl=/lscratch/kocevski/33563837/Model_4FGL_J1359.4+0202_daily_bin2189.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/33563837/ft1_filtered_4FGL_J1359.4+0202_daily_bin2189.fits.....................!
real 24.82
user 23.07
sys 0.87

Creating the likelihood object...
obs = UnbinnedObs('/lscratch/kocevski/33563837/ft1_filtered_4FGL_J1359.4+0202_daily_bin2189.fits', '/lscratch/kocevski/33563837/ft2_4FGL_J1359.4+0202_daily_bin2189.fits', expMap='/lscratch/kocevski/33563837/expmap_806716801_806976001_4FGL_J1359.4+0202_daily_bin2189.fits', expCube='/lscratch/kocevski/33563837/ltcube_806716801_806976001_4FGL_J1359.4+0202_daily_bin2189.fits', irfs='P8R3_SOURCE_V2')
like = UnbinnedAnalysis(obs, '/lscratch/kocevski/33563837/Model_4FGL_J1359.4+0202_daily_bin2189.xml', optimizer='MINUIT')

Using source of interest name: '4FGL J1359.4+0202'

4FGL J1359.4+0202
   Spectrum: PowerLaw
268    Prefactor:  1.682e+00  0.000e+00  0.000e+00  1.000e+06 ( 1.000e-13)
269        Index:  2.385e+00  0.000e+00  0.000e+00  1.000e+01 (-1.000e+00) fixed
270        Scale:  1.283e+03  0.000e+00  3.000e+01  5.000e+05 ( 1.000e+00) fixed


Likelihood Fit Parameters:
Event file(s): /lscratch/kocevski/33563837/ft1_filtered_4FGL_J1359.4+0202_daily_bin2189.fits
Spacecraft file(s): /lscratch/kocevski/33563837/ft2_4FGL_J1359.4+0202_daily_bin2189.fits
Exposure map: /lscratch/kocevski/33563837/expmap_806716801_806976001_4FGL_J1359.4+0202_daily_bin2189.fits
Exposure cube: /lscratch/kocevski/33563837/ltcube_806716801_806976001_4FGL_J1359.4+0202_daily_bin2189.fits
IRFs: P8R3_SOURCE_V2
Source model file: /lscratch/kocevski/33563837/Model_4FGL_J1359.4+0202_daily_bin2189.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) = 7354.91208323

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

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

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'Prefactor '    43.924       1.0000          .0000       .10000E+07
     2 'Prefactor '    .71781E-03   1.0000          .0000       .10000E+07
     3 'norm      '    2.4477       1.0000          .0000       .10000E+07
     4 'Prefactor '    .15379E-05   1.0000          .0000       .10000E+07
     5 'norm      '    .40373E-06   1.0000          .0000       .10000E+07
     6 'Prefactor '    4.2885       1.0000          .0000       .10000E+07
     7 'Prefactor '    .24948E-03   1.0000          .0000       .10000E+07
     8 'Prefactor '    .98810E-07   1.0000          .0000       .10000E+07
     9 'Prefactor '    .14526E-04   1.0000          .0000       .10000E+07
    10 'norm      '    3.6489       1.0000          .0000       .10000E+07
    11 'Prefactor '    17.860       1.0000          .0000       .10000E+07
    12 'norm      '    11.787       1.0000          .0000       .10000E+07
    13 'norm      '    .11451E-03   1.0000          .0000       .10000E+07
    14 'norm      '    8.4962       1.0000          .0000       .10000E+07
    15 'Prefactor '    3.5802       1.0000          .0000       .10000E+07
    16 'Prefactor '    .82350E-02   1.0000          .0000       .10000E+07
    17 'norm      '    9.5576       1.0000          .0000       .10000E+07
    18 'Normalizat'    1.3646       1.0000         .10000E-01   10.000    
    19 'Prefactor '    .82762       1.0000          .0000       10.000    
 **********
 **   15 **SET ERR    .5000    
 **********
 **********
 **   16 **SET GRAD    1.000    
 **********
 **********
 **   17 **MINIMIZE    .5220E+05   .2000E-04
 **********

 MIGRAD MINIMIZATION HAS CONVERGED.

 FCN=   7354.861     FROM MIGRAD    STATUS=CONVERGED    125 CALLS     1411 TOTAL
                     EDM=   .15E-10  STRATEGY=1  ERROR MATRIX UNCERTAINTY=   .4%

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor     44.331        1.8289        .33293E-08   -.30258E-01
   2  Prefactor     .16653E-09    8.9393        .31358E-07** at limit **
   3  norm          2.4501        1.5531        .82708E-08    .52637E-04
   4  Prefactor     .22204E-09    18.802       -.17576E-06** at limit **
   5  norm           .0000        7.8171       -.17018E-06** at limit **
   6  Prefactor     4.3087        4.0194       -.13891E-07   -.66468E-04
   7  Prefactor      .0000        7.3669       -.79208E-07** at limit **
   8  Prefactor      .0000        1.2577       -.51424E-07** at limit **
   9  Prefactor     .22204E-09    10.602        .19806E-06** at limit **
  10  norm          3.6542        2.4993        .12509E-07    .15583E-04
  11  Prefactor     17.930        1.8650       -.59210E-08    .90694E-02
  12  norm          11.786        9.2824       -.34647E-07   -.13418E-03
  13  norm           .0000        4.6485        .68669E-08** at limit **
  14  norm          8.5071        1.1395       -.38519E-08   -.47120E-02
  15  Prefactor     5.7800        118.49        .32238E-06    .10102E-03
  16  Prefactor     .27756E-09    26.264        .20007E-06** at limit **
  17  norm          9.5575        3.0440       -.81801E-08   -.34244E-03
  18  Normalizat    1.3636        .22784        .53825E-06   -.18443E-05
  19  Prefactor     .82730        .15672       -.72374E-06   -.35449E-05
                               ERR DEF=  .500    
Final values: 
  Prefactor  = 44.3309
  Prefactor  = 1.66533e-10
  norm       = 2.45006
  Prefactor  = 2.22045e-10
  norm       = 0
  Prefactor  = 4.30871
  Prefactor  = 0
  Prefactor  = 0
  Prefactor  = 2.22045e-10
  norm       = 3.65421
  Prefactor  = 17.9298
  norm       = 11.7857
  norm       = 0
  norm       = 8.50711
  Prefactor  = 5.77995
  Prefactor  = 2.77556e-10
  norm       = 9.55755
  Normalizat = 1.36356
  Prefactor  = 0.827298
 **********
 **   18 **HESSE 
 **********

 FCN=   7354.861     FROM HESSE     STATUS=OK           306 CALLS     1717 TOTAL
                     EDM=   .14E-07    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  Prefactor     44.331        22.812        .15090E-03   -1.5575    
   2  Prefactor     .16653E-09    9.1556        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   3  norm          2.4501        1.5599        .65359E-03   -1.5677    
   4  Prefactor     .22204E-09    18.876        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   5  norm           .0000        7.8119        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   6  Prefactor     4.3087        4.0178        .48625E-03   -1.5666    
   7  Prefactor      .0000        7.3618        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   8  Prefactor      .0000        1.2568        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   9  Prefactor     .22204E-09    10.675        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  10  norm          3.6542        2.5045        .52859E-03   -1.5670    
  11  Prefactor     17.930        15.820        .23672E-03   -1.5623    
  12  norm          11.786        9.2672        .29154E-03   -1.5639    
  13  norm           .0000        4.6504        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  14  norm          8.5071        18.734        .34367E-03   -1.5650    
  15  Prefactor     5.7800        118.01        .53384E-03   -1.5660    
  16  Prefactor     .27756E-09    26.178        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  17  norm          9.5575        14.542        .32391E-03   -1.5646    
  18  Normalizat    1.3636        .19256        .59369E-01   -.81688    
  19  Prefactor     .82730        .13169        .44076E-01   -.98730    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 1.38431e-08
Minuit parameter uncertainties:
  1  22.8124
  2  8.02865e-05
  3  1.55988
  4  0.000137095
  5  1.80199e-05
  6  4.01779
  7  1.73915e-05
  8  6.66821e-07
  9  9.52655e-05
  10  2.50455
  11  15.8202
  12  9.26718
  13  2.44956e-06
  14  18.7345
  15  52.2342
  16  0.000163754
  17  14.5421
  18  0.192664
  19  0.131736
Done.

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

Extracting fit parameters...

4FGL J1359.4+0202
   Spectrum: PowerLaw
268    Prefactor:  2.220e-10  9.527e-05  0.000e+00  1.000e+06 ( 1.000e-13)
269        Index:  2.385e+00  0.000e+00  0.000e+00  1.000e+01 (-1.000e+00) fixed
270        Scale:  1.283e+03  0.000e+00  3.000e+01  5.000e+05 ( 1.000e+00) fixed

GAL_V02
   Spectrum: PowerLaw
519    Prefactor:  8.273e-01  1.317e-01  0.000e+00  1.000e+01 ( 1.000e+00)
520        Index:  0.000e+00  0.000e+00 -1.000e+00  1.000e+00 ( 1.000e+00) fixed
521        Scale:  1.000e+02  0.000e+00  5.000e+01  2.000e+02 ( 1.000e+00) fixed

EG_v02
   Spectrum: FileFunction
518   Normalization:  1.364e+00  1.927e-01  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Fixed Index): -0.00
Ra Dec: 209.859 2.042
Photon Flux Upper Limit: 6.85030428981e-08 ph cm-2 s-1
Energy Flux Upper Limit: 0.00528809478785 MeV cm-2 s-1

Saving results to:
/lscratch/kocevski/33563837/likelihoodResults_806716801_806976001_4FGL_J1359.4+0202_daily_bin2189.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) = 7354.90945255
delta logL = -0.048816673454

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

MINUIT Return Code (Free Index): 102
logL (Free Index) = 7354.86063617
delta logL = -3.0004139262e-07

Fit tolerance = 1e-08

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

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

 MIGRAD MINIMIZATION HAS CONVERGED.

 FCN=   7354.861     FROM MIGRAD    STATUS=CONVERGED     30 CALLS      236 TOTAL
                     EDM=   .15E-09  STRATEGY=1  ERROR MATRIX UNCERTAINTY=  4.1%

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor      .0000        9.1912       -.10424E-05** at limit **
   2  Index         2.5092        2.9289        .63939E-04     .0000    
   3  Normalizat    1.3636        .22158        .16464E-06   -.43960E-03
   4  Prefactor     .82730        .15492        .28371E-06   -.59309E-03
                               ERR DEF=  .500    
Final values: 
  Prefactor  = 0
  Index      = 2.50917
  Normalizat = 1.36356
  Prefactor  = 0.827296
 **********
 **   18 **HESSE 
 **********
  MNHESS FAILS AND WILL RETURN DIAGONAL MATRIX. 

 FCN=   7354.861     FROM HESSE     STATUS=FAILED        11 CALLS      247 TOTAL
                     EDM=   .15E-09  STRATEGY=1  ERROR MATRIX UNCERTAINTY=100.0%

  EXT PARAMETER                APPROXIMATE     INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  Prefactor      .0000        9.1343        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   2  Index         .70969        1.8999        .63939E-04   -.52148    
   3  Normalizat    1.3636        1.0675        .16464E-06   -.81688    
   4  Prefactor     .82730        1.1751        .28371E-06   -.98730    
                               ERR DEF=  .500    
Minuit fit quality: 1   estimated distance: 1.4997e-10
Minuit parameter uncertainties:
  1  2.58501e-05
  2  1.23551
  3  1.08562
  4  1.21401
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) = 7354.86063587
delta logL = -1.1823431123e-10

Extracting fit parameters...

4FGL J1359.4+0202
   Spectrum: PowerLaw
268    Prefactor:  0.000e+00  2.585e-05  0.000e+00  1.000e+06 ( 1.000e-13)
269        Index:  2.509e+00  1.236e+00  0.000e+00  1.000e+01 (-1.000e+00)
270        Scale:  1.283e+03  0.000e+00  3.000e+01  5.000e+05 ( 1.000e+00) fixed

GAL_V02
   Spectrum: PowerLaw
519    Prefactor:  8.273e-01  1.214e+00  0.000e+00  1.000e+01 ( 1.000e+00)
520        Index:  0.000e+00  0.000e+00 -1.000e+00  1.000e+00 ( 1.000e+00) fixed
521        Scale:  1.000e+02  0.000e+00  5.000e+01  2.000e+02 ( 1.000e+00) fixed

EG_v02
   Spectrum: FileFunction
518   Normalization:  1.364e+00  1.086e+00  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Free Index): -0.00
Ra Dec: 209.859 2.042

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/33563837/cmap_HighResolution_806716801_806976001_4FGL_J1359.4+0202_daily_bin2189.png

Cleaning up...

** Nuclear option initiated! **

Updating database...

UPDATE lightcurve_data_v2 SET energy_flux_upper_limit='5.29e-03', job_status='DONE', photon_flux_upper_limit='6.85e-08', time_completed='2026-07-29 11:48:01.398005', job_id='33563837', GAL2='0.83', fit_tolerance='1e-08', EG2='1.36', EG='1.36', time_epoch_completed='1785350881.4', return_code2='101', ts='-0.00', comment='SUCCESS', return_code='0', GAL='0.83', dlogl='-1.18e-10', ts2='0.00', photon_index_error='0.00', photon_index='2.39' WHERE bin_id='2189' AND source_name='4FGL J1359.4+0202' AND cadence='daily';

Database successfully updated.


Analysis Complete.


Wed Jul 29 11:48:01 PDT 2026

