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


Performing analysis on: 4FGL_J1434.7+1950_daily_bin1493
RA = 218.675, Dec = 19.8478
tmin = 626313601, tmax = 626572801
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='615814', job_status='RUN', time_executed='2021-09-10 00:35:15.337216', time_epoch_executed='1631259315.34' WHERE source_name='4FGL J1434.7+1950' and cadence='daily' and bin_id='1493'

Database successfully updated.
Done.

Creating custom output directory:
/scratch/kocevski/615814

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

Retrieving the FT1 file...

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

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

Retrieving 46 files...
Done.


Merging files...

Checksum keywords updated successfully.

Merged file saved to:
/scratch/kocevski/615814/ft1_4FGL_J1434.7+1950_daily_bin1493.fits


Retrieving the FT1 file...

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

Retrieving 46 files...
Done.


Merging files...

Merged file saved to:
/scratch/kocevski/615814/ft2_4FGL_J1434.7+1950_daily_bin1493.fits


Selecting the photons:
time -p gtselect infile=/scratch/kocevski/615814/ft1_4FGL_J1434.7+1950_daily_bin1493.fits outfile=/scratch/kocevski/615814/ft1_filteredMKT_4FGL_J1434.7+1950_daily_bin1493.fits ra=218.675 dec=19.8478 rad=12.0 tmin=626313601.0 tmax=626572801.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 4.38
user 4.14
sys 0.22

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

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

Generating the livetime cube:
time -p gtltcube evfile="/scratch/kocevski/615814/ft1_filtered_4FGL_J1434.7+1950_daily_bin1493.fits" evtable="EVENTS" scfile=/scratch/kocevski/615814/ft2_4FGL_J1434.7+1950_daily_bin1493.fits sctable="SC_DATA" outfile=/scratch/kocevski/615814/ltcube_626313601_626572801_4FGL_J1434.7+1950_daily_bin1493.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/615814/ft2_4FGL_J1434.7+1950_daily_bin1493.fits
.....................!
real 11.76
user 11.44
sys 0.29

Generating the exposure map:
time -p gtexpmap evfile=/scratch/kocevski/615814/ft1_filtered_4FGL_J1434.7+1950_daily_bin1493.fits evtable="EVENTS" scfile=/scratch/kocevski/615814/ft2_4FGL_J1434.7+1950_daily_bin1493.fits sctable="SC_DATA" expcube=/scratch/kocevski/615814/ltcube_626313601_626572801_4FGL_J1434.7+1950_daily_bin1493.fits outfile=/scratch/kocevski/615814/expmap_626313601_626572801_4FGL_J1434.7+1950_daily_bin1493.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/615814/ltcube_626313601_626572801_4FGL_J1434.7+1950_daily_bin1493.fits
.....................!
real 190.14
user 184.59
sys 5.22

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/615814/ft1_filtered_4FGL_J1434.7+1950_daily_bin1493.fits scfile=/scratch/kocevski/615814/ft2_4FGL_J1434.7+1950_daily_bin1493.fits outfile=/scratch/kocevski/615814/cmap_626313601_626572801_4FGL_J1434.7+1950_daily_bin1493.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.36
sys 0.16

