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


Performing analysis on: 4FGL_J1434.7+1950_daily_bin1517
RA = 218.675, Dec = 19.8478
tmin = 632534401, tmax = 632793601
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='615848', job_status='RUN', time_executed='2021-09-10 00:34:52.737140', time_epoch_executed='1631259292.74' WHERE source_name='4FGL J1434.7+1950' and cadence='daily' and bin_id='1517'

Database successfully updated.
Done.

Creating custom output directory:
/scratch/kocevski/615848

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

Retrieving the FT1 file...

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

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

Retrieving 46 files...
Done.


Merging files...

Checksum keywords updated successfully.

Merged file saved to:
/scratch/kocevski/615848/ft1_4FGL_J1434.7+1950_daily_bin1517.fits


Retrieving the FT1 file...

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

Retrieving 46 files...
Done.


Merging files...

Merged file saved to:
/scratch/kocevski/615848/ft2_4FGL_J1434.7+1950_daily_bin1517.fits


Selecting the photons:
time -p gtselect infile=/scratch/kocevski/615848/ft1_4FGL_J1434.7+1950_daily_bin1517.fits outfile=/scratch/kocevski/615848/ft1_filteredMKT_4FGL_J1434.7+1950_daily_bin1517.fits ra=218.675 dec=19.8478 rad=12.0 tmin=632534401.0 tmax=632793601.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.57
user 3.35
sys 0.21

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

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

Generating the livetime cube:
time -p gtltcube evfile="/scratch/kocevski/615848/ft1_filtered_4FGL_J1434.7+1950_daily_bin1517.fits" evtable="EVENTS" scfile=/scratch/kocevski/615848/ft2_4FGL_J1434.7+1950_daily_bin1517.fits sctable="SC_DATA" outfile=/scratch/kocevski/615848/ltcube_632534401_632793601_4FGL_J1434.7+1950_daily_bin1517.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/615848/ft2_4FGL_J1434.7+1950_daily_bin1517.fits
.....................!
real 11.67
user 11.32
sys 0.32

Generating the exposure map:
time -p gtexpmap evfile=/scratch/kocevski/615848/ft1_filtered_4FGL_J1434.7+1950_daily_bin1517.fits evtable="EVENTS" scfile=/scratch/kocevski/615848/ft2_4FGL_J1434.7+1950_daily_bin1517.fits sctable="SC_DATA" expcube=/scratch/kocevski/615848/ltcube_632534401_632793601_4FGL_J1434.7+1950_daily_bin1517.fits outfile=/scratch/kocevski/615848/expmap_632534401_632793601_4FGL_J1434.7+1950_daily_bin1517.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/615848/ltcube_632534401_632793601_4FGL_J1434.7+1950_daily_bin1517.fits
.....................!
real 190.79
user 185.51
sys 4.90

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/615848/ft1_filtered_4FGL_J1434.7+1950_daily_bin1517.fits scfile=/scratch/kocevski/615848/ft2_4FGL_J1434.7+1950_daily_bin1517.fits outfile=/scratch/kocevski/615848/cmap_632534401_632793601_4FGL_J1434.7+1950_daily_bin1517.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.37
sys 0.15

