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


Performing analysis on: 4FGL_J2050.4-2627_daily_bin1665
RA = 312.61, Dec = -26.4659
tmin = 670896001, tmax = 671155201
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='356915', job_status='RUN', time_executed='2022-04-09 00:36:51.612910', time_epoch_executed='1649489811.61' WHERE source_name='4FGL J2050.4-2627' and cadence='daily' and bin_id='1665'

Database successfully updated.
Done.

Creating custom output directory:
/scratch/kocevski/356915

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

Retrieving the FT1 file...

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

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

Retrieving 46 files...
Done.


Merging files...

Checksum keywords updated successfully.

Merged file saved to:
/scratch/kocevski/356915/ft1_4FGL_J2050.4-2627_daily_bin1665.fits


Retrieving the FT1 file...

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

Retrieving 46 files...
Done.


Merging files...

Merged file saved to:
/scratch/kocevski/356915/ft2_4FGL_J2050.4-2627_daily_bin1665.fits


Selecting the photons:
time -p gtselect infile=/scratch/kocevski/356915/ft1_4FGL_J2050.4-2627_daily_bin1665.fits outfile=/scratch/kocevski/356915/ft1_filteredMKT_4FGL_J2050.4-2627_daily_bin1665.fits ra=312.61 dec=-26.4659 rad=12.0 tmin=670896001.0 tmax=671155201.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.40
user 5.12
sys 0.21

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

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

Number of photons that the gtmktime cut: 883

Generating the livetime cube:
time -p gtltcube evfile="/scratch/kocevski/356915/ft1_filtered_4FGL_J2050.4-2627_daily_bin1665.fits" evtable="EVENTS" scfile=/scratch/kocevski/356915/ft2_4FGL_J2050.4-2627_daily_bin1665.fits sctable="SC_DATA" outfile=/scratch/kocevski/356915/ltcube_670896001_671155201_4FGL_J2050.4-2627_daily_bin1665.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/356915/ft2_4FGL_J2050.4-2627_daily_bin1665.fits
.....................!
real 12.29
user 11.94
sys 0.31

Generating the exposure map:
time -p gtexpmap evfile=/scratch/kocevski/356915/ft1_filtered_4FGL_J2050.4-2627_daily_bin1665.fits evtable="EVENTS" scfile=/scratch/kocevski/356915/ft2_4FGL_J2050.4-2627_daily_bin1665.fits sctable="SC_DATA" expcube=/scratch/kocevski/356915/ltcube_670896001_671155201_4FGL_J2050.4-2627_daily_bin1665.fits outfile=/scratch/kocevski/356915/expmap_670896001_671155201_4FGL_J2050.4-2627_daily_bin1665.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/356915/ltcube_670896001_671155201_4FGL_J2050.4-2627_daily_bin1665.fits
.....................!
real 190.56
user 185.09
sys 4.85

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

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

This is gtbin version HEAD
real 0.55
user 0.38
sys 0.16

