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


Performing analysis on: 4FGL_J1434.7+1950_daily_bin1059
RA = 218.675, Dec = 19.8478
tmin = 513820801, tmax = 514080001
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='614459', job_status='RUN', time_executed='2021-09-10 00:28:47.406392', time_epoch_executed='1631258927.41' WHERE source_name='4FGL J1434.7+1950' and cadence='daily' and bin_id='1059'

Database successfully updated.
Done.

Creating custom output directory:
/scratch/kocevski/614459

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

Retrieving the FT1 file...

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

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

Retrieving 47 files...
Done.


Merging files...

Checksum keywords updated successfully.

Merged file saved to:
/scratch/kocevski/614459/ft1_4FGL_J1434.7+1950_daily_bin1059.fits


Retrieving the FT1 file...

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

Retrieving 47 files...
Done.


Merging files...

Merged file saved to:
/scratch/kocevski/614459/ft2_4FGL_J1434.7+1950_daily_bin1059.fits


Selecting the photons:
time -p gtselect infile=/scratch/kocevski/614459/ft1_4FGL_J1434.7+1950_daily_bin1059.fits outfile=/scratch/kocevski/614459/ft1_filteredMKT_4FGL_J1434.7+1950_daily_bin1059.fits ra=218.675 dec=19.8478 rad=12.0 tmin=513820801.0 tmax=514080001.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.77
user 3.49
sys 0.21

Adding sun position to ft2 file:
/nfs/farm/g/glast/g/LCRepository/Repository/bin/sunpos /scratch/kocevski/614459/ft2_4FGL_J1434.7+1950_daily_bin1059.fits

Selecting the good time intervals:
time -p gtmktime scfile=/scratch/kocevski/614459/ft2_4FGL_J1434.7+1950_daily_bin1059.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/614459/ft1_filteredMKT_4FGL_J1434.7+1950_daily_bin1059.fits evtable="EVENTS" outfile="/scratch/kocevski/614459/ft1_filtered_4FGL_J1434.7+1950_daily_bin1059.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.57
user 0.33
sys 0.14

Generating the livetime cube:
time -p gtltcube evfile="/scratch/kocevski/614459/ft1_filtered_4FGL_J1434.7+1950_daily_bin1059.fits" evtable="EVENTS" scfile=/scratch/kocevski/614459/ft2_4FGL_J1434.7+1950_daily_bin1059.fits sctable="SC_DATA" outfile=/scratch/kocevski/614459/ltcube_513820801_514080001_4FGL_J1434.7+1950_daily_bin1059.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/614459/ft2_4FGL_J1434.7+1950_daily_bin1059.fits
.....................!
real 11.81
user 11.44
sys 0.31

Generating the exposure map:
time -p gtexpmap evfile=/scratch/kocevski/614459/ft1_filtered_4FGL_J1434.7+1950_daily_bin1059.fits evtable="EVENTS" scfile=/scratch/kocevski/614459/ft2_4FGL_J1434.7+1950_daily_bin1059.fits sctable="SC_DATA" expcube=/scratch/kocevski/614459/ltcube_513820801_514080001_4FGL_J1434.7+1950_daily_bin1059.fits outfile=/scratch/kocevski/614459/expmap_513820801_514080001_4FGL_J1434.7+1950_daily_bin1059.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/614459/ltcube_513820801_514080001_4FGL_J1434.7+1950_daily_bin1059.fits
.....................!
real 189.70
user 184.98
sys 4.37

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 157 point sources and 0 extended sources

Setting source of interest to:
4FGL J1434.7+1950 @ 218.675 19.8478

Creating the counts map:
time -p gtbin evfile=/scratch/kocevski/614459/ft1_filtered_4FGL_J1434.7+1950_daily_bin1059.fits scfile=/scratch/kocevski/614459/ft2_4FGL_J1434.7+1950_daily_bin1059.fits outfile=/scratch/kocevski/614459/cmap_513820801_514080001_4FGL_J1434.7+1950_daily_bin1059.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=218.675 yref=19.8478 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.36
sys 0.15

