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


Performing analysis on: 4FGL_J2056.2-4714_daily_bin1140
RA = 314.072, Dec = -47.2369
tmin = 534816001, tmax = 535075201
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='213657', job_status='RUN', time_executed='2021-09-25 21:46:20.346978', time_epoch_executed='1632631580.35' WHERE source_name='4FGL J2056.2-4714' and cadence='daily' and bin_id='1140'

Database successfully updated.
Done.

Creating custom output directory:
/scratch/kocevski/213657

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

Retrieving the FT1 file...

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

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

Retrieving 46 files...
Done.


Merging files...

Checksum keywords updated successfully.

Merged file saved to:
/scratch/kocevski/213657/ft1_4FGL_J2056.2-4714_daily_bin1140.fits


Retrieving the FT1 file...

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

Retrieving 46 files...
Done.


Merging files...

Merged file saved to:
/scratch/kocevski/213657/ft2_4FGL_J2056.2-4714_daily_bin1140.fits


Selecting the photons:
time -p gtselect infile=/scratch/kocevski/213657/ft1_4FGL_J2056.2-4714_daily_bin1140.fits outfile=/scratch/kocevski/213657/ft1_filteredMKT_4FGL_J2056.2-4714_daily_bin1140.fits ra=314.072 dec=-47.2369 rad=12.0 tmin=534816001.0 tmax=535075201.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.66
user 3.36
sys 0.23

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

Selecting the good time intervals:
time -p gtmktime scfile=/scratch/kocevski/213657/ft2_4FGL_J2056.2-4714_daily_bin1140.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/213657/ft1_filteredMKT_4FGL_J2056.2-4714_daily_bin1140.fits evtable="EVENTS" outfile="/scratch/kocevski/213657/ft1_filtered_4FGL_J2056.2-4714_daily_bin1140.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/213657/ft1_filtered_4FGL_J2056.2-4714_daily_bin1140.fits" evtable="EVENTS" scfile=/scratch/kocevski/213657/ft2_4FGL_J2056.2-4714_daily_bin1140.fits sctable="SC_DATA" outfile=/scratch/kocevski/213657/ltcube_534816001_535075201_4FGL_J2056.2-4714_daily_bin1140.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/213657/ft2_4FGL_J2056.2-4714_daily_bin1140.fits
.....................!
real 13.33
user 12.95
sys 0.32

Generating the exposure map:
time -p gtexpmap evfile=/scratch/kocevski/213657/ft1_filtered_4FGL_J2056.2-4714_daily_bin1140.fits evtable="EVENTS" scfile=/scratch/kocevski/213657/ft2_4FGL_J2056.2-4714_daily_bin1140.fits sctable="SC_DATA" expcube=/scratch/kocevski/213657/ltcube_534816001_535075201_4FGL_J2056.2-4714_daily_bin1140.fits outfile=/scratch/kocevski/213657/expmap_534816001_535075201_4FGL_J2056.2-4714_daily_bin1140.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/213657/ltcube_534816001_535075201_4FGL_J2056.2-4714_daily_bin1140.fits
.....................!
real 193.84
user 187.76
sys 5.36

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/213657/ft1_filtered_4FGL_J2056.2-4714_daily_bin1140.fits scfile=/scratch/kocevski/213657/ft2_4FGL_J2056.2-4714_daily_bin1140.fits outfile=/scratch/kocevski/213657/cmap_534816001_535075201_4FGL_J2056.2-4714_daily_bin1140.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.15

Creating the high resolution counts map:
time -p gtbin evfile=/scratch/kocevski/213657/ft1_filtered_4FGL_J2056.2-4714_daily_bin1140.fits scfile=/scratch/kocevski/213657/ft2_4FGL_J2056.2-4714_daily_bin1140.fits outfile=/scratch/kocevski/213657/cmap_HighResolution_534816001_535075201_4FGL_J2056.2-4714_daily_bin1140.fits algorithm="CMAP" ebinalg="LOG" emin=30.0 emax=200000.0 ebinfile=NONE tbinalg="LIN" tbinfile=NONE nxpix=500 nypix=500 binsz=0.1 coordsys="CEL" xref=314.072 yref=-47.2369 axisrot=0.0 rafield="RA" decfield="DEC" proj="AIT" hpx_ordering_scheme="RING" hpx_order=3 hpx_ebin=yes hpx_region="" evtable="EVENTS" sctable="SC_DATA" efield="ENERGY" tfield="TIME" chatter=2 clobber=yes debug=no gui=no mode="ql"

