/sdf/group/fermi/u/kocevski/software/conda/envs/fermitools_v1.0.5/lib/python2.7/site-packages/pyfits/__init__.py:22: PyFITSDeprecationWarning: PyFITS is deprecated, please use astropy.io.fits
  PyFITSDeprecationWarning)  # noqa

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

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

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

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

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

 outfile=/lscratch/kocevski/39450904/ltcube_811728001_812332801_4FGL_J0809.5+5341_weekly_bin947.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/39450904/ft2_4FGL_J0809.5+5341_weekly_bin947.fits
.....................!
real 21.34
user 20.73
sys 0.23

Generating the exposure map:
time -p gtexpmap evfile=/lscratch/kocevski/39450904/ft1_filtered_4FGL_J0809.5+5341_weekly_bin947.fits evtable="EVENTS" scfile=/lscratch/kocevski/39450904/ft2_4FGL_J0809.5+5341_weekly_bin947.fits sctable="SC_DATA" expcube=/lscratch/kocevski/39450904/ltcube_811728001_812332801_4FGL_J0809.5+5341_weekly_bin947.fits outfile=/lscratch/kocevski/39450904/expmap_811728001_812332801_4FGL_J0809.5+5341_weekly_bin947.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/39450904/ltcube_811728001_812332801_4FGL_J0809.5+5341_weekly_bin947.fits
.....................!
real 81.12
user 76.38
sys 3.92

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

Setting source of interest to:
4FGL J0809.5+5341 @ 122.379 53.6876

Creating the counts map:
time -p gtbin evfile=/lscratch/kocevski/39450904/ft1_filtered_4FGL_J0809.5+5341_weekly_bin947.fits scfile=/lscratch/kocevski/39450904/ft2_4FGL_J0809.5+5341_weekly_bin947.fits outfile=/lscratch/kocevski/39450904/cmap_811728001_812332801_4FGL_J0809.5+5341_weekly_bin947.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.379 yref=53.6876 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.60
user 0.25
sys 0.13

Creating the high resolution counts map:
time -p gtbin evfile=/lscratch/kocevski/39450904/ft1_filtered_4FGL_J0809.5+5341_weekly_bin947.fits scfile=/lscratch/kocevski/39450904/ft2_4FGL_J0809.5+5341_weekly_bin947.fits outfile=/lscratch/kocevski/39450904/cmap_HighResolution_811728001_812332801_4FGL_J0809.5+5341_weekly_bin947.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.379 yref=53.6876 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.56
user 0.26
sys 0.13

Computing the diffuse response:
time -p gtdiffrsp evfile=/lscratch/kocevski/39450904/ft1_filtered_4FGL_J0809.5+5341_weekly_bin947.fits evtable="EVENTS" scfile=/lscratch/kocevski/39450904/ft2_4FGL_J0809.5+5341_weekly_bin947.fits sctable="SC_DATA" srcmdl=/lscratch/kocevski/39450904/Model_4FGL_J0809.5+5341_weekly_bin947.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/39450518/ft1_filtered_4FGL_J0809.5+5341_weekly_bin947.fits.....................!
real 66.35
user 64.51
sys 0.76

Creating the likelihood object...
obs = UnbinnedObs('/lscratch/kocevski/39450518/ft1_filtered_4FGL_J0809.5+5341_weekly_bin947.fits', '/lscratch/kocevski/39450518/ft2_4FGL_J0809.5+5341_weekly_bin947.fits', expMap='/lscratch/kocevski/39450518/expmap_811728001_812332801_4FGL_J0809.5+5341_weekly_bin947.fits', expCube='/lscratch/kocevski/39450518/ltcube_811728001_812332801_4FGL_J0809.5+5341_weekly_bin947.fits', irfs='P8R3_SOURCE_V2')
like = UnbinnedAnalysis(obs, '/lscratch/kocevski/39450518/Model_4FGL_J0809.5+5341_weekly_bin947.xml', optimizer='MINUIT')

Using source of interest name: '4FGL J0809.5+5341'

4FGL J0809.5+5341
   Spectrum: LogParabola
326         norm:  2.091e+00  0.000e+00  0.000e+00  1.000e+06 ( 1.000e-12)
327        alpha:  2.165e+00  0.000e+00  0.000e+00  5.000e+00 ( 1.000e+00) fixed
328         beta:  1.129e-01  0.000e+00 -5.000e+00  1.000e+01 ( 1.000e+00) fixed
329           Eb:  8.538e+02  0.000e+00  3.000e+01  5.000e+05 ( 1.000e+00) fixed


Likelihood Fit Parameters:
Event file(s): /lscratch/kocevski/39450518/ft1_filtered_4FGL_J0809.5+5341_weekly_bin947.fits
Spacecraft file(s): /lscratch/kocevski/39450518/ft2_4FGL_J0809.5+5341_weekly_bin947.fits
Exposure map: /lscratch/kocevski/39450518/expmap_811728001_812332801_4FGL_J0809.5+5341_weekly_bin947.fits
Exposure cube: /lscratch/kocevski/39450518/ltcube_811728001_812332801_4FGL_J0809.5+5341_weekly_bin947.fits
IRFs: P8R3_SOURCE_V2
Source model file: /lscratch/kocevski/39450518/Model_4FGL_J0809.5+5341_weekly_bin947.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) = 17780.9721031

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

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

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'norm      '    .60401       1.0000          .0000       .10000E+07
     2 'norm      '    .33029E-07   1.0000          .0000       .10000E+07
     3 'Prefactor '    7.8925       1.0000          .0000       .10000E+07
     4 'Prefactor '    .86335E-05   1.0000          .0000       .10000E+07
     5 'Prefactor '    .32213E-04   1.0000          .0000       .10000E+07
     6 'Prefactor '    .48531E-04   1.0000          .0000       .10000E+07
     7 'norm      '    .44016E-03   1.0000          .0000       .10000E+07
     8 'Prefactor '    3.5837       1.0000          .0000       .10000E+07
     9 'Prefactor '    25.783       1.0000          .0000       .10000E+07
    10 'norm      '    1.3674       1.0000          .0000       .10000E+07
    11 'Prefactor '    .34578E-02   1.0000          .0000       .10000E+07
    12 'Prefactor '    .63855E-04   1.0000          .0000       .10000E+07
    13 'norm      '    1.3077       1.0000          .0000       .10000E+07
    14 'Prefactor '    .67232       1.0000          .0000       .10000E+07
    15 'Prefactor '    19.639       1.0000          .0000       .10000E+07
    16 'norm      '    .10925E-06   1.0000          .0000       .10000E+07
    17 'Prefactor '    19.976       1.0000          .0000       .10000E+07
    18 'norm      '    3.9547       1.0000          .0000       .10000E+07
    19 'norm      '    1.4233       1.0000          .0000       .10000E+07
    20 'Prefactor '    .21354       1.0000          .0000       .10000E+07
    21 'Prefactor '    .22205E-03   1.0000          .0000       .10000E+07
    22 'norm      '    1.2154       1.0000          .0000       .10000E+07
    23 'Prefactor '    3.6211       1.0000          .0000       .10000E+07
    24 'Prefactor '    11.712       1.0000          .0000       .10000E+07
    25 'Prefactor '    .74598E-04   1.0000          .0000       .10000E+07
    26 'Prefactor '    4.7846       1.0000          .0000       .10000E+07
    27 'norm      '    .83751       1.0000          .0000       .10000E+07
    28 'norm      '    .15615E-02   1.0000          .0000       .10000E+07
    29 'Prefactor '    8.1819       1.0000          .0000       .10000E+07
    30 'Prefactor '    .21917E-04   1.0000          .0000       .10000E+07
    31 'Normalizat'    .98193       1.0000         .10000E-01   10.000    
    32 'Prefactor '    1.0509       1.0000          .0000       10.000    
 **********
 **   15 **SET ERR    .5000    
 **********
 **********
 **   16 **SET GRAD    1.000    
 **********
 **********
 **   17 **MINIMIZE    .7300E+05   .2000E-04
 **********

 MIGRAD MINIMIZATION HAS CONVERGED.

 FCN=   17780.91     FROM MIGRAD    STATUS=CONVERGED    163 CALLS     2469 TOTAL
                     EDM=   .11E-08  STRATEGY=1  ERROR MATRIX UNCERTAINTY=  3.9%

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  norm          .58004        2.4298        .13678E-07   -.34393E-03
   2  norm           .0000        .80541        .80935E-07** at limit **
   3  Prefactor     7.8855        5.5900       -.68681E-07   -.75747E-01
   4  Prefactor     .55511E-10    1.1893       -.34686E-07** at limit **
   5  Prefactor     .22204E-08    2.9164       -.65074E-07** at limit **
   6  Prefactor     .61229E-07    2.8734       -.11626E-06** at limit **
   7  norm          .21029E-05    9.2833       -.32198E-06** at limit **
   8  Prefactor     3.5898        1.4628       -.15375E-07    .30708E-02
   9  Prefactor     25.913        1.7499        .92658E-08   -.78043E-02
  10  norm          1.3674        .55940        .91737E-08    .19649E-02
  11  Prefactor     .18152E-07    7.7758       -.36857E-08** at limit **
  12  Prefactor     .33340E-06    16.017       -.34350E-06** at limit **
  13  norm          1.3057        1.6378        .73010E-09    .59427E-03
  14  Prefactor     .60279        1.2038       -.54033E-07    .42080E-02
  15  Prefactor     19.659        1.6095        .47025E-09   -.15027E-01
  16  norm           .0000        .52960       -.35204E-07** at limit **
  17  Prefactor     20.793        14.263        .11153E-06   -.82166E-02
  18  norm          3.9549        2.3916        .75328E-07    .29645E-02
  19  norm          1.4235        .81522        .30013E-08    .23898E-02
  20  Prefactor     .21381        .51897        .45522E-07** at limit **
  21  Prefactor     .15821E-07    7.8879       -.13065E-06** at limit **
  22  norm          1.2148        .37745       -.22487E-07   -.12287E-01
  23  Prefactor     3.6234        3.1777       -.80484E-07   -.16559E-02
  24  Prefactor     11.705        1.4237       -.15305E-09    .53347E-03
  25  Prefactor     .14450E-06    2.5905       -.23335E-07** at limit **
  26  Prefactor     4.8098        4.2124       -.10452E-07    .72871E-03
  27  norm          .84126        2.5435        .29127E-07    .32184E-02
  28  norm          .78415E-06    7.0818       -.66813E-07** at limit **
  29  Prefactor     8.1847        5.5117       -.24978E-07   -.23918E-01
  30  Prefactor     .72164E-09    3.0572       -.89700E-07** at limit **
  31  Normalizat    .98132        .12796       -.33530E-05   -.72241E-04
  32  Prefactor     1.0510        .95382E-01    .24326E-05    .12651E-03
                               ERR DEF=  .500    
