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


Performing analysis on: 4FGL_J2056.2-4714_daily_bin1769
RA = 314.072, Dec = -47.2369
tmin = 697852801, tmax = 698112001
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='444373', job_status='RUN', time_executed='2023-02-15 01:28:31.516410', time_epoch_executed='1676453311.52' WHERE source_name='4FGL J2056.2-4714' and cadence='daily' and bin_id='1769'

Database successfully updated.
Done.

Creating custom output directory:
/scratch/kocevski/444373

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

Retrieving the FT1 file...

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

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

Retrieving 46 files...
Done.


Merging files...

Checksum keywords updated successfully.

Merged file saved to:
/scratch/kocevski/444373/ft1_4FGL_J2056.2-4714_daily_bin1769.fits


Retrieving the FT1 file...

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

Retrieving 46 files...
Done.


Merging files...

Merged file saved to:
/scratch/kocevski/444373/ft2_4FGL_J2056.2-4714_daily_bin1769.fits


Selecting the photons:
time -p gtselect infile=/scratch/kocevski/444373/ft1_4FGL_J2056.2-4714_daily_bin1769.fits outfile=/scratch/kocevski/444373/ft1_filteredMKT_4FGL_J2056.2-4714_daily_bin1769.fits ra=314.072 dec=-47.2369 rad=12.0 tmin=697852801.0 tmax=698112001.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 4.38
user 4.14
sys 0.21

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

Selecting the good time intervals:
time -p gtmktime scfile=/scratch/kocevski/444373/ft2_4FGL_J2056.2-4714_daily_bin1769.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/444373/ft1_filteredMKT_4FGL_J2056.2-4714_daily_bin1769.fits evtable="EVENTS" outfile="/scratch/kocevski/444373/ft1_filtered_4FGL_J2056.2-4714_daily_bin1769.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.48
user 0.32
sys 0.15

Number of photons that the gtmktime cut: 696

Generating the livetime cube:
time -p gtltcube evfile="/scratch/kocevski/444373/ft1_filtered_4FGL_J2056.2-4714_daily_bin1769.fits" evtable="EVENTS" scfile=/scratch/kocevski/444373/ft2_4FGL_J2056.2-4714_daily_bin1769.fits sctable="SC_DATA" outfile=/scratch/kocevski/444373/ltcube_697852801_698112001_4FGL_J2056.2-4714_daily_bin1769.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/444373/ft2_4FGL_J2056.2-4714_daily_bin1769.fits
.....................!
real 11.86
user 11.53
sys 0.30

Generating the exposure map:
time -p gtexpmap evfile=/scratch/kocevski/444373/ft1_filtered_4FGL_J2056.2-4714_daily_bin1769.fits evtable="EVENTS" scfile=/scratch/kocevski/444373/ft2_4FGL_J2056.2-4714_daily_bin1769.fits sctable="SC_DATA" expcube=/scratch/kocevski/444373/ltcube_697852801_698112001_4FGL_J2056.2-4714_daily_bin1769.fits outfile=/scratch/kocevski/444373/expmap_697852801_698112001_4FGL_J2056.2-4714_daily_bin1769.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/444373/ltcube_697852801_698112001_4FGL_J2056.2-4714_daily_bin1769.fits
.....................!
real 191.26
user 186.84
sys 4.08

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/444373/ft1_filtered_4FGL_J2056.2-4714_daily_bin1769.fits scfile=/scratch/kocevski/444373/ft2_4FGL_J2056.2-4714_daily_bin1769.fits outfile=/scratch/kocevski/444373/cmap_697852801_698112001_4FGL_J2056.2-4714_daily_bin1769.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.53
user 0.38
sys 0.14

Creating the high resolution counts map:
time -p gtbin evfile=/scratch/kocevski/444373/ft1_filtered_4FGL_J2056.2-4714_daily_bin1769.fits scfile=/scratch/kocevski/444373/ft2_4FGL_J2056.2-4714_daily_bin1769.fits outfile=/scratch/kocevski/444373/cmap_HighResolution_697852801_698112001_4FGL_J2056.2-4714_daily_bin1769.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.54
user 0.38
sys 0.15

Computing the diffuse response:
time -p gtdiffrsp evfile=/scratch/kocevski/444373/ft1_filtered_4FGL_J2056.2-4714_daily_bin1769.fits evtable="EVENTS" scfile=/scratch/kocevski/444373/ft2_4FGL_J2056.2-4714_daily_bin1769.fits sctable="SC_DATA" srcmdl=/scratch/kocevski/444373/Model_4FGL_J2056.2-4714_daily_bin1769.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/444373/ft1_filtered_4FGL_J2056.2-4714_daily_bin1769.fits.....................!
real 55.97
user 54.70
sys 1.11

