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


Performing analysis on: 4FGL_J2315.6-5018_daily_bin1761
RA = 348.914, Dec = -50.3127
tmin = 695779201, tmax = 696038401
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='936489', job_status='RUN', time_executed='2023-01-22 01:49:53.920400', time_epoch_executed='1674380993.92' WHERE source_name='4FGL J2315.6-5018' and cadence='daily' and bin_id='1761'

Database successfully updated.
Done.

Creating custom output directory:
/scratch/kocevski/936489

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

Retrieving the FT1 file...

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

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

Retrieving 46 files...
Done.


Merging files...

Checksum keywords updated successfully.

Merged file saved to:
/scratch/kocevski/936489/ft1_4FGL_J2315.6-5018_daily_bin1761.fits


Retrieving the FT1 file...

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

Retrieving 46 files...
Done.


Merging files...

Merged file saved to:
/scratch/kocevski/936489/ft2_4FGL_J2315.6-5018_daily_bin1761.fits


Selecting the photons:
time -p gtselect infile=/scratch/kocevski/936489/ft1_4FGL_J2315.6-5018_daily_bin1761.fits outfile=/scratch/kocevski/936489/ft1_filteredMKT_4FGL_J2315.6-5018_daily_bin1761.fits ra=348.914 dec=-50.3127 rad=12.0 tmin=695779201.0 tmax=696038401.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 5.16
user 4.80
sys 0.25

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

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

Generating the livetime cube:
time -p gtltcube evfile="/scratch/kocevski/936489/ft1_filtered_4FGL_J2315.6-5018_daily_bin1761.fits" evtable="EVENTS" scfile=/scratch/kocevski/936489/ft2_4FGL_J2315.6-5018_daily_bin1761.fits sctable="SC_DATA" outfile=/scratch/kocevski/936489/ltcube_695779201_696038401_4FGL_J2315.6-5018_daily_bin1761.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/936489/ft2_4FGL_J2315.6-5018_daily_bin1761.fits
.....................!
real 14.50
user 13.97
sys 0.33

Generating the exposure map:
time -p gtexpmap evfile=/scratch/kocevski/936489/ft1_filtered_4FGL_J2315.6-5018_daily_bin1761.fits evtable="EVENTS" scfile=/scratch/kocevski/936489/ft2_4FGL_J2315.6-5018_daily_bin1761.fits sctable="SC_DATA" expcube=/scratch/kocevski/936489/ltcube_695779201_696038401_4FGL_J2315.6-5018_daily_bin1761.fits outfile=/scratch/kocevski/936489/expmap_695779201_696038401_4FGL_J2315.6-5018_daily_bin1761.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/936489/ltcube_695779201_696038401_4FGL_J2315.6-5018_daily_bin1761.fits
.....................!
real 193.08
user 185.96
sys 5.60

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/936489/ft1_filtered_4FGL_J2315.6-5018_daily_bin1761.fits scfile=/scratch/kocevski/936489/ft2_4FGL_J2315.6-5018_daily_bin1761.fits outfile=/scratch/kocevski/936489/cmap_695779201_696038401_4FGL_J2315.6-5018_daily_bin1761.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.15

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

