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 20 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 make4FGLxml version 01r04.
The default diffuse model files and names are for pass 8 and 4FGL and assume you have v11r5p3 of the Fermi Science Tools or higher.

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


Performing analysis on: 4FGL_J1345.6-3356_daily_bin1668
RA = 206.408, Dec = -33.9453
tmin = 671673601, tmax = 671932801
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='555328', job_status='RUN', time_executed='2022-04-18 02:57:58.152809', time_epoch_executed='1650275878.15' WHERE source_name='4FGL J1345.6-3356' and cadence='daily' and bin_id='1668'

Database successfully updated.
Done.

Creating custom output directory:
/scratch/kocevski/555328

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

Retrieving the FT1 file...

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

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

Retrieving 46 files...
Done.


Merging files...

Checksum keywords updated successfully.

Merged file saved to:
/scratch/kocevski/555328/ft1_4FGL_J1345.6-3356_daily_bin1668.fits


Retrieving the FT1 file...

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

Retrieving 46 files...
Done.


Merging files...

Merged file saved to:
/scratch/kocevski/555328/ft2_4FGL_J1345.6-3356_daily_bin1668.fits


Selecting the photons:
time -p gtselect infile=/scratch/kocevski/555328/ft1_4FGL_J1345.6-3356_daily_bin1668.fits outfile=/scratch/kocevski/555328/ft1_filteredMKT_4FGL_J1345.6-3356_daily_bin1668.fits ra=206.408 dec=-33.9453 rad=12.0 tmin=671673601.0 tmax=671932801.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 6.80
user 3.42
sys 0.23

Adding sun position to ft2 file:
/nfs/farm/g/glast/g/LCRepository/Repository/bin/sunpos /scratch/kocevski/555328/ft2_4FGL_J1345.6-3356_daily_bin1668.fits

Selecting the good time intervals:
time -p gtmktime scfile=/scratch/kocevski/555328/ft2_4FGL_J1345.6-3356_daily_bin1668.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/555328/ft1_filteredMKT_4FGL_J1345.6-3356_daily_bin1668.fits evtable="EVENTS" outfile="/scratch/kocevski/555328/ft1_filtered_4FGL_J1345.6-3356_daily_bin1668.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.55
user 0.33
sys 0.16

Number of photons that the gtmktime cut: 916

Generating the livetime cube:
time -p gtltcube evfile="/scratch/kocevski/555328/ft1_filtered_4FGL_J1345.6-3356_daily_bin1668.fits" evtable="EVENTS" scfile=/scratch/kocevski/555328/ft2_4FGL_J1345.6-3356_daily_bin1668.fits sctable="SC_DATA" outfile=/scratch/kocevski/555328/ltcube_671673601_671932801_4FGL_J1345.6-3356_daily_bin1668.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/555328/ft2_4FGL_J1345.6-3356_daily_bin1668.fits
.....................!
real 14.68
user 14.23
sys 0.33

Generating the exposure map:
time -p gtexpmap evfile=/scratch/kocevski/555328/ft1_filtered_4FGL_J1345.6-3356_daily_bin1668.fits evtable="EVENTS" scfile=/scratch/kocevski/555328/ft2_4FGL_J1345.6-3356_daily_bin1668.fits sctable="SC_DATA" expcube=/scratch/kocevski/555328/ltcube_671673601_671932801_4FGL_J1345.6-3356_daily_bin1668.fits outfile=/scratch/kocevski/555328/expmap_671673601_671932801_4FGL_J1345.6-3356_daily_bin1668.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/555328/ltcube_671673601_671932801_4FGL_J1345.6-3356_daily_bin1668.fits
.....................!
real 194.11
user 186.52
sys 5.36

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
Extended source CenA Lobes in ROI, make sure /nfs/farm/g/glast/g/LCRepository/Likelihood/ExtendedSources/Extended_archive_v18/Templates/CenALobes.fits is the correct path to the extended template.
Added 201 point sources and 1 extended sources
If using unbinned likelihood you will need to rerun gtdiffrsp for the extended sources or rerun the makeModel function with optional argument psForce=True

