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


Performing analysis on: 4FGL_J1418.4-0233_daily_bin970
RA = 214.606, Dec = -2.5594
tmin = 490752001, tmax = 491011201
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='328286', job_status='RUN', time_executed='2021-09-09 08:43:05.457669', time_epoch_executed='1631202185.46' WHERE source_name='4FGL J1418.4-0233' and cadence='daily' and bin_id='970'

Database successfully updated.
Done.

Creating custom output directory:
/scratch/kocevski/328286

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

Retrieving the FT1 file...

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

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

Retrieving 46 files...
Done.


Merging files...

Checksum keywords updated successfully.

Merged file saved to:
/scratch/kocevski/328286/ft1_4FGL_J1418.4-0233_daily_bin970.fits


Retrieving the FT1 file...

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

Retrieving 46 files...
Done.


Merging files...

Merged file saved to:
/scratch/kocevski/328286/ft2_4FGL_J1418.4-0233_daily_bin970.fits


Selecting the photons:
time -p gtselect infile=/scratch/kocevski/328286/ft1_4FGL_J1418.4-0233_daily_bin970.fits outfile=/scratch/kocevski/328286/ft1_filteredMKT_4FGL_J1418.4-0233_daily_bin970.fits ra=214.606 dec=-2.5594 rad=12.0 tmin=490752001.0 tmax=491011201.0 emin=100.0 emax=100000.0 zmin=0.0 zmax=90.0 evclass=128 evtype="INDEF" convtype=-1 phasemin=0.0 phasemax=1.0 evtable="EVENTS" chatter=2 clobber=yes debug=no gui=no mode="ql"

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

Done.
real 5.81
user 5.52
sys 0.24

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

Selecting the good time intervals:
time -p gtmktime scfile=/scratch/kocevski/328286/ft2_4FGL_J1418.4-0233_daily_bin970.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/328286/ft1_filteredMKT_4FGL_J1418.4-0233_daily_bin970.fits evtable="EVENTS" outfile="/scratch/kocevski/328286/ft1_filtered_4FGL_J1418.4-0233_daily_bin970.fits" apply_filter=yes overwrite=yes header_obstimes=yes tstart=0.0 tstop=0.0 gtifile="default" chatter=3 clobber=yes debug=no gui=no mode="ql"

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

This is gtmktime version HEAD
Applying GTI filter:
IN_SAA!=T && LIVETIME>0 && gtifilter('/nfs/farm/g/glast/g/LCRepository/Likelihood/GTIs/nogrb.gti',(START+STOP)/2) && (angsep(RA_SUN,DEC_SUN,RA_ZENITH,DEC_ZENITH)>115 || gtifilter('/nfs/farm/g/glast/g/LCRepository/Likelihood/GTIs/nosolarflares.gti',(START+STOP)/2))
real 0.49
user 0.33
sys 0.15

Generating the livetime cube:
time -p gtltcube evfile="/scratch/kocevski/328286/ft1_filtered_4FGL_J1418.4-0233_daily_bin970.fits" evtable="EVENTS" scfile=/scratch/kocevski/328286/ft2_4FGL_J1418.4-0233_daily_bin970.fits sctable="SC_DATA" outfile=/scratch/kocevski/328286/ltcube_490752001_491011201_4FGL_J1418.4-0233_daily_bin970.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/328286/ft2_4FGL_J1418.4-0233_daily_bin970.fits
.....................!
real 12.00
user 11.56
sys 0.34

