/nfs/farm/g/glast/g/LCRepository/bin/miniconda2/envs/fermitools_v1.0.5/lib/python2.7/site-packages/matplotlib/font_manager.py:281: UserWarning: Matplotlib is building the font cache using fc-list. This may take a moment.
  'Matplotlib is building the font cache using fc-list. '
/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 15 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 = 7396
number of fields = 30
RA_SUN column already exists. File will not be modified.
Done.


Performing analysis on: 4FGL_J1315.9-0732_daily_bin1140
RA = 198.987, Dec = -7.546
tmin = 534816001, tmax = 535075201
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='428236', job_status='RUN', time_executed='2021-09-07 09:16:06.763683', time_epoch_executed='1631031366.76' WHERE source_name='4FGL J1315.9-0732' and cadence='daily' and bin_id='1140'

Database successfully updated.
Done.

Creating custom output directory:
/scratch/kocevski/428236

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

Retrieving the FT1 file...

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

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

Retrieving 46 files...
Done.


Merging files...

Checksum keywords updated successfully.

Merged file saved to:
/scratch/kocevski/428236/ft1_4FGL_J1315.9-0732_daily_bin1140.fits


Retrieving the FT1 file...

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

Retrieving 46 files...
Done.


Merging files...

Merged file saved to:
/scratch/kocevski/428236/ft2_4FGL_J1315.9-0732_daily_bin1140.fits


Selecting the photons:
time -p gtselect infile=/scratch/kocevski/428236/ft1_4FGL_J1315.9-0732_daily_bin1140.fits outfile=/scratch/kocevski/428236/ft1_filteredMKT_4FGL_J1315.9-0732_daily_bin1140.fits ra=198.987 dec=-7.546 rad=12.0 tmin=534816001.0 tmax=535075201.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.67
user 3.39
sys 0.21

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

Selecting the good time intervals:
time -p gtmktime scfile=/scratch/kocevski/428236/ft2_4FGL_J1315.9-0732_daily_bin1140.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/428236/ft1_filteredMKT_4FGL_J1315.9-0732_daily_bin1140.fits evtable="EVENTS" outfile="/scratch/kocevski/428236/ft1_filtered_4FGL_J1315.9-0732_daily_bin1140.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.53
user 0.36
sys 0.14

Generating the livetime cube:
time -p gtltcube evfile="/scratch/kocevski/428236/ft1_filtered_4FGL_J1315.9-0732_daily_bin1140.fits" evtable="EVENTS" scfile=/scratch/kocevski/428236/ft2_4FGL_J1315.9-0732_daily_bin1140.fits sctable="SC_DATA" outfile=/scratch/kocevski/428236/ltcube_534816001_535075201_4FGL_J1315.9-0732_daily_bin1140.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/428236/ft2_4FGL_J1315.9-0732_daily_bin1140.fits
.....................!
real 14.72
user 13.87
sys 0.37

Generating the exposure map:
time -p gtexpmap evfile=/scratch/kocevski/428236/ft1_filtered_4FGL_J1315.9-0732_daily_bin1140.fits evtable="EVENTS" scfile=/scratch/kocevski/428236/ft2_4FGL_J1315.9-0732_daily_bin1140.fits sctable="SC_DATA" expcube=/scratch/kocevski/428236/ltcube_534816001_535075201_4FGL_J1315.9-0732_daily_bin1140.fits outfile=/scratch/kocevski/428236/expmap_534816001_535075201_4FGL_J1315.9-0732_daily_bin1140.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/428236/ltcube_534816001_535075201_4FGL_J1315.9-0732_daily_bin1140.fits
.....................!
real 192.37
user 187.30
sys 4.58

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/428236/ft1_filtered_4FGL_J1315.9-0732_daily_bin1140.fits scfile=/scratch/kocevski/428236/ft2_4FGL_J1315.9-0732_daily_bin1140.fits outfile=/scratch/kocevski/428236/cmap_534816001_535075201_4FGL_J1315.9-0732_daily_bin1140.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.58
user 0.39
sys 0.15

Creating the high resolution counts map:
time -p gtbin evfile=/scratch/kocevski/428236/ft1_filtered_4FGL_J1315.9-0732_daily_bin1140.fits scfile=/scratch/kocevski/428236/ft2_4FGL_J1315.9-0732_daily_bin1140.fits outfile=/scratch/kocevski/428236/cmap_HighResolution_534816001_535075201_4FGL_J1315.9-0732_daily_bin1140.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.55
user 0.41
sys 0.13

