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


Performing analysis on: 4FGL_J2050.4-2627_daily_bin622
RA = 312.61, Dec = -26.4659
tmin = 400550401, tmax = 400809601
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='168949', job_status='RUN', time_executed='2021-09-25 19:13:33.641981', time_epoch_executed='1632622413.64' WHERE source_name='4FGL J2050.4-2627' and cadence='daily' and bin_id='622'

Database successfully updated.
Done.

Creating custom output directory:
/scratch/kocevski/168949

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

Retrieving the FT1 file...

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

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

Retrieving 46 files...
Done.


Merging files...

Checksum keywords updated successfully.

Merged file saved to:
/scratch/kocevski/168949/ft1_4FGL_J2050.4-2627_daily_bin622.fits


Retrieving the FT1 file...

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

Retrieving 46 files...
Done.


Merging files...

Merged file saved to:
/scratch/kocevski/168949/ft2_4FGL_J2050.4-2627_daily_bin622.fits


Selecting the photons:
time -p gtselect infile=/scratch/kocevski/168949/ft1_4FGL_J2050.4-2627_daily_bin622.fits outfile=/scratch/kocevski/168949/ft1_filteredMKT_4FGL_J2050.4-2627_daily_bin622.fits ra=312.61 dec=-26.4659 rad=12.0 tmin=400550401.0 tmax=400809601.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.49
user 4.22
sys 0.24

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

Selecting the good time intervals:
time -p gtmktime scfile=/scratch/kocevski/168949/ft2_4FGL_J2050.4-2627_daily_bin622.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/168949/ft1_filteredMKT_4FGL_J2050.4-2627_daily_bin622.fits evtable="EVENTS" outfile="/scratch/kocevski/168949/ft1_filtered_4FGL_J2050.4-2627_daily_bin622.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.33
sys 0.16

Generating the livetime cube:
time -p gtltcube evfile="/scratch/kocevski/168949/ft1_filtered_4FGL_J2050.4-2627_daily_bin622.fits" evtable="EVENTS" scfile=/scratch/kocevski/168949/ft2_4FGL_J2050.4-2627_daily_bin622.fits sctable="SC_DATA" outfile=/scratch/kocevski/168949/ltcube_400550401_400809601_4FGL_J2050.4-2627_daily_bin622.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/168949/ft2_4FGL_J2050.4-2627_daily_bin622.fits
.....................!
real 15.55
user 15.12
sys 0.36

Generating the exposure map:
time -p gtexpmap evfile=/scratch/kocevski/168949/ft1_filtered_4FGL_J2050.4-2627_daily_bin622.fits evtable="EVENTS" scfile=/scratch/kocevski/168949/ft2_4FGL_J2050.4-2627_daily_bin622.fits sctable="SC_DATA" expcube=/scratch/kocevski/168949/ltcube_400550401_400809601_4FGL_J2050.4-2627_daily_bin622.fits outfile=/scratch/kocevski/168949/expmap_400550401_400809601_4FGL_J2050.4-2627_daily_bin622.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/168949/ltcube_400550401_400809601_4FGL_J2050.4-2627_daily_bin622.fits
.....................!
real 193.82
user 187.82
sys 5.35

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/168949/ft1_filtered_4FGL_J2050.4-2627_daily_bin622.fits scfile=/scratch/kocevski/168949/ft2_4FGL_J2050.4-2627_daily_bin622.fits outfile=/scratch/kocevski/168949/cmap_400550401_400809601_4FGL_J2050.4-2627_daily_bin622.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.54
user 0.36
sys 0.16

Creating the high resolution counts map:
time -p gtbin evfile=/scratch/kocevski/168949/ft1_filtered_4FGL_J2050.4-2627_daily_bin622.fits scfile=/scratch/kocevski/168949/ft2_4FGL_J2050.4-2627_daily_bin622.fits outfile=/scratch/kocevski/168949/cmap_HighResolution_400550401_400809601_4FGL_J2050.4-2627_daily_bin622.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.55
user 0.37
sys 0.17

