/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 5 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 make4FGLxml version 01r04.
The default diffuse model files and names are for pass 8 and 4FGL and assume you have v11r5p3 of the Fermi Science Tools or higher.

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 = 7395
number of fields = 27
No RA_SUN column yet. Adding RA_SUN/DEC_SUN columns.
Done.


Performing analysis on: 4FGL_J2056.2-4714_daily_bin432
RA = 314.072, Dec = -47.2369
tmin = 351302401, tmax = 351561601
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='209324', job_status='RUN', time_executed='2021-09-25 21:31:14.910996', time_epoch_executed='1632630674.91' WHERE source_name='4FGL J2056.2-4714' and cadence='daily' and bin_id='432'

Database successfully updated.
Done.

Creating custom output directory:
/scratch/kocevski/209324

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

Retrieving the FT1 file...

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

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

Retrieving 46 files...
Done.


Merging files...

Checksum keywords updated successfully.

Merged file saved to:
/scratch/kocevski/209324/ft1_4FGL_J2056.2-4714_daily_bin432.fits


Retrieving the FT1 file...

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

Retrieving 46 files...
Done.


Merging files...

Merged file saved to:
/scratch/kocevski/209324/ft2_4FGL_J2056.2-4714_daily_bin432.fits


Selecting the photons:
time -p gtselect infile=/scratch/kocevski/209324/ft1_4FGL_J2056.2-4714_daily_bin432.fits outfile=/scratch/kocevski/209324/ft1_filteredMKT_4FGL_J2056.2-4714_daily_bin432.fits ra=314.072 dec=-47.2369 rad=12.0 tmin=351302401.0 tmax=351561601.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.49
user 3.22
sys 0.22

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

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

Generating the livetime cube:
time -p gtltcube evfile="/scratch/kocevski/209324/ft1_filtered_4FGL_J2056.2-4714_daily_bin432.fits" evtable="EVENTS" scfile=/scratch/kocevski/209324/ft2_4FGL_J2056.2-4714_daily_bin432.fits sctable="SC_DATA" outfile=/scratch/kocevski/209324/ltcube_351302401_351561601_4FGL_J2056.2-4714_daily_bin432.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/209324/ft2_4FGL_J2056.2-4714_daily_bin432.fits
.....................!
real 14.79
user 14.36
sys 0.35

Generating the exposure map:
time -p gtexpmap evfile=/scratch/kocevski/209324/ft1_filtered_4FGL_J2056.2-4714_daily_bin432.fits evtable="EVENTS" scfile=/scratch/kocevski/209324/ft2_4FGL_J2056.2-4714_daily_bin432.fits sctable="SC_DATA" expcube=/scratch/kocevski/209324/ltcube_351302401_351561601_4FGL_J2056.2-4714_daily_bin432.fits outfile=/scratch/kocevski/209324/expmap_351302401_351561601_4FGL_J2056.2-4714_daily_bin432.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/209324/ltcube_351302401_351561601_4FGL_J2056.2-4714_daily_bin432.fits
.....................!
real 191.54
user 186.32
sys 4.60

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/209324/ft1_filtered_4FGL_J2056.2-4714_daily_bin432.fits scfile=/scratch/kocevski/209324/ft2_4FGL_J2056.2-4714_daily_bin432.fits outfile=/scratch/kocevski/209324/cmap_351302401_351561601_4FGL_J2056.2-4714_daily_bin432.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.54
user 0.38
sys 0.14

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

Computing the diffuse response:
time -p gtdiffrsp evfile=/scratch/kocevski/209324/ft1_filtered_4FGL_J2056.2-4714_daily_bin432.fits evtable="EVENTS" scfile=/scratch/kocevski/209324/ft2_4FGL_J2056.2-4714_daily_bin432.fits sctable="SC_DATA" srcmdl=/scratch/kocevski/209324/Model_4FGL_J2056.2-4714_daily_bin432.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/209324/ft1_filtered_4FGL_J2056.2-4714_daily_bin432.fits.....................!
real 76.40
user 74.99
sys 1.19

