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


Performing analysis on: 4FGL_J2056.2-4714_daily_bin1263
RA = 314.072, Dec = -47.2369
tmin = 566697601, tmax = 566956801
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='213850', job_status='RUN', time_executed='2021-09-25 21:48:48.101260', time_epoch_executed='1632631728.1' WHERE source_name='4FGL J2056.2-4714' and cadence='daily' and bin_id='1263'

Database successfully updated.
Done.

Creating custom output directory:
/scratch/kocevski/213850

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

Retrieving the FT1 file...

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

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

Retrieving 46 files...
Done.


Merging files...

Checksum keywords updated successfully.

Merged file saved to:
/scratch/kocevski/213850/ft1_4FGL_J2056.2-4714_daily_bin1263.fits


Retrieving the FT1 file...

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

Retrieving 46 files...
Done.


Merging files...

Merged file saved to:
/scratch/kocevski/213850/ft2_4FGL_J2056.2-4714_daily_bin1263.fits


Selecting the photons:
time -p gtselect infile=/scratch/kocevski/213850/ft1_4FGL_J2056.2-4714_daily_bin1263.fits outfile=/scratch/kocevski/213850/ft1_filteredMKT_4FGL_J2056.2-4714_daily_bin1263.fits ra=314.072 dec=-47.2369 rad=12.0 tmin=566697601.0 tmax=566956801.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.05
user 1.83
sys 0.17

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

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

Generating the livetime cube:
time -p gtltcube evfile="/scratch/kocevski/213850/ft1_filtered_4FGL_J2056.2-4714_daily_bin1263.fits" evtable="EVENTS" scfile=/scratch/kocevski/213850/ft2_4FGL_J2056.2-4714_daily_bin1263.fits sctable="SC_DATA" outfile=/scratch/kocevski/213850/ltcube_566697601_566956801_4FGL_J2056.2-4714_daily_bin1263.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/213850/ft2_4FGL_J2056.2-4714_daily_bin1263.fits
.....................!
real 16.96
user 16.52
sys 0.37

Generating the exposure map:
time -p gtexpmap evfile=/scratch/kocevski/213850/ft1_filtered_4FGL_J2056.2-4714_daily_bin1263.fits evtable="EVENTS" scfile=/scratch/kocevski/213850/ft2_4FGL_J2056.2-4714_daily_bin1263.fits sctable="SC_DATA" expcube=/scratch/kocevski/213850/ltcube_566697601_566956801_4FGL_J2056.2-4714_daily_bin1263.fits outfile=/scratch/kocevski/213850/expmap_566697601_566956801_4FGL_J2056.2-4714_daily_bin1263.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/213850/ltcube_566697601_566956801_4FGL_J2056.2-4714_daily_bin1263.fits
.....................!
real 193.00
user 187.16
sys 5.19

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/213850/ft1_filtered_4FGL_J2056.2-4714_daily_bin1263.fits scfile=/scratch/kocevski/213850/ft2_4FGL_J2056.2-4714_daily_bin1263.fits outfile=/scratch/kocevski/213850/cmap_566697601_566956801_4FGL_J2056.2-4714_daily_bin1263.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.57
user 0.39
sys 0.16

Creating the high resolution counts map:
time -p gtbin evfile=/scratch/kocevski/213850/ft1_filtered_4FGL_J2056.2-4714_daily_bin1263.fits scfile=/scratch/kocevski/213850/ft2_4FGL_J2056.2-4714_daily_bin1263.fits outfile=/scratch/kocevski/213850/cmap_HighResolution_566697601_566956801_4FGL_J2056.2-4714_daily_bin1263.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.56
user 0.39
sys 0.16

