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


Performing analysis on: 4FGL_J1345.5+4453_daily_bin1752
RA = 206.394, Dec = 44.8844
tmin = 693446401, tmax = 693705601
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='264944', job_status='RUN', time_executed='2022-12-26 01:04:16.515688', time_epoch_executed='1672045456.52' WHERE source_name='4FGL J1345.5+4453' and cadence='daily' and bin_id='1752'

Database successfully updated.
Done.

Creating custom output directory:
/scratch/kocevski/264944

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

Retrieving the FT1 file...

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

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

Retrieving 46 files...
Done.


Merging files...

Checksum keywords updated successfully.

Merged file saved to:
/scratch/kocevski/264944/ft1_4FGL_J1345.5+4453_daily_bin1752.fits


Retrieving the FT1 file...

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

Retrieving 46 files...
Done.


Merging files...

Merged file saved to:
/scratch/kocevski/264944/ft2_4FGL_J1345.5+4453_daily_bin1752.fits


Selecting the photons:
time -p gtselect infile=/scratch/kocevski/264944/ft1_4FGL_J1345.5+4453_daily_bin1752.fits outfile=/scratch/kocevski/264944/ft1_filteredMKT_4FGL_J1345.5+4453_daily_bin1752.fits ra=206.394 dec=44.8844 rad=12.0 tmin=693446401.0 tmax=693705601.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.51
user 3.26
sys 0.21

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

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

Number of photons that the gtmktime cut: 443

Generating the livetime cube:
time -p gtltcube evfile="/scratch/kocevski/264944/ft1_filtered_4FGL_J1345.5+4453_daily_bin1752.fits" evtable="EVENTS" scfile=/scratch/kocevski/264944/ft2_4FGL_J1345.5+4453_daily_bin1752.fits sctable="SC_DATA" outfile=/scratch/kocevski/264944/ltcube_693446401_693705601_4FGL_J1345.5+4453_daily_bin1752.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/264944/ft2_4FGL_J1345.5+4453_daily_bin1752.fits
.....................!
real 14.22
user 13.77
sys 0.33

Generating the exposure map:
time -p gtexpmap evfile=/scratch/kocevski/264944/ft1_filtered_4FGL_J1345.5+4453_daily_bin1752.fits evtable="EVENTS" scfile=/scratch/kocevski/264944/ft2_4FGL_J1345.5+4453_daily_bin1752.fits sctable="SC_DATA" expcube=/scratch/kocevski/264944/ltcube_693446401_693705601_4FGL_J1345.5+4453_daily_bin1752.fits outfile=/scratch/kocevski/264944/expmap_693446401_693705601_4FGL_J1345.5+4453_daily_bin1752.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/264944/ltcube_693446401_693705601_4FGL_J1345.5+4453_daily_bin1752.fits
.....................!
real 192.41
user 186.44
sys 5.43

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/264944/ft1_filtered_4FGL_J1345.5+4453_daily_bin1752.fits scfile=/scratch/kocevski/264944/ft2_4FGL_J1345.5+4453_daily_bin1752.fits outfile=/scratch/kocevski/264944/cmap_693446401_693705601_4FGL_J1345.5+4453_daily_bin1752.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.61
user 0.39
sys 0.17

