/nfs/farm/g/glast/g/LCRepository/bin/miniconda2/envs/fermitools_v1.0.5/lib/python2.7/site-packages/matplotlib/font_manager.py:281: UserWarning: Matplotlib is building the font cache using fc-list. This may take a moment.
  'Matplotlib is building the font cache using fc-list. '
/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 12 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 = 7364
number of fields = 30
RA_SUN column already exists. File will not be modified.
Done.


Performing analysis on: 4FGL_J1314.7+2348_daily_bin1481
RA = 198.688, Dec = 23.8124
tmin = 623203201, tmax = 623462401
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='384710', job_status='RUN', time_executed='2021-09-07 06:41:14.658948', time_epoch_executed='1631022074.66' WHERE source_name='4FGL J1314.7+2348' and cadence='daily' and bin_id='1481'

Database successfully updated.
Done.

Creating custom output directory:
/scratch/kocevski/384710

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

Retrieving the FT1 file...

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

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

Retrieving 46 files...
Done.


Merging files...

Checksum keywords updated successfully.

Merged file saved to:
/scratch/kocevski/384710/ft1_4FGL_J1314.7+2348_daily_bin1481.fits


Retrieving the FT1 file...

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

Retrieving 46 files...
Done.


Merging files...

Merged file saved to:
/scratch/kocevski/384710/ft2_4FGL_J1314.7+2348_daily_bin1481.fits


Selecting the photons:
time -p gtselect infile=/scratch/kocevski/384710/ft1_4FGL_J1314.7+2348_daily_bin1481.fits outfile=/scratch/kocevski/384710/ft1_filteredMKT_4FGL_J1314.7+2348_daily_bin1481.fits ra=198.688 dec=23.8124 rad=12.0 tmin=623203201.0 tmax=623462401.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 2.91
user 2.69
sys 0.21

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

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

Generating the livetime cube:
time -p gtltcube evfile="/scratch/kocevski/384710/ft1_filtered_4FGL_J1314.7+2348_daily_bin1481.fits" evtable="EVENTS" scfile=/scratch/kocevski/384710/ft2_4FGL_J1314.7+2348_daily_bin1481.fits sctable="SC_DATA" outfile=/scratch/kocevski/384710/ltcube_623203201_623462401_4FGL_J1314.7+2348_daily_bin1481.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/384710/ft2_4FGL_J1314.7+2348_daily_bin1481.fits
.....................!
real 17.22
user 16.85
sys 0.33

Generating the exposure map:
time -p gtexpmap evfile=/scratch/kocevski/384710/ft1_filtered_4FGL_J1314.7+2348_daily_bin1481.fits evtable="EVENTS" scfile=/scratch/kocevski/384710/ft2_4FGL_J1314.7+2348_daily_bin1481.fits sctable="SC_DATA" expcube=/scratch/kocevski/384710/ltcube_623203201_623462401_4FGL_J1314.7+2348_daily_bin1481.fits outfile=/scratch/kocevski/384710/expmap_623203201_623462401_4FGL_J1314.7+2348_daily_bin1481.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/384710/ltcube_623203201_623462401_4FGL_J1314.7+2348_daily_bin1481.fits
.....................!
real 192.66
user 186.52
sys 5.49

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/384710/ft1_filtered_4FGL_J1314.7+2348_daily_bin1481.fits scfile=/scratch/kocevski/384710/ft2_4FGL_J1314.7+2348_daily_bin1481.fits outfile=/scratch/kocevski/384710/cmap_623203201_623462401_4FGL_J1314.7+2348_daily_bin1481.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/384710/ft1_filtered_4FGL_J1314.7+2348_daily_bin1481.fits scfile=/scratch/kocevski/384710/ft2_4FGL_J1314.7+2348_daily_bin1481.fits outfile=/scratch/kocevski/384710/cmap_HighResolution_623203201_623462401_4FGL_J1314.7+2348_daily_bin1481.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.57
user 0.40
sys 0.16

