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


Performing analysis on: 4FGL_J1434.7+1950_daily_bin524
RA = 218.675, Dec = 19.8478
tmin = 375148801, tmax = 375408001
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='611523', job_status='RUN', time_executed='2021-09-10 00:17:07.495036', time_epoch_executed='1631258227.5' WHERE source_name='4FGL J1434.7+1950' and cadence='daily' and bin_id='524'

Database successfully updated.
Done.

Creating custom output directory:
/scratch/kocevski/611523

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

Retrieving the FT1 file...

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

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

Retrieving 46 files...
Done.


Merging files...

Checksum keywords updated successfully.

Merged file saved to:
/scratch/kocevski/611523/ft1_4FGL_J1434.7+1950_daily_bin524.fits


Retrieving the FT1 file...

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

Retrieving 46 files...
Done.


Merging files...

Merged file saved to:
/scratch/kocevski/611523/ft2_4FGL_J1434.7+1950_daily_bin524.fits


Selecting the photons:
time -p gtselect infile=/scratch/kocevski/611523/ft1_4FGL_J1434.7+1950_daily_bin524.fits outfile=/scratch/kocevski/611523/ft1_filteredMKT_4FGL_J1434.7+1950_daily_bin524.fits ra=218.675 dec=19.8478 rad=12.0 tmin=375148801.0 tmax=375408001.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 4.57
user 4.33
sys 0.22

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

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

Generating the livetime cube:
time -p gtltcube evfile="/scratch/kocevski/611523/ft1_filtered_4FGL_J1434.7+1950_daily_bin524.fits" evtable="EVENTS" scfile=/scratch/kocevski/611523/ft2_4FGL_J1434.7+1950_daily_bin524.fits sctable="SC_DATA" outfile=/scratch/kocevski/611523/ltcube_375148801_375408001_4FGL_J1434.7+1950_daily_bin524.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/611523/ft2_4FGL_J1434.7+1950_daily_bin524.fits
.....................!
real 11.76
user 11.41
sys 0.31

Generating the exposure map:
time -p gtexpmap evfile=/scratch/kocevski/611523/ft1_filtered_4FGL_J1434.7+1950_daily_bin524.fits evtable="EVENTS" scfile=/scratch/kocevski/611523/ft2_4FGL_J1434.7+1950_daily_bin524.fits sctable="SC_DATA" expcube=/scratch/kocevski/611523/ltcube_375148801_375408001_4FGL_J1434.7+1950_daily_bin524.fits outfile=/scratch/kocevski/611523/expmap_375148801_375408001_4FGL_J1434.7+1950_daily_bin524.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/611523/ltcube_375148801_375408001_4FGL_J1434.7+1950_daily_bin524.fits
.....................!
real 189.93
user 185.46
sys 4.04

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/611523/ft1_filtered_4FGL_J1434.7+1950_daily_bin524.fits scfile=/scratch/kocevski/611523/ft2_4FGL_J1434.7+1950_daily_bin524.fits outfile=/scratch/kocevski/611523/cmap_375148801_375408001_4FGL_J1434.7+1950_daily_bin524.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.52
user 0.37
sys 0.15

Creating the high resolution counts map:
time -p gtbin evfile=/scratch/kocevski/611523/ft1_filtered_4FGL_J1434.7+1950_daily_bin524.fits scfile=/scratch/kocevski/611523/ft2_4FGL_J1434.7+1950_daily_bin524.fits outfile=/scratch/kocevski/611523/cmap_HighResolution_375148801_375408001_4FGL_J1434.7+1950_daily_bin524.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.37
sys 0.16

