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


Performing analysis on: 4FGL_J1434.7+1950_daily_bin1368
RA = 218.675, Dec = 19.8478
tmin = 593913601, tmax = 594172801
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='615657', job_status='RUN', time_executed='2021-09-10 00:32:58.553576', time_epoch_executed='1631259178.55' WHERE source_name='4FGL J1434.7+1950' and cadence='daily' and bin_id='1368'

Database successfully updated.
Done.

Creating custom output directory:
/scratch/kocevski/615657

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

Retrieving the FT1 file...

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

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

Retrieving 47 files...
Done.


Merging files...

Checksum keywords updated successfully.

Merged file saved to:
/scratch/kocevski/615657/ft1_4FGL_J1434.7+1950_daily_bin1368.fits


Retrieving the FT1 file...

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

Retrieving 47 files...
Done.


Merging files...

Merged file saved to:
/scratch/kocevski/615657/ft2_4FGL_J1434.7+1950_daily_bin1368.fits


Selecting the photons:
time -p gtselect infile=/scratch/kocevski/615657/ft1_4FGL_J1434.7+1950_daily_bin1368.fits outfile=/scratch/kocevski/615657/ft1_filteredMKT_4FGL_J1434.7+1950_daily_bin1368.fits ra=218.675 dec=19.8478 rad=12.0 tmin=593913601.0 tmax=594172801.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.59
user 3.38
sys 0.19

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

Selecting the good time intervals:
time -p gtmktime scfile=/scratch/kocevski/615657/ft2_4FGL_J1434.7+1950_daily_bin1368.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/615657/ft1_filteredMKT_4FGL_J1434.7+1950_daily_bin1368.fits evtable="EVENTS" outfile="/scratch/kocevski/615657/ft1_filtered_4FGL_J1434.7+1950_daily_bin1368.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.31
sys 0.17

Generating the livetime cube:
time -p gtltcube evfile="/scratch/kocevski/615657/ft1_filtered_4FGL_J1434.7+1950_daily_bin1368.fits" evtable="EVENTS" scfile=/scratch/kocevski/615657/ft2_4FGL_J1434.7+1950_daily_bin1368.fits sctable="SC_DATA" outfile=/scratch/kocevski/615657/ltcube_593913601_594172801_4FGL_J1434.7+1950_daily_bin1368.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/615657/ft2_4FGL_J1434.7+1950_daily_bin1368.fits
.....................!
real 12.43
user 12.02
sys 0.34

Generating the exposure map:
time -p gtexpmap evfile=/scratch/kocevski/615657/ft1_filtered_4FGL_J1434.7+1950_daily_bin1368.fits evtable="EVENTS" scfile=/scratch/kocevski/615657/ft2_4FGL_J1434.7+1950_daily_bin1368.fits sctable="SC_DATA" expcube=/scratch/kocevski/615657/ltcube_593913601_594172801_4FGL_J1434.7+1950_daily_bin1368.fits outfile=/scratch/kocevski/615657/expmap_593913601_594172801_4FGL_J1434.7+1950_daily_bin1368.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/615657/ltcube_593913601_594172801_4FGL_J1434.7+1950_daily_bin1368.fits
.....................!
real 190.48
user 184.70
sys 5.18

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/615657/ft1_filtered_4FGL_J1434.7+1950_daily_bin1368.fits scfile=/scratch/kocevski/615657/ft2_4FGL_J1434.7+1950_daily_bin1368.fits outfile=/scratch/kocevski/615657/cmap_593913601_594172801_4FGL_J1434.7+1950_daily_bin1368.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.54
user 0.36
sys 0.16

Creating the high resolution counts map:
time -p gtbin evfile=/scratch/kocevski/615657/ft1_filtered_4FGL_J1434.7+1950_daily_bin1368.fits scfile=/scratch/kocevski/615657/ft2_4FGL_J1434.7+1950_daily_bin1368.fits outfile=/scratch/kocevski/615657/cmap_HighResolution_593913601_594172801_4FGL_J1434.7+1950_daily_bin1368.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.55
user 0.39
sys 0.14

Computing the diffuse response:
time -p gtdiffrsp evfile=/scratch/kocevski/615657/ft1_filtered_4FGL_J1434.7+1950_daily_bin1368.fits evtable="EVENTS" scfile=/scratch/kocevski/615657/ft2_4FGL_J1434.7+1950_daily_bin1368.fits sctable="SC_DATA" srcmdl=/scratch/kocevski/615657/Model_4FGL_J1434.7+1950_daily_bin1368.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/615657/ft1_filtered_4FGL_J1434.7+1950_daily_bin1368.fits.....................!
real 52.71
user 51.17
sys 1.26

