/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 125 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 = 7471
number of fields = 22
No RA_SUN column yet. Adding RA_SUN/DEC_SUN columns.
Done.


Performing analysis on: 4FGL_J1434.7+1950_daily_bin86
RA = 218.675, Dec = 19.8478
tmin = 261619201, tmax = 261878401
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='609818', job_status='RUN', time_executed='2021-09-10 00:13:34.315011', time_epoch_executed='1631258014.32' WHERE source_name='4FGL J1434.7+1950' and cadence='daily' and bin_id='86'

Database successfully updated.
Done.

Creating custom output directory:
/scratch/kocevski/609818

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

Retrieving the FT1 file...

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

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

Retrieving 46 files...
Done.


Merging files...

Checksum keywords updated successfully.

Merged file saved to:
/scratch/kocevski/609818/ft1_4FGL_J1434.7+1950_daily_bin86.fits


Retrieving the FT1 file...

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

Retrieving 46 files...
Done.


Merging files...

Merged file saved to:
/scratch/kocevski/609818/ft2_4FGL_J1434.7+1950_daily_bin86.fits


Selecting the photons:
time -p gtselect infile=/scratch/kocevski/609818/ft1_4FGL_J1434.7+1950_daily_bin86.fits outfile=/scratch/kocevski/609818/ft1_filteredMKT_4FGL_J1434.7+1950_daily_bin86.fits ra=218.675 dec=19.8478 rad=12.0 tmin=261619201.0 tmax=261878401.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 1.45
user 1.23
sys 0.18

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

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

Generating the livetime cube:
time -p gtltcube evfile="/scratch/kocevski/609818/ft1_filtered_4FGL_J1434.7+1950_daily_bin86.fits" evtable="EVENTS" scfile=/scratch/kocevski/609818/ft2_4FGL_J1434.7+1950_daily_bin86.fits sctable="SC_DATA" outfile=/scratch/kocevski/609818/ltcube_261619201_261878401_4FGL_J1434.7+1950_daily_bin86.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/609818/ft2_4FGL_J1434.7+1950_daily_bin86.fits
.....................!
real 12.32
user 11.90
sys 0.32

Generating the exposure map:
time -p gtexpmap evfile=/scratch/kocevski/609818/ft1_filtered_4FGL_J1434.7+1950_daily_bin86.fits evtable="EVENTS" scfile=/scratch/kocevski/609818/ft2_4FGL_J1434.7+1950_daily_bin86.fits sctable="SC_DATA" expcube=/scratch/kocevski/609818/ltcube_261619201_261878401_4FGL_J1434.7+1950_daily_bin86.fits outfile=/scratch/kocevski/609818/expmap_261619201_261878401_4FGL_J1434.7+1950_daily_bin86.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/609818/ltcube_261619201_261878401_4FGL_J1434.7+1950_daily_bin86.fits
.....................!
real 191.73
user 186.93
sys 4.42

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/609818/ft1_filtered_4FGL_J1434.7+1950_daily_bin86.fits scfile=/scratch/kocevski/609818/ft2_4FGL_J1434.7+1950_daily_bin86.fits outfile=/scratch/kocevski/609818/cmap_261619201_261878401_4FGL_J1434.7+1950_daily_bin86.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/609818/ft1_filtered_4FGL_J1434.7+1950_daily_bin86.fits scfile=/scratch/kocevski/609818/ft2_4FGL_J1434.7+1950_daily_bin86.fits outfile=/scratch/kocevski/609818/cmap_HighResolution_261619201_261878401_4FGL_J1434.7+1950_daily_bin86.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.37
sys 0.15

