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

 FCN=   7367.497     FROM HESSE     STATUS=OK           302 CALLS     1680 TOTAL
                     EDM=   .23E-05    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  Prefactor     50.712        52.418        .14113E-03   -1.5566    
   2  Prefactor     7.6171        41.268        .34260E-03   -1.5653    
   3  norm          7.9002        2.3549        .35666E-03   -1.5652    
   4  Prefactor     .46241E-07    13.055        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   5  Prefactor     41.755        6.5239        .15489E-03   -1.5579    
   6  norm          .29421E-08    6.1302        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   7  Prefactor     .69389E-08    5.4697        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   8  Prefactor     .11102E-09    2.6850        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   9  Prefactor     39.666        28.885        .15812E-03   -1.5582    
  10  norm          .18319E-08    5.3829        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  11  norm          .71501        .84591        .59482E-03   -1.5691    
  12  norm          .25535E-08    6.7988        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  13  norm          4.6404        3.7111        .46710E-03   -1.5665    
  14  Prefactor     .46407E-07    12.279        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  15  norm          4.9718        1.4569        .45074E-03   -1.5663    
  16  norm           .0000        1.7901        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  17  Prefactor     .55511E-10    18.794        .17077E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  18  Normalizat    .75965        .19291        .77210E-01   -1.0158    
  19  Prefactor     1.0031        .12951        .44618E-01   -.92627    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 2.29835e-06
Minuit parameter uncertainties:
  1  52.419
  2  35.4597
  3  2.3549
  4  0.00155422
  5  6.52393
  6  0.000269169
  7  0.000390098
  8  2.99065e-05
  9  28.8852
  10  0.000198518
  11  0.845914
  12  0.000263022
  13  3.7111
  14  0.00150952
  15  1.45693
  16  5.46671e-06
  17  6.46425e-05
  18  0.193084
  19  0.129549
/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) = 7367.49662603

Extracting fit parameters...

4FGL J0809.8+0507
   Spectrum: LogParabola
280         norm:  2.554e-09  2.630e-04  0.000e+00  1.000e+06 ( 1.000e-12)
281        alpha:  2.815e+00  0.000e+00  0.000e+00  5.000e+00 ( 1.000e+00) fixed
282         beta:  8.580e-01  0.000e+00 -5.000e+00  1.000e+01 ( 1.000e+00) fixed
283           Eb:  4.471e+02  0.000e+00  3.000e+01  5.000e+05 ( 1.000e+00) fixed

GAL_V02
   Spectrum: PowerLaw
535    Prefactor:  1.003e+00  1.295e-01  0.000e+00  1.000e+01 ( 1.000e+00)
536        Index:  0.000e+00  0.000e+00 -1.000e+00  1.000e+00 ( 1.000e+00) fixed
537        Scale:  1.000e+02  0.000e+00  5.000e+01  2.000e+02 ( 1.000e+00) fixed

EG_v02
   Spectrum: FileFunction
534   Normalization:  7.596e-01  1.931e-01  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Fixed Index): -0.00
Ra Dec: 122.453 5.131
Photon Flux Upper Limit: 5.11191641405e-08 ph cm-2 s-1
Energy Flux Upper Limit: 1.34630688018e-05 MeV cm-2 s-1

Saving results to:
/lscratch/kocevski/26978332/likelihoodResults_800755201_801014401_4FGL_J0809.8+0507_daily_bin2166.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) = 7367.56720226
delta logL = -0.0705762277776

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

MINUIT Return Code (Free Index): 0
logL (Free Index) = 7367.49662822
delta logL = -2.18910372496e-06

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'norm      '    .32087E-04   1.0000          .0000       .10000E+07
     2 'alpha     '    3.6253       1.0000          .0000       5.0000    
     3 'Normalizat'    .75967       1.0000         .10000E-01   10.000    
     4 'Prefactor '    1.0031       1.0000          .0000       10.000    
 **********
 **   15 **SET ERR    .5000    
 **********
 **********
 **   16 **SET GRAD    1.000    
 **********
 **********
 **   17 **MINIMIZE    .5380E+05   .2000E-04
 **********

 MIGRAD MINIMIZATION HAS CONVERGED.

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

 FCN=   7367.497     FROM MIGRAD    STATUS=CONVERGED     35 CALLS      182 TOTAL
                     EDM=   .21E-10  STRATEGY=1  ERROR MATRIX UNCERTAINTY=100.0%

  EXT PARAMETER                APPROXIMATE        STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  norm           .0000        10.358        .42118E-03** at limit **
   2  alpha         4.6720        .57499        .43407E-03     .0000    
   3  Normalizat    .75965        1.0991        .42809E-04   -.11920E-03
   4  Prefactor     1.0031        1.2973       -.35424E-04   -.14278E-03
                               ERR DEF=  .500    
Final values: 
  norm       = 0
  alpha      = 4.67198
  Normalizat = 0.759645
  Prefactor  = 1.00307
 **********
 **   18 **HESSE 
 **********
  MNHESS FAILS AND WILL RETURN DIAGONAL MATRIX. 

 FCN=   7367.497     FROM HESSE     STATUS=FAILED         9 CALLS      191 TOTAL
                     EDM=   .21E-10  STRATEGY=1  ERROR MATRIX UNCERTAINTY=100.0%

  EXT PARAMETER                APPROXIMATE     INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  norm           .0000        10.358        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   2  alpha         3.7913        .63223        .43407E-03    1.0528    
   3  Normalizat    .75965        1.0991        .42809E-04   -1.0158    
   4  Prefactor     1.0031        1.2973       -.35424E-04   -.92627    
                               ERR DEF=  .500    
Minuit fit quality: 1   estimated distance: 2.06152e-11
Minuit parameter uncertainties:
  1  2.03373e-06
  2  0.597969
  3  1.13387
  4  1.34142
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) = 7367.49662603
delta logL = 1.75532477442e-10

Extracting fit parameters...

4FGL J0809.8+0507
   Spectrum: LogParabola
280         norm:  0.000e+00  2.034e-06  0.000e+00  1.000e+06 ( 1.000e-12)
281        alpha:  4.672e+00  5.980e-01  0.000e+00  5.000e+00 ( 1.000e+00)
282         beta:  8.580e-01  0.000e+00 -5.000e+00  1.000e+01 ( 1.000e+00) fixed
283           Eb:  4.471e+02  0.000e+00  3.000e+01  5.000e+05 ( 1.000e+00) fixed

GAL_V02
   Spectrum: PowerLaw
535    Prefactor:  1.003e+00  1.341e+00  0.000e+00  1.000e+01 ( 1.000e+00)
536        Index:  0.000e+00  0.000e+00 -1.000e+00  1.000e+00 ( 1.000e+00) fixed
537        Scale:  1.000e+02  0.000e+00  5.000e+01  2.000e+02 ( 1.000e+00) fixed

EG_v02
   Spectrum: FileFunction
534   Normalization:  7.596e-01  1.134e+00  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Free Index): -0.00
Ra Dec: 122.453 5.131

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/26978332/cmap_HighResolution_800755201_801014401_4FGL_J0809.8+0507_daily_bin2166.png

Cleaning up...

** Nuclear option initiated! **

Updating database...

UPDATE lightcurve_data_v2 SET energy_flux_upper_limit='1.35e-05', job_status='DONE', photon_flux_upper_limit='5.11e-08', time_completed='2026-05-21 06:03:50.449877', job_id='26978332', GAL2='1.00', fit_tolerance='1e-08', EG2='0.76', EG='0.76', time_epoch_completed='1779368630.45', return_code2='101', ts='-0.00', comment='SUCCESS', return_code='0', GAL='1.00', dlogl='1.76e-10', ts2='0.00', photon_index_error='0.00', photon_index='2.82' WHERE bin_id='2166' AND source_name='4FGL J0809.8+0507' AND cadence='daily';

Database successfully updated.


Analysis Complete.


Thu May 21 06:03:50 PDT 2026

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


Performing analysis on: 4FGL_J0809.8+0507_daily_bin2166
RA = 122.453, Dec = 5.1313
tmin = 800755201, tmax = 801014401
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='26978486', job_status='RUN', time_executed='2026-05-21 06:02:36.892611', time_epoch_executed='1779368556.89' WHERE source_name='4FGL J0809.8+0507' and cadence='daily' and bin_id='2166'

Database successfully updated.
Done.

Creating custom output directory:
/lscratch/kocevski/26978486

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

Retrieving the FT1 file...

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

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

Retrieving 47 files...
Done.


Merging files...

Checksum keywords updated successfully.

Merged file saved to:
/lscratch/kocevski/26978486/ft1_4FGL_J0809.8+0507_daily_bin2166.fits


Retrieving the FT1 file...

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

Retrieving 47 files...
Done.


Merging files...

Merged file saved to:
/lscratch/kocevski/26978486/ft2_4FGL_J0809.8+0507_daily_bin2166.fits


Selecting the photons:
time -p gtselect infile=/lscratch/kocevski/26978486/ft1_4FGL_J0809.8+0507_daily_bin2166.fits outfile=/lscratch/kocevski/26978486/ft1_filteredMKT_4FGL_J0809.8+0507_daily_bin2166.fits ra=122.453 dec=5.1313 rad=12.0 tmin=800755201.0 tmax=801014401.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.76
user 2.23
sys 0.20

Adding sun position to ft2 file:
/sdf/group/fermi/g/LCRepository/Repository/bin/sunpos /lscratch/kocevski/26978486/ft2_4FGL_J0809.8+0507_daily_bin2166.fits

Selecting the good time intervals:
time -p gtmktime scfile=/lscratch/kocevski/26978486/ft2_4FGL_J0809.8+0507_daily_bin2166.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/26978486/ft1_filteredMKT_4FGL_J0809.8+0507_daily_bin2166.fits evtable="EVENTS" outfile="/lscratch/kocevski/26978486/ft1_filtered_4FGL_J0809.8+0507_daily_bin2166.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.76
user 0.20
sys 0.11

Number of photons that the gtmktime cut: 676

Generating the livetime cube:
time -p gtltcube evfile="/lscratch/kocevski/26978486/ft1_filtered_4FGL_J0809.8+0507_daily_bin2166.fits" evtable="EVENTS" scfile=/lscratch/kocevski/26978486/ft2_4FGL_J0809.8+0507_daily_bin2166.fits sctable="SC_DATA" outfile=/lscratch/kocevski/26978394/ltcube_800755201_801014401_4FGL_J0809.8+0507_daily_bin2166.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/26978394/ft2_4FGL_J0809.8+0507_daily_bin2166.fits
.....................!
real 8.65
user 7.79
sys 0.24

Generating the exposure map:
time -p gtexpmap evfile=/lscratch/kocevski/26978394/ft1_filtered_4FGL_J0809.8+0507_daily_bin2166.fits evtable="EVENTS" scfile=/lscratch/kocevski/26978394/ft2_4FGL_J0809.8+0507_daily_bin2166.fits sctable="SC_DATA" expcube=/lscratch/kocevski/26978394/ltcube_800755201_801014401_4FGL_J0809.8+0507_daily_bin2166.fits outfile=/lscratch/kocevski/26978394/expmap_800755201_801014401_4FGL_J0809.8+0507_daily_bin2166.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/26978394/ltcube_800755201_801014401_4FGL_J0809.8+0507_daily_bin2166.fits
.....................!
real 72.27
user 66.92
sys 4.28

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

Setting source of interest to:
4FGL J0809.8+0507 @ 122.453 5.1313

