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


Performing analysis on: 4FGL_J1434.7+1950_daily_bin1085
RA = 218.675, Dec = 19.8478
tmin = 520560001, tmax = 520819201
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='614485', job_status='RUN', time_executed='2021-09-10 00:28:36.903541', time_epoch_executed='1631258916.9' WHERE source_name='4FGL J1434.7+1950' and cadence='daily' and bin_id='1085'

Database successfully updated.
Done.

Creating custom output directory:
/scratch/kocevski/614485

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

Retrieving the FT1 file...

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

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

Retrieving 46 files...
Done.


Merging files...

Checksum keywords updated successfully.

Merged file saved to:
/scratch/kocevski/614485/ft1_4FGL_J1434.7+1950_daily_bin1085.fits


Retrieving the FT1 file...

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

Retrieving 46 files...
Done.


Merging files...

Merged file saved to:
/scratch/kocevski/614485/ft2_4FGL_J1434.7+1950_daily_bin1085.fits


Selecting the photons:
time -p gtselect infile=/scratch/kocevski/614485/ft1_4FGL_J1434.7+1950_daily_bin1085.fits outfile=/scratch/kocevski/614485/ft1_filteredMKT_4FGL_J1434.7+1950_daily_bin1085.fits ra=218.675 dec=19.8478 rad=12.0 tmin=520560001.0 tmax=520819201.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 5.25
user 4.94
sys 0.22

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

Selecting the good time intervals:
time -p gtmktime scfile=/scratch/kocevski/614485/ft2_4FGL_J1434.7+1950_daily_bin1085.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/614485/ft1_filteredMKT_4FGL_J1434.7+1950_daily_bin1085.fits evtable="EVENTS" outfile="/scratch/kocevski/614485/ft1_filtered_4FGL_J1434.7+1950_daily_bin1085.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/614485/ft1_filtered_4FGL_J1434.7+1950_daily_bin1085.fits" evtable="EVENTS" scfile=/scratch/kocevski/614485/ft2_4FGL_J1434.7+1950_daily_bin1085.fits sctable="SC_DATA" outfile=/scratch/kocevski/614485/ltcube_520560001_520819201_4FGL_J1434.7+1950_daily_bin1085.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/614485/ft2_4FGL_J1434.7+1950_daily_bin1085.fits
.....................!
real 12.37
user 12.01
sys 0.32

Generating the exposure map:
time -p gtexpmap evfile=/scratch/kocevski/614485/ft1_filtered_4FGL_J1434.7+1950_daily_bin1085.fits evtable="EVENTS" scfile=/scratch/kocevski/614485/ft2_4FGL_J1434.7+1950_daily_bin1085.fits sctable="SC_DATA" expcube=/scratch/kocevski/614485/ltcube_520560001_520819201_4FGL_J1434.7+1950_daily_bin1085.fits outfile=/scratch/kocevski/614485/expmap_520560001_520819201_4FGL_J1434.7+1950_daily_bin1085.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/614485/ltcube_520560001_520819201_4FGL_J1434.7+1950_daily_bin1085.fits
.....................!
real 190.39
user 185.63
sys 4.41

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/614485/ft1_filtered_4FGL_J1434.7+1950_daily_bin1085.fits scfile=/scratch/kocevski/614485/ft2_4FGL_J1434.7+1950_daily_bin1085.fits outfile=/scratch/kocevski/614485/cmap_520560001_520819201_4FGL_J1434.7+1950_daily_bin1085.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.54
user 0.37
sys 0.15

Creating the high resolution counts map:
time -p gtbin evfile=/scratch/kocevski/614485/ft1_filtered_4FGL_J1434.7+1950_daily_bin1085.fits scfile=/scratch/kocevski/614485/ft2_4FGL_J1434.7+1950_daily_bin1085.fits outfile=/scratch/kocevski/614485/cmap_HighResolution_520560001_520819201_4FGL_J1434.7+1950_daily_bin1085.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.14

