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


Performing analysis on: 4FGL_J2056.2-4714_daily_bin1687
RA = 314.072, Dec = -47.2369
tmin = 676598401, tmax = 676857601
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='698928', job_status='RUN', time_executed='2022-06-14 01:34:30.705234', time_epoch_executed='1655195670.71' WHERE source_name='4FGL J2056.2-4714' and cadence='daily' and bin_id='1687'

Database successfully updated.
Done.

Creating custom output directory:
/scratch/kocevski/698928

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

Retrieving the FT1 file...

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

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

Retrieving 46 files...
Done.


Merging files...

Checksum keywords updated successfully.

Merged file saved to:
/scratch/kocevski/698928/ft1_4FGL_J2056.2-4714_daily_bin1687.fits


Retrieving the FT1 file...

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

Retrieving 46 files...
Done.


Merging files...

Merged file saved to:
/scratch/kocevski/698928/ft2_4FGL_J2056.2-4714_daily_bin1687.fits


Selecting the photons:
time -p gtselect infile=/scratch/kocevski/698928/ft1_4FGL_J2056.2-4714_daily_bin1687.fits outfile=/scratch/kocevski/698928/ft1_filteredMKT_4FGL_J2056.2-4714_daily_bin1687.fits ra=314.072 dec=-47.2369 rad=12.0 tmin=676598401.0 tmax=676857601.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.91
user 2.69
sys 0.19

Adding sun position to ft2 file:
/nfs/farm/g/glast/g/LCRepository/Repository/bin/sunpos /scratch/kocevski/698928/ft2_4FGL_J2056.2-4714_daily_bin1687.fits

Selecting the good time intervals:
time -p gtmktime scfile=/scratch/kocevski/698928/ft2_4FGL_J2056.2-4714_daily_bin1687.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/698928/ft1_filteredMKT_4FGL_J2056.2-4714_daily_bin1687.fits evtable="EVENTS" outfile="/scratch/kocevski/698928/ft1_filtered_4FGL_J2056.2-4714_daily_bin1687.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.32
sys 0.17

Number of photons that the gtmktime cut: 539

Generating the livetime cube:
time -p gtltcube evfile="/scratch/kocevski/698928/ft1_filtered_4FGL_J2056.2-4714_daily_bin1687.fits" evtable="EVENTS" scfile=/scratch/kocevski/698928/ft2_4FGL_J2056.2-4714_daily_bin1687.fits sctable="SC_DATA" outfile=/scratch/kocevski/698928/ltcube_676598401_676857601_4FGL_J2056.2-4714_daily_bin1687.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/698928/ft2_4FGL_J2056.2-4714_daily_bin1687.fits
.....................!
real 14.74
user 14.36
sys 0.32

Generating the exposure map:
time -p gtexpmap evfile=/scratch/kocevski/698928/ft1_filtered_4FGL_J2056.2-4714_daily_bin1687.fits evtable="EVENTS" scfile=/scratch/kocevski/698928/ft2_4FGL_J2056.2-4714_daily_bin1687.fits sctable="SC_DATA" expcube=/scratch/kocevski/698928/ltcube_676598401_676857601_4FGL_J2056.2-4714_daily_bin1687.fits outfile=/scratch/kocevski/698928/expmap_676598401_676857601_4FGL_J2056.2-4714_daily_bin1687.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/698928/ltcube_676598401_676857601_4FGL_J2056.2-4714_daily_bin1687.fits
.....................!
real 191.98
user 186.17
sys 5.24

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 J2056.2-4714 @ 314.072 -47.2369

Creating the counts map:
time -p gtbin evfile=/scratch/kocevski/698928/ft1_filtered_4FGL_J2056.2-4714_daily_bin1687.fits scfile=/scratch/kocevski/698928/ft2_4FGL_J2056.2-4714_daily_bin1687.fits outfile=/scratch/kocevski/698928/cmap_676598401_676857601_4FGL_J2056.2-4714_daily_bin1687.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=314.072 yref=-47.2369 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.36
sys 0.17

Creating the high resolution counts map:
time -p gtbin evfile=/scratch/kocevski/698928/ft1_filtered_4FGL_J2056.2-4714_daily_bin1687.fits scfile=/scratch/kocevski/698928/ft2_4FGL_J2056.2-4714_daily_bin1687.fits outfile=/scratch/kocevski/698928/cmap_HighResolution_676598401_676857601_4FGL_J2056.2-4714_daily_bin1687.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=314.072 yref=-47.2369 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/698928/ft1_filtered_4FGL_J2056.2-4714_daily_bin1687.fits evtable="EVENTS" scfile=/scratch/kocevski/698928/ft2_4FGL_J2056.2-4714_daily_bin1687.fits sctable="SC_DATA" srcmdl=/scratch/kocevski/698928/Model_4FGL_J2056.2-4714_daily_bin1687.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/698928/ft1_filtered_4FGL_J2056.2-4714_daily_bin1687.fits.....................!
real 49.24
user 47.85
sys 1.26

