/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 39 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 = 7516
number of fields = 30
RA_SUN column already exists. File will not be modified.
Done.


Performing analysis on: 4FGL_J2056.2-4714_daily_bin1231
RA = 314.072, Dec = -47.2369
tmin = 558403201, tmax = 558662401
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='213800', job_status='RUN', time_executed='2021-09-25 21:48:09.558556', time_epoch_executed='1632631689.56' WHERE source_name='4FGL J2056.2-4714' and cadence='daily' and bin_id='1231'

Database successfully updated.
Done.

Creating custom output directory:
/scratch/kocevski/213800

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

Retrieving the FT1 file...

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

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

Retrieving 47 files...
Done.


Merging files...

Checksum keywords updated successfully.

Merged file saved to:
/scratch/kocevski/213800/ft1_4FGL_J2056.2-4714_daily_bin1231.fits


Retrieving the FT1 file...

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

Retrieving 47 files...
Done.


Merging files...

Merged file saved to:
/scratch/kocevski/213800/ft2_4FGL_J2056.2-4714_daily_bin1231.fits


Selecting the photons:
time -p gtselect infile=/scratch/kocevski/213800/ft1_4FGL_J2056.2-4714_daily_bin1231.fits outfile=/scratch/kocevski/213800/ft1_filteredMKT_4FGL_J2056.2-4714_daily_bin1231.fits ra=314.072 dec=-47.2369 rad=12.0 tmin=558403201.0 tmax=558662401.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.84
user 3.54
sys 0.23

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

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

Generating the livetime cube:
time -p gtltcube evfile="/scratch/kocevski/213800/ft1_filtered_4FGL_J2056.2-4714_daily_bin1231.fits" evtable="EVENTS" scfile=/scratch/kocevski/213800/ft2_4FGL_J2056.2-4714_daily_bin1231.fits sctable="SC_DATA" outfile=/scratch/kocevski/213800/ltcube_558403201_558662401_4FGL_J2056.2-4714_daily_bin1231.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/213800/ft2_4FGL_J2056.2-4714_daily_bin1231.fits
.....................!
real 14.92
user 14.34
sys 0.37

Generating the exposure map:
time -p gtexpmap evfile=/scratch/kocevski/213800/ft1_filtered_4FGL_J2056.2-4714_daily_bin1231.fits evtable="EVENTS" scfile=/scratch/kocevski/213800/ft2_4FGL_J2056.2-4714_daily_bin1231.fits sctable="SC_DATA" expcube=/scratch/kocevski/213800/ltcube_558403201_558662401_4FGL_J2056.2-4714_daily_bin1231.fits outfile=/scratch/kocevski/213800/expmap_558403201_558662401_4FGL_J2056.2-4714_daily_bin1231.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/213800/ltcube_558403201_558662401_4FGL_J2056.2-4714_daily_bin1231.fits
.....................!
real 193.12
user 185.99
sys 4.89

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/213800/ft1_filtered_4FGL_J2056.2-4714_daily_bin1231.fits scfile=/scratch/kocevski/213800/ft2_4FGL_J2056.2-4714_daily_bin1231.fits outfile=/scratch/kocevski/213800/cmap_558403201_558662401_4FGL_J2056.2-4714_daily_bin1231.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.56
user 0.40
sys 0.15

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

