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 157 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 make4FGLxml version 01r04.
The default diffuse model files and names are for pass 8 and 4FGL and assume you have v11r5p3 of the Fermi Science Tools or higher.

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


Performing analysis on: 4FGL_J2318.2+1915_daily_bin1699
RA = 349.557, Dec = 19.256
tmin = 679708801, tmax = 679968001
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='1461', job_status='RUN', time_executed='2022-07-20 00:38:33.566426', time_epoch_executed='1658302713.57' WHERE source_name='4FGL J2318.2+1915' and cadence='daily' and bin_id='1699'

Database successfully updated.
Done.

Creating custom output directory:
/scratch/kocevski/1461

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

Retrieving the FT1 file...

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

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

Retrieving 46 files...
Done.


Merging files...

Checksum keywords updated successfully.

Merged file saved to:
/scratch/kocevski/1461/ft1_4FGL_J2318.2+1915_daily_bin1699.fits


Retrieving the FT1 file...

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

Retrieving 46 files...
Done.


Merging files...

Merged file saved to:
/scratch/kocevski/1461/ft2_4FGL_J2318.2+1915_daily_bin1699.fits


Selecting the photons:
time -p gtselect infile=/scratch/kocevski/1461/ft1_4FGL_J2318.2+1915_daily_bin1699.fits outfile=/scratch/kocevski/1461/ft1_filteredMKT_4FGL_J2318.2+1915_daily_bin1699.fits ra=349.557 dec=19.256 rad=12.0 tmin=679708801.0 tmax=679968001.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.80
user 3.56
sys 0.22

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

Selecting the good time intervals:
time -p gtmktime scfile=/scratch/kocevski/1461/ft2_4FGL_J2318.2+1915_daily_bin1699.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/1461/ft1_filteredMKT_4FGL_J2318.2+1915_daily_bin1699.fits evtable="EVENTS" outfile="/scratch/kocevski/1461/ft1_filtered_4FGL_J2318.2+1915_daily_bin1699.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.48
user 0.32
sys 0.15

Number of photons that the gtmktime cut: 871

Generating the livetime cube:
time -p gtltcube evfile="/scratch/kocevski/1461/ft1_filtered_4FGL_J2318.2+1915_daily_bin1699.fits" evtable="EVENTS" scfile=/scratch/kocevski/1461/ft2_4FGL_J2318.2+1915_daily_bin1699.fits sctable="SC_DATA" outfile=/scratch/kocevski/1461/ltcube_679708801_679968001_4FGL_J2318.2+1915_daily_bin1699.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/1461/ft2_4FGL_J2318.2+1915_daily_bin1699.fits
.....................!
real 11.78
user 11.43
sys 0.32

Generating the exposure map:
time -p gtexpmap evfile=/scratch/kocevski/1461/ft1_filtered_4FGL_J2318.2+1915_daily_bin1699.fits evtable="EVENTS" scfile=/scratch/kocevski/1461/ft2_4FGL_J2318.2+1915_daily_bin1699.fits sctable="SC_DATA" expcube=/scratch/kocevski/1461/ltcube_679708801_679968001_4FGL_J2318.2+1915_daily_bin1699.fits outfile=/scratch/kocevski/1461/expmap_679708801_679968001_4FGL_J2318.2+1915_daily_bin1699.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/1461/ltcube_679708801_679968001_4FGL_J2318.2+1915_daily_bin1699.fits
.....................!
real 189.18
user 184.58
sys 4.27

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/1461/ft1_filtered_4FGL_J2318.2+1915_daily_bin1699.fits scfile=/scratch/kocevski/1461/ft2_4FGL_J2318.2+1915_daily_bin1699.fits outfile=/scratch/kocevski/1461/cmap_679708801_679968001_4FGL_J2318.2+1915_daily_bin1699.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.50
user 0.36
sys 0.12

Creating the high resolution counts map:
time -p gtbin evfile=/scratch/kocevski/1461/ft1_filtered_4FGL_J2318.2+1915_daily_bin1699.fits scfile=/scratch/kocevski/1461/ft2_4FGL_J2318.2+1915_daily_bin1699.fits outfile=/scratch/kocevski/1461/cmap_HighResolution_679708801_679968001_4FGL_J2318.2+1915_daily_bin1699.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.15

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

