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


Performing analysis on: 4FGL_J2315.6-5018_daily_bin1777
RA = 348.914, Dec = -50.3127
tmin = 699926401, tmax = 700185601
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='926578', job_status='RUN', time_executed='2023-03-11 01:32:29.912270', time_epoch_executed='1678527149.91' WHERE source_name='4FGL J2315.6-5018' and cadence='daily' and bin_id='1777'

Database successfully updated.
Done.

Creating custom output directory:
/scratch/kocevski/926578

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

Retrieving the FT1 file...

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

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

Retrieving 47 files...
Done.


Merging files...

Checksum keywords updated successfully.

Merged file saved to:
/scratch/kocevski/926578/ft1_4FGL_J2315.6-5018_daily_bin1777.fits


Retrieving the FT1 file...

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

Retrieving 47 files...
Done.


Merging files...

Merged file saved to:
/scratch/kocevski/926578/ft2_4FGL_J2315.6-5018_daily_bin1777.fits


Selecting the photons:
time -p gtselect infile=/scratch/kocevski/926578/ft1_4FGL_J2315.6-5018_daily_bin1777.fits outfile=/scratch/kocevski/926578/ft1_filteredMKT_4FGL_J2315.6-5018_daily_bin1777.fits ra=348.914 dec=-50.3127 rad=12.0 tmin=699926401.0 tmax=700185601.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 3.70
user 3.50
sys 0.18

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

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

Number of photons that the gtmktime cut: 561

Generating the livetime cube:
time -p gtltcube evfile="/scratch/kocevski/926578/ft1_filtered_4FGL_J2315.6-5018_daily_bin1777.fits" evtable="EVENTS" scfile=/scratch/kocevski/926578/ft2_4FGL_J2315.6-5018_daily_bin1777.fits sctable="SC_DATA" outfile=/scratch/kocevski/926578/ltcube_699926401_700185601_4FGL_J2315.6-5018_daily_bin1777.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/926578/ft2_4FGL_J2315.6-5018_daily_bin1777.fits
.....................!
real 12.04
user 11.67
sys 0.33

Generating the exposure map:
time -p gtexpmap evfile=/scratch/kocevski/926578/ft1_filtered_4FGL_J2315.6-5018_daily_bin1777.fits evtable="EVENTS" scfile=/scratch/kocevski/926578/ft2_4FGL_J2315.6-5018_daily_bin1777.fits sctable="SC_DATA" expcube=/scratch/kocevski/926578/ltcube_699926401_700185601_4FGL_J2315.6-5018_daily_bin1777.fits outfile=/scratch/kocevski/926578/expmap_699926401_700185601_4FGL_J2315.6-5018_daily_bin1777.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/926578/ltcube_699926401_700185601_4FGL_J2315.6-5018_daily_bin1777.fits
.....................!
real 191.36
user 185.54
sys 5.51

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/926578/ft1_filtered_4FGL_J2315.6-5018_daily_bin1777.fits scfile=/scratch/kocevski/926578/ft2_4FGL_J2315.6-5018_daily_bin1777.fits outfile=/scratch/kocevski/926578/cmap_699926401_700185601_4FGL_J2315.6-5018_daily_bin1777.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.56
user 0.36
sys 0.16

Creating the high resolution counts map:
time -p gtbin evfile=/scratch/kocevski/926578/ft1_filtered_4FGL_J2315.6-5018_daily_bin1777.fits scfile=/scratch/kocevski/926578/ft2_4FGL_J2315.6-5018_daily_bin1777.fits outfile=/scratch/kocevski/926578/cmap_HighResolution_699926401_700185601_4FGL_J2315.6-5018_daily_bin1777.fits algorithm="CMAP" ebinalg="LOG" emin=30.0 emax=200000.0 ebinfile=NONE tbinalg="LIN" tbinfile=NONE nxpix=500 nypix=500 binsz=0.1 coordsys="CEL" xref=348.914 yref=-50.3127 axisrot=0.0 rafield="RA" decfield="DEC" proj="AIT" hpx_ordering_scheme="RING" hpx_order=3 hpx_ebin=yes hpx_region="" evtable="EVENTS" sctable="SC_DATA" efield="ENERGY" tfield="TIME" chatter=2 clobber=yes debug=no gui=no mode="ql"

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

