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


Performing analysis on: 4FGL_J2317.7+2839_daily_bin1748
RA = 349.438, Dec = 28.6589
tmin = 692409601, tmax = 692668801
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='899392', job_status='RUN', time_executed='2022-12-14 01:27:08.327494', time_epoch_executed='1671010028.33' WHERE source_name='4FGL J2317.7+2839' and cadence='daily' and bin_id='1748'

Database successfully updated.
Done.

Creating custom output directory:
/scratch/kocevski/899392

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

Retrieving the FT1 file...

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

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

Retrieving 46 files...
Done.


Merging files...

Checksum keywords updated successfully.

Merged file saved to:
/scratch/kocevski/899392/ft1_4FGL_J2317.7+2839_daily_bin1748.fits


Retrieving the FT1 file...

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

Retrieving 46 files...
Done.


Merging files...

Merged file saved to:
/scratch/kocevski/899392/ft2_4FGL_J2317.7+2839_daily_bin1748.fits


Selecting the photons:
time -p gtselect infile=/scratch/kocevski/899392/ft1_4FGL_J2317.7+2839_daily_bin1748.fits outfile=/scratch/kocevski/899392/ft1_filteredMKT_4FGL_J2317.7+2839_daily_bin1748.fits ra=349.438 dec=28.6589 rad=12.0 tmin=692409601.0 tmax=692668801.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.57
user 3.34
sys 0.21

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

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

Number of photons that the gtmktime cut: 910

Generating the livetime cube:
time -p gtltcube evfile="/scratch/kocevski/899392/ft1_filtered_4FGL_J2317.7+2839_daily_bin1748.fits" evtable="EVENTS" scfile=/scratch/kocevski/899392/ft2_4FGL_J2317.7+2839_daily_bin1748.fits sctable="SC_DATA" outfile=/scratch/kocevski/899392/ltcube_692409601_692668801_4FGL_J2317.7+2839_daily_bin1748.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/899392/ft2_4FGL_J2317.7+2839_daily_bin1748.fits
.....................!
real 12.33
user 11.95
sys 0.31

Generating the exposure map:
time -p gtexpmap evfile=/scratch/kocevski/899392/ft1_filtered_4FGL_J2317.7+2839_daily_bin1748.fits evtable="EVENTS" scfile=/scratch/kocevski/899392/ft2_4FGL_J2317.7+2839_daily_bin1748.fits sctable="SC_DATA" expcube=/scratch/kocevski/899392/ltcube_692409601_692668801_4FGL_J2317.7+2839_daily_bin1748.fits outfile=/scratch/kocevski/899392/expmap_692409601_692668801_4FGL_J2317.7+2839_daily_bin1748.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/899392/ltcube_692409601_692668801_4FGL_J2317.7+2839_daily_bin1748.fits
.....................!
real 190.75
user 185.23
sys 5.13

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/899392/ft1_filtered_4FGL_J2317.7+2839_daily_bin1748.fits scfile=/scratch/kocevski/899392/ft2_4FGL_J2317.7+2839_daily_bin1748.fits outfile=/scratch/kocevski/899392/cmap_692409601_692668801_4FGL_J2317.7+2839_daily_bin1748.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.54
user 0.36
sys 0.16

Creating the high resolution counts map:
time -p gtbin evfile=/scratch/kocevski/899392/ft1_filtered_4FGL_J2317.7+2839_daily_bin1748.fits scfile=/scratch/kocevski/899392/ft2_4FGL_J2317.7+2839_daily_bin1748.fits outfile=/scratch/kocevski/899392/cmap_HighResolution_692409601_692668801_4FGL_J2317.7+2839_daily_bin1748.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.55
user 0.38
sys 0.16

Computing the diffuse response:
time -p gtdiffrsp evfile=/scratch/kocevski/899392/ft1_filtered_4FGL_J2317.7+2839_daily_bin1748.fits evtable="EVENTS" scfile=/scratch/kocevski/899392/ft2_4FGL_J2317.7+2839_daily_bin1748.fits sctable="SC_DATA" srcmdl=/scratch/kocevski/899392/Model_4FGL_J2317.7+2839_daily_bin1748.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/899392/ft1_filtered_4FGL_J2317.7+2839_daily_bin1748.fits.....................!
real 104.36
user 102.87
sys 1.30

