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


Performing analysis on: 4FGL_J1314.7+2348_daily_bin1539
RA = 198.688, Dec = 23.8124
tmin = 638236801, tmax = 638496001
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='384795', job_status='RUN', time_executed='2021-09-07 06:41:14.588344', time_epoch_executed='1631022074.59' WHERE source_name='4FGL J1314.7+2348' and cadence='daily' and bin_id='1539'

Database successfully updated.
Done.

Creating custom output directory:
/scratch/kocevski/384795

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

Retrieving the FT1 file...

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

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

Retrieving 47 files...
Done.


Merging files...

Checksum keywords updated successfully.

Merged file saved to:
/scratch/kocevski/384795/ft1_4FGL_J1314.7+2348_daily_bin1539.fits


Retrieving the FT1 file...

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

Retrieving 47 files...
Done.


Merging files...

Merged file saved to:
/scratch/kocevski/384795/ft2_4FGL_J1314.7+2348_daily_bin1539.fits


Selecting the photons:
time -p gtselect infile=/scratch/kocevski/384795/ft1_4FGL_J1314.7+2348_daily_bin1539.fits outfile=/scratch/kocevski/384795/ft1_filteredMKT_4FGL_J1314.7+2348_daily_bin1539.fits ra=198.688 dec=23.8124 rad=12.0 tmin=638236801.0 tmax=638496001.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.60
user 3.39
sys 0.18

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

Selecting the good time intervals:
time -p gtmktime scfile=/scratch/kocevski/384795/ft2_4FGL_J1314.7+2348_daily_bin1539.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/384795/ft1_filteredMKT_4FGL_J1314.7+2348_daily_bin1539.fits evtable="EVENTS" outfile="/scratch/kocevski/384795/ft1_filtered_4FGL_J1314.7+2348_daily_bin1539.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.33
sys 0.16

Generating the livetime cube:
time -p gtltcube evfile="/scratch/kocevski/384795/ft1_filtered_4FGL_J1314.7+2348_daily_bin1539.fits" evtable="EVENTS" scfile=/scratch/kocevski/384795/ft2_4FGL_J1314.7+2348_daily_bin1539.fits sctable="SC_DATA" outfile=/scratch/kocevski/384795/ltcube_638236801_638496001_4FGL_J1314.7+2348_daily_bin1539.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/384795/ft2_4FGL_J1314.7+2348_daily_bin1539.fits
.....................!
real 15.99
user 15.61
sys 0.32

Generating the exposure map:
time -p gtexpmap evfile=/scratch/kocevski/384795/ft1_filtered_4FGL_J1314.7+2348_daily_bin1539.fits evtable="EVENTS" scfile=/scratch/kocevski/384795/ft2_4FGL_J1314.7+2348_daily_bin1539.fits sctable="SC_DATA" expcube=/scratch/kocevski/384795/ltcube_638236801_638496001_4FGL_J1314.7+2348_daily_bin1539.fits outfile=/scratch/kocevski/384795/expmap_638236801_638496001_4FGL_J1314.7+2348_daily_bin1539.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/384795/ltcube_638236801_638496001_4FGL_J1314.7+2348_daily_bin1539.fits
.....................!
real 193.85
user 188.76
sys 4.47

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/384795/ft1_filtered_4FGL_J1314.7+2348_daily_bin1539.fits scfile=/scratch/kocevski/384795/ft2_4FGL_J1314.7+2348_daily_bin1539.fits outfile=/scratch/kocevski/384795/cmap_638236801_638496001_4FGL_J1314.7+2348_daily_bin1539.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.55
user 0.39
sys 0.15

Creating the high resolution counts map:
time -p gtbin evfile=/scratch/kocevski/384795/ft1_filtered_4FGL_J1314.7+2348_daily_bin1539.fits scfile=/scratch/kocevski/384795/ft2_4FGL_J1314.7+2348_daily_bin1539.fits outfile=/scratch/kocevski/384795/cmap_HighResolution_638236801_638496001_4FGL_J1314.7+2348_daily_bin1539.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.56
user 0.39
sys 0.16