This is gtbin version HEAD
real 0.54
user 0.38
sys 0.15

Computing the diffuse response:
time -p gtdiffrsp evfile=/scratch/kocevski/926578/ft1_filtered_4FGL_J2315.6-5018_daily_bin1777.fits evtable="EVENTS" scfile=/scratch/kocevski/926578/ft2_4FGL_J2315.6-5018_daily_bin1777.fits sctable="SC_DATA" srcmdl=/scratch/kocevski/926578/Model_4FGL_J2315.6-5018_daily_bin1777.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/926578/ft1_filtered_4FGL_J2315.6-5018_daily_bin1777.fits.....................!
real 44.74
user 43.51
sys 1.14

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

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

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

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'Prefactor '    23.037       1.0000          .0000       .10000E+07
     2 'Prefactor '    .17069E-02   1.0000          .0000       .10000E+07
     3 'Prefactor '    9.6673       1.0000          .0000       .10000E+07
     4 'Prefactor '    .17452E-03   1.0000          .0000       .10000E+07
     5 'Prefactor '    1.3021       1.0000          .0000       .10000E+07
     6 'Prefactor '    .13940E-03   1.0000          .0000       .10000E+07
     7 'Prefactor '    15.347       1.0000          .0000       .10000E+07
     8 'Prefactor '    17.127       1.0000          .0000       .10000E+07
     9 'norm      '    .31870E-04   1.0000          .0000       .10000E+07
    10 'Prefactor '    .47899E-05   1.0000          .0000       .10000E+07
    11 'Prefactor '    11.303       1.0000          .0000       .10000E+07
    12 'Prefactor '    4.8743       1.0000          .0000       .10000E+07
    13 'Prefactor '    58.719       1.0000          .0000       .10000E+07
    14 'Prefactor '    .48154E-03   1.0000          .0000       .10000E+07
    15 'Prefactor '    13.136       1.0000          .0000       .10000E+07
    16 'Prefactor '    .21022E-06   1.0000          .0000       .10000E+07
    17 'norm      '    .50019E-03   1.0000          .0000       .10000E+07
    18 'norm      '    .21341E-03   1.0000          .0000       .10000E+07
    19 'norm      '    .18750E-05   1.0000          .0000       .10000E+07
    20 'Prefactor '    4.2023       1.0000          .0000       .10000E+07
    21 'Prefactor '    52.214       1.0000          .0000       .10000E+07
    22 'norm      '    .63631E-04   1.0000          .0000       .10000E+07
    23 'Prefactor '    .12299E-01   1.0000          .0000       .10000E+07
    24 'norm      '    .98377       1.0000          .0000       .10000E+07
    25 'norm      '    1.8751       1.0000          .0000       .10000E+07
    26 'Prefactor '    .92964       1.0000          .0000       .10000E+07
    27 'Prefactor '    .16519E-03   1.0000          .0000       .10000E+07
    28 'Prefactor '    14.268       1.0000          .0000       .10000E+07
    29 'norm      '    .69330E-02   1.0000          .0000       .10000E+07
    30 'Prefactor '    1.9998       1.0000          .0000       .10000E+07
    31 'Prefactor '    3.3743       1.0000          .0000       .10000E+07
    32 'Normalizat'    .81474       1.0000         .10000E-01   10.000    
    33 'Prefactor '    1.1312       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=   6052.463     FROM MIGRAD    STATUS=CONVERGED    216 CALLS     3320 TOTAL
                     EDM=   .10E-09  STRATEGY=1  ERROR MATRIX UNCERTAINTY=   .5%

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor     23.299        2.3311       -.57630E-08    .15408E-01
   2  Prefactor     .94369E-09    15.051        .36037E-06** at limit **
   3  Prefactor     9.6729        1.6580        .81232E-08   -.35899E-03
   4  Prefactor     .20539E-08    5.6057       -.28759E-07** at limit **
   5  Prefactor     1.3031        4.8798       -.25293E-07   -.29242E-04
   6  Prefactor     .16653E-09    3.0078       -.17817E-07** at limit **
   7  Prefactor     15.325        5.1575        .12087E-07    .72642E-04
   8  Prefactor     17.025        3.9176       -.35626E-07   -.39389E-02
   9  norm           .0000        1.8336        .22224E-07** at limit **
  10  Prefactor      .0000        1.2303       -.34614E-07** at limit **
  11  Prefactor     12.514        42.662        .31706E-06   -.11851E-01
  12  Prefactor     4.8611        5.7860       -.13497E-07   -.80737E-03
  13  Prefactor     58.729        11.664       -.29174E-07    .60820E-01
  14  Prefactor      .0000        2.5818       -.24405E-08** at limit **
  15  Prefactor     13.070        8.6906       -.64881E-07    .16442E-01
  16  Prefactor     .15543E-08    4.4086        .23844E-07** at limit **
  17  norm          .43299E-08    5.2136       -.42502E-07** at limit **
  18  norm          .22204E-09    3.0526        .26700E-07** at limit **
  19  norm           .0000        1.5386       -.24243E-07** at limit **
  20  Prefactor     4.2017        5.1063       -.31339E-07   -.20856E-03
  21  Prefactor     53.103        33.473        .21357E-06    .28377E-01
  22  norm           .0000        2.8100        .42646E-07** at limit **
  23  Prefactor      .0000        19.523       -.15085E-07** at limit **
  24  norm          .98633        1.2935       -.28825E-07   -.75460E-03
  25  norm          1.8573        3.4721       -.38850E-07   -.11038E-03
  26  Prefactor     .98300        3.0487       -.25833E-07    .10681E-01
  27  Prefactor     .13878E-08    4.2985       -.10833E-07** at limit **
  28  Prefactor     14.226        2.8549       -.95487E-08    .19252E-01
  29  norm          .11102E-09    8.5699       -.11738E-06** at limit **
  30  Prefactor     2.0032        3.6913        .74949E-07    .21321E-03
  31  Prefactor     3.3649        3.9829       -.13958E-07   -.35787E-03
  32  Normalizat    .81356        .21666       -.64100E-06   -.32619E-05
  33  Prefactor     1.1314        .21944        .38614E-06   -.14364E-05
                               ERR DEF=  .500    