Setting source of interest to:
4FGL J1345.6-3356 @ 206.408 -33.9453

Creating the counts map:
time -p gtbin evfile=/scratch/kocevski/555328/ft1_filtered_4FGL_J1345.6-3356_daily_bin1668.fits scfile=/scratch/kocevski/555328/ft2_4FGL_J1345.6-3356_daily_bin1668.fits outfile=/scratch/kocevski/555328/cmap_671673601_671932801_4FGL_J1345.6-3356_daily_bin1668.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.408 yref=-33.9453 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.62
user 0.37
sys 0.16

Creating the high resolution counts map:
time -p gtbin evfile=/scratch/kocevski/555328/ft1_filtered_4FGL_J1345.6-3356_daily_bin1668.fits scfile=/scratch/kocevski/555328/ft2_4FGL_J1345.6-3356_daily_bin1668.fits outfile=/scratch/kocevski/555328/cmap_HighResolution_671673601_671932801_4FGL_J1345.6-3356_daily_bin1668.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.408 yref=-33.9453 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.63
user 0.40
sys 0.15

Computing the diffuse response:
time -p gtdiffrsp evfile=/scratch/kocevski/555328/ft1_filtered_4FGL_J1345.6-3356_daily_bin1668.fits evtable="EVENTS" scfile=/scratch/kocevski/555328/ft2_4FGL_J1345.6-3356_daily_bin1668.fits sctable="SC_DATA" srcmdl=/scratch/kocevski/555328/Model_4FGL_J1345.6-3356_daily_bin1668.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 CenA Lobes
adding source EG_v02
adding source GAL_V02
Working on...
/scratch/kocevski/555328/ft1_filtered_4FGL_J1345.6-3356_daily_bin1668.fits.....................!
real 165.34
user 162.18
sys 1.61

Creating the likelihood object...
obs = UnbinnedObs('/scratch/kocevski/555328/ft1_filtered_4FGL_J1345.6-3356_daily_bin1668.fits', '/scratch/kocevski/555328/ft2_4FGL_J1345.6-3356_daily_bin1668.fits', expMap='/scratch/kocevski/555328/expmap_671673601_671932801_4FGL_J1345.6-3356_daily_bin1668.fits', expCube='/scratch/kocevski/555328/ltcube_671673601_671932801_4FGL_J1345.6-3356_daily_bin1668.fits', irfs='P8R3_SOURCE_V2')
like = UnbinnedAnalysis(obs, '/scratch/kocevski/555328/Model_4FGL_J1345.6-3356_daily_bin1668.xml', optimizer='MINUIT')

Using source of interest name: '4FGL J1345.6-3356'

4FGL J1345.6-3356
   Spectrum: PowerLaw
312    Prefactor:  9.990e+00  0.000e+00  1.000e-04  1.000e+04 ( 1.000e-14)
313        Index:  2.054e+00  0.000e+00  0.000e+00  1.000e+01 (-1.000e+00) fixed
314        Scale:  2.178e+03  0.000e+00  3.000e+01  5.000e+05 ( 1.000e+00) fixed


