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


Performing analysis on: 4FGL_J1434.7+1950_daily_bin1506
RA = 218.675, Dec = 19.8478
tmin = 629683201, tmax = 629942401
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='615833', job_status='RUN', time_executed='2021-09-10 00:34:26.620225', time_epoch_executed='1631259266.62' WHERE source_name='4FGL J1434.7+1950' and cadence='daily' and bin_id='1506'

Database successfully updated.
Done.

Creating custom output directory:
/scratch/kocevski/615833

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

Retrieving the FT1 file...

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

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

Retrieving 47 files...
Done.


Merging files...

Checksum keywords updated successfully.

Merged file saved to:
/scratch/kocevski/615833/ft1_4FGL_J1434.7+1950_daily_bin1506.fits


Retrieving the FT1 file...

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

Retrieving 47 files...
Done.


Merging files...

Merged file saved to:
/scratch/kocevski/615833/ft2_4FGL_J1434.7+1950_daily_bin1506.fits


Selecting the photons:
time -p gtselect infile=/scratch/kocevski/615833/ft1_4FGL_J1434.7+1950_daily_bin1506.fits outfile=/scratch/kocevski/615833/ft1_filteredMKT_4FGL_J1434.7+1950_daily_bin1506.fits ra=218.675 dec=19.8478 rad=12.0 tmin=629683201.0 tmax=629942401.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.52
user 3.29
sys 0.20

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

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

Generating the livetime cube:
time -p gtltcube evfile="/scratch/kocevski/615833/ft1_filtered_4FGL_J1434.7+1950_daily_bin1506.fits" evtable="EVENTS" scfile=/scratch/kocevski/615833/ft2_4FGL_J1434.7+1950_daily_bin1506.fits sctable="SC_DATA" outfile=/scratch/kocevski/615833/ltcube_629683201_629942401_4FGL_J1434.7+1950_daily_bin1506.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/615833/ft2_4FGL_J1434.7+1950_daily_bin1506.fits
.....................!
real 11.62
user 11.24
sys 0.33

Generating the exposure map:
time -p gtexpmap evfile=/scratch/kocevski/615833/ft1_filtered_4FGL_J1434.7+1950_daily_bin1506.fits evtable="EVENTS" scfile=/scratch/kocevski/615833/ft2_4FGL_J1434.7+1950_daily_bin1506.fits sctable="SC_DATA" expcube=/scratch/kocevski/615833/ltcube_629683201_629942401_4FGL_J1434.7+1950_daily_bin1506.fits outfile=/scratch/kocevski/615833/expmap_629683201_629942401_4FGL_J1434.7+1950_daily_bin1506.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/615833/ltcube_629683201_629942401_4FGL_J1434.7+1950_daily_bin1506.fits
.....................!
real 189.50
user 185.29
sys 3.90

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/615833/ft1_filtered_4FGL_J1434.7+1950_daily_bin1506.fits scfile=/scratch/kocevski/615833/ft2_4FGL_J1434.7+1950_daily_bin1506.fits outfile=/scratch/kocevski/615833/cmap_629683201_629942401_4FGL_J1434.7+1950_daily_bin1506.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.37
sys 0.14

Creating the high resolution counts map:
time -p gtbin evfile=/scratch/kocevski/615833/ft1_filtered_4FGL_J1434.7+1950_daily_bin1506.fits scfile=/scratch/kocevski/615833/ft2_4FGL_J1434.7+1950_daily_bin1506.fits outfile=/scratch/kocevski/615833/cmap_HighResolution_629683201_629942401_4FGL_J1434.7+1950_daily_bin1506.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.39
sys 0.14

