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


Performing analysis on: 4FGL_J1434.7+1950_daily_bin1024
RA = 218.675, Dec = 19.8478
tmin = 504748801, tmax = 505008001
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='614423', job_status='RUN', time_executed='2021-09-10 00:26:38.387504', time_epoch_executed='1631258798.39' WHERE source_name='4FGL J1434.7+1950' and cadence='daily' and bin_id='1024'

Database successfully updated.
Done.

Creating custom output directory:
/scratch/kocevski/614423

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

Retrieving the FT1 file...

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

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

Retrieving 46 files...
Done.


Merging files...

Checksum keywords updated successfully.

Merged file saved to:
/scratch/kocevski/614423/ft1_4FGL_J1434.7+1950_daily_bin1024.fits


Retrieving the FT1 file...

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

Retrieving 46 files...
Done.


Merging files...

Merged file saved to:
/scratch/kocevski/614423/ft2_4FGL_J1434.7+1950_daily_bin1024.fits


Selecting the photons:
time -p gtselect infile=/scratch/kocevski/614423/ft1_4FGL_J1434.7+1950_daily_bin1024.fits outfile=/scratch/kocevski/614423/ft1_filteredMKT_4FGL_J1434.7+1950_daily_bin1024.fits ra=218.675 dec=19.8478 rad=12.0 tmin=504748801.0 tmax=505008001.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 8.25
user 7.95
sys 0.27

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

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

Generating the livetime cube:
time -p gtltcube evfile="/scratch/kocevski/614423/ft1_filtered_4FGL_J1434.7+1950_daily_bin1024.fits" evtable="EVENTS" scfile=/scratch/kocevski/614423/ft2_4FGL_J1434.7+1950_daily_bin1024.fits sctable="SC_DATA" outfile=/scratch/kocevski/614423/ltcube_504748801_505008001_4FGL_J1434.7+1950_daily_bin1024.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/614423/ft2_4FGL_J1434.7+1950_daily_bin1024.fits
.....................!
real 11.53
user 11.18
sys 0.32

Generating the exposure map:
time -p gtexpmap evfile=/scratch/kocevski/614423/ft1_filtered_4FGL_J1434.7+1950_daily_bin1024.fits evtable="EVENTS" scfile=/scratch/kocevski/614423/ft2_4FGL_J1434.7+1950_daily_bin1024.fits sctable="SC_DATA" expcube=/scratch/kocevski/614423/ltcube_504748801_505008001_4FGL_J1434.7+1950_daily_bin1024.fits outfile=/scratch/kocevski/614423/expmap_504748801_505008001_4FGL_J1434.7+1950_daily_bin1024.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/614423/ltcube_504748801_505008001_4FGL_J1434.7+1950_daily_bin1024.fits
.....................!
real 191.97
user 186.87
sys 4.69

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/614423/ft1_filtered_4FGL_J1434.7+1950_daily_bin1024.fits scfile=/scratch/kocevski/614423/ft2_4FGL_J1434.7+1950_daily_bin1024.fits outfile=/scratch/kocevski/614423/cmap_504748801_505008001_4FGL_J1434.7+1950_daily_bin1024.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.37
sys 0.15

Creating the high resolution counts map:
time -p gtbin evfile=/scratch/kocevski/614423/ft1_filtered_4FGL_J1434.7+1950_daily_bin1024.fits scfile=/scratch/kocevski/614423/ft2_4FGL_J1434.7+1950_daily_bin1024.fits outfile=/scratch/kocevski/614423/cmap_HighResolution_504748801_505008001_4FGL_J1434.7+1950_daily_bin1024.fits algorithm="CMAP" ebinalg="LOG" emin=30.0 emax=200000.0 ebinfile=NONE tbinalg="LIN" tbinfile=NONE nxpix=500 nypix=500 binsz=0.1 coordsys="CEL" xref=218.675 yref=19.8478 axisrot=0.0 rafield="RA" decfield="DEC" proj="AIT" hpx_ordering_scheme="RING" hpx_order=3 hpx_ebin=yes hpx_region="" evtable="EVENTS" sctable="SC_DATA" efield="ENERGY" tfield="TIME" chatter=2 clobber=yes debug=no gui=no mode="ql"

WARNING: version mismatch between CFITSIO header (v3.43) and linked library (v3.41).

