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


Performing analysis on: 4FGL_J2318.2+1915_daily_bin1666
RA = 349.557, Dec = 19.256
tmin = 671155201, tmax = 671414401
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='414577', job_status='RUN', time_executed='2022-04-12 00:39:40.297863', time_epoch_executed='1649749180.3' WHERE source_name='4FGL J2318.2+1915' and cadence='daily' and bin_id='1666'

Database successfully updated.
Done.

Creating custom output directory:
/scratch/kocevski/414577

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

Retrieving the FT1 file...

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

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

Retrieving 46 files...
Done.


Merging files...

Checksum keywords updated successfully.

Merged file saved to:
/scratch/kocevski/414577/ft1_4FGL_J2318.2+1915_daily_bin1666.fits


Retrieving the FT1 file...

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

Retrieving 46 files...
Done.


Merging files...

Merged file saved to:
/scratch/kocevski/414577/ft2_4FGL_J2318.2+1915_daily_bin1666.fits


Selecting the photons:
time -p gtselect infile=/scratch/kocevski/414577/ft1_4FGL_J2318.2+1915_daily_bin1666.fits outfile=/scratch/kocevski/414577/ft1_filteredMKT_4FGL_J2318.2+1915_daily_bin1666.fits ra=349.557 dec=19.256 rad=12.0 tmin=671155201.0 tmax=671414401.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 5.24
user 4.95
sys 0.24

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

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

Generating the livetime cube:
time -p gtltcube evfile="/scratch/kocevski/414577/ft1_filtered_4FGL_J2318.2+1915_daily_bin1666.fits" evtable="EVENTS" scfile=/scratch/kocevski/414577/ft2_4FGL_J2318.2+1915_daily_bin1666.fits sctable="SC_DATA" outfile=/scratch/kocevski/414577/ltcube_671155201_671414401_4FGL_J2318.2+1915_daily_bin1666.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/414577/ft2_4FGL_J2318.2+1915_daily_bin1666.fits
.....................!
real 11.71
user 11.36
sys 0.33

Generating the exposure map:
time -p gtexpmap evfile=/scratch/kocevski/414577/ft1_filtered_4FGL_J2318.2+1915_daily_bin1666.fits evtable="EVENTS" scfile=/scratch/kocevski/414577/ft2_4FGL_J2318.2+1915_daily_bin1666.fits sctable="SC_DATA" expcube=/scratch/kocevski/414577/ltcube_671155201_671414401_4FGL_J2318.2+1915_daily_bin1666.fits outfile=/scratch/kocevski/414577/expmap_671155201_671414401_4FGL_J2318.2+1915_daily_bin1666.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/414577/ltcube_671155201_671414401_4FGL_J2318.2+1915_daily_bin1666.fits
.....................!
real 189.78
user 185.10
sys 4.36

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/414577/ft1_filtered_4FGL_J2318.2+1915_daily_bin1666.fits scfile=/scratch/kocevski/414577/ft2_4FGL_J2318.2+1915_daily_bin1666.fits outfile=/scratch/kocevski/414577/cmap_671155201_671414401_4FGL_J2318.2+1915_daily_bin1666.fits algorithm="CMAP" ebinalg="LOG" emin=30.0 emax=200000.0 ebinfile=NONE tbinalg="LIN" tbinfile=NONE nxpix=160 nypix=160 binsz=0.25 coordsys="CEL" xref=349.557 yref=19.256 axisrot=0.0 rafield="RA" decfield="DEC" proj="AIT" hpx_ordering_scheme="RING" hpx_order=3 hpx_ebin=yes hpx_region="" evtable="EVENTS" sctable="SC_DATA" efield="ENERGY" tfield="TIME" chatter=2 clobber=yes debug=no gui=no mode="ql"

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

This is gtbin version HEAD
real 0.55
user 0.38
sys 0.14

