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


Performing analysis on: 4FGL_J1514.8+4448_daily_bin1773
RA = 228.719, Dec = 44.8105
tmin = 698889601, tmax = 699148801
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='794193', job_status='RUN', time_executed='2023-02-27 09:56:17.199418', time_epoch_executed='1677520577.2' WHERE source_name='4FGL J1514.8+4448' and cadence='daily' and bin_id='1773'

Database successfully updated.
Done.

Creating custom output directory:
/scratch/kocevski/794193

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

Retrieving the FT1 file...

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

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

Retrieving 46 files...
Done.


Merging files...

Checksum keywords updated successfully.

Merged file saved to:
/scratch/kocevski/794193/ft1_4FGL_J1514.8+4448_daily_bin1773.fits


Retrieving the FT1 file...

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

Retrieving 46 files...
Done.


Merging files...

Merged file saved to:
/scratch/kocevski/794193/ft2_4FGL_J1514.8+4448_daily_bin1773.fits


Selecting the photons:
time -p gtselect infile=/scratch/kocevski/794193/ft1_4FGL_J1514.8+4448_daily_bin1773.fits outfile=/scratch/kocevski/794193/ft1_filteredMKT_4FGL_J1514.8+4448_daily_bin1773.fits ra=228.719 dec=44.8105 rad=12.0 tmin=698889601.0 tmax=699148801.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 2.94
user 2.72
sys 0.19

Adding sun position to ft2 file:
/nfs/farm/g/glast/g/LCRepository/Repository/bin/sunpos /scratch/kocevski/794193/ft2_4FGL_J1514.8+4448_daily_bin1773.fits

Selecting the good time intervals:
time -p gtmktime scfile=/scratch/kocevski/794193/ft2_4FGL_J1514.8+4448_daily_bin1773.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/794193/ft1_filteredMKT_4FGL_J1514.8+4448_daily_bin1773.fits evtable="EVENTS" outfile="/scratch/kocevski/794193/ft1_filtered_4FGL_J1514.8+4448_daily_bin1773.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.63
user 0.32
sys 0.16

Number of photons that the gtmktime cut: 723

Generating the livetime cube:
time -p gtltcube evfile="/scratch/kocevski/794193/ft1_filtered_4FGL_J1514.8+4448_daily_bin1773.fits" evtable="EVENTS" scfile=/scratch/kocevski/794193/ft2_4FGL_J1514.8+4448_daily_bin1773.fits sctable="SC_DATA" outfile=/scratch/kocevski/794193/ltcube_698889601_699148801_4FGL_J1514.8+4448_daily_bin1773.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/794193/ft2_4FGL_J1514.8+4448_daily_bin1773.fits
.....................!
real 14.24
user 13.86
sys 0.33

Generating the exposure map:
time -p gtexpmap evfile=/scratch/kocevski/794193/ft1_filtered_4FGL_J1514.8+4448_daily_bin1773.fits evtable="EVENTS" scfile=/scratch/kocevski/794193/ft2_4FGL_J1514.8+4448_daily_bin1773.fits sctable="SC_DATA" expcube=/scratch/kocevski/794193/ltcube_698889601_699148801_4FGL_J1514.8+4448_daily_bin1773.fits outfile=/scratch/kocevski/794193/expmap_698889601_699148801_4FGL_J1514.8+4448_daily_bin1773.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/794193/ltcube_698889601_699148801_4FGL_J1514.8+4448_daily_bin1773.fits
.....................!
real 191.82
user 185.55
sys 5.60

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 198 point sources and 0 extended sources

Setting source of interest to:
4FGL J1514.8+4448 @ 228.719 44.8105

Creating the counts map:
time -p gtbin evfile=/scratch/kocevski/794193/ft1_filtered_4FGL_J1514.8+4448_daily_bin1773.fits scfile=/scratch/kocevski/794193/ft2_4FGL_J1514.8+4448_daily_bin1773.fits outfile=/scratch/kocevski/794193/cmap_698889601_699148801_4FGL_J1514.8+4448_daily_bin1773.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=228.719 yref=44.8105 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.16

