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


Performing analysis on: 4FGL_J1315.9-0732_daily_bin1314
RA = 198.987, Dec = -7.546
tmin = 579916801, tmax = 580176001
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='429229', job_status='RUN', time_executed='2021-09-07 09:20:05.681505', time_epoch_executed='1631031605.68' WHERE source_name='4FGL J1315.9-0732' and cadence='daily' and bin_id='1314'

Database successfully updated.
Done.

Creating custom output directory:
/scratch/kocevski/429229

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

Retrieving the FT1 file...

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

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

Retrieving 46 files...
Done.


Merging files...

Checksum keywords updated successfully.

Merged file saved to:
/scratch/kocevski/429229/ft1_4FGL_J1315.9-0732_daily_bin1314.fits


Retrieving the FT1 file...

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

Retrieving 46 files...
Done.


Merging files...

Merged file saved to:
/scratch/kocevski/429229/ft2_4FGL_J1315.9-0732_daily_bin1314.fits


Selecting the photons:
time -p gtselect infile=/scratch/kocevski/429229/ft1_4FGL_J1315.9-0732_daily_bin1314.fits outfile=/scratch/kocevski/429229/ft1_filteredMKT_4FGL_J1315.9-0732_daily_bin1314.fits ra=198.987 dec=-7.546 rad=12.0 tmin=579916801.0 tmax=580176001.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.88
user 2.65
sys 0.20

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

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

Generating the livetime cube:
time -p gtltcube evfile="/scratch/kocevski/429229/ft1_filtered_4FGL_J1315.9-0732_daily_bin1314.fits" evtable="EVENTS" scfile=/scratch/kocevski/429229/ft2_4FGL_J1315.9-0732_daily_bin1314.fits sctable="SC_DATA" outfile=/scratch/kocevski/429229/ltcube_579916801_580176001_4FGL_J1315.9-0732_daily_bin1314.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/429229/ft2_4FGL_J1315.9-0732_daily_bin1314.fits
.....................!
real 12.54
user 12.20
sys 0.27

Generating the exposure map:
time -p gtexpmap evfile=/scratch/kocevski/429229/ft1_filtered_4FGL_J1315.9-0732_daily_bin1314.fits evtable="EVENTS" scfile=/scratch/kocevski/429229/ft2_4FGL_J1315.9-0732_daily_bin1314.fits sctable="SC_DATA" expcube=/scratch/kocevski/429229/ltcube_579916801_580176001_4FGL_J1315.9-0732_daily_bin1314.fits outfile=/scratch/kocevski/429229/expmap_579916801_580176001_4FGL_J1315.9-0732_daily_bin1314.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/429229/ltcube_579916801_580176001_4FGL_J1315.9-0732_daily_bin1314.fits
.....................!
real 157.18
user 152.82
sys 3.96

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/429229/ft1_filtered_4FGL_J1315.9-0732_daily_bin1314.fits scfile=/scratch/kocevski/429229/ft2_4FGL_J1315.9-0732_daily_bin1314.fits outfile=/scratch/kocevski/429229/cmap_579916801_580176001_4FGL_J1315.9-0732_daily_bin1314.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.50
user 0.33
sys 0.14

Creating the high resolution counts map:
time -p gtbin evfile=/scratch/kocevski/429229/ft1_filtered_4FGL_J1315.9-0732_daily_bin1314.fits scfile=/scratch/kocevski/429229/ft2_4FGL_J1315.9-0732_daily_bin1314.fits outfile=/scratch/kocevski/429229/cmap_HighResolution_579916801_580176001_4FGL_J1315.9-0732_daily_bin1314.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.48
user 0.34
sys 0.14

