aklog: Couldn't determine realm of user:aklog: No credentials cache found  while getting realm
/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 109 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 make4FGLDR3xml version 01r09.
The default diffuse model files and names are for P8R3, 4FGL DRs, and the default fermitools directory locations.

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


Performing analysis on: 4FGL_J1418.4+3543_daily_bin1710
RA = 214.623, Dec = 35.7192
tmin = 682560001, tmax = 682819201
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='143487', job_status='RUN', time_executed='2022-09-16 18:17:19.833566', time_epoch_executed='1663377439.83' WHERE source_name='4FGL J1418.4+3543' and cadence='daily' and bin_id='1710'

Database successfully updated.
Done.

Creating custom output directory:
/scratch/kocevski/143487

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

Retrieving the FT1 file...

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

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

Retrieving 46 files...
Done.


Merging files...

Checksum keywords updated successfully.

Merged file saved to:
/scratch/kocevski/143487/ft1_4FGL_J1418.4+3543_daily_bin1710.fits


Retrieving the FT1 file...

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

Retrieving 46 files...
Done.


Merging files...

Merged file saved to:
/scratch/kocevski/143487/ft2_4FGL_J1418.4+3543_daily_bin1710.fits


Selecting the photons:
time -p gtselect infile=/scratch/kocevski/143487/ft1_4FGL_J1418.4+3543_daily_bin1710.fits outfile=/scratch/kocevski/143487/ft1_filteredMKT_4FGL_J1418.4+3543_daily_bin1710.fits ra=214.623 dec=35.7192 rad=12.0 tmin=682560001.0 tmax=682819201.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 3.67
user 3.42
sys 0.23

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

Selecting the good time intervals:
time -p gtmktime scfile=/scratch/kocevski/143487/ft2_4FGL_J1418.4+3543_daily_bin1710.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/143487/ft1_filteredMKT_4FGL_J1418.4+3543_daily_bin1710.fits evtable="EVENTS" outfile="/scratch/kocevski/143487/ft1_filtered_4FGL_J1418.4+3543_daily_bin1710.fits" apply_filter=yes overwrite=yes header_obstimes=yes tstart=0.0 tstop=0.0 gtifile="default" chatter=3 clobber=yes debug=no gui=no mode="ql"

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

This is gtmktime version HEAD
Applying GTI filter:
IN_SAA!=T && LIVETIME>0 && gtifilter('/nfs/farm/g/glast/g/LCRepository/Likelihood/GTIs/nogrb.gti',(START+STOP)/2) && (angsep(RA_SUN,DEC_SUN,RA_ZENITH,DEC_ZENITH)>115 || gtifilter('/nfs/farm/g/glast/g/LCRepository/Likelihood/GTIs/nosolarflares.gti',(START+STOP)/2))
real 0.51
user 0.34
sys 0.16

Number of photons that the gtmktime cut: 507

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

Generating the exposure map:
time -p gtexpmap evfile=/scratch/kocevski/143487/ft1_filtered_4FGL_J1418.4+3543_daily_bin1710.fits evtable="EVENTS" scfile=/scratch/kocevski/143487/ft2_4FGL_J1418.4+3543_daily_bin1710.fits sctable="SC_DATA" expcube=/scratch/kocevski/143487/ltcube_682560001_682819201_4FGL_J1418.4+3543_daily_bin1710.fits outfile=/scratch/kocevski/143487/expmap_682560001_682819201_4FGL_J1418.4+3543_daily_bin1710.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/143487/ltcube_682560001_682819201_4FGL_J1418.4+3543_daily_bin1710.fits
.....................!
real 192.11
user 186.44
sys 5.28

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/143487/ft1_filtered_4FGL_J1418.4+3543_daily_bin1710.fits scfile=/scratch/kocevski/143487/ft2_4FGL_J1418.4+3543_daily_bin1710.fits outfile=/scratch/kocevski/143487/cmap_682560001_682819201_4FGL_J1418.4+3543_daily_bin1710.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.55
user 0.39
sys 0.15

Creating the high resolution counts map:
time -p gtbin evfile=/scratch/kocevski/143487/ft1_filtered_4FGL_J1418.4+3543_daily_bin1710.fits scfile=/scratch/kocevski/143487/ft2_4FGL_J1418.4+3543_daily_bin1710.fits outfile=/scratch/kocevski/143487/cmap_HighResolution_682560001_682819201_4FGL_J1418.4+3543_daily_bin1710.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.58
user 0.40
sys 0.16

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