Computing the diffuse response:
time -p gtdiffrsp evfile=/scratch/kocevski/384710/ft1_filtered_4FGL_J1314.7+2348_daily_bin1481.fits evtable="EVENTS" scfile=/scratch/kocevski/384710/ft2_4FGL_J1314.7+2348_daily_bin1481.fits sctable="SC_DATA" srcmdl=/scratch/kocevski/384710/Model_4FGL_J1314.7+2348_daily_bin1481.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/384710/ft1_filtered_4FGL_J1314.7+2348_daily_bin1481.fits.....................!
real 63.66
user 62.12
sys 1.27

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

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

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

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'Prefactor '    .10002E-03   1.0000         .10000E-03   10000.    
     2 'norm      '    .27597       1.0000         .10000E-03   10000.    
     3 'norm      '    2.0699       1.0000         .10000E-03   10000.    
     4 'Prefactor '    .10001E-03   1.0000         .10000E-03   10000.    
     5 'Prefactor '    .10002E-03   1.0000         .10000E-03   10000.    
     6 'Prefactor '    .10010E-03   1.0000         .10000E-03   10000.    
     7 'norm      '    3.0689       1.0000         .10000E-03   10000.    
     8 'Prefactor '    24.012       1.0000         .10000E-03   10000.    
     9 'Prefactor '    .10267E-03   1.0000         .10000E-03   10000.    
    10 'norm      '    .10019E-03   1.0000         .10000E-03   10000.    
    11 'norm      '    .10017E-03   1.0000         .10000E-03   10000.    
    12 'norm      '    3.0769       1.0000         .10000E-03   10000.    
    13 'norm      '    24.534       1.0000         .10000E-03   10000.    
    14 'Prefactor '    2.8720       1.0000         .10000E-03   10000.    
    15 'Prefactor '    .10000E-03   1.0000         .10000E-03   10000.    
    16 'norm      '    .10282E-02   1.0000         .10000E-03   10000.    
    17 'Prefactor '    106.49       1.0000         .10000E-03   10000.    
    18 'Prefactor '    59.479       1.0000         .10000E-03   10000.    
    19 'norm      '    9.0889       1.0000         .10000E-03   10000.    
    20 'Prefactor '    .10066E-03   1.0000         .10000E-03   10000.    
    21 'Prefactor '    6.2832       1.0000         .10000E-03   10000.    
    22 'Prefactor '    6.8493       1.0000         .10000E-03   10000.    
    23 'Prefactor '    .10057E-03   1.0000         .10000E-03   10000.    
    24 'Normalizat'    1.1464       1.0000         .10000E-01   10.000    
    25 'Prefactor '    1.1221       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=   8081.290     FROM MIGRAD    STATUS=CONVERGED    576 CALLS     2956 TOTAL
                     EDM=   .10E-08  STRATEGY=1  ERROR MATRIX UNCERTAINTY=  4.5%

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor     .10000E-03    1.9261       -.30691E-07** at limit **
   2  norm          .27589        .26494        .45615E-07    .25094E-03
   3  norm          2.0703        2.7898        .13338E-06   -.72457E-04
   4  Prefactor     .10000E-03    2.0686        .59188E-08** at limit **
   5  Prefactor     .10000E-03    14.777       -.12592E-05** at limit **
   6  Prefactor     .10000E-03    3.7711        .14195E-08** at limit **
   7  norm          3.0670        3.1141        .88594E-07   -.55383E-04
   8  Prefactor     24.012        20.530        .17573E-07   -.67122E-04
   9  Prefactor     .10000E-03    33.189       -.81807E-06** at limit **
  10  norm          .10000E-03    1.3191       -.20449E-07** at limit **
  11  norm          .10000E-03    1.0936       -.18183E-07** at limit **
  12  norm          3.0770        2.8901       -.17823E-06   -.32284E-03
  13  norm          24.530        21.185       -.43692E-06   -.46568E-03
  14  Prefactor     2.8725        2.3651        .56744E-08   -.10089E-04
  15  Prefactor     .10000E-03    8.3866       -.49419E-07** at limit **
  16  norm          .10004E-03    6.3390        .22933E-05** at limit **
  17  Prefactor     106.48        59.609       -.71812E-06   -.18020E-03
  18  Prefactor     59.488        49.475        .21207E-05    .34023E-03
  19  norm          9.0925        7.5439        .20952E-06   -.61062E-03
  20  Prefactor     .10000E-03    19.315        .17272E-05** at limit **
  21  Prefactor     6.2839        13.679        .38917E-05    .32580E-04
  22  Prefactor     6.8494        4.0428        .15506E-07   -.95719E-04
  23  Prefactor     .10000E-03    17.324       -.55175E-06** at limit **
  24  Normalizat    1.1465        .16602       -.59360E-06   -.22220E-03
  25  Prefactor     1.1221        .17085        .28823E-06   -.23490E-03
                               ERR DEF=  .500    
