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


Performing analysis on: 4FGL_J0719.3+3307_daily_bin1294
RA = 109.84, Dec = 33.1232
tmin = 574732801, tmax = 574992001
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='218895', job_status='RUN', time_executed='2021-08-26 23:57:09.841317', time_epoch_executed='1630047429.84' WHERE source_name='4FGL J0719.3+3307' and cadence='daily' and bin_id='1294'

Database successfully updated.
Done.

Creating custom output directory:
/scratch/kocevski/218895

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

Retrieving the FT1 file...

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

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

Retrieving 47 files...
Done.


Merging files...

Checksum keywords updated successfully.

Merged file saved to:
/scratch/kocevski/218895/ft1_4FGL_J0719.3+3307_daily_bin1294.fits


Retrieving the FT1 file...

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

Retrieving 47 files...
Done.


Merging files...

Merged file saved to:
/scratch/kocevski/218895/ft2_4FGL_J0719.3+3307_daily_bin1294.fits


Selecting the photons:
time -p gtselect infile=/scratch/kocevski/218895/ft1_4FGL_J0719.3+3307_daily_bin1294.fits outfile=/scratch/kocevski/218895/ft1_filteredMKT_4FGL_J0719.3+3307_daily_bin1294.fits ra=109.84 dec=33.1232 rad=12.0 tmin=574732801.0 tmax=574992001.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 8.68
user 5.14
sys 3.48

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

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

Generating the livetime cube:
time -p gtltcube evfile="/scratch/kocevski/218895/ft1_filtered_4FGL_J0719.3+3307_daily_bin1294.fits" evtable="EVENTS" scfile=/scratch/kocevski/218895/ft2_4FGL_J0719.3+3307_daily_bin1294.fits sctable="SC_DATA" outfile=/scratch/kocevski/218895/ltcube_574732801_574992001_4FGL_J0719.3+3307_daily_bin1294.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/218895/ft2_4FGL_J0719.3+3307_daily_bin1294.fits
.....................!
real 15.03
user 11.00
sys 3.95

Generating the exposure map:
time -p gtexpmap evfile=/scratch/kocevski/218895/ft1_filtered_4FGL_J0719.3+3307_daily_bin1294.fits evtable="EVENTS" scfile=/scratch/kocevski/218895/ft2_4FGL_J0719.3+3307_daily_bin1294.fits sctable="SC_DATA" expcube=/scratch/kocevski/218895/ltcube_574732801_574992001_4FGL_J0719.3+3307_daily_bin1294.fits outfile=/scratch/kocevski/218895/expmap_574732801_574992001_4FGL_J0719.3+3307_daily_bin1294.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/218895/ltcube_574732801_574992001_4FGL_J0719.3+3307_daily_bin1294.fits
.....................!
real 193.78
user 184.79
sys 8.61

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/218895/ft1_filtered_4FGL_J0719.3+3307_daily_bin1294.fits scfile=/scratch/kocevski/218895/ft2_4FGL_J0719.3+3307_daily_bin1294.fits outfile=/scratch/kocevski/218895/cmap_574732801_574992001_4FGL_J0719.3+3307_daily_bin1294.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 3.74
user 0.37
sys 3.30

