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


Performing analysis on: 4FGL_J0719.3+3307_daily_bin663
RA = 109.84, Dec = 33.1232
tmin = 411177601, tmax = 411436801
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='215354', job_status='RUN', time_executed='2021-08-26 23:48:45.660707', time_epoch_executed='1630046925.66' WHERE source_name='4FGL J0719.3+3307' and cadence='daily' and bin_id='663'

Database successfully updated.
Done.

Creating custom output directory:
/scratch/kocevski/215354

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

Retrieving the FT1 file...

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

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

Retrieving 47 files...
Done.


Merging files...

Checksum keywords updated successfully.

Merged file saved to:
/scratch/kocevski/215354/ft1_4FGL_J0719.3+3307_daily_bin663.fits


Retrieving the FT1 file...

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

Retrieving 47 files...
Done.


Merging files...

Merged file saved to:
/scratch/kocevski/215354/ft2_4FGL_J0719.3+3307_daily_bin663.fits


Selecting the photons:
time -p gtselect infile=/scratch/kocevski/215354/ft1_4FGL_J0719.3+3307_daily_bin663.fits outfile=/scratch/kocevski/215354/ft1_filteredMKT_4FGL_J0719.3+3307_daily_bin663.fits ra=109.84 dec=33.1232 rad=12.0 tmin=411177601.0 tmax=411436801.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 7.48
user 6.34
sys 1.12

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

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

Generating the livetime cube:
time -p gtltcube evfile="/scratch/kocevski/215354/ft1_filtered_4FGL_J0719.3+3307_daily_bin663.fits" evtable="EVENTS" scfile=/scratch/kocevski/215354/ft2_4FGL_J0719.3+3307_daily_bin663.fits sctable="SC_DATA" outfile=/scratch/kocevski/215354/ltcube_411177601_411436801_4FGL_J0719.3+3307_daily_bin663.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/215354/ft2_4FGL_J0719.3+3307_daily_bin663.fits
.....................!
real 15.00
user 13.59
sys 1.30

Generating the exposure map:
time -p gtexpmap evfile=/scratch/kocevski/215354/ft1_filtered_4FGL_J0719.3+3307_daily_bin663.fits evtable="EVENTS" scfile=/scratch/kocevski/215354/ft2_4FGL_J0719.3+3307_daily_bin663.fits sctable="SC_DATA" expcube=/scratch/kocevski/215354/ltcube_411177601_411436801_4FGL_J0719.3+3307_daily_bin663.fits outfile=/scratch/kocevski/215354/expmap_411177601_411436801_4FGL_J0719.3+3307_daily_bin663.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/215354/ltcube_411177601_411436801_4FGL_J0719.3+3307_daily_bin663.fits
.....................!
real 191.90
user 184.94
sys 6.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/215354/ft1_filtered_4FGL_J0719.3+3307_daily_bin663.fits scfile=/scratch/kocevski/215354/ft2_4FGL_J0719.3+3307_daily_bin663.fits outfile=/scratch/kocevski/215354/cmap_411177601_411436801_4FGL_J0719.3+3307_daily_bin663.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 1.91
user 0.36
sys 1.02

