04
 **********

 MIGRAD MINIMIZATION HAS CONVERGED.

 FCN=   9647.446     FROM MIGRAD    STATUS=CONVERGED    155 CALLS     2218 TOTAL
                     EDM=   .52E-09  STRATEGY=1  ERROR MATRIX UNCERTAINTY=  2.0%

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor     .77305E-06    141.80       -.56868E-05** at limit **
   2  Prefactor     10.116        60.089        .74404E-05   -.11181E-01
   3  Prefactor     12.338        16.758       -.21237E-05    .24459E-02
   4  Prefactor      .0000        2.7709       -.90743E-06** at limit **
   5  Prefactor     1.1946        7.1747        .19444E-05   -.85497E-04
   6  Prefactor     2.1848        7.5961       -.63816E-06    .32665E-02
   7  Prefactor     32.445        13.729       -.12011E-05   -.92119E-01
   8  Prefactor     .72164E-09    23.450       -.21652E-05** at limit **
   9  Prefactor     .44409E-09    14.091        .61157E-06** at limit **
  10  Prefactor     1.0967        53.693        .24025E-04    .11803E-02
  11  Prefactor     89.280        3.4636       -.16656E-06    .80854E-01
  12  norm          1.5839        2.3104       -.12993E-05   -.88959E-03
  13  Prefactor     .16653E-09    5.9006        .11752E-05** at limit **
  14  norm          .55511E-10    19.467       -.33420E-05** at limit **
  15  Prefactor     .16653E-09    30.737       -.94778E-06** at limit **
  16  Prefactor     12.144        4.2082       -.69606E-06    .15260E-02
  17  norm          3.2272        6.2986       -.14641E-06   -.16504E-03
  18  norm           .0000        1.6309        .39654E-06** at limit **
  19  norm          7.6402        1.6266       -.94562E-07   -.21282E-02
  20  Normalizat    1.0024        .33769        .21908E-04    .45187E-04
  21  Prefactor     .92094        .93631E-01   -.70554E-05    .10589E-03
                               ERR DEF=  .500    
Final values: 
  Prefactor  = 7.73048e-07
  Prefactor  = 10.1157
  Prefactor  = 12.3377
  Prefactor  = 0
  Prefactor  = 1.19456
  Prefactor  = 2.18485
  Prefactor  = 32.445
  Prefactor  = 7.21645e-10
  Prefactor  = 4.44089e-10
  Prefactor  = 1.09669
  Prefactor  = 89.2796
  norm       = 1.58387
  Prefactor  = 1.66533e-10
  norm       = 5.55112e-11
  Prefactor  = 1.66533e-10
  Prefactor  = 12.1439
  norm       = 3.22718
  norm       = 0
  norm       = 7.64017
  Normalizat = 1.00235
  Prefactor  = 0.920939
/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)
/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).


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

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

 FCN=   9647.446     FROM HESSE     STATUS=OK           371 CALLS     2589 TOTAL
                     EDM=   .93E-05    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  Prefactor     .77305E-06    141.84        .71221E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   2  Prefactor     10.116        69.316        .33676E-03   -1.5644    
   3  Prefactor     12.338        17.258        .28164E-03   -1.5638    
   4  Prefactor      .0000        2.7667        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   5  Prefactor     1.1946        7.3244        .10962E-02   -1.5686    
   6  Prefactor     2.1848        7.7435        .70380E-03   -1.5678    
   7  Prefactor     32.445        43.573        .17410E-03   -1.5594    
   8  Prefactor     .72164E-09    23.413        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   9  Prefactor     .44409E-09    3.5691        .99816E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  10  Prefactor     1.0967        9.1245        .12300E-01   -1.5687    
  11  Prefactor     89.280        257.91        .10581E-03   -1.5519    
  12  norm          1.5839        2.3350        .84392E-03   -1.5683    
  13  Prefactor     .16653E-09    5.9386        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  14  norm          .55511E-10    19.345        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  15  Prefactor     .16653E-09    30.718        .15766E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  16  Prefactor     12.144        4.2254        .28732E-03   -1.5638    
  17  norm          3.2272        6.3171        .56457E-03   -1.5672    
  18  norm           .0000        1.6219        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  19  norm          7.6402        1.6289        .36258E-03   -1.5653    
  20  Normalizat    1.0024        .31733        .11228       -.92952    
  21  Prefactor     .92094        .83454E-01    .34379E-01   -.95413    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 9.32093e-06
Minuit parameter uncertainties:
  1  0.0209431
  2  52.9604
  3  17.2583
  4  4.12419e-06
  5  5.91591
  6  7.74357
  7  43.5735
  8  0.000261166
  9  8.12671e-05
  10  6.32672
  11  257.947
  12  2.33499
  13  6.05539e-05
  14  7.56364e-05
  15  0.000139788
  16  4.22538
  17  6.31707
  18  1.90972e-06
  19  1.62891
  20  0.317928
  21  0.0834651
Done.

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

Extracting fit parameters...

4FGL J1706.1+1000
   Spectrum: PowerLaw
265    Prefactor:  4.441e-10  8.127e-05  0.000e+00  1.000e+06 ( 1.000e-12)
266        Index:  2.699e+00  0.000e+00  0.000e+00  1.000e+01 (-1.000e+00) fixed
267        Scale:  6.133e+02  0.000e+00  3.000e+01  5.000e+05 ( 1.000e+00) fixed

GAL_V02
   Spectrum: PowerLaw
592    Prefactor:  9.209e-01  8.347e-02  0.000e+00  1.000e+01 ( 1.000e+00)
593        Index:  0.000e+00  0.000e+00 -1.000e+00  1.000e+00 ( 1.000e+00) fixed
594        Scale:  1.000e+02  0.000e+00  5.000e+01  2.000e+02 ( 1.000e+00) fixed

EG_v02
   Spectrum: FileFunction
588   Normalization:  1.002e+00  3.179e-01  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Fixed Index): -0.00
Ra Dec: 256.539 10.008
Photon Flux Upper Limit: 1.41872951071e-07 ph cm-2 s-1
Energy Flux Upper Limit: 0.0111678351153 MeV cm-2 s-1

Saving results to:
/lscratch/kocevski/31568142/likelihoodResults_804643201_804902401_4FGL_J1706.1+1000_daily_bin2181.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): 0
logL (Free Index) = 9647.48597163
delta logL = -0.0398303990896

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

MINUIT Return Code (Free Index): 102
logL (Free Index) = 9647.44614148
delta logL = -2.53736288869e-07

Fit tolerance = 1e-08

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

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

 MIGRAD MINIMIZATION HAS CONVERGED.

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

 FCN=   9647.446     FROM MIGRAD    STATUS=CONVERGED     41 CALLS      208 TOTAL
                     EDM=   .47E-13  STRATEGY=1  ERROR MATRIX UNCERTAINTY=100.0%

  EXT PARAMETER                APPROXIMATE        STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor      .0000        9.4259        .42118E-03** at limit **
   2  Index         3.0751        1.1549        .32770E-05     .0000    
   3  Normalizat    1.0023        1.3318       -.23641E-05   -.35189E-05
   4  Prefactor     .92094        1.2648       -.12728E-05   -.35932E-05
                               ERR DEF=  .500    
