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


Performing analysis on: 4FGL_J1418.4-0233_daily_bin674
RA = 214.606, Dec = -2.5594
tmin = 414028801, tmax = 414288001
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='327865', job_status='RUN', time_executed='2021-09-09 08:43:38.588392', time_epoch_executed='1631202218.59' WHERE source_name='4FGL J1418.4-0233' and cadence='daily' and bin_id='674'

Database successfully updated.
Done.

Creating custom output directory:
/scratch/kocevski/327865

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

Retrieving the FT1 file...

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

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

Retrieving 46 files...
Done.


Merging files...

Checksum keywords updated successfully.

Merged file saved to:
/scratch/kocevski/327865/ft1_4FGL_J1418.4-0233_daily_bin674.fits


Retrieving the FT1 file...

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

Retrieving 46 files...
Done.


Merging files...

Merged file saved to:
/scratch/kocevski/327865/ft2_4FGL_J1418.4-0233_daily_bin674.fits


Selecting the photons:
time -p gtselect infile=/scratch/kocevski/327865/ft1_4FGL_J1418.4-0233_daily_bin674.fits outfile=/scratch/kocevski/327865/ft1_filteredMKT_4FGL_J1418.4-0233_daily_bin674.fits ra=214.606 dec=-2.5594 rad=12.0 tmin=414028801.0 tmax=414288001.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.27
user 4.97
sys 0.24

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

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

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

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

Generating the livetime cube:
time -p gtltcube evfile="/scratch/kocevski/327865/ft1_filtered_4FGL_J1418.4-0233_daily_bin674.fits" evtable="EVENTS" scfile=/scratch/kocevski/327865/ft2_4FGL_J1418.4-0233_daily_bin674.fits sctable="SC_DATA" outfile=/scratch/kocevski/327865/ltcube_414028801_414288001_4FGL_J1418.4-0233_daily_bin674.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/327865/ft2_4FGL_J1418.4-0233_daily_bin674.fits
.....................!
real 12.02
user 11.63
sys 0.31

Generating the exposure map:
time -p gtexpmap evfile=/scratch/kocevski/327865/ft1_filtered_4FGL_J1418.4-0233_daily_bin674.fits evtable="EVENTS" scfile=/scratch/kocevski/327865/ft2_4FGL_J1418.4-0233_daily_bin674.fits sctable="SC_DATA" expcube=/scratch/kocevski/327865/ltcube_414028801_414288001_4FGL_J1418.4-0233_daily_bin674.fits outfile=/scratch/kocevski/327865/expmap_414028801_414288001_4FGL_J1418.4-0233_daily_bin674.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/327865/ltcube_414028801_414288001_4FGL_J1418.4-0233_daily_bin674.fits
.....................!
real 191.04
user 184.89
sys 4.51

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/327865/ft1_filtered_4FGL_J1418.4-0233_daily_bin674.fits scfile=/scratch/kocevski/327865/ft2_4FGL_J1418.4-0233_daily_bin674.fits outfile=/scratch/kocevski/327865/cmap_414028801_414288001_4FGL_J1418.4-0233_daily_bin674.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.38
sys 0.14

Creating the high resolution counts map:
time -p gtbin evfile=/scratch/kocevski/327865/ft1_filtered_4FGL_J1418.4-0233_daily_bin674.fits scfile=/scratch/kocevski/327865/ft2_4FGL_J1418.4-0233_daily_bin674.fits outfile=/scratch/kocevski/327865/cmap_HighResolution_414028801_414288001_4FGL_J1418.4-0233_daily_bin674.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.37
sys 0.16