Creating the counts map:
time -p gtbin evfile=/lscratch/kocevski/26978394/ft1_filtered_4FGL_J0809.8+0507_daily_bin2166.fits scfile=/lscratch/kocevski/26978394/ft2_4FGL_J0809.8+0507_daily_bin2166.fits outfile=/lscratch/kocevski/26978394/cmap_800755201_801014401_4FGL_J0809.8+0507_daily_bin2166.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=122.453 yref=5.1313 axisrot=0.0 rafield="RA" decfield="DEC" proj="AIT" hpx_ordering_scheme="RING" hpx_order=3 hpx_ebin=yes hpx_region="" evtable="EVENTS" sctable="SC_DATA" efield="ENERGY" tfield="TIME" chatter=2 clobber=yes debug=no gui=no mode="ql"

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

This is gtbin version HEAD
real 0.94
user 0.22
sys 0.14

Creating the high resolution counts map:
time -p gtbin evfile=/lscratch/kocevski/26978394/ft1_filtered_4FGL_J0809.8+0507_daily_bin2166.fits scfile=/lscratch/kocevski/26978394/ft2_4FGL_J0809.8+0507_daily_bin2166.fits outfile=/lscratch/kocevski/26978394/cmap_HighResolution_800755201_801014401_4FGL_J0809.8+0507_daily_bin2166.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=122.453 yref=5.1313 axisrot=0.0 rafield="RA" decfield="DEC" proj="AIT" hpx_ordering_scheme="RING" hpx_order=3 hpx_ebin=yes hpx_region="" evtable="EVENTS" sctable="SC_DATA" efield="ENERGY" tfield="TIME" chatter=2 clobber=yes debug=no gui=no mode="ql"

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

This is gtbin version HEAD
real 0.94
user 0.23
sys 0.15

Computing the diffuse response:
time -p gtdiffrsp evfile=/lscratch/kocevski/26978394/ft1_filtered_4FGL_J0809.8+0507_daily_bin2166.fits evtable="EVENTS" scfile=/lscratch/kocevski/26978394/ft2_4FGL_J0809.8+0507_daily_bin2166.fits sctable="SC_DATA" srcmdl=/lscratch/kocevski/26978394/Model_4FGL_J0809.8+0507_daily_bin2166.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/26978383/ft1_filtered_4FGL_J0809.8+0507_daily_bin2166.fits.....................!
real 33.97
user 32.31
sys 0.92

Creating the likelihood object...
obs = UnbinnedObs('/lscratch/kocevski/26978383/ft1_filtered_4FGL_J0809.8+0507_daily_bin2166.fits', '/lscratch/kocevski/26978383/ft2_4FGL_J0809.8+0507_daily_bin2166.fits', expMap='/lscratch/kocevski/26978383/expmap_800755201_801014401_4FGL_J0809.8+0507_daily_bin2166.fits', expCube='/lscratch/kocevski/26978383/ltcube_800755201_801014401_4FGL_J0809.8+0507_daily_bin2166.fits', irfs='P8R3_SOURCE_V2')
like = UnbinnedAnalysis(obs, '/lscratch/kocevski/26978383/Model_4FGL_J0809.8+0507_daily_bin2166.xml', optimizer='MINUIT')

Using source of interest name: '4FGL J0809.8+0507'

4FGL J0809.8+0507
   Spectrum: LogParabola
280         norm:  4.437e+00  0.000e+00  0.000e+00  1.000e+06 ( 1.000e-12)
281        alpha:  2.815e+00  0.000e+00  0.000e+00  5.000e+00 ( 1.000e+00) fixed
282         beta:  8.580e-01  0.000e+00 -5.000e+00  1.000e+01 ( 1.000e+00) fixed
283           Eb:  4.471e+02  0.000e+00  3.000e+01  5.000e+05 ( 1.000e+00) fixed


Likelihood Fit Parameters:
Event file(s): /lscratch/kocevski/26978383/ft1_filtered_4FGL_J0809.8+0507_daily_bin2166.fits
Spacecraft file(s): /lscratch/kocevski/26978383/ft2_4FGL_J0809.8+0507_daily_bin2166.fits
Exposure map: /lscratch/kocevski/26978383/expmap_800755201_801014401_4FGL_J0809.8+0507_daily_bin2166.fits
Exposure cube: /lscratch/kocevski/26978383/ltcube_800755201_801014401_4FGL_J0809.8+0507_daily_bin2166.fits
IRFs: P8R3_SOURCE_V2
Source model file: /lscratch/kocevski/26978383/Model_4FGL_J0809.8+0507_daily_bin2166.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) = 7367.50488868

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

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

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'Prefactor '    50.213       1.0000          .0000       .10000E+07
     2 'Prefactor '    8.5492       1.0000          .0000       .10000E+07
     3 'norm      '    7.8933       1.0000          .0000       .10000E+07
     4 'Prefactor '    .16801E-03   1.0000          .0000       .10000E+07
     5 'Prefactor '    41.688       1.0000          .0000       .10000E+07
     6 'norm      '    .45205E-03   1.0000          .0000       .10000E+07
     7 'Prefactor '    .50287E-03   1.0000          .0000       .10000E+07
     8 'Prefactor '    .62225E-05   1.0000          .0000       .10000E+07
     9 'Prefactor '    40.004       1.0000          .0000       .10000E+07
    10 'norm      '    .10690E-02   1.0000          .0000       .10000E+07
    11 'norm      '    .71522       1.0000          .0000       .10000E+07
    12 'norm      '    .27935E-02   1.0000          .0000       .10000E+07
    13 'norm      '    4.6378       1.0000          .0000       .10000E+07
    14 'Prefactor '    .10709E-02   1.0000          .0000       .10000E+07
    15 'norm      '    4.9729       1.0000          .0000       .10000E+07
    16 'norm      '    .17331E-06   1.0000          .0000       .10000E+07
    17 'Prefactor '    .19395E-01   1.0000          .0000       .10000E+07
    18 'Normalizat'    .75888       1.0000         .10000E-01   10.000    
    19 'Prefactor '    1.0032       1.0000          .0000       10.000    
 **********
 **   15 **SET ERR    .5000    
 **********
 **********
 **   16 **SET GRAD    1.000    
 **********
 **********
 **   17 **MINIMIZE    .5380E+05   .2000E-04
 **********

 MIGRAD MINIMIZATION HAS CONVERGED.

 FCN=   7367.497     FROM MIGRAD    STATUS=CONVERGED    139 CALLS     1378 TOTAL
                     EDM=   .11E-08  STRATEGY=1  ERROR MATRIX UNCERTAINTY=   .9%

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor     50.712        42.251        .51992E-05   -.13142    
   2  Prefactor     7.6171        35.197       -.84232E-06   -.52923E-01
   3  norm          7.9002        2.3454        .20468E-06    .33937E-02
   4  Prefactor     .46241E-07    13.039       -.16858E-05** at limit **
   5  Prefactor     41.755        6.5284       -.92433E-07    .18874E-02
   6  norm          .29421E-08    6.1286        .33341E-05** at limit **
   7  Prefactor     .69389E-08    5.4693       -.15221E-06** at limit **
   8  Prefactor     .11102E-09    2.6857       -.91362E-06** at limit **
   9  Prefactor     39.666        21.535        .26346E-05    .22474    
  10  norm          .18319E-08    5.3919        .24536E-05** at limit **
  11  norm          .71501        .84404       -.41099E-06    .24477E-02
  12  norm          .25535E-08    6.8007        .11802E-05** at limit **
  13  norm          4.6404        3.6918       -.92582E-06   -.33440E-02
  14  Prefactor     .46407E-07    12.281        .61947E-06** at limit **
  15  norm          4.9718        1.4602       -.36696E-06   -.35811E-02
  16  norm           .0000        1.7893       -.15671E-05** at limit **
  17  Prefactor     .55511E-10    18.908        .11488E-05** at limit **
  18  Normalizat    .75965        .21827       -.12508E-04    .14955E-04
  19  Prefactor     1.0031        .14681        .18550E-05    .68026E-06
                               ERR DEF=  .500    
Final values: 
  Prefactor  = 50.7125
  Prefactor  = 7.61709
  norm       = 7.90018
  Prefactor  = 4.62408e-08
  Prefactor  = 41.7551
  norm       = 2.94209e-09
  Prefactor  = 6.93889e-09
  Prefactor  = 1.11022e-10
  Prefactor  = 39.6658
  norm       = 1.83187e-09
  norm       = 0.715014
  norm       = 2.55351e-09
  norm       = 4.64038
  Prefactor  = 4.64073e-08
  norm       = 4.9718
  norm       = 0
  Prefactor  = 5.55112e-11
  Normalizat = 0.759646
  Prefactor  = 1.00307
Working on...
/lscratch/kocevski/26978387/ft1_filtered_4FGL_J0809.8+0507_daily_bin2166.fits.....................!
real 32.79
user 31.16
sys 0.85

Creating the likelihood object...
obs = UnbinnedObs('/lscratch/kocevski/26978387/ft1_filtered_4FGL_J0809.8+0507_daily_bin2166.fits', '/lscratch/kocevski/26978387/ft2_4FGL_J0809.8+0507_daily_bin2166.fits', expMap='/lscratch/kocevski/26978387/expmap_800755201_801014401_4FGL_J0809.8+0507_daily_bin2166.fits', expCube='/lscratch/kocevski/26978387/ltcube_800755201_801014401_4FGL_J0809.8+0507_daily_bin2166.fits', irfs='P8R3_SOURCE_V2')
like = UnbinnedAnalysis(obs, '/lscratch/kocevski/26978387/Model_4FGL_J0809.8+0507_daily_bin2166.xml', optimizer='MINUIT')

Using source of interest name: '4FGL J0809.8+0507'

4FGL J0809.8+0507
   Spectrum: LogParabola
280         norm:  4.437e+00  0.000e+00  0.000e+00  1.000e+06 ( 1.000e-12)
281        alpha:  2.815e+00  0.000e+00  0.000e+00  5.000e+00 ( 1.000e+00) fixed
282         beta:  8.580e-01  0.000e+00 -5.000e+00  1.000e+01 ( 1.000e+00) fixed
283           Eb:  4.471e+02  0.000e+00  3.000e+01  5.000e+05 ( 1.000e+00) fixed


