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


Performing analysis on: 4FGL_J1434.7+1950_daily_bin30
RA = 218.675, Dec = 19.8478
tmin = 247104001, tmax = 247363201
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='609756', job_status='RUN', time_executed='2021-09-10 00:15:02.999815', time_epoch_executed='1631258103.0' WHERE source_name='4FGL J1434.7+1950' and cadence='daily' and bin_id='30'

Database successfully updated.
Done.

Creating custom output directory:
/scratch/kocevski/609756

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

Retrieving the FT1 file...

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

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

Retrieving 46 files...
Done.


Merging files...

Checksum keywords updated successfully.

Merged file saved to:
/scratch/kocevski/609756/ft1_4FGL_J1434.7+1950_daily_bin30.fits


Retrieving the FT1 file...

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

Retrieving 46 files...
Done.


Merging files...

Merged file saved to:
/scratch/kocevski/609756/ft2_4FGL_J1434.7+1950_daily_bin30.fits


Selecting the photons:
time -p gtselect infile=/scratch/kocevski/609756/ft1_4FGL_J1434.7+1950_daily_bin30.fits outfile=/scratch/kocevski/609756/ft1_filteredMKT_4FGL_J1434.7+1950_daily_bin30.fits ra=218.675 dec=19.8478 rad=12.0 tmin=247104001.0 tmax=247363201.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.48
user 1.30
sys 0.16

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

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

Generating the livetime cube:
time -p gtltcube evfile="/scratch/kocevski/609756/ft1_filtered_4FGL_J1434.7+1950_daily_bin30.fits" evtable="EVENTS" scfile=/scratch/kocevski/609756/ft2_4FGL_J1434.7+1950_daily_bin30.fits sctable="SC_DATA" outfile=/scratch/kocevski/609756/ltcube_247104001_247363201_4FGL_J1434.7+1950_daily_bin30.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/609756/ft2_4FGL_J1434.7+1950_daily_bin30.fits
.....................!
real 12.33
user 11.99
sys 0.31

