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


Performing analysis on: 4FGL_J0345.2-2353_daily_bin1708
RA = 56.3187, Dec = -23.885
tmin = 682041601, tmax = 682300801
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='17339', job_status='RUN', time_executed='2022-09-16 11:02:51.474649', time_epoch_executed='1663351371.47' WHERE source_name='4FGL J0345.2-2353' and cadence='daily' and bin_id='1708'

Database successfully updated.
Done.

Creating custom output directory:
/scratch/kocevski/17339

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

Retrieving the FT1 file...

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

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

Retrieving 46 files...
Done.


Merging files...

Checksum keywords updated successfully.

Merged file saved to:
/scratch/kocevski/17339/ft1_4FGL_J0345.2-2353_daily_bin1708.fits


Retrieving the FT1 file...

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

Retrieving 46 files...
Done.


Merging files...

Merged file saved to:
/scratch/kocevski/17339/ft2_4FGL_J0345.2-2353_daily_bin1708.fits


Selecting the photons:
time -p gtselect infile=/scratch/kocevski/17339/ft1_4FGL_J0345.2-2353_daily_bin1708.fits outfile=/scratch/kocevski/17339/ft1_filteredMKT_4FGL_J0345.2-2353_daily_bin1708.fits ra=56.3187 dec=-23.885 rad=12.0 tmin=682041601.0 tmax=682300801.0 emin=100.0 emax=100000.0 zmin=0.0 zmax=90.0 evclass=128 evtype="INDEF" convtype=-1 phasemin=0.0 phasemax=1.0 evtable="EVENTS" chatter=2 clobber=yes debug=no gui=no mode="ql"

WARNING: version mismatch between CFITSIO header (v3.43) and linked library (v3.41).

Done.
real 4.04
user 3.80
sys 0.21

Adding sun position to ft2 file:
/nfs/farm/g/glast/g/LCRepository/Repository/bin/sunpos /scratch/kocevski/17339/ft2_4FGL_J0345.2-2353_daily_bin1708.fits

Selecting the good time intervals:
time -p gtmktime scfile=/scratch/kocevski/17339/ft2_4FGL_J0345.2-2353_daily_bin1708.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/17339/ft1_filteredMKT_4FGL_J0345.2-2353_daily_bin1708.fits evtable="EVENTS" outfile="/scratch/kocevski/17339/ft1_filtered_4FGL_J0345.2-2353_daily_bin1708.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.35
sys 0.16

Number of photons that the gtmktime cut: 371

Generating the livetime cube:
time -p gtltcube evfile="/scratch/kocevski/17339/ft1_filtered_4FGL_J0345.2-2353_daily_bin1708.fits" evtable="EVENTS" scfile=/scratch/kocevski/17339/ft2_4FGL_J0345.2-2353_daily_bin1708.fits sctable="SC_DATA" outfile=/scratch/kocevski/17339/ltcube_682041601_682300801_4FGL_J0345.2-2353_daily_bin1708.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/17339/ft2_4FGL_J0345.2-2353_daily_bin1708.fits
.....................!
real 15.10
user 14.65
sys 0.35

Generating the exposure map:
time -p gtexpmap evfile=/scratch/kocevski/17339/ft1_filtered_4FGL_J0345.2-2353_daily_bin1708.fits evtable="EVENTS" scfile=/scratch/kocevski/17339/ft2_4FGL_J0345.2-2353_daily_bin1708.fits sctable="SC_DATA" expcube=/scratch/kocevski/17339/ltcube_682041601_682300801_4FGL_J0345.2-2353_daily_bin1708.fits outfile=/scratch/kocevski/17339/expmap_682041601_682300801_4FGL_J0345.2-2353_daily_bin1708.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/17339/ltcube_682041601_682300801_4FGL_J0345.2-2353_daily_bin1708.fits
.....................!
real 192.61
user 186.80
sys 5.34

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 Fornax A in ROI, make sure /nfs/farm/g/glast/g/LCRepository/Likelihood/ExtendedSources/Extended_8years/Templates/FornaxA.fits is the correct path to the extended template.
Added 155 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 J0345.2-2353 @ 56.3187 -23.885

Creating the counts map:
time -p gtbin evfile=/scratch/kocevski/17339/ft1_filtered_4FGL_J0345.2-2353_daily_bin1708.fits scfile=/scratch/kocevski/17339/ft2_4FGL_J0345.2-2353_daily_bin1708.fits outfile=/scratch/kocevski/17339/cmap_682041601_682300801_4FGL_J0345.2-2353_daily_bin1708.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=56.3187 yref=-23.885 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.54
user 0.38
sys 0.14

