/nfs/farm/g/glast/g/LCRepository/bin/miniconda2/envs/fermitools_v1.0.5/lib/python2.7/site-packages/pyfits/__init__.py:22: PyFITSDeprecationWarning: PyFITS is deprecated, please use astropy.io.fits
  PyFITSDeprecationWarning)  # noqa

Likelihood Analysis Tool
Support Contact: Daniel Kocevski (daniel.kocevski@nasa.gov)


Waiting 226 seconds before starting...
Proceeding.

Importing modules...
This is make3FGLxml version 01r0.
The default diffuse model files and names are for pass 8 and assume you have v10r00p05 of the Fermi Science Tools or higher.
This is make4FGLxml version 01r04.
The default diffuse model files and names are for pass 8 and 4FGL and assume you have v11r5p3 of the Fermi Science Tools or higher.

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

/nfs/farm/g/glast/g/LCRepository/bin/miniconda2/envs/fermitools_v1.0.5/lib/python2.7/site-packages/matplotlib/cbook/deprecation.py:106: MatplotlibDeprecationWarning: The mpl_toolkits.axes_grid module was deprecated in version 2.1. Use mpl_toolkits.axes_grid1 and mpl_toolkits.axisartist provies the same functionality instead.
  warnings.warn(message, mplDeprecation, stacklevel=1)

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

number of points = 7432
number of fields = 22
No RA_SUN column yet. Adding RA_SUN/DEC_SUN columns.
Done.


Performing analysis on: 4FGL_J1418.4-0233_daily_bin42
RA = 214.606, Dec = -2.5594
tmin = 250214401, tmax = 250473601
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='323695', job_status='RUN', time_executed='2021-09-09 08:29:31.909598', time_epoch_executed='1631201371.91' WHERE source_name='4FGL J1418.4-0233' and cadence='daily' and bin_id='42'

Database successfully updated.
Done.

Creating custom output directory:
/scratch/kocevski/323695

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

Retrieving the FT1 file...

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

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

Retrieving 47 files...
Done.


Merging files...

Checksum keywords updated successfully.

Merged file saved to:
/scratch/kocevski/323695/ft1_4FGL_J1418.4-0233_daily_bin42.fits


Retrieving the FT1 file...

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

Retrieving 47 files...
Done.


Merging files...

Merged file saved to:
/scratch/kocevski/323695/ft2_4FGL_J1418.4-0233_daily_bin42.fits


Selecting the photons:
time -p gtselect infile=/scratch/kocevski/323695/ft1_4FGL_J1418.4-0233_daily_bin42.fits outfile=/scratch/kocevski/323695/ft1_filteredMKT_4FGL_J1418.4-0233_daily_bin42.fits ra=214.606 dec=-2.5594 rad=12.0 tmin=250214401.0 tmax=250473601.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 1.41
user 1.26
sys 0.14

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

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

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

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

Generating the livetime cube:
time -p gtltcube evfile="/scratch/kocevski/323695/ft1_filtered_4FGL_J1418.4-0233_daily_bin42.fits" evtable="EVENTS" scfile=/scratch/kocevski/323695/ft2_4FGL_J1418.4-0233_daily_bin42.fits sctable="SC_DATA" outfile=/scratch/kocevski/323695/ltcube_250214401_250473601_4FGL_J1418.4-0233_daily_bin42.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/323695/ft2_4FGL_J1418.4-0233_daily_bin42.fits
.....................!
real 12.06
user 11.73
sys 0.30

