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


Performing analysis on: 4FGL_J2315.6-5018_daily_bin1773
RA = 348.914, Dec = -50.3127
tmin = 698889601, tmax = 699148801
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='807237', job_status='RUN', time_executed='2023-02-27 10:45:14.517213', time_epoch_executed='1677523514.52' WHERE source_name='4FGL J2315.6-5018' and cadence='daily' and bin_id='1773'

Database successfully updated.
Done.

Creating custom output directory:
/scratch/kocevski/807237

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

Retrieving the FT1 file...

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

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

Retrieving 46 files...
Done.


Merging files...

Checksum keywords updated successfully.

Merged file saved to:
/scratch/kocevski/807237/ft1_4FGL_J2315.6-5018_daily_bin1773.fits


Retrieving the FT1 file...

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

Retrieving 46 files...
Done.


Merging files...

Merged file saved to:
/scratch/kocevski/807237/ft2_4FGL_J2315.6-5018_daily_bin1773.fits


Selecting the photons:
time -p gtselect infile=/scratch/kocevski/807237/ft1_4FGL_J2315.6-5018_daily_bin1773.fits outfile=/scratch/kocevski/807237/ft1_filteredMKT_4FGL_J2315.6-5018_daily_bin1773.fits ra=348.914 dec=-50.3127 rad=12.0 tmin=698889601.0 tmax=699148801.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.97
user 2.74
sys 0.21

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

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

Number of photons that the gtmktime cut: 167

Generating the livetime cube:
time -p gtltcube evfile="/scratch/kocevski/807237/ft1_filtered_4FGL_J2315.6-5018_daily_bin1773.fits" evtable="EVENTS" scfile=/scratch/kocevski/807237/ft2_4FGL_J2315.6-5018_daily_bin1773.fits sctable="SC_DATA" outfile=/scratch/kocevski/807237/ltcube_698889601_699148801_4FGL_J2315.6-5018_daily_bin1773.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/807237/ft2_4FGL_J2315.6-5018_daily_bin1773.fits
.....................!
real 15.62
user 15.13
sys 0.36

Generating the exposure map:
time -p gtexpmap evfile=/scratch/kocevski/807237/ft1_filtered_4FGL_J2315.6-5018_daily_bin1773.fits evtable="EVENTS" scfile=/scratch/kocevski/807237/ft2_4FGL_J2315.6-5018_daily_bin1773.fits sctable="SC_DATA" expcube=/scratch/kocevski/807237/ltcube_698889601_699148801_4FGL_J2315.6-5018_daily_bin1773.fits outfile=/scratch/kocevski/807237/expmap_698889601_699148801_4FGL_J2315.6-5018_daily_bin1773.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/807237/ltcube_698889601_699148801_4FGL_J2315.6-5018_daily_bin1773.fits
.....................!
real 192.79
user 187.47
sys 4.78

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/807237/ft1_filtered_4FGL_J2315.6-5018_daily_bin1773.fits scfile=/scratch/kocevski/807237/ft2_4FGL_J2315.6-5018_daily_bin1773.fits outfile=/scratch/kocevski/807237/cmap_698889601_699148801_4FGL_J2315.6-5018_daily_bin1773.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.39
sys 0.16

