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


Performing analysis on: 4FGL_J1719.2+1745_daily_bin1570
RA = 259.806, Dec = 17.7533
tmin = 646272001, tmax = 646531201
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='615837', job_status='RUN', time_executed='2021-09-17 05:35:35.169369', time_epoch_executed='1631882135.17' WHERE source_name='4FGL J1719.2+1745' and cadence='daily' and bin_id='1570'

Database successfully updated.
Done.

Creating custom output directory:
/scratch/kocevski/615837

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

Retrieving the FT1 file...

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

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

Retrieving 47 files...
Done.


Merging files...

Checksum keywords updated successfully.

Merged file saved to:
/scratch/kocevski/615837/ft1_4FGL_J1719.2+1745_daily_bin1570.fits


Retrieving the FT1 file...

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

Retrieving 47 files...
Done.


Merging files...

Merged file saved to:
/scratch/kocevski/615837/ft2_4FGL_J1719.2+1745_daily_bin1570.fits


Selecting the photons:
time -p gtselect infile=/scratch/kocevski/615837/ft1_4FGL_J1719.2+1745_daily_bin1570.fits outfile=/scratch/kocevski/615837/ft1_filteredMKT_4FGL_J1719.2+1745_daily_bin1570.fits ra=259.806 dec=17.7533 rad=12.0 tmin=646272001.0 tmax=646531201.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.08
user 3.83
sys 0.22

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

Selecting the good time intervals:
time -p gtmktime scfile=/scratch/kocevski/615837/ft2_4FGL_J1719.2+1745_daily_bin1570.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/615837/ft1_filteredMKT_4FGL_J1719.2+1745_daily_bin1570.fits evtable="EVENTS" outfile="/scratch/kocevski/615837/ft1_filtered_4FGL_J1719.2+1745_daily_bin1570.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.14

Generating the livetime cube:
time -p gtltcube evfile="/scratch/kocevski/615837/ft1_filtered_4FGL_J1719.2+1745_daily_bin1570.fits" evtable="EVENTS" scfile=/scratch/kocevski/615837/ft2_4FGL_J1719.2+1745_daily_bin1570.fits sctable="SC_DATA" outfile=/scratch/kocevski/615837/ltcube_646272001_646531201_4FGL_J1719.2+1745_daily_bin1570.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/615837/ft2_4FGL_J1719.2+1745_daily_bin1570.fits
.....................!
real 12.50
user 12.13
sys 0.33

Generating the exposure map:
time -p gtexpmap evfile=/scratch/kocevski/615837/ft1_filtered_4FGL_J1719.2+1745_daily_bin1570.fits evtable="EVENTS" scfile=/scratch/kocevski/615837/ft2_4FGL_J1719.2+1745_daily_bin1570.fits sctable="SC_DATA" expcube=/scratch/kocevski/615837/ltcube_646272001_646531201_4FGL_J1719.2+1745_daily_bin1570.fits outfile=/scratch/kocevski/615837/expmap_646272001_646531201_4FGL_J1719.2+1745_daily_bin1570.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/615837/ltcube_646272001_646531201_4FGL_J1719.2+1745_daily_bin1570.fits
.....................!
real 189.36
user 184.84
sys 4.15

Generating the xml model:
radLim = 0.001
maxRad = 12
normsOnly = True
freeVariableSources = True
Fixing all sources to their catalog values, except variable sources
Creating file and adding sources from 4FGL
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/615837/ft1_filtered_4FGL_J1719.2+1745_daily_bin1570.fits scfile=/scratch/kocevski/615837/ft2_4FGL_J1719.2+1745_daily_bin1570.fits outfile=/scratch/kocevski/615837/cmap_646272001_646531201_4FGL_J1719.2+1745_daily_bin1570.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.38
sys 0.14

