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


Performing analysis on: 4FGL_J2056.2-4714_daily_bin1298
RA = 314.072, Dec = -47.2369
tmin = 575769601, tmax = 576028801
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='213905', job_status='RUN', time_executed='2021-09-25 21:49:08.156905', time_epoch_executed='1632631748.16' WHERE source_name='4FGL J2056.2-4714' and cadence='daily' and bin_id='1298'

Database successfully updated.
Done.

Creating custom output directory:
/scratch/kocevski/213905

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

Retrieving the FT1 file...

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

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

Retrieving 46 files...
Done.


Merging files...

Checksum keywords updated successfully.

Merged file saved to:
/scratch/kocevski/213905/ft1_4FGL_J2056.2-4714_daily_bin1298.fits


Retrieving the FT1 file...

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

Retrieving 46 files...
Done.


Merging files...

Merged file saved to:
/scratch/kocevski/213905/ft2_4FGL_J2056.2-4714_daily_bin1298.fits


Selecting the photons:
time -p gtselect infile=/scratch/kocevski/213905/ft1_4FGL_J2056.2-4714_daily_bin1298.fits outfile=/scratch/kocevski/213905/ft1_filteredMKT_4FGL_J2056.2-4714_daily_bin1298.fits ra=314.072 dec=-47.2369 rad=12.0 tmin=575769601.0 tmax=576028801.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.89
user 3.63
sys 0.22

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

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

Generating the livetime cube:
time -p gtltcube evfile="/scratch/kocevski/213905/ft1_filtered_4FGL_J2056.2-4714_daily_bin1298.fits" evtable="EVENTS" scfile=/scratch/kocevski/213905/ft2_4FGL_J2056.2-4714_daily_bin1298.fits sctable="SC_DATA" outfile=/scratch/kocevski/213905/ltcube_575769601_576028801_4FGL_J2056.2-4714_daily_bin1298.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/213905/ft2_4FGL_J2056.2-4714_daily_bin1298.fits
.....................!
real 14.52
user 14.11
sys 0.35

Generating the exposure map:
time -p gtexpmap evfile=/scratch/kocevski/213905/ft1_filtered_4FGL_J2056.2-4714_daily_bin1298.fits evtable="EVENTS" scfile=/scratch/kocevski/213905/ft2_4FGL_J2056.2-4714_daily_bin1298.fits sctable="SC_DATA" expcube=/scratch/kocevski/213905/ltcube_575769601_576028801_4FGL_J2056.2-4714_daily_bin1298.fits outfile=/scratch/kocevski/213905/expmap_575769601_576028801_4FGL_J2056.2-4714_daily_bin1298.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/213905/ltcube_575769601_576028801_4FGL_J2056.2-4714_daily_bin1298.fits
.....................!
real 191.66
user 185.82
sys 5.39

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/213905/ft1_filtered_4FGL_J2056.2-4714_daily_bin1298.fits scfile=/scratch/kocevski/213905/ft2_4FGL_J2056.2-4714_daily_bin1298.fits outfile=/scratch/kocevski/213905/cmap_575769601_576028801_4FGL_J2056.2-4714_daily_bin1298.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.55
user 0.39
sys 0.14

Creating the high resolution counts map:
time -p gtbin evfile=/scratch/kocevski/213905/ft1_filtered_4FGL_J2056.2-4714_daily_bin1298.fits scfile=/scratch/kocevski/213905/ft2_4FGL_J2056.2-4714_daily_bin1298.fits outfile=/scratch/kocevski/213905/cmap_HighResolution_575769601_576028801_4FGL_J2056.2-4714_daily_bin1298.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.58
user 0.39
sys 0.15

