aklog: Couldn't determine realm of user:aklog: unknown RPC error (-1765328189)  while getting realm
/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 4 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 = 17389
number of fields = 29
RA_SUN column already exists. File will not be modified.
Done.


Performing analysis on: 4FGL_J1434.7+1950_weekly_bin216
RA = 218.675, Dec = 19.8478
tmin = 369619201, tmax = 370224001
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='475581', job_status='RUN', time_executed='2021-07-22 00:56:29.965972', time_epoch_executed='1626940589.97' WHERE source_name='4FGL J1434.7+1950' and cadence='weekly' and bin_id='216'

Database successfully updated.
Done.

Creating custom output directory:
/scratch/kocevski/475581

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

Retrieving the FT1 file...

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

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

Retrieving 108 files...
Done.


Merging files...

Checksum keywords updated successfully.

Merged file saved to:
/scratch/kocevski/475581/ft1_4FGL_J1434.7+1950_weekly_bin216.fits


Retrieving the FT1 file...

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

Retrieving 108 files...
Done.


Merging files...

Merged file saved to:
/scratch/kocevski/475581/ft2_4FGL_J1434.7+1950_weekly_bin216.fits


Selecting the photons:
time -p gtselect infile=/scratch/kocevski/475581/ft1_4FGL_J1434.7+1950_weekly_bin216.fits outfile=/scratch/kocevski/475581/ft1_filteredMKT_4FGL_J1434.7+1950_weekly_bin216.fits ra=218.675 dec=19.8478 rad=12.0 tmin=369619201.0 tmax=370224001.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 11.85
user 11.42
sys 0.36

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

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

Generating the livetime cube:
time -p gtltcube evfile="/scratch/kocevski/475581/ft1_filtered_4FGL_J1434.7+1950_weekly_bin216.fits" evtable="EVENTS" scfile=/scratch/kocevski/475581/ft2_4FGL_J1434.7+1950_weekly_bin216.fits sctable="SC_DATA" outfile=/scratch/kocevski/475581/ltcube_369619201_370224001_4FGL_J1434.7+1950_weekly_bin216.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/475581/ft2_4FGL_J1434.7+1950_weekly_bin216.fits
.....................!
real 29.93
user 28.33
sys 0.32

Generating the exposure map:
time -p gtexpmap evfile=/scratch/kocevski/475581/ft1_filtered_4FGL_J1434.7+1950_weekly_bin216.fits evtable="EVENTS" scfile=/scratch/kocevski/475581/ft2_4FGL_J1434.7+1950_weekly_bin216.fits sctable="SC_DATA" expcube=/scratch/kocevski/475581/ltcube_369619201_370224001_4FGL_J1434.7+1950_weekly_bin216.fits outfile=/scratch/kocevski/475581/expmap_369619201_370224001_4FGL_J1434.7+1950_weekly_bin216.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/475581/ltcube_369619201_370224001_4FGL_J1434.7+1950_weekly_bin216.fits
.....................!
real 191.42
user 186.41
sys 4.41

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/475581/ft1_filtered_4FGL_J1434.7+1950_weekly_bin216.fits scfile=/scratch/kocevski/475581/ft2_4FGL_J1434.7+1950_weekly_bin216.fits outfile=/scratch/kocevski/475581/cmap_369619201_370224001_4FGL_J1434.7+1950_weekly_bin216.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.59
user 0.43
sys 0.15

Creating the high resolution counts map:
time -p gtbin evfile=/scratch/kocevski/475581/ft1_filtered_4FGL_J1434.7+1950_weekly_bin216.fits scfile=/scratch/kocevski/475581/ft2_4FGL_J1434.7+1950_weekly_bin216.fits outfile=/scratch/kocevski/475581/cmap_HighResolution_369619201_370224001_4FGL_J1434.7+1950_weekly_bin216.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.63
user 0.42
sys 0.17