Computing the diffuse response:
time -p gtdiffrsp evfile=/scratch/kocevski/615833/ft1_filtered_4FGL_J1434.7+1950_daily_bin1506.fits evtable="EVENTS" scfile=/scratch/kocevski/615833/ft2_4FGL_J1434.7+1950_daily_bin1506.fits sctable="SC_DATA" srcmdl=/scratch/kocevski/615833/Model_4FGL_J1434.7+1950_daily_bin1506.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/615833/ft1_filtered_4FGL_J1434.7+1950_daily_bin1506.fits....................!
real 46.64
user 45.39
sys 1.14

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

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

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

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'Prefactor '    .10001E-03   1.0000         .10000E-03   10000.    
     2 'Prefactor '    .65979E-03   1.0000         .10000E-03   10000.    
     3 'Prefactor '    46.187       1.0000         .10000E-03   10000.    
     4 'Prefactor '    .10003E-03   1.0000         .10000E-03   10000.    
     5 'norm      '    3.8293       1.0000         .10000E-03   10000.    
     6 'Prefactor '    .10000E-03   1.0000         .10000E-03   10000.    
     7 'norm      '    3.3188       1.0000         .10000E-03   10000.    
     8 'norm      '    2.0363       1.0000         .10000E-03   10000.    
     9 'Prefactor '    91.428       1.0000         .10000E-03   10000.    
    10 'Prefactor '    .10284E-03   1.0000         .10000E-03   10000.    
    11 'Prefactor '    .10000E-03   1.0000         .10000E-03   10000.    
    12 'Prefactor '    20.678       1.0000         .10000E-03   10000.    
    13 'Prefactor '    .10080E-03   1.0000         .10000E-03   10000.    
    14 'Prefactor '    .10041E-03   1.0000         .10000E-03   10000.    
    15 'Prefactor '    .10000E-03   1.0000         .10000E-03   10000.    
    16 'norm      '    1.1667       1.0000         .10000E-03   10000.    
    17 'norm      '    .10000E-03   1.0000         .10000E-03   10000.    
    18 'Prefactor '    8.0085       1.0000         .10000E-03   10000.    
    19 'Prefactor '    .10000E-03   1.0000         .10000E-03   10000.    
    20 'Normalizat'    .91372       1.0000         .10000E-01   10.000    
    21 'Prefactor '    .94063       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=   5825.889     FROM MIGRAD    STATUS=CONVERGED    426 CALLS     2164 TOTAL
                     EDM=   .74E-09  STRATEGY=1  ERROR MATRIX UNCERTAINTY=   .8%

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor     .10000E-03    3.6922        .56304E-07** at limit **
   2  Prefactor     .10018E-03    7.7774       -.20687E-05** at limit **
   3  Prefactor     46.190        24.554        .25150E-05    .25940E-04
   4  Prefactor     .10000E-03    1.6472        .54280E-07** at limit **
   5  norm          3.8296        2.6893       -.50039E-07   -.10671E-03
   6  Prefactor     .10000E-03    1.9477       -.36454E-07** at limit **
   7  norm          3.3188        2.4114       -.40712E-07   -.37911E-04
   8  norm          2.0367        3.2898        .37503E-06   -.29684E-03
   9  Prefactor     91.444        51.651        .14389E-04   -.67091E-05
  10  Prefactor     .10000E-03    21.386       -.55899E-05** at limit **
  11  Prefactor     .10000E-03    10.016       -.26005E-05** at limit **
  12  Prefactor     20.673        16.662       -.23799E-05    .53170E-04
  13  Prefactor     .10000E-03    13.731       -.57741E-05** at limit **
  14  Prefactor     .10000E-03    19.580        .56645E-05** at limit **
  15  Prefactor     .10000E-03    4.9884        .43327E-06** at limit **
  16  norm          1.1667        .30284        .15585E-07    .44951E-03
  17  norm          .10000E-03    16.572        .73169E-05** at limit **
  18  Prefactor     8.0028        48.991       -.16590E-04   -.49985E-05
  19  Prefactor     .10000E-03    9.5139        .36498E-05** at limit **
  20  Normalizat    .91346        .19517       -.26589E-05    .35116E-03
  21  Prefactor     .94072        .14623        .16790E-05    .69914E-04
                               ERR DEF=  .500    
