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


Performing analysis on: 4FGL_J2056.2-4714_daily_bin1560
RA = 314.072, Dec = -47.2369
tmin = 643680001, tmax = 643939201
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='215211', job_status='RUN', time_executed='2021-09-25 21:53:44.353514', time_epoch_executed='1632632024.35' WHERE source_name='4FGL J2056.2-4714' and cadence='daily' and bin_id='1560'

Database successfully updated.
Done.

Creating custom output directory:
/scratch/kocevski/215211

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

Retrieving the FT1 file...

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

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

Retrieving 47 files...
Done.


Merging files...

Checksum keywords updated successfully.

Merged file saved to:
/scratch/kocevski/215211/ft1_4FGL_J2056.2-4714_daily_bin1560.fits


Retrieving the FT1 file...

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

Retrieving 47 files...
Done.


Merging files...

Merged file saved to:
/scratch/kocevski/215211/ft2_4FGL_J2056.2-4714_daily_bin1560.fits


Selecting the photons:
time -p gtselect infile=/scratch/kocevski/215211/ft1_4FGL_J2056.2-4714_daily_bin1560.fits outfile=/scratch/kocevski/215211/ft1_filteredMKT_4FGL_J2056.2-4714_daily_bin1560.fits ra=314.072 dec=-47.2369 rad=12.0 tmin=643680001.0 tmax=643939201.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.76
user 3.28
sys 0.23

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

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

Generating the livetime cube:
time -p gtltcube evfile="/scratch/kocevski/215211/ft1_filtered_4FGL_J2056.2-4714_daily_bin1560.fits" evtable="EVENTS" scfile=/scratch/kocevski/215211/ft2_4FGL_J2056.2-4714_daily_bin1560.fits sctable="SC_DATA" outfile=/scratch/kocevski/215211/ltcube_643680001_643939201_4FGL_J2056.2-4714_daily_bin1560.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/215211/ft2_4FGL_J2056.2-4714_daily_bin1560.fits
.....................!
real 14.97
user 14.48
sys 0.36

Generating the exposure map:
time -p gtexpmap evfile=/scratch/kocevski/215211/ft1_filtered_4FGL_J2056.2-4714_daily_bin1560.fits evtable="EVENTS" scfile=/scratch/kocevski/215211/ft2_4FGL_J2056.2-4714_daily_bin1560.fits sctable="SC_DATA" expcube=/scratch/kocevski/215211/ltcube_643680001_643939201_4FGL_J2056.2-4714_daily_bin1560.fits outfile=/scratch/kocevski/215211/expmap_643680001_643939201_4FGL_J2056.2-4714_daily_bin1560.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/215211/ltcube_643680001_643939201_4FGL_J2056.2-4714_daily_bin1560.fits
.....................!
real 191.06
user 185.28
sys 4.94

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/215211/ft1_filtered_4FGL_J2056.2-4714_daily_bin1560.fits scfile=/scratch/kocevski/215211/ft2_4FGL_J2056.2-4714_daily_bin1560.fits outfile=/scratch/kocevski/215211/cmap_643680001_643939201_4FGL_J2056.2-4714_daily_bin1560.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.37
sys 0.16

Creating the high resolution counts map:
time -p gtbin evfile=/scratch/kocevski/215211/ft1_filtered_4FGL_J2056.2-4714_daily_bin1560.fits scfile=/scratch/kocevski/215211/ft2_4FGL_J2056.2-4714_daily_bin1560.fits outfile=/scratch/kocevski/215211/cmap_HighResolution_643680001_643939201_4FGL_J2056.2-4714_daily_bin1560.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.37
sys 0.18

