/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 148 seconds before starting...
Proceeding.

Importing modules...
This is make3FGLxml version 01r0.
The default diffuse model files and names are for pass 8 and assume you have v10r00p05 of the Fermi Science Tools or higher.
This is make4FGLxml version 01r04.
The default diffuse model files and names are for pass 8 and 4FGL and assume you have v11r5p3 of the Fermi Science Tools or higher.

WARNING: version mismatch between CFITSIO header (v3.43) and linked library (v3.41).

/nfs/farm/g/glast/g/LCRepository/bin/miniconda2/envs/fermitools_v1.0.5/lib/python2.7/site-packages/matplotlib/cbook/deprecation.py:106: MatplotlibDeprecationWarning: The mpl_toolkits.axes_grid module was deprecated in version 2.1. Use mpl_toolkits.axes_grid1 and mpl_toolkits.axisartist provies the same functionality instead.
  warnings.warn(message, mplDeprecation, stacklevel=1)

WARNING: version mismatch between CFITSIO header (v3.43) and linked library (v3.41).

number of points = 7397
number of fields = 22
No RA_SUN column yet. Adding RA_SUN/DEC_SUN columns.
Done.


Performing analysis on: 4FGL_J1314.7+2348_daily_bin28
RA = 198.688, Dec = 23.8124
tmin = 246585601, tmax = 246844801
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='375541', job_status='RUN', time_executed='2021-09-07 06:14:09.659478', time_epoch_executed='1631020449.66' WHERE source_name='4FGL J1314.7+2348' and cadence='daily' and bin_id='28'

Database successfully updated.
Done.

Creating custom output directory:
/scratch/kocevski/375541

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

Retrieving the FT1 file...

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

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

Retrieving 47 files...
Done.


Merging files...

Checksum keywords updated successfully.

Merged file saved to:
/scratch/kocevski/375541/ft1_4FGL_J1314.7+2348_daily_bin28.fits


Retrieving the FT1 file...

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

Retrieving 47 files...
Done.


Merging files...

Merged file saved to:
/scratch/kocevski/375541/ft2_4FGL_J1314.7+2348_daily_bin28.fits


Selecting the photons:
time -p gtselect infile=/scratch/kocevski/375541/ft1_4FGL_J1314.7+2348_daily_bin28.fits outfile=/scratch/kocevski/375541/ft1_filteredMKT_4FGL_J1314.7+2348_daily_bin28.fits ra=198.688 dec=23.8124 rad=12.0 tmin=246585601.0 tmax=246844801.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 1.49
user 1.27
sys 0.17

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

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

Generating the livetime cube:
time -p gtltcube evfile="/scratch/kocevski/375541/ft1_filtered_4FGL_J1314.7+2348_daily_bin28.fits" evtable="EVENTS" scfile=/scratch/kocevski/375541/ft2_4FGL_J1314.7+2348_daily_bin28.fits sctable="SC_DATA" outfile=/scratch/kocevski/375541/ltcube_246585601_246844801_4FGL_J1314.7+2348_daily_bin28.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/375541/ft2_4FGL_J1314.7+2348_daily_bin28.fits
.....................!
real 16.52
user 16.13
sys 0.33

Generating the exposure map:
time -p gtexpmap evfile=/scratch/kocevski/375541/ft1_filtered_4FGL_J1314.7+2348_daily_bin28.fits evtable="EVENTS" scfile=/scratch/kocevski/375541/ft2_4FGL_J1314.7+2348_daily_bin28.fits sctable="SC_DATA" expcube=/scratch/kocevski/375541/ltcube_246585601_246844801_4FGL_J1314.7+2348_daily_bin28.fits outfile=/scratch/kocevski/375541/expmap_246585601_246844801_4FGL_J1314.7+2348_daily_bin28.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/375541/ltcube_246585601_246844801_4FGL_J1314.7+2348_daily_bin28.fits
.....................!
real 192.40
user 187.26
sys 4.69

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/375541/ft1_filtered_4FGL_J1314.7+2348_daily_bin28.fits scfile=/scratch/kocevski/375541/ft2_4FGL_J1314.7+2348_daily_bin28.fits outfile=/scratch/kocevski/375541/cmap_246585601_246844801_4FGL_J1314.7+2348_daily_bin28.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.76
user 0.41
sys 0.16

Creating the high resolution counts map:
time -p gtbin evfile=/scratch/kocevski/375541/ft1_filtered_4FGL_J1314.7+2348_daily_bin28.fits scfile=/scratch/kocevski/375541/ft2_4FGL_J1314.7+2348_daily_bin28.fits outfile=/scratch/kocevski/375541/cmap_HighResolution_246585601_246844801_4FGL_J1314.7+2348_daily_bin28.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.40
sys 0.15

