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


Performing analysis on: 4FGL_J1418.4-0233_daily_bin824
RA = 214.606, Dec = -2.5594
tmin = 452908801, tmax = 453168001
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='328078', job_status='RUN', time_executed='2021-09-09 08:43:52.715371', time_epoch_executed='1631202232.72' WHERE source_name='4FGL J1418.4-0233' and cadence='daily' and bin_id='824'

Database successfully updated.
Done.

Creating custom output directory:
/scratch/kocevski/328078

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

Retrieving the FT1 file...

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

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

Retrieving 46 files...
Done.


Merging files...

Checksum keywords updated successfully.

Merged file saved to:
/scratch/kocevski/328078/ft1_4FGL_J1418.4-0233_daily_bin824.fits


Retrieving the FT1 file...

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

Retrieving 46 files...
Done.


Merging files...

Merged file saved to:
/scratch/kocevski/328078/ft2_4FGL_J1418.4-0233_daily_bin824.fits


Selecting the photons:
time -p gtselect infile=/scratch/kocevski/328078/ft1_4FGL_J1418.4-0233_daily_bin824.fits outfile=/scratch/kocevski/328078/ft1_filteredMKT_4FGL_J1418.4-0233_daily_bin824.fits ra=214.606 dec=-2.5594 rad=12.0 tmin=452908801.0 tmax=453168001.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 4.11
user 3.88
sys 0.19

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

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

Generating the livetime cube:
time -p gtltcube evfile="/scratch/kocevski/328078/ft1_filtered_4FGL_J1418.4-0233_daily_bin824.fits" evtable="EVENTS" scfile=/scratch/kocevski/328078/ft2_4FGL_J1418.4-0233_daily_bin824.fits sctable="SC_DATA" outfile=/scratch/kocevski/328078/ltcube_452908801_453168001_4FGL_J1418.4-0233_daily_bin824.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/328078/ft2_4FGL_J1418.4-0233_daily_bin824.fits
.....................!
real 11.56
user 11.22
sys 0.31

Generating the exposure map:
time -p gtexpmap evfile=/scratch/kocevski/328078/ft1_filtered_4FGL_J1418.4-0233_daily_bin824.fits evtable="EVENTS" scfile=/scratch/kocevski/328078/ft2_4FGL_J1418.4-0233_daily_bin824.fits sctable="SC_DATA" expcube=/scratch/kocevski/328078/ltcube_452908801_453168001_4FGL_J1418.4-0233_daily_bin824.fits outfile=/scratch/kocevski/328078/expmap_452908801_453168001_4FGL_J1418.4-0233_daily_bin824.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/328078/ltcube_452908801_453168001_4FGL_J1418.4-0233_daily_bin824.fits
.....................!
real 190.96
user 185.93
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/328078/ft1_filtered_4FGL_J1418.4-0233_daily_bin824.fits scfile=/scratch/kocevski/328078/ft2_4FGL_J1418.4-0233_daily_bin824.fits outfile=/scratch/kocevski/328078/cmap_452908801_453168001_4FGL_J1418.4-0233_daily_bin824.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.38
sys 0.14

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

