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


Performing analysis on: 4FGL_J1719.2+1745_daily_bin55
RA = 259.806, Dec = 17.7533
tmin = 253584001, tmax = 253843201
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='593484', job_status='RUN', time_executed='2021-09-17 04:08:27.760266', time_epoch_executed='1631876907.76' WHERE source_name='4FGL J1719.2+1745' and cadence='daily' and bin_id='55'

Database successfully updated.
Done.

Creating custom output directory:
/scratch/kocevski/593484

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

Retrieving the FT1 file...

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

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

Retrieving 46 files...
Done.


Merging files...

Checksum keywords updated successfully.

Merged file saved to:
/scratch/kocevski/593484/ft1_4FGL_J1719.2+1745_daily_bin55.fits


Retrieving the FT1 file...

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

Retrieving 46 files...
Done.


Merging files...

Merged file saved to:
/scratch/kocevski/593484/ft2_4FGL_J1719.2+1745_daily_bin55.fits


Selecting the photons:
time -p gtselect infile=/scratch/kocevski/593484/ft1_4FGL_J1719.2+1745_daily_bin55.fits outfile=/scratch/kocevski/593484/ft1_filteredMKT_4FGL_J1719.2+1745_daily_bin55.fits ra=259.806 dec=17.7533 rad=12.0 tmin=253584001.0 tmax=253843201.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.43
user 1.24
sys 0.18

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

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

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

Generating the exposure map:
time -p gtexpmap evfile=/scratch/kocevski/593484/ft1_filtered_4FGL_J1719.2+1745_daily_bin55.fits evtable="EVENTS" scfile=/scratch/kocevski/593484/ft2_4FGL_J1719.2+1745_daily_bin55.fits sctable="SC_DATA" expcube=/scratch/kocevski/593484/ltcube_253584001_253843201_4FGL_J1719.2+1745_daily_bin55.fits outfile=/scratch/kocevski/593484/expmap_253584001_253843201_4FGL_J1719.2+1745_daily_bin55.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/593484/ltcube_253584001_253843201_4FGL_J1719.2+1745_daily_bin55.fits
.....................!
real 191.01
user 185.49
sys 5.16

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/593484/ft1_filtered_4FGL_J1719.2+1745_daily_bin55.fits scfile=/scratch/kocevski/593484/ft2_4FGL_J1719.2+1745_daily_bin55.fits outfile=/scratch/kocevski/593484/cmap_253584001_253843201_4FGL_J1719.2+1745_daily_bin55.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.53
user 0.37
sys 0.15

Creating the high resolution counts map:
time -p gtbin evfile=/scratch/kocevski/593484/ft1_filtered_4FGL_J1719.2+1745_daily_bin55.fits scfile=/scratch/kocevski/593484/ft2_4FGL_J1719.2+1745_daily_bin55.fits outfile=/scratch/kocevski/593484/cmap_HighResolution_253584001_253843201_4FGL_J1719.2+1745_daily_bin55.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/593484/ft1_filtered_4FGL_J1719.2+1745_daily_bin55.fits evtable="EVENTS" scfile=/scratch/kocevski/593484/ft2_4FGL_J1719.2+1745_daily_bin55.fits sctable="SC_DATA" srcmdl=/scratch/kocevski/593484/Model_4FGL_J1719.2+1745_daily_bin55.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/593484/ft1_filtered_4FGL_J1719.2+1745_daily_bin55.fits.....................!
real 80.51
user 78.99
sys 1.28

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

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

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

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'Prefactor '    .10197E-03   1.0000         .10000E-03   10000.    
     2 'Prefactor '    2.0882       1.0000         .10000E-03   10000.    
     3 'Prefactor '    .10000E-03   1.0000         .10000E-03   10000.    
     4 'Prefactor '    1.2735       1.0000         .10000E-03   10000.    
     5 'Prefactor '    .10147E-03   1.0000         .10000E-03   10000.    
     6 'Prefactor '    .11418E-03   1.0000         .10000E-03   10000.    
     7 'Prefactor '    .10148E-03   1.0000         .10000E-03   10000.    
     8 'Prefactor '    .10282E-03   1.0000         .10000E-03   10000.    
     9 'norm      '    3.9502       1.0000         .10000E-03   10000.    
    10 'Prefactor '    .79341E-01   1.0000         .10000E-03   10000.    
    11 'norm      '    19.034       1.0000         .10000E-03   10000.    
    12 'Prefactor '    .10000E-03   1.0000         .10000E-03   10000.    
    13 'Prefactor '    .14488E-03   1.0000         .10000E-03   10000.    
    14 'norm      '    2.4080       1.0000         .10000E-03   10000.    
    15 'norm      '    .10056E-03   1.0000         .10000E-03   10000.    
    16 'Prefactor '    .10090E-03   1.0000         .10000E-03   10000.    
    17 'norm      '    .10000E-03   1.0000         .10000E-03   10000.    
    18 'Prefactor '    .10107E-03   1.0000         .10000E-03   10000.    
    19 'Normalizat'    .95067       1.0000         .10000E-01   10.000    
    20 'Prefactor '    1.0074       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=   10428.38     FROM MIGRAD    STATUS=CONVERGED    767 CALLS     2427 TOTAL
                     EDM=   .19E-07    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor     .10000E-03    20.258        .18142E-02** at limit **
   2  Prefactor     2.0814        5.0013        .28570E-03   -.31953E-03
   3  Prefactor     .10000E-03    2.0647        .14294E-02** at limit **
   4  Prefactor     1.2760        201.74        .19700E-02    .58979E-05
   5  Prefactor     .10000E-03    34.412        .18142E-02** at limit **
   6  Prefactor     .10000E-03    25.468        .18142E-02** at limit **
   7  Prefactor     .10002E-03    38.479        .31518E-02** at limit **
   8  Prefactor     .10120E-03    81.179        .45693E-02** at limit **
   9  norm          3.9504        2.5355        .12649E-03    .35088E-03
  10  Prefactor     .61826E-01    7.9245        .80743E-01    .41634E-03
  11  norm          19.039        10.459        .91803E-04   -.20309E-04
  12  Prefactor     .10000E-03    47.694        .18142E-02** at limit **
  13  Prefactor     .10001E-03    4.3595        .19687E-02** at limit **
  14  norm          2.4117        6.1268        .13192E-02    .49620E-03
  15  norm          .10000E-03    23.787        .18142E-02** at limit **
  16  Prefactor     .10000E-03    14.992        .18142E-02** at limit **
  17  norm          .10000E-03    .17059        .40791E-03** at limit **
  18  Prefactor     .10000E-03    5.0882        .18142E-02** at limit **
  19  Normalizat    .95071        .25907        .42027E-03    .12281E-04
  20  Prefactor     1.0075        .92503E-01    .14784E-03   -.68901E-04
                               ERR DEF=  .500    
