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


Performing analysis on: 4FGL_J1315.9-0732_daily_bin1206
RA = 198.987, Dec = -7.546
tmin = 551923201, tmax = 552182401
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='428345', job_status='RUN', time_executed='2021-09-07 09:19:07.120106', time_epoch_executed='1631031547.12' WHERE source_name='4FGL J1315.9-0732' and cadence='daily' and bin_id='1206'

Database successfully updated.
Done.

Creating custom output directory:
/scratch/kocevski/428345

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

Retrieving the FT1 file...

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

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

Retrieving 46 files...
Done.


Merging files...

Checksum keywords updated successfully.

Merged file saved to:
/scratch/kocevski/428345/ft1_4FGL_J1315.9-0732_daily_bin1206.fits


Retrieving the FT1 file...

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

Retrieving 46 files...
Done.


Merging files...

Merged file saved to:
/scratch/kocevski/428345/ft2_4FGL_J1315.9-0732_daily_bin1206.fits


Selecting the photons:
time -p gtselect infile=/scratch/kocevski/428345/ft1_4FGL_J1315.9-0732_daily_bin1206.fits outfile=/scratch/kocevski/428345/ft1_filteredMKT_4FGL_J1315.9-0732_daily_bin1206.fits ra=198.987 dec=-7.546 rad=12.0 tmin=551923201.0 tmax=552182401.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.73
user 3.45
sys 0.21

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

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

Generating the livetime cube:
time -p gtltcube evfile="/scratch/kocevski/428345/ft1_filtered_4FGL_J1315.9-0732_daily_bin1206.fits" evtable="EVENTS" scfile=/scratch/kocevski/428345/ft2_4FGL_J1315.9-0732_daily_bin1206.fits sctable="SC_DATA" outfile=/scratch/kocevski/428345/ltcube_551923201_552182401_4FGL_J1315.9-0732_daily_bin1206.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/428345/ft2_4FGL_J1315.9-0732_daily_bin1206.fits
.....................!
real 15.19
user 14.76
sys 0.31

Generating the exposure map:
time -p gtexpmap evfile=/scratch/kocevski/428345/ft1_filtered_4FGL_J1315.9-0732_daily_bin1206.fits evtable="EVENTS" scfile=/scratch/kocevski/428345/ft2_4FGL_J1315.9-0732_daily_bin1206.fits sctable="SC_DATA" expcube=/scratch/kocevski/428345/ltcube_551923201_552182401_4FGL_J1315.9-0732_daily_bin1206.fits outfile=/scratch/kocevski/428345/expmap_551923201_552182401_4FGL_J1315.9-0732_daily_bin1206.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/428345/ltcube_551923201_552182401_4FGL_J1315.9-0732_daily_bin1206.fits
.....................!
real 191.27
user 186.26
sys 3.86

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/428345/ft1_filtered_4FGL_J1315.9-0732_daily_bin1206.fits scfile=/scratch/kocevski/428345/ft2_4FGL_J1315.9-0732_daily_bin1206.fits outfile=/scratch/kocevski/428345/cmap_551923201_552182401_4FGL_J1315.9-0732_daily_bin1206.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.55
user 0.38
sys 0.15

Creating the high resolution counts map:
time -p gtbin evfile=/scratch/kocevski/428345/ft1_filtered_4FGL_J1315.9-0732_daily_bin1206.fits scfile=/scratch/kocevski/428345/ft2_4FGL_J1315.9-0732_daily_bin1206.fits outfile=/scratch/kocevski/428345/cmap_HighResolution_551923201_552182401_4FGL_J1315.9-0732_daily_bin1206.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.58
user 0.40
sys 0.15