Likelihood Fit Parameters:
Event file(s): /lscratch/kocevski/26978387/ft1_filtered_4FGL_J0809.8+0507_daily_bin2166.fits
Spacecraft file(s): /lscratch/kocevski/26978387/ft2_4FGL_J0809.8+0507_daily_bin2166.fits
Exposure map: /lscratch/kocevski/26978387/expmap_800755201_801014401_4FGL_J0809.8+0507_daily_bin2166.fits
Exposure cube: /lscratch/kocevski/26978387/ltcube_800755201_801014401_4FGL_J0809.8+0507_daily_bin2166.fits
IRFs: P8R3_SOURCE_V2
Source model file: /lscratch/kocevski/26978387/Model_4FGL_J0809.8+0507_daily_bin2166.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) = 7367.50488868

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

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

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'Prefactor '    50.213       1.0000          .0000       .10000E+07
     2 'Prefactor '    8.5492       1.0000          .0000       .10000E+07
     3 'norm      '    7.8933       1.0000          .0000       .10000E+07
     4 'Prefactor '    .16801E-03   1.0000          .0000       .10000E+07
     5 'Prefactor '    41.688       1.0000          .0000       .10000E+07
     6 'norm      '    .45205E-03   1.0000          .0000       .10000E+07
     7 'Prefactor '    .50287E-03   1.0000          .0000       .10000E+07
     8 'Prefactor '    .62225E-05   1.0000          .0000       .10000E+07
     9 'Prefactor '    40.004       1.0000          .0000       .10000E+07
    10 'norm      '    .10690E-02   1.0000          .0000       .10000E+07
    11 'norm      '    .71522       1.0000          .0000       .10000E+07
    12 'norm      '    .27935E-02   1.0000          .0000       .10000E+07
    13 'norm      '    4.6378       1.0000          .0000       .10000E+07
    14 'Prefactor '    .10709E-02   1.0000          .0000       .10000E+07
    15 'norm      '    4.9729       1.0000          .0000       .10000E+07
    16 'norm      '    .17331E-06   1.0000          .0000       .10000E+07
    17 'Prefactor '    .19395E-01   1.0000          .0000       .10000E+07
    18 'Normalizat'    .75888       1.0000         .10000E-01   10.000    
    19 'Prefactor '    1.0032       1.0000          .0000       10.000    
 **********
 **   15 **SET ERR    .5000    
 **********
 **********
 **   16 **SET GRAD    1.000    
 **********
 **********
 **   17 **MINIMIZE    .5380E+05   .2000E-04
 **********

 MIGRAD MINIMIZATION HAS CONVERGED.

 FCN=   7367.497     FROM MIGRAD    STATUS=CONVERGED    139 CALLS     1378 TOTAL
                     EDM=   .11E-08  STRATEGY=1  ERROR MATRIX UNCERTAINTY=   .9%

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor     50.712        42.251        .51992E-05   -.13142    
   2  Prefactor     7.6171        35.197       -.84232E-06   -.52923E-01
   3  norm          7.9002        2.3454        .20468E-06    .33937E-02
   4  Prefactor     .46241E-07    13.039       -.16858E-05** at limit **
   5  Prefactor     41.755        6.5284       -.92433E-07    .18874E-02
   6  norm          .29421E-08    6.1286        .33341E-05** at limit **
   7  Prefactor     .69389E-08    5.4693       -.15221E-06** at limit **
   8  Prefactor     .11102E-09    2.6857       -.91362E-06** at limit **
   9  Prefactor     39.666        21.535        .26346E-05    .22474    
  10  norm          .18319E-08    5.3919        .24536E-05** at limit **
  11  norm          .71501        .84404       -.41099E-06    .24477E-02
  12  norm          .25535E-08    6.8007        .11802E-05** at limit **
  13  norm          4.6404        3.6918       -.92582E-06   -.33440E-02
  14  Prefactor     .46407E-07    12.281        .61947E-06** at limit **
  15  norm          4.9718        1.4602       -.36696E-06   -.35811E-02
  16  norm           .0000        1.7893       -.15671E-05** at limit **
  17  Prefactor     .55511E-10    18.908        .11488E-05** at limit **
  18  Normalizat    .75965        .21827       -.12508E-04    .14955E-04
  19  Prefactor     1.0031        .14681        .18550E-05    .68026E-06
                               ERR DEF=  .500    
Final values: 
  Prefactor  = 50.7125
  Prefactor  = 7.61709
  norm       = 7.90018
  Prefactor  = 4.62408e-08
  Prefactor  = 41.7551
  norm       = 2.94209e-09
  Prefactor  = 6.93889e-09
  Prefactor  = 1.11022e-10
  Prefactor  = 39.6658
  norm       = 1.83187e-09
  norm       = 0.715014
  norm       = 2.55351e-09
  norm       = 4.64038
  Prefactor  = 4.64073e-08
  norm       = 4.9718
  norm       = 0
  Prefactor  = 5.55112e-11
  Normalizat = 0.759646
  Prefactor  = 1.00307
 **********
 **   18 **HESSE 
 **********

 FCN=   7367.497     FROM HESSE     STATUS=OK           302 CALLS     1680 TOTAL
                     EDM=   .23E-05    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  Prefactor     50.712        52.418        .14113E-03   -1.5566    
   2  Prefactor     7.6171        41.268        .34260E-03   -1.5653    
   3  norm          7.9002        2.3549        .35666E-03   -1.5652    
   4  Prefactor     .46241E-07    13.055        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   5  Prefactor     41.755        6.5239        .15489E-03   -1.5579    
   6  norm          .29421E-08    6.1302        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   7  Prefactor     .69389E-08    5.4697        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   8  Prefactor     .11102E-09    2.6850        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   9  Prefactor     39.666        28.885        .15812E-03   -1.5582    
  10  norm          .18319E-08    5.3829        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  11  norm          .71501        .84591        .59482E-03   -1.5691    
  12  norm          .25535E-08    6.7988        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  13  norm          4.6404        3.7111        .46710E-03   -1.5665    
  14  Prefactor     .46407E-07    12.279        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  15  norm          4.9718        1.4569        .45074E-03   -1.5663    
  16  norm           .0000        1.7901        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  17  Prefactor     .55511E-10    18.794        .17077E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  18  Normalizat    .75965        .19291        .77210E-01   -1.0158    
  19  Prefactor     1.0031        .12951        .44618E-01   -.92627    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 2.29835e-06
Minuit parameter uncertainties:
  1  52.419
  2  35.4597
  3  2.3549
  4  0.00155422
  5  6.52393
  6  0.000269169
  7  0.000390098
  8  2.99065e-05
  9  28.8852
  10  0.000198518
  11  0.845914
  12  0.000263022
  13  3.7111
  14  0.00150952
  15  1.45693
  16  5.46671e-06
  17  6.46425e-05
  18  0.193084
  19  0.129549
 **********
 **   18 **HESSE 
 **********

 FCN=   7367.497     FROM HESSE     STATUS=OK           302 CALLS     1680 TOTAL
                     EDM=   .23E-05    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  Prefactor     50.712        52.418        .14113E-03   -1.5566    
   2  Prefactor     7.6171        41.268        .34260E-03   -1.5653    
   3  norm          7.9002        2.3549        .35666E-03   -1.5652    
   4  Prefactor     .46241E-07    13.055        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   5  Prefactor     41.755        6.5239        .15489E-03   -1.5579    
   6  norm          .29421E-08    6.1302        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   7  Prefactor     .69389E-08    5.4697        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   8  Prefactor     .11102E-09    2.6850        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   9  Prefactor     39.666        28.885        .15812E-03   -1.5582    
  10  norm          .18319E-08    5.3829        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  11  norm          .71501        .84591        .59482E-03   -1.5691    
  12  norm          .25535E-08    6.7988        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  13  norm          4.6404        3.7111        .46710E-03   -1.5665    
  14  Prefactor     .46407E-07    12.279        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  15  norm          4.9718        1.4569        .45074E-03   -1.5663    
  16  norm           .0000        1.7901        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  17  Prefactor     .55511E-10    18.794        .17077E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  18  Normalizat    .75965        .19291        .77210E-01   -1.0158    
  19  Prefactor     1.0031        .12951        .44618E-01   -.92627    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 2.29835e-06
Minuit parameter uncertainties:
  1  52.419
  2  35.4597
  3  2.3549
  4  0.00155422
  5  6.52393
  6  0.000269169
  7  0.000390098
  8  2.99065e-05
  9  28.8852
  10  0.000198518
  11  0.845914
  12  0.000263022
  13  3.7111
  14  0.00150952
  15  1.45693
  16  5.46671e-06
  17  6.46425e-05
  18  0.193084
  19  0.129549
Done.

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

Extracting fit parameters...

4FGL J0809.8+0507
   Spectrum: LogParabola
280         norm:  2.554e-09  2.630e-04  0.000e+00  1.000e+06 ( 1.000e-12)
281        alpha:  2.815e+00  0.000e+00  0.000e+00  5.000e+00 ( 1.000e+00) fixed
282         beta:  8.580e-01  0.000e+00 -5.000e+00  1.000e+01 ( 1.000e+00) fixed
283           Eb:  4.471e+02  0.000e+00  3.000e+01  5.000e+05 ( 1.000e+00) fixed

GAL_V02
   Spectrum: PowerLaw
535    Prefactor:  1.003e+00  1.295e-01  0.000e+00  1.000e+01 ( 1.000e+00)
536        Index:  0.000e+00  0.000e+00 -1.000e+00  1.000e+00 ( 1.000e+00) fixed
537        Scale:  1.000e+02  0.000e+00  5.000e+01  2.000e+02 ( 1.000e+00) fixed

EG_v02
   Spectrum: FileFunction
534   Normalization:  7.596e-01  1.931e-01  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Fixed Index): -0.00
Ra Dec: 122.453 5.131
Photon Flux Upper Limit: 5.11191641405e-08 ph cm-2 s-1
Energy Flux Upper Limit: 1.34630688018e-05 MeV cm-2 s-1

Saving results to:
/lscratch/kocevski/26978383/likelihoodResults_800755201_801014401_4FGL_J0809.8+0507_daily_bin2166.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) = 7367.56720226
delta logL = -0.0705762277776

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

MINUIT Return Code (Free Index): 0
logL (Free Index) = 7367.49662822
delta logL = -2.18910372496e-06

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'norm      '    .32087E-04   1.0000          .0000       .10000E+07
     2 'alpha     '    3.6253       1.0000          .0000       5.0000    
     3 'Normalizat'    .75967       1.0000         .10000E-01   10.000    
     4 'Prefactor '    1.0031       1.0000          .0000       10.000    
 **********
 **   15 **SET ERR    .5000    
 **********
 **********
 **   16 **SET GRAD    1.000    
 **********
 **********
 **   17 **MINIMIZE    .5380E+05   .2000E-04
 **********

 MIGRAD MINIMIZATION HAS CONVERGED.

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

 FCN=   7367.497     FROM MIGRAD    STATUS=CONVERGED     35 CALLS      182 TOTAL
                     EDM=   .21E-10  STRATEGY=1  ERROR MATRIX UNCERTAINTY=100.0%

  EXT PARAMETER                APPROXIMATE        STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  norm           .0000        10.358        .42118E-03** at limit **
   2  alpha         4.6720        .57499        .43407E-03     .0000    
   3  Normalizat    .75965        1.0991        .42809E-04   -.11920E-03
   4  Prefactor     1.0031        1.2973       -.35424E-04   -.14278E-03
                               ERR DEF=  .500    
Final values: 
  norm       = 0
  alpha      = 4.67198
  Normalizat = 0.759645
  Prefactor  = 1.00307
 **********
 **   18 **HESSE 
 **********
  MNHESS FAILS AND WILL RETURN DIAGONAL MATRIX. 

 FCN=   7367.497     FROM HESSE     STATUS=FAILED         9 CALLS      191 TOTAL
                     EDM=   .21E-10  STRATEGY=1  ERROR MATRIX UNCERTAINTY=100.0%

  EXT PARAMETER                APPROXIMATE     INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  norm           .0000        10.358        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   2  alpha         3.7913        .63223        .43407E-03    1.0528    
   3  Normalizat    .75965        1.0991        .42809E-04   -1.0158    
   4  Prefactor     1.0031        1.2973       -.35424E-04   -.92627    
                               ERR DEF=  .500    
Minuit fit quality: 1   estimated distance: 2.06152e-11
Minuit parameter uncertainties:
  1  2.03373e-06
  2  0.597969
  3  1.13387
  4  1.34142
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) = 7367.49662603
delta logL = 1.75532477442e-10

Extracting fit parameters...

4FGL J0809.8+0507
   Spectrum: LogParabola
280         norm:  0.000e+00  2.034e-06  0.000e+00  1.000e+06 ( 1.000e-12)
281        alpha:  4.672e+00  5.980e-01  0.000e+00  5.000e+00 ( 1.000e+00)
282         beta:  8.580e-01  0.000e+00 -5.000e+00  1.000e+01 ( 1.000e+00) fixed
283           Eb:  4.471e+02  0.000e+00  3.000e+01  5.000e+05 ( 1.000e+00) fixed

GAL_V02
   Spectrum: PowerLaw
