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


Performing analysis on: 4FGL_J1719.2+1745_daily_bin966
RA = 259.806, Dec = 17.7533
tmin = 489715201, tmax = 489974401
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='609523', job_status='RUN', time_executed='2021-09-17 05:10:43.816725', time_epoch_executed='1631880643.82' WHERE source_name='4FGL J1719.2+1745' and cadence='daily' and bin_id='966'

Database successfully updated.
Done.

Creating custom output directory:
/scratch/kocevski/609523

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

Retrieving the FT1 file...

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

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

Retrieving 47 files...
Done.


Merging files...

Checksum keywords updated successfully.

Merged file saved to:
/scratch/kocevski/609523/ft1_4FGL_J1719.2+1745_daily_bin966.fits


Retrieving the FT1 file...

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

Retrieving 47 files...
Done.


Merging files...

Merged file saved to:
/scratch/kocevski/609523/ft2_4FGL_J1719.2+1745_daily_bin966.fits


Selecting the photons:
time -p gtselect infile=/scratch/kocevski/609523/ft1_4FGL_J1719.2+1745_daily_bin966.fits outfile=/scratch/kocevski/609523/ft1_filteredMKT_4FGL_J1719.2+1745_daily_bin966.fits ra=259.806 dec=17.7533 rad=12.0 tmin=489715201.0 tmax=489974401.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 4.10
user 3.83
sys 0.21

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

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

Generating the livetime cube:
time -p gtltcube evfile="/scratch/kocevski/609523/ft1_filtered_4FGL_J1719.2+1745_daily_bin966.fits" evtable="EVENTS" scfile=/scratch/kocevski/609523/ft2_4FGL_J1719.2+1745_daily_bin966.fits sctable="SC_DATA" outfile=/scratch/kocevski/609523/ltcube_489715201_489974401_4FGL_J1719.2+1745_daily_bin966.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/609523/ft2_4FGL_J1719.2+1745_daily_bin966.fits
.....................!
real 12.19
user 11.81
sys 0.34

Generating the exposure map:
time -p gtexpmap evfile=/scratch/kocevski/609523/ft1_filtered_4FGL_J1719.2+1745_daily_bin966.fits evtable="EVENTS" scfile=/scratch/kocevski/609523/ft2_4FGL_J1719.2+1745_daily_bin966.fits sctable="SC_DATA" expcube=/scratch/kocevski/609523/ltcube_489715201_489974401_4FGL_J1719.2+1745_daily_bin966.fits outfile=/scratch/kocevski/609523/expmap_489715201_489974401_4FGL_J1719.2+1745_daily_bin966.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/609523/ltcube_489715201_489974401_4FGL_J1719.2+1745_daily_bin966.fits
.....................!
real 191.59
user 185.52
sys 5.20

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/609523/ft1_filtered_4FGL_J1719.2+1745_daily_bin966.fits scfile=/scratch/kocevski/609523/ft2_4FGL_J1719.2+1745_daily_bin966.fits outfile=/scratch/kocevski/609523/cmap_489715201_489974401_4FGL_J1719.2+1745_daily_bin966.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.15

Creating the high resolution counts map:
time -p gtbin evfile=/scratch/kocevski/609523/ft1_filtered_4FGL_J1719.2+1745_daily_bin966.fits scfile=/scratch/kocevski/609523/ft2_4FGL_J1719.2+1745_daily_bin966.fits outfile=/scratch/kocevski/609523/cmap_HighResolution_489715201_489974401_4FGL_J1719.2+1745_daily_bin966.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.37
sys 0.16

Computing the diffuse response:
time -p gtdiffrsp evfile=/scratch/kocevski/609523/ft1_filtered_4FGL_J1719.2+1745_daily_bin966.fits evtable="EVENTS" scfile=/scratch/kocevski/609523/ft2_4FGL_J1719.2+1745_daily_bin966.fits sctable="SC_DATA" srcmdl=/scratch/kocevski/609523/Model_4FGL_J1719.2+1745_daily_bin966.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/609523/ft1_filtered_4FGL_J1719.2+1745_daily_bin966.fits.....................!
real 87.92
user 86.38
sys 1.22

