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


Performing analysis on: 4FGL_J1514.8+4448_daily_bin1748
RA = 228.719, Dec = 44.8105
tmin = 692409601, tmax = 692668801
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='889485', job_status='RUN', time_executed='2022-12-14 00:51:07.663016', time_epoch_executed='1671007867.66' WHERE source_name='4FGL J1514.8+4448' and cadence='daily' and bin_id='1748'

Database successfully updated.
Done.

Creating custom output directory:
/scratch/kocevski/889485

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

Retrieving the FT1 file...

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

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

Retrieving 46 files...
Done.


Merging files...

Checksum keywords updated successfully.

Merged file saved to:
/scratch/kocevski/889485/ft1_4FGL_J1514.8+4448_daily_bin1748.fits


Retrieving the FT1 file...

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

Retrieving 46 files...
Done.


Merging files...

Merged file saved to:
/scratch/kocevski/889485/ft2_4FGL_J1514.8+4448_daily_bin1748.fits


Selecting the photons:
time -p gtselect infile=/scratch/kocevski/889485/ft1_4FGL_J1514.8+4448_daily_bin1748.fits outfile=/scratch/kocevski/889485/ft1_filteredMKT_4FGL_J1514.8+4448_daily_bin1748.fits ra=228.719 dec=44.8105 rad=12.0 tmin=692409601.0 tmax=692668801.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.58
user 3.37
sys 0.19

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

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

Number of photons that the gtmktime cut: 605

Generating the livetime cube:
time -p gtltcube evfile="/scratch/kocevski/889485/ft1_filtered_4FGL_J1514.8+4448_daily_bin1748.fits" evtable="EVENTS" scfile=/scratch/kocevski/889485/ft2_4FGL_J1514.8+4448_daily_bin1748.fits sctable="SC_DATA" outfile=/scratch/kocevski/889485/ltcube_692409601_692668801_4FGL_J1514.8+4448_daily_bin1748.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/889485/ft2_4FGL_J1514.8+4448_daily_bin1748.fits
.....................!
real 12.91
user 12.50
sys 0.34

Generating the exposure map:
time -p gtexpmap evfile=/scratch/kocevski/889485/ft1_filtered_4FGL_J1514.8+4448_daily_bin1748.fits evtable="EVENTS" scfile=/scratch/kocevski/889485/ft2_4FGL_J1514.8+4448_daily_bin1748.fits sctable="SC_DATA" expcube=/scratch/kocevski/889485/ltcube_692409601_692668801_4FGL_J1514.8+4448_daily_bin1748.fits outfile=/scratch/kocevski/889485/expmap_692409601_692668801_4FGL_J1514.8+4448_daily_bin1748.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/889485/ltcube_692409601_692668801_4FGL_J1514.8+4448_daily_bin1748.fits
.....................!
real 190.02
user 185.16
sys 4.37

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/889485/ft1_filtered_4FGL_J1514.8+4448_daily_bin1748.fits scfile=/scratch/kocevski/889485/ft2_4FGL_J1514.8+4448_daily_bin1748.fits outfile=/scratch/kocevski/889485/cmap_692409601_692668801_4FGL_J1514.8+4448_daily_bin1748.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.55
user 0.40
sys 0.13

Creating the high resolution counts map:
time -p gtbin evfile=/scratch/kocevski/889485/ft1_filtered_4FGL_J1514.8+4448_daily_bin1748.fits scfile=/scratch/kocevski/889485/ft2_4FGL_J1514.8+4448_daily_bin1748.fits outfile=/scratch/kocevski/889485/cmap_HighResolution_692409601_692668801_4FGL_J1514.8+4448_daily_bin1748.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.56
user 0.38
sys 0.16

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

