/nfs/farm/g/glast/g/LCRepository/bin/miniconda2/envs/fermitools_v1.0.5/lib/python2.7/site-packages/matplotlib/font_manager.py:281: UserWarning: Matplotlib is building the font cache using fc-list. This may take a moment.
  'Matplotlib is building the font cache using fc-list. '
/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 62 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 = 7469
number of fields = 30
RA_SUN column already exists. File will not be modified.
Done.


Performing analysis on: 4FGL_J1418.4+3543_daily_bin759
RA = 214.623, Dec = 35.7192
tmin = 436060801, tmax = 436320001
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='318965', job_status='RUN', time_executed='2021-09-09 08:11:57.321170', time_epoch_executed='1631200317.32' WHERE source_name='4FGL J1418.4+3543' and cadence='daily' and bin_id='759'

Database successfully updated.
Done.

Creating custom output directory:
/scratch/kocevski/318965

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

Retrieving the FT1 file...

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

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

Retrieving 46 files...
Done.


Merging files...

Checksum keywords updated successfully.

Merged file saved to:
/scratch/kocevski/318965/ft1_4FGL_J1418.4+3543_daily_bin759.fits


Retrieving the FT1 file...

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

Retrieving 46 files...
Done.


Merging files...

Merged file saved to:
/scratch/kocevski/318965/ft2_4FGL_J1418.4+3543_daily_bin759.fits


Selecting the photons:
time -p gtselect infile=/scratch/kocevski/318965/ft1_4FGL_J1418.4+3543_daily_bin759.fits outfile=/scratch/kocevski/318965/ft1_filteredMKT_4FGL_J1418.4+3543_daily_bin759.fits ra=214.623 dec=35.7192 rad=12.0 tmin=436060801.0 tmax=436320001.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 5.71
user 5.43
sys 0.25

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

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

Generating the livetime cube:
time -p gtltcube evfile="/scratch/kocevski/318965/ft1_filtered_4FGL_J1418.4+3543_daily_bin759.fits" evtable="EVENTS" scfile=/scratch/kocevski/318965/ft2_4FGL_J1418.4+3543_daily_bin759.fits sctable="SC_DATA" outfile=/scratch/kocevski/318965/ltcube_436060801_436320001_4FGL_J1418.4+3543_daily_bin759.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/318965/ft2_4FGL_J1418.4+3543_daily_bin759.fits
.....................!
real 11.91
user 11.52
sys 0.34

Generating the exposure map:
time -p gtexpmap evfile=/scratch/kocevski/318965/ft1_filtered_4FGL_J1418.4+3543_daily_bin759.fits evtable="EVENTS" scfile=/scratch/kocevski/318965/ft2_4FGL_J1418.4+3543_daily_bin759.fits sctable="SC_DATA" expcube=/scratch/kocevski/318965/ltcube_436060801_436320001_4FGL_J1418.4+3543_daily_bin759.fits outfile=/scratch/kocevski/318965/expmap_436060801_436320001_4FGL_J1418.4+3543_daily_bin759.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/318965/ltcube_436060801_436320001_4FGL_J1418.4+3543_daily_bin759.fits
.....................!
real 191.62
user 186.27
sys 4.82

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/318965/ft1_filtered_4FGL_J1418.4+3543_daily_bin759.fits scfile=/scratch/kocevski/318965/ft2_4FGL_J1418.4+3543_daily_bin759.fits outfile=/scratch/kocevski/318965/cmap_436060801_436320001_4FGL_J1418.4+3543_daily_bin759.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.54
user 0.37
sys 0.15

Creating the high resolution counts map:
time -p gtbin evfile=/scratch/kocevski/318965/ft1_filtered_4FGL_J1418.4+3543_daily_bin759.fits scfile=/scratch/kocevski/318965/ft2_4FGL_J1418.4+3543_daily_bin759.fits outfile=/scratch/kocevski/318965/cmap_HighResolution_436060801_436320001_4FGL_J1418.4+3543_daily_bin759.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.53
user 0.37
sys 0.15

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