Creating the high resolution counts map:
time -p gtbin evfile=/scratch/kocevski/615848/ft1_filtered_4FGL_J1434.7+1950_daily_bin1517.fits scfile=/scratch/kocevski/615848/ft2_4FGL_J1434.7+1950_daily_bin1517.fits outfile=/scratch/kocevski/615848/cmap_HighResolution_632534401_632793601_4FGL_J1434.7+1950_daily_bin1517.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/615848/ft1_filtered_4FGL_J1434.7+1950_daily_bin1517.fits evtable="EVENTS" scfile=/scratch/kocevski/615848/ft2_4FGL_J1434.7+1950_daily_bin1517.fits sctable="SC_DATA" srcmdl=/scratch/kocevski/615848/Model_4FGL_J1434.7+1950_daily_bin1517.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/615848/ft1_filtered_4FGL_J1434.7+1950_daily_bin1517.fits.....................!
real 58.46
user 56.95
sys 1.30

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

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

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

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'Prefactor '    .10057E-03   1.0000         .10000E-03   10000.    
     2 'Prefactor '    8.7412       1.0000         .10000E-03   10000.    
     3 'Prefactor '    42.571       1.0000         .10000E-03   10000.    
     4 'Prefactor '    .10116E-03   1.0000         .10000E-03   10000.    
     5 'norm      '    4.2996       1.0000         .10000E-03   10000.    
     6 'Prefactor '    .17159E-01   1.0000         .10000E-03   10000.    
     7 'norm      '    1.3278       1.0000         .10000E-03   10000.    
     8 'norm      '    4.7384       1.0000         .10000E-03   10000.    
     9 'Prefactor '    .10000E-03   1.0000         .10000E-03   10000.    
    10 'Prefactor '    .11021E-03   1.0000         .10000E-03   10000.    
    11 'Prefactor '    14.072       1.0000         .10000E-03   10000.    
    12 'Prefactor '    .10214E-03   1.0000         .10000E-03   10000.    
    13 'Prefactor '    35.461       1.0000         .10000E-03   10000.    
    14 'Prefactor '    .85588E-03   1.0000         .10000E-03   10000.    
    15 'Prefactor '    12.628       1.0000         .10000E-03   10000.    
    16 'norm      '    .81137       1.0000         .10000E-03   10000.    
    17 'norm      '    .10000E-03   1.0000         .10000E-03   10000.    
    18 'Prefactor '    23.415       1.0000         .10000E-03   10000.    
    19 'Prefactor '    2.9220       1.0000         .10000E-03   10000.    
    20 'Normalizat'    1.1550       1.0000         .10000E-01   10.000    
    21 'Prefactor '    .86840       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=   7558.269     FROM MIGRAD    STATUS=CONVERGED    473 CALLS     2297 TOTAL
                     EDM=   .10E-08  STRATEGY=1  ERROR MATRIX UNCERTAINTY=  2.9%

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor     .10000E-03    23.062       -.28166E-06** at limit **
   2  Prefactor     8.7402        11.778        .46315E-06    .29295E-04
   3  Prefactor     42.579        26.450        .11036E-06    .34310E-04
   4  Prefactor     .10000E-03    3.6506       -.86827E-07** at limit **
   5  norm          4.2996        2.1166        .84920E-08   -.78997E-05
   6  Prefactor     .13641E-03    5.1795       -.16671E-05** at limit **
   7  norm          1.3282        1.5083        .43301E-07    .14168E-03
   8  norm          4.7386        4.3983        .28635E-06    .81753E-04
   9  Prefactor     .10000E-03    10.690       -.18040E-07** at limit **
  10  Prefactor     .10000E-03    29.878        .27822E-05** at limit **
  11  Prefactor     14.070        16.254       -.18042E-06   -.43266E-04
  12  Prefactor     .10000E-03    10.727        .77884E-06** at limit **
  13  Prefactor     35.384        26.149       -.41958E-06   -.68248E-04
  14  Prefactor     .10006E-03    212.66        .22027E-04** at limit **
  15  Prefactor     12.629        8.8220        .17474E-06    .75394E-04
  16  norm          .81130        .24237       -.10432E-07   -.11435E-02
  17  norm          .10000E-03    11.078        .16392E-07** at limit **
  18  Prefactor     23.400        35.651        .32432E-06   -.16899E-04
  19  Prefactor     2.9220        5.7081        .43560E-06    .57291E-04
  20  Normalizat    1.1552        .17971       -.10338E-05   -.67177E-04
  21  Prefactor     .86824        .13114       -.49030E-07   -.16829E-03
                               ERR DEF=  .500    
