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


Performing analysis on: 4FGL_J0719.3+3307_daily_bin949
RA = 109.84, Dec = 33.1232
tmin = 485308801, tmax = 485568001
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='217094', job_status='RUN', time_executed='2021-08-26 23:53:27.573244', time_epoch_executed='1630047207.57' WHERE source_name='4FGL J0719.3+3307' and cadence='daily' and bin_id='949'

Database successfully updated.
Done.

Creating custom output directory:
/scratch/kocevski/217094

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

Retrieving the FT1 file...

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

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

Retrieving 48 files...
Done.


Merging files...

Checksum keywords updated successfully.

Merged file saved to:
/scratch/kocevski/217094/ft1_4FGL_J0719.3+3307_daily_bin949.fits


Retrieving the FT1 file...

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

Retrieving 48 files...
Done.


Merging files...

Merged file saved to:
/scratch/kocevski/217094/ft2_4FGL_J0719.3+3307_daily_bin949.fits


Selecting the photons:
time -p gtselect infile=/scratch/kocevski/217094/ft1_4FGL_J0719.3+3307_daily_bin949.fits outfile=/scratch/kocevski/217094/ft1_filteredMKT_4FGL_J0719.3+3307_daily_bin949.fits ra=109.84 dec=33.1232 rad=12.0 tmin=485308801.0 tmax=485568001.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.88
user 5.35
sys 0.46

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

Selecting the good time intervals:
time -p gtmktime scfile=/scratch/kocevski/217094/ft2_4FGL_J0719.3+3307_daily_bin949.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/217094/ft1_filteredMKT_4FGL_J0719.3+3307_daily_bin949.fits evtable="EVENTS" outfile="/scratch/kocevski/217094/ft1_filtered_4FGL_J0719.3+3307_daily_bin949.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 1.23
user 0.34
sys 0.37

Generating the livetime cube:
time -p gtltcube evfile="/scratch/kocevski/217094/ft1_filtered_4FGL_J0719.3+3307_daily_bin949.fits" evtable="EVENTS" scfile=/scratch/kocevski/217094/ft2_4FGL_J0719.3+3307_daily_bin949.fits sctable="SC_DATA" outfile=/scratch/kocevski/217094/ltcube_485308801_485568001_4FGL_J0719.3+3307_daily_bin949.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/217094/ft2_4FGL_J0719.3+3307_daily_bin949.fits
.....................!
real 12.20
user 11.16
sys 0.58

Generating the exposure map:
time -p gtexpmap evfile=/scratch/kocevski/217094/ft1_filtered_4FGL_J0719.3+3307_daily_bin949.fits evtable="EVENTS" scfile=/scratch/kocevski/217094/ft2_4FGL_J0719.3+3307_daily_bin949.fits sctable="SC_DATA" expcube=/scratch/kocevski/217094/ltcube_485308801_485568001_4FGL_J0719.3+3307_daily_bin949.fits outfile=/scratch/kocevski/217094/expmap_485308801_485568001_4FGL_J0719.3+3307_daily_bin949.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/217094/ltcube_485308801_485568001_4FGL_J0719.3+3307_daily_bin949.fits
.....................!
real 190.79
user 184.65
sys 4.68

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/217094/ft1_filtered_4FGL_J0719.3+3307_daily_bin949.fits scfile=/scratch/kocevski/217094/ft2_4FGL_J0719.3+3307_daily_bin949.fits outfile=/scratch/kocevski/217094/cmap_485308801_485568001_4FGL_J0719.3+3307_daily_bin949.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.79
user 0.37
sys 0.39