Computing the diffuse response:
time -p gtdiffrsp evfile=/scratch/kocevski/475581/ft1_filtered_4FGL_J1434.7+1950_weekly_bin216.fits evtable="EVENTS" scfile=/scratch/kocevski/475581/ft2_4FGL_J1434.7+1950_weekly_bin216.fits sctable="SC_DATA" srcmdl=/scratch/kocevski/475581/Model_4FGL_J1434.7+1950_weekly_bin216.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/475581/ft1_filtered_4FGL_J1434.7+1950_weekly_bin216.fits.....................!
real 89.52
user 87.59
sys 1.25

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

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

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

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'Prefactor '    16.413       1.0000         .10000E-03   10000.    
     2 'Prefactor '    3.0572       1.0000         .10000E-03   10000.    
     3 'Prefactor '    .10196E-03   1.0000         .10000E-03   10000.    
     4 'Prefactor '    2.3542       1.0000         .10000E-03   10000.    
     5 'norm      '    3.3993       1.0000         .10000E-03   10000.    
     6 'Prefactor '    .51263       1.0000         .10000E-03   10000.    
     7 'norm      '    2.4222       1.0000         .10000E-03   10000.    
     8 'norm      '    8.7663       1.0000         .10000E-03   10000.    
     9 'Prefactor '    27.666       1.0000         .10000E-03   10000.    
    10 'Prefactor '    11.563       1.0000         .10000E-03   10000.    
    11 'Prefactor '    8.7714       1.0000         .10000E-03   10000.    
    12 'Prefactor '    .10000E-03   1.0000         .10000E-03   10000.    
    13 'Prefactor '    .10000E-03   1.0000         .10000E-03   10000.    
    14 'Prefactor '    .10128E-03   1.0000         .10000E-03   10000.    
    15 'Prefactor '    8.1536       1.0000         .10000E-03   10000.    
    16 'norm      '    .19427       1.0000         .10000E-03   10000.    
    17 'norm      '    .10000E-03   1.0000         .10000E-03   10000.    
    18 'Prefactor '    47.259       1.0000         .10000E-03   10000.    
    19 'Prefactor '    .10000E-03   1.0000         .10000E-03   10000.    
    20 'Normalizat'    1.2638       1.0000         .10000E-01   10.000    
    21 'Prefactor '    .91799       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=   13637.93     FROM MIGRAD    STATUS=CONVERGED    441 CALLS     2209 TOTAL
                     EDM=   .10E-08  STRATEGY=1  ERROR MATRIX UNCERTAINTY=  1.5%

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor     16.413        10.584       -.64989E-07   -.56218E-04
   2  Prefactor     3.0565        7.6841       -.20355E-05   -.37323E-03
   3  Prefactor     .10000E-03    51.161        .28748E-04** at limit **
   4  Prefactor     2.3467        6.2286       -.18107E-05   -.90072E-03
   5  norm          3.3994        1.5627       -.13595E-07   -.43612E-04
   6  Prefactor     .49152        1.9119       -.10936E-06   -.51905E-03
   7  norm          2.4221        1.5439       -.57607E-07   -.54074E-03
   8  norm          8.7666        3.9292       -.29671E-06   -.25453E-03
   9  Prefactor     27.667        19.286        .12816E-06   -.26691E-06
  10  Prefactor     11.562        10.849       -.65059E-06   -.64423E-03
  11  Prefactor     8.7717        13.095       -.13841E-06   -.27688E-04
  12  Prefactor     .10000E-03    2.8239        .14354E-08** at limit **
  13  Prefactor     .10000E-03    4.4018        .12624E-07** at limit **
  14  Prefactor     .10000E-03    56.313       -.30363E-04** at limit **
  15  Prefactor     8.1536        5.2163        .67849E-06   -.37518E-04
  16  norm          .19426        .12547       -.10935E-07   -.13038E-02
  17  norm          .10000E-03    22.967       -.62075E-06** at limit **
  18  Prefactor     47.260        34.205        .23868E-06    .16391E-04
  19  Prefactor     .10000E-03    3.0242       -.30839E-07** at limit **
  20  Normalizat    1.2637        .13845        .46190E-06   -.66158E-04
  21  Prefactor     .91802        .10193        .76751E-07    .34701E-04
                               ERR DEF=  .500    
