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


Performing analysis on: 4FGL_J1434.7+1950_daily_bin1098
RA = 218.675, Dec = 19.8478
tmin = 523929601, tmax = 524188801
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='614498', job_status='RUN', time_executed='2021-09-10 00:28:38.547785', time_epoch_executed='1631258918.55' WHERE source_name='4FGL J1434.7+1950' and cadence='daily' and bin_id='1098'

Database successfully updated.
Done.

Creating custom output directory:
/scratch/kocevski/614498

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

Retrieving the FT1 file...

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

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

Retrieving 46 files...
Done.


Merging files...

Checksum keywords updated successfully.

Merged file saved to:
/scratch/kocevski/614498/ft1_4FGL_J1434.7+1950_daily_bin1098.fits


Retrieving the FT1 file...

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

Retrieving 46 files...
Done.


Merging files...

Merged file saved to:
/scratch/kocevski/614498/ft2_4FGL_J1434.7+1950_daily_bin1098.fits


Selecting the photons:
time -p gtselect infile=/scratch/kocevski/614498/ft1_4FGL_J1434.7+1950_daily_bin1098.fits outfile=/scratch/kocevski/614498/ft1_filteredMKT_4FGL_J1434.7+1950_daily_bin1098.fits ra=218.675 dec=19.8478 rad=12.0 tmin=523929601.0 tmax=524188801.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.45
user 3.24
sys 0.19

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

Selecting the good time intervals:
time -p gtmktime scfile=/scratch/kocevski/614498/ft2_4FGL_J1434.7+1950_daily_bin1098.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/614498/ft1_filteredMKT_4FGL_J1434.7+1950_daily_bin1098.fits evtable="EVENTS" outfile="/scratch/kocevski/614498/ft1_filtered_4FGL_J1434.7+1950_daily_bin1098.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.48
user 0.31
sys 0.15

Generating the livetime cube:
time -p gtltcube evfile="/scratch/kocevski/614498/ft1_filtered_4FGL_J1434.7+1950_daily_bin1098.fits" evtable="EVENTS" scfile=/scratch/kocevski/614498/ft2_4FGL_J1434.7+1950_daily_bin1098.fits sctable="SC_DATA" outfile=/scratch/kocevski/614498/ltcube_523929601_524188801_4FGL_J1434.7+1950_daily_bin1098.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/614498/ft2_4FGL_J1434.7+1950_daily_bin1098.fits
.....................!
real 11.84
user 11.49
sys 0.31

Generating the exposure map:
time -p gtexpmap evfile=/scratch/kocevski/614498/ft1_filtered_4FGL_J1434.7+1950_daily_bin1098.fits evtable="EVENTS" scfile=/scratch/kocevski/614498/ft2_4FGL_J1434.7+1950_daily_bin1098.fits sctable="SC_DATA" expcube=/scratch/kocevski/614498/ltcube_523929601_524188801_4FGL_J1434.7+1950_daily_bin1098.fits outfile=/scratch/kocevski/614498/expmap_523929601_524188801_4FGL_J1434.7+1950_daily_bin1098.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/614498/ltcube_523929601_524188801_4FGL_J1434.7+1950_daily_bin1098.fits
.....................!
real 191.04
user 186.27
sys 4.45

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/614498/ft1_filtered_4FGL_J1434.7+1950_daily_bin1098.fits scfile=/scratch/kocevski/614498/ft2_4FGL_J1434.7+1950_daily_bin1098.fits outfile=/scratch/kocevski/614498/cmap_523929601_524188801_4FGL_J1434.7+1950_daily_bin1098.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.16

Creating the high resolution counts map:
time -p gtbin evfile=/scratch/kocevski/614498/ft1_filtered_4FGL_J1434.7+1950_daily_bin1098.fits scfile=/scratch/kocevski/614498/ft2_4FGL_J1434.7+1950_daily_bin1098.fits outfile=/scratch/kocevski/614498/cmap_HighResolution_523929601_524188801_4FGL_J1434.7+1950_daily_bin1098.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.54
user 0.37
sys 0.15

