/nfs/farm/g/glast/g/LCRepository/bin/miniconda2/envs/fermitools_v1.0.5/lib/python2.7/site-packages/matplotlib/font_manager.py:281: UserWarning: Matplotlib is building the font cache using fc-list. This may take a moment.
  'Matplotlib is building the font cache using fc-list. '
/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 22 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 = 7351
number of fields = 30
RA_SUN column already exists. File will not be modified.
Done.


Performing analysis on: 4FGL_J1434.7+1950_daily_bin831
RA = 218.675, Dec = 19.8478
tmin = 454723201, tmax = 454982401
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='613110', job_status='RUN', time_executed='2021-09-10 00:22:11.288017', time_epoch_executed='1631258531.29' WHERE source_name='4FGL J1434.7+1950' and cadence='daily' and bin_id='831'

Database successfully updated.
Done.

Creating custom output directory:
/scratch/kocevski/613110

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

Retrieving the FT1 file...

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

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

Retrieving 47 files...
Done.


Merging files...

Checksum keywords updated successfully.

Merged file saved to:
/scratch/kocevski/613110/ft1_4FGL_J1434.7+1950_daily_bin831.fits


Retrieving the FT1 file...

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

Retrieving 47 files...
Done.


Merging files...

Merged file saved to:
/scratch/kocevski/613110/ft2_4FGL_J1434.7+1950_daily_bin831.fits


Selecting the photons:
time -p gtselect infile=/scratch/kocevski/613110/ft1_4FGL_J1434.7+1950_daily_bin831.fits outfile=/scratch/kocevski/613110/ft1_filteredMKT_4FGL_J1434.7+1950_daily_bin831.fits ra=218.675 dec=19.8478 rad=12.0 tmin=454723201.0 tmax=454982401.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.41
user 3.20
sys 0.20

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

Selecting the good time intervals:
time -p gtmktime scfile=/scratch/kocevski/613110/ft2_4FGL_J1434.7+1950_daily_bin831.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/613110/ft1_filteredMKT_4FGL_J1434.7+1950_daily_bin831.fits evtable="EVENTS" outfile="/scratch/kocevski/613110/ft1_filtered_4FGL_J1434.7+1950_daily_bin831.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.48
user 0.35
sys 0.12

Generating the livetime cube:
time -p gtltcube evfile="/scratch/kocevski/613110/ft1_filtered_4FGL_J1434.7+1950_daily_bin831.fits" evtable="EVENTS" scfile=/scratch/kocevski/613110/ft2_4FGL_J1434.7+1950_daily_bin831.fits sctable="SC_DATA" outfile=/scratch/kocevski/613110/ltcube_454723201_454982401_4FGL_J1434.7+1950_daily_bin831.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/613110/ft2_4FGL_J1434.7+1950_daily_bin831.fits
.....................!
real 15.26
user 14.86
sys 0.36

Generating the exposure map:
time -p gtexpmap evfile=/scratch/kocevski/613110/ft1_filtered_4FGL_J1434.7+1950_daily_bin831.fits evtable="EVENTS" scfile=/scratch/kocevski/613110/ft2_4FGL_J1434.7+1950_daily_bin831.fits sctable="SC_DATA" expcube=/scratch/kocevski/613110/ltcube_454723201_454982401_4FGL_J1434.7+1950_daily_bin831.fits outfile=/scratch/kocevski/613110/expmap_454723201_454982401_4FGL_J1434.7+1950_daily_bin831.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/613110/ltcube_454723201_454982401_4FGL_J1434.7+1950_daily_bin831.fits
.....................!
real 189.52
user 184.97
sys 4.17

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/613110/ft1_filtered_4FGL_J1434.7+1950_daily_bin831.fits scfile=/scratch/kocevski/613110/ft2_4FGL_J1434.7+1950_daily_bin831.fits outfile=/scratch/kocevski/613110/cmap_454723201_454982401_4FGL_J1434.7+1950_daily_bin831.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.52
user 0.37
sys 0.14

Creating the high resolution counts map:
time -p gtbin evfile=/scratch/kocevski/613110/ft1_filtered_4FGL_J1434.7+1950_daily_bin831.fits scfile=/scratch/kocevski/613110/ft2_4FGL_J1434.7+1950_daily_bin831.fits outfile=/scratch/kocevski/613110/cmap_HighResolution_454723201_454982401_4FGL_J1434.7+1950_daily_bin831.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.38
sys 0.14

