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


Performing analysis on: 4FGL_J1434.7+1950_daily_bin1526
RA = 218.675, Dec = 19.8478
tmin = 634867201, tmax = 635126401
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='615861', job_status='RUN', time_executed='2021-09-10 00:35:07.196479', time_epoch_executed='1631259307.2' WHERE source_name='4FGL J1434.7+1950' and cadence='daily' and bin_id='1526'

Database successfully updated.
Done.

Creating custom output directory:
/scratch/kocevski/615861

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

Retrieving the FT1 file...

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

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

Retrieving 46 files...
Done.


Merging files...

Checksum keywords updated successfully.

Merged file saved to:
/scratch/kocevski/615861/ft1_4FGL_J1434.7+1950_daily_bin1526.fits


Retrieving the FT1 file...

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

Retrieving 46 files...
Done.


Merging files...

Merged file saved to:
/scratch/kocevski/615861/ft2_4FGL_J1434.7+1950_daily_bin1526.fits


Selecting the photons:
time -p gtselect infile=/scratch/kocevski/615861/ft1_4FGL_J1434.7+1950_daily_bin1526.fits outfile=/scratch/kocevski/615861/ft1_filteredMKT_4FGL_J1434.7+1950_daily_bin1526.fits ra=218.675 dec=19.8478 rad=12.0 tmin=634867201.0 tmax=635126401.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.13
user 2.83
sys 0.19

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

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

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

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

Generating the livetime cube:
time -p gtltcube evfile="/scratch/kocevski/615861/ft1_filtered_4FGL_J1434.7+1950_daily_bin1526.fits" evtable="EVENTS" scfile=/scratch/kocevski/615861/ft2_4FGL_J1434.7+1950_daily_bin1526.fits sctable="SC_DATA" outfile=/scratch/kocevski/615861/ltcube_634867201_635126401_4FGL_J1434.7+1950_daily_bin1526.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/615861/ft2_4FGL_J1434.7+1950_daily_bin1526.fits
.....................!
real 12.34
user 11.98
sys 0.30

Generating the exposure map:
time -p gtexpmap evfile=/scratch/kocevski/615861/ft1_filtered_4FGL_J1434.7+1950_daily_bin1526.fits evtable="EVENTS" scfile=/scratch/kocevski/615861/ft2_4FGL_J1434.7+1950_daily_bin1526.fits sctable="SC_DATA" expcube=/scratch/kocevski/615861/ltcube_634867201_635126401_4FGL_J1434.7+1950_daily_bin1526.fits outfile=/scratch/kocevski/615861/expmap_634867201_635126401_4FGL_J1434.7+1950_daily_bin1526.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/615861/ltcube_634867201_635126401_4FGL_J1434.7+1950_daily_bin1526.fits
.....................!
real 189.43
user 184.63
sys 4.28

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/615861/ft1_filtered_4FGL_J1434.7+1950_daily_bin1526.fits scfile=/scratch/kocevski/615861/ft2_4FGL_J1434.7+1950_daily_bin1526.fits outfile=/scratch/kocevski/615861/cmap_634867201_635126401_4FGL_J1434.7+1950_daily_bin1526.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.37
sys 0.15

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

