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


Performing analysis on: 4FGL_J1315.9-0732_daily_bin1529
RA = 198.987, Dec = -7.546
tmin = 635644801, tmax = 635904001
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='430723', job_status='RUN', time_executed='2021-09-07 09:22:45.143231', time_epoch_executed='1631031765.14' WHERE source_name='4FGL J1315.9-0732' and cadence='daily' and bin_id='1529'

Database successfully updated.
Done.

Creating custom output directory:
/scratch/kocevski/430723

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

Retrieving the FT1 file...

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

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

Retrieving 47 files...
Done.


Merging files...

Checksum keywords updated successfully.

Merged file saved to:
/scratch/kocevski/430723/ft1_4FGL_J1315.9-0732_daily_bin1529.fits


Retrieving the FT1 file...

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

Retrieving 47 files...
Done.


Merging files...

Merged file saved to:
/scratch/kocevski/430723/ft2_4FGL_J1315.9-0732_daily_bin1529.fits


Selecting the photons:
time -p gtselect infile=/scratch/kocevski/430723/ft1_4FGL_J1315.9-0732_daily_bin1529.fits outfile=/scratch/kocevski/430723/ft1_filteredMKT_4FGL_J1315.9-0732_daily_bin1529.fits ra=198.987 dec=-7.546 rad=12.0 tmin=635644801.0 tmax=635904001.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.38
user 4.11
sys 0.23

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

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

Generating the livetime cube:
time -p gtltcube evfile="/scratch/kocevski/430723/ft1_filtered_4FGL_J1315.9-0732_daily_bin1529.fits" evtable="EVENTS" scfile=/scratch/kocevski/430723/ft2_4FGL_J1315.9-0732_daily_bin1529.fits sctable="SC_DATA" outfile=/scratch/kocevski/430723/ltcube_635644801_635904001_4FGL_J1315.9-0732_daily_bin1529.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/430723/ft2_4FGL_J1315.9-0732_daily_bin1529.fits
.....................!
real 15.63
user 15.26
sys 0.32

Generating the exposure map:
time -p gtexpmap evfile=/scratch/kocevski/430723/ft1_filtered_4FGL_J1315.9-0732_daily_bin1529.fits evtable="EVENTS" scfile=/scratch/kocevski/430723/ft2_4FGL_J1315.9-0732_daily_bin1529.fits sctable="SC_DATA" expcube=/scratch/kocevski/430723/ltcube_635644801_635904001_4FGL_J1315.9-0732_daily_bin1529.fits outfile=/scratch/kocevski/430723/expmap_635644801_635904001_4FGL_J1315.9-0732_daily_bin1529.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/430723/ltcube_635644801_635904001_4FGL_J1315.9-0732_daily_bin1529.fits
.....................!
real 193.16
user 188.16
sys 4.04

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/430723/ft1_filtered_4FGL_J1315.9-0732_daily_bin1529.fits scfile=/scratch/kocevski/430723/ft2_4FGL_J1315.9-0732_daily_bin1529.fits outfile=/scratch/kocevski/430723/cmap_635644801_635904001_4FGL_J1315.9-0732_daily_bin1529.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.57
user 0.39
sys 0.15

Creating the high resolution counts map:
time -p gtbin evfile=/scratch/kocevski/430723/ft1_filtered_4FGL_J1315.9-0732_daily_bin1529.fits scfile=/scratch/kocevski/430723/ft2_4FGL_J1315.9-0732_daily_bin1529.fits outfile=/scratch/kocevski/430723/cmap_HighResolution_635644801_635904001_4FGL_J1315.9-0732_daily_bin1529.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.56
user 0.41
sys 0.14

