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


Performing analysis on: 4FGL_J1434.7+1950_daily_bin922
RA = 218.675, Dec = 19.8478
tmin = 478310401, tmax = 478569601
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='613252', job_status='RUN', time_executed='2021-09-10 00:22:02.658034', time_epoch_executed='1631258522.66' WHERE source_name='4FGL J1434.7+1950' and cadence='daily' and bin_id='922'

Database successfully updated.
Done.

Creating custom output directory:
/scratch/kocevski/613252

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

Retrieving the FT1 file...

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

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

Retrieving 47 files...
Done.


Merging files...

Checksum keywords updated successfully.

Merged file saved to:
/scratch/kocevski/613252/ft1_4FGL_J1434.7+1950_daily_bin922.fits


Retrieving the FT1 file...

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

Retrieving 47 files...
Done.


Merging files...

Merged file saved to:
/scratch/kocevski/613252/ft2_4FGL_J1434.7+1950_daily_bin922.fits


Selecting the photons:
time -p gtselect infile=/scratch/kocevski/613252/ft1_4FGL_J1434.7+1950_daily_bin922.fits outfile=/scratch/kocevski/613252/ft1_filteredMKT_4FGL_J1434.7+1950_daily_bin922.fits ra=218.675 dec=19.8478 rad=12.0 tmin=478310401.0 tmax=478569601.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.51
user 3.29
sys 0.19

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

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

Generating the livetime cube:
time -p gtltcube evfile="/scratch/kocevski/613252/ft1_filtered_4FGL_J1434.7+1950_daily_bin922.fits" evtable="EVENTS" scfile=/scratch/kocevski/613252/ft2_4FGL_J1434.7+1950_daily_bin922.fits sctable="SC_DATA" outfile=/scratch/kocevski/613252/ltcube_478310401_478569601_4FGL_J1434.7+1950_daily_bin922.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/613252/ft2_4FGL_J1434.7+1950_daily_bin922.fits
.....................!
real 11.69
user 11.35
sys 0.31

Generating the exposure map:
time -p gtexpmap evfile=/scratch/kocevski/613252/ft1_filtered_4FGL_J1434.7+1950_daily_bin922.fits evtable="EVENTS" scfile=/scratch/kocevski/613252/ft2_4FGL_J1434.7+1950_daily_bin922.fits sctable="SC_DATA" expcube=/scratch/kocevski/613252/ltcube_478310401_478569601_4FGL_J1434.7+1950_daily_bin922.fits outfile=/scratch/kocevski/613252/expmap_478310401_478569601_4FGL_J1434.7+1950_daily_bin922.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/613252/ltcube_478310401_478569601_4FGL_J1434.7+1950_daily_bin922.fits
.....................!
real 190.47
user 185.99
sys 4.11

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/613252/ft1_filtered_4FGL_J1434.7+1950_daily_bin922.fits scfile=/scratch/kocevski/613252/ft2_4FGL_J1434.7+1950_daily_bin922.fits outfile=/scratch/kocevski/613252/cmap_478310401_478569601_4FGL_J1434.7+1950_daily_bin922.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.36
sys 0.15