Creating the high resolution counts map:
time -p gtbin evfile=/scratch/kocevski/217094/ft1_filtered_4FGL_J0719.3+3307_daily_bin949.fits scfile=/scratch/kocevski/217094/ft2_4FGL_J0719.3+3307_daily_bin949.fits outfile=/scratch/kocevski/217094/cmap_HighResolution_485308801_485568001_4FGL_J0719.3+3307_daily_bin949.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.77
user 0.38
sys 0.38

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

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

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

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

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'norm      '    .89084       1.0000         .10000E-03   10000.    
     2 'norm      '    20.563       1.0000         .10000E-03   10000.    
     3 'Prefactor '    .10000E-03   1.0000         .10000E-03   10000.    
     4 'Prefactor '    1.7025       1.0000         .10000E-03   10000.    
     5 'norm      '    1.0961       1.0000         .10000E-03   10000.    
     6 'Prefactor '    .10000E-03   1.0000         .10000E-03   10000.    
     7 'Prefactor '    .10000E-03   1.0000         .10000E-03   10000.    
     8 'norm      '    .36884       1.0000         .10000E-03   10000.    
     9 'Prefactor '    .10002E-03   1.0000         .10000E-03   10000.    
    10 'Prefactor '    .10001E-03   1.0000         .10000E-03   10000.    
    11 'Prefactor '    .10000E-03   1.0000         .10000E-03   10000.    
    12 'norm      '    8.3252       1.0000         .10000E-03   10000.    
    13 'Normalizat'    1.1475       1.0000         .10000E-01   10.000    
    14 'Prefactor '    .94971       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=   8946.383     FROM MIGRAD    STATUS=CONVERGED    262 CALLS     1039 TOTAL
                     EDM=   .64E-09  STRATEGY=1  ERROR MATRIX UNCERTAINTY=  2.8%

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  norm          .89073        6.4928       -.59216E-07    .59349E-03
   2  norm          20.563        9.8529        .84005E-09   -.50573E-07
   3  Prefactor     .10000E-03    7.0674        .15735E-09** at limit **
   4  Prefactor     1.7028        1.2187       -.31610E-06   -.10454E-03
   5  norm          1.0961        .55886       -.41545E-09   -.26957E-03
   6  Prefactor     .10000E-03    3.5564       -.19182E-09** at limit **
   7  Prefactor     .10000E-03    4.6864       -.96427E-09** at limit **
   8  norm          .36753        1.6083       -.84135E-08    .54989E-03
   9  Prefactor     .10000E-03    22.295       -.75176E-09** at limit **
  10  Prefactor     .10000E-03    11.531        .26268E-08** at limit **
  11  Prefactor     .10000E-03    9.8054       -.34790E-08** at limit **
  12  norm          8.3252        10.515       -.67380E-08    .49924E-04
  13  Normalizat    1.1474        .16372        .15930E-07    .44319E-03
  14  Prefactor     .94972        .85192E-01    .93959E-08    .67854E-03
                               ERR DEF=  .500    
Final values: 
  norm       = 0.890728
  norm       = 20.5633
  Prefactor  = 0.0001
  Prefactor  = 1.70279
  norm       = 1.09606
  Prefactor  = 0.0001
  Prefactor  = 0.0001
  norm       = 0.367534
  Prefactor  = 0.0001
  Prefactor  = 0.0001
  Prefactor  = 0.0001
  norm       = 8.32517
  Normalizat = 1.14745
  Prefactor  = 0.949725
 **********
 **   18 **HESSE 
 **********

 FCN=   8946.383     FROM HESSE     STATUS=OK           162 CALLS     1201 TOTAL
                     EDM=   .24E-08    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  norm          .89073        6.9252        .45998E-03   -1.5519    
   2  norm          20.563        9.8545        .88326E-04   -1.4801    
   3  Prefactor     .10000E-03    7.0838        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   4  Prefactor     1.7028        7.7081        .16117E-02   -1.5447    
   5  norm          1.0961        .56085        .48821E-04   -1.5499    
   6  Prefactor     .10000E-03    3.6209        .17408E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   7  Prefactor     .10000E-03    4.7018        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   8  norm          .36753        8.2726        .22721E-02   -1.5587    
   9  Prefactor     .10000E-03    22.352        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  10  Prefactor     .10000E-03    11.571        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  11  Prefactor     .10000E-03    9.8080        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  12  norm          8.3252        10.544        .13894E-03   -1.5131    
  13  Normalizat    1.1474        .18568        .30070E-03   -.88243    
  14  Prefactor     .94972        .96081E-01    .17154E-03   -.94425    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 2.35713e-09
Minuit parameter uncertainties:
  1  4.96779
  2  9.85526
  3  1.45608e-05
  4  7.24707
  5  0.560849
  6  1.69829e-06
  7  1.10493e-05
  8  3.48746
  9  5.85405e-05
  10  9.47473e-05
  11  0.000135582
  12  10.5467
  13  0.185787
  14  0.0960984
Done.

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

Extracting fit parameters...

4FGL J0719.3+3307
   Spectrum: LogParabola
295         norm:  1.096e+00  5.608e-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.497e-01  9.610e-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.147e+00  1.858e-01  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Fixed Index): 11.99
Ra Dec: 109.840 33.123
Photon Index (Fixed Index): 2.08 +/- 0.00
Photon Flux (Fixed Index): 4.82e-08 +/- 2.47e-08
Energy Flux (Fixed Index): 2.25e-05 +/- 1.15e-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) = 8946.38243744
delta logL = 0.0010517484352

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

