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

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


Performing analysis on: 4FGL_J0805.4+7534_daily_bin2051
RA = 121.362, Dec = 75.5766
tmin = 770947201, tmax = 771206401
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='6058748', job_status='RUN', time_executed='2025-06-10 02:55:37.621841', time_epoch_executed='1749549337.62' WHERE source_name='4FGL J0805.4+7534' and cadence='daily' and bin_id='2051'

Database successfully updated.
Done.

Creating custom output directory:
/lscratch/kocevski/6058748

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

Retrieving the FT1 file...

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

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

Retrieving 46 files...
Done.


Merging files...

Checksum keywords updated successfully.

Merged file saved to:
/lscratch/kocevski/6058748/ft1_4FGL_J0805.4+7534_daily_bin2051.fits


Retrieving the FT1 file...

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

Retrieving 46 files...
Done.


Merging files...

Merged file saved to:
/lscratch/kocevski/6058748/ft2_4FGL_J0805.4+7534_daily_bin2051.fits


Selecting the photons:
time -p gtselect infile=/lscratch/kocevski/6058748/ft1_4FGL_J0805.4+7534_daily_bin2051.fits outfile=/lscratch/kocevski/6058748/ft1_filteredMKT_4FGL_J0805.4+7534_daily_bin2051.fits ra=121.362 dec=75.5766 rad=12.0 tmin=770947201.0 tmax=771206401.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.20
user 1.99
sys 0.27

Adding sun position to ft2 file:
/sdf/group/fermi/g/LCRepository/Repository/bin/sunpos /lscratch/kocevski/6058748/ft2_4FGL_J0805.4+7534_daily_bin2051.fits

Selecting the good time intervals:
time -p gtmktime scfile=/lscratch/kocevski/6058748/ft2_4FGL_J0805.4+7534_daily_bin2051.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/6058748/ft1_filteredMKT_4FGL_J0805.4+7534_daily_bin2051.fits evtable="EVENTS" outfile="/lscratch/kocevski/6058748/ft1_filtered_4FGL_J0805.4+7534_daily_bin2051.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 2.00
user 0.21
sys 0.16

Number of photons that the gtmktime cut: 1007

Generating the livetime cube:
time -p gtltcube evfile="/lscratch/kocevski/6058748/ft1_filtered_4FGL_J0805.4+7534_daily_bin2051.fits" evtable="EVENTS" scfile=/lscratch/kocevski/6058748/ft2_4FGL_J0805.4+7534_daily_bin2051.fits sctable="SC_DATA" outfile=/lscratch/kocevski/6058748/ltcube_770947201_771206401_4FGL_J0805.4+7534_daily_bin2051.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/6058748/ft2_4FGL_J0805.4+7534_daily_bin2051.fits
.....................!
real 8.52
user 6.95
sys 0.30

Generating the exposure map:
time -p gtexpmap evfile=/lscratch/kocevski/6058748/ft1_filtered_4FGL_J0805.4+7534_daily_bin2051.fits evtable="EVENTS" scfile=/lscratch/kocevski/6058748/ft2_4FGL_J0805.4+7534_daily_bin2051.fits sctable="SC_DATA" expcube=/lscratch/kocevski/6058748/ltcube_770947201_771206401_4FGL_J0805.4+7534_daily_bin2051.fits outfile=/lscratch/kocevski/6058748/expmap_770947201_771206401_4FGL_J0805.4+7534_daily_bin2051.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/6058748/ltcube_770947201_771206401_4FGL_J0805.4+7534_daily_bin2051.fits
.....................!
real 61.73
user 56.48
sys 3.46

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

Setting source of interest to:
4FGL J0805.4+7534 @ 121.362 75.5766

Creating the counts map:
time -p gtbin evfile=/lscratch/kocevski/6058748/ft1_filtered_4FGL_J0805.4+7534_daily_bin2051.fits scfile=/lscratch/kocevski/6058748/ft2_4FGL_J0805.4+7534_daily_bin2051.fits outfile=/lscratch/kocevski/6058748/cmap_770947201_771206401_4FGL_J0805.4+7534_daily_bin2051.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=121.362 yref=75.5766 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.90
user 0.22
sys 0.15

