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


Performing analysis on: 4FGL_J1418.4-0233_daily_bin546
RA = 214.606, Dec = -2.5594
tmin = 380851201, tmax = 381110401
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='326430', job_status='RUN', time_executed='2021-09-09 08:38:24.664269', time_epoch_executed='1631201904.66' WHERE source_name='4FGL J1418.4-0233' and cadence='daily' and bin_id='546'

Database successfully updated.
Done.

Creating custom output directory:
/scratch/kocevski/326430

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

Retrieving the FT1 file...

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

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

Retrieving 47 files...
Done.


Merging files...

Checksum keywords updated successfully.

Merged file saved to:
/scratch/kocevski/326430/ft1_4FGL_J1418.4-0233_daily_bin546.fits


Retrieving the FT1 file...

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

Retrieving 47 files...
Done.


Merging files...

Merged file saved to:
/scratch/kocevski/326430/ft2_4FGL_J1418.4-0233_daily_bin546.fits


Selecting the photons:
time -p gtselect infile=/scratch/kocevski/326430/ft1_4FGL_J1418.4-0233_daily_bin546.fits outfile=/scratch/kocevski/326430/ft1_filteredMKT_4FGL_J1418.4-0233_daily_bin546.fits ra=214.606 dec=-2.5594 rad=12.0 tmin=380851201.0 tmax=381110401.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.44
user 3.23
sys 0.19

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

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

Generating the livetime cube:
time -p gtltcube evfile="/scratch/kocevski/326430/ft1_filtered_4FGL_J1418.4-0233_daily_bin546.fits" evtable="EVENTS" scfile=/scratch/kocevski/326430/ft2_4FGL_J1418.4-0233_daily_bin546.fits sctable="SC_DATA" outfile=/scratch/kocevski/326430/ltcube_380851201_381110401_4FGL_J1418.4-0233_daily_bin546.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/326430/ft2_4FGL_J1418.4-0233_daily_bin546.fits
.....................!
real 11.89
user 11.55
sys 0.30

Generating the exposure map:
time -p gtexpmap evfile=/scratch/kocevski/326430/ft1_filtered_4FGL_J1418.4-0233_daily_bin546.fits evtable="EVENTS" scfile=/scratch/kocevski/326430/ft2_4FGL_J1418.4-0233_daily_bin546.fits sctable="SC_DATA" expcube=/scratch/kocevski/326430/ltcube_380851201_381110401_4FGL_J1418.4-0233_daily_bin546.fits outfile=/scratch/kocevski/326430/expmap_380851201_381110401_4FGL_J1418.4-0233_daily_bin546.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/326430/ltcube_380851201_381110401_4FGL_J1418.4-0233_daily_bin546.fits
.....................!
real 191.77
user 187.09
sys 4.35

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/326430/ft1_filtered_4FGL_J1418.4-0233_daily_bin546.fits scfile=/scratch/kocevski/326430/ft2_4FGL_J1418.4-0233_daily_bin546.fits outfile=/scratch/kocevski/326430/cmap_380851201_381110401_4FGL_J1418.4-0233_daily_bin546.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.14

Creating the high resolution counts map:
time -p gtbin evfile=/scratch/kocevski/326430/ft1_filtered_4FGL_J1418.4-0233_daily_bin546.fits scfile=/scratch/kocevski/326430/ft2_4FGL_J1418.4-0233_daily_bin546.fits outfile=/scratch/kocevski/326430/cmap_HighResolution_380851201_381110401_4FGL_J1418.4-0233_daily_bin546.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.55
user 0.37
sys 0.16

