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


Performing analysis on: 4FGL_J1434.7+1950_daily_bin1350
RA = 218.675, Dec = 19.8478
tmin = 589248001, tmax = 589507201
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='614751', job_status='RUN', time_executed='2021-09-10 00:30:18.694700', time_epoch_executed='1631259018.69' WHERE source_name='4FGL J1434.7+1950' and cadence='daily' and bin_id='1350'

Database successfully updated.
Done.

Creating custom output directory:
/scratch/kocevski/614751

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

Retrieving the FT1 file...

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

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

Retrieving 47 files...
Done.


Merging files...

Checksum keywords updated successfully.

Merged file saved to:
/scratch/kocevski/614751/ft1_4FGL_J1434.7+1950_daily_bin1350.fits


Retrieving the FT1 file...

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

Retrieving 47 files...
Done.


Merging files...

Merged file saved to:
/scratch/kocevski/614751/ft2_4FGL_J1434.7+1950_daily_bin1350.fits


Selecting the photons:
time -p gtselect infile=/scratch/kocevski/614751/ft1_4FGL_J1434.7+1950_daily_bin1350.fits outfile=/scratch/kocevski/614751/ft1_filteredMKT_4FGL_J1434.7+1950_daily_bin1350.fits ra=218.675 dec=19.8478 rad=12.0 tmin=589248001.0 tmax=589507201.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.10
user 2.88
sys 0.20

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

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

Generating the livetime cube:
time -p gtltcube evfile="/scratch/kocevski/614751/ft1_filtered_4FGL_J1434.7+1950_daily_bin1350.fits" evtable="EVENTS" scfile=/scratch/kocevski/614751/ft2_4FGL_J1434.7+1950_daily_bin1350.fits sctable="SC_DATA" outfile=/scratch/kocevski/614751/ltcube_589248001_589507201_4FGL_J1434.7+1950_daily_bin1350.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/614751/ft2_4FGL_J1434.7+1950_daily_bin1350.fits
.....................!
real 12.25
user 11.87
sys 0.31

Generating the exposure map:
time -p gtexpmap evfile=/scratch/kocevski/614751/ft1_filtered_4FGL_J1434.7+1950_daily_bin1350.fits evtable="EVENTS" scfile=/scratch/kocevski/614751/ft2_4FGL_J1434.7+1950_daily_bin1350.fits sctable="SC_DATA" expcube=/scratch/kocevski/614751/ltcube_589248001_589507201_4FGL_J1434.7+1950_daily_bin1350.fits outfile=/scratch/kocevski/614751/expmap_589248001_589507201_4FGL_J1434.7+1950_daily_bin1350.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/614751/ltcube_589248001_589507201_4FGL_J1434.7+1950_daily_bin1350.fits
.....................!
real 191.78
user 185.65
sys 5.52

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/614751/ft1_filtered_4FGL_J1434.7+1950_daily_bin1350.fits scfile=/scratch/kocevski/614751/ft2_4FGL_J1434.7+1950_daily_bin1350.fits outfile=/scratch/kocevski/614751/cmap_589248001_589507201_4FGL_J1434.7+1950_daily_bin1350.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.53
user 0.37
sys 0.15