Generating the exposure map:
time -p gtexpmap evfile=/scratch/kocevski/323695/ft1_filtered_4FGL_J1418.4-0233_daily_bin42.fits evtable="EVENTS" scfile=/scratch/kocevski/323695/ft2_4FGL_J1418.4-0233_daily_bin42.fits sctable="SC_DATA" expcube=/scratch/kocevski/323695/ltcube_250214401_250473601_4FGL_J1418.4-0233_daily_bin42.fits outfile=/scratch/kocevski/323695/expmap_250214401_250473601_4FGL_J1418.4-0233_daily_bin42.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/323695/ltcube_250214401_250473601_4FGL_J1418.4-0233_daily_bin42.fits
.....................!
real 190.21
user 185.72
sys 4.10

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/323695/ft1_filtered_4FGL_J1418.4-0233_daily_bin42.fits scfile=/scratch/kocevski/323695/ft2_4FGL_J1418.4-0233_daily_bin42.fits outfile=/scratch/kocevski/323695/cmap_250214401_250473601_4FGL_J1418.4-0233_daily_bin42.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/323695/ft1_filtered_4FGL_J1418.4-0233_daily_bin42.fits scfile=/scratch/kocevski/323695/ft2_4FGL_J1418.4-0233_daily_bin42.fits outfile=/scratch/kocevski/323695/cmap_HighResolution_250214401_250473601_4FGL_J1418.4-0233_daily_bin42.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.53
user 0.38
sys 0.14

Computing the diffuse response:
time -p gtdiffrsp evfile=/scratch/kocevski/323695/ft1_filtered_4FGL_J1418.4-0233_daily_bin42.fits evtable="EVENTS" scfile=/scratch/kocevski/323695/ft2_4FGL_J1418.4-0233_daily_bin42.fits sctable="SC_DATA" srcmdl=/scratch/kocevski/323695/Model_4FGL_J1418.4-0233_daily_bin42.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/323695/ft1_filtered_4FGL_J1418.4-0233_daily_bin42.fits.....................!
real 78.04
user 76.52
sys 1.22

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

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

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

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'norm      '    1.7471       1.0000         .10000E-03   10000.    
     2 'norm      '    7.2761       1.0000         .10000E-03   10000.    
     3 'Prefactor '    .10005E-03   1.0000         .10000E-03   10000.    
     4 'Prefactor '    .10000E-03   1.0000         .10000E-03   10000.    
     5 'norm      '    9.8268       1.0000         .10000E-03   10000.    
     6 'Prefactor '    .10001E-03   1.0000         .10000E-03   10000.    
     7 'norm      '    4.9469       1.0000         .10000E-03   10000.    
     8 'Prefactor '    .18264       1.0000         .10000E-03   10000.    
     9 'norm      '    6.3448       1.0000         .10000E-03   10000.    
    10 'norm      '    .10004E-03   1.0000         .10000E-03   10000.    
    11 'Prefactor '    .44412E-02   1.0000         .10000E-03   10000.    
    12 'Prefactor '    .10002E-03   1.0000         .10000E-03   10000.    
    13 'norm      '    13.968       1.0000         .10000E-03   10000.    
    14 'Prefactor '    .10002E-03   1.0000         .10000E-03   10000.    
    15 'Prefactor '    17.820       1.0000         .10000E-03   10000.    
    16 'norm      '    .10050E-03   1.0000         .10000E-03   10000.    
    17 'Normalizat'    1.3689       1.0000         .10000E-01   10.000    
    18 'Prefactor '    .93986       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=   10665.25     FROM MIGRAD    STATUS=CONVERGED    386 CALLS     1544 TOTAL
                     EDM=   .61E-08    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  norm          1.7468        1.3837        .79318E-02    .68591E-03
   2  norm          7.2721        18.003        .37174E-02   -.32207E-03
   3  Prefactor     .10000E-03    2.3771        .90712E-02** at limit **
   4  Prefactor     .10000E-03    7.4472        .90712E-02** at limit **
   5  norm          9.8255        5.6062        .31958E-02    .18811E-02
   6  Prefactor     .10000E-03    2.9862        .90712E-02** at limit **
   7  norm          4.9461        2.1121        .45206E-02    .18428E-03
   8  Prefactor     .10000E-03    9.9251        .11822    ** at limit **
   9  norm          6.3430        10.062        .39838E-02   -.12822E-02
  10  norm          .10000E-03    4.5331        .90712E-02** at limit **
  11  Prefactor     .10000E-03    8.6456        .96807E-01** at limit **
  12  Prefactor     .10000E-03    12.357        .90712E-02** at limit **
  13  norm          13.973        14.741        .26793E-02   -.92951E-03
  14  Prefactor     .10000E-03    34.123        .90712E-02** at limit **
  15  Prefactor     17.821        15.842        .23720E-02   -.61462E-03
  16  norm          .10000E-03    5.8140        .90712E-02** at limit **
  17  Normalizat    1.3691        .17200        .65822E-01   -.13094E-03
  18  Prefactor     .93986        .99413E-01    .45511E-01   -.23944E-03
                               ERR DEF=  .500    