Final values: 
  Prefactor  = 16.413
  Prefactor  = 3.05653
  Prefactor  = 0.000100001
  Prefactor  = 2.34671
  norm       = 3.39937
  Prefactor  = 0.491521
  norm       = 2.42212
  norm       = 8.76658
  Prefactor  = 27.6671
  Prefactor  = 11.562
  Prefactor  = 8.77166
  Prefactor  = 0.0001
  Prefactor  = 0.0001
  Prefactor  = 0.000100001
  Prefactor  = 8.15364
  norm       = 0.194264
  norm       = 0.0001
  Prefactor  = 47.2599
  Prefactor  = 0.0001
  Normalizat = 1.2637
  Prefactor  = 0.918024
 **********
 **   18 **HESSE 
 **********

 FCN=   13637.93     FROM HESSE     STATUS=OK           329 CALLS     2538 TOTAL
                     EDM=   .21E-08    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  Prefactor     16.413        10.585        .98860E-04   -1.4897    
   2  Prefactor     3.0565        7.7808        .23202E-03   -1.5358    
   3  Prefactor     .10000E-03    51.057        .36285E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   4  Prefactor     2.3467        6.1823        .26714E-03   -1.5402    
   5  norm          3.3994        1.5622        .96048E-04   -1.5339    
   6  Prefactor     .49152        7.3427        .27733E-02   -1.5568    
   7  norm          2.4221        1.5368        .11198E-03   -1.5397    
   8  norm          8.7666        3.9362        .13538E-03   -1.5116    
   9  Prefactor     27.667        19.302        .76166E-04   -1.4655    
  10  Prefactor     11.562        10.920        .58906E-03   -1.5028    
  11  Prefactor     8.7717        13.083        .13534E-03   -1.5116    
  12  Prefactor     .10000E-03    2.8287        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  13  Prefactor     .10000E-03    4.4077        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  14  Prefactor     .10000E-03    55.696        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  15  Prefactor     8.1536        5.2110        .14041E-03   -1.5137    
  16  norm          .19426        .12086        .32114E-03   -1.5620    
  17  norm          .10000E-03    23.021        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  18  Prefactor     47.260        34.225        .58327E-04   -1.4332    
  19  Prefactor     .10000E-03    3.0353        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  20  Normalizat    1.2637        .16563        .26284E-03   -.84657    
  21  Prefactor     .91802        .12224        .22592E-03   -.95514    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 2.11467e-09
Minuit parameter uncertainties:
  1  10.5858
  2  7.7834
  3  0.000482552
  4  6.18402
  5  1.56226
  6  3.7997
  7  1.5368
  8  3.93634
  9  19.3064
  10  10.9217
  11  13.0871
  12  1.86755e-06
  13  3.99717e-06
  14  0.000418685
  15  5.21127
  16  0.120856
  17  5.56602e-09
  18  34.2388
  19  2.30152e-06
  20  0.165704
  21  0.122281
Done.

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

Extracting fit parameters...

4FGL J1434.7+1950
   Spectrum: LogParabola
234         norm:  2.422e+00  1.537e+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.180e-01  1.223e-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.264e+00  1.657e-01  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Fixed Index): 4.37
Ra Dec: 218.675 19.848
Photon Index (Fixed Index): 2.27 +/- 0.00
Photon Flux (Fixed Index): 2.71e-08 +/- 1.72e-08
Energy Flux (Fixed Index): 1.13e-05 +/- 7.14e-06

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) = 13637.86659
delta logL = 0.063607130387

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

MINUIT Return Code (Free Index): 0
logL (Free Index) = 13637.8657571
delta logL = 0.0644400243873

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'norm      '    2.0978       1.0000         .10000E-03   10000.    
     2 'alpha     '    2.5019       1.0000          .0000       5.0000    
     3 'Normalizat'    1.2571       1.0000         .10000E-01   10.000    
     4 'Prefactor '    .92072       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=   13637.87     FROM MIGRAD    STATUS=CONVERGED     54 CALLS      233 TOTAL
                     EDM=   .25E-08    STRATEGY= 1      ERR MATRIX NOT POS-DEF

  EXT PARAMETER                APPROXIMATE        STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  norm          2.1001        20.937        .71238E-02    .68145E-03
   2  alpha         2.5014        3.7484        .41152        .74519E-04
   3  Normalizat    1.2570        .50712E-01    .59562E-01    .16994E-04
   4  Prefactor     .92079        .31486E-01    .45269E-01    .22806E-04
                               ERR DEF=  .500    