Computing the diffuse response:
time -p gtdiffrsp evfile=/scratch/kocevski/168949/ft1_filtered_4FGL_J2050.4-2627_daily_bin622.fits evtable="EVENTS" scfile=/scratch/kocevski/168949/ft2_4FGL_J2050.4-2627_daily_bin622.fits sctable="SC_DATA" srcmdl=/scratch/kocevski/168949/Model_4FGL_J2050.4-2627_daily_bin622.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/168949/ft1_filtered_4FGL_J2050.4-2627_daily_bin622.fits.....................!
real 57.34
user 55.96
sys 1.14

Creating the likelihood object...
obs = UnbinnedObs('/scratch/kocevski/168949/ft1_filtered_4FGL_J2050.4-2627_daily_bin622.fits', '/scratch/kocevski/168949/ft2_4FGL_J2050.4-2627_daily_bin622.fits', expMap='/scratch/kocevski/168949/expmap_400550401_400809601_4FGL_J2050.4-2627_daily_bin622.fits', expCube='/scratch/kocevski/168949/ltcube_400550401_400809601_4FGL_J2050.4-2627_daily_bin622.fits', irfs='P8R3_SOURCE_V2')
like = UnbinnedAnalysis(obs, '/scratch/kocevski/168949/Model_4FGL_J2050.4-2627_daily_bin622.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/168949/ft1_filtered_4FGL_J2050.4-2627_daily_bin622.fits
Spacecraft file(s): /scratch/kocevski/168949/ft2_4FGL_J2050.4-2627_daily_bin622.fits
Exposure map: /scratch/kocevski/168949/expmap_400550401_400809601_4FGL_J2050.4-2627_daily_bin622.fits
Exposure cube: /scratch/kocevski/168949/ltcube_400550401_400809601_4FGL_J2050.4-2627_daily_bin622.fits
IRFs: P8R3_SOURCE_V2
Source model file: /scratch/kocevski/168949/Model_4FGL_J2050.4-2627_daily_bin622.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) = 6345.65773783

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

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

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'norm      '    .10006E-03   1.0000         .10000E-03   10000.    
     2 'norm      '    .10011E-03   1.0000         .10000E-03   10000.    
     3 'Prefactor '    16.092       1.0000         .10000E-03   10000.    
     4 'Prefactor '    2.1699       1.0000         .10000E-03   10000.    
     5 'Prefactor '    .10015E-03   1.0000         .10000E-03   10000.    
     6 'Prefactor '    .10021E-03   1.0000         .10000E-03   10000.    
     7 'norm      '    3.7001       1.0000         .10000E-03   10000.    
     8 'Prefactor '    14.078       1.0000         .10000E-03   10000.    
     9 'Prefactor '    .10000E-03   1.0000         .10000E-03   10000.    
    10 'Prefactor '    .10031E-03   1.0000         .10000E-03   10000.    
    11 'norm      '    5.5814       1.0000         .10000E-03   10000.    
    12 'Prefactor '    .10003E-03   1.0000         .10000E-03   10000.    
    13 'Prefactor '    7.7718       1.0000         .10000E-03   10000.    
    14 'Normalizat'    1.4309       1.0000         .10000E-01   10.000    
    15 'Prefactor '    .81949       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=   6345.595     FROM MIGRAD    STATUS=CONVERGED    275 CALLS     1346 TOTAL
                     EDM=   .56E-10  STRATEGY=1  ERROR MATRIX UNCERTAINTY=   .3%

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  norm          .10000E-03    8.6137       -.87881E-07** at limit **
   2  norm          .10000E-03    14.332        .11439E-06** at limit **
   3  Prefactor     16.088        49.419       -.85591E-05    .19724E-06
   4  Prefactor     2.1708        3.7284        .10107E-06   -.24203E-03
   5  Prefactor     .10000E-03    2.5033       -.37744E-07** at limit **
   6  Prefactor     .10000E-03    47.544        .10363E-05** at limit **
   7  norm          3.6994        27.081        .27580E-07   -.36062E-04
   8  Prefactor     14.064        23.421       -.12156E-04   -.63771E-05
   9  Prefactor     .10000E-03    19.170       -.38136E-06** at limit **
  10  Prefactor     .10000E-03    4.6918        .66478E-07** at limit **
  11  norm          5.5814        5.6531        .10435E-06    .11291E-03
  12  Prefactor     .10000E-03    3.2905       -.57150E-08** at limit **
  13  Prefactor     7.7725        14.270       -.57875E-06   -.28006E-04
  14  Normalizat    1.4306        .24302        .24708E-05   -.46652E-04
  15  Prefactor     .81961        .10425        .14206E-06    .10412E-03
                               ERR DEF=  .500    
