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


Performing analysis on: 4FGL_J2318.2+1915_daily_bin1708
RA = 349.557, Dec = 19.256
tmin = 682041601, tmax = 682300801
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='255250', job_status='RUN', time_executed='2022-09-17 00:30:36.219005', time_epoch_executed='1663399836.22' WHERE source_name='4FGL J2318.2+1915' and cadence='daily' and bin_id='1708'

Database successfully updated.
Done.

Creating custom output directory:
/scratch/kocevski/255250

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

Retrieving the FT1 file...

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

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

Retrieving 46 files...
Done.


Merging files...

Checksum keywords updated successfully.

Merged file saved to:
/scratch/kocevski/255250/ft1_4FGL_J2318.2+1915_daily_bin1708.fits


Retrieving the FT1 file...

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

Retrieving 46 files...
Done.


Merging files...

Merged file saved to:
/scratch/kocevski/255250/ft2_4FGL_J2318.2+1915_daily_bin1708.fits


Selecting the photons:
time -p gtselect infile=/scratch/kocevski/255250/ft1_4FGL_J2318.2+1915_daily_bin1708.fits outfile=/scratch/kocevski/255250/ft1_filteredMKT_4FGL_J2318.2+1915_daily_bin1708.fits ra=349.557 dec=19.256 rad=12.0 tmin=682041601.0 tmax=682300801.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.03
user 3.79
sys 0.21

Adding sun position to ft2 file:
/nfs/farm/g/glast/g/LCRepository/Repository/bin/sunpos /scratch/kocevski/255250/ft2_4FGL_J2318.2+1915_daily_bin1708.fits

Selecting the good time intervals:
time -p gtmktime scfile=/scratch/kocevski/255250/ft2_4FGL_J2318.2+1915_daily_bin1708.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/255250/ft1_filteredMKT_4FGL_J2318.2+1915_daily_bin1708.fits evtable="EVENTS" outfile="/scratch/kocevski/255250/ft1_filtered_4FGL_J2318.2+1915_daily_bin1708.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: 885

Generating the livetime cube:
time -p gtltcube evfile="/scratch/kocevski/255250/ft1_filtered_4FGL_J2318.2+1915_daily_bin1708.fits" evtable="EVENTS" scfile=/scratch/kocevski/255250/ft2_4FGL_J2318.2+1915_daily_bin1708.fits sctable="SC_DATA" outfile=/scratch/kocevski/255250/ltcube_682041601_682300801_4FGL_J2318.2+1915_daily_bin1708.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/255250/ft2_4FGL_J2318.2+1915_daily_bin1708.fits
.....................!
real 14.31
user 13.91
sys 0.34

Generating the exposure map:
time -p gtexpmap evfile=/scratch/kocevski/255250/ft1_filtered_4FGL_J2318.2+1915_daily_bin1708.fits evtable="EVENTS" scfile=/scratch/kocevski/255250/ft2_4FGL_J2318.2+1915_daily_bin1708.fits sctable="SC_DATA" expcube=/scratch/kocevski/255250/ltcube_682041601_682300801_4FGL_J2318.2+1915_daily_bin1708.fits outfile=/scratch/kocevski/255250/expmap_682041601_682300801_4FGL_J2318.2+1915_daily_bin1708.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/255250/ltcube_682041601_682300801_4FGL_J2318.2+1915_daily_bin1708.fits
.....................!
real 192.56
user 187.19
sys 4.98

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

Setting source of interest to:
4FGL J2318.2+1915 @ 349.557 19.256

Creating the counts map:
time -p gtbin evfile=/scratch/kocevski/255250/ft1_filtered_4FGL_J2318.2+1915_daily_bin1708.fits scfile=/scratch/kocevski/255250/ft2_4FGL_J2318.2+1915_daily_bin1708.fits outfile=/scratch/kocevski/255250/cmap_682041601_682300801_4FGL_J2318.2+1915_daily_bin1708.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.557 yref=19.256 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

