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


Performing analysis on: 4FGL_J2315.6-5018_daily_bin1774
RA = 348.914, Dec = -50.3127
tmin = 699148801, tmax = 699408001
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='699131', job_status='RUN', time_executed='2023-03-02 01:47:21.944780', time_epoch_executed='1677750441.94' WHERE source_name='4FGL J2315.6-5018' and cadence='daily' and bin_id='1774'

Database successfully updated.
Done.

Creating custom output directory:
/scratch/kocevski/699131

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

Retrieving the FT1 file...

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

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

Retrieving 46 files...
Done.


Merging files...

Checksum keywords updated successfully.

Merged file saved to:
/scratch/kocevski/699131/ft1_4FGL_J2315.6-5018_daily_bin1774.fits


Retrieving the FT1 file...

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

Retrieving 46 files...
Done.


Merging files...

Merged file saved to:
/scratch/kocevski/699131/ft2_4FGL_J2315.6-5018_daily_bin1774.fits


Selecting the photons:
time -p gtselect infile=/scratch/kocevski/699131/ft1_4FGL_J2315.6-5018_daily_bin1774.fits outfile=/scratch/kocevski/699131/ft1_filteredMKT_4FGL_J2315.6-5018_daily_bin1774.fits ra=348.914 dec=-50.3127 rad=12.0 tmin=699148801.0 tmax=699408001.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 2.83
user 2.60
sys 0.21

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

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

Number of photons that the gtmktime cut: 216

Generating the livetime cube:
time -p gtltcube evfile="/scratch/kocevski/699131/ft1_filtered_4FGL_J2315.6-5018_daily_bin1774.fits" evtable="EVENTS" scfile=/scratch/kocevski/699131/ft2_4FGL_J2315.6-5018_daily_bin1774.fits sctable="SC_DATA" outfile=/scratch/kocevski/699131/ltcube_699148801_699408001_4FGL_J2315.6-5018_daily_bin1774.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/699131/ft2_4FGL_J2315.6-5018_daily_bin1774.fits
.....................!
real 13.87
user 13.47
sys 0.34

Generating the exposure map:
time -p gtexpmap evfile=/scratch/kocevski/699131/ft1_filtered_4FGL_J2315.6-5018_daily_bin1774.fits evtable="EVENTS" scfile=/scratch/kocevski/699131/ft2_4FGL_J2315.6-5018_daily_bin1774.fits sctable="SC_DATA" expcube=/scratch/kocevski/699131/ltcube_699148801_699408001_4FGL_J2315.6-5018_daily_bin1774.fits outfile=/scratch/kocevski/699131/expmap_699148801_699408001_4FGL_J2315.6-5018_daily_bin1774.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/699131/ltcube_699148801_699408001_4FGL_J2315.6-5018_daily_bin1774.fits
.....................!
real 192.51
user 186.57
sys 5.37

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/699131/ft1_filtered_4FGL_J2315.6-5018_daily_bin1774.fits scfile=/scratch/kocevski/699131/ft2_4FGL_J2315.6-5018_daily_bin1774.fits outfile=/scratch/kocevski/699131/cmap_699148801_699408001_4FGL_J2315.6-5018_daily_bin1774.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.57
user 0.40
sys 0.14

Creating the high resolution counts map:
time -p gtbin evfile=/scratch/kocevski/699131/ft1_filtered_4FGL_J2315.6-5018_daily_bin1774.fits scfile=/scratch/kocevski/699131/ft2_4FGL_J2315.6-5018_daily_bin1774.fits outfile=/scratch/kocevski/699131/cmap_HighResolution_699148801_699408001_4FGL_J2315.6-5018_daily_bin1774.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.55
user 0.38
sys 0.17

Computing the diffuse response:
time -p gtdiffrsp evfile=/scratch/kocevski/699131/ft1_filtered_4FGL_J2315.6-5018_daily_bin1774.fits evtable="EVENTS" scfile=/scratch/kocevski/699131/ft2_4FGL_J2315.6-5018_daily_bin1774.fits sctable="SC_DATA" srcmdl=/scratch/kocevski/699131/Model_4FGL_J2315.6-5018_daily_bin1774.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/699131/ft1_filtered_4FGL_J2315.6-5018_daily_bin1774.fits......................!
real 25.67
user 24.30
sys 1.20