Creating the high resolution counts map:
time -p gtbin evfile=/scratch/kocevski/414577/ft1_filtered_4FGL_J2318.2+1915_daily_bin1666.fits scfile=/scratch/kocevski/414577/ft2_4FGL_J2318.2+1915_daily_bin1666.fits outfile=/scratch/kocevski/414577/cmap_HighResolution_671155201_671414401_4FGL_J2318.2+1915_daily_bin1666.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.39
sys 0.15

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

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

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

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

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'norm      '    2.3010       1.0000         .10000E-03   10000.    
     2 'norm      '    4.2134       1.0000         .10000E-03   10000.    
     3 'Prefactor '    17.451       1.0000         .10000E-03   10000.    
     4 'Prefactor '    2.5919       1.0000         .10000E-03   10000.    
     5 'Prefactor '    .65921       1.0000         .10000E-03   10000.    
     6 'Prefactor '    .30058       1.0000         .10000E-03   10000.    
     7 'Prefactor '    12.170       1.0000         .10000E-03   10000.    
     8 'Prefactor '    .10061E-03   1.0000         .10000E-03   10000.    
     9 'Prefactor '    2.3639       1.0000         .10000E-03   10000.    
    10 'Prefactor '    .10055E-03   1.0000         .10000E-03   10000.    
    11 'Prefactor '    52.471       1.0000         .10000E-03   10000.    
    12 'Prefactor '    .70623       1.0000         .10000E-03   10000.    
    13 'Prefactor '    .10224E-03   1.0000         .10000E-03   10000.    
    14 'Prefactor '    .10000E-03   1.0000         .10000E-03   10000.    
    15 'norm      '    3.0404       1.0000         .10000E-03   10000.    
    16 'Prefactor '    6.1556       1.0000         .10000E-03   10000.    
    17 'norm      '    7.7466       1.0000         .10000E-03   10000.    
    18 'Prefactor '    .10002E-03   1.0000         .10000E-03   10000.    
    19 'Normalizat'    .86603       1.0000         .10000E-01   10.000    
    20 'Prefactor '    1.0881       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=   7827.546     FROM MIGRAD    STATUS=CONVERGED    404 CALLS     2063 TOTAL
                     EDM=   .14E-08  STRATEGY=1  ERROR MATRIX UNCERTAINTY=  1.3%

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  norm          2.3005        4.1024        .27840E-05   -.15168E-02
   2  norm          4.2134        1.9783        .61904E-07    .14239E-03
   3  Prefactor     17.450        17.641       -.26560E-06    .47424E-04
   4  Prefactor     2.5917        11.602       -.12384E-05   -.14879E-03
   5  Prefactor     .65975        7.2203       -.13393E-05   -.53041E-04
   6  Prefactor     .30059        .13042        .10167E-07    .11493E-02
   7  Prefactor     12.170        11.243       -.28183E-06    .43251E-04
   8  Prefactor     .10000E-03    7.2514        .10327E-05** at limit **
   9  Prefactor     2.3644        6.1580       -.62449E-06   -.27928E-03
  10  Prefactor     .10000E-03    18.914        .32712E-05** at limit **
  11  Prefactor     52.467        35.095       -.51984E-05    .28791E-03
  12  Prefactor     .70864        3.4374       -.10929E-05    .78436E-04
  13  Prefactor     .10000E-03    7.1227        .21269E-06** at limit **
  14  Prefactor     .10000E-03    9.4618       -.17352E-05** at limit **
  15  norm          3.0184        11.028       -.23110E-04   -.11147E-03
  16  Prefactor     6.1727        10.218        .12856E-04    .84768E-04
  17  norm          7.7449        12.083       -.21787E-05    .66276E-04
  18  Prefactor     .10000E-03    4.0491       -.19603E-06** at limit **
  19  Normalizat    .86604        .22474       -.81865E-06    .26918E-03
  20  Prefactor     1.0881        .12384        .95346E-06    .28305E-03
                               ERR DEF=  .500    