Computing the diffuse response:
time -p gtdiffrsp evfile=/scratch/kocevski/213800/ft1_filtered_4FGL_J2056.2-4714_daily_bin1231.fits evtable="EVENTS" scfile=/scratch/kocevski/213800/ft2_4FGL_J2056.2-4714_daily_bin1231.fits sctable="SC_DATA" srcmdl=/scratch/kocevski/213800/Model_4FGL_J2056.2-4714_daily_bin1231.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/213800/ft1_filtered_4FGL_J2056.2-4714_daily_bin1231.fits.....................!
real 55.37
user 53.49
sys 1.23

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

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

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

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'norm      '    .10195E-03   1.0000         .10000E-03   10000.    
     2 'norm      '    42.999       1.0000         .10000E-03   10000.    
     3 'norm      '    .10004E-03   1.0000         .10000E-03   10000.    
     4 'Prefactor '    .10001E-03   1.0000         .10000E-03   10000.    
     5 'norm      '    .10605E-03   1.0000         .10000E-03   10000.    
     6 'norm      '    .10006E-03   1.0000         .10000E-03   10000.    
     7 'Prefactor '    .10146E-03   1.0000         .10000E-03   10000.    
     8 'Prefactor '    117.35       1.0000         .10000E-03   10000.    
     9 'Prefactor '    .10191E-03   1.0000         .10000E-03   10000.    
    10 'Prefactor '    63.738       1.0000         .10000E-03   10000.    
    11 'norm      '    9.1848       1.0000         .10000E-03   10000.    
    12 'Prefactor '    28.162       1.0000         .10000E-03   10000.    
    13 'Prefactor '    .11248E-03   1.0000         .10000E-03   10000.    
    14 'Prefactor '    8.3703       1.0000         .10000E-03   10000.    
    15 'Prefactor '    .10000E-03   1.0000         .10000E-03   10000.    
    16 'Prefactor '    5.6316       1.0000         .10000E-03   10000.    
    17 'Prefactor '    .57006       1.0000         .10000E-03   10000.    
    18 'norm      '    13.944       1.0000         .10000E-03   10000.    
    19 'Prefactor '    6.6985       1.0000         .10000E-03   10000.    
    20 'Prefactor '    .10012E-03   1.0000         .10000E-03   10000.    
    21 'Prefactor '    2.5608       1.0000         .10000E-03   10000.    
    22 'Normalizat'    .81001       1.0000         .10000E-01   10.000    
    23 'Prefactor '    1.2204       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=   6754.085     FROM MIGRAD    STATUS=CONVERGED    513 CALLS     2602 TOTAL
                     EDM=   .32E-09  STRATEGY=1  ERROR MATRIX UNCERTAINTY=   .3%

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  norm          .10000E-03    10.327       -.59512E-05** at limit **
   2  norm          43.008        21.233       -.11301E-05    .20254E-03
   3  norm          .10000E-03    .61336       -.78352E-07** at limit **
   4  Prefactor     .10000E-03    13.142        .70491E-05** at limit **
   5  norm          .10000E-03    1.8537       -.61630E-06** at limit **
   6  norm          .10000E-03    9.0998        .26259E-05** at limit **
   7  Prefactor     .10000E-03    22.155        .59179E-06** at limit **
   8  Prefactor     117.35        89.233       -.27304E-06    .14355E-04
   9  Prefactor     .10000E-03    1.5626        .30482E-06** at limit **
  10  Prefactor     63.722        32.427       -.94488E-05    .19764E-04
  11  norm          9.1850        2.9131       -.17433E-06    .95476E-04
  12  Prefactor     28.131        34.865       -.31340E-04    .21203E-05
  13  Prefactor     .10000E-03    73.359        .11265E-04** at limit **
  14  Prefactor     8.3695        10.188       -.17041E-05   -.62618E-06
  15  Prefactor     .10000E-03    7.3359       -.48122E-06** at limit **
  16  Prefactor     5.5983        37.795       -.50002E-04   -.12779E-04
  17  Prefactor     .55928        3.8757       -.53495E-06   -.37528E-03
  18  norm          13.945        5.8941       -.19426E-06    .86823E-04
  19  Prefactor     6.6985        8.9866       -.76099E-06   -.55206E-04
  20  Prefactor     .10000E-03    17.493       -.56233E-05** at limit **
  21  Prefactor     2.5608        10.324       -.25720E-05   -.16895E-03
  22  Normalizat    .80988        .27710        .12762E-04    .12228E-03
  23  Prefactor     1.2205        .13839        .62510E-06    .44427E-03
                               ERR DEF=  .500    
