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


Performing analysis on: 4FGL_J1418.4-0233_daily_bin699
RA = 214.606, Dec = -2.5594
tmin = 420508801, tmax = 420768001
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='327899', job_status='RUN', time_executed='2021-09-09 08:40:43.041626', time_epoch_executed='1631202043.04' WHERE source_name='4FGL J1418.4-0233' and cadence='daily' and bin_id='699'

Database successfully updated.
Done.

Creating custom output directory:
/scratch/kocevski/327899

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

Retrieving the FT1 file...

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

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

Retrieving 46 files...
Done.


Merging files...

Checksum keywords updated successfully.

Merged file saved to:
/scratch/kocevski/327899/ft1_4FGL_J1418.4-0233_daily_bin699.fits


Retrieving the FT1 file...

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

Retrieving 46 files...
Done.


Merging files...

Merged file saved to:
/scratch/kocevski/327899/ft2_4FGL_J1418.4-0233_daily_bin699.fits


Selecting the photons:
time -p gtselect infile=/scratch/kocevski/327899/ft1_4FGL_J1418.4-0233_daily_bin699.fits outfile=/scratch/kocevski/327899/ft1_filteredMKT_4FGL_J1418.4-0233_daily_bin699.fits ra=214.606 dec=-2.5594 rad=12.0 tmin=420508801.0 tmax=420768001.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.41
user 3.20
sys 0.20

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

Selecting the good time intervals:
time -p gtmktime scfile=/scratch/kocevski/327899/ft2_4FGL_J1418.4-0233_daily_bin699.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/327899/ft1_filteredMKT_4FGL_J1418.4-0233_daily_bin699.fits evtable="EVENTS" outfile="/scratch/kocevski/327899/ft1_filtered_4FGL_J1418.4-0233_daily_bin699.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.54
user 0.32
sys 0.15

Generating the livetime cube:
time -p gtltcube evfile="/scratch/kocevski/327899/ft1_filtered_4FGL_J1418.4-0233_daily_bin699.fits" evtable="EVENTS" scfile=/scratch/kocevski/327899/ft2_4FGL_J1418.4-0233_daily_bin699.fits sctable="SC_DATA" outfile=/scratch/kocevski/327899/ltcube_420508801_420768001_4FGL_J1418.4-0233_daily_bin699.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/327899/ft2_4FGL_J1418.4-0233_daily_bin699.fits
.....................!
real 11.83
user 11.33
sys 0.33

Generating the exposure map:
time -p gtexpmap evfile=/scratch/kocevski/327899/ft1_filtered_4FGL_J1418.4-0233_daily_bin699.fits evtable="EVENTS" scfile=/scratch/kocevski/327899/ft2_4FGL_J1418.4-0233_daily_bin699.fits sctable="SC_DATA" expcube=/scratch/kocevski/327899/ltcube_420508801_420768001_4FGL_J1418.4-0233_daily_bin699.fits outfile=/scratch/kocevski/327899/expmap_420508801_420768001_4FGL_J1418.4-0233_daily_bin699.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/327899/ltcube_420508801_420768001_4FGL_J1418.4-0233_daily_bin699.fits
.....................!
real 190.44
user 185.90
sys 4.11

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/327899/ft1_filtered_4FGL_J1418.4-0233_daily_bin699.fits scfile=/scratch/kocevski/327899/ft2_4FGL_J1418.4-0233_daily_bin699.fits outfile=/scratch/kocevski/327899/cmap_420508801_420768001_4FGL_J1418.4-0233_daily_bin699.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.54
user 0.37
sys 0.14