Creating the high resolution counts map:
time -p gtbin evfile=/scratch/kocevski/615814/ft1_filtered_4FGL_J1434.7+1950_daily_bin1493.fits scfile=/scratch/kocevski/615814/ft2_4FGL_J1434.7+1950_daily_bin1493.fits outfile=/scratch/kocevski/615814/cmap_HighResolution_626313601_626572801_4FGL_J1434.7+1950_daily_bin1493.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.57
user 0.36
sys 0.17

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

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

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

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

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'Prefactor '    .10001E-03   1.0000         .10000E-03   10000.    
     2 'Prefactor '    .10004E-03   1.0000         .10000E-03   10000.    
     3 'Prefactor '    .10000E-03   1.0000         .10000E-03   10000.    
     4 'Prefactor '    .25756E-03   1.0000         .10000E-03   10000.    
     5 'norm      '    1.9455       1.0000         .10000E-03   10000.    
     6 'Prefactor '    .10000E-03   1.0000         .10000E-03   10000.    
     7 'norm      '    7.1144       1.0000         .10000E-03   10000.    
     8 'norm      '    .10037E-03   1.0000         .10000E-03   10000.    
     9 'Prefactor '    .10001E-03   1.0000         .10000E-03   10000.    
    10 'Prefactor '    .10796E-03   1.0000         .10000E-03   10000.    
    11 'Prefactor '    30.998       1.0000         .10000E-03   10000.    
    12 'Prefactor '    .10011E-03   1.0000         .10000E-03   10000.    
    13 'Prefactor '    .10002E-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      '    1.1579       1.0000         .10000E-03   10000.    
    17 'norm      '    .10000E-03   1.0000         .10000E-03   10000.    
    18 'Prefactor '    139.28       1.0000         .10000E-03   10000.    
    19 'Prefactor '    3.6259       1.0000         .10000E-03   10000.    
    20 'Normalizat'    1.3282       1.0000         .10000E-01   10.000    
    21 'Prefactor '    .87339       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=   7515.664     FROM MIGRAD    STATUS=CONVERGED    447 CALLS     2177 TOTAL
                     EDM=   .41E-09  STRATEGY=1  ERROR MATRIX UNCERTAINTY=   .3%

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor     .10000E-03    4.8436        .51279E-07** at limit **
   2  Prefactor     .10000E-03    14.322        .14421E-05** at limit **
   3  Prefactor     .10000E-03    20.009       -.38272E-05** at limit **
   4  Prefactor     .10000E-03    5.4059       -.14693E-06** at limit **
   5  norm          1.9454        1.9168       -.46071E-07   -.55055E-04
   6  Prefactor     .10000E-03    2.7492       -.16158E-08** at limit **
   7  norm          7.1135        2.9710       -.34105E-06   -.22656E-02
   8  norm          .10000E-03    4.1325        .21510E-07** at limit **
   9  Prefactor     .10000E-03    22.041        .31031E-05** at limit **
  10  Prefactor     .10000E-03    58.703       -.58265E-06** at limit **
  11  Prefactor     30.996        27.295       -.11546E-05    .31695E-04
  12  Prefactor     .10000E-03    11.129       -.52904E-06** at limit **
  13  Prefactor     .10000E-03    9.4037        .16328E-06** at limit **
  14  Prefactor     .10000E-03    15.086        .13824E-06** at limit **
  15  Prefactor     .10000E-03    5.1513        .66557E-07** at limit **
  16  norm          1.1580        .32571        .90148E-08    .13088E-03
  17  norm          .10000E-03    15.316       -.45986E-06** at limit **
  18  Prefactor     139.27        58.857       -.61509E-05    .19288E-03
  19  Prefactor     3.6259        4.8426       -.48735E-07   -.24516E-04
  20  Normalizat    1.3282        .18034        .52673E-06    .63866E-05
  21  Prefactor     .87336        .13572        .55894E-06    .16467E-04
                               ERR DEF=  .500    
