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 150 seconds before starting...
Proceeding.

Importing modules...
This is make3FGLxml version 01r0.
The default diffuse model files and names are for pass 8 and assume you have v10r00p05 of the Fermi Science Tools or higher.
This is make4FGLxml version 01r04.
The default diffuse model files and names are for pass 8 and 4FGL and assume you have v11r5p3 of the Fermi Science Tools or higher.

WARNING: version mismatch between CFITSIO header (v3.43) and linked library (v3.41).

/nfs/farm/g/glast/g/LCRepository/bin/miniconda2/envs/fermitools_v1.0.5/lib/python2.7/site-packages/matplotlib/cbook/deprecation.py:106: MatplotlibDeprecationWarning: The mpl_toolkits.axes_grid module was deprecated in version 2.1. Use mpl_toolkits.axes_grid1 and mpl_toolkits.axisartist provies the same functionality instead.
  warnings.warn(message, mplDeprecation, stacklevel=1)

WARNING: version mismatch between CFITSIO header (v3.43) and linked library (v3.41).

number of points = 7470
number of fields = 31
RA_SUN column already exists. File will not be modified.
Done.


Performing analysis on: 4FGL_J2050.4-2627_daily_bin1680
RA = 312.61, Dec = -26.4659
tmin = 674784001, tmax = 675043201
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='598494', job_status='RUN', time_executed='2022-05-24 01:09:30.955575', time_epoch_executed='1653379770.96' WHERE source_name='4FGL J2050.4-2627' and cadence='daily' and bin_id='1680'

Database successfully updated.
Done.

Creating custom output directory:
/scratch/kocevski/598494

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

Retrieving the FT1 file...

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

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

Retrieving 46 files...
Done.


Merging files...

Checksum keywords updated successfully.

Merged file saved to:
/scratch/kocevski/598494/ft1_4FGL_J2050.4-2627_daily_bin1680.fits


Retrieving the FT1 file...

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

Retrieving 46 files...
Done.


Merging files...

Merged file saved to:
/scratch/kocevski/598494/ft2_4FGL_J2050.4-2627_daily_bin1680.fits


Selecting the photons:
time -p gtselect infile=/scratch/kocevski/598494/ft1_4FGL_J2050.4-2627_daily_bin1680.fits outfile=/scratch/kocevski/598494/ft1_filteredMKT_4FGL_J2050.4-2627_daily_bin1680.fits ra=312.61 dec=-26.4659 rad=12.0 tmin=674784001.0 tmax=675043201.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.70
user 3.36
sys 0.21

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

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

Number of photons that the gtmktime cut: 739

Generating the livetime cube:
time -p gtltcube evfile="/scratch/kocevski/598494/ft1_filtered_4FGL_J2050.4-2627_daily_bin1680.fits" evtable="EVENTS" scfile=/scratch/kocevski/598494/ft2_4FGL_J2050.4-2627_daily_bin1680.fits sctable="SC_DATA" outfile=/scratch/kocevski/598494/ltcube_674784001_675043201_4FGL_J2050.4-2627_daily_bin1680.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/598494/ft2_4FGL_J2050.4-2627_daily_bin1680.fits
.....................!
real 14.89
user 14.20
sys 0.34

Generating the exposure map:
time -p gtexpmap evfile=/scratch/kocevski/598494/ft1_filtered_4FGL_J2050.4-2627_daily_bin1680.fits evtable="EVENTS" scfile=/scratch/kocevski/598494/ft2_4FGL_J2050.4-2627_daily_bin1680.fits sctable="SC_DATA" expcube=/scratch/kocevski/598494/ltcube_674784001_675043201_4FGL_J2050.4-2627_daily_bin1680.fits outfile=/scratch/kocevski/598494/expmap_674784001_675043201_4FGL_J2050.4-2627_daily_bin1680.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/598494/ltcube_674784001_675043201_4FGL_J2050.4-2627_daily_bin1680.fits
.....................!
real 192.75
user 185.93
sys 5.16

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/598494/ft1_filtered_4FGL_J2050.4-2627_daily_bin1680.fits scfile=/scratch/kocevski/598494/ft2_4FGL_J2050.4-2627_daily_bin1680.fits outfile=/scratch/kocevski/598494/cmap_674784001_675043201_4FGL_J2050.4-2627_daily_bin1680.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 7.48
user 0.39
sys 0.18

