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


Performing analysis on: 4FGL_J2056.2-4714_daily_bin1247
RA = 314.072, Dec = -47.2369
tmin = 562550401, tmax = 562809601
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='213825', job_status='RUN', time_executed='2021-09-25 21:48:22.666008', time_epoch_executed='1632631702.67' WHERE source_name='4FGL J2056.2-4714' and cadence='daily' and bin_id='1247'

Database successfully updated.
Done.

Creating custom output directory:
/scratch/kocevski/213825

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

Retrieving the FT1 file...

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

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

Retrieving 47 files...
Done.


Merging files...

Checksum keywords updated successfully.

Merged file saved to:
/scratch/kocevski/213825/ft1_4FGL_J2056.2-4714_daily_bin1247.fits


Retrieving the FT1 file...

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

Retrieving 47 files...
Done.


Merging files...

Merged file saved to:
/scratch/kocevski/213825/ft2_4FGL_J2056.2-4714_daily_bin1247.fits


Selecting the photons:
time -p gtselect infile=/scratch/kocevski/213825/ft1_4FGL_J2056.2-4714_daily_bin1247.fits outfile=/scratch/kocevski/213825/ft1_filteredMKT_4FGL_J2056.2-4714_daily_bin1247.fits ra=314.072 dec=-47.2369 rad=12.0 tmin=562550401.0 tmax=562809601.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.54
user 3.25
sys 0.19

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

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

Generating the livetime cube:
time -p gtltcube evfile="/scratch/kocevski/213825/ft1_filtered_4FGL_J2056.2-4714_daily_bin1247.fits" evtable="EVENTS" scfile=/scratch/kocevski/213825/ft2_4FGL_J2056.2-4714_daily_bin1247.fits sctable="SC_DATA" outfile=/scratch/kocevski/213825/ltcube_562550401_562809601_4FGL_J2056.2-4714_daily_bin1247.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/213825/ft2_4FGL_J2056.2-4714_daily_bin1247.fits
.....................!
real 14.80
user 14.42
sys 0.33

