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


Performing analysis on: 4FGL_J1719.2+1745_daily_bin35
RA = 259.806, Dec = 17.7533
tmin = 248400001, tmax = 248659201
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='592269', job_status='RUN', time_executed='2021-09-17 04:03:49.280935', time_epoch_executed='1631876629.28' WHERE source_name='4FGL J1719.2+1745' and cadence='daily' and bin_id='35'

Database successfully updated.
Done.

Creating custom output directory:
/scratch/kocevski/592269

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

Retrieving the FT1 file...

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

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

Retrieving 47 files...
Done.


Merging files...

Checksum keywords updated successfully.

Merged file saved to:
/scratch/kocevski/592269/ft1_4FGL_J1719.2+1745_daily_bin35.fits


Retrieving the FT1 file...

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

Retrieving 47 files...
Done.


Merging files...

Merged file saved to:
/scratch/kocevski/592269/ft2_4FGL_J1719.2+1745_daily_bin35.fits


Selecting the photons:
time -p gtselect infile=/scratch/kocevski/592269/ft1_4FGL_J1719.2+1745_daily_bin35.fits outfile=/scratch/kocevski/592269/ft1_filteredMKT_4FGL_J1719.2+1745_daily_bin35.fits ra=259.806 dec=17.7533 rad=12.0 tmin=248400001.0 tmax=248659201.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.44
user 1.26
sys 0.17

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

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

Generating the livetime cube:
time -p gtltcube evfile="/scratch/kocevski/592269/ft1_filtered_4FGL_J1719.2+1745_daily_bin35.fits" evtable="EVENTS" scfile=/scratch/kocevski/592269/ft2_4FGL_J1719.2+1745_daily_bin35.fits sctable="SC_DATA" outfile=/scratch/kocevski/592269/ltcube_248400001_248659201_4FGL_J1719.2+1745_daily_bin35.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/592269/ft2_4FGL_J1719.2+1745_daily_bin35.fits
.....................!
real 14.57
user 14.18
sys 0.35

Generating the exposure map:
time -p gtexpmap evfile=/scratch/kocevski/592269/ft1_filtered_4FGL_J1719.2+1745_daily_bin35.fits evtable="EVENTS" scfile=/scratch/kocevski/592269/ft2_4FGL_J1719.2+1745_daily_bin35.fits sctable="SC_DATA" expcube=/scratch/kocevski/592269/ltcube_248400001_248659201_4FGL_J1719.2+1745_daily_bin35.fits outfile=/scratch/kocevski/592269/expmap_248400001_248659201_4FGL_J1719.2+1745_daily_bin35.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/592269/ltcube_248400001_248659201_4FGL_J1719.2+1745_daily_bin35.fits
.....................!
real 190.22
user 185.70
sys 4.08

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/592269/ft1_filtered_4FGL_J1719.2+1745_daily_bin35.fits scfile=/scratch/kocevski/592269/ft2_4FGL_J1719.2+1745_daily_bin35.fits outfile=/scratch/kocevski/592269/cmap_248400001_248659201_4FGL_J1719.2+1745_daily_bin35.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.56
user 0.39
sys 0.15