Final values: 
  norm       = 2.30052
  norm       = 4.21336
  Prefactor  = 17.4503
  Prefactor  = 2.59174
  Prefactor  = 0.659749
  Prefactor  = 0.300586
  Prefactor  = 12.1695
  Prefactor  = 0.0001
  Prefactor  = 2.36442
  Prefactor  = 0.0001
  Prefactor  = 52.4666
  Prefactor  = 0.708643
  Prefactor  = 0.000100001
  Prefactor  = 0.0001
  norm       = 3.0184
  Prefactor  = 6.1727
  norm       = 7.74492
  Prefactor  = 0.0001
  Normalizat = 0.866036
  Prefactor  = 1.08812
 **********
 **   18 **HESSE 
 **********

 FCN=   7827.546     FROM HESSE     STATUS=OK           301 CALLS     2364 TOTAL
                     EDM=   .44E-07    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  norm          2.3005        4.0202        .22001E-03   -1.5405    
   2  norm          4.2134        1.9715        .80227E-04   -1.5297    
   3  Prefactor     17.450        17.636        .95877E-04   -1.4872    
   4  Prefactor     2.5917        11.483        .25345E-03   -1.5386    
   5  Prefactor     .65975        31.607        .45838E-02   -1.5546    
   6  Prefactor     .30059        .12883        .19888E-04   -1.5598    
   7  Prefactor     12.170        11.239        .11483E-03   -1.5010    
   8  Prefactor     .10000E-03    7.5204        .36285E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   9  Prefactor     2.3644        6.1357        .26653E-03   -1.5400    
  10  Prefactor     .10000E-03    18.993        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  11  Prefactor     52.467        35.075        .55368E-04   -1.4258    
  12  Prefactor     .70864        13.201        .30388E-02   -1.5540    
  13  Prefactor     .10000E-03    7.1790        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  14  Prefactor     .10000E-03    9.4689        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  15  norm          3.0184        11.304        .23270E-03   -1.5360    
  16  Prefactor     6.1727        10.215        .16181E-03   -1.5211    
  17  norm          7.7449        12.086        .14407E-03   -1.5151    
  18  Prefactor     .10000E-03    4.0853        .17383E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  19  Normalizat    .86604        .25745        .36328E-03   -.97664    
  20  Prefactor     1.0881        .14403        .19003E-03   -.89847    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 4.38066e-08
Minuit parameter uncertainties:
  1  4.0207
  2  1.9715
  3  17.6415
  4  10.9139
  5  9.13736
  6  0.128829
  7  11.2406
  8  5.62209e-05
  9  6.13737
  10  0.000122346
  11  35.0888
  12  6.11823
  13  0.000175221
  14  7.52859e-05
  15  11.3122
  16  10.2184
  17  12.0899
  18  1.47318e-05
  19  0.257816
  20  0.144083
Done.

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

Extracting fit parameters...

4FGL J2318.2+1915
   Spectrum: PowerLaw
372    Prefactor:  7.086e-01  6.118e+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:  1.088e+00  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:  8.660e-01  2.578e-01  1.000e-02  1.000e+01 ( 1.000e+00)


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

Saving results to:
/scratch/kocevski/414577/likelihoodResults_671155201_671414401_4FGL_J2318.2+1915_daily_bin1666.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) = 7827.54521997
delta logL = 0.000950036223003

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

MINUIT Return Code (Free Index): 0
logL (Free Index) = 7827.54511658
delta logL = 0.00105342530151

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'Prefactor '    .70860       1.0000         .10000E-03   10000.    
     2 'Index     '    2.7741       1.0000          .0000       10.000    
     3 'Normalizat'    .86526       1.0000         .10000E-01   10.000    
     4 'Prefactor '    1.0884       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=   7827.545     FROM MIGRAD    STATUS=CONVERGED     65 CALLS      233 TOTAL
                     EDM=   .14E-08    STRATEGY= 1      ERR MATRIX NOT POS-DEF

  EXT PARAMETER                APPROXIMATE        STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor     .68244        17.999        .81545E-01    .58697E-03
   2  Index         2.7848        2.3753        .50000        .21821E-04
   3  Normalizat    .86535        .13544E-01    .82084E-01    .49713E-04
   4  Prefactor     1.0884        .78928E-02    .38047E-01    .31768E-04
                               ERR DEF=  .500    