Creating the likelihood object...
obs = UnbinnedObs('/scratch/kocevski/318965/ft1_filtered_4FGL_J1418.4+3543_daily_bin759.fits', '/scratch/kocevski/318965/ft2_4FGL_J1418.4+3543_daily_bin759.fits', expMap='/scratch/kocevski/318965/expmap_436060801_436320001_4FGL_J1418.4+3543_daily_bin759.fits', expCube='/scratch/kocevski/318965/ltcube_436060801_436320001_4FGL_J1418.4+3543_daily_bin759.fits', irfs='P8R3_SOURCE_V2')
like = UnbinnedAnalysis(obs, '/scratch/kocevski/318965/Model_4FGL_J1418.4+3543_daily_bin759.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/318965/ft1_filtered_4FGL_J1418.4+3543_daily_bin759.fits
Spacecraft file(s): /scratch/kocevski/318965/ft2_4FGL_J1418.4+3543_daily_bin759.fits
Exposure map: /scratch/kocevski/318965/expmap_436060801_436320001_4FGL_J1418.4+3543_daily_bin759.fits
Exposure cube: /scratch/kocevski/318965/ltcube_436060801_436320001_4FGL_J1418.4+3543_daily_bin759.fits
IRFs: P8R3_SOURCE_V2
Source model file: /scratch/kocevski/318965/Model_4FGL_J1418.4+3543_daily_bin759.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) = 5093.09464828

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

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

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'Prefactor '    .10307E-03   1.0000         .10000E-03   10000.    
     2 'Prefactor '    22.978       1.0000         .10000E-03   10000.    
     3 'Prefactor '    133.95       1.0000         .10000E-03   10000.    
     4 'norm      '    3.9572       1.0000         .10000E-03   10000.    
     5 'Prefactor '    .10100E-03   1.0000         .10000E-03   10000.    
     6 'norm      '    .10132E-03   1.0000         .10000E-03   10000.    
     7 'Prefactor '    .18990E-01   1.0000         .10000E-03   10000.    
     8 'Prefactor '    .10004E-03   1.0000         .10000E-03   10000.    
     9 'norm      '    1.1519       1.0000         .10000E-03   10000.    
    10 'Prefactor '    23.899       1.0000         .10000E-03   10000.    
    11 'Prefactor '    .10677E-03   1.0000         .10000E-03   10000.    
    12 'Prefactor '    .10011E-03   1.0000         .10000E-03   10000.    
    13 'norm      '    .78245       1.0000         .10000E-03   10000.    
    14 'Prefactor '    .10027E-03   1.0000         .10000E-03   10000.    
    15 'norm      '    .10028E-03   1.0000         .10000E-03   10000.    
    16 'Prefactor '    87.167       1.0000         .10000E-03   10000.    
    17 'Prefactor '    .10073E-03   1.0000         .10000E-03   10000.    
    18 'norm      '    4.1207       1.0000         .10000E-03   10000.    
    19 'Prefactor '    .10050E-03   1.0000         .10000E-03   10000.    
    20 'Prefactor '    .10000E-03   1.0000         .10000E-03   10000.    
    21 'norm      '    4.6534       1.0000         .10000E-03   10000.    
    22 'Prefactor '    .10005E-03   1.0000         .10000E-03   10000.    
    23 'Normalizat'    1.0559       1.0000         .10000E-01   10.000    
    24 'Prefactor '    .96811       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=   5092.977     FROM MIGRAD    STATUS=CONVERGED    565 CALLS     2738 TOTAL
                     EDM=   .83E-09  STRATEGY=1  ERROR MATRIX UNCERTAINTY=  2.7%

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor     .10000E-03    65.479        .50890E-06** at limit **
   2  Prefactor     22.993        25.070       -.70213E-07   -.11494E-04
   3  Prefactor     133.89        113.44       -.93283E-06   -.65209E-04
   4  norm          3.9579        2.0215       -.55237E-08    .10692E-05
   5  Prefactor     .10000E-03    3.0436        .54357E-07** at limit **
   6  norm          .10000E-03    10.467       -.20651E-06** at limit **
   7  Prefactor     .10085E-03    20.755       -.68400E-06** at limit **
   8  Prefactor     .10000E-03    6.4881        .21900E-07** at limit **
   9  norm          1.1507        2.5965        .87184E-06    .68924E-03
  10  Prefactor     23.903        21.173       -.25789E-05   -.17576E-03
  11  Prefactor     .10000E-03    45.871        .14300E-08** at limit **
  12  Prefactor     .10000E-03    1.0730        .26566E-07** at limit **
  13  norm          .77163        15.345        .28232E-05   -.29547E-03
  14  Prefactor     .10000E-03    11.208        .14108E-06** at limit **
  15  norm          .10000E-03    3.1694        .68744E-07** at limit **
  16  Prefactor     87.168        59.816       -.15400E-06   -.15224E-04
  17  Prefactor     .10000E-03    14.805        .49413E-07** at limit **
  18  norm          4.1199        5.2634        .83924E-08    .26033E-05
  19  Prefactor     .10000E-03    8.9289        .11098E-06** at limit **
  20  Prefactor     .10000E-03    2.6814        .20469E-07** at limit **
  21  norm          4.6547        2.2624        .12628E-07   -.35695E-04
  22  Prefactor     .10000E-03    36.642        .30730E-06** at limit **
  23  Normalizat    1.0546        .21868        .14892E-05   -.14673E-03
  24  Prefactor     .96947        .22801       -.17696E-05    .71093E-05
                               ERR DEF=  .500    
