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


Performing analysis on: 4FGL_J2315.6-5018_daily_bin1738
RA = 348.914, Dec = -50.3127
tmin = 689817601, tmax = 690076801
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='412022', job_status='RUN', time_executed='2022-11-14 00:52:36.410670', time_epoch_executed='1668415956.41' WHERE source_name='4FGL J2315.6-5018' and cadence='daily' and bin_id='1738'

Database successfully updated.
Done.

Creating custom output directory:
/scratch/kocevski/412022

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

Retrieving the FT1 file...

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

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

Retrieving 46 files...
Done.


Merging files...

Checksum keywords updated successfully.

Merged file saved to:
/scratch/kocevski/412022/ft1_4FGL_J2315.6-5018_daily_bin1738.fits


Retrieving the FT1 file...

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

Retrieving 46 files...
Done.


Merging files...

Merged file saved to:
/scratch/kocevski/412022/ft2_4FGL_J2315.6-5018_daily_bin1738.fits


Selecting the photons:
time -p gtselect infile=/scratch/kocevski/412022/ft1_4FGL_J2315.6-5018_daily_bin1738.fits outfile=/scratch/kocevski/412022/ft1_filteredMKT_4FGL_J2315.6-5018_daily_bin1738.fits ra=348.914 dec=-50.3127 rad=12.0 tmin=689817601.0 tmax=690076801.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 4.21
user 3.93
sys 0.23

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

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

Number of photons that the gtmktime cut: 685

Generating the livetime cube:
time -p gtltcube evfile="/scratch/kocevski/412022/ft1_filtered_4FGL_J2315.6-5018_daily_bin1738.fits" evtable="EVENTS" scfile=/scratch/kocevski/412022/ft2_4FGL_J2315.6-5018_daily_bin1738.fits sctable="SC_DATA" outfile=/scratch/kocevski/412022/ltcube_689817601_690076801_4FGL_J2315.6-5018_daily_bin1738.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/412022/ft2_4FGL_J2315.6-5018_daily_bin1738.fits
.....................!
real 16.17
user 15.70
sys 0.36

Generating the exposure map:
time -p gtexpmap evfile=/scratch/kocevski/412022/ft1_filtered_4FGL_J2315.6-5018_daily_bin1738.fits evtable="EVENTS" scfile=/scratch/kocevski/412022/ft2_4FGL_J2315.6-5018_daily_bin1738.fits sctable="SC_DATA" expcube=/scratch/kocevski/412022/ltcube_689817601_690076801_4FGL_J2315.6-5018_daily_bin1738.fits outfile=/scratch/kocevski/412022/expmap_689817601_690076801_4FGL_J2315.6-5018_daily_bin1738.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/412022/ltcube_689817601_690076801_4FGL_J2315.6-5018_daily_bin1738.fits
.....................!
real 193.42
user 188.36
sys 4.53

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/412022/ft1_filtered_4FGL_J2315.6-5018_daily_bin1738.fits scfile=/scratch/kocevski/412022/ft2_4FGL_J2315.6-5018_daily_bin1738.fits outfile=/scratch/kocevski/412022/cmap_689817601_690076801_4FGL_J2315.6-5018_daily_bin1738.fits algorithm="CMAP" ebinalg="LOG" emin=30.0 emax=200000.0 ebinfile=NONE tbinalg="LIN" tbinfile=NONE nxpix=160 nypix=160 binsz=0.25 coordsys="CEL" xref=348.914 yref=-50.3127 axisrot=0.0 rafield="RA" decfield="DEC" proj="AIT" hpx_ordering_scheme="RING" hpx_order=3 hpx_ebin=yes hpx_region="" evtable="EVENTS" sctable="SC_DATA" efield="ENERGY" tfield="TIME" chatter=2 clobber=yes debug=no gui=no mode="ql"

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

This is gtbin version HEAD
real 0.57
user 0.40
sys 0.15

Creating the high resolution counts map:
time -p gtbin evfile=/scratch/kocevski/412022/ft1_filtered_4FGL_J2315.6-5018_daily_bin1738.fits scfile=/scratch/kocevski/412022/ft2_4FGL_J2315.6-5018_daily_bin1738.fits outfile=/scratch/kocevski/412022/cmap_HighResolution_689817601_690076801_4FGL_J2315.6-5018_daily_bin1738.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.17

