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

 FCN=   14545.72     FROM HESSE     STATUS=OK           225 CALLS     1404 TOTAL
                     EDM=   .43E-08    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  norm          2.3759        1.7423        .12911E-04   -1.5677    
   2  Prefactor      .0000        1.7456        .84235E-04   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   3  Prefactor     4.2987        5.4616        .19509E-04   -1.5666    
   4  Prefactor     1.9696        2.3501        .19713E-04   -1.5680    
   5  Prefactor      .0000        2.5067        .18328E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   6  norm          .33307E-09    6.0272        .84235E-04   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   7  Prefactor     .27756E-09    5.2633        .84235E-04   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   8  Prefactor     12.792        10.788        .11143E-04   -1.5636    
   9  norm           .0000        1.5010        .84235E-04   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  10  Prefactor     8.1073        6.0036        .14093E-04   -1.5651    
  11  Prefactor      .0000        1.7909        .84235E-04   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  12  Prefactor     6.2001        9.5233        .16060E-04   -1.5658    
  13  norm          5.6794        6.5084        .16823E-04   -1.5660    
  14  Prefactor     1.1064        2.3890        .27131E-04   -1.5687    
  15  Prefactor     6.3311        16.200        .15463E-04   -1.5658    
  16  Normalizat    .95013        .14630        .27752E-03   -.94720    
  17  Prefactor     1.0134        .10022        .18717E-03   -.92284    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 4.33911e-09
Minuit parameter uncertainties:
  1  1.74229
  2  6.52292e-06
  3  5.4616
  4  2.35009
  5  6.76239e-06
  6  9.32069e-05
  7  7.69108e-05
  8  10.7875
  9  9.81606e-06
  10  6.00359
  11  1.09341e-05
  12  9.52336
  13  6.50838
  14  2.38899
  15  16.2002
  16  0.146366
  17  0.100242
/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).

Done.

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

Extracting fit parameters...

4FGL J0010.6+2043
   Spectrum: PowerLaw
45     Prefactor:  0.000e+00  6.523e-06  0.000e+00  1.000e+06 ( 1.000e-13)
46         Index:  2.318e+00  0.000e+00  0.000e+00  1.000e+01 (-1.000e+00) fixed
47         Scale:  1.386e+03  0.000e+00  3.000e+01  5.000e+05 ( 1.000e+00) fixed

GAL_V02
   Spectrum: PowerLaw
507    Prefactor:  1.013e+00  1.002e-01  0.000e+00  1.000e+01 ( 1.000e+00)
508        Index:  0.000e+00  0.000e+00 -1.000e+00  1.000e+00 ( 1.000e+00) fixed
509        Scale:  1.000e+02  0.000e+00  5.000e+01  2.000e+02 ( 1.000e+00) fixed

EG_v02
   Spectrum: FileFunction
506   Normalization:  9.501e-01  1.464e-01  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Fixed Index): 0.00
Ra Dec: 2.650 20.733
Photon Flux Upper Limit: 2.8999090979e-08 ph cm-2 s-1
Energy Flux Upper Limit: 0.00222830270474 MeV cm-2 s-1

Saving results to:
/lscratch/kocevski/13828283/likelihoodResults_777254401_777859201_4FGL_J0010.6+2043_weekly_bin890.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) = 14545.7199771
delta logL = -0.000620650598648

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

MINUIT Return Code (Free Index): 102
logL (Free Index) = 14545.7193574
delta logL = -9.95854861685e-07

Fit tolerance = 1e-08

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

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

 MIGRAD MINIMIZATION HAS CONVERGED.

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

 FCN=   14545.72     FROM MIGRAD    STATUS=CONVERGED     45 CALLS      231 TOTAL
                     EDM=   .20E-09  STRATEGY=1  ERROR MATRIX UNCERTAINTY=100.0%

  EXT PARAMETER                APPROXIMATE        STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor      .0000        1.2592        .42118E-03** at limit **
   2  Index         2.6647        1.8770       -.30106E-04     .0000    
   3  Normalizat    .95013        1.2829        .54185E-04   -.23232E-03
   4  Prefactor     1.0134        1.2547       -.40938E-04    .20258E-03
                               ERR DEF=  .500    
