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


Performing analysis on: 4FGL_J1434.7+1950_daily_bin1118
RA = 218.675, Dec = 19.8478
tmin = 529113601, tmax = 529372801
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='614518', job_status='RUN', time_executed='2021-09-10 00:29:07.611491', time_epoch_executed='1631258947.61' WHERE source_name='4FGL J1434.7+1950' and cadence='daily' and bin_id='1118'

Database successfully updated.
Done.

Creating custom output directory:
/scratch/kocevski/614518

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

Retrieving the FT1 file...

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

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

Retrieving 47 files...
Done.


Merging files...

Checksum keywords updated successfully.

Merged file saved to:
/scratch/kocevski/614518/ft1_4FGL_J1434.7+1950_daily_bin1118.fits


Retrieving the FT1 file...

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

Retrieving 47 files...
Done.


Merging files...

Merged file saved to:
/scratch/kocevski/614518/ft2_4FGL_J1434.7+1950_daily_bin1118.fits


Selecting the photons:
time -p gtselect infile=/scratch/kocevski/614518/ft1_4FGL_J1434.7+1950_daily_bin1118.fits outfile=/scratch/kocevski/614518/ft1_filteredMKT_4FGL_J1434.7+1950_daily_bin1118.fits ra=218.675 dec=19.8478 rad=12.0 tmin=529113601.0 tmax=529372801.0 emin=100.0 emax=100000.0 zmin=0.0 zmax=90.0 evclass=128 evtype="INDEF" convtype=-1 phasemin=0.0 phasemax=1.0 evtable="EVENTS" chatter=2 clobber=yes debug=no gui=no mode="ql"

WARNING: version mismatch between CFITSIO header (v3.43) and linked library (v3.41).

Done.
real 3.86
user 3.61
sys 0.23

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

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

Generating the livetime cube:
time -p gtltcube evfile="/scratch/kocevski/614518/ft1_filtered_4FGL_J1434.7+1950_daily_bin1118.fits" evtable="EVENTS" scfile=/scratch/kocevski/614518/ft2_4FGL_J1434.7+1950_daily_bin1118.fits sctable="SC_DATA" outfile=/scratch/kocevski/614518/ltcube_529113601_529372801_4FGL_J1434.7+1950_daily_bin1118.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/614518/ft2_4FGL_J1434.7+1950_daily_bin1118.fits
.....................!
real 12.08
user 11.70
sys 0.32

Generating the exposure map:
time -p gtexpmap evfile=/scratch/kocevski/614518/ft1_filtered_4FGL_J1434.7+1950_daily_bin1118.fits evtable="EVENTS" scfile=/scratch/kocevski/614518/ft2_4FGL_J1434.7+1950_daily_bin1118.fits sctable="SC_DATA" expcube=/scratch/kocevski/614518/ltcube_529113601_529372801_4FGL_J1434.7+1950_daily_bin1118.fits outfile=/scratch/kocevski/614518/expmap_529113601_529372801_4FGL_J1434.7+1950_daily_bin1118.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/614518/ltcube_529113601_529372801_4FGL_J1434.7+1950_daily_bin1118.fits
.....................!
real 190.89
user 185.35
sys 5.23

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/614518/ft1_filtered_4FGL_J1434.7+1950_daily_bin1118.fits scfile=/scratch/kocevski/614518/ft2_4FGL_J1434.7+1950_daily_bin1118.fits outfile=/scratch/kocevski/614518/cmap_529113601_529372801_4FGL_J1434.7+1950_daily_bin1118.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.55
user 0.37
sys 0.15

Creating the high resolution counts map:
time -p gtbin evfile=/scratch/kocevski/614518/ft1_filtered_4FGL_J1434.7+1950_daily_bin1118.fits scfile=/scratch/kocevski/614518/ft2_4FGL_J1434.7+1950_daily_bin1118.fits outfile=/scratch/kocevski/614518/cmap_HighResolution_529113601_529372801_4FGL_J1434.7+1950_daily_bin1118.fits algorithm="CMAP" ebinalg="LOG" emin=30.0 emax=200000.0 ebinfile=NONE tbinalg="LIN" tbinfile=NONE nxpix=500 nypix=500 binsz=0.1 coordsys="CEL" xref=218.675 yref=19.8478 axisrot=0.0 rafield="RA" decfield="DEC" proj="AIT" hpx_ordering_scheme="RING" hpx_order=3 hpx_ebin=yes hpx_region="" evtable="EVENTS" sctable="SC_DATA" efield="ENERGY" tfield="TIME" chatter=2 clobber=yes debug=no gui=no mode="ql"