Likelihood Fit Parameters:
Event file(s): /scratch/kocevski/555328/ft1_filtered_4FGL_J1345.6-3356_daily_bin1668.fits
Spacecraft file(s): /scratch/kocevski/555328/ft2_4FGL_J1345.6-3356_daily_bin1668.fits
Exposure map: /scratch/kocevski/555328/expmap_671673601_671932801_4FGL_J1345.6-3356_daily_bin1668.fits
Exposure cube: /scratch/kocevski/555328/ltcube_671673601_671932801_4FGL_J1345.6-3356_daily_bin1668.fits
IRFs: P8R3_SOURCE_V2
Source model file: /scratch/kocevski/555328/Model_4FGL_J1345.6-3356_daily_bin1668.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) = 9412.70051432

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

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

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'norm      '    .10010E-03   1.0000         .10000E-03   10000.    
     2 'Prefactor '    .10000E-03   1.0000         .10000E-03   10000.    
     3 'Prefactor '    .10000E-03   1.0000         .10000E-03   10000.    
     4 'norm      '    27.093       1.0000         .10000E-03   10000.    
     5 'Prefactor '    113.99       1.0000         .10000E-03   10000.    
     6 'Prefactor '    .11312E-03   1.0000         .10000E-03   10000.    
     7 'Prefactor '    .10001E-03   1.0000         .10000E-03   10000.    
     8 'Prefactor '    .10001E-03   1.0000         .10000E-03   10000.    
     9 'norm      '    .10083E-03   1.0000         .10000E-03   10000.    
    10 'norm      '    1.6233       1.0000         .10000E-03   10000.    
    11 'norm      '    2.7166       1.0000         .10000E-03   10000.    
    12 'Prefactor '    1.4886       1.0000         .10000E-03   10000.    
    13 'Prefactor '    53.938       1.0000         .10000E-03   10000.    
    14 'Prefactor '    .10014E-03   1.0000         .10000E-03   10000.    
    15 'Prefactor '    .10127E-03   1.0000         .10000E-03   10000.    
    16 'Prefactor '    .11962E-03   1.0000         .10000E-03   10000.    
    17 'Prefactor '    85.703       1.0000         .10000E-03   10000.    
    18 'Prefactor '    .10005E-03   1.0000         .10000E-03   10000.    
    19 'Prefactor '    26.449       1.0000         .10000E-03   10000.    
    20 'norm      '    1.2180       1.0000         .10000E-03   10000.    
    21 'Prefactor '    7.2585       1.0000         .10000E-03   10000.    
    22 'norm      '    2.4362       1.0000         .10000E-03   10000.    
    23 'Prefactor '    8.5236       1.0000         .10000E-03   10000.    
    24 'Prefactor '    .10146E-03   1.0000         .10000E-03   10000.    
    25 'Normalizat'    1.0411       1.0000         .10000E-01   10.000    
    26 'Prefactor '    .93437       1.0000          .0000       10.000    
 **********
 **   15 **SET ERR    .5000    
 **********
 **********
 **   16 **SET GRAD    1.000    
 **********
 **********
 **   17 **MINIMIZE    .6730E+05   .2000E-04
 **********

 MIGRAD MINIMIZATION HAS CONVERGED.

 MIGRAD WILL VERIFY CONVERGENCE AND ERROR MATRIX.

 MIGRAD MINIMIZATION HAS CONVERGED.

 FCN=   9412.624     FROM MIGRAD    STATUS=CONVERGED    606 CALLS     3616 TOTAL
                     EDM=   .76E-10  STRATEGY=1  ERROR MATRIX UNCERTAINTY=  1.2%

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  norm          .10000E-03    3.0794        .82469E-07** at limit **
   2  Prefactor     .10000E-03    9.3505        .17168E-06** at limit **
   3  Prefactor     .10000E-03    6.0261        .53400E-07** at limit **
   4  norm          27.093        7.9719        .46272E-07   -.17577E-04
   5  Prefactor     113.87        280.26       -.11369E-05   -.16146E-04
   6  Prefactor     .10000E-03    67.981        .34091E-05** at limit **
   7  Prefactor     .10000E-03    4.2625        .27804E-07** at limit **
   8  Prefactor     .10000E-03    49.919        .56993E-07** at limit **
   9  norm          .10000E-03    13.343        .15237E-06** at limit **
  10  norm          1.6173        139.10        .19152E-05   -.10935E-05
  11  norm          2.7170        13.702       -.16962E-05   -.88440E-04
  12  Prefactor     1.4887        4.7380        .27526E-05    .12870E-04
  13  Prefactor     53.938        44.761       -.35198E-07   -.29135E-05
  14  Prefactor     .10000E-03    29.014        .22940E-06** at limit **
  15  Prefactor     .10000E-03    16.445        .39351E-07** at limit **
  16  Prefactor     .10000E-03    121.64       -.77495E-06** at limit **
  17  Prefactor     85.696        57.314       -.29171E-07   -.12838E-04
  18  Prefactor     .10000E-03    14.054       -.19970E-06** at limit **
  19  Prefactor     26.453        16.813       -.72995E-08   -.22012E-04
  20  norm          1.2181        2.8668        .69747E-06    .59396E-04
  21  Prefactor     7.2516        32.118       -.67400E-06   -.57124E-05
  22  norm          2.4362        .28407       -.35465E-09    .73256E-04
  23  Prefactor     8.5182        40.091       -.17486E-05   -.40544E-05
  24  Prefactor     .10000E-03    36.233       -.57814E-06** at limit **
  25  Normalizat    1.0411        .27677       -.25483E-05   -.29716E-04
  26  Prefactor     .93438        .99648E-01    .61684E-06   -.27502E-03
                               ERR DEF=  .500    
