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


Performing analysis on: 4FGL_J1434.7+1950_daily_bin704
RA = 218.675, Dec = 19.8478
tmin = 421804801, tmax = 422064001
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='612914', job_status='RUN', time_executed='2021-09-10 00:21:26.935053', time_epoch_executed='1631258486.94' WHERE source_name='4FGL J1434.7+1950' and cadence='daily' and bin_id='704'

Database successfully updated.
Done.

Creating custom output directory:
/scratch/kocevski/612914

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

Retrieving the FT1 file...

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

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

Retrieving 47 files...
Done.


Merging files...

Checksum keywords updated successfully.

Merged file saved to:
/scratch/kocevski/612914/ft1_4FGL_J1434.7+1950_daily_bin704.fits


Retrieving the FT1 file...

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

Retrieving 47 files...
Done.


Merging files...

Merged file saved to:
/scratch/kocevski/612914/ft2_4FGL_J1434.7+1950_daily_bin704.fits


Selecting the photons:
time -p gtselect infile=/scratch/kocevski/612914/ft1_4FGL_J1434.7+1950_daily_bin704.fits outfile=/scratch/kocevski/612914/ft1_filteredMKT_4FGL_J1434.7+1950_daily_bin704.fits ra=218.675 dec=19.8478 rad=12.0 tmin=421804801.0 tmax=422064001.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.54
user 3.32
sys 0.19

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

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

Generating the livetime cube:
time -p gtltcube evfile="/scratch/kocevski/612914/ft1_filtered_4FGL_J1434.7+1950_daily_bin704.fits" evtable="EVENTS" scfile=/scratch/kocevski/612914/ft2_4FGL_J1434.7+1950_daily_bin704.fits sctable="SC_DATA" outfile=/scratch/kocevski/612914/ltcube_421804801_422064001_4FGL_J1434.7+1950_daily_bin704.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/612914/ft2_4FGL_J1434.7+1950_daily_bin704.fits
.....................!
real 11.82
user 11.46
sys 0.31

