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


Performing analysis on: 4FGL_J2315.6-5018_daily_bin1730
RA = 348.914, Dec = -50.3127
tmin = 687744001, tmax = 688003201
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='469195', job_status='RUN', time_executed='2022-10-21 00:36:17.908584', time_epoch_executed='1666337777.91' WHERE source_name='4FGL J2315.6-5018' and cadence='daily' and bin_id='1730'

Database successfully updated.
Done.

Creating custom output directory:
/scratch/kocevski/469195

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

Retrieving the FT1 file...

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

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

Retrieving 47 files...
Done.


Merging files...

Checksum keywords updated successfully.

Merged file saved to:
/scratch/kocevski/469195/ft1_4FGL_J2315.6-5018_daily_bin1730.fits


Retrieving the FT1 file...

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

Retrieving 47 files...
Done.


Merging files...

Merged file saved to:
/scratch/kocevski/469195/ft2_4FGL_J2315.6-5018_daily_bin1730.fits


Selecting the photons:
time -p gtselect infile=/scratch/kocevski/469195/ft1_4FGL_J2315.6-5018_daily_bin1730.fits outfile=/scratch/kocevski/469195/ft1_filteredMKT_4FGL_J2315.6-5018_daily_bin1730.fits ra=348.914 dec=-50.3127 rad=12.0 tmin=687744001.0 tmax=688003201.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.97
user 4.70
sys 0.24

Adding sun position to ft2 file:
/nfs/farm/g/glast/g/LCRepository/Repository/bin/sunpos /scratch/kocevski/469195/ft2_4FGL_J2315.6-5018_daily_bin1730.fits

Selecting the good time intervals:
time -p gtmktime scfile=/scratch/kocevski/469195/ft2_4FGL_J2315.6-5018_daily_bin1730.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/469195/ft1_filteredMKT_4FGL_J2315.6-5018_daily_bin1730.fits evtable="EVENTS" outfile="/scratch/kocevski/469195/ft1_filtered_4FGL_J2315.6-5018_daily_bin1730.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.33
sys 0.16

Number of photons that the gtmktime cut: 418

Generating the livetime cube:
time -p gtltcube evfile="/scratch/kocevski/469195/ft1_filtered_4FGL_J2315.6-5018_daily_bin1730.fits" evtable="EVENTS" scfile=/scratch/kocevski/469195/ft2_4FGL_J2315.6-5018_daily_bin1730.fits sctable="SC_DATA" outfile=/scratch/kocevski/469195/ltcube_687744001_688003201_4FGL_J2315.6-5018_daily_bin1730.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/469195/ft2_4FGL_J2315.6-5018_daily_bin1730.fits
.....................!
real 11.62
user 11.27
sys 0.32

Generating the exposure map:
time -p gtexpmap evfile=/scratch/kocevski/469195/ft1_filtered_4FGL_J2315.6-5018_daily_bin1730.fits evtable="EVENTS" scfile=/scratch/kocevski/469195/ft2_4FGL_J2315.6-5018_daily_bin1730.fits sctable="SC_DATA" expcube=/scratch/kocevski/469195/ltcube_687744001_688003201_4FGL_J2315.6-5018_daily_bin1730.fits outfile=/scratch/kocevski/469195/expmap_687744001_688003201_4FGL_J2315.6-5018_daily_bin1730.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/469195/ltcube_687744001_688003201_4FGL_J2315.6-5018_daily_bin1730.fits
.....................!
real 190.62
user 185.23
sys 5.01

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 186 point sources and 0 extended sources

Setting source of interest to:
4FGL J2315.6-5018 @ 348.914 -50.3127

Creating the counts map:
time -p gtbin evfile=/scratch/kocevski/469195/ft1_filtered_4FGL_J2315.6-5018_daily_bin1730.fits scfile=/scratch/kocevski/469195/ft2_4FGL_J2315.6-5018_daily_bin1730.fits outfile=/scratch/kocevski/469195/cmap_687744001_688003201_4FGL_J2315.6-5018_daily_bin1730.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=348.914 yref=-50.3127 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.36
sys 0.16

