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/matplotlib/font_manager.py:281: UserWarning: Matplotlib is building the font cache using fc-list. This may take a moment.
  'Matplotlib is building the font cache using fc-list. '
/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 18 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 = 17175
number of fields = 31
RA_SUN column already exists. File will not be modified.
Done.


Performing analysis on: 4FGL_J1434.7+1950_weekly_bin665
RA = 218.675, Dec = 19.8478
tmin = 641174401, tmax = 641779201
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='478005', job_status='RUN', time_executed='2021-07-22 01:04:57.483754', time_epoch_executed='1626941097.48' WHERE source_name='4FGL J1434.7+1950' and cadence='weekly' and bin_id='665'

Database successfully updated.
Done.

Creating custom output directory:
/scratch/kocevski/478005

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

Retrieving the FT1 file...

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

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

Retrieving 108 files...
Done.


Merging files...

Checksum keywords updated successfully.

Merged file saved to:
/scratch/kocevski/478005/ft1_4FGL_J1434.7+1950_weekly_bin665.fits


Retrieving the FT1 file...

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

Retrieving 108 files...
Done.


Merging files...

Merged file saved to:
/scratch/kocevski/478005/ft2_4FGL_J1434.7+1950_weekly_bin665.fits


Selecting the photons:
time -p gtselect infile=/scratch/kocevski/478005/ft1_4FGL_J1434.7+1950_weekly_bin665.fits outfile=/scratch/kocevski/478005/ft1_filteredMKT_4FGL_J1434.7+1950_weekly_bin665.fits ra=218.675 dec=19.8478 rad=12.0 tmin=641174401.0 tmax=641779201.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.77
user 4.48
sys 0.24

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

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

Generating the livetime cube:
time -p gtltcube evfile="/scratch/kocevski/478005/ft1_filtered_4FGL_J1434.7+1950_weekly_bin665.fits" evtable="EVENTS" scfile=/scratch/kocevski/478005/ft2_4FGL_J1434.7+1950_weekly_bin665.fits sctable="SC_DATA" outfile=/scratch/kocevski/478005/ltcube_641174401_641779201_4FGL_J1434.7+1950_weekly_bin665.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/478005/ft2_4FGL_J1434.7+1950_weekly_bin665.fits
.....................!
real 24.79
user 24.19
sys 0.36

Generating the exposure map:
time -p gtexpmap evfile=/scratch/kocevski/478005/ft1_filtered_4FGL_J1434.7+1950_weekly_bin665.fits evtable="EVENTS" scfile=/scratch/kocevski/478005/ft2_4FGL_J1434.7+1950_weekly_bin665.fits sctable="SC_DATA" expcube=/scratch/kocevski/478005/ltcube_641174401_641779201_4FGL_J1434.7+1950_weekly_bin665.fits outfile=/scratch/kocevski/478005/expmap_641174401_641779201_4FGL_J1434.7+1950_weekly_bin665.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/478005/ltcube_641174401_641779201_4FGL_J1434.7+1950_weekly_bin665.fits
.....................!
real 156.70
user 151.65
sys 3.86

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/478005/ft1_filtered_4FGL_J1434.7+1950_weekly_bin665.fits scfile=/scratch/kocevski/478005/ft2_4FGL_J1434.7+1950_weekly_bin665.fits outfile=/scratch/kocevski/478005/cmap_641174401_641779201_4FGL_J1434.7+1950_weekly_bin665.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.58
user 0.34
sys 0.15

Creating the high resolution counts map:
time -p gtbin evfile=/scratch/kocevski/478005/ft1_filtered_4FGL_J1434.7+1950_weekly_bin665.fits scfile=/scratch/kocevski/478005/ft2_4FGL_J1434.7+1950_weekly_bin665.fits outfile=/scratch/kocevski/478005/cmap_HighResolution_641174401_641779201_4FGL_J1434.7+1950_weekly_bin665.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.53
user 0.36
sys 0.14

