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


Performing analysis on: 4FGL_J2315.6-5018_daily_bin1284
RA = 348.914, Dec = -50.3127
tmin = 572140801, tmax = 572400001
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='723416', job_status='RUN', time_executed='2021-09-29 10:01:19.966743', time_epoch_executed='1632934879.97' WHERE source_name='4FGL J2315.6-5018' and cadence='daily' and bin_id='1284'

Database successfully updated.
Done.

Creating custom output directory:
/scratch/kocevski/723416

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

Retrieving the FT1 file...

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

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

Retrieving 47 files...
Done.


Merging files...

Checksum keywords updated successfully.

Merged file saved to:
/scratch/kocevski/723416/ft1_4FGL_J2315.6-5018_daily_bin1284.fits


Retrieving the FT1 file...

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

Retrieving 47 files...
Done.


Merging files...

Merged file saved to:
/scratch/kocevski/723416/ft2_4FGL_J2315.6-5018_daily_bin1284.fits


Selecting the photons:
time -p gtselect infile=/scratch/kocevski/723416/ft1_4FGL_J2315.6-5018_daily_bin1284.fits outfile=/scratch/kocevski/723416/ft1_filteredMKT_4FGL_J2315.6-5018_daily_bin1284.fits ra=348.914 dec=-50.3127 rad=12.0 tmin=572140801.0 tmax=572400001.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.26
user 3.03
sys 0.20

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

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

Generating the livetime cube:
time -p gtltcube evfile="/scratch/kocevski/723416/ft1_filtered_4FGL_J2315.6-5018_daily_bin1284.fits" evtable="EVENTS" scfile=/scratch/kocevski/723416/ft2_4FGL_J2315.6-5018_daily_bin1284.fits sctable="SC_DATA" outfile=/scratch/kocevski/723416/ltcube_572140801_572400001_4FGL_J2315.6-5018_daily_bin1284.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/723416/ft2_4FGL_J2315.6-5018_daily_bin1284.fits
.....................!
real 12.09
user 11.71
sys 0.34

Generating the exposure map:
time -p gtexpmap evfile=/scratch/kocevski/723416/ft1_filtered_4FGL_J2315.6-5018_daily_bin1284.fits evtable="EVENTS" scfile=/scratch/kocevski/723416/ft2_4FGL_J2315.6-5018_daily_bin1284.fits sctable="SC_DATA" expcube=/scratch/kocevski/723416/ltcube_572140801_572400001_4FGL_J2315.6-5018_daily_bin1284.fits outfile=/scratch/kocevski/723416/expmap_572140801_572400001_4FGL_J2315.6-5018_daily_bin1284.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/723416/ltcube_572140801_572400001_4FGL_J2315.6-5018_daily_bin1284.fits
.....................!
real 191.33
user 187.06
sys 3.91

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/723416/ft1_filtered_4FGL_J2315.6-5018_daily_bin1284.fits scfile=/scratch/kocevski/723416/ft2_4FGL_J2315.6-5018_daily_bin1284.fits outfile=/scratch/kocevski/723416/cmap_572140801_572400001_4FGL_J2315.6-5018_daily_bin1284.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.15