Creating the high resolution counts map:
time -p gtbin evfile=/scratch/kocevski/17339/ft1_filtered_4FGL_J0345.2-2353_daily_bin1708.fits scfile=/scratch/kocevski/17339/ft2_4FGL_J0345.2-2353_daily_bin1708.fits outfile=/scratch/kocevski/17339/cmap_HighResolution_682041601_682300801_4FGL_J0345.2-2353_daily_bin1708.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=56.3187 yref=-23.885 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.38
sys 0.17

Computing the diffuse response:
time -p gtdiffrsp evfile=/scratch/kocevski/17339/ft1_filtered_4FGL_J0345.2-2353_daily_bin1708.fits evtable="EVENTS" scfile=/scratch/kocevski/17339/ft2_4FGL_J0345.2-2353_daily_bin1708.fits sctable="SC_DATA" srcmdl=/scratch/kocevski/17339/Model_4FGL_J0345.2-2353_daily_bin1708.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 Fornax A
adding source GAL_V02
Working on...
/scratch/kocevski/17339/ft1_filtered_4FGL_J0345.2-2353_daily_bin1708.fits.....................!
real 96.27
user 94.83
sys 1.25

Creating the likelihood object...
obs = UnbinnedObs('/scratch/kocevski/17339/ft1_filtered_4FGL_J0345.2-2353_daily_bin1708.fits', '/scratch/kocevski/17339/ft2_4FGL_J0345.2-2353_daily_bin1708.fits', expMap='/scratch/kocevski/17339/expmap_682041601_682300801_4FGL_J0345.2-2353_daily_bin1708.fits', expCube='/scratch/kocevski/17339/ltcube_682041601_682300801_4FGL_J0345.2-2353_daily_bin1708.fits', irfs='P8R3_SOURCE_V2')
like = UnbinnedAnalysis(obs, '/scratch/kocevski/17339/Model_4FGL_J0345.2-2353_daily_bin1708.xml', optimizer='MINUIT')

Using source of interest name: '4FGL J0345.2-2353'

4FGL J0345.2-2353
   Spectrum: PowerLaw
254    Prefactor:  2.229e+00  0.000e+00  0.000e+00  1.000e+06 ( 1.000e-12)
255        Index:  2.446e+00  0.000e+00  0.000e+00  1.000e+01 (-1.000e+00) fixed
256        Scale:  7.564e+02  0.000e+00  3.000e+01  5.000e+05 ( 1.000e+00) fixed


