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


Performing analysis on: 4FGL_J1345.5+4453_daily_bin1769
RA = 206.394, Dec = 44.8844
tmin = 697852801, tmax = 698112001
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='435878', job_status='RUN', time_executed='2023-02-15 00:50:37.862201', time_epoch_executed='1676451037.86' WHERE source_name='4FGL J1345.5+4453' and cadence='daily' and bin_id='1769'

Database successfully updated.
Done.

Creating custom output directory:
/scratch/kocevski/435878

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

Retrieving the FT1 file...

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

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

Retrieving 46 files...
Done.


Merging files...

Checksum keywords updated successfully.

Merged file saved to:
/scratch/kocevski/435878/ft1_4FGL_J1345.5+4453_daily_bin1769.fits


Retrieving the FT1 file...

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

Retrieving 46 files...
Done.


Merging files...

Merged file saved to:
/scratch/kocevski/435878/ft2_4FGL_J1345.5+4453_daily_bin1769.fits


Selecting the photons:
time -p gtselect infile=/scratch/kocevski/435878/ft1_4FGL_J1345.5+4453_daily_bin1769.fits outfile=/scratch/kocevski/435878/ft1_filteredMKT_4FGL_J1345.5+4453_daily_bin1769.fits ra=206.394 dec=44.8844 rad=12.0 tmin=697852801.0 tmax=698112001.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 4.36
user 4.16
sys 0.18

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

Selecting the good time intervals:
time -p gtmktime scfile=/scratch/kocevski/435878/ft2_4FGL_J1345.5+4453_daily_bin1769.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/435878/ft1_filteredMKT_4FGL_J1345.5+4453_daily_bin1769.fits evtable="EVENTS" outfile="/scratch/kocevski/435878/ft1_filtered_4FGL_J1345.5+4453_daily_bin1769.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.33
sys 0.14

Number of photons that the gtmktime cut: 495

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

Generating the exposure map:
time -p gtexpmap evfile=/scratch/kocevski/435878/ft1_filtered_4FGL_J1345.5+4453_daily_bin1769.fits evtable="EVENTS" scfile=/scratch/kocevski/435878/ft2_4FGL_J1345.5+4453_daily_bin1769.fits sctable="SC_DATA" expcube=/scratch/kocevski/435878/ltcube_697852801_698112001_4FGL_J1345.5+4453_daily_bin1769.fits outfile=/scratch/kocevski/435878/expmap_697852801_698112001_4FGL_J1345.5+4453_daily_bin1769.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/435878/ltcube_697852801_698112001_4FGL_J1345.5+4453_daily_bin1769.fits
.....................!
real 189.30
user 185.33
sys 3.66

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/435878/ft1_filtered_4FGL_J1345.5+4453_daily_bin1769.fits scfile=/scratch/kocevski/435878/ft2_4FGL_J1345.5+4453_daily_bin1769.fits outfile=/scratch/kocevski/435878/cmap_697852801_698112001_4FGL_J1345.5+4453_daily_bin1769.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.53
user 0.37
sys 0.14