MINUIT Return Code (Free Index): 0
logL (Free Index) = 8946.38240486
delta logL = 0.00108433266541

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'norm      '    1.0937       1.0000         .10000E-03   10000.    
     2 'alpha     '    2.1065       1.0000          .0000       5.0000    
     3 'Normalizat'    1.1461       1.0000         .10000E-01   10.000    
     4 'Prefactor '    .95006       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=   8946.382     FROM MIGRAD    STATUS=CONVERGED     54 CALLS      203 TOTAL
                     EDM=   .49E-09    STRATEGY= 1      ERR MATRIX NOT POS-DEF

  EXT PARAMETER                APPROXIMATE        STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  norm          1.0937        10.690        .11048E-01   -.28846E-04
   2  alpha         2.1059        3.3169        .41815        .10053E-04
   3  Normalizat    1.1463        .98972E-01    .67996E-01    .16163E-04
   4  Prefactor     .95001        .39559E-01    .45640E-01    .63104E-06
                               ERR DEF=  .500    
Final values: 
  norm       = 1.09365
  alpha      = 2.1059
  Normalizat = 1.14628
  Prefactor  = 0.950013
 **********
 **   18 **HESSE 
 **********

 FCN=   8946.382     FROM HESSE     STATUS=OK            33 CALLS      236 TOTAL
                     EDM=   .70E-10    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  norm          1.0937        .56300        .48618E-04   -1.5499    
   2  alpha         2.1059        .50690        .15075E-01   -.15830    
   3  Normalizat    1.1463        .17810        .30083E-03   -.88280    
   4  Prefactor     .95001        .92892E-01    .17151E-03   -.94415    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 6.98761e-11
Minuit parameter uncertainties:
  1  0.563005
  2  0.510529
  3  0.178196
  4  0.0929078
shell-init: error retrieving current directory: getcwd: cannot access parent directories: No such file or directory
rmdir: failed to remove `/scratch/kocevski/217094': 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) = 8946.38240401
delta logL = 0.00108518677371

Extracting fit parameters...

4FGL J0719.3+3307
   Spectrum: LogParabola
295         norm:  1.094e+00  5.630e-01  1.000e-04  1.000e+04 ( 1.000e-11)
296        alpha:  2.106e+00  5.105e-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.500e-01  9.291e-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.146e+00  1.782e-01  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Free Index): 11.98
Ra Dec: 109.840 33.123
Photon Index (Free Index): 2.11 +/- 0.51
Photon Flux (Free Index): 4.93e-08 +/- 3.31e-08
Energy Flux (Free Index): 2.22e-05 +/- 1.29e-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/217094/cmap_HighResolution_485308801_485568001_4FGL_J0719.3+3307_daily_bin949.png

Cleaning up...

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

Updating database...

UPDATE lightcurve_data_v2 SET comment='SUCCESS', photon_flux='4.82e-08', energy_flux2='2.22e-05', photon_flux_error='2.47e-08', dlogl='1.09e-03', energy_flux='2.25e-05', photon_flux2='4.93e-08', job_status='DONE', time_completed='2021-08-27 00:04:08.657436', photon_index_error2='0.51', photon_index2='2.11', ts='11.99', fit_tolerance='1e-08', GAL='0.95', photon_index_error='0.00', energy_flux_error2='1.29e-05', EG='1.15', time_epoch_completed='1630047848.66', return_code='0', job_id='217094', GAL2='0.95', EG2='1.15', return_code2='0', energy_flux_error='1.15e-05', photon_flux_error2='3.31e-08', ts2='11.98', photon_index='2.08' WHERE bin_id='949' AND source_name='4FGL J0719.3+3307' AND cadence='daily';

Database successfully updated.


Analysis Complete.


Fri Aug 27 00:04:08 PDT 2021


------------------------------------------------------------
Sender: LSF System <lsf@bullet0225>
Subject: Job 217094: <4FGL_J0719.3+3307_daily_bin949> in cluster <slac> Done

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

Your job looked like:

------------------------------------------------------------
# LSBATCH: User input
/nfs/farm/g/glast/g/LCRepository/Likelihood/Scripts/LikelihoodAnalysis.py 4FGL_J0719.3+3307_daily_bin949 109.84 33.1232 485308801 485568001 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 :                                   633.11 sec.
    Max Memory :                                 1094 MB
    Average Memory :                             304.74 MB
    Total Requested Memory :                     -
    Delta Memory :                               -
    Max Swap :                                   -
    Max Processes :                              5
    Max Threads :                                21
    Run time :                                   802 sec.
    Turnaround time :                            806 sec.

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

