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


Performing analysis on: 4FGL_J1434.7+1950_daily_bin4
RA = 218.675, Dec = 19.8478
tmin = 240364801, tmax = 240624001
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='609728', job_status='RUN', time_executed='2021-09-10 00:11:57.639095', time_epoch_executed='1631257917.64' WHERE source_name='4FGL J1434.7+1950' and cadence='daily' and bin_id='4'

Database successfully updated.
Done.

Creating custom output directory:
/scratch/kocevski/609728

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

Retrieving the FT1 file...

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

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

Retrieving 46 files...
Done.


Merging files...

Checksum keywords updated successfully.

Merged file saved to:
/scratch/kocevski/609728/ft1_4FGL_J1434.7+1950_daily_bin4.fits


Retrieving the FT1 file...

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

Retrieving 46 files...
Done.


Merging files...

Merged file saved to:
/scratch/kocevski/609728/ft2_4FGL_J1434.7+1950_daily_bin4.fits


Selecting the photons:
time -p gtselect infile=/scratch/kocevski/609728/ft1_4FGL_J1434.7+1950_daily_bin4.fits outfile=/scratch/kocevski/609728/ft1_filteredMKT_4FGL_J1434.7+1950_daily_bin4.fits ra=218.675 dec=19.8478 rad=12.0 tmin=240364801.0 tmax=240624001.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.51
user 1.24
sys 0.17

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

Selecting the good time intervals:
time -p gtmktime scfile=/scratch/kocevski/609728/ft2_4FGL_J1434.7+1950_daily_bin4.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/609728/ft1_filteredMKT_4FGL_J1434.7+1950_daily_bin4.fits evtable="EVENTS" outfile="/scratch/kocevski/609728/ft1_filtered_4FGL_J1434.7+1950_daily_bin4.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/609728/ft1_filtered_4FGL_J1434.7+1950_daily_bin4.fits" evtable="EVENTS" scfile=/scratch/kocevski/609728/ft2_4FGL_J1434.7+1950_daily_bin4.fits sctable="SC_DATA" outfile=/scratch/kocevski/609728/ltcube_240364801_240624001_4FGL_J1434.7+1950_daily_bin4.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/609728/ft2_4FGL_J1434.7+1950_daily_bin4.fits
.....................!
real 12.46
user 12.13
sys 0.29

Generating the exposure map:
time -p gtexpmap evfile=/scratch/kocevski/609728/ft1_filtered_4FGL_J1434.7+1950_daily_bin4.fits evtable="EVENTS" scfile=/scratch/kocevski/609728/ft2_4FGL_J1434.7+1950_daily_bin4.fits sctable="SC_DATA" expcube=/scratch/kocevski/609728/ltcube_240364801_240624001_4FGL_J1434.7+1950_daily_bin4.fits outfile=/scratch/kocevski/609728/expmap_240364801_240624001_4FGL_J1434.7+1950_daily_bin4.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/609728/ltcube_240364801_240624001_4FGL_J1434.7+1950_daily_bin4.fits
.....................!
real 189.92
user 185.59
sys 3.96

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/609728/ft1_filtered_4FGL_J1434.7+1950_daily_bin4.fits scfile=/scratch/kocevski/609728/ft2_4FGL_J1434.7+1950_daily_bin4.fits outfile=/scratch/kocevski/609728/cmap_240364801_240624001_4FGL_J1434.7+1950_daily_bin4.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.39
sys 0.12

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

