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


Performing analysis on: 4FGL_J2317.7+2839_daily_bin1731
RA = 349.438, Dec = 28.6589
tmin = 688003201, tmax = 688262401
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='551262', job_status='RUN', time_executed='2022-10-24 00:44:27.851722', time_epoch_executed='1666597467.85' WHERE source_name='4FGL J2317.7+2839' and cadence='daily' and bin_id='1731'

Database successfully updated.
Done.

Creating custom output directory:
/scratch/kocevski/551262

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

Retrieving the FT1 file...

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

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

Retrieving 46 files...
Done.


Merging files...

Checksum keywords updated successfully.

Merged file saved to:
/scratch/kocevski/551262/ft1_4FGL_J2317.7+2839_daily_bin1731.fits


Retrieving the FT1 file...

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

Retrieving 46 files...
Done.


Merging files...

Merged file saved to:
/scratch/kocevski/551262/ft2_4FGL_J2317.7+2839_daily_bin1731.fits


Selecting the photons:
time -p gtselect infile=/scratch/kocevski/551262/ft1_4FGL_J2317.7+2839_daily_bin1731.fits outfile=/scratch/kocevski/551262/ft1_filteredMKT_4FGL_J2317.7+2839_daily_bin1731.fits ra=349.438 dec=28.6589 rad=12.0 tmin=688003201.0 tmax=688262401.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.56
user 3.32
sys 0.21

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

Selecting the good time intervals:
time -p gtmktime scfile=/scratch/kocevski/551262/ft2_4FGL_J2317.7+2839_daily_bin1731.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/551262/ft1_filteredMKT_4FGL_J2317.7+2839_daily_bin1731.fits evtable="EVENTS" outfile="/scratch/kocevski/551262/ft1_filtered_4FGL_J2317.7+2839_daily_bin1731.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.32
sys 0.17

Number of photons that the gtmktime cut: 858

Generating the livetime cube:
time -p gtltcube evfile="/scratch/kocevski/551262/ft1_filtered_4FGL_J2317.7+2839_daily_bin1731.fits" evtable="EVENTS" scfile=/scratch/kocevski/551262/ft2_4FGL_J2317.7+2839_daily_bin1731.fits sctable="SC_DATA" outfile=/scratch/kocevski/551262/ltcube_688003201_688262401_4FGL_J2317.7+2839_daily_bin1731.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/551262/ft2_4FGL_J2317.7+2839_daily_bin1731.fits
.....................!
real 12.25
user 11.86
sys 0.35

Generating the exposure map:
time -p gtexpmap evfile=/scratch/kocevski/551262/ft1_filtered_4FGL_J2317.7+2839_daily_bin1731.fits evtable="EVENTS" scfile=/scratch/kocevski/551262/ft2_4FGL_J2317.7+2839_daily_bin1731.fits sctable="SC_DATA" expcube=/scratch/kocevski/551262/ltcube_688003201_688262401_4FGL_J2317.7+2839_daily_bin1731.fits outfile=/scratch/kocevski/551262/expmap_688003201_688262401_4FGL_J2317.7+2839_daily_bin1731.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/551262/ltcube_688003201_688262401_4FGL_J2317.7+2839_daily_bin1731.fits
.....................!
real 191.22
user 185.35
sys 5.44

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/551262/ft1_filtered_4FGL_J2317.7+2839_daily_bin1731.fits scfile=/scratch/kocevski/551262/ft2_4FGL_J2317.7+2839_daily_bin1731.fits outfile=/scratch/kocevski/551262/cmap_688003201_688262401_4FGL_J2317.7+2839_daily_bin1731.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.63
user 0.38
sys 0.18

Creating the high resolution counts map:
time -p gtbin evfile=/scratch/kocevski/551262/ft1_filtered_4FGL_J2317.7+2839_daily_bin1731.fits scfile=/scratch/kocevski/551262/ft2_4FGL_J2317.7+2839_daily_bin1731.fits outfile=/scratch/kocevski/551262/cmap_HighResolution_688003201_688262401_4FGL_J2317.7+2839_daily_bin1731.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.62
user 0.39
sys 0.19