Final values: 
  Prefactor  = 0
  Index      = 3.07508
  Normalizat = 1.00235
  Prefactor  = 0.92094
 **********
 **   18 **HESSE 
 **********
  MNHESS FAILS AND WILL RETURN DIAGONAL MATRIX. 

 FCN=   9647.446     FROM HESSE     STATUS=FAILED         9 CALLS      217 TOTAL
                     EDM=   .47E-13  STRATEGY=1  ERROR MATRIX UNCERTAINTY=100.0%

  EXT PARAMETER                APPROXIMATE     INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  Prefactor      .0000        9.4259        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   2  Index         1.0673        2.0691        .32770E-05   -.39519    
   3  Normalizat    1.0023        1.3318       -.23641E-05   -.92952    
   4  Prefactor     .92094        1.2648       -.12728E-05   -.95413    
                               ERR DEF=  .500    
Minuit fit quality: 1   estimated distance: 4.66258e-14
Minuit parameter uncertainties:
  1  7.71708e-07
  2  1.16729
  3  1.38042
  4  1.30905
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) = 9647.44614123
delta logL = 1.81898940355e-11

Extracting fit parameters...

4FGL J1706.1+1000
   Spectrum: PowerLaw
265    Prefactor:  0.000e+00  7.717e-07  0.000e+00  1.000e+06 ( 1.000e-12)
266        Index:  3.075e+00  1.167e+00  0.000e+00  1.000e+01 (-1.000e+00)
267        Scale:  6.133e+02  0.000e+00  3.000e+01  5.000e+05 ( 1.000e+00) fixed

GAL_V02
   Spectrum: PowerLaw
592    Prefactor:  9.209e-01  1.309e+00  0.000e+00  1.000e+01 ( 1.000e+00)
593        Index:  0.000e+00  0.000e+00 -1.000e+00  1.000e+00 ( 1.000e+00) fixed
594        Scale:  1.000e+02  0.000e+00  5.000e+01  2.000e+02 ( 1.000e+00) fixed

EG_v02
   Spectrum: FileFunction
588   Normalization:  1.002e+00  1.380e+00  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Free Index): -0.00
Ra Dec: 256.539 10.008

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/31568142/cmap_HighResolution_804643201_804902401_4FGL_J1706.1+1000_daily_bin2181.png

Cleaning up...

** Nuclear option initiated! **

Updating database...

UPDATE lightcurve_data_v2 SET energy_flux_upper_limit='1.12e-02', job_status='DONE', photon_flux_upper_limit='1.42e-07', time_completed='2026-07-13 15:22:23.919308', job_id='31568142', GAL2='0.92', fit_tolerance='1e-08', EG2='1.00', EG='1.00', time_epoch_completed='1783981343.92', return_code2='101', ts='-0.00', comment='SUCCESS', return_code='0', GAL='0.92', dlogl='1.82e-11', ts2='0.00', photon_index_error='0.00', photon_index='2.70' WHERE bin_id='2181' AND source_name='4FGL J1706.1+1000' AND cadence='daily';

Database successfully updated.


Analysis Complete.


Mon Jul 13 15:22:24 PDT 2026

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


Performing analysis on: 4FGL_J1706.1+1000_daily_bin2181
RA = 256.539, Dec = 10.0079
tmin = 804643201, tmax = 804902401
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='31568770', job_status='RUN', time_executed='2026-07-13 15:21:57.102792', time_epoch_executed='1783981317.1' WHERE source_name='4FGL J1706.1+1000' and cadence='daily' and bin_id='2181'

Database successfully updated.
Done.

Creating custom output directory:
/lscratch/kocevski/31568770

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

Retrieving the FT1 file...

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

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

Retrieving 47 files...
Done.


Merging files...

Checksum keywords updated successfully.

Merged file saved to:
/lscratch/kocevski/31568770/ft1_4FGL_J1706.1+1000_daily_bin2181.fits


Retrieving the FT1 file...

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

Retrieving 47 files...
Done.


Merging files...

Merged file saved to:
/lscratch/kocevski/31568770/ft2_4FGL_J1706.1+1000_daily_bin2181.fits


Selecting the photons:
time -p gtselect infile=/lscratch/kocevski/31568770/ft1_4FGL_J1706.1+1000_daily_bin2181.fits outfile=/lscratch/kocevski/31568770/ft1_filteredMKT_4FGL_J1706.1+1000_daily_bin2181.fits ra=256.539 dec=10.0079 rad=12.0 tmin=804643201.0 tmax=804902401.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.70
user 2.34
sys 0.19

Adding sun position to ft2 file:
/sdf/group/fermi/g/LCRepository/Repository/bin/sunpos /lscratch/kocevski/31568770/ft2_4FGL_J1706.1+1000_daily_bin2181.fits

Selecting the good time intervals:
time -p gtmktime scfile=/lscratch/kocevski/31568770/ft2_4FGL_J1706.1+1000_daily_bin2181.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/31568770/ft1_filteredMKT_4FGL_J1706.1+1000_daily_bin2181.fits evtable="EVENTS" outfile="/lscratch/kocevski/31568770/ft1_filtered_4FGL_J1706.1+1000_daily_bin2181.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.44
user 0.18
sys 0.13

Number of photons that the gtmktime cut: 879

Generating the livetime cube:
time -p gtltcube evfile="/lscratch/kocevski/31568770/ft1_filtered_4FGL_J1706.1+1000_daily_bin2181.fits" evtable="EVENTS" scfile=/lscratch/kocevski/31568770/ft2_4FGL_J1706.1+1000_daily_bin2181.fits sctable="SC_DATA" outnumber of points = 7587
number of fields = 31
RA_SUN column already exists. File will not be modified.
Done.


Performing analysis on: 4FGL_J1706.1+1000_daily_bin2181
RA = 256.539, Dec = 10.0079
tmin = 804643201, tmax = 804902401
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='31568765', job_status='RUN', time_executed='2026-07-13 15:21:59.828917', time_epoch_executed='1783981319.83' WHERE source_name='4FGL J1706.1+1000' and cadence='daily' and bin_id='2181'

Database successfully updated.
Done.

Creating custom output directory:
/lscratch/kocevski/31568765

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

Retrieving the FT1 file...

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

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

Retrieving 47 files...
Done.


Merging files...

Checksum keywords updated successfully.

Merged file saved to:
/lscratch/kocevski/31568765/ft1_4FGL_J1706.1+1000_daily_bin2181.fits


Retrieving the FT1 file...

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

Retrieving 47 files...
Done.


Merging files...

Merged file saved to:
/lscratch/kocevski/31568765/ft2_4FGL_J1706.1+1000_daily_bin2181.fits


