/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 91 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 = 7424
number of fields = 22
No RA_SUN column yet. Adding RA_SUN/DEC_SUN columns.
Done.


Performing analysis on: 4FGL_J1719.2+1745_daily_bin1
RA = 259.806, Dec = 17.7533
tmin = 239587201, tmax = 239846401
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='590999', job_status='RUN', time_executed='2021-09-17 03:57:01.319277', time_epoch_executed='1631876221.32' WHERE source_name='4FGL J1719.2+1745' and cadence='daily' and bin_id='1'

Database successfully updated.
Done.

Creating custom output directory:
/scratch/kocevski/590999

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

Retrieving the FT1 file...

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

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

Retrieving 41 files...
Done.


Merging files...

Checksum keywords updated successfully.

Merged file saved to:
/scratch/kocevski/590999/ft1_4FGL_J1719.2+1745_daily_bin1.fits


Retrieving the FT1 file...

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

Retrieving 47 files...
Done.


Merging files...

Merged file saved to:
/scratch/kocevski/590999/ft2_4FGL_J1719.2+1745_daily_bin1.fits


Selecting the photons:
time -p gtselect infile=/scratch/kocevski/590999/ft1_4FGL_J1719.2+1745_daily_bin1.fits outfile=/scratch/kocevski/590999/ft1_filteredMKT_4FGL_J1719.2+1745_daily_bin1.fits ra=259.806 dec=17.7533 rad=12.0 tmin=239587201.0 tmax=239846401.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 1.32
user 1.13
sys 0.17

Adding sun position to ft2 file:
/nfs/farm/g/glast/g/LCRepository/Repository/bin/sunpos /scratch/kocevski/590999/ft2_4FGL_J1719.2+1745_daily_bin1.fits

Selecting the good time intervals:
time -p gtmktime scfile=/scratch/kocevski/590999/ft2_4FGL_J1719.2+1745_daily_bin1.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/590999/ft1_filteredMKT_4FGL_J1719.2+1745_daily_bin1.fits evtable="EVENTS" outfile="/scratch/kocevski/590999/ft1_filtered_4FGL_J1719.2+1745_daily_bin1.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.52
user 0.33
sys 0.15

Generating the livetime cube:
time -p gtltcube evfile="/scratch/kocevski/590999/ft1_filtered_4FGL_J1719.2+1745_daily_bin1.fits" evtable="EVENTS" scfile=/scratch/kocevski/590999/ft2_4FGL_J1719.2+1745_daily_bin1.fits sctable="SC_DATA" outfile=/scratch/kocevski/590999/ltcube_239587201_239846401_4FGL_J1719.2+1745_daily_bin1.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/590999/ft2_4FGL_J1719.2+1745_daily_bin1.fits
.....................!
real 12.91
user 12.55
sys 0.30

Generating the exposure map:
time -p gtexpmap evfile=/scratch/kocevski/590999/ft1_filtered_4FGL_J1719.2+1745_daily_bin1.fits evtable="EVENTS" scfile=/scratch/kocevski/590999/ft2_4FGL_J1719.2+1745_daily_bin1.fits sctable="SC_DATA" expcube=/scratch/kocevski/590999/ltcube_239587201_239846401_4FGL_J1719.2+1745_daily_bin1.fits outfile=/scratch/kocevski/590999/expmap_239587201_239846401_4FGL_J1719.2+1745_daily_bin1.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/590999/ltcube_239587201_239846401_4FGL_J1719.2+1745_daily_bin1.fits
.....................!
real 190.18
user 185.14
sys 4.67

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
Added 188 point sources and 0 extended sources

Setting source of interest to:
4FGL J1719.2+1745 @ 259.806 17.7533

Creating the counts map:
time -p gtbin evfile=/scratch/kocevski/590999/ft1_filtered_4FGL_J1719.2+1745_daily_bin1.fits scfile=/scratch/kocevski/590999/ft2_4FGL_J1719.2+1745_daily_bin1.fits outfile=/scratch/kocevski/590999/cmap_239587201_239846401_4FGL_J1719.2+1745_daily_bin1.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=259.806 yref=17.7533 axisrot=0.0 rafield="RA" decfield="DEC" proj="AIT" hpx_ordering_scheme="RING" hpx_order=3 hpx_ebin=yes hpx_region="" evtable="EVENTS" sctable="SC_DATA" efield="ENERGY" tfield="TIME" chatter=2 clobber=yes debug=no gui=no mode="ql"

WARNING: version mismatch between CFITSIO header (v3.43) and linked library (v3.41).

This is gtbin version HEAD
real 0.54
user 0.37
sys 0.16

