/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 156 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 = 7417
number of fields = 22
No RA_SUN column yet. Adding RA_SUN/DEC_SUN columns.
Done.


Performing analysis on: 4FGL_J1434.7+1950_daily_bin89
RA = 218.675, Dec = 19.8478
tmin = 262396801, tmax = 262656001
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='609821', job_status='RUN', time_executed='2021-09-10 00:14:05.706177', time_epoch_executed='1631258045.71' WHERE source_name='4FGL J1434.7+1950' and cadence='daily' and bin_id='89'

Database successfully updated.
Done.

Creating custom output directory:
/scratch/kocevski/609821

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

Retrieving the FT1 file...

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

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

Retrieving 48 files...
Done.


Merging files...

Checksum keywords updated successfully.

Merged file saved to:
/scratch/kocevski/609821/ft1_4FGL_J1434.7+1950_daily_bin89.fits


Retrieving the FT1 file...

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

Retrieving 48 files...
Done.


Merging files...

Merged file saved to:
/scratch/kocevski/609821/ft2_4FGL_J1434.7+1950_daily_bin89.fits


Selecting the photons:
time -p gtselect infile=/scratch/kocevski/609821/ft1_4FGL_J1434.7+1950_daily_bin89.fits outfile=/scratch/kocevski/609821/ft1_filteredMKT_4FGL_J1434.7+1950_daily_bin89.fits ra=218.675 dec=19.8478 rad=12.0 tmin=262396801.0 tmax=262656001.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 1.42
user 1.23
sys 0.16

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

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

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

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

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

Generating the exposure map:
time -p gtexpmap evfile=/scratch/kocevski/609821/ft1_filtered_4FGL_J1434.7+1950_daily_bin89.fits evtable="EVENTS" scfile=/scratch/kocevski/609821/ft2_4FGL_J1434.7+1950_daily_bin89.fits sctable="SC_DATA" expcube=/scratch/kocevski/609821/ltcube_262396801_262656001_4FGL_J1434.7+1950_daily_bin89.fits outfile=/scratch/kocevski/609821/expmap_262396801_262656001_4FGL_J1434.7+1950_daily_bin89.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/609821/ltcube_262396801_262656001_4FGL_J1434.7+1950_daily_bin89.fits
.....................!
real 190.35
user 185.34
sys 4.66

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/609821/ft1_filtered_4FGL_J1434.7+1950_daily_bin89.fits scfile=/scratch/kocevski/609821/ft2_4FGL_J1434.7+1950_daily_bin89.fits outfile=/scratch/kocevski/609821/cmap_262396801_262656001_4FGL_J1434.7+1950_daily_bin89.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.55
user 0.36
sys 0.15

Creating the high resolution counts map:
time -p gtbin evfile=/scratch/kocevski/609821/ft1_filtered_4FGL_J1434.7+1950_daily_bin89.fits scfile=/scratch/kocevski/609821/ft2_4FGL_J1434.7+1950_daily_bin89.fits outfile=/scratch/kocevski/609821/cmap_HighResolution_262396801_262656001_4FGL_J1434.7+1950_daily_bin89.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.53
user 0.37
sys 0.14

