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 149 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_J2317.7+2839_daily_bin1745
RA = 349.438, Dec = 28.6589
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='658787', job_status='RUN', time_executed='2022-12-05 01:33:03.167321', time_epoch_executed='1670232783.17' WHERE source_name='4FGL J2317.7+2839' and cadence='daily' and bin_id='1745'

Database successfully updated.
Done.

Creating custom output directory:
/scratch/kocevski/658787

Creating custom pfile directory:
/scratch/kocevski/658787/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/658787/ft1_4FGL_J2317.7+2839_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/658787/ft2_4FGL_J2317.7+2839_daily_bin1745.fits


Selecting the photons:
time -p gtselect infile=/scratch/kocevski/658787/ft1_4FGL_J2317.7+2839_daily_bin1745.fits outfile=/scratch/kocevski/658787/ft1_filteredMKT_4FGL_J2317.7+2839_daily_bin1745.fits ra=349.438 dec=28.6589 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.35
user 2.15
sys 0.19

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

Selecting the good time intervals:
time -p gtmktime scfile=/scratch/kocevski/658787/ft2_4FGL_J2317.7+2839_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/658787/ft1_filteredMKT_4FGL_J2317.7+2839_daily_bin1745.fits evtable="EVENTS" outfile="/scratch/kocevski/658787/ft1_filtered_4FGL_J2317.7+2839_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.34
sys 0.15

Number of photons that the gtmktime cut: 1075

Generating the livetime cube:
time -p gtltcube evfile="/scratch/kocevski/658787/ft1_filtered_4FGL_J2317.7+2839_daily_bin1745.fits" evtable="EVENTS" scfile=/scratch/kocevski/658787/ft2_4FGL_J2317.7+2839_daily_bin1745.fits sctable="SC_DATA" outfile=/scratch/kocevski/658787/ltcube_691632001_691891201_4FGL_J2317.7+2839_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/658787/ft2_4FGL_J2317.7+2839_daily_bin1745.fits
.....................!
real 12.38
user 12.05
sys 0.30

Generating the exposure map:
time -p gtexpmap evfile=/scratch/kocevski/658787/ft1_filtered_4FGL_J2317.7+2839_daily_bin1745.fits evtable="EVENTS" scfile=/scratch/kocevski/658787/ft2_4FGL_J2317.7+2839_daily_bin1745.fits sctable="SC_DATA" expcube=/scratch/kocevski/658787/ltcube_691632001_691891201_4FGL_J2317.7+2839_daily_bin1745.fits outfile=/scratch/kocevski/658787/expmap_691632001_691891201_4FGL_J2317.7+2839_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/658787/ltcube_691632001_691891201_4FGL_J2317.7+2839_daily_bin1745.fits
.....................!
real 191.35
user 186.92
sys 4.08

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/658787/ft1_filtered_4FGL_J2317.7+2839_daily_bin1745.fits scfile=/scratch/kocevski/658787/ft2_4FGL_J2317.7+2839_daily_bin1745.fits outfile=/scratch/kocevski/658787/cmap_691632001_691891201_4FGL_J2317.7+2839_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=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.39
sys 0.14

Creating the high resolution counts map:
time -p gtbin evfile=/scratch/kocevski/658787/ft1_filtered_4FGL_J2317.7+2839_daily_bin1745.fits scfile=/scratch/kocevski/658787/ft2_4FGL_J2317.7+2839_daily_bin1745.fits outfile=/scratch/kocevski/658787/cmap_HighResolution_691632001_691891201_4FGL_J2317.7+2839_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=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.39
sys 0.16

