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

 FCN=   11350.39     FROM HESSE     STATUS=OK           282 CALLS     1620 TOTAL
                     EDM=   .15E-05    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  Prefactor     3.1125        3.2873        .57416E-03   -1.5673    
   2  Prefactor      .0000        3.7688        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   3  norm          .55511E-10    2.8401        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   4  norm          4.8441        1.7650        .45703E-03   -1.5664    
   5  Prefactor     .66280E-07    11.680        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   6  Prefactor     .16098E-08    6.1244        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   7  norm          .27756E-09    4.7074        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   8  Prefactor     .49960E-07    10.483        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   9  norm          .44409E-08    6.5932        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  10  Prefactor     41.658        25.933        .15286E-03   -1.5579    
  11  norm          1.4782        1.1080        .88075E-03   -1.5684    
  12  Prefactor     2.2665        1.5905        .68012E-03   -1.5678    
  13  Prefactor     26.287        20.848        .19805E-03   -1.5605    
  14  Prefactor     15.126        47.900        .26520E-03   -1.5630    
  15  norm           .0000        6.7000        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  16  Prefactor     8.4203        40.516        .36075E-03   -1.5650    
  17  Normalizat    .59748        .24237        .13390       -1.0809    
  18  Prefactor     1.1000        .69726E-01    .37594E-01   -.89465    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 1.54307e-06
Minuit parameter uncertainties:
  1  3.28728
  2  1.87761e-05
  3  2.42099e-05
  4  1.76499
  5  0.00175964
  6  0.000200039
  7  7.40436e-05
  8  0.00144733
  9  0.000341165
  10  25.9332
  11  1.10804
  12  1.59047
  13  20.8476
  14  47.9015
  15  1.78891e-05
  16  36.9413
  17  0.242798
  18  0.0697314
/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)

Working on...
/lscratch/kocevski/36150291/ft1_filtered_4FGL_J0358.6+0634_daily_bin2199.fits.....................!
real 62.52
user 60.71
sys 0.87

Creating the likelihood object...
obs = UnbinnedObs('/lscratch/kocevski/36150291/ft1_filtered_4FGL_J0358.6+0634_daily_bin2199.fits', '/lscratch/kocevski/36150291/ft2_4FGL_J0358.6+0634_daily_bin2199.fits', expMap='/lscratch/kocevski/36150291/expmap_809308801_809568001_4FGL_J0358.6+0634_daily_bin2199.fits', expCube='/lscratch/kocevski/36150291/ltcube_809308801_809568001_4FGL_J0358.6+0634_daily_bin2199.fits', irfs='P8R3_SOURCE_V2')
like = UnbinnedAnalysis(obs, '/lscratch/kocevski/36150291/Model_4FGL_J0358.6+0634_daily_bin2199.xml', optimizer='MINUIT')

Using source of interest name: '4FGL J0358.6+0634'

4FGL J0358.6+0634
   Spectrum: PowerLaw
232    Prefactor:  8.019e+00  0.000e+00  0.000e+00  1.000e+06 ( 1.000e-13)
233        Index:  2.567e+00  0.000e+00  0.000e+00  1.000e+01 (-1.000e+00) fixed
234        Scale:  7.663e+02  0.000e+00  3.000e+01  5.000e+05 ( 1.000e+00) fixed


Likelihood Fit Parameters:
Event file(s): /lscratch/kocevski/36150291/ft1_filtered_4FGL_J0358.6+0634_daily_bin2199.fits
Spacecraft file(s): /lscratch/kocevski/36150291/ft2_4FGL_J0358.6+0634_daily_bin2199.fits
Exposure map: /lscratch/kocevski/36150291/expmap_809308801_809568001_4FGL_J0358.6+0634_daily_bin2199.fits
Exposure cube: /lscratch/kocevski/36150291/ltcube_809308801_809568001_4FGL_J0358.6+0634_daily_bin2199.fits
IRFs: P8R3_SOURCE_V2
Source model file: /lscratch/kocevski/36150291/Model_4FGL_J0358.6+0634_daily_bin2199.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) = 11350.4336438

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

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

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'Prefactor '    3.1159       1.0000          .0000       .10000E+07
     2 'Prefactor '    .22308E-02   1.0000          .0000       .10000E+07
     3 'norm      '    .15529E-03   1.0000          .0000       .10000E+07
     4 'norm      '    4.8397       1.0000          .0000       .10000E+07
     5 'Prefactor '    .58060E-03   1.0000          .0000       .10000E+07
     6 'Prefactor '    .46083E-02   1.0000          .0000       .10000E+07
     7 'norm      '    .13593E-03   1.0000          .0000       .10000E+07
     8 'Prefactor '    .14129E-03   1.0000          .0000       .10000E+07
     9 'norm      '    .43504E-06   1.0000          .0000       .10000E+07
    10 'Prefactor '    42.806       1.0000          .0000       .10000E+07
    11 'norm      '    1.4831       1.0000          .0000       .10000E+07
    12 'Prefactor '    2.2775       1.0000          .0000       .10000E+07
    13 'Prefactor '    25.505       1.0000          .0000       .10000E+07
    14 'Prefactor '    14.236       1.0000          .0000       .10000E+07
    15 'norm      '    .14806E-04   1.0000          .0000       .10000E+07
    16 'Prefactor '    7.7164       1.0000          .0000       .10000E+07
    17 'Normalizat'    .59880       1.0000         .10000E-01   10.000    
    18 'Prefactor '    1.0998       1.0000          .0000       10.000    
 **********
 **   15 **SET ERR    .5000    
 **********
 **********
 **   16 **SET GRAD    1.000    
 **********
 **********
 **   17 **MINIMIZE    .4630E+05   .2000E-04
 **********

 MIGRAD MINIMIZATION HAS CONVERGED.

 FCN=   11350.39     FROM MIGRAD    STATUS=CONVERGED    140 CALLS     1338 TOTAL
                     EDM=   .73E-09  STRATEGY=1  ERROR MATRIX UNCERTAINTY=  4.0%

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor     3.1125        3.2902        .57550E-06   -.94259E-03
   2  Prefactor      .0000        3.7755       -.45261E-07** at limit **
   3  norm          .55511E-10    2.8440       -.16604E-06** at limit **
   4  norm          4.8441        1.7621        .15527E-06   -.32664E-02
   5  Prefactor     .66280E-07    11.646        .49567E-05** at limit **
   6  Prefactor     .16098E-08    6.1251       -.47192E-06** at limit **
   7  norm          .27756E-09    4.7087        .76611E-06** at limit **
   8  Prefactor     .49960E-07    10.461       -.22586E-05** at limit **
   9  norm          .44409E-08    6.6488        .15535E-05** at limit **
  10  Prefactor     41.658        25.610        .29291E-05    .62539E-01
  11  norm          1.4782        1.0838       -.13257E-06    .47899E-02
  12  Prefactor     2.2665        1.5568       -.44313E-06    .16831E-02
  13  Prefactor     26.287        20.673        .15013E-05    .15955E-01
  14  Prefactor     15.126        39.986        .60342E-06   -.56237E-01
  15  norm           .0000        6.9651        .29469E-05** at limit **
  16  Prefactor     8.4203        21.818       -.32289E-05    .79500E-01
  17  Normalizat    .59748        .24568       -.60797E-04   -.41191E-05
  18  Prefactor     1.1000        .71526E-01    .75011E-05   -.35524E-04
                               ERR DEF=  .500    
Final values: 
  Prefactor  = 3.11248
  Prefactor  = 0
  norm       = 5.55112e-11
  norm       = 4.84406
  Prefactor  = 6.62803e-08
  Prefactor  = 1.60982e-09
  norm       = 2.77556e-10
  Prefactor  = 4.996e-08
  norm       = 4.44089e-09
  Prefactor  = 41.6576
  norm       = 1.47821
  Prefactor  = 2.26648
  Prefactor  = 26.2871
  Prefactor  = 15.1262
  norm       = 0
  Prefactor  = 8.42032
  Normalizat = 0.597476
  Prefactor  = 1.10004
number of points = 7582
number of fields = 31
RA_SUN column already exists. File will not be modified.
Done.


Performing analysis on: 4FGL_J0358.6+0634_daily_bin2199
RA = 59.6656, Dec = 6.5759
tmin = 809308801, tmax = 809568001
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='36150877', job_status='RUN', time_executed='2026-08-28 03:10:15.431884', time_epoch_executed='1787911815.43' WHERE source_name='4FGL J0358.6+0634' and cadence='daily' and bin_id='2199'

Database successfully updated.
Done.

Creating custom output directory:
/lscratch/kocevski/36150877

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

Retrieving the FT1 file...

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

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

Retrieving 47 files...
Done.


Merging files...

Checksum keywords updated successfully.

Merged file saved to:
/lscratch/kocevski/36150877/ft1_4FGL_J0358.6+0634_daily_bin2199.fits


Retrieving the FT1 file...

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

Retrieving 47 files...
Done.


Merging files...

Merged file saved to:
/lscratch/kocevski/36150877/ft2_4FGL_J0358.6+0634_daily_bin2199.fits


Selecting the photons:
time -p gtselect infile=/lscratch/kocevski/36150877/ft1_4FGL_J0358.6+0634_daily_bin2199.fits outfile=/lscratch/kocevski/36150877/ft1_filteredMKT_4FGL_J0358.6+0634_daily_bin2199.fits ra=59.6656 dec=6.5759 rad=12.0 tmin=809308801.0 tmax=809568001.0 emin=100.0 emax=100000.0 zmin=0.0 zmax=90.0 evclass=128 evtype="INDEF" convtype=-1 phasemin=0.0 phasemax=1.0 evtable="EVENTS" chatter=2 clobber=yes debug=no gui=no mode="ql"

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

Done.
real 3.45
user 3.02
sys 0.18

Adding sun position to ft2 file:
/sdf/group/fermi/g/LCRepository/Repository/bin/sunpos /lscratch/kocevski/36150877/ft2_4FGL_J0358.6+0634_daily_bin2199.fits

Selecting the good time intervals:
time -p gtmktime scfile=/lscratch/kocevski/36150877/ft2_4FGL_J0358.6+0634_daily_bin2199.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/36150877/ft1_filteredMKT_4FGL_J0358.6+0634_daily_bin2199.fits evtable="EVENTS" outfile="/lscratch/kocevski/36150877/ft1_filtered_4FGL_J0358.6+0634_daily_bin2199.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.68
user 0.20
sys 0.14

Number of photons that the gtmktime cut: 1068

Generating the livetime cube:
time -p gtltcube evfile="/lscratch/kocevski/36150877/ft1_filtered_4FGL_J0358.6+0634_daily_bin2199.fits" evtable="EVENTS" scfile=/lscratch/kocevski/36150877/ft2_4FGL_J0358.6+0634_daily_bin2199.fits sctable="SC_DATA" out
WARNING: version mismatch between CFITSIO header (v3.43) and linked library (v3.41).

file=/lscratch/kocevski/36150582/ltcube_809308801_809568001_4FGL_J0358.6+0634_daily_bin2199.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/36150582/ft2_4FGL_J0358.6+0634_daily_bin2199.fits
.....................!
real 8.82
user 8.32
sys 0.22

Generating the exposure map:
time -p gtexpmap evfile=/lscratch/kocevski/36150582/ft1_filtered_4FGL_J0358.6+0634_daily_bin2199.fits evtable="EVENTS" scfile=/lscratch/kocevski/36150582/ft2_4FGL_J0358.6+0634_daily_bin2199.fits sctable="SC_DATA" expcube=/lscratch/kocevski/36150582/ltcube_809308801_809568001_4FGL_J0358.6+0634_daily_bin2199.fits outfile=/lscratch/kocevski/36150582/expmap_809308801_809568001_4FGL_J0358.6+0634_daily_bin2199.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/36150582/ltcube_809308801_809568001_4FGL_J0358.6+0634_daily_bin2199.fits
.....................!
real 74.86
user 69.77
sys 4.24

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

Setting source of interest to:
4FGL J0358.6+0634 @ 59.6656 6.5759

Creating the counts map:
time -p gtbin evfile=/lscratch/kocevski/36150582/ft1_filtered_4FGL_J0358.6+0634_daily_bin2199.fits scfile=/lscratch/kocevski/36150582/ft2_4FGL_J0358.6+0634_daily_bin2199.fits outfile=/lscratch/kocevski/36150582/cmap_809308801_809568001_4FGL_J0358.6+0634_daily_bin2199.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=59.6656 yref=6.5759 axisrot=0.0 rafield="RA" decfield="DEC" proj="AIT" hpx_ordering_scheme="RING" hpx_order=3 hpx_ebin=yes hpx_region="" evtable="EVENTS" sctable="SC_DATA" efield="ENERGY" tfield="TIME" chatter=2 clobber=yes debug=no gui=no mode="ql"

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

This is gtbin version HEAD
real 0.62
user 0.22
sys 0.14

Creating the high resolution counts map:
time -p gtbin evfile=/lscratch/kocevski/36150582/ft1_filtered_4FGL_J0358.6+0634_daily_bin2199.fits scfile=/lscratch/kocevski/36150582/ft2_4FGL_J0358.6+0634_daily_bin2199.fits outfile=/lscratch/kocevski/36150582/cmap_HighResolution_809308801_809568001_4FGL_J0358.6+0634_daily_bin2199.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=59.6656 yref=6.5759 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.58
user 0.23
sys 0.14

Computing the diffuse response:
time -p gtdiffrsp evfile=/lscratch/kocevski/36150582/ft1_filtered_4FGL_J0358.6+0634_daily_bin2199.fits evtable="EVENTS" scfile=/lscratch/kocevski/36150582/ft2_4FGL_J0358.6+0634_daily_bin2199.fits sctable="SC_DATA" srcmdl=/lscratch/kocevski/36150582/Model_4FGL_J0358.6+0634_daily_bin2199.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/36150297/ft1_filtered_4FGL_J0358.6+0634_daily_bin2199.fits.....................!
real 63.45
user 61.81
sys 0.76

Creating the likelihood object...
obs = UnbinnedObs('/lscratch/kocevski/36150297/ft1_filtered_4FGL_J0358.6+0634_daily_bin2199.fits', '/lscratch/kocevski/36150297/ft2_4FGL_J0358.6+0634_daily_bin2199.fits', expMap='/lscratch/kocevski/36150297/expmap_809308801_809568001_4FGL_J0358.6+0634_daily_bin2199.fits', expCube='/lscratch/kocevski/36150297/ltcube_809308801_809568001_4FGL_J0358.6+0634_daily_bin2199.fits', irfs='P8R3_SOURCE_V2')
like = UnbinnedAnalysis(obs, '/lscratch/kocevski/36150297/Model_4FGL_J0358.6+0634_daily_bin2199.xml', optimizer='MINUIT')

Using source of interest name: '4FGL J0358.6+0634'

4FGL J0358.6+0634
   Spectrum: PowerLaw
232    Prefactor:  8.019e+00  0.000e+00  0.000e+00  1.000e+06 ( 1.000e-13)
233        Index:  2.567e+00  0.000e+00  0.000e+00  1.000e+01 (-1.000e+00) fixed
234        Scale:  7.663e+02  0.000e+00  3.000e+01  5.000e+05 ( 1.000e+00) fixed


Likelihood Fit Parameters:
Event file(s): /lscratch/kocevski/36150297/ft1_filtered_4FGL_J0358.6+0634_daily_bin2199.fits
Spacecraft file(s): /lscratch/kocevski/36150297/ft2_4FGL_J0358.6+0634_daily_bin2199.fits
Exposure map: /lscratch/kocevski/36150297/expmap_809308801_809568001_4FGL_J0358.6+0634_daily_bin2199.fits
Exposure cube: /lscratch/kocevski/36150297/ltcube_809308801_809568001_4FGL_J0358.6+0634_daily_bin2199.fits
IRFs: P8R3_SOURCE_V2
Source model file: /lscratch/kocevski/36150297/Model_4FGL_J0358.6+0634_daily_bin2199.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) = 11350.4336438

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

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

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'Prefactor '    3.1159       1.0000          .0000       .10000E+07
     2 'Prefactor '    .22308E-02   1.0000          .0000       .10000E+07
     3 'norm      '    .15529E-03   1.0000          .0000       .10000E+07
     4 'norm      '    4.8397       1.0000          .0000       .10000E+07
     5 'Prefactor '    .58060E-03   1.0000          .0000       .10000E+07
     6 'Prefactor '    .46083E-02   1.0000          .0000       .10000E+07
     7 'norm      '    .13593E-03   1.0000          .0000       .10000E+07
     8 'Prefactor '    .14129E-03   1.0000          .0000       .10000E+07
     9 'norm      '    .43504E-06   1.0000          .0000       .10000E+07
    10 'Prefactor '    42.806       1.0000          .0000       .10000E+07
    11 'norm      '    1.4831       1.0000          .0000       .10000E+07
    12 'Prefactor '    2.2775       1.0000          .0000       .10000E+07
    13 'Prefactor '    25.505       1.0000          .0000       .10000E+07
    14 'Prefactor '    14.236       1.0000          .0000       .10000E+07
    15 'norm      '    .14806E-04   1.0000          .0000       .10000E+07
    16 'Prefactor '    7.7164       1.0000          .0000       .10000E+07
    17 'Normalizat'    .59880       1.0000         .10000E-01   10.000    
    18 'Prefactor '    1.0998       1.0000          .0000       10.000    
 **********
 **   15 **SET ERR    .5000    
 **********
 **********
 **   16 **SET GRAD    1.000    
 **********
 **********
 **   17 **MINIMIZE    .4630E+05   .2000E-04
 **********

 MIGRAD MINIMIZATION HAS CONVERGED.

 FCN=   11350.39     FROM MIGRAD    STATUS=CONVERGED    140 CALLS     1338 TOTAL
                     EDM=   .73E-09  STRATEGY=1  ERROR MATRIX UNCERTAINTY=  4.0%

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor     3.1125        3.2902        .57550E-06   -.94259E-03
   2  Prefactor      .0000        3.7755       -.45261E-07** at limit **
   3  norm          .55511E-10    2.8440       -.16604E-06** at limit **
   4  norm          4.8441        1.7621        .15527E-06   -.32664E-02
   5  Prefactor     .66280E-07    11.646        .49567E-05** at limit **
   6  Prefactor     .16098E-08    6.1251       -.47192E-06** at limit **
   7  norm          .27756E-09    4.7087        .76611E-06** at limit **
   8  Prefactor     .49960E-07    10.461       -.22586E-05** at limit **
   9  norm          .44409E-08    6.6488        .15535E-05** at limit **
  10  Prefactor     41.658        25.610        .29291E-05    .62539E-01
  11  norm          1.4782        1.0838       -.13257E-06    .47899E-02
  12  Prefactor     2.2665        1.5568       -.44313E-06    .16831E-02
  13  Prefactor     26.287        20.673        .15013E-05    .15955E-01
  14  Prefactor     15.126        39.986        .60342E-06   -.56237E-01
  15  norm           .0000        6.9651        .29469E-05** at limit **
  16  Prefactor     8.4203        21.818       -.32289E-05    .79500E-01
  17  Normalizat    .59748        .24568       -.60797E-04   -.41191E-05
  18  Prefactor     1.1000        .71526E-01    .75011E-05   -.35524E-04
                               ERR DEF=  .500    
Final values: 
  Prefactor  = 3.11248
  Prefactor  = 0
  norm       = 5.55112e-11
  norm       = 4.84406
  Prefactor  = 6.62803e-08
  Prefactor  = 1.60982e-09
  norm       = 2.77556e-10
  Prefactor  = 4.996e-08
  norm       = 4.44089e-09
  Prefactor  = 41.6576
  norm       = 1.47821
  Prefactor  = 2.26648
  Prefactor  = 26.2871
  Prefactor  = 15.1262
  norm       = 0
  Prefactor  = 8.42032
  Normalizat = 0.597476
  Prefactor  = 1.10004
 **********
 **   18 **HESSE 
 **********

 FCN=   11350.39     FROM HESSE     STATUS=OK           282 CALLS     1620 TOTAL
                     EDM=   .15E-05    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  Prefactor     3.1125        3.2873        .57416E-03   -1.5673    
   2  Prefactor      .0000        3.7688        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   3  norm          .55511E-10    2.8401        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   4  norm          4.8441        1.7650        .45703E-03   -1.5664    
   5  Prefactor     .66280E-07    11.680        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   6  Prefactor     .16098E-08    6.1244        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   7  norm          .27756E-09    4.7074        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   8  Prefactor     .49960E-07    10.483        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   9  norm          .44409E-08    6.5932        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  10  Prefactor     41.658        25.933        .15286E-03   -1.5579    
  11  norm          1.4782        1.1080        .88075E-03   -1.5684    
  12  Prefactor     2.2665        1.5905        .68012E-03   -1.5678    
  13  Prefactor     26.287        20.848        .19805E-03   -1.5605    
  14  Prefactor     15.126        47.900        .26520E-03   -1.5630    
  15  norm           .0000        6.7000        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  16  Prefactor     8.4203        40.516        .36075E-03   -1.5650    
  17  Normalizat    .59748        .24237        .13390       -1.0809    
  18  Prefactor     1.1000        .69726E-01    .37594E-01   -.89465    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 1.54307e-06
