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


Performing analysis on: 4FGL_J2056.2-4714_daily_bin1758
RA = 314.072, Dec = -47.2369
tmin = 695001601, tmax = 695260801
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='382302', job_status='RUN', time_executed='2023-01-13 01:42:17.400641', time_epoch_executed='1673602937.4' WHERE source_name='4FGL J2056.2-4714' and cadence='daily' and bin_id='1758'

Database successfully updated.
Done.

Creating custom output directory:
/scratch/kocevski/382302

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

Retrieving the FT1 file...

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

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

Retrieving 46 files...
Done.


Merging files...

Checksum keywords updated successfully.

Merged file saved to:
/scratch/kocevski/382302/ft1_4FGL_J2056.2-4714_daily_bin1758.fits


Retrieving the FT1 file...

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

Retrieving 46 files...
Done.


Merging files...

Merged file saved to:
/scratch/kocevski/382302/ft2_4FGL_J2056.2-4714_daily_bin1758.fits


Selecting the photons:
time -p gtselect infile=/scratch/kocevski/382302/ft1_4FGL_J2056.2-4714_daily_bin1758.fits outfile=/scratch/kocevski/382302/ft1_filteredMKT_4FGL_J2056.2-4714_daily_bin1758.fits ra=314.072 dec=-47.2369 rad=12.0 tmin=695001601.0 tmax=695260801.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.80
user 2.57
sys 0.20

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

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

Number of photons that the gtmktime cut: 357

Generating the livetime cube:
time -p gtltcube evfile="/scratch/kocevski/382302/ft1_filtered_4FGL_J2056.2-4714_daily_bin1758.fits" evtable="EVENTS" scfile=/scratch/kocevski/382302/ft2_4FGL_J2056.2-4714_daily_bin1758.fits sctable="SC_DATA" outfile=/scratch/kocevski/382302/ltcube_695001601_695260801_4FGL_J2056.2-4714_daily_bin1758.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/382302/ft2_4FGL_J2056.2-4714_daily_bin1758.fits
.....................!
real 16.45
user 15.84
sys 0.36

Generating the exposure map:
time -p gtexpmap evfile=/scratch/kocevski/382302/ft1_filtered_4FGL_J2056.2-4714_daily_bin1758.fits evtable="EVENTS" scfile=/scratch/kocevski/382302/ft2_4FGL_J2056.2-4714_daily_bin1758.fits sctable="SC_DATA" expcube=/scratch/kocevski/382302/ltcube_695001601_695260801_4FGL_J2056.2-4714_daily_bin1758.fits outfile=/scratch/kocevski/382302/expmap_695001601_695260801_4FGL_J2056.2-4714_daily_bin1758.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/382302/ltcube_695001601_695260801_4FGL_J2056.2-4714_daily_bin1758.fits
.....................!
real 192.34
user 186.32
sys 5.11

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/382302/ft1_filtered_4FGL_J2056.2-4714_daily_bin1758.fits scfile=/scratch/kocevski/382302/ft2_4FGL_J2056.2-4714_daily_bin1758.fits outfile=/scratch/kocevski/382302/cmap_695001601_695260801_4FGL_J2056.2-4714_daily_bin1758.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.58
user 0.38
sys 0.17

Creating the high resolution counts map:
time -p gtbin evfile=/scratch/kocevski/382302/ft1_filtered_4FGL_J2056.2-4714_daily_bin1758.fits scfile=/scratch/kocevski/382302/ft2_4FGL_J2056.2-4714_daily_bin1758.fits outfile=/scratch/kocevski/382302/cmap_HighResolution_695001601_695260801_4FGL_J2056.2-4714_daily_bin1758.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.57
user 0.40
sys 0.15

Computing the diffuse response:
time -p gtdiffrsp evfile=/scratch/kocevski/382302/ft1_filtered_4FGL_J2056.2-4714_daily_bin1758.fits evtable="EVENTS" scfile=/scratch/kocevski/382302/ft2_4FGL_J2056.2-4714_daily_bin1758.fits sctable="SC_DATA" srcmdl=/scratch/kocevski/382302/Model_4FGL_J2056.2-4714_daily_bin1758.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/382302/ft1_filtered_4FGL_J2056.2-4714_daily_bin1758.fits.....................!
real 37.40
user 35.93
sys 1.20