Creating the high resolution counts map:
time -p gtbin evfile=/scratch/kocevski/590999/ft1_filtered_4FGL_J1719.2+1745_daily_bin1.fits scfile=/scratch/kocevski/590999/ft2_4FGL_J1719.2+1745_daily_bin1.fits outfile=/scratch/kocevski/590999/cmap_HighResolution_239587201_239846401_4FGL_J1719.2+1745_daily_bin1.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=259.806 yref=17.7533 axisrot=0.0 rafield="RA" decfield="DEC" proj="AIT" hpx_ordering_scheme="RING" hpx_order=3 hpx_ebin=yes hpx_region="" evtable="EVENTS" sctable="SC_DATA" efield="ENERGY" tfield="TIME" chatter=2 clobber=yes debug=no gui=no mode="ql"

WARNING: version mismatch between CFITSIO header (v3.43) and linked library (v3.41).

This is gtbin version HEAD
real 0.54
user 0.39
sys 0.14

Computing the diffuse response:
time -p gtdiffrsp evfile=/scratch/kocevski/590999/ft1_filtered_4FGL_J1719.2+1745_daily_bin1.fits evtable="EVENTS" scfile=/scratch/kocevski/590999/ft2_4FGL_J1719.2+1745_daily_bin1.fits sctable="SC_DATA" srcmdl=/scratch/kocevski/590999/Model_4FGL_J1719.2+1745_daily_bin1.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
Working on...
/scratch/kocevski/590999/ft1_filtered_4FGL_J1719.2+1745_daily_bin1.fits.....................!
real 77.18
user 75.74
sys 1.17

Creating the likelihood object...
obs = UnbinnedObs('/scratch/kocevski/590999/ft1_filtered_4FGL_J1719.2+1745_daily_bin1.fits', '/scratch/kocevski/590999/ft2_4FGL_J1719.2+1745_daily_bin1.fits', expMap='/scratch/kocevski/590999/expmap_239587201_239846401_4FGL_J1719.2+1745_daily_bin1.fits', expCube='/scratch/kocevski/590999/ltcube_239587201_239846401_4FGL_J1719.2+1745_daily_bin1.fits', irfs='P8R3_SOURCE_V2')
like = UnbinnedAnalysis(obs, '/scratch/kocevski/590999/Model_4FGL_J1719.2+1745_daily_bin1.xml', optimizer='MINUIT')

Using source of interest name: '4FGL J1719.2+1745'

4FGL J1719.2+1745
   Spectrum: LogParabola
271         norm:  1.764e+00  0.000e+00  1.000e-04  1.000e+04 ( 1.000e-12)
272        alpha:  1.940e+00  0.000e+00  0.000e+00  5.000e+00 ( 1.000e+00) fixed
273         beta:  9.472e-02  0.000e+00  0.000e+00  1.000e+01 ( 1.000e+00) fixed
274           Eb:  1.170e+03  0.000e+00  3.000e+01  5.000e+05 ( 1.000e+00) fixed