Final values: 
  norm       = 0.0001
  Prefactor  = 0.0001
  Prefactor  = 0.0001
  norm       = 27.0926
  Prefactor  = 113.87
  Prefactor  = 0.000100001
  Prefactor  = 0.0001
  Prefactor  = 0.0001
  norm       = 0.0001
  norm       = 1.61732
  norm       = 2.71703
  Prefactor  = 1.48874
  Prefactor  = 53.938
  Prefactor  = 0.0001
  Prefactor  = 0.0001
  Prefactor  = 0.000100002
  Prefactor  = 85.6957
  Prefactor  = 0.0001
  Prefactor  = 26.4535
  norm       = 1.21808
  Prefactor  = 7.25157
  norm       = 2.43625
  Prefactor  = 8.51817
  Prefactor  = 0.0001
  Normalizat = 1.04106
  Prefactor  = 0.934381
 **********
 **   18 **HESSE 
 **********

 FCN=   9412.624     FROM HESSE     STATUS=OK           452 CALLS     4068 TOTAL
                     EDM=   .16E-09    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  norm          .10000E-03    3.1202        .16625E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   2  Prefactor     .10000E-03    9.4522        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   3  Prefactor     .10000E-03    6.1129        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   4  norm          27.093        7.9774        .76965E-04   -1.4666    
   5  Prefactor     113.87        281.85        .18841E-03   -1.3570    
   6  Prefactor     .10000E-03    70.319        .36285E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   7  Prefactor     .10000E-03    4.2737        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   8  Prefactor     .10000E-03    49.963        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   9  norm          .10000E-03    13.388        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  10  norm          1.6173        141.42        .33211E-03   -1.5454    
  11  norm          2.7170        13.462        .24710E-03   -1.5378    
  12  Prefactor     1.4887        4.7245        .32463E-03   -1.5464    
  13  Prefactor     53.938        44.682        .54614E-04   -1.4238    
  14  Prefactor     .10000E-03    29.056        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  15  Prefactor     .10000E-03    16.451        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  16  Prefactor     .10000E-03    122.13        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  17  Prefactor     85.696        57.358        .43395E-04   -1.3854    
  18  Prefactor     .10000E-03    14.171        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  19  Prefactor     26.453        16.814        .77895E-04   -1.4679    
  20  norm          1.2181        2.8086        .23915E-03   -1.5487    
  21  Prefactor     7.2516        31.615        .14888E-03   -1.5169    
  22  norm          2.4362        .28448        .17065E-04   -1.5396    
  23  Prefactor     8.5182        39.540        .13731E-03   -1.5124    
  24  Prefactor     .10000E-03    36.535        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  25  Normalizat    1.0411        .31816        .45460E-03   -.91667    
  26  Prefactor     .93438        .11674        .17670E-03   -.94950    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 1.5777e-10
Minuit parameter uncertainties:
  1  1.98771e-06
  2  9.20918e-06
  3  2.80515e-06
  4  7.97768
  5  285.279
  6  0.000425367
  7  5.07656e-06
  8  9.89828e-06
  9  3.38665e-05
  10  30.3205
  11  12.0997
  12  4.72569
  13  44.7095
  14  0.000104955
  15  1.33202e-05
  16  0.000858888
  17  57.395
  18  6.00998e-05
  19  16.8173
  20  2.80888
  21  30.3096
  22  0.284477
  23  36.7445
  24  0.000154894
  25  0.318741
  26  0.116773
