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


Performing analysis on: 4FGL_J1418.4+3543_daily_bin538
RA = 214.623, Dec = 35.7192
tmin = 378777601, tmax = 379036801
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='317455', job_status='RUN', time_executed='2021-09-09 08:05:59.170521', time_epoch_executed='1631199959.17' WHERE source_name='4FGL J1418.4+3543' and cadence='daily' and bin_id='538'

Database successfully updated.
Done.

Creating custom output directory:
/scratch/kocevski/317455

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

Retrieving the FT1 file...

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

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

Retrieving 47 files...
Done.


Merging files...

Checksum keywords updated successfully.

Merged file saved to:
/scratch/kocevski/317455/ft1_4FGL_J1418.4+3543_daily_bin538.fits


Retrieving the FT1 file...

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

Retrieving 47 files...
Done.


Merging files...

Merged file saved to:
/scratch/kocevski/317455/ft2_4FGL_J1418.4+3543_daily_bin538.fits


Selecting the photons:
time -p gtselect infile=/scratch/kocevski/317455/ft1_4FGL_J1418.4+3543_daily_bin538.fits outfile=/scratch/kocevski/317455/ft1_filteredMKT_4FGL_J1418.4+3543_daily_bin538.fits ra=214.623 dec=35.7192 rad=12.0 tmin=378777601.0 tmax=379036801.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.61
user 4.35
sys 0.23

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

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

Generating the livetime cube:
time -p gtltcube evfile="/scratch/kocevski/317455/ft1_filtered_4FGL_J1418.4+3543_daily_bin538.fits" evtable="EVENTS" scfile=/scratch/kocevski/317455/ft2_4FGL_J1418.4+3543_daily_bin538.fits sctable="SC_DATA" outfile=/scratch/kocevski/317455/ltcube_378777601_379036801_4FGL_J1418.4+3543_daily_bin538.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/317455/ft2_4FGL_J1418.4+3543_daily_bin538.fits
.....................!
real 12.73
user 11.61
sys 0.31

