/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 91 seconds before starting...
Proceeding.

Importing modules...
This is make3FGLxml version 01r0.
The default diffuse model files and names are for pass 8 and assume you have v10r00p05 of the Fermi Science Tools or higher.
This is make4FGLxml version 01r04.
The default diffuse model files and names are for pass 8 and 4FGL and assume you have v11r5p3 of the Fermi Science Tools or higher.

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

/nfs/farm/g/glast/g/LCRepository/bin/miniconda2/envs/fermitools_v1.0.5/lib/python2.7/site-packages/matplotlib/cbook/deprecation.py:106: MatplotlibDeprecationWarning: The mpl_toolkits.axes_grid module was deprecated in version 2.1. Use mpl_toolkits.axes_grid1 and mpl_toolkits.axisartist provies the same functionality instead.
  warnings.warn(message, mplDeprecation, stacklevel=1)

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

number of points = 7393
number of fields = 30
RA_SUN column already exists. File will not be modified.
Done.


Performing analysis on: 4FGL_J2056.2-4714_daily_bin1255
RA = 314.072, Dec = -47.2369
tmin = 564624001, tmax = 564883201
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='213837', job_status='RUN', time_executed='2021-09-25 21:49:38.640330', time_epoch_executed='1632631778.64' WHERE source_name='4FGL J2056.2-4714' and cadence='daily' and bin_id='1255'

Database successfully updated.
Done.

Creating custom output directory:
/scratch/kocevski/213837

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

Retrieving the FT1 file...

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

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

Retrieving 46 files...
Done.


Merging files...

Checksum keywords updated successfully.

Merged file saved to:
/scratch/kocevski/213837/ft1_4FGL_J2056.2-4714_daily_bin1255.fits


Retrieving the FT1 file...

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

Retrieving 46 files...
Done.


Merging files...

Merged file saved to:
/scratch/kocevski/213837/ft2_4FGL_J2056.2-4714_daily_bin1255.fits


Selecting the photons:
time -p gtselect infile=/scratch/kocevski/213837/ft1_4FGL_J2056.2-4714_daily_bin1255.fits outfile=/scratch/kocevski/213837/ft1_filteredMKT_4FGL_J2056.2-4714_daily_bin1255.fits ra=314.072 dec=-47.2369 rad=12.0 tmin=564624001.0 tmax=564883201.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.36
sys 0.22

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

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

Generating the livetime cube:
time -p gtltcube evfile="/scratch/kocevski/213837/ft1_filtered_4FGL_J2056.2-4714_daily_bin1255.fits" evtable="EVENTS" scfile=/scratch/kocevski/213837/ft2_4FGL_J2056.2-4714_daily_bin1255.fits sctable="SC_DATA" outfile=/scratch/kocevski/213837/ltcube_564624001_564883201_4FGL_J2056.2-4714_daily_bin1255.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/213837/ft2_4FGL_J2056.2-4714_daily_bin1255.fits
.....................!
real 13.32
user 12.94
sys 0.31

Generating the exposure map:
time -p gtexpmap evfile=/scratch/kocevski/213837/ft1_filtered_4FGL_J2056.2-4714_daily_bin1255.fits evtable="EVENTS" scfile=/scratch/kocevski/213837/ft2_4FGL_J2056.2-4714_daily_bin1255.fits sctable="SC_DATA" expcube=/scratch/kocevski/213837/ltcube_564624001_564883201_4FGL_J2056.2-4714_daily_bin1255.fits outfile=/scratch/kocevski/213837/expmap_564624001_564883201_4FGL_J2056.2-4714_daily_bin1255.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/213837/ltcube_564624001_564883201_4FGL_J2056.2-4714_daily_bin1255.fits
.....................!
real 193.36
user 188.07
sys 4.79

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/213837/ft1_filtered_4FGL_J2056.2-4714_daily_bin1255.fits scfile=/scratch/kocevski/213837/ft2_4FGL_J2056.2-4714_daily_bin1255.fits outfile=/scratch/kocevski/213837/cmap_564624001_564883201_4FGL_J2056.2-4714_daily_bin1255.fits algorithm="CMAP" ebinalg="LOG" emin=30.0 emax=200000.0 ebinfile=NONE tbinalg="LIN" tbinfile=NONE nxpix=160 nypix=160 binsz=0.25 coordsys="CEL" xref=314.072 yref=-47.2369 axisrot=0.0 rafield="RA" decfield="DEC" proj="AIT" hpx_ordering_scheme="RING" hpx_order=3 hpx_ebin=yes hpx_region="" evtable="EVENTS" sctable="SC_DATA" efield="ENERGY" tfield="TIME" chatter=2 clobber=yes debug=no gui=no mode="ql"

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

