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


Performing analysis on: 4FGL_J2056.2-4714_daily_bin1759
RA = 314.072, Dec = -47.2369
tmin = 695260801, tmax = 695520001
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='573075', job_status='RUN', time_executed='2023-01-16 02:03:28.543720', time_epoch_executed='1673863408.54' WHERE source_name='4FGL J2056.2-4714' and cadence='daily' and bin_id='1759'

Database successfully updated.
Done.

Creating custom output directory:
/scratch/kocevski/573075

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

Retrieving the FT1 file...

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

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

Retrieving 47 files...
Done.


Merging files...

Checksum keywords updated successfully.

Merged file saved to:
/scratch/kocevski/573075/ft1_4FGL_J2056.2-4714_daily_bin1759.fits


Retrieving the FT1 file...

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

Retrieving 47 files...
Done.


Merging files...

Merged file saved to:
/scratch/kocevski/573075/ft2_4FGL_J2056.2-4714_daily_bin1759.fits


Selecting the photons:
time -p gtselect infile=/scratch/kocevski/573075/ft1_4FGL_J2056.2-4714_daily_bin1759.fits outfile=/scratch/kocevski/573075/ft1_filteredMKT_4FGL_J2056.2-4714_daily_bin1759.fits ra=314.072 dec=-47.2369 rad=12.0 tmin=695260801.0 tmax=695520001.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.82
user 2.54
sys 0.20

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

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

Number of photons that the gtmktime cut: 300

Generating the livetime cube:
time -p gtltcube evfile="/scratch/kocevski/573075/ft1_filtered_4FGL_J2056.2-4714_daily_bin1759.fits" evtable="EVENTS" scfile=/scratch/kocevski/573075/ft2_4FGL_J2056.2-4714_daily_bin1759.fits sctable="SC_DATA" outfile=/scratch/kocevski/573075/ltcube_695260801_695520001_4FGL_J2056.2-4714_daily_bin1759.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/573075/ft2_4FGL_J2056.2-4714_daily_bin1759.fits
.....................!
real 16.34
user 15.84
sys 0.32

Generating the exposure map:
time -p gtexpmap evfile=/scratch/kocevski/573075/ft1_filtered_4FGL_J2056.2-4714_daily_bin1759.fits evtable="EVENTS" scfile=/scratch/kocevski/573075/ft2_4FGL_J2056.2-4714_daily_bin1759.fits sctable="SC_DATA" expcube=/scratch/kocevski/573075/ltcube_695260801_695520001_4FGL_J2056.2-4714_daily_bin1759.fits outfile=/scratch/kocevski/573075/expmap_695260801_695520001_4FGL_J2056.2-4714_daily_bin1759.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/573075/ltcube_695260801_695520001_4FGL_J2056.2-4714_daily_bin1759.fits
.....................!
real 192.41
user 186.89
sys 4.27

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/573075/ft1_filtered_4FGL_J2056.2-4714_daily_bin1759.fits scfile=/scratch/kocevski/573075/ft2_4FGL_J2056.2-4714_daily_bin1759.fits outfile=/scratch/kocevski/573075/cmap_695260801_695520001_4FGL_J2056.2-4714_daily_bin1759.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.39
sys 0.16

Creating the high resolution counts map:
time -p gtbin evfile=/scratch/kocevski/573075/ft1_filtered_4FGL_J2056.2-4714_daily_bin1759.fits scfile=/scratch/kocevski/573075/ft2_4FGL_J2056.2-4714_daily_bin1759.fits outfile=/scratch/kocevski/573075/cmap_HighResolution_695260801_695520001_4FGL_J2056.2-4714_daily_bin1759.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.38
sys 0.18

