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


Performing analysis on: 4FGL_J1434.7+1950_daily_bin1011
RA = 218.675, Dec = 19.8478
tmin = 501379201, tmax = 501638401
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='614410', job_status='RUN', time_executed='2021-09-10 00:29:33.216594', time_epoch_executed='1631258973.22' WHERE source_name='4FGL J1434.7+1950' and cadence='daily' and bin_id='1011'

Database successfully updated.
Done.

Creating custom output directory:
/scratch/kocevski/614410

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

Retrieving the FT1 file...

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

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

Retrieving 47 files...
Done.


Merging files...

Checksum keywords updated successfully.

Merged file saved to:
/scratch/kocevski/614410/ft1_4FGL_J1434.7+1950_daily_bin1011.fits


Retrieving the FT1 file...

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

Retrieving 47 files...
Done.


Merging files...

Merged file saved to:
/scratch/kocevski/614410/ft2_4FGL_J1434.7+1950_daily_bin1011.fits


Selecting the photons:
time -p gtselect infile=/scratch/kocevski/614410/ft1_4FGL_J1434.7+1950_daily_bin1011.fits outfile=/scratch/kocevski/614410/ft1_filteredMKT_4FGL_J1434.7+1950_daily_bin1011.fits ra=218.675 dec=19.8478 rad=12.0 tmin=501379201.0 tmax=501638401.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.61
user 3.38
sys 0.21

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

Selecting the good time intervals:
time -p gtmktime scfile=/scratch/kocevski/614410/ft2_4FGL_J1434.7+1950_daily_bin1011.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/614410/ft1_filteredMKT_4FGL_J1434.7+1950_daily_bin1011.fits evtable="EVENTS" outfile="/scratch/kocevski/614410/ft1_filtered_4FGL_J1434.7+1950_daily_bin1011.fits" apply_filter=yes overwrite=yes header_obstimes=yes tstart=0.0 tstop=0.0 gtifile="default" chatter=3 clobber=yes debug=no gui=no mode="ql"

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

This is gtmktime version HEAD
Applying GTI filter:
IN_SAA!=T && LIVETIME>0 && gtifilter('/nfs/farm/g/glast/g/LCRepository/Likelihood/GTIs/nogrb.gti',(START+STOP)/2) && (angsep(RA_SUN,DEC_SUN,RA_ZENITH,DEC_ZENITH)>115 || gtifilter('/nfs/farm/g/glast/g/LCRepository/Likelihood/GTIs/nosolarflares.gti',(START+STOP)/2))
real 0.50
user 0.32
sys 0.16

Generating the livetime cube:
time -p gtltcube evfile="/scratch/kocevski/614410/ft1_filtered_4FGL_J1434.7+1950_daily_bin1011.fits" evtable="EVENTS" scfile=/scratch/kocevski/614410/ft2_4FGL_J1434.7+1950_daily_bin1011.fits sctable="SC_DATA" outfile=/scratch/kocevski/614410/ltcube_501379201_501638401_4FGL_J1434.7+1950_daily_bin1011.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/614410/ft2_4FGL_J1434.7+1950_daily_bin1011.fits
.....................!
real 11.86
user 11.47
sys 0.31

Generating the exposure map:
time -p gtexpmap evfile=/scratch/kocevski/614410/ft1_filtered_4FGL_J1434.7+1950_daily_bin1011.fits evtable="EVENTS" scfile=/scratch/kocevski/614410/ft2_4FGL_J1434.7+1950_daily_bin1011.fits sctable="SC_DATA" expcube=/scratch/kocevski/614410/ltcube_501379201_501638401_4FGL_J1434.7+1950_daily_bin1011.fits outfile=/scratch/kocevski/614410/expmap_501379201_501638401_4FGL_J1434.7+1950_daily_bin1011.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/614410/ltcube_501379201_501638401_4FGL_J1434.7+1950_daily_bin1011.fits
.....................!
real 191.80
user 186.26
sys 4.99

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/614410/ft1_filtered_4FGL_J1434.7+1950_daily_bin1011.fits scfile=/scratch/kocevski/614410/ft2_4FGL_J1434.7+1950_daily_bin1011.fits outfile=/scratch/kocevski/614410/cmap_501379201_501638401_4FGL_J1434.7+1950_daily_bin1011.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.56
user 0.37
sys 0.15

