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


Performing analysis on: 4FGL_J1315.9-0732_daily_bin1425
RA = 198.987, Dec = -7.546
tmin = 608688001, tmax = 608947201
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='430574', job_status='RUN', time_executed='2021-09-07 09:24:26.296727', time_epoch_executed='1631031866.3' WHERE source_name='4FGL J1315.9-0732' and cadence='daily' and bin_id='1425'

Database successfully updated.
Done.

Creating custom output directory:
/scratch/kocevski/430574

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

Retrieving the FT1 file...

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

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

Retrieving 47 files...
Done.


Merging files...

Checksum keywords updated successfully.

Merged file saved to:
/scratch/kocevski/430574/ft1_4FGL_J1315.9-0732_daily_bin1425.fits


Retrieving the FT1 file...

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

Retrieving 47 files...
Done.


Merging files...

Merged file saved to:
/scratch/kocevski/430574/ft2_4FGL_J1315.9-0732_daily_bin1425.fits


Selecting the photons:
time -p gtselect infile=/scratch/kocevski/430574/ft1_4FGL_J1315.9-0732_daily_bin1425.fits outfile=/scratch/kocevski/430574/ft1_filteredMKT_4FGL_J1315.9-0732_daily_bin1425.fits ra=198.987 dec=-7.546 rad=12.0 tmin=608688001.0 tmax=608947201.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.08
user 2.81
sys 0.20

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

Selecting the good time intervals:
time -p gtmktime scfile=/scratch/kocevski/430574/ft2_4FGL_J1315.9-0732_daily_bin1425.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/430574/ft1_filteredMKT_4FGL_J1315.9-0732_daily_bin1425.fits evtable="EVENTS" outfile="/scratch/kocevski/430574/ft1_filtered_4FGL_J1315.9-0732_daily_bin1425.fits" apply_filter=yes overwrite=yes header_obstimes=yes tstart=0.0 tstop=0.0 gtifile="default" chatter=3 clobber=yes debug=no gui=no mode="ql"

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

This is gtmktime version HEAD
Applying GTI filter:
IN_SAA!=T && LIVETIME>0 && gtifilter('/nfs/farm/g/glast/g/LCRepository/Likelihood/GTIs/nogrb.gti',(START+STOP)/2) && (angsep(RA_SUN,DEC_SUN,RA_ZENITH,DEC_ZENITH)>115 || gtifilter('/nfs/farm/g/glast/g/LCRepository/Likelihood/GTIs/nosolarflares.gti',(START+STOP)/2))
real 0.54
user 0.35
sys 0.15

Generating the livetime cube:
time -p gtltcube evfile="/scratch/kocevski/430574/ft1_filtered_4FGL_J1315.9-0732_daily_bin1425.fits" evtable="EVENTS" scfile=/scratch/kocevski/430574/ft2_4FGL_J1315.9-0732_daily_bin1425.fits sctable="SC_DATA" outfile=/scratch/kocevski/430574/ltcube_608688001_608947201_4FGL_J1315.9-0732_daily_bin1425.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/430574/ft2_4FGL_J1315.9-0732_daily_bin1425.fits
.....................!
real 16.79
user 16.27
sys 0.31

Generating the exposure map:
time -p gtexpmap evfile=/scratch/kocevski/430574/ft1_filtered_4FGL_J1315.9-0732_daily_bin1425.fits evtable="EVENTS" scfile=/scratch/kocevski/430574/ft2_4FGL_J1315.9-0732_daily_bin1425.fits sctable="SC_DATA" expcube=/scratch/kocevski/430574/ltcube_608688001_608947201_4FGL_J1315.9-0732_daily_bin1425.fits outfile=/scratch/kocevski/430574/expmap_608688001_608947201_4FGL_J1315.9-0732_daily_bin1425.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/430574/ltcube_608688001_608947201_4FGL_J1315.9-0732_daily_bin1425.fits
.....................!
real 193.68
user 187.11
sys 4.24

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/430574/ft1_filtered_4FGL_J1315.9-0732_daily_bin1425.fits scfile=/scratch/kocevski/430574/ft2_4FGL_J1315.9-0732_daily_bin1425.fits outfile=/scratch/kocevski/430574/cmap_608688001_608947201_4FGL_J1315.9-0732_daily_bin1425.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.62
user 0.40
sys 0.15