Creating the high resolution counts map:
time -p gtbin evfile=/scratch/kocevski/794193/ft1_filtered_4FGL_J1514.8+4448_daily_bin1773.fits scfile=/scratch/kocevski/794193/ft2_4FGL_J1514.8+4448_daily_bin1773.fits outfile=/scratch/kocevski/794193/cmap_HighResolution_698889601_699148801_4FGL_J1514.8+4448_daily_bin1773.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=228.719 yref=44.8105 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

Computing the diffuse response:
time -p gtdiffrsp evfile=/scratch/kocevski/794193/ft1_filtered_4FGL_J1514.8+4448_daily_bin1773.fits evtable="EVENTS" scfile=/scratch/kocevski/794193/ft2_4FGL_J1514.8+4448_daily_bin1773.fits sctable="SC_DATA" srcmdl=/scratch/kocevski/794193/Model_4FGL_J1514.8+4448_daily_bin1773.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/794193/ft1_filtered_4FGL_J1514.8+4448_daily_bin1773.fits.....................!
real 57.94
user 56.56
sys 1.22

Creating the likelihood object...
obs = UnbinnedObs('/scratch/kocevski/794193/ft1_filtered_4FGL_J1514.8+4448_daily_bin1773.fits', '/scratch/kocevski/794193/ft2_4FGL_J1514.8+4448_daily_bin1773.fits', expMap='/scratch/kocevski/794193/expmap_698889601_699148801_4FGL_J1514.8+4448_daily_bin1773.fits', expCube='/scratch/kocevski/794193/ltcube_698889601_699148801_4FGL_J1514.8+4448_daily_bin1773.fits', irfs='P8R3_SOURCE_V2')
like = UnbinnedAnalysis(obs, '/scratch/kocevski/794193/Model_4FGL_J1514.8+4448_daily_bin1773.xml', optimizer='MINUIT')

Using source of interest name: '4FGL J1514.8+4448'

4FGL J1514.8+4448
   Spectrum: LogParabola
286         norm:  1.475e+00  0.000e+00  0.000e+00  1.000e+06 ( 1.000e-12)
287        alpha:  2.210e+00  0.000e+00  0.000e+00  5.000e+00 ( 1.000e+00) fixed
288         beta:  1.666e-01  0.000e+00 -5.000e+00  1.000e+01 ( 1.000e+00) fixed
289           Eb:  8.626e+02  0.000e+00  3.000e+01  5.000e+05 ( 1.000e+00) fixed


