/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 119 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 = 30
RA_SUN column already exists. File will not be modified.
Done.


Performing analysis on: 4FGL_J1418.4-0233_daily_bin1072
RA = 214.606, Dec = -2.5594
tmin = 517190401, tmax = 517449601
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='328437', job_status='RUN', time_executed='2021-09-09 08:43:16.690498', time_epoch_executed='1631202196.69' WHERE source_name='4FGL J1418.4-0233' and cadence='daily' and bin_id='1072'

Database successfully updated.
Done.

Creating custom output directory:
/scratch/kocevski/328437

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

Retrieving the FT1 file...

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

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

Retrieving 46 files...
Done.


Merging files...

Checksum keywords updated successfully.

Merged file saved to:
/scratch/kocevski/328437/ft1_4FGL_J1418.4-0233_daily_bin1072.fits


Retrieving the FT1 file...

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

Retrieving 46 files...
Done.


Merging files...

Merged file saved to:
/scratch/kocevski/328437/ft2_4FGL_J1418.4-0233_daily_bin1072.fits


Selecting the photons:
time -p gtselect infile=/scratch/kocevski/328437/ft1_4FGL_J1418.4-0233_daily_bin1072.fits outfile=/scratch/kocevski/328437/ft1_filteredMKT_4FGL_J1418.4-0233_daily_bin1072.fits ra=214.606 dec=-2.5594 rad=12.0 tmin=517190401.0 tmax=517449601.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.59
user 4.33
sys 0.24

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

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

Generating the livetime cube:
time -p gtltcube evfile="/scratch/kocevski/328437/ft1_filtered_4FGL_J1418.4-0233_daily_bin1072.fits" evtable="EVENTS" scfile=/scratch/kocevski/328437/ft2_4FGL_J1418.4-0233_daily_bin1072.fits sctable="SC_DATA" outfile=/scratch/kocevski/328437/ltcube_517190401_517449601_4FGL_J1418.4-0233_daily_bin1072.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/328437/ft2_4FGL_J1418.4-0233_daily_bin1072.fits
.....................!
real 11.67
user 11.31
sys 0.29

Generating the exposure map:
time -p gtexpmap evfile=/scratch/kocevski/328437/ft1_filtered_4FGL_J1418.4-0233_daily_bin1072.fits evtable="EVENTS" scfile=/scratch/kocevski/328437/ft2_4FGL_J1418.4-0233_daily_bin1072.fits sctable="SC_DATA" expcube=/scratch/kocevski/328437/ltcube_517190401_517449601_4FGL_J1418.4-0233_daily_bin1072.fits outfile=/scratch/kocevski/328437/expmap_517190401_517449601_4FGL_J1418.4-0233_daily_bin1072.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/328437/ltcube_517190401_517449601_4FGL_J1418.4-0233_daily_bin1072.fits
.....................!
real 191.52
user 186.31
sys 4.68

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/328437/ft1_filtered_4FGL_J1418.4-0233_daily_bin1072.fits scfile=/scratch/kocevski/328437/ft2_4FGL_J1418.4-0233_daily_bin1072.fits outfile=/scratch/kocevski/328437/cmap_517190401_517449601_4FGL_J1418.4-0233_daily_bin1072.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/328437/ft1_filtered_4FGL_J1418.4-0233_daily_bin1072.fits scfile=/scratch/kocevski/328437/ft2_4FGL_J1418.4-0233_daily_bin1072.fits outfile=/scratch/kocevski/328437/cmap_HighResolution_517190401_517449601_4FGL_J1418.4-0233_daily_bin1072.fits algorithm="CMAP" ebinalg="LOG" emin=30.0 emax=200000.0 ebinfile=NONE tbinalg="LIN" tbinfile=NONE nxpix=500 nypix=500 binsz=0.1 coordsys="CEL" xref=214.606 yref=-2.5594 axisrot=0.0 rafield="RA" decfield="DEC" proj="AIT" hpx_ordering_scheme="RING" hpx_order=3 hpx_ebin=yes hpx_region="" evtable="EVENTS" sctable="SC_DATA" efield="ENERGY" tfield="TIME" chatter=2 clobber=yes debug=no gui=no mode="ql"

WARNING: version mismatch between CFITSIO header (v3.43) and linked library (v3.41).

This is gtbin version HEAD
real 0.54
user 0.37
sys 0.15

