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


Performing analysis on: 4FGL_J2050.4-2627_daily_bin1683
RA = 312.61, Dec = -26.4659
tmin = 675561601, tmax = 675820801
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='51586', job_status='RUN', time_executed='2022-06-02 01:33:03.461632', time_epoch_executed='1654158783.46' WHERE source_name='4FGL J2050.4-2627' and cadence='daily' and bin_id='1683'

Database successfully updated.
Done.

Creating custom output directory:
/scratch/kocevski/51586

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

Retrieving the FT1 file...

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

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

Retrieving 47 files...
Done.


Merging files...

Checksum keywords updated successfully.

Merged file saved to:
/scratch/kocevski/51586/ft1_4FGL_J2050.4-2627_daily_bin1683.fits


Retrieving the FT1 file...

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

Retrieving 47 files...
Done.


Merging files...

Merged file saved to:
/scratch/kocevski/51586/ft2_4FGL_J2050.4-2627_daily_bin1683.fits


Selecting the photons:
time -p gtselect infile=/scratch/kocevski/51586/ft1_4FGL_J2050.4-2627_daily_bin1683.fits outfile=/scratch/kocevski/51586/ft1_filteredMKT_4FGL_J2050.4-2627_daily_bin1683.fits ra=312.61 dec=-26.4659 rad=12.0 tmin=675561601.0 tmax=675820801.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.47
user 3.21
sys 0.22

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

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

Number of photons that the gtmktime cut: 924

Generating the livetime cube:
time -p gtltcube evfile="/scratch/kocevski/51586/ft1_filtered_4FGL_J2050.4-2627_daily_bin1683.fits" evtable="EVENTS" scfile=/scratch/kocevski/51586/ft2_4FGL_J2050.4-2627_daily_bin1683.fits sctable="SC_DATA" outfile=/scratch/kocevski/51586/ltcube_675561601_675820801_4FGL_J2050.4-2627_daily_bin1683.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/51586/ft2_4FGL_J2050.4-2627_daily_bin1683.fits
.....................!
real 13.76
user 13.38
sys 0.34

Generating the exposure map:
time -p gtexpmap evfile=/scratch/kocevski/51586/ft1_filtered_4FGL_J2050.4-2627_daily_bin1683.fits evtable="EVENTS" scfile=/scratch/kocevski/51586/ft2_4FGL_J2050.4-2627_daily_bin1683.fits sctable="SC_DATA" expcube=/scratch/kocevski/51586/ltcube_675561601_675820801_4FGL_J2050.4-2627_daily_bin1683.fits outfile=/scratch/kocevski/51586/expmap_675561601_675820801_4FGL_J2050.4-2627_daily_bin1683.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/51586/ltcube_675561601_675820801_4FGL_J2050.4-2627_daily_bin1683.fits
.....................!
real 191.42
user 185.70
sys 5.28

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/51586/ft1_filtered_4FGL_J2050.4-2627_daily_bin1683.fits scfile=/scratch/kocevski/51586/ft2_4FGL_J2050.4-2627_daily_bin1683.fits outfile=/scratch/kocevski/51586/cmap_675561601_675820801_4FGL_J2050.4-2627_daily_bin1683.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.39
sys 0.15

Creating the high resolution counts map:
time -p gtbin evfile=/scratch/kocevski/51586/ft1_filtered_4FGL_J2050.4-2627_daily_bin1683.fits scfile=/scratch/kocevski/51586/ft2_4FGL_J2050.4-2627_daily_bin1683.fits outfile=/scratch/kocevski/51586/cmap_HighResolution_675561601_675820801_4FGL_J2050.4-2627_daily_bin1683.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.55
user 0.38
sys 0.16