Creating the likelihood object...
obs = UnbinnedObs('/scratch/kocevski/143487/ft1_filtered_4FGL_J1418.4+3543_daily_bin1710.fits', '/scratch/kocevski/143487/ft2_4FGL_J1418.4+3543_daily_bin1710.fits', expMap='/scratch/kocevski/143487/expmap_682560001_682819201_4FGL_J1418.4+3543_daily_bin1710.fits', expCube='/scratch/kocevski/143487/ltcube_682560001_682819201_4FGL_J1418.4+3543_daily_bin1710.fits', irfs='P8R3_SOURCE_V2')
like = UnbinnedAnalysis(obs, '/scratch/kocevski/143487/Model_4FGL_J1418.4+3543_daily_bin1710.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  0.000e+00  1.000e+06 ( 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 -5.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/143487/ft1_filtered_4FGL_J1418.4+3543_daily_bin1710.fits
Spacecraft file(s): /scratch/kocevski/143487/ft2_4FGL_J1418.4+3543_daily_bin1710.fits
Exposure map: /scratch/kocevski/143487/expmap_682560001_682819201_4FGL_J1418.4+3543_daily_bin1710.fits
Exposure cube: /scratch/kocevski/143487/ltcube_682560001_682819201_4FGL_J1418.4+3543_daily_bin1710.fits
IRFs: P8R3_SOURCE_V2
Source model file: /scratch/kocevski/143487/Model_4FGL_J1418.4+3543_daily_bin1710.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) = 5711.59679109

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

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

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'Prefactor '    36.774       1.0000          .0000       .10000E+07
     2 'Prefactor '    .10436E-01   1.0000          .0000       .10000E+07
     3 'norm      '    .85791       1.0000          .0000       .10000E+07
     4 'Prefactor '    7.6080       1.0000          .0000       .10000E+07
     5 'norm      '    7.6567       1.0000          .0000       .10000E+07
     6 'Prefactor '    14.019       1.0000          .0000       .10000E+07
     7 'norm      '    3.4275       1.0000          .0000       .10000E+07
     8 'Prefactor '    .33779E-06   1.0000          .0000       .10000E+07
     9 'Prefactor '    12.826       1.0000          .0000       .10000E+07
    10 'Prefactor '    28.813       1.0000          .0000       .10000E+07
    11 'norm      '    .96804E-02   1.0000          .0000       .10000E+07
    12 'norm      '    .83936E-03   1.0000          .0000       .10000E+07
    13 'Prefactor '    68.560       1.0000          .0000       .10000E+07
    14 'norm      '    .62131E-03   1.0000          .0000       .10000E+07
    15 'Prefactor '    21.400       1.0000          .0000       .10000E+07
    16 'Prefactor '    .16105E-01   1.0000          .0000       .10000E+07
    17 'norm      '    .54332       1.0000          .0000       .10000E+07
    18 'Prefactor '    .13378E-01   1.0000          .0000       .10000E+07
    19 'Normalizat'    1.1015       1.0000         .10000E-01   10.000    
    20 'Prefactor '    .66273       1.0000          .0000       10.000    
 **********
 **   15 **SET ERR    .5000    
 **********
 **********
 **   16 **SET GRAD    1.000    
 **********
 **********
 **   17 **MINIMIZE    .5780E+05   .2000E-04
 **********

 MIGRAD MINIMIZATION HAS CONVERGED.

 FCN=   5711.385     FROM MIGRAD    STATUS=CONVERGED    185 CALLS     1591 TOTAL
                     EDM=   .11E-10  STRATEGY=1  ERROR MATRIX UNCERTAINTY=  1.7%

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor     45.503        60.500       -.77592E-06   -.59503E-03
   2  Prefactor      .0000        9.6704        .22689E-06** at limit **
   3  norm          .86325        1.0665        .21503E-06   -.45474E-03
   4  Prefactor     7.6334        4.4978       -.79950E-07    .36710E-03
   5  norm          7.7769        13.617       -.10694E-06    .20144E-03
   6  Prefactor     14.460        25.263        .15645E-06    .24925E-03
   7  norm          3.4376        3.5047        .53976E-07    .23049E-03
   8  Prefactor      .0000        7.5966        .48565E-06** at limit **
   9  Prefactor     13.210        15.951       -.13640E-06    .24826E-04
  10  Prefactor     28.843        6.6788        .12210E-06   -.17393E-03
  11  norm           .0000        6.1073        .53369E-06** at limit **
  12  norm          .38858E-09    102.75       -.70617E-05** at limit **
  13  Prefactor     71.936        22.825       -.16219E-06    .67974E-02
  14  norm           .0000        4.3025        .21240E-07** at limit **
  15  Prefactor     21.127        16.726        .71323E-07    .23229E-03
  16  Prefactor      .0000        18.278       -.39743E-06** at limit **
  17  norm          .56910        1.7702        .12245E-06   -.14634E-03
  18  Prefactor     .34417E-07    67.505        .18537E-06** at limit **
  19  Normalizat    1.0950        .21879        .20766E-05    .88867E-04
  20  Prefactor     .66396        .21806       -.58816E-05    .80399E-04
                               ERR DEF=  .500    