Selecting the photons:
time -p gtselect infile=/lscratch/kocevski/31568765/ft1_4FGL_J1706.1+1000_daily_bin2181.fits outfile=/lscratch/kocevski/31568765/ft1_filteredMKT_4FGL_J1706.1+1000_daily_bin2181.fits ra=256.539 dec=10.0079 rad=12.0 tmin=804643201.0 tmax=804902401.0 emin=100.0 emax=100000.0 zmin=0.0 zmax=90.0 evclass=128 evtype="INDEF" convtype=-1 phasemin=0.0 phasemax=1.0 evtable="EVENTS" chatter=2 clobber=yes debug=no gui=no mode="ql"

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

Done.
real 3.14
user 2.80
sys 0.17

Adding sun position to ft2 file:
/sdf/group/fermi/g/LCRepository/Repository/bin/sunpos /lscratch/kocevski/31568765/ft2_4FGL_J1706.1+1000_daily_bin2181.fits

Selecting the good time intervals:
time -p gtmktime scfile=/lscratch/kocevski/31568765/ft2_4FGL_J1706.1+1000_daily_bin2181.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/31568765/ft1_filteredMKT_4FGL_J1706.1+1000_daily_bin2181.fits evtable="EVENTS" outfile="/lscratch/kocevski/31568765/ft1_filtered_4FGL_J1706.1+1000_daily_bin2181.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.49
user 0.22
sys 0.12

Number of photons that the gtmktime cut: 879

Generating the livetime cube:
time -p gtltcube evfile="/lscratch/kocevski/31568765/ft1_filtered_4FGL_J1706.1+1000_daily_bin2181.fits" evtable="EVENTS" scfile=/lscratch/kocevski/31568765/ft2_4FGL_J1706.1+1000_daily_bin2181.fits sctable="SC_DATA" ouDone.

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

Extracting fit parameters...

4FGL J1706.1+1000
   Spectrum: PowerLaw
265    Prefactor:  4.441e-10  8.127e-05  0.000e+00  1.000e+06 ( 1.000e-12)
266        Index:  2.699e+00  0.000e+00  0.000e+00  1.000e+01 (-1.000e+00) fixed
267        Scale:  6.133e+02  0.000e+00  3.000e+01  5.000e+05 ( 1.000e+00) fixed

GAL_V02
   Spectrum: PowerLaw
592    Prefactor:  9.209e-01  8.347e-02  0.000e+00  1.000e+01 ( 1.000e+00)
593        Index:  0.000e+00  0.000e+00 -1.000e+00  1.000e+00 ( 1.000e+00) fixed
594        Scale:  1.000e+02  0.000e+00  5.000e+01  2.000e+02 ( 1.000e+00) fixed

EG_v02
   Spectrum: FileFunction
588   Normalization:  1.002e+00  3.179e-01  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Fixed Index): -0.00
Ra Dec: 256.539 10.008
Photon Flux Upper Limit: 1.41872951071e-07 ph cm-2 s-1
Energy Flux Upper Limit: 0.0111678351153 MeV cm-2 s-1

Saving results to:
/lscratch/kocevski/31568342/likelihoodResults_804643201_804902401_4FGL_J1706.1+1000_daily_bin2181.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): 0
logL (Free Index) = 9647.48597163
delta logL = -0.0398303990896

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

MINUIT Return Code (Free Index): 102
logL (Free Index) = 9647.44614148
delta logL = -2.53736288869e-07

Fit tolerance = 1e-08

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

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

 MIGRAD MINIMIZATION HAS CONVERGED.

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

 FCN=   9647.446     FROM MIGRAD    STATUS=CONVERGED     41 CALLS      208 TOTAL
                     EDM=   .47E-13  STRATEGY=1  ERROR MATRIX UNCERTAINTY=100.0%

  EXT PARAMETER                APPROXIMATE        STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor      .0000        9.4259        .42118E-03** at limit **
   2  Index         3.0751        1.1549        .32770E-05     .0000    
   3  Normalizat    1.0023        1.3318       -.23641E-05   -.35189E-05
   4  Prefactor     .92094        1.2648       -.12728E-05   -.35932E-05
                               ERR DEF=  .500    
Final values: 
  Prefactor  = 0
  Index      = 3.07508
  Normalizat = 1.00235
  Prefactor  = 0.92094
 **********
 **   18 **HESSE 
 **********
  MNHESS FAILS AND WILL RETURN DIAGONAL MATRIX. 

 FCN=   9647.446     FROM HESSE     STATUS=FAILED         9 CALLS      217 TOTAL
                     EDM=   .47E-13  STRATEGY=1  ERROR MATRIX UNCERTAINTY=100.0%

  EXT PARAMETER                APPROXIMATE     INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  Prefactor      .0000        9.4259        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   2  Index         1.0673        2.0691        .32770E-05   -.39519    
   3  Normalizat    1.0023        1.3318       -.23641E-05   -.92952    
   4  Prefactor     .92094        1.2648       -.12728E-05   -.95413    
                               ERR DEF=  .500    
Minuit fit quality: 1   estimated distance: 4.66258e-14
Minuit parameter uncertainties:
  1  7.71708e-07
  2  1.16729
  3  1.38042
  4  1.30905
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) = 9647.44614123
delta logL = 1.81898940355e-11

Extracting fit parameters...

4FGL J1706.1+1000
   Spectrum: PowerLaw
265    Prefactor:  0.000e+00  7.717e-07  0.000e+00  1.000e+06 ( 1.000e-12)
266        Index:  3.075e+00  1.167e+00  0.000e+00  1.000e+01 (-1.000e+00)
267        Scale:  6.133e+02  0.000e+00  3.000e+01  5.000e+05 ( 1.000e+00) fixed

GAL_V02
   Spectrum: PowerLaw
592    Prefactor:  9.209e-01  1.309e+00  0.000e+00  1.000e+01 ( 1.000e+00)
593        Index:  0.000e+00  0.000e+00 -1.000e+00  1.000e+00 ( 1.000e+00) fixed
594        Scale:  1.000e+02  0.000e+00  5.000e+01  2.000e+02 ( 1.000e+00) fixed

EG_v02
   Spectrum: FileFunction
588   Normalization:  1.002e+00  1.380e+00  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Free Index): -0.00
Ra Dec: 256.539 10.008

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/31568342/cmap_HighResolution_804643201_804902401_4FGL_J1706.1+1000_daily_bin2181.png

Cleaning up...

** Nuclear option initiated! **

Updating database...

UPDATE lightcurve_data_v2 SET energy_flux_upper_limit='1.12e-02', job_status='DONE', photon_flux_upper_limit='1.42e-07', time_completed='2026-07-13 15:22:59.966261', job_id='31568342', GAL2='0.92', fit_tolerance='1e-08', EG2='1.00', EG='1.00', time_epoch_completed='1783981379.97', return_code2='101', ts='-0.00', comment='SUCCESS', return_code='0', GAL='0.92', dlogl='1.82e-11', ts2='0.00', photon_index_error='0.00', photon_index='2.70' WHERE bin_id='2181' AND source_name='4FGL J1706.1+1000' AND cadence='daily';

Database successfully updated.


Analysis Complete.


