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

 FCN=   15364.08     FROM HESSE     STATUS=OK           278 CALLS     1570 TOTAL
                     EDM=   .56E-06    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  Prefactor     .40523E-08    29.044        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   2  Prefactor      .0000        3.0385        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   3  Prefactor     7.1640        11.232        .37445E-03   -1.5654    
   4  Prefactor      .0000        4.7901        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   5  Prefactor      .0000        3.6270        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   6  Prefactor     .16653E-09    7.3819        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   7  Prefactor     33.136        30.694        .17416E-03   -1.5593    
   8  Prefactor     19.789        19.947        .22538E-03   -1.5619    
   9  Prefactor     10.907        6.2113        .30347E-03   -1.5642    
  10  Prefactor     .41911E-07    4.0255        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  11  norm           .0000        1.0953        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  12  Prefactor     1.6344        19.350        .84078E-03   -1.5682    
  13  norm          .39579E-07    4.0143        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  14  Prefactor     14.457        49.975        .25882E-03   -1.5632    
  15  Prefactor     5.0174        2.7161        .44837E-03   -1.5663    
  16  norm          .77716E-09    17.354        .15756E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  17  Normalizat    .99473        .19500        .99040E-01   -.93207    
  18  Prefactor     1.1373        .74872E-01    .36321E-01   -.88285    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 5.57694e-07
Minuit parameter uncertainties:
  1  0.00068414
  2  1.57949e-06
  3  11.2325
  4  1.01396e-05
  5  1.35855e-06
  6  6.84949e-05
  7  30.694
  8  19.9466
  9  6.21133
  10  0.00082139
  11  2.11436e-06
  12  11.2472
  13  0.00079743
  14  49.9764
  15  2.71613
  16  0.000232363
  17  0.19514
  18  0.074879
utfile=/lscratch/kocevski/38742389/ltcube_811382401_811641601_4FGL_J1707.5+1649_daily_bin2207.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/38742389/ft2_4FGL_J1707.5+1649_daily_bin2207.fits
.....................!
real 9.45
user 8.75
sys 0.20

Generating the exposure map:
time -p gtexpmap evfile=/lscratch/kocevski/38742389/ft1_filtered_4FGL_J1707.5+1649_daily_bin2207.fits evtable="EVENTS" scfile=/lscratch/kocevski/38742389/ft2_4FGL_J1707.5+1649_daily_bin2207.fits sctable="SC_DATA" expcube=/lscratch/kocevski/38742389/ltcube_811382401_811641601_4FGL_J1707.5+1649_daily_bin2207.fits outfile=/lscratch/kocevski/38742389/expmap_811382401_811641601_4FGL_J1707.5+1649_daily_bin2207.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/38742389/ltcube_811382401_811641601_4FGL_J1707.5+1649_daily_bin2207.fits
.....................!
real 75.97
user 69.73
sys 4.39

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

Setting source of interest to:
4FGL J1707.5+1649 @ 256.881 16.8206

Creating the counts map:
time -p gtbin evfile=/lscratch/kocevski/38742389/ft1_filtered_4FGL_J1707.5+1649_daily_bin2207.fits scfile=/lscratch/kocevski/38742389/ft2_4FGL_J1707.5+1649_daily_bin2207.fits outfile=/lscratch/kocevski/38742389/cmap_811382401_811641601_4FGL_J1707.5+1649_daily_bin2207.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.881 yref=16.8206 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.57
user 0.22
sys 0.12

Creating the high resolution counts map:
time -p gtbin evfile=/lscratch/kocevski/38742389/ft1_filtered_4FGL_J1707.5+1649_daily_bin2207.fits scfile=/lscratch/kocevski/38742389/ft2_4FGL_J1707.5+1649_daily_bin2207.fits outfile=/lscratch/kocevski/38742389/cmap_HighResolution_811382401_811641601_4FGL_J1707.5+1649_daily_bin2207.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.881 yref=16.8206 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.94
user 0.24
sys 0.12

Computing the diffuse response:
time -p gtdiffrsp evfile=/lscratch/kocevski/38742389/ft1_filtered_4FGL_J1707.5+1649_daily_bin2207.fits evtable="EVENTS" scfile=/lscratch/kocevski/38742389/ft2_4FGL_J1707.5+1649_daily_bin2207.fits sctable="SC_DATA" srcmdl=/lscratch/kocevski/38742389/Model_4FGL_J1707.5+1649_daily_bin2207.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 GA/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
/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).


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/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).

tfile=/lscratch/kocevski/38742385/ltcube_811382401_811641601_4FGL_J1707.5+1649_daily_bin2207.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/38742385/ft2_4FGL_J1707.5+1649_daily_bin2207.fits
.....................!
real 9.96
user 9.14
sys 0.21

Generating the exposure map:
time -p gtexpmap evfile=/lscratch/kocevski/38742385/ft1_filtered_4FGL_J1707.5+1649_daily_bin2207.fits evtable="EVENTS" scfile=/lscratch/kocevski/38742385/ft2_4FGL_J1707.5+1649_daily_bin2207.fits sctable="SC_DATA" expcube=/lscratch/kocevski/38742385/ltcube_811382401_811641601_4FGL_J1707.5+1649_daily_bin2207.fits outfile=/lscratch/kocevski/38742385/expmap_811382401_811641601_4FGL_J1707.5+1649_daily_bin2207.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/38742385/ltcube_811382401_811641601_4FGL_J1707.5+1649_daily_bin2207.fits
.....................!
real 79.18
user 72.45
sys 4.42

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

Setting source of interest to:
4FGL J1707.5+1649 @ 256.881 16.8206

Creating the counts map:
time -p gtbin evfile=/lscratch/kocevski/38742385/ft1_filtered_4FGL_J1707.5+1649_daily_bin2207.fits scfile=/lscratch/kocevski/38742385/ft2_4FGL_J1707.5+1649_daily_bin2207.fits outfile=/lscratch/kocevski/38742385/cmap_811382401_811641601_4FGL_J1707.5+1649_daily_bin2207.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.881 yref=16.8206 axisrot=0.0 rafield="RA" decfield="DEC" proj="AIT" hpx_ordering_scheme="RING" hpx_order=3 hpx_ebin=yes hpx_region="" evtable="EVENTS" sctable="SC_DATA" efield="ENERGY" tfield="TIME" chatter=2 clobber=yes debug=no gui=no mode="ql"

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

This is gtbin version HEAD
real 0.72
user 0.24
sys 0.12

Creating the high resolution counts map:
time -p gtbin evfile=/lscratch/kocevski/38742385/ft1_filtered_4FGL_J1707.5+1649_daily_bin2207.fits scfile=/lscratch/kocevski/38742385/ft2_4FGL_J1707.5+1649_daily_bin2207.fits outfile=/lscratch/kocevski/38742385/cmap_HighResolution_811382401_811641601_4FGL_J1707.5+1649_daily_bin2207.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.881 yref=16.8206 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.57
user 0.25
sys 0.13

Computing the diffuse response:
time -p gtdiffrsp evfile=/lscratch/kocevski/38742385/ft1_filtered_4FGL_J1707.5+1649_daily_bin2207.fits evtable="EVENTS" scfile=/lscratch/kocevski/38742385/ft2_4FGL_J1707.5+1649_daily_bin2207.fits sctable="SC_DATA" srcmdl=/lscratch/kocevski/38742385/Model_4FGL_J1707.5+1649_daily_bin2207.xml irfs="P8R3_SOURCE_V2" evclsmin=0 evclass="INDEF" evtype="INDEF" convert=yes chatter=2 clobber=yes debug=no gui=no mode="ql"

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

adding source EG_v02
adding source GALL_V02
Working on...
/lscratch/kocevski/38742356/ft1_filtered_4FGL_J1707.5+1649_daily_bin2207.fits.....................!
real 50.70
user 48.69
sys 1.08

Creating the likelihood object...
obs = UnbinnedObs('/lscratch/kocevski/38742356/ft1_filtered_4FGL_J1707.5+1649_daily_bin2207.fits', '/lscratch/kocevski/38742356/ft2_4FGL_J1707.5+1649_daily_bin2207.fits', expMap='/lscratch/kocevski/38742356/expmap_811382401_811641601_4FGL_J1707.5+1649_daily_bin2207.fits', expCube='/lscratch/kocevski/38742356/ltcube_811382401_811641601_4FGL_J1707.5+1649_daily_bin2207.fits', irfs='P8R3_SOURCE_V2')
like = UnbinnedAnalysis(obs, '/lscratch/kocevski/38742356/Model_4FGL_J1707.5+1649_daily_bin2207.xml', optimizer='MINUIT')

Using source of interest name: '4FGL J1707.5+1649'

4FGL J1707.5+1649
   Spectrum: PowerLaw
271    Prefactor:  2.274e+00  0.000e+00  0.000e+00  1.000e+06 ( 1.000e-13)
272        Index:  2.254e+00  0.000e+00  0.000e+00  1.000e+01 (-1.000e+00) fixed
273        Scale:  1.429e+03  0.000e+00  3.000e+01  5.000e+05 ( 1.000e+00) fixed


Likelihood Fit Parameters:
Event file(s): /lscratch/kocevski/38742356/ft1_filtered_4FGL_J1707.5+1649_daily_bin2207.fits
Spacecraft file(s): /lscratch/kocevski/38742356/ft2_4FGL_J1707.5+1649_daily_bin2207.fits
Exposure map: /lscratch/kocevski/38742356/expmap_811382401_811641601_4FGL_J1707.5+1649_daily_bin2207.fits
Exposure cube: /lscratch/kocevski/38742356/ltcube_811382401_811641601_4FGL_J1707.5+1649_daily_bin2207.fits
IRFs: P8R3_SOURCE_V2
Source model file: /lscratch/kocevski/38742356/Model_4FGL_J1707.5+1649_daily_bin2207.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) = 15364.0841158

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

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

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'Prefactor '    .66751E-02   1.0000          .0000       .10000E+07
     2 'Prefactor '    .11796E-03   1.0000          .0000       .10000E+07
     3 'Prefactor '    7.1672       1.0000          .0000       .10000E+07
     4 'Prefactor '    .20534E-03   1.0000          .0000       .10000E+07
     5 'Prefactor '    .67954E-03   1.0000          .0000       .10000E+07
     6 'Prefactor '    .80687E-02   1.0000          .0000       .10000E+07
     7 'Prefactor '    32.976       1.0000          .0000       .10000E+07
     8 'Prefactor '    19.699       1.0000          .0000       .10000E+07
     9 'Prefactor '    10.881       1.0000          .0000       .10000E+07
    10 'Prefactor '    .85222E-04   1.0000          .0000       .10000E+07
    11 'norm      '    .34195E-07   1.0000          .0000       .10000E+07
    12 'Prefactor '    1.5913       1.0000          .0000       .10000E+07
    13 'norm      '    .10428E-03   1.0000          .0000       .10000E+07
    14 'Prefactor '    14.945       1.0000          .0000       .10000E+07
    15 'Prefactor '    5.0244       1.0000          .0000       .10000E+07
    16 'norm      '    .44751E-01   1.0000          .0000       .10000E+07
    17 'Normalizat'    .99513       1.0000         .10000E-01   10.000    
    18 'Prefactor '    1.1371       1.0000          .0000       10.000    
 **********
 **   15 **SET ERR    .5000    
 **********
 **********
 **   16 **SET GRAD    1.000    
 **********
 **********
 **   17 **MINIMIZE    .6240E+05   .2000E-04
 **********

 MIGRAD MINIMIZATION HAS CONVERGED.

 FCN=   15364.08     FROM MIGRAD    STATUS=CONVERGED    127 CALLS     1292 TOTAL
                     EDM=   .33E-09  STRATEGY=1  ERROR MATRIX UNCERTAINTY=  1.1%

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor     .40523E-08    29.095        .64207E-06** at limit **
   2  Prefactor      .0000        3.0347       -.59073E-07** at limit **
   3  Prefactor     7.1640        8.9549        .22424E-05   -.22320E-01
   4  Prefactor      .0000        4.8128        .38335E-06** at limit **
   5  Prefactor      .0000        3.6373       -.11214E-06** at limit **
   6  Prefactor     .16653E-09    7.3717       -.34201E-06** at limit **
   7  Prefactor     33.136        6.1543       -.35356E-06    .68790E-01
   8  Prefactor     19.789        19.491        .19105E-05    .84414E-02
   9  Prefactor     10.907        6.1887       -.51175E-08   -.81802E-03
  10  Prefactor     .41911E-07    2.6350        .13350E-05** at limit **
  11  norm           .0000        1.1017       -.12051E-08** at limit **
  12  Prefactor     1.6344        2.9289       -.13347E-05   -.33002E-02
  13  norm          .39579E-07    2.7442       -.13237E-05** at limit **
  14  Prefactor     14.457        49.493       -.42978E-05    .35523E-02
  15  Prefactor     5.0174        2.6448       -.42407E-07   -.13923E-02
  16  norm          .77716E-09    17.340       -.12047E-05** at limit **
  17  Normalizat    .99473        .22058        .14476E-07    .55046E-04
  18  Prefactor     1.1373        .86056E-01   -.75086E-06   -.16367E-03
                               ERR DEF=  .500    
Final values: 
  Prefactor  = 4.05231e-09
  Prefactor  = 0
  Prefactor  = 7.16397
  Prefactor  = 0
  Prefactor  = 0
  Prefactor  = 1.66533e-10
  Prefactor  = 33.1365
  Prefactor  = 19.789
  Prefactor  = 10.9073
  Prefactor  = 4.19109e-08
  norm       = 0
  Prefactor  = 1.63436
  norm       = 3.95795e-08
  Prefactor  = 14.4571
  Prefactor  = 5.01743
  norm       = 7.77156e-10
  Normalizat = 0.994726
  Prefactor  = 1.13726
AL_V02
Working on...
/lscratch/kocevski/38742252/ft1_filtered_4FGL_J1707.5+1649_daily_bin2207.fits.....................!
real 55.36
user 53.41
sys 1.31

Creating the likelihood object...
obs = UnbinnedObs('/lscratch/kocevski/38742252/ft1_filtered_4FGL_J1707.5+1649_daily_bin2207.fits', '/lscratch/kocevski/38742252/ft2_4FGL_J1707.5+1649_daily_bin2207.fits', expMap='/lscratch/kocevski/38742252/expmap_811382401_811641601_4FGL_J1707.5+1649_daily_bin2207.fits', expCube='/lscratch/kocevski/38742252/ltcube_811382401_811641601_4FGL_J1707.5+1649_daily_bin2207.fits', irfs='P8R3_SOURCE_V2')
like = UnbinnedAnalysis(obs, '/lscratch/kocevski/38742252/Model_4FGL_J1707.5+1649_daily_bin2207.xml', optimizer='MINUIT')

Using source of interest name: '4FGL J1707.5+1649'

4FGL J1707.5+1649
   Spectrum: PowerLaw
271    Prefactor:  2.274e+00  0.000e+00  0.000e+00  1.000e+06 ( 1.000e-13)
272        Index:  2.254e+00  0.000e+00  0.000e+00  1.000e+01 (-1.000e+00) fixed
273        Scale:  1.429e+03  0.000e+00  3.000e+01  5.000e+05 ( 1.000e+00) fixed


