/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 187 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 = 7389
number of fields = 22
No RA_SUN column yet. Adding RA_SUN/DEC_SUN columns.
Done.


Performing analysis on: 4FGL_J1434.7+1950_daily_bin76
RA = 218.675, Dec = 19.8478
tmin = 259027201, tmax = 259286401
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='609807', job_status='RUN', time_executed='2021-09-10 00:14:33.541458', time_epoch_executed='1631258073.54' WHERE source_name='4FGL J1434.7+1950' and cadence='daily' and bin_id='76'

Database successfully updated.
Done.

Creating custom output directory:
/scratch/kocevski/609807

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

Retrieving the FT1 file...

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

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

Retrieving 46 files...
Done.


Merging files...

Checksum keywords updated successfully.

Merged file saved to:
/scratch/kocevski/609807/ft1_4FGL_J1434.7+1950_daily_bin76.fits


Retrieving the FT1 file...

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

Retrieving 46 files...
Done.


Merging files...

Merged file saved to:
/scratch/kocevski/609807/ft2_4FGL_J1434.7+1950_daily_bin76.fits


Selecting the photons:
time -p gtselect infile=/scratch/kocevski/609807/ft1_4FGL_J1434.7+1950_daily_bin76.fits outfile=/scratch/kocevski/609807/ft1_filteredMKT_4FGL_J1434.7+1950_daily_bin76.fits ra=218.675 dec=19.8478 rad=12.0 tmin=259027201.0 tmax=259286401.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 1.46
user 1.26
sys 0.16

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

Selecting the good time intervals:
time -p gtmktime scfile=/scratch/kocevski/609807/ft2_4FGL_J1434.7+1950_daily_bin76.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/609807/ft1_filteredMKT_4FGL_J1434.7+1950_daily_bin76.fits evtable="EVENTS" outfile="/scratch/kocevski/609807/ft1_filtered_4FGL_J1434.7+1950_daily_bin76.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/609807/ft1_filtered_4FGL_J1434.7+1950_daily_bin76.fits" evtable="EVENTS" scfile=/scratch/kocevski/609807/ft2_4FGL_J1434.7+1950_daily_bin76.fits sctable="SC_DATA" outfile=/scratch/kocevski/609807/ltcube_259027201_259286401_4FGL_J1434.7+1950_daily_bin76.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/609807/ft2_4FGL_J1434.7+1950_daily_bin76.fits
.....................!
real 12.28
user 11.91
sys 0.30

Generating the exposure map:
time -p gtexpmap evfile=/scratch/kocevski/609807/ft1_filtered_4FGL_J1434.7+1950_daily_bin76.fits evtable="EVENTS" scfile=/scratch/kocevski/609807/ft2_4FGL_J1434.7+1950_daily_bin76.fits sctable="SC_DATA" expcube=/scratch/kocevski/609807/ltcube_259027201_259286401_4FGL_J1434.7+1950_daily_bin76.fits outfile=/scratch/kocevski/609807/expmap_259027201_259286401_4FGL_J1434.7+1950_daily_bin76.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/609807/ltcube_259027201_259286401_4FGL_J1434.7+1950_daily_bin76.fits
.....................!
real 190.50
user 185.93
sys 4.21

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/609807/ft1_filtered_4FGL_J1434.7+1950_daily_bin76.fits scfile=/scratch/kocevski/609807/ft2_4FGL_J1434.7+1950_daily_bin76.fits outfile=/scratch/kocevski/609807/cmap_259027201_259286401_4FGL_J1434.7+1950_daily_bin76.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.55
user 0.36
sys 0.15

Creating the high resolution counts map:
time -p gtbin evfile=/scratch/kocevski/609807/ft1_filtered_4FGL_J1434.7+1950_daily_bin76.fits scfile=/scratch/kocevski/609807/ft2_4FGL_J1434.7+1950_daily_bin76.fits outfile=/scratch/kocevski/609807/cmap_HighResolution_259027201_259286401_4FGL_J1434.7+1950_daily_bin76.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.53
user 0.39
sys 0.13

