/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 5 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 = 7400
number of fields = 27
No RA_SUN column yet. Adding RA_SUN/DEC_SUN columns.
Done.


Performing analysis on: 4FGL_J1719.2+1745_daily_bin403
RA = 259.806, Dec = 17.7533
tmin = 343785601, tmax = 344044801
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='601740', job_status='RUN', time_executed='2021-09-17 04:40:46.958433', time_epoch_executed='1631878846.96' WHERE source_name='4FGL J1719.2+1745' and cadence='daily' and bin_id='403'

Database successfully updated.
Done.

Creating custom output directory:
/scratch/kocevski/601740

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

Retrieving the FT1 file...

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

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

Retrieving 46 files...
Done.


Merging files...

Checksum keywords updated successfully.

Merged file saved to:
/scratch/kocevski/601740/ft1_4FGL_J1719.2+1745_daily_bin403.fits


Retrieving the FT1 file...

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

Retrieving 46 files...
Done.


Merging files...

Merged file saved to:
/scratch/kocevski/601740/ft2_4FGL_J1719.2+1745_daily_bin403.fits


Selecting the photons:
time -p gtselect infile=/scratch/kocevski/601740/ft1_4FGL_J1719.2+1745_daily_bin403.fits outfile=/scratch/kocevski/601740/ft1_filteredMKT_4FGL_J1719.2+1745_daily_bin403.fits ra=259.806 dec=17.7533 rad=12.0 tmin=343785601.0 tmax=344044801.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 3.49
user 3.30
sys 0.18

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

Selecting the good time intervals:
time -p gtmktime scfile=/scratch/kocevski/601740/ft2_4FGL_J1719.2+1745_daily_bin403.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/601740/ft1_filteredMKT_4FGL_J1719.2+1745_daily_bin403.fits evtable="EVENTS" outfile="/scratch/kocevski/601740/ft1_filtered_4FGL_J1719.2+1745_daily_bin403.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.50
user 0.31
sys 0.16

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

