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


Performing analysis on: 4FGL_J1719.2+1745_daily_bin1101
RA = 259.806, Dec = 17.7533
tmin = 524707201, tmax = 524966401
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='612042', job_status='RUN', time_executed='2021-09-17 05:20:34.409292', time_epoch_executed='1631881234.41' WHERE source_name='4FGL J1719.2+1745' and cadence='daily' and bin_id='1101'

Database successfully updated.
Done.

Creating custom output directory:
/scratch/kocevski/612042

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

Retrieving the FT1 file...

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

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

Retrieving 47 files...
Done.


Merging files...

Checksum keywords updated successfully.

Merged file saved to:
/scratch/kocevski/612042/ft1_4FGL_J1719.2+1745_daily_bin1101.fits


Retrieving the FT1 file...

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

Retrieving 47 files...
Done.


Merging files...

Merged file saved to:
/scratch/kocevski/612042/ft2_4FGL_J1719.2+1745_daily_bin1101.fits


Selecting the photons:
time -p gtselect infile=/scratch/kocevski/612042/ft1_4FGL_J1719.2+1745_daily_bin1101.fits outfile=/scratch/kocevski/612042/ft1_filteredMKT_4FGL_J1719.2+1745_daily_bin1101.fits ra=259.806 dec=17.7533 rad=12.0 tmin=524707201.0 tmax=524966401.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.37
user 3.18
sys 0.16

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

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

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

Generating the exposure map:
time -p gtexpmap evfile=/scratch/kocevski/612042/ft1_filtered_4FGL_J1719.2+1745_daily_bin1101.fits evtable="EVENTS" scfile=/scratch/kocevski/612042/ft2_4FGL_J1719.2+1745_daily_bin1101.fits sctable="SC_DATA" expcube=/scratch/kocevski/612042/ltcube_524707201_524966401_4FGL_J1719.2+1745_daily_bin1101.fits outfile=/scratch/kocevski/612042/expmap_524707201_524966401_4FGL_J1719.2+1745_daily_bin1101.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/612042/ltcube_524707201_524966401_4FGL_J1719.2+1745_daily_bin1101.fits
.....................!
real 191.78
user 186.04
sys 5.21

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/612042/ft1_filtered_4FGL_J1719.2+1745_daily_bin1101.fits scfile=/scratch/kocevski/612042/ft2_4FGL_J1719.2+1745_daily_bin1101.fits outfile=/scratch/kocevski/612042/cmap_524707201_524966401_4FGL_J1719.2+1745_daily_bin1101.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.13

Creating the high resolution counts map:
time -p gtbin evfile=/scratch/kocevski/612042/ft1_filtered_4FGL_J1719.2+1745_daily_bin1101.fits scfile=/scratch/kocevski/612042/ft2_4FGL_J1719.2+1745_daily_bin1101.fits outfile=/scratch/kocevski/612042/cmap_HighResolution_524707201_524966401_4FGL_J1719.2+1745_daily_bin1101.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.40
sys 0.13

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

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

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

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

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'Prefactor '    .10000E-03   1.0000         .10000E-03   10000.    
     2 'Prefactor '    .10000E-03   1.0000         .10000E-03   10000.    
     3 'Prefactor '    .10002E-03   1.0000         .10000E-03   10000.    
     4 'Prefactor '    .10003E-03   1.0000         .10000E-03   10000.    
     5 'Prefactor '    .10000E-03   1.0000         .10000E-03   10000.    
     6 'Prefactor '    .10000E-03   1.0000         .10000E-03   10000.    
     7 'Prefactor '    .30186       1.0000         .10000E-03   10000.    
     8 'Prefactor '    .10002E-03   1.0000         .10000E-03   10000.    
     9 'norm      '    1.2713       1.0000         .10000E-03   10000.    
    10 'Prefactor '    36.436       1.0000         .10000E-03   10000.    
    11 'norm      '    .10001E-03   1.0000         .10000E-03   10000.    
    12 'Prefactor '    6.7419       1.0000         .10000E-03   10000.    
    13 'Prefactor '    .61247E-03   1.0000         .10000E-03   10000.    
    14 'norm      '    .11288E-03   1.0000         .10000E-03   10000.    
    15 'norm      '    .10000E-03   1.0000         .10000E-03   10000.    
    16 'Prefactor '    .10012E-03   1.0000         .10000E-03   10000.    
    17 'norm      '    1.1231       1.0000         .10000E-03   10000.    
    18 'Prefactor '    .10000E-03   1.0000         .10000E-03   10000.    
    19 'Normalizat'    1.6369       1.0000         .10000E-01   10.000    
    20 'Prefactor '    .90527       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=   9908.675     FROM MIGRAD    STATUS=CONVERGED    424 CALLS     2069 TOTAL
                     EDM=   .70E-10  STRATEGY=1  ERROR MATRIX UNCERTAINTY=   .6%

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor     .10000E-03    5.7000        .70296E-07** at limit **
   2  Prefactor     .10000E-03    2.1305        .12500E-06** at limit **
   3  Prefactor     .10000E-03    3.7758        .38475E-07** at limit **
   4  Prefactor     .10000E-03    14.137        .21224E-06** at limit **
   5  Prefactor     .10000E-03    14.058        .10915E-06** at limit **
   6  Prefactor     .10000E-03    37.924        .26803E-06** at limit **
   7  Prefactor     .30664        4.6825        .16339E-06   -.88893E-04
   8  Prefactor     .10000E-03    7.6106        .19381E-06** at limit **
   9  norm          1.2714        1.9185        .26984E-06    .47746E-04
  10  Prefactor     36.443        15.798        .84487E-07   -.70053E-06
  11  norm          .10000E-03    2.9182        .16878E-07** at limit **
  12  Prefactor     6.6023        206.88       -.55887E-05   -.92600E-06
  13  Prefactor     .10001E-03    1.1549        .41032E-07** at limit **
  14  norm          .10000E-03    9.6104       -.61707E-05** at limit **
  15  norm          .10000E-03    20.550       -.42362E-07** at limit **
  16  Prefactor     .10000E-03    49.978        .13158E-06** at limit **
  17  norm          1.1231        .87549       -.16705E-07    .51903E-04
  18  Prefactor     .10000E-03    4.7635        .16615E-06** at limit **
  19  Normalizat    1.6368        .23747       -.19627E-05    .85764E-04
  20  Prefactor     .90533        .87316E-01    .10745E-05   -.19229E-03
                               ERR DEF=  .500    