Creating the high resolution counts map:
time -p gtbin evfile=/scratch/kocevski/807237/ft1_filtered_4FGL_J2315.6-5018_daily_bin1773.fits scfile=/scratch/kocevski/807237/ft2_4FGL_J2315.6-5018_daily_bin1773.fits outfile=/scratch/kocevski/807237/cmap_HighResolution_698889601_699148801_4FGL_J2315.6-5018_daily_bin1773.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.57
user 0.40
sys 0.16

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

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

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

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

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'Prefactor '    37.474       1.0000          .0000       .10000E+07
     2 'Prefactor '    .81776E-02   1.0000          .0000       .10000E+07
     3 'Prefactor '    .10564E-02   1.0000          .0000       .10000E+07
     4 'Prefactor '    12.474       1.0000          .0000       .10000E+07
     5 'Prefactor '    .12195E-03   1.0000          .0000       .10000E+07
     6 'Prefactor '    .19281       1.0000          .0000       .10000E+07
     7 'Prefactor '    .80745E-01   1.0000          .0000       .10000E+07
     8 'Prefactor '    .90546       1.0000          .0000       .10000E+07
     9 'norm      '    .27118E-01   1.0000          .0000       .10000E+07
    10 'Prefactor '    1170.8       1.0000          .0000       .10000E+07
    11 'Prefactor '    .42932E-02   1.0000          .0000       .10000E+07
    12 'Prefactor '    .99540E-01   1.0000          .0000       .10000E+07
    13 'Prefactor '    70.789       1.0000          .0000       .10000E+07
    14 'Prefactor '    .71189E-02   1.0000          .0000       .10000E+07
    15 'Prefactor '    .93655E-01   1.0000          .0000       .10000E+07
    16 'Prefactor '    37.210       1.0000          .0000       .10000E+07
    17 'norm      '    .32014E-03   1.0000          .0000       .10000E+07
    18 'norm      '    .10236E-02   1.0000          .0000       .10000E+07
    19 'norm      '    .18225E-03   1.0000          .0000       .10000E+07
    20 'Prefactor '    .12644E-03   1.0000          .0000       .10000E+07
    21 'Prefactor '    .98051E-02   1.0000          .0000       .10000E+07
    22 'norm      '    .37002E-02   1.0000          .0000       .10000E+07
    23 'Prefactor '    .28241E-02   1.0000          .0000       .10000E+07
    24 'norm      '    1.4743       1.0000          .0000       .10000E+07
    25 'norm      '    .11822E-02   1.0000          .0000       .10000E+07
    26 'Prefactor '    .40173E-02   1.0000          .0000       .10000E+07
    27 'Prefactor '    5.3460       1.0000          .0000       .10000E+07
    28 'Prefactor '    .73459E-03   1.0000          .0000       .10000E+07
    29 'norm      '    .25212E-02   1.0000          .0000       .10000E+07
    30 'Prefactor '    .53309E-04   1.0000          .0000       .10000E+07
    31 'Prefactor '    .37569       1.0000          .0000       .10000E+07
    32 'Normalizat'    .75773       1.0000         .10000E-01   10.000    
    33 'Prefactor '    1.0578       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=   1830.282     FROM MIGRAD    STATUS=CONVERGED    350 CALLS     3720 TOTAL
                     EDM=   .85E-13  STRATEGY=1  ERROR MATRIX UNCERTAINTY=  1.6%

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor     37.726        39.955       -.11796E-07    .92582E-05
   2  Prefactor      .0000        27.993        .38189E-07** at limit **
   3  Prefactor      .0000        16.365        .73292E-07** at limit **
   4  Prefactor     12.493        12.780        .18134E-07    .11920E-05
   5  Prefactor      .0000        3.7694       -.10524E-08** at limit **
   6  Prefactor      .0000        108.43        .18190E-06** at limit **
   7  Prefactor      .0000        76.449       -.27478E-06** at limit **
   8  Prefactor      .0000        2907.7        .28842E-05** at limit **
   9  norm           .0000        59.095        .28932E-07** at limit **
  10  Prefactor     1196.1        574.45        .40962E-06    .13522E-05
  11  Prefactor      .0000        1305.1        .33811E-06** at limit **
  12  Prefactor      .0000        81.127        .14793E-06** at limit **
  13  Prefactor     68.497        140.95       -.73416E-06    .36762E-05
  14  Prefactor      .0000        20.084        .29054E-07** at limit **
  15  Prefactor      .0000        79.985       -.53553E-07** at limit **
  16  Prefactor     37.047        37.289       -.30794E-06    .13074E-05
  17  norm           .0000        42.360       -.10342E-06** at limit **
  18  norm           .0000        5.2539       -.70586E-08** at limit **
  19  norm           .0000        5.0247        .17622E-07** at limit **
  20  Prefactor      .0000        5.0135       -.87605E-08** at limit **
  21  Prefactor      .0000        23.675       -.84739E-07** at limit **
  22  norm           .0000        4.1728        .73698E-09** at limit **
  23  Prefactor      .0000        9.0226       -.15094E-07** at limit **
  24  norm          1.4736        2.0107        .21730E-07    .68312E-05
  25  norm           .0000        3.7098        .12871E-07** at limit **
  26  Prefactor      .0000        10.255       -.21421E-07** at limit **
  27  Prefactor     5.3497        6.5654       -.19511E-07    .60309E-05
  28  Prefactor      .0000        37.595       -.20692E-06** at limit **
  29  norm           .0000        17.128        .10803E-06** at limit **
  30  Prefactor      .0000        4.9374       -.10834E-08** at limit **
  31  Prefactor     .37866        39.927        .34532E-06    .33591E-04
  32  Normalizat    .75409        .40444        .39155E-05    .78849E-06
  33  Prefactor     1.0600        .40229       -.18927E-05    .48148E-06
                               ERR DEF=  .500    