Computing the diffuse response:
time -p gtdiffrsp evfile=/scratch/kocevski/430723/ft1_filtered_4FGL_J1315.9-0732_daily_bin1529.fits evtable="EVENTS" scfile=/scratch/kocevski/430723/ft2_4FGL_J1315.9-0732_daily_bin1529.fits sctable="SC_DATA" srcmdl=/scratch/kocevski/430723/Model_4FGL_J1315.9-0732_daily_bin1529.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/430723/ft1_filtered_4FGL_J1315.9-0732_daily_bin1529.fits.....................!
real 60.98
user 59.49
sys 1.23

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

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

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

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'Prefactor '    3.0067       1.0000         .10000E-03   10000.    
     2 'Prefactor '    .12716E-02   1.0000         .10000E-03   10000.    
     3 'Prefactor '    43.856       1.0000         .10000E-03   10000.    
     4 'Prefactor '    .10118E-03   1.0000         .10000E-03   10000.    
     5 'norm      '    18.510       1.0000         .10000E-03   10000.    
     6 'norm      '    1.8258       1.0000         .10000E-03   10000.    
     7 'norm      '    .10006E-03   1.0000         .10000E-03   10000.    
     8 'Prefactor '    .10015E-03   1.0000         .10000E-03   10000.    
     9 'norm      '    .11752E-03   1.0000         .10000E-03   10000.    
    10 'norm      '    .10005E-03   1.0000         .10000E-03   10000.    
    11 'Prefactor '    .10003E-03   1.0000         .10000E-03   10000.    
    12 'Prefactor '    45.871       1.0000         .10000E-03   10000.    
    13 'Prefactor '    .10826E-03   1.0000         .10000E-03   10000.    
    14 'Prefactor '    .10015E-03   1.0000         .10000E-03   10000.    
    15 'norm      '    .10026E-03   1.0000         .10000E-03   10000.    
    16 'norm      '    .74819       1.0000         .10000E-03   10000.    
    17 'norm      '    9.1394       1.0000         .10000E-03   10000.    
    18 'norm      '    18.140       1.0000         .10000E-03   10000.    
    19 'Prefactor '    1.7060       1.0000         .10000E-03   10000.    
    20 'Prefactor '    .10067E-03   1.0000         .10000E-03   10000.    
    21 'Prefactor '    74.971       1.0000         .10000E-03   10000.    
    22 'norm      '    .55754E-03   1.0000         .10000E-03   10000.    
    23 'Normalizat'    1.7843       1.0000         .10000E-01   10.000    
    24 'Prefactor '    .50666       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=   7354.002     FROM MIGRAD    STATUS=CONVERGED    572 CALLS     2754 TOTAL
                     EDM=   .10E-08  STRATEGY=1  ERROR MATRIX UNCERTAINTY=  9.1%

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor     3.0034        9.2401       -.63116E-05   -.11011E-03
   2  Prefactor     .10000E-03    65.536        .46381E-04** at limit **
   3  Prefactor     43.834        35.269       -.10246E-06    .92944E-05
   4  Prefactor     .10000E-03    35.191       -.18844E-05** at limit **
   5  norm          18.502        17.761        .55993E-06   -.14499E-04
   6  norm          1.8257        .33656        .17354E-07    .10726E-02
   7  norm          .10000E-03    1.8109        .63984E-08** at limit **
   8  Prefactor     .10000E-03    20.494        .13249E-05** at limit **
   9  norm          .10000E-03    12.127        .37247E-06** at limit **
  10  norm          .10000E-03    7.5054        .78808E-07** at limit **
  11  Prefactor     .10000E-03    6.8672        .61412E-07** at limit **
  12  Prefactor     45.864        26.698       -.16493E-06   -.44454E-04
  13  Prefactor     .10000E-03    14.685       -.21245E-06** at limit **
  14  Prefactor     .10000E-03    15.758       -.12340E-05** at limit **
  15  norm          .10000E-03    .36955       -.80445E-08** at limit **
  16  norm          .74817        2.2808        .95794E-06    .11622E-02
  17  norm          9.1403        5.3401       -.26616E-06   -.20635E-03
  18  norm          18.117        22.676        .13684E-05   -.31745E-04
  19  Prefactor     1.7043        2.6203       -.36239E-07   -.82052E-04
  20  Prefactor     .10000E-03    10.325       -.27584E-06** at limit **
  21  Prefactor     74.875        48.186       -.44640E-05    .43897E-04
  22  norm          .10000E-03    3.0723        .19515E-05** at limit **
  23  Normalizat    1.7850        .21527        .60342E-06   -.52773E-03
  24  Prefactor     .50632        .12319       -.19622E-06   -.21898E-03
                               ERR DEF=  .500    