Creating the high resolution counts map:
time -p gtbin evfile=/scratch/kocevski/430574/ft1_filtered_4FGL_J1315.9-0732_daily_bin1425.fits scfile=/scratch/kocevski/430574/ft2_4FGL_J1315.9-0732_daily_bin1425.fits outfile=/scratch/kocevski/430574/cmap_HighResolution_608688001_608947201_4FGL_J1315.9-0732_daily_bin1425.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.59
user 0.41
sys 0.15

Computing the diffuse response:
time -p gtdiffrsp evfile=/scratch/kocevski/430574/ft1_filtered_4FGL_J1315.9-0732_daily_bin1425.fits evtable="EVENTS" scfile=/scratch/kocevski/430574/ft2_4FGL_J1315.9-0732_daily_bin1425.fits sctable="SC_DATA" srcmdl=/scratch/kocevski/430574/Model_4FGL_J1315.9-0732_daily_bin1425.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/430574/ft1_filtered_4FGL_J1315.9-0732_daily_bin1425.fits.......................!
real 20.22
user 18.17
sys 1.38

Creating the likelihood object...
obs = UnbinnedObs('/scratch/kocevski/430574/ft1_filtered_4FGL_J1315.9-0732_daily_bin1425.fits', '/scratch/kocevski/430574/ft2_4FGL_J1315.9-0732_daily_bin1425.fits', expMap='/scratch/kocevski/430574/expmap_608688001_608947201_4FGL_J1315.9-0732_daily_bin1425.fits', expCube='/scratch/kocevski/430574/ltcube_608688001_608947201_4FGL_J1315.9-0732_daily_bin1425.fits', irfs='P8R3_SOURCE_V2')
like = UnbinnedAnalysis(obs, '/scratch/kocevski/430574/Model_4FGL_J1315.9-0732_daily_bin1425.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/430574/ft1_filtered_4FGL_J1315.9-0732_daily_bin1425.fits
Spacecraft file(s): /scratch/kocevski/430574/ft2_4FGL_J1315.9-0732_daily_bin1425.fits
Exposure map: /scratch/kocevski/430574/expmap_608688001_608947201_4FGL_J1315.9-0732_daily_bin1425.fits
Exposure cube: /scratch/kocevski/430574/ltcube_608688001_608947201_4FGL_J1315.9-0732_daily_bin1425.fits
IRFs: P8R3_SOURCE_V2
Source model file: /scratch/kocevski/430574/Model_4FGL_J1315.9-0732_daily_bin1425.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) = 865.024103574

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

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

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'Prefactor '    9.2837       1.0000         .10000E-03   10000.    
     2 'Prefactor '    10.094       1.0000         .10000E-03   10000.    
     3 'Prefactor '    70.698       1.0000         .10000E-03   10000.    
     4 'Prefactor '    84.608       1.0000         .10000E-03   10000.    
     5 'norm      '    .35980       1.0000         .10000E-03   10000.    
     6 'norm      '    4.1283       1.0000         .10000E-03   10000.    
     7 'norm      '    677.35       1.0000         .10000E-03   10000.    
     8 'Prefactor '    .48184       1.0000         .10000E-03   10000.    
     9 'norm      '    .30591E-03   1.0000         .10000E-03   10000.    
    10 'norm      '    .12410E-03   1.0000         .10000E-03   10000.    
    11 'Prefactor '    .19597E-01   1.0000         .10000E-03   10000.    
    12 'Prefactor '    .24364E-03   1.0000         .10000E-03   10000.    
    13 'Prefactor '    20.279       1.0000         .10000E-03   10000.    
    14 'Prefactor '    .12138E-03   1.0000         .10000E-03   10000.    
    15 'norm      '    3.6553       1.0000         .10000E-03   10000.    
    16 'norm      '    .24667E-01   1.0000         .10000E-03   10000.    
    17 'norm      '    .45705E-01   1.0000         .10000E-03   10000.    
    18 'norm      '    153.09       1.0000         .10000E-03   10000.    
    19 'Prefactor '    .38864       1.0000         .10000E-03   10000.    
    20 'Prefactor '    .56729       1.0000         .10000E-03   10000.    
    21 'Prefactor '    3.7417       1.0000         .10000E-03   10000.    
    22 'norm      '    .37371E-01   1.0000         .10000E-03   10000.    
    23 'Normalizat'    .82096       1.0000         .10000E-01   10.000    
    24 'Prefactor '    .58452       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.
  MNHESS FAILS AND WILL RETURN DIAGONAL MATRIX. 

 FCN=   862.8364     FROM MIGRAD    STATUS=CONVERGED    275 CALLS      799 TOTAL
                     EDM=   .82E-09  STRATEGY=1  ERROR MATRIX UNCERTAINTY=100.0%

  EXT PARAMETER                APPROXIMATE        STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor     3.3284        330.51        .32883E-02    .17571E-02
   2  Prefactor     10.058        19.843        .31531E-02    .11914E-01
   3  Prefactor     69.834        82.011        .11936E-02   -.53859E-02
   4  Prefactor     82.139        167.53        .10918E-02    .35750E-02
   5  norm          .10000E-03    103.22        .10684E-01** at limit **
   6  norm          4.1336        1.2150        .38812E-02   -.25445    
   7  norm          678.50        1049.6        .39795E-03   -.52164E-01
   8  Prefactor     .10000E-03    110.90        .11196E-01** at limit **
   9  norm          .10000E-03    19.940        .10691E-01** at limit **
  10  norm          .10000E-03    33.728        .90712E-02** at limit **
  11  Prefactor     .10000E-03    173.09        .91206E-02** at limit **
  12  Prefactor     .10000E-03    19.241        .90712E-02** at limit **
  13  Prefactor     18.666        301.02        .22236E-02   -.77109E-03
  14  Prefactor     .16190E-03    1049.0        .90712E-02** at limit **
  15  norm          3.6315        7.0289        .52821E-02    .12447    
  16  norm          .10001E-03    226.52        .91457E-02** at limit **
  17  norm          .16620E-02    964.97        .92491E-02** at limit **
  18  norm          150.82        143.55        .81448E-03   -.16837E-01
  19  Prefactor     .10195E-03    639.41        .10807E-01** at limit **
  20  Prefactor     .10000E-03    176.90        .11543E-01** at limit **
  21  Prefactor     3.7417        1.0092         .0000         .0000    
  22  norm          .10523E-03    .21198       -.42149E-03** at limit **
  23  Normalizat    .81313        1.1541       -.66878E-04    .23409E-04
  24  Prefactor     .59740        .94130        .50899E-04    .18145E-04
                               ERR DEF=  .500    