Computing the diffuse response:
time -p gtdiffrsp evfile=/scratch/kocevski/429229/ft1_filtered_4FGL_J1315.9-0732_daily_bin1314.fits evtable="EVENTS" scfile=/scratch/kocevski/429229/ft2_4FGL_J1315.9-0732_daily_bin1314.fits sctable="SC_DATA" srcmdl=/scratch/kocevski/429229/Model_4FGL_J1315.9-0732_daily_bin1314.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/429229/ft1_filtered_4FGL_J1315.9-0732_daily_bin1314.fits.....................!
real 40.72
user 39.47
sys 1.03

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

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

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

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'Prefactor '    1.1246       1.0000         .10000E-03   10000.    
     2 'Prefactor '    .10695E-03   1.0000         .10000E-03   10000.    
     3 'Prefactor '    7.0264       1.0000         .10000E-03   10000.    
     4 'Prefactor '    .10002E-03   1.0000         .10000E-03   10000.    
     5 'norm      '    29.833       1.0000         .10000E-03   10000.    
     6 'norm      '    2.1226       1.0000         .10000E-03   10000.    
     7 'norm      '    10.872       1.0000         .10000E-03   10000.    
     8 'Prefactor '    .10002E-03   1.0000         .10000E-03   10000.    
     9 'norm      '    16.913       1.0000         .10000E-03   10000.    
    10 'norm      '    .10000E-03   1.0000         .10000E-03   10000.    
    11 'Prefactor '    1.7069       1.0000         .10000E-03   10000.    
    12 'Prefactor '    .10005E-03   1.0000         .10000E-03   10000.    
    13 'Prefactor '    .10031E-03   1.0000         .10000E-03   10000.    
    14 'Prefactor '    14.305       1.0000         .10000E-03   10000.    
    15 'norm      '    1.7676       1.0000         .10000E-03   10000.    
    16 'norm      '    .11379E-03   1.0000         .10000E-03   10000.    
    17 'norm      '    7.3099       1.0000         .10000E-03   10000.    
    18 'norm      '    .10007E-03   1.0000         .10000E-03   10000.    
    19 'Prefactor '    .82107       1.0000         .10000E-03   10000.    
    20 'Prefactor '    .10033E-03   1.0000         .10000E-03   10000.    
    21 'Prefactor '    .10000E-03   1.0000         .10000E-03   10000.    
    22 'norm      '    .10000E-03   1.0000         .10000E-03   10000.    
    23 'Normalizat'    1.8334       1.0000         .10000E-01   10.000    
    24 'Prefactor '    .56087       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=   5778.868     FROM MIGRAD    STATUS=CONVERGED    523 CALLS     2686 TOTAL
                     EDM=   .32E-09  STRATEGY=1  ERROR MATRIX UNCERTAINTY=  2.0%

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor     1.1216        9.2178        .13708E-05   -.54070E-03
   2  Prefactor     .10000E-03    24.330       -.42643E-05** at limit **
   3  Prefactor     7.0186        25.023       -.15013E-04    .27669E-06
   4  Prefactor     .10000E-03    25.618       -.92578E-05** at limit **
   5  norm          29.830        29.821       -.28830E-05    .43164E-04
   6  norm          2.1224        .38195        .18565E-07    .54919E-03
   7  norm          10.874        12.709       -.10406E-06   -.57356E-04
   8  Prefactor     .10000E-03    21.975        .81642E-05** at limit **
   9  norm          16.910        13.141       -.37810E-06   -.12736E-04
  10  norm          .10000E-03    3.9302        .19632E-06** at limit **
  11  Prefactor     1.7037        5.5651       -.52726E-06   -.77469E-03
  12  Prefactor     .10000E-03    8.0370       -.13199E-06** at limit **
  13  Prefactor     .10000E-03    4.4565       -.56357E-06** at limit **
  14  Prefactor     14.310        24.309        .80669E-05    .22542E-04
  15  norm          1.7674        1.3818       -.37330E-07   -.53753E-04
  16  norm          .10000E-03    2.7943        .10354E-06** at limit **
  17  norm          7.3098        7.9693       -.12779E-05   -.35758E-04
  18  norm          .10000E-03    20.343        .82152E-05** at limit **
  19  Prefactor     .82074        4.1452       -.33596E-06   -.10651E-03
  20  Prefactor     .10000E-03    22.716        .63499E-05** at limit **
  21  Prefactor     .10000E-03    17.071       -.82553E-05** at limit **
  22  norm          .10000E-03    3.5206       -.32107E-06** at limit **
  23  Normalizat    1.8338        .24944       -.33034E-06    .88204E-04
  24  Prefactor     .56057        .14877        .52901E-06    .17934E-04
                               ERR DEF=  .500    