Creating the high resolution counts map:
time -p gtbin evfile=/scratch/kocevski/614751/ft1_filtered_4FGL_J1434.7+1950_daily_bin1350.fits scfile=/scratch/kocevski/614751/ft2_4FGL_J1434.7+1950_daily_bin1350.fits outfile=/scratch/kocevski/614751/cmap_HighResolution_589248001_589507201_4FGL_J1434.7+1950_daily_bin1350.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/614751/ft1_filtered_4FGL_J1434.7+1950_daily_bin1350.fits evtable="EVENTS" scfile=/scratch/kocevski/614751/ft2_4FGL_J1434.7+1950_daily_bin1350.fits sctable="SC_DATA" srcmdl=/scratch/kocevski/614751/Model_4FGL_J1434.7+1950_daily_bin1350.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/614751/ft1_filtered_4FGL_J1434.7+1950_daily_bin1350.fits.....................!
real 62.99
user 61.57
sys 1.17

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

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

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

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'Prefactor '    8.8573       1.0000         .10000E-03   10000.    
     2 'Prefactor '    .10004E-03   1.0000         .10000E-03   10000.    
     3 'Prefactor '    122.97       1.0000         .10000E-03   10000.    
     4 'Prefactor '    .10036E-03   1.0000         .10000E-03   10000.    
     5 'norm      '    6.8056       1.0000         .10000E-03   10000.    
     6 'Prefactor '    2.1738       1.0000         .10000E-03   10000.    
     7 'norm      '    5.6407       1.0000         .10000E-03   10000.    
     8 'norm      '    7.8713       1.0000         .10000E-03   10000.    
     9 'Prefactor '    .10001E-03   1.0000         .10000E-03   10000.    
    10 'Prefactor '    27.379       1.0000         .10000E-03   10000.    
    11 'Prefactor '    3.0564       1.0000         .10000E-03   10000.    
    12 'Prefactor '    .10180E-03   1.0000         .10000E-03   10000.    
    13 'Prefactor '    .10069E-03   1.0000         .10000E-03   10000.    
    14 'Prefactor '    .10008E-03   1.0000         .10000E-03   10000.    
    15 'Prefactor '    3.9800       1.0000         .10000E-03   10000.    
    16 'norm      '    .24012       1.0000         .10000E-03   10000.    
    17 'norm      '    .10000E-03   1.0000         .10000E-03   10000.    
    18 'Prefactor '    .10119E-03   1.0000         .10000E-03   10000.    
    19 'Prefactor '    .10250E-03   1.0000         .10000E-03   10000.    
    20 'Normalizat'    1.2272       1.0000         .10000E-01   10.000    
    21 'Prefactor '    .99626       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=   8736.293     FROM MIGRAD    STATUS=CONVERGED    447 CALLS     1908 TOTAL
                     EDM=   .63E-10  STRATEGY=1  ERROR MATRIX UNCERTAINTY=   .8%

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor     8.8570        10.831       -.74807E-08   -.40579E-04
   2  Prefactor     .10000E-03    5.2915       -.13836E-06** at limit **
   3  Prefactor     122.96        38.142       -.37025E-05    .82701E-05
   4  Prefactor     .10000E-03    4.4760       -.54616E-07** at limit **
   5  norm          6.8056        2.6491       -.44612E-07    .18549E-04
   6  Prefactor     2.1739        1.3156        .89466E-07   -.97755E-03
   7  norm          5.6405        3.1438        .71788E-07    .54802E-04
   8  norm          7.8711        4.4104       -.19395E-06    .10305E-05
   9  Prefactor     .10000E-03    12.182       -.20532E-06** at limit **
  10  Prefactor     27.372        24.926       -.43002E-05    .53015E-04
  11  Prefactor     3.0544        35.767       -.29692E-05    .29726E-05
  12  Prefactor     .10000E-03    17.398       -.58555E-05** at limit **
  13  Prefactor     .10000E-03    8.7505       -.17368E-05** at limit **
  14  Prefactor     .10000E-03    19.546        .52043E-05** at limit **
  15  Prefactor     3.9804        4.3443        .24113E-06    .46856E-05
  16  norm          .24013        .12948        .34760E-08    .48094E-03
  17  norm          .10000E-03    11.184        .24189E-05** at limit **
  18  Prefactor     .10000E-03    48.609       -.96349E-06** at limit **
  19  Prefactor     .10000E-03    7.3355        .78222E-06** at limit **
  20  Normalizat    1.2272        .18221        .13936E-05    .33203E-04
  21  Prefactor     .99634        .13322        .16358E-06    .14856E-03
                               ERR DEF=  .500    
