/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 229 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 = 27
No RA_SUN column yet. Adding RA_SUN/DEC_SUN columns.
Done.


Performing analysis on: 4FGL_J1434.7+1950_daily_bin324
RA = 218.675, Dec = 19.8478
tmin = 323308801, tmax = 323568001
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='611210', job_status='RUN', time_executed='2021-09-10 00:20:19.540576', time_epoch_executed='1631258419.54' WHERE source_name='4FGL J1434.7+1950' and cadence='daily' and bin_id='324'

Database successfully updated.
Done.

Creating custom output directory:
/scratch/kocevski/611210

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

Retrieving the FT1 file...

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

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

Retrieving 46 files...
Done.


Merging files...

Checksum keywords updated successfully.

Merged file saved to:
/scratch/kocevski/611210/ft1_4FGL_J1434.7+1950_daily_bin324.fits


Retrieving the FT1 file...

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

Retrieving 46 files...
Done.


Merging files...

Merged file saved to:
/scratch/kocevski/611210/ft2_4FGL_J1434.7+1950_daily_bin324.fits


Selecting the photons:
time -p gtselect infile=/scratch/kocevski/611210/ft1_4FGL_J1434.7+1950_daily_bin324.fits outfile=/scratch/kocevski/611210/ft1_filteredMKT_4FGL_J1434.7+1950_daily_bin324.fits ra=218.675 dec=19.8478 rad=12.0 tmin=323308801.0 tmax=323568001.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.31
user 3.08
sys 0.21

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

Selecting the good time intervals:
time -p gtmktime scfile=/scratch/kocevski/611210/ft2_4FGL_J1434.7+1950_daily_bin324.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/611210/ft1_filteredMKT_4FGL_J1434.7+1950_daily_bin324.fits evtable="EVENTS" outfile="/scratch/kocevski/611210/ft1_filtered_4FGL_J1434.7+1950_daily_bin324.fits" apply_filter=yes overwrite=yes header_obstimes=yes tstart=0.0 tstop=0.0 gtifile="default" chatter=3 clobber=yes debug=no gui=no mode="ql"

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

This is gtmktime version HEAD
Applying GTI filter:
IN_SAA!=T && LIVETIME>0 && gtifilter('/nfs/farm/g/glast/g/LCRepository/Likelihood/GTIs/nogrb.gti',(START+STOP)/2) && (angsep(RA_SUN,DEC_SUN,RA_ZENITH,DEC_ZENITH)>115 || gtifilter('/nfs/farm/g/glast/g/LCRepository/Likelihood/GTIs/nosolarflares.gti',(START+STOP)/2))
real 0.50
user 0.32
sys 0.16

Generating the livetime cube:
time -p gtltcube evfile="/scratch/kocevski/611210/ft1_filtered_4FGL_J1434.7+1950_daily_bin324.fits" evtable="EVENTS" scfile=/scratch/kocevski/611210/ft2_4FGL_J1434.7+1950_daily_bin324.fits sctable="SC_DATA" outfile=/scratch/kocevski/611210/ltcube_323308801_323568001_4FGL_J1434.7+1950_daily_bin324.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/611210/ft2_4FGL_J1434.7+1950_daily_bin324.fits
.....................!
real 11.83
user 11.46
sys 0.33

Generating the exposure map:
time -p gtexpmap evfile=/scratch/kocevski/611210/ft1_filtered_4FGL_J1434.7+1950_daily_bin324.fits evtable="EVENTS" scfile=/scratch/kocevski/611210/ft2_4FGL_J1434.7+1950_daily_bin324.fits sctable="SC_DATA" expcube=/scratch/kocevski/611210/ltcube_323308801_323568001_4FGL_J1434.7+1950_daily_bin324.fits outfile=/scratch/kocevski/611210/expmap_323308801_323568001_4FGL_J1434.7+1950_daily_bin324.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/611210/ltcube_323308801_323568001_4FGL_J1434.7+1950_daily_bin324.fits
.....................!
real 191.29
user 185.38
sys 5.55

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/611210/ft1_filtered_4FGL_J1434.7+1950_daily_bin324.fits scfile=/scratch/kocevski/611210/ft2_4FGL_J1434.7+1950_daily_bin324.fits outfile=/scratch/kocevski/611210/cmap_323308801_323568001_4FGL_J1434.7+1950_daily_bin324.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.36
sys 0.16

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

