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


Performing analysis on: 4FGL_J1418.4-0233_daily_bin1025
RA = 214.606, Dec = -2.5594
tmin = 505008001, tmax = 505267201
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='328364', job_status='RUN', time_executed='2021-09-09 08:41:58.934427', time_epoch_executed='1631202118.93' WHERE source_name='4FGL J1418.4-0233' and cadence='daily' and bin_id='1025'

Database successfully updated.
Done.

Creating custom output directory:
/scratch/kocevski/328364

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

Retrieving the FT1 file...

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

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

Retrieving 46 files...
Done.


Merging files...

Checksum keywords updated successfully.

Merged file saved to:
/scratch/kocevski/328364/ft1_4FGL_J1418.4-0233_daily_bin1025.fits


Retrieving the FT1 file...

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

Retrieving 46 files...
Done.


Merging files...

Merged file saved to:
/scratch/kocevski/328364/ft2_4FGL_J1418.4-0233_daily_bin1025.fits


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

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

Done.
real 4.57
user 4.27
sys 0.21

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

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

Generating the livetime cube:
time -p gtltcube evfile="/scratch/kocevski/328364/ft1_filtered_4FGL_J1418.4-0233_daily_bin1025.fits" evtable="EVENTS" scfile=/scratch/kocevski/328364/ft2_4FGL_J1418.4-0233_daily_bin1025.fits sctable="SC_DATA" outfile=/scratch/kocevski/328364/ltcube_505008001_505267201_4FGL_J1418.4-0233_daily_bin1025.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/328364/ft2_4FGL_J1418.4-0233_daily_bin1025.fits
.....................!
real 12.04
user 11.65
sys 0.31

Generating the exposure map:
time -p gtexpmap evfile=/scratch/kocevski/328364/ft1_filtered_4FGL_J1418.4-0233_daily_bin1025.fits evtable="EVENTS" scfile=/scratch/kocevski/328364/ft2_4FGL_J1418.4-0233_daily_bin1025.fits sctable="SC_DATA" expcube=/scratch/kocevski/328364/ltcube_505008001_505267201_4FGL_J1418.4-0233_daily_bin1025.fits outfile=/scratch/kocevski/328364/expmap_505008001_505267201_4FGL_J1418.4-0233_daily_bin1025.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/328364/ltcube_505008001_505267201_4FGL_J1418.4-0233_daily_bin1025.fits
.....................!
real 191.74
user 186.41
sys 4.62

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/328364/ft1_filtered_4FGL_J1418.4-0233_daily_bin1025.fits scfile=/scratch/kocevski/328364/ft2_4FGL_J1418.4-0233_daily_bin1025.fits outfile=/scratch/kocevski/328364/cmap_505008001_505267201_4FGL_J1418.4-0233_daily_bin1025.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.52
user 0.36
sys 0.16

Creating the high resolution counts map:
time -p gtbin evfile=/scratch/kocevski/328364/ft1_filtered_4FGL_J1418.4-0233_daily_bin1025.fits scfile=/scratch/kocevski/328364/ft2_4FGL_J1418.4-0233_daily_bin1025.fits outfile=/scratch/kocevski/328364/cmap_HighResolution_505008001_505267201_4FGL_J1418.4-0233_daily_bin1025.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.54
user 0.38
sys 0.15

Computing the diffuse response:
time -p gtdiffrsp evfile=/scratch/kocevski/328364/ft1_filtered_4FGL_J1418.4-0233_daily_bin1025.fits evtable="EVENTS" scfile=/scratch/kocevski/328364/ft2_4FGL_J1418.4-0233_daily_bin1025.fits sctable="SC_DATA" srcmdl=/scratch/kocevski/328364/Model_4FGL_J1418.4-0233_daily_bin1025.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/328364/ft1_filtered_4FGL_J1418.4-0233_daily_bin1025.fits.....................!
real 51.68
user 50.27
sys 1.23