Generating the exposure map:
time -p gtexpmap evfile=/scratch/kocevski/601740/ft1_filtered_4FGL_J1719.2+1745_daily_bin403.fits evtable="EVENTS" scfile=/scratch/kocevski/601740/ft2_4FGL_J1719.2+1745_daily_bin403.fits sctable="SC_DATA" expcube=/scratch/kocevski/601740/ltcube_343785601_344044801_4FGL_J1719.2+1745_daily_bin403.fits outfile=/scratch/kocevski/601740/expmap_343785601_344044801_4FGL_J1719.2+1745_daily_bin403.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/601740/ltcube_343785601_344044801_4FGL_J1719.2+1745_daily_bin403.fits
.....................!
real 190.06
user 185.05
sys 4.64

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/601740/ft1_filtered_4FGL_J1719.2+1745_daily_bin403.fits scfile=/scratch/kocevski/601740/ft2_4FGL_J1719.2+1745_daily_bin403.fits outfile=/scratch/kocevski/601740/cmap_343785601_344044801_4FGL_J1719.2+1745_daily_bin403.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/601740/ft1_filtered_4FGL_J1719.2+1745_daily_bin403.fits scfile=/scratch/kocevski/601740/ft2_4FGL_J1719.2+1745_daily_bin403.fits outfile=/scratch/kocevski/601740/cmap_HighResolution_343785601_344044801_4FGL_J1719.2+1745_daily_bin403.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.55
user 0.38
sys 0.15

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

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

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

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

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'Prefactor '    .10008E-03   1.0000         .10000E-03   10000.    
     2 'Prefactor '    .10011E-03   1.0000         .10000E-03   10000.    
     3 'Prefactor '    .22050       1.0000         .10000E-03   10000.    
     4 'Prefactor '    4.2948       1.0000         .10000E-03   10000.    
     5 'Prefactor '    .10000E-03   1.0000         .10000E-03   10000.    
     6 'Prefactor '    5.8847       1.0000         .10000E-03   10000.    
     7 'Prefactor '    16.268       1.0000         .10000E-03   10000.    
     8 'Prefactor '    7.0040       1.0000         .10000E-03   10000.    
     9 'norm      '    .10000E-03   1.0000         .10000E-03   10000.    
    10 'Prefactor '    .10000E-03   1.0000         .10000E-03   10000.    
    11 'norm      '    9.1239       1.0000         .10000E-03   10000.    
    12 'Prefactor '    .10027E-03   1.0000         .10000E-03   10000.    
    13 'Prefactor '    .10091E-03   1.0000         .10000E-03   10000.    
    14 'norm      '    12.325       1.0000         .10000E-03   10000.    
    15 'norm      '    107.64       1.0000         .10000E-03   10000.    
    16 'Prefactor '    .10338E-03   1.0000         .10000E-03   10000.    
    17 'norm      '    .89975       1.0000         .10000E-03   10000.    
    18 'Prefactor '    .10000E-03   1.0000         .10000E-03   10000.    
    19 'Normalizat'    1.5454       1.0000         .10000E-01   10.000    
    20 'Prefactor '    .80574       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=   9447.300     FROM MIGRAD    STATUS=CONVERGED    423 CALLS     1805 TOTAL
                     EDM=   .18E-08  STRATEGY=1  ERROR MATRIX UNCERTAINTY=   .3%

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor     .10000E-03    20.514        .83763E-06** at limit **
   2  Prefactor     .10000E-03    3.3881       -.20052E-07** at limit **
   3  Prefactor     .21390        4.5315       -.34533E-05    .14171E-02
   4  Prefactor     4.2886        61.087       -.42886E-05   -.14412E-04
   5  Prefactor     .10000E-03    11.509        .13354E-06** at limit **
   6  Prefactor     5.8850        140.17        .16758E-06    .11493E-04
   7  Prefactor     16.268        9.5228       -.43753E-06    .34671E-03
   8  Prefactor     7.0037        10.622       -.48241E-06   -.57942E-04
   9  norm          .10000E-03    1.0287        .28595E-07** at limit **
  10  Prefactor     .10000E-03    5.3003       -.99592E-07** at limit **
  11  norm          9.1248        7.6669        .60078E-05    .53877E-04
  12  Prefactor     .10000E-03    86.590        .71696E-05** at limit **
  13  Prefactor     .10000E-03    2.1099       -.39604E-06** at limit **
  14  norm          12.328        12.892        .23302E-05   -.50095E-04
  15  norm          107.64        79.966       -.81725E-06    .50704E-06
  16  Prefactor     .10000E-03    149.09       -.13010E-04** at limit **
  17  norm          .89974        .88250       -.15038E-06   -.14830E-02
  18  Prefactor     .10000E-03    2.0670        .13729E-07** at limit **
  19  Normalizat    1.5455        .24096        .11472E-05    .20379E-03
  20  Prefactor     .80573        .82700E-01   -.37070E-06    .62928E-03
                               ERR DEF=  .500    
