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


Performing analysis on: 4FGL_J1434.7+1950_daily_bin1090
RA = 218.675, Dec = 19.8478
tmin = 521856001, tmax = 522115201
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='614490', job_status='RUN', time_executed='2021-09-10 00:29:09.204341', time_epoch_executed='1631258949.2' WHERE source_name='4FGL J1434.7+1950' and cadence='daily' and bin_id='1090'

Database successfully updated.
Done.

Creating custom output directory:
/scratch/kocevski/614490

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

Retrieving the FT1 file...

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

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

Retrieving 47 files...
Done.


Merging files...

Checksum keywords updated successfully.

Merged file saved to:
/scratch/kocevski/614490/ft1_4FGL_J1434.7+1950_daily_bin1090.fits


Retrieving the FT1 file...

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

Retrieving 47 files...
Done.


Merging files...

Merged file saved to:
/scratch/kocevski/614490/ft2_4FGL_J1434.7+1950_daily_bin1090.fits


Selecting the photons:
time -p gtselect infile=/scratch/kocevski/614490/ft1_4FGL_J1434.7+1950_daily_bin1090.fits outfile=/scratch/kocevski/614490/ft1_filteredMKT_4FGL_J1434.7+1950_daily_bin1090.fits ra=218.675 dec=19.8478 rad=12.0 tmin=521856001.0 tmax=522115201.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.76
user 3.53
sys 0.21

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

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

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

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

Generating the livetime cube:
time -p gtltcube evfile="/scratch/kocevski/614490/ft1_filtered_4FGL_J1434.7+1950_daily_bin1090.fits" evtable="EVENTS" scfile=/scratch/kocevski/614490/ft2_4FGL_J1434.7+1950_daily_bin1090.fits sctable="SC_DATA" outfile=/scratch/kocevski/614490/ltcube_521856001_522115201_4FGL_J1434.7+1950_daily_bin1090.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/614490/ft2_4FGL_J1434.7+1950_daily_bin1090.fits
.....................!
real 11.79
user 11.41
sys 0.31

Generating the exposure map:
time -p gtexpmap evfile=/scratch/kocevski/614490/ft1_filtered_4FGL_J1434.7+1950_daily_bin1090.fits evtable="EVENTS" scfile=/scratch/kocevski/614490/ft2_4FGL_J1434.7+1950_daily_bin1090.fits sctable="SC_DATA" expcube=/scratch/kocevski/614490/ltcube_521856001_522115201_4FGL_J1434.7+1950_daily_bin1090.fits outfile=/scratch/kocevski/614490/expmap_521856001_522115201_4FGL_J1434.7+1950_daily_bin1090.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/614490/ltcube_521856001_522115201_4FGL_J1434.7+1950_daily_bin1090.fits
.....................!
real 189.84
user 185.42
sys 3.95

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/614490/ft1_filtered_4FGL_J1434.7+1950_daily_bin1090.fits scfile=/scratch/kocevski/614490/ft2_4FGL_J1434.7+1950_daily_bin1090.fits outfile=/scratch/kocevski/614490/cmap_521856001_522115201_4FGL_J1434.7+1950_daily_bin1090.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.56
user 0.37
sys 0.15