Final values: 
  norm       = 1.74675
  norm       = 7.27206
  Prefactor  = 0.0001
  Prefactor  = 0.0001
  norm       = 9.82549
  Prefactor  = 0.0001
  norm       = 4.9461
  Prefactor  = 0.0001
  norm       = 6.34301
  norm       = 0.0001
  Prefactor  = 0.0001
  Prefactor  = 0.0001
  norm       = 13.9733
  Prefactor  = 0.0001
  Prefactor  = 17.8211
  norm       = 0.0001
  Normalizat = 1.36908
  Prefactor  = 0.939861
 **********
 **   18 **HESSE 
 **********

 FCN=   10665.25     FROM HESSE     STATUS=OK           252 CALLS     1796 TOTAL
                     EDM=   .55E-08    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  norm          1.7468        1.3756        .10452E-03   -1.5444    
   2  norm          7.2721        18.004        .14870E-03   -1.5169    
   3  Prefactor     .10000E-03    2.4014        .15528E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   4  Prefactor     .10000E-03    7.4693        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   5  norm          9.8255        5.6001        .63915E-03   -1.5081    
   6  Prefactor     .10000E-03    2.9932        .17427E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   7  norm          4.9461        2.1104        .94338E-04   -1.5263    
   8  Prefactor     .10000E-03    12.574        .99015E-01   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   9  norm          6.3430        10.061        .15935E-03   -1.5204    
  10  norm          .10000E-03    4.6600        .36285E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  11  Prefactor     .10000E-03    59.453        .58619E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  12  Prefactor     .10000E-03    12.447        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  13  norm          13.973        14.704        .10717E-03   -1.4960    
  14  Prefactor     .10000E-03    34.210        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  15  Prefactor     17.821        15.844        .94879E-04   -1.4863    
  16  norm          .10000E-03    5.8270        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  17  Normalizat    1.3691        .20411        .29117E-03   -.81527    
  18  Prefactor     .93986        .11843        .20119E-03   -.94762    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 5.45512e-09
Minuit parameter uncertainties:
  1  1.37562
  2  18.0179
  3  4.96803e-06
  4  5.09438e-05
  5  5.60041
  6  1.93351e-06
  7  2.11041
  8  0.000146414
  9  10.0636
  10  2.45801e-05
  11  9.24954e-05
  12  4.56181e-05
  13  14.7075
  14  0.000195547
  15  15.8475
  16  6.85276e-07
  17  0.204229
  18  0.118462
Done.

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

Extracting fit parameters...

4FGL J1418.4-0233
   Spectrum: LogParabola
269         norm:  6.343e+00  1.006e+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:  9.399e-01  1.185e-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.369e+00  2.042e-01  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Fixed Index): 0.53
Ra Dec: 214.606 -2.559
Photon Flux Upper Limit: 4.44e-08 ph cm-2 s-1
Energy Flux Upper Limit: 7.60e-05 MeV cm-2 s-1

Saving results to:
/scratch/kocevski/323695/likelihoodResults_250214401_250473601_4FGL_J1418.4-0233_daily_bin42.txt

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) = 10664.7592372
delta logL = 0.486403162566

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

