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

 FCN=   6962.781     FROM HESSE     STATUS=OK           324 CALLS     1493 TOTAL
                     EDM=   .14E-08    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  Prefactor     17.157        35.902        .23917E-03   -1.5625    
   2  Prefactor     .10547E-08    49.373        .16060E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   3  norm          3.8658        2.0339        .51278E-03   -1.5669    
   4  Prefactor      .0000        7.9656        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   5  Prefactor     8.8715        3.6709        .33654E-03   -1.5648    
   6  norm          7.7992        10.198        .35283E-03   -1.5652    
   7  Prefactor     .55511E-10    4.4453        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   8  Prefactor     .14949        3.1352        .77695E-02   -1.5700    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   9  Prefactor     20.448        29.428        .22469E-03   -1.5618    
  10  norm          3.7307        9.9062        .52267E-03   -1.5669    
  11  norm           .0000        2.0993        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  12  norm          .61062E-09    6.8622        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  13  norm          4.7963        3.9144        .45806E-03   -1.5664    
  14  Prefactor     .12212E-08    8.7815        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  15  norm          .79372        .75398        .53406E-03   -1.5690    
  16  norm          13.708        8.9367        .26868E-03   -1.5634    
  17  Prefactor     .25864E-05    38.924        .14595E-01   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  18  Normalizat    1.2286        .18846        .59328E-01   -.85723    
  19  Prefactor     .74505        .12130        .42997E-01   -1.0179    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 1.42275e-09
Minuit parameter uncertainties:
  1  35.9028
  2  0.000451926
  3  2.0339
  4  1.9032e-05
  5  3.67089
  6  10.1981
  7  3.40922e-05
  8  1.36921
  9  29.4282
  10  9.90625
  11  1.42073e-05
  12  0.000132276
  13  3.91441
  14  0.00020681
  15  0.753982
  16  8.93667
  17  0.0200673
  18  0.188569
  19  0.121343
Done.

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

Extracting fit parameters...

4FGL J0809.8+0507
   Spectrum: LogParabola
280         norm:  6.106e-10  1.323e-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:  7.450e-01  1.213e-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:  1.229e+00  1.886e-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.41293685324e-08 ph cm-2 s-1
Energy Flux Upper Limit: 1.42558554116e-05 MeV cm-2 s-1

Saving results to:
/lscratch/kocevski/31177455/likelihoodResults_804902401_805161601_4FGL_J0809.8+0507_daily_bin2182.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) = 6962.851011
delta logL = -0.0697576879538

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

MINUIT Return Code (Free Index): 0
logL (Free Index) = 6962.78125508
delta logL = -1.76754656422e-06

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'norm      '    .11678E-04   1.0000          .0000       .10000E+07
     2 'alpha     '    1.8927       1.0000          .0000       5.0000    
     3 'Normalizat'    1.2284       1.0000         .10000E-01   10.000    
     4 'Prefactor '    .74524       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=   6962.781     FROM MIGRAD    STATUS=CONVERGED     36 CALLS      182 TOTAL
                     EDM=   .39E-13  STRATEGY=1  ERROR MATRIX UNCERTAINTY=100.0%

  EXT PARAMETER                APPROXIMATE        STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  norm           .0000        9.7766        .42118E-03** at limit **
   2  alpha         .68070        .71172       -.19058E-04     .0000    
   3  Normalizat    1.2286        1.0974       -.58302E-06    .38808E-05
   4  Prefactor     .74505        1.0947       -.78102E-06    .67265E-05
                               ERR DEF=  .500    
Final values: 
  norm       = 0
  alpha      = 0.680703
  Normalizat = 1.22863
  Prefactor  = 0.745046
 **********
 **   18 **HESSE 
 **********
  MNHESS FAILS AND WILL RETURN DIAGONAL MATRIX. 

 FCN=   6962.781     FROM HESSE     STATUS=FAILED         9 CALLS      191 TOTAL
                     EDM=   .39E-13  STRATEGY=1  ERROR MATRIX UNCERTAINTY=100.0%

  EXT PARAMETER                APPROXIMATE     INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  norm           .0000        9.7766        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   2  alpha         .75146E-01    .76968       -.19058E-04   -.81499    
   3  Normalizat    1.2286        1.0974       -.58302E-06   -.85723    
   4  Prefactor     .74505        1.0947       -.78102E-06   -1.0179    
                               ERR DEF=  .500    
Minuit fit quality: 1   estimated distance: 3.92415e-14
Minuit parameter uncertainties:
  1  2.3262e-06
  2  0.73392
  3  1.11911
  4  1.12914
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) = 6962.78125331
delta logL = 1.17324816529e-10

Extracting fit parameters...

4FGL J0809.8+0507
   Spectrum: LogParabola
280         norm:  0.000e+00  2.326e-06  0.000e+00  1.000e+06 ( 1.000e-12)
281        alpha:  6.807e-01  7.339e-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:  7.450e-01  1.129e+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:  1.229e+00  1.119e+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 -2.500e-04 [aplpy.core]
INFO: Auto-setting vmax to  2.775e-03 [aplpy.core]
Saving /lscratch/kocevski/31177455/cmap_HighResolution_804902401_805161601_4FGL_J0809.8+0507_daily_bin2182.png

Cleaning up...

** Nuclear option initiated! **

Updating database...

UPDATE lightcurve_data_v2 SET energy_flux_upper_limit='1.43e-05', job_status='DONE', photon_flux_upper_limit='5.41e-08', time_completed='2026-07-09 22:04:50.066559', job_id='31177455', GAL2='0.75', fit_tolerance='1e-08', EG2='1.23', EG='1.23', time_epoch_completed='1783659890.07', return_code2='101', ts='-0.00', comment='SUCCESS', return_code='0', GAL='0.75', dlogl='1.17e-10', ts2='0.00', photon_index_error='0.00', photon_index='2.82' WHERE bin_id='2182' AND source_name='4FGL J0809.8+0507' AND cadence='daily';

Database successfully updated.


Analysis Complete.


Thu Jul  9 22:04:50 PDT 2026

number of points = 7516
number of fields = 31
RA_SUN column already exists. File will not be modified.
ile=/lscratch/kocevski/31177517/ltcube_804902401_805161601_4FGL_J0809.8+0507_daily_bin2182.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/31177517/ft2_4FGL_J0809.8+0507_daily_bin2182.fits
.....................!
real 8.96
user 8.20
sys 0.22

Generating the exposure map:
time -p gtexpmap evfile=/lscratch/kocevski/31177517/ft1_filtered_4FGL_J0809.8+0507_daily_bin2182.fits evtable="EVENTS" scfile=/lscratch/kocevski/31177517/ft2_4FGL_J0809.8+0507_daily_bin2182.fits sctable="SC_DATA" expcube=/lscratch/kocevski/31177517/ltcube_804902401_805161601_4FGL_J0809.8+0507_daily_bin2182.fits outfile=/lscratch/kocevski/31177517/expmap_804902401_805161601_4FGL_J0809.8+0507_daily_bin2182.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/31177517/ltcube_804902401_805161601_4FGL_J0809.8+0507_daily_bin2182.fits
.....................!
real 69.79
user 65.22
sys 3.81

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/31177517/ft1_filtered_4FGL_J0809.8+0507_daily_bin2182.fits scfile=/lscratch/kocevski/31177517/ft2_4FGL_J0809.8+0507_daily_bin2182.fits outfile=/lscratch/kocevski/31177517/cmap_804902401_805161601_4FGL_J0809.8+0507_daily_bin2182.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.86
user 0.22
sys 0.11

Creating the high resolution counts map:
time -p gtbin evfile=/lscratch/kocevski/31177517/ft1_filtered_4FGL_J0809.8+0507_daily_bin2182.fits scfile=/lscratch/kocevski/31177517/ft2_4FGL_J0809.8+0507_daily_bin2182.fits outfile=/lscratch/kocevski/31177517/cmap_HighResolution_804902401_805161601_4FGL_J0809.8+0507_daily_bin2182.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.77
user 0.21
sys 0.13

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

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

adding source EG_v02
adding source GAL_V02
Done.


Performing analysis on: 4FGL_J0809.8+0507_daily_bin2182
RA = 122.453, Dec = 5.1313
tmin = 804902401, tmax = 805161601
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='31177630', job_status='RUN', time_executed='2026-07-09 22:02:11.332248', time_epoch_executed='1783659731.33' WHERE source_name='4FGL J0809.8+0507' and cadence='daily' and bin_id='2182'

Database successfully updated.
Done.

Creating custom output directory:
/lscratch/kocevski/31177630

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

Retrieving the FT1 file...

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

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

Retrieving 47 files...
Done.


Merging files...

Checksum keywords updated successfully.

Merged file saved to:
/lscratch/kocevski/31177630/ft1_4FGL_J0809.8+0507_daily_bin2182.fits


Retrieving the FT1 file...

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

Retrieving 47 files...
Done.


Merging files...

Merged file saved to:
/lscratch/kocevski/31177630/ft2_4FGL_J0809.8+0507_daily_bin2182.fits


Selecting the photons:
time -p gtselect infile=/lscratch/kocevski/31177630/ft1_4FGL_J0809.8+0507_daily_bin2182.fits outfile=/lscratch/kocevski/31177630/ft1_filteredMKT_4FGL_J0809.8+0507_daily_bin2182.fits ra=122.453 dec=5.1313 rad=12.0 tmin=804902401.0 tmax=805161601.0 emin=100.0 emax=100000.0 zmin=0.0 zmax=90.0 evclass=128 evtype="INDEF" convtype=-1 phasemin=0.0 phasemax=1.0 evtable="EVENTS" chatter=2 clobber=yes debug=no gui=no mode="ql"

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

Done.
real 3.10
user 2.28
sys 0.17

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

Selecting the good time intervals:
time -p gtmktime scfile=/lscratch/kocevski/31177630/ft2_4FGL_J0809.8+0507_daily_bin2182.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/31177630/ft1_filteredMKT_4FGL_J0809.8+0507_daily_bin2182.fits evtable="EVENTS" outfile="/lscratch/kocevski/31177630/ft1_filtered_4FGL_J0809.8+0507_daily_bin2182.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 1.15
user 0.22
sys 0.12

Number of photons that the gtmktime cut: 621

Generating the livetime cube:
time -p gtltcube evfile="/lscratch/kocevski/31177630/ft1_filtered_4FGL_J0809.8+0507_daily_bin2182.fits" evtable="EVENTS" scfile=/lscratch/kocevski/31177630/ft2_4FGL_J0809.8+0507_daily_bin2182.fits sctable="SC_DATA" outf/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
Done.

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

Extracting fit parameters...

4FGL J0809.8+0507
   Spectrum: LogParabola
280         norm:  6.106e-10  1.323e-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:  7.450e-01  1.213e-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:  1.229e+00  1.886e-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.41293685324e-08 ph cm-2 s-1
Energy Flux Upper Limit: 1.42558554116e-05 MeV cm-2 s-1

Saving results to:
/lscratch/kocevski/31177475/likelihoodResults_804902401_805161601_4FGL_J0809.8+0507_daily_bin2182.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) = 6962.851011
delta logL = -0.0697576879538

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

MINUIT Return Code (Free Index): 0
logL (Free Index) = 6962.78125508
delta logL = -1.76754656422e-06

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'norm      '    .11678E-04   1.0000          .0000       .10000E+07
     2 'alpha     '    1.8927       1.0000          .0000       5.0000    
     3 'Normalizat'    1.2284       1.0000         .10000E-01   10.000    
     4 'Prefactor '    .74524       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=   6962.781     FROM MIGRAD    STATUS=CONVERGED     36 CALLS      182 TOTAL
                     EDM=   .39E-13  STRATEGY=1  ERROR MATRIX UNCERTAINTY=100.0%

  EXT PARAMETER                APPROXIMATE        STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  norm           .0000        9.7766        .42118E-03** at limit **
   2  alpha         .68070        .71172       -.19058E-04     .0000    
   3  Normalizat    1.2286        1.0974       -.58302E-06    .38808E-05
   4  Prefactor     .74505        1.0947       -.78102E-06    .67265E-05
                               ERR DEF=  .500    
Final values: 
  norm       = 0
  alpha      = 0.680703
  Normalizat = 1.22863
  Prefactor  = 0.745046
 **********
 **   18 **HESSE 
 **********
  MNHESS FAILS AND WILL RETURN DIAGONAL MATRIX. 

 FCN=   6962.781     FROM HESSE     STATUS=FAILED         9 CALLS      191 TOTAL
                     EDM=   .39E-13  STRATEGY=1  ERROR MATRIX UNCERTAINTY=100.0%

  EXT PARAMETER                APPROXIMATE     INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  norm           .0000        9.7766        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   2  alpha         .75146E-01    .76968       -.19058E-04   -.81499    
   3  Normalizat    1.2286        1.0974       -.58302E-06   -.85723    
   4  Prefactor     .74505        1.0947       -.78102E-06   -1.0179    
                               ERR DEF=  .500    
Minuit fit quality: 1   estimated distance: 3.92415e-14
Minuit parameter uncertainties:
  1  2.3262e-06
  2  0.73392
  3  1.11911
  4  1.12914

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).

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


Performing analysis on: 4FGL_J0809.8+0507_daily_bin2182
RA = 122.453, Dec = 5.1313
tmin = 804902401, tmax = 805161601
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='31177634', job_status='RUN', time_executed='2026-07-09 22:02:16.161583', time_epoch_executed='1783659736.16' WHERE source_name='4FGL J0809.8+0507' and cadence='daily' and bin_id='2182'

Database successfully updated.
Done.

Creating custom output directory:
/lscratch/kocevski/31177634

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

Retrieving the FT1 file...

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

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

Retrieving 47 files...
Done.


Merging files...

Checksum keywords updated successfully.

Merged file saved to:
/lscratch/kocevski/31177634/ft1_4FGL_J0809.8+0507_daily_bin2182.fits


Retrieving the FT1 file...

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

Retrieving 47 files...
Done.


Merging files...