Creating the likelihood object...
obs = UnbinnedObs('/scratch/kocevski/328364/ft1_filtered_4FGL_J1418.4-0233_daily_bin1025.fits', '/scratch/kocevski/328364/ft2_4FGL_J1418.4-0233_daily_bin1025.fits', expMap='/scratch/kocevski/328364/expmap_505008001_505267201_4FGL_J1418.4-0233_daily_bin1025.fits', expCube='/scratch/kocevski/328364/ltcube_505008001_505267201_4FGL_J1418.4-0233_daily_bin1025.fits', irfs='P8R3_SOURCE_V2')
like = UnbinnedAnalysis(obs, '/scratch/kocevski/328364/Model_4FGL_J1418.4-0233_daily_bin1025.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/328364/ft1_filtered_4FGL_J1418.4-0233_daily_bin1025.fits
Spacecraft file(s): /scratch/kocevski/328364/ft2_4FGL_J1418.4-0233_daily_bin1025.fits
Exposure map: /scratch/kocevski/328364/expmap_505008001_505267201_4FGL_J1418.4-0233_daily_bin1025.fits
Exposure cube: /scratch/kocevski/328364/ltcube_505008001_505267201_4FGL_J1418.4-0233_daily_bin1025.fits
IRFs: P8R3_SOURCE_V2
Source model file: /scratch/kocevski/328364/Model_4FGL_J1418.4-0233_daily_bin1025.xml
Optimizer: MINUIT
Statistic: UNBINNED

Performing an iterative likelihood fit...

Fit tolerance = 1

Performing likelihood fit...
Done.

MINUIT Return Code (Fixed Index): 102
logL (Fixed Index) = 6510.90497911

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

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

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'norm      '    2.9414       1.0000         .10000E-03   10000.    
     2 'norm      '    .10000E-03   1.0000         .10000E-03   10000.    
     3 'Prefactor '    1.2654       1.0000         .10000E-03   10000.    
     4 'Prefactor '    .10004E-03   1.0000         .10000E-03   10000.    
     5 'norm      '    .10001E-03   1.0000         .10000E-03   10000.    
     6 'Prefactor '    5.9323       1.0000         .10000E-03   10000.    
     7 'norm      '    .95098       1.0000         .10000E-03   10000.    
     8 'Prefactor '    .10466E-03   1.0000         .10000E-03   10000.    
     9 'norm      '    28.627       1.0000         .10000E-03   10000.    
    10 'norm      '    10.113       1.0000         .10000E-03   10000.    
    11 'Prefactor '    .10001E-03   1.0000         .10000E-03   10000.    
    12 'Prefactor '    15.921       1.0000         .10000E-03   10000.    
    13 'norm      '    12.900       1.0000         .10000E-03   10000.    
    14 'Prefactor '    4.1635       1.0000         .10000E-03   10000.    
    15 'Prefactor '    .10003E-03   1.0000         .10000E-03   10000.    
    16 'norm      '    .10010E-03   1.0000         .10000E-03   10000.    
    17 'Normalizat'    1.1678       1.0000         .10000E-01   10.000    
    18 'Prefactor '    .93288       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=   6509.927     FROM MIGRAD    STATUS=CONVERGED    346 CALLS     1526 TOTAL
                     EDM=   .44E-10  STRATEGY=1  ERROR MATRIX UNCERTAINTY=   .9%

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  norm          2.9412        1.9441        .24990E-07   -.57193E-04
   2  norm          .10000E-03    9.1253        .36155E-07** at limit **
   3  Prefactor     1.2654        5.3302        .26395E-05   -.30226E-04
   4  Prefactor     .10000E-03    35.339        .98218E-06** at limit **
   5  norm          .10000E-03    3.5464       -.28439E-06** at limit **
   6  Prefactor     5.9278        11.959        .43283E-06   -.11653E-04
   7  norm          .94992        2.8613        .13894E-05   -.29907E-04
   8  Prefactor     .10000E-03    39.196        .41344E-06** at limit **
   9  norm          28.627        16.382        .58108E-07   -.15991E-04
  10  norm          10.114        7.5334       -.26152E-06   -.11399E-03
  11  Prefactor     .10000E-03    27.356        .38762E-06** at limit **
  12  Prefactor     15.919        21.905       -.65489E-07   -.35009E-04
  13  norm          12.901        19.051        .11671E-06   -.24943E-05
  14  Prefactor     4.0905        190.12       -.28608E-05   -.19191E-04
  15  Prefactor     .10000E-03    25.200       -.43135E-06** at limit **
  16  norm          .10000E-03    12.644       -.25561E-06** at limit **
  17  Normalizat    1.1680        .21528       -.18071E-06   -.15547E-03
  18  Prefactor     .93280        .12378       -.96547E-06   -.13176E-03
                               ERR DEF=  .500    
Final values: 
  norm       = 2.9412
  norm       = 0.0001
  Prefactor  = 1.26544
  Prefactor  = 0.0001
  norm       = 0.0001
  Prefactor  = 5.92776
  norm       = 0.949925
  Prefactor  = 0.0001
  norm       = 28.6265
  norm       = 10.1138
  Prefactor  = 0.0001
  Prefactor  = 15.9193
  norm       = 12.9008
  Prefactor  = 4.09051
  Prefactor  = 0.0001
  norm       = 0.0001
  Normalizat = 1.16799
  Prefactor  = 0.932803
 **********
 **   18 **HESSE 
 **********

 FCN=   6509.927     FROM HESSE     STATUS=OK           246 CALLS     1772 TOTAL
                     EDM=   .94E-10    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  norm          2.9412        1.9466        .88255E-04   -1.5365    
   2  norm          .10000E-03    9.1262        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   3  Prefactor     1.2654        5.2997        .35422E-03   -1.5483    
   4  Prefactor     .10000E-03    35.841        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   5  norm          .10000E-03    3.5991        .14878E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   6  Prefactor     5.9278        11.979        .16487E-03   -1.5221    
   7  norm          .94992        2.8561        .21856E-03   -1.5513    
   8  Prefactor     .10000E-03    39.637        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   9  norm          28.627        16.392        .74879E-04   -1.4637    
  10  norm          10.114        7.5064        .12600E-03   -1.5072    
  11  Prefactor     .10000E-03    27.583        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  12  Prefactor     15.919        21.897        .10038E-03   -1.4910    
  13  norm          12.901        19.048        .11152E-03   -1.4989    
  14  Prefactor     4.0905        194.73        .19753E-03   -1.5303    
  15  Prefactor     .10000E-03    25.289        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  16  norm          .10000E-03    12.696        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  17  Normalizat    1.1680        .25552        .30348E-03   -.87598    
  18  Prefactor     .93280        .14570        .19426E-03   -.95004    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 9.39664e-11
Minuit parameter uncertainties:
  1  1.9466
  2  1.11809e-06
  3  5.17994
  4  6.96663e-05
  5  2.92505e-05
  6  11.9841
  7  2.85652
  8  2.43976e-05
  9  16.3942
  10  7.50706
  11  5.20531e-05
  12  21.9082
  13  19.0565
  14  56.6419
  15  1.83304e-06
  16  1.57914e-05
  17  0.255788
  18  0.145758
Done.

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

Extracting fit parameters...

4FGL J1418.4-0233
   Spectrum: LogParabola
269         norm:  2.863e+01  1.639e+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.328e-01  1.458e-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.168e+00  2.558e-01  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Fixed Index): 7.43
Ra Dec: 214.606 -2.559
Photon Index (Fixed Index): 1.64 +/- 0.00
Photon Flux (Fixed Index): 3.94e-08 +/- 2.26e-08
Energy Flux (Fixed Index): 6.75e-05 +/- 3.86e-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) = 6509.90903928
delta logL = 0.0178022170476

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