Computing the diffuse response:
time -p gtdiffrsp evfile=/scratch/kocevski/609728/ft1_filtered_4FGL_J1434.7+1950_daily_bin4.fits evtable="EVENTS" scfile=/scratch/kocevski/609728/ft2_4FGL_J1434.7+1950_daily_bin4.fits sctable="SC_DATA" srcmdl=/scratch/kocevski/609728/Model_4FGL_J1434.7+1950_daily_bin4.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/609728/ft1_filtered_4FGL_J1434.7+1950_daily_bin4.fits.....................!
real 55.52
user 54.22
sys 1.14

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

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

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

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'Prefactor '    9.6859       1.0000         .10000E-03   10000.    
     2 'Prefactor '    6.3103       1.0000         .10000E-03   10000.    
     3 'Prefactor '    10.080       1.0000         .10000E-03   10000.    
     4 'Prefactor '    .10000E-03   1.0000         .10000E-03   10000.    
     5 'norm      '    9.7715       1.0000         .10000E-03   10000.    
     6 'Prefactor '    1.2428       1.0000         .10000E-03   10000.    
     7 'norm      '    1.4854       1.0000         .10000E-03   10000.    
     8 'norm      '    .10000E-03   1.0000         .10000E-03   10000.    
     9 'Prefactor '    .10016E-03   1.0000         .10000E-03   10000.    
    10 'Prefactor '    6.4706       1.0000         .10000E-03   10000.    
    11 'Prefactor '    9.1360       1.0000         .10000E-03   10000.    
    12 'Prefactor '    .10000E-03   1.0000         .10000E-03   10000.    
    13 'Prefactor '    47.494       1.0000         .10000E-03   10000.    
    14 'Prefactor '    .10000E-03   1.0000         .10000E-03   10000.    
    15 'Prefactor '    .10000E-03   1.0000         .10000E-03   10000.    
    16 'norm      '    1.9666       1.0000         .10000E-03   10000.    
    17 'norm      '    .10001E-03   1.0000         .10000E-03   10000.    
    18 'Prefactor '    16.510       1.0000         .10000E-03   10000.    
    19 'Prefactor '    5.7252       1.0000         .10000E-03   10000.    
    20 'Normalizat'    1.1973       1.0000         .10000E-01   10.000    
    21 'Prefactor '    .89566       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=   7589.752     FROM MIGRAD    STATUS=CONVERGED    445 CALLS     2567 TOTAL
                     EDM=   .10E-09  STRATEGY=1  ERROR MATRIX UNCERTAINTY=  1.6%

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor     9.6858        11.934        .67017E-07   -.17027E-03
   2  Prefactor     6.3106        6.6457        .33415E-06   -.60413E-03
   3  Prefactor     10.084        29.042        .47118E-05    .31196E-04
   4  Prefactor     .10000E-03    8.9002       -.14554E-06** at limit **
   5  norm          9.7714        3.1756        .11792E-07    .76902E-04
   6  Prefactor     1.2430        4.3380        .46949E-07   -.29091E-03
   7  norm          1.4855        2.4123        .69223E-07   -.21526E-03
   8  norm          .10000E-03    1.1470        .92876E-08** at limit **
   9  Prefactor     .10000E-03    56.191        .24262E-06** at limit **
  10  Prefactor     6.4691        22.080       -.17986E-05   -.21208E-04
  11  Prefactor     9.1334        15.652        .28026E-06   -.14117E-05
  12  Prefactor     .10000E-03    5.7535       -.79825E-08** at limit **
  13  Prefactor     47.496        29.426        .14097E-05    .40625E-04
  14  Prefactor     .10000E-03    11.920        .19265E-07** at limit **
  15  Prefactor     .10000E-03    3.2047        .12634E-07** at limit **
  16  norm          1.9666        .33599        .17650E-09   -.46341E-04
  17  norm          .10000E-03    16.291       -.49014E-08** at limit **
  18  Prefactor     16.509        34.939       -.73580E-06   -.96767E-05
  19  Prefactor     5.7269        10.816       -.14034E-06   -.30405E-04
  20  Normalizat    1.1973        .18506       -.51070E-06    .16495E-04
  21  Prefactor     .89567        .13630       -.39275E-07   -.24042E-04
                               ERR DEF=  .500    
