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


Performing analysis on: 4FGL_J1719.2+1745_daily_bin907
RA = 259.806, Dec = 17.7533
tmin = 474422401, tmax = 474681601
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='609430', job_status='RUN', time_executed='2021-09-17 05:10:35.693771', time_epoch_executed='1631880635.69' WHERE source_name='4FGL J1719.2+1745' and cadence='daily' and bin_id='907'

Database successfully updated.
Done.

Creating custom output directory:
/scratch/kocevski/609430

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

Retrieving the FT1 file...

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

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

Retrieving 46 files...
Done.


Merging files...

Checksum keywords updated successfully.

Merged file saved to:
/scratch/kocevski/609430/ft1_4FGL_J1719.2+1745_daily_bin907.fits


Retrieving the FT1 file...

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

Retrieving 46 files...
Done.


Merging files...

Merged file saved to:
/scratch/kocevski/609430/ft2_4FGL_J1719.2+1745_daily_bin907.fits


Selecting the photons:
time -p gtselect infile=/scratch/kocevski/609430/ft1_4FGL_J1719.2+1745_daily_bin907.fits outfile=/scratch/kocevski/609430/ft1_filteredMKT_4FGL_J1719.2+1745_daily_bin907.fits ra=259.806 dec=17.7533 rad=12.0 tmin=474422401.0 tmax=474681601.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.41
user 3.18
sys 0.22

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

Selecting the good time intervals:
time -p gtmktime scfile=/scratch/kocevski/609430/ft2_4FGL_J1719.2+1745_daily_bin907.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/609430/ft1_filteredMKT_4FGL_J1719.2+1745_daily_bin907.fits evtable="EVENTS" outfile="/scratch/kocevski/609430/ft1_filtered_4FGL_J1719.2+1745_daily_bin907.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/609430/ft1_filtered_4FGL_J1719.2+1745_daily_bin907.fits" evtable="EVENTS" scfile=/scratch/kocevski/609430/ft2_4FGL_J1719.2+1745_daily_bin907.fits sctable="SC_DATA" outfile=/scratch/kocevski/609430/ltcube_474422401_474681601_4FGL_J1719.2+1745_daily_bin907.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/609430/ft2_4FGL_J1719.2+1745_daily_bin907.fits
.....................!
real 12.06
user 11.71
sys 0.32

Generating the exposure map:
time -p gtexpmap evfile=/scratch/kocevski/609430/ft1_filtered_4FGL_J1719.2+1745_daily_bin907.fits evtable="EVENTS" scfile=/scratch/kocevski/609430/ft2_4FGL_J1719.2+1745_daily_bin907.fits sctable="SC_DATA" expcube=/scratch/kocevski/609430/ltcube_474422401_474681601_4FGL_J1719.2+1745_daily_bin907.fits outfile=/scratch/kocevski/609430/expmap_474422401_474681601_4FGL_J1719.2+1745_daily_bin907.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/609430/ltcube_474422401_474681601_4FGL_J1719.2+1745_daily_bin907.fits
.....................!
real 190.37
user 185.40
sys 4.59

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/609430/ft1_filtered_4FGL_J1719.2+1745_daily_bin907.fits scfile=/scratch/kocevski/609430/ft2_4FGL_J1719.2+1745_daily_bin907.fits outfile=/scratch/kocevski/609430/cmap_474422401_474681601_4FGL_J1719.2+1745_daily_bin907.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.38
sys 0.14