Mon Jul 13 15:23:00 PDT 2026

file=/lscratch/kocevski/31568770/ltcube_804643201_804902401_4FGL_J1706.1+1000_daily_bin2181.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/31568770/ft2_4FGL_J1706.1+1000_daily_bin2181.fits
.....................!
real 7.33
user 6.95
sys 0.20

Generating the exposure map:
time -p gtexpmap evfile=/lscratch/kocevski/31568770/ft1_filtered_4FGL_J1706.1+1000_daily_bin2181.fits evtable="EVENTS" scfile=/lscratch/kocevski/31568770/ft2_4FGL_J1706.1+1000_daily_bin2181.fits sctable="SC_DATA" expcube=/lscratch/kocevski/31568770/ltcube_804643201_804902401_4FGL_J1706.1+1000_daily_bin2181.fits outfile=/lscratch/kocevski/31568770/expmap_804643201_804902401_4FGL_J1706.1+1000_daily_bin2181.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/31568770/ltcube_804643201_804902401_4FGL_J1706.1+1000_daily_bin2181.fits
.....................!
real 70.51
user 65.99
sys 4.03

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
Extended source FHES J1723.5-0501 in ROI with RadialGaussian spatial model.
Added 175 point sources and 1 extended sources
If using unbinned likelihood you will need to rerun gtdiffrsp for the extended sources or rerun the makeModel function with optional argument psForce=True

Setting source of interest to:
4FGL J1706.1+1000 @ 256.539 10.0079

Creating the counts map:
time -p gtbin evfile=/lscratch/kocevski/31568770/ft1_filtered_4FGL_J1706.1+1000_daily_bin2181.fits scfile=/lscratch/kocevski/31568770/ft2_4FGL_J1706.1+1000_daily_bin2181.fits outfile=/lscratch/kocevski/31568770/cmap_804643201_804902401_4FGL_J1706.1+1000_daily_bin2181.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=256.539 yref=10.0079 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.65
user 0.24
sys 0.11

Creating the high resolution counts map:
time -p gtbin evfile=/lscratch/kocevski/31568770/ft1_filtered_4FGL_J1706.1+1000_daily_bin2181.fits scfile=/lscratch/kocevski/31568770/ft2_4FGL_J1706.1+1000_daily_bin2181.fits outfile=/lscratch/kocevski/31568770/cmap_HighResolution_804643201_804902401_4FGL_J1706.1+1000_daily_bin2181.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=256.539 yref=10.0079 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.24
sys 0.13

Computing the diffuse response:
time -p gtdiffrsp evfile=/lscratch/kocevski/31568770/ft1_filtered_4FGL_J1706.1+1000_daily_bin2181.fits evtable="EVENTS" scfile=/lscratch/kocevski/31568770/ft2_4FGL_J1706.1+1000_daily_bin2181.fits sctable="SC_DATA" srcmdl=/lscratch/kocevski/31568770/Model_4FGL_J1706.1+1000_daily_bin2181.xml irfs="P8R3_SOURCE_Vtfile=/lscratch/kocevski/31568765/ltcube_804643201_804902401_4FGL_J1706.1+1000_daily_bin2181.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/31568765/ft2_4FGL_J1706.1+1000_daily_bin2181.fits
.....................!
real 8.55
user 7.92
sys 0.21

Generating the exposure map:
time -p gtexpmap evfile=/lscratch/kocevski/31568765/ft1_filtered_4FGL_J1706.1+1000_daily_bin2181.fits evtable="EVENTS" scfile=/lscratch/kocevski/31568765/ft2_4FGL_J1706.1+1000_daily_bin2181.fits sctable="SC_DATA" expcube=/lscratch/kocevski/31568765/ltcube_804643201_804902401_4FGL_J1706.1+1000_daily_bin2181.fits outfile=/lscratch/kocevski/31568765/expmap_804643201_804902401_4FGL_J1706.1+1000_daily_bin2181.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/31568765/ltcube_804643201_804902401_4FGL_J1706.1+1000_daily_bin2181.fits
.....................!
real 70.43
user 65.04
sys 4.17

Generating the xml model:
radLim = 0.001
maxRad = 12
normsOnly = True
freeVariableSources = True
Fixing all sources to their catalog values, except variable sources
Creating file and adding sources from 4FGL
Extended source FHES J1723.5-0501 in ROI with RadialGaussian spatial model.
Added 175 point sources and 1 extended sources
If using unbinned likelihood you will need to rerun gtdiffrsp for the extended sources or rerun the makeModel function with optional argument psForce=True

Setting source of interest to:
4FGL J1706.1+1000 @ 256.539 10.0079

Creating the counts map:
time -p gtbin evfile=/lscratch/kocevski/31568765/ft1_filtered_4FGL_J1706.1+1000_daily_bin2181.fits scfile=/lscratch/kocevski/31568765/ft2_4FGL_J1706.1+1000_daily_bin2181.fits outfile=/lscratch/kocevski/31568765/cmap_804643201_804902401_4FGL_J1706.1+1000_daily_bin2181.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=256.539 yref=10.0079 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.64
user 0.22
sys 0.13

Creating the high resolution counts map:
time -p gtbin evfile=/lscratch/kocevski/31568765/ft1_filtered_4FGL_J1706.1+1000_daily_bin2181.fits scfile=/lscratch/kocevski/31568765/ft2_4FGL_J1706.1+1000_daily_bin2181.fits outfile=/lscratch/kocevski/31568765/cmap_HighResolution_804643201_804902401_4FGL_J1706.1+1000_daily_bin2181.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=256.539 yref=10.0079 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.64
user 0.22
sys 0.14

Computing the diffuse response:
time -p gtdiffrsp evfile=/lscratch/kocevski/31568765/ft1_filtered_4FGL_J1706.1+1000_daily_bin2181.fits evtable="EVENTS" scfile=/lscratch/kocevski/31568765/ft2_4FGL_J1706.1+1000_daily_bin2181.fits sctable="SC_DATA" srcmdl=/lscratch/kocevski/31568765/Model_4FGL_J1706.1+1000_daily_bin2181.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 FHES J1723.5-0501
adding source GAL_V02
Working on...
/lscratch/kocevski/31568765/ft1_filtered_4FGL_J1706.1+1000_daily_bin2181.fits.....................!
real 34.07
user 32.01
sys 1.07

Creating the likelihood object...
obs = UnbinnedObs('/lscratch/kocevski/31568765/ft1_filtered_4FGL_J1706.1+1000_daily_bin2181.fits', '/lscratch/kocevski/31568765/ft2_4FGL_J1706.1+1000_daily_bin2181.fits', expMap='/lscratch/kocevski/31568765/expmap_804643201_804902401_4FGL_J1706.1+1000_daily_bin2181.fits', expCube='/lscratch/kocevski/31568765/ltcube_804643201_804902401_4FGL_J1706.1+1000_daily_bin2181.fits', irfs='P8R3_SOURCE_V2')
like = UnbinnedAnalysis(obs, '/lscratch/kocevski/31568765/Model_4FGL_J1706.1+1000_daily_bin2181.xml', optimizer='MINUIT')

