aklog: Couldn't determine realm of user:aklog: unknown RPC error (-1765328189)  while getting realm
/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 9 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 = 17439
number of fields = 29
RA_SUN column already exists. File will not be modified.
Done.


Performing analysis on: 4FGL_J1418.4-0233_weekly_bin230
RA = 214.606, Dec = -2.5594
tmin = 378086401, tmax = 378691201
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='300418', job_status='RUN', time_executed='2021-07-21 14:41:18.064185', time_epoch_executed='1626903678.06' WHERE source_name='4FGL J1418.4-0233' and cadence='weekly' and bin_id='230'

Database successfully updated.
Done.

Creating custom output directory:
/scratch/kocevski/300418

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

Retrieving the FT1 file...

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

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

Retrieving 109 files...
Done.


Merging files...

Checksum keywords updated successfully.

Merged file saved to:
/scratch/kocevski/300418/ft1_4FGL_J1418.4-0233_weekly_bin230.fits


Retrieving the FT1 file...

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

Retrieving 109 files...
Done.


Merging files...

Merged file saved to:
/scratch/kocevski/300418/ft2_4FGL_J1418.4-0233_weekly_bin230.fits


Selecting the photons:
time -p gtselect infile=/scratch/kocevski/300418/ft1_4FGL_J1418.4-0233_weekly_bin230.fits outfile=/scratch/kocevski/300418/ft1_filteredMKT_4FGL_J1418.4-0233_weekly_bin230.fits ra=214.606 dec=-2.5594 rad=12.0 tmin=378086401.0 tmax=378691201.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 8.40
user 7.99
sys 0.33

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

Selecting the good time intervals:
time -p gtmktime scfile=/scratch/kocevski/300418/ft2_4FGL_J1418.4-0233_weekly_bin230.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/300418/ft1_filteredMKT_4FGL_J1418.4-0233_weekly_bin230.fits evtable="EVENTS" outfile="/scratch/kocevski/300418/ft1_filtered_4FGL_J1418.4-0233_weekly_bin230.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.55
user 0.38
sys 0.17

Generating the livetime cube:
time -p gtltcube evfile="/scratch/kocevski/300418/ft1_filtered_4FGL_J1418.4-0233_weekly_bin230.fits" evtable="EVENTS" scfile=/scratch/kocevski/300418/ft2_4FGL_J1418.4-0233_weekly_bin230.fits sctable="SC_DATA" outfile=/scratch/kocevski/300418/ltcube_378086401_378691201_4FGL_J1418.4-0233_weekly_bin230.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/300418/ft2_4FGL_J1418.4-0233_weekly_bin230.fits
.....................!
real 30.88
user 30.29
sys 0.33

Generating the exposure map:
time -p gtexpmap evfile=/scratch/kocevski/300418/ft1_filtered_4FGL_J1418.4-0233_weekly_bin230.fits evtable="EVENTS" scfile=/scratch/kocevski/300418/ft2_4FGL_J1418.4-0233_weekly_bin230.fits sctable="SC_DATA" expcube=/scratch/kocevski/300418/ltcube_378086401_378691201_4FGL_J1418.4-0233_weekly_bin230.fits outfile=/scratch/kocevski/300418/expmap_378086401_378691201_4FGL_J1418.4-0233_weekly_bin230.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/300418/ltcube_378086401_378691201_4FGL_J1418.4-0233_weekly_bin230.fits
.....................!
real 191.39
user 185.39
sys 5.58

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/300418/ft1_filtered_4FGL_J1418.4-0233_weekly_bin230.fits scfile=/scratch/kocevski/300418/ft2_4FGL_J1418.4-0233_weekly_bin230.fits outfile=/scratch/kocevski/300418/cmap_378086401_378691201_4FGL_J1418.4-0233_weekly_bin230.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.59
user 0.41
sys 0.16

Creating the high resolution counts map:
time -p gtbin evfile=/scratch/kocevski/300418/ft1_filtered_4FGL_J1418.4-0233_weekly_bin230.fits scfile=/scratch/kocevski/300418/ft2_4FGL_J1418.4-0233_weekly_bin230.fits outfile=/scratch/kocevski/300418/cmap_HighResolution_378086401_378691201_4FGL_J1418.4-0233_weekly_bin230.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.58
user 0.42
sys 0.15

