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


Performing analysis on: 4FGL_J1434.7+1950_daily_bin1036
RA = 218.675, Dec = 19.8478
tmin = 507859201, tmax = 508118401
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='614435', job_status='RUN', time_executed='2021-09-10 00:28:27.160241', time_epoch_executed='1631258907.16' WHERE source_name='4FGL J1434.7+1950' and cadence='daily' and bin_id='1036'

Database successfully updated.
Done.

Creating custom output directory:
/scratch/kocevski/614435

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

Retrieving the FT1 file...

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

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

Retrieving 46 files...
Done.


Merging files...

Checksum keywords updated successfully.

Merged file saved to:
/scratch/kocevski/614435/ft1_4FGL_J1434.7+1950_daily_bin1036.fits


Retrieving the FT1 file...

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

Retrieving 46 files...
Done.


Merging files...

Merged file saved to:
/scratch/kocevski/614435/ft2_4FGL_J1434.7+1950_daily_bin1036.fits


Selecting the photons:
time -p gtselect infile=/scratch/kocevski/614435/ft1_4FGL_J1434.7+1950_daily_bin1036.fits outfile=/scratch/kocevski/614435/ft1_filteredMKT_4FGL_J1434.7+1950_daily_bin1036.fits ra=218.675 dec=19.8478 rad=12.0 tmin=507859201.0 tmax=508118401.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 4.21
user 3.92
sys 0.22

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

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

Generating the livetime cube:
time -p gtltcube evfile="/scratch/kocevski/614435/ft1_filtered_4FGL_J1434.7+1950_daily_bin1036.fits" evtable="EVENTS" scfile=/scratch/kocevski/614435/ft2_4FGL_J1434.7+1950_daily_bin1036.fits sctable="SC_DATA" outfile=/scratch/kocevski/614435/ltcube_507859201_508118401_4FGL_J1434.7+1950_daily_bin1036.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/614435/ft2_4FGL_J1434.7+1950_daily_bin1036.fits
.....................!
real 11.92
user 11.47
sys 0.33

Generating the exposure map:
time -p gtexpmap evfile=/scratch/kocevski/614435/ft1_filtered_4FGL_J1434.7+1950_daily_bin1036.fits evtable="EVENTS" scfile=/scratch/kocevski/614435/ft2_4FGL_J1434.7+1950_daily_bin1036.fits sctable="SC_DATA" expcube=/scratch/kocevski/614435/ltcube_507859201_508118401_4FGL_J1434.7+1950_daily_bin1036.fits outfile=/scratch/kocevski/614435/expmap_507859201_508118401_4FGL_J1434.7+1950_daily_bin1036.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/614435/ltcube_507859201_508118401_4FGL_J1434.7+1950_daily_bin1036.fits
.....................!
real 190.64
user 185.30
sys 4.81

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/614435/ft1_filtered_4FGL_J1434.7+1950_daily_bin1036.fits scfile=/scratch/kocevski/614435/ft2_4FGL_J1434.7+1950_daily_bin1036.fits outfile=/scratch/kocevski/614435/cmap_507859201_508118401_4FGL_J1434.7+1950_daily_bin1036.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.38
sys 0.14

Creating the high resolution counts map:
time -p gtbin evfile=/scratch/kocevski/614435/ft1_filtered_4FGL_J1434.7+1950_daily_bin1036.fits scfile=/scratch/kocevski/614435/ft2_4FGL_J1434.7+1950_daily_bin1036.fits outfile=/scratch/kocevski/614435/cmap_HighResolution_507859201_508118401_4FGL_J1434.7+1950_daily_bin1036.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.40
sys 0.13