Creating the likelihood object...
obs = UnbinnedObs('/scratch/kocevski/382302/ft1_filtered_4FGL_J2056.2-4714_daily_bin1758.fits', '/scratch/kocevski/382302/ft2_4FGL_J2056.2-4714_daily_bin1758.fits', expMap='/scratch/kocevski/382302/expmap_695001601_695260801_4FGL_J2056.2-4714_daily_bin1758.fits', expCube='/scratch/kocevski/382302/ltcube_695001601_695260801_4FGL_J2056.2-4714_daily_bin1758.fits', irfs='P8R3_SOURCE_V2')
like = UnbinnedAnalysis(obs, '/scratch/kocevski/382302/Model_4FGL_J2056.2-4714_daily_bin1758.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/382302/ft1_filtered_4FGL_J2056.2-4714_daily_bin1758.fits
Spacecraft file(s): /scratch/kocevski/382302/ft2_4FGL_J2056.2-4714_daily_bin1758.fits
Exposure map: /scratch/kocevski/382302/expmap_695001601_695260801_4FGL_J2056.2-4714_daily_bin1758.fits
Exposure cube: /scratch/kocevski/382302/ltcube_695001601_695260801_4FGL_J2056.2-4714_daily_bin1758.fits
IRFs: P8R3_SOURCE_V2
Source model file: /scratch/kocevski/382302/Model_4FGL_J2056.2-4714_daily_bin1758.xml
Optimizer: MINUIT
Statistic: UNBINNED

Performing an iterative likelihood fit...

Fit tolerance = 1

Performing likelihood fit...
Done.

MINUIT Return Code (Fixed Index): 102
logL (Fixed Index) = 3857.29491912

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

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

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'norm      '    .10108E-01   1.0000          .0000       .10000E+07
     2 'norm      '    122.38       1.0000          .0000       .10000E+07
     3 'norm      '    2.8307       1.0000          .0000       .10000E+07
     4 'norm      '    .68986E-05   1.0000          .0000       .10000E+07
     5 'norm      '    .12990E-02   1.0000          .0000       .10000E+07
     6 'Prefactor '    .52416       1.0000          .0000       .10000E+07
     7 'Prefactor '    3.1833       1.0000          .0000       .10000E+07
     8 'Prefactor '    .40232E-02   1.0000          .0000       .10000E+07
     9 'norm      '    3.4211       1.0000          .0000       .10000E+07
    10 'Prefactor '    52.997       1.0000          .0000       .10000E+07
    11 'Prefactor '    15.917       1.0000          .0000       .10000E+07
    12 'Prefactor '    .99371E-02   1.0000          .0000       .10000E+07
    13 'Prefactor '    .23461E-01   1.0000          .0000       .10000E+07
    14 'Prefactor '    .32882       1.0000          .0000       .10000E+07
    15 'norm      '    13.679       1.0000          .0000       .10000E+07
    16 'Prefactor '    .47030E-02   1.0000          .0000       .10000E+07
    17 'Prefactor '    .20897E-01   1.0000          .0000       .10000E+07
    18 'Prefactor '    6.8820       1.0000          .0000       .10000E+07
    19 'Normalizat'    .87026       1.0000         .10000E-01   10.000    
    20 'Prefactor '    1.3267       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=   3857.293     FROM MIGRAD    STATUS=CONVERGED    161 CALLS     1638 TOTAL
                     EDM=   .67E-09  STRATEGY=1  ERROR MATRIX UNCERTAINTY=  3.6%

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  norm          .44409E-09    16.902        .28918E-05** at limit **
   2  norm          122.91        80.058        .37127E-05   -.32414E-03
   3  norm          2.8306        2.7641        .20395E-07   -.66272E-02
   4  norm          .44409E-09    3.9816       -.28897E-06** at limit **
   5  norm          .27756E-09    30.810       -.16319E-05** at limit **
   6  Prefactor     .20539E-08    183.25        .53578E-05** at limit **
   7  Prefactor     3.1891        3.4767       -.10605E-06   -.52861E-02
   8  Prefactor     .15543E-08    8.9932        .60083E-07** at limit **
   9  norm          3.4265        3.2243        .80454E-07    .73391E-02
  10  Prefactor     53.081        9.2677        .65919E-06    .99833E-03
  11  Prefactor     15.953        15.245       -.39070E-05   -.34164E-03
  12  Prefactor     .55511E-09    18.145       -.39978E-05** at limit **
  13  Prefactor     .78826E-08    41.030        .77345E-06** at limit **
  14  Prefactor     .34461        20.520       -.14022E-06    .64179E-03
  15  norm          13.671        7.5267        .10971E-06   -.25942E-02
  16  Prefactor      .0000        23.782        .39206E-05** at limit **
  17  Prefactor     .55511E-10    39.556       -.19201E-06** at limit **
  18  Prefactor     6.8665        12.931       -.11957E-05   -.19306E-02
  19  Normalizat    .86999        .40535        .59823E-04   -.19249E-03
  20  Prefactor     1.3265        .22147       -.16391E-04   -.30804E-03
                               ERR DEF=  .500    
Final values: 
  norm       = 4.44089e-10
  norm       = 122.906
  norm       = 2.83055
  norm       = 4.44089e-10
  norm       = 2.77556e-10
  Prefactor  = 2.05391e-09
  Prefactor  = 3.1891
  Prefactor  = 1.55431e-09
  norm       = 3.42647
  Prefactor  = 53.0815
  Prefactor  = 15.9532
  Prefactor  = 5.55112e-10
  Prefactor  = 7.88258e-09
  Prefactor  = 0.344614
  norm       = 13.6714
  Prefactor  = 0
  Prefactor  = 5.55112e-11
  Prefactor  = 6.86648
  Normalizat = 0.869988
  Prefactor  = 1.32647
 **********
 **   18 **HESSE 
 **********

 FCN=   3857.293     FROM HESSE     STATUS=OK           339 CALLS     1977 TOTAL
                     EDM=   .24E-08    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  norm          .44409E-09    16.889        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   2  norm          122.91        80.503        .90403E-04   -1.5486    
   3  norm          2.8306        2.7553        .60419E-03   -1.5674    
   4  norm          .44409E-09    3.9748        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   5  norm          .27756E-09    30.799        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   6  Prefactor     .20539E-08    183.01        .76316E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   7  Prefactor     3.1891        3.4914        .56771E-03   -1.5672    
   8  Prefactor     .15543E-08    8.9957        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   9  norm          3.4265        3.2332        .54665E-03   -1.5671    
  10  Prefactor     53.081        69.796        .13737E-03   -1.5562    
  11  Prefactor     15.953        15.147        .25078E-03   -1.5628    
  12  Prefactor     .55511E-09    18.143        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  13  Prefactor     .78826E-08    40.051        .16819E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  14  Prefactor     .34461        4.0223        .68517E-02   -1.5696    
  15  norm          13.671        7.5221        .27056E-03   -1.5634    
  16  Prefactor      .0000        23.654        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  17  Prefactor     .55511E-10    39.311        .16978E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  18  Prefactor     6.8665        12.881        .38221E-03   -1.5656    
  19  Normalizat    .86999        .36371        .89165E-01   -.97523    
  20  Prefactor     1.3265        .19653        .32160E-01   -.82523    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 2.42116e-09
Minuit parameter uncertainties:
  1  0.000175205
  2  80.5037
  3  2.7553
  4  8.64399e-05
  5  0.000183522
  6  0.0012282
  7  3.49143
  8  0.000234734
  9  3.2332
  10  69.7971
  11  15.1465
  12  0.000200581
  13  0.00112561
  14  2.35468
  15  7.52208
  16  8.61361e-06
  17  0.000109014
  18  12.8809
  19  0.364735
  20  0.196639
Done.

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

Extracting fit parameters...

4FGL J2056.2-4714
   Spectrum: LogParabola
291         norm:  3.426e+00  3.233e+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.326e+00  1.966e-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.700e-01  3.647e-01  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Fixed Index): 1.93
Ra Dec: 314.072 -47.237
Photon Index (Fixed Index): 2.35 +/- 0.00
Photon Flux (Fixed Index): 7.69e-08 +/- 7.25e-08
Energy Flux (Fixed Index): 2.35e-05 +/- 2.22e-05

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