Final values: 
  Prefactor  = 3.32838
  Prefactor  = 10.0576
  Prefactor  = 69.8344
  Prefactor  = 82.1394
  norm       = 0.0001
  norm       = 4.13363
  norm       = 678.5
  Prefactor  = 0.0001
  norm       = 0.0001
  norm       = 0.0001
  Prefactor  = 0.000100001
  Prefactor  = 0.0001
  Prefactor  = 18.666
  Prefactor  = 0.000161898
  norm       = 3.63148
  norm       = 0.000100014
  norm       = 0.001662
  norm       = 150.815
  Prefactor  = 0.000101952
  Prefactor  = 0.0001
  Prefactor  = 3.74169
  norm       = 0.000105227
  Normalizat = 0.813133
  Prefactor  = 0.597404
 **********
 **   18 **HESSE 
 **********
  MNHESS FAILS AND WILL RETURN DIAGONAL MATRIX. 

 FCN=   862.8364     FROM HESSE     STATUS=FAILED        49 CALLS      848 TOTAL
                     EDM=   .82E-09  STRATEGY=1  ERROR MATRIX UNCERTAINTY=100.0%

  EXT PARAMETER                APPROXIMATE     INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  Prefactor     3.3284        330.51        .32883E-02   -1.5343    
   2  Prefactor     10.058        19.843        .31531E-02   -1.5074    
   3  Prefactor     69.834        82.011        .11936E-02   -1.4035    
   4  Prefactor     82.139        167.53        .10918E-02   -1.3893    
   5  norm          .10000E-03    103.22        .10684E-01   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   6  norm          4.1336        1.2150        .38812E-02   -1.5301    
   7  norm          678.50        1049.6        .39795E-03   -1.0438    
   8  Prefactor     .10000E-03    110.90        .11196E-01   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   9  norm          .10000E-03    19.940        .10691E-01   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  10  norm          .10000E-03    33.728        .90712E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  11  Prefactor     .10000E-03    173.09        .91206E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  12  Prefactor     .10000E-03    19.241        .90712E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  13  Prefactor     18.666        301.02        .22236E-02   -1.4844    
  14  Prefactor     .16190E-03    1049.0        .90712E-02   -1.5710    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  15  norm          3.6315        7.0289        .52821E-02   -1.5327    
  16  norm          .10001E-03    226.52        .91457E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  17  norm          .16620E-02    964.97        .92491E-02   -1.5716    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  18  norm          150.82        143.55        .81448E-03   -1.3246    
  19  Prefactor     .10195E-03    639.41        .10807E-01   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  20  Prefactor     .10000E-03    176.90        .11543E-01   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  21  Prefactor     545.13        541.32         .0000       -1.5321    
  22  norm          .10523E-03    .21198       -.42149E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  23  Normalizat    .81313        1.1541       -.66878E-04   -.99583    
  24  Prefactor     .59740        .94130        .50899E-04   -1.0770    
                               ERR DEF=  .500    
