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 123 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 make4FGLDR3xml version 01r09.
The default diffuse model files and names are for P8R3, 4FGL DRs, and the default fermitools directory locations.

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


Performing analysis on: 4FGL_J2050.4-2627_daily_bin1757
RA = 312.61, Dec = -26.4659
tmin = 694742401, tmax = 695001601
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='220721', job_status='RUN', time_executed='2023-01-10 02:18:59.056326', time_epoch_executed='1673345939.06' WHERE source_name='4FGL J2050.4-2627' and cadence='daily' and bin_id='1757'

Database successfully updated.
Done.

Creating custom output directory:
/scratch/kocevski/220721

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

Retrieving the FT1 file...

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

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

Retrieving 47 files...
Done.


Merging files...

Checksum keywords updated successfully.

Merged file saved to:
/scratch/kocevski/220721/ft1_4FGL_J2050.4-2627_daily_bin1757.fits


Retrieving the FT1 file...

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

Retrieving 47 files...
Done.


Merging files...

Merged file saved to:
/scratch/kocevski/220721/ft2_4FGL_J2050.4-2627_daily_bin1757.fits


Selecting the photons:
time -p gtselect infile=/scratch/kocevski/220721/ft1_4FGL_J2050.4-2627_daily_bin1757.fits outfile=/scratch/kocevski/220721/ft1_filteredMKT_4FGL_J2050.4-2627_daily_bin1757.fits ra=312.61 dec=-26.4659 rad=12.0 tmin=694742401.0 tmax=695001601.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 2.96
user 2.72
sys 0.21

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

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

Number of photons that the gtmktime cut: 261

Generating the livetime cube:
time -p gtltcube evfile="/scratch/kocevski/220721/ft1_filtered_4FGL_J2050.4-2627_daily_bin1757.fits" evtable="EVENTS" scfile=/scratch/kocevski/220721/ft2_4FGL_J2050.4-2627_daily_bin1757.fits sctable="SC_DATA" outfile=/scratch/kocevski/220721/ltcube_694742401_695001601_4FGL_J2050.4-2627_daily_bin1757.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/220721/ft2_4FGL_J2050.4-2627_daily_bin1757.fits
.....................!
real 16.50
user 16.10
sys 0.33

Generating the exposure map:
time -p gtexpmap evfile=/scratch/kocevski/220721/ft1_filtered_4FGL_J2050.4-2627_daily_bin1757.fits evtable="EVENTS" scfile=/scratch/kocevski/220721/ft2_4FGL_J2050.4-2627_daily_bin1757.fits sctable="SC_DATA" expcube=/scratch/kocevski/220721/ltcube_694742401_695001601_4FGL_J2050.4-2627_daily_bin1757.fits outfile=/scratch/kocevski/220721/expmap_694742401_695001601_4FGL_J2050.4-2627_daily_bin1757.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/220721/ltcube_694742401_695001601_4FGL_J2050.4-2627_daily_bin1757.fits
.....................!
real 193.84
user 187.71
sys 5.69

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/220721/ft1_filtered_4FGL_J2050.4-2627_daily_bin1757.fits scfile=/scratch/kocevski/220721/ft2_4FGL_J2050.4-2627_daily_bin1757.fits outfile=/scratch/kocevski/220721/cmap_694742401_695001601_4FGL_J2050.4-2627_daily_bin1757.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.15

Creating the high resolution counts map:
time -p gtbin evfile=/scratch/kocevski/220721/ft1_filtered_4FGL_J2050.4-2627_daily_bin1757.fits scfile=/scratch/kocevski/220721/ft2_4FGL_J2050.4-2627_daily_bin1757.fits outfile=/scratch/kocevski/220721/cmap_HighResolution_694742401_695001601_4FGL_J2050.4-2627_daily_bin1757.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.57
user 0.41
sys 0.15

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