Computing the diffuse response:
time -p gtdiffrsp evfile=/scratch/kocevski/936489/ft1_filtered_4FGL_J2315.6-5018_daily_bin1761.fits evtable="EVENTS" scfile=/scratch/kocevski/936489/ft2_4FGL_J2315.6-5018_daily_bin1761.fits sctable="SC_DATA" srcmdl=/scratch/kocevski/936489/Model_4FGL_J2315.6-5018_daily_bin1761.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/936489/ft1_filtered_4FGL_J2315.6-5018_daily_bin1761.fits.....................!
real 38.47
user 36.96
sys 1.19

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

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

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

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'Prefactor '    21.027       1.0000          .0000       .10000E+07
     2 'Prefactor '    .71597E-05   1.0000          .0000       .10000E+07
     3 'Prefactor '    .22202E-02   1.0000          .0000       .10000E+07
     4 'Prefactor '    8.9237       1.0000          .0000       .10000E+07
     5 'Prefactor '    4.7380       1.0000          .0000       .10000E+07
     6 'Prefactor '    .25440E-02   1.0000          .0000       .10000E+07
     7 'Prefactor '    25.516       1.0000          .0000       .10000E+07
     8 'Prefactor '    .49141E-02   1.0000          .0000       .10000E+07
     9 'norm      '    .23924E-04   1.0000          .0000       .10000E+07
    10 'Prefactor '    .97158E-04   1.0000          .0000       .10000E+07
    11 'Prefactor '    .61910E-05   1.0000          .0000       .10000E+07
    12 'Prefactor '    17.115       1.0000          .0000       .10000E+07
    13 'Prefactor '    .25494E-03   1.0000          .0000       .10000E+07
    14 'Prefactor '    .49673E-04   1.0000          .0000       .10000E+07
    15 'Prefactor '    35.252       1.0000          .0000       .10000E+07
    16 'Prefactor '    .10982E-05   1.0000          .0000       .10000E+07
    17 'norm      '    7.9253       1.0000          .0000       .10000E+07
    18 'norm      '    5.2056       1.0000          .0000       .10000E+07
    19 'norm      '    .13859E-05   1.0000          .0000       .10000E+07
    20 'Prefactor '    .49274E-03   1.0000          .0000       .10000E+07
    21 'Prefactor '    .20448E-01   1.0000          .0000       .10000E+07
    22 'norm      '    6.7902       1.0000          .0000       .10000E+07
    23 'Prefactor '    .74935E-03   1.0000          .0000       .10000E+07
    24 'norm      '    .95931       1.0000          .0000       .10000E+07
    25 'norm      '    .53380E-04   1.0000          .0000       .10000E+07
    26 'Prefactor '    .19280E-02   1.0000          .0000       .10000E+07
    27 'Prefactor '    8.4380       1.0000          .0000       .10000E+07
    28 'Prefactor '    .67722       1.0000          .0000       .10000E+07
    29 'norm      '    .13996E-02   1.0000          .0000       .10000E+07
    30 'Prefactor '    .84308E-03   1.0000          .0000       .10000E+07
    31 'Prefactor '    .25387E-03   1.0000          .0000       .10000E+07
    32 'Normalizat'    1.0185       1.0000         .10000E-01   10.000    
    33 'Prefactor '    .77849       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=   4809.050     FROM MIGRAD    STATUS=CONVERGED    244 CALLS     2600 TOTAL
                     EDM=   .19E-08  STRATEGY=1  ERROR MATRIX UNCERTAINTY=  1.5%

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor     21.931        5.9679       -.41554E-06    .25093E-02
   2  Prefactor     .24668E-04    52.550        .28045E-07** at limit **
   3  Prefactor     .28311E-08    7.8230       -.24747E-06** at limit **
   4  Prefactor     8.9046        9.1301       -.48760E-06   -.22216E-01
   5  Prefactor     4.7181        4.3796        .15399E-05    .40953E-01
   6  Prefactor     .68834E-08    13.100        .32589E-06** at limit **
   7  Prefactor     25.515        7.1296       -.36750E-07   -.26356E-02
   8  Prefactor     .44217E-04    51.377        .36422E-05** at limit **
   9  norm          .31775E-06    23.769        .39640E-05** at limit **
  10  Prefactor     .44409E-09    5.6435       -.60281E-08** at limit **
  11  Prefactor     .38136E-07    35.907       -.27817E-05** at limit **
  12  Prefactor     17.108        7.8893       -.57269E-08    .33353E-02
  13  Prefactor     .12073E-05    19.408       -.61403E-06** at limit **
  14  Prefactor     .55511E-10    1.6981        .13199E-08** at limit **
  15  Prefactor     35.720        5.8372        .46060E-06   -.32496E-01
  16  Prefactor     .20794E-06    9.2469       -.37775E-05** at limit **
  17  norm          7.9203        2.4427       -.12505E-06   -.10453E-01
  18  norm          5.2278        5.1983        .20555E-07    .13658E-03
  19  norm           .0000        2.9273        .26426E-07** at limit **
  20  Prefactor     .55511E-10    4.5355        .25646E-07** at limit **
  21  Prefactor     .11102E-09    19.043       -.65632E-07** at limit **
  22  norm          6.8402        5.0062        .21435E-07    .12031E-02
  23  Prefactor     .55511E-10    4.1313        .98276E-08** at limit **
  24  norm          .95812        .97176        .36332E-07   -.96426E-02
  25  norm           .0000        2.1436        .47770E-08** at limit **
  26  Prefactor     .13417E-06    9.1834        .34740E-05** at limit **
  27  Prefactor     8.5837        5.5181        .62609E-06   -.66250E-02
  28  Prefactor     .49610E-04    368.86       -.90129E-05** at limit **
  29  norm          .33307E-09    6.7446        .11308E-06** at limit **
  30  Prefactor     .35348E-05    13.826        .17368E-06** at limit **
  31  Prefactor      .0000        2.5353        .17781E-08** at limit **
  32  Normalizat    1.0164        .24491        .47463E-06    .12674E-03
  33  Prefactor     .77966        .23937        .52462E-06    .87528E-05
                               ERR DEF=  .500    
