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


Performing analysis on: 4FGL_J1719.2+1745_daily_bin14
RA = 259.806, Dec = 17.7533
tmin = 242956801, tmax = 243216001
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='591022', job_status='RUN', time_executed='2021-09-17 03:57:22.893372', time_epoch_executed='1631876242.89' WHERE source_name='4FGL J1719.2+1745' and cadence='daily' and bin_id='14'

Database successfully updated.
Done.

Creating custom output directory:
/scratch/kocevski/591022

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

Retrieving the FT1 file...

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

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

Retrieving 46 files...
Done.


Merging files...

Checksum keywords updated successfully.

Merged file saved to:
/scratch/kocevski/591022/ft1_4FGL_J1719.2+1745_daily_bin14.fits


Retrieving the FT1 file...

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

Retrieving 46 files...
Done.


Merging files...

Merged file saved to:
/scratch/kocevski/591022/ft2_4FGL_J1719.2+1745_daily_bin14.fits


Selecting the photons:
time -p gtselect infile=/scratch/kocevski/591022/ft1_4FGL_J1719.2+1745_daily_bin14.fits outfile=/scratch/kocevski/591022/ft1_filteredMKT_4FGL_J1719.2+1745_daily_bin14.fits ra=259.806 dec=17.7533 rad=12.0 tmin=242956801.0 tmax=243216001.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.42
user 1.24
sys 0.17

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

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

Generating the livetime cube:
time -p gtltcube evfile="/scratch/kocevski/591022/ft1_filtered_4FGL_J1719.2+1745_daily_bin14.fits" evtable="EVENTS" scfile=/scratch/kocevski/591022/ft2_4FGL_J1719.2+1745_daily_bin14.fits sctable="SC_DATA" outfile=/scratch/kocevski/591022/ltcube_242956801_243216001_4FGL_J1719.2+1745_daily_bin14.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/591022/ft2_4FGL_J1719.2+1745_daily_bin14.fits
.....................!
real 12.78
user 12.41
sys 0.32

Generating the exposure map:
time -p gtexpmap evfile=/scratch/kocevski/591022/ft1_filtered_4FGL_J1719.2+1745_daily_bin14.fits evtable="EVENTS" scfile=/scratch/kocevski/591022/ft2_4FGL_J1719.2+1745_daily_bin14.fits sctable="SC_DATA" expcube=/scratch/kocevski/591022/ltcube_242956801_243216001_4FGL_J1719.2+1745_daily_bin14.fits outfile=/scratch/kocevski/591022/expmap_242956801_243216001_4FGL_J1719.2+1745_daily_bin14.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/591022/ltcube_242956801_243216001_4FGL_J1719.2+1745_daily_bin14.fits
.....................!
real 189.85
user 184.76
sys 4.76

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/591022/ft1_filtered_4FGL_J1719.2+1745_daily_bin14.fits scfile=/scratch/kocevski/591022/ft2_4FGL_J1719.2+1745_daily_bin14.fits outfile=/scratch/kocevski/591022/cmap_242956801_243216001_4FGL_J1719.2+1745_daily_bin14.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/591022/ft1_filtered_4FGL_J1719.2+1745_daily_bin14.fits scfile=/scratch/kocevski/591022/ft2_4FGL_J1719.2+1745_daily_bin14.fits outfile=/scratch/kocevski/591022/cmap_HighResolution_242956801_243216001_4FGL_J1719.2+1745_daily_bin14.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.16

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

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

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

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

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'Prefactor '    18.833       1.0000         .10000E-03   10000.    
     2 'Prefactor '    .10003E-03   1.0000         .10000E-03   10000.    
     3 'Prefactor '    6.2191       1.0000         .10000E-03   10000.    
     4 'Prefactor '    .10000E-03   1.0000         .10000E-03   10000.    
     5 'Prefactor '    .10000E-03   1.0000         .10000E-03   10000.    
     6 'Prefactor '    .10013E-03   1.0000         .10000E-03   10000.    
     7 'Prefactor '    2.4189       1.0000         .10000E-03   10000.    
     8 'Prefactor '    .10001E-03   1.0000         .10000E-03   10000.    
     9 'norm      '    13.854       1.0000         .10000E-03   10000.    
    10 'Prefactor '    6.3058       1.0000         .10000E-03   10000.    
    11 'norm      '    .10000E-03   1.0000         .10000E-03   10000.    
    12 'Prefactor '    44.472       1.0000         .10000E-03   10000.    
    13 'Prefactor '    .90948       1.0000         .10000E-03   10000.    
    14 'norm      '    .10020E-03   1.0000         .10000E-03   10000.    
    15 'norm      '    .10000E-03   1.0000         .10000E-03   10000.    
    16 'Prefactor '    14.226       1.0000         .10000E-03   10000.    
    17 'norm      '    .22148       1.0000         .10000E-03   10000.    
    18 'Prefactor '    13.779       1.0000         .10000E-03   10000.    
    19 'Normalizat'    1.0495       1.0000         .10000E-01   10.000    
    20 'Prefactor '    1.1111       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=   11681.22     FROM MIGRAD    STATUS=CONVERGED    431 CALLS     2075 TOTAL
                     EDM=   .39E-11  STRATEGY=1  ERROR MATRIX UNCERTAINTY=   .6%

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor     18.831        19.595       -.19389E-06   -.30073E-05
   2  Prefactor     .10000E-03    4.6394       -.71305E-08** at limit **
   3  Prefactor     6.2192        5.0277       -.30819E-07   -.88256E-04
   4  Prefactor     .10000E-03    19.672        .32967E-05** at limit **
   5  Prefactor     .10000E-03    7.6569       -.49755E-08** at limit **
   6  Prefactor     .10000E-03    64.670       -.21978E-07** at limit **
   7  Prefactor     2.4188        1.2654        .35679E-07   -.36585E-03
   8  Prefactor     .10000E-03    19.882       -.37199E-05** at limit **
   9  norm          13.854        3.9575        .14824E-07    .75800E-04
  10  Prefactor     6.3060        9.6182       -.14001E-06   -.34261E-08
  11  norm          .10000E-03    5.3065       -.33935E-07** at limit **
  12  Prefactor     44.475        71.964        .38949E-05    .16482E-05
  13  Prefactor     .90999        2.5510       -.91304E-07   -.68263E-04
  14  norm          .10000E-03    5.5069        .20071E-08** at limit **
  15  norm          .10000E-03    26.894        .60648E-06** at limit **
  16  Prefactor     14.219        24.372       -.39961E-05   -.61540E-06
  17  norm          .22133        .60080       -.25533E-07   -.52623E-04
  18  Prefactor     13.779        10.322        .84551E-07    .15549E-05
  19  Normalizat    1.0494        .23763        .92599E-08    .21145E-04
  20  Prefactor     1.1111        .86214E-01   -.40463E-07    .87046E-04
                               ERR DEF=  .500    
