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


Performing analysis on: 4FGL_J0719.3+3307_daily_bin964
RA = 109.84, Dec = 33.1232
tmin = 489196801, tmax = 489456001
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='217117', job_status='RUN', time_executed='2021-08-26 23:53:47.805073', time_epoch_executed='1630047227.81' WHERE source_name='4FGL J0719.3+3307' and cadence='daily' and bin_id='964'

Database successfully updated.
Done.

Creating custom output directory:
/scratch/kocevski/217117

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

Retrieving the FT1 file...

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

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

Retrieving 47 files...
Done.


Merging files...

Checksum keywords updated successfully.

Merged file saved to:
/scratch/kocevski/217117/ft1_4FGL_J0719.3+3307_daily_bin964.fits


Retrieving the FT1 file...

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

Retrieving 47 files...
Done.


Merging files...

Merged file saved to:
/scratch/kocevski/217117/ft2_4FGL_J0719.3+3307_daily_bin964.fits


Selecting the photons:
time -p gtselect infile=/scratch/kocevski/217117/ft1_4FGL_J0719.3+3307_daily_bin964.fits outfile=/scratch/kocevski/217117/ft1_filteredMKT_4FGL_J0719.3+3307_daily_bin964.fits ra=109.84 dec=33.1232 rad=12.0 tmin=489196801.0 tmax=489456001.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.04
user 4.67
sys 2.18

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

Selecting the good time intervals:
time -p gtmktime scfile=/scratch/kocevski/217117/ft2_4FGL_J0719.3+3307_daily_bin964.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/217117/ft1_filteredMKT_4FGL_J0719.3+3307_daily_bin964.fits evtable="EVENTS" outfile="/scratch/kocevski/217117/ft1_filtered_4FGL_J0719.3+3307_daily_bin964.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 2.45
user 0.32
sys 2.08

Generating the livetime cube:
time -p gtltcube evfile="/scratch/kocevski/217117/ft1_filtered_4FGL_J0719.3+3307_daily_bin964.fits" evtable="EVENTS" scfile=/scratch/kocevski/217117/ft2_4FGL_J0719.3+3307_daily_bin964.fits sctable="SC_DATA" outfile=/scratch/kocevski/217117/ltcube_489196801_489456001_4FGL_J0719.3+3307_daily_bin964.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/217117/ft2_4FGL_J0719.3+3307_daily_bin964.fits
.....................!
real 14.19
user 11.60
sys 2.46

Generating the exposure map:
time -p gtexpmap evfile=/scratch/kocevski/217117/ft1_filtered_4FGL_J0719.3+3307_daily_bin964.fits evtable="EVENTS" scfile=/scratch/kocevski/217117/ft2_4FGL_J0719.3+3307_daily_bin964.fits sctable="SC_DATA" expcube=/scratch/kocevski/217117/ltcube_489196801_489456001_4FGL_J0719.3+3307_daily_bin964.fits outfile=/scratch/kocevski/217117/expmap_489196801_489456001_4FGL_J0719.3+3307_daily_bin964.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/217117/ltcube_489196801_489456001_4FGL_J0719.3+3307_daily_bin964.fits
.....................!
real 192.78
user 185.25
sys 7.15

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/217117/ft1_filtered_4FGL_J0719.3+3307_daily_bin964.fits scfile=/scratch/kocevski/217117/ft2_4FGL_J0719.3+3307_daily_bin964.fits outfile=/scratch/kocevski/217117/cmap_489196801_489456001_4FGL_J0719.3+3307_daily_bin964.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 2.39
user 0.36
sys 2.02

