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


Performing analysis on: 4FGL_J1434.7+1950_daily_bin1384
RA = 218.675, Dec = 19.8478
tmin = 598060801, tmax = 598320001
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='615673', job_status='RUN', time_executed='2021-09-10 00:34:04.207595', time_epoch_executed='1631259244.21' WHERE source_name='4FGL J1434.7+1950' and cadence='daily' and bin_id='1384'

Database successfully updated.
Done.

Creating custom output directory:
/scratch/kocevski/615673

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

Retrieving the FT1 file...

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

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

Retrieving 47 files...
Done.


Merging files...

Checksum keywords updated successfully.

Merged file saved to:
/scratch/kocevski/615673/ft1_4FGL_J1434.7+1950_daily_bin1384.fits


Retrieving the FT1 file...

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

Retrieving 47 files...
Done.


Merging files...

Merged file saved to:
/scratch/kocevski/615673/ft2_4FGL_J1434.7+1950_daily_bin1384.fits


Selecting the photons:
time -p gtselect infile=/scratch/kocevski/615673/ft1_4FGL_J1434.7+1950_daily_bin1384.fits outfile=/scratch/kocevski/615673/ft1_filteredMKT_4FGL_J1434.7+1950_daily_bin1384.fits ra=218.675 dec=19.8478 rad=12.0 tmin=598060801.0 tmax=598320001.0 emin=100.0 emax=100000.0 zmin=0.0 zmax=90.0 evclass=128 evtype="INDEF" convtype=-1 phasemin=0.0 phasemax=1.0 evtable="EVENTS" chatter=2 clobber=yes debug=no gui=no mode="ql"

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

Done.
real 4.91
user 4.60
sys 0.25

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

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

Generating the livetime cube:
time -p gtltcube evfile="/scratch/kocevski/615673/ft1_filtered_4FGL_J1434.7+1950_daily_bin1384.fits" evtable="EVENTS" scfile=/scratch/kocevski/615673/ft2_4FGL_J1434.7+1950_daily_bin1384.fits sctable="SC_DATA" outfile=/scratch/kocevski/615673/ltcube_598060801_598320001_4FGL_J1434.7+1950_daily_bin1384.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/615673/ft2_4FGL_J1434.7+1950_daily_bin1384.fits
.....................!
real 11.76
user 11.40
sys 0.32

Generating the exposure map:
time -p gtexpmap evfile=/scratch/kocevski/615673/ft1_filtered_4FGL_J1434.7+1950_daily_bin1384.fits evtable="EVENTS" scfile=/scratch/kocevski/615673/ft2_4FGL_J1434.7+1950_daily_bin1384.fits sctable="SC_DATA" expcube=/scratch/kocevski/615673/ltcube_598060801_598320001_4FGL_J1434.7+1950_daily_bin1384.fits outfile=/scratch/kocevski/615673/expmap_598060801_598320001_4FGL_J1434.7+1950_daily_bin1384.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/615673/ltcube_598060801_598320001_4FGL_J1434.7+1950_daily_bin1384.fits
.....................!
real 191.48
user 186.70
sys 4.34

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/615673/ft1_filtered_4FGL_J1434.7+1950_daily_bin1384.fits scfile=/scratch/kocevski/615673/ft2_4FGL_J1434.7+1950_daily_bin1384.fits outfile=/scratch/kocevski/615673/cmap_598060801_598320001_4FGL_J1434.7+1950_daily_bin1384.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.56
user 0.37
sys 0.15