Creating the high resolution counts map:
time -p gtbin evfile=/scratch/kocevski/598494/ft1_filtered_4FGL_J2050.4-2627_daily_bin1680.fits scfile=/scratch/kocevski/598494/ft2_4FGL_J2050.4-2627_daily_bin1680.fits outfile=/scratch/kocevski/598494/cmap_HighResolution_674784001_675043201_4FGL_J2050.4-2627_daily_bin1680.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 3.61
user 0.41
sys 0.18

Computing the diffuse response:
time -p gtdiffrsp evfile=/scratch/kocevski/598494/ft1_filtered_4FGL_J2050.4-2627_daily_bin1680.fits evtable="EVENTS" scfile=/scratch/kocevski/598494/ft2_4FGL_J2050.4-2627_daily_bin1680.fits sctable="SC_DATA" srcmdl=/scratch/kocevski/598494/Model_4FGL_J2050.4-2627_daily_bin1680.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/598494/ft1_filtered_4FGL_J2050.4-2627_daily_bin1680.fits.....................!
real 75.63
user 67.23
sys 1.17

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

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

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

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'norm      '    25.075       1.0000         .10000E-03   10000.    
     2 'norm      '    8.4815       1.0000         .10000E-03   10000.    
     3 'Prefactor '    .10000E-03   1.0000         .10000E-03   10000.    
     4 'Prefactor '    .30368       1.0000         .10000E-03   10000.    
     5 'Prefactor '    .10464E-03   1.0000         .10000E-03   10000.    
     6 'Prefactor '    106.41       1.0000         .10000E-03   10000.    
     7 'norm      '    39.242       1.0000         .10000E-03   10000.    
     8 'Prefactor '    .10065E-03   1.0000         .10000E-03   10000.    
     9 'Prefactor '    48.400       1.0000         .10000E-03   10000.    
    10 'Prefactor '    .10028E-03   1.0000         .10000E-03   10000.    
    11 'norm      '    .10000E-03   1.0000         .10000E-03   10000.    
    12 'Prefactor '    10.173       1.0000         .10000E-03   10000.    
    13 'Prefactor '    20.354       1.0000         .10000E-03   10000.    
    14 'Normalizat'    1.1023       1.0000         .10000E-01   10.000    
    15 'Prefactor '    .96641       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=   8076.049     FROM MIGRAD    STATUS=CONVERGED    273 CALLS     1140 TOTAL
                     EDM=   .18E-09  STRATEGY=1  ERROR MATRIX UNCERTAINTY=  5.3%

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  norm          25.074        16.937        .14393E-06   -.32159E-04
   2  norm          8.4811        10.089        .19332E-06    .16319E-03
   3  Prefactor     .10000E-03    30.205        .75301E-06** at limit **
   4  Prefactor     .35085        26.244        .18748E-04   -.15428E-04
   5  Prefactor     .10000E-03    2.3201        .64528E-07** at limit **
   6  Prefactor     106.41        77.742       -.72169E-06   -.55495E-04
   7  norm          39.240        24.998        .14227E-07   -.62269E-04
   8  Prefactor     .10000E-03    24.326       -.14044E-06** at limit **
   9  Prefactor     48.400        28.938        .33681E-06    .91345E-04
  10  Prefactor     .10000E-03    2.8195       -.51263E-07** at limit **
  11  norm          .10000E-03    2.2292        .59886E-08** at limit **
  12  Prefactor     10.174        9.0541        .65802E-06    .17685E-03
  13  Prefactor     20.355        15.812        .46179E-07    .34716E-04
  14  Normalizat    1.1024        .22805       -.11999E-06    .24543E-04
  15  Prefactor     .96640        .99363E-01   -.60850E-06   -.23631E-03
                               ERR DEF=  .500    
