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


Performing analysis on: 4FGL_J1315.9-0732_daily_bin1227
RA = 198.987, Dec = -7.546
tmin = 557366401, tmax = 557625601
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='428377', job_status='RUN', time_executed='2021-09-07 09:16:56.555973', time_epoch_executed='1631031416.56' WHERE source_name='4FGL J1315.9-0732' and cadence='daily' and bin_id='1227'

Database successfully updated.
Done.

Creating custom output directory:
/scratch/kocevski/428377

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

Retrieving the FT1 file...

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

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

Retrieving 47 files...
Done.


Merging files...

Checksum keywords updated successfully.

Merged file saved to:
/scratch/kocevski/428377/ft1_4FGL_J1315.9-0732_daily_bin1227.fits


Retrieving the FT1 file...

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

Retrieving 47 files...
Done.


Merging files...

Merged file saved to:
/scratch/kocevski/428377/ft2_4FGL_J1315.9-0732_daily_bin1227.fits


Selecting the photons:
time -p gtselect infile=/scratch/kocevski/428377/ft1_4FGL_J1315.9-0732_daily_bin1227.fits outfile=/scratch/kocevski/428377/ft1_filteredMKT_4FGL_J1315.9-0732_daily_bin1227.fits ra=198.987 dec=-7.546 rad=12.0 tmin=557366401.0 tmax=557625601.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 4.09
user 3.51
sys 0.20

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

Selecting the good time intervals:
time -p gtmktime scfile=/scratch/kocevski/428377/ft2_4FGL_J1315.9-0732_daily_bin1227.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/428377/ft1_filteredMKT_4FGL_J1315.9-0732_daily_bin1227.fits evtable="EVENTS" outfile="/scratch/kocevski/428377/ft1_filtered_4FGL_J1315.9-0732_daily_bin1227.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.35
sys 0.16

Generating the livetime cube:
time -p gtltcube evfile="/scratch/kocevski/428377/ft1_filtered_4FGL_J1315.9-0732_daily_bin1227.fits" evtable="EVENTS" scfile=/scratch/kocevski/428377/ft2_4FGL_J1315.9-0732_daily_bin1227.fits sctable="SC_DATA" outfile=/scratch/kocevski/428377/ltcube_557366401_557625601_4FGL_J1315.9-0732_daily_bin1227.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/428377/ft2_4FGL_J1315.9-0732_daily_bin1227.fits
.....................!
real 16.59
user 16.14
sys 0.33