Generating the exposure map:
time -p gtexpmap evfile=/scratch/kocevski/609756/ft1_filtered_4FGL_J1434.7+1950_daily_bin30.fits evtable="EVENTS" scfile=/scratch/kocevski/609756/ft2_4FGL_J1434.7+1950_daily_bin30.fits sctable="SC_DATA" expcube=/scratch/kocevski/609756/ltcube_247104001_247363201_4FGL_J1434.7+1950_daily_bin30.fits outfile=/scratch/kocevski/609756/expmap_247104001_247363201_4FGL_J1434.7+1950_daily_bin30.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/609756/ltcube_247104001_247363201_4FGL_J1434.7+1950_daily_bin30.fits
.....................!
real 189.37
user 184.90
sys 4.15

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/609756/ft1_filtered_4FGL_J1434.7+1950_daily_bin30.fits scfile=/scratch/kocevski/609756/ft2_4FGL_J1434.7+1950_daily_bin30.fits outfile=/scratch/kocevski/609756/cmap_247104001_247363201_4FGL_J1434.7+1950_daily_bin30.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.52
user 0.37
sys 0.14

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

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

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

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

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

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'Prefactor '    16.265       1.0000         .10000E-03   10000.    
     2 'Prefactor '    .10000E-03   1.0000         .10000E-03   10000.    
     3 'Prefactor '    .10000E-03   1.0000         .10000E-03   10000.    
     4 'Prefactor '    .10029E-03   1.0000         .10000E-03   10000.    
     5 'norm      '    4.6980       1.0000         .10000E-03   10000.    
     6 'Prefactor '    .92754E-03   1.0000         .10000E-03   10000.    
     7 'norm      '    .10001E-03   1.0000         .10000E-03   10000.    
     8 'norm      '    3.1958       1.0000         .10000E-03   10000.    
     9 'Prefactor '    25.291       1.0000         .10000E-03   10000.    
    10 'Prefactor '    .10000E-03   1.0000         .10000E-03   10000.    
    11 'Prefactor '    .10000E-03   1.0000         .10000E-03   10000.    
    12 'Prefactor '    .10000E-03   1.0000         .10000E-03   10000.    
    13 'Prefactor '    8.8161       1.0000         .10000E-03   10000.    
    14 'Prefactor '    .10000E-03   1.0000         .10000E-03   10000.    
    15 'Prefactor '    .10001E-03   1.0000         .10000E-03   10000.    
    16 'norm      '    3.9856       1.0000         .10000E-03   10000.    
    17 'norm      '    .10000E-03   1.0000         .10000E-03   10000.    
    18 'Prefactor '    43.615       1.0000         .10000E-03   10000.    
    19 'Prefactor '    9.8011       1.0000         .10000E-03   10000.    
    20 'Normalizat'    1.5074       1.0000         .10000E-01   10.000    
    21 'Prefactor '    .74663       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=   10678.89     FROM MIGRAD    STATUS=CONVERGED    428 CALLS     2165 TOTAL
                     EDM=   .26E-09  STRATEGY=1  ERROR MATRIX UNCERTAINTY=   .6%

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor     16.265        12.137       -.22195E-06   -.54088E-03
   2  Prefactor     .10000E-03    2.7110        .67028E-07** at limit **
   3  Prefactor     .10000E-03    9.0375        .72909E-05** at limit **
   4  Prefactor     .10000E-03    6.5412       -.45445E-05** at limit **
   5  norm          4.6981        1.9576        .79121E-08    .24174E-04
   6  Prefactor     .10000E-03    2.2088        .39549E-06** at limit **
   7  norm          .10000E-03    1.0234       -.52150E-07** at limit **
   8  norm          3.1960        3.2531        .77326E-06   -.73522E-03
   9  Prefactor     25.298        43.049        .12399E-04   -.95981E-05
  10  Prefactor     .10000E-03    6.3057       -.29864E-05** at limit **
  11  Prefactor     .10000E-03    7.9412       -.15475E-05** at limit **
  12  Prefactor     .10000E-03    5.4460        .55726E-05** at limit **
  13  Prefactor     8.8153        15.677       -.53733E-06   -.40860E-04
  14  Prefactor     .10000E-03    14.296       -.56307E-05** at limit **
  15  Prefactor     .10000E-03    3.9612       -.67415E-06** at limit **
  16  norm          3.9856        .39792        .88597E-08   -.22588E-03
  17  norm          .10000E-03    13.583        .36733E-05** at limit **
  18  Prefactor     43.620        36.348        .61949E-05   -.65690E-05
  19  Prefactor     9.8023        10.294        .80901E-07   -.64229E-04
  20  Normalizat    1.5073        .16623       -.11476E-05    .11544E-05
  21  Prefactor     .74665        .11947       -.41716E-06   -.12880E-03
                               ERR DEF=  .500    
Final values: 
  Prefactor  = 16.2652
  Prefactor  = 0.0001
  Prefactor  = 0.0001
  Prefactor  = 0.0001
  norm       = 4.69805
  Prefactor  = 0.000100004
  norm       = 0.0001
  norm       = 3.19601
  Prefactor  = 25.298
  Prefactor  = 0.0001
  Prefactor  = 0.0001
  Prefactor  = 0.0001
  Prefactor  = 8.8153
  Prefactor  = 0.0001
  Prefactor  = 0.0001
  norm       = 3.98563
  norm       = 0.0001
  Prefactor  = 43.6199
  Prefactor  = 9.80228
  Normalizat = 1.50727
  Prefactor  = 0.746653
 **********
 **   18 **HESSE 
 **********

 FCN=   10678.89     FROM HESSE     STATUS=OK           317 CALLS     2482 TOTAL
                     EDM=   .71E-09    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  Prefactor     16.265        12.159        .49655E-03   -1.4901    
   2  Prefactor     .10000E-03    2.7180        .16615E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   3  Prefactor     .10000E-03    9.0698        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   4  Prefactor     .10000E-03    6.6428        .36285E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   5  norm          4.6981        1.9579        .90737E-04   -1.5274    
   6  Prefactor     .10000E-03    18.332        .29092E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   7  norm          .10000E-03    1.0714        .20401E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   8  norm          3.1960        3.2235        .18043E-03   -1.5350    
   9  Prefactor     25.298        43.189        .79655E-04   -1.4702    
  10  Prefactor     .10000E-03    6.3093        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  11  Prefactor     .10000E-03    7.9523        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  12  Prefactor     .10000E-03    5.4779        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  13  Prefactor     8.8153        15.674        .13499E-03   -1.5114    
  14  Prefactor     .10000E-03    14.316        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  15  Prefactor     .10000E-03    4.0084        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  16  norm          3.9856        .39828        .19922E-04   -1.5309    
  17  norm          .10000E-03    13.590        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  18  Prefactor     43.620        36.322        .60704E-04   -1.4386    
  19  Prefactor     9.8023        10.288        .12800E-03   -1.5082    
  20  Normalizat    1.5073        .19651        .25987E-03   -.77574    
  21  Prefactor     .74665        .14222        .25782E-03   -1.0173    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 7.13657e-10