Final values: 
  norm       = 2.10012
  alpha      = 2.50137
  Normalizat = 1.25697
  Prefactor  = 0.920793
 **********
 **   18 **HESSE 
 **********

 FCN=   13637.87     FROM HESSE     STATUS=OK            33 CALLS      266 TOTAL
                     EDM=   .70E-08    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  norm          2.1001        1.7897        .10149E-03   -1.5418    
   2  alpha         2.5014        .69111        .16699E-01    .54639E-03
   3  Normalizat    1.2570        .16203        .26342E-03   -.84860    
   4  Prefactor     .92079        .12076        .22560E-03   -.95418    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 7.04041e-09
Minuit parameter uncertainties:
  1  1.78978
  2  0.700234
  3  0.162094
  4  0.120795
shell-init: error retrieving current directory: getcwd: cannot access parent directories: No such file or directory
rmdir: failed to remove `/scratch/kocevski/475581': 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) = 13637.8657559
delta logL = 0.0644412159036

Extracting fit parameters...

4FGL J1434.7+1950
   Spectrum: LogParabola
234         norm:  2.100e+00  1.790e+00  1.000e-04  1.000e+04 ( 1.000e-12)
235        alpha:  2.501e+00  7.002e-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.208e-01  1.208e-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.257e+00  1.621e-01  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Free Index): 4.49
Ra Dec: 218.675 19.848
Photon Index (Free Index): 2.50 +/- 0.70
Photon Flux (Free Index): 3.32e-08 +/- 2.64e-08
Energy Flux (Free Index): 1.08e-05 +/- 6.85e-06

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/475581/cmap_HighResolution_369619201_370224001_4FGL_J1434.7+1950_weekly_bin216.png

Cleaning up...

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

Updating database...

UPDATE lightcurve_data_v2 SET comment='SUCCESS', photon_flux='2.71e-08', energy_flux2='1.08e-05', photon_flux_error='1.72e-08', dlogl='6.44e-02', energy_flux='1.13e-05', photon_flux2='3.32e-08', job_status='DONE', time_completed='2021-07-22 01:10:47.044689', photon_index_error2='0.70', photon_index2='2.50', ts='4.37', fit_tolerance='1e-08', GAL='0.92', photon_index_error='0.00', energy_flux_error2='6.85e-06', EG='1.26', time_epoch_completed='1626941447.04', return_code='0', job_id='475581', GAL2='0.92', EG2='1.26', return_code2='0', energy_flux_error='7.14e-06', photon_flux_error2='2.64e-08', ts2='4.49', photon_index='2.27' WHERE bin_id='216' AND source_name='4FGL J1434.7+1950' AND cadence='weekly';

Database successfully updated.


Analysis Complete.


Thu Jul 22 01:10:47 PDT 2021


------------------------------------------------------------
Sender: LSF System <lsf@bullet0218>
Subject: Job 475581: <4FGL_J1434.7+1950_weekly_bin216> in cluster <slac> Done

Job <4FGL_J1434.7+1950_weekly_bin216> was submitted from host <rhel6-64h> by user <kocevski> in cluster <slac> at Thu Jul 22 00:56:05 2021
Job was executed on host(s) <bullet0218>, in queue <medium>, as user <kocevski> in cluster <slac> at Thu Jul 22 00:56:15 2021
</u/ki/kocevski> was used as the home directory.
</u/ki/kocevski> was used as the working directory.
Started at Thu Jul 22 00:56:15 2021
Terminated at Thu Jul 22 01:10:47 2021
Results reported at Thu Jul 22 01:10:47 2021

Your job looked like:

------------------------------------------------------------
# LSBATCH: User input
/nfs/farm/g/glast/g/LCRepository/Likelihood/Scripts/LikelihoodAnalysis.py 4FGL_J1434.7+1950_weekly_bin216 218.675 19.8478 369619201 370224001 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 :                                   839.00 sec.
    Max Memory :                                 1094 MB
    Average Memory :                             338.76 MB
    Total Requested Memory :                     -
    Delta Memory :                               -
    Max Swap :                                   -
    Max Processes :                              5
    Max Threads :                                21
    Run time :                                   872 sec.
    Turnaround time :                            882 sec.

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

