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


Performing analysis on: 4FGL_J2056.2-4714_daily_bin1607
RA = 314.072, Dec = -47.2369
tmin = 655862401, tmax = 656121601
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='464929', job_status='RUN', time_executed='2021-12-08 07:18:21.906009', time_epoch_executed='1638976701.91' WHERE source_name='4FGL J2056.2-4714' and cadence='daily' and bin_id='1607'

Database successfully updated.
Done.

Creating custom output directory:
/scratch/kocevski/464929

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

Retrieving the FT1 file...

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

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

Retrieving 46 files...
Done.


Merging files...

Checksum keywords updated successfully.

Merged file saved to:
/scratch/kocevski/464929/ft1_4FGL_J2056.2-4714_daily_bin1607.fits


Retrieving the FT1 file...

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

Retrieving 46 files...
Done.


Merging files...

Merged file saved to:
/scratch/kocevski/464929/ft2_4FGL_J2056.2-4714_daily_bin1607.fits


Selecting the photons:
time -p gtselect infile=/scratch/kocevski/464929/ft1_4FGL_J2056.2-4714_daily_bin1607.fits outfile=/scratch/kocevski/464929/ft1_filteredMKT_4FGL_J2056.2-4714_daily_bin1607.fits ra=314.072 dec=-47.2369 rad=12.0 tmin=655862401.0 tmax=656121601.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.58
user 4.31
sys 0.22

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

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

Generating the livetime cube:
time -p gtltcube evfile="/scratch/kocevski/464929/ft1_filtered_4FGL_J2056.2-4714_daily_bin1607.fits" evtable="EVENTS" scfile=/scratch/kocevski/464929/ft2_4FGL_J2056.2-4714_daily_bin1607.fits sctable="SC_DATA" outfile=/scratch/kocevski/464929/ltcube_655862401_656121601_4FGL_J2056.2-4714_daily_bin1607.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/464929/ft2_4FGL_J2056.2-4714_daily_bin1607.fits
.....................!
real 12.21
user 11.82
sys 0.35

Generating the exposure map:
time -p gtexpmap evfile=/scratch/kocevski/464929/ft1_filtered_4FGL_J2056.2-4714_daily_bin1607.fits evtable="EVENTS" scfile=/scratch/kocevski/464929/ft2_4FGL_J2056.2-4714_daily_bin1607.fits sctable="SC_DATA" expcube=/scratch/kocevski/464929/ltcube_655862401_656121601_4FGL_J2056.2-4714_daily_bin1607.fits outfile=/scratch/kocevski/464929/expmap_655862401_656121601_4FGL_J2056.2-4714_daily_bin1607.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/464929/ltcube_655862401_656121601_4FGL_J2056.2-4714_daily_bin1607.fits
.....................!
real 192.31
user 187.52
sys 4.40

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/464929/ft1_filtered_4FGL_J2056.2-4714_daily_bin1607.fits scfile=/scratch/kocevski/464929/ft2_4FGL_J2056.2-4714_daily_bin1607.fits outfile=/scratch/kocevski/464929/cmap_655862401_656121601_4FGL_J2056.2-4714_daily_bin1607.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.55
user 0.39
sys 0.13

Creating the high resolution counts map:
time -p gtbin evfile=/scratch/kocevski/464929/ft1_filtered_4FGL_J2056.2-4714_daily_bin1607.fits scfile=/scratch/kocevski/464929/ft2_4FGL_J2056.2-4714_daily_bin1607.fits outfile=/scratch/kocevski/464929/cmap_HighResolution_655862401_656121601_4FGL_J2056.2-4714_daily_bin1607.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.54
user 0.39
sys 0.15

