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


Performing analysis on: 4FGL_J2056.2-4714_daily_bin411
RA = 314.072, Dec = -47.2369
tmin = 345859201, tmax = 346118401
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='209294', job_status='RUN', time_executed='2021-09-25 21:31:08.664514', time_epoch_executed='1632630668.66' WHERE source_name='4FGL J2056.2-4714' and cadence='daily' and bin_id='411'

Database successfully updated.
Done.

Creating custom output directory:
/scratch/kocevski/209294

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

Retrieving the FT1 file...

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

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

Retrieving 47 files...
Done.


Merging files...

Checksum keywords updated successfully.

Merged file saved to:
/scratch/kocevski/209294/ft1_4FGL_J2056.2-4714_daily_bin411.fits


Retrieving the FT1 file...

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

Retrieving 47 files...
Done.


Merging files...

Merged file saved to:
/scratch/kocevski/209294/ft2_4FGL_J2056.2-4714_daily_bin411.fits


Selecting the photons:
time -p gtselect infile=/scratch/kocevski/209294/ft1_4FGL_J2056.2-4714_daily_bin411.fits outfile=/scratch/kocevski/209294/ft1_filteredMKT_4FGL_J2056.2-4714_daily_bin411.fits ra=314.072 dec=-47.2369 rad=12.0 tmin=345859201.0 tmax=346118401.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.47
user 3.17
sys 0.20

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

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

Generating the livetime cube:
time -p gtltcube evfile="/scratch/kocevski/209294/ft1_filtered_4FGL_J2056.2-4714_daily_bin411.fits" evtable="EVENTS" scfile=/scratch/kocevski/209294/ft2_4FGL_J2056.2-4714_daily_bin411.fits sctable="SC_DATA" outfile=/scratch/kocevski/209294/ltcube_345859201_346118401_4FGL_J2056.2-4714_daily_bin411.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/209294/ft2_4FGL_J2056.2-4714_daily_bin411.fits
.....................!
real 12.51
user 12.15
sys 0.32

Generating the exposure map:
time -p gtexpmap evfile=/scratch/kocevski/209294/ft1_filtered_4FGL_J2056.2-4714_daily_bin411.fits evtable="EVENTS" scfile=/scratch/kocevski/209294/ft2_4FGL_J2056.2-4714_daily_bin411.fits sctable="SC_DATA" expcube=/scratch/kocevski/209294/ltcube_345859201_346118401_4FGL_J2056.2-4714_daily_bin411.fits outfile=/scratch/kocevski/209294/expmap_345859201_346118401_4FGL_J2056.2-4714_daily_bin411.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/209294/ltcube_345859201_346118401_4FGL_J2056.2-4714_daily_bin411.fits
.....................!
real 190.96
user 185.93
sys 4.63

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/209294/ft1_filtered_4FGL_J2056.2-4714_daily_bin411.fits scfile=/scratch/kocevski/209294/ft2_4FGL_J2056.2-4714_daily_bin411.fits outfile=/scratch/kocevski/209294/cmap_345859201_346118401_4FGL_J2056.2-4714_daily_bin411.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.53
user 0.37
sys 0.15

Creating the high resolution counts map:
time -p gtbin evfile=/scratch/kocevski/209294/ft1_filtered_4FGL_J2056.2-4714_daily_bin411.fits scfile=/scratch/kocevski/209294/ft2_4FGL_J2056.2-4714_daily_bin411.fits outfile=/scratch/kocevski/209294/cmap_HighResolution_345859201_346118401_4FGL_J2056.2-4714_daily_bin411.fits algorithm="CMAP" ebinalg="LOG" emin=30.0 emax=200000.0 ebinfile=NONE tbinalg="LIN" tbinfile=NONE nxpix=500 nypix=500 binsz=0.1 coordsys="CEL" xref=314.072 yref=-47.2369 axisrot=0.0 rafield="RA" decfield="DEC" proj="AIT" hpx_ordering_scheme="RING" hpx_order=3 hpx_ebin=yes hpx_region="" evtable="EVENTS" sctable="SC_DATA" efield="ENERGY" tfield="TIME" chatter=2 clobber=yes debug=no gui=no mode="ql"

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