Computing the diffuse response:
time -p gtdiffrsp evfile=/scratch/kocevski/215211/ft1_filtered_4FGL_J2056.2-4714_daily_bin1560.fits evtable="EVENTS" scfile=/scratch/kocevski/215211/ft2_4FGL_J2056.2-4714_daily_bin1560.fits sctable="SC_DATA" srcmdl=/scratch/kocevski/215211/Model_4FGL_J2056.2-4714_daily_bin1560.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/215211/ft1_filtered_4FGL_J2056.2-4714_daily_bin1560.fits.....................!
real 69.02
user 67.39
sys 1.25

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

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

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

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'norm      '    2.1366       1.0000         .10000E-03   10000.    
     2 'norm      '    .10127E-03   1.0000         .10000E-03   10000.    
     3 'norm      '    .10001E-03   1.0000         .10000E-03   10000.    
     4 'Prefactor '    .10002E-03   1.0000         .10000E-03   10000.    
     5 'norm      '    1.2845       1.0000         .10000E-03   10000.    
     6 'norm      '    8.1636       1.0000         .10000E-03   10000.    
     7 'Prefactor '    .10317E-03   1.0000         .10000E-03   10000.    
     8 'Prefactor '    .10002E-03   1.0000         .10000E-03   10000.    
     9 'Prefactor '    3.9213       1.0000         .10000E-03   10000.    
    10 'Prefactor '    .99815E-02   1.0000         .10000E-03   10000.    
    11 'norm      '    3.9745       1.0000         .10000E-03   10000.    
    12 'Prefactor '    10.101       1.0000         .10000E-03   10000.    
    13 'Prefactor '    .10000E-03   1.0000         .10000E-03   10000.    
    14 'Prefactor '    .10004E-03   1.0000         .10000E-03   10000.    
    15 'Prefactor '    .10001E-03   1.0000         .10000E-03   10000.    
    16 'Prefactor '    3.9129       1.0000         .10000E-03   10000.    
    17 'Prefactor '    7.2151       1.0000         .10000E-03   10000.    
    18 'norm      '    8.4060       1.0000         .10000E-03   10000.    
    19 'Prefactor '    .10001E-03   1.0000         .10000E-03   10000.    
    20 'Prefactor '    15.404       1.0000         .10000E-03   10000.    
    21 'Prefactor '    .10004E-03   1.0000         .10000E-03   10000.    
    22 'Normalizat'    .98883       1.0000         .10000E-01   10.000    
    23 'Prefactor '    1.0538       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=   9199.822     FROM MIGRAD    STATUS=CONVERGED    525 CALLS     2190 TOTAL
                     EDM=   .17E-07    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  norm          2.1370        4.5716        .70502E-02    .89862E-03
   2  norm          .10000E-03    14.586        .90712E-02** at limit **
   3  norm          .10000E-03    .43600        .90712E-02** at limit **
   4  Prefactor     .10005E-03    21.051        .90712E-02** at limit **
   5  norm          1.2845        1.2528        .97821E-02   -.48027E-03
   6  norm          8.1761        16.677        .35080E-02    .18514E-02
   7  Prefactor     .10000E-03    32.451        .90712E-02** at limit **
   8  Prefactor     .10004E-03    22.425        .90712E-02** at limit **
   9  Prefactor     3.9207        2.2325        .50932E-02    .25848E-03
  10  Prefactor     .10003E-03    11.155        .10891    ** at limit **
  11  norm          3.9743        1.7198        .50579E-02    .31697E-03
  12  Prefactor     10.077        27.139        .31520E-02   -.11188E-03
  13  Prefactor     .10000E-03    12.703        .90712E-02** at limit **
  14  Prefactor     .10000E-03    3.5749        .90712E-02** at limit **
  15  Prefactor     .10000E-03    10.938        .90712E-02** at limit **
  16  Prefactor     3.9106        22.258        .50989E-02   -.84200E-04
  17  Prefactor     7.2147        3.6298        .37333E-02    .12024E-03
  18  norm          8.4050        4.1429        .34567E-02    .26377E-03
  19  Prefactor     .10000E-03    4.4706        .90712E-02** at limit **
  20  Prefactor     15.403        18.140        .25512E-02   -.86707E-04
  21  Prefactor     .10000E-03    13.983        .90712E-02** at limit **
  22  Normalizat    .98879        .18802        .74675E-01    .28163E-04
  23  Prefactor     1.0538        .10210        .39692E-01   -.16709E-04
                               ERR DEF=  .500    