Final values: 
  Prefactor  = 0
  Index      = 2.66473
  Normalizat = 0.95013
  Prefactor  = 1.01341
 **********
 **   18 **HESSE 
 **********
  MNHESS FAILS AND WILL RETURN DIAGONAL MATRIX. 

 FCN=   14545.72     FROM HESSE     STATUS=FAILED         9 CALLS      240 TOTAL
                     EDM=   .20E-09  STRATEGY=1  ERROR MATRIX UNCERTAINTY=100.0%

  EXT PARAMETER                APPROXIMATE     INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  Prefactor      .0000        1.2592        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   2  Index         .80360        2.0820       -.30106E-04   -.48596    
   3  Normalizat    .95013        1.2829        .54185E-04   -.94720    
   4  Prefactor     1.0134        1.2547       -.40938E-04   -.92284    
                               ERR DEF=  .500    
Minuit fit quality: 1   estimated distance: 2.00171e-10
Minuit parameter uncertainties:
  1  1.12665e-05
  2  1.9385
  3  1.32834
  4  1.29399
shell-init: error retrieving current directory: getcwd: cannot access parent directories: No such file or directory
Done.

MINUIT Return Code (Free Index): 101
logL (Free Index) = 14545.7193564
delta logL = -1.54614099301e-10

Extracting fit parameters...

4FGL J0010.6+2043
   Spectrum: PowerLaw
45     Prefactor:  0.000e+00  1.127e-05  0.000e+00  1.000e+06 ( 1.000e-13)
46         Index:  2.665e+00  1.938e+00  0.000e+00  1.000e+01 (-1.000e+00)
47         Scale:  1.386e+03  0.000e+00  3.000e+01  5.000e+05 ( 1.000e+00) fixed

GAL_V02
   Spectrum: PowerLaw
507    Prefactor:  1.013e+00  1.294e+00  0.000e+00  1.000e+01 ( 1.000e+00)
508        Index:  0.000e+00  0.000e+00 -1.000e+00  1.000e+00 ( 1.000e+00) fixed
509        Scale:  1.000e+02  0.000e+00  5.000e+01  2.000e+02 ( 1.000e+00) fixed

EG_v02
   Spectrum: FileFunction
506   Normalization:  9.501e-01  1.328e+00  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Free Index): 0.00
Ra Dec: 2.650 20.733

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/13828283/cmap_HighResolution_777254401_777859201_4FGL_J0010.6+2043_weekly_bin890.png

Cleaning up...

** Nuclear option initiated! **

Updating database...

UPDATE lightcurve_data_v2 SET energy_flux_upper_limit='2.23e-03', job_status='DONE', photon_flux_upper_limit='2.90e-08', time_completed='2025-10-16 10:34:22.804015', job_id='13828283', GAL2='1.01', fit_tolerance='1e-08', EG2='0.95', EG='0.95', time_epoch_completed='1760636062.8', return_code2='101', ts='0.00', comment='SUCCESS', return_code='0', GAL='1.01', dlogl='-1.55e-10', ts2='0.00', photon_index_error='0.00', photon_index='2.32' WHERE bin_id='890' AND source_name='4FGL J0010.6+2043' AND cadence='weekly';

Database successfully updated.


Analysis Complete.


Thu Oct 16 10:34:23 PDT 2025

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


Performing analysis on: 4FGL_J0010.6+2043_weekly_bin890
RA = 2.6502, Dec = 20.7332
tmin = 777254401, tmax = 777859201
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='13828776', job_status='RUN', time_executed='2025-10-16 10:34:05.663416', time_epoch_executed='1760636045.66' WHERE source_name='4FGL J0010.6+2043' and cadence='weekly' and bin_id='890'

Database successfully updated.
Done.

Creating custom output directory:
/lscratch/kocevski/13828776

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

Retrieving the FT1 file...

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

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

Retrieving 108 files...
Done.


Merging files...

Checksum keywords updated successfully.

Merged file saved to:
/lscratch/kocevski/13828776/ft1_4FGL_J0010.6+2043_weekly_bin890.fits


Retrieving the FT1 file...

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

Retrieving 108 files...
Done.


Merging files...

Merged file saved to:
/lscratch/kocevski/13828776/ft2_4FGL_J0010.6+2043_weekly_bin890.fits


Selecting the photons:
time -p gtselect infile=/lscratch/kocevski/13828776/ft1_4FGL_J0010.6+2043_weekly_bin890.fits outfile=/lscratch/kocevski/13828776/ft1_filteredMKT_4FGL_J0010.6+2043_weekly_bin890.fits ra=2.6502 dec=20.7332 rad=12.0 tmin=777254401.0 tmax=777859201.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 4.87
user 4.17
sys 0.22

