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


Performing analysis on: 4FGL_J1418.4-0233_daily_bin997
RA = 214.606, Dec = -2.5594
tmin = 497750401, tmax = 498009601
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='328326', job_status='RUN', time_executed='2021-09-09 08:41:17.791970', time_epoch_executed='1631202077.79' WHERE source_name='4FGL J1418.4-0233' and cadence='daily' and bin_id='997'

Database successfully updated.
Done.

Creating custom output directory:
/scratch/kocevski/328326

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

Retrieving the FT1 file...

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

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

Retrieving 47 files...
Done.


Merging files...

Checksum keywords updated successfully.

Merged file saved to:
/scratch/kocevski/328326/ft1_4FGL_J1418.4-0233_daily_bin997.fits


Retrieving the FT1 file...

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

Retrieving 47 files...
Done.


Merging files...

Merged file saved to:
/scratch/kocevski/328326/ft2_4FGL_J1418.4-0233_daily_bin997.fits


Selecting the photons:
time -p gtselect infile=/scratch/kocevski/328326/ft1_4FGL_J1418.4-0233_daily_bin997.fits outfile=/scratch/kocevski/328326/ft1_filteredMKT_4FGL_J1418.4-0233_daily_bin997.fits ra=214.606 dec=-2.5594 rad=12.0 tmin=497750401.0 tmax=498009601.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 4.65
user 4.34
sys 0.29

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

Selecting the good time intervals:
time -p gtmktime scfile=/scratch/kocevski/328326/ft2_4FGL_J1418.4-0233_daily_bin997.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/328326/ft1_filteredMKT_4FGL_J1418.4-0233_daily_bin997.fits evtable="EVENTS" outfile="/scratch/kocevski/328326/ft1_filtered_4FGL_J1418.4-0233_daily_bin997.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.50
user 0.34
sys 0.15

Generating the livetime cube:
time -p gtltcube evfile="/scratch/kocevski/328326/ft1_filtered_4FGL_J1418.4-0233_daily_bin997.fits" evtable="EVENTS" scfile=/scratch/kocevski/328326/ft2_4FGL_J1418.4-0233_daily_bin997.fits sctable="SC_DATA" outfile=/scratch/kocevski/328326/ltcube_497750401_498009601_4FGL_J1418.4-0233_daily_bin997.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/328326/ft2_4FGL_J1418.4-0233_daily_bin997.fits
.....................!
real 15.06
user 14.59
sys 0.35

Generating the exposure map:
time -p gtexpmap evfile=/scratch/kocevski/328326/ft1_filtered_4FGL_J1418.4-0233_daily_bin997.fits evtable="EVENTS" scfile=/scratch/kocevski/328326/ft2_4FGL_J1418.4-0233_daily_bin997.fits sctable="SC_DATA" expcube=/scratch/kocevski/328326/ltcube_497750401_498009601_4FGL_J1418.4-0233_daily_bin997.fits outfile=/scratch/kocevski/328326/expmap_497750401_498009601_4FGL_J1418.4-0233_daily_bin997.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/328326/ltcube_497750401_498009601_4FGL_J1418.4-0233_daily_bin997.fits
.....................!
real 191.81
user 186.51
sys 4.77

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/328326/ft1_filtered_4FGL_J1418.4-0233_daily_bin997.fits scfile=/scratch/kocevski/328326/ft2_4FGL_J1418.4-0233_daily_bin997.fits outfile=/scratch/kocevski/328326/cmap_497750401_498009601_4FGL_J1418.4-0233_daily_bin997.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.36
sys 0.16

Creating the high resolution counts map:
time -p gtbin evfile=/scratch/kocevski/328326/ft1_filtered_4FGL_J1418.4-0233_daily_bin997.fits scfile=/scratch/kocevski/328326/ft2_4FGL_J1418.4-0233_daily_bin997.fits outfile=/scratch/kocevski/328326/cmap_HighResolution_497750401_498009601_4FGL_J1418.4-0233_daily_bin997.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.55
user 0.38
sys 0.16

