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 9 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_J1345.5+4453_daily_bin1773
RA = 206.394, Dec = 44.8844
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='790676', job_status='RUN', time_executed='2023-02-27 09:49:54.572125', time_epoch_executed='1677520194.57' WHERE source_name='4FGL J1345.5+4453' and cadence='daily' and bin_id='1773'

Database successfully updated.
Done.

Creating custom output directory:
/scratch/kocevski/790676

Creating custom pfile directory:
/scratch/kocevski/790676/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/790676/ft1_4FGL_J1345.5+4453_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/790676/ft2_4FGL_J1345.5+4453_daily_bin1773.fits


Selecting the photons:
time -p gtselect infile=/scratch/kocevski/790676/ft1_4FGL_J1345.5+4453_daily_bin1773.fits outfile=/scratch/kocevski/790676/ft1_filteredMKT_4FGL_J1345.5+4453_daily_bin1773.fits ra=206.394 dec=44.8844 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.91
user 2.69
sys 0.20

Adding sun position to ft2 file:
/nfs/farm/g/glast/g/LCRepository/Repository/bin/sunpos /scratch/kocevski/790676/ft2_4FGL_J1345.5+4453_daily_bin1773.fits

Selecting the good time intervals:
time -p gtmktime scfile=/scratch/kocevski/790676/ft2_4FGL_J1345.5+4453_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/790676/ft1_filteredMKT_4FGL_J1345.5+4453_daily_bin1773.fits evtable="EVENTS" outfile="/scratch/kocevski/790676/ft1_filtered_4FGL_J1345.5+4453_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.48
user 0.32
sys 0.15

Number of photons that the gtmktime cut: 497

Generating the livetime cube:
time -p gtltcube evfile="/scratch/kocevski/790676/ft1_filtered_4FGL_J1345.5+4453_daily_bin1773.fits" evtable="EVENTS" scfile=/scratch/kocevski/790676/ft2_4FGL_J1345.5+4453_daily_bin1773.fits sctable="SC_DATA" outfile=/scratch/kocevski/790676/ltcube_698889601_699148801_4FGL_J1345.5+4453_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/790676/ft2_4FGL_J1345.5+4453_daily_bin1773.fits
.....................!
real 12.75
user 12.43
sys 0.29

Generating the exposure map:
time -p gtexpmap evfile=/scratch/kocevski/790676/ft1_filtered_4FGL_J1345.5+4453_daily_bin1773.fits evtable="EVENTS" scfile=/scratch/kocevski/790676/ft2_4FGL_J1345.5+4453_daily_bin1773.fits sctable="SC_DATA" expcube=/scratch/kocevski/790676/ltcube_698889601_699148801_4FGL_J1345.5+4453_daily_bin1773.fits outfile=/scratch/kocevski/790676/expmap_698889601_699148801_4FGL_J1345.5+4453_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/790676/ltcube_698889601_699148801_4FGL_J1345.5+4453_daily_bin1773.fits
.....................!
real 190.08
user 185.36
sys 4.27

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

Setting source of interest to:
4FGL J1345.5+4453 @ 206.394 44.8844

Creating the counts map:
time -p gtbin evfile=/scratch/kocevski/790676/ft1_filtered_4FGL_J1345.5+4453_daily_bin1773.fits scfile=/scratch/kocevski/790676/ft2_4FGL_J1345.5+4453_daily_bin1773.fits outfile=/scratch/kocevski/790676/cmap_698889601_699148801_4FGL_J1345.5+4453_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=206.394 yref=44.8844 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.38
sys 0.15

Creating the high resolution counts map:
time -p gtbin evfile=/scratch/kocevski/790676/ft1_filtered_4FGL_J1345.5+4453_daily_bin1773.fits scfile=/scratch/kocevski/790676/ft2_4FGL_J1345.5+4453_daily_bin1773.fits outfile=/scratch/kocevski/790676/cmap_HighResolution_698889601_699148801_4FGL_J1345.5+4453_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=206.394 yref=44.8844 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.15