Creating the high resolution counts map:
time -p gtbin evfile=/scratch/kocevski/264944/ft1_filtered_4FGL_J1345.5+4453_daily_bin1752.fits scfile=/scratch/kocevski/264944/ft2_4FGL_J1345.5+4453_daily_bin1752.fits outfile=/scratch/kocevski/264944/cmap_HighResolution_693446401_693705601_4FGL_J1345.5+4453_daily_bin1752.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.39
sys 0.17

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

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

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

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

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'Prefactor '    5.2291       1.0000          .0000       .10000E+07
     2 'norm      '    8.6931       1.0000          .0000       .10000E+07
     3 'Prefactor '    .29301E-02   1.0000          .0000       .10000E+07
     4 'norm      '    .98818       1.0000          .0000       .10000E+07
     5 'norm      '    2.5905       1.0000          .0000       .10000E+07
     6 'norm      '    .24497E-05   1.0000          .0000       .10000E+07
     7 'Prefactor '    7.3600       1.0000          .0000       .10000E+07
     8 'Prefactor '    .50774E-03   1.0000          .0000       .10000E+07
     9 'Prefactor '    71.762       1.0000          .0000       .10000E+07
    10 'Prefactor '    .88669E-03   1.0000          .0000       .10000E+07
    11 'norm      '    1.3545       1.0000          .0000       .10000E+07
    12 'Prefactor '    .15780E-02   1.0000          .0000       .10000E+07
    13 'norm      '    .68718       1.0000          .0000       .10000E+07
    14 'norm      '    1.4842       1.0000          .0000       .10000E+07
    15 'norm      '    .22607E-04   1.0000          .0000       .10000E+07
    16 'Prefactor '    .22098E-04   1.0000          .0000       .10000E+07
    17 'Prefactor '    61.210       1.0000          .0000       .10000E+07
    18 'Prefactor '    .13717E-06   1.0000          .0000       .10000E+07
    19 'Prefactor '    5.0741       1.0000          .0000       .10000E+07
    20 'norm      '    1.9774       1.0000          .0000       .10000E+07
    21 'Prefactor '    .46837E-02   1.0000          .0000       .10000E+07
    22 'Prefactor '    4.0894       1.0000          .0000       .10000E+07
    23 'Prefactor '    51.029       1.0000          .0000       .10000E+07
    24 'norm      '    4.9524       1.0000          .0000       .10000E+07
    25 'Prefactor '    1.3753       1.0000          .0000       .10000E+07
    26 'Prefactor '    .92273E-04   1.0000          .0000       .10000E+07
    27 'Prefactor '    11.559       1.0000          .0000       .10000E+07
    28 'Normalizat'    .79707       1.0000         .10000E-01   10.000    
    29 'Prefactor '    .93750       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=   4817.851     FROM MIGRAD    STATUS=CONVERGED    185 CALLS     2691 TOTAL
                     EDM=   .10E-08  STRATEGY=1  ERROR MATRIX UNCERTAINTY=  1.8%

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor     5.2150        7.5086       -.36149E-05   -.29176E-01
   2  norm          8.6869        3.5191        .61196E-08   -.10791E-02
   3  Prefactor     .79825E-07    20.869       -.21783E-05** at limit **
   4  norm          1.0116        6.3031       -.51218E-06   -.84156E-02
   5  norm          2.6307        10.617       -.13907E-05   -.35190E-02
   6  norm          .55511E-10    4.9574        .33069E-06** at limit **
   7  Prefactor     7.4049        5.3158        .24346E-06    .81900E-03
   8  Prefactor     .43854E-08    12.610       -.26334E-06** at limit **
   9  Prefactor     72.373        13.841        .53155E-06   -.78876E-01
  10  Prefactor     .17375E-07    166.68        .20064E-05** at limit **
  11  norm          1.3594        1.9912        .24048E-06   -.30581E-02
  12  Prefactor     .22865E-06    12.742       -.78224E-06** at limit **
  13  norm          .68808        .68196       -.42903E-07    .16891E-02
  14  norm          1.4766        3.8702       -.18378E-06    .19252E-03
  15  norm          .27756E-09    8.1348       -.49939E-06** at limit **
  16  Prefactor     .54007E-06    51.076        .10995E-05** at limit **
  17  Prefactor     61.871        13.382       -.16585E-05    .13535    
  18  Prefactor      .0000        2.6396       -.26796E-06** at limit **
  19  Prefactor     5.0748        8.1257       -.25108E-05   -.67984E-01
  20  norm          1.9947        3.6784       -.30971E-06    .39828E-03
  21  Prefactor     .63172E-07    17.687        .73191E-05** at limit **
  22  Prefactor     4.0930        2.9398       -.74210E-07   -.78065E-03
  23  Prefactor     51.101        7.1648       -.48120E-06    .13694E-01
  24  norm          4.9117        13.102       -.62303E-06   -.18756E-01
  25  Prefactor     1.3570        2.0990        .17780E-05    .50559E-03
  26  Prefactor     .95646E-07    18.768       -.55596E-05** at limit **
  27  Prefactor     11.560        11.040       -.59405E-06   -.55811E-01
  28  Normalizat    .79576        .19627        .16725E-04   -.28132E-04
  29  Prefactor     .93816        .24487       -.26276E-05   -.41260E-04
                               ERR DEF=  .500    
