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


Performing analysis on: 4FGL_J2317.7+2839_daily_bin1737
RA = 349.438, Dec = 28.6589
tmin = 689558401, tmax = 689817601
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='164287', job_status='RUN', time_executed='2022-11-11 01:00:48.391863', time_epoch_executed='1668157248.39' WHERE source_name='4FGL J2317.7+2839' and cadence='daily' and bin_id='1737'

Database successfully updated.
Done.

Creating custom output directory:
/scratch/kocevski/164287

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

Retrieving the FT1 file...

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

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

Retrieving 47 files...
Done.


Merging files...

Checksum keywords updated successfully.

Merged file saved to:
/scratch/kocevski/164287/ft1_4FGL_J2317.7+2839_daily_bin1737.fits


Retrieving the FT1 file...

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

Retrieving 47 files...
Done.


Merging files...

Merged file saved to:
/scratch/kocevski/164287/ft2_4FGL_J2317.7+2839_daily_bin1737.fits


Selecting the photons:
time -p gtselect infile=/scratch/kocevski/164287/ft1_4FGL_J2317.7+2839_daily_bin1737.fits outfile=/scratch/kocevski/164287/ft1_filteredMKT_4FGL_J2317.7+2839_daily_bin1737.fits ra=349.438 dec=28.6589 rad=12.0 tmin=689558401.0 tmax=689817601.0 emin=100.0 emax=100000.0 zmin=0.0 zmax=90.0 evclass=128 evtype="INDEF" convtype=-1 phasemin=0.0 phasemax=1.0 evtable="EVENTS" chatter=2 clobber=yes debug=no gui=no mode="ql"

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

Done.
real 4.07
user 3.45
sys 0.24

Adding sun position to ft2 file:
/nfs/farm/g/glast/g/LCRepository/Repository/bin/sunpos /scratch/kocevski/164287/ft2_4FGL_J2317.7+2839_daily_bin1737.fits

Selecting the good time intervals:
time -p gtmktime scfile=/scratch/kocevski/164287/ft2_4FGL_J2317.7+2839_daily_bin1737.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/164287/ft1_filteredMKT_4FGL_J2317.7+2839_daily_bin1737.fits evtable="EVENTS" outfile="/scratch/kocevski/164287/ft1_filtered_4FGL_J2317.7+2839_daily_bin1737.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.51
user 0.33
sys 0.16

Number of photons that the gtmktime cut: 1330

Generating the livetime cube:
time -p gtltcube evfile="/scratch/kocevski/164287/ft1_filtered_4FGL_J2317.7+2839_daily_bin1737.fits" evtable="EVENTS" scfile=/scratch/kocevski/164287/ft2_4FGL_J2317.7+2839_daily_bin1737.fits sctable="SC_DATA" outfile=/scratch/kocevski/164287/ltcube_689558401_689817601_4FGL_J2317.7+2839_daily_bin1737.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/164287/ft2_4FGL_J2317.7+2839_daily_bin1737.fits
.....................!
real 14.27
user 13.85
sys 0.33

Generating the exposure map:
time -p gtexpmap evfile=/scratch/kocevski/164287/ft1_filtered_4FGL_J2317.7+2839_daily_bin1737.fits evtable="EVENTS" scfile=/scratch/kocevski/164287/ft2_4FGL_J2317.7+2839_daily_bin1737.fits sctable="SC_DATA" expcube=/scratch/kocevski/164287/ltcube_689558401_689817601_4FGL_J2317.7+2839_daily_bin1737.fits outfile=/scratch/kocevski/164287/expmap_689558401_689817601_4FGL_J2317.7+2839_daily_bin1737.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/164287/ltcube_689558401_689817601_4FGL_J2317.7+2839_daily_bin1737.fits
.....................!
real 192.20
user 186.74
sys 5.01

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

Setting source of interest to:
4FGL J2317.7+2839 @ 349.438 28.6589