Computing the diffuse response:
time -p gtdiffrsp evfile=/scratch/kocevski/609818/ft1_filtered_4FGL_J1434.7+1950_daily_bin86.fits evtable="EVENTS" scfile=/scratch/kocevski/609818/ft2_4FGL_J1434.7+1950_daily_bin86.fits sctable="SC_DATA" srcmdl=/scratch/kocevski/609818/Model_4FGL_J1434.7+1950_daily_bin86.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/609818/ft1_filtered_4FGL_J1434.7+1950_daily_bin86.fits.....................!
real 63.17
user 61.27
sys 1.30

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

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

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

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'Prefactor '    .10002E-03   1.0000         .10000E-03   10000.    
     2 'Prefactor '    .10001E-03   1.0000         .10000E-03   10000.    
     3 'Prefactor '    39.912       1.0000         .10000E-03   10000.    
     4 'Prefactor '    .10051E-03   1.0000         .10000E-03   10000.    
     5 'norm      '    8.7120       1.0000         .10000E-03   10000.    
     6 'Prefactor '    .10004E-03   1.0000         .10000E-03   10000.    
     7 'norm      '    .10003E-03   1.0000         .10000E-03   10000.    
     8 'norm      '    .10004E-03   1.0000         .10000E-03   10000.    
     9 'Prefactor '    .10005E-03   1.0000         .10000E-03   10000.    
    10 'Prefactor '    24.820       1.0000         .10000E-03   10000.    
    11 'Prefactor '    21.961       1.0000         .10000E-03   10000.    
    12 'Prefactor '    10.178       1.0000         .10000E-03   10000.    
    13 'Prefactor '    3.8417       1.0000         .10000E-03   10000.    
    14 'Prefactor '    .10351E-03   1.0000         .10000E-03   10000.    
    15 'Prefactor '    7.8650       1.0000         .10000E-03   10000.    
    16 'norm      '    4.5694       1.0000         .10000E-03   10000.    
    17 'norm      '    .10000E-03   1.0000         .10000E-03   10000.    
    18 'Prefactor '    .10003E-03   1.0000         .10000E-03   10000.    
    19 'Prefactor '    .10008E-03   1.0000         .10000E-03   10000.    
    20 'Normalizat'    .88344       1.0000         .10000E-01   10.000    
    21 'Prefactor '    1.0769       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=   8667.520     FROM MIGRAD    STATUS=CONVERGED    430 CALLS     1856 TOTAL
                     EDM=   .11E-08  STRATEGY=1  ERROR MATRIX UNCERTAINTY=   .4%

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor     .10000E-03    6.5742        .17089E-05** at limit **
   2  Prefactor     .10000E-03    4.5286        .15593E-06** at limit **
   3  Prefactor     39.909        27.513       -.28969E-05   -.77079E-05
   4  Prefactor     .10000E-03    2.5832        .30488E-07** at limit **
   5  norm          8.7119        2.9712        .17503E-06    .38104E-04
   6  Prefactor     .10000E-03    2.1819        .16367E-07** at limit **
   7  norm          .10000E-03    .82759       -.86372E-09** at limit **
   8  norm          .10000E-03    1.7837       -.23050E-07** at limit **
   9  Prefactor     .10000E-03    18.893       -.95631E-05** at limit **
  10  Prefactor     24.812        22.578       -.20732E-05   -.29786E-04
  11  Prefactor     21.959        22.105       -.10744E-05   -.95346E-05
  12  Prefactor     10.167        16.246        .25780E-05   -.37221E-04
  13  Prefactor     3.8369        40.015        .44616E-05   -.30933E-04
  14  Prefactor     .10000E-03    53.243       -.61660E-05** at limit **
  15  Prefactor     7.8646        7.2202       -.12660E-05   -.18092E-02
  16  norm          4.5694        .47638       -.98639E-08    .75438E-04
  17  norm          .10000E-03    18.846       -.13611E-04** at limit **
  18  Prefactor     .10000E-03    20.272        .25402E-04** at limit **
  19  Prefactor     .10000E-03    6.0793       -.15232E-05** at limit **
  20  Normalizat    .88353        .17594        .26624E-06   -.77075E-04
  21  Prefactor     1.0769        .13415        .95284E-07   -.63865E-04
                               ERR DEF=  .500    
