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

 FCN=   5501.439     FROM HESSE     STATUS=OK           684 CALLS     3679 TOTAL
                     EDM=   .44E-06    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  Prefactor     8.6758        8.8952        .33989E-03   -1.5649    
   2  Prefactor     24.330        28.671        .20363E-03   -1.5609    
   3  norm          8.2226        8.4857        .34937E-03   -1.5651    
   4  Prefactor     .27756E-09    16.899        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   5  norm          1.8793        .80905        .75870E-03   -1.5681    
   6  Prefactor     14.790        14.841        .25957E-03   -1.5631    
   7  norm          3.0312        1.0416        .58254E-04   -1.5673    
   8  norm          7.9253        5.2499        .35432E-03   -1.5652    
   9  Prefactor     71.855        49.737        .11818E-03   -1.5538    
  10  norm          14.075        18.395        .26656E-03   -1.5633    
  11  Prefactor     11.188        25.224        .30176E-03   -1.5641    
  12  norm          3.7622        3.3217        .51910E-03   -1.5669    
  13  norm           .0000        1.4448        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  14  Prefactor     .98310E-07    133.71        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  15  Prefactor     241.72        157.26        .64681E-04   -1.5397    
  16  norm           .0000        .97149        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  17  Prefactor     .99476E-07    151.07        .10467E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  18  Prefactor     15.141        15.208        .25672E-03   -1.5630    
  19  Prefactor     .31086E-08    73.849        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  20  norm          .44409E-09    20.084        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  21  Prefactor      .0000        1.8463        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  22  Prefactor     24.433        20.343        .20243E-03   -1.5609    
  23  Prefactor     .18319E-08    19.086        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  24  norm          9.9979        10.436        .31613E-03   -1.5645    
  25  Prefactor     1.4398        3.8341        .89841E-03   -1.5684    
  26  norm           .0000        7.6699        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  27  Prefactor     13.182        7.3593        .27524E-03   -1.5635    
  28  Prefactor      .0000        5.3427        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  29  norm           .0000        1.4181        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  30  Normalizat    1.3538        .18902        .48093E-01   -.81976    
  31  Prefactor     .55153        .22161        .86460E-01   -1.0967    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 4.40681e-07
Minuit parameter uncertainties:
  1  8.89525
  2  28.6716
  3  8.48574
  4  0.000133636
  5  0.809045
  6  14.8407
  7  1.04164
  8  5.24987
  9  49.7373
  10  18.3953
  11  25.2241
  12  3.32172
  13  1.30235e-07
  14  0.00725229
  15  157.258
  16  1.12927e-06
  17  0.00775265
  18  15.208
  19  0.000961623
  20  0.000184832
  21  2.02565e-06
  22  20.3433
  23  0.000373881
  24  10.4358
  25  3.83408
  26  1.35003e-05
  27  7.35926
  28  9.9416e-06
  29  3.90653e-07
  30  0.189114
  31  0.22196
file=/lscratch/kocevski/34650630/ltcube_807753601_808012801_4FGL_J1058.6+5627_daily_bin2193.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/34650630/ft2_4FGL_J1058.6+5627_daily_bin2193.fits
.....................!
real 8.95
user 8.02
sys 0.25

Generating the exposure map:
time -p gtexpmap evfile=/lscratch/kocevski/34650630/ft1_filtered_4FGL_J1058.6+5627_daily_bin2193.fits evtable="EVENTS" scfile=/lscratch/kocevski/34650630/ft2_4FGL_J1058.6+5627_daily_bin2193.fits sctable="SC_DATA" expcube=/lscratch/kocevski/34650630/ltcube_807753601_808012801_4FGL_J1058.6+5627_daily_bin2193.fits outfile=/lscratch/kocevski/34650630/expmap_807753601_808012801_4FGL_J1058.6+5627_daily_bin2193.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/34650630/ltcube_807753601_808012801_4FGL_J1058.6+5627_daily_bin2193.fits
.....................!
real 67.77
user 62.74
sys 4.01

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

Setting source of interest to:
4FGL J1058.6+5627 @ 164.665 56.4634

Creating the counts map:
time -p gtbin evfile=/lscratch/kocevski/34650630/ft1_filtered_4FGL_J1058.6+5627_daily_bin2193.fits scfile=/lscratch/kocevski/34650630/ft2_4FGL_J1058.6+5627_daily_bin2193.fits outfile=/lscratch/kocevski/34650630/cmap_807753601_808012801_4FGL_J1058.6+5627_daily_bin2193.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=164.665 yref=56.4634 axisrot=0.0 rafield="RA" decfield="DEC" proj="AIT" hpx_ordering_scheme="RING" hpx_order=3 hpx_ebin=yes hpx_region="" evtable="EVENTS" sctable="SC_DATA" efield="ENERGY" tfield="TIME" chatter=2 clobber=yes debug=no gui=no mode="ql"

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

This is gtbin version HEAD
real 0.90
user 0.21
sys 0.14

Creating the high resolution counts map:
time -p gtbin evfile=/lscratch/kocevski/34650630/ft1_filtered_4FGL_J1058.6+5627_daily_bin2193.fits scfile=/lscratch/kocevski/34650630/ft2_4FGL_J1058.6+5627_daily_bin2193.fits outfile=/lscratch/kocevski/34650630/cmap_HighResolution_807753601_808012801_4FGL_J1058.6+5627_daily_bin2193.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=164.665 yref=56.4634 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.99
user 0.23
sys 0.13

Computing the diffuse response:
time -p gtdiffrsp evfile=/lscratch/kocevski/34650630/ft1_filtered_4FGL_J1058.6+5627_daily_bin2193.fits evtable="EVENTS" scfile=/lscratch/kocevski/34650630/ft2_4FGL_J1058.6+5627_daily_bin2193.fits sctable="SC_DATA" srcmdl=/lscratch/kocevski/34650630/Model_4FGL_J1058.6+5627_daily_bin2193.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_number of points = 7691
number of fields = 31
RA_SUN column already exists. File will not be modified.
/sdf/group/fermi/u/kocevski/software/conda/envs/fermitools_v1.0.5/lib/python2.7/site-packages/pyfits/__init__.py:22: PyFITSDeprecationWarning: PyFITS is deprecated, please use astropy.io.fits
  PyFITSDeprecationWarning)  # noqa
Done.


Performing analysis on: 4FGL_J1058.6+5627_daily_bin2193
RA = 164.665, Dec = 56.4634
tmin = 807753601, tmax = 808012801
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='34650724', job_status='RUN', time_executed='2026-08-10 08:34:44.262528', time_epoch_executed='1786376084.26' WHERE source_name='4FGL J1058.6+5627' and cadence='daily' and bin_id='2193'

Database successfully updated.
Done.

Creating custom output directory:
/lscratch/kocevski/34650724

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

Retrieving the FT1 file...

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

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

Retrieving 47 files...
Done.


Merging files...

Checksum keywords updated successfully.

Merged file saved to:
/lscratch/kocevski/34650724/ft1_4FGL_J1058.6+5627_daily_bin2193.fits


Retrieving the FT1 file...

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

Retrieving 47 files...
Done.


Merging files...

Merged file saved to:
/lscratch/kocevski/34650724/ft2_4FGL_J1058.6+5627_daily_bin2193.fits


Selecting the photons:
time -p gtselect infile=/lscratch/kocevski/34650724/ft1_4FGL_J1058.6+5627_daily_bin2193.fits outfile=/lscratch/kocevski/34650724/ft1_filteredMKT_4FGL_J1058.6+5627_daily_bin2193.fits ra=164.665 dec=56.4634 rad=12.0 tmin=807753601.0 tmax=808012801.0 emin=100.0 emax=100000.0 zmin=0.0 zmax=90.0 evclass=128 evtype="INDEF" convtype=-1 phasemin=0.0 phasemax=1.0 evtable="EVENTS" chatter=2 clobber=yes debug=no gui=no mode="ql"

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

Done.
real 2.20
user 1.51
sys 0.15

Adding sun position to ft2 file:
/sdf/group/fermi/g/LCRepository/Repository/bin/sunpos /lscratch/kocevski/34650724/ft2_4FGL_J1058.6+5627_daily_bin2193.fits

Selecting the good time intervals:
time -p gtmktime scfile=/lscratch/kocevski/34650724/ft2_4FGL_J1058.6+5627_daily_bin2193.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/34650724/ft1_filteredMKT_4FGL_J1058.6+5627_daily_bin2193.fits evtable="EVENTS" outfile="/lscratch/kocevski/34650724/ft1_filtered_4FGL_J1058.6+5627_daily_bin2193.fits" apply_filter=yes overwrite=yes header_obstimes=yes tstart=0.0 tstop=0.0 gtifile="default" chatter=3 clobber=yes debug=no gui=no mode="ql"

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

This is gtmktime version HEAD
Applying GTI filter:
IN_SAA!=T && LIVETIME>0 && gtifilter('/sdf/group/fermi/g/LCRepository/Likelihood/GTIs/nogrb.gti',(START+STOP)/2) && (angsep(RA_SUN,DEC_SUN,RA_ZENITH,DEC_ZENITH)>115 || gtifilter('/sdf/group/fermi/g/LCRepository/Likelihood/GTIs/nosolarflares.gti',(START+STOP)/2))
real 0.98
user 0.20
sys 0.13

Number of photons that the gtmktime cut: 510

Generating the livetime cube:
time -p gtltcube evfile="/lscratch/kocevski/34650724/ft1_filtered_4FGL_J1058.6+5627_daily_bin2193.fits" evtable="EVENTS" scfile=/lscratch/kocevski/34650724/ft2_4FGL_J1058.6+5627_daily_bin2193.fits sctable="SC_DATA" ou
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)
number of points = 7691
number of fields = 31
RA_SUN column already exists. File will not be modified.
Done.


Performing analysis on: 4FGL_J1058.6+5627_daily_bin2193
RA = 164.665, Dec = 56.4634
tmin = 807753601, tmax = 808012801
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='34650727', job_status='RUN', time_executed='2026-08-10 08:34:47.751136', time_epoch_executed='1786376087.75' WHERE source_name='4FGL J1058.6+5627' and cadence='daily' and bin_id='2193'

Database successfully updated.
Done.

Creating custom output directory:
/lscratch/kocevski/34650727

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

Retrieving the FT1 file...

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

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

Retrieving 47 files...
Done.


Merging files...

Checksum keywords updated successfully.

Merged file saved to:
/lscratch/kocevski/34650727/ft1_4FGL_J1058.6+5627_daily_bin2193.fits


Retrieving the FT1 file...

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

Retrieving 47 files...
Done.


Merging files...

Merged file saved to:
/lscratch/kocevski/34650727/ft2_4FGL_J1058.6+5627_daily_bin2193.fits


Selecting the photons:
time -p gtselect infile=/lscratch/kocevski/34650727/ft1_4FGL_J1058.6+5627_daily_bin2193.fits outfile=/lscratch/kocevski/34650727/ft1_filteredMKT_4FGL_J1058.6+5627_daily_bin2193.fits ra=164.665 dec=56.4634 rad=12.0 tmin=807753601.0 tmax=808012801.0 emin=100.0 emax=100000.0 zmin=0.0 zmax=90.0 evclass=128 evtype="INDEF" convtype=-1 phasemin=0.0 phasemax=1.0 evtable="EVENTS" chatter=2 clobber=yes debug=no gui=no mode="ql"

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

Done.
real 2.64
user 1.69
sys 0.17

Adding sun position to ft2 file:
/sdf/group/fermi/g/LCRepository/Repository/bin/sunpos /lscratch/kocevski/34650727/ft2_4FGL_J1058.6+5627_daily_bin2193.fits

Selecting the good time intervals:
time -p gtmktime scfile=/lscratch/kocevski/34650727/ft2_4FGL_J1058.6+5627_daily_bin2193.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/34650727/ft1_filteredMKT_4FGL_J1058.6+5627_daily_bin2193.fits evtable="EVENTS" outfile="/lscratch/kocevski/34650727/ft1_filtered_4FGL_J1058.6+5627_daily_bin2193.fits" apply_filter=yes overwrite=yes header_obstimes=yes tstart=0.0 tstop=0.0 gtifile="default" chatter=3 clobber=yes debug=no gui=no mode="ql"

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