Computing the diffuse response:
time -p gtdiffrsp evfile=/scratch/kocevski/615861/ft1_filtered_4FGL_J1434.7+1950_daily_bin1526.fits evtable="EVENTS" scfile=/scratch/kocevski/615861/ft2_4FGL_J1434.7+1950_daily_bin1526.fits sctable="SC_DATA" srcmdl=/scratch/kocevski/615861/Model_4FGL_J1434.7+1950_daily_bin1526.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/615861/ft1_filtered_4FGL_J1434.7+1950_daily_bin1526.fits....................!
real 58.58
user 57.16
sys 1.07

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

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

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

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'Prefactor '    .10015E-03   1.0000         .10000E-03   10000.    
     2 'Prefactor '    .10058E-03   1.0000         .10000E-03   10000.    
     3 'Prefactor '    23.870       1.0000         .10000E-03   10000.    
     4 'Prefactor '    .10002E-03   1.0000         .10000E-03   10000.    
     5 'norm      '    4.4761       1.0000         .10000E-03   10000.    
     6 'Prefactor '    .10000E-03   1.0000         .10000E-03   10000.    
     7 'norm      '    5.8107       1.0000         .10000E-03   10000.    
     8 'norm      '    6.1608       1.0000         .10000E-03   10000.    
     9 'Prefactor '    .14528E-03   1.0000         .10000E-03   10000.    
    10 'Prefactor '    .10005E-03   1.0000         .10000E-03   10000.    
    11 'Prefactor '    14.493       1.0000         .10000E-03   10000.    
    12 'Prefactor '    .10058E-03   1.0000         .10000E-03   10000.    
    13 'Prefactor '    31.283       1.0000         .10000E-03   10000.    
    14 'Prefactor '    .28270E-03   1.0000         .10000E-03   10000.    
    15 'Prefactor '    .10001E-03   1.0000         .10000E-03   10000.    
    16 'norm      '    .76490       1.0000         .10000E-03   10000.    
    17 'norm      '    .10042E-03   1.0000         .10000E-03   10000.    
    18 'Prefactor '    8.8484       1.0000         .10000E-03   10000.    
    19 'Prefactor '    .10010E-03   1.0000         .10000E-03   10000.    
    20 'Normalizat'    1.5165       1.0000         .10000E-01   10.000    
    21 'Prefactor '    .69760       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=   7920.803     FROM MIGRAD    STATUS=CONVERGED    437 CALLS     2223 TOTAL
                     EDM=   .12E-08  STRATEGY=1  ERROR MATRIX UNCERTAINTY=  1.5%

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor     .10000E-03    7.5649        .28668E-05** at limit **
   2  Prefactor     .10000E-03    4.6856        .54984E-07** at limit **
   3  Prefactor     23.870        29.911       -.81577E-06    .39188E-04
   4  Prefactor     .10000E-03    5.4439       -.27201E-06** at limit **
   5  norm          4.4763        2.2883       -.14517E-06    .53752E-04
   6  Prefactor     .10000E-03    1.4249       -.36683E-08** at limit **
   7  norm          5.8109        2.6827        .16851E-07    .17215E-03
   8  norm          6.1595        4.2741       -.11276E-05   -.46537E-03
   9  Prefactor     .10000E-03    59.706        .10706E-04** at limit **
  10  Prefactor     .10000E-03    6.9752       -.13873E-05** at limit **
  11  Prefactor     14.514        17.015       -.10182E-05    .45887E-05
  12  Prefactor     .10000E-03    8.8716        .18612E-06** at limit **
  13  Prefactor     31.242        25.754       -.26646E-04   -.27577E-03
  14  Prefactor     .10032E-03    329.36       -.14469E-03** at limit **
  15  Prefactor     .10000E-03    2.5276       -.15218E-07** at limit **
  16  norm          .76487        .23274        .54636E-07    .39402E-02
  17  norm          .10000E-03    15.533       -.62201E-06** at limit **
  18  Prefactor     8.8486        32.232        .17068E-07    .43159E-04
  19  Prefactor     .10000E-03    2.3056       -.16686E-07** at limit **
  20  Normalizat    1.5166        .17808        .23377E-05    .61707E-03
  21  Prefactor     .69750        .12979        .26813E-05    .80694E-03
                               ERR DEF=  .500    
