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


Performing analysis on: 4FGL_J1418.4-0233_daily_bin1445
RA = 214.606, Dec = -2.5594
tmin = 613872001, tmax = 614131201
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='330103', job_status='RUN', time_executed='2021-09-09 08:47:38.866121', time_epoch_executed='1631202458.87' WHERE source_name='4FGL J1418.4-0233' and cadence='daily' and bin_id='1445'

Database successfully updated.
Done.

Creating custom output directory:
/scratch/kocevski/330103

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

Retrieving the FT1 file...

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

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

Retrieving 45 files...
Done.


Merging files...

Checksum keywords updated successfully.

Merged file saved to:
/scratch/kocevski/330103/ft1_4FGL_J1418.4-0233_daily_bin1445.fits


Retrieving the FT1 file...

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

Retrieving 45 files...
Done.


Merging files...

Merged file saved to:
/scratch/kocevski/330103/ft2_4FGL_J1418.4-0233_daily_bin1445.fits


Selecting the photons:
time -p gtselect infile=/scratch/kocevski/330103/ft1_4FGL_J1418.4-0233_daily_bin1445.fits outfile=/scratch/kocevski/330103/ft1_filteredMKT_4FGL_J1418.4-0233_daily_bin1445.fits ra=214.606 dec=-2.5594 rad=12.0 tmin=613872001.0 tmax=614131201.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 2.25
user 2.05
sys 0.18

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

Selecting the good time intervals:
time -p gtmktime scfile=/scratch/kocevski/330103/ft2_4FGL_J1418.4-0233_daily_bin1445.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/330103/ft1_filteredMKT_4FGL_J1418.4-0233_daily_bin1445.fits evtable="EVENTS" outfile="/scratch/kocevski/330103/ft1_filtered_4FGL_J1418.4-0233_daily_bin1445.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/330103/ft1_filtered_4FGL_J1418.4-0233_daily_bin1445.fits" evtable="EVENTS" scfile=/scratch/kocevski/330103/ft2_4FGL_J1418.4-0233_daily_bin1445.fits sctable="SC_DATA" outfile=/scratch/kocevski/330103/ltcube_613872001_614131201_4FGL_J1418.4-0233_daily_bin1445.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/330103/ft2_4FGL_J1418.4-0233_daily_bin1445.fits
.....................!
real 12.27
user 11.89
sys 0.33

Generating the exposure map:
time -p gtexpmap evfile=/scratch/kocevski/330103/ft1_filtered_4FGL_J1418.4-0233_daily_bin1445.fits evtable="EVENTS" scfile=/scratch/kocevski/330103/ft2_4FGL_J1418.4-0233_daily_bin1445.fits sctable="SC_DATA" expcube=/scratch/kocevski/330103/ltcube_613872001_614131201_4FGL_J1418.4-0233_daily_bin1445.fits outfile=/scratch/kocevski/330103/expmap_613872001_614131201_4FGL_J1418.4-0233_daily_bin1445.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/330103/ltcube_613872001_614131201_4FGL_J1418.4-0233_daily_bin1445.fits
.....................!
real 190.32
user 185.21
sys 4.69

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/330103/ft1_filtered_4FGL_J1418.4-0233_daily_bin1445.fits scfile=/scratch/kocevski/330103/ft2_4FGL_J1418.4-0233_daily_bin1445.fits outfile=/scratch/kocevski/330103/cmap_613872001_614131201_4FGL_J1418.4-0233_daily_bin1445.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.15

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