Done.

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

Extracting fit parameters...

4FGL J1345.6-3356
   Spectrum: PowerLaw
312    Prefactor:  1.000e-04  9.898e-06  1.000e-04  1.000e+04 ( 1.000e-14)
313        Index:  2.054e+00  0.000e+00  0.000e+00  1.000e+01 (-1.000e+00) fixed
314        Scale:  2.178e+03  0.000e+00  3.000e+01  5.000e+05 ( 1.000e+00) fixed

GAL_V02
   Spectrum: PowerLaw
670    Prefactor:  9.344e-01  1.168e-01  0.000e+00  1.000e+01 ( 1.000e+00)
671        Index:  0.000e+00  0.000e+00 -1.000e+00  1.000e+00 ( 1.000e+00) fixed
672        Scale:  1.000e+02  0.000e+00  5.000e+01  2.000e+02 ( 1.000e+00) fixed

EG_v02
   Spectrum: FileFunction
669   Normalization:  1.041e+00  3.187e-01  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Fixed Index): -0.00
Ra Dec: 206.408 -33.945
Photon Flux Upper Limit: 8.33e-08 ph cm-2 s-1
Energy Flux Upper Limit: 6.28e-03 MeV cm-2 s-1

Saving results to:
/scratch/kocevski/555328/likelihoodResults_671673601_671932801_4FGL_J1345.6-3356_daily_bin1668.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): 102
logL (Free Index) = 9412.6241945
delta logL = -9.52766367845e-05

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

MINUIT Return Code (Free Index): 102
logL (Free Index) = 9412.62409934
delta logL = -1.13757778308e-07

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'Prefactor '    .10147E-03   1.0000         .10000E-03   10000.    
     2 'Index     '    1.9976       1.0000          .0000       10.000    
     3 'Normalizat'    1.0411       1.0000         .10000E-01   10.000    
     4 'Prefactor '    .93438       1.0000          .0000       10.000    
 **********
 **   15 **SET ERR    .5000    
 **********
 **********
 **   16 **SET GRAD    1.000    
 **********
 **********
 **   17 **MINIMIZE    .6730E+05   .2000E-04
 **********

 MIGRAD MINIMIZATION HAS CONVERGED.

 MIGRAD WILL VERIFY CONVERGENCE AND ERROR MATRIX.

 FCN=   9412.624     FROM MIGRAD    STATUS=CONVERGED     59 CALLS      238 TOTAL
                     EDM=   .34E-08    STRATEGY= 1      ERR MATRIX NOT POS-DEF

  EXT PARAMETER                APPROXIMATE        STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor     .10000E-03    1203.0        .90712E-02** at limit **
   2  Index         2.0338        7.6809        .50000       -.70104E-05
   3  Normalizat    1.0411        .34473E-01    .10258        .32713E-04
   4  Prefactor     .93438        .12844E-01    .45442E-01    .16533E-04
                               ERR DEF=  .500    
Final values: 
  Prefactor  = 0.000100001
  Index      = 2.0338
  Normalizat = 1.04106
  Prefactor  = 0.934382
 **********
 **   18 **HESSE 
 **********

 FCN=   9412.624     FROM HESSE     STATUS=NOT POSDEF    33 CALLS      271 TOTAL
                     EDM=   .11E-07    STRATEGY= 1      ERR MATRIX NOT POS-DEF

  EXT PARAMETER                APPROXIMATE     INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  Prefactor     .10000E-03    6724.8        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   2  Index         2.0338        7.2959        .50000       -.63508    
   3  Normalizat    1.0411        .65800E-01    .45460E-03   -.91667    
   4  Prefactor     .93438        .24585E-01    .17670E-03   -.94950    
                               ERR DEF=  .500    
Minuit fit quality: 2   estimated distance: 1.05532e-08
Minuit parameter uncertainties:
  1  0.00374895
  2  36.7126
  3  0.0658051
  4  0.0245855