Computing the diffuse response:
time -p gtdiffrsp evfile=/scratch/kocevski/428345/ft1_filtered_4FGL_J1315.9-0732_daily_bin1206.fits evtable="EVENTS" scfile=/scratch/kocevski/428345/ft2_4FGL_J1315.9-0732_daily_bin1206.fits sctable="SC_DATA" srcmdl=/scratch/kocevski/428345/Model_4FGL_J1315.9-0732_daily_bin1206.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/428345/ft1_filtered_4FGL_J1315.9-0732_daily_bin1206.fits.......................!
real 24.47
user 23.08
sys 1.11

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

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

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

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'Prefactor '    29.512       1.0000         .10000E-03   10000.    
     2 'Prefactor '    .10000E-03   1.0000         .10000E-03   10000.    
     3 'Prefactor '    10.995       1.0000         .10000E-03   10000.    
     4 'Prefactor '    97.248       1.0000         .10000E-03   10000.    
     5 'norm      '    .10005E-03   1.0000         .10000E-03   10000.    
     6 'norm      '    2.4127       1.0000         .10000E-03   10000.    
     7 'norm      '    10.424       1.0000         .10000E-03   10000.    
     8 'Prefactor '    .10008E-03   1.0000         .10000E-03   10000.    
     9 'norm      '    .10021E-03   1.0000         .10000E-03   10000.    
    10 'norm      '    .10009E-03   1.0000         .10000E-03   10000.    
    11 'Prefactor '    5.5387       1.0000         .10000E-03   10000.    
    12 'Prefactor '    129.83       1.0000         .10000E-03   10000.    
    13 'Prefactor '    .10007E-03   1.0000         .10000E-03   10000.    
    14 'Prefactor '    .10003E-03   1.0000         .10000E-03   10000.    
    15 'norm      '    .10003E-03   1.0000         .10000E-03   10000.    
    16 'norm      '    7.3366       1.0000         .10000E-03   10000.    
    17 'norm      '    29.338       1.0000         .10000E-03   10000.    
    18 'norm      '    .10000E-03   1.0000         .10000E-03   10000.    
    19 'Prefactor '    .10000E-03   1.0000         .10000E-03   10000.    
    20 'Prefactor '    .10812E-03   1.0000         .10000E-03   10000.    
    21 'Prefactor '    .10028E-03   1.0000         .10000E-03   10000.    
    22 'norm      '    30.222       1.0000         .10000E-03   10000.    
    23 'Normalizat'    .48371       1.0000         .10000E-01   10.000    
    24 'Prefactor '    .88186       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=   1633.164     FROM MIGRAD    STATUS=CONVERGED    524 CALLS     3096 TOTAL
                     EDM=   .56E-09  STRATEGY=1  ERROR MATRIX UNCERTAINTY=   .4%

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor     29.511        26.021        .76510E-06   -.44919E-04
   2  Prefactor     .10000E-03    11.702       -.25503E-07** at limit **
   3  Prefactor     11.221        1505.2        .65483E-03    .13327E-04
   4  Prefactor     97.188        189.90       -.56445E-04    .30594E-04
   5  norm          .10000E-03    45.854       -.97524E-05** at limit **
   6  norm          2.4133        1.0991        .94908E-06   -.29003E-02
   7  norm          10.424        15.002       -.28906E-06   -.89244E-04
   8  Prefactor     .10000E-03    144.80        .55054E-04** at limit **
   9  norm          .10000E-03    25.107        .67001E-06** at limit **
  10  norm          .10000E-03    28.447       -.14680E-05** at limit **
  11  Prefactor     5.5394        21.091        .14313E-05   -.10484E-03
  12  Prefactor     129.83        141.14       -.35554E-05   -.19321E-05
  13  Prefactor     .10000E-03    44.052        .11604E-04** at limit **
  14  Prefactor     .10000E-03    45.427        .18193E-08** at limit **
  15  norm          .10000E-03    4.2358        .24741E-08** at limit **
  16  norm          7.3368        10.949        .19652E-06   -.23592E-03
  17  norm          29.338        23.256        .59485E-07   -.19384E-03
  18  norm          .10000E-03    116.89       -.72936E-04** at limit **
  19  Prefactor     .10000E-03    4.7178       -.11795E-07** at limit **
  20  Prefactor     .10000E-03    313.67       -.13229E-03** at limit **
  21  Prefactor     .10000E-03    157.91        .86225E-04** at limit **
  22  norm          30.222        20.063        .27999E-06   -.79622E-04
  23  Normalizat    .48399        .53789        .88122E-05   -.10736E-03
  24  Prefactor     .88170        .27494       -.58905E-05   -.58831E-04
                               ERR DEF=  .500    