Final values: 
  Prefactor  = 0.0001
  Prefactor  = 0.0001
  Prefactor  = 0.0001
  Prefactor  = 0.0001
  norm       = 1.94538
  Prefactor  = 0.0001
  norm       = 7.11349
  norm       = 0.0001
  Prefactor  = 0.0001
  Prefactor  = 0.0001
  Prefactor  = 30.996
  Prefactor  = 0.0001
  Prefactor  = 0.0001
  Prefactor  = 0.0001
  Prefactor  = 0.0001
  norm       = 1.15795
  norm       = 0.0001
  Prefactor  = 139.271
  Prefactor  = 3.62593
  Normalizat = 1.32823
  Prefactor  = 0.873358
 **********
 **   18 **HESSE 
 **********

 FCN=   7515.664     FROM HESSE     STATUS=OK           311 CALLS     2488 TOTAL
                     EDM=   .83E-09    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  Prefactor     .10000E-03    4.8524        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   2  Prefactor     .10000E-03    14.509        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   3  Prefactor     .10000E-03    20.001        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   4  Prefactor     .10000E-03    20.632        .38733E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   5  norm          1.9454        1.9177        .11538E-03   -1.5429    
   6  Prefactor     .10000E-03    2.7652        .14025E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   7  norm          7.1135        3.1428        .49117E-03   -1.5174    
   8  norm          .10000E-03    4.2410        .34392E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   9  Prefactor     .10000E-03    21.989        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  10  Prefactor     .10000E-03    59.660        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  11  Prefactor     30.996        27.284        .71966E-04   -1.4594    
  12  Prefactor     .10000E-03    11.199        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  13  Prefactor     .10000E-03    9.4105        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  14  Prefactor     .10000E-03    15.093        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  15  Prefactor     .10000E-03    5.2168        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  16  norm          1.1580        .32596        .25209E-04   -1.5493    
  17  norm          .10000E-03    15.315        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  18  Prefactor     139.27        57.533        .34132E-04   -1.3342    
  19  Prefactor     3.6259        4.8372        .21217E-03   -1.5327    
  20  Normalizat    1.3282        .21363        .25873E-03   -.82728    
  21  Prefactor     .87336        .16103        .23295E-03   -.97078    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 8.26688e-10
Minuit parameter uncertainties:
  1  3.8197e-06
  2  8.92817e-05
  3  0.000122142
  4  0.000100316
  5  1.91777
  6  4.11496e-07
  7  3.14285
  8  9.98146e-06
  9  0.000124703
  10  6.41865e-05
  11  27.2954
  12  1.3076e-05
  13  6.41405e-07
  14  4.52107e-07
  15  7.09675e-07
  16  0.325958
  17  1.40967e-05
  18  57.5561
  19  4.83774
  20  0.213777
  21  0.161117
Done.

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

Extracting fit parameters...

4FGL J1434.7+1950
   Spectrum: LogParabola
234         norm:  7.113e+00  3.143e+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.734e-01  1.611e-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.328e+00  2.138e-01  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Fixed Index): 11.89
Ra Dec: 218.675 19.848
Photon Index (Fixed Index): 2.27 +/- 0.00
Photon Flux (Fixed Index): 7.96e-08 +/- 3.52e-08
Energy Flux (Fixed Index): 3.31e-05 +/- 1.46e-05

Performing a free index iterative likelihood fit...

Freezing all point sources, except source of interest...

Done.

Freeing candidate source...
Done.

Fit tolerance = 1

Performing likelihood fit...
Done.

MINUIT Return Code (Free Index): 0
logL (Free Index) = 7515.6624372
delta logL = 0.00146977068471

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

MINUIT Return Code (Free Index): 0
logL (Free Index) = 7515.6616804
delta logL = 0.00222657156974

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'norm      '    6.9792       1.0000         .10000E-03   10000.    
     2 'alpha     '    2.3032       1.0000          .0000       5.0000    
     3 'Normalizat'    1.3257       1.0000         .10000E-01   10.000    
     4 'Prefactor '    .87432       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=   7515.662     FROM MIGRAD    STATUS=CONVERGED     48 CALLS      200 TOTAL
                     EDM=   .86E-08    STRATEGY= 1      ERR MATRIX NOT POS-DEF

  EXT PARAMETER                APPROXIMATE        STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  norm          6.9792        50.080        .37964E-02   -.59131E-04
   2  alpha         2.3032        3.6411        .30417        .52149E-04
   3  Normalizat    1.3257        .12802        .58551E-01    .54585E-05
   4  Prefactor     .87438        .59916E-01    .44677E-01    .14303E-04
                               ERR DEF=  .500    
