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


Performing analysis on: 4FGL_J2318.2+1915_daily_bin1714
RA = 349.557, Dec = 19.256
tmin = 683596801, tmax = 683856001
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='255260', job_status='RUN', time_executed='2022-09-17 00:29:47.500304', time_epoch_executed='1663399787.5' WHERE source_name='4FGL J2318.2+1915' and cadence='daily' and bin_id='1714'

Database successfully updated.
Done.

Creating custom output directory:
/scratch/kocevski/255260

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

Retrieving the FT1 file...

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

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

Retrieving 46 files...
Done.


Merging files...

Checksum keywords updated successfully.

Merged file saved to:
/scratch/kocevski/255260/ft1_4FGL_J2318.2+1915_daily_bin1714.fits


Retrieving the FT1 file...

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

Retrieving 46 files...
Done.


Merging files...

Merged file saved to:
/scratch/kocevski/255260/ft2_4FGL_J2318.2+1915_daily_bin1714.fits


Selecting the photons:
time -p gtselect infile=/scratch/kocevski/255260/ft1_4FGL_J2318.2+1915_daily_bin1714.fits outfile=/scratch/kocevski/255260/ft1_filteredMKT_4FGL_J2318.2+1915_daily_bin1714.fits ra=349.557 dec=19.256 rad=12.0 tmin=683596801.0 tmax=683856001.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.50
user 3.25
sys 0.23

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

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

Generating the livetime cube:
time -p gtltcube evfile="/scratch/kocevski/255260/ft1_filtered_4FGL_J2318.2+1915_daily_bin1714.fits" evtable="EVENTS" scfile=/scratch/kocevski/255260/ft2_4FGL_J2318.2+1915_daily_bin1714.fits sctable="SC_DATA" outfile=/scratch/kocevski/255260/ltcube_683596801_683856001_4FGL_J2318.2+1915_daily_bin1714.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/255260/ft2_4FGL_J2318.2+1915_daily_bin1714.fits
.....................!
real 14.68
user 14.29
sys 0.35

Generating the exposure map:
time -p gtexpmap evfile=/scratch/kocevski/255260/ft1_filtered_4FGL_J2318.2+1915_daily_bin1714.fits evtable="EVENTS" scfile=/scratch/kocevski/255260/ft2_4FGL_J2318.2+1915_daily_bin1714.fits sctable="SC_DATA" expcube=/scratch/kocevski/255260/ltcube_683596801_683856001_4FGL_J2318.2+1915_daily_bin1714.fits outfile=/scratch/kocevski/255260/expmap_683596801_683856001_4FGL_J2318.2+1915_daily_bin1714.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/255260/ltcube_683596801_683856001_4FGL_J2318.2+1915_daily_bin1714.fits
.....................!
real 191.63
user 186.12
sys 5.14

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/255260/ft1_filtered_4FGL_J2318.2+1915_daily_bin1714.fits scfile=/scratch/kocevski/255260/ft2_4FGL_J2318.2+1915_daily_bin1714.fits outfile=/scratch/kocevski/255260/cmap_683596801_683856001_4FGL_J2318.2+1915_daily_bin1714.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.64
user 0.38
sys 0.18

Creating the high resolution counts map:
time -p gtbin evfile=/scratch/kocevski/255260/ft1_filtered_4FGL_J2318.2+1915_daily_bin1714.fits scfile=/scratch/kocevski/255260/ft2_4FGL_J2318.2+1915_daily_bin1714.fits outfile=/scratch/kocevski/255260/cmap_HighResolution_683596801_683856001_4FGL_J2318.2+1915_daily_bin1714.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.55
user 0.38
sys 0.16

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

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

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

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

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'norm      '    .34894E-06   1.0000          .0000       .10000E+07
     2 'norm      '    3.0757       1.0000          .0000       .10000E+07
     3 'Prefactor '    3.5185       1.0000          .0000       .10000E+07
     4 'Prefactor '    14.692       1.0000          .0000       .10000E+07
     5 'Prefactor '    2.0022       1.0000         .10000E-03   10000.    
     6 'Prefactor '    3.4763       1.0000          .0000       .10000E+07
     7 'Prefactor '    41.003       1.0000          .0000       .10000E+07
     8 'Prefactor '    194.32       1.0000          .0000       .10000E+07
     9 'Prefactor '    6.2769       1.0000          .0000       .10000E+07
    10 'Prefactor '    12.671       1.0000          .0000       .10000E+07
    11 'Prefactor '    12.764       1.0000          .0000       .10000E+07
    12 'norm      '    .45277E-03   1.0000          .0000       .10000E+07
    13 'Prefactor '    16.538       1.0000          .0000       .10000E+07
    14 'norm      '    .49021E-03   1.0000          .0000       .10000E+07
    15 'Prefactor '    .20865E-05   1.0000          .0000       .10000E+07
    16 'Normalizat'    .83488       1.0000         .10000E-01   10.000    
    17 'Prefactor '    1.0044       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=   8301.107     FROM MIGRAD    STATUS=CONVERGED     88 CALLS     1231 TOTAL
                     EDM=   .35E-09  STRATEGY=1  ERROR MATRIX UNCERTAINTY=   .7%

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  norm           .0000        1.6300        .24523E-06** at limit **
   2  norm          3.0760        1.6246       -.32622E-07   -.11944E-02
   3  Prefactor     3.5211        1.0593       -.64466E-07    .11938E-02
   4  Prefactor     14.668        1.4280       -.78479E-07    .11495E-02
   5  Prefactor     2.0020        .25227       -.18413E-06    .44079E-02
   6  Prefactor     3.4785        7.2601        .31679E-05    .14798E-02
   7  Prefactor     40.556        24.461       -.48022E-06   -.18084E-01
   8  Prefactor     194.25        4.8237       -.85398E-07    .12651    
   9  Prefactor     6.3444        7.5266       -.17351E-05   -.65351E-02
  10  Prefactor     12.712        3.1310       -.13684E-06    .38884E-01
  11  Prefactor     12.573        10.661       -.65284E-06    .82676E-02
  12  norm          .39413E-08    5.2800       -.67356E-06** at limit **
  13  Prefactor     16.599        8.9256        .99443E-06   -.98909E-02
  14  norm          .28866E-08    5.7281        .72857E-06** at limit **
  15  Prefactor     .11102E-09    2.0183        .81246E-07** at limit **
  16  Normalizat    .83508        .24790        .12551E-05   -.86753E-04
  17  Prefactor     1.0045        .14069       -.10072E-05   -.27511E-03
                               ERR DEF=  .500    