Computing the diffuse response:
time -p gtdiffrsp evfile=/scratch/kocevski/613110/ft1_filtered_4FGL_J1434.7+1950_daily_bin831.fits evtable="EVENTS" scfile=/scratch/kocevski/613110/ft2_4FGL_J1434.7+1950_daily_bin831.fits sctable="SC_DATA" srcmdl=/scratch/kocevski/613110/Model_4FGL_J1434.7+1950_daily_bin831.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/613110/ft1_filtered_4FGL_J1434.7+1950_daily_bin831.fits.....................!
real 53.55
user 52.28
sys 1.13

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

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

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

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'Prefactor '    .10039E-03   1.0000         .10000E-03   10000.    
     2 'Prefactor '    15.898       1.0000         .10000E-03   10000.    
     3 'Prefactor '    .10002E-03   1.0000         .10000E-03   10000.    
     4 'Prefactor '    3.7636       1.0000         .10000E-03   10000.    
     5 'norm      '    3.4039       1.0000         .10000E-03   10000.    
     6 'Prefactor '    .10000E-03   1.0000         .10000E-03   10000.    
     7 'norm      '    .10067E-03   1.0000         .10000E-03   10000.    
     8 'norm      '    45.553       1.0000         .10000E-03   10000.    
     9 'Prefactor '    42.284       1.0000         .10000E-03   10000.    
    10 'Prefactor '    .41000E-02   1.0000         .10000E-03   10000.    
    11 'Prefactor '    29.398       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 '    .10001E-03   1.0000         .10000E-03   10000.    
    16 'norm      '    2.4174       1.0000         .10000E-03   10000.    
    17 'norm      '    .10000E-03   1.0000         .10000E-03   10000.    
    18 'Prefactor '    17.738       1.0000         .10000E-03   10000.    
    19 'Prefactor '    .10000E-03   1.0000         .10000E-03   10000.    
    20 'Normalizat'    1.3358       1.0000         .10000E-01   10.000    
    21 'Prefactor '    .81370       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=   7115.468     FROM MIGRAD    STATUS=CONVERGED    447 CALLS     2198 TOTAL
                     EDM=   .18E-10  STRATEGY=1  ERROR MATRIX UNCERTAINTY=   .3%

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor     .10000E-03    18.699        .62638E-05** at limit **
   2  Prefactor     15.900        15.208       -.38840E-06   -.40164E-04
   3  Prefactor     .10000E-03    14.583       -.70142E-05** at limit **
   4  Prefactor     3.7637        3.7109        .27691E-06    .23331E-03
   5  norm          3.4039        2.5700       -.43667E-07   -.76663E-04
   6  Prefactor     .10000E-03    1.6826       -.35610E-07** at limit **
   7  norm          .10000E-03    1.4231       -.35760E-07** at limit **
   8  norm          45.552        8.5779       -.28144E-07    .22234E-04
   9  Prefactor     42.286        38.044        .11611E-05    .99992E-06
  10  Prefactor     .10000E-03    11.751       -.40887E-06** at limit **
  11  Prefactor     29.395        27.744       -.26622E-05   -.49881E-06
  12  Prefactor     .10000E-03    9.0771       -.68923E-06** at limit **
  13  Prefactor     .10000E-03    6.0240        .19453E-06** at limit **
  14  Prefactor     .10000E-03    12.289        .48364E-05** at limit **
  15  Prefactor     .10000E-03    4.7885        .45137E-07** at limit **
  16  norm          2.4174        .42535        .15317E-08    .12594E-03
  17  norm          .10000E-03    17.417       -.30668E-05** at limit **
  18  Prefactor     17.735        29.986       -.28805E-05   -.20659E-05
  19  Prefactor     .10000E-03    2.9128       -.49517E-07** at limit **
  20  Normalizat    1.3358        .20416        .62769E-06    .14813E-04
  21  Prefactor     .81366        .14484        .34325E-06    .22078E-04
                               ERR DEF=  .500    
