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


Performing analysis on: 4FGL_J1418.4-0233_daily_bin1037
RA = 214.606, Dec = -2.5594
tmin = 508118401, tmax = 508377601
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='328384', job_status='RUN', time_executed='2021-09-09 08:43:49.624543', time_epoch_executed='1631202229.62' WHERE source_name='4FGL J1418.4-0233' and cadence='daily' and bin_id='1037'

Database successfully updated.
Done.

Creating custom output directory:
/scratch/kocevski/328384

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

Retrieving the FT1 file...

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

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

Retrieving 47 files...
Done.


Merging files...

Checksum keywords updated successfully.

Merged file saved to:
/scratch/kocevski/328384/ft1_4FGL_J1418.4-0233_daily_bin1037.fits


Retrieving the FT1 file...

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

Retrieving 47 files...
Done.


Merging files...

Merged file saved to:
/scratch/kocevski/328384/ft2_4FGL_J1418.4-0233_daily_bin1037.fits


Selecting the photons:
time -p gtselect infile=/scratch/kocevski/328384/ft1_4FGL_J1418.4-0233_daily_bin1037.fits outfile=/scratch/kocevski/328384/ft1_filteredMKT_4FGL_J1418.4-0233_daily_bin1037.fits ra=214.606 dec=-2.5594 rad=12.0 tmin=508118401.0 tmax=508377601.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.90
user 3.43
sys 0.22

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

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

Generating the livetime cube:
time -p gtltcube evfile="/scratch/kocevski/328384/ft1_filtered_4FGL_J1418.4-0233_daily_bin1037.fits" evtable="EVENTS" scfile=/scratch/kocevski/328384/ft2_4FGL_J1418.4-0233_daily_bin1037.fits sctable="SC_DATA" outfile=/scratch/kocevski/328384/ltcube_508118401_508377601_4FGL_J1418.4-0233_daily_bin1037.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/328384/ft2_4FGL_J1418.4-0233_daily_bin1037.fits
.....................!
real 13.08
user 12.72
sys 0.33

Generating the exposure map:
time -p gtexpmap evfile=/scratch/kocevski/328384/ft1_filtered_4FGL_J1418.4-0233_daily_bin1037.fits evtable="EVENTS" scfile=/scratch/kocevski/328384/ft2_4FGL_J1418.4-0233_daily_bin1037.fits sctable="SC_DATA" expcube=/scratch/kocevski/328384/ltcube_508118401_508377601_4FGL_J1418.4-0233_daily_bin1037.fits outfile=/scratch/kocevski/328384/expmap_508118401_508377601_4FGL_J1418.4-0233_daily_bin1037.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/328384/ltcube_508118401_508377601_4FGL_J1418.4-0233_daily_bin1037.fits
.....................!
real 190.73
user 185.06
sys 5.12

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/328384/ft1_filtered_4FGL_J1418.4-0233_daily_bin1037.fits scfile=/scratch/kocevski/328384/ft2_4FGL_J1418.4-0233_daily_bin1037.fits outfile=/scratch/kocevski/328384/cmap_508118401_508377601_4FGL_J1418.4-0233_daily_bin1037.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.36
sys 0.16

Creating the high resolution counts map:
time -p gtbin evfile=/scratch/kocevski/328384/ft1_filtered_4FGL_J1418.4-0233_daily_bin1037.fits scfile=/scratch/kocevski/328384/ft2_4FGL_J1418.4-0233_daily_bin1037.fits outfile=/scratch/kocevski/328384/cmap_HighResolution_508118401_508377601_4FGL_J1418.4-0233_daily_bin1037.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.39
sys 0.14