Creating the high resolution counts map:
time -p gtbin evfile=/scratch/kocevski/469195/ft1_filtered_4FGL_J2315.6-5018_daily_bin1730.fits scfile=/scratch/kocevski/469195/ft2_4FGL_J2315.6-5018_daily_bin1730.fits outfile=/scratch/kocevski/469195/cmap_HighResolution_687744001_688003201_4FGL_J2315.6-5018_daily_bin1730.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=348.914 yref=-50.3127 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.16

Computing the diffuse response:
time -p gtdiffrsp evfile=/scratch/kocevski/469195/ft1_filtered_4FGL_J2315.6-5018_daily_bin1730.fits evtable="EVENTS" scfile=/scratch/kocevski/469195/ft2_4FGL_J2315.6-5018_daily_bin1730.fits sctable="SC_DATA" srcmdl=/scratch/kocevski/469195/Model_4FGL_J2315.6-5018_daily_bin1730.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/469195/ft1_filtered_4FGL_J2315.6-5018_daily_bin1730.fits.....................!
real 37.68
user 35.77
sys 1.26

Creating the likelihood object...
obs = UnbinnedObs('/scratch/kocevski/469195/ft1_filtered_4FGL_J2315.6-5018_daily_bin1730.fits', '/scratch/kocevski/469195/ft2_4FGL_J2315.6-5018_daily_bin1730.fits', expMap='/scratch/kocevski/469195/expmap_687744001_688003201_4FGL_J2315.6-5018_daily_bin1730.fits', expCube='/scratch/kocevski/469195/ltcube_687744001_688003201_4FGL_J2315.6-5018_daily_bin1730.fits', irfs='P8R3_SOURCE_V2')
like = UnbinnedAnalysis(obs, '/scratch/kocevski/469195/Model_4FGL_J2315.6-5018_daily_bin1730.xml', optimizer='MINUIT')

Using source of interest name: '4FGL J2315.6-5018'

4FGL J2315.6-5018
   Spectrum: PowerLaw
432    Prefactor:  3.550e+00  0.000e+00  0.000e+00  1.000e+06 ( 1.000e-13)
433        Index:  2.395e+00  0.000e+00  0.000e+00  1.000e+01 (-1.000e+00) fixed
434        Scale:  1.098e+03  0.000e+00  3.000e+01  5.000e+05 ( 1.000e+00) fixed


