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


Performing analysis on: 4FGL_J1434.7+1950_daily_bin1157
RA = 218.675, Dec = 19.8478
tmin = 539222401, tmax = 539481601
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='614557', job_status='RUN', time_executed='2021-09-10 00:28:47.486539', time_epoch_executed='1631258927.49' WHERE source_name='4FGL J1434.7+1950' and cadence='daily' and bin_id='1157'

Database successfully updated.
Done.

Creating custom output directory:
/scratch/kocevski/614557

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

Retrieving the FT1 file...

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

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

Retrieving 47 files...
Done.


Merging files...

Checksum keywords updated successfully.

Merged file saved to:
/scratch/kocevski/614557/ft1_4FGL_J1434.7+1950_daily_bin1157.fits


Retrieving the FT1 file...

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

Retrieving 47 files...
Done.


Merging files...

Merged file saved to:
/scratch/kocevski/614557/ft2_4FGL_J1434.7+1950_daily_bin1157.fits


Selecting the photons:
time -p gtselect infile=/scratch/kocevski/614557/ft1_4FGL_J1434.7+1950_daily_bin1157.fits outfile=/scratch/kocevski/614557/ft1_filteredMKT_4FGL_J1434.7+1950_daily_bin1157.fits ra=218.675 dec=19.8478 rad=12.0 tmin=539222401.0 tmax=539481601.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.30
user 4.05
sys 0.23

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

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

Generating the livetime cube:
time -p gtltcube evfile="/scratch/kocevski/614557/ft1_filtered_4FGL_J1434.7+1950_daily_bin1157.fits" evtable="EVENTS" scfile=/scratch/kocevski/614557/ft2_4FGL_J1434.7+1950_daily_bin1157.fits sctable="SC_DATA" outfile=/scratch/kocevski/614557/ltcube_539222401_539481601_4FGL_J1434.7+1950_daily_bin1157.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/614557/ft2_4FGL_J1434.7+1950_daily_bin1157.fits
.....................!
real 8.51
user 8.21
sys 0.28

Generating the exposure map:
time -p gtexpmap evfile=/scratch/kocevski/614557/ft1_filtered_4FGL_J1434.7+1950_daily_bin1157.fits evtable="EVENTS" scfile=/scratch/kocevski/614557/ft2_4FGL_J1434.7+1950_daily_bin1157.fits sctable="SC_DATA" expcube=/scratch/kocevski/614557/ltcube_539222401_539481601_4FGL_J1434.7+1950_daily_bin1157.fits outfile=/scratch/kocevski/614557/expmap_539222401_539481601_4FGL_J1434.7+1950_daily_bin1157.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/614557/ltcube_539222401_539481601_4FGL_J1434.7+1950_daily_bin1157.fits
.....................!
real 141.12
user 137.30
sys 3.59

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/614557/ft1_filtered_4FGL_J1434.7+1950_daily_bin1157.fits scfile=/scratch/kocevski/614557/ft2_4FGL_J1434.7+1950_daily_bin1157.fits outfile=/scratch/kocevski/614557/cmap_539222401_539481601_4FGL_J1434.7+1950_daily_bin1157.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.44
user 0.27
sys 0.16

Creating the high resolution counts map:
time -p gtbin evfile=/scratch/kocevski/614557/ft1_filtered_4FGL_J1434.7+1950_daily_bin1157.fits scfile=/scratch/kocevski/614557/ft2_4FGL_J1434.7+1950_daily_bin1157.fits outfile=/scratch/kocevski/614557/cmap_HighResolution_539222401_539481601_4FGL_J1434.7+1950_daily_bin1157.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.45
user 0.30
sys 0.14

