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 78 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 = 7473
number of fields = 31
RA_SUN column already exists. File will not be modified.
Done.


Performing analysis on: 4FGL_J2050.4-2627_daily_bin1681
RA = 312.61, Dec = -26.4659
tmin = 675043201, tmax = 675302401
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='755765', job_status='RUN', time_executed='2022-05-27 00:57:19.811252', time_epoch_executed='1653638239.81' WHERE source_name='4FGL J2050.4-2627' and cadence='daily' and bin_id='1681'

Database successfully updated.
Done.

Creating custom output directory:
/scratch/kocevski/755765

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

Retrieving the FT1 file...

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

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

Retrieving 46 files...
Done.


Merging files...

Checksum keywords updated successfully.

Merged file saved to:
/scratch/kocevski/755765/ft1_4FGL_J2050.4-2627_daily_bin1681.fits


Retrieving the FT1 file...

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

Retrieving 46 files...
Done.


Merging files...

Merged file saved to:
/scratch/kocevski/755765/ft2_4FGL_J2050.4-2627_daily_bin1681.fits


Selecting the photons:
time -p gtselect infile=/scratch/kocevski/755765/ft1_4FGL_J2050.4-2627_daily_bin1681.fits outfile=/scratch/kocevski/755765/ft1_filteredMKT_4FGL_J2050.4-2627_daily_bin1681.fits ra=312.61 dec=-26.4659 rad=12.0 tmin=675043201.0 tmax=675302401.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.53
user 3.33
sys 0.20

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

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

Generating the livetime cube:
time -p gtltcube evfile="/scratch/kocevski/755765/ft1_filtered_4FGL_J2050.4-2627_daily_bin1681.fits" evtable="EVENTS" scfile=/scratch/kocevski/755765/ft2_4FGL_J2050.4-2627_daily_bin1681.fits sctable="SC_DATA" outfile=/scratch/kocevski/755765/ltcube_675043201_675302401_4FGL_J2050.4-2627_daily_bin1681.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/755765/ft2_4FGL_J2050.4-2627_daily_bin1681.fits
.....................!
real 12.66
user 12.33
sys 0.33

Generating the exposure map:
time -p gtexpmap evfile=/scratch/kocevski/755765/ft1_filtered_4FGL_J2050.4-2627_daily_bin1681.fits evtable="EVENTS" scfile=/scratch/kocevski/755765/ft2_4FGL_J2050.4-2627_daily_bin1681.fits sctable="SC_DATA" expcube=/scratch/kocevski/755765/ltcube_675043201_675302401_4FGL_J2050.4-2627_daily_bin1681.fits outfile=/scratch/kocevski/755765/expmap_675043201_675302401_4FGL_J2050.4-2627_daily_bin1681.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/755765/ltcube_675043201_675302401_4FGL_J2050.4-2627_daily_bin1681.fits
.....................!
real 191.07
user 186.45
sys 4.48

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/755765/ft1_filtered_4FGL_J2050.4-2627_daily_bin1681.fits scfile=/scratch/kocevski/755765/ft2_4FGL_J2050.4-2627_daily_bin1681.fits outfile=/scratch/kocevski/755765/cmap_675043201_675302401_4FGL_J2050.4-2627_daily_bin1681.fits algorithm="CMAP" ebinalg="LOG" emin=30.0 emax=200000.0 ebinfile=NONE tbinalg="LIN" tbinfile=NONE nxpix=160 nypix=160 binsz=0.25 coordsys="CEL" xref=312.61 yref=-26.4659 axisrot=0.0 rafield="RA" decfield="DEC" proj="AIT" hpx_ordering_scheme="RING" hpx_order=3 hpx_ebin=yes hpx_region="" evtable="EVENTS" sctable="SC_DATA" efield="ENERGY" tfield="TIME" chatter=2 clobber=yes debug=no gui=no mode="ql"

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

This is gtbin version HEAD
real 0.54
user 0.38
sys 0.15

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