Creating the counts map:
time -p gtbin evfile=/scratch/kocevski/164287/ft1_filtered_4FGL_J2317.7+2839_daily_bin1737.fits scfile=/scratch/kocevski/164287/ft2_4FGL_J2317.7+2839_daily_bin1737.fits outfile=/scratch/kocevski/164287/cmap_689558401_689817601_4FGL_J2317.7+2839_daily_bin1737.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=349.438 yref=28.6589 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.38
sys 0.15

Creating the high resolution counts map:
time -p gtbin evfile=/scratch/kocevski/164287/ft1_filtered_4FGL_J2317.7+2839_daily_bin1737.fits scfile=/scratch/kocevski/164287/ft2_4FGL_J2317.7+2839_daily_bin1737.fits outfile=/scratch/kocevski/164287/cmap_HighResolution_689558401_689817601_4FGL_J2317.7+2839_daily_bin1737.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=349.438 yref=28.6589 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.38
sys 0.17

Computing the diffuse response:
time -p gtdiffrsp evfile=/scratch/kocevski/164287/ft1_filtered_4FGL_J2317.7+2839_daily_bin1737.fits evtable="EVENTS" scfile=/scratch/kocevski/164287/ft2_4FGL_J2317.7+2839_daily_bin1737.fits sctable="SC_DATA" srcmdl=/scratch/kocevski/164287/Model_4FGL_J2317.7+2839_daily_bin1737.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/164287/ft1_filtered_4FGL_J2317.7+2839_daily_bin1737.fits.....................!
real 154.51
user 152.86
sys 1.28

Creating the likelihood object...
obs = UnbinnedObs('/scratch/kocevski/164287/ft1_filtered_4FGL_J2317.7+2839_daily_bin1737.fits', '/scratch/kocevski/164287/ft2_4FGL_J2317.7+2839_daily_bin1737.fits', expMap='/scratch/kocevski/164287/expmap_689558401_689817601_4FGL_J2317.7+2839_daily_bin1737.fits', expCube='/scratch/kocevski/164287/ltcube_689558401_689817601_4FGL_J2317.7+2839_daily_bin1737.fits', irfs='P8R3_SOURCE_V2')
like = UnbinnedAnalysis(obs, '/scratch/kocevski/164287/Model_4FGL_J2317.7+2839_daily_bin1737.xml', optimizer='MINUIT')

Using source of interest name: '4FGL J2317.7+2839'

4FGL J2317.7+2839
   Spectrum: PowerLaw
412    Prefactor:  2.207e+00  0.000e+00  0.000e+00  1.000e+06 ( 1.000e-14)
413        Index:  2.003e+00  0.000e+00  0.000e+00  1.000e+01 (-1.000e+00) fixed
414        Scale:  3.565e+03  0.000e+00  3.000e+01  5.000e+05 ( 1.000e+00) fixed


