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

 FCN=   6992.788     FROM HESSE     STATUS=NOT POSDEF    35 CALLS      295 TOTAL
                     EDM=   .44E-10    STRATEGY= 1      ERR MATRIX NOT POS-DEF

  EXT PARAMETER                APPROXIMATE     INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  Prefactor     .91726E-01    6.4598        .30488E-04   -1.5702    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   2  Index         6.5450        8.2720        .82631E-02    .31414    
   3  Normalizat    .96196        .23507        .51501E-03   -.94316    
   4  Prefactor     1.0672        .70335E-01    .15014E-03   -.90520    
                               ERR DEF=  .500    
Minuit fit quality: 2   estimated distance: 4.40028e-11
Minuit parameter uncertainties:
  1  1.53952
  2  8.86636
  3  0.235321
  4  0.0703411
shell-init: error retrieving current directory: getcwd: cannot access parent directories: No such file or directory
Done.

MINUIT Return Code (Free Index): 102
logL (Free Index) = 6992.78796779
delta logL = 0.366791600486

Extracting fit parameters...

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

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

EG_v02
   Spectrum: FileFunction
459   Normalization:  9.620e-01  2.353e-01  1.000e-02  1.000e+01 ( 1.000e+00)


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

Creating a high resolution counts map...
INFO: Auto-setting vmin to -1.000e-01 [aplpy.core]
INFO: Auto-setting vmax to  1.110e+00 [aplpy.core]
Saving /lscratch/kocevski/31071321/cmap_HighResolution_803865601_804124801_4FGL_J0358.6+0634_daily_bin2178.png

Cleaning up...

** Nuclear option initiated! **

Updating database...

UPDATE lightcurve_data_v2 SET energy_flux_upper_limit='1.36e-02', job_status='DONE', photon_flux_upper_limit='1.74e-07', time_completed='2026-07-08 18:18:06.971971', job_id='31071321', GAL2='1.07', fit_tolerance='1e-08', EG2='0.96', EG='1.06', time_epoch_completed='1783559886.97', return_code2='102', ts='-0.00', comment='SUCCESS', return_code='0', GAL='1.05', dlogl='3.67e-01', ts2='0.82', photon_index_error='0.00', photon_index='2.57' WHERE bin_id='2178' AND source_name='4FGL J0358.6+0634' AND cadence='daily';

Database successfully updated.


Analysis Complete.


Wed Jul  8 18:18:07 PDT 2026

ile=/lscratch/kocevski/31071430/ltcube_803865601_804124801_4FGL_J0358.6+0634_daily_bin2178.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/31071430/ft2_4FGL_J0358.6+0634_daily_bin2178.fits
.....................!
real 8.60
user 8.08
sys 0.21

Generating the exposure map:
time -p gtexpmap evfile=/lscratch/kocevski/31071430/ft1_filtered_4FGL_J0358.6+0634_daily_bin2178.fits evtable="EVENTS" scfile=/lscratch/kocevski/31071430/ft2_4FGL_J0358.6+0634_daily_bin2178.fits sctable="SC_DATA" expcube=/lscratch/kocevski/31071430/ltcube_803865601_804124801_4FGL_J0358.6+0634_daily_bin2178.fits outfile=/lscratch/kocevski/31071430/expmap_803865601_804124801_4FGL_J0358.6+0634_daily_bin2178.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/31071430/ltcube_803865601_804124801_4FGL_J0358.6+0634_daily_bin2178.fits
.....................!
real 69.46
user 64.68
sys 4.05

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

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

Creating the counts map:
time -p gtbin evfile=/lscratch/kocevski/31071430/ft1_filtered_4FGL_J0358.6+0634_daily_bin2178.fits scfile=/lscratch/kocevski/31071430/ft2_4FGL_J0358.6+0634_daily_bin2178.fits outfile=/lscratch/kocevski/31071430/cmap_803865601_804124801_4FGL_J0358.6+0634_daily_bin2178.fits algorithm="CMAP" ebinalg="LOG" emin=30.0 emax=200000.0 ebinfile=NONE tbinalg="LIN" tbinfile=NONE nxpix=160 nypix=160 binsz=0.25 coordsys="CEL" xref=59.6656 yref=6.5759 axisrot=0.0 rafield="RA" decfield="DEC" proj="AIT" hpx_ordering_scheme="RING" hpx_order=3 hpx_ebin=yes hpx_region="" evtable="EVENTS" sctable="SC_DATA" efield="ENERGY" tfield="TIME" chatter=2 clobber=yes debug=no gui=no mode="ql"

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

This is gtbin version HEAD
real 0.54
user 0.23
sys 0.12

Creating the high resolution counts map:
time -p gtbin evfile=/lscratch/kocevski/31071430/ft1_filtered_4FGL_J0358.6+0634_daily_bin2178.fits scfile=/lscratch/kocevski/31071430/ft2_4FGL_J0358.6+0634_daily_bin2178.fits outfile=/lscratch/kocevski/31071430/cmap_HighResolution_803865601_804124801_4FGL_J0358.6+0634_daily_bin2178.fits algorithm="CMAP" ebinalg="LOG" emin=30.0 emax=200000.0 ebinfile=NONE tbinalg="LIN" tbinfile=NONE nxpix=500 nypix=500 binsz=0.1 coordsys="CEL" xref=59.6656 yref=6.5759 axisrot=0.0 rafield="RA" decfield="DEC" proj="AIT" hpx_ordering_scheme="RING" hpx_order=3 hpx_ebin=yes hpx_region="" evtable="EVENTS" sctable="SC_DATA" efield="ENERGY" tfield="TIME" chatter=2 clobber=yes debug=no gui=no mode="ql"

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

This is gtbin version HEAD
real 0.62
user 0.22
sys 0.13

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

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

adding source EG_v02
adding source GAL_V02
Done.

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

Extracting fit parameters...

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

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

EG_v02
   Spectrum: FileFunction
459   Normalization:  1.058e+00  2.988e-01  1.000e-02  1.000e+01 ( 1.000e+00)


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

Saving results to:
/lscratch/kocevski/31071344/likelihoodResults_803865601_804124801_4FGL_J0358.6+0634_daily_bin2178.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) = 6993.16243505
delta logL = -0.00767566487139

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

MINUIT Return Code (Free Index): 102
logL (Free Index) = 6992.78797401
delta logL = 0.366785376967

Fit tolerance = 1e-08

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

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

 MIGRAD MINIMIZATION HAS CONVERGED.

 MIGRAD WILL VERIFY CONVERGENCE AND ERROR MATRIX.

 FCN=   6992.788     FROM MIGRAD    STATUS=CONVERGED     59 CALLS      260 TOTAL
                     EDM=   .91E-10    STRATEGY= 1      ERR MATRIX NOT POS-DEF

  EXT PARAMETER                APPROXIMATE        STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor     .91726E-01    1.5578        .66874E-03** at limit **
   2  Index         6.5450        2.9771        .16223        .14327E-03
   3  Normalizat    .96196        .58232E-01    .11612        .20631E-04
   4  Prefactor     1.0672        .17862E-01    .38992E-01   -.46869E-04
                               ERR DEF=  .500    
Final values: 
  Prefactor  = 0.0917263
  Index      = 6.54498
  Normalizat = 0.961965
  Prefactor  = 1.06725
 **********
 **   18 **HESSE 
 **********

 FCN=   6992.788     FROM HESSE     STATUS=NOT POSDEF    35 CALLS      295 TOTAL
                     EDM=   .44E-10    STRATEGY= 1      ERR MATRIX NOT POS-DEF

  EXT PARAMETER                APPROXIMATE     INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  Prefactor     .91726E-01    6.4598        .30488E-04   -1.5702    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   2  Index         6.5450        8.2720        .82631E-02    .31414    
   3  Normalizat    .96196        .23507        .51501E-03   -.94316    
   4  Prefactor     1.0672        .70335E-01    .15014E-03   -.90520    
                               ERR DEF=  .500    
Minuit fit quality: 2   estimated distance: 4.40028e-11
Minuit parameter uncertainties:
  1  1.53952
  2  8.86636
  3  0.235321
  4  0.0703411
ile=/lscratch/kocevski/31071426/ltcube_803865601_804124801_4FGL_J0358.6+0634_daily_bin2178.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/31071426/ft2_4FGL_J0358.6+0634_daily_bin2178.fits
.....................!
real 9.22
user 8.64
sys 0.22

Generating the exposure map:
time -p gtexpmap evfile=/lscratch/kocevski/31071426/ft1_filtered_4FGL_J0358.6+0634_daily_bin2178.fits evtable="EVENTS" scfile=/lscratch/kocevski/31071426/ft2_4FGL_J0358.6+0634_daily_bin2178.fits sctable="SC_DATA" expcube=/lscratch/kocevski/31071426/ltcube_803865601_804124801_4FGL_J0358.6+0634_daily_bin2178.fits outfile=/lscratch/kocevski/31071426/expmap_803865601_804124801_4FGL_J0358.6+0634_daily_bin2178.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/31071426/ltcube_803865601_804124801_4FGL_J0358.6+0634_daily_bin2178.fits
.....................!
real 72.95
user 68.28
sys 4.05

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

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

Creating the counts map:
time -p gtbin evfile=/lscratch/kocevski/31071426/ft1_filtered_4FGL_J0358.6+0634_daily_bin2178.fits scfile=/lscratch/kocevski/31071426/ft2_4FGL_J0358.6+0634_daily_bin2178.fits outfile=/lscratch/kocevski/31071426/cmap_803865601_804124801_4FGL_J0358.6+0634_daily_bin2178.fits algorithm="CMAP" ebinalg="LOG" emin=30.0 emax=200000.0 ebinfile=NONE tbinalg="LIN" tbinfile=NONE nxpix=160 nypix=160 binsz=0.25 coordsys="CEL" xref=59.6656 yref=6.5759 axisrot=0.0 rafield="RA" decfield="DEC" proj="AIT" hpx_ordering_scheme="RING" hpx_order=3 hpx_ebin=yes hpx_region="" evtable="EVENTS" sctable="SC_DATA" efield="ENERGY" tfield="TIME" chatter=2 clobber=yes debug=no gui=no mode="ql"

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

This is gtbin version HEAD
real 0.61
user 0.25
sys 0.11

Creating the high resolution counts map:
time -p gtbin evfile=/lscratch/kocevski/31071426/ft1_filtered_4FGL_J0358.6+0634_daily_bin2178.fits scfile=/lscratch/kocevski/31071426/ft2_4FGL_J0358.6+0634_daily_bin2178.fits outfile=/lscratch/kocevski/31071426/cmap_HighResolution_803865601_804124801_4FGL_J0358.6+0634_daily_bin2178.fits algorithm="CMAP" ebinalg="LOG" emin=30.0 emax=200000.0 ebinfile=NONE tbinalg="LIN" tbinfile=NONE nxpix=500 nypix=500 binsz=0.1 coordsys="CEL" xref=59.6656 yref=6.5759 axisrot=0.0 rafield="RA" decfield="DEC" proj="AIT" hpx_ordering_scheme="RING" hpx_order=3 hpx_ebin=yes hpx_region="" evtable="EVENTS" sctable="SC_DATA" efield="ENERGY" tfield="TIME" chatter=2 clobber=yes debug=no gui=no mode="ql"

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

This is gtbin version HEAD
real 0.60
user 0.22
sys 0.14

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

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

adding source EG_v02
adding source GAL_V02
shell-init: error retrieving current directory: getcwd: cannot access parent directories: No such file or directory
Done.

MINUIT Return Code (Free Index): 102
logL (Free Index) = 6992.78796779
delta logL = 0.366791600486

Extracting fit parameters...

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

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

EG_v02
   Spectrum: FileFunction
459   Normalization:  9.620e-01  2.353e-01  1.000e-02  1.000e+01 ( 1.000e+00)


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

Creating a high resolution counts map...
INFO: Auto-setting vmin to -1.000e-01 [aplpy.core]
INFO: Auto-setting vmax to  1.110e+00 [aplpy.core]
Saving /lscratch/kocevski/31071344/cmap_HighResolution_803865601_804124801_4FGL_J0358.6+0634_daily_bin2178.png