This is gtbin version HEAD
real 0.57
user 0.38
sys 0.13

Creating the high resolution counts map:
time -p gtbin evfile=/scratch/kocevski/213837/ft1_filtered_4FGL_J2056.2-4714_daily_bin1255.fits scfile=/scratch/kocevski/213837/ft2_4FGL_J2056.2-4714_daily_bin1255.fits outfile=/scratch/kocevski/213837/cmap_HighResolution_564624001_564883201_4FGL_J2056.2-4714_daily_bin1255.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.16

Computing the diffuse response:
time -p gtdiffrsp evfile=/scratch/kocevski/213837/ft1_filtered_4FGL_J2056.2-4714_daily_bin1255.fits evtable="EVENTS" scfile=/scratch/kocevski/213837/ft2_4FGL_J2056.2-4714_daily_bin1255.fits sctable="SC_DATA" srcmdl=/scratch/kocevski/213837/Model_4FGL_J2056.2-4714_daily_bin1255.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/213837/ft1_filtered_4FGL_J2056.2-4714_daily_bin1255.fits...........................!
real 18.23
user 16.84
sys 1.13

Creating the likelihood object...
obs = UnbinnedObs('/scratch/kocevski/213837/ft1_filtered_4FGL_J2056.2-4714_daily_bin1255.fits', '/scratch/kocevski/213837/ft2_4FGL_J2056.2-4714_daily_bin1255.fits', expMap='/scratch/kocevski/213837/expmap_564624001_564883201_4FGL_J2056.2-4714_daily_bin1255.fits', expCube='/scratch/kocevski/213837/ltcube_564624001_564883201_4FGL_J2056.2-4714_daily_bin1255.fits', irfs='P8R3_SOURCE_V2')
like = UnbinnedAnalysis(obs, '/scratch/kocevski/213837/Model_4FGL_J2056.2-4714_daily_bin1255.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/213837/ft1_filtered_4FGL_J2056.2-4714_daily_bin1255.fits
Spacecraft file(s): /scratch/kocevski/213837/ft2_4FGL_J2056.2-4714_daily_bin1255.fits
Exposure map: /scratch/kocevski/213837/expmap_564624001_564883201_4FGL_J2056.2-4714_daily_bin1255.fits
Exposure cube: /scratch/kocevski/213837/ltcube_564624001_564883201_4FGL_J2056.2-4714_daily_bin1255.fits
IRFs: P8R3_SOURCE_V2
Source model file: /scratch/kocevski/213837/Model_4FGL_J2056.2-4714_daily_bin1255.xml
Optimizer: MINUIT
Statistic: UNBINNED

Performing an iterative likelihood fit...

Fit tolerance = 1

Performing likelihood fit...
Done.

MINUIT Return Code (Fixed Index): 101
logL (Fixed Index) = 697.896721714

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

MINUIT Return Code (Fixed Index): 101
logL (Fixed Index) = 694.404002264

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'norm      '    .50380E-02   1.0000         .10000E-03   10000.    
     2 'norm      '    .18775E-01   1.0000         .10000E-03   10000.    
     3 'norm      '    .10013E-03   1.0000         .10000E-03   10000.    
     4 'Prefactor '    .21223E-01   1.0000         .10000E-03   10000.    
     5 'norm      '    4.0193       1.0000         .10000E-03   10000.    
     6 'norm      '    11.559       1.0000         .10000E-03   10000.    
     7 'Prefactor '    .12360E-01   1.0000         .10000E-03   10000.    
     8 'Prefactor '    248.11       1.0000         .10000E-03   10000.    
     9 'Prefactor '    1.5403       1.0000         .10000E-03   10000.    
    10 'Prefactor '    .55147E-02   1.0000         .10000E-03   10000.    
    11 'norm      '    .38245E-01   1.0000         .10000E-03   10000.    
    12 'Prefactor '    104.19       1.0000         .10000E-03   10000.    
    13 'Prefactor '    3.4209       1.0000         .10000E-03   10000.    
    14 'Prefactor '    27.440       1.0000         .10000E-03   10000.    
    15 'Prefactor '    .23478E-01   1.0000         .10000E-03   10000.    
    16 'Prefactor '    6.3281       1.0000         .10000E-03   10000.    
    17 'Prefactor '    7.8774       1.0000         .10000E-03   10000.    
    18 'norm      '    15.257       1.0000         .10000E-03   10000.    
    19 'Prefactor '    37.605       1.0000         .10000E-03   10000.    
    20 'Prefactor '    7.2267       1.0000         .10000E-03   10000.    
    21 'Prefactor '    .15621E-02   1.0000         .10000E-03   10000.    
    22 'Normalizat'    .10000E-01   1.0000         .10000E-01   10.000    
    23 'Prefactor '    .90292       1.0000          .0000       10.000    
 **********
 **   15 **SET ERR    .5000    
 **********
 **********
 **   16 **SET GRAD    1.000    
 **********
 **********
 **   17 **MINIMIZE    .5520E+05   .2000E-04
 **********

 MIGRAD MINIMIZATION HAS CONVERGED.

 FCN=   694.3882     FROM MIGRAD    STATUS=CONVERGED    254 CALLS      569 TOTAL
                     EDM=   .72E-09  STRATEGY=1  ERROR MATRIX UNCERTAINTY=  2.8%

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  norm          .10000E-03    52.577       -.46493E-04** at limit **
   2  norm          .10000E-03    27.650        .71088E-06** at limit **
   3  norm          .10000E-03    5.9214        .59464E-05** at limit **
   4  Prefactor     .10000E-03    44.861       -.18321E-04** at limit **
   5  norm          4.0628        9.2436        .51624E-05   -.16144E-05
   6  norm          11.743        31.451       -.64413E-05    .13079E-04
   7  Prefactor     .10000E-03    26.728       -.51832E-05** at limit **
   8  Prefactor     254.25        35.715       -.66214E-05    .41233E-01
   9  Prefactor     1.5403        1.0658         .0000         .0000    
  10  Prefactor     .10003E-03    425.84       -.18024E-03** at limit **
  11  norm          .10000E-03    34.321       -.39634E-04** at limit **
  12  Prefactor     104.22        89.661        .36140E-04    .16622E-02
  13  Prefactor     .40319E-03    1135.0       -.30126E-03** at limit **
  14  Prefactor     24.585        54.794       -.47479E-04   -.15115E-02
  15  Prefactor     .10000E-03    45.974        .10667E-04** at limit **
  16  Prefactor     6.3281        1.0032         .0000         .0000    
  17  Prefactor     11.748        304.70        .64095E-03    .73490E-03
  18  norm          15.114        17.258       -.11082E-04    .14531E-03
  19  Prefactor     37.815        35.610        .65262E-05    .83320E-04
  20  Prefactor     137.94        1507.3        .87226E-04   -.82828E-03
  21  Prefactor     .10000E-03    173.37        .43267E-04** at limit **
  22  Normalizat    .10000E-01    .40707        .14833E-04** at limit **
  23  Prefactor     .89648        .19907       -.33176E-04    .89233E-04
                               ERR DEF=  .500    
Final values: 
  norm       = 0.0001
  norm       = 0.0001
  norm       = 0.0001
  Prefactor  = 0.0001
  norm       = 4.06279
  norm       = 11.7426
  Prefactor  = 0.0001
  Prefactor  = 254.252
  Prefactor  = 1.54032
  Prefactor  = 0.000100031
  norm       = 0.000100001
  Prefactor  = 104.22
  Prefactor  = 0.000403191
  Prefactor  = 24.5847
  Prefactor  = 0.0001
  Prefactor  = 6.32809
  Prefactor  = 11.7477
  norm       = 15.1139
  Prefactor  = 37.8149
  Prefactor  = 137.945
  Prefactor  = 0.0001
  Normalizat = 0.01
  Prefactor  = 0.896479
 **********
 **   18 **HESSE 
 **********
  MNHESS FAILS AND WILL RETURN DIAGONAL MATRIX. 

 FCN=   694.3882     FROM HESSE     STATUS=FAILED        41 CALLS      610 TOTAL
                     EDM=   .72E-09  STRATEGY=1  ERROR MATRIX UNCERTAINTY=100.0%

  EXT PARAMETER                APPROXIMATE     INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  norm          .10000E-03    51.931        .95960E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   2  norm          .10000E-03    27.778        .91166E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   3  norm          .10000E-03    5.9163        .90712E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   4  Prefactor     .10000E-03    44.921        .91287E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   5  norm          4.0628        9.0838        .50287E-02   -1.5305    
   6  norm          11.743        31.019        .29458E-02   -1.5022    
   7  Prefactor     .10000E-03    26.741        .90847E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   8  Prefactor     254.25        252.15        .64288E-03   -1.2505    
   9  Prefactor     577.04        575.32         .0000       -1.5460    
  10  Prefactor     .10003E-03    .22715       -.18024E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  11  norm          .10000E-03    .21218       -.39634E-04   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  12  Prefactor     104.22        1.0002        .36140E-04   -1.3663    
  13  Prefactor     .40319E-03    .74740E-01   -.30126E-03   -1.5704    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  14  Prefactor     24.585        .94684       -.47479E-04   -1.4716    
  15  Prefactor     .10000E-03    .20884        .10667E-04   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  16  Prefactor     6.3281        1.0032         .0000       -1.5205    
  17  Prefactor     11.748        1.2234        .64095E-03   -1.5022    
  18  norm          15.114        .99585       -.11082E-04   -1.4930    
  19  Prefactor     37.815        1.0029        .65262E-05   -1.4477    
  20  Prefactor     137.94        4.3508        .87226E-04   -1.3354    
  21  Prefactor     .10000E-03    .26108        .43267E-04   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  22  Normalizat    .10000E-01    .25505        .14833E-04   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  23  Prefactor     .89648        1.2437       -.33176E-04   -.96264    
                               ERR DEF=  .500    
Minuit fit quality: 1   estimated distance: 7.22749e-10
Minuit parameter uncertainties:
  1  0.000206292
  2  2.31736e-06
  3  1.05513e-05
  4  8.22178e-05
  5  9.08683
  6  31.0611
  7  2.17697e-05
  8  253.237
  9  1.06583
  10  0.000169023
  11  2.29375e-05
  12  1.00018
  13  0.00952062
  14  0.94684
  15  6.3296e-06
  16  1.00315
  17  1.22344
  18  0.995847
  19  1.00286
  20  4.35084
  21  2.21612e-05
  22  1.87861e-07
  23  1.28675
Done.

MINUIT Return Code (Fixed Index): 101
logL (Fixed Index) = 694.38821892

Extracting fit parameters...

4FGL J2056.2-4714
   Spectrum: LogParabola
291         norm:  1.000e-04  2.294e-05  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.965e-01  1.287e+00  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.000e-02  1.879e-07  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Fixed Index): -0.00
Ra Dec: 314.072 -47.237
Photon Flux Upper Limit: 6.92e-07 ph cm-2 s-1
Energy Flux Upper Limit: 2.11e-04 MeV cm-2 s-1

