/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 3 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 = 7440
number of fields = 30
RA_SUN column already exists. File will not be modified.
Done.


Performing analysis on: 4FGL_J1418.4-0233_daily_bin679
RA = 214.606, Dec = -2.5594
tmin = 415324801, tmax = 415584001
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='327871', job_status='RUN', time_executed='2021-09-09 08:40:40.688236', time_epoch_executed='1631202040.69' WHERE source_name='4FGL J1418.4-0233' and cadence='daily' and bin_id='679'

Database successfully updated.
Done.

Creating custom output directory:
/scratch/kocevski/327871

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

Retrieving the FT1 file...

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

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

Retrieving 46 files...
Done.


Merging files...

Checksum keywords updated successfully.

Merged file saved to:
/scratch/kocevski/327871/ft1_4FGL_J1418.4-0233_daily_bin679.fits


Retrieving the FT1 file...

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

Retrieving 46 files...
Done.


Merging files...

Merged file saved to:
/scratch/kocevski/327871/ft2_4FGL_J1418.4-0233_daily_bin679.fits


Selecting the photons:
time -p gtselect infile=/scratch/kocevski/327871/ft1_4FGL_J1418.4-0233_daily_bin679.fits outfile=/scratch/kocevski/327871/ft1_filteredMKT_4FGL_J1418.4-0233_daily_bin679.fits ra=214.606 dec=-2.5594 rad=12.0 tmin=415324801.0 tmax=415584001.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 6.10
user 5.82
sys 0.23

Adding sun position to ft2 file:
/nfs/farm/g/glast/g/LCRepository/Repository/bin/sunpos /scratch/kocevski/327871/ft2_4FGL_J1418.4-0233_daily_bin679.fits

Selecting the good time intervals:
time -p gtmktime scfile=/scratch/kocevski/327871/ft2_4FGL_J1418.4-0233_daily_bin679.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/327871/ft1_filteredMKT_4FGL_J1418.4-0233_daily_bin679.fits evtable="EVENTS" outfile="/scratch/kocevski/327871/ft1_filtered_4FGL_J1418.4-0233_daily_bin679.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.59
user 0.32
sys 0.16

Generating the livetime cube:
time -p gtltcube evfile="/scratch/kocevski/327871/ft1_filtered_4FGL_J1418.4-0233_daily_bin679.fits" evtable="EVENTS" scfile=/scratch/kocevski/327871/ft2_4FGL_J1418.4-0233_daily_bin679.fits sctable="SC_DATA" outfile=/scratch/kocevski/327871/ltcube_415324801_415584001_4FGL_J1418.4-0233_daily_bin679.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/327871/ft2_4FGL_J1418.4-0233_daily_bin679.fits
.....................!
real 12.06
user 11.62
sys 0.33

Generating the exposure map:
time -p gtexpmap evfile=/scratch/kocevski/327871/ft1_filtered_4FGL_J1418.4-0233_daily_bin679.fits evtable="EVENTS" scfile=/scratch/kocevski/327871/ft2_4FGL_J1418.4-0233_daily_bin679.fits sctable="SC_DATA" expcube=/scratch/kocevski/327871/ltcube_415324801_415584001_4FGL_J1418.4-0233_daily_bin679.fits outfile=/scratch/kocevski/327871/expmap_415324801_415584001_4FGL_J1418.4-0233_daily_bin679.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/327871/ltcube_415324801_415584001_4FGL_J1418.4-0233_daily_bin679.fits
.....................!
real 190.68
user 185.17
sys 4.66

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 159 point sources and 0 extended sources

Setting source of interest to:
4FGL J1418.4-0233 @ 214.606 -2.5594

Creating the counts map:
time -p gtbin evfile=/scratch/kocevski/327871/ft1_filtered_4FGL_J1418.4-0233_daily_bin679.fits scfile=/scratch/kocevski/327871/ft2_4FGL_J1418.4-0233_daily_bin679.fits outfile=/scratch/kocevski/327871/cmap_415324801_415584001_4FGL_J1418.4-0233_daily_bin679.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=214.606 yref=-2.5594 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.52
user 0.40
sys 0.12

