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


Performing analysis on: 4FGL_J2056.2-4714_daily_bin1149
RA = 314.072, Dec = -47.2369
tmin = 537148801, tmax = 537408001
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='213671', job_status='RUN', time_executed='2021-09-25 21:46:45.121707', time_epoch_executed='1632631605.12' WHERE source_name='4FGL J2056.2-4714' and cadence='daily' and bin_id='1149'

Database successfully updated.
Done.

Creating custom output directory:
/scratch/kocevski/213671

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

Retrieving the FT1 file...

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

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

Retrieving 46 files...
Done.


Merging files...

Checksum keywords updated successfully.

Merged file saved to:
/scratch/kocevski/213671/ft1_4FGL_J2056.2-4714_daily_bin1149.fits


Retrieving the FT1 file...

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

Retrieving 46 files...
Done.


Merging files...

Merged file saved to:
/scratch/kocevski/213671/ft2_4FGL_J2056.2-4714_daily_bin1149.fits


Selecting the photons:
time -p gtselect infile=/scratch/kocevski/213671/ft1_4FGL_J2056.2-4714_daily_bin1149.fits outfile=/scratch/kocevski/213671/ft1_filteredMKT_4FGL_J2056.2-4714_daily_bin1149.fits ra=314.072 dec=-47.2369 rad=12.0 tmin=537148801.0 tmax=537408001.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.60
user 3.34
sys 0.20

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

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

Generating the livetime cube:
time -p gtltcube evfile="/scratch/kocevski/213671/ft1_filtered_4FGL_J2056.2-4714_daily_bin1149.fits" evtable="EVENTS" scfile=/scratch/kocevski/213671/ft2_4FGL_J2056.2-4714_daily_bin1149.fits sctable="SC_DATA" outfile=/scratch/kocevski/213671/ltcube_537148801_537408001_4FGL_J2056.2-4714_daily_bin1149.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/213671/ft2_4FGL_J2056.2-4714_daily_bin1149.fits
.....................!
real 14.78
user 14.35
sys 0.34

Generating the exposure map:
time -p gtexpmap evfile=/scratch/kocevski/213671/ft1_filtered_4FGL_J2056.2-4714_daily_bin1149.fits evtable="EVENTS" scfile=/scratch/kocevski/213671/ft2_4FGL_J2056.2-4714_daily_bin1149.fits sctable="SC_DATA" expcube=/scratch/kocevski/213671/ltcube_537148801_537408001_4FGL_J2056.2-4714_daily_bin1149.fits outfile=/scratch/kocevski/213671/expmap_537148801_537408001_4FGL_J2056.2-4714_daily_bin1149.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/213671/ltcube_537148801_537408001_4FGL_J2056.2-4714_daily_bin1149.fits
.....................!
real 191.72
user 185.62
sys 5.09

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/213671/ft1_filtered_4FGL_J2056.2-4714_daily_bin1149.fits scfile=/scratch/kocevski/213671/ft2_4FGL_J2056.2-4714_daily_bin1149.fits outfile=/scratch/kocevski/213671/cmap_537148801_537408001_4FGL_J2056.2-4714_daily_bin1149.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.60
user 0.40
sys 0.12

Creating the high resolution counts map:
time -p gtbin evfile=/scratch/kocevski/213671/ft1_filtered_4FGL_J2056.2-4714_daily_bin1149.fits scfile=/scratch/kocevski/213671/ft2_4FGL_J2056.2-4714_daily_bin1149.fits outfile=/scratch/kocevski/213671/cmap_HighResolution_537148801_537408001_4FGL_J2056.2-4714_daily_bin1149.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.40
sys 0.14

