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


Performing analysis on: 4FGL_J1434.7+1950_daily_bin1155
RA = 218.675, Dec = 19.8478
tmin = 538704001, tmax = 538963201
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='614555', job_status='RUN', time_executed='2021-09-10 00:30:13.136510', time_epoch_executed='1631259013.14' WHERE source_name='4FGL J1434.7+1950' and cadence='daily' and bin_id='1155'

Database successfully updated.
Done.

Creating custom output directory:
/scratch/kocevski/614555

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

Retrieving the FT1 file...

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

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

Retrieving 46 files...
Done.


Merging files...

Checksum keywords updated successfully.

Merged file saved to:
/scratch/kocevski/614555/ft1_4FGL_J1434.7+1950_daily_bin1155.fits


Retrieving the FT1 file...

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

Retrieving 46 files...
Done.


Merging files...

Merged file saved to:
/scratch/kocevski/614555/ft2_4FGL_J1434.7+1950_daily_bin1155.fits


Selecting the photons:
time -p gtselect infile=/scratch/kocevski/614555/ft1_4FGL_J1434.7+1950_daily_bin1155.fits outfile=/scratch/kocevski/614555/ft1_filteredMKT_4FGL_J1434.7+1950_daily_bin1155.fits ra=218.675 dec=19.8478 rad=12.0 tmin=538704001.0 tmax=538963201.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 2.62
user 2.43
sys 0.18

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

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

Generating the livetime cube:
time -p gtltcube evfile="/scratch/kocevski/614555/ft1_filtered_4FGL_J1434.7+1950_daily_bin1155.fits" evtable="EVENTS" scfile=/scratch/kocevski/614555/ft2_4FGL_J1434.7+1950_daily_bin1155.fits sctable="SC_DATA" outfile=/scratch/kocevski/614555/ltcube_538704001_538963201_4FGL_J1434.7+1950_daily_bin1155.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/614555/ft2_4FGL_J1434.7+1950_daily_bin1155.fits
.....................!
real 8.65
user 8.38
sys 0.25

Generating the exposure map:
time -p gtexpmap evfile=/scratch/kocevski/614555/ft1_filtered_4FGL_J1434.7+1950_daily_bin1155.fits evtable="EVENTS" scfile=/scratch/kocevski/614555/ft2_4FGL_J1434.7+1950_daily_bin1155.fits sctable="SC_DATA" expcube=/scratch/kocevski/614555/ltcube_538704001_538963201_4FGL_J1434.7+1950_daily_bin1155.fits outfile=/scratch/kocevski/614555/expmap_538704001_538963201_4FGL_J1434.7+1950_daily_bin1155.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/614555/ltcube_538704001_538963201_4FGL_J1434.7+1950_daily_bin1155.fits
.....................!
real 142.53
user 138.88
sys 3.40

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/614555/ft1_filtered_4FGL_J1434.7+1950_daily_bin1155.fits scfile=/scratch/kocevski/614555/ft2_4FGL_J1434.7+1950_daily_bin1155.fits outfile=/scratch/kocevski/614555/cmap_538704001_538963201_4FGL_J1434.7+1950_daily_bin1155.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.43
user 0.29
sys 0.14

Creating the high resolution counts map:
time -p gtbin evfile=/scratch/kocevski/614555/ft1_filtered_4FGL_J1434.7+1950_daily_bin1155.fits scfile=/scratch/kocevski/614555/ft2_4FGL_J1434.7+1950_daily_bin1155.fits outfile=/scratch/kocevski/614555/cmap_HighResolution_538704001_538963201_4FGL_J1434.7+1950_daily_bin1155.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.45
user 0.30
sys 0.13