Computing the diffuse response:
time -p gtdiffrsp evfile=/scratch/kocevski/609821/ft1_filtered_4FGL_J1434.7+1950_daily_bin89.fits evtable="EVENTS" scfile=/scratch/kocevski/609821/ft2_4FGL_J1434.7+1950_daily_bin89.fits sctable="SC_DATA" srcmdl=/scratch/kocevski/609821/Model_4FGL_J1434.7+1950_daily_bin89.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/609821/ft1_filtered_4FGL_J1434.7+1950_daily_bin89.fits.....................!
real 52.74
user 50.83
sys 1.55

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

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

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

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'Prefactor '    3.3706       1.0000         .10000E-03   10000.    
     2 'Prefactor '    .10000E-03   1.0000         .10000E-03   10000.    
     3 'Prefactor '    18.746       1.0000         .10000E-03   10000.    
     4 'Prefactor '    .10005E-03   1.0000         .10000E-03   10000.    
     5 'norm      '    4.3504       1.0000         .10000E-03   10000.    
     6 'Prefactor '    .10000E-03   1.0000         .10000E-03   10000.    
     7 'norm      '    2.2971       1.0000         .10000E-03   10000.    
     8 'norm      '    3.3526       1.0000         .10000E-03   10000.    
     9 'Prefactor '    .10000E-03   1.0000         .10000E-03   10000.    
    10 'Prefactor '    28.770       1.0000         .10000E-03   10000.    
    11 'Prefactor '    .10000E-03   1.0000         .10000E-03   10000.    
    12 'Prefactor '    .10886E-03   1.0000         .10000E-03   10000.    
    13 'Prefactor '    16.781       1.0000         .10000E-03   10000.    
    14 'Prefactor '    50.066       1.0000         .10000E-03   10000.    
    15 'Prefactor '    18.191       1.0000         .10000E-03   10000.    
    16 'norm      '    7.3064       1.0000         .10000E-03   10000.    
    17 'norm      '    .10000E-03   1.0000         .10000E-03   10000.    
    18 'Prefactor '    23.795       1.0000         .10000E-03   10000.    
    19 'Prefactor '    .10001E-03   1.0000         .10000E-03   10000.    
    20 'Normalizat'    .84532       1.0000         .10000E-01   10.000    
    21 'Prefactor '    1.0728       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=   6708.379     FROM MIGRAD    STATUS=CONVERGED    440 CALLS     2160 TOTAL
                     EDM=   .39E-09  STRATEGY=1  ERROR MATRIX UNCERTAINTY=   .4%

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor     3.3706        9.0582       -.12693E-05   -.17689E-03
   2  Prefactor     .10000E-03    3.9128       -.91160E-07** at limit **
   3  Prefactor     18.745        22.590       -.12212E-05    .59367E-05
   4  Prefactor     .10000E-03    4.6701        .36979E-07** at limit **
   5  norm          4.3504        2.6813       -.18763E-06    .11962E-05
   6  Prefactor     .10000E-03    2.4529        .40866E-07** at limit **
   7  norm          2.2974        2.9602       -.14058E-06   -.49925E-03
   8  norm          3.3527        3.3320       -.84053E-07    .40385E-04
   9  Prefactor     .10000E-03    12.161        .76715E-06** at limit **
  10  Prefactor     28.757        32.266       -.11585E-04    .79515E-06
  11  Prefactor     .10000E-03    12.204       -.22922E-06** at limit **
  12  Prefactor     .10002E-03    29.916        .76946E-05** at limit **
  13  Prefactor     16.764        30.953       -.17558E-04   -.14612E-04
  14  Prefactor     50.043        52.357       -.26069E-04   -.10586E-04
  15  Prefactor     18.192        10.395       -.17151E-06    .23491E-04
  16  norm          7.3062        .66419        .75861E-07   -.22777E-03
  17  norm          .10000E-03    20.733       -.32610E-05** at limit **
  18  Prefactor     23.793        35.189       -.23001E-05    .92152E-05
  19  Prefactor     .10000E-03    5.8648       -.19367E-06** at limit **
  20  Normalizat    .84535        .19946        .19478E-05    .82705E-04
  21  Prefactor     1.0728        .15638        .34720E-05   -.83202E-04
                               ERR DEF=  .500    
Final values: 
  Prefactor  = 3.37061
  Prefactor  = 0.0001
  Prefactor  = 18.7454
  Prefactor  = 0.0001
  norm       = 4.35038
  Prefactor  = 0.0001
  norm       = 2.29742
  norm       = 3.35266
  Prefactor  = 0.0001
  Prefactor  = 28.7574
  Prefactor  = 0.0001
  Prefactor  = 0.000100016
  Prefactor  = 16.7637
  Prefactor  = 50.0428
  Prefactor  = 18.1919
  norm       = 7.30625
  norm       = 0.0001
  Prefactor  = 23.7933
  Prefactor  = 0.0001
  Normalizat = 0.845348
  Prefactor  = 1.07276
 **********
 **   18 **HESSE 
 **********

 FCN=   6708.379     FROM HESSE     STATUS=OK           317 CALLS     2477 TOTAL
                     EDM=   .83E-09    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  Prefactor     3.3706        9.0544        .22041E-03   -1.5341    
   2  Prefactor     .10000E-03    3.9228        .15821E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   3  Prefactor     18.745        22.596        .92506E-04   -1.4842    
   4  Prefactor     .10000E-03    4.7911        .34562E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   5  norm          4.3504        2.6806        .10207E-03   -1.5291    
   6  Prefactor     .10000E-03    2.4683        .12524E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   7  norm          2.2974        2.9441        .15252E-03   -1.5405    
   8  norm          3.3527        3.3324        .14487E-03   -1.5342    
   9  Prefactor     .10000E-03    12.163        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  10  Prefactor     28.757        32.199        .74693E-04   -1.4635    
  11  Prefactor     .10000E-03    12.218        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  12  Prefactor     .10002E-03    30.733        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  13  Prefactor     16.764        30.901        .97771E-04   -1.4889    
  14  Prefactor     50.043        52.297        .56676E-04   -1.4292    
  15  Prefactor     18.192        10.398        .93905E-04   -1.4855    
  16  norm          7.3062        .66446        .19434E-04   -1.5167    
  17  norm          .10000E-03    20.733        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  18  Prefactor     23.793        35.204        .82117E-04   -1.4732    
  19  Prefactor     .10000E-03    5.8860        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  20  Normalizat    .84535        .23160        .32482E-03   -.98408    
  21  Prefactor     1.0728        .18207        .22638E-03   -.90342    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 8.28197e-10
