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


Performing analysis on: 4FGL_J1418.4-0233_daily_bin1285
RA = 214.606, Dec = -2.5594
tmin = 572400001, tmax = 572659201
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='329876', job_status='RUN', time_executed='2021-09-09 08:48:15.137194', time_epoch_executed='1631202495.14' WHERE source_name='4FGL J1418.4-0233' and cadence='daily' and bin_id='1285'

Database successfully updated.
Done.

Creating custom output directory:
/scratch/kocevski/329876

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

Retrieving the FT1 file...

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

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

Retrieving 46 files...
Done.


Merging files...

Checksum keywords updated successfully.

Merged file saved to:
/scratch/kocevski/329876/ft1_4FGL_J1418.4-0233_daily_bin1285.fits


Retrieving the FT1 file...

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

Retrieving 46 files...
Done.


Merging files...

Merged file saved to:
/scratch/kocevski/329876/ft2_4FGL_J1418.4-0233_daily_bin1285.fits


Selecting the photons:
time -p gtselect infile=/scratch/kocevski/329876/ft1_4FGL_J1418.4-0233_daily_bin1285.fits outfile=/scratch/kocevski/329876/ft1_filteredMKT_4FGL_J1418.4-0233_daily_bin1285.fits ra=214.606 dec=-2.5594 rad=12.0 tmin=572400001.0 tmax=572659201.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.68
user 3.45
sys 0.22

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

Selecting the good time intervals:
time -p gtmktime scfile=/scratch/kocevski/329876/ft2_4FGL_J1418.4-0233_daily_bin1285.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/329876/ft1_filteredMKT_4FGL_J1418.4-0233_daily_bin1285.fits evtable="EVENTS" outfile="/scratch/kocevski/329876/ft1_filtered_4FGL_J1418.4-0233_daily_bin1285.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.16

Generating the livetime cube:
time -p gtltcube evfile="/scratch/kocevski/329876/ft1_filtered_4FGL_J1418.4-0233_daily_bin1285.fits" evtable="EVENTS" scfile=/scratch/kocevski/329876/ft2_4FGL_J1418.4-0233_daily_bin1285.fits sctable="SC_DATA" outfile=/scratch/kocevski/329876/ltcube_572400001_572659201_4FGL_J1418.4-0233_daily_bin1285.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/329876/ft2_4FGL_J1418.4-0233_daily_bin1285.fits
.....................!
real 11.79
user 11.37
sys 0.38

Generating the exposure map:
time -p gtexpmap evfile=/scratch/kocevski/329876/ft1_filtered_4FGL_J1418.4-0233_daily_bin1285.fits evtable="EVENTS" scfile=/scratch/kocevski/329876/ft2_4FGL_J1418.4-0233_daily_bin1285.fits sctable="SC_DATA" expcube=/scratch/kocevski/329876/ltcube_572400001_572659201_4FGL_J1418.4-0233_daily_bin1285.fits outfile=/scratch/kocevski/329876/expmap_572400001_572659201_4FGL_J1418.4-0233_daily_bin1285.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/329876/ltcube_572400001_572659201_4FGL_J1418.4-0233_daily_bin1285.fits
.....................!
real 191.79
user 186.27
sys 5.17

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/329876/ft1_filtered_4FGL_J1418.4-0233_daily_bin1285.fits scfile=/scratch/kocevski/329876/ft2_4FGL_J1418.4-0233_daily_bin1285.fits outfile=/scratch/kocevski/329876/cmap_572400001_572659201_4FGL_J1418.4-0233_daily_bin1285.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/329876/ft1_filtered_4FGL_J1418.4-0233_daily_bin1285.fits scfile=/scratch/kocevski/329876/ft2_4FGL_J1418.4-0233_daily_bin1285.fits outfile=/scratch/kocevski/329876/cmap_HighResolution_572400001_572659201_4FGL_J1418.4-0233_daily_bin1285.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.56
user 0.38
sys 0.15