Creating the high resolution counts map:
time -p gtbin evfile=/scratch/kocevski/327871/ft1_filtered_4FGL_J1418.4-0233_daily_bin679.fits scfile=/scratch/kocevski/327871/ft2_4FGL_J1418.4-0233_daily_bin679.fits outfile=/scratch/kocevski/327871/cmap_HighResolution_415324801_415584001_4FGL_J1418.4-0233_daily_bin679.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=214.606 yref=-2.5594 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.38
sys 0.16

Computing the diffuse response:
time -p gtdiffrsp evfile=/scratch/kocevski/327871/ft1_filtered_4FGL_J1418.4-0233_daily_bin679.fits evtable="EVENTS" scfile=/scratch/kocevski/327871/ft2_4FGL_J1418.4-0233_daily_bin679.fits sctable="SC_DATA" srcmdl=/scratch/kocevski/327871/Model_4FGL_J1418.4-0233_daily_bin679.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/327871/ft1_filtered_4FGL_J1418.4-0233_daily_bin679.fits.....................!
real 97.29
user 95.74
sys 1.29

Creating the likelihood object...
obs = UnbinnedObs('/scratch/kocevski/327871/ft1_filtered_4FGL_J1418.4-0233_daily_bin679.fits', '/scratch/kocevski/327871/ft2_4FGL_J1418.4-0233_daily_bin679.fits', expMap='/scratch/kocevski/327871/expmap_415324801_415584001_4FGL_J1418.4-0233_daily_bin679.fits', expCube='/scratch/kocevski/327871/ltcube_415324801_415584001_4FGL_J1418.4-0233_daily_bin679.fits', irfs='P8R3_SOURCE_V2')
like = UnbinnedAnalysis(obs, '/scratch/kocevski/327871/Model_4FGL_J1418.4-0233_daily_bin679.xml', optimizer='MINUIT')

Using source of interest name: '4FGL J1418.4-0233'

4FGL J1418.4-0233
   Spectrum: LogParabola
269         norm:  7.824e+00  0.000e+00  1.000e-04  1.000e+04 ( 1.000e-13)
270        alpha:  1.640e+00  0.000e+00  0.000e+00  5.000e+00 ( 1.000e+00) fixed
271         beta:  8.008e-02  0.000e+00  0.000e+00  1.000e+01 ( 1.000e+00) fixed
272           Eb:  1.844e+03  0.000e+00  3.000e+01  5.000e+05 ( 1.000e+00) fixed


