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


Performing analysis on: 4FGL_J0719.3+3307_daily_bin907
RA = 109.84, Dec = 33.1232
tmin = 474422401, tmax = 474681601
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='217021', job_status='RUN', time_executed='2021-08-26 23:51:19.815432', time_epoch_executed='1630047079.82' WHERE source_name='4FGL J0719.3+3307' and cadence='daily' and bin_id='907'

Database successfully updated.
Done.

Creating custom output directory:
/scratch/kocevski/217021

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

Retrieving the FT1 file...

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

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

Retrieving 46 files...
Done.


Merging files...

Checksum keywords updated successfully.

Merged file saved to:
/scratch/kocevski/217021/ft1_4FGL_J0719.3+3307_daily_bin907.fits


Retrieving the FT1 file...

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

Retrieving 46 files...
Done.


Merging files...

Merged file saved to:
/scratch/kocevski/217021/ft2_4FGL_J0719.3+3307_daily_bin907.fits


Selecting the photons:
time -p gtselect infile=/scratch/kocevski/217021/ft1_4FGL_J0719.3+3307_daily_bin907.fits outfile=/scratch/kocevski/217021/ft1_filteredMKT_4FGL_J0719.3+3307_daily_bin907.fits ra=109.84 dec=33.1232 rad=12.0 tmin=474422401.0 tmax=474681601.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 5.39
user 3.23
sys 2.08

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

Selecting the good time intervals:
time -p gtmktime scfile=/scratch/kocevski/217021/ft2_4FGL_J0719.3+3307_daily_bin907.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/217021/ft1_filteredMKT_4FGL_J0719.3+3307_daily_bin907.fits evtable="EVENTS" outfile="/scratch/kocevski/217021/ft1_filtered_4FGL_J0719.3+3307_daily_bin907.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 2.42
user 0.33
sys 2.03

Generating the livetime cube:
time -p gtltcube evfile="/scratch/kocevski/217021/ft1_filtered_4FGL_J0719.3+3307_daily_bin907.fits" evtable="EVENTS" scfile=/scratch/kocevski/217021/ft2_4FGL_J0719.3+3307_daily_bin907.fits sctable="SC_DATA" outfile=/scratch/kocevski/217021/ltcube_474422401_474681601_4FGL_J0719.3+3307_daily_bin907.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/217021/ft2_4FGL_J0719.3+3307_daily_bin907.fits
.....................!
real 13.78
user 11.29
sys 2.42

Generating the exposure map:
time -p gtexpmap evfile=/scratch/kocevski/217021/ft1_filtered_4FGL_J0719.3+3307_daily_bin907.fits evtable="EVENTS" scfile=/scratch/kocevski/217021/ft2_4FGL_J0719.3+3307_daily_bin907.fits sctable="SC_DATA" expcube=/scratch/kocevski/217021/ltcube_474422401_474681601_4FGL_J0719.3+3307_daily_bin907.fits outfile=/scratch/kocevski/217021/expmap_474422401_474681601_4FGL_J0719.3+3307_daily_bin907.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/217021/ltcube_474422401_474681601_4FGL_J0719.3+3307_daily_bin907.fits
.....................!
real 193.35
user 186.08
sys 6.87

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/217021/ft1_filtered_4FGL_J0719.3+3307_daily_bin907.fits scfile=/scratch/kocevski/217021/ft2_4FGL_J0719.3+3307_daily_bin907.fits outfile=/scratch/kocevski/217021/cmap_474422401_474681601_4FGL_J0719.3+3307_daily_bin907.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 2.39
user 0.37
sys 1.99

Creating the high resolution counts map:
time -p gtbin evfile=/scratch/kocevski/217021/ft1_filtered_4FGL_J0719.3+3307_daily_bin907.fits scfile=/scratch/kocevski/217021/ft2_4FGL_J0719.3+3307_daily_bin907.fits outfile=/scratch/kocevski/217021/cmap_HighResolution_474422401_474681601_4FGL_J0719.3+3307_daily_bin907.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 2.70
user 0.37
sys 2.27