Minuit parameter uncertainties:
  1  9.05808
  2  1.46523e-05
  3  22.6063
  4  1.53257e-05
  5  2.68067
  6  6.71338e-06
  7  2.94426
  8  3.33255
  9  9.52644e-06
  10  32.2186
  11  8.22385e-06
  12  0.00139941
  13  30.9305
  14  52.345
  15  10.3988
  16  0.664459
  17  2.26299e-05
  18  35.2343
  19  1.54778e-05
  20  0.231876
  21  0.182171
Done.

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

Extracting fit parameters...

4FGL J1434.7+1950
   Spectrum: LogParabola
234         norm:  2.297e+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:  1.073e+00  1.822e-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:  8.453e-01  2.319e-01  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Fixed Index): 0.81
Ra Dec: 218.675 19.848
Photon Flux Upper Limit: 1.02e-07 ph cm-2 s-1
Energy Flux Upper Limit: 4.25e-05 MeV cm-2 s-1

Saving results to:
/scratch/kocevski/609821/likelihoodResults_262396801_262656001_4FGL_J1434.7+1950_daily_bin89.txt

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): 102
logL (Free Index) = 6707.01118034
delta logL = 1.36757031376

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

MINUIT Return Code (Free Index): 0
logL (Free Index) = 6706.90995415
delta logL = 1.46879650929

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'norm      '    .88732E-01   1.0000         .10000E-03   10000.    
     2 'alpha     '    4.8255       1.0000          .0000       5.0000    
     3 'Normalizat'    .73569       1.0000         .10000E-01   10.000    
     4 'Prefactor '    1.1263       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.
 MIGRAD TERMINATED WITHOUT CONVERGENCE.

 FCN=   6706.910     FROM MIGRAD    STATUS=FAILED        94 CALLS      331 TOTAL
                     EDM=   .20E-05    STRATEGY= 1      ERR MATRIX NOT POS-DEF

  EXT PARAMETER                APPROXIMATE        STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  norm          .88130E-01    1.6161        .14509E-04    .39977E-02
   2  alpha         4.8290        3.2306        .36184E-01   -.27761E-03
   3  Normalizat    .73504        .22519        .34530E-03    .50867E-04
   4  Prefactor     1.1268        .17431        .22124E-03    .70666E-04
                               ERR DEF=  .500    
 START SIMPLEX MINIMIZATION.    CONVERGENCE WHEN EDM .LT.   .20E-04
 SIMPLEX MINIMIZATION HAS CONVERGED.

 FCN=   6706.910     FROM SIMPLEX   STATUS=UNCHANGED     87 CALLS      418 TOTAL
                     EDM=   .77E-05    STRATEGY= 1      ERR MATRIX NOT POS-DEF

  EXT PARAMETER                APPROXIMATE        STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  norm          .88130E-01    1.6161        .51895E-04    .39977E-02
   2  alpha         4.8290        3.2306        .93896E-02   -.27761E-03
   3  Normalizat    .73504        .22519        .13247E-03    .50867E-04
   4  Prefactor     1.1268        .17431        .84931E-04    .70666E-04
                               ERR DEF=  .500    

 MIGRAD MINIMIZATION HAS CONVERGED.

 MIGRAD WILL VERIFY CONVERGENCE AND ERROR MATRIX.

 FCN=   6706.910     FROM MIGRAD    STATUS=CONVERGED     29 CALLS      447 TOTAL
                     EDM=   .27E-10    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  norm          .88126E-01    .53202        .58037E-06    .28363E-02
   2  alpha         4.8290        4.9111        .72367E-02    .15100E-04
   3  Normalizat    .73504        .23994        .13812E-04    .55806E-04
   4  Prefactor     1.1268        .18369        .44248E-04    .70244E-04
                               ERR DEF=  .500    