Computing the diffuse response:
time -p gtdiffrsp evfile=/scratch/kocevski/428236/ft1_filtered_4FGL_J1315.9-0732_daily_bin1140.fits evtable="EVENTS" scfile=/scratch/kocevski/428236/ft2_4FGL_J1315.9-0732_daily_bin1140.fits sctable="SC_DATA" srcmdl=/scratch/kocevski/428236/Model_4FGL_J1315.9-0732_daily_bin1140.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/428236/ft1_filtered_4FGL_J1315.9-0732_daily_bin1140.fits.....................!
real 56.38
user 54.27
sys 1.22

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

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

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

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'Prefactor '    13.989       1.0000         .10000E-03   10000.    
     2 'Prefactor '    .10038E-03   1.0000         .10000E-03   10000.    
     3 'Prefactor '    .10000E-03   1.0000         .10000E-03   10000.    
     4 'Prefactor '    .10161E-03   1.0000         .10000E-03   10000.    
     5 'norm      '    33.362       1.0000         .10000E-03   10000.    
     6 'norm      '    3.8283       1.0000         .10000E-03   10000.    
     7 'norm      '    .10059E-03   1.0000         .10000E-03   10000.    
     8 'Prefactor '    .26856E-03   1.0000         .10000E-03   10000.    
     9 'norm      '    .10583E-03   1.0000         .10000E-03   10000.    
    10 'norm      '    7.8941       1.0000         .10000E-03   10000.    
    11 'Prefactor '    .10027E-03   1.0000         .10000E-03   10000.    
    12 'Prefactor '    .10036E-03   1.0000         .10000E-03   10000.    
    13 'Prefactor '    8.9090       1.0000         .10000E-03   10000.    
    14 'Prefactor '    .10002E-03   1.0000         .10000E-03   10000.    
    15 'norm      '    .91625       1.0000         .10000E-03   10000.    
    16 'norm      '    .24339E-03   1.0000         .10000E-03   10000.    
    17 'norm      '    19.981       1.0000         .10000E-03   10000.    
    18 'norm      '    .10013E-03   1.0000         .10000E-03   10000.    
    19 'Prefactor '    4.8161       1.0000         .10000E-03   10000.    
    20 'Prefactor '    15.311       1.0000         .10000E-03   10000.    
    21 'Prefactor '    99.948       1.0000         .10000E-03   10000.    
    22 'norm      '    .10011E-03   1.0000         .10000E-03   10000.    
    23 'Normalizat'    1.1401       1.0000         .10000E-01   10.000    
    24 'Prefactor '    1.0770       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.

 MIGRAD MINIMIZATION HAS CONVERGED.

 FCN=   6987.546     FROM MIGRAD    STATUS=CONVERGED    530 CALLS     2675 TOTAL
                     EDM=   .13E-08  STRATEGY=1  ERROR MATRIX UNCERTAINTY=   .3%

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor     13.995        11.561       -.10291E-07   -.26845E-04
   2  Prefactor     .10000E-03    3.0812       -.19200E-06** at limit **
   3  Prefactor     .10000E-03    19.852       -.16185E-04** at limit **
   4  Prefactor     .10000E-03    51.470       -.62966E-05** at limit **
   5  norm          33.380        27.957        .12731E-04    .43448E-04
   6  norm          3.8284        .48064       -.41765E-08    .33251E-02
   7  norm          .10000E-03    6.2832        .14939E-06** at limit **
   8  Prefactor     .10000E-03    172.38       -.78300E-04** at limit **
   9  norm          .10000E-03    8.7577       -.42585E-06** at limit **
  10  norm          7.8942        8.5508       -.42147E-07    .65727E-05
  11  Prefactor     .10000E-03    2.8064        .13161E-07** at limit **
  12  Prefactor     .10000E-03    7.8689       -.88368E-07** at limit **
  13  Prefactor     8.9078        10.458        .58606E-06   -.13830E-03
  14  Prefactor     .10000E-03    26.293       -.57968E-05** at limit **
  15  norm          .91653        1.5533       -.30677E-06   -.12818E-02
  16  norm          .10092E-03    2.4309        .11213E-05** at limit **
  17  norm          19.960        10.306        .14185E-05   -.75488E-03
  18  norm          .10000E-03    17.103        .94300E-05** at limit **
  19  Prefactor     4.8171        5.4003       -.30740E-05   -.39566E-03
  20  Prefactor     15.323        34.346        .17196E-04   -.94269E-05
  21  Prefactor     99.921        63.462       -.23174E-04   -.15263E-04
  22  norm          .10000E-03    1.9428        .14319E-06** at limit **
  23  Normalizat    1.1398        .25711       -.20800E-05    .10146E-03
  24  Prefactor     1.0771        .15690        .99393E-06   -.89904E-04
                               ERR DEF=  .500    