Creating the likelihood object...
obs = UnbinnedObs('/scratch/kocevski/1461/ft1_filtered_4FGL_J2318.2+1915_daily_bin1699.fits', '/scratch/kocevski/1461/ft2_4FGL_J2318.2+1915_daily_bin1699.fits', expMap='/scratch/kocevski/1461/expmap_679708801_679968001_4FGL_J2318.2+1915_daily_bin1699.fits', expCube='/scratch/kocevski/1461/ltcube_679708801_679968001_4FGL_J2318.2+1915_daily_bin1699.fits', irfs='P8R3_SOURCE_V2')
like = UnbinnedAnalysis(obs, '/scratch/kocevski/1461/Model_4FGL_J2318.2+1915_daily_bin1699.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  1.000e-04  1.000e+04 ( 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/1461/ft1_filtered_4FGL_J2318.2+1915_daily_bin1699.fits
Spacecraft file(s): /scratch/kocevski/1461/ft2_4FGL_J2318.2+1915_daily_bin1699.fits
Exposure map: /scratch/kocevski/1461/expmap_679708801_679968001_4FGL_J2318.2+1915_daily_bin1699.fits
Exposure cube: /scratch/kocevski/1461/ltcube_679708801_679968001_4FGL_J2318.2+1915_daily_bin1699.fits
IRFs: P8R3_SOURCE_V2
Source model file: /scratch/kocevski/1461/Model_4FGL_J2318.2+1915_daily_bin1699.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) = 9440.38024669

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

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

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'norm      '    .48551       1.0000         .10000E-03   10000.    
     2 'norm      '    .10074E-03   1.0000         .10000E-03   10000.    
     3 'Prefactor '    18.743       1.0000         .10000E-03   10000.    
     4 'Prefactor '    38.347       1.0000         .10000E-03   10000.    
     5 'Prefactor '    .10025E-03   1.0000         .10000E-03   10000.    
     6 'Prefactor '    1.6300       1.0000         .10000E-03   10000.    
     7 'Prefactor '    2.1444       1.0000         .10000E-03   10000.    
     8 'Prefactor '    5.5426       1.0000         .10000E-03   10000.    
     9 'Prefactor '    .10025E-03   1.0000         .10000E-03   10000.    
    10 'Prefactor '    2.4066       1.0000         .10000E-03   10000.    
    11 'Prefactor '    .11380E-03   1.0000         .10000E-03   10000.    
    12 'Prefactor '    1.8243       1.0000         .10000E-03   10000.    
    13 'Prefactor '    6.3780       1.0000         .10000E-03   10000.    
    14 'Prefactor '    20.007       1.0000         .10000E-03   10000.    
    15 'norm      '    2.7925       1.0000         .10000E-03   10000.    
    16 'Prefactor '    .11135E-03   1.0000         .10000E-03   10000.    
    17 'norm      '    .10090E-03   1.0000         .10000E-03   10000.    
    18 'Prefactor '    .10009E-03   1.0000         .10000E-03   10000.    
    19 'Normalizat'    1.2630       1.0000         .10000E-01   10.000    
    20 'Prefactor '    .86325       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.

 MIGRAD MINIMIZATION HAS CONVERGED.

 FCN=   9440.319     FROM MIGRAD    STATUS=CONVERGED    436 CALLS     2091 TOTAL
                     EDM=   .99E-09  STRATEGY=1  ERROR MATRIX UNCERTAINTY=  3.1%

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  norm          .48186        1.6741        .43796E-06   -.42027E-03
   2  norm          .10000E-03    1.3122        .60390E-07** at limit **
   3  Prefactor     18.624        28.548       -.44240E-05   -.38018E-03
   4  Prefactor     38.350        14.848        .25199E-06    .44526E-04
   5  Prefactor     .10000E-03    7.4734       -.10785E-06** at limit **
   6  Prefactor     1.6303        .22796        .17163E-07   -.16472E-02
   7  Prefactor     2.1435        4.7505        .47043E-06   -.13117E-03
   8  Prefactor     5.5412        6.0732        .36567E-05   -.10555E-02
   9  Prefactor     .10000E-03    4.4647       -.89202E-07** at limit **
  10  Prefactor     2.3199        49.433        .11832E-04    .17928E-03
  11  Prefactor     .10000E-03    47.673        .48494E-06** at limit **
  12  Prefactor     1.8205        6.3870        .18393E-05   -.55892E-04
  13  Prefactor     6.3839        8.9403       -.32052E-06   -.16077E-03
  14  Prefactor     20.007        20.288       -.55177E-06   -.11999E-03
  15  norm          2.7827        8.7996        .13331E-05   -.88147E-05
  16  Prefactor     .10000E-03    3.5851       -.18183E-07** at limit **
  17  norm          .10000E-03    20.678       -.10442E-06** at limit **
  18  Prefactor     .10000E-03    3.0016       -.43239E-07** at limit **
  19  Normalizat    1.2629        .20284       -.18500E-05   -.16884E-03
  20  Prefactor     .86333        .10908       -.66111E-07   -.36470E-03
                               ERR DEF=  .500    
