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


Performing analysis on: 4FGL_J1719.2+1745_daily_bin315
RA = 259.806, Dec = 17.7533
tmin = 320976001, tmax = 321235201
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='600441', job_status='RUN', time_executed='2021-09-17 04:35:39.488290', time_epoch_executed='1631878539.49' WHERE source_name='4FGL J1719.2+1745' and cadence='daily' and bin_id='315'

Database successfully updated.
Done.

Creating custom output directory:
/scratch/kocevski/600441

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

Retrieving the FT1 file...

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

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

Retrieving 46 files...
Done.


Merging files...

Checksum keywords updated successfully.

Merged file saved to:
/scratch/kocevski/600441/ft1_4FGL_J1719.2+1745_daily_bin315.fits


Retrieving the FT1 file...

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

Retrieving 46 files...
Done.


Merging files...

Merged file saved to:
/scratch/kocevski/600441/ft2_4FGL_J1719.2+1745_daily_bin315.fits


Selecting the photons:
time -p gtselect infile=/scratch/kocevski/600441/ft1_4FGL_J1719.2+1745_daily_bin315.fits outfile=/scratch/kocevski/600441/ft1_filteredMKT_4FGL_J1719.2+1745_daily_bin315.fits ra=259.806 dec=17.7533 rad=12.0 tmin=320976001.0 tmax=321235201.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.51
user 3.27
sys 0.21

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

Selecting the good time intervals:
time -p gtmktime scfile=/scratch/kocevski/600441/ft2_4FGL_J1719.2+1745_daily_bin315.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/600441/ft1_filteredMKT_4FGL_J1719.2+1745_daily_bin315.fits evtable="EVENTS" outfile="/scratch/kocevski/600441/ft1_filtered_4FGL_J1719.2+1745_daily_bin315.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/600441/ft1_filtered_4FGL_J1719.2+1745_daily_bin315.fits" evtable="EVENTS" scfile=/scratch/kocevski/600441/ft2_4FGL_J1719.2+1745_daily_bin315.fits sctable="SC_DATA" outfile=/scratch/kocevski/600441/ltcube_320976001_321235201_4FGL_J1719.2+1745_daily_bin315.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/600441/ft2_4FGL_J1719.2+1745_daily_bin315.fits
.....................!
real 11.86
user 11.53
sys 0.30

Generating the exposure map:
time -p gtexpmap evfile=/scratch/kocevski/600441/ft1_filtered_4FGL_J1719.2+1745_daily_bin315.fits evtable="EVENTS" scfile=/scratch/kocevski/600441/ft2_4FGL_J1719.2+1745_daily_bin315.fits sctable="SC_DATA" expcube=/scratch/kocevski/600441/ltcube_320976001_321235201_4FGL_J1719.2+1745_daily_bin315.fits outfile=/scratch/kocevski/600441/expmap_320976001_321235201_4FGL_J1719.2+1745_daily_bin315.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/600441/ltcube_320976001_321235201_4FGL_J1719.2+1745_daily_bin315.fits
.....................!
real 191.63
user 186.33
sys 4.97

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/600441/ft1_filtered_4FGL_J1719.2+1745_daily_bin315.fits scfile=/scratch/kocevski/600441/ft2_4FGL_J1719.2+1745_daily_bin315.fits outfile=/scratch/kocevski/600441/cmap_320976001_321235201_4FGL_J1719.2+1745_daily_bin315.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.37
sys 0.16