Final values: 
  Prefactor  = 0.0001
  Prefactor  = 0.0001
  Prefactor  = 23.8698
  Prefactor  = 0.0001
  norm       = 4.47632
  Prefactor  = 0.0001
  norm       = 5.81092
  norm       = 6.15947
  Prefactor  = 0.000100001
  Prefactor  = 0.0001
  Prefactor  = 14.5137
  Prefactor  = 0.000100003
  Prefactor  = 31.2418
  Prefactor  = 0.000100324
  Prefactor  = 0.0001
  norm       = 0.764868
  norm       = 0.0001
  Prefactor  = 8.84856
  Prefactor  = 0.0001
  Normalizat = 1.51661
  Prefactor  = 0.697504
 **********
 **   18 **HESSE 
 **********

 FCN=   7920.803     FROM HESSE     STATUS=OK           305 CALLS     2528 TOTAL
                     EDM=   .25E-08    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  Prefactor     .10000E-03    7.5837        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   2  Prefactor     .10000E-03    4.7062        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   3  Prefactor     23.870        29.960        .81988E-04   -1.4730    
   4  Prefactor     .10000E-03    5.6620        .36285E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   5  norm          4.4763        2.2887        .93386E-04   -1.5285    
   6  Prefactor     .10000E-03    1.4286        .10373E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   7  norm          5.8109        2.6826        .95521E-04   -1.5226    
   8  norm          6.1595        4.2777        .14749E-03   -1.5212    
   9  Prefactor     .10000E-03    60.186        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  10  Prefactor     .10000E-03    6.9773        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  11  Prefactor     14.514        17.014        .10521E-03   -1.4946    
  12  Prefactor     .10000E-03    8.9040        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  13  Prefactor     31.242        25.396        .71638E-04   -1.4589    
  14  Prefactor     .10032E-03    314.43        .42829E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  15  Prefactor     .10000E-03    2.5340        .13817E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  16  norm          .76487        .23242        .22828E-04   -1.5533    
  17  norm          .10000E-03    15.537        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  18  Prefactor     8.8486        32.237        .13475E-03   -1.5113    
  19  Prefactor     .10000E-03    2.3091        .13197E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  20  Normalizat    1.5166        .21101        .24039E-03   -.77313    
  21  Prefactor     .69750        .15316        .24694E-03   -1.0362    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 2.4803e-09
Minuit parameter uncertainties:
  1  5.55697e-05
  2  1.88621e-05
  3  29.9788
  4  2.56559e-05
  5  2.28874
  6  1.54499e-06
  7  2.68266
  8  4.27788
  9  0.00049087
  10  7.50936e-05
  11  17.0194
  12  0.000313627
  13  25.405
  14  0.0202918
  15  3.15326e-06
  16  0.232423
  17  1.91546e-05
  18  32.3009
  19  4.49873e-06
  20  0.211136
  21  0.153257
Done.

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

Extracting fit parameters...

4FGL J1434.7+1950
   Spectrum: LogParabola
234         norm:  5.811e+00  2.683e+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:  6.975e-01  1.533e-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.517e+00  2.111e-01  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Fixed Index): 14.16
Ra Dec: 218.675 19.848
Photon Index (Fixed Index): 2.27 +/- 0.00
Photon Flux (Fixed Index): 6.50e-08 +/- 3.00e-08
Energy Flux (Fixed Index): 2.70e-05 +/- 1.25e-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) = 7919.9912393
delta logL = 0.81204336705

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

MINUIT Return Code (Free Index): 0
logL (Free Index) = 7919.97689226
delta logL = 0.826390414079

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'norm      '    6.0512       1.0000         .10000E-03   10000.    
     2 'alpha     '    1.6082       1.0000          .0000       5.0000    
     3 'Normalizat'    1.5458       1.0000         .10000E-01   10.000    
     4 'Prefactor '    .69101       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=   7919.977     FROM MIGRAD    STATUS=CONVERGED     52 CALLS      204 TOTAL
                     EDM=   .32E-09    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  norm          6.0498        3.6260        .40805E-02    .22021E-03
   2  alpha         1.6070        .47505        .39837       -.52440E-04
   3  Normalizat    1.5456        .17709        .53986E-01    .12895E-03
   4  Prefactor     .69119        .12882        .42281E-01   -.10995E-03
                               ERR DEF=  .500    
