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


Performing analysis on: 4FGL_J1418.4+3543_daily_bin1418
RA = 214.623, Dec = 35.7192
tmin = 606873601, tmax = 607132801
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='322221', job_status='RUN', time_executed='2021-09-09 08:23:19.926293', time_epoch_executed='1631200999.93' WHERE source_name='4FGL J1418.4+3543' and cadence='daily' and bin_id='1418'

Database successfully updated.
Done.

Creating custom output directory:
/scratch/kocevski/322221

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

Retrieving the FT1 file...

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

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

Retrieving 46 files...
Done.


Merging files...

Checksum keywords updated successfully.

Merged file saved to:
/scratch/kocevski/322221/ft1_4FGL_J1418.4+3543_daily_bin1418.fits


Retrieving the FT1 file...

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

Retrieving 46 files...
Done.


Merging files...

Merged file saved to:
/scratch/kocevski/322221/ft2_4FGL_J1418.4+3543_daily_bin1418.fits


Selecting the photons:
time -p gtselect infile=/scratch/kocevski/322221/ft1_4FGL_J1418.4+3543_daily_bin1418.fits outfile=/scratch/kocevski/322221/ft1_filteredMKT_4FGL_J1418.4+3543_daily_bin1418.fits ra=214.623 dec=35.7192 rad=12.0 tmin=606873601.0 tmax=607132801.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.32
user 5.05
sys 0.24

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

Selecting the good time intervals:
time -p gtmktime scfile=/scratch/kocevski/322221/ft2_4FGL_J1418.4+3543_daily_bin1418.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/322221/ft1_filteredMKT_4FGL_J1418.4+3543_daily_bin1418.fits evtable="EVENTS" outfile="/scratch/kocevski/322221/ft1_filtered_4FGL_J1418.4+3543_daily_bin1418.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.49
user 0.31
sys 0.16

Generating the livetime cube:
time -p gtltcube evfile="/scratch/kocevski/322221/ft1_filtered_4FGL_J1418.4+3543_daily_bin1418.fits" evtable="EVENTS" scfile=/scratch/kocevski/322221/ft2_4FGL_J1418.4+3543_daily_bin1418.fits sctable="SC_DATA" outfile=/scratch/kocevski/322221/ltcube_606873601_607132801_4FGL_J1418.4+3543_daily_bin1418.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/322221/ft2_4FGL_J1418.4+3543_daily_bin1418.fits
.....................!
real 11.43
user 10.98
sys 0.40

