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


Performing analysis on: 4FGL_J1345.5+4453_daily_bin1711
RA = 206.394, Dec = 44.8844
tmin = 682819201, tmax = 683078401
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='137823', job_status='RUN', time_executed='2022-09-16 17:56:05.336793', time_epoch_executed='1663376165.34' WHERE source_name='4FGL J1345.5+4453' and cadence='daily' and bin_id='1711'

Database successfully updated.
Done.

Creating custom output directory:
/scratch/kocevski/137823

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

Retrieving the FT1 file...

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

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

Retrieving 46 files...
Done.


Merging files...

Checksum keywords updated successfully.

Merged file saved to:
/scratch/kocevski/137823/ft1_4FGL_J1345.5+4453_daily_bin1711.fits


Retrieving the FT1 file...

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

Retrieving 46 files...
Done.


Merging files...

Merged file saved to:
/scratch/kocevski/137823/ft2_4FGL_J1345.5+4453_daily_bin1711.fits


Selecting the photons:
time -p gtselect infile=/scratch/kocevski/137823/ft1_4FGL_J1345.5+4453_daily_bin1711.fits outfile=/scratch/kocevski/137823/ft1_filteredMKT_4FGL_J1345.5+4453_daily_bin1711.fits ra=206.394 dec=44.8844 rad=12.0 tmin=682819201.0 tmax=683078401.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.76
user 3.51
sys 0.21

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

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

Number of photons that the gtmktime cut: 535

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

Generating the exposure map:
time -p gtexpmap evfile=/scratch/kocevski/137823/ft1_filtered_4FGL_J1345.5+4453_daily_bin1711.fits evtable="EVENTS" scfile=/scratch/kocevski/137823/ft2_4FGL_J1345.5+4453_daily_bin1711.fits sctable="SC_DATA" expcube=/scratch/kocevski/137823/ltcube_682819201_683078401_4FGL_J1345.5+4453_daily_bin1711.fits outfile=/scratch/kocevski/137823/expmap_682819201_683078401_4FGL_J1345.5+4453_daily_bin1711.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/137823/ltcube_682819201_683078401_4FGL_J1345.5+4453_daily_bin1711.fits
.....................!
real 158.38
user 152.40
sys 5.45

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/137823/ft1_filtered_4FGL_J1345.5+4453_daily_bin1711.fits scfile=/scratch/kocevski/137823/ft2_4FGL_J1345.5+4453_daily_bin1711.fits outfile=/scratch/kocevski/137823/cmap_682819201_683078401_4FGL_J1345.5+4453_daily_bin1711.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.36
sys 0.15