Computing the diffuse response:
time -p gtdiffrsp evfile=/scratch/kocevski/464929/ft1_filtered_4FGL_J2056.2-4714_daily_bin1607.fits evtable="EVENTS" scfile=/scratch/kocevski/464929/ft2_4FGL_J2056.2-4714_daily_bin1607.fits sctable="SC_DATA" srcmdl=/scratch/kocevski/464929/Model_4FGL_J2056.2-4714_daily_bin1607.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/464929/ft1_filtered_4FGL_J2056.2-4714_daily_bin1607.fits.....................!
real 46.99
user 45.67
sys 1.23

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

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

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

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'norm      '    .10021E-03   1.0000         .10000E-03   10000.    
     2 'norm      '    25.898       1.0000         .10000E-03   10000.    
     3 'norm      '    .10015E-03   1.0000         .10000E-03   10000.    
     4 'Prefactor '    .10027E-03   1.0000         .10000E-03   10000.    
     5 'norm      '    .10007E-03   1.0000         .10000E-03   10000.    
     6 'norm      '    .10001E-03   1.0000         .10000E-03   10000.    
     7 'Prefactor '    .10003E-03   1.0000         .10000E-03   10000.    
     8 'Prefactor '    .10002E-03   1.0000         .10000E-03   10000.    
     9 'Prefactor '    .12788E-03   1.0000         .10000E-03   10000.    
    10 'Prefactor '    .10002E-03   1.0000         .10000E-03   10000.    
    11 'norm      '    2.6181       1.0000         .10000E-03   10000.    
    12 'Prefactor '    79.247       1.0000         .10000E-03   10000.    
    13 'Prefactor '    39.257       1.0000         .10000E-03   10000.    
    14 'Prefactor '    7.5827       1.0000         .10000E-03   10000.    
    15 'Prefactor '    49.988       1.0000         .10000E-03   10000.    
    16 'Prefactor '    57.403       1.0000         .10000E-03   10000.    
    17 'Prefactor '    5.8007       1.0000         .10000E-03   10000.    
    18 'norm      '    .10185E-03   1.0000         .10000E-03   10000.    
    19 'Prefactor '    .10002E-03   1.0000         .10000E-03   10000.    
    20 'Prefactor '    .10004E-03   1.0000         .10000E-03   10000.    
    21 'Prefactor '    .10004E-03   1.0000         .10000E-03   10000.    
    22 'Normalizat'    1.0501       1.0000         .10000E-01   10.000    
    23 'Prefactor '    .99019       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=   5623.304     FROM MIGRAD    STATUS=CONVERGED    503 CALLS     2501 TOTAL
                     EDM=   .55E-09  STRATEGY=1  ERROR MATRIX UNCERTAINTY=  2.6%

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  norm          .10000E-03    5.5508        .23981E-06** at limit **
   2  norm          25.903        28.533        .78248E-06    .60460E-04
   3  norm          .10000E-03    .97365        .17887E-07** at limit **
   4  Prefactor     .10000E-03    39.166       -.65194E-06** at limit **
   5  norm          .10000E-03    3.7315        .30194E-06** at limit **
   6  norm          .10000E-03    6.6111       -.15342E-06** at limit **
   7  Prefactor     .10000E-03    11.918        .31984E-06** at limit **
   8  Prefactor     .10000E-03    26.101        .86150E-06** at limit **
   9  Prefactor     .10007E-03    1.7496        .88090E-06** at limit **
  10  Prefactor     .10000E-03    14.705       -.55640E-06** at limit **
  11  norm          2.6184        2.3734        .17351E-07   -.62912E-04
  12  Prefactor     79.245        49.955        .72918E-07   -.28653E-04
  13  Prefactor     39.260        42.444        .17059E-06    .23511E-04
  14  Prefactor     7.5890        10.822        .34426E-05    .13315E-03
  15  Prefactor     49.983        40.459       -.88992E-06   -.81389E-04
  16  Prefactor     57.415        30.008        .43752E-06    .18771E-03
  17  Prefactor     5.8024        5.1740       -.87003E-08   -.32140E-04
  18  norm          .10000E-03    2.7354       -.13732E-06** at limit **
  19  Prefactor     .10000E-03    4.2356       -.11004E-06** at limit **
  20  Prefactor     .10000E-03    13.964       -.36502E-06** at limit **
  21  Prefactor     .10000E-03    3.6620       -.48709E-07** at limit **
  22  Normalizat    1.0495        .26823       -.18094E-05   -.10276E-03
  23  Prefactor     .99056        .13261        .36589E-06   -.27174E-03
                               ERR DEF=  .500    