Final values: 
  norm       = 6.97924
  alpha      = 2.3032
  Normalizat = 1.32568
  Prefactor  = 0.874379
 **********
 **   18 **HESSE 
 **********

 FCN=   7515.662     FROM HESSE     STATUS=OK            33 CALLS      233 TOTAL
                     EDM=   .20E-08    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  norm          6.9792        3.8149        .96816E-04   -1.5180    
   2  alpha         2.3032        .50890        .10955E-01   -.78803E-01
   3  Normalizat    1.3257        .21701        .25893E-03   -.82803    
   4  Prefactor     .87438        .16105        .23283E-03   -.97042    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 1.96636e-09
Minuit parameter uncertainties:
  1  3.81508
  2  0.512501
  3  0.217158
  4  0.161137
shell-init: error retrieving current directory: getcwd: cannot access parent directories: No such file or directory
rmdir: failed to remove `/scratch/kocevski/615814': 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) = 7515.66168032
delta logL = 0.00222665007914

Extracting fit parameters...

4FGL J1434.7+1950
   Spectrum: LogParabola
234         norm:  6.979e+00  3.815e+00  1.000e-04  1.000e+04 ( 1.000e-12)
235        alpha:  2.303e+00  5.125e-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.744e-01  1.611e-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.326e+00  2.172e-01  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Free Index): 11.86
Ra Dec: 218.675 19.848
Photon Index (Free Index): 2.30 +/- 0.51
Photon Flux (Free Index): 8.19e-08 +/- 4.95e-08
Energy Flux (Free Index): 3.27e-05 +/- 1.55e-05

Creating a high resolution counts map...
INFO: Auto-setting vmin to -1.000e-01 [aplpy.core]
INFO: Auto-setting vmax to  1.110e+00 [aplpy.core]
Saving /scratch/kocevski/615814/cmap_HighResolution_626313601_626572801_4FGL_J1434.7+1950_daily_bin1493.png

Cleaning up...

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

Updating database...

UPDATE lightcurve_data_v2 SET comment='SUCCESS', photon_flux='7.96e-08', energy_flux2='3.27e-05', photon_flux_error='3.52e-08', dlogl='2.23e-03', energy_flux='3.31e-05', photon_flux2='8.19e-08', job_status='DONE', time_completed='2021-09-10 00:44:56.479942', photon_index_error2='0.51', photon_index2='2.30', ts='11.89', fit_tolerance='1e-08', GAL='0.87', photon_index_error='0.00', energy_flux_error2='1.55e-05', EG='1.33', time_epoch_completed='1631259896.48', return_code='0', job_id='615814', GAL2='0.87', EG2='1.33', return_code2='0', energy_flux_error='1.46e-05', photon_flux_error2='4.95e-08', ts2='11.86', photon_index='2.27' WHERE bin_id='1493' AND source_name='4FGL J1434.7+1950' AND cadence='daily';

Database successfully updated.


Analysis Complete.


Fri Sep 10 00:44:56 PDT 2021


------------------------------------------------------------
Sender: LSF System <scs@bullet0256>
Subject: Job 615814: <4FGL_J1434.7+1950_daily_bin1493> in cluster <slac> Done

Job <4FGL_J1434.7+1950_daily_bin1493> was submitted from host <rhel6-64f> by user <kocevski> in cluster <slac> at Fri Sep 10 00:31:10 2021
Job was executed on host(s) <bullet0256>, in queue <medium>, as user <kocevski> in cluster <slac> at Fri Sep 10 00:31:11 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:31:11 2021
Terminated at Fri Sep 10 00:44:57 2021
Results reported at Fri Sep 10 00:44:57 2021

Your job looked like:

------------------------------------------------------------
# LSBATCH: User input
/nfs/farm/g/glast/g/LCRepository/Likelihood/Scripts/LikelihoodAnalysis.py 4FGL_J1434.7+1950_daily_bin1493 218.675 19.8478 626313601 626572801 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 :                                   572.00 sec.
    Max Memory :                                 1256 MB
    Average Memory :                             221.81 MB
    Total Requested Memory :                     -
    Delta Memory :                               -
    Max Swap :                                   -
    Max Processes :                              5
    Max Threads :                                21
    Run time :                                   825 sec.
    Turnaround time :                            827 sec.

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