Creating the high resolution counts map:
time -p gtbin evfile=/scratch/kocevski/592269/ft1_filtered_4FGL_J1719.2+1745_daily_bin35.fits scfile=/scratch/kocevski/592269/ft2_4FGL_J1719.2+1745_daily_bin35.fits outfile=/scratch/kocevski/592269/cmap_HighResolution_248400001_248659201_4FGL_J1719.2+1745_daily_bin35.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.38
sys 0.15

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

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

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

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

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'Prefactor '    32.520       1.0000         .10000E-03   10000.    
     2 'Prefactor '    4.6444       1.0000         .10000E-03   10000.    
     3 'Prefactor '    .11582E-03   1.0000         .10000E-03   10000.    
     4 'Prefactor '    14.645       1.0000         .10000E-03   10000.    
     5 'Prefactor '    12.527       1.0000         .10000E-03   10000.    
     6 'Prefactor '    39.199       1.0000         .10000E-03   10000.    
     7 'Prefactor '    11.586       1.0000         .10000E-03   10000.    
     8 'Prefactor '    .21779E-02   1.0000         .10000E-03   10000.    
     9 'norm      '    2.1785       1.0000         .10000E-03   10000.    
    10 'Prefactor '    .10029E-03   1.0000         .10000E-03   10000.    
    11 'norm      '    6.7175       1.0000         .10000E-03   10000.    
    12 'Prefactor '    125.47       1.0000         .10000E-03   10000.    
    13 'Prefactor '    3.1657       1.0000         .10000E-03   10000.    
    14 'norm      '    .71783       1.0000         .10000E-03   10000.    
    15 'norm      '    7.6316       1.0000         .10000E-03   10000.    
    16 'Prefactor '    112.38       1.0000         .10000E-03   10000.    
    17 'norm      '    1.0055       1.0000         .10000E-03   10000.    
    18 'Prefactor '    2.6167       1.0000         .10000E-03   10000.    
    19 'Normalizat'    .85646       1.0000         .10000E-01   10.000    
    20 'Prefactor '    1.0604       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.

 FCN=   8909.502     FROM MIGRAD    STATUS=CONVERGED    400 CALLS     2065 TOTAL
                     EDM=   .29E-09  STRATEGY=1  ERROR MATRIX UNCERTAINTY=  3.4%

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor     32.521        21.774       -.29121E-06    .16367E-05
   2  Prefactor     4.6455        5.9948        .13256E-05    .37688E-03
   3  Prefactor     .10000E-03    6.0263       -.71486E-07** at limit **
   4  Prefactor     14.643        19.315       -.12878E-07    .88493E-05
   5  Prefactor     12.525        27.021        .34043E-06    .30418E-05
   6  Prefactor     39.186        68.436        .16196E-05    .74678E-05
   7  Prefactor     11.588        8.7018        .29212E-07    .11778E-04
   8  Prefactor     .10000E-03    4.6390       -.20741E-06** at limit **
   9  norm          2.1782        2.0304        .22323E-08    .10739E-04
  10  Prefactor     .10000E-03    10.380        .16409E-06** at limit **
  11  norm          6.7175        7.0283       -.13948E-07   -.91997E-06
  12  Prefactor     125.52        84.844       -.41281E-05   -.24982E-04
  13  Prefactor     3.1654        3.0940        .11435E-06    .59499E-04
  14  norm          .72960        7.8406       -.15114E-05    .41785E-03
  15  norm          7.6115        93.779        .50820E-05    .39610E-05
  16  Prefactor     112.37        70.689        .29687E-06    .31533E-05
  17  norm          1.0055        .89733        .26862E-07    .10660E-03
  18  Prefactor     2.6182        8.7034        .14291E-06    .86909E-05
  19  Normalizat    .85612        .26968       -.23417E-06    .24917E-04
  20  Prefactor     1.0605        .95135E-01   -.21724E-07    .28671E-04
                               ERR DEF=  .500    