535    Prefactor:  1.003e+00  1.341e+00  0.000e+00  1.000e+01 ( 1.000e+00)
536        Index:  0.000e+00  0.000e+00 -1.000e+00  1.000e+00 ( 1.000e+00) fixed
537        Scale:  1.000e+02  0.000e+00  5.000e+01  2.000e+02 ( 1.000e+00) fixed

EG_v02
   Spectrum: FileFunction
534   Normalization:  7.596e-01  1.134e+00  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Free Index): -0.00
Ra Dec: 122.453 5.131

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/26978383/cmap_HighResolution_800755201_801014401_4FGL_J0809.8+0507_daily_bin2166.png

Cleaning up...

** Nuclear option initiated! **

Updating database...

UPDATE lightcurve_data_v2 SET energy_flux_upper_limit='1.35e-05', job_status='DONE', photon_flux_upper_limit='5.11e-08', time_completed='2026-05-21 06:04:42.787732', job_id='26978383', GAL2='1.00', fit_tolerance='1e-08', EG2='0.76', EG='0.76', time_epoch_completed='1779368682.79', return_code2='101', ts='-0.00', comment='SUCCESS', return_code='0', GAL='1.00', dlogl='1.76e-10', ts2='0.00', photon_index_error='0.00', photon_index='2.82' WHERE bin_id='2166' AND source_name='4FGL J0809.8+0507' AND cadence='daily';

Database successfully updated.


Analysis Complete.


Thu May 21 06:04:42 PDT 2026

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


Performing analysis on: 4FGL_J0809.8+0507_daily_bin2166
RA = 122.453, Dec = 5.1313
tmin = 800755201, tmax = 801014401
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='26978504', job_status='RUN', time_executed='2026-05-21 06:03:41.471656', time_epoch_executed='1779368621.47' WHERE source_name='4FGL J0809.8+0507' and cadence='daily' and bin_id='2166'

Database successfully updated.
Done.

Creating custom output directory:
/lscratch/kocevski/26978504

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

Retrieving the FT1 file...

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

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

Retrieving 47 files...
Done.


Merging files...

Checksum keywords updated successfully.

Merged file saved to:
/lscratch/kocevski/26978504/ft1_4FGL_J0809.8+0507_daily_bin2166.fits


Retrieving the FT1 file...

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

Retrieving 47 files...
Done.


Merging files...

Merged file saved to:
/lscratch/kocevski/26978504/ft2_4FGL_J0809.8+0507_daily_bin2166.fits


Selecting the photons:
time -p gtselect infile=/lscratch/kocevski/26978504/ft1_4FGL_J0809.8+0507_daily_bin2166.fits outfile=/lscratch/kocevski/26978504/ft1_filteredMKT_4FGL_J0809.8+0507_daily_bin2166.fits ra=122.453 dec=5.1313 rad=12.0 tmin=800755201.0 tmax=801014401.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.75
user 2.28
sys 0.18

Adding sun position to ft2 file:
/sdf/group/fermi/g/LCRepository/Repository/bin/sunpos /lscratch/kocevski/26978504/ft2_4FGL_J0809.8+0507_daily_bin2166.fits

Selecting the good time intervals:
time -p gtmktime scfile=/lscratch/kocevski/26978504/ft2_4FGL_J0809.8+0507_daily_bin2166.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/26978504/ft1_filteredMKT_4FGL_J0809.8+0507_daily_bin2166.fits evtable="EVENTS" outfile="/lscratch/kocevski/26978504/ft1_filtered_4FGL_J0809.8+0507_daily_bin2166.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.69
user 0.21
sys 0.13

Number of photons that the gtmktime cut: 676

Generating the livetime cube:
time -p gtltcube evfile="/lscratch/kocevski/26978504/ft1_filtered_4FGL_J0809.8+0507_daily_bin2166.fits" evtable="EVENTS" scfile=/lscratch/kocevski/26978504/ft2_4FGL_J0809.8+0507_daily_bin2166.fits sctable="SC_DATA" outfDone.

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

Extracting fit parameters...

4FGL J0809.8+0507
   Spectrum: LogParabola
280         norm:  2.554e-09  2.630e-04  0.000e+00  1.000e+06 ( 1.000e-12)
281        alpha:  2.815e+00  0.000e+00  0.000e+00  5.000e+00 ( 1.000e+00) fixed
282         beta:  8.580e-01  0.000e+00 -5.000e+00  1.000e+01 ( 1.000e+00) fixed
283           Eb:  4.471e+02  0.000e+00  3.000e+01  5.000e+05 ( 1.000e+00) fixed

GAL_V02
   Spectrum: PowerLaw
535    Prefactor:  1.003e+00  1.295e-01  0.000e+00  1.000e+01 ( 1.000e+00)
536        Index:  0.000e+00  0.000e+00 -1.000e+00  1.000e+00 ( 1.000e+00) fixed
537        Scale:  1.000e+02  0.000e+00  5.000e+01  2.000e+02 ( 1.000e+00) fixed

EG_v02
   Spectrum: FileFunction
534   Normalization:  7.596e-01  1.931e-01  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Fixed Index): -0.00
Ra Dec: 122.453 5.131
Photon Flux Upper Limit: 5.11191641405e-08 ph cm-2 s-1
Energy Flux Upper Limit: 1.34630688018e-05 MeV cm-2 s-1

Saving results to:
/lscratch/kocevski/26978387/likelihoodResults_800755201_801014401_4FGL_J0809.8+0507_daily_bin2166.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) = 7367.56720226
delta logL = -0.0705762277776

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

MINUIT Return Code (Free Index): 0
logL (Free Index) = 7367.49662822
delta logL = -2.18910372496e-06

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'norm      '    .32087E-04   1.0000          .0000       .10000E+07
     2 'alpha     '    3.6253       1.0000          .0000       5.0000    
     3 'Normalizat'    .75967       1.0000         .10000E-01   10.000    
     4 'Prefactor '    1.0031       1.0000          .0000       10.000    
 **********
 **   15 **SET ERR    .5000    
 **********
 **********
 **   16 **SET GRAD    1.000    
 **********
 **********
 **   17 **MINIMIZE    .5380E+05   .2000E-04
 **********

 MIGRAD MINIMIZATION HAS CONVERGED.

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

 FCN=   7367.497     FROM MIGRAD    STATUS=CONVERGED     35 CALLS      182 TOTAL
                     EDM=   .21E-10  STRATEGY=1  ERROR MATRIX UNCERTAINTY=100.0%

  EXT PARAMETER                APPROXIMATE        STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  norm           .0000        10.358        .42118E-03** at limit **
   2  alpha         4.6720        .57499        .43407E-03     .0000    
   3  Normalizat    .75965        1.0991        .42809E-04   -.11920E-03
   4  Prefactor     1.0031        1.2973       -.35424E-04   -.14278E-03
                               ERR DEF=  .500    
Final values: 
  norm       = 0
  alpha      = 4.67198
  Normalizat = 0.759645
  Prefactor  = 1.00307
 **********
 **   18 **HESSE 
 **********
  MNHESS FAILS AND WILL RETURN DIAGONAL MATRIX. 

 FCN=   7367.497     FROM HESSE     STATUS=FAILED         9 CALLS      191 TOTAL
                     EDM=   .21E-10  STRATEGY=1  ERROR MATRIX UNCERTAINTY=100.0%

  EXT PARAMETER                APPROXIMATE     INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  norm           .0000        10.358        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   2  alpha         3.7913        .63223        .43407E-03    1.0528    
   3  Normalizat    .75965        1.0991        .42809E-04   -1.0158    
   4  Prefactor     1.0031        1.2973       -.35424E-04   -.92627    
                               ERR DEF=  .500    
Minuit fit quality: 1   estimated distance: 2.06152e-11
Minuit parameter uncertainties:
  1  2.03373e-06
  2  0.597969
  3  1.13387
  4  1.34142
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) = 7367.49662603
delta logL = 1.75532477442e-10

Extracting fit parameters...

4FGL J0809.8+0507
   Spectrum: LogParabola
280         norm:  0.000e+00  2.034e-06  0.000e+00  1.000e+06 ( 1.000e-12)
281        alpha:  4.672e+00  5.980e-01  0.000e+00  5.000e+00 ( 1.000e+00)
282         beta:  8.580e-01  0.000e+00 -5.000e+00  1.000e+01 ( 1.000e+00) fixed
283           Eb:  4.471e+02  0.000e+00  3.000e+01  5.000e+05 ( 1.000e+00) fixed

GAL_V02
   Spectrum: PowerLaw
535    Prefactor:  1.003e+00  1.341e+00  0.000e+00  1.000e+01 ( 1.000e+00)
536        Index:  0.000e+00  0.000e+00 -1.000e+00  1.000e+00 ( 1.000e+00) fixed
537        Scale:  1.000e+02  0.000e+00  5.000e+01  2.000e+02 ( 1.000e+00) fixed

EG_v02
   Spectrum: FileFunction
534   Normalization:  7.596e-01  1.134e+00  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Free Index): -0.00
Ra Dec: 122.453 5.131

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/26978387/cmap_HighResolution_800755201_801014401_4FGL_J0809.8+0507_daily_bin2166.png

Cleaning up...

** Nuclear option initiated! **

Updating database...

UPDATE lightcurve_data_v2 SET energy_flux_upper_limit='1.35e-05', job_status='DONE', photon_flux_upper_limit='5.11e-08', time_completed='2026-05-21 06:04:50.911723', job_id='26978387', GAL2='1.00', fit_tolerance='1e-08', EG2='0.76', EG='0.76', time_epoch_completed='1779368690.91', return_code2='101', ts='-0.00', comment='SUCCESS', return_code='0', GAL='1.00', dlogl='1.76e-10', ts2='0.00', photon_index_error='0.00', photon_index='2.82' WHERE bin_id='2166' AND source_name='4FGL J0809.8+0507' AND cadence='daily';

Database successfully updated.


Analysis Complete.


Thu May 21 06:04:51 PDT 2026

Working on...
/lscratch/kocevski/26978394/ft1_filtered_4FGL_J0809.8+0507_daily_bin2166.fits.....................!
real 36.59
user 34.38
sys 1.04

Creating the likelihood object...
obs = UnbinnedObs('/lscratch/kocevski/26978394/ft1_filtered_4FGL_J0809.8+0507_daily_bin2166.fits', '/lscratch/kocevski/26978394/ft2_4FGL_J0809.8+0507_daily_bin2166.fits', expMap='/lscratch/kocevski/26978394/expmap_800755201_801014401_4FGL_J0809.8+0507_daily_bin2166.fits', expCube='/lscratch/kocevski/26978394/ltcube_800755201_801014401_4FGL_J0809.8+0507_daily_bin2166.fits', irfs='P8R3_SOURCE_V2')
like = UnbinnedAnalysis(obs, '/lscratch/kocevski/26978394/Model_4FGL_J0809.8+0507_daily_bin2166.xml', optimizer='MINUIT')

Using source of interest name: '4FGL J0809.8+0507'

4FGL J0809.8+0507
   Spectrum: LogParabola
280         norm:  4.437e+00  0.000e+00  0.000e+00  1.000e+06 ( 1.000e-12)
281        alpha:  2.815e+00  0.000e+00  0.000e+00  5.000e+00 ( 1.000e+00) fixed
282         beta:  8.580e-01  0.000e+00 -5.000e+00  1.000e+01 ( 1.000e+00) fixed
283           Eb:  4.471e+02  0.000e+00  3.000e+01  5.000e+05 ( 1.000e+00) fixed