Creating the high resolution counts map:
time -p gtbin evfile=/scratch/kocevski/600441/ft1_filtered_4FGL_J1719.2+1745_daily_bin315.fits scfile=/scratch/kocevski/600441/ft2_4FGL_J1719.2+1745_daily_bin315.fits outfile=/scratch/kocevski/600441/cmap_HighResolution_320976001_321235201_4FGL_J1719.2+1745_daily_bin315.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.15

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

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

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

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

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'Prefactor '    .10136E-03   1.0000         .10000E-03   10000.    
     2 'Prefactor '    3.1506       1.0000         .10000E-03   10000.    
     3 'Prefactor '    .10053E-03   1.0000         .10000E-03   10000.    
     4 'Prefactor '    9.4284       1.0000         .10000E-03   10000.    
     5 'Prefactor '    .10037E-03   1.0000         .10000E-03   10000.    
     6 'Prefactor '    .24548E-03   1.0000         .10000E-03   10000.    
     7 'Prefactor '    10.093       1.0000         .10000E-03   10000.    
     8 'Prefactor '    7.9341       1.0000         .10000E-03   10000.    
     9 'norm      '    .86491       1.0000         .10000E-03   10000.    
    10 'Prefactor '    5.6298       1.0000         .10000E-03   10000.    
    11 'norm      '    20.681       1.0000         .10000E-03   10000.    
    12 'Prefactor '    140.11       1.0000         .10000E-03   10000.    
    13 'Prefactor '    .10340E-02   1.0000         .10000E-03   10000.    
    14 'norm      '    .12143E-03   1.0000         .10000E-03   10000.    
    15 'norm      '    43.389       1.0000         .10000E-03   10000.    
    16 'Prefactor '    .10008E-03   1.0000         .10000E-03   10000.    
    17 'norm      '    3.5985       1.0000         .10000E-03   10000.    
    18 'Prefactor '    .10220E-03   1.0000         .10000E-03   10000.    
    19 'Normalizat'    1.0491       1.0000         .10000E-01   10.000    
    20 'Prefactor '    .99563       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=   9458.482     FROM MIGRAD    STATUS=CONVERGED    428 CALLS     2055 TOTAL
                     EDM=   .13E-09  STRATEGY=1  ERROR MATRIX UNCERTAINTY=   .5%

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor     .10000E-03    33.988       -.68921E-06** at limit **
   2  Prefactor     3.1499        5.6909        .53256E-06   -.26308E-04
   3  Prefactor     .10000E-03    3.3544       -.84332E-07** at limit **
   4  Prefactor     9.4287        17.088        .57703E-07   -.61311E-05
   5  Prefactor     .10000E-03    36.482       -.13571E-07** at limit **
   6  Prefactor     .10000E-03    287.54       -.17309E-05** at limit **
   7  Prefactor     10.099        10.334       -.13892E-06   -.71158E-04
   8  Prefactor     7.9359        11.713       -.38855E-07   -.40321E-04
   9  norm          .86422        2.5632        .13144E-05   -.33043E-04
  10  Prefactor     5.6202        13.986        .62236E-05   -.77424E-04
  11  norm          20.675        13.430       -.54560E-06    .17292E-04
  12  Prefactor     140.24        105.17       -.90795E-07    .12778E-03
  13  Prefactor     .10000E-03    1.3672       -.13054E-06** at limit **
  14  norm          .10000E-03    12.791        .23239E-05** at limit **
  15  norm          43.384        56.116        .12522E-06   -.84847E-05
  16  Prefactor     .10000E-03    31.246       -.34994E-07** at limit **
  17  norm          3.5983        1.1863        .34175E-07   -.86046E-04
  18  Prefactor     .10000E-03    13.263       -.24266E-06** at limit **
  19  Normalizat    1.0491        .24279        .71593E-06   -.79558E-04
  20  Prefactor     .99563        .89278E-01   -.80684E-06    .10396E-03
                               ERR DEF=  .500    
Final values: 
  Prefactor  = 0.0001
  Prefactor  = 3.14991
  Prefactor  = 0.0001
  Prefactor  = 9.42874
  Prefactor  = 0.0001
  Prefactor  = 0.0001
  Prefactor  = 10.0989
  Prefactor  = 7.93588
  norm       = 0.864219
  Prefactor  = 5.6202
  norm       = 20.6752
  Prefactor  = 140.241
  Prefactor  = 0.000100001
  norm       = 0.0001
  norm       = 43.3842
  Prefactor  = 0.0001
  norm       = 3.59832
  Prefactor  = 0.0001
  Normalizat = 1.04908
  Prefactor  = 0.995628
 **********
 **   18 **HESSE 
 **********

 FCN=   9458.482     FROM HESSE     STATUS=OK           291 CALLS     2346 TOTAL
                     EDM=   .42E-09    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  Prefactor     .10000E-03    34.730        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   2  Prefactor     3.1499        5.6844        .22836E-03   -1.5353    
   3  Prefactor     .10000E-03    3.3706        .17391E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   4  Prefactor     9.4287        17.068        .13052E-03   -1.5094    
   5  Prefactor     .10000E-03    36.618        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   6  Prefactor     .10000E-03    289.73        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   7  Prefactor     10.099        10.316        .12613E-03   -1.5072    
   8  Prefactor     7.9359        11.688        .14235E-03   -1.5144    
   9  norm          .86422        2.5333        .25813E-03   -1.5522    
  10  Prefactor     5.6202        13.965        .84653E-03   -1.5234    
  11  norm          20.675        13.034        .88075E-04   -1.4798    
  12  Prefactor     140.24        104.44        .17016E-03   -1.3334    
  13  Prefactor     .10000E-03    7.9308        .20879E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  14  norm          .10000E-03    12.977        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  15  norm          43.384        56.137        .60862E-04   -1.4390    
  16  Prefactor     .10000E-03    31.280        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  17  norm          3.5983        1.1896        .58617E-04   -1.5329    
  18  Prefactor     .10000E-03    13.609        .36285E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  19  Normalizat    1.0491        .28455        .42772E-03   -.91404    
  20  Prefactor     .99563        .10531        .15895E-03   -.92875    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 4.19156e-10
