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


Performing analysis on: 4FGL_J1345.5+4453_daily_bin1771
RA = 206.394, Dec = 44.8844
tmin = 698371201, tmax = 698630401
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='548893', job_status='RUN', time_executed='2023-02-21 00:59:14.436408', time_epoch_executed='1676969954.44' WHERE source_name='4FGL J1345.5+4453' and cadence='daily' and bin_id='1771'

Database successfully updated.
Done.

Creating custom output directory:
/scratch/kocevski/548893

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

Retrieving the FT1 file...

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

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

Retrieving 47 files...
Done.


Merging files...

Checksum keywords updated successfully.

Merged file saved to:
/scratch/kocevski/548893/ft1_4FGL_J1345.5+4453_daily_bin1771.fits


Retrieving the FT1 file...

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

Retrieving 47 files...
Done.


Merging files...

Merged file saved to:
/scratch/kocevski/548893/ft2_4FGL_J1345.5+4453_daily_bin1771.fits


Selecting the photons:
time -p gtselect infile=/scratch/kocevski/548893/ft1_4FGL_J1345.5+4453_daily_bin1771.fits outfile=/scratch/kocevski/548893/ft1_filteredMKT_4FGL_J1345.5+4453_daily_bin1771.fits ra=206.394 dec=44.8844 rad=12.0 tmin=698371201.0 tmax=698630401.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.11
user 2.88
sys 0.19

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

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

Generating the livetime cube:
time -p gtltcube evfile="/scratch/kocevski/548893/ft1_filtered_4FGL_J1345.5+4453_daily_bin1771.fits" evtable="EVENTS" scfile=/scratch/kocevski/548893/ft2_4FGL_J1345.5+4453_daily_bin1771.fits sctable="SC_DATA" outfile=/scratch/kocevski/548893/ltcube_698371201_698630401_4FGL_J1345.5+4453_daily_bin1771.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/548893/ft2_4FGL_J1345.5+4453_daily_bin1771.fits
.....................!
real 12.85
user 12.48
sys 0.32

Generating the exposure map:
time -p gtexpmap evfile=/scratch/kocevski/548893/ft1_filtered_4FGL_J1345.5+4453_daily_bin1771.fits evtable="EVENTS" scfile=/scratch/kocevski/548893/ft2_4FGL_J1345.5+4453_daily_bin1771.fits sctable="SC_DATA" expcube=/scratch/kocevski/548893/ltcube_698371201_698630401_4FGL_J1345.5+4453_daily_bin1771.fits outfile=/scratch/kocevski/548893/expmap_698371201_698630401_4FGL_J1345.5+4453_daily_bin1771.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/548893/ltcube_698371201_698630401_4FGL_J1345.5+4453_daily_bin1771.fits
.....................!
real 189.42
user 184.87
sys 4.15

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/548893/ft1_filtered_4FGL_J1345.5+4453_daily_bin1771.fits scfile=/scratch/kocevski/548893/ft2_4FGL_J1345.5+4453_daily_bin1771.fits outfile=/scratch/kocevski/548893/cmap_698371201_698630401_4FGL_J1345.5+4453_daily_bin1771.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.15