Minuit parameter uncertainties:
  1  12.1604
  2  4.62736e-06
  3  1.15343e-05
  4  4.50592e-05
  5  1.95795
  6  0.000532611
  7  3.67622e-06
  8  3.22368
  9  43.2419
  10  6.4171e-06
  11  6.11754e-06
  12  2.53911e-06
  13  15.6815
  14  1.15749e-05
  15  1.83514e-06
  16  0.398281
  17  1.7954e-07
  18  36.3406
  19  10.29
  20  0.196609
  21  0.142293
Done.

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

Extracting fit parameters...

4FGL J1434.7+1950
   Spectrum: LogParabola
234         norm:  1.000e-04  3.676e-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:  7.467e-01  1.423e-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.507e+00  1.966e-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: 4.00e-08 ph cm-2 s-1
Energy Flux Upper Limit: 1.66e-05 MeV cm-2 s-1

Saving results to:
/scratch/kocevski/609756/likelihoodResults_247104001_247363201_4FGL_J1434.7+1950_daily_bin30.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) = 10678.894432
delta logL = -0.0044412947409

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

MINUIT Return Code (Free Index): 0
logL (Free Index) = 10678.88999
delta logL = 7.28021404939e-07

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'norm      '    .10000E-03   1.0000         .10000E-03   10000.    
     2 'alpha     '    2.2895       1.0000          .0000       5.0000    
     3 'Normalizat'    1.5073       1.0000         .10000E-01   10.000    
     4 'Prefactor '    .74665       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=   10678.73     FROM MIGRAD    STATUS=FAILED       175 CALLS      329 TOTAL
                     EDM=   .98E-05    STRATEGY= 1      ERR MATRIX NOT POS-DEF

  EXT PARAMETER                APPROXIMATE        STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  norm          .20072E-01    2.5350        .16876E-02    .15272E-01
   2  alpha         4.8562        2.5520        .50000        .13637E-03
   3  Normalizat    1.4763        .85601E-01    .25987E-03    .11435E-03
   4  Prefactor     .75896        .57861E-01    .25782E-03    .19552E-03
                               ERR DEF=  .500    
 START SIMPLEX MINIMIZATION.    CONVERGENCE WHEN EDM .LT.   .20E-04
 SIMPLEX MINIMIZATION HAS CONVERGED.

 FCN=   10678.73     FROM SIMPLEX   STATUS=UNCHANGED     83 CALLS      412 TOTAL
                     EDM=   .11E-04    STRATEGY= 1      ERR MATRIX NOT POS-DEF

  EXT PARAMETER                APPROXIMATE        STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  norm          .20072E-01    2.5350        .39648E-04    .15272E-01
   2  alpha         4.8562        2.5520        .17218E-01    .13637E-03
   3  Normalizat    1.4763        .85601E-01    .10521E-04    .11435E-03
   4  Prefactor     .75896        .57861E-01    .56751E-04    .19552E-03
                               ERR DEF=  .500    

 MIGRAD MINIMIZATION HAS CONVERGED.

 MIGRAD WILL VERIFY CONVERGENCE AND ERROR MATRIX.
 MACHINE ACCURACY LIMITS FURTHER IMPROVEMENT.

 MIGRAD MINIMIZATION HAS CONVERGED.

 FCN=   10678.73     FROM MIGRAD    STATUS=CONVERGED     47 CALLS      459 TOTAL
                     EDM=   .28E-07    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  norm          .20072E-01    .38854E-01     .0000        .10670E-02
   2  alpha         4.8562        3.4685         .0000        .13520E-03
   3  Normalizat    1.4763        .21135         .0000        .12223E-03
   4  Prefactor     .75896        .14504         .0000        .19799E-03
                               ERR DEF=  .500    
