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


Performing analysis on: 4FGL_J2056.2-4714_daily_bin1321
RA = 314.072, Dec = -47.2369
tmin = 581731201, tmax = 581990401
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='213942', job_status='RUN', time_executed='2021-09-25 21:49:49.914630', time_epoch_executed='1632631789.91' WHERE source_name='4FGL J2056.2-4714' and cadence='daily' and bin_id='1321'

Database successfully updated.
Done.

Creating custom output directory:
/scratch/kocevski/213942

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

Retrieving the FT1 file...

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

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

Retrieving 47 files...
Done.


Merging files...

Checksum keywords updated successfully.

Merged file saved to:
/scratch/kocevski/213942/ft1_4FGL_J2056.2-4714_daily_bin1321.fits


Retrieving the FT1 file...

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

Retrieving 47 files...
Done.


Merging files...

Merged file saved to:
/scratch/kocevski/213942/ft2_4FGL_J2056.2-4714_daily_bin1321.fits


Selecting the photons:
time -p gtselect infile=/scratch/kocevski/213942/ft1_4FGL_J2056.2-4714_daily_bin1321.fits outfile=/scratch/kocevski/213942/ft1_filteredMKT_4FGL_J2056.2-4714_daily_bin1321.fits ra=314.072 dec=-47.2369 rad=12.0 tmin=581731201.0 tmax=581990401.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 2.55
user 2.31
sys 0.21

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

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

Generating the livetime cube:
time -p gtltcube evfile="/scratch/kocevski/213942/ft1_filtered_4FGL_J2056.2-4714_daily_bin1321.fits" evtable="EVENTS" scfile=/scratch/kocevski/213942/ft2_4FGL_J2056.2-4714_daily_bin1321.fits sctable="SC_DATA" outfile=/scratch/kocevski/213942/ltcube_581731201_581990401_4FGL_J2056.2-4714_daily_bin1321.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/213942/ft2_4FGL_J2056.2-4714_daily_bin1321.fits
.....................!
real 15.25
user 14.82
sys 0.36

Generating the exposure map:
time -p gtexpmap evfile=/scratch/kocevski/213942/ft1_filtered_4FGL_J2056.2-4714_daily_bin1321.fits evtable="EVENTS" scfile=/scratch/kocevski/213942/ft2_4FGL_J2056.2-4714_daily_bin1321.fits sctable="SC_DATA" expcube=/scratch/kocevski/213942/ltcube_581731201_581990401_4FGL_J2056.2-4714_daily_bin1321.fits outfile=/scratch/kocevski/213942/expmap_581731201_581990401_4FGL_J2056.2-4714_daily_bin1321.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/213942/ltcube_581731201_581990401_4FGL_J2056.2-4714_daily_bin1321.fits
.....................!
real 193.57
user 186.96
sys 6.09

Generating the xml model:
radLim = 0.001
maxRad = 12
normsOnly = True
freeVariableSources = True
Fixing all sources to their catalog values, except variable sources
Creating file and adding sources from 4FGL
Added 165 point sources and 0 extended sources

Setting source of interest to:
4FGL J2056.2-4714 @ 314.072 -47.2369

Creating the counts map:
time -p gtbin evfile=/scratch/kocevski/213942/ft1_filtered_4FGL_J2056.2-4714_daily_bin1321.fits scfile=/scratch/kocevski/213942/ft2_4FGL_J2056.2-4714_daily_bin1321.fits outfile=/scratch/kocevski/213942/cmap_581731201_581990401_4FGL_J2056.2-4714_daily_bin1321.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.16

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