Likelihood Fit Parameters:
Event file(s): /lscratch/kocevski/38742252/ft1_filtered_4FGL_J1707.5+1649_daily_bin2207.fits
Spacecraft file(s): /lscratch/kocevski/38742252/ft2_4FGL_J1707.5+1649_daily_bin2207.fits
Exposure map: /lscratch/kocevski/38742252/expmap_811382401_811641601_4FGL_J1707.5+1649_daily_bin2207.fits
Exposure cube: /lscratch/kocevski/38742252/ltcube_811382401_811641601_4FGL_J1707.5+1649_daily_bin2207.fits
IRFs: P8R3_SOURCE_V2
Source model file: /lscratch/kocevski/38742252/Model_4FGL_J1707.5+1649_daily_bin2207.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) = 15364.0841158

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

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

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'Prefactor '    .66751E-02   1.0000          .0000       .10000E+07
     2 'Prefactor '    .11796E-03   1.0000          .0000       .10000E+07
     3 'Prefactor '    7.1672       1.0000          .0000       .10000E+07
     4 'Prefactor '    .20534E-03   1.0000          .0000       .10000E+07
     5 'Prefactor '    .67954E-03   1.0000          .0000       .10000E+07
     6 'Prefactor '    .80687E-02   1.0000          .0000       .10000E+07
     7 'Prefactor '    32.976       1.0000          .0000       .10000E+07
     8 'Prefactor '    19.699       1.0000          .0000       .10000E+07
     9 'Prefactor '    10.881       1.0000          .0000       .10000E+07
    10 'Prefactor '    .85222E-04   1.0000          .0000       .10000E+07
    11 'norm      '    .34195E-07   1.0000          .0000       .10000E+07
    12 'Prefactor '    1.5913       1.0000          .0000       .10000E+07
    13 'norm      '    .10428E-03   1.0000          .0000       .10000E+07
    14 'Prefactor '    14.945       1.0000          .0000       .10000E+07
    15 'Prefactor '    5.0244       1.0000          .0000       .10000E+07
    16 'norm      '    .44751E-01   1.0000          .0000       .10000E+07
    17 'Normalizat'    .99513       1.0000         .10000E-01   10.000    
    18 'Prefactor '    1.1371       1.0000          .0000       10.000    
 **********
 **   15 **SET ERR    .5000    
 **********
 **********
 **   16 **SET GRAD    1.000    
 **********
 **********
 **   17 **MINIMIZE    .6240E+05   .2000E-04
 **********

 MIGRAD MINIMIZATION HAS CONVERGED.

 FCN=   15364.08     FROM MIGRAD    STATUS=CONVERGED    127 CALLS     1292 TOTAL
                     EDM=   .33E-09  STRATEGY=1  ERROR MATRIX UNCERTAINTY=  1.1%

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor     .40523E-08    29.095        .64207E-06** at limit **
   2  Prefactor      .0000        3.0347       -.59073E-07** at limit **
   3  Prefactor     7.1640        8.9549        .22424E-05   -.22320E-01
   4  Prefactor      .0000        4.8128        .38335E-06** at limit **
   5  Prefactor      .0000        3.6373       -.11214E-06** at limit **
   6  Prefactor     .16653E-09    7.3717       -.34201E-06** at limit **
   7  Prefactor     33.136        6.1543       -.35356E-06    .68790E-01
   8  Prefactor     19.789        19.491        .19105E-05    .84414E-02
   9  Prefactor     10.907        6.1887       -.51175E-08   -.81802E-03
  10  Prefactor     .41911E-07    2.6350        .13350E-05** at limit **
  11  norm           .0000        1.1017       -.12051E-08** at limit **
  12  Prefactor     1.6344        2.9289       -.13347E-05   -.33002E-02
  13  norm          .39579E-07    2.7442       -.13237E-05** at limit **
  14  Prefactor     14.457        49.493       -.42978E-05    .35523E-02
  15  Prefactor     5.0174        2.6448       -.42407E-07   -.13923E-02
  16  norm          .77716E-09    17.340       -.12047E-05** at limit **
  17  Normalizat    .99473        .22058        .14476E-07    .55046E-04
  18  Prefactor     1.1373        .86056E-01   -.75086E-06   -.16367E-03
                               ERR DEF=  .500    
Final values: 
  Prefactor  = 4.05231e-09
  Prefactor  = 0
  Prefactor  = 7.16397
  Prefactor  = 0
  Prefactor  = 0
  Prefactor  = 1.66533e-10
  Prefactor  = 33.1365
  Prefactor  = 19.789
  Prefactor  = 10.9073
  Prefactor  = 4.19109e-08
  norm       = 0
  Prefactor  = 1.63436
  norm       = 3.95795e-08
  Prefactor  = 14.4571
  Prefactor  = 5.01743
  norm       = 7.77156e-10
  Normalizat = 0.994726
  Prefactor  = 1.13726
number of points = 7465
number of fields = 31
RA_SUN column already exists. File will not be modified.
Done.


Performing analysis on: 4FGL_J1707.5+1649_daily_bin2207
RA = 256.881, Dec = 16.8206
tmin = 811382401, tmax = 811641601
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='38742458', job_status='RUN', time_executed='2026-09-21 14:37:42.998459', time_epoch_executed='1790026663.0' WHERE source_name='4FGL J1707.5+1649' and cadence='daily' and bin_id='2207'

Database successfully updated.
Done.

Creating custom output directory:
/lscratch/kocevski/38742458

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

Retrieving the FT1 file...

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

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

Retrieving 46 files...
Done.


Merging files...

Checksum keywords updated successfully.

Merged file saved to:
/lscratch/kocevski/38742458/ft1_4FGL_J1707.5+1649_daily_bin2207.fits


Retrieving the FT1 file...

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

Retrieving 46 files...
Done.


Merging files...

Merged file saved to:
/lscratch/kocevski/38742458/ft2_4FGL_J1707.5+1649_daily_bin2207.fits


Selecting the photons:
time -p gtselect infile=/lscratch/kocevski/38742458/ft1_4FGL_J1707.5+1649_daily_bin2207.fits outfile=/lscratch/kocevski/38742458/ft1_filteredMKT_4FGL_J1707.5+1649_daily_bin2207.fits ra=256.881 dec=16.8206 rad=12.0 tmin=811382401.0 tmax=811641601.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.48
user 1.93
sys 0.16

Adding sun position to ft2 file:
/sdf/group/fermi/g/LCRepository/Repository/bin/sunpos /lscratch/kocevski/38742458/ft2_4FGL_J1707.5+1649_daily_bin2207.fits

Selecting the good time intervals:
time -p gtmktime scfile=/lscratch/kocevski/38742458/ft2_4FGL_J1707.5+1649_daily_bin2207.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/38742458/ft1_filteredMKT_4FGL_J1707.5+1649_daily_bin2207.fits evtable="EVENTS" outfile="/lscratch/kocevski/38742458/ft1_filtered_4FGL_J1707.5+1649_daily_bin2207.fits" apply_filter=yes overwrite=yes header_obstimes=yes tstart=0.0 tstop=0.0 gtifile="default" chatter=3 clobber=yes debug=no gui=no mode="ql"

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

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

Number of photons that the gtmktime cut: 1468

Generating the livetime cube:
time -p gtltcube evfile="/lscratch/kocevski/38742458/ft1_filtered_4FGL_J1707.5+1649_daily_bin2207.fits" evtable="EVENTS" scfile=/lscratch/kocevski/38742458/ft2_4FGL_J1707.5+1649_daily_bin2207.fits sctable="SC_DATA" ounumber of points = 7465
number of fields = 31
RA_SUN column already exists. File will not be modified.
Done.


Performing analysis on: 4FGL_J1707.5+1649_daily_bin2207
RA = 256.881, Dec = 16.8206
tmin = 811382401, tmax = 811641601
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='38742433', job_status='RUN', time_executed='2026-09-21 14:37:44.556257', time_epoch_executed='1790026664.56' WHERE source_name='4FGL J1707.5+1649' and cadence='daily' and bin_id='2207'

Database successfully updated.
Done.

Creating custom output directory:
/lscratch/kocevski/38742433

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

Retrieving the FT1 file...

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

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

Retrieving 46 files...
Done.


Merging files...

Checksum keywords updated successfully.

Merged file saved to:
/lscratch/kocevski/38742433/ft1_4FGL_J1707.5+1649_daily_bin2207.fits


Retrieving the FT1 file...

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

Retrieving 46 files...
Done.


Merging files...

Merged file saved to:
/lscratch/kocevski/38742433/ft2_4FGL_J1707.5+1649_daily_bin2207.fits


Selecting the photons:
time -p gtselect infile=/lscratch/kocevski/38742433/ft1_4FGL_J1707.5+1649_daily_bin2207.fits outfile=/lscratch/kocevski/38742433/ft1_filteredMKT_4FGL_J1707.5+1649_daily_bin2207.fits ra=256.881 dec=16.8206 rad=12.0 tmin=811382401.0 tmax=811641601.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.31
user 1.87
sys 0.16

Adding sun position to ft2 file:
/sdf/group/fermi/g/LCRepository/Repository/bin/sunpos /lscratch/kocevski/38742433/ft2_4FGL_J1707.5+1649_daily_bin2207.fits

Selecting the good time intervals:
time -p gtmktime scfile=/lscratch/kocevski/38742433/ft2_4FGL_J1707.5+1649_daily_bin2207.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/38742433/ft1_filteredMKT_4FGL_J1707.5+1649_daily_bin2207.fits evtable="EVENTS" outfile="/lscratch/kocevski/38742433/ft1_filtered_4FGL_J1707.5+1649_daily_bin2207.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.73
user 0.23
sys 0.11

Number of photons that the gtmktime cut: 1468

Generating the livetime cube:
time -p gtltcube evfile="/lscratch/kocevski/38742433/ft1_filtered_4FGL_J1707.5+1649_daily_bin2207.fits" evtable="EVENTS" scfile=/lscratch/kocevski/38742433/ft2_4FGL_J1707.5+1649_daily_bin2207.fits sctable="SC_DATA" outfile=/lscratch/kocevski/38742412/ltcube_811382401_811641601_4FGL_J1707.5+1649_daily_bin2207.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/38742412/ft2_4FGL_J1707.5+1649_daily_bin2207.fits
.....................!
real 9.60
user 9.03
sys 0.22

Generating the exposure map:
time -p gtexpmap evfile=/lscratch/kocevski/38742412/ft1_filtered_4FGL_J1707.5+1649_daily_bin2207.fits evtable="EVENTS" scfile=/lscratch/kocevski/38742412/ft2_4FGL_J1707.5+1649_daily_bin2207.fits sctable="SC_DATA" expcube=/lscratch/kocevski/38742412/ltcube_811382401_811641601_4FGL_J1707.5+1649_daily_bin2207.fits outfile=/lscratch/kocevski/38742412/expmap_811382401_811641601_4FGL_J1707.5+1649_daily_bin2207.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/38742412/ltcube_811382401_811641601_4FGL_J1707.5+1649_daily_bin2207.fits
.....................!
real 76.52
user 71.62
sys 4.29

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

Setting source of interest to:
4FGL J1707.5+1649 @ 256.881 16.8206

Creating the counts map:
time -p gtbin evfile=/lscratch/kocevski/38742412/ft1_filtered_4FGL_J1707.5+1649_daily_bin2207.fits scfile=/lscratch/kocevski/38742412/ft2_4FGL_J1707.5+1649_daily_bin2207.fits outfile=/lscratch/kocevski/38742412/cmap_811382401_811641601_4FGL_J1707.5+1649_daily_bin2207.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.881 yref=16.8206 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.56
user 0.24
sys 0.12

Creating the high resolution counts map:
time -p gtbin evfile=/lscratch/kocevski/38742412/ft1_filtered_4FGL_J1707.5+1649_daily_bin2207.fits scfile=/lscratch/kocevski/38742412/ft2_4FGL_J1707.5+1649_daily_bin2207.fits outfile=/lscratch/kocevski/38742412/cmap_HighResolution_811382401_811641601_4FGL_J1707.5+1649_daily_bin2207.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.881 yref=16.8206 axisrot=0.0 rafield="RA" decfield="DEC" proj="AIT" hpx_ordering_scheme="RING" hpx_order=3 hpx_ebin=yes hpx_region="" evtable="EVENTS" sctable="SC_DATA" efield="ENERGY" tfield="TIME" chatter=2 clobber=yes debug=no gui=no mode="ql"

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

This is gtbin version HEAD
real 0.54
user 0.23
sys 0.14

Computing the diffuse response:
time -p gtdiffrsp evfile=/lscratch/kocevski/38742412/ft1_filtered_4FGL_J1707.5+1649_daily_bin2207.fits evtable="EVENTS" scfile=/lscratch/kocevski/38742412/ft2_4FGL_J1707.5+1649_daily_bin2207.fits sctable="SC_DATA" srcmdl=/lscratch/kocevski/38742412/Model_4FGL_J1707.5+1649_daily_bin2207.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 GA **********
 **   18 **HESSE 
 **********

 FCN=   15364.08     FROM HESSE     STATUS=OK           278 CALLS     1570 TOTAL
                     EDM=   .56E-06    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  Prefactor     .40523E-08    29.044        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   2  Prefactor      .0000        3.0385        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   3  Prefactor     7.1640        11.232        .37445E-03   -1.5654    
   4  Prefactor      .0000        4.7901        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   5  Prefactor      .0000        3.6270        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   6  Prefactor     .16653E-09    7.3819        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   7  Prefactor     33.136        30.694        .17416E-03   -1.5593    
   8  Prefactor     19.789        19.947        .22538E-03   -1.5619    
   9  Prefactor     10.907        6.2113        .30347E-03   -1.5642    
  10  Prefactor     .41911E-07    4.0255        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  11  norm           .0000        1.0953        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  12  Prefactor     1.6344        19.350        .84078E-03   -1.5682    
  13  norm          .39579E-07    4.0143        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  14  Prefactor     14.457        49.975        .25882E-03   -1.5632    
  15  Prefactor     5.0174        2.7161        .44837E-03   -1.5663    
  16  norm          .77716E-09    17.354        .15756E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  17  Normalizat    .99473        .19500        .99040E-01   -.93207    
  18  Prefactor     1.1373        .74872E-01    .36321E-01   -.88285    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 5.57694e-07
Minuit parameter uncertainties:
  1  0.00068414
  2  1.57949e-06
  3  11.2325
  4  1.01396e-05
  5  1.35855e-06
  6  6.84949e-05
  7  30.694
  8  19.9466
  9  6.21133
  10  0.00082139
  11  2.11436e-06
  12  11.2472
  13  0.00079743
  14  49.9764
  15  2.71613
  16  0.000232363
  17  0.19514
  18  0.074879
Done.

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

Extracting fit parameters...

4FGL J1707.5+1649
   Spectrum: PowerLaw
271    Prefactor:  4.191e-08  8.214e-04  0.000e+00  1.000e+06 ( 1.000e-13)
272        Index:  2.254e+00  0.000e+00  0.000e+00  1.000e+01 (-1.000e+00) fixed
273        Scale:  1.429e+03  0.000e+00  3.000e+01  5.000e+05 ( 1.000e+00) fixed

GAL_V02
   Spectrum: PowerLaw
621    Prefactor:  1.137e+00  7.488e-02  0.000e+00  1.000e+01 ( 1.000e+00)
622        Index:  0.000e+00  0.000e+00 -1.000e+00  1.000e+00 ( 1.000e+00) fixed
623        Scale:  1.000e+02  0.000e+00  5.000e+01  2.000e+02 ( 1.000e+00) fixed

EG_v02
   Spectrum: FileFunction
620   Normalization:  9.947e-01  1.951e-01  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Fixed Index): -0.00
Ra Dec: 256.881 16.821
Photon Flux Upper Limit: 5.01898046928e-08 ph cm-2 s-1
Energy Flux Upper Limit: 0.00383909884192 MeV cm-2 s-1

Saving results to:
/lscratch/kocevski/38742246/likelihoodResults_811382401_811641601_4FGL_J1707.5+1649_daily_bin2207.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) = 15364.075923
delta logL = -0.000272495750323

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

MINUIT Return Code (Free Index): 102
logL (Free Index) = 15363.9336861
delta logL = 0.141964391762

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'Prefactor '    .54064E-03   1.0000          .0000       .10000E+07
     2 'Index     '    6.3446       1.0000          .0000       10.000    
     3 'Normalizat'    .96652       1.0000         .10000E-01   10.000    
     4 'Prefactor '    1.1436       1.0000          .0000       10.000    
 **********
 **   15 **SET ERR    .5000    
 **********
 **********
 **   16 **SET GRAD    1.000    
 **********
 **********
 **   17 **MINIMIZE    .6240E+05   .2000E-04
 **********

 MIGRAD MINIMIZATION HAS CONVERGED.

 FCN=   15364.08     FROM MIGRAD    STATUS=CONVERGED     58 CALLS      352 TOTAL
                     EDM=   .25E-11  STRATEGY=1  ERROR MATRIX UNCERTAINTY=  2.6%

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor      .0000        4.1737        .50821E-06** at limit **
   2  Index         1.9881        .11602        .18696E-05     .0000    
   3  Normalizat    .99472        .21436       -.41096E-06    .25089E-04
   4  Prefactor     1.1373        .83307E-01   -.24859E-06    .16897E-04
                               ERR DEF=  .500    