Computing the diffuse response:
time -p gtdiffrsp evfile=/scratch/kocevski/790676/ft1_filtered_4FGL_J1345.5+4453_daily_bin1773.fits evtable="EVENTS" scfile=/scratch/kocevski/790676/ft2_4FGL_J1345.5+4453_daily_bin1773.fits sctable="SC_DATA" srcmdl=/scratch/kocevski/790676/Model_4FGL_J1345.5+4453_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/790676/ft1_filtered_4FGL_J1345.5+4453_daily_bin1773.fits.....................!
real 47.18
user 45.83
sys 1.17

Creating the likelihood object...
obs = UnbinnedObs('/scratch/kocevski/790676/ft1_filtered_4FGL_J1345.5+4453_daily_bin1773.fits', '/scratch/kocevski/790676/ft2_4FGL_J1345.5+4453_daily_bin1773.fits', expMap='/scratch/kocevski/790676/expmap_698889601_699148801_4FGL_J1345.5+4453_daily_bin1773.fits', expCube='/scratch/kocevski/790676/ltcube_698889601_699148801_4FGL_J1345.5+4453_daily_bin1773.fits', irfs='P8R3_SOURCE_V2')
like = UnbinnedAnalysis(obs, '/scratch/kocevski/790676/Model_4FGL_J1345.5+4453_daily_bin1773.xml', optimizer='MINUIT')

Using source of interest name: '4FGL J1345.5+4453'

4FGL J1345.5+4453
   Spectrum: LogParabola
339         norm:  6.795e+00  0.000e+00  0.000e+00  1.000e+06 ( 1.000e-11)
340        alpha:  2.171e+00  0.000e+00  0.000e+00  5.000e+00 ( 1.000e+00) fixed
341         beta:  7.801e-02  0.000e+00 -5.000e+00  1.000e+01 ( 1.000e+00) fixed
342           Eb:  4.556e+02  0.000e+00  3.000e+01  5.000e+05 ( 1.000e+00) fixed


