aklog: Couldn't determine realm of user:aklog: No credentials cache found  while getting realm
/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 51 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 = 7327
number of fields = 31
RA_SUN column already exists. File will not be modified.
Done.


Performing analysis on: 4FGL_J2050.4-2627_daily_bin1697
RA = 312.61, Dec = -26.4659
tmin = 679190401, tmax = 679449601
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='857559', job_status='RUN', time_executed='2022-07-14 00:36:41.742273', time_epoch_executed='1657784201.74' WHERE source_name='4FGL J2050.4-2627' and cadence='daily' and bin_id='1697'

Database successfully updated.
Done.

Creating custom output directory:
/scratch/kocevski/857559

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

Retrieving the FT1 file...

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

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

Retrieving 46 files...
Done.


Merging files...

Checksum keywords updated successfully.

Merged file saved to:
/scratch/kocevski/857559/ft1_4FGL_J2050.4-2627_daily_bin1697.fits


Retrieving the FT1 file...

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

Retrieving 46 files...
Done.


Merging files...

Merged file saved to:
/scratch/kocevski/857559/ft2_4FGL_J2050.4-2627_daily_bin1697.fits


Selecting the photons:
time -p gtselect infile=/scratch/kocevski/857559/ft1_4FGL_J2050.4-2627_daily_bin1697.fits outfile=/scratch/kocevski/857559/ft1_filteredMKT_4FGL_J2050.4-2627_daily_bin1697.fits ra=312.61 dec=-26.4659 rad=12.0 tmin=679190401.0 tmax=679449601.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.46
user 3.24
sys 0.20

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

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

Number of photons that the gtmktime cut: 523

Generating the livetime cube:
time -p gtltcube evfile="/scratch/kocevski/857559/ft1_filtered_4FGL_J2050.4-2627_daily_bin1697.fits" evtable="EVENTS" scfile=/scratch/kocevski/857559/ft2_4FGL_J2050.4-2627_daily_bin1697.fits sctable="SC_DATA" outfile=/scratch/kocevski/857559/ltcube_679190401_679449601_4FGL_J2050.4-2627_daily_bin1697.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/857559/ft2_4FGL_J2050.4-2627_daily_bin1697.fits
.....................!
real 11.68
user 11.33
sys 0.31

Generating the exposure map:
time -p gtexpmap evfile=/scratch/kocevski/857559/ft1_filtered_4FGL_J2050.4-2627_daily_bin1697.fits evtable="EVENTS" scfile=/scratch/kocevski/857559/ft2_4FGL_J2050.4-2627_daily_bin1697.fits sctable="SC_DATA" expcube=/scratch/kocevski/857559/ltcube_679190401_679449601_4FGL_J2050.4-2627_daily_bin1697.fits outfile=/scratch/kocevski/857559/expmap_679190401_679449601_4FGL_J2050.4-2627_daily_bin1697.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/857559/ltcube_679190401_679449601_4FGL_J2050.4-2627_daily_bin1697.fits
.....................!
real 190.94
user 186.41
sys 4.22

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/857559/ft1_filtered_4FGL_J2050.4-2627_daily_bin1697.fits scfile=/scratch/kocevski/857559/ft2_4FGL_J2050.4-2627_daily_bin1697.fits outfile=/scratch/kocevski/857559/cmap_679190401_679449601_4FGL_J2050.4-2627_daily_bin1697.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.53
user 0.37
sys 0.15

Creating the high resolution counts map:
time -p gtbin evfile=/scratch/kocevski/857559/ft1_filtered_4FGL_J2050.4-2627_daily_bin1697.fits scfile=/scratch/kocevski/857559/ft2_4FGL_J2050.4-2627_daily_bin1697.fits outfile=/scratch/kocevski/857559/cmap_HighResolution_679190401_679449601_4FGL_J2050.4-2627_daily_bin1697.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.54
user 0.38
sys 0.15