Creating the high resolution counts map:
time -p gtbin evfile=/scratch/kocevski/137823/ft1_filtered_4FGL_J1345.5+4453_daily_bin1711.fits scfile=/scratch/kocevski/137823/ft2_4FGL_J1345.5+4453_daily_bin1711.fits outfile=/scratch/kocevski/137823/cmap_HighResolution_682819201_683078401_4FGL_J1345.5+4453_daily_bin1711.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.17

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

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

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

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

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'Prefactor '    .22830E-04   1.0000          .0000       .10000E+07
     2 'norm      '    2.8524       1.0000          .0000       .10000E+07
     3 'Prefactor '    6.0552       1.0000          .0000       .10000E+07
     4 'norm      '    .17022E-05   1.0000          .0000       .10000E+07
     5 'norm      '    .14239E-06   1.0000          .0000       .10000E+07
     6 'norm      '    .41540       1.0000          .0000       .10000E+07
     7 'Prefactor '    5.2670       1.0000          .0000       .10000E+07
     8 'Prefactor '    23.037       1.0000          .0000       .10000E+07
     9 'Prefactor '    69.135       1.0000          .0000       .10000E+07
    10 'Prefactor '    .59872E-01   1.0000          .0000       .10000E+07
    11 'norm      '    .19401E-06   1.0000          .0000       .10000E+07
    12 'Prefactor '    .66425E-06   1.0000          .0000       .10000E+07
    13 'norm      '    .79298       1.0000          .0000       .10000E+07
    14 'norm      '    4.7050       1.0000          .0000       .10000E+07
    15 'norm      '    15.013       1.0000          .0000       .10000E+07
    16 'Prefactor '    .19520       1.0000          .0000       .10000E+07
    17 'Prefactor '    16.997       1.0000          .0000       .10000E+07
    18 'Prefactor '    .39913E-07   1.0000          .0000       .10000E+07
    19 'Prefactor '    .84369E-04   1.0000          .0000       .10000E+07
    20 'norm      '    5.8315       1.0000          .0000       .10000E+07
    21 'Prefactor '    .10159E-07   1.0000          .0000       .10000E+07
    22 'Prefactor '    .18513E-06   1.0000          .0000       .10000E+07
    23 'Prefactor '    .28338E-06   1.0000          .0000       .10000E+07
    24 'norm      '    .12212E-07   1.0000          .0000       .10000E+07
    25 'Prefactor '    20.357       1.0000          .0000       .10000E+07
    26 'Prefactor '    .85599E-02   1.0000          .0000       .10000E+07
    27 'Prefactor '    7.6338       1.0000          .0000       .10000E+07
    28 'Normalizat'    .78357       1.0000         .10000E-01   10.000    
    29 'Prefactor '    1.3335       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=   5920.665     FROM MIGRAD    STATUS=CONVERGED    194 CALLS     2784 TOTAL
                     EDM=   .96E-09  STRATEGY=1  ERROR MATRIX UNCERTAINTY=  1.2%

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor     .10547E-06    5.7828       -.15285E-05** at limit **
   2  norm          2.8533        2.1610        .33664E-06    .59656E-02
   3  Prefactor     6.2202        8.4295        .66632E-05   -.37450E-01
   4  norm          .15121E-06    5.7926       -.51624E-05** at limit **
   5  norm          .81601E-08    8.8622       -.11465E-05** at limit **
   6  norm          .40661        8.8638        .10208E-05   -.17506E-02
   7  Prefactor     5.2103        6.2670       -.75317E-06    .42259E-02
   8  Prefactor     24.100        30.764        .21282E-05   -.45562E-02
   9  Prefactor     70.762        88.220        .42433E-05   -.31949E-02
  10  Prefactor     .25751E-05    70.769        .97115E-05** at limit **
  11  norm           .0000        2.7019       -.10249E-06** at limit **
  12  Prefactor     .44964E-08    6.6959       -.92060E-06** at limit **
  13  norm          .79233        1.2543       -.83318E-07   -.46097E-02
  14  norm          4.7134        3.7863        .26197E-06   -.42203E-02
  15  norm          15.018        5.4243        .24689E-05    .14052E-02
  16  Prefactor     .15323E-04    7.3934        .64814E-05** at limit **
  17  Prefactor     16.939        1.8087        .18692E-06   -.12555E-01
  18  Prefactor      .0000        1.4013        .37537E-06** at limit **
  19  Prefactor     .12490E-07    6.4007       -.99951E-06** at limit **
  20  norm          5.8361        4.4326        .35975E-07   -.31708E-03
  21  Prefactor     .77716E-09    6.4032       -.91846E-06** at limit **
  22  Prefactor     .10630E-06    15.703       -.86040E-06** at limit **
  23  Prefactor     .15543E-08    10.993        .89499E-06** at limit **
  24  norm          .13267E-06    5.6703        .55492E-05** at limit **
  25  Prefactor     20.090        4.1034       -.18457E-06    .10516E-01
  26  Prefactor     .69389E-08    75.916        .15252E-05** at limit **
  27  Prefactor     7.8174        2.1678       -.67744E-06   -.56522E-02
  28  Normalizat    .78292        .19041       -.10757E-04   -.20542E-03
  29  Prefactor     1.3332        .23881       -.97616E-06   -.22946E-03
                               ERR DEF=  .500    