Creating the high resolution counts map:
time -p gtbin evfile=/scratch/kocevski/435878/ft1_filtered_4FGL_J1345.5+4453_daily_bin1769.fits scfile=/scratch/kocevski/435878/ft2_4FGL_J1345.5+4453_daily_bin1769.fits outfile=/scratch/kocevski/435878/cmap_HighResolution_697852801_698112001_4FGL_J1345.5+4453_daily_bin1769.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.53
user 0.38
sys 0.15

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

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

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

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

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'Prefactor '    .15081E-01   1.0000          .0000       .10000E+07
     2 'norm      '    2.3588       1.0000          .0000       .10000E+07
     3 'Prefactor '    .94174E-02   1.0000          .0000       .10000E+07
     4 'norm      '    .62343E-04   1.0000          .0000       .10000E+07
     5 'norm      '    5.7249       1.0000          .0000       .10000E+07
     6 'norm      '    .15775E-03   1.0000          .0000       .10000E+07
     7 'Prefactor '    .30732E-03   1.0000          .0000       .10000E+07
     8 'Prefactor '    43.494       1.0000          .0000       .10000E+07
     9 'Prefactor '    22.577       1.0000          .0000       .10000E+07
    10 'Prefactor '    .27274E-02   1.0000          .0000       .10000E+07
    11 'norm      '    3.7941       1.0000          .0000       .10000E+07
    12 'Prefactor '    .54662E-03   1.0000          .0000       .10000E+07
    13 'norm      '    .94108E-06   1.0000          .0000       .10000E+07
    14 'norm      '    .12291E-04   1.0000          .0000       .10000E+07
    15 'norm      '    .10867E-05   1.0000          .0000       .10000E+07
    16 'Prefactor '    134.00       1.0000          .0000       .10000E+07
    17 'Prefactor '    .17460E-03   1.0000          .0000       .10000E+07
    18 'Prefactor '    .19170E-02   1.0000          .0000       .10000E+07
    19 'Prefactor '    .85259E-03   1.0000          .0000       .10000E+07
    20 'norm      '    3.0451       1.0000          .0000       .10000E+07
    21 'Prefactor '    .50820E-06   1.0000          .0000       .10000E+07
    22 'Prefactor '    1.3631       1.0000          .0000       .10000E+07
    23 'Prefactor '    .11847E-02   1.0000          .0000       .10000E+07
    24 'norm      '    .24425E-08   1.0000          .0000       .10000E+07
    25 'Prefactor '    94.483       1.0000          .0000       .10000E+07
    26 'Prefactor '    .33351E-02   1.0000          .0000       .10000E+07
    27 'Prefactor '    10.182       1.0000          .0000       .10000E+07
    28 'Normalizat'    1.1422       1.0000         .10000E-01   10.000    
    29 'Prefactor '    .60851       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=   5321.716     FROM MIGRAD    STATUS=CONVERGED    209 CALLS     2706 TOTAL
                     EDM=   .15E-08  STRATEGY=1  ERROR MATRIX UNCERTAINTY=  1.0%

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor     .95368E-07    18.873        .13929E-08** at limit **
   2  norm          2.3603        1.8584        .92414E-08    .32716E-02
   3  Prefactor     .55511E-10    7.9360        .42324E-07** at limit **
   4  norm          .20539E-08    3.2551       -.10547E-07** at limit **
   5  norm          5.7220        2.6999       -.77950E-08   -.19421E-02
   6  norm           .0000        2.3759        .11783E-07** at limit **
   7  Prefactor     .55511E-09    3.4177       -.37458E-07** at limit **
   8  Prefactor     43.849        3.5123        .24715E-08   -.63244E-02
   9  Prefactor     22.332        1.5673        .24931E-08    .26159E-03
  10  Prefactor     .37748E-07    33.127        .95390E-07** at limit **
  11  norm          3.7908        3.4225        .13399E-07    .31492E-02
  12  Prefactor     .76980E-05    46.482       -.65405E-07** at limit **
  13  norm          .16653E-09    1.1892        .55305E-07** at limit **
  14  norm          .28866E-08    3.2717       -.43662E-07** at limit **
  15  norm           .0000        3.0304       -.52767E-07** at limit **
  16  Prefactor     138.12        52.499        .84818E-07    .18261    
  17  Prefactor     .29273E-04    50.607        .50823E-09** at limit **
  18  Prefactor      .0000        5.6279       -.47544E-07** at limit **
  19  Prefactor     .52373E-03    100.96       -.42314E-06** at limit **
  20  norm          3.0487        3.3778        .42675E-07    .56820E-02
  21  Prefactor     .49960E-09    4.4851        .83648E-07** at limit **
  22  Prefactor     1.2686        3.0121        .56301E-07    .39221E-02
  23  Prefactor     .11102E-08    5.7616       -.98479E-07** at limit **
  24  norm          .27756E-09    3.7276        .10118E-06** at limit **
  25  Prefactor     96.224        23.619       -.11371E-07    .23518    
  26  Prefactor     .11269E-07    20.856       -.19192E-06** at limit **
  27  Prefactor     10.152        9.1386        .13026E-07   -.26944E-01
  28  Normalizat    1.1408        .17762       -.67916E-07    .57652E-03
  29  Prefactor     .60890        .21493        .14897E-05    .39565E-03
                               ERR DEF=  .500    