Computing the diffuse response:
time -p gtdiffrsp evfile=/scratch/kocevski/213850/ft1_filtered_4FGL_J2056.2-4714_daily_bin1263.fits evtable="EVENTS" scfile=/scratch/kocevski/213850/ft2_4FGL_J2056.2-4714_daily_bin1263.fits sctable="SC_DATA" srcmdl=/scratch/kocevski/213850/Model_4FGL_J2056.2-4714_daily_bin1263.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/213850/ft1_filtered_4FGL_J2056.2-4714_daily_bin1263.fits......................!
real 31.27
user 29.92
sys 1.17

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

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

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

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'norm      '    .12364E-03   1.0000         .10000E-03   10000.    
     2 'norm      '    .70978E-02   1.0000         .10000E-03   10000.    
     3 'norm      '    .10001E-03   1.0000         .10000E-03   10000.    
     4 'Prefactor '    459.53       1.0000         .10000E-03   10000.    
     5 'norm      '    28.271       1.0000         .10000E-03   10000.    
     6 'norm      '    .10416E-03   1.0000         .10000E-03   10000.    
     7 'Prefactor '    .10124E-03   1.0000         .10000E-03   10000.    
     8 'Prefactor '    .13518E-03   1.0000         .10000E-03   10000.    
     9 'Prefactor '    .50092E-03   1.0000         .10000E-03   10000.    
    10 'Prefactor '    .20163       1.0000         .10000E-03   10000.    
    11 'norm      '    4.2197       1.0000         .10000E-03   10000.    
    12 'Prefactor '    67.318       1.0000         .10000E-03   10000.    
    13 'Prefactor '    .10532E-03   1.0000         .10000E-03   10000.    
    14 'Prefactor '    12.282       1.0000         .10000E-03   10000.    
    15 'Prefactor '    .10052E-03   1.0000         .10000E-03   10000.    
    16 'Prefactor '    .10063E-03   1.0000         .10000E-03   10000.    
    17 'Prefactor '    1.2261       1.0000         .10000E-03   10000.    
    18 'norm      '    13.556       1.0000         .10000E-03   10000.    
    19 'Prefactor '    8.2614       1.0000         .10000E-03   10000.    
    20 'Prefactor '    .10091E-03   1.0000         .10000E-03   10000.    
    21 'Prefactor '    .10060E-03   1.0000         .10000E-03   10000.    
    22 'Normalizat'    1.1067       1.0000         .10000E-01   10.000    
    23 'Prefactor '    .95253       1.0000          .0000       10.000    
 **********
 **   15 **SET ERR    .5000    
 **********
 **********
 **   16 **SET GRAD    1.000    
 **********
 **********
 **   17 **MINIMIZE    .5520E+05   .2000E-04
 **********

 MIGRAD MINIMIZATION HAS CONVERGED.

 FCN=   2947.835     FROM MIGRAD    STATUS=CONVERGED    129 CALLS     2175 TOTAL
                     EDM=   .83E-09  STRATEGY=1  ERROR MATRIX UNCERTAINTY=  3.3%

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  norm          .10197E-03    112.13       -.81274E-05** at limit **
   2  norm          .19636E-02    241.60        .14351E-04** at limit **
   3  norm          .10000E-03    13.102        .32590E-06** at limit **
   4  Prefactor     459.56        4.9023       -.67208E-07   -.64539E-02
   5  norm          28.313        11.709        .66879E-06    .65662E-02
   6  norm          .10003E-03    19.589        .58879E-06** at limit **
   7  Prefactor     .10002E-03    19.664        .59314E-06** at limit **
   8  Prefactor     .10730E-03    136.18        .33783E-06** at limit **
   9  Prefactor     .10054E-03    29.704        .29728E-06** at limit **
  10  Prefactor     .49958E-02    2043.9        .34947E-04    .10390E-02
  11  norm          4.2212        4.0278        .14560E-06    .14900E-03
  12  Prefactor     67.461        18.171       -.10655E-05    .13001E-01
  13  Prefactor     .10001E-03    24.405       -.13612E-06** at limit **
  14  Prefactor     12.288        3.4046        .39360E-07    .35457E-03
  15  Prefactor     .10000E-03    15.541        .25035E-05** at limit **
  16  Prefactor     .10000E-03    13.323       -.20896E-05** at limit **
  17  Prefactor     1.2221        7.3085       -.14459E-05    .20574E-04
  18  norm          13.554        6.6059       -.21502E-06    .38207E-04
  19  Prefactor     8.2600        1.5121        .58581E-07    .59707E-03
  20  Prefactor     .10000E-03    14.708        .19237E-06** at limit **
  21  Prefactor     .10000E-03    4.5424       -.11787E-06** at limit **
  22  Normalizat    1.1070        .37511        .52070E-05    .16268E-03
  23  Prefactor     .95254        .22176       -.21932E-06    .21232E-03
                               ERR DEF=  .500    