Computing the diffuse response:
time -p gtdiffrsp evfile=/scratch/kocevski/328078/ft1_filtered_4FGL_J1418.4-0233_daily_bin824.fits evtable="EVENTS" scfile=/scratch/kocevski/328078/ft2_4FGL_J1418.4-0233_daily_bin824.fits sctable="SC_DATA" srcmdl=/scratch/kocevski/328078/Model_4FGL_J1418.4-0233_daily_bin824.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/328078/ft1_filtered_4FGL_J1418.4-0233_daily_bin824.fits.....................!
real 55.12
user 53.86
sys 1.16

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

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

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

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'norm      '    1.9966       1.0000         .10000E-03   10000.    
     2 'norm      '    .10000E-03   1.0000         .10000E-03   10000.    
     3 'Prefactor '    3.7253       1.0000         .10000E-03   10000.    
     4 'Prefactor '    .10010E-03   1.0000         .10000E-03   10000.    
     5 'norm      '    .10000E-03   1.0000         .10000E-03   10000.    
     6 'Prefactor '    4.4844       1.0000         .10000E-03   10000.    
     7 'norm      '    .80335       1.0000         .10000E-03   10000.    
     8 'Prefactor '    3.4388       1.0000         .10000E-03   10000.    
     9 'norm      '    .10000E-03   1.0000         .10000E-03   10000.    
    10 'norm      '    1.3973       1.0000         .10000E-03   10000.    
    11 'Prefactor '    29.456       1.0000         .10000E-03   10000.    
    12 'Prefactor '    22.419       1.0000         .10000E-03   10000.    
    13 'norm      '    9.9250       1.0000         .10000E-03   10000.    
    14 'Prefactor '    .10900E-03   1.0000         .10000E-03   10000.    
    15 'Prefactor '    .10000E-03   1.0000         .10000E-03   10000.    
    16 'norm      '    .10001E-03   1.0000         .10000E-03   10000.    
    17 'Normalizat'    1.3317       1.0000         .10000E-01   10.000    
    18 'Prefactor '    .83222       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=   6917.545     FROM MIGRAD    STATUS=CONVERGED    351 CALLS     1720 TOTAL
                     EDM=   .10E-08  STRATEGY=1  ERROR MATRIX UNCERTAINTY=   .6%

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  norm          1.9971        1.9876       -.27024E-06   -.39335E-03
   2  norm          .10000E-03    8.0117        .28857E-07** at limit **
   3  Prefactor     3.7255        3.3979       -.24096E-06   -.13572E-03
   4  Prefactor     .10000E-03    21.759       -.12678E-04** at limit **
   5  norm          .10000E-03    1.6523        .98731E-07** at limit **
   6  Prefactor     4.4887        13.548       -.81201E-05   -.28040E-04
   7  norm          .80344        1.9562       -.10918E-05   -.13986E-02
   8  Prefactor     3.4450        39.881       -.24919E-05   -.15772E-05
   9  norm          .10000E-03    2.7845       -.31533E-07** at limit **
  10  norm          1.3976        4.2680       -.12968E-05   -.88233E-03
  11  Prefactor     29.459        27.826        .89114E-06    .45738E-05
  12  Prefactor     22.422        21.188       -.35925E-06    .35010E-04
  13  norm          9.9248        15.498       -.39071E-06   -.12923E-04
  14  Prefactor     .10000E-03    114.61        .14926E-05** at limit **
  15  Prefactor     .10000E-03    12.557       -.49478E-06** at limit **
  16  norm          .10000E-03    22.050        .12983E-04** at limit **
  17  Normalizat    1.3314        .21019        .19263E-05    .34143E-04
  18  Prefactor     .83237        .11488       -.36450E-06    .20382E-03
                               ERR DEF=  .500    
Final values: 
  norm       = 1.99714
  norm       = 0.0001
  Prefactor  = 3.72554
  Prefactor  = 0.0001
  norm       = 0.0001
  Prefactor  = 4.48867
  norm       = 0.803442
  Prefactor  = 3.44501
  norm       = 0.0001
  norm       = 1.39765
  Prefactor  = 29.4591
  Prefactor  = 22.4224
  norm       = 9.92484
  Prefactor  = 0.0001
  Prefactor  = 0.0001
  norm       = 0.0001
  Normalizat = 1.33137
  Prefactor  = 0.832367
 **********
 **   18 **HESSE 
 **********

 FCN=   6917.545     FROM HESSE     STATUS=OK           246 CALLS     1966 TOTAL
                     EDM=   .20E-08    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  norm          1.9971        1.9880        .11261E-03   -1.5425    
   2  norm          .10000E-03    8.0122        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   3  Prefactor     3.7255        3.3935        .14257E-03   -1.5322    
   4  Prefactor     .10000E-03    21.227        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   5  norm          .10000E-03    1.6582        .10440E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   6  Prefactor     4.4887        13.477        .19013E-03   -1.5284    
   7  norm          .80344        1.9865        .17652E-03   -1.5529    
   8  Prefactor     3.4450        39.409        .21811E-03   -1.5337    
   9  norm          .10000E-03    2.7853        .13555E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  10  norm          1.3976        4.2933        .29315E-03   -1.5472    
  11  Prefactor     29.459        27.901        .73820E-04   -1.4622    
  12  Prefactor     22.422        21.146        .84595E-04   -1.4761    
  13  norm          9.9248        15.491        .12719E-03   -1.5078    
  14  Prefactor     .10000E-03    115.05        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  15  Prefactor     .10000E-03    12.567        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  16  norm          .10000E-03    21.692        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  17  Normalizat    1.3314        .25093        .28305E-03   -.82635    
  18  Prefactor     .83237        .13697        .19742E-03   -.98546    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 2.0232e-09
Minuit parameter uncertainties:
  1  1.98805
  2  4.48387e-07
  3  3.39368
  4  0.000140857
  5  4.40766e-07
  6  13.4858
  7  1.98668
  8  23.3225
  9  1.4451e-07
  10  4.29425
  11  27.9134
  12  21.153
  13  15.4977
  14  0.000155231
  15  1.6049e-05
  16  9.31115e-05
  17  0.251156
  18  0.137023
Done.

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

Extracting fit parameters...

4FGL J1418.4-0233
   Spectrum: LogParabola
269         norm:  1.000e-04  1.445e-07  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:  8.324e-01  1.370e-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.331e+00  2.512e-01  1.000e-02  1.000e+01 ( 1.000e+00)


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