Computing the diffuse response:
time -p gtdiffrsp evfile=/scratch/kocevski/51586/ft1_filtered_4FGL_J2050.4-2627_daily_bin1683.fits evtable="EVENTS" scfile=/scratch/kocevski/51586/ft2_4FGL_J2050.4-2627_daily_bin1683.fits sctable="SC_DATA" srcmdl=/scratch/kocevski/51586/Model_4FGL_J2050.4-2627_daily_bin1683.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/51586/ft1_filtered_4FGL_J2050.4-2627_daily_bin1683.fits.....................!
real 78.26
user 76.81
sys 1.26

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

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

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

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'norm      '    6.9171       1.0000         .10000E-03   10000.    
     2 'norm      '    .22382E-02   1.0000         .10000E-03   10000.    
     3 'Prefactor '    .10278E-03   1.0000         .10000E-03   10000.    
     4 'Prefactor '    .25819E-02   1.0000         .10000E-03   10000.    
     5 'Prefactor '    .10000E-03   1.0000         .10000E-03   10000.    
     6 'Prefactor '    .14757E-03   1.0000         .10000E-03   10000.    
     7 'norm      '    .10024E-03   1.0000         .10000E-03   10000.    
     8 'Prefactor '    17.279       1.0000         .10000E-03   10000.    
     9 'Prefactor '    .11617E-03   1.0000         .10000E-03   10000.    
    10 'Prefactor '    .10000E-03   1.0000         .10000E-03   10000.    
    11 'norm      '    2.4920       1.0000         .10000E-03   10000.    
    12 'Prefactor '    .30854E-03   1.0000         .10000E-03   10000.    
    13 'Prefactor '    .10005E-03   1.0000         .10000E-03   10000.    
    14 'Normalizat'    .74190       1.0000         .10000E-01   10.000    
    15 'Prefactor '    1.1156       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=   9861.500     FROM MIGRAD    STATUS=CONVERGED    298 CALLS     1180 TOTAL
                     EDM=   .45E-10  STRATEGY=1  ERROR MATRIX UNCERTAINTY=   .6%

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  norm          6.9149        11.917        .37959E-06   -.72959E-04
   2  norm          .10002E-03    5.4224        .58059E-06** at limit **
   3  Prefactor     .10000E-03    21.872        .41315E-05** at limit **
   4  Prefactor     .10000E-03    3.5070       -.16059E-06** at limit **
   5  Prefactor     .10000E-03    1.2341        .26170E-07** at limit **
   6  Prefactor     .10000E-03    99.878       -.10857E-05** at limit **
   7  norm          .10000E-03    7.9161        .20563E-06** at limit **
   8  Prefactor     17.268        14.248        .21766E-05    .61916E-05
   9  Prefactor     .10000E-03    23.152       -.50396E-05** at limit **
  10  Prefactor     .10000E-03    1.6745       -.47418E-07** at limit **
  11  norm          2.4886        1.2271       -.40745E-07   -.51553E-03
  12  Prefactor     .10000E-03    3.1056        .17049E-06** at limit **
  13  Prefactor     .10000E-03    6.5398        .17580E-06** at limit **
  14  Normalizat    .74185        .19004       -.32359E-06   -.50264E-04
  15  Prefactor     1.1157        .89494E-01   -.19564E-06   -.98562E-04
                               ERR DEF=  .500    
Final values: 
  norm       = 6.91493
  norm       = 0.000100017
  Prefactor  = 0.0001
  Prefactor  = 0.0001
  Prefactor  = 0.0001
  Prefactor  = 0.0001
  norm       = 0.0001
  Prefactor  = 17.2681
  Prefactor  = 0.0001
  Prefactor  = 0.0001
  norm       = 2.48861
  Prefactor  = 0.000100001
  Prefactor  = 0.0001
  Normalizat = 0.741852
  Prefactor  = 1.11566
 **********
 **   18 **HESSE 
 **********

 FCN=   9861.500     FROM HESSE     STATUS=OK           184 CALLS     1364 TOTAL
                     EDM=   .80E-09    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  norm          6.9149        12.161        .76272E-03   -1.5182    
   2  norm          .10002E-03    34.455        .43614E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   3  Prefactor     .10000E-03    21.916        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   4  Prefactor     .10000E-03    16.240        .35481E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   5  Prefactor     .10000E-03    1.2489        .10770E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   6  Prefactor     .10000E-03    100.82        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   7  norm          .10000E-03    7.9314        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   8  Prefactor     17.268        14.286        .96352E-04   -1.4877    
   9  Prefactor     .10000E-03    23.205        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  10  Prefactor     .10000E-03    1.6832        .12546E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  11  norm          2.4886        5.2395        .12946E-02   -1.5392    
  12  Prefactor     .10000E-03    18.510        .33958E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  13  Prefactor     .10000E-03    6.5665        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  14  Normalizat    .74185        .21470        .39256E-03   -1.0226    
  15  Prefactor     1.1157        .10243        .15470E-03   -.88968    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 8.03642e-10
Minuit parameter uncertainties:
  1  12.165
  2  0.00152507
  3  1.47956e-06
  4  9.81546e-05
  5  9.81439e-07
  6  1.92729e-05
  7  6.64668e-07
  8  14.289
  9  1.5947e-05
  10  6.26783e-07
  11  5.24044
  12  0.000248412
  13  1.46671e-06
  14  0.214948
  15  0.102451
Done.

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

Extracting fit parameters...

4FGL J2050.4-2627
   Spectrum: LogParabola
313         norm:  1.000e-04  6.647e-07  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:  1.116e+00  1.025e-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.419e-01  2.149e-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: 3.45e-08 ph cm-2 s-1
Energy Flux Upper Limit: 2.09e-05 MeV cm-2 s-1

Saving results to:
/scratch/kocevski/51586/likelihoodResults_675561601_675820801_4FGL_J2050.4-2627_daily_bin1683.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): 102
logL (Free Index) = 9861.50069123
delta logL = -0.000600564242632

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

