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


Performing analysis on: 4FGL_J1418.4-0233_daily_bin973
RA = 214.606, Dec = -2.5594
tmin = 491529601, tmax = 491788801
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='328293', job_status='RUN', time_executed='2021-09-09 08:44:51.181184', time_epoch_executed='1631202291.18' WHERE source_name='4FGL J1418.4-0233' and cadence='daily' and bin_id='973'

Database successfully updated.
Done.

Creating custom output directory:
/scratch/kocevski/328293

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

Retrieving the FT1 file...

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

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

Retrieving 46 files...
Done.


Merging files...

Checksum keywords updated successfully.

Merged file saved to:
/scratch/kocevski/328293/ft1_4FGL_J1418.4-0233_daily_bin973.fits


Retrieving the FT1 file...

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

Retrieving 46 files...
Done.


Merging files...

Merged file saved to:
/scratch/kocevski/328293/ft2_4FGL_J1418.4-0233_daily_bin973.fits


Selecting the photons:
time -p gtselect infile=/scratch/kocevski/328293/ft1_4FGL_J1418.4-0233_daily_bin973.fits outfile=/scratch/kocevski/328293/ft1_filteredMKT_4FGL_J1418.4-0233_daily_bin973.fits ra=214.606 dec=-2.5594 rad=12.0 tmin=491529601.0 tmax=491788801.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.53
user 3.27
sys 0.20

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

Selecting the good time intervals:
time -p gtmktime scfile=/scratch/kocevski/328293/ft2_4FGL_J1418.4-0233_daily_bin973.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/328293/ft1_filteredMKT_4FGL_J1418.4-0233_daily_bin973.fits evtable="EVENTS" outfile="/scratch/kocevski/328293/ft1_filtered_4FGL_J1418.4-0233_daily_bin973.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

Generating the livetime cube:
time -p gtltcube evfile="/scratch/kocevski/328293/ft1_filtered_4FGL_J1418.4-0233_daily_bin973.fits" evtable="EVENTS" scfile=/scratch/kocevski/328293/ft2_4FGL_J1418.4-0233_daily_bin973.fits sctable="SC_DATA" outfile=/scratch/kocevski/328293/ltcube_491529601_491788801_4FGL_J1418.4-0233_daily_bin973.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/328293/ft2_4FGL_J1418.4-0233_daily_bin973.fits
.....................!
real 11.70
user 11.35
sys 0.32

Generating the exposure map:
time -p gtexpmap evfile=/scratch/kocevski/328293/ft1_filtered_4FGL_J1418.4-0233_daily_bin973.fits evtable="EVENTS" scfile=/scratch/kocevski/328293/ft2_4FGL_J1418.4-0233_daily_bin973.fits sctable="SC_DATA" expcube=/scratch/kocevski/328293/ltcube_491529601_491788801_4FGL_J1418.4-0233_daily_bin973.fits outfile=/scratch/kocevski/328293/expmap_491529601_491788801_4FGL_J1418.4-0233_daily_bin973.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/328293/ltcube_491529601_491788801_4FGL_J1418.4-0233_daily_bin973.fits
.....................!
real 189.72
user 185.13
sys 4.22

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/328293/ft1_filtered_4FGL_J1418.4-0233_daily_bin973.fits scfile=/scratch/kocevski/328293/ft2_4FGL_J1418.4-0233_daily_bin973.fits outfile=/scratch/kocevski/328293/cmap_491529601_491788801_4FGL_J1418.4-0233_daily_bin973.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.54
user 0.38
sys 0.14

Creating the high resolution counts map:
time -p gtbin evfile=/scratch/kocevski/328293/ft1_filtered_4FGL_J1418.4-0233_daily_bin973.fits scfile=/scratch/kocevski/328293/ft2_4FGL_J1418.4-0233_daily_bin973.fits outfile=/scratch/kocevski/328293/cmap_HighResolution_491529601_491788801_4FGL_J1418.4-0233_daily_bin973.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.56
user 0.39
sys 0.13

Computing the diffuse response:
time -p gtdiffrsp evfile=/scratch/kocevski/328293/ft1_filtered_4FGL_J1418.4-0233_daily_bin973.fits evtable="EVENTS" scfile=/scratch/kocevski/328293/ft2_4FGL_J1418.4-0233_daily_bin973.fits sctable="SC_DATA" srcmdl=/scratch/kocevski/328293/Model_4FGL_J1418.4-0233_daily_bin973.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/328293/ft1_filtered_4FGL_J1418.4-0233_daily_bin973.fits.....................!
real 50.07
user 48.73
sys 1.14