Merged file saved to:
/lscratch/kocevski/31177634/ft2_4FGL_J0809.8+0507_daily_bin2182.fits


Selecting the photons:
time -p gtselect infile=/lscratch/kocevski/31177634/ft1_4FGL_J0809.8+0507_daily_bin2182.fits outfile=/lscratch/kocevski/31177634/ft1_filteredMKT_4FGL_J0809.8+0507_daily_bin2182.fits ra=122.453 dec=5.1313 rad=12.0 tmin=804902401.0 tmax=805161601.0 emin=100.0 emax=100000.0 zmin=0.0 zmax=90.0 evclass=128 evtype="INDEF" convtype=-1 phasemin=0.0 phasemax=1.0 evtable="EVENTS" chatter=2 clobber=yes debug=no gui=no mode="ql"

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

Done.
real 3.80
user 2.74
sys 0.21

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

Selecting the good time intervals:
time -p gtmktime scfile=/lscratch/kocevski/31177634/ft2_4FGL_J0809.8+0507_daily_bin2182.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/31177634/ft1_filteredMKT_4FGL_J0809.8+0507_daily_bin2182.fits evtable="EVENTS" outfile="/lscratch/kocevski/31177634/ft1_filtered_4FGL_J0809.8+0507_daily_bin2182.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.98
user 0.25
sys 0.16

Number of photons that the gtmktime cut: 621

Generating the livetime cube:
time -p gtltcube evfile="/lscratch/kocevski/31177634/ft1_filtered_4FGL_J0809.8+0507_daily_bin2182.fits" evtable="EVENTS" scfile=/lscratch/kocevski/31177634/ft2_4FGL_J0809.8+0507_daily_bin2182.fits sctable="SC_DATA" outfshell-init: error retrieving current directory: getcwd: cannot access parent directories: No such file or directory
/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)
Done.

MINUIT Return Code (Free Index): 101
logL (Free Index) = 6962.78125331
delta logL = 1.17324816529e-10

Extracting fit parameters...

4FGL J0809.8+0507
   Spectrum: LogParabola
280         norm:  0.000e+00  2.326e-06  0.000e+00  1.000e+06 ( 1.000e-12)
281        alpha:  6.807e-01  7.339e-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:  7.450e-01  1.129e+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:  1.229e+00  1.119e+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 -2.500e-04 [aplpy.core]
INFO: Auto-setting vmax to  2.775e-03 [aplpy.core]
Saving /lscratch/kocevski/31177475/cmap_HighResolution_804902401_805161601_4FGL_J0809.8+0507_daily_bin2182.png

Cleaning up...

** Nuclear option initiated! **

Updating database...

UPDATE lightcurve_data_v2 SET energy_flux_upper_limit='1.43e-05', job_status='DONE', photon_flux_upper_limit='5.41e-08', time_completed='2026-07-09 22:05:13.000883', job_id='31177475', GAL2='0.75', fit_tolerance='1e-08', EG2='1.23', EG='1.23', time_epoch_completed='1783659913.0', return_code2='101', ts='-0.00', comment='SUCCESS', return_code='0', GAL='0.75', dlogl='1.17e-10', ts2='0.00', photon_index_error='0.00', photon_index='2.82' WHERE bin_id='2182' AND source_name='4FGL J0809.8+0507' AND cadence='daily';

Database successfully updated.


Analysis Complete.


Thu Jul  9 22:05:13 PDT 2026


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

ile=/lscratch/kocevski/31177609/ltcube_804902401_805161601_4FGL_J0809.8+0507_daily_bin2182.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/31177609/ft2_4FGL_J0809.8+0507_daily_bin2182.fits
.....................!
real 8.29
user 7.44
sys 0.23

Generating the exposure map:
time -p gtexpmap evfile=/lscratch/kocevski/31177609/ft1_filtered_4FGL_J0809.8+0507_daily_bin2182.fits evtable="EVENTS" scfile=/lscratch/kocevski/31177609/ft2_4FGL_J0809.8+0507_daily_bin2182.fits sctable="SC_DATA" expcube=/lscratch/kocevski/31177609/ltcube_804902401_805161601_4FGL_J0809.8+0507_daily_bin2182.fits outfile=/lscratch/kocevski/31177609/expmap_804902401_805161601_4FGL_J0809.8+0507_daily_bin2182.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/31177609/ltcube_804902401_805161601_4FGL_J0809.8+0507_daily_bin2182.fits
.....................!
real 65.61
user 60.76
sys 4.07

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/31177609/ft1_filtered_4FGL_J0809.8+0507_daily_bin2182.fits scfile=/lscratch/kocevski/31177609/ft2_4FGL_J0809.8+0507_daily_bin2182.fits outfile=/lscratch/kocevski/31177609/cmap_804902401_805161601_4FGL_J0809.8+0507_daily_bin2182.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.96
user 0.21
sys 0.13

Creating the high resolution counts map:
time -p gtbin evfile=/lscratch/kocevski/31177609/ft1_filtered_4FGL_J0809.8+0507_daily_bin2182.fits scfile=/lscratch/kocevski/31177609/ft2_4FGL_J0809.8+0507_daily_bin2182.fits outfile=/lscratch/kocevski/31177609/cmap_HighResolution_804902401_805161601_4FGL_J0809.8+0507_daily_bin2182.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 1.08
user 0.22
sys 0.13

Computing the diffuse response:
time -p gtdiffrsp evfile=/lscratch/kocevski/31177609/ft1_filtered_4FGL_J0809.8+0507_daily_bin2182.fits evtable="EVENTS" scfile=/lscratch/kocevski/31177609/ft2_4FGL_J0809.8+0507_daily_bin2182.fits sctable="SC_DATA" srcmdl=/lscratch/kocevski/31177609/Model_4FGL_J0809.8+0507_daily_bin2182.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/31177517/ft1_filtered_4FGL_J0809.8+0507_daily_bin2182.fits.....................!
real 33.20
user 31.95
sys 0.63

Creating the likelihood object...
obs = UnbinnedObs('/lscratch/kocevski/31177517/ft1_filtered_4FGL_J0809.8+0507_daily_bin2182.fits', '/lscratch/kocevski/31177517/ft2_4FGL_J0809.8+0507_daily_bin2182.fits', expMap='/lscratch/kocevski/31177517/expmap_804902401_805161601_4FGL_J0809.8+0507_daily_bin2182.fits', expCube='/lscratch/kocevski/31177517/ltcube_804902401_805161601_4FGL_J0809.8+0507_daily_bin2182.fits', irfs='P8R3_SOURCE_V2')
like = UnbinnedAnalysis(obs, '/lscratch/kocevski/31177517/Model_4FGL_J0809.8+0507_daily_bin2182.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/31177517/ft1_filtered_4FGL_J0809.8+0507_daily_bin2182.fits
Spacecraft file(s): /lscratch/kocevski/31177517/ft2_4FGL_J0809.8+0507_daily_bin2182.fits
Exposure map: /lscratch/kocevski/31177517/expmap_804902401_805161601_4FGL_J0809.8+0507_daily_bin2182.fits
Exposure cube: /lscratch/kocevski/31177517/ltcube_804902401_805161601_4FGL_J0809.8+0507_daily_bin2182.fits
IRFs: P8R3_SOURCE_V2
Source model file: /lscratch/kocevski/31177517/Model_4FGL_J0809.8+0507_daily_bin2182.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) = 6962.89179377

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

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

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'Prefactor '    17.496       1.0000          .0000       .10000E+07
     2 'Prefactor '    .37896E-01   1.0000          .0000       .10000E+07
     3 'norm      '    3.8689       1.0000          .0000       .10000E+07
     4 'Prefactor '    .42974E-03   1.0000          .0000       .10000E+07
     5 'Prefactor '    8.8579       1.0000          .0000       .10000E+07
     6 'norm      '    8.0640       1.0000          .0000       .10000E+07
     7 'Prefactor '    .10383E-05   1.0000          .0000       .10000E+07
     8 'Prefactor '    .10640       1.0000          .0000       .10000E+07
     9 'Prefactor '    19.821       1.0000          .0000       .10000E+07
    10 'norm      '    3.7289       1.0000          .0000       .10000E+07
    11 'norm      '    .96123E-06   1.0000          .0000       .10000E+07
    12 'norm      '    .79103E-06   1.0000          .0000       .10000E+07
    13 'norm      '    4.8185       1.0000          .0000       .10000E+07
    14 'Prefactor '    .18516E-03   1.0000          .0000       .10000E+07
    15 'norm      '    .79370       1.0000          .0000       .10000E+07
    16 'norm      '    13.871       1.0000          .0000       .10000E+07
    17 'Prefactor '    1.0775       1.0000          .0000       .10000E+07
    18 'Normalizat'    1.2280       1.0000         .10000E-01   10.000    
    19 'Prefactor '    .74496       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=   6962.781     FROM MIGRAD    STATUS=CONVERGED    169 CALLS     1169 TOTAL
                     EDM=   .71E-09  STRATEGY=1  ERROR MATRIX UNCERTAINTY=  2.9%

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor     17.157        35.952        .21206E-05   -.30495E-03
   2  Prefactor     .10547E-08    50.607        .31129E-07** at limit **
   3  norm          3.8658        2.0281        .43690E-07    .41704E-02
   4  Prefactor      .0000        7.9317        .13533E-07** at limit **
   5  Prefactor     8.8715        3.6790        .11948E-06    .35676E-03
   6  norm          7.7992        10.189       -.12982E-05    .84051E-03
   7  Prefactor     .55511E-10    4.4301        .20075E-06** at limit **
   8  Prefactor     .14949        27.995        .14570E-05** at limit **
   9  Prefactor     20.448        29.368       -.39815E-06    .11816E-02
  10  norm          3.7307        9.7901        .53973E-07    .99344E-03
  11  norm           .0000        2.1526        .15231E-06** at limit **
  12  norm          .61062E-09    6.8399        .22366E-06** at limit **
  13  norm          4.7963        3.9000        .58633E-07    .32166E-02
  14  Prefactor     .12212E-08    8.7847       -.58498E-06** at limit **
  15  norm          .79372        .74602       -.58431E-08    .58509E-02
  16  norm          13.708        8.9102        .49120E-06    .35816E-02
  17  Prefactor     .25864E-05    6963.8       -.55159E-05** at limit **
  18  Normalizat    1.2286        .21806       -.16581E-04   -.20953E-03
  19  Prefactor     .74505        .14158        .13160E-05   -.25606E-04
                               ERR DEF=  .500    
Final values: 
  Prefactor  = 17.1573
  Prefactor  = 1.05471e-09
  norm       = 3.86578
  Prefactor  = 0
  Prefactor  = 8.87152
  norm       = 7.79921
  Prefactor  = 5.55112e-11
  Prefactor  = 0.14949
  Prefactor  = 20.4482
  norm       = 3.73074
  norm       = 0
  norm       = 6.10623e-10
  norm       = 4.79634
  Prefactor  = 1.22125e-09
  norm       = 0.793722
  norm       = 13.7083
  Prefactor  = 2.58643e-06
  Normalizat = 1.22862
  Prefactor  = 0.745048
ile=/lscratch/kocevski/31177598/ltcube_804902401_805161601_4FGL_J0809.8+0507_daily_bin2182.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/31177598/ft2_4FGL_J0809.8+0507_daily_bin2182.fits
.....................!
real 8.59
user 7.53
sys 0.22

Generating the exposure map:
time -p gtexpmap evfile=/lscratch/kocevski/31177598/ft1_filtered_4FGL_J0809.8+0507_daily_bin2182.fits evtable="EVENTS" scfile=/lscratch/kocevski/31177598/ft2_4FGL_J0809.8+0507_daily_bin2182.fits sctable="SC_DATA" expcube=/lscratch/kocevski/31177598/ltcube_804902401_805161601_4FGL_J0809.8+0507_daily_bin2182.fits outfile=/lscratch/kocevski/31177598/expmap_804902401_805161601_4FGL_J0809.8+0507_daily_bin2182.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/31177598/ltcube_804902401_805161601_4FGL_J0809.8+0507_daily_bin2182.fits
.....................!
real 66.86
user 61.54
sys 3.93

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/31177598/ft1_filtered_4FGL_J0809.8+0507_daily_bin2182.fits scfile=/lscratch/kocevski/31177598/ft2_4FGL_J0809.8+0507_daily_bin2182.fits outfile=/lscratch/kocevski/31177598/cmap_804902401_805161601_4FGL_J0809.8+0507_daily_bin2182.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.91
user 0.22
sys 0.13

Creating the high resolution counts map:
time -p gtbin evfile=/lscratch/kocevski/31177598/ft1_filtered_4FGL_J0809.8+0507_daily_bin2182.fits scfile=/lscratch/kocevski/31177598/ft2_4FGL_J0809.8+0507_daily_bin2182.fits outfile=/lscratch/kocevski/31177598/cmap_HighResolution_804902401_805161601_4FGL_J0809.8+0507_daily_bin2182.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 4.99
user 0.21
sys 0.12

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

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

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

 FCN=   6962.781     FROM HESSE     STATUS=OK           324 CALLS     1493 TOTAL
                     EDM=   .14E-08    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  Prefactor     17.157        35.902        .23917E-03   -1.5625    
   2  Prefactor     .10547E-08    49.373        .16060E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   3  norm          3.8658        2.0339        .51278E-03   -1.5669    
   4  Prefactor      .0000        7.9656        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   5  Prefactor     8.8715        3.6709        .33654E-03   -1.5648    
   6  norm          7.7992        10.198        .35283E-03   -1.5652    
   7  Prefactor     .55511E-10    4.4453        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   8  Prefactor     .14949        3.1352        .77695E-02   -1.5700    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   9  Prefactor     20.448        29.428        .22469E-03   -1.5618    
  10  norm          3.7307        9.9062        .52267E-03   -1.5669    
  11  norm           .0000        2.0993        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  12  norm          .61062E-09    6.8622        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  13  norm          4.7963        3.9144        .45806E-03   -1.5664    
  14  Prefactor     .12212E-08    8.7815        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  15  norm          .79372        .75398        .53406E-03   -1.5690    
  16  norm          13.708        8.9367        .26868E-03   -1.5634    
  17  Prefactor     .25864E-05    38.924        .14595E-01   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  18  Normalizat    1.2286        .18846        .59328E-01   -.85723    
  19  Prefactor     .74505        .12130        .42997E-01   -1.0179    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 1.42275e-09