Final values: 
  Prefactor  = 32.5213
  Prefactor  = 4.64547
  Prefactor  = 0.0001
  Prefactor  = 14.6431
  Prefactor  = 12.5246
  Prefactor  = 39.1858
  Prefactor  = 11.5875
  Prefactor  = 0.000100001
  norm       = 2.17818
  Prefactor  = 0.0001
  norm       = 6.71754
  Prefactor  = 125.521
  Prefactor  = 3.16542
  norm       = 0.7296
  norm       = 7.61149
  Prefactor  = 112.375
  norm       = 1.00548
  Prefactor  = 2.61824
  Normalizat = 0.856118
  Prefactor  = 1.06051
 **********
 **   18 **HESSE 
 **********

 FCN=   8909.502     FROM HESSE     STATUS=OK           307 CALLS     2372 TOTAL
                     EDM=   .28E-08    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  Prefactor     32.521        21.821        .70266E-04   -1.4567    
   2  Prefactor     4.6455        6.1065        .93376E-03   -1.5277    
   3  Prefactor     .10000E-03    6.3188        .36285E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   4  Prefactor     14.643        19.314        .10466E-03   -1.4942    
   5  Prefactor     12.525        27.016        .11318E-03   -1.5000    
   6  Prefactor     39.186        68.369        .64019E-04   -1.4455    
   7  Prefactor     11.588        8.6859        .11770E-03   -1.5027    
   8  Prefactor     .10000E-03    26.057        .39324E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   9  norm          2.1782        2.0297        .12627E-03   -1.5413    
  10  Prefactor     .10000E-03    10.445        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  11  norm          6.7175        7.0266        .15482E-03   -1.5190    
  12  Prefactor     125.52        85.899        .17968E-03   -1.3463    
  13  Prefactor     3.1654        3.0813        .15294E-03   -1.5352    
  14  norm          .72960        26.441        .43559E-02   -1.5537    
  15  norm          7.6115        93.965        .14516E-03   -1.5156    
  16  Prefactor     112.37        70.605        .37947E-04   -1.3584    
  17  norm          1.0055        .86573        .81083E-03   -1.5507    
  18  Prefactor     2.6182        8.6943        .25215E-03   -1.5384    
  19  Normalizat    .85612        .30435        .47217E-03   -.98020    
  20  Prefactor     1.0605        .10943        .15522E-03   -.90739    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 2.82347e-09
Minuit parameter uncertainties:
  1  21.8259
  2  6.10735
  3  4.18322e-06
  4  19.3217
  5  27.0422
  6  68.5063
  7  8.6868
  8  0.000268913
  9  2.02972
  10  2.68006e-05
  11  7.02747
  12  85.9845
  13  3.08146
  14  8.78804
  15  53.5913
  16  70.6578
  17  0.865743
  18  8.69852
  19  0.304961
  20  0.109452
Done.

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

Extracting fit parameters...

4FGL J1719.2+1745
   Spectrum: LogParabola
271         norm:  2.178e+00  2.030e+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:  1.061e+00  1.095e-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:  8.561e-01  3.050e-01  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Fixed Index): 3.43
Ra Dec: 259.806 17.753
Photon Index (Fixed Index): 1.94 +/- 0.00
Photon Flux (Fixed Index): 2.09e-08 +/- 1.94e-08
Energy Flux (Fixed Index): 1.47e-05 +/- 1.37e-05

TS (Fixed Index): 3.43
Ra Dec: 259.806 17.753
Photon Flux Upper Limit: 7.56e-08 ph cm-2 s-1
Energy Flux Upper Limit: 5.35e-05 MeV cm-2 s-1

Saving results to:
/scratch/kocevski/592269/likelihoodResults_248400001_248659201_4FGL_J1719.2+1745_daily_bin35.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) = 8909.45642766
delta logL = 0.0459059826208

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

MINUIT Return Code (Free Index): 0
logL (Free Index) = 8909.45625039
delta logL = 0.0460832452773

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'norm      '    2.1611       1.0000         .10000E-03   10000.    
     2 'alpha     '    1.6906       1.0000          .0000       5.0000    
     3 'Normalizat'    .86166       1.0000         .10000E-01   10.000    
     4 'Prefactor '    1.0598       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=   8909.456     FROM MIGRAD    STATUS=CONVERGED     51 CALLS      234 TOTAL
                     EDM=   .21E-08    STRATEGY= 1      ERR MATRIX NOT POS-DEF

  EXT PARAMETER                APPROXIMATE        STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  norm          2.1608        107.33        .70049E-02   -.67094E-04
   2  alpha         1.6904        4.0758        .44277       -.13803E-04
   3  Normalizat    .86156        .30061        .10622        .45729E-04
   4  Prefactor     1.0599        .71795E-01    .39366E-01   -.18042E-05
                               ERR DEF=  .500    