Final values: 
  Prefactor  = 0
  Index      = 1.98806
  Normalizat = 0.994724
  Prefactor  = 1.13726
 **********
 **   18 **HESSE 
 **********
  MNHESS FAILS AND WILL RETURN DIAGONAL MATRIX. 

 FCN=   15364.08     FROM HESSE     STATUS=FAILED        11 CALLS      363 TOTAL
                     EDM=   .25E-11  STRATEGY=1  ERROR MATRIX UNCERTAINTY=100.0%

  EXT PARAMETER                APPROXIMATE     INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  Prefactor      .0000        4.1711        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   2  Index         .42302        1.6309        .18696E-05   -76.045    
   3  Normalizat    .99472        1.3152       -.41096E-06    54.339    
   4  Prefactor     1.1373        1.1221       -.24859E-06   -14.825    
                               ERR DEF=  .500    
Minuit fit quality: 1   estimated distance: 2.48575e-12
Minuit parameter uncertainties:
  1  1.27186e-05
  2  0.836302
  3  1.36226
  4  1.1469
Done.

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

Extracting fit parameters...

4FGL J1707.5+1649
   Spectrum: PowerLaw
271    Prefactor:  4.191e-08  8.214e-04  0.000e+00  1.000e+06 ( 1.000e-13)
272        Index:  2.254e+00  0.000e+00  0.000e+00  1.000e+01 (-1.000e+00) fixed
273        Scale:  1.429e+03  0.000e+00  3.000e+01  5.000e+05 ( 1.000e+00) fixed

GAL_V02
   Spectrum: PowerLaw
621    Prefactor:  1.137e+00  7.488e-02  0.000e+00  1.000e+01 ( 1.000e+00)
622        Index:  0.000e+00  0.000e+00 -1.000e+00  1.000e+00 ( 1.000e+00) fixed
623        Scale:  1.000e+02  0.000e+00  5.000e+01  2.000e+02 ( 1.000e+00) fixed

EG_v02
   Spectrum: FileFunction
620   Normalization:  9.947e-01  1.951e-01  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Fixed Index): -0.00
Ra Dec: 256.881 16.821
Photon Flux Upper Limit: 5.01898046928e-08 ph cm-2 s-1
Energy Flux Upper Limit: 0.00383909884192 MeV cm-2 s-1

Saving results to:
/lscratch/kocevski/38742245/likelihoodResults_811382401_811641601_4FGL_J1707.5+1649_daily_bin2207.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) = 15364.075923
delta logL = -0.000272495750323

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

MINUIT Return Code (Free Index): 102
logL (Free Index) = 15363.9336861
delta logL = 0.141964391762

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'Prefactor '    .54064E-03   1.0000          .0000       .10000E+07
     2 'Index     '    6.3446       1.0000          .0000       10.000    
     3 'Normalizat'    .96652       1.0000         .10000E-01   10.000    
     4 'Prefactor '    1.1436       1.0000          .0000       10.000    
 **********
 **   15 **SET ERR    .5000    
 **********
 **********
 **   16 **SET GRAD    1.000    
 **********
 **********
 **   17 **MINIMIZE    .6240E+05   .2000E-04
 **********

 MIGRAD MINIMIZATION HAS CONVERGED.

 FCN=   15364.08     FROM MIGRAD    STATUS=CONVERGED     58 CALLS      352 TOTAL
                     EDM=   .25E-11  STRATEGY=1  ERROR MATRIX UNCERTAINTY=  2.6%

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor      .0000        4.1737        .50821E-06** at limit **
   2  Index         1.9881        .11602        .18696E-05     .0000    
   3  Normalizat    .99472        .21436       -.41096E-06    .25089E-04
   4  Prefactor     1.1373        .83307E-01   -.24859E-06    .16897E-04
                               ERR DEF=  .500    
Final values: 
  Prefactor  = 0
  Index      = 1.98806
  Normalizat = 0.994724
  Prefactor  = 1.13726
 **********
 **   18 **HESSE 
 **********

 FCN=   15364.08     FROM HESSE     STATUS=OK           278 CALLS     1570 TOTAL
                     EDM=   .56E-06    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  Prefactor     .40523E-08    29.044        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   2  Prefactor      .0000        3.0385        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   3  Prefactor     7.1640        11.232        .37445E-03   -1.5654    
   4  Prefactor      .0000        4.7901        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   5  Prefactor      .0000        3.6270        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   6  Prefactor     .16653E-09    7.3819        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   7  Prefactor     33.136        30.694        .17416E-03   -1.5593    
   8  Prefactor     19.789        19.947        .22538E-03   -1.5619    
   9  Prefactor     10.907        6.2113        .30347E-03   -1.5642    
  10  Prefactor     .41911E-07    4.0255        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  11  norm           .0000        1.0953        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  12  Prefactor     1.6344        19.350        .84078E-03   -1.5682    
  13  norm          .39579E-07    4.0143        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  14  Prefactor     14.457        49.975        .25882E-03   -1.5632    
  15  Prefactor     5.0174        2.7161        .44837E-03   -1.5663    
  16  norm          .77716E-09    17.354        .15756E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  17  Normalizat    .99473        .19500        .99040E-01   -.93207    
  18  Prefactor     1.1373        .74872E-01    .36321E-01   -.88285    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 5.57694e-07
Minuit parameter uncertainties:
  1  0.00068414
  2  1.57949e-06
  3  11.2325
  4  1.01396e-05
  5  1.35855e-06
  6  6.84949e-05
  7  30.694
  8  19.9466
  9  6.21133
  10  0.00082139
  11  2.11436e-06
  12  11.2472
  13  0.00079743
  14  49.9764
  15  2.71613
  16  0.000232363
  17  0.19514
  18  0.074879
 **********
 **   18 **HESSE 
 **********
  MNHESS FAILS AND WILL RETURN DIAGONAL MATRIX. 

 FCN=   15364.08     FROM HESSE     STATUS=FAILED        11 CALLS      363 TOTAL
                     EDM=   .25E-11  STRATEGY=1  ERROR MATRIX UNCERTAINTY=100.0%

  EXT PARAMETER                APPROXIMATE     INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  Prefactor      .0000        4.1711        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   2  Index         .42302        1.6309        .18696E-05   -76.045    
   3  Normalizat    .99472        1.3152       -.41096E-06    54.339    
   4  Prefactor     1.1373        1.1221       -.24859E-06   -14.825    
                               ERR DEF=  .500    
Minuit fit quality: 1   estimated distance: 2.48575e-12
Minuit parameter uncertainties:
  1  1.27186e-05
  2  0.836302
  3  1.36226
  4  1.1469
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) = 15364.0756505
delta logL = 5.2314135246e-09

Extracting fit parameters...

4FGL J1707.5+1649
   Spectrum: PowerLaw
271    Prefactor:  0.000e+00  1.272e-05  0.000e+00  1.000e+06 ( 1.000e-13)
272        Index:  1.988e+00  8.363e-01  0.000e+00  1.000e+01 (-1.000e+00)
273        Scale:  1.429e+03  0.000e+00  3.000e+01  5.000e+05 ( 1.000e+00) fixed

GAL_V02
   Spectrum: PowerLaw
621    Prefactor:  1.137e+00  1.147e+00  0.000e+00  1.000e+01 ( 1.000e+00)
622        Index:  0.000e+00  0.000e+00 -1.000e+00  1.000e+00 ( 1.000e+00) fixed
623        Scale:  1.000e+02  0.000e+00  5.000e+01  2.000e+02 ( 1.000e+00) fixed

EG_v02
   Spectrum: FileFunction
620   Normalization:  9.947e-01  1.362e+00  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Free Index): -0.00
Ra Dec: 256.881 16.821

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/38742246/cmap_HighResolution_811382401_811641601_4FGL_J1707.5+1649_daily_bin2207.png

Cleaning up...

** Nuclear option initiated! **

Updating database...

UPDATE lightcurve_data_v2 SET energy_flux_upper_limit='3.84e-03', job_status='DONE', photon_flux_upper_limit='5.02e-08', time_completed='2026-09-21 14:38:49.529280', job_id='38742246', GAL2='1.14', fit_tolerance='1e-08', EG2='0.99', EG='0.99', time_epoch_completed='1790026729.53', return_code2='101', ts='-0.00', comment='SUCCESS', return_code='0', GAL='1.14', dlogl='5.23e-09', ts2='0.00', photon_index_error='0.00', photon_index='2.25' WHERE bin_id='2207' AND source_name='4FGL J1707.5+1649' AND cadence='daily';

Database successfully updated.


Analysis Complete.


Mon Sep 21 14:38:49 PDT 2026

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) = 15364.0756505
delta logL = 5.2314135246e-09

Extracting fit parameters...

4FGL J1707.5+1649
   Spectrum: PowerLaw
271    Prefactor:  0.000e+00  1.272e-05  0.000e+00  1.000e+06 ( 1.000e-13)
272        Index:  1.988e+00  8.363e-01  0.000e+00  1.000e+01 (-1.000e+00)
273        Scale:  1.429e+03  0.000e+00  3.000e+01  5.000e+05 ( 1.000e+00) fixed

GAL_V02
   Spectrum: PowerLaw
621    Prefactor:  1.137e+00  1.147e+00  0.000e+00  1.000e+01 ( 1.000e+00)
622        Index:  0.000e+00  0.000e+00 -1.000e+00  1.000e+00 ( 1.000e+00) fixed
623        Scale:  1.000e+02  0.000e+00  5.000e+01  2.000e+02 ( 1.000e+00) fixed

EG_v02
   Spectrum: FileFunction
620   Normalization:  9.947e-01  1.362e+00  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Free Index): -0.00
Ra Dec: 256.881 16.821

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/38742245/cmap_HighResolution_811382401_811641601_4FGL_J1707.5+1649_daily_bin2207.png

Cleaning up...

** Nuclear option initiated! **

Updating database...

UPDATE lightcurve_data_v2 SET energy_flux_upper_limit='3.84e-03', job_status='DONE', photon_flux_upper_limit='5.02e-08', time_completed='2026-09-21 14:38:51.737562', job_id='38742245', GAL2='1.14', fit_tolerance='1e-08', EG2='0.99', EG='0.99', time_epoch_completed='1790026731.74', return_code2='101', ts='-0.00', comment='SUCCESS', return_code='0', GAL='1.14', dlogl='5.23e-09', ts2='0.00', photon_index_error='0.00', photon_index='2.25' WHERE bin_id='2207' AND source_name='4FGL J1707.5+1649' AND cadence='daily';

Database successfully updated.


Analysis Complete.


Mon Sep 21 14:38:51 PDT 2026

Done.

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

Extracting fit parameters...

4FGL J1707.5+1649
   Spectrum: PowerLaw
271    Prefactor:  4.191e-08  8.214e-04  0.000e+00  1.000e+06 ( 1.000e-13)
272        Index:  2.254e+00  0.000e+00  0.000e+00  1.000e+01 (-1.000e+00) fixed
273        Scale:  1.429e+03  0.000e+00  3.000e+01  5.000e+05 ( 1.000e+00) fixed

GAL_V02
   Spectrum: PowerLaw
621    Prefactor:  1.137e+00  7.488e-02  0.000e+00  1.000e+01 ( 1.000e+00)
622        Index:  0.000e+00  0.000e+00 -1.000e+00  1.000e+00 ( 1.000e+00) fixed
623        Scale:  1.000e+02  0.000e+00  5.000e+01  2.000e+02 ( 1.000e+00) fixed

EG_v02
   Spectrum: FileFunction
620   Normalization:  9.947e-01  1.951e-01  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Fixed Index): -0.00
Ra Dec: 256.881 16.821
Photon Flux Upper Limit: 5.01898046928e-08 ph cm-2 s-1
Energy Flux Upper Limit: 0.00383909884192 MeV cm-2 s-1

Saving results to:
/lscratch/kocevski/38742356/likelihoodResults_811382401_811641601_4FGL_J1707.5+1649_daily_bin2207.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) = 15364.075923
delta logL = -0.000272495750323

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

MINUIT Return Code (Free Index): 102
logL (Free Index) = 15363.9336861
delta logL = 0.141964391762

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'Prefactor '    .54064E-03   1.0000          .0000       .10000E+07
     2 'Index     '    6.3446       1.0000          .0000       10.000    
     3 'Normalizat'    .96652       1.0000         .10000E-01   10.000    
     4 'Prefactor '    1.1436       1.0000          .0000       10.000    
 **********
 **   15 **SET ERR    .5000    
 **********
 **********
 **   16 **SET GRAD    1.000    
 **********
 **********
 **   17 **MINIMIZE    .6240E+05   .2000E-04
 **********

 MIGRAD MINIMIZATION HAS CONVERGED.

 FCN=   15364.08     FROM MIGRAD    STATUS=CONVERGED     58 CALLS      352 TOTAL
                     EDM=   .25E-11  STRATEGY=1  ERROR MATRIX UNCERTAINTY=  2.6%

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor      .0000        4.1737        .50821E-06** at limit **
   2  Index         1.9881        .11602        .18696E-05     .0000    
   3  Normalizat    .99472        .21436       -.41096E-06    .25089E-04
   4  Prefactor     1.1373        .83307E-01   -.24859E-06    .16897E-04
                               ERR DEF=  .500    
Final values: 
  Prefactor  = 0
  Index      = 1.98806
  Normalizat = 0.994724
  Prefactor  = 1.13726
 **********
 **   18 **HESSE 
 **********
  MNHESS FAILS AND WILL RETURN DIAGONAL MATRIX. 

 FCN=   15364.08     FROM HESSE     STATUS=FAILED        11 CALLS      363 TOTAL
                     EDM=   .25E-11  STRATEGY=1  ERROR MATRIX UNCERTAINTY=100.0%

  EXT PARAMETER                APPROXIMATE     INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  Prefactor      .0000        4.1711        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   2  Index         .42302        1.6309        .18696E-05   -76.045    
   3  Normalizat    .99472        1.3152       -.41096E-06    54.339    
   4  Prefactor     1.1373        1.1221       -.24859E-06   -14.825    
                               ERR DEF=  .500    
Minuit fit quality: 1   estimated distance: 2.48575e-12
Minuit parameter uncertainties:
  1  1.27186e-05
  2  0.836302
  3  1.36226
  4  1.1469
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) = 15364.0756505
delta logL = 5.2314135246e-09

Extracting fit parameters...

4FGL J1707.5+1649
   Spectrum: PowerLaw
271    Prefactor:  0.000e+00  1.272e-05  0.000e+00  1.000e+06 ( 1.000e-13)
272        Index:  1.988e+00  8.363e-01  0.000e+00  1.000e+01 (-1.000e+00)
273        Scale:  1.429e+03  0.000e+00  3.000e+01  5.000e+05 ( 1.000e+00) fixed

GAL_V02
   Spectrum: PowerLaw
621    Prefactor:  1.137e+00  1.147e+00  0.000e+00  1.000e+01 ( 1.000e+00)
622        Index:  0.000e+00  0.000e+00 -1.000e+00  1.000e+00 ( 1.000e+00) fixed
623        Scale:  1.000e+02  0.000e+00  5.000e+01  2.000e+02 ( 1.000e+00) fixed

EG_v02
   Spectrum: FileFunction
620   Normalization:  9.947e-01  1.362e+00  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Free Index): -0.00
Ra Dec: 256.881 16.821

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/38742356/cmap_HighResolution_811382401_811641601_4FGL_J1707.5+1649_daily_bin2207.png

Cleaning up...