WARNING: version mismatch between CFITSIO header (v3.43) and linked library (v3.41).

This is gtbin version HEAD
real 0.54
user 0.38
sys 0.15

Computing the diffuse response:
time -p gtdiffrsp evfile=/scratch/kocevski/614518/ft1_filtered_4FGL_J1434.7+1950_daily_bin1118.fits evtable="EVENTS" scfile=/scratch/kocevski/614518/ft2_4FGL_J1434.7+1950_daily_bin1118.fits sctable="SC_DATA" srcmdl=/scratch/kocevski/614518/Model_4FGL_J1434.7+1950_daily_bin1118.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/614518/ft1_filtered_4FGL_J1434.7+1950_daily_bin1118.fits.....................!
real 50.38
user 49.09
sys 1.17

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

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

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

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 '    9.9253       1.0000         .10000E-03   10000.    
     3 'Prefactor '    .10247E-03   1.0000         .10000E-03   10000.    
     4 'Prefactor '    6.9255       1.0000         .10000E-03   10000.    
     5 'norm      '    5.6554       1.0000         .10000E-03   10000.    
     6 'Prefactor '    15.258       1.0000         .10000E-03   10000.    
     7 'norm      '    5.9038       1.0000         .10000E-03   10000.    
     8 'norm      '    16.620       1.0000         .10000E-03   10000.    
     9 'Prefactor '    .10022E-03   1.0000         .10000E-03   10000.    
    10 'Prefactor '    .10028E-03   1.0000         .10000E-03   10000.    
    11 'Prefactor '    .10157E-03   1.0000         .10000E-03   10000.    
    12 'Prefactor '    .10066E-03   1.0000         .10000E-03   10000.    
    13 'Prefactor '    .10002E-03   1.0000         .10000E-03   10000.    
    14 'Prefactor '    19.353       1.0000         .10000E-03   10000.    
    15 'Prefactor '    .50898E-02   1.0000         .10000E-03   10000.    
    16 'norm      '    2.6268       1.0000         .10000E-03   10000.    
    17 'norm      '    1.0144       1.0000         .10000E-03   10000.    
    18 'Prefactor '    54.089       1.0000         .10000E-03   10000.    
    19 'Prefactor '    .10003E-03   1.0000         .10000E-03   10000.    
    20 'Normalizat'    1.2974       1.0000         .10000E-01   10.000    
    21 'Prefactor '    .83848       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.

 FCN=   6442.273     FROM MIGRAD    STATUS=CONVERGED    772 CALLS     2522 TOTAL
                     EDM=   .59E-09    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor     .10000E-03    47.485        .36285E-03** at limit **
   2  Prefactor     9.9271        11.535        .12719E-03   -.29317E-04
   3  Prefactor     .10000E-03    14.119        .18142E-02** at limit **
   4  Prefactor     6.9268        6.6313        .76225E-03   -.19613E-04
   5  norm          5.6559        3.0039        .98143E-04    .76453E-05
   6  Prefactor     15.260        8.6376        .10254E-03    .34593E-04
   7  norm          5.9037        3.0594        .97223E-04    .41278E-04
   8  norm          16.620        6.6817        .98244E-04    .59595E-04
   9  Prefactor     .10000E-03    12.266        .18142E-02** at limit **
  10  Prefactor     .10000E-03    12.179        .18142E-02** at limit **
  11  Prefactor     .10000E-03    8.7067        .18142E-02** at limit **
  12  Prefactor     .10000E-03    4.8713        .17287E-02** at limit **
  13  Prefactor     .10000E-03    6.1743        .18142E-02** at limit **
  14  Prefactor     19.354        20.705        .91045E-04    .66181E-05
  15  Prefactor     .10002E-03    42.974        .35572E-02** at limit **
  16  norm          2.6268        .43543        .20841E-04   -.24001E-04
  17  norm          .96994        233.54        .78384E-02    .45445E-04
  18  Prefactor     54.051        41.229        .54538E-04   -.75252E-04
  19  Prefactor     .10000E-03    3.2023        .14019E-02** at limit **
  20  Normalizat    1.2973        .24679        .26831E-03    .94278E-04
  21  Prefactor     .83847        .18041        .24340E-03    .71230E-04
                               ERR DEF=  .500    