Generating the exposure map:
time -p gtexpmap evfile=/scratch/kocevski/328286/ft1_filtered_4FGL_J1418.4-0233_daily_bin970.fits evtable="EVENTS" scfile=/scratch/kocevski/328286/ft2_4FGL_J1418.4-0233_daily_bin970.fits sctable="SC_DATA" expcube=/scratch/kocevski/328286/ltcube_490752001_491011201_4FGL_J1418.4-0233_daily_bin970.fits outfile=/scratch/kocevski/328286/expmap_490752001_491011201_4FGL_J1418.4-0233_daily_bin970.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/328286/ltcube_490752001_491011201_4FGL_J1418.4-0233_daily_bin970.fits
.....................!
real 188.63
user 184.39
sys 3.88

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/328286/ft1_filtered_4FGL_J1418.4-0233_daily_bin970.fits scfile=/scratch/kocevski/328286/ft2_4FGL_J1418.4-0233_daily_bin970.fits outfile=/scratch/kocevski/328286/cmap_490752001_491011201_4FGL_J1418.4-0233_daily_bin970.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.14

Creating the high resolution counts map:
time -p gtbin evfile=/scratch/kocevski/328286/ft1_filtered_4FGL_J1418.4-0233_daily_bin970.fits scfile=/scratch/kocevski/328286/ft2_4FGL_J1418.4-0233_daily_bin970.fits outfile=/scratch/kocevski/328286/cmap_HighResolution_490752001_491011201_4FGL_J1418.4-0233_daily_bin970.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.59
user 0.37
sys 0.15

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

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

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

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

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'norm      '    .32478       1.0000         .10000E-03   10000.    
     2 'norm      '    37.493       1.0000         .10000E-03   10000.    
     3 'Prefactor '    1.4517       1.0000         .10000E-03   10000.    
     4 'Prefactor '    8.7643       1.0000         .10000E-03   10000.    
     5 'norm      '    1.3194       1.0000         .10000E-03   10000.    
     6 'Prefactor '    2.4713       1.0000         .10000E-03   10000.    
     7 'norm      '    .10036E-03   1.0000         .10000E-03   10000.    
     8 'Prefactor '    .10000E-03   1.0000         .10000E-03   10000.    
     9 'norm      '    9.0070       1.0000         .10000E-03   10000.    
    10 'norm      '    7.3011       1.0000         .10000E-03   10000.    
    11 'Prefactor '    .90637       1.0000         .10000E-03   10000.    
    12 'Prefactor '    20.162       1.0000         .10000E-03   10000.    
    13 'norm      '    22.159       1.0000         .10000E-03   10000.    
    14 'Prefactor '    .10005E-03   1.0000         .10000E-03   10000.    
    15 'Prefactor '    .10002E-03   1.0000         .10000E-03   10000.    
    16 'norm      '    .10004E-03   1.0000         .10000E-03   10000.    
    17 'Normalizat'    1.0899       1.0000         .10000E-01   10.000    
    18 'Prefactor '    1.0877       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=   12059.09     FROM MIGRAD    STATUS=CONVERGED    355 CALLS     1736 TOTAL
                     EDM=   .14E-07    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  norm          .32475        1.1522        .10533E-01    .37174E-02
   2  norm          37.494        28.304        .16364E-02   -.11525E-03
   3  Prefactor     1.4517        3.5526        .89381E-02    .17528E-02
   4  Prefactor     8.7632        30.174        .33849E-02    .53751E-03
   5  norm          1.3197        3.3650        .95791E-02    .16909E-02
   6  Prefactor     2.4656        19.200        .65026E-02    .45858E-03
   7  norm          .10000E-03    .95568        .34599E-01** at limit **
   8  Prefactor     .10000E-03    11.831        .90712E-02** at limit **
   9  norm          9.0070        6.2969        .33387E-02   -.41740E-04
  10  norm          7.3006        6.1208        .37110E-02    .55007E-03
  11  Prefactor     .89004        8.9920        .12831        .48410E-03
  12  Prefactor     20.162        16.085        .22300E-02    .64228E-03
  13  norm          22.157        14.695        .21273E-02    .14993E-03
  14  Prefactor     .10000E-03    23.848        .90712E-02** at limit **
  15  Prefactor     .10000E-03    10.501        .90712E-02** at limit **
  16  norm          .10000E-03    7.3822        .90712E-02** at limit **
  17  Normalizat    1.0900        .17251        .73253E-01    .31100E-04
  18  Prefactor     1.0877        .94135E-01    .38072E-01    .53078E-05
                               ERR DEF=  .500    
