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


Performing analysis on: 4FGL_J1434.7+1950_daily_bin1066
RA = 218.675, Dec = 19.8478
tmin = 515635201, tmax = 515894401
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='614466', job_status='RUN', time_executed='2021-09-10 00:28:10.934498', time_epoch_executed='1631258890.93' WHERE source_name='4FGL J1434.7+1950' and cadence='daily' and bin_id='1066'

Database successfully updated.
Done.

Creating custom output directory:
/scratch/kocevski/614466

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

Retrieving the FT1 file...

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

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

Retrieving 47 files...
Done.


Merging files...

Checksum keywords updated successfully.

Merged file saved to:
/scratch/kocevski/614466/ft1_4FGL_J1434.7+1950_daily_bin1066.fits


Retrieving the FT1 file...

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

Retrieving 47 files...
Done.


Merging files...

Merged file saved to:
/scratch/kocevski/614466/ft2_4FGL_J1434.7+1950_daily_bin1066.fits


Selecting the photons:
time -p gtselect infile=/scratch/kocevski/614466/ft1_4FGL_J1434.7+1950_daily_bin1066.fits outfile=/scratch/kocevski/614466/ft1_filteredMKT_4FGL_J1434.7+1950_daily_bin1066.fits ra=218.675 dec=19.8478 rad=12.0 tmin=515635201.0 tmax=515894401.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.43
user 3.20
sys 0.20

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

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

Generating the livetime cube:
time -p gtltcube evfile="/scratch/kocevski/614466/ft1_filtered_4FGL_J1434.7+1950_daily_bin1066.fits" evtable="EVENTS" scfile=/scratch/kocevski/614466/ft2_4FGL_J1434.7+1950_daily_bin1066.fits sctable="SC_DATA" outfile=/scratch/kocevski/614466/ltcube_515635201_515894401_4FGL_J1434.7+1950_daily_bin1066.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/614466/ft2_4FGL_J1434.7+1950_daily_bin1066.fits
.....................!
real 11.61
user 11.26
sys 0.32

Generating the exposure map:
time -p gtexpmap evfile=/scratch/kocevski/614466/ft1_filtered_4FGL_J1434.7+1950_daily_bin1066.fits evtable="EVENTS" scfile=/scratch/kocevski/614466/ft2_4FGL_J1434.7+1950_daily_bin1066.fits sctable="SC_DATA" expcube=/scratch/kocevski/614466/ltcube_515635201_515894401_4FGL_J1434.7+1950_daily_bin1066.fits outfile=/scratch/kocevski/614466/expmap_515635201_515894401_4FGL_J1434.7+1950_daily_bin1066.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/614466/ltcube_515635201_515894401_4FGL_J1434.7+1950_daily_bin1066.fits
.....................!
real 191.52
user 186.29
sys 4.87

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/614466/ft1_filtered_4FGL_J1434.7+1950_daily_bin1066.fits scfile=/scratch/kocevski/614466/ft2_4FGL_J1434.7+1950_daily_bin1066.fits outfile=/scratch/kocevski/614466/cmap_515635201_515894401_4FGL_J1434.7+1950_daily_bin1066.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/614466/ft1_filtered_4FGL_J1434.7+1950_daily_bin1066.fits scfile=/scratch/kocevski/614466/ft2_4FGL_J1434.7+1950_daily_bin1066.fits outfile=/scratch/kocevski/614466/cmap_HighResolution_515635201_515894401_4FGL_J1434.7+1950_daily_bin1066.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.16