Final values: 
  norm       = 0.0001
  norm       = 0.0001
  Prefactor  = 16.0883
  Prefactor  = 2.1708
  Prefactor  = 0.0001
  Prefactor  = 0.0001
  norm       = 3.69938
  Prefactor  = 14.0645
  Prefactor  = 0.0001
  Prefactor  = 0.0001
  norm       = 5.58145
  Prefactor  = 0.0001
  Prefactor  = 7.77247
  Normalizat = 1.43063
  Prefactor  = 0.819608
 **********
 **   18 **HESSE 
 **********

 FCN=   6345.595     FROM HESSE     STATUS=OK           182 CALLS     1528 TOTAL
                     EDM=   .14E-09    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  norm          .10000E-03    8.6524        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   2  norm          .10000E-03    14.602        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   3  Prefactor     16.088        49.322        .99841E-04   -1.4906    
   4  Prefactor     2.1708        3.6987        .19458E-03   -1.5413    
   5  Prefactor     .10000E-03    2.5363        .12304E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   6  Prefactor     .10000E-03    47.583        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   7  norm          3.6994        27.092        .20995E-03   -1.5323    
   8  Prefactor     14.064        23.435        .10675E-03   -1.4958    
   9  Prefactor     .10000E-03    19.220        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  10  Prefactor     .10000E-03    4.7422        .16846E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  11  norm          5.5814        5.6588        .17005E-03   -1.5235    
  12  Prefactor     .10000E-03    3.2959        .14112E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  13  Prefactor     7.7725        14.277        .14384E-03   -1.5150    
  14  Normalizat    1.4306        .28863        .31680E-03   -.79747    
  15  Prefactor     .81961        .12458        .17656E-03   -.99010    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 1.35396e-10
Minuit parameter uncertainties:
  1  9.34162e-06
  2  8.59077e-06
  3  49.4478
  4  3.69909
  5  7.95498e-06
  6  2.0602e-05
  7  20.035
  8  23.4505
  9  4.23241e-06
  10  1.39081e-05
  11  5.6593
  12  3.53885e-06
  13  14.2829
  14  0.288958
  15  0.12462
Done.

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

Extracting fit parameters...

4FGL J2050.4-2627
   Spectrum: LogParabola
313         norm:  3.699e+00  2.004e+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:  8.196e-01  1.246e-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:  1.431e+00  2.890e-01  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Fixed Index): 0.04
Ra Dec: 312.610 -26.466
Photon Flux Upper Limit: 6.79e-08 ph cm-2 s-1
Energy Flux Upper Limit: 4.12e-05 MeV cm-2 s-1

Saving results to:
/scratch/kocevski/168949/likelihoodResults_400550401_400809601_4FGL_J2050.4-2627_daily_bin622.txt

Performing a free index iterative likelihood fit...

Freezing all point sources, except source of interest...

Done.

Freeing candidate source...
Done.

Fit tolerance = 1

Performing likelihood fit...
Done.

MINUIT Return Code (Free Index): 0
logL (Free Index) = 6345.57587296
delta logL = 0.019596442794

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

MINUIT Return Code (Free Index): 0
logL (Free Index) = 6345.57560337
delta logL = 0.0198660367787

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'norm      '    3.8656       1.0000         .10000E-03   10000.    
     2 'alpha     '    2.6342       1.0000          .0000       5.0000    
     3 'Normalizat'    1.4264       1.0000         .10000E-01   10.000    
     4 'Prefactor '    .81986       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.
 MACHINE ACCURACY LIMITS FURTHER IMPROVEMENT.

 MIGRAD MINIMIZATION HAS CONVERGED.

 MIGRAD WILL VERIFY CONVERGENCE AND ERROR MATRIX.

 FCN=   6345.576     FROM MIGRAD    STATUS=CONVERGED    101 CALLS      274 TOTAL
                     EDM=   .15E-09    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  norm          3.9090        32.126        .10262E-02    .75807E-04
   2  alpha         2.6541        3.8162        .51594E-01    .70133E-05
   3  Normalizat    1.4262        .28606        .31719E-03   -.15730E-03
   4  Prefactor     .81978        .12478        .17653E-03   -.11714E-03
                               ERR DEF=  .500    