Final values: 
  norm       = 0.580041
  norm       = 0
  Prefactor  = 7.88549
  Prefactor  = 5.55112e-11
  Prefactor  = 2.22045e-09
  Prefactor  = 6.12288e-08
  norm       = 2.10293e-06
  Prefactor  = 3.58984
  Prefactor  = 25.9132
  norm       = 1.36743
  Prefactor  = 1.81521e-08
  Prefactor  = 3.334e-07
  norm       = 1.30571
  Prefactor  = 0.602786
  Prefactor  = 19.6595
  norm       = 0
  Prefactor  = 20.7929
  norm       = 3.95488
  norm       = 1.42348
  Prefactor  = 0.213806
  Prefactor  = 1.58207e-08
  norm       = 1.21482
  Prefactor  = 3.62341
  Prefactor  = 11.7049
  Prefactor  = 1.44496e-07
  Prefactor  = 4.80978
  norm       = 0.841264
  norm       = 7.84151e-07
  Prefactor  = 8.18471
  Prefactor  = 7.21645e-10
  Normalizat = 0.981316
  Prefactor  = 1.05104
number of points = 17526
number of fields = 31
RA_SUN column already exists. File will not be modified.
Done.


Performing analysis on: 4FGL_J0809.5+5341_weekly_bin947
RA = 122.379, Dec = 53.6876
tmin = 811728001, tmax = 812332801
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='39451081', job_status='RUN', time_executed='2026-09-29 10:55:26.131359', time_epoch_executed='1790704526.13' WHERE source_name='4FGL J0809.5+5341' and cadence='weekly' and bin_id='947'

Database successfully updated.
Done.

Creating custom output directory:
/lscratch/kocevski/39451081

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

Retrieving the FT1 file...

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

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

Retrieving 109 files...
Done.


Merging files...

Checksum keywords updated successfully.

Merged file saved to:
/lscratch/kocevski/39451081/ft1_4FGL_J0809.5+5341_weekly_bin947.fits


Retrieving the FT1 file...

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

Retrieving 109 files...
Done.


Merging files...

Merged file saved to:
/lscratch/kocevski/39451081/ft2_4FGL_J0809.5+5341_weekly_bin947.fits


Selecting the photons:
time -p gtselect infile=/lscratch/kocevski/39451081/ft1_4FGL_J0809.5+5341_weekly_bin947.fits outfile=/lscratch/kocevski/39451081/ft1_filteredMKT_4FGL_J0809.5+5341_weekly_bin947.fits ra=122.379 dec=53.6876 rad=12.0 tmin=811728001.0 tmax=812332801.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 6.54
user 6.02
sys 0.23

Adding sun position to ft2 file:
/sdf/group/fermi/g/LCRepository/Repository/bin/sunpos /lscratch/kocevski/39451081/ft2_4FGL_J0809.5+5341_weekly_bin947.fits

Selecting the good time intervals:
time -p gtmktime scfile=/lscratch/kocevski/39451081/ft2_4FGL_J0809.5+5341_weekly_bin947.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/39451081/ft1_filteredMKT_4FGL_J0809.5+5341_weekly_bin947.fits evtable="EVENTS" outfile="/lscratch/kocevski/39451081/ft1_filtered_4FGL_J0809.5+5341_weekly_bin947.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.67
user 0.23
sys 0.14

Number of photons that the gtmktime cut: 1668

Generating the livetime cube:
time -p gtltcube evfile="/lscratch/kocevski/39451081/ft1_filtered_4FGL_J0809.5+5341_weekly_bin947.fits" evtable="EVENTS" scfile=/lscratch/kocevski/39451081/ft2_4FGL_J0809.5+5341_weekly_bin947.fits sctable="SC_DATA" **********
 **   18 **HESSE 
 **********

 FCN=   17780.91     FROM HESSE     STATUS=OK           743 CALLS     3212 TOTAL
                     EDM=   .30E-05    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  norm          .58004        2.4303        .68870E-03   -1.5693    
   2  norm           .0000        .80757        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   3  Prefactor     7.8855        6.4272        .35667E-03   -1.5652    
   4  Prefactor     .55511E-10    1.1826        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   5  Prefactor     .22204E-08    2.9291        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   6  Prefactor     .61229E-07    4.0378        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   7  norm          .21029E-05    1.6554        .63501E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   8  Prefactor     3.5898        8.8846        .53357E-03   -1.5670    
   9  Prefactor     25.913        17.669        .19698E-03   -1.5606    
  10  norm          1.3674        .57057        .93250E-03   -1.5685    
  11  Prefactor     .18152E-07    8.0887        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  12  Prefactor     .33340E-06    17.780        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  13  norm          1.3057        1.6633        .96441E-03   -1.5685    
  14  Prefactor     .60279        9.7094        .62984E-03   -1.5692    
  15  Prefactor     19.659        12.111        .22573E-03   -1.5619    
  16  norm           .0000        .52963        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  17  Prefactor     20.793        23.143        .22381E-03   -1.5617    
  18  norm          3.9549        2.4038        .50699E-03   -1.5668    
  19  norm          1.4235        .81273        .90610E-03   -1.5684    
  20  Prefactor     .21381        .45361        .34626E-02   -1.5699    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  21  Prefactor     .15821E-07    8.9930        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  22  norm          1.2148        .37907        .10048E-02   -1.5686    
  23  Prefactor     3.6234        3.2033        .53069E-03   -1.5670    
  24  Prefactor     11.705        18.918        .29247E-03   -1.5640    
  25  Prefactor     .14450E-06    4.0053        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  26  Prefactor     4.8098        4.2468        .45972E-03   -1.5664    
  27  norm          .84126        2.5770        .50180E-03   -1.5690    
  28  norm          .78415E-06    1.5065        .58771E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  29  Prefactor     8.1847        5.5623        .35026E-03   -1.5651    
  30  Prefactor     .72164E-09    3.1073        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  31  Normalizat    .98132        .11538        .45940E-01   -.93659    
  32  Prefactor     1.0510        .84511E-01    .39860E-01   -.91047    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 3.03877e-06
Minuit parameter uncertainties:
  1  2.37462
  2  7.16041e-07
  3  6.42718
  4  1.46383e-05
  5  0.000160584
  6  0.000994565
  7  0.00373156
  8  8.88467
  9  17.6692
  10  0.570572
  11  0.000766852
  12  0.00486945
  13  1.66334
  14  4.83847
  15  12.1108
  16  4.27933e-07
  17  23.1431
  18  2.40385
  19  0.812727
  20  0.45361
  21  0.000753809
  22  0.379065
  23  3.20328
  24  18.918
  25  0.00152163
  26  4.24684
  27  2.57696
  28  0.00217376
  29  5.56227
  30  9.51997e-05
  31  0.115409
  32  0.0845216
Done.

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

Extracting fit parameters...

4FGL J0809.5+5341
   Spectrum: LogParabola
326         norm:  3.955e+00  2.404e+00  0.000e+00  1.000e+06 ( 1.000e-12)
327        alpha:  2.165e+00  0.000e+00  0.000e+00  5.000e+00 ( 1.000e+00) fixed
328         beta:  1.129e-01  0.000e+00 -5.000e+00  1.000e+01 ( 1.000e+00) fixed
329           Eb:  8.538e+02  0.000e+00  3.000e+01  5.000e+05 ( 1.000e+00) fixed

GAL_V02
   Spectrum: PowerLaw
727    Prefactor:  1.051e+00  8.452e-02  0.000e+00  1.000e+01 ( 1.000e+00)
728        Index:  0.000e+00  0.000e+00 -1.000e+00  1.000e+00 ( 1.000e+00) fixed
729        Scale:  1.000e+02  0.000e+00  5.000e+01  2.000e+02 ( 1.000e+00) fixed

EG_v02
   Spectrum: FileFunction
726   Normalization:  9.813e-01  1.154e-01  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Fixed Index): 7.42
Ra Dec: 122.379 53.688
Photon Index (Fixed Index): 2.16 +/- 0.00
Photon Flux (Fixed Index): 2.73e-08 +/- 1.66e-08
Energy Flux (Fixed Index): 1.20e-05 +/- 7.31e-06

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) = 17780.8259151
delta logL = 0.079952598524

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

MINUIT Return Code (Free Index): 0
logL (Free Index) = 17780.8192373
delta logL = 0.0866304373849

Fit tolerance = 1e-08

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

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

 MIGRAD MINIMIZATION HAS CONVERGED.

 MIGRAD WILL VERIFY CONVERGENCE AND ERROR MATRIX.

 MIGRAD MINIMIZATION HAS CONVERGED.

 FCN=   17780.82     FROM MIGRAD    STATUS=CONVERGED     51 CALLS      229 TOTAL
                     EDM=   .83E-09  STRATEGY=1  ERROR MATRIX UNCERTAINTY=100.0%

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  norm          3.5858        1.9369        .30475E-07   -.27377E-01
   2  alpha         1.8660        .48199       -.44518E-05   -.11320E-03
   3  Normalizat    .98970        .11110        .10708E-06    .11996E-03
   4  Prefactor     1.0490        .83482E-01   -.52370E-07    .12469E-03
                               ERR DEF=  .500    