** Nuclear option initiated! **

Updating database...

UPDATE lightcurve_data_v2 SET energy_flux_upper_limit='3.84e-03', job_status='DONE', photon_flux_upper_limit='5.02e-08', time_completed='2026-09-21 14:39:55.197336', job_id='38742356', GAL2='1.14', fit_tolerance='1e-08', EG2='0.99', EG='0.99', time_epoch_completed='1790026795.2', return_code2='101', ts='-0.00', comment='SUCCESS', return_code='0', GAL='1.14', dlogl='5.23e-09', ts2='0.00', photon_index_error='0.00', photon_index='2.25' WHERE bin_id='2207' AND source_name='4FGL J1707.5+1649' AND cadence='daily';

Database successfully updated.


Analysis Complete.


Mon Sep 21 14:39:55 PDT 2026

L_V02
Working on...
/lscratch/kocevski/38742389/ft1_filtered_4FGL_J1707.5+1649_daily_bin2207.fits.....................!
real 50.52
user 48.22
sys 0.87

Creating the likelihood object...
obs = UnbinnedObs('/lscratch/kocevski/38742389/ft1_filtered_4FGL_J1707.5+1649_daily_bin2207.fits', '/lscratch/kocevski/38742389/ft2_4FGL_J1707.5+1649_daily_bin2207.fits', expMap='/lscratch/kocevski/38742389/expmap_811382401_811641601_4FGL_J1707.5+1649_daily_bin2207.fits', expCube='/lscratch/kocevski/38742389/ltcube_811382401_811641601_4FGL_J1707.5+1649_daily_bin2207.fits', irfs='P8R3_SOURCE_V2')
like = UnbinnedAnalysis(obs, '/lscratch/kocevski/38742389/Model_4FGL_J1707.5+1649_daily_bin2207.xml', optimizer='MINUIT')

Using source of interest name: '4FGL J1707.5+1649'

4FGL J1707.5+1649
   Spectrum: PowerLaw
271    Prefactor:  2.274e+00  0.000e+00  0.000e+00  1.000e+06 ( 1.000e-13)
272        Index:  2.254e+00  0.000e+00  0.000e+00  1.000e+01 (-1.000e+00) fixed
273        Scale:  1.429e+03  0.000e+00  3.000e+01  5.000e+05 ( 1.000e+00) fixed


Likelihood Fit Parameters:
Event file(s): /lscratch/kocevski/38742389/ft1_filtered_4FGL_J1707.5+1649_daily_bin2207.fits
Spacecraft file(s): /lscratch/kocevski/38742389/ft2_4FGL_J1707.5+1649_daily_bin2207.fits
Exposure map: /lscratch/kocevski/38742389/expmap_811382401_811641601_4FGL_J1707.5+1649_daily_bin2207.fits
Exposure cube: /lscratch/kocevski/38742389/ltcube_811382401_811641601_4FGL_J1707.5+1649_daily_bin2207.fits
IRFs: P8R3_SOURCE_V2
Source model file: /lscratch/kocevski/38742389/Model_4FGL_J1707.5+1649_daily_bin2207.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) = 15364.0841158

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

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

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'Prefactor '    .66751E-02   1.0000          .0000       .10000E+07
     2 'Prefactor '    .11796E-03   1.0000          .0000       .10000E+07
     3 'Prefactor '    7.1672       1.0000          .0000       .10000E+07
     4 'Prefactor '    .20534E-03   1.0000          .0000       .10000E+07
     5 'Prefactor '    .67954E-03   1.0000          .0000       .10000E+07
     6 'Prefactor '    .80687E-02   1.0000          .0000       .10000E+07
     7 'Prefactor '    32.976       1.0000          .0000       .10000E+07
     8 'Prefactor '    19.699       1.0000          .0000       .10000E+07
     9 'Prefactor '    10.881       1.0000          .0000       .10000E+07
    10 'Prefactor '    .85222E-04   1.0000          .0000       .10000E+07
    11 'norm      '    .34195E-07   1.0000          .0000       .10000E+07
    12 'Prefactor '    1.5913       1.0000          .0000       .10000E+07
    13 'norm      '    .10428E-03   1.0000          .0000       .10000E+07
    14 'Prefactor '    14.945       1.0000          .0000       .10000E+07
    15 'Prefactor '    5.0244       1.0000          .0000       .10000E+07
    16 'norm      '    .44751E-01   1.0000          .0000       .10000E+07
    17 'Normalizat'    .99513       1.0000         .10000E-01   10.000    
    18 'Prefactor '    1.1371       1.0000          .0000       10.000    
 **********
 **   15 **SET ERR    .5000    
 **********
 **********
 **   16 **SET GRAD    1.000    
 **********
 **********
 **   17 **MINIMIZE    .6240E+05   .2000E-04
 **********

 MIGRAD MINIMIZATION HAS CONVERGED.

 FCN=   15364.08     FROM MIGRAD    STATUS=CONVERGED    127 CALLS     1292 TOTAL
                     EDM=   .33E-09  STRATEGY=1  ERROR MATRIX UNCERTAINTY=  1.1%

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor     .40523E-08    29.095        .64207E-06** at limit **
   2  Prefactor      .0000        3.0347       -.59073E-07** at limit **
   3  Prefactor     7.1640        8.9549        .22424E-05   -.22320E-01
   4  Prefactor      .0000        4.8128        .38335E-06** at limit **
   5  Prefactor      .0000        3.6373       -.11214E-06** at limit **
   6  Prefactor     .16653E-09    7.3717       -.34201E-06** at limit **
   7  Prefactor     33.136        6.1543       -.35356E-06    .68790E-01
   8  Prefactor     19.789        19.491        .19105E-05    .84414E-02
   9  Prefactor     10.907        6.1887       -.51175E-08   -.81802E-03
  10  Prefactor     .41911E-07    2.6350        .13350E-05** at limit **
  11  norm           .0000        1.1017       -.12051E-08** at limit **
  12  Prefactor     1.6344        2.9289       -.13347E-05   -.33002E-02
  13  norm          .39579E-07    2.7442       -.13237E-05** at limit **
  14  Prefactor     14.457        49.493       -.42978E-05    .35523E-02
  15  Prefactor     5.0174        2.6448       -.42407E-07   -.13923E-02
  16  norm          .77716E-09    17.340       -.12047E-05** at limit **
  17  Normalizat    .99473        .22058        .14476E-07    .55046E-04
  18  Prefactor     1.1373        .86056E-01   -.75086E-06   -.16367E-03
                               ERR DEF=  .500    
Final values: 
  Prefactor  = 4.05231e-09
  Prefactor  = 0
  Prefactor  = 7.16397
  Prefactor  = 0
  Prefactor  = 0
  Prefactor  = 1.66533e-10
  Prefactor  = 33.1365
  Prefactor  = 19.789
  Prefactor  = 10.9073
  Prefactor  = 4.19109e-08
  norm       = 0
  Prefactor  = 1.63436
  norm       = 3.95795e-08
  Prefactor  = 14.4571
  Prefactor  = 5.01743
  norm       = 7.77156e-10
  Normalizat = 0.994726
  Prefactor  = 1.13726
_V02
Working on...
/lscratch/kocevski/38742385/ft1_filtered_4FGL_J1707.5+1649_daily_bin2207.fits.....................!
real 52.63
user 50.40
sys 1.25

Creating the likelihood object...
obs = UnbinnedObs('/lscratch/kocevski/38742385/ft1_filtered_4FGL_J1707.5+1649_daily_bin2207.fits', '/lscratch/kocevski/38742385/ft2_4FGL_J1707.5+1649_daily_bin2207.fits', expMap='/lscratch/kocevski/38742385/expmap_811382401_811641601_4FGL_J1707.5+1649_daily_bin2207.fits', expCube='/lscratch/kocevski/38742385/ltcube_811382401_811641601_4FGL_J1707.5+1649_daily_bin2207.fits', irfs='P8R3_SOURCE_V2')
like = UnbinnedAnalysis(obs, '/lscratch/kocevski/38742385/Model_4FGL_J1707.5+1649_daily_bin2207.xml', optimizer='MINUIT')

Using source of interest name: '4FGL J1707.5+1649'

4FGL J1707.5+1649
   Spectrum: PowerLaw
271    Prefactor:  2.274e+00  0.000e+00  0.000e+00  1.000e+06 ( 1.000e-13)
272        Index:  2.254e+00  0.000e+00  0.000e+00  1.000e+01 (-1.000e+00) fixed
273        Scale:  1.429e+03  0.000e+00  3.000e+01  5.000e+05 ( 1.000e+00) fixed


Likelihood Fit Parameters:
Event file(s): /lscratch/kocevski/38742385/ft1_filtered_4FGL_J1707.5+1649_daily_bin2207.fits
Spacecraft file(s): /lscratch/kocevski/38742385/ft2_4FGL_J1707.5+1649_daily_bin2207.fits
Exposure map: /lscratch/kocevski/38742385/expmap_811382401_811641601_4FGL_J1707.5+1649_daily_bin2207.fits
Exposure cube: /lscratch/kocevski/38742385/ltcube_811382401_811641601_4FGL_J1707.5+1649_daily_bin2207.fits
IRFs: P8R3_SOURCE_V2
Source model file: /lscratch/kocevski/38742385/Model_4FGL_J1707.5+1649_daily_bin2207.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) = 15364.0841158

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

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

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'Prefactor '    .66751E-02   1.0000          .0000       .10000E+07
     2 'Prefactor '    .11796E-03   1.0000          .0000       .10000E+07
     3 'Prefactor '    7.1672       1.0000          .0000       .10000E+07
     4 'Prefactor '    .20534E-03   1.0000          .0000       .10000E+07
     5 'Prefactor '    .67954E-03   1.0000          .0000       .10000E+07
     6 'Prefactor '    .80687E-02   1.0000          .0000       .10000E+07
     7 'Prefactor '    32.976       1.0000          .0000       .10000E+07
     8 'Prefactor '    19.699       1.0000          .0000       .10000E+07
     9 'Prefactor '    10.881       1.0000          .0000       .10000E+07
    10 'Prefactor '    .85222E-04   1.0000          .0000       .10000E+07
    11 'norm      '    .34195E-07   1.0000          .0000       .10000E+07
    12 'Prefactor '    1.5913       1.0000          .0000       .10000E+07
    13 'norm      '    .10428E-03   1.0000          .0000       .10000E+07
    14 'Prefactor '    14.945       1.0000          .0000       .10000E+07
    15 'Prefactor '    5.0244       1.0000          .0000       .10000E+07
    16 'norm      '    .44751E-01   1.0000          .0000       .10000E+07
    17 'Normalizat'    .99513       1.0000         .10000E-01   10.000    
    18 'Prefactor '    1.1371       1.0000          .0000       10.000    
 **********
 **   15 **SET ERR    .5000    
 **********
 **********
 **   16 **SET GRAD    1.000    
 **********
 **********
 **   17 **MINIMIZE    .6240E+05   .2000E-04
 **********

 MIGRAD MINIMIZATION HAS CONVERGED.

 FCN=   15364.08     FROM MIGRAD    STATUS=CONVERGED    127 CALLS     1292 TOTAL
                     EDM=   .33E-09  STRATEGY=1  ERROR MATRIX UNCERTAINTY=  1.1%

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor     .40523E-08    29.095        .64207E-06** at limit **
   2  Prefactor      .0000        3.0347       -.59073E-07** at limit **
   3  Prefactor     7.1640        8.9549        .22424E-05   -.22320E-01
   4  Prefactor      .0000        4.8128        .38335E-06** at limit **
   5  Prefactor      .0000        3.6373       -.11214E-06** at limit **
   6  Prefactor     .16653E-09    7.3717       -.34201E-06** at limit **
   7  Prefactor     33.136        6.1543       -.35356E-06    .68790E-01
   8  Prefactor     19.789        19.491        .19105E-05    .84414E-02
   9  Prefactor     10.907        6.1887       -.51175E-08   -.81802E-03
  10  Prefactor     .41911E-07    2.6350        .13350E-05** at limit **
  11  norm           .0000        1.1017       -.12051E-08** at limit **
  12  Prefactor     1.6344        2.9289       -.13347E-05   -.33002E-02
  13  norm          .39579E-07    2.7442       -.13237E-05** at limit **
  14  Prefactor     14.457        49.493       -.42978E-05    .35523E-02
  15  Prefactor     5.0174        2.6448       -.42407E-07   -.13923E-02
  16  norm          .77716E-09    17.340       -.12047E-05** at limit **
  17  Normalizat    .99473        .22058        .14476E-07    .55046E-04
  18  Prefactor     1.1373        .86056E-01   -.75086E-06   -.16367E-03
                               ERR DEF=  .500    
Final values: 
  Prefactor  = 4.05231e-09
  Prefactor  = 0
  Prefactor  = 7.16397
  Prefactor  = 0
  Prefactor  = 0
  Prefactor  = 1.66533e-10
  Prefactor  = 33.1365
  Prefactor  = 19.789
  Prefactor  = 10.9073
  Prefactor  = 4.19109e-08
  norm       = 0
  Prefactor  = 1.63436
  norm       = 3.95795e-08
  Prefactor  = 14.4571
  Prefactor  = 5.01743
  norm       = 7.77156e-10
  Normalizat = 0.994726
  Prefactor  = 1.13726
Done.

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

Extracting fit parameters...

4FGL J1707.5+1649
   Spectrum: PowerLaw
271    Prefactor:  4.191e-08  8.214e-04  0.000e+00  1.000e+06 ( 1.000e-13)
272        Index:  2.254e+00  0.000e+00  0.000e+00  1.000e+01 (-1.000e+00) fixed
273        Scale:  1.429e+03  0.000e+00  3.000e+01  5.000e+05 ( 1.000e+00) fixed

GAL_V02
   Spectrum: PowerLaw
621    Prefactor:  1.137e+00  7.488e-02  0.000e+00  1.000e+01 ( 1.000e+00)
622        Index:  0.000e+00  0.000e+00 -1.000e+00  1.000e+00 ( 1.000e+00) fixed
623        Scale:  1.000e+02  0.000e+00  5.000e+01  2.000e+02 ( 1.000e+00) fixed

EG_v02
   Spectrum: FileFunction
620   Normalization:  9.947e-01  1.951e-01  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Fixed Index): -0.00
Ra Dec: 256.881 16.821
Photon Flux Upper Limit: 5.01898046928e-08 ph cm-2 s-1
Energy Flux Upper Limit: 0.00383909884192 MeV cm-2 s-1

Saving results to:
/lscratch/kocevski/38742252/likelihoodResults_811382401_811641601_4FGL_J1707.5+1649_daily_bin2207.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) = 15364.075923
delta logL = -0.000272495750323

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

MINUIT Return Code (Free Index): 102
logL (Free Index) = 15363.9336861
delta logL = 0.141964391762

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'Prefactor '    .54064E-03   1.0000          .0000       .10000E+07
     2 'Index     '    6.3446       1.0000          .0000       10.000    
     3 'Normalizat'    .96652       1.0000         .10000E-01   10.000    
     4 'Prefactor '    1.1436       1.0000          .0000       10.000    
 **********
 **   15 **SET ERR    .5000    
 **********
 **********
 **   16 **SET GRAD    1.000    
 **********
 **********
 **   17 **MINIMIZE    .6240E+05   .2000E-04
 **********

 MIGRAD MINIMIZATION HAS CONVERGED.

 FCN=   15364.08     FROM MIGRAD    STATUS=CONVERGED     58 CALLS      352 TOTAL
                     EDM=   .25E-11  STRATEGY=1  ERROR MATRIX UNCERTAINTY=  2.6%

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor      .0000        4.1737        .50821E-06** at limit **
   2  Index         1.9881        .11602        .18696E-05     .0000    
   3  Normalizat    .99472        .21436       -.41096E-06    .25089E-04
   4  Prefactor     1.1373        .83307E-01   -.24859E-06    .16897E-04
                               ERR DEF=  .500    