This is gtbin version HEAD
real 0.54
user 0.36
sys 0.17

Computing the diffuse response:
time -p gtdiffrsp evfile=/scratch/kocevski/614423/ft1_filtered_4FGL_J1434.7+1950_daily_bin1024.fits evtable="EVENTS" scfile=/scratch/kocevski/614423/ft2_4FGL_J1434.7+1950_daily_bin1024.fits sctable="SC_DATA" srcmdl=/scratch/kocevski/614423/Model_4FGL_J1434.7+1950_daily_bin1024.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/614423/ft1_filtered_4FGL_J1434.7+1950_daily_bin1024.fits.....................!
real 42.84
user 41.42
sys 1.26

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

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

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

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'Prefactor '    20.151       1.0000         .10000E-03   10000.    
     2 'Prefactor '    .10603E-03   1.0000         .10000E-03   10000.    
     3 'Prefactor '    .10046E-03   1.0000         .10000E-03   10000.    
     4 'Prefactor '    7.5028       1.0000         .10000E-03   10000.    
     5 'norm      '    4.8132       1.0000         .10000E-03   10000.    
     6 'Prefactor '    .10000E-03   1.0000         .10000E-03   10000.    
     7 'norm      '    5.0365       1.0000         .10000E-03   10000.    
     8 'norm      '    6.1478       1.0000         .10000E-03   10000.    
     9 'Prefactor '    .19503E-03   1.0000         .10000E-03   10000.    
    10 'Prefactor '    .27145E-03   1.0000         .10000E-03   10000.    
    11 'Prefactor '    .10053E-03   1.0000         .10000E-03   10000.    
    12 'Prefactor '    10.271       1.0000         .10000E-03   10000.    
    13 'Prefactor '    .10321E-03   1.0000         .10000E-03   10000.    
    14 'Prefactor '    .10031E-03   1.0000         .10000E-03   10000.    
    15 'Prefactor '    14.016       1.0000         .10000E-03   10000.    
    16 'norm      '    1.1128       1.0000         .10000E-03   10000.    
    17 'norm      '    .10028E-03   1.0000         .10000E-03   10000.    
    18 'Prefactor '    .10930E-01   1.0000         .10000E-03   10000.    
    19 'Prefactor '    .10001E-03   1.0000         .10000E-03   10000.    
    20 'Normalizat'    1.3225       1.0000         .10000E-01   10.000    
    21 'Prefactor '    .87253       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=   5077.118     FROM MIGRAD    STATUS=CONVERGED    800 CALLS     2234 TOTAL
                     EDM=   .34E-09    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor     20.148        18.369        .89224E-04    .26758E-04
   2  Prefactor     .10000E-03    14.569        .18142E-02** at limit **
   3  Prefactor     .10000E-03    113.66        .18142E-02** at limit **
   4  Prefactor     7.4957        11.918        .14641E-03    .59866E-04
   5  norm          4.8129        2.9125        .91759E-04   -.92923E-05
   6  Prefactor     .10000E-03    4.9411        .15400E-02** at limit **
   7  norm          5.0365        4.3337        .13043E-03   -.10355E-03
   8  norm          6.1478        4.8855        .13584E-03   -.94655E-04
   9  Prefactor     .10000E-03    228.67        .18142E-02** at limit **
  10  Prefactor     .10000E-03    162.60        .42863E-03** at limit **
  11  Prefactor     .10000E-03    20.527        .18142E-02** at limit **
  12  Prefactor     10.280        13.603        .12503E-03    .37100E-04
  13  Prefactor     .10000E-03    18.475        .18142E-02** at limit **
  14  Prefactor     .10000E-03    61.689        .18142E-02** at limit **
  15  Prefactor     14.014        11.512        .10699E-03   -.13176E-04
  16  norm          1.1127        .37999        .24766E-04   -.22401E-03
  17  norm          .10000E-03    20.812        .18142E-02** at limit **
  18  Prefactor     .10000E-03    48.029        .14603    ** at limit **
  19  Prefactor     .10000E-03    7.6227        .18142E-02** at limit **
  20  Normalizat    1.3228        .26770        .26750E-03    .80750E-06
  21  Prefactor     .87253        .19825        .23523E-03   -.25320E-03
                               ERR DEF=  .500    