Cleaning up...

** Nuclear option initiated! **

Updating database...

UPDATE lightcurve_data_v2 SET energy_flux_upper_limit='1.36e-02', job_status='DONE', photon_flux_upper_limit='1.74e-07', time_completed='2026-07-08 18:18:15.013640', job_id='31071344', GAL2='1.07', fit_tolerance='1e-08', EG2='0.96', EG='1.06', time_epoch_completed='1783559895.01', return_code2='102', ts='-0.00', comment='SUCCESS', return_code='0', GAL='1.05', dlogl='3.67e-01', ts2='0.82', photon_index_error='0.00', photon_index='2.57' WHERE bin_id='2178' AND source_name='4FGL J0358.6+0634' AND cadence='daily';

Database successfully updated.


Analysis Complete.


Wed Jul  8 18:18:15 PDT 2026

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

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

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

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

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

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

ile=/lscratch/kocevski/31071443/ltcube_803865601_804124801_4FGL_J0358.6+0634_daily_bin2178.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/31071443/ft2_4FGL_J0358.6+0634_daily_bin2178.fits
.....................!
real 9.45
user 8.89
sys 0.24

Generating the exposure map:
time -p gtexpmap evfile=/lscratch/kocevski/31071443/ft1_filtered_4FGL_J0358.6+0634_daily_bin2178.fits evtable="EVENTS" scfile=/lscratch/kocevski/31071443/ft2_4FGL_J0358.6+0634_daily_bin2178.fits sctable="SC_DATA" expcube=/lscratch/kocevski/31071443/ltcube_803865601_804124801_4FGL_J0358.6+0634_daily_bin2178.fits outfile=/lscratch/kocevski/31071443/expmap_803865601_804124801_4FGL_J0358.6+0634_daily_bin2178.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/31071443/ltcube_803865601_804124801_4FGL_J0358.6+0634_daily_bin2178.fits
.....................!
real 73.49
user 68.16
sys 4.49

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

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

Creating the counts map:
time -p gtbin evfile=/lscratch/kocevski/31071443/ft1_filtered_4FGL_J0358.6+0634_daily_bin2178.fits scfile=/lscratch/kocevski/31071443/ft2_4FGL_J0358.6+0634_daily_bin2178.fits outfile=/lscratch/kocevski/31071443/cmap_803865601_804124801_4FGL_J0358.6+0634_daily_bin2178.fits algorithm="CMAP" ebinalg="LOG" emin=30.0 emax=200000.0 ebinfile=NONE tbinalg="LIN" tbinfile=NONE nxpix=160 nypix=160 binsz=0.25 coordsys="CEL" xref=59.6656 yref=6.5759 axisrot=0.0 rafield="RA" decfield="DEC" proj="AIT" hpx_ordering_scheme="RING" hpx_order=3 hpx_ebin=yes hpx_region="" evtable="EVENTS" sctable="SC_DATA" efield="ENERGY" tfield="TIME" chatter=2 clobber=yes debug=no gui=no mode="ql"

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

This is gtbin version HEAD
real 0.61
user 0.24
sys 0.12

Creating the high resolution counts map:
time -p gtbin evfile=/lscratch/kocevski/31071443/ft1_filtered_4FGL_J0358.6+0634_daily_bin2178.fits scfile=/lscratch/kocevski/31071443/ft2_4FGL_J0358.6+0634_daily_bin2178.fits outfile=/lscratch/kocevski/31071443/cmap_HighResolution_803865601_804124801_4FGL_J0358.6+0634_daily_bin2178.fits algorithm="CMAP" ebinalg="LOG" emin=30.0 emax=200000.0 ebinfile=NONE tbinalg="LIN" tbinfile=NONE nxpix=500 nypix=500 binsz=0.1 coordsys="CEL" xref=59.6656 yref=6.5759 axisrot=0.0 rafield="RA" decfield="DEC" proj="AIT" hpx_ordering_scheme="RING" hpx_order=3 hpx_ebin=yes hpx_region="" evtable="EVENTS" sctable="SC_DATA" efield="ENERGY" tfield="TIME" chatter=2 clobber=yes debug=no gui=no mode="ql"

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

This is gtbin version HEAD
real 0.67
user 0.22
sys 0.13

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

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

adding source EG_v02
adding source GAL_V02
Working on...
/lscratch/kocevski/31071430/ft1_filtered_4FGL_J0358.6+0634_daily_bin2178.fits.....................!
real 42.15
user 40.11
sys 1.50

Creating the likelihood object...
obs = UnbinnedObs('/lscratch/kocevski/31071430/ft1_filtered_4FGL_J0358.6+0634_daily_bin2178.fits', '/lscratch/kocevski/31071430/ft2_4FGL_J0358.6+0634_daily_bin2178.fits', expMap='/lscratch/kocevski/31071430/expmap_803865601_804124801_4FGL_J0358.6+0634_daily_bin2178.fits', expCube='/lscratch/kocevski/31071430/ltcube_803865601_804124801_4FGL_J0358.6+0634_daily_bin2178.fits', irfs='P8R3_SOURCE_V2')
like = UnbinnedAnalysis(obs, '/lscratch/kocevski/31071430/Model_4FGL_J0358.6+0634_daily_bin2178.xml', optimizer='MINUIT')

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

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


Likelihood Fit Parameters:
Event file(s): /lscratch/kocevski/31071430/ft1_filtered_4FGL_J0358.6+0634_daily_bin2178.fits
Spacecraft file(s): /lscratch/kocevski/31071430/ft2_4FGL_J0358.6+0634_daily_bin2178.fits
Exposure map: /lscratch/kocevski/31071430/expmap_803865601_804124801_4FGL_J0358.6+0634_daily_bin2178.fits
Exposure cube: /lscratch/kocevski/31071430/ltcube_803865601_804124801_4FGL_J0358.6+0634_daily_bin2178.fits
IRFs: P8R3_SOURCE_V2
Source model file: /lscratch/kocevski/31071430/Model_4FGL_J0358.6+0634_daily_bin2178.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) = 6993.1565522

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

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

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'Prefactor '    .41598E-05   1.0000          .0000       .10000E+07
     2 'Prefactor '    7.9250       1.0000          .0000       .10000E+07
     3 'norm      '    .21523E-05   1.0000          .0000       .10000E+07
     4 'norm      '    1.4883       1.0000          .0000       .10000E+07
     5 'Prefactor '    .12068       1.0000          .0000       .10000E+07
     6 'Prefactor '    29.208       1.0000          .0000       .10000E+07
     7 'norm      '    .27289E-03   1.0000          .0000       .10000E+07
     8 'Prefactor '    45.882       1.0000          .0000       .10000E+07
     9 'norm      '    .19318E-07   1.0000          .0000       .10000E+07
    10 'Prefactor '    .27643E-01   1.0000          .0000       .10000E+07
    11 'norm      '    1.1250       1.0000          .0000       .10000E+07
    12 'Prefactor '    .59173E-05   1.0000          .0000       .10000E+07
    13 'Prefactor '    .19928       1.0000          .0000       .10000E+07
    14 'Prefactor '    .61453       1.0000          .0000       .10000E+07
    15 'norm      '    12.122       1.0000          .0000       .10000E+07
    16 'Prefactor '    108.71       1.0000          .0000       .10000E+07
    17 'Normalizat'    1.0572       1.0000         .10000E-01   10.000    
    18 'Prefactor '    1.0524       1.0000          .0000       10.000    
 **********
 **   15 **SET ERR    .5000    
 **********
 **********
 **   16 **SET GRAD    1.000    
 **********
 **********
 **   17 **MINIMIZE    .4630E+05   .2000E-04
 **********

 MIGRAD MINIMIZATION HAS CONVERGED.

 FCN=   6993.155     FROM MIGRAD    STATUS=CONVERGED    132 CALLS     1381 TOTAL
                     EDM=   .57E-09  STRATEGY=1  ERROR MATRIX UNCERTAINTY=   .9%

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor      .0000        1.7020        .63032E-07** at limit **
   2  Prefactor     7.9334        1.9536        .24144E-08    .71343E-01
   3  norm           .0000        3.7509       -.86171E-07** at limit **
   4  norm          1.4876        1.3204        .88238E-07    .10934E-03
   5  Prefactor     .27756E-09    62.302       -.75343E-06** at limit **
   6  Prefactor     29.286        26.446       -.21433E-06   -.12641E-01
   7  norm          .55511E-10    8.3130        .16863E-06** at limit **
   8  Prefactor     45.924        4.6979       -.79995E-07    .92105E-01
   9  norm           .0000        1.5595       -.11525E-07** at limit **
  10  Prefactor      .0000        22.506       -.35213E-06** at limit **
  11  norm          1.1300        1.5538        .25397E-07   -.17007E-02
  12  Prefactor      .0000        1.9998        .20892E-07** at limit **
  13  Prefactor     .56344E-07    79.512        .11501E-06** at limit **
  14  Prefactor     .17187E-05    610.04        .86913E-05** at limit **
  15  norm          12.098        7.3235        .15479E-07    .29106E-02
  16  Prefactor     108.54        6.1632        .79942E-07    .16026    
  17  Normalizat    1.0581        .31645       -.99124E-05   -.34947E-04
  18  Prefactor     1.0523        .94391E-01    .10796E-05   -.97846E-04
                               ERR DEF=  .500    
Final values: 
  Prefactor  = 0
  Prefactor  = 7.9334
  norm       = 0
  norm       = 1.48756
  Prefactor  = 2.77556e-10
  Prefactor  = 29.286
  norm       = 5.55112e-11
  Prefactor  = 45.924
  norm       = 0
  Prefactor  = 0
  norm       = 1.13002
  Prefactor  = 0
  Prefactor  = 5.63438e-08
  Prefactor  = 1.71874e-06
  norm       = 12.0983
  Prefactor  = 108.543
  Normalizat = 1.05811
  Prefactor  = 1.05234
Working on...
/lscratch/kocevski/31071426/ft1_filtered_4FGL_J0358.6+0634_daily_bin2178.fits.....................!
real 42.12
user 40.46
sys 0.99

Creating the likelihood object...
obs = UnbinnedObs('/lscratch/kocevski/31071426/ft1_filtered_4FGL_J0358.6+0634_daily_bin2178.fits', '/lscratch/kocevski/31071426/ft2_4FGL_J0358.6+0634_daily_bin2178.fits', expMap='/lscratch/kocevski/31071426/expmap_803865601_804124801_4FGL_J0358.6+0634_daily_bin2178.fits', expCube='/lscratch/kocevski/31071426/ltcube_803865601_804124801_4FGL_J0358.6+0634_daily_bin2178.fits', irfs='P8R3_SOURCE_V2')
like = UnbinnedAnalysis(obs, '/lscratch/kocevski/31071426/Model_4FGL_J0358.6+0634_daily_bin2178.xml', optimizer='MINUIT')

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

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


