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


Performing analysis on: 4FGL_J1315.9-0732_daily_bin1489
RA = 198.987, Dec = -7.546
tmin = 625276801, tmax = 625536001
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='430666', job_status='RUN', time_executed='2021-09-07 09:22:12.067493', time_epoch_executed='1631031732.07' WHERE source_name='4FGL J1315.9-0732' and cadence='daily' and bin_id='1489'

Database successfully updated.
Done.

Creating custom output directory:
/scratch/kocevski/430666

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

Retrieving the FT1 file...

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

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

Retrieving 46 files...
Done.


Merging files...

Checksum keywords updated successfully.

Merged file saved to:
/scratch/kocevski/430666/ft1_4FGL_J1315.9-0732_daily_bin1489.fits


Retrieving the FT1 file...

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

Retrieving 46 files...
Done.


Merging files...

Merged file saved to:
/scratch/kocevski/430666/ft2_4FGL_J1315.9-0732_daily_bin1489.fits


Selecting the photons:
time -p gtselect infile=/scratch/kocevski/430666/ft1_4FGL_J1315.9-0732_daily_bin1489.fits outfile=/scratch/kocevski/430666/ft1_filteredMKT_4FGL_J1315.9-0732_daily_bin1489.fits ra=198.987 dec=-7.546 rad=12.0 tmin=625276801.0 tmax=625536001.0 emin=100.0 emax=100000.0 zmin=0.0 zmax=90.0 evclass=128 evtype="INDEF" convtype=-1 phasemin=0.0 phasemax=1.0 evtable="EVENTS" chatter=2 clobber=yes debug=no gui=no mode="ql"

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

Done.
real 2.95
user 2.71
sys 0.21

Adding sun position to ft2 file:
/nfs/farm/g/glast/g/LCRepository/Repository/bin/sunpos /scratch/kocevski/430666/ft2_4FGL_J1315.9-0732_daily_bin1489.fits

Selecting the good time intervals:
time -p gtmktime scfile=/scratch/kocevski/430666/ft2_4FGL_J1315.9-0732_daily_bin1489.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/430666/ft1_filteredMKT_4FGL_J1315.9-0732_daily_bin1489.fits evtable="EVENTS" outfile="/scratch/kocevski/430666/ft1_filtered_4FGL_J1315.9-0732_daily_bin1489.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.46
user 0.30
sys 0.15

Generating the livetime cube:
time -p gtltcube evfile="/scratch/kocevski/430666/ft1_filtered_4FGL_J1315.9-0732_daily_bin1489.fits" evtable="EVENTS" scfile=/scratch/kocevski/430666/ft2_4FGL_J1315.9-0732_daily_bin1489.fits sctable="SC_DATA" outfile=/scratch/kocevski/430666/ltcube_625276801_625536001_4FGL_J1315.9-0732_daily_bin1489.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/430666/ft2_4FGL_J1315.9-0732_daily_bin1489.fits
.....................!
real 12.59
user 12.19
sys 0.31

Generating the exposure map:
time -p gtexpmap evfile=/scratch/kocevski/430666/ft1_filtered_4FGL_J1315.9-0732_daily_bin1489.fits evtable="EVENTS" scfile=/scratch/kocevski/430666/ft2_4FGL_J1315.9-0732_daily_bin1489.fits sctable="SC_DATA" expcube=/scratch/kocevski/430666/ltcube_625276801_625536001_4FGL_J1315.9-0732_daily_bin1489.fits outfile=/scratch/kocevski/430666/expmap_625276801_625536001_4FGL_J1315.9-0732_daily_bin1489.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/430666/ltcube_625276801_625536001_4FGL_J1315.9-0732_daily_bin1489.fits
.....................!
real 153.76
user 149.27
sys 4.11

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 178 point sources and 0 extended sources

Setting source of interest to:
4FGL J1315.9-0732 @ 198.987 -7.546

Creating the counts map:
time -p gtbin evfile=/scratch/kocevski/430666/ft1_filtered_4FGL_J1315.9-0732_daily_bin1489.fits scfile=/scratch/kocevski/430666/ft2_4FGL_J1315.9-0732_daily_bin1489.fits outfile=/scratch/kocevski/430666/cmap_625276801_625536001_4FGL_J1315.9-0732_daily_bin1489.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=198.987 yref=-7.546 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.53
user 0.33
sys 0.16

Creating the high resolution counts map:
time -p gtbin evfile=/scratch/kocevski/430666/ft1_filtered_4FGL_J1315.9-0732_daily_bin1489.fits scfile=/scratch/kocevski/430666/ft2_4FGL_J1315.9-0732_daily_bin1489.fits outfile=/scratch/kocevski/430666/cmap_HighResolution_625276801_625536001_4FGL_J1315.9-0732_daily_bin1489.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=198.987 yref=-7.546 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.50
user 0.33
sys 0.15