Likelihood Fit Parameters:
Event file(s): /scratch/kocevski/790676/ft1_filtered_4FGL_J1345.5+4453_daily_bin1773.fits
Spacecraft file(s): /scratch/kocevski/790676/ft2_4FGL_J1345.5+4453_daily_bin1773.fits
Exposure map: /scratch/kocevski/790676/expmap_698889601_699148801_4FGL_J1345.5+4453_daily_bin1773.fits
Exposure cube: /scratch/kocevski/790676/ltcube_698889601_699148801_4FGL_J1345.5+4453_daily_bin1773.fits
IRFs: P8R3_SOURCE_V2
Source model file: /scratch/kocevski/790676/Model_4FGL_J1345.5+4453_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) = 5510.79385682

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

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

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'Prefactor '    97.548       1.0000          .0000       .10000E+07
     2 'norm      '    1.9118       1.0000          .0000       .10000E+07
     3 'Prefactor '    .44066       1.0000          .0000       .10000E+07
     4 'norm      '    3.8304       1.0000          .0000       .10000E+07
     5 'norm      '    .39591E-02   1.0000          .0000       .10000E+07
     6 'norm      '    .10774E-03   1.0000          .0000       .10000E+07
     7 'Prefactor '    .55784E-02   1.0000          .0000       .10000E+07
     8 'Prefactor '    .13978E-06   1.0000          .0000       .10000E+07
     9 'Prefactor '    11.648       1.0000          .0000       .10000E+07
    10 'Prefactor '    .84811E-02   1.0000          .0000       .10000E+07
    11 'norm      '    6.4516       1.0000          .0000       .10000E+07
    12 'Prefactor '    69.083       1.0000          .0000       .10000E+07
    13 'norm      '    3.0544       1.0000          .0000       .10000E+07
    14 'norm      '    .81296E-03   1.0000          .0000       .10000E+07
    15 'norm      '    18.400       1.0000          .0000       .10000E+07
    16 'Prefactor '    55.296       1.0000          .0000       .10000E+07
    17 'Prefactor '    .95811E-03   1.0000          .0000       .10000E+07
    18 'Prefactor '    2.4088       1.0000          .0000       .10000E+07
    19 'Prefactor '    .14935       1.0000          .0000       .10000E+07
    20 'norm      '    .87101E-02   1.0000          .0000       .10000E+07
    21 'Prefactor '    12.262       1.0000          .0000       .10000E+07
    22 'Prefactor '    .10769E-07   1.0000          .0000       .10000E+07
    23 'Prefactor '    2.5420       1.0000          .0000       .10000E+07
    24 'norm      '    .32541       1.0000          .0000       .10000E+07
    25 'Prefactor '    .67936E-01   1.0000          .0000       .10000E+07
    26 'Prefactor '    .54934E-01   1.0000          .0000       .10000E+07
    27 'Prefactor '    15.011       1.0000          .0000       .10000E+07
    28 'Normalizat'    1.3103       1.0000         .10000E-01   10.000    
    29 'Prefactor '    .66543       1.0000          .0000       10.000    
 **********
 **   15 **SET ERR    .5000    
 **********
 **********
 **   16 **SET GRAD    1.000    
 **********
 **********
 **   17 **MINIMIZE    .6350E+05   .2000E-04
 **********

 MIGRAD MINIMIZATION HAS CONVERGED.

 FCN=   5510.786     FROM MIGRAD    STATUS=CONVERGED    212 CALLS     3575 TOTAL
                     EDM=   .26E-09  STRATEGY=1  ERROR MATRIX UNCERTAINTY=  2.2%

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor     98.218        14.849       -.17258E-06   -.30569E-01
   2  norm          1.9107        2.3699        .78448E-07    .20331E-03
   3  Prefactor     1.6820        213.99       -.38268E-06    .26470E-02
   4  norm          3.6671        10.730        .97411E-06   -.64238E-03
   5  norm          .37192E-08    8.4462        .10590E-06** at limit **
   6  norm          .22204E-09    3.0236        .16609E-06** at limit **
   7  Prefactor     .44409E-08    9.0855        .24148E-06** at limit **
   8  Prefactor     .15408E-03    130.55        .10053E-05** at limit **
   9  Prefactor     15.621        53.133       -.10809E-05    .29677E-01
  10  Prefactor     .46074E-08    11.546       -.37974E-06** at limit **
  11  norm          6.4087        5.1515        .60403E-07    .35757E-06
  12  Prefactor     71.347        28.687       -.23278E-06    .12867E-01
  13  norm          3.0608        1.5576       -.15674E-07   -.38059E-03
  14  norm          .14464E-03    22.908        .12875E-05** at limit **
  15  norm          18.450        7.3848        .37192E-08    .17299E-01
  16  Prefactor     56.258        40.332       -.66717E-06   -.63396E-01
  17  Prefactor     .26645E-08    52.877        .91172E-06** at limit **
  18  Prefactor     2.4174        3.2996       -.25032E-07    .59697E-04
  19  Prefactor     .33307E-09    46.362        .68479E-06** at limit **
  20  norm          .12768E-08    6.5144        .39030E-06** at limit **
  21  Prefactor     12.358        9.5579       -.52352E-06    .50482E-02
  22  Prefactor      .0000        1.4391       -.66078E-07** at limit **
  23  Prefactor     2.8444        9.3070       -.10301E-05   -.46086E-02
  24  norm          .84077E-06    139.39       -.77701E-05** at limit **
  25  Prefactor     .23345        76.847       -.55489E-05** at limit **
  26  Prefactor     .55511E-10    28.707       -.47377E-06** at limit **
  27  Prefactor     15.098        13.608       -.23144E-06    .16118E-02
  28  Normalizat    1.3056        .22051        .47306E-05   -.60401E-04
  29  Prefactor     .66765        .24528       -.31770E-05   -.40850E-04
                               ERR DEF=  .500    