Computing the diffuse response:
time -p gtdiffrsp evfile=/scratch/kocevski/614485/ft1_filtered_4FGL_J1434.7+1950_daily_bin1085.fits evtable="EVENTS" scfile=/scratch/kocevski/614485/ft2_4FGL_J1434.7+1950_daily_bin1085.fits sctable="SC_DATA" srcmdl=/scratch/kocevski/614485/Model_4FGL_J1434.7+1950_daily_bin1085.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/614485/ft1_filtered_4FGL_J1434.7+1950_daily_bin1085.fits.....................!
real 45.29
user 43.85
sys 1.19

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

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

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

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'Prefactor '    .10001E-03   1.0000         .10000E-03   10000.    
     2 'Prefactor '    .10000E-03   1.0000         .10000E-03   10000.    
     3 'Prefactor '    34.266       1.0000         .10000E-03   10000.    
     4 'Prefactor '    .10238E-03   1.0000         .10000E-03   10000.    
     5 'norm      '    11.028       1.0000         .10000E-03   10000.    
     6 'Prefactor '    .10004E-03   1.0000         .10000E-03   10000.    
     7 'norm      '    .27554       1.0000         .10000E-03   10000.    
     8 'norm      '    3.4563       1.0000         .10000E-03   10000.    
     9 'Prefactor '    52.594       1.0000         .10000E-03   10000.    
    10 'Prefactor '    .11526E-03   1.0000         .10000E-03   10000.    
    11 'Prefactor '    3.3196       1.0000         .10000E-03   10000.    
    12 'Prefactor '    6.4948       1.0000         .10000E-03   10000.    
    13 'Prefactor '    3.1312       1.0000         .10000E-03   10000.    
    14 'Prefactor '    .10313E-03   1.0000         .10000E-03   10000.    
    15 'Prefactor '    12.253       1.0000         .10000E-03   10000.    
    16 'norm      '    1.5923       1.0000         .10000E-03   10000.    
    17 'norm      '    .10000E-03   1.0000         .10000E-03   10000.    
    18 'Prefactor '    .10020E-03   1.0000         .10000E-03   10000.    
    19 'Prefactor '    .62161       1.0000         .10000E-03   10000.    
    20 'Normalizat'    .46850       1.0000         .10000E-01   10.000    
    21 'Prefactor '    1.4884       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=   5498.730     FROM MIGRAD    STATUS=CONVERGED    441 CALLS     2182 TOTAL
                     EDM=   .69E-09  STRATEGY=1  ERROR MATRIX UNCERTAINTY=   .8%

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor     .10000E-03    8.1511        .13225E-05** at limit **
   2  Prefactor     .10000E-03    6.7513       -.55371E-05** at limit **
   3  Prefactor     34.257        39.200       -.11146E-04   -.32867E-04
   4  Prefactor     .10000E-03    6.6287        .53330E-05** at limit **
   5  norm          11.028        4.0790       -.13663E-05    .15091E-03
   6  Prefactor     .10000E-03    3.0479       -.31484E-06** at limit **
   7  norm          .27500        2.4800       -.79575E-06   -.55631E-03
   8  norm          3.4562        3.5282        .31540E-07    .14625E-03
   9  Prefactor     52.592        61.004       -.36276E-05    .18801E-04
  10  Prefactor     .10001E-03    35.218        .26342E-05** at limit **
  11  Prefactor     3.3167        40.651       -.79107E-05   -.38828E-04
  12  Prefactor     6.4930        12.365        .30700E-05    .88635E-04
  13  Prefactor     3.1044        56.766       -.67362E-04   -.38843E-04
  14  Prefactor     .10000E-03    34.233        .51942E-05** at limit **
  15  Prefactor     12.252        14.633       -.12130E-05    .70125E-04
  16  norm          1.5923        .34816        .18911E-07    .12291E-02
  17  norm          .10000E-03    16.486        .23447E-06** at limit **
  18  Prefactor     .10000E-03    27.148        .23394E-05** at limit **
  19  Prefactor     .62210        9.6411       -.26838E-05    .18383E-04
  20  Normalizat    .46852        .24704        .56086E-05    .28652E-03
  21  Prefactor     1.4884        .18784        .25448E-05    .24839E-03
                               ERR DEF=  .500    