WARNING: version mismatch between CFITSIO header (v3.43) and linked library (v3.41).

This is gtbin version HEAD
real 0.55
user 0.38
sys 0.17

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

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

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

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

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'norm      '    .10077E-03   1.0000         .10000E-03   10000.    
     2 'norm      '    .10000E-03   1.0000         .10000E-03   10000.    
     3 'norm      '    1.2352       1.0000         .10000E-03   10000.    
     4 'Prefactor '    .10000E-03   1.0000         .10000E-03   10000.    
     5 'norm      '    .10000E-03   1.0000         .10000E-03   10000.    
     6 'norm      '    .10003E-03   1.0000         .10000E-03   10000.    
     7 'Prefactor '    24.249       1.0000         .10000E-03   10000.    
     8 'Prefactor '    .10013E-03   1.0000         .10000E-03   10000.    
     9 'Prefactor '    1.2673       1.0000         .10000E-03   10000.    
    10 'Prefactor '    .10000E-03   1.0000         .10000E-03   10000.    
    11 'norm      '    2.6284       1.0000         .10000E-03   10000.    
    12 'Prefactor '    .10000E-03   1.0000         .10000E-03   10000.    
    13 'Prefactor '    .10000E-03   1.0000         .10000E-03   10000.    
    14 'Prefactor '    6.3163       1.0000         .10000E-03   10000.    
    15 'Prefactor '    16.077       1.0000         .10000E-03   10000.    
    16 'Prefactor '    .20051       1.0000         .10000E-03   10000.    
    17 'Prefactor '    .62430       1.0000         .10000E-03   10000.    
    18 'norm      '    73.707       1.0000         .10000E-03   10000.    
    19 'Prefactor '    .10001E-03   1.0000         .10000E-03   10000.    
    20 'Prefactor '    .10001E-03   1.0000         .10000E-03   10000.    
    21 'Prefactor '    .54774       1.0000         .10000E-03   10000.    
    22 'Normalizat'    1.0590       1.0000         .10000E-01   10.000    
    23 'Prefactor '    1.0905       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=   9854.103     FROM MIGRAD    STATUS=CONVERGED    549 CALLS     2257 TOTAL
                     EDM=   .52E-08    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  norm          .10000E-03    8.7961        .90712E-02** at limit **
   2  norm          .10000E-03    10.284        .90712E-02** at limit **
   3  norm          1.2350        1.5036        .10102E-01    .93345E-03
   4  Prefactor     .10000E-03    15.004        .90712E-02** at limit **
   5  norm          .10000E-03    .76228        .90712E-02** at limit **
   6  norm          .10000E-03    4.6670        .90712E-02** at limit **
   7  Prefactor     24.247        17.802        .20337E-02    .12564E-03
   8  Prefactor     .10000E-03    36.127        .90712E-02** at limit **
   9  Prefactor     1.2673        2.0850        .98883E-02    .13427E-02
  10  Prefactor     .10000E-03    5.4464        .90712E-02** at limit **
  11  norm          2.6280        1.8296        .62884E-02    .82315E-03
  12  Prefactor     .10000E-03    7.9856        .90712E-02** at limit **
  13  Prefactor     .10000E-03    26.765        .90712E-02** at limit **
  14  Prefactor     6.3136        7.5156        .39928E-02    .29059E-03
  15  Prefactor     16.072        26.891        .24972E-02    .23263E-03
  16  Prefactor     .10004E-03    15.403        .12642    ** at limit **
  17  Prefactor     .63092        2.5491        .48125E-01    .14258E-02
  18  norm          73.705        10.073        .11691E-02   -.18742E-02
  19  Prefactor     .10000E-03    1.9555        .90712E-02** at limit **
  20  Prefactor     .10000E-03    12.117        .90712E-02** at limit **
  21  Prefactor     .53100        4.9728        .79031E-01    .78351E-03
  22  Normalizat    1.0593        .20828        .78453E-01    .61998E-04
  23  Prefactor     1.0905        .10916        .37957E-01    .23440E-03
                               ERR DEF=  .500    