Computing the diffuse response:
time -p gtdiffrsp evfile=/scratch/kocevski/328326/ft1_filtered_4FGL_J1418.4-0233_daily_bin997.fits evtable="EVENTS" scfile=/scratch/kocevski/328326/ft2_4FGL_J1418.4-0233_daily_bin997.fits sctable="SC_DATA" srcmdl=/scratch/kocevski/328326/Model_4FGL_J1418.4-0233_daily_bin997.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/328326/ft1_filtered_4FGL_J1418.4-0233_daily_bin997.fits.....................!
real 50.38
user 48.99
sys 1.18

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

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

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

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'norm      '    2.6734       1.0000         .10000E-03   10000.    
     2 'norm      '    .10001E-03   1.0000         .10000E-03   10000.    
     3 'Prefactor '    1.3678       1.0000         .10000E-03   10000.    
     4 'Prefactor '    .10065E-03   1.0000         .10000E-03   10000.    
     5 'norm      '    .10021E-03   1.0000         .10000E-03   10000.    
     6 'Prefactor '    .91062E-02   1.0000         .10000E-03   10000.    
     7 'norm      '    3.1816       1.0000         .10000E-03   10000.    
     8 'Prefactor '    6.7625       1.0000         .10000E-03   10000.    
     9 'norm      '    8.1783       1.0000         .10000E-03   10000.    
    10 'norm      '    11.510       1.0000         .10000E-03   10000.    
    11 'Prefactor '    46.799       1.0000         .10000E-03   10000.    
    12 'Prefactor '    44.385       1.0000         .10000E-03   10000.    
    13 'norm      '    29.933       1.0000         .10000E-03   10000.    
    14 'Prefactor '    99.152       1.0000         .10000E-03   10000.    
    15 'Prefactor '    .10418E-03   1.0000         .10000E-03   10000.    
    16 'norm      '    12.746       1.0000         .10000E-03   10000.    
    17 'Normalizat'    1.8953       1.0000         .10000E-01   10.000    
    18 'Prefactor '    .55472       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=   5828.502     FROM MIGRAD    STATUS=CONVERGED    350 CALLS     1787 TOTAL
                     EDM=   .10E-08  STRATEGY=1  ERROR MATRIX UNCERTAINTY=  1.2%

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  norm          2.6742        2.5775       -.61848E-07   -.64038E-03
   2  norm          .10000E-03    13.534        .26675E-05** at limit **
   3  Prefactor     1.3705        12.477        .18095E-04   -.40659E-03
   4  Prefactor     .10000E-03    16.769       -.49602E-05** at limit **
   5  norm          .10000E-03    3.0021       -.34261E-06** at limit **
   6  Prefactor     .10007E-03    10.962        .13152E-05** at limit **
   7  norm          3.1829        3.1669       -.12799E-06   -.68602E-03
   8  Prefactor     6.7506        21.960       -.89086E-05   -.17434E-03
   9  norm          8.1783        8.0848       -.57130E-07    .46208E-04
  10  norm          11.511        9.4320        .60868E-06   -.94589E-04
  11  Prefactor     46.804        33.514        .34430E-05    .44851E-04
  12  Prefactor     44.378        29.708       -.51779E-05   -.24525E-03
  13  norm          29.935        25.343        .81380E-06    .22615E-04
  14  Prefactor     99.173        83.559        .18870E-04    .15962E-03
  15  Prefactor     .10000E-03    26.676        .46744E-05** at limit **
  16  norm          12.746        20.306       -.81724E-06   -.73923E-04
  17  Normalizat    1.8947        .26156       -.36789E-05   -.18126E-03
  18  Prefactor     .55500        .13604        .52986E-06   -.43578E-03
                               ERR DEF=  .500    
