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 42 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 = 7460
number of fields = 31
RA_SUN column already exists. File will not be modified.
Done.


Performing analysis on: 4FGL_J1707.5+1649_daily_bin1745
RA = 256.881, Dec = 16.8206
tmin = 691632001, tmax = 691891201
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='651607', job_status='RUN', time_executed='2022-12-05 01:01:17.898980', time_epoch_executed='1670230877.9' WHERE source_name='4FGL J1707.5+1649' and cadence='daily' and bin_id='1745'

Database successfully updated.
Done.

Creating custom output directory:
/scratch/kocevski/651607

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

Retrieving the FT1 file...

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

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

Retrieving 46 files...
Done.


Merging files...

Checksum keywords updated successfully.

Merged file saved to:
/scratch/kocevski/651607/ft1_4FGL_J1707.5+1649_daily_bin1745.fits


Retrieving the FT1 file...

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

Retrieving 46 files...
Done.


Merging files...

Merged file saved to:
/scratch/kocevski/651607/ft2_4FGL_J1707.5+1649_daily_bin1745.fits


Selecting the photons:
time -p gtselect infile=/scratch/kocevski/651607/ft1_4FGL_J1707.5+1649_daily_bin1745.fits outfile=/scratch/kocevski/651607/ft1_filteredMKT_4FGL_J1707.5+1649_daily_bin1745.fits ra=256.881 dec=16.8206 rad=12.0 tmin=691632001.0 tmax=691891201.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.37
user 2.15
sys 0.20

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

Selecting the good time intervals:
time -p gtmktime scfile=/scratch/kocevski/651607/ft2_4FGL_J1707.5+1649_daily_bin1745.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/651607/ft1_filteredMKT_4FGL_J1707.5+1649_daily_bin1745.fits evtable="EVENTS" outfile="/scratch/kocevski/651607/ft1_filtered_4FGL_J1707.5+1649_daily_bin1745.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.50
user 0.33
sys 0.16

Number of photons that the gtmktime cut: 1437

Generating the livetime cube:
time -p gtltcube evfile="/scratch/kocevski/651607/ft1_filtered_4FGL_J1707.5+1649_daily_bin1745.fits" evtable="EVENTS" scfile=/scratch/kocevski/651607/ft2_4FGL_J1707.5+1649_daily_bin1745.fits sctable="SC_DATA" outfile=/scratch/kocevski/651607/ltcube_691632001_691891201_4FGL_J1707.5+1649_daily_bin1745.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/651607/ft2_4FGL_J1707.5+1649_daily_bin1745.fits
.....................!
real 12.38
user 11.98
sys 0.36

Generating the exposure map:
time -p gtexpmap evfile=/scratch/kocevski/651607/ft1_filtered_4FGL_J1707.5+1649_daily_bin1745.fits evtable="EVENTS" scfile=/scratch/kocevski/651607/ft2_4FGL_J1707.5+1649_daily_bin1745.fits sctable="SC_DATA" expcube=/scratch/kocevski/651607/ltcube_691632001_691891201_4FGL_J1707.5+1649_daily_bin1745.fits outfile=/scratch/kocevski/651607/expmap_691632001_691891201_4FGL_J1707.5+1649_daily_bin1745.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/651607/ltcube_691632001_691891201_4FGL_J1707.5+1649_daily_bin1745.fits
.....................!
real 191.26
user 185.30
sys 5.64

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/651607/ft1_filtered_4FGL_J1707.5+1649_daily_bin1745.fits scfile=/scratch/kocevski/651607/ft2_4FGL_J1707.5+1649_daily_bin1745.fits outfile=/scratch/kocevski/651607/cmap_691632001_691891201_4FGL_J1707.5+1649_daily_bin1745.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.55
user 0.37
sys 0.16

