/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 2 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 = 7443
number of fields = 22
No RA_SUN column yet. Adding RA_SUN/DEC_SUN columns.
Done.


Performing analysis on: 4FGL_J1418.4-0233_daily_bin2
RA = 214.606, Dec = -2.5594
tmin = 239846401, tmax = 240105601
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='323635', job_status='RUN', time_executed='2021-09-09 08:25:45.786915', time_epoch_executed='1631201145.79' WHERE source_name='4FGL J1418.4-0233' and cadence='daily' and bin_id='2'

Database successfully updated.
Done.

Creating custom output directory:
/scratch/kocevski/323635

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

Retrieving the FT1 file...

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

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

Retrieving 46 files...
Done.


Merging files...

Checksum keywords updated successfully.

Merged file saved to:
/scratch/kocevski/323635/ft1_4FGL_J1418.4-0233_daily_bin2.fits


Retrieving the FT1 file...

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

Retrieving 46 files...
Done.


Merging files...

Merged file saved to:
/scratch/kocevski/323635/ft2_4FGL_J1418.4-0233_daily_bin2.fits


Selecting the photons:
time -p gtselect infile=/scratch/kocevski/323635/ft1_4FGL_J1418.4-0233_daily_bin2.fits outfile=/scratch/kocevski/323635/ft1_filteredMKT_4FGL_J1418.4-0233_daily_bin2.fits ra=214.606 dec=-2.5594 rad=12.0 tmin=239846401.0 tmax=240105601.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 1.50
user 1.25
sys 0.17

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

Selecting the good time intervals:
time -p gtmktime scfile=/scratch/kocevski/323635/ft2_4FGL_J1418.4-0233_daily_bin2.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/323635/ft1_filteredMKT_4FGL_J1418.4-0233_daily_bin2.fits evtable="EVENTS" outfile="/scratch/kocevski/323635/ft1_filtered_4FGL_J1418.4-0233_daily_bin2.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.48
user 0.34
sys 0.13

Generating the livetime cube:
time -p gtltcube evfile="/scratch/kocevski/323635/ft1_filtered_4FGL_J1418.4-0233_daily_bin2.fits" evtable="EVENTS" scfile=/scratch/kocevski/323635/ft2_4FGL_J1418.4-0233_daily_bin2.fits sctable="SC_DATA" outfile=/scratch/kocevski/323635/ltcube_239846401_240105601_4FGL_J1418.4-0233_daily_bin2.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/323635/ft2_4FGL_J1418.4-0233_daily_bin2.fits
.....................!
real 12.30
user 11.96
sys 0.31

Generating the exposure map:
time -p gtexpmap evfile=/scratch/kocevski/323635/ft1_filtered_4FGL_J1418.4-0233_daily_bin2.fits evtable="EVENTS" scfile=/scratch/kocevski/323635/ft2_4FGL_J1418.4-0233_daily_bin2.fits sctable="SC_DATA" expcube=/scratch/kocevski/323635/ltcube_239846401_240105601_4FGL_J1418.4-0233_daily_bin2.fits outfile=/scratch/kocevski/323635/expmap_239846401_240105601_4FGL_J1418.4-0233_daily_bin2.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/323635/ltcube_239846401_240105601_4FGL_J1418.4-0233_daily_bin2.fits
.....................!
real 190.23
user 185.38
sys 4.47

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/323635/ft1_filtered_4FGL_J1418.4-0233_daily_bin2.fits scfile=/scratch/kocevski/323635/ft2_4FGL_J1418.4-0233_daily_bin2.fits outfile=/scratch/kocevski/323635/cmap_239846401_240105601_4FGL_J1418.4-0233_daily_bin2.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.55
user 0.38
sys 0.16