Final values: 
  norm       = 0.000100001
  norm       = 0.0001
  norm       = 1.23499
  Prefactor  = 0.0001
  norm       = 0.0001
  norm       = 0.0001
  Prefactor  = 24.2472
  Prefactor  = 0.0001
  Prefactor  = 1.26729
  Prefactor  = 0.0001
  norm       = 2.62796
  Prefactor  = 0.0001
  Prefactor  = 0.000100001
  Prefactor  = 6.31356
  Prefactor  = 16.0723
  Prefactor  = 0.000100039
  Prefactor  = 0.630918
  norm       = 73.7048
  Prefactor  = 0.0001
  Prefactor  = 0.0001
  Prefactor  = 0.531
  Normalizat = 1.0593
  Prefactor  = 1.09047
 **********
 **   18 **HESSE 
 **********

 FCN=   9854.103     FROM HESSE     STATUS=OK           374 CALLS     2631 TOTAL
                     EDM=   .17E-08    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  norm          .10000E-03    9.1294        .36285E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   2  norm          .10000E-03    10.361        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   3  norm          1.2350        1.4740        .12923E-03   -1.5486    
   4  Prefactor     .10000E-03    15.015        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   5  norm          .10000E-03    .76501        .84629E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   6  norm          .10000E-03    4.6692        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   7  Prefactor     24.247        17.802        .81346E-04   -1.4723    
   8  Prefactor     .10000E-03    36.173        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   9  Prefactor     1.2673        2.0576        .17641E-03   -1.5483    
  10  Prefactor     .10000E-03    5.4574        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  11  norm          2.6280        1.8245        .10597E-03   -1.5384    
  12  Prefactor     .10000E-03    7.9931        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  13  Prefactor     .10000E-03    26.803        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  14  Prefactor     6.3136        7.5087        .15971E-03   -1.5205    
  15  Prefactor     16.072        26.877        .99889E-04   -1.4906    
  16  Prefactor     .10004E-03    18.348        .11208       -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  17  Prefactor     .63092        5.0753        .29550E-02   -1.5549    
  18  norm          73.705        10.072        .46765E-04   -1.3989    
  19  Prefactor     .10000E-03    1.9567        .13557E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  20  Prefactor     .10000E-03    12.131        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  21  Prefactor     .53100        21.479        .42354E-02   -1.5562    
  22  Normalizat    1.0593        .24638        .34726E-03   -.91070    
  23  Prefactor     1.0905        .13007        .18886E-03   -.89772    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 1.73846e-09
Minuit parameter uncertainties:
  1  0.000145403
  2  1.78879e-05
  3  1.474
  4  0.000135121
  5  2.78206e-06
  6  2.70451e-06
  7  17.8062
  8  0.000215276
  9  2.05776
  10  1.02353e-05
  11  1.82452
  12  4.04322e-05
  13  0.000252143
  14  7.50984
  15  26.8968
  16  0.0017002
  17  3.57901
  18  10.0719
  19  2.64693e-07
  20  0.000154351
  21  6.75638
  22  0.246647
  23  0.13011
Done.

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

Extracting fit parameters...

4FGL J2056.2-4714
   Spectrum: LogParabola
291         norm:  2.628e+00  1.825e+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.090e+00  1.301e-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.059e+00  2.466e-01  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Fixed Index): 2.80
Ra Dec: 314.072 -47.237
Photon Index (Fixed Index): 2.35 +/- 0.00
Photon Flux (Fixed Index): 5.90e-08 +/- 4.09e-08
Energy Flux (Fixed Index): 1.80e-05 +/- 1.25e-05

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

Saving results to:
/scratch/kocevski/213657/likelihoodResults_534816001_535075201_4FGL_J2056.2-4714_daily_bin1140.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) = 9853.51195711
delta logL = 0.591366530294

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