Creating the high resolution counts map:
time -p gtbin evfile=/scratch/kocevski/651607/ft1_filtered_4FGL_J1707.5+1649_daily_bin1745.fits scfile=/scratch/kocevski/651607/ft2_4FGL_J1707.5+1649_daily_bin1745.fits outfile=/scratch/kocevski/651607/cmap_HighResolution_691632001_691891201_4FGL_J1707.5+1649_daily_bin1745.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.38
sys 0.16

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

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

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

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

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'Prefactor '    12.554       1.0000          .0000       .10000E+07
     2 'Prefactor '    .49612E-03   1.0000          .0000       .10000E+07
     3 'Prefactor '    .57002E-03   1.0000          .0000       .10000E+07
     4 'Prefactor '    2.3261       1.0000          .0000       .10000E+07
     5 'Prefactor '    4.0158       1.0000          .0000       .10000E+07
     6 'Prefactor '    15.662       1.0000          .0000       .10000E+07
     7 'Prefactor '    12.115       1.0000          .0000       .10000E+07
     8 'Prefactor '    .11647E-03   1.0000          .0000       .10000E+07
     9 'Prefactor '    .34427       1.0000          .0000       .10000E+07
    10 'Prefactor '    .66140E-04   1.0000          .0000       .10000E+07
    11 'norm      '    .22593E-07   1.0000          .0000       .10000E+07
    12 'Prefactor '    3.1949       1.0000          .0000       .10000E+07
    13 'norm      '    4.9988       1.0000          .0000       .10000E+07
    14 'Prefactor '    37.523       1.0000          .0000       .10000E+07
    15 'Prefactor '    4.2265       1.0000          .0000       .10000E+07
    16 'norm      '    25.874       1.0000          .0000       .10000E+07
    17 'Normalizat'    1.4041       1.0000         .10000E-01   10.000    
    18 'Prefactor '    .92814       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=   15109.54     FROM MIGRAD    STATUS=CONVERGED    127 CALLS     1304 TOTAL
                     EDM=   .99E-09  STRATEGY=1  ERROR MATRIX UNCERTAINTY=  1.4%

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor     12.565        2.0401        .16809E-07    .45120E-01
   2  Prefactor      .0000        3.5961        .21078E-06** at limit **
   3  Prefactor      .0000        3.8739        .47337E-06** at limit **
   4  Prefactor     2.3273        3.6920       -.17849E-06    .69382E-03
   5  Prefactor     3.9767        5.9576       -.16483E-06   -.49813E-03
   6  Prefactor     15.676        4.5115       -.28666E-07   -.53624E-01
   7  Prefactor     12.194        12.635       -.86338E-07   -.12460    
   8  Prefactor      .0000        15.203       -.36030E-06** at limit **
   9  Prefactor     .36440        20.190        .39218E-06   -.24257E-02
  10  Prefactor      .0000        11.374        .26987E-06** at limit **
  11  norm           .0000        .94342        .17340E-06** at limit **
  12  Prefactor     3.1926        7.0808        .16363E-07    .70711E-04
  13  norm          4.9958        5.6637       -.10797E-06    .14489E-03
  14  Prefactor     37.826        63.678        .27602E-06   -.44192E-01
  15  Prefactor     4.2269        2.5974        .14155E-09   -.18063E-03
  16  norm          25.599        29.112        .27224E-07   -.61473E-01
  17  Normalizat    1.4040        .22092        .16704E-05    .80265E-05
  18  Prefactor     .92817        .83034E-01   -.19247E-05    .33046E-04
                               ERR DEF=  .500    
Final values: 
  Prefactor  = 12.5647
  Prefactor  = 0
  Prefactor  = 0
  Prefactor  = 2.32734
  Prefactor  = 3.97674
  Prefactor  = 15.6756
  Prefactor  = 12.1936
  Prefactor  = 0
  Prefactor  = 0.364396
  Prefactor  = 0
  norm       = 0
  Prefactor  = 3.19261
  norm       = 4.99576
  Prefactor  = 37.8261
  Prefactor  = 4.22692
  norm       = 25.5991
  Normalizat = 1.40398
  Prefactor  = 0.928171
 **********
 **   18 **HESSE 
 **********

 FCN=   15109.54     FROM HESSE     STATUS=OK           286 CALLS     1590 TOTAL
                     EDM=   .15E-05    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  Prefactor     12.565        17.977        .28245E-03   -1.5637    
   2  Prefactor      .0000        3.5939        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   3  Prefactor      .0000        3.8723        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   4  Prefactor     2.3273        3.7941        .67220E-03   -1.5677    
   5  Prefactor     3.9767        6.0053        .50299E-03   -1.5668    
   6  Prefactor     15.676        25.315        .25282E-03   -1.5629    
   7  Prefactor     12.194        25.557        .28754E-03   -1.5638    
   8  Prefactor      .0000        15.195        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   9  Prefactor     .36440        2.4250        .96250E-02   -1.5696    
  10  Prefactor      .0000        11.275        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  11  norm           .0000        .93206        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  12  Prefactor     3.1926        7.1183        .56663E-03   -1.5672    
  13  norm          4.9958        5.6682        .44955E-03   -1.5663    
  14  Prefactor     37.826        71.163        .16327E-03   -1.5585    
  15  Prefactor     4.2269        2.6113        .48991E-03   -1.5667    
  16  norm          25.599        30.739        .19663E-03   -1.5607    
  17  Normalizat    1.4040        .18824        .83389E-01   -.80514    
  18  Prefactor     .92817        .68672E-01    .45363E-01   -.95164    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 1.52516e-06
Minuit parameter uncertainties:
  1  17.9773
  2  1.31191e-05
  3  5.80723e-06
  4  3.79407
  5  6.00535
  6  25.3151
  7  25.5568
  8  3.81386e-05
  9  1.88006
  10  3.34105e-05
  11  1.04238e-06
  12  7.11828
  13  5.66824
  14  71.1644
  15  2.61127
  16  30.7393
  17  0.188336
  18  0.0686783
Done.

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

Extracting fit parameters...

4FGL J1707.5+1649
   Spectrum: PowerLaw
271    Prefactor:  0.000e+00  3.341e-05  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.282e-01  6.868e-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.404e+00  1.883e-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.84e-08 ph cm-2 s-1
Energy Flux Upper Limit: 4.46e-03 MeV cm-2 s-1

