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


Performing analysis on: 4FGL_J1434.7+1950_daily_bin1076
RA = 218.675, Dec = 19.8478
tmin = 518227201, tmax = 518486401
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='614476', job_status='RUN', time_executed='2021-09-10 00:29:07.814589', time_epoch_executed='1631258947.81' WHERE source_name='4FGL J1434.7+1950' and cadence='daily' and bin_id='1076'

Database successfully updated.
Done.

Creating custom output directory:
/scratch/kocevski/614476

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

Retrieving the FT1 file...

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

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

Retrieving 47 files...
Done.


Merging files...

Checksum keywords updated successfully.

Merged file saved to:
/scratch/kocevski/614476/ft1_4FGL_J1434.7+1950_daily_bin1076.fits


Retrieving the FT1 file...

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

Retrieving 47 files...
Done.


Merging files...

Merged file saved to:
/scratch/kocevski/614476/ft2_4FGL_J1434.7+1950_daily_bin1076.fits


Selecting the photons:
time -p gtselect infile=/scratch/kocevski/614476/ft1_4FGL_J1434.7+1950_daily_bin1076.fits outfile=/scratch/kocevski/614476/ft1_filteredMKT_4FGL_J1434.7+1950_daily_bin1076.fits ra=218.675 dec=19.8478 rad=12.0 tmin=518227201.0 tmax=518486401.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.59
user 3.36
sys 0.20

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

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

Generating the livetime cube:
time -p gtltcube evfile="/scratch/kocevski/614476/ft1_filtered_4FGL_J1434.7+1950_daily_bin1076.fits" evtable="EVENTS" scfile=/scratch/kocevski/614476/ft2_4FGL_J1434.7+1950_daily_bin1076.fits sctable="SC_DATA" outfile=/scratch/kocevski/614476/ltcube_518227201_518486401_4FGL_J1434.7+1950_daily_bin1076.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/614476/ft2_4FGL_J1434.7+1950_daily_bin1076.fits
.....................!
real 11.62
user 11.28
sys 0.31