Creating the high resolution counts map:
time -p gtbin evfile=/scratch/kocevski/614459/ft1_filtered_4FGL_J1434.7+1950_daily_bin1059.fits scfile=/scratch/kocevski/614459/ft2_4FGL_J1434.7+1950_daily_bin1059.fits outfile=/scratch/kocevski/614459/cmap_HighResolution_513820801_514080001_4FGL_J1434.7+1950_daily_bin1059.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=218.675 yref=19.8478 axisrot=0.0 rafield="RA" decfield="DEC" proj="AIT" hpx_ordering_scheme="RING" hpx_order=3 hpx_ebin=yes hpx_region="" evtable="EVENTS" sctable="SC_DATA" efield="ENERGY" tfield="TIME" chatter=2 clobber=yes debug=no gui=no mode="ql"

WARNING: version mismatch between CFITSIO header (v3.43) and linked library (v3.41).

This is gtbin version HEAD
real 0.56
user 0.39
sys 0.14

Computing the diffuse response:
time -p gtdiffrsp evfile=/scratch/kocevski/614459/ft1_filtered_4FGL_J1434.7+1950_daily_bin1059.fits evtable="EVENTS" scfile=/scratch/kocevski/614459/ft2_4FGL_J1434.7+1950_daily_bin1059.fits sctable="SC_DATA" srcmdl=/scratch/kocevski/614459/Model_4FGL_J1434.7+1950_daily_bin1059.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/614459/ft1_filtered_4FGL_J1434.7+1950_daily_bin1059.fits.....................!
real 57.89
user 56.50
sys 1.13

Creating the likelihood object...
obs = UnbinnedObs('/scratch/kocevski/614459/ft1_filtered_4FGL_J1434.7+1950_daily_bin1059.fits', '/scratch/kocevski/614459/ft2_4FGL_J1434.7+1950_daily_bin1059.fits', expMap='/scratch/kocevski/614459/expmap_513820801_514080001_4FGL_J1434.7+1950_daily_bin1059.fits', expCube='/scratch/kocevski/614459/ltcube_513820801_514080001_4FGL_J1434.7+1950_daily_bin1059.fits', irfs='P8R3_SOURCE_V2')
like = UnbinnedAnalysis(obs, '/scratch/kocevski/614459/Model_4FGL_J1434.7+1950_daily_bin1059.xml', optimizer='MINUIT')

Using source of interest name: '4FGL J1434.7+1950'

4FGL J1434.7+1950
   Spectrum: LogParabola
234         norm:  2.475e+00  0.000e+00  1.000e-04  1.000e+04 ( 1.000e-12)
235        alpha:  2.270e+00  0.000e+00  0.000e+00  5.000e+00 ( 1.000e+00) fixed
236         beta:  1.371e-01  0.000e+00  0.000e+00  1.000e+01 ( 1.000e+00) fixed
237           Eb:  1.056e+03  0.000e+00  3.000e+01  5.000e+05 ( 1.000e+00) fixed