Computing the diffuse response:
time -p gtdiffrsp evfile=/scratch/kocevski/300418/ft1_filtered_4FGL_J1418.4-0233_weekly_bin230.fits evtable="EVENTS" scfile=/scratch/kocevski/300418/ft2_4FGL_J1418.4-0233_weekly_bin230.fits sctable="SC_DATA" srcmdl=/scratch/kocevski/300418/Model_4FGL_J1418.4-0233_weekly_bin230.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/300418/ft1_filtered_4FGL_J1418.4-0233_weekly_bin230.fits.....................!
real 105.50
user 103.94
sys 1.28

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

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

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

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'norm      '    9.0286       1.0000         .10000E-03   10000.    
     2 'norm      '    .13478E-02   1.0000         .10000E-03   10000.    
     3 'Prefactor '    .10270E-03   1.0000         .10000E-03   10000.    
     4 'Prefactor '    .91782E-01   1.0000         .10000E-03   10000.    
     5 'norm      '    5.7027       1.0000         .10000E-03   10000.    
     6 'Prefactor '    .81409E-02   1.0000         .10000E-03   10000.    
     7 'norm      '    1.3666       1.0000         .10000E-03   10000.    
     8 'Prefactor '    11.436       1.0000         .10000E-03   10000.    
     9 'norm      '    6.4790       1.0000         .10000E-03   10000.    
    10 'norm      '    4.8770       1.0000         .10000E-03   10000.    
    11 'Prefactor '    15.235       1.0000         .10000E-03   10000.    
    12 'Prefactor '    25.466       1.0000         .10000E-03   10000.    
    13 'norm      '    6.3705       1.0000         .10000E-03   10000.    
    14 'Prefactor '    4.4262       1.0000         .10000E-03   10000.    
    15 'Prefactor '    5.7212       1.0000         .10000E-03   10000.    
    16 'norm      '    11.887       1.0000         .10000E-03   10000.    
    17 'Normalizat'    1.2473       1.0000         .10000E-01   10.000    
    18 'Prefactor '    .95391       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=   15213.65     FROM MIGRAD    STATUS=CONVERGED    397 CALLS     1594 TOTAL
                     EDM=   .14E-08  STRATEGY=1  ERROR MATRIX UNCERTAINTY=   .3%

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  norm          9.0282        1.8589       -.11784E-07   -.58936E-04
   2  norm          .10000E-03    62.875        .11508E-04** at limit **
   3  Prefactor     .10000E-03    1.5379        .43564E-07** at limit **
   4  Prefactor     .11021E-03    7.1091       -.73171E-06** at limit **
   5  norm          5.7027        4.2364       -.11892E-06   -.38660E-03
   6  Prefactor     .10237E-03    2.5838        .87896E-06** at limit **
   7  norm          1.3643        1.9599       -.80658E-06   -.25435E-02
   8  Prefactor     11.425        8.9627        .41074E-06   -.60938E-04
   9  norm          6.4797        4.9425        .40971E-07    .97756E-04
  10  norm          4.8748        4.6733       -.53268E-06   -.43389E-03
  11  Prefactor     15.236        14.595       -.92863E-05   -.62032E-04
  12  Prefactor     25.462        16.511        .39758E-05    .13035E-04
  13  norm          6.3687        9.7314        .33508E-05   -.57545E-04
  14  Prefactor     4.4239        34.839        .71206E-05   -.34417E-04
  15  Prefactor     5.7648        16.694        .41669E-04    .41192E-04
  16  norm          11.872        12.019       -.15008E-04   -.24793E-03
  17  Normalizat    1.2476        .14550        .13343E-05   -.27178E-03
  18  Prefactor     .95385        .82361E-01   -.71126E-06    .25390E-04
                               ERR DEF=  .500    