Final values: 
  Prefactor  = 0.0001
  Prefactor  = 0.0001
  Prefactor  = 0.0001
  Prefactor  = 0.0001
  Prefactor  = 0.0001
  Prefactor  = 0.0001
  Prefactor  = 0.306643
  Prefactor  = 0.0001
  norm       = 1.27136
  Prefactor  = 36.4427
  norm       = 0.0001
  Prefactor  = 6.60232
  Prefactor  = 0.000100014
  norm       = 0.0001
  norm       = 0.0001
  Prefactor  = 0.0001
  norm       = 1.12309
  Prefactor  = 0.0001
  Normalizat = 1.63681
  Prefactor  = 0.905333
 **********
 **   18 **HESSE 
 **********

 FCN=   9908.675     FROM HESSE     STATUS=OK           289 CALLS     2358 TOTAL
                     EDM=   .58E-07    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  Prefactor     .10000E-03    5.7096        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   2  Prefactor     .10000E-03    2.1458        .14187E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   3  Prefactor     .10000E-03    3.8119        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   4  Prefactor     .10000E-03    14.165        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   5  Prefactor     .10000E-03    14.068        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   6  Prefactor     .10000E-03    37.981        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   7  Prefactor     .30664        35.889        .40790E-02   -1.5597    
   8  Prefactor     .10000E-03    7.6479        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   9  norm          1.2714        1.8849        .16487E-03   -1.5482    
  10  Prefactor     36.443        15.565        .66394E-04   -1.4500    
  11  norm          .10000E-03    2.9191        .16606E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  12  Prefactor     6.6023        209.55        .15453E-03   -1.5194    
  13  Prefactor     .10001E-03    39.292        .20013E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  14  norm          .10000E-03    9.8071        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  15  norm          .10000E-03    20.554        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  16  Prefactor     .10000E-03    50.107        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  17  norm          1.1231        .85681        .79259E-04   -1.5496    
  18  Prefactor     .10000E-03    4.8227        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  19  Normalizat    1.6368        .27556        .36290E-03   -.74003    
  20  Prefactor     .90533        .10174        .16926E-03   -.95955    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 5.78294e-08
Minuit parameter uncertainties:
  1  1.18221e-06
  2  1.03861e-06
  3  8.41022e-07
  4  1.13039e-05
  5  9.4482e-06
  6  5.51664e-05
  7  6.63777
  8  2.1423e-06
  9  1.885
  10  15.5665
  11  9.59998e-07
  12  74.6778
  13  0.00148085
  14  9.98294e-06
  15  3.23577e-05
  16  5.28692e-05
  17  0.856815
  18  1.98157e-06
  19  0.27582
  20  0.101757