Computing the diffuse response:
time -p gtdiffrsp evfile=/scratch/kocevski/614557/ft1_filtered_4FGL_J1434.7+1950_daily_bin1157.fits evtable="EVENTS" scfile=/scratch/kocevski/614557/ft2_4FGL_J1434.7+1950_daily_bin1157.fits sctable="SC_DATA" srcmdl=/scratch/kocevski/614557/Model_4FGL_J1434.7+1950_daily_bin1157.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/614557/ft1_filtered_4FGL_J1434.7+1950_daily_bin1157.fits.....................!
real 22.31
user 21.30
sys 0.92

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

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

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

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 '    15.161       1.0000         .10000E-03   10000.    
     3 'Prefactor '    .15648E-03   1.0000         .10000E-03   10000.    
     4 'Prefactor '    15.693       1.0000         .10000E-03   10000.    
     5 'norm      '    .10001E-03   1.0000         .10000E-03   10000.    
     6 'Prefactor '    .10371E-03   1.0000         .10000E-03   10000.    
     7 'norm      '    3.7027       1.0000         .10000E-03   10000.    
     8 'norm      '    15.861       1.0000         .10000E-03   10000.    
     9 'Prefactor '    13.976       1.0000         .10000E-03   10000.    
    10 'Prefactor '    25.798       1.0000         .10000E-03   10000.    
    11 'Prefactor '    41.753       1.0000         .10000E-03   10000.    
    12 'Prefactor '    7.7285       1.0000         .10000E-03   10000.    
    13 'Prefactor '    34.078       1.0000         .10000E-03   10000.    
    14 'Prefactor '    .10029E-03   1.0000         .10000E-03   10000.    
    15 'Prefactor '    .10006E-03   1.0000         .10000E-03   10000.    
    16 'norm      '    1.4660       1.0000         .10000E-03   10000.    
    17 'norm      '    .10006E-03   1.0000         .10000E-03   10000.    
    18 'Prefactor '    94.010       1.0000         .10000E-03   10000.    
    19 'Prefactor '    .10001E-03   1.0000         .10000E-03   10000.    
    20 'Normalizat'    .65754       1.0000         .10000E-01   10.000    
    21 'Prefactor '    1.3062       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=   2752.339     FROM MIGRAD    STATUS=CONVERGED    444 CALLS     2191 TOTAL
                     EDM=   .81E-09  STRATEGY=1  ERROR MATRIX UNCERTAINTY=  1.3%

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor     .10000E-03    13.025       -.20376E-06** at limit **
   2  Prefactor     15.165        31.596       -.23828E-06   -.67483E-05
   3  Prefactor     .10000E-03    136.62        .42557E-05** at limit **
   4  Prefactor     15.673        18.397        .12721E-06   -.24725E-04
   5  norm          .10000E-03    2.2264       -.19043E-07** at limit **
   6  Prefactor     .10000E-03    9.9726       -.13826E-06** at limit **
   7  norm          3.7003        6.7867        .62595E-05   -.67556E-03
   8  norm          15.862        10.849       -.83340E-07   -.78805E-05
   9  Prefactor     13.894        50.473       -.17245E-04   -.22962E-03
  10  Prefactor     25.794        57.383       -.19218E-05   -.30178E-04
  11  Prefactor     41.746        39.765       -.31161E-06   -.45153E-04
  12  Prefactor     7.7234        28.309        .69063E-06   -.66909E-05
  13  Prefactor     34.061        51.071       -.16083E-05   -.85621E-04
  14  Prefactor     .10000E-03    21.413       -.33808E-07** at limit **
  15  Prefactor     .10000E-03    12.384        .48449E-06** at limit **
  16  norm          1.4659        .52529        .14099E-07   -.14987E-03
  17  norm          .10000E-03    59.901       -.60728E-06** at limit **
  18  Prefactor     93.989        111.74       -.17794E-05   -.52235E-04
  19  Prefactor     .10000E-03    11.473       -.73462E-07** at limit **
  20  Normalizat    .65701        .35903        .16266E-05   -.54909E-04
  21  Prefactor     1.3066        .26479       -.16864E-05    .10798E-04
                               ERR DEF=  .500    
