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


Performing analysis on: 4FGL_J2050.4-2627_daily_bin755
RA = 312.61, Dec = -26.4659
tmin = 435024001, tmax = 435283201
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='169158', job_status='RUN', time_executed='2021-09-25 19:14:50.112866', time_epoch_executed='1632622490.11' WHERE source_name='4FGL J2050.4-2627' and cadence='daily' and bin_id='755'

Database successfully updated.
Done.

Creating custom output directory:
/scratch/kocevski/169158

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

Retrieving the FT1 file...

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

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

Retrieving 46 files...
Done.


Merging files...

Checksum keywords updated successfully.

Merged file saved to:
/scratch/kocevski/169158/ft1_4FGL_J2050.4-2627_daily_bin755.fits


Retrieving the FT1 file...

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

Retrieving 46 files...
Done.


Merging files...

Merged file saved to:
/scratch/kocevski/169158/ft2_4FGL_J2050.4-2627_daily_bin755.fits


Selecting the photons:
time -p gtselect infile=/scratch/kocevski/169158/ft1_4FGL_J2050.4-2627_daily_bin755.fits outfile=/scratch/kocevski/169158/ft1_filteredMKT_4FGL_J2050.4-2627_daily_bin755.fits ra=312.61 dec=-26.4659 rad=12.0 tmin=435024001.0 tmax=435283201.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.17
user 4.90
sys 0.24

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

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

Generating the livetime cube:
time -p gtltcube evfile="/scratch/kocevski/169158/ft1_filtered_4FGL_J2050.4-2627_daily_bin755.fits" evtable="EVENTS" scfile=/scratch/kocevski/169158/ft2_4FGL_J2050.4-2627_daily_bin755.fits sctable="SC_DATA" outfile=/scratch/kocevski/169158/ltcube_435024001_435283201_4FGL_J2050.4-2627_daily_bin755.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/169158/ft2_4FGL_J2050.4-2627_daily_bin755.fits
.....................!
real 15.84
user 15.44
sys 0.34

Generating the exposure map:
time -p gtexpmap evfile=/scratch/kocevski/169158/ft1_filtered_4FGL_J2050.4-2627_daily_bin755.fits evtable="EVENTS" scfile=/scratch/kocevski/169158/ft2_4FGL_J2050.4-2627_daily_bin755.fits sctable="SC_DATA" expcube=/scratch/kocevski/169158/ltcube_435024001_435283201_4FGL_J2050.4-2627_daily_bin755.fits outfile=/scratch/kocevski/169158/expmap_435024001_435283201_4FGL_J2050.4-2627_daily_bin755.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/169158/ltcube_435024001_435283201_4FGL_J2050.4-2627_daily_bin755.fits
.....................!
real 193.81
user 188.24
sys 4.95

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/169158/ft1_filtered_4FGL_J2050.4-2627_daily_bin755.fits scfile=/scratch/kocevski/169158/ft2_4FGL_J2050.4-2627_daily_bin755.fits outfile=/scratch/kocevski/169158/cmap_435024001_435283201_4FGL_J2050.4-2627_daily_bin755.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.58
user 0.40
sys 0.16

Creating the high resolution counts map:
time -p gtbin evfile=/scratch/kocevski/169158/ft1_filtered_4FGL_J2050.4-2627_daily_bin755.fits scfile=/scratch/kocevski/169158/ft2_4FGL_J2050.4-2627_daily_bin755.fits outfile=/scratch/kocevski/169158/cmap_HighResolution_435024001_435283201_4FGL_J2050.4-2627_daily_bin755.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.40
sys 0.15