Saving results to:
/scratch/kocevski/213837/likelihoodResults_564624001_564883201_4FGL_J2056.2-4714_daily_bin1255.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): 102
logL (Free Index) = 694.388366415
delta logL = -0.000147495285319

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

MINUIT Return Code (Free Index): 0
logL (Free Index) = 694.381305643
delta logL = 0.00691327676645

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'norm      '    .77573       1.0000         .10000E-03   10000.    
     2 'alpha     '    1.6652       1.0000          .0000       5.0000    
     3 'Normalizat'    .10000E-01   1.0000         .10000E-01   10.000    
     4 'Prefactor '    .89260       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=   694.3813     FROM MIGRAD    STATUS=CONVERGED     57 CALLS      315 TOTAL
                     EDM=   .26E-08    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  norm          .78109        165.63        .12349E-01    .15520E-03
   2  alpha         1.6655        3.4938        .44511       -.32570E-05
   3  Normalizat    .10000E-01    .37015        .23683    ** at limit **
   4  Prefactor     .89258        .22353        .34278E-01   -.12135E-04
                               ERR DEF=  .500    
Final values: 
  norm       = 0.781094
  alpha      = 1.66545
  Normalizat = 0.01
  Prefactor  = 0.892577
 **********
 **   18 **HESSE 
 **********

 FCN=   694.3813     FROM HESSE     STATUS=OK            33 CALLS      348 TOTAL
                     EDM=   .90E-12    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  norm          .78109        15.316        .19508E-03   -1.5531    
   2  alpha         1.6655        3.3297        .25293E-01   -.34035    
   3  Normalizat    .10000E-01    .40996        .89986E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   4  Prefactor     .89258        .17062        .15148E-03   -.96401    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 9.04598e-13
