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


Performing analysis on: 4FGL_J0719.3+3307_daily_bin981
RA = 109.84, Dec = 33.1232
tmin = 493603201, tmax = 493862401
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='217143', job_status='RUN', time_executed='2021-08-26 23:54:10.420958', time_epoch_executed='1630047250.42' WHERE source_name='4FGL J0719.3+3307' and cadence='daily' and bin_id='981'

Database successfully updated.
Done.

Creating custom output directory:
/scratch/kocevski/217143

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

Retrieving the FT1 file...

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

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

Retrieving 45 files...
Done.


Merging files...

Checksum keywords updated successfully.

Merged file saved to:
/scratch/kocevski/217143/ft1_4FGL_J0719.3+3307_daily_bin981.fits


Retrieving the FT1 file...

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

Retrieving 45 files...
Done.


Merging files...

Merged file saved to:
/scratch/kocevski/217143/ft2_4FGL_J0719.3+3307_daily_bin981.fits


Selecting the photons:
time -p gtselect infile=/scratch/kocevski/217143/ft1_4FGL_J0719.3+3307_daily_bin981.fits outfile=/scratch/kocevski/217143/ft1_filteredMKT_4FGL_J0719.3+3307_daily_bin981.fits ra=109.84 dec=33.1232 rad=12.0 tmin=493603201.0 tmax=493862401.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.60
user 3.31
sys 0.21

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

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

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

Generating the exposure map:
time -p gtexpmap evfile=/scratch/kocevski/217143/ft1_filtered_4FGL_J0719.3+3307_daily_bin981.fits evtable="EVENTS" scfile=/scratch/kocevski/217143/ft2_4FGL_J0719.3+3307_daily_bin981.fits sctable="SC_DATA" expcube=/scratch/kocevski/217143/ltcube_493603201_493862401_4FGL_J0719.3+3307_daily_bin981.fits outfile=/scratch/kocevski/217143/expmap_493603201_493862401_4FGL_J0719.3+3307_daily_bin981.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/217143/ltcube_493603201_493862401_4FGL_J0719.3+3307_daily_bin981.fits
.....................!
real 191.08
user 185.79
sys 4.89

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/217143/ft1_filtered_4FGL_J0719.3+3307_daily_bin981.fits scfile=/scratch/kocevski/217143/ft2_4FGL_J0719.3+3307_daily_bin981.fits outfile=/scratch/kocevski/217143/cmap_493603201_493862401_4FGL_J0719.3+3307_daily_bin981.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.16

Creating the high resolution counts map:
time -p gtbin evfile=/scratch/kocevski/217143/ft1_filtered_4FGL_J0719.3+3307_daily_bin981.fits scfile=/scratch/kocevski/217143/ft2_4FGL_J0719.3+3307_daily_bin981.fits outfile=/scratch/kocevski/217143/cmap_HighResolution_493603201_493862401_4FGL_J0719.3+3307_daily_bin981.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.36
sys 0.16

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

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

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

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

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'norm      '    .10001E-03   1.0000         .10000E-03   10000.    
     2 'norm      '    31.084       1.0000         .10000E-03   10000.    
     3 'Prefactor '    14.251       1.0000         .10000E-03   10000.    
     4 'Prefactor '    5.4366       1.0000         .10000E-03   10000.    
     5 'norm      '    .54336       1.0000         .10000E-03   10000.    
     6 'Prefactor '    .24352E-02   1.0000         .10000E-03   10000.    
     7 'Prefactor '    9.3944       1.0000         .10000E-03   10000.    
     8 'norm      '    .10160E-03   1.0000         .10000E-03   10000.    
     9 'Prefactor '    .10007E-03   1.0000         .10000E-03   10000.    
    10 'Prefactor '    13.939       1.0000         .10000E-03   10000.    
    11 'Prefactor '    .10004E-03   1.0000         .10000E-03   10000.    
    12 'norm      '    15.074       1.0000         .10000E-03   10000.    
    13 'Normalizat'    .72614       1.0000         .10000E-01   10.000    
    14 'Prefactor '    1.2011       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=   8366.432     FROM MIGRAD    STATUS=CONVERGED    245 CALLS     1213 TOTAL
                     EDM=   .84E-08    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  norm          .10000E-03    2.8481        .90712E-02** at limit **
   2  norm          31.084        13.021        .17967E-02    .36561E-04
   3  Prefactor     14.250        20.144        .26525E-02    .52605E-03
   4  Prefactor     5.4365        6.8963        .43084E-02    .26907E-02
   5  norm          .54336        .45786        .11447E-01    .14694E-03
   6  Prefactor     .10000E-03    3.5734        .54209E-01** at limit **
   7  Prefactor     9.3931        10.871        .32688E-02   -.34009E-03
   8  norm          .10000E-03    2.1826        .90712E-02** at limit **
   9  Prefactor     .10000E-03    15.135        .90712E-02** at limit **
  10  Prefactor     13.936        19.301        .26821E-02    .66090E-03
  11  Prefactor     .10000E-03    13.046        .90712E-02** at limit **
  12  norm          15.073        12.454        .25790E-02   -.21349E-03
  13  Normalizat    .72624        .18897        .87374E-01    .22266E-03
  14  Prefactor     1.2011        .96560E-01    .34605E-01    .24062E-03
                               ERR DEF=  .500    