Final values: 
  Prefactor  = 29.5114
  Prefactor  = 0.0001
  Prefactor  = 11.2211
  Prefactor  = 97.1882
  norm       = 0.0001
  norm       = 2.41331
  norm       = 10.4244
  Prefactor  = 0.0001
  norm       = 0.0001
  norm       = 0.0001
  Prefactor  = 5.53944
  Prefactor  = 129.826
  Prefactor  = 0.0001
  Prefactor  = 0.0001
  norm       = 0.0001
  norm       = 7.33676
  norm       = 29.3384
  norm       = 0.0001
  Prefactor  = 0.0001
  Prefactor  = 0.0001
  Prefactor  = 0.0001
  norm       = 30.2223
  Normalizat = 0.483987
  Prefactor  = 0.881697
 **********
 **   18 **HESSE 
 **********

 FCN=   1633.164     FROM HESSE     STATUS=OK           385 CALLS     3481 TOTAL
                     EDM=   .13E-08    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  Prefactor     29.511        25.878        .73750E-04   -1.4621    
   2  Prefactor     .10000E-03    11.703        .13505E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   3  Prefactor     11.221        1486.0        .12082E-03   -1.5038    
   4  Prefactor     97.188        194.32        .20381E-03   -1.3733    
   5  norm          .10000E-03    45.856        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   6  norm          2.4133        1.1281        .24167E-04   -1.5397    
   7  norm          10.424        14.924        .12410E-03   -1.5062    
   8  Prefactor     .10000E-03    144.81        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   9  norm          .10000E-03    25.135        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  10  norm          .10000E-03    28.518        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  11  Prefactor     5.5394        20.971        .17072E-03   -1.5237    
  12  Prefactor     129.83        141.07        .35336E-04   -1.3424    
  13  Prefactor     .10000E-03    45.030        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  14  Prefactor     .10000E-03    45.490        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  15  norm          .10000E-03    4.2826        .81168E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  16  norm          7.3368        10.942        .11624E-03   -1.5166    
  17  norm          29.338        23.279        .73968E-04   -1.4624    
  18  norm          .10000E-03    116.85        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  19  Prefactor     .10000E-03    4.7217        .85702E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  20  Prefactor     .10000E-03    313.54        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  21  Prefactor     .10000E-03    158.23        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  22  norm          30.222        20.034        .72881E-04   -1.4608    
  23  Normalizat    .48399        .56576        .47608E-03   -1.1316    
  24  Prefactor     .88170        .30153        .19557E-03   -.96784    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 1.25384e-09
Minuit parameter uncertainties:
  1  25.8876
  2  1.49528e-06
  3  265.289
  4  195.613
  5  6.39084e-05
  6  1.1281
  7  14.9294
  8  4.26533e-05
  9  1.6783e-05
  10  1.69694e-05
  11  20.9984
  12  141.44
  13  0.000173784
  14  4.05652e-05
  15  2.62194e-06
  16  10.9449
  17  23.2857
  18  1.3546e-05
  19  2.54591e-06
  20  1.28722e-05
  21  2.41691e-05
  22  20.0387
  23  0.572677
  24  0.302103
Done.

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

Extracting fit parameters...

4FGL J1315.9-0732
   Spectrum: LogParabola
307         norm:  1.000e-04  1.697e-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:  8.817e-01  3.021e-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:  4.840e-01  5.727e-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: 1.42e-07 ph cm-2 s-1
Energy Flux Upper Limit: 1.92e-04 MeV cm-2 s-1

Saving results to:
/scratch/kocevski/428345/likelihoodResults_551923201_552182401_4FGL_J1315.9-0732_daily_bin1206.txt

Performing a free index iterative likelihood fit...

Freezing all point sources, except source of interest...

Done.

Freeing candidate source...
Done.

Fit tolerance = 1

Performing likelihood fit...
Done.

MINUIT Return Code (Free Index): 102
logL (Free Index) = 1633.16464029
delta logL = -0.000166756172348

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