Computing the diffuse response:
time -p gtdiffrsp evfile=/scratch/kocevski/412022/ft1_filtered_4FGL_J2315.6-5018_daily_bin1738.fits evtable="EVENTS" scfile=/scratch/kocevski/412022/ft2_4FGL_J2315.6-5018_daily_bin1738.fits sctable="SC_DATA" srcmdl=/scratch/kocevski/412022/Model_4FGL_J2315.6-5018_daily_bin1738.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/412022/ft1_filtered_4FGL_J2315.6-5018_daily_bin1738.fits.....................!
real 50.94
user 49.50
sys 1.32

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

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

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

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'Prefactor '    13.612       1.0000          .0000       .10000E+07
     2 'Prefactor '    .10602       1.0000          .0000       .10000E+07
     3 'Prefactor '    5.3405       1.0000          .0000       .10000E+07
     4 'Prefactor '    4.1320       1.0000          .0000       .10000E+07
     5 'Prefactor '    1.1446       1.0000          .0000       .10000E+07
     6 'Prefactor '    .40798E-04   1.0000          .0000       .10000E+07
     7 'Prefactor '    10.068       1.0000          .0000       .10000E+07
     8 'Prefactor '    7.1375       1.0000          .0000       .10000E+07
     9 'norm      '    14.252       1.0000          .0000       .10000E+07
    10 'Prefactor '    .27057       1.0000          .0000       .10000E+07
    11 'Prefactor '    .23229E-02   1.0000          .0000       .10000E+07
    12 'Prefactor '    .55317E-05   1.0000          .0000       .10000E+07
    13 'Prefactor '    .19216       1.0000          .0000       .10000E+07
    14 'Prefactor '    2.4917       1.0000          .0000       .10000E+07
    15 'Prefactor '    .13678E-02   1.0000          .0000       .10000E+07
    16 'Prefactor '    2.3138       1.0000          .0000       .10000E+07
    17 'norm      '    8.3951       1.0000          .0000       .10000E+07
    18 'norm      '    .88333E-05   1.0000          .0000       .10000E+07
    19 'norm      '    .74635       1.0000          .0000       .10000E+07
    20 'Prefactor '    4.5341       1.0000          .0000       .10000E+07
    21 'Prefactor '    .15343E-03   1.0000          .0000       .10000E+07
    22 'norm      '    6.8070       1.0000          .0000       .10000E+07
    23 'Prefactor '    24.681       1.0000          .0000       .10000E+07
    24 'norm      '    .49794       1.0000          .0000       .10000E+07
    25 'norm      '    .36282E-06   1.0000          .0000       .10000E+07
    26 'Prefactor '    .69385E-03   1.0000          .0000       .10000E+07
    27 'Prefactor '    .40717E-03   1.0000          .0000       .10000E+07
    28 'Prefactor '    .66808E-02   1.0000          .0000       .10000E+07
    29 'norm      '    .26181E-02   1.0000          .0000       .10000E+07
    30 'Prefactor '    .24421E-05   1.0000          .0000       .10000E+07
    31 'Prefactor '    1.9665       1.0000          .0000       .10000E+07
    32 'Normalizat'    .78250       1.0000         .10000E-01   10.000    
    33 'Prefactor '    1.0140       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=   7426.270     FROM MIGRAD    STATUS=CONVERGED    225 CALLS     2652 TOTAL
                     EDM=   .18E-08  STRATEGY=1  ERROR MATRIX UNCERTAINTY=  2.3%

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor     13.639        1.2450       -.87740E-07    .10353E-03
   2  Prefactor     .56969E-05    4.7415        .33963E-06** at limit **
   3  Prefactor     5.3150        7.3632       -.12003E-05   -.20178E-01
   4  Prefactor     4.1410        6.1752       -.17887E-06   -.53532E-03
   5  Prefactor     1.1521        10.498        .13269E-05   -.88193E-03
   6  Prefactor     .54845E-07    11.311       -.32994E-05** at limit **
   7  Prefactor     10.027        4.1190        .41262E-07    .27939E-02
   8  Prefactor     5.8873        313.14       -.21257E-04    .39021E-02
   9  norm          14.278        5.2321        .15717E-05   -.94159E-02
  10  Prefactor     .27332        3.5624        .41829E-06    .35634E-03
  11  Prefactor     .83267E-09    8.4206        .48054E-06** at limit **
  12  Prefactor     .16653E-09    1.0151        .31012E-07** at limit **
  13  Prefactor     .25086E-03    29.196        .55080E-05** at limit **
  14  Prefactor     2.4326        4.6108       -.11877E-07   -.37195E-03
  15  Prefactor     .74668E-06    28.333       -.39277E-06** at limit **
  16  Prefactor     2.3163        10.989        .14929E-05    .79012E-02
  17  norm          8.3840        7.1998       -.26785E-05   -.39573E-01
  18  norm           .0000        1.5301       -.15199E-06** at limit **
  19  norm          .74393        3.3346        .11127E-06   -.23864E-03
  20  Prefactor     4.5404        4.0361       -.61862E-07   -.17017E-02
  21  Prefactor     .13073E-06    15.036       -.11236E-05** at limit **
  22  norm          6.7983        3.9270        .12434E-06   -.22956E-02
  23  Prefactor     24.607        1.5598       -.17324E-06   -.22185E-01
  24  norm          .49810        .84760       -.64631E-08   -.55380E-02
  25  norm           .0000        1.7087        .12842E-06** at limit **
  26  Prefactor      .0000        4.2984       -.22859E-06** at limit **
  27  Prefactor     .19651E-06    3.3188        .75699E-06** at limit **
  28  Prefactor     .20639E-06    12.491        .43314E-05** at limit **
  29  norm          .27756E-08    6.3015       -.92851E-07** at limit **
  30  Prefactor      .0000        1.8998       -.40425E-06** at limit **
  31  Prefactor     1.9584        3.1443       -.57019E-07    .10241E-02
  32  Normalizat    .78337        .17266       -.70528E-05   -.23744E-03
  33  Prefactor     1.0140        .18078        .45382E-05   -.25985E-03
                               ERR DEF=  .500    
