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


Performing analysis on: 4FGL_J1434.7+1950_daily_bin1211
RA = 218.675, Dec = 19.8478
tmin = 553219201, tmax = 553478401
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='614611', job_status='RUN', time_executed='2021-09-10 00:29:10.860838', time_epoch_executed='1631258950.86' WHERE source_name='4FGL J1434.7+1950' and cadence='daily' and bin_id='1211'

Database successfully updated.
Done.

Creating custom output directory:
/scratch/kocevski/614611

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

Retrieving the FT1 file...

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

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

Retrieving 47 files...
Done.


Merging files...

Checksum keywords updated successfully.

Merged file saved to:
/scratch/kocevski/614611/ft1_4FGL_J1434.7+1950_daily_bin1211.fits


Retrieving the FT1 file...

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

Retrieving 47 files...
Done.


Merging files...

Merged file saved to:
/scratch/kocevski/614611/ft2_4FGL_J1434.7+1950_daily_bin1211.fits


Selecting the photons:
time -p gtselect infile=/scratch/kocevski/614611/ft1_4FGL_J1434.7+1950_daily_bin1211.fits outfile=/scratch/kocevski/614611/ft1_filteredMKT_4FGL_J1434.7+1950_daily_bin1211.fits ra=218.675 dec=19.8478 rad=12.0 tmin=553219201.0 tmax=553478401.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 2.77
user 2.57
sys 0.18

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

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

Generating the livetime cube:
time -p gtltcube evfile="/scratch/kocevski/614611/ft1_filtered_4FGL_J1434.7+1950_daily_bin1211.fits" evtable="EVENTS" scfile=/scratch/kocevski/614611/ft2_4FGL_J1434.7+1950_daily_bin1211.fits sctable="SC_DATA" outfile=/scratch/kocevski/614611/ltcube_553219201_553478401_4FGL_J1434.7+1950_daily_bin1211.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/614611/ft2_4FGL_J1434.7+1950_daily_bin1211.fits
.....................!
real 12.02
user 11.60
sys 0.33

Generating the exposure map:
time -p gtexpmap evfile=/scratch/kocevski/614611/ft1_filtered_4FGL_J1434.7+1950_daily_bin1211.fits evtable="EVENTS" scfile=/scratch/kocevski/614611/ft2_4FGL_J1434.7+1950_daily_bin1211.fits sctable="SC_DATA" expcube=/scratch/kocevski/614611/ltcube_553219201_553478401_4FGL_J1434.7+1950_daily_bin1211.fits outfile=/scratch/kocevski/614611/expmap_553219201_553478401_4FGL_J1434.7+1950_daily_bin1211.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/614611/ltcube_553219201_553478401_4FGL_J1434.7+1950_daily_bin1211.fits
.....................!
real 189.77
user 185.52
sys 3.89

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/614611/ft1_filtered_4FGL_J1434.7+1950_daily_bin1211.fits scfile=/scratch/kocevski/614611/ft2_4FGL_J1434.7+1950_daily_bin1211.fits outfile=/scratch/kocevski/614611/cmap_553219201_553478401_4FGL_J1434.7+1950_daily_bin1211.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.38
sys 0.14