Creating the high resolution counts map:
time -p gtbin evfile=/scratch/kocevski/613252/ft1_filtered_4FGL_J1434.7+1950_daily_bin922.fits scfile=/scratch/kocevski/613252/ft2_4FGL_J1434.7+1950_daily_bin922.fits outfile=/scratch/kocevski/613252/cmap_HighResolution_478310401_478569601_4FGL_J1434.7+1950_daily_bin922.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.14

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

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

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

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

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'Prefactor '    .10001E-03   1.0000         .10000E-03   10000.    
     2 'Prefactor '    17.218       1.0000         .10000E-03   10000.    
     3 'Prefactor '    .10006E-03   1.0000         .10000E-03   10000.    
     4 'Prefactor '    .57231       1.0000         .10000E-03   10000.    
     5 'norm      '    4.3569       1.0000         .10000E-03   10000.    
     6 'Prefactor '    .10052E-03   1.0000         .10000E-03   10000.    
     7 'norm      '    19.464       1.0000         .10000E-03   10000.    
     8 'norm      '    27.480       1.0000         .10000E-03   10000.    
     9 'Prefactor '    27.773       1.0000         .10000E-03   10000.    
    10 'Prefactor '    .10007E-03   1.0000         .10000E-03   10000.    
    11 'Prefactor '    13.987       1.0000         .10000E-03   10000.    
    12 'Prefactor '    .10046E-03   1.0000         .10000E-03   10000.    
    13 'Prefactor '    .12609E-03   1.0000         .10000E-03   10000.    
    14 'Prefactor '    .14057E-03   1.0000         .10000E-03   10000.    
    15 'Prefactor '    .10004E-03   1.0000         .10000E-03   10000.    
    16 'norm      '    1.3303       1.0000         .10000E-03   10000.    
    17 'norm      '    .10000E-03   1.0000         .10000E-03   10000.    
    18 'Prefactor '    .10231E-03   1.0000         .10000E-03   10000.    
    19 'Prefactor '    2.4678       1.0000         .10000E-03   10000.    
    20 'Normalizat'    .61091       1.0000         .10000E-01   10.000    
    21 'Prefactor '    1.1935       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=   6830.128     FROM MIGRAD    STATUS=CONVERGED    459 CALLS     2217 TOTAL
                     EDM=   .17E-08  STRATEGY=1  ERROR MATRIX UNCERTAINTY=  5.1%

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor     .10000E-03    3.5019        .43576E-07** at limit **
   2  Prefactor     17.219        12.023        .99889E-07   -.27353E-04
   3  Prefactor     .10000E-03    7.6465        .23949E-06** at limit **
   4  Prefactor     .55217        12.286        .77722E-05   -.34974E-03
   5  norm          4.3568        2.3226        .18495E-08   -.19625E-03
   6  Prefactor     .10000E-03    3.7331        .33102E-06** at limit **
   7  norm          19.464        4.4900        .14676E-07   -.14818E-03
   8  norm          27.480        6.8097        .62828E-07    .12149E-03
   9  Prefactor     27.723        33.244       -.18532E-05   -.45106E-03
  10  Prefactor     .10000E-03    5.9021        .98609E-07** at limit **
  11  Prefactor     13.979        24.954        .13299E-06   -.33279E-04
  12  Prefactor     .10000E-03    7.8888       -.98994E-07** at limit **
  13  Prefactor     .10021E-03    26.538       -.76650E-05** at limit **
  14  Prefactor     .10003E-03    101.70        .37554E-05** at limit **
  15  Prefactor     .10000E-03    4.1973        .14671E-06** at limit **
  16  norm          1.3304        .31988        .46330E-08   -.47585E-03
  17  norm          .10000E-03    21.857        .20743E-07** at limit **
  18  Prefactor     .10000E-03    44.782        .45651E-06** at limit **
  19  Prefactor     2.4657        10.567        .34754E-05    .48158E-03
  20  Normalizat    .61057        .19853        .28473E-05   -.20088E-03
  21  Prefactor     1.1939        .15032       -.26636E-05   -.74231E-03
                               ERR DEF=  .500    