Likelihood Fit Parameters:
Event file(s): /scratch/kocevski/614459/ft1_filtered_4FGL_J1434.7+1950_daily_bin1059.fits
Spacecraft file(s): /scratch/kocevski/614459/ft2_4FGL_J1434.7+1950_daily_bin1059.fits
Exposure map: /scratch/kocevski/614459/expmap_513820801_514080001_4FGL_J1434.7+1950_daily_bin1059.fits
Exposure cube: /scratch/kocevski/614459/ltcube_513820801_514080001_4FGL_J1434.7+1950_daily_bin1059.fits
IRFs: P8R3_SOURCE_V2
Source model file: /scratch/kocevski/614459/Model_4FGL_J1434.7+1950_daily_bin1059.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) = 7994.42950669

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

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

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'Prefactor '    .10019E-03   1.0000         .10000E-03   10000.    
     2 'Prefactor '    .10614E-03   1.0000         .10000E-03   10000.    
     3 'Prefactor '    44.465       1.0000         .10000E-03   10000.    
     4 'Prefactor '    18.102       1.0000         .10000E-03   10000.    
     5 'norm      '    4.4089       1.0000         .10000E-03   10000.    
     6 'Prefactor '    .10000E-03   1.0000         .10000E-03   10000.    
     7 'norm      '    4.7301       1.0000         .10000E-03   10000.    
     8 'norm      '    33.843       1.0000         .10000E-03   10000.    
     9 'Prefactor '    .10007E-03   1.0000         .10000E-03   10000.    
    10 'Prefactor '    9.7427       1.0000         .10000E-03   10000.    
    11 'Prefactor '    31.392       1.0000         .10000E-03   10000.    
    12 'Prefactor '    .10021E-03   1.0000         .10000E-03   10000.    
    13 'Prefactor '    .10067E-03   1.0000         .10000E-03   10000.    
    14 'Prefactor '    .10001E-03   1.0000         .10000E-03   10000.    
    15 'Prefactor '    7.0805       1.0000         .10000E-03   10000.    
    16 'norm      '    1.3541       1.0000         .10000E-03   10000.    
    17 'norm      '    1.4496       1.0000         .10000E-03   10000.    
    18 'Prefactor '    27.583       1.0000         .10000E-03   10000.    
    19 'Prefactor '    9.1478       1.0000         .10000E-03   10000.    
    20 'Normalizat'    1.0606       1.0000         .10000E-01   10.000    
    21 'Prefactor '    1.2338       1.0000          .0000       10.000    
 **********
 **   15 **SET ERR    .5000    
 **********
 **********
 **   16 **SET GRAD    1.000    
 **********
 **********
 **   17 **MINIMIZE    .5060E+05   .2000E-04
 **********

 MIGRAD MINIMIZATION HAS CONVERGED.

 MIGRAD WILL VERIFY CONVERGENCE AND ERROR MATRIX.

 FCN=   7994.393     FROM MIGRAD    STATUS=CONVERGED    451 CALLS     2188 TOTAL
                     EDM=   .13E-07    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor     .10000E-03    6.5322        .90712E-02** at limit **
   2  Prefactor     .10000E-03    20.472        .90712E-02** at limit **
   3  Prefactor     44.461        39.061        .15031E-02    .55518E-03
   4  Prefactor     18.105        10.347        .23534E-02    .65845E-03
   5  norm          4.4091        2.4494        .47950E-02    .52620E-04
   6  Prefactor     .10000E-03    7.1649        .90712E-02** at limit **
   7  norm          4.7299        4.1834        .46253E-02    .54442E-03
   8  norm          33.843        8.2586        .17221E-02   -.64287E-03
   9  Prefactor     .10000E-03    25.672        .90712E-02** at limit **
  10  Prefactor     9.7438        28.196        .32096E-02    .40499E-03
  11  Prefactor     31.397        27.536        .17878E-02    .18613E-02
  12  Prefactor     .10000E-03    8.7453        .90712E-02** at limit **
  13  Prefactor     .10000E-03    9.1132        .90712E-02** at limit **
  14  Prefactor     .10000E-03    11.321        .90712E-02** at limit **
  15  Prefactor     7.0815        6.5277        .37689E-02   -.51014E-03
  16  norm          1.3542        .32094        .53761E-02   -.11566E-03
  17  norm          1.4574        296.51        .89472E-02    .86297E-04
  18  Prefactor     27.503        40.346        .19070E-02    .10976E-03
  19  Prefactor     9.1472        13.753        .33128E-02   -.27309E-03
  20  Normalizat    1.0612        .20987        .75780E-01    .20319E-04
  21  Prefactor     1.2334        .15732        .53043E-01    .41903E-05
                               ERR DEF=  .500    