Computing the diffuse response:
time -p gtdiffrsp evfile=/scratch/kocevski/330103/ft1_filtered_4FGL_J1418.4-0233_daily_bin1445.fits evtable="EVENTS" scfile=/scratch/kocevski/330103/ft2_4FGL_J1418.4-0233_daily_bin1445.fits sctable="SC_DATA" srcmdl=/scratch/kocevski/330103/Model_4FGL_J1418.4-0233_daily_bin1445.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/330103/ft1_filtered_4FGL_J1418.4-0233_daily_bin1445.fits.....................!
real 43.08
user 41.81
sys 1.13

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

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

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

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'norm      '    .62456       1.0000         .10000E-03   10000.    
     2 'norm      '    .13725E-01   1.0000         .10000E-03   10000.    
     3 'Prefactor '    7.0224       1.0000         .10000E-03   10000.    
     4 'Prefactor '    8.5673       1.0000         .10000E-03   10000.    
     5 'norm      '    .11137E-03   1.0000         .10000E-03   10000.    
     6 'Prefactor '    18.698       1.0000         .10000E-03   10000.    
     7 'norm      '    11.306       1.0000         .10000E-03   10000.    
     8 'Prefactor '    .10837E-03   1.0000         .10000E-03   10000.    
     9 'norm      '    22.371       1.0000         .10000E-03   10000.    
    10 'norm      '    12.263       1.0000         .10000E-03   10000.    
    11 'Prefactor '    .10434E-03   1.0000         .10000E-03   10000.    
    12 'Prefactor '    .10216E-03   1.0000         .10000E-03   10000.    
    13 'norm      '    .22725       1.0000         .10000E-03   10000.    
    14 'Prefactor '    99.874       1.0000         .10000E-03   10000.    
    15 'Prefactor '    .10021E-03   1.0000         .10000E-03   10000.    
    16 'norm      '    10.528       1.0000         .10000E-03   10000.    
    17 'Normalizat'    .79154       1.0000         .10000E-01   10.000    
    18 'Prefactor '    1.0216       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=   5040.343     FROM MIGRAD    STATUS=CONVERGED    379 CALLS     1798 TOTAL
                     EDM=   .17E-08  STRATEGY=1  ERROR MATRIX UNCERTAINTY=  2.0%

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  norm          .62434        1.4364        .22231E-06   -.22766E-03
   2  norm          .10000E-03    127.05       -.18726E-05** at limit **
   3  Prefactor     7.0225        6.2365        .29709E-05   -.14843E-03
   4  Prefactor     8.5815        25.634       -.46661E-06   -.29521E-04
   5  norm          .10076E-03    6.6826       -.29197E-05** at limit **
   6  Prefactor     18.697        15.369        .18839E-06    .69087E-04
   7  norm          11.307        3.8965        .41192E-07    .86967E-04
   8  Prefactor     .10000E-03    21.950       -.22829E-06** at limit **
   9  norm          22.373        16.329        .31911E-06    .12665E-03
  10  norm          12.261        9.5300       -.67585E-07   -.16926E-04
  11  Prefactor     .10000E-03    12.225        .40823E-07** at limit **
  12  Prefactor     .10000E-03    15.345        .31763E-07** at limit **
  13  norm          .29584        16.917       -.32481E-05    .47787E-03
  14  Prefactor     99.829        76.013       -.62782E-05   -.44919E-03
  15  Prefactor     .10000E-03    22.684        .70247E-06** at limit **
  16  norm          10.531        16.080        .18347E-05    .32270E-03
  17  Normalizat    .79155        .24065       -.33468E-06    .19760E-03
  18  Prefactor     1.0215        .14159        .48957E-07    .37273E-03
                               ERR DEF=  .500    
Final values: 
  norm       = 0.62434
  norm       = 0.000100002
  Prefactor  = 7.02252
  Prefactor  = 8.58146
  norm       = 0.000100756
  Prefactor  = 18.6971
  norm       = 11.3072
  Prefactor  = 0.0001
  norm       = 22.373
  norm       = 12.2611
  Prefactor  = 0.0001
  Prefactor  = 0.0001
  norm       = 0.295837
  Prefactor  = 99.8286
  Prefactor  = 0.0001
  norm       = 10.5308
  Normalizat = 0.791553
  Prefactor  = 1.0215
 **********
 **   18 **HESSE 
 **********

 FCN=   5040.343     FROM HESSE     STATUS=OK           256 CALLS     2054 TOTAL
                     EDM=   .18E-07    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  norm          .62434        1.4082        .12346E-03   -1.5550    
   2  norm          .10000E-03    132.34        .36366E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   3  Prefactor     7.0225        7.1311        .75692E-03   -1.5178    
   4  Prefactor     8.5815        25.724        .13695E-03   -1.5122    
   5  norm          .10076E-03    7.6273        .50703E-01   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   6  Prefactor     18.697        15.353        .92625E-04   -1.4843    
   7  norm          11.307        3.8995        .38921E-03   -1.5035    
   8  Prefactor     .10000E-03    22.109        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   9  norm          22.373        16.336        .84687E-04   -1.4762    
  10  norm          12.261        9.5304        .11439E-03   -1.5008    
  11  Prefactor     .10000E-03    12.251        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  12  Prefactor     .10000E-03    15.370        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  13  norm          .29584        156.14        .54403E-02   -1.5599    
  14  Prefactor     99.829        81.493        .20114E-03   -1.3706    
  15  Prefactor     .10000E-03    22.663        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  16  norm          10.531        16.187        .12349E-03   -1.5059    
  17  Normalizat    .79155        .27855        .33912E-03   -1.0038    
  18  Prefactor     1.0215        .16486        .18589E-03   -.92016    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 1.82503e-08
Minuit parameter uncertainties:
  1  1.40828
  2  0.000982202
  3  7.13196
  4  25.7571
  5  0.00480165
  6  15.3559
  7  3.89955
  8  6.4233e-05
  9  16.3393
  10  9.53158
  11  1.28474e-05
  12  4.26319e-06
  13  13.6264
  14  81.5847
  15  9.80579e-06
  16  16.1941
  17  0.279053
  18  0.164944
Done.

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

Extracting fit parameters...

4FGL J1418.4-0233
   Spectrum: LogParabola
269         norm:  2.237e+01  1.634e+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:  1.022e+00  1.649e-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:  7.916e-01  2.791e-01  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Fixed Index): 6.13
Ra Dec: 214.606 -2.559
Photon Index (Fixed Index): 1.64 +/- 0.00
Photon Flux (Fixed Index): 3.08e-08 +/- 2.25e-08
Energy Flux (Fixed Index): 5.27e-05 +/- 3.85e-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) = 5039.79612831
delta logL = 0.546877613191

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