MINUIT Return Code (Free Index): 0
logL (Free Index) = 9853.50205499
delta logL = 0.601268649743

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'norm      '    1.6518       1.0000         .10000E-03   10000.    
     2 'alpha     '    3.3549       1.0000          .0000       5.0000    
     3 'Normalizat'    .99456       1.0000         .10000E-01   10.000    
     4 'Prefactor '    1.1169       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=   9853.502     FROM MIGRAD    STATUS=CONVERGED     54 CALLS      242 TOTAL
                     EDM=   .48E-08    STRATEGY= 1      ERR MATRIX NOT POS-DEF

  EXT PARAMETER                APPROXIMATE        STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  norm          1.6503        14.188        .82119E-02    .97918E-03
   2  alpha         3.3556        4.1315        .44704        .65280E-04
   3  Normalizat    .99459        .62103E-01    .80661E-01    .30928E-04
   4  Prefactor     1.1169        .33796E-01    .36977E-01   -.10901E-05
                               ERR DEF=  .500    
Final values: 
  norm       = 1.65035
  alpha      = 3.35563
  Normalizat = 0.994586
  Prefactor  = 1.11689
 **********
 **   18 **HESSE 
 **********

 FCN=   9853.502     FROM HESSE     STATUS=OK            33 CALLS      275 TOTAL
                     EDM=   .49E-07    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  norm          1.6503        3.3298        .69875E-04   -1.5451    
   2  alpha         3.3556        1.7619        .20322E-01    .34931    
   3  Normalizat    .99459        .24874        .35703E-03   -.93212    
   4  Prefactor     1.1169        .13525        .18689E-03   -.88929    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 4.87093e-08
Minuit parameter uncertainties:
  1  3.33018
  2  1.9923
  3  0.249035
  4  0.13529
shell-init: error retrieving current directory: getcwd: cannot access parent directories: No such file or directory
rmdir: failed to remove `/scratch/kocevski/213657': 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) = 9853.50205471
delta logL = 0.601268933064

Extracting fit parameters...

4FGL J2056.2-4714
   Spectrum: LogParabola
291         norm:  1.650e+00  3.330e+00  1.000e-04  1.000e+04 ( 1.000e-11)
292        alpha:  3.356e+00  1.992e+00  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.117e+00  1.353e-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.946e-01  2.490e-01  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Free Index): 4.15
Ra Dec: 314.072 -47.237
Photon Index (Free Index): 3.36 +/- 1.99
Photon Flux (Free Index): 9.34e-08 +/- 5.65e-08
Energy Flux (Free Index): 1.66e-05 +/- 1.22e-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/213657/cmap_HighResolution_534816001_535075201_4FGL_J2056.2-4714_daily_bin1140.png

Cleaning up...

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

Updating database...

UPDATE lightcurve_data_v2 SET energy_flux_upper_limit='4.26e-05', comment='SUCCESS', photon_flux='5.90e-08', energy_flux2='1.66e-05', photon_flux_error='4.09e-08', dlogl='6.01e-01', energy_flux='1.80e-05', photon_flux2='9.34e-08', job_status='DONE', time_completed='2021-09-25 22:00:05.753689', photon_index_error2='1.99', photon_index2='3.36', ts='2.80', fit_tolerance='1e-08', GAL='1.09', photon_index_error='0.00', photon_flux_upper_limit='1.39e-07', energy_flux_error2='1.22e-05', EG='1.06', time_epoch_completed='1632632405.75', return_code='0', job_id='213657', GAL2='1.12', EG2='0.99', return_code2='0', energy_flux_error='1.25e-05', photon_flux_error2='5.65e-08', ts2='4.15', photon_index='2.35' WHERE bin_id='1140' AND source_name='4FGL J2056.2-4714' AND cadence='daily';

Database successfully updated.


Analysis Complete.


Sat Sep 25 22:00:05 PDT 2021


------------------------------------------------------------
Sender: LSF System <lsf@bullet0040>
Subject: Job 213657: <4FGL_J2056.2-4714_daily_bin1140> in cluster <slac> Done

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

Your job looked like:

------------------------------------------------------------
# LSBATCH: User input
/nfs/farm/g/glast/g/LCRepository/Likelihood/Scripts/LikelihoodAnalysis.py 4FGL_J2056.2-4714_daily_bin1140 314.072 -47.2369 534816001 535075201 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 :                                   821.00 sec.
    Max Memory :                                 1257 MB
    Average Memory :                             368.34 MB
    Total Requested Memory :                     -
    Delta Memory :                               -
    Max Swap :                                   -
    Max Processes :                              5
    Max Threads :                                21
    Run time :                                   852 sec.
    Turnaround time :                            879 sec.

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