Final values: 
  Prefactor  = 0.0001
  Prefactor  = 17.2188
  Prefactor  = 0.0001
  Prefactor  = 0.552173
  norm       = 4.35677
  Prefactor  = 0.0001
  norm       = 19.4636
  norm       = 27.4795
  Prefactor  = 27.7231
  Prefactor  = 0.0001
  Prefactor  = 13.9791
  Prefactor  = 0.0001
  Prefactor  = 0.000100211
  Prefactor  = 0.000100029
  Prefactor  = 0.0001
  norm       = 1.33037
  norm       = 0.0001
  Prefactor  = 0.0001
  Prefactor  = 2.46569
  Normalizat = 0.610567
  Prefactor  = 1.19385
 **********
 **   18 **HESSE 
 **********

 FCN=   6830.128     FROM HESSE     STATUS=OK           319 CALLS     2536 TOTAL
                     EDM=   .51E-08    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  Prefactor     .10000E-03    3.5037        .15105E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   2  Prefactor     17.219        12.032        .96522E-04   -1.4878    
   3  Prefactor     .10000E-03    7.6574        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   4  Prefactor     .55217        14.980        .29876E-02   -1.5559    
   5  norm          4.3568        2.3233        .89305E-04   -1.5290    
   6  Prefactor     .10000E-03    3.7732        .15578E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   7  norm          19.464        4.4884        .80366E-04   -1.4825    
   8  norm          27.480        6.8104        .76423E-04   -1.4659    
   9  Prefactor     27.723        34.140        .76019E-04   -1.4654    
  10  Prefactor     .10000E-03    5.9085        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  11  Prefactor     13.979        24.958        .10710E-03   -1.4960    
  12  Prefactor     .10000E-03    7.9272        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  13  Prefactor     .10021E-03    110.40        .62698E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  14  Prefactor     .10003E-03    104.47        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  15  Prefactor     .10000E-03    4.2394        .16538E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  16  norm          1.3304        .31988        .21899E-04   -1.5477    
  17  norm          .10000E-03    21.861        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  18  Prefactor     .10000E-03    45.033        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  19  Prefactor     2.4657        11.448        .26031E-03   -1.5394    
  20  Normalizat    .61057        .22208        .34237E-03   -1.0754    
  21  Prefactor     1.1939        .17073        .19763E-03   -.86521    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 5.1077e-09
Minuit parameter uncertainties:
  1  5.51753e-06
  2  12.0336
  3  5.16677e-05
  4  5.75305
  5  2.32332
  6  2.71445e-05
  7  4.48847
  8  6.8106
  9  34.1642
  10  1.92434e-05
  11  24.9769
  12  2.78026e-05
  13  0.00966716
  14  0.00350734
  15  2.28764e-05
  16  0.319883
  17  7.55957e-06
  18  0.000230682
  19  10.6288
  20  0.222405
  21  0.170806
Done.

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

Extracting fit parameters...

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

GAL_V02
   Spectrum: PowerLaw
503    Prefactor:  1.194e+00  1.708e-01  0.000e+00  1.000e+01 ( 1.000e+00)
504        Index:  0.000e+00  0.000e+00 -1.000e+00  1.000e+00 ( 1.000e+00) fixed
505        Scale:  1.000e+02  0.000e+00  5.000e+01  2.000e+02 ( 1.000e+00) fixed

EG_v02
   Spectrum: FileFunction
502   Normalization:  6.106e-01  2.224e-01  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Fixed Index): 65.03
Ra Dec: 218.675 19.848
Photon Index (Fixed Index): 2.27 +/- 0.00
Photon Flux (Fixed Index): 2.18e-07 +/- 5.02e-08
Energy Flux (Fixed Index): 9.05e-05 +/- 2.09e-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) = 6829.5451183
delta logL = 0.582625890319

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

MINUIT Return Code (Free Index): 0
logL (Free Index) = 6829.54509964
delta logL = 0.582644554091

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'norm      '    22.971       1.0000         .10000E-03   10000.    
     2 'alpha     '    2.0111       1.0000          .0000       5.0000    
     3 'Normalizat'    .65158       1.0000         .10000E-01   10.000    
     4 'Prefactor '    1.1758       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=   6829.545     FROM MIGRAD    STATUS=CONVERGED     56 CALLS      239 TOTAL
                     EDM=   .49E-10    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  norm          22.963        22.746        .20894E-02    .23821E-03
   2  alpha         2.0107        .84741        .15735        .51159E-04
   3  Normalizat    .65182        .22042        .75137E-01    .94398E-05
   4  Prefactor     1.1757        .15826        .35229E-01   -.35066E-04
                               ERR DEF=  .500    
Final values: 
  norm       = 22.9627
  alpha      = 2.0107
  Normalizat = 0.651821
  Prefactor  = 1.17573
 **********
 **   18 **HESSE 
 **********

 FCN=   6829.545     FROM HESSE     STATUS=OK            31 CALLS      270 TOTAL
                     EDM=   .52E-09    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  norm          22.963        6.0888        .41788E-03   -1.4749    
   2  alpha         2.0107        .24154        .66093E-02   -.19699    
   3  Normalizat    .65182        .21810        .33264E-03   -1.0583    
   4  Prefactor     1.1757        .17038        .19914E-03   -.87081    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 5.19968e-10