Computing the diffuse response:
time -p gtdiffrsp evfile=/scratch/kocevski/327865/ft1_filtered_4FGL_J1418.4-0233_daily_bin674.fits evtable="EVENTS" scfile=/scratch/kocevski/327865/ft2_4FGL_J1418.4-0233_daily_bin674.fits sctable="SC_DATA" srcmdl=/scratch/kocevski/327865/Model_4FGL_J1418.4-0233_daily_bin674.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/327865/ft1_filtered_4FGL_J1418.4-0233_daily_bin674.fits.....................!
real 71.52
user 69.97
sys 1.24

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

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

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

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'norm      '    1.9602       1.0000         .10000E-03   10000.    
     2 'norm      '    .92056E-01   1.0000         .10000E-03   10000.    
     3 'Prefactor '    7.5216       1.0000         .10000E-03   10000.    
     4 'Prefactor '    10.046       1.0000         .10000E-03   10000.    
     5 'norm      '    .12916E-02   1.0000         .10000E-03   10000.    
     6 'Prefactor '    .10065E-03   1.0000         .10000E-03   10000.    
     7 'norm      '    .10003E-03   1.0000         .10000E-03   10000.    
     8 'Prefactor '    .10006E-03   1.0000         .10000E-03   10000.    
     9 'norm      '    25.788       1.0000         .10000E-03   10000.    
    10 'norm      '    17.089       1.0000         .10000E-03   10000.    
    11 'Prefactor '    .13208E-03   1.0000         .10000E-03   10000.    
    12 'Prefactor '    .10007E-03   1.0000         .10000E-03   10000.    
    13 'norm      '    .10001E-03   1.0000         .10000E-03   10000.    
    14 'Prefactor '    13.628       1.0000         .10000E-03   10000.    
    15 'Prefactor '    .10001E-03   1.0000         .10000E-03   10000.    
    16 'norm      '    .10001E-03   1.0000         .10000E-03   10000.    
    17 'Normalizat'    1.4897       1.0000         .10000E-01   10.000    
    18 'Prefactor '    .94558       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=   9435.145     FROM MIGRAD    STATUS=CONVERGED    663 CALLS     2117 TOTAL
                     EDM=   .46E-09    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  norm          1.9602        1.7134        .11489E-03   -.12468E-04
   2  norm          .22409        24.624        .15259        .12370E-03
   3  Prefactor     7.5188        6.0316        .14623E-03    .12424E-03
   4  Prefactor     10.029        20.688        .12642E-03   -.89927E-05
   5  norm          .10001E-03    41.284        .38257E-02** at limit **
   6  Prefactor     .10000E-03    3.9616        .18142E-02** at limit **
   7  norm          .10000E-03    1.0451        .19026E-03** at limit **
   8  Prefactor     .10000E-03    6.1523        .18142E-02** at limit **
   9  norm          25.790        14.486        .78884E-04   -.69177E-05
  10  norm          17.091        8.4170        .96885E-04    .26050E-04
  11  Prefactor     .10000E-03    63.500        .18142E-02** at limit **
  12  Prefactor     .10000E-03    7.9889        .18142E-02** at limit **
  13  norm          .10000E-03    7.1508        .18142E-02** at limit **
  14  Prefactor     13.582        53.353        .10850E-03   -.14669E-05
  15  Prefactor     .10000E-03    6.8095        .18142E-02** at limit **
  16  norm          .10000E-03    4.3594        .18142E-02** at limit **
  17  Normalizat    1.4895        .22918        .30305E-03    .31737E-04
  18  Prefactor     .94559        .12580        .20643E-03    .52099E-04
                               ERR DEF=  .500    
Final values: 
  norm       = 1.96023
  norm       = 0.224088
  Prefactor  = 7.5188
  Prefactor  = 10.0286
  norm       = 0.000100014
  Prefactor  = 0.0001
  norm       = 0.0001
  Prefactor  = 0.0001
  norm       = 25.7901
  norm       = 17.0915
  Prefactor  = 0.0001
  Prefactor  = 0.0001
  norm       = 0.0001
  Prefactor  = 13.5816
  Prefactor  = 0.0001
  norm       = 0.0001
  Normalizat = 1.48948
  Prefactor  = 0.945587
 **********
 **   18 **HESSE 
 **********

 FCN=   9435.145     FROM HESSE     STATUS=OK           236 CALLS     2353 TOTAL
                     EDM=   .48E-09    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  norm          1.9602        1.7134        .45958E-05   -1.5428    
   2  norm          .22409        24.610        .15266       -1.5613    
   3  Prefactor     7.5188        6.0001        .58492E-05   -1.5159    
   4  Prefactor     10.029        20.687        .50568E-05   -1.5075    
   5  norm          .10001E-03    42.635        .15303E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   6  Prefactor     .10000E-03    3.9623        .36285E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   7  norm          .10000E-03    1.0451        .38052E-04   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   8  Prefactor     .10000E-03    6.1528        .36285E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   9  norm          25.790        14.486        .31554E-05   -1.4692    
  10  norm          17.091        8.4171        .38754E-05   -1.4881    
  11  Prefactor     .10000E-03    63.551        .36285E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  12  Prefactor     .10000E-03    7.9895        .36285E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  13  norm          .10000E-03    7.1510        .36285E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  14  Prefactor     13.582        53.376        .43400E-05   -1.4971    
  15  Prefactor     .10000E-03    6.8096        .36285E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  16  norm          .10000E-03    4.3597        .36285E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  17  Normalizat    1.4895        .22941        .12122E-04   -.78074    
  18  Prefactor     .94559        .12592        .82572E-05   -.94566    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 4.83747e-10
Minuit parameter uncertainties:
  1  1.7134
  2  4.69764
  3  6.00059
  4  20.7014
  5  0.00153792
  6  4.91627e-06
  7  1.30218e-06
  8  2.50038e-07
  9  14.488
  10  8.41769
  11  0.00012172
  12  2.79788e-06
  13  7.64283e-07
  14  53.5645
  15  5.82133e-07
  16  3.16345e-08
  17  0.229568
  18  0.125958
Done.

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

Extracting fit parameters...

4FGL J1418.4-0233
   Spectrum: LogParabola