Likelihood Fit Parameters:
Event file(s): /lscratch/kocevski/31071426/ft1_filtered_4FGL_J0358.6+0634_daily_bin2178.fits
Spacecraft file(s): /lscratch/kocevski/31071426/ft2_4FGL_J0358.6+0634_daily_bin2178.fits
Exposure map: /lscratch/kocevski/31071426/expmap_803865601_804124801_4FGL_J0358.6+0634_daily_bin2178.fits
Exposure cube: /lscratch/kocevski/31071426/ltcube_803865601_804124801_4FGL_J0358.6+0634_daily_bin2178.fits
IRFs: P8R3_SOURCE_V2
Source model file: /lscratch/kocevski/31071426/Model_4FGL_J0358.6+0634_daily_bin2178.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) = 6993.1565522

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

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

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'Prefactor '    .41598E-05   1.0000          .0000       .10000E+07
     2 'Prefactor '    7.9250       1.0000          .0000       .10000E+07
     3 'norm      '    .21523E-05   1.0000          .0000       .10000E+07
     4 'norm      '    1.4883       1.0000          .0000       .10000E+07
     5 'Prefactor '    .12068       1.0000          .0000       .10000E+07
     6 'Prefactor '    29.208       1.0000          .0000       .10000E+07
     7 'norm      '    .27289E-03   1.0000          .0000       .10000E+07
     8 'Prefactor '    45.882       1.0000          .0000       .10000E+07
     9 'norm      '    .19318E-07   1.0000          .0000       .10000E+07
    10 'Prefactor '    .27643E-01   1.0000          .0000       .10000E+07
    11 'norm      '    1.1250       1.0000          .0000       .10000E+07
    12 'Prefactor '    .59173E-05   1.0000          .0000       .10000E+07
    13 'Prefactor '    .19928       1.0000          .0000       .10000E+07
    14 'Prefactor '    .61453       1.0000          .0000       .10000E+07
    15 'norm      '    12.122       1.0000          .0000       .10000E+07
    16 'Prefactor '    108.71       1.0000          .0000       .10000E+07
    17 'Normalizat'    1.0572       1.0000         .10000E-01   10.000    
    18 'Prefactor '    1.0524       1.0000          .0000       10.000    
 **********
 **   15 **SET ERR    .5000    
 **********
 **********
 **   16 **SET GRAD    1.000    
 **********
 **********
 **   17 **MINIMIZE    .4630E+05   .2000E-04
 **********

 MIGRAD MINIMIZATION HAS CONVERGED.

 FCN=   6993.155     FROM MIGRAD    STATUS=CONVERGED    132 CALLS     1381 TOTAL
                     EDM=   .57E-09  STRATEGY=1  ERROR MATRIX UNCERTAINTY=   .9%

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor      .0000        1.7020        .63032E-07** at limit **
   2  Prefactor     7.9334        1.9536        .24144E-08    .71343E-01
   3  norm           .0000        3.7509       -.86171E-07** at limit **
   4  norm          1.4876        1.3204        .88238E-07    .10934E-03
   5  Prefactor     .27756E-09    62.302       -.75343E-06** at limit **
   6  Prefactor     29.286        26.446       -.21433E-06   -.12641E-01
   7  norm          .55511E-10    8.3130        .16863E-06** at limit **
   8  Prefactor     45.924        4.6979       -.79995E-07    .92105E-01
   9  norm           .0000        1.5595       -.11525E-07** at limit **
  10  Prefactor      .0000        22.506       -.35213E-06** at limit **
  11  norm          1.1300        1.5538        .25397E-07   -.17007E-02
  12  Prefactor      .0000        1.9998        .20892E-07** at limit **
  13  Prefactor     .56344E-07    79.512        .11501E-06** at limit **
  14  Prefactor     .17187E-05    610.04        .86913E-05** at limit **
  15  norm          12.098        7.3235        .15479E-07    .29106E-02
  16  Prefactor     108.54        6.1632        .79942E-07    .16026    
  17  Normalizat    1.0581        .31645       -.99124E-05   -.34947E-04
  18  Prefactor     1.0523        .94391E-01    .10796E-05   -.97846E-04
                               ERR DEF=  .500    
Final values: 
  Prefactor  = 0
  Prefactor  = 7.9334
  norm       = 0
  norm       = 1.48756
  Prefactor  = 2.77556e-10
  Prefactor  = 29.286
  norm       = 5.55112e-11
  Prefactor  = 45.924
  norm       = 0
  Prefactor  = 0
  norm       = 1.13002
  Prefactor  = 0
  Prefactor  = 5.63438e-08
  Prefactor  = 1.71874e-06
  norm       = 12.0983
  Prefactor  = 108.543
  Normalizat = 1.05811
  Prefactor  = 1.05234
 **********
 **   18 **HESSE 
 **********

 FCN=   6993.155     FROM HESSE     STATUS=OK           274 CALLS     1655 TOTAL
                     EDM=   .35E-05    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  Prefactor      .0000        1.7009        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   2  Prefactor     7.9334        16.263        .35594E-03   -1.5652    
   3  norm           .0000        3.7476        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   4  norm          1.4876        1.3343        .87866E-03   -1.5684    
   5  Prefactor     .27756E-09    62.415        .13404E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   6  Prefactor     29.286        26.820        .18506E-03   -1.5600    
   7  norm          .55511E-10    8.3130        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   8  Prefactor     45.924        38.494        .14764E-03   -1.5572    
   9  norm           .0000        1.5617        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  10  Prefactor      .0000        22.476        .16578E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  11  norm          1.1300        1.5997        .11042E-02   -1.5687    
  12  Prefactor      .0000        1.9977        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  13  Prefactor     .56344E-07    79.390        .11789E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  14  Prefactor     .17187E-05    609.79        .67937E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  15  norm          12.098        7.4087        .28746E-03   -1.5638    
  16  Prefactor     108.54        112.44        .95918E-04   -1.5500    
  17  Normalizat    1.0581        .29829        .11133       -.91108    
  18  Prefactor     1.0523        .86704E-01    .39770E-01   -.91005    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 3.49823e-06
Minuit parameter uncertainties:
  1  2.68325e-07
  2  16.2636
  3  3.06098e-06
  4  1.33429
  5  0.000257215
  6  26.8199
  7  5.23006e-05
  8  38.4938
  9  3.91041e-07
  10  3.56619e-05
  11  1.59967
  12  1.15755e-06
  13  0.00422941
  14  0.0647548
  15  7.40875
  16  112.44
  17  0.298763
  18  0.086716
 **********
 **   18 **HESSE 
 **********

 FCN=   6993.155     FROM HESSE     STATUS=OK           274 CALLS     1655 TOTAL
                     EDM=   .35E-05    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  Prefactor      .0000        1.7009        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   2  Prefactor     7.9334        16.263        .35594E-03   -1.5652    
   3  norm           .0000        3.7476        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   4  norm          1.4876        1.3343        .87866E-03   -1.5684    
   5  Prefactor     .27756E-09    62.415        .13404E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   6  Prefactor     29.286        26.820        .18506E-03   -1.5600    
   7  norm          .55511E-10    8.3130        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   8  Prefactor     45.924        38.494        .14764E-03   -1.5572    
   9  norm           .0000        1.5617        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  10  Prefactor      .0000        22.476        .16578E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  11  norm          1.1300        1.5997        .11042E-02   -1.5687    
  12  Prefactor      .0000        1.9977        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  13  Prefactor     .56344E-07    79.390        .11789E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  14  Prefactor     .17187E-05    609.79        .67937E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  15  norm          12.098        7.4087        .28746E-03   -1.5638    
  16  Prefactor     108.54        112.44        .95918E-04   -1.5500    
  17  Normalizat    1.0581        .29829        .11133       -.91108    
  18  Prefactor     1.0523        .86704E-01    .39770E-01   -.91005    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 3.49823e-06
Minuit parameter uncertainties:
  1  2.68325e-07
  2  16.2636
  3  3.06098e-06
  4  1.33429
  5  0.000257215
  6  26.8199
  7  5.23006e-05
  8  38.4938
  9  3.91041e-07
  10  3.56619e-05
  11  1.59967
  12  1.15755e-06
  13  0.00422941
  14  0.0647548
  15  7.40875
  16  112.44
  17  0.298763
  18  0.086716
ile=/lscratch/kocevski/31071451/ltcube_803865601_804124801_4FGL_J0358.6+0634_daily_bin2178.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/31071451/ft2_4FGL_J0358.6+0634_daily_bin2178.fits
.....................!
real 8.98
user 8.38
sys 0.23

Generating the exposure map:
time -p gtexpmap evfile=/lscratch/kocevski/31071451/ft1_filtered_4FGL_J0358.6+0634_daily_bin2178.fits evtable="EVENTS" scfile=/lscratch/kocevski/31071451/ft2_4FGL_J0358.6+0634_daily_bin2178.fits sctable="SC_DATA" expcube=/lscratch/kocevski/31071451/ltcube_803865601_804124801_4FGL_J0358.6+0634_daily_bin2178.fits outfile=/lscratch/kocevski/31071451/expmap_803865601_804124801_4FGL_J0358.6+0634_daily_bin2178.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/31071451/ltcube_803865601_804124801_4FGL_J0358.6+0634_daily_bin2178.fits
.....................!
real 69.58
user 64.77
sys 4.10

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

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

Creating the counts map:
time -p gtbin evfile=/lscratch/kocevski/31071451/ft1_filtered_4FGL_J0358.6+0634_daily_bin2178.fits scfile=/lscratch/kocevski/31071451/ft2_4FGL_J0358.6+0634_daily_bin2178.fits outfile=/lscratch/kocevski/31071451/cmap_803865601_804124801_4FGL_J0358.6+0634_daily_bin2178.fits algorithm="CMAP" ebinalg="LOG" emin=30.0 emax=200000.0 ebinfile=NONE tbinalg="LIN" tbinfile=NONE nxpix=160 nypix=160 binsz=0.25 coordsys="CEL" xref=59.6656 yref=6.5759 axisrot=0.0 rafield="RA" decfield="DEC" proj="AIT" hpx_ordering_scheme="RING" hpx_order=3 hpx_ebin=yes hpx_region="" evtable="EVENTS" sctable="SC_DATA" efield="ENERGY" tfield="TIME" chatter=2 clobber=yes debug=no gui=no mode="ql"

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

This is gtbin version HEAD
real 0.71
user 0.21
sys 0.12

Creating the high resolution counts map:
time -p gtbin evfile=/lscratch/kocevski/31071451/ft1_filtered_4FGL_J0358.6+0634_daily_bin2178.fits scfile=/lscratch/kocevski/31071451/ft2_4FGL_J0358.6+0634_daily_bin2178.fits outfile=/lscratch/kocevski/31071451/cmap_HighResolution_803865601_804124801_4FGL_J0358.6+0634_daily_bin2178.fits algorithm="CMAP" ebinalg="LOG" emin=30.0 emax=200000.0 ebinfile=NONE tbinalg="LIN" tbinfile=NONE nxpix=500 nypix=500 binsz=0.1 coordsys="CEL" xref=59.6656 yref=6.5759 axisrot=0.0 rafield="RA" decfield="DEC" proj="AIT" hpx_ordering_scheme="RING" hpx_order=3 hpx_ebin=yes hpx_region="" evtable="EVENTS" sctable="SC_DATA" efield="ENERGY" tfield="TIME" chatter=2 clobber=yes debug=no gui=no mode="ql"

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

This is gtbin version HEAD
real 0.70
user 0.23
sys 0.14

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

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

adding source EG_v02
adding source GAL_V02
le=/lscratch/kocevski/31071454/ltcube_803865601_804124801_4FGL_J0358.6+0634_daily_bin2178.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/31071454/ft2_4FGL_J0358.6+0634_daily_bin2178.fits
.....................!
real 9.19
user 8.72
sys 0.22

Generating the exposure map:
time -p gtexpmap evfile=/lscratch/kocevski/31071454/ft1_filtered_4FGL_J0358.6+0634_daily_bin2178.fits evtable="EVENTS" scfile=/lscratch/kocevski/31071454/ft2_4FGL_J0358.6+0634_daily_bin2178.fits sctable="SC_DATA" expcube=/lscratch/kocevski/31071454/ltcube_803865601_804124801_4FGL_J0358.6+0634_daily_bin2178.fits outfile=/lscratch/kocevski/31071454/expmap_803865601_804124801_4FGL_J0358.6+0634_daily_bin2178.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/31071454/ltcube_803865601_804124801_4FGL_J0358.6+0634_daily_bin2178.fits
.....................!
real 72.82
user 68.00
sys 4.15

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

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

Creating the counts map:
time -p gtbin evfile=/lscratch/kocevski/31071454/ft1_filtered_4FGL_J0358.6+0634_daily_bin2178.fits scfile=/lscratch/kocevski/31071454/ft2_4FGL_J0358.6+0634_daily_bin2178.fits outfile=/lscratch/kocevski/31071454/cmap_803865601_804124801_4FGL_J0358.6+0634_daily_bin2178.fits algorithm="CMAP" ebinalg="LOG" emin=30.0 emax=200000.0 ebinfile=NONE tbinalg="LIN" tbinfile=NONE nxpix=160 nypix=160 binsz=0.25 coordsys="CEL" xref=59.6656 yref=6.5759 axisrot=0.0 rafield="RA" decfield="DEC" proj="AIT" hpx_ordering_scheme="RING" hpx_order=3 hpx_ebin=yes hpx_region="" evtable="EVENTS" sctable="SC_DATA" efield="ENERGY" tfield="TIME" chatter=2 clobber=yes debug=no gui=no mode="ql"

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

