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


Performing analysis on: 4FGL_J1434.7+1950_daily_bin1272
RA = 218.675, Dec = 19.8478
tmin = 569030401, tmax = 569289601
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='614673', job_status='RUN', time_executed='2021-09-10 00:29:34.977023', time_epoch_executed='1631258974.98' WHERE source_name='4FGL J1434.7+1950' and cadence='daily' and bin_id='1272'

Database successfully updated.
Done.

Creating custom output directory:
/scratch/kocevski/614673

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

Retrieving the FT1 file...

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

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

Retrieving 46 files...
Done.


Merging files...

Checksum keywords updated successfully.

Merged file saved to:
/scratch/kocevski/614673/ft1_4FGL_J1434.7+1950_daily_bin1272.fits


Retrieving the FT1 file...

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

Retrieving 46 files...
Done.


Merging files...

Merged file saved to:
/scratch/kocevski/614673/ft2_4FGL_J1434.7+1950_daily_bin1272.fits


Selecting the photons:
time -p gtselect infile=/scratch/kocevski/614673/ft1_4FGL_J1434.7+1950_daily_bin1272.fits outfile=/scratch/kocevski/614673/ft1_filteredMKT_4FGL_J1434.7+1950_daily_bin1272.fits ra=218.675 dec=19.8478 rad=12.0 tmin=569030401.0 tmax=569289601.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.20

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

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

Generating the livetime cube:
time -p gtltcube evfile="/scratch/kocevski/614673/ft1_filtered_4FGL_J1434.7+1950_daily_bin1272.fits" evtable="EVENTS" scfile=/scratch/kocevski/614673/ft2_4FGL_J1434.7+1950_daily_bin1272.fits sctable="SC_DATA" outfile=/scratch/kocevski/614673/ltcube_569030401_569289601_4FGL_J1434.7+1950_daily_bin1272.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/614673/ft2_4FGL_J1434.7+1950_daily_bin1272.fits
.....................!
real 11.65
user 11.31
sys 0.31

Generating the exposure map:
time -p gtexpmap evfile=/scratch/kocevski/614673/ft1_filtered_4FGL_J1434.7+1950_daily_bin1272.fits evtable="EVENTS" scfile=/scratch/kocevski/614673/ft2_4FGL_J1434.7+1950_daily_bin1272.fits sctable="SC_DATA" expcube=/scratch/kocevski/614673/ltcube_569030401_569289601_4FGL_J1434.7+1950_daily_bin1272.fits outfile=/scratch/kocevski/614673/expmap_569030401_569289601_4FGL_J1434.7+1950_daily_bin1272.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/614673/ltcube_569030401_569289601_4FGL_J1434.7+1950_daily_bin1272.fits
.....................!
real 192.97
user 187.50
sys 5.13

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/614673/ft1_filtered_4FGL_J1434.7+1950_daily_bin1272.fits scfile=/scratch/kocevski/614673/ft2_4FGL_J1434.7+1950_daily_bin1272.fits outfile=/scratch/kocevski/614673/cmap_569030401_569289601_4FGL_J1434.7+1950_daily_bin1272.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.38
sys 0.14