Final values: 
  norm       = 25.0736
  norm       = 8.48109
  Prefactor  = 0.000100001
  Prefactor  = 0.350853
  Prefactor  = 0.0001
  Prefactor  = 106.414
  norm       = 39.2404
  Prefactor  = 0.000100003
  Prefactor  = 48.3997
  Prefactor  = 0.0001
  norm       = 0.0001
  Prefactor  = 10.1741
  Prefactor  = 20.3549
  Normalizat = 1.10235
  Prefactor  = 0.966404
 **********
 **   18 **HESSE 
 **********

 FCN=   8076.049     FROM HESSE     STATUS=OK           182 CALLS     1322 TOTAL
                     EDM=   .57E-07    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  norm          25.074        16.991        .79997E-04   -1.4706    
   2  norm          8.4811        10.090        .13765E-03   -1.5125    
   3  Prefactor     .10000E-03    30.083        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   4  Prefactor     .35085        26.239        .37534E-02   -1.5590    
   5  Prefactor     .10000E-03    4.9960        .26407E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   6  Prefactor     106.41        77.821        .38984E-04   -1.3641    
   7  norm          39.240        24.973        .31992E-03   -1.4454    
   8  Prefactor     .10000E-03    24.275        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   9  Prefactor     48.400        28.951        .57639E-04   -1.4315    
  10  Prefactor     .10000E-03    2.8341        .14732E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  11  norm          .10000E-03    2.2306        .13104E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  12  Prefactor     10.174        9.0721        .12562E-03   -1.5070    
  13  Prefactor     20.355        15.815        .88779E-04   -1.4805    
  14  Normalizat    1.1024        .26776        .36356E-03   -.89676    
  15  Prefactor     .96640        .11843        .17257E-03   -.93858    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 5.72662e-08
Minuit parameter uncertainties:
  1  16.9945
  2  10.0916
  3  0.000297388
  4  6.07021
  5  9.33541e-06
  6  77.8958
  7  24.9795
  8  0.000555471
  9  28.9593
  10  8.18906e-06
  11  7.6695e-07
  12  9.07337
  13  15.8179
  14  0.268087
  15  0.118466
Done.

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

Extracting fit parameters...

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

GAL_V02
   Spectrum: PowerLaw
546    Prefactor:  9.664e-01  1.185e-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.102e+00  2.681e-01  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Fixed Index): 6.74
Ra Dec: 312.610 -26.466
Photon Index (Fixed Index): 2.06 +/- 0.00
Photon Flux (Fixed Index): 3.91e-08 +/- 2.49e-08
Energy Flux (Fixed Index): 2.37e-05 +/- 1.51e-05

Performing a free index iterative likelihood fit...

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

Done.

Freeing candidate source...
Done.

Fit tolerance = 1

Performing likelihood fit...
Done.

MINUIT Return Code (Free Index): 0
logL (Free Index) = 8075.90274803
delta logL = 0.146197349428

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

MINUIT Return Code (Free Index): 0
logL (Free Index) = 8075.89040329
delta logL = 0.158542085928

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'norm      '    43.244       1.0000         .10000E-03   10000.    
     2 'alpha     '    1.6983       1.0000          .0000       5.0000    
     3 'Normalizat'    1.1140       1.0000         .10000E-01   10.000    
     4 'Prefactor '    .96389       1.0000          .0000       10.000    
 **********
 **   15 **SET ERR    .5000    
 **********
 **********
 **   16 **SET GRAD    1.000    
 **********
 **********
 **   17 **MINIMIZE    .5490E+05   .2000E-04
 **********

 MIGRAD MINIMIZATION HAS CONVERGED.

 MIGRAD WILL VERIFY CONVERGENCE AND ERROR MATRIX.

 MIGRAD MINIMIZATION HAS CONVERGED.

 MIGRAD WILL VERIFY CONVERGENCE AND ERROR MATRIX.

 FCN=   8075.890     FROM MIGRAD    STATUS=CONVERGED     83 CALLS      244 TOTAL
                     EDM=   .39E-09    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  norm          43.244        27.010        .60963E-04   -.34183E-03
   2  alpha         1.6981        .59257        .18849E-01   -.57452E-04
   3  Normalizat    1.1140        .25784        .36192E-03    .50511E-04
   4  Prefactor     .96391        .11623        .17276E-03    .98868E-04
                               ERR DEF=  .500    