Creating the high resolution counts map:
time -p gtbin evfile=/scratch/kocevski/323635/ft1_filtered_4FGL_J1418.4-0233_daily_bin2.fits scfile=/scratch/kocevski/323635/ft2_4FGL_J1418.4-0233_daily_bin2.fits outfile=/scratch/kocevski/323635/cmap_HighResolution_239846401_240105601_4FGL_J1418.4-0233_daily_bin2.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/323635/ft1_filtered_4FGL_J1418.4-0233_daily_bin2.fits evtable="EVENTS" scfile=/scratch/kocevski/323635/ft2_4FGL_J1418.4-0233_daily_bin2.fits sctable="SC_DATA" srcmdl=/scratch/kocevski/323635/Model_4FGL_J1418.4-0233_daily_bin2.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/323635/ft1_filtered_4FGL_J1418.4-0233_daily_bin2.fits.....................!
real 54.44
user 53.15
sys 1.15

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

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

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

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'norm      '    .42170       1.0000         .10000E-03   10000.    
     2 'norm      '    .10000E-03   1.0000         .10000E-03   10000.    
     3 'Prefactor '    .27270E-02   1.0000         .10000E-03   10000.    
     4 'Prefactor '    .10000E-03   1.0000         .10000E-03   10000.    
     5 'norm      '    .10000E-03   1.0000         .10000E-03   10000.    
     6 'Prefactor '    .10000E-03   1.0000         .10000E-03   10000.    
     7 'norm      '    2.5030       1.0000         .10000E-03   10000.    
     8 'Prefactor '    .10000E-03   1.0000         .10000E-03   10000.    
     9 'norm      '    .10112E-03   1.0000         .10000E-03   10000.    
    10 'norm      '    .10005E-03   1.0000         .10000E-03   10000.    
    11 'Prefactor '    .10001E-03   1.0000         .10000E-03   10000.    
    12 'Prefactor '    .10188E-03   1.0000         .10000E-03   10000.    
    13 'norm      '    5.3561       1.0000         .10000E-03   10000.    
    14 'Prefactor '    .10000E-03   1.0000         .10000E-03   10000.    
    15 'Prefactor '    .10864E-03   1.0000         .10000E-03   10000.    
    16 'norm      '    11.073       1.0000         .10000E-03   10000.    
    17 'Normalizat'    1.1300       1.0000         .10000E-01   10.000    
    18 'Prefactor '    .98269       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=   7137.396     FROM MIGRAD    STATUS=CONVERGED    354 CALLS     1723 TOTAL
                     EDM=   .16E-07    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  norm          .42182        1.3992        .10947E-01    .20320E-02
   2  norm          .10000E-03    9.9511        .90712E-02** at limit **
   3  Prefactor     .10004E-03    2.1868        .66829E-01** at limit **
   4  Prefactor     .10000E-03    7.7085        .90712E-02** at limit **
   5  norm          .10000E-03    3.5693        .90712E-02** at limit **
   6  Prefactor     .10000E-03    5.8277        .90712E-02** at limit **
   7  norm          2.5028        1.9480        .64575E-02    .11137E-03
   8  Prefactor     .10000E-03    9.8946        .90712E-02** at limit **
   9  norm          .10000E-03    12.537        .90712E-02** at limit **
  10  norm          .10000E-03    5.3600        .90712E-02** at limit **
  11  Prefactor     .10008E-03    30.414        .90712E-02** at limit **
  12  Prefactor     .10002E-03    28.757        .90712E-02** at limit **
  13  norm          5.3560        16.960        .43412E-02    .10289E-02
  14  Prefactor     .10010E-03    26.882        .90712E-02** at limit **
  15  Prefactor     .10004E-03    40.045        .90712E-02** at limit **
  16  norm          11.052        15.083        .30099E-02    .40552E-03
  17  Normalizat    1.1299        .19112        .66602E-01    .10487E-04
  18  Prefactor     .98272        .11143        .46050E-01    .78747E-05
                               ERR DEF=  .500    
Final values: 
  norm       = 0.421821
  norm       = 0.0001
  Prefactor  = 0.000100035
  Prefactor  = 0.0001
  norm       = 0.0001
  Prefactor  = 0.0001
  norm       = 2.50276
  Prefactor  = 0.0001
  norm       = 0.000100001
  norm       = 0.0001
  Prefactor  = 0.000100081
  Prefactor  = 0.00010002
  norm       = 5.35603
  Prefactor  = 0.0001001
  Prefactor  = 0.000100042
  norm       = 11.0517
  Normalizat = 1.12994
  Prefactor  = 0.982724
 **********
 **   18 **HESSE 
 **********

 FCN=   7137.396     FROM HESSE     STATUS=OK           246 CALLS     1969 TOTAL
                     EDM=   .85E-08    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  norm          .42182        1.3886        .17528E-03   -1.5578    
   2  norm          .10000E-03    9.9529        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   3  Prefactor     .10004E-03    3.2964        .45643E-01   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   4  Prefactor     .10000E-03    7.7223        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   5  norm          .10000E-03    3.6092        .15577E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   6  Prefactor     .10000E-03    5.8644        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   7  norm          2.5028        1.9464        .10021E-03   -1.5392    
   8  Prefactor     .10000E-03    9.9183        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   9  norm          .10000E-03    12.787        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  10  norm          .10000E-03    5.4883        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  11  Prefactor     .10008E-03    30.749        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  12  Prefactor     .10002E-03    29.566        .36285E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  13  norm          5.3560        16.950        .86825E-03   -1.5245    
  14  Prefactor     .10010E-03    26.901        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  15  Prefactor     .10004E-03    40.076        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  16  norm          11.052        15.028        .12039E-03   -1.5043    
  17  Normalizat    1.1299        .22606        .29464E-03   -.88796    
  18  Prefactor     .98272        .13231        .18474E-03   -.93308    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 8.48444e-09
Minuit parameter uncertainties:
  1  1.38874
  2  1.29514e-05
  3  0.00068231
  4  2.58593e-05
  5  3.49671e-06
  6  1.17751e-05
  7  1.94643
  8  7.98232e-05
  9  0.000161042
  10  7.41597e-07
  11  0.00316344
  12  0.001544
  13  16.965
  14  0.00327947
  15  0.0025896
  16  15.0329
  17  0.226257
  18  0.132351
Done.

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

Extracting fit parameters...