Creating the high resolution counts map:
time -p gtbin evfile=/scratch/kocevski/215354/ft1_filtered_4FGL_J0719.3+3307_daily_bin663.fits scfile=/scratch/kocevski/215354/ft2_4FGL_J0719.3+3307_daily_bin663.fits outfile=/scratch/kocevski/215354/cmap_HighResolution_411177601_411436801_4FGL_J0719.3+3307_daily_bin663.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 1.83
user 0.38
sys 1.01

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

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

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

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

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'norm      '    .10002E-03   1.0000         .10000E-03   10000.    
     2 'norm      '    9.7547       1.0000         .10000E-03   10000.    
     3 'Prefactor '    .10001E-03   1.0000         .10000E-03   10000.    
     4 'Prefactor '    .10004E-03   1.0000         .10000E-03   10000.    
     5 'norm      '    .71375       1.0000         .10000E-03   10000.    
     6 'Prefactor '    .10009E-03   1.0000         .10000E-03   10000.    
     7 'Prefactor '    .10321E-03   1.0000         .10000E-03   10000.    
     8 'norm      '    .10050E-03   1.0000         .10000E-03   10000.    
     9 'Prefactor '    49.534       1.0000         .10000E-03   10000.    
    10 'Prefactor '    10.117       1.0000         .10000E-03   10000.    
    11 'Prefactor '    .13040E-03   1.0000         .10000E-03   10000.    
    12 'norm      '    .10000E-03   1.0000         .10000E-03   10000.    
    13 'Normalizat'    .78423       1.0000         .10000E-01   10.000    
    14 'Prefactor '    1.1103       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=   7703.064     FROM MIGRAD    STATUS=CONVERGED    256 CALLS     1186 TOTAL
                     EDM=   .15E-09  STRATEGY=1  ERROR MATRIX UNCERTAINTY=   .5%

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  norm          .10000E-03    3.7694        .39274E-08** at limit **
   2  norm          9.7547        7.7411        .19344E-06    .38381E-03
   3  Prefactor     .10000E-03    6.8949       -.40699E-07** at limit **
   4  Prefactor     .10000E-03    7.9648       -.19067E-06** at limit **
   5  norm          .71373        .65524       -.89321E-07   -.94202E-03
   6  Prefactor     .10000E-03    3.8308        .62458E-07** at limit **
   7  Prefactor     .10000E-03    14.900        .54760E-07** at limit **
   8  norm          .10000E-03    1.3508        .42004E-07** at limit **
   9  Prefactor     49.521        41.239       -.11652E-04   -.36555E-05
  10  Prefactor     10.117        12.446        .18889E-06    .32809E-05
  11  Prefactor     .10000E-03    69.775        .22479E-05** at limit **
  12  norm          .10000E-03    5.5972       -.70059E-07** at limit **
  13  Normalizat    .78404        .17667        .26694E-05   -.82416E-04
  14  Prefactor     1.1103        .90564E-01   -.37024E-06    .13052E-03
                               ERR DEF=  .500    
Final values: 
  norm       = 0.0001
  norm       = 9.75468
  Prefactor  = 0.0001
  Prefactor  = 0.0001
  norm       = 0.713726
  Prefactor  = 0.0001
  Prefactor  = 0.0001
  norm       = 0.0001
  Prefactor  = 49.5214
  Prefactor  = 10.1173
  Prefactor  = 0.000100003
  norm       = 0.0001
  Normalizat = 0.784039
  Prefactor  = 1.11034
 **********
 **   18 **HESSE 
 **********

 FCN=   7703.064     FROM HESSE     STATUS=OK           160 CALLS     1346 TOTAL
                     EDM=   .29E-09    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  norm          .10000E-03    3.8472        .16633E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   2  norm          9.7547        7.7651        .64152E-03   -1.5083    
   3  Prefactor     .10000E-03    6.9065        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   4  Prefactor     .10000E-03    8.0710        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   5  norm          .71373        .62936        .65172E-03   -1.5539    
   6  Prefactor     .10000E-03    3.8791        .16766E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   7  Prefactor     .10000E-03    15.225        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   8  norm          .10000E-03    1.3576        .99609E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   9  Prefactor     49.521        41.082        .56978E-04   -1.4299    
  10  Prefactor     10.117        12.447        .12598E-03   -1.5072    
  11  Prefactor     .10000E-03    70.902        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  12  norm          .10000E-03    5.6201        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  13  Normalizat    .78404        .19198        .34899E-03   -1.0066    
  14  Prefactor     1.1103        .99409E-01    .15784E-03   -.89137    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 2.94902e-10
Minuit parameter uncertainties:
  1  2.73564e-06
  2  7.76587
  3  3.20558e-06
  4  1.08179e-05
  5  0.62937
  6  8.00883e-06
  7  3.82479e-05
  8  1.82552e-05
  9  41.1057
  10  12.45
  11  0.000948473
  12  5.52582e-07
  13  0.192147
  14  0.0994257
Done.

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

Extracting fit parameters...

4FGL J0719.3+3307
   Spectrum: LogParabola
295         norm:  7.137e-01  6.294e-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.110e+00  9.943e-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:  7.840e-01  1.921e-01  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Fixed Index): 2.24
Ra Dec: 109.840 33.123
Photon Index (Fixed Index): 2.08 +/- 0.00
Photon Flux (Fixed Index): 3.14e-08 +/- 2.77e-08
Energy Flux (Fixed Index): 1.47e-05 +/- 1.29e-05

TS (Fixed Index): 2.24
Ra Dec: 109.840 33.123
Photon Flux Upper Limit: 9.50e-08 ph cm-2 s-1
Energy Flux Upper Limit: 4.44e-05 MeV cm-2 s-1

Saving results to:
/scratch/kocevski/215354/likelihoodResults_411177601_411436801_4FGL_J0719.3+3307_daily_bin663.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): 0
logL (Free Index) = 7701.1585372
delta logL = 1.90502263436

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