Computing the diffuse response:
time -p gtdiffrsp evfile=/scratch/kocevski/609807/ft1_filtered_4FGL_J1434.7+1950_daily_bin76.fits evtable="EVENTS" scfile=/scratch/kocevski/609807/ft2_4FGL_J1434.7+1950_daily_bin76.fits sctable="SC_DATA" srcmdl=/scratch/kocevski/609807/Model_4FGL_J1434.7+1950_daily_bin76.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/609807/ft1_filtered_4FGL_J1434.7+1950_daily_bin76.fits.....................!
real 62.84
user 60.92
sys 1.28

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

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

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

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'Prefactor '    .18017E-01   1.0000         .10000E-03   10000.    
     2 'Prefactor '    22.354       1.0000         .10000E-03   10000.    
     3 'Prefactor '    3.3318       1.0000         .10000E-03   10000.    
     4 'Prefactor '    .10000E-03   1.0000         .10000E-03   10000.    
     5 'norm      '    .10006E-03   1.0000         .10000E-03   10000.    
     6 'Prefactor '    .25650       1.0000         .10000E-03   10000.    
     7 'norm      '    .12847E-03   1.0000         .10000E-03   10000.    
     8 'norm      '    6.3527       1.0000         .10000E-03   10000.    
     9 'Prefactor '    .10002E-03   1.0000         .10000E-03   10000.    
    10 'Prefactor '    35.525       1.0000         .10000E-03   10000.    
    11 'Prefactor '    9.7126       1.0000         .10000E-03   10000.    
    12 'Prefactor '    20.046       1.0000         .10000E-03   10000.    
    13 'Prefactor '    4.0722       1.0000         .10000E-03   10000.    
    14 'Prefactor '    .10000E-03   1.0000         .10000E-03   10000.    
    15 'Prefactor '    .47144       1.0000         .10000E-03   10000.    
    16 'norm      '    4.1759       1.0000         .10000E-03   10000.    
    17 'norm      '    .10000E-03   1.0000         .10000E-03   10000.    
    18 'Prefactor '    84.356       1.0000         .10000E-03   10000.    
    19 'Prefactor '    .16680E-03   1.0000         .10000E-03   10000.    
    20 'Normalizat'    1.0184       1.0000         .10000E-01   10.000    
    21 'Prefactor '    .90456       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=   8370.402     FROM MIGRAD    STATUS=CONVERGED    468 CALLS     2282 TOTAL
                     EDM=   .32E-09  STRATEGY=1  ERROR MATRIX UNCERTAINTY=  4.3%

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor     .10001E-03    9.7841        .19906E-06** at limit **
   2  Prefactor     22.353        11.808       -.30524E-07    .17927E-04
   3  Prefactor     3.3308        5.9813        .73542E-06   -.23069E-03
   4  Prefactor     .10000E-03    1.3719       -.14102E-07** at limit **
   5  norm          .10000E-03    1.2600        .51092E-07** at limit **
   6  Prefactor     .25961        2.8573       -.66616E-06    .39706E-03
   7  norm          .10000E-03    1.3181        .29434E-07** at limit **
   8  norm          6.3531        4.2763        .77696E-09    .41504E-04
   9  Prefactor     .10000E-03    23.452       -.49068E-05** at limit **
  10  Prefactor     35.530        22.082       -.19806E-07    .46955E-04
  11  Prefactor     9.7127        12.515        .73354E-07    .15232E-04
  12  Prefactor     20.047        14.331        .58352E-07    .34659E-04
  13  Prefactor     4.0735        14.312       -.66760E-07   -.46506E-05
  14  Prefactor     .10000E-03    23.278        .33204E-05** at limit **
  15  Prefactor     .49648        5.8546       -.12416E-05    .28889E-03
  16  norm          4.1759        .43277        .70664E-08    .56802E-03
  17  norm          .10000E-03    11.727       -.61329E-06** at limit **
  18  Prefactor     84.355        46.124       -.94370E-06   -.46803E-04
  19  Prefactor     .10000E-03    5.7119        .23045E-06** at limit **
  20  Normalizat    1.0184        .17340        .10132E-06    .16497E-03
  21  Prefactor     .90454        .12791        .13409E-06    .16906E-03
                               ERR DEF=  .500    
