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


Performing analysis on: 4FGL_J1345.5+4453_daily_bin1749
RA = 206.394, Dec = 44.8844
tmin = 692668801, tmax = 692928001
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='954239', job_status='RUN', time_executed='2022-12-17 00:54:15.601861', time_epoch_executed='1671267255.6' WHERE source_name='4FGL J1345.5+4453' and cadence='daily' and bin_id='1749'

Database successfully updated.
Done.

Creating custom output directory:
/scratch/kocevski/954239

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

Retrieving the FT1 file...

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

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

Retrieving 47 files...
Done.


Merging files...

Checksum keywords updated successfully.

Merged file saved to:
/scratch/kocevski/954239/ft1_4FGL_J1345.5+4453_daily_bin1749.fits


Retrieving the FT1 file...

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

Retrieving 47 files...
Done.


Merging files...

Merged file saved to:
/scratch/kocevski/954239/ft2_4FGL_J1345.5+4453_daily_bin1749.fits


Selecting the photons:
time -p gtselect infile=/scratch/kocevski/954239/ft1_4FGL_J1345.5+4453_daily_bin1749.fits outfile=/scratch/kocevski/954239/ft1_filteredMKT_4FGL_J1345.5+4453_daily_bin1749.fits ra=206.394 dec=44.8844 rad=12.0 tmin=692668801.0 tmax=692928001.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.65
user 3.43
sys 0.20

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

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

Number of photons that the gtmktime cut: 591

Generating the livetime cube:
time -p gtltcube evfile="/scratch/kocevski/954239/ft1_filtered_4FGL_J1345.5+4453_daily_bin1749.fits" evtable="EVENTS" scfile=/scratch/kocevski/954239/ft2_4FGL_J1345.5+4453_daily_bin1749.fits sctable="SC_DATA" outfile=/scratch/kocevski/954239/ltcube_692668801_692928001_4FGL_J1345.5+4453_daily_bin1749.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/954239/ft2_4FGL_J1345.5+4453_daily_bin1749.fits
.....................!
real 12.30
user 11.95
sys 0.31

Generating the exposure map:
time -p gtexpmap evfile=/scratch/kocevski/954239/ft1_filtered_4FGL_J1345.5+4453_daily_bin1749.fits evtable="EVENTS" scfile=/scratch/kocevski/954239/ft2_4FGL_J1345.5+4453_daily_bin1749.fits sctable="SC_DATA" expcube=/scratch/kocevski/954239/ltcube_692668801_692928001_4FGL_J1345.5+4453_daily_bin1749.fits outfile=/scratch/kocevski/954239/expmap_692668801_692928001_4FGL_J1345.5+4453_daily_bin1749.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/954239/ltcube_692668801_692928001_4FGL_J1345.5+4453_daily_bin1749.fits
.....................!
real 191.68
user 185.53
sys 5.81

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/954239/ft1_filtered_4FGL_J1345.5+4453_daily_bin1749.fits scfile=/scratch/kocevski/954239/ft2_4FGL_J1345.5+4453_daily_bin1749.fits outfile=/scratch/kocevski/954239/cmap_692668801_692928001_4FGL_J1345.5+4453_daily_bin1749.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.60
user 0.36
sys 0.17

Creating the high resolution counts map:
time -p gtbin evfile=/scratch/kocevski/954239/ft1_filtered_4FGL_J1345.5+4453_daily_bin1749.fits scfile=/scratch/kocevski/954239/ft2_4FGL_J1345.5+4453_daily_bin1749.fits outfile=/scratch/kocevski/954239/cmap_HighResolution_692668801_692928001_4FGL_J1345.5+4453_daily_bin1749.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.64
user 0.36
sys 0.18

Computing the diffuse response:
time -p gtdiffrsp evfile=/scratch/kocevski/954239/ft1_filtered_4FGL_J1345.5+4453_daily_bin1749.fits evtable="EVENTS" scfile=/scratch/kocevski/954239/ft2_4FGL_J1345.5+4453_daily_bin1749.fits sctable="SC_DATA" srcmdl=/scratch/kocevski/954239/Model_4FGL_J1345.5+4453_daily_bin1749.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/954239/ft1_filtered_4FGL_J1345.5+4453_daily_bin1749.fits.....................!
real 50.95
user 49.64
sys 1.20