Final values: 
  Prefactor  = 0.0001
  Prefactor  = 0.0001
  Prefactor  = 39.9086
  Prefactor  = 0.0001
  norm       = 8.71186
  Prefactor  = 0.0001
  norm       = 0.0001
  norm       = 0.0001
  Prefactor  = 0.0001
  Prefactor  = 24.812
  Prefactor  = 21.9592
  Prefactor  = 10.1667
  Prefactor  = 3.83692
  Prefactor  = 0.0001
  Prefactor  = 7.86462
  norm       = 4.56941
  norm       = 0.0001
  Prefactor  = 0.0001
  Prefactor  = 0.0001
  Normalizat = 0.883533
  Prefactor  = 1.07685
 **********
 **   18 **HESSE 
 **********

 FCN=   8667.520     FROM HESSE     STATUS=OK           315 CALLS     2171 TOTAL
                     EDM=   .23E-08    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  Prefactor     .10000E-03    6.6255        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   2  Prefactor     .10000E-03    4.5583        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   3  Prefactor     39.909        27.544        .63447E-04   -1.4444    
   4  Prefactor     .10000E-03    2.5935        .14608E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   5  norm          8.7119        2.9721        .90699E-04   -1.5118    
   6  Prefactor     .10000E-03    2.1923        .13425E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   7  norm          .10000E-03    .83701        .82679E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   8  norm          .10000E-03    1.7974        .12140E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   9  Prefactor     .10000E-03    18.864        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  10  Prefactor     24.812        22.417        .80406E-04   -1.4711    
  11  Prefactor     21.959        22.113        .85473E-04   -1.4770    
  12  Prefactor     10.167        16.149        .12559E-03   -1.5070    
  13  Prefactor     3.8369        38.921        .20590E-03   -1.5316    
  14  Prefactor     .10000E-03    53.695        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  15  Prefactor     7.8646        7.3985        .71488E-03   -1.5147    
  16  norm          4.5694        .47701        .19869E-04   -1.5280    
  17  norm          .10000E-03    18.748        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  18  Prefactor     .10000E-03    19.911        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  19  Prefactor     .10000E-03    6.1117        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  20  Normalizat    .88353        .20792        .31137E-03   -.97041    
  21  Prefactor     1.0769        .15900        .21825E-03   -.90210    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 2.27297e-09
Minuit parameter uncertainties:
  1  1.5236e-06
  2  7.69202e-07
  3  27.5524
  4  6.9683e-06
  5  2.97213
  6  3.45669e-06
  7  1.42607e-07
  8  1.00428e-07
  9  3.01637e-06
  10  22.4241
  11  22.1209
  12  16.1556
  13  24.4611
  14  0.00013866
  15  7.39938
  16  0.477013
  17  8.78972e-07
  18  2.05149e-05
  19  2.52782e-06
  20  0.208105
  21  0.15907
Done.

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

Extracting fit parameters...

4FGL J1434.7+1950
   Spectrum: LogParabola
234         norm:  1.000e-04  1.426e-07  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:  1.077e+00  1.591e-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:  8.835e-01  2.081e-01  1.000e-02  1.000e+01 ( 1.000e+00)


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

Saving results to:
/scratch/kocevski/609818/likelihoodResults_261619201_261878401_4FGL_J1434.7+1950_daily_bin86.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) = 8667.52578756
delta logL = -0.00563214796421

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

MINUIT Return Code (Free Index): 102
logL (Free Index) = 8667.52015554
delta logL = -1.24320649775e-07

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'norm      '    .10018E-03   1.0000         .10000E-03   10000.    
     2 'alpha     '    2.2624       1.0000          .0000       5.0000    
     3 'Normalizat'    .88352       1.0000         .10000E-01   10.000    
     4 'Prefactor '    1.0769       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.

 MIGRAD WILL VERIFY CONVERGENCE AND ERROR MATRIX.
 MIGRAD TERMINATED WITHOUT CONVERGENCE.

 FCN=   8667.395     FROM MIGRAD    STATUS=FAILED       146 CALLS      288 TOTAL
                     EDM=   .40E-07    STRATEGY= 1      ERR MATRIX NOT POS-DEF

  EXT PARAMETER                APPROXIMATE        STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  norm          .12496E-01    1.0133        .46992E-02    .13151E-01
   2  alpha         5.0000        3.3982        .50000    ** at limit **
   3  Normalizat    .85593        .57362E-01    .31137E-03    .24587E-03
   4  Prefactor     1.0889        .38844E-01    .21825E-03    .49031E-03
                               ERR DEF=  .500    
 START SIMPLEX MINIMIZATION.    CONVERGENCE WHEN EDM .LT.   .20E-04
 SIMPLEX MINIMIZATION HAS CONVERGED.

 FCN=   8667.395     FROM SIMPLEX   STATUS=UNCHANGED    132 CALLS      420 TOTAL
                     EDM=   .42E-05    STRATEGY= 1      ERR MATRIX NOT POS-DEF

  EXT PARAMETER                APPROXIMATE        STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  norm          .12496E-01    1.0133        .60765E-06    .13151E-01
   2  alpha         5.0000        3.3982        .64570E-02** at limit **
   3  Normalizat    .85593        .57362E-01    .32558E-06    .24587E-03
   4  Prefactor     1.0889        .38844E-01    .47748E-07    .49031E-03
                               ERR DEF=  .500    

 MIGRAD MINIMIZATION HAS CONVERGED.

 MIGRAD WILL VERIFY CONVERGENCE AND ERROR MATRIX.

 FCN=   8667.395     FROM MIGRAD    STATUS=CONVERGED     37 CALLS      457 TOTAL
                     EDM=   .22E-09    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  norm          .12496E-01    .27360E-01    .19127E-03    .29472E-02
   2  alpha         5.0000        3.7757        .13200    ** at limit **
   3  Normalizat    .85593        .21294        .12455E-04    .24573E-03
   4  Prefactor     1.0889        .16042        .43650E-04    .49027E-03
                               ERR DEF=  .500    