Final values: 
  Prefactor  = 0.000100003
  Prefactor  = 2.08138
  Prefactor  = 0.0001
  Prefactor  = 1.27601
  Prefactor  = 0.0001
  Prefactor  = 0.0001
  Prefactor  = 0.000100024
  Prefactor  = 0.000101196
  norm       = 3.95043
  Prefactor  = 0.0618263
  norm       = 19.0393
  Prefactor  = 0.000100001
  Prefactor  = 0.000100013
  norm       = 2.41166
  norm       = 0.000100001
  Prefactor  = 0.0001
  norm       = 0.0001
  Prefactor  = 0.0001
  Normalizat = 0.950711
  Prefactor  = 1.00748
 **********
 **   18 **HESSE 
 **********

 FCN=   10428.38     FROM HESSE     STATUS=OK           283 CALLS     2710 TOTAL
                     EDM=   .19E-07    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  Prefactor     .10000E-03    20.272        .36285E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   2  Prefactor     2.0814        4.9828        .11428E-04   -1.5419    
   3  Prefactor     .10000E-03    2.0650        .28588E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   4  Prefactor     1.2760        199.08        .78799E-04   -1.5482    
   5  Prefactor     .10000E-03    34.416        .36285E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   6  Prefactor     .10000E-03    25.468        .36285E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   7  Prefactor     .10002E-03    39.481        .12607E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   8  Prefactor     .10120E-03    83.439        .18277E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   9  norm          3.9504        2.5353        .50597E-05   -1.5310    
  10  Prefactor     .61826E-01    7.5727        .83604E-01   -1.5658    
  11  norm          19.039        10.456        .36721E-05   -1.4835    
  12  Prefactor     .10000E-03    47.697        .36285E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  13  Prefactor     .10001E-03    4.3793        .39374E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  14  norm          2.4117        6.1255        .52766E-04   -1.5397    
  15  norm          .10000E-03    23.787        .36285E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  16  Prefactor     .10000E-03    14.993        .36285E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  17  norm          .10000E-03    .17059        .81582E-04   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  18  Prefactor     .10000E-03    5.0901        .36285E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  19  Normalizat    .95071        .25882        .16811E-04   -.94700    
  20  Prefactor     1.0075        .92552E-01    .59136E-05   -.92481    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 1.90201e-08
Minuit parameter uncertainties:
  1  0.000452245
  2  4.98375
  3  1.73383e-06
  4  31.9843
  5  7.9815e-05
  6  0.000184354
  7  0.00196146
  8  0.0200046
  9  2.53532
  10  1.36756
  11  10.457
  12  0.000330387
  13  0.00047189
  14  6.12713
  15  0.000228827
  16  1.756e-05
  17  5.33062e-07
  18  5.51126e-06
  19  0.259156
  20  0.0925669
Done.

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

Extracting fit parameters...

4FGL J1719.2+1745
   Spectrum: LogParabola
271         norm:  3.950e+00  2.535e+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.007e+00  9.257e-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.507e-01  2.592e-01  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Fixed Index): 5.10
Ra Dec: 259.806 17.753
Photon Index (Fixed Index): 1.94 +/- 0.00
Photon Flux (Fixed Index): 3.78e-08 +/- 2.43e-08
Energy Flux (Fixed Index): 2.67e-05 +/- 1.72e-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) = 10428.2223126
delta logL = 0.157740324397

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