Creating the likelihood object...
obs = UnbinnedObs('/scratch/kocevski/954239/ft1_filtered_4FGL_J1345.5+4453_daily_bin1749.fits', '/scratch/kocevski/954239/ft2_4FGL_J1345.5+4453_daily_bin1749.fits', expMap='/scratch/kocevski/954239/expmap_692668801_692928001_4FGL_J1345.5+4453_daily_bin1749.fits', expCube='/scratch/kocevski/954239/ltcube_692668801_692928001_4FGL_J1345.5+4453_daily_bin1749.fits', irfs='P8R3_SOURCE_V2')
like = UnbinnedAnalysis(obs, '/scratch/kocevski/954239/Model_4FGL_J1345.5+4453_daily_bin1749.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/954239/ft1_filtered_4FGL_J1345.5+4453_daily_bin1749.fits
Spacecraft file(s): /scratch/kocevski/954239/ft2_4FGL_J1345.5+4453_daily_bin1749.fits
Exposure map: /scratch/kocevski/954239/expmap_692668801_692928001_4FGL_J1345.5+4453_daily_bin1749.fits
Exposure cube: /scratch/kocevski/954239/ltcube_692668801_692928001_4FGL_J1345.5+4453_daily_bin1749.fits
IRFs: P8R3_SOURCE_V2
Source model file: /scratch/kocevski/954239/Model_4FGL_J1345.5+4453_daily_bin1749.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) = 6385.5385155

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

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

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'Prefactor '    .81024E-02   1.0000          .0000       .10000E+07
     2 'norm      '    .21103E-02   1.0000          .0000       .10000E+07
     3 'Prefactor '    .63192E-04   1.0000          .0000       .10000E+07
     4 'norm      '    .16663E-04   1.0000          .0000       .10000E+07
     5 'norm      '    13.862       1.0000          .0000       .10000E+07
     6 'norm      '    .23786E-03   1.0000          .0000       .10000E+07
     7 'Prefactor '    .29243E-02   1.0000          .0000       .10000E+07
     8 'Prefactor '    61.720       1.0000          .0000       .10000E+07
     9 'Prefactor '    .19923       1.0000          .0000       .10000E+07
    10 'Prefactor '    .38505E-04   1.0000          .0000       .10000E+07
    11 'norm      '    .35111E-03   1.0000          .0000       .10000E+07
    12 'Prefactor '    .23392E-02   1.0000          .0000       .10000E+07
    13 'norm      '    2.1705       1.0000          .0000       .10000E+07
    14 'norm      '    6.3580       1.0000          .0000       .10000E+07
    15 'norm      '    .63739       1.0000          .0000       .10000E+07
    16 'Prefactor '    .36891E-03   1.0000          .0000       .10000E+07
    17 'Prefactor '    .31582E-02   1.0000          .0000       .10000E+07
    18 'Prefactor '    .34478E-03   1.0000          .0000       .10000E+07
    19 'Prefactor '    .49773E-02   1.0000          .0000       .10000E+07
    20 'norm      '    9.4722       1.0000          .0000       .10000E+07
    21 'Prefactor '    .37585E-03   1.0000          .0000       .10000E+07
    22 'Prefactor '    1.8478       1.0000          .0000       .10000E+07
    23 'Prefactor '    .25904E-02   1.0000          .0000       .10000E+07
    24 'norm      '    10.317       1.0000          .0000       .10000E+07
    25 'Prefactor '    5.6748       1.0000          .0000       .10000E+07
    26 'Prefactor '    32.690       1.0000          .0000       .10000E+07
    27 'Prefactor '    17.580       1.0000          .0000       .10000E+07
    28 'Normalizat'    1.1204       1.0000         .10000E-01   10.000    
    29 'Prefactor '    .77002       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=   6385.525     FROM MIGRAD    STATUS=CONVERGED    156 CALLS     2652 TOTAL
                     EDM=   .17E-08  STRATEGY=1  ERROR MATRIX UNCERTAINTY=  2.1%

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor     .85376E-07    17.567        .86900E-07** at limit **
   2  norm          .79547E-07    2.7928       -.10505E-06** at limit **
   3  Prefactor     .22204E-09    3.6326        .31574E-06** at limit **
   4  norm          .73752E-06    1.1877       -.15475E-07** at limit **
   5  norm          13.862        2.1221        .12399E-07   -.11006    
   6  norm          .11102E-09    1.5659       -.85539E-07** at limit **
   7  Prefactor     .16698E-06    4.0212       -.80788E-07** at limit **
   8  Prefactor     61.276        5.8362        .63536E-09   -.24184    
   9  Prefactor     .43393E-05    2.9209       -.82650E-07** at limit **
  10  Prefactor     .13383E-05    11.900       -.34348E-06** at limit **
  11  norm          .11102E-09    1.6425       -.17497E-06** at limit **
  12  Prefactor     .16744E-05    8.4558       -.16123E-06** at limit **
  13  norm          2.1705        1.2300        .42687E-07    .11012E-02
  14  norm          6.3581        3.4790        .12995E-06   -.44388E-03
  15  norm          .63465        .81265       -.32335E-07    .83577E-02
  16  Prefactor     .51037E-06    121.29       -.24751E-05** at limit **
  17  Prefactor     .36138E-06    10.415       -.24818E-06** at limit **
  18  Prefactor     .70499E-08    6.5612       -.45945E-07** at limit **
  19  Prefactor     .10547E-07    9.5376        .44509E-06** at limit **
  20  norm          9.4720        4.6331        .70326E-07   -.19945E-02
  21  Prefactor     .55511E-09    3.4991       -.29553E-06** at limit **
  22  Prefactor     1.8498        2.1486       -.22802E-07    .10315E-02
  23  Prefactor     .66613E-09    4.2663        .17105E-06** at limit **
  24  norm          10.333        10.307        .14398E-06    .19273E-01
  25  Prefactor     5.6169        2.4720        .23302E-07   -.12230E-01
  26  Prefactor     32.602        1.5382       -.10912E-07   -.34335E-01
  27  Prefactor     17.560        1.2141       -.78693E-08    .15044E-01
  28  Normalizat    1.1210        .17785       -.13870E-04    .13371E-03
  29  Prefactor     .76981        .21954        .85352E-05    .49275E-04
                               ERR DEF=  .500    