Final values: 
  Prefactor  = 23.2985
  Prefactor  = 9.4369e-10
  Prefactor  = 9.67293
  Prefactor  = 2.05391e-09
  Prefactor  = 1.30307
  Prefactor  = 1.66533e-10
  Prefactor  = 15.3253
  Prefactor  = 17.0254
  norm       = 0
  Prefactor  = 0
  Prefactor  = 12.5135
  Prefactor  = 4.86109
  Prefactor  = 58.7292
  Prefactor  = 0
  Prefactor  = 13.0696
  Prefactor  = 1.55431e-09
  norm       = 4.32987e-09
  norm       = 2.22045e-10
  norm       = 0
  Prefactor  = 4.20166
  Prefactor  = 53.1035
  norm       = 0
  Prefactor  = 0
  norm       = 0.986331
  norm       = 1.85726
  Prefactor  = 0.982998
  Prefactor  = 1.38778e-09
  Prefactor  = 14.226
  norm       = 1.11022e-10
  Prefactor  = 2.00316
  Prefactor  = 3.36487
  Normalizat = 0.813555
  Prefactor  = 1.13144
 **********
 **   18 **HESSE 
 **********

 FCN=   6052.463     FROM HESSE     STATUS=OK           763 CALLS     4083 TOTAL
                     EDM=   .20E-06    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  Prefactor     23.299        20.392        .20840E-03   -1.5611    
   2  Prefactor     .94369E-09    15.040        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   3  Prefactor     9.6729        8.3918        .32206E-03   -1.5646    
   4  Prefactor     .20539E-08    5.6035        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   5  Prefactor     1.3031        4.9398        .96764E-03   -1.5685    
   6  Prefactor     .16653E-09    3.0344        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   7  Prefactor     15.325        5.1813        .25540E-03   -1.5630    
   8  Prefactor     17.025        39.123        .24174E-03   -1.5625    
   9  norm           .0000        1.8300        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  10  Prefactor      .0000        1.2258        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  11  Prefactor     12.514        45.122        .29774E-03   -1.5637    
  12  Prefactor     4.8611        5.9469        .45537E-03   -1.5664    
  13  Prefactor     58.729        30.017        .13051E-03   -1.5555    
  14  Prefactor      .0000        2.5765        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  15  Prefactor     13.070        31.338        .27611E-03   -1.5636    
  16  Prefactor     .15543E-08    4.4193        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  17  norm          .43299E-08    5.2424        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  18  norm          .22204E-09    3.0940        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  19  norm           .0000        1.5356        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  20  Prefactor     4.2017        5.1342        .49136E-03   -1.5667    
  21  Prefactor     53.103        37.408        .13840E-03   -1.5562    
  22  norm           .0000        2.8031        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  23  Prefactor      .0000        19.584        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  24  norm          .98633        1.3184        .43190E-03   -1.5688    
  25  norm          1.8573        3.5331        .76014E-03   -1.5681    
  26  Prefactor     .98300        38.516        .43732E-03   -1.5688    
  27  Prefactor     .13878E-08    4.2552        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  28  Prefactor     14.226        18.801        .26490E-03   -1.5633    
  29  norm          .11102E-09    8.5656        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  30  Prefactor     2.0032        3.7327        .73209E-03   -1.5680    
  31  Prefactor     3.3649        4.1015        .55061E-03   -1.5671    
  32  Normalizat    .81356        .18652        .43802E-01   -.99568    
  33  Prefactor     1.1314        .18336        .53899E-01   -.88468    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 2.01533e-07