Generating the exposure map:
time -p gtexpmap evfile=/scratch/kocevski/322221/ft1_filtered_4FGL_J1418.4+3543_daily_bin1418.fits evtable="EVENTS" scfile=/scratch/kocevski/322221/ft2_4FGL_J1418.4+3543_daily_bin1418.fits sctable="SC_DATA" expcube=/scratch/kocevski/322221/ltcube_606873601_607132801_4FGL_J1418.4+3543_daily_bin1418.fits outfile=/scratch/kocevski/322221/expmap_606873601_607132801_4FGL_J1418.4+3543_daily_bin1418.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/322221/ltcube_606873601_607132801_4FGL_J1418.4+3543_daily_bin1418.fits
.....................!
real 192.00
user 186.76
sys 4.85

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/322221/ft1_filtered_4FGL_J1418.4+3543_daily_bin1418.fits scfile=/scratch/kocevski/322221/ft2_4FGL_J1418.4+3543_daily_bin1418.fits outfile=/scratch/kocevski/322221/cmap_606873601_607132801_4FGL_J1418.4+3543_daily_bin1418.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/322221/ft1_filtered_4FGL_J1418.4+3543_daily_bin1418.fits scfile=/scratch/kocevski/322221/ft2_4FGL_J1418.4+3543_daily_bin1418.fits outfile=/scratch/kocevski/322221/cmap_HighResolution_606873601_607132801_4FGL_J1418.4+3543_daily_bin1418.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.56
user 0.39
sys 0.15

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

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

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

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

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'Prefactor '    52.139       1.0000         .10000E-03   10000.    
     2 'Prefactor '    .10016E-03   1.0000         .10000E-03   10000.    
     3 'Prefactor '    39.029       1.0000         .10000E-03   10000.    
     4 'norm      '    2.4579       1.0000         .10000E-03   10000.    
     5 'Prefactor '    1.2745       1.0000         .10000E-03   10000.    
     6 'norm      '    .10000E-03   1.0000         .10000E-03   10000.    
     7 'Prefactor '    .10000E-03   1.0000         .10000E-03   10000.    
     8 'Prefactor '    .10000E-03   1.0000         .10000E-03   10000.    
     9 'norm      '    4.5781       1.0000         .10000E-03   10000.    
    10 'Prefactor '    .18417E-03   1.0000         .10000E-03   10000.    
    11 'Prefactor '    .17071E-03   1.0000         .10000E-03   10000.    
    12 'Prefactor '    13.502       1.0000         .10000E-03   10000.    
    13 'norm      '    .10008E-03   1.0000         .10000E-03   10000.    
    14 'Prefactor '    .12010E-03   1.0000         .10000E-03   10000.    
    15 'norm      '    .10467E-03   1.0000         .10000E-03   10000.    
    16 'Prefactor '    57.770       1.0000         .10000E-03   10000.    
    17 'Prefactor '    5.5631       1.0000         .10000E-03   10000.    
    18 'norm      '    .10009E-03   1.0000         .10000E-03   10000.    
    19 'Prefactor '    7.3113       1.0000         .10000E-03   10000.    
    20 'Prefactor '    .10032E-03   1.0000         .10000E-03   10000.    
    21 'norm      '    3.8562       1.0000         .10000E-03   10000.    
    22 'Prefactor '    .10115E-03   1.0000         .10000E-03   10000.    
    23 'Normalizat'    .89215       1.0000         .10000E-01   10.000    
    24 'Prefactor '    .89364       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=   4840.256     FROM MIGRAD    STATUS=CONVERGED    533 CALLS     2663 TOTAL
                     EDM=   .32E-09  STRATEGY=1  ERROR MATRIX UNCERTAINTY=   .2%

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor     52.145        48.637        .43708E-05    .56080E-05
   2  Prefactor     .10000E-03    6.5331       -.16810E-05** at limit **
   3  Prefactor     39.034        49.459        .38048E-05    .55730E-05
   4  norm          2.4582        1.5807       -.14224E-06   -.38767E-04
   5  Prefactor     1.2740        3.2129       -.11270E-05   -.78264E-03
   6  norm          .10000E-03    4.3169        .98816E-09** at limit **
   7  Prefactor     .10000E-03    6.0118        .20244E-05** at limit **
   8  Prefactor     .10000E-03    5.7761        .39511E-07** at limit **
   9  norm          4.5763        3.9213       -.24174E-06   -.61832E-04
  10  Prefactor     .10000E-03    35.751       -.46736E-05** at limit **
  11  Prefactor     .10000E-03    36.801        .54424E-05** at limit **
  12  Prefactor     13.503        5.0380        .79721E-07    .42179E-04
  13  norm          .10000E-03    6.9826        .61649E-06** at limit **
  14  Prefactor     .10000E-03    19.198        .25676E-06** at limit **
  15  norm          .10000E-03    3.1187        .21683E-06** at limit **
  16  Prefactor     57.736        47.758       -.25775E-04   -.73718E-05
  17  Prefactor     5.5455        52.004       -.23079E-04   -.12898E-04
  18  norm          .10000E-03    5.6870       -.10480E-05** at limit **
  19  Prefactor     7.3128        10.483        .87450E-06   -.17244E-05
  20  Prefactor     .10000E-03    3.3686        .35457E-07** at limit **
  21  norm          3.8565        1.9425        .20011E-07   -.77926E-04
  22  Prefactor     .10000E-03    134.42        .53763E-05** at limit **
  23  Normalizat    .89188        .17754        .23748E-05    .23811E-05
  24  Prefactor     .89391        .19654        .11762E-05    .91907E-04
                               ERR DEF=  .500    