Likelihood Fit Parameters:
Event file(s): /scratch/kocevski/590999/ft1_filtered_4FGL_J1719.2+1745_daily_bin1.fits
Spacecraft file(s): /scratch/kocevski/590999/ft2_4FGL_J1719.2+1745_daily_bin1.fits
Exposure map: /scratch/kocevski/590999/expmap_239587201_239846401_4FGL_J1719.2+1745_daily_bin1.fits
Exposure cube: /scratch/kocevski/590999/ltcube_239587201_239846401_4FGL_J1719.2+1745_daily_bin1.fits
IRFs: P8R3_SOURCE_V2
Source model file: /scratch/kocevski/590999/Model_4FGL_J1719.2+1745_daily_bin1.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) = 9985.63043264

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

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

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'Prefactor '    16.396       1.0000         .10000E-03   10000.    
     2 'Prefactor '    .92016       1.0000         .10000E-03   10000.    
     3 'Prefactor '    .10054E-03   1.0000         .10000E-03   10000.    
     4 'Prefactor '    .10005E-03   1.0000         .10000E-03   10000.    
     5 'Prefactor '    13.730       1.0000         .10000E-03   10000.    
     6 'Prefactor '    .98773E-03   1.0000         .10000E-03   10000.    
     7 'Prefactor '    5.9655       1.0000         .10000E-03   10000.    
     8 'Prefactor '    8.4997       1.0000         .10000E-03   10000.    
     9 'norm      '    9.5810       1.0000         .10000E-03   10000.    
    10 'Prefactor '    24.606       1.0000         .10000E-03   10000.    
    11 'norm      '    6.9602       1.0000         .10000E-03   10000.    
    12 'Prefactor '    68.858       1.0000         .10000E-03   10000.    
    13 'Prefactor '    2.6771       1.0000         .10000E-03   10000.    
    14 'norm      '    .10429E-03   1.0000         .10000E-03   10000.    
    15 'norm      '    28.041       1.0000         .10000E-03   10000.    
    16 'Prefactor '    9.6190       1.0000         .10000E-03   10000.    
    17 'norm      '    6.4521       1.0000         .10000E-03   10000.    
    18 'Prefactor '    10.740       1.0000         .10000E-03   10000.    
    19 'Normalizat'    .32289       1.0000         .10000E-01   10.000    
    20 'Prefactor '    .99562       1.0000          .0000       10.000    
 **********
 **   15 **SET ERR    .5000    
 **********
 **********
 **   16 **SET GRAD    1.000    
 **********
 **********
 **   17 **MINIMIZE    .6340E+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.

 FCN=   9985.420     FROM MIGRAD    STATUS=CONVERGED    741 CALLS     2771 TOTAL
                     EDM=   .67E-08    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor     16.390        16.000        .98913E-04   -.99075E-04
   2  Prefactor     .92001        3.5702        .35636E-03    .28776E-04
   3  Prefactor     .10019E-03    27.010        .33160E-02** at limit **
   4  Prefactor     .10000E-03    22.719        .18142E-02** at limit **
   5  Prefactor     13.734        27.554        .10810E-03   -.56791E-05
   6  Prefactor     .10008E-03    32.693        .17541    ** at limit **
   7  Prefactor     5.9650        7.2832        .16440E-03    .17302E-03
   8  Prefactor     8.5028        10.022        .68750E-03   -.68494E-04
   9  norm          9.5807        3.2495        .10138E-03   -.12067E-03
  10  Prefactor     24.606        14.690        .80755E-04   -.41671E-04
  11  norm          6.9606        6.7888        .15207E-03   -.46950E-04
  12  Prefactor     68.911        71.780        .48372E-04    .37980E-04
  13  Prefactor     2.6767        2.8638        .15813E-03   -.95045E-04
  14  norm          .10000E-03    15.865        .36285E-03** at limit **
  15  norm          28.073        33.651        .37828E-03    .10260E-03
  16  Prefactor     9.6140        62.879        .12921E-03   -.13198E-04
  17  norm          6.4519        1.2145        .45874E-04   -.30433E-03
  18  Prefactor     10.739        7.2765        .12226E-03   -.60815E-04
  19  Normalizat    .32289        .24530        .63419E-03   -.24989E-04
  20  Prefactor     .99566        .91764E-01    .13987E-03    .12452E-03
                               ERR DEF=  .500    
Final values: 
  Prefactor  = 16.3905
  Prefactor  = 0.92001
  Prefactor  = 0.000100194
  Prefactor  = 0.0001
  Prefactor  = 13.7338
  Prefactor  = 0.000100084
  Prefactor  = 5.96505
  Prefactor  = 8.50277
  norm       = 9.58066
  Prefactor  = 24.6057
  norm       = 6.96063
  Prefactor  = 68.9108
  Prefactor  = 2.67668
  norm       = 0.000100001
  norm       = 28.0729
  Prefactor  = 9.61395
  norm       = 6.45192
  Prefactor  = 10.7393
  Normalizat = 0.322885
  Prefactor  = 0.995656
 **********
 **   18 **HESSE 
 **********

 FCN=   9985.420     FROM HESSE     STATUS=OK           281 CALLS     3052 TOTAL
                     EDM=   .71E-08    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  Prefactor     16.390        15.997        .39565E-05   -1.4898    
   2  Prefactor     .92001        3.5687        .14255E-04   -1.5516    
   3  Prefactor     .10019E-03    28.259        .13264E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   4  Prefactor     .10000E-03    22.724        .36285E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   5  Prefactor     13.734        27.540        .43240E-05   -1.4967    
   6  Prefactor     .10008E-03    32.823        .17483       -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   7  Prefactor     5.9650        7.2811        .65761E-05   -1.5219    
   8  Prefactor     8.5028        10.021        .27500E-04   -1.5125    
   9  norm          9.5807        3.2494        .40550E-05   -1.5089    
  10  Prefactor     24.606        14.688        .32302E-05   -1.4715    
  11  norm          6.9606        6.7883        .60827E-05   -1.5180    
  12  Prefactor     68.911        71.780        .96744E-05   -1.4046    
  13  Prefactor     2.6767        2.8631        .63252E-05   -1.5381    
  14  norm          .10000E-03    15.866        .72569E-04   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  15  norm          28.073        33.650        .15131E-04   -1.4648    
  16  Prefactor     9.6140        62.920        .51684E-05   -1.5088    
  17  norm          6.4519        1.2145        .18350E-05   -1.5200    
  18  Prefactor     10.739        7.2761        .48903E-05   -1.5052    
  19  Normalizat    .32289        .24495        .25367E-04   -1.2150    
  20  Prefactor     .99566        .91675E-01    .55950E-05   -.92874    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 7.07496e-09
