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


Performing analysis on: 4FGL_J1434.7+1950_daily_bin1080
RA = 218.675, Dec = 19.8478
tmin = 519264001, tmax = 519523201
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='614480', job_status='RUN', time_executed='2021-09-10 00:28:15.391016', time_epoch_executed='1631258895.39' WHERE source_name='4FGL J1434.7+1950' and cadence='daily' and bin_id='1080'

Database successfully updated.
Done.

Creating custom output directory:
/scratch/kocevski/614480

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

Retrieving the FT1 file...

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

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

Retrieving 46 files...
Done.


Merging files...

Checksum keywords updated successfully.

Merged file saved to:
/scratch/kocevski/614480/ft1_4FGL_J1434.7+1950_daily_bin1080.fits


Retrieving the FT1 file...

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

Retrieving 46 files...
Done.


Merging files...

Merged file saved to:
/scratch/kocevski/614480/ft2_4FGL_J1434.7+1950_daily_bin1080.fits


Selecting the photons:
time -p gtselect infile=/scratch/kocevski/614480/ft1_4FGL_J1434.7+1950_daily_bin1080.fits outfile=/scratch/kocevski/614480/ft1_filteredMKT_4FGL_J1434.7+1950_daily_bin1080.fits ra=218.675 dec=19.8478 rad=12.0 tmin=519264001.0 tmax=519523201.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.55
user 3.31
sys 0.21

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

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

Generating the livetime cube:
time -p gtltcube evfile="/scratch/kocevski/614480/ft1_filtered_4FGL_J1434.7+1950_daily_bin1080.fits" evtable="EVENTS" scfile=/scratch/kocevski/614480/ft2_4FGL_J1434.7+1950_daily_bin1080.fits sctable="SC_DATA" outfile=/scratch/kocevski/614480/ltcube_519264001_519523201_4FGL_J1434.7+1950_daily_bin1080.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/614480/ft2_4FGL_J1434.7+1950_daily_bin1080.fits
.....................!
real 12.00
user 11.59
sys 0.35

Generating the exposure map:
time -p gtexpmap evfile=/scratch/kocevski/614480/ft1_filtered_4FGL_J1434.7+1950_daily_bin1080.fits evtable="EVENTS" scfile=/scratch/kocevski/614480/ft2_4FGL_J1434.7+1950_daily_bin1080.fits sctable="SC_DATA" expcube=/scratch/kocevski/614480/ltcube_519264001_519523201_4FGL_J1434.7+1950_daily_bin1080.fits outfile=/scratch/kocevski/614480/expmap_519264001_519523201_4FGL_J1434.7+1950_daily_bin1080.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/614480/ltcube_519264001_519523201_4FGL_J1434.7+1950_daily_bin1080.fits
.....................!
real 190.42
user 184.95
sys 4.99

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/614480/ft1_filtered_4FGL_J1434.7+1950_daily_bin1080.fits scfile=/scratch/kocevski/614480/ft2_4FGL_J1434.7+1950_daily_bin1080.fits outfile=/scratch/kocevski/614480/cmap_519264001_519523201_4FGL_J1434.7+1950_daily_bin1080.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.54
user 0.36
sys 0.15

Creating the high resolution counts map:
time -p gtbin evfile=/scratch/kocevski/614480/ft1_filtered_4FGL_J1434.7+1950_daily_bin1080.fits scfile=/scratch/kocevski/614480/ft2_4FGL_J1434.7+1950_daily_bin1080.fits outfile=/scratch/kocevski/614480/cmap_HighResolution_519264001_519523201_4FGL_J1434.7+1950_daily_bin1080.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.15