MINUIT Return Code (Free Index): 0
logL (Free Index) = 5039.79363779
delta logL = 0.549368125043

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'norm      '    18.064       1.0000         .10000E-03   10000.    
     2 'alpha     '    2.3036       1.0000          .0000       5.0000    
     3 'Normalizat'    .75266       1.0000         .10000E-01   10.000    
     4 'Prefactor '    1.0273       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=   5039.794     FROM MIGRAD    STATUS=CONVERGED     85 CALLS      289 TOTAL
                     EDM=   .22E-09    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  norm          18.066        15.958        .94235E-04   -.11642E-03
   2  alpha         2.3039        .62898        .85399E-02   -.31191E-04
   3  Normalizat    .75303        .26713        .34658E-03    .14692E-03
   4  Prefactor     1.0271        .16318        .18517E-03    .44148E-03
                               ERR DEF=  .500    
Final values: 
  norm       = 18.0659
  alpha      = 2.3039
  Normalizat = 0.753033
  Prefactor  = 1.02711
 **********
 **   18 **HESSE 
 **********

 FCN=   5039.794     FROM HESSE     STATUS=OK            25 CALLS      314 TOTAL
                     EDM=   .24E-09    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  norm          18.066        14.941        .37694E-05   -1.4858    
   2  alpha         2.3039        .58916        .34160E-03   -.78521E-01
   3  Normalizat    .75303        .26667        .13863E-04   -1.0184    
   4  Prefactor     1.0271        .16315        .37034E-04   -.91831    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 2.42116e-10
Minuit parameter uncertainties:
  1  14.9444
  2  0.594794
  3  0.26713
  4  0.163226
shell-init: error retrieving current directory: getcwd: cannot access parent directories: No such file or directory
rmdir: failed to remove `/scratch/kocevski/330103': 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) = 5039.79363613
delta logL = 0.549369787877

Extracting fit parameters...

4FGL J1418.4-0233
   Spectrum: LogParabola
269         norm:  1.807e+01  1.494e+01  1.000e-04  1.000e+04 ( 1.000e-13)
270        alpha:  2.304e+00  5.948e-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:  1.027e+00  1.632e-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:  7.530e-01  2.671e-01  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Free Index): 7.21
Ra Dec: 214.606 -2.559
Photon Index (Free Index): 2.30 +/- 0.59
Photon Flux (Free Index): 7.68e-08 +/- 6.28e-08
Energy Flux (Free Index): 3.33e-05 +/- 2.07e-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/330103/cmap_HighResolution_613872001_614131201_4FGL_J1418.4-0233_daily_bin1445.png

Cleaning up...

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

Updating database...

UPDATE lightcurve_data_v2 SET comment='SUCCESS', photon_flux='3.08e-08', energy_flux2='3.33e-05', photon_flux_error='2.25e-08', dlogl='5.49e-01', energy_flux='5.27e-05', photon_flux2='7.68e-08', job_status='DONE', time_completed='2021-09-09 08:57:48.210257', photon_index_error2='0.59', photon_index2='2.30', ts='6.13', fit_tolerance='1e-08', GAL='1.02', photon_index_error='0.00', energy_flux_error2='2.07e-05', EG='0.79', time_epoch_completed='1631203068.21', return_code='0', job_id='330103', GAL2='1.03', EG2='0.75', return_code2='0', energy_flux_error='3.85e-05', photon_flux_error2='6.28e-08', ts2='7.21', photon_index='1.64' WHERE bin_id='1445' AND source_name='4FGL J1418.4-0233' AND cadence='daily';

Database successfully updated.


Analysis Complete.


Thu Sep  9 08:57:48 PDT 2021


------------------------------------------------------------
Sender: LSF System <lsf@bullet0148>
Subject: Job 330103: <4FGL_J1418.4-0233_daily_bin1445> in cluster <slac> Done

Job <4FGL_J1418.4-0233_daily_bin1445> was submitted from host <rhel6-64p> by user <kocevski> in cluster <slac> at Thu Sep  9 08:46:06 2021
Job was executed on host(s) <bullet0148>, in queue <medium>, as user <kocevski> in cluster <slac> at Thu Sep  9 08:46:07 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:46:07 2021
Terminated at Thu Sep  9 08:57:49 2021
Results reported at Thu Sep  9 08:57:49 2021

Your job looked like:

------------------------------------------------------------
# LSBATCH: User input
/nfs/farm/g/glast/g/LCRepository/Likelihood/Scripts/LikelihoodAnalysis.py 4FGL_J1418.4-0233_daily_bin1445 214.606 -2.5594 613872001 614131201 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 :                                   448.30 sec.
    Max Memory :                                 1256 MB
    Average Memory :                             262.48 MB
    Total Requested Memory :                     -
    Delta Memory :                               -
    Max Swap :                                   -
    Max Processes :                              5
    Max Threads :                                21
    Run time :                                   701 sec.
    Turnaround time :                            703 sec.

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