Minuit fit quality: 1   estimated distance: 8.16698e-10
Minuit parameter uncertainties:
  1  66.716
  2  19.8558
  3  82.1446
  4  168.503
  5  0.000183838
  6  1.21502
  7  1082.7
  8  0.000166608
  9  4.63235e-06
  10  4.05099e-05
  11  0.000767495
  12  2.45557e-05
  13  150.824
  14  0.518988
  15  7.03053
  16  0.0035135
  17  2.49674
  18  143.884
  19  0.0714391
  20  0.000548717
  21  1.00922
  22  0.00210526
  23  1.192
  24  0.967988
Done.

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

Extracting fit parameters...

4FGL J1315.9-0732
   Spectrum: LogParabola
307         norm:  1.000e-04  4.051e-05  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:  5.974e-01  9.680e-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:  8.131e-01  1.192e+00  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Fixed Index): -0.00
Ra Dec: 198.987 -7.546
Photon Flux Upper Limit: 2.88e-07 ph cm-2 s-1
Energy Flux Upper Limit: 3.89e-04 MeV cm-2 s-1

Saving results to:
/scratch/kocevski/430574/likelihoodResults_608688001_608947201_4FGL_J1315.9-0732_daily_bin1425.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) = 862.836544988
delta logL = -0.000126313465444

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

MINUIT Return Code (Free Index): 0
logL (Free Index) = 862.657152793
delta logL = 0.17926588187

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'norm      '    .15519       1.0000         .10000E-03   10000.    
     2 'alpha     '    5.0000       1.0000          .0000       5.0000    
     3 'Normalizat'    .64379       1.0000         .10000E-01   10.000    
     4 'Prefactor '    .67252       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.

 FCN=   862.6572     FROM MIGRAD    STATUS=CONVERGED     52 CALLS      262 TOTAL
                     EDM=   .61E-09    STRATEGY= 1      ERR MATRIX NOT POS-DEF

  EXT PARAMETER                APPROXIMATE        STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  norm          .15510        24.916        .44093E-02    .23740E-03
   2  alpha         5.0000        4.2386        .46395    ** at limit **
   3  Normalizat    .64350        .67012        .90241E-01   -.57320E-06
   4  Prefactor     .67269        .36246        .61972E-01   -.33872E-05
                               ERR DEF=  .500    