Minuit parameter uncertainties:
  1  35.9028
  2  0.000451926
  3  2.0339
  4  1.9032e-05
  5  3.67089
  6  10.1981
  7  3.40922e-05
  8  1.36921
  9  29.4282
  10  9.90625
  11  1.42073e-05
  12  0.000132276
  13  3.91441
  14  0.00020681
  15  0.753982
  16  8.93667
  17  0.0200673
  18  0.188569
  19  0.121343
ile=/lscratch/kocevski/31177600/ltcube_804902401_805161601_4FGL_J0809.8+0507_daily_bin2182.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/31177600/ft2_4FGL_J0809.8+0507_daily_bin2182.fits
.....................!
real 8.96
user 8.03
sys 0.23

Generating the exposure map:
time -p gtexpmap evfile=/lscratch/kocevski/31177600/ft1_filtered_4FGL_J0809.8+0507_daily_bin2182.fits evtable="EVENTS" scfile=/lscratch/kocevski/31177600/ft2_4FGL_J0809.8+0507_daily_bin2182.fits sctable="SC_DATA" expcube=/lscratch/kocevski/31177600/ltcube_804902401_805161601_4FGL_J0809.8+0507_daily_bin2182.fits outfile=/lscratch/kocevski/31177600/expmap_804902401_805161601_4FGL_J0809.8+0507_daily_bin2182.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/31177600/ltcube_804902401_805161601_4FGL_J0809.8+0507_daily_bin2182.fits
.....................!
real 73.59
user 67.67
sys 4.40

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/31177600/ft1_filtered_4FGL_J0809.8+0507_daily_bin2182.fits scfile=/lscratch/kocevski/31177600/ft2_4FGL_J0809.8+0507_daily_bin2182.fits outfile=/lscratch/kocevski/31177600/cmap_804902401_805161601_4FGL_J0809.8+0507_daily_bin2182.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.92
user 0.23
sys 0.12

Creating the high resolution counts map:
time -p gtbin evfile=/lscratch/kocevski/31177600/ft1_filtered_4FGL_J0809.8+0507_daily_bin2182.fits scfile=/lscratch/kocevski/31177600/ft2_4FGL_J0809.8+0507_daily_bin2182.fits outfile=/lscratch/kocevski/31177600/cmap_HighResolution_804902401_805161601_4FGL_J0809.8+0507_daily_bin2182.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.84
user 0.24
sys 0.13

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

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

adding source EG_v02
adding source GAL_V02
Done.

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

Extracting fit parameters...

4FGL J0809.8+0507
   Spectrum: LogParabola
280         norm:  6.106e-10  1.323e-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:  7.450e-01  1.213e-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:  1.229e+00  1.886e-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.41293685324e-08 ph cm-2 s-1
Energy Flux Upper Limit: 1.42558554116e-05 MeV cm-2 s-1

Saving results to:
/lscratch/kocevski/31177517/likelihoodResults_804902401_805161601_4FGL_J0809.8+0507_daily_bin2182.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) = 6962.851011
delta logL = -0.0697576879538

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

MINUIT Return Code (Free Index): 0
logL (Free Index) = 6962.78125508
delta logL = -1.76754656422e-06

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'norm      '    .11678E-04   1.0000          .0000       .10000E+07
     2 'alpha     '    1.8927       1.0000          .0000       5.0000    
     3 'Normalizat'    1.2284       1.0000         .10000E-01   10.000    
     4 'Prefactor '    .74524       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=   6962.781     FROM MIGRAD    STATUS=CONVERGED     36 CALLS      182 TOTAL
                     EDM=   .39E-13  STRATEGY=1  ERROR MATRIX UNCERTAINTY=100.0%

  EXT PARAMETER                APPROXIMATE        STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  norm           .0000        9.7766        .42118E-03** at limit **
   2  alpha         .68070        .71172       -.19058E-04     .0000    
   3  Normalizat    1.2286        1.0974       -.58302E-06    .38808E-05
   4  Prefactor     .74505        1.0947       -.78102E-06    .67265E-05
                               ERR DEF=  .500    
Final values: 
  norm       = 0
  alpha      = 0.680703
  Normalizat = 1.22863
  Prefactor  = 0.745046
 **********
 **   18 **HESSE 
 **********
  MNHESS FAILS AND WILL RETURN DIAGONAL MATRIX. 

 FCN=   6962.781     FROM HESSE     STATUS=FAILED         9 CALLS      191 TOTAL
                     EDM=   .39E-13  STRATEGY=1  ERROR MATRIX UNCERTAINTY=100.0%

  EXT PARAMETER                APPROXIMATE     INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  norm           .0000        9.7766        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   2  alpha         .75146E-01    .76968       -.19058E-04   -.81499    
   3  Normalizat    1.2286        1.0974       -.58302E-06   -.85723    
   4  Prefactor     .74505        1.0947       -.78102E-06   -1.0179    
                               ERR DEF=  .500    
Minuit fit quality: 1   estimated distance: 3.92415e-14
Minuit parameter uncertainties:
  1  2.3262e-06
  2  0.73392
  3  1.11911
  4  1.12914
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) = 6962.78125331
delta logL = 1.17324816529e-10

Extracting fit parameters...

4FGL J0809.8+0507
   Spectrum: LogParabola
280         norm:  0.000e+00  2.326e-06  0.000e+00  1.000e+06 ( 1.000e-12)
281        alpha:  6.807e-01  7.339e-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:  7.450e-01  1.129e+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:  1.229e+00  1.119e+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 -2.500e-04 [aplpy.core]
INFO: Auto-setting vmax to  2.775e-03 [aplpy.core]
Saving /lscratch/kocevski/31177517/cmap_HighResolution_804902401_805161601_4FGL_J0809.8+0507_daily_bin2182.png

Cleaning up...

** Nuclear option initiated! **

Updating database...

UPDATE lightcurve_data_v2 SET energy_flux_upper_limit='1.43e-05', job_status='DONE', photon_flux_upper_limit='5.41e-08', time_completed='2026-07-09 22:06:42.102679', job_id='31177517', GAL2='0.75', fit_tolerance='1e-08', EG2='1.23', EG='1.23', time_epoch_completed='1783660002.1', return_code2='101', ts='-0.00', comment='SUCCESS', return_code='0', GAL='0.75', dlogl='1.17e-10', ts2='0.00', photon_index_error='0.00', photon_index='2.82' WHERE bin_id='2182' AND source_name='4FGL J0809.8+0507' AND cadence='daily';

Database successfully updated.


Analysis Complete.


Thu Jul  9 22:06:42 PDT 2026

Working on...
/lscratch/kocevski/31177609/ft1_filtered_4FGL_J0809.8+0507_daily_bin2182.fits.....................!
real 32.66
user 30.44
sys 0.91

Creating the likelihood object...
obs = UnbinnedObs('/lscratch/kocevski/31177609/ft1_filtered_4FGL_J0809.8+0507_daily_bin2182.fits', '/lscratch/kocevski/31177609/ft2_4FGL_J0809.8+0507_daily_bin2182.fits', expMap='/lscratch/kocevski/31177609/expmap_804902401_805161601_4FGL_J0809.8+0507_daily_bin2182.fits', expCube='/lscratch/kocevski/31177609/ltcube_804902401_805161601_4FGL_J0809.8+0507_daily_bin2182.fits', irfs='P8R3_SOURCE_V2')
like = UnbinnedAnalysis(obs, '/lscratch/kocevski/31177609/Model_4FGL_J0809.8+0507_daily_bin2182.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/31177609/ft1_filtered_4FGL_J0809.8+0507_daily_bin2182.fits
Spacecraft file(s): /lscratch/kocevski/31177609/ft2_4FGL_J0809.8+0507_daily_bin2182.fits
Exposure map: /lscratch/kocevski/31177609/expmap_804902401_805161601_4FGL_J0809.8+0507_daily_bin2182.fits
Exposure cube: /lscratch/kocevski/31177609/ltcube_804902401_805161601_4FGL_J0809.8+0507_daily_bin2182.fits
IRFs: P8R3_SOURCE_V2
Source model file: /lscratch/kocevski/31177609/Model_4FGL_J0809.8+0507_daily_bin2182.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) = 6962.89179377

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

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

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'Prefactor '    17.496       1.0000          .0000       .10000E+07
     2 'Prefactor '    .37896E-01   1.0000          .0000       .10000E+07
     3 'norm      '    3.8689       1.0000          .0000       .10000E+07
     4 'Prefactor '    .42974E-03   1.0000          .0000       .10000E+07
     5 'Prefactor '    8.8579       1.0000          .0000       .10000E+07
     6 'norm      '    8.0640       1.0000          .0000       .10000E+07
     7 'Prefactor '    .10383E-05   1.0000          .0000       .10000E+07
     8 'Prefactor '    .10640       1.0000          .0000       .10000E+07
     9 'Prefactor '    19.821       1.0000          .0000       .10000E+07
    10 'norm      '    3.7289       1.0000          .0000       .10000E+07
    11 'norm      '    .96123E-06   1.0000          .0000       .10000E+07
    12 'norm      '    .79103E-06   1.0000          .0000       .10000E+07
    13 'norm      '    4.8185       1.0000          .0000       .10000E+07
    14 'Prefactor '    .18516E-03   1.0000          .0000       .10000E+07
    15 'norm      '    .79370       1.0000          .0000       .10000E+07
    16 'norm      '    13.871       1.0000          .0000       .10000E+07
    17 'Prefactor '    1.0775       1.0000          .0000       .10000E+07
    18 'Normalizat'    1.2280       1.0000         .10000E-01   10.000    
    19 'Prefactor '    .74496       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=   6962.781     FROM MIGRAD    STATUS=CONVERGED    169 CALLS     1169 TOTAL
                     EDM=   .71E-09  STRATEGY=1  ERROR MATRIX UNCERTAINTY=  2.9%

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor     17.157        35.952        .21206E-05   -.30495E-03
   2  Prefactor     .10547E-08    50.607        .31129E-07** at limit **
   3  norm          3.8658        2.0281        .43690E-07    .41704E-02
   4  Prefactor      .0000        7.9317        .13533E-07** at limit **
   5  Prefactor     8.8715        3.6790        .11948E-06    .35676E-03
   6  norm          7.7992        10.189       -.12982E-05    .84051E-03
   7  Prefactor     .55511E-10    4.4301        .20075E-06** at limit **
   8  Prefactor     .14949        27.995        .14570E-05** at limit **
   9  Prefactor     20.448        29.368       -.39815E-06    .11816E-02
  10  norm          3.7307        9.7901        .53973E-07    .99344E-03
  11  norm           .0000        2.1526        .15231E-06** at limit **
  12  norm          .61062E-09    6.8399        .22366E-06** at limit **
  13  norm          4.7963        3.9000        .58633E-07    .32166E-02
  14  Prefactor     .12212E-08    8.7847       -.58498E-06** at limit **
  15  norm          .79372        .74602       -.58431E-08    .58509E-02
  16  norm          13.708        8.9102        .49120E-06    .35816E-02
  17  Prefactor     .25864E-05    6963.8       -.55159E-05** at limit **
  18  Normalizat    1.2286        .21806       -.16581E-04   -.20953E-03
  19  Prefactor     .74505        .14158        .13160E-05   -.25606E-04
                               ERR DEF=  .500    
Final values: 
  Prefactor  = 17.1573
  Prefactor  = 1.05471e-09
  norm       = 3.86578
  Prefactor  = 0
  Prefactor  = 8.87152
  norm       = 7.79921
  Prefactor  = 5.55112e-11
  Prefactor  = 0.14949
  Prefactor  = 20.4482
  norm       = 3.73074
  norm       = 0
  norm       = 6.10623e-10
  norm       = 4.79634
  Prefactor  = 1.22125e-09
  norm       = 0.793722
  norm       = 13.7083
  Prefactor  = 2.58643e-06
  Normalizat = 1.22862
  Prefactor  = 0.745048
Working on...
/lscratch/kocevski/31177598/ft1_filtered_4FGL_J0809.8+0507_daily_bin2182.fits.....................!
real 33.14
user 30.81
sys 0.99