Creating the high resolution counts map:
time -p gtbin evfile=/scratch/kocevski/614611/ft1_filtered_4FGL_J1434.7+1950_daily_bin1211.fits scfile=/scratch/kocevski/614611/ft2_4FGL_J1434.7+1950_daily_bin1211.fits outfile=/scratch/kocevski/614611/cmap_HighResolution_553219201_553478401_4FGL_J1434.7+1950_daily_bin1211.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/614611/ft1_filtered_4FGL_J1434.7+1950_daily_bin1211.fits evtable="EVENTS" scfile=/scratch/kocevski/614611/ft2_4FGL_J1434.7+1950_daily_bin1211.fits sctable="SC_DATA" srcmdl=/scratch/kocevski/614611/Model_4FGL_J1434.7+1950_daily_bin1211.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/614611/ft1_filtered_4FGL_J1434.7+1950_daily_bin1211.fits.....................!
real 71.66
user 70.25
sys 1.24

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

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

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

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'Prefactor '    2.0159       1.0000         .10000E-03   10000.    
     2 'Prefactor '    .10246E-03   1.0000         .10000E-03   10000.    
     3 'Prefactor '    .10044E-03   1.0000         .10000E-03   10000.    
     4 'Prefactor '    .10060E-03   1.0000         .10000E-03   10000.    
     5 'norm      '    5.5241       1.0000         .10000E-03   10000.    
     6 'Prefactor '    3.1190       1.0000         .10000E-03   10000.    
     7 'norm      '    15.732       1.0000         .10000E-03   10000.    
     8 'norm      '    2.9863       1.0000         .10000E-03   10000.    
     9 'Prefactor '    52.814       1.0000         .10000E-03   10000.    
    10 'Prefactor '    .17436E-01   1.0000         .10000E-03   10000.    
    11 'Prefactor '    14.423       1.0000         .10000E-03   10000.    
    12 'Prefactor '    .10086E-03   1.0000         .10000E-03   10000.    
    13 'Prefactor '    15.850       1.0000         .10000E-03   10000.    
    14 'Prefactor '    .10845E-03   1.0000         .10000E-03   10000.    
    15 'Prefactor '    .97363       1.0000         .10000E-03   10000.    
    16 'norm      '    .70355       1.0000         .10000E-03   10000.    
    17 'norm      '    .10144E-03   1.0000         .10000E-03   10000.    
    18 'Prefactor '    .10551E-03   1.0000         .10000E-03   10000.    
    19 'Prefactor '    11.846       1.0000         .10000E-03   10000.    
    20 'Normalizat'    1.2339       1.0000         .10000E-01   10.000    
    21 'Prefactor '    .83172       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=   10160.01     FROM MIGRAD    STATUS=CONVERGED    470 CALLS     2242 TOTAL
                     EDM=   .88E-09  STRATEGY=1  ERROR MATRIX UNCERTAINTY=   .8%

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor     2.0182        12.914       -.22156E-05   -.29837E-03
   2  Prefactor     .10000E-03    8.9725        .70295E-06** at limit **
   3  Prefactor     .10000E-03    24.558       -.69801E-05** at limit **
   4  Prefactor     .10000E-03    5.1852        .14291E-05** at limit **
   5  norm          5.5243        2.1795        .33572E-07    .60319E-04
   6  Prefactor     3.1150        5.7178        .76190E-05    .13252E-03
   7  norm          15.730        3.3887       -.38460E-06   -.11566E-04
   8  norm          2.9860        2.6140       -.22881E-06   -.14416E-02
   9  Prefactor     52.803        30.343       -.50928E-05   -.24201E-03
  10  Prefactor     .10017E-03    10.454       -.22766E-05** at limit **
  11  Prefactor     14.423        19.914       -.34929E-06   -.20513E-04
  12  Prefactor     .10000E-03    5.1244       -.23705E-05** at limit **
  13  Prefactor     15.830        15.971        .58683E-06    .18451E-03
  14  Prefactor     .10000E-03    16.819        .44606E-05** at limit **
  15  Prefactor     .97789        3.4863       -.11165E-05    .25517E-04
  16  norm          .70353        .22141        .48594E-08    .36051E-04
  17  norm          .10000E-03    46.142        .91109E-05** at limit **
  18  Prefactor     .10000E-03    11.221       -.17312E-05** at limit **
  19  Prefactor     11.846        7.9696       -.17136E-06   -.40971E-04
  20  Normalizat    1.2339        .15207       -.56132E-06    .26551E-03
  21  Prefactor     .83175        .11314       -.15917E-06    .22951E-03
                               ERR DEF=  .500    
