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


Performing analysis on: 4FGL_J2056.2-4714_daily_bin1584
RA = 314.072, Dec = -47.2369
tmin = 649900801, tmax = 650160001
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='215246', job_status='RUN', time_executed='2021-09-25 21:53:39.367789', time_epoch_executed='1632632019.37' WHERE source_name='4FGL J2056.2-4714' and cadence='daily' and bin_id='1584'

Database successfully updated.
Done.

Creating custom output directory:
/scratch/kocevski/215246

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

Retrieving the FT1 file...

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

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

Retrieving 47 files...
Done.


Merging files...

Checksum keywords updated successfully.

Merged file saved to:
/scratch/kocevski/215246/ft1_4FGL_J2056.2-4714_daily_bin1584.fits


Retrieving the FT1 file...

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

Retrieving 47 files...
Done.


Merging files...

Merged file saved to:
/scratch/kocevski/215246/ft2_4FGL_J2056.2-4714_daily_bin1584.fits


Selecting the photons:
time -p gtselect infile=/scratch/kocevski/215246/ft1_4FGL_J2056.2-4714_daily_bin1584.fits outfile=/scratch/kocevski/215246/ft1_filteredMKT_4FGL_J2056.2-4714_daily_bin1584.fits ra=314.072 dec=-47.2369 rad=12.0 tmin=649900801.0 tmax=650160001.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 5.07
user 4.80
sys 0.24

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

Selecting the good time intervals:
time -p gtmktime scfile=/scratch/kocevski/215246/ft2_4FGL_J2056.2-4714_daily_bin1584.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/215246/ft1_filteredMKT_4FGL_J2056.2-4714_daily_bin1584.fits evtable="EVENTS" outfile="/scratch/kocevski/215246/ft1_filtered_4FGL_J2056.2-4714_daily_bin1584.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/215246/ft1_filtered_4FGL_J2056.2-4714_daily_bin1584.fits" evtable="EVENTS" scfile=/scratch/kocevski/215246/ft2_4FGL_J2056.2-4714_daily_bin1584.fits sctable="SC_DATA" outfile=/scratch/kocevski/215246/ltcube_649900801_650160001_4FGL_J2056.2-4714_daily_bin1584.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/215246/ft2_4FGL_J2056.2-4714_daily_bin1584.fits
.....................!
real 12.43
user 12.06
sys 0.34

Generating the exposure map:
time -p gtexpmap evfile=/scratch/kocevski/215246/ft1_filtered_4FGL_J2056.2-4714_daily_bin1584.fits evtable="EVENTS" scfile=/scratch/kocevski/215246/ft2_4FGL_J2056.2-4714_daily_bin1584.fits sctable="SC_DATA" expcube=/scratch/kocevski/215246/ltcube_649900801_650160001_4FGL_J2056.2-4714_daily_bin1584.fits outfile=/scratch/kocevski/215246/expmap_649900801_650160001_4FGL_J2056.2-4714_daily_bin1584.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/215246/ltcube_649900801_650160001_4FGL_J2056.2-4714_daily_bin1584.fits
.....................!
real 192.35
user 186.79
sys 5.21

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/215246/ft1_filtered_4FGL_J2056.2-4714_daily_bin1584.fits scfile=/scratch/kocevski/215246/ft2_4FGL_J2056.2-4714_daily_bin1584.fits outfile=/scratch/kocevski/215246/cmap_649900801_650160001_4FGL_J2056.2-4714_daily_bin1584.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.58
user 0.37
sys 0.16

Creating the high resolution counts map:
time -p gtbin evfile=/scratch/kocevski/215246/ft1_filtered_4FGL_J2056.2-4714_daily_bin1584.fits scfile=/scratch/kocevski/215246/ft2_4FGL_J2056.2-4714_daily_bin1584.fits outfile=/scratch/kocevski/215246/cmap_HighResolution_649900801_650160001_4FGL_J2056.2-4714_daily_bin1584.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.60
user 0.37
sys 0.17