Minuit parameter uncertainties:
  1  16.0008
  2  3.56955
  3  0.00469079
  4  8.7601e-05
  5  27.5651
  6  0.00331636
  7  7.28219
  8  10.0227
  9  3.24946
  10  14.6901
  11  6.78907
  12  71.8699
  13  2.86322
  14  0.000196854
  15  33.6729
  16  49.265
  17  1.21454
  18  7.27673
  19  0.245761
  20  0.0916896
Done.

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

Extracting fit parameters...

4FGL J1719.2+1745
   Spectrum: LogParabola
271         norm:  9.581e+00  3.249e+00  1.000e-04  1.000e+04 ( 1.000e-12)
272        alpha:  1.940e+00  0.000e+00  0.000e+00  5.000e+00 ( 1.000e+00) fixed
273         beta:  9.472e-02  0.000e+00  0.000e+00  1.000e+01 ( 1.000e+00) fixed
274           Eb:  1.170e+03  0.000e+00  3.000e+01  5.000e+05 ( 1.000e+00) fixed

GAL_V02
   Spectrum: PowerLaw
631    Prefactor:  9.957e-01  9.169e-02  0.000e+00  1.000e+01 ( 1.000e+00)
632        Index:  0.000e+00  0.000e+00 -1.000e+00  1.000e+00 ( 1.000e+00) fixed
633        Scale:  1.000e+02  0.000e+00  5.000e+01  2.000e+02 ( 1.000e+00) fixed

EG_v02
   Spectrum: FileFunction
630   Normalization:  3.229e-01  2.458e-01  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Fixed Index): 29.73
Ra Dec: 259.806 17.753
Photon Index (Fixed Index): 1.94 +/- 0.00
Photon Flux (Fixed Index): 9.17e-08 +/- 3.11e-08
Energy Flux (Fixed Index): 6.48e-05 +/- 2.20e-05

Performing a free index iterative likelihood fit...

Freezing all point sources, except source of interest...

Done.

Freeing candidate source...
Done.

Fit tolerance = 1

Performing likelihood fit...
Done.

MINUIT Return Code (Free Index): 0
logL (Free Index) = 9985.17575921
delta logL = 0.244421018042

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

MINUIT Return Code (Free Index): 0
logL (Free Index) = 9985.15587201
delta logL = 0.264308217269

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'norm      '    10.189       1.0000         .10000E-03   10000.    
     2 'alpha     '    1.7339       1.0000          .0000       5.0000    
     3 'Normalizat'    .33762       1.0000         .10000E-01   10.000    
     4 'Prefactor '    .99356       1.0000          .0000       10.000    
 **********
 **   15 **SET ERR    .5000    
 **********
 **********
 **   16 **SET GRAD    1.000    
 **********
 **********
 **   17 **MINIMIZE    .6340E+05   .2000E-04
 **********

 MIGRAD MINIMIZATION HAS CONVERGED.

 MIGRAD WILL VERIFY CONVERGENCE AND ERROR MATRIX.

 FCN=   9985.156     FROM MIGRAD    STATUS=CONVERGED     55 CALLS      211 TOTAL
                     EDM=   .36E-09    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  norm          10.190        6.5314        .31383E-02    .11844E-03
   2  alpha         1.7337        .47391        .25700        .55340E-04
   3  Normalizat    .33751        .26948        .14038        .11281E-03
   4  Prefactor     .99352        .10089        .31690E-01   -.66816E-04
                               ERR DEF=  .500    
Final values: 
  norm       = 10.1898
  alpha      = 1.7337
  Normalizat = 0.337508
  Prefactor  = 0.993517
 **********
 **   18 **HESSE 
 **********

 FCN=   9985.156     FROM HESSE     STATUS=OK            31 CALLS      242 TOTAL
                     EDM=   .25E-10    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  norm          10.190        3.5586        .10768E-03   -1.5069    
   2  alpha         1.7337        .28083        .10338E-01   -.31153    
   3  Normalizat    .33751        .23437        .62109E-03   -1.2067    
   4  Prefactor     .99352        .88979E-01    .14004E-03   -.92946    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 2.53645e-11