Creating the high resolution counts map:
time -p gtbin evfile=/scratch/kocevski/614490/ft1_filtered_4FGL_J1434.7+1950_daily_bin1090.fits scfile=/scratch/kocevski/614490/ft2_4FGL_J1434.7+1950_daily_bin1090.fits outfile=/scratch/kocevski/614490/cmap_HighResolution_521856001_522115201_4FGL_J1434.7+1950_daily_bin1090.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/614490/ft1_filtered_4FGL_J1434.7+1950_daily_bin1090.fits evtable="EVENTS" scfile=/scratch/kocevski/614490/ft2_4FGL_J1434.7+1950_daily_bin1090.fits sctable="SC_DATA" srcmdl=/scratch/kocevski/614490/Model_4FGL_J1434.7+1950_daily_bin1090.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/614490/ft1_filtered_4FGL_J1434.7+1950_daily_bin1090.fits.....................!
real 54.75
user 53.43
sys 1.15

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

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

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

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'Prefactor '    .10027E-03   1.0000         .10000E-03   10000.    
     2 'Prefactor '    24.170       1.0000         .10000E-03   10000.    
     3 'Prefactor '    95.403       1.0000         .10000E-03   10000.    
     4 'Prefactor '    7.5637       1.0000         .10000E-03   10000.    
     5 'norm      '    9.4837       1.0000         .10000E-03   10000.    
     6 'Prefactor '    .10003E-03   1.0000         .10000E-03   10000.    
     7 'norm      '    1.5350       1.0000         .10000E-03   10000.    
     8 'norm      '    10.547       1.0000         .10000E-03   10000.    
     9 'Prefactor '    .10037E-03   1.0000         .10000E-03   10000.    
    10 'Prefactor '    6.7250       1.0000         .10000E-03   10000.    
    11 'Prefactor '    .13068E-03   1.0000         .10000E-03   10000.    
    12 'Prefactor '    .10001E-03   1.0000         .10000E-03   10000.    
    13 'Prefactor '    .10000E-03   1.0000         .10000E-03   10000.    
    14 'Prefactor '    12.355       1.0000         .10000E-03   10000.    
    15 'Prefactor '    14.489       1.0000         .10000E-03   10000.    
    16 'norm      '    2.0981       1.0000         .10000E-03   10000.    
    17 'norm      '    .10021E-03   1.0000         .10000E-03   10000.    
    18 'Prefactor '    .13911E-03   1.0000         .10000E-03   10000.    
    19 'Prefactor '    .14897E-03   1.0000         .10000E-03   10000.    
    20 'Normalizat'    1.3526       1.0000         .10000E-01   10.000    
    21 'Prefactor '    .75567       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=   7254.673     FROM MIGRAD    STATUS=CONVERGED    457 CALLS     2234 TOTAL
                     EDM=   .12E-07    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor     .10000E-03    11.879        .90712E-02** at limit **
   2  Prefactor     24.170        16.703        .20370E-02   -.11349E-03
   3  Prefactor     95.404        42.376        .10287E-02   -.39808E-03
   4  Prefactor     7.5632        6.1896        .36455E-02   -.15206E-02
   5  norm          9.4837        3.4286        .32533E-02   -.47742E-04
   6  Prefactor     .10000E-03    1.6636        .90712E-02** at limit **
   7  norm          1.5352        1.6095        .86082E-02   -.85910E-04
   8  norm          10.545        5.3285        .30843E-02   -.10356E-03
   9  Prefactor     .10000E-03    19.038        .90712E-02** at limit **
  10  Prefactor     6.7265        20.373        .38682E-02    .10081E-03
  11  Prefactor     .10118E-03    15.532        .11995    ** at limit **
  12  Prefactor     .10000E-03    4.0411        .90712E-02** at limit **
  13  Prefactor     .10000E-03    11.295        .90712E-02** at limit **
  14  Prefactor     12.356        21.113        .28491E-02    .94764E-04
  15  Prefactor     14.490        9.0094        .26306E-02    .43550E-04
  16  norm          2.0980        .36548        .46820E-02    .52455E-04
  17  norm          .10000E-03    13.874        .90712E-02** at limit **
  18  Prefactor     .10108E-03    115.99        .90712E-02** at limit **
  19  Prefactor     .10000E-03    8.6034        .90712E-01** at limit **
  20  Normalizat    1.3525        .20605        .62350E-01    .27801E-04
  21  Prefactor     .75574        .14320        .43138E-01    .45012E-04
                               ERR DEF=  .500    