Creating the high resolution counts map:
time -p gtbin evfile=/scratch/kocevski/614410/ft1_filtered_4FGL_J1434.7+1950_daily_bin1011.fits scfile=/scratch/kocevski/614410/ft2_4FGL_J1434.7+1950_daily_bin1011.fits outfile=/scratch/kocevski/614410/cmap_HighResolution_501379201_501638401_4FGL_J1434.7+1950_daily_bin1011.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.55
user 0.38
sys 0.15

Computing the diffuse response:
time -p gtdiffrsp evfile=/scratch/kocevski/614410/ft1_filtered_4FGL_J1434.7+1950_daily_bin1011.fits evtable="EVENTS" scfile=/scratch/kocevski/614410/ft2_4FGL_J1434.7+1950_daily_bin1011.fits sctable="SC_DATA" srcmdl=/scratch/kocevski/614410/Model_4FGL_J1434.7+1950_daily_bin1011.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/614410/ft1_filtered_4FGL_J1434.7+1950_daily_bin1011.fits.....................!
real 50.09
user 48.71
sys 1.16

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

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

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

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'Prefactor '    .10008E-03   1.0000         .10000E-03   10000.    
     2 'Prefactor '    17.491       1.0000         .10000E-03   10000.    
     3 'Prefactor '    .10279E-03   1.0000         .10000E-03   10000.    
     4 'Prefactor '    .12991E-03   1.0000         .10000E-03   10000.    
     5 'norm      '    14.849       1.0000         .10000E-03   10000.    
     6 'Prefactor '    10.686       1.0000         .10000E-03   10000.    
     7 'norm      '    5.1585       1.0000         .10000E-03   10000.    
     8 'norm      '    .64157       1.0000         .10000E-03   10000.    
     9 'Prefactor '    .10005E-03   1.0000         .10000E-03   10000.    
    10 'Prefactor '    .10000E-03   1.0000         .10000E-03   10000.    
    11 'Prefactor '    .10001E-03   1.0000         .10000E-03   10000.    
    12 'Prefactor '    .10003E-03   1.0000         .10000E-03   10000.    
    13 'Prefactor '    .10000E-03   1.0000         .10000E-03   10000.    
    14 'Prefactor '    .10000E-03   1.0000         .10000E-03   10000.    
    15 'Prefactor '    3.0880       1.0000         .10000E-03   10000.    
    16 'norm      '    2.6326       1.0000         .10000E-03   10000.    
    17 'norm      '    .10000E-03   1.0000         .10000E-03   10000.    
    18 'Prefactor '    56.239       1.0000         .10000E-03   10000.    
    19 'Prefactor '    .10000E-03   1.0000         .10000E-03   10000.    
    20 'Normalizat'    1.0440       1.0000         .10000E-01   10.000    
    21 'Prefactor '    .89978       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=   6296.131     FROM MIGRAD    STATUS=CONVERGED    440 CALLS     2163 TOTAL
                     EDM=   .12E-08  STRATEGY=1  ERROR MATRIX UNCERTAINTY=  6.0%

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor     .10000E-03    6.3074        .16800E-08** at limit **
   2  Prefactor     17.491        11.910        .28478E-06   -.31821E-04
   3  Prefactor     .10000E-03    37.932        .28418E-05** at limit **
   4  Prefactor     .10016E-03    7.8835        .50208E-05** at limit **
   5  norm          14.849        4.1011        .83551E-07   -.29492E-04
   6  Prefactor     10.689        7.0751        .49101E-06   -.48251E-03
   7  norm          5.1587        2.9459        .38793E-07   -.14139E-03
   8  norm          .64643        4.5160        .23676E-05   -.30722E-04
   9  Prefactor     .10000E-03    20.367       -.85862E-06** at limit **
  10  Prefactor     .10000E-03    7.6838        .27331E-06** at limit **
  11  Prefactor     .10000E-03    7.9629       -.49326E-06** at limit **
  12  Prefactor     .10000E-03    6.2358       -.39779E-06** at limit **
  13  Prefactor     .10000E-03    15.193        .43219E-05** at limit **
  14  Prefactor     .10000E-03    10.756       -.18490E-05** at limit **
  15  Prefactor     3.0907        9.5933        .61406E-05    .54633E-03
  16  norm          2.6326        .42357        .77794E-08   -.36954E-03
  17  norm          .10000E-03    20.283       -.72884E-06** at limit **
  18  Prefactor     56.217        50.915        .47880E-05    .11460E-03
  19  Prefactor     .10000E-03    7.3927        .90342E-06** at limit **
  20  Normalizat    1.0440        .19313       -.33152E-06   -.28513E-03
  21  Prefactor     .89978        .14672       -.10919E-05   -.26391E-03
                               ERR DEF=  .500    