Computing the diffuse response:
time -p gtdiffrsp evfile=/scratch/kocevski/213671/ft1_filtered_4FGL_J2056.2-4714_daily_bin1149.fits evtable="EVENTS" scfile=/scratch/kocevski/213671/ft2_4FGL_J2056.2-4714_daily_bin1149.fits sctable="SC_DATA" srcmdl=/scratch/kocevski/213671/Model_4FGL_J2056.2-4714_daily_bin1149.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/213671/ft1_filtered_4FGL_J2056.2-4714_daily_bin1149.fits.....................!
real 54.36
user 52.92
sys 1.18

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

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

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

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'norm      '    .10294E-03   1.0000         .10000E-03   10000.    
     2 'norm      '    6.1000       1.0000         .10000E-03   10000.    
     3 'norm      '    2.8850       1.0000         .10000E-03   10000.    
     4 'Prefactor '    .44239E-02   1.0000         .10000E-03   10000.    
     5 'norm      '    1.1069       1.0000         .10000E-03   10000.    
     6 'norm      '    5.6551       1.0000         .10000E-03   10000.    
     7 'Prefactor '    .10140E-03   1.0000         .10000E-03   10000.    
     8 'Prefactor '    151.87       1.0000         .10000E-03   10000.    
     9 'Prefactor '    5.8039       1.0000         .10000E-03   10000.    
    10 'Prefactor '    10.712       1.0000         .10000E-03   10000.    
    11 'norm      '    1.2653       1.0000         .10000E-03   10000.    
    12 'Prefactor '    .11070E-03   1.0000         .10000E-03   10000.    
    13 'Prefactor '    35.369       1.0000         .10000E-03   10000.    
    14 'Prefactor '    5.7509       1.0000         .10000E-03   10000.    
    15 'Prefactor '    39.362       1.0000         .10000E-03   10000.    
    16 'Prefactor '    .11055E-03   1.0000         .10000E-03   10000.    
    17 'Prefactor '    6.7479       1.0000         .10000E-03   10000.    
    18 'norm      '    3.8273       1.0000         .10000E-03   10000.    
    19 'Prefactor '    .10097E-03   1.0000         .10000E-03   10000.    
    20 'Prefactor '    .10251E-03   1.0000         .10000E-03   10000.    
    21 'Prefactor '    .10021E-03   1.0000         .10000E-03   10000.    
    22 'Normalizat'    1.5580       1.0000         .10000E-01   10.000    
    23 'Prefactor '    .83782       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=   6380.122     FROM MIGRAD    STATUS=CONVERGED    531 CALLS     2556 TOTAL
                     EDM=   .27E-09  STRATEGY=1  ERROR MATRIX UNCERTAINTY=  1.8%

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  norm          .10001E-03    4.2900       -.66802E-06** at limit **
   2  norm          6.1171        37.849       -.30650E-06   -.82721E-04
   3  norm          2.8848        1.8505        .33557E-08   -.30957E-05
   4  Prefactor     .10002E-03    647.60       -.19069E-04** at limit **
   5  norm          1.1030        7.5230        .10452E-05   -.41986E-05
   6  norm          5.6509        14.513        .35375E-05   -.39243E-04
   7  Prefactor     .10000E-03    13.204       -.18000E-06** at limit **
   8  Prefactor     151.83        98.722       -.19852E-05   -.93879E-04
   9  Prefactor     5.8041        2.7953        .17786E-07   -.26678E-05
  10  Prefactor     10.725        19.625       -.80500E-06   -.79135E-04
  11  norm          1.2651        1.3676        .25732E-07   -.64942E-05
  12  Prefactor     .10000E-03    44.035        .61095E-06** at limit **
  13  Prefactor     35.351        42.901        .25915E-06    .27287E-04
  14  Prefactor     5.7501        8.9096       -.11049E-06   -.25983E-04
  15  Prefactor     39.345        32.357        .13426E-05    .14381E-03
  16  Prefactor     .10000E-03    52.899       -.32142E-06** at limit **
  17  Prefactor     6.7476        5.4750        .17766E-05   -.18566E-03
  18  norm          3.8262        4.4629        .53034E-08   -.18165E-04
  19  Prefactor     .10000E-03    5.4652        .13310E-06** at limit **
  20  Prefactor     .10000E-03    16.770       -.14830E-07** at limit **
  21  Prefactor     .10000E-03    4.4349        .92810E-08** at limit **
  22  Normalizat    1.5582        .25596       -.79039E-06    .44853E-04
  23  Prefactor     .83783        .12865        .79108E-08    .26316E-04
                               ERR DEF=  .500    
