/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 138 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 = 7560
number of fields = 22
No RA_SUN column yet. Adding RA_SUN/DEC_SUN columns.
Done.


Performing analysis on: 4FGL_J1314.7+2348_daily_bin56
RA = 198.688, Dec = 23.8124
tmin = 253843201, tmax = 254102401
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='375582', job_status='RUN', time_executed='2021-09-07 06:14:11.615670', time_epoch_executed='1631020451.62' WHERE source_name='4FGL J1314.7+2348' and cadence='daily' and bin_id='56'

Database successfully updated.
Done.

Creating custom output directory:
/scratch/kocevski/375582

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

Retrieving the FT1 file...

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

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

Retrieving 47 files...
Done.


Merging files...

Checksum keywords updated successfully.

Merged file saved to:
/scratch/kocevski/375582/ft1_4FGL_J1314.7+2348_daily_bin56.fits


Retrieving the FT1 file...

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

Retrieving 47 files...
Done.


Merging files...

Merged file saved to:
/scratch/kocevski/375582/ft2_4FGL_J1314.7+2348_daily_bin56.fits


Selecting the photons:
time -p gtselect infile=/scratch/kocevski/375582/ft1_4FGL_J1314.7+2348_daily_bin56.fits outfile=/scratch/kocevski/375582/ft1_filteredMKT_4FGL_J1314.7+2348_daily_bin56.fits ra=198.688 dec=23.8124 rad=12.0 tmin=253843201.0 tmax=254102401.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.54
user 1.32
sys 0.19

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

Selecting the good time intervals:
time -p gtmktime scfile=/scratch/kocevski/375582/ft2_4FGL_J1314.7+2348_daily_bin56.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/375582/ft1_filteredMKT_4FGL_J1314.7+2348_daily_bin56.fits evtable="EVENTS" outfile="/scratch/kocevski/375582/ft1_filtered_4FGL_J1314.7+2348_daily_bin56.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.56
user 0.35
sys 0.17

Generating the livetime cube:
time -p gtltcube evfile="/scratch/kocevski/375582/ft1_filtered_4FGL_J1314.7+2348_daily_bin56.fits" evtable="EVENTS" scfile=/scratch/kocevski/375582/ft2_4FGL_J1314.7+2348_daily_bin56.fits sctable="SC_DATA" outfile=/scratch/kocevski/375582/ltcube_253843201_254102401_4FGL_J1314.7+2348_daily_bin56.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/375582/ft2_4FGL_J1314.7+2348_daily_bin56.fits
.....................!
real 18.89
user 18.43
sys 0.39

Generating the exposure map:
time -p gtexpmap evfile=/scratch/kocevski/375582/ft1_filtered_4FGL_J1314.7+2348_daily_bin56.fits evtable="EVENTS" scfile=/scratch/kocevski/375582/ft2_4FGL_J1314.7+2348_daily_bin56.fits sctable="SC_DATA" expcube=/scratch/kocevski/375582/ltcube_253843201_254102401_4FGL_J1314.7+2348_daily_bin56.fits outfile=/scratch/kocevski/375582/expmap_253843201_254102401_4FGL_J1314.7+2348_daily_bin56.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/375582/ltcube_253843201_254102401_4FGL_J1314.7+2348_daily_bin56.fits
.....................!
real 193.47
user 187.39
sys 5.39

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/375582/ft1_filtered_4FGL_J1314.7+2348_daily_bin56.fits scfile=/scratch/kocevski/375582/ft2_4FGL_J1314.7+2348_daily_bin56.fits outfile=/scratch/kocevski/375582/cmap_253843201_254102401_4FGL_J1314.7+2348_daily_bin56.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.57
user 0.41
sys 0.14

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