Computing the diffuse response:
time -p gtdiffrsp evfile=/scratch/kocevski/215246/ft1_filtered_4FGL_J2056.2-4714_daily_bin1584.fits evtable="EVENTS" scfile=/scratch/kocevski/215246/ft2_4FGL_J2056.2-4714_daily_bin1584.fits sctable="SC_DATA" srcmdl=/scratch/kocevski/215246/Model_4FGL_J2056.2-4714_daily_bin1584.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/215246/ft1_filtered_4FGL_J2056.2-4714_daily_bin1584.fits.....................!
real 65.31
user 63.85
sys 1.21

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

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

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

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'norm      '    .10007E-03   1.0000         .10000E-03   10000.    
     2 'norm      '    .10007E-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.5644       1.0000         .10000E-03   10000.    
     6 'norm      '    15.514       1.0000         .10000E-03   10000.    
     7 'Prefactor '    .10000E-03   1.0000         .10000E-03   10000.    
     8 'Prefactor '    .10006E-03   1.0000         .10000E-03   10000.    
     9 'Prefactor '    .10115E-03   1.0000         .10000E-03   10000.    
    10 'Prefactor '    .10002E-03   1.0000         .10000E-03   10000.    
    11 'norm      '    4.3402       1.0000         .10000E-03   10000.    
    12 'Prefactor '    28.332       1.0000         .10000E-03   10000.    
    13 'Prefactor '    .10231E-03   1.0000         .10000E-03   10000.    
    14 'Prefactor '    13.888       1.0000         .10000E-03   10000.    
    15 'Prefactor '    15.948       1.0000         .10000E-03   10000.    
    16 'Prefactor '    20.874       1.0000         .10000E-03   10000.    
    17 'Prefactor '    .81564       1.0000         .10000E-03   10000.    
    18 'norm      '    1.4478       1.0000         .10000E-03   10000.    
    19 'Prefactor '    2.6348       1.0000         .10000E-03   10000.    
    20 'Prefactor '    63.080       1.0000         .10000E-03   10000.    
    21 'Prefactor '    .10601E-03   1.0000         .10000E-03   10000.    
    22 'Normalizat'    .84629       1.0000         .10000E-01   10.000    
    23 'Prefactor '    1.0656       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=   8470.741     FROM MIGRAD    STATUS=CONVERGED    516 CALLS     2592 TOTAL
                     EDM=   .10E-08  STRATEGY=1  ERROR MATRIX UNCERTAINTY=  2.1%

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  norm          .10000E-03    3.0524        .54992E-07** at limit **
   2  norm          .10000E-03    6.0403       -.73041E-08** at limit **
   3  norm          .10000E-03    .62484        .79326E-07** at limit **
   4  Prefactor     .10001E-03    57.037        .24213E-05** at limit **
   5  norm          1.5636        3.0693        .99421E-06    .25335E-03
   6  norm          15.512        14.947        .14567E-06    .79487E-05
   7  Prefactor     .10000E-03    7.3011        .57995E-07** at limit **
   8  Prefactor     .10000E-03    22.495       -.39169E-08** at limit **
   9  Prefactor     .10000E-03    .88687        .17506E-06** at limit **
  10  Prefactor     .10000E-03    5.4709        .69792E-07** at limit **
  11  norm          4.3400        1.9124        .14377E-07   -.73152E-04
  12  Prefactor     28.329        24.839        .11104E-06   -.21440E-04
  13  Prefactor     .10000E-03    69.394       -.15946E-05** at limit **
  14  Prefactor     13.887        9.1144       -.23526E-06   -.51547E-04
  15  Prefactor     15.946        23.852        .43402E-08   -.12571E-04
  16  Prefactor     20.877        25.580       -.71173E-06   -.13913E-04
  17  Prefactor     .81502        4.2544        .38869E-05    .47150E-03
  18  norm          1.4479        1.9462        .40616E-08   -.73590E-05
  19  Prefactor     2.6334        8.4469        .10142E-05    .52746E-04
  20  Prefactor     63.054        42.732        .55550E-06    .13991E-03
  21  Prefactor     .10137E-03    7.7561       -.28609E-05** at limit **
  22  Normalizat    .84634        .20494        .53927E-06    .38596E-04
  23  Prefactor     1.0656        .10492       -.76779E-06    .43716E-05
                               ERR DEF=  .500    