This is gtbin version HEAD
real 0.81
user 0.22
sys 0.13

Creating the high resolution counts map:
time -p gtbin evfile=/lscratch/kocevski/31071454/ft1_filtered_4FGL_J0358.6+0634_daily_bin2178.fits scfile=/lscratch/kocevski/31071454/ft2_4FGL_J0358.6+0634_daily_bin2178.fits outfile=/lscratch/kocevski/31071454/cmap_HighResolution_803865601_804124801_4FGL_J0358.6+0634_daily_bin2178.fits algorithm="CMAP" ebinalg="LOG" emin=30.0 emax=200000.0 ebinfile=NONE tbinalg="LIN" tbinfile=NONE nxpix=500 nypix=500 binsz=0.1 coordsys="CEL" xref=59.6656 yref=6.5759 axisrot=0.0 rafield="RA" decfield="DEC" proj="AIT" hpx_ordering_scheme="RING" hpx_order=3 hpx_ebin=yes hpx_region="" evtable="EVENTS" sctable="SC_DATA" efield="ENERGY" tfield="TIME" chatter=2 clobber=yes debug=no gui=no mode="ql"

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

This is gtbin version HEAD
real 0.71
user 0.23
sys 0.13

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

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

adding source EG_v02
adding source GAL_V02
WWorking on...
/lscratch/kocevski/31071443/ft1_filtered_4FGL_J0358.6+0634_daily_bin2178.fits.....................!
real 41.96
user 40.25
sys 1.06

Creating the likelihood object...
obs = UnbinnedObs('/lscratch/kocevski/31071443/ft1_filtered_4FGL_J0358.6+0634_daily_bin2178.fits', '/lscratch/kocevski/31071443/ft2_4FGL_J0358.6+0634_daily_bin2178.fits', expMap='/lscratch/kocevski/31071443/expmap_803865601_804124801_4FGL_J0358.6+0634_daily_bin2178.fits', expCube='/lscratch/kocevski/31071443/ltcube_803865601_804124801_4FGL_J0358.6+0634_daily_bin2178.fits', irfs='P8R3_SOURCE_V2')
like = UnbinnedAnalysis(obs, '/lscratch/kocevski/31071443/Model_4FGL_J0358.6+0634_daily_bin2178.xml', optimizer='MINUIT')

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

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


Likelihood Fit Parameters:
Event file(s): /lscratch/kocevski/31071443/ft1_filtered_4FGL_J0358.6+0634_daily_bin2178.fits
Spacecraft file(s): /lscratch/kocevski/31071443/ft2_4FGL_J0358.6+0634_daily_bin2178.fits
Exposure map: /lscratch/kocevski/31071443/expmap_803865601_804124801_4FGL_J0358.6+0634_daily_bin2178.fits
Exposure cube: /lscratch/kocevski/31071443/ltcube_803865601_804124801_4FGL_J0358.6+0634_daily_bin2178.fits
IRFs: P8R3_SOURCE_V2
Source model file: /lscratch/kocevski/31071443/Model_4FGL_J0358.6+0634_daily_bin2178.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) = 6993.1565522

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

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

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'Prefactor '    .41598E-05   1.0000          .0000       .10000E+07
     2 'Prefactor '    7.9250       1.0000          .0000       .10000E+07
     3 'norm      '    .21523E-05   1.0000          .0000       .10000E+07
     4 'norm      '    1.4883       1.0000          .0000       .10000E+07
     5 'Prefactor '    .12068       1.0000          .0000       .10000E+07
     6 'Prefactor '    29.208       1.0000          .0000       .10000E+07
     7 'norm      '    .27289E-03   1.0000          .0000       .10000E+07
     8 'Prefactor '    45.882       1.0000          .0000       .10000E+07
     9 'norm      '    .19318E-07   1.0000          .0000       .10000E+07
    10 'Prefactor '    .27643E-01   1.0000          .0000       .10000E+07
    11 'norm      '    1.1250       1.0000          .0000       .10000E+07
    12 'Prefactor '    .59173E-05   1.0000          .0000       .10000E+07
    13 'Prefactor '    .19928       1.0000          .0000       .10000E+07
    14 'Prefactor '    .61453       1.0000          .0000       .10000E+07
    15 'norm      '    12.122       1.0000          .0000       .10000E+07
    16 'Prefactor '    108.71       1.0000          .0000       .10000E+07
    17 'Normalizat'    1.0572       1.0000         .10000E-01   10.000    
    18 'Prefactor '    1.0524       1.0000          .0000       10.000    
 **********
 **   15 **SET ERR    .5000    
 **********
 **********
 **   16 **SET GRAD    1.000    
 **********
 **********
 **   17 **MINIMIZE    .4630E+05   .2000E-04
 **********

 MIGRAD MINIMIZATION HAS CONVERGED.

 FCN=   6993.155     FROM MIGRAD    STATUS=CONVERGED    132 CALLS     1381 TOTAL
                     EDM=   .57E-09  STRATEGY=1  ERROR MATRIX UNCERTAINTY=   .9%

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor      .0000        1.7020        .63032E-07** at limit **
   2  Prefactor     7.9334        1.9536        .24144E-08    .71343E-01
   3  norm           .0000        3.7509       -.86171E-07** at limit **
   4  norm          1.4876        1.3204        .88238E-07    .10934E-03
   5  Prefactor     .27756E-09    62.302       -.75343E-06** at limit **
   6  Prefactor     29.286        26.446       -.21433E-06   -.12641E-01
   7  norm          .55511E-10    8.3130        .16863E-06** at limit **
   8  Prefactor     45.924        4.6979       -.79995E-07    .92105E-01
   9  norm           .0000        1.5595       -.11525E-07** at limit **
  10  Prefactor      .0000        22.506       -.35213E-06** at limit **
  11  norm          1.1300        1.5538        .25397E-07   -.17007E-02
  12  Prefactor      .0000        1.9998        .20892E-07** at limit **
  13  Prefactor     .56344E-07    79.512        .11501E-06** at limit **
  14  Prefactor     .17187E-05    610.04        .86913E-05** at limit **
  15  norm          12.098        7.3235        .15479E-07    .29106E-02
  16  Prefactor     108.54        6.1632        .79942E-07    .16026    
  17  Normalizat    1.0581        .31645       -.99124E-05   -.34947E-04
  18  Prefactor     1.0523        .94391E-01    .10796E-05   -.97846E-04
                               ERR DEF=  .500    
Final values: 
  Prefactor  = 0
  Prefactor  = 7.9334
  norm       = 0
  norm       = 1.48756
  Prefactor  = 2.77556e-10
  Prefactor  = 29.286
  norm       = 5.55112e-11
  Prefactor  = 45.924
  norm       = 0
  Prefactor  = 0
  norm       = 1.13002
  Prefactor  = 0
  Prefactor  = 5.63438e-08
  Prefactor  = 1.71874e-06
  norm       = 12.0983
  Prefactor  = 108.543
  Normalizat = 1.05811
  Prefactor  = 1.05234
number of points = 7456
number of fields = 31
RA_SUN column already exists. File will not be modified.
Done.


Performing analysis on: 4FGL_J0358.6+0634_daily_bin2178
RA = 59.6656, Dec = 6.5759
tmin = 803865601, tmax = 804124801
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='31071600', job_status='RUN', time_executed='2026-07-08 18:18:27.744694', time_epoch_executed='1783559907.74' WHERE source_name='4FGL J0358.6+0634' and cadence='daily' and bin_id='2178'

Database successfully updated.
Done.

Creating custom output directory:
/lscratch/kocevski/31071600

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

Retrieving the FT1 file...

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

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

Retrieving 47 files...
Done.


Merging files...

Checksum keywords updated successfully.

Merged file saved to:
/lscratch/kocevski/31071600/ft1_4FGL_J0358.6+0634_daily_bin2178.fits


Retrieving the FT1 file...

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

Retrieving 47 files...
Done.


Merging files...

Merged file saved to:
/lscratch/kocevski/31071600/ft2_4FGL_J0358.6+0634_daily_bin2178.fits


Selecting the photons:
time -p gtselect infile=/lscratch/kocevski/31071600/ft1_4FGL_J0358.6+0634_daily_bin2178.fits outfile=/lscratch/kocevski/31071600/ft1_filteredMKT_4FGL_J0358.6+0634_daily_bin2178.fits ra=59.6656 dec=6.5759 rad=12.0 tmin=803865601.0 tmax=804124801.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.18
user 1.62
sys 0.14

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

Selecting the good time intervals:
time -p gtmktime scfile=/lscratch/kocevski/31071600/ft2_4FGL_J0358.6+0634_daily_bin2178.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/31071600/ft1_filteredMKT_4FGL_J0358.6+0634_daily_bin2178.fits evtable="EVENTS" outfile="/lscratch/kocevski/31071600/ft1_filtered_4FGL_J0358.6+0634_daily_bin2178.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.64
user 0.21
sys 0.13

Number of photons that the gtmktime cut: 637

Generating the livetime cube:
time -p gtltcube evfile="/lscratch/kocevski/31071600/ft1_filtered_4FGL_J0358.6+0634_daily_bin2178.fits" evtable="EVENTS" scfile=/lscratch/kocevski/31071600/ft2_4FGL_J0358.6+0634_daily_bin2178.fits sctable="SC_DATA" outfDone.

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

Extracting fit parameters...

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

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

EG_v02
   Spectrum: FileFunction
459   Normalization:  1.058e+00  2.988e-01  1.000e-02  1.000e+01 ( 1.000e+00)


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

Saving results to:
/lscratch/kocevski/31071430/likelihoodResults_803865601_804124801_4FGL_J0358.6+0634_daily_bin2178.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) = 6993.16243505
delta logL = -0.00767566487139

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

MINUIT Return Code (Free Index): 102
logL (Free Index) = 6992.78797401
delta logL = 0.366785376967

Fit tolerance = 1e-08

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

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

 MIGRAD MINIMIZATION HAS CONVERGED.

 MIGRAD WILL VERIFY CONVERGENCE AND ERROR MATRIX.

 FCN=   6992.788     FROM MIGRAD    STATUS=CONVERGED     59 CALLS      260 TOTAL
                     EDM=   .91E-10    STRATEGY= 1      ERR MATRIX NOT POS-DEF

  EXT PARAMETER                APPROXIMATE        STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor     .91726E-01    1.5578        .66874E-03** at limit **
   2  Index         6.5450        2.9771        .16223        .14327E-03
   3  Normalizat    .96196        .58232E-01    .11612        .20631E-04
   4  Prefactor     1.0672        .17862E-01    .38992E-01   -.46869E-04
                               ERR DEF=  .500    
Final values: 
  Prefactor  = 0.0917263
  Index      = 6.54498
  Normalizat = 0.961965
  Prefactor  = 1.06725
 **********
 **   18 **HESSE 
 **********

 FCN=   6992.788     FROM HESSE     STATUS=NOT POSDEF    35 CALLS      295 TOTAL
                     EDM=   .44E-10    STRATEGY= 1      ERR MATRIX NOT POS-DEF

  EXT PARAMETER                APPROXIMATE     INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  Prefactor     .91726E-01    6.4598        .30488E-04   -1.5702    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   2  Index         6.5450        8.2720        .82631E-02    .31414    
   3  Normalizat    .96196        .23507        .51501E-03   -.94316    
   4  Prefactor     1.0672        .70335E-01    .15014E-03   -.90520    
                               ERR DEF=  .500    