Computing the diffuse response:
time -p gtdiffrsp evfile=/scratch/kocevski/328384/ft1_filtered_4FGL_J1418.4-0233_daily_bin1037.fits evtable="EVENTS" scfile=/scratch/kocevski/328384/ft2_4FGL_J1418.4-0233_daily_bin1037.fits sctable="SC_DATA" srcmdl=/scratch/kocevski/328384/Model_4FGL_J1418.4-0233_daily_bin1037.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/328384/ft1_filtered_4FGL_J1418.4-0233_daily_bin1037.fits.....................!
real 58.36
user 56.98
sys 1.21

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

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

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

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'norm      '    1.0906       1.0000         .10000E-03   10000.    
     2 'norm      '    15.576       1.0000         .10000E-03   10000.    
     3 'Prefactor '    1.2397       1.0000         .10000E-03   10000.    
     4 'Prefactor '    1.4958       1.0000         .10000E-03   10000.    
     5 'norm      '    1.5694       1.0000         .10000E-03   10000.    
     6 'Prefactor '    2.4395       1.0000         .10000E-03   10000.    
     7 'norm      '    .10797E-03   1.0000         .10000E-03   10000.    
     8 'Prefactor '    1.7757       1.0000         .10000E-03   10000.    
     9 'norm      '    8.1177       1.0000         .10000E-03   10000.    
    10 'norm      '    9.8795       1.0000         .10000E-03   10000.    
    11 'Prefactor '    .10054E-03   1.0000         .10000E-03   10000.    
    12 'Prefactor '    .10000E-03   1.0000         .10000E-03   10000.    
    13 'norm      '    .10003E-03   1.0000         .10000E-03   10000.    
    14 'Prefactor '    .10001E-03   1.0000         .10000E-03   10000.    
    15 'Prefactor '    5.1775       1.0000         .10000E-03   10000.    
    16 'norm      '    .10157E-03   1.0000         .10000E-03   10000.    
    17 'Normalizat'    1.4368       1.0000         .10000E-01   10.000    
    18 'Prefactor '    .70802       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=   7382.135     FROM MIGRAD    STATUS=CONVERGED    357 CALLS     1729 TOTAL
                     EDM=   .22E-10  STRATEGY=1  ERROR MATRIX UNCERTAINTY=  2.4%

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  norm          1.0904        1.3250        .10926E-06   -.11042E-04
   2  norm          15.575        22.848       -.52264E-07   -.59771E-05
   3  Prefactor     1.2401        3.1795        .34800E-06   -.42675E-04
   4  Prefactor     1.5174        127.81       -.13529E-05   -.59872E-05
   5  norm          1.5692        4.7312        .71590E-06   -.44995E-04
   6  Prefactor     2.3956        35.154        .55342E-05   -.23063E-04
   7  norm          .10000E-03    .97587       -.89715E-07** at limit **
   8  Prefactor     1.7734        63.872       -.44591E-05   -.18132E-04
   9  norm          8.1178        7.7628       -.13422E-07    .25418E-05
  10  norm          9.8800        6.5207       -.21914E-06    .46878E-04
  11  Prefactor     .10000E-03    34.733       -.39551E-05** at limit **
  12  Prefactor     .10000E-03    13.972       -.31296E-05** at limit **
  13  norm          .10000E-03    11.596        .22589E-05** at limit **
  14  Prefactor     .10000E-03    28.940        .58155E-05** at limit **
  15  Prefactor     5.1720        20.232       -.15882E-05   -.66670E-05
  16  norm          .10000E-03    9.0754       -.58945E-06** at limit **
  17  Normalizat    1.4369        .19097        .37311E-06    .30979E-04
  18  Prefactor     .70796        .10329       -.10398E-06    .70102E-04
                               ERR DEF=  .500    