Computing the diffuse response:
time -p gtdiffrsp evfile=/scratch/kocevski/614555/ft1_filtered_4FGL_J1434.7+1950_daily_bin1155.fits evtable="EVENTS" scfile=/scratch/kocevski/614555/ft2_4FGL_J1434.7+1950_daily_bin1155.fits sctable="SC_DATA" srcmdl=/scratch/kocevski/614555/Model_4FGL_J1434.7+1950_daily_bin1155.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/614555/ft1_filtered_4FGL_J1434.7+1950_daily_bin1155.fits.....................!
real 42.53
user 41.43
sys 0.98

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

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

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

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'Prefactor '    .10023E-03   1.0000         .10000E-03   10000.    
     2 'Prefactor '    .75650E-02   1.0000         .10000E-03   10000.    
     3 'Prefactor '    .11074E-03   1.0000         .10000E-03   10000.    
     4 'Prefactor '    .10004E-03   1.0000         .10000E-03   10000.    
     5 'norm      '    5.0126       1.0000         .10000E-03   10000.    
     6 'Prefactor '    7.5675       1.0000         .10000E-03   10000.    
     7 'norm      '    7.6935       1.0000         .10000E-03   10000.    
     8 'norm      '    .10572E-03   1.0000         .10000E-03   10000.    
     9 'Prefactor '    .10169E-03   1.0000         .10000E-03   10000.    
    10 'Prefactor '    2.0737       1.0000         .10000E-03   10000.    
    11 'Prefactor '    5.0498       1.0000         .10000E-03   10000.    
    12 'Prefactor '    .10015E-03   1.0000         .10000E-03   10000.    
    13 'Prefactor '    17.299       1.0000         .10000E-03   10000.    
    14 'Prefactor '    .10082E-03   1.0000         .10000E-03   10000.    
    15 'Prefactor '    17.136       1.0000         .10000E-03   10000.    
    16 'norm      '    1.2267       1.0000         .10000E-03   10000.    
    17 'norm      '    .10000E-03   1.0000         .10000E-03   10000.    
    18 'Prefactor '    51.003       1.0000         .10000E-03   10000.    
    19 'Prefactor '    .10000E-03   1.0000         .10000E-03   10000.    
    20 'Normalizat'    1.1109       1.0000         .10000E-01   10.000    
    21 'Prefactor '    1.0595       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=   7369.021     FROM MIGRAD    STATUS=CONVERGED    459 CALLS     1919 TOTAL
                     EDM=   .63E-09  STRATEGY=1  ERROR MATRIX UNCERTAINTY= 10.0%

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor     .10000E-03    7.0837       -.25015E-06** at limit **
   2  Prefactor     .10000E-03    85.467       -.43848E-04** at limit **
   3  Prefactor     .10000E-03    33.862       -.41200E-06** at limit **
   4  Prefactor     .10000E-03    2.9488       -.61266E-07** at limit **
   5  norm          5.0125        2.3428        .41354E-07    .82112E-04
   6  Prefactor     7.5653        6.7039        .21840E-06    .46386E-03
   7  norm          7.6930        3.3409        .18344E-07    .27211E-03
   8  norm          .10000E-03    5.8858       -.80902E-06** at limit **
   9  Prefactor     .10001E-03    63.993       -.11219E-05** at limit **
  10  Prefactor     2.0740        18.359       -.50759E-05    .31573E-04
  11  Prefactor     5.0434        28.082       -.58201E-06   -.56431E-06
  12  Prefactor     .10000E-03    9.5427       -.12582E-06** at limit **
  13  Prefactor     17.300        18.947       -.43643E-06   -.25492E-03
  14  Prefactor     .10000E-03    40.625        .15999E-05** at limit **
  15  Prefactor     17.134        9.1674        .15905E-07    .75522E-04
  16  norm          1.2267        .31201        .82981E-08    .10910E-02
  17  norm          .10000E-03    14.161        .97520E-07** at limit **
  18  Prefactor     50.967        40.476       -.15780E-05   -.53173E-04
  19  Prefactor     .10000E-03    3.2449        .41126E-07** at limit **
  20  Normalizat    1.1112        .19338       -.26922E-06    .52566E-03
  21  Prefactor     1.0595        .14709        .68137E-06    .62514E-03
                               ERR DEF=  .500    