Likelihood Fit Parameters:
Event file(s): /scratch/kocevski/794193/ft1_filtered_4FGL_J1514.8+4448_daily_bin1773.fits
Spacecraft file(s): /scratch/kocevski/794193/ft2_4FGL_J1514.8+4448_daily_bin1773.fits
Exposure map: /scratch/kocevski/794193/expmap_698889601_699148801_4FGL_J1514.8+4448_daily_bin1773.fits
Exposure cube: /scratch/kocevski/794193/ltcube_698889601_699148801_4FGL_J1514.8+4448_daily_bin1773.fits
IRFs: P8R3_SOURCE_V2
Source model file: /scratch/kocevski/794193/Model_4FGL_J1514.8+4448_daily_bin1773.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) = 7923.09245351

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

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

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'Prefactor '    .62701E-04   1.0000          .0000       .10000E+07
     2 'Prefactor '    1.9738       1.0000          .0000       .10000E+07
     3 'Prefactor '    5.9718       1.0000          .0000       .10000E+07
     4 'Prefactor '    19.059       1.0000          .0000       .10000E+07
     5 'Prefactor '    .53860E-05   1.0000          .0000       .10000E+07
     6 'Prefactor '    .59262E-04   1.0000          .0000       .10000E+07
     7 'norm      '    .27227E-05   1.0000          .0000       .10000E+07
     8 'Prefactor '    15.848       1.0000          .0000       .10000E+07
     9 'norm      '    4.0645       1.0000          .0000       .10000E+07
    10 'Prefactor '    .93935       1.0000          .0000       .10000E+07
    11 'norm      '    6.0232       1.0000          .0000       .10000E+07
    12 'Prefactor '    .82814E-02   1.0000          .0000       .10000E+07
    13 'Prefactor '    .27674E-05   1.0000          .0000       .10000E+07
    14 'Prefactor '    5.0819       1.0000          .0000       .10000E+07
    15 'norm      '    3.2936       1.0000          .0000       .10000E+07
    16 'norm      '    2.5375       1.0000          .0000       .10000E+07
    17 'Prefactor '    .63554E-03   1.0000          .0000       .10000E+07
    18 'Prefactor '    .41196       1.0000          .0000       .10000E+07
    19 'Prefactor '    .26081E-01   1.0000          .0000       .10000E+07
    20 'Prefactor '    .17339E-03   1.0000          .0000       .10000E+07
    21 'norm      '    .23019E-05   1.0000          .0000       .10000E+07
    22 'Prefactor '    3.0998       1.0000          .0000       .10000E+07
    23 'Prefactor '    .21539E-05   1.0000          .0000       .10000E+07
    24 'Prefactor '    .45751       1.0000          .0000       .10000E+07
    25 'Prefactor '    20.423       1.0000          .0000       .10000E+07
    26 'Normalizat'    1.0294       1.0000         .10000E-01   10.000    
    27 'Prefactor '    .88117       1.0000          .0000       10.000    
 **********
 **   15 **SET ERR    .5000    
 **********
 **********
 **   16 **SET GRAD    1.000    
 **********
 **********
 **   17 **MINIMIZE    .6360E+05   .2000E-04
 **********

 MIGRAD MINIMIZATION HAS CONVERGED.

 FCN=   7923.082     FROM MIGRAD    STATUS=CONVERGED    171 CALLS     2380 TOTAL
                     EDM=   .64E-09  STRATEGY=1  ERROR MATRIX UNCERTAINTY=  2.3%

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor     .41367E-05    82.071        .10892E-05** at limit **
   2  Prefactor     1.9732        3.0154       -.51406E-06   -.62672E-03
   3  Prefactor     5.9807        3.7691        .24783E-06    .11457E-01
   4  Prefactor     19.043        15.886       -.53267E-06   -.42401E-01
   5  Prefactor     .21438E-06    13.971       -.16266E-06** at limit **
   6  Prefactor     .30757E-05    27.155        .31843E-06** at limit **
   7  norm           .0000        3.0122       -.56358E-07** at limit **
   8  Prefactor     15.873        12.155       -.47351E-06   -.88835E-01
   9  norm          3.9719        4.9863       -.17463E-06   -.28926E-04
  10  Prefactor     .98991        1.2913        .17502E-07    .26039E-02
  11  norm          6.0211        1.8994       -.60444E-07    .40497E-03
  12  Prefactor     .26090E-08    8.8373        .13873E-06** at limit **
  13  Prefactor      .0000        5.5059        .48046E-07** at limit **
  14  Prefactor     5.1354        4.6891       -.27633E-06    .34391E-03
  15  norm          3.2995        1.6260       -.24397E-06   -.82947E-03
  16  norm          2.5370        2.3364       -.11745E-06    .27973E-03
  17  Prefactor      .0000        5.0631       -.22871E-06** at limit **
  18  Prefactor     .39912E-04    163.03        .59543E-05** at limit **
  19  Prefactor      .0000        23.393       -.70475E-06** at limit **
  20  Prefactor     .10794E-04    19.938        .17857E-05** at limit **
  21  norm           .0000        2.1986       -.30185E-06** at limit **
  22  Prefactor     3.0932        15.558       -.86658E-08    .26084E-01
  23  Prefactor     .31197E-06    15.578       -.10659E-06** at limit **
  24  Prefactor     .33306        12.542        .30066E-06   -.20129E-02
  25  Prefactor     20.999        7.1738        .76286E-07    .13693E-01
  26  Normalizat    1.0290        .17367        .62736E-06    .81466E-05
  27  Prefactor     .88142        .18333        .79415E-05    .17677E-04
                               ERR DEF=  .500    