Saving results to:
/scratch/kocevski/328078/likelihoodResults_452908801_453168001_4FGL_J1418.4-0233_daily_bin824.txt

Performing a free index iterative likelihood fit...

Freezing all point sources, except source of interest...

Done.

Freeing candidate source...
Done.

Fit tolerance = 1

Performing likelihood fit...
Done.

MINUIT Return Code (Free Index): 102
logL (Free Index) = 6917.54626433
delta logL = -0.00162386173724

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

MINUIT Return Code (Free Index): 102
logL (Free Index) = 6917.54464045
delta logL = 1.06865627458e-08

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'norm      '    .10000E-03   1.0000         .10000E-03   10000.    
     2 'alpha     '    1.6358       1.0000          .0000       5.0000    
     3 'Normalizat'    1.3314       1.0000         .10000E-01   10.000    
     4 'Prefactor '    .83236       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=   6917.545     FROM MIGRAD    STATUS=CONVERGED     87 CALLS      222 TOTAL
                     EDM=   .97E-08    STRATEGY= 1      ERR MATRIX NOT POS-DEF

  EXT PARAMETER                APPROXIMATE        STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  norm          .10000E-03    310.89        .13563E-02** at limit **
   2  alpha         1.5215        3.1319        .50000        .47271E-07
   3  Normalizat    1.3314        .65149E-01    .28305E-03   -.15363E-03
   4  Prefactor     .83237        .37106E-01    .19742E-03   -.15261E-03
                               ERR DEF=  .500    
Final values: 
  norm       = 0.0001
  alpha      = 1.52153
  Normalizat = 1.33137
  Prefactor  = 0.832366
 **********
 **   18 **HESSE 
 **********

 FCN=   6917.545     FROM HESSE     STATUS=OK            27 CALLS      249 TOTAL
                     EDM=   .10E-09    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  norm          .10000E-03    3.0187        .27127E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   2  alpha         1.5215        4.2325        .20000       -.40214    
   3  Normalizat    1.3314        .23804        .11322E-04   -.82635    
   4  Prefactor     .83237        .13563        .78966E-05   -.98546    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 1.04237e-10
Minuit parameter uncertainties:
  1  3.39474e-05
  2  197.59
  3  0.238233
  4  0.135683
shell-init: error retrieving current directory: getcwd: cannot access parent directories: No such file or directory
rmdir: failed to remove `/scratch/kocevski/328078': 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) = 6917.54464029
delta logL = 1.7986894818e-07

Extracting fit parameters...

4FGL J1418.4-0233
   Spectrum: LogParabola
269         norm:  1.000e-04  3.395e-05  1.000e-04  1.000e+04 ( 1.000e-13)
270        alpha:  1.522e+00  1.976e+02  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:  8.324e-01  1.357e-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.331e+00  2.382e-01  1.000e-02  1.000e+01 ( 1.000e+00)


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

Creating a high resolution counts map...
INFO: Auto-setting vmin to -2.500e-04 [aplpy.core]
INFO: Auto-setting vmax to  2.775e-03 [aplpy.core]
Saving /scratch/kocevski/328078/cmap_HighResolution_452908801_453168001_4FGL_J1418.4-0233_daily_bin824.png

Cleaning up...

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

Updating database...

UPDATE lightcurve_data_v2 SET energy_flux_upper_limit='3.81e-05', job_status='DONE', photon_flux_upper_limit='2.22e-08', time_completed='2021-09-09 08:52:54.965819', job_id='328078', GAL2='0.83', fit_tolerance='1e-08', EG2='1.33', EG='1.33', time_epoch_completed='1631202774.97', return_code2='0', ts='-0.00', comment='SUCCESS', return_code='0', GAL='0.83', dlogl='1.80e-07', ts2='-0.00', photon_index_error='0.00', photon_index='1.64' WHERE bin_id='824' AND source_name='4FGL J1418.4-0233' AND cadence='daily';

Database successfully updated.


Analysis Complete.


Thu Sep  9 08:52:54 PDT 2021


------------------------------------------------------------
Sender: LSF System <lsf@bullet0115>
Subject: Job 328078: <4FGL_J1418.4-0233_daily_bin824> in cluster <slac> Done

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

Your job looked like:

------------------------------------------------------------
# LSBATCH: User input
/nfs/farm/g/glast/g/LCRepository/Likelihood/Scripts/LikelihoodAnalysis.py 4FGL_J1418.4-0233_daily_bin824 214.606 -2.5594 452908801 453168001 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 :                                   538.00 sec.
    Max Memory :                                 1256 MB
    Average Memory :                             302.79 MB
    Total Requested Memory :                     -
    Delta Memory :                               -
    Max Swap :                                   -
    Max Processes :                              5
    Max Threads :                                21
    Run time :                                   734 sec.
    Turnaround time :                            735 sec.

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

