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 5 seconds before starting...
Proceeding.

Importing modules...
This is make3FGLxml version 01r0.
The default diffuse model files and names are for pass 8 and assume you have v10r00p05 of the Fermi Science Tools or higher.
This is make4FGLDR3xml version 01r09.
The default diffuse model files and names are for P8R3, 4FGL DRs, and the default fermitools directory locations.

WARNING: version mismatch between CFITSIO header (v3.43) and linked library (v3.41).

/nfs/farm/g/glast/g/LCRepository/bin/miniconda2/envs/fermitools_v1.0.5/lib/python2.7/site-packages/matplotlib/cbook/deprecation.py:106: MatplotlibDeprecationWarning: The mpl_toolkits.axes_grid module was deprecated in version 2.1. Use mpl_toolkits.axes_grid1 and mpl_toolkits.axisartist provies the same functionality instead.
  warnings.warn(message, mplDeprecation, stacklevel=1)

WARNING: version mismatch between CFITSIO header (v3.43) and linked library (v3.41).

number of points = 7460
number of fields = 31
RA_SUN column already exists. File will not be modified.
Done.


Performing analysis on: 4FGL_J2318.2+1915_daily_bin1772
RA = 349.557, Dec = 19.256
tmin = 698630401, tmax = 698889601
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='654755', job_status='RUN', time_executed='2023-02-24 03:05:30.770337', time_epoch_executed='1677236730.77' WHERE source_name='4FGL J2318.2+1915' and cadence='daily' and bin_id='1772'

Database successfully updated.
Done.

Creating custom output directory:
/scratch/kocevski/654755

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

Retrieving the FT1 file...

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

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

Retrieving 46 files...
Done.


Merging files...

Checksum keywords updated successfully.

Merged file saved to:
/scratch/kocevski/654755/ft1_4FGL_J2318.2+1915_daily_bin1772.fits


Retrieving the FT1 file...

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

Retrieving 46 files...
Done.


Merging files...

Merged file saved to:
/scratch/kocevski/654755/ft2_4FGL_J2318.2+1915_daily_bin1772.fits


Selecting the photons:
time -p gtselect infile=/scratch/kocevski/654755/ft1_4FGL_J2318.2+1915_daily_bin1772.fits outfile=/scratch/kocevski/654755/ft1_filteredMKT_4FGL_J2318.2+1915_daily_bin1772.fits ra=349.557 dec=19.256 rad=12.0 tmin=698630401.0 tmax=698889601.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.10
user 2.84
sys 0.18

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

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

Number of photons that the gtmktime cut: 969

Generating the livetime cube:
time -p gtltcube evfile="/scratch/kocevski/654755/ft1_filtered_4FGL_J2318.2+1915_daily_bin1772.fits" evtable="EVENTS" scfile=/scratch/kocevski/654755/ft2_4FGL_J2318.2+1915_daily_bin1772.fits sctable="SC_DATA" outfile=/scratch/kocevski/654755/ltcube_698630401_698889601_4FGL_J2318.2+1915_daily_bin1772.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/654755/ft2_4FGL_J2318.2+1915_daily_bin1772.fits
.....................!
real 12.24
user 11.90
sys 0.31

Generating the exposure map:
time -p gtexpmap evfile=/scratch/kocevski/654755/ft1_filtered_4FGL_J2318.2+1915_daily_bin1772.fits evtable="EVENTS" scfile=/scratch/kocevski/654755/ft2_4FGL_J2318.2+1915_daily_bin1772.fits sctable="SC_DATA" expcube=/scratch/kocevski/654755/ltcube_698630401_698889601_4FGL_J2318.2+1915_daily_bin1772.fits outfile=/scratch/kocevski/654755/expmap_698630401_698889601_4FGL_J2318.2+1915_daily_bin1772.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/654755/ltcube_698630401_698889601_4FGL_J2318.2+1915_daily_bin1772.fits
.....................!
real 189.84
user 185.41
sys 3.99

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/654755/ft1_filtered_4FGL_J2318.2+1915_daily_bin1772.fits scfile=/scratch/kocevski/654755/ft2_4FGL_J2318.2+1915_daily_bin1772.fits outfile=/scratch/kocevski/654755/cmap_698630401_698889601_4FGL_J2318.2+1915_daily_bin1772.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.53
user 0.38
sys 0.14