Final values: 
  Prefactor  = 13.6386
  Prefactor  = 5.69694e-06
  Prefactor  = 5.31499
  Prefactor  = 4.14097
  Prefactor  = 1.15206
  Prefactor  = 5.4845e-08
  Prefactor  = 10.027
  Prefactor  = 5.8873
  norm       = 14.2778
  Prefactor  = 0.273316
  Prefactor  = 8.32667e-10
  Prefactor  = 1.66533e-10
  Prefactor  = 0.000250862
  Prefactor  = 2.43257
  Prefactor  = 7.4668e-07
  Prefactor  = 2.31629
  norm       = 8.38403
  norm       = 0
  norm       = 0.743934
  Prefactor  = 4.54043
  Prefactor  = 1.30729e-07
  norm       = 6.79826
  Prefactor  = 24.6065
  norm       = 0.498104
  norm       = 0
  Prefactor  = 0
  Prefactor  = 1.96509e-07
  Prefactor  = 2.0639e-07
  norm       = 2.77556e-09
  Prefactor  = 0
  Prefactor  = 1.95845
  Normalizat = 0.78337
  Prefactor  = 1.01398
 **********
 **   18 **HESSE 
 **********

 FCN=   7426.270     FROM HESSE     STATUS=OK           775 CALLS     3427 TOTAL
                     EDM=   .33E-05    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  Prefactor     13.639        20.110        .27123E-03   -1.5634    
   2  Prefactor     .56969E-05    64.808        .13770E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   3  Prefactor     5.3150        8.2295        .43465E-03   -1.5662    
   4  Prefactor     4.1410        6.2076        .49565E-03   -1.5667    
   5  Prefactor     1.1521        10.605        .10842E-02   -1.5686    
   6  Prefactor     .54845E-07    12.299        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   7  Prefactor     10.027        4.1453        .31555E-03   -1.5645    
   8  Prefactor     5.8873        326.76        .37523E-03   -1.5659    
   9  norm          14.278        8.5933        .26506E-03   -1.5632    
  10  Prefactor     .27332        1.6687        .34573E-02   -1.5698    
  11  Prefactor     .83267E-09    8.4887        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  12  Prefactor     .16653E-09    1.0170        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  13  Prefactor     .25086E-03    13.191        .11917E-01   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  14  Prefactor     2.4326        4.6380        .64726E-03   -1.5677    
  15  Prefactor     .74668E-06    29.088        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  16  Prefactor     2.3163        11.559        .67417E-03   -1.5678    
  17  norm          8.3840        8.0267        .34575E-03   -1.5650    
  18  norm           .0000        1.5335        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  19  norm          .74393        3.4234        .57023E-03   -1.5691    
  20  Prefactor     4.5404        4.3070        .47255E-03   -1.5665    
  21  Prefactor     .13073E-06    16.653        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  22  norm          6.7983        3.9690        .38433E-03   -1.5656    
  23  Prefactor     24.607        14.450        .20133E-03   -1.5609    
  24  norm          .49810        .90661        .78917E-03   -1.5694    
  25  norm           .0000        1.6991        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  26  Prefactor      .0000        4.3083        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  27  Prefactor     .19651E-06    1.6243        .42118E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  28  Prefactor     .20639E-06    14.179        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  29  norm          .27756E-08    6.3990        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  30  Prefactor      .0000        1.9047        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  31  Prefactor     1.9584        3.3517        .73924E-03   -1.5680    
  32  Normalizat    .78337        .15200        .43381E-01   -1.0069    
  33  Prefactor     1.0140        .15355        .42800E-01   -.92265    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 3.30153e-06
