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


Performing analysis on: 4FGL_J2050.4-2627_daily_bin681
RA = 312.61, Dec = -26.4659
tmin = 415843201, tmax = 416102401
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='169044', job_status='RUN', time_executed='2021-09-25 19:14:46.176259', time_epoch_executed='1632622486.18' WHERE source_name='4FGL J2050.4-2627' and cadence='daily' and bin_id='681'

Database successfully updated.
Done.

Creating custom output directory:
/scratch/kocevski/169044

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

Retrieving the FT1 file...

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

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

Retrieving 46 files...
Done.


Merging files...

Checksum keywords updated successfully.

Merged file saved to:
/scratch/kocevski/169044/ft1_4FGL_J2050.4-2627_daily_bin681.fits


Retrieving the FT1 file...

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

Retrieving 46 files...
Done.


Merging files...

Merged file saved to:
/scratch/kocevski/169044/ft2_4FGL_J2050.4-2627_daily_bin681.fits


Selecting the photons:
time -p gtselect infile=/scratch/kocevski/169044/ft1_4FGL_J2050.4-2627_daily_bin681.fits outfile=/scratch/kocevski/169044/ft1_filteredMKT_4FGL_J2050.4-2627_daily_bin681.fits ra=312.61 dec=-26.4659 rad=12.0 tmin=415843201.0 tmax=416102401.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.95
user 5.66
sys 0.25

Adding sun position to ft2 file:
/nfs/farm/g/glast/g/LCRepository/Repository/bin/sunpos /scratch/kocevski/169044/ft2_4FGL_J2050.4-2627_daily_bin681.fits

Selecting the good time intervals:
time -p gtmktime scfile=/scratch/kocevski/169044/ft2_4FGL_J2050.4-2627_daily_bin681.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/169044/ft1_filteredMKT_4FGL_J2050.4-2627_daily_bin681.fits evtable="EVENTS" outfile="/scratch/kocevski/169044/ft1_filtered_4FGL_J2050.4-2627_daily_bin681.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.52
user 0.34
sys 0.15

Generating the livetime cube:
time -p gtltcube evfile="/scratch/kocevski/169044/ft1_filtered_4FGL_J2050.4-2627_daily_bin681.fits" evtable="EVENTS" scfile=/scratch/kocevski/169044/ft2_4FGL_J2050.4-2627_daily_bin681.fits sctable="SC_DATA" outfile=/scratch/kocevski/169044/ltcube_415843201_416102401_4FGL_J2050.4-2627_daily_bin681.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/169044/ft2_4FGL_J2050.4-2627_daily_bin681.fits
.....................!
real 16.55
user 16.15
sys 0.34

Generating the exposure map:
time -p gtexpmap evfile=/scratch/kocevski/169044/ft1_filtered_4FGL_J2050.4-2627_daily_bin681.fits evtable="EVENTS" scfile=/scratch/kocevski/169044/ft2_4FGL_J2050.4-2627_daily_bin681.fits sctable="SC_DATA" expcube=/scratch/kocevski/169044/ltcube_415843201_416102401_4FGL_J2050.4-2627_daily_bin681.fits outfile=/scratch/kocevski/169044/expmap_415843201_416102401_4FGL_J2050.4-2627_daily_bin681.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/169044/ltcube_415843201_416102401_4FGL_J2050.4-2627_daily_bin681.fits
.....................!
real 192.16
user 186.58
sys 5.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 165 point sources and 0 extended sources

Setting source of interest to:
4FGL J2050.4-2627 @ 312.61 -26.4659

Creating the counts map:
time -p gtbin evfile=/scratch/kocevski/169044/ft1_filtered_4FGL_J2050.4-2627_daily_bin681.fits scfile=/scratch/kocevski/169044/ft2_4FGL_J2050.4-2627_daily_bin681.fits outfile=/scratch/kocevski/169044/cmap_415843201_416102401_4FGL_J2050.4-2627_daily_bin681.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=312.61 yref=-26.4659 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.55
user 0.39
sys 0.15

