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


Performing analysis on: 4FGL_J1434.7+1950_daily_bin53
RA = 218.675, Dec = 19.8478
tmin = 253065601, tmax = 253324801
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='609782', job_status='RUN', time_executed='2021-09-10 00:14:03.050644', time_epoch_executed='1631258043.05' WHERE source_name='4FGL J1434.7+1950' and cadence='daily' and bin_id='53'

Database successfully updated.
Done.

Creating custom output directory:
/scratch/kocevski/609782

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

Retrieving the FT1 file...

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

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

Retrieving 46 files...
Done.


Merging files...

Checksum keywords updated successfully.

Merged file saved to:
/scratch/kocevski/609782/ft1_4FGL_J1434.7+1950_daily_bin53.fits


Retrieving the FT1 file...

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

Retrieving 46 files...
Done.


Merging files...

Merged file saved to:
/scratch/kocevski/609782/ft2_4FGL_J1434.7+1950_daily_bin53.fits


Selecting the photons:
time -p gtselect infile=/scratch/kocevski/609782/ft1_4FGL_J1434.7+1950_daily_bin53.fits outfile=/scratch/kocevski/609782/ft1_filteredMKT_4FGL_J1434.7+1950_daily_bin53.fits ra=218.675 dec=19.8478 rad=12.0 tmin=253065601.0 tmax=253324801.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.42
user 1.23
sys 0.18

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

Selecting the good time intervals:
time -p gtmktime scfile=/scratch/kocevski/609782/ft2_4FGL_J1434.7+1950_daily_bin53.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/609782/ft1_filteredMKT_4FGL_J1434.7+1950_daily_bin53.fits evtable="EVENTS" outfile="/scratch/kocevski/609782/ft1_filtered_4FGL_J1434.7+1950_daily_bin53.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.50
user 0.35
sys 0.14

Generating the livetime cube:
time -p gtltcube evfile="/scratch/kocevski/609782/ft1_filtered_4FGL_J1434.7+1950_daily_bin53.fits" evtable="EVENTS" scfile=/scratch/kocevski/609782/ft2_4FGL_J1434.7+1950_daily_bin53.fits sctable="SC_DATA" outfile=/scratch/kocevski/609782/ltcube_253065601_253324801_4FGL_J1434.7+1950_daily_bin53.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/609782/ft2_4FGL_J1434.7+1950_daily_bin53.fits
.....................!
real 12.72
user 12.34
sys 0.34

Generating the exposure map:
time -p gtexpmap evfile=/scratch/kocevski/609782/ft1_filtered_4FGL_J1434.7+1950_daily_bin53.fits evtable="EVENTS" scfile=/scratch/kocevski/609782/ft2_4FGL_J1434.7+1950_daily_bin53.fits sctable="SC_DATA" expcube=/scratch/kocevski/609782/ltcube_253065601_253324801_4FGL_J1434.7+1950_daily_bin53.fits outfile=/scratch/kocevski/609782/expmap_253065601_253324801_4FGL_J1434.7+1950_daily_bin53.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/609782/ltcube_253065601_253324801_4FGL_J1434.7+1950_daily_bin53.fits
.....................!
real 190.85
user 185.41
sys 5.05

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/609782/ft1_filtered_4FGL_J1434.7+1950_daily_bin53.fits scfile=/scratch/kocevski/609782/ft2_4FGL_J1434.7+1950_daily_bin53.fits outfile=/scratch/kocevski/609782/cmap_253065601_253324801_4FGL_J1434.7+1950_daily_bin53.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.16

Creating the high resolution counts map:
time -p gtbin evfile=/scratch/kocevski/609782/ft1_filtered_4FGL_J1434.7+1950_daily_bin53.fits scfile=/scratch/kocevski/609782/ft2_4FGL_J1434.7+1950_daily_bin53.fits outfile=/scratch/kocevski/609782/cmap_HighResolution_253065601_253324801_4FGL_J1434.7+1950_daily_bin53.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.56
user 0.37
sys 0.16