This is gtmktime version HEAD
Applying GTI filter:
IN_SAA!=T && LIVETIME>0 && gtifilter('/sdf/group/fermi/g/LCRepository/Likelihood/GTIs/nogrb.gti',(START+STOP)/2) && (angsep(RA_SUN,DEC_SUN,RA_ZENITH,DEC_ZENITH)>115 || gtifilter('/sdf/group/fermi/g/LCRepository/Likelihood/GTIs/nosolarflares.gti',(START+STOP)/2))
real 1.08
user 0.21
sys 0.13

Number of photons that the gtmktime cut: 510

Generating the livetime cube:
time -p gtltcube evfile="/lscratch/kocevski/34650727/ft1_filtered_4FGL_J1058.6+5627_daily_bin2193.fits" evtable="EVENTS" scfile=/lscratch/kocevski/34650727/ft2_4FGL_J1058.6+5627_daily_bin2193.fits sctable="SC_DATA" ou
WARNING: version mismatch between CFITSIO header (v3.43) and linked library (v3.41).

Done.

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

Extracting fit parameters...

4FGL J1058.6+5627
   Spectrum: LogParabola
399         norm:  0.000e+00  1.129e-06  0.000e+00  1.000e+06 ( 1.000e-12)
400        alpha:  1.858e+00  0.000e+00  0.000e+00  5.000e+00 ( 1.000e+00) fixed
401         beta:  4.581e-02  0.000e+00 -5.000e+00  1.000e+01 ( 1.000e+00) fixed
402           Eb:  1.103e+03  0.000e+00  3.000e+01  5.000e+05 ( 1.000e+00) fixed

GAL_V02
   Spectrum: PowerLaw
753    Prefactor:  5.515e-01  2.220e-01  0.000e+00  1.000e+01 ( 1.000e+00)
754        Index:  0.000e+00  0.000e+00 -1.000e+00  1.000e+00 ( 1.000e+00) fixed
755        Scale:  1.000e+02  0.000e+00  5.000e+01  2.000e+02 ( 1.000e+00) fixed

EG_v02
   Spectrum: FileFunction
752   Normalization:  1.354e+00  1.891e-01  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Fixed Index): 0.00
Ra Dec: 164.665 56.463
Photon Flux Upper Limit: 3.87963570575e-08 ph cm-2 s-1
Energy Flux Upper Limit: None

Saving results to:
/lscratch/kocevski/34650483/likelihoodResults_807753601_808012801_4FGL_J1058.6+5627_daily_bin2193.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) = 5501.43957504
delta logL = -0.000329555650751

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

MINUIT Return Code (Free Index): 102
logL (Free Index) = 5501.43924554
delta logL = -6.16009856458e-08

Fit tolerance = 1e-08

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

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

 MIGRAD MINIMIZATION HAS CONVERGED.

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

 FCN=   5501.439     FROM MIGRAD    STATUS=CONVERGED     37 CALLS      236 TOTAL
                     EDM=   .25E-09  STRATEGY=1  ERROR MATRIX UNCERTAINTY=100.0%

  EXT PARAMETER                APPROXIMATE        STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  norm           .0000        .49084        .42118E-03** at limit **
   2  alpha         1.1395        .84805       -.33514E-03     .0000    
   3  Normalizat    1.3538        1.0692        .64490E-04   -.33084E-03
   4  Prefactor     .55153        .89714       -.11629E-03   -.10986E-05
                               ERR DEF=  .500    
Final values: 
  norm       = 0
  alpha      = 1.13949
  Normalizat = 1.35375
  Prefactor  = 0.55153
 **********
 **   18 **HESSE 
 **********
  MNHESS FAILS AND WILL RETURN DIAGONAL MATRIX. 

 FCN=   5501.439     FROM HESSE     STATUS=FAILED         9 CALLS      245 TOTAL
                     EDM=   .25E-09  STRATEGY=1  ERROR MATRIX UNCERTAINTY=100.0%

  EXT PARAMETER                APPROXIMATE     INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  norm           .0000        .49084        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   2  alpha         .28873        .96694       -.33514E-03   -.57544    
   3  Normalizat    1.3538        1.0692        .64490E-04   -.81976    
   4  Prefactor     .55153        .89714       -.11629E-03   -1.0967    
                               ERR DEF=  .500    
Minuit fit quality: 1   estimated distance: 2.47201e-10
Minuit parameter uncertainties:
  1  3.53053e-06
  2  0.873042
  3  1.08756
  4  0.922002
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) = 5501.43924548
delta logL = -1.94631866179e-10

Extracting fit parameters...

4FGL J1058.6+5627
   Spectrum: LogParabola
399         norm:  0.000e+00  3.531e-06  0.000e+00  1.000e+06 ( 1.000e-12)
400        alpha:  1.139e+00  8.730e-01  0.000e+00  5.000e+00 ( 1.000e+00)
401         beta:  4.581e-02  0.000e+00 -5.000e+00  1.000e+01 ( 1.000e+00) fixed
402           Eb:  1.103e+03  0.000e+00  3.000e+01  5.000e+05 ( 1.000e+00) fixed

GAL_V02
   Spectrum: PowerLaw
753    Prefactor:  5.515e-01  9.220e-01  0.000e+00  1.000e+01 ( 1.000e+00)
754        Index:  0.000e+00  0.000e+00 -1.000e+00  1.000e+00 ( 1.000e+00) fixed
755        Scale:  1.000e+02  0.000e+00  5.000e+01  2.000e+02 ( 1.000e+00) fixed

EG_v02
   Spectrum: FileFunction
752   Normalization:  1.354e+00  1.088e+00  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Free Index): 0.00
Ra Dec: 164.665 56.463

Creating a high resolution counts map...
INFO: Auto-setting vmin to  0.000e+00 [aplpy.core]
INFO: Auto-setting vmax to  0.000e+00 [aplpy.core]
Saving /lscratch/kocevski/34650483/cmap_HighResolution_807753601_808012801_4FGL_J1058.6+5627_daily_bin2193.png

Cleaning up...

** Nuclear option initiated! **

Updating database...

UPDATE lightcurve_data_v2 SET job_status='DONE', comment='SUCCESS', photon_flux_upper_limit='3.88e-08', time_completed='2026-08-10 08:38:43.859655', job_id='34650483', GAL2='0.55', fit_tolerance='1e-08', EG2='1.35', EG='1.35', time_epoch_completed='1786376323.86', return_code2='101', ts='0.00', return_code='0', GAL='0.55', dlogl='-1.95e-10', ts2='0.00', photon_index_error='0.00', photon_index='1.86' WHERE bin_id='2193' AND source_name='4FGL J1058.6+5627' AND cadence='daily';

Database successfully updated.


Analysis Complete.


Mon Aug 10 08:38:44 PDT 2026

tfile=/lscratch/kocevski/34650724/ltcube_807753601_808012801_4FGL_J1058.6+5627_daily_bin2193.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/34650724/ft2_4FGL_J1058.6+5627_daily_bin2193.fits
.....................!
real 8.71
user 7.85
sys 0.24

Generating the exposure map:
time -p gtexpmap evfile=/lscratch/kocevski/34650724/ft1_filtered_4FGL_J1058.6+5627_daily_bin2193.fits evtable="EVENTS" scfile=/lscratch/kocevski/34650724/ft2_4FGL_J1058.6+5627_daily_bin2193.fits sctable="SC_DATA" expcube=/lscratch/kocevski/34650724/ltcube_807753601_808012801_4FGL_J1058.6+5627_daily_bin2193.fits outfile=/lscratch/kocevski/34650724/expmap_807753601_808012801_4FGL_J1058.6+5627_daily_bin2193.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/34650724/ltcube_807753601_808012801_4FGL_J1058.6+5627_daily_bin2193.fits
.....................!
real 68.11
user 63.03
sys 4.17

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

Setting source of interest to:
4FGL J1058.6+5627 @ 164.665 56.4634

Creating the counts map:
time -p gtbin evfile=/lscratch/kocevski/34650724/ft1_filtered_4FGL_J1058.6+5627_daily_bin2193.fits scfile=/lscratch/kocevski/34650724/ft2_4FGL_J1058.6+5627_daily_bin2193.fits outfile=/lscratch/kocevski/34650724/cmap_807753601_808012801_4FGL_J1058.6+5627_daily_bin2193.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=164.665 yref=56.4634 axisrot=0.0 rafield="RA" decfield="DEC" proj="AIT" hpx_ordering_scheme="RING" hpx_order=3 hpx_ebin=yes hpx_region="" evtable="EVENTS" sctable="SC_DATA" efield="ENERGY" tfield="TIME" chatter=2 clobber=yes debug=no gui=no mode="ql"

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

This is gtbin version HEAD
real 0.97
user 0.24
sys 0.11

Creating the high resolution counts map:
time -p gtbin evfile=/lscratch/kocevski/34650724/ft1_filtered_4FGL_J1058.6+5627_daily_bin2193.fits scfile=/lscratch/kocevski/34650724/ft2_4FGL_J1058.6+5627_daily_bin2193.fits outfile=/lscratch/kocevski/34650724/cmap_HighResolution_807753601_808012801_4FGL_J1058.6+5627_daily_bin2193.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=164.665 yref=56.4634 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.89
user 0.23
sys 0.13

Computing the diffuse response:
time -p gtdiffrsp evfile=/lscratch/kocevski/34650724/ft1_filtered_4FGL_J1058.6+5627_daily_bin2193.fits evtable="EVENTS" scfile=/lscratch/kocevski/34650724/ft2_4FGL_J1058.6+5627_daily_bin2193.fits sctable="SC_DATA" srcmdl=/lscratch/kocevski/34650724/Model_4FGL_J1058.6+5627_daily_bin2193.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 GALtfile=/lscratch/kocevski/34650727/ltcube_807753601_808012801_4FGL_J1058.6+5627_daily_bin2193.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/34650727/ft2_4FGL_J1058.6+5627_daily_bin2193.fits
.....................!
real 10.07
user 9.00
sys 0.24

Generating the exposure map:
time -p gtexpmap evfile=/lscratch/kocevski/34650727/ft1_filtered_4FGL_J1058.6+5627_daily_bin2193.fits evtable="EVENTS" scfile=/lscratch/kocevski/34650727/ft2_4FGL_J1058.6+5627_daily_bin2193.fits sctable="SC_DATA" expcube=/lscratch/kocevski/34650727/ltcube_807753601_808012801_4FGL_J1058.6+5627_daily_bin2193.fits outfile=/lscratch/kocevski/34650727/expmap_807753601_808012801_4FGL_J1058.6+5627_daily_bin2193.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/34650727/ltcube_807753601_808012801_4FGL_J1058.6+5627_daily_bin2193.fits
.....................!
real 75.13
user 69.79
sys 4.34

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

Setting source of interest to:
4FGL J1058.6+5627 @ 164.665 56.4634

Creating the counts map:
time -p gtbin evfile=/lscratch/kocevski/34650727/ft1_filtered_4FGL_J1058.6+5627_daily_bin2193.fits scfile=/lscratch/kocevski/34650727/ft2_4FGL_J1058.6+5627_daily_bin2193.fits outfile=/lscratch/kocevski/34650727/cmap_807753601_808012801_4FGL_J1058.6+5627_daily_bin2193.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=164.665 yref=56.4634 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.15
user 0.24
sys 0.13

Creating the high resolution counts map:
time -p gtbin evfile=/lscratch/kocevski/34650727/ft1_filtered_4FGL_J1058.6+5627_daily_bin2193.fits scfile=/lscratch/kocevski/34650727/ft2_4FGL_J1058.6+5627_daily_bin2193.fits outfile=/lscratch/kocevski/34650727/cmap_HighResolution_807753601_808012801_4FGL_J1058.6+5627_daily_bin2193.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=164.665 yref=56.4634 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.93
user 0.24
sys 0.13

Computing the diffuse response:
time -p gtdiffrsp evfile=/lscratch/kocevski/34650727/ft1_filtered_4FGL_J1058.6+5627_daily_bin2193.fits evtable="EVENTS" scfile=/lscratch/kocevski/34650727/ft2_4FGL_J1058.6+5627_daily_bin2193.fits sctable="SC_DATA" srcmdl=/lscratch/kocevski/34650727/Model_4FGL_J1058.6+5627_daily_bin2193.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 GAV02
Working on...
/lscratch/kocevski/34650630/ft1_filtered_4FGL_J1058.6+5627_daily_bin2193.fits.....................!
real 23.01
user 21.08
sys 1.03

