/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 226 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 = 7484
number of fields = 22
No RA_SUN column yet. Adding RA_SUN/DEC_SUN columns.
Done.


Performing analysis on: 4FGL_J1434.7+1950_daily_bin55
RA = 218.675, Dec = 19.8478
tmin = 253584001, tmax = 253843201
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='609784', job_status='RUN', time_executed='2021-09-10 00:15:07.401720', time_epoch_executed='1631258107.4' WHERE source_name='4FGL J1434.7+1950' and cadence='daily' and bin_id='55'

Database successfully updated.
Done.

Creating custom output directory:
/scratch/kocevski/609784

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

Retrieving the FT1 file...

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

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

Retrieving 46 files...
Done.


Merging files...

Checksum keywords updated successfully.

Merged file saved to:
/scratch/kocevski/609784/ft1_4FGL_J1434.7+1950_daily_bin55.fits


Retrieving the FT1 file...

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

Retrieving 46 files...
Done.


Merging files...

Merged file saved to:
/scratch/kocevski/609784/ft2_4FGL_J1434.7+1950_daily_bin55.fits


Selecting the photons:
time -p gtselect infile=/scratch/kocevski/609784/ft1_4FGL_J1434.7+1950_daily_bin55.fits outfile=/scratch/kocevski/609784/ft1_filteredMKT_4FGL_J1434.7+1950_daily_bin55.fits ra=218.675 dec=19.8478 rad=12.0 tmin=253584001.0 tmax=253843201.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 1.41
user 1.25
sys 0.15

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

Selecting the good time intervals:
time -p gtmktime scfile=/scratch/kocevski/609784/ft2_4FGL_J1434.7+1950_daily_bin55.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/609784/ft1_filteredMKT_4FGL_J1434.7+1950_daily_bin55.fits evtable="EVENTS" outfile="/scratch/kocevski/609784/ft1_filtered_4FGL_J1434.7+1950_daily_bin55.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/609784/ft1_filtered_4FGL_J1434.7+1950_daily_bin55.fits" evtable="EVENTS" scfile=/scratch/kocevski/609784/ft2_4FGL_J1434.7+1950_daily_bin55.fits sctable="SC_DATA" outfile=/scratch/kocevski/609784/ltcube_253584001_253843201_4FGL_J1434.7+1950_daily_bin55.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/609784/ft2_4FGL_J1434.7+1950_daily_bin55.fits
.....................!
real 12.35
user 12.01
sys 0.31

Generating the exposure map:
time -p gtexpmap evfile=/scratch/kocevski/609784/ft1_filtered_4FGL_J1434.7+1950_daily_bin55.fits evtable="EVENTS" scfile=/scratch/kocevski/609784/ft2_4FGL_J1434.7+1950_daily_bin55.fits sctable="SC_DATA" expcube=/scratch/kocevski/609784/ltcube_253584001_253843201_4FGL_J1434.7+1950_daily_bin55.fits outfile=/scratch/kocevski/609784/expmap_253584001_253843201_4FGL_J1434.7+1950_daily_bin55.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/609784/ltcube_253584001_253843201_4FGL_J1434.7+1950_daily_bin55.fits
.....................!
real 189.06
user 184.82
sys 3.90

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/609784/ft1_filtered_4FGL_J1434.7+1950_daily_bin55.fits scfile=/scratch/kocevski/609784/ft2_4FGL_J1434.7+1950_daily_bin55.fits outfile=/scratch/kocevski/609784/cmap_253584001_253843201_4FGL_J1434.7+1950_daily_bin55.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.36
sys 0.15

