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


Performing analysis on: 4FGL_J1418.4-0233_daily_bin1278
RA = 214.606, Dec = -2.5594
tmin = 570585601, tmax = 570844801
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='329864', job_status='RUN', time_executed='2021-09-09 08:46:03.783180', time_epoch_executed='1631202363.78' WHERE source_name='4FGL J1418.4-0233' and cadence='daily' and bin_id='1278'

Database successfully updated.
Done.

Creating custom output directory:
/scratch/kocevski/329864

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

Retrieving the FT1 file...

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

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

Retrieving 46 files...
Done.


Merging files...

Checksum keywords updated successfully.

Merged file saved to:
/scratch/kocevski/329864/ft1_4FGL_J1418.4-0233_daily_bin1278.fits


Retrieving the FT1 file...

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

Retrieving 46 files...
Done.


Merging files...

Merged file saved to:
/scratch/kocevski/329864/ft2_4FGL_J1418.4-0233_daily_bin1278.fits


Selecting the photons:
time -p gtselect infile=/scratch/kocevski/329864/ft1_4FGL_J1418.4-0233_daily_bin1278.fits outfile=/scratch/kocevski/329864/ft1_filteredMKT_4FGL_J1418.4-0233_daily_bin1278.fits ra=214.606 dec=-2.5594 rad=12.0 tmin=570585601.0 tmax=570844801.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.05
user 2.79
sys 0.21

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

Selecting the good time intervals:
time -p gtmktime scfile=/scratch/kocevski/329864/ft2_4FGL_J1418.4-0233_daily_bin1278.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/329864/ft1_filteredMKT_4FGL_J1418.4-0233_daily_bin1278.fits evtable="EVENTS" outfile="/scratch/kocevski/329864/ft1_filtered_4FGL_J1418.4-0233_daily_bin1278.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.52
user 0.33
sys 0.17

Generating the livetime cube:
time -p gtltcube evfile="/scratch/kocevski/329864/ft1_filtered_4FGL_J1418.4-0233_daily_bin1278.fits" evtable="EVENTS" scfile=/scratch/kocevski/329864/ft2_4FGL_J1418.4-0233_daily_bin1278.fits sctable="SC_DATA" outfile=/scratch/kocevski/329864/ltcube_570585601_570844801_4FGL_J1418.4-0233_daily_bin1278.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/329864/ft2_4FGL_J1418.4-0233_daily_bin1278.fits
.....................!
real 12.20
user 11.83
sys 0.33

Generating the exposure map:
time -p gtexpmap evfile=/scratch/kocevski/329864/ft1_filtered_4FGL_J1418.4-0233_daily_bin1278.fits evtable="EVENTS" scfile=/scratch/kocevski/329864/ft2_4FGL_J1418.4-0233_daily_bin1278.fits sctable="SC_DATA" expcube=/scratch/kocevski/329864/ltcube_570585601_570844801_4FGL_J1418.4-0233_daily_bin1278.fits outfile=/scratch/kocevski/329864/expmap_570585601_570844801_4FGL_J1418.4-0233_daily_bin1278.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/329864/ltcube_570585601_570844801_4FGL_J1418.4-0233_daily_bin1278.fits
.....................!
real 193.06
user 187.11
sys 5.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/329864/ft1_filtered_4FGL_J1418.4-0233_daily_bin1278.fits scfile=/scratch/kocevski/329864/ft2_4FGL_J1418.4-0233_daily_bin1278.fits outfile=/scratch/kocevski/329864/cmap_570585601_570844801_4FGL_J1418.4-0233_daily_bin1278.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.53
user 0.37
sys 0.15

Creating the high resolution counts map:
time -p gtbin evfile=/scratch/kocevski/329864/ft1_filtered_4FGL_J1418.4-0233_daily_bin1278.fits scfile=/scratch/kocevski/329864/ft2_4FGL_J1418.4-0233_daily_bin1278.fits outfile=/scratch/kocevski/329864/cmap_HighResolution_570585601_570844801_4FGL_J1418.4-0233_daily_bin1278.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.39
sys 0.14