Final values: 
  Prefactor  = 0.0001
  Prefactor  = 0.000100183
  Prefactor  = 46.19
  Prefactor  = 0.0001
  norm       = 3.82957
  Prefactor  = 0.0001
  norm       = 3.31875
  norm       = 2.03669
  Prefactor  = 91.4436
  Prefactor  = 0.0001
  Prefactor  = 0.0001
  Prefactor  = 20.6731
  Prefactor  = 0.0001
  Prefactor  = 0.0001
  Prefactor  = 0.0001
  norm       = 1.16672
  norm       = 0.0001
  Prefactor  = 8.00284
  Prefactor  = 0.0001
  Normalizat = 0.913461
  Prefactor  = 0.94072
 **********
 **   18 **HESSE 
 **********

 FCN=   5825.889     FROM HESSE     STATUS=OK           311 CALLS     2475 TOTAL
                     EDM=   .59E-08    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  Prefactor     .10000E-03    3.6959        .14324E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   2  Prefactor     .10018E-03    33.325        .40158E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   3  Prefactor     46.190        24.560        .58997E-04   -1.4348    
   4  Prefactor     .10000E-03    1.6501        .95665E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   5  norm          3.8296        2.6878        .10128E-03   -1.5317    
   6  Prefactor     .10000E-03    1.9609        .10401E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   7  norm          3.3188        2.4083        .97544E-04   -1.5344    
   8  norm          2.0367        3.2623        .17005E-03   -1.5423    
   9  Prefactor     91.444        51.718        .42026E-04   -1.3793    
  10  Prefactor     .10000E-03    21.578        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  11  Prefactor     .10000E-03    10.029        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  12  Prefactor     20.673        16.646        .88081E-04   -1.4798    
  13  Prefactor     .10000E-03    13.721        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  14  Prefactor     .10000E-03    19.632        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  15  Prefactor     .10000E-03    5.0178        .16647E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  16  norm          1.1667        .30301        .20689E-04   -1.5492    
  17  norm          .10000E-03    16.585        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  18  Prefactor     8.0028        49.146        .14168E-03   -1.5142    
  19  Prefactor     .10000E-03    9.6183        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  20  Normalizat    .91346        .23116        .26676E-03   -.95989    
  21  Prefactor     .94072        .17591        .20165E-03   -.94732    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 5.94584e-09
Minuit parameter uncertainties:
  1  6.97813e-07
  2  0.00494455
  3  24.5656
  4  3.94522e-07
  5  2.68791
  6  2.4124e-06
  7  2.4084
  8  3.26258
  9  51.7437
  10  0.00012244
  11  9.61353e-06
  12  16.6494
  13  5.86603e-05
  14  4.56257e-05
  15  6.67608e-06
  16  0.303009
  17  2.32826e-06
  18  39.7122
  19  1.33368e-05
  20  0.23141
  21  0.176014
Done.

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

Extracting fit parameters...

4FGL J1434.7+1950
   Spectrum: LogParabola
234         norm:  3.319e+00  2.408e+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.407e-01  1.760e-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:  9.135e-01  2.314e-01  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Fixed Index): 4.63
Ra Dec: 218.675 19.848
Photon Index (Fixed Index): 2.27 +/- 0.00
Photon Flux (Fixed Index): 3.71e-08 +/- 2.69e-08
Energy Flux (Fixed Index): 1.54e-05 +/- 1.12e-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) = 5825.79372494
delta logL = 0.0956458822075

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

MINUIT Return Code (Free Index): 0
logL (Free Index) = 5825.77533128
delta logL = 0.114039537384

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'norm      '    3.8448       1.0000         .10000E-03   10000.    
     2 'alpha     '    1.9522       1.0000          .0000       5.0000    
     3 'Normalizat'    .92290       1.0000         .10000E-01   10.000    
     4 'Prefactor '    .93725       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=   5825.775     FROM MIGRAD    STATUS=CONVERGED     50 CALLS      194 TOTAL
                     EDM=   .58E-08    STRATEGY= 1      ERR MATRIX NOT POS-DEF

  EXT PARAMETER                APPROXIMATE        STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  norm          3.8470        83.068        .51454E-02   -.22692E-03
   2  alpha         1.9524        2.6557        .42475        .31798E-05
   3  Normalizat    .92292        .11099        .45194E-01   -.74020E-03
   4  Prefactor     .93724        .61742E-01    .45478E-01   -.10108E-02
                               ERR DEF=  .500    