Computing the diffuse response:
time -p gtdiffrsp evfile=/scratch/kocevski/857559/ft1_filtered_4FGL_J2050.4-2627_daily_bin1697.fits evtable="EVENTS" scfile=/scratch/kocevski/857559/ft2_4FGL_J2050.4-2627_daily_bin1697.fits sctable="SC_DATA" srcmdl=/scratch/kocevski/857559/Model_4FGL_J2050.4-2627_daily_bin1697.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/857559/ft1_filtered_4FGL_J2050.4-2627_daily_bin1697.fits.....................!
real 53.94
user 52.61
sys 1.23

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

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

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

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'norm      '    14.818       1.0000         .10000E-03   10000.    
     2 'norm      '    3.9228       1.0000         .10000E-03   10000.    
     3 'Prefactor '    18.867       1.0000         .10000E-03   10000.    
     4 'Prefactor '    2.1793       1.0000         .10000E-03   10000.    
     5 'Prefactor '    1.8210       1.0000         .10000E-03   10000.    
     6 'Prefactor '    .10217E-03   1.0000         .10000E-03   10000.    
     7 'norm      '    37.853       1.0000         .10000E-03   10000.    
     8 'Prefactor '    9.3544       1.0000         .10000E-03   10000.    
     9 'Prefactor '    16.932       1.0000         .10000E-03   10000.    
    10 'Prefactor '    6.8218       1.0000         .10000E-03   10000.    
    11 'norm      '    7.6726       1.0000         .10000E-03   10000.    
    12 'Prefactor '    .10001E-03   1.0000         .10000E-03   10000.    
    13 'Prefactor '    13.572       1.0000         .10000E-03   10000.    
    14 'Normalizat'    1.1171       1.0000         .10000E-01   10.000    
    15 'Prefactor '    .81069       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=   5905.471     FROM MIGRAD    STATUS=CONVERGED    297 CALLS     1380 TOTAL
                     EDM=   .75E-09  STRATEGY=1  ERROR MATRIX UNCERTAINTY=  2.0%

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  norm          14.818        14.043       -.10434E-05   -.13807E-03
   2  norm          3.9187        8.6957        .27018E-05   -.78308E-03
   3  Prefactor     18.653        68.696       -.23236E-05   -.23658E-05
   4  Prefactor     2.1630        7.9550       -.39011E-07   -.13336E-03
   5  Prefactor     1.8202        4.6758        .78909E-07   -.21693E-03
   6  Prefactor     .10000E-03    54.184       -.31587E-07** at limit **
   7  norm          37.850        34.419       -.66233E-06   -.32045E-04
   8  Prefactor     9.3506        25.877       -.15036E-05   -.39865E-04
   9  Prefactor     16.930        25.909       -.70084E-05   -.29890E-03
  10  Prefactor     6.8126        9.6209       -.17276E-06   -.36884E-04
  11  norm          7.6711        7.7274        .20264E-07    .78236E-05
  12  Prefactor     .10000E-03    1.8765       -.14090E-07** at limit **
  13  Prefactor     13.570        13.234       -.11538E-05   -.15128E-03
  14  Normalizat    1.1176        .25323        .13142E-05   -.25436E-04
  15  Prefactor     .81059        .10349       -.51997E-07    .50897E-04
                               ERR DEF=  .500    
