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 102 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_J2318.2+1915_daily_bin1748
RA = 349.557, Dec = 19.256
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='899394', job_status='RUN', time_executed='2022-12-14 01:27:13.152046', time_epoch_executed='1671010033.15' WHERE source_name='4FGL J2318.2+1915' and cadence='daily' and bin_id='1748'

Database successfully updated.
Done.

Creating custom output directory:
/scratch/kocevski/899394

Creating custom pfile directory:
/scratch/kocevski/899394/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/899394/ft1_4FGL_J2318.2+1915_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/899394/ft2_4FGL_J2318.2+1915_daily_bin1748.fits


Selecting the photons:
time -p gtselect infile=/scratch/kocevski/899394/ft1_4FGL_J2318.2+1915_daily_bin1748.fits outfile=/scratch/kocevski/899394/ft1_filteredMKT_4FGL_J2318.2+1915_daily_bin1748.fits ra=349.557 dec=19.256 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.59
user 3.34
sys 0.23

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

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

Generating the livetime cube:
time -p gtltcube evfile="/scratch/kocevski/899394/ft1_filtered_4FGL_J2318.2+1915_daily_bin1748.fits" evtable="EVENTS" scfile=/scratch/kocevski/899394/ft2_4FGL_J2318.2+1915_daily_bin1748.fits sctable="SC_DATA" outfile=/scratch/kocevski/899394/ltcube_692409601_692668801_4FGL_J2318.2+1915_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/899394/ft2_4FGL_J2318.2+1915_daily_bin1748.fits
.....................!
real 11.87
user 11.53
sys 0.30

Generating the exposure map:
time -p gtexpmap evfile=/scratch/kocevski/899394/ft1_filtered_4FGL_J2318.2+1915_daily_bin1748.fits evtable="EVENTS" scfile=/scratch/kocevski/899394/ft2_4FGL_J2318.2+1915_daily_bin1748.fits sctable="SC_DATA" expcube=/scratch/kocevski/899394/ltcube_692409601_692668801_4FGL_J2318.2+1915_daily_bin1748.fits outfile=/scratch/kocevski/899394/expmap_692409601_692668801_4FGL_J2318.2+1915_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/899394/ltcube_692409601_692668801_4FGL_J2318.2+1915_daily_bin1748.fits
.....................!
real 190.34
user 185.45
sys 4.53

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/899394/ft1_filtered_4FGL_J2318.2+1915_daily_bin1748.fits scfile=/scratch/kocevski/899394/ft2_4FGL_J2318.2+1915_daily_bin1748.fits outfile=/scratch/kocevski/899394/cmap_692409601_692668801_4FGL_J2318.2+1915_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.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.54
user 0.37
sys 0.16

Creating the high resolution counts map:
time -p gtbin evfile=/scratch/kocevski/899394/ft1_filtered_4FGL_J2318.2+1915_daily_bin1748.fits scfile=/scratch/kocevski/899394/ft2_4FGL_J2318.2+1915_daily_bin1748.fits outfile=/scratch/kocevski/899394/cmap_HighResolution_692409601_692668801_4FGL_J2318.2+1915_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.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.54
user 0.37
sys 0.16

Computing the diffuse response:
time -p gtdiffrsp evfile=/scratch/kocevski/899394/ft1_filtered_4FGL_J2318.2+1915_daily_bin1748.fits evtable="EVENTS" scfile=/scratch/kocevski/899394/ft2_4FGL_J2318.2+1915_daily_bin1748.fits sctable="SC_DATA" srcmdl=/scratch/kocevski/899394/Model_4FGL_J2318.2+1915_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/899394/ft1_filtered_4FGL_J2318.2+1915_daily_bin1748.fits.....................!
real 98.00
user 96.54
sys 1.24