Computing the diffuse response:
time -p gtdiffrsp evfile=/scratch/kocevski/611523/ft1_filtered_4FGL_J1434.7+1950_daily_bin524.fits evtable="EVENTS" scfile=/scratch/kocevski/611523/ft2_4FGL_J1434.7+1950_daily_bin524.fits sctable="SC_DATA" srcmdl=/scratch/kocevski/611523/Model_4FGL_J1434.7+1950_daily_bin524.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/611523/ft1_filtered_4FGL_J1434.7+1950_daily_bin524.fits.....................!
real 52.58
user 51.27
sys 1.16

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

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

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

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'Prefactor '    .32919E-02   1.0000         .10000E-03   10000.    
     2 'Prefactor '    5.9851       1.0000         .10000E-03   10000.    
     3 'Prefactor '    .10007E-03   1.0000         .10000E-03   10000.    
     4 'Prefactor '    4.4312       1.0000         .10000E-03   10000.    
     5 'norm      '    4.5834       1.0000         .10000E-03   10000.    
     6 'Prefactor '    12.009       1.0000         .10000E-03   10000.    
     7 'norm      '    14.792       1.0000         .10000E-03   10000.    
     8 'norm      '    .10000E-03   1.0000         .10000E-03   10000.    
     9 'Prefactor '    51.288       1.0000         .10000E-03   10000.    
    10 'Prefactor '    .10001E-03   1.0000         .10000E-03   10000.    
    11 'Prefactor '    9.8728       1.0000         .10000E-03   10000.    
    12 'Prefactor '    .10000E-03   1.0000         .10000E-03   10000.    
    13 'Prefactor '    18.178       1.0000         .10000E-03   10000.    
    14 'Prefactor '    .10000E-03   1.0000         .10000E-03   10000.    
    15 'Prefactor '    1.3051       1.0000         .10000E-03   10000.    
    16 'norm      '    .48962       1.0000         .10000E-03   10000.    
    17 'norm      '    21.536       1.0000         .10000E-03   10000.    
    18 'Prefactor '    31.177       1.0000         .10000E-03   10000.    
    19 'Prefactor '    .10002E-03   1.0000         .10000E-03   10000.    
    20 'Normalizat'    1.1972       1.0000         .10000E-01   10.000    
    21 'Prefactor '    .86804       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=   6809.206     FROM MIGRAD    STATUS=CONVERGED    442 CALLS     2228 TOTAL
                     EDM=   .70E-11  STRATEGY=1  ERROR MATRIX UNCERTAINTY=  2.2%

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor     .10000E-03    7.9032       -.10348E-06** at limit **
   2  Prefactor     5.9802        14.334       -.20099E-06   -.14395E-05
   3  Prefactor     .10000E-03    27.203        .11344E-05** at limit **
   4  Prefactor     4.4309        8.1572       -.18010E-06   -.10505E-04
   5  norm          4.5835        2.5541       -.32201E-07   -.15343E-04
   6  Prefactor     12.008        7.9941       -.98797E-07   -.33407E-04
   7  norm          14.792        4.4564        .10663E-05   -.79255E-06
   8  norm          .10000E-03    1.7130        .22461E-07** at limit **
   9  Prefactor     51.287        46.958       -.97895E-06   -.11516E-05
  10  Prefactor     .10000E-03    14.697       -.36070E-06** at limit **
  11  Prefactor     9.8728        20.003       -.16718E-06   -.12811E-05
  12  Prefactor     .10000E-03    4.0517        .63787E-07** at limit **
  13  Prefactor     18.178        17.115       -.20537E-07   -.18629E-05
  14  Prefactor     .10000E-03    10.406       -.44437E-07** at limit **
  15  Prefactor     1.3081        1.0568        .27353E-07   -.13515E-03
  16  norm          .48965        .22887        .66221E-08   -.70381E-04
  17  norm          21.536        31.936        .57098E-06   -.26404E-06
  18  Prefactor     31.180        37.270        .25326E-05   -.11803E-05
  19  Prefactor     .10000E-03    6.2517        .32015E-07** at limit **
  20  Normalizat    1.1973        .20248       -.30437E-06    .57270E-05
  21  Prefactor     .86792        .14189       -.19517E-06   -.18190E-05
                               ERR DEF=  .500    