Creating the likelihood object...
obs = UnbinnedObs('/scratch/kocevski/209324/ft1_filtered_4FGL_J2056.2-4714_daily_bin432.fits', '/scratch/kocevski/209324/ft2_4FGL_J2056.2-4714_daily_bin432.fits', expMap='/scratch/kocevski/209324/expmap_351302401_351561601_4FGL_J2056.2-4714_daily_bin432.fits', expCube='/scratch/kocevski/209324/ltcube_351302401_351561601_4FGL_J2056.2-4714_daily_bin432.fits', irfs='P8R3_SOURCE_V2')
like = UnbinnedAnalysis(obs, '/scratch/kocevski/209324/Model_4FGL_J2056.2-4714_daily_bin432.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  1.000e-04  1.000e+04 ( 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  0.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/209324/ft1_filtered_4FGL_J2056.2-4714_daily_bin432.fits
Spacecraft file(s): /scratch/kocevski/209324/ft2_4FGL_J2056.2-4714_daily_bin432.fits
Exposure map: /scratch/kocevski/209324/expmap_351302401_351561601_4FGL_J2056.2-4714_daily_bin432.fits
Exposure cube: /scratch/kocevski/209324/ltcube_351302401_351561601_4FGL_J2056.2-4714_daily_bin432.fits
IRFs: P8R3_SOURCE_V2
Source model file: /scratch/kocevski/209324/Model_4FGL_J2056.2-4714_daily_bin432.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) = 10362.7813481

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

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

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'norm      '    4.7700       1.0000         .10000E-03   10000.    
     2 'norm      '    4.1384       1.0000         .10000E-03   10000.    
     3 'norm      '    .10000E-03   1.0000         .10000E-03   10000.    
     4 'Prefactor '    .10000E-03   1.0000         .10000E-03   10000.    
     5 'norm      '    1.3364       1.0000         .10000E-03   10000.    
     6 'norm      '    .10000E-03   1.0000         .10000E-03   10000.    
     7 'Prefactor '    .10002E-03   1.0000         .10000E-03   10000.    
     8 'Prefactor '    .10049E-03   1.0000         .10000E-03   10000.    
     9 'Prefactor '    .68417       1.0000         .10000E-03   10000.    
    10 'Prefactor '    .10000E-03   1.0000         .10000E-03   10000.    
    11 'norm      '    2.4629       1.0000         .10000E-03   10000.    
    12 'Prefactor '    45.738       1.0000         .10000E-03   10000.    
    13 'Prefactor '    .10045E-03   1.0000         .10000E-03   10000.    
    14 'Prefactor '    24.783       1.0000         .10000E-03   10000.    
    15 'Prefactor '    .10005E-03   1.0000         .10000E-03   10000.    
    16 'Prefactor '    23.239       1.0000         .10000E-03   10000.    
    17 'Prefactor '    .75772E-01   1.0000         .10000E-03   10000.    
    18 'norm      '    14.659       1.0000         .10000E-03   10000.    
    19 'Prefactor '    .74424       1.0000         .10000E-03   10000.    
    20 'Prefactor '    .10000E-03   1.0000         .10000E-03   10000.    
    21 'Prefactor '    11.316       1.0000         .10000E-03   10000.    
    22 'Normalizat'    1.0433       1.0000         .10000E-01   10.000    
    23 'Prefactor '    .99701       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.

 MIGRAD MINIMIZATION HAS CONVERGED.

 FCN=   10362.78     FROM MIGRAD    STATUS=CONVERGED    515 CALLS     3253 TOTAL
                     EDM=   .50E-09  STRATEGY=1  ERROR MATRIX UNCERTAINTY=  1.6%

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  norm          4.7692        5.6167        .17663E-06   -.11119E-02
   2  norm          4.1381        9.5923        .49626E-06   -.57234E-03
   3  norm          .10000E-03    .32976       -.89774E-07** at limit **
   4  Prefactor     .10000E-03    10.402       -.82210E-07** at limit **
   5  norm          1.3362        2.0343        .41144E-07   -.15765E-03
   6  norm          .10000E-03    6.1318        .14967E-07** at limit **
   7  Prefactor     .10000E-03    15.690        .19046E-05** at limit **
   8  Prefactor     .10000E-03    55.357       -.36736E-05** at limit **
   9  Prefactor     .68708        2.3650       -.59644E-07   -.47148E-03
  10  Prefactor     .10000E-03    4.9628        .68782E-07** at limit **
  11  norm          2.4628        1.4623        .60707E-07   -.10214E-03
  12  Prefactor     45.737        22.946       -.95849E-06   -.75266E-04
  13  Prefactor     .10000E-03    24.432       -.41407E-06** at limit **
  14  Prefactor     24.786        8.5454        .49043E-07   -.11563E-03
  15  Prefactor     .10000E-03    16.160       -.20015E-05** at limit **
  16  Prefactor     23.245        23.950        .50729E-05    .12172E-03
  17  Prefactor     .56840E-01    1.5548        .43464E-06   -.96176E-03
  18  norm          14.659        4.9226        .21321E-07    .30615E-05
  19  Prefactor     .74417        6.1512       -.10115E-06   -.34606E-03
  20  Prefactor     .10000E-03    5.4847        .19428E-06** at limit **
  21  Prefactor     11.318        7.4722       -.62217E-07   -.93446E-04
  22  Normalizat    1.0433        .18890       -.13040E-05   -.47117E-04
  23  Prefactor     .99704        .97511E-01    .17577E-06   -.20662E-03
                               ERR DEF=  .500    