Creating the high resolution counts map:
time -p gtbin evfile=/scratch/kocevski/255250/ft1_filtered_4FGL_J2318.2+1915_daily_bin1708.fits scfile=/scratch/kocevski/255250/ft2_4FGL_J2318.2+1915_daily_bin1708.fits outfile=/scratch/kocevski/255250/cmap_HighResolution_682041601_682300801_4FGL_J2318.2+1915_daily_bin1708.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.557 yref=19.256 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.41
sys 0.15

Computing the diffuse response:
time -p gtdiffrsp evfile=/scratch/kocevski/255250/ft1_filtered_4FGL_J2318.2+1915_daily_bin1708.fits evtable="EVENTS" scfile=/scratch/kocevski/255250/ft2_4FGL_J2318.2+1915_daily_bin1708.fits sctable="SC_DATA" srcmdl=/scratch/kocevski/255250/Model_4FGL_J2318.2+1915_daily_bin1708.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/255250/ft1_filtered_4FGL_J2318.2+1915_daily_bin1708.fits.....................!
real 99.93
user 98.56
sys 1.17

Creating the likelihood object...
obs = UnbinnedObs('/scratch/kocevski/255250/ft1_filtered_4FGL_J2318.2+1915_daily_bin1708.fits', '/scratch/kocevski/255250/ft2_4FGL_J2318.2+1915_daily_bin1708.fits', expMap='/scratch/kocevski/255250/expmap_682041601_682300801_4FGL_J2318.2+1915_daily_bin1708.fits', expCube='/scratch/kocevski/255250/ltcube_682041601_682300801_4FGL_J2318.2+1915_daily_bin1708.fits', irfs='P8R3_SOURCE_V2')
like = UnbinnedAnalysis(obs, '/scratch/kocevski/255250/Model_4FGL_J2318.2+1915_daily_bin1708.xml', optimizer='MINUIT')

Using source of interest name: '4FGL J2318.2+1915'

4FGL J2318.2+1915
   Spectrum: PowerLaw
372    Prefactor:  2.396e+00  0.000e+00  0.000e+00  1.000e+06 ( 1.000e-12)
373        Index:  2.667e+00  0.000e+00  0.000e+00  1.000e+01 (-1.000e+00) fixed
374        Scale:  6.043e+02  0.000e+00  3.000e+01  5.000e+05 ( 1.000e+00) fixed