Creating the high resolution counts map:
time -p gtbin evfile=/scratch/kocevski/327899/ft1_filtered_4FGL_J1418.4-0233_daily_bin699.fits scfile=/scratch/kocevski/327899/ft2_4FGL_J1418.4-0233_daily_bin699.fits outfile=/scratch/kocevski/327899/cmap_HighResolution_420508801_420768001_4FGL_J1418.4-0233_daily_bin699.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/327899/ft1_filtered_4FGL_J1418.4-0233_daily_bin699.fits evtable="EVENTS" scfile=/scratch/kocevski/327899/ft2_4FGL_J1418.4-0233_daily_bin699.fits sctable="SC_DATA" srcmdl=/scratch/kocevski/327899/Model_4FGL_J1418.4-0233_daily_bin699.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/327899/ft1_filtered_4FGL_J1418.4-0233_daily_bin699.fits.....................!
real 51.07
user 49.59
sys 1.22

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

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

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

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'norm      '    3.3157       1.0000         .10000E-03   10000.    
     2 'norm      '    .10002E-03   1.0000         .10000E-03   10000.    
     3 'Prefactor '    .10117E-03   1.0000         .10000E-03   10000.    
     4 'Prefactor '    .65319E-01   1.0000         .10000E-03   10000.    
     5 'norm      '    9.5278       1.0000         .10000E-03   10000.    
     6 'Prefactor '    24.080       1.0000         .10000E-03   10000.    
     7 'norm      '    .83875       1.0000         .10000E-03   10000.    
     8 'Prefactor '    .16475E-03   1.0000         .10000E-03   10000.    
     9 'norm      '    .10001E-03   1.0000         .10000E-03   10000.    
    10 'norm      '    .10116E-03   1.0000         .10000E-03   10000.    
    11 'Prefactor '    34.570       1.0000         .10000E-03   10000.    
    12 'Prefactor '    .10064E-03   1.0000         .10000E-03   10000.    
    13 'norm      '    .49867       1.0000         .10000E-03   10000.    
    14 'Prefactor '    62.346       1.0000         .10000E-03   10000.    
    15 'Prefactor '    .10009E-03   1.0000         .10000E-03   10000.    
    16 'norm      '    11.904       1.0000         .10000E-03   10000.    
    17 'Normalizat'    .82385       1.0000         .10000E-01   10.000    
    18 'Prefactor '    1.0674       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=   6341.103     FROM MIGRAD    STATUS=CONVERGED    643 CALLS     2086 TOTAL
                     EDM=   .17E-08    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  norm          3.3158        2.0991        .88302E-04    .32071E-03
   2  norm          .10000E-03    22.545        .18142E-02** at limit **
   3  Prefactor     .10000E-03    3.8746        .15176E-02** at limit **
   4  Prefactor     .10430E-03    22.674        .99729E-01** at limit **
   5  norm          9.5261        6.9545        .12983E-03    .25998E-03
   6  Prefactor     24.057        15.825        .81630E-04    .54552E-03
   7  norm          .84046        2.5376        .20778E-03    .28583E-03
   8  Prefactor     .10000E-03    62.183        .36285E-03** at limit **
   9  norm          .10000E-03    5.2836        .17866E-02** at limit **
  10  norm          .10000E-03    6.8585        .18142E-02** at limit **
  11  Prefactor     34.579        35.927        .68157E-04   -.61717E-04
  12  Prefactor     .10000E-03    37.790        .18142E-02** at limit **
  13  norm          .42132        170.49        .64215E-02    .77452E-04
  14  Prefactor     62.331        79.325        .50819E-04    .11172E-03
  15  Prefactor     .10000E-03    21.299        .18142E-02** at limit **
  16  norm          11.908        14.887        .11611E-03    .13806E-04
  17  Normalizat    .82368        .25896        .34427E-03    .48308E-03
  18  Prefactor     1.0674        .14161        .17804E-03    .96652E-03
                               ERR DEF=  .500    