Computing the diffuse response:
time -p gtdiffrsp evfile=/scratch/kocevski/611210/ft1_filtered_4FGL_J1434.7+1950_daily_bin324.fits evtable="EVENTS" scfile=/scratch/kocevski/611210/ft2_4FGL_J1434.7+1950_daily_bin324.fits sctable="SC_DATA" srcmdl=/scratch/kocevski/611210/Model_4FGL_J1434.7+1950_daily_bin324.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/611210/ft1_filtered_4FGL_J1434.7+1950_daily_bin324.fits.....................!
real 47.65
user 46.25
sys 1.24

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

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

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

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'Prefactor '    .10009E-03   1.0000         .10000E-03   10000.    
     2 'Prefactor '    1.1274       1.0000         .10000E-03   10000.    
     3 'Prefactor '    .10003E-03   1.0000         .10000E-03   10000.    
     4 'Prefactor '    .19613E-03   1.0000         .10000E-03   10000.    
     5 'norm      '    6.1744       1.0000         .10000E-03   10000.    
     6 'Prefactor '    .10005E-03   1.0000         .10000E-03   10000.    
     7 'norm      '    .14679       1.0000         .10000E-03   10000.    
     8 'norm      '    .11988E-03   1.0000         .10000E-03   10000.    
     9 'Prefactor '    .10004E-03   1.0000         .10000E-03   10000.    
    10 'Prefactor '    24.570       1.0000         .10000E-03   10000.    
    11 'Prefactor '    14.184       1.0000         .10000E-03   10000.    
    12 'Prefactor '    6.7356       1.0000         .10000E-03   10000.    
    13 'Prefactor '    .10001E-03   1.0000         .10000E-03   10000.    
    14 'Prefactor '    .10000E-03   1.0000         .10000E-03   10000.    
    15 'Prefactor '    5.5984       1.0000         .10000E-03   10000.    
    16 'norm      '    .66656       1.0000         .10000E-03   10000.    
    17 'norm      '    .10000E-03   1.0000         .10000E-03   10000.    
    18 'Prefactor '    23.897       1.0000         .10000E-03   10000.    
    19 'Prefactor '    .13491E-03   1.0000         .10000E-03   10000.    
    20 'Normalizat'    .91872       1.0000         .10000E-01   10.000    
    21 'Prefactor '    1.0397       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=   6084.360     FROM MIGRAD    STATUS=CONVERGED    450 CALLS     2234 TOTAL
                     EDM=   .87E-09  STRATEGY=1  ERROR MATRIX UNCERTAINTY=  2.6%

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor     .10000E-03    8.4271       -.34063E-06** at limit **
   2  Prefactor     1.1317        19.736        .48614E-05    .27269E-03
   3  Prefactor     .10000E-03    26.296       -.47951E-06** at limit **
   4  Prefactor     .10001E-03    4.5457       -.81539E-06** at limit **
   5  norm          6.1744        2.7032        .22488E-07    .13521E-03
   6  Prefactor     .10000E-03    3.7946       -.35542E-06** at limit **
   7  norm          .16185        1.6547        .64719E-06   -.57633E-03
   8  norm          .10000E-03    2.2481        .32807E-06** at limit **
   9  Prefactor     .10000E-03    9.3552       -.16138E-06** at limit **
  10  Prefactor     24.570        22.202       -.14349E-07    .61917E-04
  11  Prefactor     14.195        31.101        .53075E-07    .40274E-04
  12  Prefactor     6.7386        17.560        .54239E-08    .59523E-04
  13  Prefactor     .10000E-03    17.678        .11607E-07** at limit **
  14  Prefactor     .10000E-03    14.610        .10705E-06** at limit **
  15  Prefactor     5.5998        7.9704        .48571E-06    .24521E-03
  16  norm          .66658        .24729        .17888E-07    .10702E-02
  17  norm          .10000E-03    13.982        .88359E-07** at limit **
  18  Prefactor     23.965        44.895        .32008E-06    .89955E-04
  19  Prefactor     .10004E-03    9.1730       -.33259E-05** at limit **
  20  Normalizat    .91872        .19713        .28124E-05    .59800E-03
  21  Prefactor     1.0395        .15062       -.13983E-05    .69264E-03
                               ERR DEF=  .500    