Creating the high resolution counts map:
time -p gtbin evfile=/scratch/kocevski/217117/ft1_filtered_4FGL_J0719.3+3307_daily_bin964.fits scfile=/scratch/kocevski/217117/ft2_4FGL_J0719.3+3307_daily_bin964.fits outfile=/scratch/kocevski/217117/cmap_HighResolution_489196801_489456001_4FGL_J0719.3+3307_daily_bin964.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 2.42
user 0.39
sys 2.01

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

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

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

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

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      '    10.629       1.0000         .10000E-03   10000.    
     3 'Prefactor '    .43676E-03   1.0000         .10000E-03   10000.    
     4 'Prefactor '    .11885E-02   1.0000         .10000E-03   10000.    
     5 'norm      '    .27277E-01   1.0000         .10000E-03   10000.    
     6 'Prefactor '    .10362E-03   1.0000         .10000E-03   10000.    
     7 'Prefactor '    9.0341       1.0000         .10000E-03   10000.    
     8 'norm      '    2.0693       1.0000         .10000E-03   10000.    
     9 'Prefactor '    .18051E-03   1.0000         .10000E-03   10000.    
    10 'Prefactor '    .20762E-03   1.0000         .10000E-03   10000.    
    11 'Prefactor '    .82585E-02   1.0000         .10000E-03   10000.    
    12 'norm      '    15.660       1.0000         .10000E-03   10000.    
    13 'Normalizat'    1.2614       1.0000         .10000E-01   10.000    
    14 'Prefactor '    1.1720       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=   8372.614     FROM MIGRAD    STATUS=CONVERGED    261 CALLS     1060 TOTAL
                     EDM=   .32E-08    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  norm          .10000E-03    1.9758        .90712E-02** at limit **
   2  norm          10.628        9.2110        .30724E-02   -.13178E-03
   3  Prefactor     .10000E-03    8.1824        .10611E-01** at limit **
   4  Prefactor     .10008E-03    8.9090        .10322    ** at limit **
   5  norm          .27147E-01    .29739        .17435E-01    .24937E-02
   6  Prefactor     .10000E-03    3.0086        .90712E-02** at limit **
   7  Prefactor     9.0364        9.5240        .33337E-02    .32542E-03
   8  norm          2.0619        4.2263        .71796E-02    .13032E-02
   9  Prefactor     .10000E-03    18.829        .90712E-02** at limit **
  10  Prefactor     .10000E-03    34.155        .90712E-02** at limit **
  11  Prefactor     .10000E-03    69.280        .92110E-02** at limit **
  12  norm          15.643        13.359        .25302E-02   -.46820E-03
  13  Normalizat    1.2616        .20384        .75604E-01    .24114E-03
  14  Prefactor     1.1720        .10317        .35328E-01    .17799E-03
                               ERR DEF=  .500    
Final values: 
  norm       = 0.0001
  norm       = 10.628
  Prefactor  = 0.000100002
  Prefactor  = 0.000100083
  norm       = 0.0271471
  Prefactor  = 0.0001
  Prefactor  = 9.03636
  norm       = 2.06192
  Prefactor  = 0.0001
  Prefactor  = 0.000100005
  Prefactor  = 0.0001
  norm       = 15.6431
  Normalizat = 1.26161
  Prefactor  = 1.17196
 **********
 **   18 **HESSE 
 **********

 FCN=   8372.614     FROM HESSE     STATUS=OK           164 CALLS     1224 TOTAL
                     EDM=   .60E-07    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  norm          .10000E-03    1.9811        .12560E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   2  norm          10.628        9.2108        .12290E-03   -1.5056    
   3  Prefactor     .10000E-03    8.2130        .21223E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   4  Prefactor     .10008E-03    45.934        .52315E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   5  norm          .27147E-01    1.1076        .96796E-03   -1.5675    
   6  Prefactor     .10000E-03    3.0358        .15495E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   7  Prefactor     9.0364        9.5305        .13335E-03   -1.5107    
   8  norm          2.0619        4.2214        .25349E-03   -1.5421    
   9  Prefactor     .10000E-03    18.849        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  10  Prefactor     .10000E-03    34.650        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  11  Prefactor     .10000E-03    69.679        .18422E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  12  norm          15.643        13.384        .10121E-03   -1.4917    
  13  Normalizat    1.2616        .22541        .33460E-03   -.84720    
  14  Prefactor     1.1720        .11525        .18239E-03   -.87199    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 5.98152e-08
Minuit parameter uncertainties:
  1  9.89682e-07
  2  9.212
  3  0.000240432
  4  0.00391912
  5  0.346166
  6  4.98431e-05
  7  9.53206
  8  4.22198
  9  0.000183726
  10  0.000829993
  11  0.000303094
  12  13.3867
  13  0.225581
  14  0.115279
Done.

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

Extracting fit parameters...

4FGL J0719.3+3307
   Spectrum: LogParabola
295         norm:  2.715e-02  3.462e-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.172e+00  1.153e-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.262e+00  2.256e-01  1.000e-02  1.000e+01 ( 1.000e+00)


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

Saving results to:
/scratch/kocevski/217117/likelihoodResults_489196801_489456001_4FGL_J0719.3+3307_daily_bin964.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) = 8372.60774368
delta logL = 0.00620768335648

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

