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


Performing analysis on: 4FGL_J2056.2-4714_daily_bin1751
RA = 314.072, Dec = -47.2369
tmin = 693187201, tmax = 693446401
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='86558', job_status='RUN', time_executed='2022-12-23 01:16:22.715666', time_epoch_executed='1671786982.72' WHERE source_name='4FGL J2056.2-4714' and cadence='daily' and bin_id='1751'

Database successfully updated.
Done.

Creating custom output directory:
/scratch/kocevski/86558

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

Retrieving the FT1 file...

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

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

Retrieving 48 files...
Done.


Merging files...

Checksum keywords updated successfully.

Merged file saved to:
/scratch/kocevski/86558/ft1_4FGL_J2056.2-4714_daily_bin1751.fits


Retrieving the FT1 file...

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

Retrieving 48 files...
Done.


Merging files...

Merged file saved to:
/scratch/kocevski/86558/ft2_4FGL_J2056.2-4714_daily_bin1751.fits


Selecting the photons:
time -p gtselect infile=/scratch/kocevski/86558/ft1_4FGL_J2056.2-4714_daily_bin1751.fits outfile=/scratch/kocevski/86558/ft1_filteredMKT_4FGL_J2056.2-4714_daily_bin1751.fits ra=314.072 dec=-47.2369 rad=12.0 tmin=693187201.0 tmax=693446401.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.64
user 3.43
sys 0.18

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

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

Number of photons that the gtmktime cut: 739

Generating the livetime cube:
time -p gtltcube evfile="/scratch/kocevski/86558/ft1_filtered_4FGL_J2056.2-4714_daily_bin1751.fits" evtable="EVENTS" scfile=/scratch/kocevski/86558/ft2_4FGL_J2056.2-4714_daily_bin1751.fits sctable="SC_DATA" outfile=/scratch/kocevski/86558/ltcube_693187201_693446401_4FGL_J2056.2-4714_daily_bin1751.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/86558/ft2_4FGL_J2056.2-4714_daily_bin1751.fits
.....................!
real 12.28
user 11.83
sys 0.33

Generating the exposure map:
time -p gtexpmap evfile=/scratch/kocevski/86558/ft1_filtered_4FGL_J2056.2-4714_daily_bin1751.fits evtable="EVENTS" scfile=/scratch/kocevski/86558/ft2_4FGL_J2056.2-4714_daily_bin1751.fits sctable="SC_DATA" expcube=/scratch/kocevski/86558/ltcube_693187201_693446401_4FGL_J2056.2-4714_daily_bin1751.fits outfile=/scratch/kocevski/86558/expmap_693187201_693446401_4FGL_J2056.2-4714_daily_bin1751.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/86558/ltcube_693187201_693446401_4FGL_J2056.2-4714_daily_bin1751.fits
.....................!
real 191.16
user 185.27
sys 5.21

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/86558/ft1_filtered_4FGL_J2056.2-4714_daily_bin1751.fits scfile=/scratch/kocevski/86558/ft2_4FGL_J2056.2-4714_daily_bin1751.fits outfile=/scratch/kocevski/86558/cmap_693187201_693446401_4FGL_J2056.2-4714_daily_bin1751.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.16

Creating the high resolution counts map:
time -p gtbin evfile=/scratch/kocevski/86558/ft1_filtered_4FGL_J2056.2-4714_daily_bin1751.fits scfile=/scratch/kocevski/86558/ft2_4FGL_J2056.2-4714_daily_bin1751.fits outfile=/scratch/kocevski/86558/cmap_HighResolution_693187201_693446401_4FGL_J2056.2-4714_daily_bin1751.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.39
sys 0.15

Computing the diffuse response:
time -p gtdiffrsp evfile=/scratch/kocevski/86558/ft1_filtered_4FGL_J2056.2-4714_daily_bin1751.fits evtable="EVENTS" scfile=/scratch/kocevski/86558/ft2_4FGL_J2056.2-4714_daily_bin1751.fits sctable="SC_DATA" srcmdl=/scratch/kocevski/86558/Model_4FGL_J2056.2-4714_daily_bin1751.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/86558/ft1_filtered_4FGL_J2056.2-4714_daily_bin1751.fits.....................!
real 60.82
user 59.29
sys 1.27

