aklog: Couldn't determine realm of user:aklog: No credentials cache found  while getting realm
/nfs/farm/g/glast/g/LCRepository/bin/miniconda2/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)


Waiting 142 seconds before starting...
Proceeding.

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

/nfs/farm/g/glast/g/LCRepository/bin/miniconda2/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).

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


Performing analysis on: 4FGL_J1707.5+1649_daily_bin1710
RA = 256.881, Dec = 16.8206
tmin = 682560001, tmax = 682819201
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='176939', job_status='RUN', time_executed='2022-09-16 20:03:41.831324', time_epoch_executed='1663383821.83' WHERE source_name='4FGL J1707.5+1649' and cadence='daily' and bin_id='1710'

Database successfully updated.
Done.

Creating custom output directory:
/scratch/kocevski/176939

Creating custom pfile directory:
/scratch/kocevski/176939/pfiles/

Retrieving the FT1 file...

Issuing command:
/afs/slac.stanford.edu/g/glast/ground/bin/datacat find --group FT1 --filter 'nMetStop>=682560001.0 && nMetStart<682819201.0' /Data/Flight/Reprocess/P305

Issuing command:
/afs/slac.stanford.edu/g/glast/ground/bin/datacat find --group FT1 --filter 'nMetStart>564945418 && nMetStop>=682560001.0 && nMetStart<682819201.0' /Data/Flight/Level1/LPA

Retrieving 46 files...
Done.


Merging files...

Checksum keywords updated successfully.

Merged file saved to:
/scratch/kocevski/176939/ft1_4FGL_J1707.5+1649_daily_bin1710.fits


Retrieving the FT1 file...

Issuing command:
/afs/slac.stanford.edu/g/glast/ground/bin/datacat find --group FT2 --filter 'nMetStop>=682560001.0 && nMetStart<682819201.0' /Data/Flight/Level1/LPA

Retrieving 46 files...
Done.


Merging files...

Merged file saved to:
/scratch/kocevski/176939/ft2_4FGL_J1707.5+1649_daily_bin1710.fits


Selecting the photons:
time -p gtselect infile=/scratch/kocevski/176939/ft1_4FGL_J1707.5+1649_daily_bin1710.fits outfile=/scratch/kocevski/176939/ft1_filteredMKT_4FGL_J1707.5+1649_daily_bin1710.fits ra=256.881 dec=16.8206 rad=12.0 tmin=682560001.0 tmax=682819201.0 emin=100.0 emax=100000.0 zmin=0.0 zmax=90.0 evclass=128 evtype="INDEF" convtype=-1 phasemin=0.0 phasemax=1.0 evtable="EVENTS" chatter=2 clobber=yes debug=no gui=no mode="ql"

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

Done.
real 3.67
user 3.44
sys 0.21

Adding sun position to ft2 file:
/nfs/farm/g/glast/g/LCRepository/Repository/bin/sunpos /scratch/kocevski/176939/ft2_4FGL_J1707.5+1649_daily_bin1710.fits

Selecting the good time intervals:
time -p gtmktime scfile=/scratch/kocevski/176939/ft2_4FGL_J1707.5+1649_daily_bin1710.fits sctable="SC_DATA" filter="IN_SAA!=T && LIVETIME>0 && gtifilter('/nfs/farm/g/glast/g/LCRepository/Likelihood/GTIs/nogrb.gti',(START+STOP)/2) && (angsep(RA_SUN,DEC_SUN,RA_ZENITH,DEC_ZENITH)>115 || gtifilter('/nfs/farm/g/glast/g/LCRepository/Likelihood/GTIs/nosolarflares.gti',(START+STOP)/2))" roicut=no evfile=/scratch/kocevski/176939/ft1_filteredMKT_4FGL_J1707.5+1649_daily_bin1710.fits evtable="EVENTS" outfile="/scratch/kocevski/176939/ft1_filtered_4FGL_J1707.5+1649_daily_bin1710.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('/nfs/farm/g/glast/g/LCRepository/Likelihood/GTIs/nogrb.gti',(START+STOP)/2) && (angsep(RA_SUN,DEC_SUN,RA_ZENITH,DEC_ZENITH)>115 || gtifilter('/nfs/farm/g/glast/g/LCRepository/Likelihood/GTIs/nosolarflares.gti',(START+STOP)/2))
real 0.52
user 0.35
sys 0.16