Saving results to:
/scratch/kocevski/651607/likelihoodResults_691632001_691891201_4FGL_J1707.5+1649_daily_bin1745.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) = 15109.5910506
delta logL = -0.0496377595991

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

MINUIT Return Code (Free Index): 102
logL (Free Index) = 15109.5414129
delta logL = -1.56469468493e-08

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'Prefactor '    .45075E-07   1.0000          .0000       .10000E+07
     2 'Index     '    1.5713       1.0000          .0000       10.000    
     3 'Normalizat'    1.4040       1.0000         .10000E-01   10.000    
     4 'Prefactor '    .92816       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=   15109.54     FROM MIGRAD    STATUS=CONVERGED     41 CALLS      209 TOTAL
                     EDM=   .80E-12  STRATEGY=1  ERROR MATRIX UNCERTAINTY=100.0%

  EXT PARAMETER                APPROXIMATE        STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor      .0000        8.6202        .42118E-03** at limit **
   2  Index         2.5113        1.2419       -.90955E-05     .0000    
   3  Normalizat    1.4040        1.0614       -.42367E-07   -.25217E-04
   4  Prefactor     .92817        1.2716       -.10782E-05   -.73208E-04
                               ERR DEF=  .500    
Final values: 
  Prefactor  = 0
  Index      = 2.51135
  Normalizat = 1.40398
  Prefactor  = 0.928171
 **********
 **   18 **HESSE 
 **********
  MNHESS FAILS AND WILL RETURN DIAGONAL MATRIX. 

 FCN=   15109.54     FROM HESSE     STATUS=FAILED         9 CALLS      218 TOTAL
                     EDM=   .80E-12  STRATEGY=1  ERROR MATRIX UNCERTAINTY=100.0%

  EXT PARAMETER                APPROXIMATE     INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  Prefactor      .0000        8.6202        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   2  Index         .71098        1.9046       -.90955E-05   -.52098    
   3  Normalizat    1.4040        1.0614       -.42367E-07   -.80514    
   4  Prefactor     .92817        1.2716       -.10782E-05   -.95164    
                               ERR DEF=  .500    
Minuit fit quality: 1   estimated distance: 8.00011e-13
Minuit parameter uncertainties:
  1  9.56782e-06
  2  1.25953
  3  1.07873
  4  1.31632
shell-init: error retrieving current directory: getcwd: cannot access parent directories: No such file or directory
rmdir: failed to remove `/scratch/kocevski/651607': 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) = 15109.5414129
delta logL = 0.0

Extracting fit parameters...

4FGL J1707.5+1649
   Spectrum: PowerLaw
271    Prefactor:  0.000e+00  9.568e-06  0.000e+00  1.000e+06 ( 1.000e-13)
272        Index:  2.511e+00  1.260e+00  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.282e-01  1.316e+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.404e+00  1.079e+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/651607/cmap_HighResolution_691632001_691891201_4FGL_J1707.5+1649_daily_bin1745.png

Cleaning up...

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

Updating database...

UPDATE lightcurve_data_v2 SET energy_flux_upper_limit='4.46e-03', job_status='DONE', photon_flux_upper_limit='5.84e-08', time_completed='2022-12-05 01:16:04.718608', job_id='651607', GAL2='0.93', fit_tolerance='1e-08', EG2='1.40', EG='1.40', time_epoch_completed='1670231764.72', return_code2='101', ts='0.00', comment='SUCCESS', return_code='0', GAL='0.93', dlogl='0.00e+00', ts2='0.00', photon_index_error='0.00', photon_index='2.25' WHERE bin_id='1745' AND source_name='4FGL J1707.5+1649' AND cadence='daily';

Database successfully updated.


Analysis Complete.


Mon Dec  5 01:16:04 PST 2022


------------------------------------------------------------
Sender: LSF System <lsf@bullet0106>
Subject: Job 651607: <4FGL_J1707.5+1649_daily_bin1745> in cluster <slac> Done

Job <4FGL_J1707.5+1649_daily_bin1745> was submitted from host <rhel6-64n> by user <kocevski> in cluster <slac> at Mon Dec  5 01:00:26 2022
Job was executed on host(s) <bullet0106>, in queue <medium>, as user <kocevski> in cluster <slac> at Mon Dec  5 01:00:27 2022
</u/ki/kocevski> was used as the home directory.
</u/ki/kocevski> was used as the working directory.
Started at Mon Dec  5 01:00:27 2022
Terminated at Mon Dec  5 01:16:05 2022
Results reported at Mon Dec  5 01:16:05 2022

Your job looked like:

------------------------------------------------------------
# LSBATCH: User input
/nfs/farm/g/glast/g/LCRepository/Likelihood/Scripts/LikelihoodAnalysis.py 4FGL_J1707.5+1649_daily_bin1745 256.881 16.8206 691632001 691891201 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 :                                   889.01 sec.
    Max Memory :                                 1094 MB
    Average Memory :                             334.71 MB
    Total Requested Memory :                     -
    Delta Memory :                               -
    Max Swap :                                   -
    Max Processes :                              5
    Max Threads :                                21
    Run time :                                   938 sec.
    Turnaround time :                            939 sec.

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