Final values: 
  Prefactor  = 0.0001
  Prefactor  = 0.0001
  Prefactor  = 34.2575
  Prefactor  = 0.0001
  norm       = 11.0284
  Prefactor  = 0.0001
  norm       = 0.275001
  norm       = 3.45618
  Prefactor  = 52.5917
  Prefactor  = 0.000100007
  Prefactor  = 3.31667
  Prefactor  = 6.49301
  Prefactor  = 3.10441
  Prefactor  = 0.000100001
  Prefactor  = 12.2517
  norm       = 1.5923
  norm       = 0.0001
  Prefactor  = 0.0001
  Prefactor  = 0.622099
  Normalizat = 0.468522
  Prefactor  = 1.48842
 **********
 **   18 **HESSE 
 **********

 FCN=   5498.730     FROM HESSE     STATUS=OK           319 CALLS     2501 TOTAL
                     EDM=   .15E-08    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  Prefactor     .10000E-03    8.1604        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   2  Prefactor     .10000E-03    6.7839        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   3  Prefactor     34.257        39.283        .68457E-04   -1.4537    
   4  Prefactor     .10000E-03    6.6988        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   5  norm          11.028        4.0742        .88243E-04   -1.5044    
   6  Prefactor     .10000E-03    3.0681        .12639E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   7  norm          .27500        5.5155        .22290E-02   -1.5603    
   8  norm          3.4562        3.5306        .13678E-03   -1.5336    
   9  Prefactor     52.592        61.148        .55304E-04   -1.4256    
  10  Prefactor     .10001E-03    35.557        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  11  Prefactor     3.3167        40.791        .22218E-03   -1.5344    
  12  Prefactor     6.4930        12.338        .15748E-03   -1.5198    
  13  Prefactor     3.1044        57.335        .22911E-03   -1.5356    
  14  Prefactor     .10000E-03    34.362        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  15  Prefactor     12.252        14.658        .11444E-03   -1.5008    
  16  norm          1.5923        .34795        .19518E-04   -1.5456    
  17  norm          .10000E-03    16.487        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  18  Prefactor     .10000E-03    27.201        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  19  Prefactor     .62210        44.131        .44243E-02   -1.5550    
  20  Normalizat    .46852        .26946        .42787E-03   -1.1390    
  21  Prefactor     1.4884        .20996        .19382E-03   -.77865    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 1.46364e-09
Minuit parameter uncertainties:
  1  1.37619e-05
  2  2.41149e-05
  3  39.313
  4  2.20567e-05
  5  4.07431
  6  3.23762e-06
  7  2.46295
  8  3.53078
  9  61.2213
  10  0.000969256
  11  23.2824
  12  12.3427
  13  26.7119
  14  0.000424375
  15  14.6628
  16  0.347954
  17  4.73785e-06
  18  4.40903e-05
  19  10.4864
  20  0.270216
  21  0.210086
Done.

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

Extracting fit parameters...

4FGL J1434.7+1950
   Spectrum: LogParabola
234         norm:  2.750e-01  2.463e+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:  1.488e+00  2.101e-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:  4.685e-01  2.702e-01  1.000e-02  1.000e+01 ( 1.000e+00)


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

Saving results to:
/scratch/kocevski/614485/likelihoodResults_520560001_520819201_4FGL_J1434.7+1950_daily_bin1085.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) = 5498.67861537
delta logL = 0.0515598055163

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