Minuit parameter uncertainties:
  1  3.28728
  2  1.87761e-05
  3  2.42099e-05
  4  1.76499
  5  0.00175964
  6  0.000200039
  7  7.40436e-05
  8  0.00144733
  9  0.000341165
  10  25.9332
  11  1.10804
  12  1.59047
  13  20.8476
  14  47.9015
  15  1.78891e-05
  16  36.9413
  17  0.242798
  18  0.0697314
Done.

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

Extracting fit parameters...

4FGL J0358.6+0634
   Spectrum: PowerLaw
232    Prefactor:  6.628e-08  1.760e-03  0.000e+00  1.000e+06 ( 1.000e-13)
233        Index:  2.567e+00  0.000e+00  0.000e+00  1.000e+01 (-1.000e+00) fixed
234        Scale:  7.663e+02  0.000e+00  3.000e+01  5.000e+05 ( 1.000e+00) fixed

GAL_V02
   Spectrum: PowerLaw
460    Prefactor:  1.100e+00  6.973e-02  0.000e+00  1.000e+01 ( 1.000e+00)
461        Index:  0.000e+00  0.000e+00 -1.000e+00  1.000e+00 ( 1.000e+00) fixed
462        Scale:  1.000e+02  0.000e+00  5.000e+01  2.000e+02 ( 1.000e+00) fixed

EG_v02
   Spectrum: FileFunction
459   Normalization:  5.975e-01  2.428e-01  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Fixed Index): -0.00
Ra Dec: 59.666 6.576
Photon Flux Upper Limit: 6.82052957497e-08 ph cm-2 s-1
Energy Flux Upper Limit: 0.00532694152483 MeV cm-2 s-1

Saving results to:
/lscratch/kocevski/36150279/likelihoodResults_809308801_809568001_4FGL_J0358.6+0634_daily_bin2199.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) = 11350.3857917
delta logL = -0.0001522196726

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

MINUIT Return Code (Free Index): 102
logL (Free Index) = 11350.3856395
delta logL = -7.4396666605e-10

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'Prefactor '    .53846E-08   1.0000          .0000       .10000E+07
     2 'Index     '    2.0516       1.0000          .0000       10.000    
     3 'Normalizat'    .59746       1.0000         .10000E-01   10.000    
     4 'Prefactor '    1.1000       1.0000          .0000       10.000    
 **********
 **   15 **SET ERR    .5000    
 **********
 **********
 **   16 **SET GRAD    1.000    
 **********
 **********
 **   17 **MINIMIZE    .4630E+05   .2000E-04
 **********

 MIGRAD MINIMIZATION HAS CONVERGED.

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

 FCN=   11350.39     FROM MIGRAD    STATUS=CONVERGED     49 CALLS      253 TOTAL
                     EDM=   .56E-12  STRATEGY=1  ERROR MATRIX UNCERTAINTY=100.0%

  EXT PARAMETER                APPROXIMATE        STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor      .0000        3.3420        .42118E-03** at limit **
   2  Index         .82408        .69364       -.79744E-05     .0000    
   3  Normalizat    .59748        .93478       -.14082E-04   -.98358E-05
   4  Prefactor     1.1000        1.1485        .78692E-06   -.53393E-04
                               ERR DEF=  .500    
Final values: 
  Prefactor  = 0
  Index      = 0.824081
  Normalizat = 0.597476
  Prefactor  = 1.10004
 **********
 **   18 **HESSE 
 **********
  MNHESS FAILS AND WILL RETURN DIAGONAL MATRIX. 

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

  EXT PARAMETER                APPROXIMATE     INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  Prefactor      .0000        3.3420        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   2  Index         .13073E-01    .94605       -.79744E-05   -.98847    
   3  Normalizat    .59748        .93478       -.14082E-04   -1.0809    
   4  Prefactor     1.1000        1.1485        .78692E-06   -.89465    
                               ERR DEF=  .500    
Minuit fit quality: 1   estimated distance: 5.56651e-13
Minuit parameter uncertainties:
  1  2.55764e-06
  2  0.701218
  3  0.961365
  4  1.17602

Working on...
/lscratch/kocevski/36150331/ft1_filtered_4FGL_J0358.6+0634_daily_bin2199.fits.....................!
real 62.91
user 60.60
sys 1.14

Creating the likelihood object...
obs = UnbinnedObs('/lscratch/kocevski/36150331/ft1_filtered_4FGL_J0358.6+0634_daily_bin2199.fits', '/lscratch/kocevski/36150331/ft2_4FGL_J0358.6+0634_daily_bin2199.fits', expMap='/lscratch/kocevski/36150331/expmap_809308801_809568001_4FGL_J0358.6+0634_daily_bin2199.fits', expCube='/lscratch/kocevski/36150331/ltcube_809308801_809568001_4FGL_J0358.6+0634_daily_bin2199.fits', irfs='P8R3_SOURCE_V2')
like = UnbinnedAnalysis(obs, '/lscratch/kocevski/36150331/Model_4FGL_J0358.6+0634_daily_bin2199.xml', optimizer='MINUIT')

Using source of interest name: '4FGL J0358.6+0634'

4FGL J0358.6+0634
   Spectrum: PowerLaw
232    Prefactor:  8.019e+00  0.000e+00  0.000e+00  1.000e+06 ( 1.000e-13)
233        Index:  2.567e+00  0.000e+00  0.000e+00  1.000e+01 (-1.000e+00) fixed
234        Scale:  7.663e+02  0.000e+00  3.000e+01  5.000e+05 ( 1.000e+00) fixed


Likelihood Fit Parameters:
Event file(s): /lscratch/kocevski/36150331/ft1_filtered_4FGL_J0358.6+0634_daily_bin2199.fits
Spacecraft file(s): /lscratch/kocevski/36150331/ft2_4FGL_J0358.6+0634_daily_bin2199.fits
Exposure map: /lscratch/kocevski/36150331/expmap_809308801_809568001_4FGL_J0358.6+0634_daily_bin2199.fits
Exposure cube: /lscratch/kocevski/36150331/ltcube_809308801_809568001_4FGL_J0358.6+0634_daily_bin2199.fits
IRFs: P8R3_SOURCE_V2
Source model file: /lscratch/kocevski/36150331/Model_4FGL_J0358.6+0634_daily_bin2199.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) = 11350.4336438

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

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

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'Prefactor '    3.1159       1.0000          .0000       .10000E+07
     2 'Prefactor '    .22308E-02   1.0000          .0000       .10000E+07
     3 'norm      '    .15529E-03   1.0000          .0000       .10000E+07
     4 'norm      '    4.8397       1.0000          .0000       .10000E+07
     5 'Prefactor '    .58060E-03   1.0000          .0000       .10000E+07
     6 'Prefactor '    .46083E-02   1.0000          .0000       .10000E+07
     7 'norm      '    .13593E-03   1.0000          .0000       .10000E+07
     8 'Prefactor '    .14129E-03   1.0000          .0000       .10000E+07
     9 'norm      '    .43504E-06   1.0000          .0000       .10000E+07
    10 'Prefactor '    42.806       1.0000          .0000       .10000E+07
    11 'norm      '    1.4831       1.0000          .0000       .10000E+07
    12 'Prefactor '    2.2775       1.0000          .0000       .10000E+07
    13 'Prefactor '    25.505       1.0000          .0000       .10000E+07
    14 'Prefactor '    14.236       1.0000          .0000       .10000E+07
    15 'norm      '    .14806E-04   1.0000          .0000       .10000E+07
    16 'Prefactor '    7.7164       1.0000          .0000       .10000E+07
    17 'Normalizat'    .59880       1.0000         .10000E-01   10.000    
    18 'Prefactor '    1.0998       1.0000          .0000       10.000    
 **********
 **   15 **SET ERR    .5000    
 **********
 **********
 **   16 **SET GRAD    1.000    
 **********
 **********
 **   17 **MINIMIZE    .4630E+05   .2000E-04
 **********

 MIGRAD MINIMIZATION HAS CONVERGED.

 FCN=   11350.39     FROM MIGRAD    STATUS=CONVERGED    140 CALLS     1338 TOTAL
                     EDM=   .73E-09  STRATEGY=1  ERROR MATRIX UNCERTAINTY=  4.0%

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor     3.1125        3.2902        .57550E-06   -.94259E-03
   2  Prefactor      .0000        3.7755       -.45261E-07** at limit **
   3  norm          .55511E-10    2.8440       -.16604E-06** at limit **
   4  norm          4.8441        1.7621        .15527E-06   -.32664E-02
   5  Prefactor     .66280E-07    11.646        .49567E-05** at limit **
   6  Prefactor     .16098E-08    6.1251       -.47192E-06** at limit **
   7  norm          .27756E-09    4.7087        .76611E-06** at limit **
   8  Prefactor     .49960E-07    10.461       -.22586E-05** at limit **
   9  norm          .44409E-08    6.6488        .15535E-05** at limit **
  10  Prefactor     41.658        25.610        .29291E-05    .62539E-01
  11  norm          1.4782        1.0838       -.13257E-06    .47899E-02
  12  Prefactor     2.2665        1.5568       -.44313E-06    .16831E-02
  13  Prefactor     26.287        20.673        .15013E-05    .15955E-01
  14  Prefactor     15.126        39.986        .60342E-06   -.56237E-01
  15  norm           .0000        6.9651        .29469E-05** at limit **
  16  Prefactor     8.4203        21.818       -.32289E-05    .79500E-01
  17  Normalizat    .59748        .24568       -.60797E-04   -.41191E-05
  18  Prefactor     1.1000        .71526E-01    .75011E-05   -.35524E-04
                               ERR DEF=  .500    
Final values: 
  Prefactor  = 3.11248
  Prefactor  = 0
  norm       = 5.55112e-11
  norm       = 4.84406
  Prefactor  = 6.62803e-08
  Prefactor  = 1.60982e-09
  norm       = 2.77556e-10
  Prefactor  = 4.996e-08
  norm       = 4.44089e-09
  Prefactor  = 41.6576
  norm       = 1.47821
  Prefactor  = 2.26648
  Prefactor  = 26.2871
  Prefactor  = 15.1262
  norm       = 0
  Prefactor  = 8.42032
  Normalizat = 0.597476
  Prefactor  = 1.10004
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) = 11350.3856395
delta logL = 2.83762346953e-09

Extracting fit parameters...

4FGL J0358.6+0634
   Spectrum: PowerLaw
232    Prefactor:  0.000e+00  2.558e-06  0.000e+00  1.000e+06 ( 1.000e-13)
233        Index:  8.241e-01  7.012e-01  0.000e+00  1.000e+01 (-1.000e+00)
234        Scale:  7.663e+02  0.000e+00  3.000e+01  5.000e+05 ( 1.000e+00) fixed

GAL_V02
   Spectrum: PowerLaw
460    Prefactor:  1.100e+00  1.176e+00  0.000e+00  1.000e+01 ( 1.000e+00)
461        Index:  0.000e+00  0.000e+00 -1.000e+00  1.000e+00 ( 1.000e+00) fixed
462        Scale:  1.000e+02  0.000e+00  5.000e+01  2.000e+02 ( 1.000e+00) fixed

EG_v02
   Spectrum: FileFunction
459   Normalization:  5.975e-01  9.614e-01  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Free Index): -0.00
Ra Dec: 59.666 6.576

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/36150279/cmap_HighResolution_809308801_809568001_4FGL_J0358.6+0634_daily_bin2199.png

Cleaning up...

** Nuclear option initiated! **

Updating database...

UPDATE lightcurve_data_v2 SET energy_flux_upper_limit='5.33e-03', job_status='DONE', photon_flux_upper_limit='6.82e-08', time_completed='2026-08-28 03:11:08.321692', job_id='36150279', GAL2='1.10', fit_tolerance='1e-08', EG2='0.60', EG='0.60', time_epoch_completed='1787911868.32', return_code2='101', ts='-0.00', comment='SUCCESS', return_code='0', GAL='1.10', dlogl='2.84e-09', ts2='0.00', photon_index_error='0.00', photon_index='2.57' WHERE bin_id='2199' AND source_name='4FGL J0358.6+0634' AND cadence='daily';

Database successfully updated.


Analysis Complete.


Fri Aug 28 03:11:08 PDT 2026

Done.

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

Extracting fit parameters...

4FGL J0358.6+0634
   Spectrum: PowerLaw
232    Prefactor:  6.628e-08  1.760e-03  0.000e+00  1.000e+06 ( 1.000e-13)
233        Index:  2.567e+00  0.000e+00  0.000e+00  1.000e+01 (-1.000e+00) fixed
234        Scale:  7.663e+02  0.000e+00  3.000e+01  5.000e+05 ( 1.000e+00) fixed

GAL_V02
   Spectrum: PowerLaw
460    Prefactor:  1.100e+00  6.973e-02  0.000e+00  1.000e+01 ( 1.000e+00)
461        Index:  0.000e+00  0.000e+00 -1.000e+00  1.000e+00 ( 1.000e+00) fixed
462        Scale:  1.000e+02  0.000e+00  5.000e+01  2.000e+02 ( 1.000e+00) fixed

EG_v02
   Spectrum: FileFunction
459   Normalization:  5.975e-01  2.428e-01  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Fixed Index): -0.00
Ra Dec: 59.666 6.576
Photon Flux Upper Limit: 6.82052957497e-08 ph cm-2 s-1
Energy Flux Upper Limit: 0.00532694152483 MeV cm-2 s-1

Saving results to:
/lscratch/kocevski/36150278/likelihoodResults_809308801_809568001_4FGL_J0358.6+0634_daily_bin2199.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) = 11350.3857917
delta logL = -0.0001522196726

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

MINUIT Return Code (Free Index): 102
logL (Free Index) = 11350.3856395
delta logL = -7.4396666605e-10

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'Prefactor '    .53846E-08   1.0000          .0000       .10000E+07
     2 'Index     '    2.0516       1.0000          .0000       10.000    
     3 'Normalizat'    .59746       1.0000         .10000E-01   10.000    
     4 'Prefactor '    1.1000       1.0000          .0000       10.000    
 **********
 **   15 **SET ERR    .5000    
 **********
 **********
 **   16 **SET GRAD    1.000    
 **********
 **********
 **   17 **MINIMIZE    .4630E+05   .2000E-04
 **********

 MIGRAD MINIMIZATION HAS CONVERGED.

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

 FCN=   11350.39     FROM MIGRAD    STATUS=CONVERGED     49 CALLS      253 TOTAL
                     EDM=   .56E-12  STRATEGY=1  ERROR MATRIX UNCERTAINTY=100.0%

  EXT PARAMETER                APPROXIMATE        STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor      .0000        3.3420        .42118E-03** at limit **
   2  Index         .82408        .69364       -.79744E-05     .0000    
   3  Normalizat    .59748        .93478       -.14082E-04   -.98358E-05
   4  Prefactor     1.1000        1.1485        .78692E-06   -.53393E-04
                               ERR DEF=  .500    
Final values: 
  Prefactor  = 0
  Index      = 0.824081
  Normalizat = 0.597476
  Prefactor  = 1.10004
 **********
 **   18 **HESSE 
 **********
  MNHESS FAILS AND WILL RETURN DIAGONAL MATRIX. 

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

  EXT PARAMETER                APPROXIMATE     INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  Prefactor      .0000        3.3420        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   2  Index         .13073E-01    .94605       -.79744E-05   -.98847    
   3  Normalizat    .59748        .93478       -.14082E-04   -1.0809    
   4  Prefactor     1.1000        1.1485        .78692E-06   -.89465    
                               ERR DEF=  .500    
Minuit fit quality: 1   estimated distance: 5.56651e-13
Minuit parameter uncertainties:
  1  2.55764e-06
  2  0.701218
  3  0.961365
  4  1.17602
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) = 11350.3856395
delta logL = 2.83762346953e-09

Extracting fit parameters...

4FGL J0358.6+0634
   Spectrum: PowerLaw
232    Prefactor:  0.000e+00  2.558e-06  0.000e+00  1.000e+06 ( 1.000e-13)
233        Index:  8.241e-01  7.012e-01  0.000e+00  1.000e+01 (-1.000e+00)
234        Scale:  7.663e+02  0.000e+00  3.000e+01  5.000e+05 ( 1.000e+00) fixed

GAL_V02
   Spectrum: PowerLaw
460    Prefactor:  1.100e+00  1.176e+00  0.000e+00  1.000e+01 ( 1.000e+00)
461        Index:  0.000e+00  0.000e+00 -1.000e+00  1.000e+00 ( 1.000e+00) fixed
462        Scale:  1.000e+02  0.000e+00  5.000e+01  2.000e+02 ( 1.000e+00) fixed

EG_v02
   Spectrum: FileFunction
459   Normalization:  5.975e-01  9.614e-01  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Free Index): -0.00
Ra Dec: 59.666 6.576

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/36150278/cmap_HighResolution_809308801_809568001_4FGL_J0358.6+0634_daily_bin2199.png

Cleaning up...

** Nuclear option initiated! **

Updating database...

UPDATE lightcurve_data_v2 SET energy_flux_upper_limit='5.33e-03', job_status='DONE', photon_flux_upper_limit='6.82e-08', time_completed='2026-08-28 03:11:14.318753', job_id='36150278', GAL2='1.10', fit_tolerance='1e-08', EG2='0.60', EG='0.60', time_epoch_completed='1787911874.32', return_code2='101', ts='-0.00', comment='SUCCESS', return_code='0', GAL='1.10', dlogl='2.84e-09', ts2='0.00', photon_index_error='0.00', photon_index='2.57' WHERE bin_id='2199' AND source_name='4FGL J0358.6+0634' AND cadence='daily';

Database successfully updated.


Analysis Complete.


Fri Aug 28 03:11:14 PDT 2026

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

 FCN=   11350.39     FROM HESSE     STATUS=OK           282 CALLS     1620 TOTAL
                     EDM=   .15E-05    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  Prefactor     3.1125        3.2873        .57416E-03   -1.5673    
   2  Prefactor      .0000        3.7688        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   3  norm          .55511E-10    2.8401        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   4  norm          4.8441        1.7650        .45703E-03   -1.5664    
   5  Prefactor     .66280E-07    11.680        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   6  Prefactor     .16098E-08    6.1244        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   7  norm          .27756E-09    4.7074        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   8  Prefactor     .49960E-07    10.483        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   9  norm          .44409E-08    6.5932        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  10  Prefactor     41.658        25.933        .15286E-03   -1.5579    
  11  norm          1.4782        1.1080        .88075E-03   -1.5684    
  12  Prefactor     2.2665        1.5905        .68012E-03   -1.5678    
  13  Prefactor     26.287        20.848        .19805E-03   -1.5605    
  14  Prefactor     15.126        47.900        .26520E-03   -1.5630    
  15  norm           .0000        6.7000        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  16  Prefactor     8.4203        40.516        .36075E-03   -1.5650    
  17  Normalizat    .59748        .24237        .13390       -1.0809    
  18  Prefactor     1.1000        .69726E-01    .37594E-01   -.89465    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 1.54307e-06
Minuit parameter uncertainties:
  1  3.28728
  2  1.87761e-05
  3  2.42099e-05
  4  1.76499
  5  0.00175964
  6  0.000200039
  7  7.40436e-05
  8  0.00144733
  9  0.000341165
  10  25.9332
  11  1.10804
  12  1.59047
  13  20.8476
  14  47.9015
  15  1.78891e-05
  16  36.9413
  17  0.242798
  18  0.0697314
 **********
 **   18 **HESSE 
 **********

 FCN=   11350.39     FROM HESSE     STATUS=OK           282 CALLS     1620 TOTAL
                     EDM=   .15E-05    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  Prefactor     3.1125        3.2873        .57416E-03   -1.5673    
   2  Prefactor      .0000        3.7688        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   3  norm          .55511E-10    2.8401        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   4  norm          4.8441        1.7650        .45703E-03   -1.5664    
   5  Prefactor     .66280E-07    11.680        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   6  Prefactor     .16098E-08    6.1244        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   7  norm          .27756E-09    4.7074        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   8  Prefactor     .49960E-07    10.483        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   9  norm          .44409E-08    6.5932        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  10  Prefactor     41.658        25.933        .15286E-03   -1.5579    
  11  norm          1.4782        1.1080        .88075E-03   -1.5684    
  12  Prefactor     2.2665        1.5905        .68012E-03   -1.5678    
  13  Prefactor     26.287        20.848        .19805E-03   -1.5605    
  14  Prefactor     15.126        47.900        .26520E-03   -1.5630    
  15  norm           .0000        6.7000        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  16  Prefactor     8.4203        40.516        .36075E-03   -1.5650    
  17  Normalizat    .59748        .24237        .13390       -1.0809    
  18  Prefactor     1.1000        .69726E-01    .37594E-01   -.89465    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 1.54307e-06