Creating the likelihood object...
obs = UnbinnedObs('/lscratch/kocevski/31177598/ft1_filtered_4FGL_J0809.8+0507_daily_bin2182.fits', '/lscratch/kocevski/31177598/ft2_4FGL_J0809.8+0507_daily_bin2182.fits', expMap='/lscratch/kocevski/31177598/expmap_804902401_805161601_4FGL_J0809.8+0507_daily_bin2182.fits', expCube='/lscratch/kocevski/31177598/ltcube_804902401_805161601_4FGL_J0809.8+0507_daily_bin2182.fits', irfs='P8R3_SOURCE_V2')
like = UnbinnedAnalysis(obs, '/lscratch/kocevski/31177598/Model_4FGL_J0809.8+0507_daily_bin2182.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/31177598/ft1_filtered_4FGL_J0809.8+0507_daily_bin2182.fits
Spacecraft file(s): /lscratch/kocevski/31177598/ft2_4FGL_J0809.8+0507_daily_bin2182.fits
Exposure map: /lscratch/kocevski/31177598/expmap_804902401_805161601_4FGL_J0809.8+0507_daily_bin2182.fits
Exposure cube: /lscratch/kocevski/31177598/ltcube_804902401_805161601_4FGL_J0809.8+0507_daily_bin2182.fits
IRFs: P8R3_SOURCE_V2
Source model file: /lscratch/kocevski/31177598/Model_4FGL_J0809.8+0507_daily_bin2182.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) = 6962.89179377

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

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

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'Prefactor '    17.496       1.0000          .0000       .10000E+07
     2 'Prefactor '    .37896E-01   1.0000          .0000       .10000E+07
     3 'norm      '    3.8689       1.0000          .0000       .10000E+07
     4 'Prefactor '    .42974E-03   1.0000          .0000       .10000E+07
     5 'Prefactor '    8.8579       1.0000          .0000       .10000E+07
     6 'norm      '    8.0640       1.0000          .0000       .10000E+07
     7 'Prefactor '    .10383E-05   1.0000          .0000       .10000E+07
     8 'Prefactor '    .10640       1.0000          .0000       .10000E+07
     9 'Prefactor '    19.821       1.0000          .0000       .10000E+07
    10 'norm      '    3.7289       1.0000          .0000       .10000E+07
    11 'norm      '    .96123E-06   1.0000          .0000       .10000E+07
    12 'norm      '    .79103E-06   1.0000          .0000       .10000E+07
    13 'norm      '    4.8185       1.0000          .0000       .10000E+07
    14 'Prefactor '    .18516E-03   1.0000          .0000       .10000E+07
    15 'norm      '    .79370       1.0000          .0000       .10000E+07
    16 'norm      '    13.871       1.0000          .0000       .10000E+07
    17 'Prefactor '    1.0775       1.0000          .0000       .10000E+07
    18 'Normalizat'    1.2280       1.0000         .10000E-01   10.000    
    19 'Prefactor '    .74496       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=   6962.781     FROM MIGRAD    STATUS=CONVERGED    169 CALLS     1169 TOTAL
                     EDM=   .71E-09  STRATEGY=1  ERROR MATRIX UNCERTAINTY=  2.9%

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor     17.157        35.952        .21206E-05   -.30495E-03
   2  Prefactor     .10547E-08    50.607        .31129E-07** at limit **
   3  norm          3.8658        2.0281        .43690E-07    .41704E-02
   4  Prefactor      .0000        7.9317        .13533E-07** at limit **
   5  Prefactor     8.8715        3.6790        .11948E-06    .35676E-03
   6  norm          7.7992        10.189       -.12982E-05    .84051E-03
   7  Prefactor     .55511E-10    4.4301        .20075E-06** at limit **
   8  Prefactor     .14949        27.995        .14570E-05** at limit **
   9  Prefactor     20.448        29.368       -.39815E-06    .11816E-02
  10  norm          3.7307        9.7901        .53973E-07    .99344E-03
  11  norm           .0000        2.1526        .15231E-06** at limit **
  12  norm          .61062E-09    6.8399        .22366E-06** at limit **
  13  norm          4.7963        3.9000        .58633E-07    .32166E-02
  14  Prefactor     .12212E-08    8.7847       -.58498E-06** at limit **
  15  norm          .79372        .74602       -.58431E-08    .58509E-02
  16  norm          13.708        8.9102        .49120E-06    .35816E-02
  17  Prefactor     .25864E-05    6963.8       -.55159E-05** at limit **
  18  Normalizat    1.2286        .21806       -.16581E-04   -.20953E-03
  19  Prefactor     .74505        .14158        .13160E-05   -.25606E-04
                               ERR DEF=  .500    
Final values: 
  Prefactor  = 17.1573
  Prefactor  = 1.05471e-09
  norm       = 3.86578
  Prefactor  = 0
  Prefactor  = 8.87152
  norm       = 7.79921
  Prefactor  = 5.55112e-11
  Prefactor  = 0.14949
  Prefactor  = 20.4482
  norm       = 3.73074
  norm       = 0
  norm       = 6.10623e-10
  norm       = 4.79634
  Prefactor  = 1.22125e-09
  norm       = 0.793722
  norm       = 13.7083
  Prefactor  = 2.58643e-06
  Normalizat = 1.22862
  Prefactor  = 0.745048
 **********
 **   18 **HESSE 
 **********

 FCN=   6962.781     FROM HESSE     STATUS=OK           324 CALLS     1493 TOTAL
                     EDM=   .14E-08    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  Prefactor     17.157        35.902        .23917E-03   -1.5625    
   2  Prefactor     .10547E-08    49.373        .16060E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   3  norm          3.8658        2.0339        .51278E-03   -1.5669    
   4  Prefactor      .0000        7.9656        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   5  Prefactor     8.8715        3.6709        .33654E-03   -1.5648    
   6  norm          7.7992        10.198        .35283E-03   -1.5652    
   7  Prefactor     .55511E-10    4.4453        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   8  Prefactor     .14949        3.1352        .77695E-02   -1.5700    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   9  Prefactor     20.448        29.428        .22469E-03   -1.5618    
  10  norm          3.7307        9.9062        .52267E-03   -1.5669    
  11  norm           .0000        2.0993        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  12  norm          .61062E-09    6.8622        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  13  norm          4.7963        3.9144        .45806E-03   -1.5664    
  14  Prefactor     .12212E-08    8.7815        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  15  norm          .79372        .75398        .53406E-03   -1.5690    
  16  norm          13.708        8.9367        .26868E-03   -1.5634    
  17  Prefactor     .25864E-05    38.924        .14595E-01   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  18  Normalizat    1.2286        .18846        .59328E-01   -.85723    
  19  Prefactor     .74505        .12130        .42997E-01   -1.0179    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 1.42275e-09
Minuit parameter uncertainties:
  1  35.9028
  2  0.000451926
  3  2.0339
  4  1.9032e-05
  5  3.67089
  6  10.1981
  7  3.40922e-05
  8  1.36921
  9  29.4282
  10  9.90625
  11  1.42073e-05
  12  0.000132276
  13  3.91441
  14  0.00020681
  15  0.753982
  16  8.93667
  17  0.0200673
  18  0.188569
  19  0.121343
ile=/lscratch/kocevski/31177630/ltcube_804902401_805161601_4FGL_J0809.8+0507_daily_bin2182.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/31177630/ft2_4FGL_J0809.8+0507_daily_bin2182.fits
.....................!
real 9.95
user 8.98
sys 0.22

Generating the exposure map:
time -p gtexpmap evfile=/lscratch/kocevski/31177630/ft1_filtered_4FGL_J0809.8+0507_daily_bin2182.fits evtable="EVENTS" scfile=/lscratch/kocevski/31177630/ft2_4FGL_J0809.8+0507_daily_bin2182.fits sctable="SC_DATA" expcube=/lscratch/kocevski/31177630/ltcube_804902401_805161601_4FGL_J0809.8+0507_daily_bin2182.fits outfile=/lscratch/kocevski/31177630/expmap_804902401_805161601_4FGL_J0809.8+0507_daily_bin2182.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/31177630/ltcube_804902401_805161601_4FGL_J0809.8+0507_daily_bin2182.fits
.....................!
real 78.54
user 73.01
sys 4.37

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/31177630/ft1_filtered_4FGL_J0809.8+0507_daily_bin2182.fits scfile=/lscratch/kocevski/31177630/ft2_4FGL_J0809.8+0507_daily_bin2182.fits outfile=/lscratch/kocevski/31177630/cmap_804902401_805161601_4FGL_J0809.8+0507_daily_bin2182.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.88
user 0.25
sys 0.13

Creating the high resolution counts map:
time -p gtbin evfile=/lscratch/kocevski/31177630/ft1_filtered_4FGL_J0809.8+0507_daily_bin2182.fits scfile=/lscratch/kocevski/31177630/ft2_4FGL_J0809.8+0507_daily_bin2182.fits outfile=/lscratch/kocevski/31177630/cmap_HighResolution_804902401_805161601_4FGL_J0809.8+0507_daily_bin2182.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.90
user 0.26
sys 0.12

Computing the diffuse response:
time -p gtdiffrsp evfile=/lscratch/kocevski/31177630/ft1_filtered_4FGL_J0809.8+0507_daily_bin2182.fits evtable="EVENTS" scfile=/lscratch/kocevski/31177630/ft2_4FGL_J0809.8+0507_daily_bin2182.fits sctable="SC_DATA" srcmdl=/lscratch/kocevski/31177630/Model_4FGL_J0809.8+0507_daily_bin2182.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/31177600/ft1_filtered_4FGL_J0809.8+0507_daily_bin2182.fits.....................!
real 35.28
user 33.17
sys 1.14

Creating the likelihood object...
obs = UnbinnedObs('/lscratch/kocevski/31177600/ft1_filtered_4FGL_J0809.8+0507_daily_bin2182.fits', '/lscratch/kocevski/31177600/ft2_4FGL_J0809.8+0507_daily_bin2182.fits', expMap='/lscratch/kocevski/31177600/expmap_804902401_805161601_4FGL_J0809.8+0507_daily_bin2182.fits', expCube='/lscratch/kocevski/31177600/ltcube_804902401_805161601_4FGL_J0809.8+0507_daily_bin2182.fits', irfs='P8R3_SOURCE_V2')
like = UnbinnedAnalysis(obs, '/lscratch/kocevski/31177600/Model_4FGL_J0809.8+0507_daily_bin2182.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/31177600/ft1_filtered_4FGL_J0809.8+0507_daily_bin2182.fits
Spacecraft file(s): /lscratch/kocevski/31177600/ft2_4FGL_J0809.8+0507_daily_bin2182.fits
Exposure map: /lscratch/kocevski/31177600/expmap_804902401_805161601_4FGL_J0809.8+0507_daily_bin2182.fits
Exposure cube: /lscratch/kocevski/31177600/ltcube_804902401_805161601_4FGL_J0809.8+0507_daily_bin2182.fits
IRFs: P8R3_SOURCE_V2
Source model file: /lscratch/kocevski/31177600/Model_4FGL_J0809.8+0507_daily_bin2182.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) = 6962.89179377

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

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

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'Prefactor '    17.496       1.0000          .0000       .10000E+07
     2 'Prefactor '    .37896E-01   1.0000          .0000       .10000E+07
     3 'norm      '    3.8689       1.0000          .0000       .10000E+07
     4 'Prefactor '    .42974E-03   1.0000          .0000       .10000E+07
     5 'Prefactor '    8.8579       1.0000          .0000       .10000E+07
     6 'norm      '    8.0640       1.0000          .0000       .10000E+07
     7 'Prefactor '    .10383E-05   1.0000          .0000       .10000E+07
     8 'Prefactor '    .10640       1.0000          .0000       .10000E+07
     9 'Prefactor '    19.821       1.0000          .0000       .10000E+07
    10 'norm      '    3.7289       1.0000          .0000       .10000E+07
    11 'norm      '    .96123E-06   1.0000          .0000       .10000E+07
    12 'norm      '    .79103E-06   1.0000          .0000       .10000E+07
    13 'norm      '    4.8185       1.0000          .0000       .10000E+07
    14 'Prefactor '    .18516E-03   1.0000          .0000       .10000E+07
    15 'norm      '    .79370       1.0000          .0000       .10000E+07
    16 'norm      '    13.871       1.0000          .0000       .10000E+07
    17 'Prefactor '    1.0775       1.0000          .0000       .10000E+07
    18 'Normalizat'    1.2280       1.0000         .10000E-01   10.000    
    19 'Prefactor '    .74496       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=   6962.781     FROM MIGRAD    STATUS=CONVERGED    169 CALLS     1169 TOTAL
                     EDM=   .71E-09  STRATEGY=1  ERROR MATRIX UNCERTAINTY=  2.9%

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor     17.157        35.952        .21206E-05   -.30495E-03
   2  Prefactor     .10547E-08    50.607        .31129E-07** at limit **
   3  norm          3.8658        2.0281        .43690E-07    .41704E-02
   4  Prefactor      .0000        7.9317        .13533E-07** at limit **
   5  Prefactor     8.8715        3.6790        .11948E-06    .35676E-03
   6  norm          7.7992        10.189       -.12982E-05    .84051E-03
   7  Prefactor     .55511E-10    4.4301        .20075E-06** at limit **
   8  Prefactor     .14949        27.995        .14570E-05** at limit **
   9  Prefactor     20.448        29.368       -.39815E-06    .11816E-02
  10  norm          3.7307        9.7901        .53973E-07    .99344E-03
  11  norm           .0000        2.1526        .15231E-06** at limit **
  12  norm          .61062E-09    6.8399        .22366E-06** at limit **
  13  norm          4.7963        3.9000        .58633E-07    .32166E-02
  14  Prefactor     .12212E-08    8.7847       -.58498E-06** at limit **
  15  norm          .79372        .74602       -.58431E-08    .58509E-02
  16  norm          13.708        8.9102        .49120E-06    .35816E-02
  17  Prefactor     .25864E-05    6963.8       -.55159E-05** at limit **
  18  Normalizat    1.2286        .21806       -.16581E-04   -.20953E-03
  19  Prefactor     .74505        .14158        .13160E-05   -.25606E-04
                               ERR DEF=  .500    
Final values: 
  Prefactor  = 17.1573
  Prefactor  = 1.05471e-09
  norm       = 3.86578
  Prefactor  = 0
  Prefactor  = 8.87152
  norm       = 7.79921
  Prefactor  = 5.55112e-11
  Prefactor  = 0.14949
  Prefactor  = 20.4482
  norm       = 3.73074
  norm       = 0
  norm       = 6.10623e-10
  norm       = 4.79634
  Prefactor  = 1.22125e-09
  norm       = 0.793722
  norm       = 13.7083
  Prefactor  = 2.58643e-06
  Normalizat = 1.22862
  Prefactor  = 0.745048
 **********
 **   18 **HESSE 
 **********

 FCN=   6962.781     FROM HESSE     STATUS=OK           324 CALLS     1493 TOTAL
                     EDM=   .14E-08    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  Prefactor     17.157        35.902        .23917E-03   -1.5625    
   2  Prefactor     .10547E-08    49.373        .16060E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   3  norm          3.8658        2.0339        .51278E-03   -1.5669    
   4  Prefactor      .0000        7.9656        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   5  Prefactor     8.8715        3.6709        .33654E-03   -1.5648    
   6  norm          7.7992        10.198        .35283E-03   -1.5652    
   7  Prefactor     .55511E-10    4.4453        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   8  Prefactor     .14949        3.1352        .77695E-02   -1.5700    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   9  Prefactor     20.448        29.428        .22469E-03   -1.5618    
  10  norm          3.7307        9.9062        .52267E-03   -1.5669    
  11  norm           .0000        2.0993        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  12  norm          .61062E-09    6.8622        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  13  norm          4.7963        3.9144        .45806E-03   -1.5664    
  14  Prefactor     .12212E-08    8.7815        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  15  norm          .79372        .75398        .53406E-03   -1.5690    
  16  norm          13.708        8.9367        .26868E-03   -1.5634    
  17  Prefactor     .25864E-05    38.924        .14595E-01   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  18  Normalizat    1.2286        .18846        .59328E-01   -.85723    
  19  Prefactor     .74505        .12130        .42997E-01   -1.0179    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 1.42275e-09