Final values: 
  Prefactor  = 0.000100001
  Prefactor  = 22.9926
  Prefactor  = 133.893
  norm       = 3.95792
  Prefactor  = 0.0001
  norm       = 0.0001
  Prefactor  = 0.000100854
  Prefactor  = 0.0001
  norm       = 1.15074
  Prefactor  = 23.903
  Prefactor  = 0.0001
  Prefactor  = 0.0001
  norm       = 0.77163
  Prefactor  = 0.0001
  norm       = 0.0001
  Prefactor  = 87.1684
  Prefactor  = 0.0001
  norm       = 4.11987
  Prefactor  = 0.0001
  Prefactor  = 0.0001
  norm       = 4.65473
  Prefactor  = 0.0001
  Normalizat = 1.0546
  Prefactor  = 0.969467
 **********
 **   18 **HESSE 
 **********

 FCN=   5092.977     FROM HESSE     STATUS=OK           399 CALLS     3137 TOTAL
                     EDM=   .60E-08    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  Prefactor     .10000E-03    65.824        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   2  Prefactor     22.993        25.085        .83561E-04   -1.4749    
   3  Prefactor     133.89        114.18        .17398E-03   -1.3389    
   4  norm          3.9579        2.0203        .70337E-04   -1.5310    
   5  Prefactor     .10000E-03    3.0770        .12151E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   6  norm          .10000E-03    10.513        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   7  Prefactor     .10085E-03    169.68        .60707E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   8  Prefactor     .10000E-03    6.4915        .17754E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   9  norm          1.1507        2.3342        .18550E-02   -1.5493    
  10  Prefactor     23.903        20.773        .81938E-04   -1.4730    
  11  Prefactor     .10000E-03    46.261        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  12  Prefactor     .10000E-03    1.0761        .72175E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  13  norm          .77163        42.604        .45871E-02   -1.5532    
  14  Prefactor     .10000E-03    11.219        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  15  norm          .10000E-03    3.1842        .12404E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  16  Prefactor     87.168        59.818        .43032E-04   -1.3838    
  17  Prefactor     .10000E-03    14.818        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  18  norm          4.1199        5.2599        .18057E-03   -1.5302    
  19  Prefactor     .10000E-03    8.9660        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  20  Prefactor     .10000E-03    2.6841        .11408E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  21  norm          4.6547        2.2639        .70888E-04   -1.5276    
  22  Prefactor     .10000E-03    36.686        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  23  Normalizat    1.0546        .25203        .24391E-03   -.91223    
  24  Prefactor     .96947        .26217        .27603E-03   -.93754    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 6.03611e-09
Minuit parameter uncertainties:
  1  0.000518767
  2  25.096
  3  114.364
  4  2.02031
  5  1.17571e-06
  6  9.4019e-06
  7  0.0241432
  8  2.5294e-09
  9  2.33443
  10  20.7797
  11  8.94258e-05
  12  4.03134e-07
  13  11.4752
  14  3.02447e-05
  15  1.28513e-06
  16  59.8598
  17  1.12616e-05
  18  5.26045
  19  1.65086e-06
  20  2.82279e-07
  21  2.26398
  22  0.000175358
  23  0.252317
  24  0.262513
Done.

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

Extracting fit parameters...

4FGL J1418.4+3543
   Spectrum: LogParabola
283         norm:  1.151e+00  2.334e+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

GAL_V02
   Spectrum: PowerLaw
575    Prefactor:  9.695e-01  2.625e-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.055e+00  2.523e-01  1.000e-02  1.000e+01 ( 1.000e+00)


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

Saving results to:
/scratch/kocevski/318965/likelihoodResults_436060801_436320001_4FGL_J1418.4+3543_daily_bin759.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) = 5092.96341556
delta logL = 0.0132445426789

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