Final values: 
  Prefactor  = 0.0001
  Prefactor  = 0.0001
  Prefactor  = 44.4606
  Prefactor  = 18.105
  norm       = 4.40906
  Prefactor  = 0.0001
  norm       = 4.72994
  norm       = 33.8426
  Prefactor  = 0.0001
  Prefactor  = 9.74376
  Prefactor  = 31.3968
  Prefactor  = 0.0001
  Prefactor  = 0.0001
  Prefactor  = 0.0001
  Prefactor  = 7.0815
  norm       = 1.35418
  norm       = 1.45739
  Prefactor  = 27.5033
  Prefactor  = 9.14718
  Normalizat = 1.06123
  Prefactor  = 1.23336
 **********
 **   18 **HESSE 
 **********

 FCN=   7994.393     FROM HESSE     STATUS=OK           313 CALLS     2501 TOTAL
                     EDM=   .12E-07    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  Prefactor     .10000E-03    6.5440        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   2  Prefactor     .10000E-03    20.998        .36285E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   3  Prefactor     44.461        39.082        .60124E-04   -1.4373    
   4  Prefactor     18.105        10.337        .47068E-03   -1.4857    
   5  norm          4.4091        2.4478        .10131E-03   -1.5288    
   6  Prefactor     .10000E-03    7.2518        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   7  norm          4.7299        4.1737        .16082E-03   -1.5273    
   8  norm          33.843        8.2621        .68882E-04   -1.4544    
   9  Prefactor     .10000E-03    25.703        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  10  Prefactor     9.7438        28.172        .12838E-03   -1.5084    
  11  Prefactor     31.397        27.540        .71513E-04   -1.4587    
  12  Prefactor     .10000E-03    8.7705        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  13  Prefactor     .10000E-03    9.1167        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  14  Prefactor     .10000E-03    11.323        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  15  Prefactor     7.0815        6.5307        .75378E-03   -1.5176    
  16  norm          1.3542        .32152        .23735E-04   -1.5475    
  17  norm          1.4574        305.22        .35789E-03   -1.5467    
  18  Prefactor     27.503        40.457        .76281E-04   -1.4659    
  19  Prefactor     9.1472        13.752        .13251E-03   -1.5103    
  20  Normalizat    1.0612        .25002        .33539E-03   -.91006    
  21  Prefactor     1.2334        .18866        .23452E-03   -.85311    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 1.17833e-08
Minuit parameter uncertainties:
  1  3.85173e-07
  2  2.05387e-05
  3  39.1046
  4  10.3381
  5  2.44789
  6  7.12405e-07
  7  4.174
  8  8.26241
  9  2.80366e-05
  10  28.2106
  11  27.5515
  12  1.97175e-05
  13  2.24316e-05
  14  7.91209e-06
  15  6.53137
  16  0.321519
  17  42.4013
  18  40.4969
  19  13.7572
  20  0.250294
  21  0.188765
Done.

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

Extracting fit parameters...

4FGL J1434.7+1950
   Spectrum: LogParabola
234         norm:  4.730e+00  4.174e+00  1.000e-04  1.000e+04 ( 1.000e-12)
235        alpha:  2.270e+00  0.000e+00  0.000e+00  5.000e+00 ( 1.000e+00) fixed
236         beta:  1.371e-01  0.000e+00  0.000e+00  1.000e+01 ( 1.000e+00) fixed
237           Eb:  1.056e+03  0.000e+00  3.000e+01  5.000e+05 ( 1.000e+00) fixed

GAL_V02
   Spectrum: PowerLaw
503    Prefactor:  1.233e+00  1.888e-01  0.000e+00  1.000e+01 ( 1.000e+00)
504        Index:  0.000e+00  0.000e+00 -1.000e+00  1.000e+00 ( 1.000e+00) fixed
505        Scale:  1.000e+02  0.000e+00  5.000e+01  2.000e+02 ( 1.000e+00) fixed

EG_v02
   Spectrum: FileFunction