Creating the high resolution counts map:
time -p gtbin evfile=/scratch/kocevski/723416/ft1_filtered_4FGL_J2315.6-5018_daily_bin1284.fits scfile=/scratch/kocevski/723416/ft2_4FGL_J2315.6-5018_daily_bin1284.fits outfile=/scratch/kocevski/723416/cmap_HighResolution_572140801_572400001_4FGL_J2315.6-5018_daily_bin1284.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.39
sys 0.15

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

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

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

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

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'Prefactor '    .10016E-03   1.0000         .10000E-03   10000.    
     2 'Prefactor '    .10022E-03   1.0000         .10000E-03   10000.    
     3 'Prefactor '    .10230E-03   1.0000         .10000E-03   10000.    
     4 'Prefactor '    .10288E-03   1.0000         .10000E-03   10000.    
     5 'Prefactor '    .10005E-03   1.0000         .10000E-03   10000.    
     6 'Prefactor '    .10006E-03   1.0000         .10000E-03   10000.    
     7 'Prefactor '    2.5605       1.0000         .10000E-03   10000.    
     8 'Prefactor '    .10002E-03   1.0000         .10000E-03   10000.    
     9 'norm      '    .10001E-03   1.0000         .10000E-03   10000.    
    10 'Prefactor '    .10021E-03   1.0000         .10000E-03   10000.    
    11 'Prefactor '    .10195E-03   1.0000         .10000E-03   10000.    
    12 'Prefactor '    .10001E-03   1.0000         .10000E-03   10000.    
    13 'Prefactor '    .10008E-03   1.0000         .10000E-03   10000.    
    14 'Prefactor '    .10059E-03   1.0000         .10000E-03   10000.    
    15 'Prefactor '    .10000E-03   1.0000         .10000E-03   10000.    
    16 'Prefactor '    .10002E-03   1.0000         .10000E-03   10000.    
    17 'Prefactor '    .10000E-03   1.0000         .10000E-03   10000.    
    18 'Prefactor '    .10000E-03   1.0000         .10000E-03   10000.    
    19 'norm      '    10.233       1.0000         .10000E-03   10000.    
    20 'norm      '    .10001E-03   1.0000         .10000E-03   10000.    
    21 'norm      '    .66944E-01   1.0000         .10000E-03   10000.    
    22 'Prefactor '    .10001E-03   1.0000         .10000E-03   10000.    
    23 'Prefactor '    .10001E-03   1.0000         .10000E-03   10000.    
    24 'norm      '    .10001E-03   1.0000         .10000E-03   10000.    
    25 'Prefactor '    .67286E-03   1.0000         .10000E-03   10000.    
    26 'norm      '    .10076E-03   1.0000         .10000E-03   10000.    
    27 'norm      '    3.6419       1.0000         .10000E-03   10000.    
    28 'Prefactor '    11.977       1.0000         .10000E-03   10000.    
    29 'Prefactor '    3.2134       1.0000         .10000E-03   10000.    
    30 'Prefactor '    .74950       1.0000         .10000E-03   10000.    
    31 'norm      '    16.570       1.0000         .10000E-03   10000.    
    32 'Prefactor '    .10028E-03   1.0000         .10000E-03   10000.    
    33 'Prefactor '    .10212E-03   1.0000         .10000E-03   10000.    
    34 'Normalizat'    1.0656       1.0000         .10000E-01   10.000    
    35 'Prefactor '    1.0933       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=   4325.510     FROM MIGRAD    STATUS=CONVERGED    959 CALLS     4280 TOTAL
                     EDM=   .12E-08  STRATEGY=1  ERROR MATRIX UNCERTAINTY=  1.2%

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor     .10000E-03    7.6356       -.48927E-06** at limit **
   2  Prefactor     .10000E-03    14.288       -.13957E-05** at limit **
   3  Prefactor     .10000E-03    20.734       -.46946E-05** at limit **
   4  Prefactor     .10000E-03    13.916       -.89925E-06** at limit **
   5  Prefactor     .10000E-03    3.4402       -.68676E-06** at limit **
   6  Prefactor     .10000E-03    8.0932        .20244E-05** at limit **
   7  Prefactor     2.5610        4.0044       -.28614E-06   -.37015E-03
   8  Prefactor     .10000E-03    38.655        .12517E-04** at limit **
   9  norm          .10000E-03    7.6273       -.27950E-07** at limit **
  10  Prefactor     .10000E-03    3.0894        .29258E-06** at limit **
  11  Prefactor     .10000E-03    103.32        .44685E-05** at limit **
  12  Prefactor     .10000E-03    2.6156        .96861E-07** at limit **
  13  Prefactor     .10000E-03    13.569       -.43122E-05** at limit **
  14  Prefactor     .10000E-03    9.6702        .14488E-06** at limit **
  15  Prefactor     .10000E-03    34.499       -.10479E-04** at limit **
  16  Prefactor     .10000E-03    4.8303        .33705E-05** at limit **
  17  Prefactor     .10000E-03    16.731        .59172E-05** at limit **
  18  Prefactor     .10000E-03    6.9096       -.11103E-05** at limit **
  19  norm          10.230        14.795        .31400E-06   -.22706E-04
  20  norm          .10000E-03    2.2709        .60711E-07** at limit **
  21  norm          .70652E-01    5.9875       -.83085E-06    .82153E-04
  22  Prefactor     .10000E-03    2.7196       -.10316E-06** at limit **
  23  Prefactor     .10000E-03    15.967        .46517E-05** at limit **
  24  norm          .10000E-03    2.4965       -.84511E-08** at limit **
  25  Prefactor     .10001E-03    10.164       -.64209E-06** at limit **
  26  norm          .10000E-03    .70300       -.78603E-08** at limit **
  27  norm          3.6409        4.0310       -.11356E-06   -.17130E-03
  28  Prefactor     11.966        18.947        .32790E-05   -.33729E-05
  29  Prefactor     3.2223        4.7874       -.96754E-06   -.98954E-03
  30  Prefactor     .83256        27.695        .50736E-05   -.52515E-03
  31  norm          16.563        18.595        .17259E-05    .42204E-04
  32  Prefactor     .10000E-03    4.6604       -.33735E-05** at limit **
  33  Prefactor     .10000E-03    3.6621        .72155E-06** at limit **
  34  Normalizat    1.0659        .20986       -.41099E-06   -.13943E-03
  35  Prefactor     1.0931        .21416       -.67473E-07   -.12299E-03
                               ERR DEF=  .500    