Final values: 
  norm       = 0.0001
  norm       = 43.0076
  norm       = 0.0001
  Prefactor  = 0.0001
  norm       = 0.000100004
  norm       = 0.0001
  Prefactor  = 0.0001
  Prefactor  = 117.354
  Prefactor  = 0.0001
  Prefactor  = 63.7215
  norm       = 9.18497
  Prefactor  = 28.1306
  Prefactor  = 0.000100003
  Prefactor  = 8.36952
  Prefactor  = 0.0001
  Prefactor  = 5.5983
  Prefactor  = 0.559279
  norm       = 13.945
  Prefactor  = 6.69847
  Prefactor  = 0.0001
  Prefactor  = 2.56079
  Normalizat = 0.809881
  Prefactor  = 1.22052
 **********
 **   18 **HESSE 
 **********

 FCN=   6754.085     FROM HESSE     STATUS=OK           372 CALLS     2974 TOTAL
                     EDM=   .80E-09    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  norm          .10000E-03    10.552        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   2  norm          43.008        21.082        .61136E-04   -1.4395    
   3  norm          .10000E-03    .62136        .62844E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   4  Prefactor     .10000E-03    13.139        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   5  norm          .10000E-03    15.687        .21501E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   6  norm          .10000E-03    9.1111        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   7  Prefactor     .10000E-03    22.207        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   8  Prefactor     117.35        89.214        .37143E-04   -1.3537    
   9  Prefactor     .10000E-03    3.7992        .19856E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  10  Prefactor     63.722        32.401        .50265E-04   -1.4110    
  11  norm          9.1850        2.9144        .74519E-04   -1.5102    
  12  Prefactor     28.131        34.885        .75494E-04   -1.4647    
  13  Prefactor     .10000E-03    73.797        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  14  Prefactor     8.3695        10.200        .13856E-03   -1.5129    
  15  Prefactor     .10000E-03    7.3378        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  16  Prefactor     5.5983        37.782        .16928E-03   -1.5235    
  17  Prefactor     .55928        8.1794        .29821E-02   -1.5558    
  18  norm          13.945        5.8972        .10726E-03   -1.4961    
  19  Prefactor     6.6985        8.9823        .15504E-03   -1.5190    
  20  Prefactor     .10000E-03    17.507        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  21  Prefactor     2.5608        10.406        .25511E-03   -1.5388    
  22  Normalizat    .80988        .31064        .39824E-03   -.99703    
  23  Prefactor     1.2205        .15685        .18406E-03   -.85702    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 8.04869e-10
Minuit parameter uncertainties:
  1  5.12755e-05
  2  21.0855
  3  5.11524e-06
  4  1.29415e-05
  5  0.000472221
  6  1.96636e-05
  7  9.71143e-05
  8  89.3159
  9  5.00825e-05
  10  32.4103
  11  2.91441
  12  34.9101
  13  0.00101098
  14  10.2019
  15  9.4175e-06
  16  29.1133
  17  4.27796
  18  5.89746
  19  8.98412
  20  2.81278e-05
  21  10.3273
  22  0.311323
  23  0.156911
Done.

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

Extracting fit parameters...

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

EG_v02
   Spectrum: FileFunction
548   Normalization:  8.099e-01  3.113e-01  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Fixed Index): 20.93
Ra Dec: 314.072 -47.237
Photon Index (Fixed Index): 2.35 +/- 0.00
Photon Flux (Fixed Index): 2.06e-07 +/- 6.54e-08
Energy Flux (Fixed Index): 6.30e-05 +/- 2.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) = 6752.86730841
delta logL = 1.21797031575

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

MINUIT Return Code (Free Index): 0
logL (Free Index) = 6752.83848574
delta logL = 1.24679298092

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'norm      '    7.0156       1.0000         .10000E-03   10000.    
     2 'alpha     '    2.9899       1.0000          .0000       5.0000    
     3 'Normalizat'    .71478       1.0000         .10000E-01   10.000    
     4 'Prefactor '    1.2564       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=   6752.838     FROM MIGRAD    STATUS=CONVERGED     48 CALLS      239 TOTAL
                     EDM=   .20E-10    STRATEGY= 1      ERR MATRIX NOT POS-DEF

  EXT PARAMETER                APPROXIMATE        STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  norm          7.0156        26.590        .37865E-02    .67436E-03
   2  alpha         2.9899        3.9685        .21035        .44240E-04
   3  Normalizat    .71475        .16665        .94934E-01    .34661E-04
   4  Prefactor     1.2564        .88036E-01    .33416E-01   -.47239E-05
                               ERR DEF=  .500    