Final values: 
  norm       = 0.0001
  norm       = 25.9032
  norm       = 0.0001
  Prefactor  = 0.000100001
  norm       = 0.0001
  norm       = 0.0001
  Prefactor  = 0.0001
  Prefactor  = 0.000100002
  Prefactor  = 0.000100074
  Prefactor  = 0.000100001
  norm       = 2.61837
  Prefactor  = 79.2451
  Prefactor  = 39.2603
  Prefactor  = 7.58902
  Prefactor  = 49.9832
  Prefactor  = 57.4149
  Prefactor  = 5.80241
  norm       = 0.0001
  Prefactor  = 0.0001
  Prefactor  = 0.0001
  Prefactor  = 0.0001
  Normalizat = 1.04947
  Prefactor  = 0.99056
 **********
 **   18 **HESSE 
 **********

 FCN=   5623.304     FROM HESSE     STATUS=OK           358 CALLS     2859 TOTAL
                     EDM=   .65E-08    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  norm          .10000E-03    5.5687        .17252E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   2  norm          25.903        28.503        .78717E-04   -1.4690    
   3  norm          .10000E-03    .99312        .72226E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   4  Prefactor     .10000E-03    39.264        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   5  norm          .10000E-03    3.8215        .28254E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   6  norm          .10000E-03    6.6165        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   7  Prefactor     .10000E-03    11.941        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   8  Prefactor     .10000E-03    26.241        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   9  Prefactor     .10007E-03    11.910        .16885E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  10  Prefactor     .10000E-03    14.840        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  11  norm          2.6184        2.3657        .10418E-03   -1.5384    
  12  Prefactor     79.245        49.956        .45113E-04   -1.3925    
  13  Prefactor     39.260        42.451        .63973E-04   -1.4454    
  14  Prefactor     7.5890        10.926        .72818E-03   -1.5157    
  15  Prefactor     49.983        40.583        .56720E-04   -1.4293    
  16  Prefactor     57.415        30.153        .52949E-04   -1.4191    
  17  Prefactor     5.8024        5.1779        .15345E-03   -1.5226    
  18  norm          .10000E-03    2.7482        .12105E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  19  Prefactor     .10000E-03    4.2390        .15074E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  20  Prefactor     .10000E-03    13.990        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  21  Prefactor     .10000E-03    3.6665        .14015E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  22  Normalizat    1.0495        .31774        .34136E-03   -.91391    
  23  Prefactor     .99056        .15903        .18521E-03   -.93045    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 6.45349e-09
Minuit parameter uncertainties:
  1  3.05016e-05
  2  28.5176
  3  6.35271e-07
  4  0.000402833
  5  2.06529e-05
  6  3.99572e-05
  7  0.000108243
  8  0.000443945
  9  0.001879
  10  0.000200562
  11  2.36576
  12  49.9828
  13  42.484
  14  10.9293
  15  40.6058
  16  30.1607
  17  5.17831
  18  1.72946e-06
  19  1.634e-05
  20  0.00012901
  21  8.72892e-06
  22  0.318314
  23  0.159102
Done.

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

Extracting fit parameters...

4FGL J2056.2-4714
   Spectrum: LogParabola
291         norm:  2.618e+00  2.366e+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:  9.906e-01  1.591e-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.049e+00  3.183e-01  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Fixed Index): 2.10
Ra Dec: 314.072 -47.237
Photon Index (Fixed Index): 2.35 +/- 0.00
Photon Flux (Fixed Index): 5.88e-08 +/- 5.31e-08
Energy Flux (Fixed Index): 1.80e-05 +/- 1.62e-05

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

Saving results to:
/scratch/kocevski/464929/likelihoodResults_655862401_656121601_4FGL_J2056.2-4714_daily_bin1607.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) = 5623.30055825
delta logL = 0.00304748453163

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

MINUIT Return Code (Free Index): 0
logL (Free Index) = 5623.30007319
delta logL = 0.00353254199672

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'norm      '    2.6473       1.0000         .10000E-03   10000.    
     2 'alpha     '    2.4563       1.0000          .0000       5.0000    
     3 'Normalizat'    1.0407       1.0000         .10000E-01   10.000    
     4 'Prefactor '    .99366       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=   5623.300     FROM MIGRAD    STATUS=CONVERGED     51 CALLS      200 TOTAL
                     EDM=   .51E-08    STRATEGY= 1      ERR MATRIX NOT POS-DEF

  EXT PARAMETER                APPROXIMATE        STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  norm          2.6477        87.292        .62641E-02    .32834E-03
   2  alpha         2.4564        3.7665        .41160       -.19970E-05
   3  Normalizat    1.0410        .17590        .77403E-01    .15003E-04
   4  Prefactor     .99353        .86816E-01    .46188E-01   -.22909E-04
                               ERR DEF=  .500    