Final values: 
  Prefactor  = 9.6858
  Prefactor  = 6.3106
  Prefactor  = 10.0839
  Prefactor  = 0.0001
  norm       = 9.7714
  Prefactor  = 1.24299
  norm       = 1.4855
  norm       = 0.0001
  Prefactor  = 0.0001
  Prefactor  = 6.46905
  Prefactor  = 9.13341
  Prefactor  = 0.0001
  Prefactor  = 47.4963
  Prefactor  = 0.0001
  Prefactor  = 0.0001
  norm       = 1.9666
  norm       = 0.0001
  Prefactor  = 16.5092
  Prefactor  = 5.72693
  Normalizat = 1.19732
  Prefactor  = 0.895666
 **********
 **   18 **HESSE 
 **********

 FCN=   7589.752     FROM HESSE     STATUS=OK           323 CALLS     2890 TOTAL
                     EDM=   .85E-09    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  Prefactor     9.6858        12.142        .64380E-03   -1.5085    
   2  Prefactor     6.3106        10.259        .79895E-03   -1.5205    
   3  Prefactor     10.084        29.088        .12621E-03   -1.5073    
   4  Prefactor     .10000E-03    9.1490        .36285E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   5  norm          9.7714        3.1761        .42890E-03   -1.5083    
   6  Prefactor     1.2430        4.6364        .34502E-03   -1.5485    
   7  norm          1.4855        2.4152        .16564E-03   -1.5464    
   8  norm          .10000E-03    1.1521        .91115E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   9  Prefactor     .10000E-03    56.461        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  10  Prefactor     6.4691        22.066        .15778E-03   -1.5199    
  11  Prefactor     9.1334        15.654        .13260E-03   -1.5103    
  12  Prefactor     .10000E-03    5.7665        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  13  Prefactor     47.496        29.384        .58183E-04   -1.4329    
  14  Prefactor     .10000E-03    11.922        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  15  Prefactor     .10000E-03    3.2161        .15230E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  16  norm          1.9666        .33648        .20084E-04   -1.5427    
  17  norm          .10000E-03    16.298        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  18  Prefactor     16.509        35.050        .98570E-04   -1.4895    
  19  Prefactor     5.7269        10.850        .16787E-03   -1.5229    
  20  Normalizat    1.1973        .22303        .26891E-03   -.86686    
  21  Prefactor     .89567        .16315        .22784E-03   -.96293    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 8.53089e-10
Minuit parameter uncertainties:
  1  12.1452
  2  10.2614
  3  29.1294
  4  4.0298e-05
  5  3.1762
  6  4.63772
  7  2.41533
  8  4.88965e-07
  9  3.6376e-05
  10  22.0941
  11  15.6614
  12  4.75182e-06
  13  29.3927
  14  5.61466e-06
  15  1.66485e-06
  16  0.336477
  17  3.20759e-08
  18  35.0935
  19  10.8538
  20  0.223207
  21  0.163243
Done.

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

Extracting fit parameters...

4FGL J1434.7+1950
   Spectrum: LogParabola
234         norm:  1.485e+00  2.415e+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:  8.957e-01  1.632e-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.197e+00  2.232e-01  1.000e-02  1.000e+01 ( 1.000e+00)


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

Saving results to:
/scratch/kocevski/609728/likelihoodResults_240364801_240624001_4FGL_J1434.7+1950_daily_bin4.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): 0
logL (Free Index) = 7589.73924172
delta logL = 0.0125303512496

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

MINUIT Return Code (Free Index): 0
logL (Free Index) = 7589.73577751
delta logL = 0.0159945664682

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'norm      '    1.7146       1.0000         .10000E-03   10000.    
     2 'alpha     '    2.1166       1.0000          .0000       5.0000    
     3 'Normalizat'    1.1997       1.0000         .10000E-01   10.000    
     4 'Prefactor '    .89409       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=   7589.736     FROM MIGRAD    STATUS=CONVERGED     52 CALLS      203 TOTAL
                     EDM=   .18E-07    STRATEGY= 1      ERR MATRIX NOT POS-DEF

  EXT PARAMETER                APPROXIMATE        STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  norm          1.7141        112.93        .80237E-02    .99602E-03
   2  alpha         2.1165        2.5936        .41780        .27964E-04
   3  Normalizat    1.1997        .57877E-01    .60749E-01    .84592E-05
   4  Prefactor     .89411        .43763E-01    .44930E-01    .11765E-04
                               ERR DEF=  .500    