Creating the high resolution counts map:
time -p gtbin evfile=/scratch/kocevski/654755/ft1_filtered_4FGL_J2318.2+1915_daily_bin1772.fits scfile=/scratch/kocevski/654755/ft2_4FGL_J2318.2+1915_daily_bin1772.fits outfile=/scratch/kocevski/654755/cmap_HighResolution_698630401_698889601_4FGL_J2318.2+1915_daily_bin1772.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.40
sys 0.14

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

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

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

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

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'norm      '    .47135E-06   1.0000          .0000       .10000E+07
     2 'norm      '    1.3691       1.0000          .0000       .10000E+07
     3 'Prefactor '    .25907E-02   1.0000          .0000       .10000E+07
     4 'Prefactor '    9.0576       1.0000          .0000       .10000E+07
     5 'Prefactor '    2.2167       1.0000         .10000E-03   10000.    
     6 'Prefactor '    4.0375       1.0000          .0000       .10000E+07
     7 'Prefactor '    .16129E-02   1.0000          .0000       .10000E+07
     8 'Prefactor '    4.1848       1.0000          .0000       .10000E+07
     9 'Prefactor '    .42869E-02   1.0000          .0000       .10000E+07
    10 'Prefactor '    .43400E-03   1.0000          .0000       .10000E+07
    11 'Prefactor '    10.174       1.0000          .0000       .10000E+07
    12 'norm      '    2.5506       1.0000          .0000       .10000E+07
    13 'Prefactor '    4.4360       1.0000          .0000       .10000E+07
    14 'norm      '    .87208E-07   1.0000          .0000       .10000E+07
    15 'Prefactor '    .10059E-03   1.0000          .0000       .10000E+07
    16 'Normalizat'    1.2861       1.0000         .10000E-01   10.000    
    17 'Prefactor '    1.0267       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=   10636.04     FROM MIGRAD    STATUS=CONVERGED    121 CALLS      970 TOTAL
                     EDM=   .72E-10  STRATEGY=1  ERROR MATRIX UNCERTAINTY=  4.7%

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  norm           .0000        1.1210       -.99291E-07** at limit **
   2  norm          1.3707        1.1427        .98880E-07    .69702E-03
   3  Prefactor     .33307E-09    9.2633       -.70640E-06** at limit **
   4  Prefactor     9.0661        9.4559       -.43312E-06   -.65899E-02
   5  Prefactor     2.2168        .26942        .38222E-06    .10361E-03
   6  Prefactor     4.0308        4.3954       -.26504E-06   -.34592E-03
   7  Prefactor     .22898E-06    16.462       -.16148E-06** at limit **
   8  Prefactor     4.2448        5.3056       -.35319E-06    .44141E-02
   9  Prefactor     .10431E-06    15.444       -.80988E-06** at limit **
  10  Prefactor      .0000        3.8913       -.45455E-06** at limit **
  11  Prefactor     11.322        14.467       -.16635E-06    .25527E-01
  12  norm          2.6010        7.5011        .20708E-06   -.21896E-03
  13  Prefactor     4.4701        9.3598        .34430E-06    .96540E-03
  14  norm           .0000        5.3465        .79075E-07** at limit **
  15  Prefactor     .75606E-07    35.946       -.10322E-05** at limit **
  16  Normalizat    1.2833        .23573       -.15362E-04    .16609E-04
  17  Prefactor     1.0272        .13115        .55378E-05    .24200E-04
                               ERR DEF=  .500    