Final values: 
  norm       = 0.0001
  norm       = 0.0001
  norm       = 0.0001
  Prefactor  = 0.000100007
  norm       = 1.5636
  norm       = 15.5119
  Prefactor  = 0.0001
  Prefactor  = 0.0001
  Prefactor  = 0.0001
  Prefactor  = 0.0001
  norm       = 4.34
  Prefactor  = 28.329
  Prefactor  = 0.000100005
  Prefactor  = 13.8867
  Prefactor  = 15.946
  Prefactor  = 20.8772
  Prefactor  = 0.815021
  norm       = 1.44788
  Prefactor  = 2.63345
  Prefactor  = 63.0542
  Prefactor  = 0.000101367
  Normalizat = 0.846344
  Prefactor  = 1.06562
 **********
 **   18 **HESSE 
 **********

 FCN=   8470.741     FROM HESSE     STATUS=OK           378 CALLS     2970 TOTAL
                     EDM=   .20E-07    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  norm          .10000E-03    3.0729        .15702E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   2  norm          .10000E-03    6.0552        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   3  norm          .10000E-03    1.4262        .14138E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   4  Prefactor     .10001E-03    57.592        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   5  norm          1.5636        3.0642        .21615E-03   -1.5458    
   6  norm          15.512        14.955        .10169E-03   -1.4920    
   7  Prefactor     .10000E-03    7.3051        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   8  Prefactor     .10000E-03    22.506        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   9  Prefactor     .10000E-03    1.5079        .16779E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  10  Prefactor     .10000E-03    5.4788        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  11  norm          4.3400        1.9121        .80160E-04   -1.5291    
  12  Prefactor     28.329        24.837        .75267E-04   -1.4643    
  13  Prefactor     .10000E-03    69.991        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  14  Prefactor     13.887        9.1281        .10748E-03   -1.4962    
  15  Prefactor     15.946        23.834        .10029E-03   -1.4909    
  16  Prefactor     20.877        25.648        .87667E-04   -1.4794    
  17  Prefactor     .81502        4.3937        .35728E-03   -1.5527    
  18  norm          1.4479        1.9241        .14440E-03   -1.5467    
  19  Prefactor     2.6334        8.4550        .25121E-03   -1.5383    
  20  Prefactor     63.054        42.060        .50524E-04   -1.4118    
  21  Prefactor     .10137E-03    64.310        .39556E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  22  Normalizat    .84634        .23539        .34438E-03   -.98372    
  23  Prefactor     1.0656        .12144        .17136E-03   -.90573    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 2.00433e-08
Minuit parameter uncertainties:
  1  2.05975e-06
  2  1.03034e-05
  3  2.95791e-06
  4  0.00128234
  5  3.06446
  6  14.9591
  7  7.44701e-06
  8  2.21762e-05
  9  4.50761e-06
  10  5.62717e-06
  11  1.91213
  12  24.8464
  13  0.0011346
  14  9.12904
  15  23.8478
  16  25.6611
  17  3.78488
  18  1.9242
  19  8.45881
  20  42.0797
  21  0.0187716
  22  0.235677
  23  0.121471
Done.

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

Extracting fit parameters...

4FGL J2056.2-4714
   Spectrum: LogParabola
291         norm:  4.340e+00  1.912e+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.066e+00  1.215e-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:  8.463e-01  2.357e-01  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Fixed Index): 10.15
Ra Dec: 314.072 -47.237
Photon Index (Fixed Index): 2.35 +/- 0.00
Photon Flux (Fixed Index): 9.74e-08 +/- 4.29e-08
Energy Flux (Fixed Index): 2.98e-05 +/- 1.31e-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) = 8470.37601228
delta logL = 0.365357468168

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