Creating the likelihood object...
obs = UnbinnedObs('/scratch/kocevski/899394/ft1_filtered_4FGL_J2318.2+1915_daily_bin1748.fits', '/scratch/kocevski/899394/ft2_4FGL_J2318.2+1915_daily_bin1748.fits', expMap='/scratch/kocevski/899394/expmap_692409601_692668801_4FGL_J2318.2+1915_daily_bin1748.fits', expCube='/scratch/kocevski/899394/ltcube_692409601_692668801_4FGL_J2318.2+1915_daily_bin1748.fits', irfs='P8R3_SOURCE_V2')
like = UnbinnedAnalysis(obs, '/scratch/kocevski/899394/Model_4FGL_J2318.2+1915_daily_bin1748.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/899394/ft1_filtered_4FGL_J2318.2+1915_daily_bin1748.fits
Spacecraft file(s): /scratch/kocevski/899394/ft2_4FGL_J2318.2+1915_daily_bin1748.fits
Exposure map: /scratch/kocevski/899394/expmap_692409601_692668801_4FGL_J2318.2+1915_daily_bin1748.fits
Exposure cube: /scratch/kocevski/899394/ltcube_692409601_692668801_4FGL_J2318.2+1915_daily_bin1748.fits
IRFs: P8R3_SOURCE_V2
Source model file: /scratch/kocevski/899394/Model_4FGL_J2318.2+1915_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) = 8680.33888633

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

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

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'norm      '    .97367E-07   1.0000          .0000       .10000E+07
     2 'norm      '    2.9495       1.0000          .0000       .10000E+07
     3 'Prefactor '    22.277       1.0000          .0000       .10000E+07
     4 'Prefactor '    .91406E-05   1.0000          .0000       .10000E+07
     5 'Prefactor '    1.7437       1.0000         .10000E-03   10000.    
     6 'Prefactor '    1.0504       1.0000          .0000       .10000E+07
     7 'Prefactor '    .54256E-02   1.0000          .0000       .10000E+07
     8 'Prefactor '    73.257       1.0000          .0000       .10000E+07
     9 'Prefactor '    .58662E-01   1.0000          .0000       .10000E+07
    10 'Prefactor '    15.303       1.0000          .0000       .10000E+07
    11 'Prefactor '    24.027       1.0000          .0000       .10000E+07
    12 'norm      '    .72854E-04   1.0000          .0000       .10000E+07
    13 'Prefactor '    .12555E-03   1.0000          .0000       .10000E+07
    14 'norm      '    23.869       1.0000          .0000       .10000E+07
    15 'Prefactor '    .10710E-04   1.0000          .0000       .10000E+07
    16 'Normalizat'    1.1287       1.0000         .10000E-01   10.000    
    17 'Prefactor '    .99737       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=   8680.332     FROM MIGRAD    STATUS=CONVERGED    107 CALLS      983 TOTAL
                     EDM=   .39E-09  STRATEGY=1  ERROR MATRIX UNCERTAINTY=  3.6%

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  norm           .0000        .84207        .20157E-06** at limit **
   2  norm          2.9482        1.5424       -.28574E-07    .71447E-03
   3  Prefactor     22.098        11.040        .11966E-06   -.15188E-01
   4  Prefactor     .16653E-09    3.6850       -.27304E-06** at limit **
   5  Prefactor     1.7441        .23552        .21234E-07   -.25135E-03
   6  Prefactor     1.0214        14.644        .17585E-06    .78073E-04
   7  Prefactor     .11491E-06    34.456        .68677E-06** at limit **
   8  Prefactor     72.825        9.1203       -.18630E-07    .16564    
   9  Prefactor     .33235E-06    110.97        .16157E-05** at limit **
  10  Prefactor     15.303        3.2210       -.12756E-07   -.27525E-01
  11  Prefactor     24.217        16.140       -.18372E-06   -.56705E-01
  12  norm          .11657E-08    3.9559        .83038E-08** at limit **
  13  Prefactor     .13878E-08    4.8576       -.18836E-06** at limit **
  14  norm          23.840        1.5888       -.19620E-07   -.13309E-01
  15  Prefactor     .22204E-09    5.1321        .15249E-06** at limit **
  16  Normalizat    1.1287        .24586        .76866E-05    .20904E-04
  17  Prefactor     .99764        .14376       -.48333E-05    .74198E-04
                               ERR DEF=  .500    