Done.

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

Extracting fit parameters...

4FGL J1719.2+1745
   Spectrum: LogParabola
271         norm:  1.271e+00  1.885e+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.053e-01  1.018e-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.637e+00  2.758e-01  1.000e-02  1.000e+01 ( 1.000e+00)


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

Saving results to:
/scratch/kocevski/612042/likelihoodResults_524707201_524966401_4FGL_J1719.2+1745_daily_bin1101.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) = 9908.61259621
delta logL = 0.0620873179632

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

MINUIT Return Code (Free Index): 0
logL (Free Index) = 9908.61115914
delta logL = 0.0635243948509

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'norm      '    1.2013       1.0000         .10000E-03   10000.    
     2 'alpha     '    2.3492       1.0000          .0000       5.0000    
     3 'Normalizat'    1.6282       1.0000         .10000E-01   10.000    
     4 'Prefactor '    .90627       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=   9908.611     FROM MIGRAD    STATUS=CONVERGED     52 CALLS      199 TOTAL
                     EDM=   .16E-07    STRATEGY= 1      ERR MATRIX NOT POS-DEF

  EXT PARAMETER                APPROXIMATE        STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  norm          1.2006        118.13        .10351E-01    .93399E-03
   2  alpha         2.3489        2.7350        .41247E-01    .12596E-04
   3  Normalizat    1.6283        .20761        .82159E-01    .12923E-04
   4  Prefactor     .90636        .69599E-01    .45085E-01    .66505E-05
                               ERR DEF=  .500    
Final values: 
  norm       = 1.20063
  alpha      = 2.34891
  Normalizat = 1.62829
  Prefactor  = 0.906362
 **********
 **   18 **HESSE 
 **********

 FCN=   9908.611     FROM HESSE     STATUS=OK            31 CALLS      230 TOTAL
                     EDM=   .28E-12    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  norm          1.2006        1.7860        .14399E-03   -1.5489    
   2  alpha         2.3489        1.1263        .16499E-02   -.60472E-01
   3  Normalizat    1.6283        .27617        .36365E-03   -.74235    
   4  Prefactor     .90636        .99790E-01    .16917E-03   -.95919    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 2.84125e-13
Minuit parameter uncertainties:
  1  1.78605
  2  1.16854
  3  0.276434
  4  0.0998105
shell-init: error retrieving current directory: getcwd: cannot access parent directories: No such file or directory
rmdir: failed to remove `/scratch/kocevski/612042': 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) = 9908.61115663
delta logL = 0.0635268994665

Extracting fit parameters...

4FGL J1719.2+1745
   Spectrum: LogParabola
271         norm:  1.201e+00  1.786e+00  1.000e-04  1.000e+04 ( 1.000e-12)
272        alpha:  2.349e+00  1.169e+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.064e-01  9.981e-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.628e+00  2.764e-01  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Free Index): 0.72
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/612042/cmap_HighResolution_524707201_524966401_4FGL_J1719.2+1745_daily_bin1101.png

Cleaning up...

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

Updating database...

UPDATE lightcurve_data_v2 SET energy_flux_upper_limit='4.58e-05', job_status='DONE', photon_flux_upper_limit='6.47e-08', time_completed='2021-09-17 05:34:10.955234', job_id='612042', GAL2='0.91', fit_tolerance='1e-08', EG2='1.63', EG='1.64', time_epoch_completed='1631882050.96', return_code2='0', ts='0.72', comment='SUCCESS', return_code='0', GAL='0.91', dlogl='6.35e-02', ts2='0.84', photon_index_error='0.00', photon_index='1.94' WHERE bin_id='1101' AND source_name='4FGL J1719.2+1745' AND cadence='daily';

Database successfully updated.


Analysis Complete.


Fri Sep 17 05:34:10 PDT 2021


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

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

Your job looked like:

------------------------------------------------------------
# LSBATCH: User input
/nfs/farm/g/glast/g/LCRepository/Likelihood/Scripts/LikelihoodAnalysis.py 4FGL_J1719.2+1745_daily_bin1101 259.806 17.7533 524707201 524966401 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 :                                   812.22 sec.
    Max Memory :                                 1257 MB
    Average Memory :                             375.96 MB
    Total Requested Memory :                     -
    Delta Memory :                               -
    Max Swap :                                   -
    Max Processes :                              5
    Max Threads :                                21
    Run time :                                   829 sec.
    Turnaround time :                            830 sec.

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