Minuit parameter uncertainties:
  1  3.28728
  2  1.87761e-05
  3  2.42099e-05
  4  1.76499
  5  0.00175964
  6  0.000200039
  7  7.40436e-05
  8  0.00144733
  9  0.000341165
  10  25.9332
  11  1.10804
  12  1.59047
  13  20.8476
  14  47.9015
  15  1.78891e-05
  16  36.9413
  17  0.242798
  18  0.0697314
Done.

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

Extracting fit parameters...

4FGL J0358.6+0634
   Spectrum: PowerLaw
232    Prefactor:  6.628e-08  1.760e-03  0.000e+00  1.000e+06 ( 1.000e-13)
233        Index:  2.567e+00  0.000e+00  0.000e+00  1.000e+01 (-1.000e+00) fixed
234        Scale:  7.663e+02  0.000e+00  3.000e+01  5.000e+05 ( 1.000e+00) fixed

GAL_V02
   Spectrum: PowerLaw
460    Prefactor:  1.100e+00  6.973e-02  0.000e+00  1.000e+01 ( 1.000e+00)
461        Index:  0.000e+00  0.000e+00 -1.000e+00  1.000e+00 ( 1.000e+00) fixed
462        Scale:  1.000e+02  0.000e+00  5.000e+01  2.000e+02 ( 1.000e+00) fixed

EG_v02
   Spectrum: FileFunction
459   Normalization:  5.975e-01  2.428e-01  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Fixed Index): -0.00
Ra Dec: 59.666 6.576
Photon Flux Upper Limit: 6.82052957497e-08 ph cm-2 s-1
Energy Flux Upper Limit: 0.00532694152483 MeV cm-2 s-1

Saving results to:
/lscratch/kocevski/36150291/likelihoodResults_809308801_809568001_4FGL_J0358.6+0634_daily_bin2199.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) = 11350.3857917
delta logL = -0.0001522196726

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

MINUIT Return Code (Free Index): 102
logL (Free Index) = 11350.3856395
delta logL = -7.4396666605e-10

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'Prefactor '    .53846E-08   1.0000          .0000       .10000E+07
     2 'Index     '    2.0516       1.0000          .0000       10.000    
     3 'Normalizat'    .59746       1.0000         .10000E-01   10.000    
     4 'Prefactor '    1.1000       1.0000          .0000       10.000    
 **********
 **   15 **SET ERR    .5000    
 **********
 **********
 **   16 **SET GRAD    1.000    
 **********
 **********
 **   17 **MINIMIZE    .4630E+05   .2000E-04
 **********

 MIGRAD MINIMIZATION HAS CONVERGED.

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

 FCN=   11350.39     FROM MIGRAD    STATUS=CONVERGED     49 CALLS      253 TOTAL
                     EDM=   .56E-12  STRATEGY=1  ERROR MATRIX UNCERTAINTY=100.0%

  EXT PARAMETER                APPROXIMATE        STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor      .0000        3.3420        .42118E-03** at limit **
   2  Index         .82408        .69364       -.79744E-05     .0000    
   3  Normalizat    .59748        .93478       -.14082E-04   -.98358E-05
   4  Prefactor     1.1000        1.1485        .78692E-06   -.53393E-04
                               ERR DEF=  .500    
Final values: 
  Prefactor  = 0
  Index      = 0.824081
  Normalizat = 0.597476
  Prefactor  = 1.10004
 **********
 **   18 **HESSE 
 **********
  MNHESS FAILS AND WILL RETURN DIAGONAL MATRIX. 

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

  EXT PARAMETER                APPROXIMATE     INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  Prefactor      .0000        3.3420        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   2  Index         .13073E-01    .94605       -.79744E-05   -.98847    
   3  Normalizat    .59748        .93478       -.14082E-04   -1.0809    
   4  Prefactor     1.1000        1.1485        .78692E-06   -.89465    
                               ERR DEF=  .500    
Minuit fit quality: 1   estimated distance: 5.56651e-13
Minuit parameter uncertainties:
  1  2.55764e-06
  2  0.701218
  3  0.961365
  4  1.17602
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) = 11350.3856395
delta logL = 2.83762346953e-09

Extracting fit parameters...

4FGL J0358.6+0634
   Spectrum: PowerLaw
232    Prefactor:  0.000e+00  2.558e-06  0.000e+00  1.000e+06 ( 1.000e-13)
233        Index:  8.241e-01  7.012e-01  0.000e+00  1.000e+01 (-1.000e+00)
234        Scale:  7.663e+02  0.000e+00  3.000e+01  5.000e+05 ( 1.000e+00) fixed

GAL_V02
   Spectrum: PowerLaw
460    Prefactor:  1.100e+00  1.176e+00  0.000e+00  1.000e+01 ( 1.000e+00)
461        Index:  0.000e+00  0.000e+00 -1.000e+00  1.000e+00 ( 1.000e+00) fixed
462        Scale:  1.000e+02  0.000e+00  5.000e+01  2.000e+02 ( 1.000e+00) fixed

EG_v02
   Spectrum: FileFunction
459   Normalization:  5.975e-01  9.614e-01  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Free Index): -0.00
Ra Dec: 59.666 6.576

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/36150291/cmap_HighResolution_809308801_809568001_4FGL_J0358.6+0634_daily_bin2199.png

Cleaning up...

** Nuclear option initiated! **

Updating database...

UPDATE lightcurve_data_v2 SET energy_flux_upper_limit='5.33e-03', job_status='DONE', photon_flux_upper_limit='6.82e-08', time_completed='2026-08-28 03:11:34.575370', job_id='36150291', GAL2='1.10', fit_tolerance='1e-08', EG2='0.60', EG='0.60', time_epoch_completed='1787911894.58', return_code2='101', ts='-0.00', comment='SUCCESS', return_code='0', GAL='1.10', dlogl='2.84e-09', ts2='0.00', photon_index_error='0.00', photon_index='2.57' WHERE bin_id='2199' AND source_name='4FGL J0358.6+0634' AND cadence='daily';

Database successfully updated.


Analysis Complete.


Fri Aug 28 03:11:34 PDT 2026

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


Performing analysis on: 4FGL_J0358.6+0634_daily_bin2199
RA = 59.6656, Dec = 6.5759
tmin = 809308801, tmax = 809568001
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='36150955', job_status='RUN', time_executed='2026-08-28 03:10:55.457916', time_epoch_executed='1787911855.46' WHERE source_name='4FGL J0358.6+0634' and cadence='daily' and bin_id='2199'

Database successfully updated.
Done.

Creating custom output directory:
/lscratch/kocevski/36150955

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

Retrieving the FT1 file...

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

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

Retrieving 47 files...
Done.


Merging files...

Checksum keywords updated successfully.

Merged file saved to:
/lscratch/kocevski/36150955/ft1_4FGL_J0358.6+0634_daily_bin2199.fits


Retrieving the FT1 file...

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

Retrieving 47 files...
Done.


Merging files...

Merged file saved to:
/lscratch/kocevski/36150955/ft2_4FGL_J0358.6+0634_daily_bin2199.fits


Selecting the photons:
time -p gtselect infile=/lscratch/kocevski/36150955/ft1_4FGL_J0358.6+0634_daily_bin2199.fits outfile=/lscratch/kocevski/36150955/ft1_filteredMKT_4FGL_J0358.6+0634_daily_bin2199.fits ra=59.6656 dec=6.5759 rad=12.0 tmin=809308801.0 tmax=809568001.0 emin=100.0 emax=100000.0 zmin=0.0 zmax=90.0 evclass=128 evtype="INDEF" convtype=-1 phasemin=0.0 phasemax=1.0 evtable="EVENTS" chatter=2 clobber=yes debug=no gui=no mode="ql"

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

Done.
real 3.78
user 2.98
sys 0.21

Adding sun position to ft2 file:
/sdf/group/fermi/g/LCRepository/Repository/bin/sunpos /lscratch/kocevski/36150955/ft2_4FGL_J0358.6+0634_daily_bin2199.fits

Selecting the good time intervals:
time -p gtmktime scfile=/lscratch/kocevski/36150955/ft2_4FGL_J0358.6+0634_daily_bin2199.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/36150955/ft1_filteredMKT_4FGL_J0358.6+0634_daily_bin2199.fits evtable="EVENTS" outfile="/lscratch/kocevski/36150955/ft1_filtered_4FGL_J0358.6+0634_daily_bin2199.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.92
user 0.20
sys 0.14

Number of photons that the gtmktime cut: 1068

Generating the livetime cube:
time -p gtltcube evfile="/lscratch/kocevski/36150955/ft1_filtered_4FGL_J0358.6+0634_daily_bin2199.fits" evtable="EVENTS" scfile=/lscratch/kocevski/36150955/ft2_4FGL_J0358.6+0634_daily_bin2199.fits sctable="SC_DATA" outfile=/lscratch/kocevski/36150602/ltcube_809308801_809568001_4FGL_J0358.6+0634_daily_bin2199.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/36150602/ft2_4FGL_J0358.6+0634_daily_bin2199.fits
.....................!
real 9.10
user 8.26
sys 0.19

Generating the exposure map:
time -p gtexpmap evfile=/lscratch/kocevski/36150602/ft1_filtered_4FGL_J0358.6+0634_daily_bin2199.fits evtable="EVENTS" scfile=/lscratch/kocevski/36150602/ft2_4FGL_J0358.6+0634_daily_bin2199.fits sctable="SC_DATA" expcube=/lscratch/kocevski/36150602/ltcube_809308801_809568001_4FGL_J0358.6+0634_daily_bin2199.fits outfile=/lscratch/kocevski/36150602/expmap_809308801_809568001_4FGL_J0358.6+0634_daily_bin2199.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/36150602/ltcube_809308801_809568001_4FGL_J0358.6+0634_daily_bin2199.fits
.....................!
real 74.17
user 68.79
sys 4.09

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

Setting source of interest to:
4FGL J0358.6+0634 @ 59.6656 6.5759

Creating the counts map:
time -p gtbin evfile=/lscratch/kocevski/36150602/ft1_filtered_4FGL_J0358.6+0634_daily_bin2199.fits scfile=/lscratch/kocevski/36150602/ft2_4FGL_J0358.6+0634_daily_bin2199.fits outfile=/lscratch/kocevski/36150602/cmap_809308801_809568001_4FGL_J0358.6+0634_daily_bin2199.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=59.6656 yref=6.5759 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.09
user 0.23
sys 0.12

Creating the high resolution counts map:
time -p gtbin evfile=/lscratch/kocevski/36150602/ft1_filtered_4FGL_J0358.6+0634_daily_bin2199.fits scfile=/lscratch/kocevski/36150602/ft2_4FGL_J0358.6+0634_daily_bin2199.fits outfile=/lscratch/kocevski/36150602/cmap_HighResolution_809308801_809568001_4FGL_J0358.6+0634_daily_bin2199.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=59.6656 yref=6.5759 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.74
user 0.23
sys 0.13

Computing the diffuse response:
time -p gtdiffrsp evfile=/lscratch/kocevski/36150602/ft1_filtered_4FGL_J0358.6+0634_daily_bin2199.fits evtable="EVENTS" scfile=/lscratch/kocevski/36150602/ft2_4FGL_J0358.6+0634_daily_bin2199.fits sctable="SC_DATA" srcmdl=/lscratch/kocevski/36150602/Model_4FGL_J0358.6+0634_daily_bin2199.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_V02Done.

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

Extracting fit parameters...

4FGL J0358.6+0634
   Spectrum: PowerLaw
232    Prefactor:  6.628e-08  1.760e-03  0.000e+00  1.000e+06 ( 1.000e-13)
233        Index:  2.567e+00  0.000e+00  0.000e+00  1.000e+01 (-1.000e+00) fixed
234        Scale:  7.663e+02  0.000e+00  3.000e+01  5.000e+05 ( 1.000e+00) fixed

GAL_V02
   Spectrum: PowerLaw
460    Prefactor:  1.100e+00  6.973e-02  0.000e+00  1.000e+01 ( 1.000e+00)
461        Index:  0.000e+00  0.000e+00 -1.000e+00  1.000e+00 ( 1.000e+00) fixed
462        Scale:  1.000e+02  0.000e+00  5.000e+01  2.000e+02 ( 1.000e+00) fixed

EG_v02
   Spectrum: FileFunction
459   Normalization:  5.975e-01  2.428e-01  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Fixed Index): -0.00
Ra Dec: 59.666 6.576
Photon Flux Upper Limit: 6.82052957497e-08 ph cm-2 s-1
Energy Flux Upper Limit: 0.00532694152483 MeV cm-2 s-1

Saving results to:
/lscratch/kocevski/36150297/likelihoodResults_809308801_809568001_4FGL_J0358.6+0634_daily_bin2199.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) = 11350.3857917
delta logL = -0.0001522196726

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

MINUIT Return Code (Free Index): 102
logL (Free Index) = 11350.3856395
delta logL = -7.4396666605e-10

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'Prefactor '    .53846E-08   1.0000          .0000       .10000E+07
     2 'Index     '    2.0516       1.0000          .0000       10.000    
     3 'Normalizat'    .59746       1.0000         .10000E-01   10.000    
     4 'Prefactor '    1.1000       1.0000          .0000       10.000    
 **********
 **   15 **SET ERR    .5000    
 **********
 **********
 **   16 **SET GRAD    1.000    
 **********
 **********
 **   17 **MINIMIZE    .4630E+05   .2000E-04
 **********

 MIGRAD MINIMIZATION HAS CONVERGED.

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

 FCN=   11350.39     FROM MIGRAD    STATUS=CONVERGED     49 CALLS      253 TOTAL
                     EDM=   .56E-12  STRATEGY=1  ERROR MATRIX UNCERTAINTY=100.0%

  EXT PARAMETER                APPROXIMATE        STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor      .0000        3.3420        .42118E-03** at limit **
   2  Index         .82408        .69364       -.79744E-05     .0000    
   3  Normalizat    .59748        .93478       -.14082E-04   -.98358E-05
   4  Prefactor     1.1000        1.1485        .78692E-06   -.53393E-04
                               ERR DEF=  .500    
Final values: 
  Prefactor  = 0
  Index      = 0.824081
  Normalizat = 0.597476
  Prefactor  = 1.10004
 **********
 **   18 **HESSE 
 **********
  MNHESS FAILS AND WILL RETURN DIAGONAL MATRIX. 

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

  EXT PARAMETER                APPROXIMATE     INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  Prefactor      .0000        3.3420        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   2  Index         .13073E-01    .94605       -.79744E-05   -.98847    
   3  Normalizat    .59748        .93478       -.14082E-04   -1.0809    
   4  Prefactor     1.1000        1.1485        .78692E-06   -.89465    
                               ERR DEF=  .500    
Minuit fit quality: 1   estimated distance: 5.56651e-13
Minuit parameter uncertainties:
  1  2.55764e-06
  2  0.701218
  3  0.961365
  4  1.17602
shell-init: error retrieving current directory: getcwd: cannot access parent directories: No such file or directory

Working on...
/lscratch/kocevski/36150525/ft1_filtered_4FGL_J0358.6+0634_daily_bin2199.fits.....................!
real 63.25
user 61.65
sys 0.87

Creating the likelihood object...
obs = UnbinnedObs('/lscratch/kocevski/36150525/ft1_filtered_4FGL_J0358.6+0634_daily_bin2199.fits', '/lscratch/kocevski/36150525/ft2_4FGL_J0358.6+0634_daily_bin2199.fits', expMap='/lscratch/kocevski/36150525/expmap_809308801_809568001_4FGL_J0358.6+0634_daily_bin2199.fits', expCube='/lscratch/kocevski/36150525/ltcube_809308801_809568001_4FGL_J0358.6+0634_daily_bin2199.fits', irfs='P8R3_SOURCE_V2')
like = UnbinnedAnalysis(obs, '/lscratch/kocevski/36150525/Model_4FGL_J0358.6+0634_daily_bin2199.xml', optimizer='MINUIT')

Using source of interest name: '4FGL J0358.6+0634'

4FGL J0358.6+0634
   Spectrum: PowerLaw
232    Prefactor:  8.019e+00  0.000e+00  0.000e+00  1.000e+06 ( 1.000e-13)
233        Index:  2.567e+00  0.000e+00  0.000e+00  1.000e+01 (-1.000e+00) fixed
234        Scale:  7.663e+02  0.000e+00  3.000e+01  5.000e+05 ( 1.000e+00) fixed


Likelihood Fit Parameters:
Event file(s): /lscratch/kocevski/36150525/ft1_filtered_4FGL_J0358.6+0634_daily_bin2199.fits
Spacecraft file(s): /lscratch/kocevski/36150525/ft2_4FGL_J0358.6+0634_daily_bin2199.fits
Exposure map: /lscratch/kocevski/36150525/expmap_809308801_809568001_4FGL_J0358.6+0634_daily_bin2199.fits
Exposure cube: /lscratch/kocevski/36150525/ltcube_809308801_809568001_4FGL_J0358.6+0634_daily_bin2199.fits
IRFs: P8R3_SOURCE_V2
Source model file: /lscratch/kocevski/36150525/Model_4FGL_J0358.6+0634_daily_bin2199.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) = 11350.4336438

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

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

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'Prefactor '    3.1159       1.0000          .0000       .10000E+07
     2 'Prefactor '    .22308E-02   1.0000          .0000       .10000E+07
     3 'norm      '    .15529E-03   1.0000          .0000       .10000E+07
     4 'norm      '    4.8397       1.0000          .0000       .10000E+07
     5 'Prefactor '    .58060E-03   1.0000          .0000       .10000E+07
     6 'Prefactor '    .46083E-02   1.0000          .0000       .10000E+07
     7 'norm      '    .13593E-03   1.0000          .0000       .10000E+07
     8 'Prefactor '    .14129E-03   1.0000          .0000       .10000E+07
     9 'norm      '    .43504E-06   1.0000          .0000       .10000E+07
    10 'Prefactor '    42.806       1.0000          .0000       .10000E+07
    11 'norm      '    1.4831       1.0000          .0000       .10000E+07
    12 'Prefactor '    2.2775       1.0000          .0000       .10000E+07
    13 'Prefactor '    25.505       1.0000          .0000       .10000E+07
    14 'Prefactor '    14.236       1.0000          .0000       .10000E+07
    15 'norm      '    .14806E-04   1.0000          .0000       .10000E+07
    16 'Prefactor '    7.7164       1.0000          .0000       .10000E+07
    17 'Normalizat'    .59880       1.0000         .10000E-01   10.000    
    18 'Prefactor '    1.0998       1.0000          .0000       10.000    
 **********
 **   15 **SET ERR    .5000    
 **********
 **********
 **   16 **SET GRAD    1.000    
 **********
 **********
 **   17 **MINIMIZE    .4630E+05   .2000E-04
 **********

 MIGRAD MINIMIZATION HAS CONVERGED.

 FCN=   11350.39     FROM MIGRAD    STATUS=CONVERGED    140 CALLS     1338 TOTAL
                     EDM=   .73E-09  STRATEGY=1  ERROR MATRIX UNCERTAINTY=  4.0%

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor     3.1125        3.2902        .57550E-06   -.94259E-03
   2  Prefactor      .0000        3.7755       -.45261E-07** at limit **
   3  norm          .55511E-10    2.8440       -.16604E-06** at limit **
   4  norm          4.8441        1.7621        .15527E-06   -.32664E-02
   5  Prefactor     .66280E-07    11.646        .49567E-05** at limit **
   6  Prefactor     .16098E-08    6.1251       -.47192E-06** at limit **
   7  norm          .27756E-09    4.7087        .76611E-06** at limit **
   8  Prefactor     .49960E-07    10.461       -.22586E-05** at limit **
   9  norm          .44409E-08    6.6488        .15535E-05** at limit **
  10  Prefactor     41.658        25.610        .29291E-05    .62539E-01
  11  norm          1.4782        1.0838       -.13257E-06    .47899E-02
  12  Prefactor     2.2665        1.5568       -.44313E-06    .16831E-02
  13  Prefactor     26.287        20.673        .15013E-05    .15955E-01
  14  Prefactor     15.126        39.986        .60342E-06   -.56237E-01
  15  norm           .0000        6.9651        .29469E-05** at limit **
  16  Prefactor     8.4203        21.818       -.32289E-05    .79500E-01
  17  Normalizat    .59748        .24568       -.60797E-04   -.41191E-05
  18  Prefactor     1.1000        .71526E-01    .75011E-05   -.35524E-04
                               ERR DEF=  .500    
Final values: 
  Prefactor  = 3.11248
  Prefactor  = 0
  norm       = 5.55112e-11
  norm       = 4.84406
  Prefactor  = 6.62803e-08
  Prefactor  = 1.60982e-09
  norm       = 2.77556e-10
  Prefactor  = 4.996e-08
  norm       = 4.44089e-09
  Prefactor  = 41.6576
  norm       = 1.47821
  Prefactor  = 2.26648
  Prefactor  = 26.2871
  Prefactor  = 15.1262
  norm       = 0
  Prefactor  = 8.42032
  Normalizat = 0.597476
  Prefactor  = 1.10004