Final values: 
  norm       = 2.67417
  norm       = 0.0001
  Prefactor  = 1.37054
  Prefactor  = 0.0001
  norm       = 0.0001
  Prefactor  = 0.000100069
  norm       = 3.18294
  Prefactor  = 6.75059
  norm       = 8.17831
  norm       = 11.5111
  Prefactor  = 46.804
  Prefactor  = 44.3781
  norm       = 29.9352
  Prefactor  = 99.1726
  Prefactor  = 0.0001
  norm       = 12.7464
  Normalizat = 1.89473
  Prefactor  = 0.554999
 **********
 **   18 **HESSE 
 **********

 FCN=   5828.502     FROM HESSE     STATUS=OK           248 CALLS     2035 TOTAL
                     EDM=   .31E-08    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  norm          2.6742        2.5732        .11555E-03   -1.5381    
   2  norm          .10000E-03    13.547        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   3  Prefactor     1.3705        11.146        .37296E-03   -1.5474    
   4  Prefactor     .10000E-03    16.813        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   5  norm          .10000E-03    3.0092        .12916E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   6  Prefactor     .10007E-03    59.028        .47900E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   7  norm          3.1829        3.1594        .12805E-03   -1.5351    
   8  Prefactor     6.7506        21.982        .15430E-03   -1.5188    
   9  norm          8.1783        8.0881        .14019E-03   -1.5136    
  10  norm          11.511        9.4209        .11808E-03   -1.5029    
  11  Prefactor     46.804        33.703        .58612E-04   -1.4339    
  12  Prefactor     44.378        29.758        .60178E-04   -1.4375    
  13  norm          29.935        25.340        .73232E-04   -1.4613    
  14  Prefactor     99.173        84.211        .40372E-04   -1.3713    
  15  Prefactor     .10000E-03    26.704        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  16  norm          12.746        20.284        .11220E-03   -1.4994    
  17  Normalizat    1.8947        .30334        .26972E-03   -.67216    
  18  Prefactor     .55500        .15790        .25200E-03   -1.0952    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 3.07243e-09
Minuit parameter uncertainties:
  1  2.57327
  2  7.26622e-05
  3  7.81875
  4  9.1513e-05
  5  5.87099e-05
  6  0.00403552
  7  3.15959
  8  22.0079
  9  8.08923
  10  9.42216
  11  33.7172
  12  29.768
  13  25.3491
  14  84.3126
  15  0.000155585
  16  20.2949
  17  0.303645
  18  0.15803
Done.

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

Extracting fit parameters...

4FGL J1418.4-0233
   Spectrum: LogParabola
269         norm:  8.178e+00  8.089e+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:  5.550e-01  1.580e-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:  1.895e+00  3.036e-01  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Fixed Index): 10.63
Ra Dec: 214.606 -2.559
Photon Index (Fixed Index): 1.64 +/- 0.00
Photon Flux (Fixed Index): 1.13e-08 +/- 1.11e-08
Energy Flux (Fixed Index): 1.93e-05 +/- 1.91e-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) = 5827.12058096
delta logL = 1.3814505106

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

MINUIT Return Code (Free Index): 0
logL (Free Index) = 5826.63217979
delta logL = 1.86985167877

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'norm      '    1.3061       1.0000         .10000E-03   10000.    
     2 'alpha     '    .16303       1.0000          .0000       5.0000    
     3 'Normalizat'    1.8945       1.0000         .10000E-01   10.000    
     4 'Prefactor '    .55840       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=   5826.632     FROM MIGRAD    STATUS=CONVERGED     51 CALLS      215 TOTAL
                     EDM=   .24E-08    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  norm          1.3054        2.3539        .96542E-02   -.39164E-03
   2  alpha         .16191        .83645        .50000        .63321E-04
   3  Normalizat    1.8943        .24458        .60990E-01   -.15195E-03
   4  Prefactor     .55845        .13387        .40484E-01   -.80963E-04
                               ERR DEF=  .500    