Minuit fit quality: 2   estimated distance: 4.40028e-11
Minuit parameter uncertainties:
  1  1.53952
  2  8.86636
  3  0.235321
  4  0.0703411
 **********
 **   18 **HESSE 
 **********

 FCN=   6993.155     FROM HESSE     STATUS=OK           274 CALLS     1655 TOTAL
                     EDM=   .35E-05    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  Prefactor      .0000        1.7009        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   2  Prefactor     7.9334        16.263        .35594E-03   -1.5652    
   3  norm           .0000        3.7476        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   4  norm          1.4876        1.3343        .87866E-03   -1.5684    
   5  Prefactor     .27756E-09    62.415        .13404E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   6  Prefactor     29.286        26.820        .18506E-03   -1.5600    
   7  norm          .55511E-10    8.3130        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   8  Prefactor     45.924        38.494        .14764E-03   -1.5572    
   9  norm           .0000        1.5617        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  10  Prefactor      .0000        22.476        .16578E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  11  norm          1.1300        1.5997        .11042E-02   -1.5687    
  12  Prefactor      .0000        1.9977        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  13  Prefactor     .56344E-07    79.390        .11789E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  14  Prefactor     .17187E-05    609.79        .67937E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  15  norm          12.098        7.4087        .28746E-03   -1.5638    
  16  Prefactor     108.54        112.44        .95918E-04   -1.5500    
  17  Normalizat    1.0581        .29829        .11133       -.91108    
  18  Prefactor     1.0523        .86704E-01    .39770E-01   -.91005    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 3.49823e-06
Minuit parameter uncertainties:
  1  2.68325e-07
  2  16.2636
  3  3.06098e-06
  4  1.33429
  5  0.000257215
  6  26.8199
  7  5.23006e-05
  8  38.4938
  9  3.91041e-07
  10  3.56619e-05
  11  1.59967
  12  1.15755e-06
  13  0.00422941
  14  0.0647548
  15  7.40875
  16  112.44
  17  0.298763
  18  0.086716
shell-init: error retrieving current directory: getcwd: cannot access parent directories: No such file or directory
Done.

MINUIT Return Code (Free Index): 102
logL (Free Index) = 6992.78796779
delta logL = 0.366791600486

Extracting fit parameters...

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

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

EG_v02
   Spectrum: FileFunction
459   Normalization:  9.620e-01  2.353e-01  1.000e-02  1.000e+01 ( 1.000e+00)


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

Creating a high resolution counts map...
INFO: Auto-setting vmin to -1.000e-01 [aplpy.core]
INFO: Auto-setting vmax to  1.110e+00 [aplpy.core]
Saving /lscratch/kocevski/31071430/cmap_HighResolution_803865601_804124801_4FGL_J0358.6+0634_daily_bin2178.png

Cleaning up...

** Nuclear option initiated! **

Updating database...

UPDATE lightcurve_data_v2 SET energy_flux_upper_limit='1.36e-02', job_status='DONE', photon_flux_upper_limit='1.74e-07', time_completed='2026-07-08 18:19:45.184677', job_id='31071430', GAL2='1.07', fit_tolerance='1e-08', EG2='0.96', EG='1.06', time_epoch_completed='1783559985.18', return_code2='102', ts='-0.00', comment='SUCCESS', return_code='0', GAL='1.05', dlogl='3.67e-01', ts2='0.82', photon_index_error='0.00', photon_index='2.57' WHERE bin_id='2178' AND source_name='4FGL J0358.6+0634' AND cadence='daily';

Database successfully updated.


Analysis Complete.


Wed Jul  8 18:19:45 PDT 2026

Done.

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

Extracting fit parameters...

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

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

EG_v02
   Spectrum: FileFunction
459   Normalization:  1.058e+00  2.988e-01  1.000e-02  1.000e+01 ( 1.000e+00)


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

Saving results to:
/lscratch/kocevski/31071426/likelihoodResults_803865601_804124801_4FGL_J0358.6+0634_daily_bin2178.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) = 6993.16243505
delta logL = -0.00767566487139

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

MINUIT Return Code (Free Index): 102
logL (Free Index) = 6992.78797401
delta logL = 0.366785376967

Fit tolerance = 1e-08

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

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

 MIGRAD MINIMIZATION HAS CONVERGED.

 MIGRAD WILL VERIFY CONVERGENCE AND ERROR MATRIX.

 FCN=   6992.788     FROM MIGRAD    STATUS=CONVERGED     59 CALLS      260 TOTAL
                     EDM=   .91E-10    STRATEGY= 1      ERR MATRIX NOT POS-DEF

  EXT PARAMETER                APPROXIMATE        STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor     .91726E-01    1.5578        .66874E-03** at limit **
   2  Index         6.5450        2.9771        .16223        .14327E-03
   3  Normalizat    .96196        .58232E-01    .11612        .20631E-04
   4  Prefactor     1.0672        .17862E-01    .38992E-01   -.46869E-04
                               ERR DEF=  .500    
Final values: 
  Prefactor  = 0.0917263
  Index      = 6.54498
  Normalizat = 0.961965
  Prefactor  = 1.06725
 **********
 **   18 **HESSE 
 **********

 FCN=   6992.788     FROM HESSE     STATUS=NOT POSDEF    35 CALLS      295 TOTAL
                     EDM=   .44E-10    STRATEGY= 1      ERR MATRIX NOT POS-DEF

  EXT PARAMETER                APPROXIMATE     INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  Prefactor     .91726E-01    6.4598        .30488E-04   -1.5702    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   2  Index         6.5450        8.2720        .82631E-02    .31414    
   3  Normalizat    .96196        .23507        .51501E-03   -.94316    
   4  Prefactor     1.0672        .70335E-01    .15014E-03   -.90520    
                               ERR DEF=  .500    
Minuit fit quality: 2   estimated distance: 4.40028e-11
Minuit parameter uncertainties:
  1  1.53952
  2  8.86636
  3  0.235321
  4  0.0703411
shell-init: error retrieving current directory: getcwd: cannot access parent directories: No such file or directory
Done.

MINUIT Return Code (Free Index): 102
logL (Free Index) = 6992.78796779
delta logL = 0.366791600486

Extracting fit parameters...

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

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

EG_v02
   Spectrum: FileFunction
459   Normalization:  9.620e-01  2.353e-01  1.000e-02  1.000e+01 ( 1.000e+00)


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

Creating a high resolution counts map...
INFO: Auto-setting vmin to -1.000e-01 [aplpy.core]
INFO: Auto-setting vmax to  1.110e+00 [aplpy.core]
Saving /lscratch/kocevski/31071426/cmap_HighResolution_803865601_804124801_4FGL_J0358.6+0634_daily_bin2178.png

Cleaning up...

** Nuclear option initiated! **

Updating database...

UPDATE lightcurve_data_v2 SET energy_flux_upper_limit='1.36e-02', job_status='DONE', photon_flux_upper_limit='1.74e-07', time_completed='2026-07-08 18:19:52.483002', job_id='31071426', GAL2='1.07', fit_tolerance='1e-08', EG2='0.96', EG='1.06', time_epoch_completed='1783559992.48', return_code2='102', ts='-0.00', comment='SUCCESS', return_code='0', GAL='1.05', dlogl='3.67e-01', ts2='0.82', photon_index_error='0.00', photon_index='2.57' WHERE bin_id='2178' AND source_name='4FGL J0358.6+0634' AND cadence='daily';

Database successfully updated.


Analysis Complete.


Wed Jul  8 18:19:52 PDT 2026

Done.

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

Extracting fit parameters...

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

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

EG_v02
   Spectrum: FileFunction
459   Normalization:  1.058e+00  2.988e-01  1.000e-02  1.000e+01 ( 1.000e+00)


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

Saving results to:
/lscratch/kocevski/31071443/likelihoodResults_803865601_804124801_4FGL_J0358.6+0634_daily_bin2178.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) = 6993.16243505
delta logL = -0.00767566487139

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

MINUIT Return Code (Free Index): 102
logL (Free Index) = 6992.78797401
delta logL = 0.366785376967

Fit tolerance = 1e-08

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

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

 MIGRAD MINIMIZATION HAS CONVERGED.

 MIGRAD WILL VERIFY CONVERGENCE AND ERROR MATRIX.

 FCN=   6992.788     FROM MIGRAD    STATUS=CONVERGED     59 CALLS      260 TOTAL
                     EDM=   .91E-10    STRATEGY= 1      ERR MATRIX NOT POS-DEF

  EXT PARAMETER                APPROXIMATE        STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor     .91726E-01    1.5578        .66874E-03** at limit **
   2  Index         6.5450        2.9771        .16223        .14327E-03
   3  Normalizat    .96196        .58232E-01    .11612        .20631E-04
   4  Prefactor     1.0672        .17862E-01    .38992E-01   -.46869E-04
                               ERR DEF=  .500    
Final values: 
  Prefactor  = 0.0917263
  Index      = 6.54498
  Normalizat = 0.961965
  Prefactor  = 1.06725
 **********
 **   18 **HESSE 
 **********

 FCN=   6992.788     FROM HESSE     STATUS=NOT POSDEF    35 CALLS      295 TOTAL
                     EDM=   .44E-10    STRATEGY= 1      ERR MATRIX NOT POS-DEF

  EXT PARAMETER                APPROXIMATE     INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  Prefactor     .91726E-01    6.4598        .30488E-04   -1.5702    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   2  Index         6.5450        8.2720        .82631E-02    .31414    
   3  Normalizat    .96196        .23507        .51501E-03   -.94316    
   4  Prefactor     1.0672        .70335E-01    .15014E-03   -.90520    
                               ERR DEF=  .500    
Minuit fit quality: 2   estimated distance: 4.40028e-11
Minuit parameter uncertainties:
  1  1.53952
  2  8.86636
  3  0.235321
  4  0.0703411
shell-init: error retrieving current directory: getcwd: cannot access parent directories: No such file or directory
Done.

MINUIT Return Code (Free Index): 102
logL (Free Index) = 6992.78796779
delta logL = 0.366791600486

Extracting fit parameters...

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

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

EG_v02
   Spectrum: FileFunction
459   Normalization:  9.620e-01  2.353e-01  1.000e-02  1.000e+01 ( 1.000e+00)


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

Creating a high resolution counts map...
INFO: Auto-setting vmin to -1.000e-01 [aplpy.core]
INFO: Auto-setting vmax to  1.110e+00 [aplpy.core]
Saving /lscratch/kocevski/31071443/cmap_HighResolution_803865601_804124801_4FGL_J0358.6+0634_daily_bin2178.png

Cleaning up...

** Nuclear option initiated! **

Updating database...

UPDATE lightcurve_data_v2 SET energy_flux_upper_limit='1.36e-02', job_status='DONE', photon_flux_upper_limit='1.74e-07', time_completed='2026-07-08 18:20:12.954478', job_id='31071443', GAL2='1.07', fit_tolerance='1e-08', EG2='0.96', EG='1.06', time_epoch_completed='1783560012.95', return_code2='102', ts='-0.00', comment='SUCCESS', return_code='0', GAL='1.05', dlogl='3.67e-01', ts2='0.82', photon_index_error='0.00', photon_index='2.57' WHERE bin_id='2178' AND source_name='4FGL J0358.6+0634' AND cadence='daily';

Database successfully updated.


Analysis Complete.


Wed Jul  8 18:20:13 PDT 2026

Working on...
/lscratch/kocevski/31071451/ft1_filtered_4FGL_J0358.6+0634_daily_bin2178.fits.....................!
real 40.56
user 38.57
sys 1.39

Creating the likelihood object...
obs = UnbinnedObs('/lscratch/kocevski/31071451/ft1_filtered_4FGL_J0358.6+0634_daily_bin2178.fits', '/lscratch/kocevski/31071451/ft2_4FGL_J0358.6+0634_daily_bin2178.fits', expMap='/lscratch/kocevski/31071451/expmap_803865601_804124801_4FGL_J0358.6+0634_daily_bin2178.fits', expCube='/lscratch/kocevski/31071451/ltcube_803865601_804124801_4FGL_J0358.6+0634_daily_bin2178.fits', irfs='P8R3_SOURCE_V2')
like = UnbinnedAnalysis(obs, '/lscratch/kocevski/31071451/Model_4FGL_J0358.6+0634_daily_bin2178.xml', optimizer='MINUIT')

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

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