Done.

MINUIT Return Code (Free Index): 101
logL (Free Index) = 11350.3856395
delta logL = 2.83762346953e-09

Extracting fit parameters...

4FGL J0358.6+0634
   Spectrum: PowerLaw
232    Prefactor:  0.000e+00  2.558e-06  0.000e+00  1.000e+06 ( 1.000e-13)
233        Index:  8.241e-01  7.012e-01  0.000e+00  1.000e+01 (-1.000e+00)
234        Scale:  7.663e+02  0.000e+00  3.000e+01  5.000e+05 ( 1.000e+00) fixed

GAL_V02
   Spectrum: PowerLaw
460    Prefactor:  1.100e+00  1.176e+00  0.000e+00  1.000e+01 ( 1.000e+00)
461        Index:  0.000e+00  0.000e+00 -1.000e+00  1.000e+00 ( 1.000e+00) fixed
462        Scale:  1.000e+02  0.000e+00  5.000e+01  2.000e+02 ( 1.000e+00) fixed

EG_v02
   Spectrum: FileFunction
459   Normalization:  5.975e-01  9.614e-01  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Free Index): -0.00
Ra Dec: 59.666 6.576

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/36150297/cmap_HighResolution_809308801_809568001_4FGL_J0358.6+0634_daily_bin2199.png

Cleaning up...

** Nuclear option initiated! **

Updating database...

UPDATE lightcurve_data_v2 SET energy_flux_upper_limit='5.33e-03', job_status='DONE', photon_flux_upper_limit='6.82e-08', time_completed='2026-08-28 03:11:46.820925', job_id='36150297', GAL2='1.10', fit_tolerance='1e-08', EG2='0.60', EG='0.60', time_epoch_completed='1787911906.82', return_code2='101', ts='-0.00', comment='SUCCESS', return_code='0', GAL='1.10', dlogl='2.84e-09', ts2='0.00', photon_index_error='0.00', photon_index='2.57' WHERE bin_id='2199' AND source_name='4FGL J0358.6+0634' AND cadence='daily';

Database successfully updated.


Analysis Complete.


Fri Aug 28 03:11:46 PDT 2026

Done.

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

Extracting fit parameters...

4FGL J0358.6+0634
   Spectrum: PowerLaw
232    Prefactor:  6.628e-08  1.760e-03  0.000e+00  1.000e+06 ( 1.000e-13)
233        Index:  2.567e+00  0.000e+00  0.000e+00  1.000e+01 (-1.000e+00) fixed
234        Scale:  7.663e+02  0.000e+00  3.000e+01  5.000e+05 ( 1.000e+00) fixed

GAL_V02
   Spectrum: PowerLaw
460    Prefactor:  1.100e+00  6.973e-02  0.000e+00  1.000e+01 ( 1.000e+00)
461        Index:  0.000e+00  0.000e+00 -1.000e+00  1.000e+00 ( 1.000e+00) fixed
462        Scale:  1.000e+02  0.000e+00  5.000e+01  2.000e+02 ( 1.000e+00) fixed

EG_v02
   Spectrum: FileFunction
459   Normalization:  5.975e-01  2.428e-01  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Fixed Index): -0.00
Ra Dec: 59.666 6.576
Photon Flux Upper Limit: 6.82052957497e-08 ph cm-2 s-1
Energy Flux Upper Limit: 0.00532694152483 MeV cm-2 s-1

Saving results to:
/lscratch/kocevski/36150331/likelihoodResults_809308801_809568001_4FGL_J0358.6+0634_daily_bin2199.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) = 11350.3857917
delta logL = -0.0001522196726

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

MINUIT Return Code (Free Index): 102
logL (Free Index) = 11350.3856395
delta logL = -7.4396666605e-10

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'Prefactor '    .53846E-08   1.0000          .0000       .10000E+07
     2 'Index     '    2.0516       1.0000          .0000       10.000    
     3 'Normalizat'    .59746       1.0000         .10000E-01   10.000    
     4 'Prefactor '    1.1000       1.0000          .0000       10.000    
 **********
 **   15 **SET ERR    .5000    
 **********
 **********
 **   16 **SET GRAD    1.000    
 **********
 **********
 **   17 **MINIMIZE    .4630E+05   .2000E-04
 **********

 MIGRAD MINIMIZATION HAS CONVERGED.

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

 FCN=   11350.39     FROM MIGRAD    STATUS=CONVERGED     49 CALLS      253 TOTAL
                     EDM=   .56E-12  STRATEGY=1  ERROR MATRIX UNCERTAINTY=100.0%

  EXT PARAMETER                APPROXIMATE        STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor      .0000        3.3420        .42118E-03** at limit **
   2  Index         .82408        .69364       -.79744E-05     .0000    
   3  Normalizat    .59748        .93478       -.14082E-04   -.98358E-05
   4  Prefactor     1.1000        1.1485        .78692E-06   -.53393E-04
                               ERR DEF=  .500    
Final values: 
  Prefactor  = 0
  Index      = 0.824081
  Normalizat = 0.597476
  Prefactor  = 1.10004
ile=/lscratch/kocevski/36150610/ltcube_809308801_809568001_4FGL_J0358.6+0634_daily_bin2199.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/36150610/ft2_4FGL_J0358.6+0634_daily_bin2199.fits
.....................!
real 9.46
user 8.74
sys 0.20

Generating the exposure map:
time -p gtexpmap evfile=/lscratch/kocevski/36150610/ft1_filtered_4FGL_J0358.6+0634_daily_bin2199.fits evtable="EVENTS" scfile=/lscratch/kocevski/36150610/ft2_4FGL_J0358.6+0634_daily_bin2199.fits sctable="SC_DATA" expcube=/lscratch/kocevski/36150610/ltcube_809308801_809568001_4FGL_J0358.6+0634_daily_bin2199.fits outfile=/lscratch/kocevski/36150610/expmap_809308801_809568001_4FGL_J0358.6+0634_daily_bin2199.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/36150610/ltcube_809308801_809568001_4FGL_J0358.6+0634_daily_bin2199.fits
.....................!
real 78.21
user 72.58
sys 4.44

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

Setting source of interest to:
4FGL J0358.6+0634 @ 59.6656 6.5759

Creating the counts map:
time -p gtbin evfile=/lscratch/kocevski/36150610/ft1_filtered_4FGL_J0358.6+0634_daily_bin2199.fits scfile=/lscratch/kocevski/36150610/ft2_4FGL_J0358.6+0634_daily_bin2199.fits outfile=/lscratch/kocevski/36150610/cmap_809308801_809568001_4FGL_J0358.6+0634_daily_bin2199.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=59.6656 yref=6.5759 axisrot=0.0 rafield="RA" decfield="DEC" proj="AIT" hpx_ordering_scheme="RING" hpx_order=3 hpx_ebin=yes hpx_region="" evtable="EVENTS" sctable="SC_DATA" efield="ENERGY" tfield="TIME" chatter=2 clobber=yes debug=no gui=no mode="ql"

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

This is gtbin version HEAD
real 0.59
user 0.24
sys 0.13

Creating the high resolution counts map:
time -p gtbin evfile=/lscratch/kocevski/36150610/ft1_filtered_4FGL_J0358.6+0634_daily_bin2199.fits scfile=/lscratch/kocevski/36150610/ft2_4FGL_J0358.6+0634_daily_bin2199.fits outfile=/lscratch/kocevski/36150610/cmap_HighResolution_809308801_809568001_4FGL_J0358.6+0634_daily_bin2199.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=59.6656 yref=6.5759 axisrot=0.0 rafield="RA" decfield="DEC" proj="AIT" hpx_ordering_scheme="RING" hpx_order=3 hpx_ebin=yes hpx_region="" evtable="EVENTS" sctable="SC_DATA" efield="ENERGY" tfield="TIME" chatter=2 clobber=yes debug=no gui=no mode="ql"

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

This is gtbin version HEAD
real 0.91
user 0.24
sys 0.13

Computing the diffuse response:
time -p gtdiffrsp evfile=/lscratch/kocevski/36150610/ft1_filtered_4FGL_J0358.6+0634_daily_bin2199.fits evtable="EVENTS" scfile=/lscratch/kocevski/36150610/ft2_4FGL_J0358.6+0634_daily_bin2199.fits sctable="SC_DATA" srcmdl=/lscratch/kocevski/36150610/Model_4FGL_J0358.6+0634_daily_bin2199.xml irfs="P8R3_SOURCE_V2" evclsmin=0 evclass="INDEF" evtype="INDEF" convert=yes chatter=2 clobber=yes debug=no gui=no mode="ql"

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

adding source EG_v02
adding source GAL_V02
 **********
 **   18 **HESSE 
 **********
  MNHESS FAILS AND WILL RETURN DIAGONAL MATRIX. 

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

  EXT PARAMETER                APPROXIMATE     INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  Prefactor      .0000        3.3420        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   2  Index         .13073E-01    .94605       -.79744E-05   -.98847    
   3  Normalizat    .59748        .93478       -.14082E-04   -1.0809    
   4  Prefactor     1.1000        1.1485        .78692E-06   -.89465    
                               ERR DEF=  .500    
Minuit fit quality: 1   estimated distance: 5.56651e-13
Minuit parameter uncertainties:
  1  2.55764e-06
  2  0.701218
  3  0.961365
  4  1.17602
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) = 11350.3856395
delta logL = 2.83762346953e-09

Extracting fit parameters...

4FGL J0358.6+0634
   Spectrum: PowerLaw
232    Prefactor:  0.000e+00  2.558e-06  0.000e+00  1.000e+06 ( 1.000e-13)
233        Index:  8.241e-01  7.012e-01  0.000e+00  1.000e+01 (-1.000e+00)
234        Scale:  7.663e+02  0.000e+00  3.000e+01  5.000e+05 ( 1.000e+00) fixed

GAL_V02
   Spectrum: PowerLaw
460    Prefactor:  1.100e+00  1.176e+00  0.000e+00  1.000e+01 ( 1.000e+00)
461        Index:  0.000e+00  0.000e+00 -1.000e+00  1.000e+00 ( 1.000e+00) fixed
462        Scale:  1.000e+02  0.000e+00  5.000e+01  2.000e+02 ( 1.000e+00) fixed

EG_v02
   Spectrum: FileFunction
459   Normalization:  5.975e-01  9.614e-01  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Free Index): -0.00
Ra Dec: 59.666 6.576

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/36150331/cmap_HighResolution_809308801_809568001_4FGL_J0358.6+0634_daily_bin2199.png

Cleaning up...

** Nuclear option initiated! **

Updating database...

UPDATE lightcurve_data_v2 SET energy_flux_upper_limit='5.33e-03', job_status='DONE', photon_flux_upper_limit='6.82e-08', time_completed='2026-08-28 03:11:49.864842', job_id='36150331', GAL2='1.10', fit_tolerance='1e-08', EG2='0.60', EG='0.60', time_epoch_completed='1787911909.86', return_code2='101', ts='-0.00', comment='SUCCESS', return_code='0', GAL='1.10', dlogl='2.84e-09', ts2='0.00', photon_index_error='0.00', photon_index='2.57' WHERE bin_id='2199' AND source_name='4FGL J0358.6+0634' AND cadence='daily';

Database successfully updated.


Analysis Complete.


Fri Aug 28 03:11:49 PDT 2026


Working on...
/lscratch/kocevski/36150561/ft1_filtered_4FGL_J0358.6+0634_daily_bin2199.fits.....................!
real 62.60
user 60.23
sys 0.90

Creating the likelihood object...
obs = UnbinnedObs('/lscratch/kocevski/36150561/ft1_filtered_4FGL_J0358.6+0634_daily_bin2199.fits', '/lscratch/kocevski/36150561/ft2_4FGL_J0358.6+0634_daily_bin2199.fits', expMap='/lscratch/kocevski/36150561/expmap_809308801_809568001_4FGL_J0358.6+0634_daily_bin2199.fits', expCube='/lscratch/kocevski/36150561/ltcube_809308801_809568001_4FGL_J0358.6+0634_daily_bin2199.fits', irfs='P8R3_SOURCE_V2')
like = UnbinnedAnalysis(obs, '/lscratch/kocevski/36150561/Model_4FGL_J0358.6+0634_daily_bin2199.xml', optimizer='MINUIT')

Using source of interest name: '4FGL J0358.6+0634'

4FGL J0358.6+0634
   Spectrum: PowerLaw
232    Prefactor:  8.019e+00  0.000e+00  0.000e+00  1.000e+06 ( 1.000e-13)
233        Index:  2.567e+00  0.000e+00  0.000e+00  1.000e+01 (-1.000e+00) fixed
234        Scale:  7.663e+02  0.000e+00  3.000e+01  5.000e+05 ( 1.000e+00) fixed


Likelihood Fit Parameters:
Event file(s): /lscratch/kocevski/36150561/ft1_filtered_4FGL_J0358.6+0634_daily_bin2199.fits
Spacecraft file(s): /lscratch/kocevski/36150561/ft2_4FGL_J0358.6+0634_daily_bin2199.fits
Exposure map: /lscratch/kocevski/36150561/expmap_809308801_809568001_4FGL_J0358.6+0634_daily_bin2199.fits
Exposure cube: /lscratch/kocevski/36150561/ltcube_809308801_809568001_4FGL_J0358.6+0634_daily_bin2199.fits
IRFs: P8R3_SOURCE_V2
Source model file: /lscratch/kocevski/36150561/Model_4FGL_J0358.6+0634_daily_bin2199.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) = 11350.4336438

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

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

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'Prefactor '    3.1159       1.0000          .0000       .10000E+07
     2 'Prefactor '    .22308E-02   1.0000          .0000       .10000E+07
     3 'norm      '    .15529E-03   1.0000          .0000       .10000E+07
     4 'norm      '    4.8397       1.0000          .0000       .10000E+07
     5 'Prefactor '    .58060E-03   1.0000          .0000       .10000E+07
     6 'Prefactor '    .46083E-02   1.0000          .0000       .10000E+07
     7 'norm      '    .13593E-03   1.0000          .0000       .10000E+07
     8 'Prefactor '    .14129E-03   1.0000          .0000       .10000E+07
     9 'norm      '    .43504E-06   1.0000          .0000       .10000E+07
    10 'Prefactor '    42.806       1.0000          .0000       .10000E+07
    11 'norm      '    1.4831       1.0000          .0000       .10000E+07
    12 'Prefactor '    2.2775       1.0000          .0000       .10000E+07
    13 'Prefactor '    25.505       1.0000          .0000       .10000E+07
    14 'Prefactor '    14.236       1.0000          .0000       .10000E+07
    15 'norm      '    .14806E-04   1.0000          .0000       .10000E+07
    16 'Prefactor '    7.7164       1.0000          .0000       .10000E+07
    17 'Normalizat'    .59880       1.0000         .10000E-01   10.000    
    18 'Prefactor '    1.0998       1.0000          .0000       10.000    
 **********
 **   15 **SET ERR    .5000    
 **********
 **********
 **   16 **SET GRAD    1.000    
 **********
 **********
 **   17 **MINIMIZE    .4630E+05   .2000E-04
 **********

 MIGRAD MINIMIZATION HAS CONVERGED.

 FCN=   11350.39     FROM MIGRAD    STATUS=CONVERGED    140 CALLS     1338 TOTAL
                     EDM=   .73E-09  STRATEGY=1  ERROR MATRIX UNCERTAINTY=  4.0%

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor     3.1125        3.2902        .57550E-06   -.94259E-03
   2  Prefactor      .0000        3.7755       -.45261E-07** at limit **
   3  norm          .55511E-10    2.8440       -.16604E-06** at limit **
   4  norm          4.8441        1.7621        .15527E-06   -.32664E-02
   5  Prefactor     .66280E-07    11.646        .49567E-05** at limit **
   6  Prefactor     .16098E-08    6.1251       -.47192E-06** at limit **
   7  norm          .27756E-09    4.7087        .76611E-06** at limit **
   8  Prefactor     .49960E-07    10.461       -.22586E-05** at limit **
   9  norm          .44409E-08    6.6488        .15535E-05** at limit **
  10  Prefactor     41.658        25.610        .29291E-05    .62539E-01
  11  norm          1.4782        1.0838       -.13257E-06    .47899E-02
  12  Prefactor     2.2665        1.5568       -.44313E-06    .16831E-02
  13  Prefactor     26.287        20.673        .15013E-05    .15955E-01
  14  Prefactor     15.126        39.986        .60342E-06   -.56237E-01
  15  norm           .0000        6.9651        .29469E-05** at limit **
  16  Prefactor     8.4203        21.818       -.32289E-05    .79500E-01
  17  Normalizat    .59748        .24568       -.60797E-04   -.41191E-05
  18  Prefactor     1.1000        .71526E-01    .75011E-05   -.35524E-04
                               ERR DEF=  .500    
Final values: 
  Prefactor  = 3.11248
  Prefactor  = 0
  norm       = 5.55112e-11
  norm       = 4.84406
  Prefactor  = 6.62803e-08
  Prefactor  = 1.60982e-09
  norm       = 2.77556e-10
  Prefactor  = 4.996e-08
  norm       = 4.44089e-09
  Prefactor  = 41.6576
  norm       = 1.47821
  Prefactor  = 2.26648
  Prefactor  = 26.2871
  Prefactor  = 15.1262
  norm       = 0
  Prefactor  = 8.42032
  Normalizat = 0.597476
  Prefactor  = 1.10004
 **********
 **   18 **HESSE 
 **********

 FCN=   11350.39     FROM HESSE     STATUS=OK           282 CALLS     1620 TOTAL
                     EDM=   .15E-05    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  Prefactor     3.1125        3.2873        .57416E-03   -1.5673    
   2  Prefactor      .0000        3.7688        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   3  norm          .55511E-10    2.8401        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   4  norm          4.8441        1.7650        .45703E-03   -1.5664    
   5  Prefactor     .66280E-07    11.680        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   6  Prefactor     .16098E-08    6.1244        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   7  norm          .27756E-09    4.7074        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   8  Prefactor     .49960E-07    10.483        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   9  norm          .44409E-08    6.5932        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  10  Prefactor     41.658        25.933        .15286E-03   -1.5579    
  11  norm          1.4782        1.1080        .88075E-03   -1.5684    
  12  Prefactor     2.2665        1.5905        .68012E-03   -1.5678    
  13  Prefactor     26.287        20.848        .19805E-03   -1.5605    
  14  Prefactor     15.126        47.900        .26520E-03   -1.5630    
  15  norm           .0000        6.7000        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  16  Prefactor     8.4203        40.516        .36075E-03   -1.5650    
  17  Normalizat    .59748        .24237        .13390       -1.0809    
  18  Prefactor     1.1000        .69726E-01    .37594E-01   -.89465    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 1.54307e-06
Minuit parameter uncertainties:
  1  3.28728
  2  1.87761e-05
  3  2.42099e-05
  4  1.76499
  5  0.00175964
  6  0.000200039
  7  7.40436e-05
  8  0.00144733
  9  0.000341165
  10  25.9332
  11  1.10804
  12  1.59047
  13  20.8476
  14  47.9015
  15  1.78891e-05
  16  36.9413
  17  0.242798
  18  0.0697314
 **********
 **   18 **HESSE 
 **********

 FCN=   11350.39     FROM HESSE     STATUS=OK           282 CALLS     1620 TOTAL
                     EDM=   .15E-05    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  Prefactor     3.1125        3.2873        .57416E-03   -1.5673    
   2  Prefactor      .0000        3.7688        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   3  norm          .55511E-10    2.8401        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   4  norm          4.8441        1.7650        .45703E-03   -1.5664    
   5  Prefactor     .66280E-07    11.680        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   6  Prefactor     .16098E-08    6.1244        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   7  norm          .27756E-09    4.7074        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   8  Prefactor     .49960E-07    10.483        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   9  norm          .44409E-08    6.5932        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  10  Prefactor     41.658        25.933        .15286E-03   -1.5579    
  11  norm          1.4782        1.1080        .88075E-03   -1.5684    
  12  Prefactor     2.2665        1.5905        .68012E-03   -1.5678    
  13  Prefactor     26.287        20.848        .19805E-03   -1.5605    
  14  Prefactor     15.126        47.900        .26520E-03   -1.5630    
  15  norm           .0000        6.7000        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  16  Prefactor     8.4203        40.516        .36075E-03   -1.5650    
  17  Normalizat    .59748        .24237        .13390       -1.0809    
  18  Prefactor     1.1000        .69726E-01    .37594E-01   -.89465    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 1.54307e-06
Minuit parameter uncertainties:
  1  3.28728
  2  1.87761e-05
  3  2.42099e-05
  4  1.76499
  5  0.00175964
  6  0.000200039
  7  7.40436e-05
  8  0.00144733
  9  0.000341165
  10  25.9332
  11  1.10804
  12  1.59047
  13  20.8476
  14  47.9015
  15  1.78891e-05
  16  36.9413
  17  0.242798
  18  0.0697314