Final values: 
  Prefactor  = 21.9313
  Prefactor  = 2.46684e-05
  Prefactor  = 2.83107e-09
  Prefactor  = 8.90463
  Prefactor  = 4.71809
  Prefactor  = 6.88338e-09
  Prefactor  = 25.5149
  Prefactor  = 4.4217e-05
  norm       = 3.17746e-07
  Prefactor  = 4.44089e-10
  Prefactor  = 3.81362e-08
  Prefactor  = 17.108
  Prefactor  = 1.20726e-06
  Prefactor  = 5.55112e-11
  Prefactor  = 35.7203
  Prefactor  = 2.07945e-07
  norm       = 7.92031
  norm       = 5.22783
  norm       = 0
  Prefactor  = 5.55112e-11
  Prefactor  = 1.11022e-10
  norm       = 6.84024
  Prefactor  = 5.55112e-11
  norm       = 0.958116
  norm       = 0
  Prefactor  = 1.3417e-07
  Prefactor  = 8.58369
  Prefactor  = 4.96099e-05
  norm       = 3.33067e-10
  Prefactor  = 3.53478e-06
  Prefactor  = 0
  Normalizat = 1.01639
  Prefactor  = 0.779657
 **********
 **   18 **HESSE 
 **********

 FCN=   4809.050     FROM HESSE     STATUS=OK           757 CALLS     3357 TOTAL
                     EDM=   .11E-05    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  Prefactor     21.931        27.567        .21814E-03   -1.5614    
   2  Prefactor     .24668E-04    82.884        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   3  Prefactor     .28311E-08    7.8111        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   4  Prefactor     8.9046        9.7180        .33529E-03   -1.5648    
   5  Prefactor     4.7181        11.143        .46202E-03   -1.5665    
   6  Prefactor     .68834E-08    13.082        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   7  Prefactor     25.515        7.1451        .19801E-03   -1.5607    
   8  Prefactor     .44217E-04    95.613        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   9  norm          .31775E-06    35.572        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  10  Prefactor     .44409E-09    5.5381        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  11  Prefactor     .38136E-07    40.186        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  12  Prefactor     17.108        7.9302        .24183E-03   -1.5625    
  13  Prefactor     .12073E-05    22.265        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  14  Prefactor     .55511E-10    1.6962        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  15  Prefactor     35.720        37.415        .16845E-03   -1.5588    
  16  Prefactor     .20794E-06    10.262        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  17  norm          7.9203        9.9282        .35593E-03   -1.5652    
  18  norm          5.2278        5.1920        .44035E-03   -1.5662    
  19  norm           .0000        2.9243        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  20  Prefactor     .55511E-10    4.5140        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  21  Prefactor     .11102E-09    18.990        .17007E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  22  norm          6.8402        5.0098        .38481E-03   -1.5656    
  23  Prefactor     .55511E-10    4.1268        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  24  norm          .95812        .97635        .42319E-03   -1.5688    
  25  norm           .0000        2.1454        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  26  Prefactor     .13417E-06    10.039        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  27  Prefactor     8.5837        6.2461        .34486E-03   -1.5649    
  28  Prefactor     .49610E-04    48.341        .94235E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  29  norm          .33307E-09    6.7497        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  30  Prefactor     .35348E-05    24.702        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  31  Prefactor      .0000        2.5342        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  32  Normalizat    1.0164        .20526        .43578E-01   -.92483    
  33  Prefactor     .77966        .20044        .43437E-01   -1.0048    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 1.10631e-06
Minuit parameter uncertainties:
  1  27.5671
  2  0.090436
  3  0.000298177
  4  9.71801
  5  11.1428
  6  0.000599166
  7  7.14513
  8  0.130044
  9  0.00672411
  10  9.91622e-05
  11  0.00247596
  12  7.93021
  13  0.010369
  14  2.33334e-05
  15  37.4149
  16  0.00292163
  17  9.92826
  18  5.19205
  19  4.7603e-06
  20  3.71702e-05
  21  9.02433e-05
  22  5.00977
  23  3.66492e-05
  24  0.97635
  25  1.21673e-05
  26  0.00232134
  27  6.24615
  28  0.0979437
  29  9.52943e-05
  30  0.0186888
  31  5.34474e-06
  32  0.205421
  33  0.200632
Done.

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

Extracting fit parameters...

4FGL J2315.6-5018
   Spectrum: PowerLaw
432    Prefactor:  2.079e-07  2.922e-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:  7.797e-01  2.006e-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.016e+00  2.054e-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: 6.91e-08 ph cm-2 s-1
Energy Flux Upper Limit: 5.34e-03 MeV cm-2 s-1

Saving results to:
/scratch/kocevski/936489/likelihoodResults_695779201_696038401_4FGL_J2315.6-5018_daily_bin1761.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) = 4809.09789868
delta logL = -0.0476934677154

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