Computing the diffuse response:
time -p gtdiffrsp evfile=/scratch/kocevski/169158/ft1_filtered_4FGL_J2050.4-2627_daily_bin755.fits evtable="EVENTS" scfile=/scratch/kocevski/169158/ft2_4FGL_J2050.4-2627_daily_bin755.fits sctable="SC_DATA" srcmdl=/scratch/kocevski/169158/Model_4FGL_J2050.4-2627_daily_bin755.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/169158/ft1_filtered_4FGL_J2050.4-2627_daily_bin755.fits.....................!
real 72.37
user 70.85
sys 1.29

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

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

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

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'norm      '    11.209       1.0000         .10000E-03   10000.    
     2 'norm      '    19.567       1.0000         .10000E-03   10000.    
     3 'Prefactor '    .11665E-03   1.0000         .10000E-03   10000.    
     4 'Prefactor '    .68335E-03   1.0000         .10000E-03   10000.    
     5 'Prefactor '    .15546E-03   1.0000         .10000E-03   10000.    
     6 'Prefactor '    .18384E-03   1.0000         .10000E-03   10000.    
     7 'norm      '    11.628       1.0000         .10000E-03   10000.    
     8 'Prefactor '    12.263       1.0000         .10000E-03   10000.    
     9 'Prefactor '    .11356E-03   1.0000         .10000E-03   10000.    
    10 'Prefactor '    .10152E-03   1.0000         .10000E-03   10000.    
    11 'norm      '    3.4719       1.0000         .10000E-03   10000.    
    12 'Prefactor '    .10012E-03   1.0000         .10000E-03   10000.    
    13 'Prefactor '    .10022E-03   1.0000         .10000E-03   10000.    
    14 'Normalizat'    .78468       1.0000         .10000E-01   10.000    
    15 'Prefactor '    1.0455       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=   8067.511     FROM MIGRAD    STATUS=CONVERGED    300 CALLS     1357 TOTAL
                     EDM=   .14E-08  STRATEGY=1  ERROR MATRIX UNCERTAINTY=  5.9%

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  norm          11.208        8.7751        .34941E-06    .16796E-03
   2  norm          19.561        14.712       -.22071E-06   -.93450E-04
   3  Prefactor     .10011E-03    99.588        .16736E-04** at limit **
   4  Prefactor     .10002E-03    4.6818       -.11859E-05** at limit **
   5  Prefactor     .10001E-03    1.4640        .23002E-06** at limit **
   6  Prefactor     .10008E-03    130.86       -.14213E-04** at limit **
   7  norm          11.615        18.567        .15724E-06    .71777E-04
   8  Prefactor     12.264        19.053       -.90107E-08    .26829E-04
   9  Prefactor     .10000E-03    64.658       -.91699E-06** at limit **
  10  Prefactor     .10000E-03    8.5726       -.56986E-08** at limit **
  11  norm          3.4718        6.0217        .34037E-05   -.11724E-02
  12  Prefactor     .10000E-03    8.7824       -.27692E-06** at limit **
  13  Prefactor     .10000E-03    34.074        .73750E-06** at limit **
  14  Normalizat    .78431        .23623        .54022E-06    .63312E-04
  15  Prefactor     1.0456        .99737E-01   -.28249E-06    .23099E-03
                               ERR DEF=  .500    
Final values: 
  norm       = 11.2083
  norm       = 19.5613
  Prefactor  = 0.00010011
  Prefactor  = 0.000100015
  Prefactor  = 0.000100005
  Prefactor  = 0.000100076
  norm       = 11.6146
  Prefactor  = 12.2641
  Prefactor  = 0.0001
  Prefactor  = 0.0001
  norm       = 3.47184
  Prefactor  = 0.0001
  Prefactor  = 0.0001
  Normalizat = 0.784314
  Prefactor  = 1.04557
 **********
 **   18 **HESSE 
 **********

 FCN=   8067.511     FROM HESSE     STATUS=OK           182 CALLS     1539 TOTAL
                     EDM=   .49E-08    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  norm          11.208        8.7886        .11966E-03   -1.5038    
   2  norm          19.561        14.739        .90545E-04   -1.4823    
   3  Prefactor     .10011E-03    112.34        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   4  Prefactor     .10002E-03    14.150        .36342E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   5  Prefactor     .10001E-03    10.492        .20524E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   6  Prefactor     .10008E-03    140.22        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   7  norm          11.615        18.569        .11748E-03   -1.5026    
   8  Prefactor     12.264        19.037        .11439E-03   -1.5007    
   9  Prefactor     .10000E-03    65.273        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  10  Prefactor     .10000E-03    8.8150        .36285E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  11  norm          3.4718        6.7406        .10851E-02   -1.5335    
  12  Prefactor     .10000E-03    8.8702        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  13  Prefactor     .10000E-03    34.277        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  14  Normalizat    .78431        .27030        .41993E-03   -1.0065    
  15  Prefactor     1.0456        .11726        .15697E-03   -.91226    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 4.92641e-09
Minuit parameter uncertainties:
  1  8.78963
  2  14.7419
  3  0.00703031
  4  0.000922462
  5  0.000476878
  6  0.00656551
  7  18.5781
  8  19.0462
  9  0.00027849
  10  4.71438e-07
  11  6.74212
  12  3.35037e-05
  13  0.000160256
  14  0.270759
  15  0.117289
Done.

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

Extracting fit parameters...

4FGL J2050.4-2627
   Spectrum: LogParabola
313         norm:  1.161e+01  1.858e+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:  1.046e+00  1.173e-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:  7.843e-01  2.708e-01  1.000e-02  1.000e+01 ( 1.000e+00)


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

Saving results to:
/scratch/kocevski/169158/likelihoodResults_435024001_435283201_4FGL_J2050.4-2627_daily_bin755.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) = 8067.50584137
delta logL = 0.00557858152661

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