Done.

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

Extracting fit parameters...

4FGL J0358.6+0634
   Spectrum: PowerLaw
232    Prefactor:  6.628e-08  1.760e-03  0.000e+00  1.000e+06 ( 1.000e-13)
233        Index:  2.567e+00  0.000e+00  0.000e+00  1.000e+01 (-1.000e+00) fixed
234        Scale:  7.663e+02  0.000e+00  3.000e+01  5.000e+05 ( 1.000e+00) fixed

GAL_V02
   Spectrum: PowerLaw
460    Prefactor:  1.100e+00  6.973e-02  0.000e+00  1.000e+01 ( 1.000e+00)
461        Index:  0.000e+00  0.000e+00 -1.000e+00  1.000e+00 ( 1.000e+00) fixed
462        Scale:  1.000e+02  0.000e+00  5.000e+01  2.000e+02 ( 1.000e+00) fixed

EG_v02
   Spectrum: FileFunction
459   Normalization:  5.975e-01  2.428e-01  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Fixed Index): -0.00
Ra Dec: 59.666 6.576
Photon Flux Upper Limit: 6.82052957497e-08 ph cm-2 s-1
Energy Flux Upper Limit: 0.00532694152483 MeV cm-2 s-1

Saving results to:
/lscratch/kocevski/36150525/likelihoodResults_809308801_809568001_4FGL_J0358.6+0634_daily_bin2199.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) = 11350.3857917
delta logL = -0.0001522196726

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

MINUIT Return Code (Free Index): 102
logL (Free Index) = 11350.3856395
delta logL = -7.4396666605e-10

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'Prefactor '    .53846E-08   1.0000          .0000       .10000E+07
     2 'Index     '    2.0516       1.0000          .0000       10.000    
     3 'Normalizat'    .59746       1.0000         .10000E-01   10.000    
     4 'Prefactor '    1.1000       1.0000          .0000       10.000    
 **********
 **   15 **SET ERR    .5000    
 **********
 **********
 **   16 **SET GRAD    1.000    
 **********
 **********
 **   17 **MINIMIZE    .4630E+05   .2000E-04
 **********

 MIGRAD MINIMIZATION HAS CONVERGED.

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

 FCN=   11350.39     FROM MIGRAD    STATUS=CONVERGED     49 CALLS      253 TOTAL
                     EDM=   .56E-12  STRATEGY=1  ERROR MATRIX UNCERTAINTY=100.0%

  EXT PARAMETER                APPROXIMATE        STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor      .0000        3.3420        .42118E-03** at limit **
   2  Index         .82408        .69364       -.79744E-05     .0000    
   3  Normalizat    .59748        .93478       -.14082E-04   -.98358E-05
   4  Prefactor     1.1000        1.1485        .78692E-06   -.53393E-04
                               ERR DEF=  .500    
Final values: 
  Prefactor  = 0
  Index      = 0.824081
  Normalizat = 0.597476
  Prefactor  = 1.10004
 **********
 **   18 **HESSE 
 **********
  MNHESS FAILS AND WILL RETURN DIAGONAL MATRIX. 

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

  EXT PARAMETER                APPROXIMATE     INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  Prefactor      .0000        3.3420        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   2  Index         .13073E-01    .94605       -.79744E-05   -.98847    
   3  Normalizat    .59748        .93478       -.14082E-04   -1.0809    
   4  Prefactor     1.1000        1.1485        .78692E-06   -.89465    
                               ERR DEF=  .500    
Minuit fit quality: 1   estimated distance: 5.56651e-13
Minuit parameter uncertainties:
  1  2.55764e-06
  2  0.701218
  3  0.961365
  4  1.17602

Working on...
/lscratch/kocevski/36150582/ft1_filtered_4FGL_J0358.6+0634_daily_bin2199.fits.....................!
real 64.25
user 62.51
sys 0.83

Creating the likelihood object...
obs = UnbinnedObs('/lscratch/kocevski/36150582/ft1_filtered_4FGL_J0358.6+0634_daily_bin2199.fits', '/lscratch/kocevski/36150582/ft2_4FGL_J0358.6+0634_daily_bin2199.fits', expMap='/lscratch/kocevski/36150582/expmap_809308801_809568001_4FGL_J0358.6+0634_daily_bin2199.fits', expCube='/lscratch/kocevski/36150582/ltcube_809308801_809568001_4FGL_J0358.6+0634_daily_bin2199.fits', irfs='P8R3_SOURCE_V2')
like = UnbinnedAnalysis(obs, '/lscratch/kocevski/36150582/Model_4FGL_J0358.6+0634_daily_bin2199.xml', optimizer='MINUIT')

Using source of interest name: '4FGL J0358.6+0634'

4FGL J0358.6+0634
   Spectrum: PowerLaw
232    Prefactor:  8.019e+00  0.000e+00  0.000e+00  1.000e+06 ( 1.000e-13)
233        Index:  2.567e+00  0.000e+00  0.000e+00  1.000e+01 (-1.000e+00) fixed
234        Scale:  7.663e+02  0.000e+00  3.000e+01  5.000e+05 ( 1.000e+00) fixed


Likelihood Fit Parameters:
Event file(s): /lscratch/kocevski/36150582/ft1_filtered_4FGL_J0358.6+0634_daily_bin2199.fits
Spacecraft file(s): /lscratch/kocevski/36150582/ft2_4FGL_J0358.6+0634_daily_bin2199.fits
Exposure map: /lscratch/kocevski/36150582/expmap_809308801_809568001_4FGL_J0358.6+0634_daily_bin2199.fits
Exposure cube: /lscratch/kocevski/36150582/ltcube_809308801_809568001_4FGL_J0358.6+0634_daily_bin2199.fits
IRFs: P8R3_SOURCE_V2
Source model file: /lscratch/kocevski/36150582/Model_4FGL_J0358.6+0634_daily_bin2199.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) = 11350.4336438

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

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

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'Prefactor '    3.1159       1.0000          .0000       .10000E+07
     2 'Prefactor '    .22308E-02   1.0000          .0000       .10000E+07
     3 'norm      '    .15529E-03   1.0000          .0000       .10000E+07
     4 'norm      '    4.8397       1.0000          .0000       .10000E+07
     5 'Prefactor '    .58060E-03   1.0000          .0000       .10000E+07
     6 'Prefactor '    .46083E-02   1.0000          .0000       .10000E+07
     7 'norm      '    .13593E-03   1.0000          .0000       .10000E+07
     8 'Prefactor '    .14129E-03   1.0000          .0000       .10000E+07
     9 'norm      '    .43504E-06   1.0000          .0000       .10000E+07
    10 'Prefactor '    42.806       1.0000          .0000       .10000E+07
    11 'norm      '    1.4831       1.0000          .0000       .10000E+07
    12 'Prefactor '    2.2775       1.0000          .0000       .10000E+07
    13 'Prefactor '    25.505       1.0000          .0000       .10000E+07
    14 'Prefactor '    14.236       1.0000          .0000       .10000E+07
    15 'norm      '    .14806E-04   1.0000          .0000       .10000E+07
    16 'Prefactor '    7.7164       1.0000          .0000       .10000E+07
    17 'Normalizat'    .59880       1.0000         .10000E-01   10.000    
    18 'Prefactor '    1.0998       1.0000          .0000       10.000    
 **********
 **   15 **SET ERR    .5000    
 **********
 **********
 **   16 **SET GRAD    1.000    
 **********
 **********
 **   17 **MINIMIZE    .4630E+05   .2000E-04
 **********

 MIGRAD MINIMIZATION HAS CONVERGED.

 FCN=   11350.39     FROM MIGRAD    STATUS=CONVERGED    140 CALLS     1338 TOTAL
                     EDM=   .73E-09  STRATEGY=1  ERROR MATRIX UNCERTAINTY=  4.0%

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor     3.1125        3.2902        .57550E-06   -.94259E-03
   2  Prefactor      .0000        3.7755       -.45261E-07** at limit **
   3  norm          .55511E-10    2.8440       -.16604E-06** at limit **
   4  norm          4.8441        1.7621        .15527E-06   -.32664E-02
   5  Prefactor     .66280E-07    11.646        .49567E-05** at limit **
   6  Prefactor     .16098E-08    6.1251       -.47192E-06** at limit **
   7  norm          .27756E-09    4.7087        .76611E-06** at limit **
   8  Prefactor     .49960E-07    10.461       -.22586E-05** at limit **
   9  norm          .44409E-08    6.6488        .15535E-05** at limit **
  10  Prefactor     41.658        25.610        .29291E-05    .62539E-01
  11  norm          1.4782        1.0838       -.13257E-06    .47899E-02
  12  Prefactor     2.2665        1.5568       -.44313E-06    .16831E-02
  13  Prefactor     26.287        20.673        .15013E-05    .15955E-01
  14  Prefactor     15.126        39.986        .60342E-06   -.56237E-01
  15  norm           .0000        6.9651        .29469E-05** at limit **
  16  Prefactor     8.4203        21.818       -.32289E-05    .79500E-01
  17  Normalizat    .59748        .24568       -.60797E-04   -.41191E-05
  18  Prefactor     1.1000        .71526E-01    .75011E-05   -.35524E-04
                               ERR DEF=  .500    
Final values: 
  Prefactor  = 3.11248
  Prefactor  = 0
  norm       = 5.55112e-11
  norm       = 4.84406
  Prefactor  = 6.62803e-08
  Prefactor  = 1.60982e-09
  norm       = 2.77556e-10
  Prefactor  = 4.996e-08
  norm       = 4.44089e-09
  Prefactor  = 41.6576
  norm       = 1.47821
  Prefactor  = 2.26648
  Prefactor  = 26.2871
  Prefactor  = 15.1262
  norm       = 0
  Prefactor  = 8.42032
  Normalizat = 0.597476
  Prefactor  = 1.10004
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) = 11350.3856395
delta logL = 2.83762346953e-09

Extracting fit parameters...

4FGL J0358.6+0634
   Spectrum: PowerLaw
232    Prefactor:  0.000e+00  2.558e-06  0.000e+00  1.000e+06 ( 1.000e-13)
233        Index:  8.241e-01  7.012e-01  0.000e+00  1.000e+01 (-1.000e+00)
234        Scale:  7.663e+02  0.000e+00  3.000e+01  5.000e+05 ( 1.000e+00) fixed

GAL_V02
   Spectrum: PowerLaw
460    Prefactor:  1.100e+00  1.176e+00  0.000e+00  1.000e+01 ( 1.000e+00)
461        Index:  0.000e+00  0.000e+00 -1.000e+00  1.000e+00 ( 1.000e+00) fixed
462        Scale:  1.000e+02  0.000e+00  5.000e+01  2.000e+02 ( 1.000e+00) fixed

EG_v02
   Spectrum: FileFunction
459   Normalization:  5.975e-01  9.614e-01  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Free Index): -0.00
Ra Dec: 59.666 6.576

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/36150525/cmap_HighResolution_809308801_809568001_4FGL_J0358.6+0634_daily_bin2199.png

Cleaning up...

** Nuclear option initiated! **

Updating database...

UPDATE lightcurve_data_v2 SET energy_flux_upper_limit='5.33e-03', job_status='DONE', photon_flux_upper_limit='6.82e-08', time_completed='2026-08-28 03:12:28.656635', job_id='36150525', GAL2='1.10', fit_tolerance='1e-08', EG2='0.60', EG='0.60', time_epoch_completed='1787911948.66', return_code2='101', ts='-0.00', comment='SUCCESS', return_code='0', GAL='1.10', dlogl='2.84e-09', ts2='0.00', photon_index_error='0.00', photon_index='2.57' WHERE bin_id='2199' AND source_name='4FGL J0358.6+0634' AND cadence='daily';

Database successfully updated.


Analysis Complete.


Fri Aug 28 03:12:28 PDT 2026

Done.

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

Extracting fit parameters...

4FGL J0358.6+0634
   Spectrum: PowerLaw
232    Prefactor:  6.628e-08  1.760e-03  0.000e+00  1.000e+06 ( 1.000e-13)
233        Index:  2.567e+00  0.000e+00  0.000e+00  1.000e+01 (-1.000e+00) fixed
234        Scale:  7.663e+02  0.000e+00  3.000e+01  5.000e+05 ( 1.000e+00) fixed

GAL_V02
   Spectrum: PowerLaw
460    Prefactor:  1.100e+00  6.973e-02  0.000e+00  1.000e+01 ( 1.000e+00)
461        Index:  0.000e+00  0.000e+00 -1.000e+00  1.000e+00 ( 1.000e+00) fixed
462        Scale:  1.000e+02  0.000e+00  5.000e+01  2.000e+02 ( 1.000e+00) fixed

EG_v02
   Spectrum: FileFunction
459   Normalization:  5.975e-01  2.428e-01  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Fixed Index): -0.00
Ra Dec: 59.666 6.576
Photon Flux Upper Limit: 6.82052957497e-08 ph cm-2 s-1
Energy Flux Upper Limit: 0.00532694152483 MeV cm-2 s-1

Saving results to:
/lscratch/kocevski/36150561/likelihoodResults_809308801_809568001_4FGL_J0358.6+0634_daily_bin2199.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) = 11350.3857917
delta logL = -0.0001522196726

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

MINUIT Return Code (Free Index): 102
logL (Free Index) = 11350.3856395
delta logL = -7.4396666605e-10

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'Prefactor '    .53846E-08   1.0000          .0000       .10000E+07
     2 'Index     '    2.0516       1.0000          .0000       10.000    
     3 'Normalizat'    .59746       1.0000         .10000E-01   10.000    
     4 'Prefactor '    1.1000       1.0000          .0000       10.000    
 **********
 **   15 **SET ERR    .5000    
 **********
 **********
 **   16 **SET GRAD    1.000    
 **********
 **********
 **   17 **MINIMIZE    .4630E+05   .2000E-04
 **********

 MIGRAD MINIMIZATION HAS CONVERGED.

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

 FCN=   11350.39     FROM MIGRAD    STATUS=CONVERGED     49 CALLS      253 TOTAL
                     EDM=   .56E-12  STRATEGY=1  ERROR MATRIX UNCERTAINTY=100.0%

  EXT PARAMETER                APPROXIMATE        STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor      .0000        3.3420        .42118E-03** at limit **
   2  Index         .82408        .69364       -.79744E-05     .0000    
   3  Normalizat    .59748        .93478       -.14082E-04   -.98358E-05
   4  Prefactor     1.1000        1.1485        .78692E-06   -.53393E-04
                               ERR DEF=  .500    
Final values: 
  Prefactor  = 0
  Index      = 0.824081
  Normalizat = 0.597476
  Prefactor  = 1.10004
 **********
 **   18 **HESSE 
 **********
  MNHESS FAILS AND WILL RETURN DIAGONAL MATRIX. 

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

  EXT PARAMETER                APPROXIMATE     INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  Prefactor      .0000        3.3420        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   2  Index         .13073E-01    .94605       -.79744E-05   -.98847    
   3  Normalizat    .59748        .93478       -.14082E-04   -1.0809    
   4  Prefactor     1.1000        1.1485        .78692E-06   -.89465    
                               ERR DEF=  .500    
Minuit fit quality: 1   estimated distance: 5.56651e-13
Minuit parameter uncertainties:
  1  2.55764e-06
  2  0.701218
  3  0.961365
  4  1.17602
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) = 11350.3856395
delta logL = 2.83762346953e-09

Extracting fit parameters...

4FGL J0358.6+0634
   Spectrum: PowerLaw
232    Prefactor:  0.000e+00  2.558e-06  0.000e+00  1.000e+06 ( 1.000e-13)
233        Index:  8.241e-01  7.012e-01  0.000e+00  1.000e+01 (-1.000e+00)
234        Scale:  7.663e+02  0.000e+00  3.000e+01  5.000e+05 ( 1.000e+00) fixed

GAL_V02
   Spectrum: PowerLaw
460    Prefactor:  1.100e+00  1.176e+00  0.000e+00  1.000e+01 ( 1.000e+00)
461        Index:  0.000e+00  0.000e+00 -1.000e+00  1.000e+00 ( 1.000e+00) fixed
462        Scale:  1.000e+02  0.000e+00  5.000e+01  2.000e+02 ( 1.000e+00) fixed

EG_v02
   Spectrum: FileFunction
459   Normalization:  5.975e-01  9.614e-01  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Free Index): -0.00
Ra Dec: 59.666 6.576

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/36150561/cmap_HighResolution_809308801_809568001_4FGL_J0358.6+0634_daily_bin2199.png

Cleaning up...

** Nuclear option initiated! **

Updating database...

UPDATE lightcurve_data_v2 SET energy_flux_upper_limit='5.33e-03', job_status='DONE', photon_flux_upper_limit='6.82e-08', time_completed='2026-08-28 03:12:38.651506', job_id='36150561', GAL2='1.10', fit_tolerance='1e-08', EG2='0.60', EG='0.60', time_epoch_completed='1787911958.65', return_code2='101', ts='-0.00', comment='SUCCESS', return_code='0', GAL='1.10', dlogl='2.84e-09', ts2='0.00', photon_index_error='0.00', photon_index='2.57' WHERE bin_id='2199' AND source_name='4FGL J0358.6+0634' AND cadence='daily';

Database successfully updated.


Analysis Complete.


Fri Aug 28 03:12:38 PDT 2026

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

 FCN=   11350.39     FROM HESSE     STATUS=OK           282 CALLS     1620 TOTAL
                     EDM=   .15E-05    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  Prefactor     3.1125        3.2873        .57416E-03   -1.5673    
   2  Prefactor      .0000        3.7688        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   3  norm          .55511E-10    2.8401        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   4  norm          4.8441        1.7650        .45703E-03   -1.5664    
   5  Prefactor     .66280E-07    11.680        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   6  Prefactor     .16098E-08    6.1244        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   7  norm          .27756E-09    4.7074        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   8  Prefactor     .49960E-07    10.483        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   9  norm          .44409E-08    6.5932        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  10  Prefactor     41.658        25.933        .15286E-03   -1.5579    
  11  norm          1.4782        1.1080        .88075E-03   -1.5684    
  12  Prefactor     2.2665        1.5905        .68012E-03   -1.5678    
  13  Prefactor     26.287        20.848        .19805E-03   -1.5605    
  14  Prefactor     15.126        47.900        .26520E-03   -1.5630    
  15  norm           .0000        6.7000        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  16  Prefactor     8.4203        40.516        .36075E-03   -1.5650    
  17  Normalizat    .59748        .24237        .13390       -1.0809    
  18  Prefactor     1.1000        .69726E-01    .37594E-01   -.89465    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 1.54307e-06
Minuit parameter uncertainties:
  1  3.28728
  2  1.87761e-05
  3  2.42099e-05
  4  1.76499
  5  0.00175964
  6  0.000200039
  7  7.40436e-05
  8  0.00144733
  9  0.000341165
  10  25.9332
  11  1.10804
  12  1.59047
  13  20.8476
  14  47.9015
  15  1.78891e-05
  16  36.9413
  17  0.242798
  18  0.0697314

Working on...
/lscratch/kocevski/36150602/ft1_filtered_4FGL_J0358.6+0634_daily_bin2199.fits.....................!
real 61.81
user 59.56
sys 1.16

Creating the likelihood object...
obs = UnbinnedObs('/lscratch/kocevski/36150602/ft1_filtered_4FGL_J0358.6+0634_daily_bin2199.fits', '/lscratch/kocevski/36150602/ft2_4FGL_J0358.6+0634_daily_bin2199.fits', expMap='/lscratch/kocevski/36150602/expmap_809308801_809568001_4FGL_J0358.6+0634_daily_bin2199.fits', expCube='/lscratch/kocevski/36150602/ltcube_809308801_809568001_4FGL_J0358.6+0634_daily_bin2199.fits', irfs='P8R3_SOURCE_V2')
like = UnbinnedAnalysis(obs, '/lscratch/kocevski/36150602/Model_4FGL_J0358.6+0634_daily_bin2199.xml', optimizer='MINUIT')

Using source of interest name: '4FGL J0358.6+0634'

4FGL J0358.6+0634
   Spectrum: PowerLaw
232    Prefactor:  8.019e+00  0.000e+00  0.000e+00  1.000e+06 ( 1.000e-13)
233        Index:  2.567e+00  0.000e+00  0.000e+00  1.000e+01 (-1.000e+00) fixed
234        Scale:  7.663e+02  0.000e+00  3.000e+01  5.000e+05 ( 1.000e+00) fixed