Minuit parameter uncertainties:
  1  20.1104
  2  0.03843
  3  8.22948
  4  6.20763
  5  6.99064
  6  0.00164285
  7  4.14531
  8  87.7255
  9  8.59334
  10  1.35069
  11  0.000169237
  12  2.51148e-05
  13  0.11505
  14  4.63804
  15  0.00932099
  16  10.3487
  17  8.02674
  18  8.36855e-06
  19  3.19174
  20  4.30704
  21  0.00295106
  22  3.96902
  23  14.4496
  24  0.906608
  25  5.28727e-06
  26  1.92729e-05
  27  0.00112998
  28  0.0034214
  29  0.000265824
  30  7.72356e-06
  31  3.35166
  32  0.152083
  33  0.153621
Done.

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

Extracting fit parameters...

4FGL J2315.6-5018
   Spectrum: PowerLaw
432    Prefactor:  2.316e+00  1.035e+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.014e+00  1.536e-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.834e-01  1.521e-01  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Fixed Index): 0.06
Ra Dec: 348.914 -50.313
Photon Flux Upper Limit: 6.03e-08 ph cm-2 s-1
Energy Flux Upper Limit: 4.66e-03 MeV cm-2 s-1

Saving results to:
/scratch/kocevski/412022/likelihoodResults_689817601_690076801_4FGL_J2315.6-5018_daily_bin1738.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) = 7426.04394871
delta logL = 0.225904104929

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

MINUIT Return Code (Free Index): 102
logL (Free Index) = 7425.99444168
delta logL = 0.27541113502

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'Prefactor '    1.0578       1.0000          .0000       .10000E+07
     2 'Index     '    3.6188       1.0000          .0000       10.000    
     3 'Normalizat'    .75812       1.0000         .10000E-01   10.000    
     4 'Prefactor '    1.0300       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=   7425.994     FROM MIGRAD    STATUS=CONVERGED     57 CALLS      227 TOTAL
                     EDM=   .23E-09    STRATEGY= 1      ERR MATRIX NOT POS-DEF

  EXT PARAMETER                APPROXIMATE        STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor     1.0566        30.905        .11941E-02    .11892E-01
   2  Index         3.6187        3.4012        .14467        .15026E-03
   3  Normalizat    .75849        .28936E-01    .43061E-01    .21395E-04
   4  Prefactor     1.0297        .31168E-01    .41259E-01    .91676E-05
                               ERR DEF=  .500    