Generating the exposure map:
time -p gtexpmap evfile=/scratch/kocevski/614476/ft1_filtered_4FGL_J1434.7+1950_daily_bin1076.fits evtable="EVENTS" scfile=/scratch/kocevski/614476/ft2_4FGL_J1434.7+1950_daily_bin1076.fits sctable="SC_DATA" expcube=/scratch/kocevski/614476/ltcube_518227201_518486401_4FGL_J1434.7+1950_daily_bin1076.fits outfile=/scratch/kocevski/614476/expmap_518227201_518486401_4FGL_J1434.7+1950_daily_bin1076.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/614476/ltcube_518227201_518486401_4FGL_J1434.7+1950_daily_bin1076.fits
.....................!
real 190.59
user 185.26
sys 4.79

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/614476/ft1_filtered_4FGL_J1434.7+1950_daily_bin1076.fits scfile=/scratch/kocevski/614476/ft2_4FGL_J1434.7+1950_daily_bin1076.fits outfile=/scratch/kocevski/614476/cmap_518227201_518486401_4FGL_J1434.7+1950_daily_bin1076.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/614476/ft1_filtered_4FGL_J1434.7+1950_daily_bin1076.fits scfile=/scratch/kocevski/614476/ft2_4FGL_J1434.7+1950_daily_bin1076.fits outfile=/scratch/kocevski/614476/cmap_HighResolution_518227201_518486401_4FGL_J1434.7+1950_daily_bin1076.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/614476/ft1_filtered_4FGL_J1434.7+1950_daily_bin1076.fits evtable="EVENTS" scfile=/scratch/kocevski/614476/ft2_4FGL_J1434.7+1950_daily_bin1076.fits sctable="SC_DATA" srcmdl=/scratch/kocevski/614476/Model_4FGL_J1434.7+1950_daily_bin1076.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/614476/ft1_filtered_4FGL_J1434.7+1950_daily_bin1076.fits.....................!
real 54.67
user 53.28
sys 1.18

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

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

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

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'Prefactor '    .12495E-03   1.0000         .10000E-03   10000.    
     2 'Prefactor '    .44381E-03   1.0000         .10000E-03   10000.    
     3 'Prefactor '    .79195E-03   1.0000         .10000E-03   10000.    
     4 'Prefactor '    .10558E-03   1.0000         .10000E-03   10000.    
     5 'norm      '    5.0017       1.0000         .10000E-03   10000.    
     6 'Prefactor '    .10075E-03   1.0000         .10000E-03   10000.    
     7 'norm      '    3.1052       1.0000         .10000E-03   10000.    
     8 'norm      '    .10373E-03   1.0000         .10000E-03   10000.    
     9 'Prefactor '    .15329E-03   1.0000         .10000E-03   10000.    
    10 'Prefactor '    .10081E-03   1.0000         .10000E-03   10000.    
    11 'Prefactor '    .24745E-03   1.0000         .10000E-03   10000.    
    12 'Prefactor '    .13943E-02   1.0000         .10000E-03   10000.    
    13 'Prefactor '    .15360E-03   1.0000         .10000E-03   10000.    
    14 'Prefactor '    .19867E-02   1.0000         .10000E-03   10000.    
    15 'Prefactor '    18.100       1.0000         .10000E-03   10000.    
    16 'norm      '    1.0638       1.0000         .10000E-03   10000.    
    17 'norm      '    .11307E-03   1.0000         .10000E-03   10000.    
    18 'Prefactor '    30.225       1.0000         .10000E-03   10000.    
    19 'Prefactor '    .29379E-02   1.0000         .10000E-03   10000.    
    20 'Normalizat'    2.0011       1.0000         .10000E-01   10.000    
    21 'Prefactor '    .45631       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=   6988.557     FROM MIGRAD    STATUS=CONVERGED    453 CALLS     2170 TOTAL
                     EDM=   .25E-09  STRATEGY=1  ERROR MATRIX UNCERTAINTY=   .2%

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor     .10000E-03    8.7875       -.78807E-07** at limit **
   2  Prefactor     .10000E-03    10.587        .46238E-06** at limit **
   3  Prefactor     .10000E-03    21.459        .19155E-05** at limit **
   4  Prefactor     .10000E-03    2.9369        .13286E-06** at limit **
   5  norm          5.0049        2.5437        .10611E-06    .29967E-04
   6  Prefactor     .10000E-03    2.9285        .16931E-06** at limit **
   7  norm          3.1078        2.7199       -.11744E-07   -.44285E-03
   8  norm          .10000E-03    2.2822       -.58944E-06** at limit **
   9  Prefactor     .10000E-03    34.700        .32961E-05** at limit **
  10  Prefactor     .10000E-03    18.363        .52371E-05** at limit **
  11  Prefactor     .10000E-03    10.256        .64472E-06** at limit **
  12  Prefactor     .10000E-03    41.301       -.20712E-05** at limit **
  13  Prefactor     .10000E-03    20.200       -.37151E-05** at limit **
  14  Prefactor     .10000E-03    118.48       -.14080E-04** at limit **
  15  Prefactor     18.015        11.939       -.28084E-05   -.72812E-04
  16  norm          1.0637        .29970       -.15004E-07    .14030E-03
  17  norm          .10000E-03    14.422       -.27484E-05** at limit **
  18  Prefactor     30.258        44.116        .35290E-04   -.24695E-05
  19  Prefactor     .10044E-03    10.778        .13370E-05** at limit **
  20  Normalizat    2.0011        .20461        .11680E-05   -.11688E-03
  21  Prefactor     .45641        .14420       -.28532E-05   -.64168E-05
                               ERR DEF=  .500    