Creating the high resolution counts map:
time -p gtbin evfile=/scratch/kocevski/218895/ft1_filtered_4FGL_J0719.3+3307_daily_bin1294.fits scfile=/scratch/kocevski/218895/ft2_4FGL_J0719.3+3307_daily_bin1294.fits outfile=/scratch/kocevski/218895/cmap_HighResolution_574732801_574992001_4FGL_J0719.3+3307_daily_bin1294.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 3.72
user 0.39
sys 3.31

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

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

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

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

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'norm      '    .10174E-03   1.0000         .10000E-03   10000.    
     2 'norm      '    .10011E-03   1.0000         .10000E-03   10000.    
     3 'Prefactor '    .10004E-03   1.0000         .10000E-03   10000.    
     4 'Prefactor '    12.529       1.0000         .10000E-03   10000.    
     5 'norm      '    .10000E-03   1.0000         .10000E-03   10000.    
     6 'Prefactor '    .10005E-03   1.0000         .10000E-03   10000.    
     7 'Prefactor '    6.1721       1.0000         .10000E-03   10000.    
     8 'norm      '    5.4100       1.0000         .10000E-03   10000.    
     9 'Prefactor '    24.943       1.0000         .10000E-03   10000.    
    10 'Prefactor '    11.834       1.0000         .10000E-03   10000.    
    11 'Prefactor '    9.1751       1.0000         .10000E-03   10000.    
    12 'norm      '    .24725       1.0000         .10000E-03   10000.    
    13 'Normalizat'    1.3044       1.0000         .10000E-01   10.000    
    14 'Prefactor '    .87994       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=   7465.764     FROM MIGRAD    STATUS=CONVERGED    267 CALLS     1229 TOTAL
                     EDM=   .32E-09  STRATEGY=1  ERROR MATRIX UNCERTAINTY=   .3%

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  norm          .10000E-03    3.9610       -.20140E-06** at limit **
   2  norm          .10000E-03    7.9628       -.47095E-07** at limit **
   3  Prefactor     .10000E-03    20.497       -.14623E-05** at limit **
   4  Prefactor     12.527        12.376       -.95450E-06   -.19196E-04
   5  norm          .10000E-03    .25618       -.59148E-07** at limit **
   6  Prefactor     .10000E-03    3.4602       -.14024E-06** at limit **
   7  Prefactor     6.1703        9.5314       -.79590E-06   -.68591E-04
   8  norm          5.4107        6.0965        .10706E-04    .26667E-03
   9  Prefactor     24.915        60.191       -.42172E-04    .70569E-04
  10  Prefactor     11.828        24.291       -.10144E-04    .94714E-06
  11  Prefactor     9.1432        74.070       -.78543E-04    .13741E-04
  12  norm          .17879        5.5711       -.27890E-06   -.21631E-03
  13  Normalizat    1.3048        .19204        .53848E-05   -.10991E-03
  14  Prefactor     .87981        .94524E-01   -.58375E-06    .43824E-03
                               ERR DEF=  .500    
Final values: 
  norm       = 0.000100001
  norm       = 0.0001
  Prefactor  = 0.0001
  Prefactor  = 12.5272
  norm       = 0.0001
  Prefactor  = 0.0001
  Prefactor  = 6.1703
  norm       = 5.41074
  Prefactor  = 24.9152
  Prefactor  = 11.828
  Prefactor  = 9.14322
  norm       = 0.17879
  Normalizat = 1.30481
  Prefactor  = 0.879806
 **********
 **   18 **HESSE 
 **********

 FCN=   7465.764     FROM HESSE     STATUS=OK           168 CALLS     1397 TOTAL
                     EDM=   .12E-08    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  norm          .10000E-03    12.331        .33128E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   2  norm          .10000E-03    8.0292        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   3  Prefactor     .10000E-03    20.594        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   4  Prefactor     12.527        12.375        .11317E-03   -1.5000    
   5  norm          .10000E-03    .26847        .85293E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   6  Prefactor     .10000E-03    3.4861        .15691E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   7  Prefactor     6.1703        9.5303        .16159E-03   -1.5211    
   8  norm          5.4107        6.0635        .17277E-03   -1.5243    
   9  Prefactor     24.915        59.568        .80208E-04   -1.4709    
  10  Prefactor     11.828        24.212        .11645E-03   -1.5020    
  11  Prefactor     9.1432        73.046        .13231E-03   -1.5103    
  12  norm          .17879        58.168        .39351E-02   -1.5623    
  13  Normalizat    1.3048        .21823        .29909E-03   -.83423    
  14  Prefactor     .87981        .10658        .17910E-03   -.96850    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 1.2251e-09
