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


Performing analysis on: 4FGL_J1418.4+3543_daily_bin17
RA = 214.623, Dec = 35.7192
tmin = 243734401, tmax = 243993601
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='312395', job_status='RUN', time_executed='2021-09-09 07:53:11.575241', time_epoch_executed='1631199191.58' WHERE source_name='4FGL J1418.4+3543' and cadence='daily' and bin_id='17'

Database successfully updated.
Done.

Creating custom output directory:
/scratch/kocevski/312395

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

Retrieving the FT1 file...

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

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

Retrieving 46 files...
Done.


Merging files...

Checksum keywords updated successfully.

Merged file saved to:
/scratch/kocevski/312395/ft1_4FGL_J1418.4+3543_daily_bin17.fits


Retrieving the FT1 file...

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

Retrieving 46 files...
Done.


Merging files...

Merged file saved to:
/scratch/kocevski/312395/ft2_4FGL_J1418.4+3543_daily_bin17.fits


Selecting the photons:
time -p gtselect infile=/scratch/kocevski/312395/ft1_4FGL_J1418.4+3543_daily_bin17.fits outfile=/scratch/kocevski/312395/ft1_filteredMKT_4FGL_J1418.4+3543_daily_bin17.fits ra=214.623 dec=35.7192 rad=12.0 tmin=243734401.0 tmax=243993601.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.38
user 1.21
sys 0.15

Adding sun position to ft2 file:
/nfs/farm/g/glast/g/LCRepository/Repository/bin/sunpos /scratch/kocevski/312395/ft2_4FGL_J1418.4+3543_daily_bin17.fits

Selecting the good time intervals:
time -p gtmktime scfile=/scratch/kocevski/312395/ft2_4FGL_J1418.4+3543_daily_bin17.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/312395/ft1_filteredMKT_4FGL_J1418.4+3543_daily_bin17.fits evtable="EVENTS" outfile="/scratch/kocevski/312395/ft1_filtered_4FGL_J1418.4+3543_daily_bin17.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.50
user 0.33
sys 0.14

Generating the livetime cube:
time -p gtltcube evfile="/scratch/kocevski/312395/ft1_filtered_4FGL_J1418.4+3543_daily_bin17.fits" evtable="EVENTS" scfile=/scratch/kocevski/312395/ft2_4FGL_J1418.4+3543_daily_bin17.fits sctable="SC_DATA" outfile=/scratch/kocevski/312395/ltcube_243734401_243993601_4FGL_J1418.4+3543_daily_bin17.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/312395/ft2_4FGL_J1418.4+3543_daily_bin17.fits
.....................!
real 12.59
user 12.26
sys 0.30

Generating the exposure map:
time -p gtexpmap evfile=/scratch/kocevski/312395/ft1_filtered_4FGL_J1418.4+3543_daily_bin17.fits evtable="EVENTS" scfile=/scratch/kocevski/312395/ft2_4FGL_J1418.4+3543_daily_bin17.fits sctable="SC_DATA" expcube=/scratch/kocevski/312395/ltcube_243734401_243993601_4FGL_J1418.4+3543_daily_bin17.fits outfile=/scratch/kocevski/312395/expmap_243734401_243993601_4FGL_J1418.4+3543_daily_bin17.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/312395/ltcube_243734401_243993601_4FGL_J1418.4+3543_daily_bin17.fits
.....................!
real 191.66
user 185.90
sys 5.37

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 180 point sources and 0 extended sources

Setting source of interest to:
4FGL J1418.4+3543 @ 214.623 35.7192