This is gtbin version HEAD
real 0.55
user 0.38
sys 0.15

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

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

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

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

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'norm      '    7.0374       1.0000         .10000E-03   10000.    
     2 'norm      '    .10011E-03   1.0000         .10000E-03   10000.    
     3 'norm      '    2.2591       1.0000         .10000E-03   10000.    
     4 'Prefactor '    2.6219       1.0000         .10000E-03   10000.    
     5 'norm      '    1.1139       1.0000         .10000E-03   10000.    
     6 'norm      '    .10001E-03   1.0000         .10000E-03   10000.    
     7 'Prefactor '    .10003E-03   1.0000         .10000E-03   10000.    
     8 'Prefactor '    .10080E-03   1.0000         .10000E-03   10000.    
     9 'Prefactor '    .35965E-03   1.0000         .10000E-03   10000.    
    10 'Prefactor '    6.5858       1.0000         .10000E-03   10000.    
    11 'norm      '    3.6408       1.0000         .10000E-03   10000.    
    12 'Prefactor '    56.370       1.0000         .10000E-03   10000.    
    13 'Prefactor '    .10000E-03   1.0000         .10000E-03   10000.    
    14 'Prefactor '    34.064       1.0000         .10000E-03   10000.    
    15 'Prefactor '    1.9360       1.0000         .10000E-03   10000.    
    16 'Prefactor '    31.105       1.0000         .10000E-03   10000.    
    17 'Prefactor '    6.6594       1.0000         .10000E-03   10000.    
    18 'norm      '    4.3022       1.0000         .10000E-03   10000.    
    19 'Prefactor '    4.3637       1.0000         .10000E-03   10000.    
    20 'Prefactor '    .10054E-03   1.0000         .10000E-03   10000.    
    21 'Prefactor '    .11444E-03   1.0000         .10000E-03   10000.    
    22 'Normalizat'    .70755       1.0000         .10000E-01   10.000    
    23 'Prefactor '    1.1914       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=   9392.919     FROM MIGRAD    STATUS=CONVERGED    520 CALLS     2541 TOTAL
                     EDM=   .52E-09  STRATEGY=1  ERROR MATRIX UNCERTAINTY=  1.5%

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  norm          7.0388        6.5069        .10518E-06   -.13957E-04
   2  norm          .10000E-03    5.1401        .47200E-07** at limit **
   3  norm          2.2596        1.6834        .12663E-06    .67704E-04
   4  Prefactor     2.6224        80.991        .19156E-05    .58780E-05
   5  norm          1.1152        2.2841        .93139E-06    .34790E-03
   6  norm          .10000E-03    4.2070        .19278E-07** at limit **
   7  Prefactor     .10000E-03    6.4407        .84856E-07** at limit **
   8  Prefactor     .10000E-03    61.227        .35930E-05** at limit **
   9  Prefactor     .10000E-03    .91666        .64822E-07** at limit **
  10  Prefactor     6.5858        13.892        .16308E-06   -.27423E-04
  11  norm          3.6407        1.6690        .64651E-07   -.54787E-04
  12  Prefactor     56.368        29.127        .74016E-07   -.28136E-04
  13  Prefactor     .10000E-03    7.6686       -.34337E-08** at limit **
  14  Prefactor     34.063        10.039       -.17592E-06   -.28563E-03
  15  Prefactor     1.8421        83.161       -.20482E-05   -.44981E-04
  16  Prefactor     31.103        20.228       -.23115E-07   -.76427E-04
  17  Prefactor     6.6576        4.3238        .87805E-07   -.32500E-03
  18  norm          4.3021        3.5744       -.40281E-06   -.31079E-03
  19  Prefactor     4.3633        7.1916        .26057E-06    .14064E-04
  20  Prefactor     .10000E-03    29.988       -.11555E-05** at limit **
  21  Prefactor     .10010E-03    5.8537        .19425E-05** at limit **
  22  Normalizat    .70781        .21300       -.41914E-06   -.36962E-03
  23  Prefactor     1.1912        .11348       -.62041E-06   -.59810E-03
                               ERR DEF=  .500    