Creating the high resolution counts map:
time -p gtbin evfile=/scratch/kocevski/615837/ft1_filtered_4FGL_J1719.2+1745_daily_bin1570.fits scfile=/scratch/kocevski/615837/ft2_4FGL_J1719.2+1745_daily_bin1570.fits outfile=/scratch/kocevski/615837/cmap_HighResolution_646272001_646531201_4FGL_J1719.2+1745_daily_bin1570.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/615837/ft1_filtered_4FGL_J1719.2+1745_daily_bin1570.fits evtable="EVENTS" scfile=/scratch/kocevski/615837/ft2_4FGL_J1719.2+1745_daily_bin1570.fits sctable="SC_DATA" srcmdl=/scratch/kocevski/615837/Model_4FGL_J1719.2+1745_daily_bin1570.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/615837/ft1_filtered_4FGL_J1719.2+1745_daily_bin1570.fits.....................!
real 77.10
user 75.69
sys 1.21

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

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

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

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'Prefactor '    28.232       1.0000         .10000E-03   10000.    
     2 'Prefactor '    .10134E-03   1.0000         .10000E-03   10000.    
     3 'Prefactor '    21.567       1.0000         .10000E-03   10000.    
     4 'Prefactor '    41.076       1.0000         .10000E-03   10000.    
     5 'Prefactor '    .10001E-03   1.0000         .10000E-03   10000.    
     6 'Prefactor '    .10020E-03   1.0000         .10000E-03   10000.    
     7 'Prefactor '    1.7702       1.0000         .10000E-03   10000.    
     8 'Prefactor '    11.233       1.0000         .10000E-03   10000.    
     9 'norm      '    2.2017       1.0000         .10000E-03   10000.    
    10 'Prefactor '    .10012E-03   1.0000         .10000E-03   10000.    
    11 'norm      '    .10012E-03   1.0000         .10000E-03   10000.    
    12 'Prefactor '    .10095E-03   1.0000         .10000E-03   10000.    
    13 'Prefactor '    10.326       1.0000         .10000E-03   10000.    
    14 'norm      '    4.7829       1.0000         .10000E-03   10000.    
    15 'norm      '    .10000E-03   1.0000         .10000E-03   10000.    
    16 'Prefactor '    .10002E-03   1.0000         .10000E-03   10000.    
    17 'norm      '    2.8442       1.0000         .10000E-03   10000.    
    18 'Prefactor '    .31189       1.0000         .10000E-03   10000.    
    19 'Normalizat'    .95473       1.0000         .10000E-01   10.000    
    20 'Prefactor '    1.0048       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=   9668.918     FROM MIGRAD    STATUS=CONVERGED    403 CALLS     2057 TOTAL
                     EDM=   .69E-08    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor     28.235        21.392        .18850E-02   -.60050E-03
   2  Prefactor     .10000E-03    3.4994        .90712E-02** at limit **
   3  Prefactor     21.570        11.573        .21562E-02    .21245E-03
   4  Prefactor     41.078        34.463        .15636E-02   -.90163E-03
   5  Prefactor     .10001E-03    17.737        .90712E-02** at limit **
   6  Prefactor     .10000E-03    32.456        .90712E-02** at limit **
   7  Prefactor     1.7662        12.634        .78688E-02    .68972E-03
   8  Prefactor     11.234        17.136        .29883E-02    .10971E-03
   9  norm          2.2018        2.0698        .69320E-02    .30543E-03
  10  Prefactor     .10000E-03    16.222        .90712E-02** at limit **
  11  norm          .10000E-03    6.0411        .90712E-02** at limit **
  12  Prefactor     .10000E-03    60.411        .90712E-02** at limit **
  13  Prefactor     10.326        4.0583        .31172E-02    .20526E-02
  14  norm          4.7780        13.121        .45991E-02    .11415E-03
  15  norm          .10001E-03    18.363        .90712E-02** at limit **
  16  Prefactor     .10000E-03    16.523        .90712E-02** at limit **
  17  norm          2.8439        1.0947        .60274E-02    .80227E-03
  18  Prefactor     .31989        4.4255        .76484E-01    .38277E-03
  19  Normalizat    .95438        .24747        .10160        .36113E-03
  20  Prefactor     1.0049        .86481E-01    .44235E-01    .10752E-02
                               ERR DEF=  .500    