Creating the likelihood object...
obs = UnbinnedObs('/scratch/kocevski/698928/ft1_filtered_4FGL_J2056.2-4714_daily_bin1687.fits', '/scratch/kocevski/698928/ft2_4FGL_J2056.2-4714_daily_bin1687.fits', expMap='/scratch/kocevski/698928/expmap_676598401_676857601_4FGL_J2056.2-4714_daily_bin1687.fits', expCube='/scratch/kocevski/698928/ltcube_676598401_676857601_4FGL_J2056.2-4714_daily_bin1687.fits', irfs='P8R3_SOURCE_V2')
like = UnbinnedAnalysis(obs, '/scratch/kocevski/698928/Model_4FGL_J2056.2-4714_daily_bin1687.xml', optimizer='MINUIT')

Using source of interest name: '4FGL J2056.2-4714'

4FGL J2056.2-4714
   Spectrum: LogParabola
291         norm:  5.442e+00  0.000e+00  1.000e-04  1.000e+04 ( 1.000e-11)
292        alpha:  2.353e+00  0.000e+00  0.000e+00  5.000e+00 ( 1.000e+00) fixed
293         beta:  1.074e-01  0.000e+00  0.000e+00  1.000e+01 ( 1.000e+00) fixed
294           Eb:  4.480e+02  0.000e+00  3.000e+01  5.000e+05 ( 1.000e+00) fixed


Likelihood Fit Parameters:
Event file(s): /scratch/kocevski/698928/ft1_filtered_4FGL_J2056.2-4714_daily_bin1687.fits
Spacecraft file(s): /scratch/kocevski/698928/ft2_4FGL_J2056.2-4714_daily_bin1687.fits
Exposure map: /scratch/kocevski/698928/expmap_676598401_676857601_4FGL_J2056.2-4714_daily_bin1687.fits
Exposure cube: /scratch/kocevski/698928/ltcube_676598401_676857601_4FGL_J2056.2-4714_daily_bin1687.fits
IRFs: P8R3_SOURCE_V2
Source model file: /scratch/kocevski/698928/Model_4FGL_J2056.2-4714_daily_bin1687.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) = 5906.76609606

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

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

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'norm      '    56.678       1.0000         .10000E-03   10000.    
     2 'norm      '    50.019       1.0000         .10000E-03   10000.    
     3 'norm      '    .10001E-03   1.0000         .10000E-03   10000.    
     4 'Prefactor '    23.410       1.0000         .10000E-03   10000.    
     5 'norm      '    .87473       1.0000         .10000E-03   10000.    
     6 'norm      '    9.0094       1.0000         .10000E-03   10000.    
     7 'Prefactor '    .10419E-03   1.0000         .10000E-03   10000.    
     8 'Prefactor '    .22432E-03   1.0000         .10000E-03   10000.    
     9 'Prefactor '    .10086E-03   1.0000         .10000E-03   10000.    
    10 'Prefactor '    19.446       1.0000         .10000E-03   10000.    
    11 'norm      '    2.2202       1.0000         .10000E-03   10000.    
    12 'Prefactor '    31.393       1.0000         .10000E-03   10000.    
    13 'Prefactor '    12.821       1.0000         .10000E-03   10000.    
    14 'Prefactor '    14.868       1.0000         .10000E-03   10000.    
    15 'Prefactor '    .19660E-01   1.0000         .10000E-03   10000.    
    16 'Prefactor '    .10032E-03   1.0000         .10000E-03   10000.    
    17 'Prefactor '    4.6321       1.0000         .10000E-03   10000.    
    18 'norm      '    2.6898       1.0000         .10000E-03   10000.    
    19 'Prefactor '    3.7801       1.0000         .10000E-03   10000.    
    20 'Prefactor '    2.9127       1.0000         .10000E-03   10000.    
    21 'Prefactor '    2.3175       1.0000         .10000E-03   10000.    
    22 'Normalizat'    .90535       1.0000         .10000E-01   10.000    
    23 'Prefactor '    1.1183       1.0000          .0000       10.000    
 **********
 **   15 **SET ERR    .5000    
 **********
 **********
 **   16 **SET GRAD    1.000    
 **********
 **********
 **   17 **MINIMIZE    .5520E+05   .2000E-04
 **********

 MIGRAD MINIMIZATION HAS CONVERGED.

 MIGRAD WILL VERIFY CONVERGENCE AND ERROR MATRIX.

 MIGRAD MINIMIZATION HAS CONVERGED.

 FCN=   5906.744     FROM MIGRAD    STATUS=CONVERGED    559 CALLS     3041 TOTAL
                     EDM=   .14E-08  STRATEGY=1  ERROR MATRIX UNCERTAINTY=  3.3%

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  norm          56.687        33.582        .10657E-05    .19889E-04
   2  norm          49.995        47.753       -.19915E-05    .77571E-05
   3  norm          .10000E-03    2.0568       -.13620E-06** at limit **
   4  Prefactor     23.508        160.48       -.15717E-04   -.37394E-05
   5  norm          .86610        5.1503        .99953E-06    .91795E-04
   6  norm          9.0108        21.848        .15356E-07   -.94363E-05
   7  Prefactor     .10000E-03    145.06        .59501E-06** at limit **
   8  Prefactor     .10000E-03    60.015       -.20857E-06** at limit **
   9  Prefactor     .10000E-03    1.8667       -.73386E-06** at limit **
  10  Prefactor     19.445        29.594        .60930E-06    .16291E-03
  11  norm          2.2207        2.1089       -.79591E-08    .19636E-03
  12  Prefactor     31.351        38.694       -.68010E-05    .19382E-05
  13  Prefactor     12.821        19.969       -.24326E-06    .20707E-04
  14  Prefactor     14.870        9.0539       -.11947E-06    .49967E-03
  15  Prefactor     .20723E-03    35.922       -.86016E-05** at limit **
  16  Prefactor     .10000E-03    5.8158       -.86552E-07** at limit **
  17  Prefactor     4.6328        4.4933       -.19382E-06    .16255E-03
  18  norm          2.6885        4.1949        .13759E-06    .81865E-03
  19  Prefactor     3.7801        8.5636       -.99239E-07    .15707E-03
  20  Prefactor     2.9183        58.064       -.53954E-05    .87880E-05
  21  Prefactor     2.3155        6.7755        .76588E-05    .42973E-03
  22  Normalizat    .90476        .26989       -.61235E-07    .55216E-03
  23  Prefactor     1.1187        .14301        .72951E-06    .76555E-03
                               ERR DEF=  .500    