shell-init: error retrieving current directory: getcwd: cannot access parent directories: No such file or directory
rmdir: failed to remove `/scratch/kocevski/555328': 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): 102
logL (Free Index) = 9412.62409926
delta logL = -3.63324943464e-08

Extracting fit parameters...

4FGL J1345.6-3356
   Spectrum: PowerLaw
312    Prefactor:  1.000e-04  3.749e-03  1.000e-04  1.000e+04 ( 1.000e-14)
313        Index:  2.034e+00  3.671e+01  0.000e+00  1.000e+01 (-1.000e+00)
314        Scale:  2.178e+03  0.000e+00  3.000e+01  5.000e+05 ( 1.000e+00) fixed

GAL_V02
   Spectrum: PowerLaw
670    Prefactor:  9.344e-01  2.459e-02  0.000e+00  1.000e+01 ( 1.000e+00)
671        Index:  0.000e+00  0.000e+00 -1.000e+00  1.000e+00 ( 1.000e+00) fixed
672        Scale:  1.000e+02  0.000e+00  5.000e+01  2.000e+02 ( 1.000e+00) fixed

EG_v02
   Spectrum: FileFunction
669   Normalization:  1.041e+00  6.581e-02  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Free Index): -0.00
Ra Dec: 206.408 -33.945

Creating a high resolution counts map...
INFO: Auto-setting vmin to -1.000e-01 [aplpy.core]
INFO: Auto-setting vmax to  1.110e+00 [aplpy.core]
Saving /scratch/kocevski/555328/cmap_HighResolution_671673601_671932801_4FGL_J1345.6-3356_daily_bin1668.png

Cleaning up...

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

Updating database...

UPDATE lightcurve_data_v2 SET energy_flux_upper_limit='6.28e-03', job_status='DONE', photon_flux_upper_limit='8.33e-08', time_completed='2022-04-18 03:18:51.843242', job_id='555328', GAL2='0.93', fit_tolerance='1e-08', EG2='1.04', EG='1.04', time_epoch_completed='1650277131.84', return_code2='102', ts='-0.00', comment='SUCCESS', return_code='0', GAL='0.93', dlogl='-3.63e-08', ts2='-0.00', photon_index_error='0.00', photon_index='2.05' WHERE bin_id='1668' AND source_name='4FGL J1345.6-3356' AND cadence='daily';

Database successfully updated.


Analysis Complete.


Mon Apr 18 03:18:51 PDT 2022


------------------------------------------------------------
Sender: LSF System <scs@bullet0177>
Subject: Job 555328: <4FGL_J1345.6-3356_daily_bin1668> in cluster <slac> Done

Job <4FGL_J1345.6-3356_daily_bin1668> was submitted from host <rhel6-64p> by user <kocevski> in cluster <slac> at Mon Apr 18 00:07:24 2022
Job was executed on host(s) <bullet0177>, in queue <medium>, as user <kocevski> in cluster <slac> at Mon Apr 18 02:57:22 2022
</u/ki/kocevski> was used as the home directory.
</u/ki/kocevski> was used as the working directory.
Started at Mon Apr 18 02:57:22 2022
Terminated at Mon Apr 18 03:18:52 2022
Results reported at Mon Apr 18 03:18:52 2022

Your job looked like:

------------------------------------------------------------
# LSBATCH: User input
/nfs/farm/g/glast/g/LCRepository/Likelihood/Scripts/LikelihoodAnalysis.py 4FGL_J1345.6-3356_daily_bin1668 206.408 -33.9453 671673601 671932801 irfs=P8R3_SOURCE_V2 zmax=90 ROI=12 association=4FGL_J1345.6-3356 fixedModel=True performFreeIndexFit=True freeVariableSources=True nuke=True repositoryJob=True verbose=False
------------------------------------------------------------

Successfully completed.

Resource usage summary:

    CPU time :                                   1243.34 sec.
    Max Memory :                                 1275 MB
    Average Memory :                             364.21 MB
    Total Requested Memory :                     -
    Delta Memory :                               -
    Max Swap :                                   2932 MB
    Max Processes :                              6
    Max Threads :                                21
    Run time :                                   1290 sec.
    Turnaround time :                            11488 sec.

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