Adding sun position to ft2 file:
/sdf/group/fermi/g/LCRepository/Repository/bin/sunpos /lscratch/kocevski/13828776/ft2_4FGL_J0010.6+2043_weekly_bin890.fits

Selecting the good time intervals:
time -p gtmktime scfile=/lscratch/kocevski/13828776/ft2_4FGL_J0010.6+2043_weekly_bin890.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/13828776/ft1_filteredMKT_4FGL_J0010.6+2043_weekly_bin890.fits evtable="EVENTS" outfile="/lscratch/kocevski/13828776/ft1_filtered_4FGL_J0010.6+2043_weekly_bin890.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.70
user 0.21
sys 0.13

Number of photons that the gtmktime cut: 1351

Generating the livetime cube:
time -p gtltcube evfile="/lscratch/kocevski/13828776/ft1_filtered_4FGL_J0010.6+2043_weekly_bin890.fits" evtable="EVENTS" scfile=/lscratch/kocevski/13828776/ft2_4FGL_J0010.6+2043_weekly_bin890.fits sctable="SC_DATA" outfile=/lscratch/kocevski/13828776/ltcube_777254401_777859201_4FGL_J0010.6+2043_weekly_bin890.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/13828776/ft2_4FGL_J0010.6+2043_weekly_bin890.fits
.....................!
real 17.08
user 16.36
sys 0.24

Generating the exposure map:
time -p gtexpmap evfile=/lscratch/kocevski/13828776/ft1_filtered_4FGL_J0010.6+2043_weekly_bin890.fits evtable="EVENTS" scfile=/lscratch/kocevski/13828776/ft2_4FGL_J0010.6+2043_weekly_bin890.fits sctable="SC_DATA" expcube=/lscratch/kocevski/13828776/ltcube_777254401_777859201_4FGL_J0010.6+2043_weekly_bin890.fits outfile=/lscratch/kocevski/13828776/expmap_777254401_777859201_4FGL_J0010.6+2043_weekly_bin890.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/13828776/ltcube_777254401_777859201_4FGL_J0010.6+2043_weekly_bin890.fits
.....................!
real 64.31
user 59.88
sys 3.81

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

Setting source of interest to:
4FGL J0010.6+2043 @ 2.6502 20.7332

Creating the counts map:
time -p gtbin evfile=/lscratch/kocevski/13828776/ft1_filtered_4FGL_J0010.6+2043_weekly_bin890.fits scfile=/lscratch/kocevski/13828776/ft2_4FGL_J0010.6+2043_weekly_bin890.fits outfile=/lscratch/kocevski/13828776/cmap_777254401_777859201_4FGL_J0010.6+2043_weekly_bin890.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=2.6502 yref=20.7332 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.78
user 0.23
sys 0.12

Creating the high resolution counts map:
time -p gtbin evfile=/lscratch/kocevski/13828776/ft1_filtered_4FGL_J0010.6+2043_weekly_bin890.fits scfile=/lscratch/kocevski/13828776/ft2_4FGL_J0010.6+2043_weekly_bin890.fits outfile=/lscratch/kocevski/13828776/cmap_HighResolution_777254401_777859201_4FGL_J0010.6+2043_weekly_bin890.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=2.6502 yref=20.7332 axisrot=0.0 rafield="RA" decfield="DEC" proj="AIT" hpx_ordering_scheme="RING" hpx_order=3 hpx_ebin=yes hpx_region="" evtable="EVENTS" sctable="SC_DATA" efield="ENERGY" tfield="TIME" chatter=2 clobber=yes debug=no gui=no mode="ql"

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

This is gtbin version HEAD
real 0.73
user 0.24
sys 0.12

Computing the diffuse response:
time -p gtdiffrsp evfile=/lscratch/kocevski/13828776/ft1_filtered_4FGL_J0010.6+2043_weekly_bin890.fits evtable="EVENTS" scfile=/lscratch/kocevski/13828776/ft2_4FGL_J0010.6+2043_weekly_bin890.fits sctable="SC_DATA" srcmdl=/lscratch/kocevski/13828776/Model_4FGL_J0010.6+2043_weekly_bin890.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/13828776/ft1_filtered_4FGL_J0010.6+2043_weekly_bin890.fits.....................!
real 52.59
user 51.20
sys 0.66