Minuit parameter uncertainties:
  1  0.000200836
  2  1.30598e-05
  3  5.21596e-05
  4  12.378
  5  2.48466e-06
  6  2.96894e-07
  7  9.53262
  8  6.06419
  9  59.7104
  10  24.232
  11  51.7733
  12  6.45426
  13  0.218386
  14  0.106607
Done.

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

Extracting fit parameters...

4FGL J0719.3+3307
   Spectrum: LogParabola
295         norm:  1.000e-04  2.485e-06  1.000e-04  1.000e+04 ( 1.000e-11)
296        alpha:  2.082e+00  0.000e+00  0.000e+00  5.000e+00 ( 1.000e+00) fixed
297         beta:  1.031e-01  0.000e+00  0.000e+00  1.000e+01 ( 1.000e+00) fixed
298           Eb:  6.981e+02  0.000e+00  3.000e+01  5.000e+05 ( 1.000e+00) fixed

GAL_V02
   Spectrum: PowerLaw
601    Prefactor:  8.798e-01  1.066e-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.305e+00  2.184e-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: 5.21e-08 ph cm-2 s-1
Energy Flux Upper Limit: 2.43e-05 MeV cm-2 s-1

Saving results to:
/scratch/kocevski/218895/likelihoodResults_574732801_574992001_4FGL_J0719.3+3307_daily_bin1294.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) = 7465.7653772
delta logL = -0.000983967587672

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

MINUIT Return Code (Free Index): 0
logL (Free Index) = 7465.76435423
delta logL = 3.89950409954e-05

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'norm      '    .11289E-03   1.0000         .10000E-03   10000.    
     2 'alpha     '    2.8249       1.0000          .0000       5.0000    
     3 'Normalizat'    1.3052       1.0000         .10000E-01   10.000    
     4 'Prefactor '    .87974       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.

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

 FCN=   7465.764     FROM MIGRAD    STATUS=FAILED       106 CALLS      303 TOTAL
                     EDM=   .26E-07    STRATEGY= 1      ERR MATRIX APPROXIMATE

  EXT PARAMETER                APPROXIMATE        STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  norm          .10000E-03    2.7254        .76523E-03** at limit **
   2  alpha         3.3153        3.3097        .16640       -.30718E-06
   3  Normalizat    1.3048        .20888        .29909E-03   -.40331E-02
   4  Prefactor     .87980        .10566        .17910E-03   -.75810E-02
                               ERR DEF=  .500    
 START SIMPLEX MINIMIZATION.    CONVERGENCE WHEN EDM .LT.   .20E-04
 SIMPLEX MINIMIZATION HAS CONVERGED.

 FCN=   7465.764     FROM SIMPLEX   STATUS=UNCHANGED    152 CALLS      455 TOTAL
                     EDM=   .10E-04    STRATEGY= 1      ERR MATRIX APPROXIMATE

  EXT PARAMETER                APPROXIMATE     INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  norm          .10000E-03    2.7254        .95697E-04   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   2  alpha         3.3153        3.3097        .42635E-04    .33219    
   3  Normalizat    1.3048        .20888        .38155E-05   -.83423    
   4  Prefactor     .87980        .10566        .23701E-05   -.96851    
                               ERR DEF=  .500    

 MIGRAD MINIMIZATION HAS CONVERGED.

 MIGRAD WILL VERIFY CONVERGENCE AND ERROR MATRIX.

 FCN=   7465.764     FROM MIGRAD    STATUS=CONVERGED     31 CALLS      486 TOTAL
                     EDM=   .69E-10    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  norm          .10000E-03    .44466        .15305E-03** at limit **
   2  alpha         3.3156        4.1240        .66559E-02   -.16397E-06
   3  Normalizat    1.3048        .20888        .59818E-04    .71917E-04
   4  Prefactor     .87981        .10571        .35820E-04    .13851E-03
                               ERR DEF=  .500    