Likelihood Fit Parameters:
Event file(s): /scratch/kocevski/327871/ft1_filtered_4FGL_J1418.4-0233_daily_bin679.fits
Spacecraft file(s): /scratch/kocevski/327871/ft2_4FGL_J1418.4-0233_daily_bin679.fits
Exposure map: /scratch/kocevski/327871/expmap_415324801_415584001_4FGL_J1418.4-0233_daily_bin679.fits
Exposure cube: /scratch/kocevski/327871/ltcube_415324801_415584001_4FGL_J1418.4-0233_daily_bin679.fits
IRFs: P8R3_SOURCE_V2
Source model file: /scratch/kocevski/327871/Model_4FGL_J1418.4-0233_daily_bin679.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) = 13905.0383081

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

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

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'norm      '    4.2218       1.0000         .10000E-03   10000.    
     2 'norm      '    2.0367       1.0000         .10000E-03   10000.    
     3 'Prefactor '    .10004E-03   1.0000         .10000E-03   10000.    
     4 'Prefactor '    4.7189       1.0000         .10000E-03   10000.    
     5 'norm      '    8.1819       1.0000         .10000E-03   10000.    
     6 'Prefactor '    .10001E-03   1.0000         .10000E-03   10000.    
     7 'norm      '    1.8124       1.0000         .10000E-03   10000.    
     8 'Prefactor '    11.547       1.0000         .10000E-03   10000.    
     9 'norm      '    20.218       1.0000         .10000E-03   10000.    
    10 'norm      '    18.384       1.0000         .10000E-03   10000.    
    11 'Prefactor '    .16242       1.0000         .10000E-03   10000.    
    12 'Prefactor '    .54619E-03   1.0000         .10000E-03   10000.    
    13 'norm      '    19.936       1.0000         .10000E-03   10000.    
    14 'Prefactor '    .19172E-01   1.0000         .10000E-03   10000.    
    15 'Prefactor '    7.7536       1.0000         .10000E-03   10000.    
    16 'norm      '    9.9494       1.0000         .10000E-03   10000.    
    17 'Normalizat'    1.1993       1.0000         .10000E-01   10.000    
    18 'Prefactor '    .93147       1.0000          .0000       10.000    
 **********
 **   15 **SET ERR    .5000    
 **********
 **********
 **   16 **SET GRAD    1.000    
 **********
 **********
 **   17 **MINIMIZE    .5260E+05   .2000E-04
 **********

 MIGRAD MINIMIZATION HAS CONVERGED.

 MIGRAD WILL VERIFY CONVERGENCE AND ERROR MATRIX.

 MIGRAD MINIMIZATION HAS CONVERGED.

 MIGRAD WILL VERIFY CONVERGENCE AND ERROR MATRIX.

 FCN=   13904.98     FROM MIGRAD    STATUS=CONVERGED    672 CALLS     2109 TOTAL
                     EDM=   .51E-08    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  norm          4.2212        1.8128        .10014E-03   -.11376E-03
   2  norm          2.0346        53.888        .14490E-02    .58764E-04
   3  Prefactor     .10000E-03    2.8707        .36285E-03** at limit **
   4  Prefactor     4.7175        12.355        .18524E-03    .69843E-04
   5  norm          8.1814        4.7059        .14016E-03   -.71540E-04
   6  Prefactor     .10000E-03    7.1064        .18142E-02** at limit **
   7  norm          1.8122        1.6346        .13674E-03    .86631E-04
   8  Prefactor     11.547        13.008        .11789E-03   -.20829E-04
   9  norm          20.217        8.6048        .89076E-04   -.18889E-04
  10  norm          18.382        5.7864        .93412E-04   -.98411E-03
  11  Prefactor     .16302E-03    12.077        .99271E-01** at limit **
  12  Prefactor     .10015E-03    39.667        .55715E-02** at limit **
  13  norm          19.947        14.050        .89703E-04   -.24587E-04
  14  Prefactor     .10035E-03    22.337        .16455    ** at limit **
  15  Prefactor     7.7532        21.148        .14401E-03    .56051E-04
  16  norm          9.9315        14.077        .12704E-03   -.34365E-04
  17  Normalizat    1.1995        .17100        .29310E-03   -.22047E-03
  18  Prefactor     .93141        .95964E-01    .19315E-03   -.50209E-03
                               ERR DEF=  .500    
Final values: 
  norm       = 4.22124
  norm       = 2.03461
  Prefactor  = 0.0001
  Prefactor  = 4.71748
  norm       = 8.18139
  Prefactor  = 0.000100001
  norm       = 1.81224
  Prefactor  = 11.5469
  norm       = 20.217
  norm       = 18.382
  Prefactor  = 0.000163023
  Prefactor  = 0.000100154
  norm       = 19.9468
  Prefactor  = 0.000100354
  Prefactor  = 7.75316
  norm       = 9.93154
  Normalizat = 1.19949
  Prefactor  = 0.93141
 **********
 **   18 **HESSE 
 **********

 FCN=   13904.98     FROM HESSE     STATUS=OK           248 CALLS     2357 TOTAL
                     EDM=   .51E-08    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  norm          4.2212        1.8127        .40056E-05   -1.5297    
   2  norm          2.0346        53.880        .28981E-03   -1.5423    
   3  Prefactor     .10000E-03    2.8709        .72569E-04   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   4  Prefactor     4.7175        12.352        .74095E-05   -1.5274    
   5  norm          8.1814        4.7057        .56064E-05   -1.5136    
   6  Prefactor     .10000E-03    7.1111        .36285E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   7  norm          1.8122        1.6345        .54697E-05   -1.5439    
   8  Prefactor     11.547        13.007        .47158E-05   -1.5028    
   9  norm          20.217        8.6046        .35630E-05   -1.4808    
  10  norm          18.382        5.7851        .18682E-04   -1.4850    
  11  Prefactor     .16302E-03    11.092        .10490       -1.5710    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  12  Prefactor     .10015E-03    40.668        .22286E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  13  norm          19.947        14.047        .35881E-05   -1.4814    
  14  Prefactor     .10035E-03    22.907        .16150       -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  15  Prefactor     7.7532        21.148        .57603E-05   -1.5151    
  16  norm          9.9315        14.076        .50815E-05   -1.5078    
  17  Normalizat    1.1995        .17111        .11724E-04   -.86619    
  18  Prefactor     .93141        .96021E-01    .38631E-04   -.95052    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 5.05506e-09