Final values: 
  Prefactor  = 18.8314
  Prefactor  = 0.0001
  Prefactor  = 6.2192
  Prefactor  = 0.0001
  Prefactor  = 0.0001
  Prefactor  = 0.0001
  Prefactor  = 2.41878
  Prefactor  = 0.0001
  norm       = 13.8536
  Prefactor  = 6.30596
  norm       = 0.0001
  Prefactor  = 44.4747
  Prefactor  = 0.909989
  norm       = 0.0001
  norm       = 0.0001
  Prefactor  = 14.2193
  norm       = 0.221333
  Prefactor  = 13.7788
  Normalizat = 1.04939
  Prefactor  = 1.11106
 **********
 **   18 **HESSE 
 **********

 FCN=   11681.22     FROM HESSE     STATUS=OK           295 CALLS     2370 TOTAL
                     EDM=   .40E-07    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  Prefactor     18.831        19.677        .92293E-04   -1.4840    
   2  Prefactor     .10000E-03    4.7969        .36285E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   3  Prefactor     6.2192        5.0279        .80486E-03   -1.5209    
   4  Prefactor     .10000E-03    19.763        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   5  Prefactor     .10000E-03    7.6577        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   6  Prefactor     .10000E-03    65.050        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   7  Prefactor     2.4188        6.5171        .13159E-02   -1.5397    
   8  Prefactor     .10000E-03    20.320        .36285E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   9  norm          13.854        3.9584        .10761E-03   -1.4963    
  10  Prefactor     6.3060        9.5802        .15985E-03   -1.5206    
  11  norm          .10000E-03    5.3370        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  12  Prefactor     44.475        71.971        .60119E-04   -1.4373    
  13  Prefactor     .90999        2.5577        .26921E-03   -1.5517    
  14  norm          .10000E-03    5.5267        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  15  norm          .10000E-03    26.897        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  16  Prefactor     14.219        24.418        .10620E-03   -1.4954    
  17  norm          .22133        .77529        .13173E-02   -1.5614    
  18  Prefactor     13.779        10.325        .10791E-03   -1.4965    
  19  Normalizat    1.0494        .27378        .45258E-03   -.91394    
  20  Prefactor     1.1111        .10037        .15988E-03   -.89114    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 4.01465e-08
Minuit parameter uncertainties:
  1  19.6833
  2  9.15582e-07
  3  5.02828
  4  3.98883e-06
  5  2.42152e-07
  6  3.22415e-06
  7  6.51899
  8  6.3221e-05
  9  3.95847
  10  9.58258
  11  1.14346e-06
  12  72.1119
  13  2.55797
  14  1.00104e-05
  15  4.11682e-07
  16  24.4355
  17  0.775324
  18  10.3268
  19  0.27415
  20  0.100391
Done.

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

Extracting fit parameters...

4FGL J1719.2+1745
   Spectrum: LogParabola