Final values: 
  norm       = 0.0001
  alpha      = 3.31561
  Normalizat = 1.3048
  Prefactor  = 0.879808
 **********
 **   18 **HESSE 
 **********

 FCN=   7465.764     FROM HESSE     STATUS=OK            23 CALLS      509 TOTAL
                     EDM=   .73E-10    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  norm          .10000E-03    .44481        .30609E-04   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   2  alpha         3.3156        4.1561        .26624E-03    .33233    
   3  Normalizat    1.3048        .20890        .11964E-04   -.83423    
   4  Prefactor     .87981        .10572        .71641E-05   -.96850    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 7.25862e-11
Minuit parameter uncertainties:
  1  4.95851e-06
  2  78.8642
  3  0.20904
  4  0.105748
shell-init: error retrieving current directory: getcwd: cannot access parent directories: No such file or directory
rmdir: failed to remove `/scratch/kocevski/218895': 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) = 7465.76431941
delta logL = 7.38200033084e-05

Extracting fit parameters...

4FGL J0719.3+3307
   Spectrum: LogParabola
295         norm:  1.000e-04  4.959e-06  1.000e-04  1.000e+04 ( 1.000e-11)
296        alpha:  3.316e+00  7.886e+01  0.000e+00  5.000e+00 ( 1.000e+00)
297         beta:  1.031e-01  0.000e+00  0.000e+00  1.000e+01 ( 1.000e+00) fixed
298           Eb:  6.981e+02  0.000e+00  3.000e+01  5.000e+05 ( 1.000e+00) fixed

GAL_V02
   Spectrum: PowerLaw
601    Prefactor:  8.798e-01  1.057e-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.305e+00  2.090e-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 -1.000e-01 [aplpy.core]
INFO: Auto-setting vmax to  1.110e+00 [aplpy.core]
Saving /scratch/kocevski/218895/cmap_HighResolution_574732801_574992001_4FGL_J0719.3+3307_daily_bin1294.png

Cleaning up...

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

Updating database...

UPDATE lightcurve_data_v2 SET energy_flux_upper_limit='2.43e-05', job_status='DONE', photon_flux_upper_limit='5.21e-08', time_completed='2021-08-27 00:08:47.195477', job_id='218895', GAL2='0.88', fit_tolerance='1e-08', EG2='1.30', EG='1.30', time_epoch_completed='1630048127.2', return_code2='0', ts='-0.00', comment='SUCCESS', return_code='0', GAL='0.88', dlogl='7.38e-05', ts2='-0.00', photon_index_error='0.00', photon_index='2.08' WHERE bin_id='1294' AND source_name='4FGL J0719.3+3307' AND cadence='daily';

Database successfully updated.


Analysis Complete.


Fri Aug 27 00:08:47 PDT 2021


------------------------------------------------------------
Sender: LSF System <lsf@bullet0252>
Subject: Job 218895: <4FGL_J0719.3+3307_daily_bin1294> in cluster <slac> Done

Job <4FGL_J0719.3+3307_daily_bin1294> was submitted from host <rhel6-64d> by user <kocevski> in cluster <slac> at Thu Aug 26 23:55:58 2021
Job was executed on host(s) <bullet0252>, in queue <medium>, as user <kocevski> in cluster <slac> at Thu Aug 26 23:56:00 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:56:00 2021
Terminated at Fri Aug 27 00:08:48 2021
Results reported at Fri Aug 27 00:08:48 2021

Your job looked like:

------------------------------------------------------------
# LSBATCH: User input
/nfs/farm/g/glast/g/LCRepository/Likelihood/Scripts/LikelihoodAnalysis.py 4FGL_J0719.3+3307_daily_bin1294 109.84 33.1232 574732801 574992001 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 :                                   742.00 sec.
    Max Memory :                                 1257 MB
    Average Memory :                             282.27 MB
    Total Requested Memory :                     -
    Delta Memory :                               -
    Max Swap :                                   -
    Max Processes :                              5
    Max Threads :                                21
    Run time :                                   767 sec.
    Turnaround time :                            770 sec.

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