Using source of interest name: '4FGL J1706.1+1000'

4FGL J1706.1+1000
   Spectrum: PowerLaw
265    Prefactor:  1.311e+00  0.000e+00  0.000e+00  1.000e+06 ( 1.000e-12)
266        Index:  2.699e+00  0.000e+00  0.000e+00  1.000e+01 (-1.000e+00) fixed
267        Scale:  6.133e+02  0.000e+00  3.000e+01  5.000e+05 ( 1.000e+00) fixed


Likelihood Fit Parameters:
Event file(s): /lscratch/kocevski/31568765/ft1_filtered_4FGL_J1706.1+1000_daily_bin2181.fits
Spacecraft file(s): /lscratch/kocevski/31568765/ft2_4FGL_J1706.1+1000_daily_bin2181.fits
Exposure map: /lscratch/kocevski/31568765/expmap_804643201_804902401_4FGL_J1706.1+1000_daily_bin2181.fits
Exposure cube: /lscratch/kocevski/31568765/ltcube_804643201_804902401_4FGL_J1706.1+1000_daily_bin2181.fits
IRFs: P8R3_SOURCE_V2
Source model file: /lscratch/kocevski/31568765/Model_4FGL_J1706.1+1000_daily_bin2181.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) = 9647.45077781

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

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

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'Prefactor '    .57801       1.0000          .0000       .10000E+07
     2 'Prefactor '    8.8460       1.0000          .0000       .10000E+07
     3 'Prefactor '    12.627       1.0000          .0000       .10000E+07
     4 'Prefactor '    .53002E-06   1.0000          .0000       .10000E+07
     5 'Prefactor '    1.1326       1.0000          .0000       .10000E+07
     6 'Prefactor '    2.1427       1.0000          .0000       .10000E+07
     7 'Prefactor '    33.000       1.0000          .0000       .10000E+07
     8 'Prefactor '    .51949E-02   1.0000          .0000       .10000E+07
     9 'Prefactor '    .20307E-01   1.0000          .0000       .10000E+07
    10 'Prefactor '    1.0392       1.0000          .0000       .10000E+07
    11 'Prefactor '    89.326       1.0000          .0000       .10000E+07
    12 'norm      '    1.5821       1.0000          .0000       .10000E+07
    13 'Prefactor '    .57205E-03   1.0000          .0000       .10000E+07
    14 'norm      '    .19041E-02   1.0000          .0000       .10000E+07
    15 'Prefactor '    .44505E-01   1.0000          .0000       .10000E+07
    16 'Prefactor '    12.135       1.0000          .0000       .10000E+07
    17 'norm      '    3.2171       1.0000          .0000       .10000E+07
    18 'norm      '    .47573E-07   1.0000          .0000       .10000E+07
    19 'norm      '    7.6397       1.0000          .0000       .10000E+07
    20 'Normalizat'    1.0033       1.0000         .10000E-01   10.000    
    21 'Prefactor '    .92087       1.0000          .0000       10.000    
 **********
 **   15 **SET ERR    .5000    
 **********
 **********
 **   16 **SET GRAD    1.000    
 **********
 **********
 **   17 **MINIMIZE    .5950E+05   .2000E-2" 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 FHES J1723.5-0501
adding source GAL_V02
Working on...
/lscratch/kocevski/31568770/ft1_filtered_4FGL_J1706.1+1000_daily_bin2181.fits.....................!
real 36.08
user 34.50
sys 1.00

Creating the likelihood object...
obs = UnbinnedObs('/lscratch/kocevski/31568770/ft1_filtered_4FGL_J1706.1+1000_daily_bin2181.fits', '/lscratch/kocevski/31568770/ft2_4FGL_J1706.1+1000_daily_bin2181.fits', expMap='/lscratch/kocevski/31568770/expmap_804643201_804902401_4FGL_J1706.1+1000_daily_bin2181.fits', expCube='/lscratch/kocevski/31568770/ltcube_804643201_804902401_4FGL_J1706.1+1000_daily_bin2181.fits', irfs='P8R3_SOURCE_V2')
like = UnbinnedAnalysis(obs, '/lscratch/kocevski/31568770/Model_4FGL_J1706.1+1000_daily_bin2181.xml', optimizer='MINUIT')

Using source of interest name: '4FGL J1706.1+1000'

4FGL J1706.1+1000
   Spectrum: PowerLaw
265    Prefactor:  1.311e+00  0.000e+00  0.000e+00  1.000e+06 ( 1.000e-12)
266        Index:  2.699e+00  0.000e+00  0.000e+00  1.000e+01 (-1.000e+00) fixed
267        Scale:  6.133e+02  0.000e+00  3.000e+01  5.000e+05 ( 1.000e+00) fixed