Minuit parameter uncertainties:
  1  6.91928
  2  2.73535
  3  1.64529e-07
  4  0.170724
shell-init: error retrieving current directory: getcwd: cannot access parent directories: No such file or directory
rmdir: failed to remove `/scratch/kocevski/213837': 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) = 694.381305265
delta logL = 0.00691365473233

Extracting fit parameters...

4FGL J2056.2-4714
   Spectrum: LogParabola
291         norm:  7.811e-01  6.919e+00  1.000e-04  1.000e+04 ( 1.000e-11)
292        alpha:  1.665e+00  2.735e+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:  8.926e-01  1.707e-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.000e-02  1.645e-07  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Free Index): -0.00
Ra Dec: 314.072 -47.237

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/213837/cmap_HighResolution_564624001_564883201_4FGL_J2056.2-4714_daily_bin1255.png

Cleaning up...

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

Updating database...

UPDATE lightcurve_data_v2 SET energy_flux_upper_limit='2.11e-04', job_status='DONE', photon_flux_upper_limit='6.92e-07', time_completed='2021-09-25 21:55:15.038495', job_id='213837', GAL2='0.89', fit_tolerance='1e-08', EG2='0.01', EG='0.01', time_epoch_completed='1632632115.04', return_code2='0', ts='-0.00', comment='SUCCESS', return_code='101', GAL='0.90', dlogl='6.91e-03', ts2='0.01', photon_index_error='0.00', photon_index='2.35' WHERE bin_id='1255' AND source_name='4FGL J2056.2-4714' AND cadence='daily';

Database successfully updated.


Analysis Complete.


Sat Sep 25 21:55:15 PDT 2021


------------------------------------------------------------
Sender: LSF System <scs@bullet0130>
Subject: Job 213837: <4FGL_J2056.2-4714_daily_bin1255> in cluster <slac> Done

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

Your job looked like:

------------------------------------------------------------
# LSBATCH: User input
/nfs/farm/g/glast/g/LCRepository/Likelihood/Scripts/LikelihoodAnalysis.py 4FGL_J2056.2-4714_daily_bin1255 314.072 -47.2369 564624001 564883201 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 :                                   333.00 sec.
    Max Memory :                                 1093 MB
    Average Memory :                             267.88 MB
    Total Requested Memory :                     -
    Delta Memory :                               -
    Max Swap :                                   -
    Max Processes :                              5
    Max Threads :                                21
    Run time :                                   438 sec.
    Turnaround time :                            573 sec.

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