Final values: 
  Prefactor  = 28.2353
  Prefactor  = 0.0001
  Prefactor  = 21.5703
  Prefactor  = 41.0776
  Prefactor  = 0.000100012
  Prefactor  = 0.0001
  Prefactor  = 1.76624
  Prefactor  = 11.2338
  norm       = 2.20178
  Prefactor  = 0.0001
  norm       = 0.0001
  Prefactor  = 0.0001
  Prefactor  = 10.3263
  norm       = 4.77799
  norm       = 0.000100007
  Prefactor  = 0.0001
  norm       = 2.84393
  Prefactor  = 0.319892
  Normalizat = 0.954377
  Prefactor  = 1.00495
 **********
 **   18 **HESSE 
 **********

 FCN=   9668.918     FROM HESSE     STATUS=OK           291 CALLS     2348 TOTAL
                     EDM=   .54E-08    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  Prefactor     28.235        21.460        .75400E-04   -1.4645    
   2  Prefactor     .10000E-03    3.5290        .17943E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   3  Prefactor     21.570        11.502        .86249E-04   -1.4779    
   4  Prefactor     41.078        34.548        .62545E-04   -1.4425    
   5  Prefactor     .10001E-03    17.750        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   6  Prefactor     .10000E-03    32.470        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   7  Prefactor     1.7662        12.450        .31475E-03   -1.5442    
   8  Prefactor     11.234        17.119        .11953E-03   -1.5038    
   9  norm          2.2018        2.0566        .13298E-03   -1.5411    
  10  Prefactor     .10000E-03    16.539        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  11  norm          .10000E-03    6.0581        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  12  Prefactor     .10000E-03    60.456        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  13  Prefactor     10.326        4.0533        .11689E-03   -1.5065    
  14  norm          4.7780        13.167        .18397E-03   -1.5271    
  15  norm          .10001E-03    18.363        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  16  Prefactor     .10000E-03    16.528        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  17  norm          2.8439        1.0965        .61556E-04   -1.5371    
  18  Prefactor     .31989        28.608        .39803E-02   -1.5595    
  19  Normalizat    .95438        .28226        .45022E-03   -.94575    
  20  Prefactor     1.0049        .10059        .15966E-03   -.92565    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 5.37577e-09
Minuit parameter uncertainties:
  1  21.4656
  2  5.15851e-06
  3  11.5032
  4  34.5649
  5  0.000908799
  6  5.87929e-05
  7  9.38109
  8  17.1262
  9  2.05671
  10  3.31303e-05
  11  5.97426e-06
  12  0.000338589
  13  4.0534
  14  13.1746
  15  0.000720708
  16  0.000106578
  17  1.09646
  18  6.05227
  19  0.282701
  20  0.100611
Done.

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

Extracting fit parameters...

4FGL J1719.2+1745
   Spectrum: LogParabola
271         norm:  2.202e+00  2.057e+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.005e+00  1.006e-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:  9.544e-01  2.827e-01  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Fixed Index): 2.07
Ra Dec: 259.806 17.753
Photon Index (Fixed Index): 1.94 +/- 0.00
Photon Flux (Fixed Index): 2.11e-08 +/- 1.97e-08
Energy Flux (Fixed Index): 1.49e-05 +/- 1.39e-05

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

Saving results to:
/scratch/kocevski/615837/likelihoodResults_646272001_646531201_4FGL_J1719.2+1745_daily_bin1570.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) = 9668.63288144
delta logL = 0.28539068236

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

MINUIT Return Code (Free Index): 0
logL (Free Index) = 9668.62583781
delta logL = 0.292434319586

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'norm      '    2.4454       1.0000         .10000E-03   10000.    
     2 'alpha     '    1.4407       1.0000          .0000       5.0000    
     3 'Normalizat'    .96248       1.0000         .10000E-01   10.000    
     4 'Prefactor '    1.0031       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=   9668.626     FROM MIGRAD    STATUS=CONVERGED     54 CALLS      209 TOTAL
                     EDM=   .17E-09    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  norm          2.4444        2.7295        .65402E-02    .17650E-03
   2  alpha         1.4406        .62700        .47211       -.36819E-04
   3  Normalizat    .96256        .23167        .10120        .36378E-04
   4  Prefactor     1.0031        .84404E-01    .44630E-01   -.15427E-05
                               ERR DEF=  .500    