Computing the diffuse response:
time -p gtdiffrsp evfile=/scratch/kocevski/384795/ft1_filtered_4FGL_J1314.7+2348_daily_bin1539.fits evtable="EVENTS" scfile=/scratch/kocevski/384795/ft2_4FGL_J1314.7+2348_daily_bin1539.fits sctable="SC_DATA" srcmdl=/scratch/kocevski/384795/Model_4FGL_J1314.7+2348_daily_bin1539.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/384795/ft1_filtered_4FGL_J1314.7+2348_daily_bin1539.fits.....................!
real 48.65
user 47.28
sys 1.20

Creating the likelihood object...
obs = UnbinnedObs('/scratch/kocevski/384795/ft1_filtered_4FGL_J1314.7+2348_daily_bin1539.fits', '/scratch/kocevski/384795/ft2_4FGL_J1314.7+2348_daily_bin1539.fits', expMap='/scratch/kocevski/384795/expmap_638236801_638496001_4FGL_J1314.7+2348_daily_bin1539.fits', expCube='/scratch/kocevski/384795/ltcube_638236801_638496001_4FGL_J1314.7+2348_daily_bin1539.fits', irfs='P8R3_SOURCE_V2')
like = UnbinnedAnalysis(obs, '/scratch/kocevski/384795/Model_4FGL_J1314.7+2348_daily_bin1539.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/384795/ft1_filtered_4FGL_J1314.7+2348_daily_bin1539.fits
Spacecraft file(s): /scratch/kocevski/384795/ft2_4FGL_J1314.7+2348_daily_bin1539.fits
Exposure map: /scratch/kocevski/384795/expmap_638236801_638496001_4FGL_J1314.7+2348_daily_bin1539.fits
Exposure cube: /scratch/kocevski/384795/ltcube_638236801_638496001_4FGL_J1314.7+2348_daily_bin1539.fits
IRFs: P8R3_SOURCE_V2
Source model file: /scratch/kocevski/384795/Model_4FGL_J1314.7+2348_daily_bin1539.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) = 5707.07294385

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

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

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'Prefactor '    2.7935       1.0000         .10000E-03   10000.    
     2 'norm      '    .21990       1.0000         .10000E-03   10000.    
     3 'norm      '    2.1688       1.0000         .10000E-03   10000.    
     4 'Prefactor '    1.7058       1.0000         .10000E-03   10000.    
     5 'Prefactor '    .10058E-03   1.0000         .10000E-03   10000.    
     6 'Prefactor '    8.4936       1.0000         .10000E-03   10000.    
     7 'norm      '    .10090E-03   1.0000         .10000E-03   10000.    
     8 'Prefactor '    6.0373       1.0000         .10000E-03   10000.    
     9 'Prefactor '    11.966       1.0000         .10000E-03   10000.    
    10 'norm      '    .92613       1.0000         .10000E-03   10000.    
    11 'norm      '    23.387       1.0000         .10000E-03   10000.    
    12 'norm      '    8.3399       1.0000         .10000E-03   10000.    
    13 'norm      '    .10000E-03   1.0000         .10000E-03   10000.    
    14 'Prefactor '    .10208E-03   1.0000         .10000E-03   10000.    
    15 'Prefactor '    .52482E-02   1.0000         .10000E-03   10000.    
    16 'norm      '    7.4374       1.0000         .10000E-03   10000.    
    17 'Prefactor '    .10000E-03   1.0000         .10000E-03   10000.    
    18 'Prefactor '    48.877       1.0000         .10000E-03   10000.    
    19 'norm      '    .10000E-03   1.0000         .10000E-03   10000.    
    20 'Prefactor '    .10002E-03   1.0000         .10000E-03   10000.    
    21 'Prefactor '    45.321       1.0000         .10000E-03   10000.    
    22 'Prefactor '    2.4543       1.0000         .10000E-03   10000.    
    23 'Prefactor '    .10000E-03   1.0000         .10000E-03   10000.    
    24 'Normalizat'    1.0323       1.0000         .10000E-01   10.000    
    25 'Prefactor '    .82223       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=   5707.069     FROM MIGRAD    STATUS=CONVERGED    568 CALLS     2918 TOTAL
                     EDM=   .13E-09  STRATEGY=1  ERROR MATRIX UNCERTAINTY=  2.7%

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor     2.7935        6.0909        .12003E-06    .22775E-05
   2  norm          .21993        .19642        .12174E-07    .11930E-04
   3  norm          2.1693        3.9559        .50947E-07    .67314E-05
   4  Prefactor     1.7065        10.814        .24093E-05    .64509E-04
   5  Prefactor     .10000E-03    42.924       -.97792E-07** at limit **
   6  Prefactor     8.4934        6.9192        .13753E-06   -.42936E-05
   7  norm          .10000E-03    1.6563        .12467E-06** at limit **
   8  Prefactor     6.0390        14.300        .43427E-06   -.30501E-06
   9  Prefactor     11.960        28.282        .53462E-06   -.14177E-05
  10  norm          .92747        2.4354        .13247E-06    .10879E-03
  11  norm          23.384        7.8287       -.50636E-06   -.63896E-04
  12  norm          8.3391        11.737        .30775E-06   -.12998E-04
  13  norm          .10000E-03    5.3284        .35931E-08** at limit **
  14  Prefactor     .10000E-03    2.7804        .12480E-05** at limit **
  15  Prefactor     .10005E-03    10.678       -.91837E-06** at limit **
  16  norm          7.4368        5.4167        .79994E-07   -.14319E-04
  17  Prefactor     .10000E-03    27.717       -.35600E-06** at limit **
  18  Prefactor     48.832        66.839        .27548E-08    .43948E-04
  19  norm          .10000E-03    3.2315       -.24382E-08** at limit **
  20  Prefactor     .10000E-03    26.742        .48398E-06** at limit **
  21  Prefactor     45.322        26.071       -.23505E-07   -.27522E-04
  22  Prefactor     2.4543        2.8043        .27784E-07    .28344E-05
  23  Prefactor     .10000E-03    5.8352       -.28062E-07** at limit **
  24  Normalizat    1.0322        .17772       -.10415E-05   -.14888E-04
  25  Prefactor     .82226        .17466        .58597E-08   -.72908E-04
                               ERR DEF=  .500    