Likelihood Fit Parameters:
Event file(s): /lscratch/kocevski/26978394/ft1_filtered_4FGL_J0809.8+0507_daily_bin2166.fits
Spacecraft file(s): /lscratch/kocevski/26978394/ft2_4FGL_J0809.8+0507_daily_bin2166.fits
Exposure map: /lscratch/kocevski/26978394/expmap_800755201_801014401_4FGL_J0809.8+0507_daily_bin2166.fits
Exposure cube: /lscratch/kocevski/26978394/ltcube_800755201_801014401_4FGL_J0809.8+0507_daily_bin2166.fits
IRFs: P8R3_SOURCE_V2
Source model file: /lscratch/kocevski/26978394/Model_4FGL_J0809.8+0507_daily_bin2166.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) = 7367.50488868

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

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

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'Prefactor '    50.213       1.0000          .0000       .10000E+07
     2 'Prefactor '    8.5492       1.0000          .0000       .10000E+07
     3 'norm      '    7.8933       1.0000          .0000       .10000E+07
     4 'Prefactor '    .16801E-03   1.0000          .0000       .10000E+07
     5 'Prefactor '    41.688       1.0000          .0000       .10000E+07
     6 'norm      '    .45205E-03   1.0000          .0000       .10000E+07
     7 'Prefactor '    .50287E-03   1.0000          .0000       .10000E+07
     8 'Prefactor '    .62225E-05   1.0000          .0000       .10000E+07
     9 'Prefactor '    40.004       1.0000          .0000       .10000E+07
    10 'norm      '    .10690E-02   1.0000          .0000       .10000E+07
    11 'norm      '    .71522       1.0000          .0000       .10000E+07
    12 'norm      '    .27935E-02   1.0000          .0000       .10000E+07
    13 'norm      '    4.6378       1.0000          .0000       .10000E+07
    14 'Prefactor '    .10709E-02   1.0000          .0000       .10000E+07
    15 'norm      '    4.9729       1.0000          .0000       .10000E+07
    16 'norm      '    .17331E-06   1.0000          .0000       .10000E+07
    17 'Prefactor '    .19395E-01   1.0000          .0000       .10000E+07
    18 'Normalizat'    .75888       1.0000         .10000E-01   10.000    
    19 'Prefactor '    1.0032       1.0000          .0000       10.000    
 **********
 **   15 **SET ERR    .5000    
 **********
 **********
 **   16 **SET GRAD    1.000    
 **********
 **********
 **   17 **MINIMIZE    .5380E+05   .2000E-04
 **********

 MIGRAD MINIMIZATION HAS CONVERGED.

 FCN=   7367.497     FROM MIGRAD    STATUS=CONVERGED    139 CALLS     1378 TOTAL
                     EDM=   .11E-08  STRATEGY=1  ERROR MATRIX UNCERTAINTY=   .9%

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor     50.712        42.251        .51992E-05   -.13142    
   2  Prefactor     7.6171        35.197       -.84232E-06   -.52923E-01
   3  norm          7.9002        2.3454        .20468E-06    .33937E-02
   4  Prefactor     .46241E-07    13.039       -.16858E-05** at limit **
   5  Prefactor     41.755        6.5284       -.92433E-07    .18874E-02
   6  norm          .29421E-08    6.1286        .33341E-05** at limit **
   7  Prefactor     .69389E-08    5.4693       -.15221E-06** at limit **
   8  Prefactor     .11102E-09    2.6857       -.91362E-06** at limit **
   9  Prefactor     39.666        21.535        .26346E-05    .22474    
  10  norm          .18319E-08    5.3919        .24536E-05** at limit **
  11  norm          .71501        .84404       -.41099E-06    .24477E-02
  12  norm          .25535E-08    6.8007        .11802E-05** at limit **
  13  norm          4.6404        3.6918       -.92582E-06   -.33440E-02
  14  Prefactor     .46407E-07    12.281        .61947E-06** at limit **
  15  norm          4.9718        1.4602       -.36696E-06   -.35811E-02
  16  norm           .0000        1.7893       -.15671E-05** at limit **
  17  Prefactor     .55511E-10    18.908        .11488E-05** at limit **
  18  Normalizat    .75965        .21827       -.12508E-04    .14955E-04
  19  Prefactor     1.0031        .14681        .18550E-05    .68026E-06
                               ERR DEF=  .500    
Final values: 
  Prefactor  = 50.7125
  Prefactor  = 7.61709
  norm       = 7.90018
  Prefactor  = 4.62408e-08
  Prefactor  = 41.7551
  norm       = 2.94209e-09
  Prefactor  = 6.93889e-09
  Prefactor  = 1.11022e-10
  Prefactor  = 39.6658
  norm       = 1.83187e-09
  norm       = 0.715014
  norm       = 2.55351e-09
  norm       = 4.64038
  Prefactor  = 4.64073e-08
  norm       = 4.9718
  norm       = 0
  Prefactor  = 5.55112e-11
  Normalizat = 0.759646
  Prefactor  = 1.00307
 **********
 **   18 **HESSE 
 **********

 FCN=   7367.497     FROM HESSE     STATUS=OK           302 CALLS     1680 TOTAL
                     EDM=   .23E-05    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  Prefactor     50.712        52.418        .14113E-03   -1.5566    
   2  Prefactor     7.6171        41.268        .34260E-03   -1.5653    
   3  norm          7.9002        2.3549        .35666E-03   -1.5652    
   4  Prefactor     .46241E-07    13.055        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   5  Prefactor     41.755        6.5239        .15489E-03   -1.5579    
   6  norm          .29421E-08    6.1302        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   7  Prefactor     .69389E-08    5.4697        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   8  Prefactor     .11102E-09    2.6850        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   9  Prefactor     39.666        28.885        .15812E-03   -1.5582    
  10  norm          .18319E-08    5.3829        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  11  norm          .71501        .84591        .59482E-03   -1.5691    
  12  norm          .25535E-08    6.7988        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  13  norm          4.6404        3.7111        .46710E-03   -1.5665    
  14  Prefactor     .46407E-07    12.279        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  15  norm          4.9718        1.4569        .45074E-03   -1.5663    
  16  norm           .0000        1.7901        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  17  Prefactor     .55511E-10    18.794        .17077E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  18  Normalizat    .75965        .19291        .77210E-01   -1.0158    
  19  Prefactor     1.0031        .12951        .44618E-01   -.92627    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 2.29835e-06
Minuit parameter uncertainties:
  1  52.419
  2  35.4597
  3  2.3549
  4  0.00155422
  5  6.52393
  6  0.000269169
  7  0.000390098
  8  2.99065e-05
  9  28.8852
  10  0.000198518
  11  0.845914
  12  0.000263022
  13  3.7111
  14  0.00150952
  15  1.45693
  16  5.46671e-06
  17  6.46425e-05
  18  0.193084
  19  0.129549
Done.

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

Extracting fit parameters...

4FGL J0809.8+0507
   Spectrum: LogParabola
280         norm:  2.554e-09  2.630e-04  0.000e+00  1.000e+06 ( 1.000e-12)
281        alpha:  2.815e+00  0.000e+00  0.000e+00  5.000e+00 ( 1.000e+00) fixed
282         beta:  8.580e-01  0.000e+00 -5.000e+00  1.000e+01 ( 1.000e+00) fixed
283           Eb:  4.471e+02  0.000e+00  3.000e+01  5.000e+05 ( 1.000e+00) fixed

GAL_V02
   Spectrum: PowerLaw
535    Prefactor:  1.003e+00  1.295e-01  0.000e+00  1.000e+01 ( 1.000e+00)
536        Index:  0.000e+00  0.000e+00 -1.000e+00  1.000e+00 ( 1.000e+00) fixed
537        Scale:  1.000e+02  0.000e+00  5.000e+01  2.000e+02 ( 1.000e+00) fixed

EG_v02
   Spectrum: FileFunction
534   Normalization:  7.596e-01  1.931e-01  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Fixed Index): -0.00
Ra Dec: 122.453 5.131
Photon Flux Upper Limit: 5.11191641405e-08 ph cm-2 s-1
Energy Flux Upper Limit: 1.34630688018e-05 MeV cm-2 s-1

Saving results to:
/lscratch/kocevski/26978394/likelihoodResults_800755201_801014401_4FGL_J0809.8+0507_daily_bin2166.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) = 7367.56720226
delta logL = -0.0705762277776

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

MINUIT Return Code (Free Index): 0
logL (Free Index) = 7367.49662822
delta logL = -2.18910372496e-06

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'norm      '    .32087E-04   1.0000          .0000       .10000E+07
     2 'alpha     '    3.6253       1.0000          .0000       5.0000    
     3 'Normalizat'    .75967       1.0000         .10000E-01   10.000    
     4 'Prefactor '    1.0031       1.0000          .0000       10.000    
 **********
 **   15 **SET ERR    .5000    
 **********
 **********
 **   16 **SET GRAD    1.000    
 **********
 **********
 **   17 **MINIMIZE    .5380E+05   .2000E-04
 **********

 MIGRAD MINIMIZATION HAS CONVERGED.

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

 FCN=   7367.497     FROM MIGRAD    STATUS=CONVERGED     35 CALLS      182 TOTAL
                     EDM=   .21E-10  STRATEGY=1  ERROR MATRIX UNCERTAINTY=100.0%

  EXT PARAMETER                APPROXIMATE        STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  norm           .0000        10.358        .42118E-03** at limit **
   2  alpha         4.6720        .57499        .43407E-03     .0000    
   3  Normalizat    .75965        1.0991        .42809E-04   -.11920E-03
   4  Prefactor     1.0031        1.2973       -.35424E-04   -.14278E-03
                               ERR DEF=  .500    
Final values: 
  norm       = 0
  alpha      = 4.67198
  Normalizat = 0.759645
  Prefactor  = 1.00307
 **********
 **   18 **HESSE 
 **********
  MNHESS FAILS AND WILL RETURN DIAGONAL MATRIX. 

 FCN=   7367.497     FROM HESSE     STATUS=FAILED         9 CALLS      191 TOTAL
                     EDM=   .21E-10  STRATEGY=1  ERROR MATRIX UNCERTAINTY=100.0%

  EXT PARAMETER                APPROXIMATE     INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  norm           .0000        10.358        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   2  alpha         3.7913        .63223        .43407E-03    1.0528    
   3  Normalizat    .75965        1.0991        .42809E-04   -1.0158    
   4  Prefactor     1.0031        1.2973       -.35424E-04   -.92627    
                               ERR DEF=  .500    
Minuit fit quality: 1   estimated distance: 2.06152e-11
Minuit parameter uncertainties:
  1  2.03373e-06
  2  0.597969
  3  1.13387
  4  1.34142
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) = 7367.49662603
delta logL = 1.75532477442e-10

Extracting fit parameters...

4FGL J0809.8+0507
   Spectrum: LogParabola
280         norm:  0.000e+00  2.034e-06  0.000e+00  1.000e+06 ( 1.000e-12)
281        alpha:  4.672e+00  5.980e-01  0.000e+00  5.000e+00 ( 1.000e+00)
282         beta:  8.580e-01  0.000e+00 -5.000e+00  1.000e+01 ( 1.000e+00) fixed
283           Eb:  4.471e+02  0.000e+00  3.000e+01  5.000e+05 ( 1.000e+00) fixed

GAL_V02
   Spectrum: PowerLaw
535    Prefactor:  1.003e+00  1.341e+00  0.000e+00  1.000e+01 ( 1.000e+00)
536        Index:  0.000e+00  0.000e+00 -1.000e+00  1.000e+00 ( 1.000e+00) fixed
537        Scale:  1.000e+02  0.000e+00  5.000e+01  2.000e+02 ( 1.000e+00) fixed

EG_v02
   Spectrum: FileFunction
534   Normalization:  7.596e-01  1.134e+00  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Free Index): -0.00
Ra Dec: 122.453 5.131

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/26978394/cmap_HighResolution_800755201_801014401_4FGL_J0809.8+0507_daily_bin2166.png