Creating the high resolution counts map:
time -p gtbin evfile=/scratch/kocevski/548893/ft1_filtered_4FGL_J1345.5+4453_daily_bin1771.fits scfile=/scratch/kocevski/548893/ft2_4FGL_J1345.5+4453_daily_bin1771.fits outfile=/scratch/kocevski/548893/cmap_HighResolution_698371201_698630401_4FGL_J1345.5+4453_daily_bin1771.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.55
user 0.39
sys 0.14

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

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

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

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

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'Prefactor '    .49726E-03   1.0000          .0000       .10000E+07
     2 'norm      '    13.047       1.0000          .0000       .10000E+07
     3 'Prefactor '    .20426E-02   1.0000          .0000       .10000E+07
     4 'norm      '    .54551E-06   1.0000          .0000       .10000E+07
     5 'norm      '    27.300       1.0000          .0000       .10000E+07
     6 'norm      '    .37317E-03   1.0000          .0000       .10000E+07
     7 'Prefactor '    4.5604       1.0000          .0000       .10000E+07
     8 'Prefactor '    31.885       1.0000          .0000       .10000E+07
     9 'Prefactor '    69.464       1.0000          .0000       .10000E+07
    10 'Prefactor '    .78527E-05   1.0000          .0000       .10000E+07
    11 'norm      '    .79881E-07   1.0000          .0000       .10000E+07
    12 'Prefactor '    5.5010       1.0000          .0000       .10000E+07
    13 'norm      '    1.3640       1.0000          .0000       .10000E+07
    14 'norm      '    3.1217       1.0000          .0000       .10000E+07
    15 'norm      '    .14815E-03   1.0000          .0000       .10000E+07
    16 'Prefactor '    .45664E-02   1.0000          .0000       .10000E+07
    17 'Prefactor '    .43387E-01   1.0000          .0000       .10000E+07
    18 'Prefactor '    5.8383       1.0000          .0000       .10000E+07
    19 'Prefactor '    .32663E-02   1.0000          .0000       .10000E+07
    20 'norm      '    .48799       1.0000          .0000       .10000E+07
    21 'Prefactor '    .61644E-03   1.0000          .0000       .10000E+07
    22 'Prefactor '    4.2292       1.0000          .0000       .10000E+07
    23 'Prefactor '    .57584E-03   1.0000          .0000       .10000E+07
    24 'norm      '    .51431E-03   1.0000          .0000       .10000E+07
    25 'Prefactor '    .34463E-02   1.0000          .0000       .10000E+07
    26 'Prefactor '    .16682E-04   1.0000          .0000       .10000E+07
    27 'Prefactor '    14.100       1.0000          .0000       .10000E+07
    28 'Normalizat'    .85980       1.0000         .10000E-01   10.000    
    29 'Prefactor '    1.2164       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=   4037.851     FROM MIGRAD    STATUS=CONVERGED    229 CALLS     2686 TOTAL
                     EDM=   .37E-09  STRATEGY=1  ERROR MATRIX UNCERTAINTY=  2.0%

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor     .15599E-07    27.333       -.11282E-05** at limit **
   2  norm          13.028        10.161        .71451E-07    .80646E-04
   3  Prefactor     .61062E-09    11.312        .11136E-05** at limit **
   4  norm           .0000        3.8456        .55457E-06** at limit **
   5  norm          27.308        1.0972       -.55071E-07   -.29067E-03
   6  norm          .55511E-10    7.0312       -.57340E-06** at limit **
   7  Prefactor     4.7069        7.7573        .83277E-06    .17360E-03
   8  Prefactor     31.236        7.9295        .17908E-06    .23482E-01
   9  Prefactor     68.425        55.404       -.47926E-05    .76944E-01
  10  Prefactor     .22671E-06    107.72       -.49670E-05** at limit **
  11  norm           .0000        1.7172        .10509E-06** at limit **
  12  Prefactor     3.7137        363.69       -.27859E-04   -.13073E-01
  13  norm          1.3614        1.5399       -.67487E-07   -.95970E-03
  14  norm          3.1085        5.9383        .55403E-06    .80047E-03
  15  norm          .11102E-09    8.6075       -.12339E-06** at limit **
  16  Prefactor     .88263E-08    30.884       -.47923E-06** at limit **
  17  Prefactor      .0000        44.201        .71692E-06** at limit **
  18  Prefactor     5.8321        4.6677        .17812E-06    .10888E-02
  19  Prefactor     .55511E-10    21.072       -.69708E-06** at limit **
  20  norm          .44960        8.0960        .81512E-06    .77246E-03
  21  Prefactor     .11102E-09    5.5515       -.55145E-06** at limit **
  22  Prefactor     4.2297        2.9268       -.12022E-07    .80615E-03
  23  Prefactor     .27756E-09    7.2034       -.61185E-06** at limit **
  24  norm          .16653E-09    7.8772        .26374E-06** at limit **
  25  Prefactor      .0000        12.114        .11319E-05** at limit **
  26  Prefactor     .15182E-06    65.029       -.31201E-06** at limit **
  27  Prefactor     14.087        1.5365       -.76049E-07   -.10714E-01
  28  Normalizat    .86117        .24661        .12958E-04    .12401E-03
  29  Prefactor     1.2161        .29812       -.49303E-05    .12311E-03
                               ERR DEF=  .500    