MINUIT Return Code (Free Index): 0
logL (Free Index) = 6509.90886447
delta logL = 0.0179770229688

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'norm      '    28.690       1.0000         .10000E-03   10000.    
     2 'alpha     '    1.5624       1.0000          .0000       5.0000    
     3 'Normalizat'    1.1690       1.0000         .10000E-01   10.000    
     4 'Prefactor '    .93361       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=   6509.909     FROM MIGRAD    STATUS=CONVERGED     58 CALLS      196 TOTAL
                     EDM=   .13E-10    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  norm          28.746        53.303        .18699E-02   -.11764E-04
   2  alpha         1.5639        1.0840        .30503        .53015E-05
   3  Normalizat    1.1689        .21548        .68567E-01    .38704E-05
   4  Prefactor     .93353        .12302        .45432E-01   -.50062E-05
                               ERR DEF=  .500    
Final values: 
  norm       = 28.746
  alpha      = 1.56393
  Normalizat = 1.16894
  Prefactor  = 0.93353
 **********
 **   18 **HESSE 
 **********

 FCN=   6509.909     FROM HESSE     STATUS=OK            33 CALLS      229 TOTAL
                     EDM=   .19E-10    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  norm          28.746        16.557        .74797E-04   -1.4635    
   2  alpha         1.5639        .39751        .11730E-01   -.38378    
   3  Normalizat    1.1689        .24759        .30337E-03   -.87568    
   4  Prefactor     .93353        .14481        .19421E-03   -.94979    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 1.85143e-11