Final values: 
  Prefactor  = 0.0001
  Prefactor  = 0.000100001
  Prefactor  = 0.000100001
  Prefactor  = 0.0001
  norm       = 5.01251
  Prefactor  = 7.56528
  norm       = 7.69299
  norm       = 0.000100001
  Prefactor  = 0.000100012
  Prefactor  = 2.07403
  Prefactor  = 5.04339
  Prefactor  = 0.0001
  Prefactor  = 17.3005
  Prefactor  = 0.0001
  Prefactor  = 17.1344
  norm       = 1.22673
  norm       = 0.0001
  Prefactor  = 50.967
  Prefactor  = 0.0001
  Normalizat = 1.11115
  Prefactor  = 1.0595
 **********
 **   18 **HESSE 
 **********

 FCN=   7369.021     FROM HESSE     STATUS=OK           315 CALLS     2234 TOTAL
                     EDM=   .10E-08    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  Prefactor     .10000E-03    7.1693        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   2  Prefactor     .10000E-03    82.809        .42803E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   3  Prefactor     .10000E-03    34.395        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   4  Prefactor     .10000E-03    2.9596        .14387E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   5  norm          5.0125        2.3439        .43661E-03   -1.5260    
   6  Prefactor     7.5653        6.6966        .14578E-03   -1.5158    
   7  norm          7.6930        3.3379        .98857E-04   -1.5153    
   8  norm          .10000E-03    6.1520        .36285E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   9  Prefactor     .10001E-03    64.813        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  10  Prefactor     2.0740        18.373        .14342E-02   -1.5420    
  11  Prefactor     5.0434        28.036        .17894E-03   -1.5259    
  12  Prefactor     .10000E-03    9.6252        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  13  Prefactor     17.300        18.977        .96296E-04   -1.4876    
  14  Prefactor     .10000E-03    40.743        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  15  Prefactor     17.134        9.1659        .96754E-04   -1.4880    
  16  norm          1.2267        .31137        .23151E-04   -1.5486    
  17  norm          .10000E-03    14.161        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  18  Prefactor     50.967        40.540        .56156E-04   -1.4279    
  19  Prefactor     .10000E-03    3.2507        .15102E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  20  Normalizat    1.1112        .22710        .28186E-03   -.89395    
  21  Prefactor     1.0595        .17515        .22111E-03   -.90772    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 1.03307e-09
Minuit parameter uncertainties:
  1  5.3428e-05
  2  0.000457521
  3  0.000412403
  4  8.81166e-06
  5  2.34394
  6  6.69723
  7  3.33797
  8  0.000162612
  9  0.00174284
  10  12.3508
  11  23.7989
  12  1.64023e-05
  13  18.9841
  14  5.74639e-05
  15  9.16667
  16  0.311372
  17  7.54541e-06
  18  40.5616
  19  5.71019e-06
  20  0.227302
  21  0.175248
Done.

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

Extracting fit parameters...

4FGL J1434.7+1950
   Spectrum: LogParabola
234         norm:  7.693e+00  3.338e+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.060e+00  1.752e-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.111e+00  2.273e-01  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Fixed Index): 10.56
Ra Dec: 218.675 19.848
Photon Index (Fixed Index): 2.27 +/- 0.00
Photon Flux (Fixed Index): 8.61e-08 +/- 3.73e-08
Energy Flux (Fixed Index): 3.58e-05 +/- 1.55e-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) = 7368.94135918
delta logL = 0.079659436743

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

MINUIT Return Code (Free Index): 0
logL (Free Index) = 7368.93777522
delta logL = 0.0832433901887

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'norm      '    6.6672       1.0000         .10000E-03   10000.    
     2 'alpha     '    2.4568       1.0000          .0000       5.0000    
     3 'Normalizat'    1.0961       1.0000         .10000E-01   10.000    
     4 'Prefactor '    1.0664       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=   7368.938     FROM MIGRAD    STATUS=CONVERGED     48 CALLS      232 TOTAL
                     EDM=   .14E-08    STRATEGY= 1      ERR MATRIX NOT POS-DEF

  EXT PARAMETER                APPROXIMATE        STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  norm          6.6672        43.827        .38851E-02    .10951E-02
   2  alpha         2.4569        3.7099        .23817        .78854E-04
   3  Normalizat    1.0961        .10270        .64066E-01    .14492E-04
   4  Prefactor     1.0664        .62290E-01    .39033E-01    .63598E-05
                               ERR DEF=  .500    