Final values: 
  Prefactor  = 1.55986e-08
  norm       = 13.0276
  Prefactor  = 6.10623e-10
  norm       = 0
  norm       = 27.3078
  norm       = 5.55112e-11
  Prefactor  = 4.70686
  Prefactor  = 31.2357
  Prefactor  = 68.425
  Prefactor  = 2.26708e-07
  norm       = 0
  Prefactor  = 3.71373
  norm       = 1.36138
  norm       = 3.10852
  norm       = 1.11022e-10
  Prefactor  = 8.82627e-09
  Prefactor  = 0
  Prefactor  = 5.83206
  Prefactor  = 5.55112e-11
  norm       = 0.449599
  Prefactor  = 1.11022e-10
  Prefactor  = 4.22974
  Prefactor  = 2.77556e-10
  norm       = 1.66533e-10
  Prefactor  = 0
  Prefactor  = 1.51823e-07
  Prefactor  = 14.0867
  Normalizat = 0.861174
  Prefactor  = 1.21605
 **********
 **   18 **HESSE 
 **********

 FCN=   4037.851     FROM HESSE     STATUS=OK           607 CALLS     3293 TOTAL
                     EDM=   .14E-05    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  Prefactor     .15599E-07    27.486        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   2  norm          13.028        10.174        .27706E-03   -1.5636    
   3  Prefactor     .61062E-09    11.346        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   4  norm           .0000        3.8477        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   5  norm          27.308        26.264        .19142E-03   -1.5603    
   6  norm          .55511E-10    7.0079        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   7  Prefactor     4.7069        8.2626        .47115E-03   -1.5665    
   8  Prefactor     31.236        43.152        .17712E-03   -1.5596    
   9  Prefactor     68.425        108.09        .11999E-03   -1.5543    
  10  Prefactor     .22671E-06    108.62        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  11  norm           .0000        1.7212        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  12  Prefactor     3.7137        501.46        .42815E-03   -1.5669    
  13  norm          1.3614        1.5700        .93418E-03   -1.5685    
  14  norm          3.1085        6.1476        .57360E-03   -1.5673    
  15  norm          .11102E-09    8.6013        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  16  Prefactor     .88263E-08    30.994        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  17  Prefactor      .0000        42.921        .15814E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  18  Prefactor     5.8321        4.6737        .41540E-03   -1.5660    
  19  Prefactor     .55511E-10    21.018        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  20  norm          .44960        7.8949        .79927E-03   -1.5695    
  21  Prefactor     .11102E-09    5.5489        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  22  Prefactor     4.2297        2.9382        .48975E-03   -1.5667    
  23  Prefactor     .27756E-09    7.2065        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  24  norm          .16653E-09    7.8786        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  25  Prefactor      .0000        12.151        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  26  Prefactor     .15182E-06    66.765        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  27  Prefactor     14.087        15.640        .26648E-03   -1.5633    
  28  Normalizat    .86117        .20745        .44386E-01   -.97838    
  29  Prefactor     1.2161        .25034        .59100E-01   -.85839    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 1.37918e-06
Minuit parameter uncertainties:
  1  0.00130914
  2  10.1739
  3  0.00016419
  4  1.77464e-05
  5  26.264
  6  4.54497e-05
  7  8.26258
  8  43.1523
  9  108.096
  10  0.0099243
  11  1.23361e-05
  12  86.3157
  13  1.57
  14  6.14756
  15  6.86394e-05
  16  0.00104562
  17  1.00257e-05
  18  4.6737
  19  5.94833e-05
  20  3.76804
  21  5.02889e-05
  22  2.93823
  23  9.19768e-05
  24  6.93056e-05
  25  1.33482e-05
  26  0.00636791
  27  15.6403
  28  0.207642
  29  0.25059
Done.

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

Extracting fit parameters...

4FGL J1345.5+4453
   Spectrum: LogParabola
339         norm:  1.361e+00  1.570e+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.216e+00  2.506e-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.612e-01  2.076e-01  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Fixed Index): 1.17
Ra Dec: 206.394 44.884
Photon Index (Fixed Index): 2.17 +/- 0.00
Photon Flux (Fixed Index): 2.87e-08 +/- 3.31e-08
Energy Flux (Fixed Index): 1.10e-05 +/- 1.27e-05

TS (Fixed Index): 1.17
Ra Dec: 206.394 44.884
Photon Flux Upper Limit: 1.10e-07 ph cm-2 s-1
Energy Flux Upper Limit: 4.22e-05 MeV cm-2 s-1

Saving results to:
/scratch/kocevski/548893/likelihoodResults_698371201_698630401_4FGL_J1345.5+4453_daily_bin1771.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) = 4037.83113594
delta logL = 0.0198552248812

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

MINUIT Return Code (Free Index): 0
logL (Free Index) = 4037.830326
delta logL = 0.0206651607364

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'norm      '    1.3128       1.0000          .0000       .10000E+07
     2 'alpha     '    2.3672       1.0000          .0000       5.0000    
     3 'Normalizat'    .85584       1.0000         .10000E-01   10.000    
     4 'Prefactor '    1.2213       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=   4037.830     FROM MIGRAD    STATUS=CONVERGED     51 CALLS      195 TOTAL
                     EDM=   .27E-08    STRATEGY= 1      ERR MATRIX NOT POS-DEF

  EXT PARAMETER                APPROXIMATE        STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  norm          1.3127        72.599        .96153E-03    .34062E-02
   2  alpha         2.3686        3.7921        .41225        .13812E-05
   3  Normalizat    .85583        .97574E-01    .44335E-01    .52006E-05
   4  Prefactor     1.2213        .15297        .58991E-01    .15471E-05
                               ERR DEF=  .500    