Final values: 
  Prefactor  = 8.857
  Prefactor  = 0.0001
  Prefactor  = 122.964
  Prefactor  = 0.0001
  norm       = 6.8056
  Prefactor  = 2.17388
  norm       = 5.64048
  norm       = 7.87109
  Prefactor  = 0.0001
  Prefactor  = 27.3725
  Prefactor  = 3.05444
  Prefactor  = 0.0001
  Prefactor  = 0.0001
  Prefactor  = 0.0001
  Prefactor  = 3.98043
  norm       = 0.240126
  norm       = 0.0001
  Prefactor  = 0.0001
  Prefactor  = 0.0001
  Normalizat = 1.22715
  Prefactor  = 0.996336
 **********
 **   18 **HESSE 
 **********

 FCN=   8736.293     FROM HESSE     STATUS=OK           317 CALLS     2225 TOTAL
                     EDM=   .18E-08    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  Prefactor     8.8570        10.840        .67339E-03   -1.5113    
   2  Prefactor     .10000E-03    5.3198        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   3  Prefactor     122.96        38.370        .36295E-04   -1.3486    
   4  Prefactor     .10000E-03    4.5138        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   5  norm          6.8056        2.6489        .92057E-04   -1.5186    
   6  Prefactor     2.1739        6.4901        .13964E-02   -1.5413    
   7  norm          5.6405        3.1534        .11758E-03   -1.5233    
   8  norm          7.8711        4.4120        .14165E-03   -1.5147    
   9  Prefactor     .10000E-03    12.198        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  10  Prefactor     27.372        24.887        .76563E-04   -1.4661    
  11  Prefactor     3.0544        35.762        .23205E-03   -1.5358    
  12  Prefactor     .10000E-03    17.453        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  13  Prefactor     .10000E-03    8.7356        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  14  Prefactor     .10000E-03    19.625        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  15  Prefactor     3.9804        4.3430        .19783E-03   -1.5309    
  16  norm          .24013        .12929        .23940E-04   -1.5610    
  17  norm          .10000E-03    11.191        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  18  Prefactor     .10000E-03    48.876        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  19  Prefactor     .10000E-03    7.6313        .36285E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  20  Normalizat    1.2272        .22221        .27886E-03   -.85768    
  21  Prefactor     .99634        .16140        .22662E-03   -.92852    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 1.84169e-09
Minuit parameter uncertainties:
  1  10.8428
  2  4.99004e-06
  3  38.3776
  4  1.92137e-05
  5  2.64896
  6  6.49221
  7  3.15351
  8  4.41219
  9  7.26149e-06
  10  24.8967
  11  20.9181
  12  8.45147e-05
  13  2.79755e-05
  14  1.67314e-05
  15  4.34338
  16  0.129291
  17  1.74214e-06
  18  6.66487e-05
  19  2.24314e-05
  20  0.222385
  21  0.161477
Done.

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

Extracting fit parameters...

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

GAL_V02
   Spectrum: PowerLaw
503    Prefactor:  9.963e-01  1.615e-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.227e+00  2.224e-01  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Fixed Index): 5.45
Ra Dec: 218.675 19.848
Photon Index (Fixed Index): 2.27 +/- 0.00
Photon Flux (Fixed Index): 6.31e-08 +/- 3.53e-08
Energy Flux (Fixed Index): 2.62e-05 +/- 1.47e-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) = 8733.8563523
delta logL = 2.4363002725

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

MINUIT Return Code (Free Index): 0
logL (Free Index) = 8733.74654622
delta logL = 2.54610635616

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'norm      '    1.7054       1.0000         .10000E-03   10000.    
     2 'alpha     '    3.5336       1.0000          .0000       5.0000    
     3 'Normalizat'    1.1023       1.0000         .10000E-01   10.000    
     4 'Prefactor '    1.0535       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=   8733.747     FROM MIGRAD    STATUS=CONVERGED     57 CALLS      230 TOTAL
                     EDM=   .43E-08    STRATEGY= 1      ERR MATRIX NOT POS-DEF

  EXT PARAMETER                APPROXIMATE        STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  norm          1.7049        7.5068        .80503E-02    .65179E-03
   2  alpha         3.5341        1.8811        .18260        .10412E-03
   3  Normalizat    1.1022        .66775E-01    .65782E-01    .17821E-04
   4  Prefactor     1.0536        .48152E-01    .39710E-01    .78984E-05
                               ERR DEF=  .500    