Creating the likelihood object...
obs = UnbinnedObs('/scratch/kocevski/899392/ft1_filtered_4FGL_J2317.7+2839_daily_bin1748.fits', '/scratch/kocevski/899392/ft2_4FGL_J2317.7+2839_daily_bin1748.fits', expMap='/scratch/kocevski/899392/expmap_692409601_692668801_4FGL_J2317.7+2839_daily_bin1748.fits', expCube='/scratch/kocevski/899392/ltcube_692409601_692668801_4FGL_J2317.7+2839_daily_bin1748.fits', irfs='P8R3_SOURCE_V2')
like = UnbinnedAnalysis(obs, '/scratch/kocevski/899392/Model_4FGL_J2317.7+2839_daily_bin1748.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/899392/ft1_filtered_4FGL_J2317.7+2839_daily_bin1748.fits
Spacecraft file(s): /scratch/kocevski/899392/ft2_4FGL_J2317.7+2839_daily_bin1748.fits
Exposure map: /scratch/kocevski/899392/expmap_692409601_692668801_4FGL_J2317.7+2839_daily_bin1748.fits
Exposure cube: /scratch/kocevski/899392/ltcube_692409601_692668801_4FGL_J2317.7+2839_daily_bin1748.fits
IRFs: P8R3_SOURCE_V2
Source model file: /scratch/kocevski/899392/Model_4FGL_J2317.7+2839_daily_bin1748.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) = 9562.52288439

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

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

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'norm      '    1.2195       1.0000          .0000       .10000E+07
     2 'norm      '    2.7493       1.0000          .0000       .10000E+07
     3 'Prefactor '    .10930E-04   1.0000          .0000       .10000E+07
     4 'Prefactor '    17.661       1.0000          .0000       .10000E+07
     5 'Prefactor '    5.6438       1.0000          .0000       .10000E+07
     6 'norm      '    2.7047       1.0000          .0000       .10000E+07
     7 'Prefactor '    .21645E-02   1.0000          .0000       .10000E+07
     8 'Prefactor '    5.4861       1.0000          .0000       .10000E+07
     9 'Prefactor '    75.352       1.0000          .0000       .10000E+07
    10 'Prefactor '    .18006E-04   1.0000          .0000       .10000E+07
    11 'norm      '    .14862       1.0000          .0000       .10000E+07
    12 'Prefactor '    .22723E-02   1.0000          .0000       .10000E+07
    13 'norm      '    1.7207       1.0000          .0000       .10000E+07
    14 'Prefactor '    24.857       1.0000          .0000       .10000E+07
    15 'Prefactor '    .40319E-04   1.0000          .0000       .10000E+07
    16 'Normalizat'    .81510       1.0000         .10000E-01   10.000    
    17 'Prefactor '    1.1719       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=   9562.498     FROM MIGRAD    STATUS=CONVERGED    124 CALLS      991 TOTAL
                     EDM=   .12E-09  STRATEGY=1  ERROR MATRIX UNCERTAINTY=   .5%

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  norm          1.2206        .96234        .14170E-06   -.51536E-02
   2  norm          2.7495        1.4835       -.16422E-07   -.21469E-02
   3  Prefactor     .55511E-10    2.7674       -.97451E-07** at limit **
   4  Prefactor     17.675        1.1100        .12823E-07    .24579E-01
   5  Prefactor     5.6413        1.2845        .23708E-07    .68367E-02
   6  norm          2.7055        1.2183       -.61113E-07    .24219E-02
   7  Prefactor     .18874E-08    32.343        .10232E-05** at limit **
   8  Prefactor     5.4914        9.6540        .48139E-06   -.10116E-02
   9  Prefactor     77.206        35.545       -.11531E-06    .46282E-03
  10  Prefactor     .55511E-10    6.0249       -.51245E-06** at limit **
  11  norm          .10350        30.343       -.31586E-05** at limit **
  12  Prefactor     .21094E-08    11.872        .57229E-06** at limit **
  13  norm          1.7214        2.1324       -.34928E-06   -.31561E-03
  14  Prefactor     24.612        1.6690       -.78659E-08   -.54738E-01
  15  Prefactor     .22204E-09    16.642        .95110E-06** at limit **
  16  Normalizat    .81386        .22167        .23423E-05   -.37904E-04
  17  Prefactor     1.1719        .11976       -.20331E-05   -.23247E-04
                               ERR DEF=  .500    