Final values: 
  Prefactor  = 37.7262
  Prefactor  = 0
  Prefactor  = 0
  Prefactor  = 12.4934
  Prefactor  = 0
  Prefactor  = 0
  Prefactor  = 0
  Prefactor  = 0
  norm       = 0
  Prefactor  = 1196.12
  Prefactor  = 0
  Prefactor  = 0
  Prefactor  = 68.4968
  Prefactor  = 0
  Prefactor  = 0
  Prefactor  = 37.0474
  norm       = 0
  norm       = 0
  norm       = 0
  Prefactor  = 0
  Prefactor  = 0
  norm       = 0
  Prefactor  = 0
  norm       = 1.47364
  norm       = 0
  Prefactor  = 0
  Prefactor  = 5.3497
  Prefactor  = 0
  norm       = 0
  Prefactor  = 0
  Prefactor  = 0.378655
  Normalizat = 0.754094
  Prefactor  = 1.06003
 **********
 **   18 **HESSE 
 **********

 FCN=   1830.282     FROM HESSE     STATUS=OK           749 CALLS     4469 TOTAL
                     EDM=   .77E-10    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  Prefactor     37.726        38.805        .16337E-03   -1.5585    
   2  Prefactor      .0000        28.021        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   3  Prefactor      .0000        16.399        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   4  Prefactor     12.493        12.768        .28337E-03   -1.5637    
   5  Prefactor      .0000        3.7695        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   6  Prefactor      .0000        108.23        .11905E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   7  Prefactor      .0000        76.351        .14478E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   8  Prefactor      .0000        2901.8        .45383E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   9  norm           .0000        59.073        .16607E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  10  Prefactor     1196.1        571.79        .29242E-04   -1.5016    
  11  Prefactor      .0000        1299.2        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  12  Prefactor      .0000        80.668        .13942E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  13  Prefactor     68.497        141.44        .11886E-03   -1.5542    
  14  Prefactor      .0000        20.039        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  15  Prefactor      .0000        79.732        .14103E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  16  Prefactor     37.047        37.483        .16395E-03   -1.5586    
  17  norm           .0000        41.976        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  18  norm           .0000        5.2538        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  19  norm           .0000        5.0216        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  20  Prefactor      .0000        5.0013        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  21  Prefactor      .0000        23.639        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  22  norm           .0000        4.1670        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  23  Prefactor      .0000        8.9972        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  24  norm          1.4736        2.0465        .88431E-03   -1.5684    
  25  norm           .0000        3.7070        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  26  Prefactor      .0000        10.268        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  27  Prefactor     5.3497        6.5770        .43442E-03   -1.5662    
  28  Prefactor      .0000        37.546        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  29  norm           .0000        17.127        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  30  Prefactor      .0000        4.9410        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  31  Prefactor     .37866        7.9178        .62439E-02   -1.5696    
  32  Normalizat    .75409        .34205        .43056E-01   -1.0179    
  33  Prefactor     1.0600        .33899        .39474E-01   -.90754    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 7.70121e-11
