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


Performing analysis on: 4FGL_J1514.8+4448_daily_bin1779
RA = 228.719, Dec = 44.8105
tmin = 700444801, tmax = 700704001
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='30586', job_status='RUN', time_executed='2023-03-17 01:55:46.742607', time_epoch_executed='1679043346.74' WHERE source_name='4FGL J1514.8+4448' and cadence='daily' and bin_id='1779'

Database successfully updated.
Done.

Creating custom output directory:
/scratch/kocevski/30586

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

Retrieving the FT1 file...

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

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

Retrieving 46 files...
Done.


Merging files...

Checksum keywords updated successfully.

Merged file saved to:
/scratch/kocevski/30586/ft1_4FGL_J1514.8+4448_daily_bin1779.fits


Retrieving the FT1 file...

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

Retrieving 46 files...
Done.


Merging files...

Merged file saved to:
/scratch/kocevski/30586/ft2_4FGL_J1514.8+4448_daily_bin1779.fits


Selecting the photons:
time -p gtselect infile=/scratch/kocevski/30586/ft1_4FGL_J1514.8+4448_daily_bin1779.fits outfile=/scratch/kocevski/30586/ft1_filteredMKT_4FGL_J1514.8+4448_daily_bin1779.fits ra=228.719 dec=44.8105 rad=12.0 tmin=700444801.0 tmax=700704001.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 5.28
user 5.06
sys 0.19

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

Selecting the good time intervals:
time -p gtmktime scfile=/scratch/kocevski/30586/ft2_4FGL_J1514.8+4448_daily_bin1779.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/30586/ft1_filteredMKT_4FGL_J1514.8+4448_daily_bin1779.fits evtable="EVENTS" outfile="/scratch/kocevski/30586/ft1_filtered_4FGL_J1514.8+4448_daily_bin1779.fits" apply_filter=yes overwrite=yes header_obstimes=yes tstart=0.0 tstop=0.0 gtifile="default" chatter=3 clobber=yes debug=no gui=no mode="ql"

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

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

Number of photons that the gtmktime cut: 517

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

Generating the exposure map:
time -p gtexpmap evfile=/scratch/kocevski/30586/ft1_filtered_4FGL_J1514.8+4448_daily_bin1779.fits evtable="EVENTS" scfile=/scratch/kocevski/30586/ft2_4FGL_J1514.8+4448_daily_bin1779.fits sctable="SC_DATA" expcube=/scratch/kocevski/30586/ltcube_700444801_700704001_4FGL_J1514.8+4448_daily_bin1779.fits outfile=/scratch/kocevski/30586/expmap_700444801_700704001_4FGL_J1514.8+4448_daily_bin1779.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/30586/ltcube_700444801_700704001_4FGL_J1514.8+4448_daily_bin1779.fits
.....................!
real 192.33
user 186.83
sys 5.10

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/30586/ft1_filtered_4FGL_J1514.8+4448_daily_bin1779.fits scfile=/scratch/kocevski/30586/ft2_4FGL_J1514.8+4448_daily_bin1779.fits outfile=/scratch/kocevski/30586/cmap_700444801_700704001_4FGL_J1514.8+4448_daily_bin1779.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.15