Cleaning up...

** Nuclear option initiated! **

Updating database...

UPDATE lightcurve_data_v2 SET energy_flux_upper_limit='1.35e-05', job_status='DONE', photon_flux_upper_limit='5.11e-08', time_completed='2026-05-21 06:05:46.128795', job_id='26978394', GAL2='1.00', fit_tolerance='1e-08', EG2='0.76', EG='0.76', time_epoch_completed='1779368746.13', return_code2='101', ts='-0.00', comment='SUCCESS', return_code='0', GAL='1.00', dlogl='1.76e-10', ts2='0.00', photon_index_error='0.00', photon_index='2.82' WHERE bin_id='2166' AND source_name='4FGL J0809.8+0507' AND cadence='daily';

Database successfully updated.


Analysis Complete.


Thu May 21 06:05:46 PDT 2026

ile=/lscratch/kocevski/26978486/ltcube_800755201_801014401_4FGL_J0809.8+0507_daily_bin2166.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/26978486/ft2_4FGL_J0809.8+0507_daily_bin2166.fits
.....................!
real 8.19
user 7.47
sys 0.25

Generating the exposure map:
time -p gtexpmap evfile=/lscratch/kocevski/26978486/ft1_filtered_4FGL_J0809.8+0507_daily_bin2166.fits evtable="EVENTS" scfile=/lscratch/kocevski/26978486/ft2_4FGL_J0809.8+0507_daily_bin2166.fits sctable="SC_DATA" expcube=/lscratch/kocevski/26978486/ltcube_800755201_801014401_4FGL_J0809.8+0507_daily_bin2166.fits outfile=/lscratch/kocevski/26978486/expmap_800755201_801014401_4FGL_J0809.8+0507_daily_bin2166.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/26978486/ltcube_800755201_801014401_4FGL_J0809.8+0507_daily_bin2166.fits
.....................!
real 66.63
user 61.98
sys 3.76

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

Setting source of interest to:
4FGL J0809.8+0507 @ 122.453 5.1313

Creating the counts map:
time -p gtbin evfile=/lscratch/kocevski/26978486/ft1_filtered_4FGL_J0809.8+0507_daily_bin2166.fits scfile=/lscratch/kocevski/26978486/ft2_4FGL_J0809.8+0507_daily_bin2166.fits outfile=/lscratch/kocevski/26978486/cmap_800755201_801014401_4FGL_J0809.8+0507_daily_bin2166.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=122.453 yref=5.1313 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.59
user 0.21
sys 0.13

Creating the high resolution counts map:
time -p gtbin evfile=/lscratch/kocevski/26978486/ft1_filtered_4FGL_J0809.8+0507_daily_bin2166.fits scfile=/lscratch/kocevski/26978486/ft2_4FGL_J0809.8+0507_daily_bin2166.fits outfile=/lscratch/kocevski/26978486/cmap_HighResolution_800755201_801014401_4FGL_J0809.8+0507_daily_bin2166.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=122.453 yref=5.1313 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.63
user 0.22
sys 0.13

Computing the diffuse response:
time -p gtdiffrsp evfile=/lscratch/kocevski/26978486/ft1_filtered_4FGL_J0809.8+0507_daily_bin2166.fits evtable="EVENTS" scfile=/lscratch/kocevski/26978486/ft2_4FGL_J0809.8+0507_daily_bin2166.fits sctable="SC_DATA" srcmdl=/lscratch/kocevski/26978486/Model_4FGL_J0809.8+0507_daily_bin2166.xml irfs="P8R3_SOURCE_V2" evclsmin=0 evclass="INDEF" evtype="INDEF" convert=yes chatter=2 clobber=yes debug=no gui=no mode="ql"

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

adding source EG_v02
adding source GAL_V02
ile=/lscratch/kocevski/26978504/ltcube_800755201_801014401_4FGL_J0809.8+0507_daily_bin2166.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/26978504/ft2_4FGL_J0809.8+0507_daily_bin2166.fits
.....................!
real 7.99
user 7.47
sys 0.23

Generating the exposure map:
time -p gtexpmap evfile=/lscratch/kocevski/26978504/ft1_filtered_4FGL_J0809.8+0507_daily_bin2166.fits evtable="EVENTS" scfile=/lscratch/kocevski/26978504/ft2_4FGL_J0809.8+0507_daily_bin2166.fits sctable="SC_DATA" expcube=/lscratch/kocevski/26978504/ltcube_800755201_801014401_4FGL_J0809.8+0507_daily_bin2166.fits outfile=/lscratch/kocevski/26978504/expmap_800755201_801014401_4FGL_J0809.8+0507_daily_bin2166.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/26978504/ltcube_800755201_801014401_4FGL_J0809.8+0507_daily_bin2166.fits
.....................!
real 68.27
user 63.64
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 163 point sources and 0 extended sources

Setting source of interest to:
4FGL J0809.8+0507 @ 122.453 5.1313

Creating the counts map:
time -p gtbin evfile=/lscratch/kocevski/26978504/ft1_filtered_4FGL_J0809.8+0507_daily_bin2166.fits scfile=/lscratch/kocevski/26978504/ft2_4FGL_J0809.8+0507_daily_bin2166.fits outfile=/lscratch/kocevski/26978504/cmap_800755201_801014401_4FGL_J0809.8+0507_daily_bin2166.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=122.453 yref=5.1313 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.62
user 0.22
sys 0.13

Creating the high resolution counts map:
time -p gtbin evfile=/lscratch/kocevski/26978504/ft1_filtered_4FGL_J0809.8+0507_daily_bin2166.fits scfile=/lscratch/kocevski/26978504/ft2_4FGL_J0809.8+0507_daily_bin2166.fits outfile=/lscratch/kocevski/26978504/cmap_HighResolution_800755201_801014401_4FGL_J0809.8+0507_daily_bin2166.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=122.453 yref=5.1313 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.65
user 0.24
sys 0.14

Computing the diffuse response:
time -p gtdiffrsp evfile=/lscratch/kocevski/26978504/ft1_filtered_4FGL_J0809.8+0507_daily_bin2166.fits evtable="EVENTS" scfile=/lscratch/kocevski/26978504/ft2_4FGL_J0809.8+0507_daily_bin2166.fits sctable="SC_DATA" srcmdl=/lscratch/kocevski/26978504/Model_4FGL_J0809.8+0507_daily_bin2166.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/26978486/ft1_filtered_4FGL_J0809.8+0507_daily_bin2166.fits.....................!
real 34.26
user 32.67
sys 0.89

Creating the likelihood object...
obs = UnbinnedObs('/lscratch/kocevski/26978486/ft1_filtered_4FGL_J0809.8+0507_daily_bin2166.fits', '/lscratch/kocevski/26978486/ft2_4FGL_J0809.8+0507_daily_bin2166.fits', expMap='/lscratch/kocevski/26978486/expmap_800755201_801014401_4FGL_J0809.8+0507_daily_bin2166.fits', expCube='/lscratch/kocevski/26978486/ltcube_800755201_801014401_4FGL_J0809.8+0507_daily_bin2166.fits', irfs='P8R3_SOURCE_V2')
like = UnbinnedAnalysis(obs, '/lscratch/kocevski/26978486/Model_4FGL_J0809.8+0507_daily_bin2166.xml', optimizer='MINUIT')

Using source of interest name: '4FGL J0809.8+0507'

4FGL J0809.8+0507
   Spectrum: LogParabola
280         norm:  4.437e+00  0.000e+00  0.000e+00  1.000e+06 ( 1.000e-12)
281        alpha:  2.815e+00  0.000e+00  0.000e+00  5.000e+00 ( 1.000e+00) fixed
282         beta:  8.580e-01  0.000e+00 -5.000e+00  1.000e+01 ( 1.000e+00) fixed
283           Eb:  4.471e+02  0.000e+00  3.000e+01  5.000e+05 ( 1.000e+00) fixed


Likelihood Fit Parameters:
Event file(s): /lscratch/kocevski/26978486/ft1_filtered_4FGL_J0809.8+0507_daily_bin2166.fits
Spacecraft file(s): /lscratch/kocevski/26978486/ft2_4FGL_J0809.8+0507_daily_bin2166.fits
Exposure map: /lscratch/kocevski/26978486/expmap_800755201_801014401_4FGL_J0809.8+0507_daily_bin2166.fits
Exposure cube: /lscratch/kocevski/26978486/ltcube_800755201_801014401_4FGL_J0809.8+0507_daily_bin2166.fits
IRFs: P8R3_SOURCE_V2
Source model file: /lscratch/kocevski/26978486/Model_4FGL_J0809.8+0507_daily_bin2166.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) = 7367.50488868

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

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

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'Prefactor '    50.213       1.0000          .0000       .10000E+07
     2 'Prefactor '    8.5492       1.0000          .0000       .10000E+07
     3 'norm      '    7.8933       1.0000          .0000       .10000E+07
     4 'Prefactor '    .16801E-03   1.0000          .0000       .10000E+07
     5 'Prefactor '    41.688       1.0000          .0000       .10000E+07
     6 'norm      '    .45205E-03   1.0000          .0000       .10000E+07
     7 'Prefactor '    .50287E-03   1.0000          .0000       .10000E+07
     8 'Prefactor '    .62225E-05   1.0000          .0000       .10000E+07
     9 'Prefactor '    40.004       1.0000          .0000       .10000E+07
    10 'norm      '    .10690E-02   1.0000          .0000       .10000E+07
    11 'norm      '    .71522       1.0000          .0000       .10000E+07
    12 'norm      '    .27935E-02   1.0000          .0000       .10000E+07
    13 'norm      '    4.6378       1.0000          .0000       .10000E+07
    14 'Prefactor '    .10709E-02   1.0000          .0000       .10000E+07
    15 'norm      '    4.9729       1.0000          .0000       .10000E+07
    16 'norm      '    .17331E-06   1.0000          .0000       .10000E+07
    17 'Prefactor '    .19395E-01   1.0000          .0000       .10000E+07
    18 'Normalizat'    .75888       1.0000         .10000E-01   10.000    
    19 'Prefactor '    1.0032       1.0000          .0000       10.000    
 **********
 **   15 **SET ERR    .5000    
 **********
 **********
 **   16 **SET GRAD    1.000    
 **********
 **********
 **   17 **MINIMIZE    .5380E+05   .2000E-04
 **********

 MIGRAD MINIMIZATION HAS CONVERGED.

 FCN=   7367.497     FROM MIGRAD    STATUS=CONVERGED    139 CALLS     1378 TOTAL
                     EDM=   .11E-08  STRATEGY=1  ERROR MATRIX UNCERTAINTY=   .9%

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor     50.712        42.251        .51992E-05   -.13142    
   2  Prefactor     7.6171        35.197       -.84232E-06   -.52923E-01
   3  norm          7.9002        2.3454        .20468E-06    .33937E-02
   4  Prefactor     .46241E-07    13.039       -.16858E-05** at limit **
   5  Prefactor     41.755        6.5284       -.92433E-07    .18874E-02
   6  norm          .29421E-08    6.1286        .33341E-05** at limit **
   7  Prefactor     .69389E-08    5.4693       -.15221E-06** at limit **
   8  Prefactor     .11102E-09    2.6857       -.91362E-06** at limit **
   9  Prefactor     39.666        21.535        .26346E-05    .22474    
  10  norm          .18319E-08    5.3919        .24536E-05** at limit **
  11  norm          .71501        .84404       -.41099E-06    .24477E-02
  12  norm          .25535E-08    6.8007        .11802E-05** at limit **
  13  norm          4.6404        3.6918       -.92582E-06   -.33440E-02
  14  Prefactor     .46407E-07    12.281        .61947E-06** at limit **
  15  norm          4.9718        1.4602       -.36696E-06   -.35811E-02
  16  norm           .0000        1.7893       -.15671E-05** at limit **
  17  Prefactor     .55511E-10    18.908        .11488E-05** at limit **
  18  Normalizat    .75965        .21827       -.12508E-04    .14955E-04
  19  Prefactor     1.0031        .14681        .18550E-05    .68026E-06
                               ERR DEF=  .500    