Final values: 
  norm       = 3.58583
  alpha      = 1.86604
  Normalizat = 0.989701
  Prefactor  = 1.04904
 **********
 **   18 **HESSE 
 **********

 FCN=   17780.82     FROM HESSE     STATUS=OK            33 CALLS      262 TOTAL
                     EDM=   .48E-08    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  norm          3.5858        2.8159        .16157E-04   -1.5670    
   2  alpha         1.8660        .73114        .25786E-01   -.25638    
   3  Normalizat    .98970        .12545        .28007E-03   -.93376    
   4  Prefactor     1.0490        .94281E-01    .20584E-03   -.91112    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 4.84198e-09
Minuit parameter uncertainties:
  1  2.81592
  2  0.742762
  3  0.125485
  4  0.0942961
shell-init: error retrieving current directory: getcwd: cannot access parent directories: No such file or directory
Done.

MINUIT Return Code (Free Index): 0
logL (Free Index) = 17780.8192372
delta logL = 0.0866304478986

Extracting fit parameters...

4FGL J0809.5+5341
   Spectrum: LogParabola
326         norm:  3.586e+00  2.816e+00  0.000e+00  1.000e+06 ( 1.000e-12)
327        alpha:  1.866e+00  7.428e-01  0.000e+00  5.000e+00 ( 1.000e+00)
328         beta:  1.129e-01  0.000e+00 -5.000e+00  1.000e+01 ( 1.000e+00) fixed
329           Eb:  8.538e+02  0.000e+00  3.000e+01  5.000e+05 ( 1.000e+00) fixed

GAL_V02
   Spectrum: PowerLaw
727    Prefactor:  1.049e+00  9.430e-02  0.000e+00  1.000e+01 ( 1.000e+00)
728        Index:  0.000e+00  0.000e+00 -1.000e+00  1.000e+00 ( 1.000e+00) fixed
729        Scale:  1.000e+02  0.000e+00  5.000e+01  2.000e+02 ( 1.000e+00) fixed

EG_v02
   Spectrum: FileFunction
726   Normalization:  9.897e-01  1.255e-01  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Free Index): 7.60
Ra Dec: 122.379 53.688
Photon Index (Free Index): 1.87 +/- 0.74
Photon Flux (Free Index): 1.79e-08 +/- 2.35e-08
Energy Flux (Free Index): 1.26e-05 +/- 8.76e-06

Creating a high resolution counts map...
INFO: Auto-setting vmin to -1.000e-01 [aplpy.core]
INFO: Auto-setting vmax to  1.110e+00 [aplpy.core]
Saving /lscratch/kocevski/39450518/cmap_HighResolution_811728001_812332801_4FGL_J0809.5+5341_weekly_bin947.png

Cleaning up...

** Nuclear option initiated! **

Updating database...

UPDATE lightcurve_data_v2 SET comment='SUCCESS', photon_flux='2.73e-08', energy_flux2='1.26e-05', photon_flux_error='1.66e-08', dlogl='8.66e-02', energy_flux='1.20e-05', photon_flux2='1.79e-08', job_status='DONE', time_completed='2026-09-29 10:59:00.392171', photon_index_error2='0.74', photon_index2='1.87', ts='7.42', fit_tolerance='1e-08', GAL='1.05', photon_index_error='0.00', energy_flux_error2='8.76e-06', EG='0.98', time_epoch_completed='1790704740.39', return_code='0', job_id='39450518', GAL2='1.05', EG2='0.99', return_code2='0', energy_flux_error='7.31e-06', photon_flux_error2='2.35e-08', ts2='7.60', photon_index='2.16' WHERE bin_id='947' AND source_name='4FGL J0809.5+5341' AND cadence='weekly';

Database successfully updated.


Analysis Complete.


Tue Sep 29 10:59:00 PDT 2026

e GAL_V02
Working on...
/lscratch/kocevski/39450884/ft1_filtered_4FGL_J0809.5+5341_weekly_bin947.fits.....................!
real 58.05
user 56.59
sys 0.97

Creating the likelihood object...
obs = UnbinnedObs('/lscratch/kocevski/39450884/ft1_filtered_4FGL_J0809.5+5341_weekly_bin947.fits', '/lscratch/kocevski/39450884/ft2_4FGL_J0809.5+5341_weekly_bin947.fits', expMap='/lscratch/kocevski/39450884/expmap_811728001_812332801_4FGL_J0809.5+5341_weekly_bin947.fits', expCube='/lscratch/kocevski/39450884/ltcube_811728001_812332801_4FGL_J0809.5+5341_weekly_bin947.fits', irfs='P8R3_SOURCE_V2')
like = UnbinnedAnalysis(obs, '/lscratch/kocevski/39450884/Model_4FGL_J0809.5+5341_weekly_bin947.xml', optimizer='MINUIT')

Using source of interest name: '4FGL J0809.5+5341'

4FGL J0809.5+5341
   Spectrum: LogParabola
326         norm:  2.091e+00  0.000e+00  0.000e+00  1.000e+06 ( 1.000e-12)
327        alpha:  2.165e+00  0.000e+00  0.000e+00  5.000e+00 ( 1.000e+00) fixed
328         beta:  1.129e-01  0.000e+00 -5.000e+00  1.000e+01 ( 1.000e+00) fixed
329           Eb:  8.538e+02  0.000e+00  3.000e+01  5.000e+05 ( 1.000e+00) fixed


Likelihood Fit Parameters:
Event file(s): /lscratch/kocevski/39450884/ft1_filtered_4FGL_J0809.5+5341_weekly_bin947.fits
Spacecraft file(s): /lscratch/kocevski/39450884/ft2_4FGL_J0809.5+5341_weekly_bin947.fits
Exposure map: /lscratch/kocevski/39450884/expmap_811728001_812332801_4FGL_J0809.5+5341_weekly_bin947.fits
Exposure cube: /lscratch/kocevski/39450884/ltcube_811728001_812332801_4FGL_J0809.5+5341_weekly_bin947.fits
IRFs: P8R3_SOURCE_V2
Source model file: /lscratch/kocevski/39450884/Model_4FGL_J0809.5+5341_weekly_bin947.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) = 17780.9721031

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

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

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'norm      '    .60401       1.0000          .0000       .10000E+07
     2 'norm      '    .33029E-07   1.0000          .0000       .10000E+07
     3 'Prefactor '    7.8925       1.0000          .0000       .10000E+07
     4 'Prefactor '    .86335E-05   1.0000          .0000       .10000E+07
     5 'Prefactor '    .32213E-04   1.0000          .0000       .10000E+07
     6 'Prefactor '    .48531E-04   1.0000          .0000       .10000E+07
     7 'norm      '    .44016E-03   1.0000          .0000       .10000E+07
     8 'Prefactor '    3.5837       1.0000          .0000       .10000E+07
     9 'Prefactor '    25.783       1.0000          .0000       .10000E+07
    10 'norm      '    1.3674       1.0000          .0000       .10000E+07
    11 'Prefactor '    .34578E-02   1.0000          .0000       .10000E+07
    12 'Prefactor '    .63855E-04   1.0000          .0000       .10000E+07
    13 'norm      '    1.3077       1.0000          .0000       .10000E+07
    14 'Prefactor '    .67232       1.0000          .0000       .10000E+07
    15 'Prefactor '    19.639       1.0000          .0000       .10000E+07
    16 'norm      '    .10925E-06   1.0000          .0000       .10000E+07
    17 'Prefactor '    19.976       1.0000          .0000       .10000E+07
    18 'norm      '    3.9547       1.0000          .0000       .10000E+07
    19 'norm      '    1.4233       1.0000          .0000       .10000E+07
    20 'Prefactor '    .21354       1.0000          .0000       .10000E+07
    21 'Prefactor '    .22205E-03   1.0000          .0000       .10000E+07
    22 'norm      '    1.2154       1.0000          .0000       .10000E+07
    23 'Prefactor '    3.6211       1.0000          .0000       .10000E+07
    24 'Prefactor '    11.712       1.0000          .0000       .10000E+07
    25 'Prefactor '    .74598E-04   1.0000          .0000       .10000E+07
    26 'Prefactor '    4.7846       1.0000          .0000       .10000E+07
    27 'norm      '    .83751       1.0000          .0000       .10000E+07
    28 'norm      '    .15615E-02   1.0000          .0000       .10000E+07
    29 'Prefactor '    8.1819       1.0000          .0000       .10000E+07
    30 'Prefactor '    .21917E-04   1.0000          .0000       .10000E+07
    31 'Normalizat'    .98193       1.0000         .10000E-01   10.000    
    32 'Prefactor '    1.0509       1.0000          .0000       10.000    
 **********
 **   15 **SET ERR    .5000    
 **********
 **********
 **   16 **SET GRAD    1.000    
 **********
 **********
 **   17 **MINIMIZE    .7300E+05   .2000E-04
 **********

 MIGRAD MINIMIZATION HAS CONVERGED.

 FCN=   17780.91     FROM MIGRAD    STATUS=CONVERGED    163 CALLS     2469 TOTAL
                     EDM=   .11E-08  STRATEGY=1  ERROR MATRIX UNCERTAINTY=  3.9%

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  norm          .58004        2.4298        .13678E-07   -.34393E-03
   2  norm           .0000        .80541        .80935E-07** at limit **
   3  Prefactor     7.8855        5.5900       -.68681E-07   -.75747E-01
   4  Prefactor     .55511E-10    1.1893       -.34686E-07** at limit **
   5  Prefactor     .22204E-08    2.9164       -.65074E-07** at limit **
   6  Prefactor     .61229E-07    2.8734       -.11626E-06** at limit **
   7  norm          .21029E-05    9.2833       -.32198E-06** at limit **
   8  Prefactor     3.5898        1.4628       -.15375E-07    .30708E-02
   9  Prefactor     25.913        1.7499        .92658E-08   -.78043E-02
  10  norm          1.3674        .55940        .91737E-08    .19649E-02
  11  Prefactor     .18152E-07    7.7758       -.36857E-08** at limit **
  12  Prefactor     .33340E-06    16.017       -.34350E-06** at limit **
  13  norm          1.3057        1.6378        .73010E-09    .59427E-03
  14  Prefactor     .60279        1.2038       -.54033E-07    .42080E-02
  15  Prefactor     19.659        1.6095        .47025E-09   -.15027E-01
  16  norm           .0000        .52960       -.35204E-07** at limit **
  17  Prefactor     20.793        14.263        .11153E-06   -.82166E-02
  18  norm          3.9549        2.3916        .75328E-07    .29645E-02
  19  norm          1.4235        .81522        .30013E-08    .23898E-02
  20  Prefactor     .21381        .51897        .45522E-07** at limit **
  21  Prefactor     .15821E-07    7.8879       -.13065E-06** at limit **
  22  norm          1.2148        .37745       -.22487E-07   -.12287E-01
  23  Prefactor     3.6234        3.1777       -.80484E-07   -.16559E-02
  24  Prefactor     11.705        1.4237       -.15305E-09    .53347E-03
  25  Prefactor     .14450E-06    2.5905       -.23335E-07** at limit **
  26  Prefactor     4.8098        4.2124       -.10452E-07    .72871E-03
  27  norm          .84126        2.5435        .29127E-07    .32184E-02
  28  norm          .78415E-06    7.0818       -.66813E-07** at limit **
  29  Prefactor     8.1847        5.5117       -.24978E-07   -.23918E-01
  30  Prefactor     .72164E-09    3.0572       -.89700E-07** at limit **
  31  Normalizat    .98132        .12796       -.33530E-05   -.72241E-04
  32  Prefactor     1.0510        .95382E-01    .24326E-05    .12651E-03
                               ERR DEF=  .500    