Computing the diffuse response:
time -p gtdiffrsp evfile=/scratch/kocevski/478005/ft1_filtered_4FGL_J1434.7+1950_weekly_bin665.fits evtable="EVENTS" scfile=/scratch/kocevski/478005/ft2_4FGL_J1434.7+1950_weekly_bin665.fits sctable="SC_DATA" srcmdl=/scratch/kocevski/478005/Model_4FGL_J1434.7+1950_weekly_bin665.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/478005/ft1_filtered_4FGL_J1434.7+1950_weekly_bin665.fits.....................!
real 79.31
user 77.96
sys 1.06

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

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

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

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'Prefactor '    .10000E-03   1.0000         .10000E-03   10000.    
     2 'Prefactor '    .10094E-03   1.0000         .10000E-03   10000.    
     3 'Prefactor '    8.1773       1.0000         .10000E-03   10000.    
     4 'Prefactor '    1.4583       1.0000         .10000E-03   10000.    
     5 'norm      '    3.6243       1.0000         .10000E-03   10000.    
     6 'Prefactor '    6.3401       1.0000         .10000E-03   10000.    
     7 'norm      '    2.2633       1.0000         .10000E-03   10000.    
     8 'norm      '    3.1696       1.0000         .10000E-03   10000.    
     9 'Prefactor '    15.554       1.0000         .10000E-03   10000.    
    10 'Prefactor '    44.898       1.0000         .10000E-03   10000.    
    11 'Prefactor '    29.311       1.0000         .10000E-03   10000.    
    12 'Prefactor '    .10954E-02   1.0000         .10000E-03   10000.    
    13 'Prefactor '    .10012E-03   1.0000         .10000E-03   10000.    
    14 'Prefactor '    .10034E-03   1.0000         .10000E-03   10000.    
    15 'Prefactor '    .10004E-03   1.0000         .10000E-03   10000.    
    16 'norm      '    .17006       1.0000         .10000E-03   10000.    
    17 'norm      '    13.508       1.0000         .10000E-03   10000.    
    18 'Prefactor '    18.281       1.0000         .10000E-03   10000.    
    19 'Prefactor '    4.9301       1.0000         .10000E-03   10000.    
    20 'Normalizat'    1.5432       1.0000         .10000E-01   10.000    
    21 'Prefactor '    .73311       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=   13893.87     FROM MIGRAD    STATUS=CONVERGED    439 CALLS     2209 TOTAL
                     EDM=   .26E-09  STRATEGY=1  ERROR MATRIX UNCERTAINTY=  3.8%

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor     .10000E-03    4.3575        .93358E-07** at limit **
   2  Prefactor     .10000E-03    10.454        .17322E-06** at limit **
   3  Prefactor     8.1635        32.114        .24261E-05   -.50841E-06
   4  Prefactor     1.4611        3.4811        .94087E-06   -.84929E-03
   5  norm          3.6243        1.5819        .44281E-07   -.49708E-04
   6  Prefactor     6.3377        6.0795        .88847E-07   -.50946E-04
   7  norm          2.2636        2.0218        .15773E-06   -.10966E-03
   8  norm          3.1697        2.7325        .94691E-07   -.24905E-04
   9  Prefactor     15.556        18.421        .21702E-06   -.10738E-04
  10  Prefactor     44.885        24.451        .38304E-07    .95837E-04
  11  Prefactor     29.300        35.709       -.11862E-05   -.93195E-05
  12  Prefactor     .10001E-03    25.167        .26617E-05** at limit **
  13  Prefactor     .10000E-03    8.1618        .84589E-06** at limit **
  14  Prefactor     .10000E-03    32.785        .16360E-05** at limit **
  15  Prefactor     .10000E-03    2.9879       -.93783E-07** at limit **
  16  norm          .17003        .20502        .41071E-06    .10930E-02
  17  norm          13.508        15.893        .49823E-07   -.20415E-05
  18  Prefactor     18.280        18.955        .19016E-06   -.70824E-05
  19  Prefactor     4.9304        6.6717        .20495E-06   -.13332E-04
  20  Normalizat    1.5431        .14116       -.66018E-06    .93493E-04
  21  Prefactor     .73315        .10257       -.26346E-06    .18164E-04
                               ERR DEF=  .500    