Final values: 
  Prefactor  = 50.7125
  Prefactor  = 7.61709
  norm       = 7.90018
  Prefactor  = 4.62408e-08
  Prefactor  = 41.7551
  norm       = 2.94209e-09
  Prefactor  = 6.93889e-09
  Prefactor  = 1.11022e-10
  Prefactor  = 39.6658
  norm       = 1.83187e-09
  norm       = 0.715014
  norm       = 2.55351e-09
  norm       = 4.64038
  Prefactor  = 4.64073e-08
  norm       = 4.9718
  norm       = 0
  Prefactor  = 5.55112e-11
  Normalizat = 0.759646
  Prefactor  = 1.00307
 **********
 **   18 **HESSE 
 **********

 FCN=   7367.497     FROM HESSE     STATUS=OK           302 CALLS     1680 TOTAL
                     EDM=   .23E-05    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  Prefactor     50.712        52.418        .14113E-03   -1.5566    
   2  Prefactor     7.6171        41.268        .34260E-03   -1.5653    
   3  norm          7.9002        2.3549        .35666E-03   -1.5652    
   4  Prefactor     .46241E-07    13.055        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   5  Prefactor     41.755        6.5239        .15489E-03   -1.5579    
   6  norm          .29421E-08    6.1302        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   7  Prefactor     .69389E-08    5.4697        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   8  Prefactor     .11102E-09    2.6850        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   9  Prefactor     39.666        28.885        .15812E-03   -1.5582    
  10  norm          .18319E-08    5.3829        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  11  norm          .71501        .84591        .59482E-03   -1.5691    
  12  norm          .25535E-08    6.7988        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  13  norm          4.6404        3.7111        .46710E-03   -1.5665    
  14  Prefactor     .46407E-07    12.279        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  15  norm          4.9718        1.4569        .45074E-03   -1.5663    
  16  norm           .0000        1.7901        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  17  Prefactor     .55511E-10    18.794        .17077E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  18  Normalizat    .75965        .19291        .77210E-01   -1.0158    
  19  Prefactor     1.0031        .12951        .44618E-01   -.92627    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 2.29835e-06
Minuit parameter uncertainties:
  1  52.419
  2  35.4597
  3  2.3549
  4  0.00155422
  5  6.52393
  6  0.000269169
  7  0.000390098
  8  2.99065e-05
  9  28.8852
  10  0.000198518
  11  0.845914
  12  0.000263022
  13  3.7111
  14  0.00150952
  15  1.45693
  16  5.46671e-06
  17  6.46425e-05
  18  0.193084
  19  0.129549
Done.

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

Extracting fit parameters...

4FGL J0809.8+0507
   Spectrum: LogParabola
280         norm:  2.554e-09  2.630e-04  0.000e+00  1.000e+06 ( 1.000e-12)
281        alpha:  2.815e+00  0.000e+00  0.000e+00  5.000e+00 ( 1.000e+00) fixed
282         beta:  8.580e-01  0.000e+00 -5.000e+00  1.000e+01 ( 1.000e+00) fixed
283           Eb:  4.471e+02  0.000e+00  3.000e+01  5.000e+05 ( 1.000e+00) fixed

GAL_V02
   Spectrum: PowerLaw
535    Prefactor:  1.003e+00  1.295e-01  0.000e+00  1.000e+01 ( 1.000e+00)
536        Index:  0.000e+00  0.000e+00 -1.000e+00  1.000e+00 ( 1.000e+00) fixed
537        Scale:  1.000e+02  0.000e+00  5.000e+01  2.000e+02 ( 1.000e+00) fixed

EG_v02
   Spectrum: FileFunction
534   Normalization:  7.596e-01  1.931e-01  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Fixed Index): -0.00
Ra Dec: 122.453 5.131
Photon Flux Upper Limit: 5.11191641405e-08 ph cm-2 s-1
Energy Flux Upper Limit: 1.34630688018e-05 MeV cm-2 s-1

Saving results to:
/lscratch/kocevski/26978486/likelihoodResults_800755201_801014401_4FGL_J0809.8+0507_daily_bin2166.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) = 7367.56720226
delta logL = -0.0705762277776

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

MINUIT Return Code (Free Index): 0
logL (Free Index) = 7367.49662822
delta logL = -2.18910372496e-06

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'norm      '    .32087E-04   1.0000          .0000       .10000E+07
     2 'alpha     '    3.6253       1.0000          .0000       5.0000    
     3 'Normalizat'    .75967       1.0000         .10000E-01   10.000    
     4 'Prefactor '    1.0031       1.0000          .0000       10.000    
 **********
 **   15 **SET ERR    .5000    
 **********
 **********
 **   16 **SET GRAD    1.000    
 **********
 **********
 **   17 **MINIMIZE    .5380E+05   .2000E-04
 **********

 MIGRAD MINIMIZATION HAS CONVERGED.

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

 FCN=   7367.497     FROM MIGRAD    STATUS=CONVERGED     35 CALLS      182 TOTAL
                     EDM=   .21E-10  STRATEGY=1  ERROR MATRIX UNCERTAINTY=100.0%

  EXT PARAMETER                APPROXIMATE        STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  norm           .0000        10.358        .42118E-03** at limit **
   2  alpha         4.6720        .57499        .43407E-03     .0000    
   3  Normalizat    .75965        1.0991        .42809E-04   -.11920E-03
   4  Prefactor     1.0031        1.2973       -.35424E-04   -.14278E-03
                               ERR DEF=  .500    
Final values: 
  norm       = 0
  alpha      = 4.67198
  Normalizat = 0.759645
  Prefactor  = 1.00307
 **********
 **   18 **HESSE 
 **********
  MNHESS FAILS AND WILL RETURN DIAGONAL MATRIX. 

 FCN=   7367.497     FROM HESSE     STATUS=FAILED         9 CALLS      191 TOTAL
                     EDM=   .21E-10  STRATEGY=1  ERROR MATRIX UNCERTAINTY=100.0%

  EXT PARAMETER                APPROXIMATE     INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  norm           .0000        10.358        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   2  alpha         3.7913        .63223        .43407E-03    1.0528    
   3  Normalizat    .75965        1.0991        .42809E-04   -1.0158    
   4  Prefactor     1.0031        1.2973       -.35424E-04   -.92627    
                               ERR DEF=  .500    
Minuit fit quality: 1   estimated distance: 2.06152e-11
Minuit parameter uncertainties:
  1  2.03373e-06
  2  0.597969
  3  1.13387
  4  1.34142
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) = 7367.49662603
delta logL = 1.75532477442e-10

Extracting fit parameters...

4FGL J0809.8+0507
   Spectrum: LogParabola
280         norm:  0.000e+00  2.034e-06  0.000e+00  1.000e+06 ( 1.000e-12)
281        alpha:  4.672e+00  5.980e-01  0.000e+00  5.000e+00 ( 1.000e+00)
282         beta:  8.580e-01  0.000e+00 -5.000e+00  1.000e+01 ( 1.000e+00) fixed
283           Eb:  4.471e+02  0.000e+00  3.000e+01  5.000e+05 ( 1.000e+00) fixed

GAL_V02
   Spectrum: PowerLaw
535    Prefactor:  1.003e+00  1.341e+00  0.000e+00  1.000e+01 ( 1.000e+00)
536        Index:  0.000e+00  0.000e+00 -1.000e+00  1.000e+00 ( 1.000e+00) fixed
537        Scale:  1.000e+02  0.000e+00  5.000e+01  2.000e+02 ( 1.000e+00) fixed

EG_v02
   Spectrum: FileFunction
534   Normalization:  7.596e-01  1.134e+00  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Free Index): -0.00
Ra Dec: 122.453 5.131

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/26978486/cmap_HighResolution_800755201_801014401_4FGL_J0809.8+0507_daily_bin2166.png

Cleaning up...

** Nuclear option initiated! **

Updating database...

UPDATE lightcurve_data_v2 SET energy_flux_upper_limit='1.35e-05', job_status='DONE', photon_flux_upper_limit='5.11e-08', time_completed='2026-05-21 06:07:30.779892', job_id='26978486', GAL2='1.00', fit_tolerance='1e-08', EG2='0.76', EG='0.76', time_epoch_completed='1779368850.78', return_code2='101', ts='-0.00', comment='SUCCESS', return_code='0', GAL='1.00', dlogl='1.76e-10', ts2='0.00', photon_index_error='0.00', photon_index='2.82' WHERE bin_id='2166' AND source_name='4FGL J0809.8+0507' AND cadence='daily';

Database successfully updated.


Analysis Complete.


Thu May 21 06:07:30 PDT 2026

Working on...
/lscratch/kocevski/26978504/ft1_filtered_4FGL_J0809.8+0507_daily_bin2166.fits.....................!
real 34.83
user 33.23
sys 0.95

Creating the likelihood object...
obs = UnbinnedObs('/lscratch/kocevski/26978504/ft1_filtered_4FGL_J0809.8+0507_daily_bin2166.fits', '/lscratch/kocevski/26978504/ft2_4FGL_J0809.8+0507_daily_bin2166.fits', expMap='/lscratch/kocevski/26978504/expmap_800755201_801014401_4FGL_J0809.8+0507_daily_bin2166.fits', expCube='/lscratch/kocevski/26978504/ltcube_800755201_801014401_4FGL_J0809.8+0507_daily_bin2166.fits', irfs='P8R3_SOURCE_V2')
like = UnbinnedAnalysis(obs, '/lscratch/kocevski/26978504/Model_4FGL_J0809.8+0507_daily_bin2166.xml', optimizer='MINUIT')

Using source of interest name: '4FGL J0809.8+0507'

4FGL J0809.8+0507
   Spectrum: LogParabola
280         norm:  4.437e+00  0.000e+00  0.000e+00  1.000e+06 ( 1.000e-12)
281        alpha:  2.815e+00  0.000e+00  0.000e+00  5.000e+00 ( 1.000e+00) fixed
282         beta:  8.580e-01  0.000e+00 -5.000e+00  1.000e+01 ( 1.000e+00) fixed
283           Eb:  4.471e+02  0.000e+00  3.000e+01  5.000e+05 ( 1.000e+00) fixed