Creating the high resolution counts map:
time -p gtbin evfile=/scratch/kocevski/609784/ft1_filtered_4FGL_J1434.7+1950_daily_bin55.fits scfile=/scratch/kocevski/609784/ft2_4FGL_J1434.7+1950_daily_bin55.fits outfile=/scratch/kocevski/609784/cmap_HighResolution_253584001_253843201_4FGL_J1434.7+1950_daily_bin55.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/609784/ft1_filtered_4FGL_J1434.7+1950_daily_bin55.fits evtable="EVENTS" scfile=/scratch/kocevski/609784/ft2_4FGL_J1434.7+1950_daily_bin55.fits sctable="SC_DATA" srcmdl=/scratch/kocevski/609784/Model_4FGL_J1434.7+1950_daily_bin55.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/609784/ft1_filtered_4FGL_J1434.7+1950_daily_bin55.fits.....................!
real 47.31
user 46.06
sys 1.12

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

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

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

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'Prefactor '    .10003E-03   1.0000         .10000E-03   10000.    
     2 'Prefactor '    2.1803       1.0000         .10000E-03   10000.    
     3 'Prefactor '    17.928       1.0000         .10000E-03   10000.    
     4 'Prefactor '    .10240E-03   1.0000         .10000E-03   10000.    
     5 'norm      '    6.7205       1.0000         .10000E-03   10000.    
     6 'Prefactor '    .91575E-02   1.0000         .10000E-03   10000.    
     7 'norm      '    .10122E-03   1.0000         .10000E-03   10000.    
     8 'norm      '    .10023E-03   1.0000         .10000E-03   10000.    
     9 'Prefactor '    38.835       1.0000         .10000E-03   10000.    
    10 'Prefactor '    .10039E-03   1.0000         .10000E-03   10000.    
    11 'Prefactor '    .10006E-03   1.0000         .10000E-03   10000.    
    12 'Prefactor '    25.133       1.0000         .10000E-03   10000.    
    13 'Prefactor '    4.2503       1.0000         .10000E-03   10000.    
    14 'Prefactor '    .10031E-03   1.0000         .10000E-03   10000.    
    15 'Prefactor '    18.063       1.0000         .10000E-03   10000.    
    16 'norm      '    2.8372       1.0000         .10000E-03   10000.    
    17 'norm      '    33.406       1.0000         .10000E-03   10000.    
    18 'Prefactor '    26.256       1.0000         .10000E-03   10000.    
    19 'Prefactor '    11.628       1.0000         .10000E-03   10000.    
    20 'Normalizat'    .72791       1.0000         .10000E-01   10.000    
    21 'Prefactor '    1.1183       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=   6039.365     FROM MIGRAD    STATUS=CONVERGED    458 CALLS     2200 TOTAL
                     EDM=   .70E-09  STRATEGY=1  ERROR MATRIX UNCERTAINTY=  3.4%

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor     .10000E-03    3.1863        .64322E-07** at limit **
   2  Prefactor     2.1751        11.633        .56838E-05    .17406E-03
   3  Prefactor     17.932        25.512       -.72696E-08   -.67289E-04
   4  Prefactor     .10000E-03    5.2814        .49570E-07** at limit **
   5  norm          6.7198        3.2621        .56436E-07   -.56058E-04
   6  Prefactor     .10022E-03    6.1311        .26198E-05** at limit **
   7  norm          .10000E-03    1.7304        .26457E-06** at limit **
   8  norm          .10000E-03    3.3177       -.55345E-07** at limit **
   9  Prefactor     38.778        42.126        .52537E-05    .82006E-04
  10  Prefactor     .10000E-03    8.0460        .59202E-07** at limit **
  11  Prefactor     .10000E-03    11.729       -.28026E-06** at limit **
  12  Prefactor     25.135        18.060        .69327E-07   -.64623E-04
  13  Prefactor     4.2462        22.283        .58861E-06   -.12447E-04
  14  Prefactor     .10000E-03    17.376        .59239E-06** at limit **
  15  Prefactor     18.059        10.760        .30165E-07   -.21691E-04
  16  norm          2.8372        .43078        .94162E-08   -.27728E-03
  17  norm          33.367        41.585        .37979E-05    .55767E-04
  18  Prefactor     26.218        45.956        .45966E-05    .35648E-04
  19  Prefactor     11.625        10.736        .32302E-07   -.67092E-05
  20  Normalizat    .72805        .19951       -.10202E-05   -.18136E-03
  21  Prefactor     1.1184        .15367       -.36671E-06   -.27124E-03
                               ERR DEF=  .500    
