/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 22 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 = 7571
number of fields = 30
RA_SUN column already exists. File will not be modified.
Done.


Performing analysis on: 4FGL_J2315.6-5018_daily_bin1348
RA = 348.914, Dec = -50.3127
tmin = 588729601, tmax = 588988801
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='724481', job_status='RUN', time_executed='2021-09-29 10:05:50.276348', time_epoch_executed='1632935150.28' WHERE source_name='4FGL J2315.6-5018' and cadence='daily' and bin_id='1348'

Database successfully updated.
Done.

Creating custom output directory:
/scratch/kocevski/724481

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

Retrieving the FT1 file...

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

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

Retrieving 47 files...
Done.


Merging files...

Checksum keywords updated successfully.

Merged file saved to:
/scratch/kocevski/724481/ft1_4FGL_J2315.6-5018_daily_bin1348.fits


Retrieving the FT1 file...

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

Retrieving 47 files...
Done.


Merging files...

Merged file saved to:
/scratch/kocevski/724481/ft2_4FGL_J2315.6-5018_daily_bin1348.fits


Selecting the photons:
time -p gtselect infile=/scratch/kocevski/724481/ft1_4FGL_J2315.6-5018_daily_bin1348.fits outfile=/scratch/kocevski/724481/ft1_filteredMKT_4FGL_J2315.6-5018_daily_bin1348.fits ra=348.914 dec=-50.3127 rad=12.0 tmin=588729601.0 tmax=588988801.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.14
user 2.92
sys 0.20

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

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

Generating the livetime cube:
time -p gtltcube evfile="/scratch/kocevski/724481/ft1_filtered_4FGL_J2315.6-5018_daily_bin1348.fits" evtable="EVENTS" scfile=/scratch/kocevski/724481/ft2_4FGL_J2315.6-5018_daily_bin1348.fits sctable="SC_DATA" outfile=/scratch/kocevski/724481/ltcube_588729601_588988801_4FGL_J2315.6-5018_daily_bin1348.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/724481/ft2_4FGL_J2315.6-5018_daily_bin1348.fits
.....................!
real 11.97
user 11.65
sys 0.30

Generating the exposure map:
time -p gtexpmap evfile=/scratch/kocevski/724481/ft1_filtered_4FGL_J2315.6-5018_daily_bin1348.fits evtable="EVENTS" scfile=/scratch/kocevski/724481/ft2_4FGL_J2315.6-5018_daily_bin1348.fits sctable="SC_DATA" expcube=/scratch/kocevski/724481/ltcube_588729601_588988801_4FGL_J2315.6-5018_daily_bin1348.fits outfile=/scratch/kocevski/724481/expmap_588729601_588988801_4FGL_J2315.6-5018_daily_bin1348.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/724481/ltcube_588729601_588988801_4FGL_J2315.6-5018_daily_bin1348.fits
.....................!
real 189.02
user 184.95
sys 3.76

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/724481/ft1_filtered_4FGL_J2315.6-5018_daily_bin1348.fits scfile=/scratch/kocevski/724481/ft2_4FGL_J2315.6-5018_daily_bin1348.fits outfile=/scratch/kocevski/724481/cmap_588729601_588988801_4FGL_J2315.6-5018_daily_bin1348.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.52
user 0.36
sys 0.15

Creating the high resolution counts map:
time -p gtbin evfile=/scratch/kocevski/724481/ft1_filtered_4FGL_J2315.6-5018_daily_bin1348.fits scfile=/scratch/kocevski/724481/ft2_4FGL_J2315.6-5018_daily_bin1348.fits outfile=/scratch/kocevski/724481/cmap_HighResolution_588729601_588988801_4FGL_J2315.6-5018_daily_bin1348.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.14

Computing the diffuse response:
time -p gtdiffrsp evfile=/scratch/kocevski/724481/ft1_filtered_4FGL_J2315.6-5018_daily_bin1348.fits evtable="EVENTS" scfile=/scratch/kocevski/724481/ft2_4FGL_J2315.6-5018_daily_bin1348.fits sctable="SC_DATA" srcmdl=/scratch/kocevski/724481/Model_4FGL_J2315.6-5018_daily_bin1348.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/724481/ft1_filtered_4FGL_J2315.6-5018_daily_bin1348.fits...........!
real 14.16
user 12.96
sys 1.17