Creating the likelihood object...
obs = UnbinnedObs('/lscratch/kocevski/34650630/ft1_filtered_4FGL_J1058.6+5627_daily_bin2193.fits', '/lscratch/kocevski/34650630/ft2_4FGL_J1058.6+5627_daily_bin2193.fits', expMap='/lscratch/kocevski/34650630/expmap_807753601_808012801_4FGL_J1058.6+5627_daily_bin2193.fits', expCube='/lscratch/kocevski/34650630/ltcube_807753601_808012801_4FGL_J1058.6+5627_daily_bin2193.fits', irfs='P8R3_SOURCE_V2')
like = UnbinnedAnalysis(obs, '/lscratch/kocevski/34650630/Model_4FGL_J1058.6+5627_daily_bin2193.xml', optimizer='MINUIT')

Using source of interest name: '4FGL J1058.6+5627'

4FGL J1058.6+5627
   Spectrum: LogParabola
399         norm:  2.525e+00  0.000e+00  0.000e+00  1.000e+06 ( 1.000e-12)
400        alpha:  1.858e+00  0.000e+00  0.000e+00  5.000e+00 ( 1.000e+00) fixed
401         beta:  4.581e-02  0.000e+00 -5.000e+00  1.000e+01 ( 1.000e+00) fixed
402           Eb:  1.103e+03  0.000e+00  3.000e+01  5.000e+05 ( 1.000e+00) fixed


Likelihood Fit Parameters:
Event file(s): /lscratch/kocevski/34650630/ft1_filtered_4FGL_J1058.6+5627_daily_bin2193.fits
Spacecraft file(s): /lscratch/kocevski/34650630/ft2_4FGL_J1058.6+5627_daily_bin2193.fits
Exposure map: /lscratch/kocevski/34650630/expmap_807753601_808012801_4FGL_J1058.6+5627_daily_bin2193.fits
Exposure cube: /lscratch/kocevski/34650630/ltcube_807753601_808012801_4FGL_J1058.6+5627_daily_bin2193.fits
IRFs: P8R3_SOURCE_V2
Source model file: /lscratch/kocevski/34650630/Model_4FGL_J1058.6+5627_daily_bin2193.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) = 5501.45869594

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

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

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'Prefactor '    8.6849       1.0000          .0000       .10000E+07
     2 'Prefactor '    24.129       1.0000          .0000       .10000E+07
     3 'norm      '    8.2235       1.0000          .0000       .10000E+07
     4 'Prefactor '    .92916E-03   1.0000          .0000       .10000E+07
     5 'norm      '    1.8811       1.0000          .0000       .10000E+07
     6 'Prefactor '    14.859       1.0000          .0000       .10000E+07
     7 'norm      '    3.0316       1.0000          .0000       .10000E+07
     8 'norm      '    7.9969       1.0000          .0000       .10000E+07
     9 'Prefactor '    71.611       1.0000          .0000       .10000E+07
    10 'norm      '    14.092       1.0000          .0000       .10000E+07
    11 'Prefactor '    11.004       1.0000          .0000       .10000E+07
    12 'norm      '    3.7785       1.0000          .0000       .10000E+07
    13 'norm      '    .21918E-05   1.0000          .0000       .10000E+07
    14 'Prefactor '    .15024E-02   1.0000          .0000       .10000E+07
    15 'Prefactor '    239.08       1.0000          .0000       .10000E+07
    16 'norm      '    .53763E-06   1.0000          .0000       .10000E+07
    17 'Prefactor '    .28200       1.0000          .0000       .10000E+07
    18 'Prefactor '    15.190       1.0000          .0000       .10000E+07
    19 'Prefactor '    .32212E-02   1.0000          .0000       .10000E+07
    20 'norm      '    .16932E-02   1.0000          .0000       .10000E+07
    21 'Prefactor '    .11915E-05   1.0000          .0000       .10000E+07
    22 'Prefactor '    24.413       1.0000          .0000       .10000E+07
    23 'Prefactor '    .15725E-03   1.0000          .0000       .10000E+07
    24 'norm      '    10.031       1.0000          .0000       .10000E+07
    25 'Prefactor '    1.4407       1.0000          .0000       .10000E+07
    26 'norm      '    .32251E-02   1.0000          .0000       .10000E+07
    27 'Prefactor '    13.219       1.0000          .0000       .10000E+07
    28 'Prefactor '    .10917E-02   1.0000          .0000       .10000E+07
    29 'norm      '    .62000E-06   1.0000          .0000       .10000E+07
    30 'Normalizat'    1.3540       1.0000         .10000E-01   10.000    
    31 'Prefactor '    .55116       1.0000          .0000       10.000    
 **********
 **   15 **SET ERR    .5000    
 **********
 **********
 **   16 **SET GRAD    1.000    
 **********
 **********
 **   17 **MINIMIZE    .7560E+05   .2000E-04
 **********

 MIGRAD MINIMIZATION HAS CONVERGED.

 FCN=   5501.439     FROM MIGRAD    STATUS=CONVERGED    234 CALLS     2995 TOTAL
                     EDM=   .22E-09  STRATEGY=1  ERROR MATRIX UNCERTAINTY=   .9%

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor     8.6758        8.8882        .14828E-06    .42596E-03
   2  Prefactor     24.330        27.740       -.17956E-05    .94799E-02
   3  norm          8.2226        8.4899        .66430E-06    .87451E-04
   4  Prefactor     .27756E-09    16.895       -.22129E-05** at limit **
   5  norm          1.8793        .80182        .10944E-06   -.15947E-03
   6  Prefactor     14.790        14.614        .26564E-06   -.24285E-02
   7  norm          3.0312        1.0376       -.43396E-07    .57968E-03
   8  norm          7.9253        5.2523       -.59620E-07   -.31685E-03
   9  Prefactor     71.855        4.4253       -.10077E-06   -.97860E-01
  10  norm          14.075        3.2446        .63265E-07   -.51647E-01
  11  Prefactor     11.188        7.2470       -.88978E-06   -.30129E-01
  12  norm          3.7622        2.5714       -.10652E-06    .15214E-02
  13  norm           .0000        1.4675       -.25780E-06** at limit **
  14  Prefactor     .98310E-07    133.44        .19569E-05** at limit **
  15  Prefactor     241.72        156.98        .32544E-05   -.39005E-02
  16  norm           .0000        .97544       -.45528E-06** at limit **
  17  Prefactor     .99476E-07    148.80        .46747E-05** at limit **
  18  Prefactor     15.141        15.162        .44798E-06    .25657E-03
  19  Prefactor     .31086E-08    73.808        .79625E-06** at limit **
  20  norm          .44409E-09    19.939       -.74813E-06** at limit **
  21  Prefactor      .0000        1.8464       -.35759E-06** at limit **
  22  Prefactor     24.433        1.6960       -.43031E-07   -.19164E-02
  23  Prefactor     .18319E-08    18.924        .19998E-05** at limit **
  24  norm          9.9979        10.428       -.53662E-06   -.58932E-03
  25  Prefactor     1.4398        3.8215        .24971E-06   -.19490E-03
  26  norm           .0000        7.7532        .75150E-06** at limit **
  27  Prefactor     13.182        7.3540       -.61967E-07   -.62646E-03
  28  Prefactor      .0000        5.3396       -.35300E-06** at limit **
  29  norm           .0000        1.4378       -.55854E-07** at limit **
  30  Normalizat    1.3538        .21278        .12851E-05   -.37246E-05
  31  Prefactor     .55153        .24952       -.10056E-04   -.84890E-05
                               ERR DEF=  .500    
Final values: 
  Prefactor  = 8.67577
  Prefactor  = 24.3299
  norm       = 8.22263
  Prefactor  = 2.77556e-10
  norm       = 1.87926
  Prefactor  = 14.7899
  norm       = 3.03125
  norm       = 7.9253
  Prefactor  = 71.8551
  norm       = 14.0747
  Prefactor  = 11.1884
  norm       = 3.76216
  norm       = 0
  Prefactor  = 9.83102e-08
  Prefactor  = 241.72
  norm       = 0
  Prefactor  = 9.9476e-08
  Prefactor  = 15.1411
  Prefactor  = 3.10862e-09
  norm       = 4.44089e-10
  Prefactor  = 0
  Prefactor  = 24.4327
  Prefactor  = 1.83187e-09
  norm       = 9.99787
  Prefactor  = 1.43975
  norm       = 0
  Prefactor  = 13.1818
  Prefactor  = 0
  norm       = 0
  Normalizat = 1.35376
  Prefactor  = 0.551526
number of points = 7691
number of fields = 31
RA_SUN column already exists. File will not be modified.
Done.


Performing analysis on: 4FGL_J1058.6+5627_daily_bin2193
RA = 164.665, Dec = 56.4634
tmin = 807753601, tmax = 808012801
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='34650955', job_status='RUN', time_executed='2026-08-10 08:38:08.912507', time_epoch_executed='1786376288.91' WHERE source_name='4FGL J1058.6+5627' and cadence='daily' and bin_id='2193'

Database successfully updated.
Done.

Creating custom output directory:
/lscratch/kocevski/34650955

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

Retrieving the FT1 file...

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

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

Retrieving 47 files...
Done.


Merging files...

Checksum keywords updated successfully.

Merged file saved to:
/lscratch/kocevski/34650955/ft1_4FGL_J1058.6+5627_daily_bin2193.fits


Retrieving the FT1 file...

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

Retrieving 47 files...
Done.


Merging files...

Merged file saved to:
/lscratch/kocevski/34650955/ft2_4FGL_J1058.6+5627_daily_bin2193.fits


Selecting the photons:
time -p gtselect infile=/lscratch/kocevski/34650955/ft1_4FGL_J1058.6+5627_daily_bin2193.fits outfile=/lscratch/kocevski/34650955/ft1_filteredMKT_4FGL_J1058.6+5627_daily_bin2193.fits ra=164.665 dec=56.4634 rad=12.0 tmin=807753601.0 tmax=808012801.0 emin=100.0 emax=100000.0 zmin=0.0 zmax=90.0 evclass=128 evtype="INDEF" convtype=-1 phasemin=0.0 phasemax=1.0 evtable="EVENTS" chatter=2 clobber=yes debug=no gui=no mode="ql"

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

Done.
real 2.40
user 1.60
sys 0.17

Adding sun position to ft2 file:
/sdf/group/fermi/g/LCRepository/Repository/bin/sunpos /lscratch/kocevski/34650955/ft2_4FGL_J1058.6+5627_daily_bin2193.fits

Selecting the good time intervals:
time -p gtmktime scfile=/lscratch/kocevski/34650955/ft2_4FGL_J1058.6+5627_daily_bin2193.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/34650955/ft1_filteredMKT_4FGL_J1058.6+5627_daily_bin2193.fits evtable="EVENTS" outfile="/lscratch/kocevski/34650955/ft1_filtered_4FGL_J1058.6+5627_daily_bin2193.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.88
user 0.20
sys 0.14

Number of photons that the gtmktime cut: 510

Generating the livetime cube:
time -p gtltcube evfile="/lscratch/kocevski/34650955/ft1_filtered_4FGL_J1058.6+5627_daily_bin2193.fits" evtable="EVENTS" scfile=/lscratch/kocevski/34650955/ft2_4FGL_J1058.6+5627_daily_bin2193.fits sctable="SC_DATA" ou **********
 **   18 **HESSE 
 **********

 FCN=   5501.439     FROM HESSE     STATUS=OK           684 CALLS     3679 TOTAL
                     EDM=   .44E-06    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  Prefactor     8.6758        8.8952        .33989E-03   -1.5649    
   2  Prefactor     24.330        28.671        .20363E-03   -1.5609    
   3  norm          8.2226        8.4857        .34937E-03   -1.5651    
   4  Prefactor     .27756E-09    16.899        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   5  norm          1.8793        .80905        .75870E-03   -1.5681    
   6  Prefactor     14.790        14.841        .25957E-03   -1.5631    
   7  norm          3.0312        1.0416        .58254E-04   -1.5673    
   8  norm          7.9253        5.2499        .35432E-03   -1.5652    
   9  Prefactor     71.855        49.737        .11818E-03   -1.5538    
  10  norm          14.075        18.395        .26656E-03   -1.5633    
  11  Prefactor     11.188        25.224        .30176E-03   -1.5641    
  12  norm          3.7622        3.3217        .51910E-03   -1.5669    
  13  norm           .0000        1.4448        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  14  Prefactor     .98310E-07    133.71        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  15  Prefactor     241.72        157.26        .64681E-04   -1.5397    
  16  norm           .0000        .97149        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  17  Prefactor     .99476E-07    151.07        .10467E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  18  Prefactor     15.141        15.208        .25672E-03   -1.5630    
  19  Prefactor     .31086E-08    73.849        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  20  norm          .44409E-09    20.084        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  21  Prefactor      .0000        1.8463        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  22  Prefactor     24.433        20.343        .20243E-03   -1.5609    
  23  Prefactor     .18319E-08    19.086        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  24  norm          9.9979        10.436        .31613E-03   -1.5645    
  25  Prefactor     1.4398        3.8341        .89841E-03   -1.5684    
  26  norm           .0000        7.6699        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  27  Prefactor     13.182        7.3593        .27524E-03   -1.5635    
  28  Prefactor      .0000        5.3427        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  29  norm           .0000        1.4181        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  30  Normalizat    1.3538        .18902        .48093E-01   -.81976    
  31  Prefactor     .55153        .22161        .86460E-01   -1.0967    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 4.40681e-07