Creating the likelihood object...
obs = UnbinnedObs('/scratch/kocevski/699131/ft1_filtered_4FGL_J2315.6-5018_daily_bin1774.fits', '/scratch/kocevski/699131/ft2_4FGL_J2315.6-5018_daily_bin1774.fits', expMap='/scratch/kocevski/699131/expmap_699148801_699408001_4FGL_J2315.6-5018_daily_bin1774.fits', expCube='/scratch/kocevski/699131/ltcube_699148801_699408001_4FGL_J2315.6-5018_daily_bin1774.fits', irfs='P8R3_SOURCE_V2')
like = UnbinnedAnalysis(obs, '/scratch/kocevski/699131/Model_4FGL_J2315.6-5018_daily_bin1774.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/699131/ft1_filtered_4FGL_J2315.6-5018_daily_bin1774.fits
Spacecraft file(s): /scratch/kocevski/699131/ft2_4FGL_J2315.6-5018_daily_bin1774.fits
Exposure map: /scratch/kocevski/699131/expmap_699148801_699408001_4FGL_J2315.6-5018_daily_bin1774.fits
Exposure cube: /scratch/kocevski/699131/ltcube_699148801_699408001_4FGL_J2315.6-5018_daily_bin1774.fits
IRFs: P8R3_SOURCE_V2
Source model file: /scratch/kocevski/699131/Model_4FGL_J2315.6-5018_daily_bin1774.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) = 2351.60514278

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

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

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'Prefactor '    16.638       1.0000          .0000       .10000E+07
     2 'Prefactor '    47.485       1.0000          .0000       .10000E+07
     3 'Prefactor '    .18486E-03   1.0000          .0000       .10000E+07
     4 'Prefactor '    .30588E-01   1.0000          .0000       .10000E+07
     5 'Prefactor '    .50755E-02   1.0000          .0000       .10000E+07
     6 'Prefactor '    .32649E-01   1.0000          .0000       .10000E+07
     7 'Prefactor '    .16797E-03   1.0000          .0000       .10000E+07
     8 'Prefactor '    .15358E-03   1.0000          .0000       .10000E+07
     9 'norm      '    .13651E-02   1.0000          .0000       .10000E+07
    10 'Prefactor '    .23521E-04   1.0000          .0000       .10000E+07
    11 'Prefactor '    394.62       1.0000          .0000       .10000E+07
    12 'Prefactor '    20.167       1.0000          .0000       .10000E+07
    13 'Prefactor '    24.971       1.0000          .0000       .10000E+07
    14 'Prefactor '    .22953E-03   1.0000          .0000       .10000E+07
    15 'Prefactor '    .31605E-05   1.0000          .0000       .10000E+07
    16 'Prefactor '    .10597E-01   1.0000          .0000       .10000E+07
    17 'norm      '    6.0258       1.0000          .0000       .10000E+07
    18 'norm      '    .63340E-03   1.0000          .0000       .10000E+07
    19 'norm      '    .60192E-03   1.0000          .0000       .10000E+07
    20 'Prefactor '    47.690       1.0000          .0000       .10000E+07
    21 'Prefactor '    .11519E-02   1.0000          .0000       .10000E+07
    22 'norm      '    .28811E-04   1.0000          .0000       .10000E+07
    23 'Prefactor '    .15070E-01   1.0000          .0000       .10000E+07
    24 'norm      '    1.2508       1.0000          .0000       .10000E+07
    25 'norm      '    1.6659       1.0000          .0000       .10000E+07
    26 'Prefactor '    33.695       1.0000          .0000       .10000E+07
    27 'Prefactor '    .16751E-05   1.0000          .0000       .10000E+07
    28 'Prefactor '    29.760       1.0000          .0000       .10000E+07
    29 'norm      '    .46341E-01   1.0000          .0000       .10000E+07
    30 'Prefactor '    12.082       1.0000          .0000       .10000E+07
    31 'Prefactor '    4.2619       1.0000          .0000       .10000E+07
    32 'Normalizat'    .39854       1.0000         .10000E-01   10.000    
    33 'Prefactor '    1.7953       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=   2351.594     FROM MIGRAD    STATUS=CONVERGED    237 CALLS     5131 TOTAL
                     EDM=   .13E-08  STRATEGY=1  ERROR MATRIX UNCERTAINTY=  1.7%

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor     16.787        1.5465       -.46113E-07   -.50817E-02
   2  Prefactor     47.206        10.055       -.65310E-06    .75160E-02
   3  Prefactor      .0000        4.7787       -.14151E-05** at limit **
   4  Prefactor      .0000        60.177        .46912E-05** at limit **
   5  Prefactor     .94369E-09    13.172        .11755E-05** at limit **
   6  Prefactor     .55511E-10    45.698        .38617E-05** at limit **
   7  Prefactor      .0000        4.7337        .60704E-06** at limit **
   8  Prefactor     .23431E-03    199.68       -.92915E-05** at limit **
   9  norm           .0000        8.4848        .50501E-06** at limit **
  10  Prefactor     .12412E-05    50.490       -.22984E-06** at limit **
  11  Prefactor     395.08        42.568        .11173E-05   -.71239    
  12  Prefactor     20.105        2.5296       -.22390E-06   -.15044E-01
  13  Prefactor     24.997        1.1131       -.56620E-07    .12131E-03
  14  Prefactor     .12009E-03    162.99        .50109E-05** at limit **
  15  Prefactor     .27197E-05    30.069        .80512E-05** at limit **
  16  Prefactor     .37081E-07    15.111       -.16737E-05** at limit **
  17  norm          5.9923        1.0471        .29854E-07    .95097E-03
  18  norm          .55511E-10    6.1010        .73925E-06** at limit **
  19  norm          .44409E-09    9.0948       -.17246E-05** at limit **
  20  Prefactor     47.725        1.0990        .81294E-08    .42032E-02
  21  Prefactor     .18933E-05    27.461       -.21336E-05** at limit **
  22  norm          .14228E-06    18.431        .92333E-06** at limit **
  23  Prefactor     .94369E-09    40.305        .14871E-05** at limit **
  24  norm          1.2528        2.5041       -.52770E-06    .59059E-03
  25  norm          1.6806        5.6887       -.25689E-05   -.31060E-03
  26  Prefactor     33.670        2.1807       -.75872E-07    .95066E-02
  27  Prefactor      .0000        2.1867       -.12389E-06** at limit **
  28  Prefactor     29.407        11.169       -.28273E-07    .10317    
  29  norm           .0000        49.413        .10782E-04** at limit **
  30  Prefactor     12.035        8.9714        .10930E-05   -.20585E-02
  31  Prefactor     4.1291        7.1645        .10983E-05   -.11352E-02
  32  Normalizat    .40135        .42788       -.74809E-04   -.24902E-04
  33  Prefactor     1.7941        .46142        .32395E-04   -.21157E-04
                               ERR DEF=  .500    