MINUIT Return Code (Free Index): 0
logL (Free Index) = 8470.37552179
delta logL = 0.36584796428

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'norm      '    3.8168       1.0000         .10000E-03   10000.    
     2 'alpha     '    2.7880       1.0000          .0000       5.0000    
     3 'Normalizat'    .80850       1.0000         .10000E-01   10.000    
     4 'Prefactor '    1.0793       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=   8470.376     FROM MIGRAD    STATUS=CONVERGED     55 CALLS      267 TOTAL
                     EDM=   .31E-08    STRATEGY= 1      ERR MATRIX NOT POS-DEF

  EXT PARAMETER                APPROXIMATE        STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  norm          3.8160        24.605        .51649E-02    .31934E-03
   2  alpha         2.7877        3.8312        .34346        .43751E-04
   3  Normalizat    .80852        .10141        .79392E-01    .35219E-04
   4  Prefactor     1.0793        .51095E-01    .38432E-01   -.20713E-05
                               ERR DEF=  .500    
Final values: 
  norm       = 3.81598
  alpha      = 2.78768
  Normalizat = 0.808519
  Prefactor  = 1.07934
 **********
 **   18 **HESSE 
 **********

 FCN=   8470.376     FROM HESSE     STATUS=OK            33 CALLS      300 TOTAL
                     EDM=   .15E-08    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  norm          3.8160        1.9538        .69248E-04   -1.5317    
   2  alpha         2.7877        .54743        .13929E-01    .11533    
   3  Normalizat    .80852        .22049        .35146E-03   -.99753    
   4  Prefactor     1.0793        .12010        .17037E-03   -.90130    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 1.51304e-09
Minuit parameter uncertainties:
  1  1.9538
  2  0.551967
  3  0.220739
  4  0.120126
shell-init: error retrieving current directory: getcwd: cannot access parent directories: No such file or directory
rmdir: failed to remove `/scratch/kocevski/215246': 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) = 8470.37552102
delta logL = 0.365848735351

Extracting fit parameters...

4FGL J2056.2-4714
   Spectrum: LogParabola
291         norm:  3.816e+00  1.954e+00  1.000e-04  1.000e+04 ( 1.000e-11)
292        alpha:  2.788e+00  5.520e-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.079e+00  1.201e-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:  8.085e-01  2.207e-01  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Free Index): 10.97
Ra Dec: 314.072 -47.237
Photon Index (Free Index): 2.79 +/- 0.55
Photon Flux (Free Index): 1.23e-07 +/- 5.56e-08
Energy Flux (Free Index): 2.77e-05 +/- 1.16e-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/215246/cmap_HighResolution_649900801_650160001_4FGL_J2056.2-4714_daily_bin1584.png

Cleaning up...

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

Updating database...

UPDATE lightcurve_data_v2 SET comment='SUCCESS', photon_flux='9.74e-08', energy_flux2='2.77e-05', photon_flux_error='4.29e-08', dlogl='3.66e-01', energy_flux='2.98e-05', photon_flux2='1.23e-07', job_status='DONE', time_completed='2021-09-25 22:05:20.078265', photon_index_error2='0.55', photon_index2='2.79', ts='10.15', fit_tolerance='1e-08', GAL='1.07', photon_index_error='0.00', energy_flux_error2='1.16e-05', EG='0.85', time_epoch_completed='1632632720.08', return_code='0', job_id='215246', GAL2='1.08', EG2='0.81', return_code2='0', energy_flux_error='1.31e-05', photon_flux_error2='5.56e-08', ts2='10.97', photon_index='2.35' WHERE bin_id='1584' AND source_name='4FGL J2056.2-4714' AND cadence='daily';

Database successfully updated.


Analysis Complete.


Sat Sep 25 22:05:20 PDT 2021


------------------------------------------------------------
Sender: LSF System <lsf@bullet0030>
Subject: Job 215246: <4FGL_J2056.2-4714_daily_bin1584> in cluster <slac> Done

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

Your job looked like:

------------------------------------------------------------
# LSBATCH: User input
/nfs/farm/g/glast/g/LCRepository/Likelihood/Scripts/LikelihoodAnalysis.py 4FGL_J2056.2-4714_daily_bin1584 314.072 -47.2369 649900801 650160001 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 :                                   695.11 sec.
    Max Memory :                                 1257 MB
    Average Memory :                             298.17 MB
    Total Requested Memory :                     -
    Delta Memory :                               -
    Max Swap :                                   -
    Max Processes :                              5
    Max Threads :                                21
    Run time :                                   722 sec.
    Turnaround time :                            898 sec.

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