Computing the diffuse response:
time -p gtdiffrsp evfile=/scratch/kocevski/213942/ft1_filtered_4FGL_J2056.2-4714_daily_bin1321.fits evtable="EVENTS" scfile=/scratch/kocevski/213942/ft2_4FGL_J2056.2-4714_daily_bin1321.fits sctable="SC_DATA" srcmdl=/scratch/kocevski/213942/Model_4FGL_J2056.2-4714_daily_bin1321.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/213942/ft1_filtered_4FGL_J2056.2-4714_daily_bin1321.fits.....................!
real 52.01
user 50.63
sys 1.22

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

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

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

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'norm      '    .10002E-03   1.0000         .10000E-03   10000.    
     2 'norm      '    3.2532       1.0000         .10000E-03   10000.    
     3 'norm      '    .46982       1.0000         .10000E-03   10000.    
     4 'Prefactor '    114.32       1.0000         .10000E-03   10000.    
     5 'norm      '    3.5079       1.0000         .10000E-03   10000.    
     6 'norm      '    .10002E-03   1.0000         .10000E-03   10000.    
     7 'Prefactor '    .10001E-03   1.0000         .10000E-03   10000.    
     8 'Prefactor '    .10000E-03   1.0000         .10000E-03   10000.    
     9 'Prefactor '    1.9364       1.0000         .10000E-03   10000.    
    10 'Prefactor '    7.2266       1.0000         .10000E-03   10000.    
    11 'norm      '    28.357       1.0000         .10000E-03   10000.    
    12 'Prefactor '    45.916       1.0000         .10000E-03   10000.    
    13 'Prefactor '    .10024E-03   1.0000         .10000E-03   10000.    
    14 'Prefactor '    .10008E-03   1.0000         .10000E-03   10000.    
    15 'Prefactor '    33.369       1.0000         .10000E-03   10000.    
    16 'Prefactor '    16.380       1.0000         .10000E-03   10000.    
    17 'Prefactor '    .10000E-03   1.0000         .10000E-03   10000.    
    18 'norm      '    2.6057       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 '    16.651       1.0000         .10000E-03   10000.    
    22 'Normalizat'    1.9555       1.0000         .10000E-01   10.000    
    23 'Prefactor '    .76564       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=   6124.686     FROM MIGRAD    STATUS=CONVERGED    493 CALLS     2514 TOTAL
                     EDM=   .13E-08  STRATEGY=1  ERROR MATRIX UNCERTAINTY=   .5%

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  norm          .10000E-03    5.0873       -.80685E-07** at limit **
   2  norm          3.2469        38.707       -.69726E-05   -.23125E-04
   3  norm          .46952        1.4547       -.43105E-06   -.14392E-02
   4  Prefactor     114.34        110.77        .15041E-04   -.45246E-05
   5  norm          3.5076        4.3671       -.31104E-05   -.11137E-03
   6  norm          .10000E-03    12.896        .13804E-05** at limit **
   7  Prefactor     .10000E-03    15.796       -.36708E-05** at limit **
   8  Prefactor     .10000E-03    24.052        .19778E-05** at limit **
   9  Prefactor     1.9364        3.9161       -.35793E-05   -.11444E-02
  10  Prefactor     7.2496        42.536        .50658E-04    .12658E-04
  11  norm          28.358        5.0005        .25761E-06   -.19573E-03
  12  Prefactor     45.910        34.793       -.48090E-05   -.65881E-05
  13  Prefactor     .10000E-03    47.049        .65024E-06** at limit **
  14  Prefactor     .10000E-03    12.216       -.16428E-07** at limit **
  15  Prefactor     33.374        26.547        .36103E-05   -.11510E-04
  16  Prefactor     16.383        19.490        .98710E-06   -.22239E-04
  17  Prefactor     .10000E-03    2.2790        .20372E-08** at limit **
  18  norm          2.6057        3.6730       -.69769E-06   -.24483E-03
  19  Prefactor     .10000E-03    9.6754       -.48394E-06** at limit **
  20  Prefactor     .10000E-03    12.960        .15073E-05** at limit **
  21  Prefactor     16.656        13.087        .31033E-06   -.65180E-04
  22  Normalizat    1.9550        .29303       -.47016E-05    .16510E-03
  23  Prefactor     .76585        .14680        .74772E-06   -.16692E-03
                               ERR DEF=  .500    
