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


Performing analysis on: 4FGL_J1418.4+3543_daily_bin1715
RA = 214.623, Dec = 35.7192
tmin = 683856001, tmax = 684115201
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='143494', job_status='RUN', time_executed='2022-09-16 18:17:01.624222', time_epoch_executed='1663377421.62' WHERE source_name='4FGL J1418.4+3543' and cadence='daily' and bin_id='1715'

Database successfully updated.
Done.

Creating custom output directory:
/scratch/kocevski/143494

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

Retrieving the FT1 file...

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

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

Retrieving 46 files...
Done.


Merging files...

Checksum keywords updated successfully.

Merged file saved to:
/scratch/kocevski/143494/ft1_4FGL_J1418.4+3543_daily_bin1715.fits


Retrieving the FT1 file...

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

Retrieving 46 files...
Done.


Merging files...

Merged file saved to:
/scratch/kocevski/143494/ft2_4FGL_J1418.4+3543_daily_bin1715.fits


Selecting the photons:
time -p gtselect infile=/scratch/kocevski/143494/ft1_4FGL_J1418.4+3543_daily_bin1715.fits outfile=/scratch/kocevski/143494/ft1_filteredMKT_4FGL_J1418.4+3543_daily_bin1715.fits ra=214.623 dec=35.7192 rad=12.0 tmin=683856001.0 tmax=684115201.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.71
user 2.64
sys 0.19

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

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

Number of photons that the gtmktime cut: 551

Generating the livetime cube:
time -p gtltcube evfile="/scratch/kocevski/143494/ft1_filtered_4FGL_J1418.4+3543_daily_bin1715.fits" evtable="EVENTS" scfile=/scratch/kocevski/143494/ft2_4FGL_J1418.4+3543_daily_bin1715.fits sctable="SC_DATA" outfile=/scratch/kocevski/143494/ltcube_683856001_684115201_4FGL_J1418.4+3543_daily_bin1715.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/143494/ft2_4FGL_J1418.4+3543_daily_bin1715.fits
.....................!
real 12.01
user 11.65
sys 0.32

Generating the exposure map:
time -p gtexpmap evfile=/scratch/kocevski/143494/ft1_filtered_4FGL_J1418.4+3543_daily_bin1715.fits evtable="EVENTS" scfile=/scratch/kocevski/143494/ft2_4FGL_J1418.4+3543_daily_bin1715.fits sctable="SC_DATA" expcube=/scratch/kocevski/143494/ltcube_683856001_684115201_4FGL_J1418.4+3543_daily_bin1715.fits outfile=/scratch/kocevski/143494/expmap_683856001_684115201_4FGL_J1418.4+3543_daily_bin1715.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/143494/ltcube_683856001_684115201_4FGL_J1418.4+3543_daily_bin1715.fits
.....................!
real 158.24
user 153.71
sys 4.24

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/143494/ft1_filtered_4FGL_J1418.4+3543_daily_bin1715.fits scfile=/scratch/kocevski/143494/ft2_4FGL_J1418.4+3543_daily_bin1715.fits outfile=/scratch/kocevski/143494/cmap_683856001_684115201_4FGL_J1418.4+3543_daily_bin1715.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.50
user 0.34
sys 0.15