Computing the diffuse response:
time -p gtdiffrsp evfile=/scratch/kocevski/573075/ft1_filtered_4FGL_J2056.2-4714_daily_bin1759.fits evtable="EVENTS" scfile=/scratch/kocevski/573075/ft2_4FGL_J2056.2-4714_daily_bin1759.fits sctable="SC_DATA" srcmdl=/scratch/kocevski/573075/Model_4FGL_J2056.2-4714_daily_bin1759.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/573075/ft1_filtered_4FGL_J2056.2-4714_daily_bin1759.fits....................!
real 34.18
user 32.26
sys 1.42

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

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

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

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'norm      '    .10646E-02   1.0000          .0000       .10000E+07
     2 'norm      '    60.841       1.0000          .0000       .10000E+07
     3 'norm      '    10.015       1.0000          .0000       .10000E+07
     4 'norm      '    5.3817       1.0000          .0000       .10000E+07
     5 'norm      '    .50033E-01   1.0000          .0000       .10000E+07
     6 'Prefactor '    .27780E-01   1.0000          .0000       .10000E+07
     7 'Prefactor '    .84821E-07   1.0000          .0000       .10000E+07
     8 'Prefactor '    29.340       1.0000          .0000       .10000E+07
     9 'norm      '    1.3181       1.0000          .0000       .10000E+07
    10 'Prefactor '    16.247       1.0000          .0000       .10000E+07
    11 'Prefactor '    .89931       1.0000          .0000       .10000E+07
    12 'Prefactor '    .43249E-01   1.0000          .0000       .10000E+07
    13 'Prefactor '    .18860E-02   1.0000          .0000       .10000E+07
    14 'Prefactor '    .24883E-04   1.0000          .0000       .10000E+07
    15 'norm      '    17.175       1.0000          .0000       .10000E+07
    16 'Prefactor '    .24787E-01   1.0000          .0000       .10000E+07
    17 'Prefactor '    25.457       1.0000          .0000       .10000E+07
    18 'Prefactor '    .73532E-04   1.0000          .0000       .10000E+07
    19 'Normalizat'    1.9487       1.0000         .10000E-01   10.000    
    20 'Prefactor '    1.0429       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=   3227.369     FROM MIGRAD    STATUS=CONVERGED    163 CALLS     1519 TOTAL
                     EDM=   .14E-08  STRATEGY=1  ERROR MATRIX UNCERTAINTY=  1.3%

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  norm           .0000        18.411        .10135E-05** at limit **
   2  norm          60.969        4.6019        .52151E-06    .63234E-01
   3  norm          9.9339        6.7687        .17161E-06   -.31622E-02
   4  norm          5.4176        12.855        .78444E-05   -.42306E-02
   5  norm          .55511E-10    29.844        .30820E-05** at limit **
   6  Prefactor     .11657E-08    59.915        .65055E-05** at limit **
   7  Prefactor      .0000        1.7082       -.55972E-06** at limit **
   8  Prefactor     30.172        40.108       -.21216E-05   -.42597E-01
   9  norm          1.3239        2.4270        .19811E-06   -.19435E-02
  10  Prefactor     23.246        166.50        .93844E-05    .13763E-03
  11  Prefactor     .99973        3.9275       -.14575E-05   -.95295E-01
  12  Prefactor      .0000        29.168        .33377E-05** at limit **
  13  Prefactor     .27756E-09    21.652       -.39621E-05** at limit **
  14  Prefactor     .55511E-10    15.049       -.25096E-05** at limit **
  15  norm          17.390        9.7545       -.13131E-05    .42324E-03
  16  Prefactor     .11102E-09    13.346        .20669E-05** at limit **
  17  Prefactor     29.384        65.237       -.12206E-04    .21121E-01
  18  Prefactor      .0000        7.4827        .16130E-05** at limit **
  19  Normalizat    1.9340        .48490        .68090E-04   -.85912E-04
  20  Prefactor     1.0461        .25740       -.28473E-04   -.10130E-03
                               ERR DEF=  .500    
