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


Performing analysis on: 4FGL_J2056.2-4714_daily_bin1720
RA = 314.072, Dec = -47.2369
tmin = 685152001, tmax = 685411201
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='848620', job_status='RUN', time_executed='2022-09-21 00:54:48.842120', time_epoch_executed='1663746888.84' WHERE source_name='4FGL J2056.2-4714' and cadence='daily' and bin_id='1720'

Database successfully updated.
Done.

Creating custom output directory:
/scratch/kocevski/848620

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

Retrieving the FT1 file...

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

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

Retrieving 47 files...
Done.


Merging files...

Checksum keywords updated successfully.

Merged file saved to:
/scratch/kocevski/848620/ft1_4FGL_J2056.2-4714_daily_bin1720.fits


Retrieving the FT1 file...

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

Retrieving 47 files...
Done.


Merging files...

Merged file saved to:
/scratch/kocevski/848620/ft2_4FGL_J2056.2-4714_daily_bin1720.fits


Selecting the photons:
time -p gtselect infile=/scratch/kocevski/848620/ft1_4FGL_J2056.2-4714_daily_bin1720.fits outfile=/scratch/kocevski/848620/ft1_filteredMKT_4FGL_J2056.2-4714_daily_bin1720.fits ra=314.072 dec=-47.2369 rad=12.0 tmin=685152001.0 tmax=685411201.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.36
user 3.51
sys 0.21

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

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

Number of photons that the gtmktime cut: 616

Generating the livetime cube:
time -p gtltcube evfile="/scratch/kocevski/848620/ft1_filtered_4FGL_J2056.2-4714_daily_bin1720.fits" evtable="EVENTS" scfile=/scratch/kocevski/848620/ft2_4FGL_J2056.2-4714_daily_bin1720.fits sctable="SC_DATA" outfile=/scratch/kocevski/848620/ltcube_685152001_685411201_4FGL_J2056.2-4714_daily_bin1720.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/848620/ft2_4FGL_J2056.2-4714_daily_bin1720.fits
.....................!
real 15.17
user 14.78
sys 0.33

Generating the exposure map:
time -p gtexpmap evfile=/scratch/kocevski/848620/ft1_filtered_4FGL_J2056.2-4714_daily_bin1720.fits evtable="EVENTS" scfile=/scratch/kocevski/848620/ft2_4FGL_J2056.2-4714_daily_bin1720.fits sctable="SC_DATA" expcube=/scratch/kocevski/848620/ltcube_685152001_685411201_4FGL_J2056.2-4714_daily_bin1720.fits outfile=/scratch/kocevski/848620/expmap_685152001_685411201_4FGL_J2056.2-4714_daily_bin1720.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/848620/ltcube_685152001_685411201_4FGL_J2056.2-4714_daily_bin1720.fits
.....................!
real 191.50
user 186.21
sys 4.80

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/848620/ft1_filtered_4FGL_J2056.2-4714_daily_bin1720.fits scfile=/scratch/kocevski/848620/ft2_4FGL_J2056.2-4714_daily_bin1720.fits outfile=/scratch/kocevski/848620/cmap_685152001_685411201_4FGL_J2056.2-4714_daily_bin1720.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.59
user 0.41
sys 0.17

Creating the high resolution counts map:
time -p gtbin evfile=/scratch/kocevski/848620/ft1_filtered_4FGL_J2056.2-4714_daily_bin1720.fits scfile=/scratch/kocevski/848620/ft2_4FGL_J2056.2-4714_daily_bin1720.fits outfile=/scratch/kocevski/848620/cmap_HighResolution_685152001_685411201_4FGL_J2056.2-4714_daily_bin1720.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.60
user 0.41
sys 0.18