Minuit parameter uncertainties:
  1  8.89525
  2  28.6716
  3  8.48574
  4  0.000133636
  5  0.809045
  6  14.8407
  7  1.04164
  8  5.24987
  9  49.7373
  10  18.3953
  11  25.2241
  12  3.32172
  13  1.30235e-07
  14  0.00725229
  15  157.258
  16  1.12927e-06
  17  0.00775265
  18  15.208
  19  0.000961623
  20  0.000184832
  21  2.02565e-06
  22  20.3433
  23  0.000373881
  24  10.4358
  25  3.83408
  26  1.35003e-05
  27  7.35926
  28  9.9416e-06
  29  3.90653e-07
  30  0.189114
  31  0.22196
Done.

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

Extracting fit parameters...

4FGL J1058.6+5627
   Spectrum: LogParabola
399         norm:  0.000e+00  1.129e-06  0.000e+00  1.000e+06 ( 1.000e-12)
400        alpha:  1.858e+00  0.000e+00  0.000e+00  5.000e+00 ( 1.000e+00) fixed
401         beta:  4.581e-02  0.000e+00 -5.000e+00  1.000e+01 ( 1.000e+00) fixed
402           Eb:  1.103e+03  0.000e+00  3.000e+01  5.000e+05 ( 1.000e+00) fixed

GAL_V02
   Spectrum: PowerLaw
753    Prefactor:  5.515e-01  2.220e-01  0.000e+00  1.000e+01 ( 1.000e+00)
754        Index:  0.000e+00  0.000e+00 -1.000e+00  1.000e+00 ( 1.000e+00) fixed
755        Scale:  1.000e+02  0.000e+00  5.000e+01  2.000e+02 ( 1.000e+00) fixed

EG_v02
   Spectrum: FileFunction
752   Normalization:  1.354e+00  1.891e-01  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Fixed Index): 0.00
Ra Dec: 164.665 56.463
Photon Flux Upper Limit: 3.87963570575e-08 ph cm-2 s-1
Energy Flux Upper Limit: None

Saving results to:
/lscratch/kocevski/34650630/likelihoodResults_807753601_808012801_4FGL_J1058.6+5627_daily_bin2193.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) = 5501.43957504
delta logL = -0.000329555650751

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

MINUIT Return Code (Free Index): 102
logL (Free Index) = 5501.43924554
delta logL = -6.16009856458e-08

Fit tolerance = 1e-08

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

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

 MIGRAD MINIMIZATION HAS CONVERGED.

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

 FCN=   5501.439     FROM MIGRAD    STATUS=CONVERGED     37 CALLS      236 TOTAL
                     EDM=   .25E-09  STRATEGY=1  ERROR MATRIX UNCERTAINTY=100.0%

  EXT PARAMETER                APPROXIMATE        STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  norm           .0000        .49084        .42118E-03** at limit **
   2  alpha         1.1395        .84805       -.33514E-03     .0000    
   3  Normalizat    1.3538        1.0692        .64490E-04   -.33084E-03
   4  Prefactor     .55153        .89714       -.11629E-03   -.10986E-05
                               ERR DEF=  .500    
Final values: 
  norm       = 0
  alpha      = 1.13949
  Normalizat = 1.35375
  Prefactor  = 0.55153
 **********
 **   18 **HESSE 
 **********
  MNHESS FAILS AND WILL RETURN DIAGONAL MATRIX. 

 FCN=   5501.439     FROM HESSE     STATUS=FAILED         9 CALLS      245 TOTAL
                     EDM=   .25E-09  STRATEGY=1  ERROR MATRIX UNCERTAINTY=100.0%

  EXT PARAMETER                APPROXIMATE     INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  norm           .0000        .49084        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   2  alpha         .28873        .96694       -.33514E-03   -.57544    
   3  Normalizat    1.3538        1.0692        .64490E-04   -.81976    
   4  Prefactor     .55153        .89714       -.11629E-03   -1.0967    
                               ERR DEF=  .500    
Minuit fit quality: 1   estimated distance: 2.47201e-10
Minuit parameter uncertainties:
  1  3.53053e-06
  2  0.873042
  3  1.08756
  4  0.922002
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) = 5501.43924548
delta logL = -1.94631866179e-10

Extracting fit parameters...

4FGL J1058.6+5627
   Spectrum: LogParabola
399         norm:  0.000e+00  3.531e-06  0.000e+00  1.000e+06 ( 1.000e-12)
400        alpha:  1.139e+00  8.730e-01  0.000e+00  5.000e+00 ( 1.000e+00)
401         beta:  4.581e-02  0.000e+00 -5.000e+00  1.000e+01 ( 1.000e+00) fixed
402           Eb:  1.103e+03  0.000e+00  3.000e+01  5.000e+05 ( 1.000e+00) fixed

GAL_V02
   Spectrum: PowerLaw
753    Prefactor:  5.515e-01  9.220e-01  0.000e+00  1.000e+01 ( 1.000e+00)
754        Index:  0.000e+00  0.000e+00 -1.000e+00  1.000e+00 ( 1.000e+00) fixed
755        Scale:  1.000e+02  0.000e+00  5.000e+01  2.000e+02 ( 1.000e+00) fixed

EG_v02
   Spectrum: FileFunction
752   Normalization:  1.354e+00  1.088e+00  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Free Index): 0.00
Ra Dec: 164.665 56.463

Creating a high resolution counts map...
INFO: Auto-setting vmin to  0.000e+00 [aplpy.core]
INFO: Auto-setting vmax to  0.000e+00 [aplpy.core]
Saving /lscratch/kocevski/34650630/cmap_HighResolution_807753601_808012801_4FGL_J1058.6+5627_daily_bin2193.png

Cleaning up...

** Nuclear option initiated! **

Updating database...

UPDATE lightcurve_data_v2 SET job_status='DONE', comment='SUCCESS', photon_flux_upper_limit='3.88e-08', time_completed='2026-08-10 08:41:41.664345', job_id='34650630', GAL2='0.55', fit_tolerance='1e-08', EG2='1.35', EG='1.35', time_epoch_completed='1786376501.66', return_code2='101', ts='0.00', return_code='0', GAL='0.55', dlogl='-1.95e-10', ts2='0.00', photon_index_error='0.00', photon_index='1.86' WHERE bin_id='2193' AND source_name='4FGL J1058.6+5627' AND cadence='daily';

Database successfully updated.


Analysis Complete.


Mon Aug 10 08:41:42 PDT 2026

_V02
Working on...
/lscratch/kocevski/34650724/ft1_filtered_4FGL_J1058.6+5627_daily_bin2193.fits.....................!
real 23.75
user 21.83
sys 1.06

Creating the likelihood object...
obs = UnbinnedObs('/lscratch/kocevski/34650724/ft1_filtered_4FGL_J1058.6+5627_daily_bin2193.fits', '/lscratch/kocevski/34650724/ft2_4FGL_J1058.6+5627_daily_bin2193.fits', expMap='/lscratch/kocevski/34650724/expmap_807753601_808012801_4FGL_J1058.6+5627_daily_bin2193.fits', expCube='/lscratch/kocevski/34650724/ltcube_807753601_808012801_4FGL_J1058.6+5627_daily_bin2193.fits', irfs='P8R3_SOURCE_V2')
like = UnbinnedAnalysis(obs, '/lscratch/kocevski/34650724/Model_4FGL_J1058.6+5627_daily_bin2193.xml', optimizer='MINUIT')

Using source of interest name: '4FGL J1058.6+5627'

4FGL J1058.6+5627
   Spectrum: LogParabola
399         norm:  2.525e+00  0.000e+00  0.000e+00  1.000e+06 ( 1.000e-12)
400        alpha:  1.858e+00  0.000e+00  0.000e+00  5.000e+00 ( 1.000e+00) fixed
401         beta:  4.581e-02  0.000e+00 -5.000e+00  1.000e+01 ( 1.000e+00) fixed
402           Eb:  1.103e+03  0.000e+00  3.000e+01  5.000e+05 ( 1.000e+00) fixed


Likelihood Fit Parameters:
Event file(s): /lscratch/kocevski/34650724/ft1_filtered_4FGL_J1058.6+5627_daily_bin2193.fits
Spacecraft file(s): /lscratch/kocevski/34650724/ft2_4FGL_J1058.6+5627_daily_bin2193.fits
Exposure map: /lscratch/kocevski/34650724/expmap_807753601_808012801_4FGL_J1058.6+5627_daily_bin2193.fits
Exposure cube: /lscratch/kocevski/34650724/ltcube_807753601_808012801_4FGL_J1058.6+5627_daily_bin2193.fits
IRFs: P8R3_SOURCE_V2
Source model file: /lscratch/kocevski/34650724/Model_4FGL_J1058.6+5627_daily_bin2193.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) = 5501.45869594

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

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

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'Prefactor '    8.6849       1.0000          .0000       .10000E+07
     2 'Prefactor '    24.129       1.0000          .0000       .10000E+07
     3 'norm      '    8.2235       1.0000          .0000       .10000E+07
     4 'Prefactor '    .92916E-03   1.0000          .0000       .10000E+07
     5 'norm      '    1.8811       1.0000          .0000       .10000E+07
     6 'Prefactor '    14.859       1.0000          .0000       .10000E+07
     7 'norm      '    3.0316       1.0000          .0000       .10000E+07
     8 'norm      '    7.9969       1.0000          .0000       .10000E+07
     9 'Prefactor '    71.611       1.0000          .0000       .10000E+07
    10 'norm      '    14.092       1.0000          .0000       .10000E+07
    11 'Prefactor '    11.004       1.0000          .0000       .10000E+07
    12 'norm      '    3.7785       1.0000          .0000       .10000E+07
    13 'norm      '    .21918E-05   1.0000          .0000       .10000E+07
    14 'Prefactor '    .15024E-02   1.0000          .0000       .10000E+07
    15 'Prefactor '    239.08       1.0000          .0000       .10000E+07
    16 'norm      '    .53763E-06   1.0000          .0000       .10000E+07
    17 'Prefactor '    .28200       1.0000          .0000       .10000E+07
    18 'Prefactor '    15.190       1.0000          .0000       .10000E+07
    19 'Prefactor '    .32212E-02   1.0000          .0000       .10000E+07
    20 'norm      '    .16932E-02   1.0000          .0000       .10000E+07
    21 'Prefactor '    .11915E-05   1.0000          .0000       .10000E+07
    22 'Prefactor '    24.413       1.0000          .0000       .10000E+07
    23 'Prefactor '    .15725E-03   1.0000          .0000       .10000E+07
    24 'norm      '    10.031       1.0000          .0000       .10000E+07
    25 'Prefactor '    1.4407       1.0000          .0000       .10000E+07
    26 'norm      '    .32251E-02   1.0000          .0000       .10000E+07
    27 'Prefactor '    13.219       1.0000          .0000       .10000E+07
    28 'Prefactor '    .10917E-02   1.0000          .0000       .10000E+07
    29 'norm      '    .62000E-06   1.0000          .0000       .10000E+07
    30 'Normalizat'    1.3540       1.0000         .10000E-01   10.000    
    31 'Prefactor '    .55116       1.0000          .0000       10.000    
 **********
 **   15 **SET ERR    .5000    
 **********
 **********
 **   16 **SET GRAD    1.000    
 **********
 **********
 **   17 **MINIMIZE    .7560E+05   .2000E-04
 **********

 MIGRAD MINIMIZATION HAS CONVERGED.

 FCN=   5501.439     FROM MIGRAD    STATUS=CONVERGED    234 CALLS     2995 TOTAL
                     EDM=   .22E-09  STRATEGY=1  ERROR MATRIX UNCERTAINTY=   .9%

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor     8.6758        8.8882        .14828E-06    .42596E-03
   2  Prefactor     24.330        27.740       -.17956E-05    .94799E-02
   3  norm          8.2226        8.4899        .66430E-06    .87451E-04
   4  Prefactor     .27756E-09    16.895       -.22129E-05** at limit **
   5  norm          1.8793        .80182        .10944E-06   -.15947E-03
   6  Prefactor     14.790        14.614        .26564E-06   -.24285E-02
   7  norm          3.0312        1.0376       -.43396E-07    .57968E-03
   8  norm          7.9253        5.2523       -.59620E-07   -.31685E-03
   9  Prefactor     71.855        4.4253       -.10077E-06   -.97860E-01
  10  norm          14.075        3.2446        .63265E-07   -.51647E-01
  11  Prefactor     11.188        7.2470       -.88978E-06   -.30129E-01
  12  norm          3.7622        2.5714       -.10652E-06    .15214E-02
  13  norm           .0000        1.4675       -.25780E-06** at limit **
  14  Prefactor     .98310E-07    133.44        .19569E-05** at limit **
  15  Prefactor     241.72        156.98        .32544E-05   -.39005E-02
  16  norm           .0000        .97544       -.45528E-06** at limit **
  17  Prefactor     .99476E-07    148.80        .46747E-05** at limit **
  18  Prefactor     15.141        15.162        .44798E-06    .25657E-03
  19  Prefactor     .31086E-08    73.808        .79625E-06** at limit **
  20  norm          .44409E-09    19.939       -.74813E-06** at limit **
  21  Prefactor      .0000        1.8464       -.35759E-06** at limit **
  22  Prefactor     24.433        1.6960       -.43031E-07   -.19164E-02
  23  Prefactor     .18319E-08    18.924        .19998E-05** at limit **
  24  norm          9.9979        10.428       -.53662E-06   -.58932E-03
  25  Prefactor     1.4398        3.8215        .24971E-06   -.19490E-03
  26  norm           .0000        7.7532        .75150E-06** at limit **
  27  Prefactor     13.182        7.3540       -.61967E-07   -.62646E-03
  28  Prefactor      .0000        5.3396       -.35300E-06** at limit **
  29  norm           .0000        1.4378       -.55854E-07** at limit **
  30  Normalizat    1.3538        .21278        .12851E-05   -.37246E-05
  31  Prefactor     .55153        .24952       -.10056E-04   -.84890E-05
                               ERR DEF=  .500    