Final values: 
  norm       = 14.818
  norm       = 3.91868
  Prefactor  = 18.6526
  Prefactor  = 2.16297
  Prefactor  = 1.8202
  Prefactor  = 0.0001
  norm       = 37.8502
  Prefactor  = 9.35058
  Prefactor  = 16.9302
  Prefactor  = 6.81259
  norm       = 7.67109
  Prefactor  = 0.0001
  Prefactor  = 13.5697
  Normalizat = 1.11756
  Prefactor  = 0.810592
 **********
 **   18 **HESSE 
 **********

 FCN=   5905.471     FROM HESSE     STATUS=OK           188 CALLS     1568 TOTAL
                     EDM=   .31E-08    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  norm          14.818        14.150        .10405E-03   -1.4938    
   2  norm          3.9187        12.462        .10184E-02   -1.5312    
   3  Prefactor     18.653        68.411        .92208E-04   -1.4844    
   4  Prefactor     2.1630        7.8942        .27888E-03   -1.5414    
   5  Prefactor     1.8202        4.7153        .25423E-03   -1.5438    
   6  Prefactor     .10000E-03    54.198        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   7  norm          37.850        34.448        .65143E-04   -1.4477    
   8  Prefactor     9.3506        25.970        .13103E-03   -1.5096    
   9  Prefactor     16.930        26.868        .97335E-04   -1.4885    
  10  Prefactor     6.8126        9.7042        .15362E-03   -1.5186    
  11  norm          7.6711        7.7282        .14477E-03   -1.5154    
  12  Prefactor     .10000E-03    1.8778        .10281E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  13  Prefactor     13.570        13.280        .10873E-03   -1.4971    
  14  Normalizat    1.1176        .30096        .33417E-03   -.89190    
  15  Prefactor     .81059        .12377        .16812E-03   -.99339    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 3.14537e-09
Minuit parameter uncertainties:
  1  14.1535
  2  12.4704
  3  68.7007
  4  7.89796
  5  4.71628
  6  3.39895e-06
  7  34.4666
  8  26.0013
  9  26.8869
  10  9.70646
  11  7.7292
  12  8.80712e-07
  13  13.2832
  14  0.301424
  15  0.123816
Done.

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

Extracting fit parameters...

4FGL J2050.4-2627
   Spectrum: LogParabola
313         norm:  3.785e+01  3.447e+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.106e-01  1.238e-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.118e+00  3.014e-01  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Fixed Index): 1.84
Ra Dec: 312.610 -26.466
Photon Index (Fixed Index): 2.06 +/- 0.00
Photon Flux (Fixed Index): 3.77e-08 +/- 3.43e-08
Energy Flux (Fixed Index): 2.28e-05 +/- 2.08e-05

TS (Fixed Index): 1.84
Ra Dec: 312.610 -26.466
Photon Flux Upper Limit: 1.16e-07 ph cm-2 s-1
Energy Flux Upper Limit: 7.02e-05 MeV cm-2 s-1

Saving results to:
/scratch/kocevski/857559/likelihoodResults_679190401_679449601_4FGL_J2050.4-2627_daily_bin1697.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) = 5905.00378383
delta logL = 0.467574565861

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

MINUIT Return Code (Free Index): 0
logL (Free Index) = 5904.99205303
delta logL = 0.479305366069

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'norm      '    24.495       1.0000         .10000E-03   10000.    
     2 'alpha     '    2.8284       1.0000          .0000       5.0000    
     3 'Normalizat'    1.0764       1.0000         .10000E-01   10.000    
     4 'Prefactor '    .81717       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=   5904.992     FROM MIGRAD    STATUS=CONVERGED     60 CALLS      266 TOTAL
                     EDM=   .63E-08    STRATEGY= 1      ERR MATRIX NOT POS-DEF

  EXT PARAMETER                APPROXIMATE        STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  norm          24.447        374.60        .20234E-02   -.86003E-04
   2  alpha         2.8302        3.9144        .32750        .23880E-04
   3  Normalizat    1.0758        .11227        .76711E-01   -.18485E-03
   4  Prefactor     .81790        .37112E-01    .43940E-01   -.44561E-03
                               ERR DEF=  .500    
Final values: 
  norm       = 24.4466
  alpha      = 2.8302
  Normalizat = 1.0758
  Prefactor  = 0.817903
 **********
 **   18 **HESSE 
 **********

 FCN=   5904.992     FROM HESSE     STATUS=OK            31 CALLS      297 TOTAL
                     EDM=   .10E-09    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  norm          24.447        33.043        .80937E-04   -1.4719    
   2  alpha         2.8302        .89767        .11340E-01    .13247    
   3  Normalizat    1.0758        .28192        .33953E-03   -.90533    
   4  Prefactor     .81790        .12164        .16731E-03   -.99072    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 1.02084e-10