Final values: 
  Prefactor  = 2.7935
  norm       = 0.219929
  norm       = 2.16929
  Prefactor  = 1.70649
  Prefactor  = 0.0001
  Prefactor  = 8.49341
  norm       = 0.0001
  Prefactor  = 6.03904
  Prefactor  = 11.96
  norm       = 0.927469
  norm       = 23.3841
  norm       = 8.33914
  norm       = 0.0001
  Prefactor  = 0.0001
  Prefactor  = 0.000100049
  norm       = 7.4368
  Prefactor  = 0.0001
  Prefactor  = 48.8321
  norm       = 0.0001
  Prefactor  = 0.0001
  Prefactor  = 45.3224
  Prefactor  = 2.45427
  Prefactor  = 0.0001
  Normalizat = 1.03219
  Prefactor  = 0.822262
 **********
 **   18 **HESSE 
 **********

 FCN=   5707.069     FROM HESSE     STATUS=OK           435 CALLS     3353 TOTAL
                     EDM=   .11E-08    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  Prefactor     2.7935        6.0064        .24343E-03   -1.5374    
   2  norm          .21993        .20008        .30564E-04   -1.5614    
   3  norm          2.1693        3.8958        .18307E-03   -1.5413    
   4  Prefactor     1.7065        11.092        .16098E-02   -1.5447    
   5  Prefactor     .10000E-03    42.964        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   6  Prefactor     8.4934        6.9105        .13755E-03   -1.5125    
   7  norm          .10000E-03    1.6645        .94910E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   8  Prefactor     6.0390        14.297        .16341E-03   -1.5216    
   9  Prefactor     11.960        28.252        .11581E-03   -1.5016    
  10  norm          .92747        2.1983        .18353E-02   -1.5515    
  11  norm          23.384        7.9241        .82828E-04   -1.4740    
  12  norm          8.3391        11.822        .13882E-03   -1.5130    
  13  norm          .10000E-03    5.3304        .17031E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  14  Prefactor     .10000E-03    2.8233        .24338E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  15  Prefactor     .10005E-03    48.082        .41706E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  16  norm          7.4368        5.4193        .14425E-03   -1.5162    
  17  Prefactor     .10000E-03    27.783        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  18  Prefactor     48.832        67.212        .57358E-04   -1.4309    
  19  norm          .10000E-03    3.2471        .13254E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  20  Prefactor     .10000E-03    27.254        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  21  Prefactor     45.322        26.131        .59556E-04   -1.4361    
  22  Prefactor     2.4543        2.8012        .13062E-03   -1.5395    
  23  Prefactor     .10000E-03    5.8984        .17818E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  24  Normalizat    1.0322        .20270        .22916E-03   -.91960    
  25  Prefactor     .82226        .19967        .26405E-03   -.98913    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 1.10667e-09