Final values: 
  norm       = 0
  norm       = 3.076
  Prefactor  = 3.52106
  Prefactor  = 14.6684
  Prefactor  = 2.00201
  Prefactor  = 3.47851
  Prefactor  = 40.5559
  Prefactor  = 194.252
  Prefactor  = 6.34437
  Prefactor  = 12.7119
  Prefactor  = 12.5727
  norm       = 3.94129e-09
  Prefactor  = 16.5991
  norm       = 2.88658e-09
  Prefactor  = 1.11022e-10
  Normalizat = 0.835078
  Prefactor  = 1.00448
 **********
 **   18 **HESSE 
 **********

 FCN=   8301.107     FROM HESSE     STATUS=OK           261 CALLS     1492 TOTAL
                     EDM=   .25E-06    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  norm           .0000        1.6158        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   2  norm          3.0760        1.6446        .57811E-03   -1.5673    
   3  Prefactor     3.5211        23.252        .53870E-03   -1.5670    
   4  Prefactor     14.668        11.447        .26105E-03   -1.5631    
   5  Prefactor     2.0020        .25443        .34768E-02   -1.5425    
   6  Prefactor     3.4785        7.2983        .54210E-03   -1.5671    
   7  Prefactor     40.556        27.529        .15618E-03   -1.5581    
   8  Prefactor     194.25        48.951        .71744E-04   -1.5429    
   9  Prefactor     6.3444        8.7162        .40042E-03   -1.5658    
  10  Prefactor     12.712        11.678        .28115E-03   -1.5637    
  11  Prefactor     12.573        25.906        .28012E-03   -1.5637    
  12  norm          .39413E-08    5.3679        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  13  Prefactor     16.599        9.3649        .24601E-03   -1.5626    
  14  norm          .28866E-08    5.8685        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  15  Prefactor     .11102E-09    2.0169        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  16  Normalizat    .83508        .21910        .86618E-01   -.98780    
  17  Prefactor     1.0045        .12377        .44331E-01   -.92581    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 2.45852e-07
Minuit parameter uncertainties:
  1  9.09004e-06
  2  1.64462
  3  18.0967
  4  11.4467
  5  0.254432
  6  7.29833
  7  27.5291
  8  48.9514
  9  8.71626
  10  11.6777
  11  25.9061
  12  0.000290194
  13  9.36488
  14  0.000259332
  15  3.0119e-05
  16  0.219332
  17  0.123808
Done.

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

Extracting fit parameters...

4FGL J2318.2+1915
   Spectrum: PowerLaw
372    Prefactor:  6.344e+00  8.716e+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

GAL_V02
   Spectrum: PowerLaw
511    Prefactor:  1.004e+00  1.238e-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:  8.351e-01  2.193e-01  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Fixed Index): 0.86
Ra Dec: 349.557 19.256
Photon Flux Upper Limit: 1.58e-07 ph cm-2 s-1
Energy Flux Upper Limit: 1.24e-02 MeV cm-2 s-1

Saving results to:
/scratch/kocevski/255260/likelihoodResults_683596801_683856001_4FGL_J2318.2+1915_daily_bin1714.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) = 8300.29445074
delta logL = 0.812759639173

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