Final values: 
  norm       = 0.0124963
  alpha      = 5
  Normalizat = 0.855927
  Prefactor  = 1.08886
 **********
 **   18 **HESSE 
 **********

 FCN=   8667.395     FROM HESSE     STATUS=OK            25 CALLS      482 TOTAL
                     EDM=   .20E-09    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  norm          .12496E-01    .26669E-01    .76510E-05   -1.5686    
   2  alpha         5.0000        3.7598        .52800E-02   -4.7124    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   3  Normalizat    .85593        .21218        .24909E-05   -.98027    
   4  Prefactor     1.0889        .16011        .87300E-05   -.89823    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 2.02118e-10
Minuit parameter uncertainties:
  1  0.0266691
  2  4.3177e-05
  3  0.212391
  4  0.160184
shell-init: error retrieving current directory: getcwd: cannot access parent directories: No such file or directory
rmdir: failed to remove `/scratch/kocevski/609818': 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) = 8667.39548159
delta logL = 0.124673828119

Extracting fit parameters...

4FGL J1434.7+1950
   Spectrum: LogParabola
234         norm:  1.250e-02  2.667e-02  1.000e-04  1.000e+04 ( 1.000e-12)
235        alpha:  5.000e+00  4.318e-05  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:  1.089e+00  1.602e-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:  8.559e-01  2.124e-01  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Free Index): -0.00
Ra Dec: 218.675 19.848

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/609818/cmap_HighResolution_261619201_261878401_4FGL_J1434.7+1950_daily_bin86.png

Cleaning up...

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

Updating database...

UPDATE lightcurve_data_v2 SET energy_flux_upper_limit='1.81e-05', job_status='DONE', photon_flux_upper_limit='4.35e-08', time_completed='2021-09-10 00:24:16.834027', job_id='609818', GAL2='1.09', fit_tolerance='1e-08', EG2='0.86', EG='0.88', time_epoch_completed='1631258656.83', return_code2='0', ts='-0.00', comment='SUCCESS', return_code='0', GAL='1.08', dlogl='1.25e-01', ts2='0.26', photon_index_error='0.00', photon_index='2.27' WHERE bin_id='86' AND source_name='4FGL J1434.7+1950' AND cadence='daily';

Database successfully updated.


Analysis Complete.


Fri Sep 10 00:24:16 PDT 2021


------------------------------------------------------------
Sender: LSF System <scs@bullet0009>
Subject: Job 609818: <4FGL_J1434.7+1950_daily_bin86> in cluster <slac> Done

Job <4FGL_J1434.7+1950_daily_bin86> was submitted from host <rhel6-64j> by user <kocevski> in cluster <slac> at Fri Sep 10 00:11:14 2021
Job was executed on host(s) <bullet0009>, in queue <medium>, as user <kocevski> in cluster <slac> at Fri Sep 10 00:11:16 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:11:16 2021
Terminated at Fri Sep 10 00:24:17 2021
Results reported at Fri Sep 10 00:24:17 2021

Your job looked like:

------------------------------------------------------------
# LSBATCH: User input
/nfs/farm/g/glast/g/LCRepository/Likelihood/Scripts/LikelihoodAnalysis.py 4FGL_J1434.7+1950_daily_bin86 218.675 19.8478 261619201 261878401 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 :                                   642.10 sec.
    Max Memory :                                 1094 MB
    Average Memory :                             293.83 MB
    Total Requested Memory :                     -
    Delta Memory :                               -
    Max Swap :                                   -
    Max Processes :                              5
    Max Threads :                                21
    Run time :                                   781 sec.
    Turnaround time :                            783 sec.

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