Likelihood Fit Parameters:
Event file(s): /lscratch/kocevski/26978504/ft1_filtered_4FGL_J0809.8+0507_daily_bin2166.fits
Spacecraft file(s): /lscratch/kocevski/26978504/ft2_4FGL_J0809.8+0507_daily_bin2166.fits
Exposure map: /lscratch/kocevski/26978504/expmap_800755201_801014401_4FGL_J0809.8+0507_daily_bin2166.fits
Exposure cube: /lscratch/kocevski/26978504/ltcube_800755201_801014401_4FGL_J0809.8+0507_daily_bin2166.fits
IRFs: P8R3_SOURCE_V2
Source model file: /lscratch/kocevski/26978504/Model_4FGL_J0809.8+0507_daily_bin2166.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) = 7367.50488868

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

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

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'Prefactor '    50.213       1.0000          .0000       .10000E+07
     2 'Prefactor '    8.5492       1.0000          .0000       .10000E+07
     3 'norm      '    7.8933       1.0000          .0000       .10000E+07
     4 'Prefactor '    .16801E-03   1.0000          .0000       .10000E+07
     5 'Prefactor '    41.688       1.0000          .0000       .10000E+07
     6 'norm      '    .45205E-03   1.0000          .0000       .10000E+07
     7 'Prefactor '    .50287E-03   1.0000          .0000       .10000E+07
     8 'Prefactor '    .62225E-05   1.0000          .0000       .10000E+07
     9 'Prefactor '    40.004       1.0000          .0000       .10000E+07
    10 'norm      '    .10690E-02   1.0000          .0000       .10000E+07
    11 'norm      '    .71522       1.0000          .0000       .10000E+07
    12 'norm      '    .27935E-02   1.0000          .0000       .10000E+07
    13 'norm      '    4.6378       1.0000          .0000       .10000E+07
    14 'Prefactor '    .10709E-02   1.0000          .0000       .10000E+07
    15 'norm      '    4.9729       1.0000          .0000       .10000E+07
    16 'norm      '    .17331E-06   1.0000          .0000       .10000E+07
    17 'Prefactor '    .19395E-01   1.0000          .0000       .10000E+07
    18 'Normalizat'    .75888       1.0000         .10000E-01   10.000    
    19 'Prefactor '    1.0032       1.0000          .0000       10.000    
 **********
 **   15 **SET ERR    .5000    
 **********
 **********
 **   16 **SET GRAD    1.000    
 **********
 **********
 **   17 **MINIMIZE    .5380E+05   .2000E-04
 **********

 MIGRAD MINIMIZATION HAS CONVERGED.

 FCN=   7367.497     FROM MIGRAD    STATUS=CONVERGED    139 CALLS     1378 TOTAL
                     EDM=   .11E-08  STRATEGY=1  ERROR MATRIX UNCERTAINTY=   .9%

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor     50.712        42.251        .51992E-05   -.13142    
   2  Prefactor     7.6171        35.197       -.84232E-06   -.52923E-01
   3  norm          7.9002        2.3454        .20468E-06    .33937E-02
   4  Prefactor     .46241E-07    13.039       -.16858E-05** at limit **
   5  Prefactor     41.755        6.5284       -.92433E-07    .18874E-02
   6  norm          .29421E-08    6.1286        .33341E-05** at limit **
   7  Prefactor     .69389E-08    5.4693       -.15221E-06** at limit **
   8  Prefactor     .11102E-09    2.6857       -.91362E-06** at limit **
   9  Prefactor     39.666        21.535        .26346E-05    .22474    
  10  norm          .18319E-08    5.3919        .24536E-05** at limit **
  11  norm          .71501        .84404       -.41099E-06    .24477E-02
  12  norm          .25535E-08    6.8007        .11802E-05** at limit **
  13  norm          4.6404        3.6918       -.92582E-06   -.33440E-02
  14  Prefactor     .46407E-07    12.281        .61947E-06** at limit **
  15  norm          4.9718        1.4602       -.36696E-06   -.35811E-02
  16  norm           .0000        1.7893       -.15671E-05** at limit **
  17  Prefactor     .55511E-10    18.908        .11488E-05** at limit **
  18  Normalizat    .75965        .21827       -.12508E-04    .14955E-04
  19  Prefactor     1.0031        .14681        .18550E-05    .68026E-06
                               ERR DEF=  .500    
Final values: 
  Prefactor  = 50.7125
  Prefactor  = 7.61709
  norm       = 7.90018
  Prefactor  = 4.62408e-08
  Prefactor  = 41.7551
  norm       = 2.94209e-09
  Prefactor  = 6.93889e-09
  Prefactor  = 1.11022e-10
  Prefactor  = 39.6658
  norm       = 1.83187e-09
  norm       = 0.715014
  norm       = 2.55351e-09
  norm       = 4.64038
  Prefactor  = 4.64073e-08
  norm       = 4.9718
  norm       = 0
  Prefactor  = 5.55112e-11
  Normalizat = 0.759646
  Prefactor  = 1.00307
 **********
 **   18 **HESSE 
 **********

 FCN=   7367.497     FROM HESSE     STATUS=OK           302 CALLS     1680 TOTAL
                     EDM=   .23E-05    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  Prefactor     50.712        52.418        .14113E-03   -1.5566    
   2  Prefactor     7.6171        41.268        .34260E-03   -1.5653    
   3  norm          7.9002        2.3549        .35666E-03   -1.5652    
   4  Prefactor     .46241E-07    13.055        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   5  Prefactor     41.755        6.5239        .15489E-03   -1.5579    
   6  norm          .29421E-08    6.1302        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   7  Prefactor     .69389E-08    5.4697        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   8  Prefactor     .11102E-09    2.6850        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   9  Prefactor     39.666        28.885        .15812E-03   -1.5582    
  10  norm          .18319E-08    5.3829        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  11  norm          .71501        .84591        .59482E-03   -1.5691    
  12  norm          .25535E-08    6.7988        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  13  norm          4.6404        3.7111        .46710E-03   -1.5665    
  14  Prefactor     .46407E-07    12.279        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  15  norm          4.9718        1.4569        .45074E-03   -1.5663    
  16  norm           .0000        1.7901        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  17  Prefactor     .55511E-10    18.794        .17077E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  18  Normalizat    .75965        .19291        .77210E-01   -1.0158    
  19  Prefactor     1.0031        .12951        .44618E-01   -.92627    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 2.29835e-06
Minuit parameter uncertainties:
  1  52.419
  2  35.4597
  3  2.3549
  4  0.00155422
  5  6.52393
  6  0.000269169
  7  0.000390098
  8  2.99065e-05
  9  28.8852
  10  0.000198518
  11  0.845914
  12  0.000263022
  13  3.7111
  14  0.00150952
  15  1.45693
  16  5.46671e-06
  17  6.46425e-05
  18  0.193084
  19  0.129549
Done.

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

Extracting fit parameters...

4FGL J0809.8+0507
   Spectrum: LogParabola
280         norm:  2.554e-09  2.630e-04  0.000e+00  1.000e+06 ( 1.000e-12)
281        alpha:  2.815e+00  0.000e+00  0.000e+00  5.000e+00 ( 1.000e+00) fixed
282         beta:  8.580e-01  0.000e+00 -5.000e+00  1.000e+01 ( 1.000e+00) fixed
283           Eb:  4.471e+02  0.000e+00  3.000e+01  5.000e+05 ( 1.000e+00) fixed

GAL_V02
   Spectrum: PowerLaw
535    Prefactor:  1.003e+00  1.295e-01  0.000e+00  1.000e+01 ( 1.000e+00)
536        Index:  0.000e+00  0.000e+00 -1.000e+00  1.000e+00 ( 1.000e+00) fixed
537        Scale:  1.000e+02  0.000e+00  5.000e+01  2.000e+02 ( 1.000e+00) fixed

EG_v02
   Spectrum: FileFunction
534   Normalization:  7.596e-01  1.931e-01  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Fixed Index): -0.00
Ra Dec: 122.453 5.131
Photon Flux Upper Limit: 5.11191641405e-08 ph cm-2 s-1
Energy Flux Upper Limit: 1.34630688018e-05 MeV cm-2 s-1

Saving results to:
/lscratch/kocevski/26978504/likelihoodResults_800755201_801014401_4FGL_J0809.8+0507_daily_bin2166.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) = 7367.56720226
delta logL = -0.0705762277776

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

MINUIT Return Code (Free Index): 0
logL (Free Index) = 7367.49662822
delta logL = -2.18910372496e-06

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'norm      '    .32087E-04   1.0000          .0000       .10000E+07
     2 'alpha     '    3.6253       1.0000          .0000       5.0000    
     3 'Normalizat'    .75967       1.0000         .10000E-01   10.000    
     4 'Prefactor '    1.0031       1.0000          .0000       10.000    
 **********
 **   15 **SET ERR    .5000    
 **********
 **********
 **   16 **SET GRAD    1.000    
 **********
 **********
 **   17 **MINIMIZE    .5380E+05   .2000E-04
 **********

 MIGRAD MINIMIZATION HAS CONVERGED.

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

 FCN=   7367.497     FROM MIGRAD    STATUS=CONVERGED     35 CALLS      182 TOTAL
                     EDM=   .21E-10  STRATEGY=1  ERROR MATRIX UNCERTAINTY=100.0%

  EXT PARAMETER                APPROXIMATE        STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  norm           .0000        10.358        .42118E-03** at limit **
   2  alpha         4.6720        .57499        .43407E-03     .0000    
   3  Normalizat    .75965        1.0991        .42809E-04   -.11920E-03
   4  Prefactor     1.0031        1.2973       -.35424E-04   -.14278E-03
                               ERR DEF=  .500    
Final values: 
  norm       = 0
  alpha      = 4.67198
  Normalizat = 0.759645
  Prefactor  = 1.00307
 **********
 **   18 **HESSE 
 **********
  MNHESS FAILS AND WILL RETURN DIAGONAL MATRIX. 

 FCN=   7367.497     FROM HESSE     STATUS=FAILED         9 CALLS      191 TOTAL
                     EDM=   .21E-10  STRATEGY=1  ERROR MATRIX UNCERTAINTY=100.0%

  EXT PARAMETER                APPROXIMATE     INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  norm           .0000        10.358        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   2  alpha         3.7913        .63223        .43407E-03    1.0528    
   3  Normalizat    .75965        1.0991        .42809E-04   -1.0158    
   4  Prefactor     1.0031        1.2973       -.35424E-04   -.92627    
                               ERR DEF=  .500    
Minuit fit quality: 1   estimated distance: 2.06152e-11
Minuit parameter uncertainties:
  1  2.03373e-06
  2  0.597969
  3  1.13387
  4  1.34142
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) = 7367.49662603
delta logL = 1.75532477442e-10

Extracting fit parameters...

4FGL J0809.8+0507
   Spectrum: LogParabola
280         norm:  0.000e+00  2.034e-06  0.000e+00  1.000e+06 ( 1.000e-12)
281        alpha:  4.672e+00  5.980e-01  0.000e+00  5.000e+00 ( 1.000e+00)
282         beta:  8.580e-01  0.000e+00 -5.000e+00  1.000e+01 ( 1.000e+00) fixed
283           Eb:  4.471e+02  0.000e+00  3.000e+01  5.000e+05 ( 1.000e+00) fixed

GAL_V02
   Spectrum: PowerLaw
535    Prefactor:  1.003e+00  1.341e+00  0.000e+00  1.000e+01 ( 1.000e+00)
536        Index:  0.000e+00  0.000e+00 -1.000e+00  1.000e+00 ( 1.000e+00) fixed
537        Scale:  1.000e+02  0.000e+00  5.000e+01  2.000e+02 ( 1.000e+00) fixed

EG_v02
   Spectrum: FileFunction
534   Normalization:  7.596e-01  1.134e+00  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Free Index): -0.00
Ra Dec: 122.453 5.131

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/26978504/cmap_HighResolution_800755201_801014401_4FGL_J0809.8+0507_daily_bin2166.png

Cleaning up...

** Nuclear option initiated! **

Updating database...

UPDATE lightcurve_data_v2 SET energy_flux_upper_limit='1.35e-05', job_status='DONE', photon_flux_upper_limit='5.11e-08', time_completed='2026-05-21 06:08:24.040982', job_id='26978504', GAL2='1.00', fit_tolerance='1e-08', EG2='0.76', EG='0.76', time_epoch_completed='1779368904.04', return_code2='101', ts='-0.00', comment='SUCCESS', return_code='0', GAL='1.00', dlogl='1.76e-10', ts2='0.00', photon_index_error='0.00', photon_index='2.82' WHERE bin_id='2166' AND source_name='4FGL J0809.8+0507' AND cadence='daily';

Database successfully updated.


Analysis Complete.


Thu May 21 06:08:24 PDT 2026