Final values: 
  norm       = 1.09044
  norm       = 15.575
  Prefactor  = 1.24008
  Prefactor  = 1.51741
  norm       = 1.5692
  Prefactor  = 2.39561
  norm       = 0.0001
  Prefactor  = 1.77339
  norm       = 8.11775
  norm       = 9.88003
  Prefactor  = 0.0001
  Prefactor  = 0.0001
  norm       = 0.0001
  Prefactor  = 0.0001
  Prefactor  = 5.17196
  norm       = 0.0001
  Normalizat = 1.43685
  Prefactor  = 0.707959
 **********
 **   18 **HESSE 
 **********

 FCN=   7382.135     FROM HESSE     STATUS=OK           252 CALLS     1981 TOTAL
                     EDM=   .64E-10    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  norm          1.0904        1.2966        .10561E-03   -1.5499    
   2  norm          15.575        22.852        .10148E-03   -1.4918    
   3  Prefactor     1.2401        3.0814        .22992E-03   -1.5485    
   4  Prefactor     1.5174        127.28        .35031E-03   -1.5462    
   5  norm          1.5692        4.6442        .30253E-03   -1.5457    
   6  Prefactor     2.3956        36.118        .26196E-03   -1.5398    
   7  norm          .10000E-03    4.2362        .16115E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   8  Prefactor     1.7734        63.503        .31416E-03   -1.5442    
   9  norm          8.1178        7.7649        .14072E-03   -1.5138    
  10  norm          9.8800        6.4534        .12749E-03   -1.5079    
  11  Prefactor     .10000E-03    35.195        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  12  Prefactor     .10000E-03    14.115        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  13  norm          .10000E-03    11.681        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  14  Prefactor     .10000E-03    29.160        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  15  Prefactor     5.1720        20.219        .17667E-03   -1.5253    
  16  norm          .10000E-03    9.0811        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  17  Normalizat    1.4369        .22365        .25820E-03   -.79569    
  18  Prefactor     .70796        .12142        .20031E-03   -1.0322    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 6.36647e-11
Minuit parameter uncertainties:
  1  1.29667
  2  22.8648
  3  3.08175
  4  27.8547
  5  4.64525
  6  18.6169
  7  4.69581e-05
  8  21.2479
  9  7.76589
  10  6.45385
  11  8.58755e-05
  12  3.70401e-05
  13  3.26163e-05
  14  0.000143696
  15  20.2456
  16  5.81442e-06
  17  0.2238
  18  0.121468
Done.

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

Extracting fit parameters...

4FGL J1418.4-0233
   Spectrum: LogParabola
269         norm:  8.118e+00  7.766e+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:  7.080e-01  1.215e-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.437e+00  2.238e-01  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Fixed Index): 4.85
Ra Dec: 214.606 -2.559
Photon Index (Fixed Index): 1.64 +/- 0.00
Photon Flux (Fixed Index): 1.12e-08 +/- 1.07e-08
Energy Flux (Fixed Index): 1.91e-05 +/- 1.83e-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) = 7382.12356378
delta logL = 0.0118231394717

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

MINUIT Return Code (Free Index): 0
logL (Free Index) = 7382.12338942
delta logL = 0.0119975015359

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'norm      '    8.2444       1.0000         .10000E-03   10000.    
     2 'alpha     '    1.5208       1.0000          .0000       5.0000    
     3 'Normalizat'    1.4378       1.0000         .10000E-01   10.000    
     4 'Prefactor '    .70785       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=   7382.123     FROM MIGRAD    STATUS=CONVERGED     91 CALLS      265 TOTAL
                     EDM=   .93E-12    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  norm          8.2461        7.8852        .13963E-03    .23613E-05
   2  alpha         1.5207        .74104        .20599E-01   -.98791E-06
   3  Normalizat    1.4379        .21010        .25812E-03   -.68708E-05
   4  Prefactor     .70785        .11962        .20032E-03    .11351E-04
                               ERR DEF=  .500    