Final values: 
  norm       = 4.76923
  norm       = 4.13812
  norm       = 0.0001
  Prefactor  = 0.0001
  norm       = 1.33619
  norm       = 0.0001
  Prefactor  = 0.0001
  Prefactor  = 0.0001
  Prefactor  = 0.687083
  Prefactor  = 0.0001
  norm       = 2.46281
  Prefactor  = 45.7369
  Prefactor  = 0.0001
  Prefactor  = 24.7856
  Prefactor  = 0.0001
  Prefactor  = 23.2452
  Prefactor  = 0.0568398
  norm       = 14.6585
  Prefactor  = 0.744169
  Prefactor  = 0.0001
  Prefactor  = 11.318
  Normalizat = 1.04329
  Prefactor  = 0.997044
 **********
 **   18 **HESSE 
 **********

 FCN=   10362.78     FROM HESSE     STATUS=OK           378 CALLS     3631 TOTAL
                     EDM=   .25E-08    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  norm          4.7692        6.7168        .92110E-03   -1.5271    
   2  norm          4.1381        10.869        .99071E-03   -1.5301    
   3  norm          .10000E-03    .33186        .57065E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   4  Prefactor     .10000E-03    10.404        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   5  norm          1.3362        1.9997        .17323E-03   -1.5477    
   6  norm          .10000E-03    6.1455        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   7  Prefactor     .10000E-03    15.773        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   8  Prefactor     .10000E-03    55.472        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   9  Prefactor     .68708        2.5133        .28498E-03   -1.5542    
  10  Prefactor     .10000E-03    4.9714        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  11  norm          2.4628        1.4589        .90910E-04   -1.5394    
  12  Prefactor     45.737        22.993        .59285E-04   -1.4354    
  13  Prefactor     .10000E-03    24.496        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  14  Prefactor     24.786        8.5909        .80466E-04   -1.4712    
  15  Prefactor     .10000E-03    16.264        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  16  Prefactor     23.245        24.066        .83092E-04   -1.4743    
  17  Prefactor     .56840E-01    3.4932        .40692E-01   -1.5660    
  18  norm          14.659        4.9190        .10461E-03   -1.4942    
  19  Prefactor     .74417        7.2103        .48922E-03   -1.5535    
  20  Prefactor     .10000E-03    5.4859        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  21  Prefactor     11.318        7.4874        .11909E-03   -1.5035    
  22  Normalizat    1.0433        .22769        .32698E-03   -.91594    
  23  Prefactor     .99704        .11851        .18363E-03   -.92828    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 2.51863e-09
Minuit parameter uncertainties:
  1  6.7179
  2  10.874
  3  1.37409e-07
  4  5.74901e-07
  5  1.99983
  6  9.34515e-07
  7  6.63989e-05
  8  0.000179571
  9  2.51367
  10  1.27199e-06
  11  1.45891
  12  22.9978
  13  6.30687e-05
  14  8.59128
  15  4.44664e-05
  16  24.0765
  17  0.890462
  18  4.91913
  19  4.63321
  20  3.69617e-06
  21  7.48802
  22  0.227901
  23  0.118545
Done.

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

Extracting fit parameters...

4FGL J2056.2-4714
   Spectrum: LogParabola
291         norm:  2.463e+00  1.459e+00  1.000e-04  1.000e+04 ( 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  0.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:  9.970e-01  1.185e-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.043e+00  2.279e-01  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Fixed Index): 4.77
Ra Dec: 314.072 -47.237
Photon Index (Fixed Index): 2.35 +/- 0.00
Photon Flux (Fixed Index): 5.53e-08 +/- 3.27e-08
Energy Flux (Fixed Index): 1.69e-05 +/- 1.00e-05

Performing a free index iterative likelihood fit...

Freezing all point sources, except source of interest...

Done.

Freeing candidate source...
Done.

Fit tolerance = 1

Performing likelihood fit...
Done.

MINUIT Return Code (Free Index): 0
logL (Free Index) = 10362.7279662
delta logL = 0.0483643444313

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

MINUIT Return Code (Free Index): 0
logL (Free Index) = 10362.7262849
delta logL = 0.0500456383415

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'norm      '    2.5324       1.0000         .10000E-03   10000.    
     2 'alpha     '    2.1905       1.0000          .0000       5.0000    
     3 'Normalizat'    1.0506       1.0000         .10000E-01   10.000    
     4 'Prefactor '    .99416       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=   10362.73     FROM MIGRAD    STATUS=CONVERGED     54 CALLS      209 TOTAL
                     EDM=   .11E-07    STRATEGY= 1      ERR MATRIX NOT POS-DEF

  EXT PARAMETER                APPROXIMATE        STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  norm          2.5321        47.907        .64166E-02    .50870E-03
   2  alpha         2.1906        2.8778        .41557       -.12612E-04
   3  Normalizat    1.0506        .16843        .73657E-01    .29122E-04
   4  Prefactor     .99414        .11906        .46194E-01    .49222E-05
                               ERR DEF=  .500    