Final values: 
  Prefactor  = 0.000100003
  Prefactor  = 5.98023
  Prefactor  = 0.0001
  Prefactor  = 4.43094
  norm       = 4.58347
  Prefactor  = 12.0084
  norm       = 14.7917
  norm       = 0.0001
  Prefactor  = 51.287
  Prefactor  = 0.0001
  Prefactor  = 9.87281
  Prefactor  = 0.0001
  Prefactor  = 18.1784
  Prefactor  = 0.0001
  Prefactor  = 1.30813
  norm       = 0.489654
  norm       = 21.5362
  Prefactor  = 31.1797
  Prefactor  = 0.0001
  Normalizat = 1.1973
  Prefactor  = 0.867924
 **********
 **   18 **HESSE 
 **********

 FCN=   6809.206     FROM HESSE     STATUS=OK           323 CALLS     2551 TOTAL
                     EDM=   .18E-09    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  Prefactor     .10000E-03    46.035        .44903E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   2  Prefactor     5.9802        14.470        .16413E-03   -1.5219    
   3  Prefactor     .10000E-03    27.310        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   4  Prefactor     4.4309        8.1230        .19130E-03   -1.5287    
   5  norm          4.5835        2.5554        .95462E-04   -1.5280    
   6  Prefactor     12.008        8.0007        .57798E-03   -1.5015    
   7  norm          14.792        4.4572        .90956E-04   -1.4939    
   8  norm          .10000E-03    1.7199        .10546E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   9  Prefactor     51.287        47.093        .56000E-04   -1.4274    
  10  Prefactor     .10000E-03    14.731        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  11  Prefactor     9.8728        20.005        .12753E-03   -1.5079    
  12  Prefactor     .10000E-03    4.0554        .16221E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  13  Prefactor     18.178        17.116        .93939E-04   -1.4855    
  14  Prefactor     .10000E-03    10.408        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  15  Prefactor     1.3081        21.136        .19320E-02   -1.5479    
  16  norm          .48965        .22583        .25982E-04   -1.5568    
  17  norm          21.536        31.936        .86311E-04   -1.4779    
  18  Prefactor     31.180        37.273        .71759E-04   -1.4591    
  19  Prefactor     .10000E-03    6.2719        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  20  Normalizat    1.1973        .24380        .27648E-03   -.86686    
  21  Prefactor     .86792        .17034        .22985E-03   -.97271    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 1.83639e-10
Minuit parameter uncertainties:
  1  0.00072696
  2  14.4787
  3  1.03884e-05
  4  8.12498
  5  2.55541
  6  8.00145
  7  4.45727
  8  5.70156e-07
  9  47.1267
  10  2.16918e-05
  11  20.0186
  12  5.41095e-07
  13  17.1204
  14  9.33415e-07
  15  10.5205
  16  0.225829
  17  31.9609
  18  37.3004
  19  8.56292e-07
  20  0.244035
  21  0.170441
Done.

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

Extracting fit parameters...

4FGL J1434.7+1950
   Spectrum: LogParabola
234         norm:  1.479e+01  4.457e+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:  8.679e-01  1.704e-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.197e+00  2.440e-01  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Fixed Index): 31.82
Ra Dec: 218.675 19.848
Photon Index (Fixed Index): 2.27 +/- 0.00
Photon Flux (Fixed Index): 1.66e-07 +/- 4.99e-08
Energy Flux (Fixed Index): 6.87e-05 +/- 2.07e-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) = 6808.7090741
delta logL = 0.497373482183

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

MINUIT Return Code (Free Index): 0
logL (Free Index) = 6808.65354835
delta logL = 0.552899229841

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'norm      '    16.489       1.0000         .10000E-03   10000.    
     2 'alpha     '    1.9150       1.0000          .0000       5.0000    
     3 'Normalizat'    1.2448       1.0000         .10000E-01   10.000    
     4 'Prefactor '    .85191       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=   6808.654     FROM MIGRAD    STATUS=CONVERGED     53 CALLS      210 TOTAL
                     EDM=   .46E-10    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  norm          16.490        9.7998        .24658E-02    .28922E-04
   2  alpha         1.9151        .57156        .24635        .30134E-04
   3  Normalizat    1.2449        .20596        .61569E-01   -.17691E-04
   4  Prefactor     .85195        .14279        .44389E-01   -.45212E-04
                               ERR DEF=  .500    