Final values: 
  Prefactor  = 0.0001
  Prefactor  = 15.9005
  Prefactor  = 0.0001
  Prefactor  = 3.76374
  norm       = 3.4039
  Prefactor  = 0.0001
  norm       = 0.0001
  norm       = 45.5522
  Prefactor  = 42.2857
  Prefactor  = 0.000100002
  Prefactor  = 29.3951
  Prefactor  = 0.0001
  Prefactor  = 0.0001
  Prefactor  = 0.0001
  Prefactor  = 0.0001
  norm       = 2.41739
  norm       = 0.0001
  Prefactor  = 17.7354
  Prefactor  = 0.0001
  Normalizat = 1.3358
  Prefactor  = 0.813663
 **********
 **   18 **HESSE 
 **********

 FCN=   7115.468     FROM HESSE     STATUS=OK           321 CALLS     2519 TOTAL
                     EDM=   .67E-10    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  Prefactor     .10000E-03    18.790        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   2  Prefactor     15.900        15.342        .10045E-03   -1.4910    
   3  Prefactor     .10000E-03    14.619        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   4  Prefactor     3.7637        3.7287        .15769E-03   -1.5320    
   5  norm          3.4039        2.5716        .11368E-03   -1.5339    
   6  Prefactor     .10000E-03    1.6882        .10685E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   7  norm          .10000E-03    3.0378        .19502E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   8  norm          45.552        8.5830        .59405E-04   -1.4357    
   9  Prefactor     42.286        38.157        .61648E-04   -1.4406    
  10  Prefactor     .10000E-03    61.638        .55983E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  11  Prefactor     29.395        27.762        .73893E-04   -1.4623    
  12  Prefactor     .10000E-03    9.1124        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  13  Prefactor     .10000E-03    6.0254        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  14  Prefactor     .10000E-03    12.283        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  15  Prefactor     .10000E-03    4.8226        .18024E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  16  norm          2.4174        .42599        .22170E-04   -1.5397    
  17  norm          .10000E-03    17.418        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  18  Prefactor     17.735        30.000        .95098E-04   -1.4865    
  19  Prefactor     .10000E-03    2.9166        .14060E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  20  Normalizat    1.3358        .24520        .27364E-03   -.82504    
  21  Prefactor     .81366        .17309        .24747E-03   -.99227    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 6.74595e-11
Minuit parameter uncertainties:
  1  5.18771e-05
  2  15.3458
  3  5.49157e-06
  4  3.72898
  5  2.57169
  6  1.26256e-06
  7  1.67696e-05
  8  8.58326
  9  38.1786
  10  0.000734744
  11  27.7739
  12  8.00337e-07
  13  4.9996e-07
  14  9.63246e-07
  15  3.4977e-06
  16  0.425989
  17  5.51742e-07
  18  30.0251
  19  8.25912e-07
  20  0.245412
  21  0.173204
Done.

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

Extracting fit parameters...

4FGL J1434.7+1950
   Spectrum: LogParabola
234         norm:  1.000e-04  1.677e-05  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.137e-01  1.732e-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.336e+00  2.454e-01  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Fixed Index): -0.00
Ra Dec: 218.675 19.848
Photon Flux Upper Limit: 6.09e-08 ph cm-2 s-1
Energy Flux Upper Limit: 2.53e-05 MeV cm-2 s-1

Saving results to:
/scratch/kocevski/613110/likelihoodResults_454723201_454982401_4FGL_J1434.7+1950_daily_bin831.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) = 7115.46939103
delta logL = -0.00156818905361

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

MINUIT Return Code (Free Index): 102
logL (Free Index) = 7115.46782628
delta logL = -3.44655018125e-06

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'norm      '    .11440E-03   1.0000         .10000E-03   10000.    
     2 'alpha     '    2.2324       1.0000          .0000       5.0000    
     3 'Normalizat'    1.3363       1.0000         .10000E-01   10.000    
     4 'Prefactor '    .81339       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=   7115.468     FROM MIGRAD    STATUS=FAILED        90 CALLS      250 TOTAL
                     EDM=   .44E-05    STRATEGY= 1      ERR MATRIX NOT POS-DEF

  EXT PARAMETER                APPROXIMATE        STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  norm          .10404E-03    292.83        .20176E-02** at limit **
   2  alpha         2.0403        2.8935        .16581        .16707E-04
   3  Normalizat    1.3358        .48549E-01    .27364E-03   -.34349E-03
   4  Prefactor     .81367        .35443E-01    .24747E-03   -.17438E-03
                               ERR DEF=  .500    
 START SIMPLEX MINIMIZATION.    CONVERGENCE WHEN EDM .LT.   .20E-04
 SIMPLEX MINIMIZATION HAS CONVERGED.

 FCN=   7115.468     FROM SIMPLEX   STATUS=UNCHANGED    128 CALLS      378 TOTAL
                     EDM=   .88E-05    STRATEGY= 1      ERR MATRIX NOT POS-DEF

  EXT PARAMETER                APPROXIMATE        STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  norm          .10404E-03    292.83        .33038E-03** at limit **
   2  alpha         2.0403        2.8935        .45631E-04    .16707E-04
   3  Normalizat    1.3358        .48549E-01    .16529E-05   -.34349E-03
   4  Prefactor     .81367        .35443E-01    .12815E-05   -.17438E-03
                               ERR DEF=  .500    

 MIGRAD MINIMIZATION HAS CONVERGED.

 MIGRAD WILL VERIFY CONVERGENCE AND ERROR MATRIX.

 FCN=   7115.468     FROM MIGRAD    STATUS=CONVERGED     39 CALLS      417 TOTAL
                     EDM=   .31E-09    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  norm          .10000E-03    4.2750        .40352E-03** at limit **
   2  alpha         1.9417        2.7074        .66325E-01   -.94274E-08
   3  Normalizat    1.3358        .23490        .54728E-04    .37823E-03
   4  Prefactor     .81367        .17144        .98989E-05    .55908E-03
                               ERR DEF=  .500    