Final values: 
  Prefactor  = 2.01822
  Prefactor  = 0.0001
  Prefactor  = 0.000100001
  Prefactor  = 0.000100001
  norm       = 5.52432
  Prefactor  = 3.11499
  norm       = 15.7295
  norm       = 2.98595
  Prefactor  = 52.8028
  Prefactor  = 0.000100169
  Prefactor  = 14.4229
  Prefactor  = 0.0001
  Prefactor  = 15.8303
  Prefactor  = 0.0001
  Prefactor  = 0.977894
  norm       = 0.70353
  norm       = 0.000100001
  Prefactor  = 0.0001
  Prefactor  = 11.8464
  Normalizat = 1.2339
  Prefactor  = 0.831746
 **********
 **   18 **HESSE 
 **********

 FCN=   10160.01     FROM HESSE     STATUS=OK           321 CALLS     2563 TOTAL
                     EDM=   .35E-08    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  Prefactor     2.0182        13.123        .29153E-03   -1.5424    
   2  Prefactor     .10000E-03    9.1505        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   3  Prefactor     .10000E-03    24.844        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   4  Prefactor     .10000E-03    5.2306        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   5  norm          5.5243        2.1800        .90492E-04   -1.5238    
   6  Prefactor     3.1150        5.4719        .22958E-03   -1.5355    
   7  norm          15.730        3.3827        .82083E-04   -1.4915    
   8  norm          2.9860        2.6252        .74124E-03   -1.5362    
   9  Prefactor     52.803        30.541        .55189E-04   -1.4253    
  10  Prefactor     .10017E-03    80.621        .61414E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  11  Prefactor     14.423        19.914        .10546E-03   -1.4948    
  12  Prefactor     .10000E-03    5.1478        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  13  Prefactor     15.830        15.786        .10060E-03   -1.4912    
  14  Prefactor     .10000E-03    16.856        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  15  Prefactor     .97789        10.097        .33738E-02   -1.5510    
  16  norm          .70353        .22099        .25649E-04   -1.5540    
  17  norm          .10000E-03    46.516        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  18  Prefactor     .10000E-03    11.236        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  19  Prefactor     11.846        7.9687        .11639E-03   -1.5019    
  20  Normalizat    1.2339        .17939        .25725E-03   -.85562    
  21  Prefactor     .83175        .13416        .22954E-03   -.98569    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 3.53433e-09
Minuit parameter uncertainties:
  1  10.2959
  2  1.45933e-05
  3  0.000376372
  4  0.00014062
  5  2.18003
  6  5.47276
  7  3.3827
  8  2.62532
  9  30.5505
  10  0.00738294
  11  19.9234
  12  4.58991e-05
  13  15.7898
  14  0.000146845
  15  6.28563
  16  0.220992
  17  0.000472728
  18  4.00633e-05
  19  7.96941
  20  0.179477
  21  0.134209
Done.

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

Extracting fit parameters...

4FGL J1434.7+1950
   Spectrum: LogParabola
234         norm:  1.573e+01  3.383e+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.317e-01  1.342e-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.234e+00  1.795e-01  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Fixed Index): 73.31
Ra Dec: 218.675 19.848
Photon Index (Fixed Index): 2.27 +/- 0.00
Photon Flux (Fixed Index): 1.76e-07 +/- 3.78e-08
Energy Flux (Fixed Index): 7.31e-05 +/- 1.57e-05

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) = 10159.8616274
delta logL = 0.147977604904

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

MINUIT Return Code (Free Index): 0
logL (Free Index) = 10159.7942293
delta logL = 0.215375680351

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'norm      '    17.155       1.0000         .10000E-03   10000.    
     2 'alpha     '    2.1225       1.0000          .0000       5.0000    
     3 'Normalizat'    1.2525       1.0000         .10000E-01   10.000    
     4 'Prefactor '    .82498       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.

 FCN=   10159.79     FROM MIGRAD    STATUS=CONVERGED    102 CALLS      286 TOTAL
                     EDM=   .39E-11    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  norm          17.155        4.2392        .87812E-04    .16225E-03
   2  alpha         2.1226        .22615        .72840E-02    .21657E-04
   3  Normalizat    1.2525        .17793        .25577E-03    .80896E-05
   4  Prefactor     .82496        .13240        .23049E-03   -.72014E-05
                               ERR DEF=  .500    