Creating the high resolution counts map:
time -p gtbin evfile=/lscratch/kocevski/6058748/ft1_filtered_4FGL_J0805.4+7534_daily_bin2051.fits scfile=/lscratch/kocevski/6058748/ft2_4FGL_J0805.4+7534_daily_bin2051.fits outfile=/lscratch/kocevski/6058748/cmap_HighResolution_770947201_771206401_4FGL_J0805.4+7534_daily_bin2051.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=121.362 yref=75.5766 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.95
user 0.22
sys 0.16

Computing the diffuse response:
time -p gtdiffrsp evfile=/lscratch/kocevski/6058748/ft1_filtered_4FGL_J0805.4+7534_daily_bin2051.fits evtable="EVENTS" scfile=/lscratch/kocevski/6058748/ft2_4FGL_J0805.4+7534_daily_bin2051.fits sctable="SC_DATA" srcmdl=/lscratch/kocevski/6058748/Model_4FGL_J0805.4+7534_daily_bin2051.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/6058748/ft1_filtered_4FGL_J0805.4+7534_daily_bin2051.fits.....................!
real 46.95
user 44.05
sys 0.94

Creating the likelihood object...
obs = UnbinnedObs('/lscratch/kocevski/6058748/ft1_filtered_4FGL_J0805.4+7534_daily_bin2051.fits', '/lscratch/kocevski/6058748/ft2_4FGL_J0805.4+7534_daily_bin2051.fits', expMap='/lscratch/kocevski/6058748/expmap_770947201_771206401_4FGL_J0805.4+7534_daily_bin2051.fits', expCube='/lscratch/kocevski/6058748/ltcube_770947201_771206401_4FGL_J0805.4+7534_daily_bin2051.fits', irfs='P8R3_SOURCE_V2')
like = UnbinnedAnalysis(obs, '/lscratch/kocevski/6058748/Model_4FGL_J0805.4+7534_daily_bin2051.xml', optimizer='MINUIT')

Using source of interest name: '4FGL J0805.4+7534'

4FGL J0805.4+7534
   Spectrum: PowerLaw
308    Prefactor:  2.138e+00  0.000e+00  0.000e+00  1.000e+06 ( 1.000e-13)
309        Index:  1.854e+00  0.000e+00  0.000e+00  1.000e+01 (-1.000e+00) fixed
310        Scale:  2.474e+03  0.000e+00  3.000e+01  5.000e+05 ( 1.000e+00) fixed