Creating the likelihood object...
obs = UnbinnedObs('/scratch/kocevski/328293/ft1_filtered_4FGL_J1418.4-0233_daily_bin973.fits', '/scratch/kocevski/328293/ft2_4FGL_J1418.4-0233_daily_bin973.fits', expMap='/scratch/kocevski/328293/expmap_491529601_491788801_4FGL_J1418.4-0233_daily_bin973.fits', expCube='/scratch/kocevski/328293/ltcube_491529601_491788801_4FGL_J1418.4-0233_daily_bin973.fits', irfs='P8R3_SOURCE_V2')
like = UnbinnedAnalysis(obs, '/scratch/kocevski/328293/Model_4FGL_J1418.4-0233_daily_bin973.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/328293/ft1_filtered_4FGL_J1418.4-0233_daily_bin973.fits
Spacecraft file(s): /scratch/kocevski/328293/ft2_4FGL_J1418.4-0233_daily_bin973.fits
Exposure map: /scratch/kocevski/328293/expmap_491529601_491788801_4FGL_J1418.4-0233_daily_bin973.fits
Exposure cube: /scratch/kocevski/328293/ltcube_491529601_491788801_4FGL_J1418.4-0233_daily_bin973.fits
IRFs: P8R3_SOURCE_V2
Source model file: /scratch/kocevski/328293/Model_4FGL_J1418.4-0233_daily_bin973.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) = 6069.29161678

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

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

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'norm      '    1.7532       1.0000         .10000E-03   10000.    
     2 'norm      '    .10159E-03   1.0000         .10000E-03   10000.    
     3 'Prefactor '    7.9631       1.0000         .10000E-03   10000.    
     4 'Prefactor '    74.432       1.0000         .10000E-03   10000.    
     5 'norm      '    5.0149       1.0000         .10000E-03   10000.    
     6 'Prefactor '    .10019E-03   1.0000         .10000E-03   10000.    
     7 'norm      '    .10075E-03   1.0000         .10000E-03   10000.    
     8 'Prefactor '    .10183E-03   1.0000         .10000E-03   10000.    
     9 'norm      '    13.925       1.0000         .10000E-03   10000.    
    10 'norm      '    2.0310       1.0000         .10000E-03   10000.    
    11 'Prefactor '    30.776       1.0000         .10000E-03   10000.    
    12 'Prefactor '    4.8160       1.0000         .10000E-03   10000.    
    13 'norm      '    .10027E-03   1.0000         .10000E-03   10000.    
    14 'Prefactor '    63.856       1.0000         .10000E-03   10000.    
    15 'Prefactor '    .10408E-03   1.0000         .10000E-03   10000.    
    16 'norm      '    1.9131       1.0000         .10000E-03   10000.    
    17 'Normalizat'    .76701       1.0000         .10000E-01   10.000    
    18 'Prefactor '    1.0577       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.

 FCN=   6069.272     FROM MIGRAD    STATUS=CONVERGED    388 CALLS     2117 TOTAL
                     EDM=   .48E-09  STRATEGY=1  ERROR MATRIX UNCERTAINTY=  2.8%

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  norm          1.7531        2.2090        .21382E-06    .11722E-03
   2  norm          .10000E-03    38.759        .13242E-06** at limit **
   3  Prefactor     7.9599        6.6549        .85660E-07    .66110E-05
   4  Prefactor     74.415        32.555        .15260E-06    .66976E-04
   5  norm          5.0152        5.4179        .36039E-07    .13447E-04
   6  Prefactor     .10000E-03    3.2715        .22652E-06** at limit **
   7  norm          .10000E-03    1.3898       -.21132E-06** at limit **
   8  Prefactor     .10000E-03    20.329        .40916E-06** at limit **
   9  norm          13.925        11.312       -.39061E-08    .47961E-05
  10  norm          2.0312        6.5141        .59236E-05   -.24267E-03
  11  Prefactor     30.766        24.304       -.22426E-06    .33753E-04
  12  Prefactor     4.8145        11.647       -.31929E-06   -.98343E-05
  13  norm          .10000E-03    10.396        .44719E-06** at limit **
  14  Prefactor     63.407        72.269        .79113E-06   -.18613E-04
  15  Prefactor     .10001E-03    33.741       -.26903E-05** at limit **
  16  norm          1.8942        52.569        .81274E-06   -.31950E-04
  17  Normalizat    .76754        .22482       -.38977E-05   -.19167E-03
  18  Prefactor     1.0575        .12484        .11722E-05    .14571E-03
                               ERR DEF=  .500    