Computing the diffuse response:
time -p gtdiffrsp evfile=/scratch/kocevski/213905/ft1_filtered_4FGL_J2056.2-4714_daily_bin1298.fits evtable="EVENTS" scfile=/scratch/kocevski/213905/ft2_4FGL_J2056.2-4714_daily_bin1298.fits sctable="SC_DATA" srcmdl=/scratch/kocevski/213905/Model_4FGL_J2056.2-4714_daily_bin1298.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/213905/ft1_filtered_4FGL_J2056.2-4714_daily_bin1298.fits.....................!
real 71.03
user 69.59
sys 1.15

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

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

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

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'norm      '    .10017E-03   1.0000         .10000E-03   10000.    
     2 'norm      '    4.2478       1.0000         .10000E-03   10000.    
     3 'norm      '    1.8307       1.0000         .10000E-03   10000.    
     4 'Prefactor '    .10036E-03   1.0000         .10000E-03   10000.    
     5 'norm      '    .10118E-03   1.0000         .10000E-03   10000.    
     6 'norm      '    .10140E-03   1.0000         .10000E-03   10000.    
     7 'Prefactor '    .10013E-03   1.0000         .10000E-03   10000.    
     8 'Prefactor '    .10781E-02   1.0000         .10000E-03   10000.    
     9 'Prefactor '    .10003E-03   1.0000         .10000E-03   10000.    
    10 'Prefactor '    .10002E-03   1.0000         .10000E-03   10000.    
    11 'norm      '    3.8928       1.0000         .10000E-03   10000.    
    12 'Prefactor '    2.1239       1.0000         .10000E-03   10000.    
    13 'Prefactor '    .10000E-03   1.0000         .10000E-03   10000.    
    14 'Prefactor '    1.6390       1.0000         .10000E-03   10000.    
    15 'Prefactor '    21.553       1.0000         .10000E-03   10000.    
    16 'Prefactor '    .10073E-03   1.0000         .10000E-03   10000.    
    17 'Prefactor '    .10001E-03   1.0000         .10000E-03   10000.    
    18 'norm      '    7.6776       1.0000         .10000E-03   10000.    
    19 'Prefactor '    4.6023       1.0000         .10000E-03   10000.    
    20 'Prefactor '    4.0148       1.0000         .10000E-03   10000.    
    21 'Prefactor '    .10042E-03   1.0000         .10000E-03   10000.    
    22 'Normalizat'    .73073       1.0000         .10000E-01   10.000    
    23 'Prefactor '    1.0836       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=   9820.808     FROM MIGRAD    STATUS=CONVERGED    512 CALLS     2198 TOTAL
                     EDM=   .11E-08  STRATEGY=1  ERROR MATRIX UNCERTAINTY=  3.5%

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  norm          .10000E-03    4.7205       -.46828E-07** at limit **
   2  norm          4.2492        6.2246        .12569E-05   -.96601E-03
   3  norm          1.8309        1.1339        .42765E-08   -.34237E-04
   4  Prefactor     .10000E-03    13.749        .31508E-06** at limit **
   5  norm          .10000E-03    1.1994       -.44510E-07** at limit **
   6  norm          .10000E-03    13.265       -.93946E-06** at limit **
   7  Prefactor     .10000E-03    9.5343       -.14065E-06** at limit **
   8  Prefactor     .10003E-03    252.34       -.12203E-04** at limit **
   9  Prefactor     .10000E-03    1.1644        .62504E-08** at limit **
  10  Prefactor     .10000E-03    10.892        .39512E-06** at limit **
  11  norm          3.8920        1.7034        .39810E-08   -.69146E-04
  12  Prefactor     2.1226        35.238        .56840E-05    .70408E-04
  13  Prefactor     .10000E-03    11.100       -.31851E-07** at limit **
  14  Prefactor     1.6427        4.1622        .42803E-06   -.36102E-03
  15  Prefactor     21.552        18.465        .12534E-05    .23269E-03
  16  Prefactor     .10000E-03    13.740        .60974E-06** at limit **
  17  Prefactor     .10000E-03    1.0399       -.12156E-07** at limit **
  18  norm          7.6765        3.8567       -.15644E-06   -.99158E-04
  19  Prefactor     4.6032        5.1708        .13725E-05   -.14483E-02
  20  Prefactor     4.0261        31.949       -.99361E-05   -.21724E-03
  21  Prefactor     .10000E-03    5.1896       -.32979E-07** at limit **
  22  Normalizat    .73056        .17061        .41442E-06   -.24342E-04
  23  Prefactor     1.0835        .93563E-01   -.37897E-06    .13741E-03
                               ERR DEF=  .500    