Final values: 
  norm       = 0
  norm       = 2.94823
  Prefactor  = 22.0978
  Prefactor  = 1.66533e-10
  Prefactor  = 1.74412
  Prefactor  = 1.02145
  Prefactor  = 1.14908e-07
  Prefactor  = 72.8248
  Prefactor  = 3.32345e-07
  Prefactor  = 15.3025
  Prefactor  = 24.217
  norm       = 1.16573e-09
  Prefactor  = 1.38778e-09
  norm       = 23.8399
  Prefactor  = 2.22045e-10
  Normalizat = 1.12873
  Prefactor  = 0.997639
 **********
 **   18 **HESSE 
 **********

 FCN=   8680.332     FROM HESSE     STATUS=OK           269 CALLS     1252 TOTAL
                     EDM=   .52E-06    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  norm           .0000        .84580        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   2  norm          2.9482        1.5406        .59109E-03   -1.5674    
   3  Prefactor     22.098        22.202        .21192E-03   -1.5614    
   4  Prefactor     .16653E-09    3.7117        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   5  Prefactor     1.7441        .23821        .35382E-02   -1.5444    
   6  Prefactor     1.0214        5.7543        .67517E-02   -1.5688    
   7  Prefactor     .11491E-06    35.076        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   8  Prefactor     72.825        35.049        .11684E-03   -1.5537    
   9  Prefactor     .33235E-06    2.8402        .10082E-01   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  10  Prefactor     15.303        10.312        .25576E-03   -1.5630    
  11  Prefactor     24.217        20.034        .20406E-03   -1.5610    
  12  norm          .11657E-08    4.1048        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  13  Prefactor     .13878E-08    4.8997        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  14  norm          23.840        15.318        .20473E-03   -1.5610    
  15  Prefactor     .22204E-09    5.2472        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  16  Normalizat    1.1287        .21033        .76349E-01   -.88835    
  17  Prefactor     .99764        .12157        .46234E-01   -.92808    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 5.19849e-07
Minuit parameter uncertainties:
  1  6.21975e-06
  2  1.54056
  3  22.2019
  4  4.88275e-05
  5  0.238206
  6  4.8488
  7  0.00401528
  8  35.0494
  9  0.00194313
  10  10.312
  11  20.0339
  12  0.000137221
  13  0.000164514
  14  15.3183
  15  6.52943e-05
  16  0.210487
  17  0.1216
Done.

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

Extracting fit parameters...

4FGL J2318.2+1915
   Spectrum: PowerLaw
372    Prefactor:  3.323e-07  1.943e-03  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:  9.976e-01  1.216e-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.129e+00  2.105e-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: 1.08e-07 ph cm-2 s-1
Energy Flux Upper Limit: 8.52e-03 MeV cm-2 s-1

Saving results to:
/scratch/kocevski/899394/likelihoodResults_692409601_692668801_4FGL_J2318.2+1915_daily_bin1748.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): 0
logL (Free Index) = 8680.34907707
delta logL = -0.0172696931349

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