Final values: 
  norm       = 0.481858
  norm       = 0.0001
  Prefactor  = 18.6237
  Prefactor  = 38.3504
  Prefactor  = 0.0001
  Prefactor  = 1.63032
  Prefactor  = 2.14352
  Prefactor  = 5.54117
  Prefactor  = 0.0001
  Prefactor  = 2.31986
  Prefactor  = 0.000100001
  Prefactor  = 1.82049
  Prefactor  = 6.38386
  Prefactor  = 20.0066
  norm       = 2.78267
  Prefactor  = 0.0001
  norm       = 0.0001
  Prefactor  = 0.0001
  Normalizat = 1.2629
  Prefactor  = 0.863327
 **********
 **   18 **HESSE 
 **********

 FCN=   9440.319     FROM HESSE     STATUS=OK           295 CALLS     2386 TOTAL
                     EDM=   .23E-08    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  norm          .48186        5.0550        .21651E-02   -1.5569    
   2  norm          .10000E-03    2.7566        .20819E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   3  Prefactor     18.624        29.585        .92512E-04   -1.4845    
   4  Prefactor     38.350        14.340        .64724E-04   -1.4469    
   5  Prefactor     .10000E-03    7.4828        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   6  Prefactor     1.6303        .22939        .16144E-04   -1.5453    
   7  Prefactor     2.1435        4.7241        .28143E-03   -1.5415    
   8  Prefactor     5.5412        6.3255        .85327E-03   -1.5237    
   9  Prefactor     .10000E-03    4.4733        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  10  Prefactor     2.3199        52.510        .26392E-03   -1.5403    
  11  Prefactor     .10000E-03    48.241        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  12  Prefactor     1.8205        6.2705        .30910E-03   -1.5438    
  13  Prefactor     6.3839        8.8832        .15893E-03   -1.5203    
  14  Prefactor     20.007        20.077        .89545E-04   -1.4813    
  15  norm          2.7827        8.7270        .24347E-03   -1.5374    
  16  Prefactor     .10000E-03    3.6068        .17921E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  17  norm          .10000E-03    21.158        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  18  Prefactor     .10000E-03    3.0189        .16433E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  19  Normalizat    1.2629        .23753        .31960E-03   -.84681    
  20  Prefactor     .86333        .12816        .21598E-03   -.97435    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 2.31733e-09
Minuit parameter uncertainties:
  1  3.12143
  2  7.87324e-07
  3  29.6081
  4  14.3408
  5  2.6867e-07
  6  0.229388
  7  4.72488
  8  6.32621
  9  2.15618e-06
  10  22.0955
  11  0.000486323
  12  6.27281
  13  8.88507
  14  20.0833
  15  8.73101
  16  4.94131e-06
  17  4.04638e-05
  18  5.45897e-06
  19  0.237736
  20  0.1282
Done.

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

Extracting fit parameters...

4FGL J2318.2+1915
   Spectrum: PowerLaw
372    Prefactor:  1.820e+00  6.273e+00  1.000e-04  1.000e+04 ( 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:  8.633e-01  1.282e-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.263e+00  2.377e-01  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Fixed Index): 0.11
Ra Dec: 349.557 19.256
Photon Flux Upper Limit: 1.16e-07 ph cm-2 s-1
Energy Flux Upper Limit: 9.13e-03 MeV cm-2 s-1

Saving results to:
/scratch/kocevski/1461/likelihoodResults_679708801_679968001_4FGL_J2318.2+1915_daily_bin1699.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) = 9440.20431035
delta logL = 0.115070984279

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

