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


Performing analysis on: 4FGL_J0719.3+3307_daily_bin975
RA = 109.84, Dec = 33.1232
tmin = 492048001, tmax = 492307201
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='217133', job_status='RUN', time_executed='2021-08-26 23:53:27.942042', time_epoch_executed='1630047207.94' WHERE source_name='4FGL J0719.3+3307' and cadence='daily' and bin_id='975'

Database successfully updated.
Done.

Creating custom output directory:
/scratch/kocevski/217133

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

Retrieving the FT1 file...

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

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

Retrieving 47 files...
Done.


Merging files...

Checksum keywords updated successfully.

Merged file saved to:
/scratch/kocevski/217133/ft1_4FGL_J0719.3+3307_daily_bin975.fits


Retrieving the FT1 file...

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

Retrieving 47 files...
Done.


Merging files...

Merged file saved to:
/scratch/kocevski/217133/ft2_4FGL_J0719.3+3307_daily_bin975.fits


Selecting the photons:
time -p gtselect infile=/scratch/kocevski/217133/ft1_4FGL_J0719.3+3307_daily_bin975.fits outfile=/scratch/kocevski/217133/ft1_filteredMKT_4FGL_J0719.3+3307_daily_bin975.fits ra=109.84 dec=33.1232 rad=12.0 tmin=492048001.0 tmax=492307201.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.92
user 3.48
sys 0.42

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

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

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

Generating the exposure map:
time -p gtexpmap evfile=/scratch/kocevski/217133/ft1_filtered_4FGL_J0719.3+3307_daily_bin975.fits evtable="EVENTS" scfile=/scratch/kocevski/217133/ft2_4FGL_J0719.3+3307_daily_bin975.fits sctable="SC_DATA" expcube=/scratch/kocevski/217133/ltcube_492048001_492307201_4FGL_J0719.3+3307_daily_bin975.fits outfile=/scratch/kocevski/217133/expmap_492048001_492307201_4FGL_J0719.3+3307_daily_bin975.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/217133/ltcube_492048001_492307201_4FGL_J0719.3+3307_daily_bin975.fits
.....................!
real 193.08
user 187.79
sys 4.75

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/217133/ft1_filtered_4FGL_J0719.3+3307_daily_bin975.fits scfile=/scratch/kocevski/217133/ft2_4FGL_J0719.3+3307_daily_bin975.fits outfile=/scratch/kocevski/217133/cmap_492048001_492307201_4FGL_J0719.3+3307_daily_bin975.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.76
user 0.38
sys 0.36

Creating the high resolution counts map:
time -p gtbin evfile=/scratch/kocevski/217133/ft1_filtered_4FGL_J0719.3+3307_daily_bin975.fits scfile=/scratch/kocevski/217133/ft2_4FGL_J0719.3+3307_daily_bin975.fits outfile=/scratch/kocevski/217133/cmap_HighResolution_492048001_492307201_4FGL_J0719.3+3307_daily_bin975.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.76
user 0.38
sys 0.37

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

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

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

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

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'norm      '    3.4566       1.0000         .10000E-03   10000.    
     2 'norm      '    13.929       1.0000         .10000E-03   10000.    
     3 'Prefactor '    100.12       1.0000         .10000E-03   10000.    
     4 'Prefactor '    7.7592       1.0000         .10000E-03   10000.    
     5 'norm      '    .10008E-03   1.0000         .10000E-03   10000.    
     6 'Prefactor '    7.3265       1.0000         .10000E-03   10000.    
     7 'Prefactor '    .10029E-03   1.0000         .10000E-03   10000.    
     8 'norm      '    1.5926       1.0000         .10000E-03   10000.    
     9 'Prefactor '    .10700E-03   1.0000         .10000E-03   10000.    
    10 'Prefactor '    .10010E-03   1.0000         .10000E-03   10000.    
    11 'Prefactor '    33.737       1.0000         .10000E-03   10000.    
    12 'norm      '    .10004E-03   1.0000         .10000E-03   10000.    
    13 'Normalizat'    1.1377       1.0000         .10000E-01   10.000    
    14 'Prefactor '    .97858       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=   4461.504     FROM MIGRAD    STATUS=CONVERGED    264 CALLS     1222 TOTAL
                     EDM=   .12E-08  STRATEGY=1  ERROR MATRIX UNCERTAINTY=   .8%

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  norm          3.4550        8.0548        .65831E-05   -.53156E-03
   2  norm          13.928        12.294       -.11661E-05    .64876E-04
   3  Prefactor     100.10        120.05       -.18861E-04    .10445E-03
   4  Prefactor     7.7581        12.279       -.25072E-05    .39203E-04
   5  norm          .10000E-03    .87347       -.10297E-06** at limit **
   6  Prefactor     7.3266        13.494        .49166E-06   -.19107E-04
   7  Prefactor     .10000E-03    49.800        .79525E-06** at limit **
   8  norm          1.5819        6.6147       -.53306E-05   -.77440E-03
   9  Prefactor     .10000E-03    132.33       -.19014E-05** at limit **
  10  Prefactor     .10000E-03    10.631        .21862E-06** at limit **
  11  Prefactor     33.748        49.977        .12375E-04   -.53548E-04
  12  norm          .10000E-03    24.590       -.11174E-06** at limit **
  13  Normalizat    1.1377        .31845        .29827E-05    .42641E-04
  14  Prefactor     .97865        .13053       -.75955E-06    .22155E-03
                               ERR DEF=  .500    
