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


Performing analysis on: 4FGL_J2056.2-4714_daily_bin1317
RA = 314.072, Dec = -47.2369
tmin = 580694401, tmax = 580953601
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='213936', job_status='RUN', time_executed='2021-09-25 21:50:00.431726', time_epoch_executed='1632631800.43' WHERE source_name='4FGL J2056.2-4714' and cadence='daily' and bin_id='1317'

Database successfully updated.
Done.

Creating custom output directory:
/scratch/kocevski/213936

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

Retrieving the FT1 file...

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

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

Retrieving 46 files...
Done.


Merging files...

Checksum keywords updated successfully.

Merged file saved to:
/scratch/kocevski/213936/ft1_4FGL_J2056.2-4714_daily_bin1317.fits


Retrieving the FT1 file...

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

Retrieving 46 files...
Done.


Merging files...

Merged file saved to:
/scratch/kocevski/213936/ft2_4FGL_J2056.2-4714_daily_bin1317.fits


Selecting the photons:
time -p gtselect infile=/scratch/kocevski/213936/ft1_4FGL_J2056.2-4714_daily_bin1317.fits outfile=/scratch/kocevski/213936/ft1_filteredMKT_4FGL_J2056.2-4714_daily_bin1317.fits ra=314.072 dec=-47.2369 rad=12.0 tmin=580694401.0 tmax=580953601.0 emin=100.0 emax=100000.0 zmin=0.0 zmax=90.0 evclass=128 evtype="INDEF" convtype=-1 phasemin=0.0 phasemax=1.0 evtable="EVENTS" chatter=2 clobber=yes debug=no gui=no mode="ql"

WARNING: version mismatch between CFITSIO header (v3.43) and linked library (v3.41).

Done.
real 2.80
user 2.57
sys 0.22

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

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

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

Generating the exposure map:
time -p gtexpmap evfile=/scratch/kocevski/213936/ft1_filtered_4FGL_J2056.2-4714_daily_bin1317.fits evtable="EVENTS" scfile=/scratch/kocevski/213936/ft2_4FGL_J2056.2-4714_daily_bin1317.fits sctable="SC_DATA" expcube=/scratch/kocevski/213936/ltcube_580694401_580953601_4FGL_J2056.2-4714_daily_bin1317.fits outfile=/scratch/kocevski/213936/expmap_580694401_580953601_4FGL_J2056.2-4714_daily_bin1317.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/213936/ltcube_580694401_580953601_4FGL_J2056.2-4714_daily_bin1317.fits
.....................!
real 193.87
user 188.21
sys 5.11

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/213936/ft1_filtered_4FGL_J2056.2-4714_daily_bin1317.fits scfile=/scratch/kocevski/213936/ft2_4FGL_J2056.2-4714_daily_bin1317.fits outfile=/scratch/kocevski/213936/cmap_580694401_580953601_4FGL_J2056.2-4714_daily_bin1317.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.62
user 0.39
sys 0.15

Creating the high resolution counts map:
time -p gtbin evfile=/scratch/kocevski/213936/ft1_filtered_4FGL_J2056.2-4714_daily_bin1317.fits scfile=/scratch/kocevski/213936/ft2_4FGL_J2056.2-4714_daily_bin1317.fits outfile=/scratch/kocevski/213936/cmap_HighResolution_580694401_580953601_4FGL_J2056.2-4714_daily_bin1317.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.62
user 0.40
sys 0.15