Number of photons that the gtmktime cut: 878

Generating the livetime cube:
time -p gtltcube evfile="/scratch/kocevski/176939/ft1_filtered_4FGL_J1707.5+1649_daily_bin1710.fits" evtable="EVENTS" scfile=/scratch/kocevski/176939/ft2_4FGL_J1707.5+1649_daily_bin1710.fits sctable="SC_DATA" outfile=/scratch/kocevski/176939/ltcube_682560001_682819201_4FGL_J1707.5+1649_daily_bin1710.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 /scratch/kocevski/176939/ft2_4FGL_J1707.5+1649_daily_bin1710.fits
.....................!
real 15.04
user 14.66
sys 0.34

Generating the exposure map:
time -p gtexpmap evfile=/scratch/kocevski/176939/ft1_filtered_4FGL_J1707.5+1649_daily_bin1710.fits evtable="EVENTS" scfile=/scratch/kocevski/176939/ft2_4FGL_J1707.5+1649_daily_bin1710.fits sctable="SC_DATA" expcube=/scratch/kocevski/176939/ltcube_682560001_682819201_4FGL_J1707.5+1649_daily_bin1710.fits outfile=/scratch/kocevski/176939/expmap_682560001_682819201_4FGL_J1707.5+1649_daily_bin1710.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 /scratch/kocevski/176939/ltcube_682560001_682819201_4FGL_J1707.5+1649_daily_bin1710.fits
.....................!
real 195.27
user 190.08
sys 4.80

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=/scratch/kocevski/176939/ft1_filtered_4FGL_J1707.5+1649_daily_bin1710.fits scfile=/scratch/kocevski/176939/ft2_4FGL_J1707.5+1649_daily_bin1710.fits outfile=/scratch/kocevski/176939/cmap_682560001_682819201_4FGL_J1707.5+1649_daily_bin1710.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.41
sys 0.15

Creating the high resolution counts map:
time -p gtbin evfile=/scratch/kocevski/176939/ft1_filtered_4FGL_J1707.5+1649_daily_bin1710.fits scfile=/scratch/kocevski/176939/ft2_4FGL_J1707.5+1649_daily_bin1710.fits outfile=/scratch/kocevski/176939/cmap_HighResolution_682560001_682819201_4FGL_J1707.5+1649_daily_bin1710.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.58
user 0.42
sys 0.15

Computing the diffuse response:
time -p gtdiffrsp evfile=/scratch/kocevski/176939/ft1_filtered_4FGL_J1707.5+1649_daily_bin1710.fits evtable="EVENTS" scfile=/scratch/kocevski/176939/ft2_4FGL_J1707.5+1649_daily_bin1710.fits sctable="SC_DATA" srcmdl=/scratch/kocevski/176939/Model_4FGL_J1707.5+1649_daily_bin1710.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...
/scratch/kocevski/176939/ft1_filtered_4FGL_J1707.5+1649_daily_bin1710.fits.....................!
real 79.36
user 77.80
sys 1.32