Creating the high resolution counts map:
time -p gtbin evfile=/scratch/kocevski/30586/ft1_filtered_4FGL_J1514.8+4448_daily_bin1779.fits scfile=/scratch/kocevski/30586/ft2_4FGL_J1514.8+4448_daily_bin1779.fits outfile=/scratch/kocevski/30586/cmap_HighResolution_700444801_700704001_4FGL_J1514.8+4448_daily_bin1779.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.57
user 0.41
sys 0.15

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

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

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

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

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'Prefactor '    .11986E-03   1.0000          .0000       .10000E+07
     2 'Prefactor '    2.9512       1.0000          .0000       .10000E+07
     3 'Prefactor '    23.696       1.0000          .0000       .10000E+07
     4 'Prefactor '    10.812       1.0000          .0000       .10000E+07
     5 'Prefactor '    .95684E-03   1.0000          .0000       .10000E+07
     6 'Prefactor '    .10788E-01   1.0000          .0000       .10000E+07
     7 'norm      '    10.319       1.0000          .0000       .10000E+07
     8 'Prefactor '    12.186       1.0000          .0000       .10000E+07
     9 'norm      '    .96217E-06   1.0000          .0000       .10000E+07
    10 'Prefactor '    29.364       1.0000          .0000       .10000E+07
    11 'norm      '    3.1121       1.0000          .0000       .10000E+07
    12 'Prefactor '    3.7707       1.0000          .0000       .10000E+07
    13 'Prefactor '    .73518E-05   1.0000          .0000       .10000E+07
    14 'Prefactor '    1.9778       1.0000          .0000       .10000E+07
    15 'norm      '    2.1942       1.0000          .0000       .10000E+07
    16 'norm      '    5.3944       1.0000          .0000       .10000E+07
    17 'Prefactor '    7.4070       1.0000          .0000       .10000E+07
    18 'Prefactor '    .89625E-03   1.0000          .0000       .10000E+07
    19 'Prefactor '    .62784E-04   1.0000          .0000       .10000E+07
    20 'Prefactor '    .21565E-02   1.0000          .0000       .10000E+07
    21 'norm      '    .62997E-03   1.0000          .0000       .10000E+07
    22 'Prefactor '    .32694E-03   1.0000          .0000       .10000E+07
    23 'Prefactor '    .61059E-02   1.0000          .0000       .10000E+07
    24 'Prefactor '    3.9264       1.0000          .0000       .10000E+07
    25 'Prefactor '    .67583E-03   1.0000          .0000       .10000E+07
    26 'Normalizat'    1.1141       1.0000         .10000E-01   10.000    
    27 'Prefactor '    .70176       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=   5870.490     FROM MIGRAD    STATUS=CONVERGED    176 CALLS     2358 TOTAL
                     EDM=   .49E-09  STRATEGY=1  ERROR MATRIX UNCERTAINTY=  2.6%

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor     .32575E-05    37.284       -.17411E-05** at limit **
   2  Prefactor     2.9140        5.4617       -.53760E-06    .13018E-03
   3  Prefactor     24.364        10.129        .86075E-06   -.49767E-01
   4  Prefactor     11.041        5.0991        .72656E-06   -.14737E-01
   5  Prefactor     .22077E-06    6.5724        .17113E-06** at limit **
   6  Prefactor     .27772E-06    15.619        .29292E-05** at limit **
   7  norm          10.289        7.9731        .62735E-07    .61784E-03
   8  Prefactor     12.158        1.0913        .36020E-08    .32172E-02
   9  norm           .0000        3.0184        .71307E-06** at limit **
  10  Prefactor     29.529        3.5554        .32310E-06   -.75650E-02
  11  norm          3.1137        1.7931       -.75226E-07   -.26821E-02
  12  Prefactor     3.7673        8.6383        .96389E-07   -.88175E-03
  13  Prefactor      .0000        3.0639       -.44279E-06** at limit **
  14  Prefactor     2.0157        6.7727        .20180E-06   -.48145E-03
  15  norm          2.1964        1.9098        .32589E-07    .28264E-02
  16  norm          5.3917        3.6083        .65529E-07   -.75593E-04
  17  Prefactor     7.4668        9.0200        .11111E-06    .12674E-03
  18  Prefactor     .32789E-05    72.173       -.65172E-05** at limit **
  19  Prefactor     .42605E-06    16.065       -.26752E-05** at limit **
  20  Prefactor      .0000        6.2956        .17959E-05** at limit **
  21  norm          .42771E-06    4.5315        .11796E-05** at limit **
  22  Prefactor     .66724E-07    7.6827       -.11788E-05** at limit **
  23  Prefactor     .13545E-04    25.154       -.43006E-06** at limit **
  24  Prefactor     3.9313        4.3952        .33447E-06   -.13759E-02
  25  Prefactor     .76605E-08    10.985        .50309E-06** at limit **
  26  Normalizat    1.1122        .20832       -.65236E-05   -.49972E-06
  27  Prefactor     .70266        .20880        .11877E-04   -.70481E-06
                               ERR DEF=  .500    
