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


Performing analysis on: 4FGL_J1418.4-0233_daily_bin494
RA = 214.606, Dec = -2.5594
tmin = 367372801, tmax = 367632001
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='326338', job_status='RUN', time_executed='2021-09-09 08:35:41.540844', time_epoch_executed='1631201741.54' WHERE source_name='4FGL J1418.4-0233' and cadence='daily' and bin_id='494'

Database successfully updated.
Done.

Creating custom output directory:
/scratch/kocevski/326338

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

Retrieving the FT1 file...

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

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

Retrieving 47 files...
Done.


Merging files...

Checksum keywords updated successfully.

Merged file saved to:
/scratch/kocevski/326338/ft1_4FGL_J1418.4-0233_daily_bin494.fits


Retrieving the FT1 file...

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

Retrieving 47 files...
Done.


Merging files...

Merged file saved to:
/scratch/kocevski/326338/ft2_4FGL_J1418.4-0233_daily_bin494.fits


Selecting the photons:
time -p gtselect infile=/scratch/kocevski/326338/ft1_4FGL_J1418.4-0233_daily_bin494.fits outfile=/scratch/kocevski/326338/ft1_filteredMKT_4FGL_J1418.4-0233_daily_bin494.fits ra=214.606 dec=-2.5594 rad=12.0 tmin=367372801.0 tmax=367632001.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.45
user 3.18
sys 0.19

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

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

Generating the livetime cube:
time -p gtltcube evfile="/scratch/kocevski/326338/ft1_filtered_4FGL_J1418.4-0233_daily_bin494.fits" evtable="EVENTS" scfile=/scratch/kocevski/326338/ft2_4FGL_J1418.4-0233_daily_bin494.fits sctable="SC_DATA" outfile=/scratch/kocevski/326338/ltcube_367372801_367632001_4FGL_J1418.4-0233_daily_bin494.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/326338/ft2_4FGL_J1418.4-0233_daily_bin494.fits
.....................!
real 11.78
user 11.46
sys 0.29

Generating the exposure map:
time -p gtexpmap evfile=/scratch/kocevski/326338/ft1_filtered_4FGL_J1418.4-0233_daily_bin494.fits evtable="EVENTS" scfile=/scratch/kocevski/326338/ft2_4FGL_J1418.4-0233_daily_bin494.fits sctable="SC_DATA" expcube=/scratch/kocevski/326338/ltcube_367372801_367632001_4FGL_J1418.4-0233_daily_bin494.fits outfile=/scratch/kocevski/326338/expmap_367372801_367632001_4FGL_J1418.4-0233_daily_bin494.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/326338/ltcube_367372801_367632001_4FGL_J1418.4-0233_daily_bin494.fits
.....................!
real 189.63
user 184.90
sys 4.26

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/326338/ft1_filtered_4FGL_J1418.4-0233_daily_bin494.fits scfile=/scratch/kocevski/326338/ft2_4FGL_J1418.4-0233_daily_bin494.fits outfile=/scratch/kocevski/326338/cmap_367372801_367632001_4FGL_J1418.4-0233_daily_bin494.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.61
user 0.39
sys 0.13

Creating the high resolution counts map:
time -p gtbin evfile=/scratch/kocevski/326338/ft1_filtered_4FGL_J1418.4-0233_daily_bin494.fits scfile=/scratch/kocevski/326338/ft2_4FGL_J1418.4-0233_daily_bin494.fits outfile=/scratch/kocevski/326338/cmap_HighResolution_367372801_367632001_4FGL_J1418.4-0233_daily_bin494.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.14