Final values: 
  norm       = 3.45498
  norm       = 13.9275
  Prefactor  = 100.102
  Prefactor  = 7.75806
  norm       = 0.0001
  Prefactor  = 7.32665
  Prefactor  = 0.0001
  norm       = 1.58194
  Prefactor  = 0.0001
  Prefactor  = 0.0001
  Prefactor  = 33.748
  norm       = 0.0001
  Normalizat = 1.13767
  Prefactor  = 0.978655
 **********
 **   18 **HESSE 
 **********

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

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  norm          3.4550        7.8553        .21753E-03   -1.5336    
   2  norm          13.928        12.322        .10732E-03   -1.4961    
   3  Prefactor     100.10        119.31        .40178E-04   -1.3704    
   4  Prefactor     7.7581        12.313        .14396E-03   -1.5151    
   5  norm          .10000E-03    4.1980        .11824E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   6  Prefactor     7.3266        13.594        .14818E-03   -1.5167    
   7  Prefactor     .10000E-03    50.028        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   8  norm          1.5819        7.4043        .30928E-03   -1.5456    
   9  Prefactor     .10000E-03    132.50        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  10  Prefactor     .10000E-03    10.640        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  11  Prefactor     33.748        50.650        .68990E-04   -1.4545    
  12  norm          .10000E-03    24.685        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  13  Normalizat    1.1377        .36355        .37425E-03   -.88551    
  14  Prefactor     .97865        .15051        .17861E-03   -.93444    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 2.40955e-09
Minuit parameter uncertainties:
  1  7.85768
  2  12.3245
  3  119.593
  4  12.3173
  5  3.7279e-05
  6  13.5995
  7  8.297e-05
  8  6.84609
  9  0.000416842
  10  3.28139e-05
  11  50.7148
  12  3.11686e-05
  13  0.36436
  14  0.150574
Done.

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

Extracting fit parameters...

4FGL J0719.3+3307
   Spectrum: LogParabola
295         norm:  1.000e-04  3.728e-05  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.787e-01  1.506e-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.138e+00  3.644e-01  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Fixed Index): -0.00
Ra Dec: 109.840 33.123
Photon Flux Upper Limit: 1.51e-07 ph cm-2 s-1
Energy Flux Upper Limit: 7.06e-05 MeV cm-2 s-1

Saving results to:
/scratch/kocevski/217133/likelihoodResults_492048001_492307201_4FGL_J0719.3+3307_daily_bin975.txt

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): 102
logL (Free Index) = 4461.5050327
delta logL = -0.00115003842529

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