Minuit parameter uncertainties:
  1  20.3925
  2  0.000236396
  3  8.39176
  4  0.000215841
  5  4.93977
  6  4.40994e-05
  7  5.18132
  8  39.1235
  9  2.52017e-06
  10  2.18775e-07
  11  45.1231
  12  5.94695
  13  30.0169
  14  3.29569e-06
  15  31.3383
  16  0.000166615
  17  0.000300949
  18  5.35503e-05
  19  4.01034e-07
  20  5.13417
  21  37.4082
  22  1.70894e-05
  23  1.49049e-05
  24  1.31837
  25  3.5331
  26  12.3063
  27  0.000154609
  28  18.8006
  29  6.73096e-05
  30  3.73274
  31  4.10149
  32  0.186663
  33  0.183458
Done.

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

Extracting fit parameters...

4FGL J2315.6-5018
   Spectrum: PowerLaw
432    Prefactor:  1.554e-09  1.666e-04  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.131e+00  1.835e-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:  8.136e-01  1.867e-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: 4.94e-08 ph cm-2 s-1
Energy Flux Upper Limit: 3.81e-03 MeV cm-2 s-1

Saving results to:
/scratch/kocevski/926578/likelihoodResults_699926401_700185601_4FGL_J2315.6-5018_daily_bin1777.txt

Performing a free index iterative likelihood fit...

Freezing all point sources, except source of interest...

Done.

Freeing candidate source...
Done.

Fit tolerance = 1

Performing likelihood fit...
Done.

MINUIT Return Code (Free Index): 102
logL (Free Index) = 6052.46367773
delta logL = -0.000407956343224

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

MINUIT Return Code (Free Index): 102
logL (Free Index) = 6052.46326988
delta logL = -1.0321582522e-07

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'Prefactor '    .20983E-07   1.0000          .0000       .10000E+07
     2 'Index     '    1.0874       1.0000          .0000       10.000    
     3 'Normalizat'    .81355       1.0000         .10000E-01   10.000    
     4 'Prefactor '    1.1315       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=   6052.463     FROM MIGRAD    STATUS=CONVERGED     37 CALLS      235 TOTAL
                     EDM=   .36E-10  STRATEGY=1  ERROR MATRIX UNCERTAINTY=  2.5%

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor     .11102E-09    3.2132       -.53352E-06** at limit **
   2  Index         2.8407        3.2033        .66971E-04    .63002E-10
   3  Normalizat    .81356        .20446       -.65221E-05    .15557E-03
   4  Prefactor     1.1314        .21533        .24124E-05    .12853E-03
                               ERR DEF=  .500    