Creating the likelihood object...
obs = UnbinnedObs('/scratch/kocevski/615657/ft1_filtered_4FGL_J1434.7+1950_daily_bin1368.fits', '/scratch/kocevski/615657/ft2_4FGL_J1434.7+1950_daily_bin1368.fits', expMap='/scratch/kocevski/615657/expmap_593913601_594172801_4FGL_J1434.7+1950_daily_bin1368.fits', expCube='/scratch/kocevski/615657/ltcube_593913601_594172801_4FGL_J1434.7+1950_daily_bin1368.fits', irfs='P8R3_SOURCE_V2')
like = UnbinnedAnalysis(obs, '/scratch/kocevski/615657/Model_4FGL_J1434.7+1950_daily_bin1368.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/615657/ft1_filtered_4FGL_J1434.7+1950_daily_bin1368.fits
Spacecraft file(s): /scratch/kocevski/615657/ft2_4FGL_J1434.7+1950_daily_bin1368.fits
Exposure map: /scratch/kocevski/615657/expmap_593913601_594172801_4FGL_J1434.7+1950_daily_bin1368.fits
Exposure cube: /scratch/kocevski/615657/ltcube_593913601_594172801_4FGL_J1434.7+1950_daily_bin1368.fits
IRFs: P8R3_SOURCE_V2
Source model file: /scratch/kocevski/615657/Model_4FGL_J1434.7+1950_daily_bin1368.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) = 7029.45097058

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

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

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'Prefactor '    .72968E-01   1.0000         .10000E-03   10000.    
     2 'Prefactor '    .10000E-03   1.0000         .10000E-03   10000.    
     3 'Prefactor '    279.97       1.0000         .10000E-03   10000.    
     4 'Prefactor '    .21125E-02   1.0000         .10000E-03   10000.    
     5 'norm      '    8.9133       1.0000         .10000E-03   10000.    
     6 'Prefactor '    .10045E-03   1.0000         .10000E-03   10000.    
     7 'norm      '    4.5880       1.0000         .10000E-03   10000.    
     8 'norm      '    .10192E-03   1.0000         .10000E-03   10000.    
     9 'Prefactor '    .10035E-03   1.0000         .10000E-03   10000.    
    10 'Prefactor '    .10000E-03   1.0000         .10000E-03   10000.    
    11 'Prefactor '    .10147E-03   1.0000         .10000E-03   10000.    
    12 'Prefactor '    7.7039       1.0000         .10000E-03   10000.    
    13 'Prefactor '    .10000E-03   1.0000         .10000E-03   10000.    
    14 'Prefactor '    .10000E-03   1.0000         .10000E-03   10000.    
    15 'Prefactor '    17.641       1.0000         .10000E-03   10000.    
    16 'norm      '    .36016       1.0000         .10000E-03   10000.    
    17 'norm      '    .10000E-03   1.0000         .10000E-03   10000.    
    18 'Prefactor '    13.357       1.0000         .10000E-03   10000.    
    19 'Prefactor '    .24789E-01   1.0000         .10000E-03   10000.    
    20 'Normalizat'    1.1743       1.0000         .10000E-01   10.000    
    21 'Prefactor '    .97768       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.

 MIGRAD MINIMIZATION HAS CONVERGED.

 FCN=   7029.411     FROM MIGRAD    STATUS=CONVERGED    481 CALLS     1978 TOTAL
                     EDM=   .87E-09  STRATEGY=1  ERROR MATRIX UNCERTAINTY=  4.1%

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor     .71713E-01    7.3817       -.15703E-05    .98592E-04
   2  Prefactor     .10000E-03    4.0127       -.31000E-08** at limit **
   3  Prefactor     280.00        52.316       -.23042E-05   -.31661E-03
   4  Prefactor     .10000E-03    24.122       -.26511E-04** at limit **
   5  norm          8.9132        3.2404       -.27620E-07   -.58878E-04
   6  Prefactor     .10000E-03    6.3874        .52440E-06** at limit **
   7  norm          4.5879        3.0943        .15515E-06    .74252E-03
   8  norm          .10000E-03    2.6754       -.11218E-06** at limit **
   9  Prefactor     .10000E-03    45.632        .80663E-06** at limit **
  10  Prefactor     .10000E-03    10.773       -.74093E-07** at limit **
  11  Prefactor     .10005E-03    83.254        .62936E-06** at limit **
  12  Prefactor     7.6999        12.366        .49154E-06    .26620E-03
  13  Prefactor     .10000E-03    11.518        .18251E-06** at limit **
  14  Prefactor     .10000E-03    16.008       -.58974E-06** at limit **
  15  Prefactor     17.639        10.182        .55842E-07    .12016E-03
  16  norm          .36014        .19596        .47596E-07    .35667E-02
  17  norm          .10000E-03    23.716       -.14866E-05** at limit **
  18  Prefactor     13.316        26.695        .58644E-07    .55673E-04
  19  Prefactor     .10099E-03    8.0476       -.49342E-05** at limit **
  20  Normalizat    1.1741        .18904        .10597E-05    .41253E-03
  21  Prefactor     .97787        .14402       -.89140E-06    .41723E-03
                               ERR DEF=  .500    