Creating the high resolution counts map:
time -p gtbin evfile=/scratch/kocevski/356915/ft1_filtered_4FGL_J2050.4-2627_daily_bin1665.fits scfile=/scratch/kocevski/356915/ft2_4FGL_J2050.4-2627_daily_bin1665.fits outfile=/scratch/kocevski/356915/cmap_HighResolution_670896001_671155201_4FGL_J2050.4-2627_daily_bin1665.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/356915/ft1_filtered_4FGL_J2050.4-2627_daily_bin1665.fits evtable="EVENTS" scfile=/scratch/kocevski/356915/ft2_4FGL_J2050.4-2627_daily_bin1665.fits sctable="SC_DATA" srcmdl=/scratch/kocevski/356915/Model_4FGL_J2050.4-2627_daily_bin1665.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/356915/ft1_filtered_4FGL_J2050.4-2627_daily_bin1665.fits.....................!
real 75.64
user 74.24
sys 1.16

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

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

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

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'norm      '    .10009E-03   1.0000         .10000E-03   10000.    
     2 'norm      '    5.8921       1.0000         .10000E-03   10000.    
     3 'Prefactor '    53.415       1.0000         .10000E-03   10000.    
     4 'Prefactor '    .10044E-03   1.0000         .10000E-03   10000.    
     5 'Prefactor '    .10275E-03   1.0000         .10000E-03   10000.    
     6 'Prefactor '    120.22       1.0000         .10000E-03   10000.    
     7 'norm      '    .10048E-03   1.0000         .10000E-03   10000.    
     8 'Prefactor '    .10002E-03   1.0000         .10000E-03   10000.    
     9 'Prefactor '    12.807       1.0000         .10000E-03   10000.    
    10 'Prefactor '    .49822       1.0000         .10000E-03   10000.    
    11 'norm      '    .49273       1.0000         .10000E-03   10000.    
    12 'Prefactor '    2.9492       1.0000         .10000E-03   10000.    
    13 'Prefactor '    22.863       1.0000         .10000E-03   10000.    
    14 'Normalizat'    .79368       1.0000         .10000E-01   10.000    
    15 'Prefactor '    .98092       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=   9514.466     FROM MIGRAD    STATUS=CONVERGED    288 CALLS     1399 TOTAL
                     EDM=   .23E-09  STRATEGY=1  ERROR MATRIX UNCERTAINTY=  6.8%

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  norm          .10000E-03    12.878       -.40873E-06** at limit **
   2  norm          5.8927        6.4548        .18864E-06    .20770E-04
   3  Prefactor     53.431        48.484       -.65659E-06   -.19044E-04
   4  Prefactor     .10000E-03    3.0956       -.65942E-06** at limit **
   5  Prefactor     .10000E-03    1.5108        .53627E-06** at limit **
   6  Prefactor     120.18        85.981        .13522E-05   -.85148E-05
   7  norm          .10000E-03    17.905        .34379E-05** at limit **
   8  Prefactor     .10000E-03    4.7547        .41883E-06** at limit **
   9  Prefactor     12.809        15.419        .20664E-06   -.10476E-04
  10  Prefactor     .51828        13.980        .48253E-05    .66743E-04
  11  norm          .49244        .71010        .35054E-06   -.15444E-02
  12  Prefactor     2.9493        4.1276        .13708E-06    .15278E-05
  13  Prefactor     22.863        14.263        .11973E-06   -.21678E-04
  14  Normalizat    .79358        .20386       -.34269E-05   -.95989E-04
  15  Prefactor     .98091        .87203E-01    .20690E-06   -.55001E-03
                               ERR DEF=  .500    
Final values: 
  norm       = 0.0001
  norm       = 5.89269
  Prefactor  = 53.4309
  Prefactor  = 0.0001
  Prefactor  = 0.0001
  Prefactor  = 120.179
  norm       = 0.0001
  Prefactor  = 0.0001
  Prefactor  = 12.8087
  Prefactor  = 0.518281
  norm       = 0.492439
  Prefactor  = 2.9493
  Prefactor  = 22.8626
  Normalizat = 0.79358
  Prefactor  = 0.980911
 **********
 **   18 **HESSE 
 **********

 FCN=   9514.466     FROM HESSE     STATUS=OK           186 CALLS     1585 TOTAL
                     EDM=   .57E-08    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  norm          .10000E-03    13.144        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   2  norm          5.8927        6.4585        .16544E-03   -1.5222    
   3  Prefactor     53.431        48.513        .54879E-04   -1.4245    
   4  Prefactor     .10000E-03    3.0763        .16578E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   5  Prefactor     .10000E-03    4.9233        .22908E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   6  Prefactor     120.18        86.020        .18352E-03   -1.3511    
   7  norm          .10000E-03    17.888        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   8  Prefactor     .10000E-03    4.7740        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   9  Prefactor     12.809        15.419        .11193E-03   -1.4992    
  10  Prefactor     .51828        14.499        .28685E-02   -1.5564    
  11  norm          .49244        6.4743        .22482E-02   -1.5568    
  12  Prefactor     2.9493        4.1165        .22806E-03   -1.5364    
  13  Prefactor     22.863        14.289        .83772E-04   -1.4751    
  14  Normalizat    .79358        .22703        .37060E-03   -1.0031    
  15  Prefactor     .98091        .10019        .15561E-03   -.93369    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 5.73551e-09
Minuit parameter uncertainties:
  1  5.80734e-05
  2  6.45927
  3  48.5492
  4  2.83837e-05
  5  8.12017e-05
  6  86.1099
  7  1.23286e-05
  8  1.3384e-05
  9  15.424
  10  5.48348
  11  3.57121
  12  4.11691
  13  14.2913
  14  0.227306
  15  0.100209
Done.

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

Extracting fit parameters...

4FGL J2050.4-2627
   Spectrum: LogParabola
313         norm:  1.000e-04  1.233e-05  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.809e-01  1.002e-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.936e-01  2.273e-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.02e-08 ph cm-2 s-1
Energy Flux Upper Limit: 3.05e-05 MeV cm-2 s-1

Saving results to:
/scratch/kocevski/356915/likelihoodResults_670896001_671155201_4FGL_J2050.4-2627_daily_bin1665.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) = 9514.46594964
delta logL = -0.00026640555734

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