MINUIT Return Code (Free Index): 0
logL (Free Index) = 8680.31691489
delta logL = 0.0148924796758

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'Prefactor '    .55807       1.0000          .0000       .10000E+07
     2 'Index     '    3.3364       1.0000          .0000       10.000    
     3 'Normalizat'    1.1190       1.0000         .10000E-01   10.000    
     4 'Prefactor '    .99995       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.
 MACHINE ACCURACY LIMITS FURTHER IMPROVEMENT.

 MIGRAD MINIMIZATION HAS CONVERGED.

 MIGRAD WILL VERIFY CONVERGENCE AND ERROR MATRIX.

 FCN=   8680.317     FROM MIGRAD    STATUS=CONVERGED     93 CALLS      265 TOTAL
                     EDM=   .84E-08    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor     .55807        10.370        .14614E-03   -.14237E-01
   2  Index         3.3364        3.3606        .12582E-01   -.57594E-05
   3  Normalizat    1.1190        .24699        .33917E-03    .26145E-03
   4  Prefactor     .99995        .14382        .21130E-03    .44168E-03
                               ERR DEF=  .500    
Final values: 
  Prefactor  = 0.558072
  Index      = 3.33636
  Normalizat = 1.11902
  Prefactor  = 0.999949
 **********
 **   18 **HESSE 
 **********

 FCN=   8680.317     FROM HESSE     STATUS=OK            25 CALLS      290 TOTAL
                     EDM=   .57E-08    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  Prefactor     .55807        6.2872        .58456E-05   -1.5693    
   2  Index         3.3364        2.7390        .50328E-03   -.33919    
   3  Normalizat    1.1190        .24699        .13567E-04   -.89143    
   4  Prefactor     .99995        .14400        .42260E-04   -.92731    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 5.66719e-09
Minuit parameter uncertainties:
  1  3.74632
  2  2.92261
  3  0.247241
  4  0.144054
shell-init: error retrieving current directory: getcwd: cannot access parent directories: No such file or directory
rmdir: failed to remove `/scratch/kocevski/899394': 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) = 8680.31691489
delta logL = 0.0148924825717

Extracting fit parameters...

4FGL J2318.2+1915
   Spectrum: PowerLaw
372    Prefactor:  5.581e-01  3.746e+00  0.000e+00  1.000e+06 ( 1.000e-12)
373        Index:  3.336e+00  2.923e+00  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:  9.999e-01  1.441e-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.119e+00  2.472e-01  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/899394/cmap_HighResolution_692409601_692668801_4FGL_J2318.2+1915_daily_bin1748.png

Cleaning up...

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

Updating database...

UPDATE lightcurve_data_v2 SET energy_flux_upper_limit='8.52e-03', job_status='DONE', photon_flux_upper_limit='1.08e-07', time_completed='2022-12-14 01:36:43.081295', job_id='899394', GAL2='1.00', fit_tolerance='1e-08', EG2='1.12', EG='1.13', time_epoch_completed='1671010603.08', return_code2='0', ts='-0.00', comment='SUCCESS', return_code='0', GAL='1.00', dlogl='1.49e-02', ts2='0.03', photon_index_error='0.00', photon_index='2.67' WHERE bin_id='1748' AND source_name='4FGL J2318.2+1915' AND cadence='daily';

Database successfully updated.


Analysis Complete.


Wed Dec 14 01:36:43 PST 2022


------------------------------------------------------------
Sender: LSF System <lsf@bullet0283>
Subject: Job 899394: <4FGL_J2318.2+1915_daily_bin1748> in cluster <slac> Done

Job <4FGL_J2318.2+1915_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) <bullet0283>, 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:43 2022
Results reported at Wed Dec 14 01:36:43 2022

Your job looked like:

------------------------------------------------------------
# LSBATCH: User input
/nfs/farm/g/glast/g/LCRepository/Likelihood/Scripts/LikelihoodAnalysis.py 4FGL_J2318.2+1915_daily_bin1748 349.557 19.256 692409601 692668801 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 :                                   572.19 sec.
    Max Memory :                                 1093 MB
    Average Memory :                             308.57 MB
    Total Requested Memory :                     -
    Delta Memory :                               -
    Max Swap :                                   -
    Max Processes :                              5
    Max Threads :                                21
    Run time :                                   681 sec.
    Turnaround time :                            682 sec.

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