Minuit parameter uncertainties:
  1  6.00769
  2  0.20008
  3  3.89629
  4  8.70361
  5  1.5982e-05
  6  6.91111
  7  3.70389e-06
  8  14.3047
  9  28.2834
  10  2.19853
  11  7.92443
  12  11.8249
  13  1.63036e-06
  14  2.89292e-06
  15  0.00307318
  16  5.41962
  17  9.14079e-06
  18  67.3169
  19  3.82005e-06
  20  0.000129254
  21  26.1375
  22  2.80132
  23  5.89594e-06
  24  0.202856
  25  0.199851
Done.

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

Extracting fit parameters...

4FGL J1314.7+2348
   Spectrum: LogParabola
308         norm:  1.000e-04  1.630e-06  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:  8.223e-01  1.999e-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:  1.032e+00  2.029e-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: 2.80e-08 ph cm-2 s-1
Energy Flux Upper Limit: 2.18e-05 MeV cm-2 s-1

Saving results to:
/scratch/kocevski/384795/likelihoodResults_638236801_638496001_4FGL_J1314.7+2348_daily_bin1539.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) = 5707.07003846
delta logL = -0.00087962922953

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

MINUIT Return Code (Free Index): 102
logL (Free Index) = 5707.06915883
delta logL = -1.36424205266e-10

Fit tolerance = 1e-08

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

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

 MIGRAD WILL VERIFY CONVERGENCE AND ERROR MATRIX.
 MIGRAD TERMINATED WITHOUT CONVERGENCE.

 FCN=   5707.069     FROM MIGRAD    STATUS=FAILED        83 CALLS      223 TOTAL
                     EDM=   .37E-07    STRATEGY= 1      ERR MATRIX NOT POS-DEF

  EXT PARAMETER                APPROXIMATE        STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  norm          .10007E-03    1079.9        .17034E-02** at limit **
   2  alpha         1.8563        3.1186        .17117        .91092E-06
   3  Normalizat    1.0322        .10210        .22916E-03   -.48122E-05
   4  Prefactor     .82226        .10672        .26405E-03   -.13648E-04
                               ERR DEF=  .500    
 START SIMPLEX MINIMIZATION.    CONVERGENCE WHEN EDM .LT.   .20E-04
 SIMPLEX MINIMIZATION HAS CONVERGED.

 FCN=   5707.069     FROM SIMPLEX   STATUS=UNCHANGED    165 CALLS      388 TOTAL
                     EDM=   .12E-04    STRATEGY= 1      ERR MATRIX NOT POS-DEF

  EXT PARAMETER                APPROXIMATE        STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  norm          .10007E-03    1079.9        .37229E-03** at limit **
   2  alpha         1.8563        3.1186        .12657E-04    .91092E-06
   3  Normalizat    1.0322        .10210        .57739E-06   -.48122E-05
   4  Prefactor     .82226        .10672        .26687E-06   -.13648E-04
                               ERR DEF=  .500    

 MIGRAD MINIMIZATION HAS CONVERGED.

 MIGRAD WILL VERIFY CONVERGENCE AND ERROR MATRIX.

 FCN=   5707.069     FROM MIGRAD    STATUS=CONVERGED     31 CALLS      419 TOTAL
                     EDM=   .17E-11    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  norm          .10000E-03    5.3480        .34067E-03** at limit **
   2  alpha         1.8119        2.5752        .68468E-02   -.79701E-08
   3  Normalizat    1.0322        .18796        .91664E-05    .18108E-04
   4  Prefactor     .82226        .19644        .10562E-04    .13132E-04
                               ERR DEF=  .500    