Creating the high resolution counts map:
time -p gtbin evfile=/scratch/kocevski/615673/ft1_filtered_4FGL_J1434.7+1950_daily_bin1384.fits scfile=/scratch/kocevski/615673/ft2_4FGL_J1434.7+1950_daily_bin1384.fits outfile=/scratch/kocevski/615673/cmap_HighResolution_598060801_598320001_4FGL_J1434.7+1950_daily_bin1384.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.56
user 0.39
sys 0.15

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

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

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

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

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'Prefactor '    .20540E-02   1.0000         .10000E-03   10000.    
     2 'Prefactor '    .51361E-02   1.0000         .10000E-03   10000.    
     3 'Prefactor '    9.3511       1.0000         .10000E-03   10000.    
     4 'Prefactor '    .10032E-03   1.0000         .10000E-03   10000.    
     5 'norm      '    4.6654       1.0000         .10000E-03   10000.    
     6 'Prefactor '    5.8594       1.0000         .10000E-03   10000.    
     7 'norm      '    1.7742       1.0000         .10000E-03   10000.    
     8 'norm      '    2.2443       1.0000         .10000E-03   10000.    
     9 'Prefactor '    4.8300       1.0000         .10000E-03   10000.    
    10 'Prefactor '    25.313       1.0000         .10000E-03   10000.    
    11 'Prefactor '    9.3817       1.0000         .10000E-03   10000.    
    12 'Prefactor '    14.332       1.0000         .10000E-03   10000.    
    13 'Prefactor '    24.591       1.0000         .10000E-03   10000.    
    14 'Prefactor '    .10002E-03   1.0000         .10000E-03   10000.    
    15 'Prefactor '    .10000E-03   1.0000         .10000E-03   10000.    
    16 'norm      '    1.2544       1.0000         .10000E-03   10000.    
    17 'norm      '    .10000E-03   1.0000         .10000E-03   10000.    
    18 'Prefactor '    40.470       1.0000         .10000E-03   10000.    
    19 'Prefactor '    .10004E-03   1.0000         .10000E-03   10000.    
    20 'Normalizat'    1.0836       1.0000         .10000E-01   10.000    
    21 'Prefactor '    .98434       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=   6545.146     FROM MIGRAD    STATUS=CONVERGED    448 CALLS     1912 TOTAL
                     EDM=   .13E-08  STRATEGY=1  ERROR MATRIX UNCERTAINTY=   .5%

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor     .10093E-03    9.7885        .48109E-06** at limit **
   2  Prefactor     .10000E-03    5.6334       -.22115E-05** at limit **
   3  Prefactor     9.3489        21.590       -.39029E-05    .19701E-05
   4  Prefactor     .10000E-03    3.7158       -.15103E-06** at limit **
   5  norm          4.6652        2.2342       -.11877E-06    .22929E-03
   6  Prefactor     5.8590        6.5926        .56523E-06   -.11684E-03
   7  norm          1.7737        2.2690       -.62490E-06   -.57026E-03
   8  norm          2.2439        2.8804       -.29029E-06   -.25906E-03
   9  Prefactor     4.7952        72.182       -.96076E-04    .81813E-05
  10  Prefactor     25.307        23.928       -.29676E-05    .35621E-04
  11  Prefactor     9.3693        27.595       -.16651E-04   -.79434E-05
  12  Prefactor     14.327        16.340        .57011E-06    .21282E-04
  13  Prefactor     24.588        21.918       -.40976E-07    .28192E-04
  14  Prefactor     .10000E-03    11.484       -.41262E-07** at limit **
  15  Prefactor     .10000E-03    2.5678       -.35953E-07** at limit **
  16  norm          1.2544        .34288        .15003E-07    .68902E-03
  17  norm          .10000E-03    17.479        .63312E-06** at limit **
  18  Prefactor     40.440        37.690       -.28300E-04    .16787E-04
  19  Prefactor     .10000E-03    4.5135       -.36430E-07** at limit **
  20  Normalizat    1.0838        .19267        .83842E-05    .80565E-04
  21  Prefactor     .98427        .14196        .20281E-06    .65210E-03
                               ERR DEF=  .500    
