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 100 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 make4FGLxml version 01r04.
The default diffuse model files and names are for pass 8 and 4FGL and assume you have v11r5p3 of the Fermi Science Tools or higher.

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


Performing analysis on: 4FGL_J2315.6-5018_daily_bin1706
RA = 348.914, Dec = -50.3127
tmin = 681523201, tmax = 681782401
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='507832', job_status='RUN', time_executed='2022-08-10 02:20:14.605640', time_epoch_executed='1660123214.61' WHERE source_name='4FGL J2315.6-5018' and cadence='daily' and bin_id='1706'

Database successfully updated.
Done.

Creating custom output directory:
/scratch/kocevski/507832

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

Retrieving the FT1 file...

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

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

Retrieving 46 files...
Done.


Merging files...

Checksum keywords updated successfully.

Merged file saved to:
/scratch/kocevski/507832/ft1_4FGL_J2315.6-5018_daily_bin1706.fits


Retrieving the FT1 file...

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

Retrieving 46 files...
Done.


Merging files...

Merged file saved to:
/scratch/kocevski/507832/ft2_4FGL_J2315.6-5018_daily_bin1706.fits


Selecting the photons:
time -p gtselect infile=/scratch/kocevski/507832/ft1_4FGL_J2315.6-5018_daily_bin1706.fits outfile=/scratch/kocevski/507832/ft1_filteredMKT_4FGL_J2315.6-5018_daily_bin1706.fits ra=348.914 dec=-50.3127 rad=12.0 tmin=681523201.0 tmax=681782401.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.64
user 2.40
sys 0.20

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

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

Number of photons that the gtmktime cut: 196

Generating the livetime cube:
time -p gtltcube evfile="/scratch/kocevski/507832/ft1_filtered_4FGL_J2315.6-5018_daily_bin1706.fits" evtable="EVENTS" scfile=/scratch/kocevski/507832/ft2_4FGL_J2315.6-5018_daily_bin1706.fits sctable="SC_DATA" outfile=/scratch/kocevski/507832/ltcube_681523201_681782401_4FGL_J2315.6-5018_daily_bin1706.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/507832/ft2_4FGL_J2315.6-5018_daily_bin1706.fits
.....................!
real 14.75
user 14.34
sys 0.35

Generating the exposure map:
time -p gtexpmap evfile=/scratch/kocevski/507832/ft1_filtered_4FGL_J2315.6-5018_daily_bin1706.fits evtable="EVENTS" scfile=/scratch/kocevski/507832/ft2_4FGL_J2315.6-5018_daily_bin1706.fits sctable="SC_DATA" expcube=/scratch/kocevski/507832/ltcube_681523201_681782401_4FGL_J2315.6-5018_daily_bin1706.fits outfile=/scratch/kocevski/507832/expmap_681523201_681782401_4FGL_J2315.6-5018_daily_bin1706.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/507832/ltcube_681523201_681782401_4FGL_J2315.6-5018_daily_bin1706.fits
.....................!
real 193.49
user 187.17
sys 5.59

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/507832/ft1_filtered_4FGL_J2315.6-5018_daily_bin1706.fits scfile=/scratch/kocevski/507832/ft2_4FGL_J2315.6-5018_daily_bin1706.fits outfile=/scratch/kocevski/507832/cmap_681523201_681782401_4FGL_J2315.6-5018_daily_bin1706.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.55
user 0.38
sys 0.16

Creating the high resolution counts map:
time -p gtbin evfile=/scratch/kocevski/507832/ft1_filtered_4FGL_J2315.6-5018_daily_bin1706.fits scfile=/scratch/kocevski/507832/ft2_4FGL_J2315.6-5018_daily_bin1706.fits outfile=/scratch/kocevski/507832/cmap_HighResolution_681523201_681782401_4FGL_J2315.6-5018_daily_bin1706.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.58
user 0.39
sys 0.16

Computing the diffuse response:
time -p gtdiffrsp evfile=/scratch/kocevski/507832/ft1_filtered_4FGL_J2315.6-5018_daily_bin1706.fits evtable="EVENTS" scfile=/scratch/kocevski/507832/ft2_4FGL_J2315.6-5018_daily_bin1706.fits sctable="SC_DATA" srcmdl=/scratch/kocevski/507832/Model_4FGL_J2315.6-5018_daily_bin1706.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/507832/ft1_filtered_4FGL_J2315.6-5018_daily_bin1706.fits......................!
real 25.36
user 23.76
sys 1.29