Computing the diffuse response:
time -p gtdiffrsp evfile=/scratch/kocevski/329864/ft1_filtered_4FGL_J1418.4-0233_daily_bin1278.fits evtable="EVENTS" scfile=/scratch/kocevski/329864/ft2_4FGL_J1418.4-0233_daily_bin1278.fits sctable="SC_DATA" srcmdl=/scratch/kocevski/329864/Model_4FGL_J1418.4-0233_daily_bin1278.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/329864/ft1_filtered_4FGL_J1418.4-0233_daily_bin1278.fits.....................!
real 57.09
user 55.77
sys 1.16

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

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

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

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'norm      '    .55583       1.0000         .10000E-03   10000.    
     2 'norm      '    .10000E-03   1.0000         .10000E-03   10000.    
     3 'Prefactor '    1.1652       1.0000         .10000E-03   10000.    
     4 'Prefactor '    .10001E-03   1.0000         .10000E-03   10000.    
     5 'norm      '    5.0757       1.0000         .10000E-03   10000.    
     6 'Prefactor '    14.412       1.0000         .10000E-03   10000.    
     7 'norm      '    3.1515       1.0000         .10000E-03   10000.    
     8 'Prefactor '    15.715       1.0000         .10000E-03   10000.    
     9 'norm      '    21.102       1.0000         .10000E-03   10000.    
    10 'norm      '    18.547       1.0000         .10000E-03   10000.    
    11 'Prefactor '    15.166       1.0000         .10000E-03   10000.    
    12 'Prefactor '    .10000E-03   1.0000         .10000E-03   10000.    
    13 'norm      '    53.411       1.0000         .10000E-03   10000.    
    14 'Prefactor '    41.920       1.0000         .10000E-03   10000.    
    15 'Prefactor '    .10000E-03   1.0000         .10000E-03   10000.    
    16 'norm      '    .13145E-03   1.0000         .10000E-03   10000.    
    17 'Normalizat'    .97480       1.0000         .10000E-01   10.000    
    18 'Prefactor '    1.0631       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=   7470.656     FROM MIGRAD    STATUS=CONVERGED    351 CALLS     1768 TOTAL
                     EDM=   .80E-10  STRATEGY=1  ERROR MATRIX UNCERTAINTY=  1.7%

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  norm          .55586        1.5103       -.18321E-06   -.10912E-03
   2  norm          .10000E-03    12.251        .16871E-04** at limit **
   3  Prefactor     1.1642        .73277        .62528E-07   -.12266E-02
   4  Prefactor     .10000E-03    8.1825        .11092E-05** at limit **
   5  norm          5.0750        6.2374        .78487E-06   -.46070E-05
   6  Prefactor     14.414        13.576       -.36986E-05   -.27887E-05
   7  norm          3.1515        2.5026       -.89988E-07   -.18207E-04
   8  Prefactor     15.715        24.913       -.98909E-06    .12523E-04
   9  norm          21.102        12.526       -.78841E-07    .24363E-05
  10  norm          18.547        8.2864       -.92812E-07    .46982E-05
  11  Prefactor     15.166        24.608        .41761E-07    .10085E-04
  12  Prefactor     .10000E-03    5.8159       -.14042E-06** at limit **
  13  norm          53.411        24.814        .14704E-06    .19776E-04
  14  Prefactor     41.920        45.522       -.15658E-06    .18667E-04
  15  Prefactor     .10000E-03    11.818       -.17123E-04** at limit **
  16  norm          .10004E-03    10.637       -.41217E-06** at limit **
  17  Normalizat    .97477        .21151        .14588E-05    .27692E-04
  18  Prefactor     1.0631        .11838       -.28263E-06    .15512E-03
                               ERR DEF=  .500    