Computing the diffuse response:
time -p gtdiffrsp evfile=/scratch/kocevski/329876/ft1_filtered_4FGL_J1418.4-0233_daily_bin1285.fits evtable="EVENTS" scfile=/scratch/kocevski/329876/ft2_4FGL_J1418.4-0233_daily_bin1285.fits sctable="SC_DATA" srcmdl=/scratch/kocevski/329876/Model_4FGL_J1418.4-0233_daily_bin1285.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/329876/ft1_filtered_4FGL_J1418.4-0233_daily_bin1285.fits.....................!
real 69.03
user 67.65
sys 1.19

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

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

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

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'norm      '    4.6884       1.0000         .10000E-03   10000.    
     2 'norm      '    .10000E-03   1.0000         .10000E-03   10000.    
     3 'Prefactor '    .26916E-03   1.0000         .10000E-03   10000.    
     4 'Prefactor '    .10001E-03   1.0000         .10000E-03   10000.    
     5 'norm      '    .10045E-03   1.0000         .10000E-03   10000.    
     6 'Prefactor '    .10002E-03   1.0000         .10000E-03   10000.    
     7 'norm      '    5.3168       1.0000         .10000E-03   10000.    
     8 'Prefactor '    .10100E-03   1.0000         .10000E-03   10000.    
     9 'norm      '    5.6832       1.0000         .10000E-03   10000.    
    10 'norm      '    19.355       1.0000         .10000E-03   10000.    
    11 'Prefactor '    .97118       1.0000         .10000E-03   10000.    
    12 'Prefactor '    .10750E-03   1.0000         .10000E-03   10000.    
    13 'norm      '    13.090       1.0000         .10000E-03   10000.    
    14 'Prefactor '    64.891       1.0000         .10000E-03   10000.    
    15 'Prefactor '    .10000E-03   1.0000         .10000E-03   10000.    
    16 'norm      '    6.8814       1.0000         .10000E-03   10000.    
    17 'Normalizat'    1.2744       1.0000         .10000E-01   10.000    
    18 'Prefactor '    .94241       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=   9466.612     FROM MIGRAD    STATUS=CONVERGED    349 CALLS     1510 TOTAL
                     EDM=   .89E-09  STRATEGY=1  ERROR MATRIX UNCERTAINTY=  3.0%

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  norm          4.6880        2.1471       -.17380E-07    .55989E-04
   2  norm          .10000E-03    10.900       -.23255E-07** at limit **
   3  Prefactor     .10001E-03    2.5880       -.10786E-05** at limit **
   4  Prefactor     .10000E-03    4.4709       -.24340E-07** at limit **
   5  norm          .10000E-03    3.5878       -.29837E-07** at limit **
   6  Prefactor     .10000E-03    4.7960        .46818E-07** at limit **
   7  norm          5.3166        2.8373       -.70261E-08    .19585E-03
   8  Prefactor     .10000E-03    31.555        .45461E-06** at limit **
   9  norm          5.6831        8.8649        .35229E-09   -.21151E-03
  10  norm          19.354        8.2194        .15432E-06    .21889E-03
  11  Prefactor     .95851        2.8689        .98321E-06   -.12098E-02
  12  Prefactor     .10000E-03    30.672        .15197E-05** at limit **
  13  norm          13.088        21.060       -.14381E-06   -.11036E-04
  14  Prefactor     64.888        41.500       -.14251E-06   -.43157E-04
  15  Prefactor     .10000E-03    33.683        .35549E-06** at limit **
  16  norm          6.8873        10.071       -.28488E-05   -.55569E-03
  17  Normalizat    1.2746        .18628        .21078E-06    .18557E-03
  18  Prefactor     .94233        .10524        .10558E-06    .23289E-03
                               ERR DEF=  .500    
Final values: 
  norm       = 4.68804
  norm       = 0.0001
  Prefactor  = 0.000100008
  Prefactor  = 0.0001
  norm       = 0.0001
  Prefactor  = 0.0001
  norm       = 5.31664
  Prefactor  = 0.0001
  norm       = 5.68307
  norm       = 19.3536
  Prefactor  = 0.958515
  Prefactor  = 0.000100002
  norm       = 13.0885
  Prefactor  = 64.8876
  Prefactor  = 0.0001
  norm       = 6.88735
  Normalizat = 1.2746
  Prefactor  = 0.942332
 **********
 **   18 **HESSE 
 **********

 FCN=   9466.612     FROM HESSE     STATUS=OK           244 CALLS     1754 TOTAL
                     EDM=   .18E-07    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  norm          4.6880        2.1527        .92718E-04   -1.5275    
   2  norm          .10000E-03    10.909        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   3  Prefactor     .10001E-03    7.5645        .26044E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   4  Prefactor     .10000E-03    4.4745        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   5  norm          .10000E-03    3.6398        .17966E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   6  Prefactor     .10000E-03    4.8142        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   7  norm          5.3166        2.8401        .11058E-03   -1.5247    
   8  Prefactor     .10000E-03    32.091        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   9  norm          5.6831        8.8848        .84248E-03   -1.5231    
  10  norm          19.354        8.2098        .91039E-04   -1.4828    
  11  Prefactor     .95851        28.774        .26127E-02   -1.5512    
  12  Prefactor     .10000E-03    31.365        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  13  norm          13.088        21.284        .11071E-03   -1.4984    
  14  Prefactor     64.888        41.528        .49819E-04   -1.4095    
  15  Prefactor     .10000E-03    34.375        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  16  norm          6.8873        10.352        .15294E-03   -1.5183    
  17  Normalizat    1.2746        .22187        .30210E-03   -.84328    
  18  Prefactor     .94233        .12546        .19980E-03   -.94677    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 1.8039e-08
Minuit parameter uncertainties:
  1  2.1527
  2  8.50993e-06
  3  0.000484499
  4  6.30261e-06
  5  8.02149e-06
  6  8.75949e-06
  7  2.84014
  8  0.000188804
  9  8.88689
  10  8.21023
  11  10.5084
  12  0.000541254
  13  21.2968
  14  41.5463
  15  2.19901e-05
  16  10.3551
  17  0.222033
  18  0.125501
Done.

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

Extracting fit parameters...