Creating the likelihood object...
obs = UnbinnedObs('/scratch/kocevski/444373/ft1_filtered_4FGL_J2056.2-4714_daily_bin1769.fits', '/scratch/kocevski/444373/ft2_4FGL_J2056.2-4714_daily_bin1769.fits', expMap='/scratch/kocevski/444373/expmap_697852801_698112001_4FGL_J2056.2-4714_daily_bin1769.fits', expCube='/scratch/kocevski/444373/ltcube_697852801_698112001_4FGL_J2056.2-4714_daily_bin1769.fits', irfs='P8R3_SOURCE_V2')
like = UnbinnedAnalysis(obs, '/scratch/kocevski/444373/Model_4FGL_J2056.2-4714_daily_bin1769.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  0.000e+00  1.000e+06 ( 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 -5.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/444373/ft1_filtered_4FGL_J2056.2-4714_daily_bin1769.fits
Spacecraft file(s): /scratch/kocevski/444373/ft2_4FGL_J2056.2-4714_daily_bin1769.fits
Exposure map: /scratch/kocevski/444373/expmap_697852801_698112001_4FGL_J2056.2-4714_daily_bin1769.fits
Exposure cube: /scratch/kocevski/444373/ltcube_697852801_698112001_4FGL_J2056.2-4714_daily_bin1769.fits
IRFs: P8R3_SOURCE_V2
Source model file: /scratch/kocevski/444373/Model_4FGL_J2056.2-4714_daily_bin1769.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) = 7579.62594376

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

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

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'norm      '    10.335       1.0000          .0000       .10000E+07
     2 'norm      '    .47234E-01   1.0000          .0000       .10000E+07
     3 'norm      '    .20706E-07   1.0000          .0000       .10000E+07
     4 'norm      '    .47238E-05   1.0000          .0000       .10000E+07
     5 'norm      '    .43171E-05   1.0000          .0000       .10000E+07
     6 'Prefactor '    .19419E-01   1.0000          .0000       .10000E+07
     7 'Prefactor '    .16653E-08   1.0000          .0000       .10000E+07
     8 'Prefactor '    9.6392       1.0000          .0000       .10000E+07
     9 'norm      '    5.4670       1.0000          .0000       .10000E+07
    10 'Prefactor '    62.344       1.0000          .0000       .10000E+07
    11 'Prefactor '    .41215E-03   1.0000          .0000       .10000E+07
    12 'Prefactor '    .12941E-03   1.0000          .0000       .10000E+07
    13 'Prefactor '    .10731E-04   1.0000          .0000       .10000E+07
    14 'Prefactor '    3.3177       1.0000          .0000       .10000E+07
    15 'norm      '    6.8631       1.0000          .0000       .10000E+07
    16 'Prefactor '    4.4000       1.0000          .0000       .10000E+07
    17 'Prefactor '    .26307E-04   1.0000          .0000       .10000E+07
    18 'Prefactor '    3.2096       1.0000          .0000       .10000E+07
    19 'Normalizat'    .49558       1.0000         .10000E-01   10.000    
    20 'Prefactor '    1.2439       1.0000          .0000       10.000    
 **********
 **   15 **SET ERR    .5000    
 **********
 **********
 **   16 **SET GRAD    1.000    
 **********
 **********
 **   17 **MINIMIZE    .5520E+05   .2000E-04
 **********

 MIGRAD MINIMIZATION HAS CONVERGED.

 FCN=   7579.607     FROM MIGRAD    STATUS=CONVERGED    121 CALLS     1529 TOTAL
                     EDM=   .40E-09  STRATEGY=1  ERROR MATRIX UNCERTAINTY=   .8%

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  norm          10.264        2.9940        .90631E-09   -.10681E-01
   2  norm          .88263E-08    26.511       -.13702E-06** at limit **
   3  norm           .0000        .33321        .73267E-07** at limit **
   4  norm          .21094E-08    2.7268        .14804E-07** at limit **
   5  norm          .30642E-07    3.3183       -.16078E-06** at limit **
   6  Prefactor     .22321E-06    10.062       -.33782E-07** at limit **
   7  Prefactor     .77993E-07    3.6051       -.11440E-06** at limit **
   8  Prefactor     9.7102        1.4782       -.11264E-07    .21201E-01
   9  norm          5.4658        2.1163        .31416E-07    .23424E-02
  10  Prefactor     62.367        1.8595       -.41854E-08    .12698    
  11  Prefactor     .16653E-09    4.3001       -.16722E-06** at limit **
  12  Prefactor     .77716E-09    25.529        .84129E-07** at limit **
  13  Prefactor     .21150E-07    6.1380       -.12227E-06** at limit **
  14  Prefactor     3.3129        4.5660       -.30783E-07    .21551E-03
  15  norm          6.8495        4.2221        .16967E-07   -.78415E-03
  16  Prefactor     4.4032        5.7177       -.53651E-08    .16368E-01
  17  Prefactor      .0000        11.155        .23621E-06** at limit **
  18  Prefactor     3.1658        7.3795        .49503E-07   -.93078E-03
  19  Normalizat    .49593        .24221       -.21281E-05   -.55679E-04
  20  Prefactor     1.2438        .13338       -.10127E-06   -.13042E-03
                               ERR DEF=  .500    