Likelihood Fit Parameters:
Event file(s): /lscratch/kocevski/6058748/ft1_filtered_4FGL_J0805.4+7534_daily_bin2051.fits
Spacecraft file(s): /lscratch/kocevski/6058748/ft2_4FGL_J0805.4+7534_daily_bin2051.fits
Exposure map: /lscratch/kocevski/6058748/expmap_770947201_771206401_4FGL_J0805.4+7534_daily_bin2051.fits
Exposure cube: /lscratch/kocevski/6058748/ltcube_770947201_771206401_4FGL_J0805.4+7534_daily_bin2051.fits
IRFs: P8R3_SOURCE_V2
Source model file: /lscratch/kocevski/6058748/Model_4FGL_J0805.4+7534_daily_bin2051.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) = 10568.1698982

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

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

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'Prefactor '    19.679       1.0000          .0000       .10000E+07
     2 'Prefactor '    .30029E-05   1.0000          .0000       .10000E+07
     3 'norm      '    .88868E-03   1.0000          .0000       .10000E+07
     4 'norm      '    2.0959       1.0000          .0000       .10000E+07
     5 'norm      '    .17894E-02   1.0000          .0000       .10000E+07
     6 'Prefactor '    .35556E-03   1.0000          .0000       .10000E+07
     7 'Prefactor '    .26253E-02   1.0000          .0000       .10000E+07
     8 'Prefactor '    .57176E-06   1.0000          .0000       .10000E+07
     9 'Prefactor '    1.0034       1.0000          .0000       .10000E+07
    10 'norm      '    .10458E-05   1.0000          .0000       .10000E+07
    11 'Prefactor '    .33692E-04   1.0000          .0000       .10000E+07
    12 'Prefactor '    1.3667       1.0000          .0000       .10000E+07
    13 'Prefactor '    .17902E-04   1.0000          .0000       .10000E+07
    14 'Prefactor '    1.9518       1.0000          .0000       .10000E+07
    15 'Prefactor '    1.6487       1.0000          .0000       .10000E+07
    16 'Prefactor '    .86207E-03   1.0000          .0000       .10000E+07
    17 'Prefactor '    .83381E-05   1.0000          .0000       .10000E+07
    18 'norm      '    5.9661       1.0000          .0000       .10000E+07
    19 'Prefactor '    10.550       1.0000          .0000       .10000E+07
    20 'norm      '    2.1738       1.0000          .0000       .10000E+07
    21 'Prefactor '    .29902E-04   1.0000          .0000       .10000E+07
    22 'Normalizat'    1.1195       1.0000         .10000E-01   10.000    
    23 'Prefactor '    1.0868       1.0000          .0000       10.000    
 **********
 **   15 **SET ERR    .5000    
 **********
 **********
 **   16 **SET GRAD    1.000    
 **********
 **********
 **   17 **MINIMIZE    .7150E+05   .2000E-04
 **********

 MIGRAD MINIMIZATION HAS CONVERGED.

 FCN=   10568.09     FROM MIGRAD    STATUS=CONVERGED    125 CALLS     1437 TOTAL
                     EDM=   .14E-08  STRATEGY=1  ERROR MATRIX UNCERTAINTY=  1.5%

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor     20.360        5.0728        .39936E-07    .12453    
   2  Prefactor     .34139E-07    5.3158       -.21270E-06** at limit **
   3  norm          .16331E-06    4.5835       -.23578E-06** at limit **
   4  norm          2.0943        .62032        .10739E-07    .64669E-02
   5  norm          .16709E-07    2.6309        .13364E-07** at limit **
   6  Prefactor     .20289E-06    4.6927       -.42914E-07** at limit **
   7  Prefactor     .57543E-06    3.2512       -.95284E-08** at limit **
   8  Prefactor      .0000        1.2445       -.76199E-08** at limit **
   9  Prefactor     1.0029        1.0874        .26040E-07    .32772E-02
  10  norm          .55511E-10    2.0330        .12777E-06** at limit **
  11  Prefactor     .16098E-08    12.476       -.33992E-06** at limit **
  12  Prefactor     1.4020        1.7400        .59921E-07    .42912E-02
  13  Prefactor      .0000        2.7959       -.77425E-08** at limit **
  14  Prefactor     1.9833        1.5981        .11651E-07   -.13747E-02
  15  Prefactor     1.7150        3.2073        .12845E-06   -.11901E-02
  16  Prefactor     .71110E-07    4.9582       -.85926E-07** at limit **
  17  Prefactor     .11302E-06    30.939       -.79122E-06** at limit **
  18  norm          5.9948        4.1602       -.27854E-07   -.25702E-02
  19  Prefactor     10.557        7.0984        .14233E-07    .30242E-02
  20  norm          2.1731        1.3007       -.77117E-10    .14747E-03
  21  Prefactor     .41217E-06    3.1505        .21040E-07** at limit **
  22  Normalizat    1.1191        .17503       -.28648E-05   -.22378E-03
  23  Prefactor     1.0864        .11196        .99976E-06   -.15985E-03
                               ERR DEF=  .500    
