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


Performing analysis on: 4FGL_J0719.3+3307_daily_bin941
RA = 109.84, Dec = 33.1232
tmin = 483235201, tmax = 483494401
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='217082', job_status='RUN', time_executed='2021-08-26 23:53:35.031113', time_epoch_executed='1630047215.03' WHERE source_name='4FGL J0719.3+3307' and cadence='daily' and bin_id='941'

Database successfully updated.
Done.

Creating custom output directory:
/scratch/kocevski/217082

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

Retrieving the FT1 file...

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

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

Retrieving 46 files...
Done.


Merging files...

Checksum keywords updated successfully.

Merged file saved to:
/scratch/kocevski/217082/ft1_4FGL_J0719.3+3307_daily_bin941.fits


Retrieving the FT1 file...

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

Retrieving 46 files...
Done.


Merging files...

Merged file saved to:
/scratch/kocevski/217082/ft2_4FGL_J0719.3+3307_daily_bin941.fits


Selecting the photons:
time -p gtselect infile=/scratch/kocevski/217082/ft1_4FGL_J0719.3+3307_daily_bin941.fits outfile=/scratch/kocevski/217082/ft1_filteredMKT_4FGL_J0719.3+3307_daily_bin941.fits ra=109.84 dec=33.1232 rad=12.0 tmin=483235201.0 tmax=483494401.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.45
user 3.20
sys 0.20

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

Selecting the good time intervals:
time -p gtmktime scfile=/scratch/kocevski/217082/ft2_4FGL_J0719.3+3307_daily_bin941.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/217082/ft1_filteredMKT_4FGL_J0719.3+3307_daily_bin941.fits evtable="EVENTS" outfile="/scratch/kocevski/217082/ft1_filtered_4FGL_J0719.3+3307_daily_bin941.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.57
user 0.35
sys 0.15

Generating the livetime cube:
time -p gtltcube evfile="/scratch/kocevski/217082/ft1_filtered_4FGL_J0719.3+3307_daily_bin941.fits" evtable="EVENTS" scfile=/scratch/kocevski/217082/ft2_4FGL_J0719.3+3307_daily_bin941.fits sctable="SC_DATA" outfile=/scratch/kocevski/217082/ltcube_483235201_483494401_4FGL_J0719.3+3307_daily_bin941.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/217082/ft2_4FGL_J0719.3+3307_daily_bin941.fits
.....................!
real 11.87
user 11.42
sys 0.34

Generating the exposure map:
time -p gtexpmap evfile=/scratch/kocevski/217082/ft1_filtered_4FGL_J0719.3+3307_daily_bin941.fits evtable="EVENTS" scfile=/scratch/kocevski/217082/ft2_4FGL_J0719.3+3307_daily_bin941.fits sctable="SC_DATA" expcube=/scratch/kocevski/217082/ltcube_483235201_483494401_4FGL_J0719.3+3307_daily_bin941.fits outfile=/scratch/kocevski/217082/expmap_483235201_483494401_4FGL_J0719.3+3307_daily_bin941.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/217082/ltcube_483235201_483494401_4FGL_J0719.3+3307_daily_bin941.fits
.....................!
real 190.50
user 185.52
sys 4.45

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/217082/ft1_filtered_4FGL_J0719.3+3307_daily_bin941.fits scfile=/scratch/kocevski/217082/ft2_4FGL_J0719.3+3307_daily_bin941.fits outfile=/scratch/kocevski/217082/cmap_483235201_483494401_4FGL_J0719.3+3307_daily_bin941.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.54
user 0.36
sys 0.17

Creating the high resolution counts map:
time -p gtbin evfile=/scratch/kocevski/217082/ft1_filtered_4FGL_J0719.3+3307_daily_bin941.fits scfile=/scratch/kocevski/217082/ft2_4FGL_J0719.3+3307_daily_bin941.fits outfile=/scratch/kocevski/217082/cmap_HighResolution_483235201_483494401_4FGL_J0719.3+3307_daily_bin941.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.54
user 0.39
sys 0.15

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