Likelihood Fit Parameters:
Event file(s): /scratch/kocevski/255250/ft1_filtered_4FGL_J2318.2+1915_daily_bin1708.fits
Spacecraft file(s): /scratch/kocevski/255250/ft2_4FGL_J2318.2+1915_daily_bin1708.fits
Exposure map: /scratch/kocevski/255250/expmap_682041601_682300801_4FGL_J2318.2+1915_daily_bin1708.fits
Exposure cube: /scratch/kocevski/255250/ltcube_682041601_682300801_4FGL_J2318.2+1915_daily_bin1708.fits
IRFs: P8R3_SOURCE_V2
Source model file: /scratch/kocevski/255250/Model_4FGL_J2318.2+1915_daily_bin1708.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) = 9099.9952539

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

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

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'norm      '    .27756E-08   1.0000          .0000       .10000E+07
     2 'norm      '    3.9982       1.0000          .0000       .10000E+07
     3 'Prefactor '    8.1647       1.0000          .0000       .10000E+07
     4 'Prefactor '    13.755       1.0000          .0000       .10000E+07
     5 'Prefactor '    1.2731       1.0000         .10000E-03   10000.    
     6 'Prefactor '    5.0263       1.0000          .0000       .10000E+07
     7 'Prefactor '    8.1968       1.0000          .0000       .10000E+07
     8 'Prefactor '    257.73       1.0000          .0000       .10000E+07
     9 'Prefactor '    .60863E-05   1.0000          .0000       .10000E+07
    10 'Prefactor '    12.034       1.0000          .0000       .10000E+07
    11 'Prefactor '    22.469       1.0000          .0000       .10000E+07
    12 'norm      '    .12102       1.0000          .0000       .10000E+07
    13 'Prefactor '    8.3429       1.0000          .0000       .10000E+07
    14 'norm      '    .60796       1.0000          .0000       .10000E+07
    15 'Prefactor '    3.4964       1.0000          .0000       .10000E+07
    16 'Normalizat'    1.1488       1.0000         .10000E-01   10.000    
    17 'Prefactor '    1.1073       1.0000          .0000       10.000    
 **********
 **   15 **SET ERR    .5000    
 **********
 **********
 **   16 **SET GRAD    1.000    
 **********
 **********
 **   17 **MINIMIZE    .5140E+05   .2000E-04
 **********

 MIGRAD MINIMIZATION HAS CONVERGED.

 FCN=   9096.764     FROM MIGRAD    STATUS=CONVERGED    107 CALLS      812 TOTAL
                     EDM=   .20E-08  STRATEGY=1  ERROR MATRIX UNCERTAINTY=   .7%

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  norm          .55511E-10    3.1226       -.33854E-06** at limit **
   2  norm          3.9982        2.0058       -.19753E-06    .15622E-03
   3  Prefactor     9.1719        28.227       -.13244E-05    .19267E-01
   4  Prefactor     13.741        10.262       -.50768E-06    .29853E-02
   5  Prefactor     1.2718        .21906        .13124E-07   -.46104E-03
   6  Prefactor     5.0328        5.3769       -.75772E-06   -.23390E-03
   7  Prefactor     8.5707        9.2057       -.86512E-06    .12081E-01
   8  Prefactor     257.90        22.506        .14707E-05   -.51087    
   9  Prefactor     .38858E-09    2.3472       -.52935E-06** at limit **
  10  Prefactor     12.116        6.9116       -.20911E-05   -.13890    
  11  Prefactor     22.482        14.398       -.33575E-05   -.14571    
  12  norm          .33512E-06    89.108        .39459E-06** at limit **
  13  Prefactor     8.3887        7.7821        .89677E-06    .15129E-01
  14  norm          .43969        12.894       -.25360E-05   -.41044E-04
  15  Prefactor     3.4969        5.4571        .13214E-05   -.10637E-02
  16  Normalizat    1.1493        .25182        .69541E-06   -.89849E-04
  17  Prefactor     1.1066        .14785        .38938E-05   -.20226E-03
                               ERR DEF=  .500    
Final values: 
  norm       = 5.55112e-11
  norm       = 3.99822
  Prefactor  = 9.17192
  Prefactor  = 13.7412
  Prefactor  = 1.27178
  Prefactor  = 5.03284
  Prefactor  = 8.57066
  Prefactor  = 257.899
  Prefactor  = 3.88578e-10
  Prefactor  = 12.1156
  Prefactor  = 22.4822
  norm       = 3.35121e-07
  Prefactor  = 8.3887
  norm       = 0.439687
  Prefactor  = 3.49687
  Normalizat = 1.14928
  Prefactor  = 1.10656
 **********
 **   18 **HESSE 
 **********

 FCN=   9096.764     FROM HESSE     STATUS=OK           275 CALLS     1087 TOTAL
                     EDM=   .38E-05    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  norm          .55511E-10    3.0895        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   2  norm          3.9982        2.0062        .50414E-03   -1.5668    
   3  Prefactor     9.1719        29.584        .35063E-03   -1.5647    
   4  Prefactor     13.741        10.283        .26981E-03   -1.5634    
   5  Prefactor     1.2718        .21934        .39292E-02   -1.5482    
   6  Prefactor     5.0328        5.3796        .44829E-03   -1.5663    
   7  Prefactor     8.5707        17.176        .34994E-03   -1.5649    
   8  Prefactor     257.90        52.810        .62298E-04   -1.5387    
   9  Prefactor     .38858E-09    2.3481        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  10  Prefactor     12.116        15.069        .28852E-03   -1.5638    
  11  Prefactor     22.482        19.406        .21102E-03   -1.5613    
  12  norm          .33512E-06    12.860        .81857E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  13  Prefactor     8.3887        9.2382        .34684E-03   -1.5650    
  14  norm          .43969        12.346        .10460E-01   -1.5695    
  15  Prefactor     3.4969        5.4670        .54047E-03   -1.5671    
  16  Normalizat    1.1493        .22435        .82311E-01   -.88185    
  17  Prefactor     1.1066        .13021        .37316E-01   -.89257    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 3.76742e-06