Final values: 
  norm       = 2.13703
  norm       = 0.0001
  norm       = 0.0001
  Prefactor  = 0.000100045
  norm       = 1.28452
  norm       = 8.17612
  Prefactor  = 0.0001
  Prefactor  = 0.000100038
  Prefactor  = 3.9207
  Prefactor  = 0.000100028
  norm       = 3.97433
  Prefactor  = 10.0766
  Prefactor  = 0.000100002
  Prefactor  = 0.0001
  Prefactor  = 0.0001
  Prefactor  = 3.91061
  Prefactor  = 7.21469
  norm       = 8.40505
  Prefactor  = 0.0001
  Prefactor  = 15.4026
  Prefactor  = 0.000100005
  Normalizat = 0.988792
  Prefactor  = 1.0538
 **********
 **   18 **HESSE 
 **********

 FCN=   9199.822     FROM HESSE     STATUS=OK           374 CALLS     2564 TOTAL
                     EDM=   .16E-07    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  norm          2.1370        4.5458        .28201E-03   -1.5416    
   2  norm          .10000E-03    14.734        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   3  norm          .10000E-03    .44146        .61836E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   4  Prefactor     .10005E-03    21.067        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   5  norm          1.2845        1.2813        .10341E-03   -1.5481    
   6  norm          8.1761        16.685        .14032E-03   -1.5136    
   7  Prefactor     .10000E-03    32.764        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   8  Prefactor     .10004E-03    22.437        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   9  Prefactor     3.9207        2.2301        .10418E-03   -1.5312    
  10  Prefactor     .10003E-03    14.085        .92594E-01   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  11  norm          3.9743        1.7185        .79192E-04   -1.5309    
  12  Prefactor     10.077        27.143        .12608E-03   -1.5073    
  13  Prefactor     .10000E-03    12.708        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  14  Prefactor     .10000E-03    3.6145        .17703E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  15  Prefactor     .10000E-03    10.967        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  16  Prefactor     3.9106        22.276        .20396E-03   -1.5312    
  17  Prefactor     7.2147        3.6358        .12464E-03   -1.5171    
  18  norm          8.4050        4.1470        .13230E-03   -1.5128    
  19  Prefactor     .10000E-03    4.4959        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  20  Prefactor     15.403        18.150        .51024E-03   -1.4923    
  21  Prefactor     .10000E-03    14.404        .36285E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  22  Normalizat    .98879        .21992        .33044E-03   -.93407    
  23  Prefactor     1.0538        .11984        .17951E-03   -.90957    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 1.59462e-08
Minuit parameter uncertainties:
  1  4.54649
  2  2.62992e-05
  3  1.40928e-06
  4  0.00195067
  5  1.28129
  6  16.6946
  7  6.33132e-05
  8  0.00185397
  9  2.23019
  10  0.00125305
  11  1.71849
  12  27.1763
  13  0.000308111
  14  6.56464e-07
  15  4.15854e-05
  16  18.677
  17  3.63587
  18  4.14715
  19  4.35937e-06
  20  18.1565
  21  0.000510969
  22  0.220117
  23  0.119866
Done.

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

Extracting fit parameters...

4FGL J2056.2-4714
   Spectrum: LogParabola
291         norm:  3.974e+00  1.718e+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.054e+00  1.199e-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.888e-01  2.201e-01  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Fixed Index): 10.25
Ra Dec: 314.072 -47.237
Photon Index (Fixed Index): 2.35 +/- 0.00
Photon Flux (Fixed Index): 8.92e-08 +/- 3.86e-08
Energy Flux (Fixed Index): 2.73e-05 +/- 1.18e-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) = 9199.81114989
delta logL = 0.0106634889707

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

MINUIT Return Code (Free Index): 0
logL (Free Index) = 9199.81023555
delta logL = 0.0115778310501

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'norm      '    3.9186       1.0000         .10000E-03   10000.    
     2 'alpha     '    2.4211       1.0000          .0000       5.0000    
     3 'Normalizat'    .98409       1.0000         .10000E-01   10.000    
     4 'Prefactor '    1.0555       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=   9199.810     FROM MIGRAD    STATUS=CONVERGED     83 CALLS      237 TOTAL
                     EDM=   .70E-09    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  norm          3.9186        1.7524        .77995E-04    .22220E-02
   2  alpha         2.4211        .45304        .14396E-01    .12515E-03
   3  Normalizat    .98409        .21334        .33112E-03    .23903E-03
   4  Prefactor     1.0555        .11866        .17938E-03    .10726E-03
                               ERR DEF=  .500    