Computing the diffuse response:
time -p gtdiffrsp evfile=/scratch/kocevski/614480/ft1_filtered_4FGL_J1434.7+1950_daily_bin1080.fits evtable="EVENTS" scfile=/scratch/kocevski/614480/ft2_4FGL_J1434.7+1950_daily_bin1080.fits sctable="SC_DATA" srcmdl=/scratch/kocevski/614480/Model_4FGL_J1434.7+1950_daily_bin1080.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/614480/ft1_filtered_4FGL_J1434.7+1950_daily_bin1080.fits.....................!
real 49.07
user 47.70
sys 1.22

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

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

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

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'Prefactor '    .10002E-03   1.0000         .10000E-03   10000.    
     2 'Prefactor '    .14208E-03   1.0000         .10000E-03   10000.    
     3 'Prefactor '    36.601       1.0000         .10000E-03   10000.    
     4 'Prefactor '    .10030E-03   1.0000         .10000E-03   10000.    
     5 'norm      '    7.2317       1.0000         .10000E-03   10000.    
     6 'Prefactor '    .10711E-03   1.0000         .10000E-03   10000.    
     7 'norm      '    .71557       1.0000         .10000E-03   10000.    
     8 'norm      '    10.513       1.0000         .10000E-03   10000.    
     9 'Prefactor '    .10009E-03   1.0000         .10000E-03   10000.    
    10 'Prefactor '    .10001E-03   1.0000         .10000E-03   10000.    
    11 'Prefactor '    34.795       1.0000         .10000E-03   10000.    
    12 'Prefactor '    .10000E-03   1.0000         .10000E-03   10000.    
    13 'Prefactor '    .10028E-03   1.0000         .10000E-03   10000.    
    14 'Prefactor '    .18122E-03   1.0000         .10000E-03   10000.    
    15 'Prefactor '    7.7212       1.0000         .10000E-03   10000.    
    16 'norm      '    1.3727       1.0000         .10000E-03   10000.    
    17 'norm      '    .10000E-03   1.0000         .10000E-03   10000.    
    18 'Prefactor '    63.159       1.0000         .10000E-03   10000.    
    19 'Prefactor '    .10000E-03   1.0000         .10000E-03   10000.    
    20 'Normalizat'    1.2065       1.0000         .10000E-01   10.000    
    21 'Prefactor '    .86251       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=   6416.410     FROM MIGRAD    STATUS=CONVERGED    449 CALLS     2216 TOTAL
                     EDM=   .99E-09  STRATEGY=1  ERROR MATRIX UNCERTAINTY=   .3%

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor     .10000E-03    3.4117        .36290E-07** at limit **
   2  Prefactor     .10000E-03    30.751        .13761E-05** at limit **
   3  Prefactor     36.594        29.438       -.18491E-05   -.70995E-05
   4  Prefactor     .10000E-03    6.3944       -.15097E-06** at limit **
   5  norm          7.2319        3.0870        .49221E-07    .77896E-04
   6  Prefactor     .10000E-03    13.548        .23006E-05** at limit **
   7  norm          .71552        2.4452       -.15383E-05   -.14750E-02
   8  norm          10.514        5.2227       -.32127E-05   -.23136E-04
   9  Prefactor     .10000E-03    15.416        .43067E-05** at limit **
  10  Prefactor     .10000E-03    9.7652       -.42280E-05** at limit **
  11  Prefactor     34.795        28.854       -.34591E-06    .15323E-05
  12  Prefactor     .10000E-03    4.3415       -.14286E-06** at limit **
  13  Prefactor     .10000E-03    16.279       -.39564E-06** at limit **
  14  Prefactor     .10000E-03    137.52       -.23261E-05** at limit **
  15  Prefactor     7.7215        8.9423       -.67063E-07   -.60659E-04
  16  norm          1.3726        .32999       -.11243E-07    .38074E-03
  17  norm          .10000E-03    17.109       -.63354E-05** at limit **
  18  Prefactor     63.143        45.405       -.10975E-04    .91437E-05
  19  Prefactor     .10000E-03    8.9589        .31140E-05** at limit **
  20  Normalizat    1.2065        .19047        .13263E-05   -.29674E-05
  21  Prefactor     .86239        .14568        .14592E-05    .95029E-05
                               ERR DEF=  .500    
