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


Performing analysis on: 4FGL_J1314.7+2348_daily_bin1434
RA = 198.688, Dec = 23.8124
tmin = 611020801, tmax = 611280001
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='384642', job_status='RUN', time_executed='2021-09-07 06:42:59.382632', time_epoch_executed='1631022179.38' WHERE source_name='4FGL J1314.7+2348' and cadence='daily' and bin_id='1434'

Database successfully updated.
Done.

Creating custom output directory:
/scratch/kocevski/384642

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

Retrieving the FT1 file...

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

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

Retrieving 46 files...
Done.


Merging files...

Checksum keywords updated successfully.

Merged file saved to:
/scratch/kocevski/384642/ft1_4FGL_J1314.7+2348_daily_bin1434.fits


Retrieving the FT1 file...

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

Retrieving 46 files...
Done.


Merging files...

Merged file saved to:
/scratch/kocevski/384642/ft2_4FGL_J1314.7+2348_daily_bin1434.fits


Selecting the photons:
time -p gtselect infile=/scratch/kocevski/384642/ft1_4FGL_J1314.7+2348_daily_bin1434.fits outfile=/scratch/kocevski/384642/ft1_filteredMKT_4FGL_J1314.7+2348_daily_bin1434.fits ra=198.688 dec=23.8124 rad=12.0 tmin=611020801.0 tmax=611280001.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.62
user 3.31
sys 0.22

Adding sun position to ft2 file:
/nfs/farm/g/glast/g/LCRepository/Repository/bin/sunpos /scratch/kocevski/384642/ft2_4FGL_J1314.7+2348_daily_bin1434.fits

Selecting the good time intervals:
time -p gtmktime scfile=/scratch/kocevski/384642/ft2_4FGL_J1314.7+2348_daily_bin1434.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/384642/ft1_filteredMKT_4FGL_J1314.7+2348_daily_bin1434.fits evtable="EVENTS" outfile="/scratch/kocevski/384642/ft1_filtered_4FGL_J1314.7+2348_daily_bin1434.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/384642/ft1_filtered_4FGL_J1314.7+2348_daily_bin1434.fits" evtable="EVENTS" scfile=/scratch/kocevski/384642/ft2_4FGL_J1314.7+2348_daily_bin1434.fits sctable="SC_DATA" outfile=/scratch/kocevski/384642/ltcube_611020801_611280001_4FGL_J1314.7+2348_daily_bin1434.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/384642/ft2_4FGL_J1314.7+2348_daily_bin1434.fits
.....................!
real 16.71
user 16.33
sys 0.31

Generating the exposure map:
time -p gtexpmap evfile=/scratch/kocevski/384642/ft1_filtered_4FGL_J1314.7+2348_daily_bin1434.fits evtable="EVENTS" scfile=/scratch/kocevski/384642/ft2_4FGL_J1314.7+2348_daily_bin1434.fits sctable="SC_DATA" expcube=/scratch/kocevski/384642/ltcube_611020801_611280001_4FGL_J1314.7+2348_daily_bin1434.fits outfile=/scratch/kocevski/384642/expmap_611020801_611280001_4FGL_J1314.7+2348_daily_bin1434.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/384642/ltcube_611020801_611280001_4FGL_J1314.7+2348_daily_bin1434.fits
.....................!
real 191.37
user 185.81
sys 4.74

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 173 point sources and 0 extended sources

Setting source of interest to:
4FGL J1314.7+2348 @ 198.688 23.8124

Creating the counts map:
time -p gtbin evfile=/scratch/kocevski/384642/ft1_filtered_4FGL_J1314.7+2348_daily_bin1434.fits scfile=/scratch/kocevski/384642/ft2_4FGL_J1314.7+2348_daily_bin1434.fits outfile=/scratch/kocevski/384642/cmap_611020801_611280001_4FGL_J1314.7+2348_daily_bin1434.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.688 yref=23.8124 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.16