Final values: 
  norm       = 1.7141
  alpha      = 2.11647
  Normalizat = 1.19967
  Prefactor  = 0.894109
 **********
 **   18 **HESSE 
 **********

 FCN=   7589.736     FROM HESSE     STATUS=OK            33 CALLS      236 TOTAL
                     EDM=   .15E-08    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  norm          1.7141        2.9329        .17254E-03   -1.5446    
   2  alpha         2.1165        .83939        .22339E-01   -.15402    
   3  Normalizat    1.1997        .21509        .26868E-03   -.86613    
   4  Prefactor     .89411        .16202        .22801E-03   -.96347    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 1.48257e-09
Minuit parameter uncertainties:
  1  2.93311
  2  0.856443
  3  0.215245
  4  0.16211
shell-init: error retrieving current directory: getcwd: cannot access parent directories: No such file or directory
rmdir: failed to remove `/scratch/kocevski/609728': 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) = 7589.73577745
delta logL = 0.0159946231033

Extracting fit parameters...

4FGL J1434.7+1950
   Spectrum: LogParabola
234         norm:  1.714e+00  2.933e+00  1.000e-04  1.000e+04 ( 1.000e-12)
235        alpha:  2.116e+00  8.564e-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:  8.941e-01  1.621e-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.200e+00  2.152e-01  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Free Index): 0.46
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/609728/cmap_HighResolution_240364801_240624001_4FGL_J1434.7+1950_daily_bin4.png

Cleaning up...

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

Updating database...

UPDATE lightcurve_data_v2 SET energy_flux_upper_limit='3.27e-05', job_status='DONE', photon_flux_upper_limit='7.88e-08', time_completed='2021-09-10 00:22:39.467395', job_id='609728', GAL2='0.89', fit_tolerance='1e-08', EG2='1.20', EG='1.20', time_epoch_completed='1631258559.47', return_code2='0', ts='0.46', comment='SUCCESS', return_code='0', GAL='0.90', dlogl='1.60e-02', ts2='0.49', photon_index_error='0.00', photon_index='2.27' WHERE bin_id='4' AND source_name='4FGL J1434.7+1950' AND cadence='daily';

Database successfully updated.


Analysis Complete.


Fri Sep 10 00:22:39 PDT 2021


------------------------------------------------------------
Sender: LSF System <lsf@bullet0107>
Subject: Job 609728: <4FGL_J1434.7+1950_daily_bin4> in cluster <slac> Done

Job <4FGL_J1434.7+1950_daily_bin4> was submitted from host <rhel6-64j> by user <kocevski> in cluster <slac> at Fri Sep 10 00:11:06 2021
Job was executed on host(s) <bullet0107>, in queue <medium>, as user <kocevski> in cluster <slac> at Fri Sep 10 00:11:07 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:07 2021
Terminated at Fri Sep 10 00:22:40 2021
Results reported at Fri Sep 10 00:22:40 2021

Your job looked like:

------------------------------------------------------------
# LSBATCH: User input
/nfs/farm/g/glast/g/LCRepository/Likelihood/Scripts/LikelihoodAnalysis.py 4FGL_J1434.7+1950_daily_bin4 218.675 19.8478 240364801 240624001 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 :                                   638.00 sec.
    Max Memory :                                 1094 MB
    Average Memory :                             290.17 MB
    Total Requested Memory :                     -
    Delta Memory :                               -
    Max Swap :                                   -
    Max Processes :                              5
    Max Threads :                                21
    Run time :                                   692 sec.
    Turnaround time :                            694 sec.

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