MINUIT Return Code (Free Index): 0
logL (Free Index) = 8067.50573472
delta logL = 0.00568523089987

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'norm      '    11.672       1.0000         .10000E-03   10000.    
     2 'alpha     '    1.9130       1.0000          .0000       5.0000    
     3 'Normalizat'    .78584       1.0000         .10000E-01   10.000    
     4 'Prefactor '    1.0454       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=   8067.506     FROM MIGRAD    STATUS=CONVERGED     58 CALLS      231 TOTAL
                     EDM=   .27E-08    STRATEGY= 1      ERR MATRIX NOT POS-DEF

  EXT PARAMETER                APPROXIMATE        STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  norm          11.701        1426.4        .29314E-02    .30180E-04
   2  alpha         1.9150        2.6128        .42686       -.36246E-05
   3  Normalizat    .78584        .23394        .94692E-01    .76327E-04
   4  Prefactor     1.0454        .61727E-01    .40185E-01    .66948E-04
                               ERR DEF=  .500    
Final values: 
  norm       = 11.7008
  alpha      = 1.91497
  Normalizat = 0.785839
  Prefactor  = 1.04544
 **********
 **   18 **HESSE 
 **********

 FCN=   8067.506     FROM HESSE     STATUS=OK            33 CALLS      264 TOTAL
                     EDM=   .19E-10    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  norm          11.701        18.805        .11726E-03   -1.5024    
   2  alpha         1.9150        1.2589        .39162E-01   -.23620    
   3  Normalizat    .78584        .26906        .41955E-03   -1.0060    
   4  Prefactor     1.0454        .11575        .15698E-03   -.91230    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 1.90925e-11
Minuit parameter uncertainties:
  1  18.8142
  2  1.32335
  3  0.269519
  4  0.115781
shell-init: error retrieving current directory: getcwd: cannot access parent directories: No such file or directory
rmdir: failed to remove `/scratch/kocevski/169158': 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) = 8067.50573249
delta logL = 0.00568745891906

Extracting fit parameters...

4FGL J2050.4-2627
   Spectrum: LogParabola
313         norm:  1.170e+01  1.881e+01  1.000e-04  1.000e+04 ( 1.000e-13)
314        alpha:  1.915e+00  1.323e+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:  1.045e+00  1.158e-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:  7.858e-01  2.695e-01  1.000e-02  1.000e+01 ( 1.000e+00)


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

Creating a high resolution counts map...
INFO: Auto-setting vmin to -1.000e-01 [aplpy.core]
INFO: Auto-setting vmax to  1.110e+00 [aplpy.core]
Saving /scratch/kocevski/169158/cmap_HighResolution_435024001_435283201_4FGL_J2050.4-2627_daily_bin755.png

Cleaning up...

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

Updating database...

UPDATE lightcurve_data_v2 SET energy_flux_upper_limit='3.87e-05', job_status='DONE', photon_flux_upper_limit='6.39e-08', time_completed='2021-09-25 19:24:22.621807', job_id='169158', GAL2='1.05', fit_tolerance='1e-08', EG2='0.79', EG='0.78', time_epoch_completed='1632623062.62', return_code2='0', ts='0.58', comment='SUCCESS', return_code='0', GAL='1.05', dlogl='5.69e-03', ts2='0.59', photon_index_error='0.00', photon_index='2.06' WHERE bin_id='755' AND source_name='4FGL J2050.4-2627' AND cadence='daily';

Database successfully updated.


Analysis Complete.


Sat Sep 25 19:24:22 PDT 2021


------------------------------------------------------------
Sender: LSF System <lsf@bullet0286>
Subject: Job 169158: <4FGL_J2050.4-2627_daily_bin755> in cluster <slac> Done

Job <4FGL_J2050.4-2627_daily_bin755> was submitted from host <rhel6-64h> by user <kocevski> in cluster <slac> at Sat Sep 25 19:10:35 2021
Job was executed on host(s) <bullet0286>, in queue <medium>, as user <kocevski> in cluster <slac> at Sat Sep 25 19:11:26 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:26 2021
Terminated at Sat Sep 25 19:24:23 2021
Results reported at Sat Sep 25 19:24:23 2021

Your job looked like:

------------------------------------------------------------
# LSBATCH: User input
/nfs/farm/g/glast/g/LCRepository/Likelihood/Scripts/LikelihoodAnalysis.py 4FGL_J2050.4-2627_daily_bin755 312.61 -26.4659 435024001 435283201 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 :                                   571.59 sec.
    Max Memory :                                 1256 MB
    Average Memory :                             315.12 MB
    Total Requested Memory :                     -
    Delta Memory :                               -
    Max Swap :                                   -
    Max Processes :                              5
    Max Threads :                                21
    Run time :                                   776 sec.
    Turnaround time :                            828 sec.

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