MINUIT Return Code (Free Index): 102
logL (Free Index) = 1633.16447418
delta logL = -6.46292392048e-07

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'norm      '    .10085E-03   1.0000         .10000E-03   10000.    
     2 'alpha     '    2.5318       1.0000          .0000       5.0000    
     3 'Normalizat'    .48400       1.0000         .10000E-01   10.000    
     4 'Prefactor '    .88169       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=   1633.164     FROM MIGRAD    STATUS=CONVERGED    109 CALLS      298 TOTAL
                     EDM=   .18E-10    STRATEGY= 1      ERR MATRIX NOT POS-DEF

  EXT PARAMETER                APPROXIMATE        STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  norm          .10000E-03    75.870        .18142E-01** at limit **
   2  alpha         2.0666        3.5000        .50000        .24943E-07
   3  Normalizat    .48400        .17901E-01    .47606E-03   -.69325E-04
   4  Prefactor     .88169        .98511E-02    .19557E-03   -.16809E-03
                               ERR DEF=  .500    
Final values: 
  norm       = 0.0001
  alpha      = 2.06665
  Normalizat = 0.483998
  Prefactor  = 0.881691
 **********
 **   18 **HESSE 
 **********

 FCN=   1633.164     FROM HESSE     STATUS=NOT POSDEF    29 CALLS      327 TOTAL
                     EDM=   .64E-09    STRATEGY= 1      ERR MATRIX NOT POS-DEF

  EXT PARAMETER                APPROXIMATE     INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  norm          .10000E-03    6278.0        .43962E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   2  alpha         2.0666        2.7705        .50000       -.17422    
   3  Normalizat    .48400        .12008        .19043E-04   -1.1316    
   4  Prefactor     .88169        .66109E-01    .39114E-04   -.96784    
                               ERR DEF=  .500    
Minuit fit quality: 2   estimated distance: 6.3695e-10
Minuit parameter uncertainties:
  1  0.000176491
  2  2714.69
  3  0.120139
  4  0.0661146
shell-init: error retrieving current directory: getcwd: cannot access parent directories: No such file or directory
rmdir: failed to remove `/scratch/kocevski/428345': 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): 102
logL (Free Index) = 1633.16447335
delta logL = 1.81618361239e-07

Extracting fit parameters...

4FGL J1315.9-0732
   Spectrum: LogParabola
307         norm:  1.000e-04  1.765e-04  1.000e-04  1.000e+04 ( 1.000e-13)
308        alpha:  2.067e+00  2.715e+03  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:  8.817e-01  6.611e-02  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:  4.840e-01  1.201e-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/428345/cmap_HighResolution_551923201_552182401_4FGL_J1315.9-0732_daily_bin1206.png

Cleaning up...

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

Updating database...

UPDATE lightcurve_data_v2 SET energy_flux_upper_limit='1.92e-04', job_status='DONE', photon_flux_upper_limit='1.42e-07', time_completed='2021-09-07 09:26:08.814180', job_id='428345', GAL2='0.88', fit_tolerance='1e-08', EG2='0.48', EG='0.48', time_epoch_completed='1631031968.81', return_code2='102', ts='-0.00', comment='SUCCESS', return_code='0', GAL='0.88', dlogl='1.82e-07', ts2='-0.00', photon_index_error='0.00', photon_index='1.75' WHERE bin_id='1206' AND source_name='4FGL J1315.9-0732' AND cadence='daily';

Database successfully updated.


Analysis Complete.


Tue Sep  7 09:26:08 PDT 2021


------------------------------------------------------------
Sender: LSF System <lsf@bullet0245>
Subject: Job 428345: <4FGL_J1315.9-0732_daily_bin1206> in cluster <slac> Done

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

Your job looked like:

------------------------------------------------------------
# LSBATCH: User input
/nfs/farm/g/glast/g/LCRepository/Likelihood/Scripts/LikelihoodAnalysis.py 4FGL_J1315.9-0732_daily_bin1206 198.987 -7.546 551923201 552182401 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 :                                   418.21 sec.
    Max Memory :                                 1195 MB
    Average Memory :                             269.77 MB
    Total Requested Memory :                     -
    Delta Memory :                               -
    Max Swap :                                   -
    Max Processes :                              5
    Max Threads :                                21
    Run time :                                   587 sec.
    Turnaround time :                            823 sec.

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