Generating the exposure map:
time -p gtexpmap evfile=/scratch/kocevski/317455/ft1_filtered_4FGL_J1418.4+3543_daily_bin538.fits evtable="EVENTS" scfile=/scratch/kocevski/317455/ft2_4FGL_J1418.4+3543_daily_bin538.fits sctable="SC_DATA" expcube=/scratch/kocevski/317455/ltcube_378777601_379036801_4FGL_J1418.4+3543_daily_bin538.fits outfile=/scratch/kocevski/317455/expmap_378777601_379036801_4FGL_J1418.4+3543_daily_bin538.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/317455/ltcube_378777601_379036801_4FGL_J1418.4+3543_daily_bin538.fits
.....................!
real 189.90
user 184.52
sys 4.84

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/317455/ft1_filtered_4FGL_J1418.4+3543_daily_bin538.fits scfile=/scratch/kocevski/317455/ft2_4FGL_J1418.4+3543_daily_bin538.fits outfile=/scratch/kocevski/317455/cmap_378777601_379036801_4FGL_J1418.4+3543_daily_bin538.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/317455/ft1_filtered_4FGL_J1418.4+3543_daily_bin538.fits scfile=/scratch/kocevski/317455/ft2_4FGL_J1418.4+3543_daily_bin538.fits outfile=/scratch/kocevski/317455/cmap_HighResolution_378777601_379036801_4FGL_J1418.4+3543_daily_bin538.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.55
user 0.39
sys 0.14

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

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

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

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

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'Prefactor '    .10011E-03   1.0000         .10000E-03   10000.    
     2 'Prefactor '    7.4841       1.0000         .10000E-03   10000.    
     3 'Prefactor '    187.04       1.0000         .10000E-03   10000.    
     4 'norm      '    15.483       1.0000         .10000E-03   10000.    
     5 'Prefactor '    4.4471       1.0000         .10000E-03   10000.    
     6 'norm      '    4.1536       1.0000         .10000E-03   10000.    
     7 'Prefactor '    .10015E-03   1.0000         .10000E-03   10000.    
     8 'Prefactor '    .10014E-03   1.0000         .10000E-03   10000.    
     9 'norm      '    10.617       1.0000         .10000E-03   10000.    
    10 'Prefactor '    8.9782       1.0000         .10000E-03   10000.    
    11 'Prefactor '    8.7670       1.0000         .10000E-03   10000.    
    12 'Prefactor '    8.5386       1.0000         .10000E-03   10000.    
    13 'norm      '    .13714E-01   1.0000         .10000E-03   10000.    
    14 'Prefactor '    13.961       1.0000         .10000E-03   10000.    
    15 'norm      '    2.8707       1.0000         .10000E-03   10000.    
    16 'Prefactor '    .10069E-03   1.0000         .10000E-03   10000.    
    17 'Prefactor '    104.80       1.0000         .10000E-03   10000.    
    18 'norm      '    .10000E-03   1.0000         .10000E-03   10000.    
    19 'Prefactor '    .10048E-03   1.0000         .10000E-03   10000.    
    20 'Prefactor '    15.608       1.0000         .10000E-03   10000.    
    21 'norm      '    1.9173       1.0000         .10000E-03   10000.    
    22 'Prefactor '    .10013E-03   1.0000         .10000E-03   10000.    
    23 'Normalizat'    .54248       1.0000         .10000E-01   10.000    
    24 'Prefactor '    1.2633       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=   6316.900     FROM MIGRAD    STATUS=CONVERGED    546 CALLS     2724 TOTAL
                     EDM=   .17E-07    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor     .10000E-03    11.341        .90712E-02** at limit **
   2  Prefactor     7.4811        14.195        .36650E-02    .10373E-02
   3  Prefactor     187.04        80.422        .73813E-03    .40306E-03
   4  norm          15.483        2.6097        .25447E-02    .16081E-03
   5  Prefactor     4.4480        3.6849        .47737E-02    .46339E-03
   6  norm          4.1553        10.054        .49442E-02   -.61901E-03
   7  Prefactor     .10000E-03    8.8264        .90712E-02** at limit **
   8  Prefactor     .10000E-03    7.0272        .90712E-02** at limit **
   9  norm          10.616        4.4524        .30741E-02    .13433E-02
  10  Prefactor     8.9584        18.530        .33441E-02    .15751E-02
  11  Prefactor     8.7807        22.434        .33844E-02    .71565E-03
  12  Prefactor     8.5391        4.1505        .34296E-02    .32548E-02
  13  norm          .10000E-03    8.2506        .90914E-01** at limit **
  14  Prefactor     13.959        24.427        .26799E-02    .33052E-03
  15  norm          2.8699        3.6920        .59977E-02    .26841E-03
  16  Prefactor     .10000E-03    16.800        .90712E-02** at limit **
  17  Prefactor     104.80        41.990        .98200E-03   -.69185E-04
  18  norm          .10000E-03    2.1928        .90712E-02** at limit **
  19  Prefactor     .10000E-03    5.6710        .90712E-02** at limit **
  20  Prefactor     15.610        11.000        .25345E-02   -.21639E-02
  21  norm          1.9160        2.0040        .75034E-02    .11225E-02
  22  Prefactor     .10000E-03    65.003        .90712E-02** at limit **
  23  Normalizat    .54213        .18450        .69674E-01    .79503E-04
  24  Prefactor     1.2638        .19785        .55710E-01    .10266E-03
                               ERR DEF=  .500    