Creating the high resolution counts map:
time -p gtbin evfile=/scratch/kocevski/614673/ft1_filtered_4FGL_J1434.7+1950_daily_bin1272.fits scfile=/scratch/kocevski/614673/ft2_4FGL_J1434.7+1950_daily_bin1272.fits outfile=/scratch/kocevski/614673/cmap_HighResolution_569030401_569289601_4FGL_J1434.7+1950_daily_bin1272.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.38
sys 0.15

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

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

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

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

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 '    10.211       1.0000         .10000E-03   10000.    
     3 'Prefactor '    30.379       1.0000         .10000E-03   10000.    
     4 'Prefactor '    .10119E-03   1.0000         .10000E-03   10000.    
     5 'norm      '    3.5251       1.0000         .10000E-03   10000.    
     6 'Prefactor '    3.4995       1.0000         .10000E-03   10000.    
     7 'norm      '    .89368       1.0000         .10000E-03   10000.    
     8 'norm      '    3.3596       1.0000         .10000E-03   10000.    
     9 'Prefactor '    .10001E-03   1.0000         .10000E-03   10000.    
    10 'Prefactor '    .54807       1.0000         .10000E-03   10000.    
    11 'Prefactor '    .10012E-03   1.0000         .10000E-03   10000.    
    12 'Prefactor '    3.9303       1.0000         .10000E-03   10000.    
    13 'Prefactor '    .19681E-03   1.0000         .10000E-03   10000.    
    14 'Prefactor '    .10002E-03   1.0000         .10000E-03   10000.    
    15 'Prefactor '    .28816E-03   1.0000         .10000E-03   10000.    
    16 'norm      '    .49633       1.0000         .10000E-03   10000.    
    17 'norm      '    .10003E-03   1.0000         .10000E-03   10000.    
    18 'Prefactor '    .10011E-03   1.0000         .10000E-03   10000.    
    19 'Prefactor '    10.880       1.0000         .10000E-03   10000.    
    20 'Normalizat'    1.3954       1.0000         .10000E-01   10.000    
    21 'Prefactor '    .84657       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=   7291.226     FROM MIGRAD    STATUS=CONVERGED    808 CALLS     2277 TOTAL
                     EDM=   .32E-08    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor     .10000E-03    8.3470        .18142E-02** at limit **
   2  Prefactor     10.210        12.436        .12539E-03   -.65551E-04
   3  Prefactor     30.380        24.110        .72694E-04   -.43477E-04
   4  Prefactor     .10000E-03    7.3235        .36285E-03** at limit **
   5  norm          3.5250        2.2142        .97729E-04   -.18112E-03
   6  Prefactor     3.5000        4.1636        .18337E-03   -.17775E-03
   7  norm          .89248        2.4734        .21262E-03   -.28724E-03
   8  norm          3.3593        3.6462        .16444E-03   -.15783E-03
   9  Prefactor     .10000E-03    32.426        .18142E-02** at limit **
  10  Prefactor     .46539        31.033        .10129        .20957E-03
  11  Prefactor     .10000E-03    25.761        .18142E-02** at limit **
  12  Prefactor     3.9096        18.527        .20349E-03   -.28605E-04
  13  Prefactor     .10000E-03    100.02        .36285E-03** at limit **
  14  Prefactor     .10000E-03    22.816        .18142E-02** at limit **
  15  Prefactor     .10004E-03    18.294        .36706E-02** at limit **
  16  norm          .49638        .24627        .28856E-04   -.15227E-02
  17  norm          .10000E-03    54.839        .18142E-02** at limit **
  18  Prefactor     .10000E-03    34.759        .18142E-02** at limit **
  19  Prefactor     10.879        11.596        .12146E-03   -.14508E-04
  20  Normalizat    1.3954        .22524        .25053E-03   -.16846E-03
  21  Prefactor     .84659        .16183        .23070E-03   -.16726E-03
                               ERR DEF=  .500    