Creating the counts map:
time -p gtbin evfile=/scratch/kocevski/312395/ft1_filtered_4FGL_J1418.4+3543_daily_bin17.fits scfile=/scratch/kocevski/312395/ft2_4FGL_J1418.4+3543_daily_bin17.fits outfile=/scratch/kocevski/312395/cmap_243734401_243993601_4FGL_J1418.4+3543_daily_bin17.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.623 yref=35.7192 axisrot=0.0 rafield="RA" decfield="DEC" proj="AIT" hpx_ordering_scheme="RING" hpx_order=3 hpx_ebin=yes hpx_region="" evtable="EVENTS" sctable="SC_DATA" efield="ENERGY" tfield="TIME" chatter=2 clobber=yes debug=no gui=no mode="ql"

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

This is gtbin version HEAD
real 0.53
user 0.37
sys 0.15

Creating the high resolution counts map:
time -p gtbin evfile=/scratch/kocevski/312395/ft1_filtered_4FGL_J1418.4+3543_daily_bin17.fits scfile=/scratch/kocevski/312395/ft2_4FGL_J1418.4+3543_daily_bin17.fits outfile=/scratch/kocevski/312395/cmap_HighResolution_243734401_243993601_4FGL_J1418.4+3543_daily_bin17.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.623 yref=35.7192 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.16

Computing the diffuse response:
time -p gtdiffrsp evfile=/scratch/kocevski/312395/ft1_filtered_4FGL_J1418.4+3543_daily_bin17.fits evtable="EVENTS" scfile=/scratch/kocevski/312395/ft2_4FGL_J1418.4+3543_daily_bin17.fits sctable="SC_DATA" srcmdl=/scratch/kocevski/312395/Model_4FGL_J1418.4+3543_daily_bin17.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/312395/ft1_filtered_4FGL_J1418.4+3543_daily_bin17.fits....................!
real 41.54
user 40.21
sys 1.17

Creating the likelihood object...
obs = UnbinnedObs('/scratch/kocevski/312395/ft1_filtered_4FGL_J1418.4+3543_daily_bin17.fits', '/scratch/kocevski/312395/ft2_4FGL_J1418.4+3543_daily_bin17.fits', expMap='/scratch/kocevski/312395/expmap_243734401_243993601_4FGL_J1418.4+3543_daily_bin17.fits', expCube='/scratch/kocevski/312395/ltcube_243734401_243993601_4FGL_J1418.4+3543_daily_bin17.fits', irfs='P8R3_SOURCE_V2')
like = UnbinnedAnalysis(obs, '/scratch/kocevski/312395/Model_4FGL_J1418.4+3543_daily_bin17.xml', optimizer='MINUIT')

Using source of interest name: '4FGL J1418.4+3543'

4FGL J1418.4+3543
   Spectrum: LogParabola
283         norm:  4.095e+00  0.000e+00  1.000e-04  1.000e+04 ( 1.000e-12)
284        alpha:  2.016e+00  0.000e+00  0.000e+00  5.000e+00 ( 1.000e+00) fixed
285         beta:  6.612e-02  0.000e+00  0.000e+00  1.000e+01 ( 1.000e+00) fixed
286           Eb:  8.292e+02  0.000e+00  3.000e+01  5.000e+05 ( 1.000e+00) fixed