Final values: 
  norm       = 0.0001
  norm       = 31.0836
  Prefactor  = 14.2504
  Prefactor  = 5.43648
  norm       = 0.543356
  Prefactor  = 0.0001
  Prefactor  = 9.39314
  norm       = 0.0001
  Prefactor  = 0.0001
  Prefactor  = 13.9363
  Prefactor  = 0.0001
  norm       = 15.0727
  Normalizat = 0.726236
  Prefactor  = 1.20107
 **********
 **   18 **HESSE 
 **********

 FCN=   8366.432     FROM HESSE     STATUS=OK           172 CALLS     1385 TOTAL
                     EDM=   .21E-08    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  norm          .10000E-03    2.8883        .15071E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   2  norm          31.084        13.026        .71867E-04   -1.4592    
   3  Prefactor     14.250        20.146        .10610E-03   -1.4953    
   4  Prefactor     5.4365        6.8912        .86168E-03   -1.5242    
   5  norm          .54336        .49258        .54882E-03   -1.5561    
   6  Prefactor     .10000E-03    3.6527        .53437E-01   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   7  Prefactor     9.3931        10.881        .13075E-03   -1.5095    
   8  norm          .10000E-03    2.2072        .13166E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   9  Prefactor     .10000E-03    15.152        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  10  Prefactor     13.936        19.297        .10728E-03   -1.4961    
  11  Prefactor     .10000E-03    13.052        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  12  norm          15.073        12.470        .10316E-03   -1.4931    
  13  Normalizat    .72624        .20510        .38702E-03   -1.0287    
  14  Prefactor     1.2011        .10520        .16429E-03   -.86298    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 2.10791e-09
Minuit parameter uncertainties:
  1  5.21821e-06
  2  13.0269
  3  20.156
  4  6.89217
  5  0.492583
  6  2.01948e-06
  7  10.8829
  8  4.18287e-06
  9  3.72294e-05
  10  19.3054
  11  2.90705e-05
  12  12.4719
  13  0.205319
  14  0.105219
Done.

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

Extracting fit parameters...

4FGL J0719.3+3307
   Spectrum: LogParabola
295         norm:  5.434e-01  4.926e-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:  1.201e+00  1.052e-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:  7.262e-01  2.053e-01  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Fixed Index): 6.94
Ra Dec: 109.840 33.123
Photon Index (Fixed Index): 2.08 +/- 0.00
Photon Flux (Fixed Index): 2.39e-08 +/- 2.17e-08
Energy Flux (Fixed Index): 1.12e-05 +/- 1.01e-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) = 8362.18361912
delta logL = 4.24792457129

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