Minuit parameter uncertainties:
  1  38.8051
  2  2.66374e-07
  3  7.16089e-07
  4  12.7676
  5  1.60272e-09
  6  2.05675e-07
  7  4.56391e-07
  8  1.34773e-05
  9  7.97555e-09
  10  571.818
  11  3.76141e-06
  12  6.0656e-07
  13  141.449
  14  5.06537e-08
  15  3.51107e-07
  16  37.4829
  17  8.27217e-07
  18  9.33456e-09
  19  2.21154e-08
  20  1.04313e-08
  21  1.32813e-07
  22  1.0381e-09
  23  5.62216e-09
  24  2.04654
  25  5.94598e-09
  26  5.92519e-08
  27  6.57702
  28  7.56009e-07
  29  4.49987e-08
  30  2.23475e-09
  31  3.46302
  32  0.34303
  33  0.339683
Done.

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

Extracting fit parameters...

4FGL J2315.6-5018
   Spectrum: PowerLaw
432    Prefactor:  3.705e+01  3.748e+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:  1.060e+00  3.397e-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:  7.541e-01  3.430e-01  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Fixed Index): 1.74
Ra Dec: 348.914 -50.313
Photon Index (Fixed Index): 2.40 +/- 0.00
Photon Flux (Fixed Index): 8.25e-08 +/- 8.34e-08
Energy Flux (Fixed Index): 2.72e-05 +/- 2.75e-05

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

Saving results to:
/scratch/kocevski/807237/likelihoodResults_698889601_699148801_4FGL_J2315.6-5018_daily_bin1773.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) = 1830.06080495
delta logL = 0.221080763383

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

MINUIT Return Code (Free Index): 0
logL (Free Index) = 1830.05697594
delta logL = 0.224909777839

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'Prefactor '    18.379       1.0000          .0000       .10000E+07
     2 'Index     '    3.0233       1.0000          .0000       10.000    
     3 'Normalizat'    .71409       1.0000         .10000E-01   10.000    
     4 'Prefactor '    1.0880       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=   1830.057     FROM MIGRAD    STATUS=CONVERGED     58 CALLS      230 TOTAL
                     EDM=   .14E-07    STRATEGY= 1      ERR MATRIX NOT POS-DEF

  EXT PARAMETER                APPROXIMATE        STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor     18.332        475.73        .23335E-03    .38638E-02
   2  Index         3.0245        6.5121        .97183E-01    .43573E-04
   3  Normalizat    .71405        .14410        .61083E-01    .36143E-05
   4  Prefactor     1.0877        .13466        .38061E-01   -.26543E-05
                               ERR DEF=  .500    
Final values: 
  Prefactor  = 18.3323
  Index      = 3.02454
  Normalizat = 0.714051
  Prefactor  = 1.08774
 **********
 **   18 **HESSE 
 **********

 FCN=   1830.057     FROM HESSE     STATUS=OK            33 CALLS      263 TOTAL
                     EDM=   .23E-08    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  Prefactor     18.332        39.179        .46669E-04   -1.5622    
   2  Index         3.0245        1.2356        .38517E-02   -.40617    
   3  Normalizat    .71405        .37932        .27020E-03   -1.0334    
   4  Prefactor     1.0877        .39937        .23707E-03   -.89859    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 2.31407e-09
Minuit parameter uncertainties:
  1  39.1794
  2  1.251
  3  0.380725
  4  0.400475