Creating the likelihood object...
obs = UnbinnedObs('/scratch/kocevski/220721/ft1_filtered_4FGL_J2050.4-2627_daily_bin1757.fits', '/scratch/kocevski/220721/ft2_4FGL_J2050.4-2627_daily_bin1757.fits', expMap='/scratch/kocevski/220721/expmap_694742401_695001601_4FGL_J2050.4-2627_daily_bin1757.fits', expCube='/scratch/kocevski/220721/ltcube_694742401_695001601_4FGL_J2050.4-2627_daily_bin1757.fits', irfs='P8R3_SOURCE_V2')
like = UnbinnedAnalysis(obs, '/scratch/kocevski/220721/Model_4FGL_J2050.4-2627_daily_bin1757.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  0.000e+00  1.000e+06 ( 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 -5.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/220721/ft1_filtered_4FGL_J2050.4-2627_daily_bin1757.fits
Spacecraft file(s): /scratch/kocevski/220721/ft2_4FGL_J2050.4-2627_daily_bin1757.fits
Exposure map: /scratch/kocevski/220721/expmap_694742401_695001601_4FGL_J2050.4-2627_daily_bin1757.fits
Exposure cube: /scratch/kocevski/220721/ltcube_694742401_695001601_4FGL_J2050.4-2627_daily_bin1757.fits
IRFs: P8R3_SOURCE_V2
Source model file: /scratch/kocevski/220721/Model_4FGL_J2050.4-2627_daily_bin1757.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) = 2913.52762058

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

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

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'norm      '    141.25       1.0000          .0000       .10000E+07
     2 'norm      '    .17933E-04   1.0000          .0000       .10000E+07
     3 'Prefactor '    1.6436       1.0000          .0000       .10000E+07
     4 'Prefactor '    35.513       1.0000          .0000       .10000E+07
     5 'Prefactor '    .34422E-03   1.0000          .0000       .10000E+07
     6 'norm      '    12.793       1.0000          .0000       .10000E+07
     7 'Prefactor '    31.838       1.0000          .0000       .10000E+07
     8 'Prefactor '    .85581E-03   1.0000          .0000       .10000E+07
     9 'Prefactor '    .57842E-03   1.0000          .0000       .10000E+07
    10 'norm      '    .25807E-02   1.0000          .0000       .10000E+07
    11 'Prefactor '    .96940E-05   1.0000          .0000       .10000E+07
    12 'Prefactor '    .11275E-01   1.0000          .0000       .10000E+07
    13 'Normalizat'    .74131       1.0000         .10000E-01   10.000    
    14 'Prefactor '    1.1402       1.0000          .0000       10.000    
 **********
 **   15 **SET ERR    .5000    
 **********
 **********
 **   16 **SET GRAD    1.000    
 **********
 **********
 **   17 **MINIMIZE    .5490E+05   .2000E-04
 **********

 MIGRAD MINIMIZATION HAS CONVERGED.

 FCN=   2913.309     FROM MIGRAD    STATUS=CONVERGED    145 CALLS      966 TOTAL
                     EDM=   .28E-09  STRATEGY=1  ERROR MATRIX UNCERTAINTY=   .4%

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  norm          134.70        121.96       -.81969E-06    .33192E-02
   2  norm          .38858E-09    11.137       -.60686E-07** at limit **
   3  Prefactor     .26601E-03    102.89       -.19769E-06** at limit **
   4  Prefactor     36.604        22.311       -.39792E-06   -.26303E-02
   5  Prefactor      .0000        3.5997        .33049E-07** at limit **
   6  norm          18.009        55.458       -.17666E-05    .18009E-01
   7  Prefactor     33.552        34.896        .41576E-06   -.93754E-02
   8  Prefactor     .22760E-07    27.418       -.46461E-06** at limit **
   9  Prefactor     .21812E-04    65.018       -.14768E-05** at limit **
  10  norm          .27700E-07    27.586        .87573E-06** at limit **
  11  Prefactor      .0000        2.0961        .21273E-08** at limit **
  12  Prefactor      .0000        7.6520       -.10184E-06** at limit **
  13  Normalizat    .73480        .42819        .18671E-04    .17566E-04
  14  Prefactor     1.1400        .21492       -.31332E-05    .36436E-04
                               ERR DEF=  .500    