Final values: 
  Prefactor  = 8.53762e-08
  norm       = 7.95475e-08
  Prefactor  = 2.22045e-10
  norm       = 7.37521e-07
  norm       = 13.8623
  norm       = 1.11022e-10
  Prefactor  = 1.66978e-07
  Prefactor  = 61.2759
  Prefactor  = 4.33931e-06
  Prefactor  = 1.33832e-06
  norm       = 1.11022e-10
  Prefactor  = 1.67438e-06
  norm       = 2.17049
  norm       = 6.35811
  norm       = 0.634654
  Prefactor  = 5.1037e-07
  Prefactor  = 3.61378e-07
  Prefactor  = 7.04992e-09
  Prefactor  = 1.05471e-08
  norm       = 9.47201
  Prefactor  = 5.55112e-10
  Prefactor  = 1.84983
  Prefactor  = 6.66134e-10
  norm       = 10.3329
  Prefactor  = 5.61691
  Prefactor  = 32.6024
  Prefactor  = 17.5599
  Normalizat = 1.12098
  Prefactor  = 0.769808
 **********
 **   18 **HESSE 
 **********

 FCN=   6385.525     FROM HESSE     STATUS=OK           619 CALLS     3271 TOTAL
                     EDM=   .14E-05    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  Prefactor     .85376E-07    22.997        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   2  norm          .79547E-07    1.3259        .42118E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   3  Prefactor     .22204E-09    3.6564        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   4  norm          .73752E-06    2.2797        .66682E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   5  norm          13.862        12.606        .26877E-03   -1.5633    
   6  norm          .11102E-09    1.5708        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   7  Prefactor     .16698E-06    1.9877        .60960E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   8  Prefactor     61.276        30.741        .12730E-03   -1.5551    
   9  Prefactor     .43393E-05    51.757        .11790E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  10  Prefactor     .13383E-05    17.630        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  11  norm          .11102E-09    1.6432        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  12  Prefactor     .16744E-05    20.191        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  13  norm          2.1705        1.2384        .69870E-03   -1.5678    
  14  norm          6.3581        3.4847        .39783E-03   -1.5658    
  15  norm          .63465        26.505        .65943E-03   -1.5692    
  16  Prefactor     .51037E-06    121.25        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  17  Prefactor     .36138E-06    14.361        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  18  Prefactor     .70499E-08    6.8041        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  19  Prefactor     .10547E-07    9.6867        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  20  norm          9.4720        4.6442        .32538E-03   -1.5646    
  21  Prefactor     .55511E-09    3.5128        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  22  Prefactor     1.8498        2.4881        .76678E-03   -1.5681    
  23  Prefactor     .66613E-09    4.2876        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  24  norm          10.333        10.353        .31170E-03   -1.5644    
  25  Prefactor     5.6169        28.124        .42144E-03   -1.5661    
  26  Prefactor     32.602        45.124        .17492E-03   -1.5594    
  27  Prefactor     17.560        16.558        .23860E-03   -1.5624    
  28  Normalizat    1.1210        .15419        .37225E-01   -.89081    
  29  Prefactor     .76981        .18903        .67521E-01   -1.0085    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 1.43316e-06