Creating the high resolution counts map:
time -p gtbin evfile=/scratch/kocevski/169044/ft1_filtered_4FGL_J2050.4-2627_daily_bin681.fits scfile=/scratch/kocevski/169044/ft2_4FGL_J2050.4-2627_daily_bin681.fits outfile=/scratch/kocevski/169044/cmap_HighResolution_415843201_416102401_4FGL_J2050.4-2627_daily_bin681.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=312.61 yref=-26.4659 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.39
sys 0.16

Computing the diffuse response:
time -p gtdiffrsp evfile=/scratch/kocevski/169044/ft1_filtered_4FGL_J2050.4-2627_daily_bin681.fits evtable="EVENTS" scfile=/scratch/kocevski/169044/ft2_4FGL_J2050.4-2627_daily_bin681.fits sctable="SC_DATA" srcmdl=/scratch/kocevski/169044/Model_4FGL_J2050.4-2627_daily_bin681.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/169044/ft1_filtered_4FGL_J2050.4-2627_daily_bin681.fits.....................!
real 51.88
user 50.51
sys 1.20

Creating the likelihood object...
obs = UnbinnedObs('/scratch/kocevski/169044/ft1_filtered_4FGL_J2050.4-2627_daily_bin681.fits', '/scratch/kocevski/169044/ft2_4FGL_J2050.4-2627_daily_bin681.fits', expMap='/scratch/kocevski/169044/expmap_415843201_416102401_4FGL_J2050.4-2627_daily_bin681.fits', expCube='/scratch/kocevski/169044/ltcube_415843201_416102401_4FGL_J2050.4-2627_daily_bin681.fits', irfs='P8R3_SOURCE_V2')
like = UnbinnedAnalysis(obs, '/scratch/kocevski/169044/Model_4FGL_J2050.4-2627_daily_bin681.xml', optimizer='MINUIT')

Using source of interest name: '4FGL J2050.4-2627'

4FGL J2050.4-2627
   Spectrum: LogParabola
313         norm:  4.487e+00  0.000e+00  1.000e-04  1.000e+04 ( 1.000e-13)
314        alpha:  2.056e+00  0.000e+00  0.000e+00  5.000e+00 ( 1.000e+00) fixed
315         beta:  1.779e-01  0.000e+00  0.000e+00  1.000e+01 ( 1.000e+00) fixed
316           Eb:  1.248e+03  0.000e+00  3.000e+01  5.000e+05 ( 1.000e+00) fixed