Computing the diffuse response:
time -p gtdiffrsp evfile=/scratch/kocevski/375582/ft1_filtered_4FGL_J1314.7+2348_daily_bin56.fits evtable="EVENTS" scfile=/scratch/kocevski/375582/ft2_4FGL_J1314.7+2348_daily_bin56.fits sctable="SC_DATA" srcmdl=/scratch/kocevski/375582/Model_4FGL_J1314.7+2348_daily_bin56.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/375582/ft1_filtered_4FGL_J1314.7+2348_daily_bin56.fits.....................!
real 46.04
user 44.64
sys 1.22

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

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

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

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'Prefactor '    3.7923       1.0000         .10000E-03   10000.    
     2 'norm      '    .35121       1.0000         .10000E-03   10000.    
     3 'norm      '    1.9504       1.0000         .10000E-03   10000.    
     4 'Prefactor '    29.633       1.0000         .10000E-03   10000.    
     5 'Prefactor '    .19117E-02   1.0000         .10000E-03   10000.    
     6 'Prefactor '    6.2224       1.0000         .10000E-03   10000.    
     7 'norm      '    .10001E-03   1.0000         .10000E-03   10000.    
     8 'Prefactor '    3.9955       1.0000         .10000E-03   10000.    
     9 'Prefactor '    43.936       1.0000         .10000E-03   10000.    
    10 'norm      '    8.0507       1.0000         .10000E-03   10000.    
    11 'norm      '    2.1679       1.0000         .10000E-03   10000.    
    12 'norm      '    16.561       1.0000         .10000E-03   10000.    
    13 'norm      '    32.580       1.0000         .10000E-03   10000.    
    14 'Prefactor '    .10001E-03   1.0000         .10000E-03   10000.    
    15 'Prefactor '    21.773       1.0000         .10000E-03   10000.    
    16 'norm      '    .30449E-02   1.0000         .10000E-03   10000.    
    17 'Prefactor '    .11165E-03   1.0000         .10000E-03   10000.    
    18 'Prefactor '    .20477E-03   1.0000         .10000E-03   10000.    
    19 'norm      '    9.2955       1.0000         .10000E-03   10000.    
    20 'Prefactor '    .53636E-03   1.0000         .10000E-03   10000.    
    21 'Prefactor '    .32450E-03   1.0000         .10000E-03   10000.    
    22 'Prefactor '    1.3999       1.0000         .10000E-03   10000.    
    23 'Prefactor '    .22488E-02   1.0000         .10000E-03   10000.    
    24 'Normalizat'    1.2446       1.0000         .10000E-01   10.000    
    25 'Prefactor '    .71784       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=   5184.523     FROM MIGRAD    STATUS=CONVERGED    643 CALLS     2617 TOTAL
                     EDM=   .54E-09  STRATEGY=1  ERROR MATRIX UNCERTAINTY=  2.3%

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor     3.7909        4.1023       -.77383E-08    .62276E-05
   2  norm          .35103        .23818        .18831E-08    .26003E-04
   3  norm          1.9456        4.7258        .11803E-06   -.11636E-04
   4  Prefactor     29.634        15.375        .43747E-07    .75788E-05
   5  Prefactor     .10000E-03    30.621        .84599E-06** at limit **
   6  Prefactor     6.1754        6.2196        .37828E-07    .72091E-05
   7  norm          .10000E-03    1.7247       -.17987E-06** at limit **
   8  Prefactor     3.9389        12.979        .29324E-06    .42720E-05
   9  Prefactor     43.022        31.661       -.11084E-06    .44435E-04
  10  norm          8.0508        4.6579        .64972E-07    .18753E-04
  11  norm          2.0488        7.9208        .19278E-05   -.31008E-03
  12  norm          16.902        14.669       -.88152E-06    .10920E-03
  13  norm          32.253        23.363        .55216E-07   -.46123E-04
  14  Prefactor     .10000E-03    2.0188       -.13739E-05** at limit **
  15  Prefactor     22.189        19.183        .17873E-05   -.90305E-04
  16  norm          .10004E-03    9.6560       -.42230E-05** at limit **
  17  Prefactor     .10000E-03    19.797       -.26724E-06** at limit **
  18  Prefactor     .10000E-03    273.20        .43800E-06** at limit **
  19  norm          9.3175        8.0833        .10727E-05    .60345E-04
  20  Prefactor     .10000E-03    6.8069       -.32725E-06** at limit **
  21  Prefactor     .10000E-03    13.166       -.11667E-06** at limit **
  22  Prefactor     1.3889        5.3924        .34051E-05   -.41228E-03
  23  Prefactor     .10000E-03    6.7635        .59120E-06** at limit **
  24  Normalizat    1.2455        .19743       -.59767E-06    .13741E-04
  25  Prefactor     .71733        .18539        .35707E-06    .12029E-03
                               ERR DEF=  .500    
