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


Performing analysis on: 4FGL_J2056.2-4714_daily_bin1170
RA = 314.072, Dec = -47.2369
tmin = 542592001, tmax = 542851201
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='213705', job_status='RUN', time_executed='2021-09-25 21:48:34.499352', time_epoch_executed='1632631714.5' WHERE source_name='4FGL J2056.2-4714' and cadence='daily' and bin_id='1170'

Database successfully updated.
Done.

Creating custom output directory:
/scratch/kocevski/213705

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

Retrieving the FT1 file...

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

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

Retrieving 46 files...
Done.


Merging files...

Checksum keywords updated successfully.

Merged file saved to:
/scratch/kocevski/213705/ft1_4FGL_J2056.2-4714_daily_bin1170.fits


Retrieving the FT1 file...

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

Retrieving 46 files...
Done.


Merging files...

Merged file saved to:
/scratch/kocevski/213705/ft2_4FGL_J2056.2-4714_daily_bin1170.fits


Selecting the photons:
time -p gtselect infile=/scratch/kocevski/213705/ft1_4FGL_J2056.2-4714_daily_bin1170.fits outfile=/scratch/kocevski/213705/ft1_filteredMKT_4FGL_J2056.2-4714_daily_bin1170.fits ra=314.072 dec=-47.2369 rad=12.0 tmin=542592001.0 tmax=542851201.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 6.74
user 6.40
sys 0.33

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

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

Generating the livetime cube:
time -p gtltcube evfile="/scratch/kocevski/213705/ft1_filtered_4FGL_J2056.2-4714_daily_bin1170.fits" evtable="EVENTS" scfile=/scratch/kocevski/213705/ft2_4FGL_J2056.2-4714_daily_bin1170.fits sctable="SC_DATA" outfile=/scratch/kocevski/213705/ltcube_542592001_542851201_4FGL_J2056.2-4714_daily_bin1170.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/213705/ft2_4FGL_J2056.2-4714_daily_bin1170.fits
.....................!
real 13.59
user 13.19
sys 0.36

Generating the exposure map:
time -p gtexpmap evfile=/scratch/kocevski/213705/ft1_filtered_4FGL_J2056.2-4714_daily_bin1170.fits evtable="EVENTS" scfile=/scratch/kocevski/213705/ft2_4FGL_J2056.2-4714_daily_bin1170.fits sctable="SC_DATA" expcube=/scratch/kocevski/213705/ltcube_542592001_542851201_4FGL_J2056.2-4714_daily_bin1170.fits outfile=/scratch/kocevski/213705/expmap_542592001_542851201_4FGL_J2056.2-4714_daily_bin1170.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/213705/ltcube_542592001_542851201_4FGL_J2056.2-4714_daily_bin1170.fits
.....................!
real 190.80
user 184.83
sys 5.60

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/213705/ft1_filtered_4FGL_J2056.2-4714_daily_bin1170.fits scfile=/scratch/kocevski/213705/ft2_4FGL_J2056.2-4714_daily_bin1170.fits outfile=/scratch/kocevski/213705/cmap_542592001_542851201_4FGL_J2056.2-4714_daily_bin1170.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.54
user 0.36
sys 0.17

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

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

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

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

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

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'norm      '    .10010E-03   1.0000         .10000E-03   10000.    
     2 'norm      '    .11492E-03   1.0000         .10000E-03   10000.    
     3 'norm      '    3.8559       1.0000         .10000E-03   10000.    
     4 'Prefactor '    .20790E-01   1.0000         .10000E-03   10000.    
     5 'norm      '    .74646       1.0000         .10000E-03   10000.    
     6 'norm      '    10.228       1.0000         .10000E-03   10000.    
     7 'Prefactor '    .10008E-03   1.0000         .10000E-03   10000.    
     8 'Prefactor '    37.223       1.0000         .10000E-03   10000.    
     9 'Prefactor '    10.864       1.0000         .10000E-03   10000.    
    10 'Prefactor '    .10045E-03   1.0000         .10000E-03   10000.    
    11 'norm      '    11.177       1.0000         .10000E-03   10000.    
    12 'Prefactor '    6.2121       1.0000         .10000E-03   10000.    
    13 'Prefactor '    .10022E-03   1.0000         .10000E-03   10000.    
    14 'Prefactor '    .10694E-03   1.0000         .10000E-03   10000.    
    15 'Prefactor '    38.809       1.0000         .10000E-03   10000.    
    16 'Prefactor '    .10006E-03   1.0000         .10000E-03   10000.    
    17 'Prefactor '    .10049E-03   1.0000         .10000E-03   10000.    
    18 'norm      '    30.603       1.0000         .10000E-03   10000.    
    19 'Prefactor '    20.775       1.0000         .10000E-03   10000.    
    20 'Prefactor '    31.702       1.0000         .10000E-03   10000.    
    21 'Prefactor '    .10901E-03   1.0000         .10000E-03   10000.    
    22 'Normalizat'    1.1603       1.0000         .10000E-01   10.000    
    23 'Prefactor '    .89721       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=   7695.433     FROM MIGRAD    STATUS=CONVERGED    911 CALLS     2913 TOTAL
                     EDM=   .15E-08    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  norm          .10000E-03    2.2915        .12960E-02** at limit **
   2  norm          .10000E-03    40.280        .36285E-03** at limit **
   3  norm          3.8561        1.8114        .78467E-04   -.26471E-03
   4  Prefactor     .10000E-03    64.225        .20023    ** at limit **
   5  norm          .74705        2.5193        .24784E-03   -.47513E-03
   6  norm          10.232        13.656        .12529E-03   -.61975E-04
   7  Prefactor     .10000E-03    21.554        .18142E-02** at limit **
   8  Prefactor     37.213        49.716        .65691E-04   -.17722E-04
   9  Prefactor     10.863        3.5937        .91190E-04   -.18576E-03
  10  Prefactor     .10000E-03    11.229        .18142E-02** at limit **
  11  norm          11.176        2.6544        .66311E-04   -.29214E-03
  12  Prefactor     6.2132        15.361        .16106E-03   -.17011E-04
  13  Prefactor     .10000E-03    18.380        .18142E-02** at limit **
  14  Prefactor     .10000E-03    5.0766        .18142E-02** at limit **
  15  Prefactor     38.853        36.136        .64339E-04   -.25703E-03
  16  Prefactor     .10000E-03    15.209        .18142E-02** at limit **
  17  Prefactor     .10000E-03    2.0337        .12101E-02** at limit **
  18  norm          30.598        8.0399        .72427E-04    .72990E-04
  19  Prefactor     20.773        10.750        .87876E-04    .20699E-04
  20  Prefactor     31.738        42.487        .71164E-04   -.86235E-04
  21  Prefactor     .10000E-03    5.6305        .18142E-02** at limit **
  22  Normalizat    1.1608        .26154        .32648E-03   -.42752E-03
  23  Prefactor     .89689        .13560        .19775E-03   -.92455E-03
                               ERR DEF=  .500    