Final values: 
  norm       = 7.01565
  alpha      = 2.98993
  Normalizat = 0.714748
  Prefactor  = 1.25645
 **********
 **   18 **HESSE 
 **********

 FCN=   6752.838     FROM HESSE     STATUS=OK            31 CALLS      270 TOTAL
                     EDM=   .37E-10    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  norm          7.0156        2.9517        .58819E-04   -1.5178    
   2  alpha         2.9899        .43476        .90928E-03    .19725    
   3  Normalizat    .71475        .27890        .42061E-03   -1.0331    
   4  Prefactor     1.2564        .15312        .18165E-03   -.84611    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 3.72483e-11
Minuit parameter uncertainties:
  1  2.95179
  2  0.437071
  3  0.279457
  4  0.153173
shell-init: error retrieving current directory: getcwd: cannot access parent directories: No such file or directory
rmdir: failed to remove `/scratch/kocevski/213800': 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) = 6752.83848574
delta logL = 1.24679298603

Extracting fit parameters...

4FGL J2056.2-4714
   Spectrum: LogParabola
291         norm:  7.016e+00  2.952e+00  1.000e-04  1.000e+04 ( 1.000e-11)
292        alpha:  2.990e+00  4.371e-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:  1.256e+00  1.532e-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:  7.147e-01  2.795e-01  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Free Index): 23.88
Ra Dec: 314.072 -47.237
Photon Index (Free Index): 2.99 +/- 0.44
Photon Flux (Free Index): 2.74e-07 +/- 8.50e-08
Energy Flux (Free Index): 5.58e-05 +/- 1.66e-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/213800/cmap_HighResolution_558403201_558662401_4FGL_J2056.2-4714_daily_bin1231.png

Cleaning up...

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

Updating database...

UPDATE lightcurve_data_v2 SET comment='SUCCESS', photon_flux='2.06e-07', energy_flux2='5.58e-05', photon_flux_error='6.54e-08', dlogl='1.25e+00', energy_flux='6.30e-05', photon_flux2='2.74e-07', job_status='DONE', time_completed='2021-09-25 21:58:39.824369', photon_index_error2='0.44', photon_index2='2.99', ts='20.93', fit_tolerance='1e-08', GAL='1.22', photon_index_error='0.00', energy_flux_error2='1.66e-05', EG='0.81', time_epoch_completed='1632632319.82', return_code='0', job_id='213800', GAL2='1.26', EG2='0.71', return_code2='0', energy_flux_error='2.00e-05', photon_flux_error2='8.50e-08', ts2='23.88', photon_index='2.35' WHERE bin_id='1231' AND source_name='4FGL J2056.2-4714' AND cadence='daily';

Database successfully updated.


Analysis Complete.


Sat Sep 25 21:58:39 PDT 2021


------------------------------------------------------------
Sender: LSF System <lsf@bullet0213>
Subject: Job 213800: <4FGL_J2056.2-4714_daily_bin1231> in cluster <slac> Done

Job <4FGL_J2056.2-4714_daily_bin1231> was submitted from host <rhel6-64m> by user <kocevski> in cluster <slac> at Sat Sep 25 21:45:39 2021
Job was executed on host(s) <bullet0213>, in queue <medium>, as user <kocevski> in cluster <slac> at Sat Sep 25 21:47:22 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:47:22 2021
Terminated at Sat Sep 25 21:58:40 2021
Results reported at Sat Sep 25 21:58:40 2021

Your job looked like:

------------------------------------------------------------
# LSBATCH: User input
/nfs/farm/g/glast/g/LCRepository/Likelihood/Scripts/LikelihoodAnalysis.py 4FGL_J2056.2-4714_daily_bin1231 314.072 -47.2369 558403201 558662401 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 :                                   621.00 sec.
    Max Memory :                                 1094 MB
    Average Memory :                             311.96 MB
    Total Requested Memory :                     -
    Delta Memory :                               -
    Max Swap :                                   -
    Max Processes :                              5
    Max Threads :                                21
    Run time :                                   678 sec.
    Turnaround time :                            781 sec.

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