MINUIT Return Code (Free Index): 0
logL (Free Index) = 4461.27772363
delta logL = 0.226159034517

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'norm      '    .37868       1.0000         .10000E-03   10000.    
     2 'alpha     '    3.2847       1.0000          .0000       5.0000    
     3 'Normalizat'    1.0718       1.0000         .10000E-01   10.000    
     4 'Prefactor '    .99021       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=   4461.278     FROM MIGRAD    STATUS=CONVERGED     51 CALLS      341 TOTAL
                     EDM=   .99E-09    STRATEGY= 1      ERR MATRIX NOT POS-DEF

  EXT PARAMETER                APPROXIMATE        STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  norm          .37613        13.099        .10765E-01    .10818E-02
   2  alpha         3.2897        3.8526        .44063        .18196E-04
   3  Normalizat    1.0717        .67783E-01    .86754E-01    .33440E-05
   4  Prefactor     .99017        .30562E-01    .46145E-01   -.68761E-04
                               ERR DEF=  .500    
Final values: 
  norm       = 0.376131
  alpha      = 3.28971
  Normalizat = 1.07174
  Prefactor  = 0.990165
 **********
 **   18 **HESSE 
 **********

 FCN=   4461.278     FROM HESSE     STATUS=OK            31 CALLS      372 TOTAL
                     EDM=   .21E-10    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  norm          .37613        .98458        .61233E-04   -1.5585    
   2  alpha         3.2897        1.4927        .21917E-01    .32139    
   3  Normalizat    1.0717        .32856        .38417E-03   -.90664    
   4  Prefactor     .99017        .14267        .17765E-03   -.93058    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 2.10637e-11
Minuit parameter uncertainties:
  1  0.984627
  2  1.61453
  3  0.329182
  4  0.142726
shell-init: error retrieving current directory: getcwd: cannot access parent directories: No such file or directory
rmdir: failed to remove `/scratch/kocevski/217133': 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) = 4461.27771608
delta logL = 0.226166581921

Extracting fit parameters...

4FGL J0719.3+3307
   Spectrum: LogParabola
295         norm:  3.761e-01  9.846e-01  1.000e-04  1.000e+04 ( 1.000e-11)
296        alpha:  3.290e+00  1.615e+00  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.902e-01  1.427e-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.072e+00  3.292e-01  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Free Index): -0.00
Ra Dec: 109.840 33.123

Creating a high resolution counts map...
INFO: Auto-setting vmin to  0.000e+00 [aplpy.core]
INFO: Auto-setting vmax to  0.000e+00 [aplpy.core]
Saving /scratch/kocevski/217133/cmap_HighResolution_492048001_492307201_4FGL_J0719.3+3307_daily_bin975.png

Cleaning up...

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

Updating database...

UPDATE lightcurve_data_v2 SET energy_flux_upper_limit='7.06e-05', job_status='DONE', photon_flux_upper_limit='1.51e-07', time_completed='2021-08-27 00:01:57.638916', job_id='217133', GAL2='0.99', fit_tolerance='1e-08', EG2='1.07', EG='1.14', time_epoch_completed='1630047717.64', return_code2='0', ts='-0.00', comment='SUCCESS', return_code='0', GAL='0.98', dlogl='2.26e-01', ts2='0.48', photon_index_error='0.00', photon_index='2.08' WHERE bin_id='975' AND source_name='4FGL J0719.3+3307' AND cadence='daily';

Database successfully updated.


Analysis Complete.


Fri Aug 27 00:01:57 PDT 2021


------------------------------------------------------------
Sender: LSF System <lsf@bullet0173>
Subject: Job 217133: <4FGL_J0719.3+3307_daily_bin975> in cluster <slac> Done

Job <4FGL_J0719.3+3307_daily_bin975> was submitted from host <rhel6-64p> by user <kocevski> in cluster <slac> at Thu Aug 26 23:50:46 2021
Job was executed on host(s) <bullet0173>, 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:01:58 2021
Results reported at Fri Aug 27 00:01:58 2021

Your job looked like:

------------------------------------------------------------
# LSBATCH: User input
/nfs/farm/g/glast/g/LCRepository/Likelihood/Scripts/LikelihoodAnalysis.py 4FGL_J0719.3+3307_daily_bin975 109.84 33.1232 492048001 492307201 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 :                                   505.42 sec.
    Max Memory :                                 1094 MB
    Average Memory :                             265.47 MB
    Total Requested Memory :                     -
    Delta Memory :                               -
    Max Swap :                                   -
    Max Processes :                              7
    Max Threads :                                21
    Run time :                                   661 sec.
    Turnaround time :                            672 sec.

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

