/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 172 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 = 7435
number of fields = 27
No RA_SUN column yet. Adding RA_SUN/DEC_SUN columns.
Done.


Performing analysis on: 4FGL_J0719.3+3307_daily_bin313
RA = 109.84, Dec = 33.1232
tmin = 320457601, tmax = 320716801
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='213581', job_status='RUN', time_executed='2021-08-26 23:45:58.805538', time_epoch_executed='1630046758.81' WHERE source_name='4FGL J0719.3+3307' and cadence='daily' and bin_id='313'

Database successfully updated.
Done.

Creating custom output directory:
/scratch/kocevski/213581

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

Retrieving the FT1 file...

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

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

Retrieving 47 files...
Done.


Merging files...

Checksum keywords updated successfully.

Merged file saved to:
/scratch/kocevski/213581/ft1_4FGL_J0719.3+3307_daily_bin313.fits


Retrieving the FT1 file...

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

Retrieving 47 files...
Done.


Merging files...

Merged file saved to:
/scratch/kocevski/213581/ft2_4FGL_J0719.3+3307_daily_bin313.fits


Selecting the photons:
time -p gtselect infile=/scratch/kocevski/213581/ft1_4FGL_J0719.3+3307_daily_bin313.fits outfile=/scratch/kocevski/213581/ft1_filteredMKT_4FGL_J0719.3+3307_daily_bin313.fits ra=109.84 dec=33.1232 rad=12.0 tmin=320457601.0 tmax=320716801.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.81
user 3.57
sys 0.22

Adding sun position to ft2 file:
/nfs/farm/g/glast/g/LCRepository/Repository/bin/sunpos /scratch/kocevski/213581/ft2_4FGL_J0719.3+3307_daily_bin313.fits

Selecting the good time intervals:
time -p gtmktime scfile=/scratch/kocevski/213581/ft2_4FGL_J0719.3+3307_daily_bin313.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/213581/ft1_filteredMKT_4FGL_J0719.3+3307_daily_bin313.fits evtable="EVENTS" outfile="/scratch/kocevski/213581/ft1_filtered_4FGL_J0719.3+3307_daily_bin313.fits" apply_filter=yes overwrite=yes header_obstimes=yes tstart=0.0 tstop=0.0 gtifile="default" chatter=3 clobber=yes debug=no gui=no mode="ql"

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

This is gtmktime version HEAD
Applying GTI filter:
IN_SAA!=T && LIVETIME>0 && gtifilter('/nfs/farm/g/glast/g/LCRepository/Likelihood/GTIs/nogrb.gti',(START+STOP)/2) && (angsep(RA_SUN,DEC_SUN,RA_ZENITH,DEC_ZENITH)>115 || gtifilter('/nfs/farm/g/glast/g/LCRepository/Likelihood/GTIs/nosolarflares.gti',(START+STOP)/2))
real 0.51
user 0.34
sys 0.15

Generating the livetime cube:
time -p gtltcube evfile="/scratch/kocevski/213581/ft1_filtered_4FGL_J0719.3+3307_daily_bin313.fits" evtable="EVENTS" scfile=/scratch/kocevski/213581/ft2_4FGL_J0719.3+3307_daily_bin313.fits sctable="SC_DATA" outfile=/scratch/kocevski/213581/ltcube_320457601_320716801_4FGL_J0719.3+3307_daily_bin313.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/213581/ft2_4FGL_J0719.3+3307_daily_bin313.fits
.....................!
real 12.00
user 11.65
sys 0.31

Generating the exposure map:
time -p gtexpmap evfile=/scratch/kocevski/213581/ft1_filtered_4FGL_J0719.3+3307_daily_bin313.fits evtable="EVENTS" scfile=/scratch/kocevski/213581/ft2_4FGL_J0719.3+3307_daily_bin313.fits sctable="SC_DATA" expcube=/scratch/kocevski/213581/ltcube_320457601_320716801_4FGL_J0719.3+3307_daily_bin313.fits outfile=/scratch/kocevski/213581/expmap_320457601_320716801_4FGL_J0719.3+3307_daily_bin313.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/213581/ltcube_320457601_320716801_4FGL_J0719.3+3307_daily_bin313.fits
.....................!
real 191.07
user 185.34
sys 5.28

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
Extended source IC 443 in ROI with RadialGaussian spatial model.
Extended source S 147 in ROI, make sure /nfs/farm/g/glast/g/LCRepository/Likelihood/ExtendedSources/Extended_archive_v18/Templates/S147.fits is the correct path to the extended template.
Added 183 point sources and 2 extended sources
If using unbinned likelihood you will need to rerun gtdiffrsp for the extended sources or rerun the makeModel function with optional argument psForce=True