MINUIT Return Code (Free Index): 102
logL (Free Index) = 9440.07951589
delta logL = 0.239865442074

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'Prefactor '    .43181E-01   1.0000         .10000E-03   10000.    
     2 'Index     '    6.0596       1.0000          .0000       10.000    
     3 'Normalizat'    1.2204       1.0000         .10000E-01   10.000    
     4 'Prefactor '    .88134       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=   9440.079     FROM MIGRAD    STATUS=CONVERGED     64 CALLS      264 TOTAL
                     EDM=   .27E-08    STRATEGY= 1      ERR MATRIX NOT POS-DEF

  EXT PARAMETER                APPROXIMATE        STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor     .39713E-01    .60032        .57872E-02    .11134E-01
   2  Index         6.1131        2.9564        .20632        .18550E-03
   3  Normalizat    1.2204        .29432E-01    .73255E-01   -.68923E-04
   4  Prefactor     .88128        .16882E-01    .44767E-01    .18512E-03
                               ERR DEF=  .500    
Final values: 
  Prefactor  = 0.0397127
  Index      = 6.11306
  Normalizat = 1.22042
  Prefactor  = 0.881278
 **********
 **   18 **HESSE 
 **********

 FCN=   9440.079     FROM HESSE     STATUS=NOT POSDEF    33 CALLS      297 TOTAL
                     EDM=   .17E-08    STRATEGY= 1      ERR MATRIX NOT POS-DEF

  EXT PARAMETER                APPROXIMATE     INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  Prefactor     .39713E-01    3.7566        .25814E-04   -1.5668    
   2  Index         6.1131        7.6390        .10856E-01    .22449    
   3  Normalizat    1.2204        .16657        .32417E-03   -.85974    
   4  Prefactor     .88128        .93821E-01    .21401E-03   -.96798    
                               ERR DEF=  .500    
Minuit fit quality: 2   estimated distance: 1.70713e-09
Minuit parameter uncertainties:
  1  0.771568
  2  11.6091
  3  0.166646
  4  0.0938385
shell-init: error retrieving current directory: getcwd: cannot access parent directories: No such file or directory
rmdir: failed to remove `/scratch/kocevski/1461': 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) = 9440.07949514
delta logL = 0.239886198624

Extracting fit parameters...

4FGL J2318.2+1915
   Spectrum: PowerLaw
372    Prefactor:  3.971e-02  7.716e-01  1.000e-04  1.000e+04 ( 1.000e-12)
373        Index:  6.113e+00  1.161e+01  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:  8.813e-01  9.384e-02  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.220e+00  1.666e-01  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Free Index): 0.11
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/1461/cmap_HighResolution_679708801_679968001_4FGL_J2318.2+1915_daily_bin1699.png

Cleaning up...

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

Updating database...

UPDATE lightcurve_data_v2 SET energy_flux_upper_limit='9.13e-03', job_status='DONE', photon_flux_upper_limit='1.16e-07', time_completed='2022-07-20 00:50:46.679145', job_id='1461', GAL2='0.88', fit_tolerance='1e-08', EG2='1.22', EG='1.26', time_epoch_completed='1658303446.68', return_code2='102', ts='0.11', comment='SUCCESS', return_code='0', GAL='0.86', dlogl='2.40e-01', ts2='0.65', photon_index_error='0.00', photon_index='2.67' WHERE bin_id='1699' AND source_name='4FGL J2318.2+1915' AND cadence='daily';

Database successfully updated.


Analysis Complete.


Wed Jul 20 00:50:46 PDT 2022


------------------------------------------------------------
Sender: LSF System <lsf@bullet0110>
Subject: Job 1461: <4FGL_J2318.2+1915_daily_bin1699> in cluster <slac> Done

Job <4FGL_J2318.2+1915_daily_bin1699> was submitted from host <rhel6-64p> by user <kocevski> in cluster <slac> at Wed Jul 20 00:35:46 2022
Job was executed on host(s) <bullet0110>, in queue <medium>, as user <kocevski> in cluster <slac> at Wed Jul 20 00:35:48 2022
</u/ki/kocevski> was used as the home directory.
</u/ki/kocevski> was used as the working directory.
Started at Wed Jul 20 00:35:48 2022
Terminated at Wed Jul 20 00:50:47 2022
Results reported at Wed Jul 20 00:50:47 2022

Your job looked like:

------------------------------------------------------------
# LSBATCH: User input
/nfs/farm/g/glast/g/LCRepository/Likelihood/Scripts/LikelihoodAnalysis.py 4FGL_J2318.2+1915_daily_bin1699 349.557 19.256 679708801 679968001 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 :                                   735.00 sec.
    Max Memory :                                 1094 MB
    Average Memory :                             297.59 MB
    Total Requested Memory :                     -
    Delta Memory :                               -
    Max Swap :                                   -
    Max Processes :                              5
    Max Threads :                                21
    Run time :                                   898 sec.
    Turnaround time :                            901 sec.

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