Final values: 
  norm       = 0.00010001
  norm       = 6.11713
  norm       = 2.88483
  Prefactor  = 0.000100018
  norm       = 1.103
  norm       = 5.65093
  Prefactor  = 0.0001
  Prefactor  = 151.828
  Prefactor  = 5.80411
  Prefactor  = 10.7253
  norm       = 1.2651
  Prefactor  = 0.0001
  Prefactor  = 35.3508
  Prefactor  = 5.75005
  Prefactor  = 39.3448
  Prefactor  = 0.0001
  Prefactor  = 6.74765
  norm       = 3.82619
  Prefactor  = 0.0001
  Prefactor  = 0.0001
  Prefactor  = 0.0001
  Normalizat = 1.55822
  Prefactor  = 0.837825
 **********
 **   18 **HESSE 
 **********

 FCN=   6380.122     FROM HESSE     STATUS=OK           374 CALLS     2930 TOTAL
                     EDM=   .97E-09    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  norm          .10001E-03    14.907        .31412E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   2  norm          6.1171        34.898        .16256E-03   -1.5213    
   3  norm          2.8848        1.8529        .84413E-04   -1.5368    
   4  Prefactor     .10002E-03    675.22        .38733E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   5  norm          1.1030        6.9502        .36271E-03   -1.5498    
   6  norm          5.6509        14.571        .84461E-03   -1.5232    
   7  Prefactor     .10000E-03    13.211        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   8  Prefactor     151.83        99.805        .16354E-03   -1.3237    
   9  Prefactor     5.8041        2.7966        .89481E-04   -1.5226    
  10  Prefactor     10.725        19.741        .12241E-03   -1.5053    
  11  norm          1.2651        1.3538        .93996E-04   -1.5483    
  12  Prefactor     .10000E-03    44.480        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  13  Prefactor     35.351        42.933        .67385E-04   -1.4518    
  14  Prefactor     5.7501        8.9143        .16749E-03   -1.5228    
  15  Prefactor     39.345        32.610        .63887E-04   -1.4453    
  16  Prefactor     .10000E-03    54.201        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  17  Prefactor     6.7476        5.5316        .77232E-03   -1.5188    
  18  norm          3.8262        4.4589        .17485E-03   -1.5317    
  19  Prefactor     .10000E-03    5.4734        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  20  Prefactor     .10000E-03    16.781        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  21  Prefactor     .10000E-03    4.4470        .16427E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  22  Normalizat    1.5582        .30577        .30629E-03   -.76155    
  23  Prefactor     .83783        .15315        .20906E-03   -.98349    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 9.72158e-10
Minuit parameter uncertainties:
  1  0.000765667
  2  29.2472
  3  1.85294
  4  0.00707476
  5  5.53823
  6  14.58
  7  6.88267e-06
  8  99.9159
  9  2.79665
  10  19.7534
  11  1.35385
  12  7.31306e-05
  13  42.9708
  14  8.91632
  15  32.6244
  16  0.000165726
  17  5.53204
  18  4.45931
  19  4.30402e-07
  20  1.11697e-05
  21  4.36878e-06
  22  0.306137
  23  0.153225
Done.

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

Extracting fit parameters...

4FGL J2056.2-4714
   Spectrum: LogParabola
291         norm:  1.265e+00  1.354e+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.378e-01  1.532e-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.558e+00  3.061e-01  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Fixed Index): 1.91
Ra Dec: 314.072 -47.237
Photon Index (Fixed Index): 2.35 +/- 0.00
Photon Flux (Fixed Index): 2.84e-08 +/- 3.04e-08
Energy Flux (Fixed Index): 8.68e-06 +/- 9.29e-06

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

Saving results to:
/scratch/kocevski/213671/likelihoodResults_537148801_537408001_4FGL_J2056.2-4714_daily_bin1149.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) = 6379.59662602
delta logL = 0.525181676304

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

MINUIT Return Code (Free Index): 0
logL (Free Index) = 6379.54359155
delta logL = 0.578216152537

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'norm      '    .83657       1.0000         .10000E-03   10000.    
     2 'alpha     '    1.4180       1.0000          .0000       5.0000    
     3 'Normalizat'    1.5764       1.0000         .10000E-01   10.000    
     4 'Prefactor '    .83243       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=   6379.544     FROM MIGRAD    STATUS=CONVERGED     51 CALLS      202 TOTAL
                     EDM=   .69E-10    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  norm          .83644        .88223        .12575E-01   -.17811E-03
   2  alpha         1.4177        .50225        .46172       -.34553E-04
   3  Normalizat    1.5763        .24295        .68911E-01    .57013E-05
   4  Prefactor     .83247        .12710        .44138E-01    .10257E-04
                               ERR DEF=  .500    