Likelihood Fit Parameters:
Event file(s): /scratch/kocevski/169044/ft1_filtered_4FGL_J2050.4-2627_daily_bin681.fits
Spacecraft file(s): /scratch/kocevski/169044/ft2_4FGL_J2050.4-2627_daily_bin681.fits
Exposure map: /scratch/kocevski/169044/expmap_415843201_416102401_4FGL_J2050.4-2627_daily_bin681.fits
Exposure cube: /scratch/kocevski/169044/ltcube_415843201_416102401_4FGL_J2050.4-2627_daily_bin681.fits
IRFs: P8R3_SOURCE_V2
Source model file: /scratch/kocevski/169044/Model_4FGL_J2050.4-2627_daily_bin681.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) = 5177.32071629

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

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

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'norm      '    9.0893       1.0000         .10000E-03   10000.    
     2 'norm      '    23.594       1.0000         .10000E-03   10000.    
     3 'Prefactor '    .10129E-02   1.0000         .10000E-03   10000.    
     4 'Prefactor '    7.9667       1.0000         .10000E-03   10000.    
     5 'Prefactor '    .10093E-03   1.0000         .10000E-03   10000.    
     6 'Prefactor '    55.194       1.0000         .10000E-03   10000.    
     7 'norm      '    35.817       1.0000         .10000E-03   10000.    
     8 'Prefactor '    3.2077       1.0000         .10000E-03   10000.    
     9 'Prefactor '    4.6520       1.0000         .10000E-03   10000.    
    10 'Prefactor '    .10000E-03   1.0000         .10000E-03   10000.    
    11 'norm      '    10.699       1.0000         .10000E-03   10000.    
    12 'Prefactor '    .10000E-03   1.0000         .10000E-03   10000.    
    13 'Prefactor '    30.634       1.0000         .10000E-03   10000.    
    14 'Normalizat'    .64326       1.0000         .10000E-01   10.000    
    15 'Prefactor '    .99687       1.0000          .0000       10.000    
 **********
 **   15 **SET ERR    .5000    
 **********
 **********
 **   16 **SET GRAD    1.000    
 **********
 **********
 **   17 **MINIMIZE    .5490E+05   .2000E-04
 **********

 MIGRAD MINIMIZATION HAS CONVERGED.

 MIGRAD WILL VERIFY CONVERGENCE AND ERROR MATRIX.

 MIGRAD MINIMIZATION HAS CONVERGED.

 FCN=   5177.135     FROM MIGRAD    STATUS=CONVERGED    276 CALLS     1364 TOTAL
                     EDM=   .21E-09  STRATEGY=1  ERROR MATRIX UNCERTAINTY=   .3%

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  norm          9.0824        12.823       -.12601E-04   -.98358E-06
   2  norm          23.589        16.201        .29732E-05    .17416E-03
   3  Prefactor     .10000E-03    410.77       -.10407E-03** at limit **
   4  Prefactor     7.9640        9.2342        .99571E-06    .36026E-03
   5  Prefactor     .10000E-03    3.1779        .44660E-07** at limit **
   6  Prefactor     55.160        86.871       -.39362E-04    .17945E-04
   7  norm          35.820        27.307       -.19172E-05    .25271E-04
   8  Prefactor     3.1721        22.285        .44477E-05   -.53625E-04
   9  Prefactor     4.5156        66.269        .28383E-05   -.14651E-04
  10  Prefactor     .10000E-03    2.1610        .98248E-07** at limit **
  11  norm          10.699        10.089        .57980E-07   -.37980E-05
  12  Prefactor     .10000E-03    3.4691        .10149E-06** at limit **
  13  Prefactor     30.630        23.119       -.10860E-05    .18952E-05
  14  Normalizat    .64322        .26811        .10435E-05    .22098E-03
  15  Prefactor     .99700        .11750        .18430E-05    .30418E-03
                               ERR DEF=  .500    
Final values: 
  norm       = 9.08243
  norm       = 23.589
  Prefactor  = 0.000100001
  Prefactor  = 7.96396
  Prefactor  = 0.0001
  Prefactor  = 55.1598
  norm       = 35.8199
  Prefactor  = 3.17212
  Prefactor  = 4.51562
  Prefactor  = 0.0001
  norm       = 10.6986
  Prefactor  = 0.0001
  Prefactor  = 30.6303
  Normalizat = 0.643223
  Prefactor  = 0.997003
 **********
 **   18 **HESSE 
 **********

 FCN=   5177.135     FROM HESSE     STATUS=OK           182 CALLS     1546 TOTAL
                     EDM=   .45E-09    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  norm          9.0824        12.877        .13294E-03   -1.5105    
   2  norm          23.589        16.211        .82466E-04   -1.4736    
   3  Prefactor     .10000E-03    416.88        .20754E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   4  Prefactor     7.9640        9.2205        .14205E-03   -1.5143    
   5  Prefactor     .10000E-03    3.2372        .12517E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   6  Prefactor     55.160        86.878        .53993E-04   -1.4221    
   7  norm          35.820        27.305        .66964E-04   -1.4510    
   8  Prefactor     3.1721        22.145        .22621E-03   -1.5352    
   9  Prefactor     4.5156        66.055        .18659E-03   -1.5283    
  10  Prefactor     .10000E-03    2.1644        .10329E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  11  norm          10.699        10.087        .12249E-03   -1.5054    
  12  Prefactor     .10000E-03    3.4736        .13088E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  13  Prefactor     30.630        23.136        .72390E-04   -1.4601    
  14  Normalizat    .64322        .29428        .41953E-03   -1.0618    
  15  Prefactor     .99700        .13093        .15345E-03   -.92830    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 4.49328e-10