Final values: 
  Prefactor  = 3.25751e-06
  Prefactor  = 2.91404
  Prefactor  = 24.3644
  Prefactor  = 11.0407
  Prefactor  = 2.20768e-07
  Prefactor  = 2.77722e-07
  norm       = 10.2894
  Prefactor  = 12.1576
  norm       = 0
  Prefactor  = 29.5287
  norm       = 3.11369
  Prefactor  = 3.76727
  Prefactor  = 0
  Prefactor  = 2.01568
  norm       = 2.19639
  norm       = 5.39169
  Prefactor  = 7.46679
  Prefactor  = 3.27893e-06
  Prefactor  = 4.26048e-07
  Prefactor  = 0
  norm       = 4.27713e-07
  Prefactor  = 6.67244e-08
  Prefactor  = 1.35447e-05
  Prefactor  = 3.93127
  Prefactor  = 7.66054e-09
  Normalizat = 1.11215
  Prefactor  = 0.702662
 **********
 **   18 **HESSE 
 **********

 FCN=   5870.490     FROM HESSE     STATUS=OK           542 CALLS     2900 TOTAL
                     EDM=   .12E-05    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  Prefactor     .32575E-05    53.219        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   2  Prefactor     2.9140        5.7330        .59091E-03   -1.5674    
   3  Prefactor     24.364        30.916        .20548E-03   -1.5609    
   4  Prefactor     11.041        28.632        .30445E-03   -1.5642    
   5  Prefactor     .22077E-06    9.3567        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   6  Prefactor     .27772E-06    18.198        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   7  norm          10.289        8.1181        .31167E-03   -1.5644    
   8  Prefactor     12.158        14.473        .28670E-03   -1.5638    
   9  norm           .0000        3.0201        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  10  Prefactor     29.529        23.715        .18457E-03   -1.5599    
  11  norm          3.1137        1.8080        .57453E-03   -1.5673    
  12  Prefactor     3.7673        8.9766        .51965E-03   -1.5669    
  13  Prefactor      .0000        3.0633        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  14  Prefactor     2.0157        6.8077        .73679E-03   -1.5680    
  15  norm          2.1964        1.9387        .69443E-03   -1.5678    
  16  norm          5.3917        3.6117        .43244E-03   -1.5662    
  17  Prefactor     7.4668        9.0447        .36828E-03   -1.5653    
  18  Prefactor     .32789E-05    78.613        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  19  Prefactor     .42605E-06    19.287        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  20  Prefactor      .0000        6.2905        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  21  norm          .42771E-06    8.8137        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  22  Prefactor     .66724E-07    8.2673        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  23  Prefactor     .13545E-04    60.625        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  24  Prefactor     3.9313        4.4058        .50888E-03   -1.5668    
  25  Prefactor     .76605E-08    11.201        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  26  Normalizat    1.1122        .18356        .37455E-01   -.89363    
  27  Prefactor     .70266        .17906        .63770E-01   -1.0342    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 1.16485e-06
Minuit parameter uncertainties:
  1  0.0263336
  2  5.73297
  3  30.9159
  4  28.6319
  5  0.00287445
  6  0.00449614
  7  8.11809
  8  14.4733
  9  7.27556e-06
  10  23.7151
  11  1.808
  12  8.9766
  13  2.28733e-06
  14  6.80775
  15  1.93872
  16  3.6117
  17  9.04471
  18  0.0321106
  19  0.00573296
  20  6.59716e-06
  21  0.00388325
  22  0.0014857
  23  0.0573121
  24  4.40578
  25  0.00058612
  26  0.183663
  27  0.179211
Done.

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

Extracting fit parameters...

4FGL J1514.8+4448
   Spectrum: LogParabola
286         norm:  5.392e+00  3.612e+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:  7.027e-01  1.792e-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.112e+00  1.837e-01  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Fixed Index): 8.71
Ra Dec: 228.719 44.810
Photon Index (Fixed Index): 2.21 +/- 0.00
Photon Flux (Fixed Index): 3.58e-08 +/- 2.40e-08
Energy Flux (Fixed Index): 1.51e-05 +/- 1.01e-05

Performing a free index iterative likelihood fit...

Freezing all point sources, except source of interest...

Done.

Freeing candidate source...
Done.

Fit tolerance = 1

Performing likelihood fit...
Done.

MINUIT Return Code (Free Index): 0
logL (Free Index) = 5869.09787165
delta logL = 1.39216045321

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

MINUIT Return Code (Free Index): 0
logL (Free Index) = 5869.04976646
delta logL = 1.44026564197

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'norm      '    4.2169       1.0000          .0000       .10000E+07
     2 'alpha     '    1.1671       1.0000          .0000       5.0000    
     3 'Normalizat'    1.1323       1.0000         .10000E-01   10.000    
     4 'Prefactor '    .69536       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=   5869.050     FROM MIGRAD    STATUS=CONVERGED     54 CALLS      208 TOTAL
                     EDM=   .43E-10    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  norm          4.2121        2.9302        .49048E-03   -.11919E-02
   2  alpha         1.1659        .43486        .35434       -.27790E-04
   3  Normalizat    1.1321        .17209        .36816E-01    .51962E-05
   4  Prefactor     .69555        .17766        .64079E-01    .21341E-04
                               ERR DEF=  .500    