Likelihood Fit Parameters:
Event file(s): /scratch/kocevski/164287/ft1_filtered_4FGL_J2317.7+2839_daily_bin1737.fits
Spacecraft file(s): /scratch/kocevski/164287/ft2_4FGL_J2317.7+2839_daily_bin1737.fits
Exposure map: /scratch/kocevski/164287/expmap_689558401_689817601_4FGL_J2317.7+2839_daily_bin1737.fits
Exposure cube: /scratch/kocevski/164287/ltcube_689558401_689817601_4FGL_J2317.7+2839_daily_bin1737.fits
IRFs: P8R3_SOURCE_V2
Source model file: /scratch/kocevski/164287/Model_4FGL_J2317.7+2839_daily_bin1737.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) = 14055.7352824

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

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

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'norm      '    .74940E-08   1.0000          .0000       .10000E+07
     2 'norm      '    1.9377       1.0000          .0000       .10000E+07
     3 'Prefactor '    .29249E-06   1.0000          .0000       .10000E+07
     4 'Prefactor '    18.282       1.0000          .0000       .10000E+07
     5 'Prefactor '    25.941       1.0000          .0000       .10000E+07
     6 'norm      '    .13267E-06   1.0000          .0000       .10000E+07
     7 'Prefactor '    157.88       1.0000          .0000       .10000E+07
     8 'Prefactor '    .25391E-03   1.0000          .0000       .10000E+07
     9 'Prefactor '    1783.4       1.0000          .0000       .10000E+07
    10 'Prefactor '    .51183E-03   1.0000          .0000       .10000E+07
    11 'norm      '    .38307E-05   1.0000          .0000       .10000E+07
    12 'Prefactor '    .35757E-03   1.0000          .0000       .10000E+07
    13 'norm      '    .31933E-03   1.0000          .0000       .10000E+07
    14 'Prefactor '    49.684       1.0000          .0000       .10000E+07
    15 'Prefactor '    .36670E-02   1.0000          .0000       .10000E+07
    16 'Normalizat'    1.3735       1.0000         .10000E-01   10.000    
    17 'Prefactor '    1.0563       1.0000          .0000       10.000    
 **********
 **   15 **SET ERR    .5000    
 **********
 **********
 **   16 **SET GRAD    1.000    
 **********
 **********
 **   17 **MINIMIZE    .5440E+05   .2000E-04
 **********

 MIGRAD MINIMIZATION HAS CONVERGED.

 FCN=   14052.15     FROM MIGRAD    STATUS=CONVERGED    154 CALLS      811 TOTAL
                     EDM=   .10E-09  STRATEGY=1  ERROR MATRIX UNCERTAINTY=   .7%

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  norm           .0000        .52035       -.55135E-07** at limit **
   2  norm          1.9422        1.4411        .99267E-07    .13040E-02
   3  Prefactor      .0000        4.1109        .48507E-06** at limit **
   4  Prefactor     18.300        14.541       -.10595E-05   -.98136E-03
   5  Prefactor     26.374        24.726       -.50758E-05   -.12072E-02
   6  norm           .0000        .46064        .15552E-06** at limit **
   7  Prefactor     165.09        61.359        .38168E-05   -.96784E-03
   8  Prefactor     .38858E-09    7.7337       -.46360E-07** at limit **
   9  Prefactor     1801.0        126.00       -.15280E-05   -.16220E-02
  10  Prefactor      .0000        2.5637        .56127E-06** at limit **
  11  norm           .0000        1.2464       -.32937E-06** at limit **
  12  Prefactor     .11102E-09    5.5556       -.22992E-05** at limit **
  13  norm          .11102E-09    6.4020       -.55276E-05** at limit **
  14  Prefactor     49.773        26.010       -.19484E-05    .61377E-03
  15  Prefactor      .0000        14.466        .27827E-05** at limit **
  16  Normalizat    1.3624        .28836       -.58389E-05   -.60551E-04
  17  Prefactor     1.0557        .13922        .18575E-04   -.13256E-03
                               ERR DEF=  .500    
Final values: 
  norm       = 0
  norm       = 1.94217
  Prefactor  = 0
  Prefactor  = 18.3003
  Prefactor  = 26.3737
  norm       = 0
  Prefactor  = 165.086
  Prefactor  = 3.88578e-10
  Prefactor  = 1801.01
  Prefactor  = 0
  norm       = 0
  Prefactor  = 1.11022e-10
  norm       = 1.11022e-10
  Prefactor  = 49.7729
  Prefactor  = 0
  Normalizat = 1.36241
  Prefactor  = 1.05566
 **********
 **   18 **HESSE 
 **********

 FCN=   14052.15     FROM HESSE     STATUS=OK           259 CALLS     1070 TOTAL
                     EDM=   .18E-09    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  norm           .0000        .51773        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   2  norm          1.9422        1.4384        .74561E-03   -1.5680    
   3  Prefactor      .0000        4.1128        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   4  Prefactor     18.300        14.522        .23396E-03   -1.5622    
   5  Prefactor     26.374        24.656        .19638E-03   -1.5605    
   6  norm           .0000        .45856        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   7  Prefactor     165.09        61.323        .79594E-04   -1.5451    
   8  Prefactor     .38858E-09    7.7637        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   9  Prefactor     1801.0        126.15        .23701E-04   -1.4859    
  10  Prefactor      .0000        2.5697        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  11  norm           .0000        1.2460        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  12  Prefactor     .11102E-09    5.5255        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  13  norm          .11102E-09    1.0214        .62731E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  14  Prefactor     49.773        25.949        .14188E-03   -1.5567    
  15  Prefactor      .0000        14.507        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  16  Normalizat    1.3624        .24401        .10880       -.81722    
  17  Prefactor     1.0557        .11762        .59355E-01   -.90897    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 1.83645e-10