Final values: 
  Prefactor  = 98.2176
  norm       = 1.91068
  Prefactor  = 1.68195
  norm       = 3.66706
  norm       = 3.71925e-09
  norm       = 2.22045e-10
  Prefactor  = 4.44089e-09
  Prefactor  = 0.000154081
  Prefactor  = 15.6208
  Prefactor  = 4.60743e-09
  norm       = 6.40865
  Prefactor  = 71.3471
  norm       = 3.0608
  norm       = 0.000144638
  norm       = 18.4504
  Prefactor  = 56.2579
  Prefactor  = 2.66454e-09
  Prefactor  = 2.41745
  Prefactor  = 3.33067e-10
  norm       = 1.27676e-09
  Prefactor  = 12.3585
  Prefactor  = 0
  Prefactor  = 2.84443
  norm       = 8.40772e-07
  Prefactor  = 0.233448
  Prefactor  = 5.55112e-11
  Prefactor  = 15.0984
  Normalizat = 1.30555
  Prefactor  = 0.667646
 **********
 **   18 **HESSE 
 **********

 FCN=   5510.786     FROM HESSE     STATUS=OK           631 CALLS     4206 TOTAL
                     EDM=   .11E-05    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  Prefactor     98.218        43.306        .10126E-03   -1.5510    
   2  norm          1.9107        2.3818        .75153E-03   -1.5680    
   3  Prefactor     1.6820        261.35        .84919E-03   -1.5682    
   4  norm          3.6671        12.009        .51544E-03   -1.5670    
   5  norm          .37192E-08    8.4578        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   6  norm          .22204E-09    3.0453        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   7  Prefactor     .44409E-08    9.0515        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   8  Prefactor     .15408E-03    294.70        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   9  Prefactor     15.621        99.240        .29328E-03   -1.5629    
  10  Prefactor     .46074E-08    11.829        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  11  norm          6.4087        5.1647        .39490E-03   -1.5657    
  12  Prefactor     71.347        72.368        .12032E-03   -1.5539    
  13  norm          3.0608        1.5601        .58023E-03   -1.5673    
  14  norm          .14464E-03    3.3581        .49358E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  15  norm          18.450        15.444        .23321E-03   -1.5622    
  16  Prefactor     56.258        45.877        .13449E-03   -1.5558    
  17  Prefactor     .26645E-08    54.679        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  18  Prefactor     2.4174        3.3407        .65937E-03   -1.5677    
  19  Prefactor     .33307E-09    9.7699        .12757E-01   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  20  norm          .12768E-08    6.5238        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  21  Prefactor     12.358        29.833        .28581E-03   -1.5638    
  22  Prefactor      .0000        1.4292        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  23  Prefactor     2.8444        113.03        .64025E-03   -1.5674    
  24  norm          .84077E-06    11.523        .98693E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  25  Prefactor     .23345        13.494        .14887E-01   -1.5698    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  26  Prefactor     .55511E-10    28.753        .15349E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  27  Prefactor     15.098        15.506        .25825E-03   -1.5630    
  28  Normalizat    1.3056        .19411        .48715E-01   -.83401    
  29  Prefactor     .66765        .21158        .76958E-01   -1.0481    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 1.09029e-06
Minuit parameter uncertainties:
  1  43.3061
  2  2.38178
  3  41.9342
  4  12.0087
  5  0.000355244
  6  5.3456e-05
  7  0.000400385
  8  0.426202
  9  78.7471
  10  0.000467497
  11  5.16473
  12  72.3686
  13  1.5601
  14  0.0440776
  15  15.4438
  16  45.8773
  17  0.000760029
  18  3.34074
  19  0.000109583
  20  0.000182412
  21  29.8333
  22  7.58779e-06
  23  35.8613
  24  0.00622522
  25  3.54971
  26  7.0244e-05
  27  15.5056
  28  0.194215
  29  0.211833