Computing the diffuse response:
time -p gtdiffrsp evfile=/scratch/kocevski/614498/ft1_filtered_4FGL_J1434.7+1950_daily_bin1098.fits evtable="EVENTS" scfile=/scratch/kocevski/614498/ft2_4FGL_J1434.7+1950_daily_bin1098.fits sctable="SC_DATA" srcmdl=/scratch/kocevski/614498/Model_4FGL_J1434.7+1950_daily_bin1098.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/614498/ft1_filtered_4FGL_J1434.7+1950_daily_bin1098.fits.....................!
real 49.09
user 47.74
sys 1.20

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

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

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

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'Prefactor '    .10014E-03   1.0000         .10000E-03   10000.    
     2 'Prefactor '    .10003E-03   1.0000         .10000E-03   10000.    
     3 'Prefactor '    44.951       1.0000         .10000E-03   10000.    
     4 'Prefactor '    .10021E-03   1.0000         .10000E-03   10000.    
     5 'norm      '    6.9475       1.0000         .10000E-03   10000.    
     6 'Prefactor '    .10077E-03   1.0000         .10000E-03   10000.    
     7 'norm      '    2.2233       1.0000         .10000E-03   10000.    
     8 'norm      '    3.4186       1.0000         .10000E-03   10000.    
     9 'Prefactor '    .10240E-03   1.0000         .10000E-03   10000.    
    10 'Prefactor '    .13649       1.0000         .10000E-03   10000.    
    11 'Prefactor '    17.096       1.0000         .10000E-03   10000.    
    12 'Prefactor '    3.6487       1.0000         .10000E-03   10000.    
    13 'Prefactor '    .10004E-03   1.0000         .10000E-03   10000.    
    14 'Prefactor '    .10001E-03   1.0000         .10000E-03   10000.    
    15 'Prefactor '    .10008E-03   1.0000         .10000E-03   10000.    
    16 'norm      '    2.0794       1.0000         .10000E-03   10000.    
    17 'norm      '    30.705       1.0000         .10000E-03   10000.    
    18 'Prefactor '    2.3576       1.0000         .10000E-03   10000.    
    19 'Prefactor '    .10001E-03   1.0000         .10000E-03   10000.    
    20 'Normalizat'    1.2950       1.0000         .10000E-01   10.000    
    21 'Prefactor '    .70824       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=   6392.158     FROM MIGRAD    STATUS=CONVERGED    470 CALLS     2526 TOTAL
                     EDM=   .11E-08  STRATEGY=1  ERROR MATRIX UNCERTAINTY=   .5%

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor     .10000E-03    8.4510       -.94938E-08** at limit **
   2  Prefactor     .10000E-03    2.9809        .71635E-07** at limit **
   3  Prefactor     44.943        35.186        .14002E-05   -.12635E-04
   4  Prefactor     .10000E-03    3.9333        .54500E-07** at limit **
   5  norm          6.9472        2.7400        .17622E-06    .34940E-05
   6  Prefactor     .10000E-03    6.1560        .28557E-06** at limit **
   7  norm          2.2235        1.9121        .21805E-06    .41503E-04
   8  norm          3.4181        3.5372        .24944E-06   -.30810E-03
   9  Prefactor     .10000E-03    82.956        .43391E-06** at limit **
  10  Prefactor     .81781E-01    19.782       -.29742E-05    .48579E-03
  11  Prefactor     17.092        22.957        .59939E-05   -.96256E-05
  12  Prefactor     3.6501        7.0185       -.44805E-06   -.10884E-03
  13  Prefactor     .10000E-03    13.134        .31215E-08** at limit **
  14  Prefactor     .10000E-03    10.389        .15198E-06** at limit **
  15  Prefactor     .10000E-03    3.7726       -.26402E-07** at limit **
  16  norm          2.0794        .37220       -.39076E-08   -.27217E-03
  17  norm          30.706        33.362       -.27206E-05   -.98849E-05
  18  Prefactor     2.3180        194.25        .16156E-03   -.84058E-05
  19  Prefactor     .10000E-03    3.2271       -.39744E-07** at limit **
  20  Normalizat    1.2951        .18073       -.23113E-05   -.20301E-03
  21  Prefactor     .70826        .13528       -.30297E-05   -.27394E-03
                               ERR DEF=  .500    