Minuit parameter uncertainties:
  1  3.07263e-05
  2  2.00616
  3  29.5846
  4  10.2834
  5  0.219341
  6  5.37959
  7  17.1762
  8  52.8099
  9  5.93449e-05
  10  15.0694
  11  19.4063
  12  0.00415207
  13  9.23817
  14  4.65987
  15  5.46703
  16  0.224538
  17  0.130252
Done.

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

Extracting fit parameters...

4FGL J2318.2+1915
   Spectrum: PowerLaw
372    Prefactor:  3.886e-10  5.934e-05  0.000e+00  1.000e+06 ( 1.000e-12)
373        Index:  2.667e+00  0.000e+00  0.000e+00  1.000e+01 (-1.000e+00) fixed
374        Scale:  6.043e+02  0.000e+00  3.000e+01  5.000e+05 ( 1.000e+00) fixed

GAL_V02
   Spectrum: PowerLaw
511    Prefactor:  1.107e+00  1.303e-01  0.000e+00  1.000e+01 ( 1.000e+00)
512        Index:  0.000e+00  0.000e+00 -1.000e+00  1.000e+00 ( 1.000e+00) fixed
513        Scale:  1.000e+02  0.000e+00  5.000e+01  2.000e+02 ( 1.000e+00) fixed

EG_v02
   Spectrum: FileFunction
510   Normalization:  1.149e+00  2.245e-01  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Fixed Index): -0.00
Ra Dec: 349.557 19.256
Photon Flux Upper Limit: 7.52e-08 ph cm-2 s-1
Energy Flux Upper Limit: 5.91e-03 MeV cm-2 s-1

Saving results to:
/scratch/kocevski/255250/likelihoodResults_682041601_682300801_4FGL_J2318.2+1915_daily_bin1708.txt

Performing a free index iterative likelihood fit...

Freezing all point sources, except source of interest...

Done.

Freeing candidate source...
Done.

Fit tolerance = 1

Performing likelihood fit...
Done.

MINUIT Return Code (Free Index): 102
logL (Free Index) = 9096.76477888
delta logL = -0.000641672988422

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

MINUIT Return Code (Free Index): 102
logL (Free Index) = 9096.76413734
delta logL = -1.28999090521e-07

Fit tolerance = 1e-08

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

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

 MIGRAD MINIMIZATION HAS CONVERGED.

 MIGRAD WILL VERIFY CONVERGENCE AND ERROR MATRIX.

 FCN=   9096.764     FROM MIGRAD    STATUS=CONVERGED     75 CALLS      274 TOTAL
                     EDM=   .66E-11    STRATEGY= 1      ERR MATRIX NOT POS-DEF

  EXT PARAMETER                APPROXIMATE        STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor     .94369E-09    .16918E-01    .42118E-03** at limit **
   2  Index         3.7870        7.3909        .42241        .25837E-08
   3  Normalizat    1.1493        .71506E-03    .82311E-01    .55388E-03
   4  Prefactor     1.1066        .43014E-03    .37344E-01    .49645E-03
                               ERR DEF=  .500    
Final values: 
  Prefactor  = 9.4369e-10
  Index      = 3.78697
  Normalizat = 1.14929
  Prefactor  = 1.10656
 **********
 **   18 **HESSE 
 **********

 FCN=   9096.764     FROM HESSE     STATUS=NOT POSDEF    29 CALLS      303 TOTAL
                     EDM=   .32E-10    STRATEGY= 1      ERR MATRIX NOT POS-DEF

  EXT PARAMETER                APPROXIMATE     INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  Prefactor     .94369E-09    .70848E-01    .84235E-04   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   2  Index         3.7870        7.9984        .50000       -.24505    
   3  Normalizat    1.1493        .14528E-02    .36441E-03   -.88185    
   4  Prefactor     1.1066        .87552E-03    .22189E-03   -.89257    
                               ERR DEF=  .500    
