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


Performing analysis on: 4FGL_J1434.7+1950_daily_bin613
RA = 218.675, Dec = 19.8478
tmin = 398217601, tmax = 398476801
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='612774', job_status='RUN', time_executed='2021-09-10 00:21:15.733927', time_epoch_executed='1631258475.73' WHERE source_name='4FGL J1434.7+1950' and cadence='daily' and bin_id='613'

Database successfully updated.
Done.

Creating custom output directory:
/scratch/kocevski/612774

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

Retrieving the FT1 file...

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

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

Retrieving 49 files...
Done.


Merging files...

Checksum keywords updated successfully.

Merged file saved to:
/scratch/kocevski/612774/ft1_4FGL_J1434.7+1950_daily_bin613.fits


Retrieving the FT1 file...

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

Retrieving 49 files...
Done.


Merging files...

Merged file saved to:
/scratch/kocevski/612774/ft2_4FGL_J1434.7+1950_daily_bin613.fits


Selecting the photons:
time -p gtselect infile=/scratch/kocevski/612774/ft1_4FGL_J1434.7+1950_daily_bin613.fits outfile=/scratch/kocevski/612774/ft1_filteredMKT_4FGL_J1434.7+1950_daily_bin613.fits ra=218.675 dec=19.8478 rad=12.0 tmin=398217601.0 tmax=398476801.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 6.52
user 6.25
sys 0.24

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

Selecting the good time intervals:
time -p gtmktime scfile=/scratch/kocevski/612774/ft2_4FGL_J1434.7+1950_daily_bin613.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/612774/ft1_filteredMKT_4FGL_J1434.7+1950_daily_bin613.fits evtable="EVENTS" outfile="/scratch/kocevski/612774/ft1_filtered_4FGL_J1434.7+1950_daily_bin613.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.33
sys 0.14

Generating the livetime cube:
time -p gtltcube evfile="/scratch/kocevski/612774/ft1_filtered_4FGL_J1434.7+1950_daily_bin613.fits" evtable="EVENTS" scfile=/scratch/kocevski/612774/ft2_4FGL_J1434.7+1950_daily_bin613.fits sctable="SC_DATA" outfile=/scratch/kocevski/612774/ltcube_398217601_398476801_4FGL_J1434.7+1950_daily_bin613.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/612774/ft2_4FGL_J1434.7+1950_daily_bin613.fits
.....................!
real 10.92
user 10.53
sys 0.35

Generating the exposure map:
time -p gtexpmap evfile=/scratch/kocevski/612774/ft1_filtered_4FGL_J1434.7+1950_daily_bin613.fits evtable="EVENTS" scfile=/scratch/kocevski/612774/ft2_4FGL_J1434.7+1950_daily_bin613.fits sctable="SC_DATA" expcube=/scratch/kocevski/612774/ltcube_398217601_398476801_4FGL_J1434.7+1950_daily_bin613.fits outfile=/scratch/kocevski/612774/expmap_398217601_398476801_4FGL_J1434.7+1950_daily_bin613.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/612774/ltcube_398217601_398476801_4FGL_J1434.7+1950_daily_bin613.fits
.....................!
real 191.33
user 185.78
sys 5.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/612774/ft1_filtered_4FGL_J1434.7+1950_daily_bin613.fits scfile=/scratch/kocevski/612774/ft2_4FGL_J1434.7+1950_daily_bin613.fits outfile=/scratch/kocevski/612774/cmap_398217601_398476801_4FGL_J1434.7+1950_daily_bin613.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.38
sys 0.14

Creating the high resolution counts map:
time -p gtbin evfile=/scratch/kocevski/612774/ft1_filtered_4FGL_J1434.7+1950_daily_bin613.fits scfile=/scratch/kocevski/612774/ft2_4FGL_J1434.7+1950_daily_bin613.fits outfile=/scratch/kocevski/612774/cmap_HighResolution_398217601_398476801_4FGL_J1434.7+1950_daily_bin613.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.36
sys 0.17