Final values: 
  Prefactor  = 0.0001
  Prefactor  = 0.0001
  Prefactor  = 0.0001
  Prefactor  = 0.0001
  norm       = 5.00491
  Prefactor  = 0.0001
  norm       = 3.10782
  norm       = 0.0001
  Prefactor  = 0.0001
  Prefactor  = 0.0001
  Prefactor  = 0.0001
  Prefactor  = 0.0001
  Prefactor  = 0.0001
  Prefactor  = 0.0001
  Prefactor  = 18.0146
  norm       = 1.06373
  norm       = 0.0001
  Prefactor  = 30.258
  Prefactor  = 0.000100437
  Normalizat = 2.00108
  Prefactor  = 0.456407
 **********
 **   18 **HESSE 
 **********

 FCN=   6988.557     FROM HESSE     STATUS=OK           313 CALLS     2483 TOTAL
                     EDM=   .41E-08    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  Prefactor     .10000E-03    8.8405        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   2  Prefactor     .10000E-03    10.685        .21215E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   3  Prefactor     .10000E-03    21.579        .20908E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   4  Prefactor     .10000E-03    2.9491        .13990E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   5  norm          5.0049        2.5431        .92294E-04   -1.5260    
   6  Prefactor     .10000E-03    2.9467        .13967E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   7  norm          3.1078        2.7109        .12374E-03   -1.5355    
   8  norm          .10000E-03    2.3028        .12329E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   9  Prefactor     .10000E-03    34.765        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  10  Prefactor     .10000E-03    18.469        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  11  Prefactor     .10000E-03    10.267        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  12  Prefactor     .10000E-03    42.582        .41055E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  13  Prefactor     .10000E-03    20.268        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  14  Prefactor     .10000E-03    120.77        .20235E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  15  Prefactor     18.015        11.931        .94142E-04   -1.4859    
  16  norm          1.0637        .29962        .23462E-04   -1.5502    
  17  norm          .10000E-03    14.424        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  18  Prefactor     30.258        44.107        .72878E-04   -1.4607    
  19  Prefactor     .10044E-03    100.22        .52716E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  20  Normalizat    2.0011        .23496        .23432E-03   -.64523    
  21  Prefactor     .45641        .16456        .30921E-03   -1.1402    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 4.12937e-09
Minuit parameter uncertainties:
  1  5.19294e-06
  2  1.07009e-05
  3  1.19431e-05
  4  1.99904e-06
  5  2.54313
  6  1.96546e-06
  7  2.711
  8  5.33147e-06
  9  2.94372e-06
  10  4.25536e-06
  11  4.07869e-06
  12  0.000114979
  13  1.7349e-07
  14  0.000301062
  15  11.9328
  16  0.299618
  17  1.15655e-05
  18  44.1546
  19  0.0132571
  20  0.235096
  21  0.164736
Done.

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

Extracting fit parameters...

4FGL J1434.7+1950
   Spectrum: LogParabola
234         norm:  3.108e+00  2.711e+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:  4.564e-01  1.647e-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:  2.001e+00  2.351e-01  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Fixed Index): 1.89
Ra Dec: 218.675 19.848
Photon Index (Fixed Index): 2.27 +/- 0.00
Photon Flux (Fixed Index): 3.48e-08 +/- 3.03e-08
Energy Flux (Fixed Index): 1.44e-05 +/- 1.26e-05

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

Saving results to:
/scratch/kocevski/614476/likelihoodResults_518227201_518486401_4FGL_J1434.7+1950_daily_bin1076.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) = 6988.51156638
delta logL = 0.0453036670879

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

MINUIT Return Code (Free Index): 0
logL (Free Index) = 6988.4985939
delta logL = 0.0582761542646

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'norm      '    3.5917       1.0000         .10000E-03   10000.    
     2 'alpha     '    2.0207       1.0000          .0000       5.0000    
     3 'Normalizat'    2.0097       1.0000         .10000E-01   10.000    
     4 'Prefactor '    .45191       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=   6988.499     FROM MIGRAD    STATUS=CONVERGED     54 CALLS      205 TOTAL
                     EDM=   .91E-09    STRATEGY= 1      ERR MATRIX NOT POS-DEF

  EXT PARAMETER                APPROXIMATE        STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  norm          3.5933        97.035        .53306E-02    .37228E-03
   2  alpha         2.0206        2.6243        .42150        .16229E-04
   3  Normalizat    2.0098        .10401        .52923E-01   -.88873E-05
   4  Prefactor     .45189        .59398E-01    .70162E-01    .43782E-04
                               ERR DEF=  .500    