Final values: 
  norm       = 0
  norm       = 1.3707
  Prefactor  = 3.33067e-10
  Prefactor  = 9.06606
  Prefactor  = 2.21682
  Prefactor  = 4.03079
  Prefactor  = 2.28983e-07
  Prefactor  = 4.24481
  Prefactor  = 1.04305e-07
  Prefactor  = 0
  Prefactor  = 11.3219
  norm       = 2.60103
  Prefactor  = 4.47012
  norm       = 0
  Prefactor  = 7.56062e-08
  Normalizat = 1.2833
  Prefactor  = 1.02723
 **********
 **   18 **HESSE 
 **********

 FCN=   10636.04     FROM HESSE     STATUS=OK           259 CALLS     1229 TOTAL
                     EDM=   .21E-06    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  norm           .0000        1.1223        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   2  norm          1.3707        1.1421        .93165E-03   -1.5685    
   3  Prefactor     .33307E-09    9.2738        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   4  Prefactor     9.0661        10.674        .33278E-03   -1.5648    
   5  Prefactor     2.2168        .26945        .40187E-02   -1.5410    
   6  Prefactor     4.0308        4.3860        .50160E-03   -1.5668    
   7  Prefactor     .22898E-06    20.917        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   8  Prefactor     4.2448        10.961        .49241E-03   -1.5667    
   9  Prefactor     .10431E-06    17.375        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  10  Prefactor      .0000        3.8931        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  11  Prefactor     11.322        23.443        .31389E-03   -1.5641    
  12  norm          2.6010        7.6251        .63907E-03   -1.5676    
  13  Prefactor     4.4701        9.4684        .47788E-03   -1.5666    
  14  norm           .0000        5.3447        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  15  Prefactor     .75606E-07    35.993        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  16  Normalizat    1.2833        .20342        .78421E-01   -.84066    
  17  Prefactor     1.0272        .11174        .41526E-01   -.91827    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 2.08818e-07
Minuit parameter uncertainties:
  1  1.16349e-06
  2  1.14208
  3  0.000109786
  4  10.6741
  5  0.269445
  6  4.38605
  7  0.00437706
  8  10.9614
  9  0.00269238
  10  9.21271e-07
  11  23.4437
  12  7.62513
  13  9.46847
  14  1.03917e-05
  15  0.00329937
  16  0.203545
  17  0.111764
Done.

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

Extracting fit parameters...

4FGL J2318.2+1915
   Spectrum: PowerLaw
372    Prefactor:  1.043e-07  2.692e-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:  1.027e+00  1.118e-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.283e+00  2.035e-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.27e-07 ph cm-2 s-1
Energy Flux Upper Limit: 9.98e-03 MeV cm-2 s-1

Saving results to:
/scratch/kocevski/654755/likelihoodResults_698630401_698889601_4FGL_J2318.2+1915_daily_bin1772.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) = 10635.2544176
delta logL = 0.786905778146

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

MINUIT Return Code (Free Index): 102
logL (Free Index) = 10635.1831214
delta logL = 0.858201917727

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'Prefactor '    .30228E-02   1.0000          .0000       .10000E+07
     2 'Index     '    8.1122       1.0000          .0000       10.000    
     3 'Normalizat'    1.1755       1.0000         .10000E-01   10.000    
     4 'Prefactor '    1.0678       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=   10636.04     FROM MIGRAD    STATUS=CONVERGED     53 CALLS      458 TOTAL
                     EDM=   .51E-11  STRATEGY=1  ERROR MATRIX UNCERTAINTY=  2.4%

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor      .0000        7.2886       -.78591E-07** at limit **
   2  Index         2.4515        .97168E-01   -.95749E-07     .0000    
   3  Normalizat    1.2833        .22920        .59037E-05   -.27846E-04
   4  Prefactor     1.0272        .13019       -.28361E-05    .26297E-04
                               ERR DEF=  .500    