Final values: 
  norm       = 0.0001
  norm       = 3.24691
  norm       = 0.469518
  Prefactor  = 114.341
  norm       = 3.50757
  norm       = 0.0001
  Prefactor  = 0.0001
  Prefactor  = 0.0001
  Prefactor  = 1.93639
  Prefactor  = 7.24956
  norm       = 28.3575
  Prefactor  = 45.9101
  Prefactor  = 0.0001
  Prefactor  = 0.0001
  Prefactor  = 33.3738
  Prefactor  = 16.3826
  Prefactor  = 0.0001
  norm       = 2.60573
  Prefactor  = 0.0001
  Prefactor  = 0.0001
  Prefactor  = 16.6557
  Normalizat = 1.95501
  Prefactor  = 0.765854
 **********
 **   18 **HESSE 
 **********

 FCN=   6124.686     FROM HESSE     STATUS=OK           372 CALLS     2886 TOTAL
                     EDM=   .23E-08    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  norm          .10000E-03    5.0924        .17239E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   2  norm          3.2469        38.639        .22454E-03   -1.5348    
   3  norm          .46952        1.3230        .16181E-02   -1.5571    
   4  Prefactor     114.34        110.49        .18813E-03   -1.3565    
   5  norm          3.5076        4.3559        .17582E-03   -1.5333    
   6  norm          .10000E-03    12.907        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   7  Prefactor     .10000E-03    15.796        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   8  Prefactor     .10000E-03    24.052        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   9  Prefactor     1.9364        3.9599        .20887E-03   -1.5430    
  10  Prefactor     7.2496        42.052        .14921E-03   -1.5169    
  11  norm          28.358        5.0146        .69222E-04   -1.4642    
  12  Prefactor     45.910        34.792        .59170E-04   -1.4352    
  13  Prefactor     .10000E-03    47.098        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  14  Prefactor     .10000E-03    12.440        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  15  Prefactor     33.374        26.534        .69368E-04   -1.4552    
  16  Prefactor     16.383        19.518        .98961E-04   -1.4898    
  17  Prefactor     .10000E-03    2.2982        .11534E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  18  norm          2.6057        3.6619        .17198E-03   -1.5385    
  19  Prefactor     .10000E-03    9.7600        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  20  Prefactor     .10000E-03    12.963        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  21  Prefactor     16.656        13.160        .98151E-04   -1.4892    
  22  Normalizat    1.9550        .34274        .31684E-03   -.65683    
  23  Prefactor     .76585        .17107        .24660E-03   -1.0100    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 2.32588e-09
Minuit parameter uncertainties:
  1  8.75783e-06
  2  22.4193
  3  1.32309
  4  110.686
  5  4.35629
  6  3.05341e-06
  7  1.30297e-05
  8  6.61063e-06
  9  3.96044
  10  34.9575
  11  5.01467
  12  34.8069
  13  0.000168747
  14  1.55663e-05
  15  26.5431
  16  19.5254
  17  5.63269e-07
  18  3.66219
  19  2.51123e-05
  20  6.83297e-06
  21  13.1625
  22  0.343169
  23  0.171189
Done.

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

Extracting fit parameters...

4FGL J2056.2-4714
   Spectrum: LogParabola
291         norm:  2.836e+01  5.015e+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:  7.659e-01  1.712e-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.955e+00  3.432e-01  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Fixed Index): 95.43
Ra Dec: 314.072 -47.237
Photon Index (Fixed Index): 2.35 +/- 0.00
Photon Flux (Fixed Index): 6.37e-07 +/- 1.13e-07
Energy Flux (Fixed Index): 1.95e-04 +/- 3.44e-05

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) = 6124.53442938
delta logL = 0.151769652018

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

MINUIT Return Code (Free Index): 0
logL (Free Index) = 6124.51492348
delta logL = 0.171275557589

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'norm      '    27.494       1.0000         .10000E-03   10000.    
     2 'alpha     '    2.4790       1.0000          .0000       5.0000    
     3 'Normalizat'    1.9047       1.0000         .10000E-01   10.000    
     4 'Prefactor '    .78402       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=   6124.515     FROM MIGRAD    STATUS=CONVERGED     50 CALLS      201 TOTAL
                     EDM=   .28E-08    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  norm          27.494        6.4108        .19101E-02    .40442E-02
   2  alpha         2.4790        .26784        .13258       -.47206E-04
   3  Normalizat    1.9047        .28671        .72249E-01   -.60524E-04
   4  Prefactor     .78403        .14675        .43509E-01   -.75123E-04
                               ERR DEF=  .500    