Saving results to:
/scratch/kocevski/382302/likelihoodResults_695001601_695260801_4FGL_J2056.2-4714_daily_bin1758.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) = 3857.08407995
delta logL = 0.208421433756

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

MINUIT Return Code (Free Index): 0
logL (Free Index) = 3857.07494382
delta logL = 0.217557565934

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'norm      '    3.0226       1.0000          .0000       .10000E+07
     2 'alpha     '    1.8322       1.0000          .0000       5.0000    
     3 'Normalizat'    .89786       1.0000         .10000E-01   10.000    
     4 'Prefactor '    1.3181       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=   3857.075     FROM MIGRAD    STATUS=CONVERGED     52 CALLS      207 TOTAL
                     EDM=   .45E-10    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  norm          3.0210        2.8121        .58346E-03    .12393E-02
   2  alpha         1.8315        .58234        .37916       -.23541E-04
   3  Normalizat    .89813        .32399        .87904E-01    .57556E-05
   4  Prefactor     1.3180        .19245        .32302E-01   -.25512E-04
                               ERR DEF=  .500    
Final values: 
  norm       = 3.02101
  alpha      = 1.83146
  Normalizat = 0.898132
  Prefactor  = 1.31801
 **********
 **   18 **HESSE 
 **********

 FCN=   3857.075     FROM HESSE     STATUS=OK            33 CALLS      240 TOTAL
                     EDM=   .46E-11    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  norm          3.0210        3.1854        .96736E-05   -1.5673    
   2  alpha         1.8315        .74923        .14680E-01   -.27071    
   3  Normalizat    .89813        .36122        .38928E-03   -.96526    
   4  Prefactor     1.3180        .21498        .19442E-03   -.82773    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 4.56447e-12