Final values: 
  Prefactor  = 5.21501
  norm       = 8.68691
  Prefactor  = 7.9825e-08
  norm       = 1.01155
  norm       = 2.6307
  norm       = 5.55112e-11
  Prefactor  = 7.40487
  Prefactor  = 4.38538e-09
  Prefactor  = 72.3727
  Prefactor  = 1.7375e-08
  norm       = 1.35937
  Prefactor  = 2.2865e-07
  norm       = 0.688081
  norm       = 1.47665
  norm       = 2.77556e-10
  Prefactor  = 5.40068e-07
  Prefactor  = 61.8709
  Prefactor  = 0
  Prefactor  = 5.07476
  norm       = 1.99472
  Prefactor  = 6.31717e-08
  Prefactor  = 4.093
  Prefactor  = 51.1007
  norm       = 4.91172
  Prefactor  = 1.35701
  Prefactor  = 9.56457e-08
  Prefactor  = 11.5603
  Normalizat = 0.795764
  Prefactor  = 0.938159
 **********
 **   18 **HESSE 
 **********

 FCN=   4817.851     FROM HESSE     STATUS=OK           615 CALLS     3306 TOTAL
                     EDM=   .13E-05    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  Prefactor     5.2150        17.840        .43934E-03   -1.5662    
   2  norm          8.6869        3.5240        .33973E-03   -1.5649    
   3  Prefactor     .79825E-07    23.962        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   4  norm          1.0116        6.4797        .43347E-03   -1.5688    
   5  norm          2.6307        10.725        .63371E-03   -1.5676    
   6  norm          .55511E-10    4.9416        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   7  Prefactor     7.4049        5.6461        .36946E-03   -1.5654    
   8  Prefactor     .43854E-08    12.725        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   9  Prefactor     72.373        65.984        .11805E-03   -1.5538    
  10  Prefactor     .17375E-07    171.08        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  11  norm          1.3594        2.0285        .93905E-03   -1.5685    
  12  Prefactor     .22865E-06    31.101        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  13  norm          .68808        .67346        .61755E-03   -1.5691    
  14  norm          1.4766        3.8987        .88029E-03   -1.5684    
  15  norm          .27756E-09    8.1478        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  16  Prefactor     .54007E-06    52.342        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  17  Prefactor     61.871        43.448        .12782E-03   -1.5551    
  18  Prefactor      .0000        2.6399        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  19  Prefactor     5.0748        13.160        .44613E-03   -1.5663    
  20  norm          1.9947        3.7335        .73688E-03   -1.5680    
  21  Prefactor     .63172E-07    26.714        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  22  Prefactor     4.0930        3.1070        .49830E-03   -1.5668    
  23  Prefactor     51.101        23.888        .14000E-03   -1.5565    
  24  norm          4.9117        14.451        .45169E-03   -1.5664    
  25  Prefactor     1.3570        115.39        .92857E-03   -1.5685    
  26  Prefactor     .95646E-07    32.723        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  27  Prefactor     11.560        11.748        .29441E-03   -1.5640    
  28  Normalizat    .79576        .16964        .43572E-01   -1.0023    
  29  Prefactor     .93816        .20843        .45481E-01   -.94820    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 1.25586e-06
Minuit parameter uncertainties:
  1  17.8399
  2  3.52401
  3  0.00276581
  4  5.12039
  5  10.6236
  6  3.42508e-05
  7  5.64612
  8  0.000472662
  9  65.9844
  10  0.00344773
  11  2.02846
  12  0.00533345
  13  0.673464
  14  3.89868
  15  9.96753e-05
  16  0.0106339
  17  43.4484
  18  3.37409e-06
  19  13.1598
  20  3.73351
  21  0.00259859
  22  3.10704
  23  23.8879
  24  14.451
  25  25.0273
  26  0.00353873
  27  11.748
  28  0.169758
  29  0.208609
Done.

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

Extracting fit parameters...

4FGL J1345.5+4453
   Spectrum: LogParabola
339         norm:  6.881e-01  6.735e-01  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:  9.382e-01  2.086e-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.958e-01  1.698e-01  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Fixed Index): 5.19
Ra Dec: 206.394 44.884
Photon Index (Fixed Index): 2.17 +/- 0.00
Photon Flux (Fixed Index): 1.45e-08 +/- 1.42e-08
Energy Flux (Fixed Index): 5.58e-06 +/- 5.46e-06

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) = 4813.9181981
delta logL = 3.93279288099

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

MINUIT Return Code (Free Index): 0
logL (Free Index) = 4813.68798982
delta logL = 4.16300116506

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'norm      '    .17566E-01   1.0000          .0000       .10000E+07
     2 'alpha     '    .70590E-01   1.0000          .0000       5.0000    
     3 'Normalizat'    .80224       1.0000         .10000E-01   10.000    
     4 'Prefactor '    .93910       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=   4813.688     FROM MIGRAD    STATUS=CONVERGED     51 CALLS      238 TOTAL
                     EDM=   .85E-08    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  norm          .17461E-01    .47248E-01    .17202E-03** at limit **
   2  alpha         .68476E-01    3.0729        .48009        .80210E-04
   3  Normalizat    .80271        .16200        .43640E-01    .10402E-04
   4  Prefactor     .93857        .20473        .45501E-01    .77815E-05
                               ERR DEF=  .500    