Setting source of interest to:
4FGL J0719.3+3307 @ 109.84 33.1232

Creating the counts map:
time -p gtbin evfile=/scratch/kocevski/213581/ft1_filtered_4FGL_J0719.3+3307_daily_bin313.fits scfile=/scratch/kocevski/213581/ft2_4FGL_J0719.3+3307_daily_bin313.fits outfile=/scratch/kocevski/213581/cmap_320457601_320716801_4FGL_J0719.3+3307_daily_bin313.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=109.84 yref=33.1232 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.37
sys 0.15

Creating the high resolution counts map:
time -p gtbin evfile=/scratch/kocevski/213581/ft1_filtered_4FGL_J0719.3+3307_daily_bin313.fits scfile=/scratch/kocevski/213581/ft2_4FGL_J0719.3+3307_daily_bin313.fits outfile=/scratch/kocevski/213581/cmap_HighResolution_320457601_320716801_4FGL_J0719.3+3307_daily_bin313.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=109.84 yref=33.1232 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.59
user 0.38
sys 0.16

Computing the diffuse response:
time -p gtdiffrsp evfile=/scratch/kocevski/213581/ft1_filtered_4FGL_J0719.3+3307_daily_bin313.fits evtable="EVENTS" scfile=/scratch/kocevski/213581/ft2_4FGL_J0719.3+3307_daily_bin313.fits sctable="SC_DATA" srcmdl=/scratch/kocevski/213581/Model_4FGL_J0719.3+3307_daily_bin313.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
adding source IC 443
adding source S 147
Working on...
/scratch/kocevski/213581/ft1_filtered_4FGL_J0719.3+3307_daily_bin313.fits.....................!
real 147.49
user 145.81
sys 1.22

Creating the likelihood object...
obs = UnbinnedObs('/scratch/kocevski/213581/ft1_filtered_4FGL_J0719.3+3307_daily_bin313.fits', '/scratch/kocevski/213581/ft2_4FGL_J0719.3+3307_daily_bin313.fits', expMap='/scratch/kocevski/213581/expmap_320457601_320716801_4FGL_J0719.3+3307_daily_bin313.fits', expCube='/scratch/kocevski/213581/ltcube_320457601_320716801_4FGL_J0719.3+3307_daily_bin313.fits', irfs='P8R3_SOURCE_V2')
like = UnbinnedAnalysis(obs, '/scratch/kocevski/213581/Model_4FGL_J0719.3+3307_daily_bin313.xml', optimizer='MINUIT')

Using source of interest name: '4FGL J0719.3+3307'

4FGL J0719.3+3307
   Spectrum: LogParabola
295         norm:  1.022e+00  0.000e+00  1.000e-04  1.000e+04 ( 1.000e-11)
296        alpha:  2.082e+00  0.000e+00  0.000e+00  5.000e+00 ( 1.000e+00) fixed
297         beta:  1.031e-01  0.000e+00  0.000e+00  1.000e+01 ( 1.000e+00) fixed
298           Eb:  6.981e+02  0.000e+00  3.000e+01  5.000e+05 ( 1.000e+00) fixed