Final values: 
  Prefactor  = 0
  Index      = 1.98806
  Normalizat = 0.994724
  Prefactor  = 1.13726
 **********
 **   18 **HESSE 
 **********
  MNHESS FAILS AND WILL RETURN DIAGONAL MATRIX. 

 FCN=   15364.08     FROM HESSE     STATUS=FAILED        11 CALLS      363 TOTAL
                     EDM=   .25E-11  STRATEGY=1  ERROR MATRIX UNCERTAINTY=100.0%

  EXT PARAMETER                APPROXIMATE     INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  Prefactor      .0000        4.1711        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   2  Index         .42302        1.6309        .18696E-05   -76.045    
   3  Normalizat    .99472        1.3152       -.41096E-06    54.339    
   4  Prefactor     1.1373        1.1221       -.24859E-06   -14.825    
                               ERR DEF=  .500    
Minuit fit quality: 1   estimated distance: 2.48575e-12
Minuit parameter uncertainties:
  1  1.27186e-05
  2  0.836302
  3  1.36226
  4  1.1469
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) = 15364.0756505
delta logL = 5.2314135246e-09

Extracting fit parameters...

4FGL J1707.5+1649
   Spectrum: PowerLaw
271    Prefactor:  0.000e+00  1.272e-05  0.000e+00  1.000e+06 ( 1.000e-13)
272        Index:  1.988e+00  8.363e-01  0.000e+00  1.000e+01 (-1.000e+00)
273        Scale:  1.429e+03  0.000e+00  3.000e+01  5.000e+05 ( 1.000e+00) fixed

GAL_V02
   Spectrum: PowerLaw
621    Prefactor:  1.137e+00  1.147e+00  0.000e+00  1.000e+01 ( 1.000e+00)
622        Index:  0.000e+00  0.000e+00 -1.000e+00  1.000e+00 ( 1.000e+00) fixed
623        Scale:  1.000e+02  0.000e+00  5.000e+01  2.000e+02 ( 1.000e+00) fixed

EG_v02
   Spectrum: FileFunction
620   Normalization:  9.947e-01  1.362e+00  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Free Index): -0.00
Ra Dec: 256.881 16.821

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/38742252/cmap_HighResolution_811382401_811641601_4FGL_J1707.5+1649_daily_bin2207.png

Cleaning up...

** Nuclear option initiated! **

Updating database...

UPDATE lightcurve_data_v2 SET energy_flux_upper_limit='3.84e-03', job_status='DONE', photon_flux_upper_limit='5.02e-08', time_completed='2026-09-21 14:40:18.691019', job_id='38742252', GAL2='1.14', fit_tolerance='1e-08', EG2='0.99', EG='0.99', time_epoch_completed='1790026818.69', return_code2='101', ts='-0.00', comment='SUCCESS', return_code='0', GAL='1.14', dlogl='5.23e-09', ts2='0.00', photon_index_error='0.00', photon_index='2.25' WHERE bin_id='2207' AND source_name='4FGL J1707.5+1649' AND cadence='daily';

Database successfully updated.


Analysis Complete.


Mon Sep 21 14:40:18 PDT 2026

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

 FCN=   15364.08     FROM HESSE     STATUS=OK           278 CALLS     1570 TOTAL
                     EDM=   .56E-06    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  Prefactor     .40523E-08    29.044        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   2  Prefactor      .0000        3.0385        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   3  Prefactor     7.1640        11.232        .37445E-03   -1.5654    
   4  Prefactor      .0000        4.7901        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   5  Prefactor      .0000        3.6270        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   6  Prefactor     .16653E-09    7.3819        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   7  Prefactor     33.136        30.694        .17416E-03   -1.5593    
   8  Prefactor     19.789        19.947        .22538E-03   -1.5619    
   9  Prefactor     10.907        6.2113        .30347E-03   -1.5642    
  10  Prefactor     .41911E-07    4.0255        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  11  norm           .0000        1.0953        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  12  Prefactor     1.6344        19.350        .84078E-03   -1.5682    
  13  norm          .39579E-07    4.0143        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  14  Prefactor     14.457        49.975        .25882E-03   -1.5632    
  15  Prefactor     5.0174        2.7161        .44837E-03   -1.5663    
  16  norm          .77716E-09    17.354        .15756E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  17  Normalizat    .99473        .19500        .99040E-01   -.93207    
  18  Prefactor     1.1373        .74872E-01    .36321E-01   -.88285    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 5.57694e-07
Minuit parameter uncertainties:
  1  0.00068414
  2  1.57949e-06
  3  11.2325
  4  1.01396e-05
  5  1.35855e-06
  6  6.84949e-05
  7  30.694
  8  19.9466
  9  6.21133
  10  0.00082139
  11  2.11436e-06
  12  11.2472
  13  0.00079743
  14  49.9764
  15  2.71613
  16  0.000232363
  17  0.19514
  18  0.074879
 **********
 **   18 **HESSE 
 **********

 FCN=   15364.08     FROM HESSE     STATUS=OK           278 CALLS     1570 TOTAL
                     EDM=   .56E-06    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  Prefactor     .40523E-08    29.044        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   2  Prefactor      .0000        3.0385        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   3  Prefactor     7.1640        11.232        .37445E-03   -1.5654    
   4  Prefactor      .0000        4.7901        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   5  Prefactor      .0000        3.6270        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   6  Prefactor     .16653E-09    7.3819        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   7  Prefactor     33.136        30.694        .17416E-03   -1.5593    
   8  Prefactor     19.789        19.947        .22538E-03   -1.5619    
   9  Prefactor     10.907        6.2113        .30347E-03   -1.5642    
  10  Prefactor     .41911E-07    4.0255        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  11  norm           .0000        1.0953        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  12  Prefactor     1.6344        19.350        .84078E-03   -1.5682    
  13  norm          .39579E-07    4.0143        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  14  Prefactor     14.457        49.975        .25882E-03   -1.5632    
  15  Prefactor     5.0174        2.7161        .44837E-03   -1.5663    
  16  norm          .77716E-09    17.354        .15756E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  17  Normalizat    .99473        .19500        .99040E-01   -.93207    
  18  Prefactor     1.1373        .74872E-01    .36321E-01   -.88285    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 5.57694e-07
Minuit parameter uncertainties:
  1  0.00068414
  2  1.57949e-06
  3  11.2325
  4  1.01396e-05
  5  1.35855e-06
  6  6.84949e-05
  7  30.694
  8  19.9466
  9  6.21133
  10  0.00082139
  11  2.11436e-06
  12  11.2472
  13  0.00079743
  14  49.9764
  15  2.71613
  16  0.000232363
  17  0.19514
  18  0.074879
utfile=/lscratch/kocevski/38742433/ltcube_811382401_811641601_4FGL_J1707.5+1649_daily_bin2207.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/38742433/ft2_4FGL_J1707.5+1649_daily_bin2207.fits
.....................!
real 9.85
user 8.99
sys 0.22

Generating the exposure map:
time -p gtexpmap evfile=/lscratch/kocevski/38742433/ft1_filtered_4FGL_J1707.5+1649_daily_bin2207.fits evtable="EVENTS" scfile=/lscratch/kocevski/38742433/ft2_4FGL_J1707.5+1649_daily_bin2207.fits sctable="SC_DATA" expcube=/lscratch/kocevski/38742433/ltcube_811382401_811641601_4FGL_J1707.5+1649_daily_bin2207.fits outfile=/lscratch/kocevski/38742433/expmap_811382401_811641601_4FGL_J1707.5+1649_daily_bin2207.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/38742433/ltcube_811382401_811641601_4FGL_J1707.5+1649_daily_bin2207.fits
.....................!
real 77.42
user 71.96
sys 4.56

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

Setting source of interest to:
4FGL J1707.5+1649 @ 256.881 16.8206

Creating the counts map:
time -p gtbin evfile=/lscratch/kocevski/38742433/ft1_filtered_4FGL_J1707.5+1649_daily_bin2207.fits scfile=/lscratch/kocevski/38742433/ft2_4FGL_J1707.5+1649_daily_bin2207.fits outfile=/lscratch/kocevski/38742433/cmap_811382401_811641601_4FGL_J1707.5+1649_daily_bin2207.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.881 yref=16.8206 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.69
user 0.23
sys 0.12

Creating the high resolution counts map:
time -p gtbin evfile=/lscratch/kocevski/38742433/ft1_filtered_4FGL_J1707.5+1649_daily_bin2207.fits scfile=/lscratch/kocevski/38742433/ft2_4FGL_J1707.5+1649_daily_bin2207.fits outfile=/lscratch/kocevski/38742433/cmap_HighResolution_811382401_811641601_4FGL_J1707.5+1649_daily_bin2207.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.881 yref=16.8206 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.55
user 0.25
sys 0.12

Computing the diffuse response:
time -p gtdiffrsp evfile=/lscratch/kocevski/38742433/ft1_filtered_4FGL_J1707.5+1649_daily_bin2207.fits evtable="EVENTS" scfile=/lscratch/kocevski/38742433/ft2_4FGL_J1707.5+1649_daily_bin2207.fits sctable="SC_DATA" srcmdl=/lscratch/kocevski/38742433/Model_4FGL_J1707.5+1649_daily_bin2207.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 GAtfile=/lscratch/kocevski/38742458/ltcube_811382401_811641601_4FGL_J1707.5+1649_daily_bin2207.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/38742458/ft2_4FGL_J1707.5+1649_daily_bin2207.fits
.....................!
real 10.19
user 9.41
sys 0.21

Generating the exposure map:
time -p gtexpmap evfile=/lscratch/kocevski/38742458/ft1_filtered_4FGL_J1707.5+1649_daily_bin2207.fits evtable="EVENTS" scfile=/lscratch/kocevski/38742458/ft2_4FGL_J1707.5+1649_daily_bin2207.fits sctable="SC_DATA" expcube=/lscratch/kocevski/38742458/ltcube_811382401_811641601_4FGL_J1707.5+1649_daily_bin2207.fits outfile=/lscratch/kocevski/38742458/expmap_811382401_811641601_4FGL_J1707.5+1649_daily_bin2207.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/38742458/ltcube_811382401_811641601_4FGL_J1707.5+1649_daily_bin2207.fits
.....................!
real 79.85
user 74.45
sys 4.57

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

Setting source of interest to:
4FGL J1707.5+1649 @ 256.881 16.8206

Creating the counts map:
time -p gtbin evfile=/lscratch/kocevski/38742458/ft1_filtered_4FGL_J1707.5+1649_daily_bin2207.fits scfile=/lscratch/kocevski/38742458/ft2_4FGL_J1707.5+1649_daily_bin2207.fits outfile=/lscratch/kocevski/38742458/cmap_811382401_811641601_4FGL_J1707.5+1649_daily_bin2207.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.881 yref=16.8206 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

Creating the high resolution counts map:
time -p gtbin evfile=/lscratch/kocevski/38742458/ft1_filtered_4FGL_J1707.5+1649_daily_bin2207.fits scfile=/lscratch/kocevski/38742458/ft2_4FGL_J1707.5+1649_daily_bin2207.fits outfile=/lscratch/kocevski/38742458/cmap_HighResolution_811382401_811641601_4FGL_J1707.5+1649_daily_bin2207.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.881 yref=16.8206 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.25
sys 0.13

Computing the diffuse response:
time -p gtdiffrsp evfile=/lscratch/kocevski/38742458/ft1_filtered_4FGL_J1707.5+1649_daily_bin2207.fits evtable="EVENTS" scfile=/lscratch/kocevski/38742458/ft2_4FGL_J1707.5+1649_daily_bin2207.fits sctable="SC_DATA" srcmdl=/lscratch/kocevski/38742458/Model_4FGL_J1707.5+1649_daily_bin2207.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/38742412/ft1_filtered_4FGL_J1707.5+1649_daily_bin2207.fits.....................!
real 51.60
user 49.90
sys 1.10

Creating the likelihood object...
obs = UnbinnedObs('/lscratch/kocevski/38742412/ft1_filtered_4FGL_J1707.5+1649_daily_bin2207.fits', '/lscratch/kocevski/38742412/ft2_4FGL_J1707.5+1649_daily_bin2207.fits', expMap='/lscratch/kocevski/38742412/expmap_811382401_811641601_4FGL_J1707.5+1649_daily_bin2207.fits', expCube='/lscratch/kocevski/38742412/ltcube_811382401_811641601_4FGL_J1707.5+1649_daily_bin2207.fits', irfs='P8R3_SOURCE_V2')
like = UnbinnedAnalysis(obs, '/lscratch/kocevski/38742412/Model_4FGL_J1707.5+1649_daily_bin2207.xml', optimizer='MINUIT')

Using source of interest name: '4FGL J1707.5+1649'

4FGL J1707.5+1649
   Spectrum: PowerLaw
271    Prefactor:  2.274e+00  0.000e+00  0.000e+00  1.000e+06 ( 1.000e-13)
272        Index:  2.254e+00  0.000e+00  0.000e+00  1.000e+01 (-1.000e+00) fixed
273        Scale:  1.429e+03  0.000e+00  3.000e+01  5.000e+05 ( 1.000e+00) fixed


Likelihood Fit Parameters:
Event file(s): /lscratch/kocevski/38742412/ft1_filtered_4FGL_J1707.5+1649_daily_bin2207.fits
Spacecraft file(s): /lscratch/kocevski/38742412/ft2_4FGL_J1707.5+1649_daily_bin2207.fits
Exposure map: /lscratch/kocevski/38742412/expmap_811382401_811641601_4FGL_J1707.5+1649_daily_bin2207.fits
Exposure cube: /lscratch/kocevski/38742412/ltcube_811382401_811641601_4FGL_J1707.5+1649_daily_bin2207.fits
IRFs: P8R3_SOURCE_V2
Source model file: /lscratch/kocevski/38742412/Model_4FGL_J1707.5+1649_daily_bin2207.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) = 15364.0841158

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

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

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'Prefactor '    .66751E-02   1.0000          .0000       .10000E+07
     2 'Prefactor '    .11796E-03   1.0000          .0000       .10000E+07
     3 'Prefactor '    7.1672       1.0000          .0000       .10000E+07
     4 'Prefactor '    .20534E-03   1.0000          .0000       .10000E+07
     5 'Prefactor '    .67954E-03   1.0000          .0000       .10000E+07
     6 'Prefactor '    .80687E-02   1.0000          .0000       .10000E+07
     7 'Prefactor '    32.976       1.0000          .0000       .10000E+07
     8 'Prefactor '    19.699       1.0000          .0000       .10000E+07
     9 'Prefactor '    10.881       1.0000          .0000       .10000E+07
    10 'Prefactor '    .85222E-04   1.0000          .0000       .10000E+07
    11 'norm      '    .34195E-07   1.0000          .0000       .10000E+07
    12 'Prefactor '    1.5913       1.0000          .0000       .10000E+07
    13 'norm      '    .10428E-03   1.0000          .0000       .10000E+07
    14 'Prefactor '    14.945       1.0000          .0000       .10000E+07
    15 'Prefactor '    5.0244       1.0000          .0000       .10000E+07
    16 'norm      '    .44751E-01   1.0000          .0000       .10000E+07
    17 'Normalizat'    .99513       1.0000         .10000E-01   10.000    
    18 'Prefactor '    1.1371       1.0000          .0000       10.000    
 **********
 **   15 **SET ERR    .5000    
 **********
 **********
 **   16 **SET GRAD    1.000    
 **********
 **********
 **   17 **MINIMIZE    .6240E+05   .2000E-04
 **********

 MIGRAD MINIMIZATION HAS CONVERGED.

 FCN=   15364.08     FROM MIGRAD    STATUS=CONVERGED    127 CALLS     1292 TOTAL
                     EDM=   .33E-09  STRATEGY=1  ERROR MATRIX UNCERTAINTY=  1.1%

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor     .40523E-08    29.095        .64207E-06** at limit **
   2  Prefactor      .0000        3.0347       -.59073E-07** at limit **
   3  Prefactor     7.1640        8.9549        .22424E-05   -.22320E-01
   4  Prefactor      .0000        4.8128        .38335E-06** at limit **
   5  Prefactor      .0000        3.6373       -.11214E-06** at limit **
   6  Prefactor     .16653E-09    7.3717       -.34201E-06** at limit **
   7  Prefactor     33.136        6.1543       -.35356E-06    .68790E-01
   8  Prefactor     19.789        19.491        .19105E-05    .84414E-02
   9  Prefactor     10.907        6.1887       -.51175E-08   -.81802E-03
  10  Prefactor     .41911E-07    2.6350        .13350E-05** at limit **
  11  norm           .0000        1.1017       -.12051E-08** at limit **
  12  Prefactor     1.6344        2.9289       -.13347E-05   -.33002E-02
  13  norm          .39579E-07    2.7442       -.13237E-05** at limit **
  14  Prefactor     14.457        49.493       -.42978E-05    .35523E-02
  15  Prefactor     5.0174        2.6448       -.42407E-07   -.13923E-02
  16  norm          .77716E-09    17.340       -.12047E-05** at limit **
  17  Normalizat    .99473        .22058        .14476E-07    .55046E-04
  18  Prefactor     1.1373        .86056E-01   -.75086E-06   -.16367E-03
                               ERR DEF=  .500    