Likelihood Fit Parameters:
Event file(s): /scratch/kocevski/17339/ft1_filtered_4FGL_J0345.2-2353_daily_bin1708.fits
Spacecraft file(s): /scratch/kocevski/17339/ft2_4FGL_J0345.2-2353_daily_bin1708.fits
Exposure map: /scratch/kocevski/17339/expmap_682041601_682300801_4FGL_J0345.2-2353_daily_bin1708.fits
Exposure cube: /scratch/kocevski/17339/ltcube_682041601_682300801_4FGL_J0345.2-2353_daily_bin1708.fits
IRFs: P8R3_SOURCE_V2
Source model file: /scratch/kocevski/17339/Model_4FGL_J0345.2-2353_daily_bin1708.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) = 4163.59040666

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

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

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'norm      '    2.2691       1.0000          .0000       .10000E+07
     2 'Prefactor '    .60518       1.0000          .0000       .10000E+07
     3 'Prefactor '    .50726E-03   1.0000          .0000       .10000E+07
     4 'Prefactor '    .32563E-02   1.0000          .0000       .10000E+07
     5 'Prefactor '    .50319E-02   1.0000          .0000       .10000E+07
     6 'Prefactor '    18.541       1.0000          .0000       .10000E+07
     7 'Prefactor '    .10129E-03   1.0000          .0000       .10000E+07
     8 'Prefactor '    9.1235       1.0000          .0000       .10000E+07
     9 'Prefactor '    .30871E-03   1.0000          .0000       .10000E+07
    10 'norm      '    2.9834       1.0000          .0000       .10000E+07
    11 'Prefactor '    14.654       1.0000          .0000       .10000E+07
    12 'norm      '    1.8603       1.0000          .0000       .10000E+07
    13 'Prefactor '    .65448       1.0000          .0000       .10000E+07
    14 'Prefactor '    .43683       1.0000          .0000       .10000E+07
    15 'Prefactor '    .29676E-02   1.0000          .0000       .10000E+07
    16 'norm      '    8.5015       1.0000          .0000       .10000E+07
    17 'Prefactor '    .24205E-04   1.0000          .0000       .10000E+07
    18 'Prefactor '    7.1070       1.0000          .0000       .10000E+07
    19 'Prefactor '    .58815E-03   1.0000          .0000       .10000E+07
    20 'Prefactor '    24.518       1.0000          .0000       .10000E+07
    21 'Normalizat'    1.2107       1.0000         .10000E-01   10.000    
    22 'Prefactor '    .58575       1.0000          .0000       10.000    
 **********
 **   15 **SET ERR    .5000    
 **********
 **********
 **   16 **SET GRAD    1.000    
 **********
 **********
 **   17 **MINIMIZE    .4950E+05   .2000E-04
 **********

 MIGRAD MINIMIZATION HAS CONVERGED.

 FCN=   4163.580     FROM MIGRAD    STATUS=CONVERGED    168 CALLS     1741 TOTAL
                     EDM=   .46E-10  STRATEGY=1  ERROR MATRIX UNCERTAINTY=  2.4%

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  norm          2.2694        2.1096        .55578E-08    .38858E-04
   2  Prefactor     .12212E-08    74.059       -.20485E-07** at limit **
   3  Prefactor      .0000        2.2378       -.11421E-06** at limit **
   4  Prefactor      .0000        7.6228        .21256E-06** at limit **
   5  Prefactor      .0000        10.828        .98202E-07** at limit **
   6  Prefactor     18.798        4.7561       -.11870E-07   -.10890E-01
   7  Prefactor      .0000        3.7150        .17001E-07** at limit **
   8  Prefactor     9.1104        5.5063        .19205E-07   -.38559E-04
   9  Prefactor      .0000        2.5572        .78230E-07** at limit **
  10  norm          2.9832        1.3676        .96931E-08    .27810E-03
  11  Prefactor     15.284        29.555       -.27991E-06    .65942E-02
  12  norm          1.8612        1.6800        .40257E-07    .22582E-03
  13  Prefactor     .99942E-06    32.183        .88311E-06** at limit **
  14  Prefactor     .30498E-06    543.15       -.15725E-05** at limit **
  15  Prefactor      .0000        5.8058        .15255E-06** at limit **
  16  norm          8.4989        15.721        .42592E-07    .43429E-03
  17  Prefactor     .12085E-06    29.118        .57255E-06** at limit **
  18  Prefactor     7.1368        10.707       -.12750E-06    .44292E-03
  19  Prefactor      .0000        2.7136        .63655E-07** at limit **
  20  Prefactor     24.790        1.7933       -.40997E-08    .11751E-01
  21  Normalizat    1.2107        .22401        .97444E-06    .10224E-03
  22  Prefactor     .58552        .20279       -.77577E-05    .94675E-04
                               ERR DEF=  .500    
Final values: 
  norm       = 2.26941
  Prefactor  = 1.22125e-09
  Prefactor  = 0
  Prefactor  = 0
  Prefactor  = 0
  Prefactor  = 18.7975
  Prefactor  = 0
  Prefactor  = 9.11036
  Prefactor  = 0
  norm       = 2.98322
  Prefactor  = 15.2842
  norm       = 1.86122
  Prefactor  = 9.99423e-07
  Prefactor  = 3.04978e-07
  Prefactor  = 0
  norm       = 8.49891
  Prefactor  = 1.20848e-07
  Prefactor  = 7.13678
  Prefactor  = 0
  Prefactor  = 24.7896
  Normalizat = 1.21066
  Prefactor  = 0.585522
 **********
 **   18 **HESSE 
 **********

 FCN=   4163.580     FROM HESSE     STATUS=OK           390 CALLS     2131 TOTAL
                     EDM=   .26E-07    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  norm          2.2694        2.0949        .68152E-03   -1.5678    
   2  Prefactor     .12212E-08    76.685        .68766E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   3  Prefactor      .0000        2.2306        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   4  Prefactor      .0000        7.6149        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   5  Prefactor      .0000        10.822        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   6  Prefactor     18.798        24.833        .23233E-03   -1.5621    
   7  Prefactor      .0000        3.6612        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   8  Prefactor     9.1104        5.5138        .33157E-03   -1.5648    
   9  Prefactor      .0000        2.5522        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  10  norm          2.9832        1.3723        .58751E-03   -1.5673    
  11  Prefactor     15.284        35.668        .26138E-03   -1.5630    
  12  norm          1.8612        1.6969        .76372E-03   -1.5681    
  13  Prefactor     .99942E-06    91.482        .64483E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  14  Prefactor     .30498E-06    31.706        .10599E-01   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  15  Prefactor      .0000        5.6967        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  16  norm          8.4989        15.753        .34357E-03   -1.5650    
  17  Prefactor     .12085E-06    36.895        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  18  Prefactor     7.1368        10.795        .37605E-03   -1.5655    
  19  Prefactor      .0000        2.7089        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  20  Prefactor     24.790        28.149        .20200E-03   -1.5608    
  21  Normalizat    1.2107        .19901        .34634E-01   -.86274    
  22  Prefactor     .58552        .18005        .62012E-01   -1.0820    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 2.60108e-08