Minuit parameter uncertainties:
  1  0.00280252
  2  0.000649517
  3  5.38388e-05
  4  0.00259327
  5  12.6056
  6  2.42566e-05
  7  0.00115229
  8  30.7413
  9  0.0299727
  10  0.009715
  11  2.72986e-05
  12  0.0116289
  13  1.23845
  14  3.4847
  15  8.20285
  16  0.0157335
  17  0.00455612
  18  0.000438504
  19  0.000639517
  20  4.64424
  21  8.64609e-05
  22  2.48814
  23  0.000107506
  24  10.3533
  25  25.1375
  26  45.1249
  27  16.5583
  28  0.154257
  29  0.18919
Done.

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

Extracting fit parameters...

4FGL J1345.5+4453
   Spectrum: LogParabola
339         norm:  2.170e+00  1.238e+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:  7.698e-01  1.892e-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.121e+00  1.543e-01  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Fixed Index): 6.56
Ra Dec: 206.394 44.884
Photon Index (Fixed Index): 2.17 +/- 0.00
Photon Flux (Fixed Index): 4.58e-08 +/- 2.61e-08
Energy Flux (Fixed Index): 1.76e-05 +/- 1.00e-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) = 6385.31278658
delta logL = 0.212028016243

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

MINUIT Return Code (Free Index): 0
logL (Free Index) = 6385.30871312
delta logL = 0.216101472636

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'norm      '    2.1472       1.0000          .0000       .10000E+07
     2 'alpha     '    2.5574       1.0000          .0000       5.0000    
     3 'Normalizat'    1.1007       1.0000         .10000E-01   10.000    
     4 'Prefactor '    .78563       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=   6385.309     FROM MIGRAD    STATUS=CONVERGED     51 CALLS      229 TOTAL
                     EDM=   .36E-09    STRATEGY= 1      ERR MATRIX NOT POS-DEF

  EXT PARAMETER                APPROXIMATE        STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  norm          2.1467        24.958        .70295E-03    .23972E-02
   2  alpha         2.5572        3.2597        .39074        .16709E-04
   3  Normalizat    1.1003        .76863E-01    .37973E-01   -.56037E-05
   4  Prefactor     .78602        .94880E-01    .66888E-01    .29961E-04
                               ERR DEF=  .500    