Computing the diffuse response:
time -p gtdiffrsp evfile=/scratch/kocevski/326430/ft1_filtered_4FGL_J1418.4-0233_daily_bin546.fits evtable="EVENTS" scfile=/scratch/kocevski/326430/ft2_4FGL_J1418.4-0233_daily_bin546.fits sctable="SC_DATA" srcmdl=/scratch/kocevski/326430/Model_4FGL_J1418.4-0233_daily_bin546.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/326430/ft1_filtered_4FGL_J1418.4-0233_daily_bin546.fits.....................!
real 69.13
user 67.04
sys 1.20

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

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

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

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'norm      '    1.7614       1.0000         .10000E-03   10000.    
     2 'norm      '    23.668       1.0000         .10000E-03   10000.    
     3 'Prefactor '    .68560       1.0000         .10000E-03   10000.    
     4 'Prefactor '    .10000E-03   1.0000         .10000E-03   10000.    
     5 'norm      '    .10001E-03   1.0000         .10000E-03   10000.    
     6 'Prefactor '    .12762E-01   1.0000         .10000E-03   10000.    
     7 'norm      '    .10000E-03   1.0000         .10000E-03   10000.    
     8 'Prefactor '    33.954       1.0000         .10000E-03   10000.    
     9 'norm      '    3.5774       1.0000         .10000E-03   10000.    
    10 'norm      '    .10027E-03   1.0000         .10000E-03   10000.    
    11 'Prefactor '    .10000E-03   1.0000         .10000E-03   10000.    
    12 'Prefactor '    .10000E-03   1.0000         .10000E-03   10000.    
    13 'norm      '    12.557       1.0000         .10000E-03   10000.    
    14 'Prefactor '    .10000E-03   1.0000         .10000E-03   10000.    
    15 'Prefactor '    .10008E-03   1.0000         .10000E-03   10000.    
    16 'norm      '    .10006E-03   1.0000         .10000E-03   10000.    
    17 'Normalizat'    1.2858       1.0000         .10000E-01   10.000    
    18 'Prefactor '    .94525       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=   9046.659     FROM MIGRAD    STATUS=CONVERGED    393 CALLS     1534 TOTAL
                     EDM=   .13E-07    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  norm          1.7616        1.2981        .78926E-02    .25614E-03
   2  norm          23.668        18.496        .20584E-02   -.59163E-04
   3  Prefactor     .68623        2.5459        .12006E-01    .20188E-02
   4  Prefactor     .10000E-03    7.2789        .90712E-02** at limit **
   5  norm          .10000E-03    1.6842        .90712E-02** at limit **
   6  Prefactor     .13315        9.1826        .90867E-01    .21779E-03
   7  norm          .10000E-03    .58108        .90712E-02** at limit **
   8  Prefactor     33.914        21.192        .17193E-02    .54629E-03
   9  norm          3.5762        7.9484        .53416E-02    .20828E-03
  10  norm          .10000E-03    4.7181        .90712E-02** at limit **
  11  Prefactor     .10000E-03    11.185        .90712E-02** at limit **
  12  Prefactor     .10000E-03    11.578        .90712E-02** at limit **
  13  norm          12.559        14.562        .28260E-02    .22712E-02
  14  Prefactor     .10000E-03    14.471        .90712E-02** at limit **
  15  Prefactor     .10000E-03    15.423        .90712E-02** at limit **
  16  norm          .10000E-03    9.6790        .90712E-02** at limit **
  17  Normalizat    1.2856        .17692        .65382E-01    .37134E-04
  18  Prefactor     .94526        .10221        .45579E-01    .32324E-04
                               ERR DEF=  .500    
Final values: 
  norm       = 1.76159
  norm       = 23.6679
  Prefactor  = 0.686235
  Prefactor  = 0.0001
  norm       = 0.0001
  Prefactor  = 0.13315
  norm       = 0.0001
  Prefactor  = 33.9144
  norm       = 3.57623
  norm       = 0.0001
  Prefactor  = 0.0001
  Prefactor  = 0.0001
  norm       = 12.5592
  Prefactor  = 0.0001
  Prefactor  = 0.0001
  norm       = 0.0001
  Normalizat = 1.28557
  Prefactor  = 0.945259
 **********
 **   18 **HESSE 
 **********

 FCN=   9046.659     FROM HESSE     STATUS=OK           246 CALLS     1780 TOTAL
                     EDM=   .93E-08    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  norm          1.7616        1.3000        .90246E-04   -1.5443    
   2  norm          23.668        18.496        .82337E-04   -1.4735    
   3  Prefactor     .68623        2.5272        .28322E-03   -1.5542    
   4  Prefactor     .10000E-03    7.2913        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   5  norm          .10000E-03    1.6912        .12051E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   6  Prefactor     .13315        11.706        .77813E-01   -1.5635    
   7  norm          .10000E-03    .58938        .70769E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   8  Prefactor     33.914        21.251        .68770E-04   -1.4543    
   9  norm          3.5762        7.9401        .21366E-03   -1.5330    
  10  norm          .10000E-03    4.8553        .36285E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  11  Prefactor     .10000E-03    11.204        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  12  Prefactor     .10000E-03    11.637        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  13  norm          12.559        14.562        .11304E-03   -1.4999    
  14  Prefactor     .10000E-03    14.475        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  15  Prefactor     .10000E-03    15.460        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  16  norm          .10000E-03    9.7232        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  17  Normalizat    1.2856        .20940        .28923E-03   -.83998    
  18  Prefactor     .94526        .12084        .19457E-03   -.94577    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 9.29431e-09
Minuit parameter uncertainties:
  1  1.30003
  2  18.5008
  3  2.52761
  4  5.45324e-07
  5  3.40381e-08
  6  2.49646
  7  3.3495e-08
  8  21.2561
  9  7.94242
  10  1.76743e-07
  11  5.60458e-05
  12  6.84449e-05
  13  14.566
  14  5.72001e-05
  15  4.39541e-05
  16  3.63726e-06
  17  0.20954
  18  0.120872
Done.

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

Extracting fit parameters...