Final values: 
  norm       = 1.70487
  alpha      = 3.53412
  Normalizat = 1.10219
  Prefactor  = 1.05356
 **********
 **   18 **HESSE 
 **********

 FCN=   8733.747     FROM HESSE     STATUS=OK            33 CALLS      263 TOTAL
                     EDM=   .41E-07    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  norm          1.7049        3.3725        .43607E-04   -1.5447    
   2  alpha         3.5341        1.0661        .77279E-02    .42646    
   3  Normalizat    1.1022        .22822        .29101E-03   -.89682    
   4  Prefactor     1.0536        .16756        .22074E-03   -.90965    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 4.14894e-08
Minuit parameter uncertainties:
  1  3.37292
  2  1.10949
  3  0.228427
  4  0.167642
shell-init: error retrieving current directory: getcwd: cannot access parent directories: No such file or directory
rmdir: failed to remove `/scratch/kocevski/614751': 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) = 8733.74654478
delta logL = 2.54610778804

Extracting fit parameters...

4FGL J1434.7+1950
   Spectrum: LogParabola
234         norm:  1.705e+00  3.373e+00  1.000e-04  1.000e+04 ( 1.000e-12)
235        alpha:  3.534e+00  1.109e+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.054e+00  1.676e-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.102e+00  2.284e-01  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Free Index): 10.79
Ra Dec: 218.675 19.848
Photon Index (Free Index): 3.53 +/- 1.11
Photon Flux (Free Index): 1.64e-07 +/- 6.72e-08
Energy Flux (Free Index): 3.00e-05 +/- 1.28e-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/614751/cmap_HighResolution_589248001_589507201_4FGL_J1434.7+1950_daily_bin1350.png

Cleaning up...

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

Updating database...

UPDATE lightcurve_data_v2 SET comment='SUCCESS', photon_flux='6.31e-08', energy_flux2='3.00e-05', photon_flux_error='3.53e-08', dlogl='2.55e+00', energy_flux='2.62e-05', photon_flux2='1.64e-07', job_status='DONE', time_completed='2021-09-10 00:40:01.308252', photon_index_error2='1.11', photon_index2='3.53', ts='5.45', fit_tolerance='1e-08', GAL='1.00', photon_index_error='0.00', energy_flux_error2='1.28e-05', EG='1.23', time_epoch_completed='1631259601.31', return_code='0', job_id='614751', GAL2='1.05', EG2='1.10', return_code2='0', energy_flux_error='1.47e-05', photon_flux_error2='6.72e-08', ts2='10.79', photon_index='2.27' WHERE bin_id='1350' AND source_name='4FGL J1434.7+1950' AND cadence='daily';

Database successfully updated.


Analysis Complete.


Fri Sep 10 00:40:01 PDT 2021


------------------------------------------------------------
Sender: LSF System <lsf@bullet0203>
Subject: Job 614751: <4FGL_J1434.7+1950_daily_bin1350> in cluster <slac> Done

Job <4FGL_J1434.7+1950_daily_bin1350> was submitted from host <rhel6-64f> by user <kocevski> in cluster <slac> at Fri Sep 10 00:26:33 2021
Job was executed on host(s) <bullet0203>, in queue <medium>, as user <kocevski> in cluster <slac> at Fri Sep 10 00:26:35 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:35 2021
Terminated at Fri Sep 10 00:40:01 2021
Results reported at Fri Sep 10 00:40:01 2021

Your job looked like:

------------------------------------------------------------
# LSBATCH: User input
/nfs/farm/g/glast/g/LCRepository/Likelihood/Scripts/LikelihoodAnalysis.py 4FGL_J1434.7+1950_daily_bin1350 218.675 19.8478 589248001 589507201 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 :                                   579.00 sec.
    Max Memory :                                 1256 MB
    Average Memory :                             260.12 MB
    Total Requested Memory :                     -
    Delta Memory :                               -
    Max Swap :                                   -
    Max Processes :                              5
    Max Threads :                                21
    Run time :                                   806 sec.
    Turnaround time :                            808 sec.

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