Final values: 
  Prefactor  = 0.0001
  Prefactor  = 7.48115
  Prefactor  = 187.042
  norm       = 15.483
  Prefactor  = 4.44795
  norm       = 4.15528
  Prefactor  = 0.0001
  Prefactor  = 0.0001
  norm       = 10.6162
  Prefactor  = 8.95844
  Prefactor  = 8.78071
  Prefactor  = 8.53907
  norm       = 0.0001
  Prefactor  = 13.9586
  norm       = 2.8699
  Prefactor  = 0.0001
  Prefactor  = 104.801
  norm       = 0.0001
  Prefactor  = 0.0001
  Prefactor  = 15.61
  norm       = 1.91602
  Prefactor  = 0.000100004
  Normalizat = 0.542129
  Prefactor  = 1.26377
 **********
 **   18 **HESSE 
 **********

 FCN=   6316.900     FROM HESSE     STATUS=OK           397 CALLS     3121 TOTAL
                     EDM=   .16E-07    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  Prefactor     .10000E-03    11.341        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   2  Prefactor     7.4811        14.187        .14660E-03   -1.5161    
   3  Prefactor     187.04        80.828        .29525E-04   -1.2964    
   4  norm          15.483        2.6110        .50917E-04   -1.4921    
   5  Prefactor     4.4480        3.6866        .13154E-03   -1.5286    
   6  norm          4.1553        10.036        .19777E-03   -1.5300    
   7  Prefactor     .10000E-03    8.8384        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   8  Prefactor     .10000E-03    7.0538        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   9  norm          10.616        4.4502        .10393E-03   -1.5056    
  10  Prefactor     8.9584        18.225        .13376E-03   -1.5109    
  11  Prefactor     8.7807        22.081        .13537E-03   -1.5115    
  12  Prefactor     8.5391        4.1520        .10693E-03   -1.5123    
  13  norm          .10000E-03    9.2538        .80557E-01   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  14  Prefactor     13.959        24.497        .10720E-03   -1.4961    
  15  norm          2.8699        3.6818        .16766E-03   -1.5369    
  16  Prefactor     .10000E-03    16.809        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  17  Prefactor     104.80        42.001        .39280E-04   -1.3657    
  18  norm          .10000E-03    2.1930        .11494E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  19  Prefactor     .10000E-03    5.6854        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  20  Prefactor     15.610        10.919        .10138E-03   -1.4918    
  21  norm          1.9160        1.9758        .94893E-04   -1.5431    
  22  Prefactor     .10000E-03    65.043        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  23  Normalizat    .54213        .21781        .30841E-03   -1.1050    
  24  Prefactor     1.2638        .23559        .24632E-03   -.84391    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 1.61125e-08
Minuit parameter uncertainties:
  1  1.85071e-05
  2  14.1937
  3  80.8763
  4  2.61105
  5  3.68684
  6  10.0397
  7  1.36268e-05
  8  3.04593e-05
  9  4.45035
  10  18.2361
  11  22.1015
  12  4.1521
  13  4.69697e-05
  14  24.5144
  15  3.68206
  16  0.000158945
  17  42.0132
  18  4.63099e-06
  19  7.07244e-06
  20  10.9204
  21  1.97588
  22  0.00105455
  23  0.218156
  24  0.235791
Done.

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

Extracting fit parameters...

4FGL J1418.4+3543
   Spectrum: LogParabola
283         norm:  1.062e+01  4.450e+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:  1.264e+00  2.358e-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:  5.421e-01  2.182e-01  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Fixed Index): 25.70
Ra Dec: 214.623 35.719
Photon Index (Fixed Index): 2.02 +/- 0.00
Photon Flux (Fixed Index): 6.45e-08 +/- 2.70e-08
Energy Flux (Fixed Index): 3.67e-05 +/- 1.54e-05

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) = 6316.56193113
delta logL = 0.338351815523

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

MINUIT Return Code (Free Index): 0
logL (Free Index) = 6316.52789354
delta logL = 0.372389408792

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'norm      '    10.621       1.0000         .10000E-03   10000.    
     2 'alpha     '    1.7127       1.0000          .0000       5.0000    
     3 'Normalizat'    .55929       1.0000         .10000E-01   10.000    
     4 'Prefactor '    1.2538       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=   6316.528     FROM MIGRAD    STATUS=CONVERGED     55 CALLS      206 TOTAL
                     EDM=   .54E-10    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  norm          10.669        4.9588        .30735E-02   -.51591E-04
   2  alpha         1.7136        .33249        .24939       -.49201E-04
   3  Normalizat    .55916        .16640        .68709E-01    .24205E-04
   4  Prefactor     1.2537        .19596        .55933E-01   -.13716E-04
                               ERR DEF=  .500    