Final values: 
  norm       = 0.0200719
  alpha      = 4.85616
  Normalizat = 1.47626
  Prefactor  = 0.758958
 **********
 **   18 **HESSE 
 **********

 FCN=   10678.73     FROM HESSE     STATUS=OK            29 CALLS      488 TOTAL
                     EDM=   .56E-07    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  norm          .20072E-01    .38682E-01    .10126E-05   -1.5680    
   2  alpha         4.8562        3.4598        .50000        1.9117    
   3  Normalizat    1.4763        .21147        .10395E-04   -.78448    
   4  Prefactor     .75896        .14503        .20626E-05   -1.0126    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 5.55474e-08
Minuit parameter uncertainties:
  1  0.0386821
  2  1.45103
  3  0.211594
  4  0.145106
shell-init: error retrieving current directory: getcwd: cannot access parent directories: No such file or directory
rmdir: failed to remove `/scratch/kocevski/609756': 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) = 10678.7345533
delta logL = 0.155437379506

Extracting fit parameters...

4FGL J1434.7+1950
   Spectrum: LogParabola
234         norm:  2.007e-02  3.868e-02  1.000e-04  1.000e+04 ( 1.000e-12)
235        alpha:  4.856e+00  1.451e+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:  7.590e-01  1.451e-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.476e+00  2.116e-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/609756/cmap_HighResolution_247104001_247363201_4FGL_J1434.7+1950_daily_bin30.png

Cleaning up...

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

Updating database...

UPDATE lightcurve_data_v2 SET energy_flux_upper_limit='1.66e-05', job_status='DONE', photon_flux_upper_limit='4.00e-08', time_completed='2021-09-10 00:27:34.908419', job_id='609756', GAL2='0.76', fit_tolerance='1e-08', EG2='1.48', EG='1.51', time_epoch_completed='1631258854.91', return_code2='0', ts='-0.00', comment='SUCCESS', return_code='0', GAL='0.75', dlogl='1.55e-01', ts2='0.33', photon_index_error='0.00', photon_index='2.27' WHERE bin_id='30' AND source_name='4FGL J1434.7+1950' AND cadence='daily';

Database successfully updated.


Analysis Complete.


Fri Sep 10 00:27:34 PDT 2021


------------------------------------------------------------
Sender: LSF System <lsf@bullet0111>
Subject: Job 609756: <4FGL_J1434.7+1950_daily_bin30> in cluster <slac> Done

Job <4FGL_J1434.7+1950_daily_bin30> was submitted from host <rhel6-64j> by user <kocevski> in cluster <slac> at Fri Sep 10 00:11:08 2021
Job was executed on host(s) <bullet0111>, in queue <medium>, as user <kocevski> in cluster <slac> at Fri Sep 10 00:11:09 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:09 2021
Terminated at Fri Sep 10 00:27:35 2021
Results reported at Fri Sep 10 00:27:35 2021

Your job looked like:

------------------------------------------------------------
# LSBATCH: User input
/nfs/farm/g/glast/g/LCRepository/Likelihood/Scripts/LikelihoodAnalysis.py 4FGL_J1434.7+1950_daily_bin30 218.675 19.8478 247104001 247363201 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 :                                   751.12 sec.
    Max Memory :                                 1256 MB
    Average Memory :                             310.59 MB
    Total Requested Memory :                     -
    Delta Memory :                               -
    Max Swap :                                   -
    Max Processes :                              5
    Max Threads :                                21
    Run time :                                   986 sec.
    Turnaround time :                            987 sec.

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