Creating the likelihood object...
obs = UnbinnedObs('/scratch/kocevski/724481/ft1_filtered_4FGL_J2315.6-5018_daily_bin1348.fits', '/scratch/kocevski/724481/ft2_4FGL_J2315.6-5018_daily_bin1348.fits', expMap='/scratch/kocevski/724481/expmap_588729601_588988801_4FGL_J2315.6-5018_daily_bin1348.fits', expCube='/scratch/kocevski/724481/ltcube_588729601_588988801_4FGL_J2315.6-5018_daily_bin1348.fits', irfs='P8R3_SOURCE_V2')
like = UnbinnedAnalysis(obs, '/scratch/kocevski/724481/Model_4FGL_J2315.6-5018_daily_bin1348.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/724481/ft1_filtered_4FGL_J2315.6-5018_daily_bin1348.fits
Spacecraft file(s): /scratch/kocevski/724481/ft2_4FGL_J2315.6-5018_daily_bin1348.fits
Exposure map: /scratch/kocevski/724481/expmap_588729601_588988801_4FGL_J2315.6-5018_daily_bin1348.fits
Exposure cube: /scratch/kocevski/724481/ltcube_588729601_588988801_4FGL_J2315.6-5018_daily_bin1348.fits
IRFs: P8R3_SOURCE_V2
Source model file: /scratch/kocevski/724481/Model_4FGL_J2315.6-5018_daily_bin1348.xml
Optimizer: MINUIT
Statistic: UNBINNED

Performing an iterative likelihood fit...

Fit tolerance = 1

Performing likelihood fit...
Done.

MINUIT Return Code (Fixed Index): 101
logL (Fixed Index) = 138.330458652

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

MINUIT Return Code (Fixed Index): 101
logL (Fixed Index) = 121.147871373

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'Prefactor '    .74422E-01   1.0000         .10000E-03   10000.    
     2 'Prefactor '    .22736       1.0000         .10000E-03   10000.    
     3 'Prefactor '    16.100       1.0000         .10000E-03   10000.    
     4 'Prefactor '    1.7481       1.0000         .10000E-03   10000.    
     5 'Prefactor '    2.0908       1.0000         .10000E-03   10000.    
     6 'Prefactor '    .74896E-03   1.0000         .10000E-03   10000.    
     7 'Prefactor '    .12380E-02   1.0000         .10000E-03   10000.    
     8 'Prefactor '    .89659       1.0000         .10000E-03   10000.    
     9 'norm      '    .37809E-02   1.0000         .10000E-03   10000.    
    10 'Prefactor '    .83076E-03   1.0000         .10000E-03   10000.    
    11 'Prefactor '    .75979E-02   1.0000         .10000E-03   10000.    
    12 'Prefactor '    .31600       1.0000         .10000E-03   10000.    
    13 'Prefactor '    7.6692       1.0000         .10000E-03   10000.    
    14 'Prefactor '    72.011       1.0000         .10000E-03   10000.    
    15 'Prefactor '    70.131       1.0000         .10000E-03   10000.    
    16 'Prefactor '    .13596E-02   1.0000         .10000E-03   10000.    
    17 'Prefactor '    137.70       1.0000         .10000E-03   10000.    
    18 'Prefactor '    122.98       1.0000         .10000E-03   10000.    
    19 'norm      '    5.9604       1.0000         .10000E-03   10000.    
    20 'norm      '    144.51       1.0000         .10000E-03   10000.    
    21 'norm      '    1.3757       1.0000         .10000E-03   10000.    
    22 'Prefactor '    244.56       1.0000         .10000E-03   10000.    
    23 'Prefactor '    7.1297       1.0000         .10000E-03   10000.    
    24 'norm      '    4.9807       1.0000         .10000E-03   10000.    
    25 'Prefactor '    25.447       1.0000         .10000E-03   10000.    
    26 'norm      '    9544.6       1.0000         .10000E-03   10000.    
    27 'norm      '    1.8078       1.0000         .10000E-03   10000.    
    28 'Prefactor '    4792.1       1.0000         .10000E-03   10000.    
    29 'Prefactor '    9982.6       1.0000         .10000E-03   10000.    
    30 'Prefactor '    15.089       1.0000         .10000E-03   10000.    
    31 'norm      '    20.622       1.0000         .10000E-03   10000.    
    32 'Prefactor '    6955.9       1.0000         .10000E-03   10000.    
    33 'Prefactor '    37.606       1.0000         .10000E-03   10000.    
    34 'Normalizat'    .10545E-01   1.0000         .10000E-01   10.000    
    35 'Prefactor '    .16381E-02   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=   119.7036     FROM MIGRAD    STATUS=CONVERGED    493 CALLS     1212 TOTAL
                     EDM=   .76E-09  STRATEGY=1  ERROR MATRIX UNCERTAINTY=   .8%

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor     .10001E-03    7953.4       -.47890E-05** at limit **
   2  Prefactor     .10000E-03    7402.9       -.97091E-07** at limit **
   3  Prefactor     .10007E-03    2202.1        .11849E-05** at limit **
   4  Prefactor     .10000E-03    153.97       -.12449E-08** at limit **
   5  Prefactor     .10000E-03    79.560        .86603E-10** at limit **
   6  Prefactor     .10000E-03    20.911        .37384E-09** at limit **
   7  Prefactor     .10000E-03    5.5539        .52146E-10** at limit **
   8  Prefactor     .10000E-03    190.98        .89191E-09** at limit **
   9  norm          .10000E-03    20.630        .11029E-07** at limit **
  10  Prefactor     .10000E-03    59.265        .28308E-08** at limit **
  11  Prefactor     .10000E-03    6172.4        .31236E-07** at limit **
  12  Prefactor     .10000E-03    45.500       -.16343E-09** at limit **
  13  Prefactor     .10000E-03    164.56       -.14625E-05** at limit **
  14  Prefactor     78.827        91.213        .49294E-07    .17522E-05
  15  Prefactor     .10077E-03    1156.1       -.39728E-05** at limit **
  16  Prefactor     .10007E-03    9823.0       -.18889E-04** at limit **
  17  Prefactor     .10086E-03    638.53       -.19401E-05** at limit **
  18  Prefactor     .88311E-01    1933.7       -.73066E-05    .12269E-02
  19  norm          9809.7        8156.2        .28127E-04    .47272E-02
  20  norm          2832.9        6408.8        .45686E-05   -.26656E-01
  21  norm          1.3757        1.0889         .0000         .0000    
  22  Prefactor     9937.2        8751.3       -.15996E-06    .25532E-01
  23  Prefactor     7.6630        1.1548        .70811E-08   -.17650E-05
  24  norm          4.9807        1.0051         .0000         .0000    
  25  Prefactor     9981.8        9901.9       -.28061E-04   -.36458E-02
  26  norm         10000.0        1034.7       -.37190E-05** at limit **
  27  norm          1.8078        1.0445         .0000         .0000    
  28  Prefactor     2616.8        2591.7       -.85963E-06   -.28017E-01
  29  Prefactor    10000.0        7669.1       -.29360E-05** at limit **
  30  Prefactor    10000.0        8563.3       -.42480E-04    .65734E-04
  31  norm          9988.8        9669.9        .79350E-05   -.33417E-02
  32  Prefactor     9940.3        1144.6        .15876E-05   -.59918E-01
  33  Prefactor     .10929E-03    6597.8        .87410E-06** at limit **
  34  Normalizat    .10000E-01    .15448       -.72057E-05** at limit **
  35  Prefactor     .88413E-11    .23258        .43317E-05** at limit **
                               ERR DEF=  .500    
Final values: 
  Prefactor  = 0.000100005
  Prefactor  = 0.0001
  Prefactor  = 0.000100067
  Prefactor  = 0.0001
  Prefactor  = 0.0001
  Prefactor  = 0.0001
  Prefactor  = 0.0001
  Prefactor  = 0.0001
  norm       = 0.0001
  Prefactor  = 0.0001
  Prefactor  = 0.0001
  Prefactor  = 0.0001
  Prefactor  = 0.000100001
  Prefactor  = 78.8266
  Prefactor  = 0.000100773
  Prefactor  = 0.000100069
  Prefactor  = 0.000100861
  Prefactor  = 0.0883115
  norm       = 9809.69
  norm       = 2832.85
  norm       = 1.37575
  Prefactor  = 9937.2
  Prefactor  = 7.66305
  norm       = 4.98067
  Prefactor  = 9981.84
  norm       = 10000
  norm       = 1.80785
  Prefactor  = 2616.76
  Prefactor  = 10000
  Prefactor  = 9999.98
  norm       = 9988.81
  Prefactor  = 9940.31
  Prefactor  = 0.000109294
  Normalizat = 0.01
  Prefactor  = 8.84126e-12
 **********
 **   18 **HESSE 
 **********
  MNHESS FAILS AND WILL RETURN DIAGONAL MATRIX. 

 FCN=   119.7036     FROM HESSE     STATUS=FAILED        89 CALLS     1301 TOTAL
                     EDM=   .76E-09  STRATEGY=1  ERROR MATRIX UNCERTAINTY=100.0%

  EXT PARAMETER                APPROXIMATE     INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  Prefactor     .10001E-03    7929.4        .93886E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   2  Prefactor     .10000E-03    7399.2        .10102E-01   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   3  Prefactor     .10007E-03    2186.4        .24955E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   4  Prefactor     .10000E-03    153.96        .79290E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   5  Prefactor     .10000E-03    79.551        .71374E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   6  Prefactor     .10000E-03    20.850        .10470E-01   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   7  Prefactor     .10000E-03    5.5157        .10308E-01   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   8  Prefactor     .10000E-03    190.40        .12795E-01   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   9  norm          .10000E-03    20.535        .97817E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  10  Prefactor     .10000E-03    59.278        .10440E-01   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  11  Prefactor     .10000E-03    6174.7        .92823E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  12  Prefactor     .10000E-03    45.234        .10495E-01   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  13  Prefactor     .10000E-03    160.80        .36201E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  14  Prefactor     78.827        90.439        .11827E-02   -1.3930    
  15  Prefactor     .10077E-03    1136.3        .11984E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  16  Prefactor     .10007E-03    9779.5        .10273E-01   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  17  Prefactor     .10086E-03    632.12        .85812E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  18  Prefactor     .88311E-01    8959.8        .90734E-03   -1.5649    
  19  norm          9809.7        6477.8        .41119E-02    1.8476    
  20  norm          2832.9        3791.6        .83795E-03   -.44830    
  21  norm          580.22        578.63         .0000       -1.5473    
  22  Prefactor     9937.2        .51145       -.15996E-06    1.7295    
  23  Prefactor     7.6630        1.0393        .70811E-08   -1.5154    
  24  norm          4.9807        1.0051         .0000       -1.5262    
  25  Prefactor     9981.8        .84529       -.28061E-04    1.4855    
  26  norm         10000.0        .57520E-03   -.37190E-05    1.5710    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  27  norm          1.8078        1.0445         .0000       -1.5439    
  28  Prefactor     2616.8        .87986       -.85963E-06   -.49684    
  29  Prefactor    10000.0        .14419E-01   -.29360E-05    1.5706    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  30  Prefactor    10000.0        .34475E-01   -.42480E-04    1.5735    
  31  norm          9988.8        .73727        .79350E-05    1.5039    
  32  Prefactor     9940.3        .16740        .15876E-05    1.4161    
  33  Prefactor     .10929E-03    .66742E-02    .87410E-06   -1.5707    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  34  Normalizat    .10000E-01    .25519       -.72057E-05   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  35  Prefactor     .88413E-11    .25547        .43317E-05   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
                               ERR DEF=  .500    
Minuit fit quality: 1   estimated distance: 7.63657e-10
Minuit parameter uncertainties:
  1  0.0125948
  2  0.00124885
  3  0.0251761
  4  8.15051e-07
  5  1.16014e-08
  6  7.76098e-08
  7  5.83755e-09
  8  6.36328e-07
  9  2.36581e-06
  10  9.81791e-07
  11  0.000181485
  12  4.5161e-08
  13  0.000827013
  14  90.5976
  15  0.060474
  16  0.0715502
  17  0.0471719
  18  65.3495
  19  10590.2
  20  4505.94
  21  1.08891
  22  0.511451
  23  1.03927
  24  1.00513
  25  0.845294
  26  0.000382632
  27  1.04454
  28  0.879855
  29  0.0022602
  30  0.0344749
  31  0.737271
  32  0.167399
  33  0.000498117
  34  4.83424e-06
  35  3.01877e-06
Done.

MINUIT Return Code (Fixed Index): 101
logL (Fixed Index) = 119.70357793

Extracting fit parameters...

4FGL J2315.6-5018
   Spectrum: PowerLaw
432    Prefactor:  8.831e-02  6.535e+01  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:  8.841e-12  3.019e-06  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.000e-02  4.834e-06  1.000e-02  1.000e+01 ( 1.000e+00)

calc_int error: parameter max 10000.0 is not large enough
delta logLike = -0.583561927503

TS (Fixed Index): -0.00
Ra Dec: 348.914 -50.313
Photon Flux Upper Limit: -1.00e+00 ph cm-2 s-1
Energy Flux Upper Limit: -7.72e+04 MeV cm-2 s-1

Saving results to:
/scratch/kocevski/724481/likelihoodResults_588729601_588988801_4FGL_J2315.6-5018_daily_bin1348.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) = 119.705196186
delta logL = -0.00161825645219

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