Computing the diffuse response:
time -p gtdiffrsp evfile=/scratch/kocevski/755765/ft1_filtered_4FGL_J2050.4-2627_daily_bin1681.fits evtable="EVENTS" scfile=/scratch/kocevski/755765/ft2_4FGL_J2050.4-2627_daily_bin1681.fits sctable="SC_DATA" srcmdl=/scratch/kocevski/755765/Model_4FGL_J2050.4-2627_daily_bin1681.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/755765/ft1_filtered_4FGL_J2050.4-2627_daily_bin1681.fits.....................!
real 74.05
user 72.79
sys 1.19

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

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

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

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'norm      '    18.752       1.0000         .10000E-03   10000.    
     2 'norm      '    .10024E-03   1.0000         .10000E-03   10000.    
     3 'Prefactor '    .10082E-03   1.0000         .10000E-03   10000.    
     4 'Prefactor '    .13819E-03   1.0000         .10000E-03   10000.    
     5 'Prefactor '    1.2638       1.0000         .10000E-03   10000.    
     6 'Prefactor '    .10972E-03   1.0000         .10000E-03   10000.    
     7 'norm      '    1.2071       1.0000         .10000E-03   10000.    
     8 'Prefactor '    10.875       1.0000         .10000E-03   10000.    
     9 'Prefactor '    1.9277       1.0000         .10000E-03   10000.    
    10 'Prefactor '    .11751E-03   1.0000         .10000E-03   10000.    
    11 'norm      '    6.3171       1.0000         .10000E-03   10000.    
    12 'Prefactor '    .71837E-02   1.0000         .10000E-03   10000.    
    13 'Prefactor '    .10016E-03   1.0000         .10000E-03   10000.    
    14 'Normalizat'    1.3245       1.0000         .10000E-01   10.000    
    15 'Prefactor '    .91361       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=   8885.103     FROM MIGRAD    STATUS=CONVERGED    287 CALLS     1192 TOTAL
                     EDM=   .19E-08  STRATEGY=1  ERROR MATRIX UNCERTAINTY=   .7%

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  norm          18.756        12.538       -.34641E-05    .19175E-04
   2  norm          .10000E-03    5.5496       -.14197E-06** at limit **
   3  Prefactor     .10000E-03    22.835       -.77185E-06** at limit **
   4  Prefactor     .10000E-03    3.0411       -.55679E-06** at limit **
   5  Prefactor     1.2630        1.9915       -.59316E-06   -.68043E-03
   6  Prefactor     .10000E-03    22.879        .25010E-06** at limit **
   7  norm          1.2094        67.867       -.21533E-04   -.12190E-03
   8  Prefactor     10.875        19.000       -.49691E-06    .24207E-03
   9  Prefactor     1.8623        133.21       -.17245E-03    .30531E-04
  10  Prefactor     .10000E-03    7.1602       -.21177E-06** at limit **
  11  norm          6.3268        8.6019        .35024E-05   -.10032E-03
  12  Prefactor     .10162E-03    4.2523       -.72082E-06** at limit **
  13  Prefactor     .10000E-03    8.2707       -.82965E-06** at limit **
  14  Normalizat    1.3248        .21020        .86067E-05    .84677E-03
  15  Prefactor     .91361        .91657E-01    .84031E-06    .19680E-02
                               ERR DEF=  .500    
Final values: 
  norm       = 18.7562
  norm       = 0.0001
  Prefactor  = 0.0001
  Prefactor  = 0.000100004
  Prefactor  = 1.26304
  Prefactor  = 0.0001
  norm       = 1.20941
  Prefactor  = 10.8748
  Prefactor  = 1.86229
  Prefactor  = 0.000100001
  norm       = 6.32684
  Prefactor  = 0.000101624
  Prefactor  = 0.0001
  Normalizat = 1.3248
  Prefactor  = 0.913609
 **********
 **   18 **HESSE 
 **********

 FCN=   8885.103     FROM HESSE     STATUS=OK           192 CALLS     1384 TOTAL
                     EDM=   .43E-08    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  norm          18.756        12.574        .92492E-04   -1.4842    
   2  norm          .10000E-03    5.5816        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   3  Prefactor     .10000E-03    22.869        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   4  Prefactor     .10000E-03    10.281        .31661E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   5  Prefactor     1.2630        1.9528        .16243E-03   -1.5483    
   6  Prefactor     .10000E-03    22.889        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   7  norm          1.2094        70.939        .41227E-03   -1.5488    
   8  Prefactor     10.875        19.033        .12149E-03   -1.5048    
   9  Prefactor     1.8623        136.11        .29919E-03   -1.5435    
  10  Prefactor     .10000E-03    7.4472        .36285E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  11  norm          6.3268        8.5827        .15970E-03   -1.5205    
  12  Prefactor     .10162E-03    7.3430        .62782E-01   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  13  Prefactor     .10000E-03    8.3009        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  14  Normalizat    1.3248        .24920        .32918E-03   -.82829    
  15  Prefactor     .91361        .10955        .17423E-03   -.95667    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 4.34667e-09
Minuit parameter uncertainties:
  1  12.5753
  2  3.34529e-05
  3  7.52693e-05
  4  0.000403422
  5  1.95288
  6  1.97271e-05
  7  18.5474
  8  19.0439
  9  31.9173
  10  0.000143211
  11  8.58432
  12  0.00690807
  13  5.17266e-05
  14  0.249426
  15  0.109581
Done.

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

Extracting fit parameters...

4FGL J2050.4-2627
   Spectrum: LogParabola
313         norm:  1.209e+00  1.855e+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.136e-01  1.096e-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.325e+00  2.494e-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.60e-08 ph cm-2 s-1
Energy Flux Upper Limit: 3.39e-05 MeV cm-2 s-1