Final values: 
  Prefactor  = 4.13675e-06
  Prefactor  = 1.97323
  Prefactor  = 5.98075
  Prefactor  = 19.0434
  Prefactor  = 2.14384e-07
  Prefactor  = 3.07571e-06
  norm       = 0
  Prefactor  = 15.8729
  norm       = 3.97186
  Prefactor  = 0.98991
  norm       = 6.02109
  Prefactor  = 2.60902e-09
  Prefactor  = 0
  Prefactor  = 5.13538
  norm       = 3.29945
  norm       = 2.53698
  Prefactor  = 0
  Prefactor  = 3.99121e-05
  Prefactor  = 0
  Prefactor  = 1.07941e-05
  norm       = 0
  Prefactor  = 3.09323
  Prefactor  = 3.11973e-07
  Prefactor  = 0.333062
  Prefactor  = 20.9989
  Normalizat = 1.02898
  Prefactor  = 0.881417
 **********
 **   18 **HESSE 
 **********

 FCN=   7923.082     FROM HESSE     STATUS=OK           560 CALLS     2940 TOTAL
                     EDM=   .56E-06    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  Prefactor     .41367E-05    93.399        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   2  Prefactor     1.9732        3.0607        .73766E-03   -1.5680    
   3  Prefactor     5.9807        20.060        .41066E-03   -1.5659    
   4  Prefactor     19.043        23.357        .22914E-03   -1.5621    
   5  Prefactor     .21438E-06    33.298        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   6  Prefactor     .30757E-05    35.447        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   7  norm           .0000        3.0102        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   8  Prefactor     15.873        16.036        .25132E-03   -1.5628    
   9  norm          3.9719        5.0021        .49987E-03   -1.5668    
  10  Prefactor     .98991        32.236        .43077E-03   -1.5688    
  11  norm          6.0211        1.9121        .40889E-03   -1.5659    
  12  Prefactor     .26090E-08    8.8187        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  13  Prefactor      .0000        5.4990        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  14  Prefactor     5.1354        4.7075        .44578E-03   -1.5663    
  15  norm          3.2995        1.6466        .55764E-03   -1.5672    
  16  norm          2.5370        2.4032        .64087E-03   -1.5676    
  17  Prefactor      .0000        5.0919        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  18  Prefactor     .39912E-04    289.76        .88114E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  19  Prefactor      .0000        11.185        .90076E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  20  Prefactor     .10794E-04    10.391        .63306E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  21  norm           .0000        2.1999        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  22  Prefactor     3.0932        24.438        .57573E-03   -1.5673    
  23  Prefactor     .31197E-06    32.782        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  24  Prefactor     .33306        6.8877        .56982E-02   -1.5696    
  25  Prefactor     20.999        26.550        .22135E-03   -1.5616    
  26  Normalizat    1.0290        .15374        .42222E-01   -.92066    
  27  Prefactor     .88142        .15720        .44765E-01   -.96793    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 5.5509e-07
Minuit parameter uncertainties:
  1  0.039313
  2  3.0607
  3  20.0601
  4  23.3574
  5  0.00534366
  6  0.0208833
  7  2.25469e-06
  8  16.0356
  9  5.00207
  10  11.298
  11  1.91209
  12  0.000303977
  13  1.73293e-05
  14  4.7075
  15  1.64661
  16  2.40319
  17  1.11504e-05
  18  0.215089
  19  1.0191e-05
  20  0.021181
  21  1.02935e-06
  22  17.389
  23  0.006396
  24  3.02921
  25  26.5501
  26  0.153807
  27  0.157283
Done.

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

Extracting fit parameters...

4FGL J1514.8+4448
   Spectrum: LogParabola
286         norm:  2.537e+00  2.403e+00  0.000e+00  1.000e+06 ( 1.000e-12)
287        alpha:  2.210e+00  0.000e+00  0.000e+00  5.000e+00 ( 1.000e+00) fixed
288         beta:  1.666e-01  0.000e+00 -5.000e+00  1.000e+01 ( 1.000e+00) fixed
289           Eb:  8.626e+02  0.000e+00  3.000e+01  5.000e+05 ( 1.000e+00) fixed

GAL_V02
   Spectrum: PowerLaw