MINUIT Return Code (Free Index): 0
logL (Free Index) = 8372.60466993
delta logL = 0.00928143458077

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'norm      '    .53668E-01   1.0000         .10000E-03   10000.    
     2 'alpha     '    1.7510       1.0000          .0000       5.0000    
     3 'Normalizat'    1.2619       1.0000         .10000E-01   10.000    
     4 'Prefactor '    1.1715       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.
 MACHINE ACCURACY LIMITS FURTHER IMPROVEMENT.

 MIGRAD MINIMIZATION HAS CONVERGED.

 MIGRAD WILL VERIFY CONVERGENCE AND ERROR MATRIX.
 MIGRAD TERMINATED WITHOUT CONVERGENCE.

 FCN=   8372.605     FROM MIGRAD    STATUS=FAILED       101 CALLS      296 TOTAL
                     EDM=   .46E-07    STRATEGY= 1      ERR MATRIX APPROXIMATE

  EXT PARAMETER                APPROXIMATE        STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  norm          .53967E-01    .61696        .94938E-03    .13633E-01
   2  alpha         1.7521        1.8183        .65843E-01   -.69356E-05
   3  Normalizat    1.2619        .21477        .33456E-03   -.13796E-04
   4  Prefactor     1.1715        .11422        .18242E-03   -.79773E-05
                               ERR DEF=  .500    
 START SIMPLEX MINIMIZATION.    CONVERGENCE WHEN EDM .LT.   .20E-04
 SIMPLEX MINIMIZATION HAS CONVERGED.

 FCN=   8372.605     FROM SIMPLEX   STATUS=UNCHANGED     72 CALLS      368 TOTAL
                     EDM=   .14E-04    STRATEGY= 1      ERR MATRIX APPROXIMATE

  EXT PARAMETER                APPROXIMATE     INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  norm          .53967E-01    .61696        .51001E-04   -1.5662    
   2  alpha         1.7521        1.8183        .38717E-02   -.30381    
   3  Normalizat    1.2619        .21477        .18870E-03   -.84710    
   4  Prefactor     1.1715        .11422        .13176E-03   -.87214    
                               ERR DEF=  .500    

 MIGRAD MINIMIZATION HAS CONVERGED.

 MIGRAD WILL VERIFY CONVERGENCE AND ERROR MATRIX.

 FCN=   8372.605     FROM MIGRAD    STATUS=CONVERGED     35 CALLS      403 TOTAL
                     EDM=   .67E-10    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  norm          .53969E-01    .58901        .18988E-03    .52529E-03
   2  alpha         1.7521        1.7908        .26337E-02   -.18475E-05
   3  Normalizat    1.2619        .21490        .13382E-04   -.10194E-05
   4  Prefactor     1.1715        .11427        .72967E-05   -.18697E-05
                               ERR DEF=  .500    
Final values: 
  norm       = 0.0539689
  alpha      = 1.75211
  Normalizat = 1.26192
  Prefactor  = 1.17147
 **********
 **   18 **HESSE 
 **********

 FCN=   8372.605     FROM HESSE     STATUS=OK            25 CALLS      428 TOTAL
                     EDM=   .29E-11    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  norm          .53969E-01    .58927        .37975E-04   -1.5662    
   2  alpha         1.7521        1.7912        .10535E-03   -.30381    
   3  Normalizat    1.2619        .21484        .26765E-05   -.84710    
   4  Prefactor     1.1715        .11422        .14593E-05   -.87214    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 2.853e-12
Minuit parameter uncertainties:
  1  0.356338
  2  2.02616
  3  0.214992
  4  0.114247
shell-init: error retrieving current directory: getcwd: cannot access parent directories: No such file or directory
rmdir: failed to remove `/scratch/kocevski/217117': 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) = 8372.60466943
delta logL = 0.00928193030086

Extracting fit parameters...

4FGL J0719.3+3307
   Spectrum: LogParabola
295         norm:  5.397e-02  3.563e-01  1.000e-04  1.000e+04 ( 1.000e-11)
296        alpha:  1.752e+00  2.026e+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.171e+00  1.142e-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.262e+00  2.150e-01  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Free Index): 0.01
Ra Dec: 109.840 33.123

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/217117/cmap_HighResolution_489196801_489456001_4FGL_J0719.3+3307_daily_bin964.png

Cleaning up...

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

Updating database...

UPDATE lightcurve_data_v2 SET energy_flux_upper_limit='2.40e-05', job_status='DONE', photon_flux_upper_limit='5.15e-08', time_completed='2021-08-27 00:05:37.914826', job_id='217117', GAL2='1.17', fit_tolerance='1e-08', EG2='1.26', EG='1.26', time_epoch_completed='1630047937.91', return_code2='0', ts='0.01', comment='SUCCESS', return_code='0', GAL='1.17', dlogl='9.28e-03', ts2='0.02', photon_index_error='0.00', photon_index='2.08' WHERE bin_id='964' AND source_name='4FGL J0719.3+3307' AND cadence='daily';

Database successfully updated.


Analysis Complete.


Fri Aug 27 00:05:37 PDT 2021


------------------------------------------------------------
Sender: LSF System <lsf@bullet0212>
Subject: Job 217117: <4FGL_J0719.3+3307_daily_bin964> in cluster <slac> Done

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

Your job looked like:

------------------------------------------------------------
# LSBATCH: User input
/nfs/farm/g/glast/g/LCRepository/Likelihood/Scripts/LikelihoodAnalysis.py 4FGL_J0719.3+3307_daily_bin964 109.84 33.1232 489196801 489456001 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 :                                   734.33 sec.
    Max Memory :                                 1257 MB
    Average Memory :                             319.48 MB
    Total Requested Memory :                     -
    Delta Memory :                               -
    Max Swap :                                   -
    Max Processes :                              7
    Max Threads :                                21
    Run time :                                   895 sec.
    Turnaround time :                            894 sec.

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