Likelihood Fit Parameters:
Event file(s): /scratch/kocevski/213581/ft1_filtered_4FGL_J0719.3+3307_daily_bin313.fits
Spacecraft file(s): /scratch/kocevski/213581/ft2_4FGL_J0719.3+3307_daily_bin313.fits
Exposure map: /scratch/kocevski/213581/expmap_320457601_320716801_4FGL_J0719.3+3307_daily_bin313.fits
Exposure cube: /scratch/kocevski/213581/ltcube_320457601_320716801_4FGL_J0719.3+3307_daily_bin313.fits
IRFs: P8R3_SOURCE_V2
Source model file: /scratch/kocevski/213581/Model_4FGL_J0719.3+3307_daily_bin313.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) = 8871.60754552

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

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

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'norm      '    2.2977       1.0000         .10000E-03   10000.    
     2 'norm      '    11.306       1.0000         .10000E-03   10000.    
     3 'Prefactor '    .10218E-03   1.0000         .10000E-03   10000.    
     4 'Prefactor '    10.385       1.0000         .10000E-03   10000.    
     5 'norm      '    1.5542       1.0000         .10000E-03   10000.    
     6 'Prefactor '    .32211       1.0000         .10000E-03   10000.    
     7 'Prefactor '    6.4759       1.0000         .10000E-03   10000.    
     8 'norm      '    .99850E-03   1.0000         .10000E-03   10000.    
     9 'Prefactor '    .15094E-03   1.0000         .10000E-03   10000.    
    10 'Prefactor '    .10008E-03   1.0000         .10000E-03   10000.    
    11 'Prefactor '    27.635       1.0000         .10000E-03   10000.    
    12 'norm      '    .10022E-03   1.0000         .10000E-03   10000.    
    13 'Normalizat'    1.1215       1.0000         .10000E-01   10.000    
    14 'Prefactor '    .93849       1.0000          .0000       10.000    
 **********
 **   15 **SET ERR    .5000    
 **********
 **********
 **   16 **SET GRAD    1.000    
 **********
 **********
 **   17 **MINIMIZE    .6120E+05   .2000E-04
 **********

 MIGRAD MINIMIZATION HAS CONVERGED.

 MIGRAD WILL VERIFY CONVERGENCE AND ERROR MATRIX.

 MIGRAD MINIMIZATION HAS CONVERGED.

 FCN=   8871.579     FROM MIGRAD    STATUS=CONVERGED    266 CALLS     1248 TOTAL
                     EDM=   .12E-08  STRATEGY=1  ERROR MATRIX UNCERTAINTY=  2.9%

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  norm          2.2988        3.4255        .35891E-06    .13794E-03
   2  norm          11.307        8.4234       -.42013E-07    .21973E-06
   3  Prefactor     .10000E-03    16.855       -.24153E-06** at limit **
   4  Prefactor     10.384        10.317       -.20089E-06    .56478E-04
   5  norm          1.5538        .78072       -.87121E-07    .20160E-03
   6  Prefactor     .30203        5.4630       -.11869E-06   -.14984E-03
   7  Prefactor     6.4462        13.547       -.16961E-05   -.11711E-04
   8  norm          .10009E-03    2.7670       -.19813E-05** at limit **
   9  Prefactor     .10000E-03    34.624       -.59141E-05** at limit **
  10  Prefactor     .10000E-03    5.4780       -.98805E-07** at limit **
  11  Prefactor     27.587        35.400       -.98240E-06    .19417E-03
  12  norm          .10000E-03    10.318        .54195E-07** at limit **
  13  Normalizat    1.1224        .18514        .52881E-05    .81296E-03
  14  Prefactor     .93821        .90045E-01   -.14549E-05    .12706E-02
                               ERR DEF=  .500    
Final values: 
  norm       = 2.29877
  norm       = 11.3069
  Prefactor  = 0.0001
  Prefactor  = 10.3838
  norm       = 1.5538
  Prefactor  = 0.302034
  Prefactor  = 6.44615
  norm       = 0.000100088
  Prefactor  = 0.000100004
  Prefactor  = 0.0001
  Prefactor  = 27.5873
  norm       = 0.0001
  Normalizat = 1.12241
  Prefactor  = 0.938215
 **********
 **   18 **HESSE 
 **********

 FCN=   8871.579     FROM HESSE     STATUS=OK           164 CALLS     1412 TOTAL
                     EDM=   .60E-07    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  norm          2.2988        3.4075        .20541E-03   -1.5405    
   2  norm          11.307        8.4282        .11915E-03   -1.5035    
   3  Prefactor     .10000E-03    16.986        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   4  Prefactor     10.384        10.320        .12433E-03   -1.5063    
   5  norm          1.5538        .77411        .56088E-04   -1.5459    
   6  Prefactor     .30203        41.479        .40083E-02   -1.5598    
   7  Prefactor     6.4462        13.632        .15771E-03   -1.5200    
   8  norm          .10009E-03    10.284        .23475E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   9  Prefactor     .10000E-03    35.266        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  10  Prefactor     .10000E-03    5.4851        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  11  Prefactor     27.587        35.540        .76208E-04   -1.4657    
  12  norm          .10000E-03    10.420        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  13  Normalizat    1.1224        .20300        .31186E-03   -.89036    
  14  Prefactor     .93821        .96978E-01    .17282E-03   -.94818    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 6.02803e-08