Final values: 
  Prefactor  = 8.67577
  Prefactor  = 24.3299
  norm       = 8.22263
  Prefactor  = 2.77556e-10
  norm       = 1.87926
  Prefactor  = 14.7899
  norm       = 3.03125
  norm       = 7.9253
  Prefactor  = 71.8551
  norm       = 14.0747
  Prefactor  = 11.1884
  norm       = 3.76216
  norm       = 0
  Prefactor  = 9.83102e-08
  Prefactor  = 241.72
  norm       = 0
  Prefactor  = 9.9476e-08
  Prefactor  = 15.1411
  Prefactor  = 3.10862e-09
  norm       = 4.44089e-10
  Prefactor  = 0
  Prefactor  = 24.4327
  Prefactor  = 1.83187e-09
  norm       = 9.99787
  Prefactor  = 1.43975
  norm       = 0
  Prefactor  = 13.1818
  Prefactor  = 0
  norm       = 0
  Normalizat = 1.35376
  Prefactor  = 0.551526
tfile=/lscratch/kocevski/34650955/ltcube_807753601_808012801_4FGL_J1058.6+5627_daily_bin2193.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/34650955/ft2_4FGL_J1058.6+5627_daily_bin2193.fits
.....................!
real 9.23
user 8.32
sys 0.24

Generating the exposure map:
time -p gtexpmap evfile=/lscratch/kocevski/34650955/ft1_filtered_4FGL_J1058.6+5627_daily_bin2193.fits evtable="EVENTS" scfile=/lscratch/kocevski/34650955/ft2_4FGL_J1058.6+5627_daily_bin2193.fits sctable="SC_DATA" expcube=/lscratch/kocevski/34650955/ltcube_807753601_808012801_4FGL_J1058.6+5627_daily_bin2193.fits outfile=/lscratch/kocevski/34650955/expmap_807753601_808012801_4FGL_J1058.6+5627_daily_bin2193.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/34650955/ltcube_807753601_808012801_4FGL_J1058.6+5627_daily_bin2193.fits
.....................!
real 70.94
user 65.88
sys 3.99

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

Setting source of interest to:
4FGL J1058.6+5627 @ 164.665 56.4634

Creating the counts map:
time -p gtbin evfile=/lscratch/kocevski/34650955/ft1_filtered_4FGL_J1058.6+5627_daily_bin2193.fits scfile=/lscratch/kocevski/34650955/ft2_4FGL_J1058.6+5627_daily_bin2193.fits outfile=/lscratch/kocevski/34650955/cmap_807753601_808012801_4FGL_J1058.6+5627_daily_bin2193.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=164.665 yref=56.4634 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.07
user 0.23
sys 0.12

Creating the high resolution counts map:
time -p gtbin evfile=/lscratch/kocevski/34650955/ft1_filtered_4FGL_J1058.6+5627_daily_bin2193.fits scfile=/lscratch/kocevski/34650955/ft2_4FGL_J1058.6+5627_daily_bin2193.fits outfile=/lscratch/kocevski/34650955/cmap_HighResolution_807753601_808012801_4FGL_J1058.6+5627_daily_bin2193.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=164.665 yref=56.4634 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.95
user 0.23
sys 0.13

Computing the diffuse response:
time -p gtdiffrsp evfile=/lscratch/kocevski/34650955/ft1_filtered_4FGL_J1058.6+5627_daily_bin2193.fits evtable="EVENTS" scfile=/lscratch/kocevski/34650955/ft2_4FGL_J1058.6+5627_daily_bin2193.fits sctable="SC_DATA" srcmdl=/lscratch/kocevski/34650955/Model_4FGL_J1058.6+5627_daily_bin2193.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 GALL_V02
Working on...
/lscratch/kocevski/34650727/ft1_filtered_4FGL_J1058.6+5627_daily_bin2193.fits.....................!
real 25.55
user 23.51
sys 1.05

Creating the likelihood object...
obs = UnbinnedObs('/lscratch/kocevski/34650727/ft1_filtered_4FGL_J1058.6+5627_daily_bin2193.fits', '/lscratch/kocevski/34650727/ft2_4FGL_J1058.6+5627_daily_bin2193.fits', expMap='/lscratch/kocevski/34650727/expmap_807753601_808012801_4FGL_J1058.6+5627_daily_bin2193.fits', expCube='/lscratch/kocevski/34650727/ltcube_807753601_808012801_4FGL_J1058.6+5627_daily_bin2193.fits', irfs='P8R3_SOURCE_V2')
like = UnbinnedAnalysis(obs, '/lscratch/kocevski/34650727/Model_4FGL_J1058.6+5627_daily_bin2193.xml', optimizer='MINUIT')

Using source of interest name: '4FGL J1058.6+5627'

4FGL J1058.6+5627
   Spectrum: LogParabola
399         norm:  2.525e+00  0.000e+00  0.000e+00  1.000e+06 ( 1.000e-12)
400        alpha:  1.858e+00  0.000e+00  0.000e+00  5.000e+00 ( 1.000e+00) fixed
401         beta:  4.581e-02  0.000e+00 -5.000e+00  1.000e+01 ( 1.000e+00) fixed
402           Eb:  1.103e+03  0.000e+00  3.000e+01  5.000e+05 ( 1.000e+00) fixed


Likelihood Fit Parameters:
Event file(s): /lscratch/kocevski/34650727/ft1_filtered_4FGL_J1058.6+5627_daily_bin2193.fits
Spacecraft file(s): /lscratch/kocevski/34650727/ft2_4FGL_J1058.6+5627_daily_bin2193.fits
Exposure map: /lscratch/kocevski/34650727/expmap_807753601_808012801_4FGL_J1058.6+5627_daily_bin2193.fits
Exposure cube: /lscratch/kocevski/34650727/ltcube_807753601_808012801_4FGL_J1058.6+5627_daily_bin2193.fits
IRFs: P8R3_SOURCE_V2
Source model file: /lscratch/kocevski/34650727/Model_4FGL_J1058.6+5627_daily_bin2193.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) = 5501.45869594

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

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

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'Prefactor '    8.6849       1.0000          .0000       .10000E+07
     2 'Prefactor '    24.129       1.0000          .0000       .10000E+07
     3 'norm      '    8.2235       1.0000          .0000       .10000E+07
     4 'Prefactor '    .92916E-03   1.0000          .0000       .10000E+07
     5 'norm      '    1.8811       1.0000          .0000       .10000E+07
     6 'Prefactor '    14.859       1.0000          .0000       .10000E+07
     7 'norm      '    3.0316       1.0000          .0000       .10000E+07
     8 'norm      '    7.9969       1.0000          .0000       .10000E+07
     9 'Prefactor '    71.611       1.0000          .0000       .10000E+07
    10 'norm      '    14.092       1.0000          .0000       .10000E+07
    11 'Prefactor '    11.004       1.0000          .0000       .10000E+07
    12 'norm      '    3.7785       1.0000          .0000       .10000E+07
    13 'norm      '    .21918E-05   1.0000          .0000       .10000E+07
    14 'Prefactor '    .15024E-02   1.0000          .0000       .10000E+07
    15 'Prefactor '    239.08       1.0000          .0000       .10000E+07
    16 'norm      '    .53763E-06   1.0000          .0000       .10000E+07
    17 'Prefactor '    .28200       1.0000          .0000       .10000E+07
    18 'Prefactor '    15.190       1.0000          .0000       .10000E+07
    19 'Prefactor '    .32212E-02   1.0000          .0000       .10000E+07
    20 'norm      '    .16932E-02   1.0000          .0000       .10000E+07
    21 'Prefactor '    .11915E-05   1.0000          .0000       .10000E+07
    22 'Prefactor '    24.413       1.0000          .0000       .10000E+07
    23 'Prefactor '    .15725E-03   1.0000          .0000       .10000E+07
    24 'norm      '    10.031       1.0000          .0000       .10000E+07
    25 'Prefactor '    1.4407       1.0000          .0000       .10000E+07
    26 'norm      '    .32251E-02   1.0000          .0000       .10000E+07
    27 'Prefactor '    13.219       1.0000          .0000       .10000E+07
    28 'Prefactor '    .10917E-02   1.0000          .0000       .10000E+07
    29 'norm      '    .62000E-06   1.0000          .0000       .10000E+07
    30 'Normalizat'    1.3540       1.0000         .10000E-01   10.000    
    31 'Prefactor '    .55116       1.0000          .0000       10.000    
 **********
 **   15 **SET ERR    .5000    
 **********
 **********
 **   16 **SET GRAD    1.000    
 **********
 **********
 **   17 **MINIMIZE    .7560E+05   .2000E-04
 **********

 MIGRAD MINIMIZATION HAS CONVERGED.

 FCN=   5501.439     FROM MIGRAD    STATUS=CONVERGED    234 CALLS     2995 TOTAL
                     EDM=   .22E-09  STRATEGY=1  ERROR MATRIX UNCERTAINTY=   .9%

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor     8.6758        8.8882        .14828E-06    .42596E-03
   2  Prefactor     24.330        27.740       -.17956E-05    .94799E-02
   3  norm          8.2226        8.4899        .66430E-06    .87451E-04
   4  Prefactor     .27756E-09    16.895       -.22129E-05** at limit **
   5  norm          1.8793        .80182        .10944E-06   -.15947E-03
   6  Prefactor     14.790        14.614        .26564E-06   -.24285E-02
   7  norm          3.0312        1.0376       -.43396E-07    .57968E-03
   8  norm          7.9253        5.2523       -.59620E-07   -.31685E-03
   9  Prefactor     71.855        4.4253       -.10077E-06   -.97860E-01
  10  norm          14.075        3.2446        .63265E-07   -.51647E-01
  11  Prefactor     11.188        7.2470       -.88978E-06   -.30129E-01
  12  norm          3.7622        2.5714       -.10652E-06    .15214E-02
  13  norm           .0000        1.4675       -.25780E-06** at limit **
  14  Prefactor     .98310E-07    133.44        .19569E-05** at limit **
  15  Prefactor     241.72        156.98        .32544E-05   -.39005E-02
  16  norm           .0000        .97544       -.45528E-06** at limit **
  17  Prefactor     .99476E-07    148.80        .46747E-05** at limit **
  18  Prefactor     15.141        15.162        .44798E-06    .25657E-03
  19  Prefactor     .31086E-08    73.808        .79625E-06** at limit **
  20  norm          .44409E-09    19.939       -.74813E-06** at limit **
  21  Prefactor      .0000        1.8464       -.35759E-06** at limit **
  22  Prefactor     24.433        1.6960       -.43031E-07   -.19164E-02
  23  Prefactor     .18319E-08    18.924        .19998E-05** at limit **
  24  norm          9.9979        10.428       -.53662E-06   -.58932E-03
  25  Prefactor     1.4398        3.8215        .24971E-06   -.19490E-03
  26  norm           .0000        7.7532        .75150E-06** at limit **
  27  Prefactor     13.182        7.3540       -.61967E-07   -.62646E-03
  28  Prefactor      .0000        5.3396       -.35300E-06** at limit **
  29  norm           .0000        1.4378       -.55854E-07** at limit **
  30  Normalizat    1.3538        .21278        .12851E-05   -.37246E-05
  31  Prefactor     .55153        .24952       -.10056E-04   -.84890E-05
                               ERR DEF=  .500    