Final values: 
  norm       = 0.0001
  norm       = 4.24917
  norm       = 1.83091
  Prefactor  = 0.0001
  norm       = 0.0001
  norm       = 0.0001
  Prefactor  = 0.0001
  Prefactor  = 0.000100026
  Prefactor  = 0.0001
  Prefactor  = 0.0001
  norm       = 3.89203
  Prefactor  = 2.12259
  Prefactor  = 0.0001
  Prefactor  = 1.64269
  Prefactor  = 21.552
  Prefactor  = 0.0001
  Prefactor  = 0.0001
  norm       = 7.67651
  Prefactor  = 4.60323
  Prefactor  = 4.02608
  Prefactor  = 0.0001
  Normalizat = 0.730557
  Prefactor  = 1.08353
 **********
 **   18 **HESSE 
 **********

 FCN=   9820.808     FROM HESSE     STATUS=OK           366 CALLS     2564 TOTAL
                     EDM=   .37E-08    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  norm          .10000E-03    4.8159        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   2  norm          4.2492        6.7032        .97751E-03   -1.5296    
   3  norm          1.8309        1.1314        .80742E-04   -1.5437    
   4  Prefactor     .10000E-03    13.760        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   5  norm          .10000E-03    2.7268        .21055E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   6  norm          .10000E-03    13.546        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   7  Prefactor     .10000E-03    9.5597        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   8  Prefactor     .10003E-03    260.30        .20712E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   9  Prefactor     .10000E-03    1.1966        .20869E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  10  Prefactor     .10000E-03    10.970        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  11  norm          3.8920        1.7024        .81049E-04   -1.5313    
  12  Prefactor     2.1226        35.528        .28296E-03   -1.5417    
  13  Prefactor     .10000E-03    11.104        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  14  Prefactor     1.6427        4.1713        .31105E-03   -1.5452    
  15  Prefactor     21.552        18.609        .86276E-04   -1.4779    
  16  Prefactor     .10000E-03    13.799        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  17  Prefactor     .10000E-03    1.0466        .98644E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  18  norm          7.6765        3.8548        .13039E-03   -1.5154    
  19  Prefactor     4.6032        5.8364        .93812E-03   -1.5279    
  20  Prefactor     4.0261        35.458        .20127E-03   -1.5307    
  21  Prefactor     .10000E-03    5.2818        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  22  Normalizat    .73056        .19594        .34780E-03   -1.0270    
  23  Prefactor     1.0835        .10794        .16456E-03   -.89995    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 3.68813e-09
Minuit parameter uncertainties:
  1  1.8738e-06
  2  6.7044
  3  1.13146
  4  3.23472e-05
  5  4.20311e-06
  6  8.58454e-05
  7  1.01055e-05
  8  0.00521607
  9  3.63176e-07
  10  3.21313e-05
  11  1.70243
  12  17.3798
  13  3.7477e-06
  14  4.17205
  15  18.6137
  16  6.16089e-05
  17  1.03313e-06
  18  3.85496
  19  5.83711
  20  23.9148
  21  3.8849e-05
  22  0.196123
  23  0.107957
Done.

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

Extracting fit parameters...

4FGL J2056.2-4714
   Spectrum: LogParabola
291         norm:  3.892e+00  1.702e+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.084e+00  1.080e-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.306e-01  1.961e-01  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Fixed Index): 10.68
Ra Dec: 314.072 -47.237
Photon Index (Fixed Index): 2.35 +/- 0.00
Photon Flux (Fixed Index): 8.74e-08 +/- 3.82e-08
Energy Flux (Fixed Index): 2.67e-05 +/- 1.17e-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) = 9820.73929778
delta logL = 0.0682169685024

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