Final values: 
  Prefactor  = 0.000100008
  Prefactor  = 22.3535
  Prefactor  = 3.33078
  Prefactor  = 0.0001
  norm       = 0.0001
  Prefactor  = 0.259613
  norm       = 0.0001
  norm       = 6.35313
  Prefactor  = 0.000100002
  Prefactor  = 35.5299
  Prefactor  = 9.71272
  Prefactor  = 20.0467
  Prefactor  = 4.07354
  Prefactor  = 0.000100001
  Prefactor  = 0.496482
  norm       = 4.17591
  norm       = 0.0001
  Prefactor  = 84.3552
  Prefactor  = 0.000100001
  Normalizat = 1.01836
  Prefactor  = 0.904545
 **********
 **   18 **HESSE 
 **********

 FCN=   8370.402     FROM HESSE     STATUS=OK           331 CALLS     2613 TOTAL
                     EDM=   .32E-08    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  Prefactor     .10001E-03    88.118        .55016E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   2  Prefactor     22.353        11.825        .84718E-04   -1.4762    
   3  Prefactor     3.3308        13.520        .11087E-02   -1.5343    
   4  Prefactor     .10000E-03    1.3730        .10464E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   5  norm          .10000E-03    1.2849        .10022E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   6  Prefactor     .25961        17.281        .27154E-02   -1.5606    
   7  norm          .10000E-03    3.0465        .20233E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   8  norm          6.3531        4.2764        .14954E-03   -1.5204    
   9  Prefactor     .10000E-03    24.338        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  10  Prefactor     35.530        22.027        .67237E-04   -1.4515    
  11  Prefactor     9.7127        12.514        .12858E-03   -1.5085    
  12  Prefactor     20.047        14.313        .89458E-04   -1.4812    
  13  Prefactor     4.0735        14.290        .19980E-03   -1.5304    
  14  Prefactor     .10000E-03    23.703        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  15  Prefactor     .49648        17.250        .38424E-02   -1.5567    
  16  norm          4.1759        .43323        .18637E-04   -1.5299    
  17  norm          .10000E-03    11.741        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  18  Prefactor     84.355        46.231        .43737E-04   -1.3868    
  19  Prefactor     .10000E-03    32.105        .42135E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  20  Normalizat    1.0184        .20538        .28718E-03   -.92418    
  21  Prefactor     .90454        .15222        .22583E-03   -.95982    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 3.23777e-09
Minuit parameter uncertainties:
  1  0.00171436
  2  11.8259
  3  13.4265
  4  2.04146e-07
  5  6.76915e-07
  6  4.23668
  7  7.67361e-06
  8  4.27664
  9  0.00046983
  10  22.0324
  11  12.5174
  12  14.3155
  13  14.3016
  14  0.000312827
  15  5.85424
  16  0.433226
  17  4.14181e-05
  18  46.2509
  19  0.0003437
  20  0.205538
  21  0.152295
Done.

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

Extracting fit parameters...

4FGL J1434.7+1950
   Spectrum: LogParabola
234         norm:  1.000e-04  7.674e-06  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.045e-01  1.523e-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.018e+00  2.055e-01  1.000e-02  1.000e+01 ( 1.000e+00)


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

Saving results to:
/scratch/kocevski/609807/likelihoodResults_259027201_259286401_4FGL_J1434.7+1950_daily_bin76.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): 102
logL (Free Index) = 8370.40401827
delta logL = -0.0015638291643

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

MINUIT Return Code (Free Index): 0
logL (Free Index) = 8370.4024556
delta logL = -1.15981492854e-06

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'norm      '    .10621E-03   1.0000         .10000E-03   10000.    
     2 'alpha     '    2.2398       1.0000          .0000       5.0000    
     3 'Normalizat'    1.0186       1.0000         .10000E-01   10.000    
     4 'Prefactor '    .90444       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.
 MIGRAD TERMINATED WITHOUT CONVERGENCE.

 FCN=   8370.402     FROM MIGRAD    STATUS=FAILED       177 CALLS      341 TOTAL
                     EDM=   .43E-06    STRATEGY= 1      ERR MATRIX APPROXIMATE

  EXT PARAMETER                APPROXIMATE        STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  norm          .54332E-01    16.649        .20632E-02    .26004E-03
   2  alpha         1.2968        3.2027        .16575       -.23640E-03
   3  Normalizat    1.0189        .20160        .28718E-03    .47505E-05
   4  Prefactor     .90395        .15242        .22583E-03    .93638E-04
                               ERR DEF=  .500    
 START SIMPLEX MINIMIZATION.    CONVERGENCE WHEN EDM .LT.   .20E-04
 SIMPLEX MINIMIZATION HAS CONVERGED.

 FCN=   8370.402     FROM SIMPLEX   STATUS=UNCHANGED     75 CALLS      416 TOTAL
                     EDM=   .14E-04    STRATEGY= 1      ERR MATRIX APPROXIMATE

  EXT PARAMETER                APPROXIMATE     INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  norm          .54332E-01    16.649        .52450E-03   -1.5661    
   2  alpha         1.2968        3.2027        .67521E-02   -.50214    
   3  Normalizat    1.0189        .20160        .97072E-04   -.92400    
   4  Prefactor     .90395        .15242        .64946E-04   -.96003    
                               ERR DEF=  .500    

 MIGRAD MINIMIZATION HAS CONVERGED.

 MIGRAD WILL VERIFY CONVERGENCE AND ERROR MATRIX.

 FCN=   8370.402     FROM MIGRAD    STATUS=CONVERGED     36 CALLS      452 TOTAL
                     EDM=   .34E-09    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  norm          .54331E-01    9.0371        .82530E-04    .43530E-04
   2  alpha         1.2967        2.6268        .33149E-01   -.89468E-05
   3  Normalizat    1.0189        .20092        .11487E-04    .39588E-06
   4  Prefactor     .90394        .15119        .90330E-05    .15103E-05
                               ERR DEF=  .500    