Computing the diffuse response:
time -p gtdiffrsp evfile=/scratch/kocevski/430666/ft1_filtered_4FGL_J1315.9-0732_daily_bin1489.fits evtable="EVENTS" scfile=/scratch/kocevski/430666/ft2_4FGL_J1315.9-0732_daily_bin1489.fits sctable="SC_DATA" srcmdl=/scratch/kocevski/430666/Model_4FGL_J1315.9-0732_daily_bin1489.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/430666/ft1_filtered_4FGL_J1315.9-0732_daily_bin1489.fits.....................!
real 43.33
user 42.04
sys 1.08

Creating the likelihood object...
obs = UnbinnedObs('/scratch/kocevski/430666/ft1_filtered_4FGL_J1315.9-0732_daily_bin1489.fits', '/scratch/kocevski/430666/ft2_4FGL_J1315.9-0732_daily_bin1489.fits', expMap='/scratch/kocevski/430666/expmap_625276801_625536001_4FGL_J1315.9-0732_daily_bin1489.fits', expCube='/scratch/kocevski/430666/ltcube_625276801_625536001_4FGL_J1315.9-0732_daily_bin1489.fits', irfs='P8R3_SOURCE_V2')
like = UnbinnedAnalysis(obs, '/scratch/kocevski/430666/Model_4FGL_J1315.9-0732_daily_bin1489.xml', optimizer='MINUIT')

Using source of interest name: '4FGL J1315.9-0732'

4FGL J1315.9-0732
   Spectrum: LogParabola
307         norm:  1.470e+00  0.000e+00  1.000e-04  1.000e+04 ( 1.000e-13)
308        alpha:  1.753e+00  0.000e+00  0.000e+00  5.000e+00 ( 1.000e+00) fixed
309         beta:  1.376e-01  0.000e+00  0.000e+00  1.000e+01 ( 1.000e+00) fixed
310           Eb:  2.056e+03  0.000e+00  3.000e+01  5.000e+05 ( 1.000e+00) fixed