Final values: 
  norm       = 10.6694
  alpha      = 1.71362
  Normalizat = 0.559161
  Prefactor  = 1.25373
 **********
 **   18 **HESSE 
 **********

 FCN=   6316.528     FROM HESSE     STATUS=OK            33 CALLS      239 TOTAL
                     EDM=   .34E-10    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  norm          10.669        4.7941        .11063E-03   -1.5055    
   2  alpha         1.7136        .34655        .10199E-01   -.31998    
   3  Normalizat    .55916        .19615        .30411E-03   -1.0975    
   4  Prefactor     1.2537        .23155        .24731E-03   -.84694    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 3.43474e-11
Minuit parameter uncertainties:
  1  4.79429
  2  0.347798
  3  0.196396
  4  0.231734
shell-init: error retrieving current directory: getcwd: cannot access parent directories: No such file or directory
rmdir: failed to remove `/scratch/kocevski/317455': 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) = 6316.5278423
delta logL = 0.372440646691

Extracting fit parameters...

4FGL J1418.4+3543
   Spectrum: LogParabola
283         norm:  1.067e+01  4.794e+00  1.000e-04  1.000e+04 ( 1.000e-12)
284        alpha:  1.714e+00  3.478e-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:  1.254e+00  2.317e-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:  5.592e-01  1.964e-01  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Free Index): 26.40
Ra Dec: 214.623 35.719
Photon Index (Free Index): 1.71 +/- 0.35
Photon Flux (Free Index): 4.86e-08 +/- 2.78e-08
Energy Flux (Free Index): 5.31e-05 +/- 3.50e-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/317455/cmap_HighResolution_378777601_379036801_4FGL_J1418.4+3543_daily_bin538.png

Cleaning up...

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

Updating database...

UPDATE lightcurve_data_v2 SET comment='SUCCESS', photon_flux='6.45e-08', energy_flux2='5.31e-05', photon_flux_error='2.70e-08', dlogl='3.72e-01', energy_flux='3.67e-05', photon_flux2='4.86e-08', job_status='DONE', time_completed='2021-09-09 08:16:28.391302', photon_index_error2='0.35', photon_index2='1.71', ts='25.70', fit_tolerance='1e-08', GAL='1.26', photon_index_error='0.00', energy_flux_error2='3.50e-05', EG='0.54', time_epoch_completed='1631200588.39', return_code='0', job_id='317455', GAL2='1.25', EG2='0.56', return_code2='0', energy_flux_error='1.54e-05', photon_flux_error2='2.78e-08', ts2='26.40', photon_index='2.02' WHERE bin_id='538' AND source_name='4FGL J1418.4+3543' AND cadence='daily';

Database successfully updated.


Analysis Complete.


Thu Sep  9 08:16:28 PDT 2021


------------------------------------------------------------
Sender: LSF System <lsf@bullet0241>
Subject: Job 317455: <4FGL_J1418.4+3543_daily_bin538> in cluster <slac> Done

Job <4FGL_J1418.4+3543_daily_bin538> was submitted from host <rhel6-64q> by user <kocevski> in cluster <slac> at Thu Sep  9 08:05:41 2021
Job was executed on host(s) <bullet0241>, in queue <medium>, as user <kocevski> in cluster <slac> at Thu Sep  9 08:05:43 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:05:43 2021
Terminated at Thu Sep  9 08:16:29 2021
Results reported at Thu Sep  9 08:16:29 2021

Your job looked like:

------------------------------------------------------------
# LSBATCH: User input
/nfs/farm/g/glast/g/LCRepository/Likelihood/Scripts/LikelihoodAnalysis.py 4FGL_J1418.4+3543_daily_bin538 214.623 35.7192 378777601 379036801 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 :                                   622.27 sec.
    Max Memory :                                 1094 MB
    Average Memory :                             348.81 MB
    Total Requested Memory :                     -
    Delta Memory :                               -
    Max Swap :                                   -
    Max Processes :                              5
    Max Threads :                                21
    Run time :                                   645 sec.
    Turnaround time :                            648 sec.

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