Creating the likelihood object...
obs = UnbinnedObs('/scratch/kocevski/889485/ft1_filtered_4FGL_J1514.8+4448_daily_bin1748.fits', '/scratch/kocevski/889485/ft2_4FGL_J1514.8+4448_daily_bin1748.fits', expMap='/scratch/kocevski/889485/expmap_692409601_692668801_4FGL_J1514.8+4448_daily_bin1748.fits', expCube='/scratch/kocevski/889485/ltcube_692409601_692668801_4FGL_J1514.8+4448_daily_bin1748.fits', irfs='P8R3_SOURCE_V2')
like = UnbinnedAnalysis(obs, '/scratch/kocevski/889485/Model_4FGL_J1514.8+4448_daily_bin1748.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/889485/ft1_filtered_4FGL_J1514.8+4448_daily_bin1748.fits
Spacecraft file(s): /scratch/kocevski/889485/ft2_4FGL_J1514.8+4448_daily_bin1748.fits
Exposure map: /scratch/kocevski/889485/expmap_692409601_692668801_4FGL_J1514.8+4448_daily_bin1748.fits
Exposure cube: /scratch/kocevski/889485/ltcube_692409601_692668801_4FGL_J1514.8+4448_daily_bin1748.fits
IRFs: P8R3_SOURCE_V2
Source model file: /scratch/kocevski/889485/Model_4FGL_J1514.8+4448_daily_bin1748.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) = 6619.4202542

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

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

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'Prefactor '    .85567E-03   1.0000          .0000       .10000E+07
     2 'Prefactor '    3.1317       1.0000          .0000       .10000E+07
     3 'Prefactor '    14.680       1.0000          .0000       .10000E+07
     4 'Prefactor '    11.735       1.0000          .0000       .10000E+07
     5 'Prefactor '    76.389       1.0000          .0000       .10000E+07
     6 'Prefactor '    76.361       1.0000          .0000       .10000E+07
     7 'norm      '    .26084E-03   1.0000          .0000       .10000E+07
     8 'Prefactor '    7.5834       1.0000          .0000       .10000E+07
     9 'norm      '    .16331E-03   1.0000          .0000       .10000E+07
    10 'Prefactor '    2.2775       1.0000          .0000       .10000E+07
    11 'norm      '    1.7039       1.0000          .0000       .10000E+07
    12 'Prefactor '    3.6616       1.0000          .0000       .10000E+07
    13 'Prefactor '    .26608E-03   1.0000          .0000       .10000E+07
    14 'Prefactor '    .27702E-02   1.0000          .0000       .10000E+07
    15 'norm      '    5.4095       1.0000          .0000       .10000E+07
    16 'norm      '    5.5843       1.0000          .0000       .10000E+07
    17 'Prefactor '    .49555E-06   1.0000          .0000       .10000E+07
    18 'Prefactor '    .10261E-02   1.0000          .0000       .10000E+07
    19 'Prefactor '    .92941E-05   1.0000          .0000       .10000E+07
    20 'Prefactor '    .30081E-03   1.0000          .0000       .10000E+07
    21 'norm      '    .80814E-04   1.0000          .0000       .10000E+07
    22 'Prefactor '    .10596       1.0000          .0000       .10000E+07
    23 'Prefactor '    .15941E-02   1.0000          .0000       .10000E+07
    24 'Prefactor '    .56621E-08   1.0000          .0000       .10000E+07
    25 'Prefactor '    .31049E-03   1.0000          .0000       .10000E+07
    26 'Normalizat'    .90374       1.0000         .10000E-01   10.000    
    27 'Prefactor '    .80170       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=   6619.419     FROM MIGRAD    STATUS=CONVERGED    173 CALLS     2495 TOTAL
                     EDM=   .13E-08  STRATEGY=1  ERROR MATRIX UNCERTAINTY=  1.4%

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor     .53519E-05    8.5480       -.22862E-06** at limit **
   2  Prefactor     3.1319        3.2922       -.86219E-07   -.20272E-02
   3  Prefactor     14.673        3.3658       -.30175E-08   -.10644E-01
   4  Prefactor     11.714        3.2655       -.11521E-07   -.10333    
   5  Prefactor     76.673        14.727        .28716E-07    .10020    
   6  Prefactor     75.957        63.855       -.13435E-06    .56844E-01
   7  norm          .55511E-10    3.7223        .96822E-07** at limit **
   8  Prefactor     7.6323        7.7190        .47817E-07    .53369E-02
   9  norm           .0000        2.5114        .12456E-07** at limit **
  10  Prefactor     2.2628        8.1921        .58222E-07    .55571E-03
  11  norm          1.7033        1.1044        .53539E-07    .73682E-02
  12  Prefactor     3.6505        5.4718       -.31755E-07   -.35762E-03
  13  Prefactor     .28311E-08    4.6488        .62573E-07** at limit **
  14  Prefactor     .55511E-09    8.6478        .14258E-06** at limit **
  15  norm          5.4100        1.8545       -.10926E-07   -.14812E-02
  16  norm          5.5857        3.3840        .61671E-08    .68716E-03
  17  Prefactor     .11102E-09    4.0588        .91400E-07** at limit **
  18  Prefactor     .57837E-06    21.552       -.16424E-06** at limit **
  19  Prefactor     .44409E-09    5.7357        .22890E-06** at limit **
  20  Prefactor     .14100E-07    45.767       -.96283E-08** at limit **
  21  norm           .0000        2.6646        .11136E-07** at limit **
  22  Prefactor     .28150E-06    1.0261        .74918E-07** at limit **
  23  Prefactor     .30017E-05    12.017       -.20216E-06** at limit **
  24  Prefactor      .0000        1.8744        .61330E-07** at limit **
  25  Prefactor     .36082E-08    4.9439        .16235E-06** at limit **
  26  Normalizat    .90356        .17688       -.45384E-05    .12411E-03
  27  Prefactor     .80208        .18980        .74576E-05    .23265E-03
                               ERR DEF=  .500    