Final values: 
  Prefactor  = 0.0001
  Prefactor  = 0.0001
  Prefactor  = 44.9435
  Prefactor  = 0.0001
  norm       = 6.94723
  Prefactor  = 0.0001
  norm       = 2.22349
  norm       = 3.41809
  Prefactor  = 0.000100001
  Prefactor  = 0.0817807
  Prefactor  = 17.0921
  Prefactor  = 3.65014
  Prefactor  = 0.0001
  Prefactor  = 0.0001
  Prefactor  = 0.0001
  norm       = 2.07938
  norm       = 30.7061
  Prefactor  = 2.31799
  Prefactor  = 0.0001
  Normalizat = 1.2951
  Prefactor  = 0.708261
 **********
 **   18 **HESSE 
 **********

 FCN=   6392.158     FROM HESSE     STATUS=OK           325 CALLS     2851 TOTAL
                     EDM=   .39E-08    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  Prefactor     .10000E-03    8.4925        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   2  Prefactor     .10000E-03    2.9919        .13480E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   3  Prefactor     44.943        35.215        .59799E-04   -1.4366    
   4  Prefactor     .10000E-03    3.9567        .15479E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   5  norm          6.9472        2.7406        .80630E-04   -1.5181    
   6  Prefactor     .10000E-03    6.3139        .36285E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   7  norm          2.2235        1.9063        .99281E-04   -1.5410    
   8  norm          3.4181        3.5284        .14781E-03   -1.5338    
   9  Prefactor     .10000E-03    83.798        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  10  Prefactor     .81781E-01    26.055        .95530E-01   -1.5651    
  11  Prefactor     17.092        22.967        .96866E-04   -1.4881    
  12  Prefactor     3.6501        7.0023        .21148E-03   -1.5326    
  13  Prefactor     .10000E-03    13.168        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  14  Prefactor     .10000E-03    10.393        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  15  Prefactor     .10000E-03    3.8051        .15164E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  16  norm          2.0794        .37271        .19969E-04   -1.5420    
  17  norm          30.706        33.365        .72307E-04   -1.4599    
  18  Prefactor     2.3180        191.68        .26693E-03   -1.5403    
  19  Prefactor     .10000E-03    3.2312        .14027E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  20  Normalizat    1.2951        .21440        .23750E-03   -.83713    
  21  Prefactor     .70826        .15996        .23241E-03   -1.0320    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 3.92993e-09
Minuit parameter uncertainties:
  1  3.50117e-05
  2  1.15777e-05
  3  35.2316
  4  1.94767e-05
  5  2.74065
  6  7.11724e-05
  7  1.90639
  8  3.52858
  9  0.000447104
  10  2.91892
  11  22.9793
  12  7.00383
  13  3.60079e-05
  14  3.20622e-07
  15  1.135e-05
  16  0.372711
  17  33.3857
  18  42.2968
  19  3.98234e-06
  20  0.214543
  21  0.160062
Done.

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

Extracting fit parameters...

4FGL J1434.7+1950
   Spectrum: LogParabola
234         norm:  2.223e+00  1.906e+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:  7.083e-01  1.601e-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.295e+00  2.145e-01  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Fixed Index): 3.05
Ra Dec: 218.675 19.848
Photon Index (Fixed Index): 2.27 +/- 0.00
Photon Flux (Fixed Index): 2.49e-08 +/- 2.13e-08
Energy Flux (Fixed Index): 1.03e-05 +/- 8.86e-06

TS (Fixed Index): 3.05
Ra Dec: 218.675 19.848
Photon Flux Upper Limit: 8.02e-08 ph cm-2 s-1
Energy Flux Upper Limit: 3.33e-05 MeV cm-2 s-1

Saving results to:
/scratch/kocevski/614498/likelihoodResults_523929601_524188801_4FGL_J1434.7+1950_daily_bin1098.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) = 6392.10599812
delta logL = 0.0522105468654

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

MINUIT Return Code (Free Index): 0
logL (Free Index) = 6392.10069834
delta logL = 0.0575103237024

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'norm      '    2.4323       1.0000         .10000E-03   10000.    
     2 'alpha     '    1.9357       1.0000          .0000       5.0000    
     3 'Normalizat'    1.3028       1.0000         .10000E-01   10.000    
     4 'Prefactor '    .70570       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=   6392.101     FROM MIGRAD    STATUS=CONVERGED     51 CALLS      200 TOTAL
                     EDM=   .72E-11    STRATEGY= 1      ERR MATRIX NOT POS-DEF

  EXT PARAMETER                APPROXIMATE        STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  norm          2.4328        79.845        .65594E-02    .24017E-04
   2  alpha         1.9356        3.8031        .42561        .18408E-05
   3  Normalizat    1.3028        .12932        .53586E-01    .27024E-05
   4  Prefactor     .70574        .63190E-01    .42477E-01    .17607E-04
                               ERR DEF=  .500    
