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


Performing analysis on: 4FGL_J1314.7+2348_daily_bin458
RA = 198.688, Dec = 23.8124
tmin = 358041601, tmax = 358300801
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='378442', job_status='RUN', time_executed='2021-09-07 06:22:23.226102', time_epoch_executed='1631020943.23' WHERE source_name='4FGL J1314.7+2348' and cadence='daily' and bin_id='458'

Database successfully updated.
Done.

Creating custom output directory:
/scratch/kocevski/378442

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

Retrieving the FT1 file...

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

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

Retrieving 47 files...
Done.


Merging files...

Checksum keywords updated successfully.

Merged file saved to:
/scratch/kocevski/378442/ft1_4FGL_J1314.7+2348_daily_bin458.fits


Retrieving the FT1 file...

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

Retrieving 47 files...
Done.


Merging files...

Merged file saved to:
/scratch/kocevski/378442/ft2_4FGL_J1314.7+2348_daily_bin458.fits


Selecting the photons:
time -p gtselect infile=/scratch/kocevski/378442/ft1_4FGL_J1314.7+2348_daily_bin458.fits outfile=/scratch/kocevski/378442/ft1_filteredMKT_4FGL_J1314.7+2348_daily_bin458.fits ra=198.688 dec=23.8124 rad=12.0 tmin=358041601.0 tmax=358300801.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.35
sys 0.22

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

Selecting the good time intervals:
time -p gtmktime scfile=/scratch/kocevski/378442/ft2_4FGL_J1314.7+2348_daily_bin458.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/378442/ft1_filteredMKT_4FGL_J1314.7+2348_daily_bin458.fits evtable="EVENTS" outfile="/scratch/kocevski/378442/ft1_filtered_4FGL_J1314.7+2348_daily_bin458.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/378442/ft1_filtered_4FGL_J1314.7+2348_daily_bin458.fits" evtable="EVENTS" scfile=/scratch/kocevski/378442/ft2_4FGL_J1314.7+2348_daily_bin458.fits sctable="SC_DATA" outfile=/scratch/kocevski/378442/ltcube_358041601_358300801_4FGL_J1314.7+2348_daily_bin458.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/378442/ft2_4FGL_J1314.7+2348_daily_bin458.fits
.....................!
real 17.77
user 17.34
sys 0.35

Generating the exposure map:
time -p gtexpmap evfile=/scratch/kocevski/378442/ft1_filtered_4FGL_J1314.7+2348_daily_bin458.fits evtable="EVENTS" scfile=/scratch/kocevski/378442/ft2_4FGL_J1314.7+2348_daily_bin458.fits sctable="SC_DATA" expcube=/scratch/kocevski/378442/ltcube_358041601_358300801_4FGL_J1314.7+2348_daily_bin458.fits outfile=/scratch/kocevski/378442/expmap_358041601_358300801_4FGL_J1314.7+2348_daily_bin458.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/378442/ltcube_358041601_358300801_4FGL_J1314.7+2348_daily_bin458.fits
.....................!
real 195.45
user 188.50
sys 5.27

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/378442/ft1_filtered_4FGL_J1314.7+2348_daily_bin458.fits scfile=/scratch/kocevski/378442/ft2_4FGL_J1314.7+2348_daily_bin458.fits outfile=/scratch/kocevski/378442/cmap_358041601_358300801_4FGL_J1314.7+2348_daily_bin458.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.56
user 0.41
sys 0.14