Final values: 
  Prefactor  = 5.35194e-06
  Prefactor  = 3.13191
  Prefactor  = 14.6735
  Prefactor  = 11.7136
  Prefactor  = 76.6727
  Prefactor  = 75.9571
  norm       = 5.55112e-11
  Prefactor  = 7.63228
  norm       = 0
  Prefactor  = 2.26281
  norm       = 1.7033
  Prefactor  = 3.65045
  Prefactor  = 2.83107e-09
  Prefactor  = 5.55112e-10
  norm       = 5.40997
  norm       = 5.58567
  Prefactor  = 1.11022e-10
  Prefactor  = 5.78371e-07
  Prefactor  = 4.44089e-10
  Prefactor  = 1.40998e-08
  norm       = 0
  Prefactor  = 2.81497e-07
  Prefactor  = 3.00171e-06
  Prefactor  = 0
  Prefactor  = 3.60822e-09
  Normalizat = 0.903559
  Prefactor  = 0.80208
 **********
 **   18 **HESSE 
 **********

 FCN=   6619.419     FROM HESSE     STATUS=OK           540 CALLS     3035 TOTAL
                     EDM=   .11E-05    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  Prefactor     .53519E-05    19.477        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   2  Prefactor     3.1319        3.3298        .57262E-03   -1.5673    
   3  Prefactor     14.673        21.326        .26115E-03   -1.5631    
   4  Prefactor     11.714        16.955        .29218E-03   -1.5640    
   5  Prefactor     76.673        38.116        .11442E-03   -1.5533    
   6  Prefactor     75.957        69.056        .11444E-03   -1.5534    
   7  norm          .55511E-10    3.7064        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   8  Prefactor     7.6323        16.427        .36393E-03   -1.5653    
   9  norm           .0000        2.5177        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  10  Prefactor     2.2628        8.2235        .68013E-03   -1.5678    
  11  norm          1.7033        1.1046        .80536E-03   -1.5682    
  12  Prefactor     3.6505        5.4904        .52763E-03   -1.5670    
  13  Prefactor     .28311E-08    4.6510        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  14  Prefactor     .55511E-09    8.5077        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  15  norm          5.4100        1.8559        .43182E-03   -1.5661    
  16  norm          5.5857        3.3964        .42489E-03   -1.5661    
  17  Prefactor     .11102E-09    4.0540        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  18  Prefactor     .57837E-06    22.706        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  19  Prefactor     .44409E-09    5.7801        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  20  Prefactor     .14100E-07    45.060        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  21  norm           .0000        2.6679        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  22  Prefactor     .28150E-06    9.9429        .96467E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  23  Prefactor     .30017E-05    18.866        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  24  Prefactor      .0000        1.8759        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  25  Prefactor     .36082E-08    4.9584        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  26  Normalizat    .90356        .15522        .44949E-01   -.96335    
  27  Prefactor     .80208        .16139        .43739E-01   -.99652    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 1.06903e-06
Minuit parameter uncertainties:
  1  0.0204194
  2  3.32978
  3  21.3257
  4  16.9548
  5  38.1161
  6  69.0569
  7  3.09583e-05
  8  16.4266
  9  1.71488e-06
  10  8.22359
  11  1.10462
  12  5.49039
  13  0.00022879
  14  0.000137027
  15  1.85586
  16  3.39643
  17  4.2213e-05
  18  0.00724783
  19  9.95222e-05
  20  0.00159275
  21  9.43773e-07
  22  0.00334603
  23  0.0150506
  24  6.91153e-06
  25  0.000268308
  26  0.155294
  27  0.161486
Done.

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

Extracting fit parameters...

4FGL J1514.8+4448
   Spectrum: LogParabola
286         norm:  5.586e+00  3.396e+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.021e-01  1.615e-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:  9.036e-01  1.553e-01  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Fixed Index): 5.61
Ra Dec: 228.719 44.810
Photon Index (Fixed Index): 2.21 +/- 0.00
Photon Flux (Fixed Index): 3.71e-08 +/- 2.25e-08
Energy Flux (Fixed Index): 1.56e-05 +/- 9.49e-06

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) = 6618.4602433
delta logL = 0.959211860993

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

MINUIT Return Code (Free Index): 0
logL (Free Index) = 6618.28809415
delta logL = 1.13136100735

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'norm      '    2.6653       1.0000          .0000       .10000E+07
     2 'alpha     '    .94368       1.0000          .0000       5.0000    
     3 'Normalizat'    .92531       1.0000         .10000E-01   10.000    
     4 'Prefactor '    .80177       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=   6618.288     FROM MIGRAD    STATUS=CONVERGED     52 CALLS      206 TOTAL
                     EDM=   .10E-09    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  norm          2.6638        2.1963        .62404E-03   -.18035E-02
   2  alpha         .94335        .45176        .36813       -.37667E-04
   3  Normalizat    .92531        .14716        .45224E-01    .58692E-05
   4  Prefactor     .80170        .15949        .43740E-01    .11908E-04
                               ERR DEF=  .500    