MINUIT Return Code (Free Index): 0
logL (Free Index) = 10428.2189819
delta logL = 0.161071057868

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'norm      '    3.5343       1.0000         .10000E-03   10000.    
     2 'alpha     '    2.2287       1.0000          .0000       5.0000    
     3 'Normalizat'    .93787       1.0000         .10000E-01   10.000    
     4 'Prefactor '    1.0092       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=   10428.22     FROM MIGRAD    STATUS=CONVERGED     50 CALLS      242 TOTAL
                     EDM=   .27E-08    STRATEGY= 1      ERR MATRIX NOT POS-DEF

  EXT PARAMETER                APPROXIMATE        STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  norm          3.5343        47.435        .53754E-02    .13867E-02
   2  alpha         2.2288        3.5343        .29407        .77533E-04
   3  Normalizat    .93783        .11541        .95437E-01    .39631E-04
   4  Prefactor     1.0093        .32877E-01    .43439E-01   -.77331E-05
                               ERR DEF=  .500    
Final values: 
  norm       = 3.53431
  alpha      = 2.22881
  Normalizat = 0.93783
  Prefactor  = 1.00926
 **********
 **   18 **HESSE 
 **********

 FCN=   10428.22     FROM HESSE     STATUS=OK            31 CALLS      273 TOTAL
                     EDM=   .36E-08    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  norm          3.5343        2.5355        .11110E-03   -1.5332    
   2  alpha         2.2288        .52349        .14611E-01   -.10869    
   3  Normalizat    .93783        .25043        .42277E-03   -.95143    
   4  Prefactor     1.0093        .90761E-01    .14772E-03   -.92422    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 3.60529e-09
Minuit parameter uncertainties:
  1  2.53561
  2  0.527444
  3  0.25074
  4  0.0907743
shell-init: error retrieving current directory: getcwd: cannot access parent directories: No such file or directory
rmdir: failed to remove `/scratch/kocevski/593484': 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) = 10428.2189818
delta logL = 0.161071107577

Extracting fit parameters...

4FGL J1719.2+1745
   Spectrum: LogParabola
271         norm:  3.534e+00  2.536e+00  1.000e-04  1.000e+04 ( 1.000e-12)
272        alpha:  2.229e+00  5.274e-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.009e+00  9.077e-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.378e-01  2.507e-01  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Free Index): 5.43
Ra Dec: 259.806 17.753
Photon Index (Free Index): 2.23 +/- 0.53
Photon Flux (Free Index): 5.10e-08 +/- 3.70e-08
Energy Flux (Free Index): 2.24e-05 +/- 1.52e-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/593484/cmap_HighResolution_253584001_253843201_4FGL_J1719.2+1745_daily_bin55.png

Cleaning up...

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

Updating database...

UPDATE lightcurve_data_v2 SET comment='SUCCESS', photon_flux='3.78e-08', energy_flux2='2.24e-05', photon_flux_error='2.43e-08', dlogl='1.61e-01', energy_flux='2.67e-05', photon_flux2='5.10e-08', job_status='DONE', time_completed='2021-09-17 04:21:31.911738', photon_index_error2='0.53', photon_index2='2.23', ts='5.10', fit_tolerance='1e-08', GAL='1.01', photon_index_error='0.00', energy_flux_error2='1.52e-05', EG='0.95', time_epoch_completed='1631877691.91', return_code='0', job_id='593484', GAL2='1.01', EG2='0.94', return_code2='0', energy_flux_error='1.72e-05', photon_flux_error2='3.70e-08', ts2='5.43', photon_index='1.94' WHERE bin_id='55' AND source_name='4FGL J1719.2+1745' AND cadence='daily';

Database successfully updated.


Analysis Complete.


Fri Sep 17 04:21:31 PDT 2021


------------------------------------------------------------
Sender: LSF System <lsf@bullet0069>
Subject: Job 593484: <4FGL_J1719.2+1745_daily_bin55> in cluster <slac> Done

Job <4FGL_J1719.2+1745_daily_bin55> was submitted from host <rhel6-64q> by user <kocevski> in cluster <slac> at Fri Sep 17 04:05:17 2021
Job was executed on host(s) <bullet0069>, in queue <medium>, as user <kocevski> in cluster <slac> at Fri Sep 17 04:05:19 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:05:19 2021
Terminated at Fri Sep 17 04:21:32 2021
Results reported at Fri Sep 17 04:21:32 2021

Your job looked like:

------------------------------------------------------------
# LSBATCH: User input
/nfs/farm/g/glast/g/LCRepository/Likelihood/Scripts/LikelihoodAnalysis.py 4FGL_J1719.2+1745_daily_bin55 259.806 17.7533 253584001 253843201 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 :                                   782.30 sec.
    Max Memory :                                 1094 MB
    Average Memory :                             285.85 MB
    Total Requested Memory :                     -
    Delta Memory :                               -
    Max Swap :                                   -
    Max Processes :                              5
    Max Threads :                                21
    Run time :                                   973 sec.
    Turnaround time :                            975 sec.

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