4FGL J1418.4-0233
   Spectrum: LogParabola
269         norm:  1.000e-04  1.610e-04  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.827e-01  1.324e-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.130e+00  2.263e-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: 3.61e-08 ph cm-2 s-1
Energy Flux Upper Limit: 6.18e-05 MeV cm-2 s-1

Saving results to:
/scratch/kocevski/323635/likelihoodResults_239846401_240105601_4FGL_J1418.4-0233_daily_bin2.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) = 7137.39637865
delta logL = -0.000372731157768

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

MINUIT Return Code (Free Index): 0
logL (Free Index) = 7137.39600417
delta logL = 1.74714841705e-06

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'norm      '    .10016E-03   1.0000         .10000E-03   10000.    
     2 'alpha     '    1.7475       1.0000          .0000       5.0000    
     3 'Normalizat'    1.1299       1.0000         .10000E-01   10.000    
     4 'Prefactor '    .98272       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=   7137.301     FROM MIGRAD    STATUS=CONVERGED    138 CALLS      297 TOTAL
                     EDM=   .54E-09    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  norm          1.2761        5.6188        .23230E-03    .29192E-03
   2  alpha         2.6276        1.6123        .20985E-01    .38656E-04
   3  Normalizat    1.1251        .22347        .29518E-03   -.33668E-03
   4  Prefactor     .98092        .13225        .18486E-03   -.59702E-03
                               ERR DEF=  .500    
Final values: 
  norm       = 1.27615
  alpha      = 2.6276
  Normalizat = 1.12508
  Prefactor  = 0.980917
 **********
 **   18 **HESSE 
 **********

 FCN=   7137.301     FROM HESSE     STATUS=OK            25 CALLS      322 TOTAL
                     EDM=   .40E-09    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  norm          1.2761        4.3333        .92921E-05   -1.5482    
   2  alpha         2.6276        1.3439        .83939E-03    .51062E-01
   3  Normalizat    1.1251        .22352        .59036E-04   -.88951    
   4  Prefactor     .98092        .13225        .36973E-04   -.93368    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 4.0214e-10
Minuit parameter uncertainties:
  1  4.33435
  2  1.4191
  3  0.223704
  4  0.132296
shell-init: error retrieving current directory: getcwd: cannot access parent directories: No such file or directory
rmdir: failed to remove `/scratch/kocevski/323635': 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) = 7137.30062755
delta logL = 0.0953783647774

Extracting fit parameters...

4FGL J1418.4-0233
   Spectrum: LogParabola
269         norm:  1.276e+00  4.334e+00  1.000e-04  1.000e+04 ( 1.000e-13)
270        alpha:  2.628e+00  1.419e+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.809e-01  1.323e-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.125e+00  2.237e-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 -1.000e-01 [aplpy.core]
INFO: Auto-setting vmax to  1.110e+00 [aplpy.core]
Saving /scratch/kocevski/323635/cmap_HighResolution_239846401_240105601_4FGL_J1418.4-0233_daily_bin2.png

Cleaning up...

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

Updating database...

UPDATE lightcurve_data_v2 SET energy_flux_upper_limit='6.18e-05', job_status='DONE', photon_flux_upper_limit='3.61e-08', time_completed='2021-09-09 08:34:48.397040', job_id='323635', GAL2='0.98', fit_tolerance='1e-08', EG2='1.13', EG='1.13', time_epoch_completed='1631201688.4', return_code2='0', ts='-0.00', comment='SUCCESS', return_code='0', GAL='0.98', dlogl='9.54e-02', ts2='0.20', photon_index_error='0.00', photon_index='1.64' WHERE bin_id='2' AND source_name='4FGL J1418.4-0233' AND cadence='daily';

Database successfully updated.


Analysis Complete.


Thu Sep  9 08:34:48 PDT 2021


------------------------------------------------------------
Sender: LSF System <scs@bullet0142>
Subject: Job 323635: <4FGL_J1418.4-0233_daily_bin2> in cluster <slac> Done

Job <4FGL_J1418.4-0233_daily_bin2> was submitted from host <rhel6-64c> by user <kocevski> in cluster <slac> at Thu Sep  9 08:25:31 2021
Job was executed on host(s) <bullet0142>, in queue <medium>, as user <kocevski> in cluster <slac> at Thu Sep  9 08:25:33 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:25:33 2021
Terminated at Thu Sep  9 08:34:49 2021
Results reported at Thu Sep  9 08:34:49 2021

Your job looked like:

------------------------------------------------------------
# LSBATCH: User input
/nfs/farm/g/glast/g/LCRepository/Likelihood/Scripts/LikelihoodAnalysis.py 4FGL_J1418.4-0233_daily_bin2 214.606 -2.5594 239846401 240105601 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 :                                   539.00 sec.
    Max Memory :                                 1256 MB
    Average Memory :                             386.25 MB
    Total Requested Memory :                     -
    Delta Memory :                               -
    Max Swap :                                   -
    Max Processes :                              5
    Max Threads :                                21
    Run time :                                   555 sec.
    Turnaround time :                            558 sec.

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