Generating the exposure map:
time -p gtexpmap evfile=/scratch/kocevski/428377/ft1_filtered_4FGL_J1315.9-0732_daily_bin1227.fits evtable="EVENTS" scfile=/scratch/kocevski/428377/ft2_4FGL_J1315.9-0732_daily_bin1227.fits sctable="SC_DATA" expcube=/scratch/kocevski/428377/ltcube_557366401_557625601_4FGL_J1315.9-0732_daily_bin1227.fits outfile=/scratch/kocevski/428377/expmap_557366401_557625601_4FGL_J1315.9-0732_daily_bin1227.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/428377/ltcube_557366401_557625601_4FGL_J1315.9-0732_daily_bin1227.fits
.....................!
real 192.59
user 186.44
sys 5.38

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/428377/ft1_filtered_4FGL_J1315.9-0732_daily_bin1227.fits scfile=/scratch/kocevski/428377/ft2_4FGL_J1315.9-0732_daily_bin1227.fits outfile=/scratch/kocevski/428377/cmap_557366401_557625601_4FGL_J1315.9-0732_daily_bin1227.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.56
user 0.39
sys 0.15

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

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

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

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

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

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'Prefactor '    12.443       1.0000         .10000E-03   10000.    
     2 'Prefactor '    .10002E-03   1.0000         .10000E-03   10000.    
     3 'Prefactor '    11.669       1.0000         .10000E-03   10000.    
     4 'Prefactor '    17.370       1.0000         .10000E-03   10000.    
     5 'norm      '    .10002E-03   1.0000         .10000E-03   10000.    
     6 'norm      '    .82762       1.0000         .10000E-03   10000.    
     7 'norm      '    3.4969       1.0000         .10000E-03   10000.    
     8 'Prefactor '    .10000E-03   1.0000         .10000E-03   10000.    
     9 'norm      '    .10000E-03   1.0000         .10000E-03   10000.    
    10 'norm      '    .10000E-03   1.0000         .10000E-03   10000.    
    11 'Prefactor '    .10678E-03   1.0000         .10000E-03   10000.    
    12 'Prefactor '    12.610       1.0000         .10000E-03   10000.    
    13 'Prefactor '    .10000E-03   1.0000         .10000E-03   10000.    
    14 'Prefactor '    .10011E-03   1.0000         .10000E-03   10000.    
    15 'norm      '    .44254       1.0000         .10000E-03   10000.    
    16 'norm      '    .15454       1.0000         .10000E-03   10000.    
    17 'norm      '    2.6033       1.0000         .10000E-03   10000.    
    18 'norm      '    .10000E-03   1.0000         .10000E-03   10000.    
    19 'Prefactor '    .18970E-02   1.0000         .10000E-03   10000.    
    20 'Prefactor '    .10000E-03   1.0000         .10000E-03   10000.    
    21 'Prefactor '    .10002E-03   1.0000         .10000E-03   10000.    
    22 'norm      '    3.2939       1.0000         .10000E-03   10000.    
    23 'Normalizat'    1.1209       1.0000         .10000E-01   10.000    
    24 'Prefactor '    1.1297       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=   5962.128     FROM MIGRAD    STATUS=CONVERGED    535 CALLS     2762 TOTAL
                     EDM=   .76E-09  STRATEGY=1  ERROR MATRIX UNCERTAINTY=   .8%

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor     12.441        19.452       -.24744E-05   -.54943E-05
   2  Prefactor     .10000E-03    3.2912        .13713E-05** at limit **
   3  Prefactor     11.660        52.174       -.24289E-04   -.28722E-05
   4  Prefactor     17.363        44.778       -.14907E-04    .26942E-05
   5  norm          .10000E-03    13.572       -.37880E-05** at limit **
   6  norm          .82758        .31707        .88026E-07   -.59969E-04
   7  norm          3.4964        10.514       -.11454E-05   -.16345E-03
   8  Prefactor     .10000E-03    22.938        .68898E-05** at limit **
   9  norm          .10000E-03    2.4216       -.98302E-07** at limit **
  10  norm          .10000E-03    3.2318       -.13502E-05** at limit **
  11  Prefactor     .10000E-03    12.740       -.48080E-05** at limit **
  12  Prefactor     12.610        14.472       -.61681E-06    .15469E-04
  13  Prefactor     .10000E-03    7.3384       -.99074E-06** at limit **
  14  Prefactor     .10000E-03    9.4767        .43339E-05** at limit **
  15  norm          .44238        1.3282       -.71861E-06   -.88448E-03
  16  norm          .14915        2.1998       -.22383E-05   -.26703E-04
  17  norm          2.6030        4.1153        .25573E-05    .12907E-03
  18  norm          .10000E-03    13.713       -.34184E-05** at limit **
  19  Prefactor     .10008E-03    2.2911        .33725E-06** at limit **
  20  Prefactor     .10000E-03    19.201        .13830E-04** at limit **
  21  Prefactor     .10000E-03    26.333       -.16095E-04** at limit **
  22  norm          3.2919        5.4199       -.93016E-06   -.44167E-03
  23  Normalizat    1.1209        .24457        .18648E-05    .27988E-03
  24  Prefactor     1.1297        .14911        .59482E-06    .43887E-03
                               ERR DEF=  .500    