Final values: 
  norm       = 56.6868
  norm       = 49.9945
  norm       = 0.0001
  Prefactor  = 23.5078
  norm       = 0.866102
  norm       = 9.01083
  Prefactor  = 0.0001
  Prefactor  = 0.0001
  Prefactor  = 0.0001
  Prefactor  = 19.4453
  norm       = 2.22069
  Prefactor  = 31.3513
  Prefactor  = 12.8214
  Prefactor  = 14.87
  Prefactor  = 0.000207229
  Prefactor  = 0.0001
  Prefactor  = 4.63281
  norm       = 2.68854
  Prefactor  = 3.7801
  Prefactor  = 2.91829
  Prefactor  = 2.31551
  Normalizat = 0.904763
  Prefactor  = 1.11872
 **********
 **   18 **HESSE 
 **********

 FCN=   5906.744     FROM HESSE     STATUS=OK           384 CALLS     3425 TOTAL
                     EDM=   .30E-08    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  norm          56.687        33.575        .53285E-04   -1.4201    
   2  norm          49.995        47.477        .56702E-04   -1.4293    
   3  norm          .10000E-03    2.1099        .21525E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   4  Prefactor     23.508        160.32        .82787E-04   -1.4738    
   5  norm          .86610        4.9641        .33120E-03   -1.5522    
   6  norm          9.0108        21.752        .13353E-03   -1.5108    
   7  Prefactor     .10000E-03    145.57        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   8  Prefactor     .10000E-03    60.077        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   9  Prefactor     .10000E-03    5.7151        .19695E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  10  Prefactor     19.445        29.354        .90826E-04   -1.4826    
  11  norm          2.2207        2.0973        .10324E-03   -1.5410    
  12  Prefactor     31.351        38.684        .71513E-04   -1.4588    
  13  Prefactor     12.821        19.966        .11187E-03   -1.4992    
  14  Prefactor     14.870        9.0671        .10387E-03   -1.4937    
  15  Prefactor     .20723E-03    34.857        .10364       -1.5706    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  16  Prefactor     .10000E-03    5.8213        .18102E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  17  Prefactor     4.6328        4.4951        .15049E-03   -1.5277    
  18  norm          2.6885        4.1625        .17985E-03   -1.5380    
  19  Prefactor     3.7801        8.5449        .20763E-03   -1.5319    
  20  Prefactor     2.9183        58.412        .23806E-03   -1.5366    
  21  Prefactor     2.3155        6.7932        .13473E-02   -1.5404    
  22  Normalizat    .90476        .31388        .35595E-03   -.96293    
  23  Prefactor     1.1187        .16697        .18734E-03   -.88870    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 3.03117e-09