Likelihood Fit Parameters:
Event file(s): /scratch/kocevski/312395/ft1_filtered_4FGL_J1418.4+3543_daily_bin17.fits
Spacecraft file(s): /scratch/kocevski/312395/ft2_4FGL_J1418.4+3543_daily_bin17.fits
Exposure map: /scratch/kocevski/312395/expmap_243734401_243993601_4FGL_J1418.4+3543_daily_bin17.fits
Exposure cube: /scratch/kocevski/312395/ltcube_243734401_243993601_4FGL_J1418.4+3543_daily_bin17.fits
IRFs: P8R3_SOURCE_V2
Source model file: /scratch/kocevski/312395/Model_4FGL_J1418.4+3543_daily_bin17.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) = 4997.28177556

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

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

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'Prefactor '    .10000E-03   1.0000         .10000E-03   10000.    
     2 'Prefactor '    .10000E-03   1.0000         .10000E-03   10000.    
     3 'Prefactor '    .10261E-03   1.0000         .10000E-03   10000.    
     4 'norm      '    2.2194       1.0000         .10000E-03   10000.    
     5 'Prefactor '    4.4261       1.0000         .10000E-03   10000.    
     6 'norm      '    8.8830       1.0000         .10000E-03   10000.    
     7 'Prefactor '    .10001E-03   1.0000         .10000E-03   10000.    
     8 'Prefactor '    .10039E-03   1.0000         .10000E-03   10000.    
     9 'norm      '    .11229E-03   1.0000         .10000E-03   10000.    
    10 'Prefactor '    .10002E-03   1.0000         .10000E-03   10000.    
    11 'Prefactor '    .10018E-03   1.0000         .10000E-03   10000.    
    12 'Prefactor '    .10005E-03   1.0000         .10000E-03   10000.    
    13 'norm      '    .10000E-03   1.0000         .10000E-03   10000.    
    14 'Prefactor '    11.766       1.0000         .10000E-03   10000.    
    15 'norm      '    .10162E-03   1.0000         .10000E-03   10000.    
    16 'Prefactor '    84.110       1.0000         .10000E-03   10000.    
    17 'Prefactor '    25.872       1.0000         .10000E-03   10000.    
    18 'norm      '    6.1053       1.0000         .10000E-03   10000.    
    19 'Prefactor '    .10000E-03   1.0000         .10000E-03   10000.    
    20 'Prefactor '    1.5211       1.0000         .10000E-03   10000.    
    21 'norm      '    3.8803       1.0000         .10000E-03   10000.    
    22 'Prefactor '    .10000E-03   1.0000         .10000E-03   10000.    
    23 'Normalizat'    1.2839       1.0000         .10000E-01   10.000    
    24 'Prefactor '    .56910       1.0000          .0000       10.000    
 **********
 **   15 **SET ERR    .5000    
 **********
 **********
 **   16 **SET GRAD    1.000    
 **********
 **********
 **   17 **MINIMIZE    .5780E+05   .2000E-04
 **********

 MIGRAD MINIMIZATION HAS CONVERGED.

 MIGRAD WILL VERIFY CONVERGENCE AND ERROR MATRIX.

 MIGRAD MINIMIZATION HAS CONVERGED.

 FCN=   4997.270     FROM MIGRAD    STATUS=CONVERGED    557 CALLS     2722 TOTAL
                     EDM=   .85E-09  STRATEGY=1  ERROR MATRIX UNCERTAINTY=  1.4%

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor     .10000E-03    50.990       -.21417E-05** at limit **
   2  Prefactor     .10000E-03    5.9515       -.12890E-06** at limit **
   3  Prefactor     .10001E-03    101.06        .19800E-04** at limit **
   4  norm          2.2193        1.5237       -.28710E-07   -.22218E-03
   5  Prefactor     4.4266        3.4598       -.50968E-07   -.75487E-04
   6  norm          8.8826        10.863        .23735E-07   -.39762E-04
   7  Prefactor     .10000E-03    6.2665        .76202E-06** at limit **
   8  Prefactor     .10000E-03    35.920        .22992E-05** at limit **
   9  norm          .10000E-03    2.2134       -.35003E-08** at limit **
  10  Prefactor     .10000E-03    13.378       -.20721E-06** at limit **
  11  Prefactor     .10000E-03    36.527       -.19211E-05** at limit **
  12  Prefactor     .10000E-03    3.1396       -.65764E-07** at limit **
  13  norm          .10000E-03    21.406       -.21817E-08** at limit **
  14  Prefactor     11.766        16.808       -.23297E-06   -.31702E-05
  15  norm          .10000E-03    6.1631       -.54927E-06** at limit **
  16  Prefactor     84.115        55.928        .35987E-05   -.71571E-04
  17  Prefactor     25.875        25.932        .22690E-06   -.43325E-05
  18  norm          6.1057        6.5049       -.12021E-05    .30573E-03
  19  Prefactor     .10000E-03    3.5406        .54344E-07** at limit **
  20  Prefactor     1.5224        8.8845       -.49420E-05   -.52000E-03
  21  norm          3.8802        2.2642        .45677E-06    .34950E-03
  22  Prefactor     .10001E-03    115.94       -.19743E-04** at limit **
  23  Normalizat    1.2838        .18395        .54296E-07    .40020E-04
  24  Prefactor     .56903        .20693       -.21723E-06    .13776E-04
                               ERR DEF=  .500    