Minuit parameter uncertainties:
  1  3.40783
  2  8.42904
  3  4.75514e-05
  4  10.322
  5  0.774117
  6  7.08282
  7  13.6387
  8  0.00189826
  9  0.000718434
  10  1.27408e-06
  11  35.567
  12  3.11712e-05
  13  0.203142
  14  0.0969954
Done.

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

Extracting fit parameters...

4FGL J0719.3+3307
   Spectrum: LogParabola
295         norm:  1.554e+00  7.741e-01  1.000e-04  1.000e+04 ( 1.000e-11)
296        alpha:  2.082e+00  0.000e+00  0.000e+00  5.000e+00 ( 1.000e+00) fixed
297         beta:  1.031e-01  0.000e+00  0.000e+00  1.000e+01 ( 1.000e+00) fixed
298           Eb:  6.981e+02  0.000e+00  3.000e+01  5.000e+05 ( 1.000e+00) fixed

GAL_V02
   Spectrum: PowerLaw
601    Prefactor:  9.382e-01  9.700e-02  0.000e+00  1.000e+01 ( 1.000e+00)
602        Index:  0.000e+00  0.000e+00 -1.000e+00  1.000e+00 ( 1.000e+00) fixed
603        Scale:  1.000e+02  0.000e+00  5.000e+01  2.000e+02 ( 1.000e+00) fixed

EG_v02
   Spectrum: FileFunction
600   Normalization:  1.122e+00  2.031e-01  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Fixed Index): 9.04
Ra Dec: 109.840 33.123
Photon Index (Fixed Index): 2.08 +/- 0.00
Photon Flux (Fixed Index): 6.84e-08 +/- 3.41e-08
Energy Flux (Fixed Index): 3.19e-05 +/- 1.59e-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) = 8871.43897732
delta logL = 0.139659600425

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

MINUIT Return Code (Free Index): 0
logL (Free Index) = 8871.43299696
delta logL = 0.145639959857

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'norm      '    1.4795       1.0000         .10000E-03   10000.    
     2 'alpha     '    2.3711       1.0000          .0000       5.0000    
     3 'Normalizat'    1.0974       1.0000         .10000E-01   10.000    
     4 'Prefactor '    .94492       1.0000          .0000       10.000    
 **********
 **   15 **SET ERR    .5000    
 **********
 **********
 **   16 **SET GRAD    1.000    
 **********
 **********
 **   17 **MINIMIZE    .6120E+05   .2000E-04
 **********

 MIGRAD MINIMIZATION HAS CONVERGED.

 MIGRAD WILL VERIFY CONVERGENCE AND ERROR MATRIX.

 FCN=   8871.433     FROM MIGRAD    STATUS=CONVERGED     55 CALLS      238 TOTAL
                     EDM=   .56E-08    STRATEGY= 1      ERR MATRIX NOT POS-DEF

  EXT PARAMETER                APPROXIMATE        STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  norm          1.4795        10.545        .88227E-02    .49655E-03
   2  alpha         2.3711        3.6150        .29589        .58282E-04
   3  Normalizat    1.0973        .96918E-01    .71156E-01    .43751E-04
   4  Prefactor     .94500        .36784E-01    .45575E-01   -.82820E-04
                               ERR DEF=  .500    
Final values: 
  norm       = 1.47946
  alpha      = 2.3711
  Normalizat = 1.09729
  Prefactor  = 0.945
 **********
 **   18 **HESSE 
 **********

 FCN=   8871.433     FROM HESSE     STATUS=OK            31 CALLS      269 TOTAL
                     EDM=   .19E-10    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  norm          1.4795        .77928        .50743E-04   -1.5465    
   2  alpha         2.3711        .55527        .14419E-01   -.51584E-01
   3  Normalizat    1.0973        .19212        .31485E-03   -.89839    
   4  Prefactor     .94500        .95749E-01    .17225E-03   -.94586    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 1.94804e-11
Minuit parameter uncertainties:
  1  0.779289
  2  0.559948
  3  0.192239
  4  0.0957664