Computing the diffuse response:
time -p gtdiffrsp evfile=/scratch/kocevski/658787/ft1_filtered_4FGL_J2317.7+2839_daily_bin1745.fits evtable="EVENTS" scfile=/scratch/kocevski/658787/ft2_4FGL_J2317.7+2839_daily_bin1745.fits sctable="SC_DATA" srcmdl=/scratch/kocevski/658787/Model_4FGL_J2317.7+2839_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/658787/ft1_filtered_4FGL_J2317.7+2839_daily_bin1745.fits.....................!
real 120.88
user 119.44
sys 1.23

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

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

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

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'norm      '    2.7233       1.0000          .0000       .10000E+07
     2 'norm      '    1.7797       1.0000          .0000       .10000E+07
     3 'Prefactor '    .59175E-07   1.0000          .0000       .10000E+07
     4 'Prefactor '    8.0846       1.0000          .0000       .10000E+07
     5 'Prefactor '    .16043E-05   1.0000          .0000       .10000E+07
     6 'norm      '    .46466E-01   1.0000          .0000       .10000E+07
     7 'Prefactor '    10.280       1.0000          .0000       .10000E+07
     8 'Prefactor '    .24480E-07   1.0000          .0000       .10000E+07
     9 'Prefactor '    532.05       1.0000          .0000       .10000E+07
    10 'Prefactor '    .66613E-09   1.0000          .0000       .10000E+07
    11 'norm      '    .29393E-06   1.0000          .0000       .10000E+07
    12 'Prefactor '    .37187       1.0000          .0000       .10000E+07
    13 'norm      '    .12879E-07   1.0000          .0000       .10000E+07
    14 'Prefactor '    .29049E-06   1.0000          .0000       .10000E+07
    15 'Prefactor '    .12784E-02   1.0000          .0000       .10000E+07
    16 'Normalizat'    1.0628       1.0000         .10000E-01   10.000    
    17 'Prefactor '    1.0381       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=   11213.69     FROM MIGRAD    STATUS=CONVERGED    185 CALLS     1092 TOTAL
                     EDM=   .37E-11  STRATEGY=1  ERROR MATRIX UNCERTAINTY=  2.0%

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  norm          2.7263        .96341       -.66382E-08    .91563E-03
   2  norm          1.7808        1.1034       -.78980E-08    .52813E-03
   3  Prefactor      .0000        3.7003       -.98505E-07** at limit **
   4  Prefactor     8.0776        9.6877       -.31692E-07    .94849E-04
   5  Prefactor      .0000        5.6014        .28467E-07** at limit **
   6  norm          .46023E-01    3.0109       -.15709E-06** at limit **
   7  Prefactor     12.144        31.340       -.77293E-07    .54118E-04
   8  Prefactor      .0000        11.542       -.16405E-06** at limit **
   9  Prefactor     533.20        68.615        .47232E-07   -.45185E-04
  10  Prefactor      .0000        2.1786       -.17136E-07** at limit **
  11  norm           .0000        1.0314        .37705E-07** at limit **
  12  Prefactor     .61537        91.407        .63713E-06    .14448E-05
  13  norm           .0000        1.2001       -.36610E-08** at limit **
  14  Prefactor      .0000        6.7137       -.14339E-06** at limit **
  15  Prefactor     .55511E-10    36.759       -.33052E-06** at limit **
  16  Normalizat    1.0589        .22952       -.32241E-05    .45570E-04
  17  Prefactor     1.0385        .11557        .57572E-06    .71389E-04
                               ERR DEF=  .500    
Final values: 
  norm       = 2.72626
  norm       = 1.78081
  Prefactor  = 0
  Prefactor  = 8.07762
  Prefactor  = 0
  norm       = 0.0460231
  Prefactor  = 12.1436
  Prefactor  = 0
  Prefactor  = 533.202
  Prefactor  = 0
  norm       = 0
  Prefactor  = 0.615372
  norm       = 0
  Prefactor  = 0
  Prefactor  = 5.55112e-11
  Normalizat = 1.05888
  Prefactor  = 1.03852
 **********
 **   18 **HESSE 
 **********

 FCN=   11213.69     FROM HESSE     STATUS=OK           265 CALLS     1357 TOTAL
                     EDM=   .18E-08    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  norm          2.7263        .96502        .61684E-03   -1.5675    
   2  norm          1.7808        1.0992        .78423E-03   -1.5681    
   3  Prefactor      .0000        3.7069        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   4  Prefactor     8.0776        9.6881        .35238E-03   -1.5651    
   5  Prefactor      .0000        5.6361        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   6  norm          .46023E-01    .57235        .26514E-02   -1.5712    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   7  Prefactor     12.144        31.342        .31226E-03   -1.5638    
   8  Prefactor      .0000        11.548        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   9  Prefactor     533.20        69.372        .43365E-04   -1.5246    
  10  Prefactor      .0000        2.1893        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  11  norm           .0000        1.0444        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  12  Prefactor     .61537        10.438        .11156E-01   -1.5692    
  13  norm           .0000        1.2095        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  14  Prefactor      .0000        6.7264        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  15  Prefactor     .55511E-10    36.795        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  16  Normalizat    1.0589        .20120        .86477E-01   -.91083    
  17  Prefactor     1.0385        .10031        .40664E-01   -.91456    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 1.75747e-09
Minuit parameter uncertainties:
  1  0.965022
  2  1.09917
  3  5.75216e-06
  4  9.68809
  5  5.29439e-06
  6  0.3246
  7  31.3419
  8  1.45672e-05
  9  69.3726
  10  1.75535e-06
  11  9.54786e-07
  12  5.06886
  13  1.04502e-06
  14  4.13387e-06
  15  7.61751e-05
  16  0.201343
  17  0.100331
Done.

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

Extracting fit parameters...

4FGL J2317.7+2839
   Spectrum: PowerLaw
412    Prefactor:  5.332e+02  6.937e+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.039e+00  1.003e-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.059e+00  2.013e-01  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Fixed Index): 147.53
Ra Dec: 349.438 28.659
Photon Index (Fixed Index): 2.00 +/- 0.00
Photon Flux (Fixed Index): 6.82e-07 +/- 8.88e-08
Energy Flux (Fixed Index): 4.68e-04 +/- 6.09e-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) = 11207.6380878
delta logL = 6.05596691162

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