Final values: 
  Prefactor  = 0.0001
  Prefactor  = 0.000100001
  Prefactor  = 36.5942
  Prefactor  = 0.0001
  norm       = 7.23193
  Prefactor  = 0.0001
  norm       = 0.715518
  norm       = 10.5139
  Prefactor  = 0.0001
  Prefactor  = 0.0001
  Prefactor  = 34.7955
  Prefactor  = 0.0001
  Prefactor  = 0.0001
  Prefactor  = 0.0001
  Prefactor  = 7.72151
  norm       = 1.37261
  norm       = 0.0001
  Prefactor  = 63.143
  Prefactor  = 0.0001
  Normalizat = 1.20646
  Prefactor  = 0.862389
 **********
 **   18 **HESSE 
 **********

 FCN=   6416.410     FROM HESSE     STATUS=OK           315 CALLS     2531 TOTAL
                     EDM=   .20E-08    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  Prefactor     .10000E-03    3.4129        .14450E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   2  Prefactor     .10000E-03    31.936        .36285E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   3  Prefactor     36.594        29.459        .66245E-04   -1.4497    
   4  Prefactor     .10000E-03    6.4779        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   5  norm          7.2319        3.0870        .88924E-04   -1.5170    
   6  Prefactor     .10000E-03    14.052        .36285E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   7  norm          .71552        2.5097        .22651E-03   -1.5539    
   8  norm          10.514        5.1863        .12357E-03   -1.5059    
   9  Prefactor     .10000E-03    15.407        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  10  Prefactor     .10000E-03    9.7639        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  11  Prefactor     34.795        28.868        .67937E-04   -1.4528    
  12  Prefactor     .10000E-03    4.3473        .16300E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  13  Prefactor     .10000E-03    16.378        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  14  Prefactor     .10000E-03    140.09        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  15  Prefactor     7.7215        8.9411        .14431E-03   -1.5152    
  16  norm          1.3726        .33035        .21727E-04   -1.5474    
  17  norm          .10000E-03    17.072        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  18  Prefactor     63.143        45.172        .50493E-04   -1.4117    
  19  Prefactor     .10000E-03    9.0475        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  20  Normalizat    1.2065        .22715        .25834E-03   -.86404    
  21  Prefactor     .86239        .17382        .22764E-03   -.97468    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 1.95573e-09
Minuit parameter uncertainties:
  1  1.83322e-06
  2  0.000296084
  3  29.4704
  4  1.39494e-05
  5  3.08708
  6  7.79343e-05
  7  2.5101
  8  5.18652
  9  7.06122e-06
  10  8.33006e-07
  11  28.8791
  12  2.32968e-06
  13  5.5022e-06
  14  0.000218106
  15  8.9426
  16  0.330352
  17  6.55003e-07
  18  45.1963
  19  1.92917e-05
  20  0.227334
  21  0.173934
Done.

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

Extracting fit parameters...

4FGL J1434.7+1950
   Spectrum: LogParabola
234         norm:  7.155e-01  2.510e+00  1.000e-04  1.000e+04 ( 1.000e-12)
235        alpha:  2.270e+00  0.000e+00  0.000e+00  5.000e+00 ( 1.000e+00) fixed
236         beta:  1.371e-01  0.000e+00  0.000e+00  1.000e+01 ( 1.000e+00) fixed
237           Eb:  1.056e+03  0.000e+00  3.000e+01  5.000e+05 ( 1.000e+00) fixed

GAL_V02
   Spectrum: PowerLaw
503    Prefactor:  8.624e-01  1.739e-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.206e+00  2.273e-01  1.000e-02  1.000e+01 ( 1.000e+00)


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

Saving results to:
/scratch/kocevski/614480/likelihoodResults_519264001_519523201_4FGL_J1434.7+1950_daily_bin1080.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) = 6416.40889079
delta logL = 0.00141469787468

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