MINUIT Return Code (Free Index): 102
logL (Free Index) = 4809.05020533
delta logL = -1.2294640328e-07

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'Prefactor '    .15321E-07   1.0000          .0000       .10000E+07
     2 'Index     '    .79152       1.0000          .0000       10.000    
     3 'Normalizat'    1.0163       1.0000         .10000E-01   10.000    
     4 'Prefactor '    .77973       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=   4809.050     FROM MIGRAD    STATUS=CONVERGED     31 CALLS      196 TOTAL
                     EDM=   .64E-10  STRATEGY=1  ERROR MATRIX UNCERTAINTY=  2.1%

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor     .16653E-09    10.739       -.44567E-05** at limit **
   2  Index         1.7520        2.9577       -.16022E-03   -.19776E-10
   3  Normalizat    1.0164        .22758       -.12021E-04    .22967E-03
   4  Prefactor     .77966        .23042        .78627E-06    .11008E-03
                               ERR DEF=  .500    
Final values: 
  Prefactor  = 1.66533e-10
  Index      = 1.75196
  Normalizat = 1.01639
  Prefactor  = 0.779657
 **********
 **   18 **HESSE 
 **********

 FCN=   4809.050     FROM HESSE     STATUS=NOT POSDEF    31 CALLS      227 TOTAL
                     EDM=   .22E-12    STRATEGY= 1      ERR MATRIX NOT POS-DEF

  EXT PARAMETER                APPROXIMATE     INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  Prefactor     .16653E-09    .20859        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   2  Index         1.7520        5.4960        .43607       -.70707    
   3  Normalizat    1.0164        .64427E-03    .43961E-01   -.92483    
   4  Prefactor     .77966        .65467E-03    .43453E-01   -1.0048    
                               ERR DEF=  .500    
Minuit fit quality: 2   estimated distance: 2.16468e-13
Minuit parameter uncertainties:
  1  1.20905e-05
  2  18589.7
  3  0.000644266
  4  0.000654672
shell-init: error retrieving current directory: getcwd: cannot access parent directories: No such file or directory
rmdir: failed to remove `/scratch/kocevski/936489': 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) = 4809.0502052
delta logL = 1.01017576526e-08

Extracting fit parameters...

4FGL J2315.6-5018
   Spectrum: PowerLaw
432    Prefactor:  1.665e-10  1.209e-05  0.000e+00  1.000e+06 ( 1.000e-13)
433        Index:  1.752e+00  1.859e+04  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:  7.797e-01  6.547e-04  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.016e+00  6.443e-04  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/936489/cmap_HighResolution_695779201_696038401_4FGL_J2315.6-5018_daily_bin1761.png

Cleaning up...

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

Updating database...

UPDATE lightcurve_data_v2 SET energy_flux_upper_limit='5.34e-03', job_status='DONE', photon_flux_upper_limit='6.91e-08', time_completed='2023-01-22 02:00:50.601418', job_id='936489', GAL2='0.78', fit_tolerance='1e-08', EG2='1.02', EG='1.02', time_epoch_completed='1674381650.6', return_code2='102', ts='-0.00', comment='SUCCESS', return_code='0', GAL='0.78', dlogl='1.01e-08', ts2='-0.00', photon_index_error='0.00', photon_index='2.40' WHERE bin_id='1761' AND source_name='4FGL J2315.6-5018' AND cadence='daily';

Database successfully updated.


Analysis Complete.


Sun Jan 22 02:00:50 PST 2023


------------------------------------------------------------
Sender: LSF System <scs@bullet0116>
Subject: Job 936489: <4FGL_J2315.6-5018_daily_bin1761> in cluster <slac> Done

Job <4FGL_J2315.6-5018_daily_bin1761> was submitted from host <rhel6-64f> by user <kocevski> in cluster <slac> at Sun Jan 22 01:45:16 2023
Job was executed on host(s) <bullet0116>, in queue <medium>, as user <kocevski> in cluster <slac> at Sun Jan 22 01:46:12 2023
</u/ki/kocevski> was used as the home directory.
</u/ki/kocevski> was used as the working directory.
Started at Sun Jan 22 01:46:12 2023
Terminated at Sun Jan 22 02:00:51 2023
Results reported at Sun Jan 22 02:00:51 2023

Your job looked like:

------------------------------------------------------------
# LSBATCH: User input
/nfs/farm/g/glast/g/LCRepository/Likelihood/Scripts/LikelihoodAnalysis.py 4FGL_J2315.6-5018_daily_bin1761 348.914 -50.3127 695779201 696038401 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 :                                   654.21 sec.
    Max Memory :                                 1256 MB
    Average Memory :                             284.16 MB
    Total Requested Memory :                     -
    Delta Memory :                               -
    Max Swap :                                   -
    Max Processes :                              5
    Max Threads :                                21
    Run time :                                   878 sec.
    Turnaround time :                            935 sec.

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