Final values: 
  norm       = 1.30543
  alpha      = 0.161912
  Normalizat = 1.89435
  Prefactor  = 0.558453
 **********
 **   18 **HESSE 
 **********

 FCN=   5826.632     FROM HESSE     STATUS=OK            33 CALLS      248 TOTAL
                     EDM=   .13E-09    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  norm          1.3054        3.4737        .83128E-03   -1.5479    
   2  alpha         .16191        2.7369        .35234E-01   -1.2089    
   3  Normalizat    1.8943        .28303        .26968E-03   -.67226    
   4  Prefactor     .55845        .15490        .25122E-03   -1.0937    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 1.28533e-10
Minuit parameter uncertainties:
  1  3.47426
  2  0.965703
  3  0.283282
  4  0.155013
shell-init: error retrieving current directory: getcwd: cannot access parent directories: No such file or directory
rmdir: failed to remove `/scratch/kocevski/328326': 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) = 5826.63217628
delta logL = 1.86985519125

Extracting fit parameters...

4FGL J1418.4-0233
   Spectrum: LogParabola
269         norm:  1.305e+00  3.474e+00  1.000e-04  1.000e+04 ( 1.000e-13)
270        alpha:  1.619e-01  9.657e-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:  5.585e-01  1.550e-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:  1.894e+00  2.833e-01  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Free Index): 14.36
Ra Dec: 214.606 -2.559
Photon Index (Free Index): 0.16 +/- 0.97
Photon Flux (Free Index): 4.18e-09 +/- 4.23e-09
Energy Flux (Free Index): 1.45e-04 +/- 1.78e-04

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/328326/cmap_HighResolution_497750401_498009601_4FGL_J1418.4-0233_daily_bin997.png

Cleaning up...

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

Updating database...

UPDATE lightcurve_data_v2 SET comment='SUCCESS', photon_flux='1.13e-08', energy_flux2='1.45e-04', photon_flux_error='1.11e-08', dlogl='1.87e+00', energy_flux='1.93e-05', photon_flux2='4.18e-09', job_status='DONE', time_completed='2021-09-09 08:50:19.914703', photon_index_error2='0.97', photon_index2='0.16', ts='10.63', fit_tolerance='1e-08', GAL='0.55', photon_index_error='0.00', energy_flux_error2='1.78e-04', EG='1.89', time_epoch_completed='1631202619.91', return_code='0', job_id='328326', GAL2='0.56', EG2='1.89', return_code2='0', energy_flux_error='1.91e-05', photon_flux_error2='4.23e-09', ts2='14.36', photon_index='1.64' WHERE bin_id='997' AND source_name='4FGL J1418.4-0233' AND cadence='daily';

Database successfully updated.


Analysis Complete.


Thu Sep  9 08:50:19 PDT 2021


------------------------------------------------------------
Sender: LSF System <lsf@bullet0232>
Subject: Job 328326: <4FGL_J1418.4-0233_daily_bin997> in cluster <slac> Done

Job <4FGL_J1418.4-0233_daily_bin997> was submitted from host <rhel6-64e> by user <kocevski> in cluster <slac> at Thu Sep  9 08:40:57 2021
Job was executed on host(s) <bullet0232>, in queue <medium>, as user <kocevski> in cluster <slac> at Thu Sep  9 08:40:58 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:58 2021
Terminated at Thu Sep  9 08:50:20 2021
Results reported at Thu Sep  9 08:50:20 2021

Your job looked like:

------------------------------------------------------------
# LSBATCH: User input
/nfs/farm/g/glast/g/LCRepository/Likelihood/Scripts/LikelihoodAnalysis.py 4FGL_J1418.4-0233_daily_bin997 214.606 -2.5594 497750401 498009601 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 :                                   490.12 sec.
    Max Memory :                                 1094 MB
    Average Memory :                             275.56 MB
    Total Requested Memory :                     -
    Delta Memory :                               -
    Max Swap :                                   -
    Max Processes :                              5
    Max Threads :                                21
    Run time :                                   562 sec.
    Turnaround time :                            563 sec.

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