Generating the exposure map:
time -p gtexpmap evfile=/scratch/kocevski/213825/ft1_filtered_4FGL_J2056.2-4714_daily_bin1247.fits evtable="EVENTS" scfile=/scratch/kocevski/213825/ft2_4FGL_J2056.2-4714_daily_bin1247.fits sctable="SC_DATA" expcube=/scratch/kocevski/213825/ltcube_562550401_562809601_4FGL_J2056.2-4714_daily_bin1247.fits outfile=/scratch/kocevski/213825/expmap_562550401_562809601_4FGL_J2056.2-4714_daily_bin1247.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/213825/ltcube_562550401_562809601_4FGL_J2056.2-4714_daily_bin1247.fits
.....................!
real 192.00
user 185.83
sys 5.37

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/213825/ft1_filtered_4FGL_J2056.2-4714_daily_bin1247.fits scfile=/scratch/kocevski/213825/ft2_4FGL_J2056.2-4714_daily_bin1247.fits outfile=/scratch/kocevski/213825/cmap_562550401_562809601_4FGL_J2056.2-4714_daily_bin1247.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.38
sys 0.16

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

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

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

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

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

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'norm      '    28.109       1.0000         .10000E-03   10000.    
     2 'norm      '    17.692       1.0000         .10000E-03   10000.    
     3 'norm      '    2.4384       1.0000         .10000E-03   10000.    
     4 'Prefactor '    4.3047       1.0000         .10000E-03   10000.    
     5 'norm      '    3.5546       1.0000         .10000E-03   10000.    
     6 'norm      '    10.055       1.0000         .10000E-03   10000.    
     7 'Prefactor '    .10725E-03   1.0000         .10000E-03   10000.    
     8 'Prefactor '    226.08       1.0000         .10000E-03   10000.    
     9 'Prefactor '    .10003E-03   1.0000         .10000E-03   10000.    
    10 'Prefactor '    .10035E-03   1.0000         .10000E-03   10000.    
    11 'norm      '    16.540       1.0000         .10000E-03   10000.    
    12 'Prefactor '    .10002E-03   1.0000         .10000E-03   10000.    
    13 'Prefactor '    59.048       1.0000         .10000E-03   10000.    
    14 'Prefactor '    20.890       1.0000         .10000E-03   10000.    
    15 'Prefactor '    .62811E-02   1.0000         .10000E-03   10000.    
    16 'Prefactor '    .12047E-03   1.0000         .10000E-03   10000.    
    17 'Prefactor '    .10003E-03   1.0000         .10000E-03   10000.    
    18 'norm      '    .10120E-03   1.0000         .10000E-03   10000.    
    19 'Prefactor '    .84924E-03   1.0000         .10000E-03   10000.    
    20 'Prefactor '    .10549E-03   1.0000         .10000E-03   10000.    
    21 'Prefactor '    .10071E-03   1.0000         .10000E-03   10000.    
    22 'Normalizat'    1.0428       1.0000         .10000E-01   10.000    
    23 'Prefactor '    .87747       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=   4862.913     FROM MIGRAD    STATUS=CONVERGED    532 CALLS     2559 TOTAL
                     EDM=   .10E-08  STRATEGY=1  ERROR MATRIX UNCERTAINTY=  6.3%

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  norm          28.112        16.555       -.33688E-06   -.64406E-04
   2  norm          17.703        26.236       -.49183E-06   -.21075E-04
   3  norm          2.4393        2.3618       -.17788E-06   -.11776E-03
   4  Prefactor     4.4155        218.06       -.60920E-05   -.22409E-04
   5  norm          3.5552        3.5088       -.10922E-06   -.75219E-04
   6  norm          10.054        23.507       -.12763E-05   -.41810E-04
   7  Prefactor     .10000E-03    37.973       -.25713E-05** at limit **
   8  Prefactor     226.24        122.56       -.19937E-05   -.12908E-03
   9  Prefactor     .10000E-03    1.5014       -.19090E-06** at limit **
  10  Prefactor     .10000E-03    5.7714       -.13846E-06** at limit **
  11  norm          16.539        3.8599        .95495E-08    .22732E-03
  12  Prefactor     .10000E-03    8.3349       -.42846E-07** at limit **
  13  Prefactor     59.124        51.046       -.55067E-06   -.63872E-04
  14  Prefactor     20.885        11.311        .45126E-06    .48368E-03
  15  Prefactor     .10267E-03    69.657       -.81157E-05** at limit **
  16  Prefactor     .10000E-03    24.038       -.63265E-06** at limit **
  17  Prefactor     .10000E-03    1.8151       -.26535E-06** at limit **
  18  norm          .10000E-03    4.1640       -.10475E-06** at limit **
  19  Prefactor     .10001E-03    88.492       -.25056E-05** at limit **
  20  Prefactor     .10000E-03    103.20       -.22923E-05** at limit **
  21  Prefactor     .10000E-03    4.0255       -.15753E-06** at limit **
  22  Normalizat    1.0427        .28518       -.44114E-05    .37395E-03
  23  Prefactor     .87731        .15705        .41782E-05    .67405E-03
                               ERR DEF=  .500    