Final values: 
  Prefactor  = 3.00337
  Prefactor  = 0.000100002
  Prefactor  = 43.8345
  Prefactor  = 0.0001
  norm       = 18.502
  norm       = 1.82569
  norm       = 0.0001
  Prefactor  = 0.0001
  norm       = 0.0001
  norm       = 0.0001
  Prefactor  = 0.0001
  Prefactor  = 45.8644
  Prefactor  = 0.0001
  Prefactor  = 0.000100001
  norm       = 0.0001
  norm       = 0.748171
  norm       = 9.14034
  norm       = 18.1167
  Prefactor  = 1.70432
  Prefactor  = 0.0001
  Prefactor  = 74.8748
  norm       = 0.000100001
  Normalizat = 1.78496
  Prefactor  = 0.50632
 **********
 **   18 **HESSE 
 **********

 FCN=   7354.002     FROM HESSE     STATUS=OK           397 CALLS     3151 TOTAL
                     EDM=   .18E-08    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  Prefactor     3.0034        9.2510        .11704E-02   -1.5361    
   2  Prefactor     .10000E-03    62.663        .39206E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   3  Prefactor     43.834        35.237        .60538E-04   -1.4383    
   4  Prefactor     .10000E-03    35.232        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   5  norm          18.502        17.723        .93094E-04   -1.4847    
   6  norm          1.8257        .33737        .20315E-04   -1.5438    
   7  norm          .10000E-03    1.8135        .11270E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   8  Prefactor     .10000E-03    20.495        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   9  norm          .10000E-03    12.407        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  10  norm          .10000E-03    7.5767        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  11  Prefactor     .10000E-03    6.9447        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  12  Prefactor     45.864        26.940        .59199E-04   -1.4352    
  13  Prefactor     .10000E-03    15.075        .36285E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  14  Prefactor     .10000E-03    15.842        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  15  norm          .10000E-03    .37376        .50874E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  16  norm          .74817        2.2158        .20800E-03   -1.5535    
  17  norm          9.1403        5.2679        .13257E-03   -1.5103    
  18  norm          18.117        22.672        .94039E-04   -1.4856    
  19  Prefactor     1.7043        2.5629        .16397E-03   -1.5447    
  20  Prefactor     .10000E-03    10.331        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  21  Prefactor     74.875        48.179        .23186E-03   -1.3975    
  22  norm          .10000E-03    25.956        .28120E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  23  Normalizat    1.7850        .25066        .26222E-03   -.70057    
  24  Prefactor     .50632        .14266        .26990E-03   -1.1169    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 1.75968e-09
Minuit parameter uncertainties:
  1  9.25537
  2  0.000678477
  3  35.2536
  4  0.000172466
  5  17.7276
  6  0.337367
  7  1.04624e-06
  8  4.32635e-05
  9  0.000102359
  10  3.62389e-06
  11  3.21097e-06
  12  26.947
  13  9.41472e-05
  14  0.00023764
  15  1.31421e-06
  16  2.21607
  17  5.26816
  18  22.6832
  19  2.56303
  20  1.03327e-05
  21  48.2036
  22  0.000261572
  23  0.250841
  24  0.142761
Done.

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

Extracting fit parameters...

4FGL J1315.9-0732
   Spectrum: LogParabola
307         norm:  1.000e-04  3.624e-06  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.063e-01  1.428e-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.785e+00  2.508e-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.58e-08 ph cm-2 s-1
Energy Flux Upper Limit: 4.83e-05 MeV cm-2 s-1

Saving results to:
/scratch/kocevski/430723/likelihoodResults_635644801_635904001_4FGL_J1315.9-0732_daily_bin1529.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) = 7354.00227574
delta logL = -0.000627552900369

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