Minuit parameter uncertainties:
  1  35.9028
  2  0.000451926
  3  2.0339
  4  1.9032e-05
  5  3.67089
  6  10.1981
  7  3.40922e-05
  8  1.36921
  9  29.4282
  10  9.90625
  11  1.42073e-05
  12  0.000132276
  13  3.91441
  14  0.00020681
  15  0.753982
  16  8.93667
  17  0.0200673
  18  0.188569
  19  0.121343
ile=/lscratch/kocevski/31177634/ltcube_804902401_805161601_4FGL_J0809.8+0507_daily_bin2182.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/31177634/ft2_4FGL_J0809.8+0507_daily_bin2182.fits
.....................!
real 10.11
user 9.01
sys 0.25

Generating the exposure map:
time -p gtexpmap evfile=/lscratch/kocevski/31177634/ft1_filtered_4FGL_J0809.8+0507_daily_bin2182.fits evtable="EVENTS" scfile=/lscratch/kocevski/31177634/ft2_4FGL_J0809.8+0507_daily_bin2182.fits sctable="SC_DATA" expcube=/lscratch/kocevski/31177634/ltcube_804902401_805161601_4FGL_J0809.8+0507_daily_bin2182.fits outfile=/lscratch/kocevski/31177634/expmap_804902401_805161601_4FGL_J0809.8+0507_daily_bin2182.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/31177634/ltcube_804902401_805161601_4FGL_J0809.8+0507_daily_bin2182.fits
.....................!
real 76.31
user 70.58
sys 4.51

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/31177634/ft1_filtered_4FGL_J0809.8+0507_daily_bin2182.fits scfile=/lscratch/kocevski/31177634/ft2_4FGL_J0809.8+0507_daily_bin2182.fits outfile=/lscratch/kocevski/31177634/cmap_804902401_805161601_4FGL_J0809.8+0507_daily_bin2182.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 1.00
user 0.22
sys 0.14

Creating the high resolution counts map:
time -p gtbin evfile=/lscratch/kocevski/31177634/ft1_filtered_4FGL_J0809.8+0507_daily_bin2182.fits scfile=/lscratch/kocevski/31177634/ft2_4FGL_J0809.8+0507_daily_bin2182.fits outfile=/lscratch/kocevski/31177634/cmap_HighResolution_804902401_805161601_4FGL_J0809.8+0507_daily_bin2182.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 1.01
user 0.24
sys 0.12

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

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

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

 FCN=   6962.781     FROM HESSE     STATUS=OK           324 CALLS     1493 TOTAL
                     EDM=   .14E-08    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  Prefactor     17.157        35.902        .23917E-03   -1.5625    
   2  Prefactor     .10547E-08    49.373        .16060E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   3  norm          3.8658        2.0339        .51278E-03   -1.5669    
   4  Prefactor      .0000        7.9656        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   5  Prefactor     8.8715        3.6709        .33654E-03   -1.5648    
   6  norm          7.7992        10.198        .35283E-03   -1.5652    
   7  Prefactor     .55511E-10    4.4453        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   8  Prefactor     .14949        3.1352        .77695E-02   -1.5700    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   9  Prefactor     20.448        29.428        .22469E-03   -1.5618    
  10  norm          3.7307        9.9062        .52267E-03   -1.5669    
  11  norm           .0000        2.0993        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  12  norm          .61062E-09    6.8622        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  13  norm          4.7963        3.9144        .45806E-03   -1.5664    
  14  Prefactor     .12212E-08    8.7815        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  15  norm          .79372        .75398        .53406E-03   -1.5690    
  16  norm          13.708        8.9367        .26868E-03   -1.5634    
  17  Prefactor     .25864E-05    38.924        .14595E-01   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  18  Normalizat    1.2286        .18846        .59328E-01   -.85723    
  19  Prefactor     .74505        .12130        .42997E-01   -1.0179    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 1.42275e-09
Minuit parameter uncertainties:
  1  35.9028
  2  0.000451926
  3  2.0339
  4  1.9032e-05
  5  3.67089
  6  10.1981
  7  3.40922e-05
  8  1.36921
  9  29.4282
  10  9.90625
  11  1.42073e-05
  12  0.000132276
  13  3.91441
  14  0.00020681
  15  0.753982
  16  8.93667
  17  0.0200673
  18  0.188569
  19  0.121343
Done.

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

Extracting fit parameters...

4FGL J0809.8+0507
   Spectrum: LogParabola
280         norm:  6.106e-10  1.323e-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:  7.450e-01  1.213e-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:  1.229e+00  1.886e-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.41293685324e-08 ph cm-2 s-1
Energy Flux Upper Limit: 1.42558554116e-05 MeV cm-2 s-1

Saving results to:
/lscratch/kocevski/31177609/likelihoodResults_804902401_805161601_4FGL_J0809.8+0507_daily_bin2182.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) = 6962.851011
delta logL = -0.0697576879538

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

MINUIT Return Code (Free Index): 0
logL (Free Index) = 6962.78125508
delta logL = -1.76754656422e-06

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'norm      '    .11678E-04   1.0000          .0000       .10000E+07
     2 'alpha     '    1.8927       1.0000          .0000       5.0000    
     3 'Normalizat'    1.2284       1.0000         .10000E-01   10.000    
     4 'Prefactor '    .74524       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=   6962.781     FROM MIGRAD    STATUS=CONVERGED     36 CALLS      182 TOTAL
                     EDM=   .39E-13  STRATEGY=1  ERROR MATRIX UNCERTAINTY=100.0%

  EXT PARAMETER                APPROXIMATE        STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  norm           .0000        9.7766        .42118E-03** at limit **
   2  alpha         .68070        .71172       -.19058E-04     .0000    
   3  Normalizat    1.2286        1.0974       -.58302E-06    .38808E-05
   4  Prefactor     .74505        1.0947       -.78102E-06    .67265E-05
                               ERR DEF=  .500    
Final values: 
  norm       = 0
  alpha      = 0.680703
  Normalizat = 1.22863
  Prefactor  = 0.745046
 **********
 **   18 **HESSE 
 **********
  MNHESS FAILS AND WILL RETURN DIAGONAL MATRIX. 

 FCN=   6962.781     FROM HESSE     STATUS=FAILED         9 CALLS      191 TOTAL
                     EDM=   .39E-13  STRATEGY=1  ERROR MATRIX UNCERTAINTY=100.0%

  EXT PARAMETER                APPROXIMATE     INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  norm           .0000        9.7766        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   2  alpha         .75146E-01    .76968       -.19058E-04   -.81499    
   3  Normalizat    1.2286        1.0974       -.58302E-06   -.85723    
   4  Prefactor     .74505        1.0947       -.78102E-06   -1.0179    
                               ERR DEF=  .500    
Minuit fit quality: 1   estimated distance: 3.92415e-14
Minuit parameter uncertainties:
  1  2.3262e-06
  2  0.73392
  3  1.11911
  4  1.12914
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) = 6962.78125331
delta logL = 1.17324816529e-10

Extracting fit parameters...

4FGL J0809.8+0507
   Spectrum: LogParabola
280         norm:  0.000e+00  2.326e-06  0.000e+00  1.000e+06 ( 1.000e-12)
281        alpha:  6.807e-01  7.339e-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:  7.450e-01  1.129e+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:  1.229e+00  1.119e+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 -2.500e-04 [aplpy.core]
INFO: Auto-setting vmax to  2.775e-03 [aplpy.core]
Saving /lscratch/kocevski/31177609/cmap_HighResolution_804902401_805161601_4FGL_J0809.8+0507_daily_bin2182.png

Cleaning up...

** Nuclear option initiated! **

Updating database...

UPDATE lightcurve_data_v2 SET energy_flux_upper_limit='1.43e-05', job_status='DONE', photon_flux_upper_limit='5.41e-08', time_completed='2026-07-09 22:07:36.793138', job_id='31177609', GAL2='0.75', fit_tolerance='1e-08', EG2='1.23', EG='1.23', time_epoch_completed='1783660056.79', return_code2='101', ts='-0.00', comment='SUCCESS', return_code='0', GAL='0.75', dlogl='1.17e-10', ts2='0.00', photon_index_error='0.00', photon_index='2.82' WHERE bin_id='2182' AND source_name='4FGL J0809.8+0507' AND cadence='daily';

Database successfully updated.


Analysis Complete.


Thu Jul  9 22:07:37 PDT 2026

Done.

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

Extracting fit parameters...

4FGL J0809.8+0507
   Spectrum: LogParabola
280         norm:  6.106e-10  1.323e-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:  7.450e-01  1.213e-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:  1.229e+00  1.886e-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.41293685324e-08 ph cm-2 s-1
Energy Flux Upper Limit: 1.42558554116e-05 MeV cm-2 s-1

Saving results to:
/lscratch/kocevski/31177598/likelihoodResults_804902401_805161601_4FGL_J0809.8+0507_daily_bin2182.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) = 6962.851011
delta logL = -0.0697576879538

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

MINUIT Return Code (Free Index): 0
logL (Free Index) = 6962.78125508
delta logL = -1.76754656422e-06

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'norm      '    .11678E-04   1.0000          .0000       .10000E+07
     2 'alpha     '    1.8927       1.0000          .0000       5.0000    
     3 'Normalizat'    1.2284       1.0000         .10000E-01   10.000    
     4 'Prefactor '    .74524       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=   6962.781     FROM MIGRAD    STATUS=CONVERGED     36 CALLS      182 TOTAL
                     EDM=   .39E-13  STRATEGY=1  ERROR MATRIX UNCERTAINTY=100.0%

  EXT PARAMETER                APPROXIMATE        STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  norm           .0000        9.7766        .42118E-03** at limit **
   2  alpha         .68070        .71172       -.19058E-04     .0000    
   3  Normalizat    1.2286        1.0974       -.58302E-06    .38808E-05
   4  Prefactor     .74505        1.0947       -.78102E-06    .67265E-05
                               ERR DEF=  .500    
Final values: 
  norm       = 0
  alpha      = 0.680703
  Normalizat = 1.22863
  Prefactor  = 0.745046
 **********
 **   18 **HESSE 
 **********
  MNHESS FAILS AND WILL RETURN DIAGONAL MATRIX. 

 FCN=   6962.781     FROM HESSE     STATUS=FAILED         9 CALLS      191 TOTAL
                     EDM=   .39E-13  STRATEGY=1  ERROR MATRIX UNCERTAINTY=100.0%

  EXT PARAMETER                APPROXIMATE     INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  norm           .0000        9.7766        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   2  alpha         .75146E-01    .76968       -.19058E-04   -.81499    
   3  Normalizat    1.2286        1.0974       -.58302E-06   -.85723    
   4  Prefactor     .74505        1.0947       -.78102E-06   -1.0179    
                               ERR DEF=  .500    
Minuit fit quality: 1   estimated distance: 3.92415e-14
Minuit parameter uncertainties:
  1  2.3262e-06
  2  0.73392
  3  1.11911
  4  1.12914
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) = 6962.78125331
delta logL = 1.17324816529e-10

Extracting fit parameters...

4FGL J0809.8+0507
   Spectrum: LogParabola
280         norm:  0.000e+00  2.326e-06  0.000e+00  1.000e+06 ( 1.000e-12)
281        alpha:  6.807e-01  7.339e-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:  7.450e-01  1.129e+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:  1.229e+00  1.119e+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 -2.500e-04 [aplpy.core]
INFO: Auto-setting vmax to  2.775e-03 [aplpy.core]
Saving /lscratch/kocevski/31177598/cmap_HighResolution_804902401_805161601_4FGL_J0809.8+0507_daily_bin2182.png

Cleaning up...

** Nuclear option initiated! **

Updating database...

UPDATE lightcurve_data_v2 SET energy_flux_upper_limit='1.43e-05', job_status='DONE', photon_flux_upper_limit='5.41e-08', time_completed='2026-07-09 22:07:49.160313', job_id='31177598', GAL2='0.75', fit_tolerance='1e-08', EG2='1.23', EG='1.23', time_epoch_completed='1783660069.16', return_code2='101', ts='-0.00', comment='SUCCESS', return_code='0', GAL='0.75', dlogl='1.17e-10', ts2='0.00', photon_index_error='0.00', photon_index='2.82' WHERE bin_id='2182' AND source_name='4FGL J0809.8+0507' AND cadence='daily';

Database successfully updated.


Analysis Complete.


Thu Jul  9 22:07:49 PDT 2026

Done.

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

Extracting fit parameters...

4FGL J0809.8+0507
   Spectrum: LogParabola
280         norm:  6.106e-10  1.323e-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:  7.450e-01  1.213e-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:  1.229e+00  1.886e-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.41293685324e-08 ph cm-2 s-1
Energy Flux Upper Limit: 1.42558554116e-05 MeV cm-2 s-1

Saving results to:
/lscratch/kocevski/31177600/likelihoodResults_804902401_805161601_4FGL_J0809.8+0507_daily_bin2182.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) = 6962.851011
delta logL = -0.0697576879538

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