Final values: 
  norm       = 2.64767
  alpha      = 2.45642
  Normalizat = 1.04096
  Prefactor  = 0.993528
 **********
 **   18 **HESSE 
 **********

 FCN=   5623.300     FROM HESSE     STATUS=OK            33 CALLS      233 TOTAL
                     EDM=   .24E-10    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  norm          2.6477        2.3476        .10266E-03   -1.5383    
   2  alpha         2.4564        1.1880        .25126E-01   -.17433E-01
   3  Normalizat    1.0410        .31420        .34259E-03   -.91671    
   4  Prefactor     .99353        .16100        .18496E-03   -.92946    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 2.41893e-11
Minuit parameter uncertainties:
  1  2.34765
  2  1.23802
  3  0.314763
  4  0.161078
shell-init: error retrieving current directory: getcwd: cannot access parent directories: No such file or directory
rmdir: failed to remove `/scratch/kocevski/464929': 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) = 5623.30007274
delta logL = 0.00353299439939

Extracting fit parameters...

4FGL J2056.2-4714
   Spectrum: LogParabola
291         norm:  2.648e+00  2.348e+00  1.000e-04  1.000e+04 ( 1.000e-11)
292        alpha:  2.456e+00  1.238e+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:  9.935e-01  1.611e-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.041e+00  3.148e-01  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Free Index): 2.11
Ra Dec: 314.072 -47.237
Photon Index (Free Index): 2.46 +/- 1.24
Photon Flux (Free Index): 6.44e-08 +/- 8.44e-08
Energy Flux (Free Index): 1.80e-05 +/- 1.60e-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/464929/cmap_HighResolution_655862401_656121601_4FGL_J2056.2-4714_daily_bin1607.png

Cleaning up...

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

Updating database...

UPDATE lightcurve_data_v2 SET energy_flux_upper_limit='5.42e-05', comment='SUCCESS', photon_flux='5.88e-08', energy_flux2='1.80e-05', photon_flux_error='5.31e-08', dlogl='3.53e-03', energy_flux='1.80e-05', photon_flux2='6.44e-08', job_status='DONE', time_completed='2021-12-08 07:28:12.619420', photon_index_error2='1.24', photon_index2='2.46', ts='2.10', fit_tolerance='1e-08', GAL='0.99', photon_index_error='0.00', photon_flux_upper_limit='1.77e-07', energy_flux_error2='1.60e-05', EG='1.05', time_epoch_completed='1638977292.62', return_code='0', job_id='464929', GAL2='0.99', EG2='1.04', return_code2='0', energy_flux_error='1.62e-05', photon_flux_error2='8.44e-08', ts2='2.11', photon_index='2.35' WHERE bin_id='1607' AND source_name='4FGL J2056.2-4714' AND cadence='daily';

Database successfully updated.


Analysis Complete.


Wed Dec  8 07:28:12 PST 2021


------------------------------------------------------------
Sender: LSF System <lsf@bullet0233>
Subject: Job 464929: <4FGL_J2056.2-4714_daily_bin1607> in cluster <slac> Done

Job <4FGL_J2056.2-4714_daily_bin1607> was submitted from host <rhel6-64p> by user <kocevski> in cluster <slac> at Wed Dec  8 07:15:30 2021
Job was executed on host(s) <bullet0233>, in queue <medium>, as user <kocevski> in cluster <slac> at Wed Dec  8 07:17:15 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:15 2021
Terminated at Wed Dec  8 07:28:13 2021
Results reported at Wed Dec  8 07:28:13 2021

Your job looked like:

------------------------------------------------------------
# LSBATCH: User input
/nfs/farm/g/glast/g/LCRepository/Likelihood/Scripts/LikelihoodAnalysis.py 4FGL_J2056.2-4714_daily_bin1607 314.072 -47.2369 655862401 656121601 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 :                                   590.00 sec.
    Max Memory :                                 1257 MB
    Average Memory :                             330.48 MB
    Total Requested Memory :                     -
    Delta Memory :                               -
    Max Swap :                                   -
    Max Processes :                              5
    Max Threads :                                21
    Run time :                                   657 sec.
    Turnaround time :                            763 sec.

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