Final values: 
  Prefactor  = 1.05655
  Index      = 3.61868
  Normalizat = 0.758485
  Prefactor  = 1.02969
 **********
 **   18 **HESSE 
 **********

 FCN=   7425.994     FROM HESSE     STATUS=NOT POSDEF    33 CALLS      260 TOTAL
                     EDM=   .24E-08    STRATEGY= 1      ERR MATRIX NOT POS-DEF

  EXT PARAMETER                APPROXIMATE     INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  Prefactor     1.0566        100.83        .11859E-04   -1.5687    
   2  Index         3.6187        6.2132        .83853E-02   -.27990    
   3  Normalizat    .75849        .14913        .24183E-03   -1.0163    
   4  Prefactor     1.0297        .16015        .22659E-03   -.91746    
                               ERR DEF=  .500    
Minuit fit quality: 2   estimated distance: 2.35699e-09
Minuit parameter uncertainties:
  1  20.6434
  2  9.59156
  3  0.149212
  4  0.160229
shell-init: error retrieving current directory: getcwd: cannot access parent directories: No such file or directory
rmdir: failed to remove `/scratch/kocevski/412022': 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) = 7425.9944392
delta logL = 0.275413610974

Extracting fit parameters...

4FGL J2315.6-5018
   Spectrum: PowerLaw
432    Prefactor:  1.057e+00  2.064e+01  0.000e+00  1.000e+06 ( 1.000e-13)
433        Index:  3.619e+00  9.592e+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.030e+00  1.602e-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.585e-01  1.492e-01  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Free Index): 0.06
Ra Dec: 348.914 -50.313

Creating a high resolution counts map...
INFO: Auto-setting vmin to -1.000e-01 [aplpy.core]
INFO: Auto-setting vmax to  1.110e+00 [aplpy.core]
Saving /scratch/kocevski/412022/cmap_HighResolution_689817601_690076801_4FGL_J2315.6-5018_daily_bin1738.png

Cleaning up...

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

Updating database...

UPDATE lightcurve_data_v2 SET energy_flux_upper_limit='4.66e-03', job_status='DONE', photon_flux_upper_limit='6.03e-08', time_completed='2022-11-14 01:06:47.062783', job_id='412022', GAL2='1.03', fit_tolerance='1e-08', EG2='0.76', EG='0.78', time_epoch_completed='1668416807.06', return_code2='102', ts='0.06', comment='SUCCESS', return_code='0', GAL='1.01', dlogl='2.75e-01', ts2='0.64', photon_index_error='0.00', photon_index='2.40' WHERE bin_id='1738' AND source_name='4FGL J2315.6-5018' AND cadence='daily';

Database successfully updated.


Analysis Complete.


Mon Nov 14 01:06:47 PST 2022


------------------------------------------------------------
Sender: LSF System <lsf@bullet0172>
Subject: Job 412022: <4FGL_J2315.6-5018_daily_bin1738> in cluster <slac> Done

Job <4FGL_J2315.6-5018_daily_bin1738> was submitted from host <rhel6-64p> by user <kocevski> in cluster <slac> at Mon Nov 14 00:50:20 2022
Job was executed on host(s) <bullet0172>, in queue <medium>, as user <kocevski> in cluster <slac> at Mon Nov 14 00:51:02 2022
</u/ki/kocevski> was used as the home directory.
</u/ki/kocevski> was used as the working directory.
Started at Mon Nov 14 00:51:02 2022
Terminated at Mon Nov 14 01:06:47 2022
Results reported at Mon Nov 14 01:06:47 2022

Your job looked like:

------------------------------------------------------------
# LSBATCH: User input
/nfs/farm/g/glast/g/LCRepository/Likelihood/Scripts/LikelihoodAnalysis.py 4FGL_J2315.6-5018_daily_bin1738 348.914 -50.3127 689817601 690076801 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 :                                   852.00 sec.
    Max Memory :                                 1094 MB
    Average Memory :                             291.55 MB
    Total Requested Memory :                     -
    Delta Memory :                               -
    Max Swap :                                   -
    Max Processes :                              5
    Max Threads :                                21
    Run time :                                   945 sec.
    Turnaround time :                            987 sec.

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