Final values: 
  norm       = 0.0001
  norm       = 0.000100002
  norm       = 3.85609
  Prefactor  = 0.000100004
  norm       = 0.747051
  norm       = 10.2325
  Prefactor  = 0.0001
  Prefactor  = 37.2128
  Prefactor  = 10.8634
  Prefactor  = 0.0001
  norm       = 11.1763
  Prefactor  = 6.21324
  Prefactor  = 0.0001
  Prefactor  = 0.000100002
  Prefactor  = 38.8533
  Prefactor  = 0.0001
  Prefactor  = 0.0001
  norm       = 30.5985
  Prefactor  = 20.7732
  Prefactor  = 31.7379
  Prefactor  = 0.000100001
  Normalizat = 1.16083
  Prefactor  = 0.896893
 **********
 **   18 **HESSE 
 **********

 FCN=   7695.433     FROM HESSE     STATUS=OK           356 CALLS     3269 TOTAL
                     EDM=   .15E-08    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  norm          .10000E-03    2.2916        .25920E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   2  norm          .10000E-03    40.283        .72569E-04   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   3  norm          3.8561        1.8114        .31387E-05   -1.5315    
   4  Prefactor     .10000E-03    68.119        .19257       -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   5  norm          .74705        2.5191        .99137E-05   -1.5535    
   6  norm          10.232        13.655        .50116E-05   -1.5068    
   7  Prefactor     .10000E-03    21.557        .36285E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   8  Prefactor     37.213        49.716        .13138E-04   -1.4487    
   9  Prefactor     10.863        3.5938        .36476E-05   -1.5049    
  10  Prefactor     .10000E-03    11.232        .36285E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  11  norm          11.176        2.6545        .26524E-05   -1.5039    
  12  Prefactor     6.2132        15.361        .64426E-05   -1.5209    
  13  Prefactor     .10000E-03    18.380        .36285E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  14  Prefactor     .10000E-03    5.0798        .36285E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  15  Prefactor     38.853        36.136        .12868E-04   -1.4461    
  16  Prefactor     .10000E-03    15.214        .36285E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  17  Prefactor     .10000E-03    2.0344        .24202E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  18  norm          30.598        8.0402        .28971E-05   -1.4601    
  19  Prefactor     20.773        10.750        .35151E-05   -1.4796    
  20  Prefactor     31.738        42.490        .14233E-04   -1.4581    
  21  Prefactor     .10000E-03    5.6326        .36285E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  22  Normalizat    1.1608        .26175        .65296E-04   -.87822    
  23  Prefactor     .89689        .13571        .39549E-04   -.96250    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 1.51085e-09
Minuit parameter uncertainties:
  1  5.49019e-07
  2  0.000505799
  3  1.81147
  4  0.00108285
  5  2.51948
  6  13.6596
  7  3.68931e-05
  8  49.7719
  9  3.59384
  10  4.84131e-05
  11  2.65448
  12  15.3703
  13  9.10976e-06
  14  0.000212125
  15  36.1562
  16  7.44119e-05
  17  4.09774e-05
  18  8.04044
  19  10.7514
  20  42.5302
  21  0.000116943
  22  0.262049
  23  0.135766