Done.

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

Extracting fit parameters...

4FGL J1345.5+4453
   Spectrum: LogParabola
339         norm:  3.061e+00  1.560e+00  0.000e+00  1.000e+06 ( 1.000e-11)
340        alpha:  2.171e+00  0.000e+00  0.000e+00  5.000e+00 ( 1.000e+00) fixed
341         beta:  7.801e-02  0.000e+00 -5.000e+00  1.000e+01 ( 1.000e+00) fixed
342           Eb:  4.556e+02  0.000e+00  3.000e+01  5.000e+05 ( 1.000e+00) fixed

GAL_V02
   Spectrum: PowerLaw
632    Prefactor:  6.676e-01  2.118e-01  0.000e+00  1.000e+01 ( 1.000e+00)
633        Index:  0.000e+00  0.000e+00 -1.000e+00  1.000e+00 ( 1.000e+00) fixed
634        Scale:  1.000e+02  0.000e+00  5.000e+01  2.000e+02 ( 1.000e+00) fixed

EG_v02
   Spectrum: FileFunction
631   Normalization:  1.306e+00  1.942e-01  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Fixed Index): 8.68
Ra Dec: 206.394 44.884
Photon Index (Fixed Index): 2.17 +/- 0.00
Photon Flux (Fixed Index): 6.45e-08 +/- 3.29e-08
Energy Flux (Fixed Index): 2.48e-05 +/- 1.27e-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) = 5509.35573132
delta logL = 1.43075758305

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

MINUIT Return Code (Free Index): 0
logL (Free Index) = 5509.26043689
delta logL = 1.52605201458

Fit tolerance = 1e-08

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

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

 MIGRAD MINIMIZATION HAS CONVERGED.

 MIGRAD WILL VERIFY CONVERGENCE AND ERROR MATRIX.

 FCN=   5509.260     FROM MIGRAD    STATUS=CONVERGED     47 CALLS      203 TOTAL
                     EDM=   .11E-08    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  norm          2.4127        1.2720        .65879E-03    .41371E-01
   2  alpha         1.4818        .28793        .20734       -.20463E-04
   3  Normalizat    1.3456        .17885        .48070E-01   -.42500E-05
   4  Prefactor     .63257        .21063        .78805E-01   -.24214E-04
                               ERR DEF=  .500    
Final values: 
  norm       = 2.41267
  alpha      = 1.48181
  Normalizat = 1.34557
  Prefactor  = 0.632572
 **********
 **   18 **HESSE 
 **********

 FCN=   5509.260     FROM HESSE     STATUS=OK            29 CALLS      232 TOTAL
                     EDM=   .17E-08    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  norm          2.4127        1.4806        .56148E-05   -1.5677    
   2  alpha         1.4818        .35255        .87295E-02   -.41947    
   3  Normalizat    1.3456        .20712        .21250E-03   -.82216    
   4  Prefactor     .63257        .24328        .34895E-03   -1.0623    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 1.69651e-09
Minuit parameter uncertainties:
  1  1.48057
  2  0.353965
  3  0.207246
  4  0.243688