Final values: 
  Prefactor  = 20.1475
  Prefactor  = 0.0001
  Prefactor  = 0.0001
  Prefactor  = 7.49573
  norm       = 4.8129
  Prefactor  = 0.0001
  norm       = 5.03654
  norm       = 6.14784
  Prefactor  = 0.0001
  Prefactor  = 0.0001
  Prefactor  = 0.0001
  Prefactor  = 10.2804
  Prefactor  = 0.0001
  Prefactor  = 0.0001
  Prefactor  = 14.0144
  norm       = 1.11272
  norm       = 0.0001
  Prefactor  = 0.000100001
  Prefactor  = 0.0001
  Normalizat = 1.32277
  Prefactor  = 0.872531
 **********
 **   18 **HESSE 
 **********

 FCN=   5077.118     FROM HESSE     STATUS=OK           305 CALLS     2539 TOTAL
                     EDM=   .34E-09    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  Prefactor     20.148        18.369        .35690E-05   -1.4810    
   2  Prefactor     .10000E-03    14.574        .36285E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   3  Prefactor     .10000E-03    113.70        .36285E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   4  Prefactor     7.4957        11.917        .58566E-05   -1.5160    
   5  norm          4.8129        2.9125        .36703E-05   -1.5269    
   6  Prefactor     .10000E-03    4.9420        .30800E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   7  norm          5.0365        4.3335        .52173E-05   -1.5259    
   8  norm          6.1478        4.8854        .54336E-05   -1.5212    
   9  Prefactor     .10000E-03    228.81        .36285E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  10  Prefactor     .10000E-03    162.60        .85726E-04   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  11  Prefactor     .10000E-03    20.529        .36285E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  12  Prefactor     10.280        13.602        .50010E-05   -1.5067    
  13  Prefactor     .10000E-03    18.476        .36285E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  14  Prefactor     .10000E-03    61.706        .36285E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  15  Prefactor     14.014        11.512        .42796E-05   -1.4959    
  16  norm          1.1127        .37999        .99066E-06   -1.5497    
  17  norm          .10000E-03    20.812        .36285E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  18  Prefactor     .10000E-03    48.292        .14542       -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  19  Prefactor     .10000E-03    7.6236        .36285E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  20  Normalizat    1.3228        .26792        .10700E-04   -.82889    
  21  Prefactor     .87253        .19843        .47046E-04   -.97108    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 3.43753e-10
Minuit parameter uncertainties:
  1  18.3738
  2  3.31791e-06
  3  0.000206633
  4  11.9208
  5  2.91257
  6  4.51203e-06
  7  4.33381
  8  4.88574
  9  0.000400405
  10  0.000535502
  11  4.69601e-05
  12  13.6065
  13  1.61167e-05
  14  6.07006e-05
  15  11.5136
  16  0.379989
  17  7.51305e-05
  18  0.000343009
  19  1.95251e-06
  20  0.268204
  21  0.198595
Done.

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

Extracting fit parameters...

4FGL J1434.7+1950
   Spectrum: LogParabola
234         norm:  5.037e+00  4.334e+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.725e-01  1.986e-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.323e+00  2.682e-01  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Fixed Index): 1.94
Ra Dec: 218.675 19.848
Photon Index (Fixed Index): 2.27 +/- 0.00
Photon Flux (Fixed Index): 5.64e-08 +/- 4.85e-08
Energy Flux (Fixed Index): 2.34e-05 +/- 2.01e-05

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

Saving results to:
/scratch/kocevski/614423/likelihoodResults_504748801_505008001_4FGL_J1434.7+1950_daily_bin1024.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) = 5077.02779453
delta logL = 0.0898840055224

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

MINUIT Return Code (Free Index): 0
logL (Free Index) = 5077.02513636
delta logL = 0.0925421680158

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'norm      '    4.2171       1.0000         .10000E-03   10000.    
     2 'alpha     '    2.5746       1.0000          .0000       5.0000    
     3 'Normalizat'    1.3048       1.0000         .10000E-01   10.000    
     4 'Prefactor '    .87896       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=   5077.025     FROM MIGRAD    STATUS=CONVERGED     53 CALLS      225 TOTAL
                     EDM=   .11E-08    STRATEGY= 1      ERR MATRIX NOT POS-DEF

  EXT PARAMETER                APPROXIMATE        STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  norm          4.2219        74.435        .49058E-02    .77759E-03
   2  alpha         2.5745        3.7529        .34095        .93220E-04
   3  Normalizat    1.3051        .91650E-01    .60810E-01    .38246E-03
   4  Prefactor     .87871        .55859E-01    .44736E-01    .18360E-03
                               ERR DEF=  .500    