Creating the likelihood object...
obs = UnbinnedObs('/scratch/kocevski/217082/ft1_filtered_4FGL_J0719.3+3307_daily_bin941.fits', '/scratch/kocevski/217082/ft2_4FGL_J0719.3+3307_daily_bin941.fits', expMap='/scratch/kocevski/217082/expmap_483235201_483494401_4FGL_J0719.3+3307_daily_bin941.fits', expCube='/scratch/kocevski/217082/ltcube_483235201_483494401_4FGL_J0719.3+3307_daily_bin941.fits', irfs='P8R3_SOURCE_V2')
like = UnbinnedAnalysis(obs, '/scratch/kocevski/217082/Model_4FGL_J0719.3+3307_daily_bin941.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/217082/ft1_filtered_4FGL_J0719.3+3307_daily_bin941.fits
Spacecraft file(s): /scratch/kocevski/217082/ft2_4FGL_J0719.3+3307_daily_bin941.fits
Exposure map: /scratch/kocevski/217082/expmap_483235201_483494401_4FGL_J0719.3+3307_daily_bin941.fits
Exposure cube: /scratch/kocevski/217082/ltcube_483235201_483494401_4FGL_J0719.3+3307_daily_bin941.fits
IRFs: P8R3_SOURCE_V2
Source model file: /scratch/kocevski/217082/Model_4FGL_J0719.3+3307_daily_bin941.xml
Optimizer: MINUIT
Statistic: UNBINNED

Performing an iterative likelihood fit...

Fit tolerance = 1

Performing likelihood fit...
Done.

MINUIT Return Code (Fixed Index): 102
logL (Fixed Index) = 8554.24987886

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

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

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'norm      '    .92858       1.0000         .10000E-03   10000.    
     2 'norm      '    26.925       1.0000         .10000E-03   10000.    
     3 'Prefactor '    .10005E-03   1.0000         .10000E-03   10000.    
     4 'Prefactor '    6.6012       1.0000         .10000E-03   10000.    
     5 'norm      '    1.1422       1.0000         .10000E-03   10000.    
     6 'Prefactor '    14.605       1.0000         .10000E-03   10000.    
     7 'Prefactor '    4.2419       1.0000         .10000E-03   10000.    
     8 'norm      '    10.248       1.0000         .10000E-03   10000.    
     9 'Prefactor '    .12918E-03   1.0000         .10000E-03   10000.    
    10 'Prefactor '    .10145E-03   1.0000         .10000E-03   10000.    
    11 'Prefactor '    .10047E-03   1.0000         .10000E-03   10000.    
    12 'norm      '    .10102E-03   1.0000         .10000E-03   10000.    
    13 'Normalizat'    1.4051       1.0000         .10000E-01   10.000    
    14 'Prefactor '    .83555       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=   8554.088     FROM MIGRAD    STATUS=CONVERGED    258 CALLS     1051 TOTAL
                     EDM=   .98E-09  STRATEGY=1  ERROR MATRIX UNCERTAINTY=  4.9%

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  norm          .92714        4.0491        .85707E-06   -.51430E-03
   2  norm          26.922        13.972        .51441E-07    .49939E-05
   3  Prefactor     .10000E-03    21.549       -.40892E-05** at limit **
   4  Prefactor     6.6013        6.2344        .95794E-06    .35459E-03
   5  norm          1.1423        .61961       -.69720E-08   -.10083E-03
   6  Prefactor     14.609        8.5902       -.18761E-06   -.11694E-03
   7  Prefactor     4.2430        7.9511        .19900E-05   -.10209E-02
   8  norm          10.253        5.1409        .26693E-06   -.10258E-02
   9  Prefactor     .10001E-03    44.392       -.97004E-05** at limit **
  10  Prefactor     .10000E-03    12.479       -.54236E-07** at limit **
  11  Prefactor     .10000E-03    19.450        .26982E-05** at limit **
  12  norm          .10001E-03    37.385        .10459E-04** at limit **
  13  Normalizat    1.4048        .18885       -.15179E-06   -.11246E-03
  14  Prefactor     .83573        .90264E-01   -.16204E-06   -.82564E-04
                               ERR DEF=  .500    
Final values: 
  norm       = 0.927138
  norm       = 26.9219
  Prefactor  = 0.000100002
  Prefactor  = 6.60129
  norm       = 1.1423
  Prefactor  = 14.6086
  Prefactor  = 4.243
  norm       = 10.2528
  Prefactor  = 0.00010001
  Prefactor  = 0.0001
  Prefactor  = 0.000100001
  norm       = 0.000100007
  Normalizat = 1.40479
  Prefactor  = 0.835728
 **********
 **   18 **HESSE 
 **********

 FCN=   8554.088     FROM HESSE     STATUS=OK           168 CALLS     1219 TOTAL
                     EDM=   .39E-08    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  norm          .92714        4.4269        .37022E-03   -1.5515    
   2  norm          26.922        13.993        .77205E-04   -1.4670    
   3  Prefactor     .10000E-03    21.848        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   4  Prefactor     6.6013        6.2640        .15619E-03   -1.5194    
   5  norm          1.1423        .61894        .51850E-04   -1.5494    
   6  Prefactor     14.609        8.6332        .10481E-03   -1.4943    
   7  Prefactor     4.2430        10.404        .97820E-03   -1.5296    
   8  norm          10.253        5.3238        .62583E-03   -1.5067    
   9  Prefactor     .10001E-03    45.885        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  10  Prefactor     .10000E-03    12.527        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  11  Prefactor     .10000E-03    19.574        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  12  norm          .10001E-03    38.828        .36285E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  13  Normalizat    1.4048        .21595        .30588E-03   -.80490    
  14  Prefactor     .83573        .10236        .18701E-03   -.98424    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 3.94516e-09
Minuit parameter uncertainties:
  1  4.05212
  2  13.9946
  3  0.000403534
  4  6.26457
  5  0.618944
  6  8.63392
  7  10.408
  8  5.32402
  9  0.001357
  10  3.72799e-06
  11  0.000257937
  12  0.00103663
  13  0.216093
  14  0.102379
Done.

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

Extracting fit parameters...

4FGL J0719.3+3307
   Spectrum: LogParabola
295         norm:  1.142e+00  6.189e-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.357e-01  1.024e-01  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.405e+00  2.161e-01  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Fixed Index): 11.38
Ra Dec: 109.840 33.123
Photon Index (Fixed Index): 2.08 +/- 0.00
Photon Flux (Fixed Index): 5.03e-08 +/- 2.72e-08
Energy Flux (Fixed Index): 2.35e-05 +/- 1.27e-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) = 8552.76841818
delta logL = 1.31931470716

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