Final values: 
  Prefactor  = 3.79093
  norm       = 0.351029
  norm       = 1.94555
  Prefactor  = 29.6341
  Prefactor  = 0.0001
  Prefactor  = 6.17542
  norm       = 0.0001
  Prefactor  = 3.93894
  Prefactor  = 43.0217
  norm       = 8.0508
  norm       = 2.04884
  norm       = 16.9022
  norm       = 32.2533
  Prefactor  = 0.0001
  Prefactor  = 22.1891
  norm       = 0.000100044
  Prefactor  = 0.0001
  Prefactor  = 0.000100001
  norm       = 9.31745
  Prefactor  = 0.0001
  Prefactor  = 0.0001
  Prefactor  = 1.38886
  Prefactor  = 0.0001
  Normalizat = 1.24555
  Prefactor  = 0.717325
 **********
 **   18 **HESSE 
 **********

 FCN=   5184.523     FROM HESSE     STATUS=OK           435 CALLS     3052 TOTAL
                     EDM=   .29E-08    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  Prefactor     3.7909        4.0990        .14668E-03   -1.5319    
   2  norm          .35103        .23661        .28048E-04   -1.5589    
   3  norm          1.9456        4.6950        .23074E-03   -1.5429    
   4  Prefactor     29.634        15.372        .73601E-04   -1.4619    
   5  Prefactor     .10000E-03    30.608        .20269E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   6  Prefactor     6.1754        6.2153        .16093E-03   -1.5211    
   7  norm          .10000E-03    1.7291        .92265E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   8  Prefactor     3.9389        12.987        .20177E-03   -1.5311    
   9  Prefactor     43.022        31.669        .60483E-04   -1.4395    
  10  norm          8.0508        4.6578        .11283E-03   -1.5140    
  11  norm          2.0488        8.4499        .11441E-02   -1.5422    
  12  norm          16.902        15.026        .98420E-04   -1.4885    
  13  norm          32.253        23.207        .70202E-04   -1.4572    
  14  Prefactor     .10000E-03    2.0525        .10002E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  15  Prefactor     22.189        19.299        .85841E-04   -1.4766    
  16  norm          .10004E-03    20.284        .34313E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  17  Prefactor     .10000E-03    19.836        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  18  Prefactor     .10000E-03    276.05        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  19  norm          9.3175        7.8010        .13145E-03   -1.5097    
  20  Prefactor     .10000E-03    6.8252        .18353E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  21  Prefactor     .10000E-03    13.229        .21356E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  22  Prefactor     1.3889        5.5168        .15544E-02   -1.5472    
  23  Prefactor     .10000E-03    48.331        .35309E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  24  Normalizat    1.2455        .23084        .22032E-03   -.85207    
  25  Prefactor     .71733        .21766        .28662E-03   -1.0285    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 2.9326e-09
Minuit parameter uncertainties:
  1  4.0993
  2  0.236613
  3  4.69592
  4  15.3739
  5  7.73224e-05
  6  6.2159
  7  6.87396e-07
  8  12.9961
  9  31.6818
  10  4.65805
  11  8.32348
  12  15.0289
  13  23.2137
  14  2.75004e-06
  15  19.304
  16  0.00188967
  17  4.07674e-05
  18  0.000776669
  19  7.80182
  20  1.13048e-05
  21  2.71099e-05
  22  5.51886
  23  0.000222445
  24  0.23103
  25  0.217914
Done.

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

Extracting fit parameters...

4FGL J1314.7+2348
   Spectrum: LogParabola
308         norm:  3.225e+01  2.321e+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:  7.173e-01  2.179e-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.246e+00  2.310e-01  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Fixed Index): 4.67
Ra Dec: 198.688 23.812
Photon Index (Fixed Index): 1.90 +/- 0.00
Photon Flux (Fixed Index): 3.07e-08 +/- 2.21e-08
Energy Flux (Fixed Index): 2.39e-05 +/- 1.72e-05

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) = 5184.52053649
delta logL = 0.00235227299072

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

MINUIT Return Code (Free Index): 0
logL (Free Index) = 5184.52033161
delta logL = 0.00255715214189

Fit tolerance = 1e-08

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

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

 FCN=   5184.520     FROM MIGRAD    STATUS=CONVERGED     93 CALLS      269 TOTAL
                     EDM=   .21E-09    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  norm          31.828        23.842        .71030E-04    .24008E-04
   2  alpha         1.9384        .59251        .12957E-01    .60951E-04
   3  Normalizat    1.2440        .21153        .22043E-03    .68078E-05
   4  Prefactor     .71819        .21468        .28646E-03   -.80167E-05
                               ERR DEF=  .500    