Creating the likelihood object...
obs = UnbinnedObs('/scratch/kocevski/507832/ft1_filtered_4FGL_J2315.6-5018_daily_bin1706.fits', '/scratch/kocevski/507832/ft2_4FGL_J2315.6-5018_daily_bin1706.fits', expMap='/scratch/kocevski/507832/expmap_681523201_681782401_4FGL_J2315.6-5018_daily_bin1706.fits', expCube='/scratch/kocevski/507832/ltcube_681523201_681782401_4FGL_J2315.6-5018_daily_bin1706.fits', irfs='P8R3_SOURCE_V2')
like = UnbinnedAnalysis(obs, '/scratch/kocevski/507832/Model_4FGL_J2315.6-5018_daily_bin1706.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  1.000e-04  1.000e+04 ( 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/507832/ft1_filtered_4FGL_J2315.6-5018_daily_bin1706.fits
Spacecraft file(s): /scratch/kocevski/507832/ft2_4FGL_J2315.6-5018_daily_bin1706.fits
Exposure map: /scratch/kocevski/507832/expmap_681523201_681782401_4FGL_J2315.6-5018_daily_bin1706.fits
Exposure cube: /scratch/kocevski/507832/ltcube_681523201_681782401_4FGL_J2315.6-5018_daily_bin1706.fits
IRFs: P8R3_SOURCE_V2
Source model file: /scratch/kocevski/507832/Model_4FGL_J2315.6-5018_daily_bin1706.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) = 2203.8623307

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

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

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'Prefactor '    .10012E-03   1.0000         .10000E-03   10000.    
     2 'Prefactor '    90.206       1.0000         .10000E-03   10000.    
     3 'Prefactor '    .10465E-03   1.0000         .10000E-03   10000.    
     4 'Prefactor '    9.1757       1.0000         .10000E-03   10000.    
     5 'Prefactor '    4.8988       1.0000         .10000E-03   10000.    
     6 'Prefactor '    .10001E-03   1.0000         .10000E-03   10000.    
     7 'Prefactor '    28.367       1.0000         .10000E-03   10000.    
     8 'Prefactor '    323.36       1.0000         .10000E-03   10000.    
     9 'norm      '    .10012E-03   1.0000         .10000E-03   10000.    
    10 'Prefactor '    20.286       1.0000         .10000E-03   10000.    
    11 'Prefactor '    63.799       1.0000         .10000E-03   10000.    
    12 'Prefactor '    7.2210       1.0000         .10000E-03   10000.    
    13 'Prefactor '    .10046E-03   1.0000         .10000E-03   10000.    
    14 'Prefactor '    13.270       1.0000         .10000E-03   10000.    
    15 'Prefactor '    .10010E-03   1.0000         .10000E-03   10000.    
    16 'Prefactor '    25.143       1.0000         .10000E-03   10000.    
    17 'Prefactor '    .10067E-03   1.0000         .10000E-03   10000.    
    18 'Prefactor '    .10135E-03   1.0000         .10000E-03   10000.    
    19 'norm      '    5.2949       1.0000         .10000E-03   10000.    
    20 'norm      '    6.9873       1.0000         .10000E-03   10000.    
    21 'norm      '    11.710       1.0000         .10000E-03   10000.    
    22 'Prefactor '    9.3081       1.0000         .10000E-03   10000.    
    23 'Prefactor '    117.51       1.0000         .10000E-03   10000.    
    24 'norm      '    .10610E-03   1.0000         .10000E-03   10000.    
    25 'Prefactor '    26.356       1.0000         .10000E-03   10000.    
    26 'norm      '    .10151E-03   1.0000         .10000E-03   10000.    
    27 'norm      '    .10088E-03   1.0000         .10000E-03   10000.    
    28 'Prefactor '    17.127       1.0000         .10000E-03   10000.    
    29 'Prefactor '    .10107E-03   1.0000         .10000E-03   10000.    
    30 'Prefactor '    43.670       1.0000         .10000E-03   10000.    
    31 'norm      '    17.922       1.0000         .10000E-03   10000.    
    32 'Prefactor '    .10052E-03   1.0000         .10000E-03   10000.    
    33 'Prefactor '    .10004E-03   1.0000         .10000E-03   10000.    
    34 'Normalizat'    .84398       1.0000         .10000E-01   10.000    
    35 'Prefactor '    1.1141       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.

 MIGRAD MINIMIZATION HAS CONVERGED.

 FCN=   2203.848     FROM MIGRAD    STATUS=CONVERGED    933 CALLS     6084 TOTAL
                     EDM=   .16E-09  STRATEGY=1  ERROR MATRIX UNCERTAINTY=  1.4%

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor     .10000E-03    15.899        .92065E-08** at limit **
   2  Prefactor     90.186        82.075       -.83131E-06   -.57923E-04
   3  Prefactor     .10000E-03    34.910       -.24241E-07** at limit **
   4  Prefactor     9.1755        8.9382       -.92083E-07   -.79354E-05
   5  Prefactor     4.9009        17.194        .80877E-05    .50799E-06
   6  Prefactor     .10000E-03    37.396        .73191E-06** at limit **
   7  Prefactor     28.363        18.753        .10740E-06    .19674E-05
   8  Prefactor     323.40        416.79        .58394E-06    .71646E-05
   9  norm          .10000E-03    8.4004        .71513E-08** at limit **
  10  Prefactor     20.282        18.379       -.34162E-06   -.12158E-04
  11  Prefactor     63.902        187.01        .29187E-05    .39068E-04
  12  Prefactor     7.2210        17.244        .36197E-05   -.10296E-05
  13  Prefactor     .10000E-03    31.655       -.27905E-06** at limit **
  14  Prefactor     13.269        23.580       -.18263E-06   -.35127E-05
  15  Prefactor     .10000E-03    94.621       -.25291E-06** at limit **
  16  Prefactor     25.150        33.083        .25498E-06    .24478E-04
  17  Prefactor     .10000E-03    36.873        .28446E-06** at limit **
  18  Prefactor     .10000E-03    29.305       -.10528E-06** at limit **
  19  norm          5.2988        99.915        .14440E-05    .52156E-05
  20  norm          6.9879        9.5811        .47019E-08   -.10452E-04
  21  norm          11.716        13.417       -.50679E-06   -.77144E-05
  22  Prefactor     9.2996        20.207        .81607E-07   -.43483E-04
  23  Prefactor     117.51        108.50       -.58036E-06    .73595E-06
  24  norm          .10000E-03    12.403       -.10440E-07** at limit **
  25  Prefactor     26.392        46.123        .32928E-06    .59416E-04
  26  norm          .10000E-03    1.6348        .37270E-06** at limit **
  27  norm          .10000E-03    4.7764        .72113E-07** at limit **
  28  Prefactor     17.123        27.388        .94280E-06   -.82543E-05
  29  Prefactor     .10000E-03    5.6530       -.52563E-06** at limit **
  30  Prefactor     43.660        45.475        .35851E-06   -.37621E-04
  31  norm          17.920        40.461        .13314E-05    .57829E-05
  32  Prefactor     .10000E-03    10.964       -.48523E-06** at limit **
  33  Prefactor     .10000E-03    2.5240       -.94063E-08** at limit **
  34  Normalizat    .84352        .37235       -.45575E-05    .23296E-04
  35  Prefactor     1.1145        .34950        .18032E-05   -.62243E-04
                               ERR DEF=  .500    