Minuit parameter uncertainties:
  1  6.089
  2  0.24193
  3  0.218385
  4  0.170458
shell-init: error retrieving current directory: getcwd: cannot access parent directories: No such file or directory
rmdir: failed to remove `/scratch/kocevski/613252': 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) = 6829.54509582
delta logL = 0.582648367808

Extracting fit parameters...

4FGL J1434.7+1950
   Spectrum: LogParabola
234         norm:  2.296e+01  6.089e+00  1.000e-04  1.000e+04 ( 1.000e-12)
235        alpha:  2.011e+00  2.419e-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:  1.176e+00  1.705e-01  0.000e+00  1.000e+01 ( 1.000e+00)
504        Index:  0.000e+00  0.000e+00 -1.000e+00  1.000e+00 ( 1.000e+00) fixed
505        Scale:  1.000e+02  0.000e+00  5.000e+01  2.000e+02 ( 1.000e+00) fixed

EG_v02
   Spectrum: FileFunction
502   Normalization:  6.518e-01  2.184e-01  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Free Index): 65.94
Ra Dec: 218.675 19.848
Photon Index (Free Index): 2.01 +/- 0.24
Photon Flux (Free Index): 1.82e-07 +/- 5.54e-08
Energy Flux (Free Index): 1.08e-04 +/- 3.31e-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/613252/cmap_HighResolution_478310401_478569601_4FGL_J1434.7+1950_daily_bin922.png

Cleaning up...

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

Updating database...

UPDATE lightcurve_data_v2 SET comment='SUCCESS', photon_flux='2.18e-07', energy_flux2='1.08e-04', photon_flux_error='5.02e-08', dlogl='5.83e-01', energy_flux='9.05e-05', photon_flux2='1.82e-07', job_status='DONE', time_completed='2021-09-10 00:31:16.595437', photon_index_error2='0.24', photon_index2='2.01', ts='65.03', fit_tolerance='1e-08', GAL='1.19', photon_index_error='0.00', energy_flux_error2='3.31e-05', EG='0.61', time_epoch_completed='1631259076.6', return_code='0', job_id='613252', GAL2='1.18', EG2='0.65', return_code2='0', energy_flux_error='2.09e-05', photon_flux_error2='5.54e-08', ts2='65.94', photon_index='2.27' WHERE bin_id='922' AND source_name='4FGL J1434.7+1950' AND cadence='daily';

Database successfully updated.


Analysis Complete.


Fri Sep 10 00:31:16 PDT 2021


------------------------------------------------------------
Sender: LSF System <lsf@bullet0242>
Subject: Job 613252: <4FGL_J1434.7+1950_daily_bin922> in cluster <slac> Done

Job <4FGL_J1434.7+1950_daily_bin922> was submitted from host <rhel6-64p> by user <kocevski> in cluster <slac> at Fri Sep 10 00:21:44 2021
Job was executed on host(s) <bullet0242>, in queue <medium>, as user <kocevski> in cluster <slac> at Fri Sep 10 00:21:45 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:21:45 2021
Terminated at Fri Sep 10 00:31:16 2021
Results reported at Fri Sep 10 00:31:16 2021

Your job looked like:

------------------------------------------------------------
# LSBATCH: User input
/nfs/farm/g/glast/g/LCRepository/Likelihood/Scripts/LikelihoodAnalysis.py 4FGL_J1434.7+1950_daily_bin922 218.675 19.8478 478310401 478569601 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 :                                   544.00 sec.
    Max Memory :                                 1094 MB
    Average Memory :                             280.60 MB
    Total Requested Memory :                     -
    Delta Memory :                               -
    Max Swap :                                   -
    Max Processes :                              5
    Max Threads :                                21
    Run time :                                   571 sec.
    Turnaround time :                            572 sec.

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