Final values: 
  norm       = 10.2639
  norm       = 8.82627e-09
  norm       = 0
  norm       = 2.10942e-09
  norm       = 3.06422e-08
  Prefactor  = 2.2321e-07
  Prefactor  = 7.79932e-08
  Prefactor  = 9.71018
  norm       = 5.46575
  Prefactor  = 62.3674
  Prefactor  = 1.66533e-10
  Prefactor  = 7.77156e-10
  Prefactor  = 2.11497e-08
  Prefactor  = 3.31288
  norm       = 6.84948
  Prefactor  = 4.40316
  Prefactor  = 0
  Prefactor  = 3.16577
  Normalizat = 0.495934
  Prefactor  = 1.24385
 **********
 **   18 **HESSE 
 **********

 FCN=   7579.607     FROM HESSE     STATUS=OK           339 CALLS     1868 TOTAL
                     EDM=   .54E-06    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  norm          10.264        11.181        .31143E-03   -1.5644    
   2  norm          .88263E-08    11.004        .96449E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   3  norm           .0000        .33434        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   4  norm          .21094E-08    2.8289        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   5  norm          .30642E-07    4.5542        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   6  Prefactor     .22321E-06    30.880        .17075E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   7  Prefactor     .77993E-07    1.2842        .42118E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   8  Prefactor     9.7102        18.463        .32253E-03   -1.5646    
   9  norm          5.4658        2.1270        .42950E-03   -1.5661    
  10  Prefactor     62.367        36.991        .12666E-03   -1.5550    
  11  Prefactor     .16653E-09    4.5739        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  12  Prefactor     .77716E-09    25.584        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  13  Prefactor     .21150E-07    7.1891        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  14  Prefactor     3.3129        4.6110        .55550E-03   -1.5672    
  15  norm          6.8495        4.2349        .38274E-03   -1.5656    
  16  Prefactor     4.4032        6.5350        .47988E-03   -1.5666    
  17  Prefactor      .0000        11.224        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  18  Prefactor     3.1658        7.4617        .56526E-03   -1.5672    
  19  Normalizat    .49593        .23385        .97953E-01   -1.1260    
  20  Prefactor     1.2438        .12501        .33668E-01   -.84992    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 5.37861e-07
Minuit parameter uncertainties:
  1  11.1806
  2  0.000622707
  3  2.99966e-06
  4  0.000154543
  5  0.000747291
  6  0.00525067
  7  0.000632855
  8  18.4627
  9  2.12697
  10  36.9915
  11  5.83133e-05
  12  0.000280604
  13  0.000780211
  14  4.61103
  15  4.23486
  16  6.53503
  17  2.93272e-05
  18  7.46172
  19  0.23431
  20  0.125038
Done.

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

Extracting fit parameters...

4FGL J2056.2-4714
   Spectrum: LogParabola
291         norm:  5.466e+00  2.127e+00  0.000e+00  1.000e+06 ( 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 -5.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.244e+00  1.250e-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:  4.959e-01  2.343e-01  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Fixed Index): 19.21
Ra Dec: 314.072 -47.237
Photon Index (Fixed Index): 2.35 +/- 0.00
Photon Flux (Fixed Index): 1.23e-07 +/- 4.77e-08
Energy Flux (Fixed Index): 3.75e-05 +/- 1.46e-05

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) = 7578.4889422
delta logL = 1.11850691207

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

MINUIT Return Code (Free Index): 0
logL (Free Index) = 7578.36621749
delta logL = 1.24123162765

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'norm      '    4.1200       1.0000          .0000       .10000E+07
     2 'alpha     '    1.6854       1.0000          .0000       5.0000    
     3 'Normalizat'    .56134       1.0000         .10000E-01   10.000    
     4 'Prefactor '    1.2269       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=   7578.366     FROM MIGRAD    STATUS=CONVERGED     53 CALLS      212 TOTAL
                     EDM=   .70E-10    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  norm          4.1151        1.9322        .49639E-03   -.86172E-04
   2  alpha         1.6853        .31613        .25847       -.46298E-04
   3  Normalizat    .56129        .20803        .92445E-01    .50499E-04
   4  Prefactor     1.2269        .11925        .34024E-01   -.11102E-04
                               ERR DEF=  .500    