502   Normalization:  1.061e+00  2.503e-01  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Fixed Index): 1.66
Ra Dec: 218.675 19.848
Photon Index (Fixed Index): 2.27 +/- 0.00
Photon Flux (Fixed Index): 5.29e-08 +/- 4.67e-08
Energy Flux (Fixed Index): 2.20e-05 +/- 1.94e-05

TS (Fixed Index): 1.66
Ra Dec: 218.675 19.848
Photon Flux Upper Limit: 1.46e-07 ph cm-2 s-1
Energy Flux Upper Limit: 6.04e-05 MeV cm-2 s-1

Saving results to:
/scratch/kocevski/614459/likelihoodResults_513820801_514080001_4FGL_J1434.7+1950_daily_bin1059.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) = 7992.23355588
delta logL = 2.15944828849

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

MINUIT Return Code (Free Index): 102
logL (Free Index) = 7992.161291
delta logL = 2.23171316861

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'norm      '    .20019       1.0000         .10000E-03   10000.    
     2 'alpha     '    4.7051       1.0000          .0000       5.0000    
     3 'Normalizat'    .87682       1.0000         .10000E-01   10.000    
     4 'Prefactor '    1.3305       1.0000          .0000       10.000    
 **********
 **   15 **SET ERR    .5000    
 **********
 **********
 **   16 **SET GRAD    1.000    
 **********
 **********
 **   17 **MINIMIZE    .5060E+05   .2000E-04
 **********

 MIGRAD MINIMIZATION HAS CONVERGED.

 MIGRAD WILL VERIFY CONVERGENCE AND ERROR MATRIX.

 FCN=   7992.161     FROM MIGRAD    STATUS=CONVERGED     57 CALLS      286 TOTAL
                     EDM=   .14E-07    STRATEGY= 1      ERR MATRIX NOT POS-DEF

  EXT PARAMETER                APPROXIMATE        STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  norm          .19953        1.4907        .39630E-02   -.82177E-02
   2  alpha         4.7076        4.8510        .37155       -.11594E-03
   3  Normalizat    .87644        .87125E-01    .82196E-01   -.10426E-03
   4  Prefactor     1.3308        .63748E-01    .51287E-01   -.11626E-03
                               ERR DEF=  .500    
Final values: 
  norm       = 0.199526
  alpha      = 4.70761
  Normalizat = 0.876441
  Prefactor  = 1.33078
 **********
 **   18 **HESSE 
 **********

 FCN=   7992.161     FROM HESSE     STATUS=NOT POSDEF    31 CALLS      317 TOTAL
                     EDM=   .44E-09    STRATEGY= 1      ERR MATRIX NOT POS-DEF

  EXT PARAMETER                APPROXIMATE     INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  norm          .19953        2.0167        .17763E-04   -1.5619    
   2  alpha         4.7076        4.8538        .19862E-01    1.0823    
   3  Normalizat    .87644        .23160        .36391E-03   -.97293    
   4  Prefactor     1.3308        .17343        .22673E-03   -.82396    
                               ERR DEF=  .500    
Minuit fit quality: 2   estimated distance: 4.38019e-10
Minuit parameter uncertainties:
  1  1.26842
  2  3.10902
  3  0.231863
  4  0.17351