Creating the high resolution counts map:
time -p gtbin evfile=/scratch/kocevski/609430/ft1_filtered_4FGL_J1719.2+1745_daily_bin907.fits scfile=/scratch/kocevski/609430/ft2_4FGL_J1719.2+1745_daily_bin907.fits outfile=/scratch/kocevski/609430/cmap_HighResolution_474422401_474681601_4FGL_J1719.2+1745_daily_bin907.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.39
sys 0.15

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

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

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

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

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'Prefactor '    .10004E-03   1.0000         .10000E-03   10000.    
     2 'Prefactor '    .98971       1.0000         .10000E-03   10000.    
     3 'Prefactor '    .27947E-02   1.0000         .10000E-03   10000.    
     4 'Prefactor '    .13486E-03   1.0000         .10000E-03   10000.    
     5 'Prefactor '    .10181E-03   1.0000         .10000E-03   10000.    
     6 'Prefactor '    .18070E-03   1.0000         .10000E-03   10000.    
     7 'Prefactor '    9.9834       1.0000         .10000E-03   10000.    
     8 'Prefactor '    .10001E-03   1.0000         .10000E-03   10000.    
     9 'norm      '    6.9841       1.0000         .10000E-03   10000.    
    10 'Prefactor '    24.223       1.0000         .10000E-03   10000.    
    11 'norm      '    36.850       1.0000         .10000E-03   10000.    
    12 'Prefactor '    .10021E-03   1.0000         .10000E-03   10000.    
    13 'Prefactor '    5.7980       1.0000         .10000E-03   10000.    
    14 'norm      '    .10102E-03   1.0000         .10000E-03   10000.    
    15 'norm      '    .11183E-03   1.0000         .10000E-03   10000.    
    16 'Prefactor '    .10019E-03   1.0000         .10000E-03   10000.    
    17 'norm      '    1.3355       1.0000         .10000E-03   10000.    
    18 'Prefactor '    .10005E-03   1.0000         .10000E-03   10000.    
    19 'Normalizat'    1.2618       1.0000         .10000E-01   10.000    
    20 'Prefactor '    .89919       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=   9677.526     FROM MIGRAD    STATUS=CONVERGED    446 CALLS     1806 TOTAL
                     EDM=   .12E-09  STRATEGY=1  ERROR MATRIX UNCERTAINTY=  3.7%

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor     .10000E-03    6.3337       -.14459E-09** at limit **
   2  Prefactor     .98035        3.5269       -.50566E-06    .42176E-03
   3  Prefactor     .10000E-03    24.577       -.19941E-05** at limit **
   4  Prefactor     .10016E-03    27.729       -.17668E-05** at limit **
   5  Prefactor     .10000E-03    13.149        .12775E-06** at limit **
   6  Prefactor     .10000E-03    29.214       -.25233E-06** at limit **
   7  Prefactor     9.9739        7.6580       -.45639E-06    .27219E-04
   8  Prefactor     .10000E-03    8.0146       -.80446E-07** at limit **
   9  norm          6.9821        4.2568       -.61025E-06    .18047E-04
  10  Prefactor     24.222        15.543       -.19056E-06    .14774E-04
  11  norm          36.852        15.218        .28980E-06    .16068E-04
  12  Prefactor     .10000E-03    29.997       -.16670E-05** at limit **
  13  Prefactor     5.7975        3.5377       -.53719E-06   -.49697E-05
  14  norm          .10000E-03    5.3543       -.94680E-07** at limit **
  15  norm          .10000E-03    27.647        .15653E-05** at limit **
  16  Prefactor     .10000E-03    17.506       -.90061E-06** at limit **
  17  norm          1.3353        .77292       -.79209E-07   -.15328E-04
  18  Prefactor     .10000E-03    2.1853       -.93709E-07** at limit **
  19  Normalizat    1.2620        .23549        .10213E-05    .18269E-03
  20  Prefactor     .89924        .83681E-01    .33505E-06    .31280E-03
                               ERR DEF=  .500    
