/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 3 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 = 7422
number of fields = 27
No RA_SUN column yet. Adding RA_SUN/DEC_SUN columns.
Done.


Performing analysis on: 4FGL_J2050.4-2627_daily_bin249
RA = 312.61, Dec = -26.4659
tmin = 303868801, tmax = 304128001
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='166333', job_status='RUN', time_executed='2021-09-25 19:01:32.772609', time_epoch_executed='1632621692.77' WHERE source_name='4FGL J2050.4-2627' and cadence='daily' and bin_id='249'

Database successfully updated.
Done.

Creating custom output directory:
/scratch/kocevski/166333

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

Retrieving the FT1 file...

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

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

Retrieving 47 files...
Done.


Merging files...

Checksum keywords updated successfully.

Merged file saved to:
/scratch/kocevski/166333/ft1_4FGL_J2050.4-2627_daily_bin249.fits


Retrieving the FT1 file...

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

Retrieving 47 files...
Done.


Merging files...

Merged file saved to:
/scratch/kocevski/166333/ft2_4FGL_J2050.4-2627_daily_bin249.fits


Selecting the photons:
time -p gtselect infile=/scratch/kocevski/166333/ft1_4FGL_J2050.4-2627_daily_bin249.fits outfile=/scratch/kocevski/166333/ft1_filteredMKT_4FGL_J2050.4-2627_daily_bin249.fits ra=312.61 dec=-26.4659 rad=12.0 tmin=303868801.0 tmax=304128001.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 3.44
user 3.22
sys 0.20

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

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

Generating the livetime cube:
time -p gtltcube evfile="/scratch/kocevski/166333/ft1_filtered_4FGL_J2050.4-2627_daily_bin249.fits" evtable="EVENTS" scfile=/scratch/kocevski/166333/ft2_4FGL_J2050.4-2627_daily_bin249.fits sctable="SC_DATA" outfile=/scratch/kocevski/166333/ltcube_303868801_304128001_4FGL_J2050.4-2627_daily_bin249.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/166333/ft2_4FGL_J2050.4-2627_daily_bin249.fits
.....................!
real 13.28
user 12.73
sys 0.30

Generating the exposure map:
time -p gtexpmap evfile=/scratch/kocevski/166333/ft1_filtered_4FGL_J2050.4-2627_daily_bin249.fits evtable="EVENTS" scfile=/scratch/kocevski/166333/ft2_4FGL_J2050.4-2627_daily_bin249.fits sctable="SC_DATA" expcube=/scratch/kocevski/166333/ltcube_303868801_304128001_4FGL_J2050.4-2627_daily_bin249.fits outfile=/scratch/kocevski/166333/expmap_303868801_304128001_4FGL_J2050.4-2627_daily_bin249.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/166333/ltcube_303868801_304128001_4FGL_J2050.4-2627_daily_bin249.fits
.....................!
real 192.81
user 187.39
sys 4.89

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/166333/ft1_filtered_4FGL_J2050.4-2627_daily_bin249.fits scfile=/scratch/kocevski/166333/ft2_4FGL_J2050.4-2627_daily_bin249.fits outfile=/scratch/kocevski/166333/cmap_303868801_304128001_4FGL_J2050.4-2627_daily_bin249.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.38
sys 0.15