MINUIT Return Code (Free Index): 0
logL (Free Index) = 6962.78125508
delta logL = -1.76754656422e-06

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'norm      '    .11678E-04   1.0000          .0000       .10000E+07
     2 'alpha     '    1.8927       1.0000          .0000       5.0000    
     3 'Normalizat'    1.2284       1.0000         .10000E-01   10.000    
     4 'Prefactor '    .74524       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=   6962.781     FROM MIGRAD    STATUS=CONVERGED     36 CALLS      182 TOTAL
                     EDM=   .39E-13  STRATEGY=1  ERROR MATRIX UNCERTAINTY=100.0%

  EXT PARAMETER                APPROXIMATE        STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  norm           .0000        9.7766        .42118E-03** at limit **
   2  alpha         .68070        .71172       -.19058E-04     .0000    
   3  Normalizat    1.2286        1.0974       -.58302E-06    .38808E-05
   4  Prefactor     .74505        1.0947       -.78102E-06    .67265E-05
                               ERR DEF=  .500    
Final values: 
  norm       = 0
  alpha      = 0.680703
  Normalizat = 1.22863
  Prefactor  = 0.745046
 **********
 **   18 **HESSE 
 **********
  MNHESS FAILS AND WILL RETURN DIAGONAL MATRIX. 

 FCN=   6962.781     FROM HESSE     STATUS=FAILED         9 CALLS      191 TOTAL
                     EDM=   .39E-13  STRATEGY=1  ERROR MATRIX UNCERTAINTY=100.0%

  EXT PARAMETER                APPROXIMATE     INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  norm           .0000        9.7766        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   2  alpha         .75146E-01    .76968       -.19058E-04   -.81499    
   3  Normalizat    1.2286        1.0974       -.58302E-06   -.85723    
   4  Prefactor     .74505        1.0947       -.78102E-06   -1.0179    
                               ERR DEF=  .500    
Minuit fit quality: 1   estimated distance: 3.92415e-14
Minuit parameter uncertainties:
  1  2.3262e-06
  2  0.73392
  3  1.11911
  4  1.12914
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) = 6962.78125331
delta logL = 1.17324816529e-10

Extracting fit parameters...

4FGL J0809.8+0507
   Spectrum: LogParabola
280         norm:  0.000e+00  2.326e-06  0.000e+00  1.000e+06 ( 1.000e-12)
281        alpha:  6.807e-01  7.339e-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:  7.450e-01  1.129e+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:  1.229e+00  1.119e+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 -2.500e-04 [aplpy.core]
INFO: Auto-setting vmax to  2.775e-03 [aplpy.core]
Saving /lscratch/kocevski/31177600/cmap_HighResolution_804902401_805161601_4FGL_J0809.8+0507_daily_bin2182.png

Cleaning up...

** Nuclear option initiated! **

Updating database...

UPDATE lightcurve_data_v2 SET energy_flux_upper_limit='1.43e-05', job_status='DONE', photon_flux_upper_limit='5.41e-08', time_completed='2026-07-09 22:07:58.307047', job_id='31177600', GAL2='0.75', fit_tolerance='1e-08', EG2='1.23', EG='1.23', time_epoch_completed='1783660078.31', return_code2='101', ts='-0.00', comment='SUCCESS', return_code='0', GAL='0.75', dlogl='1.17e-10', ts2='0.00', photon_index_error='0.00', photon_index='2.82' WHERE bin_id='2182' AND source_name='4FGL J0809.8+0507' AND cadence='daily';

Database successfully updated.


Analysis Complete.


Thu Jul  9 22:07:58 PDT 2026

Working on...
/lscratch/kocevski/31177630/ft1_filtered_4FGL_J0809.8+0507_daily_bin2182.fits.....................!
real 38.50
user 36.41
sys 1.28

Creating the likelihood object...
obs = UnbinnedObs('/lscratch/kocevski/31177630/ft1_filtered_4FGL_J0809.8+0507_daily_bin2182.fits', '/lscratch/kocevski/31177630/ft2_4FGL_J0809.8+0507_daily_bin2182.fits', expMap='/lscratch/kocevski/31177630/expmap_804902401_805161601_4FGL_J0809.8+0507_daily_bin2182.fits', expCube='/lscratch/kocevski/31177630/ltcube_804902401_805161601_4FGL_J0809.8+0507_daily_bin2182.fits', irfs='P8R3_SOURCE_V2')
like = UnbinnedAnalysis(obs, '/lscratch/kocevski/31177630/Model_4FGL_J0809.8+0507_daily_bin2182.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/31177630/ft1_filtered_4FGL_J0809.8+0507_daily_bin2182.fits
Spacecraft file(s): /lscratch/kocevski/31177630/ft2_4FGL_J0809.8+0507_daily_bin2182.fits
Exposure map: /lscratch/kocevski/31177630/expmap_804902401_805161601_4FGL_J0809.8+0507_daily_bin2182.fits
Exposure cube: /lscratch/kocevski/31177630/ltcube_804902401_805161601_4FGL_J0809.8+0507_daily_bin2182.fits
IRFs: P8R3_SOURCE_V2
Source model file: /lscratch/kocevski/31177630/Model_4FGL_J0809.8+0507_daily_bin2182.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) = 6962.89179377

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

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

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'Prefactor '    17.496       1.0000          .0000       .10000E+07
     2 'Prefactor '    .37896E-01   1.0000          .0000       .10000E+07
     3 'norm      '    3.8689       1.0000          .0000       .10000E+07
     4 'Prefactor '    .42974E-03   1.0000          .0000       .10000E+07
     5 'Prefactor '    8.8579       1.0000          .0000       .10000E+07
     6 'norm      '    8.0640       1.0000          .0000       .10000E+07
     7 'Prefactor '    .10383E-05   1.0000          .0000       .10000E+07
     8 'Prefactor '    .10640       1.0000          .0000       .10000E+07
     9 'Prefactor '    19.821       1.0000          .0000       .10000E+07
    10 'norm      '    3.7289       1.0000          .0000       .10000E+07
    11 'norm      '    .96123E-06   1.0000          .0000       .10000E+07
    12 'norm      '    .79103E-06   1.0000          .0000       .10000E+07
    13 'norm      '    4.8185       1.0000          .0000       .10000E+07
    14 'Prefactor '    .18516E-03   1.0000          .0000       .10000E+07
    15 'norm      '    .79370       1.0000          .0000       .10000E+07
    16 'norm      '    13.871       1.0000          .0000       .10000E+07
    17 'Prefactor '    1.0775       1.0000          .0000       .10000E+07
    18 'Normalizat'    1.2280       1.0000         .10000E-01   10.000    
    19 'Prefactor '    .74496       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=   6962.781     FROM MIGRAD    STATUS=CONVERGED    169 CALLS     1169 TOTAL
                     EDM=   .71E-09  STRATEGY=1  ERROR MATRIX UNCERTAINTY=  2.9%

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor     17.157        35.952        .21206E-05   -.30495E-03
   2  Prefactor     .10547E-08    50.607        .31129E-07** at limit **
   3  norm          3.8658        2.0281        .43690E-07    .41704E-02
   4  Prefactor      .0000        7.9317        .13533E-07** at limit **
   5  Prefactor     8.8715        3.6790        .11948E-06    .35676E-03
   6  norm          7.7992        10.189       -.12982E-05    .84051E-03
   7  Prefactor     .55511E-10    4.4301        .20075E-06** at limit **
   8  Prefactor     .14949        27.995        .14570E-05** at limit **
   9  Prefactor     20.448        29.368       -.39815E-06    .11816E-02
  10  norm          3.7307        9.7901        .53973E-07    .99344E-03
  11  norm           .0000        2.1526        .15231E-06** at limit **
  12  norm          .61062E-09    6.8399        .22366E-06** at limit **
  13  norm          4.7963        3.9000        .58633E-07    .32166E-02
  14  Prefactor     .12212E-08    8.7847       -.58498E-06** at limit **
  15  norm          .79372        .74602       -.58431E-08    .58509E-02
  16  norm          13.708        8.9102        .49120E-06    .35816E-02
  17  Prefactor     .25864E-05    6963.8       -.55159E-05** at limit **
  18  Normalizat    1.2286        .21806       -.16581E-04   -.20953E-03
  19  Prefactor     .74505        .14158        .13160E-05   -.25606E-04
                               ERR DEF=  .500    
Final values: 
  Prefactor  = 17.1573
  Prefactor  = 1.05471e-09
  norm       = 3.86578
  Prefactor  = 0
  Prefactor  = 8.87152
  norm       = 7.79921
  Prefactor  = 5.55112e-11
  Prefactor  = 0.14949
  Prefactor  = 20.4482
  norm       = 3.73074
  norm       = 0
  norm       = 6.10623e-10
  norm       = 4.79634
  Prefactor  = 1.22125e-09
  norm       = 0.793722
  norm       = 13.7083
  Prefactor  = 2.58643e-06
  Normalizat = 1.22862
  Prefactor  = 0.745048

Working on...
/lscratch/kocevski/31177634/ft1_filtered_4FGL_J0809.8+0507_daily_bin2182.fits.....................!
real 36.19
user 34.32
sys 1.08

Creating the likelihood object...
obs = UnbinnedObs('/lscratch/kocevski/31177634/ft1_filtered_4FGL_J0809.8+0507_daily_bin2182.fits', '/lscratch/kocevski/31177634/ft2_4FGL_J0809.8+0507_daily_bin2182.fits', expMap='/lscratch/kocevski/31177634/expmap_804902401_805161601_4FGL_J0809.8+0507_daily_bin2182.fits', expCube='/lscratch/kocevski/31177634/ltcube_804902401_805161601_4FGL_J0809.8+0507_daily_bin2182.fits', irfs='P8R3_SOURCE_V2')
like = UnbinnedAnalysis(obs, '/lscratch/kocevski/31177634/Model_4FGL_J0809.8+0507_daily_bin2182.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/31177634/ft1_filtered_4FGL_J0809.8+0507_daily_bin2182.fits
Spacecraft file(s): /lscratch/kocevski/31177634/ft2_4FGL_J0809.8+0507_daily_bin2182.fits
Exposure map: /lscratch/kocevski/31177634/expmap_804902401_805161601_4FGL_J0809.8+0507_daily_bin2182.fits
Exposure cube: /lscratch/kocevski/31177634/ltcube_804902401_805161601_4FGL_J0809.8+0507_daily_bin2182.fits
IRFs: P8R3_SOURCE_V2
Source model file: /lscratch/kocevski/31177634/Model_4FGL_J0809.8+0507_daily_bin2182.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) = 6962.89179377

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

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

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'Prefactor '    17.496       1.0000          .0000       .10000E+07
     2 'Prefactor '    .37896E-01   1.0000          .0000       .10000E+07
     3 'norm      '    3.8689       1.0000          .0000       .10000E+07
     4 'Prefactor '    .42974E-03   1.0000          .0000       .10000E+07
     5 'Prefactor '    8.8579       1.0000          .0000       .10000E+07
     6 'norm      '    8.0640       1.0000          .0000       .10000E+07
     7 'Prefactor '    .10383E-05   1.0000          .0000       .10000E+07
     8 'Prefactor '    .10640       1.0000          .0000       .10000E+07
     9 'Prefactor '    19.821       1.0000          .0000       .10000E+07
    10 'norm      '    3.7289       1.0000          .0000       .10000E+07
    11 'norm      '    .96123E-06   1.0000          .0000       .10000E+07
    12 'norm      '    .79103E-06   1.0000          .0000       .10000E+07
    13 'norm      '    4.8185       1.0000          .0000       .10000E+07
    14 'Prefactor '    .18516E-03   1.0000          .0000       .10000E+07
    15 'norm      '    .79370       1.0000          .0000       .10000E+07
    16 'norm      '    13.871       1.0000          .0000       .10000E+07
    17 'Prefactor '    1.0775       1.0000          .0000       .10000E+07
    18 'Normalizat'    1.2280       1.0000         .10000E-01   10.000    
    19 'Prefactor '    .74496       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=   6962.781     FROM MIGRAD    STATUS=CONVERGED    169 CALLS     1169 TOTAL
                     EDM=   .71E-09  STRATEGY=1  ERROR MATRIX UNCERTAINTY=  2.9%

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor     17.157        35.952        .21206E-05   -.30495E-03
   2  Prefactor     .10547E-08    50.607        .31129E-07** at limit **
   3  norm          3.8658        2.0281        .43690E-07    .41704E-02
   4  Prefactor      .0000        7.9317        .13533E-07** at limit **
   5  Prefactor     8.8715        3.6790        .11948E-06    .35676E-03
   6  norm          7.7992        10.189       -.12982E-05    .84051E-03
   7  Prefactor     .55511E-10    4.4301        .20075E-06** at limit **
   8  Prefactor     .14949        27.995        .14570E-05** at limit **
   9  Prefactor     20.448        29.368       -.39815E-06    .11816E-02
  10  norm          3.7307        9.7901        .53973E-07    .99344E-03
  11  norm           .0000        2.1526        .15231E-06** at limit **
  12  norm          .61062E-09    6.8399        .22366E-06** at limit **
  13  norm          4.7963        3.9000        .58633E-07    .32166E-02
  14  Prefactor     .12212E-08    8.7847       -.58498E-06** at limit **
  15  norm          .79372        .74602       -.58431E-08    .58509E-02
  16  norm          13.708        8.9102        .49120E-06    .35816E-02
  17  Prefactor     .25864E-05    6963.8       -.55159E-05** at limit **
  18  Normalizat    1.2286        .21806       -.16581E-04   -.20953E-03
  19  Prefactor     .74505        .14158        .13160E-05   -.25606E-04
                               ERR DEF=  .500    