Final values: 
  Prefactor  = 4.05231e-09
  Prefactor  = 0
  Prefactor  = 7.16397
  Prefactor  = 0
  Prefactor  = 0
  Prefactor  = 1.66533e-10
  Prefactor  = 33.1365
  Prefactor  = 19.789
  Prefactor  = 10.9073
  Prefactor  = 4.19109e-08
  norm       = 0
  Prefactor  = 1.63436
  norm       = 3.95795e-08
  Prefactor  = 14.4571
  Prefactor  = 5.01743
  norm       = 7.77156e-10
  Normalizat = 0.994726
  Prefactor  = 1.13726
 **********
 **   18 **HESSE 
 **********

 FCN=   15364.08     FROM HESSE     STATUS=OK           278 CALLS     1570 TOTAL
                     EDM=   .56E-06    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  Prefactor     .40523E-08    29.044        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   2  Prefactor      .0000        3.0385        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   3  Prefactor     7.1640        11.232        .37445E-03   -1.5654    
   4  Prefactor      .0000        4.7901        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   5  Prefactor      .0000        3.6270        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   6  Prefactor     .16653E-09    7.3819        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   7  Prefactor     33.136        30.694        .17416E-03   -1.5593    
   8  Prefactor     19.789        19.947        .22538E-03   -1.5619    
   9  Prefactor     10.907        6.2113        .30347E-03   -1.5642    
  10  Prefactor     .41911E-07    4.0255        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  11  norm           .0000        1.0953        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  12  Prefactor     1.6344        19.350        .84078E-03   -1.5682    
  13  norm          .39579E-07    4.0143        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  14  Prefactor     14.457        49.975        .25882E-03   -1.5632    
  15  Prefactor     5.0174        2.7161        .44837E-03   -1.5663    
  16  norm          .77716E-09    17.354        .15756E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  17  Normalizat    .99473        .19500        .99040E-01   -.93207    
  18  Prefactor     1.1373        .74872E-01    .36321E-01   -.88285    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 5.57694e-07
Minuit parameter uncertainties:
  1  0.00068414
  2  1.57949e-06
  3  11.2325
  4  1.01396e-05
  5  1.35855e-06
  6  6.84949e-05
  7  30.694
  8  19.9466
  9  6.21133
  10  0.00082139
  11  2.11436e-06
  12  11.2472
  13  0.00079743
  14  49.9764
  15  2.71613
  16  0.000232363
  17  0.19514
  18  0.074879
Done.

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

Extracting fit parameters...

4FGL J1707.5+1649
   Spectrum: PowerLaw
271    Prefactor:  4.191e-08  8.214e-04  0.000e+00  1.000e+06 ( 1.000e-13)
272        Index:  2.254e+00  0.000e+00  0.000e+00  1.000e+01 (-1.000e+00) fixed
273        Scale:  1.429e+03  0.000e+00  3.000e+01  5.000e+05 ( 1.000e+00) fixed

GAL_V02
   Spectrum: PowerLaw
621    Prefactor:  1.137e+00  7.488e-02  0.000e+00  1.000e+01 ( 1.000e+00)
622        Index:  0.000e+00  0.000e+00 -1.000e+00  1.000e+00 ( 1.000e+00) fixed
623        Scale:  1.000e+02  0.000e+00  5.000e+01  2.000e+02 ( 1.000e+00) fixed

EG_v02
   Spectrum: FileFunction
620   Normalization:  9.947e-01  1.951e-01  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Fixed Index): -0.00
Ra Dec: 256.881 16.821
Photon Flux Upper Limit: 5.01898046928e-08 ph cm-2 s-1
Energy Flux Upper Limit: 0.00383909884192 MeV cm-2 s-1

Saving results to:
/lscratch/kocevski/38742389/likelihoodResults_811382401_811641601_4FGL_J1707.5+1649_daily_bin2207.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) = 15364.075923
delta logL = -0.000272495750323

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

MINUIT Return Code (Free Index): 102
logL (Free Index) = 15363.9336861
delta logL = 0.141964391762

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'Prefactor '    .54064E-03   1.0000          .0000       .10000E+07
     2 'Index     '    6.3446       1.0000          .0000       10.000    
     3 'Normalizat'    .96652       1.0000         .10000E-01   10.000    
     4 'Prefactor '    1.1436       1.0000          .0000       10.000    
 **********
 **   15 **SET ERR    .5000    
 **********
 **********
 **   16 **SET GRAD    1.000    
 **********
 **********
 **   17 **MINIMIZE    .6240E+05   .2000E-04
 **********

 MIGRAD MINIMIZATION HAS CONVERGED.

 FCN=   15364.08     FROM MIGRAD    STATUS=CONVERGED     58 CALLS      352 TOTAL
                     EDM=   .25E-11  STRATEGY=1  ERROR MATRIX UNCERTAINTY=  2.6%

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor      .0000        4.1737        .50821E-06** at limit **
   2  Index         1.9881        .11602        .18696E-05     .0000    
   3  Normalizat    .99472        .21436       -.41096E-06    .25089E-04
   4  Prefactor     1.1373        .83307E-01   -.24859E-06    .16897E-04
                               ERR DEF=  .500    
Final values: 
  Prefactor  = 0
  Index      = 1.98806
  Normalizat = 0.994724
  Prefactor  = 1.13726
 **********
 **   18 **HESSE 
 **********
  MNHESS FAILS AND WILL RETURN DIAGONAL MATRIX. 

 FCN=   15364.08     FROM HESSE     STATUS=FAILED        11 CALLS      363 TOTAL
                     EDM=   .25E-11  STRATEGY=1  ERROR MATRIX UNCERTAINTY=100.0%

  EXT PARAMETER                APPROXIMATE     INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  Prefactor      .0000        4.1711        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   2  Index         .42302        1.6309        .18696E-05   -76.045    
   3  Normalizat    .99472        1.3152       -.41096E-06    54.339    
   4  Prefactor     1.1373        1.1221       -.24859E-06   -14.825    
                               ERR DEF=  .500    
Minuit fit quality: 1   estimated distance: 2.48575e-12
Minuit parameter uncertainties:
  1  1.27186e-05
  2  0.836302
  3  1.36226
  4  1.1469
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) = 15364.0756505
delta logL = 5.2314135246e-09

Extracting fit parameters...

4FGL J1707.5+1649
   Spectrum: PowerLaw
271    Prefactor:  0.000e+00  1.272e-05  0.000e+00  1.000e+06 ( 1.000e-13)
272        Index:  1.988e+00  8.363e-01  0.000e+00  1.000e+01 (-1.000e+00)
273        Scale:  1.429e+03  0.000e+00  3.000e+01  5.000e+05 ( 1.000e+00) fixed

GAL_V02
   Spectrum: PowerLaw
621    Prefactor:  1.137e+00  1.147e+00  0.000e+00  1.000e+01 ( 1.000e+00)
622        Index:  0.000e+00  0.000e+00 -1.000e+00  1.000e+00 ( 1.000e+00) fixed
623        Scale:  1.000e+02  0.000e+00  5.000e+01  2.000e+02 ( 1.000e+00) fixed

EG_v02
   Spectrum: FileFunction
620   Normalization:  9.947e-01  1.362e+00  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Free Index): -0.00
Ra Dec: 256.881 16.821

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/38742389/cmap_HighResolution_811382401_811641601_4FGL_J1707.5+1649_daily_bin2207.png

Cleaning up...

** Nuclear option initiated! **

Updating database...

UPDATE lightcurve_data_v2 SET energy_flux_upper_limit='3.84e-03', job_status='DONE', photon_flux_upper_limit='5.02e-08', time_completed='2026-09-21 14:41:45.383054', job_id='38742389', GAL2='1.14', fit_tolerance='1e-08', EG2='0.99', EG='0.99', time_epoch_completed='1790026905.38', return_code2='101', ts='-0.00', comment='SUCCESS', return_code='0', GAL='1.14', dlogl='5.23e-09', ts2='0.00', photon_index_error='0.00', photon_index='2.25' WHERE bin_id='2207' AND source_name='4FGL J1707.5+1649' AND cadence='daily';

Database successfully updated.


Analysis Complete.


Mon Sep 21 14:41:45 PDT 2026

Done.

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

Extracting fit parameters...

4FGL J1707.5+1649
   Spectrum: PowerLaw
271    Prefactor:  4.191e-08  8.214e-04  0.000e+00  1.000e+06 ( 1.000e-13)
272        Index:  2.254e+00  0.000e+00  0.000e+00  1.000e+01 (-1.000e+00) fixed
273        Scale:  1.429e+03  0.000e+00  3.000e+01  5.000e+05 ( 1.000e+00) fixed

GAL_V02
   Spectrum: PowerLaw
621    Prefactor:  1.137e+00  7.488e-02  0.000e+00  1.000e+01 ( 1.000e+00)
622        Index:  0.000e+00  0.000e+00 -1.000e+00  1.000e+00 ( 1.000e+00) fixed
623        Scale:  1.000e+02  0.000e+00  5.000e+01  2.000e+02 ( 1.000e+00) fixed

EG_v02
   Spectrum: FileFunction
620   Normalization:  9.947e-01  1.951e-01  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Fixed Index): -0.00
Ra Dec: 256.881 16.821
Photon Flux Upper Limit: 5.01898046928e-08 ph cm-2 s-1
Energy Flux Upper Limit: 0.00383909884192 MeV cm-2 s-1

Saving results to:
/lscratch/kocevski/38742385/likelihoodResults_811382401_811641601_4FGL_J1707.5+1649_daily_bin2207.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) = 15364.075923
delta logL = -0.000272495750323

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

MINUIT Return Code (Free Index): 102
logL (Free Index) = 15363.9336861
delta logL = 0.141964391762

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'Prefactor '    .54064E-03   1.0000          .0000       .10000E+07
     2 'Index     '    6.3446       1.0000          .0000       10.000    
     3 'Normalizat'    .96652       1.0000         .10000E-01   10.000    
     4 'Prefactor '    1.1436       1.0000          .0000       10.000    
 **********
 **   15 **SET ERR    .5000    
 **********
 **********
 **   16 **SET GRAD    1.000    
 **********
 **********
 **   17 **MINIMIZE    .6240E+05   .2000E-04
 **********

 MIGRAD MINIMIZATION HAS CONVERGED.

 FCN=   15364.08     FROM MIGRAD    STATUS=CONVERGED     58 CALLS      352 TOTAL
                     EDM=   .25E-11  STRATEGY=1  ERROR MATRIX UNCERTAINTY=  2.6%

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor      .0000        4.1737        .50821E-06** at limit **
   2  Index         1.9881        .11602        .18696E-05     .0000    
   3  Normalizat    .99472        .21436       -.41096E-06    .25089E-04
   4  Prefactor     1.1373        .83307E-01   -.24859E-06    .16897E-04
                               ERR DEF=  .500    
Final values: 
  Prefactor  = 0
  Index      = 1.98806
  Normalizat = 0.994724
  Prefactor  = 1.13726
 **********
 **   18 **HESSE 
 **********
  MNHESS FAILS AND WILL RETURN DIAGONAL MATRIX. 

 FCN=   15364.08     FROM HESSE     STATUS=FAILED        11 CALLS      363 TOTAL
                     EDM=   .25E-11  STRATEGY=1  ERROR MATRIX UNCERTAINTY=100.0%

  EXT PARAMETER                APPROXIMATE     INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  Prefactor      .0000        4.1711        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   2  Index         .42302        1.6309        .18696E-05   -76.045    
   3  Normalizat    .99472        1.3152       -.41096E-06    54.339    
   4  Prefactor     1.1373        1.1221       -.24859E-06   -14.825    
                               ERR DEF=  .500    
Minuit fit quality: 1   estimated distance: 2.48575e-12
Minuit parameter uncertainties:
  1  1.27186e-05
  2  0.836302
  3  1.36226
  4  1.1469
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) = 15364.0756505
delta logL = 5.2314135246e-09

Extracting fit parameters...

4FGL J1707.5+1649
   Spectrum: PowerLaw
271    Prefactor:  0.000e+00  1.272e-05  0.000e+00  1.000e+06 ( 1.000e-13)
272        Index:  1.988e+00  8.363e-01  0.000e+00  1.000e+01 (-1.000e+00)
273        Scale:  1.429e+03  0.000e+00  3.000e+01  5.000e+05 ( 1.000e+00) fixed

GAL_V02
   Spectrum: PowerLaw
621    Prefactor:  1.137e+00  1.147e+00  0.000e+00  1.000e+01 ( 1.000e+00)
622        Index:  0.000e+00  0.000e+00 -1.000e+00  1.000e+00 ( 1.000e+00) fixed
623        Scale:  1.000e+02  0.000e+00  5.000e+01  2.000e+02 ( 1.000e+00) fixed

EG_v02
   Spectrum: FileFunction
620   Normalization:  9.947e-01  1.362e+00  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Free Index): -0.00
Ra Dec: 256.881 16.821

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/38742385/cmap_HighResolution_811382401_811641601_4FGL_J1707.5+1649_daily_bin2207.png

Cleaning up...

** Nuclear option initiated! **

Updating database...

UPDATE lightcurve_data_v2 SET energy_flux_upper_limit='3.84e-03', job_status='DONE', photon_flux_upper_limit='5.02e-08', time_completed='2026-09-21 14:42:02.096795', job_id='38742385', GAL2='1.14', fit_tolerance='1e-08', EG2='0.99', EG='0.99', time_epoch_completed='1790026922.1', return_code2='101', ts='-0.00', comment='SUCCESS', return_code='0', GAL='1.14', dlogl='5.23e-09', ts2='0.00', photon_index_error='0.00', photon_index='2.25' WHERE bin_id='2207' AND source_name='4FGL J1707.5+1649' AND cadence='daily';

Database successfully updated.


Analysis Complete.


Mon Sep 21 14:42:02 PDT 2026

Done.

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

Extracting fit parameters...

4FGL J1707.5+1649
   Spectrum: PowerLaw
271    Prefactor:  4.191e-08  8.214e-04  0.000e+00  1.000e+06 ( 1.000e-13)
272        Index:  2.254e+00  0.000e+00  0.000e+00  1.000e+01 (-1.000e+00) fixed
273        Scale:  1.429e+03  0.000e+00  3.000e+01  5.000e+05 ( 1.000e+00) fixed

GAL_V02
   Spectrum: PowerLaw
621    Prefactor:  1.137e+00  7.488e-02  0.000e+00  1.000e+01 ( 1.000e+00)
622        Index:  0.000e+00  0.000e+00 -1.000e+00  1.000e+00 ( 1.000e+00) fixed
623        Scale:  1.000e+02  0.000e+00  5.000e+01  2.000e+02 ( 1.000e+00) fixed

EG_v02
   Spectrum: FileFunction
620   Normalization:  9.947e-01  1.951e-01  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Fixed Index): -0.00
Ra Dec: 256.881 16.821
Photon Flux Upper Limit: 5.01898046928e-08 ph cm-2 s-1
Energy Flux Upper Limit: 0.00383909884192 MeV cm-2 s-1