Generating the exposure map:
time -p gtexpmap evfile=/scratch/kocevski/612914/ft1_filtered_4FGL_J1434.7+1950_daily_bin704.fits evtable="EVENTS" scfile=/scratch/kocevski/612914/ft2_4FGL_J1434.7+1950_daily_bin704.fits sctable="SC_DATA" expcube=/scratch/kocevski/612914/ltcube_421804801_422064001_4FGL_J1434.7+1950_daily_bin704.fits outfile=/scratch/kocevski/612914/expmap_421804801_422064001_4FGL_J1434.7+1950_daily_bin704.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/612914/ltcube_421804801_422064001_4FGL_J1434.7+1950_daily_bin704.fits
.....................!
real 190.02
user 185.72
sys 3.94

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/612914/ft1_filtered_4FGL_J1434.7+1950_daily_bin704.fits scfile=/scratch/kocevski/612914/ft2_4FGL_J1434.7+1950_daily_bin704.fits outfile=/scratch/kocevski/612914/cmap_421804801_422064001_4FGL_J1434.7+1950_daily_bin704.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/612914/ft1_filtered_4FGL_J1434.7+1950_daily_bin704.fits scfile=/scratch/kocevski/612914/ft2_4FGL_J1434.7+1950_daily_bin704.fits outfile=/scratch/kocevski/612914/cmap_HighResolution_421804801_422064001_4FGL_J1434.7+1950_daily_bin704.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/612914/ft1_filtered_4FGL_J1434.7+1950_daily_bin704.fits evtable="EVENTS" scfile=/scratch/kocevski/612914/ft2_4FGL_J1434.7+1950_daily_bin704.fits sctable="SC_DATA" srcmdl=/scratch/kocevski/612914/Model_4FGL_J1434.7+1950_daily_bin704.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/612914/ft1_filtered_4FGL_J1434.7+1950_daily_bin704.fits.....................!
real 48.84
user 47.52
sys 1.18

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

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

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

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'Prefactor '    16.824       1.0000         .10000E-03   10000.    
     2 'Prefactor '    .10109E-03   1.0000         .10000E-03   10000.    
     3 'Prefactor '    52.322       1.0000         .10000E-03   10000.    
     4 'Prefactor '    .10096E-03   1.0000         .10000E-03   10000.    
     5 'norm      '    5.3716       1.0000         .10000E-03   10000.    
     6 'Prefactor '    3.4525       1.0000         .10000E-03   10000.    
     7 'norm      '    4.4622       1.0000         .10000E-03   10000.    
     8 'norm      '    2.9562       1.0000         .10000E-03   10000.    
     9 'Prefactor '    60.486       1.0000         .10000E-03   10000.    
    10 'Prefactor '    .10014E-03   1.0000         .10000E-03   10000.    
    11 'Prefactor '    .10290E-03   1.0000         .10000E-03   10000.    
    12 'Prefactor '    .10024E-03   1.0000         .10000E-03   10000.    
    13 'Prefactor '    36.475       1.0000         .10000E-03   10000.    
    14 'Prefactor '    .10019E-03   1.0000         .10000E-03   10000.    
    15 'Prefactor '    5.5775       1.0000         .10000E-03   10000.    
    16 'norm      '    .50894       1.0000         .10000E-03   10000.    
    17 'norm      '    .10005E-03   1.0000         .10000E-03   10000.    
    18 'Prefactor '    44.608       1.0000         .10000E-03   10000.    
    19 'Prefactor '    .10001E-03   1.0000         .10000E-03   10000.    
    20 'Normalizat'    1.1943       1.0000         .10000E-01   10.000    
    21 'Prefactor '    .69852       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=   6276.653     FROM MIGRAD    STATUS=CONVERGED    455 CALLS     2188 TOTAL
                     EDM=   .79E-09  STRATEGY=1  ERROR MATRIX UNCERTAINTY=   .7%

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor     16.825        11.561        .19866E-06    .19407E-04
   2  Prefactor     .10000E-03    11.930        .10602E-05** at limit **
   3  Prefactor     52.323        33.705        .25092E-06    .19671E-04
   4  Prefactor     .10000E-03    4.0240       -.11076E-06** at limit **
   5  norm          5.3716        2.7274       -.54993E-08   -.14766E-06
   6  Prefactor     3.4526        2.6844        .75048E-06   -.27010E-02
   7  norm          4.4622        3.3462       -.13505E-06   -.11222E-03
   8  norm          2.9566        3.8093       -.17633E-08   -.54711E-04
   9  Prefactor     60.484        48.884       -.12593E-05   -.23789E-04
  10  Prefactor     .10000E-03    10.365        .21693E-05** at limit **
  11  Prefactor     .10000E-03    86.010        .28015E-06** at limit **
  12  Prefactor     .10000E-03    10.485       -.33690E-05** at limit **
  13  Prefactor     36.484        31.466        .38276E-05    .12605E-03
  14  Prefactor     .10000E-03    16.585       -.33702E-06** at limit **
  15  Prefactor     5.5771        6.0419        .17987E-06    .83029E-05
  16  norm          .50879        .22908       -.16585E-07   -.63950E-04
  17  norm          .10000E-03    51.305        .22824E-06** at limit **
  18  Prefactor     44.594        52.641       -.10122E-04   -.12293E-03
  19  Prefactor     .10000E-03    5.7391        .30133E-07** at limit **
  20  Normalizat    1.1942        .19369        .10914E-06   -.15260E-04
  21  Prefactor     .69856        .13837        .13347E-06   -.84967E-06
                               ERR DEF=  .500    