MINUIT Return Code (Free Index): 0
logL (Free Index) = 5498.67240484
delta logL = 0.0577703371582

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'norm      '    .43897       1.0000         .10000E-03   10000.    
     2 'alpha     '    2.8854       1.0000          .0000       5.0000    
     3 'Normalizat'    .46350       1.0000         .10000E-01   10.000    
     4 'Prefactor '    1.4875       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=   5498.672     FROM MIGRAD    STATUS=CONVERGED     54 CALLS      216 TOTAL
                     EDM=   .10E-07    STRATEGY= 1      ERR MATRIX NOT POS-DEF

  EXT PARAMETER                APPROXIMATE        STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  norm          .43890        49.988        .11019E-01    .14683E-02
   2  alpha         2.8861        3.2659        .41787        .37454E-04
   3  Normalizat    .46348        .41752E-01    .97024E-01    .42472E-04
   4  Prefactor     1.4876        .32367E-01    .43857E-01   -.14493E-04
                               ERR DEF=  .500    
Final values: 
  norm       = 0.438899
  alpha      = 2.88611
  Normalizat = 0.463476
  Prefactor  = 1.48757
 **********
 **   18 **HESSE 
 **********

 FCN=   5498.672     FROM HESSE     STATUS=OK            33 CALLS      249 TOTAL
                     EDM=   .14E-07    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  norm          .43890        2.1461        .14393E-03   -1.5575    
   2  alpha         2.8861        1.7324        .28688E-01    .15506    
   3  Normalizat    .46348        .26159        .43001E-03   -1.1414    
   4  Prefactor     1.4876        .20254        .19384E-03   -.77889    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 1.4485e-08
Minuit parameter uncertainties:
  1  1.94095
  2  1.91997
  3  0.262286
  4  0.202651
shell-init: error retrieving current directory: getcwd: cannot access parent directories: No such file or directory
rmdir: failed to remove `/scratch/kocevski/614485': 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) = 5498.67240471
delta logL = 0.0577704696689

Extracting fit parameters...

4FGL J1434.7+1950
   Spectrum: LogParabola
234         norm:  4.389e-01  1.941e+00  1.000e-04  1.000e+04 ( 1.000e-12)
235        alpha:  2.886e+00  1.920e+00  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:  1.488e+00  2.027e-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:  4.635e-01  2.623e-01  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Free Index): 0.01
Ra Dec: 218.675 19.848

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/614485/cmap_HighResolution_520560001_520819201_4FGL_J1434.7+1950_daily_bin1085.png

Cleaning up...

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

Updating database...

UPDATE lightcurve_data_v2 SET energy_flux_upper_limit='3.58e-05', job_status='DONE', photon_flux_upper_limit='8.63e-08', time_completed='2021-09-10 00:37:40.067967', job_id='614485', GAL2='1.49', fit_tolerance='1e-08', EG2='0.46', EG='0.47', time_epoch_completed='1631259460.07', return_code2='0', ts='0.01', comment='SUCCESS', return_code='0', GAL='1.49', dlogl='5.78e-02', ts2='0.13', photon_index_error='0.00', photon_index='2.27' WHERE bin_id='1085' AND source_name='4FGL J1434.7+1950' AND cadence='daily';

Database successfully updated.


Analysis Complete.


Fri Sep 10 00:37:40 PDT 2021


------------------------------------------------------------
Sender: LSF System <lsf@bullet0255>
Subject: Job 614485: <4FGL_J1434.7+1950_daily_bin1085> in cluster <slac> Done

Job <4FGL_J1434.7+1950_daily_bin1085> 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) <bullet0255>, in queue <medium>, as user <kocevski> in cluster <slac> at Fri Sep 10 00:26:09 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:09 2021
Terminated at Fri Sep 10 00:37:40 2021
Results reported at Fri Sep 10 00:37:40 2021

Your job looked like:

------------------------------------------------------------
# LSBATCH: User input
/nfs/farm/g/glast/g/LCRepository/Likelihood/Scripts/LikelihoodAnalysis.py 4FGL_J1434.7+1950_daily_bin1085 218.675 19.8478 520560001 520819201 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 :                                   536.46 sec.
    Max Memory :                                 1094 MB
    Average Memory :                             265.68 MB
    Total Requested Memory :                     -
    Delta Memory :                               -
    Max Swap :                                   -
    Max Processes :                              7
    Max Threads :                                21
    Run time :                                   691 sec.
    Turnaround time :                            692 sec.

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