Computing the diffuse response:
time -p gtdiffrsp evfile=/scratch/kocevski/217021/ft1_filtered_4FGL_J0719.3+3307_daily_bin907.fits evtable="EVENTS" scfile=/scratch/kocevski/217021/ft2_4FGL_J0719.3+3307_daily_bin907.fits sctable="SC_DATA" srcmdl=/scratch/kocevski/217021/Model_4FGL_J0719.3+3307_daily_bin907.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/217021/ft1_filtered_4FGL_J0719.3+3307_daily_bin907.fits.....................!
real 148.75
user 144.74
sys 3.68

Creating the likelihood object...
obs = UnbinnedObs('/scratch/kocevski/217021/ft1_filtered_4FGL_J0719.3+3307_daily_bin907.fits', '/scratch/kocevski/217021/ft2_4FGL_J0719.3+3307_daily_bin907.fits', expMap='/scratch/kocevski/217021/expmap_474422401_474681601_4FGL_J0719.3+3307_daily_bin907.fits', expCube='/scratch/kocevski/217021/ltcube_474422401_474681601_4FGL_J0719.3+3307_daily_bin907.fits', irfs='P8R3_SOURCE_V2')
like = UnbinnedAnalysis(obs, '/scratch/kocevski/217021/Model_4FGL_J0719.3+3307_daily_bin907.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/217021/ft1_filtered_4FGL_J0719.3+3307_daily_bin907.fits
Spacecraft file(s): /scratch/kocevski/217021/ft2_4FGL_J0719.3+3307_daily_bin907.fits
Exposure map: /scratch/kocevski/217021/expmap_474422401_474681601_4FGL_J0719.3+3307_daily_bin907.fits
Exposure cube: /scratch/kocevski/217021/ltcube_474422401_474681601_4FGL_J0719.3+3307_daily_bin907.fits
IRFs: P8R3_SOURCE_V2
Source model file: /scratch/kocevski/217021/Model_4FGL_J0719.3+3307_daily_bin907.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) = 8504.23355196

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

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

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'norm      '    1.1051       1.0000         .10000E-03   10000.    
     2 'norm      '    35.839       1.0000         .10000E-03   10000.    
     3 'Prefactor '    .10000E-03   1.0000         .10000E-03   10000.    
     4 'Prefactor '    .10000E-03   1.0000         .10000E-03   10000.    
     5 'norm      '    1.1819       1.0000         .10000E-03   10000.    
     6 'Prefactor '    .10001E-03   1.0000         .10000E-03   10000.    
     7 'Prefactor '    4.0927       1.0000         .10000E-03   10000.    
     8 'norm      '    2.3266       1.0000         .10000E-03   10000.    
     9 'Prefactor '    .14489E-03   1.0000         .10000E-03   10000.    
    10 'Prefactor '    .10267E-03   1.0000         .10000E-03   10000.    
    11 'Prefactor '    .10451E-03   1.0000         .10000E-03   10000.    
    12 'norm      '    .10001E-03   1.0000         .10000E-03   10000.    
    13 'Normalizat'    1.2123       1.0000         .10000E-01   10.000    
    14 'Prefactor '    .87009       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=   8503.713     FROM MIGRAD    STATUS=CONVERGED    274 CALLS     1100 TOTAL
                     EDM=   .53E-10  STRATEGY=1  ERROR MATRIX UNCERTAINTY=  1.0%

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  norm          1.1044        2.0777        .55646E-06   -.17430E-02
   2  norm          35.842        14.458       -.24268E-06    .63916E-06
   3  Prefactor     .10000E-03    7.6203        .14430E-06** at limit **
   4  Prefactor     .10000E-03    9.2544       -.64726E-06** at limit **
   5  norm          1.1819        .57576       -.39631E-08    .43262E-04
   6  Prefactor     .10000E-03    2.0804        .68988E-07** at limit **
   7  Prefactor     4.0934        10.009       -.37157E-06   -.16997E-03
   8  norm          2.3265        3.9522       -.68939E-06   -.12282E-02
   9  Prefactor     .10000E-03    64.712       -.48032E-04** at limit **
  10  Prefactor     .10000E-03    48.485        .48387E-04** at limit **
  11  Prefactor     .10000E-03    29.758       -.10465E-04** at limit **
  12  norm          .10000E-03    13.150        .12330E-05** at limit **
  13  Normalizat    1.2123        .16931        .41088E-06   -.66181E-04
  14  Prefactor     .87009        .84456E-01   -.13383E-06   -.13096E-03
                               ERR DEF=  .500    