Final values: 
  Prefactor  = 9.53682e-08
  norm       = 2.36031
  Prefactor  = 5.55112e-11
  norm       = 2.05391e-09
  norm       = 5.722
  norm       = 0
  Prefactor  = 5.55112e-10
  Prefactor  = 43.8493
  Prefactor  = 22.3317
  Prefactor  = 3.77476e-08
  norm       = 3.79084
  Prefactor  = 7.69795e-06
  norm       = 1.66533e-10
  norm       = 2.88658e-09
  norm       = 0
  Prefactor  = 138.116
  Prefactor  = 2.92729e-05
  Prefactor  = 0
  Prefactor  = 0.00052373
  norm       = 3.0487
  Prefactor  = 4.996e-10
  Prefactor  = 1.26857
  Prefactor  = 1.11022e-09
  norm       = 2.77556e-10
  Prefactor  = 96.2245
  Prefactor  = 1.12688e-08
  Prefactor  = 10.1522
  Normalizat = 1.14082
  Prefactor  = 0.608904
 **********
 **   18 **HESSE 
 **********

 FCN=   5321.716     FROM HESSE     STATUS=OK           609 CALLS     3315 TOTAL
                     EDM=   .46E-05    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  Prefactor     .95368E-07    11.102        .13299E-01   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   2  norm          2.3603        1.8592        .66702E-03   -1.5677    
   3  Prefactor     .55511E-10    7.9362        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   4  norm          .20539E-08    3.3097        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   5  norm          5.7220        8.5968        .41956E-03   -1.5660    
   6  norm           .0000        2.3654        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   7  Prefactor     .55511E-09    3.3726        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   8  Prefactor     43.849        34.634        .15164E-03   -1.5576    
   9  Prefactor     22.332        26.938        .21051E-03   -1.5613    
  10  Prefactor     .37748E-07    33.285        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  11  norm          3.7908        3.4486        .51799E-03   -1.5669    
  12  Prefactor     .76980E-05    49.196        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  13  norm          .16653E-09    1.1645        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  14  norm          .28866E-08    3.2733        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  15  norm           .0000        3.2236        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  16  Prefactor     138.12        66.557        .86393E-04   -1.5473    
  17  Prefactor     .29273E-04    66.434        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  18  Prefactor      .0000        5.6112        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  19  Prefactor     .52373E-03    264.67        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  20  norm          3.0487        3.3882        .58118E-03   -1.5673    
  21  Prefactor     .49960E-09    4.4890        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  22  Prefactor     1.2686        3.3616        .93467E-03   -1.5685    
  23  Prefactor     .11102E-08    5.7715        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  24  norm          .27756E-09    3.7313        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  25  Prefactor     96.224        45.786        .10288E-03   -1.5512    
  26  Prefactor     .11269E-07    20.893        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  27  Prefactor     10.152        10.306        .31377E-03   -1.5644    
  28  Normalizat    1.1408        .15719        .36494E-01   -.88452    
  29  Prefactor     .60890        .18739        .69547E-01   -1.0721    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 4.57459e-06
Minuit parameter uncertainties:
  1  0.00205767
  2  1.85921
  3  3.42539e-05
  4  0.000165483
  5  8.59678
  6  7.825e-06
  7  8.67092e-05
  8  34.6337
  9  26.938
  10  0.00224123
  11  3.44859
  12  0.0389212
  13  2.57144e-05
  14  0.000194469
  15  6.00105e-06
  16  66.5571
  17  0.0881987
  18  5.49898e-06
  19  0.74466
  20  3.38817
  21  9.30603e-05
  22  3.36159
  23  0.000159269
  24  6.12218e-05
  25  45.7865
  26  0.00097107
  27  10.3063
  28  0.157253
  29  0.187587
Done.

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

Extracting fit parameters...

4FGL J1345.5+4453
   Spectrum: LogParabola
339         norm:  1.665e-10  2.571e-05  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.089e-01  1.876e-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.141e+00  1.573e-01  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Fixed Index): -0.00
Ra Dec: 206.394 44.884
Photon Flux Upper Limit: 5.76e-08 ph cm-2 s-1
Energy Flux Upper Limit: 2.21e-05 MeV cm-2 s-1

Saving results to:
/scratch/kocevski/435878/likelihoodResults_697852801_698112001_4FGL_J1345.5+4453_daily_bin1769.txt

Performing a free index iterative likelihood fit...

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

Done.

Freeing candidate source...
Done.

Fit tolerance = 1

Performing likelihood fit...
Done.

MINUIT Return Code (Free Index): 0
logL (Free Index) = 5320.79545866
delta logL = 0.921019112484

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

MINUIT Return Code (Free Index): 0
logL (Free Index) = 5320.76415186
delta logL = 0.95232590878

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'norm      '    .22684       1.0000          .0000       .10000E+07
     2 'alpha     '    4.6308       1.0000          .0000       5.0000    
     3 'Normalizat'    1.0590       1.0000         .10000E-01   10.000    
     4 'Prefactor '    .66746       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.

 MIGRAD MINIMIZATION HAS CONVERGED.

 MIGRAD WILL VERIFY CONVERGENCE AND ERROR MATRIX.

 FCN=   5320.764     FROM MIGRAD    STATUS=CONVERGED     94 CALLS      295 TOTAL
                     EDM=   .56E-10    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  norm          .22689        .93841        .26606E-05** at limit **
   2  alpha         4.6311        4.7998        .41336E-01    .54861E-05
   3  Normalizat    1.0590        .18542        .19664E-03    .50761E-04
   4  Prefactor     .66747        .21966        .29503E-03    .13179E-04
                               ERR DEF=  .500    