Final values: 
  Prefactor  = 0.0001
  Prefactor  = 0.0001
  Prefactor  = 0.000100012
  norm       = 2.21931
  Prefactor  = 4.42659
  norm       = 8.88263
  Prefactor  = 0.0001
  Prefactor  = 0.0001
  norm       = 0.0001
  Prefactor  = 0.0001
  Prefactor  = 0.0001
  Prefactor  = 0.0001
  norm       = 0.0001
  Prefactor  = 11.7661
  norm       = 0.0001
  Prefactor  = 84.1153
  Prefactor  = 25.8748
  norm       = 6.10569
  Prefactor  = 0.0001
  Prefactor  = 1.52241
  norm       = 3.88022
  Prefactor  = 0.00010001
  Normalizat = 1.28384
  Prefactor  = 0.569035
 **********
 **   18 **HESSE 
 **********

 FCN=   4997.270     FROM HESSE     STATUS=OK           393 CALLS     3115 TOTAL
                     EDM=   .16E-08    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  Prefactor     .10000E-03    51.026        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   2  Prefactor     .10000E-03    5.9550        .16843E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   3  Prefactor     .10001E-03    97.657        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   4  norm          2.2193        1.5177        .69780E-04   -1.5410    
   5  Prefactor     4.4266        3.4614        .11202E-03   -1.5287    
   6  norm          8.8826        10.861        .13448E-03   -1.5112    
   7  Prefactor     .10000E-03    6.2658        .17276E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   8  Prefactor     .10000E-03    36.356        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   9  norm          .10000E-03    4.9879        .20411E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  10  Prefactor     .10000E-03    13.506        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  11  Prefactor     .10000E-03    37.626        .36285E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  12  Prefactor     .10000E-03    3.2487        .24434E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  13  norm          .10000E-03    21.602        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  14  Prefactor     11.766        16.805        .11679E-03   -1.5022    
  15  norm          .10000E-03    6.3913        .34237E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  16  Prefactor     84.115        55.690        .43800E-04   -1.3871    
  17  Prefactor     25.875        25.928        .78756E-04   -1.4690    
  18  norm          6.1057        6.4397        .16249E-03   -1.5214    
  19  Prefactor     .10000E-03    3.5430        .12991E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  20  Prefactor     1.5224        10.564        .34640E-03   -1.5461    
  21  norm          3.8802        2.2778        .70124E-04   -1.5314    
  22  Prefactor     .10001E-03    112.57        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  23  Normalizat    1.2838        .21072        .19665E-03   -.84050    
  24  Prefactor     .56903        .23596        .32124E-03   -1.0891    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 1.62435e-09
Minuit parameter uncertainties:
  1  0.000157271
  2  3.46344e-06
  3  0.0021451
  4  1.51768
  5  3.46159
  6  10.8629
  7  1.97606e-05
  8  0.00016453
  9  4.8085e-07
  10  5.7321e-08
  11  7.22613e-05
  12  2.53164e-06
  13  1.19662e-05
  14  16.8118
  15  1.34403e-05
  16  55.7248
  17  25.9392
  18  6.44046
  19  3.87462e-06
  20  8.02235
  21  2.27783
  22  0.0021152
  23  0.21086
  24  0.236367
Done.

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

Extracting fit parameters...

4FGL J1418.4+3543
   Spectrum: LogParabola