Computing the diffuse response:
time -p gtdiffrsp evfile=/scratch/kocevski/375541/ft1_filtered_4FGL_J1314.7+2348_daily_bin28.fits evtable="EVENTS" scfile=/scratch/kocevski/375541/ft2_4FGL_J1314.7+2348_daily_bin28.fits sctable="SC_DATA" srcmdl=/scratch/kocevski/375541/Model_4FGL_J1314.7+2348_daily_bin28.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/375541/ft1_filtered_4FGL_J1314.7+2348_daily_bin28.fits.....................!
real 71.39
user 70.02
sys 1.18

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

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

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

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'Prefactor '    2.7692       1.0000         .10000E-03   10000.    
     2 'norm      '    .10138       1.0000         .10000E-03   10000.    
     3 'norm      '    .10000E-03   1.0000         .10000E-03   10000.    
     4 'Prefactor '    31.360       1.0000         .10000E-03   10000.    
     5 'Prefactor '    .10001E-03   1.0000         .10000E-03   10000.    
     6 'Prefactor '    6.8142       1.0000         .10000E-03   10000.    
     7 'norm      '    .10001E-03   1.0000         .10000E-03   10000.    
     8 'Prefactor '    7.1885       1.0000         .10000E-03   10000.    
     9 'Prefactor '    .10005E-03   1.0000         .10000E-03   10000.    
    10 'norm      '    4.7849       1.0000         .10000E-03   10000.    
    11 'norm      '    9.6869       1.0000         .10000E-03   10000.    
    12 'norm      '    .10000E-03   1.0000         .10000E-03   10000.    
    13 'norm      '    13.112       1.0000         .10000E-03   10000.    
    14 'Prefactor '    .10002E-03   1.0000         .10000E-03   10000.    
    15 'Prefactor '    16.160       1.0000         .10000E-03   10000.    
    16 'norm      '    .10031E-03   1.0000         .10000E-03   10000.    
    17 'Prefactor '    46.288       1.0000         .10000E-03   10000.    
    18 'Prefactor '    .10002E-03   1.0000         .10000E-03   10000.    
    19 'norm      '    13.077       1.0000         .10000E-03   10000.    
    20 'Prefactor '    21.426       1.0000         .10000E-03   10000.    
    21 'Prefactor '    5.4827       1.0000         .10000E-03   10000.    
    22 'Prefactor '    1.1540       1.0000         .10000E-03   10000.    
    23 'Prefactor '    .73400E-02   1.0000         .10000E-03   10000.    
    24 'Normalizat'    1.1093       1.0000         .10000E-01   10.000    
    25 'Prefactor '    .95786       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=   9298.760     FROM MIGRAD    STATUS=CONVERGED    567 CALLS     2949 TOTAL
                     EDM=   .11E-08  STRATEGY=1  ERROR MATRIX UNCERTAINTY=   .7%

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor     2.7692        3.6315        .17124E-05   -.42570E-03
   2  norm          .10137        .17367       -.17515E-06   -.60444E-02
   3  norm          .10000E-03    1.3519       -.13940E-06** at limit **
   4  Prefactor     31.360        11.140        .23437E-06   -.79579E-05
   5  Prefactor     .10000E-03    19.802        .10855E-05** at limit **
   6  Prefactor     6.8143        4.9421       -.89592E-06   -.13400E-03
   7  norm          .10000E-03    1.6585       -.15263E-06** at limit **
   8  Prefactor     7.1885        8.8026       -.22667E-06   -.10201E-03
   9  Prefactor     .10000E-03    25.306        .11351E-04** at limit **
  10  norm          4.7849        2.9210       -.68068E-09   -.12727E-03
  11  norm          9.6870        4.1106        .41279E-06   -.53289E-03
  12  norm          .10000E-03    3.3234       -.20024E-07** at limit **
  13  norm          13.112        10.624       -.34418E-07    .44653E-05
  14  Prefactor     .10000E-03    2.0655       -.12509E-06** at limit **
  15  Prefactor     16.161        11.759       -.30456E-06   -.31308E-04
  16  norm          .10000E-03    2.8982        .25024E-06** at limit **
  17  Prefactor     46.287        31.657       -.12213E-05    .89333E-06
  18  Prefactor     .10000E-03    24.085       -.12518E-04** at limit **
  19  norm          13.076        7.1158       -.31369E-05   -.96077E-04
  20  Prefactor     21.419        18.252        .16167E-05   -.27868E-04
  21  Prefactor     5.4839        28.882        .45659E-05   -.31509E-04
  22  Prefactor     1.1542        2.2412       -.70283E-06   -.12560E-02
  23  Prefactor     .10012E-03    3.1639       -.15306E-06** at limit **
  24  Normalizat    1.1093        .15157        .38694E-06   -.48208E-04
  25  Prefactor     .95784        .14820       -.52650E-07    .58928E-05
                               ERR DEF=  .500    