Likelihood Fit Parameters:
Event file(s): /lscratch/kocevski/36150602/ft1_filtered_4FGL_J0358.6+0634_daily_bin2199.fits
Spacecraft file(s): /lscratch/kocevski/36150602/ft2_4FGL_J0358.6+0634_daily_bin2199.fits
Exposure map: /lscratch/kocevski/36150602/expmap_809308801_809568001_4FGL_J0358.6+0634_daily_bin2199.fits
Exposure cube: /lscratch/kocevski/36150602/ltcube_809308801_809568001_4FGL_J0358.6+0634_daily_bin2199.fits
IRFs: P8R3_SOURCE_V2
Source model file: /lscratch/kocevski/36150602/Model_4FGL_J0358.6+0634_daily_bin2199.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) = 11350.4336438

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

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

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'Prefactor '    3.1159       1.0000          .0000       .10000E+07
     2 'Prefactor '    .22308E-02   1.0000          .0000       .10000E+07
     3 'norm      '    .15529E-03   1.0000          .0000       .10000E+07
     4 'norm      '    4.8397       1.0000          .0000       .10000E+07
     5 'Prefactor '    .58060E-03   1.0000          .0000       .10000E+07
     6 'Prefactor '    .46083E-02   1.0000          .0000       .10000E+07
     7 'norm      '    .13593E-03   1.0000          .0000       .10000E+07
     8 'Prefactor '    .14129E-03   1.0000          .0000       .10000E+07
     9 'norm      '    .43504E-06   1.0000          .0000       .10000E+07
    10 'Prefactor '    42.806       1.0000          .0000       .10000E+07
    11 'norm      '    1.4831       1.0000          .0000       .10000E+07
    12 'Prefactor '    2.2775       1.0000          .0000       .10000E+07
    13 'Prefactor '    25.505       1.0000          .0000       .10000E+07
    14 'Prefactor '    14.236       1.0000          .0000       .10000E+07
    15 'norm      '    .14806E-04   1.0000          .0000       .10000E+07
    16 'Prefactor '    7.7164       1.0000          .0000       .10000E+07
    17 'Normalizat'    .59880       1.0000         .10000E-01   10.000    
    18 'Prefactor '    1.0998       1.0000          .0000       10.000    
 **********
 **   15 **SET ERR    .5000    
 **********
 **********
 **   16 **SET GRAD    1.000    
 **********
 **********
 **   17 **MINIMIZE    .4630E+05   .2000E-04
 **********

 MIGRAD MINIMIZATION HAS CONVERGED.

 FCN=   11350.39     FROM MIGRAD    STATUS=CONVERGED    140 CALLS     1338 TOTAL
                     EDM=   .73E-09  STRATEGY=1  ERROR MATRIX UNCERTAINTY=  4.0%

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor     3.1125        3.2902        .57550E-06   -.94259E-03
   2  Prefactor      .0000        3.7755       -.45261E-07** at limit **
   3  norm          .55511E-10    2.8440       -.16604E-06** at limit **
   4  norm          4.8441        1.7621        .15527E-06   -.32664E-02
   5  Prefactor     .66280E-07    11.646        .49567E-05** at limit **
   6  Prefactor     .16098E-08    6.1251       -.47192E-06** at limit **
   7  norm          .27756E-09    4.7087        .76611E-06** at limit **
   8  Prefactor     .49960E-07    10.461       -.22586E-05** at limit **
   9  norm          .44409E-08    6.6488        .15535E-05** at limit **
  10  Prefactor     41.658        25.610        .29291E-05    .62539E-01
  11  norm          1.4782        1.0838       -.13257E-06    .47899E-02
  12  Prefactor     2.2665        1.5568       -.44313E-06    .16831E-02
  13  Prefactor     26.287        20.673        .15013E-05    .15955E-01
  14  Prefactor     15.126        39.986        .60342E-06   -.56237E-01
  15  norm           .0000        6.9651        .29469E-05** at limit **
  16  Prefactor     8.4203        21.818       -.32289E-05    .79500E-01
  17  Normalizat    .59748        .24568       -.60797E-04   -.41191E-05
  18  Prefactor     1.1000        .71526E-01    .75011E-05   -.35524E-04
                               ERR DEF=  .500    
Final values: 
  Prefactor  = 3.11248
  Prefactor  = 0
  norm       = 5.55112e-11
  norm       = 4.84406
  Prefactor  = 6.62803e-08
  Prefactor  = 1.60982e-09
  norm       = 2.77556e-10
  Prefactor  = 4.996e-08
  norm       = 4.44089e-09
  Prefactor  = 41.6576
  norm       = 1.47821
  Prefactor  = 2.26648
  Prefactor  = 26.2871
  Prefactor  = 15.1262
  norm       = 0
  Prefactor  = 8.42032
  Normalizat = 0.597476
  Prefactor  = 1.10004
Done.

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

Extracting fit parameters...

4FGL J0358.6+0634
   Spectrum: PowerLaw
232    Prefactor:  6.628e-08  1.760e-03  0.000e+00  1.000e+06 ( 1.000e-13)
233        Index:  2.567e+00  0.000e+00  0.000e+00  1.000e+01 (-1.000e+00) fixed
234        Scale:  7.663e+02  0.000e+00  3.000e+01  5.000e+05 ( 1.000e+00) fixed

GAL_V02
   Spectrum: PowerLaw
460    Prefactor:  1.100e+00  6.973e-02  0.000e+00  1.000e+01 ( 1.000e+00)
461        Index:  0.000e+00  0.000e+00 -1.000e+00  1.000e+00 ( 1.000e+00) fixed
462        Scale:  1.000e+02  0.000e+00  5.000e+01  2.000e+02 ( 1.000e+00) fixed

EG_v02
   Spectrum: FileFunction
459   Normalization:  5.975e-01  2.428e-01  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Fixed Index): -0.00
Ra Dec: 59.666 6.576
Photon Flux Upper Limit: 6.82052957497e-08 ph cm-2 s-1
Energy Flux Upper Limit: 0.00532694152483 MeV cm-2 s-1

Saving results to:
/lscratch/kocevski/36150582/likelihoodResults_809308801_809568001_4FGL_J0358.6+0634_daily_bin2199.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) = 11350.3857917
delta logL = -0.0001522196726

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

MINUIT Return Code (Free Index): 102
logL (Free Index) = 11350.3856395
delta logL = -7.4396666605e-10

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'Prefactor '    .53846E-08   1.0000          .0000       .10000E+07
     2 'Index     '    2.0516       1.0000          .0000       10.000    
     3 'Normalizat'    .59746       1.0000         .10000E-01   10.000    
     4 'Prefactor '    1.1000       1.0000          .0000       10.000    
 **********
 **   15 **SET ERR    .5000    
 **********
 **********
 **   16 **SET GRAD    1.000    
 **********
 **********
 **   17 **MINIMIZE    .4630E+05   .2000E-04
 **********

 MIGRAD MINIMIZATION HAS CONVERGED.

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

 FCN=   11350.39     FROM MIGRAD    STATUS=CONVERGED     49 CALLS      253 TOTAL
                     EDM=   .56E-12  STRATEGY=1  ERROR MATRIX UNCERTAINTY=100.0%

  EXT PARAMETER                APPROXIMATE        STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor      .0000        3.3420        .42118E-03** at limit **
   2  Index         .82408        .69364       -.79744E-05     .0000    
   3  Normalizat    .59748        .93478       -.14082E-04   -.98358E-05
   4  Prefactor     1.1000        1.1485        .78692E-06   -.53393E-04
                               ERR DEF=  .500    
Final values: 
  Prefactor  = 0
  Index      = 0.824081
  Normalizat = 0.597476
  Prefactor  = 1.10004
 **********
 **   18 **HESSE 
 **********
  MNHESS FAILS AND WILL RETURN DIAGONAL MATRIX. 

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

  EXT PARAMETER                APPROXIMATE     INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  Prefactor      .0000        3.3420        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   2  Index         .13073E-01    .94605       -.79744E-05   -.98847    
   3  Normalizat    .59748        .93478       -.14082E-04   -1.0809    
   4  Prefactor     1.1000        1.1485        .78692E-06   -.89465    
                               ERR DEF=  .500    
Minuit fit quality: 1   estimated distance: 5.56651e-13
Minuit parameter uncertainties:
  1  2.55764e-06
  2  0.701218
  3  0.961365
  4  1.17602
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) = 11350.3856395
delta logL = 2.83762346953e-09

Extracting fit parameters...

4FGL J0358.6+0634
   Spectrum: PowerLaw
232    Prefactor:  0.000e+00  2.558e-06  0.000e+00  1.000e+06 ( 1.000e-13)
233        Index:  8.241e-01  7.012e-01  0.000e+00  1.000e+01 (-1.000e+00)
234        Scale:  7.663e+02  0.000e+00  3.000e+01  5.000e+05 ( 1.000e+00) fixed

GAL_V02
   Spectrum: PowerLaw
460    Prefactor:  1.100e+00  1.176e+00  0.000e+00  1.000e+01 ( 1.000e+00)
461        Index:  0.000e+00  0.000e+00 -1.000e+00  1.000e+00 ( 1.000e+00) fixed
462        Scale:  1.000e+02  0.000e+00  5.000e+01  2.000e+02 ( 1.000e+00) fixed

EG_v02
   Spectrum: FileFunction
459   Normalization:  5.975e-01  9.614e-01  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Free Index): -0.00
Ra Dec: 59.666 6.576

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/36150582/cmap_HighResolution_809308801_809568001_4FGL_J0358.6+0634_daily_bin2199.png

Cleaning up...

** Nuclear option initiated! **

Updating database...

UPDATE lightcurve_data_v2 SET energy_flux_upper_limit='5.33e-03', job_status='DONE', photon_flux_upper_limit='6.82e-08', time_completed='2026-08-28 03:13:11.258468', job_id='36150582', GAL2='1.10', fit_tolerance='1e-08', EG2='0.60', EG='0.60', time_epoch_completed='1787911991.26', return_code2='101', ts='-0.00', comment='SUCCESS', return_code='0', GAL='1.10', dlogl='2.84e-09', ts2='0.00', photon_index_error='0.00', photon_index='2.57' WHERE bin_id='2199' AND source_name='4FGL J0358.6+0634' AND cadence='daily';

Database successfully updated.


Analysis Complete.


Fri Aug 28 03:13:11 PDT 2026

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

 FCN=   11350.39     FROM HESSE     STATUS=OK           282 CALLS     1620 TOTAL
                     EDM=   .15E-05    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  Prefactor     3.1125        3.2873        .57416E-03   -1.5673    
   2  Prefactor      .0000        3.7688        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   3  norm          .55511E-10    2.8401        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   4  norm          4.8441        1.7650        .45703E-03   -1.5664    
   5  Prefactor     .66280E-07    11.680        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   6  Prefactor     .16098E-08    6.1244        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   7  norm          .27756E-09    4.7074        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   8  Prefactor     .49960E-07    10.483        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   9  norm          .44409E-08    6.5932        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  10  Prefactor     41.658        25.933        .15286E-03   -1.5579    
  11  norm          1.4782        1.1080        .88075E-03   -1.5684    
  12  Prefactor     2.2665        1.5905        .68012E-03   -1.5678    
  13  Prefactor     26.287        20.848        .19805E-03   -1.5605    
  14  Prefactor     15.126        47.900        .26520E-03   -1.5630    
  15  norm           .0000        6.7000        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  16  Prefactor     8.4203        40.516        .36075E-03   -1.5650    
  17  Normalizat    .59748        .24237        .13390       -1.0809    
  18  Prefactor     1.1000        .69726E-01    .37594E-01   -.89465    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 1.54307e-06
Minuit parameter uncertainties:
  1  3.28728
  2  1.87761e-05
  3  2.42099e-05
  4  1.76499
  5  0.00175964
  6  0.000200039
  7  7.40436e-05
  8  0.00144733
  9  0.000341165
  10  25.9332
  11  1.10804
  12  1.59047
  13  20.8476
  14  47.9015
  15  1.78891e-05
  16  36.9413
  17  0.242798
  18  0.0697314
Working on...
/lscratch/kocevski/36150610/ft1_filtered_4FGL_J0358.6+0634_daily_bin2199.fits.....................!
real 66.55
user 64.18
sys 1.17

Creating the likelihood object...
obs = UnbinnedObs('/lscratch/kocevski/36150610/ft1_filtered_4FGL_J0358.6+0634_daily_bin2199.fits', '/lscratch/kocevski/36150610/ft2_4FGL_J0358.6+0634_daily_bin2199.fits', expMap='/lscratch/kocevski/36150610/expmap_809308801_809568001_4FGL_J0358.6+0634_daily_bin2199.fits', expCube='/lscratch/kocevski/36150610/ltcube_809308801_809568001_4FGL_J0358.6+0634_daily_bin2199.fits', irfs='P8R3_SOURCE_V2')
like = UnbinnedAnalysis(obs, '/lscratch/kocevski/36150610/Model_4FGL_J0358.6+0634_daily_bin2199.xml', optimizer='MINUIT')

Using source of interest name: '4FGL J0358.6+0634'

4FGL J0358.6+0634
   Spectrum: PowerLaw
232    Prefactor:  8.019e+00  0.000e+00  0.000e+00  1.000e+06 ( 1.000e-13)
233        Index:  2.567e+00  0.000e+00  0.000e+00  1.000e+01 (-1.000e+00) fixed
234        Scale:  7.663e+02  0.000e+00  3.000e+01  5.000e+05 ( 1.000e+00) fixed


Likelihood Fit Parameters:
Event file(s): /lscratch/kocevski/36150610/ft1_filtered_4FGL_J0358.6+0634_daily_bin2199.fits
Spacecraft file(s): /lscratch/kocevski/36150610/ft2_4FGL_J0358.6+0634_daily_bin2199.fits
Exposure map: /lscratch/kocevski/36150610/expmap_809308801_809568001_4FGL_J0358.6+0634_daily_bin2199.fits
Exposure cube: /lscratch/kocevski/36150610/ltcube_809308801_809568001_4FGL_J0358.6+0634_daily_bin2199.fits
IRFs: P8R3_SOURCE_V2
Source model file: /lscratch/kocevski/36150610/Model_4FGL_J0358.6+0634_daily_bin2199.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) = 11350.4336438

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

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

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'Prefactor '    3.1159       1.0000          .0000       .10000E+07
     2 'Prefactor '    .22308E-02   1.0000          .0000       .10000E+07
     3 'norm      '    .15529E-03   1.0000          .0000       .10000E+07
     4 'norm      '    4.8397       1.0000          .0000       .10000E+07
     5 'Prefactor '    .58060E-03   1.0000          .0000       .10000E+07
     6 'Prefactor '    .46083E-02   1.0000          .0000       .10000E+07
     7 'norm      '    .13593E-03   1.0000          .0000       .10000E+07
     8 'Prefactor '    .14129E-03   1.0000          .0000       .10000E+07
     9 'norm      '    .43504E-06   1.0000          .0000       .10000E+07
    10 'Prefactor '    42.806       1.0000          .0000       .10000E+07
    11 'norm      '    1.4831       1.0000          .0000       .10000E+07
    12 'Prefactor '    2.2775       1.0000          .0000       .10000E+07
    13 'Prefactor '    25.505       1.0000          .0000       .10000E+07
    14 'Prefactor '    14.236       1.0000          .0000       .10000E+07
    15 'norm      '    .14806E-04   1.0000          .0000       .10000E+07
    16 'Prefactor '    7.7164       1.0000          .0000       .10000E+07
    17 'Normalizat'    .59880       1.0000         .10000E-01   10.000    
    18 'Prefactor '    1.0998       1.0000          .0000       10.000    
 **********
 **   15 **SET ERR    .5000    
 **********
 **********
 **   16 **SET GRAD    1.000    
 **********
 **********
 **   17 **MINIMIZE    .4630E+05   .2000E-04
 **********

 MIGRAD MINIMIZATION HAS CONVERGED.

 FCN=   11350.39     FROM MIGRAD    STATUS=CONVERGED    140 CALLS     1338 TOTAL
                     EDM=   .73E-09  STRATEGY=1  ERROR MATRIX UNCERTAINTY=  4.0%

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor     3.1125        3.2902        .57550E-06   -.94259E-03
   2  Prefactor      .0000        3.7755       -.45261E-07** at limit **
   3  norm          .55511E-10    2.8440       -.16604E-06** at limit **
   4  norm          4.8441        1.7621        .15527E-06   -.32664E-02
   5  Prefactor     .66280E-07    11.646        .49567E-05** at limit **
   6  Prefactor     .16098E-08    6.1251       -.47192E-06** at limit **
   7  norm          .27756E-09    4.7087        .76611E-06** at limit **
   8  Prefactor     .49960E-07    10.461       -.22586E-05** at limit **
   9  norm          .44409E-08    6.6488        .15535E-05** at limit **
  10  Prefactor     41.658        25.610        .29291E-05    .62539E-01
  11  norm          1.4782        1.0838       -.13257E-06    .47899E-02
  12  Prefactor     2.2665        1.5568       -.44313E-06    .16831E-02
  13  Prefactor     26.287        20.673        .15013E-05    .15955E-01
  14  Prefactor     15.126        39.986        .60342E-06   -.56237E-01
  15  norm           .0000        6.9651        .29469E-05** at limit **
  16  Prefactor     8.4203        21.818       -.32289E-05    .79500E-01
  17  Normalizat    .59748        .24568       -.60797E-04   -.41191E-05
  18  Prefactor     1.1000        .71526E-01    .75011E-05   -.35524E-04
                               ERR DEF=  .500    
Final values: 
  Prefactor  = 3.11248
  Prefactor  = 0
  norm       = 5.55112e-11
  norm       = 4.84406
  Prefactor  = 6.62803e-08
  Prefactor  = 1.60982e-09
  norm       = 2.77556e-10
  Prefactor  = 4.996e-08
  norm       = 4.44089e-09
  Prefactor  = 41.6576
  norm       = 1.47821
  Prefactor  = 2.26648
  Prefactor  = 26.2871
  Prefactor  = 15.1262
  norm       = 0
  Prefactor  = 8.42032
  Normalizat = 0.597476
  Prefactor  = 1.10004
file=/lscratch/kocevski/36150877/ltcube_809308801_809568001_4FGL_J0358.6+0634_daily_bin2199.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/36150877/ft2_4FGL_J0358.6+0634_daily_bin2199.fits
.....................!
real 9.27
user 8.18
sys 0.22

Generating the exposure map:
time -p gtexpmap evfile=/lscratch/kocevski/36150877/ft1_filtered_4FGL_J0358.6+0634_daily_bin2199.fits evtable="EVENTS" scfile=/lscratch/kocevski/36150877/ft2_4FGL_J0358.6+0634_daily_bin2199.fits sctable="SC_DATA" expcube=/lscratch/kocevski/36150877/ltcube_809308801_809568001_4FGL_J0358.6+0634_daily_bin2199.fits outfile=/lscratch/kocevski/36150877/expmap_809308801_809568001_4FGL_J0358.6+0634_daily_bin2199.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/36150877/ltcube_809308801_809568001_4FGL_J0358.6+0634_daily_bin2199.fits
.....................!
real 74.15
user 68.80
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 142 point sources and 0 extended sources

Setting source of interest to:
4FGL J0358.6+0634 @ 59.6656 6.5759

Creating the counts map:
time -p gtbin evfile=/lscratch/kocevski/36150877/ft1_filtered_4FGL_J0358.6+0634_daily_bin2199.fits scfile=/lscratch/kocevski/36150877/ft2_4FGL_J0358.6+0634_daily_bin2199.fits outfile=/lscratch/kocevski/36150877/cmap_809308801_809568001_4FGL_J0358.6+0634_daily_bin2199.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=59.6656 yref=6.5759 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.70
user 0.24
sys 0.12

Creating the high resolution counts map:
time -p gtbin evfile=/lscratch/kocevski/36150877/ft1_filtered_4FGL_J0358.6+0634_daily_bin2199.fits scfile=/lscratch/kocevski/36150877/ft2_4FGL_J0358.6+0634_daily_bin2199.fits outfile=/lscratch/kocevski/36150877/cmap_HighResolution_809308801_809568001_4FGL_J0358.6+0634_daily_bin2199.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=59.6656 yref=6.5759 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.24
sys 0.13

Computing the diffuse response:
time -p gtdiffrsp evfile=/lscratch/kocevski/36150877/ft1_filtered_4FGL_J0358.6+0634_daily_bin2199.fits evtable="EVENTS" scfile=/lscratch/kocevski/36150877/ft2_4FGL_J0358.6+0634_daily_bin2199.fits sctable="SC_DATA" srcmdl=/lscratch/kocevski/36150877/Model_4FGL_J0358.6+0634_daily_bin2199.xml irfs="P8R3_SOURCE_V2" evclsmin=0 evclass="INDEF" evtype="INDEF" convert=yes chatter=2 clobber=yes debug=no gui=no mode="ql"

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

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

 FCN=   11350.39     FROM HESSE     STATUS=OK           282 CALLS     1620 TOTAL
                     EDM=   .15E-05    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  Prefactor     3.1125        3.2873        .57416E-03   -1.5673    
   2  Prefactor      .0000        3.7688        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   3  norm          .55511E-10    2.8401        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   4  norm          4.8441        1.7650        .45703E-03   -1.5664    
   5  Prefactor     .66280E-07    11.680        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   6  Prefactor     .16098E-08    6.1244        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   7  norm          .27756E-09    4.7074        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   8  Prefactor     .49960E-07    10.483        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   9  norm          .44409E-08    6.5932        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  10  Prefactor     41.658        25.933        .15286E-03   -1.5579    
  11  norm          1.4782        1.1080        .88075E-03   -1.5684    
  12  Prefactor     2.2665        1.5905        .68012E-03   -1.5678    
  13  Prefactor     26.287        20.848        .19805E-03   -1.5605    
  14  Prefactor     15.126        47.900        .26520E-03   -1.5630    
  15  norm           .0000        6.7000        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  16  Prefactor     8.4203        40.516        .36075E-03   -1.5650    
  17  Normalizat    .59748        .24237        .13390       -1.0809    
  18  Prefactor     1.1000        .69726E-01    .37594E-01   -.89465    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 1.54307e-06