Final values: 
  norm       = 0.324749
  norm       = 37.4937
  Prefactor  = 1.45173
  Prefactor  = 8.76317
  norm       = 1.31972
  Prefactor  = 2.46559
  norm       = 0.0001
  Prefactor  = 0.0001
  norm       = 9.00703
  norm       = 7.30059
  Prefactor  = 0.890036
  Prefactor  = 20.1623
  norm       = 22.157
  Prefactor  = 0.0001
  Prefactor  = 0.0001
  norm       = 0.0001
  Normalizat = 1.09004
  Prefactor  = 1.08766
 **********
 **   18 **HESSE 
 **********

 FCN=   12059.09     FROM HESSE     STATUS=OK           248 CALLS     1984 TOTAL
                     EDM=   .85E-07    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  norm          .32475        1.1192        .21459E-03   -1.5594    
   2  norm          37.494        28.299        .65454E-04   -1.4483    
   3  Prefactor     1.4517        3.4673        .29749E-03   -1.5467    
   4  Prefactor     8.7632        29.698        .13540E-03   -1.5116    
   5  norm          1.3197        3.2696        .29662E-03   -1.5478    
   6  Prefactor     2.4656        18.326        .26010E-03   -1.5394    
   7  norm          .10000E-03    1.8679        .20405E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   8  Prefactor     .10000E-03    11.890        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   9  norm          9.0070        6.2981        .13355E-03   -1.5108    
  10  norm          7.3006        6.0549        .14844E-03   -1.5168    
  11  Prefactor     .89004        45.618        .62837E-02   -1.5519    
  12  Prefactor     20.162        16.072        .89199E-04   -1.4810    
  13  norm          22.157        14.688        .85091E-04   -1.4766    
  14  Prefactor     .10000E-03    23.882        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  15  Prefactor     .10000E-03    10.518        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  16  norm          .10000E-03    7.4065        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  17  Normalizat    1.0900        .20015        .32417E-03   -.90072    
  18  Prefactor     1.0877        .11043        .18780E-03   -.89862    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 8.53071e-08
Minuit parameter uncertainties:
  1  1.11925
  2  28.3096
  3  3.46775
  4  29.7477
  5  3.27
  6  13.4493
  7  6.40897e-08
  8  2.54497e-05
  9  6.29852
  10  6.05541
  11  12.7534
  12  16.0749
  13  14.6905
  14  3.06839e-05
  15  1.6121e-05
  16  1.13901e-06
  17  0.200287
  18  0.110457
Done.

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

Extracting fit parameters...

4FGL J1418.4-0233
   Spectrum: LogParabola
269         norm:  9.007e+00  6.299e+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:  1.088e+00  1.105e-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.090e+00  2.003e-01  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Fixed Index): 11.24
Ra Dec: 214.606 -2.559
Photon Index (Fixed Index): 1.64 +/- 0.00
Photon Flux (Fixed Index): 1.24e-08 +/- 8.67e-09
Energy Flux (Fixed Index): 2.12e-05 +/- 1.48e-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) = 12058.7449513
delta logL = 0.348190382372

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

MINUIT Return Code (Free Index): 0
logL (Free Index) = 12058.712421
delta logL = 0.380720764842

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'norm      '    7.3307       1.0000         .10000E-03   10000.    
     2 'alpha     '    1.1543       1.0000          .0000       5.0000    
     3 'Normalizat'    1.0925       1.0000         .10000E-01   10.000    
     4 'Prefactor '    1.0887       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=   12058.71     FROM MIGRAD    STATUS=CONVERGED     51 CALLS      207 TOTAL
                     EDM=   .78E-08    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  norm          7.3307        5.5649        .37034E-02   -.43843E-02
   2  alpha         1.1546        .41903        .50000       -.57020E-04
   3  Normalizat    1.0925        .16017        .73181E-01    .14961E-03
   4  Prefactor     1.0887        .93102E-01    .38033E-01   -.64623E-04
                               ERR DEF=  .500    