Final values: 
  Prefactor  = 0.0001
  Prefactor  = 90.1863
  Prefactor  = 0.0001
  Prefactor  = 9.17548
  Prefactor  = 4.90087
  Prefactor  = 0.0001
  Prefactor  = 28.3629
  Prefactor  = 323.401
  norm       = 0.0001
  Prefactor  = 20.2824
  Prefactor  = 63.9022
  Prefactor  = 7.22096
  Prefactor  = 0.0001
  Prefactor  = 13.2686
  Prefactor  = 0.0001
  Prefactor  = 25.1496
  Prefactor  = 0.0001
  Prefactor  = 0.0001
  norm       = 5.29876
  norm       = 6.98786
  norm       = 11.7155
  Prefactor  = 9.29959
  Prefactor  = 117.513
  norm       = 0.0001
  Prefactor  = 26.3921
  norm       = 0.0001
  norm       = 0.0001
  Prefactor  = 17.123
  Prefactor  = 0.0001
  Prefactor  = 43.6598
  norm       = 17.9198
  Prefactor  = 0.0001
  Prefactor  = 0.0001
  Normalizat = 0.843519
  Prefactor  = 1.11453
 **********
 **   18 **HESSE 
 **********

 FCN=   2203.848     FROM HESSE     STATUS=OK           768 CALLS     6852 TOTAL
                     EDM=   .36E-09    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  Prefactor     .10000E-03    15.905        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   2  Prefactor     90.186        82.477        .42307E-04   -1.3806    
   3  Prefactor     .10000E-03    35.494        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   4  Prefactor     9.1755        8.9382        .13231E-03   -1.5102    
   5  Prefactor     4.9009        17.196        .90864E-03   -1.5265    
   6  Prefactor     .10000E-03    37.410        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   7  Prefactor     28.363        18.753        .75220E-04   -1.4642    
   8  Prefactor     323.40        416.78        .11306E-03   -1.2092    
   9  norm          .10000E-03    8.4008        .13290E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  10  Prefactor     20.282        18.380        .88927E-04   -1.4807    
  11  Prefactor     63.902        186.83        .25120E-03   -1.4107    
  12  Prefactor     7.2210        17.232        .74635E-03   -1.5170    
  13  Prefactor     .10000E-03    31.667        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  14  Prefactor     13.269        23.568        .10996E-03   -1.4979    
  15  Prefactor     .10000E-03    94.621        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  16  Prefactor     25.150        33.077        .79889E-04   -1.4705    
  17  Prefactor     .10000E-03    36.873        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  18  Prefactor     .10000E-03    29.377        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  19  norm          5.2988        99.630        .17467E-03   -1.5248    
  20  norm          6.9879        9.5817        .15177E-03   -1.5179    
  21  norm          11.716        13.404        .11706E-03   -1.5023    
  22  Prefactor     9.2996        20.083        .13136E-03   -1.5098    
  23  Prefactor     117.51        108.71        .37119E-04   -1.3536    
  24  norm          .10000E-03    12.431        .16079E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  25  Prefactor     26.392        46.130        .78032E-04   -1.4680    
  26  norm          .10000E-03    1.6986        .11670E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  27  norm          .10000E-03    4.7891        .10019E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  28  Prefactor     17.123        27.487        .96780E-04   -1.4880    
  29  Prefactor     .10000E-03    5.6998        .10866E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  30  Prefactor     43.660        45.437        .60666E-04   -1.4385    
  31  norm          17.920        40.485        .94607E-04   -1.4861    
  32  Prefactor     .10000E-03    11.057        .15121E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  33  Prefactor     .10000E-03    2.5264        .72834E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  34  Normalizat    .84352        .45011        .30032E-03   -.98474    
  35  Prefactor     1.1145        .42675        .27063E-03   -.89003    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 3.59254e-10