MINUIT Return Code (Free Index): 0
logL (Free Index) = 119.705196186
delta logL = -0.00161825635348

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'Index     '    2.3950       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=   119.7052     FROM MIGRAD    STATUS=CONVERGED     21 CALLS       90 TOTAL
                     EDM=   .13E-08    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1    Index       2.3947        6.1968        .50000        .13854E-05
                               ERR DEF=  .500    
Final values: 
  Index      = 2.39468
 **********
 **   18 **HESSE 
 **********

 FCN=   119.7052     FROM HESSE     STATUS=OK            11 CALLS      101 TOTAL
                     EDM=   .13E-08    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1    Index       2.3947        6.1968        .50000       -.54810    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 1.31099e-09
Minuit parameter uncertainties:
  1  111.534
shell-init: error retrieving current directory: getcwd: cannot access parent directories: No such file or directory
rmdir: failed to remove `/scratch/kocevski/724481': 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) = 119.705196186
delta logL = -0.00161825625639

Extracting fit parameters...

4FGL J2315.6-5018
   Spectrum: PowerLaw
432    Prefactor:  8.831e-02  0.000e+00  1.000e-04  1.000e+04 ( 1.000e-13) fixed
433        Index:  2.395e+00  1.115e+02  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.425e-07  0.000e+00  0.000e+00  1.000e+01 ( 1.000e+00) fixed
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.000e-02  0.000e+00  1.000e-02  1.000e+01 ( 1.000e+00) fixed


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/724481/cmap_HighResolution_588729601_588988801_4FGL_J2315.6-5018_daily_bin1348.png

Cleaning up...

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

Updating database...

UPDATE lightcurve_data_v2 SET energy_flux_upper_limit='-7.72e+04', job_status='DONE', photon_flux_upper_limit='-1.00e+00', time_completed='2021-09-29 10:11:21.726122', job_id='724481', GAL2='0.00', fit_tolerance='1e-08', EG2='0.01', EG='0.01', time_epoch_completed='1632935481.73', return_code2='0', ts='-0.00', comment='SUCCESS', return_code='101', GAL='0.00', dlogl='-1.62e-03', ts2='-0.00', photon_index_error='0.00', photon_index='2.40' WHERE bin_id='1348' AND source_name='4FGL J2315.6-5018' AND cadence='daily';

Database successfully updated.


Analysis Complete.


Wed Sep 29 10:11:21 PDT 2021


------------------------------------------------------------
Sender: LSF System <lsf@bullet0035>
Subject: Job 724481: <4FGL_J2315.6-5018_daily_bin1348> in cluster <slac> Done

Job <4FGL_J2315.6-5018_daily_bin1348> was submitted from host <rhel6-64k> by user <kocevski> in cluster <slac> at Wed Sep 29 10:05:17 2021
Job was executed on host(s) <bullet0035>, in queue <medium>, as user <kocevski> in cluster <slac> at Wed Sep 29 10:05:20 2021
</u/ki/kocevski> was used as the home directory.
</u/ki/kocevski> was used as the working directory.
Started at Wed Sep 29 10:05:20 2021
Terminated at Wed Sep 29 10:11:22 2021
Results reported at Wed Sep 29 10:11:22 2021

Your job looked like:

------------------------------------------------------------
# LSBATCH: User input
/nfs/farm/g/glast/g/LCRepository/Likelihood/Scripts/LikelihoodAnalysis.py 4FGL_J2315.6-5018_daily_bin1348 348.914 -50.3127 588729601 588988801 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 :                                   324.00 sec.
    Max Memory :                                 1257 MB
    Average Memory :                             421.67 MB
    Total Requested Memory :                     -
    Delta Memory :                               -
    Max Swap :                                   -
    Max Processes :                              5
    Max Threads :                                21
    Run time :                                   361 sec.
    Turnaround time :                            365 sec.

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