Likelihood Fit Parameters:
Event file(s): /scratch/kocevski/430666/ft1_filtered_4FGL_J1315.9-0732_daily_bin1489.fits
Spacecraft file(s): /scratch/kocevski/430666/ft2_4FGL_J1315.9-0732_daily_bin1489.fits
Exposure map: /scratch/kocevski/430666/expmap_625276801_625536001_4FGL_J1315.9-0732_daily_bin1489.fits
Exposure cube: /scratch/kocevski/430666/ltcube_625276801_625536001_4FGL_J1315.9-0732_daily_bin1489.fits
IRFs: P8R3_SOURCE_V2
Source model file: /scratch/kocevski/430666/Model_4FGL_J1315.9-0732_daily_bin1489.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) = 6106.20214403

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

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

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'Prefactor '    13.981       1.0000         .10000E-03   10000.    
     2 'Prefactor '    .10851E-03   1.0000         .10000E-03   10000.    
     3 'Prefactor '    .60280       1.0000         .10000E-03   10000.    
     4 'Prefactor '    4.1085       1.0000         .10000E-03   10000.    
     5 'norm      '    .10175E-03   1.0000         .10000E-03   10000.    
     6 'norm      '    .90974       1.0000         .10000E-03   10000.    
     7 'norm      '    7.5454       1.0000         .10000E-03   10000.    
     8 'Prefactor '    24.723       1.0000         .10000E-03   10000.    
     9 'norm      '    22.160       1.0000         .10000E-03   10000.    
    10 'norm      '    .98792       1.0000         .10000E-03   10000.    
    11 'Prefactor '    .10004E-03   1.0000         .10000E-03   10000.    
    12 'Prefactor '    .10770E-03   1.0000         .10000E-03   10000.    
    13 'Prefactor '    7.4187       1.0000         .10000E-03   10000.    
    14 'Prefactor '    22.448       1.0000         .10000E-03   10000.    
    15 'norm      '    2.6118       1.0000         .10000E-03   10000.    
    16 'norm      '    .10050E-03   1.0000         .10000E-03   10000.    
    17 'norm      '    .64570E-01   1.0000         .10000E-03   10000.    
    18 'norm      '    .10416E-03   1.0000         .10000E-03   10000.    
    19 'Prefactor '    .10000E-03   1.0000         .10000E-03   10000.    
    20 'Prefactor '    .10000E-03   1.0000         .10000E-03   10000.    
    21 'Prefactor '    .21751E-03   1.0000         .10000E-03   10000.    
    22 'norm      '    19.678       1.0000         .10000E-03   10000.    
    23 'Normalizat'    1.5813       1.0000         .10000E-01   10.000    
    24 'Prefactor '    1.1313       1.0000          .0000       10.000    
 **********
 **   15 **SET ERR    .5000    
 **********
 **********
 **   16 **SET GRAD    1.000    
 **********
 **********
 **   17 **MINIMIZE    .5870E+05   .2000E-04
 **********

 MIGRAD MINIMIZATION HAS CONVERGED.

 FCN=   6106.196     FROM MIGRAD    STATUS=CONVERGED    127 CALLS     2315 TOTAL
                     EDM=   .57E-09  STRATEGY=1  ERROR MATRIX UNCERTAINTY=  5.0%

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor     13.978        1.6486        .12309E-06   -.18152E-02
   2  Prefactor     .10004E-03    21.116       -.16650E-05** at limit **
   3  Prefactor     .10067E-03    1829.6        .11805E-03** at limit **
   4  Prefactor     4.1189        1.5316       -.53142E-06    .58213E-03
   5  norm          .10000E-03    10.160        .27994E-05** at limit **
   6  norm          .90974        .30907        .14390E-06    .10373E-03
   7  norm          7.5458        2.4372        .98868E-07   -.24222E-02
   8  Prefactor     24.747        1.8750       -.57516E-06    .10878E-02
   9  norm          22.155        1.8316        .60836E-06    .17512E-02
  10  norm          .98886        15.271       -.51128E-05   -.12093E-05
  11  Prefactor     .10000E-03    11.259       -.47060E-05** at limit **
  12  Prefactor     .10004E-03    21.210       -.94893E-06** at limit **
  13  Prefactor     7.4128        4.7707       -.95071E-06   -.41891E-02
  14  Prefactor     22.402        15.363        .30442E-05    .46522E-02
  15  norm          2.6115        1.8990        .13998E-07   -.71876E-05
  16  norm          .10000E-03    1.9661        .71291E-06** at limit **
  17  norm          .13691        88.983        .43314E-04   -.11144E-02
  18  norm          .10003E-03    46.709        .13819E-04** at limit **
  19  Prefactor     .10000E-03    4.1106       -.56745E-06** at limit **
  20  Prefactor     .10000E-03    13.165        .30791E-06** at limit **
  21  Prefactor     .12598E-03    61.391       -.14615E-04** at limit **
  22  norm          19.670        1.2346       -.13930E-06   -.11674E-03
  23  Normalizat    1.5821        .32358        .98592E-05   -.39684E-04
  24  Prefactor     1.1308        .20693       -.11600E-04   -.30005E-04
                               ERR DEF=  .500    
Final values: 
  Prefactor  = 13.9782
  Prefactor  = 0.000100041
  Prefactor  = 0.000100666
  Prefactor  = 4.11885
  norm       = 0.0001
  norm       = 0.909738
  norm       = 7.54576
  Prefactor  = 24.7474
  norm       = 22.155
  norm       = 0.988863
  Prefactor  = 0.0001
  Prefactor  = 0.000100042
  Prefactor  = 7.41278
  Prefactor  = 22.4025
  norm       = 2.61146
  norm       = 0.0001
  norm       = 0.136906
  norm       = 0.000100028
  Prefactor  = 0.0001
  Prefactor  = 0.0001
  Prefactor  = 0.00012598
  norm       = 19.6705
  Normalizat = 1.58206
  Prefactor  = 1.13083
 **********
 **   18 **HESSE 
 **********

 FCN=   6106.196     FROM HESSE     STATUS=OK           461 CALLS     2776 TOTAL
                     EDM=   .37E-05    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  Prefactor     13.978        17.639        .26780E-02   -1.4960    
   2  Prefactor     .10004E-03    23.283        .90712E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   3  Prefactor     .10067E-03    40.158        .15896       -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   4  Prefactor     4.1189        51.540        .49721E-02   -1.5302    
   5  norm          .10000E-03    10.164        .90712E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   6  norm          .90974        .31645        .54621E-02   -1.5517    
   7  norm          7.5458        9.6452        .36499E-02   -1.5159    
   8  Prefactor     24.747        49.680        .20141E-02   -1.4713    
   9  norm          22.155        13.275        .21272E-02   -1.4766    
  10  norm          .98886        15.074        .13123E-01   -1.5509    
  11  Prefactor     .10000E-03    11.126        .90712E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  12  Prefactor     .10004E-03    24.139        .90712E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  13  Prefactor     7.4128        9.8543        .36812E-02   -1.5163    
  14  Prefactor     22.402        17.868        .21135E-02   -1.4761    
  15  norm          2.6115        1.9100        .63100E-02   -1.5385    
  16  norm          .10000E-03    1.9562        .90712E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  17  norm          .13691        5.0377        .93409E-01   -1.5634    
  18  norm          .10003E-03    46.757        .90712E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  19  Prefactor     .10000E-03    4.0865        .90712E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  20  Prefactor     .10000E-03    13.165        .90712E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  21  Prefactor     .12598E-03    145.06        .90712E-02   -1.5709    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  22  norm          19.670        12.211        .22573E-02   -1.4821    
  23  Normalizat    1.5821        .27959        .75422E-01   -.75498    
  24  Prefactor     1.1308        .17563        .55783E-01   -.88487    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 3.68418e-06