Computing the diffuse response:
time -p gtdiffrsp evfile=/scratch/kocevski/609782/ft1_filtered_4FGL_J1434.7+1950_daily_bin53.fits evtable="EVENTS" scfile=/scratch/kocevski/609782/ft2_4FGL_J1434.7+1950_daily_bin53.fits sctable="SC_DATA" srcmdl=/scratch/kocevski/609782/Model_4FGL_J1434.7+1950_daily_bin53.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/609782/ft1_filtered_4FGL_J1434.7+1950_daily_bin53.fits.....................!
real 50.68
user 49.34
sys 1.17

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

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

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

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'Prefactor '    2.3026       1.0000         .10000E-03   10000.    
     2 'Prefactor '    20.377       1.0000         .10000E-03   10000.    
     3 'Prefactor '    29.170       1.0000         .10000E-03   10000.    
     4 'Prefactor '    .10001E-03   1.0000         .10000E-03   10000.    
     5 'norm      '    12.563       1.0000         .10000E-03   10000.    
     6 'Prefactor '    .10004E-03   1.0000         .10000E-03   10000.    
     7 'norm      '    5.0787       1.0000         .10000E-03   10000.    
     8 'norm      '    .10001E-03   1.0000         .10000E-03   10000.    
     9 'Prefactor '    .10000E-03   1.0000         .10000E-03   10000.    
    10 'Prefactor '    .74739       1.0000         .10000E-03   10000.    
    11 'Prefactor '    .10000E-03   1.0000         .10000E-03   10000.    
    12 'Prefactor '    .10000E-03   1.0000         .10000E-03   10000.    
    13 'Prefactor '    11.886       1.0000         .10000E-03   10000.    
    14 'Prefactor '    .10000E-03   1.0000         .10000E-03   10000.    
    15 'Prefactor '    2.9057       1.0000         .10000E-03   10000.    
    16 'norm      '    4.1262       1.0000         .10000E-03   10000.    
    17 'norm      '    8.6079       1.0000         .10000E-03   10000.    
    18 'Prefactor '    66.157       1.0000         .10000E-03   10000.    
    19 'Prefactor '    1.1157       1.0000         .10000E-03   10000.    
    20 'Normalizat'    1.2033       1.0000         .10000E-01   10.000    
    21 'Prefactor '    .73168       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=   6605.279     FROM MIGRAD    STATUS=CONVERGED    444 CALLS     2205 TOTAL
                     EDM=   .65E-09  STRATEGY=1  ERROR MATRIX UNCERTAINTY= 11.8%

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor     2.3011        22.166       -.78107E-05    .82680E-04
   2  Prefactor     20.376        14.105       -.13186E-05    .13296E-03
   3  Prefactor     29.170        27.702       -.33404E-06    .10384E-03
   4  Prefactor     .10000E-03    3.6450       -.34605E-06** at limit **
   5  norm          12.562        4.0786        .17086E-07    .36989E-03
   6  Prefactor     .10000E-03    3.7625       -.81568E-06** at limit **
   7  norm          5.0793        3.0320       -.52742E-07    .37858E-03
   8  norm          .10000E-03    2.0171       -.25585E-06** at limit **
   9  Prefactor     .10000E-03    61.992       -.74441E-05** at limit **
  10  Prefactor     .56109        175.62       -.50848E-04    .35422E-04
  11  Prefactor     .10000E-03    6.4360       -.92034E-07** at limit **
  12  Prefactor     .10000E-03    4.5528       -.27715E-06** at limit **
  13  Prefactor     11.904        16.889        .17183E-05    .10586E-03
  14  Prefactor     .10000E-03    11.278       -.25096E-06** at limit **
  15  Prefactor     2.9033        9.3156       -.12786E-05    .10385E-03
  16  norm          4.1262        .49076       -.11104E-07    .88379E-03
  17  norm          8.5996        41.786        .13389E-05    .24899E-04
  18  Prefactor     66.150        46.293        .11497E-05    .47272E-04
  19  Prefactor     1.1009        36.170       -.24782E-05    .13639E-03
  20  Normalizat    1.2032        .20166        .15820E-05    .21254E-03
  21  Prefactor     .73180        .14683        .31414E-05    .62470E-03
                               ERR DEF=  .500    