Final values: 
  norm       = 31.8284
  alpha      = 1.93838
  Normalizat = 1.24403
  Prefactor  = 0.718189
 **********
 **   18 **HESSE 
 **********

 FCN=   5184.520     FROM HESSE     STATUS=OK            25 CALLS      294 TOTAL
                     EDM=   .33E-11    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  norm          31.828        23.649        .28412E-05   -1.4579    
   2  alpha         1.9384        .58767        .25914E-02   -.22658    
   3  Normalizat    1.2440        .21166        .88173E-05   -.85253    
   4  Prefactor     .71819        .21484        .11458E-04   -1.0282    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 3.32279e-12
Minuit parameter uncertainties:
  1  23.6557
  2  0.593526
  3  0.21181
  4  0.215091
shell-init: error retrieving current directory: getcwd: cannot access parent directories: No such file or directory
rmdir: failed to remove `/scratch/kocevski/375582': 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) = 5184.52033153
delta logL = 0.00255722920156

Extracting fit parameters...

4FGL J1314.7+2348
   Spectrum: LogParabola
308         norm:  3.183e+01  2.366e+01  1.000e-04  1.000e+04 ( 1.000e-13)
309        alpha:  1.938e+00  5.935e-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:  7.182e-01  2.151e-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.244e+00  2.118e-01  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Free Index): 4.67
Ra Dec: 198.688 23.812
Photon Index (Free Index): 1.94 +/- 0.59
Photon Flux (Free Index): 3.20e-08 +/- 2.91e-08
Energy Flux (Free Index): 2.30e-05 +/- 2.10e-05

Creating a high resolution counts map...
INFO: Auto-setting vmin to  0.000e+00 [aplpy.core]
INFO: Auto-setting vmax to  0.000e+00 [aplpy.core]
Saving /scratch/kocevski/375582/cmap_HighResolution_253843201_254102401_4FGL_J1314.7+2348_daily_bin56.png

Cleaning up...

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

Updating database...

UPDATE lightcurve_data_v2 SET comment='SUCCESS', photon_flux='3.07e-08', energy_flux2='2.30e-05', photon_flux_error='2.21e-08', dlogl='2.56e-03', energy_flux='2.39e-05', photon_flux2='3.20e-08', job_status='DONE', time_completed='2021-09-07 06:23:39.047831', photon_index_error2='0.59', photon_index2='1.94', ts='4.67', fit_tolerance='1e-08', GAL='0.72', photon_index_error='0.00', energy_flux_error2='2.10e-05', EG='1.25', time_epoch_completed='1631021019.05', return_code='0', job_id='375582', GAL2='0.72', EG2='1.24', return_code2='0', energy_flux_error='1.72e-05', photon_flux_error2='2.91e-08', ts2='4.67', photon_index='1.90' WHERE bin_id='56' AND source_name='4FGL J1314.7+2348' AND cadence='daily';

Database successfully updated.


Analysis Complete.


Tue Sep  7 06:23:39 PDT 2021


------------------------------------------------------------
Sender: LSF System <scs@bullet0010>
Subject: Job 375582: <4FGL_J1314.7+2348_daily_bin56> in cluster <slac> Done

Job <4FGL_J1314.7+2348_daily_bin56> was submitted from host <rhel6-64k> by user <kocevski> in cluster <slac> at Tue Sep  7 06:10:38 2021
Job was executed on host(s) <bullet0010>, in queue <medium>, as user <kocevski> in cluster <slac> at Tue Sep  7 06:11:44 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:44 2021
Terminated at Tue Sep  7 06:23:39 2021
Results reported at Tue Sep  7 06:23:39 2021

Your job looked like:

------------------------------------------------------------
# LSBATCH: User input
/nfs/farm/g/glast/g/LCRepository/Likelihood/Scripts/LikelihoodAnalysis.py 4FGL_J1314.7+2348_daily_bin56 198.688 23.8124 253843201 254102401 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 :                                   564.03 sec.
    Max Memory :                                 1094 MB
    Average Memory :                             306.00 MB
    Total Requested Memory :                     -
    Delta Memory :                               -
    Max Swap :                                   -
    Max Processes :                              5
    Max Threads :                                21
    Run time :                                   715 sec.
    Turnaround time :                            781 sec.

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