Final values: 
  Prefactor  = 1.05471e-07
  norm       = 2.85328
  Prefactor  = 6.2202
  norm       = 1.51212e-07
  norm       = 8.16014e-09
  norm       = 0.406613
  Prefactor  = 5.21026
  Prefactor  = 24.0996
  Prefactor  = 70.762
  Prefactor  = 2.57511e-06
  norm       = 0
  Prefactor  = 4.4964e-09
  norm       = 0.79233
  norm       = 4.71336
  norm       = 15.0185
  Prefactor  = 1.53226e-05
  Prefactor  = 16.939
  Prefactor  = 0
  Prefactor  = 1.249e-08
  norm       = 5.83608
  Prefactor  = 7.77156e-10
  Prefactor  = 1.06304e-07
  Prefactor  = 1.55431e-09
  norm       = 1.32672e-07
  Prefactor  = 20.0903
  Prefactor  = 6.93889e-09
  Prefactor  = 7.81735
  Normalizat = 0.782918
  Prefactor  = 1.33319
 **********
 **   18 **HESSE 
 **********

 FCN=   5920.665     FROM HESSE     STATUS=OK           625 CALLS     3409 TOTAL
                     EDM=   .24E-06    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  Prefactor     .10547E-06    17.014        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   2  norm          2.8533        2.1570        .60173E-03   -1.5674    
   3  Prefactor     6.2202        14.756        .40779E-03   -1.5658    
   4  norm          .15121E-06    6.6647        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   5  norm          .81601E-08    8.9262        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   6  norm          .40661        2.3990        .61609E-02   -1.5695    
   7  Prefactor     5.2103        6.3567        .43773E-03   -1.5662    
   8  Prefactor     24.100        33.513        .20840E-03   -1.5610    
   9  Prefactor     70.762        88.699        .12028E-03   -1.5540    
  10  Prefactor     .25751E-05    23.442        .15167E-01   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  11  norm           .0000        2.6931        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  12  Prefactor     .44964E-08    17.275        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  13  norm          .79233        1.2704        .53460E-03   -1.5690    
  14  norm          4.7134        3.7911        .46368E-03   -1.5665    
  15  norm          15.018        13.432        .25823E-03   -1.5630    
  16  Prefactor     .15323E-04    114.51        .11862E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  17  Prefactor     16.939        26.379        .24267E-03   -1.5626    
  18  Prefactor      .0000        1.4014        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  19  Prefactor     .12490E-07    16.658        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  20  norm          5.8361        4.4339        .41565E-03   -1.5660    
  21  Prefactor     .77716E-09    6.4147        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  22  Prefactor     .10630E-06    1.9622        .42118E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  23  Prefactor     .15543E-08    11.081        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  24  norm          .13267E-06    6.4727        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  25  Prefactor     20.090        20.783        .22171E-03   -1.5618    
  26  Prefactor     .69389E-08    75.914        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  27  Prefactor     7.8174        14.654        .36272E-03   -1.5652    
  28  Normalizat    .78292        .16390        .43396E-01   -1.0071    
  29  Prefactor     1.3332        .20378        .56486E-01   -.82326    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 2.44462e-07
Minuit parameter uncertainties:
  1  0.00267925
  2  2.15704
  3  14.7565
  4  0.00200768
  5  0.000540055
  6  1.97533
  7  6.35672
  8  33.5137
  9  88.7002
  10  0.015539
  11  8.06127e-06
  12  0.000557551
  13  1.27041
  14  3.79109
  15  13.4318
  16  0.0837758
  17  26.3793
  18  3.20333e-07
  19  0.000911887
  20  4.43388
  21  0.000142684
  22  0.000913392
  23  0.000263003
  24  0.00185352
  25  20.7832
  26  0.00144894
  27  14.6541
  28  0.164007
  29  0.203902
Done.

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

Extracting fit parameters...

4FGL J1345.5+4453
   Spectrum: LogParabola
339         norm:  7.923e-01  1.270e+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:  1.333e+00  2.039e-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:  7.829e-01  1.640e-01  1.000e-02  1.000e+01 ( 1.000e+00)


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

Saving results to:
/scratch/kocevski/137823/likelihoodResults_682819201_683078401_4FGL_J1345.5+4453_daily_bin1711.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) = 5920.64551638
delta logL = 0.0195549222017

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