Minuit parameter uncertainties:
  1  16.5591
  2  0.399488
  3  0.247836
  4  0.144866
shell-init: error retrieving current directory: getcwd: cannot access parent directories: No such file or directory
rmdir: failed to remove `/scratch/kocevski/328364': 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) = 6509.908852
delta logL = 0.0179895013252

Extracting fit parameters...

4FGL J1418.4-0233
   Spectrum: LogParabola
269         norm:  2.875e+01  1.656e+01  1.000e-04  1.000e+04 ( 1.000e-13)
270        alpha:  1.564e+00  3.995e-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.335e-01  1.449e-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.169e+00  2.478e-01  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Free Index): 7.46
Ra Dec: 214.606 -2.559
Photon Index (Free Index): 1.56 +/- 0.40
Photon Flux (Free Index): 3.61e-08 +/- 2.67e-08
Energy Flux (Free Index): 7.56e-05 +/- 6.37e-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/328364/cmap_HighResolution_505008001_505267201_4FGL_J1418.4-0233_daily_bin1025.png

Cleaning up...

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

Updating database...

UPDATE lightcurve_data_v2 SET comment='SUCCESS', photon_flux='3.94e-08', energy_flux2='7.56e-05', photon_flux_error='2.26e-08', dlogl='1.80e-02', energy_flux='6.75e-05', photon_flux2='3.61e-08', job_status='DONE', time_completed='2021-09-09 08:51:00.906209', photon_index_error2='0.40', photon_index2='1.56', ts='7.43', fit_tolerance='1e-08', GAL='0.93', photon_index_error='0.00', energy_flux_error2='6.37e-05', EG='1.17', time_epoch_completed='1631202660.91', return_code='0', job_id='328364', GAL2='0.93', EG2='1.17', return_code2='0', energy_flux_error='3.86e-05', photon_flux_error2='2.67e-08', ts2='7.46', photon_index='1.64' WHERE bin_id='1025' AND source_name='4FGL J1418.4-0233' AND cadence='daily';

Database successfully updated.


Analysis Complete.


Thu Sep  9 08:51:00 PDT 2021


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

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

Your job looked like:

------------------------------------------------------------
# LSBATCH: User input
/nfs/farm/g/glast/g/LCRepository/Likelihood/Scripts/LikelihoodAnalysis.py 4FGL_J1418.4-0233_daily_bin1025 214.606 -2.5594 505008001 505267201 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 :                                   481.00 sec.
    Max Memory :                                 1256 MB
    Average Memory :                             309.53 MB
    Total Requested Memory :                     -
    Delta Memory :                               -
    Max Swap :                                   -
    Max Processes :                              5
    Max Threads :                                21
    Run time :                                   600 sec.
    Turnaround time :                            602 sec.

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