Final values: 
  Prefactor  = 0.0001
  Prefactor  = 0.980349
  Prefactor  = 0.0001
  Prefactor  = 0.000100159
  Prefactor  = 0.0001
  Prefactor  = 0.0001
  Prefactor  = 9.97386
  Prefactor  = 0.0001
  norm       = 6.98207
  Prefactor  = 24.2218
  norm       = 36.8525
  Prefactor  = 0.0001
  Prefactor  = 5.79751
  norm       = 0.0001
  norm       = 0.0001
  Prefactor  = 0.0001
  norm       = 1.3353
  Prefactor  = 0.0001
  Normalizat = 1.26198
  Prefactor  = 0.899235
 **********
 **   18 **HESSE 
 **********

 FCN=   9677.526     FROM HESSE     STATUS=OK           303 CALLS     2109 TOTAL
                     EDM=   .88E-09    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  Prefactor     .10000E-03    6.3441        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   2  Prefactor     .98035        9.1750        .29753E-02   -1.5510    
   3  Prefactor     .10000E-03    24.868        .36889E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   4  Prefactor     .10016E-03    21.864        .12492       -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   5  Prefactor     .10000E-03    13.166        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   6  Prefactor     .10000E-03    29.239        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   7  Prefactor     9.9739        7.6256        .12682E-03   -1.5076    
   8  Prefactor     .10000E-03    8.0878        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   9  norm          6.9821        4.2506        .15127E-03   -1.5179    
  10  Prefactor     24.222        15.528        .81389E-04   -1.4723    
  11  norm          36.852        15.226        .66022E-04   -1.4493    
  12  Prefactor     .10000E-03    30.113        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  13  Prefactor     5.7975        3.5312        .13113E-03   -1.5226    
  14  norm          .10000E-03    5.4200        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  15  norm          .10000E-03    27.751        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  16  Prefactor     .10000E-03    17.551        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  17  norm          1.3353        .77070        .63781E-04   -1.5477    
  18  Prefactor     .10000E-03    2.1919        .14205E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  19  Normalizat    1.2620        .28381        .38492E-03   -.84709    
  20  Prefactor     .89924        .10116        .16318E-03   -.96168    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 8.77695e-10
Minuit parameter uncertainties:
  1  1.13731e-06
  2  5.99914
  3  9.83084e-05
  4  0.00373456
  5  1.46378e-06
  6  1.59822e-05
  7  7.62632
  8  4.34103e-07
  9  4.25081
  10  15.531
  11  15.228
  12  8.23511e-05
  13  3.53131
  14  2.21529e-06
  15  7.45228e-05
  16  3.78248e-05
  17  0.770704
  18  2.026e-06
  19  0.284163
  20  0.101182
Done.

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

Extracting fit parameters...

4FGL J1719.2+1745
   Spectrum: LogParabola
271         norm:  6.982e+00  4.251e+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:  8.992e-01  1.012e-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.262e+00  2.842e-01  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Fixed Index): 3.81
Ra Dec: 259.806 17.753
Photon Index (Fixed Index): 1.94 +/- 0.00
Photon Flux (Fixed Index): 6.68e-08 +/- 4.07e-08
Energy Flux (Fixed Index): 4.73e-05 +/- 2.88e-05

TS (Fixed Index): 3.81
Ra Dec: 259.806 17.753
Photon Flux Upper Limit: 1.47e-07 ph cm-2 s-1
Energy Flux Upper Limit: 1.04e-04 MeV cm-2 s-1

Saving results to:
/scratch/kocevski/609430/likelihoodResults_474422401_474681601_4FGL_J1719.2+1745_daily_bin907.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) = 9674.63088708
delta logL = 2.89548130775

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

MINUIT Return Code (Free Index): 0
logL (Free Index) = 9674.62576139
delta logL = 2.90060699507

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'norm      '    3.2582       1.0000         .10000E-03   10000.    
     2 'alpha     '    2.9537       1.0000          .0000       5.0000    
     3 'Normalizat'    1.1563       1.0000         .10000E-01   10.000    
     4 'Prefactor '    .91805       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=   9674.626     FROM MIGRAD    STATUS=CONVERGED     51 CALLS      272 TOTAL
                     EDM=   .29E-08    STRATEGY= 1      ERR MATRIX NOT POS-DEF

  EXT PARAMETER                APPROXIMATE        STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  norm          3.2582        17.937        .56091E-02    .19218E-02
   2  alpha         2.9537        2.0401        .18976        .11260E-03
   3  Normalizat    1.1563        .10012        .90014E-01    .15935E-04
   4  Prefactor     .91806        .34119E-01    .45235E-01   -.29746E-04
                               ERR DEF=  .500    
