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


Performing analysis on: 4FGL_J2056.2-4714_daily_bin1623
RA = 314.072, Dec = -47.2369
tmin = 660009601, tmax = 660268801
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='464955', job_status='RUN', time_executed='2021-12-08 07:18:50.743615', time_epoch_executed='1638976730.74' WHERE source_name='4FGL J2056.2-4714' and cadence='daily' and bin_id='1623'

Database successfully updated.
Done.

Creating custom output directory:
/scratch/kocevski/464955

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

Retrieving the FT1 file...

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

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

Retrieving 46 files...
Done.


Merging files...

Checksum keywords updated successfully.

Merged file saved to:
/scratch/kocevski/464955/ft1_4FGL_J2056.2-4714_daily_bin1623.fits


Retrieving the FT1 file...

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

Retrieving 46 files...
Done.


Merging files...

Merged file saved to:
/scratch/kocevski/464955/ft2_4FGL_J2056.2-4714_daily_bin1623.fits


Selecting the photons:
time -p gtselect infile=/scratch/kocevski/464955/ft1_4FGL_J2056.2-4714_daily_bin1623.fits outfile=/scratch/kocevski/464955/ft1_filteredMKT_4FGL_J2056.2-4714_daily_bin1623.fits ra=314.072 dec=-47.2369 rad=12.0 tmin=660009601.0 tmax=660268801.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 4.94
user 4.68
sys 0.23

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

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

Generating the livetime cube:
time -p gtltcube evfile="/scratch/kocevski/464955/ft1_filtered_4FGL_J2056.2-4714_daily_bin1623.fits" evtable="EVENTS" scfile=/scratch/kocevski/464955/ft2_4FGL_J2056.2-4714_daily_bin1623.fits sctable="SC_DATA" outfile=/scratch/kocevski/464955/ltcube_660009601_660268801_4FGL_J2056.2-4714_daily_bin1623.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/464955/ft2_4FGL_J2056.2-4714_daily_bin1623.fits
.....................!
real 12.64
user 12.20
sys 0.33

Generating the exposure map:
time -p gtexpmap evfile=/scratch/kocevski/464955/ft1_filtered_4FGL_J2056.2-4714_daily_bin1623.fits evtable="EVENTS" scfile=/scratch/kocevski/464955/ft2_4FGL_J2056.2-4714_daily_bin1623.fits sctable="SC_DATA" expcube=/scratch/kocevski/464955/ltcube_660009601_660268801_4FGL_J2056.2-4714_daily_bin1623.fits outfile=/scratch/kocevski/464955/expmap_660009601_660268801_4FGL_J2056.2-4714_daily_bin1623.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/464955/ltcube_660009601_660268801_4FGL_J2056.2-4714_daily_bin1623.fits
.....................!
real 191.84
user 186.07
sys 5.06

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/464955/ft1_filtered_4FGL_J2056.2-4714_daily_bin1623.fits scfile=/scratch/kocevski/464955/ft2_4FGL_J2056.2-4714_daily_bin1623.fits outfile=/scratch/kocevski/464955/cmap_660009601_660268801_4FGL_J2056.2-4714_daily_bin1623.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.38
sys 0.15

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