Computing the diffuse response:
time -p gtdiffrsp evfile=/scratch/kocevski/614466/ft1_filtered_4FGL_J1434.7+1950_daily_bin1066.fits evtable="EVENTS" scfile=/scratch/kocevski/614466/ft2_4FGL_J1434.7+1950_daily_bin1066.fits sctable="SC_DATA" srcmdl=/scratch/kocevski/614466/Model_4FGL_J1434.7+1950_daily_bin1066.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/614466/ft1_filtered_4FGL_J1434.7+1950_daily_bin1066.fits.....................!
real 42.50
user 41.10
sys 1.23

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

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

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

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'Prefactor '    .10044E-03   1.0000         .10000E-03   10000.    
     2 'Prefactor '    22.455       1.0000         .10000E-03   10000.    
     3 'Prefactor '    .10000E-03   1.0000         .10000E-03   10000.    
     4 'Prefactor '    9.7886       1.0000         .10000E-03   10000.    
     5 'norm      '    6.0045       1.0000         .10000E-03   10000.    
     6 'Prefactor '    .13113E-03   1.0000         .10000E-03   10000.    
     7 'norm      '    12.303       1.0000         .10000E-03   10000.    
     8 'norm      '    5.8740       1.0000         .10000E-03   10000.    
     9 'Prefactor '    18.550       1.0000         .10000E-03   10000.    
    10 'Prefactor '    13.448       1.0000         .10000E-03   10000.    
    11 'Prefactor '    .10025E-03   1.0000         .10000E-03   10000.    
    12 'Prefactor '    16.813       1.0000         .10000E-03   10000.    
    13 'Prefactor '    .10001E-03   1.0000         .10000E-03   10000.    
    14 'Prefactor '    .10012E-03   1.0000         .10000E-03   10000.    
    15 'Prefactor '    .10000E-03   1.0000         .10000E-03   10000.    
    16 'norm      '    .40187       1.0000         .10000E-03   10000.    
    17 'norm      '    30.325       1.0000         .10000E-03   10000.    
    18 'Prefactor '    48.116       1.0000         .10000E-03   10000.    
    19 'Prefactor '    .10000E-03   1.0000         .10000E-03   10000.    
    20 'Normalizat'    .64621       1.0000         .10000E-01   10.000    
    21 'Prefactor '    .95631       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=   5448.040     FROM MIGRAD    STATUS=CONVERGED    420 CALLS     2168 TOTAL
                     EDM=   .56E-09  STRATEGY=1  ERROR MATRIX UNCERTAINTY=   .3%

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor     .10000E-03    16.905        .44448E-06** at limit **
   2  Prefactor     22.458        12.177        .35970E-06    .64580E-04
   3  Prefactor     .10000E-03    10.940       -.30716E-05** at limit **
   4  Prefactor     9.7861        8.0881       -.54150E-07    .64478E-03
   5  norm          6.0045        2.8346       -.11730E-06    .75288E-04
   6  Prefactor     .10004E-03    5.7246       -.23008E-05** at limit **
   7  norm          12.303        3.8561       -.39106E-07    .62751E-03
   8  norm          5.8741        4.4637       -.43263E-06   -.13512E-03
   9  Prefactor     18.549        34.162       -.13495E-05   -.16024E-05
  10  Prefactor     13.448        13.158        .30679E-06    .74907E-04
  11  Prefactor     .10000E-03    17.539       -.40306E-05** at limit **
  12  Prefactor     16.814        14.095        .62643E-06    .43136E-04
  13  Prefactor     .10000E-03    8.0074        .68557E-06** at limit **
  14  Prefactor     .10000E-03    16.092        .11708E-04** at limit **
  15  Prefactor     .10000E-03    3.1136        .24927E-07** at limit **
  16  norm          .40186        .20177       -.23138E-07    .43158E-03
  17  norm          30.290        43.267       -.56032E-04    .30712E-05
  18  Prefactor     48.105        44.938       -.14389E-04    .19614E-04
  19  Prefactor     .10000E-03    3.4410       -.30383E-07** at limit **
  20  Normalizat    .64582        .17892       -.88754E-06    .41017E-03
  21  Prefactor     .95660        .13755        .32399E-05    .11545E-03
                               ERR DEF=  .500    