Minuit parameter uncertainties:
  1  2.09485
  2  0.000607927
  3  5.11861e-06
  4  1.68572e-05
  5  1.06291e-06
  6  24.8335
  7  6.10963e-07
  8  5.51381
  9  3.36851e-06
  10  1.37229
  11  35.6686
  12  1.69688
  13  0.019124
  14  0.00621947
  15  1.5764e-05
  16  15.753
  17  0.00422298
  18  10.795
  19  4.58326e-06
  20  28.1496
  21  0.199139
  22  0.180227
Done.

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

Extracting fit parameters...

4FGL J0345.2-2353
   Spectrum: PowerLaw
254    Prefactor:  0.000e+00  3.369e-06  0.000e+00  1.000e+06 ( 1.000e-12)
255        Index:  2.446e+00  0.000e+00  0.000e+00  1.000e+01 (-1.000e+00) fixed
256        Scale:  7.564e+02  0.000e+00  3.000e+01  5.000e+05 ( 1.000e+00) fixed

GAL_V02
   Spectrum: PowerLaw
492    Prefactor:  5.855e-01  1.802e-01  0.000e+00  1.000e+01 ( 1.000e+00)
493        Index:  0.000e+00  0.000e+00 -1.000e+00  1.000e+00 ( 1.000e+00) fixed
494        Scale:  1.000e+02  0.000e+00  5.000e+01  2.000e+02 ( 1.000e+00) fixed

EG_v02
   Spectrum: FileFunction
488   Normalization:  1.211e+00  1.991e-01  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Fixed Index): 0.00
Ra Dec: 56.319 -23.885
Photon Flux Upper Limit: 9.38e-08 ph cm-2 s-1
Energy Flux Upper Limit: 7.27e-03 MeV cm-2 s-1

Saving results to:
/scratch/kocevski/17339/likelihoodResults_682041601_682300801_4FGL_J0345.2-2353_daily_bin1708.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) = 4163.58147203
delta logL = -0.00103148479957

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

MINUIT Return Code (Free Index): 102
logL (Free Index) = 4163.58044061
delta logL = -6.58656063024e-08

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'Prefactor '    .72164E-07   1.0000          .0000       .10000E+07
     2 'Index     '    1.0662       1.0000          .0000       10.000    
     3 'Normalizat'    1.2107       1.0000         .10000E-01   10.000    
     4 'Prefactor '    .58551       1.0000          .0000       10.000    
 **********
 **   15 **SET ERR    .5000    
 **********
 **********
 **   16 **SET GRAD    1.000    
 **********
 **********
 **   17 **MINIMIZE    .4950E+05   .2000E-04
 **********

 MIGRAD MINIMIZATION HAS CONVERGED.

 MIGRAD WILL VERIFY CONVERGENCE AND ERROR MATRIX.
  MNHESS FAILS AND WILL RETURN DIAGONAL MATRIX. 

 FCN=   4163.580     FROM MIGRAD    STATUS=CONVERGED     51 CALLS      253 TOTAL
                     EDM=   .54E-11  STRATEGY=1  ERROR MATRIX UNCERTAINTY=100.0%

  EXT PARAMETER                APPROXIMATE        STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor      .0000        .41447        .14674E-02** at limit **
   2  Index         4.0167        1.8656        .21290E-04     .0000    
   3  Normalizat    1.2107        1.1028        .64139E-05    .66173E-04
   4  Prefactor     .58552        .93277       -.10126E-04    .53979E-04
                               ERR DEF=  .500    
Final values: 
  Prefactor  = 0
  Index      = 4.01673
  Normalizat = 1.21066
  Prefactor  = 0.585521
 **********
 **   18 **HESSE 
 **********
  MNHESS FAILS AND WILL RETURN DIAGONAL MATRIX. 

 FCN=   4163.580     FROM HESSE     STATUS=FAILED         9 CALLS      262 TOTAL
                     EDM=   .54E-11  STRATEGY=1  ERROR MATRIX UNCERTAINTY=100.0%

  EXT PARAMETER                APPROXIMATE     INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  Prefactor      .0000        .41447        .14674E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   2  Index         1.7486        2.3421        .21290E-04   -.19794    
   3  Normalizat    1.2107        1.1028        .64139E-05   -.86274    
   4  Prefactor     .58552        .93277       -.10126E-04   -1.0820    
                               ERR DEF=  .500    