shell-init: error retrieving current directory: getcwd: cannot access parent directories: No such file or directory
rmdir: failed to remove `/scratch/kocevski/213581': 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) = 8871.43299661
delta logL = 0.145640309458

Extracting fit parameters...

4FGL J0719.3+3307
   Spectrum: LogParabola
295         norm:  1.479e+00  7.793e-01  1.000e-04  1.000e+04 ( 1.000e-11)
296        alpha:  2.371e+00  5.599e-01  0.000e+00  5.000e+00 ( 1.000e+00)
297         beta:  1.031e-01  0.000e+00  0.000e+00  1.000e+01 ( 1.000e+00) fixed
298           Eb:  6.981e+02  0.000e+00  3.000e+01  5.000e+05 ( 1.000e+00) fixed

GAL_V02
   Spectrum: PowerLaw
601    Prefactor:  9.450e-01  9.577e-02  0.000e+00  1.000e+01 ( 1.000e+00)
602        Index:  0.000e+00  0.000e+00 -1.000e+00  1.000e+00 ( 1.000e+00) fixed
603        Scale:  1.000e+02  0.000e+00  5.000e+01  2.000e+02 ( 1.000e+00) fixed

EG_v02
   Spectrum: FileFunction
600   Normalization:  1.097e+00  1.922e-01  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Free Index): 9.38
Ra Dec: 109.840 33.123
Photon Index (Free Index): 2.37 +/- 0.56
Photon Flux (Free Index): 8.87e-08 +/- 5.39e-08
Energy Flux (Free Index): 2.92e-05 +/- 1.44e-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/213581/cmap_HighResolution_320457601_320716801_4FGL_J0719.3+3307_daily_bin313.png

Cleaning up...

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

Updating database...

UPDATE lightcurve_data_v2 SET comment='SUCCESS', photon_flux='6.84e-08', energy_flux2='2.92e-05', photon_flux_error='3.41e-08', dlogl='1.46e-01', energy_flux='3.19e-05', photon_flux2='8.87e-08', job_status='DONE', time_completed='2021-08-26 23:56:41.308041', photon_index_error2='0.56', photon_index2='2.37', ts='9.04', fit_tolerance='1e-08', GAL='0.94', photon_index_error='0.00', energy_flux_error2='1.44e-05', EG='1.12', time_epoch_completed='1630047401.31', return_code='0', job_id='213581', GAL2='0.95', EG2='1.10', return_code2='0', energy_flux_error='1.59e-05', photon_flux_error2='5.39e-08', ts2='9.38', photon_index='2.08' WHERE bin_id='313' AND source_name='4FGL J0719.3+3307' AND cadence='daily';

Database successfully updated.


Analysis Complete.


Thu Aug 26 23:56:41 PDT 2021


------------------------------------------------------------
Sender: LSF System <lsf@bullet0164>
Subject: Job 213581: <4FGL_J0719.3+3307_daily_bin313> in cluster <slac> Done

Job <4FGL_J0719.3+3307_daily_bin313> was submitted from host <rhel6-64q> by user <kocevski> in cluster <slac> at Thu Aug 26 23:40:21 2021
Job was executed on host(s) <bullet0164>, in queue <medium>, as user <kocevski> in cluster <slac> at Thu Aug 26 23:42:55 2021
</u/ki/kocevski> was used as the home directory.
</u/ki/kocevski> was used as the working directory.
Started at Thu Aug 26 23:42:55 2021
Terminated at Thu Aug 26 23:56:42 2021
Results reported at Thu Aug 26 23:56:42 2021

Your job looked like:

------------------------------------------------------------
# LSBATCH: User input
/nfs/farm/g/glast/g/LCRepository/Likelihood/Scripts/LikelihoodAnalysis.py 4FGL_J0719.3+3307_daily_bin313 109.84 33.1232 320457601 320716801 irfs=P8R3_SOURCE_V2 zmax=90 ROI=12 association=4FGL_J0719.3+3307 fixedModel=True performFreeIndexFit=True freeVariableSources=True nuke=True repositoryJob=True verbose=False
------------------------------------------------------------

Successfully completed.

Resource usage summary:

    CPU time :                                   638.00 sec.
    Max Memory :                                 1257 MB
    Average Memory :                             351.58 MB
    Total Requested Memory :                     -
    Delta Memory :                               -
    Max Swap :                                   -
    Max Processes :                              5
    Max Threads :                                21
    Run time :                                   826 sec.
    Turnaround time :                            981 sec.

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