Final values: 
  Prefactor  = 0.0001
  Prefactor  = 24.17
  Prefactor  = 95.4041
  Prefactor  = 7.56323
  norm       = 9.48373
  Prefactor  = 0.0001
  norm       = 1.53517
  norm       = 10.5453
  Prefactor  = 0.0001
  Prefactor  = 6.7265
  Prefactor  = 0.000101184
  Prefactor  = 0.0001
  Prefactor  = 0.0001
  Prefactor  = 12.3564
  Prefactor  = 14.4903
  norm       = 2.09804
  norm       = 0.0001
  Prefactor  = 0.000101084
  Prefactor  = 0.000100001
  Normalizat = 1.35252
  Prefactor  = 0.755737
 **********
 **   18 **HESSE 
 **********

 FCN=   7254.673     FROM HESSE     STATUS=OK           323 CALLS     2557 TOTAL
                     EDM=   .20E-07    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  Prefactor     .10000E-03    12.040        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   2  Prefactor     24.170        16.791        .81479E-04   -1.4724    
   3  Prefactor     95.404        42.398        .41150E-04   -1.3751    
   4  Prefactor     7.5632        6.1863        .14582E-03   -1.5158    
   5  norm          9.4837        3.4290        .91660E-04   -1.5092    
   6  Prefactor     .10000E-03    1.6667        .10727E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   7  norm          1.5352        1.6113        .10744E-03   -1.5460    
   8  norm          10.545        5.3299        .12337E-03   -1.5058    
   9  Prefactor     .10000E-03    19.048        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  10  Prefactor     6.7265        20.353        .15473E-03   -1.5189    
  11  Prefactor     .10118E-03    123.23        .64719E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  12  Prefactor     .10000E-03    4.0437        .16722E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  13  Prefactor     .10000E-03    11.332        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  14  Prefactor     12.356        21.109        .11397E-03   -1.5005    
  15  Prefactor     14.490        9.0092        .10522E-03   -1.4946    
  16  norm          2.0980        .36488        .20685E-04   -1.5418    
  17  norm          .10000E-03    13.875        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  18  Prefactor     .10108E-03    117.53        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  19  Prefactor     .10000E-03    57.652        .48263E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  20  Normalizat    1.3525        .24516        .27577E-03   -.82012    
  21  Prefactor     .75574        .16938        .25210E-03   -1.0138    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 1.95845e-08
Minuit parameter uncertainties:
  1  2.98014e-05
  2  16.7946
  3  42.4118
  4  6.18683
  5  3.42908
  6  1.63298e-08
  7  1.61134
  8  5.33014
  9  1.66869e-05
  10  20.3739
  11  0.0242036
  12  3.91997e-07
  13  1.83532e-05
  14  21.1217
  15  9.01005
  16  0.364883
  17  8.26545e-06
  18  0.02262
  19  0.000540547
  20  0.245374
  21  0.169492
Done.

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

Extracting fit parameters...

4FGL J1434.7+1950
   Spectrum: LogParabola
234         norm:  1.535e+00  1.611e+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:  7.557e-01  1.695e-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.353e+00  2.454e-01  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Fixed Index): 2.75
Ra Dec: 218.675 19.848
Photon Index (Fixed Index): 2.27 +/- 0.00
Photon Flux (Fixed Index): 1.72e-08 +/- 1.80e-08
Energy Flux (Fixed Index): 7.14e-06 +/- 7.49e-06

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

Saving results to:
/scratch/kocevski/614490/likelihoodResults_521856001_522115201_4FGL_J1434.7+1950_daily_bin1090.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) = 7253.57504954
delta logL = 1.09788641393

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

MINUIT Return Code (Free Index): 0
logL (Free Index) = 7253.55527442
delta logL = 1.11766153408

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'norm      '    1.8829       1.0000         .10000E-03   10000.    
     2 'alpha     '    1.1462       1.0000          .0000       5.0000    
     3 'Normalizat'    1.3668       1.0000         .10000E-01   10.000    
     4 'Prefactor '    .74822       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=   7253.555     FROM MIGRAD    STATUS=CONVERGED     51 CALLS      205 TOTAL
                     EDM=   .77E-10    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  norm          1.8833        1.6917        .75837E-02   -.10827E-03
   2  alpha         1.1458        .50024        .49061       -.36376E-04
   3  Normalizat    1.3667        .19976        .62069E-01    .62732E-05
   4  Prefactor     .74825        .14163        .43040E-01    .20838E-04
                               ERR DEF=  .500    