shell-init: error retrieving current directory: getcwd: cannot access parent directories: No such file or directory
rmdir: failed to remove `/scratch/kocevski/807237': No such file or directory
shell-init: error retrieving current directory: getcwd: cannot access parent directories: No such file or directory
Done.

MINUIT Return Code (Free Index): 0
logL (Free Index) = 1830.05697323
delta logL = 0.224912480371

Extracting fit parameters...

4FGL J2315.6-5018
   Spectrum: PowerLaw
432    Prefactor:  1.833e+01  3.918e+01  0.000e+00  1.000e+06 ( 1.000e-13)
433        Index:  3.025e+00  1.251e+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.088e+00  4.005e-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:  7.141e-01  3.807e-01  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Free Index): 2.24
Ra Dec: 348.914 -50.313
Photon Index (Free Index): 3.02 +/- 1.25
Photon Flux (Free Index): 1.27e-07 +/- 1.20e-07
Energy Flux (Free Index): 2.51e-05 +/- 2.17e-05

Creating a high resolution counts map...
INFO: Auto-setting vmin to  0.000e+00 [aplpy.core]
INFO: Auto-setting vmax to  0.000e+00 [aplpy.core]
Saving /scratch/kocevski/807237/cmap_HighResolution_698889601_699148801_4FGL_J2315.6-5018_daily_bin1773.png

Cleaning up...

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

Updating database...

UPDATE lightcurve_data_v2 SET energy_flux_upper_limit='2.11e-02', comment='SUCCESS', photon_flux='8.25e-08', energy_flux2='2.51e-05', photon_flux_error='8.34e-08', dlogl='2.25e-01', energy_flux='2.72e-05', photon_flux2='1.27e-07', job_status='DONE', time_completed='2023-02-27 10:53:11.328682', photon_index_error2='1.25', photon_index2='3.02', ts='1.74', fit_tolerance='1e-08', GAL='1.06', photon_index_error='0.00', photon_flux_upper_limit='2.73e-07', energy_flux_error2='2.17e-05', EG='0.75', time_epoch_completed='1677523991.33', return_code='0', job_id='807237', GAL2='1.09', EG2='0.71', return_code2='0', energy_flux_error='2.75e-05', photon_flux_error2='1.20e-07', ts2='2.24', photon_index='2.40' WHERE bin_id='1773' AND source_name='4FGL J2315.6-5018' AND cadence='daily';

Database successfully updated.


Analysis Complete.


Mon Feb 27 10:53:11 PST 2023


------------------------------------------------------------
Sender: LSF System <lsf@bullet0038>
Subject: Job 807237: <4FGL_J2315.6-5018_daily_bin1773> in cluster <slac> Done

Job <4FGL_J2315.6-5018_daily_bin1773> was submitted from host <rhel6-64k> by user <kocevski> in cluster <slac> at Mon Feb 27 10:40:18 2023
Job was executed on host(s) <bullet0038>, in queue <medium>, as user <kocevski> in cluster <slac> at Mon Feb 27 10:40:20 2023
</u/ki/kocevski> was used as the home directory.
</u/ki/kocevski> was used as the working directory.
Started at Mon Feb 27 10:40:20 2023
Terminated at Mon Feb 27 10:53:11 2023
Results reported at Mon Feb 27 10:53:11 2023

Your job looked like:

------------------------------------------------------------
# LSBATCH: User input
/nfs/farm/g/glast/g/LCRepository/Likelihood/Scripts/LikelihoodAnalysis.py 4FGL_J2315.6-5018_daily_bin1773 348.914 -50.3127 698889601 699148801 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 :                                   479.07 sec.
    Max Memory :                                 1256 MB
    Average Memory :                             184.04 MB
    Total Requested Memory :                     -
    Delta Memory :                               -
    Max Swap :                                   -
    Max Processes :                              5
    Max Threads :                                21
    Run time :                                   771 sec.
    Turnaround time :                            773 sec.

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