Computing the diffuse response:
time -p gtdiffrsp evfile=/scratch/kocevski/326338/ft1_filtered_4FGL_J1418.4-0233_daily_bin494.fits evtable="EVENTS" scfile=/scratch/kocevski/326338/ft2_4FGL_J1418.4-0233_daily_bin494.fits sctable="SC_DATA" srcmdl=/scratch/kocevski/326338/Model_4FGL_J1418.4-0233_daily_bin494.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/326338/ft1_filtered_4FGL_J1418.4-0233_daily_bin494.fits.....................!
real 52.34
user 50.62
sys 1.11

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

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

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

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'norm      '    2.1706       1.0000         .10000E-03   10000.    
     2 'norm      '    19.882       1.0000         .10000E-03   10000.    
     3 'Prefactor '    .77361       1.0000         .10000E-03   10000.    
     4 'Prefactor '    .10180E-03   1.0000         .10000E-03   10000.    
     5 'norm      '    .11546E-03   1.0000         .10000E-03   10000.    
     6 'Prefactor '    35.241       1.0000         .10000E-03   10000.    
     7 'norm      '    .40524       1.0000         .10000E-03   10000.    
     8 'Prefactor '    12.323       1.0000         .10000E-03   10000.    
     9 'norm      '    15.699       1.0000         .10000E-03   10000.    
    10 'norm      '    4.6806       1.0000         .10000E-03   10000.    
    11 'Prefactor '    .10000E-03   1.0000         .10000E-03   10000.    
    12 'Prefactor '    .10054E-03   1.0000         .10000E-03   10000.    
    13 'norm      '    21.335       1.0000         .10000E-03   10000.    
    14 'Prefactor '    .10332E-03   1.0000         .10000E-03   10000.    
    15 'Prefactor '    77.577       1.0000         .10000E-03   10000.    
    16 'norm      '    .13947E-03   1.0000         .10000E-03   10000.    
    17 'Normalizat'    1.2602       1.0000         .10000E-01   10.000    
    18 'Prefactor '    .74544       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=   6535.351     FROM MIGRAD    STATUS=CONVERGED    366 CALLS     1803 TOTAL
                     EDM=   .20E-09  STRATEGY=1  ERROR MATRIX UNCERTAINTY=  2.0%

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  norm          2.1704        1.7803        .46474E-07   -.17520E-03
   2  norm          19.883        22.428        .54822E-07    .23225E-05
   3  Prefactor     .77361        3.6086        .18485E-05   -.22077E-03
   4  Prefactor     .10000E-03    10.331        .13696E-06** at limit **
   5  norm          .10000E-03    3.5763       -.48415E-06** at limit **
   6  Prefactor     35.237        19.548        .24687E-06    .26219E-04
   7  norm          .40708        1.2990        .40234E-06   -.27181E-03
   8  Prefactor     12.317        24.839       -.30130E-06   -.55507E-04
   9  norm          15.699        12.639        .33378E-07   -.12479E-04
  10  norm          4.6769        6.9544       -.66853E-09   -.21668E-03
  11  Prefactor     .10000E-03    14.858        .61334E-07** at limit **
  12  Prefactor     .10000E-03    9.9763        .85535E-07** at limit **
  13  norm          21.337        19.110        .31570E-07   -.12244E-06
  14  Prefactor     .10000E-03    67.863        .64231E-06** at limit **
  15  Prefactor     77.588        34.655        .13647E-05    .38345E-03
  16  norm          .10000E-03    40.876        .17450E-05** at limit **
  17  Normalizat    1.2605        .20192       -.59095E-06   -.84787E-04
  18  Prefactor     .74525        .10978       -.30208E-07   -.12368E-03
                               ERR DEF=  .500    
Final values: 
  norm       = 2.17038
  norm       = 19.8827
  Prefactor  = 0.773607
  Prefactor  = 0.0001
  norm       = 0.0001
  Prefactor  = 35.2372
  norm       = 0.407076
  Prefactor  = 12.3174
  norm       = 15.6991
  norm       = 4.67686
  Prefactor  = 0.0001
  Prefactor  = 0.0001
  norm       = 21.3372
  Prefactor  = 0.0001
  Prefactor  = 77.5876
  norm       = 0.000100001
  Normalizat = 1.26047
  Prefactor  = 0.745253
 **********
 **   18 **HESSE 
 **********

 FCN=   6535.351     FROM HESSE     STATUS=OK           254 CALLS     2057 TOTAL
                     EDM=   .13E-07    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  norm          2.1704        1.7733        .94306E-04   -1.5413    
   2  norm          19.883        22.428        .89826E-04   -1.4816    
   3  Prefactor     .77361        3.8834        .30583E-03   -1.5532    
   4  Prefactor     .10000E-03    10.358        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   5  norm          .10000E-03    19.337        .28978E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   6  Prefactor     35.237        19.644        .67507E-04   -1.4520    
   7  norm          .40708        1.3241        .15420E-02   -1.5580    
   8  Prefactor     12.317        24.913        .11411E-03   -1.5006    
   9  norm          15.699        12.642        .10109E-03   -1.4915    
  10  norm          4.6769        6.8935        .18601E-03   -1.5275    
  11  Prefactor     .10000E-03    14.904        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  12  Prefactor     .10000E-03    10.014        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  13  norm          21.337        19.111        .86715E-04   -1.4784    
  14  Prefactor     .10000E-03    68.074        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  15  Prefactor     77.588        37.712        .22796E-03   -1.3944    
  16  norm          .10000E-03    40.574        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  17  Normalizat    1.2605        .23496        .27870E-03   -.84754    
  18  Prefactor     .74525        .12785        .19814E-03   -1.0178    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 1.3167e-08
Minuit parameter uncertainties:
  1  1.77338
  2  22.4372
  3  3.46666
  4  2.24802e-05
  5  6.34776e-05
  6  19.6473
  7  1.32416
  8  24.9343
  9  12.6439
  10  6.8947
  11  1.13105e-05
  12  2.28596e-05
  13  19.1169
  14  0.000241731
  15  37.7237
  16  0.000458171
  17  0.235159
  18  0.127897
Done.

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

Extracting fit parameters...

4FGL J1418.4-0233
   Spectrum: LogParabola
269         norm:  1.570e+01  1.264e+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:  7.453e-01  1.279e-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.260e+00  2.352e-01  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Fixed Index): 6.61
Ra Dec: 214.606 -2.559
Photon Index (Fixed Index): 1.64 +/- 0.00
Photon Flux (Fixed Index): 2.16e-08 +/- 1.74e-08
Energy Flux (Fixed Index): 3.70e-05 +/- 2.98e-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) = 6535.15607635
delta logL = 0.194813186562

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