Minuit parameter uncertainties:
  1  3.07439e-06
  2  1.43841
  3  1.91835e-05
  4  14.5218
  5  24.6559
  6  3.81034e-06
  7  61.3232
  8  0.000110482
  9  126.152
  10  7.69565e-06
  11  2.96098e-06
  12  4.31999e-05
  13  2.24788e-05
  14  25.9492
  15  3.06236e-05
  16  0.244218
  17  0.117644
Done.

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

Extracting fit parameters...

4FGL J2317.7+2839
   Spectrum: PowerLaw
412    Prefactor:  1.801e+03  1.262e+02  0.000e+00  1.000e+06 ( 1.000e-14)
413        Index:  2.003e+00  0.000e+00  0.000e+00  1.000e+01 (-1.000e+00) fixed
414        Scale:  3.565e+03  0.000e+00  3.000e+01  5.000e+05 ( 1.000e+00) fixed

GAL_V02
   Spectrum: PowerLaw
541    Prefactor:  1.056e+00  1.176e-01  0.000e+00  1.000e+01 ( 1.000e+00)
542        Index:  0.000e+00  0.000e+00 -1.000e+00  1.000e+00 ( 1.000e+00) fixed
543        Scale:  1.000e+02  0.000e+00  5.000e+01  2.000e+02 ( 1.000e+00) fixed

EG_v02
   Spectrum: FileFunction
540   Normalization:  1.362e+00  2.442e-01  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Fixed Index): 495.46
Ra Dec: 349.438 28.659
Photon Index (Fixed Index): 2.00 +/- 0.00
Photon Flux (Fixed Index): 2.31e-06 +/- 1.61e-07
Energy Flux (Fixed Index): 1.58e-03 +/- 1.11e-04

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) = 14046.3865624
delta logL = 5.76205002848

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

MINUIT Return Code (Free Index): 0
logL (Free Index) = 14046.3835702
delta logL = 5.76504225378

Fit tolerance = 1e-08

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

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

 MIGRAD MINIMIZATION HAS CONVERGED.

 MIGRAD WILL VERIFY CONVERGENCE AND ERROR MATRIX.

 MIGRAD MINIMIZATION HAS CONVERGED.

 MIGRAD WILL VERIFY CONVERGENCE AND ERROR MATRIX.

 FCN=   14046.38     FROM MIGRAD    STATUS=CONVERGED     91 CALLS      306 TOTAL
                     EDM=   .18E-10    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor     1184.1        184.44        .58157E-05   -.72798E-03
   2  Index         2.2006        .61751E-01    .66947E-04   -.25744E-03
   3  Normalizat    1.1238        .29026        .51982E-03   -.34774E-04
   4  Prefactor     1.1459        .14186        .25369E-03    .22049E-04
                               ERR DEF=  .500    
Final values: 
  Prefactor  = 1184.06
  Index      = 2.20061
  Normalizat = 1.1238
  Prefactor  = 1.14591
 **********
 **   18 **HESSE 
 **********

 FCN=   14046.38     FROM HESSE     STATUS=OK            23 CALLS      329 TOTAL
                     EDM=   .18E-10    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  Prefactor     1184.1        183.78        .11631E-05   -1.5020    
   2  Index         2.2006        .61529E-01    .26779E-05   -.59424    
   3  Normalizat    1.1238        .29047        .20793E-04   -.88991    
   4  Prefactor     1.1459        .14196        .10147E-04   -.88012    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 1.77568e-11
Minuit parameter uncertainties:
  1  183.777
  2  0.0615311
  3  0.290883
  4  0.142007