Final values: 
  norm       = 3.31577
  norm       = 0.000100001
  Prefactor  = 0.0001
  Prefactor  = 0.000104298
  norm       = 9.52608
  Prefactor  = 24.057
  norm       = 0.840462
  Prefactor  = 0.000100002
  norm       = 0.0001
  norm       = 0.0001
  Prefactor  = 34.5789
  Prefactor  = 0.000100001
  norm       = 0.42132
  Prefactor  = 62.3315
  Prefactor  = 0.0001
  norm       = 11.9084
  Normalizat = 0.823678
  Prefactor  = 1.06739
 **********
 **   18 **HESSE 
 **********

 FCN=   6341.103     FROM HESSE     STATUS=OK           240 CALLS     2326 TOTAL
                     EDM=   .15E-08    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  norm          3.3158        2.0991        .35321E-05   -1.5344    
   2  norm          .10000E-03    22.547        .36285E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   3  Prefactor     .10000E-03    3.8762        .30352E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   4  Prefactor     .10430E-03    21.502        .10361       -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   5  norm          9.5261        6.9542        .51932E-05   -1.5091    
   6  Prefactor     24.057        15.826        .16326E-04   -1.4727    
   7  norm          .84046        2.5368        .83112E-05   -1.5525    
   8  Prefactor     .10000E-03    62.185        .72569E-04   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   9  norm          .10000E-03    5.2839        .35732E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  10  norm          .10000E-03    6.8629        .36285E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  11  Prefactor     34.579        35.707        .27263E-05   -1.4531    
  12  Prefactor     .10000E-03    37.811        .36285E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  13  norm          .42132        174.99        .25686E-02   -1.5578    
  14  Prefactor     62.331        79.314        .10164E-04   -1.4127    
  15  Prefactor     .10000E-03    21.300        .36285E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  16  norm          11.908        14.885        .46443E-05   -1.5018    
  17  Normalizat    .82368        .25909        .68853E-04   -.99196    
  18  Prefactor     1.0674        .14164        .35608E-04   -.90516    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 1.46207e-09
Minuit parameter uncertainties:
  1  2.09916
  2  0.000221198
  3  3.69215e-06
  4  0.0192343
  5  6.95478
  6  15.8287
  7  2.53709
  8  0.000645501
  9  7.29771e-06
  10  8.50589e-05
  11  35.7291
  12  0.000390587
  13  17.2219
  14  79.4492
  15  0.000191853
  16  14.89
  17  0.259477
  18  0.141685
Done.

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

Extracting fit parameters...

4FGL J1418.4-0233
   Spectrum: LogParabola
269         norm:  1.000e-04  7.298e-06  1.000e-04  1.000e+04 ( 1.000e-13)
270        alpha:  1.640e+00  0.000e+00  0.000e+00  5.000e+00 ( 1.000e+00) fixed
271         beta:  8.008e-02  0.000e+00  0.000e+00  1.000e+01 ( 1.000e+00) fixed
272           Eb:  1.844e+03  0.000e+00  3.000e+01  5.000e+05 ( 1.000e+00) fixed

GAL_V02
   Spectrum: PowerLaw
523    Prefactor:  1.067e+00  1.417e-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:  8.237e-01  2.595e-01  1.000e-02  1.000e+01 ( 1.000e+00)


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

Saving results to:
/scratch/kocevski/327899/likelihoodResults_420508801_420768001_4FGL_J1418.4-0233_daily_bin699.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): 102
logL (Free Index) = 6341.10390131
delta logL = -0.000900293395716

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

MINUIT Return Code (Free Index): 102
logL (Free Index) = 6341.103001
delta logL = 1.21481207316e-08

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'norm      '    .10001E-03   1.0000         .10000E-03   10000.    
     2 'alpha     '    1.6463       1.0000          .0000       5.0000    
     3 'Normalizat'    .82368       1.0000         .10000E-01   10.000    
     4 'Prefactor '    1.0674       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=   6341.103     FROM MIGRAD    STATUS=CONVERGED     98 CALLS      242 TOTAL
                     EDM=   .34E-08    STRATEGY= 1      ERR MATRIX NOT POS-DEF

  EXT PARAMETER                APPROXIMATE        STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  norm          .10000E-03    300.50        .17893E-02** at limit **
   2  alpha         1.7692        3.3763        .50000       -.34379E-07
   3  Normalizat    .82368        .43297E-01    .34426E-03   -.13738E-04
   4  Prefactor     1.0674        .25357E-01    .17804E-03   -.23243E-04
                               ERR DEF=  .500    