Final values: 
  norm       = 7.03877
  norm       = 0.0001
  norm       = 2.25956
  Prefactor  = 2.6224
  norm       = 1.11516
  norm       = 0.0001
  Prefactor  = 0.0001
  Prefactor  = 0.000100002
  Prefactor  = 0.000100001
  Prefactor  = 6.58575
  norm       = 3.64068
  Prefactor  = 56.3677
  Prefactor  = 0.0001
  Prefactor  = 34.0634
  Prefactor  = 1.84212
  Prefactor  = 31.1031
  Prefactor  = 6.65757
  norm       = 4.3021
  Prefactor  = 4.36329
  Prefactor  = 0.0001
  Prefactor  = 0.000100105
  Normalizat = 0.707812
  Prefactor  = 1.19118
 **********
 **   18 **HESSE 
 **********

 FCN=   9392.919     FROM HESSE     STATUS=OK           378 CALLS     2919 TOTAL
                     EDM=   .46E-08    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  norm          7.0388        6.5107        .15122E-03   -1.5177    
   2  norm          .10000E-03    5.1514        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   3  norm          2.2596        1.6779        .10475E-03   -1.5407    
   4  Prefactor     2.6224        81.457        .25187E-03   -1.5384    
   5  norm          1.1152        2.2840        .20654E-03   -1.5497    
   6  norm          .10000E-03    4.2082        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   7  Prefactor     .10000E-03    6.4449        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   8  Prefactor     .10000E-03    62.163        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   9  Prefactor     .10000E-03    8.9049        .17723E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  10  Prefactor     6.5858        13.812        .15637E-03   -1.5195    
  11  norm          3.6407        1.6667        .81087E-04   -1.5326    
  12  Prefactor     56.368        29.113        .53430E-04   -1.4205    
  13  Prefactor     .10000E-03    7.6696        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  14  Prefactor     34.063        10.022        .68659E-04   -1.4540    
  15  Prefactor     1.8421        85.265        .29844E-03   -1.5437    
  16  Prefactor     31.103        20.233        .71841E-04   -1.4592    
  17  Prefactor     6.6576        4.3190        .15270E-03   -1.5192    
  18  norm          4.3021        3.5473        .15526E-03   -1.5293    
  19  Prefactor     4.3633        7.1857        .19281E-03   -1.5290    
  20  Prefactor     .10000E-03    30.113        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  21  Prefactor     .10010E-03    24.377        .38738E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  22  Normalizat    .70781        .23460        .39251E-03   -1.0359    
  23  Prefactor     1.1912        .12663        .17577E-03   -.86603    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 4.61793e-09
Minuit parameter uncertainties:
  1  6.51135
  2  8.90069e-07
  3  1.67797
  4  29.2741
  5  2.28417
  6  1.13918e-06
  7  5.34774e-06
  8  0.000704016
  9  0.000149153
  10  13.8191
  11  1.66673
  12  29.1203
  13  2.76122e-07
  14  10.0223
  15  25.1027
  16  20.2375
  17  4.31925
  18  3.54743
  19  7.18714
  20  0.000194723
  21  0.00319638
  22  0.234932
  23  0.126658
Done.

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

Extracting fit parameters...

4FGL J2056.2-4714
   Spectrum: LogParabola
291         norm:  3.641e+00  1.667e+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.191e+00  1.267e-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.078e-01  2.349e-01  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Fixed Index): 9.23
Ra Dec: 314.072 -47.237
Photon Index (Fixed Index): 2.35 +/- 0.00
Photon Flux (Fixed Index): 8.17e-08 +/- 3.74e-08
Energy Flux (Fixed Index): 2.50e-05 +/- 1.14e-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) = 9392.90563908
delta logL = 0.0137167214234

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