Final values: 
  Prefactor  = 8.67577
  Prefactor  = 24.3299
  norm       = 8.22263
  Prefactor  = 2.77556e-10
  norm       = 1.87926
  Prefactor  = 14.7899
  norm       = 3.03125
  norm       = 7.9253
  Prefactor  = 71.8551
  norm       = 14.0747
  Prefactor  = 11.1884
  norm       = 3.76216
  norm       = 0
  Prefactor  = 9.83102e-08
  Prefactor  = 241.72
  norm       = 0
  Prefactor  = 9.9476e-08
  Prefactor  = 15.1411
  Prefactor  = 3.10862e-09
  norm       = 4.44089e-10
  Prefactor  = 0
  Prefactor  = 24.4327
  Prefactor  = 1.83187e-09
  norm       = 9.99787
  Prefactor  = 1.43975
  norm       = 0
  Prefactor  = 13.1818
  Prefactor  = 0
  norm       = 0
  Normalizat = 1.35376
  Prefactor  = 0.551526
 **********
 **   18 **HESSE 
 **********

 FCN=   5501.439     FROM HESSE     STATUS=OK           684 CALLS     3679 TOTAL
                     EDM=   .44E-06    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  Prefactor     8.6758        8.8952        .33989E-03   -1.5649    
   2  Prefactor     24.330        28.671        .20363E-03   -1.5609    
   3  norm          8.2226        8.4857        .34937E-03   -1.5651    
   4  Prefactor     .27756E-09    16.899        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   5  norm          1.8793        .80905        .75870E-03   -1.5681    
   6  Prefactor     14.790        14.841        .25957E-03   -1.5631    
   7  norm          3.0312        1.0416        .58254E-04   -1.5673    
   8  norm          7.9253        5.2499        .35432E-03   -1.5652    
   9  Prefactor     71.855        49.737        .11818E-03   -1.5538    
  10  norm          14.075        18.395        .26656E-03   -1.5633    
  11  Prefactor     11.188        25.224        .30176E-03   -1.5641    
  12  norm          3.7622        3.3217        .51910E-03   -1.5669    
  13  norm           .0000        1.4448        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  14  Prefactor     .98310E-07    133.71        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  15  Prefactor     241.72        157.26        .64681E-04   -1.5397    
  16  norm           .0000        .97149        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  17  Prefactor     .99476E-07    151.07        .10467E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  18  Prefactor     15.141        15.208        .25672E-03   -1.5630    
  19  Prefactor     .31086E-08    73.849        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  20  norm          .44409E-09    20.084        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  21  Prefactor      .0000        1.8463        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  22  Prefactor     24.433        20.343        .20243E-03   -1.5609    
  23  Prefactor     .18319E-08    19.086        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  24  norm          9.9979        10.436        .31613E-03   -1.5645    
  25  Prefactor     1.4398        3.8341        .89841E-03   -1.5684    
  26  norm           .0000        7.6699        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  27  Prefactor     13.182        7.3593        .27524E-03   -1.5635    
  28  Prefactor      .0000        5.3427        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  29  norm           .0000        1.4181        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  30  Normalizat    1.3538        .18902        .48093E-01   -.81976    
  31  Prefactor     .55153        .22161        .86460E-01   -1.0967    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 4.40681e-07
Minuit parameter uncertainties:
  1  8.89525
  2  28.6716
  3  8.48574
  4  0.000133636
  5  0.809045
  6  14.8407
  7  1.04164
  8  5.24987
  9  49.7373
  10  18.3953
  11  25.2241
  12  3.32172
  13  1.30235e-07
  14  0.00725229
  15  157.258
  16  1.12927e-06
  17  0.00775265
  18  15.208
  19  0.000961623
  20  0.000184832
  21  2.02565e-06
  22  20.3433
  23  0.000373881
  24  10.4358
  25  3.83408
  26  1.35003e-05
  27  7.35926
  28  9.9416e-06
  29  3.90653e-07
  30  0.189114
  31  0.22196
 **********
 **   18 **HESSE 
 **********

 FCN=   5501.439     FROM HESSE     STATUS=OK           684 CALLS     3679 TOTAL
                     EDM=   .44E-06    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  Prefactor     8.6758        8.8952        .33989E-03   -1.5649    
   2  Prefactor     24.330        28.671        .20363E-03   -1.5609    
   3  norm          8.2226        8.4857        .34937E-03   -1.5651    
   4  Prefactor     .27756E-09    16.899        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   5  norm          1.8793        .80905        .75870E-03   -1.5681    
   6  Prefactor     14.790        14.841        .25957E-03   -1.5631    
   7  norm          3.0312        1.0416        .58254E-04   -1.5673    
   8  norm          7.9253        5.2499        .35432E-03   -1.5652    
   9  Prefactor     71.855        49.737        .11818E-03   -1.5538    
  10  norm          14.075        18.395        .26656E-03   -1.5633    
  11  Prefactor     11.188        25.224        .30176E-03   -1.5641    
  12  norm          3.7622        3.3217        .51910E-03   -1.5669    
  13  norm           .0000        1.4448        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  14  Prefactor     .98310E-07    133.71        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  15  Prefactor     241.72        157.26        .64681E-04   -1.5397    
  16  norm           .0000        .97149        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  17  Prefactor     .99476E-07    151.07        .10467E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  18  Prefactor     15.141        15.208        .25672E-03   -1.5630    
  19  Prefactor     .31086E-08    73.849        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  20  norm          .44409E-09    20.084        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  21  Prefactor      .0000        1.8463        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  22  Prefactor     24.433        20.343        .20243E-03   -1.5609    
  23  Prefactor     .18319E-08    19.086        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  24  norm          9.9979        10.436        .31613E-03   -1.5645    
  25  Prefactor     1.4398        3.8341        .89841E-03   -1.5684    
  26  norm           .0000        7.6699        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  27  Prefactor     13.182        7.3593        .27524E-03   -1.5635    
  28  Prefactor      .0000        5.3427        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  29  norm           .0000        1.4181        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  30  Normalizat    1.3538        .18902        .48093E-01   -.81976    
  31  Prefactor     .55153        .22161        .86460E-01   -1.0967    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 4.40681e-07
Minuit parameter uncertainties:
  1  8.89525
  2  28.6716
  3  8.48574
  4  0.000133636
  5  0.809045
  6  14.8407
  7  1.04164
  8  5.24987
  9  49.7373
  10  18.3953
  11  25.2241
  12  3.32172
  13  1.30235e-07
  14  0.00725229
  15  157.258
  16  1.12927e-06
  17  0.00775265
  18  15.208
  19  0.000961623
  20  0.000184832
  21  2.02565e-06
  22  20.3433
  23  0.000373881
  24  10.4358
  25  3.83408
  26  1.35003e-05
  27  7.35926
  28  9.9416e-06
  29  3.90653e-07
  30  0.189114
  31  0.22196
Done.

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

Extracting fit parameters...

4FGL J1058.6+5627
   Spectrum: LogParabola
399         norm:  0.000e+00  1.129e-06  0.000e+00  1.000e+06 ( 1.000e-12)
400        alpha:  1.858e+00  0.000e+00  0.000e+00  5.000e+00 ( 1.000e+00) fixed
401         beta:  4.581e-02  0.000e+00 -5.000e+00  1.000e+01 ( 1.000e+00) fixed
402           Eb:  1.103e+03  0.000e+00  3.000e+01  5.000e+05 ( 1.000e+00) fixed

GAL_V02
   Spectrum: PowerLaw
753    Prefactor:  5.515e-01  2.220e-01  0.000e+00  1.000e+01 ( 1.000e+00)
754        Index:  0.000e+00  0.000e+00 -1.000e+00  1.000e+00 ( 1.000e+00) fixed
755        Scale:  1.000e+02  0.000e+00  5.000e+01  2.000e+02 ( 1.000e+00) fixed

EG_v02
   Spectrum: FileFunction
752   Normalization:  1.354e+00  1.891e-01  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Fixed Index): 0.00
Ra Dec: 164.665 56.463
Photon Flux Upper Limit: 3.87963570575e-08 ph cm-2 s-1
Energy Flux Upper Limit: None

Saving results to:
/lscratch/kocevski/34650724/likelihoodResults_807753601_808012801_4FGL_J1058.6+5627_daily_bin2193.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) = 5501.43957504
delta logL = -0.000329555650751

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

MINUIT Return Code (Free Index): 102
logL (Free Index) = 5501.43924554
delta logL = -6.16009856458e-08

Fit tolerance = 1e-08

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

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

 MIGRAD MINIMIZATION HAS CONVERGED.

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

 FCN=   5501.439     FROM MIGRAD    STATUS=CONVERGED     37 CALLS      236 TOTAL
                     EDM=   .25E-09  STRATEGY=1  ERROR MATRIX UNCERTAINTY=100.0%

  EXT PARAMETER                APPROXIMATE        STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  norm           .0000        .49084        .42118E-03** at limit **
   2  alpha         1.1395        .84805       -.33514E-03     .0000    
   3  Normalizat    1.3538        1.0692        .64490E-04   -.33084E-03
   4  Prefactor     .55153        .89714       -.11629E-03   -.10986E-05
                               ERR DEF=  .500    
Final values: 
  norm       = 0
  alpha      = 1.13949
  Normalizat = 1.35375
  Prefactor  = 0.55153
 **********
 **   18 **HESSE 
 **********
  MNHESS FAILS AND WILL RETURN DIAGONAL MATRIX. 

 FCN=   5501.439     FROM HESSE     STATUS=FAILED         9 CALLS      245 TOTAL
                     EDM=   .25E-09  STRATEGY=1  ERROR MATRIX UNCERTAINTY=100.0%

  EXT PARAMETER                APPROXIMATE     INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  norm           .0000        .49084        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   2  alpha         .28873        .96694       -.33514E-03   -.57544    
   3  Normalizat    1.3538        1.0692        .64490E-04   -.81976    
   4  Prefactor     .55153        .89714       -.11629E-03   -1.0967    
                               ERR DEF=  .500    
Minuit fit quality: 1   estimated distance: 2.47201e-10
Minuit parameter uncertainties:
  1  3.53053e-06
  2  0.873042
  3  1.08756
  4  0.922002
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) = 5501.43924548
delta logL = -1.94631866179e-10

Extracting fit parameters...

4FGL J1058.6+5627
   Spectrum: LogParabola
399         norm:  0.000e+00  3.531e-06  0.000e+00  1.000e+06 ( 1.000e-12)
400        alpha:  1.139e+00  8.730e-01  0.000e+00  5.000e+00 ( 1.000e+00)
401         beta:  4.581e-02  0.000e+00 -5.000e+00  1.000e+01 ( 1.000e+00) fixed
402           Eb:  1.103e+03  0.000e+00  3.000e+01  5.000e+05 ( 1.000e+00) fixed