Computing the diffuse response:
time -p gtdiffrsp evfile=/scratch/kocevski/213936/ft1_filtered_4FGL_J2056.2-4714_daily_bin1317.fits evtable="EVENTS" scfile=/scratch/kocevski/213936/ft2_4FGL_J2056.2-4714_daily_bin1317.fits sctable="SC_DATA" srcmdl=/scratch/kocevski/213936/Model_4FGL_J2056.2-4714_daily_bin1317.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/213936/ft1_filtered_4FGL_J2056.2-4714_daily_bin1317.fits....................!
real 73.13
user 71.34
sys 1.26

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

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

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

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'norm      '    2.4572       1.0000         .10000E-03   10000.    
     2 'norm      '    .10467E-03   1.0000         .10000E-03   10000.    
     3 'norm      '    1.9140       1.0000         .10000E-03   10000.    
     4 'Prefactor '    .10000E-03   1.0000         .10000E-03   10000.    
     5 'norm      '    .10004E-03   1.0000         .10000E-03   10000.    
     6 'norm      '    .10001E-03   1.0000         .10000E-03   10000.    
     7 'Prefactor '    .10015E-03   1.0000         .10000E-03   10000.    
     8 'Prefactor '    160.83       1.0000         .10000E-03   10000.    
     9 'Prefactor '    3.0830       1.0000         .10000E-03   10000.    
    10 'Prefactor '    36.516       1.0000         .10000E-03   10000.    
    11 'norm      '    18.781       1.0000         .10000E-03   10000.    
    12 'Prefactor '    .10000E-03   1.0000         .10000E-03   10000.    
    13 'Prefactor '    17.128       1.0000         .10000E-03   10000.    
    14 'Prefactor '    .10017E-03   1.0000         .10000E-03   10000.    
    15 'Prefactor '    .10493E-03   1.0000         .10000E-03   10000.    
    16 'Prefactor '    4.8042       1.0000         .10000E-03   10000.    
    17 'Prefactor '    8.7227       1.0000         .10000E-03   10000.    
    18 'norm      '    3.4978       1.0000         .10000E-03   10000.    
    19 'Prefactor '    .10006E-03   1.0000         .10000E-03   10000.    
    20 'Prefactor '    37.251       1.0000         .10000E-03   10000.    
    21 'Prefactor '    .10075E-03   1.0000         .10000E-03   10000.    
    22 'Normalizat'    .71076       1.0000         .10000E-01   10.000    
    23 'Prefactor '    1.2000       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=   9871.567     FROM MIGRAD    STATUS=CONVERGED    497 CALLS     2518 TOTAL
                     EDM=   .86E-09  STRATEGY=1  ERROR MATRIX UNCERTAINTY=  2.3%

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  norm          2.4498        5.7138        .15275E-05   -.12282E-02
   2  norm          .10000E-03    20.450        .10233E-04** at limit **
   3  norm          1.9138        1.3863       -.26280E-07   -.15847E-04
   4  Prefactor     .10000E-03    13.754       -.59252E-05** at limit **
   5  norm          .10000E-03    1.1449        .56317E-07** at limit **
   6  norm          .10000E-03    5.3655        .97224E-06** at limit **
   7  Prefactor     .10000E-03    9.0866        .24575E-05** at limit **
   8  Prefactor     160.83        85.726       -.35028E-05   -.46836E-04
   9  Prefactor     3.0830        2.4837       -.33167E-07   -.89864E-04
  10  Prefactor     36.516        23.483       -.49684E-06   -.16272E-04
  11  norm          18.781        3.0231       -.80004E-07   -.72471E-04
  12  Prefactor     .10000E-03    6.3262       -.11665E-05** at limit **
  13  Prefactor     17.125        26.668       -.29754E-05   -.37862E-04
  14  Prefactor     .10000E-03    5.4417       -.52146E-06** at limit **
  15  Prefactor     .10000E-03    26.715       -.72253E-05** at limit **
  16  Prefactor     4.8039        7.4741        .11777E-06   -.29497E-03
  17  Prefactor     8.7237        4.2748        .11196E-06   -.16837E-02
  18  norm          3.5004        3.4127       -.35228E-06   -.29863E-04
  19  Prefactor     .10000E-03    3.6373       -.38486E-07** at limit **
  20  Prefactor     37.248        27.330       -.26941E-05   -.59393E-04
  21  Prefactor     .10000E-03    2.1845        .95781E-08** at limit **
  22  Normalizat    .71066        .21010        .21044E-05    .75208E-05
  23  Prefactor     1.2001        .11363       -.31932E-06    .47189E-04
                               ERR DEF=  .500    