Creating the likelihood object...
obs = UnbinnedObs('/scratch/kocevski/86558/ft1_filtered_4FGL_J2056.2-4714_daily_bin1751.fits', '/scratch/kocevski/86558/ft2_4FGL_J2056.2-4714_daily_bin1751.fits', expMap='/scratch/kocevski/86558/expmap_693187201_693446401_4FGL_J2056.2-4714_daily_bin1751.fits', expCube='/scratch/kocevski/86558/ltcube_693187201_693446401_4FGL_J2056.2-4714_daily_bin1751.fits', irfs='P8R3_SOURCE_V2')
like = UnbinnedAnalysis(obs, '/scratch/kocevski/86558/Model_4FGL_J2056.2-4714_daily_bin1751.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/86558/ft1_filtered_4FGL_J2056.2-4714_daily_bin1751.fits
Spacecraft file(s): /scratch/kocevski/86558/ft2_4FGL_J2056.2-4714_daily_bin1751.fits
Exposure map: /scratch/kocevski/86558/expmap_693187201_693446401_4FGL_J2056.2-4714_daily_bin1751.fits
Exposure cube: /scratch/kocevski/86558/ltcube_693187201_693446401_4FGL_J2056.2-4714_daily_bin1751.fits
IRFs: P8R3_SOURCE_V2
Source model file: /scratch/kocevski/86558/Model_4FGL_J2056.2-4714_daily_bin1751.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) = 7906.08581086

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

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

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'norm      '    .90362E-04   1.0000          .0000       .10000E+07
     2 'norm      '    .35583E-07   1.0000          .0000       .10000E+07
     3 'norm      '    1.8865       1.0000          .0000       .10000E+07
     4 'norm      '    1.4681       1.0000          .0000       .10000E+07
     5 'norm      '    .14223E-04   1.0000          .0000       .10000E+07
     6 'Prefactor '    .30111       1.0000          .0000       .10000E+07
     7 'Prefactor '    .37748E-08   1.0000          .0000       .10000E+07
     8 'Prefactor '    18.231       1.0000          .0000       .10000E+07
     9 'norm      '    .25233       1.0000          .0000       .10000E+07
    10 'Prefactor '    6.0075       1.0000          .0000       .10000E+07
    11 'Prefactor '    .33141E-02   1.0000          .0000       .10000E+07
    12 'Prefactor '    .29762E-03   1.0000          .0000       .10000E+07
    13 'Prefactor '    .55511E-09   1.0000          .0000       .10000E+07
    14 'Prefactor '    .44844E-05   1.0000          .0000       .10000E+07
    15 'norm      '    2.9026       1.0000          .0000       .10000E+07
    16 'Prefactor '    3.3919       1.0000          .0000       .10000E+07
    17 'Prefactor '    3.5721       1.0000          .0000       .10000E+07
    18 'Prefactor '    .69195E-04   1.0000          .0000       .10000E+07
    19 'Normalizat'    1.2019       1.0000         .10000E-01   10.000    
    20 'Prefactor '    1.0280       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=   7906.023     FROM MIGRAD    STATUS=CONVERGED    131 CALLS     1213 TOTAL
                     EDM=   .88E-09  STRATEGY=1  ERROR MATRIX UNCERTAINTY=  1.5%

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  norm           .0000        3.2098        .44181E-06** at limit **
   2  norm           .0000        4.7044        .11233E-06** at limit **
   3  norm          1.8880        1.3448       -.51145E-07    .21940E-02
   4  norm          1.4479        3.0114        .18296E-07    .17776E-03
   5  norm          .41916E-06    42.638       -.22086E-05** at limit **
   6  Prefactor     .89023E-04    13.727       -.67456E-06** at limit **
   7  Prefactor      .0000        .72174       -.11947E-06** at limit **
   8  Prefactor     18.210        7.7233        .51811E-08   -.96968E-01
   9  norm          .25240        .82003       -.18523E-07   -.55269E-03
  10  Prefactor     6.0331        1.3295       -.44962E-07   -.57152E-02
  11  Prefactor     .65226E-07    10.482        .27260E-06** at limit **
  12  Prefactor     .40101E-06    19.964       -.41194E-06** at limit **
  13  Prefactor     .38858E-09    8.7233        .15860E-06** at limit **
  14  Prefactor     .55511E-10    2.1011       -.26005E-07** at limit **
  15  norm          2.8694        3.1226        .58639E-07    .39934E-03
  16  Prefactor     3.4520        9.8520       -.10087E-05   -.18864E-02
  17  Prefactor     3.4350        1.1936        .39094E-07    .30020E-02
  18  Prefactor     .13656E-07    4.5838        .20437E-06** at limit **
  19  Normalizat    1.2020        .23520        .96643E-05    .81513E-04
  20  Prefactor     1.0280        .13123       -.81088E-05    .26898E-03
                               ERR DEF=  .500    