Final values: 
  norm       = 0.226894
  alpha      = 4.63108
  Normalizat = 1.05897
  Prefactor  = 0.667465
 **********
 **   18 **HESSE 
 **********

 FCN=   5320.764     FROM HESSE     STATUS=OK            25 CALLS      320 TOTAL
                     EDM=   .16E-10    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  norm          .22689        .48982        .10643E-06   -1.5698    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   2  alpha         4.6311        3.8992        .16534E-02    1.0206    
   3  Normalizat    1.0590        .18568        .78656E-05   -.91080    
   4  Prefactor     .66747        .21998        .11801E-04   -1.0482    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 1.60782e-11
Minuit parameter uncertainties:
  1  0.489817
  2  1.68722
  3  0.185794
  4  0.220271
shell-init: error retrieving current directory: getcwd: cannot access parent directories: No such file or directory
rmdir: failed to remove `/scratch/kocevski/435878': 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) = 5320.76415165
delta logL = 0.952326118345

Extracting fit parameters...

4FGL J1345.5+4453
   Spectrum: LogParabola
339         norm:  2.269e-01  4.898e-01  0.000e+00  1.000e+06 ( 1.000e-11)
340        alpha:  4.631e+00  1.687e+00  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.675e-01  2.203e-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.059e+00  1.858e-01  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Free Index): 2.03
Ra Dec: 206.394 44.884
Photon Index (Free Index): 4.63 +/- 1.69
Photon Flux (Free Index): 6.21e-08 +/- 5.05e-08
Energy Flux (Free Index): 8.68e-06 +/- 7.11e-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/435878/cmap_HighResolution_697852801_698112001_4FGL_J1345.5+4453_daily_bin1769.png

Cleaning up...

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

Updating database...

UPDATE lightcurve_data_v2 SET energy_flux_upper_limit='2.21e-05', comment='SUCCESS', energy_flux2='8.68e-06', dlogl='9.52e-01', photon_flux2='6.21e-08', job_status='DONE', time_completed='2023-02-15 01:02:07.075163', photon_index_error2='1.69', photon_index2='4.63', ts='-0.00', fit_tolerance='1e-08', GAL='0.61', photon_index_error='0.00', photon_flux_upper_limit='5.76e-08', energy_flux_error2='7.11e-06', EG='1.14', time_epoch_completed='1676451727.08', return_code='0', job_id='435878', GAL2='0.67', EG2='1.06', return_code2='0', photon_flux_error2='5.05e-08', ts2='2.03', photon_index='2.17' WHERE bin_id='1769' AND source_name='4FGL J1345.5+4453' AND cadence='daily';

Database successfully updated.


Analysis Complete.


Wed Feb 15 01:02:07 PST 2023


------------------------------------------------------------
Sender: LSF System <lsf@bullet0215>
Subject: Job 435878: <4FGL_J1345.5+4453_daily_bin1769> in cluster <slac> Done

Job <4FGL_J1345.5+4453_daily_bin1769> was submitted from host <rhel6-64p> by user <kocevski> in cluster <slac> at Wed Feb 15 00:50:23 2023
Job was executed on host(s) <bullet0215>, in queue <medium>, as user <kocevski> in cluster <slac> at Wed Feb 15 00:50:25 2023
</u/ki/kocevski> was used as the home directory.
</u/ki/kocevski> was used as the working directory.
Started at Wed Feb 15 00:50:25 2023
Terminated at Wed Feb 15 01:02:07 2023
Results reported at Wed Feb 15 01:02:07 2023

Your job looked like:

------------------------------------------------------------
# LSBATCH: User input
/nfs/farm/g/glast/g/LCRepository/Likelihood/Scripts/LikelihoodAnalysis.py 4FGL_J1345.5+4453_daily_bin1769 206.394 44.8844 697852801 698112001 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 :                                   689.13 sec.
    Max Memory :                                 1257 MB
    Average Memory :                             333.28 MB
    Total Requested Memory :                     -
    Delta Memory :                               -
    Max Swap :                                   -
    Max Processes :                              5
    Max Threads :                                21
    Run time :                                   702 sec.
    Turnaround time :                            704 sec.

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