Creating the likelihood object...
obs = UnbinnedObs('/scratch/kocevski/176939/ft1_filtered_4FGL_J1707.5+1649_daily_bin1710.fits', '/scratch/kocevski/176939/ft2_4FGL_J1707.5+1649_daily_bin1710.fits', expMap='/scratch/kocevski/176939/expmap_682560001_682819201_4FGL_J1707.5+1649_daily_bin1710.fits', expCube='/scratch/kocevski/176939/ltcube_682560001_682819201_4FGL_J1707.5+1649_daily_bin1710.fits', irfs='P8R3_SOURCE_V2')
like = UnbinnedAnalysis(obs, '/scratch/kocevski/176939/Model_4FGL_J1707.5+1649_daily_bin1710.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): /scratch/kocevski/176939/ft1_filtered_4FGL_J1707.5+1649_daily_bin1710.fits
Spacecraft file(s): /scratch/kocevski/176939/ft2_4FGL_J1707.5+1649_daily_bin1710.fits
Exposure map: /scratch/kocevski/176939/expmap_682560001_682819201_4FGL_J1707.5+1649_daily_bin1710.fits
Exposure cube: /scratch/kocevski/176939/ltcube_682560001_682819201_4FGL_J1707.5+1649_daily_bin1710.fits
IRFs: P8R3_SOURCE_V2
Source model file: /scratch/kocevski/176939/Model_4FGL_J1707.5+1649_daily_bin1710.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) = 9566.74025636

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

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

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'Prefactor '    55.006       1.0000          .0000       .10000E+07
     2 'Prefactor '    .55174E-03   1.0000          .0000       .10000E+07
     3 'Prefactor '    .15588E-02   1.0000          .0000       .10000E+07
     4 'Prefactor '    .22256E-04   1.0000          .0000       .10000E+07
     5 'Prefactor '    13.262       1.0000          .0000       .10000E+07
     6 'Prefactor '    45.113       1.0000          .0000       .10000E+07
     7 'Prefactor '    .31108E-02   1.0000          .0000       .10000E+07
     8 'Prefactor '    .15747E-02   1.0000          .0000       .10000E+07
     9 'Prefactor '    .64731E-02   1.0000          .0000       .10000E+07
    10 'Prefactor '    .62295E-02   1.0000          .0000       .10000E+07
    11 'norm      '    .31167       1.0000          .0000       .10000E+07
    12 'Prefactor '    1.3996       1.0000          .0000       .10000E+07
    13 'norm      '    .42918E-04   1.0000          .0000       .10000E+07
    14 'Prefactor '    73.593       1.0000          .0000       .10000E+07
    15 'Prefactor '    1.7590       1.0000          .0000       .10000E+07
    16 'norm      '    .28573       1.0000          .0000       .10000E+07
    17 'Normalizat'    1.2703       1.0000         .10000E-01   10.000    
    18 'Prefactor '    .90836       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=   9566.702     FROM MIGRAD    STATUS=CONVERGED    183 CALLS     1931 TOTAL
                     EDM=   .52E-12  STRATEGY=1  ERROR MATRIX UNCERTAINTY=   .6%

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor     56.223        46.710       -.46846E-07    .28195E-04
   2  Prefactor      .0000        3.4476       -.43292E-07** at limit **
   3  Prefactor      .0000        22.148        .14468E-06** at limit **
   4  Prefactor      .0000        3.0736        .53175E-07** at limit **
   5  Prefactor     13.207        8.4012        .86312E-07   -.61789E-04
   6  Prefactor     46.316        36.849       -.11428E-06    .44471E-04
   7  Prefactor      .0000        8.5161        .74185E-07** at limit **
   8  Prefactor      .0000        20.871        .98128E-08** at limit **
   9  Prefactor      .0000        5.7567       -.28664E-06** at limit **
  10  Prefactor      .0000        9.4083        .55076E-07** at limit **
  11  norm          .31261        2.0604        .67099E-07   -.79380E-05
  12  Prefactor     1.3802        24.181        .55134E-06   -.42010E-04
  13  norm           .0000        18.880       -.44886E-06** at limit **
  14  Prefactor     74.513        82.584        .22652E-06   -.88402E-05
  15  Prefactor     1.7642        3.1767        .12873E-06   -.17075E-03
  16  norm           .0000        63.902       -.23337E-06** at limit **
  17  Normalizat    1.2673        .28596       -.65049E-07    .73830E-05
  18  Prefactor     .90866        .10249       -.11195E-05    .21893E-04
                               ERR DEF=  .500    