Final values: 
  Prefactor  = 0.0001
  Prefactor  = 0.0001
  Prefactor  = 8.16348
  Prefactor  = 1.46115
  norm       = 3.62434
  Prefactor  = 6.33768
  norm       = 2.26363
  norm       = 3.16971
  Prefactor  = 15.5557
  Prefactor  = 44.8851
  Prefactor  = 29.2996
  Prefactor  = 0.000100012
  Prefactor  = 0.0001
  Prefactor  = 0.0001
  Prefactor  = 0.0001
  norm       = 0.170033
  norm       = 13.5077
  Prefactor  = 18.2805
  Prefactor  = 4.93036
  Normalizat = 1.54309
  Prefactor  = 0.733153
 **********
 **   18 **HESSE 
 **********

 FCN=   13893.87     FROM HESSE     STATUS=OK           325 CALLS     2534 TOTAL
                     EDM=   .21E-08    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  Prefactor     .10000E-03    4.3624        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   2  Prefactor     .10000E-03    10.676        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   3  Prefactor     8.1635        32.528        .14020E-03   -1.5136    
   4  Prefactor     1.4611        6.0754        .17821E-02   -1.5466    
   5  norm          3.6243        1.5806        .94605E-04   -1.5327    
   6  Prefactor     6.3377        6.1597        .15941E-03   -1.5204    
   7  norm          2.2636        2.0082        .15063E-03   -1.5407    
   8  norm          3.1697        2.7266        .17309E-03   -1.5352    
   9  Prefactor     15.556        18.479        .10156E-03   -1.4919    
  10  Prefactor     44.885        24.395        .59834E-04   -1.4367    
  11  Prefactor     29.300        35.778        .74003E-04   -1.4625    
  12  Prefactor     .10001E-03    29.582        .56244E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  13  Prefactor     .10000E-03    8.1537        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  14  Prefactor     .10000E-03    32.919        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  15  Prefactor     .10000E-03    3.0388        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  16  norm          .17003        .20497        .59834E-03   -1.5626    
  17  norm          13.508        15.893        .10898E-03   -1.4973    
  18  Prefactor     18.280        18.960        .93674E-04   -1.4853    
  19  Prefactor     4.9304        6.6663        .18114E-03   -1.5264    
  20  Normalizat    1.5431        .16663        .25154E-03   -.76575    
  21  Prefactor     .73315        .12094        .25230E-03   -1.0224    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 2.11842e-09
Minuit parameter uncertainties:
  1  1.49124e-06
  2  3.33988e-05
  3  32.5988
  4  5.95971
  5  1.58062
  6  6.16027
  7  2.00821
  8  2.72676
  9  18.4856
  10  24.4001
  11  35.8046
  12  0.00118641
  13  3.55058e-05
  14  5.7023e-05
  15  9.83548e-06
  16  0.204969
  17  15.8983
  18  18.9659
  19  6.66733
  20  0.166688
  21  0.120978
Done.

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

Extracting fit parameters...

4FGL J1434.7+1950
   Spectrum: LogParabola
234         norm:  2.264e+00  2.008e+00  1.000e-04  1.000e+04 ( 1.000e-12)
235        alpha:  2.270e+00  0.000e+00  0.000e+00  5.000e+00 ( 1.000e+00) fixed
236         beta:  1.371e-01  0.000e+00  0.000e+00  1.000e+01 ( 1.000e+00) fixed
237           Eb:  1.056e+03  0.000e+00  3.000e+01  5.000e+05 ( 1.000e+00) fixed

GAL_V02
   Spectrum: PowerLaw
503    Prefactor:  7.332e-01  1.210e-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.543e+00  1.667e-01  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Fixed Index): 1.76
Ra Dec: 218.675 19.848
Photon Index (Fixed Index): 2.27 +/- 0.00
Photon Flux (Fixed Index): 2.53e-08 +/- 2.25e-08
Energy Flux (Fixed Index): 1.05e-05 +/- 9.33e-06

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

Saving results to:
/scratch/kocevski/478005/likelihoodResults_641174401_641779201_4FGL_J1434.7+1950_weekly_bin665.txt

Performing a free index iterative likelihood fit...

Freezing all point sources, except source of interest...

Done.

Freeing candidate source...
Done.

Fit tolerance = 1

Performing likelihood fit...
Done.

MINUIT Return Code (Free Index): 0
logL (Free Index) = 13893.7601775
delta logL = 0.110445117072

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

MINUIT Return Code (Free Index): 0
logL (Free Index) = 13893.7537728
delta logL = 0.116849883389

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'norm      '    2.4869       1.0000         .10000E-03   10000.    
     2 'alpha     '    1.8382       1.0000          .0000       5.0000    
     3 'Normalizat'    1.5524       1.0000         .10000E-01   10.000    
     4 'Prefactor '    .72963       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.
 MACHINE ACCURACY LIMITS FURTHER IMPROVEMENT.

 MIGRAD MINIMIZATION HAS CONVERGED.

 MIGRAD WILL VERIFY CONVERGENCE AND ERROR MATRIX.

 FCN=   13893.75     FROM MIGRAD    STATUS=CONVERGED     96 CALLS      253 TOTAL
                     EDM=   .35E-08    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  norm          2.4864        2.1622        .15625E-03    .34924E-05
   2  alpha         1.8381        .79170        .29598E-01   -.17748E-03
   3  Normalizat    1.5524        .16351        .25095E-03    .18121E-06
   4  Prefactor     .72962        .11880        .25287E-03    .17984E-06
                               ERR DEF=  .500    