MINUIT Return Code (Free Index): 0
logL (Free Index) = 9514.46568284
delta logL = 3.92621586798e-07

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'norm      '    .10536E-03   1.0000         .10000E-03   10000.    
     2 'alpha     '    2.1232       1.0000          .0000       5.0000    
     3 'Normalizat'    .79356       1.0000         .10000E-01   10.000    
     4 'Prefactor '    .98093       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=   9514.466     FROM MIGRAD    STATUS=CONVERGED     97 CALLS      256 TOTAL
                     EDM=   .78E-09    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  norm          .10002E-03    43.487        .18142E-02** at limit **
   2  alpha         2.2152        3.5420        .50000       -.23451E-04
   3  Normalizat    .79358        .21038        .37060E-03   -.47426E-04
   4  Prefactor     .98091        .98209E-01    .15561E-03   -.26008E-04
                               ERR DEF=  .500    
Final values: 
  norm       = 0.000100021
  alpha      = 2.21521
  Normalizat = 0.793577
  Prefactor  = 0.980912
 **********
 **   18 **HESSE 
 **********

 FCN=   9514.466     FROM HESSE     STATUS=OK            29 CALLS      285 TOTAL
                     EDM=   .10E-08    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  norm          .10002E-03    34.318        .36285E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   2  alpha         2.2152        3.4820        .50000       -.11417    
   3  Normalizat    .79358        .21054        .14824E-04   -1.0031    
   4  Prefactor     .98091        .98282E-01    .62245E-05   -.93369    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 1.04863e-09
Minuit parameter uncertainties:
  1  0.00168158
  2  2.49496
  3  0.210756
  4  0.0983002
shell-init: error retrieving current directory: getcwd: cannot access parent directories: No such file or directory
rmdir: failed to remove `/scratch/kocevski/356915': 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) = 9514.46568189
delta logL = 1.3443914213e-06

Extracting fit parameters...

4FGL J2050.4-2627
   Spectrum: LogParabola
313         norm:  1.000e-04  1.682e-03  1.000e-04  1.000e+04 ( 1.000e-13)
314        alpha:  2.215e+00  2.495e+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.809e-01  9.830e-02  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.936e-01  2.108e-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/356915/cmap_HighResolution_670896001_671155201_4FGL_J2050.4-2627_daily_bin1665.png

Cleaning up...

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

Updating database...

UPDATE lightcurve_data_v2 SET energy_flux_upper_limit='3.05e-05', job_status='DONE', photon_flux_upper_limit='5.02e-08', time_completed='2022-04-09 00:47:08.106324', job_id='356915', GAL2='0.98', fit_tolerance='1e-08', EG2='0.79', EG='0.79', time_epoch_completed='1649490428.11', return_code2='0', ts='-0.00', comment='SUCCESS', return_code='0', GAL='0.98', dlogl='1.34e-06', ts2='-0.00', photon_index_error='0.00', photon_index='2.06' WHERE bin_id='1665' AND source_name='4FGL J2050.4-2627' AND cadence='daily';

Database successfully updated.


Analysis Complete.


Sat Apr  9 00:47:08 PDT 2022


------------------------------------------------------------
Sender: LSF System <lsf@bullet0210>
Subject: Job 356915: <4FGL_J2050.4-2627_daily_bin1665> in cluster <slac> Done

Job <4FGL_J2050.4-2627_daily_bin1665> was submitted from host <rhel6-64k> by user <kocevski> in cluster <slac> at Sat Apr  9 00:35:35 2022
Job was executed on host(s) <bullet0210>, in queue <medium>, as user <kocevski> in cluster <slac> at Sat Apr  9 00:35:38 2022
</u/ki/kocevski> was used as the home directory.
</u/ki/kocevski> was used as the working directory.
Started at Sat Apr  9 00:35:38 2022
Terminated at Sat Apr  9 00:47:09 2022
Results reported at Sat Apr  9 00:47:09 2022

Your job looked like:

------------------------------------------------------------
# LSBATCH: User input
/nfs/farm/g/glast/g/LCRepository/Likelihood/Scripts/LikelihoodAnalysis.py 4FGL_J2050.4-2627_daily_bin1665 312.61 -26.4659 670896001 671155201 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 :                                   618.00 sec.
    Max Memory :                                 1257 MB
    Average Memory :                             331.19 MB
    Total Requested Memory :                     -
    Delta Memory :                               -
    Max Swap :                                   -
    Max Processes :                              5
    Max Threads :                                21
    Run time :                                   691 sec.
    Turnaround time :                            694 sec.

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