Final values: 
  norm       = 1.22062
  norm       = 2.74953
  Prefactor  = 5.55112e-11
  Prefactor  = 17.6753
  Prefactor  = 5.64134
  norm       = 2.70553
  Prefactor  = 1.88738e-09
  Prefactor  = 5.49144
  Prefactor  = 77.2063
  Prefactor  = 5.55112e-11
  norm       = 0.103498
  Prefactor  = 2.10942e-09
  norm       = 1.72138
  Prefactor  = 24.6125
  Prefactor  = 2.22045e-10
  Normalizat = 0.813861
  Prefactor  = 1.17194
 **********
 **   18 **HESSE 
 **********

 FCN=   9562.498     FROM HESSE     STATUS=OK           267 CALLS     1258 TOTAL
                     EDM=   .74E-07    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  norm          1.2206        .97489        .10213E-02   -1.5686    
   2  norm          2.7495        1.4832        .61371E-03   -1.5675    
   3  Prefactor     .55511E-10    2.7708        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   4  Prefactor     17.675        15.086        .23805E-03   -1.5624    
   5  Prefactor     5.6413        20.286        .42261E-03   -1.5660    
   6  norm          2.7055        1.2263        .61912E-03   -1.5675    
   7  Prefactor     .18874E-08    32.152        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   8  Prefactor     5.4914        9.7013        .42874E-03   -1.5661    
   9  Prefactor     77.206        35.529        .11521E-03   -1.5532    
  10  Prefactor     .55511E-10    6.0190        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  11  norm          .10350        1.7333        .78474E-02   -1.5714    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  12  Prefactor     .21094E-08    11.830        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  13  norm          1.7214        2.1451        .80051E-03   -1.5682    
  14  Prefactor     24.612        19.407        .20062E-03   -1.5609    
  15  Prefactor     .22204E-09    16.622        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  16  Normalizat    .81386        .20092        .87693E-01   -.99557    
  17  Prefactor     1.1719        .10679        .35332E-01   -.87199    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 7.38674e-08
Minuit parameter uncertainties:
  1  0.974892
  2  1.48324
  3  2.62989e-05
  4  15.0856
  5  20.2862
  6  1.22628
  7  0.000494082
  8  9.70138
  9  35.5293
  10  4.07465e-05
  11  0.847088
  12  0.000317998
  13  2.1451
  14  19.4073
  15  0.000125441
  16  0.201107
  17  0.106813
Done.

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

Extracting fit parameters...

4FGL J2317.7+2839
   Spectrum: PowerLaw
412    Prefactor:  7.721e+01  3.553e+01  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.172e+00  1.068e-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:  8.139e-01  2.011e-01  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Fixed Index): 8.11
Ra Dec: 349.438 28.659
Photon Index (Fixed Index): 2.00 +/- 0.00
Photon Flux (Fixed Index): 9.88e-08 +/- 4.55e-08
Energy Flux (Fixed Index): 6.78e-05 +/- 3.12e-05

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) = 9556.79265097
delta logL = 5.70499870588

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

MINUIT Return Code (Free Index): 102
logL (Free Index) = 9556.77464922
delta logL = 5.72300045788

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'Prefactor '    6.6361       1.0000          .0000       .10000E+07
     2 'Index     '    3.1489       1.0000          .0000       10.000    
     3 'Normalizat'    .64225       1.0000         .10000E-01   10.000    
     4 'Prefactor '    1.2216       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=   9556.775     FROM MIGRAD    STATUS=CONVERGED     83 CALLS      287 TOTAL
                     EDM=   .14E-08    STRATEGY= 1      ERR MATRIX NOT POS-DEF

  EXT PARAMETER                APPROXIMATE        STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor     6.6371        25.914        .67555E-05    .21049E-01
   2  Index         3.1489        1.2665        .17660E-02    .64700E-03
   3  Normalizat    .64229        .23171        .43118E-03    .32478E-03
   4  Prefactor     1.2216        .12332        .17326E-03    .95055E-03
                               ERR DEF=  .500    