Final values: 
  Prefactor  = 0.0001
  Prefactor  = 8.74018
  Prefactor  = 42.5795
  Prefactor  = 0.0001
  norm       = 4.29964
  Prefactor  = 0.000136408
  norm       = 1.32821
  norm       = 4.73862
  Prefactor  = 0.0001
  Prefactor  = 0.000100001
  Prefactor  = 14.0699
  Prefactor  = 0.000100003
  Prefactor  = 35.3837
  Prefactor  = 0.00010006
  Prefactor  = 12.6289
  norm       = 0.8113
  norm       = 0.0001
  Prefactor  = 23.3997
  Prefactor  = 2.92198
  Normalizat = 1.15524
  Prefactor  = 0.868237
 **********
 **   18 **HESSE 
 **********

 FCN=   7558.269     FROM HESSE     STATUS=OK           333 CALLS     2630 TOTAL
                     EDM=   .23E-08    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  Prefactor     .10000E-03    23.671        .36285E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   2  Prefactor     8.7402        11.824        .13558E-03   -1.5117    
   3  Prefactor     42.579        26.466        .61441E-04   -1.4402    
   4  Prefactor     .10000E-03    3.6739        .16200E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   5  norm          4.2996        2.1184        .86236E-04   -1.5293    
   6  Prefactor     .13641E-03    5.2344        .49394E-01   -1.5707    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   7  norm          1.3282        1.5018        .11033E-03   -1.5477    
   8  norm          4.7386        4.3970        .16874E-03   -1.5273    
   9  Prefactor     .10000E-03    10.693        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  10  Prefactor     .10000E-03    30.335        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  11  Prefactor     14.070        16.246        .10677E-03   -1.4958    
  12  Prefactor     .10000E-03    62.472        .53270E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  13  Prefactor     35.384        26.173        .67298E-04   -1.4518    
  14  Prefactor     .10006E-03    212.24        .41723E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  15  Prefactor     12.629        8.8356        .11272E-03   -1.4997    
  16  norm          .81130        .24233        .22534E-04   -1.5528    
  17  norm          .10000E-03    11.078        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  18  Prefactor     23.400        35.713        .82779E-04   -1.4740    
  19  Prefactor     2.9220        5.6912        .23766E-03   -1.5366    
  20  Normalizat    1.1552        .21483        .26288E-03   -.87998    
  21  Prefactor     .86824        .15710        .22148E-03   -.97260    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 2.34648e-09
Minuit parameter uncertainties:
  1  8.42364e-06
  2  11.8267
  3  26.4731
  4  1.27033e-05
  5  2.11839
  6  0.0276122
  7  1.5018
  8  4.39734
  9  1.52466e-06
  10  0.000331288
  11  16.2507
  12  0.000822916
  13  26.1818
  14  0.00717779
  15  8.83649
  16  0.242333
  17  8.7985e-07
  18  35.746
  19  5.6923
  20  0.214998
  21  0.157184
Done.

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

Extracting fit parameters...

4FGL J1434.7+1950
   Spectrum: LogParabola
234         norm:  1.328e+00  1.502e+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.682e-01  1.572e-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.155e+00  2.150e-01  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Fixed Index): 1.99
Ra Dec: 218.675 19.848
Photon Index (Fixed Index): 2.27 +/- 0.00
Photon Flux (Fixed Index): 1.49e-08 +/- 1.68e-08
Energy Flux (Fixed Index): 6.17e-06 +/- 6.98e-06

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

Saving results to:
/scratch/kocevski/615848/likelihoodResults_632534401_632793601_4FGL_J1434.7+1950_daily_bin1517.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) = 7558.02880657
delta logL = 0.240505504124

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

MINUIT Return Code (Free Index): 0
logL (Free Index) = 7558.02833167
delta logL = 0.240980405097

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'norm      '    1.3243       1.0000         .10000E-03   10000.    
     2 'alpha     '    1.5136       1.0000          .0000       5.0000    
     3 'Normalizat'    1.1629       1.0000         .10000E-01   10.000    
     4 'Prefactor '    .86625       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=   7558.028     FROM MIGRAD    STATUS=CONVERGED     51 CALLS      205 TOTAL
                     EDM=   .11E-09    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  norm          1.3215        1.5431        .95519E-02   -.19851E-03
   2  alpha         1.5120        .82713        .46186       -.29485E-04
   3  Normalizat    1.1630        .17351        .59269E-01    .99703E-05
   4  Prefactor     .86621        .12918        .44573E-01    .13112E-04
                               ERR DEF=  .500    