Final values: 
  norm       = 134.699
  norm       = 3.88578e-10
  Prefactor  = 0.000266009
  Prefactor  = 36.6037
  Prefactor  = 0
  norm       = 18.0086
  Prefactor  = 33.5516
  Prefactor  = 2.27596e-08
  Prefactor  = 2.18125e-05
  norm       = 2.77001e-08
  Prefactor  = 0
  Prefactor  = 0
  Normalizat = 0.734803
  Prefactor  = 1.13997
 **********
 **   18 **HESSE 
 **********

 FCN=   2913.309     FROM HESSE     STATUS=OK           188 CALLS     1154 TOTAL
                     EDM=   .11E-05    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  norm          134.70        122.26        .84147E-04   -1.5476    
   2  norm          .38858E-09    11.159        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   3  Prefactor     .26601E-03    352.97        .82366E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   4  Prefactor     36.604        22.333        .16782E-03   -1.5587    
   5  Prefactor      .0000        3.6261        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   6  norm          18.009        57.284        .27980E-03   -1.5623    
   7  Prefactor     33.552        35.022        .17725E-03   -1.5592    
   8  Prefactor     .22760E-07    27.420        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   9  Prefactor     .21812E-04    84.479        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  10  norm          .27700E-07    27.251        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  11  Prefactor      .0000        2.1006        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  12  Prefactor      .0000        7.6795        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  13  Normalizat    .73480        .37974        .93601E-01   -1.0253    
  14  Prefactor     1.1400        .18836        .36226E-01   -.88199    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 1.06852e-06
Minuit parameter uncertainties:
  1  122.261
  2  0.000133217
  3  0.612878
  4  22.3333
  5  2.33672e-06
  6  57.2858
  7  35.022
  8  0.00158014
  9  0.0858545
  10  0.00173716
  11  9.24915e-07
  12  1.53668e-06
  13  0.381114
  14  0.188473
Done.

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

Extracting fit parameters...

4FGL J2050.4-2627
   Spectrum: LogParabola
313         norm:  1.801e+01  5.729e+01  0.000e+00  1.000e+06 ( 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 -5.000e+00  1.000e+01 ( 1.000e+00) fixed
316           Eb:  1.248e+03  0.000e+00  3.000e+01  5.000e+05 ( 1.000e+00) fixed

GAL_V02
   Spectrum: PowerLaw
546    Prefactor:  1.140e+00  1.885e-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.348e-01  3.811e-01  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Fixed Index): 0.12
Ra Dec: 312.610 -26.466
Photon Flux Upper Limit: 1.76e-07 ph cm-2 s-1
Energy Flux Upper Limit: 1.07e-04 MeV cm-2 s-1

Saving results to:
/scratch/kocevski/220721/likelihoodResults_694742401_695001601_4FGL_J2050.4-2627_daily_bin1757.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) = 2909.70488187
delta logL = 3.60409274936

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

MINUIT Return Code (Free Index): 0
logL (Free Index) = 2909.62933586
delta logL = 3.67963876757

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'norm      '    1.5693       1.0000          .0000       .10000E+07
     2 'alpha     '    5.0000       1.0000          .0000       5.0000    
     3 'Normalizat'    .32399       1.0000         .10000E-01   10.000    
     4 'Prefactor '    1.2522       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=   2909.629     FROM MIGRAD    STATUS=CONVERGED     51 CALLS      272 TOTAL
                     EDM=   .14E-07    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  norm          1.5688        2.0750        .64007E-03   -.56115E-01
   2  alpha         5.0000        3.3114        .46267    ** at limit **
   3  Normalizat    .32484        .51545        .13620       -.19751E-03
   4  Prefactor     1.2517        .25281        .33499E-01   -.68088E-03
                               ERR DEF=  .500    