Final values: 
  norm       = 2.5321
  alpha      = 2.19056
  Normalizat = 1.05064
  Prefactor  = 0.994142
 **********
 **   18 **HESSE 
 **********

 FCN=   10362.73     FROM HESSE     STATUS=OK            33 CALLS      242 TOTAL
                     EDM=   .10E-09    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  norm          2.5321        1.5017        .92572E-04   -1.5390    
   2  alpha         2.1906        .49880        .17282E-01   -.12409    
   3  Normalizat    1.0506        .21116        .32596E-03   -.91353    
   4  Prefactor     .99414        .11633        .18385E-03   -.92925    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 1.04886e-10
Minuit parameter uncertainties:
  1  1.50177
  2  0.502225
  3  0.211326
  4  0.116356
shell-init: error retrieving current directory: getcwd: cannot access parent directories: No such file or directory
rmdir: failed to remove `/scratch/kocevski/209324': 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) = 10362.7262849
delta logL = 0.0500456904665

Extracting fit parameters...

4FGL J2056.2-4714
   Spectrum: LogParabola
291         norm:  2.532e+00  1.502e+00  1.000e-04  1.000e+04 ( 1.000e-11)
292        alpha:  2.191e+00  5.022e-01  0.000e+00  5.000e+00 ( 1.000e+00)
293         beta:  1.074e-01  0.000e+00  0.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:  9.941e-01  1.164e-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.051e+00  2.113e-01  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Free Index): 4.85
Ra Dec: 314.072 -47.237
Photon Index (Free Index): 2.19 +/- 0.50
Photon Flux (Free Index): 5.07e-08 +/- 3.35e-08
Energy Flux (Free Index): 1.82e-05 +/- 1.18e-05

Creating a high resolution counts map...
INFO: Auto-setting vmin to -1.000e-01 [aplpy.core]
INFO: Auto-setting vmax to  1.110e+00 [aplpy.core]
Saving /scratch/kocevski/209324/cmap_HighResolution_351302401_351561601_4FGL_J2056.2-4714_daily_bin432.png

Cleaning up...

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

Updating database...

UPDATE lightcurve_data_v2 SET comment='SUCCESS', photon_flux='5.53e-08', energy_flux2='1.82e-05', photon_flux_error='3.27e-08', dlogl='5.00e-02', energy_flux='1.69e-05', photon_flux2='5.07e-08', job_status='DONE', time_completed='2021-09-25 21:45:26.531747', photon_index_error2='0.50', photon_index2='2.19', ts='4.77', fit_tolerance='1e-08', GAL='1.00', photon_index_error='0.00', energy_flux_error2='1.18e-05', EG='1.04', time_epoch_completed='1632631526.53', return_code='0', job_id='209324', GAL2='0.99', EG2='1.05', return_code2='0', energy_flux_error='1.00e-05', photon_flux_error2='3.35e-08', ts2='4.85', photon_index='2.35' WHERE bin_id='432' AND source_name='4FGL J2056.2-4714' AND cadence='daily';

Database successfully updated.


Analysis Complete.


Sat Sep 25 21:45:26 PDT 2021


------------------------------------------------------------
Sender: LSF System <scs@bullet0139>
Subject: Job 209324: <4FGL_J2056.2-4714_daily_bin432> in cluster <slac> Done

Job <4FGL_J2056.2-4714_daily_bin432> was submitted from host <rhel6-64f> by user <kocevski> in cluster <slac> at Sat Sep 25 21:30:31 2021
Job was executed on host(s) <bullet0139>, in queue <medium>, as user <kocevski> in cluster <slac> at Sat Sep 25 21:30:58 2021
</u/ki/kocevski> was used as the home directory.
</u/ki/kocevski> was used as the working directory.
Started at Sat Sep 25 21:30:58 2021
Terminated at Sat Sep 25 21:45:26 2021
Results reported at Sat Sep 25 21:45:26 2021

Your job looked like:

------------------------------------------------------------
# LSBATCH: User input
/nfs/farm/g/glast/g/LCRepository/Likelihood/Scripts/LikelihoodAnalysis.py 4FGL_J2056.2-4714_daily_bin432 314.072 -47.2369 351302401 351561601 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 :                                   848.00 sec.
    Max Memory :                                 1257 MB
    Average Memory :                             347.86 MB
    Total Requested Memory :                     -
    Delta Memory :                               -
    Max Swap :                                   -
    Max Processes :                              5
    Max Threads :                                21
    Run time :                                   868 sec.
    Turnaround time :                            895 sec.

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