Computing the diffuse response:
time -p gtdiffrsp evfile=/scratch/kocevski/612774/ft1_filtered_4FGL_J1434.7+1950_daily_bin613.fits evtable="EVENTS" scfile=/scratch/kocevski/612774/ft2_4FGL_J1434.7+1950_daily_bin613.fits sctable="SC_DATA" srcmdl=/scratch/kocevski/612774/Model_4FGL_J1434.7+1950_daily_bin613.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/612774/ft1_filtered_4FGL_J1434.7+1950_daily_bin613.fits.....................!
real 38.55
user 37.16
sys 1.23

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

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

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

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'Prefactor '    .10010E-03   1.0000         .10000E-03   10000.    
     2 'Prefactor '    .10000E-03   1.0000         .10000E-03   10000.    
     3 'Prefactor '    24.074       1.0000         .10000E-03   10000.    
     4 'Prefactor '    .23911       1.0000         .10000E-03   10000.    
     5 'norm      '    3.1255       1.0000         .10000E-03   10000.    
     6 'Prefactor '    .10558E-03   1.0000         .10000E-03   10000.    
     7 'norm      '    .10090E-03   1.0000         .10000E-03   10000.    
     8 'norm      '    5.8709       1.0000         .10000E-03   10000.    
     9 'Prefactor '    35.868       1.0000         .10000E-03   10000.    
    10 'Prefactor '    .10011E-03   1.0000         .10000E-03   10000.    
    11 'Prefactor '    .10004E-03   1.0000         .10000E-03   10000.    
    12 'Prefactor '    .10153E-03   1.0000         .10000E-03   10000.    
    13 'Prefactor '    .10058E-03   1.0000         .10000E-03   10000.    
    14 'Prefactor '    .10026E-03   1.0000         .10000E-03   10000.    
    15 'Prefactor '    .93701E-03   1.0000         .10000E-03   10000.    
    16 'norm      '    .10003E-03   1.0000         .10000E-03   10000.    
    17 'norm      '    .10000E-03   1.0000         .10000E-03   10000.    
    18 'Prefactor '    .41604E-03   1.0000         .10000E-03   10000.    
    19 'Prefactor '    .10001E-03   1.0000         .10000E-03   10000.    
    20 'Normalizat'    .90925       1.0000         .10000E-01   10.000    
    21 'Prefactor '    1.0905       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=   4559.079     FROM MIGRAD    STATUS=CONVERGED    477 CALLS     2272 TOTAL
                     EDM=   .14E-09  STRATEGY=1  ERROR MATRIX UNCERTAINTY=  1.1%

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor     .10000E-03    9.8459        .42851E-07** at limit **
   2  Prefactor     .10000E-03    5.4140        .12146E-07** at limit **
   3  Prefactor     24.142        45.221       -.28524E-06    .31057E-04
   4  Prefactor     .12080        10.528        .28144E-07    .17781E-03
   5  norm          3.1253        2.2054        .11458E-07    .33195E-05
   6  Prefactor     .10000E-03    9.6179       -.11276E-06** at limit **
   7  norm          .10000E-03    1.5921       -.42688E-07** at limit **
   8  norm          5.8709        5.4099        .25733E-06   -.24027E-04
   9  Prefactor     35.868        35.718        .16306E-06   -.48886E-05
  10  Prefactor     .10000E-03    19.392       -.67641E-06** at limit **
  11  Prefactor     .10000E-03    19.577       -.73955E-06** at limit **
  12  Prefactor     .10000E-03    24.261       -.30072E-06** at limit **
  13  Prefactor     .10000E-03    56.384       -.37456E-05** at limit **
  14  Prefactor     .10000E-03    34.638        .73846E-06** at limit **
  15  Prefactor     .10000E-03    9.9200        .68456E-06** at limit **
  16  norm          .10000E-03    .12083       -.77109E-07** at limit **
  17  norm          .10000E-03    18.022        .10990E-05** at limit **
  18  Prefactor     .10000E-03    214.60       -.17170E-05** at limit **
  19  Prefactor     .10000E-03    15.123       -.58301E-06** at limit **
  20  Normalizat    .90914        .22419       -.16479E-05   -.20066E-04
  21  Prefactor     1.0908        .16336       -.57440E-06   -.70035E-04
                               ERR DEF=  .500    