Final values: 
  norm       = 0.836438
  alpha      = 1.41768
  Normalizat = 1.57632
  Prefactor  = 0.832468
 **********
 **   18 **HESSE 
 **********

 FCN=   6379.544     FROM HESSE     STATUS=OK            33 CALLS      235 TOTAL
                     EDM=   .39E-11    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  norm          .83644        1.1826        .73720E-04   -1.5525    
   2  alpha         1.4177        .78489        .17201E-01   -.44774    
   3  Normalizat    1.5763        .28808        .30485E-03   -.75656    
   4  Prefactor     .83247        .15079        .20962E-03   -.98542    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 3.90153e-12
Minuit parameter uncertainties:
  1  1.18261
  2  0.801691
  3  0.288387
  4  0.15087
shell-init: error retrieving current directory: getcwd: cannot access parent directories: No such file or directory
rmdir: failed to remove `/scratch/kocevski/213671': 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) = 6379.54359143
delta logL = 0.578216270924

Extracting fit parameters...

4FGL J2056.2-4714
   Spectrum: LogParabola
291         norm:  8.364e-01  1.183e+00  1.000e-04  1.000e+04 ( 1.000e-11)
292        alpha:  1.418e+00  8.017e-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.325e-01  1.509e-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.576e+00  2.884e-01  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Free Index): 3.08
Ra Dec: 314.072 -47.237
Photon Index (Free Index): 1.42 +/- 0.80
Photon Flux (Free Index): 1.27e-08 +/- 1.75e-08
Energy Flux (Free Index): 1.74e-05 +/- 2.48e-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/213671/cmap_HighResolution_537148801_537408001_4FGL_J2056.2-4714_daily_bin1149.png

Cleaning up...

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

Updating database...

UPDATE lightcurve_data_v2 SET energy_flux_upper_limit='3.44e-05', comment='SUCCESS', photon_flux='2.84e-08', energy_flux2='1.74e-05', photon_flux_error='3.04e-08', dlogl='5.78e-01', energy_flux='8.68e-06', photon_flux2='1.27e-08', job_status='DONE', time_completed='2021-09-25 21:57:36.368697', photon_index_error2='0.80', photon_index2='1.42', ts='1.91', fit_tolerance='1e-08', GAL='0.84', photon_index_error='0.00', photon_flux_upper_limit='1.13e-07', energy_flux_error2='2.48e-05', EG='1.56', time_epoch_completed='1632632256.37', return_code='0', job_id='213671', GAL2='0.83', EG2='1.58', return_code2='0', energy_flux_error='9.29e-06', photon_flux_error2='1.75e-08', ts2='3.08', photon_index='2.35' WHERE bin_id='1149' AND source_name='4FGL J2056.2-4714' AND cadence='daily';

Database successfully updated.


Analysis Complete.


Sat Sep 25 21:57:36 PDT 2021


------------------------------------------------------------
Sender: LSF System <lsf@bullet0235>
Subject: Job 213671: <4FGL_J2056.2-4714_daily_bin1149> in cluster <slac> Done

Job <4FGL_J2056.2-4714_daily_bin1149> was submitted from host <rhel6-64m> by user <kocevski> in cluster <slac> at Sat Sep 25 21:45:28 2021
Job was executed on host(s) <bullet0235>, in queue <medium>, as user <kocevski> in cluster <slac> at Sat Sep 25 21:46:01 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:01 2021
Terminated at Sat Sep 25 21:57:37 2021
Results reported at Sat Sep 25 21:57:37 2021

Your job looked like:

------------------------------------------------------------
# LSBATCH: User input
/nfs/farm/g/glast/g/LCRepository/Likelihood/Scripts/LikelihoodAnalysis.py 4FGL_J2056.2-4714_daily_bin1149 314.072 -47.2369 537148801 537408001 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 :                                   647.08 sec.
    Max Memory :                                 1257 MB
    Average Memory :                             340.78 MB
    Total Requested Memory :                     -
    Delta Memory :                               -
    Max Swap :                                   -
    Max Processes :                              5
    Max Threads :                                21
    Run time :                                   695 sec.
    Turnaround time :                            729 sec.

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