Final values: 
  Prefactor  = 16.8251
  Prefactor  = 0.0001
  Prefactor  = 52.323
  Prefactor  = 0.0001
  norm       = 5.37162
  Prefactor  = 3.4526
  norm       = 4.46216
  norm       = 2.95659
  Prefactor  = 60.4839
  Prefactor  = 0.0001
  Prefactor  = 0.0001
  Prefactor  = 0.0001
  Prefactor  = 36.4841
  Prefactor  = 0.0001
  Prefactor  = 5.57707
  norm       = 0.508791
  norm       = 0.0001
  Prefactor  = 44.5944
  Prefactor  = 0.0001
  Normalizat = 1.19423
  Prefactor  = 0.698561
 **********
 **   18 **HESSE 
 **********

 FCN=   6276.653     FROM HESSE     STATUS=OK           315 CALLS     2503 TOTAL
                     EDM=   .59E-08    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  Prefactor     16.825        11.565        .97646E-04   -1.4887    
   2  Prefactor     .10000E-03    12.043        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   3  Prefactor     52.323        33.798        .55447E-04   -1.4260    
   4  Prefactor     .10000E-03    4.0623        .15514E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   5  norm          5.3716        2.7278        .90153E-04   -1.5244    
   6  Prefactor     3.4526        5.2343        .10641E-02   -1.5336    
   7  norm          4.4622        3.3440        .11899E-03   -1.5285    
   8  norm          2.9566        3.8014        .16940E-03   -1.5364    
   9  Prefactor     60.484        49.126        .51590E-04   -1.4151    
  10  Prefactor     .10000E-03    10.340        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  11  Prefactor     .10000E-03    88.809        .36285E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  12  Prefactor     .10000E-03    10.665        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  13  Prefactor     36.484        31.622        .66359E-04   -1.4499    
  14  Prefactor     .10000E-03    16.598        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  15  Prefactor     5.5771        6.0415        .17011E-03   -1.5236    
  16  norm          .50879        .22731        .24511E-04   -1.5565    
  17  norm          .10000E-03    51.485        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  18  Prefactor     44.594        53.145        .60028E-04   -1.4371    
  19  Prefactor     .10000E-03    5.7551        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  20  Normalizat    1.1942        .23366        .25178E-03   -.86781    
  21  Prefactor     .69856        .16566        .22910E-03   -1.0358    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 5.93828e-09
Minuit parameter uncertainties:
  1  11.5666
  2  1.16634e-05
  3  33.8107
  4  7.1767e-06
  5  2.72783
  6  5.23499
  7  3.34417
  8  3.8017
  9  49.1585
  10  2.3136e-05
  11  7.77235e-05
  12  0.000122473
  13  31.6368
  14  4.31773e-05
  15  6.04214
  16  0.227309
  17  3.57622e-05
  18  53.2011
  19  4.25762e-06
  20  0.233859
  21  0.165779
Done.

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

Extracting fit parameters...

4FGL J1434.7+1950
   Spectrum: LogParabola
234         norm:  4.462e+00  3.344e+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.986e-01  1.658e-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.194e+00  2.339e-01  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Fixed Index): 2.46
Ra Dec: 218.675 19.848
Photon Index (Fixed Index): 2.27 +/- 0.00
Photon Flux (Fixed Index): 4.99e-08 +/- 3.74e-08
Energy Flux (Fixed Index): 2.07e-05 +/- 1.55e-05

TS (Fixed Index): 2.46
Ra Dec: 218.675 19.848
Photon Flux Upper Limit: 1.26e-07 ph cm-2 s-1
Energy Flux Upper Limit: 5.25e-05 MeV cm-2 s-1

Saving results to:
/scratch/kocevski/612914/likelihoodResults_421804801_422064001_4FGL_J1434.7+1950_daily_bin704.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) = 6276.17999994
delta logL = 0.472749117122

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

MINUIT Return Code (Free Index): 0
logL (Free Index) = 6276.15938472
delta logL = 0.493364339492

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'norm      '    2.6403       1.0000         .10000E-03   10000.    
     2 'alpha     '    2.9115       1.0000          .0000       5.0000    
     3 'Normalizat'    1.1572       1.0000         .10000E-01   10.000    
     4 'Prefactor '    .71516       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=   6276.159     FROM MIGRAD    STATUS=CONVERGED     52 CALLS      238 TOTAL
                     EDM=   .22E-08    STRATEGY= 1      ERR MATRIX NOT POS-DEF

  EXT PARAMETER                APPROXIMATE        STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  norm          2.6416        30.993        .62731E-02    .60021E-03
   2  alpha         2.9116        3.9251        .27446        .74599E-04
   3  Normalizat    1.1571        .70519E-01    .57676E-01   -.20543E-04
   4  Prefactor     .71529        .45751E-01    .42603E-01   -.29141E-04
                               ERR DEF=  .500    