MINUIT Return Code (Free Index): 0
logL (Free Index) = 5920.64528949
delta logL = 0.0197818100814

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'norm      '    .80062       1.0000          .0000       .10000E+07
     2 'alpha     '    1.9941       1.0000          .0000       5.0000    
     3 'Normalizat'    .78584       1.0000         .10000E-01   10.000    
     4 'Prefactor '    1.3303       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=   5920.645     FROM MIGRAD    STATUS=CONVERGED     53 CALLS      202 TOTAL
                     EDM=   .16E-08    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  norm          .80535        2.5057        .52888E-03    .10323E-01
   2  alpha         1.9978        1.3234        .42270       -.21535E-04
   3  Normalizat    .78581        .15843        .43425E-01    .36806E-04
   4  Prefactor     1.3302        .20736        .56537E-01    .22223E-04
                               ERR DEF=  .500    
Final values: 
  norm       = 0.805347
  alpha      = 1.99777
  Normalizat = 0.785809
  Prefactor  = 1.33018
 **********
 **   18 **HESSE 
 **********

 FCN=   5920.645     FROM HESSE     STATUS=OK            33 CALLS      235 TOTAL
                     EDM=   .19E-11    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  norm          .80535        1.2344        .10167E-04   -1.5690    
   2  alpha         1.9978        .82029        .21131E-01   -.20227    
   3  Normalizat    .78581        .18633        .24917E-03   -1.0060    
   4  Prefactor     1.3302        .23833        .24999E-03   -.82414    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 1.88591e-12
Minuit parameter uncertainties:
  1  1.23443
  2  0.836462
  3  0.186483
  4  0.238522
shell-init: error retrieving current directory: getcwd: cannot access parent directories: No such file or directory
rmdir: failed to remove `/scratch/kocevski/137823': 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) = 5920.64527449
delta logL = 0.0197968091079

Extracting fit parameters...

4FGL J1345.5+4453
   Spectrum: LogParabola
339         norm:  8.053e-01  1.234e+00  0.000e+00  1.000e+06 ( 1.000e-11)
340        alpha:  1.998e+00  8.365e-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:  1.330e+00  2.385e-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:  7.858e-01  1.865e-01  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Free Index): 0.49
Ra Dec: 206.394 44.884

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/137823/cmap_HighResolution_682819201_683078401_4FGL_J1345.5+4453_daily_bin1711.png

Cleaning up...

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

Updating database...

UPDATE lightcurve_data_v2 SET energy_flux_upper_limit='3.00e-05', job_status='DONE', photon_flux_upper_limit='7.81e-08', time_completed='2022-09-16 18:06:39.797625', job_id='137823', GAL2='1.33', fit_tolerance='1e-08', EG2='0.79', EG='0.78', time_epoch_completed='1663376799.8', return_code2='0', ts='0.49', comment='SUCCESS', return_code='0', GAL='1.33', dlogl='1.98e-02', ts2='0.53', photon_index_error='0.00', photon_index='2.17' WHERE bin_id='1711' AND source_name='4FGL J1345.5+4453' AND cadence='daily';

Database successfully updated.


Analysis Complete.


Fri Sep 16 18:06:39 PDT 2022


------------------------------------------------------------
Sender: LSF System <scs@bullet0026>
Subject: Job 137823: <4FGL_J1345.5+4453_daily_bin1711> in cluster <slac> Done

Job <4FGL_J1345.5+4453_daily_bin1711> was submitted from host <rhel6-64e> by user <kocevski> in cluster <slac> at Fri Sep 16 17:50:16 2022
Job was executed on host(s) <bullet0026>, in queue <medium>, as user <kocevski> in cluster <slac> at Fri Sep 16 17:52:32 2022
</u/ki/kocevski> was used as the home directory.
</u/ki/kocevski> was used as the working directory.
Started at Fri Sep 16 17:52:32 2022
Terminated at Fri Sep 16 18:06:40 2022
Results reported at Fri Sep 16 18:06:40 2022

Your job looked like:

------------------------------------------------------------
# LSBATCH: User input
/nfs/farm/g/glast/g/LCRepository/Likelihood/Scripts/LikelihoodAnalysis.py 4FGL_J1345.5+4453_daily_bin1711 206.394 44.8844 682819201 683078401 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 :                                   635.13 sec.
    Max Memory :                                 1257 MB
    Average Memory :                             302.57 MB
    Total Requested Memory :                     -
    Delta Memory :                               -
    Max Swap :                                   -
    Max Processes :                              5
    Max Threads :                                21
    Run time :                                   848 sec.
    Turnaround time :                            984 sec.

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