Final values: 
  norm       = 0.580041
  norm       = 0
  Prefactor  = 7.88549
  Prefactor  = 5.55112e-11
  Prefactor  = 2.22045e-09
  Prefactor  = 6.12288e-08
  norm       = 2.10293e-06
  Prefactor  = 3.58984
  Prefactor  = 25.9132
  norm       = 1.36743
  Prefactor  = 1.81521e-08
  Prefactor  = 3.334e-07
  norm       = 1.30571
  Prefactor  = 0.602786
  Prefactor  = 19.6595
  norm       = 0
  Prefactor  = 20.7929
  norm       = 3.95488
  norm       = 1.42348
  Prefactor  = 0.213806
  Prefactor  = 1.58207e-08
  norm       = 1.21482
  Prefactor  = 3.62341
  Prefactor  = 11.7049
  Prefactor  = 1.44496e-07
  Prefactor  = 4.80978
  norm       = 0.841264
  norm       = 7.84151e-07
  Prefactor  = 8.18471
  Prefactor  = 7.21645e-10
  Normalizat = 0.981316
  Prefactor  = 1.05104
 outfile=/lscratch/kocevski/39451081/ltcube_811728001_812332801_4FGL_J0809.5+5341_weekly_bin947.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/39451081/ft2_4FGL_J0809.5+5341_weekly_bin947.fits
.....................!
real 19.48
user 18.66
sys 0.25

Generating the exposure map:
time -p gtexpmap evfile=/lscratch/kocevski/39451081/ft1_filtered_4FGL_J0809.5+5341_weekly_bin947.fits evtable="EVENTS" scfile=/lscratch/kocevski/39451081/ft2_4FGL_J0809.5+5341_weekly_bin947.fits sctable="SC_DATA" expcube=/lscratch/kocevski/39451081/ltcube_811728001_812332801_4FGL_J0809.5+5341_weekly_bin947.fits outfile=/lscratch/kocevski/39451081/expmap_811728001_812332801_4FGL_J0809.5+5341_weekly_bin947.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/39451081/ltcube_811728001_812332801_4FGL_J0809.5+5341_weekly_bin947.fits
.....................!
real 73.24
user 68.19
sys 4.28

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

Setting source of interest to:
4FGL J0809.5+5341 @ 122.379 53.6876

Creating the counts map:
time -p gtbin evfile=/lscratch/kocevski/39451081/ft1_filtered_4FGL_J0809.5+5341_weekly_bin947.fits scfile=/lscratch/kocevski/39451081/ft2_4FGL_J0809.5+5341_weekly_bin947.fits outfile=/lscratch/kocevski/39451081/cmap_811728001_812332801_4FGL_J0809.5+5341_weekly_bin947.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.379 yref=53.6876 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.60
user 0.25
sys 0.14

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

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

This is gtbin version HEAD
real 0.62
user 0.26
sys 0.13

Computing the diffuse response:
time -p gtdiffrsp evfile=/lscratch/kocevski/39451081/ft1_filtered_4FGL_J0809.5+5341_weekly_bin947.fits evtable="EVENTS" scfile=/lscratch/kocevski/39451081/ft2_4FGL_J0809.5+5341_weekly_bin947.fits sctable="SC_DATA" srcmdl=/lscratch/kocevski/39451081/Model_4FGL_J0809.5+5341_weekly_bin947.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 sourc **********
 **   18 **HESSE 
 **********

 FCN=   17780.91     FROM HESSE     STATUS=OK           743 CALLS     3212 TOTAL
                     EDM=   .30E-05    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  norm          .58004        2.4303        .68870E-03   -1.5693    
   2  norm           .0000        .80757        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   3  Prefactor     7.8855        6.4272        .35667E-03   -1.5652    
   4  Prefactor     .55511E-10    1.1826        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   5  Prefactor     .22204E-08    2.9291        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   6  Prefactor     .61229E-07    4.0378        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   7  norm          .21029E-05    1.6554        .63501E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   8  Prefactor     3.5898        8.8846        .53357E-03   -1.5670    
   9  Prefactor     25.913        17.669        .19698E-03   -1.5606    
  10  norm          1.3674        .57057        .93250E-03   -1.5685    
  11  Prefactor     .18152E-07    8.0887        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  12  Prefactor     .33340E-06    17.780        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  13  norm          1.3057        1.6633        .96441E-03   -1.5685    
  14  Prefactor     .60279        9.7094        .62984E-03   -1.5692    
  15  Prefactor     19.659        12.111        .22573E-03   -1.5619    
  16  norm           .0000        .52963        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  17  Prefactor     20.793        23.143        .22381E-03   -1.5617    
  18  norm          3.9549        2.4038        .50699E-03   -1.5668    
  19  norm          1.4235        .81273        .90610E-03   -1.5684    
  20  Prefactor     .21381        .45361        .34626E-02   -1.5699    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  21  Prefactor     .15821E-07    8.9930        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  22  norm          1.2148        .37907        .10048E-02   -1.5686    
  23  Prefactor     3.6234        3.2033        .53069E-03   -1.5670    
  24  Prefactor     11.705        18.918        .29247E-03   -1.5640    
  25  Prefactor     .14450E-06    4.0053        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  26  Prefactor     4.8098        4.2468        .45972E-03   -1.5664    
  27  norm          .84126        2.5770        .50180E-03   -1.5690    
  28  norm          .78415E-06    1.5065        .58771E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  29  Prefactor     8.1847        5.5623        .35026E-03   -1.5651    
  30  Prefactor     .72164E-09    3.1073        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  31  Normalizat    .98132        .11538        .45940E-01   -.93659    
  32  Prefactor     1.0510        .84511E-01    .39860E-01   -.91047    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 3.03877e-06
Minuit parameter uncertainties:
  1  2.37462
  2  7.16041e-07
  3  6.42718
  4  1.46383e-05
  5  0.000160584
  6  0.000994565
  7  0.00373156
  8  8.88467
  9  17.6692
  10  0.570572
  11  0.000766852
  12  0.00486945
  13  1.66334
  14  4.83847
  15  12.1108
  16  4.27933e-07
  17  23.1431
  18  2.40385
  19  0.812727
  20  0.45361
  21  0.000753809
  22  0.379065
  23  3.20328
  24  18.918
  25  0.00152163
  26  4.24684
  27  2.57696
  28  0.00217376
  29  5.56227
  30  9.51997e-05
  31  0.115409
  32  0.0845216
Done.

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

Extracting fit parameters...

4FGL J0809.5+5341
   Spectrum: LogParabola
326         norm:  3.955e+00  2.404e+00  0.000e+00  1.000e+06 ( 1.000e-12)
327        alpha:  2.165e+00  0.000e+00  0.000e+00  5.000e+00 ( 1.000e+00) fixed
328         beta:  1.129e-01  0.000e+00 -5.000e+00  1.000e+01 ( 1.000e+00) fixed
329           Eb:  8.538e+02  0.000e+00  3.000e+01  5.000e+05 ( 1.000e+00) fixed

GAL_V02
   Spectrum: PowerLaw
727    Prefactor:  1.051e+00  8.452e-02  0.000e+00  1.000e+01 ( 1.000e+00)
728        Index:  0.000e+00  0.000e+00 -1.000e+00  1.000e+00 ( 1.000e+00) fixed
729        Scale:  1.000e+02  0.000e+00  5.000e+01  2.000e+02 ( 1.000e+00) fixed

EG_v02
   Spectrum: FileFunction
726   Normalization:  9.813e-01  1.154e-01  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Fixed Index): 7.42
Ra Dec: 122.379 53.688
Photon Index (Fixed Index): 2.16 +/- 0.00
Photon Flux (Fixed Index): 2.73e-08 +/- 1.66e-08
Energy Flux (Fixed Index): 1.20e-05 +/- 7.31e-06

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) = 17780.8259151
delta logL = 0.079952598524

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

MINUIT Return Code (Free Index): 0
logL (Free Index) = 17780.8192373
delta logL = 0.0866304373849

Fit tolerance = 1e-08

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

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

 MIGRAD MINIMIZATION HAS CONVERGED.

 MIGRAD WILL VERIFY CONVERGENCE AND ERROR MATRIX.

 MIGRAD MINIMIZATION HAS CONVERGED.

 FCN=   17780.82     FROM MIGRAD    STATUS=CONVERGED     51 CALLS      229 TOTAL
                     EDM=   .83E-09  STRATEGY=1  ERROR MATRIX UNCERTAINTY=100.0%

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  norm          3.5858        1.9369        .30475E-07   -.27377E-01
   2  alpha         1.8660        .48199       -.44518E-05   -.11320E-03
   3  Normalizat    .98970        .11110        .10708E-06    .11996E-03
   4  Prefactor     1.0490        .83482E-01   -.52370E-07    .12469E-03
                               ERR DEF=  .500    