Likelihood Fit Parameters:
Event file(s): /lscratch/kocevski/31071451/ft1_filtered_4FGL_J0358.6+0634_daily_bin2178.fits
Spacecraft file(s): /lscratch/kocevski/31071451/ft2_4FGL_J0358.6+0634_daily_bin2178.fits
Exposure map: /lscratch/kocevski/31071451/expmap_803865601_804124801_4FGL_J0358.6+0634_daily_bin2178.fits
Exposure cube: /lscratch/kocevski/31071451/ltcube_803865601_804124801_4FGL_J0358.6+0634_daily_bin2178.fits
IRFs: P8R3_SOURCE_V2
Source model file: /lscratch/kocevski/31071451/Model_4FGL_J0358.6+0634_daily_bin2178.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) = 6993.1565522

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

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

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'Prefactor '    .41598E-05   1.0000          .0000       .10000E+07
     2 'Prefactor '    7.9250       1.0000          .0000       .10000E+07
     3 'norm      '    .21523E-05   1.0000          .0000       .10000E+07
     4 'norm      '    1.4883       1.0000          .0000       .10000E+07
     5 'Prefactor '    .12068       1.0000          .0000       .10000E+07
     6 'Prefactor '    29.208       1.0000          .0000       .10000E+07
     7 'norm      '    .27289E-03   1.0000          .0000       .10000E+07
     8 'Prefactor '    45.882       1.0000          .0000       .10000E+07
     9 'norm      '    .19318E-07   1.0000          .0000       .10000E+07
    10 'Prefactor '    .27643E-01   1.0000          .0000       .10000E+07
    11 'norm      '    1.1250       1.0000          .0000       .10000E+07
    12 'Prefactor '    .59173E-05   1.0000          .0000       .10000E+07
    13 'Prefactor '    .19928       1.0000          .0000       .10000E+07
    14 'Prefactor '    .61453       1.0000          .0000       .10000E+07
    15 'norm      '    12.122       1.0000          .0000       .10000E+07
    16 'Prefactor '    108.71       1.0000          .0000       .10000E+07
    17 'Normalizat'    1.0572       1.0000         .10000E-01   10.000    
    18 'Prefactor '    1.0524       1.0000          .0000       10.000    
 **********
 **   15 **SET ERR    .5000    
 **********
 **********
 **   16 **SET GRAD    1.000    
 **********
 **********
 **   17 **MINIMIZE    .4630E+05   .2000E-04
 **********

 MIGRAD MINIMIZATION HAS CONVERGED.

 FCN=   6993.155     FROM MIGRAD    STATUS=CONVERGED    132 CALLS     1381 TOTAL
                     EDM=   .57E-09  STRATEGY=1  ERROR MATRIX UNCERTAINTY=   .9%

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor      .0000        1.7020        .63032E-07** at limit **
   2  Prefactor     7.9334        1.9536        .24144E-08    .71343E-01
   3  norm           .0000        3.7509       -.86171E-07** at limit **
   4  norm          1.4876        1.3204        .88238E-07    .10934E-03
   5  Prefactor     .27756E-09    62.302       -.75343E-06** at limit **
   6  Prefactor     29.286        26.446       -.21433E-06   -.12641E-01
   7  norm          .55511E-10    8.3130        .16863E-06** at limit **
   8  Prefactor     45.924        4.6979       -.79995E-07    .92105E-01
   9  norm           .0000        1.5595       -.11525E-07** at limit **
  10  Prefactor      .0000        22.506       -.35213E-06** at limit **
  11  norm          1.1300        1.5538        .25397E-07   -.17007E-02
  12  Prefactor      .0000        1.9998        .20892E-07** at limit **
  13  Prefactor     .56344E-07    79.512        .11501E-06** at limit **
  14  Prefactor     .17187E-05    610.04        .86913E-05** at limit **
  15  norm          12.098        7.3235        .15479E-07    .29106E-02
  16  Prefactor     108.54        6.1632        .79942E-07    .16026    
  17  Normalizat    1.0581        .31645       -.99124E-05   -.34947E-04
  18  Prefactor     1.0523        .94391E-01    .10796E-05   -.97846E-04
                               ERR DEF=  .500    
Final values: 
  Prefactor  = 0
  Prefactor  = 7.9334
  norm       = 0
  norm       = 1.48756
  Prefactor  = 2.77556e-10
  Prefactor  = 29.286
  norm       = 5.55112e-11
  Prefactor  = 45.924
  norm       = 0
  Prefactor  = 0
  norm       = 1.13002
  Prefactor  = 0
  Prefactor  = 5.63438e-08
  Prefactor  = 1.71874e-06
  norm       = 12.0983
  Prefactor  = 108.543
  Normalizat = 1.05811
  Prefactor  = 1.05234
 **********
 **   18 **HESSE 
 **********

 FCN=   6993.155     FROM HESSE     STATUS=OK           274 CALLS     1655 TOTAL
                     EDM=   .35E-05    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  Prefactor      .0000        1.7009        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   2  Prefactor     7.9334        16.263        .35594E-03   -1.5652    
   3  norm           .0000        3.7476        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   4  norm          1.4876        1.3343        .87866E-03   -1.5684    
   5  Prefactor     .27756E-09    62.415        .13404E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   6  Prefactor     29.286        26.820        .18506E-03   -1.5600    
   7  norm          .55511E-10    8.3130        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   8  Prefactor     45.924        38.494        .14764E-03   -1.5572    
   9  norm           .0000        1.5617        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  10  Prefactor      .0000        22.476        .16578E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  11  norm          1.1300        1.5997        .11042E-02   -1.5687    
  12  Prefactor      .0000        1.9977        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  13  Prefactor     .56344E-07    79.390        .11789E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  14  Prefactor     .17187E-05    609.79        .67937E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  15  norm          12.098        7.4087        .28746E-03   -1.5638    
  16  Prefactor     108.54        112.44        .95918E-04   -1.5500    
  17  Normalizat    1.0581        .29829        .11133       -.91108    
  18  Prefactor     1.0523        .86704E-01    .39770E-01   -.91005    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 3.49823e-06
Minuit parameter uncertainties:
  1  2.68325e-07
  2  16.2636
  3  3.06098e-06
  4  1.33429
  5  0.000257215
  6  26.8199
  7  5.23006e-05
  8  38.4938
  9  3.91041e-07
  10  3.56619e-05
  11  1.59967
  12  1.15755e-06
  13  0.00422941
  14  0.0647548
  15  7.40875
  16  112.44
  17  0.298763
  18  0.086716
orking on...
/lscratch/kocevski/31071454/ft1_filtered_4FGL_J0358.6+0634_daily_bin2178.fits.....................!
real 43.07
user 41.48
sys 1.08

Creating the likelihood object...
obs = UnbinnedObs('/lscratch/kocevski/31071454/ft1_filtered_4FGL_J0358.6+0634_daily_bin2178.fits', '/lscratch/kocevski/31071454/ft2_4FGL_J0358.6+0634_daily_bin2178.fits', expMap='/lscratch/kocevski/31071454/expmap_803865601_804124801_4FGL_J0358.6+0634_daily_bin2178.fits', expCube='/lscratch/kocevski/31071454/ltcube_803865601_804124801_4FGL_J0358.6+0634_daily_bin2178.fits', irfs='P8R3_SOURCE_V2')
like = UnbinnedAnalysis(obs, '/lscratch/kocevski/31071454/Model_4FGL_J0358.6+0634_daily_bin2178.xml', optimizer='MINUIT')

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

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


Likelihood Fit Parameters:
Event file(s): /lscratch/kocevski/31071454/ft1_filtered_4FGL_J0358.6+0634_daily_bin2178.fits
Spacecraft file(s): /lscratch/kocevski/31071454/ft2_4FGL_J0358.6+0634_daily_bin2178.fits
Exposure map: /lscratch/kocevski/31071454/expmap_803865601_804124801_4FGL_J0358.6+0634_daily_bin2178.fits
Exposure cube: /lscratch/kocevski/31071454/ltcube_803865601_804124801_4FGL_J0358.6+0634_daily_bin2178.fits
IRFs: P8R3_SOURCE_V2
Source model file: /lscratch/kocevski/31071454/Model_4FGL_J0358.6+0634_daily_bin2178.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) = 6993.1565522

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

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

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'Prefactor '    .41598E-05   1.0000          .0000       .10000E+07
     2 'Prefactor '    7.9250       1.0000          .0000       .10000E+07
     3 'norm      '    .21523E-05   1.0000          .0000       .10000E+07
     4 'norm      '    1.4883       1.0000          .0000       .10000E+07
     5 'Prefactor '    .12068       1.0000          .0000       .10000E+07
     6 'Prefactor '    29.208       1.0000          .0000       .10000E+07
     7 'norm      '    .27289E-03   1.0000          .0000       .10000E+07
     8 'Prefactor '    45.882       1.0000          .0000       .10000E+07
     9 'norm      '    .19318E-07   1.0000          .0000       .10000E+07
    10 'Prefactor '    .27643E-01   1.0000          .0000       .10000E+07
    11 'norm      '    1.1250       1.0000          .0000       .10000E+07
    12 'Prefactor '    .59173E-05   1.0000          .0000       .10000E+07
    13 'Prefactor '    .19928       1.0000          .0000       .10000E+07
    14 'Prefactor '    .61453       1.0000          .0000       .10000E+07
    15 'norm      '    12.122       1.0000          .0000       .10000E+07
    16 'Prefactor '    108.71       1.0000          .0000       .10000E+07
    17 'Normalizat'    1.0572       1.0000         .10000E-01   10.000    
    18 'Prefactor '    1.0524       1.0000          .0000       10.000    
 **********
 **   15 **SET ERR    .5000    
 **********
 **********
 **   16 **SET GRAD    1.000    
 **********
 **********
 **   17 **MINIMIZE    .4630E+05   .2000E-04
 **********

 MIGRAD MINIMIZATION HAS CONVERGED.

 FCN=   6993.155     FROM MIGRAD    STATUS=CONVERGED    132 CALLS     1381 TOTAL
                     EDM=   .57E-09  STRATEGY=1  ERROR MATRIX UNCERTAINTY=   .9%

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor      .0000        1.7020        .63032E-07** at limit **
   2  Prefactor     7.9334        1.9536        .24144E-08    .71343E-01
   3  norm           .0000        3.7509       -.86171E-07** at limit **
   4  norm          1.4876        1.3204        .88238E-07    .10934E-03
   5  Prefactor     .27756E-09    62.302       -.75343E-06** at limit **
   6  Prefactor     29.286        26.446       -.21433E-06   -.12641E-01
   7  norm          .55511E-10    8.3130        .16863E-06** at limit **
   8  Prefactor     45.924        4.6979       -.79995E-07    .92105E-01
   9  norm           .0000        1.5595       -.11525E-07** at limit **
  10  Prefactor      .0000        22.506       -.35213E-06** at limit **
  11  norm          1.1300        1.5538        .25397E-07   -.17007E-02
  12  Prefactor      .0000        1.9998        .20892E-07** at limit **
  13  Prefactor     .56344E-07    79.512        .11501E-06** at limit **
  14  Prefactor     .17187E-05    610.04        .86913E-05** at limit **
  15  norm          12.098        7.3235        .15479E-07    .29106E-02
  16  Prefactor     108.54        6.1632        .79942E-07    .16026    
  17  Normalizat    1.0581        .31645       -.99124E-05   -.34947E-04
  18  Prefactor     1.0523        .94391E-01    .10796E-05   -.97846E-04
                               ERR DEF=  .500    