Final values: 
  Prefactor  = 13.995
  Prefactor  = 0.0001
  Prefactor  = 0.0001
  Prefactor  = 0.0001
  norm       = 33.3804
  norm       = 3.8284
  norm       = 0.0001
  Prefactor  = 0.0001
  norm       = 0.0001
  norm       = 7.89425
  Prefactor  = 0.0001
  Prefactor  = 0.0001
  Prefactor  = 8.90776
  Prefactor  = 0.0001
  norm       = 0.916534
  norm       = 0.000100921
  norm       = 19.96
  norm       = 0.0001
  Prefactor  = 4.81707
  Prefactor  = 15.3233
  Prefactor  = 99.9211
  norm       = 0.0001
  Normalizat = 1.13983
  Prefactor  = 1.07714
 **********
 **   18 **HESSE 
 **********

 FCN=   6987.546     FROM HESSE     STATUS=OK           395 CALLS     3070 TOTAL
                     EDM=   .29E-07    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  Prefactor     13.995        11.559        .10709E-03   -1.4960    
   2  Prefactor     .10000E-03    3.0868        .14329E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   3  Prefactor     .10000E-03    19.880        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   4  Prefactor     .10000E-03    51.574        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   5  norm          33.380        27.954        .69375E-04   -1.4552    
   6  norm          3.8284        .48292        .19331E-04   -1.5317    
   7  norm          .10000E-03    6.3404        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   8  Prefactor     .10000E-03    173.16        .21436E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   9  norm          .10000E-03    8.8058        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  10  norm          7.8942        8.5494        .14271E-03   -1.5146    
  11  Prefactor     .10000E-03    2.8094        .13675E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  12  Prefactor     .10000E-03    7.8793        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  13  Prefactor     8.9078        10.453        .13429E-03   -1.5111    
  14  Prefactor     .10000E-03    26.582        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  15  norm          .91653        1.5103        .12702E-03   -1.5516    
  16  norm          .10092E-03    31.478        .22373E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  17  norm          19.960        9.3073        .89604E-04   -1.4814    
  18  norm          .10000E-03    17.107        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  19  Prefactor     4.8171        5.4021        .18332E-03   -1.5269    
  20  Prefactor     15.323        34.343        .10236E-03   -1.4925    
  21  Prefactor     99.921        63.460        .20106E-03   -1.3705    
  22  norm          .10000E-03    1.9451        .11377E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  23  Normalizat    1.1398        .29534        .36132E-03   -.88483    
  24  Prefactor     1.0771        .18090        .23598E-03   -.90200    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 2.86978e-08
Minuit parameter uncertainties:
  1  11.5604
  2  1.43652e-05
  3  2.46805e-05
  4  2.71585e-05
  5  27.9646
  6  0.482924
  7  1.97231e-06
  8  0.000495697
  9  1.7847e-05
  10  8.55072
  11  6.21968e-07
  12  2.83653e-07
  13  10.4552
  14  0.000116845
  15  1.51034
  16  0.0107745
  17  9.308
  18  2.66219e-05
  19  5.40267
  20  34.3869
  21  63.503
  22  1.22718e-05
  23  0.295772
  24  0.181006
Done.

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

Extracting fit parameters...

4FGL J1315.9-0732
   Spectrum: LogParabola
307         norm:  7.894e+00  8.551e+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.077e+00  1.810e-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.140e+00  2.958e-01  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Fixed Index): 2.11
Ra Dec: 198.987 -7.546
Photon Index (Fixed Index): 1.75 +/- 0.00
Photon Flux (Fixed Index): 1.22e-08 +/- 1.32e-08
Energy Flux (Fixed Index): 1.64e-05 +/- 1.78e-05

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

Saving results to:
/scratch/kocevski/428236/likelihoodResults_534816001_535075201_4FGL_J1315.9-0732_daily_bin1140.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) = 6986.06065863
delta logL = 1.48561049883

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

MINUIT Return Code (Free Index): 0
logL (Free Index) = 6985.8790185
delta logL = 1.66725062991

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'norm      '    2.6506       1.0000         .10000E-03   10000.    
     2 'alpha     '    .32539       1.0000          .0000       5.0000    
     3 'Normalizat'    1.1350       1.0000         .10000E-01   10.000    
     4 'Prefactor '    1.0838       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=   6985.879     FROM MIGRAD    STATUS=CONVERGED     53 CALLS      214 TOTAL
                     EDM=   .11E-08    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  norm          2.6352        3.3054        .62599E-02   -.12199E-02
   2  alpha         .32328        .60585        .50000        .77604E-04
   3  Normalizat    1.1351        .24290        .81726E-01    .41473E-04
   4  Prefactor     1.0837        .15562        .38236E-01   -.46329E-04
                               ERR DEF=  .500    