Final values: 
  norm       = 1.10441
  norm       = 35.8421
  Prefactor  = 0.0001
  Prefactor  = 0.0001
  norm       = 1.18192
  Prefactor  = 0.0001
  Prefactor  = 4.09342
  norm       = 2.32653
  Prefactor  = 0.000100001
  Prefactor  = 0.000100003
  Prefactor  = 0.0001
  norm       = 0.0001
  Normalizat = 1.21227
  Prefactor  = 0.870095
 **********
 **   18 **HESSE 
 **********

 FCN=   8503.713     FROM HESSE     STATUS=OK           158 CALLS     1258 TOTAL
                     EDM=   .11E-07    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  norm          1.1044        8.6235        .22538E-02   -1.5498    
   2  norm          35.842        14.474        .66943E-04   -1.4510    
   3  Prefactor     .10000E-03    7.6388        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   4  Prefactor     .10000E-03    9.3290        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   5  norm          1.1819        .57109        .47324E-04   -1.5491    
   6  Prefactor     .10000E-03    2.0956        .12986E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   7  Prefactor     4.0934        10.085        .99640E-03   -1.5303    
   8  norm          2.3265        4.2088        .12060E-02   -1.5403    
   9  Prefactor     .10000E-03    64.833        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  10  Prefactor     .10000E-03    49.012        .36285E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  11  Prefactor     .10000E-03    29.780        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  12  norm          .10000E-03    13.609        .36285E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  13  Normalizat    1.2123        .19255        .29578E-03   -.86224    
  14  Prefactor     .87009        .98853E-01    .17493E-03   -.97194    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 1.09716e-08
Minuit parameter uncertainties:
  1  6.17313
  2  14.4758
  3  5.11639e-07
  4  4.55656e-07
  5  0.571095
  6  3.42314e-07
  7  10.0889
  8  4.20937
  9  0.000539838
  10  0.000711056
  11  9.44713e-05
  12  1.36336e-05
  13  0.192662
  14  0.0988729
Done.

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

Extracting fit parameters...

4FGL J0719.3+3307
   Spectrum: LogParabola
295         norm:  1.182e+00  5.711e-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:  8.701e-01  9.887e-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.212e+00  1.927e-01  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Fixed Index): 11.27
Ra Dec: 109.840 33.123
Photon Index (Fixed Index): 2.08 +/- 0.00
Photon Flux (Fixed Index): 5.20e-08 +/- 2.51e-08
Energy Flux (Fixed Index): 2.43e-05 +/- 1.17e-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) = 8503.65685606
delta logL = 0.0561266989389

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

MINUIT Return Code (Free Index): 0
logL (Free Index) = 8503.65612047
delta logL = 0.0568622866795

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'norm      '    1.1932       1.0000         .10000E-03   10000.    
     2 'alpha     '    1.9283       1.0000          .0000       5.0000    
     3 'Normalizat'    1.2189       1.0000         .10000E-01   10.000    
     4 'Prefactor '    .86852       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=   8503.656     FROM MIGRAD    STATUS=CONVERGED     48 CALLS      200 TOTAL
                     EDM=   .98E-08    STRATEGY= 1      ERR MATRIX NOT POS-DEF

  EXT PARAMETER                APPROXIMATE        STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  norm          1.1932        15.488        .10416E-01    .33521E-03
   2  alpha         1.9283        2.8593        .37550       -.27057E-04
   3  Normalizat    1.2189        .17009        .66707E-01    .42707E-03
   4  Prefactor     .86853        .69116E-01    .44603E-01    .80176E-03
                               ERR DEF=  .500    