Final values: 
  norm       = 3.9186
  alpha      = 2.42111
  Normalizat = 0.984094
  Prefactor  = 1.0555
 **********
 **   18 **HESSE 
 **********

 FCN=   9199.810     FROM HESSE     STATUS=OK            23 CALLS      260 TOTAL
                     EDM=   .70E-09    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  norm          3.9186        1.7376        .31198E-05   -1.5312    
   2  alpha         2.4211        .44910        .57583E-03   -.31560E-01
   3  Normalizat    .98409        .21350        .13245E-04   -.93565    
   4  Prefactor     1.0555        .11873        .35877E-04   -.90902    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 6.97865e-10
Minuit parameter uncertainties:
  1  1.73765
  2  0.451558
  3  0.213688
  4  0.11876
shell-init: error retrieving current directory: getcwd: cannot access parent directories: No such file or directory
rmdir: failed to remove `/scratch/kocevski/215211': 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) = 9199.81023555
delta logL = 0.0115778323106

Extracting fit parameters...

4FGL J2056.2-4714
   Spectrum: LogParabola
291         norm:  3.919e+00  1.738e+00  1.000e-04  1.000e+04 ( 1.000e-11)
292        alpha:  2.421e+00  4.516e-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.055e+00  1.188e-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.841e-01  2.137e-01  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Free Index): 10.26
Ra Dec: 314.072 -47.237
Photon Index (Free Index): 2.42 +/- 0.45
Photon Flux (Free Index): 9.27e-08 +/- 4.54e-08
Energy Flux (Free Index): 2.67e-05 +/- 1.20e-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/215211/cmap_HighResolution_643680001_643939201_4FGL_J2056.2-4714_daily_bin1560.png

Cleaning up...

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

Updating database...

UPDATE lightcurve_data_v2 SET comment='SUCCESS', photon_flux='8.92e-08', energy_flux2='2.67e-05', photon_flux_error='3.86e-08', dlogl='1.16e-02', energy_flux='2.73e-05', photon_flux2='9.27e-08', job_status='DONE', time_completed='2021-09-25 22:04:55.831250', photon_index_error2='0.45', photon_index2='2.42', ts='10.25', fit_tolerance='1e-08', GAL='1.05', photon_index_error='0.00', energy_flux_error2='1.20e-05', EG='0.99', time_epoch_completed='1632632695.83', return_code='0', job_id='215211', GAL2='1.06', EG2='0.98', return_code2='0', energy_flux_error='1.18e-05', photon_flux_error2='4.54e-08', ts2='10.26', photon_index='2.35' WHERE bin_id='1560' AND source_name='4FGL J2056.2-4714' AND cadence='daily';

Database successfully updated.


Analysis Complete.


Sat Sep 25 22:04:55 PDT 2021


------------------------------------------------------------
Sender: LSF System <lsf@bullet0258>
Subject: Job 215211: <4FGL_J2056.2-4714_daily_bin1560> in cluster <slac> Done

Job <4FGL_J2056.2-4714_daily_bin1560> was submitted from host <rhel6-64j> by user <kocevski> in cluster <slac> at Sat Sep 25 21:50:20 2021
Job was executed on host(s) <bullet0258>, in queue <medium>, as user <kocevski> in cluster <slac> at Sat Sep 25 21:53:07 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:53:07 2021
Terminated at Sat Sep 25 22:04:56 2021
Results reported at Sat Sep 25 22:04:56 2021

Your job looked like:

------------------------------------------------------------
# LSBATCH: User input
/nfs/farm/g/glast/g/LCRepository/Likelihood/Scripts/LikelihoodAnalysis.py 4FGL_J2056.2-4714_daily_bin1560 314.072 -47.2369 643680001 643939201 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 :                                   668.00 sec.
    Max Memory :                                 1257 MB
    Average Memory :                             347.17 MB
    Total Requested Memory :                     -
    Delta Memory :                               -
    Max Swap :                                   -
    Max Processes :                              5
    Max Threads :                                21
    Run time :                                   709 sec.
    Turnaround time :                            876 sec.

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