Final values: 
  Prefactor  = 0.0001
  Prefactor  = 0.0001
  Prefactor  = 0.0001
  Prefactor  = 0.0001
  Prefactor  = 0.0001
  Prefactor  = 0.0001
  Prefactor  = 2.56104
  Prefactor  = 0.0001
  norm       = 0.0001
  Prefactor  = 0.0001
  Prefactor  = 0.0001
  Prefactor  = 0.0001
  Prefactor  = 0.0001
  Prefactor  = 0.0001
  Prefactor  = 0.0001
  Prefactor  = 0.0001
  Prefactor  = 0.0001
  Prefactor  = 0.0001
  norm       = 10.2304
  norm       = 0.0001
  norm       = 0.0706516
  Prefactor  = 0.0001
  Prefactor  = 0.0001
  norm       = 0.0001
  Prefactor  = 0.000100007
  norm       = 0.0001
  norm       = 3.64093
  Prefactor  = 11.9656
  Prefactor  = 3.22231
  Prefactor  = 0.832556
  norm       = 16.5626
  Prefactor  = 0.0001
  Prefactor  = 0.0001
  Normalizat = 1.06585
  Prefactor  = 1.09305
 **********
 **   18 **HESSE 
 **********

 FCN=   4325.510     FROM HESSE     STATUS=OK           766 CALLS     5046 TOTAL
                     EDM=   .20E-07    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  Prefactor     .10000E-03    7.6391        .17750E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   2  Prefactor     .10000E-03    14.288        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   3  Prefactor     .10000E-03    21.084        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   4  Prefactor     .10000E-03    14.399        .36285E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   5  Prefactor     .10000E-03    3.4419        .11913E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   6  Prefactor     .10000E-03    8.1934        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   7  Prefactor     2.5610        4.0004        .15902E-03   -1.5388    
   8  Prefactor     .10000E-03    38.552        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   9  norm          .10000E-03    7.7330        .17738E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  10  Prefactor     .10000E-03    3.1297        .11282E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  11  Prefactor     .10000E-03    103.64        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  12  Prefactor     .10000E-03    2.6270        .10386E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  13  Prefactor     .10000E-03    13.582        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  14  Prefactor     .10000E-03    9.7937        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  15  Prefactor     .10000E-03    34.417        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  16  Prefactor     .10000E-03    4.8435        .14096E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  17  Prefactor     .10000E-03    16.712        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  18  Prefactor     .10000E-03    6.9210        .16881E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  19  norm          10.230        14.768        .12526E-03   -1.5068    
  20  norm          .10000E-03    2.2712        .96793E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  21  norm          .70652E-01    6.1944        .51023E-01   -1.5655    
  22  Prefactor     .10000E-03    2.7248        .10587E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  23  Prefactor     .10000E-03    15.974        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  24  norm          .10000E-03    2.5180        .10137E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  25  Prefactor     .10001E-03    45.635        .40184E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  26  norm          .10000E-03    1.4024        .10631E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  27  norm          3.6409        4.0241        .13479E-03   -1.5326    
  28  Prefactor     11.966        19.002        .11575E-03   -1.5016    
  29  Prefactor     3.2223        4.9377        .14732E-03   -1.5349    
  30  Prefactor     .83256        230.40        .56792E-02   -1.5525    
  31  norm          16.563        18.627        .98391E-04   -1.4894    
  32  Prefactor     .10000E-03    4.6909        .13839E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  33  Prefactor     .10000E-03    3.7340        .12283E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  34  Normalizat    1.0659        .25209        .23386E-03   -.90856    
  35  Prefactor     1.0931        .25901        .24207E-03   -.89689    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 2.03885e-08