Final values: 
  Prefactor  = 20.3604
  Prefactor  = 3.41394e-08
  norm       = 1.63314e-07
  norm       = 2.09433
  norm       = 1.67089e-08
  Prefactor  = 2.02893e-07
  Prefactor  = 5.75429e-07
  Prefactor  = 0
  Prefactor  = 1.00286
  norm       = 5.55112e-11
  Prefactor  = 1.60982e-09
  Prefactor  = 1.40196
  Prefactor  = 0
  Prefactor  = 1.98332
  Prefactor  = 1.71504
  Prefactor  = 7.11098e-08
  Prefactor  = 1.13021e-07
  norm       = 5.99479
  Prefactor  = 10.5565
  norm       = 2.17314
  Prefactor  = 4.1217e-07
  Normalizat = 1.11915
  Prefactor  = 1.0864
 **********
 **   18 **HESSE 
 **********

 FCN=   10568.09     FROM HESSE     STATUS=OK           410 CALLS     1847 TOTAL
                     EDM=   .13E-05    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  Prefactor     20.360        22.845        .22550E-03   -1.5618    
   2  Prefactor     .34139E-07    10.217        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   3  norm          .16331E-06    10.773        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   4  norm          2.0943        .62203        .71266E-03   -1.5679    
   5  norm          .16709E-07    7.2096        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   6  Prefactor     .20289E-06    5.4251        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   7  Prefactor     .57543E-06    7.7121        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   8  Prefactor      .0000        1.2424        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   9  Prefactor     1.0029        1.0905        .43886E-03   -1.5688    
  10  norm          .55511E-10    2.0010        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  11  Prefactor     .16098E-08    13.385        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  12  Prefactor     1.4020        40.707        .93284E-03   -1.5684    
  13  Prefactor      .0000        2.7990        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  14  Prefactor     1.9833        16.987        .74247E-03   -1.5680    
  15  Prefactor     1.7150        25.206        .82207E-03   -1.5682    
  16  Prefactor     .71110E-07    5.2360        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  17  Prefactor     .11302E-06    31.341        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  18  norm          5.9948        4.1665        .41087E-03   -1.5659    
  19  Prefactor     10.557        7.6154        .30823E-03   -1.5643    
  20  norm          2.1731        1.2980        .69809E-04   -1.5678    
  21  Prefactor     .41217E-06    6.9139        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  22  Normalizat    1.1191        .16163        .67837E-01   -.89139    
  23  Prefactor     1.0864        .99906E-01    .38109E-01   -.89902    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 1.28634e-06
Minuit parameter uncertainties:
  1  22.8454
  2  0.00118073
  3  0.00265291
  4  0.622029
  5  0.000694627
  6  0.00209841
  7  0.00421315
  8  4.70724e-06
  9  1.09048
  10  2.51272e-05
  11  0.000293045
  12  15.109
  13  3.46108e-06
  14  11.6086
  15  13.1497
  16  0.00122046
  17  0.00376418
  18  4.16652
  19  7.61544
  20  1.29802
  21  0.00337614
  22  0.161701
  23  0.0999234
Done.

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

Extracting fit parameters...

4FGL J0805.4+7534
   Spectrum: PowerLaw
308    Prefactor:  0.000e+00  4.707e-06  0.000e+00  1.000e+06 ( 1.000e-13)
309        Index:  1.854e+00  0.000e+00  0.000e+00  1.000e+01 (-1.000e+00) fixed
310        Scale:  2.474e+03  0.000e+00  3.000e+01  5.000e+05 ( 1.000e+00) fixed

GAL_V02
   Spectrum: PowerLaw
712    Prefactor:  1.086e+00  9.992e-02  0.000e+00  1.000e+01 ( 1.000e+00)
713        Index:  0.000e+00  0.000e+00 -1.000e+00  1.000e+00 ( 1.000e+00) fixed
714        Scale:  1.000e+02  0.000e+00  5.000e+01  2.000e+02 ( 1.000e+00) fixed

EG_v02
   Spectrum: FileFunction
711   Normalization:  1.119e+00  1.617e-01  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Fixed Index): 0.00
Ra Dec: 121.362 75.577
Photon Flux Upper Limit: 2.76421181756e-08 ph cm-2 s-1
Energy Flux Upper Limit: 0.00204696501536 MeV cm-2 s-1

Saving results to:
/lscratch/kocevski/6058748/likelihoodResults_770947201_771206401_4FGL_J0805.4+7534_daily_bin2051.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): 102
logL (Free Index) = 10568.088442
delta logL = -0.00148433459253

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