Final values: 
  norm       = 1.32147
  alpha      = 1.51204
  Normalizat = 1.16304
  Prefactor  = 0.866209
 **********
 **   18 **HESSE 
 **********

 FCN=   7558.028     FROM HESSE     STATUS=OK            33 CALLS      238 TOTAL
                     EDM=   .26E-08    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  norm          1.3215        1.5745        .10888E-03   -1.5478    
   2  alpha         1.5120        .94549        .29799E-01   -.40627    
   3  Normalizat    1.1630        .20720        .26212E-03   -.87753    
   4  Prefactor     .86621        .15456        .22172E-03   -.97332    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 2.56976e-09
Minuit parameter uncertainties:
  1  1.57454
  2  0.974475
  3  0.207346
  4  0.154638
shell-init: error retrieving current directory: getcwd: cannot access parent directories: No such file or directory
rmdir: failed to remove `/scratch/kocevski/615848': 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) = 7558.02832941
delta logL = 0.240982664122

Extracting fit parameters...

4FGL J1434.7+1950
   Spectrum: LogParabola
234         norm:  1.321e+00  1.575e+00  1.000e-04  1.000e+04 ( 1.000e-12)
235        alpha:  1.512e+00  9.745e-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.662e-01  1.546e-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.163e+00  2.073e-01  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Free Index): 2.48
Ra Dec: 218.675 19.848
Photon Index (Free Index): 1.51 +/- 0.97
Photon Flux (Free Index): 6.48e-09 +/- 9.88e-09
Energy Flux (Free Index): 9.93e-06 +/- 1.57e-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/615848/cmap_HighResolution_632534401_632793601_4FGL_J1434.7+1950_daily_bin1517.png

Cleaning up...

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

Updating database...

UPDATE lightcurve_data_v2 SET energy_flux_upper_limit='2.73e-05', comment='SUCCESS', photon_flux='1.49e-08', energy_flux2='9.93e-06', photon_flux_error='1.68e-08', dlogl='2.41e-01', energy_flux='6.17e-06', photon_flux2='6.48e-09', job_status='DONE', time_completed='2021-09-10 00:45:21.387748', photon_index_error2='0.97', photon_index2='1.51', ts='1.99', fit_tolerance='1e-08', GAL='0.87', photon_index_error='0.00', photon_flux_upper_limit='6.59e-08', energy_flux_error2='1.57e-05', EG='1.16', time_epoch_completed='1631259921.39', return_code='0', job_id='615848', GAL2='0.87', EG2='1.16', return_code2='0', energy_flux_error='6.98e-06', photon_flux_error2='9.88e-09', ts2='2.48', photon_index='2.27' WHERE bin_id='1517' AND source_name='4FGL J1434.7+1950' AND cadence='daily';

Database successfully updated.


Analysis Complete.


Fri Sep 10 00:45:21 PDT 2021


------------------------------------------------------------
Sender: LSF System <lsf@bullet0088>
Subject: Job 615848: <4FGL_J1434.7+1950_daily_bin1517> in cluster <slac> Done

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

Your job looked like:

------------------------------------------------------------
# LSBATCH: User input
/nfs/farm/g/glast/g/LCRepository/Likelihood/Scripts/LikelihoodAnalysis.py 4FGL_J1434.7+1950_daily_bin1517 218.675 19.8478 632534401 632793601 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 :                                   621.01 sec.
    Max Memory :                                 1094 MB
    Average Memory :                             227.44 MB
    Total Requested Memory :                     -
    Delta Memory :                               -
    Max Swap :                                   -
    Max Processes :                              5
    Max Threads :                                21
    Run time :                                   848 sec.
    Turnaround time :                            850 sec.

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