Final values: 
  Prefactor  = 0.0001
  Prefactor  = 10.2101
  Prefactor  = 30.3801
  Prefactor  = 0.0001
  norm       = 3.525
  Prefactor  = 3.50002
  norm       = 0.892484
  norm       = 3.35935
  Prefactor  = 0.0001
  Prefactor  = 0.465391
  Prefactor  = 0.000100003
  Prefactor  = 3.90959
  Prefactor  = 0.000100001
  Prefactor  = 0.000100001
  Prefactor  = 0.000100042
  norm       = 0.496382
  norm       = 0.0001
  Prefactor  = 0.000100001
  Prefactor  = 10.8791
  Normalizat = 1.39541
  Prefactor  = 0.846589
 **********
 **   18 **HESSE 
 **********

 FCN=   7291.226     FROM HESSE     STATUS=OK           305 CALLS     2582 TOTAL
                     EDM=   .30E-08    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  Prefactor     .10000E-03    8.3510        .36285E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   2  Prefactor     10.210        12.434        .50157E-05   -1.5069    
   3  Prefactor     30.380        24.113        .29077E-05   -1.4605    
   4  Prefactor     .10000E-03    7.3239        .72569E-04   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   5  norm          3.5250        2.2142        .39092E-05   -1.5332    
   6  Prefactor     3.5000        4.1633        .73346E-05   -1.5334    
   7  norm          .89248        2.4727        .85048E-05   -1.5519    
   8  norm          3.3593        3.6461        .65777E-05   -1.5341    
   9  Prefactor     .10000E-03    32.430        .36285E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  10  Prefactor     .46539        26.936        .11033       -1.5572    
  11  Prefactor     .10000E-03    25.767        .36285E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  12  Prefactor     3.9096        18.481        .81395E-05   -1.5312    
  13  Prefactor     .10000E-03    100.03        .72569E-04   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  14  Prefactor     .10000E-03    22.816        .36285E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  15  Prefactor     .10004E-03    18.529        .73413E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  16  norm          .49638        .24626        .11543E-05   -1.5567    
  17  norm          .10000E-03    54.849        .36285E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  18  Prefactor     .10000E-03    34.764        .36285E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  19  Prefactor     10.879        11.595        .48585E-05   -1.5048    
  20  Normalizat    1.3954        .22535        .50105E-04   -.80761    
  21  Prefactor     .84659        .16199        .92278E-05   -.98033    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 3.02083e-09
Minuit parameter uncertainties:
  1  2.2158e-05
  2  12.4376
  3  24.1206
  4  2.91331e-05
  5  2.21423
  6  4.16366
  7  2.47295
  8  3.64632
  9  1.34174e-06
  10  7.0838
  11  0.000529487
  12  17.0086
  13  0.000760083
  14  0.000305616
  15  0.00176062
  16  0.246256
  17  0.000147418
  18  0.000320085
  19  11.5978
  20  0.225508
  21  0.162078
Done.

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

Extracting fit parameters...

4FGL J1434.7+1950
   Spectrum: LogParabola
234         norm:  8.925e-01  2.473e+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.466e-01  1.621e-01  0.000e+00  1.000e+01 ( 1.000e+00)
504        Index:  0.000e+00  0.000e+00 -1.000e+00  1.000e+00 ( 1.000e+00) fixed
505        Scale:  1.000e+02  0.000e+00  5.000e+01  2.000e+02 ( 1.000e+00) fixed

EG_v02
   Spectrum: FileFunction
502   Normalization:  1.395e+00  2.255e-01  1.000e-02  1.000e+01 ( 1.000e+00)


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

Saving results to:
/scratch/kocevski/614673/likelihoodResults_569030401_569289601_4FGL_J1434.7+1950_daily_bin1272.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) = 7290.6770611
delta logL = 0.549226735292

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

MINUIT Return Code (Free Index): 102
logL (Free Index) = 7290.58829445
delta logL = 0.637993387921

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'norm      '    .43363       1.0000         .10000E-03   10000.    
     2 'alpha     '    3.7164       1.0000          .0000       5.0000    
     3 'Normalizat'    1.3446       1.0000         .10000E-01   10.000    
     4 'Prefactor '    .86466       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=   7290.588     FROM MIGRAD    STATUS=CONVERGED     51 CALLS      212 TOTAL
                     EDM=   .97E-10    STRATEGY= 1      ERR MATRIX NOT POS-DEF

  EXT PARAMETER                APPROXIMATE        STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  norm          .43043        4.9820        .10997E-01    .34798E-02
   2  alpha         3.7218        4.0397        .41599        .11047E-03
   3  Normalizat    1.3440        .36331E-01    .57505E-01    .33512E-04
   4  Prefactor     .86501        .26914E-01    .44553E-01    .23835E-03
                               ERR DEF=  .500    