Final values: 
  norm       = 0.155103
  alpha      = 5
  Normalizat = 0.643504
  Prefactor  = 0.672695
 **********
 **   18 **HESSE 
 **********

 FCN=   862.6572     FROM HESSE     STATUS=OK            31 CALLS      293 TOTAL
                     EDM=   .58E-12    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  norm          .15510        .28975        .19910E-04   -1.5629    
   2  alpha         5.0000        3.5956        .34368E-01    1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   3  Normalizat    .64350        .75485        .39994E-03   -1.0617    
   4  Prefactor     .67269        .51891        .27415E-03   -1.0461    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 5.78074e-13
Minuit parameter uncertainties:
  1  0.289757
  2  4.38004e-07
  3  0.767496
  4  0.52269
shell-init: error retrieving current directory: getcwd: cannot access parent directories: No such file or directory
rmdir: failed to remove `/scratch/kocevski/430574': 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) = 862.657152503
delta logL = 0.179266171672

Extracting fit parameters...

4FGL J1315.9-0732
   Spectrum: LogParabola
307         norm:  1.551e-01  2.898e-01  1.000e-04  1.000e+04 ( 1.000e-13)
308        alpha:  5.000e+00  4.380e-07  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:  6.727e-01  5.227e-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:  6.435e-01  7.675e-01  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Free Index): -0.00
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/430574/cmap_HighResolution_608688001_608947201_4FGL_J1315.9-0732_daily_bin1425.png

Cleaning up...

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

Updating database...

UPDATE lightcurve_data_v2 SET energy_flux_upper_limit='3.89e-04', job_status='DONE', photon_flux_upper_limit='2.88e-07', time_completed='2021-09-07 09:30:15.852643', job_id='430574', GAL2='0.67', fit_tolerance='1e-08', EG2='0.64', EG='0.81', time_epoch_completed='1631032215.85', return_code2='0', ts='-0.00', comment='SUCCESS', return_code='101', GAL='0.60', dlogl='1.79e-01', ts2='0.43', photon_index_error='0.00', photon_index='1.75' WHERE bin_id='1425' AND source_name='4FGL J1315.9-0732' AND cadence='daily';

Database successfully updated.


Analysis Complete.


Tue Sep  7 09:30:15 PDT 2021


------------------------------------------------------------
Sender: LSF System <lsf@bullet0166>
Subject: Job 430574: <4FGL_J1315.9-0732_daily_bin1425> in cluster <slac> Done

Job <4FGL_J1315.9-0732_daily_bin1425> was submitted from host <rhel6-64f> by user <kocevski> in cluster <slac> at Tue Sep  7 09:20:31 2021
Job was executed on host(s) <bullet0166>, in queue <medium>, as user <kocevski> in cluster <slac> at Tue Sep  7 09:21:07 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:07 2021
Terminated at Tue Sep  7 09:30:16 2021
Results reported at Tue Sep  7 09:30:16 2021

Your job looked like:

------------------------------------------------------------
# LSBATCH: User input
/nfs/farm/g/glast/g/LCRepository/Likelihood/Scripts/LikelihoodAnalysis.py 4FGL_J1315.9-0732_daily_bin1425 198.987 -7.546 608688001 608947201 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 :                                   342.37 sec.
    Max Memory :                                 1257 MB
    Average Memory :                             250.58 MB
    Total Requested Memory :                     -
    Delta Memory :                               -
    Max Swap :                                   -
    Max Processes :                              5
    Max Threads :                                21
    Run time :                                   549 sec.
    Turnaround time :                            585 sec.

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