Final values: 
  Prefactor  = 0.0717134
  Prefactor  = 0.0001
  Prefactor  = 279.995
  Prefactor  = 0.0001
  norm       = 8.91325
  Prefactor  = 0.000100001
  norm       = 4.58789
  norm       = 0.0001
  Prefactor  = 0.000100003
  Prefactor  = 0.0001
  Prefactor  = 0.000100047
  Prefactor  = 7.69986
  Prefactor  = 0.0001
  Prefactor  = 0.0001
  Prefactor  = 17.6394
  norm       = 0.36014
  norm       = 0.000100001
  Prefactor  = 13.3159
  Prefactor  = 0.000100994
  Normalizat = 1.17413
  Prefactor  = 0.977872
 **********
 **   18 **HESSE 
 **********

 FCN=   7029.411     FROM HESSE     STATUS=OK           331 CALLS     2309 TOTAL
                     EDM=   .21E-08    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  Prefactor     .71713E-01    8.9985        .77944E-01   -1.5654    
   2  Prefactor     .10000E-03    4.0320        .16401E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   3  Prefactor     280.00        52.493        .12124E-03   -1.2346    
   4  Prefactor     .10000E-03    23.807        .35762E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   5  norm          8.9132        3.2410        .88093E-04   -1.5111    
   6  Prefactor     .10000E-03    6.5071        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   7  norm          4.5879        3.0926        .11636E-03   -1.5280    
   8  norm          .10000E-03    6.8988        .26569E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   9  Prefactor     .10000E-03    45.829        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  10  Prefactor     .10000E-03    10.790        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  11  Prefactor     .10005E-03    85.290        .36285E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  12  Prefactor     7.6999        12.366        .14448E-03   -1.5153    
  13  Prefactor     .10000E-03    11.540        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  14  Prefactor     .10000E-03    16.019        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  15  Prefactor     17.639        10.183        .95359E-04   -1.4868    
  16  norm          .36014        .19544        .26588E-04   -1.5588    
  17  norm          .10000E-03    23.722        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  18  Prefactor     13.316        26.708        .10960E-03   -1.4978    
  19  Prefactor     .10099E-03    9.7344        .72333E-01   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  20  Normalizat    1.1741        .22201        .13952E-02   -.87406    
  21  Prefactor     .97787        .16894        .22910E-03   -.93471    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 2.08458e-09
Minuit parameter uncertainties:
  1  1.60576
  2  1.97037e-06
  3  52.5017
  4  4.51512e-05
  5  3.24106
  6  0.000196208
  7  3.09268
  8  4.9298e-07
  9  0.000735025
  10  1.70093e-05
  11  0.00401151
  12  12.3698
  13  1.449e-05
  14  9.10626e-05
  15  10.1842
  16  0.195439
  17  0.000280204
  18  26.7321
  19  0.00622179
  20  0.222184
  21  0.169028
Done.

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

Extracting fit parameters...

4FGL J1434.7+1950
   Spectrum: LogParabola
234         norm:  4.588e+00  3.093e+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:  9.779e-01  1.690e-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.174e+00  2.222e-01  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Fixed Index): 3.70
Ra Dec: 218.675 19.848
Photon Index (Fixed Index): 2.27 +/- 0.00
Photon Flux (Fixed Index): 5.13e-08 +/- 3.46e-08
Energy Flux (Fixed Index): 2.13e-05 +/- 1.44e-05

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

Saving results to:
/scratch/kocevski/615657/likelihoodResults_593913601_594172801_4FGL_J1434.7+1950_daily_bin1368.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) = 7028.43358254
delta logL = 0.976920765752

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