Final values: 
  norm       = 3.58583
  alpha      = 1.86604
  Normalizat = 0.989701
  Prefactor  = 1.04904
 **********
 **   18 **HESSE 
 **********

 FCN=   17780.82     FROM HESSE     STATUS=OK            33 CALLS      262 TOTAL
                     EDM=   .48E-08    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  norm          3.5858        2.8159        .16157E-04   -1.5670    
   2  alpha         1.8660        .73114        .25786E-01   -.25638    
   3  Normalizat    .98970        .12545        .28007E-03   -.93376    
   4  Prefactor     1.0490        .94281E-01    .20584E-03   -.91112    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 4.84198e-09
Minuit parameter uncertainties:
  1  2.81592
  2  0.742762
  3  0.125485
  4  0.0942961
shell-init: error retrieving current directory: getcwd: cannot access parent directories: No such file or directory
Done.

MINUIT Return Code (Free Index): 0
logL (Free Index) = 17780.8192372
delta logL = 0.0866304478986

Extracting fit parameters...

4FGL J0809.5+5341
   Spectrum: LogParabola
326         norm:  3.586e+00  2.816e+00  0.000e+00  1.000e+06 ( 1.000e-12)
327        alpha:  1.866e+00  7.428e-01  0.000e+00  5.000e+00 ( 1.000e+00)
328         beta:  1.129e-01  0.000e+00 -5.000e+00  1.000e+01 ( 1.000e+00) fixed
329           Eb:  8.538e+02  0.000e+00  3.000e+01  5.000e+05 ( 1.000e+00) fixed

GAL_V02
   Spectrum: PowerLaw
727    Prefactor:  1.049e+00  9.430e-02  0.000e+00  1.000e+01 ( 1.000e+00)
728        Index:  0.000e+00  0.000e+00 -1.000e+00  1.000e+00 ( 1.000e+00) fixed
729        Scale:  1.000e+02  0.000e+00  5.000e+01  2.000e+02 ( 1.000e+00) fixed

EG_v02
   Spectrum: FileFunction
726   Normalization:  9.897e-01  1.255e-01  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Free Index): 7.60
Ra Dec: 122.379 53.688
Photon Index (Free Index): 1.87 +/- 0.74
Photon Flux (Free Index): 1.79e-08 +/- 2.35e-08
Energy Flux (Free Index): 1.26e-05 +/- 8.76e-06

Creating a high resolution counts map...
INFO: Auto-setting vmin to -1.000e-01 [aplpy.core]
INFO: Auto-setting vmax to  1.110e+00 [aplpy.core]
Saving /lscratch/kocevski/39450884/cmap_HighResolution_811728001_812332801_4FGL_J0809.5+5341_weekly_bin947.png

Cleaning up...

** Nuclear option initiated! **

Updating database...

UPDATE lightcurve_data_v2 SET comment='SUCCESS', photon_flux='2.73e-08', energy_flux2='1.26e-05', photon_flux_error='1.66e-08', dlogl='8.66e-02', energy_flux='1.20e-05', photon_flux2='1.79e-08', job_status='DONE', time_completed='2026-09-29 11:01:23.838982', photon_index_error2='0.74', photon_index2='1.87', ts='7.42', fit_tolerance='1e-08', GAL='1.05', photon_index_error='0.00', energy_flux_error2='8.76e-06', EG='0.98', time_epoch_completed='1790704883.84', return_code='0', job_id='39450884', GAL2='1.05', EG2='0.99', return_code2='0', energy_flux_error='7.31e-06', photon_flux_error2='2.35e-08', ts2='7.60', photon_index='2.16' WHERE bin_id='947' AND source_name='4FGL J0809.5+5341' AND cadence='weekly';

Database successfully updated.


Analysis Complete.


Tue Sep 29 11:01:23 PDT 2026

e GAL_V02
Working on...
/lscratch/kocevski/39450904/ft1_filtered_4FGL_J0809.5+5341_weekly_bin947.fits.....................!
real 73.03
user 71.61
sys 0.64

Creating the likelihood object...
obs = UnbinnedObs('/lscratch/kocevski/39450904/ft1_filtered_4FGL_J0809.5+5341_weekly_bin947.fits', '/lscratch/kocevski/39450904/ft2_4FGL_J0809.5+5341_weekly_bin947.fits', expMap='/lscratch/kocevski/39450904/expmap_811728001_812332801_4FGL_J0809.5+5341_weekly_bin947.fits', expCube='/lscratch/kocevski/39450904/ltcube_811728001_812332801_4FGL_J0809.5+5341_weekly_bin947.fits', irfs='P8R3_SOURCE_V2')
like = UnbinnedAnalysis(obs, '/lscratch/kocevski/39450904/Model_4FGL_J0809.5+5341_weekly_bin947.xml', optimizer='MINUIT')

Using source of interest name: '4FGL J0809.5+5341'

4FGL J0809.5+5341
   Spectrum: LogParabola
326         norm:  2.091e+00  0.000e+00  0.000e+00  1.000e+06 ( 1.000e-12)
327        alpha:  2.165e+00  0.000e+00  0.000e+00  5.000e+00 ( 1.000e+00) fixed
328         beta:  1.129e-01  0.000e+00 -5.000e+00  1.000e+01 ( 1.000e+00) fixed
329           Eb:  8.538e+02  0.000e+00  3.000e+01  5.000e+05 ( 1.000e+00) fixed


Likelihood Fit Parameters:
Event file(s): /lscratch/kocevski/39450904/ft1_filtered_4FGL_J0809.5+5341_weekly_bin947.fits
Spacecraft file(s): /lscratch/kocevski/39450904/ft2_4FGL_J0809.5+5341_weekly_bin947.fits
Exposure map: /lscratch/kocevski/39450904/expmap_811728001_812332801_4FGL_J0809.5+5341_weekly_bin947.fits
Exposure cube: /lscratch/kocevski/39450904/ltcube_811728001_812332801_4FGL_J0809.5+5341_weekly_bin947.fits
IRFs: P8R3_SOURCE_V2
Source model file: /lscratch/kocevski/39450904/Model_4FGL_J0809.5+5341_weekly_bin947.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) = 17780.9721031

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

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

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'norm      '    .60401       1.0000          .0000       .10000E+07
     2 'norm      '    .33029E-07   1.0000          .0000       .10000E+07
     3 'Prefactor '    7.8925       1.0000          .0000       .10000E+07
     4 'Prefactor '    .86335E-05   1.0000          .0000       .10000E+07
     5 'Prefactor '    .32213E-04   1.0000          .0000       .10000E+07
     6 'Prefactor '    .48531E-04   1.0000          .0000       .10000E+07
     7 'norm      '    .44016E-03   1.0000          .0000       .10000E+07
     8 'Prefactor '    3.5837       1.0000          .0000       .10000E+07
     9 'Prefactor '    25.783       1.0000          .0000       .10000E+07
    10 'norm      '    1.3674       1.0000          .0000       .10000E+07
    11 'Prefactor '    .34578E-02   1.0000          .0000       .10000E+07
    12 'Prefactor '    .63855E-04   1.0000          .0000       .10000E+07
    13 'norm      '    1.3077       1.0000          .0000       .10000E+07
    14 'Prefactor '    .67232       1.0000          .0000       .10000E+07
    15 'Prefactor '    19.639       1.0000          .0000       .10000E+07
    16 'norm      '    .10925E-06   1.0000          .0000       .10000E+07
    17 'Prefactor '    19.976       1.0000          .0000       .10000E+07
    18 'norm      '    3.9547       1.0000          .0000       .10000E+07
    19 'norm      '    1.4233       1.0000          .0000       .10000E+07
    20 'Prefactor '    .21354       1.0000          .0000       .10000E+07
    21 'Prefactor '    .22205E-03   1.0000          .0000       .10000E+07
    22 'norm      '    1.2154       1.0000          .0000       .10000E+07
    23 'Prefactor '    3.6211       1.0000          .0000       .10000E+07
    24 'Prefactor '    11.712       1.0000          .0000       .10000E+07
    25 'Prefactor '    .74598E-04   1.0000          .0000       .10000E+07
    26 'Prefactor '    4.7846       1.0000          .0000       .10000E+07
    27 'norm      '    .83751       1.0000          .0000       .10000E+07
    28 'norm      '    .15615E-02   1.0000          .0000       .10000E+07
    29 'Prefactor '    8.1819       1.0000          .0000       .10000E+07
    30 'Prefactor '    .21917E-04   1.0000          .0000       .10000E+07
    31 'Normalizat'    .98193       1.0000         .10000E-01   10.000    
    32 'Prefactor '    1.0509       1.0000          .0000       10.000    
 **********
 **   15 **SET ERR    .5000    
 **********
 **********
 **   16 **SET GRAD    1.000    
 **********
 **********
 **   17 **MINIMIZE    .7300E+05   .2000E-04
 **********

 MIGRAD MINIMIZATION HAS CONVERGED.

 FCN=   17780.91     FROM MIGRAD    STATUS=CONVERGED    163 CALLS     2469 TOTAL
                     EDM=   .11E-08  STRATEGY=1  ERROR MATRIX UNCERTAINTY=  3.9%

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  norm          .58004        2.4298        .13678E-07   -.34393E-03
   2  norm           .0000        .80541        .80935E-07** at limit **
   3  Prefactor     7.8855        5.5900       -.68681E-07   -.75747E-01
   4  Prefactor     .55511E-10    1.1893       -.34686E-07** at limit **
   5  Prefactor     .22204E-08    2.9164       -.65074E-07** at limit **
   6  Prefactor     .61229E-07    2.8734       -.11626E-06** at limit **
   7  norm          .21029E-05    9.2833       -.32198E-06** at limit **
   8  Prefactor     3.5898        1.4628       -.15375E-07    .30708E-02
   9  Prefactor     25.913        1.7499        .92658E-08   -.78043E-02
  10  norm          1.3674        .55940        .91737E-08    .19649E-02
  11  Prefactor     .18152E-07    7.7758       -.36857E-08** at limit **
  12  Prefactor     .33340E-06    16.017       -.34350E-06** at limit **
  13  norm          1.3057        1.6378        .73010E-09    .59427E-03
  14  Prefactor     .60279        1.2038       -.54033E-07    .42080E-02
  15  Prefactor     19.659        1.6095        .47025E-09   -.15027E-01
  16  norm           .0000        .52960       -.35204E-07** at limit **
  17  Prefactor     20.793        14.263        .11153E-06   -.82166E-02
  18  norm          3.9549        2.3916        .75328E-07    .29645E-02
  19  norm          1.4235        .81522        .30013E-08    .23898E-02
  20  Prefactor     .21381        .51897        .45522E-07** at limit **
  21  Prefactor     .15821E-07    7.8879       -.13065E-06** at limit **
  22  norm          1.2148        .37745       -.22487E-07   -.12287E-01
  23  Prefactor     3.6234        3.1777       -.80484E-07   -.16559E-02
  24  Prefactor     11.705        1.4237       -.15305E-09    .53347E-03
  25  Prefactor     .14450E-06    2.5905       -.23335E-07** at limit **
  26  Prefactor     4.8098        4.2124       -.10452E-07    .72871E-03
  27  norm          .84126        2.5435        .29127E-07    .32184E-02
  28  norm          .78415E-06    7.0818       -.66813E-07** at limit **
  29  Prefactor     8.1847        5.5117       -.24978E-07   -.23918E-01
  30  Prefactor     .72164E-09    3.0572       -.89700E-07** at limit **
  31  Normalizat    .98132        .12796       -.33530E-05   -.72241E-04
  32  Prefactor     1.0510        .95382E-01    .24326E-05    .12651E-03
                               ERR DEF=  .500    