Final values: 
  norm       = 1.75311
  norm       = 0.0001
  Prefactor  = 7.95987
  Prefactor  = 74.4148
  norm       = 5.0152
  Prefactor  = 0.0001
  norm       = 0.0001
  Prefactor  = 0.0001
  norm       = 13.9245
  norm       = 2.03124
  Prefactor  = 30.7656
  Prefactor  = 4.81446
  norm       = 0.0001
  Prefactor  = 63.4073
  Prefactor  = 0.000100011
  norm       = 1.89416
  Normalizat = 0.767541
  Prefactor  = 1.05751
 **********
 **   18 **HESSE 
 **********

 FCN=   6069.272     FROM HESSE     STATUS=OK           244 CALLS     2361 TOTAL
                     EDM=   .12E-08    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  norm          1.7531        2.1938        .12373E-03   -1.5443    
   2  norm          .10000E-03    38.971        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   3  Prefactor     7.9599        6.6431        .14209E-03   -1.5144    
   4  Prefactor     74.415        32.595        .46538E-04   -1.3981    
   5  norm          5.0152        5.4084        .17643E-03   -1.5260    
   6  Prefactor     .10000E-03    3.2789        .13772E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   7  norm          .10000E-03    1.4239        .89720E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   8  Prefactor     .10000E-03    20.508        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   9  norm          13.925        11.314        .10734E-03   -1.4961    
  10  norm          2.0312        6.6005        .14514E-02   -1.5423    
  11  Prefactor     30.766        24.327        .72225E-04   -1.4598    
  12  Prefactor     4.8145        11.633        .18332E-03   -1.5269    
  13  norm          .10000E-03    10.428        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  14  Prefactor     63.407        72.340        .50219E-04   -1.4114    
  15  Prefactor     .10001E-03    34.419        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  16  norm          1.8942        52.822        .30052E-03   -1.5433    
  17  Normalizat    .76754        .25675        .35509E-03   -1.0128    
  18  Prefactor     1.0575        .14501        .17954E-03   -.90836    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 1.17408e-09
Minuit parameter uncertainties:
  1  2.1939
  2  8.33632e-05
  3  6.64376
  4  32.6028
  5  5.40894
  6  3.16389e-05
  7  1.95813e-05
  8  0.000146403
  9  11.3162
  10  6.60285
  11  24.335
  12  11.6389
  13  0.00010774
  14  72.441
  15  0.00120362
  16  20.0243
  17  0.257159
  18  0.145067
Done.

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

Extracting fit parameters...

4FGL J1418.4-0233
   Spectrum: LogParabola
269         norm:  1.392e+01  1.132e+01  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:  1.058e+00  1.451e-01  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:  7.675e-01  2.572e-01  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Fixed Index): 9.60
Ra Dec: 214.606 -2.559
Photon Index (Fixed Index): 1.64 +/- 0.00
Photon Flux (Fixed Index): 1.92e-08 +/- 1.56e-08
Energy Flux (Fixed Index): 3.28e-05 +/- 2.67e-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) = 6069.2633322
delta logL = 0.00828823334541

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

MINUIT Return Code (Free Index): 0
logL (Free Index) = 6069.26300552
delta logL = 0.00861491815249

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'norm      '    14.154       1.0000         .10000E-03   10000.    
     2 'alpha     '    1.7314       1.0000          .0000       5.0000    
     3 'Normalizat'    .76590       1.0000         .10000E-01   10.000    
     4 'Prefactor '    1.0572       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=   6069.263     FROM MIGRAD    STATUS=CONVERGED     45 CALLS      224 TOTAL
                     EDM=   .35E-11    STRATEGY= 1      ERR MATRIX NOT POS-DEF

  EXT PARAMETER                APPROXIMATE        STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  norm          14.154        353.90        .26616E-02    .76308E-04
   2  alpha         1.7314        2.6452        .43928        .11513E-04
   3  Normalizat    .76594        .19707        .80279E-01    .24651E-04
   4  Prefactor     1.0572        .63432E-01    .39507E-01   -.19425E-05
                               ERR DEF=  .500    
