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


Performing analysis on: 4FGL_J1434.7+1950_daily_bin1053
RA = 218.675, Dec = 19.8478
tmin = 512265601, tmax = 512524801
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='614453', job_status='RUN', time_executed='2021-09-10 00:26:23.904806', time_epoch_executed='1631258783.9' WHERE source_name='4FGL J1434.7+1950' and cadence='daily' and bin_id='1053'

Database successfully updated.
Done.

Creating custom output directory:
/scratch/kocevski/614453

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

Retrieving the FT1 file...

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

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

Retrieving 46 files...
Done.


Merging files...

Checksum keywords updated successfully.

Merged file saved to:
/scratch/kocevski/614453/ft1_4FGL_J1434.7+1950_daily_bin1053.fits


Retrieving the FT1 file...

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

Retrieving 46 files...
Done.


Merging files...

Merged file saved to:
/scratch/kocevski/614453/ft2_4FGL_J1434.7+1950_daily_bin1053.fits


Selecting the photons:
time -p gtselect infile=/scratch/kocevski/614453/ft1_4FGL_J1434.7+1950_daily_bin1053.fits outfile=/scratch/kocevski/614453/ft1_filteredMKT_4FGL_J1434.7+1950_daily_bin1053.fits ra=218.675 dec=19.8478 rad=12.0 tmin=512265601.0 tmax=512524801.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.56
user 3.33
sys 0.20

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

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

Generating the livetime cube:
time -p gtltcube evfile="/scratch/kocevski/614453/ft1_filtered_4FGL_J1434.7+1950_daily_bin1053.fits" evtable="EVENTS" scfile=/scratch/kocevski/614453/ft2_4FGL_J1434.7+1950_daily_bin1053.fits sctable="SC_DATA" outfile=/scratch/kocevski/614453/ltcube_512265601_512524801_4FGL_J1434.7+1950_daily_bin1053.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/614453/ft2_4FGL_J1434.7+1950_daily_bin1053.fits
.....................!
real 12.27
user 11.89
sys 0.31

Generating the exposure map:
time -p gtexpmap evfile=/scratch/kocevski/614453/ft1_filtered_4FGL_J1434.7+1950_daily_bin1053.fits evtable="EVENTS" scfile=/scratch/kocevski/614453/ft2_4FGL_J1434.7+1950_daily_bin1053.fits sctable="SC_DATA" expcube=/scratch/kocevski/614453/ltcube_512265601_512524801_4FGL_J1434.7+1950_daily_bin1053.fits outfile=/scratch/kocevski/614453/expmap_512265601_512524801_4FGL_J1434.7+1950_daily_bin1053.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/614453/ltcube_512265601_512524801_4FGL_J1434.7+1950_daily_bin1053.fits
.....................!
real 190.30
user 185.44
sys 4.47

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/614453/ft1_filtered_4FGL_J1434.7+1950_daily_bin1053.fits scfile=/scratch/kocevski/614453/ft2_4FGL_J1434.7+1950_daily_bin1053.fits outfile=/scratch/kocevski/614453/cmap_512265601_512524801_4FGL_J1434.7+1950_daily_bin1053.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.54
user 0.38
sys 0.15