Creating the high resolution counts map:
time -p gtbin evfile=/scratch/kocevski/384642/ft1_filtered_4FGL_J1314.7+2348_daily_bin1434.fits scfile=/scratch/kocevski/384642/ft2_4FGL_J1314.7+2348_daily_bin1434.fits outfile=/scratch/kocevski/384642/cmap_HighResolution_611020801_611280001_4FGL_J1314.7+2348_daily_bin1434.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.688 yref=23.8124 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.16

Computing the diffuse response:
time -p gtdiffrsp evfile=/scratch/kocevski/384642/ft1_filtered_4FGL_J1314.7+2348_daily_bin1434.fits evtable="EVENTS" scfile=/scratch/kocevski/384642/ft2_4FGL_J1314.7+2348_daily_bin1434.fits sctable="SC_DATA" srcmdl=/scratch/kocevski/384642/Model_4FGL_J1314.7+2348_daily_bin1434.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/384642/ft1_filtered_4FGL_J1314.7+2348_daily_bin1434.fits.....................!
real 50.54
user 49.06
sys 1.15

Creating the likelihood object...
obs = UnbinnedObs('/scratch/kocevski/384642/ft1_filtered_4FGL_J1314.7+2348_daily_bin1434.fits', '/scratch/kocevski/384642/ft2_4FGL_J1314.7+2348_daily_bin1434.fits', expMap='/scratch/kocevski/384642/expmap_611020801_611280001_4FGL_J1314.7+2348_daily_bin1434.fits', expCube='/scratch/kocevski/384642/ltcube_611020801_611280001_4FGL_J1314.7+2348_daily_bin1434.fits', irfs='P8R3_SOURCE_V2')
like = UnbinnedAnalysis(obs, '/scratch/kocevski/384642/Model_4FGL_J1314.7+2348_daily_bin1434.xml', optimizer='MINUIT')

Using source of interest name: '4FGL J1314.7+2348'

4FGL J1314.7+2348
   Spectrum: LogParabola
308         norm:  9.277e+00  0.000e+00  1.000e-04  1.000e+04 ( 1.000e-13)
309        alpha:  1.896e+00  0.000e+00  0.000e+00  5.000e+00 ( 1.000e+00) fixed
310         beta:  9.683e-02  0.000e+00  0.000e+00  1.000e+01 ( 1.000e+00) fixed
311           Eb:  1.210e+03  0.000e+00  3.000e+01  5.000e+05 ( 1.000e+00) fixed