Final values: 
  norm       = 2.44981
  norm       = 0.0001
  norm       = 1.91384
  Prefactor  = 0.0001
  norm       = 0.0001
  norm       = 0.0001
  Prefactor  = 0.0001
  Prefactor  = 160.825
  Prefactor  = 3.08299
  Prefactor  = 36.5158
  norm       = 18.781
  Prefactor  = 0.0001
  Prefactor  = 17.1253
  Prefactor  = 0.0001
  Prefactor  = 0.0001
  Prefactor  = 4.80395
  Prefactor  = 8.72369
  norm       = 3.5004
  Prefactor  = 0.0001
  Prefactor  = 37.2475
  Prefactor  = 0.0001
  Normalizat = 0.710659
  Prefactor  = 1.2001
 **********
 **   18 **HESSE 
 **********

 FCN=   9871.567     FROM HESSE     STATUS=OK           370 CALLS     2888 TOTAL
                     EDM=   .72E-08    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  norm          2.4498        10.431        .13046E-02   -1.5395    
   2  norm          .10000E-03    20.578        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   3  norm          1.9138        1.3915        .97015E-04   -1.5431    
   4  Prefactor     .10000E-03    13.807        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   5  norm          .10000E-03    1.1511        .10380E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   6  norm          .10000E-03    5.3688        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   7  Prefactor     .10000E-03    9.1053        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   8  Prefactor     160.83        85.955        .31798E-04   -1.3165    
   9  Prefactor     3.0830        2.4781        .13316E-03   -1.5357    
  10  Prefactor     36.516        23.458        .66321E-04   -1.4499    
  11  norm          18.781        3.0231        .65512E-04   -1.4841    
  12  Prefactor     .10000E-03    6.3329        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  13  Prefactor     17.125        26.676        .96776E-04   -1.4880    
  14  Prefactor     .10000E-03    5.5137        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  15  Prefactor     .10000E-03    26.943        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  16  Prefactor     4.8039        7.5108        .91774E-03   -1.5270    
  17  Prefactor     8.7237        4.4859        .67860E-03   -1.5117    
  18  norm          3.5004        3.4052        .17365E-03   -1.5334    
  19  Prefactor     .10000E-03    3.6724        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  20  Prefactor     37.248        27.378        .65666E-04   -1.4487    
  21  Prefactor     .10000E-03    2.1938        .14338E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  22  Normalizat    .71066        .23115        .41174E-03   -1.0347    
  23  Prefactor     1.2001        .12656        .18586E-03   -.86328    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 7.17594e-09
Minuit parameter uncertainties:
  1  10.1129
  2  0.000188642
  3  1.39154
  4  0.000122332
  5  9.62345e-07
  6  1.25844e-05
  7  4.36583e-05
  8  86.0219
  9  2.4782
  10  23.464
  11  3.02315
  12  1.82095e-05
  13  26.6943
  14  8.98621e-06
  15  0.000173269
  16  7.51232
  17  4.48609
  18  3.40539
  19  2.87246e-06
  20  27.3874
  21  2.84088e-06
  22  0.231472
  23  0.126596
Done.

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

Extracting fit parameters...

4FGL J2056.2-4714
   Spectrum: LogParabola
291         norm:  1.878e+01  3.023e+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.200e+00  1.266e-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.107e-01  2.315e-01  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Fixed Index): 101.49
Ra Dec: 314.072 -47.237
Photon Index (Fixed Index): 2.35 +/- 0.00
Photon Flux (Fixed Index): 4.22e-07 +/- 6.78e-08
Energy Flux (Fixed Index): 1.29e-04 +/- 2.07e-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) = 9871.54291875
delta logL = 0.024558702502

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

MINUIT Return Code (Free Index): 0
logL (Free Index) = 9871.53957048
delta logL = 0.0279069681565

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'norm      '    18.563       1.0000         .10000E-03   10000.    
     2 'alpha     '    2.3956       1.0000          .0000       5.0000    
     3 'Normalizat'    .70129       1.0000         .10000E-01   10.000    
     4 'Prefactor '    1.2035       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=   9871.540     FROM MIGRAD    STATUS=CONVERGED     52 CALLS      203 TOTAL
                     EDM=   .17E-10    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  norm          18.563        3.8135        .23240E-02    .10678E-03
   2  alpha         2.3956        .21854        .14606        .25799E-04
   3  Normalizat    .70129        .20102        .93477E-01    .50128E-04
   4  Prefactor     1.2035        .11359        .34548E-01   -.49781E-05
                               ERR DEF=  .500    