Final values: 
  Prefactor  = 6.63706
  Index      = 3.14892
  Normalizat = 0.642293
  Prefactor  = 1.22158
 **********
 **   18 **HESSE 
 **********

 FCN=   9556.775     FROM HESSE     STATUS=OK            25 CALLS      312 TOTAL
                     EDM=   .65E-09    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  Prefactor     6.6371        8.3023        .27022E-06   -1.5656    
   2  Index         3.1489        .41023        .70640E-04   -.37924    
   3  Normalizat    .64229        .22467        .17247E-04   -1.0622    
   4  Prefactor     1.2216        .11919        .34652E-04   -.85670    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 6.45988e-10
Minuit parameter uncertainties:
  1  8.30233
  2  0.410762
  3  0.224993
  4  0.119218
shell-init: error retrieving current directory: getcwd: cannot access parent directories: No such file or directory
rmdir: failed to remove `/scratch/kocevski/899392': 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) = 9556.77464917
delta logL = 5.72300050643

Extracting fit parameters...

4FGL J2317.7+2839
   Spectrum: PowerLaw
412    Prefactor:  6.637e+00  8.302e+00  0.000e+00  1.000e+06 ( 1.000e-14)
413        Index:  3.149e+00  4.108e-01  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.222e+00  1.192e-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:  6.423e-01  2.250e-01  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Free Index): 20.45
Ra Dec: 349.438 28.659
Photon Index (Free Index): 3.15 +/- 0.41
Photon Flux (Free Index): 2.39e-07 +/- 7.03e-08
Energy Flux (Free Index): 4.46e-05 +/- 1.37e-05

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/899392/cmap_HighResolution_692409601_692668801_4FGL_J2317.7+2839_daily_bin1748.png

Cleaning up...

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

Updating database...

UPDATE lightcurve_data_v2 SET comment='SUCCESS', photon_flux='9.88e-08', energy_flux2='4.46e-05', photon_flux_error='4.55e-08', dlogl='5.72e+00', energy_flux='6.78e-05', photon_flux2='2.39e-07', job_status='DONE', time_completed='2022-12-14 01:36:48.581707', photon_index_error2='0.41', photon_index2='3.15', ts='8.11', fit_tolerance='1e-08', GAL='1.17', photon_index_error='0.00', energy_flux_error2='1.37e-05', EG='0.81', time_epoch_completed='1671010608.58', return_code='0', job_id='899392', GAL2='1.22', EG2='0.64', return_code2='0', energy_flux_error='3.12e-05', photon_flux_error2='7.03e-08', ts2='20.45', photon_index='2.00' WHERE bin_id='1748' AND source_name='4FGL J2317.7+2839' AND cadence='daily';

Database successfully updated.


Analysis Complete.


Wed Dec 14 01:36:48 PST 2022


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

Job <4FGL_J2317.7+2839_daily_bin1748> was submitted from host <rhel6-64l> by user <kocevski> in cluster <slac> at Wed Dec 14 01:25:21 2022
Job was executed on host(s) <bullet0246>, in queue <medium>, as user <kocevski> in cluster <slac> at Wed Dec 14 01:25:22 2022
</u/ki/kocevski> was used as the home directory.
</u/ki/kocevski> was used as the working directory.
Started at Wed Dec 14 01:25:22 2022
Terminated at Wed Dec 14 01:36:49 2022
Results reported at Wed Dec 14 01:36:49 2022

Your job looked like:

------------------------------------------------------------
# LSBATCH: User input
/nfs/farm/g/glast/g/LCRepository/Likelihood/Scripts/LikelihoodAnalysis.py 4FGL_J2317.7+2839_daily_bin1748 349.438 28.6589 692409601 692668801 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 :                                   582.47 sec.
    Max Memory :                                 1093 MB
    Average Memory :                             289.22 MB
    Total Requested Memory :                     -
    Delta Memory :                               -
    Max Swap :                                   -
    Max Processes :                              5
    Max Threads :                                21
    Run time :                                   686 sec.
    Turnaround time :                            688 sec.

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