shell-init: error retrieving current directory: getcwd: cannot access parent directories: No such file or directory
rmdir: failed to remove `/scratch/kocevski/790676': 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) = 5509.26043602
delta logL = 1.52605288353

Extracting fit parameters...

4FGL J1345.5+4453
   Spectrum: LogParabola
339         norm:  2.413e+00  1.481e+00  0.000e+00  1.000e+06 ( 1.000e-11)
340        alpha:  1.482e+00  3.540e-01  0.000e+00  5.000e+00 ( 1.000e+00)
341         beta:  7.801e-02  0.000e+00 -5.000e+00  1.000e+01 ( 1.000e+00) fixed
342           Eb:  4.556e+02  0.000e+00  3.000e+01  5.000e+05 ( 1.000e+00) fixed

GAL_V02
   Spectrum: PowerLaw
632    Prefactor:  6.326e-01  2.437e-01  0.000e+00  1.000e+01 ( 1.000e+00)
633        Index:  0.000e+00  0.000e+00 -1.000e+00  1.000e+00 ( 1.000e+00) fixed
634        Scale:  1.000e+02  0.000e+00  5.000e+01  2.000e+02 ( 1.000e+00) fixed

EG_v02
   Spectrum: FileFunction
631   Normalization:  1.346e+00  2.072e-01  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Free Index): 11.79
Ra Dec: 206.394 44.884
Photon Index (Free Index): 1.48 +/- 0.35
Photon Flux (Free Index): 3.92e-08 +/- 2.39e-08
Energy Flux (Free Index): 5.75e-05 +/- 4.35e-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/790676/cmap_HighResolution_698889601_699148801_4FGL_J1345.5+4453_daily_bin1773.png

Cleaning up...

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

Updating database...

UPDATE lightcurve_data_v2 SET comment='SUCCESS', photon_flux='6.45e-08', energy_flux2='5.75e-05', photon_flux_error='3.29e-08', dlogl='1.53e+00', energy_flux='2.48e-05', photon_flux2='3.92e-08', job_status='DONE', time_completed='2023-02-27 10:01:31.785997', photon_index_error2='0.35', photon_index2='1.48', ts='8.68', fit_tolerance='1e-08', GAL='0.67', photon_index_error='0.00', energy_flux_error2='4.35e-05', EG='1.31', time_epoch_completed='1677520891.79', return_code='0', job_id='790676', GAL2='0.63', EG2='1.35', return_code2='0', energy_flux_error='1.27e-05', photon_flux_error2='2.39e-08', ts2='11.79', photon_index='2.17' WHERE bin_id='1773' AND source_name='4FGL J1345.5+4453' AND cadence='daily';

Database successfully updated.


Analysis Complete.


Mon Feb 27 10:01:31 PST 2023


------------------------------------------------------------
Sender: LSF System <lsf@bullet0012>
Subject: Job 790676: <4FGL_J1345.5+4453_daily_bin1773> in cluster <slac> Done

Job <4FGL_J1345.5+4453_daily_bin1773> was submitted from host <rhel6-64j> by user <kocevski> in cluster <slac> at Mon Feb 27 09:45:27 2023
Job was executed on host(s) <bullet0012>, in queue <medium>, as user <kocevski> in cluster <slac> at Mon Feb 27 09:45:28 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:45:28 2023
Terminated at Mon Feb 27 10:01:32 2023
Results reported at Mon Feb 27 10:01:32 2023

Your job looked like:

------------------------------------------------------------
# LSBATCH: User input
/nfs/farm/g/glast/g/LCRepository/Likelihood/Scripts/LikelihoodAnalysis.py 4FGL_J1345.5+4453_daily_bin1773 206.394 44.8844 698889601 699148801 irfs=P8R3_SOURCE_V2 zmax=90 ROI=12 association=4FGL_J1345.5+4453 fixedModel=True performFreeIndexFit=True freeVariableSources=True nuke=True repositoryJob=True verbose=False
------------------------------------------------------------

Successfully completed.

Resource usage summary:

    CPU time :                                   698.05 sec.
    Max Memory :                                 1257 MB
    Average Memory :                             226.48 MB
    Total Requested Memory :                     -
    Delta Memory :                               -
    Max Swap :                                   -
    Max Processes :                              5
    Max Threads :                                21
    Run time :                                   964 sec.
    Turnaround time :                            965 sec.

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