Final values: 
  Prefactor  = 12.4413
  Prefactor  = 0.0001
  Prefactor  = 11.6595
  Prefactor  = 17.3629
  norm       = 0.0001
  norm       = 0.827575
  norm       = 3.4964
  Prefactor  = 0.0001
  norm       = 0.0001
  norm       = 0.0001
  Prefactor  = 0.0001
  Prefactor  = 12.6096
  Prefactor  = 0.0001
  Prefactor  = 0.0001
  norm       = 0.442376
  norm       = 0.149154
  norm       = 2.60295
  norm       = 0.0001
  Prefactor  = 0.000100077
  Prefactor  = 0.0001
  Prefactor  = 0.0001
  norm       = 3.29189
  Normalizat = 1.1209
  Prefactor  = 1.12971
 **********
 **   18 **HESSE 
 **********

 FCN=   5962.128     FROM HESSE     STATUS=OK           399 CALLS     3161 TOTAL
                     EDM=   .54E-07    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  Prefactor     12.441        19.464        .11356E-03   -1.5002    
   2  Prefactor     .10000E-03    3.2942        .13682E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   3  Prefactor     11.660        52.365        .11727E-03   -1.5025    
   4  Prefactor     17.363        44.860        .96098E-04   -1.4874    
   5  norm          .10000E-03    13.575        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   6  norm          .82758        .31636        .25065E-04   -1.5526    
   7  norm          3.4964        10.544        .21621E-03   -1.5334    
   8  Prefactor     .10000E-03    22.919        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   9  norm          .10000E-03    2.4222        .11735E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  10  norm          .10000E-03    3.2320        .13555E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  11  Prefactor     .10000E-03    13.096        .36285E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  12  Prefactor     12.610        14.481        .11280E-03   -1.4998    
  13  Prefactor     .10000E-03    7.3890        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  14  Prefactor     .10000E-03    9.4906        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  15  norm          .44238        1.5899        .14123E-02   -1.5575    
  16  norm          .14915        6.2397        .21245E-02   -1.5631    
  17  norm          2.6030        4.0772        .18437E-03   -1.5385    
  18  norm          .10000E-03    13.725        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  19  Prefactor     .10008E-03    23.227        .21836E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  20  Prefactor     .10000E-03    19.108        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  21  Prefactor     .10000E-03    26.269        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  22  norm          3.2919        5.3318        .21877E-03   -1.5345    
  23  Normalizat    1.1209        .27755        .32359E-03   -.89084    
  24  Prefactor     1.1297        .17288        .20455E-03   -.88523    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 5.40013e-08
Minuit parameter uncertainties:
  1  19.4738
  2  7.09434e-06
  3  49.4906
  4  44.9473
  5  1.2409e-05
  6  0.31636
  7  10.5499
  8  1.94745e-06
  9  2.0596e-08
  10  3.94041e-07
  11  2.85687e-05
  12  14.4854
  13  3.37961e-06
  14  9.95064e-06
  15  1.59004
  16  1.929
  17  4.07766
  18  3.4474e-06
  19  0.00267645
  20  2.9825e-05
  21  1.46594e-05
  22  5.33255
  23  0.277911
  24  0.172965
Done.

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

Extracting fit parameters...

4FGL J1315.9-0732
   Spectrum: LogParabola
307         norm:  1.000e-04  3.940e-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:  1.130e+00  1.730e-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.121e+00  2.779e-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: 2.87e-08 ph cm-2 s-1
Energy Flux Upper Limit: 3.88e-05 MeV cm-2 s-1

Saving results to:
/scratch/kocevski/428377/likelihoodResults_557366401_557625601_4FGL_J1315.9-0732_daily_bin1227.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) = 5962.12944185
delta logL = -0.00138715696357

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

MINUIT Return Code (Free Index): 102
logL (Free Index) = 5962.12805467
delta logL = 2.67627910944e-08

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'norm      '    .10002E-03   1.0000         .10000E-03   10000.    
     2 'alpha     '    1.7446       1.0000          .0000       5.0000    
     3 'Normalizat'    1.1209       1.0000         .10000E-01   10.000    
     4 'Prefactor '    1.1297       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.
 MIGRAD TERMINATED WITHOUT CONVERGENCE.

 FCN=   5962.128     FROM MIGRAD    STATUS=FAILED        91 CALLS      234 TOTAL
                     EDM=   .13E-06    STRATEGY= 1      ERR MATRIX NOT POS-DEF

  EXT PARAMETER                APPROXIMATE        STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  norm          .10000E-03    781.00        .13594E-02** at limit **
   2  alpha         1.4673        2.5789        .17529       -.51108E-07
   3  Normalizat    1.1209        .19730        .32359E-03    .16301E-04
   4  Prefactor     1.1297        .12595        .20455E-03    .27011E-04
                               ERR DEF=  .500    
 START SIMPLEX MINIMIZATION.    CONVERGENCE WHEN EDM .LT.   .20E-04
 SIMPLEX MINIMIZATION HAS CONVERGED.

 FCN=   5962.128     FROM SIMPLEX   STATUS=UNCHANGED    189 CALLS      423 TOTAL
                     EDM=   .14E-04    STRATEGY= 1      ERR MATRIX NOT POS-DEF

  EXT PARAMETER                APPROXIMATE        STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  norm          .10000E-03    781.00        .34616E-03** at limit **
   2  alpha         1.4673        2.5789        .22032E-05   -.51108E-07
   3  Normalizat    1.1209        .19730        .11855E-06    .16301E-04
   4  Prefactor     1.1297        .12595        .17711E-07    .27011E-04
                               ERR DEF=  .500    

 MIGRAD MINIMIZATION HAS CONVERGED.

 MIGRAD WILL VERIFY CONVERGENCE AND ERROR MATRIX.

 FCN=   5962.128     FROM MIGRAD    STATUS=CONVERGED     28 CALLS      451 TOTAL
                     EDM=   .90E-10    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  norm          .10000E-03    3.4020        .27189E-03** at limit **
   2  alpha         1.4703        4.2457        .70114E-02    .84640E-07
   3  Normalizat    1.1209        .26497        .12944E-04    .16337E-04
   4  Prefactor     1.1297        .16919        .81821E-05    .26956E-04
                               ERR DEF=  .500    