Minuit parameter uncertainties:
  1  17.6455
  2  0.00195707
  3  0.0103497
  4  29.1709
  5  1.0511e-05
  6  0.316449
  7  9.64722
  8  49.7636
  9  13.2763
  10  7.72367
  11  4.16756e-06
  12  0.00200806
  13  9.85649
  14  17.8718
  15  1.91004
  16  2.35358e-07
  17  1.6605
  18  0.00228554
  19  3.65556e-07
  20  3.82347e-05
  21  0.123077
  22  12.2122
  23  0.279863
  24  0.175721
Done.

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

Extracting fit parameters...

4FGL J1315.9-0732
   Spectrum: LogParabola
307         norm:  9.889e-01  7.724e+00  1.000e-04  1.000e+04 ( 1.000e-13)
308        alpha:  1.753e+00  0.000e+00  0.000e+00  5.000e+00 ( 1.000e+00) fixed
309         beta:  1.376e-01  0.000e+00  0.000e+00  1.000e+01 ( 1.000e+00) fixed
310           Eb:  2.056e+03  0.000e+00  3.000e+01  5.000e+05 ( 1.000e+00) fixed

GAL_V02
   Spectrum: PowerLaw
584    Prefactor:  1.131e+00  1.757e-01  0.000e+00  1.000e+01 ( 1.000e+00)
585        Index:  0.000e+00  0.000e+00 -1.000e+00  1.000e+00 ( 1.000e+00) fixed
586        Scale:  1.000e+02  0.000e+00  5.000e+01  2.000e+02 ( 1.000e+00) fixed

EG_v02
   Spectrum: FileFunction
583   Normalization:  1.582e+00  2.799e-01  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Fixed Index): 0.02
Ra Dec: 198.987 -7.546
Photon Flux Upper Limit: 4.81e-08 ph cm-2 s-1
Energy Flux Upper Limit: 6.50e-05 MeV cm-2 s-1

Saving results to:
/scratch/kocevski/430666/likelihoodResults_625276801_625536001_4FGL_J1315.9-0732_daily_bin1489.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) = 6106.11165547
delta logL = 0.0844177857343

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

MINUIT Return Code (Free Index): 0
logL (Free Index) = 6106.06382237
delta logL = 0.132250892332

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'norm      '    2.8494       1.0000         .10000E-03   10000.    
     2 'alpha     '    .95011       1.0000          .0000       5.0000    
     3 'Normalizat'    1.5847       1.0000         .10000E-01   10.000    
     4 'Prefactor '    1.1277       1.0000          .0000       10.000    
 **********
 **   15 **SET ERR    .5000    
 **********
 **********
 **   16 **SET GRAD    1.000    
 **********
 **********
 **   17 **MINIMIZE    .5870E+05   .2000E-04
 **********

 MIGRAD MINIMIZATION HAS CONVERGED.

 MIGRAD WILL VERIFY CONVERGENCE AND ERROR MATRIX.
 MACHINE ACCURACY LIMITS FURTHER IMPROVEMENT.

 MIGRAD MINIMIZATION HAS CONVERGED.

 FCN=   6106.064     FROM MIGRAD    STATUS=CONVERGED     64 CALLS      229 TOTAL
                     EDM=   .30E-07    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  norm          2.8520        7.0650         .0000        .56542E-02
   2  alpha         .95037        1.1133         .0000       -.25795E-04
   3  Normalizat    1.5843        .26743         .0000        .25357E-03
   4  Prefactor     1.1279        .17217         .0000        .11250E-03
                               ERR DEF=  .500    