Computing the diffuse response:
time -p gtdiffrsp evfile=/scratch/kocevski/328437/ft1_filtered_4FGL_J1418.4-0233_daily_bin1072.fits evtable="EVENTS" scfile=/scratch/kocevski/328437/ft2_4FGL_J1418.4-0233_daily_bin1072.fits sctable="SC_DATA" srcmdl=/scratch/kocevski/328437/Model_4FGL_J1418.4-0233_daily_bin1072.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/328437/ft1_filtered_4FGL_J1418.4-0233_daily_bin1072.fits.....................!
real 58.69
user 57.23
sys 1.24

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

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

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

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'norm      '    .10007E-03   1.0000         .10000E-03   10000.    
     2 'norm      '    33.927       1.0000         .10000E-03   10000.    
     3 'Prefactor '    5.1884       1.0000         .10000E-03   10000.    
     4 'Prefactor '    30.135       1.0000         .10000E-03   10000.    
     5 'norm      '    .12221E-03   1.0000         .10000E-03   10000.    
     6 'Prefactor '    .10804E-03   1.0000         .10000E-03   10000.    
     7 'norm      '    2.8462       1.0000         .10000E-03   10000.    
     8 'Prefactor '    21.537       1.0000         .10000E-03   10000.    
     9 'norm      '    .10001E-03   1.0000         .10000E-03   10000.    
    10 'norm      '    6.5770       1.0000         .10000E-03   10000.    
    11 'Prefactor '    15.547       1.0000         .10000E-03   10000.    
    12 'Prefactor '    1.7037       1.0000         .10000E-03   10000.    
    13 'norm      '    14.477       1.0000         .10000E-03   10000.    
    14 'Prefactor '    67.206       1.0000         .10000E-03   10000.    
    15 'Prefactor '    .10151E-03   1.0000         .10000E-03   10000.    
    16 'norm      '    10.040       1.0000         .10000E-03   10000.    
    17 'Normalizat'    1.2709       1.0000         .10000E-01   10.000    
    18 'Prefactor '    .89367       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=   7543.806     FROM MIGRAD    STATUS=CONVERGED    354 CALLS     1725 TOTAL
                     EDM=   .93E-10  STRATEGY=1  ERROR MATRIX UNCERTAINTY=  6.1%

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  norm          .10000E-03    .58017       -.78915E-07** at limit **
   2  norm          33.927        27.351        .50567E-07    .43558E-05
   3  Prefactor     5.1889        4.9480        .80054E-07    .13722E-03
   4  Prefactor     30.149        24.542       -.15439E-05    .65320E-04
   5  norm          .10000E-03    3.0214       -.25817E-06** at limit **
   6  Prefactor     .10000E-03    10.894        .53385E-06** at limit **
   7  norm          2.8471        2.4481       -.47949E-07    .16240E-04
   8  Prefactor     21.546        20.896       -.69291E-06    .53786E-04
   9  norm          .10000E-03    5.0665       -.51992E-07** at limit **
  10  norm          6.5777        6.1880        .19805E-06    .25867E-04
  11  Prefactor     15.571        35.811       -.52852E-05    .49666E-04
  12  Prefactor     1.7058        37.084        .16549E-04    .14180E-05
  13  norm          14.476        18.131        .76047E-06    .24814E-04
  14  Prefactor     67.213        65.204       -.23298E-06    .21602E-04
  15  Prefactor     .10000E-03    39.293        .11880E-05** at limit **
  16  norm          10.050        17.598       -.10832E-05    .35327E-04
  17  Normalizat    1.2703        .21340       -.23851E-05   -.74574E-05
  18  Prefactor     .89404        .11284        .16920E-05    .16752E-03
                               ERR DEF=  .500    
Final values: 
  norm       = 0.0001
  norm       = 33.9275
  Prefactor  = 5.18886
  Prefactor  = 30.1493
  norm       = 0.0001
  Prefactor  = 0.0001
  norm       = 2.84713
  Prefactor  = 21.5464
  norm       = 0.0001
  norm       = 6.57767
  Prefactor  = 15.5709
  Prefactor  = 1.70575
  norm       = 14.4758
  Prefactor  = 67.213
  Prefactor  = 0.000100001
  norm       = 10.0495
  Normalizat = 1.27028
  Prefactor  = 0.894043
 **********
 **   18 **HESSE 
 **********

 FCN=   7543.806     FROM HESSE     STATUS=OK           248 CALLS     1973 TOTAL
                     EDM=   .19E-09    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  norm          .10000E-03    .58636        .64595E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   2  norm          33.927        27.353        .68797E-04   -1.4542    
   3  Prefactor     5.1889        4.8228        .17648E-03   -1.5252    
   4  Prefactor     30.149        24.587        .72986E-04   -1.4609    
   5  norm          .10000E-03    6.5001        .28601E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   6  Prefactor     .10000E-03    11.042        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   7  norm          2.8471        2.4388        .11865E-03   -1.5370    
   8  Prefactor     21.546        20.895        .86309E-04   -1.4779    
   9  norm          .10000E-03    5.1008        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  10  norm          6.5777        6.1626        .78240E-03   -1.5195    
  11  Prefactor     15.571        35.885        .10158E-03   -1.4919    
  12  Prefactor     1.7058        37.754        .16111E-02   -1.5447    
  13  norm          14.476        18.126        .10527E-03   -1.4947    
  14  Prefactor     67.213        65.240        .48959E-04   -1.4066    
  15  Prefactor     .10000E-03    39.366        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  16  norm          10.050        17.550        .12646E-03   -1.5074    
  17  Normalizat    1.2703        .24625        .29649E-03   -.84458    
  18  Prefactor     .89404        .13208        .19740E-03   -.96350    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 1.85443e-10