Final values: 
  norm       = 2.63518
  alpha      = 0.323277
  Normalizat = 1.13514
  Prefactor  = 1.08372
 **********
 **   18 **HESSE 
 **********

 FCN=   6985.879     FROM HESSE     STATUS=OK            33 CALLS      247 TOTAL
                     EDM=   .38E-09    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  norm          2.6352        5.4493        .13406E-03   -1.5383    
   2  alpha         .32328        .78860        .33915E-01   -1.0566    
   3  Normalizat    1.1351        .27877        .36182E-03   -.88631    
   4  Prefactor     1.0837        .17897        .23536E-03   -.89989    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 3.79548e-10
Minuit parameter uncertainties:
  1  5.45035
  2  0.856114
  3  0.279131
  4  0.179074
shell-init: error retrieving current directory: getcwd: cannot access parent directories: No such file or directory
rmdir: failed to remove `/scratch/kocevski/428236': 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) = 6985.87901491
delta logL = 1.66725422562

Extracting fit parameters...

4FGL J1315.9-0732
   Spectrum: LogParabola
307         norm:  2.635e+00  5.450e+00  1.000e-04  1.000e+04 ( 1.000e-13)
308        alpha:  3.233e-01  8.561e-01  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.084e+00  1.791e-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.135e+00  2.791e-01  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Free Index): 5.44
Ra Dec: 198.987 -7.546
Photon Index (Free Index): 0.32 +/- 0.86
Photon Flux (Free Index): 4.58e-09 +/- 4.88e-09
Energy Flux (Free Index): 1.09e-04 +/- 1.35e-04

Creating a high resolution counts map...
INFO: Auto-setting vmin to -1.000e-01 [aplpy.core]
INFO: Auto-setting vmax to  1.110e+00 [aplpy.core]
Saving /scratch/kocevski/428236/cmap_HighResolution_534816001_535075201_4FGL_J1315.9-0732_daily_bin1140.png

Cleaning up...

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

Updating database...

UPDATE lightcurve_data_v2 SET energy_flux_upper_limit='7.16e-05', comment='SUCCESS', photon_flux='1.22e-08', energy_flux2='1.09e-04', photon_flux_error='1.32e-08', dlogl='1.67e+00', energy_flux='1.64e-05', photon_flux2='4.58e-09', job_status='DONE', time_completed='2021-09-07 09:28:17.116181', photon_index_error2='0.86', photon_index2='0.32', ts='2.11', fit_tolerance='1e-08', GAL='1.08', photon_index_error='0.00', photon_flux_upper_limit='5.30e-08', energy_flux_error2='1.35e-04', EG='1.14', time_epoch_completed='1631032097.12', return_code='0', job_id='428236', GAL2='1.08', EG2='1.14', return_code2='0', energy_flux_error='1.78e-05', photon_flux_error2='4.88e-09', ts2='5.44', photon_index='1.75' WHERE bin_id='1140' AND source_name='4FGL J1315.9-0732' AND cadence='daily';

Database successfully updated.


Analysis Complete.


Tue Sep  7 09:28:17 PDT 2021


------------------------------------------------------------
Sender: LSF System <lsf@bullet0112>
Subject: Job 428236: <4FGL_J1315.9-0732_daily_bin1140> in cluster <slac> Done

Job <4FGL_J1315.9-0732_daily_bin1140> was submitted from host <rhel6-64m> by user <kocevski> in cluster <slac> at Tue Sep  7 09:12:16 2021
Job was executed on host(s) <bullet0112>, in queue <medium>, as user <kocevski> in cluster <slac> at Tue Sep  7 09:15:29 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:15:29 2021
Terminated at Tue Sep  7 09:28:17 2021
Results reported at Tue Sep  7 09:28:17 2021

Your job looked like:

------------------------------------------------------------
# LSBATCH: User input
/nfs/farm/g/glast/g/LCRepository/Likelihood/Scripts/LikelihoodAnalysis.py 4FGL_J1315.9-0732_daily_bin1140 198.987 -7.546 534816001 535075201 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 :                                   727.10 sec.
    Max Memory :                                 1256 MB
    Average Memory :                             337.29 MB
    Total Requested Memory :                     -
    Delta Memory :                               -
    Max Swap :                                   -
    Max Processes :                              5
    Max Threads :                                21
    Run time :                                   768 sec.
    Turnaround time :                            961 sec.

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