Final values: 
  norm       = 0.580041
  norm       = 0
  Prefactor  = 7.88549
  Prefactor  = 5.55112e-11
  Prefactor  = 2.22045e-09
  Prefactor  = 6.12288e-08
  norm       = 2.10293e-06
  Prefactor  = 3.58984
  Prefactor  = 25.9132
  norm       = 1.36743
  Prefactor  = 1.81521e-08
  Prefactor  = 3.334e-07
  norm       = 1.30571
  Prefactor  = 0.602786
  Prefactor  = 19.6595
  norm       = 0
  Prefactor  = 20.7929
  norm       = 3.95488
  norm       = 1.42348
  Prefactor  = 0.213806
  Prefactor  = 1.58207e-08
  norm       = 1.21482
  Prefactor  = 3.62341
  Prefactor  = 11.7049
  Prefactor  = 1.44496e-07
  Prefactor  = 4.80978
  norm       = 0.841264
  norm       = 7.84151e-07
  Prefactor  = 8.18471
  Prefactor  = 7.21645e-10
  Normalizat = 0.981316
  Prefactor  = 1.05104
 **********
 **   18 **HESSE 
 **********

 FCN=   17780.91     FROM HESSE     STATUS=OK           743 CALLS     3212 TOTAL
                     EDM=   .30E-05    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  norm          .58004        2.4303        .68870E-03   -1.5693    
   2  norm           .0000        .80757        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   3  Prefactor     7.8855        6.4272        .35667E-03   -1.5652    
   4  Prefactor     .55511E-10    1.1826        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   5  Prefactor     .22204E-08    2.9291        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   6  Prefactor     .61229E-07    4.0378        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   7  norm          .21029E-05    1.6554        .63501E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   8  Prefactor     3.5898        8.8846        .53357E-03   -1.5670    
   9  Prefactor     25.913        17.669        .19698E-03   -1.5606    
  10  norm          1.3674        .57057        .93250E-03   -1.5685    
  11  Prefactor     .18152E-07    8.0887        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  12  Prefactor     .33340E-06    17.780        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  13  norm          1.3057        1.6633        .96441E-03   -1.5685    
  14  Prefactor     .60279        9.7094        .62984E-03   -1.5692    
  15  Prefactor     19.659        12.111        .22573E-03   -1.5619    
  16  norm           .0000        .52963        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  17  Prefactor     20.793        23.143        .22381E-03   -1.5617    
  18  norm          3.9549        2.4038        .50699E-03   -1.5668    
  19  norm          1.4235        .81273        .90610E-03   -1.5684    
  20  Prefactor     .21381        .45361        .34626E-02   -1.5699    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  21  Prefactor     .15821E-07    8.9930        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  22  norm          1.2148        .37907        .10048E-02   -1.5686    
  23  Prefactor     3.6234        3.2033        .53069E-03   -1.5670    
  24  Prefactor     11.705        18.918        .29247E-03   -1.5640    
  25  Prefactor     .14450E-06    4.0053        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  26  Prefactor     4.8098        4.2468        .45972E-03   -1.5664    
  27  norm          .84126        2.5770        .50180E-03   -1.5690    
  28  norm          .78415E-06    1.5065        .58771E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  29  Prefactor     8.1847        5.5623        .35026E-03   -1.5651    
  30  Prefactor     .72164E-09    3.1073        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  31  Normalizat    .98132        .11538        .45940E-01   -.93659    
  32  Prefactor     1.0510        .84511E-01    .39860E-01   -.91047    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 3.03877e-06
Minuit parameter uncertainties:
  1  2.37462
  2  7.16041e-07
  3  6.42718
  4  1.46383e-05
  5  0.000160584
  6  0.000994565
  7  0.00373156
  8  8.88467
  9  17.6692
  10  0.570572
  11  0.000766852
  12  0.00486945
  13  1.66334
  14  4.83847
  15  12.1108
  16  4.27933e-07
  17  23.1431
  18  2.40385
  19  0.812727
  20  0.45361
  21  0.000753809
  22  0.379065
  23  3.20328
  24  18.918
  25  0.00152163
  26  4.24684
  27  2.57696
  28  0.00217376
  29  5.56227
  30  9.51997e-05
  31  0.115409
  32  0.0845216
Done.

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

Extracting fit parameters...

4FGL J0809.5+5341
   Spectrum: LogParabola
326         norm:  3.955e+00  2.404e+00  0.000e+00  1.000e+06 ( 1.000e-12)
327        alpha:  2.165e+00  0.000e+00  0.000e+00  5.000e+00 ( 1.000e+00) fixed
328         beta:  1.129e-01  0.000e+00 -5.000e+00  1.000e+01 ( 1.000e+00) fixed
329           Eb:  8.538e+02  0.000e+00  3.000e+01  5.000e+05 ( 1.000e+00) fixed

GAL_V02
   Spectrum: PowerLaw
727    Prefactor:  1.051e+00  8.452e-02  0.000e+00  1.000e+01 ( 1.000e+00)
728        Index:  0.000e+00  0.000e+00 -1.000e+00  1.000e+00 ( 1.000e+00) fixed
729        Scale:  1.000e+02  0.000e+00  5.000e+01  2.000e+02 ( 1.000e+00) fixed

EG_v02
   Spectrum: FileFunction
726   Normalization:  9.813e-01  1.154e-01  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Fixed Index): 7.42
Ra Dec: 122.379 53.688
Photon Index (Fixed Index): 2.16 +/- 0.00
Photon Flux (Fixed Index): 2.73e-08 +/- 1.66e-08
Energy Flux (Fixed Index): 1.20e-05 +/- 7.31e-06

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) = 17780.8259151
delta logL = 0.079952598524

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

MINUIT Return Code (Free Index): 0
logL (Free Index) = 17780.8192373
delta logL = 0.0866304373849

Fit tolerance = 1e-08

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

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

 MIGRAD MINIMIZATION HAS CONVERGED.

 MIGRAD WILL VERIFY CONVERGENCE AND ERROR MATRIX.

 MIGRAD MINIMIZATION HAS CONVERGED.

 FCN=   17780.82     FROM MIGRAD    STATUS=CONVERGED     51 CALLS      229 TOTAL
                     EDM=   .83E-09  STRATEGY=1  ERROR MATRIX UNCERTAINTY=100.0%

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  norm          3.5858        1.9369        .30475E-07   -.27377E-01
   2  alpha         1.8660        .48199       -.44518E-05   -.11320E-03
   3  Normalizat    .98970        .11110        .10708E-06    .11996E-03
   4  Prefactor     1.0490        .83482E-01   -.52370E-07    .12469E-03
                               ERR DEF=  .500    
Final values: 
  norm       = 3.58583
  alpha      = 1.86604
  Normalizat = 0.989701
  Prefactor  = 1.04904
 **********
 **   18 **HESSE 
 **********

 FCN=   17780.82     FROM HESSE     STATUS=OK            33 CALLS      262 TOTAL
                     EDM=   .48E-08    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  norm          3.5858        2.8159        .16157E-04   -1.5670    
   2  alpha         1.8660        .73114        .25786E-01   -.25638    
   3  Normalizat    .98970        .12545        .28007E-03   -.93376    
   4  Prefactor     1.0490        .94281E-01    .20584E-03   -.91112    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 4.84198e-09
Minuit parameter uncertainties:
  1  2.81592
  2  0.742762
  3  0.125485
  4  0.0942961
shell-init: error retrieving current directory: getcwd: cannot access parent directories: No such file or directory
Done.

MINUIT Return Code (Free Index): 0
logL (Free Index) = 17780.8192372
delta logL = 0.0866304478986

Extracting fit parameters...

4FGL J0809.5+5341
   Spectrum: LogParabola
326         norm:  3.586e+00  2.816e+00  0.000e+00  1.000e+06 ( 1.000e-12)
327        alpha:  1.866e+00  7.428e-01  0.000e+00  5.000e+00 ( 1.000e+00)
328         beta:  1.129e-01  0.000e+00 -5.000e+00  1.000e+01 ( 1.000e+00) fixed
329           Eb:  8.538e+02  0.000e+00  3.000e+01  5.000e+05 ( 1.000e+00) fixed

GAL_V02
   Spectrum: PowerLaw
727    Prefactor:  1.049e+00  9.430e-02  0.000e+00  1.000e+01 ( 1.000e+00)
728        Index:  0.000e+00  0.000e+00 -1.000e+00  1.000e+00 ( 1.000e+00) fixed
729        Scale:  1.000e+02  0.000e+00  5.000e+01  2.000e+02 ( 1.000e+00) fixed