Minuit parameter uncertainties:
  1  8.19465e-05
  2  82.5823
  3  0.000179994
  4  8.93954
  5  17.2138
  6  0.000205871
  7  18.7571
  8  420.74
  9  3.82927e-06
  10  18.385
  11  188.589
  12  17.2436
  13  0.000162588
  14  23.5847
  15  0.000243558
  16  33.1014
  17  0.000172013
  18  0.000198047
  19  46.0414
  20  9.5838
  21  13.4076
  22  20.098
  23  108.896
  24  4.54753e-05
  25  46.1924
  26  3.02081e-06
  27  5.45459e-06
  28  27.5073
  29  2.89433e-06
  30  45.4729
  31  40.5473
  32  5.14249e-05
  33  7.36862e-07
  34  0.452122
  35  0.428074
Done.

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

Extracting fit parameters...

4FGL J2315.6-5018
   Spectrum: PowerLaw
432    Prefactor:  1.000e-04  1.980e-04  1.000e-04  1.000e+04 ( 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.115e+00  4.281e-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.435e-01  4.521e-01  1.000e-02  1.000e+01 ( 1.000e+00)


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

Saving results to:
/scratch/kocevski/507832/likelihoodResults_681523201_681782401_4FGL_J2315.6-5018_daily_bin1706.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) = 2203.84807626
delta logL = -0.000162033539709

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