Final values: 
  norm       = 1.19318
  alpha      = 1.92826
  Normalizat = 1.21893
  Prefactor  = 0.868527
 **********
 **   18 **HESSE 
 **********

 FCN=   8503.656     FROM HESSE     STATUS=OK            29 CALLS      229 TOTAL
                     EDM=   .28E-09    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  norm          1.1932        .58634        .48346E-04   -1.5490    
   2  alpha         1.9283        .45009        .14456E-01   -.23074    
   3  Normalizat    1.2189        .18457        .29510E-03   -.86020    
   4  Prefactor     .86853        .94149E-01    .17508E-03   -.97250    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 2.76216e-10
Minuit parameter uncertainties:
  1  0.586347
  2  0.452696
  3  0.184667
  4  0.0941664
shell-init: error retrieving current directory: getcwd: cannot access parent directories: No such file or directory
rmdir: failed to remove `/scratch/kocevski/217021': 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) = 8503.65612047
delta logL = 0.0568622882856

Extracting fit parameters...

4FGL J0719.3+3307
   Spectrum: LogParabola
295         norm:  1.193e+00  5.863e-01  1.000e-04  1.000e+04 ( 1.000e-11)
296        alpha:  1.928e+00  4.527e-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:  8.685e-01  9.417e-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.219e+00  1.847e-01  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Free Index): 11.37
Ra Dec: 109.840 33.123
Photon Index (Free Index): 1.93 +/- 0.45
Photon Flux (Free Index): 4.56e-08 +/- 2.88e-08
Energy Flux (Free Index): 2.71e-05 +/- 1.67e-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/217021/cmap_HighResolution_474422401_474681601_4FGL_J0719.3+3307_daily_bin907.png

Cleaning up...

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

Updating database...

UPDATE lightcurve_data_v2 SET comment='SUCCESS', photon_flux='5.20e-08', energy_flux2='2.71e-05', photon_flux_error='2.51e-08', dlogl='5.69e-02', energy_flux='2.43e-05', photon_flux2='4.56e-08', job_status='DONE', time_completed='2021-08-27 00:02:01.094947', photon_index_error2='0.45', photon_index2='1.93', ts='11.27', fit_tolerance='1e-08', GAL='0.87', photon_index_error='0.00', energy_flux_error2='1.67e-05', EG='1.21', time_epoch_completed='1630047721.1', return_code='0', job_id='217021', GAL2='0.87', EG2='1.22', return_code2='0', energy_flux_error='1.17e-05', photon_flux_error2='2.88e-08', ts2='11.37', photon_index='2.08' WHERE bin_id='907' AND source_name='4FGL J0719.3+3307' AND cadence='daily';

Database successfully updated.


Analysis Complete.


Fri Aug 27 00:02:01 PDT 2021


------------------------------------------------------------
Sender: LSF System <lsf@bullet0212>
Subject: Job 217021: <4FGL_J0719.3+3307_daily_bin907> in cluster <slac> Done

Job <4FGL_J0719.3+3307_daily_bin907> was submitted from host <rhel6-64p> by user <kocevski> in cluster <slac> at Thu Aug 26 23:50:38 2021
Job was executed on host(s) <bullet0212>, in queue <medium>, as user <kocevski> in cluster <slac> at Thu Aug 26 23:50:40 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:50:40 2021
Terminated at Fri Aug 27 00:02:02 2021
Results reported at Fri Aug 27 00:02:02 2021

Your job looked like:

------------------------------------------------------------
# LSBATCH: User input
/nfs/farm/g/glast/g/LCRepository/Likelihood/Scripts/LikelihoodAnalysis.py 4FGL_J0719.3+3307_daily_bin907 109.84 33.1232 474422401 474681601 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 :                                   665.53 sec.
    Max Memory :                                 1257 MB
    Average Memory :                             323.14 MB
    Total Requested Memory :                     -
    Delta Memory :                               -
    Max Swap :                                   -
    Max Processes :                              7
    Max Threads :                                21
    Run time :                                   681 sec.
    Turnaround time :                            684 sec.

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