Final values: 
  Prefactor  = 0
  Prefactor  = 7.9334
  norm       = 0
  norm       = 1.48756
  Prefactor  = 2.77556e-10
  Prefactor  = 29.286
  norm       = 5.55112e-11
  Prefactor  = 45.924
  norm       = 0
  Prefactor  = 0
  norm       = 1.13002
  Prefactor  = 0
  Prefactor  = 5.63438e-08
  Prefactor  = 1.71874e-06
  norm       = 12.0983
  Prefactor  = 108.543
  Normalizat = 1.05811
  Prefactor  = 1.05234
 **********
 **   18 **HESSE 
 **********

 FCN=   6993.155     FROM HESSE     STATUS=OK           274 CALLS     1655 TOTAL
                     EDM=   .35E-05    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  Prefactor      .0000        1.7009        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   2  Prefactor     7.9334        16.263        .35594E-03   -1.5652    
   3  norm           .0000        3.7476        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   4  norm          1.4876        1.3343        .87866E-03   -1.5684    
   5  Prefactor     .27756E-09    62.415        .13404E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   6  Prefactor     29.286        26.820        .18506E-03   -1.5600    
   7  norm          .55511E-10    8.3130        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   8  Prefactor     45.924        38.494        .14764E-03   -1.5572    
   9  norm           .0000        1.5617        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  10  Prefactor      .0000        22.476        .16578E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  11  norm          1.1300        1.5997        .11042E-02   -1.5687    
  12  Prefactor      .0000        1.9977        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  13  Prefactor     .56344E-07    79.390        .11789E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  14  Prefactor     .17187E-05    609.79        .67937E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  15  norm          12.098        7.4087        .28746E-03   -1.5638    
  16  Prefactor     108.54        112.44        .95918E-04   -1.5500    
  17  Normalizat    1.0581        .29829        .11133       -.91108    
  18  Prefactor     1.0523        .86704E-01    .39770E-01   -.91005    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 3.49823e-06
Minuit parameter uncertainties:
  1  2.68325e-07
  2  16.2636
  3  3.06098e-06
  4  1.33429
  5  0.000257215
  6  26.8199
  7  5.23006e-05
  8  38.4938
  9  3.91041e-07
  10  3.56619e-05
  11  1.59967
  12  1.15755e-06
  13  0.00422941
  14  0.0647548
  15  7.40875
  16  112.44
  17  0.298763
  18  0.086716
Done.

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

Extracting fit parameters...

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

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

EG_v02
   Spectrum: FileFunction
459   Normalization:  1.058e+00  2.988e-01  1.000e-02  1.000e+01 ( 1.000e+00)


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

Saving results to:
/lscratch/kocevski/31071451/likelihoodResults_803865601_804124801_4FGL_J0358.6+0634_daily_bin2178.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) = 6993.16243505
delta logL = -0.00767566487139

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

MINUIT Return Code (Free Index): 102
logL (Free Index) = 6992.78797401
delta logL = 0.366785376967

Fit tolerance = 1e-08

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

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

 MIGRAD MINIMIZATION HAS CONVERGED.

 MIGRAD WILL VERIFY CONVERGENCE AND ERROR MATRIX.

 FCN=   6992.788     FROM MIGRAD    STATUS=CONVERGED     59 CALLS      260 TOTAL
                     EDM=   .91E-10    STRATEGY= 1      ERR MATRIX NOT POS-DEF

  EXT PARAMETER                APPROXIMATE        STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor     .91726E-01    1.5578        .66874E-03** at limit **
   2  Index         6.5450        2.9771        .16223        .14327E-03
   3  Normalizat    .96196        .58232E-01    .11612        .20631E-04
   4  Prefactor     1.0672        .17862E-01    .38992E-01   -.46869E-04
                               ERR DEF=  .500    
Final values: 
  Prefactor  = 0.0917263
  Index      = 6.54498
  Normalizat = 0.961965
  Prefactor  = 1.06725
 **********
 **   18 **HESSE 
 **********

 FCN=   6992.788     FROM HESSE     STATUS=NOT POSDEF    35 CALLS      295 TOTAL
                     EDM=   .44E-10    STRATEGY= 1      ERR MATRIX NOT POS-DEF

  EXT PARAMETER                APPROXIMATE     INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  Prefactor     .91726E-01    6.4598        .30488E-04   -1.5702    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   2  Index         6.5450        8.2720        .82631E-02    .31414    
   3  Normalizat    .96196        .23507        .51501E-03   -.94316    
   4  Prefactor     1.0672        .70335E-01    .15014E-03   -.90520    
                               ERR DEF=  .500    
Minuit fit quality: 2   estimated distance: 4.40028e-11
Minuit parameter uncertainties:
  1  1.53952
  2  8.86636
  3  0.235321
  4  0.0703411
shell-init: error retrieving current directory: getcwd: cannot access parent directories: No such file or directory
Done.

MINUIT Return Code (Free Index): 102
logL (Free Index) = 6992.78796779
delta logL = 0.366791600486

Extracting fit parameters...

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

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

EG_v02
   Spectrum: FileFunction
459   Normalization:  9.620e-01  2.353e-01  1.000e-02  1.000e+01 ( 1.000e+00)


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

Creating a high resolution counts map...
INFO: Auto-setting vmin to -1.000e-01 [aplpy.core]
INFO: Auto-setting vmax to  1.110e+00 [aplpy.core]
Saving /lscratch/kocevski/31071451/cmap_HighResolution_803865601_804124801_4FGL_J0358.6+0634_daily_bin2178.png

Cleaning up...

** Nuclear option initiated! **

Updating database...

UPDATE lightcurve_data_v2 SET energy_flux_upper_limit='1.36e-02', job_status='DONE', photon_flux_upper_limit='1.74e-07', time_completed='2026-07-08 18:20:59.941309', job_id='31071451', GAL2='1.07', fit_tolerance='1e-08', EG2='0.96', EG='1.06', time_epoch_completed='1783560059.94', return_code2='102', ts='-0.00', comment='SUCCESS', return_code='0', GAL='1.05', dlogl='3.67e-01', ts2='0.82', photon_index_error='0.00', photon_index='2.57' WHERE bin_id='2178' AND source_name='4FGL J0358.6+0634' AND cadence='daily';

Database successfully updated.


Analysis Complete.


Wed Jul  8 18:21:00 PDT 2026

Done.

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

Extracting fit parameters...

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

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

EG_v02
   Spectrum: FileFunction
459   Normalization:  1.058e+00  2.988e-01  1.000e-02  1.000e+01 ( 1.000e+00)


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

Saving results to:
/lscratch/kocevski/31071454/likelihoodResults_803865601_804124801_4FGL_J0358.6+0634_daily_bin2178.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) = 6993.16243505
delta logL = -0.00767566487139

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

MINUIT Return Code (Free Index): 102
logL (Free Index) = 6992.78797401
delta logL = 0.366785376967

Fit tolerance = 1e-08

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

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

 MIGRAD MINIMIZATION HAS CONVERGED.

 MIGRAD WILL VERIFY CONVERGENCE AND ERROR MATRIX.

 FCN=   6992.788     FROM MIGRAD    STATUS=CONVERGED     59 CALLS      260 TOTAL
                     EDM=   .91E-10    STRATEGY= 1      ERR MATRIX NOT POS-DEF

  EXT PARAMETER                APPROXIMATE        STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor     .91726E-01    1.5578        .66874E-03** at limit **
   2  Index         6.5450        2.9771        .16223        .14327E-03
   3  Normalizat    .96196        .58232E-01    .11612        .20631E-04
   4  Prefactor     1.0672        .17862E-01    .38992E-01   -.46869E-04
                               ERR DEF=  .500    
Final values: 
  Prefactor  = 0.0917263
  Index      = 6.54498
  Normalizat = 0.961965
  Prefactor  = 1.06725
 **********
 **   18 **HESSE 
 **********

 FCN=   6992.788     FROM HESSE     STATUS=NOT POSDEF    35 CALLS      295 TOTAL
                     EDM=   .44E-10    STRATEGY= 1      ERR MATRIX NOT POS-DEF

  EXT PARAMETER                APPROXIMATE     INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  Prefactor     .91726E-01    6.4598        .30488E-04   -1.5702    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   2  Index         6.5450        8.2720        .82631E-02    .31414    
   3  Normalizat    .96196        .23507        .51501E-03   -.94316    
   4  Prefactor     1.0672        .70335E-01    .15014E-03   -.90520    
                               ERR DEF=  .500    
Minuit fit quality: 2   estimated distance: 4.40028e-11
Minuit parameter uncertainties:
  1  1.53952
  2  8.86636
  3  0.235321
  4  0.0703411
shell-init: error retrieving current directory: getcwd: cannot access parent directories: No such file or directory
Done.

MINUIT Return Code (Free Index): 102
logL (Free Index) = 6992.78796779
delta logL = 0.366791600486

Extracting fit parameters...

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

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

EG_v02
   Spectrum: FileFunction
459   Normalization:  9.620e-01  2.353e-01  1.000e-02  1.000e+01 ( 1.000e+00)


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

Creating a high resolution counts map...
INFO: Auto-setting vmin to -1.000e-01 [aplpy.core]
INFO: Auto-setting vmax to  1.110e+00 [aplpy.core]
Saving /lscratch/kocevski/31071454/cmap_HighResolution_803865601_804124801_4FGL_J0358.6+0634_daily_bin2178.png

Cleaning up...

** Nuclear option initiated! **

Updating database...

UPDATE lightcurve_data_v2 SET energy_flux_upper_limit='1.36e-02', job_status='DONE', photon_flux_upper_limit='1.74e-07', time_completed='2026-07-08 18:21:12.922147', job_id='31071454', GAL2='1.07', fit_tolerance='1e-08', EG2='0.96', EG='1.06', time_epoch_completed='1783560072.92', return_code2='102', ts='-0.00', comment='SUCCESS', return_code='0', GAL='1.05', dlogl='3.67e-01', ts2='0.82', photon_index_error='0.00', photon_index='2.57' WHERE bin_id='2178' AND source_name='4FGL J0358.6+0634' AND cadence='daily';

Database successfully updated.


Analysis Complete.


Wed Jul  8 18:21:13 PDT 2026

ile=/lscratch/kocevski/31071600/ltcube_803865601_804124801_4FGL_J0358.6+0634_daily_bin2178.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/31071600/ft2_4FGL_J0358.6+0634_daily_bin2178.fits
.....................!
real 9.56
user 8.82
sys 0.25

Generating the exposure map:
time -p gtexpmap evfile=/lscratch/kocevski/31071600/ft1_filtered_4FGL_J0358.6+0634_daily_bin2178.fits evtable="EVENTS" scfile=/lscratch/kocevski/31071600/ft2_4FGL_J0358.6+0634_daily_bin2178.fits sctable="SC_DATA" expcube=/lscratch/kocevski/31071600/ltcube_803865601_804124801_4FGL_J0358.6+0634_daily_bin2178.fits outfile=/lscratch/kocevski/31071600/expmap_803865601_804124801_4FGL_J0358.6+0634_daily_bin2178.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/31071600/ltcube_803865601_804124801_4FGL_J0358.6+0634_daily_bin2178.fits
.....................!
real 73.57
user 68.73
sys 4.26

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

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

Creating the counts map:
time -p gtbin evfile=/lscratch/kocevski/31071600/ft1_filtered_4FGL_J0358.6+0634_daily_bin2178.fits scfile=/lscratch/kocevski/31071600/ft2_4FGL_J0358.6+0634_daily_bin2178.fits outfile=/lscratch/kocevski/31071600/cmap_803865601_804124801_4FGL_J0358.6+0634_daily_bin2178.fits algorithm="CMAP" ebinalg="LOG" emin=30.0 emax=200000.0 ebinfile=NONE tbinalg="LIN" tbinfile=NONE nxpix=160 nypix=160 binsz=0.25 coordsys="CEL" xref=59.6656 yref=6.5759 axisrot=0.0 rafield="RA" decfield="DEC" proj="AIT" hpx_ordering_scheme="RING" hpx_order=3 hpx_ebin=yes hpx_region="" evtable="EVENTS" sctable="SC_DATA" efield="ENERGY" tfield="TIME" chatter=2 clobber=yes debug=no gui=no mode="ql"

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

This is gtbin version HEAD
real 0.72
user 0.23
sys 0.14