Computing the diffuse response:
time -p gtdiffrsp evfile=/scratch/kocevski/551262/ft1_filtered_4FGL_J2317.7+2839_daily_bin1731.fits evtable="EVENTS" scfile=/scratch/kocevski/551262/ft2_4FGL_J2317.7+2839_daily_bin1731.fits sctable="SC_DATA" srcmdl=/scratch/kocevski/551262/Model_4FGL_J2317.7+2839_daily_bin1731.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/551262/ft1_filtered_4FGL_J2317.7+2839_daily_bin1731.fits.....................!
real 104.73
user 102.29
sys 1.35

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

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

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

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'norm      '    1.7583       1.0000          .0000       .10000E+07
     2 'norm      '    .23981E-07   1.0000          .0000       .10000E+07
     3 'Prefactor '    9.5767       1.0000          .0000       .10000E+07
     4 'Prefactor '    .96395E-04   1.0000          .0000       .10000E+07
     5 'Prefactor '    .83746E-03   1.0000          .0000       .10000E+07
     6 'norm      '    .81389       1.0000          .0000       .10000E+07
     7 'Prefactor '    .35121       1.0000          .0000       .10000E+07
     8 'Prefactor '    1.9181       1.0000          .0000       .10000E+07
     9 'Prefactor '    75.762       1.0000          .0000       .10000E+07
    10 'Prefactor '    .10725E-06   1.0000          .0000       .10000E+07
    11 'norm      '    .46074E-08   1.0000          .0000       .10000E+07
    12 'Prefactor '    2.4218       1.0000          .0000       .10000E+07
    13 'norm      '    1.7714       1.0000          .0000       .10000E+07
    14 'Prefactor '    1.1701       1.0000          .0000       .10000E+07
    15 'Prefactor '    37.478       1.0000          .0000       .10000E+07
    16 'Normalizat'    1.0606       1.0000         .10000E-01   10.000    
    17 'Prefactor '    1.0001       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=   8954.955     FROM MIGRAD    STATUS=CONVERGED    117 CALLS     1271 TOTAL
                     EDM=   .29E-09  STRATEGY=1  ERROR MATRIX UNCERTAINTY=  2.1%

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  norm          1.7591        .87530       -.32181E-08   -.14381E-03
   2  norm           .0000        .73616        .14830E-06** at limit **
   3  Prefactor     9.7746        9.9923        .43347E-07    .38732E-02
   4  Prefactor     .11102E-09    8.8450        .17716E-06** at limit **
   5  Prefactor     .55511E-10    15.188       -.79621E-07** at limit **
   6  norm          .81597        .95531        .21717E-07   -.61986E-03
   7  Prefactor     .28860E-06    265.33        .21775E-06** at limit **
   8  Prefactor     1.6813        15.795        .28000E-06    .27065E-02
   9  Prefactor     75.887        17.865        .89912E-07    .17988E-01
  10  Prefactor      .0000        1.8992       -.79567E-09** at limit **
  11  norm           .0000        1.1205       -.69671E-07** at limit **
  12  Prefactor     2.3496        2.3903       -.12363E-06    .33876E-01
  13  norm          1.7767        1.9329        .69624E-07   -.16578E-04
  14  Prefactor     .93272        41.549        .10468E-05    .31491E-02
  15  Prefactor     40.371        41.546        .56250E-06   -.28968E-02
  16  Normalizat    1.0571        .23461       -.41417E-05    .22830E-04
  17  Prefactor     1.0010        .11866        .19019E-05    .18626E-04
                               ERR DEF=  .500    