Minuit parameter uncertainties:
  1  6.87618e-05
  2  5.68538
  3  2.17839e-06
  4  17.0766
  5  7.42698e-05
  6  0.000522438
  7  10.3176
  8  11.6916
  9  2.53361
  10  13.9728
  11  13.0358
  12  104.579
  13  0.000180677
  14  4.47653e-05
  15  56.2053
  16  2.81887e-05
  17  1.18959
  18  2.84362e-05
  19  0.284964
  20  0.10533
Done.

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

Extracting fit parameters...

4FGL J1719.2+1745
   Spectrum: LogParabola
271         norm:  8.642e-01  2.534e+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:  9.956e-01  1.053e-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.850e-01  1.000e-02  1.000e+01 ( 1.000e+00)


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

Saving results to:
/scratch/kocevski/600441/likelihoodResults_320976001_321235201_4FGL_J1719.2+1745_daily_bin315.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) = 9458.429216
delta logL = 0.0525357839579

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

MINUIT Return Code (Free Index): 0
logL (Free Index) = 9458.42873056
delta logL = 0.0530212253107

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'norm      '    .90533       1.0000         .10000E-03   10000.    
     2 'alpha     '    2.3803       1.0000          .0000       5.0000    
     3 'Normalizat'    1.0425       1.0000         .10000E-01   10.000    
     4 'Prefactor '    .99602       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=   9458.429     FROM MIGRAD    STATUS=CONVERGED     49 CALLS      205 TOTAL
                     EDM=   .19E-07    STRATEGY= 1      ERR MATRIX NOT POS-DEF

  EXT PARAMETER                APPROXIMATE        STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  norm          .90583        63.606        .12827E-01    .16425E-02
   2  alpha         2.3811        2.9859        .41211        .47667E-04
   3  Normalizat    1.0425        .51685E-01    .96810E-01    .37862E-04
   4  Prefactor     .99601        .18465E-01    .46217E-01    .20374E-05
                               ERR DEF=  .500    
Final values: 
  norm       = 0.90583
  alpha      = 2.38113
  Normalizat = 1.0425
  Prefactor  = 0.996014
 **********
 **   18 **HESSE 
 **********

 FCN=   9458.429     FROM HESSE     STATUS=OK            33 CALLS      238 TOTAL
                     EDM=   .55E-10    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  norm          .90583        2.4225        .19749E-03   -1.5518    
   2  alpha         2.3811        1.3786        .32672E-01   -.47567E-01
   3  Normalizat    1.0425        .27899        .42891E-03   -.91620    
   4  Prefactor     .99601        .10184        .15892E-03   -.92863    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 5.54186e-11
Minuit parameter uncertainties:
  1  2.42276
  2  1.46042
  3  0.279378
  4  0.101861
shell-init: error retrieving current directory: getcwd: cannot access parent directories: No such file or directory
rmdir: failed to remove `/scratch/kocevski/600441': 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) = 9458.42873017
delta logL = 0.0530216089701

Extracting fit parameters...

4FGL J1719.2+1745
   Spectrum: LogParabola
271         norm:  9.058e-01  2.423e+00  1.000e-04  1.000e+04 ( 1.000e-12)
272        alpha:  2.381e+00  1.460e+00  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:  9.960e-01  1.019e-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.043e+00  2.794e-01  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Free Index): 0.14
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/600441/cmap_HighResolution_320976001_321235201_4FGL_J1719.2+1745_daily_bin315.png

Cleaning up...

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

Updating database...

UPDATE lightcurve_data_v2 SET energy_flux_upper_limit='5.27e-05', job_status='DONE', photon_flux_upper_limit='7.46e-08', time_completed='2021-09-17 04:48:44.693094', job_id='600441', GAL2='1.00', fit_tolerance='1e-08', EG2='1.04', EG='1.05', time_epoch_completed='1631879324.69', return_code2='0', ts='0.14', comment='SUCCESS', return_code='0', GAL='1.00', dlogl='5.30e-02', ts2='0.24', photon_index_error='0.00', photon_index='1.94' WHERE bin_id='315' AND source_name='4FGL J1719.2+1745' AND cadence='daily';

Database successfully updated.


Analysis Complete.


Fri Sep 17 04:48:44 PDT 2021


------------------------------------------------------------
Sender: LSF System <lsf@bullet0077>
Subject: Job 600441: <4FGL_J1719.2+1745_daily_bin315> in cluster <slac> Done

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

Your job looked like:

------------------------------------------------------------
# LSBATCH: User input
/nfs/farm/g/glast/g/LCRepository/Likelihood/Scripts/LikelihoodAnalysis.py 4FGL_J1719.2+1745_daily_bin315 259.806 17.7533 320976001 321235201 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.00 sec.
    Max Memory :                                 1094 MB
    Average Memory :                             332.85 MB
    Total Requested Memory :                     -
    Delta Memory :                               -
    Max Swap :                                   -
    Max Processes :                              5
    Max Threads :                                21
    Run time :                                   803 sec.
    Turnaround time :                            806 sec.

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