shell-init: error retrieving current directory: getcwd: cannot access parent directories: No such file or directory
rmdir: failed to remove `/scratch/kocevski/164287': 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): 0
logL (Free Index) = 14046.3835701
delta logL = 5.76504241212

Extracting fit parameters...

4FGL J2317.7+2839
   Spectrum: PowerLaw
412    Prefactor:  1.184e+03  1.838e+02  0.000e+00  1.000e+06 ( 1.000e-14)
413        Index:  2.201e+00  6.153e-02  0.000e+00  1.000e+01 (-1.000e+00)
414        Scale:  3.565e+03  0.000e+00  3.000e+01  5.000e+05 ( 1.000e+00) fixed

GAL_V02
   Spectrum: PowerLaw
541    Prefactor:  1.146e+00  1.420e-01  0.000e+00  1.000e+01 ( 1.000e+00)
542        Index:  0.000e+00  0.000e+00 -1.000e+00  1.000e+00 ( 1.000e+00) fixed
543        Scale:  1.000e+02  0.000e+00  5.000e+01  2.000e+02 ( 1.000e+00) fixed

EG_v02
   Spectrum: FileFunction
540   Normalization:  1.124e+00  2.909e-01  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Free Index): 529.46
Ra Dec: 349.438 28.659
Photon Index (Free Index): 2.20 +/- 0.06
Photon Flux (Free Index): 2.57e-06 +/- 1.80e-07
Energy Flux (Free Index): 1.15e-03 +/- 1.24e-04

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/164287/cmap_HighResolution_689558401_689817601_4FGL_J2317.7+2839_daily_bin1737.png

Cleaning up...

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

Updating database...

UPDATE lightcurve_data_v2 SET comment='SUCCESS', photon_flux='2.31e-06', energy_flux2='1.15e-03', photon_flux_error='1.61e-07', dlogl='5.77e+00', energy_flux='1.58e-03', photon_flux2='2.57e-06', job_status='DONE', time_completed='2022-11-11 01:12:27.019027', photon_index_error2='0.06', photon_index2='2.20', ts='495.46', fit_tolerance='1e-08', GAL='1.06', photon_index_error='0.00', energy_flux_error2='1.24e-04', EG='1.36', time_epoch_completed='1668157947.02', return_code='0', job_id='164287', GAL2='1.15', EG2='1.12', return_code2='0', energy_flux_error='1.11e-04', photon_flux_error2='1.80e-07', ts2='529.46', photon_index='2.00' WHERE bin_id='1737' AND source_name='4FGL J2317.7+2839' AND cadence='daily';

Database successfully updated.


Analysis Complete.


Fri Nov 11 01:12:27 PST 2022


------------------------------------------------------------
Sender: LSF System <lsf@bullet0246>
Subject: Job 164287: <4FGL_J2317.7+2839_daily_bin1737> in cluster <slac> Done

Job <4FGL_J2317.7+2839_daily_bin1737> was submitted from host <rhel6-64p> by user <kocevski> in cluster <slac> at Fri Nov 11 01:00:22 2022
Job was executed on host(s) <bullet0246>, in queue <medium>, as user <kocevski> in cluster <slac> at Fri Nov 11 01:00:33 2022
</u/ki/kocevski> was used as the home directory.
</u/ki/kocevski> was used as the working directory.
Started at Fri Nov 11 01:00:33 2022
Terminated at Fri Nov 11 01:12:28 2022
Results reported at Fri Nov 11 01:12:28 2022

Your job looked like:

------------------------------------------------------------
# LSBATCH: User input
/nfs/farm/g/glast/g/LCRepository/Likelihood/Scripts/LikelihoodAnalysis.py 4FGL_J2317.7+2839_daily_bin1737 349.438 28.6589 689558401 689817601 irfs=P8R3_SOURCE_V2 zmax=90 ROI=12 association=4FGL_J2317.7+2839 fixedModel=True performFreeIndexFit=True freeVariableSources=True nuke=True repositoryJob=True verbose=False
------------------------------------------------------------

Successfully completed.

Resource usage summary:

    CPU time :                                   699.43 sec.
    Max Memory :                                 1094 MB
    Average Memory :                             371.56 MB
    Total Requested Memory :                     -
    Delta Memory :                               -
    Max Swap :                                   -
    Max Processes :                              5
    Max Threads :                                21
    Run time :                                   714 sec.
    Turnaround time :                            726 sec.

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