Computing the diffuse response:
time -p gtdiffrsp evfile=/scratch/kocevski/848620/ft1_filtered_4FGL_J2056.2-4714_daily_bin1720.fits evtable="EVENTS" scfile=/scratch/kocevski/848620/ft2_4FGL_J2056.2-4714_daily_bin1720.fits sctable="SC_DATA" srcmdl=/scratch/kocevski/848620/Model_4FGL_J2056.2-4714_daily_bin1720.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/848620/ft1_filtered_4FGL_J2056.2-4714_daily_bin1720.fits.....................!
real 54.83
user 53.36
sys 1.33

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

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

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

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'norm      '    2.4185       1.0000          .0000       .10000E+07
     2 'norm      '    .99238       1.0000          .0000       .10000E+07
     3 'norm      '    .89928E-08   1.0000          .0000       .10000E+07
     4 'norm      '    6.1205       1.0000          .0000       .10000E+07
     5 'norm      '    .26344E-04   1.0000          .0000       .10000E+07
     6 'Prefactor '    .33561E-01   1.0000          .0000       .10000E+07
     7 'Prefactor '    .26812E-06   1.0000          .0000       .10000E+07
     8 'Prefactor '    .16637E-03   1.0000          .0000       .10000E+07
     9 'norm      '    2.0203       1.0000          .0000       .10000E+07
    10 'Prefactor '    .29945E-02   1.0000          .0000       .10000E+07
    11 'Prefactor '    .77161E-08   1.0000          .0000       .10000E+07
    12 'Prefactor '    .46845E-04   1.0000          .0000       .10000E+07
    13 'Prefactor '    .44330E-04   1.0000          .0000       .10000E+07
    14 'Prefactor '    3.0221       1.0000          .0000       .10000E+07
    15 'norm      '    11.910       1.0000          .0000       .10000E+07
    16 'Prefactor '    .18893E-02   1.0000          .0000       .10000E+07
    17 'Prefactor '    27.315       1.0000          .0000       .10000E+07
    18 'Prefactor '    .24423E-03   1.0000          .0000       .10000E+07
    19 'Normalizat'    .93359       1.0000         .10000E-01   10.000    
    20 'Prefactor '    1.0761       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=   6682.703     FROM MIGRAD    STATUS=CONVERGED    145 CALLS     1243 TOTAL
                     EDM=   .19E-09  STRATEGY=1  ERROR MATRIX UNCERTAINTY=  1.1%

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  norm          2.4367        8.1337       -.13635E-06    .15495E-02
   2  norm          1.1853        3.2439        .52377E-06   -.38523E-01
   3  norm           .0000        .46851       -.11139E-06** at limit **
   4  norm          6.1143        3.4345       -.23809E-06    .34456E-04
   5  norm          .12101E-07    6.8884        .10632E-06** at limit **
   6  Prefactor      .0000        23.020        .59812E-06** at limit **
   7  Prefactor      .0000        5.8481        .24288E-06** at limit **
   8  Prefactor     .48295E-08    11.062        .10562E-05** at limit **
   9  norm          2.0207        1.6005       -.51277E-07    .61041E-04
  10  Prefactor     .12212E-08    8.8974        .43970E-06** at limit **
  11  Prefactor      .0000        3.6853       -.45406E-06** at limit **
  12  Prefactor     .34778E-06    38.370       -.30305E-05** at limit **
  13  Prefactor     .13300E-06    10.295        .27329E-07** at limit **
  14  Prefactor     3.0541        5.1997        .24847E-06    .85162E-04
  15  norm          11.888        7.0844       -.38347E-07    .55016E-03
  16  Prefactor     .12945E-06    20.184        .37326E-06** at limit **
  17  Prefactor     26.110        8.3322       -.40818E-06    .17200E-01
  18  Prefactor      .0000        6.6568       -.23799E-06** at limit **
  19  Normalizat    .93382        .26765       -.42501E-05    .27377E-04
  20  Prefactor     1.0759        .14224        .31916E-05    .37345E-04
                               ERR DEF=  .500    