Final values: 
  Prefactor  = 0.0001
  Prefactor  = 17.4911
  Prefactor  = 0.0001
  Prefactor  = 0.000100161
  norm       = 14.8491
  Prefactor  = 10.6886
  norm       = 5.15867
  norm       = 0.646429
  Prefactor  = 0.0001
  Prefactor  = 0.0001
  Prefactor  = 0.0001
  Prefactor  = 0.0001
  Prefactor  = 0.0001
  Prefactor  = 0.0001
  Prefactor  = 3.09075
  norm       = 2.63263
  norm       = 0.0001
  Prefactor  = 56.2167
  Prefactor  = 0.0001
  Normalizat = 1.044
  Prefactor  = 0.899783
 **********
 **   18 **HESSE 
 **********

 FCN=   6296.131     FROM HESSE     STATUS=OK           313 CALLS     2476 TOTAL
                     EDM=   .43E-07    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  Prefactor     .10000E-03    6.3334        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   2  Prefactor     17.491        11.943        .95766E-04   -1.4871    
   3  Prefactor     .10000E-03    38.329        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   4  Prefactor     .10016E-03    22.422        .31021E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   5  norm          14.849        4.1007        .81510E-04   -1.4937    
   6  Prefactor     10.689        6.8618        .12257E-03   -1.5054    
   7  norm          5.1587        2.9439        .98956E-04   -1.5254    
   8  norm          .64643        8.3904        .29890E-02   -1.5547    
   9  Prefactor     .10000E-03    20.404        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  10  Prefactor     .10000E-03    7.6934        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  11  Prefactor     .10000E-03    7.9679        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  12  Prefactor     .10000E-03    6.2568        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  13  Prefactor     .10000E-03    15.264        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  14  Prefactor     .10000E-03    10.775        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  15  Prefactor     3.0907        10.238        .11540E-02   -1.5356    
  16  norm          2.6326        .42406        .20085E-04   -1.5383    
  17  norm          .10000E-03    20.288        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  18  Prefactor     56.217        51.076        .53491E-04   -1.4207    
  19  Prefactor     .10000E-03    7.4456        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  20  Normalizat    1.0440        .22907        .27442E-03   -.91571    
  21  Prefactor     .89978        .17427        .22370E-03   -.96149    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 4.29786e-08
Minuit parameter uncertainties:
  1  1.75104e-06
  2  11.9446
  3  9.92408e-05
  4  0.00380359
  5  4.10073
  6  6.86228
  7  2.94401
  8  4.65825
  9  3.98763e-05
  10  1.50734e-06
  11  1.57255e-05
  12  1.46577e-05
  13  0.00017295
  14  7.66857e-05
  15  10.244
  16  0.424065
  17  4.04511e-05
  18  51.116
  19  1.93046e-05
  20  0.229282
  21  0.174378
Done.

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

Extracting fit parameters...

4FGL J1434.7+1950
   Spectrum: LogParabola
234         norm:  5.159e+00  2.944e+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.998e-01  1.744e-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.044e+00  2.293e-01  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Fixed Index): 11.00
Ra Dec: 218.675 19.848
Photon Index (Fixed Index): 2.27 +/- 0.00
Photon Flux (Fixed Index): 5.77e-08 +/- 3.29e-08
Energy Flux (Fixed Index): 2.40e-05 +/- 1.37e-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) = 6296.0269435
delta logL = 0.103561219596

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