Likelihood Fit Parameters:
Event file(s): /lscratch/kocevski/31568770/ft1_filtered_4FGL_J1706.1+1000_daily_bin2181.fits
Spacecraft file(s): /lscratch/kocevski/31568770/ft2_4FGL_J1706.1+1000_daily_bin2181.fits
Exposure map: /lscratch/kocevski/31568770/expmap_804643201_804902401_4FGL_J1706.1+1000_daily_bin2181.fits
Exposure cube: /lscratch/kocevski/31568770/ltcube_804643201_804902401_4FGL_J1706.1+1000_daily_bin2181.fits
IRFs: P8R3_SOURCE_V2
Source model file: /lscratch/kocevski/31568770/Model_4FGL_J1706.1+1000_daily_bin2181.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) = 9647.45077781

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

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

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'Prefactor '    .57801       1.0000          .0000       .10000E+07
     2 'Prefactor '    8.8460       1.0000          .0000       .10000E+07
     3 'Prefactor '    12.627       1.0000          .0000       .10000E+07
     4 'Prefactor '    .53002E-06   1.0000          .0000       .10000E+07
     5 'Prefactor '    1.1326       1.0000          .0000       .10000E+07
     6 'Prefactor '    2.1427       1.0000          .0000       .10000E+07
     7 'Prefactor '    33.000       1.0000          .0000       .10000E+07
     8 'Prefactor '    .51949E-02   1.0000          .0000       .10000E+07
     9 'Prefactor '    .20307E-01   1.0000          .0000       .10000E+07
    10 'Prefactor '    1.0392       1.0000          .0000       .10000E+07
    11 'Prefactor '    89.326       1.0000          .0000       .10000E+07
    12 'norm      '    1.5821       1.0000          .0000       .10000E+07
    13 'Prefactor '    .57205E-03   1.0000          .0000       .10000E+07
    14 'norm      '    .19041E-02   1.0000          .0000       .10000E+07
    15 'Prefactor '    .44505E-01   1.0000          .0000       .10000E+07
    16 'Prefactor '    12.135       1.0000          .0000       .10000E+07
    17 'norm      '    3.2171       1.0000          .0000       .10000E+07
    18 'norm      '    .47573E-07   1.0000          .0000       .10000E+07
    19 'norm      '    7.6397       1.0000          .0000       .10000E+07
    20 'Normalizat'    1.0033       1.0000         .10000E-01   10.000    
    21 'Prefactor '    .92087       1.0000          .0000       10.000    
 **********
 **   15 **SET ERR    .5000    
 **********
 **********
 **   16 **SET GRAD    1.000    
 **********
 **********
 **   17 **MINIMIZE    .5950E+05   .2000E-004
 **********

 MIGRAD MINIMIZATION HAS CONVERGED.

 FCN=   9647.446     FROM MIGRAD    STATUS=CONVERGED    155 CALLS     2218 TOTAL
                     EDM=   .52E-09  STRATEGY=1  ERROR MATRIX UNCERTAINTY=  2.0%

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor     .77305E-06    141.80       -.56868E-05** at limit **
   2  Prefactor     10.116        60.089        .74404E-05   -.11181E-01
   3  Prefactor     12.338        16.758       -.21237E-05    .24459E-02
   4  Prefactor      .0000        2.7709       -.90743E-06** at limit **
   5  Prefactor     1.1946        7.1747        .19444E-05   -.85497E-04
   6  Prefactor     2.1848        7.5961       -.63816E-06    .32665E-02
   7  Prefactor     32.445        13.729       -.12011E-05   -.92119E-01
   8  Prefactor     .72164E-09    23.450       -.21652E-05** at limit **
   9  Prefactor     .44409E-09    14.091        .61157E-06** at limit **
  10  Prefactor     1.0967        53.693        .24025E-04    .11803E-02
  11  Prefactor     89.280        3.4636       -.16656E-06    .80854E-01
  12  norm          1.5839        2.3104       -.12993E-05   -.88959E-03
  13  Prefactor     .16653E-09    5.9006        .11752E-05** at limit **
  14  norm          .55511E-10    19.467       -.33420E-05** at limit **
  15  Prefactor     .16653E-09    30.737       -.94778E-06** at limit **
  16  Prefactor     12.144        4.2082       -.69606E-06    .15260E-02
  17  norm          3.2272        6.2986       -.14641E-06   -.16504E-03
  18  norm           .0000        1.6309        .39654E-06** at limit **
  19  norm          7.6402        1.6266       -.94562E-07   -.21282E-02
  20  Normalizat    1.0024        .33769        .21908E-04    .45187E-04
  21  Prefactor     .92094        .93631E-01   -.70554E-05    .10589E-03
                               ERR DEF=  .500    
Final values: 
  Prefactor  = 7.73048e-07
  Prefactor  = 10.1157
  Prefactor  = 12.3377
  Prefactor  = 0
  Prefactor  = 1.19456
  Prefactor  = 2.18485
  Prefactor  = 32.445
  Prefactor  = 7.21645e-10
  Prefactor  = 4.44089e-10
  Prefactor  = 1.09669
  Prefactor  = 89.2796
  norm       = 1.58387
  Prefactor  = 1.66533e-10
  norm       = 5.55112e-11
  Prefactor  = 1.66533e-10
  Prefactor  = 12.1439
  norm       = 3.22718
  norm       = 0
  norm       = 7.64017
  Normalizat = 1.00235
  Prefactor  = 0.920939
4
 **********

 MIGRAD MINIMIZATION HAS CONVERGED.

 FCN=   9647.446     FROM MIGRAD    STATUS=CONVERGED    155 CALLS     2218 TOTAL
                     EDM=   .52E-09  STRATEGY=1  ERROR MATRIX UNCERTAINTY=  2.0%

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor     .77305E-06    141.80       -.56868E-05** at limit **
   2  Prefactor     10.116        60.089        .74404E-05   -.11181E-01
   3  Prefactor     12.338        16.758       -.21237E-05    .24459E-02
   4  Prefactor      .0000        2.7709       -.90743E-06** at limit **
   5  Prefactor     1.1946        7.1747        .19444E-05   -.85497E-04
   6  Prefactor     2.1848        7.5961       -.63816E-06    .32665E-02
   7  Prefactor     32.445        13.729       -.12011E-05   -.92119E-01
   8  Prefactor     .72164E-09    23.450       -.21652E-05** at limit **
   9  Prefactor     .44409E-09    14.091        .61157E-06** at limit **
  10  Prefactor     1.0967        53.693        .24025E-04    .11803E-02
  11  Prefactor     89.280        3.4636       -.16656E-06    .80854E-01
  12  norm          1.5839        2.3104       -.12993E-05   -.88959E-03
  13  Prefactor     .16653E-09    5.9006        .11752E-05** at limit **
  14  norm          .55511E-10    19.467       -.33420E-05** at limit **
  15  Prefactor     .16653E-09    30.737       -.94778E-06** at limit **
  16  Prefactor     12.144        4.2082       -.69606E-06    .15260E-02
  17  norm          3.2272        6.2986       -.14641E-06   -.16504E-03
  18  norm           .0000        1.6309        .39654E-06** at limit **
  19  norm          7.6402        1.6266       -.94562E-07   -.21282E-02
  20  Normalizat    1.0024        .33769        .21908E-04    .45187E-04
  21  Prefactor     .92094        .93631E-01   -.70554E-05    .10589E-03
                               ERR DEF=  .500    
Final values: 
  Prefactor  = 7.73048e-07
  Prefactor  = 10.1157
  Prefactor  = 12.3377
  Prefactor  = 0
  Prefactor  = 1.19456
  Prefactor  = 2.18485
  Prefactor  = 32.445
  Prefactor  = 7.21645e-10
  Prefactor  = 4.44089e-10
  Prefactor  = 1.09669
  Prefactor  = 89.2796
  norm       = 1.58387
  Prefactor  = 1.66533e-10
  norm       = 5.55112e-11
  Prefactor  = 1.66533e-10
  Prefactor  = 12.1439
  norm       = 3.22718
  norm       = 0
  norm       = 7.64017
  Normalizat = 1.00235
  Prefactor  = 0.920939
 **********
 **   18 **HESSE 
 **********

 FCN=   9647.446     FROM HESSE     STATUS=OK           371 CALLS     2589 TOTAL
                     EDM=   .93E-05    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  Prefactor     .77305E-06    141.84        .71221E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   2  Prefactor     10.116        69.316        .33676E-03   -1.5644    
   3  Prefactor     12.338        17.258        .28164E-03   -1.5638    
   4  Prefactor      .0000        2.7667        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   5  Prefactor     1.1946        7.3244        .10962E-02   -1.5686    
   6  Prefactor     2.1848        7.7435        .70380E-03   -1.5678    
   7  Prefactor     32.445        43.573        .17410E-03   -1.5594    
   8  Prefactor     .72164E-09    23.413        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   9  Prefactor     .44409E-09    3.5691        .99816E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  10  Prefactor     1.0967        9.1245        .12300E-01   -1.5687    
  11  Prefactor     89.280        257.91        .10581E-03   -1.5519    
  12  norm          1.5839        2.3350        .84392E-03   -1.5683    
  13  Prefactor     .16653E-09    5.9386        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  14  norm          .55511E-10    19.345        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  15  Prefactor     .16653E-09    30.718        .15766E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  16  Prefactor     12.144        4.2254        .28732E-03   -1.5638    
  17  norm          3.2272        6.3171        .56457E-03   -1.5672    
  18  norm           .0000        1.6219        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  19  norm          7.6402        1.6289        .36258E-03   -1.5653    
  20  Normalizat    1.0024        .31733        .11228       -.92952    
  21  Prefactor     .92094        .83454E-01    .34379E-01   -.95413    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 9.32093e-06