Creating the likelihood object...
obs = UnbinnedObs('/lscratch/kocevski/13828776/ft1_filtered_4FGL_J0010.6+2043_weekly_bin890.fits', '/lscratch/kocevski/13828776/ft2_4FGL_J0010.6+2043_weekly_bin890.fits', expMap='/lscratch/kocevski/13828776/expmap_777254401_777859201_4FGL_J0010.6+2043_weekly_bin890.fits', expCube='/lscratch/kocevski/13828776/ltcube_777254401_777859201_4FGL_J0010.6+2043_weekly_bin890.fits', irfs='P8R3_SOURCE_V2')
like = UnbinnedAnalysis(obs, '/lscratch/kocevski/13828776/Model_4FGL_J0010.6+2043_weekly_bin890.xml', optimizer='MINUIT')

Using source of interest name: '4FGL J0010.6+2043'

4FGL J0010.6+2043
   Spectrum: PowerLaw
45     Prefactor:  1.069e+00  0.000e+00  0.000e+00  1.000e+06 ( 1.000e-13)
46         Index:  2.318e+00  0.000e+00  0.000e+00  1.000e+01 (-1.000e+00) fixed
47         Scale:  1.386e+03  0.000e+00  3.000e+01  5.000e+05 ( 1.000e+00) fixed


Likelihood Fit Parameters:
Event file(s): /lscratch/kocevski/13828776/ft1_filtered_4FGL_J0010.6+2043_weekly_bin890.fits
Spacecraft file(s): /lscratch/kocevski/13828776/ft2_4FGL_J0010.6+2043_weekly_bin890.fits
Exposure map: /lscratch/kocevski/13828776/expmap_777254401_777859201_4FGL_J0010.6+2043_weekly_bin890.fits
Exposure cube: /lscratch/kocevski/13828776/ltcube_777254401_777859201_4FGL_J0010.6+2043_weekly_bin890.fits
IRFs: P8R3_SOURCE_V2
Source model file: /lscratch/kocevski/13828776/Model_4FGL_J0010.6+2043_weekly_bin890.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) = 14546.4651832

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

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

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'norm      '    2.3783       1.0000          .0000       .10000E+07
     2 'Prefactor '    .15321E-07   1.0000          .0000       .10000E+07
     3 'Prefactor '    4.2633       1.0000          .0000       .10000E+07
     4 'Prefactor '    1.9679       1.0000          .0000       .10000E+07
     5 'Prefactor '    .21094E-08   1.0000          .0000       .10000E+07
     6 'norm      '    .13396E-02   1.0000          .0000       .10000E+07
     7 'Prefactor '    .32830E-04   1.0000          .0000       .10000E+07
     8 'Prefactor '    12.906       1.0000          .0000       .10000E+07
     9 'norm      '    .34805E-07   1.0000          .0000       .10000E+07
    10 'Prefactor '    8.0869       1.0000          .0000       .10000E+07
    11 'Prefactor '    .83267E-08   1.0000          .0000       .10000E+07
    12 'Prefactor '    6.2436       1.0000          .0000       .10000E+07
    13 'norm      '    5.6980       1.0000          .0000       .10000E+07
    14 'Prefactor '    1.1055       1.0000          .0000       .10000E+07
    15 'Prefactor '    6.7287       1.0000          .0000       .10000E+07
    16 'Normalizat'    .94980       1.0000         .10000E-01   10.000    
    17 'Prefactor '    1.0134       1.0000          .0000       10.000    
 **********
 **   15 **SET ERR    .5000    
 **********
 **********
 **   16 **SET GRAD    1.000    
 **********
 **********
 **   17 **MINIMIZE    .5100E+05   .2000E-04
 **********

 MIGRAD MINIMIZATION HAS CONVERGED.

 MIGRAD WILL VERIFY CONVERGENCE AND ERROR MATRIX.

 FCN=   14545.72     FROM MIGRAD    STATUS=CONVERGED    362 CALLS     1179 TOTAL
                     EDM=   .70E-08    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  norm          2.3759        1.7507        .66400E-03    .13262E-01
   2  Prefactor      .0000        1.7447        .42118E-03** at limit **
   3  Prefactor     4.2987        5.4803        .48773E-03    .54441E-02
   4  Prefactor     1.9696        2.3568        .73894E-03    .87602E-03
   5  Prefactor      .0000        .61843        .42118E-02** at limit **
   6  norm          .33307E-09    5.9718        .42118E-03** at limit **
   7  Prefactor     .27756E-09    5.2600        .42118E-03** at limit **
   8  Prefactor     12.792        10.805        .27857E-03   -.39432E-02
   9  norm           .0000        1.4984        .42118E-03** at limit **
  10  Prefactor     8.1073        6.0124        .35233E-03    .24821E-01
  11  Prefactor      .0000        1.7889        .42118E-03** at limit **
  12  Prefactor     6.2001        9.5297        .40150E-03    .23524E-02
  13  norm          5.6794        6.5108        .42056E-03   -.11131E-01
  14  Prefactor     1.1064        2.4424        .11262E-02    .20442E-01
  15  Prefactor     6.3311        16.208        .38659E-03    .52017E-03
  16  Normalizat    .95013        .12521        .45535E-01    .43006E-04
  17  Prefactor     1.0134        .85180E-01    .42868E-01    .48204E-04
                               ERR DEF=  .500    