Creating the high resolution counts map:
time -p gtbin evfile=/scratch/kocevski/614453/ft1_filtered_4FGL_J1434.7+1950_daily_bin1053.fits scfile=/scratch/kocevski/614453/ft2_4FGL_J1434.7+1950_daily_bin1053.fits outfile=/scratch/kocevski/614453/cmap_HighResolution_512265601_512524801_4FGL_J1434.7+1950_daily_bin1053.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.37
sys 0.16

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

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

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

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

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'Prefactor '    .14116E-03   1.0000         .10000E-03   10000.    
     2 'Prefactor '    11.111       1.0000         .10000E-03   10000.    
     3 'Prefactor '    57.000       1.0000         .10000E-03   10000.    
     4 'Prefactor '    .10711E-03   1.0000         .10000E-03   10000.    
     5 'norm      '    7.9222       1.0000         .10000E-03   10000.    
     6 'Prefactor '    .10238E-03   1.0000         .10000E-03   10000.    
     7 'norm      '    4.5035       1.0000         .10000E-03   10000.    
     8 'norm      '    8.9711       1.0000         .10000E-03   10000.    
     9 'Prefactor '    .10047E-03   1.0000         .10000E-03   10000.    
    10 'Prefactor '    .10416E-03   1.0000         .10000E-03   10000.    
    11 'Prefactor '    21.455       1.0000         .10000E-03   10000.    
    12 'Prefactor '    .10039E-03   1.0000         .10000E-03   10000.    
    13 'Prefactor '    .18228E-02   1.0000         .10000E-03   10000.    
    14 'Prefactor '    .10005E-03   1.0000         .10000E-03   10000.    
    15 'Prefactor '    .26696E-03   1.0000         .10000E-03   10000.    
    16 'norm      '    1.6078       1.0000         .10000E-03   10000.    
    17 'norm      '    .10022E-03   1.0000         .10000E-03   10000.    
    18 'Prefactor '    28.696       1.0000         .10000E-03   10000.    
    19 'Prefactor '    .10804E-03   1.0000         .10000E-03   10000.    
    20 'Normalizat'    1.3307       1.0000         .10000E-01   10.000    
    21 'Prefactor '    .90134       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.

 FCN=   7637.127     FROM MIGRAD    STATUS=CONVERGED    777 CALLS     2531 TOTAL
                     EDM=   .42E-08    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor     .10000E-03    65.087        .56543E-02** at limit **
   2  Prefactor     11.103        15.767        .12019E-03   -.74726E-05
   3  Prefactor     57.019        32.918        .53135E-04   -.40010E-04
   4  Prefactor     .10000E-03    3.5475        .16026E-02** at limit **
   5  norm          7.9217        3.0779        .92551E-04    .48398E-04
   6  Prefactor     .10000E-03    4.4652        .17943E-02** at limit **
   7  norm          4.5033        3.3508        .13148E-03   -.81364E-04
   8  norm          8.9719        4.9799        .13382E-03    .49445E-04
   9  Prefactor     .10000E-03    21.351        .18142E-02** at limit **
  10  Prefactor     .10000E-03    22.099        .18142E-02** at limit **
  11  Prefactor     21.448        27.008        .86473E-04    .22613E-04
  12  Prefactor     .10000E-03    5.0495        .18142E-02** at limit **
  13  Prefactor     .10020E-03    103.80        .54803E-02** at limit **
  14  Prefactor     .10000E-03    18.130        .18142E-02** at limit **
  15  Prefactor     .10000E-03    22.661        .39882E-02** at limit **
  16  norm          1.6077        .35029        .23029E-04    .18512E-03
  17  norm          .10000E-03    15.809        .18142E-02** at limit **
  18  Prefactor     28.702        29.887        .74790E-04    .41042E-05
  19  Prefactor     .10008E-03    37.030        .45174E-02** at limit **
  20  Normalizat    1.3309        .24225        .27991E-03    .17929E-03
  21  Prefactor     .90149        .17351        .24047E-03    .33220E-03
                               ERR DEF=  .500    