Minuit parameter uncertainties:
  1  33.0681
  2  0.918556
  3  0.28231
  4  0.121678
shell-init: error retrieving current directory: getcwd: cannot access parent directories: No such file or directory
rmdir: failed to remove `/scratch/kocevski/857559': 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) = 5904.99201465
delta logL = 0.479343748071

Extracting fit parameters...

4FGL J2050.4-2627
   Spectrum: LogParabola
313         norm:  2.445e+01  3.307e+01  1.000e-04  1.000e+04 ( 1.000e-13)
314        alpha:  2.830e+00  9.186e-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:  8.179e-01  1.217e-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.076e+00  2.823e-01  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Free Index): 2.79
Ra Dec: 312.610 -26.466
Photon Index (Free Index): 2.83 +/- 0.92
Photon Flux (Free Index): 8.40e-08 +/- 7.61e-08
Energy Flux (Free Index): 2.30e-05 +/- 1.72e-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/857559/cmap_HighResolution_679190401_679449601_4FGL_J2050.4-2627_daily_bin1697.png

Cleaning up...

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

Updating database...

UPDATE lightcurve_data_v2 SET energy_flux_upper_limit='7.02e-05', comment='SUCCESS', photon_flux='3.77e-08', energy_flux2='2.30e-05', photon_flux_error='3.43e-08', dlogl='4.79e-01', energy_flux='2.28e-05', photon_flux2='8.40e-08', job_status='DONE', time_completed='2022-07-14 00:44:49.288688', photon_index_error2='0.92', photon_index2='2.83', ts='1.84', fit_tolerance='1e-08', GAL='0.81', photon_index_error='0.00', photon_flux_upper_limit='1.16e-07', energy_flux_error2='1.72e-05', EG='1.12', time_epoch_completed='1657784689.29', return_code='0', job_id='857559', GAL2='0.82', EG2='1.08', return_code2='0', energy_flux_error='2.08e-05', photon_flux_error2='7.61e-08', ts2='2.79', photon_index='2.06' WHERE bin_id='1697' AND source_name='4FGL J2050.4-2627' AND cadence='daily';

Database successfully updated.


Analysis Complete.


Thu Jul 14 00:44:49 PDT 2022


------------------------------------------------------------
Sender: LSF System <lsf@bullet0058>
Subject: Job 857559: <4FGL_J2050.4-2627_daily_bin1697> in cluster <slac> Done

Job <4FGL_J2050.4-2627_daily_bin1697> was submitted from host <rhel6-64k> by user <kocevski> in cluster <slac> at Thu Jul 14 00:35:41 2022
Job was executed on host(s) <bullet0058>, in queue <medium>, as user <kocevski> in cluster <slac> at Thu Jul 14 00:35:41 2022
</u/ki/kocevski> was used as the home directory.
</u/ki/kocevski> was used as the working directory.
Started at Thu Jul 14 00:35:41 2022
Terminated at Thu Jul 14 00:44:50 2022
Results reported at Thu Jul 14 00:44:50 2022

Your job looked like:

------------------------------------------------------------
# LSBATCH: User input
/nfs/farm/g/glast/g/LCRepository/Likelihood/Scripts/LikelihoodAnalysis.py 4FGL_J2050.4-2627_daily_bin1697 312.61 -26.4659 679190401 679449601 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 :                                   490.00 sec.
    Max Memory :                                 1257 MB
    Average Memory :                             336.48 MB
    Total Requested Memory :                     -
    Delta Memory :                               -
    Max Swap :                                   -
    Max Processes :                              5
    Max Threads :                                21
    Run time :                                   548 sec.
    Turnaround time :                            549 sec.

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