Final values: 
  norm       = 2.48636
  alpha      = 1.83812
  Normalizat = 1.55242
  Prefactor  = 0.72962
 **********
 **   18 **HESSE 
 **********

 FCN=   13893.75     FROM HESSE     STATUS=OK            25 CALLS      278 TOTAL
                     EDM=   .55E-11    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  norm          2.4864        2.1751        .62501E-05   -1.5393    
   2  alpha         1.8381        .79670        .59195E-02   -.26794    
   3  Normalizat    1.5524        .16361        .10038E-04   -.76316    
   4  Prefactor     .72962        .11890        .10115E-04   -1.0238    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 5.54793e-12
Minuit parameter uncertainties:
  1  2.17519
  2  0.811963
  3  0.16367
  4  0.118945
shell-init: error retrieving current directory: getcwd: cannot access parent directories: No such file or directory
rmdir: failed to remove `/scratch/kocevski/478005': 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) = 13893.7537727
delta logL = 0.116849916396

Extracting fit parameters...

4FGL J1434.7+1950
   Spectrum: LogParabola
234         norm:  2.486e+00  2.175e+00  1.000e-04  1.000e+04 ( 1.000e-12)
235        alpha:  1.838e+00  8.120e-01  0.000e+00  5.000e+00 ( 1.000e+00)
236         beta:  1.371e-01  0.000e+00  0.000e+00  1.000e+01 ( 1.000e+00) fixed
237           Eb:  1.056e+03  0.000e+00  3.000e+01  5.000e+05 ( 1.000e+00) fixed

GAL_V02
   Spectrum: PowerLaw
503    Prefactor:  7.296e-01  1.189e-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.552e+00  1.637e-01  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Free Index): 2.00
Ra Dec: 218.675 19.848
Photon Index (Free Index): 1.84 +/- 0.81
Photon Flux (Free Index): 1.62e-08 +/- 2.12e-08
Energy Flux (Free Index): 1.28e-05 +/- 1.27e-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/478005/cmap_HighResolution_641174401_641779201_4FGL_J1434.7+1950_weekly_bin665.png

Cleaning up...

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

Updating database...

UPDATE lightcurve_data_v2 SET energy_flux_upper_limit='3.01e-05', comment='SUCCESS', photon_flux='2.53e-08', energy_flux2='1.28e-05', photon_flux_error='2.25e-08', dlogl='1.17e-01', energy_flux='1.05e-05', photon_flux2='1.62e-08', job_status='DONE', time_completed='2021-07-22 01:17:40.628695', photon_index_error2='0.81', photon_index2='1.84', ts='1.76', fit_tolerance='1e-08', GAL='0.73', photon_index_error='0.00', photon_flux_upper_limit='7.26e-08', energy_flux_error2='1.27e-05', EG='1.54', time_epoch_completed='1626941860.63', return_code='0', job_id='478005', GAL2='0.73', EG2='1.55', return_code2='0', energy_flux_error='9.33e-06', photon_flux_error2='2.12e-08', ts2='2.00', photon_index='2.27' WHERE bin_id='665' AND source_name='4FGL J1434.7+1950' AND cadence='weekly';

Database successfully updated.


Analysis Complete.


Thu Jul 22 01:17:40 PDT 2021


------------------------------------------------------------
Sender: LSF System <lsf@bullet0135>
Subject: Job 478005: <4FGL_J1434.7+1950_weekly_bin665> in cluster <slac> Done

Job <4FGL_J1434.7+1950_weekly_bin665> was submitted from host <rhel6-64q> by user <kocevski> in cluster <slac> at Thu Jul 22 01:03:02 2021
Job was executed on host(s) <bullet0135>, in queue <medium>, as user <kocevski> in cluster <slac> at Thu Jul 22 01:04:24 2021
</u/ki/kocevski> was used as the home directory.
</u/ki/kocevski> was used as the working directory.
Started at Thu Jul 22 01:04:24 2021
Terminated at Thu Jul 22 01:17:41 2021
Results reported at Thu Jul 22 01:17:41 2021

Your job looked like:

------------------------------------------------------------
# LSBATCH: User input
/nfs/farm/g/glast/g/LCRepository/Likelihood/Scripts/LikelihoodAnalysis.py 4FGL_J1434.7+1950_weekly_bin665 218.675 19.8478 641174401 641779201 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 :                                   751.00 sec.
    Max Memory :                                 1095 MB
    Average Memory :                             333.15 MB
    Total Requested Memory :                     -
    Delta Memory :                               -
    Max Swap :                                   -
    Max Processes :                              5
    Max Threads :                                21
    Run time :                                   796 sec.
    Turnaround time :                            879 sec.

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