Final values: 
  Prefactor  = 0.0001
  Prefactor  = 2.17513
  Prefactor  = 17.9315
  Prefactor  = 0.0001
  norm       = 6.71981
  Prefactor  = 0.000100216
  norm       = 0.0001
  norm       = 0.0001
  Prefactor  = 38.7782
  Prefactor  = 0.0001
  Prefactor  = 0.0001
  Prefactor  = 25.1348
  Prefactor  = 4.24618
  Prefactor  = 0.0001
  Prefactor  = 18.0587
  norm       = 2.83717
  norm       = 33.3674
  Prefactor  = 26.2178
  Prefactor  = 11.6253
  Normalizat = 0.72805
  Prefactor  = 1.11841
 **********
 **   18 **HESSE 
 **********

 FCN=   6039.365     FROM HESSE     STATUS=OK           321 CALLS     2521 TOTAL
                     EDM=   .73E-08    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  Prefactor     .10000E-03    3.1872        .13548E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   2  Prefactor     2.1751        11.888        .13940E-02   -1.5413    
   3  Prefactor     17.932        25.486        .94592E-04   -1.4861    
   4  Prefactor     .10000E-03    5.3436        .17424E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   5  norm          6.7198        3.2617        .94379E-04   -1.5189    
   6  Prefactor     .10022E-03    29.132        .32163E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   7  norm          .10000E-03    3.8302        .19708E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   8  norm          .10000E-03    3.4366        .27638E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   9  Prefactor     38.778        42.357        .64318E-04   -1.4462    
  10  Prefactor     .10000E-03    8.0547        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  11  Prefactor     .10000E-03    11.755        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  12  Prefactor     25.135        18.037        .79904E-04   -1.4705    
  13  Prefactor     4.2462        22.203        .19544E-03   -1.5296    
  14  Prefactor     .10000E-03    17.384        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  15  Prefactor     18.059        10.760        .94239E-04   -1.4858    
  16  norm          2.8372        .43113        .19126E-04   -1.5371    
  17  norm          33.367        41.669        .69330E-04   -1.4552    
  18  Prefactor     26.218        46.053        .78180E-04   -1.4683    
  19  Prefactor     11.625        10.734        .11748E-03   -1.5026    
  20  Normalizat    .72805        .23061        .31434E-03   -1.0280    
  21  Prefactor     1.1184        .17901        .20173E-03   -.88880    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 7.33611e-09
Minuit parameter uncertainties:
  1  1.44539e-06
  2  10.1729
  3  25.5016
  4  8.96059e-06
  5  3.26179
  6  0.00501511
  7  4.03426e-05
  8  1.16368e-06
  9  42.39
  10  2.0381e-06
  11  5.18712e-06
  12  18.041
  13  19.4306
  14  1.23696e-05
  15  10.7616
  16  0.431132
  17  41.7056
  18  46.1151
  19  10.736
  20  0.230919
  21  0.179106
Done.

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

Extracting fit parameters...

4FGL J1434.7+1950
   Spectrum: LogParabola
234         norm:  1.000e-04  4.034e-05  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.118e+00  1.791e-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:  7.281e-01  2.309e-01  1.000e-02  1.000e+01 ( 1.000e+00)


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

Saving results to:
/scratch/kocevski/609784/likelihoodResults_253584001_253843201_4FGL_J1434.7+1950_daily_bin55.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): 102
logL (Free Index) = 6039.36592958
delta logL = -0.00124401405174

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

MINUIT Return Code (Free Index): 102
logL (Free Index) = 6039.36468641
delta logL = -8.38846062834e-07

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'norm      '    .10149E-03   1.0000         .10000E-03   10000.    
     2 'alpha     '    2.2440       1.0000          .0000       5.0000    
     3 'Normalizat'    .72835       1.0000         .10000E-01   10.000    
     4 'Prefactor '    1.1182       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.

 MIGRAD WILL VERIFY CONVERGENCE AND ERROR MATRIX.
 MIGRAD TERMINATED WITHOUT CONVERGENCE.

 FCN=   6039.365     FROM MIGRAD    STATUS=FAILED        92 CALLS      257 TOTAL
                     EDM=   .84E-06    STRATEGY= 1      ERR MATRIX NOT POS-DEF

  EXT PARAMETER                APPROXIMATE        STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  norm          .10132E-03    90.745        .20120E-02** at limit **
   2  alpha         2.1450        3.2172        .50000        .99127E-05
   3  Normalizat    .72805        .22765E-01    .31433E-03    .18695E-03
   4  Prefactor     1.1184        .17880E-01    .20173E-03    .34817E-03
                               ERR DEF=  .500    
 START SIMPLEX MINIMIZATION.    CONVERGENCE WHEN EDM .LT.   .20E-04
 SIMPLEX MINIMIZATION HAS CONVERGED.

 FCN=   6039.365     FROM SIMPLEX   STATUS=UNCHANGED    127 CALLS      384 TOTAL
                     EDM=   .14E-04    STRATEGY= 1      ERR MATRIX NOT POS-DEF

  EXT PARAMETER                APPROXIMATE        STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  norm          .10132E-03    90.745        .39224E-03** at limit **
   2  alpha         2.1450        3.2172        .39673E-03    .99127E-05
   3  Normalizat    .72805        .22765E-01    .44757E-05    .18695E-03
   4  Prefactor     1.1184        .17880E-01    .14849E-05    .34817E-03
                               ERR DEF=  .500    

 MIGRAD MINIMIZATION HAS CONVERGED.

 MIGRAD WILL VERIFY CONVERGENCE AND ERROR MATRIX.

 FCN=   6039.365     FROM MIGRAD    STATUS=CONVERGED     41 CALLS      425 TOTAL
                     EDM=   .16E-07    STRATEGY= 1      ERR MATRIX NOT POS-DEF

  EXT PARAMETER                APPROXIMATE        STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  norm          .10000E-03    424.23        .40239E-03** at limit **
   2  alpha         2.0881        3.8860        .50000        .22958E-06
   3  Normalizat    .72805        .55172E-01    .12573E-04   -.74993E-03
   4  Prefactor     1.1184        .43333E-01    .40346E-04   -.11281E-02
                               ERR DEF=  .500    