Final values: 
  norm       = 0.0543306
  alpha      = 1.29674
  Normalizat = 1.01889
  Prefactor  = 0.903945
 **********
 **   18 **HESSE 
 **********

 FCN=   8370.402     FROM HESSE     STATUS=OK            25 CALLS      477 TOTAL
                     EDM=   .85E-11    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  norm          .54331E-01    9.0862        .33012E-05   -1.5661    
   2  alpha         1.2967        2.6192        .66299E-02   -.50214    
   3  Normalizat    1.0189        .20055        .22974E-05   -.92400    
   4  Prefactor     .90394        .15091        .18066E-05   -.96003    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 8.48978e-12
Minuit parameter uncertainties:
  1  1.40414
  2  4.43725
  3  0.200695
  4  0.150978
shell-init: error retrieving current directory: getcwd: cannot access parent directories: No such file or directory
rmdir: failed to remove `/scratch/kocevski/609807': 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) = 8370.40166482
delta logL = 0.00078961622421

Extracting fit parameters...

4FGL J1434.7+1950
   Spectrum: LogParabola
234         norm:  5.433e-02  1.404e+00  1.000e-04  1.000e+04 ( 1.000e-12)
235        alpha:  1.297e+00  4.437e+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.039e-01  1.510e-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.019e+00  2.007e-01  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Free Index): -0.00
Ra Dec: 218.675 19.848

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/609807/cmap_HighResolution_259027201_259286401_4FGL_J1434.7+1950_daily_bin76.png

Cleaning up...

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

Updating database...

UPDATE lightcurve_data_v2 SET energy_flux_upper_limit='2.30e-05', job_status='DONE', photon_flux_upper_limit='5.53e-08', time_completed='2021-09-10 00:25:44.130105', job_id='609807', GAL2='0.90', fit_tolerance='1e-08', EG2='1.02', EG='1.02', time_epoch_completed='1631258744.13', return_code2='0', ts='-0.00', comment='SUCCESS', return_code='0', GAL='0.90', dlogl='7.90e-04', ts2='0.00', photon_index_error='0.00', photon_index='2.27' WHERE bin_id='76' AND source_name='4FGL J1434.7+1950' AND cadence='daily';

Database successfully updated.


Analysis Complete.


Fri Sep 10 00:25:44 PDT 2021


------------------------------------------------------------
Sender: LSF System <lsf@bullet0173>
Subject: Job 609807: <4FGL_J1434.7+1950_daily_bin76> in cluster <slac> Done

Job <4FGL_J1434.7+1950_daily_bin76> was submitted from host <rhel6-64j> by user <kocevski> in cluster <slac> at Fri Sep 10 00:11:13 2021
Job was executed on host(s) <bullet0173>, in queue <medium>, as user <kocevski> in cluster <slac> at Fri Sep 10 00:11:15 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:11:15 2021
Terminated at Fri Sep 10 00:25:44 2021
Results reported at Fri Sep 10 00:25:44 2021

Your job looked like:

------------------------------------------------------------
# LSBATCH: User input
/nfs/farm/g/glast/g/LCRepository/Likelihood/Scripts/LikelihoodAnalysis.py 4FGL_J1434.7+1950_daily_bin76 218.675 19.8478 259027201 259286401 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 :                                   669.27 sec.
    Max Memory :                                 1256 MB
    Average Memory :                             312.76 MB
    Total Requested Memory :                     -
    Delta Memory :                               -
    Max Swap :                                   -
    Max Processes :                              5
    Max Threads :                                21
    Run time :                                   869 sec.
    Turnaround time :                            871 sec.

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