283         norm:  1.000e-04  4.808e-07  1.000e-04  1.000e+04 ( 1.000e-12)
284        alpha:  2.016e+00  0.000e+00  0.000e+00  5.000e+00 ( 1.000e+00) fixed
285         beta:  6.612e-02  0.000e+00  0.000e+00  1.000e+01 ( 1.000e+00) fixed
286           Eb:  8.292e+02  0.000e+00  3.000e+01  5.000e+05 ( 1.000e+00) fixed

GAL_V02
   Spectrum: PowerLaw
575    Prefactor:  5.690e-01  2.364e-01  0.000e+00  1.000e+01 ( 1.000e+00)
576        Index:  0.000e+00  0.000e+00 -1.000e+00  1.000e+00 ( 1.000e+00) fixed
577        Scale:  1.000e+02  0.000e+00  5.000e+01  2.000e+02 ( 1.000e+00) fixed

EG_v02
   Spectrum: FileFunction
574   Normalization:  1.284e+00  2.109e-01  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Fixed Index): -0.00
Ra Dec: 214.623 35.719
Photon Flux Upper Limit: 4.97e-08 ph cm-2 s-1
Energy Flux Upper Limit: 2.83e-05 MeV cm-2 s-1

Saving results to:
/scratch/kocevski/312395/likelihoodResults_243734401_243993601_4FGL_J1418.4+3543_daily_bin17.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) = 4997.27053744
delta logL = -0.000954706581979

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

MINUIT Return Code (Free Index): 0
logL (Free Index) = 4997.16772924
delta logL = 0.101853486739

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'norm      '    .32037       1.0000         .10000E-03   10000.    
     2 'alpha     '    3.3594       1.0000          .0000       5.0000    
     3 'Normalizat'    1.2667       1.0000         .10000E-01   10.000    
     4 'Prefactor '    .57901       1.0000          .0000       10.000    
 **********
 **   15 **SET ERR    .5000    
 **********
 **********
 **   16 **SET GRAD    1.000    
 **********
 **********
 **   17 **MINIMIZE    .5780E+05   .2000E-04
 **********

 MIGRAD MINIMIZATION HAS CONVERGED.

 MIGRAD WILL VERIFY CONVERGENCE AND ERROR MATRIX.

 FCN=   4997.168     FROM MIGRAD    STATUS=CONVERGED     54 CALLS      281 TOTAL
                     EDM=   .19E-09    STRATEGY= 1      ERR MATRIX NOT POS-DEF

  EXT PARAMETER                APPROXIMATE        STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  norm          .32082        13.517        .21718E-01    .12433E-02
   2  alpha         3.3573        4.0150        .44748        .32060E-04
   3  Normalizat    1.2668        .23703E-01    .33430E-01   -.16986E-04
   4  Prefactor     .57900        .26932E-01    .71971E-01   -.14147E-04
                               ERR DEF=  .500    
Final values: 
  norm       = 0.320821
  alpha      = 3.35731
  Normalizat = 1.2668
  Prefactor  = 0.579
 **********
 **   18 **HESSE 
 **********

 FCN=   4997.168     FROM HESSE     STATUS=OK            31 CALLS      312 TOTAL
                     EDM=   .41E-07    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  norm          .32082        2.7575        .93915E-04   -1.5595    
   2  alpha         3.3573        4.0093        .31136E-01    .35003    
   3  Normalizat    1.2668        .21161        .19776E-03   -.84563    
   4  Prefactor     .57900        .23671        .31859E-03   -1.0848    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 4.13085e-08
Minuit parameter uncertainties:
  1  1.88095
  2  3.27424
  3  0.211758
  4  0.237113