Final values: 
  norm       = 0.430426
  alpha      = 3.72183
  Normalizat = 1.34397
  Prefactor  = 0.865011
 **********
 **   18 **HESSE 
 **********

 FCN=   7290.588     FROM HESSE     STATUS=NOT POSDEF    35 CALLS      247 TOTAL
                     EDM=   .31E-09    STRATEGY= 1      ERR MATRIX NOT POS-DEF

  EXT PARAMETER                APPROXIMATE     INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  norm          .43043        17.430        .50778E-03   -1.5577    
   2  alpha         3.7218        3.7175        .15333E-01    .51063    
   3  Normalizat    1.3440        .18693        .25430E-03   -.82263    
   4  Prefactor     .86501        .13929        .22831E-03   -.97375    
                               ERR DEF=  .500    
Minuit fit quality: 2   estimated distance: 3.06628e-10
Minuit parameter uncertainties:
  1  5.47909
  2  6.86074
  3  0.187021
  4  0.139347
shell-init: error retrieving current directory: getcwd: cannot access parent directories: No such file or directory
rmdir: failed to remove `/scratch/kocevski/614673': 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): 102
logL (Free Index) = 7290.58828303
delta logL = 0.638004808773

Extracting fit parameters...

4FGL J1434.7+1950
   Spectrum: LogParabola
234         norm:  4.304e-01  5.479e+00  1.000e-04  1.000e+04 ( 1.000e-12)
235        alpha:  3.722e+00  6.861e+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:  8.650e-01  1.393e-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.344e+00  1.870e-01  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Free Index): 1.45
Ra Dec: 218.675 19.848
Photon Index (Free Index): 3.72 +/- 6.86
Photon Flux (Free Index): 5.93e-08 +/- 6.06e-08
Energy Flux (Free Index): 1.02e-05 +/- 1.65e-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/614673/cmap_HighResolution_569030401_569289601_4FGL_J1434.7+1950_daily_bin1272.png

Cleaning up...

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

Updating database...

UPDATE lightcurve_data_v2 SET energy_flux_upper_limit='3.22e-05', comment='SUCCESS', energy_flux2='1.02e-05', dlogl='6.38e-01', photon_flux2='5.93e-08', job_status='DONE', time_completed='2021-09-10 00:39:48.815435', photon_index_error2='6.86', photon_index2='3.72', ts='0.15', fit_tolerance='1e-08', GAL='0.85', photon_index_error='0.00', photon_flux_upper_limit='7.75e-08', energy_flux_error2='1.65e-05', EG='1.40', time_epoch_completed='1631259588.82', return_code='0', job_id='614673', GAL2='0.87', EG2='1.34', return_code2='102', photon_flux_error2='6.06e-08', ts2='1.45', photon_index='2.27' WHERE bin_id='1272' AND source_name='4FGL J1434.7+1950' AND cadence='daily';

Database successfully updated.


Analysis Complete.


Fri Sep 10 00:39:48 PDT 2021


------------------------------------------------------------
Sender: LSF System <lsf@bullet0008>
Subject: Job 614673: <4FGL_J1434.7+1950_daily_bin1272> in cluster <slac> Done

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

Your job looked like:

------------------------------------------------------------
# LSBATCH: User input
/nfs/farm/g/glast/g/LCRepository/Likelihood/Scripts/LikelihoodAnalysis.py 4FGL_J1434.7+1950_daily_bin1272 218.675 19.8478 569030401 569289601 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 :                                   612.31 sec.
    Max Memory :                                 1256 MB
    Average Memory :                             272.92 MB
    Total Requested Memory :                     -
    Delta Memory :                               -
    Max Swap :                                   -
    Max Processes :                              5
    Max Threads :                                21
    Run time :                                   802 sec.
    Turnaround time :                            803 sec.

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