4FGL J1418.4-0233
   Spectrum: LogParabola
269         norm:  5.683e+00  8.887e+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.423e-01  1.255e-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.275e+00  2.220e-01  1.000e-02  1.000e+01 ( 1.000e+00)


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

Saving results to:
/scratch/kocevski/329876/likelihoodResults_572400001_572659201_4FGL_J1418.4-0233_daily_bin1285.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): 0
logL (Free Index) = 9466.6016855
delta logL = 0.00985853435668

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

MINUIT Return Code (Free Index): 0
logL (Free Index) = 9466.60162115
delta logL = 0.0099228830677

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'norm      '    5.7259       1.0000         .10000E-03   10000.    
     2 'alpha     '    1.7681       1.0000          .0000       5.0000    
     3 'Normalizat'    1.2734       1.0000         .10000E-01   10.000    
     4 'Prefactor '    .94240       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.

 FCN=   9466.602     FROM MIGRAD    STATUS=CONVERGED     57 CALLS      230 TOTAL
                     EDM=   .72E-08    STRATEGY= 1      ERR MATRIX NOT POS-DEF

  EXT PARAMETER                APPROXIMATE        STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  norm          5.7513        490.29        .41965E-02    .12235E-03
   2  alpha         1.7709        3.9773        .43638       -.73780E-05
   3  Normalizat    1.2734        .13778        .68310E-01    .26407E-04
   4  Prefactor     .94232        .45001E-01    .45543E-01    .23839E-04
                               ERR DEF=  .500    
Final values: 
  norm       = 5.75127
  alpha      = 1.77093
  Normalizat = 1.27338
  Prefactor  = 0.942324
 **********
 **   18 **HESSE 
 **********

 FCN=   9466.602     FROM HESSE     STATUS=OK            33 CALLS      263 TOTAL
                     EDM=   .18E-11    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  norm          5.7513        8.9056        .16786E-03   -1.5228    
   2  alpha         1.7709        .92990        .30393E-01   -.29593    
   3  Normalizat    1.2734        .21379        .30222E-03   -.84364    
   4  Prefactor     .94232        .12465        .19980E-03   -.94677    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 1.8134e-12
Minuit parameter uncertainties:
  1  8.90765
  2  0.955094
  3  0.213942
  4  0.124687
shell-init: error retrieving current directory: getcwd: cannot access parent directories: No such file or directory
rmdir: failed to remove `/scratch/kocevski/329876': 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) = 9466.60161166
delta logL = 0.00993236914837

Extracting fit parameters...

4FGL J1418.4-0233
   Spectrum: LogParabola
269         norm:  5.751e+00  8.908e+00  1.000e-04  1.000e+04 ( 1.000e-13)
270        alpha:  1.771e+00  9.551e-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.423e-01  1.247e-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.273e+00  2.139e-01  1.000e-02  1.000e+01 ( 1.000e+00)


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

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/329876/cmap_HighResolution_572400001_572659201_4FGL_J1418.4-0233_daily_bin1285.png

Cleaning up...

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

Updating database...

UPDATE lightcurve_data_v2 SET energy_flux_upper_limit='7.32e-05', job_status='DONE', photon_flux_upper_limit='4.28e-08', time_completed='2021-09-09 09:01:56.866474', job_id='329876', GAL2='0.94', fit_tolerance='1e-08', EG2='1.27', EG='1.27', time_epoch_completed='1631203316.87', return_code2='0', ts='0.58', comment='SUCCESS', return_code='0', GAL='0.94', dlogl='9.93e-03', ts2='0.60', photon_index_error='0.00', photon_index='1.64' WHERE bin_id='1285' AND source_name='4FGL J1418.4-0233' AND cadence='daily';

Database successfully updated.


Analysis Complete.


Thu Sep  9 09:01:56 PDT 2021


------------------------------------------------------------
Sender: LSF System <lsf@bullet0274>
Subject: Job 329876: <4FGL_J1418.4-0233_daily_bin1285> in cluster <slac> Done

Job <4FGL_J1418.4-0233_daily_bin1285> was submitted from host <rhel6-64p> by user <kocevski> in cluster <slac> at Thu Sep  9 08:45:47 2021
Job was executed on host(s) <bullet0274>, in queue <medium>, as user <kocevski> in cluster <slac> at Thu Sep  9 08:45:48 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:45:48 2021
Terminated at Thu Sep  9 09:01:57 2021
Results reported at Thu Sep  9 09:01:57 2021

Your job looked like:

------------------------------------------------------------
# LSBATCH: User input
/nfs/farm/g/glast/g/LCRepository/Likelihood/Scripts/LikelihoodAnalysis.py 4FGL_J1418.4-0233_daily_bin1285 214.606 -2.5594 572400001 572659201 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 :                                   612.35 sec.
    Max Memory :                                 1093 MB
    Average Memory :                             248.57 MB
    Total Requested Memory :                     -
    Delta Memory :                               -
    Max Swap :                                   -
    Max Processes :                              5
    Max Threads :                                21
    Run time :                                   969 sec.
    Turnaround time :                            970 sec.

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