MINUIT Return Code (Free Index): 0
logL (Free Index) = 6296.02185492
delta logL = 0.1086498006

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'norm      '    5.6098       1.0000         .10000E-03   10000.    
     2 'alpha     '    1.9821       1.0000          .0000       5.0000    
     3 'Normalizat'    1.0575       1.0000         .10000E-01   10.000    
     4 'Prefactor '    .89590       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=   6296.022     FROM MIGRAD    STATUS=CONVERGED     87 CALLS      270 TOTAL
                     EDM=   .48E-09    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  norm          5.6099        3.4452        .11128E-03   -.89646E-03
   2  alpha         1.9823        .62390        .16026E-01   -.70800E-04
   3  Normalizat    1.0575        .22498        .27303E-03    .56920E-04
   4  Prefactor     .89591        .17175        .22425E-03    .87299E-04
                               ERR DEF=  .500    
Final values: 
  norm       = 5.60987
  alpha      = 1.98234
  Normalizat = 1.05748
  Prefactor  = 0.895913
 **********
 **   18 **HESSE 
 **********

 FCN=   6296.022     FROM HESSE     STATUS=OK            23 CALLS      293 TOTAL
                     EDM=   .53E-09    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  norm          5.6099        3.4350        .44513E-05   -1.5234    
   2  alpha         1.9823        .62178        .64104E-03   -.20857    
   3  Normalizat    1.0575        .22511        .10921E-04   -.91129    
   4  Prefactor     .89591        .17191        .89700E-05   -.96284    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 5.28188e-10
Minuit parameter uncertainties:
  1  3.43509
  2  0.628678
  3  0.22531
  4  0.172011
shell-init: error retrieving current directory: getcwd: cannot access parent directories: No such file or directory
rmdir: failed to remove `/scratch/kocevski/614410': 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) = 6296.02185485
delta logL = 0.108649869119

Extracting fit parameters...

4FGL J1434.7+1950
   Spectrum: LogParabola
234         norm:  5.610e+00  3.435e+00  1.000e-04  1.000e+04 ( 1.000e-12)
235        alpha:  1.982e+00  6.287e-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.959e-01  1.720e-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.057e+00  2.253e-01  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Free Index): 11.20
Ra Dec: 218.675 19.848
Photon Index (Free Index): 1.98 +/- 0.63
Photon Flux (Free Index): 4.29e-08 +/- 4.06e-08
Energy Flux (Free Index): 2.66e-05 +/- 1.79e-05

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/614410/cmap_HighResolution_501379201_501638401_4FGL_J1434.7+1950_daily_bin1011.png

Cleaning up...

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

Updating database...

UPDATE lightcurve_data_v2 SET comment='SUCCESS', photon_flux='5.77e-08', energy_flux2='2.66e-05', photon_flux_error='3.29e-08', dlogl='1.09e-01', energy_flux='2.40e-05', photon_flux2='4.29e-08', job_status='DONE', time_completed='2021-09-10 00:38:22.239425', photon_index_error2='0.63', photon_index2='1.98', ts='11.00', fit_tolerance='1e-08', GAL='0.90', photon_index_error='0.00', energy_flux_error2='1.79e-05', EG='1.04', time_epoch_completed='1631259502.24', return_code='0', job_id='614410', GAL2='0.90', EG2='1.06', return_code2='0', energy_flux_error='1.37e-05', photon_flux_error2='4.06e-08', ts2='11.20', photon_index='2.27' WHERE bin_id='1011' AND source_name='4FGL J1434.7+1950' AND cadence='daily';

Database successfully updated.


Analysis Complete.


Fri Sep 10 00:38:22 PDT 2021


------------------------------------------------------------
Sender: LSF System <lsf@bullet0070>
Subject: Job 614410: <4FGL_J1434.7+1950_daily_bin1011> in cluster <slac> Done

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

Your job looked like:

------------------------------------------------------------
# LSBATCH: User input
/nfs/farm/g/glast/g/LCRepository/Likelihood/Scripts/LikelihoodAnalysis.py 4FGL_J1434.7+1950_daily_bin1011 218.675 19.8478 501379201 501638401 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 :                                   527.00 sec.
    Max Memory :                                 1256 MB
    Average Memory :                             263.48 MB
    Total Requested Memory :                     -
    Delta Memory :                               -
    Max Swap :                                   -
    Max Processes :                              5
    Max Threads :                                21
    Run time :                                   742 sec.
    Turnaround time :                            743 sec.

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