Likelihood Fit Parameters:
Event file(s): /scratch/kocevski/384642/ft1_filtered_4FGL_J1314.7+2348_daily_bin1434.fits
Spacecraft file(s): /scratch/kocevski/384642/ft2_4FGL_J1314.7+2348_daily_bin1434.fits
Exposure map: /scratch/kocevski/384642/expmap_611020801_611280001_4FGL_J1314.7+2348_daily_bin1434.fits
Exposure cube: /scratch/kocevski/384642/ltcube_611020801_611280001_4FGL_J1314.7+2348_daily_bin1434.fits
IRFs: P8R3_SOURCE_V2
Source model file: /scratch/kocevski/384642/Model_4FGL_J1314.7+2348_daily_bin1434.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) = 5868.24111828

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

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

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'Prefactor '    .10106E-03   1.0000         .10000E-03   10000.    
     2 'norm      '    .25087       1.0000         .10000E-03   10000.    
     3 'norm      '    8.2533       1.0000         .10000E-03   10000.    
     4 'Prefactor '    .10086E-03   1.0000         .10000E-03   10000.    
     5 'Prefactor '    .10410E-02   1.0000         .10000E-03   10000.    
     6 'Prefactor '    8.0865       1.0000         .10000E-03   10000.    
     7 'norm      '    .36937E-02   1.0000         .10000E-03   10000.    
     8 'Prefactor '    14.917       1.0000         .10000E-03   10000.    
     9 'Prefactor '    6.4171       1.0000         .10000E-03   10000.    
    10 'norm      '    .78634       1.0000         .10000E-03   10000.    
    11 'norm      '    11.092       1.0000         .10000E-03   10000.    
    12 'norm      '    .10049E-03   1.0000         .10000E-03   10000.    
    13 'norm      '    1.2029       1.0000         .10000E-03   10000.    
    14 'Prefactor '    .10247E-03   1.0000         .10000E-03   10000.    
    15 'Prefactor '    1.6722       1.0000         .10000E-03   10000.    
    16 'norm      '    8.2602       1.0000         .10000E-03   10000.    
    17 'Prefactor '    .10284E-03   1.0000         .10000E-03   10000.    
    18 'Prefactor '    .10255E-03   1.0000         .10000E-03   10000.    
    19 'norm      '    1.1073       1.0000         .10000E-03   10000.    
    20 'Prefactor '    .10015E-03   1.0000         .10000E-03   10000.    
    21 'Prefactor '    .10001E-03   1.0000         .10000E-03   10000.    
    22 'Prefactor '    .10001E-03   1.0000         .10000E-03   10000.    
    23 'Prefactor '    .10008E-03   1.0000         .10000E-03   10000.    
    24 'Normalizat'    .89710       1.0000         .10000E-01   10.000    
    25 'Prefactor '    1.2019       1.0000          .0000       10.000    
 **********
 **   15 **SET ERR    .5000    
 **********
 **********
 **   16 **SET GRAD    1.000    
 **********
 **********
 **   17 **MINIMIZE    .5520E+05   .2000E-04
 **********

 MIGRAD MINIMIZATION HAS CONVERGED.

 MIGRAD WILL VERIFY CONVERGENCE AND ERROR MATRIX.

 MIGRAD MINIMIZATION HAS CONVERGED.

 FCN=   5868.109     FROM MIGRAD    STATUS=CONVERGED    602 CALLS     2524 TOTAL
                     EDM=   .41E-09  STRATEGY=1  ERROR MATRIX UNCERTAINTY=  3.8%

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor     .10000E-03    3.6034        .63551E-07** at limit **
   2  norm          .25090        .20081        .66613E-09    .44216E-04
   3  norm          8.2568        5.3421       -.11122E-09    .31883E-04
   4  Prefactor     .10000E-03    7.6339        .23214E-06** at limit **
   5  Prefactor     .10001E-03    192.89        .72994E-05** at limit **
   6  Prefactor     8.0934        9.1152        .10223E-07    .54438E-04
   7  norm          .10005E-03    11.122       -.15680E-05** at limit **
   8  Prefactor     14.907        14.850       -.10261E-06   -.67066E-05
   9  Prefactor     6.4290        17.827       -.97394E-06    .46146E-04
  10  norm          .78309        4.0074       -.11131E-05   -.85920E-04
  11  norm          11.093        4.2018       -.64323E-07    .35089E-03
  12  norm          .10000E-03    5.3849       -.33966E-06** at limit **
  13  norm          1.1198        80.498       -.42802E-05   -.22677E-04
  14  Prefactor     .10001E-03    2.2117        .20208E-06** at limit **
  15  Prefactor     1.6796        18.830       -.30368E-05    .10463E-03
  16  norm          8.2538        6.7586       -.81080E-06   -.30008E-03
  17  Prefactor     .10000E-03    91.463        .96678E-06** at limit **
  18  Prefactor     .10000E-03    19.886       -.26405E-06** at limit **
  19  norm          1.1121        4.1105        .73052E-06    .41903E-03
  20  Prefactor     .10000E-03    5.0679        .14395E-06** at limit **
  21  Prefactor     .10000E-03    6.1886       -.23553E-07** at limit **
  22  Prefactor     .10000E-03    1.1975        .54270E-07** at limit **
  23  Prefactor     .10000E-03    4.5756        .87423E-08** at limit **
  24  Normalizat    .89696        .18365        .12474E-05    .94772E-04
  25  Prefactor     1.2019        .18682       -.89106E-06    .14159E-03
                               ERR DEF=  .500    