Final values: 
  Prefactor  = 0.000100931
  Prefactor  = 0.000100002
  Prefactor  = 9.34888
  Prefactor  = 0.0001
  norm       = 4.66521
  Prefactor  = 5.85899
  norm       = 1.7737
  norm       = 2.24394
  Prefactor  = 4.79524
  Prefactor  = 25.3068
  Prefactor  = 9.36934
  Prefactor  = 14.3267
  Prefactor  = 24.5875
  Prefactor  = 0.0001
  Prefactor  = 0.0001
  norm       = 1.25435
  norm       = 0.0001
  Prefactor  = 40.4405
  Prefactor  = 0.0001
  Normalizat = 1.08377
  Prefactor  = 0.984274
 **********
 **   18 **HESSE 
 **********

 FCN=   6545.146     FROM HESSE     STATUS=OK           327 CALLS     2239 TOTAL
                     EDM=   .13E-07    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  Prefactor     .10093E-03    76.665        .48852E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   2  Prefactor     .10000E-03    27.887        .37010E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   3  Prefactor     9.3489        21.587        .13106E-03   -1.5096    
   4  Prefactor     .10000E-03    3.7382        .15216E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   5  norm          4.6652        2.2358        .81413E-04   -1.5276    
   6  Prefactor     5.8590        6.5874        .16591E-03   -1.5224    
   7  norm          1.7737        2.2467        .13240E-03   -1.5442    
   8  norm          2.2439        2.8667        .15104E-03   -1.5408    
   9  Prefactor     4.7952        73.269        .18305E-03   -1.5270    
  10  Prefactor     25.307        23.903        .79620E-04   -1.4701    
  11  Prefactor     9.3693        27.605        .13084E-03   -1.5096    
  12  Prefactor     14.327        16.319        .10580E-03   -1.4951    
  13  Prefactor     24.588        21.901        .80779E-04   -1.4716    
  14  Prefactor     .10000E-03    11.485        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  15  Prefactor     .10000E-03    2.5820        .12660E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  16  norm          1.2544        .34264        .23591E-04   -1.5484    
  17  norm          .10000E-03    17.483        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  18  Prefactor     40.440        37.771        .63010E-04   -1.4435    
  19  Prefactor     .10000E-03    4.5317        .16785E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  20  Normalizat    1.0838        .22723        .27031E-03   -.90275    
  21  Prefactor     .98427        .16918        .21633E-03   -.93256    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 1.28437e-08
Minuit parameter uncertainties:
  1  0.0169219
  2  0.00045317
  3  21.6047
  4  2.65902e-05
  5  2.23582
  6  6.58818
  7  2.24681
  8  2.86692
  9  37.5429
  10  23.9117
  11  27.6428
  12  16.324
  13  21.9081
  14  4.95534e-06
  15  1.73889e-06
  16  0.342641
  17  1.87999e-07
  18  37.7938
  19  8.03415e-06
  20  0.22743
  21  0.169269
Done.

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

Extracting fit parameters...

4FGL J1434.7+1950
   Spectrum: LogParabola
234         norm:  1.774e+00  2.247e+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.843e-01  1.693e-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.084e+00  2.274e-01  1.000e-02  1.000e+01 ( 1.000e+00)


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

Saving results to:
/scratch/kocevski/615673/likelihoodResults_598060801_598320001_4FGL_J1434.7+1950_daily_bin1384.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) = 6544.99308693
delta logL = 0.152583972575

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

MINUIT Return Code (Free Index): 0
logL (Free Index) = 6544.99111124
delta logL = 0.154559659637

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'norm      '    1.8867       1.0000         .10000E-03   10000.    
     2 'alpha     '    1.5352       1.0000          .0000       5.0000    
     3 'Normalizat'    1.0950       1.0000         .10000E-01   10.000    
     4 'Prefactor '    .98024       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=   6544.991     FROM MIGRAD    STATUS=CONVERGED     48 CALLS      203 TOTAL
                     EDM=   .67E-09    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  norm          1.8864        2.5838        .75747E-02   -.14794E-02
   2  alpha         1.5369        .94944        .45914       -.40362E-04
   3  Normalizat    1.0953        .18339        .60845E-01    .58089E-04
   4  Prefactor     .98005        .14081        .46020E-01   -.84905E-04
                               ERR DEF=  .500    