Final values: 
  norm       = 0.0174609
  alpha      = 0.0684759
  Normalizat = 0.802708
  Prefactor  = 0.938574
 **********
 **   18 **HESSE 
 **********

 FCN=   4813.688     FROM HESSE     STATUS=OK            33 CALLS      271 TOTAL
                     EDM=   .81E-11    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  norm          .17461E-01    .78858E-01    .83526E-05   -1.5705    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   2  alpha         .68476E-01    3.7723        .29554E-02   -1.3362    
   3  Normalizat    .80271        .19150        .22041E-03   -.99968    
   4  Prefactor     .93857        .24201        .25795E-03   -.94806    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 8.14009e-12
Minuit parameter uncertainties:
  1  0.0742142
  2  1.07542
  3  0.191659
  4  0.242292
shell-init: error retrieving current directory: getcwd: cannot access parent directories: No such file or directory
rmdir: failed to remove `/scratch/kocevski/264944': 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) = 4813.6879817
delta logL = 4.16300928509

Extracting fit parameters...

4FGL J1345.5+4453
   Spectrum: LogParabola
339         norm:  1.746e-02  7.421e-02  0.000e+00  1.000e+06 ( 1.000e-11)
340        alpha:  6.848e-02  1.075e+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:  9.386e-01  2.423e-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:  8.027e-01  1.917e-01  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Free Index): 13.51
Ra Dec: 206.394 44.884
Photon Index (Free Index): 0.07 +/- 1.08
Photon Flux (Free Index): 3.32e-09 +/- 3.44e-09
Energy Flux (Free Index): 1.03e-04 +/- 1.36e-04

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/264944/cmap_HighResolution_693446401_693705601_4FGL_J1345.5+4453_daily_bin1752.png

Cleaning up...

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

Updating database...

UPDATE lightcurve_data_v2 SET comment='SUCCESS', photon_flux='1.45e-08', energy_flux2='1.03e-04', photon_flux_error='1.42e-08', dlogl='4.16e+00', energy_flux='5.58e-06', photon_flux2='3.32e-09', job_status='DONE', time_completed='2022-12-26 01:14:27.200376', photon_index_error2='1.08', photon_index2='0.07', ts='5.19', fit_tolerance='1e-08', GAL='0.94', photon_index_error='0.00', energy_flux_error2='1.36e-04', EG='0.80', time_epoch_completed='1672046067.2', return_code='0', job_id='264944', GAL2='0.94', EG2='0.80', return_code2='0', energy_flux_error='5.46e-06', photon_flux_error2='3.44e-09', ts2='13.51', photon_index='2.17' WHERE bin_id='1752' AND source_name='4FGL J1345.5+4453' AND cadence='daily';

Database successfully updated.


Analysis Complete.


Mon Dec 26 01:14:27 PST 2022


------------------------------------------------------------
Sender: LSF System <lsf@bullet0237>
Subject: Job 264944: <4FGL_J1345.5+4453_daily_bin1752> in cluster <slac> Done

Job <4FGL_J1345.5+4453_daily_bin1752> was submitted from host <rhel6-64l> by user <kocevski> in cluster <slac> at Mon Dec 26 01:00:21 2022
Job was executed on host(s) <bullet0237>, in queue <medium>, as user <kocevski> in cluster <slac> at Mon Dec 26 01:00:43 2022
</u/ki/kocevski> was used as the home directory.
</u/ki/kocevski> was used as the working directory.
Started at Mon Dec 26 01:00:43 2022
Terminated at Mon Dec 26 01:14:28 2022
Results reported at Mon Dec 26 01:14:28 2022

Your job looked like:

------------------------------------------------------------
# LSBATCH: User input
/nfs/farm/g/glast/g/LCRepository/Likelihood/Scripts/LikelihoodAnalysis.py 4FGL_J1345.5+4453_daily_bin1752 206.394 44.8844 693446401 693705601 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 :                                   612.26 sec.
    Max Memory :                                 1257 MB
    Average Memory :                             258.50 MB
    Total Requested Memory :                     -
    Delta Memory :                               -
    Max Swap :                                   -
    Max Processes :                              5
    Max Threads :                                21
    Run time :                                   824 sec.
    Turnaround time :                            847 sec.

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