Final values: 
  Prefactor  = 0.0001
  Prefactor  = 0.0001
  Prefactor  = 24.1416
  Prefactor  = 0.120795
  norm       = 3.12531
  Prefactor  = 0.0001
  norm       = 0.0001
  norm       = 5.87087
  Prefactor  = 35.8678
  Prefactor  = 0.0001
  Prefactor  = 0.0001
  Prefactor  = 0.0001
  Prefactor  = 0.0001
  Prefactor  = 0.0001
  Prefactor  = 0.000100001
  norm       = 0.0001
  norm       = 0.0001
  Prefactor  = 0.000100001
  Prefactor  = 0.0001
  Normalizat = 0.909136
  Prefactor  = 1.09076
 **********
 **   18 **HESSE 
 **********

 FCN=   4559.079     FROM HESSE     STATUS=OK           319 CALLS     2591 TOTAL
                     EDM=   .11E-08    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  Prefactor     .10000E-03    9.8766        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   2  Prefactor     .10000E-03    5.4245        .15345E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   3  Prefactor     24.142        47.321        .81640E-04   -1.4725    
   4  Prefactor     .12080        14.286        .59586E-01   -1.5638    
   5  norm          3.1253        2.2111        .82077E-04   -1.5354    
   6  Prefactor     .10000E-03    9.9802        .36285E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   7  norm          .10000E-03    4.3076        .16605E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   8  norm          5.8709        5.4042        .14537E-03   -1.5223    
   9  Prefactor     35.868        35.757        .66916E-04   -1.4509    
  10  Prefactor     .10000E-03    19.368        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  11  Prefactor     .10000E-03    19.560        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  12  Prefactor     .10000E-03    24.394        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  13  Prefactor     .10000E-03    55.704        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  14  Prefactor     .10000E-03    34.739        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  15  Prefactor     .10000E-03    33.896        .40986E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  16  norm          .10000E-03    .14784        .44996E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  17  norm          .10000E-03    18.019        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  18  Prefactor     .10000E-03    217.33        .21246E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  19  Prefactor     .10000E-03    15.372        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  20  Normalizat    .90914        .26631        .28681E-03   -.96140    
  21  Prefactor     1.0908        .19657        .19427E-03   -.89762    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 1.06045e-09
Minuit parameter uncertainties:
  1  9.6271e-06
  2  7.72185e-06
  3  47.3943
  4  2.62683
  5  2.21115
  6  5.30363e-05
  7  8.00502e-05
  8  5.40461
  9  35.7785
  10  2.79931e-05
  11  1.81728e-05
  12  8.18451e-05
  13  0.000127678
  14  6.03835e-05
  15  0.000370096
  16  2.63304e-06
  17  1.78516e-05
  18  0.000884444
  19  3.4382e-05
  20  0.266698
  21  0.196702
Done.

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

Extracting fit parameters...

4FGL J1434.7+1950
   Spectrum: LogParabola
234         norm:  1.000e-04  8.005e-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:  1.091e+00  1.967e-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:  9.091e-01  2.667e-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.33e-08 ph cm-2 s-1
Energy Flux Upper Limit: 2.63e-05 MeV cm-2 s-1

Saving results to:
/scratch/kocevski/612774/likelihoodResults_398217601_398476801_4FGL_J1434.7+1950_daily_bin613.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) = 4559.08034197
delta logL = -0.00110977549502

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

MINUIT Return Code (Free Index): 102
logL (Free Index) = 4559.07923275
delta logL = -5.54883627046e-07

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'norm      '    .10696E-03   1.0000         .10000E-03   10000.    
     2 'alpha     '    2.2987       1.0000          .0000       5.0000    
     3 'Normalizat'    .90905       1.0000         .10000E-01   10.000    
     4 'Prefactor '    1.0909       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=   4559.079     FROM MIGRAD    STATUS=FAILED        99 CALLS      264 TOTAL
                     EDM=   .10E-04    STRATEGY= 1      ERR MATRIX NOT POS-DEF

  EXT PARAMETER                APPROXIMATE        STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  norm          .10531E-03    166.94        .16493E-02** at limit **
   2  alpha         2.6092        3.4506        .50000       -.75538E-05
   3  Normalizat    .90913        .30764E-01    .28681E-03    .10452E-03
   4  Prefactor     1.0908        .22752E-01    .19427E-03    .19102E-03
                               ERR DEF=  .500    
 START SIMPLEX MINIMIZATION.    CONVERGENCE WHEN EDM .LT.   .20E-04
 SIMPLEX MINIMIZATION HAS CONVERGED.

 FCN=   4559.079     FROM SIMPLEX   STATUS=PROGRESS     132 CALLS      396 TOTAL
                     EDM=   .37E-05    STRATEGY= 1      ERR MATRIX NOT POS-DEF

  EXT PARAMETER                APPROXIMATE        STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  norm          .10327E-03    166.94        .27324E-03** at limit **
   2  alpha         2.6086        3.4506        .30021E-03   -.75538E-05
   3  Normalizat    .90912        .30764E-01    .72242E-05    .10452E-03
   4  Prefactor     1.0908        .22752E-01    .36576E-05    .19102E-03
                               ERR DEF=  .500    

 MIGRAD MINIMIZATION HAS CONVERGED.

 MIGRAD WILL VERIFY CONVERGENCE AND ERROR MATRIX.

 FCN=   4559.079     FROM MIGRAD    STATUS=CONVERGED     46 CALLS      442 TOTAL
                     EDM=   .30E-08    STRATEGY= 1      ERR MATRIX NOT POS-DEF

  EXT PARAMETER                APPROXIMATE        STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  norm          .10000E-03    603.65        .32986E-03** at limit **
   2  alpha         2.6696        2.6125        .50000        .22485E-06
   3  Normalizat    .90913        .64693E-01    .11473E-04    .84032E-04
   4  Prefactor     1.0908        .47843E-01    .38854E-04    .21494E-03
                               ERR DEF=  .500    