Final values: 
  norm       = 3.84698
  alpha      = 1.95237
  Normalizat = 0.922922
  Prefactor  = 0.93724
 **********
 **   18 **HESSE 
 **********

 FCN=   5825.775     FROM HESSE     STATUS=OK            29 CALLS      223 TOTAL
                     EDM=   .79E-09    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  norm          3.8470        2.9114        .10751E-03   -1.5316    
   2  alpha         1.9524        .66116        .15045E-01   -.22084    
   3  Normalizat    .92292        .22528        .26556E-03   -.95659    
   4  Prefactor     .93724        .17333        .20198E-03   -.94852    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 7.85573e-10
Minuit parameter uncertainties:
  1  2.91154
  2  0.669534
  3  0.225511
  4  0.17343
shell-init: error retrieving current directory: getcwd: cannot access parent directories: No such file or directory
rmdir: failed to remove `/scratch/kocevski/615833': 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) = 5825.77533087
delta logL = 0.114039945281

Extracting fit parameters...

4FGL J1434.7+1950
   Spectrum: LogParabola
234         norm:  3.847e+00  2.912e+00  1.000e-04  1.000e+04 ( 1.000e-12)
235        alpha:  1.952e+00  6.695e-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.372e-01  1.734e-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:  9.229e-01  2.255e-01  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Free Index): 4.86
Ra Dec: 218.675 19.848
Photon Index (Free Index): 1.95 +/- 0.67
Photon Flux (Free Index): 2.84e-08 +/- 2.76e-08
Energy Flux (Free Index): 1.85e-05 +/- 1.62e-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/615833/cmap_HighResolution_629683201_629942401_4FGL_J1434.7+1950_daily_bin1506.png

Cleaning up...

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

Updating database...

UPDATE lightcurve_data_v2 SET comment='SUCCESS', photon_flux='3.71e-08', energy_flux2='1.85e-05', photon_flux_error='2.69e-08', dlogl='1.14e-01', energy_flux='1.54e-05', photon_flux2='2.84e-08', job_status='DONE', time_completed='2021-09-10 00:42:54.059965', photon_index_error2='0.67', photon_index2='1.95', ts='4.63', fit_tolerance='1e-08', GAL='0.94', photon_index_error='0.00', energy_flux_error2='1.62e-05', EG='0.91', time_epoch_completed='1631259774.06', return_code='0', job_id='615833', GAL2='0.94', EG2='0.92', return_code2='0', energy_flux_error='1.12e-05', photon_flux_error2='2.76e-08', ts2='4.86', photon_index='2.27' WHERE bin_id='1506' AND source_name='4FGL J1434.7+1950' AND cadence='daily';

Database successfully updated.


Analysis Complete.


Fri Sep 10 00:42:54 PDT 2021


------------------------------------------------------------
Sender: LSF System <lsf@bullet0124>
Subject: Job 615833: <4FGL_J1434.7+1950_daily_bin1506> in cluster <slac> Done

Job <4FGL_J1434.7+1950_daily_bin1506> was submitted from host <rhel6-64f> by user <kocevski> in cluster <slac> at Fri Sep 10 00:31:11 2021
Job was executed on host(s) <bullet0124>, in queue <medium>, as user <kocevski> in cluster <slac> at Fri Sep 10 00:31:12 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:31:12 2021
Terminated at Fri Sep 10 00:42:54 2021
Results reported at Fri Sep 10 00:42:54 2021

Your job looked like:

------------------------------------------------------------
# LSBATCH: User input
/nfs/farm/g/glast/g/LCRepository/Likelihood/Scripts/LikelihoodAnalysis.py 4FGL_J1434.7+1950_daily_bin1506 218.675 19.8478 629683201 629942401 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 :                                   496.13 sec.
    Max Memory :                                 1256 MB
    Average Memory :                             300.95 MB
    Total Requested Memory :                     -
    Delta Memory :                               -
    Max Swap :                                   -
    Max Processes :                              5
    Max Threads :                                21
    Run time :                                   702 sec.
    Turnaround time :                            703 sec.

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