Final values: 
  Prefactor  = 0.0001
  Prefactor  = 1.13171
  Prefactor  = 0.0001
  Prefactor  = 0.000100013
  norm       = 6.17438
  Prefactor  = 0.0001
  norm       = 0.16185
  norm       = 0.000100003
  Prefactor  = 0.0001
  Prefactor  = 24.5697
  Prefactor  = 14.1947
  Prefactor  = 6.73856
  Prefactor  = 0.0001
  Prefactor  = 0.0001
  Prefactor  = 5.59976
  norm       = 0.666582
  norm       = 0.0001
  Prefactor  = 23.9648
  Prefactor  = 0.000100042
  Normalizat = 0.918721
  Prefactor  = 1.03954
 **********
 **   18 **HESSE 
 **********

 FCN=   6084.360     FROM HESSE     STATUS=OK           317 CALLS     2551 TOTAL
                     EDM=   .44E-08    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  Prefactor     .10000E-03    8.4959        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   2  Prefactor     1.1317        20.467        .44070E-03   -1.5495    
   3  Prefactor     .10000E-03    26.459        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   4  Prefactor     .10001E-03    41.250        .31117E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   5  norm          6.1744        2.7019        .82274E-04   -1.5211    
   6  Prefactor     .10000E-03    3.8498        .14849E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   7  norm          .16185        7.5435        .17616E-02   -1.5628    
   8  norm          .10000E-03    10.926        .22174E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   9  Prefactor     .10000E-03    9.3623        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  10  Prefactor     24.570        22.163        .80813E-04   -1.4716    
  11  Prefactor     14.195        31.025        .10635E-03   -1.4954    
  12  Prefactor     6.7386        17.503        .15461E-03   -1.5189    
  13  Prefactor     .10000E-03    17.725        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  14  Prefactor     .10000E-03    14.615        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  15  Prefactor     5.5998        7.9706        .16979E-03   -1.5235    
  16  norm          .66658        .24706        .22610E-04   -1.5545    
  17  norm          .10000E-03    13.983        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  18  Prefactor     23.965        44.835        .81941E-04   -1.4728    
  19  Prefactor     .10004E-03    19.623        .34013E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  20  Normalizat    .91872        .22245        .27235E-03   -.95805    
  21  Prefactor     1.0395        .17062        .19946E-03   -.91423    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 4.38352e-09
Minuit parameter uncertainties:
  1  4.50233e-05
  2  9.62905
  3  8.44587e-05
  4  0.00144953
  5  2.70193
  6  3.26005e-05
  7  2.20952
  8  0.000352968
  9  3.08691e-05
  10  22.1705
  11  31.06
  12  17.5161
  13  2.43676e-05
  14  1.72688e-05
  15  7.97215
  16  0.247061
  17  2.11859e-05
  18  44.8976
  19  0.00180978
  20  0.222672
  21  0.170706
Done.

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

Extracting fit parameters...

4FGL J1434.7+1950
   Spectrum: LogParabola
234         norm:  1.619e-01  2.210e+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:  1.040e+00  1.707e-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:  9.187e-01  2.227e-01  1.000e-02  1.000e+01 ( 1.000e+00)


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

Saving results to:
/scratch/kocevski/611210/likelihoodResults_323308801_323568001_4FGL_J1434.7+1950_daily_bin324.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) = 6084.04829382
delta logL = 0.311818919442

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

MINUIT Return Code (Free Index): 102
logL (Free Index) = 6084.02674767
delta logL = 0.333365071862

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'norm      '    .11967       1.0000         .10000E-03   10000.    
     2 'alpha     '    4.2842       1.0000          .0000       5.0000    
     3 'Normalizat'    .86810       1.0000         .10000E-01   10.000    
     4 'Prefactor '    1.0582       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=   6084.027     FROM MIGRAD    STATUS=CONVERGED     52 CALLS      216 TOTAL
                     EDM=   .35E-08    STRATEGY= 1      ERR MATRIX NOT POS-DEF

  EXT PARAMETER                APPROXIMATE        STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  norm          .11837        2.0823        .71993E-02    .26417E-02
   2  alpha         4.2900        4.6341        .50000        .54060E-04
   3  Normalizat    .86834        .33479E-01    .44493E-01   -.51823E-05
   4  Prefactor     1.0580        .26073E-01    .39451E-01   -.42241E-04
                               ERR DEF=  .500    