Saving results to:
/lscratch/kocevski/38742412/likelihoodResults_811382401_811641601_4FGL_J1707.5+1649_daily_bin2207.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) = 15364.075923
delta logL = -0.000272495750323

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

MINUIT Return Code (Free Index): 102
logL (Free Index) = 15363.9336861
delta logL = 0.141964391762

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'Prefactor '    .54064E-03   1.0000          .0000       .10000E+07
     2 'Index     '    6.3446       1.0000          .0000       10.000    
     3 'Normalizat'    .96652       1.0000         .10000E-01   10.000    
     4 'Prefactor '    1.1436       1.0000          .0000       10.000    
 **********
 **   15 **SET ERR    .5000    
 **********
 **********
 **   16 **SET GRAD    1.000    
 **********
 **********
 **   17 **MINIMIZE    .6240E+05   .2000E-04
 **********

 MIGRAD MINIMIZATION HAS CONVERGED.

 FCN=   15364.08     FROM MIGRAD    STATUS=CONVERGED     58 CALLS      352 TOTAL
                     EDM=   .25E-11  STRATEGY=1  ERROR MATRIX UNCERTAINTY=  2.6%

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor      .0000        4.1737        .50821E-06** at limit **
   2  Index         1.9881        .11602        .18696E-05     .0000    
   3  Normalizat    .99472        .21436       -.41096E-06    .25089E-04
   4  Prefactor     1.1373        .83307E-01   -.24859E-06    .16897E-04
                               ERR DEF=  .500    
Final values: 
  Prefactor  = 0
  Index      = 1.98806
  Normalizat = 0.994724
  Prefactor  = 1.13726
 **********
 **   18 **HESSE 
 **********
  MNHESS FAILS AND WILL RETURN DIAGONAL MATRIX. 

 FCN=   15364.08     FROM HESSE     STATUS=FAILED        11 CALLS      363 TOTAL
                     EDM=   .25E-11  STRATEGY=1  ERROR MATRIX UNCERTAINTY=100.0%

  EXT PARAMETER                APPROXIMATE     INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  Prefactor      .0000        4.1711        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   2  Index         .42302        1.6309        .18696E-05   -76.045    
   3  Normalizat    .99472        1.3152       -.41096E-06    54.339    
   4  Prefactor     1.1373        1.1221       -.24859E-06   -14.825    
                               ERR DEF=  .500    
Minuit fit quality: 1   estimated distance: 2.48575e-12
Minuit parameter uncertainties:
  1  1.27186e-05
  2  0.836302
  3  1.36226
  4  1.1469
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) = 15364.0756505
delta logL = 5.2314135246e-09

Extracting fit parameters...

4FGL J1707.5+1649
   Spectrum: PowerLaw
271    Prefactor:  0.000e+00  1.272e-05  0.000e+00  1.000e+06 ( 1.000e-13)
272        Index:  1.988e+00  8.363e-01  0.000e+00  1.000e+01 (-1.000e+00)
273        Scale:  1.429e+03  0.000e+00  3.000e+01  5.000e+05 ( 1.000e+00) fixed

GAL_V02
   Spectrum: PowerLaw
621    Prefactor:  1.137e+00  1.147e+00  0.000e+00  1.000e+01 ( 1.000e+00)
622        Index:  0.000e+00  0.000e+00 -1.000e+00  1.000e+00 ( 1.000e+00) fixed
623        Scale:  1.000e+02  0.000e+00  5.000e+01  2.000e+02 ( 1.000e+00) fixed

EG_v02
   Spectrum: FileFunction
620   Normalization:  9.947e-01  1.362e+00  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Free Index): -0.00
Ra Dec: 256.881 16.821

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/38742412/cmap_HighResolution_811382401_811641601_4FGL_J1707.5+1649_daily_bin2207.png

Cleaning up...

** Nuclear option initiated! **

Updating database...

UPDATE lightcurve_data_v2 SET energy_flux_upper_limit='3.84e-03', job_status='DONE', photon_flux_upper_limit='5.02e-08', time_completed='2026-09-21 14:42:52.355952', job_id='38742412', GAL2='1.14', fit_tolerance='1e-08', EG2='0.99', EG='0.99', time_epoch_completed='1790026972.36', return_code2='101', ts='-0.00', comment='SUCCESS', return_code='0', GAL='1.14', dlogl='5.23e-09', ts2='0.00', photon_index_error='0.00', photon_index='2.25' WHERE bin_id='2207' AND source_name='4FGL J1707.5+1649' AND cadence='daily';

Database successfully updated.


Analysis Complete.


Mon Sep 21 14:42:52 PDT 2026

L_V02
Working on...
/lscratch/kocevski/38742433/ft1_filtered_4FGL_J1707.5+1649_daily_bin2207.fits.....................!
real 51.99
user 49.92
sys 1.13

Creating the likelihood object...
obs = UnbinnedObs('/lscratch/kocevski/38742433/ft1_filtered_4FGL_J1707.5+1649_daily_bin2207.fits', '/lscratch/kocevski/38742433/ft2_4FGL_J1707.5+1649_daily_bin2207.fits', expMap='/lscratch/kocevski/38742433/expmap_811382401_811641601_4FGL_J1707.5+1649_daily_bin2207.fits', expCube='/lscratch/kocevski/38742433/ltcube_811382401_811641601_4FGL_J1707.5+1649_daily_bin2207.fits', irfs='P8R3_SOURCE_V2')
like = UnbinnedAnalysis(obs, '/lscratch/kocevski/38742433/Model_4FGL_J1707.5+1649_daily_bin2207.xml', optimizer='MINUIT')

Using source of interest name: '4FGL J1707.5+1649'

4FGL J1707.5+1649
   Spectrum: PowerLaw
271    Prefactor:  2.274e+00  0.000e+00  0.000e+00  1.000e+06 ( 1.000e-13)
272        Index:  2.254e+00  0.000e+00  0.000e+00  1.000e+01 (-1.000e+00) fixed
273        Scale:  1.429e+03  0.000e+00  3.000e+01  5.000e+05 ( 1.000e+00) fixed


Likelihood Fit Parameters:
Event file(s): /lscratch/kocevski/38742433/ft1_filtered_4FGL_J1707.5+1649_daily_bin2207.fits
Spacecraft file(s): /lscratch/kocevski/38742433/ft2_4FGL_J1707.5+1649_daily_bin2207.fits
Exposure map: /lscratch/kocevski/38742433/expmap_811382401_811641601_4FGL_J1707.5+1649_daily_bin2207.fits
Exposure cube: /lscratch/kocevski/38742433/ltcube_811382401_811641601_4FGL_J1707.5+1649_daily_bin2207.fits
IRFs: P8R3_SOURCE_V2
Source model file: /lscratch/kocevski/38742433/Model_4FGL_J1707.5+1649_daily_bin2207.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) = 15364.0841158

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

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

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'Prefactor '    .66751E-02   1.0000          .0000       .10000E+07
     2 'Prefactor '    .11796E-03   1.0000          .0000       .10000E+07
     3 'Prefactor '    7.1672       1.0000          .0000       .10000E+07
     4 'Prefactor '    .20534E-03   1.0000          .0000       .10000E+07
     5 'Prefactor '    .67954E-03   1.0000          .0000       .10000E+07
     6 'Prefactor '    .80687E-02   1.0000          .0000       .10000E+07
     7 'Prefactor '    32.976       1.0000          .0000       .10000E+07
     8 'Prefactor '    19.699       1.0000          .0000       .10000E+07
     9 'Prefactor '    10.881       1.0000          .0000       .10000E+07
    10 'Prefactor '    .85222E-04   1.0000          .0000       .10000E+07
    11 'norm      '    .34195E-07   1.0000          .0000       .10000E+07
    12 'Prefactor '    1.5913       1.0000          .0000       .10000E+07
    13 'norm      '    .10428E-03   1.0000          .0000       .10000E+07
    14 'Prefactor '    14.945       1.0000          .0000       .10000E+07
    15 'Prefactor '    5.0244       1.0000          .0000       .10000E+07
    16 'norm      '    .44751E-01   1.0000          .0000       .10000E+07
    17 'Normalizat'    .99513       1.0000         .10000E-01   10.000    
    18 'Prefactor '    1.1371       1.0000          .0000       10.000    
 **********
 **   15 **SET ERR    .5000    
 **********
 **********
 **   16 **SET GRAD    1.000    
 **********
 **********
 **   17 **MINIMIZE    .6240E+05   .2000E-04
 **********

 MIGRAD MINIMIZATION HAS CONVERGED.

 FCN=   15364.08     FROM MIGRAD    STATUS=CONVERGED    127 CALLS     1292 TOTAL
                     EDM=   .33E-09  STRATEGY=1  ERROR MATRIX UNCERTAINTY=  1.1%

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor     .40523E-08    29.095        .64207E-06** at limit **
   2  Prefactor      .0000        3.0347       -.59073E-07** at limit **
   3  Prefactor     7.1640        8.9549        .22424E-05   -.22320E-01
   4  Prefactor      .0000        4.8128        .38335E-06** at limit **
   5  Prefactor      .0000        3.6373       -.11214E-06** at limit **
   6  Prefactor     .16653E-09    7.3717       -.34201E-06** at limit **
   7  Prefactor     33.136        6.1543       -.35356E-06    .68790E-01
   8  Prefactor     19.789        19.491        .19105E-05    .84414E-02
   9  Prefactor     10.907        6.1887       -.51175E-08   -.81802E-03
  10  Prefactor     .41911E-07    2.6350        .13350E-05** at limit **
  11  norm           .0000        1.1017       -.12051E-08** at limit **
  12  Prefactor     1.6344        2.9289       -.13347E-05   -.33002E-02
  13  norm          .39579E-07    2.7442       -.13237E-05** at limit **
  14  Prefactor     14.457        49.493       -.42978E-05    .35523E-02
  15  Prefactor     5.0174        2.6448       -.42407E-07   -.13923E-02
  16  norm          .77716E-09    17.340       -.12047E-05** at limit **
  17  Normalizat    .99473        .22058        .14476E-07    .55046E-04
  18  Prefactor     1.1373        .86056E-01   -.75086E-06   -.16367E-03
                               ERR DEF=  .500    
Final values: 
  Prefactor  = 4.05231e-09
  Prefactor  = 0
  Prefactor  = 7.16397
  Prefactor  = 0
  Prefactor  = 0
  Prefactor  = 1.66533e-10
  Prefactor  = 33.1365
  Prefactor  = 19.789
  Prefactor  = 10.9073
  Prefactor  = 4.19109e-08
  norm       = 0
  Prefactor  = 1.63436
  norm       = 3.95795e-08
  Prefactor  = 14.4571
  Prefactor  = 5.01743
  norm       = 7.77156e-10
  Normalizat = 0.994726
  Prefactor  = 1.13726
L_V02
Working on...
/lscratch/kocevski/38742458/ft1_filtered_4FGL_J1707.5+1649_daily_bin2207.fits.....................!
real 54.59
user 52.62
sys 1.22

Creating the likelihood object...
obs = UnbinnedObs('/lscratch/kocevski/38742458/ft1_filtered_4FGL_J1707.5+1649_daily_bin2207.fits', '/lscratch/kocevski/38742458/ft2_4FGL_J1707.5+1649_daily_bin2207.fits', expMap='/lscratch/kocevski/38742458/expmap_811382401_811641601_4FGL_J1707.5+1649_daily_bin2207.fits', expCube='/lscratch/kocevski/38742458/ltcube_811382401_811641601_4FGL_J1707.5+1649_daily_bin2207.fits', irfs='P8R3_SOURCE_V2')
like = UnbinnedAnalysis(obs, '/lscratch/kocevski/38742458/Model_4FGL_J1707.5+1649_daily_bin2207.xml', optimizer='MINUIT')

Using source of interest name: '4FGL J1707.5+1649'

4FGL J1707.5+1649
   Spectrum: PowerLaw
271    Prefactor:  2.274e+00  0.000e+00  0.000e+00  1.000e+06 ( 1.000e-13)
272        Index:  2.254e+00  0.000e+00  0.000e+00  1.000e+01 (-1.000e+00) fixed
273        Scale:  1.429e+03  0.000e+00  3.000e+01  5.000e+05 ( 1.000e+00) fixed


Likelihood Fit Parameters:
Event file(s): /lscratch/kocevski/38742458/ft1_filtered_4FGL_J1707.5+1649_daily_bin2207.fits
Spacecraft file(s): /lscratch/kocevski/38742458/ft2_4FGL_J1707.5+1649_daily_bin2207.fits
Exposure map: /lscratch/kocevski/38742458/expmap_811382401_811641601_4FGL_J1707.5+1649_daily_bin2207.fits
Exposure cube: /lscratch/kocevski/38742458/ltcube_811382401_811641601_4FGL_J1707.5+1649_daily_bin2207.fits
IRFs: P8R3_SOURCE_V2
Source model file: /lscratch/kocevski/38742458/Model_4FGL_J1707.5+1649_daily_bin2207.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) = 15364.0841158

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

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

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'Prefactor '    .66751E-02   1.0000          .0000       .10000E+07
     2 'Prefactor '    .11796E-03   1.0000          .0000       .10000E+07
     3 'Prefactor '    7.1672       1.0000          .0000       .10000E+07
     4 'Prefactor '    .20534E-03   1.0000          .0000       .10000E+07
     5 'Prefactor '    .67954E-03   1.0000          .0000       .10000E+07
     6 'Prefactor '    .80687E-02   1.0000          .0000       .10000E+07
     7 'Prefactor '    32.976       1.0000          .0000       .10000E+07
     8 'Prefactor '    19.699       1.0000          .0000       .10000E+07
     9 'Prefactor '    10.881       1.0000          .0000       .10000E+07
    10 'Prefactor '    .85222E-04   1.0000          .0000       .10000E+07
    11 'norm      '    .34195E-07   1.0000          .0000       .10000E+07
    12 'Prefactor '    1.5913       1.0000          .0000       .10000E+07
    13 'norm      '    .10428E-03   1.0000          .0000       .10000E+07
    14 'Prefactor '    14.945       1.0000          .0000       .10000E+07
    15 'Prefactor '    5.0244       1.0000          .0000       .10000E+07
    16 'norm      '    .44751E-01   1.0000          .0000       .10000E+07
    17 'Normalizat'    .99513       1.0000         .10000E-01   10.000    
    18 'Prefactor '    1.1371       1.0000          .0000       10.000    
 **********
 **   15 **SET ERR    .5000    
 **********
 **********
 **   16 **SET GRAD    1.000    
 **********
 **********
 **   17 **MINIMIZE    .6240E+05   .2000E-04
 **********

 MIGRAD MINIMIZATION HAS CONVERGED.

 FCN=   15364.08     FROM MIGRAD    STATUS=CONVERGED    127 CALLS     1292 TOTAL
                     EDM=   .33E-09  STRATEGY=1  ERROR MATRIX UNCERTAINTY=  1.1%

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor     .40523E-08    29.095        .64207E-06** at limit **
   2  Prefactor      .0000        3.0347       -.59073E-07** at limit **
   3  Prefactor     7.1640        8.9549        .22424E-05   -.22320E-01
   4  Prefactor      .0000        4.8128        .38335E-06** at limit **
   5  Prefactor      .0000        3.6373       -.11214E-06** at limit **
   6  Prefactor     .16653E-09    7.3717       -.34201E-06** at limit **
   7  Prefactor     33.136        6.1543       -.35356E-06    .68790E-01
   8  Prefactor     19.789        19.491        .19105E-05    .84414E-02
   9  Prefactor     10.907        6.1887       -.51175E-08   -.81802E-03
  10  Prefactor     .41911E-07    2.6350        .13350E-05** at limit **
  11  norm           .0000        1.1017       -.12051E-08** at limit **
  12  Prefactor     1.6344        2.9289       -.13347E-05   -.33002E-02
  13  norm          .39579E-07    2.7442       -.13237E-05** at limit **
  14  Prefactor     14.457        49.493       -.42978E-05    .35523E-02
  15  Prefactor     5.0174        2.6448       -.42407E-07   -.13923E-02
  16  norm          .77716E-09    17.340       -.12047E-05** at limit **
  17  Normalizat    .99473        .22058        .14476E-07    .55046E-04
  18  Prefactor     1.1373        .86056E-01   -.75086E-06   -.16367E-03
                               ERR DEF=  .500    