MINUIT Return Code (Free Index): 102
logL (Free Index) = 8300.28432862
delta logL = 0.822881754244

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'Prefactor '    .94954       1.0000          .0000       .10000E+07
     2 'Index     '    4.6444       1.0000          .0000       10.000    
     3 'Normalizat'    .74762       1.0000         .10000E-01   10.000    
     4 'Prefactor '    1.0406       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=   8300.284     FROM MIGRAD    STATUS=CONVERGED     56 CALLS      307 TOTAL
                     EDM=   .40E-09    STRATEGY= 1      ERR MATRIX NOT POS-DEF

  EXT PARAMETER                APPROXIMATE        STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor     .94124        9.4599        .42393E-03    .12258E-01
   2  Index         4.6496        2.9461        .17196        .15021E-03
   3  Normalizat    .74758        .57927E-01    .90955E-01    .39060E-04
   4  Prefactor     1.0406        .34471E-01    .40496E-01    .20461E-05
                               ERR DEF=  .500    
Final values: 
  Prefactor  = 0.941243
  Index      = 4.64962
  Normalizat = 0.747579
  Prefactor  = 1.04064
 **********
 **   18 **HESSE 
 **********

 FCN=   8300.284     FROM HESSE     STATUS=NOT POSDEF    33 CALLS      340 TOTAL
                     EDM=   .54E-06    STRATEGY= 1      ERR MATRIX NOT POS-DEF

  EXT PARAMETER                APPROXIMATE     INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  Prefactor     .94124        20.807        .57168E-05   -1.5689    
   2  Index         4.6496        7.2273        .58708E-02   -.70134E-01
   3  Normalizat    .74758        .21052        .40294E-03   -1.0204    
   4  Prefactor     1.0406        .12558        .20625E-03   -.91387    
                               ERR DEF=  .500    
Minuit fit quality: 2   estimated distance: 5.41997e-07
Minuit parameter uncertainties:
  1  8.8509
  2  6.08722
  3  0.210749
  4  0.125612
shell-init: error retrieving current directory: getcwd: cannot access parent directories: No such file or directory
rmdir: failed to remove `/scratch/kocevski/255260': 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) = 8300.28432635
delta logL = 0.822884024637

Extracting fit parameters...

4FGL J2318.2+1915
   Spectrum: PowerLaw
372    Prefactor:  9.412e-01  8.851e+00  0.000e+00  1.000e+06 ( 1.000e-12)
373        Index:  4.650e+00  6.087e+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:  1.041e+00  1.256e-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:  7.476e-01  2.107e-01  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Free Index): 2.74
Ra Dec: 349.557 19.256
Photon Index (Free Index): 4.65 +/- 6.09
Photon Flux (Free Index): 1.11e-07 +/- 7.60e-08
Energy Flux (Free Index): 1.53e-05 +/- 1.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/255260/cmap_HighResolution_683596801_683856001_4FGL_J2318.2+1915_daily_bin1714.png

Cleaning up...

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

Updating database...

UPDATE lightcurve_data_v2 SET energy_flux_upper_limit='1.24e-02', comment='SUCCESS', energy_flux2='1.53e-05', dlogl='8.23e-01', photon_flux2='1.11e-07', job_status='DONE', time_completed='2022-09-17 00:39:48.160891', photon_index_error2='6.09', photon_index2='4.65', ts='0.86', fit_tolerance='1e-08', GAL='1.00', photon_index_error='0.00', photon_flux_upper_limit='1.58e-07', energy_flux_error2='1.52e-05', EG='0.84', time_epoch_completed='1663400388.16', return_code='0', job_id='255260', GAL2='1.04', EG2='0.75', return_code2='102', photon_flux_error2='7.60e-08', ts2='2.74', photon_index='2.67' WHERE bin_id='1714' AND source_name='4FGL J2318.2+1915' AND cadence='daily';

Database successfully updated.


Analysis Complete.


Sat Sep 17 00:39:48 PDT 2022


------------------------------------------------------------
Sender: LSF System <lsf@bullet0191>
Subject: Job 255260: <4FGL_J2318.2+1915_daily_bin1714> in cluster <slac> Done

Job <4FGL_J2318.2+1915_daily_bin1714> was submitted from host <rhel6-64f> by user <kocevski> in cluster <slac> at Sat Sep 17 00:25:22 2022
Job was executed on host(s) <bullet0191>, in queue <medium>, as user <kocevski> in cluster <slac> at Sat Sep 17 00:29:38 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:38 2022
Terminated at Sat Sep 17 00:39:48 2022
Results reported at Sat Sep 17 00:39:48 2022

Your job looked like:

------------------------------------------------------------
# LSBATCH: User input
/nfs/farm/g/glast/g/LCRepository/Likelihood/Scripts/LikelihoodAnalysis.py 4FGL_J2318.2+1915_daily_bin1714 349.557 19.256 683596801 683856001 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 :                                   602.02 sec.
    Max Memory :                                 1256 MB
    Average Memory :                             399.90 MB
    Total Requested Memory :                     -
    Delta Memory :                               -
    Max Swap :                                   -
    Max Processes :                              5
    Max Threads :                                21
    Run time :                                   610 sec.
    Turnaround time :                            866 sec.

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