Minuit fit quality: 2   estimated distance: 3.20283e-11
Minuit parameter uncertainties:
  1  1.61795e-05
  2  4046.11
  3  0.0014528
  4  0.000875522
shell-init: error retrieving current directory: getcwd: cannot access parent directories: No such file or directory
rmdir: failed to remove `/scratch/kocevski/255250': 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): 102
logL (Free Index) = 9096.76413721
delta logL = -6.49379217066e-10

Extracting fit parameters...

4FGL J2318.2+1915
   Spectrum: PowerLaw
372    Prefactor:  9.437e-10  1.618e-05  0.000e+00  1.000e+06 ( 1.000e-12)
373        Index:  3.787e+00  4.046e+03  0.000e+00  1.000e+01 (-1.000e+00)
374        Scale:  6.043e+02  0.000e+00  3.000e+01  5.000e+05 ( 1.000e+00) fixed

GAL_V02
   Spectrum: PowerLaw
511    Prefactor:  1.107e+00  8.755e-04  0.000e+00  1.000e+01 ( 1.000e+00)
512        Index:  0.000e+00  0.000e+00 -1.000e+00  1.000e+00 ( 1.000e+00) fixed
513        Scale:  1.000e+02  0.000e+00  5.000e+01  2.000e+02 ( 1.000e+00) fixed

EG_v02
   Spectrum: FileFunction
510   Normalization:  1.149e+00  1.453e-03  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Free Index): -0.00
Ra Dec: 349.557 19.256

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/255250/cmap_HighResolution_682041601_682300801_4FGL_J2318.2+1915_daily_bin1708.png

Cleaning up...

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

Updating database...

UPDATE lightcurve_data_v2 SET energy_flux_upper_limit='5.91e-03', job_status='DONE', photon_flux_upper_limit='7.52e-08', time_completed='2022-09-17 00:40:40.547662', job_id='255250', GAL2='1.11', fit_tolerance='1e-08', EG2='1.15', EG='1.15', time_epoch_completed='1663400440.55', return_code2='102', ts='-0.00', comment='SUCCESS', return_code='0', GAL='1.11', dlogl='-6.49e-10', ts2='-0.00', photon_index_error='0.00', photon_index='2.67' WHERE bin_id='1708' AND source_name='4FGL J2318.2+1915' AND cadence='daily';

Database successfully updated.


Analysis Complete.


Sat Sep 17 00:40:40 PDT 2022


------------------------------------------------------------
Sender: LSF System <lsf@bullet0057>
Subject: Job 255250: <4FGL_J2318.2+1915_daily_bin1708> in cluster <slac> Done

Job <4FGL_J2318.2+1915_daily_bin1708> was submitted from host <rhel6-64f> by user <kocevski> in cluster <slac> at Sat Sep 17 00:25:21 2022
Job was executed on host(s) <bullet0057>, in queue <medium>, as user <kocevski> in cluster <slac> at Sat Sep 17 00:29:31 2022
</u/ki/kocevski> was used as the home directory.
</u/ki/kocevski> was used as the working directory.
Started at Sat Sep 17 00:29:31 2022
Terminated at Sat Sep 17 00:40:41 2022
Results reported at Sat Sep 17 00:40:41 2022

Your job looked like:

------------------------------------------------------------
# LSBATCH: User input
/nfs/farm/g/glast/g/LCRepository/Likelihood/Scripts/LikelihoodAnalysis.py 4FGL_J2318.2+1915_daily_bin1708 349.557 19.256 682041601 682300801 irfs=P8R3_SOURCE_V2 zmax=90 ROI=12 association=4FGL_J2318.2+1915 fixedModel=True performFreeIndexFit=True freeVariableSources=True nuke=True repositoryJob=True verbose=False
------------------------------------------------------------

Successfully completed.

Resource usage summary:

    CPU time :                                   606.56 sec.
    Max Memory :                                 1256 MB
    Average Memory :                             380.17 MB
    Total Requested Memory :                     -
    Delta Memory :                               -
    Max Swap :                                   -
    Max Processes :                              5
    Max Threads :                                21
    Run time :                                   669 sec.
    Turnaround time :                            920 sec.

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