Final values: 
  norm       = 1.75911
  norm       = 0
  Prefactor  = 9.77455
  Prefactor  = 1.11022e-10
  Prefactor  = 5.55112e-11
  norm       = 0.815966
  Prefactor  = 2.88602e-07
  Prefactor  = 1.6813
  Prefactor  = 75.8872
  Prefactor  = 0
  norm       = 0
  Prefactor  = 2.34962
  norm       = 1.77669
  Prefactor  = 0.932717
  Prefactor  = 40.3714
  Normalizat = 1.05715
  Prefactor  = 1.00105
 **********
 **   18 **HESSE 
 **********

 FCN=   8954.955     FROM HESSE     STATUS=OK           265 CALLS     1536 TOTAL
                     EDM=   .11E-06    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  norm          1.7591        .87961        .79002E-03   -1.5681    
   2  norm           .0000        .73371        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   3  Prefactor     9.7746        10.034        .32359E-03   -1.5645    
   4  Prefactor     .11102E-09    8.8667        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   5  Prefactor     .55511E-10    15.196        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   6  norm          .81597        .96471        .51905E-03   -1.5690    
   7  Prefactor     .28860E-06    7.8691        .14632E-01   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   8  Prefactor     1.6813        16.043        .75007E-03   -1.5682    
   9  Prefactor     75.887        37.606        .11489E-03   -1.5534    
  10  Prefactor      .0000        1.9004        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  11  norm           .0000        1.1230        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  12  Prefactor     2.3496        21.613        .65742E-03   -1.5677    
  13  norm          1.7767        1.9469        .78647E-03   -1.5681    
  14  Prefactor     .93272        40.837        .10607E-02   -1.5689    
  15  Prefactor     40.371        41.661        .16336E-03   -1.5581    
  16  Normalizat    1.0571        .20394        .76090E-01   -.91140    
  17  Prefactor     1.0010        .10044        .46136E-01   -.92695    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 1.12813e-07
Minuit parameter uncertainties:
  1  0.879614
  2  9.38437e-07
  3  10.034
  4  5.99255e-05
  5  6.35209e-05
  6  0.964715
  7  0.00301412
  8  10.3871
  9  37.6066
  10  3.23986e-06
  11  2.13815e-06
  12  14.2524
  13  1.94689
  14  12.3434
  15  41.6612
  16  0.204087
  17  0.100458
Done.

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

Extracting fit parameters...

4FGL J2317.7+2839
   Spectrum: PowerLaw
412    Prefactor:  7.589e+01  3.761e+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.001e+00  1.005e-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.057e+00  2.041e-01  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Fixed Index): 6.68
Ra Dec: 349.438 28.659
Photon Index (Fixed Index): 2.00 +/- 0.00
Photon Flux (Fixed Index): 9.71e-08 +/- 4.81e-08
Energy Flux (Fixed Index): 6.67e-05 +/- 3.30e-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) = 8952.99731384
delta logL = 1.95806494546

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

MINUIT Return Code (Free Index): 0
logL (Free Index) = 8952.97129995
delta logL = 1.98407883458

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'Prefactor '    19.008       1.0000          .0000       .10000E+07
     2 'Index     '    2.7014       1.0000          .0000       10.000    
     3 'Normalizat'    .95708       1.0000         .10000E-01   10.000    
     4 'Prefactor '    1.0308       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=   8952.971     FROM MIGRAD    STATUS=CONVERGED     52 CALLS      253 TOTAL
                     EDM=   .31E-08    STRATEGY= 1      ERR MATRIX NOT POS-DEF

  EXT PARAMETER                APPROXIMATE        STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor     19.008        89.584        .22945E-03    .30722E-02
   2  Index         2.7014        1.3653        .56849E-01    .36635E-03
   3  Normalizat    .95709        .94968E-01    .79380E-01    .29997E-04
   4  Prefactor     1.0308        .44502E-01    .41193E-01    .42509E-06
                               ERR DEF=  .500    