Likelihood Fit Parameters:
Event file(s): /scratch/kocevski/469195/ft1_filtered_4FGL_J2315.6-5018_daily_bin1730.fits
Spacecraft file(s): /scratch/kocevski/469195/ft2_4FGL_J2315.6-5018_daily_bin1730.fits
Exposure map: /scratch/kocevski/469195/expmap_687744001_688003201_4FGL_J2315.6-5018_daily_bin1730.fits
Exposure cube: /scratch/kocevski/469195/ltcube_687744001_688003201_4FGL_J2315.6-5018_daily_bin1730.fits
IRFs: P8R3_SOURCE_V2
Source model file: /scratch/kocevski/469195/Model_4FGL_J2315.6-5018_daily_bin1730.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) = 4639.54537961

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

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

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'Prefactor '    .26565E-02   1.0000          .0000       .10000E+07
     2 'Prefactor '    .72826E-03   1.0000          .0000       .10000E+07
     3 'Prefactor '    .81370E-03   1.0000          .0000       .10000E+07
     4 'Prefactor '    6.4209       1.0000          .0000       .10000E+07
     5 'Prefactor '    .38238E-02   1.0000          .0000       .10000E+07
     6 'Prefactor '    .82838E-04   1.0000          .0000       .10000E+07
     7 'Prefactor '    9.0007       1.0000          .0000       .10000E+07
     8 'Prefactor '    .49246       1.0000          .0000       .10000E+07
     9 'norm      '    .75668E-04   1.0000          .0000       .10000E+07
    10 'Prefactor '    9.1661       1.0000          .0000       .10000E+07
    11 'Prefactor '    1.9258       1.0000          .0000       .10000E+07
    12 'Prefactor '    3.5430       1.0000          .0000       .10000E+07
    13 'Prefactor '    5.4577       1.0000          .0000       .10000E+07
    14 'Prefactor '    6.1351       1.0000          .0000       .10000E+07
    15 'Prefactor '    .29779E-02   1.0000          .0000       .10000E+07
    16 'Prefactor '    8.8604       1.0000          .0000       .10000E+07
    17 'norm      '    .30611E-03   1.0000          .0000       .10000E+07
    18 'norm      '    .10777E-04   1.0000          .0000       .10000E+07
    19 'norm      '    1.8504       1.0000          .0000       .10000E+07
    20 'Prefactor '    8.4279       1.0000          .0000       .10000E+07
    21 'Prefactor '    .31907E-01   1.0000          .0000       .10000E+07
    22 'norm      '    .53668E-04   1.0000          .0000       .10000E+07
    23 'Prefactor '    13.018       1.0000          .0000       .10000E+07
    24 'norm      '    .85956       1.0000          .0000       .10000E+07
    25 'norm      '    .54253E-04   1.0000          .0000       .10000E+07
    26 'Prefactor '    .29084E-02   1.0000          .0000       .10000E+07
    27 'Prefactor '    .54179       1.0000          .0000       .10000E+07
    28 'Prefactor '    .16215E-03   1.0000          .0000       .10000E+07
    29 'norm      '    .27616E-03   1.0000          .0000       .10000E+07
    30 'Prefactor '    .26856E-06   1.0000          .0000       .10000E+07
    31 'Prefactor '    .59946E-04   1.0000          .0000       .10000E+07
    32 'Normalizat'    1.2099       1.0000         .10000E-01   10.000    
    33 'Prefactor '    .83823       1.0000          .0000       10.000    
 **********
 **   15 **SET ERR    .5000    
 **********
 **********
 **   16 **SET GRAD    1.000    
 **********
 **********
 **   17 **MINIMIZE    .5960E+05   .2000E-04
 **********

 MIGRAD MINIMIZATION HAS CONVERGED.

 FCN=   4639.535     FROM MIGRAD    STATUS=CONVERGED    178 CALLS     3390 TOTAL
                     EDM=   .11E-08  STRATEGY=1  ERROR MATRIX UNCERTAINTY=  1.6%

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor     .27964E-05    15.429        .80583E-06** at limit **
   2  Prefactor     .27206E-06    7.3390       -.87641E-06** at limit **
   3  Prefactor     .70555E-07    3.6048       -.75356E-06** at limit **
   4  Prefactor     6.4233        2.6294        .47644E-06   -.12346E-01
   5  Prefactor     .31086E-08    6.7922       -.16837E-06** at limit **
   6  Prefactor     .42560E-06    6.8092        .10536E-05** at limit **
   7  Prefactor     8.9982        5.3781        .72640E-08   -.46412E-02
   8  Prefactor     .19330E-04    98.555        .39123E-05** at limit **
   9  norm          .55511E-10    2.2462       -.39906E-07** at limit **
  10  Prefactor     9.1153        6.5127        .70906E-07   -.38645E-02
  11  Prefactor     1.9745        2.0623        .54409E-06   -.18265E-02
  12  Prefactor     3.4801        6.2465        .57510E-07   -.22201E-02
  13  Prefactor     5.4413        1.2413       -.91521E-07   -.82644E-05
  14  Prefactor     6.1149        3.3090        .49582E-07    .84190E-03
  15  Prefactor     .78632E-06    6.5367        .58393E-07** at limit **
  16  Prefactor     8.8529        1.8364       -.14202E-06   -.11328E-02
  17  norm          .18663E-06    2.7395       -.37674E-06** at limit **
  18  norm           .0000        3.0941       -.44196E-07** at limit **
  19  norm          1.8406        4.5720        .11417E-07   -.83685E-03
  20  Prefactor     8.6600        15.584        .12137E-05   -.15445E-01
  21  Prefactor     .71188E-06    22.742        .68012E-05** at limit **
  22  norm           .0000        2.9378        .29530E-06** at limit **
  23  Prefactor     12.549        32.592       -.33358E-05    .33026E-01
  24  norm          .85647        1.4090       -.29460E-07    .14833E-03
  25  norm          .23259E-07    2.1318        .38051E-06** at limit **
  26  Prefactor     .18541E-07    8.8729        .97881E-06** at limit **
  27  Prefactor     .55400        2.4637        .12497E-05   -.98912E-02
  28  Prefactor     .64315E-06    7.2430       -.83546E-06** at limit **
  29  norm          .17653E-06    2.7091       -.33916E-06** at limit **
  30  Prefactor     .11102E-09    2.0635       -.11289E-06** at limit **
  31  Prefactor     .66613E-09    2.6321       -.26443E-06** at limit **
  32  Normalizat    1.2109        .25968       -.78130E-06    .40545E-04
  33  Prefactor     .83786        .25575       -.14450E-05    .68615E-06
                               ERR DEF=  .500    