MINUIT Return Code (Free Index): 0
logL (Free Index) = 5092.96327306
delta logL = 0.0133870412155

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'norm      '    1.1450       1.0000         .10000E-03   10000.    
     2 'alpha     '    2.2784       1.0000          .0000       5.0000    
     3 'Normalizat'    1.0518       1.0000         .10000E-01   10.000    
     4 'Prefactor '    .97119       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.

 MIGRAD WILL VERIFY CONVERGENCE AND ERROR MATRIX.

 FCN=   5092.963     FROM MIGRAD    STATUS=CONVERGED     99 CALLS      280 TOTAL
                     EDM=   .68E-10    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  norm          1.1439        2.3495        .17567E-02    .31382E-03
   2  alpha         2.2771        1.5554        .37007E-01    .84954E-05
   3  Normalizat    1.0518        .23653        .24419E-03   -.34639E-04
   4  Prefactor     .97119        .25821        .27581E-03   -.62571E-04
                               ERR DEF=  .500    
Final values: 
  norm       = 1.14393
  alpha      = 2.27707
  Normalizat = 1.0518
  Prefactor  = 0.971188
 **********
 **   18 **HESSE 
 **********

 FCN=   5092.963     FROM HESSE     STATUS=OK            27 CALLS      307 TOTAL
                     EDM=   .48E-10    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  norm          1.1439        2.2813        .70269E-04   -1.5494    
   2  alpha         2.2771        1.5188        .14803E-02   -.89291E-01
   3  Normalizat    1.0518        .23669        .97675E-05   -.91315    
   4  Prefactor     .97119        .25845        .11032E-04   -.93696    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 4.79338e-11
Minuit parameter uncertainties:
  1  2.28144
  2  1.6335
  3  0.236932
  4  0.258775
shell-init: error retrieving current directory: getcwd: cannot access parent directories: No such file or directory
rmdir: failed to remove `/scratch/kocevski/318965': 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) = 5092.9632725
delta logL = 0.0133876045347

Extracting fit parameters...

4FGL J1418.4+3543
   Spectrum: LogParabola
283         norm:  1.144e+00  2.281e+00  1.000e-04  1.000e+04 ( 1.000e-12)
284        alpha:  2.277e+00  1.633e+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:  9.712e-01  2.588e-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.052e+00  2.369e-01  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Free Index): 0.37
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/318965/cmap_HighResolution_436060801_436320001_4FGL_J1418.4+3543_daily_bin759.png

Cleaning up...

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

Updating database...

UPDATE lightcurve_data_v2 SET energy_flux_upper_limit='3.25e-05', job_status='DONE', photon_flux_upper_limit='5.71e-08', time_completed='2021-09-09 08:22:20.273412', job_id='318965', GAL2='0.97', fit_tolerance='1e-08', EG2='1.05', EG='1.05', time_epoch_completed='1631200940.27', return_code2='0', ts='0.37', comment='SUCCESS', return_code='0', GAL='0.97', dlogl='1.34e-02', ts2='0.40', photon_index_error='0.00', photon_index='2.02' WHERE bin_id='759' AND source_name='4FGL J1418.4+3543' AND cadence='daily';

Database successfully updated.


Analysis Complete.


Thu Sep  9 08:22:20 PDT 2021


------------------------------------------------------------
Sender: LSF System <lsf@bullet0239>
Subject: Job 318965: <4FGL_J1418.4+3543_daily_bin759> in cluster <slac> Done

Job <4FGL_J1418.4+3543_daily_bin759> was submitted from host <rhel6-64f> by user <kocevski> in cluster <slac> at Thu Sep  9 08:10:39 2021
Job was executed on host(s) <bullet0239>, in queue <medium>, as user <kocevski> in cluster <slac> at Thu Sep  9 08:10:41 2021
</u/ki/kocevski> was used as the home directory.
</u/ki/kocevski> was used as the working directory.
Started at Thu Sep  9 08:10:41 2021
Terminated at Thu Sep  9 08:22:20 2021
Results reported at Thu Sep  9 08:22:20 2021

Your job looked like:

------------------------------------------------------------
# LSBATCH: User input
/nfs/farm/g/glast/g/LCRepository/Likelihood/Scripts/LikelihoodAnalysis.py 4FGL_J1418.4+3543_daily_bin759 214.623 35.7192 436060801 436320001 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 :                                   617.00 sec.
    Max Memory :                                 1257 MB
    Average Memory :                             298.74 MB
    Total Requested Memory :                     -
    Delta Memory :                               -
    Max Swap :                                   -
    Max Processes :                              5
    Max Threads :                                21
    Run time :                                   699 sec.
    Turnaround time :                            701 sec.

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