Computing the diffuse response:
time -p gtdiffrsp evfile=/scratch/kocevski/614435/ft1_filtered_4FGL_J1434.7+1950_daily_bin1036.fits evtable="EVENTS" scfile=/scratch/kocevski/614435/ft2_4FGL_J1434.7+1950_daily_bin1036.fits sctable="SC_DATA" srcmdl=/scratch/kocevski/614435/Model_4FGL_J1434.7+1950_daily_bin1036.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/614435/ft1_filtered_4FGL_J1434.7+1950_daily_bin1036.fits.....................!
real 55.68
user 54.16
sys 1.32

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

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

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

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'Prefactor '    10.972       1.0000         .10000E-03   10000.    
     2 'Prefactor '    .10024E-03   1.0000         .10000E-03   10000.    
     3 'Prefactor '    .10303E-03   1.0000         .10000E-03   10000.    
     4 'Prefactor '    .10000E-03   1.0000         .10000E-03   10000.    
     5 'norm      '    .10000E-03   1.0000         .10000E-03   10000.    
     6 'Prefactor '    11.038       1.0000         .10000E-03   10000.    
     7 'norm      '    5.2067       1.0000         .10000E-03   10000.    
     8 'norm      '    7.4136       1.0000         .10000E-03   10000.    
     9 'Prefactor '    .10000E-03   1.0000         .10000E-03   10000.    
    10 'Prefactor '    .10001E-03   1.0000         .10000E-03   10000.    
    11 'Prefactor '    .10001E-03   1.0000         .10000E-03   10000.    
    12 'Prefactor '    .10013E-03   1.0000         .10000E-03   10000.    
    13 'Prefactor '    .10285E-03   1.0000         .10000E-03   10000.    
    14 'Prefactor '    .38200E-03   1.0000         .10000E-03   10000.    
    15 'Prefactor '    7.3073       1.0000         .10000E-03   10000.    
    16 'norm      '    1.8047       1.0000         .10000E-03   10000.    
    17 'norm      '    .10000E-03   1.0000         .10000E-03   10000.    
    18 'Prefactor '    45.829       1.0000         .10000E-03   10000.    
    19 'Prefactor '    .10000E-03   1.0000         .10000E-03   10000.    
    20 'Normalizat'    1.0569       1.0000         .10000E-01   10.000    
    21 'Prefactor '    .98018       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=   7267.094     FROM MIGRAD    STATUS=CONVERGED    450 CALLS     2171 TOTAL
                     EDM=   .14E-09  STRATEGY=1  ERROR MATRIX UNCERTAINTY=  3.0%

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor     10.973        15.602        .18228E-05   -.46877E-04
   2  Prefactor     .10000E-03    8.2023       -.99362E-09** at limit **
   3  Prefactor     .10000E-03    49.215        .60771E-07** at limit **
   4  Prefactor     .10000E-03    1.8397       -.68472E-07** at limit **
   5  norm          .10000E-03    1.2982        .98397E-07** at limit **
   6  Prefactor     11.039        8.2275        .17743E-05   -.16010E-03
   7  norm          5.2074        3.3743       -.68684E-07   -.59517E-04
   8  norm          7.4147        5.2519        .13370E-06   -.84686E-04
   9  Prefactor     .10000E-03    11.741        .20268E-07** at limit **
  10  Prefactor     .10000E-03    11.612       -.12890E-06** at limit **
  11  Prefactor     .10000E-03    20.134       -.51296E-06** at limit **
  12  Prefactor     .10000E-03    7.9883        .53919E-07** at limit **
  13  Prefactor     .10000E-03    35.372        .11612E-07** at limit **
  14  Prefactor     .10003E-03    172.15       -.64256E-05** at limit **
  15  Prefactor     7.3081        6.8451       -.31505E-06    .31899E-04
  16  norm          1.8046        .33945       -.46451E-08    .15883E-04
  17  norm          .10000E-03    17.218        .44685E-06** at limit **
  18  Prefactor     45.828        56.328        .44096E-06   -.83911E-05
  19  Prefactor     .10000E-03    7.5642        .20029E-07** at limit **
  20  Normalizat    1.0569        .19044       -.96281E-06    .10727E-04
  21  Prefactor     .98005        .14002       -.35510E-06   -.25542E-04
                               ERR DEF=  .500    