Final values: 
  Prefactor  = 2.79643e-06
  Prefactor  = 2.7206e-07
  Prefactor  = 7.05547e-08
  Prefactor  = 6.4233
  Prefactor  = 3.10862e-09
  Prefactor  = 4.25604e-07
  Prefactor  = 8.99824
  Prefactor  = 1.93301e-05
  norm       = 5.55112e-11
  Prefactor  = 9.11528
  Prefactor  = 1.97447
  Prefactor  = 3.48012
  Prefactor  = 5.44128
  Prefactor  = 6.1149
  Prefactor  = 7.86315e-07
  Prefactor  = 8.85292
  norm       = 1.86628e-07
  norm       = 0
  norm       = 1.84063
  Prefactor  = 8.65997
  Prefactor  = 7.11875e-07
  norm       = 0
  Prefactor  = 12.5485
  norm       = 0.856466
  norm       = 2.32592e-08
  Prefactor  = 1.85407e-08
  Prefactor  = 0.554
  Prefactor  = 6.43152e-07
  norm       = 1.76525e-07
  Prefactor  = 1.11022e-10
  Prefactor  = 6.66134e-10
  Normalizat = 1.21088
  Prefactor  = 0.83786
 **********
 **   18 **HESSE 
 **********

 FCN=   4639.535     FROM HESSE     STATUS=OK           759 CALLS     4149 TOTAL
                     EDM=   .25E-05    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  Prefactor     .27964E-05    22.812        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   2  Prefactor     .27206E-06    19.033        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   3  Prefactor     .70555E-07    10.014        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   4  Prefactor     6.4233        7.9672        .39585E-03   -1.5657    
   5  Prefactor     .31086E-08    6.8001        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   6  Prefactor     .42560E-06    8.3994        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   7  Prefactor     8.9982        5.3980        .33384E-03   -1.5648    
   8  Prefactor     .19330E-04    128.51        .79472E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   9  norm          .55511E-10    2.2471        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  10  Prefactor     9.1153        6.7379        .33080E-03   -1.5648    
  11  Prefactor     1.9745        358.80        .74831E-03   -1.5680    
  12  Prefactor     3.4801        6.3752        .53675E-03   -1.5671    
  13  Prefactor     5.4413        19.977        .42987E-03   -1.5661    
  14  Prefactor     6.1149        9.9763        .40509E-03   -1.5659    
  15  Prefactor     .78632E-06    11.416        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  16  Prefactor     8.8529        17.977        .33649E-03   -1.5648    
  17  norm          .18663E-06    9.2236        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  18  norm           .0000        3.1019        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  19  norm          1.8406        4.6171        .76614E-03   -1.5681    
  20  Prefactor     8.6600        18.238        .34507E-03   -1.5649    
  21  Prefactor     .71188E-06    30.829        .16351E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  22  norm           .0000        3.0155        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  23  Prefactor     12.549        38.514        .27736E-03   -1.5637    
  24  norm          .85647        1.4879        .48597E-03   -1.5689    
  25  norm          .23259E-07    3.7411        .42118E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  26  Prefactor     .18541E-07    14.524        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  27  Prefactor     .55400        8.7784        .74612E-03   -1.5693    
  28  Prefactor     .64315E-06    18.472        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  29  norm          .17653E-06    9.1704        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  30  Prefactor     .11102E-09    2.0648        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  31  Prefactor     .66613E-09    2.7529        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  32  Normalizat    1.2109        .21782        .51491E-01   -.86267    
  33  Prefactor     .83786        .21190        .44213E-01   -.98347    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 2.45091e-06