Final values: 
  norm       = 2.85199
  alpha      = 0.950374
  Normalizat = 1.58429
  Prefactor  = 1.1279
 **********
 **   18 **HESSE 
 **********

 FCN=   6106.064     FROM HESSE     STATUS=OK            29 CALLS      258 TOTAL
                     EDM=   .49E-09    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  norm          2.8520        7.0175        .12043E-02   -1.5370    
   2  alpha         .95037        1.1114        .42212E-02   -.66855    
   3  Normalizat    1.5843        .31588        .33351E-03   -.75437    
   4  Prefactor     1.1279        .20350        .24688E-03   -.88580    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 4.94259e-10
Minuit parameter uncertainties:
  1  7.01948
  2  1.18159
  3  0.316273
  4  0.203644
shell-init: error retrieving current directory: getcwd: cannot access parent directories: No such file or directory
rmdir: failed to remove `/scratch/kocevski/430666': 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) = 6106.0638215
delta logL = 0.13225175662

Extracting fit parameters...

4FGL J1315.9-0732
   Spectrum: LogParabola
307         norm:  2.852e+00  7.019e+00  1.000e-04  1.000e+04 ( 1.000e-13)
308        alpha:  9.504e-01  1.182e+00  0.000e+00  5.000e+00 ( 1.000e+00)
309         beta:  1.376e-01  0.000e+00  0.000e+00  1.000e+01 ( 1.000e+00) fixed
310           Eb:  2.056e+03  0.000e+00  3.000e+01  5.000e+05 ( 1.000e+00) fixed

GAL_V02
   Spectrum: PowerLaw
584    Prefactor:  1.128e+00  2.036e-01  0.000e+00  1.000e+01 ( 1.000e+00)
585        Index:  0.000e+00  0.000e+00 -1.000e+00  1.000e+00 ( 1.000e+00) fixed
586        Scale:  1.000e+02  0.000e+00  5.000e+01  2.000e+02 ( 1.000e+00) fixed

EG_v02
   Spectrum: FileFunction
583   Normalization:  1.584e+00  3.163e-01  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Free Index): 0.02
Ra Dec: 198.987 -7.546

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/430666/cmap_HighResolution_625276801_625536001_4FGL_J1315.9-0732_daily_bin1489.png

Cleaning up...

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

Updating database...

UPDATE lightcurve_data_v2 SET energy_flux_upper_limit='6.50e-05', job_status='DONE', photon_flux_upper_limit='4.81e-08', time_completed='2021-09-07 09:31:16.186881', job_id='430666', GAL2='1.13', fit_tolerance='1e-08', EG2='1.58', EG='1.58', time_epoch_completed='1631032276.19', return_code2='0', ts='0.02', comment='SUCCESS', return_code='0', GAL='1.13', dlogl='1.32e-01', ts2='0.28', photon_index_error='0.00', photon_index='1.75' WHERE bin_id='1489' AND source_name='4FGL J1315.9-0732' AND cadence='daily';

Database successfully updated.


Analysis Complete.


Tue Sep  7 09:31:16 PDT 2021


------------------------------------------------------------
Sender: LSF System <lsf@bullet0189>
Subject: Job 430666: <4FGL_J1315.9-0732_daily_bin1489> in cluster <slac> Done

Job <4FGL_J1315.9-0732_daily_bin1489> was submitted from host <rhel6-64f> by user <kocevski> in cluster <slac> at Tue Sep  7 09:20:37 2021
Job was executed on host(s) <bullet0189>, in queue <medium>, as user <kocevski> in cluster <slac> at Tue Sep  7 09:21:57 2021
</u/ki/kocevski> was used as the home directory.
</u/ki/kocevski> was used as the working directory.
Started at Tue Sep  7 09:21:57 2021
Terminated at Tue Sep  7 09:31:16 2021
Results reported at Tue Sep  7 09:31:16 2021

Your job looked like:

------------------------------------------------------------
# LSBATCH: User input
/nfs/farm/g/glast/g/LCRepository/Likelihood/Scripts/LikelihoodAnalysis.py 4FGL_J1315.9-0732_daily_bin1489 198.987 -7.546 625276801 625536001 irfs=P8R3_SOURCE_V2 zmax=90 ROI=12 association=4FGL_J1315.9-0732 fixedModel=True performFreeIndexFit=True freeVariableSources=True nuke=True repositoryJob=True verbose=False
------------------------------------------------------------

Successfully completed.

Resource usage summary:

    CPU time :                                   540.00 sec.
    Max Memory :                                 1094 MB
    Average Memory :                             337.74 MB
    Total Requested Memory :                     -
    Delta Memory :                               -
    Max Swap :                                   -
    Max Processes :                              5
    Max Threads :                                21
    Run time :                                   561 sec.
    Turnaround time :                            639 sec.

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