Final values: 
  norm       = 2.43674
  norm       = 1.18534
  norm       = 0
  norm       = 6.11428
  norm       = 1.21014e-08
  Prefactor  = 0
  Prefactor  = 0
  Prefactor  = 4.82947e-09
  norm       = 2.02068
  Prefactor  = 1.22125e-09
  Prefactor  = 0
  Prefactor  = 3.47777e-07
  Prefactor  = 1.33005e-07
  Prefactor  = 3.05406
  norm       = 11.8883
  Prefactor  = 1.29452e-07
  Prefactor  = 26.1103
  Prefactor  = 0
  Normalizat = 0.933825
  Prefactor  = 1.0759
 **********
 **   18 **HESSE 
 **********

 FCN=   6682.703     FROM HESSE     STATUS=OK           331 CALLS     1574 TOTAL
                     EDM=   .44E-06    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  norm          2.4367        8.5030        .65791E-03   -1.5677    
   2  norm          1.1853        68.274        .43496E-03   -1.5686    
   3  norm           .0000        .46781        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   4  norm          6.1143        3.4880        .40557E-03   -1.5659    
   5  norm          .12101E-07    17.661        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   6  Prefactor      .0000        22.990        .16268E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   7  Prefactor      .0000        1.3698        .42118E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   8  Prefactor     .48295E-08    11.063        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   9  norm          2.0207        1.6158        .72780E-03   -1.5680    
  10  Prefactor     .12212E-08    8.9014        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  11  Prefactor      .0000        3.6880        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  12  Prefactor     .34778E-06    41.774        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  13  Prefactor     .13300E-06    16.566        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  14  Prefactor     3.0541        5.1978        .58351E-03   -1.5673    
  15  norm          11.888        7.0940        .29002E-03   -1.5639    
  16  Prefactor     .12945E-06    20.758        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  17  Prefactor     26.110        30.486        .19137E-03   -1.5606    
  18  Prefactor      .0000        6.6577        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  19  Normalizat    .93382        .22825        .77775E-01   -.95282    
  20  Prefactor     1.0759        .11990        .38573E-01   -.90240    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 4.42799e-07
Minuit parameter uncertainties:
  1  8.50308
  2  17.9922
  3  5.4668e-07
  4  3.48798
  5  0.000924898
  6  2.40388e-05
  7  5.14417e-06
  8  0.000462353
  9  1.61575
  10  0.000207054
  11  1.66448e-05
  12  0.00762293
  13  0.00296899
  14  5.19782
  15  7.094
  16  0.00327837
  17  30.4862
  18  1.175e-05
  19  0.228488
  20  0.11993
Done.

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

Extracting fit parameters...

4FGL J2056.2-4714
   Spectrum: LogParabola
291         norm:  2.021e+00  1.616e+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.076e+00  1.199e-01  0.000e+00  1.000e+01 ( 1.000e+00)
550        Index:  0.000e+00  0.000e+00 -1.000e+00  1.000e+00 ( 1.000e+00) fixed
551        Scale:  1.000e+02  0.000e+00  5.000e+01  2.000e+02 ( 1.000e+00) fixed

EG_v02
   Spectrum: FileFunction
548   Normalization:  9.338e-01  2.285e-01  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Fixed Index): 2.83
Ra Dec: 314.072 -47.237
Photon Index (Fixed Index): 2.35 +/- 0.00
Photon Flux (Fixed Index): 4.54e-08 +/- 3.63e-08
Energy Flux (Fixed Index): 1.39e-05 +/- 1.11e-05

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

Saving results to:
/scratch/kocevski/848620/likelihoodResults_685152001_685411201_4FGL_J2056.2-4714_daily_bin1720.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) = 6682.68128903
delta logL = 0.0219143650602

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

MINUIT Return Code (Free Index): 0
logL (Free Index) = 6682.68085598
delta logL = 0.0223474216746

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'norm      '    2.0221       1.0000          .0000       .10000E+07
     2 'alpha     '    2.1984       1.0000          .0000       5.0000    
     3 'Normalizat'    .94062       1.0000         .10000E-01   10.000    
     4 'Prefactor '    1.0736       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=   6682.681     FROM MIGRAD    STATUS=CONVERGED     51 CALLS      192 TOTAL
                     EDM=   .13E-09    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  norm          2.0260        2.6430        .72743E-03    .29146E-02
   2  alpha         2.1987        .99184        .41537       -.15330E-04
   3  Normalizat    .94061        .22337        .77520E-01    .23475E-04
   4  Prefactor     1.0735        .11950        .38690E-01   -.23743E-05
                               ERR DEF=  .500    
Final values: 
  norm       = 2.02604
  alpha      = 2.19872
  Normalizat = 0.940606
  Prefactor  = 1.07354
 **********
 **   18 **HESSE 
 **********

 FCN=   6682.681     FROM HESSE     STATUS=OK            33 CALLS      225 TOTAL
                     EDM=   .33E-09    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  norm          2.0260        1.6177        .90024E-05   -1.5679    
   2  alpha         2.1987        .70412        .19898E-01   -.12081    
   3  Normalizat    .94061        .26308        .34309E-03   -.95048    
   4  Prefactor     1.0735        .14064        .17276E-03   -.90317    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 3.3286e-10