Final values: 
  norm       = 2.64157
  alpha      = 2.91163
  Normalizat = 1.15708
  Prefactor  = 0.715289
 **********
 **   18 **HESSE 
 **********

 FCN=   6276.159     FROM HESSE     STATUS=OK            33 CALLS      271 TOTAL
                     EDM=   .29E-10    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  norm          2.6416        3.3865        .78098E-04   -1.5383    
   2  alpha         2.9116        .79343        .10587E-01    .16541    
   3  Normalizat    1.1571        .23228        .25506E-03   -.87940    
   4  Prefactor     .71529        .16526        .22651E-03   -1.0293    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 2.85089e-11
Minuit parameter uncertainties:
  1  3.38676
  2  0.807803
  3  0.232481
  4  0.165377
shell-init: error retrieving current directory: getcwd: cannot access parent directories: No such file or directory
rmdir: failed to remove `/scratch/kocevski/612914': 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) = 6276.15938343
delta logL = 0.493365628016

Extracting fit parameters...

4FGL J1434.7+1950
   Spectrum: LogParabola
234         norm:  2.642e+00  3.387e+00  1.000e-04  1.000e+04 ( 1.000e-12)
235        alpha:  2.912e+00  8.078e-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.153e-01  1.654e-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.157e+00  2.325e-01  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Free Index): 3.43
Ra Dec: 218.675 19.848
Photon Index (Free Index): 2.91 +/- 0.81
Photon Flux (Free Index): 8.21e-08 +/- 5.75e-08
Energy Flux (Free Index): 1.97e-05 +/- 1.31e-05

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/612914/cmap_HighResolution_421804801_422064001_4FGL_J1434.7+1950_daily_bin704.png

Cleaning up...

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

Updating database...

UPDATE lightcurve_data_v2 SET energy_flux_upper_limit='5.25e-05', comment='SUCCESS', photon_flux='4.99e-08', energy_flux2='1.97e-05', photon_flux_error='3.74e-08', dlogl='4.93e-01', energy_flux='2.07e-05', photon_flux2='8.21e-08', job_status='DONE', time_completed='2021-09-10 00:30:37.999761', photon_index_error2='0.81', photon_index2='2.91', ts='2.46', fit_tolerance='1e-08', GAL='0.70', photon_index_error='0.00', photon_flux_upper_limit='1.26e-07', energy_flux_error2='1.31e-05', EG='1.19', time_epoch_completed='1631259038.0', return_code='0', job_id='612914', GAL2='0.72', EG2='1.16', return_code2='0', energy_flux_error='1.55e-05', photon_flux_error2='5.75e-08', ts2='3.43', photon_index='2.27' WHERE bin_id='704' AND source_name='4FGL J1434.7+1950' AND cadence='daily';

Database successfully updated.


Analysis Complete.


Fri Sep 10 00:30:38 PDT 2021


------------------------------------------------------------
Sender: LSF System <lsf@bullet0228>
Subject: Job 612914: <4FGL_J1434.7+1950_daily_bin704> in cluster <slac> Done

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

Your job looked like:

------------------------------------------------------------
# LSBATCH: User input
/nfs/farm/g/glast/g/LCRepository/Likelihood/Scripts/LikelihoodAnalysis.py 4FGL_J1434.7+1950_daily_bin704 218.675 19.8478 421804801 422064001 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 :                                   549.06 sec.
    Max Memory :                                 1094 MB
    Average Memory :                             340.00 MB
    Total Requested Memory :                     -
    Delta Memory :                               -
    Max Swap :                                   -
    Max Processes :                              5
    Max Threads :                                21
    Run time :                                   560 sec.
    Turnaround time :                            562 sec.

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