Final values: 
  norm       = 0.0001
  alpha      = 1.47033
  Normalizat = 1.1209
  Prefactor  = 1.12971
 **********
 **   18 **HESSE 
 **********

 FCN=   5962.128     FROM HESSE     STATUS=OK            23 CALLS      474 TOTAL
                     EDM=   .90E-10    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  norm          .10000E-03    3.4016        .54377E-04   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   2  alpha         1.4703        4.2504        .14023E-02   -.42450    
   3  Normalizat    1.1209        .26450        .25888E-05   -.89084    
   4  Prefactor     1.1297        .16889        .16364E-05   -.88523    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 9.03381e-11
Minuit parameter uncertainties:
  1  3.08878e-05
  2  224.822
  3  0.26481
  4  0.168973
shell-init: error retrieving current directory: getcwd: cannot access parent directories: No such file or directory
rmdir: failed to remove `/scratch/kocevski/428377': 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) = 5962.12805393
delta logL = 7.71452505433e-07

Extracting fit parameters...

4FGL J1315.9-0732
   Spectrum: LogParabola
307         norm:  1.000e-04  3.089e-05  1.000e-04  1.000e+04 ( 1.000e-13)
308        alpha:  1.470e+00  2.248e+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:  1.130e+00  1.690e-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.121e+00  2.648e-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/428377/cmap_HighResolution_557366401_557625601_4FGL_J1315.9-0732_daily_bin1227.png

Cleaning up...

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

Updating database...

UPDATE lightcurve_data_v2 SET energy_flux_upper_limit='3.88e-05', job_status='DONE', photon_flux_upper_limit='2.87e-08', time_completed='2021-09-07 09:28:21.284766', job_id='428377', GAL2='1.13', fit_tolerance='1e-08', EG2='1.12', EG='1.12', time_epoch_completed='1631032101.28', return_code2='0', ts='-0.00', comment='SUCCESS', return_code='0', GAL='1.13', dlogl='7.71e-07', ts2='-0.00', photon_index_error='0.00', photon_index='1.75' WHERE bin_id='1227' AND source_name='4FGL J1315.9-0732' AND cadence='daily';

Database successfully updated.


Analysis Complete.


Tue Sep  7 09:28:21 PDT 2021


------------------------------------------------------------
Sender: LSF System <lsf@bullet0242>
Subject: Job 428377: <4FGL_J1315.9-0732_daily_bin1227> in cluster <slac> Done

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

Your job looked like:

------------------------------------------------------------
# LSBATCH: User input
/nfs/farm/g/glast/g/LCRepository/Likelihood/Scripts/LikelihoodAnalysis.py 4FGL_J1315.9-0732_daily_bin1227 198.987 -7.546 557366401 557625601 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 :                                   682.07 sec.
    Max Memory :                                 1256 MB
    Average Memory :                             348.25 MB
    Total Requested Memory :                     -
    Delta Memory :                               -
    Max Swap :                                   -
    Max Processes :                              5
    Max Threads :                                21
    Run time :                                   707 sec.
    Turnaround time :                            953 sec.

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