Saving results to:
/scratch/kocevski/755765/likelihoodResults_675043201_675302401_4FGL_J2050.4-2627_daily_bin1681.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) = 8885.00266939
delta logL = 0.100526847913

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

MINUIT Return Code (Free Index): 0
logL (Free Index) = 8884.98140279
delta logL = 0.121793451064

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'norm      '    4.1219       1.0000         .10000E-03   10000.    
     2 'alpha     '    2.9069       1.0000          .0000       5.0000    
     3 'Normalizat'    1.3172       1.0000         .10000E-01   10.000    
     4 'Prefactor '    .91227       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=   8884.981     FROM MIGRAD    STATUS=CONVERGED     48 CALLS      275 TOTAL
                     EDM=   .71E-10    STRATEGY= 1      ERR MATRIX NOT POS-DEF

  EXT PARAMETER                APPROXIMATE        STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  norm          4.1219        387.15        .49638E-02    .42290E-03
   2  alpha         2.9069        3.1542        .41862        .57608E-04
   3  Normalizat    1.3171        .58863E-01    .74560E-01    .15645E-04
   4  Prefactor     .91232        .24688E-01    .45161E-01    .42262E-05
                               ERR DEF=  .500    
Final values: 
  norm       = 4.12187
  alpha      = 2.90694
  Normalizat = 1.31708
  Prefactor  = 0.912317
 **********
 **   18 **HESSE 
 **********

 FCN=   8884.981     FROM HESSE     STATUS=OK            33 CALLS      308 TOTAL
                     EDM=   .23E-07    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  norm          4.1219        14.129        .19855E-03   -1.5302    
   2  alpha         2.9069        1.6106        .29797E-01    .16350    
   3  Normalizat    1.3171        .24059        .32996E-03   -.83058    
   4  Prefactor     .91232        .10839        .17432E-03   -.95712    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 2.29386e-08
Minuit parameter uncertainties:
  1  14.1404
  2  1.75496
  3  0.2408
  4  0.10842
shell-init: error retrieving current directory: getcwd: cannot access parent directories: No such file or directory
rmdir: failed to remove `/scratch/kocevski/755765': 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) = 8884.98140268
delta logL = 0.121793554921

Extracting fit parameters...

4FGL J2050.4-2627
   Spectrum: LogParabola
313         norm:  4.122e+00  1.414e+01  1.000e-04  1.000e+04 ( 1.000e-13)
314        alpha:  2.907e+00  1.755e+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:  9.123e-01  1.084e-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.317e+00  2.408e-01  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 -1.000e-01 [aplpy.core]
INFO: Auto-setting vmax to  1.110e+00 [aplpy.core]
Saving /scratch/kocevski/755765/cmap_HighResolution_675043201_675302401_4FGL_J2050.4-2627_daily_bin1681.png

Cleaning up...

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

Updating database...

UPDATE lightcurve_data_v2 SET energy_flux_upper_limit='3.39e-05', job_status='DONE', photon_flux_upper_limit='5.60e-08', time_completed='2022-05-27 01:07:00.287435', job_id='755765', GAL2='0.91', fit_tolerance='1e-08', EG2='1.32', EG='1.32', time_epoch_completed='1653638820.29', return_code2='0', ts='0.00', comment='SUCCESS', return_code='0', GAL='0.91', dlogl='1.22e-01', ts2='0.25', photon_index_error='0.00', photon_index='2.06' WHERE bin_id='1681' AND source_name='4FGL J2050.4-2627' AND cadence='daily';

Database successfully updated.


Analysis Complete.


Fri May 27 01:07:00 PDT 2022


------------------------------------------------------------
Sender: LSF System <lsf@bullet0064>
Subject: Job 755765: <4FGL_J2050.4-2627_daily_bin1681> in cluster <slac> Done

Job <4FGL_J2050.4-2627_daily_bin1681> was submitted from host <rhel6-64p> by user <kocevski> in cluster <slac> at Fri May 27 00:55:17 2022
Job was executed on host(s) <bullet0064>, in queue <medium>, as user <kocevski> in cluster <slac> at Fri May 27 00:55:53 2022
</u/ki/kocevski> was used as the home directory.
</u/ki/kocevski> was used as the working directory.
Started at Fri May 27 00:55:53 2022
Terminated at Fri May 27 01:07:01 2022
Results reported at Fri May 27 01:07:01 2022

Your job looked like:

------------------------------------------------------------
# LSBATCH: User input
/nfs/farm/g/glast/g/LCRepository/Likelihood/Scripts/LikelihoodAnalysis.py 4FGL_J2050.4-2627_daily_bin1681 312.61 -26.4659 675043201 675302401 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 :                                   583.00 sec.
    Max Memory :                                 1256 MB
    Average Memory :                             320.04 MB
    Total Requested Memory :                     -
    Delta Memory :                               -
    Max Swap :                                   -
    Max Processes :                              5
    Max Threads :                                21
    Run time :                                   667 sec.
    Turnaround time :                            704 sec.

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