MINUIT Return Code (Free Index): 0
logL (Free Index) = 8362.06372222
delta logL = 4.36782147386

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'norm      '    .18253E-01   1.0000         .10000E-03   10000.    
     2 'alpha     '    .44876E-07   1.0000          .0000       5.0000    
     3 'Normalizat'    .74497       1.0000         .10000E-01   10.000    
     4 'Prefactor '    1.1987       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=   8362.064     FROM MIGRAD    STATUS=CONVERGED     55 CALLS      264 TOTAL
                     EDM=   .57E-09    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  norm          .18312E-01    .27543E-01    .26501E-02   -.11102E-01
   2  alpha         .80425E-11    1.0531        .46267    ** at limit **
   3  Normalizat    .74474        .17843        .86343E-01    .51921E-04
   4  Prefactor     1.1989        .95599E-01    .34661E-01   -.22584E-04
                               ERR DEF=  .500    
Final values: 
  norm       = 0.018312
  alpha      = 8.04246e-12
  Normalizat = 0.744738
  Prefactor  = 1.19887
 **********
 **   18 **HESSE 
 **********

 FCN=   8362.064     FROM HESSE     STATUS=OK            37 CALLS      301 TOTAL
                     EDM=   .26E-09    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  norm          .18312E-01    .24210E-01    .97927E-04   -1.5681    
   2  alpha         .80425E-11    .58125        .45755       -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   3  Normalizat    .74474        .19360        .38243E-03   -1.0215    
   4  Prefactor     1.1989        .10403        .16439E-03   -.86366    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 2.6426e-10
Minuit parameter uncertainties:
  1  0.0242104
  2  4.41272e-06
  3  0.193778
  4  0.104049
shell-init: error retrieving current directory: getcwd: cannot access parent directories: No such file or directory
rmdir: failed to remove `/scratch/kocevski/217143': 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) = 8362.06371591
delta logL = 4.36782778403

Extracting fit parameters...

4FGL J0719.3+3307
   Spectrum: LogParabola
295         norm:  1.831e-02  2.421e-02  1.000e-04  1.000e+04 ( 1.000e-11)
296        alpha:  8.042e-12  4.413e-06  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:  1.199e+00  1.040e-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:  7.447e-01  1.938e-01  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Free Index): 15.65
Ra Dec: 109.840 33.123
Photon Index (Free Index): 0.00 +/- 0.00
Photon Flux (Free Index): 4.15e-09 +/- 5.48e-09
Energy Flux (Free Index): 1.27e-04 +/- 1.68e-04

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/217143/cmap_HighResolution_493603201_493862401_4FGL_J0719.3+3307_daily_bin981.png

Cleaning up...

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

Updating database...

UPDATE lightcurve_data_v2 SET comment='SUCCESS', photon_flux='2.39e-08', energy_flux2='1.27e-04', photon_flux_error='2.17e-08', dlogl='4.37e+00', energy_flux='1.12e-05', photon_flux2='4.15e-09', job_status='DONE', time_completed='2021-08-27 00:04:26.000265', photon_index_error2='0.00', photon_index2='0.00', ts='6.94', fit_tolerance='1e-08', GAL='1.20', photon_index_error='0.00', energy_flux_error2='1.68e-04', EG='0.73', time_epoch_completed='1630047866.0', return_code='0', job_id='217143', GAL2='1.20', EG2='0.74', return_code2='0', energy_flux_error='1.01e-05', photon_flux_error2='5.48e-09', ts2='15.65', photon_index='2.08' WHERE bin_id='981' AND source_name='4FGL J0719.3+3307' AND cadence='daily';

Database successfully updated.


Analysis Complete.


Fri Aug 27 00:04:26 PDT 2021


------------------------------------------------------------
Sender: LSF System <lsf@bullet0049>
Subject: Job 217143: <4FGL_J0719.3+3307_daily_bin981> in cluster <slac> Done

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

Your job looked like:

------------------------------------------------------------
# LSBATCH: User input
/nfs/farm/g/glast/g/LCRepository/Likelihood/Scripts/LikelihoodAnalysis.py 4FGL_J0719.3+3307_daily_bin981 109.84 33.1232 493603201 493862401 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 :                                   613.00 sec.
    Max Memory :                                 1094 MB
    Average Memory :                             257.71 MB
    Total Requested Memory :                     -
    Delta Memory :                               -
    Max Swap :                                   -
    Max Processes :                              5
    Max Threads :                                21
    Run time :                                   810 sec.
    Turnaround time :                            821 sec.

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

