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


Performing analysis on: 4FGL_J1434.7+1950_daily_bin1237
RA = 218.675, Dec = 19.8478
tmin = 559958401, tmax = 560217601
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='614638', job_status='RUN', time_executed='2021-09-10 00:26:39.863387', time_epoch_executed='1631258799.86' WHERE source_name='4FGL J1434.7+1950' and cadence='daily' and bin_id='1237'

Database successfully updated.
Done.

Creating custom output directory:
/scratch/kocevski/614638

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

Retrieving the FT1 file...

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

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

Retrieving 46 files...
Done.


Merging files...

Checksum keywords updated successfully.

Merged file saved to:
/scratch/kocevski/614638/ft1_4FGL_J1434.7+1950_daily_bin1237.fits


Retrieving the FT1 file...

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

Retrieving 46 files...
Done.


Merging files...

Merged file saved to:
/scratch/kocevski/614638/ft2_4FGL_J1434.7+1950_daily_bin1237.fits


Selecting the photons:
time -p gtselect infile=/scratch/kocevski/614638/ft1_4FGL_J1434.7+1950_daily_bin1237.fits outfile=/scratch/kocevski/614638/ft1_filteredMKT_4FGL_J1434.7+1950_daily_bin1237.fits ra=218.675 dec=19.8478 rad=12.0 tmin=559958401.0 tmax=560217601.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.57
user 3.36
sys 0.20

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

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

Generating the livetime cube:
time -p gtltcube evfile="/scratch/kocevski/614638/ft1_filtered_4FGL_J1434.7+1950_daily_bin1237.fits" evtable="EVENTS" scfile=/scratch/kocevski/614638/ft2_4FGL_J1434.7+1950_daily_bin1237.fits sctable="SC_DATA" outfile=/scratch/kocevski/614638/ltcube_559958401_560217601_4FGL_J1434.7+1950_daily_bin1237.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/614638/ft2_4FGL_J1434.7+1950_daily_bin1237.fits
.....................!
real 11.57
user 11.22
sys 0.29

Generating the exposure map:
time -p gtexpmap evfile=/scratch/kocevski/614638/ft1_filtered_4FGL_J1434.7+1950_daily_bin1237.fits evtable="EVENTS" scfile=/scratch/kocevski/614638/ft2_4FGL_J1434.7+1950_daily_bin1237.fits sctable="SC_DATA" expcube=/scratch/kocevski/614638/ltcube_559958401_560217601_4FGL_J1434.7+1950_daily_bin1237.fits outfile=/scratch/kocevski/614638/expmap_559958401_560217601_4FGL_J1434.7+1950_daily_bin1237.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/614638/ltcube_559958401_560217601_4FGL_J1434.7+1950_daily_bin1237.fits
.....................!
real 190.98
user 185.14
sys 5.48

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/614638/ft1_filtered_4FGL_J1434.7+1950_daily_bin1237.fits scfile=/scratch/kocevski/614638/ft2_4FGL_J1434.7+1950_daily_bin1237.fits outfile=/scratch/kocevski/614638/cmap_559958401_560217601_4FGL_J1434.7+1950_daily_bin1237.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.15