Final values: 
  norm       = 0.0001
  alpha      = 2.66959
  Normalizat = 0.909133
  Prefactor  = 1.09077
 **********
 **   18 **HESSE 
 **********

 FCN=   4559.079     FROM HESSE     STATUS=OK            29 CALLS      471 TOTAL
                     EDM=   .18E-09    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  norm          .10000E-03    15.299        .65971E-04   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   2  alpha         2.6696        2.8527        .50000        .67887E-01
   3  Normalizat    .90913        .26449        .22945E-05   -.96140    
   4  Prefactor     1.0908        .19574        .77709E-05   -.89762    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 1.77658e-10
Minuit parameter uncertainties:
  1  8.27333e-05
  2  171.667
  3  0.264865
  4  0.195864
shell-init: error retrieving current directory: getcwd: cannot access parent directories: No such file or directory
rmdir: failed to remove `/scratch/kocevski/612774': 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) = 4559.079229
delta logL = 3.1937543099e-06

Extracting fit parameters...

4FGL J1434.7+1950
   Spectrum: LogParabola
234         norm:  1.000e-04  8.273e-05  1.000e-04  1.000e+04 ( 1.000e-12)
235        alpha:  2.670e+00  1.717e+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:  1.091e+00  1.959e-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:  9.091e-01  2.649e-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  0.000e+00 [aplpy.core]
INFO: Auto-setting vmax to  0.000e+00 [aplpy.core]
Saving /scratch/kocevski/612774/cmap_HighResolution_398217601_398476801_4FGL_J1434.7+1950_daily_bin613.png

Cleaning up...

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

Updating database...

UPDATE lightcurve_data_v2 SET energy_flux_upper_limit='2.63e-05', job_status='DONE', photon_flux_upper_limit='6.33e-08', time_completed='2021-09-10 00:29:49.508171', job_id='612774', GAL2='1.09', fit_tolerance='1e-08', EG2='0.91', EG='0.91', time_epoch_completed='1631258989.51', return_code2='0', ts='-0.00', comment='SUCCESS', return_code='0', GAL='1.09', dlogl='3.19e-06', ts2='-0.00', photon_index_error='0.00', photon_index='2.27' WHERE bin_id='613' AND source_name='4FGL J1434.7+1950' AND cadence='daily';

Database successfully updated.


Analysis Complete.


Fri Sep 10 00:29:49 PDT 2021


------------------------------------------------------------
Sender: LSF System <lsf@bullet0238>
Subject: Job 612774: <4FGL_J1434.7+1950_daily_bin613> in cluster <slac> Done

Job <4FGL_J1434.7+1950_daily_bin613> was submitted from host <rhel6-64p> by user <kocevski> in cluster <slac> at Fri Sep 10 00:21:05 2021
Job was executed on host(s) <bullet0238>, in queue <medium>, as user <kocevski> in cluster <slac> at Fri Sep 10 00:21:06 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:06 2021
Terminated at Fri Sep 10 00:29:50 2021
Results reported at Fri Sep 10 00:29:50 2021

Your job looked like:

------------------------------------------------------------
# LSBATCH: User input
/nfs/farm/g/glast/g/LCRepository/Likelihood/Scripts/LikelihoodAnalysis.py 4FGL_J1434.7+1950_daily_bin613 218.675 19.8478 398217601 398476801 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 :                                   511.00 sec.
    Max Memory :                                 1256 MB
    Average Memory :                             340.47 MB
    Total Requested Memory :                     -
    Delta Memory :                               -
    Max Swap :                                   -
    Max Processes :                              5
    Max Threads :                                21
    Run time :                                   523 sec.
    Turnaround time :                            525 sec.

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