MINUIT Return Code (Free Index): 0
logL (Free Index) = 9392.90444049
delta logL = 0.0149153101192

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'norm      '    3.5775       1.0000         .10000E-03   10000.    
     2 'alpha     '    2.4332       1.0000          .0000       5.0000    
     3 'Normalizat'    .70298       1.0000         .10000E-01   10.000    
     4 'Prefactor '    1.1929       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=   9392.904     FROM MIGRAD    STATUS=CONVERGED     51 CALLS      200 TOTAL
                     EDM=   .70E-08    STRATEGY= 1      ERR MATRIX NOT POS-DEF

  EXT PARAMETER                APPROXIMATE        STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  norm          3.5772        33.868        .53415E-02    .13997E-02
   2  alpha         2.4332        3.4614        .37902        .40488E-04
   3  Normalizat    .70274        .11716        .88901E-01    .22472E-03
   4  Prefactor     1.1930        .70532E-01    .34800E-01   -.37177E-03
                               ERR DEF=  .500    
Final values: 
  norm       = 3.57719
  alpha      = 2.43323
  Normalizat = 0.702743
  Prefactor  = 1.19303
 **********
 **   18 **HESSE 
 **********

 FCN=   9392.904     FROM HESSE     STATUS=OK            31 CALLS      231 TOTAL
                     EDM=   .84E-09    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  norm          3.5772        1.6970        .79407E-04   -1.5330    
   2  alpha         2.4332        .47084        .14956E-01   -.26712E-01
   3  Normalizat    .70274        .21841        .39378E-03   -1.0378    
   4  Prefactor     1.1930        .12354        .17565E-03   -.86546    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 8.37668e-10
Minuit parameter uncertainties:
  1  1.69705
  2  0.473668
  3  0.218682
  4  0.12357
shell-init: error retrieving current directory: getcwd: cannot access parent directories: No such file or directory
rmdir: failed to remove `/scratch/kocevski/209294': 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) = 9392.90443982
delta logL = 0.0149159802295

Extracting fit parameters...

4FGL J2056.2-4714
   Spectrum: LogParabola
291         norm:  3.577e+00  1.697e+00  1.000e-04  1.000e+04 ( 1.000e-11)
292        alpha:  2.433e+00  4.737e-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.193e+00  1.236e-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.027e-01  2.187e-01  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Free Index): 9.24
Ra Dec: 314.072 -47.237
Photon Index (Free Index): 2.43 +/- 0.47
Photon Flux (Free Index): 8.54e-08 +/- 4.31e-08
Energy Flux (Free Index): 2.43e-05 +/- 1.17e-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/209294/cmap_HighResolution_345859201_346118401_4FGL_J2056.2-4714_daily_bin411.png

Cleaning up...

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

Updating database...

UPDATE lightcurve_data_v2 SET comment='SUCCESS', photon_flux='8.17e-08', energy_flux2='2.43e-05', photon_flux_error='3.74e-08', dlogl='1.49e-02', energy_flux='2.50e-05', photon_flux2='8.54e-08', job_status='DONE', time_completed='2021-09-25 21:43:08.831853', photon_index_error2='0.47', photon_index2='2.43', ts='9.23', fit_tolerance='1e-08', GAL='1.19', photon_index_error='0.00', energy_flux_error2='1.17e-05', EG='0.71', time_epoch_completed='1632631388.83', return_code='0', job_id='209294', GAL2='1.19', EG2='0.70', return_code2='0', energy_flux_error='1.14e-05', photon_flux_error2='4.31e-08', ts2='9.24', photon_index='2.35' WHERE bin_id='411' AND source_name='4FGL J2056.2-4714' AND cadence='daily';

Database successfully updated.


Analysis Complete.


Sat Sep 25 21:43:08 PDT 2021


------------------------------------------------------------
Sender: LSF System <lsf@bullet0242>
Subject: Job 209294: <4FGL_J2056.2-4714_daily_bin411> in cluster <slac> Done

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

Your job looked like:

------------------------------------------------------------
# LSBATCH: User input
/nfs/farm/g/glast/g/LCRepository/Likelihood/Scripts/LikelihoodAnalysis.py 4FGL_J2056.2-4714_daily_bin411 314.072 -47.2369 345859201 346118401 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 :                                   717.00 sec.
    Max Memory :                                 1257 MB
    Average Memory :                             379.27 MB
    Total Requested Memory :                     -
    Delta Memory :                               -
    Max Swap :                                   -
    Max Processes :                              7
    Max Threads :                                21
    Run time :                                   736 sec.
    Turnaround time :                            761 sec.

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