Minuit parameter uncertainties:
  1  1.61627e-06
  2  5.60293e-07
  3  2.59995e-05
  4  2.03201e-05
  5  1.75154e-07
  6  2.1897e-06
  7  4.00079
  8  2.84977e-06
  9  4.47046e-06
  10  3.59178e-07
  11  1.6459e-05
  12  9.75225e-07
  13  7.41905e-06
  14  7.34068e-06
  15  2.03758e-06
  16  2.71748e-06
  17  1.13754e-06
  18  1.04476e-06
  19  14.7732
  20  4.00095e-08
  21  1.3223
  22  5.57098e-07
  23  8.41693e-06
  24  4.0604e-06
  25  0.00114317
  26  2.56304e-06
  27  4.02441
  28  19.0111
  29  4.93833
  30  27.8072
  31  18.6339
  32  1.22911e-05
  33  4.74981e-06
  34  0.252378
  35  0.259307
Done.

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

Extracting fit parameters...

4FGL J2315.6-5018
   Spectrum: PowerLaw
432    Prefactor:  1.000e-04  1.045e-06  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.093e+00  2.593e-01  0.000e+00  1.000e+01 ( 1.000e+00)
594        Index:  0.000e+00  0.000e+00 -1.000e+00  1.000e+00 ( 1.000e+00) fixed
595        Scale:  1.000e+02  0.000e+00  5.000e+01  2.000e+02 ( 1.000e+00) fixed

EG_v02
   Spectrum: FileFunction
592   Normalization:  1.066e+00  2.524e-01  1.000e-02  1.000e+01 ( 1.000e+00)


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

Saving results to:
/scratch/kocevski/723416/likelihoodResults_572140801_572400001_4FGL_J2315.6-5018_daily_bin1284.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) = 4325.51068729
delta logL = -0.000686515672896

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

MINUIT Return Code (Free Index): 0
logL (Free Index) = 4325.51000076
delta logL = 1.54959707288e-08

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'Prefactor '    .10006E-03   1.0000         .10000E-03   10000.    
     2 'Index     '    2.3866       1.0000          .0000       10.000    
     3 'Normalizat'    1.0659       1.0000         .10000E-01   10.000    
     4 'Prefactor '    1.0931       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=   4325.510     FROM MIGRAD    STATUS=CONVERGED     55 CALLS      207 TOTAL
                     EDM=   .20E-07    STRATEGY= 1      ERR MATRIX NOT POS-DEF

  EXT PARAMETER                APPROXIMATE        STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor     .10000E-03    1024.0        .90712E-02** at limit **
   2  Index         2.3779        5.4394        .50000        .10816E-04
   3  Normalizat    1.0659        .79934E-01    .39600E-01    .51297E-05
   4  Prefactor     1.0931        .83835E-01    .54747E-01    .75764E-05
                               ERR DEF=  .500    