Creating the high resolution counts map:
time -p gtbin evfile=/scratch/kocevski/143494/ft1_filtered_4FGL_J1418.4+3543_daily_bin1715.fits scfile=/scratch/kocevski/143494/ft2_4FGL_J1418.4+3543_daily_bin1715.fits outfile=/scratch/kocevski/143494/cmap_HighResolution_683856001_684115201_4FGL_J1418.4+3543_daily_bin1715.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.49
user 0.32
sys 0.16

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

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

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

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

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'Prefactor '    .22974E-03   1.0000          .0000       .10000E+07
     2 'Prefactor '    .36543E-03   1.0000          .0000       .10000E+07
     3 'norm      '    .22571E-06   1.0000          .0000       .10000E+07
     4 'Prefactor '    9.1947       1.0000          .0000       .10000E+07
     5 'norm      '    .16570       1.0000          .0000       .10000E+07
     6 'Prefactor '    7.9393       1.0000          .0000       .10000E+07
     7 'norm      '    .28638E-06   1.0000          .0000       .10000E+07
     8 'Prefactor '    5.1001       1.0000          .0000       .10000E+07
     9 'Prefactor '    .25298E-03   1.0000          .0000       .10000E+07
    10 'Prefactor '    8.8403       1.0000          .0000       .10000E+07
    11 'norm      '    .15706E-02   1.0000          .0000       .10000E+07
    12 'norm      '    3.8083       1.0000          .0000       .10000E+07
    13 'Prefactor '    23.328       1.0000          .0000       .10000E+07
    14 'norm      '    13.404       1.0000          .0000       .10000E+07
    15 'Prefactor '    2.2345       1.0000          .0000       .10000E+07
    16 'Prefactor '    8.7464       1.0000          .0000       .10000E+07
    17 'norm      '    .12917E-05   1.0000          .0000       .10000E+07
    18 'Prefactor '    .77538       1.0000          .0000       .10000E+07
    19 'Normalizat'    .75819       1.0000         .10000E-01   10.000    
    20 'Prefactor '    1.2674       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=   5960.811     FROM MIGRAD    STATUS=CONVERGED    144 CALLS     1513 TOTAL
                     EDM=   .68E-09  STRATEGY=1  ERROR MATRIX UNCERTAINTY=  1.3%

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor     .38858E-09    9.7322        .64748E-05** at limit **
   2  Prefactor     .87708E-08    5.4555       -.31995E-06** at limit **
   3  norm           .0000        1.6734       -.23867E-06** at limit **
   4  Prefactor     9.2228        5.0373       -.59590E-08    .17721E-02
   5  norm          .83267E-09    136.42        .18164E-04** at limit **
   6  Prefactor     7.9055        3.2751       -.83470E-06    .10679E-01
   7  norm          .55511E-10    1.3761       -.12882E-06** at limit **
   8  Prefactor     5.0876        9.5715        .41804E-06    .17075E-02
   9  Prefactor     .49405E-08    6.1298       -.17352E-05** at limit **
  10  Prefactor     8.8428        4.3862       -.97818E-07    .25320E-02
  11  norm          .27756E-09    9.7182       -.45451E-05** at limit **
  12  norm          3.8015        5.7729       -.14578E-06    .50202E-02
  13  Prefactor     23.376        1.2470        .18485E-06   -.11984E-01
  14  norm          13.409        8.1969       -.73261E-07   -.26121E-02
  15  Prefactor     2.2226        5.4653       -.38466E-08   -.93145E-03
  16  Prefactor     8.8211        8.0944       -.42646E-06   -.19132E-03
  17  norm           .0000        .62547        .11281E-06** at limit **
  18  Prefactor     .20817E-07    395.54       -.53706E-05** at limit **
  19  Normalizat    .75833        .19569        .59368E-05    .85543E-03
  20  Prefactor     1.2673        .22881       -.60750E-05    .69417E-03
                               ERR DEF=  .500    
Final values: 
  Prefactor  = 3.88578e-10
  Prefactor  = 8.77076e-09
  norm       = 0
  Prefactor  = 9.22276
  norm       = 8.32667e-10
  Prefactor  = 7.90546
  norm       = 5.55112e-11
  Prefactor  = 5.08764
  Prefactor  = 4.94049e-09
  Prefactor  = 8.84283
  norm       = 2.77556e-10
  norm       = 3.80149
  Prefactor  = 23.3764
  norm       = 13.4093
  Prefactor  = 2.22259
  Prefactor  = 8.82109
  norm       = 0
  Prefactor  = 2.08167e-08
  Normalizat = 0.758331
  Prefactor  = 1.26728
 **********
 **   18 **HESSE 
 **********

 FCN=   5960.811     FROM HESSE     STATUS=OK           339 CALLS     1852 TOTAL
                     EDM=   .19E-06    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  Prefactor     .38858E-09    10.111        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   2  Prefactor     .87708E-08    11.310        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   3  norm           .0000        1.5979        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   4  Prefactor     9.2228        5.0542        .33028E-03   -1.5647    
   5  norm          .83267E-09    10.936        .87756E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   6  Prefactor     7.9055        16.585        .35561E-03   -1.5652    
   7  norm          .55511E-10    1.3736        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   8  Prefactor     5.0876        9.6092        .44497E-03   -1.5663    
   9  Prefactor     .49405E-08    11.469        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  10  Prefactor     8.8428        4.3910        .33687E-03   -1.5648    
  11  norm          .27756E-09    9.7807        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  12  norm          3.8015        5.8085        .51699E-03   -1.5669    
  13  Prefactor     23.376        32.565        .20709E-03   -1.5611    
  14  norm          13.409        8.2022        .27333E-03   -1.5635    
  15  Prefactor     2.2226        5.5064        .68740E-03   -1.5678    
  16  Prefactor     8.8211        8.1295        .33869E-03   -1.5649    
  17  norm           .0000        .62346        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  18  Prefactor     .20817E-07    394.74        .54789E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  19  Normalizat    .75833        .17018        .43062E-01   -1.0163    
  20  Prefactor     1.2673        .19216        .54172E-01   -.84285    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 1.86262e-07
Minuit parameter uncertainties:
  1  0.00012742
  2  0.000630231
  3  6.3706e-06
  4  5.05419
  5  0.000188002
  6  16.5856
  7  1.50267e-05
  8  9.60927
  9  0.00047555
  10  4.391
  11  0.000106138
  12  5.80848
  13  32.5652
  14  8.20223
  15  5.50638
  16  8.12952
  17  2.19991e-06
  18  0.00573407
  19  0.170298
  20  0.192267