Final values: 
  Prefactor  = 16.7867
  Prefactor  = 47.2058
  Prefactor  = 0
  Prefactor  = 0
  Prefactor  = 9.4369e-10
  Prefactor  = 5.55112e-11
  Prefactor  = 0
  Prefactor  = 0.00023431
  norm       = 0
  Prefactor  = 1.24117e-06
  Prefactor  = 395.082
  Prefactor  = 20.1051
  Prefactor  = 24.9969
  Prefactor  = 0.000120087
  Prefactor  = 2.71966e-06
  Prefactor  = 3.70814e-08
  norm       = 5.99229
  norm       = 5.55112e-11
  norm       = 4.44089e-10
  Prefactor  = 47.7249
  Prefactor  = 1.89332e-06
  norm       = 1.42275e-07
  Prefactor  = 9.4369e-10
  norm       = 1.25283
  norm       = 1.68061
  Prefactor  = 33.6699
  Prefactor  = 0
  Prefactor  = 29.4069
  norm       = 0
  Prefactor  = 12.0347
  Prefactor  = 4.1291
  Normalizat = 0.401355
  Prefactor  = 1.79411
 **********
 **   18 **HESSE 
 **********

 FCN=   2351.594     FROM HESSE     STATUS=OK           765 CALLS     5896 TOTAL
                     EDM=   .33E-03    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  Prefactor     16.787        35.167        .24528E-03   -1.5626    
   2  Prefactor     47.206        80.949        .14513E-03   -1.5571    
   3  Prefactor      .0000        4.7781        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   4  Prefactor      .0000        10.048        .92047E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   5  Prefactor     .94369E-09    13.159        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   6  Prefactor     .55511E-10    45.717        .16314E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   7  Prefactor      .0000        4.7359        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   8  Prefactor     .23431E-03    207.06        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   9  norm           .0000        8.4960        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  10  Prefactor     .12412E-05    50.665        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  11  Prefactor     395.08        506.75        .50349E-04   -1.5310    
  12  Prefactor     20.105        21.621        .22275E-03   -1.5618    
  13  Prefactor     24.997        31.943        .20016E-03   -1.5608    
  14  Prefactor     .12009E-03    169.54        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  15  Prefactor     .27197E-05    30.505        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  16  Prefactor     .37081E-07    15.119        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  17  norm          5.9923        29.783        .40879E-03   -1.5659    
  18  norm          .55511E-10    6.1011        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  19  norm          .44409E-09    9.1063        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  20  Prefactor     47.725        21.571        .14482E-03   -1.5570    
  21  Prefactor     .18933E-05    27.657        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  22  norm          .14228E-06    18.418        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  23  Prefactor     .94369E-09    39.800        .17385E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  24  norm          1.2528        2.7803        .99948E-03   -1.5686    
  25  norm          1.6806        5.7341        .81673E-03   -1.5682    
  26  Prefactor     33.670        31.265        .17229E-03   -1.5592    
  27  Prefactor      .0000        2.1895        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  28  Prefactor     29.407        40.392        .18334E-03   -1.5600    
  29  norm           .0000        49.160        .15689E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  30  Prefactor     12.035        9.1967        .28795E-03   -1.5639    
  31  Prefactor     4.1291        7.3956        .48781E-03   -1.5667    
  32  Normalizat    .40135        .43968        .96484E-01   -1.1723    
  33  Prefactor     1.7941        .42968        .53262E-01   -.69603    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 0.000332638