Creating the high resolution counts map:
time -p gtbin evfile=/scratch/kocevski/166333/ft1_filtered_4FGL_J2050.4-2627_daily_bin249.fits scfile=/scratch/kocevski/166333/ft2_4FGL_J2050.4-2627_daily_bin249.fits outfile=/scratch/kocevski/166333/cmap_HighResolution_303868801_304128001_4FGL_J2050.4-2627_daily_bin249.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/166333/ft1_filtered_4FGL_J2050.4-2627_daily_bin249.fits evtable="EVENTS" scfile=/scratch/kocevski/166333/ft2_4FGL_J2050.4-2627_daily_bin249.fits sctable="SC_DATA" srcmdl=/scratch/kocevski/166333/Model_4FGL_J2050.4-2627_daily_bin249.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/166333/ft1_filtered_4FGL_J2050.4-2627_daily_bin249.fits.....................!
real 60.80
user 58.71
sys 1.20

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

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

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

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'norm      '    6.5025       1.0000         .10000E-03   10000.    
     2 'norm      '    .10212E-03   1.0000         .10000E-03   10000.    
     3 'Prefactor '    53.250       1.0000         .10000E-03   10000.    
     4 'Prefactor '    .10446E-03   1.0000         .10000E-03   10000.    
     5 'Prefactor '    .38864E-03   1.0000         .10000E-03   10000.    
     6 'Prefactor '    .10016E-03   1.0000         .10000E-03   10000.    
     7 'norm      '    .56672E-02   1.0000         .10000E-03   10000.    
     8 'Prefactor '    5.9223       1.0000         .10000E-03   10000.    
     9 'Prefactor '    59.920       1.0000         .10000E-03   10000.    
    10 'Prefactor '    .10091E-03   1.0000         .10000E-03   10000.    
    11 'norm      '    5.3110       1.0000         .10000E-03   10000.    
    12 'Prefactor '    .66859       1.0000         .10000E-03   10000.    
    13 'Prefactor '    47.401       1.0000         .10000E-03   10000.    
    14 'Normalizat'    1.1902       1.0000         .10000E-01   10.000    
    15 'Prefactor '    .84519       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=   6764.169     FROM MIGRAD    STATUS=CONVERGED    294 CALLS     1545 TOTAL
                     EDM=   .50E-09  STRATEGY=1  ERROR MATRIX UNCERTAINTY=  2.1%

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  norm          6.4988        15.292        .20373E-05    .21612E-03
   2  norm          .10000E-03    13.582       -.34620E-06** at limit **
   3  Prefactor     53.197        46.934       -.33111E-05   -.35631E-03
   4  Prefactor     .10000E-03    4.3945       -.34079E-06** at limit **
   5  Prefactor     .10000E-03    2.2236        .57313E-08** at limit **
   6  Prefactor     .10000E-03    27.455       -.30464E-07** at limit **
   7  norm          .10041E-03    11.782        .55336E-06** at limit **
   8  Prefactor     5.9203        16.615        .99166E-06    .67224E-04
   9  Prefactor     59.915        32.243        .16717E-07   -.24336E-05
  10  Prefactor     .10000E-03    6.9464        .94874E-07** at limit **
  11  norm          5.3110        5.2182       -.18611E-05    .51958E-03
  12  Prefactor     .66842        7.2725        .37713E-05   -.20846E-03
  13  Prefactor     47.400        23.211       -.72920E-07   -.34831E-04
  14  Normalizat    1.1904        .23555        .76006E-06   -.90170E-04
  15  Prefactor     .84521        .10091       -.49709E-06   -.70790E-06
                               ERR DEF=  .500    
Final values: 
  norm       = 6.49882
  norm       = 0.0001
  Prefactor  = 53.1974
  Prefactor  = 0.0001
  Prefactor  = 0.0001
  Prefactor  = 0.0001
  norm       = 0.000100408
  Prefactor  = 5.92034
  Prefactor  = 59.915
  Prefactor  = 0.0001
  norm       = 5.31105
  Prefactor  = 0.668425
  Prefactor  = 47.4002
  Normalizat = 1.19039
  Prefactor  = 0.845212
 **********
 **   18 **HESSE 
 **********

 FCN=   6764.169     FROM HESSE     STATUS=OK           192 CALLS     1737 TOTAL
                     EDM=   .11E-08    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  norm          6.4988        15.547        .15738E-03   -1.5198    
   2  norm          .10000E-03    13.789        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   3  Prefactor     53.197        49.331        .27482E-03   -1.4248    
   4  Prefactor     .10000E-03    4.4609        .16816E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   5  Prefactor     .10000E-03    8.7900        .23524E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   6  Prefactor     .10000E-03    27.467        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   7  norm          .10041E-03    16.640        .10858       -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   8  Prefactor     5.9203        16.663        .16501E-03   -1.5221    
   9  Prefactor     59.915        32.242        .51832E-04   -1.4158    
  10  Prefactor     .10000E-03    7.0848        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  11  norm          5.3110        5.2876        .87199E-03   -1.5247    
  12  Prefactor     .66842        7.4479        .43437E-03   -1.5544    
  13  Prefactor     47.400        23.245        .58240E-04   -1.4330    
  14  Normalizat    1.1904        .27872        .33284E-03   -.86900    
  15  Prefactor     .84521        .12092        .16919E-03   -.98083    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 1.14109e-09
Minuit parameter uncertainties:
  1  15.557
  2  3.87468e-05
  3  49.3686
  4  1.92608e-05
  5  2.17605e-05
  6  8.52479e-06
  7  0.005215
  8  16.6763
  9  32.2511
  10  6.11256e-06
  11  5.28803
  12  4.46282
  13  23.2495
  14  0.279068
  15  0.120958
Done.

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

Extracting fit parameters...

4FGL J2050.4-2627
   Spectrum: LogParabola
313         norm:  1.004e-04  5.215e-03  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.452e-01  1.210e-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.190e+00  2.791e-01  1.000e-02  1.000e+01 ( 1.000e+00)


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

Saving results to:
/scratch/kocevski/166333/likelihoodResults_303868801_304128001_4FGL_J2050.4-2627_daily_bin249.txt

Performing a free index iterative likelihood fit...

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

Done.

Freeing candidate source...
Done.

Fit tolerance = 1

Performing likelihood fit...
Done.

MINUIT Return Code (Free Index): 102
logL (Free Index) = 6764.16948094
delta logL = -1.57179183589e-05

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