Final values: 
  Prefactor  = 0.0001
  norm       = 0.275895
  norm       = 2.07027
  Prefactor  = 0.0001
  Prefactor  = 0.000100002
  Prefactor  = 0.0001
  norm       = 3.06695
  Prefactor  = 24.0116
  Prefactor  = 0.000100001
  norm       = 0.0001
  norm       = 0.0001
  norm       = 3.07701
  norm       = 24.5299
  Prefactor  = 2.8725
  Prefactor  = 0.0001
  norm       = 0.000100044
  Prefactor  = 106.485
  Prefactor  = 59.4882
  norm       = 9.09254
  Prefactor  = 0.000100003
  Prefactor  = 6.28394
  Prefactor  = 6.84944
  Prefactor  = 0.0001
  Normalizat = 1.14647
  Prefactor  = 1.12213
 **********
 **   18 **HESSE 
 **********

 FCN=   8081.290     FROM HESSE     STATUS=OK           423 CALLS     3379 TOTAL
                     EDM=   .44E-08    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  Prefactor     .10000E-03    1.9323        .12179E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   2  norm          .27589        .24668        .43763E-03   -1.5603    
   3  norm          2.0703        2.7764        .16905E-03   -1.5420    
   4  Prefactor     .10000E-03    2.0707        .12627E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   5  Prefactor     .10000E-03    15.010        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   6  Prefactor     .10000E-03    3.7951        .17045E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   7  norm          3.0670        3.1064        .15371E-03   -1.5358    
   8  Prefactor     24.012        20.546        .81746E-04   -1.4728    
   9  Prefactor     .10000E-03    33.660        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  10  norm          .10000E-03    1.3407        .10078E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  11  norm          .10000E-03    1.1079        .91637E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  12  norm          3.0770        2.8969        .14412E-03   -1.5357    
  13  norm          24.530        21.230        .80872E-04   -1.4717    
  14  Prefactor     2.8725        2.3603        .11913E-03   -1.5369    
  15  Prefactor     .10000E-03    8.4460        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  16  norm          .10004E-03    14.368        .33262E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  17  Prefactor     106.48        60.031        .38971E-04   -1.3640    
  18  Prefactor     59.488        51.055        .52022E-04   -1.4164    
  19  norm          9.0925        7.2780        .13294E-03   -1.5105    
  20  Prefactor     .10000E-03    19.959        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  21  Prefactor     6.2839        14.408        .80069E-03   -1.5207    
  22  Prefactor     6.8494        4.0588        .13200E-03   -1.5184    
  23  Prefactor     .10000E-03    17.812        .36285E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  24  Normalizat    1.1465        .19942        .25452E-03   -.88273    
  25  Prefactor     1.1221        .20543        .27136E-03   -.88762    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 4.43019e-09
Minuit parameter uncertainties:
  1  1.9852e-06
  2  0.24668
  3  2.77659
  4  5.84314e-07
  5  0.000340286
  6  3.26077e-07
  7  3.10651
  8  20.5517
  9  0.000293212
  10  3.89014e-07
  11  7.53641e-08
  12  2.89708
  13  21.2361
  14  2.36038
  15  2.96443e-05
  16  0.0015992
  17  60.0656
  18  51.0922
  19  7.27869
  20  0.000508397
  21  14.416
  22  4.05897
  23  0.000159272
  24  0.199551
  25  0.205571
Done.

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

Extracting fit parameters...

4FGL J1314.7+2348
   Spectrum: LogParabola
308         norm:  2.453e+01  2.124e+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.122e+00  2.056e-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.146e+00  1.996e-01  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Fixed Index): 1.88
Ra Dec: 198.688 23.812
Photon Index (Fixed Index): 1.90 +/- 0.00
Photon Flux (Fixed Index): 2.34e-08 +/- 2.02e-08
Energy Flux (Fixed Index): 1.82e-05 +/- 1.58e-05

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

Saving results to:
/scratch/kocevski/384710/likelihoodResults_623203201_623462401_4FGL_J1314.7+2348_daily_bin1481.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) = 8080.87753108
delta logL = 0.412637829832

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

MINUIT Return Code (Free Index): 0
logL (Free Index) = 8080.86103023
delta logL = 0.429138683473

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'norm      '    21.243       1.0000         .10000E-03   10000.    
     2 'alpha     '    2.4055       1.0000          .0000       5.0000    
     3 'Normalizat'    1.1272       1.0000         .10000E-01   10.000    
     4 'Prefactor '    1.1302       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=   8080.861     FROM MIGRAD    STATUS=CONVERGED     60 CALLS      264 TOTAL
                     EDM=   .79E-08    STRATEGY= 1      ERR MATRIX NOT POS-DEF

  EXT PARAMETER                APPROXIMATE        STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  norm          21.264        325.64        .21726E-02    .46258E-03
   2  alpha         2.4063        3.7026        .35114        .50601E-04
   3  Normalizat    1.1272        .69570E-01    .57965E-01   -.14472E-04
   4  Prefactor     1.1298        .60697E-01    .61147E-01   -.11695E-04
                               ERR DEF=  .500    