Final values: 
  Prefactor  = 0
  Index      = 2.45153
  Normalizat = 1.28331
  Prefactor  = 1.02723
 **********
 **   18 **HESSE 
 **********
  MNHESS FAILS AND WILL RETURN DIAGONAL MATRIX. 

 FCN=   10636.04     FROM HESSE     STATUS=FAILED        11 CALLS      469 TOTAL
                     EDM=   .51E-11  STRATEGY=1  ERROR MATRIX UNCERTAINTY=100.0%

  EXT PARAMETER                APPROXIMATE     INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  Prefactor      .0000        7.2906        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   2  Index         4.8759        2.3355       -.95749E-07   -46.589    
   3  Normalizat    1.2833        1.1587        .59037E-05   -2.3009    
   4  Prefactor     1.0272        1.1532       -.28361E-05   -2.2233    
                               ERR DEF=  .500    
Minuit fit quality: 1   estimated distance: 5.08419e-12
Minuit parameter uncertainties:
  1  1.41646e-05
  2  1.13902
  3  1.18345
  4  1.18288
shell-init: error retrieving current directory: getcwd: cannot access parent directories: No such file or directory
rmdir: failed to remove `/scratch/kocevski/654755': 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): 101
logL (Free Index) = 10636.0413233
delta logL = 2.9758666642e-09

Extracting fit parameters...

4FGL J2318.2+1915
   Spectrum: PowerLaw
372    Prefactor:  0.000e+00  1.416e-05  0.000e+00  1.000e+06 ( 1.000e-12)
373        Index:  2.452e+00  1.139e+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.027e+00  1.183e+00  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.283e+00  1.183e+00  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/654755/cmap_HighResolution_698630401_698889601_4FGL_J2318.2+1915_daily_bin1772.png

Cleaning up...

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

Updating database...

UPDATE lightcurve_data_v2 SET energy_flux_upper_limit='9.98e-03', job_status='DONE', photon_flux_upper_limit='1.27e-07', time_completed='2023-02-24 03:16:17.862298', job_id='654755', GAL2='1.03', fit_tolerance='1e-08', EG2='1.28', EG='1.28', time_epoch_completed='1677237377.86', return_code2='101', ts='-0.00', comment='SUCCESS', return_code='0', GAL='1.03', dlogl='2.98e-09', ts2='0.00', photon_index_error='0.00', photon_index='2.67' WHERE bin_id='1772' AND source_name='4FGL J2318.2+1915' AND cadence='daily';

Database successfully updated.


Analysis Complete.


Fri Feb 24 03:16:17 PST 2023


------------------------------------------------------------
Sender: LSF System <lsf@bullet0252>
Subject: Job 654755: <4FGL_J2318.2+1915_daily_bin1772> in cluster <slac> Done

Job <4FGL_J2318.2+1915_daily_bin1772> was submitted from host <rhel6-64j> by user <kocevski> in cluster <slac> at Fri Feb 24 03:05:15 2023
Job was executed on host(s) <bullet0252>, in queue <medium>, as user <kocevski> in cluster <slac> at Fri Feb 24 03:05:16 2023
</u/ki/kocevski> was used as the home directory.
</u/ki/kocevski> was used as the working directory.
Started at Fri Feb 24 03:05:16 2023
Terminated at Fri Feb 24 03:16:18 2023
Results reported at Fri Feb 24 03:16:18 2023

Your job looked like:

------------------------------------------------------------
# LSBATCH: User input
/nfs/farm/g/glast/g/LCRepository/Likelihood/Scripts/LikelihoodAnalysis.py 4FGL_J2318.2+1915_daily_bin1772 349.557 19.256 698630401 698889601 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 :                                   649.00 sec.
    Max Memory :                                 1227 MB
    Average Memory :                             392.23 MB
    Total Requested Memory :                     -
    Delta Memory :                               -
    Max Swap :                                   -
    Max Processes :                              5
    Max Threads :                                21
    Run time :                                   662 sec.
    Turnaround time :                            663 sec.

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