633    Prefactor:  8.814e-01  1.573e-01  0.000e+00  1.000e+01 ( 1.000e+00)
634        Index:  0.000e+00  0.000e+00 -1.000e+00  1.000e+00 ( 1.000e+00) fixed
635        Scale:  1.000e+02  0.000e+00  5.000e+01  2.000e+02 ( 1.000e+00) fixed

EG_v02
   Spectrum: FileFunction
632   Normalization:  1.029e+00  1.538e-01  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Fixed Index): 2.29
Ra Dec: 228.719 44.810
Photon Index (Fixed Index): 2.21 +/- 0.00
Photon Flux (Fixed Index): 1.68e-08 +/- 1.59e-08
Energy Flux (Fixed Index): 7.09e-06 +/- 6.72e-06

TS (Fixed Index): 2.29
Ra Dec: 228.719 44.810
Photon Flux Upper Limit: 5.61e-08 ph cm-2 s-1
Energy Flux Upper Limit: 2.36e-05 MeV cm-2 s-1

Saving results to:
/scratch/kocevski/794193/likelihoodResults_698889601_699148801_4FGL_J1514.8+4448_daily_bin1773.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) = 7922.93298433
delta logL = 0.149471254948

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

MINUIT Return Code (Free Index): 0
logL (Free Index) = 7922.92671614
delta logL = 0.155739438633

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'norm      '    2.0037       1.0000          .0000       .10000E+07
     2 'alpha     '    2.8502       1.0000          .0000       5.0000    
     3 'Normalizat'    1.0092       1.0000         .10000E-01   10.000    
     4 'Prefactor '    .89289       1.0000          .0000       10.000    
 **********
 **   15 **SET ERR    .5000    
 **********
 **********
 **   16 **SET GRAD    1.000    
 **********
 **********
 **   17 **MINIMIZE    .6360E+05   .2000E-04
 **********

 MIGRAD MINIMIZATION HAS CONVERGED.

 MIGRAD WILL VERIFY CONVERGENCE AND ERROR MATRIX.

 FCN=   7922.927     FROM MIGRAD    STATUS=CONVERGED     52 CALLS      230 TOTAL
                     EDM=   .32E-08    STRATEGY= 1      ERR MATRIX NOT POS-DEF

  EXT PARAMETER                APPROXIMATE        STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  norm          2.0053        30.713        .73127E-03    .52495E-02
   2  alpha         2.8470        3.8258        .41674        .54683E-04
   3  Normalizat    1.0097        .50012E-01    .46282E-01    .39409E-04
   4  Prefactor     .89249        .44165E-01    .44914E-01    .40788E-04
                               ERR DEF=  .500    
Final values: 
  norm       = 2.00527
  alpha      = 2.84697
  Normalizat = 1.00972
  Prefactor  = 0.892489
 **********
 **   18 **HESSE 
 **********

 FCN=   7922.927     FROM HESSE     STATUS=OK            33 CALLS      263 TOTAL
                     EDM=   .22E-10    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  norm          2.0053        2.6658        .97991E-05   -1.5680    
   2  alpha         2.8470        1.2426        .18576E-01    .13924    
   3  Normalizat    1.0097        .17577        .22973E-03   -.92706    
   4  Prefactor     .89249        .18397        .25955E-03   -.96404    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 2.23622e-11
Minuit parameter uncertainties:
  1  2.66583
  2  1.30176
  3  0.175873
  4  0.1841