Final values: 
  Prefactor  = 1.12158
  Prefactor  = 0.000100001
  Prefactor  = 7.01857
  Prefactor  = 0.0001
  norm       = 29.8298
  norm       = 2.1224
  norm       = 10.8739
  Prefactor  = 0.0001
  norm       = 16.9104
  norm       = 0.0001
  Prefactor  = 1.70369
  Prefactor  = 0.0001
  Prefactor  = 0.0001
  Prefactor  = 14.31
  norm       = 1.76744
  norm       = 0.000100001
  norm       = 7.30984
  norm       = 0.0001
  Prefactor  = 0.820737
  Prefactor  = 0.0001
  Prefactor  = 0.0001
  norm       = 0.0001
  Normalizat = 1.83383
  Prefactor  = 0.560572
 **********
 **   18 **HESSE 
 **********

 FCN=   5778.868     FROM HESSE     STATUS=OK           395 CALLS     3081 TOTAL
                     EDM=   .49E-08    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  Prefactor     1.1216        26.922        .22095E-02   -1.5496    
   2  Prefactor     .10000E-03    25.057        .36285E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   3  Prefactor     7.0186        25.018        .15134E-03   -1.5178    
   4  Prefactor     .10000E-03    25.632        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   5  norm          29.830        29.767        .73354E-04   -1.4615    
   6  norm          2.1224        .38405        .18919E-04   -1.5417    
   7  norm          10.874        12.742        .60753E-03   -1.5048    
   8  Prefactor     .10000E-03    21.987        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   9  norm          16.910        13.167        .97389E-04   -1.4885    
  10  norm          .10000E-03    3.9323        .14719E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  11  Prefactor     1.7037        6.6033        .16092E-02   -1.5447    
  12  Prefactor     .10000E-03    8.0486        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  13  Prefactor     .10000E-03    4.4741        .15674E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  14  Prefactor     14.310        24.253        .10590E-03   -1.4951    
  15  norm          1.7674        1.3761        .75927E-04   -1.5442    
  16  norm          .10000E-03    2.8056        .12323E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  17  norm          7.3098        7.9378        .14835E-03   -1.5167    
  18  norm          .10000E-03    20.376        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  19  Prefactor     .82074        4.0453        .29654E-03   -1.5527    
  20  Prefactor     .10000E-03    22.752        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  21  Prefactor     .10000E-03    17.082        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  22  norm          .10000E-03    3.5457        .13917E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  23  Normalizat    1.8338        .29395        .27177E-03   -.68784    
  24  Prefactor     .56057        .17382        .27706E-03   -1.0927    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 4.8858e-09
Minuit parameter uncertainties:
  1  10.9951
  2  0.00033573
  3  25.0558
  4  9.41515e-06
  5  29.7815
  6  0.384048
  7  12.7454
  8  1.89553e-05
  9  13.1697
  10  2.01433e-07
  11  6.60613
  12  1.32624e-06
  13  1.81213e-05
  14  24.2695
  15  1.37612
  16  7.89996e-05
  17  7.93895
  18  2.57505e-06
  19  3.6444
  20  1.78781e-06
  21  1.7135e-05
  22  4.57763e-08
  23  0.294231
  24  0.173987
Done.

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

Extracting fit parameters...

4FGL J1315.9-0732
   Spectrum: LogParabola
307         norm:  1.000e-04  2.014e-07  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.606e-01  1.740e-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.834e+00  2.942e-01  1.000e-02  1.000e+01 ( 1.000e+00)


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

Saving results to:
/scratch/kocevski/429229/likelihoodResults_579916801_580176001_4FGL_J1315.9-0732_daily_bin1314.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) = 5778.86939312
delta logL = -0.00110953321382

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