Final values: 
  Prefactor  = 17.1573
  Prefactor  = 1.05471e-09
  norm       = 3.86578
  Prefactor  = 0
  Prefactor  = 8.87152
  norm       = 7.79921
  Prefactor  = 5.55112e-11
  Prefactor  = 0.14949
  Prefactor  = 20.4482
  norm       = 3.73074
  norm       = 0
  norm       = 6.10623e-10
  norm       = 4.79634
  Prefactor  = 1.22125e-09
  norm       = 0.793722
  norm       = 13.7083
  Prefactor  = 2.58643e-06
  Normalizat = 1.22862
  Prefactor  = 0.745048
 **********
 **   18 **HESSE 
 **********

 FCN=   6962.781     FROM HESSE     STATUS=OK           324 CALLS     1493 TOTAL
                     EDM=   .14E-08    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  Prefactor     17.157        35.902        .23917E-03   -1.5625    
   2  Prefactor     .10547E-08    49.373        .16060E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   3  norm          3.8658        2.0339        .51278E-03   -1.5669    
   4  Prefactor      .0000        7.9656        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   5  Prefactor     8.8715        3.6709        .33654E-03   -1.5648    
   6  norm          7.7992        10.198        .35283E-03   -1.5652    
   7  Prefactor     .55511E-10    4.4453        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   8  Prefactor     .14949        3.1352        .77695E-02   -1.5700    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   9  Prefactor     20.448        29.428        .22469E-03   -1.5618    
  10  norm          3.7307        9.9062        .52267E-03   -1.5669    
  11  norm           .0000        2.0993        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  12  norm          .61062E-09    6.8622        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  13  norm          4.7963        3.9144        .45806E-03   -1.5664    
  14  Prefactor     .12212E-08    8.7815        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  15  norm          .79372        .75398        .53406E-03   -1.5690    
  16  norm          13.708        8.9367        .26868E-03   -1.5634    
  17  Prefactor     .25864E-05    38.924        .14595E-01   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  18  Normalizat    1.2286        .18846        .59328E-01   -.85723    
  19  Prefactor     .74505        .12130        .42997E-01   -1.0179    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 1.42275e-09
Minuit parameter uncertainties:
  1  35.9028
  2  0.000451926
  3  2.0339
  4  1.9032e-05
  5  3.67089
  6  10.1981
  7  3.40922e-05
  8  1.36921
  9  29.4282
  10  9.90625
  11  1.42073e-05
  12  0.000132276
  13  3.91441
  14  0.00020681
  15  0.753982
  16  8.93667
  17  0.0200673
  18  0.188569
  19  0.121343
number of points = 7516
number of fields = 31
RA_SUN column already exists. File will not be modified.
Done.


Performing analysis on: 4FGL_J0809.8+0507_daily_bin2182
RA = 122.453, Dec = 5.1313
tmin = 804902401, tmax = 805161601
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='31177781', job_status='RUN', time_executed='2026-07-09 22:05:26.705888', time_epoch_executed='1783659926.71' WHERE source_name='4FGL J0809.8+0507' and cadence='daily' and bin_id='2182'

Database successfully updated.
Done.

Creating custom output directory:
/lscratch/kocevski/31177781

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

Retrieving the FT1 file...

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

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

Retrieving 47 files...
Done.


Merging files...

Checksum keywords updated successfully.

Merged file saved to:
/lscratch/kocevski/31177781/ft1_4FGL_J0809.8+0507_daily_bin2182.fits


Retrieving the FT1 file...

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

Retrieving 47 files...
Done.


Merging files...

Merged file saved to:
/lscratch/kocevski/31177781/ft2_4FGL_J0809.8+0507_daily_bin2182.fits


Selecting the photons:
time -p gtselect infile=/lscratch/kocevski/31177781/ft1_4FGL_J0809.8+0507_daily_bin2182.fits outfile=/lscratch/kocevski/31177781/ft1_filteredMKT_4FGL_J0809.8+0507_daily_bin2182.fits ra=122.453 dec=5.1313 rad=12.0 tmin=804902401.0 tmax=805161601.0 emin=100.0 emax=100000.0 zmin=0.0 zmax=90.0 evclass=128 evtype="INDEF" convtype=-1 phasemin=0.0 phasemax=1.0 evtable="EVENTS" chatter=2 clobber=yes debug=no gui=no mode="ql"

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

Done.
real 3.22
user 2.17
sys 0.17

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

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

Number of photons that the gtmktime cut: 621

Generating the livetime cube:
time -p gtltcube evfile="/lscratch/kocevski/31177781/ft1_filtered_4FGL_J0809.8+0507_daily_bin2182.fits" evtable="EVENTS" scfile=/lscratch/kocevski/31177781/ft2_4FGL_J0809.8+0507_daily_bin2182.fits sctable="SC_DATA" outf **********
 **   18 **HESSE 
 **********

 FCN=   6962.781     FROM HESSE     STATUS=OK           324 CALLS     1493 TOTAL
                     EDM=   .14E-08    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  Prefactor     17.157        35.902        .23917E-03   -1.5625    
   2  Prefactor     .10547E-08    49.373        .16060E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   3  norm          3.8658        2.0339        .51278E-03   -1.5669    
   4  Prefactor      .0000        7.9656        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   5  Prefactor     8.8715        3.6709        .33654E-03   -1.5648    
   6  norm          7.7992        10.198        .35283E-03   -1.5652    
   7  Prefactor     .55511E-10    4.4453        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   8  Prefactor     .14949        3.1352        .77695E-02   -1.5700    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   9  Prefactor     20.448        29.428        .22469E-03   -1.5618    
  10  norm          3.7307        9.9062        .52267E-03   -1.5669    
  11  norm           .0000        2.0993        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  12  norm          .61062E-09    6.8622        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  13  norm          4.7963        3.9144        .45806E-03   -1.5664    
  14  Prefactor     .12212E-08    8.7815        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  15  norm          .79372        .75398        .53406E-03   -1.5690    
  16  norm          13.708        8.9367        .26868E-03   -1.5634    
  17  Prefactor     .25864E-05    38.924        .14595E-01   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  18  Normalizat    1.2286        .18846        .59328E-01   -.85723    
  19  Prefactor     .74505        .12130        .42997E-01   -1.0179    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 1.42275e-09
Minuit parameter uncertainties:
  1  35.9028
  2  0.000451926
  3  2.0339
  4  1.9032e-05
  5  3.67089
  6  10.1981
  7  3.40922e-05
  8  1.36921
  9  29.4282
  10  9.90625
  11  1.42073e-05
  12  0.000132276
  13  3.91441
  14  0.00020681
  15  0.753982
  16  8.93667
  17  0.0200673
  18  0.188569
  19  0.121343
Done.

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

Extracting fit parameters...

4FGL J0809.8+0507
   Spectrum: LogParabola
280         norm:  6.106e-10  1.323e-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:  7.450e-01  1.213e-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:  1.229e+00  1.886e-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.41293685324e-08 ph cm-2 s-1
Energy Flux Upper Limit: 1.42558554116e-05 MeV cm-2 s-1

Saving results to:
/lscratch/kocevski/31177630/likelihoodResults_804902401_805161601_4FGL_J0809.8+0507_daily_bin2182.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) = 6962.851011
delta logL = -0.0697576879538

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

MINUIT Return Code (Free Index): 0
logL (Free Index) = 6962.78125508
delta logL = -1.76754656422e-06

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'norm      '    .11678E-04   1.0000          .0000       .10000E+07
     2 'alpha     '    1.8927       1.0000          .0000       5.0000    
     3 'Normalizat'    1.2284       1.0000         .10000E-01   10.000    
     4 'Prefactor '    .74524       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=   6962.781     FROM MIGRAD    STATUS=CONVERGED     36 CALLS      182 TOTAL
                     EDM=   .39E-13  STRATEGY=1  ERROR MATRIX UNCERTAINTY=100.0%

  EXT PARAMETER                APPROXIMATE        STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  norm           .0000        9.7766        .42118E-03** at limit **
   2  alpha         .68070        .71172       -.19058E-04     .0000    
   3  Normalizat    1.2286        1.0974       -.58302E-06    .38808E-05
   4  Prefactor     .74505        1.0947       -.78102E-06    .67265E-05
                               ERR DEF=  .500    
Final values: 
  norm       = 0
  alpha      = 0.680703
  Normalizat = 1.22863
  Prefactor  = 0.745046
 **********
 **   18 **HESSE 
 **********
  MNHESS FAILS AND WILL RETURN DIAGONAL MATRIX. 

 FCN=   6962.781     FROM HESSE     STATUS=FAILED         9 CALLS      191 TOTAL
                     EDM=   .39E-13  STRATEGY=1  ERROR MATRIX UNCERTAINTY=100.0%

  EXT PARAMETER                APPROXIMATE     INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  norm           .0000        9.7766        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   2  alpha         .75146E-01    .76968       -.19058E-04   -.81499    
   3  Normalizat    1.2286        1.0974       -.58302E-06   -.85723    
   4  Prefactor     .74505        1.0947       -.78102E-06   -1.0179    
                               ERR DEF=  .500    
Minuit fit quality: 1   estimated distance: 3.92415e-14
Minuit parameter uncertainties:
  1  2.3262e-06
  2  0.73392
  3  1.11911
  4  1.12914
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) = 6962.78125331
delta logL = 1.17324816529e-10

Extracting fit parameters...

4FGL J0809.8+0507
   Spectrum: LogParabola
280         norm:  0.000e+00  2.326e-06  0.000e+00  1.000e+06 ( 1.000e-12)
281        alpha:  6.807e-01  7.339e-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:  7.450e-01  1.129e+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:  1.229e+00  1.119e+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 -2.500e-04 [aplpy.core]
INFO: Auto-setting vmax to  2.775e-03 [aplpy.core]
Saving /lscratch/kocevski/31177630/cmap_HighResolution_804902401_805161601_4FGL_J0809.8+0507_daily_bin2182.png

Cleaning up...

** Nuclear option initiated! **

Updating database...

UPDATE lightcurve_data_v2 SET energy_flux_upper_limit='1.43e-05', job_status='DONE', photon_flux_upper_limit='5.41e-08', time_completed='2026-07-09 22:09:07.279817', job_id='31177630', GAL2='0.75', fit_tolerance='1e-08', EG2='1.23', EG='1.23', time_epoch_completed='1783660147.28', return_code2='101', ts='-0.00', comment='SUCCESS', return_code='0', GAL='0.75', dlogl='1.17e-10', ts2='0.00', photon_index_error='0.00', photon_index='2.82' WHERE bin_id='2182' AND source_name='4FGL J0809.8+0507' AND cadence='daily';

Database successfully updated.


Analysis Complete.


Thu Jul  9 22:09:07 PDT 2026

Done.

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

Extracting fit parameters...

4FGL J0809.8+0507
   Spectrum: LogParabola
280         norm:  6.106e-10  1.323e-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:  7.450e-01  1.213e-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:  1.229e+00  1.886e-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.41293685324e-08 ph cm-2 s-1
Energy Flux Upper Limit: 1.42558554116e-05 MeV cm-2 s-1

Saving results to:
/lscratch/kocevski/31177634/likelihoodResults_804902401_805161601_4FGL_J0809.8+0507_daily_bin2182.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) = 6962.851011
delta logL = -0.0697576879538

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

MINUIT Return Code (Free Index): 0
logL (Free Index) = 6962.78125508
delta logL = -1.76754656422e-06

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'norm      '    .11678E-04   1.0000          .0000       .10000E+07
     2 'alpha     '    1.8927       1.0000          .0000       5.0000    
     3 'Normalizat'    1.2284       1.0000         .10000E-01   10.000    
     4 'Prefactor '    .74524       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=   6962.781     FROM MIGRAD    STATUS=CONVERGED     36 CALLS      182 TOTAL
                     EDM=   .39E-13  STRATEGY=1  ERROR MATRIX UNCERTAINTY=100.0%

  EXT PARAMETER                APPROXIMATE        STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  norm           .0000        9.7766        .42118E-03** at limit **
   2  alpha         .68070        .71172       -.19058E-04     .0000    
   3  Normalizat    1.2286        1.0974       -.58302E-06    .38808E-05
   4  Prefactor     .74505        1.0947       -.78102E-06    .67265E-05
                               ERR DEF=  .500    
Final values: 
  norm       = 0
  alpha      = 0.680703
  Normalizat = 1.22863
  Prefactor  = 0.745046
 **********
 **   18 **HESSE 
 **********
  MNHESS FAILS AND WILL RETURN DIAGONAL MATRIX. 

 FCN=   6962.781     FROM HESSE     STATUS=FAILED         9 CALLS      191 TOTAL
                     EDM=   .39E-13  STRATEGY=1  ERROR MATRIX UNCERTAINTY=100.0%

  EXT PARAMETER                APPROXIMATE     INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  norm           .0000        9.7766        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   2  alpha         .75146E-01    .76968       -.19058E-04   -.81499    
   3  Normalizat    1.2286        1.0974       -.58302E-06   -.85723    
   4  Prefactor     .74505        1.0947       -.78102E-06   -1.0179    
                               ERR DEF=  .500    
Minuit fit quality: 1   estimated distance: 3.92415e-14
Minuit parameter uncertainties:
  1  2.3262e-06
  2  0.73392
  3  1.11911
  4  1.12914
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) = 6962.78125331
delta logL = 1.17324816529e-10

Extracting fit parameters...

4FGL J0809.8+0507
   Spectrum: LogParabola
280         norm:  0.000e+00  2.326e-06  0.000e+00  1.000e+06 ( 1.000e-12)
281        alpha:  6.807e-01  7.339e-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:  7.450e-01  1.129e+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:  1.229e+00  1.119e+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 -2.500e-04 [aplpy.core]
INFO: Auto-setting vmax to  2.775e-03 [aplpy.core]
Saving /lscratch/kocevski/31177634/cmap_HighResolution_804902401_805161601_4FGL_J0809.8+0507_daily_bin2182.png

Cleaning up...

** Nuclear option initiated! **

Updating database...

UPDATE lightcurve_data_v2 SET energy_flux_upper_limit='1.43e-05', job_status='DONE', photon_flux_upper_limit='5.41e-08', time_completed='2026-07-09 22:09:12.343436', job_id='31177634', GAL2='0.75', fit_tolerance='1e-08', EG2='1.23', EG='1.23', time_epoch_completed='1783660152.34', return_code2='101', ts='-0.00', comment='SUCCESS', return_code='0', GAL='0.75', dlogl='1.17e-10', ts2='0.00', photon_index_error='0.00', photon_index='2.82' WHERE bin_id='2182' AND source_name='4FGL J0809.8+0507' AND cadence='daily';