Final values: 
  norm       = 27.4937
  alpha      = 2.47901
  Normalizat = 1.90467
  Prefactor  = 0.78403
 **********
 **   18 **HESSE 
 **********

 FCN=   6124.515     FROM HESSE     STATUS=OK            27 CALLS      228 TOTAL
                     EDM=   .18E-08    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  norm          27.494        5.1164        .66926E-04   -1.4659    
   2  alpha         2.4790        .21788        .57854E-03   -.83946E-02
   3  Normalizat    1.9047        .33745        .31960E-03   -.66962    
   4  Prefactor     .78403        .17155        .24404E-03   -1.0032    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 1.80984e-09
Minuit parameter uncertainties:
  1  5.1165
  2  0.218161
  3  0.337865
  4  0.171672
shell-init: error retrieving current directory: getcwd: cannot access parent directories: No such file or directory
rmdir: failed to remove `/scratch/kocevski/213942': 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) = 6124.51492346
delta logL = 0.17127557449

Extracting fit parameters...

4FGL J2056.2-4714
   Spectrum: LogParabola
291         norm:  2.749e+01  5.116e+00  1.000e-04  1.000e+04 ( 1.000e-11)
292        alpha:  2.479e+00  2.182e-01  0.000e+00  5.000e+00 ( 1.000e+00)
293         beta:  1.074e-01  0.000e+00  0.000e+00  1.000e+01 ( 1.000e+00) fixed
294           Eb:  4.480e+02  0.000e+00  3.000e+01  5.000e+05 ( 1.000e+00) fixed

GAL_V02
   Spectrum: PowerLaw
549    Prefactor:  7.840e-01  1.717e-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.905e+00  3.379e-01  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Free Index): 95.23
Ra Dec: 314.072 -47.237
Photon Index (Free Index): 2.48 +/- 0.22
Photon Flux (Free Index): 6.81e-07 +/- 1.39e-07
Energy Flux (Free Index): 1.87e-04 +/- 3.45e-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/213942/cmap_HighResolution_581731201_581990401_4FGL_J2056.2-4714_daily_bin1321.png

Cleaning up...

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

Updating database...

UPDATE lightcurve_data_v2 SET comment='SUCCESS', photon_flux='6.37e-07', energy_flux2='1.87e-04', photon_flux_error='1.13e-07', dlogl='1.71e-01', energy_flux='1.95e-04', photon_flux2='6.81e-07', job_status='DONE', time_completed='2021-09-25 21:59:26.763432', photon_index_error2='0.22', photon_index2='2.48', ts='95.43', fit_tolerance='1e-08', GAL='0.77', photon_index_error='0.00', energy_flux_error2='3.45e-05', EG='1.96', time_epoch_completed='1632632366.76', return_code='0', job_id='213942', GAL2='0.78', EG2='1.90', return_code2='0', energy_flux_error='3.44e-05', photon_flux_error2='1.39e-07', ts2='95.23', photon_index='2.35' WHERE bin_id='1321' AND source_name='4FGL J2056.2-4714' AND cadence='daily';

Database successfully updated.


Analysis Complete.


Sat Sep 25 21:59:26 PDT 2021


------------------------------------------------------------
Sender: LSF System <lsf@bullet0206>
Subject: Job 213942: <4FGL_J2056.2-4714_daily_bin1321> in cluster <slac> Done

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

Your job looked like:

------------------------------------------------------------
# LSBATCH: User input
/nfs/farm/g/glast/g/LCRepository/Likelihood/Scripts/LikelihoodAnalysis.py 4FGL_J2056.2-4714_daily_bin1321 314.072 -47.2369 581731201 581990401 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.21 sec.
    Max Memory :                                 1257 MB
    Average Memory :                             349.14 MB
    Total Requested Memory :                     -
    Delta Memory :                               -
    Max Swap :                                   -
    Max Processes :                              5
    Max Threads :                                21
    Run time :                                   610 sec.
    Turnaround time :                            815 sec.

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