Final values: 
  norm       = 2.3759
  Prefactor  = 0
  Prefactor  = 4.29874
  Prefactor  = 1.96961
  Prefactor  = 0
  norm       = 3.33067e-10
  Prefactor  = 2.77556e-10
  Prefactor  = 12.7922
  norm       = 0
  Prefactor  = 8.10726
  Prefactor  = 0
  Prefactor  = 6.20011
  norm       = 5.67944
  Prefactor  = 1.10645
  Prefactor  = 6.33109
  Normalizat = 0.950132
  Prefactor  = 1.01341
 **********
 **   18 **HESSE 
 **********

 FCN=   14545.72     FROM HESSE     STATUS=OK           225 CALLS     1404 TOTAL
                     EDM=   .43E-08    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  norm          2.3759        1.7423        .12911E-04   -1.5677    
   2  Prefactor      .0000        1.7456        .84235E-04   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   3  Prefactor     4.2987        5.4616        .19509E-04   -1.5666    
   4  Prefactor     1.9696        2.3501        .19713E-04   -1.5680    
   5  Prefactor      .0000        2.5067        .18328E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   6  norm          .33307E-09    6.0272        .84235E-04   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   7  Prefactor     .27756E-09    5.2633        .84235E-04   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   8  Prefactor     12.792        10.788        .11143E-04   -1.5636    
   9  norm           .0000        1.5010        .84235E-04   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  10  Prefactor     8.1073        6.0036        .14093E-04   -1.5651    
  11  Prefactor      .0000        1.7909        .84235E-04   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  12  Prefactor     6.2001        9.5233        .16060E-04   -1.5658    
  13  norm          5.6794        6.5084        .16823E-04   -1.5660    
  14  Prefactor     1.1064        2.3890        .27131E-04   -1.5687    
  15  Prefactor     6.3311        16.200        .15463E-04   -1.5658    
  16  Normalizat    .95013        .14630        .27752E-03   -.94720    
  17  Prefactor     1.0134        .10022        .18717E-03   -.92284    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 4.33911e-09
Minuit parameter uncertainties:
  1  1.74229
  2  6.52292e-06
  3  5.4616
  4  2.35009
  5  6.76239e-06
  6  9.32069e-05
  7  7.69108e-05
  8  10.7875
  9  9.81606e-06
  10  6.00359
  11  1.09341e-05
  12  9.52336
  13  6.50838
  14  2.38899
  15  16.2002
  16  0.146366
  17  0.100242
Done.

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

Extracting fit parameters...

4FGL J0010.6+2043
   Spectrum: PowerLaw
45     Prefactor:  0.000e+00  6.523e-06  0.000e+00  1.000e+06 ( 1.000e-13)
46         Index:  2.318e+00  0.000e+00  0.000e+00  1.000e+01 (-1.000e+00) fixed
47         Scale:  1.386e+03  0.000e+00  3.000e+01  5.000e+05 ( 1.000e+00) fixed

GAL_V02
   Spectrum: PowerLaw
507    Prefactor:  1.013e+00  1.002e-01  0.000e+00  1.000e+01 ( 1.000e+00)
508        Index:  0.000e+00  0.000e+00 -1.000e+00  1.000e+00 ( 1.000e+00) fixed
509        Scale:  1.000e+02  0.000e+00  5.000e+01  2.000e+02 ( 1.000e+00) fixed

EG_v02
   Spectrum: FileFunction
506   Normalization:  9.501e-01  1.464e-01  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Fixed Index): 0.00
Ra Dec: 2.650 20.733
Photon Flux Upper Limit: 2.8999090979e-08 ph cm-2 s-1
Energy Flux Upper Limit: 0.00222830270474 MeV cm-2 s-1