Final values: 
  Prefactor  = 0.0001
  Prefactor  = 15.1648
  Prefactor  = 0.000100001
  Prefactor  = 15.6735
  norm       = 0.0001
  Prefactor  = 0.0001
  norm       = 3.70025
  norm       = 15.8619
  Prefactor  = 13.8939
  Prefactor  = 25.7942
  Prefactor  = 41.7458
  Prefactor  = 7.72343
  Prefactor  = 34.0609
  Prefactor  = 0.0001
  Prefactor  = 0.0001
  norm       = 1.46594
  norm       = 0.0001
  Prefactor  = 93.9888
  Prefactor  = 0.0001
  Normalizat = 0.657014
  Prefactor  = 1.30663
 **********
 **   18 **HESSE 
 **********

 FCN=   2752.339     FROM HESSE     STATUS=OK           313 CALLS     2504 TOTAL
                     EDM=   .19E-08    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  Prefactor     .10000E-03    13.042        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   2  Prefactor     15.165        31.734        .10286E-03   -1.4929    
   3  Prefactor     .10000E-03    137.52        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   4  Prefactor     15.673        18.427        .10110E-03   -1.4916    
   5  norm          .10000E-03    2.2337        .76449E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   6  Prefactor     .10000E-03    9.9904        .16168E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   7  norm          3.7003        7.0442        .90675E-03   -1.5323    
   8  norm          15.862        10.849        .10057E-03   -1.4911    
   9  Prefactor     13.894        53.754        .10714E-03   -1.4962    
  10  Prefactor     25.794        57.354        .78870E-04   -1.4692    
  11  Prefactor     41.746        39.843        .62038E-04   -1.4415    
  12  Prefactor     7.7234        28.259        .14424E-03   -1.5152    
  13  Prefactor     34.061        51.180        .68645E-04   -1.4540    
  14  Prefactor     .10000E-03    21.416        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  15  Prefactor     .10000E-03    12.412        .18035E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  16  norm          1.4659        .52522        .21337E-04   -1.5466    
  17  norm          .10000E-03    59.920        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  18  Prefactor     93.989        112.34        .41450E-04   -1.3766    
  19  Prefactor     .10000E-03    11.493        .17358E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  20  Normalizat    .65701        .41421        .38517E-03   -1.0562    
  21  Prefactor     1.3066        .31231        .21112E-03   -.83110    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 1.91131e-09
Minuit parameter uncertainties:
  1  3.12176e-05
  2  31.7688
  3  0.000881207
  4  18.4337
  5  5.13872e-06
  6  4.07187e-05
  7  7.04579
  8  10.8503
  9  53.9422
  10  57.4773
  11  39.8679
  12  28.3079
  13  51.2458
  14  2.15658e-05
  15  3.91469e-05
  16  0.525217
  17  0.000115647
  18  112.596
  19  1.08574e-05
  20  0.416192
  21  0.312755
Done.

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

Extracting fit parameters...

4FGL J1434.7+1950
   Spectrum: LogParabola
234         norm:  3.700e+00  7.046e+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:  1.307e+00  3.128e-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:  6.570e-01  4.162e-01  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Fixed Index): 0.33
Ra Dec: 218.675 19.848
Photon Flux Upper Limit: 2.31e-07 ph cm-2 s-1
Energy Flux Upper Limit: 9.61e-05 MeV cm-2 s-1

Saving results to:
/scratch/kocevski/614557/likelihoodResults_539222401_539481601_4FGL_J1434.7+1950_daily_bin1157.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) = 2752.29768637
delta logL = 0.0413393847598

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