MINUIT Return Code (Free Index): 102
logL (Free Index) = 9861.50009067
delta logL = 2.60479282588e-09

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'norm      '    .10000E-03   1.0000         .10000E-03   10000.    
     2 'alpha     '    2.0597       1.0000          .0000       5.0000    
     3 'Normalizat'    .74185       1.0000         .10000E-01   10.000    
     4 'Prefactor '    1.1157       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=   9861.500     FROM MIGRAD    STATUS=CONVERGED     85 CALLS      238 TOTAL
                     EDM=   .18E-07    STRATEGY= 1      ERR MATRIX NOT POS-DEF

  EXT PARAMETER                APPROXIMATE        STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  norm          .10020E-03    583.18        .18142E-02** at limit **
   2  alpha         2.1287        3.7845        .50000       -.10751E-05
   3  Normalizat    .74185        .44407E-01    .39256E-03   -.24014E-03
   4  Prefactor     1.1157        .21226E-01    .15470E-03   -.46676E-03
                               ERR DEF=  .500    
Final values: 
  norm       = 0.0001002
  alpha      = 2.12874
  Normalizat = 0.741851
  Prefactor  = 1.11566
 **********
 **   18 **HESSE 
 **********

 FCN=   9861.500     FROM HESSE     STATUS=NOT POSDEF    29 CALLS      267 TOTAL
                     EDM=   .66E-07    STRATEGY= 1      ERR MATRIX NOT POS-DEF

  EXT PARAMETER                APPROXIMATE     INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  norm          .10020E-03    1790.0        .36285E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   2  alpha         2.1287        2.5915        .50000       -.14906    
   3  Normalizat    .74185        .16409        .15702E-04   -1.0226    
   4  Prefactor     1.1157        .78470E-01    .30941E-04   -.88968    
                               ERR DEF=  .500    
Minuit fit quality: 2   estimated distance: 6.55638e-08
Minuit parameter uncertainties:
  1  0.0391161
  2  5141.5
  3  0.164198
  4  0.0784778
shell-init: error retrieving current directory: getcwd: cannot access parent directories: No such file or directory
rmdir: failed to remove `/scratch/kocevski/51586': 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): 102
logL (Free Index) = 9861.50009064
delta logL = 3.37349774782e-08

Extracting fit parameters...

4FGL J2050.4-2627
   Spectrum: LogParabola
313         norm:  1.002e-04  3.912e-02  1.000e-04  1.000e+04 ( 1.000e-13)
314        alpha:  2.129e+00  5.142e+03  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:  1.116e+00  7.848e-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.419e-01  1.642e-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/51586/cmap_HighResolution_675561601_675820801_4FGL_J2050.4-2627_daily_bin1683.png

Cleaning up...

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

Updating database...

UPDATE lightcurve_data_v2 SET energy_flux_upper_limit='2.09e-05', job_status='DONE', photon_flux_upper_limit='3.45e-08', time_completed='2022-06-02 01:43:05.776070', job_id='51586', GAL2='1.12', fit_tolerance='1e-08', EG2='0.74', EG='0.74', time_epoch_completed='1654159385.78', return_code2='102', ts='-0.00', comment='SUCCESS', return_code='0', GAL='1.12', dlogl='3.37e-08', ts2='-0.00', photon_index_error='0.00', photon_index='2.06' WHERE bin_id='1683' AND source_name='4FGL J2050.4-2627' AND cadence='daily';

Database successfully updated.


Analysis Complete.


Thu Jun  2 01:43:05 PDT 2022


------------------------------------------------------------
Sender: LSF System <lsf@bullet0260>
Subject: Job 51586: <4FGL_J2050.4-2627_daily_bin1683> in cluster <slac> Done

Job <4FGL_J2050.4-2627_daily_bin1683> was submitted from host <rhel6-64e> by user <kocevski> in cluster <slac> at Thu Jun  2 01:30:38 2022
Job was executed on host(s) <bullet0260>, in queue <medium>, as user <kocevski> in cluster <slac> at Thu Jun  2 01:31:25 2022
</u/ki/kocevski> was used as the home directory.
</u/ki/kocevski> was used as the working directory.
Started at Thu Jun  2 01:31:25 2022
Terminated at Thu Jun  2 01:43:06 2022
Results reported at Thu Jun  2 01:43:06 2022

Your job looked like:

------------------------------------------------------------
# LSBATCH: User input
/nfs/farm/g/glast/g/LCRepository/Likelihood/Scripts/LikelihoodAnalysis.py 4FGL_J2050.4-2627_daily_bin1683 312.61 -26.4659 675561601 675820801 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 :                                   604.26 sec.
    Max Memory :                                 1256 MB
    Average Memory :                             309.87 MB
    Total Requested Memory :                     -
    Delta Memory :                               -
    Max Swap :                                   -
    Max Processes :                              5
    Max Threads :                                21
    Run time :                                   701 sec.
    Turnaround time :                            748 sec.

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