Minuit parameter uncertainties:
  1  3.18537
  2  0.761872
  3  0.362203
  4  0.215121
shell-init: error retrieving current directory: getcwd: cannot access parent directories: No such file or directory
rmdir: failed to remove `/scratch/kocevski/382302': 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) = 3857.07494303
delta logL = 0.217558357282

Extracting fit parameters...

4FGL J2056.2-4714
   Spectrum: LogParabola
291         norm:  3.021e+00  3.185e+00  0.000e+00  1.000e+06 ( 1.000e-11)
292        alpha:  1.831e+00  7.619e-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.318e+00  2.151e-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.981e-01  3.622e-01  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Free Index): 2.36
Ra Dec: 314.072 -47.237
Photon Index (Free Index): 1.83 +/- 0.76
Photon Flux (Free Index): 4.97e-08 +/- 6.14e-08
Energy Flux (Free Index): 2.94e-05 +/- 3.04e-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/382302/cmap_HighResolution_695001601_695260801_4FGL_J2056.2-4714_daily_bin1758.png

Cleaning up...

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

Updating database...

UPDATE lightcurve_data_v2 SET energy_flux_upper_limit='7.53e-05', comment='SUCCESS', photon_flux='7.69e-08', energy_flux2='2.94e-05', photon_flux_error='7.25e-08', dlogl='2.18e-01', energy_flux='2.35e-05', photon_flux2='4.97e-08', job_status='DONE', time_completed='2023-01-13 01:50:06.328739', photon_index_error2='0.76', photon_index2='1.83', ts='1.93', fit_tolerance='1e-08', GAL='1.33', photon_index_error='0.00', photon_flux_upper_limit='2.46e-07', energy_flux_error2='3.04e-05', EG='0.87', time_epoch_completed='1673603406.33', return_code='0', job_id='382302', GAL2='1.32', EG2='0.90', return_code2='0', energy_flux_error='2.22e-05', photon_flux_error2='6.14e-08', ts2='2.36', photon_index='2.35' WHERE bin_id='1758' AND source_name='4FGL J2056.2-4714' AND cadence='daily';

Database successfully updated.


Analysis Complete.


Fri Jan 13 01:50:06 PST 2023


------------------------------------------------------------
Sender: LSF System <lsf@bullet0261>
Subject: Job 382302: <4FGL_J2056.2-4714_daily_bin1758> in cluster <slac> Done

Job <4FGL_J2056.2-4714_daily_bin1758> was submitted from host <rhel6-64f> by user <kocevski> in cluster <slac> at Fri Jan 13 01:40:14 2023
Job was executed on host(s) <bullet0261>, in queue <medium>, as user <kocevski> in cluster <slac> at Fri Jan 13 01:40:34 2023
</u/ki/kocevski> was used as the home directory.
</u/ki/kocevski> was used as the working directory.
Started at Fri Jan 13 01:40:34 2023
Terminated at Fri Jan 13 01:50:07 2023
Results reported at Fri Jan 13 01:50:07 2023

Your job looked like:

------------------------------------------------------------
# LSBATCH: User input
/nfs/farm/g/glast/g/LCRepository/Likelihood/Scripts/LikelihoodAnalysis.py 4FGL_J2056.2-4714_daily_bin1758 314.072 -47.2369 695001601 695260801 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 :                                   470.09 sec.
    Max Memory :                                 1093 MB
    Average Memory :                             283.10 MB
    Total Requested Memory :                     -
    Delta Memory :                               -
    Max Swap :                                   -
    Max Processes :                              5
    Max Threads :                                21
    Run time :                                   572 sec.
    Turnaround time :                            593 sec.

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