Final values: 
  Prefactor  = 0.0001
  Prefactor  = 9.9271
  Prefactor  = 0.0001
  Prefactor  = 6.9268
  norm       = 5.65585
  Prefactor  = 15.2604
  norm       = 5.90366
  norm       = 16.6196
  Prefactor  = 0.0001
  Prefactor  = 0.0001
  Prefactor  = 0.0001
  Prefactor  = 0.0001
  Prefactor  = 0.0001
  Prefactor  = 19.3541
  Prefactor  = 0.000100015
  norm       = 2.62685
  norm       = 0.969945
  Prefactor  = 54.0506
  Prefactor  = 0.0001
  Normalizat = 1.29732
  Prefactor  = 0.838474
 **********
 **   18 **HESSE 
 **********

 FCN=   6442.273     FROM HESSE     STATUS=OK           299 CALLS     2821 TOTAL
                     EDM=   .44E-09    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  Prefactor     .10000E-03    47.489        .72569E-04   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   2  Prefactor     9.9271        11.535        .50877E-05   -1.5078    
   3  Prefactor     .10000E-03    14.120        .36285E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   4  Prefactor     6.9268        6.6299        .30490E-04   -1.5182    
   5  norm          5.6559        3.0039        .39257E-05   -1.5232    
   6  Prefactor     15.260        8.6365        .41015E-05   -1.4926    
   7  norm          5.9037        3.0593        .38889E-05   -1.5222    
   8  norm          16.620        6.6817        .39297E-05   -1.4892    
   9  Prefactor     .10000E-03    12.267        .36285E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  10  Prefactor     .10000E-03    12.180        .36285E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  11  Prefactor     .10000E-03    8.7070        .36285E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  12  Prefactor     .10000E-03    4.8716        .34575E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  13  Prefactor     .10000E-03    6.1744        .36285E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  14  Prefactor     19.354        20.708        .36418E-05   -1.4828    
  15  Prefactor     .10002E-03    43.615        .71143E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  16  norm          2.6268        .43542        .83366E-06   -1.5384    
  17  norm          .96994        239.43        .31354E-03   -1.5511    
  18  Prefactor     54.051        41.229        .10908E-04   -1.4236    
  19  Prefactor     .10000E-03    3.2024        .28037E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  20  Normalizat    1.2973        .24685        .10732E-04   -.83646    
  21  Prefactor     .83847        .18027        .97360E-05   -.98325    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 4.4215e-10
Minuit parameter uncertainties:
  1  0.000287405
  2  11.5372
  3  1.0087e-05
  4  6.6306
  5  3.00395
  6  8.63719
  7  3.05939
  8  6.68202
  9  1.9455e-05
  10  1.92104e-05
  11  5.55235e-06
  12  2.41264e-07
  13  1.40608e-06
  14  20.7153
  15  0.00164017
  16  0.435424
  17  30.6016
  18  41.251
  19  1.70288e-06
  20  0.24707
  21  0.180397
Done.

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

Extracting fit parameters...

4FGL J1434.7+1950
   Spectrum: LogParabola
234         norm:  5.904e+00  3.059e+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:  8.385e-01  1.804e-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.297e+00  2.471e-01  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Fixed Index): 11.66
Ra Dec: 218.675 19.848
Photon Index (Fixed Index): 2.27 +/- 0.00
Photon Flux (Fixed Index): 6.61e-08 +/- 3.42e-08
Energy Flux (Fixed Index): 2.74e-05 +/- 1.42e-05

Performing a free index iterative likelihood fit...

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

Done.

Freeing candidate source...
Done.

Fit tolerance = 1

Performing likelihood fit...
Done.

MINUIT Return Code (Free Index): 0
logL (Free Index) = 6442.13960692
delta logL = 0.133795135455

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

MINUIT Return Code (Free Index): 0
logL (Free Index) = 6442.13354276
delta logL = 0.13985930077

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'norm      '    4.7468       1.0000         .10000E-03   10000.    
     2 'alpha     '    2.6456       1.0000          .0000       5.0000    
     3 'Normalizat'    1.2658       1.0000         .10000E-01   10.000    
     4 'Prefactor '    .85079       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=   6442.134     FROM MIGRAD    STATUS=CONVERGED     48 CALLS      234 TOTAL
                     EDM=   .10E-08    STRATEGY= 1      ERR MATRIX NOT POS-DEF

  EXT PARAMETER                APPROXIMATE        STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  norm          4.7468        33.528        .46170E-02    .49354E-03
   2  alpha         2.6457        3.8157        .30368        .58423E-04
   3  Normalizat    1.2658        .11434        .61238E-01    .77653E-05
   4  Prefactor     .85080        .59014E-01    .44375E-01    .13590E-04
                               ERR DEF=  .500    