Final values: 
  norm       = 28.1119
  norm       = 17.7034
  norm       = 2.4393
  Prefactor  = 4.41552
  norm       = 3.55518
  norm       = 10.0538
  Prefactor  = 0.000100004
  Prefactor  = 226.24
  Prefactor  = 0.0001
  Prefactor  = 0.0001
  norm       = 16.5393
  Prefactor  = 0.0001
  Prefactor  = 59.1237
  Prefactor  = 20.8847
  Prefactor  = 0.00010267
  Prefactor  = 0.0001
  Prefactor  = 0.0001
  norm       = 0.0001
  Prefactor  = 0.000100005
  Prefactor  = 0.000100002
  Prefactor  = 0.0001
  Normalizat = 1.04272
  Prefactor  = 0.877305
 **********
 **   18 **HESSE 
 **********

 FCN=   4862.913     FROM HESSE     STATUS=OK           368 CALLS     2927 TOTAL
                     EDM=   .91E-08    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  norm          28.112        16.556        .75564E-04   -1.4647    
   2  norm          17.703        26.212        .95221E-04   -1.4866    
   3  norm          2.4393        2.3588        .10192E-03   -1.5396    
   4  Prefactor     4.4155        217.45        .19417E-03   -1.5288    
   5  norm          3.5552        3.5068        .12511E-03   -1.5331    
   6  norm          10.054        23.486        .12636E-03   -1.5074    
   7  Prefactor     .10000E-03    38.480        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   8  Prefactor     226.24        124.18        .13454E-03   -1.2688    
   9  Prefactor     .10000E-03    1.5305        .83622E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  10  Prefactor     .10000E-03    5.7751        .16364E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  11  norm          16.539        3.8617        .62744E-04   -1.4894    
  12  Prefactor     .10000E-03    8.3408        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  13  Prefactor     59.124        51.221        .26105E-03   -1.4169    
  14  Prefactor     20.885        11.295        .87633E-04   -1.4794    
  15  Prefactor     .10267E-03    295.48        .82170E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  16  Prefactor     .10000E-03    24.302        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  17  Prefactor     .10000E-03    1.8303        .91890E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  18  norm          .10000E-03    4.1932        .13883E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  19  Prefactor     .10001E-03    87.323        .43211E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  20  Prefactor     .10000E-03    104.68        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  21  Prefactor     .10000E-03    4.0378        .13668E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  22  Normalizat    1.0427        .29397        .32063E-03   -.91613    
  23  Prefactor     .87731        .16200        .19206E-03   -.96939    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 9.14519e-09
Minuit parameter uncertainties:
  1  16.5586
  2  26.229
  3  2.35888
  4  62.2124
  5  3.507
  6  23.5073
  7  0.000777711
  8  124.324
  9  4.66522e-06
  10  1.05735e-05
  11  3.86179
  12  4.46076e-06
  13  51.2596
  14  11.296
  15  0.0564525
  16  0.000111123
  17  1.12701e-05
  18  1.1122e-05
  19  0.00137619
  20  0.000919136
  21  5.91567e-06
  22  0.294426
  23  0.162087
Done.

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

Extracting fit parameters...

4FGL J2056.2-4714
   Spectrum: LogParabola
291         norm:  1.654e+01  3.862e+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:  8.773e-01  1.621e-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.944e-01  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Fixed Index): 49.50
Ra Dec: 314.072 -47.237
Photon Index (Fixed Index): 2.35 +/- 0.00
Photon Flux (Fixed Index): 3.71e-07 +/- 8.67e-08
Energy Flux (Fixed Index): 1.13e-04 +/- 2.65e-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) = 4862.43437453
delta logL = 0.478917108705

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

MINUIT Return Code (Free Index): 0
logL (Free Index) = 4862.31774365
delta logL = 0.595547990193

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'norm      '    14.452       1.0000         .10000E-03   10000.    
     2 'alpha     '    2.6730       1.0000          .0000       5.0000    
     3 'Normalizat'    .97977       1.0000         .10000E-01   10.000    
     4 'Prefactor '    .90207       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=   4862.318     FROM MIGRAD    STATUS=CONVERGED     55 CALLS      208 TOTAL
                     EDM=   .13E-09    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  norm          14.451        13.766        .26340E-02   -.42060E-04
   2  alpha         2.6732        .98933        .14428        .25097E-04
   3  Normalizat    .97989        .25941        .74289E-01    .14651E-04
   4  Prefactor     .90205        .14311        .45031E-01    .56859E-05
                               ERR DEF=  .500    