Final values: 
  norm       = 1.31265
  alpha      = 2.36858
  Normalizat = 0.855831
  Prefactor  = 1.22127
 **********
 **   18 **HESSE 
 **********

 FCN=   4037.830     FROM HESSE     STATUS=OK            33 CALLS      228 TOTAL
                     EDM=   .79E-13    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  norm          1.3127        1.5464        .79050E-05   -1.5685    
   2  alpha         2.3686        .99222        .20789E-01   -.52592E-01
   3  Normalizat    .85583        .23971        .24724E-03   -.98030    
   4  Prefactor     1.2213        .29674        .26087E-03   -.85679    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 7.89702e-14
Minuit parameter uncertainties:
  1  1.54637
  2  1.02039
  3  0.240005
  4  0.297148
shell-init: error retrieving current directory: getcwd: cannot access parent directories: No such file or directory
rmdir: failed to remove `/scratch/kocevski/548893': 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) = 4037.83032503
delta logL = 0.0206661335128

Extracting fit parameters...

4FGL J1345.5+4453
   Spectrum: LogParabola
339         norm:  1.313e+00  1.546e+00  0.000e+00  1.000e+06 ( 1.000e-11)
340        alpha:  2.369e+00  1.020e+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:  1.221e+00  2.971e-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.558e-01  2.400e-01  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Free Index): 1.21
Ra Dec: 206.394 44.884
Photon Index (Free Index): 2.37 +/- 1.02
Photon Flux (Free Index): 3.19e-08 +/- 3.77e-08
Energy Flux (Free Index): 9.83e-06 +/- 1.24e-05

Creating a high resolution counts map...
INFO: Auto-setting vmin to  0.000e+00 [aplpy.core]
INFO: Auto-setting vmax to  0.000e+00 [aplpy.core]
Saving /scratch/kocevski/548893/cmap_HighResolution_698371201_698630401_4FGL_J1345.5+4453_daily_bin1771.png

Cleaning up...

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

Updating database...

UPDATE lightcurve_data_v2 SET energy_flux_upper_limit='4.22e-05', comment='SUCCESS', photon_flux='2.87e-08', energy_flux2='9.83e-06', photon_flux_error='3.31e-08', dlogl='2.07e-02', energy_flux='1.10e-05', photon_flux2='3.19e-08', job_status='DONE', time_completed='2023-02-21 01:08:49.857115', photon_index_error2='1.02', photon_index2='2.37', ts='1.17', fit_tolerance='1e-08', GAL='1.22', photon_index_error='0.00', photon_flux_upper_limit='1.10e-07', energy_flux_error2='1.24e-05', EG='0.86', time_epoch_completed='1676970529.86', return_code='0', job_id='548893', GAL2='1.22', EG2='0.86', return_code2='0', energy_flux_error='1.27e-05', photon_flux_error2='3.77e-08', ts2='1.21', photon_index='2.17' WHERE bin_id='1771' AND source_name='4FGL J1345.5+4453' AND cadence='daily';

Database successfully updated.


Analysis Complete.


Tue Feb 21 01:08:49 PST 2023


------------------------------------------------------------
Sender: LSF System <lsf@bullet0078>
Subject: Job 548893: <4FGL_J1345.5+4453_daily_bin1771> in cluster <slac> Done

Job <4FGL_J1345.5+4453_daily_bin1771> was submitted from host <rhel6-64k> by user <kocevski> in cluster <slac> at Tue Feb 21 00:55:21 2023
Job was executed on host(s) <bullet0078>, in queue <medium>, as user <kocevski> in cluster <slac> at Tue Feb 21 00:55:22 2023
</u/ki/kocevski> was used as the home directory.
</u/ki/kocevski> was used as the working directory.
Started at Tue Feb 21 00:55:22 2023
Terminated at Tue Feb 21 01:08:50 2023
Results reported at Tue Feb 21 01:08:50 2023

Your job looked like:

------------------------------------------------------------
# LSBATCH: User input
/nfs/farm/g/glast/g/LCRepository/Likelihood/Scripts/LikelihoodAnalysis.py 4FGL_J1345.5+4453_daily_bin1771 206.394 44.8844 698371201 698630401 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 :                                   577.13 sec.
    Max Memory :                                 1257 MB
    Average Memory :                             274.96 MB
    Total Requested Memory :                     -
    Delta Memory :                               -
    Max Swap :                                   -
    Max Processes :                              5
    Max Threads :                                21
    Run time :                                   808 sec.
    Turnaround time :                            809 sec.

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