Final values: 
  norm       = 0.0001
  alpha      = 1.9417
  Normalizat = 1.3358
  Prefactor  = 0.813665
 **********
 **   18 **HESSE 
 **********

 FCN=   7115.468     FROM HESSE     STATUS=OK            23 CALLS      440 TOTAL
                     EDM=   .31E-09    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  norm          .10000E-03    3.9614        .80704E-04   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   2  alpha         1.9417        3.2408        .26530E-02   -.22522    
   3  Normalizat    1.3358        .23478        .10946E-04   -.82504    
   4  Prefactor     .81367        .17133        .19798E-05   -.99227    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 3.08485e-10
Minuit parameter uncertainties:
  1  2.13792e-05
  2  124.267
  3  0.234971
  4  0.171446
shell-init: error retrieving current directory: getcwd: cannot access parent directories: No such file or directory
rmdir: failed to remove `/scratch/kocevski/613110': 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) = 7115.46781908
delta logL = 3.75583840651e-06

Extracting fit parameters...

4FGL J1434.7+1950
   Spectrum: LogParabola
234         norm:  1.000e-04  2.138e-05  1.000e-04  1.000e+04 ( 1.000e-12)
235        alpha:  1.942e+00  1.243e+02  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.137e-01  1.714e-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.336e+00  2.350e-01  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Free Index): -0.00
Ra Dec: 218.675 19.848

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/613110/cmap_HighResolution_454723201_454982401_4FGL_J1434.7+1950_daily_bin831.png

Cleaning up...

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

Updating database...

UPDATE lightcurve_data_v2 SET energy_flux_upper_limit='2.53e-05', job_status='DONE', photon_flux_upper_limit='6.09e-08', time_completed='2021-09-10 00:32:37.277267', job_id='613110', GAL2='0.81', fit_tolerance='1e-08', EG2='1.34', EG='1.34', time_epoch_completed='1631259157.28', return_code2='0', ts='-0.00', comment='SUCCESS', return_code='0', GAL='0.81', dlogl='3.76e-06', ts2='-0.00', photon_index_error='0.00', photon_index='2.27' WHERE bin_id='831' AND source_name='4FGL J1434.7+1950' AND cadence='daily';

Database successfully updated.


Analysis Complete.


Fri Sep 10 00:32:37 PDT 2021


------------------------------------------------------------
Sender: LSF System <lsf@bullet0217>
Subject: Job 613110: <4FGL_J1434.7+1950_daily_bin831> in cluster <slac> Done

Job <4FGL_J1434.7+1950_daily_bin831> was submitted from host <rhel6-64p> by user <kocevski> in cluster <slac> at Fri Sep 10 00:21:33 2021
Job was executed on host(s) <bullet0217>, in queue <medium>, as user <kocevski> in cluster <slac> at Fri Sep 10 00:21:34 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:34 2021
Terminated at Fri Sep 10 00:32:38 2021
Results reported at Fri Sep 10 00:32:38 2021

Your job looked like:

------------------------------------------------------------
# LSBATCH: User input
/nfs/farm/g/glast/g/LCRepository/Likelihood/Scripts/LikelihoodAnalysis.py 4FGL_J1434.7+1950_daily_bin831 218.675 19.8478 454723201 454982401 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 :                                   614.44 sec.
    Max Memory :                                 1256 MB
    Average Memory :                             373.57 MB
    Total Requested Memory :                     -
    Delta Memory :                               -
    Max Swap :                                   -
    Max Processes :                              5
    Max Threads :                                21
    Run time :                                   663 sec.
    Turnaround time :                            665 sec.

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