Minuit parameter uncertainties:
  1  3.55872
  2  0.281484
  3  0.23505
  4  0.0889926
shell-init: error retrieving current directory: getcwd: cannot access parent directories: No such file or directory
rmdir: failed to remove `/scratch/kocevski/590999': 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) = 9985.15587
delta logL = 0.26431023121

Extracting fit parameters...

4FGL J1719.2+1745
   Spectrum: LogParabola
271         norm:  1.019e+01  3.559e+00  1.000e-04  1.000e+04 ( 1.000e-12)
272        alpha:  1.734e+00  2.815e-01  0.000e+00  5.000e+00 ( 1.000e+00)
273         beta:  9.472e-02  0.000e+00  0.000e+00  1.000e+01 ( 1.000e+00) fixed
274           Eb:  1.170e+03  0.000e+00  3.000e+01  5.000e+05 ( 1.000e+00) fixed

GAL_V02
   Spectrum: PowerLaw
631    Prefactor:  9.935e-01  8.899e-02  0.000e+00  1.000e+01 ( 1.000e+00)
632        Index:  0.000e+00  0.000e+00 -1.000e+00  1.000e+00 ( 1.000e+00) fixed
633        Scale:  1.000e+02  0.000e+00  5.000e+01  2.000e+02 ( 1.000e+00) fixed

EG_v02
   Spectrum: FileFunction
630   Normalization:  3.375e-01  2.350e-01  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Free Index): 30.20
Ra Dec: 259.806 17.753
Photon Index (Free Index): 1.73 +/- 0.28
Photon Flux (Free Index): 7.65e-08 +/- 3.34e-08
Energy Flux (Free Index): 8.34e-05 +/- 4.28e-05

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/590999/cmap_HighResolution_239587201_239846401_4FGL_J1719.2+1745_daily_bin1.png

Cleaning up...

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

Updating database...

UPDATE lightcurve_data_v2 SET comment='SUCCESS', photon_flux='9.17e-08', energy_flux2='8.34e-05', photon_flux_error='3.11e-08', dlogl='2.64e-01', energy_flux='6.48e-05', photon_flux2='7.65e-08', job_status='DONE', time_completed='2021-09-17 04:10:29.733763', photon_index_error2='0.28', photon_index2='1.73', ts='29.73', fit_tolerance='1e-08', GAL='1.00', photon_index_error='0.00', energy_flux_error2='4.28e-05', EG='0.32', time_epoch_completed='1631877029.73', return_code='0', job_id='590999', GAL2='0.99', EG2='0.34', return_code2='0', energy_flux_error='2.20e-05', photon_flux_error2='3.34e-08', ts2='30.20', photon_index='1.94' WHERE bin_id='1' AND source_name='4FGL J1719.2+1745' AND cadence='daily';

Database successfully updated.


Analysis Complete.


Fri Sep 17 04:10:29 PDT 2021


------------------------------------------------------------
Sender: LSF System <lsf@bullet0270>
Subject: Job 590999: <4FGL_J1719.2+1745_daily_bin1> in cluster <slac> Done

Job <4FGL_J1719.2+1745_daily_bin1> was submitted from host <rhel6-64a> by user <kocevski> in cluster <slac> at Fri Sep 17 03:55:19 2021
Job was executed on host(s) <bullet0270>, in queue <medium>, as user <kocevski> in cluster <slac> at Fri Sep 17 03:55:21 2021
</u/ki/kocevski> was used as the home directory.
</u/ki/kocevski> was used as the working directory.
Started at Fri Sep 17 03:55:21 2021
Terminated at Fri Sep 17 04:10:30 2021
Results reported at Fri Sep 17 04:10:30 2021

Your job looked like:

------------------------------------------------------------
# LSBATCH: User input
/nfs/farm/g/glast/g/LCRepository/Likelihood/Scripts/LikelihoodAnalysis.py 4FGL_J1719.2+1745_daily_bin1 259.806 17.7533 239587201 239846401 irfs=P8R3_SOURCE_V2 zmax=90 ROI=12 association=4FGL_J1719.2+1745 fixedModel=True performFreeIndexFit=True freeVariableSources=True nuke=True repositoryJob=True verbose=False
------------------------------------------------------------

Successfully completed.

Resource usage summary:

    CPU time :                                   808.46 sec.
    Max Memory :                                 1094 MB
    Average Memory :                             321.90 MB
    Total Requested Memory :                     -
    Delta Memory :                               -
    Max Swap :                                   -
    Max Processes :                              5
    Max Threads :                                21
    Run time :                                   909 sec.
    Turnaround time :                            911 sec.

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