Minuit fit quality: 1   estimated distance: 5.42531e-12
Minuit parameter uncertainties:
  1  1.64289e-06
  2  1.91388
  3  1.12513
  4  0.959237
shell-init: error retrieving current directory: getcwd: cannot access parent directories: No such file or directory
rmdir: failed to remove `/scratch/kocevski/17339': 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): 101
logL (Free Index) = 4163.58044055
delta logL = 5.45696821064e-12

Extracting fit parameters...

4FGL J0345.2-2353
   Spectrum: PowerLaw
254    Prefactor:  0.000e+00  1.643e-06  0.000e+00  1.000e+06 ( 1.000e-12)
255        Index:  4.017e+00  1.914e+00  0.000e+00  1.000e+01 (-1.000e+00)
256        Scale:  7.564e+02  0.000e+00  3.000e+01  5.000e+05 ( 1.000e+00) fixed

GAL_V02
   Spectrum: PowerLaw
492    Prefactor:  5.855e-01  9.592e-01  0.000e+00  1.000e+01 ( 1.000e+00)
493        Index:  0.000e+00  0.000e+00 -1.000e+00  1.000e+00 ( 1.000e+00) fixed
494        Scale:  1.000e+02  0.000e+00  5.000e+01  2.000e+02 ( 1.000e+00) fixed

EG_v02
   Spectrum: FileFunction
488   Normalization:  1.211e+00  1.125e+00  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Free Index): 0.00
Ra Dec: 56.319 -23.885

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/17339/cmap_HighResolution_682041601_682300801_4FGL_J0345.2-2353_daily_bin1708.png

Cleaning up...

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

Updating database...

UPDATE lightcurve_data_v2 SET energy_flux_upper_limit='7.27e-03', job_status='DONE', photon_flux_upper_limit='9.38e-08', time_completed='2022-09-16 11:11:39.953908', job_id='17339', GAL2='0.59', fit_tolerance='1e-08', EG2='1.21', EG='1.21', time_epoch_completed='1663351899.95', return_code2='101', ts='0.00', comment='SUCCESS', return_code='0', GAL='0.59', dlogl='5.46e-12', ts2='0.00', photon_index_error='0.00', photon_index='2.45' WHERE bin_id='1708' AND source_name='4FGL J0345.2-2353' AND cadence='daily';

Database successfully updated.


Analysis Complete.


Fri Sep 16 11:11:39 PDT 2022


------------------------------------------------------------
Sender: LSF System <lsf@bullet0228>
Subject: Job 17339: <4FGL_J0345.2-2353_daily_bin1708> in cluster <slac> Done

Job <4FGL_J0345.2-2353_daily_bin1708> was submitted from host <rhel6-64l> by user <kocevski> in cluster <slac> at Fri Sep 16 11:00:27 2022
Job was executed on host(s) <bullet0228>, in queue <medium>, as user <kocevski> in cluster <slac> at Fri Sep 16 11:00:40 2022
</u/ki/kocevski> was used as the home directory.
</u/ki/kocevski> was used as the working directory.
Started at Fri Sep 16 11:00:40 2022
Terminated at Fri Sep 16 11:11:40 2022
Results reported at Fri Sep 16 11:11:40 2022

Your job looked like:

------------------------------------------------------------
# LSBATCH: User input
/nfs/farm/g/glast/g/LCRepository/Likelihood/Scripts/LikelihoodAnalysis.py 4FGL_J0345.2-2353_daily_bin1708 56.3187 -23.885 682041601 682300801 irfs=P8R3_SOURCE_V2 zmax=90 ROI=12 association=4FGL_J0345.2-2353 fixedModel=True performFreeIndexFit=True freeVariableSources=True nuke=True repositoryJob=True verbose=False
------------------------------------------------------------

Successfully completed.

Resource usage summary:

    CPU time :                                   530.42 sec.
    Max Memory :                                 1255 MB
    Average Memory :                             347.92 MB
    Total Requested Memory :                     -
    Delta Memory :                               -
    Max Swap :                                   -
    Max Processes :                              5
    Max Threads :                                21
    Run time :                                   660 sec.
    Turnaround time :                            673 sec.

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