Final values: 
  norm       = 0
  norm       = 0
  norm       = 1.888
  norm       = 1.44791
  norm       = 4.19165e-07
  Prefactor  = 8.90226e-05
  Prefactor  = 0
  Prefactor  = 18.2098
  norm       = 0.252402
  Prefactor  = 6.03311
  Prefactor  = 6.52256e-08
  Prefactor  = 4.01013e-07
  Prefactor  = 3.88578e-10
  Prefactor  = 5.55112e-11
  norm       = 2.86937
  Prefactor  = 3.45205
  Prefactor  = 3.43499
  Prefactor  = 1.36557e-08
  Normalizat = 1.20199
  Prefactor  = 1.02804
 **********
 **   18 **HESSE 
 **********

 FCN=   7906.023     FROM HESSE     STATUS=OK           331 CALLS     1544 TOTAL
                     EDM=   .77E-06    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  norm           .0000        3.2149        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   2  norm           .0000        4.7064        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   3  norm          1.8880        1.3483        .75744E-03   -1.5680    
   4  norm          1.4479        3.0462        .88685E-03   -1.5684    
   5  norm          .41916E-06    42.871        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   6  Prefactor     .89023E-04    159.20        .10198E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   7  Prefactor      .0000        .72294        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   8  Prefactor     18.210        15.858        .23429E-03   -1.5623    
   9  norm          .25240        .76391        .33801E-02   -1.5698    
  10  Prefactor     6.0331        28.036        .40943E-03   -1.5659    
  11  Prefactor     .65226E-07    13.709        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  12  Prefactor     .40101E-06    20.998        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  13  Prefactor     .38858E-09    13.296        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  14  Prefactor     .55511E-10    2.1021        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  15  norm          2.8694        3.1325        .59615E-03   -1.5674    
  16  Prefactor     3.4520        9.8448        .54911E-03   -1.5671    
  17  Prefactor     3.4350        31.976        .53447E-03   -1.5671    
  18  Prefactor     .13656E-07    13.618        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  19  Normalizat    1.2020        .20099        .69660E-01   -.86541    
  20  Prefactor     1.0280        .11037        .41420E-01   -.91800    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 7.7215e-07
Minuit parameter uncertainties:
  1  1.58717e-05
  2  6.69393e-06
  3  1.34829
  4  3.04625
  5  0.00847819
  6  0.238106
  7  5.35722e-06
  8  15.8582
  9  0.763908
  10  26.0112
  11  0.00189113
  12  0.00580373
  13  0.000139089
  14  1.98789e-05
  15  3.13253
  16  9.84483
  17  20.9607
  18  0.00086317
  19  0.201116
  20  0.110397
Done.

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

Extracting fit parameters...

4FGL J2056.2-4714
   Spectrum: LogParabola
291         norm:  2.524e-01  7.639e-01  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.028e+00  1.104e-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:  1.202e+00  2.011e-01  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Fixed Index): 0.12
Ra Dec: 314.072 -47.237
Photon Flux Upper Limit: 6.76e-08 ph cm-2 s-1
Energy Flux Upper Limit: 2.07e-05 MeV cm-2 s-1

Saving results to:
/scratch/kocevski/86558/likelihoodResults_693187201_693446401_4FGL_J2056.2-4714_daily_bin1751.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) = 7905.96579918
delta logL = 0.0573894464496

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