Final values: 
  norm       = 0.55586
  norm       = 0.0001
  Prefactor  = 1.1642
  Prefactor  = 0.0001
  norm       = 5.07499
  Prefactor  = 14.4143
  norm       = 3.15148
  Prefactor  = 15.7152
  norm       = 21.1019
  norm       = 18.5467
  Prefactor  = 15.1663
  Prefactor  = 0.0001
  norm       = 53.411
  Prefactor  = 41.92
  Prefactor  = 0.0001
  norm       = 0.000100038
  Normalizat = 0.974768
  Prefactor  = 1.06307
 **********
 **   18 **HESSE 
 **********

 FCN=   7470.656     FROM HESSE     STATUS=OK           248 CALLS     2016 TOTAL
                     EDM=   .47E-08    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  norm          .55586        1.4717        .16901E-03   -1.5559    
   2  norm          .10000E-03    12.253        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   3  Prefactor     1.1642        7.7683        .20776E-02   -1.5492    
   4  Prefactor     .10000E-03    8.2016        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   5  norm          5.0750        6.7963        .17847E-03   -1.5257    
   6  Prefactor     14.414        13.590        .10551E-03   -1.4948    
   7  norm          3.1515        2.4958        .11546E-03   -1.5353    
   8  Prefactor     15.715        24.974        .10103E-03   -1.4915    
   9  norm          21.102        12.526        .87193E-04   -1.4789    
  10  norm          18.547        8.2810        .93000E-04   -1.4846    
  11  Prefactor     15.166        24.735        .51423E-03   -1.4929    
  12  Prefactor     .10000E-03    5.8230        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  13  norm          53.411        24.809        .54882E-04   -1.4245    
  14  Prefactor     41.920        45.539        .61914E-04   -1.4412    
  15  Prefactor     .10000E-03    11.825        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  16  norm          .10004E-03    79.051        .54572E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  17  Normalizat    .97477        .24767        .33079E-03   -.93881    
  18  Prefactor     1.0631        .13792        .18800E-03   -.90656    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 4.67146e-09
Minuit parameter uncertainties:
  1  1.47178
  2  1.89174e-07
  3  6.01548
  4  1.98086e-05
  5  6.79729
  6  13.5933
  7  2.49583
  8  24.9909
  9  12.5276
  10  8.28152
  11  24.7521
  12  1.85371e-06
  13  24.8138
  14  45.5763
  15  2.59083e-06
  16  0.00347
  17  0.24796
  18  0.137969
Done.

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

Extracting fit parameters...

4FGL J1418.4-0233
   Spectrum: LogParabola
269         norm:  2.110e+01  1.253e+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.063e+00  1.380e-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:  9.748e-01  2.480e-01  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Fixed Index): 9.36
Ra Dec: 214.606 -2.559
Photon Index (Fixed Index): 1.64 +/- 0.00
Photon Flux (Fixed Index): 2.90e-08 +/- 1.72e-08
Energy Flux (Fixed Index): 4.97e-05 +/- 2.95e-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) = 7470.65562193
delta logL = 0.000487508911647

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

MINUIT Return Code (Free Index): 0
logL (Free Index) = 7470.65560807
delta logL = 0.00050136741811

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'norm      '    21.139       1.0000         .10000E-03   10000.    
     2 'alpha     '    1.6208       1.0000          .0000       5.0000    
     3 'Normalizat'    .97522       1.0000         .10000E-01   10.000    
     4 'Prefactor '    1.0631       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=   7470.656     FROM MIGRAD    STATUS=CONVERGED     59 CALLS      229 TOTAL
                     EDM=   .47E-09    STRATEGY= 1      ERR MATRIX NOT POS-DEF

  EXT PARAMETER                APPROXIMATE        STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  norm          21.156        390.34        .21779E-02   -.75689E-06
   2  alpha         1.6217        3.0962        .29710        .78658E-05
   3  Normalizat    .97511        .25056        .74742E-01    .21926E-04
   4  Prefactor     1.0631        .88461E-01    .39198E-01   -.73921E-05
                               ERR DEF=  .500    