Final values: 
  norm       = 4.74679
  alpha      = 2.64571
  Normalizat = 1.26577
  Prefactor  = 0.850795
 **********
 **   18 **HESSE 
 **********

 FCN=   6442.134     FROM HESSE     STATUS=OK            33 CALLS      267 TOTAL
                     EDM=   .44E-08    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  norm          4.7468        3.7358        .79500E-04   -1.5272    
   2  alpha         2.6457        .74649        .10347E-01    .58318E-01
   3  Normalizat    1.2658        .24808        .27085E-03   -.84594    
   4  Prefactor     .85080        .18047        .24167E-03   -.97882    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 4.43875e-09
Minuit parameter uncertainties:
  1  3.73601
  2  0.758092
  3  0.248314
  4  0.180593
shell-init: error retrieving current directory: getcwd: cannot access parent directories: No such file or directory
rmdir: failed to remove `/scratch/kocevski/614518': 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) = 6442.1335426
delta logL = 0.139859461992

Extracting fit parameters...

4FGL J1434.7+1950
   Spectrum: LogParabola
234         norm:  4.747e+00  3.736e+00  1.000e-04  1.000e+04 ( 1.000e-12)
235        alpha:  2.646e+00  7.581e-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:  8.508e-01  1.806e-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.266e+00  2.483e-01  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Free Index): 11.90
Ra Dec: 218.675 19.848
Photon Index (Free Index): 2.65 +/- 0.76
Photon Flux (Free Index): 9.44e-08 +/- 7.24e-08
Energy Flux (Free Index): 2.71e-05 +/- 1.29e-05

Creating a high resolution counts map...
INFO: Auto-setting vmin to -2.500e-04 [aplpy.core]
INFO: Auto-setting vmax to  2.775e-03 [aplpy.core]
Saving /scratch/kocevski/614518/cmap_HighResolution_529113601_529372801_4FGL_J1434.7+1950_daily_bin1118.png

Cleaning up...

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

Updating database...

UPDATE lightcurve_data_v2 SET comment='SUCCESS', photon_flux='6.61e-08', energy_flux2='2.71e-05', photon_flux_error='3.42e-08', dlogl='1.40e-01', energy_flux='2.74e-05', photon_flux2='9.44e-08', job_status='DONE', time_completed='2021-09-10 00:38:29.173774', photon_index_error2='0.76', photon_index2='2.65', ts='11.66', fit_tolerance='1e-08', GAL='0.84', photon_index_error='0.00', energy_flux_error2='1.29e-05', EG='1.30', time_epoch_completed='1631259509.17', return_code='0', job_id='614518', GAL2='0.85', EG2='1.27', return_code2='0', energy_flux_error='1.42e-05', photon_flux_error2='7.24e-08', ts2='11.90', photon_index='2.27' WHERE bin_id='1118' AND source_name='4FGL J1434.7+1950' AND cadence='daily';

Database successfully updated.


Analysis Complete.


Fri Sep 10 00:38:29 PDT 2021


------------------------------------------------------------
Sender: LSF System <scs@bullet0133>
Subject: Job 614518: <4FGL_J1434.7+1950_daily_bin1118> in cluster <slac> Done

Job <4FGL_J1434.7+1950_daily_bin1118> was submitted from host <rhel6-64f> by user <kocevski> in cluster <slac> at Fri Sep 10 00:26:10 2021
Job was executed on host(s) <bullet0133>, in queue <medium>, as user <kocevski> in cluster <slac> at Fri Sep 10 00:26:12 2021
</u/ki/kocevski> was used as the home directory.
</u/ki/kocevski> was used as the working directory.
Started at Fri Sep 10 00:26:12 2021
Terminated at Fri Sep 10 00:38:29 2021
Results reported at Fri Sep 10 00:38:29 2021

Your job looked like:

------------------------------------------------------------
# LSBATCH: User input
/nfs/farm/g/glast/g/LCRepository/Likelihood/Scripts/LikelihoodAnalysis.py 4FGL_J1434.7+1950_daily_bin1118 218.675 19.8478 529113601 529372801 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 :                                   554.00 sec.
    Max Memory :                                 1256 MB
    Average Memory :                             302.33 MB
    Total Requested Memory :                     -
    Delta Memory :                               -
    Max Swap :                                   -
    Max Processes :                              5
    Max Threads :                                21
    Run time :                                   737 sec.
    Turnaround time :                            739 sec.

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