Final values: 
  norm       = 4.11506
  alpha      = 1.68531
  Normalizat = 0.561287
  Prefactor  = 1.22689
 **********
 **   18 **HESSE 
 **********

 FCN=   7578.366     FROM HESSE     STATUS=OK            33 CALLS      245 TOTAL
                     EDM=   .33E-11    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  norm          4.1151        2.5521        .75886E-05   -1.5667    
   2  alpha         1.6853        .44291        .10741E-01   -.33194    
   3  Normalizat    .56129        .22900        .40960E-03   -1.0965    
   4  Prefactor     1.2269        .13117        .16442E-03   -.85508    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 3.33509e-12
Minuit parameter uncertainties:
  1  2.55214
  2  0.44554
  3  0.229389
  4  0.131201
shell-init: error retrieving current directory: getcwd: cannot access parent directories: No such file or directory
rmdir: failed to remove `/scratch/kocevski/444373': 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) = 7578.36621434
delta logL = 1.24123477473

Extracting fit parameters...

4FGL J2056.2-4714
   Spectrum: LogParabola
291         norm:  4.115e+00  2.552e+00  0.000e+00  1.000e+06 ( 1.000e-11)
292        alpha:  1.685e+00  4.455e-01  0.000e+00  5.000e+00 ( 1.000e+00)
293         beta:  1.074e-01  0.000e+00 -5.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.227e+00  1.312e-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:  5.613e-01  2.294e-01  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Free Index): 21.61
Ra Dec: 314.072 -47.237
Photon Index (Free Index): 1.69 +/- 0.45
Photon Flux (Free Index): 6.44e-08 +/- 4.57e-08
Energy Flux (Free Index): 4.96e-05 +/- 2.68e-05

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/444373/cmap_HighResolution_697852801_698112001_4FGL_J2056.2-4714_daily_bin1769.png

Cleaning up...

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

Updating database...

UPDATE lightcurve_data_v2 SET comment='SUCCESS', photon_flux='1.23e-07', energy_flux2='4.96e-05', photon_flux_error='4.77e-08', dlogl='1.24e+00', energy_flux='3.75e-05', photon_flux2='6.44e-08', job_status='DONE', time_completed='2023-02-15 01:37:27.532078', photon_index_error2='0.45', photon_index2='1.69', ts='19.21', fit_tolerance='1e-08', GAL='1.24', photon_index_error='0.00', energy_flux_error2='2.68e-05', EG='0.50', time_epoch_completed='1676453847.53', return_code='0', job_id='444373', GAL2='1.23', EG2='0.56', return_code2='0', energy_flux_error='1.46e-05', photon_flux_error2='4.57e-08', ts2='21.61', photon_index='2.35' WHERE bin_id='1769' AND source_name='4FGL J2056.2-4714' AND cadence='daily';

Database successfully updated.


Analysis Complete.


Wed Feb 15 01:37:27 PST 2023


------------------------------------------------------------
Sender: LSF System <lsf@bullet0206>
Subject: Job 444373: <4FGL_J2056.2-4714_daily_bin1769> in cluster <slac> Done

Job <4FGL_J2056.2-4714_daily_bin1769> was submitted from host <rhel6-64p> by user <kocevski> in cluster <slac> at Wed Feb 15 01:25:15 2023
Job was executed on host(s) <bullet0206>, in queue <medium>, as user <kocevski> in cluster <slac> at Wed Feb 15 01:25:17 2023
</u/ki/kocevski> was used as the home directory.
</u/ki/kocevski> was used as the working directory.
Started at Wed Feb 15 01:25:17 2023
Terminated at Wed Feb 15 01:37:28 2023
Results reported at Wed Feb 15 01:37:28 2023

Your job looked like:

------------------------------------------------------------
# LSBATCH: User input
/nfs/farm/g/glast/g/LCRepository/Likelihood/Scripts/LikelihoodAnalysis.py 4FGL_J2056.2-4714_daily_bin1769 314.072 -47.2369 697852801 698112001 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 :                                   538.03 sec.
    Max Memory :                                 1256 MB
    Average Memory :                             264.76 MB
    Total Requested Memory :                     -
    Delta Memory :                               -
    Max Swap :                                   -
    Max Processes :                              5
    Max Threads :                                21
    Run time :                                   730 sec.
    Turnaround time :                            733 sec.

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