MINUIT Return Code (Free Index): 0
logL (Free Index) = 7905.96439823
delta logL = 0.058790399582

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'norm      '    .28628       1.0000          .0000       .10000E+07
     2 'alpha     '    1.7711       1.0000          .0000       5.0000    
     3 'Normalizat'    1.2051       1.0000         .10000E-01   10.000    
     4 'Prefactor '    1.0264       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=   7905.964     FROM MIGRAD    STATUS=CONVERGED     53 CALLS      216 TOTAL
                     EDM=   .29E-08    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  norm          .28769        .99346        .28044E-02    .19417E-01
   2  alpha         1.7714        1.3470        .43615       -.38841E-04
   3  Normalizat    1.2052        .19629        .69578E-01   -.10935E-03
   4  Prefactor     1.0264        .10987        .41550E-01   -.21233E-03
                               ERR DEF=  .500    
Final values: 
  norm       = 0.287688
  alpha      = 1.77143
  Normalizat = 1.20519
  Prefactor  = 1.02638
 **********
 **   18 **HESSE 
 **********

 FCN=   7905.964     FROM HESSE     STATUS=OK            33 CALLS      249 TOTAL
                     EDM=   .16E-07    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  norm          .28769        .73703        .12870E-03   -1.5697    
   2  alpha         1.7714        1.3728        .41823E-01   -.29572    
   3  Normalizat    1.2052        .23240        .30785E-03   -.86443    
   4  Prefactor     1.0264        .13023        .18394E-03   -.91855    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 1.6089e-08
Minuit parameter uncertainties:
  1  0.737028
  2  1.46216
  3  0.232603
  4  0.130266
shell-init: error retrieving current directory: getcwd: cannot access parent directories: No such file or directory
rmdir: failed to remove `/scratch/kocevski/86558': 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) = 7905.96439623
delta logL = 0.0587923956246

Extracting fit parameters...

4FGL J2056.2-4714
   Spectrum: LogParabola
291         norm:  2.877e-01  7.370e-01  0.000e+00  1.000e+06 ( 1.000e-11)
292        alpha:  1.771e+00  1.462e+00  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.026e+00  1.303e-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:  1.205e+00  2.326e-01  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Free Index): 0.12
Ra Dec: 314.072 -47.237

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/86558/cmap_HighResolution_693187201_693446401_4FGL_J2056.2-4714_daily_bin1751.png

Cleaning up...

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

Updating database...

UPDATE lightcurve_data_v2 SET energy_flux_upper_limit='2.07e-05', job_status='DONE', photon_flux_upper_limit='6.76e-08', time_completed='2022-12-23 01:25:44.172410', job_id='86558', GAL2='1.03', fit_tolerance='1e-08', EG2='1.21', EG='1.20', time_epoch_completed='1671787544.17', return_code2='0', ts='0.12', comment='SUCCESS', return_code='0', GAL='1.03', dlogl='5.88e-02', ts2='0.23', photon_index_error='0.00', photon_index='2.35' WHERE bin_id='1751' AND source_name='4FGL J2056.2-4714' AND cadence='daily';

Database successfully updated.


Analysis Complete.


Fri Dec 23 01:25:44 PST 2022


------------------------------------------------------------
Sender: LSF System <lsf@bullet0072>
Subject: Job 86558: <4FGL_J2056.2-4714_daily_bin1751> in cluster <slac> Done

Job <4FGL_J2056.2-4714_daily_bin1751> was submitted from host <rhel6-64e> by user <kocevski> in cluster <slac> at Fri Dec 23 01:15:24 2022
Job was executed on host(s) <bullet0072>, in queue <medium>, as user <kocevski> in cluster <slac> at Fri Dec 23 01:15:25 2022
</u/ki/kocevski> was used as the home directory.
</u/ki/kocevski> was used as the working directory.
Started at Fri Dec 23 01:15:25 2022
Terminated at Fri Dec 23 01:25:45 2022
Results reported at Fri Dec 23 01:25:45 2022

Your job looked like:

------------------------------------------------------------
# LSBATCH: User input
/nfs/farm/g/glast/g/LCRepository/Likelihood/Scripts/LikelihoodAnalysis.py 4FGL_J2056.2-4714_daily_bin1751 314.072 -47.2369 693187201 693446401 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 :                                   562.23 sec.
    Max Memory :                                 1256 MB
    Average Memory :                             321.76 MB
    Total Requested Memory :                     -
    Delta Memory :                               -
    Max Swap :                                   -
    Max Processes :                              5
    Max Threads :                                21
    Run time :                                   619 sec.
    Turnaround time :                            621 sec.

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