Creating the likelihood object...
obs = UnbinnedObs('/scratch/kocevski/609523/ft1_filtered_4FGL_J1719.2+1745_daily_bin966.fits', '/scratch/kocevski/609523/ft2_4FGL_J1719.2+1745_daily_bin966.fits', expMap='/scratch/kocevski/609523/expmap_489715201_489974401_4FGL_J1719.2+1745_daily_bin966.fits', expCube='/scratch/kocevski/609523/ltcube_489715201_489974401_4FGL_J1719.2+1745_daily_bin966.fits', irfs='P8R3_SOURCE_V2')
like = UnbinnedAnalysis(obs, '/scratch/kocevski/609523/Model_4FGL_J1719.2+1745_daily_bin966.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/609523/ft1_filtered_4FGL_J1719.2+1745_daily_bin966.fits
Spacecraft file(s): /scratch/kocevski/609523/ft2_4FGL_J1719.2+1745_daily_bin966.fits
Exposure map: /scratch/kocevski/609523/expmap_489715201_489974401_4FGL_J1719.2+1745_daily_bin966.fits
Exposure cube: /scratch/kocevski/609523/ltcube_489715201_489974401_4FGL_J1719.2+1745_daily_bin966.fits
IRFs: P8R3_SOURCE_V2
Source model file: /scratch/kocevski/609523/Model_4FGL_J1719.2+1745_daily_bin966.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) = 10832.2050964

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

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

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'Prefactor '    21.778       1.0000         .10000E-03   10000.    
     2 'Prefactor '    .10091E-03   1.0000         .10000E-03   10000.    
     3 'Prefactor '    .10411E-03   1.0000         .10000E-03   10000.    
     4 'Prefactor '    4.8868       1.0000         .10000E-03   10000.    
     5 'Prefactor '    .10027E-03   1.0000         .10000E-03   10000.    
     6 'Prefactor '    87.434       1.0000         .10000E-03   10000.    
     7 'Prefactor '    3.5065       1.0000         .10000E-03   10000.    
     8 'Prefactor '    2.4665       1.0000         .10000E-03   10000.    
     9 'norm      '    3.9631       1.0000         .10000E-03   10000.    
    10 'Prefactor '    20.016       1.0000         .10000E-03   10000.    
    11 'norm      '    16.862       1.0000         .10000E-03   10000.    
    12 'Prefactor '    23.831       1.0000         .10000E-03   10000.    
    13 'Prefactor '    .10016E-03   1.0000         .10000E-03   10000.    
    14 'norm      '    3.9751       1.0000         .10000E-03   10000.    
    15 'norm      '    .10054E-03   1.0000         .10000E-03   10000.    
    16 'Prefactor '    .33970       1.0000         .10000E-03   10000.    
    17 'norm      '    11.823       1.0000         .10000E-03   10000.    
    18 'Prefactor '    7.6877       1.0000         .10000E-03   10000.    
    19 'Normalizat'    1.2082       1.0000         .10000E-01   10.000    
    20 'Prefactor '    .87570       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=   10832.20     FROM MIGRAD    STATUS=CONVERGED    734 CALLS     2660 TOTAL
                     EDM=   .70E-09    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor     21.782        30.708        .85830E-04   -.75500E-04
   2  Prefactor     .10000E-03    8.5945        .36285E-03** at limit **
   3  Prefactor     .10000E-03    21.804        .38940E-02** at limit **
   4  Prefactor     4.8875        24.265        .18196E-03   -.42612E-04
   5  Prefactor     .10000E-03    15.944        .18142E-02** at limit **
   6  Prefactor     87.411        62.187        .42967E-04   -.23284E-04
   7  Prefactor     3.5085        7.2005        .10795E-02   -.55669E-04
   8  Prefactor     2.4641        4.5641        .26038E-03    .27943E-05
   9  norm          3.9636        2.7039        .68475E-03    .21406E-03
  10  Prefactor     20.007        15.898        .89524E-04   -.33780E-04
  11  norm          16.863        10.490        .97537E-04   -.10304E-03
  12  Prefactor     23.673        72.702        .82054E-04    .16626E-04
  13  Prefactor     .10000E-03    1.4779        .24374E-03** at limit **
  14  norm          3.9812        10.488        .20230E-03    .26637E-03
  15  norm          .10000E-03    16.713        .18142E-02** at limit **
  16  Prefactor     .17242        44.248        .21343        .55879E-04
  17  norm          11.823        1.6479        .47807E-04   -.48512E-04
  18  Prefactor     7.6915        7.2369        .14463E-03   -.43862E-04
  19  Normalizat    1.2084        .29211        .42399E-03   -.26299E-03
  20  Prefactor     .87567        .10012        .16967E-03   -.96503E-03
                               ERR DEF=  .500    