Final values: 
  norm       = 0.088126
  alpha      = 4.829
  Normalizat = 0.735043
  Prefactor  = 1.12677
 **********
 **   18 **HESSE 
 **********

 FCN=   6706.910     FROM HESSE     STATUS=OK            23 CALLS      470 TOTAL
                     EDM=   .27E-10    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  norm          .88126E-01    .33510        .37309E-06   -1.5649    
   2  alpha         4.8290        4.6356        .28947E-03    1.1988    
   3  Normalizat    .73504        .23915        .27624E-05   -1.0253    
   4  Prefactor     1.1268        .18285        .88497E-05   -.88615    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 2.68207e-11
Minuit parameter uncertainties:
  1  0.335104
  2  1.89783
  3  0.239492
  4  0.182956
shell-init: error retrieving current directory: getcwd: cannot access parent directories: No such file or directory
rmdir: failed to remove `/scratch/kocevski/609821': 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) = 6706.90994913
delta logL = 1.46880152478

Extracting fit parameters...

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

GAL_V02
   Spectrum: PowerLaw
503    Prefactor:  1.127e+00  1.830e-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:  7.350e-01  2.395e-01  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Free Index): 3.93
Ra Dec: 218.675 19.848
Photon Index (Free Index): 4.83 +/- 1.90
Photon Flux (Free Index): 1.11e-07 +/- 7.17e-08
Energy Flux (Free Index): 1.58e-05 +/- 9.95e-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/609821/cmap_HighResolution_262396801_262656001_4FGL_J1434.7+1950_daily_bin89.png

Cleaning up...

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

Updating database...

UPDATE lightcurve_data_v2 SET energy_flux_upper_limit='4.25e-05', comment='SUCCESS', energy_flux2='1.58e-05', dlogl='1.47e+00', photon_flux2='1.11e-07', job_status='DONE', time_completed='2021-09-10 00:24:03.380687', photon_index_error2='1.90', photon_index2='4.83', ts='0.81', fit_tolerance='1e-08', GAL='1.07', photon_index_error='0.00', photon_flux_upper_limit='1.02e-07', energy_flux_error2='9.95e-06', EG='0.85', time_epoch_completed='1631258643.38', return_code='0', job_id='609821', GAL2='1.13', EG2='0.74', return_code2='0', photon_flux_error2='7.17e-08', ts2='3.93', photon_index='2.27' WHERE bin_id='89' AND source_name='4FGL J1434.7+1950' AND cadence='daily';

Database successfully updated.


Analysis Complete.


Fri Sep 10 00:24:03 PDT 2021


------------------------------------------------------------
Sender: LSF System <scs@bullet0185>
Subject: Job 609821: <4FGL_J1434.7+1950_daily_bin89> in cluster <slac> Done

Job <4FGL_J1434.7+1950_daily_bin89> was submitted from host <rhel6-64j> by user <kocevski> in cluster <slac> at Fri Sep 10 00:11:14 2021
Job was executed on host(s) <bullet0185>, in queue <medium>, as user <kocevski> in cluster <slac> at Fri Sep 10 00:11: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:11:16 2021
Terminated at Fri Sep 10 00:24:04 2021
Results reported at Fri Sep 10 00:24:04 2021

Your job looked like:

------------------------------------------------------------
# LSBATCH: User input
/nfs/farm/g/glast/g/LCRepository/Likelihood/Scripts/LikelihoodAnalysis.py 4FGL_J1434.7+1950_daily_bin89 218.675 19.8478 262396801 262656001 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 :                                   596.04 sec.
    Max Memory :                                 1256 MB
    Average Memory :                             323.65 MB
    Total Requested Memory :                     -
    Delta Memory :                               -
    Max Swap :                                   -
    Max Processes :                              5
    Max Threads :                                21
    Run time :                                   767 sec.
    Turnaround time :                            770 sec.

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