Final values: 
  Prefactor  = 0.0001
  Prefactor  = 0.0001
  Prefactor  = 0.213904
  Prefactor  = 4.28855
  Prefactor  = 0.0001
  Prefactor  = 5.88498
  Prefactor  = 16.2677
  Prefactor  = 7.00365
  norm       = 0.0001
  Prefactor  = 0.0001
  norm       = 9.12479
  Prefactor  = 0.0001
  Prefactor  = 0.0001
  norm       = 12.3277
  norm       = 107.64
  Prefactor  = 0.0001
  norm       = 0.899741
  Prefactor  = 0.0001
  Normalizat = 1.54545
  Prefactor  = 0.805729
 **********
 **   18 **HESSE 
 **********

 FCN=   9447.300     FROM HESSE     STATUS=OK           293 CALLS     2098 TOTAL
                     EDM=   .29E-07    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  Prefactor     .10000E-03    20.703        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   2  Prefactor     .10000E-03    3.4110        .17455E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   3  Prefactor     .21390        32.230        .37287E-02   -1.5615    
   4  Prefactor     4.2886        61.691        .19440E-03   -1.5294    
   5  Prefactor     .10000E-03    11.512        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   6  Prefactor     5.8850        139.69        .16554E-03   -1.5223    
   7  Prefactor     16.268        9.4943        .99300E-04   -1.4901    
   8  Prefactor     7.0037        10.623        .15159E-03   -1.5179    
   9  norm          .10000E-03    1.0354        .96249E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  10  Prefactor     .10000E-03    5.3163        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  11  norm          9.1248        7.7364        .13269E-03   -1.5104    
  12  Prefactor     .10000E-03    86.580        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  13  Prefactor     .10000E-03    2.2046        .27572E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  14  norm          12.328        12.899        .11410E-03   -1.5006    
  15  norm          107.64        79.987        .38764E-04   -1.3629    
  16  Prefactor     .10000E-03    150.05        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  17  norm          .89974        .81354        .87033E-03   -1.5518    
  18  Prefactor     .10000E-03    2.0688        .13647E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  19  Normalizat    1.5455        .29161        .36389E-03   -.76509    
  20  Prefactor     .80573        .10041        .16658E-03   -.99518    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 2.90802e-08
Minuit parameter uncertainties:
  1  5.83188e-06
  2  5.11546e-06
  3  5.25295
  4  32.571
  5  5.86851e-07
  6  57.4945
  7  9.49522
  8  10.626
  9  1.50143e-07
  10  2.72557e-05
  11  7.73723
  12  0.000269992
  13  5.68074e-05
  14  12.9016
  15  80.067
  16  3.9522e-05
  17  0.813545
  18  1.06482e-07
  19  0.291931
  20  0.100436
Done.

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

Extracting fit parameters...

4FGL J1719.2+1745
   Spectrum: LogParabola
271         norm:  1.000e-04  1.501e-07  1.000e-04  1.000e+04 ( 1.000e-12)
272        alpha:  1.940e+00  0.000e+00  0.000e+00  5.000e+00 ( 1.000e+00) fixed
273         beta:  9.472e-02  0.000e+00  0.000e+00  1.000e+01 ( 1.000e+00) fixed
274           Eb:  1.170e+03  0.000e+00  3.000e+01  5.000e+05 ( 1.000e+00) fixed

GAL_V02
   Spectrum: PowerLaw
631    Prefactor:  8.057e-01  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.545e+00  2.919e-01  1.000e-02  1.000e+01 ( 1.000e+00)


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

Saving results to:
/scratch/kocevski/601740/likelihoodResults_343785601_344044801_4FGL_J1719.2+1745_daily_bin403.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): 102
logL (Free Index) = 9447.30493572
delta logL = -0.00458106918995

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

MINUIT Return Code (Free Index): 0
logL (Free Index) = 9446.88693237
delta logL = 0.413422283042

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'norm      '    .18868E-01   1.0000         .10000E-03   10000.    
     2 'alpha     '    5.0000       1.0000          .0000       5.0000    
     3 'Normalizat'    1.4647       1.0000         .10000E-01   10.000    
     4 'Prefactor '    .82238       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=   9446.887     FROM MIGRAD    STATUS=CONVERGED    104 CALLS      350 TOTAL
                     EDM=   .95E-08    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  norm          .18863E-01    .26353E-01    .15441E-03    .47300E-01
   2  alpha         5.0000        3.3484        .50000    ** at limit **
   3  Normalizat    1.4649        .29855        .37194E-03   -.31177E-05
   4  Prefactor     .82230        .99959E-01    .16502E-03    .36375E-04
                               ERR DEF=  .500    
Final values: 
  norm       = 0.0188626
  alpha      = 5
  Normalizat = 1.46491
  Prefactor  = 0.822297
 **********
 **   18 **HESSE 
 **********

 FCN=   9446.887     FROM HESSE     STATUS=OK            31 CALLS      381 TOTAL
                     EDM=   .12E-09    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  norm          .18863E-01    .25212E-01    .30882E-04   -1.5681    
   2  alpha         5.0000        3.2875        .50000        1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   3  Normalizat    1.4649        .29938        .14878E-04   -.78769    
   4  Prefactor     .82230        .10013        .66008E-05   -.98912    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 1.16004e-10