Final values: 
  Prefactor  = 21.7823
  Prefactor  = 0.0001
  Prefactor  = 0.0001
  Prefactor  = 4.88754
  Prefactor  = 0.0001
  Prefactor  = 87.4113
  Prefactor  = 3.50847
  Prefactor  = 2.46413
  norm       = 3.96357
  Prefactor  = 20.0075
  norm       = 16.8627
  Prefactor  = 23.6731
  Prefactor  = 0.0001
  norm       = 3.9812
  norm       = 0.0001
  Prefactor  = 0.172424
  norm       = 11.8235
  Prefactor  = 7.69147
  Normalizat = 1.20835
  Prefactor  = 0.875665
 **********
 **   18 **HESSE 
 **********

 FCN=   10832.20     FROM HESSE     STATUS=OK           285 CALLS     2945 TOTAL
                     EDM=   .69E-09    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  Prefactor     21.782        30.696        .34332E-05   -1.4774    
   2  Prefactor     .10000E-03    8.5948        .72569E-04   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   3  Prefactor     .10000E-03    22.046        .77880E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   4  Prefactor     4.8875        24.255        .72782E-05   -1.5266    
   5  Prefactor     .10000E-03    15.944        .36285E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   6  Prefactor     87.411        62.171        .85934E-05   -1.3835    
   7  Prefactor     3.5085        7.1924        .43181E-04   -1.5333    
   8  Prefactor     2.4641        4.5640        .10415E-04   -1.5394    
   9  norm          3.9636        2.7037        .13695E-03   -1.5310    
  10  Prefactor     20.007        15.900        .35809E-05   -1.4813    
  11  norm          16.863        10.490        .19507E-04   -1.4886    
  12  Prefactor     23.673        72.648        .32822E-05   -1.4734    
  13  Prefactor     .10000E-03    1.4779        .48747E-04   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  14  norm          3.9812        10.481        .80920E-05   -1.5309    
  15  norm          .10000E-03    16.713        .36285E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  16  Prefactor     .17242        45.185        .21000       -1.5625    
  17  norm          11.823        1.6479        .19123E-05   -1.5020    
  18  Prefactor     7.6915        7.2367        .57852E-05   -1.5153    
  19  Normalizat    1.2084        .29225        .16960E-04   -.86345    
  20  Prefactor     .87567        .10021        .33935E-04   -.96997    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 6.85266e-10
Minuit parameter uncertainties:
  1  30.7178
  2  6.7977e-06
  3  6.7819e-05
  4  21.7896
  5  1.23071e-05
  6  62.217
  7  7.19418
  8  4.56465
  9  2.70379
  10  15.9029
  11  10.4909
  12  72.9212
  13  1.73616e-05
  14  10.4863
  15  7.02443e-07
  16  5.58508
  17  1.64788
  18  7.23748
  19  0.292648
  20  0.100227
Done.

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

Extracting fit parameters...

4FGL J1719.2+1745
   Spectrum: LogParabola
271         norm:  3.964e+00  2.704e+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:  8.757e-01  1.002e-01  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:  1.208e+00  2.926e-01  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Fixed Index): 4.40
Ra Dec: 259.806 17.753
Photon Index (Fixed Index): 1.94 +/- 0.00
Photon Flux (Fixed Index): 3.79e-08 +/- 2.59e-08
Energy Flux (Fixed Index): 2.68e-05 +/- 1.83e-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) = 10831.8741833
delta logL = 0.322316597129

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