Final values: 
  norm       = 1.88333
  alpha      = 1.14576
  Normalizat = 1.36668
  Prefactor  = 0.74825
 **********
 **   18 **HESSE 
 **********

 FCN=   7253.555     FROM HESSE     STATUS=OK            33 CALLS      238 TOTAL
                     EDM=   .48E-11    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  norm          1.8833        1.8990        .10196E-03   -1.5433    
   2  alpha         1.1458        .60805        .19888E-01   -.57245    
   3  Normalizat    1.3667        .23688        .27452E-03   -.81597    
   4  Prefactor     .74825        .16805        .25308E-03   -1.0167    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 4.75349e-12
Minuit parameter uncertainties:
  1  1.89911
  2  0.616866
  3  0.237071
  4  0.168167
shell-init: error retrieving current directory: getcwd: cannot access parent directories: No such file or directory
rmdir: failed to remove `/scratch/kocevski/614490': 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) = 7253.55527388
delta logL = 1.1176620752

Extracting fit parameters...

4FGL J1434.7+1950
   Spectrum: LogParabola
234         norm:  1.883e+00  1.899e+00  1.000e-04  1.000e+04 ( 1.000e-12)
235        alpha:  1.146e+00  6.169e-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:  7.483e-01  1.682e-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.367e+00  2.371e-01  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Free Index): 5.00
Ra Dec: 218.675 19.848
Photon Index (Free Index): 1.15 +/- 0.62
Photon Flux (Free Index): 8.18e-09 +/- 8.19e-09
Energy Flux (Free Index): 2.94e-05 +/- 3.97e-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/614490/cmap_HighResolution_521856001_522115201_4FGL_J1434.7+1950_daily_bin1090.png

Cleaning up...

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

Updating database...

UPDATE lightcurve_data_v2 SET energy_flux_upper_limit='3.01e-05', comment='SUCCESS', photon_flux='1.72e-08', energy_flux2='2.94e-05', photon_flux_error='1.80e-08', dlogl='1.12e+00', energy_flux='7.14e-06', photon_flux2='8.18e-09', job_status='DONE', time_completed='2021-09-10 00:39:19.309498', photon_index_error2='0.62', photon_index2='1.15', ts='2.75', fit_tolerance='1e-08', GAL='0.76', photon_index_error='0.00', photon_flux_upper_limit='7.25e-08', energy_flux_error2='3.97e-05', EG='1.35', time_epoch_completed='1631259559.31', return_code='0', job_id='614490', GAL2='0.75', EG2='1.37', return_code2='0', energy_flux_error='7.49e-06', photon_flux_error2='8.19e-09', ts2='5.00', photon_index='2.27' WHERE bin_id='1090' AND source_name='4FGL J1434.7+1950' AND cadence='daily';

Database successfully updated.


Analysis Complete.


Fri Sep 10 00:39:19 PDT 2021


------------------------------------------------------------
Sender: LSF System <lsf@bullet0217>
Subject: Job 614490: <4FGL_J1434.7+1950_daily_bin1090> in cluster <slac> Done

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

Your job looked like:

------------------------------------------------------------
# LSBATCH: User input
/nfs/farm/g/glast/g/LCRepository/Likelihood/Scripts/LikelihoodAnalysis.py 4FGL_J1434.7+1950_daily_bin1090 218.675 19.8478 521856001 522115201 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 :                                   605.00 sec.
    Max Memory :                                 1094 MB
    Average Memory :                             235.37 MB
    Total Requested Memory :                     -
    Delta Memory :                               -
    Max Swap :                                   -
    Max Processes :                              5
    Max Threads :                                21
    Run time :                                   789 sec.
    Turnaround time :                            792 sec.

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