Final values: 
  Prefactor  = 2.76922
  norm       = 0.101369
  norm       = 0.0001
  Prefactor  = 31.3597
  Prefactor  = 0.0001
  Prefactor  = 6.81434
  norm       = 0.0001
  Prefactor  = 7.18851
  Prefactor  = 0.0001
  norm       = 4.78488
  norm       = 9.687
  norm       = 0.0001
  norm       = 13.1117
  Prefactor  = 0.0001
  Prefactor  = 16.1606
  norm       = 0.0001
  Prefactor  = 46.2867
  Prefactor  = 0.0001
  norm       = 13.0763
  Prefactor  = 21.4194
  Prefactor  = 5.48394
  Prefactor  = 1.15421
  Prefactor  = 0.000100124
  Normalizat = 1.10934
  Prefactor  = 0.957838
 **********
 **   18 **HESSE 
 **********

 FCN=   9298.760     FROM HESSE     STATUS=OK           445 CALLS     3394 TOTAL
                     EDM=   .18E-08    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  Prefactor     2.7692        3.5797        .20225E-03   -1.5375    
   2  norm          .10137        .16207        .51390E-03   -1.5644    
   3  norm          .10000E-03    1.3641        .10942E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   4  Prefactor     31.360        11.150        .71551E-04   -1.4587    
   5  Prefactor     .10000E-03    19.808        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   6  Prefactor     6.8143        4.9488        .15370E-03   -1.5186    
   7  norm          .10000E-03    1.6786        .12122E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   8  Prefactor     7.1885        8.8071        .14961E-03   -1.5172    
   9  Prefactor     .10000E-03    25.116        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  10  norm          4.7849        2.9225        .12402E-03   -1.5270    
  11  norm          9.6870        4.0903        .11679E-03   -1.5085    
  12  norm          .10000E-03    3.3348        .17112E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  13  norm          13.112        10.623        .11062E-03   -1.4984    
  14  Prefactor     .10000E-03    2.1076        .26930E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  15  Prefactor     16.161        11.731        .99632E-04   -1.4904    
  16  norm          .10000E-03    2.9427        .16021E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  17  Prefactor     46.287        31.692        .58933E-04   -1.4346    
  18  Prefactor     .10000E-03    23.891        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  19  norm          13.076        7.1301        .11077E-03   -1.4985    
  20  Prefactor     21.419        18.106        .86531E-04   -1.4782    
  21  Prefactor     5.4839        28.280        .17160E-03   -1.5240    
  22  Prefactor     1.1542        2.2275        .19740E-03   -1.5493    
  23  Prefactor     .10012E-03    5.0053        .61814E-01   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  24  Normalizat    1.1093        .18000        .24429E-03   -.89453    
  25  Prefactor     .95784        .17520        .26814E-03   -.94148    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 1.77112e-09
Minuit parameter uncertainties:
  1  3.57998
  2  0.162071
  3  8.01472e-06
  4  11.1506
  5  1.00634e-05
  6  4.94911
  7  6.32377e-06
  8  8.80868
  9  0.000119978
  10  2.92257
  11  4.09042
  12  2.07603e-05
  13  10.6242
  14  9.26806e-06
  15  11.7331
  16  5.82546e-05
  17  31.704
  18  2.47586e-06
  19  7.13052
  20  18.1106
  21  24.9252
  22  2.22763
  23  0.00157489
  24  0.1801
  25  0.175299
Done.

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

Extracting fit parameters...

4FGL J1314.7+2348
   Spectrum: LogParabola
308         norm:  1.311e+01  1.062e+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:  9.578e-01  1.753e-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.109e+00  1.801e-01  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Fixed Index): 4.29
Ra Dec: 198.688 23.812
Photon Index (Fixed Index): 1.90 +/- 0.00
Photon Flux (Fixed Index): 1.25e-08 +/- 1.01e-08
Energy Flux (Fixed Index): 9.73e-06 +/- 7.88e-06

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) = 9298.39716671
delta logL = 0.362513054914

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