Final values: 
  Prefactor  = 45.5031
  Prefactor  = 0
  norm       = 0.863246
  Prefactor  = 7.63343
  norm       = 7.77687
  Prefactor  = 14.4595
  norm       = 3.43764
  Prefactor  = 0
  Prefactor  = 13.2097
  Prefactor  = 28.8428
  norm       = 0
  norm       = 3.88578e-10
  Prefactor  = 71.9357
  norm       = 0
  Prefactor  = 21.1271
  Prefactor  = 0
  norm       = 0.569098
  Prefactor  = 3.44169e-08
  Normalizat = 1.09498
  Prefactor  = 0.663956
 **********
 **   18 **HESSE 
 **********

 FCN=   5711.385     FROM HESSE     STATUS=OK           351 CALLS     1942 TOTAL
                     EDM=   .34E-08    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  Prefactor     45.503        60.438        .16492E-03   -1.5573    
   2  Prefactor      .0000        9.6887        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   3  norm          .86325        1.0732        .48714E-03   -1.5689    
   4  Prefactor     7.6334        4.5007        .36334E-03   -1.5653    
   5  norm          7.7769        13.625        .36217E-03   -1.5652    
   6  Prefactor     14.460        25.022        .26725E-03   -1.5632    
   7  norm          3.4376        3.5115        .54612E-03   -1.5671    
   8  Prefactor      .0000        7.6120        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   9  Prefactor     13.210        15.948        .27944E-03   -1.5635    
  10  Prefactor     28.843        6.6833        .18633E-03   -1.5601    
  11  norm           .0000        6.1136        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  12  norm          .38858E-09    7.0881        .56797E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  13  Prefactor     71.936        46.269        .12078E-03   -1.5538    
  14  norm           .0000        4.3325        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  15  Prefactor     21.127        16.965        .21623E-03   -1.5616    
  16  Prefactor      .0000        4.8705        .78472E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  17  norm          .56910        1.9425        .74466E-03   -1.5693    
  18  Prefactor     .34417E-07    87.589        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  19  Normalizat    1.0950        .18792        .37939E-01   -.89913    
  20  Prefactor     .66396        .18902        .69406E-01   -1.0496    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 3.39734e-09
Minuit parameter uncertainties:
  1  60.4383
  2  1.01954e-05
  3  1.07317
  4  4.50073
  5  13.6248
  6  25.0222
  7  3.51148
  8  1.86962e-06
  9  15.9478
  10  6.68332
  11  1.25644e-05
  12  0.000104612
  13  46.2696
  14  7.23006e-06
  15  16.9652
  16  8.95616e-06
  17  1.94247
  18  0.0034738
  19  0.188034
  20  0.189204
Done.

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

Extracting fit parameters...

4FGL J1418.4+3543
   Spectrum: LogParabola
283         norm:  3.438e+00  3.511e+00  0.000e+00  1.000e+06 ( 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 -5.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:  6.640e-01  1.892e-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.095e+00  1.880e-01  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Fixed Index): 1.89
Ra Dec: 214.623 35.719
Photon Index (Fixed Index): 2.02 +/- 0.00
Photon Flux (Fixed Index): 2.09e-08 +/- 2.13e-08
Energy Flux (Fixed Index): 1.19e-05 +/- 1.21e-05

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

Saving results to:
/scratch/kocevski/143487/likelihoodResults_682560001_682819201_4FGL_J1418.4+3543_daily_bin1710.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) = 5711.23852297
delta logL = 0.14613862932

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

MINUIT Return Code (Free Index): 0
logL (Free Index) = 5711.2351062
delta logL = 0.149555394398

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'norm      '    3.1863       1.0000          .0000       .10000E+07
     2 'alpha     '    2.3919       1.0000          .0000       5.0000    
     3 'Normalizat'    1.0870       1.0000         .10000E-01   10.000    
     4 'Prefactor '    .66784       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=   5711.235     FROM MIGRAD    STATUS=CONVERGED     83 CALLS      239 TOTAL
                     EDM=   .59E-09    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  norm          3.1865        3.3528        .12208E-04   -.10443E-01
   2  alpha         2.3919        .69726        .15233E-01   -.87197E-04
   3  Normalizat    1.0870        .19797        .22606E-03    .11709E-03
   4  Prefactor     .66784        .21469        .30623E-03    .97080E-04
                               ERR DEF=  .500    