MINUIT Return Code (Free Index): 0
logL (Free Index) = 11207.6279899
delta logL = 6.06606482779

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'Prefactor '    214.98       1.0000          .0000       .10000E+07
     2 'Index     '    2.4047       1.0000          .0000       10.000    
     3 'Normalizat'    .87042       1.0000         .10000E-01   10.000    
     4 'Prefactor '    1.1092       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.

 FCN=   11207.63     FROM MIGRAD    STATUS=CONVERGED     62 CALLS      276 TOTAL
                     EDM=   .40E-08    STRATEGY= 1      ERR MATRIX NOT POS-DEF

  EXT PARAMETER                APPROXIMATE        STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor     214.89        323.21        .68210E-04    .41565E-02
   2  Index         2.4049        .54563        .23885E-01    .12280E-02
   3  Normalizat    .87018        .16184        .93784E-01    .13776E-03
   4  Prefactor     1.1093        .78902E-01    .37246E-01    .12548E-03
                               ERR DEF=  .500    
Final values: 
  Prefactor  = 214.893
  Index      = 2.40494
  Normalizat = 0.87018
  Prefactor  = 1.10934
 **********
 **   18 **HESSE 
 **********

 FCN=   11207.63     FROM HESSE     STATUS=OK            27 CALLS      303 TOTAL
                     EDM=   .66E-10    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  Prefactor     214.89        76.513        .27284E-05   -1.5415    
   2  Index         2.4049        .13117        .95695E-04   -.54569    
   3  Normalizat    .87018        .23059        .41546E-03   -.97516    
   4  Prefactor     1.1093        .11795        .19287E-03   -.89169    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 6.55228e-11
Minuit parameter uncertainties:
  1  76.5132
  2  0.131195
  3  0.230847
  4  0.117977
shell-init: error retrieving current directory: getcwd: cannot access parent directories: No such file or directory
rmdir: failed to remove `/scratch/kocevski/658787': 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) = 11207.6279883
delta logL = 6.06606639934

Extracting fit parameters...

4FGL J2317.7+2839
   Spectrum: PowerLaw
412    Prefactor:  2.149e+02  7.651e+01  0.000e+00  1.000e+06 ( 1.000e-14)
413        Index:  2.405e+00  1.312e-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.109e+00  1.180e-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.702e-01  2.308e-01  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Free Index): 161.27
Ra Dec: 349.438 28.659
Photon Index (Free Index): 2.40 +/- 0.13
Photon Flux (Free Index): 8.27e-07 +/- 1.00e-07
Energy Flux (Free Index): 2.69e-04 +/- 4.74e-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/658787/cmap_HighResolution_691632001_691891201_4FGL_J2317.7+2839_daily_bin1745.png

Cleaning up...

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

Updating database...

UPDATE lightcurve_data_v2 SET comment='SUCCESS', photon_flux='6.82e-07', energy_flux2='2.69e-04', photon_flux_error='8.88e-08', dlogl='6.07e+00', energy_flux='4.68e-04', photon_flux2='8.27e-07', job_status='DONE', time_completed='2022-12-05 01:43:42.676386', photon_index_error2='0.13', photon_index2='2.40', ts='147.53', fit_tolerance='1e-08', GAL='1.04', photon_index_error='0.00', energy_flux_error2='4.74e-05', EG='1.06', time_epoch_completed='1670233422.68', return_code='0', job_id='658787', GAL2='1.11', EG2='0.87', return_code2='0', energy_flux_error='6.09e-05', photon_flux_error2='1.00e-07', ts2='161.27', photon_index='2.00' WHERE bin_id='1745' AND source_name='4FGL J2317.7+2839' AND cadence='daily';

Database successfully updated.


Analysis Complete.


Mon Dec  5 01:43:42 PST 2022


------------------------------------------------------------
Sender: LSF System <lsf@bullet0270>
Subject: Job 658787: <4FGL_J2317.7+2839_daily_bin1745> in cluster <slac> Done

Job <4FGL_J2317.7+2839_daily_bin1745> was submitted from host <rhel6-64j> by user <kocevski> in cluster <slac> at Mon Dec  5 01:30:24 2022
Job was executed on host(s) <bullet0270>, in queue <medium>, as user <kocevski> in cluster <slac> at Mon Dec  5 01:30:25 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:30:25 2022
Terminated at Mon Dec  5 01:43:43 2022
Results reported at Mon Dec  5 01:43:43 2022

Your job looked like:

------------------------------------------------------------
# LSBATCH: User input
/nfs/farm/g/glast/g/LCRepository/Likelihood/Scripts/LikelihoodAnalysis.py 4FGL_J2317.7+2839_daily_bin1745 349.438 28.6589 691632001 691891201 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 :                                   641.57 sec.
    Max Memory :                                 1257 MB
    Average Memory :                             319.62 MB
    Total Requested Memory :                     -
    Delta Memory :                               -
    Max Swap :                                   -
    Max Processes :                              5
    Max Threads :                                21
    Run time :                                   797 sec.
    Turnaround time :                            799 sec.

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