Final values: 
  norm       = 1.56881
  alpha      = 5
  Normalizat = 0.324841
  Prefactor  = 1.25175
 **********
 **   18 **HESSE 
 **********

 FCN=   2909.629     FROM HESSE     STATUS=OK            27 CALLS      299 TOTAL
                     EDM=   .19E-08    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  norm          1.5688        .73204        .28437E-05   -1.5683    
   2  alpha         5.0000        3.1315        .20672E-01    1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   3  Normalizat    .32484        .43669        .60238E-03   -1.2139    
   4  Prefactor     1.2517        .21659        .16155E-03   -.84753    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 1.90595e-09
Minuit parameter uncertainties:
  1  0.732038
  2  5.99422e-05
  3  0.441376
  4  0.216748
shell-init: error retrieving current directory: getcwd: cannot access parent directories: No such file or directory
rmdir: failed to remove `/scratch/kocevski/220721': 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) = 2909.62932827
delta logL = 3.67964635074

Extracting fit parameters...

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

GAL_V02
   Spectrum: PowerLaw
546    Prefactor:  1.252e+00  2.167e-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:  3.248e-01  4.414e-01  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Free Index): 8.35
Ra Dec: 312.610 -26.466
Photon Index (Free Index): 5.00 +/- 0.00
Photon Flux (Free Index): 4.79e-07 +/- 2.23e-07
Energy Flux (Free Index): 6.81e-05 +/- 3.17e-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/220721/cmap_HighResolution_694742401_695001601_4FGL_J2050.4-2627_daily_bin1757.png

Cleaning up...

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

Updating database...

UPDATE lightcurve_data_v2 SET energy_flux_upper_limit='1.07e-04', comment='SUCCESS', energy_flux2='6.81e-05', dlogl='3.68e+00', photon_flux2='4.79e-07', job_status='DONE', time_completed='2023-01-10 02:25:37.737259', photon_index_error2='0.00', photon_index2='5.00', ts='0.12', fit_tolerance='1e-08', GAL='1.14', photon_index_error='0.00', photon_flux_upper_limit='1.76e-07', energy_flux_error2='3.17e-05', EG='0.73', time_epoch_completed='1673346337.74', return_code='0', job_id='220721', GAL2='1.25', EG2='0.32', return_code2='0', photon_flux_error2='2.23e-07', ts2='8.35', photon_index='2.06' WHERE bin_id='1757' AND source_name='4FGL J2050.4-2627' AND cadence='daily';

Database successfully updated.


Analysis Complete.


Tue Jan 10 02:25:37 PST 2023


------------------------------------------------------------
Sender: LSF System <lsf@bullet0225>
Subject: Job 220721: <4FGL_J2050.4-2627_daily_bin1757> in cluster <slac> Done

Job <4FGL_J2050.4-2627_daily_bin1757> was submitted from host <rhel6-64o> by user <kocevski> in cluster <slac> at Tue Jan 10 02:15:20 2023
Job was executed on host(s) <bullet0225>, in queue <medium>, as user <kocevski> in cluster <slac> at Tue Jan 10 02:16:46 2023
</u/ki/kocevski> was used as the home directory.
</u/ki/kocevski> was used as the working directory.
Started at Tue Jan 10 02:16:46 2023
Terminated at Tue Jan 10 02:25:38 2023
Results reported at Tue Jan 10 02:25:38 2023

Your job looked like:

------------------------------------------------------------
# LSBATCH: User input
/nfs/farm/g/glast/g/LCRepository/Likelihood/Scripts/LikelihoodAnalysis.py 4FGL_J2050.4-2627_daily_bin1757 312.61 -26.4659 694742401 695001601 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 :                                   401.11 sec.
    Max Memory :                                 1256 MB
    Average Memory :                             290.68 MB
    Total Requested Memory :                     -
    Delta Memory :                               -
    Max Swap :                                   -
    Max Processes :                              5
    Max Threads :                                21
    Run time :                                   532 sec.
    Turnaround time :                            618 sec.

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