Minuit parameter uncertainties:
  1  1.81275
  2  20.9609
  3  5.76571e-06
  4  12.3586
  5  4.70596
  6  0.000180409
  7  1.63451
  8  13.01
  9  8.6051
  10  5.78524
  11  0.0528877
  12  0.00500431
  13  14.0498
  14  0.00569655
  15  21.1681
  16  14.0809
  17  0.171186
  18  0.0960388
Done.

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

Extracting fit parameters...

4FGL J1418.4-0233
   Spectrum: LogParabola
269         norm:  2.022e+01  8.605e+00  1.000e-04  1.000e+04 ( 1.000e-13)
270        alpha:  1.640e+00  0.000e+00  0.000e+00  5.000e+00 ( 1.000e+00) fixed
271         beta:  8.008e-02  0.000e+00  0.000e+00  1.000e+01 ( 1.000e+00) fixed
272           Eb:  1.844e+03  0.000e+00  3.000e+01  5.000e+05 ( 1.000e+00) fixed

GAL_V02
   Spectrum: PowerLaw
523    Prefactor:  9.314e-01  9.604e-02  0.000e+00  1.000e+01 ( 1.000e+00)
524        Index:  0.000e+00  0.000e+00 -1.000e+00  1.000e+00 ( 1.000e+00) fixed
525        Scale:  1.000e+02  0.000e+00  5.000e+01  2.000e+02 ( 1.000e+00) fixed

EG_v02
   Spectrum: FileFunction
522   Normalization:  1.199e+00  1.712e-01  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Fixed Index): 22.58
Ra Dec: 214.606 -2.559
Photon Index (Fixed Index): 1.64 +/- 0.00
Photon Flux (Fixed Index): 2.78e-08 +/- 1.18e-08
Energy Flux (Fixed Index): 4.76e-05 +/- 2.03e-05

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) = 13904.9669914
delta logL = 0.00872136166618

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

MINUIT Return Code (Free Index): 0
logL (Free Index) = 13904.9668863
delta logL = 0.00882643933255

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'norm      '    20.281       1.0000         .10000E-03   10000.    
     2 'alpha     '    1.5975       1.0000          .0000       5.0000    
     3 'Normalizat'    1.2008       1.0000         .10000E-01   10.000    
     4 'Prefactor '    .93125       1.0000          .0000       10.000    
 **********
 **   15 **SET ERR    .5000    
 **********
 **********
 **   16 **SET GRAD    1.000    
 **********
 **********
 **   17 **MINIMIZE    .5260E+05   .2000E-04
 **********

 MIGRAD MINIMIZATION HAS CONVERGED.

 MIGRAD WILL VERIFY CONVERGENCE AND ERROR MATRIX.

 FCN=   13904.97     FROM MIGRAD    STATUS=CONVERGED     58 CALLS      228 TOTAL
                     EDM=   .51E-08    STRATEGY= 1      ERR MATRIX NOT POS-DEF

  EXT PARAMETER                APPROXIMATE        STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  norm          20.317        200.32        .22234E-02   -.12640E-04
   2  alpha         1.5989        3.1714        .34084        .40250E-04
   3  Normalizat    1.2003        .16782        .66235E-01   -.41921E-04
   4  Prefactor     .93146        .64012E-01    .45402E-01   -.83475E-04
                               ERR DEF=  .500    
Final values: 
  norm       = 20.3171
  alpha      = 1.59891
  Normalizat = 1.20026
  Prefactor  = 0.931464
 **********
 **   18 **HESSE 
 **********

 FCN=   13904.97     FROM HESSE     STATUS=OK            33 CALLS      261 TOTAL
                     EDM=   .88E-11    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  norm          20.317        8.7280        .88937E-04   -1.4806    
   2  alpha         1.5989        .30693        .12823E-01   -.36873    
   3  Normalizat    1.2003        .16000        .29302E-03   -.86595    
   4  Prefactor     .93146        .94830E-01    .19315E-03   -.95050    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 8.80093e-12
Minuit parameter uncertainties:
  1  8.72859
  2  0.307818
  3  0.160061
  4  0.0948467