GAL_V02
   Spectrum: PowerLaw
753    Prefactor:  5.515e-01  9.220e-01  0.000e+00  1.000e+01 ( 1.000e+00)
754        Index:  0.000e+00  0.000e+00 -1.000e+00  1.000e+00 ( 1.000e+00) fixed
755        Scale:  1.000e+02  0.000e+00  5.000e+01  2.000e+02 ( 1.000e+00) fixed

EG_v02
   Spectrum: FileFunction
752   Normalization:  1.354e+00  1.088e+00  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Free Index): 0.00
Ra Dec: 164.665 56.463

Creating a high resolution counts map...
INFO: Auto-setting vmin to  0.000e+00 [aplpy.core]
INFO: Auto-setting vmax to  0.000e+00 [aplpy.core]
Saving /lscratch/kocevski/34650724/cmap_HighResolution_807753601_808012801_4FGL_J1058.6+5627_daily_bin2193.png

Cleaning up...

** Nuclear option initiated! **

Updating database...

UPDATE lightcurve_data_v2 SET job_status='DONE', comment='SUCCESS', photon_flux_upper_limit='3.88e-08', time_completed='2026-08-10 08:43:39.579147', job_id='34650724', GAL2='0.55', fit_tolerance='1e-08', EG2='1.35', EG='1.35', time_epoch_completed='1786376619.58', return_code2='101', ts='0.00', return_code='0', GAL='0.55', dlogl='-1.95e-10', ts2='0.00', photon_index_error='0.00', photon_index='1.86' WHERE bin_id='2193' AND source_name='4FGL J1058.6+5627' AND cadence='daily';

Database successfully updated.


Analysis Complete.


Mon Aug 10 08:43:39 PDT 2026

Done.

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

Extracting fit parameters...

4FGL J1058.6+5627
   Spectrum: LogParabola
399         norm:  0.000e+00  1.129e-06  0.000e+00  1.000e+06 ( 1.000e-12)
400        alpha:  1.858e+00  0.000e+00  0.000e+00  5.000e+00 ( 1.000e+00) fixed
401         beta:  4.581e-02  0.000e+00 -5.000e+00  1.000e+01 ( 1.000e+00) fixed
402           Eb:  1.103e+03  0.000e+00  3.000e+01  5.000e+05 ( 1.000e+00) fixed

GAL_V02
   Spectrum: PowerLaw
753    Prefactor:  5.515e-01  2.220e-01  0.000e+00  1.000e+01 ( 1.000e+00)
754        Index:  0.000e+00  0.000e+00 -1.000e+00  1.000e+00 ( 1.000e+00) fixed
755        Scale:  1.000e+02  0.000e+00  5.000e+01  2.000e+02 ( 1.000e+00) fixed

EG_v02
   Spectrum: FileFunction
752   Normalization:  1.354e+00  1.891e-01  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Fixed Index): 0.00
Ra Dec: 164.665 56.463
Photon Flux Upper Limit: 3.87963570575e-08 ph cm-2 s-1
Energy Flux Upper Limit: None

Saving results to:
/lscratch/kocevski/34650727/likelihoodResults_807753601_808012801_4FGL_J1058.6+5627_daily_bin2193.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) = 5501.43957504
delta logL = -0.000329555650751

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

MINUIT Return Code (Free Index): 102
logL (Free Index) = 5501.43924554
delta logL = -6.16009856458e-08

Fit tolerance = 1e-08

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

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

 MIGRAD MINIMIZATION HAS CONVERGED.

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

 FCN=   5501.439     FROM MIGRAD    STATUS=CONVERGED     37 CALLS      236 TOTAL
                     EDM=   .25E-09  STRATEGY=1  ERROR MATRIX UNCERTAINTY=100.0%

  EXT PARAMETER                APPROXIMATE        STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  norm           .0000        .49084        .42118E-03** at limit **
   2  alpha         1.1395        .84805       -.33514E-03     .0000    
   3  Normalizat    1.3538        1.0692        .64490E-04   -.33084E-03
   4  Prefactor     .55153        .89714       -.11629E-03   -.10986E-05
                               ERR DEF=  .500    
Final values: 
  norm       = 0
  alpha      = 1.13949
  Normalizat = 1.35375
  Prefactor  = 0.55153
 **********
 **   18 **HESSE 
 **********
  MNHESS FAILS AND WILL RETURN DIAGONAL MATRIX. 

 FCN=   5501.439     FROM HESSE     STATUS=FAILED         9 CALLS      245 TOTAL
                     EDM=   .25E-09  STRATEGY=1  ERROR MATRIX UNCERTAINTY=100.0%

  EXT PARAMETER                APPROXIMATE     INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  norm           .0000        .49084        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   2  alpha         .28873        .96694       -.33514E-03   -.57544    
   3  Normalizat    1.3538        1.0692        .64490E-04   -.81976    
   4  Prefactor     .55153        .89714       -.11629E-03   -1.0967    
                               ERR DEF=  .500    
Minuit fit quality: 1   estimated distance: 2.47201e-10
Minuit parameter uncertainties:
  1  3.53053e-06
  2  0.873042
  3  1.08756
  4  0.922002
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) = 5501.43924548
delta logL = -1.94631866179e-10

Extracting fit parameters...

4FGL J1058.6+5627
   Spectrum: LogParabola
399         norm:  0.000e+00  3.531e-06  0.000e+00  1.000e+06 ( 1.000e-12)
400        alpha:  1.139e+00  8.730e-01  0.000e+00  5.000e+00 ( 1.000e+00)
401         beta:  4.581e-02  0.000e+00 -5.000e+00  1.000e+01 ( 1.000e+00) fixed
402           Eb:  1.103e+03  0.000e+00  3.000e+01  5.000e+05 ( 1.000e+00) fixed

GAL_V02
   Spectrum: PowerLaw
753    Prefactor:  5.515e-01  9.220e-01  0.000e+00  1.000e+01 ( 1.000e+00)
754        Index:  0.000e+00  0.000e+00 -1.000e+00  1.000e+00 ( 1.000e+00) fixed
755        Scale:  1.000e+02  0.000e+00  5.000e+01  2.000e+02 ( 1.000e+00) fixed

EG_v02
   Spectrum: FileFunction
752   Normalization:  1.354e+00  1.088e+00  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Free Index): 0.00
Ra Dec: 164.665 56.463

Creating a high resolution counts map...
INFO: Auto-setting vmin to  0.000e+00 [aplpy.core]
INFO: Auto-setting vmax to  0.000e+00 [aplpy.core]
Saving /lscratch/kocevski/34650727/cmap_HighResolution_807753601_808012801_4FGL_J1058.6+5627_daily_bin2193.png

Cleaning up...

** Nuclear option initiated! **

Updating database...

UPDATE lightcurve_data_v2 SET job_status='DONE', comment='SUCCESS', photon_flux_upper_limit='3.88e-08', time_completed='2026-08-10 08:44:06.243664', job_id='34650727', GAL2='0.55', fit_tolerance='1e-08', EG2='1.35', EG='1.35', time_epoch_completed='1786376646.24', return_code2='101', ts='0.00', return_code='0', GAL='0.55', dlogl='-1.95e-10', ts2='0.00', photon_index_error='0.00', photon_index='1.86' WHERE bin_id='2193' AND source_name='4FGL J1058.6+5627' AND cadence='daily';

Database successfully updated.


Analysis Complete.


Mon Aug 10 08:44:06 PDT 2026

_V02
Working on...
/lscratch/kocevski/34650955/ft1_filtered_4FGL_J1058.6+5627_daily_bin2193.fits.....................!
real 24.48
user 22.51
sys 1.05

Creating the likelihood object...
obs = UnbinnedObs('/lscratch/kocevski/34650955/ft1_filtered_4FGL_J1058.6+5627_daily_bin2193.fits', '/lscratch/kocevski/34650955/ft2_4FGL_J1058.6+5627_daily_bin2193.fits', expMap='/lscratch/kocevski/34650955/expmap_807753601_808012801_4FGL_J1058.6+5627_daily_bin2193.fits', expCube='/lscratch/kocevski/34650955/ltcube_807753601_808012801_4FGL_J1058.6+5627_daily_bin2193.fits', irfs='P8R3_SOURCE_V2')
like = UnbinnedAnalysis(obs, '/lscratch/kocevski/34650955/Model_4FGL_J1058.6+5627_daily_bin2193.xml', optimizer='MINUIT')

Using source of interest name: '4FGL J1058.6+5627'

4FGL J1058.6+5627
   Spectrum: LogParabola
399         norm:  2.525e+00  0.000e+00  0.000e+00  1.000e+06 ( 1.000e-12)
400        alpha:  1.858e+00  0.000e+00  0.000e+00  5.000e+00 ( 1.000e+00) fixed
401         beta:  4.581e-02  0.000e+00 -5.000e+00  1.000e+01 ( 1.000e+00) fixed
402           Eb:  1.103e+03  0.000e+00  3.000e+01  5.000e+05 ( 1.000e+00) fixed


Likelihood Fit Parameters:
Event file(s): /lscratch/kocevski/34650955/ft1_filtered_4FGL_J1058.6+5627_daily_bin2193.fits
Spacecraft file(s): /lscratch/kocevski/34650955/ft2_4FGL_J1058.6+5627_daily_bin2193.fits
Exposure map: /lscratch/kocevski/34650955/expmap_807753601_808012801_4FGL_J1058.6+5627_daily_bin2193.fits
Exposure cube: /lscratch/kocevski/34650955/ltcube_807753601_808012801_4FGL_J1058.6+5627_daily_bin2193.fits
IRFs: P8R3_SOURCE_V2
Source model file: /lscratch/kocevski/34650955/Model_4FGL_J1058.6+5627_daily_bin2193.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) = 5501.45869594

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

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

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'Prefactor '    8.6849       1.0000          .0000       .10000E+07
     2 'Prefactor '    24.129       1.0000          .0000       .10000E+07
     3 'norm      '    8.2235       1.0000          .0000       .10000E+07
     4 'Prefactor '    .92916E-03   1.0000          .0000       .10000E+07
     5 'norm      '    1.8811       1.0000          .0000       .10000E+07
     6 'Prefactor '    14.859       1.0000          .0000       .10000E+07
     7 'norm      '    3.0316       1.0000          .0000       .10000E+07
     8 'norm      '    7.9969       1.0000          .0000       .10000E+07
     9 'Prefactor '    71.611       1.0000          .0000       .10000E+07
    10 'norm      '    14.092       1.0000          .0000       .10000E+07
    11 'Prefactor '    11.004       1.0000          .0000       .10000E+07
    12 'norm      '    3.7785       1.0000          .0000       .10000E+07
    13 'norm      '    .21918E-05   1.0000          .0000       .10000E+07
    14 'Prefactor '    .15024E-02   1.0000          .0000       .10000E+07
    15 'Prefactor '    239.08       1.0000          .0000       .10000E+07
    16 'norm      '    .53763E-06   1.0000          .0000       .10000E+07
    17 'Prefactor '    .28200       1.0000          .0000       .10000E+07
    18 'Prefactor '    15.190       1.0000          .0000       .10000E+07
    19 'Prefactor '    .32212E-02   1.0000          .0000       .10000E+07
    20 'norm      '    .16932E-02   1.0000          .0000       .10000E+07
    21 'Prefactor '    .11915E-05   1.0000          .0000       .10000E+07
    22 'Prefactor '    24.413       1.0000          .0000       .10000E+07
    23 'Prefactor '    .15725E-03   1.0000          .0000       .10000E+07
    24 'norm      '    10.031       1.0000          .0000       .10000E+07
    25 'Prefactor '    1.4407       1.0000          .0000       .10000E+07
    26 'norm      '    .32251E-02   1.0000          .0000       .10000E+07
    27 'Prefactor '    13.219       1.0000          .0000       .10000E+07
    28 'Prefactor '    .10917E-02   1.0000          .0000       .10000E+07
    29 'norm      '    .62000E-06   1.0000          .0000       .10000E+07
    30 'Normalizat'    1.3540       1.0000         .10000E-01   10.000    
    31 'Prefactor '    .55116       1.0000          .0000       10.000    
 **********
 **   15 **SET ERR    .5000    
 **********
 **********
 **   16 **SET GRAD    1.000    
 **********
 **********
 **   17 **MINIMIZE    .7560E+05   .2000E-04
 **********

 MIGRAD MINIMIZATION HAS CONVERGED.

 FCN=   5501.439     FROM MIGRAD    STATUS=CONVERGED    234 CALLS     2995 TOTAL
                     EDM=   .22E-09  STRATEGY=1  ERROR MATRIX UNCERTAINTY=   .9%

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor     8.6758        8.8882        .14828E-06    .42596E-03
   2  Prefactor     24.330        27.740       -.17956E-05    .94799E-02
   3  norm          8.2226        8.4899        .66430E-06    .87451E-04
   4  Prefactor     .27756E-09    16.895       -.22129E-05** at limit **
   5  norm          1.8793        .80182        .10944E-06   -.15947E-03
   6  Prefactor     14.790        14.614        .26564E-06   -.24285E-02
   7  norm          3.0312        1.0376       -.43396E-07    .57968E-03
   8  norm          7.9253        5.2523       -.59620E-07   -.31685E-03
   9  Prefactor     71.855        4.4253       -.10077E-06   -.97860E-01
  10  norm          14.075        3.2446        .63265E-07   -.51647E-01
  11  Prefactor     11.188        7.2470       -.88978E-06   -.30129E-01
  12  norm          3.7622        2.5714       -.10652E-06    .15214E-02
  13  norm           .0000        1.4675       -.25780E-06** at limit **
  14  Prefactor     .98310E-07    133.44        .19569E-05** at limit **
  15  Prefactor     241.72        156.98        .32544E-05   -.39005E-02
  16  norm           .0000        .97544       -.45528E-06** at limit **
  17  Prefactor     .99476E-07    148.80        .46747E-05** at limit **
  18  Prefactor     15.141        15.162        .44798E-06    .25657E-03
  19  Prefactor     .31086E-08    73.808        .79625E-06** at limit **
  20  norm          .44409E-09    19.939       -.74813E-06** at limit **
  21  Prefactor      .0000        1.8464       -.35759E-06** at limit **
  22  Prefactor     24.433        1.6960       -.43031E-07   -.19164E-02
  23  Prefactor     .18319E-08    18.924        .19998E-05** at limit **
  24  norm          9.9979        10.428       -.53662E-06   -.58932E-03
  25  Prefactor     1.4398        3.8215        .24971E-06   -.19490E-03
  26  norm           .0000        7.7532        .75150E-06** at limit **
  27  Prefactor     13.182        7.3540       -.61967E-07   -.62646E-03
  28  Prefactor      .0000        5.3396       -.35300E-06** at limit **
  29  norm           .0000        1.4378       -.55854E-07** at limit **
  30  Normalizat    1.3538        .21278        .12851E-05   -.37246E-05
  31  Prefactor     .55153        .24952       -.10056E-04   -.84890E-05
                               ERR DEF=  .500    