Creating the high resolution counts map:
time -p gtbin evfile=/scratch/kocevski/378442/ft1_filtered_4FGL_J1314.7+2348_daily_bin458.fits scfile=/scratch/kocevski/378442/ft2_4FGL_J1314.7+2348_daily_bin458.fits outfile=/scratch/kocevski/378442/cmap_HighResolution_358041601_358300801_4FGL_J1314.7+2348_daily_bin458.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/378442/ft1_filtered_4FGL_J1314.7+2348_daily_bin458.fits evtable="EVENTS" scfile=/scratch/kocevski/378442/ft2_4FGL_J1314.7+2348_daily_bin458.fits sctable="SC_DATA" srcmdl=/scratch/kocevski/378442/Model_4FGL_J1314.7+2348_daily_bin458.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/378442/ft1_filtered_4FGL_J1314.7+2348_daily_bin458.fits.....................!
real 55.77
user 54.32
sys 1.26

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

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

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

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'Prefactor '    .10000E-03   1.0000         .10000E-03   10000.    
     2 'norm      '    1.2287       1.0000         .10000E-03   10000.    
     3 'norm      '    .10000E-03   1.0000         .10000E-03   10000.    
     4 'Prefactor '    .86130       1.0000         .10000E-03   10000.    
     5 'Prefactor '    73.033       1.0000         .10000E-03   10000.    
     6 'Prefactor '    3.4843       1.0000         .10000E-03   10000.    
     7 'norm      '    5.8003       1.0000         .10000E-03   10000.    
     8 'Prefactor '    32.636       1.0000         .10000E-03   10000.    
     9 'Prefactor '    .11041E-03   1.0000         .10000E-03   10000.    
    10 'norm      '    1.0863       1.0000         .10000E-03   10000.    
    11 'norm      '    2.6871       1.0000         .10000E-03   10000.    
    12 'norm      '    .10898E-03   1.0000         .10000E-03   10000.    
    13 'norm      '    .10000E-03   1.0000         .10000E-03   10000.    
    14 'Prefactor '    .19386       1.0000         .10000E-03   10000.    
    15 'Prefactor '    .10000E-03   1.0000         .10000E-03   10000.    
    16 'norm      '    8.1815       1.0000         .10000E-03   10000.    
    17 'Prefactor '    .10025E-03   1.0000         .10000E-03   10000.    
    18 'Prefactor '    .10002E-03   1.0000         .10000E-03   10000.    
    19 'norm      '    .10006E-03   1.0000         .10000E-03   10000.    
    20 'Prefactor '    3.9497       1.0000         .10000E-03   10000.    
    21 'Prefactor '    .10000E-03   1.0000         .10000E-03   10000.    
    22 'Prefactor '    7.2119       1.0000         .10000E-03   10000.    
    23 'Prefactor '    .10010E-03   1.0000         .10000E-03   10000.    
    24 'Normalizat'    1.3744       1.0000         .10000E-01   10.000    
    25 'Prefactor '    .91547       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=   6323.167     FROM MIGRAD    STATUS=CONVERGED    583 CALLS     3007 TOTAL
                     EDM=   .12E-08  STRATEGY=1  ERROR MATRIX UNCERTAINTY=   .8%

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor     .10000E-03    2.8942        .73610E-07** at limit **
   2  norm          1.2287        .44162       -.16779E-07   -.76793E-03
   3  norm          .10000E-03    1.7319        .59639E-07** at limit **
   4  Prefactor     .90631        10.818        .27693E-05   -.43928E-03
   5  Prefactor     72.782        98.671       -.14326E-05   -.31781E-03
   6  Prefactor     3.4833        7.8587        .11796E-04    .54231E-04
   7  norm          5.7989        7.2427       -.27924E-07   -.17655E-03
   8  Prefactor     32.634        16.927        .10080E-06   -.28448E-04
   9  Prefactor     .10000E-03    30.467        .23154E-05** at limit **
  10  norm          1.0858        4.2967        .36086E-06   -.22487E-03
  11  norm          2.6906        3.4058       -.59918E-07   -.74989E-03
  12  norm          .10001E-03    5.6370        .11849E-05** at limit **
  13  norm          .10000E-03    8.1836       -.11264E-07** at limit **
  14  Prefactor     .19430        1.8387       -.34239E-06    .38054E-03
  15  Prefactor     .10000E-03    11.075        .18440E-06** at limit **
  16  norm          8.1794        7.1856        .10867E-05   -.39727E-04
  17  Prefactor     .10000E-03    27.420        .31657E-06** at limit **
  18  Prefactor     .10000E-03    47.636        .35632E-06** at limit **
  19  norm          .10000E-03    3.9224        .62798E-07** at limit **
  20  Prefactor     3.9477        14.359        .73943E-06   -.58209E-05
  21  Prefactor     .10000E-03    8.5133        .68426E-07** at limit **
  22  Prefactor     7.2109        5.4954        .22463E-06   -.18102E-04
  23  Prefactor     .10000E-03    7.4830        .39135E-06** at limit **
  24  Normalizat    1.3744        .20227       -.67187E-07   -.37677E-03
  25  Prefactor     .91546        .19274       -.29644E-05   -.19790E-03
                               ERR DEF=  .500    