Final values: 
  norm       = 6.04982
  alpha      = 1.607
  Normalizat = 1.54559
  Prefactor  = 0.691188
 **********
 **   18 **HESSE 
 **********

 FCN=   7919.977     FROM HESSE     STATUS=OK            31 CALLS      235 TOTAL
                     EDM=   .28E-09    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  norm          6.0498        3.4065        .10942E-03   -1.5216    
   2  alpha         1.6070        .51769        .15005E-01   -.36527    
   3  Normalizat    1.5456        .20850        .23869E-03   -.76505    
   4  Prefactor     .69119        .15243        .24817E-03   -1.0387    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 2.79202e-10
Minuit parameter uncertainties:
  1  3.40665
  2  0.522032
  3  0.208614
  4  0.152517
shell-init: error retrieving current directory: getcwd: cannot access parent directories: No such file or directory
rmdir: failed to remove `/scratch/kocevski/615861': 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) = 7919.97688879
delta logL = 0.826393876472

Extracting fit parameters...

4FGL J1434.7+1950
   Spectrum: LogParabola
234         norm:  6.050e+00  3.407e+00  1.000e-04  1.000e+04 ( 1.000e-12)
235        alpha:  1.607e+00  5.220e-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:  6.912e-01  1.525e-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.546e+00  2.086e-01  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Free Index): 15.83
Ra Dec: 218.675 19.848
Photon Index (Free Index): 1.61 +/- 0.52
Photon Flux (Free Index): 3.17e-08 +/- 2.60e-08
Energy Flux (Free Index): 3.96e-05 +/- 2.74e-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/615861/cmap_HighResolution_634867201_635126401_4FGL_J1434.7+1950_daily_bin1526.png

Cleaning up...

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

Updating database...

UPDATE lightcurve_data_v2 SET comment='SUCCESS', photon_flux='6.50e-08', energy_flux2='3.96e-05', photon_flux_error='3.00e-08', dlogl='8.26e-01', energy_flux='2.70e-05', photon_flux2='3.17e-08', job_status='DONE', time_completed='2021-09-10 00:44:53.295145', photon_index_error2='0.52', photon_index2='1.61', ts='14.16', fit_tolerance='1e-08', GAL='0.70', photon_index_error='0.00', energy_flux_error2='2.74e-05', EG='1.52', time_epoch_completed='1631259893.3', return_code='0', job_id='615861', GAL2='0.69', EG2='1.55', return_code2='0', energy_flux_error='1.25e-05', photon_flux_error2='2.60e-08', ts2='15.83', photon_index='2.27' WHERE bin_id='1526' AND source_name='4FGL J1434.7+1950' AND cadence='daily';

Database successfully updated.


Analysis Complete.


Fri Sep 10 00:44:53 PDT 2021


------------------------------------------------------------
Sender: LSF System <lsf@bullet0245>
Subject: Job 615861: <4FGL_J1434.7+1950_daily_bin1526> in cluster <slac> Done

Job <4FGL_J1434.7+1950_daily_bin1526> was submitted from host <rhel6-64f> by user <kocevski> in cluster <slac> at Fri Sep 10 00:31:13 2021
Job was executed on host(s) <bullet0245>, in queue <medium>, as user <kocevski> in cluster <slac> at Fri Sep 10 00:31:15 2021
</u/ki/kocevski> was used as the home directory.
</u/ki/kocevski> was used as the working directory.
Started at Fri Sep 10 00:31:15 2021
Terminated at Fri Sep 10 00:44:54 2021
Results reported at Fri Sep 10 00:44:54 2021

Your job looked like:

------------------------------------------------------------
# LSBATCH: User input
/nfs/farm/g/glast/g/LCRepository/Likelihood/Scripts/LikelihoodAnalysis.py 4FGL_J1434.7+1950_daily_bin1526 218.675 19.8478 634867201 635126401 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 :                                   579.41 sec.
    Max Memory :                                 1094 MB
    Average Memory :                             241.92 MB
    Total Requested Memory :                     -
    Delta Memory :                               -
    Max Swap :                                   -
    Max Processes :                              5
    Max Threads :                                21
    Run time :                                   818 sec.
    Turnaround time :                            821 sec.

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