Computing the diffuse response:
time -p gtdiffrsp evfile=/scratch/kocevski/464955/ft1_filtered_4FGL_J2056.2-4714_daily_bin1623.fits evtable="EVENTS" scfile=/scratch/kocevski/464955/ft2_4FGL_J2056.2-4714_daily_bin1623.fits sctable="SC_DATA" srcmdl=/scratch/kocevski/464955/Model_4FGL_J2056.2-4714_daily_bin1623.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/464955/ft1_filtered_4FGL_J2056.2-4714_daily_bin1623.fits.....................!
real 48.62
user 47.25
sys 1.26

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

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

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

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'norm      '    3.2508       1.0000         .10000E-03   10000.    
     2 'norm      '    .10004E-03   1.0000         .10000E-03   10000.    
     3 'norm      '    .18697       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      '    .10002E-03   1.0000         .10000E-03   10000.    
     7 'Prefactor '    .11424E-03   1.0000         .10000E-03   10000.    
     8 'Prefactor '    .10028E-03   1.0000         .10000E-03   10000.    
     9 'Prefactor '    .38589       1.0000         .10000E-03   10000.    
    10 'Prefactor '    .10000E-03   1.0000         .10000E-03   10000.    
    11 'norm      '    .10006E-03   1.0000         .10000E-03   10000.    
    12 'Prefactor '    .10006E-03   1.0000         .10000E-03   10000.    
    13 'Prefactor '    .12700E-03   1.0000         .10000E-03   10000.    
    14 'Prefactor '    4.8141       1.0000         .10000E-03   10000.    
    15 'Prefactor '    8.4266       1.0000         .10000E-03   10000.    
    16 'Prefactor '    11.949       1.0000         .10000E-03   10000.    
    17 'Prefactor '    .10010E-03   1.0000         .10000E-03   10000.    
    18 'norm      '    10.379       1.0000         .10000E-03   10000.    
    19 'Prefactor '    1.6257       1.0000         .10000E-03   10000.    
    20 'Prefactor '    83.345       1.0000         .10000E-03   10000.    
    21 'Prefactor '    .10038E-03   1.0000         .10000E-03   10000.    
    22 'Normalizat'    .55610       1.0000         .10000E-01   10.000    
    23 'Prefactor '    1.3504       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=   5927.072     FROM MIGRAD    STATUS=CONVERGED     99 CALLS     1836 TOTAL
                     EDM=   .29E-09  STRATEGY=1  ERROR MATRIX UNCERTAINTY= 12.1%

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  norm          3.2463        1.0722       -.96569E-06   -.48929E-04
   2  norm          .10000E-03    6.6888       -.60221E-05** at limit **
   3  norm          .18683        1.4683       -.46067E-06    .36367E-03
   4  Prefactor     .10001E-03    30.375       -.22092E-04** at limit **
   5  norm          .10000E-03    1.4180       -.68539E-07** at limit **
   6  norm          .10000E-03    10.134       -.15467E-05** at limit **
   7  Prefactor     .10040E-03    29.485       -.16609E-04** at limit **
   8  Prefactor     .10041E-03    51.487        .68751E-04** at limit **
   9  Prefactor     .35627        7.5108        .93206E-07   -.15263E-03
  10  Prefactor     .10000E-03    6.8854        .80254E-05** at limit **
  11  norm          .10000E-03    2.5598        .10050E-06** at limit **
  12  Prefactor     .10000E-03    20.757        .70871E-05** at limit **
  13  Prefactor     .10033E-03    40.534       -.37952E-04** at limit **
  14  Prefactor     4.8071        1.0885       -.42272E-06    .24121E-05
  15  Prefactor     8.4206        2.7988       -.53464E-05    .10955E-02
  16  Prefactor     11.891        12.022       -.19420E-04    .27597E-02
  17  Prefactor     .10000E-03    3.6667       -.42092E-06** at limit **
  18  norm          10.378        1.1762       -.59530E-06   -.21167E-02
  19  Prefactor     1.6204        1.1485       -.18150E-05   -.11754E-03
  20  Prefactor     83.340        2.4654       -.14677E-05    .32880E-02
  21  Prefactor     .10000E-03    4.8493        .29839E-06** at limit **
  22  Normalizat    .55635        .28637        .63011E-05   -.66611E-04
  23  Prefactor     1.3505        .16020       -.36466E-06   -.19398E-03
                               ERR DEF=  .500    