Final values: 
  norm       = 2.43278
  alpha      = 1.93556
  Normalizat = 1.30276
  Prefactor  = 0.705739
 **********
 **   18 **HESSE 
 **********

 FCN=   6392.101     FROM HESSE     STATUS=OK            33 CALLS      233 TOTAL
                     EDM=   .34E-13    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  norm          2.4328        2.1730        .10808E-03   -1.5396    
   2  alpha         1.9356        .93674        .23194E-01   -.22774    
   3  Normalizat    1.3028        .21234        .23693E-03   -.83484    
   4  Prefactor     .70574        .15891        .23282E-03   -1.0330    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 3.43215e-14
Minuit parameter uncertainties:
  1  2.17309
  2  0.961522
  3  0.212484
  4  0.159013
shell-init: error retrieving current directory: getcwd: cannot access parent directories: No such file or directory
rmdir: failed to remove `/scratch/kocevski/614498': 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) = 6392.10069826
delta logL = 0.0575104042973

Extracting fit parameters...

4FGL J1434.7+1950
   Spectrum: LogParabola
234         norm:  2.433e+00  2.173e+00  1.000e-04  1.000e+04 ( 1.000e-12)
235        alpha:  1.936e+00  9.615e-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:  7.057e-01  1.590e-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.303e+00  2.125e-01  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Free Index): 3.16
Ra Dec: 218.675 19.848
Photon Index (Free Index): 1.94 +/- 0.96
Photon Flux (Free Index): 1.76e-08 +/- 2.40e-08
Energy Flux (Free Index): 1.18e-05 +/- 1.25e-05

Creating a high resolution counts map...
INFO: Auto-setting vmin to  0.000e+00 [aplpy.core]
INFO: Auto-setting vmax to  0.000e+00 [aplpy.core]
Saving /scratch/kocevski/614498/cmap_HighResolution_523929601_524188801_4FGL_J1434.7+1950_daily_bin1098.png

Cleaning up...

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

Updating database...

UPDATE lightcurve_data_v2 SET energy_flux_upper_limit='3.33e-05', comment='SUCCESS', photon_flux='2.49e-08', energy_flux2='1.18e-05', photon_flux_error='2.13e-08', dlogl='5.75e-02', energy_flux='1.03e-05', photon_flux2='1.76e-08', job_status='DONE', time_completed='2021-09-10 00:38:45.228486', photon_index_error2='0.96', photon_index2='1.94', ts='3.05', fit_tolerance='1e-08', GAL='0.71', photon_index_error='0.00', photon_flux_upper_limit='8.02e-08', energy_flux_error2='1.25e-05', EG='1.30', time_epoch_completed='1631259525.23', return_code='0', job_id='614498', GAL2='0.71', EG2='1.30', return_code2='0', energy_flux_error='8.86e-06', photon_flux_error2='2.40e-08', ts2='3.16', photon_index='2.27' WHERE bin_id='1098' AND source_name='4FGL J1434.7+1950' AND cadence='daily';

Database successfully updated.


Analysis Complete.


Fri Sep 10 00:38:45 PDT 2021


------------------------------------------------------------
Sender: LSF System <lsf@bullet0275>
Subject: Job 614498: <4FGL_J1434.7+1950_daily_bin1098> in cluster <slac> Done

Job <4FGL_J1434.7+1950_daily_bin1098> was submitted from host <rhel6-64f> by user <kocevski> in cluster <slac> at Fri Sep 10 00:26:09 2021
Job was executed on host(s) <bullet0275>, in queue <medium>, as user <kocevski> in cluster <slac> at Fri Sep 10 00:26:10 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:10 2021
Terminated at Fri Sep 10 00:38:45 2021
Results reported at Fri Sep 10 00:38:45 2021

Your job looked like:

------------------------------------------------------------
# LSBATCH: User input
/nfs/farm/g/glast/g/LCRepository/Likelihood/Scripts/LikelihoodAnalysis.py 4FGL_J1434.7+1950_daily_bin1098 218.675 19.8478 523929601 524188801 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 :                                   601.17 sec.
    Max Memory :                                 1094 MB
    Average Memory :                             272.27 MB
    Total Requested Memory :                     -
    Delta Memory :                               -
    Max Swap :                                   -
    Max Processes :                              5
    Max Threads :                                21
    Run time :                                   755 sec.
    Turnaround time :                            756 sec.

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