Database successfully updated.


Analysis Complete.


Thu Jul  9 22:09:12 PDT 2026

ile=/lscratch/kocevski/31177781/ltcube_804902401_805161601_4FGL_J0809.8+0507_daily_bin2182.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/31177781/ft2_4FGL_J0809.8+0507_daily_bin2182.fits
.....................!
real 9.93
user 8.81
sys 0.26

Generating the exposure map:
time -p gtexpmap evfile=/lscratch/kocevski/31177781/ft1_filtered_4FGL_J0809.8+0507_daily_bin2182.fits evtable="EVENTS" scfile=/lscratch/kocevski/31177781/ft2_4FGL_J0809.8+0507_daily_bin2182.fits sctable="SC_DATA" expcube=/lscratch/kocevski/31177781/ltcube_804902401_805161601_4FGL_J0809.8+0507_daily_bin2182.fits outfile=/lscratch/kocevski/31177781/expmap_804902401_805161601_4FGL_J0809.8+0507_daily_bin2182.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/31177781/ltcube_804902401_805161601_4FGL_J0809.8+0507_daily_bin2182.fits
.....................!
real 73.64
user 67.51
sys 4.04

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/31177781/ft1_filtered_4FGL_J0809.8+0507_daily_bin2182.fits scfile=/lscratch/kocevski/31177781/ft2_4FGL_J0809.8+0507_daily_bin2182.fits outfile=/lscratch/kocevski/31177781/cmap_804902401_805161601_4FGL_J0809.8+0507_daily_bin2182.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.97
user 0.23
sys 0.13

Creating the high resolution counts map:
time -p gtbin evfile=/lscratch/kocevski/31177781/ft1_filtered_4FGL_J0809.8+0507_daily_bin2182.fits scfile=/lscratch/kocevski/31177781/ft2_4FGL_J0809.8+0507_daily_bin2182.fits outfile=/lscratch/kocevski/31177781/cmap_HighResolution_804902401_805161601_4FGL_J0809.8+0507_daily_bin2182.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 1.56
user 0.24
sys 0.13

Computing the diffuse response:
time -p gtdiffrsp evfile=/lscratch/kocevski/31177781/ft1_filtered_4FGL_J0809.8+0507_daily_bin2182.fits evtable="EVENTS" scfile=/lscratch/kocevski/31177781/ft2_4FGL_J0809.8+0507_daily_bin2182.fits sctable="SC_DATA" srcmdl=/lscratch/kocevski/31177781/Model_4FGL_J0809.8+0507_daily_bin2182.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/31177781/ft1_filtered_4FGL_J0809.8+0507_daily_bin2182.fits.....................!
real 36.45
user 33.50
sys 0.82

Creating the likelihood object...
obs = UnbinnedObs('/lscratch/kocevski/31177781/ft1_filtered_4FGL_J0809.8+0507_daily_bin2182.fits', '/lscratch/kocevski/31177781/ft2_4FGL_J0809.8+0507_daily_bin2182.fits', expMap='/lscratch/kocevski/31177781/expmap_804902401_805161601_4FGL_J0809.8+0507_daily_bin2182.fits', expCube='/lscratch/kocevski/31177781/ltcube_804902401_805161601_4FGL_J0809.8+0507_daily_bin2182.fits', irfs='P8R3_SOURCE_V2')
like = UnbinnedAnalysis(obs, '/lscratch/kocevski/31177781/Model_4FGL_J0809.8+0507_daily_bin2182.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/31177781/ft1_filtered_4FGL_J0809.8+0507_daily_bin2182.fits
Spacecraft file(s): /lscratch/kocevski/31177781/ft2_4FGL_J0809.8+0507_daily_bin2182.fits
Exposure map: /lscratch/kocevski/31177781/expmap_804902401_805161601_4FGL_J0809.8+0507_daily_bin2182.fits
Exposure cube: /lscratch/kocevski/31177781/ltcube_804902401_805161601_4FGL_J0809.8+0507_daily_bin2182.fits
IRFs: P8R3_SOURCE_V2
Source model file: /lscratch/kocevski/31177781/Model_4FGL_J0809.8+0507_daily_bin2182.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) = 6962.89179377

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

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

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'Prefactor '    17.496       1.0000          .0000       .10000E+07
     2 'Prefactor '    .37896E-01   1.0000          .0000       .10000E+07
     3 'norm      '    3.8689       1.0000          .0000       .10000E+07
     4 'Prefactor '    .42974E-03   1.0000          .0000       .10000E+07
     5 'Prefactor '    8.8579       1.0000          .0000       .10000E+07
     6 'norm      '    8.0640       1.0000          .0000       .10000E+07
     7 'Prefactor '    .10383E-05   1.0000          .0000       .10000E+07
     8 'Prefactor '    .10640       1.0000          .0000       .10000E+07
     9 'Prefactor '    19.821       1.0000          .0000       .10000E+07
    10 'norm      '    3.7289       1.0000          .0000       .10000E+07
    11 'norm      '    .96123E-06   1.0000          .0000       .10000E+07
    12 'norm      '    .79103E-06   1.0000          .0000       .10000E+07
    13 'norm      '    4.8185       1.0000          .0000       .10000E+07
    14 'Prefactor '    .18516E-03   1.0000          .0000       .10000E+07
    15 'norm      '    .79370       1.0000          .0000       .10000E+07
    16 'norm      '    13.871       1.0000          .0000       .10000E+07
    17 'Prefactor '    1.0775       1.0000          .0000       .10000E+07
    18 'Normalizat'    1.2280       1.0000         .10000E-01   10.000    
    19 'Prefactor '    .74496       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=   6962.781     FROM MIGRAD    STATUS=CONVERGED    169 CALLS     1169 TOTAL
                     EDM=   .71E-09  STRATEGY=1  ERROR MATRIX UNCERTAINTY=  2.9%

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor     17.157        35.952        .21206E-05   -.30495E-03
   2  Prefactor     .10547E-08    50.607        .31129E-07** at limit **
   3  norm          3.8658        2.0281        .43690E-07    .41704E-02
   4  Prefactor      .0000        7.9317        .13533E-07** at limit **
   5  Prefactor     8.8715        3.6790        .11948E-06    .35676E-03
   6  norm          7.7992        10.189       -.12982E-05    .84051E-03
   7  Prefactor     .55511E-10    4.4301        .20075E-06** at limit **
   8  Prefactor     .14949        27.995        .14570E-05** at limit **
   9  Prefactor     20.448        29.368       -.39815E-06    .11816E-02
  10  norm          3.7307        9.7901        .53973E-07    .99344E-03
  11  norm           .0000        2.1526        .15231E-06** at limit **
  12  norm          .61062E-09    6.8399        .22366E-06** at limit **
  13  norm          4.7963        3.9000        .58633E-07    .32166E-02
  14  Prefactor     .12212E-08    8.7847       -.58498E-06** at limit **
  15  norm          .79372        .74602       -.58431E-08    .58509E-02
  16  norm          13.708        8.9102        .49120E-06    .35816E-02
  17  Prefactor     .25864E-05    6963.8       -.55159E-05** at limit **
  18  Normalizat    1.2286        .21806       -.16581E-04   -.20953E-03
  19  Prefactor     .74505        .14158        .13160E-05   -.25606E-04
                               ERR DEF=  .500    
Final values: 
  Prefactor  = 17.1573
  Prefactor  = 1.05471e-09
  norm       = 3.86578
  Prefactor  = 0
  Prefactor  = 8.87152
  norm       = 7.79921
  Prefactor  = 5.55112e-11
  Prefactor  = 0.14949
  Prefactor  = 20.4482
  norm       = 3.73074
  norm       = 0
  norm       = 6.10623e-10
  norm       = 4.79634
  Prefactor  = 1.22125e-09
  norm       = 0.793722
  norm       = 13.7083
  Prefactor  = 2.58643e-06
  Normalizat = 1.22862
  Prefactor  = 0.745048
 **********
 **   18 **HESSE 
 **********

 FCN=   6962.781     FROM HESSE     STATUS=OK           324 CALLS     1493 TOTAL
                     EDM=   .14E-08    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  Prefactor     17.157        35.902        .23917E-03   -1.5625    
   2  Prefactor     .10547E-08    49.373        .16060E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   3  norm          3.8658        2.0339        .51278E-03   -1.5669    
   4  Prefactor      .0000        7.9656        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   5  Prefactor     8.8715        3.6709        .33654E-03   -1.5648    
   6  norm          7.7992        10.198        .35283E-03   -1.5652    
   7  Prefactor     .55511E-10    4.4453        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   8  Prefactor     .14949        3.1352        .77695E-02   -1.5700    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   9  Prefactor     20.448        29.428        .22469E-03   -1.5618    
  10  norm          3.7307        9.9062        .52267E-03   -1.5669    
  11  norm           .0000        2.0993        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  12  norm          .61062E-09    6.8622        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  13  norm          4.7963        3.9144        .45806E-03   -1.5664    
  14  Prefactor     .12212E-08    8.7815        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  15  norm          .79372        .75398        .53406E-03   -1.5690    
  16  norm          13.708        8.9367        .26868E-03   -1.5634    
  17  Prefactor     .25864E-05    38.924        .14595E-01   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  18  Normalizat    1.2286        .18846        .59328E-01   -.85723    
  19  Prefactor     .74505        .12130        .42997E-01   -1.0179    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 1.42275e-09
Minuit parameter uncertainties:
  1  35.9028
  2  0.000451926
  3  2.0339
  4  1.9032e-05
  5  3.67089
  6  10.1981
  7  3.40922e-05
  8  1.36921
  9  29.4282
  10  9.90625
  11  1.42073e-05
  12  0.000132276
  13  3.91441
  14  0.00020681
  15  0.753982
  16  8.93667
  17  0.0200673
  18  0.188569
  19  0.121343
Done.

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

Extracting fit parameters...

4FGL J0809.8+0507
   Spectrum: LogParabola
280         norm:  6.106e-10  1.323e-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:  7.450e-01  1.213e-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:  1.229e+00  1.886e-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.41293685324e-08 ph cm-2 s-1
Energy Flux Upper Limit: 1.42558554116e-05 MeV cm-2 s-1

Saving results to:
/lscratch/kocevski/31177781/likelihoodResults_804902401_805161601_4FGL_J0809.8+0507_daily_bin2182.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) = 6962.851011
delta logL = -0.0697576879538

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

MINUIT Return Code (Free Index): 0
logL (Free Index) = 6962.78125508
delta logL = -1.76754656422e-06

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'norm      '    .11678E-04   1.0000          .0000       .10000E+07
     2 'alpha     '    1.8927       1.0000          .0000       5.0000    
     3 'Normalizat'    1.2284       1.0000         .10000E-01   10.000    
     4 'Prefactor '    .74524       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=   6962.781     FROM MIGRAD    STATUS=CONVERGED     36 CALLS      182 TOTAL
                     EDM=   .39E-13  STRATEGY=1  ERROR MATRIX UNCERTAINTY=100.0%

  EXT PARAMETER                APPROXIMATE        STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  norm           .0000        9.7766        .42118E-03** at limit **
   2  alpha         .68070        .71172       -.19058E-04     .0000    
   3  Normalizat    1.2286        1.0974       -.58302E-06    .38808E-05
   4  Prefactor     .74505        1.0947       -.78102E-06    .67265E-05
                               ERR DEF=  .500    
Final values: 
  norm       = 0
  alpha      = 0.680703
  Normalizat = 1.22863
  Prefactor  = 0.745046
 **********
 **   18 **HESSE 
 **********
  MNHESS FAILS AND WILL RETURN DIAGONAL MATRIX. 

 FCN=   6962.781     FROM HESSE     STATUS=FAILED         9 CALLS      191 TOTAL
                     EDM=   .39E-13  STRATEGY=1  ERROR MATRIX UNCERTAINTY=100.0%

  EXT PARAMETER                APPROXIMATE     INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  norm           .0000        9.7766        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   2  alpha         .75146E-01    .76968       -.19058E-04   -.81499    
   3  Normalizat    1.2286        1.0974       -.58302E-06   -.85723    
   4  Prefactor     .74505        1.0947       -.78102E-06   -1.0179    
                               ERR DEF=  .500    
Minuit fit quality: 1   estimated distance: 3.92415e-14
Minuit parameter uncertainties:
  1  2.3262e-06
  2  0.73392
  3  1.11911
  4  1.12914
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) = 6962.78125331
delta logL = 1.17324816529e-10

Extracting fit parameters...

4FGL J0809.8+0507
   Spectrum: LogParabola
280         norm:  0.000e+00  2.326e-06  0.000e+00  1.000e+06 ( 1.000e-12)
281        alpha:  6.807e-01  7.339e-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:  7.450e-01  1.129e+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:  1.229e+00  1.119e+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 -2.500e-04 [aplpy.core]
INFO: Auto-setting vmax to  2.775e-03 [aplpy.core]
Saving /lscratch/kocevski/31177781/cmap_HighResolution_804902401_805161601_4FGL_J0809.8+0507_daily_bin2182.png

Cleaning up...

** Nuclear option initiated! **

Updating database...

UPDATE lightcurve_data_v2 SET energy_flux_upper_limit='1.43e-05', job_status='DONE', photon_flux_upper_limit='5.41e-08', time_completed='2026-07-09 22:12:35.477057', job_id='31177781', GAL2='0.75', fit_tolerance='1e-08', EG2='1.23', EG='1.23', time_epoch_completed='1783660355.48', return_code2='101', ts='-0.00', comment='SUCCESS', return_code='0', GAL='0.75', dlogl='1.17e-10', ts2='0.00', photon_index_error='0.00', photon_index='2.82' WHERE bin_id='2182' AND source_name='4FGL J0809.8+0507' AND cadence='daily';

Database successfully updated.


Analysis Complete.


Thu Jul  9 22:12:35 PDT 2026