Final values: 
  norm       = 3.25823
  alpha      = 2.95371
  Normalizat = 1.15628
  Prefactor  = 0.918061
 **********
 **   18 **HESSE 
 **********

 FCN=   9674.626     FROM HESSE     STATUS=OK            31 CALLS      303 TOTAL
                     EDM=   .68E-08    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  norm          3.2582        3.2927        .67737E-04   -1.5347    
   2  alpha         2.9537        .55641        .78024E-02    .18249    
   3  Normalizat    1.1563        .27191        .39866E-03   -.87965    
   4  Prefactor     .91806        .98628E-01    .16138E-03   -.95513    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 6.76413e-09
Minuit parameter uncertainties:
  1  3.29285
  2  0.561272
  3  0.272237
  4  0.0986477
shell-init: error retrieving current directory: getcwd: cannot access parent directories: No such file or directory
rmdir: failed to remove `/scratch/kocevski/609430': 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) = 9674.62576138
delta logL = 2.90060701321

Extracting fit parameters...

4FGL J1719.2+1745
   Spectrum: LogParabola
271         norm:  3.258e+00  3.293e+00  1.000e-04  1.000e+04 ( 1.000e-12)
272        alpha:  2.954e+00  5.613e-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:  9.181e-01  9.865e-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.156e+00  2.722e-01  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Free Index): 9.76
Ra Dec: 259.806 17.753
Photon Index (Free Index): 2.95 +/- 0.56
Photon Flux (Free Index): 1.64e-07 +/- 6.93e-08
Energy Flux (Free Index): 3.72e-05 +/- 1.66e-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/609430/cmap_HighResolution_474422401_474681601_4FGL_J1719.2+1745_daily_bin907.png

Cleaning up...

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

Updating database...

UPDATE lightcurve_data_v2 SET energy_flux_upper_limit='1.04e-04', comment='SUCCESS', photon_flux='6.68e-08', energy_flux2='3.72e-05', photon_flux_error='4.07e-08', dlogl='2.90e+00', energy_flux='4.73e-05', photon_flux2='1.64e-07', job_status='DONE', time_completed='2021-09-17 05:23:44.224080', photon_index_error2='0.56', photon_index2='2.95', ts='3.81', fit_tolerance='1e-08', GAL='0.90', photon_index_error='0.00', photon_flux_upper_limit='1.47e-07', energy_flux_error2='1.66e-05', EG='1.26', time_epoch_completed='1631881424.22', return_code='0', job_id='609430', GAL2='0.92', EG2='1.16', return_code2='0', energy_flux_error='2.88e-05', photon_flux_error2='6.93e-08', ts2='9.76', photon_index='1.94' WHERE bin_id='907' AND source_name='4FGL J1719.2+1745' AND cadence='daily';

Database successfully updated.


Analysis Complete.


Fri Sep 17 05:23:44 PDT 2021


------------------------------------------------------------
Sender: LSF System <lsf@bullet0094>
Subject: Job 609430: <4FGL_J1719.2+1745_daily_bin907> in cluster <slac> Done

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

Your job looked like:

------------------------------------------------------------
# LSBATCH: User input
/nfs/farm/g/glast/g/LCRepository/Likelihood/Scripts/LikelihoodAnalysis.py 4FGL_J1719.2+1745_daily_bin907 259.806 17.7533 474422401 474681601 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 :                                   786.04 sec.
    Max Memory :                                 1257 MB
    Average Memory :                             361.46 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.