Final values: 
  norm       = 9.02821
  norm       = 0.000100001
  Prefactor  = 0.0001
  Prefactor  = 0.000110213
  norm       = 5.70272
  Prefactor  = 0.000102375
  norm       = 1.3643
  Prefactor  = 11.4252
  norm       = 6.47967
  norm       = 4.87481
  Prefactor  = 15.236
  Prefactor  = 25.4625
  norm       = 6.36866
  Prefactor  = 4.42395
  Prefactor  = 5.76481
  norm       = 11.8716
  Normalizat = 1.2476
  Prefactor  = 0.953854
 **********
 **   18 **HESSE 
 **********

 FCN=   15213.65     FROM HESSE     STATUS=OK           274 CALLS     1868 TOTAL
                     EDM=   .30E-08    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  norm          9.0282        1.8608        .73834E-04   -1.5107    
   2  norm          .10000E-03    65.885        .41106E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   3  Prefactor     .10000E-03    1.5537        .14918E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   4  Prefactor     .11021E-03    9.3238        .93860E-01   -1.5707    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   5  norm          5.7027        4.2277        .16820E-03   -1.5230    
   6  Prefactor     .10237E-03    3.5223        .69176E-01   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   7  norm          1.3643        1.9510        .19281E-03   -1.5474    
   8  Prefactor     11.425        8.9659        .11846E-03   -1.5032    
   9  norm          6.4797        4.9442        .15767E-03   -1.5199    
  10  norm          4.8748        4.6467        .18214E-03   -1.5266    
  11  Prefactor     15.236        14.643        .10261E-03   -1.4927    
  12  Prefactor     25.462        16.510        .79382E-04   -1.4698    
  13  norm          6.3687        9.7162        .15903E-03   -1.5203    
  14  Prefactor     4.4239        34.773        .19141E-03   -1.5287    
  15  Prefactor     5.7648        16.595        .16793E-03   -1.5228    
  16  norm          11.872        12.019        .11619E-03   -1.5019    
  17  Normalizat    1.2476        .17146        .30361E-03   -.85144    
  18  Prefactor     .95385        .96975E-01    .20036E-03   -.94284    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 3.02411e-09
Minuit parameter uncertainties:
  1  1.86081
  2  0.000447774
  3  3.8331e-07
  4  0.0195192
  5  4.22796
  6  0.00578472
  7  1.95106
  8  8.96697
  9  4.9445
  10  4.64704
  11  14.6462
  12  16.5131
  13  9.71863
  14  24.8256
  15  16.6083
  16  12.0214
  17  0.171542
  18  0.0969929
Done.

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

Extracting fit parameters...

4FGL J1418.4-0233
   Spectrum: LogParabola
269         norm:  6.480e+00  4.945e+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

GAL_V02
   Spectrum: PowerLaw
523    Prefactor:  9.539e-01  9.699e-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:  1.248e+00  1.715e-01  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Fixed Index): 7.66
Ra Dec: 214.606 -2.559
Photon Index (Fixed Index): 1.64 +/- 0.00
Photon Flux (Fixed Index): 8.92e-09 +/- 6.81e-09
Energy Flux (Fixed Index): 1.53e-05 +/- 1.17e-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) = 15213.6403688
delta logL = 0.00482064862626

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

MINUIT Return Code (Free Index): 0
logL (Free Index) = 15213.6402831
delta logL = 0.0049063600909

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'norm      '    6.4193       1.0000         .10000E-03   10000.    
     2 'alpha     '    1.5786       1.0000          .0000       5.0000    
     3 'Normalizat'    1.2479       1.0000         .10000E-01   10.000    
     4 'Prefactor '    .95397       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=   15213.64     FROM MIGRAD    STATUS=CONVERGED     88 CALLS      243 TOTAL
                     EDM=   .38E-08    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  norm          6.4196        4.9738        .15841E-03   -.17942E-02
   2  alpha         1.5785        .60755        .24767E-01   -.17316E-03
   3  Normalizat    1.2480        .16260        .30357E-03    .23444E-04
   4  Prefactor     .95396        .95887E-01    .20036E-03    .20132E-03
                               ERR DEF=  .500    