Final values: 
  norm       = 16.4902
  alpha      = 1.91512
  Normalizat = 1.24489
  Prefactor  = 0.851947
 **********
 **   18 **HESSE 
 **********

 FCN=   6808.654     FROM HESSE     STATUS=OK            33 CALLS      243 TOTAL
                     EDM=   .85E-11    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  norm          16.490        5.2683        .98633E-04   -1.4896    
   2  alpha         1.9151        .33996        .97259E-02   -.23614    
   3  Normalizat    1.2449        .23526        .27232E-03   -.85227    
   4  Prefactor     .85195        .16840        .23201E-03   -.97841    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 8.52851e-12
Minuit parameter uncertainties:
  1  5.26843
  2  0.341076
  3  0.235457
  4  0.168505
shell-init: error retrieving current directory: getcwd: cannot access parent directories: No such file or directory
rmdir: failed to remove `/scratch/kocevski/611523': 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) = 6808.65354774
delta logL = 0.552899838202

Extracting fit parameters...

4FGL J1434.7+1950
   Spectrum: LogParabola
234         norm:  1.649e+01  5.268e+00  1.000e-04  1.000e+04 ( 1.000e-12)
235        alpha:  1.915e+00  3.411e-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:  8.519e-01  1.685e-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.245e+00  2.355e-01  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Free Index): 32.99
Ra Dec: 218.675 19.848
Photon Index (Free Index): 1.92 +/- 0.34
Photon Flux (Free Index): 1.17e-07 +/- 5.69e-08
Energy Flux (Free Index): 8.08e-05 +/- 3.08e-05

Creating a high resolution counts map...
INFO: Auto-setting vmin to  0.000e+00 [aplpy.core]
INFO: Auto-setting vmax to  0.000e+00 [aplpy.core]
Saving /scratch/kocevski/611523/cmap_HighResolution_375148801_375408001_4FGL_J1434.7+1950_daily_bin524.png

Cleaning up...

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

Updating database...

UPDATE lightcurve_data_v2 SET comment='SUCCESS', photon_flux='1.66e-07', energy_flux2='8.08e-05', photon_flux_error='4.99e-08', dlogl='5.53e-01', energy_flux='6.87e-05', photon_flux2='1.17e-07', job_status='DONE', time_completed='2021-09-10 00:26:16.888386', photon_index_error2='0.34', photon_index2='1.92', ts='31.82', fit_tolerance='1e-08', GAL='0.87', photon_index_error='0.00', energy_flux_error2='3.08e-05', EG='1.20', time_epoch_completed='1631258776.89', return_code='0', job_id='611523', GAL2='0.85', EG2='1.24', return_code2='0', energy_flux_error='2.07e-05', photon_flux_error2='5.69e-08', ts2='32.99', photon_index='2.27' WHERE bin_id='524' AND source_name='4FGL J1434.7+1950' AND cadence='daily';

Database successfully updated.


Analysis Complete.


Fri Sep 10 00:26:16 PDT 2021


------------------------------------------------------------
Sender: LSF System <lsf@bullet0032>
Subject: Job 611523: <4FGL_J1434.7+1950_daily_bin524> in cluster <slac> Done

Job <4FGL_J1434.7+1950_daily_bin524> was submitted from host <rhel6-64p> by user <kocevski> in cluster <slac> at Fri Sep 10 00:16:46 2021
Job was executed on host(s) <bullet0032>, in queue <medium>, as user <kocevski> in cluster <slac> at Fri Sep 10 00:16:48 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:16:48 2021
Terminated at Fri Sep 10 00:26:17 2021
Results reported at Fri Sep 10 00:26:17 2021

Your job looked like:

------------------------------------------------------------
# LSBATCH: User input
/nfs/farm/g/glast/g/LCRepository/Likelihood/Scripts/LikelihoodAnalysis.py 4FGL_J1434.7+1950_daily_bin524 218.675 19.8478 375148801 375408001 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 :                                   535.24 sec.
    Max Memory :                                 1094 MB
    Average Memory :                             308.85 MB
    Total Requested Memory :                     -
    Delta Memory :                               -
    Max Swap :                                   -
    Max Processes :                              5
    Max Threads :                                21
    Run time :                                   569 sec.
    Turnaround time :                            571 sec.

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