MINUIT Return Code (Free Index): 0
logL (Free Index) = 6416.4088151
delta logL = 0.00149039282405

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'norm      '    .68836       1.0000         .10000E-03   10000.    
     2 'alpha     '    2.3693       1.0000          .0000       5.0000    
     3 'Normalizat'    1.2056       1.0000         .10000E-01   10.000    
     4 'Prefactor '    .86265       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.
 MACHINE ACCURACY LIMITS FURTHER IMPROVEMENT.

 MIGRAD MINIMIZATION HAS CONVERGED.

 MIGRAD WILL VERIFY CONVERGENCE AND ERROR MATRIX.

 FCN=   6416.409     FROM MIGRAD    STATUS=CONVERGED     98 CALLS      272 TOTAL
                     EDM=   .60E-08    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  norm          .69051        2.6666        .21702E-03   -.42852E-04
   2  alpha         2.3720        1.8013        .41673E-01    .95659E-04
   3  Normalizat    1.2055        .22607        .25843E-03   -.59389E-05
   4  Prefactor     .86268        .17280        .22760E-03   -.72428E-05
                               ERR DEF=  .500    
Final values: 
  norm       = 0.690512
  alpha      = 2.37201
  Normalizat = 1.2055
  Prefactor  = 0.862681
 **********
 **   18 **HESSE 
 **********

 FCN=   6416.409     FROM HESSE     STATUS=OK            25 CALLS      297 TOTAL
                     EDM=   .24E-11    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  norm          .69051        2.5044        .86806E-05   -1.5542    
   2  alpha         2.3720        1.7164        .83345E-02   -.51217E-01
   3  Normalizat    1.2055        .22604        .10337E-04   -.86433    
   4  Prefactor     .86268        .17276        .91040E-05   -.97458    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 2.42778e-12
Minuit parameter uncertainties:
  1  2.50477
  2  1.89242
  3  0.226221
  4  0.172874
shell-init: error retrieving current directory: getcwd: cannot access parent directories: No such file or directory
rmdir: failed to remove `/scratch/kocevski/614480': 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) = 6416.40881308
delta logL = 0.00149240734481

Extracting fit parameters...

4FGL J1434.7+1950
   Spectrum: LogParabola
234         norm:  6.905e-01  2.505e+00  1.000e-04  1.000e+04 ( 1.000e-12)
235        alpha:  2.372e+00  1.892e+00  0.000e+00  5.000e+00 ( 1.000e+00)
236         beta:  1.371e-01  0.000e+00  0.000e+00  1.000e+01 ( 1.000e+00) fixed
237           Eb:  1.056e+03  0.000e+00  3.000e+01  5.000e+05 ( 1.000e+00) fixed

GAL_V02
   Spectrum: PowerLaw
503    Prefactor:  8.627e-01  1.729e-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.205e+00  2.262e-01  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Free Index): 0.10
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/614480/cmap_HighResolution_519264001_519523201_4FGL_J1434.7+1950_daily_bin1080.png

Cleaning up...

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

Updating database...

UPDATE lightcurve_data_v2 SET energy_flux_upper_limit='3.38e-05', job_status='DONE', photon_flux_upper_limit='8.13e-08', time_completed='2021-09-10 00:37:58.241895', job_id='614480', GAL2='0.86', fit_tolerance='1e-08', EG2='1.21', EG='1.21', time_epoch_completed='1631259478.24', return_code2='0', ts='0.10', comment='SUCCESS', return_code='0', GAL='0.86', dlogl='1.49e-03', ts2='0.10', photon_index_error='0.00', photon_index='2.27' WHERE bin_id='1080' AND source_name='4FGL J1434.7+1950' AND cadence='daily';

Database successfully updated.


Analysis Complete.


Fri Sep 10 00:37:58 PDT 2021


------------------------------------------------------------
Sender: LSF System <lsf@bullet0207>
Subject: Job 614480: <4FGL_J1434.7+1950_daily_bin1080> in cluster <slac> Done

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

Your job looked like:

------------------------------------------------------------
# LSBATCH: User input
/nfs/farm/g/glast/g/LCRepository/Likelihood/Scripts/LikelihoodAnalysis.py 4FGL_J1434.7+1950_daily_bin1080 218.675 19.8478 519264001 519523201 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 :                                   578.21 sec.
    Max Memory :                                 1256 MB
    Average Memory :                             293.57 MB
    Total Requested Memory :                     -
    Delta Memory :                               -
    Max Swap :                                   -
    Max Processes :                              5
    Max Threads :                                21
    Run time :                                   709 sec.
    Turnaround time :                            711 sec.

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