Final values: 
  norm       = 6.41961
  alpha      = 1.57847
  Normalizat = 1.24796
  Prefactor  = 0.953963
 **********
 **   18 **HESSE 
 **********

 FCN=   15213.64     FROM HESSE     STATUS=OK            23 CALLS      266 TOTAL
                     EDM=   .39E-08    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  norm          6.4196        5.0040        .63365E-05   -1.5201    
   2  alpha         1.5785        .61146        .99069E-03   -.37752    
   3  Normalizat    1.2480        .16275        .12143E-04   -.85134    
   4  Prefactor     .95396        .95981E-01    .80142E-05   -.94280    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 3.94168e-09
Minuit parameter uncertainties:
  1  5.0043
  2  0.61874
  3  0.162813
  4  0.0959977
shell-init: error retrieving current directory: getcwd: cannot access parent directories: No such file or directory
rmdir: failed to remove `/scratch/kocevski/300418': 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) = 15213.6402831
delta logL = 0.00490638575502

Extracting fit parameters...

4FGL J1418.4-0233
   Spectrum: LogParabola
269         norm:  6.420e+00  5.004e+00  1.000e-04  1.000e+04 ( 1.000e-13)
270        alpha:  1.578e+00  6.187e-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.540e-01  9.600e-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:  1.248e+00  1.628e-01  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Free Index): 7.67
Ra Dec: 214.606 -2.559
Photon Index (Free Index): 1.58 +/- 0.62
Photon Flux (Free Index): 8.20e-09 +/- 9.41e-09
Energy Flux (Free Index): 1.65e-05 +/- 1.84e-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/300418/cmap_HighResolution_378086401_378691201_4FGL_J1418.4-0233_weekly_bin230.png

Cleaning up...

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

Updating database...

UPDATE lightcurve_data_v2 SET comment='SUCCESS', photon_flux='8.92e-09', energy_flux2='1.65e-05', photon_flux_error='6.81e-09', dlogl='4.91e-03', energy_flux='1.53e-05', photon_flux2='8.20e-09', job_status='DONE', time_completed='2021-07-21 14:54:35.538564', photon_index_error2='0.62', photon_index2='1.58', ts='7.66', fit_tolerance='1e-08', GAL='0.95', photon_index_error='0.00', energy_flux_error2='1.84e-05', EG='1.25', time_epoch_completed='1626904475.54', return_code='0', job_id='300418', GAL2='0.95', EG2='1.25', return_code2='0', energy_flux_error='1.17e-05', photon_flux_error2='9.41e-09', ts2='7.67', photon_index='1.64' WHERE bin_id='230' AND source_name='4FGL J1418.4-0233' AND cadence='weekly';

Database successfully updated.


Analysis Complete.


Wed Jul 21 14:54:35 PDT 2021


------------------------------------------------------------
Sender: LSF System <lsf@bullet0082>
Subject: Job 300418: <4FGL_J1418.4-0233_weekly_bin230> in cluster <slac> Done

Job <4FGL_J1418.4-0233_weekly_bin230> was submitted from host <rhel6-64e> by user <kocevski> in cluster <slac> at Wed Jul 21 14:40:37 2021
Job was executed on host(s) <bullet0082>, in queue <medium>, as user <kocevski> in cluster <slac> at Wed Jul 21 14:41:00 2021
</u/ki/kocevski> was used as the home directory.
</u/ki/kocevski> was used as the working directory.
Started at Wed Jul 21 14:41:00 2021
Terminated at Wed Jul 21 14:54:36 2021
Results reported at Wed Jul 21 14:54:36 2021

Your job looked like:

------------------------------------------------------------
# LSBATCH: User input
/nfs/farm/g/glast/g/LCRepository/Likelihood/Scripts/LikelihoodAnalysis.py 4FGL_J1418.4-0233_weekly_bin230 214.606 -2.5594 378086401 378691201 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 :                                   788.00 sec.
    Max Memory :                                 1257 MB
    Average Memory :                             368.81 MB
    Total Requested Memory :                     -
    Delta Memory :                               -
    Max Swap :                                   -
    Max Processes :                              5
    Max Threads :                                21
    Run time :                                   818 sec.
    Turnaround time :                            839 sec.

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