EG_v02
   Spectrum: FileFunction
726   Normalization:  9.897e-01  1.255e-01  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Free Index): 7.60
Ra Dec: 122.379 53.688
Photon Index (Free Index): 1.87 +/- 0.74
Photon Flux (Free Index): 1.79e-08 +/- 2.35e-08
Energy Flux (Free Index): 1.26e-05 +/- 8.76e-06

Creating a high resolution counts map...
INFO: Auto-setting vmin to -1.000e-01 [aplpy.core]
INFO: Auto-setting vmax to  1.110e+00 [aplpy.core]
Saving /lscratch/kocevski/39450904/cmap_HighResolution_811728001_812332801_4FGL_J0809.5+5341_weekly_bin947.png

Cleaning up...

** Nuclear option initiated! **

Updating database...

UPDATE lightcurve_data_v2 SET comment='SUCCESS', photon_flux='2.73e-08', energy_flux2='1.26e-05', photon_flux_error='1.66e-08', dlogl='8.66e-02', energy_flux='1.20e-05', photon_flux2='1.79e-08', job_status='DONE', time_completed='2026-09-29 11:04:55.286065', photon_index_error2='0.74', photon_index2='1.87', ts='7.42', fit_tolerance='1e-08', GAL='1.05', photon_index_error='0.00', energy_flux_error2='8.76e-06', EG='0.98', time_epoch_completed='1790705095.29', return_code='0', job_id='39450904', GAL2='1.05', EG2='0.99', return_code2='0', energy_flux_error='7.31e-06', photon_flux_error2='2.35e-08', ts2='7.60', photon_index='2.16' WHERE bin_id='947' AND source_name='4FGL J0809.5+5341' AND cadence='weekly';

Database successfully updated.


Analysis Complete.


Tue Sep 29 11:04:55 PDT 2026

e GAL_V02
Working on...
/lscratch/kocevski/39451081/ft1_filtered_4FGL_J0809.5+5341_weekly_bin947.fits.....................!
real 68.65
user 66.81
sys 0.90

Creating the likelihood object...
obs = UnbinnedObs('/lscratch/kocevski/39451081/ft1_filtered_4FGL_J0809.5+5341_weekly_bin947.fits', '/lscratch/kocevski/39451081/ft2_4FGL_J0809.5+5341_weekly_bin947.fits', expMap='/lscratch/kocevski/39451081/expmap_811728001_812332801_4FGL_J0809.5+5341_weekly_bin947.fits', expCube='/lscratch/kocevski/39451081/ltcube_811728001_812332801_4FGL_J0809.5+5341_weekly_bin947.fits', irfs='P8R3_SOURCE_V2')
like = UnbinnedAnalysis(obs, '/lscratch/kocevski/39451081/Model_4FGL_J0809.5+5341_weekly_bin947.xml', optimizer='MINUIT')

Using source of interest name: '4FGL J0809.5+5341'

4FGL J0809.5+5341
   Spectrum: LogParabola
326         norm:  2.091e+00  0.000e+00  0.000e+00  1.000e+06 ( 1.000e-12)
327        alpha:  2.165e+00  0.000e+00  0.000e+00  5.000e+00 ( 1.000e+00) fixed
328         beta:  1.129e-01  0.000e+00 -5.000e+00  1.000e+01 ( 1.000e+00) fixed
329           Eb:  8.538e+02  0.000e+00  3.000e+01  5.000e+05 ( 1.000e+00) fixed


Likelihood Fit Parameters:
Event file(s): /lscratch/kocevski/39451081/ft1_filtered_4FGL_J0809.5+5341_weekly_bin947.fits
Spacecraft file(s): /lscratch/kocevski/39451081/ft2_4FGL_J0809.5+5341_weekly_bin947.fits
Exposure map: /lscratch/kocevski/39451081/expmap_811728001_812332801_4FGL_J0809.5+5341_weekly_bin947.fits
Exposure cube: /lscratch/kocevski/39451081/ltcube_811728001_812332801_4FGL_J0809.5+5341_weekly_bin947.fits
IRFs: P8R3_SOURCE_V2
Source model file: /lscratch/kocevski/39451081/Model_4FGL_J0809.5+5341_weekly_bin947.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) = 17780.9721031

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

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

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'norm      '    .60401       1.0000          .0000       .10000E+07
     2 'norm      '    .33029E-07   1.0000          .0000       .10000E+07
     3 'Prefactor '    7.8925       1.0000          .0000       .10000E+07
     4 'Prefactor '    .86335E-05   1.0000          .0000       .10000E+07
     5 'Prefactor '    .32213E-04   1.0000          .0000       .10000E+07
     6 'Prefactor '    .48531E-04   1.0000          .0000       .10000E+07
     7 'norm      '    .44016E-03   1.0000          .0000       .10000E+07
     8 'Prefactor '    3.5837       1.0000          .0000       .10000E+07
     9 'Prefactor '    25.783       1.0000          .0000       .10000E+07
    10 'norm      '    1.3674       1.0000          .0000       .10000E+07
    11 'Prefactor '    .34578E-02   1.0000          .0000       .10000E+07
    12 'Prefactor '    .63855E-04   1.0000          .0000       .10000E+07
    13 'norm      '    1.3077       1.0000          .0000       .10000E+07
    14 'Prefactor '    .67232       1.0000          .0000       .10000E+07
    15 'Prefactor '    19.639       1.0000          .0000       .10000E+07
    16 'norm      '    .10925E-06   1.0000          .0000       .10000E+07
    17 'Prefactor '    19.976       1.0000          .0000       .10000E+07
    18 'norm      '    3.9547       1.0000          .0000       .10000E+07
    19 'norm      '    1.4233       1.0000          .0000       .10000E+07
    20 'Prefactor '    .21354       1.0000          .0000       .10000E+07
    21 'Prefactor '    .22205E-03   1.0000          .0000       .10000E+07
    22 'norm      '    1.2154       1.0000          .0000       .10000E+07
    23 'Prefactor '    3.6211       1.0000          .0000       .10000E+07
    24 'Prefactor '    11.712       1.0000          .0000       .10000E+07
    25 'Prefactor '    .74598E-04   1.0000          .0000       .10000E+07
    26 'Prefactor '    4.7846       1.0000          .0000       .10000E+07
    27 'norm      '    .83751       1.0000          .0000       .10000E+07
    28 'norm      '    .15615E-02   1.0000          .0000       .10000E+07
    29 'Prefactor '    8.1819       1.0000          .0000       .10000E+07
    30 'Prefactor '    .21917E-04   1.0000          .0000       .10000E+07
    31 'Normalizat'    .98193       1.0000         .10000E-01   10.000    
    32 'Prefactor '    1.0509       1.0000          .0000       10.000    
 **********
 **   15 **SET ERR    .5000    
 **********
 **********
 **   16 **SET GRAD    1.000    
 **********
 **********
 **   17 **MINIMIZE    .7300E+05   .2000E-04
 **********

 MIGRAD MINIMIZATION HAS CONVERGED.

 FCN=   17780.91     FROM MIGRAD    STATUS=CONVERGED    163 CALLS     2469 TOTAL
                     EDM=   .11E-08  STRATEGY=1  ERROR MATRIX UNCERTAINTY=  3.9%

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  norm          .58004        2.4298        .13678E-07   -.34393E-03
   2  norm           .0000        .80541        .80935E-07** at limit **
   3  Prefactor     7.8855        5.5900       -.68681E-07   -.75747E-01
   4  Prefactor     .55511E-10    1.1893       -.34686E-07** at limit **
   5  Prefactor     .22204E-08    2.9164       -.65074E-07** at limit **
   6  Prefactor     .61229E-07    2.8734       -.11626E-06** at limit **
   7  norm          .21029E-05    9.2833       -.32198E-06** at limit **
   8  Prefactor     3.5898        1.4628       -.15375E-07    .30708E-02
   9  Prefactor     25.913        1.7499        .92658E-08   -.78043E-02
  10  norm          1.3674        .55940        .91737E-08    .19649E-02
  11  Prefactor     .18152E-07    7.7758       -.36857E-08** at limit **
  12  Prefactor     .33340E-06    16.017       -.34350E-06** at limit **
  13  norm          1.3057        1.6378        .73010E-09    .59427E-03
  14  Prefactor     .60279        1.2038       -.54033E-07    .42080E-02
  15  Prefactor     19.659        1.6095        .47025E-09   -.15027E-01
  16  norm           .0000        .52960       -.35204E-07** at limit **
  17  Prefactor     20.793        14.263        .11153E-06   -.82166E-02
  18  norm          3.9549        2.3916        .75328E-07    .29645E-02
  19  norm          1.4235        .81522        .30013E-08    .23898E-02
  20  Prefactor     .21381        .51897        .45522E-07** at limit **
  21  Prefactor     .15821E-07    7.8879       -.13065E-06** at limit **
  22  norm          1.2148        .37745       -.22487E-07   -.12287E-01
  23  Prefactor     3.6234        3.1777       -.80484E-07   -.16559E-02
  24  Prefactor     11.705        1.4237       -.15305E-09    .53347E-03
  25  Prefactor     .14450E-06    2.5905       -.23335E-07** at limit **
  26  Prefactor     4.8098        4.2124       -.10452E-07    .72871E-03
  27  norm          .84126        2.5435        .29127E-07    .32184E-02
  28  norm          .78415E-06    7.0818       -.66813E-07** at limit **
  29  Prefactor     8.1847        5.5117       -.24978E-07   -.23918E-01
  30  Prefactor     .72164E-09    3.0572       -.89700E-07** at limit **
  31  Normalizat    .98132        .12796       -.33530E-05   -.72241E-04
  32  Prefactor     1.0510        .95382E-01    .24326E-05    .12651E-03
                               ERR DEF=  .500    