Final values: 
  Prefactor  = 0.0001
  Prefactor  = 11.103
  Prefactor  = 57.0189
  Prefactor  = 0.0001
  norm       = 7.92166
  Prefactor  = 0.0001
  norm       = 4.50334
  norm       = 8.97188
  Prefactor  = 0.0001
  Prefactor  = 0.0001
  Prefactor  = 21.448
  Prefactor  = 0.0001
  Prefactor  = 0.000100204
  Prefactor  = 0.0001
  Prefactor  = 0.000100001
  norm       = 1.60772
  norm       = 0.0001
  Prefactor  = 28.7019
  Prefactor  = 0.000100085
  Normalizat = 1.33085
  Prefactor  = 0.901493
 **********
 **   18 **HESSE 
 **********

 FCN=   7637.127     FROM HESSE     STATUS=OK           295 CALLS     2826 TOTAL
                     EDM=   .43E-08    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  Prefactor     .10000E-03    66.880        .22617E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   2  Prefactor     11.103        15.765        .48076E-05   -1.5041    
   3  Prefactor     57.019        32.917        .10627E-04   -1.4196    
   4  Prefactor     .10000E-03    3.5481        .32052E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   5  norm          7.9217        3.0779        .37021E-05   -1.5145    
   6  Prefactor     .10000E-03    4.4667        .35885E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   7  norm          4.5033        3.3506        .52593E-05   -1.5284    
   8  norm          8.9719        4.9798        .53527E-05   -1.5109    
   9  Prefactor     .10000E-03    21.353        .36285E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  10  Prefactor     .10000E-03    22.104        .36285E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  11  Prefactor     21.448        27.010        .34589E-05   -1.4781    
  12  Prefactor     .10000E-03    5.0497        .36285E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  13  Prefactor     .10020E-03    106.75        .21921E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  14  Prefactor     .10000E-03    18.130        .36285E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  15  Prefactor     .10000E-03    22.947        .79764E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  16  norm          1.6077        .35028        .92117E-06   -1.5454    
  17  norm          .10000E-03    15.809        .36285E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  18  Prefactor     28.702        29.886        .14958E-04   -1.4636    
  19  Prefactor     .10008E-03    37.683        .90347E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  20  Normalizat    1.3309        .24247        .55982E-04   -.82650    
  21  Prefactor     .90149        .17362        .48094E-04   -.96089    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 4.33633e-09
Minuit parameter uncertainties:
  1  0.000343606
  2  15.7704
  3  32.9271
  4  6.65049e-06
  5  3.07793
  6  8.52222e-07
  7  3.35073
  8  4.98004
  9  5.07263e-05
  10  0.000129995
  11  27.0254
  12  1.90608e-06
  13  0.00934027
  14  0.000132413
  15  0.00026097
  16  0.350285
  17  4.24873e-05
  18  29.9019
  19  0.00357263
  20  0.242681
  21  0.173726
Done.

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

Extracting fit parameters...

4FGL J1434.7+1950
   Spectrum: LogParabola
234         norm:  4.503e+00  3.351e+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:  9.015e-01  1.737e-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.331e+00  2.427e-01  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Fixed Index): 2.78
Ra Dec: 218.675 19.848
Photon Index (Fixed Index): 2.27 +/- 0.00
Photon Flux (Fixed Index): 5.04e-08 +/- 3.75e-08
Energy Flux (Fixed Index): 2.09e-05 +/- 1.56e-05

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

Saving results to:
/scratch/kocevski/614453/likelihoodResults_512265601_512524801_4FGL_J1434.7+1950_daily_bin1053.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) = 7636.86861451
delta logL = 0.258696237203

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

MINUIT Return Code (Free Index): 0
logL (Free Index) = 7636.84324565
delta logL = 0.284065104865

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'norm      '    2.3179       1.0000         .10000E-03   10000.    
     2 'alpha     '    3.0616       1.0000          .0000       5.0000    
     3 'Normalizat'    1.2709       1.0000         .10000E-01   10.000    
     4 'Prefactor '    .93033       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=   7636.843     FROM MIGRAD    STATUS=CONVERGED     53 CALLS      244 TOTAL
                     EDM=   .13E-08    STRATEGY= 1      ERR MATRIX NOT POS-DEF

  EXT PARAMETER                APPROXIMATE        STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  norm          2.3117        21.625        .67360E-02    .12333E-02
   2  alpha         3.0635        3.8823        .32447        .11545E-03
   3  Normalizat    1.2709        .62484E-01    .64485E-01    .37872E-04
   4  Prefactor     .93030        .41203E-01    .45390E-01   -.42582E-04
                               ERR DEF=  .500    
Final values: 
  norm       = 2.31174
  alpha      = 3.06355
  Normalizat = 1.27086
  Prefactor  = 0.9303
 **********
 **   18 **HESSE 
 **********

 FCN=   7636.843     FROM HESSE     STATUS=OK            33 CALLS      277 TOTAL
                     EDM=   .52E-09    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  norm          2.3117        16.392        .80502E-04   -1.5404    
   2  alpha         3.0635        3.9732        .11257E-01    .22737    
   3  Normalizat    1.2709        .33499        .28525E-03   -.84440    
   4  Prefactor     .93030        .22807        .23711E-03   -.95090    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 5.15074e-10