Final values: 
  Prefactor  = 2.30109
  Prefactor  = 20.3761
  Prefactor  = 29.1697
  Prefactor  = 0.0001
  norm       = 12.5621
  Prefactor  = 0.0001
  norm       = 5.07927
  norm       = 0.0001
  Prefactor  = 0.000100003
  Prefactor  = 0.561093
  Prefactor  = 0.0001
  Prefactor  = 0.0001
  Prefactor  = 11.9042
  Prefactor  = 0.0001
  Prefactor  = 2.90328
  norm       = 4.12618
  norm       = 8.59962
  Prefactor  = 66.1503
  Prefactor  = 1.10092
  Normalizat = 1.20323
  Prefactor  = 0.731803
 **********
 **   18 **HESSE 
 **********

 FCN=   6605.279     FROM HESSE     STATUS=OK           321 CALLS     2526 TOTAL
                     EDM=   .17E-08    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  Prefactor     2.3011        22.113        .27043E-03   -1.5405    
   2  Prefactor     20.376        14.226        .88728E-04   -1.4805    
   3  Prefactor     29.170        27.748        .74180E-04   -1.4627    
   4  Prefactor     .10000E-03    3.6972        .15157E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   5  norm          12.562        4.0861        .89863E-04   -1.4999    
   6  Prefactor     .10000E-03    3.8581        .15416E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   7  norm          5.0793        3.0262        .10465E-03   -1.5257    
   8  norm          .10000E-03    2.0453        .11278E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   9  Prefactor     .10000E-03    62.831        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  10  Prefactor     .56109        177.51        .60061E-02   -1.5558    
  11  Prefactor     .10000E-03    6.4393        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  12  Prefactor     .10000E-03    4.5587        .16939E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  13  Prefactor     11.904        16.836        .11619E-03   -1.5018    
  14  Prefactor     .10000E-03    11.283        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  15  Prefactor     2.9033        9.3098        .23837E-03   -1.5367    
  16  norm          4.1262        .49130        .18989E-04   -1.5302    
  17  norm          8.5996        42.043        .13663E-03   -1.5121    
  18  Prefactor     66.150        46.292        .49343E-04   -1.4080    
  19  Prefactor     1.1009        39.262        .44581E-02   -1.5498    
  20  Normalizat    1.2032        .24172        .26217E-03   -.86503    
  21  Prefactor     .73180        .17696        .24410E-03   -1.0229    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 1.68259e-09
Minuit parameter uncertainties:
  1  14.2732
  2  14.2286
  3  27.76
  4  2.69147e-05
  5  4.08618
  6  3.25027e-05
  7  3.02629
  8  1.86908e-05
  9  0.000794039
  10  20.0184
  11  9.51949e-06
  12  1.62092e-05
  13  16.8431
  14  2.49785e-05
  15  9.31439
  16  0.491297
  17  38.0718
  18  46.3167
  19  13.1578
  20  0.241948
  21  0.177093
Done.

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

Extracting fit parameters...

4FGL J1434.7+1950
   Spectrum: LogParabola
234         norm:  5.079e+00  3.026e+00  1.000e-04  1.000e+04 ( 1.000e-12)
235        alpha:  2.270e+00  0.000e+00  0.000e+00  5.000e+00 ( 1.000e+00) fixed
236         beta:  1.371e-01  0.000e+00  0.000e+00  1.000e+01 ( 1.000e+00) fixed
237           Eb:  1.056e+03  0.000e+00  3.000e+01  5.000e+05 ( 1.000e+00) fixed

GAL_V02
   Spectrum: PowerLaw
503    Prefactor:  7.318e-01  1.771e-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.203e+00  2.419e-01  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Fixed Index): 5.28
Ra Dec: 218.675 19.848
Photon Index (Fixed Index): 2.27 +/- 0.00
Photon Flux (Fixed Index): 5.68e-08 +/- 3.39e-08
Energy Flux (Fixed Index): 2.36e-05 +/- 1.41e-05

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) = 6605.08153624
delta logL = 0.197456505241

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

MINUIT Return Code (Free Index): 0
logL (Free Index) = 6605.08126544
delta logL = 0.197727312293

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'norm      '    6.1430       1.0000         .10000E-03   10000.    
     2 'alpha     '    1.9472       1.0000          .0000       5.0000    
     3 'Normalizat'    1.2173       1.0000         .10000E-01   10.000    
     4 'Prefactor '    .72552       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=   6605.081     FROM MIGRAD    STATUS=CONVERGED     54 CALLS      268 TOTAL
                     EDM=   .13E-08    STRATEGY= 1      ERR MATRIX NOT POS-DEF

  EXT PARAMETER                APPROXIMATE        STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  norm          6.1365        93.712        .40495E-02    .13098E-03
   2  alpha         1.9460        3.1093        .36477        .28826E-04
   3  Normalizat    1.2171        .11565        .59008E-01    .74270E-05
   4  Prefactor     .72576        .67724E-01    .42740E-01    .18035E-04
                               ERR DEF=  .500    