Minuit parameter uncertainties:
  1  35.1679
  2  80.9511
  3  1.74226e-05
  4  5.85514e-06
  5  0.000223435
  6  9.1208e-05
  7  1.56403e-05
  8  0.440539
  9  1.16517e-05
  10  0.01586
  11  506.806
  12  21.6209
  13  31.9437
  14  0.285386
  15  0.0182169
  16  0.00149749
  17  26.7186
  18  2.6103e-05
  19  0.000129894
  20  21.5713
  21  0.0144728
  22  0.00323734
  23  0.000384755
  24  2.78029
  25  5.73409
  26  31.2653
  27  8.13197e-06
  28  40.3928
  29  3.85453e-05
  30  9.19673
  31  7.39559
  32  0.443546
  33  0.430584
Done.

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

Extracting fit parameters...

4FGL J2315.6-5018
   Spectrum: PowerLaw
432    Prefactor:  3.708e-08  1.497e-03  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:  1.794e+00  4.306e-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:  4.014e-01  4.435e-01  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Fixed Index): -0.00
Ra Dec: 348.914 -50.313
Photon Flux Upper Limit: 1.38e-07 ph cm-2 s-1
Energy Flux Upper Limit: 1.07e-02 MeV cm-2 s-1

Saving results to:
/scratch/kocevski/699131/likelihoodResults_699148801_699408001_4FGL_J2315.6-5018_daily_bin1774.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) = 2351.6258994
delta logL = -0.0317025472086

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

MINUIT Return Code (Free Index): 102
logL (Free Index) = 2351.59419792
delta logL = -1.06397010313e-06

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'Prefactor '    .67157E-05   1.0000          .0000       .10000E+07
     2 'Index     '    .80529       1.0000          .0000       10.000    
     3 'Normalizat'    .40113       1.0000         .10000E-01   10.000    
     4 'Prefactor '    1.7945       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.
  MNHESS FAILS AND WILL RETURN DIAGONAL MATRIX. 

 FCN=   2351.594     FROM MIGRAD    STATUS=CONVERGED     57 CALLS      230 TOTAL
                     EDM=   .98E-10  STRATEGY=1  ERROR MATRIX UNCERTAINTY=100.0%

  EXT PARAMETER                APPROXIMATE        STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor      .0000        2.6038        .42118E-03** at limit **
   2  Index         3.6281        2.0387       -.17974E-03     .0000    
   3  Normalizat    .40136        .72150        .69587E-05    .12303E-03
   4  Prefactor     1.7941        1.0280       -.65568E-05    .16804E-03
                               ERR DEF=  .500    