Final values: 
  Prefactor  = 0.0001
  Prefactor  = 22.4578
  Prefactor  = 0.0001
  Prefactor  = 9.78614
  norm       = 6.00446
  Prefactor  = 0.000100035
  norm       = 12.3026
  norm       = 5.87412
  Prefactor  = 18.5493
  Prefactor  = 13.4484
  Prefactor  = 0.0001
  Prefactor  = 16.8142
  Prefactor  = 0.0001
  Prefactor  = 0.0001
  Prefactor  = 0.0001
  norm       = 0.401861
  norm       = 30.2902
  Prefactor  = 48.1046
  Prefactor  = 0.0001
  Normalizat = 0.645816
  Prefactor  = 0.956599
 **********
 **   18 **HESSE 
 **********

 FCN=   5448.040     FROM HESSE     STATUS=OK           319 CALLS     2487 TOTAL
                     EDM=   .29E-08    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  Prefactor     .10000E-03    17.226        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   2  Prefactor     22.458        12.205        .84528E-04   -1.4760    
   3  Prefactor     .10000E-03    10.952        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   4  Prefactor     9.7861        7.7404        .12808E-03   -1.5082    
   5  norm          6.0045        2.8347        .82628E-04   -1.5218    
   6  Prefactor     .10004E-03    17.638        .32023E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   7  norm          12.303        3.8394        .77397E-04   -1.5006    
   8  norm          5.8741        4.4612        .13098E-03   -1.5223    
   9  Prefactor     18.549        34.335        .92994E-04   -1.4846    
  10  Prefactor     13.448        13.152        .10922E-03   -1.4974    
  11  Prefactor     .10000E-03    17.601        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  12  Prefactor     16.814        14.090        .97677E-04   -1.4888    
  13  Prefactor     .10000E-03    8.0239        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  14  Prefactor     .10000E-03    16.105        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  15  Prefactor     .10000E-03    3.1276        .12719E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  16  norm          .40186        .20105        .22758E-04   -1.5581    
  17  norm          30.290        43.276        .72758E-04   -1.4607    
  18  Prefactor     48.105        45.035        .57808E-04   -1.4320    
  19  Prefactor     .10000E-03    3.4477        .13372E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  20  Normalizat    .64582        .20927        .28806E-03   -1.0607    
  21  Prefactor     .95660        .16259        .18881E-03   -.94190    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 2.93405e-09
Minuit parameter uncertainties:
  1  7.83559e-05
  2  12.2064
  3  1.18409e-05
  4  7.7412
  5  2.83478
  6  0.0015789
  7  3.83952
  8  4.46145
  9  34.3713
  10  13.155
  11  2.96905e-05
  12  14.0932
  13  1.23827e-07
  14  1.17833e-05
  15  1.10643e-06
  16  0.201046
  17  43.3212
  18  45.0673
  19  1.23865e-06
  20  0.209525
  21  0.162677
Done.

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

Extracting fit parameters...

4FGL J1434.7+1950
   Spectrum: LogParabola
234         norm:  1.230e+01  3.840e+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.566e-01  1.627e-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:  6.458e-01  2.095e-01  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Fixed Index): 33.45
Ra Dec: 218.675 19.848
Photon Index (Fixed Index): 2.27 +/- 0.00
Photon Flux (Fixed Index): 1.38e-07 +/- 4.30e-08
Energy Flux (Fixed Index): 5.72e-05 +/- 1.78e-05

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) = 5448.03040756
delta logL = 0.00934987957953

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

MINUIT Return Code (Free Index): 0
logL (Free Index) = 5448.02386356
delta logL = 0.0158938740396

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'norm      '    12.832       1.0000         .10000E-03   10000.    
     2 'alpha     '    2.2118       1.0000          .0000       5.0000    
     3 'Normalizat'    .65138       1.0000         .10000E-01   10.000    
     4 'Prefactor '    .95432       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=   5448.024     FROM MIGRAD    STATUS=CONVERGED     45 CALLS      202 TOTAL
                     EDM=   .24E-08    STRATEGY= 1      ERR MATRIX NOT POS-DEF

  EXT PARAMETER                APPROXIMATE        STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  norm          12.832        59.345        .27955E-02   -.25726E-04
   2  alpha         2.2118        3.6022        .16912        .33034E-04
   3  Normalizat    .65138        .17906        .64867E-01    .88157E-05
   4  Prefactor     .95432        .92735E-01    .45694E-01    .10714E-04
                               ERR DEF=  .500    