Final values: 
  norm       = 0.580041
  norm       = 0
  Prefactor  = 7.88549
  Prefactor  = 5.55112e-11
  Prefactor  = 2.22045e-09
  Prefactor  = 6.12288e-08
  norm       = 2.10293e-06
  Prefactor  = 3.58984
  Prefactor  = 25.9132
  norm       = 1.36743
  Prefactor  = 1.81521e-08
  Prefactor  = 3.334e-07
  norm       = 1.30571
  Prefactor  = 0.602786
  Prefactor  = 19.6595
  norm       = 0
  Prefactor  = 20.7929
  norm       = 3.95488
  norm       = 1.42348
  Prefactor  = 0.213806
  Prefactor  = 1.58207e-08
  norm       = 1.21482
  Prefactor  = 3.62341
  Prefactor  = 11.7049
  Prefactor  = 1.44496e-07
  Prefactor  = 4.80978
  norm       = 0.841264
  norm       = 7.84151e-07
  Prefactor  = 8.18471
  Prefactor  = 7.21645e-10
  Normalizat = 0.981316
  Prefactor  = 1.05104
 **********
 **   18 **HESSE 
 **********

 FCN=   17780.91     FROM HESSE     STATUS=OK           743 CALLS     3212 TOTAL
                     EDM=   .30E-05    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  norm          .58004        2.4303        .68870E-03   -1.5693    
   2  norm           .0000        .80757        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   3  Prefactor     7.8855        6.4272        .35667E-03   -1.5652    
   4  Prefactor     .55511E-10    1.1826        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   5  Prefactor     .22204E-08    2.9291        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   6  Prefactor     .61229E-07    4.0378        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   7  norm          .21029E-05    1.6554        .63501E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   8  Prefactor     3.5898        8.8846        .53357E-03   -1.5670    
   9  Prefactor     25.913        17.669        .19698E-03   -1.5606    
  10  norm          1.3674        .57057        .93250E-03   -1.5685    
  11  Prefactor     .18152E-07    8.0887        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  12  Prefactor     .33340E-06    17.780        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  13  norm          1.3057        1.6633        .96441E-03   -1.5685    
  14  Prefactor     .60279        9.7094        .62984E-03   -1.5692    
  15  Prefactor     19.659        12.111        .22573E-03   -1.5619    
  16  norm           .0000        .52963        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  17  Prefactor     20.793        23.143        .22381E-03   -1.5617    
  18  norm          3.9549        2.4038        .50699E-03   -1.5668    
  19  norm          1.4235        .81273        .90610E-03   -1.5684    
  20  Prefactor     .21381        .45361        .34626E-02   -1.5699    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  21  Prefactor     .15821E-07    8.9930        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  22  norm          1.2148        .37907        .10048E-02   -1.5686    
  23  Prefactor     3.6234        3.2033        .53069E-03   -1.5670    
  24  Prefactor     11.705        18.918        .29247E-03   -1.5640    
  25  Prefactor     .14450E-06    4.0053        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  26  Prefactor     4.8098        4.2468        .45972E-03   -1.5664    
  27  norm          .84126        2.5770        .50180E-03   -1.5690    
  28  norm          .78415E-06    1.5065        .58771E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  29  Prefactor     8.1847        5.5623        .35026E-03   -1.5651    
  30  Prefactor     .72164E-09    3.1073        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  31  Normalizat    .98132        .11538        .45940E-01   -.93659    
  32  Prefactor     1.0510        .84511E-01    .39860E-01   -.91047    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 3.03877e-06
Minuit parameter uncertainties:
  1  2.37462
  2  7.16041e-07
  3  6.42718
  4  1.46383e-05
  5  0.000160584
  6  0.000994565
  7  0.00373156
  8  8.88467
  9  17.6692
  10  0.570572
  11  0.000766852
  12  0.00486945
  13  1.66334
  14  4.83847
  15  12.1108
  16  4.27933e-07
  17  23.1431
  18  2.40385
  19  0.812727
  20  0.45361
  21  0.000753809
  22  0.379065
  23  3.20328
  24  18.918
  25  0.00152163
  26  4.24684
  27  2.57696
  28  0.00217376
  29  5.56227
  30  9.51997e-05
  31  0.115409
  32  0.0845216
Done.

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

Extracting fit parameters...

4FGL J0809.5+5341
   Spectrum: LogParabola
326         norm:  3.955e+00  2.404e+00  0.000e+00  1.000e+06 ( 1.000e-12)
327        alpha:  2.165e+00  0.000e+00  0.000e+00  5.000e+00 ( 1.000e+00) fixed
328         beta:  1.129e-01  0.000e+00 -5.000e+00  1.000e+01 ( 1.000e+00) fixed
329           Eb:  8.538e+02  0.000e+00  3.000e+01  5.000e+05 ( 1.000e+00) fixed

GAL_V02
   Spectrum: PowerLaw
727    Prefactor:  1.051e+00  8.452e-02  0.000e+00  1.000e+01 ( 1.000e+00)
728        Index:  0.000e+00  0.000e+00 -1.000e+00  1.000e+00 ( 1.000e+00) fixed
729        Scale:  1.000e+02  0.000e+00  5.000e+01  2.000e+02 ( 1.000e+00) fixed

EG_v02
   Spectrum: FileFunction
726   Normalization:  9.813e-01  1.154e-01  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Fixed Index): 7.42
Ra Dec: 122.379 53.688
Photon Index (Fixed Index): 2.16 +/- 0.00
Photon Flux (Fixed Index): 2.73e-08 +/- 1.66e-08
Energy Flux (Fixed Index): 1.20e-05 +/- 7.31e-06

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) = 17780.8259151
delta logL = 0.079952598524

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

MINUIT Return Code (Free Index): 0
logL (Free Index) = 17780.8192373
delta logL = 0.0866304373849

Fit tolerance = 1e-08

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

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

 MIGRAD MINIMIZATION HAS CONVERGED.

 MIGRAD WILL VERIFY CONVERGENCE AND ERROR MATRIX.

 MIGRAD MINIMIZATION HAS CONVERGED.

 FCN=   17780.82     FROM MIGRAD    STATUS=CONVERGED     51 CALLS      229 TOTAL
                     EDM=   .83E-09  STRATEGY=1  ERROR MATRIX UNCERTAINTY=100.0%

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  norm          3.5858        1.9369        .30475E-07   -.27377E-01
   2  alpha         1.8660        .48199       -.44518E-05   -.11320E-03
   3  Normalizat    .98970        .11110        .10708E-06    .11996E-03
   4  Prefactor     1.0490        .83482E-01   -.52370E-07    .12469E-03
                               ERR DEF=  .500    
Final values: 
  norm       = 3.58583
  alpha      = 1.86604
  Normalizat = 0.989701
  Prefactor  = 1.04904
 **********
 **   18 **HESSE 
 **********

 FCN=   17780.82     FROM HESSE     STATUS=OK            33 CALLS      262 TOTAL
                     EDM=   .48E-08    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  norm          3.5858        2.8159        .16157E-04   -1.5670    
   2  alpha         1.8660        .73114        .25786E-01   -.25638    
   3  Normalizat    .98970        .12545        .28007E-03   -.93376    
   4  Prefactor     1.0490        .94281E-01    .20584E-03   -.91112    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 4.84198e-09
Minuit parameter uncertainties:
  1  2.81592
  2  0.742762
  3  0.125485
  4  0.0942961
shell-init: error retrieving current directory: getcwd: cannot access parent directories: No such file or directory
Done.

MINUIT Return Code (Free Index): 0
logL (Free Index) = 17780.8192372
delta logL = 0.0866304478986

Extracting fit parameters...

4FGL J0809.5+5341
   Spectrum: LogParabola
326         norm:  3.586e+00  2.816e+00  0.000e+00  1.000e+06 ( 1.000e-12)
327        alpha:  1.866e+00  7.428e-01  0.000e+00  5.000e+00 ( 1.000e+00)
328         beta:  1.129e-01  0.000e+00 -5.000e+00  1.000e+01 ( 1.000e+00) fixed
329           Eb:  8.538e+02  0.000e+00  3.000e+01  5.000e+05 ( 1.000e+00) fixed

GAL_V02
   Spectrum: PowerLaw
727    Prefactor:  1.049e+00  9.430e-02  0.000e+00  1.000e+01 ( 1.000e+00)
728        Index:  0.000e+00  0.000e+00 -1.000e+00  1.000e+00 ( 1.000e+00) fixed
729        Scale:  1.000e+02  0.000e+00  5.000e+01  2.000e+02 ( 1.000e+00) fixed

EG_v02
   Spectrum: FileFunction
726   Normalization:  9.897e-01  1.255e-01  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Free Index): 7.60
Ra Dec: 122.379 53.688
Photon Index (Free Index): 1.87 +/- 0.74
Photon Flux (Free Index): 1.79e-08 +/- 2.35e-08
Energy Flux (Free Index): 1.26e-05 +/- 8.76e-06

Creating a high resolution counts map...
INFO: Auto-setting vmin to -1.000e-01 [aplpy.core]
INFO: Auto-setting vmax to  1.110e+00 [aplpy.core]
Saving /lscratch/kocevski/39451081/cmap_HighResolution_811728001_812332801_4FGL_J0809.5+5341_weekly_bin947.png

Cleaning up...

** Nuclear option initiated! **

Updating database...

UPDATE lightcurve_data_v2 SET comment='SUCCESS', photon_flux='2.73e-08', energy_flux2='1.26e-05', photon_flux_error='1.66e-08', dlogl='8.66e-02', energy_flux='1.20e-05', photon_flux2='1.79e-08', job_status='DONE', time_completed='2026-09-29 11:08:41.782678', photon_index_error2='0.74', photon_index2='1.87', ts='7.42', fit_tolerance='1e-08', GAL='1.05', photon_index_error='0.00', energy_flux_error2='8.76e-06', EG='0.98', time_epoch_completed='1790705321.78', return_code='0', job_id='39451081', GAL2='1.05', EG2='0.99', return_code2='0', energy_flux_error='7.31e-06', photon_flux_error2='2.35e-08', ts2='7.60', photon_index='2.16' WHERE bin_id='947' AND source_name='4FGL J0809.5+5341' AND cadence='weekly';

Database successfully updated.


Analysis Complete.


Tue Sep 29 11:08:42 PDT 2026