Final values: 
  norm       = 3.90905
  alpha      = 2.65413
  Normalizat = 1.42623
  Prefactor  = 0.819776
 **********
 **   18 **HESSE 
 **********

 FCN=   6345.576     FROM HESSE     STATUS=OK            27 CALLS      301 TOTAL
                     EDM=   .87E-10    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  norm          3.9090        19.135        .20524E-03   -1.5313    
   2  alpha         2.6541        3.6907        .20638E-02    .61690E-01
   3  Normalizat    1.4262        .28486        .63438E-04   -.79873    
   4  Prefactor     .81978        .12445        .35306E-04   -.99003    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 8.65044e-11
Minuit parameter uncertainties:
  1  17.3059
  2  2.89728
  3  0.285183
  4  0.124491
shell-init: error retrieving current directory: getcwd: cannot access parent directories: No such file or directory
rmdir: failed to remove `/scratch/kocevski/168949': 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) = 6345.57555547
delta logL = 0.0199139334618

Extracting fit parameters...

4FGL J2050.4-2627
   Spectrum: LogParabola
313         norm:  3.909e+00  1.731e+01  1.000e-04  1.000e+04 ( 1.000e-13)
314        alpha:  2.654e+00  2.897e+00  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:  8.198e-01  1.245e-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:  1.426e+00  2.852e-01  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Free Index): 0.04
Ra Dec: 312.610 -26.466

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/168949/cmap_HighResolution_400550401_400809601_4FGL_J2050.4-2627_daily_bin622.png

Cleaning up...

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

Updating database...

UPDATE lightcurve_data_v2 SET energy_flux_upper_limit='4.12e-05', job_status='DONE', photon_flux_upper_limit='6.79e-08', time_completed='2021-09-25 19:22:15.031940', job_id='168949', GAL2='0.82', fit_tolerance='1e-08', EG2='1.43', EG='1.43', time_epoch_completed='1632622935.03', return_code2='0', ts='0.04', comment='SUCCESS', return_code='0', GAL='0.82', dlogl='1.99e-02', ts2='0.08', photon_index_error='0.00', photon_index='2.06' WHERE bin_id='622' AND source_name='4FGL J2050.4-2627' AND cadence='daily';

Database successfully updated.


Analysis Complete.


Sat Sep 25 19:22:15 PDT 2021


------------------------------------------------------------
Sender: LSF System <lsf@bullet0008>
Subject: Job 168949: <4FGL_J2050.4-2627_daily_bin622> in cluster <slac> Done

Job <4FGL_J2050.4-2627_daily_bin622> was submitted from host <rhel6-64h> by user <kocevski> in cluster <slac> at Sat Sep 25 19:10:18 2021
Job was executed on host(s) <bullet0008>, in queue <medium>, as user <kocevski> in cluster <slac> at Sat Sep 25 19:10:38 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:10:38 2021
Terminated at Sat Sep 25 19:22:15 2021
Results reported at Sat Sep 25 19:22:15 2021

Your job looked like:

------------------------------------------------------------
# LSBATCH: User input
/nfs/farm/g/glast/g/LCRepository/Likelihood/Scripts/LikelihoodAnalysis.py 4FGL_J2050.4-2627_daily_bin622 312.61 -26.4659 400550401 400809601 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 :                                   520.55 sec.
    Max Memory :                                 1256 MB
    Average Memory :                             290.92 MB
    Total Requested Memory :                     -
    Delta Memory :                               -
    Max Swap :                                   -
    Max Processes :                              5
    Max Threads :                                21
    Run time :                                   697 sec.
    Turnaround time :                            717 sec.

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