MINUIT Return Code (Free Index): 0
logL (Free Index) = 9298.3967384
delta logL = 0.362941370806

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'norm      '    13.112       1.0000         .10000E-03   10000.    
     2 'alpha     '    1.3885       1.0000          .0000       5.0000    
     3 'Normalizat'    1.1151       1.0000         .10000E-01   10.000    
     4 'Prefactor '    .95453       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=   9298.397     FROM MIGRAD    STATUS=CONVERGED     56 CALLS      205 TOTAL
                     EDM=   .49E-10    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  norm          13.127        11.273        .27655E-02   -.16378E-04
   2  alpha         1.3887        .49942        .48060       -.31749E-04
   3  Normalizat    1.1151        .14204        .55121E-01   -.46782E-04
   4  Prefactor     .95453        .14652        .45696E-01   -.37030E-04
                               ERR DEF=  .500    
Final values: 
  norm       = 13.1266
  alpha      = 1.3887
  Normalizat = 1.11505
  Prefactor  = 0.954528
 **********
 **   18 **HESSE 
 **********

 FCN=   9298.397     FROM HESSE     STATUS=OK            33 CALLS      238 TOTAL
                     EDM=   .97E-09    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  norm          13.127        10.864        .11062E-03   -1.4983    
   2  alpha         1.3887        .54310        .19514E-01   -.46064    
   3  Normalizat    1.1151        .16619        .24373E-03   -.89270    
   4  Prefactor     .95453        .17175        .26852E-03   -.94261    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 9.73081e-10
Minuit parameter uncertainties:
  1  10.8658
  2  0.548572
  3  0.166269
  4  0.171846
shell-init: error retrieving current directory: getcwd: cannot access parent directories: No such file or directory
rmdir: failed to remove `/scratch/kocevski/375541': 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) = 9298.39673747
delta logL = 0.362942298781

Extracting fit parameters...

4FGL J1314.7+2348
   Spectrum: LogParabola
308         norm:  1.313e+01  1.087e+01  1.000e-04  1.000e+04 ( 1.000e-13)
309        alpha:  1.389e+00  5.486e-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:  9.545e-01  1.718e-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.115e+00  1.663e-01  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Free Index): 5.02
Ra Dec: 198.688 23.812
Photon Index (Free Index): 1.39 +/- 0.55
Photon Flux (Free Index): 7.78e-09 +/- 7.37e-09
Energy Flux (Free Index): 2.02e-05 +/- 2.46e-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/375541/cmap_HighResolution_246585601_246844801_4FGL_J1314.7+2348_daily_bin28.png

Cleaning up...

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

Updating database...

UPDATE lightcurve_data_v2 SET comment='SUCCESS', photon_flux='1.25e-08', energy_flux2='2.02e-05', photon_flux_error='1.01e-08', dlogl='3.63e-01', energy_flux='9.73e-06', photon_flux2='7.78e-09', job_status='DONE', time_completed='2021-09-07 06:27:01.418028', photon_index_error2='0.55', photon_index2='1.39', ts='4.29', fit_tolerance='1e-08', GAL='0.96', photon_index_error='0.00', energy_flux_error2='2.46e-05', EG='1.11', time_epoch_completed='1631021221.42', return_code='0', job_id='375541', GAL2='0.95', EG2='1.12', return_code2='0', energy_flux_error='7.88e-06', photon_flux_error2='7.37e-09', ts2='5.02', photon_index='1.90' WHERE bin_id='28' AND source_name='4FGL J1314.7+2348' AND cadence='daily';

Database successfully updated.


Analysis Complete.


Tue Sep  7 06:27:01 PDT 2021


------------------------------------------------------------
Sender: LSF System <lsf@bullet0263>
Subject: Job 375541: <4FGL_J1314.7+2348_daily_bin28> in cluster <slac> Done

Job <4FGL_J1314.7+2348_daily_bin28> was submitted from host <rhel6-64k> by user <kocevski> in cluster <slac> at Tue Sep  7 06:10:35 2021
Job was executed on host(s) <bullet0263>, in queue <medium>, as user <kocevski> in cluster <slac> at Tue Sep  7 06:11:32 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:11:32 2021
Terminated at Tue Sep  7 06:27:02 2021
Results reported at Tue Sep  7 06:27:02 2021

Your job looked like:

------------------------------------------------------------
# LSBATCH: User input
/nfs/farm/g/glast/g/LCRepository/Likelihood/Scripts/LikelihoodAnalysis.py 4FGL_J1314.7+2348_daily_bin28 198.688 23.8124 246585601 246844801 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 :                                   767.08 sec.
    Max Memory :                                 1256 MB
    Average Memory :                             321.81 MB
    Total Requested Memory :                     -
    Delta Memory :                               -
    Max Swap :                                   -
    Max Processes :                              5
    Max Threads :                                21
    Run time :                                   929 sec.
    Turnaround time :                            987 sec.

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