MINUIT Return Code (Free Index): 0
logL (Free Index) = 10831.8653921
delta logL = 0.331107743194

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'norm      '    3.1133       1.0000         .10000E-03   10000.    
     2 'alpha     '    2.5080       1.0000          .0000       5.0000    
     3 'Normalizat'    1.1694       1.0000         .10000E-01   10.000    
     4 'Prefactor '    .88260       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=   10831.87     FROM MIGRAD    STATUS=CONVERGED     87 CALLS      300 TOTAL
                     EDM=   .12E-07    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  norm          3.1135        3.0179        .10863E-03    .21433E-03
   2  alpha         2.5082        .79897        .15718E-01    .34334E-03
   3  Normalizat    1.1695        .28149        .42998E-03    .15124E-03
   4  Prefactor     .88258        .96343E-01    .16905E-03    .53629E-03
                               ERR DEF=  .500    
Final values: 
  norm       = 3.11348
  alpha      = 2.50824
  Normalizat = 1.16945
  Prefactor  = 0.882575
 **********
 **   18 **HESSE 
 **********

 FCN=   10831.87     FROM HESSE     STATUS=OK            25 CALLS      325 TOTAL
                     EDM=   .11E-09    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  norm          3.1135        2.7715        .43452E-05   -1.5355    
   2  alpha         2.5082        .73474        .31435E-02    .32965E-02
   3  Normalizat    1.1695        .28045        .17199E-04   -.87552    
   4  Prefactor     .88258        .96202E-01    .33809E-04   -.96753    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 1.1465e-10
Minuit parameter uncertainties:
  1  2.77163
  2  0.745749
  3  0.280806
  4  0.0962202
shell-init: error retrieving current directory: getcwd: cannot access parent directories: No such file or directory
rmdir: failed to remove `/scratch/kocevski/609523': 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) = 10831.8653919
delta logL = 0.331107914282

Extracting fit parameters...

4FGL J1719.2+1745
   Spectrum: LogParabola
271         norm:  3.113e+00  2.772e+00  1.000e-04  1.000e+04 ( 1.000e-12)
272        alpha:  2.508e+00  7.457e-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:  8.826e-01  9.622e-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:  1.169e+00  2.808e-01  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Free Index): 5.05
Ra Dec: 259.806 17.753
Photon Index (Free Index): 2.51 +/- 0.75
Photon Flux (Free Index): 7.07e-08 +/- 6.19e-08
Energy Flux (Free Index): 2.23e-05 +/- 1.40e-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/609523/cmap_HighResolution_489715201_489974401_4FGL_J1719.2+1745_daily_bin966.png

Cleaning up...

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

Updating database...

UPDATE lightcurve_data_v2 SET comment='SUCCESS', photon_flux='3.79e-08', energy_flux2='2.23e-05', photon_flux_error='2.59e-08', dlogl='3.31e-01', energy_flux='2.68e-05', photon_flux2='7.07e-08', job_status='DONE', time_completed='2021-09-17 05:25:03.237966', photon_index_error2='0.75', photon_index2='2.51', ts='4.40', fit_tolerance='1e-08', GAL='0.88', photon_index_error='0.00', energy_flux_error2='1.40e-05', EG='1.21', time_epoch_completed='1631881503.24', return_code='0', job_id='609523', GAL2='0.88', EG2='1.17', return_code2='0', energy_flux_error='1.83e-05', photon_flux_error2='6.19e-08', ts2='5.05', photon_index='1.94' WHERE bin_id='966' AND source_name='4FGL J1719.2+1745' AND cadence='daily';

Database successfully updated.


Analysis Complete.


Fri Sep 17 05:25:03 PDT 2021


------------------------------------------------------------
Sender: LSF System <scs@bullet0133>
Subject: Job 609523: <4FGL_J1719.2+1745_daily_bin966> in cluster <slac> Done

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

Your job looked like:

------------------------------------------------------------
# LSBATCH: User input
/nfs/farm/g/glast/g/LCRepository/Likelihood/Scripts/LikelihoodAnalysis.py 4FGL_J1719.2+1745_daily_bin966 259.806 17.7533 489715201 489974401 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 :                                   848.29 sec.
    Max Memory :                                 1095 MB
    Average Memory :                             326.14 MB
    Total Requested Memory :                     -
    Delta Memory :                               -
    Max Swap :                                   -
    Max Processes :                              5
    Max Threads :                                21
    Run time :                                   873 sec.
    Turnaround time :                            877 sec.

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