Final values: 
  norm       = 6.6672
  alpha      = 2.45687
  Normalizat = 1.09609
  Prefactor  = 1.0664
 **********
 **   18 **HESSE 
 **********

 FCN=   7368.938     FROM HESSE     STATUS=OK            33 CALLS      265 TOTAL
                     EDM=   .27E-08    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  norm          6.6672        4.1846        .88785E-04   -1.5191    
   2  alpha         2.4569        .48595        .91965E-02   -.17254E-01
   3  Normalizat    1.0961        .22881        .28339E-03   -.89878    
   4  Prefactor     1.0664        .17505        .22044E-03   -.90548    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 2.68936e-09
Minuit parameter uncertainties:
  1  4.18478
  2  0.489066
  3  0.229012
  4  0.175143
shell-init: error retrieving current directory: getcwd: cannot access parent directories: No such file or directory
rmdir: failed to remove `/scratch/kocevski/614555': 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) = 7368.93777522
delta logL = 0.0832433980477

Extracting fit parameters...

4FGL J1434.7+1950
   Spectrum: LogParabola
234         norm:  6.667e+00  4.185e+00  1.000e-04  1.000e+04 ( 1.000e-12)
235        alpha:  2.457e+00  4.891e-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.066e+00  1.751e-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.096e+00  2.290e-01  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Free Index): 10.69
Ra Dec: 218.675 19.848
Photon Index (Free Index): 2.46 +/- 0.49
Photon Flux (Free Index): 9.84e-08 +/- 4.95e-08
Energy Flux (Free Index): 3.34e-05 +/- 1.54e-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/614555/cmap_HighResolution_538704001_538963201_4FGL_J1434.7+1950_daily_bin1155.png

Cleaning up...

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

Updating database...

UPDATE lightcurve_data_v2 SET comment='SUCCESS', photon_flux='8.61e-08', energy_flux2='3.34e-05', photon_flux_error='3.73e-08', dlogl='8.32e-02', energy_flux='3.58e-05', photon_flux2='9.84e-08', job_status='DONE', time_completed='2021-09-10 00:37:07.423213', photon_index_error2='0.49', photon_index2='2.46', ts='10.56', fit_tolerance='1e-08', GAL='1.06', photon_index_error='0.00', energy_flux_error2='1.54e-05', EG='1.11', time_epoch_completed='1631259427.42', return_code='0', job_id='614555', GAL2='1.07', EG2='1.10', return_code2='0', energy_flux_error='1.55e-05', photon_flux_error2='4.95e-08', ts2='10.69', photon_index='2.27' WHERE bin_id='1155' AND source_name='4FGL J1434.7+1950' AND cadence='daily';

Database successfully updated.


Analysis Complete.


Fri Sep 10 00:37:07 PDT 2021


------------------------------------------------------------
Sender: LSF System <lsf@bullet0071>
Subject: Job 614555: <4FGL_J1434.7+1950_daily_bin1155> in cluster <slac> Done

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

Your job looked like:

------------------------------------------------------------
# LSBATCH: User input
/nfs/farm/g/glast/g/LCRepository/Likelihood/Scripts/LikelihoodAnalysis.py 4FGL_J1434.7+1950_daily_bin1155 218.675 19.8478 538704001 538963201 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 :                                   409.35 sec.
    Max Memory :                                 1256 MB
    Average Memory :                             256.25 MB
    Total Requested Memory :                     -
    Delta Memory :                               -
    Max Swap :                                   -
    Max Processes :                              5
    Max Threads :                                21
    Run time :                                   651 sec.
    Turnaround time :                            654 sec.

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