Final values: 
  norm       = 0.000101973
  norm       = 0.00196364
  norm       = 0.0001
  Prefactor  = 459.564
  norm       = 28.313
  norm       = 0.000100026
  Prefactor  = 0.000100017
  Prefactor  = 0.000107302
  Prefactor  = 0.000100538
  Prefactor  = 0.00499583
  norm       = 4.22116
  Prefactor  = 67.461
  Prefactor  = 0.000100014
  Prefactor  = 12.2881
  Prefactor  = 0.0001
  Prefactor  = 0.000100002
  Prefactor  = 1.22213
  norm       = 13.5543
  Prefactor  = 8.26001
  Prefactor  = 0.000100001
  Prefactor  = 0.0001
  Normalizat = 1.10697
  Prefactor  = 0.952538
 **********
 **   18 **HESSE 
 **********

 FCN=   2947.835     FROM HESSE     STATUS=OK           422 CALLS     2597 TOTAL
                     EDM=   .45E-05    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  norm          .10197E-03    135.76        .90712E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   2  norm          .19636E-02    899.56        .93386E-02   -1.5717    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   3  norm          .10000E-03    13.106        .90712E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   4  Prefactor     459.56        371.70        .47759E-03   -1.1387    
   5  norm          28.313        23.964        .18837E-02   -1.4643    
   6  norm          .10003E-03    38.820        .90712E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   7  Prefactor     .10002E-03    38.871        .90712E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   8  Prefactor     .10730E-03    150.38        .90712E-02   -1.5707    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   9  Prefactor     .10054E-03    7.2392        .77445E-01   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  10  Prefactor     .49958E-02    92.441        .13288       -1.5694    
  11  norm          4.2212        4.0536        .49042E-02   -1.5297    
  12  Prefactor     67.461        61.883        .12230E-02   -1.4063    
  13  Prefactor     .10001E-03    24.555        .90712E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  14  Prefactor     12.288        11.467        .28576E-02   -1.5007    
  15  Prefactor     .10000E-03    15.557        .90712E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  16  Prefactor     .10000E-03    13.339        .90712E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  17  Prefactor     1.2221        7.5507        .10166E-01   -1.5487    
  18  norm          13.554        6.6738        .27197E-02   -1.4971    
  19  Prefactor     8.2600        13.632        .34870E-02   -1.5133    
  20  Prefactor     .10000E-03    14.705        .90712E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  21  Prefactor     .10000E-03    4.5227        .90712E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  22  Normalizat    1.1070        .34079        .72712E-01   -.89528    
  23  Prefactor     .95254        .19346        .45671E-01   -.94329    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 4.54894e-06
Minuit parameter uncertainties:
  1  0.03281
  2  2.63005
  3  0.00013996
  4  373.677
  5  23.9722
  6  0.00200688
  7  0.00160568
  8  0.0664389
  9  0.00394814
  10  1.34756
  11  4.05389
  12  61.9418
  13  0.0011684
  14  11.469
  15  2.92549e-05
  16  0.000296665
  17  6.07639
  18  6.67417
  19  13.6376
  20  0.00021859
  21  3.8646e-06
  22  0.341468
  23  0.193604
Done.

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

Extracting fit parameters...

4FGL J2056.2-4714
   Spectrum: LogParabola
291         norm:  4.221e+00  4.054e+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:  9.525e-01  1.936e-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.107e+00  3.415e-01  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Fixed Index): 1.96
Ra Dec: 314.072 -47.237
Photon Index (Fixed Index): 2.35 +/- 0.00
Photon Flux (Fixed Index): 9.48e-08 +/- 9.10e-08
Energy Flux (Fixed Index): 2.90e-05 +/- 2.78e-05

TS (Fixed Index): 1.96
Ra Dec: 314.072 -47.237
Photon Flux Upper Limit: 3.19e-07 ph cm-2 s-1
Energy Flux Upper Limit: 9.74e-05 MeV cm-2 s-1

Saving results to:
/scratch/kocevski/213850/likelihoodResults_566697601_566956801_4FGL_J2056.2-4714_daily_bin1263.txt

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) = 2947.80813686
delta logL = 0.0267864392517

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

MINUIT Return Code (Free Index): 0
logL (Free Index) = 2947.80680737
delta logL = 0.0281159306874

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'norm      '    4.0698       1.0000         .10000E-03   10000.    
     2 'alpha     '    2.1166       1.0000          .0000       5.0000    
     3 'Normalizat'    1.1202       1.0000         .10000E-01   10.000    
     4 'Prefactor '    .94778       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=   2947.807     FROM MIGRAD    STATUS=CONVERGED     48 CALLS      199 TOTAL
                     EDM=   .11E-07    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  norm          4.0698        4.2284        .49964E-02    .50004E-02
   2  alpha         2.1160        .82338        .41780       -.13074E-04
   3  Normalizat    1.1199        .31660        .72354E-01    .50058E-05
   4  Prefactor     .94801        .19172        .45611E-01    .29860E-05
                               ERR DEF=  .500    