MINUIT Return Code (Free Index): 0
logL (Free Index) = 6535.15200096
delta logL = 0.198888571641

Fit tolerance = 1e-08

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

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

 MIGRAD MINIMIZATION HAS CONVERGED.

 MIGRAD WILL VERIFY CONVERGENCE AND ERROR MATRIX.

 MIGRAD MINIMIZATION HAS CONVERGED.

 MIGRAD WILL VERIFY CONVERGENCE AND ERROR MATRIX.

 FCN=   6535.152     FROM MIGRAD    STATUS=CONVERGED    101 CALLS      288 TOTAL
                     EDM=   .42E-10    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  norm          15.763        12.825        .10090E-03    .18479E-04
   2  alpha         2.1662        .83502        .14537E-01    .12315E-04
   3  Normalizat    1.2346        .23457        .28116E-03   -.28345E-04
   4  Prefactor     .74796        .12764        .19770E-03    .52214E-04
                               ERR DEF=  .500    
Final values: 
  norm       = 15.7631
  alpha      = 2.16621
  Normalizat = 1.23456
  Prefactor  = 0.747958
 **********
 **   18 **HESSE 
 **********

 FCN=   6535.152     FROM HESSE     STATUS=OK            25 CALLS      313 TOTAL
                     EDM=   .22E-10    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  norm          15.763        12.255        .40359E-05   -1.4914    
   2  alpha         2.1662        .79588        .58146E-03   -.13392    
   3  Normalizat    1.2346        .23340        .11247E-04   -.85542    
   4  Prefactor     .74796        .12756        .79080E-05   -1.0168    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 2.1841e-11
Minuit parameter uncertainties:
  1  12.2567
  2  0.810246
  3  0.233601
  4  0.127608
shell-init: error retrieving current directory: getcwd: cannot access parent directories: No such file or directory
rmdir: failed to remove `/scratch/kocevski/326338': 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) = 6535.15199862
delta logL = 0.198890917163

Extracting fit parameters...

4FGL J1418.4-0233
   Spectrum: LogParabola
269         norm:  1.576e+01  1.226e+01  1.000e-04  1.000e+04 ( 1.000e-13)
270        alpha:  2.166e+00  8.102e-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:  7.480e-01  1.276e-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.235e+00  2.336e-01  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Free Index): 6.99
Ra Dec: 214.606 -2.559
Photon Index (Free Index): 2.17 +/- 0.81
Photon Flux (Free Index): 5.12e-08 +/- 6.86e-08
Energy Flux (Free Index): 2.75e-05 +/- 1.95e-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/326338/cmap_HighResolution_367372801_367632001_4FGL_J1418.4-0233_daily_bin494.png

Cleaning up...

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

Updating database...

UPDATE lightcurve_data_v2 SET comment='SUCCESS', photon_flux='2.16e-08', energy_flux2='2.75e-05', photon_flux_error='1.74e-08', dlogl='1.99e-01', energy_flux='3.70e-05', photon_flux2='5.12e-08', job_status='DONE', time_completed='2021-09-09 08:44:04.715962', photon_index_error2='0.81', photon_index2='2.17', ts='6.61', fit_tolerance='1e-08', GAL='0.75', photon_index_error='0.00', energy_flux_error2='1.95e-05', EG='1.26', time_epoch_completed='1631202244.72', return_code='0', job_id='326338', GAL2='0.75', EG2='1.23', return_code2='0', energy_flux_error='2.98e-05', photon_flux_error2='6.86e-08', ts2='6.99', photon_index='1.64' WHERE bin_id='494' AND source_name='4FGL J1418.4-0233' AND cadence='daily';

Database successfully updated.


Analysis Complete.


Thu Sep  9 08:44:04 PDT 2021


------------------------------------------------------------
Sender: LSF System <lsf@bullet0217>
Subject: Job 326338: <4FGL_J1418.4-0233_daily_bin494> in cluster <slac> Done

Job <4FGL_J1418.4-0233_daily_bin494> was submitted from host <rhel6-64k> by user <kocevski> in cluster <slac> at Thu Sep  9 08:35:22 2021
Job was executed on host(s) <bullet0217>, in queue <medium>, as user <kocevski> in cluster <slac> at Thu Sep  9 08:35:25 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:35:25 2021
Terminated at Thu Sep  9 08:44:07 2021
Results reported at Thu Sep  9 08:44:07 2021

Your job looked like:

------------------------------------------------------------
# LSBATCH: User input
/nfs/farm/g/glast/g/LCRepository/Likelihood/Scripts/LikelihoodAnalysis.py 4FGL_J1418.4-0233_daily_bin494 214.606 -2.5594 367372801 367632001 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 :                                   499.00 sec.
    Max Memory :                                 1093 MB
    Average Memory :                             339.33 MB
    Total Requested Memory :                     -
    Delta Memory :                               -
    Max Swap :                                   -
    Max Processes :                              5
    Max Threads :                                21
    Run time :                                   520 sec.
    Turnaround time :                            525 sec.

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