Final values: 
  Prefactor  = 10.9728
  Prefactor  = 0.0001
  Prefactor  = 0.0001
  Prefactor  = 0.0001
  norm       = 0.0001
  Prefactor  = 11.0385
  norm       = 5.20743
  norm       = 7.41465
  Prefactor  = 0.0001
  Prefactor  = 0.0001
  Prefactor  = 0.000100001
  Prefactor  = 0.0001
  Prefactor  = 0.0001
  Prefactor  = 0.000100032
  Prefactor  = 7.30806
  norm       = 1.80464
  norm       = 0.0001
  Prefactor  = 45.8279
  Prefactor  = 0.0001
  Normalizat = 1.05691
  Prefactor  = 0.980047
 **********
 **   18 **HESSE 
 **********

 FCN=   7267.094     FROM HESSE     STATUS=OK           315 CALLS     2486 TOTAL
                     EDM=   .28E-09    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  Prefactor     10.973        15.608        .60476E-03   -1.5045    
   2  Prefactor     .10000E-03    8.2550        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   3  Prefactor     .10000E-03    50.129        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   4  Prefactor     .10000E-03    1.8424        .11294E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   5  norm          .10000E-03    2.5631        .18843E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   6  Prefactor     11.039        8.2537        .60293E-03   -1.5043    
   7  norm          5.2074        3.3698        .11925E-03   -1.5252    
   8  norm          7.4147        5.2508        .14730E-03   -1.5163    
   9  Prefactor     .10000E-03    11.746        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  10  Prefactor     .10000E-03    11.631        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  11  Prefactor     .10000E-03    20.237        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  12  Prefactor     .10000E-03    8.0396        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  13  Prefactor     .10000E-03    35.621        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  14  Prefactor     .10003E-03    178.13        .42569E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  15  Prefactor     7.3081        6.8478        .74188E-03   -1.5167    
  16  norm          1.8046        .33971        .20802E-04   -1.5439    
  17  norm          .10000E-03    17.249        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  18  Prefactor     45.828        56.524        .59226E-04   -1.4353    
  19  Prefactor     .10000E-03    7.5915        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  20  Normalizat    1.0569        .22728        .28791E-03   -.91148    
  21  Prefactor     .98005        .16837        .21992E-03   -.93398    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 2.83188e-10
Minuit parameter uncertainties:
  1  15.6141
  2  5.08112e-06
  3  3.11461e-05
  4  4.53255e-06
  5  6.158e-06
  6  8.25451
  7  3.36989
  8  5.25109
  9  3.52955e-06
  10  2.85612e-05
  11  0.000225116
  12  2.80548e-05
  13  0.000180247
  14  0.00478612
  15  6.84854
  16  0.339715
  17  0.000185738
  18  56.5903
  19  2.42931e-06
  20  0.227486
  21  0.168461
Done.

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

Extracting fit parameters...

4FGL J1434.7+1950
   Spectrum: LogParabola
234         norm:  5.207e+00  3.370e+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.800e-01  1.685e-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.057e+00  2.275e-01  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Fixed Index): 4.96
Ra Dec: 218.675 19.848
Photon Index (Fixed Index): 2.27 +/- 0.00
Photon Flux (Fixed Index): 5.83e-08 +/- 3.77e-08
Energy Flux (Fixed Index): 2.42e-05 +/- 1.57e-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) = 7266.98139271
delta logL = 0.11233572002

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

MINUIT Return Code (Free Index): 0
logL (Free Index) = 7266.97008234
delta logL = 0.123646089661

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'norm      '    4.3154       1.0000         .10000E-03   10000.    
     2 'alpha     '    2.7327       1.0000          .0000       5.0000    
     3 'Normalizat'    1.0131       1.0000         .10000E-01   10.000    
     4 'Prefactor '    .99596       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=   7266.970     FROM MIGRAD    STATUS=CONVERGED     57 CALLS      269 TOTAL
                     EDM=   .15E-07    STRATEGY= 1      ERR MATRIX NOT POS-DEF

  EXT PARAMETER                APPROXIMATE        STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  norm          4.3149        39.529        .48480E-02    .38713E-03
   2  alpha         2.7335        3.8545        .23938        .94448E-04
   3  Normalizat    1.0130        .11499        .66246E-01    .17948E-04
   4  Prefactor     .99605        .53761E-01    .46217E-01    .97902E-05
                               ERR DEF=  .500    