Final values: 
  norm       = 0.0001
  alpha      = 1.81192
  Normalizat = 1.03219
  Prefactor  = 0.822263
 **********
 **   18 **HESSE 
 **********

 FCN=   5707.069     FROM HESSE     STATUS=OK            23 CALLS      442 TOTAL
                     EDM=   .14E-11    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  norm          .10000E-03    5.3475        .68135E-04   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   2  alpha         1.8119        2.5170        .13694E-02   -.27883    
   3  Normalizat    1.0322        .18764        .18333E-05   -.91960    
   4  Prefactor     .82226        .19614        .21124E-05   -.98913    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 1.35852e-12
Minuit parameter uncertainties:
  1  4.05753e-06
  2  338.405
  3  0.187763
  4  0.196302
shell-init: error retrieving current directory: getcwd: cannot access parent directories: No such file or directory
rmdir: failed to remove `/scratch/kocevski/384795': 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) = 5707.0691588
delta logL = 2.99987732433e-08

Extracting fit parameters...

4FGL J1314.7+2348
   Spectrum: LogParabola
308         norm:  1.000e-04  4.058e-06  1.000e-04  1.000e+04 ( 1.000e-13)
309        alpha:  1.812e+00  3.384e+02  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:  8.223e-01  1.963e-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:  1.032e+00  1.878e-01  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Free Index): -0.00
Ra Dec: 198.688 23.812

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/384795/cmap_HighResolution_638236801_638496001_4FGL_J1314.7+2348_daily_bin1539.png

Cleaning up...

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

Updating database...

UPDATE lightcurve_data_v2 SET energy_flux_upper_limit='2.18e-05', job_status='DONE', photon_flux_upper_limit='2.80e-08', time_completed='2021-09-07 06:53:40.502432', job_id='384795', GAL2='0.82', fit_tolerance='1e-08', EG2='1.03', EG='1.03', time_epoch_completed='1631022820.5', return_code2='0', ts='-0.00', comment='SUCCESS', return_code='0', GAL='0.82', dlogl='3.00e-08', ts2='-0.00', photon_index_error='0.00', photon_index='1.90' WHERE bin_id='1539' AND source_name='4FGL J1314.7+2348' AND cadence='daily';

Database successfully updated.


Analysis Complete.


Tue Sep  7 06:53:40 PDT 2021


------------------------------------------------------------
Sender: LSF System <lsf@bullet0266>
Subject: Job 384795: <4FGL_J1314.7+2348_daily_bin1539> in cluster <slac> Done

Job <4FGL_J1314.7+2348_daily_bin1539> was submitted from host <rhel6-64c> by user <kocevski> in cluster <slac> at Tue Sep  7 06:40:39 2021
Job was executed on host(s) <bullet0266>, in queue <medium>, as user <kocevski> in cluster <slac> at Tue Sep  7 06:40:51 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:51 2021
Terminated at Tue Sep  7 06:53:41 2021
Results reported at Tue Sep  7 06:53:41 2021

Your job looked like:

------------------------------------------------------------
# LSBATCH: User input
/nfs/farm/g/glast/g/LCRepository/Likelihood/Scripts/LikelihoodAnalysis.py 4FGL_J1314.7+2348_daily_bin1539 198.688 23.8124 638236801 638496001 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 :                                   687.38 sec.
    Max Memory :                                 1094 MB
    Average Memory :                             270.31 MB
    Total Requested Memory :                     -
    Delta Memory :                               -
    Max Swap :                                   -
    Max Processes :                              5
    Max Threads :                                21
    Run time :                                   770 sec.
    Turnaround time :                            782 sec.

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