Final values: 
  norm       = 21.1558
  alpha      = 1.62172
  Normalizat = 0.975108
  Prefactor  = 1.06309
 **********
 **   18 **HESSE 
 **********

 FCN=   7470.656     FROM HESSE     STATUS=OK            31 CALLS      260 TOTAL
                     EDM=   .23E-12    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  norm          21.156        12.742        .87117E-04   -1.4788    
   2  alpha         1.6217        .56642        .16589E-01   -.35897    
   3  Normalizat    .97511        .22863        .33074E-03   -.93869    
   4  Prefactor     1.0631        .13590        .18800E-03   -.90655    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 2.32385e-13
Minuit parameter uncertainties:
  1  12.7438
  2  0.572102
  3  0.228855
  4  0.135945
shell-init: error retrieving current directory: getcwd: cannot access parent directories: No such file or directory
rmdir: failed to remove `/scratch/kocevski/329864': 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) = 7470.65560553
delta logL = 0.000503909068357

Extracting fit parameters...

4FGL J1418.4-0233
   Spectrum: LogParabola
269         norm:  2.116e+01  1.274e+01  1.000e-04  1.000e+04 ( 1.000e-13)
270        alpha:  1.622e+00  5.721e-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.063e+00  1.359e-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:  9.751e-01  2.289e-01  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Free Index): 9.35
Ra Dec: 214.606 -2.559
Photon Index (Free Index): 1.62 +/- 0.57
Photon Flux (Free Index): 2.85e-08 +/- 2.44e-08
Energy Flux (Free Index): 5.11e-05 +/- 5.50e-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/329864/cmap_HighResolution_570585601_570844801_4FGL_J1418.4-0233_daily_bin1278.png

Cleaning up...

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

Updating database...

UPDATE lightcurve_data_v2 SET comment='SUCCESS', photon_flux='2.90e-08', energy_flux2='5.11e-05', photon_flux_error='1.72e-08', dlogl='5.04e-04', energy_flux='4.97e-05', photon_flux2='2.85e-08', job_status='DONE', time_completed='2021-09-09 08:54:53.986638', photon_index_error2='0.57', photon_index2='1.62', ts='9.36', fit_tolerance='1e-08', GAL='1.06', photon_index_error='0.00', energy_flux_error2='5.50e-05', EG='0.97', time_epoch_completed='1631202893.99', return_code='0', job_id='329864', GAL2='1.06', EG2='0.98', return_code2='0', energy_flux_error='2.95e-05', photon_flux_error2='2.44e-08', ts2='9.35', photon_index='1.64' WHERE bin_id='1278' AND source_name='4FGL J1418.4-0233' AND cadence='daily';

Database successfully updated.


Analysis Complete.


Thu Sep  9 08:54:54 PDT 2021


------------------------------------------------------------
Sender: LSF System <lsf@bullet0227>
Subject: Job 329864: <4FGL_J1418.4-0233_daily_bin1278> in cluster <slac> Done

Job <4FGL_J1418.4-0233_daily_bin1278> was submitted from host <rhel6-64p> by user <kocevski> in cluster <slac> at Thu Sep  9 08:45:45 2021
Job was executed on host(s) <bullet0227>, in queue <medium>, as user <kocevski> in cluster <slac> at Thu Sep  9 08:45:47 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:45:47 2021
Terminated at Thu Sep  9 08:54:57 2021
Results reported at Thu Sep  9 08:54:57 2021

Your job looked like:

------------------------------------------------------------
# LSBATCH: User input
/nfs/farm/g/glast/g/LCRepository/Likelihood/Scripts/LikelihoodAnalysis.py 4FGL_J1418.4-0233_daily_bin1278 214.606 -2.5594 570585601 570844801 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 :                                   523.00 sec.
    Max Memory :                                 1093 MB
    Average Memory :                             343.41 MB
    Total Requested Memory :                     -
    Delta Memory :                               -
    Max Swap :                                   -
    Max Processes :                              5
    Max Threads :                                21
    Run time :                                   547 sec.
    Turnaround time :                            552 sec.

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