Minuit parameter uncertainties:
  1  0.0209431
  2  52.9604
  3  17.2583
  4  4.12419e-06
  5  5.91591
  6  7.74357
  7  43.5735
  8  0.000261166
  9  8.12671e-05
  10  6.32672
  11  257.947
  12  2.33499
  13  6.05539e-05
  14  7.56364e-05
  15  0.000139788
  16  4.22538
  17  6.31707
  18  1.90972e-06
  19  1.62891
  20  0.317928
  21  0.0834651
 **********
 **   18 **HESSE 
 **********

 FCN=   9647.446     FROM HESSE     STATUS=OK           371 CALLS     2589 TOTAL
                     EDM=   .93E-05    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  Prefactor     .77305E-06    141.84        .71221E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   2  Prefactor     10.116        69.316        .33676E-03   -1.5644    
   3  Prefactor     12.338        17.258        .28164E-03   -1.5638    
   4  Prefactor      .0000        2.7667        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   5  Prefactor     1.1946        7.3244        .10962E-02   -1.5686    
   6  Prefactor     2.1848        7.7435        .70380E-03   -1.5678    
   7  Prefactor     32.445        43.573        .17410E-03   -1.5594    
   8  Prefactor     .72164E-09    23.413        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   9  Prefactor     .44409E-09    3.5691        .99816E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  10  Prefactor     1.0967        9.1245        .12300E-01   -1.5687    
  11  Prefactor     89.280        257.91        .10581E-03   -1.5519    
  12  norm          1.5839        2.3350        .84392E-03   -1.5683    
  13  Prefactor     .16653E-09    5.9386        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  14  norm          .55511E-10    19.345        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  15  Prefactor     .16653E-09    30.718        .15766E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  16  Prefactor     12.144        4.2254        .28732E-03   -1.5638    
  17  norm          3.2272        6.3171        .56457E-03   -1.5672    
  18  norm           .0000        1.6219        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  19  norm          7.6402        1.6289        .36258E-03   -1.5653    
  20  Normalizat    1.0024        .31733        .11228       -.92952    
  21  Prefactor     .92094        .83454E-01    .34379E-01   -.95413    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 9.32093e-06
Minuit parameter uncertainties:
  1  0.0209431
  2  52.9604
  3  17.2583
  4  4.12419e-06
  5  5.91591
  6  7.74357
  7  43.5735
  8  0.000261166
  9  8.12671e-05
  10  6.32672
  11  257.947
  12  2.33499
  13  6.05539e-05
  14  7.56364e-05
  15  0.000139788
  16  4.22538
  17  6.31707
  18  1.90972e-06
  19  1.62891
  20  0.317928
  21  0.0834651
Done.

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

Extracting fit parameters...

4FGL J1706.1+1000
   Spectrum: PowerLaw
265    Prefactor:  4.441e-10  8.127e-05  0.000e+00  1.000e+06 ( 1.000e-12)
266        Index:  2.699e+00  0.000e+00  0.000e+00  1.000e+01 (-1.000e+00) fixed
267        Scale:  6.133e+02  0.000e+00  3.000e+01  5.000e+05 ( 1.000e+00) fixed

GAL_V02
   Spectrum: PowerLaw
592    Prefactor:  9.209e-01  8.347e-02  0.000e+00  1.000e+01 ( 1.000e+00)
593        Index:  0.000e+00  0.000e+00 -1.000e+00  1.000e+00 ( 1.000e+00) fixed
594        Scale:  1.000e+02  0.000e+00  5.000e+01  2.000e+02 ( 1.000e+00) fixed

EG_v02
   Spectrum: FileFunction
588   Normalization:  1.002e+00  3.179e-01  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Fixed Index): -0.00
Ra Dec: 256.539 10.008
Photon Flux Upper Limit: 1.41872951071e-07 ph cm-2 s-1
Energy Flux Upper Limit: 0.0111678351153 MeV cm-2 s-1

Saving results to:
/lscratch/kocevski/31568765/likelihoodResults_804643201_804902401_4FGL_J1706.1+1000_daily_bin2181.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): 0
logL (Free Index) = 9647.48597163
delta logL = -0.0398303990896

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

MINUIT Return Code (Free Index): 102
logL (Free Index) = 9647.44614148
delta logL = -2.53736288869e-07

Fit tolerance = 1e-08

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

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

 MIGRAD MINIMIZATION HAS CONVERGED.

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

 FCN=   9647.446     FROM MIGRAD    STATUS=CONVERGED     41 CALLS      208 TOTAL
                     EDM=   .47E-13  STRATEGY=1  ERROR MATRIX UNCERTAINTY=100.0%

  EXT PARAMETER                APPROXIMATE        STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor      .0000        9.4259        .42118E-03** at limit **
   2  Index         3.0751        1.1549        .32770E-05     .0000    
   3  Normalizat    1.0023        1.3318       -.23641E-05   -.35189E-05
   4  Prefactor     .92094        1.2648       -.12728E-05   -.35932E-05
                               ERR DEF=  .500    
Final values: 
  Prefactor  = 0
  Index      = 3.07508
  Normalizat = 1.00235
  Prefactor  = 0.92094
 **********
 **   18 **HESSE 
 **********
  MNHESS FAILS AND WILL RETURN DIAGONAL MATRIX. 

 FCN=   9647.446     FROM HESSE     STATUS=FAILED         9 CALLS      217 TOTAL
                     EDM=   .47E-13  STRATEGY=1  ERROR MATRIX UNCERTAINTY=100.0%

  EXT PARAMETER                APPROXIMATE     INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  Prefactor      .0000        9.4259        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   2  Index         1.0673        2.0691        .32770E-05   -.39519    
   3  Normalizat    1.0023        1.3318       -.23641E-05   -.92952    
   4  Prefactor     .92094        1.2648       -.12728E-05   -.95413    
                               ERR DEF=  .500    
Minuit fit quality: 1   estimated distance: 4.66258e-14
Minuit parameter uncertainties:
  1  7.71708e-07
  2  1.16729
  3  1.38042
  4  1.30905
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) = 9647.44614123
delta logL = 1.81898940355e-11

Extracting fit parameters...

4FGL J1706.1+1000
   Spectrum: PowerLaw
265    Prefactor:  0.000e+00  7.717e-07  0.000e+00  1.000e+06 ( 1.000e-12)
266        Index:  3.075e+00  1.167e+00  0.000e+00  1.000e+01 (-1.000e+00)
267        Scale:  6.133e+02  0.000e+00  3.000e+01  5.000e+05 ( 1.000e+00) fixed