Final values: 
  norm       = 0.0001
  alpha      = 1.76916
  Normalizat = 0.823677
  Prefactor  = 1.06739
 **********
 **   18 **HESSE 
 **********

 FCN=   6341.103     FROM HESSE     STATUS=NOT POSDEF    29 CALLS      271 TOTAL
                     EDM=   .12E-07    STRATEGY= 1      ERR MATRIX NOT POS-DEF

  EXT PARAMETER                APPROXIMATE     INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  norm          .10000E-03    1009.9        .35786E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   2  alpha         1.7692        3.7834        .50000       -.29667    
   3  Normalizat    .82368        .11503        .13771E-04   -.99196    
   4  Prefactor     1.0674        .67376E-01    .71216E-05   -.90516    
                               ERR DEF=  .500    
Minuit fit quality: 2   estimated distance: 1.155e-08
Minuit parameter uncertainties:
  1  0.000752302
  2  2607.54
  3  0.115064
  4  0.0673812
shell-init: error retrieving current directory: getcwd: cannot access parent directories: No such file or directory
rmdir: failed to remove `/scratch/kocevski/327899': 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): 102
logL (Free Index) = 6341.10300086
delta logL = 1.543739927e-07

Extracting fit parameters...

4FGL J1418.4-0233
   Spectrum: LogParabola
269         norm:  1.000e-04  7.523e-04  1.000e-04  1.000e+04 ( 1.000e-13)
270        alpha:  1.769e+00  2.608e+03  0.000e+00  5.000e+00 ( 1.000e+00)
271         beta:  8.008e-02  0.000e+00  0.000e+00  1.000e+01 ( 1.000e+00) fixed
272           Eb:  1.844e+03  0.000e+00  3.000e+01  5.000e+05 ( 1.000e+00) fixed

GAL_V02
   Spectrum: PowerLaw
523    Prefactor:  1.067e+00  6.738e-02  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:  8.237e-01  1.151e-01  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Free Index): -0.00
Ra Dec: 214.606 -2.559

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/327899/cmap_HighResolution_420508801_420768001_4FGL_J1418.4-0233_daily_bin699.png

Cleaning up...

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

Updating database...

UPDATE lightcurve_data_v2 SET energy_flux_upper_limit='6.19e-05', job_status='DONE', photon_flux_upper_limit='3.61e-08', time_completed='2021-09-09 08:49:43.880383', job_id='327899', GAL2='1.07', fit_tolerance='1e-08', EG2='0.82', EG='0.82', time_epoch_completed='1631202583.88', return_code2='102', ts='-0.00', comment='SUCCESS', return_code='0', GAL='1.07', dlogl='1.54e-07', ts2='-0.00', photon_index_error='0.00', photon_index='1.64' WHERE bin_id='699' AND source_name='4FGL J1418.4-0233' AND cadence='daily';

Database successfully updated.


Analysis Complete.


Thu Sep  9 08:49:43 PDT 2021


------------------------------------------------------------
Sender: LSF System <lsf@bullet0214>
Subject: Job 327899: <4FGL_J1418.4-0233_daily_bin699> in cluster <slac> Done

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

Your job looked like:

------------------------------------------------------------
# LSBATCH: User input
/nfs/farm/g/glast/g/LCRepository/Likelihood/Scripts/LikelihoodAnalysis.py 4FGL_J1418.4-0233_daily_bin699 214.606 -2.5594 420508801 420768001 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 :                                   539.37 sec.
    Max Memory :                                 1093 MB
    Average Memory :                             320.21 MB
    Total Requested Memory :                     -
    Delta Memory :                               -
    Max Swap :                                   -
    Max Processes :                              5
    Max Threads :                                21
    Run time :                                   556 sec.
    Turnaround time :                            557 sec.

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