Final values: 
  norm       = 1.88642
  alpha      = 1.53693
  Normalizat = 1.09534
  Prefactor  = 0.980052
 **********
 **   18 **HESSE 
 **********

 FCN=   6544.991     FROM HESSE     STATUS=OK            33 CALLS      236 TOTAL
                     EDM=   .11E-08    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  norm          1.8864        2.3962        .13134E-03   -1.5433    
   2  alpha         1.5369        1.0198        .29435E-01   -.39546    
   3  Normalizat    1.0953        .21610        .26911E-03   -.89902    
   4  Prefactor     .98005        .16676        .21673E-03   -.93397    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 1.06662e-09
Minuit parameter uncertainties:
  1  2.39632
  2  1.05628
  3  0.216275
  4  0.166845
shell-init: error retrieving current directory: getcwd: cannot access parent directories: No such file or directory
rmdir: failed to remove `/scratch/kocevski/615673': 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) = 6544.99110847
delta logL = 0.154562433822

Extracting fit parameters...

4FGL J1434.7+1950
   Spectrum: LogParabola
234         norm:  1.886e+00  2.396e+00  1.000e-04  1.000e+04 ( 1.000e-12)
235        alpha:  1.537e+00  1.056e+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.801e-01  1.668e-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.095e+00  2.163e-01  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Free Index): 1.23
Ra Dec: 218.675 19.848
Photon Index (Free Index): 1.54 +/- 1.06
Photon Flux (Free Index): 9.40e-09 +/- 1.55e-08
Energy Flux (Free Index): 1.36e-05 +/- 2.31e-05

Creating a high resolution counts map...
INFO: Auto-setting vmin to -2.355e-04 [aplpy.core]
INFO: Auto-setting vmax to  2.614e-03 [aplpy.core]
Saving /scratch/kocevski/615673/cmap_HighResolution_598060801_598320001_4FGL_J1434.7+1950_daily_bin1384.png

Cleaning up...

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

Updating database...

UPDATE lightcurve_data_v2 SET energy_flux_upper_limit='3.48e-05', comment='SUCCESS', energy_flux2='1.36e-05', dlogl='1.55e-01', photon_flux2='9.40e-09', job_status='DONE', time_completed='2021-09-10 00:43:37.955719', photon_index_error2='1.06', photon_index2='1.54', ts='0.92', fit_tolerance='1e-08', GAL='0.98', photon_index_error='0.00', photon_flux_upper_limit='8.37e-08', energy_flux_error2='2.31e-05', EG='1.08', time_epoch_completed='1631259817.96', return_code='0', job_id='615673', GAL2='0.98', EG2='1.10', return_code2='0', photon_flux_error2='1.55e-08', ts2='1.23', photon_index='2.27' WHERE bin_id='1384' AND source_name='4FGL J1434.7+1950' AND cadence='daily';

Database successfully updated.


Analysis Complete.


Fri Sep 10 00:43:37 PDT 2021


------------------------------------------------------------
Sender: LSF System <lsf@bullet0066>
Subject: Job 615673: <4FGL_J1434.7+1950_daily_bin1384> in cluster <slac> Done

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

Your job looked like:

------------------------------------------------------------
# LSBATCH: User input
/nfs/farm/g/glast/g/LCRepository/Likelihood/Scripts/LikelihoodAnalysis.py 4FGL_J1434.7+1950_daily_bin1384 218.675 19.8478 598060801 598320001 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 :                                   568.19 sec.
    Max Memory :                                 1256 MB
    Average Memory :                             300.96 MB
    Total Requested Memory :                     -
    Delta Memory :                               -
    Max Swap :                                   -
    Max Processes :                              5
    Max Threads :                                21
    Run time :                                   758 sec.
    Turnaround time :                            760 sec.

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