Final values: 
  norm       = 3.24632
  norm       = 0.0001
  norm       = 0.186833
  Prefactor  = 0.000100008
  norm       = 0.0001
  norm       = 0.0001
  Prefactor  = 0.000100402
  Prefactor  = 0.000100407
  Prefactor  = 0.356268
  Prefactor  = 0.000100001
  norm       = 0.0001
  Prefactor  = 0.0001
  Prefactor  = 0.000100329
  Prefactor  = 4.80708
  Prefactor  = 8.42063
  Prefactor  = 11.891
  Prefactor  = 0.0001
  norm       = 10.3777
  Prefactor  = 1.62042
  Prefactor  = 83.3402
  Prefactor  = 0.0001
  Normalizat = 0.556345
  Prefactor  = 1.35046
 **********
 **   18 **HESSE 
 **********

 FCN=   5927.072     FROM HESSE     STATUS=OK           424 CALLS     2260 TOTAL
                     EDM=   .50E-06    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  norm          3.2463        10.605        .56157E-02   -1.5348    
   2  norm          .10000E-03    6.6935        .90712E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   3  norm          .18683        1.4827        .99180E-02   -1.5622    
   4  Prefactor     .10001E-03    30.499        .90712E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   5  norm          .10000E-03    1.4062        .90712E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   6  norm          .10000E-03    10.126        .90712E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   7  Prefactor     .10040E-03    74.166        .90712E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   8  Prefactor     .10041E-03    58.359        .90712E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   9  Prefactor     .35627        1.8168        .58175E-01   -1.5589    
  10  Prefactor     .10000E-03    6.8939        .90712E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  11  norm          .10000E-03    1.4257        .31920E-01   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  12  Prefactor     .10000E-03    20.747        .90712E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  13  Prefactor     .10033E-03    79.671        .90712E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  14  Prefactor     4.8071        13.141        .45839E-02   -1.5269    
  15  Prefactor     8.4206        69.775        .34524E-02   -1.5128    
  16  Prefactor     11.891        25.492        .28971E-02   -1.5018    
  17  Prefactor     .10000E-03    3.6144        .90712E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  18  norm          10.378        7.2260        .31093E-02   -1.5064    
  19  Prefactor     1.6204        22.009        .82950E-02   -1.5453    
  20  Prefactor     83.340        52.660        .11000E-02   -1.3880    
  21  Prefactor     .10000E-03    4.8372        .90712E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  22  Normalizat    .55635        .29713        .10219       -1.0987    
  23  Prefactor     1.3505        .15183        .31784E-01   -.81819    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 4.96092e-07
Minuit parameter uncertainties:
  1  10.6113
  2  1.58037e-05
  3  1.05239
  4  0.000967215
  5  1.88005e-05
  6  4.35647e-05
  7  0.0109385
  8  0.00975302
  9  1.6089
  10  0.000141979
  11  3.45778e-06
  12  0.000172742
  13  0.0102564
  14  13.1487
  15  48.5557
  16  25.5156
  17  2.1026e-05
  18  7.22663
  19  11.949
  20  52.6892
  21  4.54752e-05
  22  0.297983
  23  0.151879
Done.

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

Extracting fit parameters...

4FGL J2056.2-4714
   Spectrum: LogParabola
291         norm:  1.000e-04  3.458e-06  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.350e+00  1.519e-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:  5.563e-01  2.980e-01  1.000e-02  1.000e+01 ( 1.000e+00)


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

Saving results to:
/scratch/kocevski/464955/likelihoodResults_660009601_660268801_4FGL_J2056.2-4714_daily_bin1623.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) = 5927.07436195
delta logL = -0.00186670096355

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

MINUIT Return Code (Free Index): 102
logL (Free Index) = 5927.07249679
delta logL = -1.5353980416e-06

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'norm      '    .10543E-03   1.0000         .10000E-03   10000.    
     2 'alpha     '    2.3785       1.0000          .0000       5.0000    
     3 'Normalizat'    .55604       1.0000         .10000E-01   10.000    
     4 'Prefactor '    1.3507       1.0000          .0000       10.000    
 **********
 **   15 **SET ERR    .5000    
 **********
 **********
 **   16 **SET GRAD    1.000    
 **********
 **********
 **   17 **MINIMIZE    .5520E+05   .2000E-04
 **********

 MIGRAD MINIMIZATION HAS CONVERGED.

 MIGRAD WILL VERIFY CONVERGENCE AND ERROR MATRIX.

 MIGRAD MINIMIZATION HAS CONVERGED.

 MIGRAD WILL VERIFY CONVERGENCE AND ERROR MATRIX.

 FCN=   5927.072     FROM MIGRAD    STATUS=CONVERGED    106 CALLS      266 TOTAL
                     EDM=   .17E-08    STRATEGY= 1      ERR MATRIX NOT POS-DEF

  EXT PARAMETER                APPROXIMATE        STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  norm          .10000E-03    517.44        .17740E-02** at limit **
   2  alpha         2.8104        3.4861        .16485        .33861E-07
   3  Normalizat    .55634        .10448        .45292E-03   -.68187E-03
   4  Prefactor     1.3505        .57807E-01    .16720E-03   -.19146E-02
                               ERR DEF=  .500    