Final values: 
  norm       = 3.59331
  alpha      = 2.02061
  Normalizat = 2.00978
  Prefactor  = 0.451891
 **********
 **   18 **HESSE 
 **********

 FCN=   6988.499     FROM HESSE     STATUS=OK            33 CALLS      238 TOTAL
                     EDM=   .36E-09    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  norm          3.5933        3.2338        .13113E-03   -1.5329    
   2  alpha         2.0206        .70184        .17586E-01   -.19295    
   3  Normalizat    2.0098        .23569        .23394E-03   -.64306    
   4  Prefactor     .45189        .16248        .31063E-03   -1.1424    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 3.56777e-10
Minuit parameter uncertainties:
  1  3.234
  2  0.711779
  3  0.235822
  4  0.162644
shell-init: error retrieving current directory: getcwd: cannot access parent directories: No such file or directory
rmdir: failed to remove `/scratch/kocevski/614476': 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) = 6988.49859367
delta logL = 0.0582763775392

Extracting fit parameters...

4FGL J1434.7+1950
   Spectrum: LogParabola
234         norm:  3.593e+00  3.234e+00  1.000e-04  1.000e+04 ( 1.000e-12)
235        alpha:  2.021e+00  7.118e-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:  4.519e-01  1.626e-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:  2.010e+00  2.358e-01  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Free Index): 2.01
Ra Dec: 218.675 19.848
Photon Index (Free Index): 2.02 +/- 0.71
Photon Flux (Free Index): 2.88e-08 +/- 3.02e-08
Energy Flux (Free Index): 1.68e-05 +/- 1.66e-05

Creating a high resolution counts map...
INFO: Auto-setting vmin to -2.500e-04 [aplpy.core]
INFO: Auto-setting vmax to  2.775e-03 [aplpy.core]
Saving /scratch/kocevski/614476/cmap_HighResolution_518227201_518486401_4FGL_J1434.7+1950_daily_bin1076.png

Cleaning up...

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

Updating database...

UPDATE lightcurve_data_v2 SET energy_flux_upper_limit='4.24e-05', comment='SUCCESS', photon_flux='3.48e-08', energy_flux2='1.68e-05', photon_flux_error='3.03e-08', dlogl='5.83e-02', energy_flux='1.44e-05', photon_flux2='2.88e-08', job_status='DONE', time_completed='2021-09-10 00:38:54.933593', photon_index_error2='0.71', photon_index2='2.02', ts='1.89', fit_tolerance='1e-08', GAL='0.46', photon_index_error='0.00', photon_flux_upper_limit='1.02e-07', energy_flux_error2='1.66e-05', EG='2.00', time_epoch_completed='1631259534.93', return_code='0', job_id='614476', GAL2='0.45', EG2='2.01', return_code2='0', energy_flux_error='1.26e-05', photon_flux_error2='3.02e-08', ts2='2.01', photon_index='2.27' WHERE bin_id='1076' AND source_name='4FGL J1434.7+1950' AND cadence='daily';

Database successfully updated.


Analysis Complete.


Fri Sep 10 00:38:54 PDT 2021


------------------------------------------------------------
Sender: LSF System <lsf@bullet0266>
Subject: Job 614476: <4FGL_J1434.7+1950_daily_bin1076> in cluster <slac> Done

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

Your job looked like:

------------------------------------------------------------
# LSBATCH: User input
/nfs/farm/g/glast/g/LCRepository/Likelihood/Scripts/LikelihoodAnalysis.py 4FGL_J1434.7+1950_daily_bin1076 218.675 19.8478 518227201 518486401 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 :                                   583.00 sec.
    Max Memory :                                 1256 MB
    Average Memory :                             258.42 MB
    Total Requested Memory :                     -
    Delta Memory :                               -
    Max Swap :                                   -
    Max Processes :                              5
    Max Threads :                                21
    Run time :                                   767 sec.
    Turnaround time :                            769 sec.

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