Final values: 
  Prefactor  = 1.11022e-10
  Index      = 2.8407
  Normalizat = 0.813556
  Prefactor  = 1.13144
 **********
 **   18 **HESSE 
 **********

 FCN=   6052.463     FROM HESSE     STATUS=OK            33 CALLS      268 TOTAL
                     EDM=   .81E-10    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  Prefactor     .11102E-09    4.1684        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   2  Index         2.8407        6.4200        .38085       -.44655    
   3  Normalizat    .81356        .17133        .43787E-01   -.99568    
   4  Prefactor     1.1314        .18157        .53899E-01   -.88468    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 8.13726e-11
Minuit parameter uncertainties:
  1  4.26562e-05
  2  5.14442
  3  0.171441
  4  0.181668
shell-init: error retrieving current directory: getcwd: cannot access parent directories: No such file or directory
rmdir: failed to remove `/scratch/kocevski/926578': 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) = 6052.46326977
delta logL = 1.42790668178e-10

Extracting fit parameters...

4FGL J2315.6-5018
   Spectrum: PowerLaw
432    Prefactor:  1.110e-10  4.266e-05  0.000e+00  1.000e+06 ( 1.000e-13)
433        Index:  2.841e+00  5.144e+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.131e+00  1.817e-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:  8.136e-01  1.714e-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/926578/cmap_HighResolution_699926401_700185601_4FGL_J2315.6-5018_daily_bin1777.png

Cleaning up...

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

Updating database...

UPDATE lightcurve_data_v2 SET energy_flux_upper_limit='3.81e-03', job_status='DONE', photon_flux_upper_limit='4.94e-08', time_completed='2023-03-11 01:45:38.620061', job_id='926578', GAL2='1.13', fit_tolerance='1e-08', EG2='0.81', EG='0.81', time_epoch_completed='1678527938.62', return_code2='0', ts='-0.00', comment='SUCCESS', return_code='0', GAL='1.13', dlogl='1.43e-10', ts2='-0.00', photon_index_error='0.00', photon_index='2.40' WHERE bin_id='1777' AND source_name='4FGL J2315.6-5018' AND cadence='daily';

Database successfully updated.


Analysis Complete.


Sat Mar 11 01:45:38 PST 2023


------------------------------------------------------------
Sender: LSF System <lsf@bullet0196>
Subject: Job 926578: <4FGL_J2315.6-5018_daily_bin1777> in cluster <slac> Done

Job <4FGL_J2315.6-5018_daily_bin1777> was submitted from host <rhel6-64l> by user <kocevski> in cluster <slac> at Sat Mar 11 01:30:19 2023
Job was executed on host(s) <bullet0196>, in queue <medium>, as user <kocevski> in cluster <slac> at Sat Mar 11 01:30:21 2023
</u/ki/kocevski> was used as the home directory.
</u/ki/kocevski> was used as the working directory.
Started at Sat Mar 11 01:30:21 2023
Terminated at Sat Mar 11 01:45:39 2023
Results reported at Sat Mar 11 01:45:39 2023

Your job looked like:

------------------------------------------------------------
# LSBATCH: User input
/nfs/farm/g/glast/g/LCRepository/Likelihood/Scripts/LikelihoodAnalysis.py 4FGL_J2315.6-5018_daily_bin1777 348.914 -50.3127 699926401 700185601 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 :                                   790.41 sec.
    Max Memory :                                 1256 MB
    Average Memory :                             262.63 MB
    Total Requested Memory :                     -
    Delta Memory :                               -
    Max Swap :                                   -
    Max Processes :                              5
    Max Threads :                                21
    Run time :                                   917 sec.
    Turnaround time :                            920 sec.

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