Final values: 
  norm       = 21.264
  alpha      = 2.40631
  Normalizat = 1.1272
  Prefactor  = 1.12975
 **********
 **   18 **HESSE 
 **********

 FCN=   8080.861     FROM HESSE     STATUS=OK            33 CALLS      297 TOTAL
                     EDM=   .25E-08    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  norm          21.264        19.397        .43451E-03   -1.4785    
   2  alpha         2.4063        .57555        .12127E-01   -.37486E-01
   3  Normalizat    1.1272        .19282        .25634E-03   -.88883    
   4  Prefactor     1.1298        .20288        .27043E-03   -.88521    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 2.48641e-09
Minuit parameter uncertainties:
  1  19.4028
  2  0.580771
  3  0.192943
  4  0.203016
shell-init: error retrieving current directory: getcwd: cannot access parent directories: No such file or directory
rmdir: failed to remove `/scratch/kocevski/384710': 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) = 8080.8610198
delta logL = 0.429149110255

Extracting fit parameters...

4FGL J1314.7+2348
   Spectrum: LogParabola
308         norm:  2.126e+01  1.940e+01  1.000e-04  1.000e+04 ( 1.000e-13)
309        alpha:  2.406e+00  5.808e-01  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.130e+00  2.030e-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.127e+00  1.929e-01  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Free Index): 2.73
Ra Dec: 198.688 23.812
Photon Index (Free Index): 2.41 +/- 0.58
Photon Flux (Free Index): 4.34e-08 +/- 3.55e-08
Energy Flux (Free Index): 1.54e-05 +/- 1.16e-05

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/384710/cmap_HighResolution_623203201_623462401_4FGL_J1314.7+2348_daily_bin1481.png

Cleaning up...

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

Updating database...

UPDATE lightcurve_data_v2 SET energy_flux_upper_limit='5.27e-05', comment='SUCCESS', photon_flux='2.34e-08', energy_flux2='1.54e-05', photon_flux_error='2.02e-08', dlogl='4.29e-01', energy_flux='1.82e-05', photon_flux2='4.34e-08', job_status='DONE', time_completed='2021-09-07 06:55:44.936813', photon_index_error2='0.58', photon_index2='2.41', ts='1.88', fit_tolerance='1e-08', GAL='1.12', photon_index_error='0.00', photon_flux_upper_limit='6.77e-08', energy_flux_error2='1.16e-05', EG='1.15', time_epoch_completed='1631022944.94', return_code='0', job_id='384710', GAL2='1.13', EG2='1.13', return_code2='0', energy_flux_error='1.58e-05', photon_flux_error2='3.55e-08', ts2='2.73', photon_index='1.90' WHERE bin_id='1481' AND source_name='4FGL J1314.7+2348' AND cadence='daily';

Database successfully updated.


Analysis Complete.


Tue Sep  7 06:55:44 PDT 2021


------------------------------------------------------------
Sender: LSF System <lsf@bullet0223>
Subject: Job 384710: <4FGL_J1314.7+2348_daily_bin1481> in cluster <slac> Done

Job <4FGL_J1314.7+2348_daily_bin1481> was submitted from host <rhel6-64c> by user <kocevski> in cluster <slac> at Tue Sep  7 06:40:33 2021
Job was executed on host(s) <bullet0223>, in queue <medium>, as user <kocevski> in cluster <slac> at Tue Sep  7 06:40:42 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:42 2021
Terminated at Tue Sep  7 06:55:45 2021
Results reported at Tue Sep  7 06:55:45 2021

Your job looked like:

------------------------------------------------------------
# LSBATCH: User input
/nfs/farm/g/glast/g/LCRepository/Likelihood/Scripts/LikelihoodAnalysis.py 4FGL_J1314.7+2348_daily_bin1481 198.688 23.8124 623203201 623462401 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 :                                   803.00 sec.
    Max Memory :                                 1256 MB
    Average Memory :                             287.52 MB
    Total Requested Memory :                     -
    Delta Memory :                               -
    Max Swap :                                   -
    Max Processes :                              5
    Max Threads :                                21
    Run time :                                   903 sec.
    Turnaround time :                            912 sec.

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