MINUIT Return Code (Free Index): 0
logL (Free Index) = 8552.76672919
delta logL = 1.32100369303

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'norm      '    .85774       1.0000         .10000E-03   10000.    
     2 'alpha     '    1.3546       1.0000          .0000       5.0000    
     3 'Normalizat'    1.4264       1.0000         .10000E-01   10.000    
     4 'Prefactor '    .83247       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=   8552.767     FROM MIGRAD    STATUS=CONVERGED     51 CALLS      211 TOTAL
                     EDM=   .37E-10    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  norm          .85798        .51252        .10973E-01   -.59850E-03
   2  alpha         1.3540        .32795        .31489       -.27137E-04
   3  Normalizat    1.4266        .17987        .68710E-01   -.47933E-05
   4  Prefactor     .83240        .87856E-01    .44138E-01    .54223E-04
                               ERR DEF=  .500    
Final values: 
  norm       = 0.857985
  alpha      = 1.35395
  Normalizat = 1.4266
  Prefactor  = 0.832403
 **********
 **   18 **HESSE 
 **********

 FCN=   8552.767     FROM HESSE     STATUS=OK            33 CALLS      244 TOTAL
                     EDM=   .12E-10    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  norm          .85798        .63524        .48360E-04   -1.5523    
   2  alpha         1.3540        .43453        .12965E-01   -.47622    
   3  Normalizat    1.4266        .20206        .30397E-03   -.79862    
   4  Prefactor     .83240        .98783E-01    .18739E-03   -.98545    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 1.16027e-11
Minuit parameter uncertainties:
  1  0.635242
  2  0.437346
  3  0.202174
  4  0.0988044
shell-init: error retrieving current directory: getcwd: cannot access parent directories: No such file or directory
rmdir: failed to remove `/scratch/kocevski/217082': 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) = 8552.76672612
delta logL = 1.32100676192

Extracting fit parameters...

4FGL J0719.3+3307
   Spectrum: LogParabola
295         norm:  8.580e-01  6.352e-01  1.000e-04  1.000e+04 ( 1.000e-11)
296        alpha:  1.354e+00  4.373e-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.324e-01  9.880e-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.427e+00  2.022e-01  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Free Index): 14.01
Ra Dec: 109.840 33.123
Photon Index (Free Index): 1.35 +/- 0.44
Photon Flux (Free Index): 2.42e-08 +/- 1.87e-08
Energy Flux (Free Index): 5.00e-05 +/- 4.17e-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/217082/cmap_HighResolution_483235201_483494401_4FGL_J0719.3+3307_daily_bin941.png

Cleaning up...

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

Updating database...

UPDATE lightcurve_data_v2 SET comment='SUCCESS', photon_flux='5.03e-08', energy_flux2='5.00e-05', photon_flux_error='2.72e-08', dlogl='1.32e+00', energy_flux='2.35e-05', photon_flux2='2.42e-08', job_status='DONE', time_completed='2021-08-27 00:03:45.189373', photon_index_error2='0.44', photon_index2='1.35', ts='11.38', fit_tolerance='1e-08', GAL='0.84', photon_index_error='0.00', energy_flux_error2='4.17e-05', EG='1.40', time_epoch_completed='1630047825.19', return_code='0', job_id='217082', GAL2='0.83', EG2='1.43', return_code2='0', energy_flux_error='1.27e-05', photon_flux_error2='1.87e-08', ts2='14.01', photon_index='2.08' WHERE bin_id='941' AND source_name='4FGL J0719.3+3307' AND cadence='daily';

Database successfully updated.


Analysis Complete.


Fri Aug 27 00:03:45 PDT 2021


------------------------------------------------------------
Sender: LSF System <lsf@bullet0231>
Subject: Job 217082: <4FGL_J0719.3+3307_daily_bin941> in cluster <slac> Done

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

Your job looked like:

------------------------------------------------------------
# LSBATCH: User input
/nfs/farm/g/glast/g/LCRepository/Likelihood/Scripts/LikelihoodAnalysis.py 4FGL_J0719.3+3307_daily_bin941 109.84 33.1232 483235201 483494401 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 :                                   606.00 sec.
    Max Memory :                                 1257 MB
    Average Memory :                             272.72 MB
    Total Requested Memory :                     -
    Delta Memory :                               -
    Max Swap :                                   -
    Max Processes :                              5
    Max Threads :                                21
    Run time :                                   781 sec.
    Turnaround time :                            786 sec.

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