Final values: 
  Prefactor  = 0.0001
  norm       = 0.250904
  norm       = 8.25683
  Prefactor  = 0.0001
  Prefactor  = 0.000100011
  Prefactor  = 8.09339
  norm       = 0.000100052
  Prefactor  = 14.9071
  Prefactor  = 6.42898
  norm       = 0.78309
  norm       = 11.0929
  norm       = 0.0001
  norm       = 1.11985
  Prefactor  = 0.000100007
  Prefactor  = 1.67959
  norm       = 8.2538
  Prefactor  = 0.0001
  Prefactor  = 0.0001
  norm       = 1.11207
  Prefactor  = 0.0001
  Prefactor  = 0.0001
  Prefactor  = 0.0001
  Prefactor  = 0.0001
  Normalizat = 0.89696
  Prefactor  = 1.20194
 **********
 **   18 **HESSE 
 **********

 FCN=   5868.109     FROM HESSE     STATUS=OK           429 CALLS     2953 TOTAL
                     EDM=   .40E-08    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  Prefactor     .10000E-03    3.6185        .14186E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   2  norm          .25090        .20688        .29755E-03   -1.5608    
   3  norm          8.2568        5.3358        .13640E-03   -1.5133    
   4  Prefactor     .10000E-03    7.6850        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   5  Prefactor     .10001E-03    199.17        .20736E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   6  Prefactor     8.0934        9.0929        .14099E-03   -1.5139    
   7  norm          .10005E-03    24.771        .22194E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   8  Prefactor     14.907        14.846        .10370E-03   -1.4936    
   9  Prefactor     6.4290        16.916        .15844E-03   -1.5201    
  10  norm          .78309        3.9882        .28522E-03   -1.5531    
  11  norm          11.093        4.1535        .88933E-04   -1.5042    
  12  norm          .10000E-03    5.4281        .17297E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  13  norm          1.1198        78.458        .41356E-03   -1.5496    
  14  Prefactor     .10001E-03    5.6109        .18968E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  15  Prefactor     1.6796        19.363        .32596E-03   -1.5449    
  16  norm          8.2538        6.8757        .13949E-03   -1.5133    
  17  Prefactor     .10000E-03    93.979        .36285E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  18  Prefactor     .10000E-03    19.921        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  19  norm          1.1121        6.0256        .17332E-02   -1.5497    
  20  Prefactor     .10000E-03    5.0798        .16846E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  21  Prefactor     .10000E-03    6.1931        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  22  Prefactor     .10000E-03    1.2030        .81846E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  23  Prefactor     .10000E-03    4.5994        .16003E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  24  Normalizat    .89696        .21098        .25124E-03   -.96567    
  25  Prefactor     1.2019        .21735        .24000E-03   -.86272    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 4.00993e-09
Minuit parameter uncertainties:
  1  1.35775e-06
  2  0.206884
  3  5.33607
  4  1.14327e-05
  5  0.00296616
  6  9.09441
  7  0.00226281
  8  14.8498
  9  16.9287
  10  3.53461
  11  4.15359
  12  5.84606e-06
  13  18.7717
  14  0.000388865
  15  11.4098
  16  6.87637
  17  0.000220547
  18  3.88884e-05
  19  5.17778
  20  8.86756e-06
  21  2.64668e-06
  22  5.35504e-07
  23  2.04233e-06
  24  0.211173
  25  0.217517
Done.

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

Extracting fit parameters...

4FGL J1314.7+2348
   Spectrum: LogParabola
308         norm:  1.120e+00  1.877e+01  1.000e-04  1.000e+04 ( 1.000e-13)
309        alpha:  1.896e+00  0.000e+00  0.000e+00  5.000e+00 ( 1.000e+00) fixed
310         beta:  9.683e-02  0.000e+00  0.000e+00  1.000e+01 ( 1.000e+00) fixed
311           Eb:  1.210e+03  0.000e+00  3.000e+01  5.000e+05 ( 1.000e+00) fixed