Final values: 
  norm       = 8.24609
  alpha      = 1.52068
  Normalizat = 1.43787
  Prefactor  = 0.707855
 **********
 **   18 **HESSE 
 **********

 FCN=   7382.123     FROM HESSE     STATUS=OK            25 CALLS      290 TOTAL
                     EDM=   .83E-12    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  norm          8.2461        7.8766        .55850E-05   -1.5134    
   2  alpha         1.5207        .74057        .82396E-03   -.40251    
   3  Normalizat    1.4379        .21029        .10325E-04   -.79540    
   4  Prefactor     .70785        .11973        .80127E-05   -1.0322    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 8.27194e-13
Minuit parameter uncertainties:
  1  7.87757
  2  0.753996
  3  0.210414
  4  0.119774
shell-init: error retrieving current directory: getcwd: cannot access parent directories: No such file or directory
rmdir: failed to remove `/scratch/kocevski/328384': 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) = 7382.12338932
delta logL = 0.0119975927873

Extracting fit parameters...

4FGL J1418.4-0233
   Spectrum: LogParabola
269         norm:  8.246e+00  7.878e+00  1.000e-04  1.000e+04 ( 1.000e-13)
270        alpha:  1.521e+00  7.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:  7.079e-01  1.198e-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.438e+00  2.104e-01  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Free Index): 4.87
Ra Dec: 214.606 -2.559
Photon Index (Free Index): 1.52 +/- 0.75
Photon Flux (Free Index): 9.87e-09 +/- 1.22e-08
Energy Flux (Free Index): 2.33e-05 +/- 3.69e-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/328384/cmap_HighResolution_508118401_508377601_4FGL_J1418.4-0233_daily_bin1037.png

Cleaning up...

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

Updating database...

UPDATE lightcurve_data_v2 SET comment='SUCCESS', photon_flux='1.12e-08', energy_flux2='2.33e-05', photon_flux_error='1.07e-08', dlogl='1.20e-02', energy_flux='1.91e-05', photon_flux2='9.87e-09', job_status='DONE', time_completed='2021-09-09 08:52:41.425746', photon_index_error2='0.75', photon_index2='1.52', ts='4.85', fit_tolerance='1e-08', GAL='0.71', photon_index_error='0.00', energy_flux_error2='3.69e-05', EG='1.44', time_epoch_completed='1631202761.43', return_code='0', job_id='328384', GAL2='0.71', EG2='1.44', return_code2='0', energy_flux_error='1.83e-05', photon_flux_error2='1.22e-08', ts2='4.87', photon_index='1.64' WHERE bin_id='1037' AND source_name='4FGL J1418.4-0233' AND cadence='daily';

Database successfully updated.


Analysis Complete.


Thu Sep  9 08:52:41 PDT 2021


------------------------------------------------------------
Sender: LSF System <lsf@bullet0202>
Subject: Job 328384: <4FGL_J1418.4-0233_daily_bin1037> in cluster <slac> Done

Job <4FGL_J1418.4-0233_daily_bin1037> was submitted from host <rhel6-64e> by user <kocevski> in cluster <slac> at Thu Sep  9 08:41:01 2021
Job was executed on host(s) <bullet0202>, in queue <medium>, as user <kocevski> in cluster <slac> at Thu Sep  9 08:41:02 2021
</u/ki/kocevski> was used as the home directory.
</u/ki/kocevski> was used as the working directory.
Started at Thu Sep  9 08:41:02 2021
Terminated at Thu Sep  9 08:52:42 2021
Results reported at Thu Sep  9 08:52:42 2021

Your job looked like:

------------------------------------------------------------
# LSBATCH: User input
/nfs/farm/g/glast/g/LCRepository/Likelihood/Scripts/LikelihoodAnalysis.py 4FGL_J1418.4-0233_daily_bin1037 214.606 -2.5594 508118401 508377601 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 :                                   524.11 sec.
    Max Memory :                                 1093 MB
    Average Memory :                             271.46 MB
    Total Requested Memory :                     -
    Delta Memory :                               -
    Max Swap :                                   -
    Max Processes :                              5
    Max Threads :                                21
    Run time :                                   699 sec.
    Turnaround time :                            701 sec.

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