Final values: 
  Prefactor  = 0.682436
  Index      = 2.78477
  Normalizat = 0.865346
  Prefactor  = 1.08836
 **********
 **   18 **HESSE 
 **********

 FCN=   7827.545     FROM HESSE     STATUS=OK            33 CALLS      266 TOTAL
                     EDM=   .59E-10    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  Prefactor     .68244        18.748        .28646E-02   -1.5543    
   2  Index         2.7848        2.9761        .18849E-01   -.45899    
   3  Normalizat    .86535        .24585        .36341E-03   -.97689    
   4  Prefactor     1.0884        .14234        .19001E-03   -.89839    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 5.92792e-11
Minuit parameter uncertainties:
  1  7.15575
  2  3.25468
  3  0.246168
  4  0.142391
shell-init: error retrieving current directory: getcwd: cannot access parent directories: No such file or directory
rmdir: failed to remove `/scratch/kocevski/414577': 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) = 7827.54510183
delta logL = 0.00106817804499

Extracting fit parameters...

4FGL J2318.2+1915
   Spectrum: PowerLaw
372    Prefactor:  6.824e-01  7.156e+00  1.000e-04  1.000e+04 ( 1.000e-12)
373        Index:  2.785e+00  3.255e+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.088e+00  1.424e-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.653e-01  2.462e-01  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Free Index): 0.02
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/414577/cmap_HighResolution_671155201_671414401_4FGL_J2318.2+1915_daily_bin1666.png

Cleaning up...

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

Updating database...

UPDATE lightcurve_data_v2 SET energy_flux_upper_limit='9.26e-03', job_status='DONE', photon_flux_upper_limit='1.18e-07', time_completed='2022-04-12 00:50:37.971870', job_id='414577', GAL2='1.09', fit_tolerance='1e-08', EG2='0.87', EG='0.87', time_epoch_completed='1649749837.97', return_code2='0', ts='0.02', comment='SUCCESS', return_code='0', GAL='1.09', dlogl='1.07e-03', ts2='0.02', photon_index_error='0.00', photon_index='2.67' WHERE bin_id='1666' AND source_name='4FGL J2318.2+1915' AND cadence='daily';

Database successfully updated.


Analysis Complete.


Tue Apr 12 00:50:37 PDT 2022


------------------------------------------------------------
Sender: LSF System <lsf@bullet0107>
Subject: Job 414577: <4FGL_J2318.2+1915_daily_bin1666> in cluster <slac> Done

Job <4FGL_J2318.2+1915_daily_bin1666> was submitted from host <rhel6-64p> by user <kocevski> in cluster <slac> at Tue Apr 12 00:35:44 2022
Job was executed on host(s) <bullet0107>, in queue <medium>, as user <kocevski> in cluster <slac> at Tue Apr 12 00:35:45 2022
</u/ki/kocevski> was used as the home directory.
</u/ki/kocevski> was used as the working directory.
Started at Tue Apr 12 00:35:45 2022
Terminated at Tue Apr 12 00:50:38 2022
Results reported at Tue Apr 12 00:50:38 2022

Your job looked like:

------------------------------------------------------------
# LSBATCH: User input
/nfs/farm/g/glast/g/LCRepository/Likelihood/Scripts/LikelihoodAnalysis.py 4FGL_J2318.2+1915_daily_bin1666 349.557 19.256 671155201 671414401 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 :                                   659.47 sec.
    Max Memory :                                 1256 MB
    Average Memory :                             292.81 MB
    Total Requested Memory :                     -
    Delta Memory :                               -
    Max Swap :                                   -
    Max Processes :                              5
    Max Threads :                                21
    Run time :                                   893 sec.
    Turnaround time :                            894 sec.

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