Final values: 
  Prefactor  = 0.0001
  Index      = 2.37792
  Normalizat = 1.06586
  Prefactor  = 1.09305
 **********
 **   18 **HESSE 
 **********

 FCN=   4325.510     FROM HESSE     STATUS=OK            33 CALLS      240 TOTAL
                     EDM=   .16E-09    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  Prefactor     .10000E-03    9.7384        .16936E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   2  Index         2.3779        6.1548        .50000       -.55203    
   3  Normalizat    1.0659        .24290        .23386E-03   -.90856    
   4  Prefactor     1.0931        .25529        .24207E-03   -.89689    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 1.56223e-10
Minuit parameter uncertainties:
  1  8.37014e-06
  2  5.04136
  3  0.243152
  4  0.255576
shell-init: error retrieving current directory: getcwd: cannot access parent directories: No such file or directory
rmdir: failed to remove `/scratch/kocevski/723416': 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) = 4325.51000073
delta logL = 4.54501787317e-08

Extracting fit parameters...

4FGL J2315.6-5018
   Spectrum: PowerLaw
432    Prefactor:  1.000e-04  8.370e-06  1.000e-04  1.000e+04 ( 1.000e-13)
433        Index:  2.378e+00  5.041e+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.093e+00  2.556e-01  0.000e+00  1.000e+01 ( 1.000e+00)
594        Index:  0.000e+00  0.000e+00 -1.000e+00  1.000e+00 ( 1.000e+00) fixed
595        Scale:  1.000e+02  0.000e+00  5.000e+01  2.000e+02 ( 1.000e+00) fixed

EG_v02
   Spectrum: FileFunction
592   Normalization:  1.066e+00  2.432e-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/723416/cmap_HighResolution_572140801_572400001_4FGL_J2315.6-5018_daily_bin1284.png

Cleaning up...

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

Updating database...

UPDATE lightcurve_data_v2 SET energy_flux_upper_limit='5.20e-03', job_status='DONE', photon_flux_upper_limit='6.73e-08', time_completed='2021-09-29 10:13:44.419013', job_id='723416', GAL2='1.09', fit_tolerance='1e-08', EG2='1.07', EG='1.07', time_epoch_completed='1632935624.42', return_code2='0', ts='-0.00', comment='SUCCESS', return_code='0', GAL='1.09', dlogl='4.55e-08', ts2='-0.00', photon_index_error='0.00', photon_index='2.40' WHERE bin_id='1284' AND source_name='4FGL J2315.6-5018' AND cadence='daily';

Database successfully updated.


Analysis Complete.


Wed Sep 29 10:13:44 PDT 2021


------------------------------------------------------------
Sender: LSF System <lsf@bullet0047>
Subject: Job 723416: <4FGL_J2315.6-5018_daily_bin1284> in cluster <slac> Done

Job <4FGL_J2315.6-5018_daily_bin1284> was submitted from host <rhel6-64p> by user <kocevski> in cluster <slac> at Wed Sep 29 10:00:52 2021
Job was executed on host(s) <bullet0047>, in queue <medium>, as user <kocevski> in cluster <slac> at Wed Sep 29 10:00:54 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:00:54 2021
Terminated at Wed Sep 29 10:13:44 2021
Results reported at Wed Sep 29 10:13:44 2021

Your job looked like:

------------------------------------------------------------
# LSBATCH: User input
/nfs/farm/g/glast/g/LCRepository/Likelihood/Scripts/LikelihoodAnalysis.py 4FGL_J2315.6-5018_daily_bin1284 348.914 -50.3127 572140801 572400001 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 :                                   743.00 sec.
    Max Memory :                                 1095 MB
    Average Memory :                             291.68 MB
    Total Requested Memory :                     -
    Delta Memory :                               -
    Max Swap :                                   -
    Max Processes :                              5
    Max Threads :                                21
    Run time :                                   770 sec.
    Turnaround time :                            772 sec.

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