Minuit parameter uncertainties:
  1  0.0252118
  2  0.000117105
  3  0.299739
  4  0.100152
shell-init: error retrieving current directory: getcwd: cannot access parent directories: No such file or directory
rmdir: failed to remove `/scratch/kocevski/601740': 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) = 9446.88692981
delta logL = 0.413424844219

Extracting fit parameters...

4FGL J1719.2+1745
   Spectrum: LogParabola
271         norm:  1.886e-02  2.521e-02  1.000e-04  1.000e+04 ( 1.000e-12)
272        alpha:  5.000e+00  1.171e-04  0.000e+00  5.000e+00 ( 1.000e+00)
273         beta:  9.472e-02  0.000e+00  0.000e+00  1.000e+01 ( 1.000e+00) fixed
274           Eb:  1.170e+03  0.000e+00  3.000e+01  5.000e+05 ( 1.000e+00) fixed

GAL_V02
   Spectrum: PowerLaw
631    Prefactor:  8.223e-01  1.002e-01  0.000e+00  1.000e+01 ( 1.000e+00)
632        Index:  0.000e+00  0.000e+00 -1.000e+00  1.000e+00 ( 1.000e+00) fixed
633        Scale:  1.000e+02  0.000e+00  5.000e+01  2.000e+02 ( 1.000e+00) fixed

EG_v02
   Spectrum: FileFunction
630   Normalization:  1.465e+00  2.997e-01  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Free Index): -0.00
Ra Dec: 259.806 17.753

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/601740/cmap_HighResolution_343785601_344044801_4FGL_J1719.2+1745_daily_bin403.png

Cleaning up...

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

Updating database...

UPDATE lightcurve_data_v2 SET energy_flux_upper_limit='3.44e-05', job_status='DONE', photon_flux_upper_limit='4.86e-08', time_completed='2021-09-17 04:53:28.041032', job_id='601740', GAL2='0.82', fit_tolerance='1e-08', EG2='1.46', EG='1.55', time_epoch_completed='1631879608.04', return_code2='0', ts='-0.00', comment='SUCCESS', return_code='0', GAL='0.81', dlogl='4.13e-01', ts2='0.89', photon_index_error='0.00', photon_index='1.94' WHERE bin_id='403' AND source_name='4FGL J1719.2+1745' AND cadence='daily';

Database successfully updated.


Analysis Complete.


Fri Sep 17 04:53:28 PDT 2021


------------------------------------------------------------
Sender: LSF System <lsf@bullet0222>
Subject: Job 601740: <4FGL_J1719.2+1745_daily_bin403> in cluster <slac> Done

Job <4FGL_J1719.2+1745_daily_bin403> was submitted from host <rhel6-64d> by user <kocevski> in cluster <slac> at Fri Sep 17 04:40:32 2021
Job was executed on host(s) <bullet0222>, in queue <medium>, as user <kocevski> in cluster <slac> at Fri Sep 17 04:40:34 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:40:34 2021
Terminated at Fri Sep 17 04:53:28 2021
Results reported at Fri Sep 17 04:53:28 2021

Your job looked like:

------------------------------------------------------------
# LSBATCH: User input
/nfs/farm/g/glast/g/LCRepository/Likelihood/Scripts/LikelihoodAnalysis.py 4FGL_J1719.2+1745_daily_bin403 259.806 17.7533 343785601 344044801 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 :                                   758.00 sec.
    Max Memory :                                 1257 MB
    Average Memory :                             339.81 MB
    Total Requested Memory :                     -
    Delta Memory :                               -
    Max Swap :                                   -
    Max Processes :                              5
    Max Threads :                                21
    Run time :                                   774 sec.
    Turnaround time :                            776 sec.

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