shell-init: error retrieving current directory: getcwd: cannot access parent directories: No such file or directory
rmdir: failed to remove `/scratch/kocevski/312395': 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) = 4997.16772806
delta logL = 0.101854673457

Extracting fit parameters...

4FGL J1418.4+3543
   Spectrum: LogParabola
283         norm:  3.208e-01  1.881e+00  1.000e-04  1.000e+04 ( 1.000e-12)
284        alpha:  3.357e+00  3.274e+00  0.000e+00  5.000e+00 ( 1.000e+00)
285         beta:  6.612e-02  0.000e+00  0.000e+00  1.000e+01 ( 1.000e+00) fixed
286           Eb:  8.292e+02  0.000e+00  3.000e+01  5.000e+05 ( 1.000e+00) fixed

GAL_V02
   Spectrum: PowerLaw
575    Prefactor:  5.790e-01  2.371e-01  0.000e+00  1.000e+01 ( 1.000e+00)
576        Index:  0.000e+00  0.000e+00 -1.000e+00  1.000e+00 ( 1.000e+00) fixed
577        Scale:  1.000e+02  0.000e+00  5.000e+01  2.000e+02 ( 1.000e+00) fixed

EG_v02
   Spectrum: FileFunction
574   Normalization:  1.267e+00  2.118e-01  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Free Index): -0.00
Ra Dec: 214.623 35.719

Creating a high resolution counts map...
INFO: Auto-setting vmin to  0.000e+00 [aplpy.core]
INFO: Auto-setting vmax to  0.000e+00 [aplpy.core]
Saving /scratch/kocevski/312395/cmap_HighResolution_243734401_243993601_4FGL_J1418.4+3543_daily_bin17.png

Cleaning up...

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

Updating database...

UPDATE lightcurve_data_v2 SET energy_flux_upper_limit='2.83e-05', job_status='DONE', photon_flux_upper_limit='4.97e-08', time_completed='2021-09-09 08:03:16.447221', job_id='312395', GAL2='0.58', fit_tolerance='1e-08', EG2='1.27', EG='1.28', time_epoch_completed='1631199796.45', return_code2='0', ts='-0.00', comment='SUCCESS', return_code='0', GAL='0.57', dlogl='1.02e-01', ts2='0.21', photon_index_error='0.00', photon_index='2.02' WHERE bin_id='17' AND source_name='4FGL J1418.4+3543' AND cadence='daily';

Database successfully updated.


Analysis Complete.


Thu Sep  9 08:03:16 PDT 2021


------------------------------------------------------------
Sender: LSF System <scs@bullet0142>
Subject: Job 312395: <4FGL_J1418.4+3543_daily_bin17> in cluster <slac> Done

Job <4FGL_J1418.4+3543_daily_bin17> was submitted from host <rhel6-64o> by user <kocevski> in cluster <slac> at Thu Sep  9 07:50:34 2021
Job was executed on host(s) <bullet0142>, in queue <medium>, as user <kocevski> in cluster <slac> at Thu Sep  9 07:50:36 2021
</u/ki/kocevski> was used as the home directory.
</u/ki/kocevski> was used as the working directory.
Started at Thu Sep  9 07:50:36 2021
Terminated at Thu Sep  9 08:03:17 2021
Results reported at Thu Sep  9 08:03:17 2021

Your job looked like:

------------------------------------------------------------
# LSBATCH: User input
/nfs/farm/g/glast/g/LCRepository/Likelihood/Scripts/LikelihoodAnalysis.py 4FGL_J1418.4+3543_daily_bin17 214.623 35.7192 243734401 243993601 irfs=P8R3_SOURCE_V2 zmax=90 ROI=12 association=4FGL_J1418.4+3543 fixedModel=True performFreeIndexFit=True freeVariableSources=True nuke=True repositoryJob=True verbose=False
------------------------------------------------------------

Successfully completed.

Resource usage summary:

    CPU time :                                   604.46 sec.
    Max Memory :                                 1257 MB
    Average Memory :                             313.60 MB
    Total Requested Memory :                     -
    Delta Memory :                               -
    Max Swap :                                   -
    Max Processes :                              5
    Max Threads :                                21
    Run time :                                   760 sec.
    Turnaround time :                            763 sec.

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