MINUIT Return Code (Free Index): 102
logL (Free Index) = 5778.86828359
delta logL = -8.28185875434e-09

Fit tolerance = 1e-08

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

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

 MIGRAD WILL VERIFY CONVERGENCE AND ERROR MATRIX.

 FCN=   5778.868     FROM MIGRAD    STATUS=CONVERGED     94 CALLS      242 TOTAL
                     EDM=   .11E-08    STRATEGY= 1      ERR MATRIX NOT POS-DEF

  EXT PARAMETER                APPROXIMATE        STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  norm          .10000E-03    912.01        .14722E-02** at limit **
   2  alpha         1.6547        3.4483        .17510       -.79862E-08
   3  Normalizat    1.8338        .21600        .27177E-03    .74462E-05
   4  Prefactor     .56057        .13107        .27706E-03    .75912E-05
                               ERR DEF=  .500    
Final values: 
  norm       = 0.0001
  alpha      = 1.65467
  Normalizat = 1.83382
  Prefactor  = 0.560572
 **********
 **   18 **HESSE 
 **********

 FCN=   5778.868     FROM HESSE     STATUS=OK            23 CALLS      265 TOTAL
                     EDM=   .24E-11    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  norm          .10000E-03    3.9514        .29444E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   2  alpha         1.6547        3.1039        .70038E-02   -.34493    
   3  Normalizat    1.8338        .28047        .10871E-04   -.68784    
   4  Prefactor     .56057        .17019        .11082E-04   -1.0927    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 2.42902e-12
Minuit parameter uncertainties:
  1  9.58437e-06
  2  279.718
  3  0.280716
  4  0.170349
shell-init: error retrieving current directory: getcwd: cannot access parent directories: No such file or directory
rmdir: failed to remove `/scratch/kocevski/429229': 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) = 5778.86828353
delta logL = 6.04259184911e-08

Extracting fit parameters...

4FGL J1315.9-0732
   Spectrum: LogParabola
307         norm:  1.000e-04  9.584e-06  1.000e-04  1.000e+04 ( 1.000e-13)
308        alpha:  1.655e+00  2.797e+02  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:  5.606e-01  1.703e-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.834e+00  2.807e-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/429229/cmap_HighResolution_579916801_580176001_4FGL_J1315.9-0732_daily_bin1314.png

Cleaning up...

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

Updating database...

UPDATE lightcurve_data_v2 SET energy_flux_upper_limit='4.52e-05', job_status='DONE', photon_flux_upper_limit='3.35e-08', time_completed='2021-09-07 09:29:11.627200', job_id='429229', GAL2='0.56', fit_tolerance='1e-08', EG2='1.83', EG='1.83', time_epoch_completed='1631032151.63', return_code2='0', ts='-0.00', comment='SUCCESS', return_code='0', GAL='0.56', dlogl='6.04e-08', ts2='-0.00', photon_index_error='0.00', photon_index='1.75' WHERE bin_id='1314' AND source_name='4FGL J1315.9-0732' AND cadence='daily';

Database successfully updated.


Analysis Complete.


Tue Sep  7 09:29:11 PDT 2021


------------------------------------------------------------
Sender: LSF System <scs@bullet0033>
Subject: Job 429229: <4FGL_J1315.9-0732_daily_bin1314> in cluster <slac> Done

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

Your job looked like:

------------------------------------------------------------
# LSBATCH: User input
/nfs/farm/g/glast/g/LCRepository/Likelihood/Scripts/LikelihoodAnalysis.py 4FGL_J1315.9-0732_daily_bin1314 198.987 -7.546 579916801 580176001 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 :                                   543.56 sec.
    Max Memory :                                 1094 MB
    Average Memory :                             268.61 MB
    Total Requested Memory :                     -
    Delta Memory :                               -
    Max Swap :                                   -
    Max Processes :                              5
    Max Threads :                                21
    Run time :                                   684 sec.
    Turnaround time :                            822 sec.

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