Final values: 
  norm       = 18.5627
  alpha      = 2.39562
  Normalizat = 0.701286
  Prefactor  = 1.20353
 **********
 **   18 **HESSE 
 **********

 FCN=   9871.540     FROM HESSE     STATUS=OK            31 CALLS      234 TOTAL
                     EDM=   .40E-12    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  norm          18.563        3.1296        .64826E-04   -1.4846    
   2  alpha         2.3956        .18140        .63688E-03   -.41764E-01
   3  Normalizat    .70129        .22120        .41416E-03   -1.0384    
   4  Prefactor     1.2035        .12526        .18562E-03   -.86223    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 3.95879e-13
Minuit parameter uncertainties:
  1  3.1296
  2  0.181557
  3  0.221485
  4  0.125292
shell-init: error retrieving current directory: getcwd: cannot access parent directories: No such file or directory
rmdir: failed to remove `/scratch/kocevski/213936': 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) = 9871.53957047
delta logL = 0.027906979436

Extracting fit parameters...

4FGL J2056.2-4714
   Spectrum: LogParabola
291         norm:  1.856e+01  3.130e+00  1.000e-04  1.000e+04 ( 1.000e-11)
292        alpha:  2.396e+00  1.816e-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.204e+00  1.253e-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.013e-01  2.215e-01  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Free Index): 101.28
Ra Dec: 314.072 -47.237
Photon Index (Free Index): 2.40 +/- 0.18
Photon Flux (Free Index): 4.30e-07 +/- 7.78e-08
Energy Flux (Free Index): 1.27e-04 +/- 2.22e-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/213936/cmap_HighResolution_580694401_580953601_4FGL_J2056.2-4714_daily_bin1317.png

Cleaning up...

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

Updating database...

UPDATE lightcurve_data_v2 SET comment='SUCCESS', photon_flux='4.22e-07', energy_flux2='1.27e-04', photon_flux_error='6.78e-08', dlogl='2.79e-02', energy_flux='1.29e-04', photon_flux2='4.30e-07', job_status='DONE', time_completed='2021-09-25 22:02:14.587902', photon_index_error2='0.18', photon_index2='2.40', ts='101.49', fit_tolerance='1e-08', GAL='1.20', photon_index_error='0.00', energy_flux_error2='2.22e-05', EG='0.71', time_epoch_completed='1632632534.59', return_code='0', job_id='213936', GAL2='1.20', EG2='0.70', return_code2='0', energy_flux_error='2.07e-05', photon_flux_error2='7.78e-08', ts2='101.28', photon_index='2.35' WHERE bin_id='1317' AND source_name='4FGL J2056.2-4714' AND cadence='daily';

Database successfully updated.


Analysis Complete.


Sat Sep 25 22:02:14 PDT 2021


------------------------------------------------------------
Sender: LSF System <lsf@bullet0093>
Subject: Job 213936: <4FGL_J2056.2-4714_daily_bin1317> in cluster <slac> Done

Job <4FGL_J2056.2-4714_daily_bin1317> was submitted from host <rhel6-64m> by user <kocevski> in cluster <slac> at Sat Sep 25 21:45:52 2021
Job was executed on host(s) <bullet0093>, in queue <medium>, as user <kocevski> in cluster <slac> at Sat Sep 25 21:49:10 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:49:10 2021
Terminated at Sat Sep 25 22:02:15 2021
Results reported at Sat Sep 25 22:02:15 2021

Your job looked like:

------------------------------------------------------------
# LSBATCH: User input
/nfs/farm/g/glast/g/LCRepository/Likelihood/Scripts/LikelihoodAnalysis.py 4FGL_J2056.2-4714_daily_bin1317 314.072 -47.2369 580694401 580953601 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 :                                   731.00 sec.
    Max Memory :                                 1094 MB
    Average Memory :                             321.60 MB
    Total Requested Memory :                     -
    Delta Memory :                               -
    Max Swap :                                   -
    Max Processes :                              5
    Max Threads :                                21
    Run time :                                   784 sec.
    Turnaround time :                            983 sec.

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