Final values: 
  Prefactor  = 0.0001
  norm       = 1.22866
  norm       = 0.0001
  Prefactor  = 0.906306
  Prefactor  = 72.7822
  Prefactor  = 3.48334
  norm       = 5.79887
  Prefactor  = 32.634
  Prefactor  = 0.0001
  norm       = 1.08584
  norm       = 2.69062
  norm       = 0.000100007
  norm       = 0.0001
  Prefactor  = 0.194296
  Prefactor  = 0.0001
  norm       = 8.17939
  Prefactor  = 0.0001
  Prefactor  = 0.0001
  norm       = 0.0001
  Prefactor  = 3.94774
  Prefactor  = 0.0001
  Prefactor  = 7.2109
  Prefactor  = 0.0001
  Normalizat = 1.37445
  Prefactor  = 0.91546
 **********
 **   18 **HESSE 
 **********

 FCN=   6323.167     FROM HESSE     STATUS=OK           431 CALLS     3438 TOTAL
                     EDM=   .52E-08    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  Prefactor     .10000E-03    2.9052        .13210E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   2  norm          1.2287        .44101        .30416E-04   -1.5486    
   3  norm          .10000E-03    1.7404        .10218E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   4  Prefactor     .90631        47.521        .49024E-02   -1.5518    
   5  Prefactor     72.782        98.044        .23489E-03   -1.4000    
   6  Prefactor     3.4833        7.8710        .10831E-02   -1.5335    
   7  norm          5.7989        7.1891        .16676E-03   -1.5226    
   8  Prefactor     32.634        16.961        .70141E-04   -1.4565    
   9  Prefactor     .10000E-03    30.564        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  10  norm          1.0858        4.2538        .30750E-03   -1.5500    
  11  norm          2.6906        2.9954        .13831E-03   -1.5380    
  12  norm          .10001E-03    15.547        .32004E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  13  norm          .10000E-03    8.1876        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  14  Prefactor     .19430        8.2296        .20392E-02   -1.5620    
  15  Prefactor     .10000E-03    11.124        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  16  norm          8.1794        7.2000        .70082E-03   -1.5136    
  17  Prefactor     .10000E-03    27.466        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  18  Prefactor     .10000E-03    47.678        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  19  norm          .10000E-03    3.9309        .15372E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  20  Prefactor     3.9477        14.375        .20297E-03   -1.5311    
  21  Prefactor     .10000E-03    8.5212        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  22  Prefactor     7.2109        5.5088        .14936E-03   -1.5171    
  23  Prefactor     .10000E-03    7.5309        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  24  Normalizat    1.3744        .24498        .24690E-03   -.81371    
  25  Prefactor     .91546        .23090        .29412E-03   -.95603    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 5.24612e-09
Minuit parameter uncertainties:
  1  8.63753e-07
  2  0.441008
  3  2.87096e-07
  4  13.1356
  5  98.2627
  6  7.87332
  7  7.19015
  8  16.9631
  9  0.000104365
  10  4.25498
  11  2.99554
  12  0.000675381
  13  2.29901e-06
  14  2.52873
  15  1.69642e-05
  16  7.20081
  17  1.91957e-05
  18  0.000150938
  19  5.99323e-06
  20  14.3878
  21  3.53063e-06
  22  5.50918
  23  1.88404e-05
  24  0.245187
  25  0.231151
Done.

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

Extracting fit parameters...

4FGL J1314.7+2348
   Spectrum: LogParabola
308         norm:  1.000e-04  2.299e-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:  9.155e-01  2.312e-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.374e+00  2.452e-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: 3.97e-08 ph cm-2 s-1
Energy Flux Upper Limit: 3.09e-05 MeV cm-2 s-1

Saving results to:
/scratch/kocevski/378442/likelihoodResults_358041601_358300801_4FGL_J1314.7+2348_daily_bin458.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) = 6323.16754493
delta logL = -0.000576410114263

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