Creating the high resolution counts map:
time -p gtbin evfile=/scratch/kocevski/614638/ft1_filtered_4FGL_J1434.7+1950_daily_bin1237.fits scfile=/scratch/kocevski/614638/ft2_4FGL_J1434.7+1950_daily_bin1237.fits outfile=/scratch/kocevski/614638/cmap_HighResolution_559958401_560217601_4FGL_J1434.7+1950_daily_bin1237.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/614638/ft1_filtered_4FGL_J1434.7+1950_daily_bin1237.fits evtable="EVENTS" scfile=/scratch/kocevski/614638/ft2_4FGL_J1434.7+1950_daily_bin1237.fits sctable="SC_DATA" srcmdl=/scratch/kocevski/614638/Model_4FGL_J1434.7+1950_daily_bin1237.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/614638/ft1_filtered_4FGL_J1434.7+1950_daily_bin1237.fits.....................!
real 74.27
user 72.90
sys 1.19

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

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

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

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'Prefactor '    .10000E-03   1.0000         .10000E-03   10000.    
     2 'Prefactor '    5.2132       1.0000         .10000E-03   10000.    
     3 'Prefactor '    23.713       1.0000         .10000E-03   10000.    
     4 'Prefactor '    13.313       1.0000         .10000E-03   10000.    
     5 'norm      '    8.1301       1.0000         .10000E-03   10000.    
     6 'Prefactor '    5.0335       1.0000         .10000E-03   10000.    
     7 'norm      '    3.7860       1.0000         .10000E-03   10000.    
     8 'norm      '    1.2459       1.0000         .10000E-03   10000.    
     9 'Prefactor '    6.1340       1.0000         .10000E-03   10000.    
    10 'Prefactor '    .10004E-03   1.0000         .10000E-03   10000.    
    11 'Prefactor '    .10000E-03   1.0000         .10000E-03   10000.    
    12 'Prefactor '    20.653       1.0000         .10000E-03   10000.    
    13 'Prefactor '    22.536       1.0000         .10000E-03   10000.    
    14 'Prefactor '    .10003E-03   1.0000         .10000E-03   10000.    
    15 'Prefactor '    11.694       1.0000         .10000E-03   10000.    
    16 'norm      '    .47896       1.0000         .10000E-03   10000.    
    17 'norm      '    37.131       1.0000         .10000E-03   10000.    
    18 'Prefactor '    13.149       1.0000         .10000E-03   10000.    
    19 'Prefactor '    .10000E-03   1.0000         .10000E-03   10000.    
    20 'Normalizat'    1.2104       1.0000         .10000E-01   10.000    
    21 'Prefactor '    .89385       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=   11056.23     FROM MIGRAD    STATUS=CONVERGED    413 CALLS     1874 TOTAL
                     EDM=   .40E-09  STRATEGY=1  ERROR MATRIX UNCERTAINTY=   .9%

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor     .10000E-03    3.8706        .17690E-08** at limit **
   2  Prefactor     5.2134        8.2604       -.68708E-06   -.19210E-03
   3  Prefactor     23.714        25.902        .17592E-05    .24636E-05
   4  Prefactor     13.313        7.6957       -.21746E-06   -.41192E-04
   5  norm          8.1301        2.4109       -.28906E-07    .67033E-04
   6  Prefactor     5.0332        5.4141       -.28318E-06   -.34469E-03
   7  norm          3.7859        2.0880       -.51410E-06   -.26037E-03
   8  norm          1.2459        1.9924       -.46295E-06   -.13517E-02
   9  Prefactor     6.1301        28.806       -.13428E-04   -.16247E-04
  10  Prefactor     .10000E-03    5.8000       -.10032E-06** at limit **
  11  Prefactor     .10000E-03    11.916        .68533E-05** at limit **
  12  Prefactor     20.652        15.295       -.72326E-06    .15047E-04
  13  Prefactor     22.534        18.306       -.25636E-05    .29803E-04
  14  Prefactor     .10000E-03    12.346       -.68860E-05** at limit **
  15  Prefactor     11.694        7.6381       -.19859E-06   -.66129E-04
  16  norm          .47895        .17605       -.53524E-08   -.24186E-03
  17  norm          37.133        28.446        .29743E-05    .38878E-05
  18  Prefactor     13.148        17.744       -.70508E-06   -.69420E-05
  19  Prefactor     .10000E-03    1.7088       -.15924E-07** at limit **
  20  Normalizat    1.2103        .15118        .14143E-05   -.51602E-04
  21  Prefactor     .89387        .11224        .10304E-07    .11419E-03
                               ERR DEF=  .500    