Final values: 
  norm       = 14.4511
  alpha      = 2.67322
  Normalizat = 0.979886
  Prefactor  = 0.90205
 **********
 **   18 **HESSE 
 **********

 FCN=   4862.318     FROM HESSE     STATUS=OK            31 CALLS      239 TOTAL
                     EDM=   .36E-12    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  norm          14.451        4.1070        .56556E-04   -1.4947    
   2  alpha         2.6732        .30660        .63024E-03    .69343E-01
   3  Normalizat    .97989        .29146        .32872E-03   -.93707    
   4  Prefactor     .90205        .16001        .18963E-03   -.96069    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 3.60239e-13
Minuit parameter uncertainties:
  1  4.1071
  2  0.307373
  3  0.291932
  4  0.160091
shell-init: error retrieving current directory: getcwd: cannot access parent directories: No such file or directory
rmdir: failed to remove `/scratch/kocevski/213825': 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) = 4862.31774294
delta logL = 0.595548704541

Extracting fit parameters...

4FGL J2056.2-4714
   Spectrum: LogParabola
291         norm:  1.445e+01  4.107e+00  1.000e-04  1.000e+04 ( 1.000e-11)
292        alpha:  2.673e+00  3.074e-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.021e-01  1.601e-01  0.000e+00  1.000e+01 ( 1.000e+00)
550        Index:  0.000e+00  0.000e+00 -1.000e+00  1.000e+00 ( 1.000e+00) fixed
551        Scale:  1.000e+02  0.000e+00  5.000e+01  2.000e+02 ( 1.000e+00) fixed

EG_v02
   Spectrum: FileFunction
548   Normalization:  9.799e-01  2.919e-01  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Free Index): 50.82
Ra Dec: 314.072 -47.237
Photon Index (Free Index): 2.67 +/- 0.31
Photon Flux (Free Index): 4.21e-07 +/- 1.03e-07
Energy Flux (Free Index): 1.01e-04 +/- 2.47e-05

Creating a high resolution counts map...
INFO: Auto-setting vmin to  0.000e+00 [aplpy.core]
INFO: Auto-setting vmax to  0.000e+00 [aplpy.core]
Saving /scratch/kocevski/213825/cmap_HighResolution_562550401_562809601_4FGL_J2056.2-4714_daily_bin1247.png

Cleaning up...

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

Updating database...

UPDATE lightcurve_data_v2 SET comment='SUCCESS', photon_flux='3.71e-07', energy_flux2='1.01e-04', photon_flux_error='8.67e-08', dlogl='5.96e-01', energy_flux='1.13e-04', photon_flux2='4.21e-07', job_status='DONE', time_completed='2021-09-25 21:57:18.610164', photon_index_error2='0.31', photon_index2='2.67', ts='49.50', fit_tolerance='1e-08', GAL='0.88', photon_index_error='0.00', energy_flux_error2='2.47e-05', EG='1.04', time_epoch_completed='1632632238.61', return_code='0', job_id='213825', GAL2='0.90', EG2='0.98', return_code2='0', energy_flux_error='2.65e-05', photon_flux_error2='1.03e-07', ts2='50.82', photon_index='2.35' WHERE bin_id='1247' AND source_name='4FGL J2056.2-4714' AND cadence='daily';

Database successfully updated.


Analysis Complete.


Sat Sep 25 21:57:18 PDT 2021


------------------------------------------------------------
Sender: LSF System <lsf@bullet0153>
Subject: Job 213825: <4FGL_J2056.2-4714_daily_bin1247> in cluster <slac> Done

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

Your job looked like:

------------------------------------------------------------
# LSBATCH: User input
/nfs/farm/g/glast/g/LCRepository/Likelihood/Scripts/LikelihoodAnalysis.py 4FGL_J2056.2-4714_daily_bin1247 314.072 -47.2369 562550401 562809601 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 :                                   529.22 sec.
    Max Memory :                                 1256 MB
    Average Memory :                             336.10 MB
    Total Requested Memory :                     -
    Delta Memory :                               -
    Max Swap :                                   -
    Max Processes :                              5
    Max Threads :                                21
    Run time :                                   571 sec.
    Turnaround time :                            698 sec.

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