MINUIT Return Code (Free Index): 102
logL (Free Index) = 10568.0869603
delta logL = -2.58048021351e-06

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'Prefactor '    .15728E-05   1.0000          .0000       .10000E+07
     2 'Index     '    .56190       1.0000          .0000       10.000    
     3 'Normalizat'    1.1191       1.0000         .10000E-01   10.000    
     4 'Prefactor '    1.0864       1.0000          .0000       10.000    
 **********
 **   15 **SET ERR    .5000    
 **********
 **********
 **   16 **SET GRAD    1.000    
 **********
 **********
 **   17 **MINIMIZE    .7150E+05   .2000E-04
 **********

 MIGRAD MINIMIZATION HAS CONVERGED.

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

 FCN=   10568.09     FROM MIGRAD    STATUS=CONVERGED     38 CALLS      234 TOTAL
                     EDM=   .12E-12  STRATEGY=1  ERROR MATRIX UNCERTAINTY=100.0%

  EXT PARAMETER                APPROXIMATE        STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor      .0000        1.3564        .42118E-03** at limit **
   2  Index         1.6295        1.4563        .85537E-05     .0000    
   3  Normalizat    1.1191        1.1429       -.65753E-05    .92290E-05
   4  Prefactor     1.0864        1.1580        .23299E-05    .19226E-04
                               ERR DEF=  .500    
Final values: 
  Prefactor  = 0
  Index      = 1.62952
  Normalizat = 1.11915
  Prefactor  = 1.0864
 **********
 **   18 **HESSE 
 **********
  MNHESS FAILS AND WILL RETURN DIAGONAL MATRIX. 

 FCN=   10568.09     FROM HESSE     STATUS=FAILED         9 CALLS      243 TOTAL
                     EDM=   .12E-12  STRATEGY=1  ERROR MATRIX UNCERTAINTY=100.0%

  EXT PARAMETER                APPROXIMATE     INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  Prefactor      .0000        1.3564        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   2  Index         .25549        1.6471        .85537E-05   -.73974    
   3  Normalizat    1.1191        1.1429       -.65753E-05   -.89139    
   4  Prefactor     1.0864        1.1580        .23299E-05   -.89902    
                               ERR DEF=  .500    
Minuit fit quality: 1   estimated distance: 1.22534e-13
Minuit parameter uncertainties:
  1  5.9546e-07
  2  1.49693
  3  1.16981
  4  1.18651
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) = 10568.0869577
delta logL = 3.27418092638e-11

Extracting fit parameters...

4FGL J0805.4+7534
   Spectrum: PowerLaw
308    Prefactor:  0.000e+00  5.955e-07  0.000e+00  1.000e+06 ( 1.000e-13)
309        Index:  1.630e+00  1.497e+00  0.000e+00  1.000e+01 (-1.000e+00)
310        Scale:  2.474e+03  0.000e+00  3.000e+01  5.000e+05 ( 1.000e+00) fixed

GAL_V02
   Spectrum: PowerLaw
712    Prefactor:  1.086e+00  1.187e+00  0.000e+00  1.000e+01 ( 1.000e+00)
713        Index:  0.000e+00  0.000e+00 -1.000e+00  1.000e+00 ( 1.000e+00) fixed
714        Scale:  1.000e+02  0.000e+00  5.000e+01  2.000e+02 ( 1.000e+00) fixed

EG_v02
   Spectrum: FileFunction
711   Normalization:  1.119e+00  1.170e+00  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Free Index): 0.00
Ra Dec: 121.362 75.577

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/6058748/cmap_HighResolution_770947201_771206401_4FGL_J0805.4+7534_daily_bin2051.png

Cleaning up...

** Nuclear option initiated! **

Updating database...

UPDATE lightcurve_data_v2 SET energy_flux_upper_limit='2.05e-03', job_status='DONE', photon_flux_upper_limit='2.76e-08', time_completed='2025-06-10 03:08:27.503831', job_id='6058748', GAL2='1.09', fit_tolerance='1e-08', EG2='1.12', EG='1.12', time_epoch_completed='1749550107.5', return_code2='101', ts='0.00', comment='SUCCESS', return_code='0', GAL='1.09', dlogl='3.27e-11', ts2='0.00', photon_index_error='0.00', photon_index='1.85' WHERE bin_id='2051' AND source_name='4FGL J0805.4+7534' AND cadence='daily';

Database successfully updated.


Analysis Complete.


Tue Jun 10 03:08:28 PDT 2025