Final values: 
  norm       = 0
  norm       = 60.9686
  norm       = 9.93394
  norm       = 5.41756
  norm       = 5.55112e-11
  Prefactor  = 1.16573e-09
  Prefactor  = 0
  Prefactor  = 30.1717
  norm       = 1.32388
  Prefactor  = 23.2455
  Prefactor  = 0.99973
  Prefactor  = 0
  Prefactor  = 2.77556e-10
  Prefactor  = 5.55112e-11
  norm       = 17.3903
  Prefactor  = 1.11022e-10
  Prefactor  = 29.3842
  Prefactor  = 0
  Normalizat = 1.93399
  Prefactor  = 1.0461
 **********
 **   18 **HESSE 
 **********

 FCN=   3227.369     FROM HESSE     STATUS=OK           329 CALLS     1848 TOTAL
                     EDM=   .30E-05    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  norm           .0000        18.408        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   2  norm          60.969        69.627        .12821E-03   -1.5552    
   3  norm          9.9339        6.7720        .31639E-03   -1.5645    
   4  norm          5.4176        13.051        .43295E-03   -1.5661    
   5  norm          .55511E-10    29.845        .15539E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   6  Prefactor     .11657E-08    59.829        .16570E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   7  Prefactor      .0000        1.7115        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   8  Prefactor     30.172        41.047        .18465E-03   -1.5598    
   9  norm          1.3239        2.4742        .95851E-03   -1.5685    
  10  Prefactor     23.246        160.78        .24821E-03   -1.5612    
  11  Prefactor     .99973        68.999        .45808E-03   -1.5688    
  12  Prefactor      .0000        29.049        .15820E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  13  Prefactor     .27756E-09    21.672        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  14  Prefactor     .55511E-10    15.015        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  15  norm          17.390        9.7380        .24140E-03   -1.5625    
  16  Prefactor     .11102E-09    13.260        .16740E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  17  Prefactor     29.384        64.574        .19824E-03   -1.5600    
  18  Prefactor      .0000        7.5022        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  19  Normalizat    1.9340        .41788        .74608E-01   -.66215    
  20  Prefactor     1.0461        .22079        .40341E-01   -.91208    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 2.95874e-06
Minuit parameter uncertainties:
  1  1.63651e-05
  2  69.6283
  3  6.772
  4  13.0512
  5  8.21991e-05
  6  0.000532615
  7  3.20708e-06
  8  41.0476
  9  2.47423
  10  122.275
  11  16.611
  12  3.05403e-06
  13  0.000154911
  14  5.9336e-05
  15  9.73802
  16  7.7636e-05
  17  64.5751
  18  1.46446e-06
  19  0.418668
  20  0.220981
Done.

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

Extracting fit parameters...

4FGL J2056.2-4714
   Spectrum: LogParabola
291         norm:  1.324e+00  2.474e+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.046e+00  2.210e-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.934e+00  4.187e-01  1.000e-02  1.000e+01 ( 1.000e+00)


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

Saving results to:
/scratch/kocevski/573075/likelihoodResults_695260801_695520001_4FGL_J2056.2-4714_daily_bin1759.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) = 3227.36755967
delta logL = 0.00108474437684

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

MINUIT Return Code (Free Index): 0
logL (Free Index) = 3227.36755221
delta logL = 0.00109220407103

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'norm      '    1.3241       1.0000          .0000       .10000E+07
     2 'alpha     '    2.2721       1.0000          .0000       5.0000    
     3 'Normalizat'    1.9358       1.0000         .10000E-01   10.000    
     4 'Prefactor '    1.0455       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=   3227.368     FROM MIGRAD    STATUS=CONVERGED     47 CALLS      193 TOTAL
                     EDM=   .11E-08    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  norm          1.3276        6.0523        .95522E-03    .17413E-02
   2  alpha         2.2723        3.6296        .41370        .29107E-04
   3  Normalizat    1.9357        .38934        .74583E-01   -.34594E-06
   4  Prefactor     1.0455        .21944        .40182E-01    .35550E-05
                               ERR DEF=  .500    