Final values: 
  norm       = 2.66383
  alpha      = 0.943353
  Normalizat = 0.925308
  Prefactor  = 0.8017
 **********
 **   18 **HESSE 
 **********

 FCN=   6618.288     FROM HESSE     STATUS=OK            31 CALLS      237 TOTAL
                     EDM=   .28E-13    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  norm          2.6638        3.8551        .93553E-05   -1.5675    
   2  alpha         .94335        .77875        .16219E-02   -.67214    
   3  Normalizat    .92531        .17491        .22005E-03   -.95576    
   4  Prefactor     .80170        .18994        .25296E-03   -.99666    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 2.78578e-14
Minuit parameter uncertainties:
  1  3.85512
  2  0.800935
  3  0.175014
  4  0.190095
shell-init: error retrieving current directory: getcwd: cannot access parent directories: No such file or directory
rmdir: failed to remove `/scratch/kocevski/889485': 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) = 6618.28809366
delta logL = 1.13136150097

Extracting fit parameters...

4FGL J1514.8+4448
   Spectrum: LogParabola
286         norm:  2.664e+00  3.855e+00  0.000e+00  1.000e+06 ( 1.000e-12)
287        alpha:  9.434e-01  8.009e-01  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.017e-01  1.901e-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:  9.253e-01  1.750e-01  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Free Index): 7.86
Ra Dec: 228.719 44.810
Photon Index (Free Index): 0.94 +/- 0.80
Photon Flux (Free Index): 9.09e-09 +/- 1.04e-08
Energy Flux (Free Index): 3.76e-05 +/- 4.20e-05

Creating a high resolution counts map...
INFO: Auto-setting vmin to -2.355e-04 [aplpy.core]
INFO: Auto-setting vmax to  2.614e-03 [aplpy.core]
Saving /scratch/kocevski/889485/cmap_HighResolution_692409601_692668801_4FGL_J1514.8+4448_daily_bin1748.png

Cleaning up...

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

Updating database...

UPDATE lightcurve_data_v2 SET comment='SUCCESS', photon_flux='3.71e-08', energy_flux2='3.76e-05', photon_flux_error='2.25e-08', dlogl='1.13e+00', energy_flux='1.56e-05', photon_flux2='9.09e-09', job_status='DONE', time_completed='2022-12-14 01:02:15.701162', photon_index_error2='0.80', photon_index2='0.94', ts='5.61', fit_tolerance='1e-08', GAL='0.80', photon_index_error='0.00', energy_flux_error2='4.20e-05', EG='0.90', time_epoch_completed='1671008535.7', return_code='0', job_id='889485', GAL2='0.80', EG2='0.93', return_code2='0', energy_flux_error='9.49e-06', photon_flux_error2='1.04e-08', ts2='7.86', photon_index='2.21' WHERE bin_id='1748' AND source_name='4FGL J1514.8+4448' AND cadence='daily';

Database successfully updated.


Analysis Complete.


Wed Dec 14 01:02:15 PST 2022


------------------------------------------------------------
Sender: LSF System <lsf@bullet0070>
Subject: Job 889485: <4FGL_J1514.8+4448_daily_bin1748> in cluster <slac> Done

Job <4FGL_J1514.8+4448_daily_bin1748> was submitted from host <rhel6-64q> by user <kocevski> in cluster <slac> at Wed Dec 14 00:50:24 2022
Job was executed on host(s) <bullet0070>, in queue <medium>, as user <kocevski> in cluster <slac> at Wed Dec 14 00:50:36 2022
</u/ki/kocevski> was used as the home directory.
</u/ki/kocevski> was used as the working directory.
Started at Wed Dec 14 00:50:36 2022
Terminated at Wed Dec 14 01:02:16 2022
Results reported at Wed Dec 14 01:02:16 2022

Your job looked like:

------------------------------------------------------------
# LSBATCH: User input
/nfs/farm/g/glast/g/LCRepository/Likelihood/Scripts/LikelihoodAnalysis.py 4FGL_J1514.8+4448_daily_bin1748 228.719 44.8105 692409601 692668801 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 :                                   670.00 sec.
    Max Memory :                                 1256 MB
    Average Memory :                             342.91 MB
    Total Requested Memory :                     -
    Delta Memory :                               -
    Max Swap :                                   -
    Max Processes :                              5
    Max Threads :                                21
    Run time :                                   699 sec.
    Turnaround time :                            712 sec.

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