MINUIT Return Code (Free Index): 0
logL (Free Index) = 7701.11134497
delta logL = 1.95221486019

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'norm      '    .19671       1.0000         .10000E-03   10000.    
     2 'alpha     '    3.9535       1.0000          .0000       5.0000    
     3 'Normalizat'    .67063       1.0000         .10000E-01   10.000    
     4 'Prefactor '    1.1451       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=   7701.111     FROM MIGRAD    STATUS=CONVERGED     52 CALLS      214 TOTAL
                     EDM=   .38E-08    STRATEGY= 1      ERR MATRIX NOT POS-DEF

  EXT PARAMETER                APPROXIMATE        STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  norm          .19662        1.3494        .40818E-02    .15539E-02
   2  alpha         3.9541        4.2965        .29528        .59406E-04
   3  Normalizat    .67074        .64230E-01    .84595E-01    .34963E-04
   4  Prefactor     1.1450        .33555E-01    .36080E-01   -.17680E-04
                               ERR DEF=  .500    
Final values: 
  norm       = 0.196617
  alpha      = 3.9541
  Normalizat = 0.670739
  Prefactor  = 1.14504
 **********
 **   18 **HESSE 
 **********

 FCN=   7701.111     FROM HESSE     STATUS=OK            31 CALLS      245 TOTAL
                     EDM=   .74E-13    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  norm          .19662        .48439        .18371E-04   -1.5619    
   2  alpha         3.9541        1.4556        .13014E-02    .62074    
   3  Normalizat    .67074        .19652        .37468E-03   -1.0506    
   4  Prefactor     1.1450        .10185        .15566E-03   -.88040    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 7.43653e-14
Minuit parameter uncertainties:
  1  0.4844
  2  1.62225
  3  0.196723
  4  0.10187
shell-init: error retrieving current directory: getcwd: cannot access parent directories: No such file or directory
rmdir: failed to remove `/scratch/kocevski/215354': 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) = 7701.11134409
delta logL = 1.95221574411

Extracting fit parameters...

4FGL J0719.3+3307
   Spectrum: LogParabola
295         norm:  1.966e-01  4.844e-01  1.000e-04  1.000e+04 ( 1.000e-11)
296        alpha:  3.954e+00  1.622e+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:  1.145e+00  1.019e-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:  6.707e-01  1.967e-01  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Free Index): 6.62
Ra Dec: 109.840 33.123
Photon Index (Free Index): 3.95 +/- 1.62
Photon Flux (Free Index): 1.10e-07 +/- 5.70e-08
Energy Flux (Free Index): 1.74e-05 +/- 9.16e-06

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/215354/cmap_HighResolution_411177601_411436801_4FGL_J0719.3+3307_daily_bin663.png

Cleaning up...

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

Updating database...

UPDATE lightcurve_data_v2 SET energy_flux_upper_limit='4.44e-05', comment='SUCCESS', photon_flux='3.14e-08', energy_flux2='1.74e-05', photon_flux_error='2.77e-08', dlogl='1.95e+00', energy_flux='1.47e-05', photon_flux2='1.10e-07', job_status='DONE', time_completed='2021-08-27 00:01:00.800908', photon_index_error2='1.62', photon_index2='3.95', ts='2.24', fit_tolerance='1e-08', GAL='1.11', photon_index_error='0.00', photon_flux_upper_limit='9.50e-08', energy_flux_error2='9.16e-06', EG='0.78', time_epoch_completed='1630047660.8', return_code='0', job_id='215354', GAL2='1.15', EG2='0.67', return_code2='0', energy_flux_error='1.29e-05', photon_flux_error2='5.70e-08', ts2='6.62', photon_index='2.08' WHERE bin_id='663' AND source_name='4FGL J0719.3+3307' AND cadence='daily';

Database successfully updated.


Analysis Complete.


Fri Aug 27 00:01:00 PDT 2021


------------------------------------------------------------
Sender: LSF System <lsf@bullet0047>
Subject: Job 215354: <4FGL_J0719.3+3307_daily_bin663> in cluster <slac> Done

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

Your job looked like:

------------------------------------------------------------
# LSBATCH: User input
/nfs/farm/g/glast/g/LCRepository/Likelihood/Scripts/LikelihoodAnalysis.py 4FGL_J0719.3+3307_daily_bin663 109.84 33.1232 411177601 411436801 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 :                                   677.00 sec.
    Max Memory :                                 1257 MB
    Average Memory :                             289.07 MB
    Total Requested Memory :                     -
    Delta Memory :                               -
    Max Swap :                                   -
    Max Processes :                              5
    Max Threads :                                21
    Run time :                                   869 sec.
    Turnaround time :                            934 sec.

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