271         norm:  1.385e+01  3.958e+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.111e+00  1.004e-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.049e+00  2.742e-01  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Fixed Index): 55.25
Ra Dec: 259.806 17.753
Photon Index (Fixed Index): 1.94 +/- 0.00
Photon Flux (Fixed Index): 1.33e-07 +/- 3.79e-08
Energy Flux (Fixed Index): 9.38e-05 +/- 2.68e-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) = 11680.470551
delta logL = 0.745244375987

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

MINUIT Return Code (Free Index): 0
logL (Free Index) = 11680.4703667
delta logL = 0.745428719069

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'norm      '    13.954       1.0000         .10000E-03   10000.    
     2 'alpha     '    1.6082       1.0000          .0000       5.0000    
     3 'Normalizat'    1.0893       1.0000         .10000E-01   10.000    
     4 'Prefactor '    1.1059       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=   11680.47     FROM MIGRAD    STATUS=CONVERGED     45 CALLS      211 TOTAL
                     EDM=   .48E-10    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  norm          13.954        4.5347        .26807E-02    .21768E-03
   2  alpha         1.6082        .25935        .26444       -.36494E-04
   3  Normalizat    1.0893        .23276        .10051        .43760E-04
   4  Prefactor     1.1059        .84017E-01    .37367E-01   -.88756E-05
                               ERR DEF=  .500    
Final values: 
  norm       = 13.9536
  alpha      = 1.60823
  Normalizat = 1.08931
  Prefactor  = 1.10589
 **********
 **   18 **HESSE 
 **********

 FCN=   11680.47     FROM HESSE     STATUS=OK            33 CALLS      244 TOTAL
                     EDM=   .11E-10    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  norm          13.954        4.3061        .10723E-03   -1.4961    
   2  alpha         1.6082        .26821        .10637E-01   -.36474    
   3  Normalizat    1.0893        .26732        .44537E-03   -.90096    
   4  Prefactor     1.1059        .97185E-01    .16027E-03   -.89279    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 1.11169e-11
Minuit parameter uncertainties:
  1  4.30616
  2  0.268806
  3  0.267648
  4  0.0972001
shell-init: error retrieving current directory: getcwd: cannot access parent directories: No such file or directory
rmdir: failed to remove `/scratch/kocevski/591022': 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) = 11680.4703667
delta logL = 0.745428720162

Extracting fit parameters...

4FGL J1719.2+1745
   Spectrum: LogParabola
271         norm:  1.395e+01  4.306e+00  1.000e-04  1.000e+04 ( 1.000e-12)
272        alpha:  1.608e+00  2.688e-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.106e+00  9.720e-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.089e+00  2.676e-01  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Free Index): 56.74
Ra Dec: 259.806 17.753
Photon Index (Free Index): 1.61 +/- 0.27
Photon Flux (Free Index): 9.27e-08 +/- 3.98e-08
Energy Flux (Free Index): 1.36e-04 +/- 6.32e-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/591022/cmap_HighResolution_242956801_243216001_4FGL_J1719.2+1745_daily_bin14.png

Cleaning up...

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

Updating database...

UPDATE lightcurve_data_v2 SET comment='SUCCESS', photon_flux='1.33e-07', energy_flux2='1.36e-04', photon_flux_error='3.79e-08', dlogl='7.45e-01', energy_flux='9.38e-05', photon_flux2='9.27e-08', job_status='DONE', time_completed='2021-09-17 04:10:45.447346', photon_index_error2='0.27', photon_index2='1.61', ts='55.25', fit_tolerance='1e-08', GAL='1.11', photon_index_error='0.00', energy_flux_error2='6.32e-05', EG='1.05', time_epoch_completed='1631877045.45', return_code='0', job_id='591022', GAL2='1.11', EG2='1.09', return_code2='0', energy_flux_error='2.68e-05', photon_flux_error2='3.98e-08', ts2='56.74', photon_index='1.94' WHERE bin_id='14' AND source_name='4FGL J1719.2+1745' AND cadence='daily';

Database successfully updated.


Analysis Complete.


Fri Sep 17 04:10:45 PDT 2021


------------------------------------------------------------
Sender: LSF System <lsf@bullet0042>
Subject: Job 591022: <4FGL_J1719.2+1745_daily_bin14> in cluster <slac> Done

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

Your job looked like:

------------------------------------------------------------
# LSBATCH: User input
/nfs/farm/g/glast/g/LCRepository/Likelihood/Scripts/LikelihoodAnalysis.py 4FGL_J1719.2+1745_daily_bin14 259.806 17.7533 242956801 243216001 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 :                                   802.17 sec.
    Max Memory :                                 1257 MB
    Average Memory :                             323.03 MB
    Total Requested Memory :                     -
    Delta Memory :                               -
    Max Swap :                                   -
    Max Processes :                              5
    Max Threads :                                21
    Run time :                                   922 sec.
    Turnaround time :                            924 sec.

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