Final values: 
  Prefactor  = 8.67577
  Prefactor  = 24.3299
  norm       = 8.22263
  Prefactor  = 2.77556e-10
  norm       = 1.87926
  Prefactor  = 14.7899
  norm       = 3.03125
  norm       = 7.9253
  Prefactor  = 71.8551
  norm       = 14.0747
  Prefactor  = 11.1884
  norm       = 3.76216
  norm       = 0
  Prefactor  = 9.83102e-08
  Prefactor  = 241.72
  norm       = 0
  Prefactor  = 9.9476e-08
  Prefactor  = 15.1411
  Prefactor  = 3.10862e-09
  norm       = 4.44089e-10
  Prefactor  = 0
  Prefactor  = 24.4327
  Prefactor  = 1.83187e-09
  norm       = 9.99787
  Prefactor  = 1.43975
  norm       = 0
  Prefactor  = 13.1818
  Prefactor  = 0
  norm       = 0
  Normalizat = 1.35376
  Prefactor  = 0.551526
 **********
 **   18 **HESSE 
 **********

 FCN=   5501.439     FROM HESSE     STATUS=OK           684 CALLS     3679 TOTAL
                     EDM=   .44E-06    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  Prefactor     8.6758        8.8952        .33989E-03   -1.5649    
   2  Prefactor     24.330        28.671        .20363E-03   -1.5609    
   3  norm          8.2226        8.4857        .34937E-03   -1.5651    
   4  Prefactor     .27756E-09    16.899        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   5  norm          1.8793        .80905        .75870E-03   -1.5681    
   6  Prefactor     14.790        14.841        .25957E-03   -1.5631    
   7  norm          3.0312        1.0416        .58254E-04   -1.5673    
   8  norm          7.9253        5.2499        .35432E-03   -1.5652    
   9  Prefactor     71.855        49.737        .11818E-03   -1.5538    
  10  norm          14.075        18.395        .26656E-03   -1.5633    
  11  Prefactor     11.188        25.224        .30176E-03   -1.5641    
  12  norm          3.7622        3.3217        .51910E-03   -1.5669    
  13  norm           .0000        1.4448        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  14  Prefactor     .98310E-07    133.71        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  15  Prefactor     241.72        157.26        .64681E-04   -1.5397    
  16  norm           .0000        .97149        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  17  Prefactor     .99476E-07    151.07        .10467E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  18  Prefactor     15.141        15.208        .25672E-03   -1.5630    
  19  Prefactor     .31086E-08    73.849        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  20  norm          .44409E-09    20.084        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  21  Prefactor      .0000        1.8463        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  22  Prefactor     24.433        20.343        .20243E-03   -1.5609    
  23  Prefactor     .18319E-08    19.086        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  24  norm          9.9979        10.436        .31613E-03   -1.5645    
  25  Prefactor     1.4398        3.8341        .89841E-03   -1.5684    
  26  norm           .0000        7.6699        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  27  Prefactor     13.182        7.3593        .27524E-03   -1.5635    
  28  Prefactor      .0000        5.3427        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  29  norm           .0000        1.4181        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  30  Normalizat    1.3538        .18902        .48093E-01   -.81976    
  31  Prefactor     .55153        .22161        .86460E-01   -1.0967    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 4.40681e-07
Minuit parameter uncertainties:
  1  8.89525
  2  28.6716
  3  8.48574
  4  0.000133636
  5  0.809045
  6  14.8407
  7  1.04164
  8  5.24987
  9  49.7373
  10  18.3953
  11  25.2241
  12  3.32172
  13  1.30235e-07
  14  0.00725229
  15  157.258
  16  1.12927e-06
  17  0.00775265
  18  15.208
  19  0.000961623
  20  0.000184832
  21  2.02565e-06
  22  20.3433
  23  0.000373881
  24  10.4358
  25  3.83408
  26  1.35003e-05
  27  7.35926
  28  9.9416e-06
  29  3.90653e-07
  30  0.189114
  31  0.22196
Done.

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

Extracting fit parameters...

4FGL J1058.6+5627
   Spectrum: LogParabola
399         norm:  0.000e+00  1.129e-06  0.000e+00  1.000e+06 ( 1.000e-12)
400        alpha:  1.858e+00  0.000e+00  0.000e+00  5.000e+00 ( 1.000e+00) fixed
401         beta:  4.581e-02  0.000e+00 -5.000e+00  1.000e+01 ( 1.000e+00) fixed
402           Eb:  1.103e+03  0.000e+00  3.000e+01  5.000e+05 ( 1.000e+00) fixed

GAL_V02
   Spectrum: PowerLaw
753    Prefactor:  5.515e-01  2.220e-01  0.000e+00  1.000e+01 ( 1.000e+00)
754        Index:  0.000e+00  0.000e+00 -1.000e+00  1.000e+00 ( 1.000e+00) fixed
755        Scale:  1.000e+02  0.000e+00  5.000e+01  2.000e+02 ( 1.000e+00) fixed

EG_v02
   Spectrum: FileFunction
752   Normalization:  1.354e+00  1.891e-01  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Fixed Index): 0.00
Ra Dec: 164.665 56.463
Photon Flux Upper Limit: 3.87963570575e-08 ph cm-2 s-1
Energy Flux Upper Limit: None

Saving results to:
/lscratch/kocevski/34650955/likelihoodResults_807753601_808012801_4FGL_J1058.6+5627_daily_bin2193.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) = 5501.43957504
delta logL = -0.000329555650751

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

MINUIT Return Code (Free Index): 102
logL (Free Index) = 5501.43924554
delta logL = -6.16009856458e-08

Fit tolerance = 1e-08

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

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

 MIGRAD MINIMIZATION HAS CONVERGED.

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

 FCN=   5501.439     FROM MIGRAD    STATUS=CONVERGED     37 CALLS      236 TOTAL
                     EDM=   .25E-09  STRATEGY=1  ERROR MATRIX UNCERTAINTY=100.0%

  EXT PARAMETER                APPROXIMATE        STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  norm           .0000        .49084        .42118E-03** at limit **
   2  alpha         1.1395        .84805       -.33514E-03     .0000    
   3  Normalizat    1.3538        1.0692        .64490E-04   -.33084E-03
   4  Prefactor     .55153        .89714       -.11629E-03   -.10986E-05
                               ERR DEF=  .500    
Final values: 
  norm       = 0
  alpha      = 1.13949
  Normalizat = 1.35375
  Prefactor  = 0.55153
 **********
 **   18 **HESSE 
 **********
  MNHESS FAILS AND WILL RETURN DIAGONAL MATRIX. 

 FCN=   5501.439     FROM HESSE     STATUS=FAILED         9 CALLS      245 TOTAL
                     EDM=   .25E-09  STRATEGY=1  ERROR MATRIX UNCERTAINTY=100.0%

  EXT PARAMETER                APPROXIMATE     INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  norm           .0000        .49084        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   2  alpha         .28873        .96694       -.33514E-03   -.57544    
   3  Normalizat    1.3538        1.0692        .64490E-04   -.81976    
   4  Prefactor     .55153        .89714       -.11629E-03   -1.0967    
                               ERR DEF=  .500    
Minuit fit quality: 1   estimated distance: 2.47201e-10
Minuit parameter uncertainties:
  1  3.53053e-06
  2  0.873042
  3  1.08756
  4  0.922002
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) = 5501.43924548
delta logL = -1.94631866179e-10

Extracting fit parameters...

4FGL J1058.6+5627
   Spectrum: LogParabola
399         norm:  0.000e+00  3.531e-06  0.000e+00  1.000e+06 ( 1.000e-12)
400        alpha:  1.139e+00  8.730e-01  0.000e+00  5.000e+00 ( 1.000e+00)
401         beta:  4.581e-02  0.000e+00 -5.000e+00  1.000e+01 ( 1.000e+00) fixed
402           Eb:  1.103e+03  0.000e+00  3.000e+01  5.000e+05 ( 1.000e+00) fixed

GAL_V02
   Spectrum: PowerLaw
753    Prefactor:  5.515e-01  9.220e-01  0.000e+00  1.000e+01 ( 1.000e+00)
754        Index:  0.000e+00  0.000e+00 -1.000e+00  1.000e+00 ( 1.000e+00) fixed
755        Scale:  1.000e+02  0.000e+00  5.000e+01  2.000e+02 ( 1.000e+00) fixed

EG_v02
   Spectrum: FileFunction
752   Normalization:  1.354e+00  1.088e+00  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Free Index): 0.00
Ra Dec: 164.665 56.463

Creating a high resolution counts map...
INFO: Auto-setting vmin to  0.000e+00 [aplpy.core]
INFO: Auto-setting vmax to  0.000e+00 [aplpy.core]
Saving /lscratch/kocevski/34650955/cmap_HighResolution_807753601_808012801_4FGL_J1058.6+5627_daily_bin2193.png

Cleaning up...

** Nuclear option initiated! **

Updating database...

UPDATE lightcurve_data_v2 SET job_status='DONE', comment='SUCCESS', photon_flux_upper_limit='3.88e-08', time_completed='2026-08-10 08:46:15.977598', job_id='34650955', GAL2='0.55', fit_tolerance='1e-08', EG2='1.35', EG='1.35', time_epoch_completed='1786376775.98', return_code2='101', ts='0.00', return_code='0', GAL='0.55', dlogl='-1.95e-10', ts2='0.00', photon_index_error='0.00', photon_index='1.86' WHERE bin_id='2193' AND source_name='4FGL J1058.6+5627' AND cadence='daily';

Database successfully updated.


Analysis Complete.


Mon Aug 10 08:46:16 PDT 2026