GAL_V02
   Spectrum: PowerLaw
549    Prefactor:  1.202e+00  2.175e-01  0.000e+00  1.000e+01 ( 1.000e+00)
550        Index:  0.000e+00  0.000e+00 -1.000e+00  1.000e+00 ( 1.000e+00) fixed
551        Scale:  1.000e+02  0.000e+00  5.000e+01  2.000e+02 ( 1.000e+00) fixed

EG_v02
   Spectrum: FileFunction
548   Normalization:  8.970e-01  2.112e-01  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Fixed Index): 0.00
Ra Dec: 198.688 23.812
Photon Flux Upper Limit: 5.11e-08 ph cm-2 s-1
Energy Flux Upper Limit: 3.98e-05 MeV cm-2 s-1

Saving results to:
/scratch/kocevski/384642/likelihoodResults_611020801_611280001_4FGL_J1314.7+2348_daily_bin1434.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) = 5866.92271041
delta logL = 1.1858864132

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

MINUIT Return Code (Free Index): 102
logL (Free Index) = 5866.91815935
delta logL = 1.19043747107

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'norm      '    2.3517       1.0000         .10000E-03   10000.    
     2 'alpha     '    3.8047       1.0000          .0000       5.0000    
     3 'Normalizat'    .80845       1.0000         .10000E-01   10.000    
     4 'Prefactor '    1.2537       1.0000          .0000       10.000    
 **********
 **   15 **SET ERR    .5000    
 **********
 **********
 **   16 **SET GRAD    1.000    
 **********
 **********
 **   17 **MINIMIZE    .5520E+05   .2000E-04
 **********

 MIGRAD MINIMIZATION HAS CONVERGED.

 MIGRAD WILL VERIFY CONVERGENCE AND ERROR MATRIX.

 FCN=   5866.918     FROM MIGRAD    STATUS=CONVERGED     53 CALLS      231 TOTAL
                     EDM=   .22E-08    STRATEGY= 1      ERR MATRIX NOT POS-DEF

  EXT PARAMETER                APPROXIMATE        STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  norm          2.3560        31.825        .66823E-02    .38303E-03
   2  alpha         3.8038        4.2193        .28685        .57594E-04
   3  Normalizat    .80849        .55011E-01    .43721E-01    .40775E-05
   4  Prefactor     1.2537        .56623E-01    .53244E-01   -.12406E-04
                               ERR DEF=  .500    
Final values: 
  norm       = 2.35599
  alpha      = 3.80379
  Normalizat = 0.808486
  Prefactor  = 1.25366
 **********
 **   18 **HESSE 
 **********

 FCN=   5866.918     FROM HESSE     STATUS=NOT POSDEF    33 CALLS      264 TOTAL
                     EDM=   .39E-06    STRATEGY= 1      ERR MATRIX NOT POS-DEF

  EXT PARAMETER                APPROXIMATE     INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  norm          2.3560        59.617        .81988E-04   -1.5401    
   2  alpha         3.8038        4.3381        .11392E-01    .54863    
   3  Normalizat    .80849        .22715        .26286E-03   -.99755    
   4  Prefactor     1.2537        .23233        .23541E-03   -.84696    
                               ERR DEF=  .500    
Minuit fit quality: 2   estimated distance: 3.87617e-07
Minuit parameter uncertainties:
  1  23.7289
  2  5.20523
  3  0.227416
  4  0.23252