Final values: 
  Prefactor  = 19.0075
  Index      = 2.70138
  Normalizat = 0.957089
  Prefactor  = 1.03085
 **********
 **   18 **HESSE 
 **********

 FCN=   8952.971     FROM HESSE     STATUS=OK            31 CALLS      284 TOTAL
                     EDM=   .56E-07    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  Prefactor     19.008        42.182        .91781E-05   -1.5621    
   2  Index         2.7014        .77422        .23339E-02   -.47768    
   3  Normalizat    .95709        .23944        .35135E-03   -.94482    
   4  Prefactor     1.0308        .12306        .17758E-03   -.91708    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 5.58434e-08
Minuit parameter uncertainties:
  1  42.1826
  2  0.778195
  3  0.239712
  4  0.123095
shell-init: error retrieving current directory: getcwd: cannot access parent directories: No such file or directory
rmdir: failed to remove `/scratch/kocevski/551262': 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) = 8952.97129994
delta logL = 1.98407884346

Extracting fit parameters...

4FGL J2317.7+2839
   Spectrum: PowerLaw
412    Prefactor:  1.901e+01  4.218e+01  0.000e+00  1.000e+06 ( 1.000e-14)
413        Index:  2.701e+00  7.782e-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.031e+00  1.231e-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:  9.571e-01  2.397e-01  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Free Index): 10.85
Ra Dec: 349.438 28.659
Photon Index (Free Index): 2.70 +/- 0.78
Photon Flux (Free Index): 1.74e-07 +/- 6.87e-08
Energy Flux (Free Index): 4.19e-05 +/- 2.52e-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/551262/cmap_HighResolution_688003201_688262401_4FGL_J2317.7+2839_daily_bin1731.png

Cleaning up...

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

Updating database...

UPDATE lightcurve_data_v2 SET comment='SUCCESS', photon_flux='9.71e-08', energy_flux2='4.19e-05', photon_flux_error='4.81e-08', dlogl='1.98e+00', energy_flux='6.67e-05', photon_flux2='1.74e-07', job_status='DONE', time_completed='2022-10-24 00:54:26.070834', photon_index_error2='0.78', photon_index2='2.70', ts='6.68', fit_tolerance='1e-08', GAL='1.00', photon_index_error='0.00', energy_flux_error2='2.52e-05', EG='1.06', time_epoch_completed='1666598066.07', return_code='0', job_id='551262', GAL2='1.03', EG2='0.96', return_code2='0', energy_flux_error='3.30e-05', photon_flux_error2='6.87e-08', ts2='10.85', photon_index='2.00' WHERE bin_id='1731' AND source_name='4FGL J2317.7+2839' AND cadence='daily';

Database successfully updated.


Analysis Complete.


Mon Oct 24 00:54:26 PDT 2022


------------------------------------------------------------
Sender: LSF System <lsf@bullet0225>
Subject: Job 551262: <4FGL_J2317.7+2839_daily_bin1731> in cluster <slac> Done

Job <4FGL_J2317.7+2839_daily_bin1731> was submitted from host <rhel6-64q> by user <kocevski> in cluster <slac> at Mon Oct 24 00:40:29 2022
Job was executed on host(s) <bullet0225>, in queue <medium>, as user <kocevski> in cluster <slac> at Mon Oct 24 00:40:30 2022
</u/ki/kocevski> was used as the home directory.
</u/ki/kocevski> was used as the working directory.
Started at Mon Oct 24 00:40:30 2022
Terminated at Mon Oct 24 00:54:26 2022
Results reported at Mon Oct 24 00:54:26 2022

Your job looked like:

------------------------------------------------------------
# LSBATCH: User input
/nfs/farm/g/glast/g/LCRepository/Likelihood/Scripts/LikelihoodAnalysis.py 4FGL_J2317.7+2839_daily_bin1731 349.438 28.6589 688003201 688262401 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 :                                   599.24 sec.
    Max Memory :                                 1256 MB
    Average Memory :                             323.25 MB
    Total Requested Memory :                     -
    Delta Memory :                               -
    Max Swap :                                   -
    Max Processes :                              5
    Max Threads :                                21
    Run time :                                   836 sec.
    Turnaround time :                            837 sec.

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