MINUIT Return Code (Free Index): 0
logL (Free Index) = 7354.0016472
delta logL = 9.86786290014e-07

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'norm      '    .10033E-03   1.0000         .10000E-03   10000.    
     2 'alpha     '    1.8114       1.0000          .0000       5.0000    
     3 'Normalizat'    1.7849       1.0000         .10000E-01   10.000    
     4 'Prefactor '    .50636       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=   7354.002     FROM MIGRAD    STATUS=CONVERGED     97 CALLS      282 TOTAL
                     EDM=   .46E-08    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  norm          .10004E-03    13.041        .36285E-03** at limit **
   2  alpha         1.8961        3.3863        .50000       -.50692E-04
   3  Normalizat    1.7850        .23569        .26222E-03   -.14914E-04
   4  Prefactor     .50632        .13907        .26990E-03    .47051E-04
                               ERR DEF=  .500    
Final values: 
  norm       = 0.000100035
  alpha      = 1.89609
  Normalizat = 1.78497
  Prefactor  = 0.506319
 **********
 **   18 **HESSE 
 **********

 FCN=   7354.002     FROM HESSE     STATUS=OK            29 CALLS      311 TOTAL
                     EDM=   .52E-08    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  norm          .10004E-03    12.770        .72569E-04   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   2  alpha         1.8961        3.3821        .50000       -.24398    
   3  Normalizat    1.7850        .23589        .10489E-04   -.70057    
   4  Prefactor     .50632        .13919        .10796E-04   -1.1169    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 5.15037e-09
Minuit parameter uncertainties:
  1  0.00134124
  2  2.4272
  3  0.236044
  4  0.139288
shell-init: error retrieving current directory: getcwd: cannot access parent directories: No such file or directory
rmdir: failed to remove `/scratch/kocevski/430723': 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) = 7354.00164549
delta logL = 2.69589236268e-06

Extracting fit parameters...

4FGL J1315.9-0732
   Spectrum: LogParabola
307         norm:  1.000e-04  1.341e-03  1.000e-04  1.000e+04 ( 1.000e-13)
308        alpha:  1.896e+00  2.427e+00  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.063e-01  1.393e-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.785e+00  2.360e-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 -1.000e-01 [aplpy.core]
INFO: Auto-setting vmax to  1.110e+00 [aplpy.core]
Saving /scratch/kocevski/430723/cmap_HighResolution_635644801_635904001_4FGL_J1315.9-0732_daily_bin1529.png

Cleaning up...

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

Updating database...

UPDATE lightcurve_data_v2 SET energy_flux_upper_limit='4.83e-05', job_status='DONE', photon_flux_upper_limit='3.58e-08', time_completed='2021-09-07 09:35:29.882109', job_id='430723', GAL2='0.51', fit_tolerance='1e-08', EG2='1.78', EG='1.78', time_epoch_completed='1631032529.88', return_code2='0', ts='-0.00', comment='SUCCESS', return_code='0', GAL='0.51', dlogl='2.70e-06', ts2='-0.00', photon_index_error='0.00', photon_index='1.75' WHERE bin_id='1529' AND source_name='4FGL J1315.9-0732' AND cadence='daily';

Database successfully updated.


Analysis Complete.


Tue Sep  7 09:35:29 PDT 2021


------------------------------------------------------------
Sender: LSF System <lsf@bullet0210>
Subject: Job 430723: <4FGL_J1315.9-0732_daily_bin1529> in cluster <slac> Done

Job <4FGL_J1315.9-0732_daily_bin1529> was submitted from host <rhel6-64f> by user <kocevski> in cluster <slac> at Tue Sep  7 09:20:41 2021
Job was executed on host(s) <bullet0210>, in queue <medium>, as user <kocevski> in cluster <slac> at Tue Sep  7 09:22:26 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:22:26 2021
Terminated at Tue Sep  7 09:35:30 2021
Results reported at Tue Sep  7 09:35:30 2021

Your job looked like:

------------------------------------------------------------
# LSBATCH: User input
/nfs/farm/g/glast/g/LCRepository/Likelihood/Scripts/LikelihoodAnalysis.py 4FGL_J1315.9-0732_daily_bin1529 198.987 -7.546 635644801 635904001 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 :                                   761.00 sec.
    Max Memory :                                 1256 MB
    Average Memory :                             343.52 MB
    Total Requested Memory :                     -
    Delta Memory :                               -
    Max Swap :                                   -
    Max Processes :                              5
    Max Threads :                                21
    Run time :                                   785 sec.
    Turnaround time :                            889 sec.

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