Final values: 
  norm       = 0.000100002
  alpha      = 2.08812
  Normalizat = 0.728049
  Prefactor  = 1.11841
 **********
 **   18 **HESSE 
 **********

 FCN=   6039.365     FROM HESSE     STATUS=OK            29 CALLS      454 TOTAL
                     EDM=   .16E-08    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  norm          .10000E-03    11.719        .80479E-04   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   2  alpha         2.0881        3.5241        .50000       -.16551    
   3  Normalizat    .72805        .22498        .25147E-05   -1.0280    
   4  Prefactor     1.1184        .17680        .80692E-05   -.88880    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 1.63349e-09
Minuit parameter uncertainties:
  1  0.000301124
  2  157.957
  3  0.225269
  4  0.176895
shell-init: error retrieving current directory: getcwd: cannot access parent directories: No such file or directory
rmdir: failed to remove `/scratch/kocevski/609784': 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) = 6039.36468438
delta logL = 1.18393654702e-06

Extracting fit parameters...

4FGL J1434.7+1950
   Spectrum: LogParabola
234         norm:  1.000e-04  3.011e-04  1.000e-04  1.000e+04 ( 1.000e-12)
235        alpha:  2.088e+00  1.580e+02  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.118e+00  1.769e-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:  7.280e-01  2.253e-01  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Free Index): -0.00
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/609784/cmap_HighResolution_253584001_253843201_4FGL_J1434.7+1950_daily_bin55.png

Cleaning up...

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

Updating database...

UPDATE lightcurve_data_v2 SET energy_flux_upper_limit='2.76e-05', job_status='DONE', photon_flux_upper_limit='6.64e-08', time_completed='2021-09-10 00:24:20.050646', job_id='609784', GAL2='1.12', fit_tolerance='1e-08', EG2='0.73', EG='0.73', time_epoch_completed='1631258660.05', return_code2='0', ts='-0.00', comment='SUCCESS', return_code='0', GAL='1.12', dlogl='1.18e-06', ts2='-0.00', photon_index_error='0.00', photon_index='2.27' WHERE bin_id='55' AND source_name='4FGL J1434.7+1950' AND cadence='daily';

Database successfully updated.


Analysis Complete.


Fri Sep 10 00:24:20 PDT 2021


------------------------------------------------------------
Sender: LSF System <lsf@bullet0300>
Subject: Job 609784: <4FGL_J1434.7+1950_daily_bin55> in cluster <slac> Done

Job <4FGL_J1434.7+1950_daily_bin55> was submitted from host <rhel6-64j> by user <kocevski> in cluster <slac> at Fri Sep 10 00:11:11 2021
Job was executed on host(s) <bullet0300>, in queue <medium>, as user <kocevski> in cluster <slac> at Fri Sep 10 00:11:12 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:11:12 2021
Terminated at Fri Sep 10 00:24:20 2021
Results reported at Fri Sep 10 00:24:20 2021

Your job looked like:

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

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