MINUIT Return Code (Free Index): 102
logL (Free Index) = 2203.84791498
delta logL = -7.55795099394e-07

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'Prefactor '    .12704E-03   1.0000         .10000E-03   10000.    
     2 'Index     '    2.3226       1.0000          .0000       10.000    
     3 'Normalizat'    .84351       1.0000         .10000E-01   10.000    
     4 'Prefactor '    1.1146       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=   2203.848     FROM MIGRAD    STATUS=CONVERGED     59 CALLS      241 TOTAL
                     EDM=   .19E-07    STRATEGY= 1      ERR MATRIX NOT POS-DEF

  EXT PARAMETER                APPROXIMATE        STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor     .10000E-03    738.32        .90712E-02** at limit **
   2  Index         2.3594        7.3842        .50000       -.13644E-04
   3  Normalizat    .84352        .43968E-01    .67881E-01    .14544E-05
   4  Prefactor     1.1145        .45144E-01    .61194E-01   -.18005E-04
                               ERR DEF=  .500    
Final values: 
  Prefactor  = 0.000100004
  Index      = 2.35937
  Normalizat = 0.843516
  Prefactor  = 1.11454
 **********
 **   18 **HESSE 
 **********

 FCN=   2203.848     FROM HESSE     STATUS=NOT POSDEF    33 CALLS      274 TOTAL
                     EDM=   .63E-07    STRATEGY= 1      ERR MATRIX NOT POS-DEF

  EXT PARAMETER                APPROXIMATE     INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  Prefactor     .10000E-03    2294.0        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   2  Index         2.3594        7.9595        .50000       -.55639    
   3  Normalizat    .84352        .87158E-01    .30032E-03   -.98474    
   4  Prefactor     1.1145        .89568E-01    .27063E-03   -.89003    
                               ERR DEF=  .500    
Minuit fit quality: 2   estimated distance: 6.28442e-08
Minuit parameter uncertainties:
  1  0.00659211
  2  40.6896
  3  0.0871729
  4  0.0895803
shell-init: error retrieving current directory: getcwd: cannot access parent directories: No such file or directory
rmdir: failed to remove `/scratch/kocevski/507832': 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) = 2203.84791434
delta logL = -1.20430286188e-07

Extracting fit parameters...

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

GAL_V02
   Spectrum: PowerLaw
593    Prefactor:  1.115e+00  8.958e-02  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.435e-01  8.717e-02  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/507832/cmap_HighResolution_681523201_681782401_4FGL_J2315.6-5018_daily_bin1706.png

Cleaning up...

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

Updating database...

UPDATE lightcurve_data_v2 SET energy_flux_upper_limit='1.31e-02', job_status='DONE', photon_flux_upper_limit='1.70e-07', time_completed='2022-08-10 02:30:17.163959', job_id='507832', GAL2='1.11', fit_tolerance='1e-08', EG2='0.84', EG='0.84', time_epoch_completed='1660123817.16', return_code2='102', ts='-0.00', comment='SUCCESS', return_code='0', GAL='1.11', dlogl='-1.20e-07', ts2='-0.00', photon_index_error='0.00', photon_index='2.40' WHERE bin_id='1706' AND source_name='4FGL J2315.6-5018' AND cadence='daily';

Database successfully updated.


Analysis Complete.


Wed Aug 10 02:30:17 PDT 2022


------------------------------------------------------------
Sender: LSF System <lsf@bullet0122>
Subject: Job 507832: <4FGL_J2315.6-5018_daily_bin1706> in cluster <slac> Done

Job <4FGL_J2315.6-5018_daily_bin1706> was submitted from host <rhel6-64j> by user <kocevski> in cluster <slac> at Wed Aug 10 02:15:35 2022
Job was executed on host(s) <bullet0122>, in queue <medium>, as user <kocevski> in cluster <slac> at Wed Aug 10 02:18:25 2022
</u/ki/kocevski> was used as the home directory.
</u/ki/kocevski> was used as the working directory.
Started at Wed Aug 10 02:18:25 2022
Terminated at Wed Aug 10 02:30:18 2022
Results reported at Wed Aug 10 02:30:18 2022

Your job looked like:

------------------------------------------------------------
# LSBATCH: User input
/nfs/farm/g/glast/g/LCRepository/Likelihood/Scripts/LikelihoodAnalysis.py 4FGL_J2315.6-5018_daily_bin1706 348.914 -50.3127 681523201 681782401 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 :                                   601.51 sec.
    Max Memory :                                 1257 MB
    Average Memory :                             293.88 MB
    Total Requested Memory :                     -
    Delta Memory :                               -
    Max Swap :                                   -
    Max Processes :                              5
    Max Threads :                                21
    Run time :                                   712 sec.
    Turnaround time :                            883 sec.

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