Final values: 
  norm       = 2.44439
  alpha      = 1.44059
  Normalizat = 0.962562
  Prefactor  = 1.00314
 **********
 **   18 **HESSE 
 **********

 FCN=   9668.626     FROM HESSE     STATUS=OK            33 CALLS      242 TOTAL
                     EDM=   .14E-08    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  norm          2.4444        2.1327        .12879E-03   -1.5395    
   2  alpha         1.4406        .57016        .20637E-01   -.43760    
   3  Normalizat    .96256        .26400        .44845E-03   -.94295    
   4  Prefactor     1.0031        .96738E-01    .15977E-03   -.92625    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 1.40957e-09
Minuit parameter uncertainties:
  1  2.13274
  2  0.576366
  3  0.264356
  4  0.0967544
shell-init: error retrieving current directory: getcwd: cannot access parent directories: No such file or directory
rmdir: failed to remove `/scratch/kocevski/615837': 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) = 9668.62583759
delta logL = 0.292434541117

Extracting fit parameters...

4FGL J1719.2+1745
   Spectrum: LogParabola
271         norm:  2.444e+00  2.133e+00  1.000e-04  1.000e+04 ( 1.000e-12)
272        alpha:  1.441e+00  5.764e-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.003e+00  9.675e-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:  9.626e-01  2.644e-01  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Free Index): 2.66
Ra Dec: 259.806 17.753
Photon Index (Free Index): 1.44 +/- 0.58
Photon Flux (Free Index): 1.43e-08 +/- 1.43e-08
Energy Flux (Free Index): 3.23e-05 +/- 4.23e-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/615837/cmap_HighResolution_646272001_646531201_4FGL_J1719.2+1745_daily_bin1570.png

Cleaning up...

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

Updating database...

UPDATE lightcurve_data_v2 SET energy_flux_upper_limit='5.17e-05', comment='SUCCESS', photon_flux='2.11e-08', energy_flux2='3.23e-05', photon_flux_error='1.97e-08', dlogl='2.92e-01', energy_flux='1.49e-05', photon_flux2='1.43e-08', job_status='DONE', time_completed='2021-09-17 05:48:45.705183', photon_index_error2='0.58', photon_index2='1.44', ts='2.07', fit_tolerance='1e-08', GAL='1.00', photon_index_error='0.00', photon_flux_upper_limit='7.32e-08', energy_flux_error2='4.23e-05', EG='0.95', time_epoch_completed='1631882925.71', return_code='0', job_id='615837', GAL2='1.00', EG2='0.96', return_code2='0', energy_flux_error='1.39e-05', photon_flux_error2='1.43e-08', ts2='2.66', photon_index='1.94' WHERE bin_id='1570' AND source_name='4FGL J1719.2+1745' AND cadence='daily';

Database successfully updated.


Analysis Complete.


Fri Sep 17 05:48:45 PDT 2021


------------------------------------------------------------
Sender: LSF System <lsf@bullet0245>
Subject: Job 615837: <4FGL_J1719.2+1745_daily_bin1570> in cluster <slac> Done

Job <4FGL_J1719.2+1745_daily_bin1570> was submitted from host <rhel6-64p> by user <kocevski> in cluster <slac> at Fri Sep 17 05:35:24 2021
Job was executed on host(s) <bullet0245>, in queue <medium>, as user <kocevski> in cluster <slac> at Fri Sep 17 05:35:26 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:35:26 2021
Terminated at Fri Sep 17 05:48:46 2021
Results reported at Fri Sep 17 05:48:46 2021

Your job looked like:

------------------------------------------------------------
# LSBATCH: User input
/nfs/farm/g/glast/g/LCRepository/Likelihood/Scripts/LikelihoodAnalysis.py 4FGL_J1719.2+1745_daily_bin1570 259.806 17.7533 646272001 646531201 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 :                                   785.00 sec.
    Max Memory :                                 1257 MB
    Average Memory :                             341.37 MB
    Total Requested Memory :                     -
    Delta Memory :                               -
    Max Swap :                                   -
    Max Processes :                              5
    Max Threads :                                21
    Run time :                                   799 sec.
    Turnaround time :                            802 sec.

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