Final values: 
  Prefactor  = 56.223
  Prefactor  = 0
  Prefactor  = 0
  Prefactor  = 0
  Prefactor  = 13.2071
  Prefactor  = 46.3158
  Prefactor  = 0
  Prefactor  = 0
  Prefactor  = 0
  Prefactor  = 0
  norm       = 0.312613
  Prefactor  = 1.38023
  norm       = 0
  Prefactor  = 74.5128
  Prefactor  = 1.76418
  norm       = 0
  Normalizat = 1.26735
  Prefactor  = 0.908664
 **********
 **   18 **HESSE 
 **********

 FCN=   9566.702     FROM HESSE     STATUS=OK           278 CALLS     2209 TOTAL
                     EDM=   .54E-06    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  Prefactor     56.223        46.636        .13484E-03   -1.5558    
   2  Prefactor      .0000        3.4462        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   3  Prefactor      .0000        22.068        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   4  Prefactor      .0000        3.0660        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   5  Prefactor     13.207        8.4054        .27480E-03   -1.5635    
   6  Prefactor     46.316        36.592        .14890E-03   -1.5572    
   7  Prefactor      .0000        8.5102        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   8  Prefactor      .0000        20.877        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   9  Prefactor      .0000        5.7350        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  10  Prefactor      .0000        9.3976        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  11  norm          .31261        2.0897        .10053E-02   -1.5697    
  12  Prefactor     1.3802        24.990        .91691E-03   -1.5684    
  13  norm           .0000        18.848        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  14  Prefactor     74.513        82.542        .11658E-03   -1.5535    
  15  Prefactor     1.7642        3.2595        .78981E-03   -1.5681    
  16  norm           .0000        63.793        .10414E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  17  Normalizat    1.2673        .23865        .87746E-01   -.84546    
  18  Prefactor     .90866        .84957E-01    .45111E-01   -.95839    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 5.39748e-07
Minuit parameter uncertainties:
  1  46.6363
  2  8.22038e-07
  3  6.00082e-06
  4  7.35037e-07
  5  8.40538
  6  36.5919
  7  1.80123e-06
  8  9.1506e-07
  9  5.49122e-06
  10  1.01758e-06
  11  1.61649
  12  11.7461
  13  1.02076e-05
  14  82.5437
  15  3.25953
  16  1.12171e-05
  17  0.238853
  18  0.0849698
Done.

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

Extracting fit parameters...

4FGL J1707.5+1649
   Spectrum: PowerLaw
271    Prefactor:  0.000e+00  1.018e-06  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:  9.087e-01  8.497e-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:  1.267e+00  2.389e-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: 9.41e-08 ph cm-2 s-1
Energy Flux Upper Limit: 7.20e-03 MeV cm-2 s-1

Saving results to:
/scratch/kocevski/176939/likelihoodResults_682560001_682819201_4FGL_J1707.5+1649_daily_bin1710.txt

Performing a free index iterative likelihood fit...

Freezing all point sources, except source of interest...

Done.

Freeing candidate source...
Done.

Fit tolerance = 1

Performing likelihood fit...
Done.

MINUIT Return Code (Free Index): 0
logL (Free Index) = 9566.75413709
delta logL = -0.0518300571021

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

MINUIT Return Code (Free Index): 102
logL (Free Index) = 9566.70230754
delta logL = -5.07785443915e-07

Fit tolerance = 1e-08

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

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

 MIGRAD MINIMIZATION HAS CONVERGED.

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

 FCN=   9566.702     FROM MIGRAD    STATUS=CONVERGED     61 CALLS      226 TOTAL
                     EDM=   .14E-10  STRATEGY=1  ERROR MATRIX UNCERTAINTY=100.0%

  EXT PARAMETER                APPROXIMATE        STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor      .0000        .59484        .42118E-03** at limit **
   2  Index         .43242        .43811       -.46385E-04     .0000    
   3  Normalizat    1.2673        1.0869        .27476E-05    .47548E-04
   4  Prefactor     .90866        1.2532        .43695E-06    .30772E-04
                               ERR DEF=  .500    