Final values: 
  norm       = 3.18646
  alpha      = 2.39187
  Normalizat = 1.08703
  Prefactor  = 0.667836
 **********
 **   18 **HESSE 
 **********

 FCN=   5711.235     FROM HESSE     STATUS=OK            23 CALLS      262 TOTAL
                     EDM=   .65E-09    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  norm          3.1865        3.2823        .48834E-06   -1.5672    
   2  alpha         2.3919        .68288        .60932E-03   -.43265E-01
   3  Normalizat    1.0870        .19811        .45212E-04   -.90169    
   4  Prefactor     .66784        .21483        .12249E-04   -1.0480    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 6.46062e-10
Minuit parameter uncertainties:
  1  3.28227
  2  0.691688
  3  0.198241
  4  0.215095
shell-init: error retrieving current directory: getcwd: cannot access parent directories: No such file or directory
rmdir: failed to remove `/scratch/kocevski/143487': 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) = 5711.23510619
delta logL = 0.149555409225

Extracting fit parameters...

4FGL J1418.4+3543
   Spectrum: LogParabola
283         norm:  3.186e+00  3.282e+00  0.000e+00  1.000e+06 ( 1.000e-12)
284        alpha:  2.392e+00  6.917e-01  0.000e+00  5.000e+00 ( 1.000e+00)
285         beta:  6.612e-02  0.000e+00 -5.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:  6.678e-01  2.151e-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.087e+00  1.982e-01  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Free Index): 2.19
Ra Dec: 214.623 35.719
Photon Index (Free Index): 2.39 +/- 0.69
Photon Flux (Free Index): 3.08e-08 +/- 3.27e-08
Energy Flux (Free Index): 1.02e-05 +/- 9.89e-06

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/143487/cmap_HighResolution_682560001_682819201_4FGL_J1418.4+3543_daily_bin1710.png

Cleaning up...

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

Updating database...

UPDATE lightcurve_data_v2 SET energy_flux_upper_limit='4.34e-05', comment='SUCCESS', photon_flux='2.09e-08', energy_flux2='1.02e-05', photon_flux_error='2.13e-08', dlogl='1.50e-01', energy_flux='1.19e-05', photon_flux2='3.08e-08', job_status='DONE', time_completed='2022-09-16 18:26:39.956632', photon_index_error2='0.69', photon_index2='2.39', ts='1.89', fit_tolerance='1e-08', GAL='0.66', photon_index_error='0.00', photon_flux_upper_limit='7.63e-08', energy_flux_error2='9.89e-06', EG='1.09', time_epoch_completed='1663377999.96', return_code='0', job_id='143487', GAL2='0.67', EG2='1.09', return_code2='0', energy_flux_error='1.21e-05', photon_flux_error2='3.27e-08', ts2='2.19', photon_index='2.02' WHERE bin_id='1710' AND source_name='4FGL J1418.4+3543' AND cadence='daily';

Database successfully updated.


Analysis Complete.


Fri Sep 16 18:26:39 PDT 2022


------------------------------------------------------------
Sender: LSF System <lsf@bullet0231>
Subject: Job 143487: <4FGL_J1418.4+3543_daily_bin1710> in cluster <slac> Done

Job <4FGL_J1418.4+3543_daily_bin1710> was submitted from host <rhel6-64p> by user <kocevski> in cluster <slac> at Fri Sep 16 18:10:22 2022
Job was executed on host(s) <bullet0231>, in queue <medium>, as user <kocevski> in cluster <slac> at Fri Sep 16 18:15:20 2022
</u/ki/kocevski> was used as the home directory.
</u/ki/kocevski> was used as the working directory.
Started at Fri Sep 16 18:15:20 2022
Terminated at Fri Sep 16 18:26:40 2022
Results reported at Fri Sep 16 18:26:40 2022

Your job looked like:

------------------------------------------------------------
# LSBATCH: User input
/nfs/farm/g/glast/g/LCRepository/Likelihood/Scripts/LikelihoodAnalysis.py 4FGL_J1418.4+3543_daily_bin1710 214.623 35.7192 682560001 682819201 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 :                                   562.31 sec.
    Max Memory :                                 1256 MB
    Average Memory :                             299.00 MB
    Total Requested Memory :                     -
    Delta Memory :                               -
    Max Swap :                                   -
    Max Processes :                              5
    Max Threads :                                21
    Run time :                                   681 sec.
    Turnaround time :                            978 sec.

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