Minuit parameter uncertainties:
  1  12.8811
  2  16.2139
  3  0.00135487
  4  9.22217
  5  8.68308e-06
  6  87.0782
  7  27.3147
  8  16.7711
  9  34.587
  10  3.616e-06
  11  10.0888
  12  2.82792e-06
  13  23.1426
  14  0.295002
  15  0.130973
Done.

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

Extracting fit parameters...

4FGL J2050.4-2627
   Spectrum: LogParabola
313         norm:  3.582e+01  2.731e+01  1.000e-04  1.000e+04 ( 1.000e-13)
314        alpha:  2.056e+00  0.000e+00  0.000e+00  5.000e+00 ( 1.000e+00) fixed
315         beta:  1.779e-01  0.000e+00  0.000e+00  1.000e+01 ( 1.000e+00) fixed
316           Eb:  1.248e+03  0.000e+00  3.000e+01  5.000e+05 ( 1.000e+00) fixed

GAL_V02
   Spectrum: PowerLaw
546    Prefactor:  9.970e-01  1.310e-01  0.000e+00  1.000e+01 ( 1.000e+00)
547        Index:  0.000e+00  0.000e+00 -1.000e+00  1.000e+00 ( 1.000e+00) fixed
548        Scale:  1.000e+02  0.000e+00  5.000e+01  2.000e+02 ( 1.000e+00) fixed

EG_v02
   Spectrum: FileFunction
545   Normalization:  6.432e-01  2.950e-01  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Fixed Index): 7.25
Ra Dec: 312.610 -26.466
Photon Index (Fixed Index): 2.06 +/- 0.00
Photon Flux (Fixed Index): 3.57e-08 +/- 2.72e-08
Energy Flux (Fixed Index): 2.16e-05 +/- 1.65e-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) = 5177.07449083
delta logL = 0.0606736409318

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

MINUIT Return Code (Free Index): 0
logL (Free Index) = 5177.06608003
delta logL = 0.0690844405235

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'norm      '    39.694       1.0000         .10000E-03   10000.    
     2 'alpha     '    1.8011       1.0000          .0000       5.0000    
     3 'Normalizat'    .64752       1.0000         .10000E-01   10.000    
     4 'Prefactor '    .99649       1.0000          .0000       10.000    
 **********
 **   15 **SET ERR    .5000    
 **********
 **********
 **   16 **SET GRAD    1.000    
 **********
 **********
 **   17 **MINIMIZE    .5490E+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.

 FCN=   5177.066     FROM MIGRAD    STATUS=CONVERGED     92 CALLS      273 TOTAL
                     EDM=   .24E-09    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  norm          39.718        31.422        .31810E-03    .15904E-04
   2  alpha         1.8018        .67352        .15970E-01    .51466E-04
   3  Normalizat    .64775        .28415        .41818E-03   -.21422E-04
   4  Prefactor     .99645        .12857        .15349E-03    .73740E-04
                               ERR DEF=  .500    
Final values: 
  norm       = 39.7176
  alpha      = 1.80184
  Normalizat = 0.647751
  Prefactor  = 0.996453
 **********
 **   18 **HESSE 
 **********

 FCN=   5177.066     FROM HESSE     STATUS=OK            25 CALLS      298 TOTAL
                     EDM=   .31E-10    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  norm          39.718        31.263        .12724E-04   -1.4447    
   2  alpha         1.8018        .67028        .31939E-02   -.28303    
   3  Normalizat    .64775        .28425        .16727E-04   -1.0599    
   4  Prefactor     .99645        .12862        .30699E-04   -.92848    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 3.07816e-11
Minuit parameter uncertainties:
  1  31.2756
  2  0.679309
  3  0.284891
  4  0.128663