Minuit parameter uncertainties:
  1  33.5862
  2  47.5128
  3  8.58436e-06
  4  123.257
  5  4.14728
  6  21.7708
  7  0.000193741
  8  4.68572e-05
  9  8.56937e-05
  10  29.3757
  11  2.09732
  12  38.7149
  13  19.9759
  14  9.06794
  15  0.122345
  16  9.84204e-06
  17  4.49547
  18  4.16299
  19  8.54764
  20  26.1411
  21  6.7955
  22  0.314514
  23  0.167046
Done.

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

Extracting fit parameters...

4FGL J2056.2-4714
   Spectrum: LogParabola
291         norm:  2.221e+00  2.097e+00  1.000e-04  1.000e+04 ( 1.000e-11)
292        alpha:  2.353e+00  0.000e+00  0.000e+00  5.000e+00 ( 1.000e+00) fixed
293         beta:  1.074e-01  0.000e+00  0.000e+00  1.000e+01 ( 1.000e+00) fixed
294           Eb:  4.480e+02  0.000e+00  3.000e+01  5.000e+05 ( 1.000e+00) fixed

GAL_V02
   Spectrum: PowerLaw
549    Prefactor:  1.119e+00  1.670e-01  0.000e+00  1.000e+01 ( 1.000e+00)
550        Index:  0.000e+00  0.000e+00 -1.000e+00  1.000e+00 ( 1.000e+00) fixed
551        Scale:  1.000e+02  0.000e+00  5.000e+01  2.000e+02 ( 1.000e+00) fixed

EG_v02
   Spectrum: FileFunction
548   Normalization:  9.048e-01  3.145e-01  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Fixed Index): 1.83
Ra Dec: 314.072 -47.237
Photon Index (Fixed Index): 2.35 +/- 0.00
Photon Flux (Fixed Index): 4.99e-08 +/- 4.71e-08
Energy Flux (Fixed Index): 1.52e-05 +/- 1.44e-05

TS (Fixed Index): 1.83
Ra Dec: 314.072 -47.237
Photon Flux Upper Limit: 1.57e-07 ph cm-2 s-1
Energy Flux Upper Limit: 4.79e-05 MeV cm-2 s-1

Saving results to:
/scratch/kocevski/698928/likelihoodResults_676598401_676857601_4FGL_J2056.2-4714_daily_bin1687.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) = 5905.90735945
delta logL = 0.8366022731

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

MINUIT Return Code (Free Index): 0
logL (Free Index) = 5905.90702251
delta logL = 0.836939212539

Fit tolerance = 1e-08

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

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

 MIGRAD MINIMIZATION HAS CONVERGED.

 MIGRAD WILL VERIFY CONVERGENCE AND ERROR MATRIX.

 FCN=   5905.907     FROM MIGRAD    STATUS=CONVERGED     51 CALLS      231 TOTAL
                     EDM=   .32E-08    STRATEGY= 1      ERR MATRIX NOT POS-DEF

  EXT PARAMETER                APPROXIMATE        STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  norm          1.6007        17.351        .83878E-02    .48007E-03
   2  alpha         3.7096        3.9944        .46427        .33743E-04
   3  Normalizat    .80731        .80920E-01    .84564E-01    .11994E-04
   4  Prefactor     1.1524        .45516E-01    .35864E-01   -.48526E-05
                               ERR DEF=  .500    
Final values: 
  norm       = 1.60069
  alpha      = 3.70959
  Normalizat = 0.807308
  Prefactor  = 1.15242
 **********
 **   18 **HESSE 
 **********

 FCN=   5905.907     FROM HESSE     STATUS=OK            33 CALLS      264 TOTAL
                     EDM=   .11E-07    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  norm          1.6007        2.5177        .58296E-04   -1.5455    
   2  alpha         3.7096        1.4421        .19943E-01    .50503    
   3  Normalizat    .80731        .29497        .37446E-03   -.99798    
   4  Prefactor     1.1524        .16685        .18480E-03   -.87808    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 1.14027e-08
Minuit parameter uncertainties:
  1  2.51786
  2  1.57453
  3  0.295556
  4  0.166925