Final values: 
  norm       = 4.06982
  alpha      = 2.11604
  Normalizat = 1.11993
  Prefactor  = 0.948014
 **********
 **   18 **HESSE 
 **********

 FCN=   2947.807     FROM HESSE     STATUS=OK            31 CALLS      230 TOTAL
                     EDM=   .92E-08    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  norm          4.0698        4.0685        .10187E-03   -1.5304    
   2  alpha         2.1160        .92781        .16535E-01   -.15419    
   3  Normalizat    1.1199        .36589        .32018E-03   -.89114    
   4  Prefactor     .94801        .22148        .20819E-03   -.94483    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 9.22126e-09
Minuit parameter uncertainties:
  1  4.06883
  2  0.951136
  3  0.366721
  4  0.22169
shell-init: error retrieving current directory: getcwd: cannot access parent directories: No such file or directory
rmdir: failed to remove `/scratch/kocevski/213850': 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) = 2947.80680651
delta logL = 0.0281167870335

Extracting fit parameters...

4FGL J2056.2-4714
   Spectrum: LogParabola
291         norm:  4.070e+00  4.069e+00  1.000e-04  1.000e+04 ( 1.000e-11)
292        alpha:  2.116e+00  9.511e-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.480e-01  2.217e-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.120e+00  3.667e-01  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Free Index): 2.01
Ra Dec: 314.072 -47.237
Photon Index (Free Index): 2.12 +/- 0.95
Photon Flux (Free Index): 7.77e-08 +/- 1.00e-07
Energy Flux (Free Index): 3.05e-05 +/- 3.08e-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/213850/cmap_HighResolution_566697601_566956801_4FGL_J2056.2-4714_daily_bin1263.png

Cleaning up...

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

Updating database...

UPDATE lightcurve_data_v2 SET energy_flux_upper_limit='9.74e-05', comment='SUCCESS', photon_flux='9.48e-08', energy_flux2='3.05e-05', photon_flux_error='9.10e-08', dlogl='2.81e-02', energy_flux='2.90e-05', photon_flux2='7.77e-08', job_status='DONE', time_completed='2021-09-25 21:56:22.219588', photon_index_error2='0.95', photon_index2='2.12', ts='1.96', fit_tolerance='1e-08', GAL='0.95', photon_index_error='0.00', photon_flux_upper_limit='3.19e-07', energy_flux_error2='3.08e-05', EG='1.11', time_epoch_completed='1632632182.22', return_code='0', job_id='213850', GAL2='0.95', EG2='1.12', return_code2='0', energy_flux_error='2.78e-05', photon_flux_error2='1.00e-07', ts2='2.01', photon_index='2.35' WHERE bin_id='1263' AND source_name='4FGL J2056.2-4714' AND cadence='daily';

Database successfully updated.


Analysis Complete.


Sat Sep 25 21:56:22 PDT 2021


------------------------------------------------------------
Sender: LSF System <lsf@bullet0085>
Subject: Job 213850: <4FGL_J2056.2-4714_daily_bin1263> in cluster <slac> Done

Job <4FGL_J2056.2-4714_daily_bin1263> was submitted from host <rhel6-64m> by user <kocevski> in cluster <slac> at Sat Sep 25 21:45:43 2021
Job was executed on host(s) <bullet0085>, in queue <medium>, as user <kocevski> in cluster <slac> at Sat Sep 25 21:48:08 2021
</u/ki/kocevski> was used as the home directory.
</u/ki/kocevski> was used as the working directory.
Started at Sat Sep 25 21:48:08 2021
Terminated at Sat Sep 25 21:56:23 2021
Results reported at Sat Sep 25 21:56:23 2021

Your job looked like:

------------------------------------------------------------
# LSBATCH: User input
/nfs/farm/g/glast/g/LCRepository/Likelihood/Scripts/LikelihoodAnalysis.py 4FGL_J2056.2-4714_daily_bin1263 314.072 -47.2369 566697601 566956801 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 :                                   451.41 sec.
    Max Memory :                                 1256 MB
    Average Memory :                             336.00 MB
    Total Requested Memory :                     -
    Delta Memory :                               -
    Max Swap :                                   -
    Max Processes :                              5
    Max Threads :                                21
    Run time :                                   495 sec.
    Turnaround time :                            640 sec.

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