shell-init: error retrieving current directory: getcwd: cannot access parent directories: No such file or directory
rmdir: failed to remove `/scratch/kocevski/169044': 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) = 5177.06607807
delta logL = 0.0690863963082

Extracting fit parameters...

4FGL J2050.4-2627
   Spectrum: LogParabola
313         norm:  3.972e+01  3.128e+01  1.000e-04  1.000e+04 ( 1.000e-13)
314        alpha:  1.802e+00  6.793e-01  0.000e+00  5.000e+00 ( 1.000e+00)
315         beta:  1.779e-01  0.000e+00  0.000e+00  1.000e+01 ( 1.000e+00) fixed
316           Eb:  1.248e+03  0.000e+00  3.000e+01  5.000e+05 ( 1.000e+00) fixed

GAL_V02
   Spectrum: PowerLaw
546    Prefactor:  9.965e-01  1.287e-01  0.000e+00  1.000e+01 ( 1.000e+00)
547        Index:  0.000e+00  0.000e+00 -1.000e+00  1.000e+00 ( 1.000e+00) fixed
548        Scale:  1.000e+02  0.000e+00  5.000e+01  2.000e+02 ( 1.000e+00) fixed

EG_v02
   Spectrum: FileFunction
545   Normalization:  6.478e-01  2.849e-01  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Free Index): 7.39
Ra Dec: 312.610 -26.466
Photon Index (Free Index): 1.80 +/- 0.68
Photon Flux (Free Index): 2.90e-08 +/- 2.80e-08
Energy Flux (Free Index): 2.63e-05 +/- 2.55e-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/169044/cmap_HighResolution_415843201_416102401_4FGL_J2050.4-2627_daily_bin681.png

Cleaning up...

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

Updating database...

UPDATE lightcurve_data_v2 SET comment='SUCCESS', photon_flux='3.57e-08', energy_flux2='2.63e-05', photon_flux_error='2.72e-08', dlogl='6.91e-02', energy_flux='2.16e-05', photon_flux2='2.90e-08', job_status='DONE', time_completed='2021-09-25 19:22:39.918488', photon_index_error2='0.68', photon_index2='1.80', ts='7.25', fit_tolerance='1e-08', GAL='1.00', photon_index_error='0.00', energy_flux_error2='2.55e-05', EG='0.64', time_epoch_completed='1632622959.92', return_code='0', job_id='169044', GAL2='1.00', EG2='0.65', return_code2='0', energy_flux_error='1.65e-05', photon_flux_error2='2.80e-08', ts2='7.39', photon_index='2.06' WHERE bin_id='681' AND source_name='4FGL J2050.4-2627' AND cadence='daily';

Database successfully updated.


Analysis Complete.


Sat Sep 25 19:22:39 PDT 2021


------------------------------------------------------------
Sender: LSF System <scs@bullet0146>
Subject: Job 169044: <4FGL_J2050.4-2627_daily_bin681> in cluster <slac> Done

Job <4FGL_J2050.4-2627_daily_bin681> was submitted from host <rhel6-64h> by user <kocevski> in cluster <slac> at Sat Sep 25 19:10:26 2021
Job was executed on host(s) <bullet0146>, in queue <medium>, as user <kocevski> in cluster <slac> at Sat Sep 25 19:11:03 2021
</u/ki/kocevski> was used as the home directory.
</u/ki/kocevski> was used as the working directory.
Started at Sat Sep 25 19:11:03 2021
Terminated at Sat Sep 25 19:22:40 2021
Results reported at Sat Sep 25 19:22:40 2021

Your job looked like:

------------------------------------------------------------
# LSBATCH: User input
/nfs/farm/g/glast/g/LCRepository/Likelihood/Scripts/LikelihoodAnalysis.py 4FGL_J2050.4-2627_daily_bin681 312.61 -26.4659 415843201 416102401 irfs=P8R3_SOURCE_V2 zmax=90 ROI=12 association=4FGL_J2050.4-2627 fixedModel=True performFreeIndexFit=True freeVariableSources=True nuke=True repositoryJob=True verbose=False
------------------------------------------------------------

Successfully completed.

Resource usage summary:

    CPU time :                                   472.52 sec.
    Max Memory :                                 1256 MB
    Average Memory :                             256.86 MB
    Total Requested Memory :                     -
    Delta Memory :                               -
    Max Swap :                                   -
    Max Processes :                              5
    Max Threads :                                21
    Run time :                                   697 sec.
    Turnaround time :                            734 sec.

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