Minuit parameter uncertainties:
  1  12.3163
  2  3.63103
  3  0.335566
  4  0.228303
shell-init: error retrieving current directory: getcwd: cannot access parent directories: No such file or directory
rmdir: failed to remove `/scratch/kocevski/614453': 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) = 7636.84324397
delta logL = 0.284066785427

Extracting fit parameters...

4FGL J1434.7+1950
   Spectrum: LogParabola
234         norm:  2.312e+00  1.232e+01  1.000e-04  1.000e+04 ( 1.000e-12)
235        alpha:  3.064e+00  3.631e+00  0.000e+00  5.000e+00 ( 1.000e+00)
236         beta:  1.371e-01  0.000e+00  0.000e+00  1.000e+01 ( 1.000e+00) fixed
237           Eb:  1.056e+03  0.000e+00  3.000e+01  5.000e+05 ( 1.000e+00) fixed

GAL_V02
   Spectrum: PowerLaw
503    Prefactor:  9.303e-01  2.283e-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.271e+00  3.356e-01  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Free Index): 3.35
Ra Dec: 218.675 19.848
Photon Index (Free Index): 3.06 +/- 3.63
Photon Flux (Free Index): 9.37e-08 +/- 1.24e-07
Energy Flux (Free Index): 2.07e-05 +/- 1.92e-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/614453/cmap_HighResolution_512265601_512524801_4FGL_J1434.7+1950_daily_bin1053.png

Cleaning up...

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

Updating database...

UPDATE lightcurve_data_v2 SET energy_flux_upper_limit='5.36e-05', comment='SUCCESS', photon_flux='5.04e-08', energy_flux2='2.07e-05', photon_flux_error='3.75e-08', dlogl='2.84e-01', energy_flux='2.09e-05', photon_flux2='9.37e-08', job_status='DONE', time_completed='2021-09-10 00:37:06.133154', photon_index_error2='3.63', photon_index2='3.06', ts='2.78', fit_tolerance='1e-08', GAL='0.90', photon_index_error='0.00', photon_flux_upper_limit='1.29e-07', energy_flux_error2='1.92e-05', EG='1.33', time_epoch_completed='1631259426.13', return_code='0', job_id='614453', GAL2='0.93', EG2='1.27', return_code2='0', energy_flux_error='1.56e-05', photon_flux_error2='1.24e-07', ts2='3.35', photon_index='2.27' WHERE bin_id='1053' AND source_name='4FGL J1434.7+1950' AND cadence='daily';

Database successfully updated.


Analysis Complete.


Fri Sep 10 00:37:06 PDT 2021


------------------------------------------------------------
Sender: LSF System <lsf@bullet0077>
Subject: Job 614453: <4FGL_J1434.7+1950_daily_bin1053> in cluster <slac> Done

Job <4FGL_J1434.7+1950_daily_bin1053> was submitted from host <rhel6-64f> by user <kocevski> in cluster <slac> at Fri Sep 10 00:26:04 2021
Job was executed on host(s) <bullet0077>, in queue <medium>, as user <kocevski> in cluster <slac> at Fri Sep 10 00:26: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:26:06 2021
Terminated at Fri Sep 10 00:37:06 2021
Results reported at Fri Sep 10 00:37:06 2021

Your job looked like:

------------------------------------------------------------
# LSBATCH: User input
/nfs/farm/g/glast/g/LCRepository/Likelihood/Scripts/LikelihoodAnalysis.py 4FGL_J1434.7+1950_daily_bin1053 218.675 19.8478 512265601 512524801 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 :                                   641.00 sec.
    Max Memory :                                 1256 MB
    Average Memory :                             349.95 MB
    Total Requested Memory :                     -
    Delta Memory :                               -
    Max Swap :                                   -
    Max Processes :                              7
    Max Threads :                                21
    Run time :                                   660 sec.
    Turnaround time :                            662 sec.

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