Final values: 
  Prefactor  = 4.05231e-09
  Prefactor  = 0
  Prefactor  = 7.16397
  Prefactor  = 0
  Prefactor  = 0
  Prefactor  = 1.66533e-10
  Prefactor  = 33.1365
  Prefactor  = 19.789
  Prefactor  = 10.9073
  Prefactor  = 4.19109e-08
  norm       = 0
  Prefactor  = 1.63436
  norm       = 3.95795e-08
  Prefactor  = 14.4571
  Prefactor  = 5.01743
  norm       = 7.77156e-10
  Normalizat = 0.994726
  Prefactor  = 1.13726
 **********
 **   18 **HESSE 
 **********

 FCN=   15364.08     FROM HESSE     STATUS=OK           278 CALLS     1570 TOTAL
                     EDM=   .56E-06    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  Prefactor     .40523E-08    29.044        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   2  Prefactor      .0000        3.0385        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   3  Prefactor     7.1640        11.232        .37445E-03   -1.5654    
   4  Prefactor      .0000        4.7901        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   5  Prefactor      .0000        3.6270        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   6  Prefactor     .16653E-09    7.3819        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   7  Prefactor     33.136        30.694        .17416E-03   -1.5593    
   8  Prefactor     19.789        19.947        .22538E-03   -1.5619    
   9  Prefactor     10.907        6.2113        .30347E-03   -1.5642    
  10  Prefactor     .41911E-07    4.0255        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  11  norm           .0000        1.0953        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  12  Prefactor     1.6344        19.350        .84078E-03   -1.5682    
  13  norm          .39579E-07    4.0143        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  14  Prefactor     14.457        49.975        .25882E-03   -1.5632    
  15  Prefactor     5.0174        2.7161        .44837E-03   -1.5663    
  16  norm          .77716E-09    17.354        .15756E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  17  Normalizat    .99473        .19500        .99040E-01   -.93207    
  18  Prefactor     1.1373        .74872E-01    .36321E-01   -.88285    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 5.57694e-07
Minuit parameter uncertainties:
  1  0.00068414
  2  1.57949e-06
  3  11.2325
  4  1.01396e-05
  5  1.35855e-06
  6  6.84949e-05
  7  30.694
  8  19.9466
  9  6.21133
  10  0.00082139
  11  2.11436e-06
  12  11.2472
  13  0.00079743
  14  49.9764
  15  2.71613
  16  0.000232363
  17  0.19514
  18  0.074879
 **********
 **   18 **HESSE 
 **********

 FCN=   15364.08     FROM HESSE     STATUS=OK           278 CALLS     1570 TOTAL
                     EDM=   .56E-06    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  Prefactor     .40523E-08    29.044        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   2  Prefactor      .0000        3.0385        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   3  Prefactor     7.1640        11.232        .37445E-03   -1.5654    
   4  Prefactor      .0000        4.7901        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   5  Prefactor      .0000        3.6270        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   6  Prefactor     .16653E-09    7.3819        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   7  Prefactor     33.136        30.694        .17416E-03   -1.5593    
   8  Prefactor     19.789        19.947        .22538E-03   -1.5619    
   9  Prefactor     10.907        6.2113        .30347E-03   -1.5642    
  10  Prefactor     .41911E-07    4.0255        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  11  norm           .0000        1.0953        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  12  Prefactor     1.6344        19.350        .84078E-03   -1.5682    
  13  norm          .39579E-07    4.0143        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  14  Prefactor     14.457        49.975        .25882E-03   -1.5632    
  15  Prefactor     5.0174        2.7161        .44837E-03   -1.5663    
  16  norm          .77716E-09    17.354        .15756E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  17  Normalizat    .99473        .19500        .99040E-01   -.93207    
  18  Prefactor     1.1373        .74872E-01    .36321E-01   -.88285    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 5.57694e-07
Minuit parameter uncertainties:
  1  0.00068414
  2  1.57949e-06
  3  11.2325
  4  1.01396e-05
  5  1.35855e-06
  6  6.84949e-05
  7  30.694
  8  19.9466
  9  6.21133
  10  0.00082139
  11  2.11436e-06
  12  11.2472
  13  0.00079743
  14  49.9764
  15  2.71613
  16  0.000232363
  17  0.19514
  18  0.074879
Done.

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

Extracting fit parameters...

4FGL J1707.5+1649
   Spectrum: PowerLaw
271    Prefactor:  4.191e-08  8.214e-04  0.000e+00  1.000e+06 ( 1.000e-13)
272        Index:  2.254e+00  0.000e+00  0.000e+00  1.000e+01 (-1.000e+00) fixed
273        Scale:  1.429e+03  0.000e+00  3.000e+01  5.000e+05 ( 1.000e+00) fixed

GAL_V02
   Spectrum: PowerLaw
621    Prefactor:  1.137e+00  7.488e-02  0.000e+00  1.000e+01 ( 1.000e+00)
622        Index:  0.000e+00  0.000e+00 -1.000e+00  1.000e+00 ( 1.000e+00) fixed
623        Scale:  1.000e+02  0.000e+00  5.000e+01  2.000e+02 ( 1.000e+00) fixed

EG_v02
   Spectrum: FileFunction
620   Normalization:  9.947e-01  1.951e-01  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Fixed Index): -0.00
Ra Dec: 256.881 16.821
Photon Flux Upper Limit: 5.01898046928e-08 ph cm-2 s-1
Energy Flux Upper Limit: 0.00383909884192 MeV cm-2 s-1

Saving results to:
/lscratch/kocevski/38742433/likelihoodResults_811382401_811641601_4FGL_J1707.5+1649_daily_bin2207.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) = 15364.075923
delta logL = -0.000272495750323

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

MINUIT Return Code (Free Index): 102
logL (Free Index) = 15363.9336861
delta logL = 0.141964391762

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'Prefactor '    .54064E-03   1.0000          .0000       .10000E+07
     2 'Index     '    6.3446       1.0000          .0000       10.000    
     3 'Normalizat'    .96652       1.0000         .10000E-01   10.000    
     4 'Prefactor '    1.1436       1.0000          .0000       10.000    
 **********
 **   15 **SET ERR    .5000    
 **********
 **********
 **   16 **SET GRAD    1.000    
 **********
 **********
 **   17 **MINIMIZE    .6240E+05   .2000E-04
 **********

 MIGRAD MINIMIZATION HAS CONVERGED.

 FCN=   15364.08     FROM MIGRAD    STATUS=CONVERGED     58 CALLS      352 TOTAL
                     EDM=   .25E-11  STRATEGY=1  ERROR MATRIX UNCERTAINTY=  2.6%

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor      .0000        4.1737        .50821E-06** at limit **
   2  Index         1.9881        .11602        .18696E-05     .0000    
   3  Normalizat    .99472        .21436       -.41096E-06    .25089E-04
   4  Prefactor     1.1373        .83307E-01   -.24859E-06    .16897E-04
                               ERR DEF=  .500    
Final values: 
  Prefactor  = 0
  Index      = 1.98806
  Normalizat = 0.994724
  Prefactor  = 1.13726
 **********
 **   18 **HESSE 
 **********
  MNHESS FAILS AND WILL RETURN DIAGONAL MATRIX. 

 FCN=   15364.08     FROM HESSE     STATUS=FAILED        11 CALLS      363 TOTAL
                     EDM=   .25E-11  STRATEGY=1  ERROR MATRIX UNCERTAINTY=100.0%

  EXT PARAMETER                APPROXIMATE     INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  Prefactor      .0000        4.1711        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   2  Index         .42302        1.6309        .18696E-05   -76.045    
   3  Normalizat    .99472        1.3152       -.41096E-06    54.339    
   4  Prefactor     1.1373        1.1221       -.24859E-06   -14.825    
                               ERR DEF=  .500    
Minuit fit quality: 1   estimated distance: 2.48575e-12
Minuit parameter uncertainties:
  1  1.27186e-05
  2  0.836302
  3  1.36226
  4  1.1469
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) = 15364.0756505
delta logL = 5.2314135246e-09

Extracting fit parameters...

4FGL J1707.5+1649
   Spectrum: PowerLaw
271    Prefactor:  0.000e+00  1.272e-05  0.000e+00  1.000e+06 ( 1.000e-13)
272        Index:  1.988e+00  8.363e-01  0.000e+00  1.000e+01 (-1.000e+00)
273        Scale:  1.429e+03  0.000e+00  3.000e+01  5.000e+05 ( 1.000e+00) fixed

GAL_V02
   Spectrum: PowerLaw
621    Prefactor:  1.137e+00  1.147e+00  0.000e+00  1.000e+01 ( 1.000e+00)
622        Index:  0.000e+00  0.000e+00 -1.000e+00  1.000e+00 ( 1.000e+00) fixed
623        Scale:  1.000e+02  0.000e+00  5.000e+01  2.000e+02 ( 1.000e+00) fixed

EG_v02
   Spectrum: FileFunction
620   Normalization:  9.947e-01  1.362e+00  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Free Index): -0.00
Ra Dec: 256.881 16.821

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/38742433/cmap_HighResolution_811382401_811641601_4FGL_J1707.5+1649_daily_bin2207.png

Cleaning up...

** Nuclear option initiated! **

Updating database...

UPDATE lightcurve_data_v2 SET energy_flux_upper_limit='3.84e-03', job_status='DONE', photon_flux_upper_limit='5.02e-08', time_completed='2026-09-21 14:45:09.353886', job_id='38742433', GAL2='1.14', fit_tolerance='1e-08', EG2='0.99', EG='0.99', time_epoch_completed='1790027109.35', return_code2='101', ts='-0.00', comment='SUCCESS', return_code='0', GAL='1.14', dlogl='5.23e-09', ts2='0.00', photon_index_error='0.00', photon_index='2.25' WHERE bin_id='2207' AND source_name='4FGL J1707.5+1649' AND cadence='daily';

Database successfully updated.


Analysis Complete.


Mon Sep 21 14:45:09 PDT 2026

Done.

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

Extracting fit parameters...

4FGL J1707.5+1649
   Spectrum: PowerLaw
271    Prefactor:  4.191e-08  8.214e-04  0.000e+00  1.000e+06 ( 1.000e-13)
272        Index:  2.254e+00  0.000e+00  0.000e+00  1.000e+01 (-1.000e+00) fixed
273        Scale:  1.429e+03  0.000e+00  3.000e+01  5.000e+05 ( 1.000e+00) fixed

GAL_V02
   Spectrum: PowerLaw
621    Prefactor:  1.137e+00  7.488e-02  0.000e+00  1.000e+01 ( 1.000e+00)
622        Index:  0.000e+00  0.000e+00 -1.000e+00  1.000e+00 ( 1.000e+00) fixed
623        Scale:  1.000e+02  0.000e+00  5.000e+01  2.000e+02 ( 1.000e+00) fixed

EG_v02
   Spectrum: FileFunction
620   Normalization:  9.947e-01  1.951e-01  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Fixed Index): -0.00
Ra Dec: 256.881 16.821
Photon Flux Upper Limit: 5.01898046928e-08 ph cm-2 s-1
Energy Flux Upper Limit: 0.00383909884192 MeV cm-2 s-1

Saving results to:
/lscratch/kocevski/38742458/likelihoodResults_811382401_811641601_4FGL_J1707.5+1649_daily_bin2207.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) = 15364.075923
delta logL = -0.000272495750323

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

MINUIT Return Code (Free Index): 102
logL (Free Index) = 15363.9336861
delta logL = 0.141964391762

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'Prefactor '    .54064E-03   1.0000          .0000       .10000E+07
     2 'Index     '    6.3446       1.0000          .0000       10.000    
     3 'Normalizat'    .96652       1.0000         .10000E-01   10.000    
     4 'Prefactor '    1.1436       1.0000          .0000       10.000    
 **********
 **   15 **SET ERR    .5000    
 **********
 **********
 **   16 **SET GRAD    1.000    
 **********
 **********
 **   17 **MINIMIZE    .6240E+05   .2000E-04
 **********

 MIGRAD MINIMIZATION HAS CONVERGED.

 FCN=   15364.08     FROM MIGRAD    STATUS=CONVERGED     58 CALLS      352 TOTAL
                     EDM=   .25E-11  STRATEGY=1  ERROR MATRIX UNCERTAINTY=  2.6%

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor      .0000        4.1737        .50821E-06** at limit **
   2  Index         1.9881        .11602        .18696E-05     .0000    
   3  Normalizat    .99472        .21436       -.41096E-06    .25089E-04
   4  Prefactor     1.1373        .83307E-01   -.24859E-06    .16897E-04
                               ERR DEF=  .500    
Final values: 
  Prefactor  = 0
  Index      = 1.98806
  Normalizat = 0.994724
  Prefactor  = 1.13726
 **********
 **   18 **HESSE 
 **********
  MNHESS FAILS AND WILL RETURN DIAGONAL MATRIX. 

 FCN=   15364.08     FROM HESSE     STATUS=FAILED        11 CALLS      363 TOTAL
                     EDM=   .25E-11  STRATEGY=1  ERROR MATRIX UNCERTAINTY=100.0%

  EXT PARAMETER                APPROXIMATE     INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  Prefactor      .0000        4.1711        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   2  Index         .42302        1.6309        .18696E-05   -76.045    
   3  Normalizat    .99472        1.3152       -.41096E-06    54.339    
   4  Prefactor     1.1373        1.1221       -.24859E-06   -14.825    
                               ERR DEF=  .500    
Minuit fit quality: 1   estimated distance: 2.48575e-12
Minuit parameter uncertainties:
  1  1.27186e-05
  2  0.836302
  3  1.36226
  4  1.1469
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) = 15364.0756505
delta logL = 5.2314135246e-09

Extracting fit parameters...

4FGL J1707.5+1649
   Spectrum: PowerLaw
271    Prefactor:  0.000e+00  1.272e-05  0.000e+00  1.000e+06 ( 1.000e-13)
272        Index:  1.988e+00  8.363e-01  0.000e+00  1.000e+01 (-1.000e+00)
273        Scale:  1.429e+03  0.000e+00  3.000e+01  5.000e+05 ( 1.000e+00) fixed

GAL_V02
   Spectrum: PowerLaw
621    Prefactor:  1.137e+00  1.147e+00  0.000e+00  1.000e+01 ( 1.000e+00)
622        Index:  0.000e+00  0.000e+00 -1.000e+00  1.000e+00 ( 1.000e+00) fixed
623        Scale:  1.000e+02  0.000e+00  5.000e+01  2.000e+02 ( 1.000e+00) fixed

EG_v02
   Spectrum: FileFunction
620   Normalization:  9.947e-01  1.362e+00  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Free Index): -0.00
Ra Dec: 256.881 16.821

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/38742458/cmap_HighResolution_811382401_811641601_4FGL_J1707.5+1649_daily_bin2207.png

Cleaning up...

** Nuclear option initiated! **

Updating database...

UPDATE lightcurve_data_v2 SET energy_flux_upper_limit='3.84e-03', job_status='DONE', photon_flux_upper_limit='5.02e-08', time_completed='2026-09-21 14:45:17.432168', job_id='38742458', GAL2='1.14', fit_tolerance='1e-08', EG2='0.99', EG='0.99', time_epoch_completed='1790027117.43', return_code2='101', ts='-0.00', comment='SUCCESS', return_code='0', GAL='1.14', dlogl='5.23e-09', ts2='0.00', photon_index_error='0.00', photon_index='2.25' WHERE bin_id='2207' AND source_name='4FGL J1707.5+1649' AND cadence='daily';

Database successfully updated.


Analysis Complete.


Mon Sep 21 14:45:17 PDT 2026