MINUIT Return Code (Free Index): 0
logL (Free Index) = 7028.42027579
delta logL = 0.99022751116

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'norm      '    1.9884       1.0000         .10000E-03   10000.    
     2 'alpha     '    3.1731       1.0000          .0000       5.0000    
     3 'Normalizat'    1.1246       1.0000         .10000E-01   10.000    
     4 'Prefactor '    .99832       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=   7028.420     FROM MIGRAD    STATUS=CONVERGED     51 CALLS      242 TOTAL
                     EDM=   .13E-07    STRATEGY= 1      ERR MATRIX NOT POS-DEF

  EXT PARAMETER                APPROXIMATE        STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  norm          1.9857        20.072        .73461E-03    .24536E-02
   2  alpha         3.1742        3.9870        .24185        .74573E-04
   3  Normalizat    1.1248        .90549E-01    .64171E-01    .11850E-04
   4  Prefactor     .99831        .59150E-01    .46246E-01    .72985E-05
                               ERR DEF=  .500    
Final values: 
  norm       = 1.98573
  alpha      = 3.17417
  Normalizat = 1.12475
  Prefactor  = 0.99831
 **********
 **   18 **HESSE 
 **********

 FCN=   7028.420     FROM HESSE     STATUS=OK            33 CALLS      275 TOTAL
                     EDM=   .12E-07    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  norm          1.9857        2.9730        .14692E-03   -1.5426    
   2  alpha         3.1742        .88389        .97103E-02    .27305    
   3  Normalizat    1.1248        .22488        .28386E-03   -.88961    
   4  Prefactor     .99831        .16895        .22680E-03   -.92786    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 1.22407e-08
Minuit parameter uncertainties:
  1  2.97325
  2  0.905056
  3  0.225074
  4  0.169042
shell-init: error retrieving current directory: getcwd: cannot access parent directories: No such file or directory
rmdir: failed to remove `/scratch/kocevski/615657': 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) = 7028.42027303
delta logL = 0.990230279321

Extracting fit parameters...

4FGL J1434.7+1950
   Spectrum: LogParabola
234         norm:  1.986e+00  2.973e+00  1.000e-04  1.000e+04 ( 1.000e-12)
235        alpha:  3.174e+00  9.051e-01  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:  9.983e-01  1.690e-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.125e+00  2.251e-01  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Free Index): 5.70
Ra Dec: 218.675 19.848
Photon Index (Free Index): 3.17 +/- 0.91
Photon Flux (Free Index): 9.82e-08 +/- 5.79e-08
Energy Flux (Free Index): 2.05e-05 +/- 1.16e-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/615657/cmap_HighResolution_593913601_594172801_4FGL_J1434.7+1950_daily_bin1368.png

Cleaning up...

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

Updating database...

UPDATE lightcurve_data_v2 SET energy_flux_upper_limit='5.21e-05', comment='SUCCESS', photon_flux='5.13e-08', energy_flux2='2.05e-05', photon_flux_error='3.46e-08', dlogl='9.90e-01', energy_flux='2.13e-05', photon_flux2='9.82e-08', job_status='DONE', time_completed='2021-09-10 00:42:53.128630', photon_index_error2='0.91', photon_index2='3.17', ts='3.70', fit_tolerance='1e-08', GAL='0.98', photon_index_error='0.00', photon_flux_upper_limit='1.26e-07', energy_flux_error2='1.16e-05', EG='1.17', time_epoch_completed='1631259773.13', return_code='0', job_id='615657', GAL2='1.00', EG2='1.12', return_code2='0', energy_flux_error='1.44e-05', photon_flux_error2='5.79e-08', ts2='5.70', photon_index='2.27' WHERE bin_id='1368' AND source_name='4FGL J1434.7+1950' AND cadence='daily';

Database successfully updated.


Analysis Complete.


Fri Sep 10 00:42:53 PDT 2021


------------------------------------------------------------
Sender: LSF System <lsf@bullet0057>
Subject: Job 615657: <4FGL_J1434.7+1950_daily_bin1368> in cluster <slac> Done

Job <4FGL_J1434.7+1950_daily_bin1368> was submitted from host <rhel6-64f> by user <kocevski> in cluster <slac> at Fri Sep 10 00:30:57 2021
Job was executed on host(s) <bullet0057>, in queue <medium>, as user <kocevski> in cluster <slac> at Fri Sep 10 00:30:59 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:30:59 2021
Terminated at Fri Sep 10 00:42:53 2021
Results reported at Fri Sep 10 00:42:53 2021

Your job looked like:

------------------------------------------------------------
# LSBATCH: User input
/nfs/farm/g/glast/g/LCRepository/Likelihood/Scripts/LikelihoodAnalysis.py 4FGL_J1434.7+1950_daily_bin1368 218.675 19.8478 593913601 594172801 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 :                                   589.02 sec.
    Max Memory :                                 1256 MB
    Average Memory :                             278.09 MB
    Total Requested Memory :                     -
    Delta Memory :                               -
    Max Swap :                                   -
    Max Processes :                              5
    Max Threads :                                21
    Run time :                                   721 sec.
    Turnaround time :                            716 sec.

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