Done.

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

Extracting fit parameters...

4FGL J1418.4+3543
   Spectrum: LogParabola
283         norm:  5.551e-11  1.503e-05  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:  1.267e+00  1.923e-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:  7.583e-01  1.703e-01  1.000e-02  1.000e+01 ( 1.000e+00)


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

Saving results to:
/scratch/kocevski/143494/likelihoodResults_683856001_684115201_4FGL_J1418.4+3543_daily_bin1715.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) = 5960.81160752
delta logL = -0.000531360273271

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

MINUIT Return Code (Free Index): 102
logL (Free Index) = 5960.81107814
delta logL = -1.98185625777e-06

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'norm      '    .61967E-06   1.0000          .0000       .10000E+07
     2 'alpha     '    .91398       1.0000          .0000       5.0000    
     3 'Normalizat'    .75802       1.0000         .10000E-01   10.000    
     4 'Prefactor '    1.2676       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=   5960.696     FROM MIGRAD    STATUS=CONVERGED     99 CALLS      302 TOTAL
                     EDM=   .86E-09    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  norm          .22789E-01    .48919E-01    .42118E-03** at limit **
   2  alpha         5.0000        4.1106        .50000    ** at limit **
   3  Normalizat    .73353        .16182        .43060E-01    .24960E-03
   4  Prefactor     1.2862        .19302        .53824E-01   -.57841E-04
                               ERR DEF=  .500    
Final values: 
  norm       = 0.0227892
  alpha      = 5
  Normalizat = 0.733529
  Prefactor  = 1.28617
 **********
 **   18 **HESSE 
 **********

 FCN=   5960.696     FROM HESSE     STATUS=OK            33 CALLS      335 TOTAL
                     EDM=   .52E-09    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  norm          .22789E-01    .53393E-01    .24279E-05   -1.5711    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   2  alpha         5.0000        4.2150        .50000        1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   3  Normalizat    .73353        .19695        .25438E-03   -1.0258    
   4  Prefactor     1.2862        .23232        .23798E-03   -.83719    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 5.2014e-10
Minuit parameter uncertainties:
  1  0.0533934
  2  8.95457e-05
  3  0.19714
  4  0.232504
shell-init: error retrieving current directory: getcwd: cannot access parent directories: No such file or directory
rmdir: failed to remove `/scratch/kocevski/143494': 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) = 5960.69618863
delta logL = 0.114887529117

Extracting fit parameters...

4FGL J1418.4+3543
   Spectrum: LogParabola
283         norm:  2.279e-02  5.339e-02  0.000e+00  1.000e+06 ( 1.000e-12)
284        alpha:  5.000e+00  8.955e-05  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:  1.286e+00  2.325e-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:  7.335e-01  1.971e-01  1.000e-02  1.000e+01 ( 1.000e+00)


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

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

Cleaning up...

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

Updating database...

UPDATE lightcurve_data_v2 SET energy_flux_upper_limit='2.12e-05', job_status='DONE', photon_flux_upper_limit='3.72e-08', time_completed='2022-09-16 18:24:41.648780', job_id='143494', GAL2='1.29', fit_tolerance='1e-08', EG2='0.73', EG='0.76', time_epoch_completed='1663377881.65', return_code2='0', ts='-0.00', comment='SUCCESS', return_code='0', GAL='1.27', dlogl='1.15e-01', ts2='0.25', photon_index_error='0.00', photon_index='2.02' WHERE bin_id='1715' AND source_name='4FGL J1418.4+3543' AND cadence='daily';

Database successfully updated.


Analysis Complete.


Fri Sep 16 18:24:41 PDT 2022


------------------------------------------------------------
Sender: LSF System <scs@bullet0175>
Subject: Job 143494: <4FGL_J1418.4+3543_daily_bin1715> in cluster <slac> Done

Job <4FGL_J1418.4+3543_daily_bin1715> 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) <bullet0175>, in queue <medium>, as user <kocevski> in cluster <slac> at Fri Sep 16 18:15:21 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:21 2022
Terminated at Fri Sep 16 18:24:42 2022
Results reported at Fri Sep 16 18:24:42 2022

Your job looked like:

------------------------------------------------------------
# LSBATCH: User input
/nfs/farm/g/glast/g/LCRepository/Likelihood/Scripts/LikelihoodAnalysis.py 4FGL_J1418.4+3543_daily_bin1715 214.623 35.7192 683856001 684115201 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 :                                   457.00 sec.
    Max Memory :                                 1256 MB
    Average Memory :                             308.47 MB
    Total Requested Memory :                     -
    Delta Memory :                               -
    Max Swap :                                   -
    Max Processes :                              5
    Max Threads :                                21
    Run time :                                   560 sec.
    Turnaround time :                            860 sec.

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