shell-init: error retrieving current directory: getcwd: cannot access parent directories: No such file or directory
rmdir: failed to remove `/scratch/kocevski/698928': 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) = 5905.90702114
delta logL = 0.836940582482

Extracting fit parameters...

4FGL J2056.2-4714
   Spectrum: LogParabola
291         norm:  1.601e+00  2.518e+00  1.000e-04  1.000e+04 ( 1.000e-11)
292        alpha:  3.710e+00  1.575e+00  0.000e+00  5.000e+00 ( 1.000e+00)
293         beta:  1.074e-01  0.000e+00  0.000e+00  1.000e+01 ( 1.000e+00) fixed
294           Eb:  4.480e+02  0.000e+00  3.000e+01  5.000e+05 ( 1.000e+00) fixed

GAL_V02
   Spectrum: PowerLaw
549    Prefactor:  1.152e+00  1.669e-01  0.000e+00  1.000e+01 ( 1.000e+00)
550        Index:  0.000e+00  0.000e+00 -1.000e+00  1.000e+00 ( 1.000e+00) fixed
551        Scale:  1.000e+02  0.000e+00  5.000e+01  2.000e+02 ( 1.000e+00) fixed

EG_v02
   Spectrum: FileFunction
548   Normalization:  8.073e-01  2.956e-01  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Free Index): 3.66
Ra Dec: 314.072 -47.237
Photon Index (Free Index): 3.71 +/- 1.57
Photon Flux (Free Index): 1.33e-07 +/- 9.45e-08
Energy Flux (Free Index): 2.16e-05 +/- 1.39e-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/698928/cmap_HighResolution_676598401_676857601_4FGL_J2056.2-4714_daily_bin1687.png

Cleaning up...

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

Updating database...

UPDATE lightcurve_data_v2 SET energy_flux_upper_limit='4.79e-05', comment='SUCCESS', photon_flux='4.99e-08', energy_flux2='2.16e-05', photon_flux_error='4.71e-08', dlogl='8.37e-01', energy_flux='1.52e-05', photon_flux2='1.33e-07', job_status='DONE', time_completed='2022-06-14 01:45:21.406724', photon_index_error2='1.57', photon_index2='3.71', ts='1.83', fit_tolerance='1e-08', GAL='1.12', photon_index_error='0.00', photon_flux_upper_limit='1.57e-07', energy_flux_error2='1.39e-05', EG='0.90', time_epoch_completed='1655196321.41', return_code='0', job_id='698928', GAL2='1.15', EG2='0.81', return_code2='0', energy_flux_error='1.44e-05', photon_flux_error2='9.45e-08', ts2='3.66', photon_index='2.35' WHERE bin_id='1687' AND source_name='4FGL J2056.2-4714' AND cadence='daily';

Database successfully updated.


Analysis Complete.


Tue Jun 14 01:45:21 PDT 2022


------------------------------------------------------------
Sender: LSF System <lsf@bullet0161>
Subject: Job 698928: <4FGL_J2056.2-4714_daily_bin1687> in cluster <slac> Done

Job <4FGL_J2056.2-4714_daily_bin1687> was submitted from host <rhel6-64f> by user <kocevski> in cluster <slac> at Tue Jun 14 01:30:33 2022
Job was executed on host(s) <bullet0161>, in queue <medium>, as user <kocevski> in cluster <slac> at Tue Jun 14 01:31:21 2022
</u/ki/kocevski> was used as the home directory.
</u/ki/kocevski> was used as the working directory.
Started at Tue Jun 14 01:31:21 2022
Terminated at Tue Jun 14 01:45:22 2022
Results reported at Tue Jun 14 01:45:22 2022

Your job looked like:

------------------------------------------------------------
# LSBATCH: User input
/nfs/farm/g/glast/g/LCRepository/Likelihood/Scripts/LikelihoodAnalysis.py 4FGL_J2056.2-4714_daily_bin1687 314.072 -47.2369 676598401 676857601 irfs=P8R3_SOURCE_V2 zmax=90 ROI=12 association=4FGL_J2056.2-4714 fixedModel=True performFreeIndexFit=True freeVariableSources=True nuke=True repositoryJob=True verbose=False
------------------------------------------------------------

Successfully completed.

Resource usage summary:

    CPU time :                                   652.37 sec.
    Max Memory :                                 1256 MB
    Average Memory :                             288.21 MB
    Total Requested Memory :                     -
    Delta Memory :                               -
    Max Swap :                                   -
    Max Processes :                              5
    Max Threads :                                21
    Run time :                                   840 sec.
    Turnaround time :                            889 sec.

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