269         norm:  2.579e+01  1.449e+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.456e-01  1.260e-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.489e+00  2.296e-01  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Fixed Index): 10.50
Ra Dec: 214.606 -2.559
Photon Index (Fixed Index): 1.64 +/- 0.00
Photon Flux (Fixed Index): 3.55e-08 +/- 1.99e-08
Energy Flux (Fixed Index): 6.08e-05 +/- 3.41e-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) = 9434.82816356
delta logL = 0.316532189601

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

MINUIT Return Code (Free Index): 0
logL (Free Index) = 9434.82601423
delta logL = 0.318681520914

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'norm      '    24.980       1.0000         .10000E-03   10000.    
     2 'alpha     '    2.0117       1.0000          .0000       5.0000    
     3 'Normalizat'    1.4666       1.0000         .10000E-01   10.000    
     4 'Prefactor '    .94838       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=   9434.826     FROM MIGRAD    STATUS=CONVERGED     94 CALLS      261 TOTAL
                     EDM=   .41E-08    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  norm          24.982        14.184        .80148E-04    .23546E-04
   2  alpha         2.0116        .46204        .12409E-01    .33746E-03
   3  Normalizat    1.4666        .22597        .30490E-03   -.47503E-04
   4  Prefactor     .94838        .12550        .20606E-03   -.52192E-04
                               ERR DEF=  .500    
Final values: 
  norm       = 24.9818
  alpha      = 2.01159
  Normalizat = 1.46662
  Prefactor  = 0.948378
 **********
 **   18 **HESSE 
 **********

 FCN=   9434.826     FROM HESSE     STATUS=OK            25 CALLS      286 TOTAL
                     EDM=   .42E-11    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  norm          24.982        13.865        .32059E-05   -1.4708    
   2  alpha         2.0116        .45140        .24818E-02   -.19663    
   3  Normalizat    1.4666        .22593        .12196E-04   -.78721    
   4  Prefactor     .94838        .12557        .82425E-05   -.94471    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 4.22352e-12
Minuit parameter uncertainties:
  1  13.867
  2  0.453989
  3  0.226083
  4  0.125612
shell-init: error retrieving current directory: getcwd: cannot access parent directories: No such file or directory
rmdir: failed to remove `/scratch/kocevski/327865': 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) = 9434.82601421
delta logL = 0.318681542192

Extracting fit parameters...

4FGL J1418.4-0233
   Spectrum: LogParabola
269         norm:  2.498e+01  1.387e+01  1.000e-04  1.000e+04 ( 1.000e-13)
270        alpha:  2.012e+00  4.540e-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.484e-01  1.256e-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.467e+00  2.261e-01  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Free Index): 11.11
Ra Dec: 214.606 -2.559
Photon Index (Free Index): 2.01 +/- 0.45
Photon Flux (Free Index): 6.10e-08 +/- 4.54e-08
Energy Flux (Free Index): 4.37e-05 +/- 2.67e-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/327865/cmap_HighResolution_414028801_414288001_4FGL_J1418.4-0233_daily_bin674.png

Cleaning up...

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

Updating database...

UPDATE lightcurve_data_v2 SET comment='SUCCESS', photon_flux='3.55e-08', energy_flux2='4.37e-05', photon_flux_error='1.99e-08', dlogl='3.19e-01', energy_flux='6.08e-05', photon_flux2='6.10e-08', job_status='DONE', time_completed='2021-09-09 08:54:08.088898', photon_index_error2='0.45', photon_index2='2.01', ts='10.50', fit_tolerance='1e-08', GAL='0.95', photon_index_error='0.00', energy_flux_error2='2.67e-05', EG='1.49', time_epoch_completed='1631202848.09', return_code='0', job_id='327865', GAL2='0.95', EG2='1.47', return_code2='0', energy_flux_error='3.41e-05', photon_flux_error2='4.54e-08', ts2='11.11', photon_index='1.64' WHERE bin_id='674' AND source_name='4FGL J1418.4-0233' AND cadence='daily';

Database successfully updated.


Analysis Complete.


Thu Sep  9 08:54:08 PDT 2021


------------------------------------------------------------
Sender: LSF System <lsf@bullet0232>
Subject: Job 327865: <4FGL_J1418.4-0233_daily_bin674> in cluster <slac> Done

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

Your job looked like:

------------------------------------------------------------
# LSBATCH: User input
/nfs/farm/g/glast/g/LCRepository/Likelihood/Scripts/LikelihoodAnalysis.py 4FGL_J1418.4-0233_daily_bin674 214.606 -2.5594 414028801 414288001 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 :                                   623.28 sec.
    Max Memory :                                 1256 MB
    Average Memory :                             321.77 MB
    Total Requested Memory :                     -
    Delta Memory :                               -
    Max Swap :                                   -
    Max Processes :                              5
    Max Threads :                                21
    Run time :                                   821 sec.
    Turnaround time :                            823 sec.

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