GAL_V02
   Spectrum: PowerLaw
592    Prefactor:  9.209e-01  1.309e+00  0.000e+00  1.000e+01 ( 1.000e+00)
593        Index:  0.000e+00  0.000e+00 -1.000e+00  1.000e+00 ( 1.000e+00) fixed
594        Scale:  1.000e+02  0.000e+00  5.000e+01  2.000e+02 ( 1.000e+00) fixed

EG_v02
   Spectrum: FileFunction
588   Normalization:  1.002e+00  1.380e+00  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Free Index): -0.00
Ra Dec: 256.539 10.008

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/31568765/cmap_HighResolution_804643201_804902401_4FGL_J1706.1+1000_daily_bin2181.png

Cleaning up...

** Nuclear option initiated! **

Updating database...

UPDATE lightcurve_data_v2 SET energy_flux_upper_limit='1.12e-02', job_status='DONE', photon_flux_upper_limit='1.42e-07', time_completed='2026-07-13 15:28:03.836026', job_id='31568765', GAL2='0.92', fit_tolerance='1e-08', EG2='1.00', EG='1.00', time_epoch_completed='1783981683.84', return_code2='101', ts='-0.00', comment='SUCCESS', return_code='0', GAL='0.92', dlogl='1.82e-11', ts2='0.00', photon_index_error='0.00', photon_index='2.70' WHERE bin_id='2181' AND source_name='4FGL J1706.1+1000' AND cadence='daily';

Database successfully updated.


Analysis Complete.


Mon Jul 13 15:28:04 PDT 2026

Done.

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

Extracting fit parameters...

4FGL J1706.1+1000
   Spectrum: PowerLaw
265    Prefactor:  4.441e-10  8.127e-05  0.000e+00  1.000e+06 ( 1.000e-12)
266        Index:  2.699e+00  0.000e+00  0.000e+00  1.000e+01 (-1.000e+00) fixed
267        Scale:  6.133e+02  0.000e+00  3.000e+01  5.000e+05 ( 1.000e+00) fixed

GAL_V02
   Spectrum: PowerLaw
592    Prefactor:  9.209e-01  8.347e-02  0.000e+00  1.000e+01 ( 1.000e+00)
593        Index:  0.000e+00  0.000e+00 -1.000e+00  1.000e+00 ( 1.000e+00) fixed
594        Scale:  1.000e+02  0.000e+00  5.000e+01  2.000e+02 ( 1.000e+00) fixed

EG_v02
   Spectrum: FileFunction
588   Normalization:  1.002e+00  3.179e-01  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Fixed Index): -0.00
Ra Dec: 256.539 10.008
Photon Flux Upper Limit: 1.41872951071e-07 ph cm-2 s-1
Energy Flux Upper Limit: 0.0111678351153 MeV cm-2 s-1

Saving results to:
/lscratch/kocevski/31568770/likelihoodResults_804643201_804902401_4FGL_J1706.1+1000_daily_bin2181.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): 0
logL (Free Index) = 9647.48597163
delta logL = -0.0398303990896

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

MINUIT Return Code (Free Index): 102
logL (Free Index) = 9647.44614148
delta logL = -2.53736288869e-07

Fit tolerance = 1e-08

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

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

 MIGRAD MINIMIZATION HAS CONVERGED.

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

 FCN=   9647.446     FROM MIGRAD    STATUS=CONVERGED     41 CALLS      208 TOTAL
                     EDM=   .47E-13  STRATEGY=1  ERROR MATRIX UNCERTAINTY=100.0%

  EXT PARAMETER                APPROXIMATE        STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor      .0000        9.4259        .42118E-03** at limit **
   2  Index         3.0751        1.1549        .32770E-05     .0000    
   3  Normalizat    1.0023        1.3318       -.23641E-05   -.35189E-05
   4  Prefactor     .92094        1.2648       -.12728E-05   -.35932E-05
                               ERR DEF=  .500    
Final values: 
  Prefactor  = 0
  Index      = 3.07508
  Normalizat = 1.00235
  Prefactor  = 0.92094
 **********
 **   18 **HESSE 
 **********
  MNHESS FAILS AND WILL RETURN DIAGONAL MATRIX. 

 FCN=   9647.446     FROM HESSE     STATUS=FAILED         9 CALLS      217 TOTAL
                     EDM=   .47E-13  STRATEGY=1  ERROR MATRIX UNCERTAINTY=100.0%

  EXT PARAMETER                APPROXIMATE     INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  Prefactor      .0000        9.4259        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   2  Index         1.0673        2.0691        .32770E-05   -.39519    
   3  Normalizat    1.0023        1.3318       -.23641E-05   -.92952    
   4  Prefactor     .92094        1.2648       -.12728E-05   -.95413    
                               ERR DEF=  .500    
Minuit fit quality: 1   estimated distance: 4.66258e-14
Minuit parameter uncertainties:
  1  7.71708e-07
  2  1.16729
  3  1.38042
  4  1.30905
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) = 9647.44614123
delta logL = 1.81898940355e-11

Extracting fit parameters...

4FGL J1706.1+1000
   Spectrum: PowerLaw
265    Prefactor:  0.000e+00  7.717e-07  0.000e+00  1.000e+06 ( 1.000e-12)
266        Index:  3.075e+00  1.167e+00  0.000e+00  1.000e+01 (-1.000e+00)
267        Scale:  6.133e+02  0.000e+00  3.000e+01  5.000e+05 ( 1.000e+00) fixed

GAL_V02
   Spectrum: PowerLaw
592    Prefactor:  9.209e-01  1.309e+00  0.000e+00  1.000e+01 ( 1.000e+00)
593        Index:  0.000e+00  0.000e+00 -1.000e+00  1.000e+00 ( 1.000e+00) fixed
594        Scale:  1.000e+02  0.000e+00  5.000e+01  2.000e+02 ( 1.000e+00) fixed

EG_v02
   Spectrum: FileFunction
588   Normalization:  1.002e+00  1.380e+00  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Free Index): -0.00
Ra Dec: 256.539 10.008

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/31568770/cmap_HighResolution_804643201_804902401_4FGL_J1706.1+1000_daily_bin2181.png

Cleaning up...

** Nuclear option initiated! **

Updating database...

UPDATE lightcurve_data_v2 SET energy_flux_upper_limit='1.12e-02', job_status='DONE', photon_flux_upper_limit='1.42e-07', time_completed='2026-07-13 15:28:07.225811', job_id='31568770', GAL2='0.92', fit_tolerance='1e-08', EG2='1.00', EG='1.00', time_epoch_completed='1783981687.23', return_code2='101', ts='-0.00', comment='SUCCESS', return_code='0', GAL='0.92', dlogl='1.82e-11', ts2='0.00', photon_index_error='0.00', photon_index='2.70' WHERE bin_id='2181' AND source_name='4FGL J1706.1+1000' AND cadence='daily';

Database successfully updated.


Analysis Complete.


Mon Jul 13 15:28:07 PDT 2026