MINUIT Return Code (Free Index): 0
logL (Free Index) = 10664.7458216
delta logL = 0.499818706239

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'norm      '    5.2024       1.0000         .10000E-03   10000.    
     2 'alpha     '    2.4887       1.0000          .0000       5.0000    
     3 'Normalizat'    1.3500       1.0000         .10000E-01   10.000    
     4 'Prefactor '    .94149       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=   10664.75     FROM MIGRAD    STATUS=CONVERGED     58 CALLS      231 TOTAL
                     EDM=   .11E-07    STRATEGY= 1      ERR MATRIX NOT POS-DEF

  EXT PARAMETER                APPROXIMATE        STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  norm          5.2000        128.03        .44060E-02    .42297E-03
   2  alpha         2.4890        3.7431        .25150        .12360E-03
   3  Normalizat    1.3500        .65348E-01    .66197E-01    .52295E-04
   4  Prefactor     .94148        .33645E-01    .45532E-01    .69737E-04
                               ERR DEF=  .500    
Final values: 
  norm       = 5.19998
  alpha      = 2.48902
  Normalizat = 1.34998
  Prefactor  = 0.941482
 **********
 **   18 **HESSE 
 **********

 FCN=   10664.75     FROM HESSE     STATUS=OK            33 CALLS      264 TOTAL
                     EDM=   .59E-10    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  norm          5.2000        9.5893        .17624E-03   -1.5252    
   2  alpha         2.4890        .93225        .15059E-01   -.43925E-02
   3  Normalizat    1.3500        .20218        .29284E-03   -.82087    
   4  Prefactor     .94148        .11829        .20096E-03   -.94706    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 5.87121e-11
Minuit parameter uncertainties:
  1  9.59211
  2  0.955335
  3  0.202298
  4  0.118325
shell-init: error retrieving current directory: getcwd: cannot access parent directories: No such file or directory
rmdir: failed to remove `/scratch/kocevski/323695': 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) = 10664.7458215
delta logL = 0.499818819771

Extracting fit parameters...

4FGL J1418.4-0233
   Spectrum: LogParabola
269         norm:  5.200e+00  9.592e+00  1.000e-04  1.000e+04 ( 1.000e-13)
270        alpha:  2.489e+00  9.553e-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:  9.415e-01  1.183e-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.350e+00  2.023e-01  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Free Index): 1.53
Ra Dec: 214.606 -2.559
Photon Index (Free Index): 2.49 +/- 0.96
Photon Flux (Free Index): 3.24e-08 +/- 3.36e-08
Energy Flux (Free Index): 1.11e-05 +/- 1.26e-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/323695/cmap_HighResolution_250214401_250473601_4FGL_J1418.4-0233_daily_bin42.png

Cleaning up...

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

Updating database...

UPDATE lightcurve_data_v2 SET energy_flux_upper_limit='7.60e-05', comment='SUCCESS', energy_flux2='1.11e-05', dlogl='5.00e-01', photon_flux2='3.24e-08', job_status='DONE', time_completed='2021-09-09 08:40:24.921444', photon_index_error2='0.96', photon_index2='2.49', ts='0.53', fit_tolerance='1e-08', GAL='0.94', photon_index_error='0.00', photon_flux_upper_limit='4.44e-08', energy_flux_error2='1.26e-05', EG='1.37', time_epoch_completed='1631202024.92', return_code='0', job_id='323695', GAL2='0.94', EG2='1.35', return_code2='0', photon_flux_error2='3.36e-08', ts2='1.53', photon_index='1.64' WHERE bin_id='42' AND source_name='4FGL J1418.4-0233' AND cadence='daily';

Database successfully updated.


Analysis Complete.


Thu Sep  9 08:40:24 PDT 2021


------------------------------------------------------------
Sender: LSF System <lsf@bullet0224>
Subject: Job 323695: <4FGL_J1418.4-0233_daily_bin42> in cluster <slac> Done

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

Your job looked like:

------------------------------------------------------------
# LSBATCH: User input
/nfs/farm/g/glast/g/LCRepository/Likelihood/Scripts/LikelihoodAnalysis.py 4FGL_J1418.4-0233_daily_bin42 214.606 -2.5594 250214401 250473601 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 :                                   651.09 sec.
    Max Memory :                                 1094 MB
    Average Memory :                             297.33 MB
    Total Requested Memory :                     -
    Delta Memory :                               -
    Max Swap :                                   -
    Max Processes :                              7
    Max Threads :                                21
    Run time :                                   889 sec.
    Turnaround time :                            890 sec.

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