Final values: 
  Prefactor  = 0.0001
  Prefactor  = 5.21341
  Prefactor  = 23.7138
  Prefactor  = 13.3132
  norm       = 8.1301
  Prefactor  = 5.03322
  norm       = 3.78589
  norm       = 1.24591
  Prefactor  = 6.13013
  Prefactor  = 0.0001
  Prefactor  = 0.0001
  Prefactor  = 20.6522
  Prefactor  = 22.5336
  Prefactor  = 0.0001
  Prefactor  = 11.6942
  norm       = 0.478953
  norm       = 37.1334
  Prefactor  = 13.1482
  Prefactor  = 0.0001
  Normalizat = 1.21032
  Prefactor  = 0.893869
 **********
 **   18 **HESSE 
 **********

 FCN=   11056.23     FROM HESSE     STATUS=OK           327 CALLS     2201 TOTAL
                     EDM=   .80E-09    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  Prefactor     .10000E-03    3.8768        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   2  Prefactor     5.2134        8.2870        .17605E-03   -1.5251    
   3  Prefactor     23.714        25.889        .82259E-04   -1.4734    
   4  Prefactor     13.313        7.6703        .10978E-03   -1.4978    
   5  norm          8.1301        2.4115        .85916E-04   -1.5138    
   6  Prefactor     5.0332        5.4050        .17923E-03   -1.5259    
   7  norm          3.7859        2.0898        .10870E-03   -1.5319    
   8  norm          1.2459        1.9926        .18518E-03   -1.5485    
   9  Prefactor     6.1301        29.139        .16210E-03   -1.5213    
  10  Prefactor     .10000E-03    5.8107        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  11  Prefactor     .10000E-03    11.885        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  12  Prefactor     20.652        15.285        .88134E-04   -1.4799    
  13  Prefactor     22.534        18.256        .84376E-04   -1.4758    
  14  Prefactor     .10000E-03    12.238        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  15  Prefactor     11.694        7.6464        .11715E-03   -1.5024    
  16  norm          .47895        .17454        .25924E-04   -1.5570    
  17  norm          37.133        28.408        .65771E-04   -1.4488    
  18  Prefactor     13.148        17.749        .11046E-03   -1.4983    
  19  Prefactor     .10000E-03    1.7129        .13423E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  20  Normalizat    1.2103        .17906        .26518E-03   -.86284    
  21  Prefactor     .89387        .13300        .22841E-03   -.96356    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 8.01274e-10
Minuit parameter uncertainties:
  1  2.91689e-06
  2  8.28879
  3  25.901
  4  7.67089
  5  2.41149
  6  5.40557
  7  2.08984
  8  1.99267
  9  26.7513
  10  9.85037e-06
  11  2.45165e-05
  12  15.2877
  13  18.2601
  14  2.10336e-05
  15  7.64702
  16  0.174535
  17  28.4179
  18  17.7561
  19  6.50934e-07
  20  0.17915
  21  0.133048
Done.

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

Extracting fit parameters...

4FGL J1434.7+1950
   Spectrum: LogParabola
234         norm:  3.786e+00  2.090e+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.939e-01  1.330e-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.210e+00  1.791e-01  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Fixed Index): 7.73
Ra Dec: 218.675 19.848
Photon Index (Fixed Index): 2.27 +/- 0.00
Photon Flux (Fixed Index): 4.24e-08 +/- 2.34e-08
Energy Flux (Fixed Index): 1.76e-05 +/- 9.71e-06

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) = 11056.1662581
delta logL = 0.0616621276076

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

MINUIT Return Code (Free Index): 0
logL (Free Index) = 11056.1651296
delta logL = 0.0627906143072

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'norm      '    3.3872       1.0000         .10000E-03   10000.    
     2 'alpha     '    2.4677       1.0000          .0000       5.0000    
     3 'Normalizat'    1.2016       1.0000         .10000E-01   10.000    
     4 'Prefactor '    .89709       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=   11056.17     FROM MIGRAD    STATUS=CONVERGED     56 CALLS      271 TOTAL
                     EDM=   .13E-07    STRATEGY= 1      ERR MATRIX NOT POS-DEF

  EXT PARAMETER                APPROXIMATE        STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  norm          3.3878        32.624        .54961E-02    .37434E-03
   2  alpha         2.4680        3.7199        .28289        .92664E-04
   3  Normalizat    1.2016        .77052E-01    .60128E-01    .14009E-04
   4  Prefactor     .89708        .43994E-01    .44968E-01    .17994E-04
                               ERR DEF=  .500    