Final values: 
  norm       = 1.3276
  alpha      = 2.27232
  Normalizat = 1.93572
  Prefactor  = 1.04548
 **********
 **   18 **HESSE 
 **********

 FCN=   3227.368     FROM HESSE     STATUS=OK            33 CALLS      226 TOTAL
                     EDM=   .57E-09    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  norm          1.3276        2.4329        .11840E-04   -1.5685    
   2  alpha         2.2723        1.5761        .33188E-01   -.91198E-01
   3  Normalizat    1.9357        .44601        .32995E-03   -.66171    
   4  Prefactor     1.0455        .25008        .23851E-03   -.91229    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 5.73312e-10
Minuit parameter uncertainties:
  1  2.4329
  2  1.70664
  3  0.446967
  4  0.250356
shell-init: error retrieving current directory: getcwd: cannot access parent directories: No such file or directory
rmdir: failed to remove `/scratch/kocevski/573075': 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) = 3227.36755115
delta logL = 0.00109326343181

Extracting fit parameters...

4FGL J2056.2-4714
   Spectrum: LogParabola
291         norm:  1.328e+00  2.433e+00  0.000e+00  1.000e+06 ( 1.000e-11)
292        alpha:  2.272e+00  1.707e+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.045e+00  2.504e-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.936e+00  4.470e-01  1.000e-02  1.000e+01 ( 1.000e+00)


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

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/573075/cmap_HighResolution_695260801_695520001_4FGL_J2056.2-4714_daily_bin1759.png

Cleaning up...

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

Updating database...

UPDATE lightcurve_data_v2 SET energy_flux_upper_limit='6.19e-05', job_status='DONE', photon_flux_upper_limit='2.03e-07', time_completed='2023-01-16 02:10:48.844081', job_id='573075', GAL2='1.05', fit_tolerance='1e-08', EG2='1.94', EG='1.93', time_epoch_completed='1673863848.84', return_code2='0', ts='0.45', comment='SUCCESS', return_code='0', GAL='1.05', dlogl='1.09e-03', ts2='0.45', photon_index_error='0.00', photon_index='2.35' WHERE bin_id='1759' AND source_name='4FGL J2056.2-4714' AND cadence='daily';

Database successfully updated.


Analysis Complete.


Mon Jan 16 02:10:48 PST 2023


------------------------------------------------------------
Sender: LSF System <lsf@bullet0037>
Subject: Job 573075: <4FGL_J2056.2-4714_daily_bin1759> in cluster <slac> Done

Job <4FGL_J2056.2-4714_daily_bin1759> was submitted from host <rhel6-64k> by user <kocevski> in cluster <slac> at Mon Jan 16 02:00:15 2023
Job was executed on host(s) <bullet0037>, in queue <medium>, as user <kocevski> in cluster <slac> at Mon Jan 16 02:01:06 2023
</u/ki/kocevski> was used as the home directory.
</u/ki/kocevski> was used as the working directory.
Started at Mon Jan 16 02:01:06 2023
Terminated at Mon Jan 16 02:10:49 2023
Results reported at Mon Jan 16 02:10:49 2023

Your job looked like:

------------------------------------------------------------
# LSBATCH: User input
/nfs/farm/g/glast/g/LCRepository/Likelihood/Scripts/LikelihoodAnalysis.py 4FGL_J2056.2-4714_daily_bin1759 314.072 -47.2369 695260801 695520001 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 :                                   441.48 sec.
    Max Memory :                                 1256 MB
    Average Memory :                             307.43 MB
    Total Requested Memory :                     -
    Delta Memory :                               -
    Max Swap :                                   -
    Max Processes :                              5
    Max Threads :                                21
    Run time :                                   583 sec.
    Turnaround time :                            634 sec.

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