Done.

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

Extracting fit parameters...

4FGL J2056.2-4714
   Spectrum: LogParabola
291         norm:  1.118e+01  2.654e+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.969e-01  1.358e-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.161e+00  2.620e-01  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Fixed Index): 46.54
Ra Dec: 314.072 -47.237
Photon Index (Fixed Index): 2.35 +/- 0.00
Photon Flux (Fixed Index): 2.51e-07 +/- 5.96e-08
Energy Flux (Fixed Index): 7.67e-05 +/- 1.82e-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) = 7695.42810849
delta logL = 0.00484472980679

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

MINUIT Return Code (Free Index): 0
logL (Free Index) = 7695.42733483
delta logL = 0.00561839193961

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'norm      '    11.092       1.0000         .10000E-03   10000.    
     2 'alpha     '    2.3819       1.0000          .0000       5.0000    
     3 'Normalizat'    1.1561       1.0000         .10000E-01   10.000    
     4 'Prefactor '    .89861       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=   7695.427     FROM MIGRAD    STATUS=CONVERGED     45 CALLS      195 TOTAL
                     EDM=   .54E-10    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  norm          11.092        4.1777        .30073E-02    .23591E-03
   2  alpha         2.3819        .40325        .19675       -.28864E-04
   3  Normalizat    1.1561        .21090        .73892E-01   -.32454E-04
   4  Prefactor     .89861        .11296        .44987E-01   -.51027E-04
                               ERR DEF=  .500    
Final values: 
  norm       = 11.0925
  alpha      = 2.38194
  Normalizat = 1.15611
  Prefactor  = 0.898608
 **********
 **   18 **HESSE 
 **********

 FCN=   7695.427     FROM HESSE     STATUS=OK            33 CALLS      228 TOTAL
                     EDM=   .36E-10    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  norm          11.092        2.7664        .65800E-04   -1.5042    
   2  alpha         2.3819        .27581        .84398E-02   -.47240E-01
   3  Normalizat    1.1561        .24827        .32701E-03   -.87970    
   4  Prefactor     .89861        .13259        .19758E-03   -.96190    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 3.57209e-11
Minuit parameter uncertainties:
  1  2.76639
  2  0.276371
  3  0.248523
  4  0.132641
shell-init: error retrieving current directory: getcwd: cannot access parent directories: No such file or directory
rmdir: failed to remove `/scratch/kocevski/213705': 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) = 7695.42733483
delta logL = 0.00561839240436

Extracting fit parameters...

4FGL J2056.2-4714
   Spectrum: LogParabola
291         norm:  1.109e+01  2.766e+00  1.000e-04  1.000e+04 ( 1.000e-11)
292        alpha:  2.382e+00  2.764e-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:  8.986e-01  1.326e-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.156e+00  2.485e-01  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Free Index): 46.20
Ra Dec: 314.072 -47.237
Photon Index (Free Index): 2.38 +/- 0.28
Photon Flux (Free Index): 2.55e-07 +/- 6.85e-08
Energy Flux (Free Index): 7.58e-05 +/- 1.98e-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/213705/cmap_HighResolution_542592001_542851201_4FGL_J2056.2-4714_daily_bin1170.png

Cleaning up...

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

Updating database...

UPDATE lightcurve_data_v2 SET comment='SUCCESS', photon_flux='2.51e-07', energy_flux2='7.58e-05', photon_flux_error='5.96e-08', dlogl='5.62e-03', energy_flux='7.67e-05', photon_flux2='2.55e-07', job_status='DONE', time_completed='2021-09-25 22:00:10.461102', photon_index_error2='0.28', photon_index2='2.38', ts='46.54', fit_tolerance='1e-08', GAL='0.90', photon_index_error='0.00', energy_flux_error2='1.98e-05', EG='1.16', time_epoch_completed='1632632410.46', return_code='0', job_id='213705', GAL2='0.90', EG2='1.16', return_code2='0', energy_flux_error='1.82e-05', photon_flux_error2='6.85e-08', ts2='46.20', photon_index='2.35' WHERE bin_id='1170' AND source_name='4FGL J2056.2-4714' AND cadence='daily';

Database successfully updated.


Analysis Complete.


Sat Sep 25 22:00:10 PDT 2021


------------------------------------------------------------
Sender: LSF System <lsf@bullet0042>
Subject: Job 213705: <4FGL_J2056.2-4714_daily_bin1170> in cluster <slac> Done

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

Your job looked like:

------------------------------------------------------------
# LSBATCH: User input
/nfs/farm/g/glast/g/LCRepository/Likelihood/Scripts/LikelihoodAnalysis.py 4FGL_J2056.2-4714_daily_bin1170 314.072 -47.2369 542592001 542851201 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 :                                   691.00 sec.
    Max Memory :                                 1256 MB
    Average Memory :                             245.90 MB
    Total Requested Memory :                     -
    Delta Memory :                               -
    Max Swap :                                   -
    Max Processes :                              5
    Max Threads :                                21
    Run time :                                   836 sec.
    Turnaround time :                            881 sec.

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