Final values: 
  norm       = 4.31491
  alpha      = 2.73348
  Normalizat = 1.01296
  Prefactor  = 0.99605
 **********
 **   18 **HESSE 
 **********

 FCN=   7266.970     FROM HESSE     STATUS=OK            33 CALLS      302 TOTAL
                     EDM=   .36E-10    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  norm          4.3149        4.4895        .92674E-04   -1.5292    
   2  alpha         2.7335        1.0053        .13106E-01    .93530E-01
   3  Normalizat    1.0130        .24785        .29302E-03   -.92598    
   4  Prefactor     .99605        .17156        .21822E-03   -.92861    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 3.6167e-11
Minuit parameter uncertainties:
  1  4.48988
  2  1.03482
  3  0.248129
  4  0.171652
shell-init: error retrieving current directory: getcwd: cannot access parent directories: No such file or directory
rmdir: failed to remove `/scratch/kocevski/614435': 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) = 7266.97008137
delta logL = 0.123647060801

Extracting fit parameters...

4FGL J1434.7+1950
   Spectrum: LogParabola
234         norm:  4.315e+00  4.490e+00  1.000e-04  1.000e+04 ( 1.000e-12)
235        alpha:  2.733e+00  1.035e+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:  9.961e-01  1.717e-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.013e+00  2.481e-01  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Free Index): 5.20
Ra Dec: 218.675 19.848
Photon Index (Free Index): 2.73 +/- 1.03
Photon Flux (Free Index): 9.91e-08 +/- 9.99e-08
Energy Flux (Free Index): 2.67e-05 +/- 1.51e-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/614435/cmap_HighResolution_507859201_508118401_4FGL_J1434.7+1950_daily_bin1036.png

Cleaning up...

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

Updating database...

UPDATE lightcurve_data_v2 SET comment='SUCCESS', photon_flux='5.83e-08', energy_flux2='2.67e-05', photon_flux_error='3.77e-08', dlogl='1.24e-01', energy_flux='2.42e-05', photon_flux2='9.91e-08', job_status='DONE', time_completed='2021-09-10 00:37:53.640297', photon_index_error2='1.03', photon_index2='2.73', ts='4.96', fit_tolerance='1e-08', GAL='0.98', photon_index_error='0.00', energy_flux_error2='1.51e-05', EG='1.06', time_epoch_completed='1631259473.64', return_code='0', job_id='614435', GAL2='1.00', EG2='1.01', return_code2='0', energy_flux_error='1.57e-05', photon_flux_error2='9.99e-08', ts2='5.20', photon_index='2.27' WHERE bin_id='1036' AND source_name='4FGL J1434.7+1950' AND cadence='daily';

Database successfully updated.


Analysis Complete.


Fri Sep 10 00:37:53 PDT 2021


------------------------------------------------------------
Sender: LSF System <lsf@bullet0290>
Subject: Job 614435: <4FGL_J1434.7+1950_daily_bin1036> in cluster <slac> Done

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

Your job looked like:

------------------------------------------------------------
# LSBATCH: User input
/nfs/farm/g/glast/g/LCRepository/Likelihood/Scripts/LikelihoodAnalysis.py 4FGL_J1434.7+1950_daily_bin1036 218.675 19.8478 507859201 508118401 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 :                                   563.07 sec.
    Max Memory :                                 1256 MB
    Average Memory :                             331.87 MB
    Total Requested Memory :                     -
    Delta Memory :                               -
    Max Swap :                                   -
    Max Processes :                              5
    Max Threads :                                21
    Run time :                                   709 sec.
    Turnaround time :                            711 sec.

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