Final values: 
  Prefactor  = 0
  Index      = 0.432421
  Normalizat = 1.26735
  Prefactor  = 0.908664
 **********
 **   18 **HESSE 
 **********
  MNHESS FAILS AND WILL RETURN DIAGONAL MATRIX. 

 FCN=   9566.702     FROM HESSE     STATUS=FAILED         9 CALLS      235 TOTAL
                     EDM=   .14E-10  STRATEGY=1  ERROR MATRIX UNCERTAINTY=100.0%

  EXT PARAMETER                APPROXIMATE     INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  Prefactor      .0000        .59484        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   2  Index         .20710E-01    .51892       -.46385E-04   -1.1518    
   3  Normalizat    1.2673        1.0869        .27476E-05   -.84546    
   4  Prefactor     .90866        1.2532        .43695E-06   -.95839    
                               ERR DEF=  .500    
Minuit fit quality: 1   estimated distance: 1.35933e-11
Minuit parameter uncertainties:
  1  3.35883e-06
  2  0.441571
  3  1.10741
  4  1.29672
shell-init: error retrieving current directory: getcwd: cannot access parent directories: No such file or directory
rmdir: failed to remove `/scratch/kocevski/176939': No such file or directory
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) = 9566.70230704
delta logL = -3.63797880709e-12

Extracting fit parameters...

4FGL J1707.5+1649
   Spectrum: PowerLaw
271    Prefactor:  0.000e+00  3.359e-06  0.000e+00  1.000e+06 ( 1.000e-13)
272        Index:  4.324e-01  4.416e-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:  9.087e-01  1.297e+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:  1.267e+00  1.107e+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 /scratch/kocevski/176939/cmap_HighResolution_682560001_682819201_4FGL_J1707.5+1649_daily_bin1710.png

Cleaning up...

** Nuclear option initiated! **
rmdir /scratch/kocevski/176939

Updating database...

UPDATE lightcurve_data_v2 SET energy_flux_upper_limit='7.20e-03', job_status='DONE', photon_flux_upper_limit='9.41e-08', time_completed='2022-09-16 20:15:59.146888', job_id='176939', GAL2='0.91', fit_tolerance='1e-08', EG2='1.27', EG='1.27', time_epoch_completed='1663384559.15', return_code2='101', ts='0.00', comment='SUCCESS', return_code='0', GAL='0.91', dlogl='-3.64e-12', ts2='0.00', photon_index_error='0.00', photon_index='2.25' WHERE bin_id='1710' AND source_name='4FGL J1707.5+1649' AND cadence='daily';

Database successfully updated.


Analysis Complete.


Fri Sep 16 20:15:59 PDT 2022


------------------------------------------------------------
Sender: LSF System <scs@bullet0119>
Subject: Job 176939: <4FGL_J1707.5+1649_daily_bin1710> in cluster <slac> Done

Job <4FGL_J1707.5+1649_daily_bin1710> was submitted from host <rhel6-64f> by user <kocevski> in cluster <slac> at Fri Sep 16 20:00:17 2022
Job was executed on host(s) <bullet0119>, in queue <medium>, as user <kocevski> in cluster <slac> at Fri Sep 16 20:01:11 2022
</u/ki/kocevski> was used as the home directory.
</u/ki/kocevski> was used as the working directory.
Started at Fri Sep 16 20:01:11 2022
Terminated at Fri Sep 16 20:16:00 2022
Results reported at Fri Sep 16 20:16:00 2022

Your job looked like:

------------------------------------------------------------
# LSBATCH: User input
/nfs/farm/g/glast/g/LCRepository/Likelihood/Scripts/LikelihoodAnalysis.py 4FGL_J1707.5+1649_daily_bin1710 256.881 16.8206 682560001 682819201 irfs=P8R3_SOURCE_V2 zmax=90 ROI=12 association=4FGL_J1707.5+1649 fixedModel=True performFreeIndexFit=True freeVariableSources=True nuke=True repositoryJob=True verbose=False
------------------------------------------------------------

Successfully completed.

Resource usage summary:

    CPU time :                                   738.00 sec.
    Max Memory :                                 1094 MB
    Average Memory :                             299.41 MB
    Total Requested Memory :                     -
    Delta Memory :                               -
    Max Swap :                                   -
    Max Processes :                              5
    Max Threads :                                21
    Run time :                                   888 sec.
    Turnaround time :                            943 sec.

The output (if any) is above this job summary.