shell-init: error retrieving current directory: getcwd: cannot access parent directories: No such file or directory
rmdir: failed to remove `/scratch/kocevski/794193': 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) = 7922.92670672
delta logL = 0.15574885938

Extracting fit parameters...

4FGL J1514.8+4448
   Spectrum: LogParabola
286         norm:  2.005e+00  2.666e+00  0.000e+00  1.000e+06 ( 1.000e-12)
287        alpha:  2.847e+00  1.302e+00  0.000e+00  5.000e+00 ( 1.000e+00)
288         beta:  1.666e-01  0.000e+00 -5.000e+00  1.000e+01 ( 1.000e+00) fixed
289           Eb:  8.626e+02  0.000e+00  3.000e+01  5.000e+05 ( 1.000e+00) fixed

GAL_V02
   Spectrum: PowerLaw
633    Prefactor:  8.925e-01  1.841e-01  0.000e+00  1.000e+01 ( 1.000e+00)
634        Index:  0.000e+00  0.000e+00 -1.000e+00  1.000e+00 ( 1.000e+00) fixed
635        Scale:  1.000e+02  0.000e+00  5.000e+01  2.000e+02 ( 1.000e+00) fixed

EG_v02
   Spectrum: FileFunction
632   Normalization:  1.010e+00  1.759e-01  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Free Index): 2.60
Ra Dec: 228.719 44.810
Photon Index (Free Index): 2.85 +/- 1.30
Photon Flux (Free Index): 3.17e-08 +/- 3.83e-08
Energy Flux (Free Index): 7.83e-06 +/- 6.40e-06

Creating a high resolution counts map...
INFO: Auto-setting vmin to -1.000e-01 [aplpy.core]
INFO: Auto-setting vmax to  1.110e+00 [aplpy.core]
Saving /scratch/kocevski/794193/cmap_HighResolution_698889601_699148801_4FGL_J1514.8+4448_daily_bin1773.png

Cleaning up...

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

Updating database...

UPDATE lightcurve_data_v2 SET energy_flux_upper_limit='2.36e-05', comment='SUCCESS', photon_flux='1.68e-08', energy_flux2='7.83e-06', photon_flux_error='1.59e-08', dlogl='1.56e-01', energy_flux='7.09e-06', photon_flux2='3.17e-08', job_status='DONE', time_completed='2023-02-27 10:09:23.324405', photon_index_error2='1.30', photon_index2='2.85', ts='2.29', fit_tolerance='1e-08', GAL='0.88', photon_index_error='0.00', photon_flux_upper_limit='5.61e-08', energy_flux_error2='6.40e-06', EG='1.03', time_epoch_completed='1677521363.32', return_code='0', job_id='794193', GAL2='0.89', EG2='1.01', return_code2='0', energy_flux_error='6.72e-06', photon_flux_error2='3.83e-08', ts2='2.60', photon_index='2.21' WHERE bin_id='1773' AND source_name='4FGL J1514.8+4448' AND cadence='daily';

Database successfully updated.


Analysis Complete.


Mon Feb 27 10:09:23 PST 2023


------------------------------------------------------------
Sender: LSF System <lsf@bullet0057>
Subject: Job 794193: <4FGL_J1514.8+4448_daily_bin1773> in cluster <slac> Done

Job <4FGL_J1514.8+4448_daily_bin1773> was submitted from host <rhel6-64e> by user <kocevski> in cluster <slac> at Mon Feb 27 09:55:19 2023
Job was executed on host(s) <bullet0057>, in queue <medium>, as user <kocevski> in cluster <slac> at Mon Feb 27 09:55:20 2023
</u/ki/kocevski> was used as the home directory.
</u/ki/kocevski> was used as the working directory.
Started at Mon Feb 27 09:55:20 2023
Terminated at Mon Feb 27 10:09:34 2023
Results reported at Mon Feb 27 10:09:34 2023

Your job looked like:

------------------------------------------------------------
# LSBATCH: User input
/nfs/farm/g/glast/g/LCRepository/Likelihood/Scripts/LikelihoodAnalysis.py 4FGL_J1514.8+4448_daily_bin1773 228.719 44.8105 698889601 699148801 irfs=P8R3_SOURCE_V2 zmax=90 ROI=12 association=4FGL_J1514.8+4448 fixedModel=True performFreeIndexFit=True freeVariableSources=True nuke=True repositoryJob=True verbose=False
------------------------------------------------------------

Successfully completed.

Resource usage summary:

    CPU time :                                   787.28 sec.
    Max Memory :                                 1257 MB
    Average Memory :                             321.72 MB
    Total Requested Memory :                     -
    Delta Memory :                               -
    Max Swap :                                   -
    Max Processes :                              5
    Max Threads :                                21
    Run time :                                   853 sec.
    Turnaround time :                            876 sec.

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