Final values: 
  Prefactor  = 52.1448
  Prefactor  = 0.0001
  Prefactor  = 39.0336
  norm       = 2.4582
  Prefactor  = 1.27395
  norm       = 0.0001
  Prefactor  = 0.0001
  Prefactor  = 0.0001
  norm       = 4.57626
  Prefactor  = 0.000100001
  Prefactor  = 0.000100001
  Prefactor  = 13.5029
  norm       = 0.0001
  Prefactor  = 0.0001
  norm       = 0.0001
  Prefactor  = 57.7355
  Prefactor  = 5.54545
  norm       = 0.0001
  Prefactor  = 7.31281
  Prefactor  = 0.0001
  norm       = 3.85649
  Prefactor  = 0.0001
  Normalizat = 0.891881
  Prefactor  = 0.893907
 **********
 **   18 **HESSE 
 **********

 FCN=   4840.256     FROM HESSE     STATUS=OK           397 CALLS     3060 TOTAL
                     EDM=   .64E-09    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  Prefactor     52.145        48.672        .27772E-03   -1.4262    
   2  Prefactor     .10000E-03    6.5390        .17369E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   3  Prefactor     39.034        49.590        .64159E-04   -1.4458    
   4  norm          2.4582        1.5825        .67675E-04   -1.5394    
   5  Prefactor     1.2740        3.1984        .18989E-03   -1.5482    
   6  norm          .10000E-03    4.3203        .14117E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   7  Prefactor     .10000E-03    6.0141        .16660E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   8  Prefactor     .10000E-03    5.7821        .16330E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   9  norm          4.5763        3.9175        .12296E-03   -1.5280    
  10  Prefactor     .10000E-03    37.106        .36285E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  11  Prefactor     .10000E-03    37.809        .36285E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  12  Prefactor     13.503        5.0463        .90635E-04   -1.4973    
  13  norm          .10000E-03    6.9900        .17955E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  14  Prefactor     .10000E-03    19.265        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  15  norm          .10000E-03    3.1403        .11997E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  16  Prefactor     57.736        47.709        .26391E-03   -1.4187    
  17  Prefactor     5.5455        52.184        .17033E-03   -1.5237    
  18  norm          .10000E-03    5.7263        .16202E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  19  Prefactor     7.3128        10.473        .14834E-03   -1.5167    
  20  Prefactor     .10000E-03    3.3744        .12461E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  21  norm          3.8565        1.9391        .65366E-04   -1.5315    
  22  Prefactor     .10000E-03    135.02        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  23  Normalizat    .89188        .20917        .22382E-03   -.96746    
  24  Prefactor     .89391        .23118        .25765E-03   -.96354    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 6.43676e-10
Minuit parameter uncertainties:
  1  48.7096
  2  5.845e-06
  3  49.6422
  4  1.58252
  5  3.19887
  6  6.11825e-06
  7  3.63283e-07
  8  4.05156e-06
  9  3.91771
  10  0.000296062
  11  0.000399123
  12  5.04641
  13  9.68254e-06
  14  0.000151217
  15  3.4154e-05
  16  47.7401
  17  34.0614
  18  4.00385e-06
  19  10.4759
  20  8.18393e-06
  21  1.93909
  22  0.000148364
  23  0.209364
  24  0.231431
Done.

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

Extracting fit parameters...

4FGL J1418.4+3543
   Spectrum: LogParabola
283         norm:  4.576e+00  3.918e+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:  8.939e-01  2.314e-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:  8.919e-01  2.094e-01  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Fixed Index): 3.07
Ra Dec: 214.623 35.719
Photon Index (Fixed Index): 2.02 +/- 0.00
Photon Flux (Fixed Index): 2.78e-08 +/- 2.38e-08
Energy Flux (Fixed Index): 1.58e-05 +/- 1.35e-05

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

Saving results to:
/scratch/kocevski/322221/likelihoodResults_606873601_607132801_4FGL_J1418.4+3543_daily_bin1418.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) = 4840.13009923
delta logL = 0.125460814364

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

MINUIT Return Code (Free Index): 0
logL (Free Index) = 4840.12635625
delta logL = 0.129203795821

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'norm      '    4.8787       1.0000         .10000E-03   10000.    
     2 'alpha     '    1.6066       1.0000          .0000       5.0000    
     3 'Normalizat'    .90262       1.0000         .10000E-01   10.000    
     4 'Prefactor '    .88443       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=   4840.126     FROM MIGRAD    STATUS=CONVERGED     48 CALLS      198 TOTAL
                     EDM=   .35E-08    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  norm          4.8787        4.4211        .45528E-02   -.31227E-02
   2  alpha         1.6065        .60633        .32141       -.37116E-04
   3  Normalizat    .90262        .16999        .44935E-01    .93923E-05
   4  Prefactor     .88443        .19664        .44806E-01    .97953E-05
                               ERR DEF=  .500    