shell-init: error retrieving current directory: getcwd: cannot access parent directories: No such file or directory
rmdir: failed to remove `/scratch/kocevski/384642': 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) = 5866.91815903
delta logL = 1.19043779556

Extracting fit parameters...

4FGL J1314.7+2348
   Spectrum: LogParabola
308         norm:  2.356e+00  2.373e+01  1.000e-04  1.000e+04 ( 1.000e-13)
309        alpha:  3.804e+00  5.205e+00  0.000e+00  5.000e+00 ( 1.000e+00)
310         beta:  9.683e-02  0.000e+00  0.000e+00  1.000e+01 ( 1.000e+00) fixed
311           Eb:  1.210e+03  0.000e+00  3.000e+01  5.000e+05 ( 1.000e+00) fixed

GAL_V02
   Spectrum: PowerLaw
549    Prefactor:  1.254e+00  2.325e-01  0.000e+00  1.000e+01 ( 1.000e+00)
550        Index:  0.000e+00  0.000e+00 -1.000e+00  1.000e+00 ( 1.000e+00) fixed
551        Scale:  1.000e+02  0.000e+00  5.000e+01  2.000e+02 ( 1.000e+00) fixed

EG_v02
   Spectrum: FileFunction
548   Normalization:  8.085e-01  2.274e-01  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Free Index): 2.53
Ra Dec: 198.688 23.812
Photon Index (Free Index): 3.80 +/- 5.21
Photon Flux (Free Index): 7.09e-08 +/- 7.90e-08
Energy Flux (Free Index): 1.17e-05 +/- 1.00e-05

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/384642/cmap_HighResolution_611020801_611280001_4FGL_J1314.7+2348_daily_bin1434.png

Cleaning up...

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

Updating database...

UPDATE lightcurve_data_v2 SET energy_flux_upper_limit='3.98e-05', comment='SUCCESS', energy_flux2='1.17e-05', dlogl='1.19e+00', photon_flux2='7.09e-08', job_status='DONE', time_completed='2021-09-07 06:55:30.938174', photon_index_error2='5.21', photon_index2='3.80', ts='0.00', fit_tolerance='1e-08', GAL='1.20', photon_index_error='0.00', photon_flux_upper_limit='5.11e-08', energy_flux_error2='1.00e-05', EG='0.90', time_epoch_completed='1631022930.94', return_code='0', job_id='384642', GAL2='1.25', EG2='0.81', return_code2='102', photon_flux_error2='7.90e-08', ts2='2.53', photon_index='1.90' WHERE bin_id='1434' AND source_name='4FGL J1314.7+2348' AND cadence='daily';

Database successfully updated.


Analysis Complete.


Tue Sep  7 06:55:30 PDT 2021


------------------------------------------------------------
Sender: LSF System <lsf@bullet0216>
Subject: Job 384642: <4FGL_J1314.7+2348_daily_bin1434> in cluster <slac> Done

Job <4FGL_J1314.7+2348_daily_bin1434> was submitted from host <rhel6-64c> by user <kocevski> in cluster <slac> at Tue Sep  7 06:40:29 2021
Job was executed on host(s) <bullet0216>, in queue <medium>, as user <kocevski> in cluster <slac> at Tue Sep  7 06:40:37 2021
</u/ki/kocevski> was used as the home directory.
</u/ki/kocevski> was used as the working directory.
Started at Tue Sep  7 06:40:37 2021
Terminated at Tue Sep  7 06:55:31 2021
Results reported at Tue Sep  7 06:55:31 2021

Your job looked like:

------------------------------------------------------------
# LSBATCH: User input
/nfs/farm/g/glast/g/LCRepository/Likelihood/Scripts/LikelihoodAnalysis.py 4FGL_J1314.7+2348_daily_bin1434 198.688 23.8124 611020801 611280001 irfs=P8R3_SOURCE_V2 zmax=90 ROI=12 association=4FGL_J1314.7+2348 fixedModel=True performFreeIndexFit=True freeVariableSources=True nuke=True repositoryJob=True verbose=False
------------------------------------------------------------

Successfully completed.

Resource usage summary:

    CPU time :                                   658.31 sec.
    Max Memory :                                 1256 MB
    Average Memory :                             287.59 MB
    Total Requested Memory :                     -
    Delta Memory :                               -
    Max Swap :                                   -
    Max Processes :                              5
    Max Threads :                                21
    Run time :                                   894 sec.
    Turnaround time :                            902 sec.

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