shell-init: error retrieving current directory: getcwd: cannot access parent directories: No such file or directory
rmdir: failed to remove `/scratch/kocevski/614459': 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): 102
logL (Free Index) = 7992.16128054
delta logL = 2.23172362763

Extracting fit parameters...

4FGL J1434.7+1950
   Spectrum: LogParabola
234         norm:  1.995e-01  1.268e+00  1.000e-04  1.000e+04 ( 1.000e-12)
235        alpha:  4.708e+00  3.109e+00  0.000e+00  5.000e+00 ( 1.000e+00)
236         beta:  1.371e-01  0.000e+00  0.000e+00  1.000e+01 ( 1.000e+00) fixed
237           Eb:  1.056e+03  0.000e+00  3.000e+01  5.000e+05 ( 1.000e+00) fixed

GAL_V02
   Spectrum: PowerLaw
503    Prefactor:  1.331e+00  1.735e-01  0.000e+00  1.000e+01 ( 1.000e+00)
504        Index:  0.000e+00  0.000e+00 -1.000e+00  1.000e+00 ( 1.000e+00) fixed
505        Scale:  1.000e+02  0.000e+00  5.000e+01  2.000e+02 ( 1.000e+00) fixed

EG_v02
   Spectrum: FileFunction
502   Normalization:  8.764e-01  2.319e-01  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Free Index): 6.58
Ra Dec: 218.675 19.848
Photon Index (Free Index): 4.71 +/- 3.11
Photon Flux (Free Index): 1.96e-07 +/- 9.21e-08
Energy Flux (Free Index): 2.82e-05 +/- 1.68e-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/614459/cmap_HighResolution_513820801_514080001_4FGL_J1434.7+1950_daily_bin1059.png

Cleaning up...

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

Updating database...

UPDATE lightcurve_data_v2 SET energy_flux_upper_limit='6.04e-05', comment='SUCCESS', photon_flux='5.29e-08', energy_flux2='2.82e-05', photon_flux_error='4.67e-08', dlogl='2.23e+00', energy_flux='2.20e-05', photon_flux2='1.96e-07', job_status='DONE', time_completed='2021-09-10 00:39:27.273026', photon_index_error2='3.11', photon_index2='4.71', ts='1.66', fit_tolerance='1e-08', GAL='1.23', photon_index_error='0.00', photon_flux_upper_limit='1.46e-07', energy_flux_error2='1.68e-05', EG='1.06', time_epoch_completed='1631259567.27', return_code='0', job_id='614459', GAL2='1.33', EG2='0.88', return_code2='102', energy_flux_error='1.94e-05', photon_flux_error2='9.21e-08', ts2='6.58', photon_index='2.27' WHERE bin_id='1059' AND source_name='4FGL J1434.7+1950' AND cadence='daily';

Database successfully updated.


Analysis Complete.


Fri Sep 10 00:39:27 PDT 2021


------------------------------------------------------------
Sender: LSF System <lsf@bullet0242>
Subject: Job 614459: <4FGL_J1434.7+1950_daily_bin1059> in cluster <slac> Done

Job <4FGL_J1434.7+1950_daily_bin1059> was submitted from host <rhel6-64f> by user <kocevski> in cluster <slac> at Fri Sep 10 00:26:05 2021
Job was executed on host(s) <bullet0242>, in queue <medium>, as user <kocevski> in cluster <slac> at Fri Sep 10 00:26:07 2021
</u/ki/kocevski> was used as the home directory.
</u/ki/kocevski> was used as the working directory.
Started at Fri Sep 10 00:26:07 2021
Terminated at Fri Sep 10 00:39:27 2021
Results reported at Fri Sep 10 00:39:27 2021

Your job looked like:

------------------------------------------------------------
# LSBATCH: User input
/nfs/farm/g/glast/g/LCRepository/Likelihood/Scripts/LikelihoodAnalysis.py 4FGL_J1434.7+1950_daily_bin1059 218.675 19.8478 513820801 514080001 irfs=P8R3_SOURCE_V2 zmax=90 ROI=12 association=4FGL_J1434.7+1950 fixedModel=True performFreeIndexFit=True freeVariableSources=True nuke=True repositoryJob=True verbose=False
------------------------------------------------------------

Successfully completed.

Resource usage summary:

    CPU time :                                   634.11 sec.
    Max Memory :                                 1094 MB
    Average Memory :                             254.88 MB
    Total Requested Memory :                     -
    Delta Memory :                               -
    Max Swap :                                   -
    Max Processes :                              5
    Max Threads :                                21
    Run time :                                   800 sec.
    Turnaround time :                            802 sec.

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