Creating the high resolution counts map:
time -p gtbin evfile=/lscratch/kocevski/31071600/ft1_filtered_4FGL_J0358.6+0634_daily_bin2178.fits scfile=/lscratch/kocevski/31071600/ft2_4FGL_J0358.6+0634_daily_bin2178.fits outfile=/lscratch/kocevski/31071600/cmap_HighResolution_803865601_804124801_4FGL_J0358.6+0634_daily_bin2178.fits algorithm="CMAP" ebinalg="LOG" emin=30.0 emax=200000.0 ebinfile=NONE tbinalg="LIN" tbinfile=NONE nxpix=500 nypix=500 binsz=0.1 coordsys="CEL" xref=59.6656 yref=6.5759 axisrot=0.0 rafield="RA" decfield="DEC" proj="AIT" hpx_ordering_scheme="RING" hpx_order=3 hpx_ebin=yes hpx_region="" evtable="EVENTS" sctable="SC_DATA" efield="ENERGY" tfield="TIME" chatter=2 clobber=yes debug=no gui=no mode="ql"

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

This is gtbin version HEAD
real 0.61
user 0.23
sys 0.13

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

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

adding source EG_v02
adding source GAL_V02
Working on...
/lscratch/kocevski/31071600/ft1_filtered_4FGL_J0358.6+0634_daily_bin2178.fits.....................!
real 43.73
user 42.27
sys 0.72

Creating the likelihood object...
obs = UnbinnedObs('/lscratch/kocevski/31071600/ft1_filtered_4FGL_J0358.6+0634_daily_bin2178.fits', '/lscratch/kocevski/31071600/ft2_4FGL_J0358.6+0634_daily_bin2178.fits', expMap='/lscratch/kocevski/31071600/expmap_803865601_804124801_4FGL_J0358.6+0634_daily_bin2178.fits', expCube='/lscratch/kocevski/31071600/ltcube_803865601_804124801_4FGL_J0358.6+0634_daily_bin2178.fits', irfs='P8R3_SOURCE_V2')
like = UnbinnedAnalysis(obs, '/lscratch/kocevski/31071600/Model_4FGL_J0358.6+0634_daily_bin2178.xml', optimizer='MINUIT')

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

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


Likelihood Fit Parameters:
Event file(s): /lscratch/kocevski/31071600/ft1_filtered_4FGL_J0358.6+0634_daily_bin2178.fits
Spacecraft file(s): /lscratch/kocevski/31071600/ft2_4FGL_J0358.6+0634_daily_bin2178.fits
Exposure map: /lscratch/kocevski/31071600/expmap_803865601_804124801_4FGL_J0358.6+0634_daily_bin2178.fits
Exposure cube: /lscratch/kocevski/31071600/ltcube_803865601_804124801_4FGL_J0358.6+0634_daily_bin2178.fits
IRFs: P8R3_SOURCE_V2
Source model file: /lscratch/kocevski/31071600/Model_4FGL_J0358.6+0634_daily_bin2178.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) = 6993.1565522

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

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

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'Prefactor '    .41598E-05   1.0000          .0000       .10000E+07
     2 'Prefactor '    7.9250       1.0000          .0000       .10000E+07
     3 'norm      '    .21523E-05   1.0000          .0000       .10000E+07
     4 'norm      '    1.4883       1.0000          .0000       .10000E+07
     5 'Prefactor '    .12068       1.0000          .0000       .10000E+07
     6 'Prefactor '    29.208       1.0000          .0000       .10000E+07
     7 'norm      '    .27289E-03   1.0000          .0000       .10000E+07
     8 'Prefactor '    45.882       1.0000          .0000       .10000E+07
     9 'norm      '    .19318E-07   1.0000          .0000       .10000E+07
    10 'Prefactor '    .27643E-01   1.0000          .0000       .10000E+07
    11 'norm      '    1.1250       1.0000          .0000       .10000E+07
    12 'Prefactor '    .59173E-05   1.0000          .0000       .10000E+07
    13 'Prefactor '    .19928       1.0000          .0000       .10000E+07
    14 'Prefactor '    .61453       1.0000          .0000       .10000E+07
    15 'norm      '    12.122       1.0000          .0000       .10000E+07
    16 'Prefactor '    108.71       1.0000          .0000       .10000E+07
    17 'Normalizat'    1.0572       1.0000         .10000E-01   10.000    
    18 'Prefactor '    1.0524       1.0000          .0000       10.000    
 **********
 **   15 **SET ERR    .5000    
 **********
 **********
 **   16 **SET GRAD    1.000    
 **********
 **********
 **   17 **MINIMIZE    .4630E+05   .2000E-04
 **********

 MIGRAD MINIMIZATION HAS CONVERGED.

 FCN=   6993.155     FROM MIGRAD    STATUS=CONVERGED    132 CALLS     1381 TOTAL
                     EDM=   .57E-09  STRATEGY=1  ERROR MATRIX UNCERTAINTY=   .9%

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor      .0000        1.7020        .63032E-07** at limit **
   2  Prefactor     7.9334        1.9536        .24144E-08    .71343E-01
   3  norm           .0000        3.7509       -.86171E-07** at limit **
   4  norm          1.4876        1.3204        .88238E-07    .10934E-03
   5  Prefactor     .27756E-09    62.302       -.75343E-06** at limit **
   6  Prefactor     29.286        26.446       -.21433E-06   -.12641E-01
   7  norm          .55511E-10    8.3130        .16863E-06** at limit **
   8  Prefactor     45.924        4.6979       -.79995E-07    .92105E-01
   9  norm           .0000        1.5595       -.11525E-07** at limit **
  10  Prefactor      .0000        22.506       -.35213E-06** at limit **
  11  norm          1.1300        1.5538        .25397E-07   -.17007E-02
  12  Prefactor      .0000        1.9998        .20892E-07** at limit **
  13  Prefactor     .56344E-07    79.512        .11501E-06** at limit **
  14  Prefactor     .17187E-05    610.04        .86913E-05** at limit **
  15  norm          12.098        7.3235        .15479E-07    .29106E-02
  16  Prefactor     108.54        6.1632        .79942E-07    .16026    
  17  Normalizat    1.0581        .31645       -.99124E-05   -.34947E-04
  18  Prefactor     1.0523        .94391E-01    .10796E-05   -.97846E-04
                               ERR DEF=  .500    
Final values: 
  Prefactor  = 0
  Prefactor  = 7.9334
  norm       = 0
  norm       = 1.48756
  Prefactor  = 2.77556e-10
  Prefactor  = 29.286
  norm       = 5.55112e-11
  Prefactor  = 45.924
  norm       = 0
  Prefactor  = 0
  norm       = 1.13002
  Prefactor  = 0
  Prefactor  = 5.63438e-08
  Prefactor  = 1.71874e-06
  norm       = 12.0983
  Prefactor  = 108.543
  Normalizat = 1.05811
  Prefactor  = 1.05234
 **********
 **   18 **HESSE 
 **********

 FCN=   6993.155     FROM HESSE     STATUS=OK           274 CALLS     1655 TOTAL
                     EDM=   .35E-05    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  Prefactor      .0000        1.7009        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   2  Prefactor     7.9334        16.263        .35594E-03   -1.5652    
   3  norm           .0000        3.7476        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   4  norm          1.4876        1.3343        .87866E-03   -1.5684    
   5  Prefactor     .27756E-09    62.415        .13404E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   6  Prefactor     29.286        26.820        .18506E-03   -1.5600    
   7  norm          .55511E-10    8.3130        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   8  Prefactor     45.924        38.494        .14764E-03   -1.5572    
   9  norm           .0000        1.5617        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  10  Prefactor      .0000        22.476        .16578E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  11  norm          1.1300        1.5997        .11042E-02   -1.5687    
  12  Prefactor      .0000        1.9977        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  13  Prefactor     .56344E-07    79.390        .11789E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  14  Prefactor     .17187E-05    609.79        .67937E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  15  norm          12.098        7.4087        .28746E-03   -1.5638    
  16  Prefactor     108.54        112.44        .95918E-04   -1.5500    
  17  Normalizat    1.0581        .29829        .11133       -.91108    
  18  Prefactor     1.0523        .86704E-01    .39770E-01   -.91005    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 3.49823e-06
Minuit parameter uncertainties:
  1  2.68325e-07
  2  16.2636
  3  3.06098e-06
  4  1.33429
  5  0.000257215
  6  26.8199
  7  5.23006e-05
  8  38.4938
  9  3.91041e-07
  10  3.56619e-05
  11  1.59967
  12  1.15755e-06
  13  0.00422941
  14  0.0647548
  15  7.40875
  16  112.44
  17  0.298763
  18  0.086716
Done.

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

Extracting fit parameters...

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

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

EG_v02
   Spectrum: FileFunction
459   Normalization:  1.058e+00  2.988e-01  1.000e-02  1.000e+01 ( 1.000e+00)


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

Saving results to:
/lscratch/kocevski/31071600/likelihoodResults_803865601_804124801_4FGL_J0358.6+0634_daily_bin2178.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) = 6993.16243505
delta logL = -0.00767566487139

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

MINUIT Return Code (Free Index): 102
logL (Free Index) = 6992.78797401
delta logL = 0.366785376967

Fit tolerance = 1e-08

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

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

 MIGRAD MINIMIZATION HAS CONVERGED.

 MIGRAD WILL VERIFY CONVERGENCE AND ERROR MATRIX.

 FCN=   6992.788     FROM MIGRAD    STATUS=CONVERGED     59 CALLS      260 TOTAL
                     EDM=   .91E-10    STRATEGY= 1      ERR MATRIX NOT POS-DEF

  EXT PARAMETER                APPROXIMATE        STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor     .91726E-01    1.5578        .66874E-03** at limit **
   2  Index         6.5450        2.9771        .16223        .14327E-03
   3  Normalizat    .96196        .58232E-01    .11612        .20631E-04
   4  Prefactor     1.0672        .17862E-01    .38992E-01   -.46869E-04
                               ERR DEF=  .500    
Final values: 
  Prefactor  = 0.0917263
  Index      = 6.54498
  Normalizat = 0.961965
  Prefactor  = 1.06725
 **********
 **   18 **HESSE 
 **********

 FCN=   6992.788     FROM HESSE     STATUS=NOT POSDEF    35 CALLS      295 TOTAL
                     EDM=   .44E-10    STRATEGY= 1      ERR MATRIX NOT POS-DEF

  EXT PARAMETER                APPROXIMATE     INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  Prefactor     .91726E-01    6.4598        .30488E-04   -1.5702    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   2  Index         6.5450        8.2720        .82631E-02    .31414    
   3  Normalizat    .96196        .23507        .51501E-03   -.94316    
   4  Prefactor     1.0672        .70335E-01    .15014E-03   -.90520    
                               ERR DEF=  .500    
Minuit fit quality: 2   estimated distance: 4.40028e-11
Minuit parameter uncertainties:
  1  1.53952
  2  8.86636
  3  0.235321
  4  0.0703411
shell-init: error retrieving current directory: getcwd: cannot access parent directories: No such file or directory
Done.

MINUIT Return Code (Free Index): 102
logL (Free Index) = 6992.78796779
delta logL = 0.366791600486

Extracting fit parameters...

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

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

EG_v02
   Spectrum: FileFunction
459   Normalization:  9.620e-01  2.353e-01  1.000e-02  1.000e+01 ( 1.000e+00)


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

Creating a high resolution counts map...
INFO: Auto-setting vmin to -1.000e-01 [aplpy.core]
INFO: Auto-setting vmax to  1.110e+00 [aplpy.core]
Saving /lscratch/kocevski/31071600/cmap_HighResolution_803865601_804124801_4FGL_J0358.6+0634_daily_bin2178.png

Cleaning up...

** Nuclear option initiated! **

Updating database...

UPDATE lightcurve_data_v2 SET energy_flux_upper_limit='1.36e-02', job_status='DONE', photon_flux_upper_limit='1.74e-07', time_completed='2026-07-08 18:23:34.649438', job_id='31071600', GAL2='1.07', fit_tolerance='1e-08', EG2='0.96', EG='1.06', time_epoch_completed='1783560214.65', return_code2='102', ts='-0.00', comment='SUCCESS', return_code='0', GAL='1.05', dlogl='3.67e-01', ts2='0.82', photon_index_error='0.00', photon_index='2.57' WHERE bin_id='2178' AND source_name='4FGL J0358.6+0634' AND cadence='daily';

Database successfully updated.


Analysis Complete.


Wed Jul  8 18:23:35 PDT 2026