Final values: 
  norm       = 14.1537
  alpha      = 1.73136
  Normalizat = 0.765943
  Prefactor  = 1.05715
 **********
 **   18 **HESSE 
 **********

 FCN=   6069.263     FROM HESSE     STATUS=OK            31 CALLS      255 TOTAL
                     EDM=   .89E-11    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  norm          14.154        11.223        .10646E-03   -1.4955    
   2  alpha         1.7314        .68128        .15524E-01   -.31252    
   3  Normalizat    .76594        .24385        .35544E-03   -1.0134    
   4  Prefactor     1.0572        .14368        .17956E-03   -.90848    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 8.91623e-12
Minuit parameter uncertainties:
  1  11.2251
  2  0.690953
  3  0.244195
  4  0.143733
shell-init: error retrieving current directory: getcwd: cannot access parent directories: No such file or directory
rmdir: failed to remove `/scratch/kocevski/328293': 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) = 6069.2630055
delta logL = 0.00861493318644

Extracting fit parameters...

4FGL J1418.4-0233
   Spectrum: LogParabola
269         norm:  1.415e+01  1.123e+01  1.000e-04  1.000e+04 ( 1.000e-13)
270        alpha:  1.731e+00  6.910e-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:  1.057e+00  1.437e-01  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:  7.659e-01  2.442e-01  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Free Index): 9.61
Ra Dec: 214.606 -2.559
Photon Index (Free Index): 1.73 +/- 0.69
Photon Flux (Free Index): 2.20e-08 +/- 2.84e-08
Energy Flux (Free Index): 2.98e-05 +/- 3.20e-05

Creating a high resolution counts map...
INFO: Auto-setting vmin to  0.000e+00 [aplpy.core]
INFO: Auto-setting vmax to  0.000e+00 [aplpy.core]
Saving /scratch/kocevski/328293/cmap_HighResolution_491529601_491788801_4FGL_J1418.4-0233_daily_bin973.png

Cleaning up...

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

Updating database...

UPDATE lightcurve_data_v2 SET comment='SUCCESS', photon_flux='1.92e-08', energy_flux2='2.98e-05', photon_flux_error='1.56e-08', dlogl='8.61e-03', energy_flux='3.28e-05', photon_flux2='2.20e-08', job_status='DONE', time_completed='2021-09-09 08:53:08.331288', photon_index_error2='0.69', photon_index2='1.73', ts='9.60', fit_tolerance='1e-08', GAL='1.06', photon_index_error='0.00', energy_flux_error2='3.20e-05', EG='0.77', time_epoch_completed='1631202788.33', return_code='0', job_id='328293', GAL2='1.06', EG2='0.77', return_code2='0', energy_flux_error='2.67e-05', photon_flux_error2='2.84e-08', ts2='9.61', photon_index='1.64' WHERE bin_id='973' AND source_name='4FGL J1418.4-0233' AND cadence='daily';

Database successfully updated.


Analysis Complete.


Thu Sep  9 08:53:08 PDT 2021


------------------------------------------------------------
Sender: LSF System <lsf@bullet0162>
Subject: Job 328293: <4FGL_J1418.4-0233_daily_bin973> in cluster <slac> Done

Job <4FGL_J1418.4-0233_daily_bin973> was submitted from host <rhel6-64e> by user <kocevski> in cluster <slac> at Thu Sep  9 08:40:55 2021
Job was executed on host(s) <bullet0162>, in queue <medium>, as user <kocevski> in cluster <slac> at Thu Sep  9 08:40:56 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:56 2021
Terminated at Thu Sep  9 08:53:09 2021
Results reported at Thu Sep  9 08:53:09 2021

Your job looked like:

------------------------------------------------------------
# LSBATCH: User input
/nfs/farm/g/glast/g/LCRepository/Likelihood/Scripts/LikelihoodAnalysis.py 4FGL_J1418.4-0233_daily_bin973 214.606 -2.5594 491529601 491788801 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 :                                   494.00 sec.
    Max Memory :                                 1256 MB
    Average Memory :                             217.67 MB
    Total Requested Memory :                     -
    Delta Memory :                               -
    Max Swap :                                   -
    Max Processes :                              5
    Max Threads :                                21
    Run time :                                   732 sec.
    Turnaround time :                            734 sec.

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