MINUIT Return Code (Free Index): 0
logL (Free Index) = 2752.27721052
delta logL = 0.0618152321472

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'norm      '    2.2732       1.0000         .10000E-03   10000.    
     2 'alpha     '    2.8262       1.0000          .0000       5.0000    
     3 'Normalizat'    .63438       1.0000         .10000E-01   10.000    
     4 'Prefactor '    1.3183       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=   2752.277     FROM MIGRAD    STATUS=CONVERGED     57 CALLS      225 TOTAL
                     EDM=   .48E-09    STRATEGY= 1      ERR MATRIX NOT POS-DEF

  EXT PARAMETER                APPROXIMATE        STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  norm          2.2613        140.49        .68093E-02   -.46365E-03
   2  alpha         2.8278        2.9320        .31268       -.29499E-04
   3  Normalizat    .63432        .99104E-01    .88347E-01   -.10564E-03
   4  Prefactor     1.3183        .71802E-01    .47568E-01   -.16682E-03
                               ERR DEF=  .500    
Final values: 
  norm       = 2.26125
  alpha      = 2.82775
  Normalizat = 0.634321
  Prefactor  = 1.3183
 **********
 **   18 **HESSE 
 **********

 FCN=   2752.277     FROM HESSE     STATUS=OK            31 CALLS      256 TOTAL
                     EDM=   .41E-09    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  norm          2.2613        8.5386        .12222E-03   -1.5407    
   2  alpha         2.8278        1.9645        .15707E-01    .13148    
   3  Normalizat    .63432        .40467        .39139E-03   -1.0655    
   4  Prefactor     1.3183        .30450        .21027E-03   -.82764    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 4.10939e-10
Minuit parameter uncertainties:
  1  8.54316
  2  2.2681
  3  0.406579
  4  0.304909
shell-init: error retrieving current directory: getcwd: cannot access parent directories: No such file or directory
rmdir: failed to remove `/scratch/kocevski/614557': 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) = 2752.27720783
delta logL = 0.0618179285402

Extracting fit parameters...

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

GAL_V02
   Spectrum: PowerLaw
503    Prefactor:  1.318e+00  3.049e-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:  6.343e-01  4.066e-01  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Free Index): 0.33
Ra Dec: 218.675 19.848

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/614557/cmap_HighResolution_539222401_539481601_4FGL_J1434.7+1950_daily_bin1157.png

Cleaning up...

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

Updating database...

UPDATE lightcurve_data_v2 SET energy_flux_upper_limit='9.61e-05', job_status='DONE', photon_flux_upper_limit='2.31e-07', time_completed='2021-09-10 00:34:18.765392', job_id='614557', GAL2='1.32', fit_tolerance='1e-08', EG2='0.63', EG='0.66', time_epoch_completed='1631259258.77', return_code2='0', ts='0.33', comment='SUCCESS', return_code='0', GAL='1.31', dlogl='6.18e-02', ts2='0.46', photon_index_error='0.00', photon_index='2.27' WHERE bin_id='1157' AND source_name='4FGL J1434.7+1950' AND cadence='daily';

Database successfully updated.


Analysis Complete.


Fri Sep 10 00:34:18 PDT 2021


------------------------------------------------------------
Sender: LSF System <lsf@bullet0086>
Subject: Job 614557: <4FGL_J1434.7+1950_daily_bin1157> in cluster <slac> Done

Job <4FGL_J1434.7+1950_daily_bin1157> was submitted from host <rhel6-64f> by user <kocevski> in cluster <slac> at Fri Sep 10 00:26:14 2021
Job was executed on host(s) <bullet0086>, in queue <medium>, as user <kocevski> in cluster <slac> at Fri Sep 10 00:26: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:26:16 2021
Terminated at Fri Sep 10 00:34:19 2021
Results reported at Fri Sep 10 00:34:19 2021

Your job looked like:

------------------------------------------------------------
# LSBATCH: User input
/nfs/farm/g/glast/g/LCRepository/Likelihood/Scripts/LikelihoodAnalysis.py 4FGL_J1434.7+1950_daily_bin1157 218.675 19.8478 539222401 539481601 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 :                                   323.19 sec.
    Max Memory :                                 1094 MB
    Average Memory :                             278.38 MB
    Total Requested Memory :                     -
    Delta Memory :                               -
    Max Swap :                                   -
    Max Processes :                              5
    Max Threads :                                21
    Run time :                                   483 sec.
    Turnaround time :                            485 sec.

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