Minuit parameter uncertainties:
  1  3.28728
  2  1.87761e-05
  3  2.42099e-05
  4  1.76499
  5  0.00175964
  6  0.000200039
  7  7.40436e-05
  8  0.00144733
  9  0.000341165
  10  25.9332
  11  1.10804
  12  1.59047
  13  20.8476
  14  47.9015
  15  1.78891e-05
  16  36.9413
  17  0.242798
  18  0.0697314
Done.

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

Extracting fit parameters...

4FGL J0358.6+0634
   Spectrum: PowerLaw
232    Prefactor:  6.628e-08  1.760e-03  0.000e+00  1.000e+06 ( 1.000e-13)
233        Index:  2.567e+00  0.000e+00  0.000e+00  1.000e+01 (-1.000e+00) fixed
234        Scale:  7.663e+02  0.000e+00  3.000e+01  5.000e+05 ( 1.000e+00) fixed

GAL_V02
   Spectrum: PowerLaw
460    Prefactor:  1.100e+00  6.973e-02  0.000e+00  1.000e+01 ( 1.000e+00)
461        Index:  0.000e+00  0.000e+00 -1.000e+00  1.000e+00 ( 1.000e+00) fixed
462        Scale:  1.000e+02  0.000e+00  5.000e+01  2.000e+02 ( 1.000e+00) fixed

EG_v02
   Spectrum: FileFunction
459   Normalization:  5.975e-01  2.428e-01  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Fixed Index): -0.00
Ra Dec: 59.666 6.576
Photon Flux Upper Limit: 6.82052957497e-08 ph cm-2 s-1
Energy Flux Upper Limit: 0.00532694152483 MeV cm-2 s-1

Saving results to:
/lscratch/kocevski/36150602/likelihoodResults_809308801_809568001_4FGL_J0358.6+0634_daily_bin2199.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) = 11350.3857917
delta logL = -0.0001522196726

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

MINUIT Return Code (Free Index): 102
logL (Free Index) = 11350.3856395
delta logL = -7.4396666605e-10

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'Prefactor '    .53846E-08   1.0000          .0000       .10000E+07
     2 'Index     '    2.0516       1.0000          .0000       10.000    
     3 'Normalizat'    .59746       1.0000         .10000E-01   10.000    
     4 'Prefactor '    1.1000       1.0000          .0000       10.000    
 **********
 **   15 **SET ERR    .5000    
 **********
 **********
 **   16 **SET GRAD    1.000    
 **********
 **********
 **   17 **MINIMIZE    .4630E+05   .2000E-04
 **********

 MIGRAD MINIMIZATION HAS CONVERGED.

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

 FCN=   11350.39     FROM MIGRAD    STATUS=CONVERGED     49 CALLS      253 TOTAL
                     EDM=   .56E-12  STRATEGY=1  ERROR MATRIX UNCERTAINTY=100.0%

  EXT PARAMETER                APPROXIMATE        STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor      .0000        3.3420        .42118E-03** at limit **
   2  Index         .82408        .69364       -.79744E-05     .0000    
   3  Normalizat    .59748        .93478       -.14082E-04   -.98358E-05
   4  Prefactor     1.1000        1.1485        .78692E-06   -.53393E-04
                               ERR DEF=  .500    
Final values: 
  Prefactor  = 0
  Index      = 0.824081
  Normalizat = 0.597476
  Prefactor  = 1.10004
 **********
 **   18 **HESSE 
 **********
  MNHESS FAILS AND WILL RETURN DIAGONAL MATRIX. 

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

  EXT PARAMETER                APPROXIMATE     INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  Prefactor      .0000        3.3420        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   2  Index         .13073E-01    .94605       -.79744E-05   -.98847    
   3  Normalizat    .59748        .93478       -.14082E-04   -1.0809    
   4  Prefactor     1.1000        1.1485        .78692E-06   -.89465    
                               ERR DEF=  .500    
Minuit fit quality: 1   estimated distance: 5.56651e-13
Minuit parameter uncertainties:
  1  2.55764e-06
  2  0.701218
  3  0.961365
  4  1.17602
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) = 11350.3856395
delta logL = 2.83762346953e-09

Extracting fit parameters...

4FGL J0358.6+0634
   Spectrum: PowerLaw
232    Prefactor:  0.000e+00  2.558e-06  0.000e+00  1.000e+06 ( 1.000e-13)
233        Index:  8.241e-01  7.012e-01  0.000e+00  1.000e+01 (-1.000e+00)
234        Scale:  7.663e+02  0.000e+00  3.000e+01  5.000e+05 ( 1.000e+00) fixed

GAL_V02
   Spectrum: PowerLaw
460    Prefactor:  1.100e+00  1.176e+00  0.000e+00  1.000e+01 ( 1.000e+00)
461        Index:  0.000e+00  0.000e+00 -1.000e+00  1.000e+00 ( 1.000e+00) fixed
462        Scale:  1.000e+02  0.000e+00  5.000e+01  2.000e+02 ( 1.000e+00) fixed

EG_v02
   Spectrum: FileFunction
459   Normalization:  5.975e-01  9.614e-01  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Free Index): -0.00
Ra Dec: 59.666 6.576

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/36150602/cmap_HighResolution_809308801_809568001_4FGL_J0358.6+0634_daily_bin2199.png

Cleaning up...

** Nuclear option initiated! **

Updating database...

UPDATE lightcurve_data_v2 SET energy_flux_upper_limit='5.33e-03', job_status='DONE', photon_flux_upper_limit='6.82e-08', time_completed='2026-08-28 03:13:47.790800', job_id='36150602', GAL2='1.10', fit_tolerance='1e-08', EG2='0.60', EG='0.60', time_epoch_completed='1787912027.79', return_code2='101', ts='-0.00', comment='SUCCESS', return_code='0', GAL='1.10', dlogl='2.84e-09', ts2='0.00', photon_index_error='0.00', photon_index='2.57' WHERE bin_id='2199' AND source_name='4FGL J0358.6+0634' AND cadence='daily';

Database successfully updated.


Analysis Complete.


Fri Aug 28 03:13:47 PDT 2026

Done.

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

Extracting fit parameters...

4FGL J0358.6+0634
   Spectrum: PowerLaw
232    Prefactor:  6.628e-08  1.760e-03  0.000e+00  1.000e+06 ( 1.000e-13)
233        Index:  2.567e+00  0.000e+00  0.000e+00  1.000e+01 (-1.000e+00) fixed
234        Scale:  7.663e+02  0.000e+00  3.000e+01  5.000e+05 ( 1.000e+00) fixed

GAL_V02
   Spectrum: PowerLaw
460    Prefactor:  1.100e+00  6.973e-02  0.000e+00  1.000e+01 ( 1.000e+00)
461        Index:  0.000e+00  0.000e+00 -1.000e+00  1.000e+00 ( 1.000e+00) fixed
462        Scale:  1.000e+02  0.000e+00  5.000e+01  2.000e+02 ( 1.000e+00) fixed

EG_v02
   Spectrum: FileFunction
459   Normalization:  5.975e-01  2.428e-01  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Fixed Index): -0.00
Ra Dec: 59.666 6.576
Photon Flux Upper Limit: 6.82052957497e-08 ph cm-2 s-1
Energy Flux Upper Limit: 0.00532694152483 MeV cm-2 s-1

Saving results to:
/lscratch/kocevski/36150610/likelihoodResults_809308801_809568001_4FGL_J0358.6+0634_daily_bin2199.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) = 11350.3857917
delta logL = -0.0001522196726

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

MINUIT Return Code (Free Index): 102
logL (Free Index) = 11350.3856395
delta logL = -7.4396666605e-10

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'Prefactor '    .53846E-08   1.0000          .0000       .10000E+07
     2 'Index     '    2.0516       1.0000          .0000       10.000    
     3 'Normalizat'    .59746       1.0000         .10000E-01   10.000    
     4 'Prefactor '    1.1000       1.0000          .0000       10.000    
 **********
 **   15 **SET ERR    .5000    
 **********
 **********
 **   16 **SET GRAD    1.000    
 **********
 **********
 **   17 **MINIMIZE    .4630E+05   .2000E-04
 **********

 MIGRAD MINIMIZATION HAS CONVERGED.

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

 FCN=   11350.39     FROM MIGRAD    STATUS=CONVERGED     49 CALLS      253 TOTAL
                     EDM=   .56E-12  STRATEGY=1  ERROR MATRIX UNCERTAINTY=100.0%

  EXT PARAMETER                APPROXIMATE        STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor      .0000        3.3420        .42118E-03** at limit **
   2  Index         .82408        .69364       -.79744E-05     .0000    
   3  Normalizat    .59748        .93478       -.14082E-04   -.98358E-05
   4  Prefactor     1.1000        1.1485        .78692E-06   -.53393E-04
                               ERR DEF=  .500    
Final values: 
  Prefactor  = 0
  Index      = 0.824081
  Normalizat = 0.597476
  Prefactor  = 1.10004
 **********
 **   18 **HESSE 
 **********
  MNHESS FAILS AND WILL RETURN DIAGONAL MATRIX. 

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

  EXT PARAMETER                APPROXIMATE     INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  Prefactor      .0000        3.3420        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   2  Index         .13073E-01    .94605       -.79744E-05   -.98847    
   3  Normalizat    .59748        .93478       -.14082E-04   -1.0809    
   4  Prefactor     1.1000        1.1485        .78692E-06   -.89465    
                               ERR DEF=  .500    
Minuit fit quality: 1   estimated distance: 5.56651e-13
Minuit parameter uncertainties:
  1  2.55764e-06
  2  0.701218
  3  0.961365
  4  1.17602
file=/lscratch/kocevski/36150955/ltcube_809308801_809568001_4FGL_J0358.6+0634_daily_bin2199.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/36150955/ft2_4FGL_J0358.6+0634_daily_bin2199.fits
.....................!
real 9.58
user 8.19
sys 0.21

Generating the exposure map:
time -p gtexpmap evfile=/lscratch/kocevski/36150955/ft1_filtered_4FGL_J0358.6+0634_daily_bin2199.fits evtable="EVENTS" scfile=/lscratch/kocevski/36150955/ft2_4FGL_J0358.6+0634_daily_bin2199.fits sctable="SC_DATA" expcube=/lscratch/kocevski/36150955/ltcube_809308801_809568001_4FGL_J0358.6+0634_daily_bin2199.fits outfile=/lscratch/kocevski/36150955/expmap_809308801_809568001_4FGL_J0358.6+0634_daily_bin2199.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/36150955/ltcube_809308801_809568001_4FGL_J0358.6+0634_daily_bin2199.fits
.....................!
real 73.43
user 68.19
sys 4.43

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

Setting source of interest to:
4FGL J0358.6+0634 @ 59.6656 6.5759

Creating the counts map:
time -p gtbin evfile=/lscratch/kocevski/36150955/ft1_filtered_4FGL_J0358.6+0634_daily_bin2199.fits scfile=/lscratch/kocevski/36150955/ft2_4FGL_J0358.6+0634_daily_bin2199.fits outfile=/lscratch/kocevski/36150955/cmap_809308801_809568001_4FGL_J0358.6+0634_daily_bin2199.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=59.6656 yref=6.5759 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.73
user 0.23
sys 0.10

Creating the high resolution counts map:
time -p gtbin evfile=/lscratch/kocevski/36150955/ft1_filtered_4FGL_J0358.6+0634_daily_bin2199.fits scfile=/lscratch/kocevski/36150955/ft2_4FGL_J0358.6+0634_daily_bin2199.fits outfile=/lscratch/kocevski/36150955/cmap_HighResolution_809308801_809568001_4FGL_J0358.6+0634_daily_bin2199.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=59.6656 yref=6.5759 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.73
user 0.23
sys 0.13

Computing the diffuse response:
time -p gtdiffrsp evfile=/lscratch/kocevski/36150955/ft1_filtered_4FGL_J0358.6+0634_daily_bin2199.fits evtable="EVENTS" scfile=/lscratch/kocevski/36150955/ft2_4FGL_J0358.6+0634_daily_bin2199.fits sctable="SC_DATA" srcmdl=/lscratch/kocevski/36150955/Model_4FGL_J0358.6+0634_daily_bin2199.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_V02shell-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) = 11350.3856395
delta logL = 2.83762346953e-09

Extracting fit parameters...

4FGL J0358.6+0634
   Spectrum: PowerLaw
232    Prefactor:  0.000e+00  2.558e-06  0.000e+00  1.000e+06 ( 1.000e-13)
233        Index:  8.241e-01  7.012e-01  0.000e+00  1.000e+01 (-1.000e+00)
234        Scale:  7.663e+02  0.000e+00  3.000e+01  5.000e+05 ( 1.000e+00) fixed

GAL_V02
   Spectrum: PowerLaw
460    Prefactor:  1.100e+00  1.176e+00  0.000e+00  1.000e+01 ( 1.000e+00)
461        Index:  0.000e+00  0.000e+00 -1.000e+00  1.000e+00 ( 1.000e+00) fixed
462        Scale:  1.000e+02  0.000e+00  5.000e+01  2.000e+02 ( 1.000e+00) fixed

EG_v02
   Spectrum: FileFunction
459   Normalization:  5.975e-01  9.614e-01  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Free Index): -0.00
Ra Dec: 59.666 6.576

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/36150610/cmap_HighResolution_809308801_809568001_4FGL_J0358.6+0634_daily_bin2199.png

Cleaning up...

** Nuclear option initiated! **

Updating database...

UPDATE lightcurve_data_v2 SET energy_flux_upper_limit='5.33e-03', job_status='DONE', photon_flux_upper_limit='6.82e-08', time_completed='2026-08-28 03:14:06.031470', job_id='36150610', GAL2='1.10', fit_tolerance='1e-08', EG2='0.60', EG='0.60', time_epoch_completed='1787912046.03', return_code2='101', ts='-0.00', comment='SUCCESS', return_code='0', GAL='1.10', dlogl='2.84e-09', ts2='0.00', photon_index_error='0.00', photon_index='2.57' WHERE bin_id='2199' AND source_name='4FGL J0358.6+0634' AND cadence='daily';

Database successfully updated.


Analysis Complete.


Fri Aug 28 03:14:06 PDT 2026


Working on...
/lscratch/kocevski/36150877/ft1_filtered_4FGL_J0358.6+0634_daily_bin2199.fits.....................!
real 62.81
user 61.05
sys 0.66

Creating the likelihood object...
obs = UnbinnedObs('/lscratch/kocevski/36150877/ft1_filtered_4FGL_J0358.6+0634_daily_bin2199.fits', '/lscratch/kocevski/36150877/ft2_4FGL_J0358.6+0634_daily_bin2199.fits', expMap='/lscratch/kocevski/36150877/expmap_809308801_809568001_4FGL_J0358.6+0634_daily_bin2199.fits', expCube='/lscratch/kocevski/36150877/ltcube_809308801_809568001_4FGL_J0358.6+0634_daily_bin2199.fits', irfs='P8R3_SOURCE_V2')
like = UnbinnedAnalysis(obs, '/lscratch/kocevski/36150877/Model_4FGL_J0358.6+0634_daily_bin2199.xml', optimizer='MINUIT')

Using source of interest name: '4FGL J0358.6+0634'

4FGL J0358.6+0634
   Spectrum: PowerLaw
232    Prefactor:  8.019e+00  0.000e+00  0.000e+00  1.000e+06 ( 1.000e-13)
233        Index:  2.567e+00  0.000e+00  0.000e+00  1.000e+01 (-1.000e+00) fixed
234        Scale:  7.663e+02  0.000e+00  3.000e+01  5.000e+05 ( 1.000e+00) fixed


Likelihood Fit Parameters:
Event file(s): /lscratch/kocevski/36150877/ft1_filtered_4FGL_J0358.6+0634_daily_bin2199.fits
Spacecraft file(s): /lscratch/kocevski/36150877/ft2_4FGL_J0358.6+0634_daily_bin2199.fits
Exposure map: /lscratch/kocevski/36150877/expmap_809308801_809568001_4FGL_J0358.6+0634_daily_bin2199.fits
Exposure cube: /lscratch/kocevski/36150877/ltcube_809308801_809568001_4FGL_J0358.6+0634_daily_bin2199.fits
IRFs: P8R3_SOURCE_V2
Source model file: /lscratch/kocevski/36150877/Model_4FGL_J0358.6+0634_daily_bin2199.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) = 11350.4336438

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

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

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'Prefactor '    3.1159       1.0000          .0000       .10000E+07
     2 'Prefactor '    .22308E-02   1.0000          .0000       .10000E+07
     3 'norm      '    .15529E-03   1.0000          .0000       .10000E+07
     4 'norm      '    4.8397       1.0000          .0000       .10000E+07
     5 'Prefactor '    .58060E-03   1.0000          .0000       .10000E+07
     6 'Prefactor '    .46083E-02   1.0000          .0000       .10000E+07
     7 'norm      '    .13593E-03   1.0000          .0000       .10000E+07
     8 'Prefactor '    .14129E-03   1.0000          .0000       .10000E+07
     9 'norm      '    .43504E-06   1.0000          .0000       .10000E+07
    10 'Prefactor '    42.806       1.0000          .0000       .10000E+07
    11 'norm      '    1.4831       1.0000          .0000       .10000E+07
    12 'Prefactor '    2.2775       1.0000          .0000       .10000E+07
    13 'Prefactor '    25.505       1.0000          .0000       .10000E+07
    14 'Prefactor '    14.236       1.0000          .0000       .10000E+07
    15 'norm      '    .14806E-04   1.0000          .0000       .10000E+07
    16 'Prefactor '    7.7164       1.0000          .0000       .10000E+07
    17 'Normalizat'    .59880       1.0000         .10000E-01   10.000    
    18 'Prefactor '    1.0998       1.0000          .0000       10.000    
 **********
 **   15 **SET ERR    .5000    
 **********
 **********
 **   16 **SET GRAD    1.000    
 **********
 **********
 **   17 **MINIMIZE    .4630E+05   .2000E-04
 **********

 MIGRAD MINIMIZATION HAS CONVERGED.

 FCN=   11350.39     FROM MIGRAD    STATUS=CONVERGED    140 CALLS     1338 TOTAL
                     EDM=   .73E-09  STRATEGY=1  ERROR MATRIX UNCERTAINTY=  4.0%

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor     3.1125        3.2902        .57550E-06   -.94259E-03
   2  Prefactor      .0000        3.7755       -.45261E-07** at limit **
   3  norm          .55511E-10    2.8440       -.16604E-06** at limit **
   4  norm          4.8441        1.7621        .15527E-06   -.32664E-02
   5  Prefactor     .66280E-07    11.646        .49567E-05** at limit **
   6  Prefactor     .16098E-08    6.1251       -.47192E-06** at limit **
   7  norm          .27756E-09    4.7087        .76611E-06** at limit **
   8  Prefactor     .49960E-07    10.461       -.22586E-05** at limit **
   9  norm          .44409E-08    6.6488        .15535E-05** at limit **
  10  Prefactor     41.658        25.610        .29291E-05    .62539E-01
  11  norm          1.4782        1.0838       -.13257E-06    .47899E-02
  12  Prefactor     2.2665        1.5568       -.44313E-06    .16831E-02
  13  Prefactor     26.287        20.673        .15013E-05    .15955E-01
  14  Prefactor     15.126        39.986        .60342E-06   -.56237E-01
  15  norm           .0000        6.9651        .29469E-05** at limit **
  16  Prefactor     8.4203        21.818       -.32289E-05    .79500E-01
  17  Normalizat    .59748        .24568       -.60797E-04   -.41191E-05
  18  Prefactor     1.1000        .71526E-01    .75011E-05   -.35524E-04
                               ERR DEF=  .500    