Saving results to:
/lscratch/kocevski/13828776/likelihoodResults_777254401_777859201_4FGL_J0010.6+2043_weekly_bin890.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) = 14545.7199771
delta logL = -0.000620650598648

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

MINUIT Return Code (Free Index): 102
logL (Free Index) = 14545.7193574
delta logL = -9.95854861685e-07

Fit tolerance = 1e-08

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

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

 MIGRAD MINIMIZATION HAS CONVERGED.

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

 FCN=   14545.72     FROM MIGRAD    STATUS=CONVERGED     45 CALLS      231 TOTAL
                     EDM=   .20E-09  STRATEGY=1  ERROR MATRIX UNCERTAINTY=100.0%

  EXT PARAMETER                APPROXIMATE        STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor      .0000        1.2592        .42118E-03** at limit **
   2  Index         2.6647        1.8770       -.30106E-04     .0000    
   3  Normalizat    .95013        1.2829        .54185E-04   -.23232E-03
   4  Prefactor     1.0134        1.2547       -.40938E-04    .20258E-03
                               ERR DEF=  .500    
Final values: 
  Prefactor  = 0
  Index      = 2.66473
  Normalizat = 0.95013
  Prefactor  = 1.01341
 **********
 **   18 **HESSE 
 **********
  MNHESS FAILS AND WILL RETURN DIAGONAL MATRIX. 

 FCN=   14545.72     FROM HESSE     STATUS=FAILED         9 CALLS      240 TOTAL
                     EDM=   .20E-09  STRATEGY=1  ERROR MATRIX UNCERTAINTY=100.0%

  EXT PARAMETER                APPROXIMATE     INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  Prefactor      .0000        1.2592        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   2  Index         .80360        2.0820       -.30106E-04   -.48596    
   3  Normalizat    .95013        1.2829        .54185E-04   -.94720    
   4  Prefactor     1.0134        1.2547       -.40938E-04   -.92284    
                               ERR DEF=  .500    
Minuit fit quality: 1   estimated distance: 2.00171e-10
Minuit parameter uncertainties:
  1  1.12665e-05
  2  1.9385
  3  1.32834
  4  1.29399
shell-init: error retrieving current directory: getcwd: cannot access parent directories: No such file or directory
Done.

MINUIT Return Code (Free Index): 101
logL (Free Index) = 14545.7193564
delta logL = -1.54614099301e-10

Extracting fit parameters...

4FGL J0010.6+2043
   Spectrum: PowerLaw
45     Prefactor:  0.000e+00  1.127e-05  0.000e+00  1.000e+06 ( 1.000e-13)
46         Index:  2.665e+00  1.938e+00  0.000e+00  1.000e+01 (-1.000e+00)
47         Scale:  1.386e+03  0.000e+00  3.000e+01  5.000e+05 ( 1.000e+00) fixed

GAL_V02
   Spectrum: PowerLaw
507    Prefactor:  1.013e+00  1.294e+00  0.000e+00  1.000e+01 ( 1.000e+00)
508        Index:  0.000e+00  0.000e+00 -1.000e+00  1.000e+00 ( 1.000e+00) fixed
509        Scale:  1.000e+02  0.000e+00  5.000e+01  2.000e+02 ( 1.000e+00) fixed

EG_v02
   Spectrum: FileFunction
506   Normalization:  9.501e-01  1.328e+00  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Free Index): 0.00
Ra Dec: 2.650 20.733

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/13828776/cmap_HighResolution_777254401_777859201_4FGL_J0010.6+2043_weekly_bin890.png

Cleaning up...

** Nuclear option initiated! **

Updating database...

UPDATE lightcurve_data_v2 SET energy_flux_upper_limit='2.23e-03', job_status='DONE', photon_flux_upper_limit='2.90e-08', time_completed='2025-10-16 10:44:35.692495', job_id='13828776', GAL2='1.01', fit_tolerance='1e-08', EG2='0.95', EG='0.95', time_epoch_completed='1760636675.69', return_code2='101', ts='0.00', comment='SUCCESS', return_code='0', GAL='1.01', dlogl='-1.55e-10', ts2='0.00', photon_index_error='0.00', photon_index='2.32' WHERE bin_id='890' AND source_name='4FGL J0010.6+2043' AND cadence='weekly';

Database successfully updated.


Analysis Complete.


Thu Oct 16 10:44:36 PDT 2025