Final values: 
  norm       = 43.2444
  alpha      = 1.6981
  Normalizat = 1.11399
  Prefactor  = 0.963911
 **********
 **   18 **HESSE 
 **********

 FCN=   8075.890     FROM HESSE     STATUS=OK            23 CALLS      267 TOTAL
                     EDM=   .39E-09    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  norm          43.244        26.965        .12193E-04   -1.4392    
   2  alpha         1.6981        .59157        .75397E-03   -.32653    
   3  Normalizat    1.1140        .25800        .14477E-04   -.89304    
   4  Prefactor     .96391        .11631        .34552E-04   -.93942    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 3.94319e-10
Minuit parameter uncertainties:
  1  26.973
  2  0.597906
  3  0.258295
  4  0.116343
shell-init: error retrieving current directory: getcwd: cannot access parent directories: No such file or directory
rmdir: failed to remove `/scratch/kocevski/598494': 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) = 8075.8904032
delta logL = 0.158542175777

Extracting fit parameters...

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

GAL_V02
   Spectrum: PowerLaw
546    Prefactor:  9.639e-01  1.163e-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.114e+00  2.583e-01  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Free Index): 7.07
Ra Dec: 312.610 -26.466
Photon Index (Free Index): 1.70 +/- 0.60
Photon Flux (Free Index): 2.84e-08 +/- 2.35e-08
Energy Flux (Free Index): 3.09e-05 +/- 2.56e-05

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/598494/cmap_HighResolution_674784001_675043201_4FGL_J2050.4-2627_daily_bin1680.png

Cleaning up...

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

Updating database...

UPDATE lightcurve_data_v2 SET comment='SUCCESS', photon_flux='3.91e-08', energy_flux2='3.09e-05', photon_flux_error='2.49e-08', dlogl='1.59e-01', energy_flux='2.37e-05', photon_flux2='2.84e-08', job_status='DONE', time_completed='2022-05-24 01:18:25.728229', photon_index_error2='0.60', photon_index2='1.70', ts='6.74', fit_tolerance='1e-08', GAL='0.97', photon_index_error='0.00', energy_flux_error2='2.56e-05', EG='1.10', time_epoch_completed='1653380305.73', return_code='0', job_id='598494', GAL2='0.96', EG2='1.11', return_code2='0', energy_flux_error='1.51e-05', photon_flux_error2='2.35e-08', ts2='7.07', photon_index='2.06' WHERE bin_id='1680' AND source_name='4FGL J2050.4-2627' AND cadence='daily';

Database successfully updated.


Analysis Complete.


Tue May 24 01:18:25 PDT 2022


------------------------------------------------------------
Sender: LSF System <lsf@bullet0056>
Subject: Job 598494: <4FGL_J2050.4-2627_daily_bin1680> in cluster <slac> Done

Job <4FGL_J2050.4-2627_daily_bin1680> was submitted from host <rhel6-64k> by user <kocevski> in cluster <slac> at Tue May 24 01:05:33 2022
Job was executed on host(s) <bullet0056>, in queue <medium>, as user <kocevski> in cluster <slac> at Tue May 24 01:06:49 2022
</u/ki/kocevski> was used as the home directory.
</u/ki/kocevski> was used as the working directory.
Started at Tue May 24 01:06:49 2022
Terminated at Tue May 24 01:18:29 2022
Results reported at Tue May 24 01:18:29 2022

Your job looked like:

------------------------------------------------------------
# LSBATCH: User input
/nfs/farm/g/glast/g/LCRepository/Likelihood/Scripts/LikelihoodAnalysis.py 4FGL_J2050.4-2627_daily_bin1680 312.61 -26.4659 674784001 675043201 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 :                                   510.00 sec.
    Max Memory :                                 1257 MB
    Average Memory :                             289.96 MB
    Total Requested Memory :                     -
    Delta Memory :                               -
    Max Swap :                                   -
    Max Processes :                              5
    Max Threads :                                21
    Run time :                                   700 sec.
    Turnaround time :                            776 sec.

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