Minuit parameter uncertainties:
  1  1.93316e-06
  2  27.3631
  3  4.82315
  4  24.5955
  5  1.07953e-05
  6  7.61303e-05
  7  2.43887
  8  20.9021
  9  6.67718e-06
  10  6.16317
  11  35.9345
  12  16.0607
  13  18.133
  14  65.3093
  15  0.000450881
  16  17.5592
  17  0.246473
  18  0.132126
Done.

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

Extracting fit parameters...

4FGL J1418.4-0233
   Spectrum: LogParabola
269         norm:  1.000e-04  6.677e-06  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.940e-01  1.321e-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.270e+00  2.465e-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.82e-08 ph cm-2 s-1
Energy Flux Upper Limit: 4.84e-05 MeV cm-2 s-1

Saving results to:
/scratch/kocevski/328437/likelihoodResults_517190401_517449601_4FGL_J1418.4-0233_daily_bin1072.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) = 7543.80674646
delta logL = -0.000932623678636

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

MINUIT Return Code (Free Index): 102
logL (Free Index) = 7543.80581778
delta logL = -3.95186634705e-06

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'norm      '    .10056E-03   1.0000         .10000E-03   10000.    
     2 'alpha     '    1.6502       1.0000          .0000       5.0000    
     3 'Normalizat'    1.2704       1.0000         .10000E-01   10.000    
     4 'Prefactor '    .89380       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=   7543.806     FROM MIGRAD    STATUS=CONVERGED     97 CALLS      245 TOTAL
                     EDM=   .69E-08    STRATEGY= 1      ERR MATRIX NOT POS-DEF

  EXT PARAMETER                APPROXIMATE        STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  norm          .10000E-03    202.10        .18142E-02** at limit **
   2  alpha         1.8160        3.5352        .50000        .12653E-06
   3  Normalizat    1.2703        .33483E-01    .29649E-03   -.22661E-04
   4  Prefactor     .89404        .19190E-01    .19740E-03   -.33692E-04
                               ERR DEF=  .500    
Final values: 
  norm       = 0.0001
  alpha      = 1.81596
  Normalizat = 1.27028
  Prefactor  = 0.894042
 **********
 **   18 **HESSE 
 **********

 FCN=   7543.806     FROM HESSE     STATUS=NOT POSDEF    29 CALLS      274 TOTAL
                     EDM=   .27E-07    STRATEGY= 1      ERR MATRIX NOT POS-DEF

  EXT PARAMETER                APPROXIMATE     INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  norm          .10000E-03    759.96        .36285E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   2  alpha         1.8160        3.1257        .50000       -.27715    
   3  Normalizat    1.2703        .80129E-01    .11860E-04   -.84458    
   4  Prefactor     .89404        .45925E-01    .78958E-05   -.96350    
                               ERR DEF=  .500    
Minuit fit quality: 2   estimated distance: 2.65314e-08
Minuit parameter uncertainties:
  1  0.000705557
  2  1829.59
  3  0.0801371
  4  0.0459274
shell-init: error retrieving current directory: getcwd: cannot access parent directories: No such file or directory
rmdir: failed to remove `/scratch/kocevski/328437': 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): 102
logL (Free Index) = 7543.80581348
delta logL = 3.50082700606e-07

Extracting fit parameters...

4FGL J1418.4-0233
   Spectrum: LogParabola
269         norm:  1.000e-04  7.056e-04  1.000e-04  1.000e+04 ( 1.000e-13)
270        alpha:  1.816e+00  1.830e+03  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.940e-01  4.593e-02  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.270e+00  8.014e-02  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/328437/cmap_HighResolution_517190401_517449601_4FGL_J1418.4-0233_daily_bin1072.png

Cleaning up...

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

Updating database...

UPDATE lightcurve_data_v2 SET energy_flux_upper_limit='4.84e-05', job_status='DONE', photon_flux_upper_limit='2.82e-08', time_completed='2021-09-09 08:53:04.020874', job_id='328437', GAL2='0.89', fit_tolerance='1e-08', EG2='1.27', EG='1.27', time_epoch_completed='1631202784.02', return_code2='102', ts='-0.00', comment='SUCCESS', return_code='0', GAL='0.89', dlogl='3.50e-07', ts2='-0.00', photon_index_error='0.00', photon_index='1.64' WHERE bin_id='1072' AND source_name='4FGL J1418.4-0233' AND cadence='daily';

Database successfully updated.


Analysis Complete.


Thu Sep  9 08:53:04 PDT 2021


------------------------------------------------------------
Sender: LSF System <lsf@bullet0072>
Subject: Job 328437: <4FGL_J1418.4-0233_daily_bin1072> in cluster <slac> Done

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

Your job looked like:

------------------------------------------------------------
# LSBATCH: User input
/nfs/farm/g/glast/g/LCRepository/Likelihood/Scripts/LikelihoodAnalysis.py 4FGL_J1418.4-0233_daily_bin1072 214.606 -2.5594 517190401 517449601 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 :                                   570.09 sec.
    Max Memory :                                 1256 MB
    Average Memory :                             326.74 MB
    Total Requested Memory :                     -
    Delta Memory :                               -
    Max Swap :                                   -
    Max Processes :                              5
    Max Threads :                                21
    Run time :                                   718 sec.
    Turnaround time :                            720 sec.

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