Final values: 
  norm       = 0.0001
  alpha      = 2.81035
  Normalizat = 0.556342
  Prefactor  = 1.35045
 **********
 **   18 **HESSE 
 **********

 FCN=   5927.072     FROM HESSE     STATUS=OK            23 CALLS      289 TOTAL
                     EDM=   .19E-08    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  norm          .10000E-03    3.2898        .35479E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   2  alpha         2.8104        3.8191        .65941E-02    .12446    
   3  Normalizat    .55634        .28435        .18117E-04   -1.0987    
   4  Prefactor     1.3505        .15884        .33440E-04   -.81819    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 1.8724e-09
Minuit parameter uncertainties:
  1  1.5085e-06
  2  159.144
  3  0.285093
  4  0.158893
shell-init: error retrieving current directory: getcwd: cannot access parent directories: No such file or directory
rmdir: failed to remove `/scratch/kocevski/464955': 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) = 5927.07249092
delta logL = 4.32755859947e-06

Extracting fit parameters...

4FGL J2056.2-4714
   Spectrum: LogParabola
291         norm:  1.000e-04  1.508e-06  1.000e-04  1.000e+04 ( 1.000e-11)
292        alpha:  2.810e+00  1.591e+02  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.350e+00  1.589e-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:  5.563e-01  2.851e-01  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/464955/cmap_HighResolution_660009601_660268801_4FGL_J2056.2-4714_daily_bin1623.png

Cleaning up...

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

Updating database...

UPDATE lightcurve_data_v2 SET energy_flux_upper_limit='3.35e-05', job_status='DONE', photon_flux_upper_limit='1.09e-07', time_completed='2021-12-08 07:28:25.737940', job_id='464955', GAL2='1.35', fit_tolerance='1e-08', EG2='0.56', EG='0.56', time_epoch_completed='1638977305.74', return_code2='0', ts='-0.00', comment='SUCCESS', return_code='0', GAL='1.35', dlogl='4.33e-06', ts2='-0.00', photon_index_error='0.00', photon_index='2.35' WHERE bin_id='1623' AND source_name='4FGL J2056.2-4714' AND cadence='daily';

Database successfully updated.


Analysis Complete.


Wed Dec  8 07:28:25 PST 2021


------------------------------------------------------------
Sender: LSF System <lsf@bullet0207>
Subject: Job 464955: <4FGL_J2056.2-4714_daily_bin1623> in cluster <slac> Done

Job <4FGL_J2056.2-4714_daily_bin1623> was submitted from host <rhel6-64p> by user <kocevski> in cluster <slac> at Wed Dec  8 07:15:32 2021
Job was executed on host(s) <bullet0207>, in queue <medium>, as user <kocevski> in cluster <slac> at Wed Dec  8 07:17:41 2021
</u/ki/kocevski> was used as the home directory.
</u/ki/kocevski> was used as the working directory.
Started at Wed Dec  8 07:17:41 2021
Terminated at Wed Dec  8 07:28:26 2021
Results reported at Wed Dec  8 07:28:26 2021

Your job looked like:

------------------------------------------------------------
# LSBATCH: User input
/nfs/farm/g/glast/g/LCRepository/Likelihood/Scripts/LikelihoodAnalysis.py 4FGL_J2056.2-4714_daily_bin1623 314.072 -47.2369 660009601 660268801 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 :                                   574.00 sec.
    Max Memory :                                 1257 MB
    Average Memory :                             327.87 MB
    Total Requested Memory :                     -
    Delta Memory :                               -
    Max Swap :                                   -
    Max Processes :                              5
    Max Threads :                                21
    Run time :                                   645 sec.
    Turnaround time :                            774 sec.

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