Final values: 
  norm       = 6.13655
  alpha      = 1.94601
  Normalizat = 1.21713
  Prefactor  = 0.725762
 **********
 **   18 **HESSE 
 **********

 FCN=   6605.081     FROM HESSE     STATUS=OK            33 CALLS      301 TOTAL
                     EDM=   .11E-11    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  norm          6.1365        3.8314        .11778E-03   -1.5212    
   2  alpha         1.9460        .51403        .12876E-01   -.22345    
   3  Normalizat    1.2171        .22964        .26096E-03   -.86075    
   4  Prefactor     .72576        .17178        .24503E-03   -1.0253    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 1.12306e-12
Minuit parameter uncertainties:
  1  3.83157
  2  0.517919
  3  0.229835
  4  0.171907
shell-init: error retrieving current directory: getcwd: cannot access parent directories: No such file or directory
rmdir: failed to remove `/scratch/kocevski/609782': 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) = 6605.08125926
delta logL = 0.197733485071

Extracting fit parameters...

4FGL J1434.7+1950
   Spectrum: LogParabola
234         norm:  6.137e+00  3.832e+00  1.000e-04  1.000e+04 ( 1.000e-12)
235        alpha:  1.946e+00  5.179e-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.258e-01  1.719e-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.217e+00  2.298e-01  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Free Index): 5.65
Ra Dec: 218.675 19.848
Photon Index (Free Index): 1.95 +/- 0.52
Photon Flux (Free Index): 4.50e-08 +/- 3.40e-08
Energy Flux (Free Index): 2.96e-05 +/- 2.15e-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/609782/cmap_HighResolution_253065601_253324801_4FGL_J1434.7+1950_daily_bin53.png

Cleaning up...

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

Updating database...

UPDATE lightcurve_data_v2 SET comment='SUCCESS', photon_flux='5.68e-08', energy_flux2='2.96e-05', photon_flux_error='3.39e-08', dlogl='1.98e-01', energy_flux='2.36e-05', photon_flux2='4.50e-08', job_status='DONE', time_completed='2021-09-10 00:23:00.620814', photon_index_error2='0.52', photon_index2='1.95', ts='5.28', fit_tolerance='1e-08', GAL='0.73', photon_index_error='0.00', energy_flux_error2='2.15e-05', EG='1.20', time_epoch_completed='1631258580.62', return_code='0', job_id='609782', GAL2='0.73', EG2='1.22', return_code2='0', energy_flux_error='1.41e-05', photon_flux_error2='3.40e-08', ts2='5.65', photon_index='2.27' WHERE bin_id='53' AND source_name='4FGL J1434.7+1950' AND cadence='daily';

Database successfully updated.


Analysis Complete.


Fri Sep 10 00:23:00 PDT 2021


------------------------------------------------------------
Sender: LSF System <lsf@bullet0252>
Subject: Job 609782: <4FGL_J1434.7+1950_daily_bin53> in cluster <slac> Done

Job <4FGL_J1434.7+1950_daily_bin53> was submitted from host <rhel6-64j> by user <kocevski> in cluster <slac> at Fri Sep 10 00:11:10 2021
Job was executed on host(s) <bullet0252>, 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:23:01 2021
Results reported at Fri Sep 10 00:23:01 2021

Your job looked like:

------------------------------------------------------------
# LSBATCH: User input
/nfs/farm/g/glast/g/LCRepository/Likelihood/Scripts/LikelihoodAnalysis.py 4FGL_J1434.7+1950_daily_bin53 218.675 19.8478 253065601 253324801 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 :                                   534.00 sec.
    Max Memory :                                 1255 MB
    Average Memory :                             312.13 MB
    Total Requested Memory :                     -
    Delta Memory :                               -
    Max Swap :                                   -
    Max Processes :                              5
    Max Threads :                                21
    Run time :                                   708 sec.
    Turnaround time :                            711 sec.

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