MINUIT Return Code (Free Index): 0
logL (Free Index) = 6323.16696845
delta logL = 7.41547410144e-08

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'norm      '    .10001E-03   1.0000         .10000E-03   10000.    
     2 'alpha     '    1.9142       1.0000          .0000       5.0000    
     3 'Normalizat'    1.3745       1.0000         .10000E-01   10.000    
     4 'Prefactor '    .91544       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=   6323.167     FROM MIGRAD    STATUS=CONVERGED     52 CALLS      208 TOTAL
                     EDM=   .12E-09    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  norm          .10000E-03    9.9619        .90712E-02** at limit **
   2  alpha         1.9329        3.4271        .42679       -.10955E-04
   3  Normalizat    1.3745        .19008        .55836E-01    .21967E-04
   4  Prefactor     .91546        .19025        .66492E-01    .18790E-04
                               ERR DEF=  .500    
Final values: 
  norm       = 0.0001
  alpha      = 1.93288
  Normalizat = 1.37445
  Prefactor  = 0.915458
 **********
 **   18 **HESSE 
 **********

 FCN=   6323.167     FROM HESSE     STATUS=OK            33 CALLS      241 TOTAL
                     EDM=   .12E-09    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  norm          .10000E-03    8.4793        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   2  alpha         1.9329        3.3964        .50000       -.22884    
   3  Normalizat    1.3745        .22830        .24690E-03   -.81370    
   4  Prefactor     .91546        .22831        .29412E-03   -.95603    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 1.24906e-10
Minuit parameter uncertainties:
  1  5.19156e-05
  2  2.4485
  3  0.228471
  4  0.228545
shell-init: error retrieving current directory: getcwd: cannot access parent directories: No such file or directory
rmdir: failed to remove `/scratch/kocevski/378442': 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) = 6323.16696836
delta logL = 1.63801814779e-07

Extracting fit parameters...

4FGL J1314.7+2348
   Spectrum: LogParabola
308         norm:  1.000e-04  5.192e-05  1.000e-04  1.000e+04 ( 1.000e-13)
309        alpha:  1.933e+00  2.448e+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:  9.155e-01  2.285e-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.374e+00  2.285e-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/378442/cmap_HighResolution_358041601_358300801_4FGL_J1314.7+2348_daily_bin458.png

Cleaning up...

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

Updating database...

UPDATE lightcurve_data_v2 SET energy_flux_upper_limit='3.09e-05', job_status='DONE', photon_flux_upper_limit='3.97e-08', time_completed='2021-09-07 06:34:20.594240', job_id='378442', GAL2='0.92', fit_tolerance='1e-08', EG2='1.37', EG='1.37', time_epoch_completed='1631021660.59', return_code2='0', ts='-0.00', comment='SUCCESS', return_code='0', GAL='0.92', dlogl='1.64e-07', ts2='-0.00', photon_index_error='0.00', photon_index='1.90' WHERE bin_id='458' AND source_name='4FGL J1314.7+2348' AND cadence='daily';

Database successfully updated.


Analysis Complete.


Tue Sep  7 06:34:20 PDT 2021


------------------------------------------------------------
Sender: LSF System <lsf@bullet0052>
Subject: Job 378442: <4FGL_J1314.7+2348_daily_bin458> in cluster <slac> Done

Job <4FGL_J1314.7+2348_daily_bin458> was submitted from host <rhel6-64m> by user <kocevski> in cluster <slac> at Tue Sep  7 06:20:47 2021
Job was executed on host(s) <bullet0052>, in queue <medium>, as user <kocevski> in cluster <slac> at Tue Sep  7 06:22:10 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:22:10 2021
Terminated at Tue Sep  7 06:34:21 2021
Results reported at Tue Sep  7 06:34:21 2021

Your job looked like:

------------------------------------------------------------
# LSBATCH: User input
/nfs/farm/g/glast/g/LCRepository/Likelihood/Scripts/LikelihoodAnalysis.py 4FGL_J1314.7+2348_daily_bin458 198.688 23.8124 358041601 358300801 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 :                                   712.33 sec.
    Max Memory :                                 1017 MB
    Average Memory :                             333.31 MB
    Total Requested Memory :                     -
    Delta Memory :                               -
    Max Swap :                                   -
    Max Processes :                              5
    Max Threads :                                21
    Run time :                                   730 sec.
    Turnaround time :                            814 sec.

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