Final values: 
  norm       = 2.16082
  alpha      = 1.69042
  Normalizat = 0.861564
  Prefactor  = 1.05986
 **********
 **   18 **HESSE 
 **********

 FCN=   8909.456     FROM HESSE     STATUS=OK            33 CALLS      267 TOTAL
                     EDM=   .37E-09    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  norm          2.1608        2.1052        .12967E-03   -1.5414    
   2  alpha         1.6904        .79100        .24928E-01   -.32978    
   3  Normalizat    .86156        .28956        .47081E-03   -.97824    
   4  Prefactor     1.0599        .10576        .15526E-03   -.90760    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 3.65361e-10
Minuit parameter uncertainties:
  1  2.10529
  2  0.806543
  3  0.290081
  4  0.105782
shell-init: error retrieving current directory: getcwd: cannot access parent directories: No such file or directory
rmdir: failed to remove `/scratch/kocevski/592269': 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) = 8909.4562503
delta logL = 0.0460833402067

Extracting fit parameters...

4FGL J1719.2+1745
   Spectrum: LogParabola
271         norm:  2.161e+00  2.105e+00  1.000e-04  1.000e+04 ( 1.000e-12)
272        alpha:  1.690e+00  8.065e-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:  1.060e+00  1.058e-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:  8.616e-01  2.901e-01  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Free Index): 3.52
Ra Dec: 259.806 17.753
Photon Index (Free Index): 1.69 +/- 0.81
Photon Flux (Free Index): 1.55e-08 +/- 2.12e-08
Energy Flux (Free Index): 1.87e-05 +/- 2.48e-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/592269/cmap_HighResolution_248400001_248659201_4FGL_J1719.2+1745_daily_bin35.png

Cleaning up...

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

Updating database...

UPDATE lightcurve_data_v2 SET energy_flux_upper_limit='5.35e-05', comment='SUCCESS', photon_flux='2.09e-08', energy_flux2='1.87e-05', photon_flux_error='1.94e-08', dlogl='4.61e-02', energy_flux='1.47e-05', photon_flux2='1.55e-08', job_status='DONE', time_completed='2021-09-17 04:16:37.425014', photon_index_error2='0.81', photon_index2='1.69', ts='3.43', fit_tolerance='1e-08', GAL='1.06', photon_index_error='0.00', photon_flux_upper_limit='7.56e-08', energy_flux_error2='2.48e-05', EG='0.86', time_epoch_completed='1631877397.43', return_code='0', job_id='592269', GAL2='1.06', EG2='0.86', return_code2='0', energy_flux_error='1.37e-05', photon_flux_error2='2.12e-08', ts2='3.52', photon_index='1.94' WHERE bin_id='35' AND source_name='4FGL J1719.2+1745' AND cadence='daily';

Database successfully updated.


Analysis Complete.


Fri Sep 17 04:16:37 PDT 2021


------------------------------------------------------------
Sender: LSF System <lsf@bullet0064>
Subject: Job 592269: <4FGL_J1719.2+1745_daily_bin35> in cluster <slac> Done

Job <4FGL_J1719.2+1745_daily_bin35> was submitted from host <rhel6-64n> by user <kocevski> in cluster <slac> at Fri Sep 17 04:00:26 2021
Job was executed on host(s) <bullet0064>, in queue <medium>, as user <kocevski> in cluster <slac> at Fri Sep 17 04:00:28 2021
</u/ki/kocevski> was used as the home directory.
</u/ki/kocevski> was used as the working directory.
Started at Fri Sep 17 04:00:28 2021
Terminated at Fri Sep 17 04:16:37 2021
Results reported at Fri Sep 17 04:16:37 2021

Your job looked like:

------------------------------------------------------------
# LSBATCH: User input
/nfs/farm/g/glast/g/LCRepository/Likelihood/Scripts/LikelihoodAnalysis.py 4FGL_J1719.2+1745_daily_bin35 259.806 17.7533 248400001 248659201 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 :                                   766.31 sec.
    Max Memory :                                 1257 MB
    Average Memory :                             299.44 MB
    Total Requested Memory :                     -
    Delta Memory :                               -
    Max Swap :                                   -
    Max Processes :                              5
    Max Threads :                                21
    Run time :                                   969 sec.
    Turnaround time :                            971 sec.

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