Minuit parameter uncertainties:
  1  0.0159743
  2  0.00455119
  3  0.00168092
  4  7.96723
  5  0.000291476
  6  0.00378146
  7  5.39801
  8  0.0996846
  9  1.92511e-05
  10  6.73796
  11  53.236
  12  6.37522
  13  19.9774
  14  9.97635
  15  0.00599211
  16  17.9776
  17  0.00262398
  18  2.25774e-06
  19  4.61712
  20  18.2382
  21  0.00936939
  22  1.53562e-05
  23  38.5147
  24  1.48793
  25  0.000590097
  26  0.0010373
  27  4.41055
  28  0.00689348
  29  0.00254463
  30  2.95582e-05
  31  8.68184e-05
  32  0.217979
  33  0.212106
Done.

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

Extracting fit parameters...

4FGL J2315.6-5018
   Spectrum: PowerLaw
432    Prefactor:  8.853e+00  1.798e+01  0.000e+00  1.000e+06 ( 1.000e-13)
433        Index:  2.395e+00  0.000e+00  0.000e+00  1.000e+01 (-1.000e+00) fixed
434        Scale:  1.098e+03  0.000e+00  3.000e+01  5.000e+05 ( 1.000e+00) fixed

GAL_V02
   Spectrum: PowerLaw
593    Prefactor:  8.379e-01  2.121e-01  0.000e+00  1.000e+01 ( 1.000e+00)
594        Index:  0.000e+00  0.000e+00 -1.000e+00  1.000e+00 ( 1.000e+00) fixed
595        Scale:  1.000e+02  0.000e+00  5.000e+01  2.000e+02 ( 1.000e+00) fixed

EG_v02
   Spectrum: FileFunction
592   Normalization:  1.211e+00  2.180e-01  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Fixed Index): 0.30
Ra Dec: 348.914 -50.313
Photon Flux Upper Limit: 1.11e-07 ph cm-2 s-1
Energy Flux Upper Limit: 8.56e-03 MeV cm-2 s-1

Saving results to:
/scratch/kocevski/469195/likelihoodResults_687744001_688003201_4FGL_J2315.6-5018_daily_bin1730.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) = 4639.39870561
delta logL = 0.136445878064

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

MINUIT Return Code (Free Index): 0
logL (Free Index) = 4639.38476067
delta logL = 0.150390824552

Fit tolerance = 1e-08

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

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

 MIGRAD MINIMIZATION HAS CONVERGED.

 MIGRAD WILL VERIFY CONVERGENCE AND ERROR MATRIX.

 FCN=   4639.385     FROM MIGRAD    STATUS=CONVERGED     50 CALLS      391 TOTAL
                     EDM=   .14E-07    STRATEGY= 1      ERR MATRIX NOT POS-DEF

  EXT PARAMETER                APPROXIMATE        STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor     3.6638        180.43        .52747E-03    .92416E-02
   2  Index         3.2119        6.6060        .12296        .10868E-03
   3  Normalizat    1.1865        .61276E-01    .51923E-01    .45144E-05
   4  Prefactor     .85536        .61436E-01    .44434E-01    .12226E-04
                               ERR DEF=  .500    
Final values: 
  Prefactor  = 3.66379
  Index      = 3.21192
  Normalizat = 1.18646
  Prefactor  = 0.855362
 **********
 **   18 **HESSE 
 **********

 FCN=   4639.385     FROM HESSE     STATUS=NOT POSDEF    33 CALLS      424 TOTAL
                     EDM=   .56E-06    STRATEGY= 1      ERR MATRIX NOT POS-DEF

  EXT PARAMETER                APPROXIMATE     INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  Prefactor     3.6638        353.60        .17268E-04   -1.5670    
   2  Index         3.2119        5.5746        .77562E-02   -.36571    
   3  Normalizat    1.1865        .24332        .22957E-03   -.87022    
   4  Prefactor     .85536        .25426        .26940E-03   -.97719    
                               ERR DEF=  .500    