MINUIT Return Code (Free Index): 0
logL (Free Index) = 9820.73540165
delta logL = 0.0721130900456

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'norm      '    3.8519       1.0000         .10000E-03   10000.    
     2 'alpha     '    2.5396       1.0000          .0000       5.0000    
     3 'Normalizat'    .71335       1.0000         .10000E-01   10.000    
     4 'Prefactor '    1.0892       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.

 MIGRAD WILL VERIFY CONVERGENCE AND ERROR MATRIX.

 FCN=   9820.735     FROM MIGRAD    STATUS=CONVERGED     88 CALLS      241 TOTAL
                     EDM=   .55E-09    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  norm          3.8517        1.6666        .76897E-04    .79243E-03
   2  alpha         2.5400        .49922        .15143E-01    .38466E-04
   3  Normalizat    .71293        .19532        .35167E-03   -.36071E-03
   4  Prefactor     1.0894        .10820        .16415E-03   -.31637E-03
                               ERR DEF=  .500    
Final values: 
  norm       = 3.8517
  alpha      = 2.53995
  Normalizat = 0.712927
  Prefactor  = 1.08937
 **********
 **   18 **HESSE 
 **********

 FCN=   9820.735     FROM HESSE     STATUS=OK            25 CALLS      266 TOTAL
                     EDM=   .54E-09    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  norm          3.8517        1.6512        .30759E-05   -1.5315    
   2  alpha         2.5400        .49408        .60571E-03    .15981E-01
   3  Normalizat    .71293        .19544        .14067E-04   -1.0338    
   4  Prefactor     1.0894        .10824        .32830E-04   -.89807    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 5.36661e-10
Minuit parameter uncertainties:
  1  1.65125
  2  0.497357
  3  0.195634
  4  0.108262
shell-init: error retrieving current directory: getcwd: cannot access parent directories: No such file or directory
rmdir: failed to remove `/scratch/kocevski/213905': 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) = 9820.73539899
delta logL = 0.072115757388

Extracting fit parameters...

4FGL J2056.2-4714
   Spectrum: LogParabola
291         norm:  3.852e+00  1.651e+00  1.000e-04  1.000e+04 ( 1.000e-11)
292        alpha:  2.540e+00  4.974e-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.089e+00  1.083e-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.129e-01  1.956e-01  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Free Index): 10.86
Ra Dec: 314.072 -47.237
Photon Index (Free Index): 2.54 +/- 0.50
Photon Flux (Free Index): 1.00e-07 +/- 5.27e-08
Energy Flux (Free Index): 2.63e-05 +/- 1.11e-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/213905/cmap_HighResolution_575769601_576028801_4FGL_J2056.2-4714_daily_bin1298.png

Cleaning up...

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

Updating database...

UPDATE lightcurve_data_v2 SET comment='SUCCESS', photon_flux='8.74e-08', energy_flux2='2.63e-05', photon_flux_error='3.82e-08', dlogl='7.21e-02', energy_flux='2.67e-05', photon_flux2='1.00e-07', job_status='DONE', time_completed='2021-09-25 22:00:42.225623', photon_index_error2='0.50', photon_index2='2.54', ts='10.68', fit_tolerance='1e-08', GAL='1.08', photon_index_error='0.00', energy_flux_error2='1.11e-05', EG='0.73', time_epoch_completed='1632632442.23', return_code='0', job_id='213905', GAL2='1.09', EG2='0.71', return_code2='0', energy_flux_error='1.17e-05', photon_flux_error2='5.27e-08', ts2='10.86', photon_index='2.35' WHERE bin_id='1298' AND source_name='4FGL J2056.2-4714' AND cadence='daily';

Database successfully updated.


Analysis Complete.


Sat Sep 25 22:00:42 PDT 2021


------------------------------------------------------------
Sender: LSF System <scs@bullet0016>
Subject: Job 213905: <4FGL_J2056.2-4714_daily_bin1298> in cluster <slac> Done

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

Your job looked like:

------------------------------------------------------------
# LSBATCH: User input
/nfs/farm/g/glast/g/LCRepository/Likelihood/Scripts/LikelihoodAnalysis.py 4FGL_J2056.2-4714_daily_bin1298 314.072 -47.2369 575769601 576028801 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 :                                   690.19 sec.
    Max Memory :                                 1256 MB
    Average Memory :                             306.24 MB
    Total Requested Memory :                     -
    Delta Memory :                               -
    Max Swap :                                   -
    Max Processes :                              5
    Max Threads :                                21
    Run time :                                   722 sec.
    Turnaround time :                            894 sec.

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