Final values: 
  norm       = 0.118366
  alpha      = 4.28996
  Normalizat = 0.868337
  Prefactor  = 1.05803
 **********
 **   18 **HESSE 
 **********

 FCN=   6084.027     FROM HESSE     STATUS=NOT POSDEF    33 CALLS      249 TOTAL
                     EDM=   .16E-05    STRATEGY= 1      ERR MATRIX NOT POS-DEF

  EXT PARAMETER                APPROXIMATE     INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  norm          .11837        8.5167        .31873E-04   -1.5639    
   2  alpha         4.2900        2.6507        .27619E-01    .79803    
   3  Normalizat    .86834        .18156        .27913E-03   -.97582    
   4  Prefactor     1.0580        .13789        .19778E-03   -.90819    
                               ERR DEF=  .500    
Minuit fit quality: 2   estimated distance: 1.56862e-06
Minuit parameter uncertainties:
  1  2.00752
  2  8.60522
  3  0.181686
  4  0.137941
shell-init: error retrieving current directory: getcwd: cannot access parent directories: No such file or directory
rmdir: failed to remove `/scratch/kocevski/611210': 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) = 6084.02674255
delta logL = 0.333370188375

Extracting fit parameters...

4FGL J1434.7+1950
   Spectrum: LogParabola
234         norm:  1.184e-01  2.008e+00  1.000e-04  1.000e+04 ( 1.000e-12)
235        alpha:  4.290e+00  8.605e+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:  1.058e+00  1.379e-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:  8.683e-01  1.817e-01  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Free Index): 0.01
Ra Dec: 218.675 19.848

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

Cleaning up...

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

Updating database...

UPDATE lightcurve_data_v2 SET energy_flux_upper_limit='3.03e-05', job_status='DONE', photon_flux_upper_limit='7.30e-08', time_completed='2021-09-10 00:29:41.679410', job_id='611210', GAL2='1.06', fit_tolerance='1e-08', EG2='0.87', EG='0.92', time_epoch_completed='1631258981.68', return_code2='102', ts='0.01', comment='SUCCESS', return_code='0', GAL='1.04', dlogl='3.33e-01', ts2='0.71', photon_index_error='0.00', photon_index='2.27' WHERE bin_id='324' AND source_name='4FGL J1434.7+1950' AND cadence='daily';

Database successfully updated.


Analysis Complete.


Fri Sep 10 00:29:41 PDT 2021


------------------------------------------------------------
Sender: LSF System <scs@bullet0044>
Subject: Job 611210: <4FGL_J1434.7+1950_daily_bin324> in cluster <slac> Done

Job <4FGL_J1434.7+1950_daily_bin324> was submitted from host <rhel6-64p> by user <kocevski> in cluster <slac> at Fri Sep 10 00:16:20 2021
Job was executed on host(s) <bullet0044>, in queue <medium>, as user <kocevski> in cluster <slac> at Fri Sep 10 00:16:21 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:16:21 2021
Terminated at Fri Sep 10 00:29:42 2021
Results reported at Fri Sep 10 00:29:42 2021

Your job looked like:

------------------------------------------------------------
# LSBATCH: User input
/nfs/farm/g/glast/g/LCRepository/Likelihood/Scripts/LikelihoodAnalysis.py 4FGL_J1434.7+1950_daily_bin324 218.675 19.8478 323308801 323568001 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 :                                   559.16 sec.
    Max Memory :                                 1094 MB
    Average Memory :                             273.42 MB
    Total Requested Memory :                     -
    Delta Memory :                               -
    Max Swap :                                   -
    Max Processes :                              5
    Max Threads :                                21
    Run time :                                   800 sec.
    Turnaround time :                            802 sec.

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