4FGL J1418.4-0233
   Spectrum: LogParabola
269         norm:  3.576e+00  7.942e+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.453e-01  1.209e-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.286e+00  2.095e-01  1.000e-02  1.000e+01 ( 1.000e+00)


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

Saving results to:
/scratch/kocevski/326430/likelihoodResults_380851201_381110401_4FGL_J1418.4-0233_daily_bin546.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) = 9046.49388324
delta logL = 0.164750072709

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

MINUIT Return Code (Free Index): 0
logL (Free Index) = 9046.49086778
delta logL = 0.167765532633

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'norm      '    3.0922       1.0000         .10000E-03   10000.    
     2 'alpha     '    2.2085       1.0000          .0000       5.0000    
     3 'Normalizat'    1.2825       1.0000         .10000E-01   10.000    
     4 'Prefactor '    .94469       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=   9046.491     FROM MIGRAD    STATUS=CONVERGED     85 CALLS      247 TOTAL
                     EDM=   .43E-10    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  norm          3.0920        7.0188        .23063E-03    .63096E-04
   2  alpha         2.2085        1.0990        .20511E-01    .16762E-04
   3  Normalizat    1.2826        .20309        .28950E-03   -.53172E-04
   4  Prefactor     .94469        .12003        .19458E-03   -.10867E-03
                               ERR DEF=  .500    
Final values: 
  norm       = 3.09197
  alpha      = 2.20854
  Normalizat = 1.28255
  Prefactor  = 0.944687
 **********
 **   18 **HESSE 
 **********

 FCN=   9046.491     FROM HESSE     STATUS=OK            25 CALLS      272 TOTAL
                     EDM=   .13E-10    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  norm          3.0920        6.2726        .92252E-05   -1.5356    
   2  alpha         2.2085        .98957        .82044E-03   -.11685    
   3  Normalizat    1.2826        .20318        .11580E-04   -.84089    
   4  Prefactor     .94469        .12009        .77833E-05   -.94597    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 1.30677e-11
Minuit parameter uncertainties:
  1  6.2739
  2  1.01784
  3  0.203305
  4  0.120127
shell-init: error retrieving current directory: getcwd: cannot access parent directories: No such file or directory
rmdir: failed to remove `/scratch/kocevski/326430': 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) = 9046.49086777
delta logL = 0.167765536205

Extracting fit parameters...

4FGL J1418.4-0233
   Spectrum: LogParabola
269         norm:  3.092e+00  6.274e+00  1.000e-04  1.000e+04 ( 1.000e-13)
270        alpha:  2.209e+00  1.018e+00  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.447e-01  1.201e-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.283e+00  2.033e-01  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Free Index): 0.26
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/326430/cmap_HighResolution_380851201_381110401_4FGL_J1418.4-0233_daily_bin546.png

Cleaning up...

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

Updating database...

UPDATE lightcurve_data_v2 SET energy_flux_upper_limit='6.40e-05', job_status='DONE', photon_flux_upper_limit='3.74e-08', time_completed='2021-09-09 08:48:31.406586', job_id='326430', GAL2='0.94', fit_tolerance='1e-08', EG2='1.28', EG='1.29', time_epoch_completed='1631202511.41', return_code2='0', ts='0.26', comment='SUCCESS', return_code='0', GAL='0.95', dlogl='1.68e-01', ts2='0.60', photon_index_error='0.00', photon_index='1.64' WHERE bin_id='546' AND source_name='4FGL J1418.4-0233' AND cadence='daily';

Database successfully updated.


Analysis Complete.


Thu Sep  9 08:48:31 PDT 2021


------------------------------------------------------------
Sender: LSF System <lsf@bullet0245>
Subject: Job 326430: <4FGL_J1418.4-0233_daily_bin546> in cluster <slac> Done

Job <4FGL_J1418.4-0233_daily_bin546> was submitted from host <rhel6-64k> by user <kocevski> in cluster <slac> at Thu Sep  9 08:35:29 2021
Job was executed on host(s) <bullet0245>, in queue <medium>, as user <kocevski> in cluster <slac> at Thu Sep  9 08:35:31 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:35:31 2021
Terminated at Thu Sep  9 08:48:32 2021
Results reported at Thu Sep  9 08:48:32 2021

Your job looked like:

------------------------------------------------------------
# LSBATCH: User input
/nfs/farm/g/glast/g/LCRepository/Likelihood/Scripts/LikelihoodAnalysis.py 4FGL_J1418.4-0233_daily_bin546 214.606 -2.5594 380851201 381110401 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 :                                   604.07 sec.
    Max Memory :                                 1093 MB
    Average Memory :                             274.71 MB
    Total Requested Memory :                     -
    Delta Memory :                               -
    Max Swap :                                   -
    Max Processes :                              5
    Max Threads :                                21
    Run time :                                   780 sec.
    Turnaround time :                            783 sec.

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