Final values: 
  norm       = 4.21214
  alpha      = 1.16585
  Normalizat = 1.13209
  Prefactor  = 0.695553
 **********
 **   18 **HESSE 
 **********

 FCN=   5869.050     FROM HESSE     STATUS=OK            33 CALLS      241 TOTAL
                     EDM=   .14E-11    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  norm          4.2121        3.6091        .10340E-04   -1.5667    
   2  alpha         1.1659        .55557        .15017E-01   -.56292    
   3  Normalizat    1.1321        .20156        .22150E-03   -.88728    
   4  Prefactor     .69555        .20788        .28349E-03   -1.0370    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 1.44123e-12
Minuit parameter uncertainties:
  1  3.60912
  2  0.562173
  3  0.201701
  4  0.208115
shell-init: error retrieving current directory: getcwd: cannot access parent directories: No such file or directory
rmdir: failed to remove `/scratch/kocevski/30586': 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) = 5869.04976361
delta logL = 1.44026848762

Extracting fit parameters...

4FGL J1514.8+4448
   Spectrum: LogParabola
286         norm:  4.212e+00  3.609e+00  0.000e+00  1.000e+06 ( 1.000e-12)
287        alpha:  1.166e+00  5.622e-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:  6.956e-01  2.081e-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.132e+00  2.017e-01  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Free Index): 11.61
Ra Dec: 228.719 44.810
Photon Index (Free Index): 1.17 +/- 0.56
Photon Flux (Free Index): 1.36e-08 +/- 1.16e-08
Energy Flux (Free Index): 3.48e-05 +/- 3.40e-05

Creating a high resolution counts map...
INFO: Auto-setting vmin to  0.000e+00 [aplpy.core]
INFO: Auto-setting vmax to  0.000e+00 [aplpy.core]
Saving /scratch/kocevski/30586/cmap_HighResolution_700444801_700704001_4FGL_J1514.8+4448_daily_bin1779.png

Cleaning up...

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

Updating database...

UPDATE lightcurve_data_v2 SET comment='SUCCESS', photon_flux='3.58e-08', energy_flux2='3.48e-05', photon_flux_error='2.40e-08', dlogl='1.44e+00', energy_flux='1.51e-05', photon_flux2='1.36e-08', job_status='DONE', time_completed='2023-03-17 02:06:01.197273', photon_index_error2='0.56', photon_index2='1.17', ts='8.71', fit_tolerance='1e-08', GAL='0.70', photon_index_error='0.00', energy_flux_error2='3.40e-05', EG='1.11', time_epoch_completed='1679043961.2', return_code='0', job_id='30586', GAL2='0.70', EG2='1.13', return_code2='0', energy_flux_error='1.01e-05', photon_flux_error2='1.16e-08', ts2='11.61', photon_index='2.21' WHERE bin_id='1779' AND source_name='4FGL J1514.8+4448' AND cadence='daily';

Database successfully updated.


Analysis Complete.


Fri Mar 17 02:06:01 PDT 2023


------------------------------------------------------------
Sender: LSF System <lsf@bullet0153>
Subject: Job 30586: <4FGL_J1514.8+4448_daily_bin1779> in cluster <slac> Done

Job <4FGL_J1514.8+4448_daily_bin1779> was submitted from host <rhel6-64f> by user <kocevski> in cluster <slac> at Fri Mar 17 01:55:25 2023
Job was executed on host(s) <bullet0153>, in queue <medium>, as user <kocevski> in cluster <slac> at Fri Mar 17 01:55:27 2023
</u/ki/kocevski> was used as the home directory.
</u/ki/kocevski> was used as the working directory.
Started at Fri Mar 17 01:55:27 2023
Terminated at Fri Mar 17 02:06:02 2023
Results reported at Fri Mar 17 02:06:02 2023

Your job looked like:

------------------------------------------------------------
# LSBATCH: User input
/nfs/farm/g/glast/g/LCRepository/Likelihood/Scripts/LikelihoodAnalysis.py 4FGL_J1514.8+4448_daily_bin1779 228.719 44.8105 700444801 700704001 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 :                                   615.39 sec.
    Max Memory :                                 1094 MB
    Average Memory :                             327.05 MB
    Total Requested Memory :                     -
    Delta Memory :                               -
    Max Swap :                                   -
    Max Processes :                              5
    Max Threads :                                21
    Run time :                                   634 sec.
    Turnaround time :                            637 sec.

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