Final values: 
  Prefactor  = 0
  Index      = 3.62812
  Normalizat = 0.40136
  Prefactor  = 1.79411
 **********
 **   18 **HESSE 
 **********
  MNHESS FAILS AND WILL RETURN DIAGONAL MATRIX. 

 FCN=   2351.594     FROM HESSE     STATUS=FAILED         9 CALLS      239 TOTAL
                     EDM=   .98E-10  STRATEGY=1  ERROR MATRIX UNCERTAINTY=100.0%

  EXT PARAMETER                APPROXIMATE     INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  Prefactor      .0000        2.6038        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   2  Index         1.4555        2.3021       -.17974E-03   -.27794    
   3  Normalizat    .40136        .72150        .69587E-05   -1.1723    
   4  Prefactor     1.7941        1.0280       -.65568E-05   -.69603    
                               ERR DEF=  .500    
Minuit fit quality: 1   estimated distance: 9.8266e-11
Minuit parameter uncertainties:
  1  5.35474e-06
  2  2.10528
  3  0.7393
  4  1.04076
shell-init: error retrieving current directory: getcwd: cannot access parent directories: No such file or directory
rmdir: failed to remove `/scratch/kocevski/699131': 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) = 2351.59419685
delta logL = 1.16142473416e-09

Extracting fit parameters...

4FGL J2315.6-5018
   Spectrum: PowerLaw
432    Prefactor:  0.000e+00  5.355e-06  0.000e+00  1.000e+06 ( 1.000e-13)
433        Index:  3.628e+00  2.105e+00  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:  1.794e+00  1.041e+00  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:  4.014e-01  7.393e-01  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Free Index): -0.00
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/699131/cmap_HighResolution_699148801_699408001_4FGL_J2315.6-5018_daily_bin1774.png

Cleaning up...

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

Updating database...

UPDATE lightcurve_data_v2 SET energy_flux_upper_limit='1.07e-02', job_status='DONE', photon_flux_upper_limit='1.38e-07', time_completed='2023-03-02 01:56:48.318431', job_id='699131', GAL2='1.79', fit_tolerance='1e-08', EG2='0.40', EG='0.40', time_epoch_completed='1677751008.32', return_code2='101', ts='-0.00', comment='SUCCESS', return_code='0', GAL='1.79', dlogl='1.16e-09', ts2='0.00', photon_index_error='0.00', photon_index='2.40' WHERE bin_id='1774' AND source_name='4FGL J2315.6-5018' AND cadence='daily';

Database successfully updated.


Analysis Complete.


Thu Mar  2 01:56:48 PST 2023


------------------------------------------------------------
Sender: LSF System <lsf@bullet0109>
Subject: Job 699131: <4FGL_J2315.6-5018_daily_bin1774> in cluster <slac> Done

Job <4FGL_J2315.6-5018_daily_bin1774> was submitted from host <rhel6-64p> by user <kocevski> in cluster <slac> at Thu Mar  2 01:45:19 2023
Job was executed on host(s) <bullet0109>, in queue <medium>, as user <kocevski> in cluster <slac> at Thu Mar  2 01:45:20 2023
</u/ki/kocevski> was used as the home directory.
</u/ki/kocevski> was used as the working directory.
Started at Thu Mar  2 01:45:20 2023
Terminated at Thu Mar  2 01:56:49 2023
Results reported at Thu Mar  2 01:56:49 2023

Your job looked like:

------------------------------------------------------------
# LSBATCH: User input
/nfs/farm/g/glast/g/LCRepository/Likelihood/Scripts/LikelihoodAnalysis.py 4FGL_J2315.6-5018_daily_bin1774 348.914 -50.3127 699148801 699408001 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 :                                   568.00 sec.
    Max Memory :                                 1094 MB
    Average Memory :                             273.25 MB
    Total Requested Memory :                     -
    Delta Memory :                               -
    Max Swap :                                   -
    Max Processes :                              5
    Max Threads :                                21
    Run time :                                   688 sec.
    Turnaround time :                            690 sec.

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