MINUIT Return Code (Free Index): 102
logL (Free Index) = 6764.16948094
delta logL = -1.57162930918e-05

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'norm      '    .96358E-02   1.0000         .10000E-03   10000.    
     2 'alpha     '    2.0564       1.0000          .0000       5.0000    
     3 'Normalizat'    1.1904       1.0000         .10000E-01   10.000    
     4 'Prefactor '    .84521       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.

 FCN=   6764.169     FROM MIGRAD    STATUS=CONVERGED     75 CALLS      249 TOTAL
                     EDM=   .24E-08    STRATEGY= 1      ERR MATRIX NOT POS-DEF

  EXT PARAMETER                APPROXIMATE        STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  norm          .10002E-03    4.6162        .11767    ** at limit **
   2  alpha         2.2155        3.1433        .42002       -.56600E-06
   3  Normalizat    1.1904        .34859E-02    .75206E-01    .97978E-04
   4  Prefactor     .84521        .15285E-02    .44303E-01    .22703E-03
                               ERR DEF=  .500    
Final values: 
  norm       = 0.000100024
  alpha      = 2.21552
  Normalizat = 1.19039
  Prefactor  = 0.845211
 **********
 **   18 **HESSE 
 **********

 FCN=   6764.169     FROM HESSE     STATUS=NOT POSDEF    39 CALLS      288 TOTAL
                     EDM=   .92E-08    STRATEGY= 1      ERR MATRIX NOT POS-DEF

  EXT PARAMETER                APPROXIMATE     INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  norm          .10002E-03    15.730        .10507       -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   2  alpha         2.2155        2.9147        .16801       -.11404    
   3  Normalizat    1.1904        .60530E-02    .33284E-03   -.86900    
   4  Prefactor     .84521        .26574E-02    .16919E-03   -.98083    
                               ERR DEF=  .500    
Minuit fit quality: 2   estimated distance: 9.23454e-09
Minuit parameter uncertainties:
  1  0.00122902
  2  422.224
  3  0.00605305
  4  0.00265738
shell-init: error retrieving current directory: getcwd: cannot access parent directories: No such file or directory
rmdir: failed to remove `/scratch/kocevski/166333': 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): 102
logL (Free Index) = 6764.16946511
delta logL = 1.04218088381e-07

Extracting fit parameters...

4FGL J2050.4-2627
   Spectrum: LogParabola
313         norm:  1.000e-04  1.229e-03  1.000e-04  1.000e+04 ( 1.000e-13)
314        alpha:  2.216e+00  4.222e+02  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.452e-01  2.657e-03  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.190e+00  6.053e-03  1.000e-02  1.000e+01 ( 1.000e+00)


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

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/166333/cmap_HighResolution_303868801_304128001_4FGL_J2050.4-2627_daily_bin249.png

Cleaning up...

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

Updating database...

UPDATE lightcurve_data_v2 SET energy_flux_upper_limit='3.45e-05', job_status='DONE', photon_flux_upper_limit='5.68e-08', time_completed='2021-09-25 19:10:36.035019', job_id='166333', GAL2='0.85', fit_tolerance='1e-08', EG2='1.19', EG='1.19', time_epoch_completed='1632622236.04', return_code2='102', ts='-0.00', comment='SUCCESS', return_code='0', GAL='0.85', dlogl='1.04e-07', ts2='-0.00', photon_index_error='0.00', photon_index='2.06' WHERE bin_id='249' AND source_name='4FGL J2050.4-2627' AND cadence='daily';

Database successfully updated.


Analysis Complete.


Sat Sep 25 19:10:36 PDT 2021


------------------------------------------------------------
Sender: LSF System <scs@bullet0044>
Subject: Job 166333: <4FGL_J2050.4-2627_daily_bin249> in cluster <slac> Done

Job <4FGL_J2050.4-2627_daily_bin249> was submitted from host <rhel6-64d> by user <kocevski> in cluster <slac> at Sat Sep 25 19:00:51 2021
Job was executed on host(s) <bullet0044>, in queue <medium>, as user <kocevski> in cluster <slac> at Sat Sep 25 19:01:20 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:01:20 2021
Terminated at Sat Sep 25 19:10:36 2021
Results reported at Sat Sep 25 19:10:36 2021

Your job looked like:

------------------------------------------------------------
# LSBATCH: User input
/nfs/farm/g/glast/g/LCRepository/Likelihood/Scripts/LikelihoodAnalysis.py 4FGL_J2050.4-2627_daily_bin249 312.61 -26.4659 303868801 304128001 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 :                                   540.00 sec.
    Max Memory :                                 1094 MB
    Average Memory :                             325.39 MB
    Total Requested Memory :                     -
    Delta Memory :                               -
    Max Swap :                                   -
    Max Processes :                              5
    Max Threads :                                21
    Run time :                                   558 sec.
    Turnaround time :                            585 sec.

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