Final values: 
  norm       = 12.8321
  alpha      = 2.21178
  Normalizat = 0.651376
  Prefactor  = 0.954318
 **********
 **   18 **HESSE 
 **********

 FCN=   5448.024     FROM HESSE     STATUS=OK            33 CALLS      235 TOTAL
                     EDM=   .43E-11    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  norm          12.832        5.0460        .79934E-04   -1.4991    
   2  alpha         2.2118        .33263        .70329E-02   -.11555    
   3  Normalizat    .65138        .20293        .28701E-03   -1.0584    
   4  Prefactor     .95432        .15912        .18905E-03   -.94268    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 4.33635e-12
Minuit parameter uncertainties:
  1  5.0462
  2  0.333628
  3  0.203163
  4  0.1592
shell-init: error retrieving current directory: getcwd: cannot access parent directories: No such file or directory
rmdir: failed to remove `/scratch/kocevski/614466': 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) = 5448.02386356
delta logL = 0.0158938741897

Extracting fit parameters...

4FGL J1434.7+1950
   Spectrum: LogParabola
234         norm:  1.283e+01  5.046e+00  1.000e-04  1.000e+04 ( 1.000e-12)
235        alpha:  2.212e+00  3.336e-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.543e-01  1.592e-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:  6.514e-01  2.032e-01  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Free Index): 33.37
Ra Dec: 218.675 19.848
Photon Index (Free Index): 2.21 +/- 0.33
Photon Flux (Free Index): 1.32e-07 +/- 5.12e-08
Energy Flux (Free Index): 5.91e-05 +/- 2.20e-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/614466/cmap_HighResolution_515635201_515894401_4FGL_J1434.7+1950_daily_bin1066.png

Cleaning up...

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

Updating database...

UPDATE lightcurve_data_v2 SET comment='SUCCESS', photon_flux='1.38e-07', energy_flux2='5.91e-05', photon_flux_error='4.30e-08', dlogl='1.59e-02', energy_flux='5.72e-05', photon_flux2='1.32e-07', job_status='DONE', time_completed='2021-09-10 00:36:22.396273', photon_index_error2='0.33', photon_index2='2.21', ts='33.45', fit_tolerance='1e-08', GAL='0.96', photon_index_error='0.00', energy_flux_error2='2.20e-05', EG='0.65', time_epoch_completed='1631259382.4', return_code='0', job_id='614466', GAL2='0.95', EG2='0.65', return_code2='0', energy_flux_error='1.78e-05', photon_flux_error2='5.12e-08', ts2='33.37', photon_index='2.27' WHERE bin_id='1066' AND source_name='4FGL J1434.7+1950' AND cadence='daily';

Database successfully updated.


Analysis Complete.


Fri Sep 10 00:36:22 PDT 2021


------------------------------------------------------------
Sender: LSF System <lsf@bullet0043>
Subject: Job 614466: <4FGL_J1434.7+1950_daily_bin1066> in cluster <slac> Done

Job <4FGL_J1434.7+1950_daily_bin1066> 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) <bullet0043>, 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:36:23 2021
Results reported at Fri Sep 10 00:36:23 2021

Your job looked like:

------------------------------------------------------------
# LSBATCH: User input
/nfs/farm/g/glast/g/LCRepository/Likelihood/Scripts/LikelihoodAnalysis.py 4FGL_J1434.7+1950_daily_bin1066 218.675 19.8478 515635201 515894401 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 :                                   487.39 sec.
    Max Memory :                                 1256 MB
    Average Memory :                             346.84 MB
    Total Requested Memory :                     -
    Delta Memory :                               -
    Max Swap :                                   -
    Max Processes :                              5
    Max Threads :                                21
    Run time :                                   615 sec.
    Turnaround time :                            618 sec.

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