Final values: 
  norm       = 4.22192
  alpha      = 2.57448
  Normalizat = 1.30512
  Prefactor  = 0.878706
 **********
 **   18 **HESSE 
 **********

 FCN=   5077.025     FROM HESSE     STATUS=OK            31 CALLS      256 TOTAL
                     EDM=   .50E-09    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  norm          4.2219        4.5856        .11137E-03   -1.5297    
   2  alpha         2.5745        .75016        .11785E-01    .29797E-01
   3  Normalizat    1.3051        .27019        .26895E-03   -.83414    
   4  Prefactor     .87871        .19718        .23444E-03   -.96889    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 4.98491e-10
Minuit parameter uncertainties:
  1  4.58596
  2  0.761911
  3  0.270485
  4  0.19734
shell-init: error retrieving current directory: getcwd: cannot access parent directories: No such file or directory
rmdir: failed to remove `/scratch/kocevski/614423': 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) = 5077.02513473
delta logL = 0.092543798085

Extracting fit parameters...

4FGL J1434.7+1950
   Spectrum: LogParabola
234         norm:  4.222e+00  4.586e+00  1.000e-04  1.000e+04 ( 1.000e-12)
235        alpha:  2.574e+00  7.619e-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.787e-01  1.973e-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.305e+00  2.705e-01  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Free Index): 2.10
Ra Dec: 218.675 19.848
Photon Index (Free Index): 2.57 +/- 0.76
Photon Flux (Free Index): 7.49e-08 +/- 7.05e-08
Energy Flux (Free Index): 2.28e-05 +/- 1.88e-05

Creating a high resolution counts map...
INFO: Auto-setting vmin to  0.000e+00 [aplpy.core]
INFO: Auto-setting vmax to  0.000e+00 [aplpy.core]
Saving /scratch/kocevski/614423/cmap_HighResolution_504748801_505008001_4FGL_J1434.7+1950_daily_bin1024.png

Cleaning up...

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

Updating database...

UPDATE lightcurve_data_v2 SET energy_flux_upper_limit='6.63e-05', comment='SUCCESS', photon_flux='5.64e-08', energy_flux2='2.28e-05', photon_flux_error='4.85e-08', dlogl='9.25e-02', energy_flux='2.34e-05', photon_flux2='7.49e-08', job_status='DONE', time_completed='2021-09-10 00:35:44.775413', photon_index_error2='0.76', photon_index2='2.57', ts='1.94', fit_tolerance='1e-08', GAL='0.87', photon_index_error='0.00', photon_flux_upper_limit='1.60e-07', energy_flux_error2='1.88e-05', EG='1.32', time_epoch_completed='1631259344.78', return_code='0', job_id='614423', GAL2='0.88', EG2='1.31', return_code2='0', energy_flux_error='2.01e-05', photon_flux_error2='7.05e-08', ts2='2.10', photon_index='2.27' WHERE bin_id='1024' AND source_name='4FGL J1434.7+1950' AND cadence='daily';

Database successfully updated.


Analysis Complete.


Fri Sep 10 00:35:44 PDT 2021


------------------------------------------------------------
Sender: LSF System <lsf@bullet0054>
Subject: Job 614423: <4FGL_J1434.7+1950_daily_bin1024> in cluster <slac> Done

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

Your job looked like:

------------------------------------------------------------
# LSBATCH: User input
/nfs/farm/g/glast/g/LCRepository/Likelihood/Scripts/LikelihoodAnalysis.py 4FGL_J1434.7+1950_daily_bin1024 218.675 19.8478 504748801 505008001 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 :                                   538.11 sec.
    Max Memory :                                 1256 MB
    Average Memory :                             342.59 MB
    Total Requested Memory :                     -
    Delta Memory :                               -
    Max Swap :                                   -
    Max Processes :                              5
    Max Threads :                                21
    Run time :                                   581 sec.
    Turnaround time :                            583 sec.

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