Final values: 
  norm       = 17.1553
  alpha      = 2.12259
  Normalizat = 1.25248
  Prefactor  = 0.824957
 **********
 **   18 **HESSE 
 **********

 FCN=   10159.79     FROM HESSE     STATUS=OK            25 CALLS      311 TOTAL
                     EDM=   .27E-11    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  norm          17.155        4.1939        .17562E-04   -1.4879    
   2  alpha         2.1226        .22360        .29136E-03   -.15154    
   3  Normalizat    1.2525        .17802        .10231E-04   -.84996    
   4  Prefactor     .82496        .13251        .92195E-05   -.98815    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 2.69247e-12
Minuit parameter uncertainties:
  1  4.19402
  2  0.223902
  3  0.178109
  4  0.132565
shell-init: error retrieving current directory: getcwd: cannot access parent directories: No such file or directory
rmdir: failed to remove `/scratch/kocevski/614611': 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) = 10159.7942292
delta logL = 0.215375806729

Extracting fit parameters...

4FGL J1434.7+1950
   Spectrum: LogParabola
234         norm:  1.716e+01  4.194e+00  1.000e-04  1.000e+04 ( 1.000e-12)
235        alpha:  2.123e+00  2.239e-01  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.250e-01  1.326e-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.252e+00  1.781e-01  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Free Index): 73.67
Ra Dec: 218.675 19.848
Photon Index (Free Index): 2.12 +/- 0.22
Photon Flux (Free Index): 1.57e-07 +/- 4.49e-08
Energy Flux (Free Index): 7.88e-05 +/- 1.99e-05

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/614611/cmap_HighResolution_553219201_553478401_4FGL_J1434.7+1950_daily_bin1211.png

Cleaning up...

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

Updating database...

UPDATE lightcurve_data_v2 SET comment='SUCCESS', photon_flux='1.76e-07', energy_flux2='7.88e-05', photon_flux_error='3.78e-08', dlogl='2.15e-01', energy_flux='7.31e-05', photon_flux2='1.57e-07', job_status='DONE', time_completed='2021-09-10 00:40:06.446768', photon_index_error2='0.22', photon_index2='2.12', ts='73.31', fit_tolerance='1e-08', GAL='0.83', photon_index_error='0.00', energy_flux_error2='1.99e-05', EG='1.23', time_epoch_completed='1631259606.45', return_code='0', job_id='614611', GAL2='0.82', EG2='1.25', return_code2='0', energy_flux_error='1.57e-05', photon_flux_error2='4.49e-08', ts2='73.67', photon_index='2.27' WHERE bin_id='1211' AND source_name='4FGL J1434.7+1950' AND cadence='daily';

Database successfully updated.


Analysis Complete.


Fri Sep 10 00:40:06 PDT 2021


------------------------------------------------------------
Sender: LSF System <lsf@bullet0206>
Subject: Job 614611: <4FGL_J1434.7+1950_daily_bin1211> in cluster <slac> Done

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

Your job looked like:

------------------------------------------------------------
# LSBATCH: User input
/nfs/farm/g/glast/g/LCRepository/Likelihood/Scripts/LikelihoodAnalysis.py 4FGL_J1434.7+1950_daily_bin1211 218.675 19.8478 553219201 553478401 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 :                                   650.34 sec.
    Max Memory :                                 1094 MB
    Average Memory :                             270.24 MB
    Total Requested Memory :                     -
    Delta Memory :                               -
    Max Swap :                                   -
    Max Processes :                              5
    Max Threads :                                21
    Run time :                                   824 sec.
    Turnaround time :                            826 sec.

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