shell-init: error retrieving current directory: getcwd: cannot access parent directories: No such file or directory
rmdir: failed to remove `/scratch/kocevski/327871': 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) = 13904.9668622
delta logL = 0.00885062473935

Extracting fit parameters...

4FGL J1418.4-0233
   Spectrum: LogParabola
269         norm:  2.032e+01  8.729e+00  1.000e-04  1.000e+04 ( 1.000e-13)
270        alpha:  1.599e+00  3.078e-01  0.000e+00  5.000e+00 ( 1.000e+00)
271         beta:  8.008e-02  0.000e+00  0.000e+00  1.000e+01 ( 1.000e+00) fixed
272           Eb:  1.844e+03  0.000e+00  3.000e+01  5.000e+05 ( 1.000e+00) fixed

GAL_V02
   Spectrum: PowerLaw
523    Prefactor:  9.315e-01  9.485e-02  0.000e+00  1.000e+01 ( 1.000e+00)
524        Index:  0.000e+00  0.000e+00 -1.000e+00  1.000e+00 ( 1.000e+00) fixed
525        Scale:  1.000e+02  0.000e+00  5.000e+01  2.000e+02 ( 1.000e+00) fixed

EG_v02
   Spectrum: FileFunction
522   Normalization:  1.200e+00  1.601e-01  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Free Index): 22.59
Ra Dec: 214.606 -2.559
Photon Index (Free Index): 1.60 +/- 0.31
Photon Flux (Free Index): 2.66e-08 +/- 1.45e-08
Energy Flux (Free Index): 5.07e-05 +/- 3.28e-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/327871/cmap_HighResolution_415324801_415584001_4FGL_J1418.4-0233_daily_bin679.png

Cleaning up...

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

Updating database...

UPDATE lightcurve_data_v2 SET comment='SUCCESS', photon_flux='2.78e-08', energy_flux2='5.07e-05', photon_flux_error='1.18e-08', dlogl='8.85e-03', energy_flux='4.76e-05', photon_flux2='2.66e-08', job_status='DONE', time_completed='2021-09-09 08:53:46.651010', photon_index_error2='0.31', photon_index2='1.60', ts='22.58', fit_tolerance='1e-08', GAL='0.93', photon_index_error='0.00', energy_flux_error2='3.28e-05', EG='1.20', time_epoch_completed='1631202826.65', return_code='0', job_id='327871', GAL2='0.93', EG2='1.20', return_code2='0', energy_flux_error='2.03e-05', photon_flux_error2='1.45e-08', ts2='22.59', photon_index='1.64' WHERE bin_id='679' AND source_name='4FGL J1418.4-0233' AND cadence='daily';

Database successfully updated.


Analysis Complete.


Thu Sep  9 08:53:46 PDT 2021


------------------------------------------------------------
Sender: LSF System <lsf@bullet0043>
Subject: Job 327871: <4FGL_J1418.4-0233_daily_bin679> in cluster <slac> Done

Job <4FGL_J1418.4-0233_daily_bin679> was submitted from host <rhel6-64e> by user <kocevski> in cluster <slac> at Thu Sep  9 08:40:26 2021
Job was executed on host(s) <bullet0043>, in queue <medium>, as user <kocevski> in cluster <slac> at Thu Sep  9 08:40:27 2021
</u/ki/kocevski> was used as the home directory.
</u/ki/kocevski> was used as the working directory.
Started at Thu Sep  9 08:40:27 2021
Terminated at Thu Sep  9 08:53:47 2021
Results reported at Thu Sep  9 08:53:47 2021

Your job looked like:

------------------------------------------------------------
# LSBATCH: User input
/nfs/farm/g/glast/g/LCRepository/Likelihood/Scripts/LikelihoodAnalysis.py 4FGL_J1418.4-0233_daily_bin679 214.606 -2.5594 415324801 415584001 irfs=P8R3_SOURCE_V2 zmax=90 ROI=12 association=4FGL_J1418.4-0233 fixedModel=True performFreeIndexFit=True freeVariableSources=True nuke=True repositoryJob=True verbose=False
------------------------------------------------------------

Successfully completed.

Resource usage summary:

    CPU time :                                   780.15 sec.
    Max Memory :                                 1256 MB
    Average Memory :                             357.69 MB
    Total Requested Memory :                     -
    Delta Memory :                               -
    Max Swap :                                   -
    Max Processes :                              5
    Max Threads :                                21
    Run time :                                   800 sec.
    Turnaround time :                            801 sec.

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