Minuit fit quality: 2   estimated distance: 5.59349e-07
Minuit parameter uncertainties:
  1  71.9905
  2  10.0297
  3  0.243557
  4  0.254607
shell-init: error retrieving current directory: getcwd: cannot access parent directories: No such file or directory
rmdir: failed to remove `/scratch/kocevski/469195': 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) = 4639.38476064
delta logL = 0.150390849226

Extracting fit parameters...

4FGL J2315.6-5018
   Spectrum: PowerLaw
432    Prefactor:  3.664e+00  7.199e+01  0.000e+00  1.000e+06 ( 1.000e-13)
433        Index:  3.212e+00  1.003e+01  0.000e+00  1.000e+01 (-1.000e+00)
434        Scale:  1.098e+03  0.000e+00  3.000e+01  5.000e+05 ( 1.000e+00) fixed

GAL_V02
   Spectrum: PowerLaw
593    Prefactor:  8.554e-01  2.546e-01  0.000e+00  1.000e+01 ( 1.000e+00)
594        Index:  0.000e+00  0.000e+00 -1.000e+00  1.000e+00 ( 1.000e+00) fixed
595        Scale:  1.000e+02  0.000e+00  5.000e+01  2.000e+02 ( 1.000e+00) fixed

EG_v02
   Spectrum: FileFunction
592   Normalization:  1.186e+00  2.436e-01  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Free Index): 0.30
Ra Dec: 348.914 -50.313

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/469195/cmap_HighResolution_687744001_688003201_4FGL_J2315.6-5018_daily_bin1730.png

Cleaning up...

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

Updating database...

UPDATE lightcurve_data_v2 SET energy_flux_upper_limit='8.56e-03', job_status='DONE', photon_flux_upper_limit='1.11e-07', time_completed='2022-10-21 00:47:46.850082', job_id='469195', GAL2='0.86', fit_tolerance='1e-08', EG2='1.19', EG='1.21', time_epoch_completed='1666338466.85', return_code2='102', ts='0.30', comment='SUCCESS', return_code='0', GAL='0.84', dlogl='1.50e-01', ts2='0.62', photon_index_error='0.00', photon_index='2.40' WHERE bin_id='1730' AND source_name='4FGL J2315.6-5018' AND cadence='daily';

Database successfully updated.


Analysis Complete.


Fri Oct 21 00:47:46 PDT 2022


------------------------------------------------------------
Sender: LSF System <lsf@bullet0093>
Subject: Job 469195: <4FGL_J2315.6-5018_daily_bin1730> in cluster <slac> Done

Job <4FGL_J2315.6-5018_daily_bin1730> was submitted from host <rhel6-64p> by user <kocevski> in cluster <slac> at Fri Oct 21 00:35:30 2022
Job was executed on host(s) <bullet0093>, in queue <medium>, as user <kocevski> in cluster <slac> at Fri Oct 21 00:35:31 2022
</u/ki/kocevski> was used as the home directory.
</u/ki/kocevski> was used as the working directory.
Started at Fri Oct 21 00:35:31 2022
Terminated at Fri Oct 21 00:47:47 2022
Results reported at Fri Oct 21 00:47:47 2022

Your job looked like:

------------------------------------------------------------
# LSBATCH: User input
/nfs/farm/g/glast/g/LCRepository/Likelihood/Scripts/LikelihoodAnalysis.py 4FGL_J2315.6-5018_daily_bin1730 348.914 -50.3127 687744001 688003201 irfs=P8R3_SOURCE_V2 zmax=90 ROI=12 association=4FGL_J2315.6-5018 fixedModel=True performFreeIndexFit=True freeVariableSources=True nuke=True repositoryJob=True verbose=False
------------------------------------------------------------

Successfully completed.

Resource usage summary:

    CPU time :                                   690.49 sec.
    Max Memory :                                 1094 MB
    Average Memory :                             311.36 MB
    Total Requested Memory :                     -
    Delta Memory :                               -
    Max Swap :                                   -
    Max Processes :                              5
    Max Threads :                                21
    Run time :                                   736 sec.
    Turnaround time :                            737 sec.

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