Minuit parameter uncertainties:
  1  1.61769
  2  0.713931
  3  0.263437
  4  0.140693
shell-init: error retrieving current directory: getcwd: cannot access parent directories: No such file or directory
rmdir: failed to remove `/scratch/kocevski/848620': 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) = 6682.68085293
delta logL = 0.0223504697842

Extracting fit parameters...

4FGL J2056.2-4714
   Spectrum: LogParabola
291         norm:  2.026e+00  1.618e+00  0.000e+00  1.000e+06 ( 1.000e-11)
292        alpha:  2.199e+00  7.139e-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.074e+00  1.407e-01  0.000e+00  1.000e+01 ( 1.000e+00)
550        Index:  0.000e+00  0.000e+00 -1.000e+00  1.000e+00 ( 1.000e+00) fixed
551        Scale:  1.000e+02  0.000e+00  5.000e+01  2.000e+02 ( 1.000e+00) fixed

EG_v02
   Spectrum: FileFunction
548   Normalization:  9.406e-01  2.634e-01  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Free Index): 2.87
Ra Dec: 314.072 -47.237
Photon Index (Free Index): 2.20 +/- 0.71
Photon Flux (Free Index): 4.08e-08 +/- 3.87e-08
Energy Flux (Free Index): 1.45e-05 +/- 1.22e-05

Creating a high resolution counts map...
INFO: Auto-setting vmin to -2.500e-04 [aplpy.core]
INFO: Auto-setting vmax to  2.775e-03 [aplpy.core]
Saving /scratch/kocevski/848620/cmap_HighResolution_685152001_685411201_4FGL_J2056.2-4714_daily_bin1720.png

Cleaning up...

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

Updating database...

UPDATE lightcurve_data_v2 SET energy_flux_upper_limit='3.95e-05', comment='SUCCESS', photon_flux='4.54e-08', energy_flux2='1.45e-05', photon_flux_error='3.63e-08', dlogl='2.24e-02', energy_flux='1.39e-05', photon_flux2='4.08e-08', job_status='DONE', time_completed='2022-09-21 01:03:40.858939', photon_index_error2='0.71', photon_index2='2.20', ts='2.83', fit_tolerance='1e-08', GAL='1.08', photon_index_error='0.00', photon_flux_upper_limit='1.29e-07', energy_flux_error2='1.22e-05', EG='0.93', time_epoch_completed='1663747420.86', return_code='0', job_id='848620', GAL2='1.07', EG2='0.94', return_code2='0', energy_flux_error='1.11e-05', photon_flux_error2='3.87e-08', ts2='2.87', photon_index='2.35' WHERE bin_id='1720' AND source_name='4FGL J2056.2-4714' AND cadence='daily';

Database successfully updated.


Analysis Complete.


Wed Sep 21 01:03:40 PDT 2022


------------------------------------------------------------
Sender: LSF System <lsf@bullet0255>
Subject: Job 848620: <4FGL_J2056.2-4714_daily_bin1720> in cluster <slac> Done

Job <4FGL_J2056.2-4714_daily_bin1720> was submitted from host <rhel6-64n> by user <kocevski> in cluster <slac> at Wed Sep 21 00:50:46 2022
Job was executed on host(s) <bullet0255>, in queue <medium>, as user <kocevski> in cluster <slac> at Wed Sep 21 00:53:37 2022
</u/ki/kocevski> was used as the home directory.
</u/ki/kocevski> was used as the working directory.
Started at Wed Sep 21 00:53:37 2022
Terminated at Wed Sep 21 01:03:41 2022
Results reported at Wed Sep 21 01:03:41 2022

Your job looked like:

------------------------------------------------------------
# LSBATCH: User input
/nfs/farm/g/glast/g/LCRepository/Likelihood/Scripts/LikelihoodAnalysis.py 4FGL_J2056.2-4714_daily_bin1720 314.072 -47.2369 685152001 685411201 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 :                                   533.36 sec.
    Max Memory :                                 1256 MB
    Average Memory :                             330.33 MB
    Total Requested Memory :                     -
    Delta Memory :                               -
    Max Swap :                                   -
    Max Processes :                              5
    Max Threads :                                21
    Run time :                                   604 sec.
    Turnaround time :                            775 sec.

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