Final values: 
  norm       = 3.38783
  alpha      = 2.46801
  Normalizat = 1.20161
  Prefactor  = 0.897082
 **********
 **   18 **HESSE 
 **********

 FCN=   11056.17     FROM HESSE     STATUS=OK            33 CALLS      304 TOTAL
                     EDM=   .77E-08    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  norm          3.3878        2.3759        .98594E-04   -1.5340    
   2  alpha         2.4680        .58656        .14647E-01   -.12797E-01
   3  Normalizat    1.2016        .17473        .26593E-03   -.86553    
   4  Prefactor     .89708        .13103        .22801E-03   -.96243    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 7.72027e-09
Minuit parameter uncertainties:
  1  2.37597
  2  0.592077
  3  0.174816
  4  0.131074
shell-init: error retrieving current directory: getcwd: cannot access parent directories: No such file or directory
rmdir: failed to remove `/scratch/kocevski/614638': 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) = 11056.165129
delta logL = 0.0627911802603

Extracting fit parameters...

4FGL J1434.7+1950
   Spectrum: LogParabola
234         norm:  3.388e+00  2.376e+00  1.000e-04  1.000e+04 ( 1.000e-12)
235        alpha:  2.468e+00  5.921e-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.971e-01  1.311e-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.202e+00  1.748e-01  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Free Index): 7.83
Ra Dec: 218.675 19.848
Photon Index (Free Index): 2.47 +/- 0.59
Photon Flux (Free Index): 5.09e-08 +/- 3.53e-08
Energy Flux (Free Index): 1.71e-05 +/- 9.26e-06

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/614638/cmap_HighResolution_559958401_560217601_4FGL_J1434.7+1950_daily_bin1237.png

Cleaning up...

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

Updating database...

UPDATE lightcurve_data_v2 SET comment='SUCCESS', photon_flux='4.24e-08', energy_flux2='1.71e-05', photon_flux_error='2.34e-08', dlogl='6.28e-02', energy_flux='1.76e-05', photon_flux2='5.09e-08', job_status='DONE', time_completed='2021-09-10 00:37:23.090247', photon_index_error2='0.59', photon_index2='2.47', ts='7.73', fit_tolerance='1e-08', GAL='0.89', photon_index_error='0.00', energy_flux_error2='9.26e-06', EG='1.21', time_epoch_completed='1631259443.09', return_code='0', job_id='614638', GAL2='0.90', EG2='1.20', return_code2='0', energy_flux_error='9.71e-06', photon_flux_error2='3.53e-08', ts2='7.83', photon_index='2.27' WHERE bin_id='1237' AND source_name='4FGL J1434.7+1950' AND cadence='daily';

Database successfully updated.


Analysis Complete.


Fri Sep 10 00:37:23 PDT 2021


------------------------------------------------------------
Sender: LSF System <lsf@bullet0058>
Subject: Job 614638: <4FGL_J1434.7+1950_daily_bin1237> in cluster <slac> Done

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

Your job looked like:

------------------------------------------------------------
# LSBATCH: User input
/nfs/farm/g/glast/g/LCRepository/Likelihood/Scripts/LikelihoodAnalysis.py 4FGL_J1434.7+1950_daily_bin1237 218.675 19.8478 559958401 560217601 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 :                                   641.24 sec.
    Max Memory :                                 1256 MB
    Average Memory :                             385.55 MB
    Total Requested Memory :                     -
    Delta Memory :                               -
    Max Swap :                                   -
    Max Processes :                              5
    Max Threads :                                21
    Run time :                                   659 sec.
    Turnaround time :                            660 sec.

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