Final values: 
  norm       = 4.87867
  alpha      = 1.6065
  Normalizat = 0.902617
  Prefactor  = 0.884429
 **********
 **   18 **HESSE 
 **********

 FCN=   4840.126     FROM HESSE     STATUS=OK            31 CALLS      229 TOTAL
                     EDM=   .36E-08    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  norm          4.8787        4.0984        .12314E-03   -1.5266    
   2  alpha         1.6065        .67378        .16153E-01   -.36548    
   3  Normalizat    .90262        .19913        .22262E-03   -.96368    
   4  Prefactor     .88443        .23042        .25882E-03   -.96687    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 3.59216e-09
Minuit parameter uncertainties:
  1  4.09865
  2  0.683499
  3  0.199297
  4  0.230677
shell-init: error retrieving current directory: getcwd: cannot access parent directories: No such file or directory
rmdir: failed to remove `/scratch/kocevski/322221': 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) = 4840.12635624
delta logL = 0.129203804077

Extracting fit parameters...

4FGL J1418.4+3543
   Spectrum: LogParabola
283         norm:  4.879e+00  4.099e+00  1.000e-04  1.000e+04 ( 1.000e-12)
284        alpha:  1.606e+00  6.835e-01  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:  8.844e-01  2.307e-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:  9.026e-01  1.993e-01  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Free Index): 3.33
Ra Dec: 214.623 35.719
Photon Index (Free Index): 1.61 +/- 0.68
Photon Flux (Free Index): 2.06e-08 +/- 2.09e-08
Energy Flux (Free Index): 2.96e-05 +/- 4.36e-05

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/322221/cmap_HighResolution_606873601_607132801_4FGL_J1418.4+3543_daily_bin1418.png

Cleaning up...

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

Updating database...

UPDATE lightcurve_data_v2 SET energy_flux_upper_limit='4.90e-05', comment='SUCCESS', photon_flux='2.78e-08', energy_flux2='2.96e-05', photon_flux_error='2.38e-08', dlogl='1.29e-01', energy_flux='1.58e-05', photon_flux2='2.06e-08', job_status='DONE', time_completed='2021-09-09 08:34:45.082426', photon_index_error2='0.68', photon_index2='1.61', ts='3.07', fit_tolerance='1e-08', GAL='0.89', photon_index_error='0.00', photon_flux_upper_limit='8.62e-08', energy_flux_error2='4.36e-05', EG='0.89', time_epoch_completed='1631201685.08', return_code='0', job_id='322221', GAL2='0.88', EG2='0.90', return_code2='0', energy_flux_error='1.35e-05', photon_flux_error2='2.09e-08', ts2='3.33', photon_index='2.02' WHERE bin_id='1418' AND source_name='4FGL J1418.4+3543' AND cadence='daily';

Database successfully updated.


Analysis Complete.


Thu Sep  9 08:34:45 PDT 2021


------------------------------------------------------------
Sender: LSF System <lsf@bullet0169>
Subject: Job 322221: <4FGL_J1418.4+3543_daily_bin1418> in cluster <slac> Done

Job <4FGL_J1418.4+3543_daily_bin1418> was submitted from host <rhel6-64d> by user <kocevski> in cluster <slac> at Thu Sep  9 08:21:01 2021
Job was executed on host(s) <bullet0169>, in queue <medium>, as user <kocevski> in cluster <slac> at Thu Sep  9 08:21:02 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:21:02 2021
Terminated at Thu Sep  9 08:34:45 2021
Results reported at Thu Sep  9 08:34:45 2021

Your job looked like:

------------------------------------------------------------
# LSBATCH: User input
/nfs/farm/g/glast/g/LCRepository/Likelihood/Scripts/LikelihoodAnalysis.py 4FGL_J1418.4+3543_daily_bin1418 214.623 35.7192 606873601 607132801 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 :                                   597.18 sec.
    Max Memory :                                 1256 MB
    Average Memory :                             271.32 MB
    Total Requested Memory :                     -
    Delta Memory :                               -
    Max Swap :                                   -
    Max Processes :                              7
    Max Threads :                                21
    Run time :                                   823 sec.
    Turnaround time :                            824 sec.

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