Final values: 
  norm       = 2.14675
  alpha      = 2.55716
  Normalizat = 1.1003
  Prefactor  = 0.786015
 **********
 **   18 **HESSE 
 **********

 FCN=   6385.309     FROM HESSE     STATUS=OK            33 CALLS      262 TOTAL
                     EDM=   .30E-09    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  norm          2.1467        1.2126        .59669E-05   -1.5679    
   2  alpha         2.5572        .59868        .15149E-01    .22867E-01
   3  Normalizat    1.1003        .18108        .20556E-03   -.89742    
   4  Prefactor     .78602        .22138        .29592E-03   -1.0025    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 2.9939e-10
Minuit parameter uncertainties:
  1  1.21262
  2  0.604559
  3  0.181186
  4  0.221634
shell-init: error retrieving current directory: getcwd: cannot access parent directories: No such file or directory
rmdir: failed to remove `/scratch/kocevski/954239': 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) = 6385.30871025
delta logL = 0.216104343014

Extracting fit parameters...

4FGL J1345.5+4453
   Spectrum: LogParabola
339         norm:  2.147e+00  1.213e+00  0.000e+00  1.000e+06 ( 1.000e-11)
340        alpha:  2.557e+00  6.046e-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:  7.860e-01  2.216e-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.100e+00  1.812e-01  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Free Index): 6.97
Ra Dec: 206.394 44.884
Photon Index (Free Index): 2.56 +/- 0.60
Photon Flux (Free Index): 6.09e-08 +/- 3.82e-08
Energy Flux (Free Index): 1.59e-05 +/- 8.74e-06

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/954239/cmap_HighResolution_692668801_692928001_4FGL_J1345.5+4453_daily_bin1749.png

Cleaning up...

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

Updating database...

UPDATE lightcurve_data_v2 SET comment='SUCCESS', photon_flux='4.58e-08', energy_flux2='1.59e-05', photon_flux_error='2.61e-08', dlogl='2.16e-01', energy_flux='1.76e-05', photon_flux2='6.09e-08', job_status='DONE', time_completed='2022-12-17 01:05:34.943281', photon_index_error2='0.60', photon_index2='2.56', ts='6.56', fit_tolerance='1e-08', GAL='0.77', photon_index_error='0.00', energy_flux_error2='8.74e-06', EG='1.12', time_epoch_completed='1671267934.94', return_code='0', job_id='954239', GAL2='0.79', EG2='1.10', return_code2='0', energy_flux_error='1.00e-05', photon_flux_error2='3.82e-08', ts2='6.97', photon_index='2.17' WHERE bin_id='1749' AND source_name='4FGL J1345.5+4453' AND cadence='daily';

Database successfully updated.


Analysis Complete.


Sat Dec 17 01:05:34 PST 2022


------------------------------------------------------------
Sender: LSF System <lsf@bullet0275>
Subject: Job 954239: <4FGL_J1345.5+4453_daily_bin1749> in cluster <slac> Done

Job <4FGL_J1345.5+4453_daily_bin1749> was submitted from host <rhel6-64k> by user <kocevski> in cluster <slac> at Sat Dec 17 00:50:13 2022
Job was executed on host(s) <bullet0275>, in queue <medium>, as user <kocevski> in cluster <slac> at Sat Dec 17 00:50:14 2022
</u/ki/kocevski> was used as the home directory.
</u/ki/kocevski> was used as the working directory.
Started at Sat Dec 17 00:50:14 2022
Terminated at Sat Dec 17 01:05:35 2022
Results reported at Sat Dec 17 01:05:35 2022

Your job looked like:

------------------------------------------------------------
# LSBATCH: User input
/nfs/farm/g/glast/g/LCRepository/Likelihood/Scripts/LikelihoodAnalysis.py 4FGL_J1345.5+4453_daily_bin1749 206.394 44.8844 692668801 692928001 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 :                                   681.27 sec.
    Max Memory :                                 1257 MB
    Average Memory :                             225.15 MB
    Total Requested Memory :                     -
    Delta Memory :                               -
    Max Swap :                                   -
    Max Processes :                              5
    Max Threads :                                21
    Run time :                                   921 sec.
    Turnaround time :                            922 sec.

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