Final values: 
  Prefactor  = 3.11248
  Prefactor  = 0
  norm       = 5.55112e-11
  norm       = 4.84406
  Prefactor  = 6.62803e-08
  Prefactor  = 1.60982e-09
  norm       = 2.77556e-10
  Prefactor  = 4.996e-08
  norm       = 4.44089e-09
  Prefactor  = 41.6576
  norm       = 1.47821
  Prefactor  = 2.26648
  Prefactor  = 26.2871
  Prefactor  = 15.1262
  norm       = 0
  Prefactor  = 8.42032
  Normalizat = 0.597476
  Prefactor  = 1.10004
 **********
 **   18 **HESSE 
 **********

 FCN=   11350.39     FROM HESSE     STATUS=OK           282 CALLS     1620 TOTAL
                     EDM=   .15E-05    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  Prefactor     3.1125        3.2873        .57416E-03   -1.5673    
   2  Prefactor      .0000        3.7688        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   3  norm          .55511E-10    2.8401        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   4  norm          4.8441        1.7650        .45703E-03   -1.5664    
   5  Prefactor     .66280E-07    11.680        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   6  Prefactor     .16098E-08    6.1244        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   7  norm          .27756E-09    4.7074        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   8  Prefactor     .49960E-07    10.483        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   9  norm          .44409E-08    6.5932        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  10  Prefactor     41.658        25.933        .15286E-03   -1.5579    
  11  norm          1.4782        1.1080        .88075E-03   -1.5684    
  12  Prefactor     2.2665        1.5905        .68012E-03   -1.5678    
  13  Prefactor     26.287        20.848        .19805E-03   -1.5605    
  14  Prefactor     15.126        47.900        .26520E-03   -1.5630    
  15  norm           .0000        6.7000        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  16  Prefactor     8.4203        40.516        .36075E-03   -1.5650    
  17  Normalizat    .59748        .24237        .13390       -1.0809    
  18  Prefactor     1.1000        .69726E-01    .37594E-01   -.89465    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 1.54307e-06
Minuit parameter uncertainties:
  1  3.28728
  2  1.87761e-05
  3  2.42099e-05
  4  1.76499
  5  0.00175964
  6  0.000200039
  7  7.40436e-05
  8  0.00144733
  9  0.000341165
  10  25.9332
  11  1.10804
  12  1.59047
  13  20.8476
  14  47.9015
  15  1.78891e-05
  16  36.9413
  17  0.242798
  18  0.0697314
Done.

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

Extracting fit parameters...

4FGL J0358.6+0634
   Spectrum: PowerLaw
232    Prefactor:  6.628e-08  1.760e-03  0.000e+00  1.000e+06 ( 1.000e-13)
233        Index:  2.567e+00  0.000e+00  0.000e+00  1.000e+01 (-1.000e+00) fixed
234        Scale:  7.663e+02  0.000e+00  3.000e+01  5.000e+05 ( 1.000e+00) fixed

GAL_V02
   Spectrum: PowerLaw
460    Prefactor:  1.100e+00  6.973e-02  0.000e+00  1.000e+01 ( 1.000e+00)
461        Index:  0.000e+00  0.000e+00 -1.000e+00  1.000e+00 ( 1.000e+00) fixed
462        Scale:  1.000e+02  0.000e+00  5.000e+01  2.000e+02 ( 1.000e+00) fixed

EG_v02
   Spectrum: FileFunction
459   Normalization:  5.975e-01  2.428e-01  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Fixed Index): -0.00
Ra Dec: 59.666 6.576
Photon Flux Upper Limit: 6.82052957497e-08 ph cm-2 s-1
Energy Flux Upper Limit: 0.00532694152483 MeV cm-2 s-1

Saving results to:
/lscratch/kocevski/36150877/likelihoodResults_809308801_809568001_4FGL_J0358.6+0634_daily_bin2199.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) = 11350.3857917
delta logL = -0.0001522196726

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

MINUIT Return Code (Free Index): 102
logL (Free Index) = 11350.3856395
delta logL = -7.4396666605e-10

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'Prefactor '    .53846E-08   1.0000          .0000       .10000E+07
     2 'Index     '    2.0516       1.0000          .0000       10.000    
     3 'Normalizat'    .59746       1.0000         .10000E-01   10.000    
     4 'Prefactor '    1.1000       1.0000          .0000       10.000    
 **********
 **   15 **SET ERR    .5000    
 **********
 **********
 **   16 **SET GRAD    1.000    
 **********
 **********
 **   17 **MINIMIZE    .4630E+05   .2000E-04
 **********

 MIGRAD MINIMIZATION HAS CONVERGED.

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

 FCN=   11350.39     FROM MIGRAD    STATUS=CONVERGED     49 CALLS      253 TOTAL
                     EDM=   .56E-12  STRATEGY=1  ERROR MATRIX UNCERTAINTY=100.0%

  EXT PARAMETER                APPROXIMATE        STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor      .0000        3.3420        .42118E-03** at limit **
   2  Index         .82408        .69364       -.79744E-05     .0000    
   3  Normalizat    .59748        .93478       -.14082E-04   -.98358E-05
   4  Prefactor     1.1000        1.1485        .78692E-06   -.53393E-04
                               ERR DEF=  .500    
Final values: 
  Prefactor  = 0
  Index      = 0.824081
  Normalizat = 0.597476
  Prefactor  = 1.10004
 **********
 **   18 **HESSE 
 **********
  MNHESS FAILS AND WILL RETURN DIAGONAL MATRIX. 

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

  EXT PARAMETER                APPROXIMATE     INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  Prefactor      .0000        3.3420        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   2  Index         .13073E-01    .94605       -.79744E-05   -.98847    
   3  Normalizat    .59748        .93478       -.14082E-04   -1.0809    
   4  Prefactor     1.1000        1.1485        .78692E-06   -.89465    
                               ERR DEF=  .500    
Minuit fit quality: 1   estimated distance: 5.56651e-13
Minuit parameter uncertainties:
  1  2.55764e-06
  2  0.701218
  3  0.961365
  4  1.17602
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) = 11350.3856395
delta logL = 2.83762346953e-09

Extracting fit parameters...

4FGL J0358.6+0634
   Spectrum: PowerLaw
232    Prefactor:  0.000e+00  2.558e-06  0.000e+00  1.000e+06 ( 1.000e-13)
233        Index:  8.241e-01  7.012e-01  0.000e+00  1.000e+01 (-1.000e+00)
234        Scale:  7.663e+02  0.000e+00  3.000e+01  5.000e+05 ( 1.000e+00) fixed

GAL_V02
   Spectrum: PowerLaw
460    Prefactor:  1.100e+00  1.176e+00  0.000e+00  1.000e+01 ( 1.000e+00)
461        Index:  0.000e+00  0.000e+00 -1.000e+00  1.000e+00 ( 1.000e+00) fixed
462        Scale:  1.000e+02  0.000e+00  5.000e+01  2.000e+02 ( 1.000e+00) fixed

EG_v02
   Spectrum: FileFunction
459   Normalization:  5.975e-01  9.614e-01  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Free Index): -0.00
Ra Dec: 59.666 6.576

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/36150877/cmap_HighResolution_809308801_809568001_4FGL_J0358.6+0634_daily_bin2199.png

Cleaning up...

** Nuclear option initiated! **

Updating database...

UPDATE lightcurve_data_v2 SET energy_flux_upper_limit='5.33e-03', job_status='DONE', photon_flux_upper_limit='6.82e-08', time_completed='2026-08-28 03:15:30.989598', job_id='36150877', GAL2='1.10', fit_tolerance='1e-08', EG2='0.60', EG='0.60', time_epoch_completed='1787912130.99', return_code2='101', ts='-0.00', comment='SUCCESS', return_code='0', GAL='1.10', dlogl='2.84e-09', ts2='0.00', photon_index_error='0.00', photon_index='2.57' WHERE bin_id='2199' AND source_name='4FGL J0358.6+0634' AND cadence='daily';

Database successfully updated.


Analysis Complete.


Fri Aug 28 03:15:31 PDT 2026


Working on...
/lscratch/kocevski/36150955/ft1_filtered_4FGL_J0358.6+0634_daily_bin2199.fits.....................!
real 63.08
user 60.77
sys 1.00

Creating the likelihood object...
obs = UnbinnedObs('/lscratch/kocevski/36150955/ft1_filtered_4FGL_J0358.6+0634_daily_bin2199.fits', '/lscratch/kocevski/36150955/ft2_4FGL_J0358.6+0634_daily_bin2199.fits', expMap='/lscratch/kocevski/36150955/expmap_809308801_809568001_4FGL_J0358.6+0634_daily_bin2199.fits', expCube='/lscratch/kocevski/36150955/ltcube_809308801_809568001_4FGL_J0358.6+0634_daily_bin2199.fits', irfs='P8R3_SOURCE_V2')
like = UnbinnedAnalysis(obs, '/lscratch/kocevski/36150955/Model_4FGL_J0358.6+0634_daily_bin2199.xml', optimizer='MINUIT')

Using source of interest name: '4FGL J0358.6+0634'

4FGL J0358.6+0634
   Spectrum: PowerLaw
232    Prefactor:  8.019e+00  0.000e+00  0.000e+00  1.000e+06 ( 1.000e-13)
233        Index:  2.567e+00  0.000e+00  0.000e+00  1.000e+01 (-1.000e+00) fixed
234        Scale:  7.663e+02  0.000e+00  3.000e+01  5.000e+05 ( 1.000e+00) fixed


Likelihood Fit Parameters:
Event file(s): /lscratch/kocevski/36150955/ft1_filtered_4FGL_J0358.6+0634_daily_bin2199.fits
Spacecraft file(s): /lscratch/kocevski/36150955/ft2_4FGL_J0358.6+0634_daily_bin2199.fits
Exposure map: /lscratch/kocevski/36150955/expmap_809308801_809568001_4FGL_J0358.6+0634_daily_bin2199.fits
Exposure cube: /lscratch/kocevski/36150955/ltcube_809308801_809568001_4FGL_J0358.6+0634_daily_bin2199.fits
IRFs: P8R3_SOURCE_V2
Source model file: /lscratch/kocevski/36150955/Model_4FGL_J0358.6+0634_daily_bin2199.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) = 11350.4336438

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

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

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'Prefactor '    3.1159       1.0000          .0000       .10000E+07
     2 'Prefactor '    .22308E-02   1.0000          .0000       .10000E+07
     3 'norm      '    .15529E-03   1.0000          .0000       .10000E+07
     4 'norm      '    4.8397       1.0000          .0000       .10000E+07
     5 'Prefactor '    .58060E-03   1.0000          .0000       .10000E+07
     6 'Prefactor '    .46083E-02   1.0000          .0000       .10000E+07
     7 'norm      '    .13593E-03   1.0000          .0000       .10000E+07
     8 'Prefactor '    .14129E-03   1.0000          .0000       .10000E+07
     9 'norm      '    .43504E-06   1.0000          .0000       .10000E+07
    10 'Prefactor '    42.806       1.0000          .0000       .10000E+07
    11 'norm      '    1.4831       1.0000          .0000       .10000E+07
    12 'Prefactor '    2.2775       1.0000          .0000       .10000E+07
    13 'Prefactor '    25.505       1.0000          .0000       .10000E+07
    14 'Prefactor '    14.236       1.0000          .0000       .10000E+07
    15 'norm      '    .14806E-04   1.0000          .0000       .10000E+07
    16 'Prefactor '    7.7164       1.0000          .0000       .10000E+07
    17 'Normalizat'    .59880       1.0000         .10000E-01   10.000    
    18 'Prefactor '    1.0998       1.0000          .0000       10.000    
 **********
 **   15 **SET ERR    .5000    
 **********
 **********
 **   16 **SET GRAD    1.000    
 **********
 **********
 **   17 **MINIMIZE    .4630E+05   .2000E-04
 **********

 MIGRAD MINIMIZATION HAS CONVERGED.

 FCN=   11350.39     FROM MIGRAD    STATUS=CONVERGED    140 CALLS     1338 TOTAL
                     EDM=   .73E-09  STRATEGY=1  ERROR MATRIX UNCERTAINTY=  4.0%

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor     3.1125        3.2902        .57550E-06   -.94259E-03
   2  Prefactor      .0000        3.7755       -.45261E-07** at limit **
   3  norm          .55511E-10    2.8440       -.16604E-06** at limit **
   4  norm          4.8441        1.7621        .15527E-06   -.32664E-02
   5  Prefactor     .66280E-07    11.646        .49567E-05** at limit **
   6  Prefactor     .16098E-08    6.1251       -.47192E-06** at limit **
   7  norm          .27756E-09    4.7087        .76611E-06** at limit **
   8  Prefactor     .49960E-07    10.461       -.22586E-05** at limit **
   9  norm          .44409E-08    6.6488        .15535E-05** at limit **
  10  Prefactor     41.658        25.610        .29291E-05    .62539E-01
  11  norm          1.4782        1.0838       -.13257E-06    .47899E-02
  12  Prefactor     2.2665        1.5568       -.44313E-06    .16831E-02
  13  Prefactor     26.287        20.673        .15013E-05    .15955E-01
  14  Prefactor     15.126        39.986        .60342E-06   -.56237E-01
  15  norm           .0000        6.9651        .29469E-05** at limit **
  16  Prefactor     8.4203        21.818       -.32289E-05    .79500E-01
  17  Normalizat    .59748        .24568       -.60797E-04   -.41191E-05
  18  Prefactor     1.1000        .71526E-01    .75011E-05   -.35524E-04
                               ERR DEF=  .500    
Final values: 
  Prefactor  = 3.11248
  Prefactor  = 0
  norm       = 5.55112e-11
  norm       = 4.84406
  Prefactor  = 6.62803e-08
  Prefactor  = 1.60982e-09
  norm       = 2.77556e-10
  Prefactor  = 4.996e-08
  norm       = 4.44089e-09
  Prefactor  = 41.6576
  norm       = 1.47821
  Prefactor  = 2.26648
  Prefactor  = 26.2871
  Prefactor  = 15.1262
  norm       = 0
  Prefactor  = 8.42032
  Normalizat = 0.597476
  Prefactor  = 1.10004
 **********
 **   18 **HESSE 
 **********

 FCN=   11350.39     FROM HESSE     STATUS=OK           282 CALLS     1620 TOTAL
                     EDM=   .15E-05    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  Prefactor     3.1125        3.2873        .57416E-03   -1.5673    
   2  Prefactor      .0000        3.7688        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   3  norm          .55511E-10    2.8401        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   4  norm          4.8441        1.7650        .45703E-03   -1.5664    
   5  Prefactor     .66280E-07    11.680        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   6  Prefactor     .16098E-08    6.1244        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   7  norm          .27756E-09    4.7074        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   8  Prefactor     .49960E-07    10.483        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   9  norm          .44409E-08    6.5932        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  10  Prefactor     41.658        25.933        .15286E-03   -1.5579    
  11  norm          1.4782        1.1080        .88075E-03   -1.5684    
  12  Prefactor     2.2665        1.5905        .68012E-03   -1.5678    
  13  Prefactor     26.287        20.848        .19805E-03   -1.5605    
  14  Prefactor     15.126        47.900        .26520E-03   -1.5630    
  15  norm           .0000        6.7000        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  16  Prefactor     8.4203        40.516        .36075E-03   -1.5650    
  17  Normalizat    .59748        .24237        .13390       -1.0809    
  18  Prefactor     1.1000        .69726E-01    .37594E-01   -.89465    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 1.54307e-06
Minuit parameter uncertainties:
  1  3.28728
  2  1.87761e-05
  3  2.42099e-05
  4  1.76499
  5  0.00175964
  6  0.000200039
  7  7.40436e-05
  8  0.00144733
  9  0.000341165
  10  25.9332
  11  1.10804
  12  1.59047
  13  20.8476
  14  47.9015
  15  1.78891e-05
  16  36.9413
  17  0.242798
  18  0.0697314
Done.

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

Extracting fit parameters...

4FGL J0358.6+0634
   Spectrum: PowerLaw
232    Prefactor:  6.628e-08  1.760e-03  0.000e+00  1.000e+06 ( 1.000e-13)
233        Index:  2.567e+00  0.000e+00  0.000e+00  1.000e+01 (-1.000e+00) fixed
234        Scale:  7.663e+02  0.000e+00  3.000e+01  5.000e+05 ( 1.000e+00) fixed

GAL_V02
   Spectrum: PowerLaw
460    Prefactor:  1.100e+00  6.973e-02  0.000e+00  1.000e+01 ( 1.000e+00)
461        Index:  0.000e+00  0.000e+00 -1.000e+00  1.000e+00 ( 1.000e+00) fixed
462        Scale:  1.000e+02  0.000e+00  5.000e+01  2.000e+02 ( 1.000e+00) fixed

EG_v02
   Spectrum: FileFunction
459   Normalization:  5.975e-01  2.428e-01  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Fixed Index): -0.00
Ra Dec: 59.666 6.576
Photon Flux Upper Limit: 6.82052957497e-08 ph cm-2 s-1
Energy Flux Upper Limit: 0.00532694152483 MeV cm-2 s-1

Saving results to:
/lscratch/kocevski/36150955/likelihoodResults_809308801_809568001_4FGL_J0358.6+0634_daily_bin2199.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) = 11350.3857917
delta logL = -0.0001522196726

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

MINUIT Return Code (Free Index): 102
logL (Free Index) = 11350.3856395
delta logL = -7.4396666605e-10

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'Prefactor '    .53846E-08   1.0000          .0000       .10000E+07
     2 'Index     '    2.0516       1.0000          .0000       10.000    
     3 'Normalizat'    .59746       1.0000         .10000E-01   10.000    
     4 'Prefactor '    1.1000       1.0000          .0000       10.000    
 **********
 **   15 **SET ERR    .5000    
 **********
 **********
 **   16 **SET GRAD    1.000    
 **********
 **********
 **   17 **MINIMIZE    .4630E+05   .2000E-04
 **********

 MIGRAD MINIMIZATION HAS CONVERGED.

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

 FCN=   11350.39     FROM MIGRAD    STATUS=CONVERGED     49 CALLS      253 TOTAL
                     EDM=   .56E-12  STRATEGY=1  ERROR MATRIX UNCERTAINTY=100.0%

  EXT PARAMETER                APPROXIMATE        STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor      .0000        3.3420        .42118E-03** at limit **
   2  Index         .82408        .69364       -.79744E-05     .0000    
   3  Normalizat    .59748        .93478       -.14082E-04   -.98358E-05
   4  Prefactor     1.1000        1.1485        .78692E-06   -.53393E-04
                               ERR DEF=  .500    
Final values: 
  Prefactor  = 0
  Index      = 0.824081
  Normalizat = 0.597476
  Prefactor  = 1.10004
 **********
 **   18 **HESSE 
 **********
  MNHESS FAILS AND WILL RETURN DIAGONAL MATRIX. 

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

  EXT PARAMETER                APPROXIMATE     INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  Prefactor      .0000        3.3420        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   2  Index         .13073E-01    .94605       -.79744E-05   -.98847    
   3  Normalizat    .59748        .93478       -.14082E-04   -1.0809    
   4  Prefactor     1.1000        1.1485        .78692E-06   -.89465    
                               ERR DEF=  .500    
Minuit fit quality: 1   estimated distance: 5.56651e-13
Minuit parameter uncertainties:
  1  2.55764e-06
  2  0.701218
  3  0.961365
  4  1.17602
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) = 11350.3856395
delta logL = 2.83762346953e-09

Extracting fit parameters...

4FGL J0358.6+0634
   Spectrum: PowerLaw
232    Prefactor:  0.000e+00  2.558e-06  0.000e+00  1.000e+06 ( 1.000e-13)
233        Index:  8.241e-01  7.012e-01  0.000e+00  1.000e+01 (-1.000e+00)
234        Scale:  7.663e+02  0.000e+00  3.000e+01  5.000e+05 ( 1.000e+00) fixed

GAL_V02
   Spectrum: PowerLaw
460    Prefactor:  1.100e+00  1.176e+00  0.000e+00  1.000e+01 ( 1.000e+00)
461        Index:  0.000e+00  0.000e+00 -1.000e+00  1.000e+00 ( 1.000e+00) fixed
462        Scale:  1.000e+02  0.000e+00  5.000e+01  2.000e+02 ( 1.000e+00) fixed

EG_v02
   Spectrum: FileFunction
459   Normalization:  5.975e-01  9.614e-01  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Free Index): -0.00
Ra Dec: 59.666 6.576

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/36150955/cmap_HighResolution_809308801_809568001_4FGL_J0358.6+0634_daily_bin2199.png

Cleaning up...

** Nuclear option initiated! **

Updating database...

UPDATE lightcurve_data_v2 SET energy_flux_upper_limit='5.33e-03', job_status='DONE', photon_flux_upper_limit='6.82e-08', time_completed='2026-08-28 03:16:16.167904', job_id='36150955', GAL2='1.10', fit_tolerance='1e-08', EG2='0.60', EG='0.60', time_epoch_completed='1787912176.17', return_code2='101', ts='-0.00', comment='SUCCESS', return_code='0', GAL='1.10', dlogl='2.84e-09', ts2='0.00', photon_index_error='0.00', photon_index='2.57' WHERE bin_id='2199' AND source_name='4FGL J0358.6+0634' AND cadence='daily';

Database successfully updated.


Analysis Complete.


Fri Aug 28 03:16:16 PDT 2026