Final values: 
  norm       = 7.33073
  alpha      = 1.15457
  Normalizat = 1.09251
  Prefactor  = 1.08869
 **********
 **   18 **HESSE 
 **********

 FCN=   12058.71     FROM HESSE     STATUS=OK            29 CALLS      236 TOTAL
                     EDM=   .11E-07    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  norm          7.3307        6.4119        .14814E-03   -1.5166    
   2  alpha         1.1546        .53670        .20605E-01   -.56827    
   3  Normalizat    1.0925        .18578        .32385E-03   -.89993    
   4  Prefactor     1.0887        .10826        .18773E-03   -.89829    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 1.07924e-08
Minuit parameter uncertainties:
  1  6.41251
  2  0.542675
  3  0.185895
  4  0.108279
shell-init: error retrieving current directory: getcwd: cannot access parent directories: No such file or directory
rmdir: failed to remove `/scratch/kocevski/328286': 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) = 12058.7124208
delta logL = 0.380720885521

Extracting fit parameters...

4FGL J1418.4-0233
   Spectrum: LogParabola
269         norm:  7.331e+00  6.413e+00  1.000e-04  1.000e+04 ( 1.000e-13)
270        alpha:  1.155e+00  5.427e-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.089e+00  1.083e-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.093e+00  1.859e-01  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Free Index): 12.00
Ra Dec: 214.606 -2.559
Photon Index (Free Index): 1.15 +/- 0.54
Photon Flux (Free Index): 6.92e-09 +/- 6.45e-09
Energy Flux (Free Index): 4.40e-05 +/- 4.86e-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/328286/cmap_HighResolution_490752001_491011201_4FGL_J1418.4-0233_daily_bin970.png

Cleaning up...

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

Updating database...

UPDATE lightcurve_data_v2 SET comment='SUCCESS', photon_flux='1.24e-08', energy_flux2='4.40e-05', photon_flux_error='8.67e-09', dlogl='3.81e-01', energy_flux='2.12e-05', photon_flux2='6.92e-09', job_status='DONE', time_completed='2021-09-09 08:54:28.192677', photon_index_error2='0.54', photon_index2='1.15', ts='11.24', fit_tolerance='1e-08', GAL='1.09', photon_index_error='0.00', energy_flux_error2='4.86e-05', EG='1.09', time_epoch_completed='1631202868.19', return_code='0', job_id='328286', GAL2='1.09', EG2='1.09', return_code2='0', energy_flux_error='1.48e-05', photon_flux_error2='6.45e-09', ts2='12.00', photon_index='1.64' WHERE bin_id='970' AND source_name='4FGL J1418.4-0233' AND cadence='daily';

Database successfully updated.


Analysis Complete.


Thu Sep  9 08:54:28 PDT 2021


------------------------------------------------------------
Sender: LSF System <lsf@bullet0291>
Subject: Job 328286: <4FGL_J1418.4-0233_daily_bin970> in cluster <slac> Done

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

Your job looked like:

------------------------------------------------------------
# LSBATCH: User input
/nfs/farm/g/glast/g/LCRepository/Likelihood/Scripts/LikelihoodAnalysis.py 4FGL_J1418.4-0233_daily_bin970 214.606 -2.5594 490752001 491011201 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 :                                   654.00 sec.
    Max Memory :                                 1094 MB
    Average Memory :                             290.69 MB
    Total Requested Memory :                     -
    Delta Memory :                               -
    Max Swap :                                   -
    Max Processes :                              7
    Max Threads :                                21
    Run time :                                   813 sec.
    Turnaround time :                            815 sec.

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

