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


Performing analysis on: 4FGL_J2056.2-4714_daily_bin1131
RA = 314.072, Dec = -47.2369
tmin = 532483201, tmax = 532742401
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='213642', job_status='RUN', time_executed='2021-09-25 21:47:22.042124', time_epoch_executed='1632631642.04' WHERE source_name='4FGL J2056.2-4714' and cadence='daily' and bin_id='1131'

Database successfully updated.
Done.

Creating custom output directory:
/scratch/kocevski/213642

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

Retrieving the FT1 file...

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

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

Retrieving 46 files...
Done.


Merging files...

Checksum keywords updated successfully.

Merged file saved to:
/scratch/kocevski/213642/ft1_4FGL_J2056.2-4714_daily_bin1131.fits


Retrieving the FT1 file...

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

Retrieving 46 files...
Done.


Merging files...

Merged file saved to:
/scratch/kocevski/213642/ft2_4FGL_J2056.2-4714_daily_bin1131.fits


Selecting the photons:
time -p gtselect infile=/scratch/kocevski/213642/ft1_4FGL_J2056.2-4714_daily_bin1131.fits outfile=/scratch/kocevski/213642/ft1_filteredMKT_4FGL_J2056.2-4714_daily_bin1131.fits ra=314.072 dec=-47.2369 rad=12.0 tmin=532483201.0 tmax=532742401.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.48
user 3.28
sys 0.18

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

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

Generating the livetime cube:
time -p gtltcube evfile="/scratch/kocevski/213642/ft1_filtered_4FGL_J2056.2-4714_daily_bin1131.fits" evtable="EVENTS" scfile=/scratch/kocevski/213642/ft2_4FGL_J2056.2-4714_daily_bin1131.fits sctable="SC_DATA" outfile=/scratch/kocevski/213642/ltcube_532483201_532742401_4FGL_J2056.2-4714_daily_bin1131.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/213642/ft2_4FGL_J2056.2-4714_daily_bin1131.fits
.....................!
real 14.42
user 14.02
sys 0.33

Generating the exposure map:
time -p gtexpmap evfile=/scratch/kocevski/213642/ft1_filtered_4FGL_J2056.2-4714_daily_bin1131.fits evtable="EVENTS" scfile=/scratch/kocevski/213642/ft2_4FGL_J2056.2-4714_daily_bin1131.fits sctable="SC_DATA" expcube=/scratch/kocevski/213642/ltcube_532483201_532742401_4FGL_J2056.2-4714_daily_bin1131.fits outfile=/scratch/kocevski/213642/expmap_532483201_532742401_4FGL_J2056.2-4714_daily_bin1131.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/213642/ltcube_532483201_532742401_4FGL_J2056.2-4714_daily_bin1131.fits
.....................!
real 192.04
user 186.98
sys 4.59

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/213642/ft1_filtered_4FGL_J2056.2-4714_daily_bin1131.fits scfile=/scratch/kocevski/213642/ft2_4FGL_J2056.2-4714_daily_bin1131.fits outfile=/scratch/kocevski/213642/cmap_532483201_532742401_4FGL_J2056.2-4714_daily_bin1131.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/213642/ft1_filtered_4FGL_J2056.2-4714_daily_bin1131.fits scfile=/scratch/kocevski/213642/ft2_4FGL_J2056.2-4714_daily_bin1131.fits outfile=/scratch/kocevski/213642/cmap_HighResolution_532483201_532742401_4FGL_J2056.2-4714_daily_bin1131.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.39
sys 0.15

Computing the diffuse response:
time -p gtdiffrsp evfile=/scratch/kocevski/213642/ft1_filtered_4FGL_J2056.2-4714_daily_bin1131.fits evtable="EVENTS" scfile=/scratch/kocevski/213642/ft2_4FGL_J2056.2-4714_daily_bin1131.fits sctable="SC_DATA" srcmdl=/scratch/kocevski/213642/Model_4FGL_J2056.2-4714_daily_bin1131.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/213642/ft1_filtered_4FGL_J2056.2-4714_daily_bin1131.fits.....................!
real 54.99
user 53.59
sys 1.20

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

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

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

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      '    .10034E-03   1.0000         .10000E-03   10000.    
     3 'norm      '    2.7587       1.0000         .10000E-03   10000.    
     4 'Prefactor '    82.822       1.0000         .10000E-03   10000.    
     5 'norm      '    .10002E-03   1.0000         .10000E-03   10000.    
     6 'norm      '    .10012E-03   1.0000         .10000E-03   10000.    
     7 'Prefactor '    19.835       1.0000         .10000E-03   10000.    
     8 'Prefactor '    .10142E-03   1.0000         .10000E-03   10000.    
     9 'Prefactor '    2.1442       1.0000         .10000E-03   10000.    
    10 'Prefactor '    11.801       1.0000         .10000E-03   10000.    
    11 'norm      '    4.4930       1.0000         .10000E-03   10000.    
    12 'Prefactor '    95.135       1.0000         .10000E-03   10000.    
    13 'Prefactor '    .12999E-02   1.0000         .10000E-03   10000.    
    14 'Prefactor '    .10003E-03   1.0000         .10000E-03   10000.    
    15 'Prefactor '    .10026E-03   1.0000         .10000E-03   10000.    
    16 'Prefactor '    3.9170       1.0000         .10000E-03   10000.    
    17 'Prefactor '    6.3474       1.0000         .10000E-03   10000.    
    18 'norm      '    44.179       1.0000         .10000E-03   10000.    
    19 'Prefactor '    .10288E-03   1.0000         .10000E-03   10000.    
    20 'Prefactor '    18.141       1.0000         .10000E-03   10000.    
    21 'Prefactor '    .10345E-03   1.0000         .10000E-03   10000.    
    22 'Normalizat'    1.2467       1.0000         .10000E-01   10.000    
    23 'Prefactor '    1.0560       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=   6816.417     FROM MIGRAD    STATUS=CONVERGED    507 CALLS     2554 TOTAL
                     EDM=   .26E-09  STRATEGY=1  ERROR MATRIX UNCERTAINTY=  1.1%

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  norm          .10000E-03    3.2137       -.28952E-07** at limit **
   2  norm          .10000E-03    6.3007       -.43764E-07** at limit **
   3  norm          2.7587        1.7793        .22064E-07    .14667E-04
   4  Prefactor     82.844        64.667        .14627E-05    .10151E-03
   5  norm          .10000E-03    2.9454       -.13051E-07** at limit **
   6  norm          .10000E-03    6.5535       -.28462E-07** at limit **
   7  Prefactor     19.833        21.041        .27924E-06    .35376E-04
   8  Prefactor     .10000E-03    18.386        .69204E-06** at limit **
   9  Prefactor     2.1438        3.0254        .37810E-06   -.52729E-04
  10  Prefactor     11.801        20.049        .25573E-06   -.21887E-05
  11  norm          4.4930        2.1592        .17820E-07   -.46829E-04
  12  Prefactor     95.200        47.020        .24602E-05    .37142E-03
  13  Prefactor     .10001E-03    264.27        .65786E-05** at limit **
  14  Prefactor     .10000E-03    3.8137       -.10270E-06** at limit **
  15  Prefactor     .10000E-03    18.081       -.72036E-06** at limit **
  16  Prefactor     3.9080        42.178        .17123E-05    .26574E-04
  17  Prefactor     6.3473        5.4751        .24692E-05   -.26350E-03
  18  norm          44.184        9.9809        .31805E-08   -.27736E-04
  19  Prefactor     .10000E-03    34.181        .70719E-07** at limit **
  20  Prefactor     18.122        45.069       -.14865E-05   -.46196E-04
  21  Prefactor     .10000E-03    22.527       -.10169E-05** at limit **
  22  Normalizat    1.2468        .26550       -.96035E-06   -.96492E-05
  23  Prefactor     1.0560        .13586       -.24067E-06   -.49602E-04
                               ERR DEF=  .500    
Final values: 
  norm       = 0.0001
  norm       = 0.0001
  norm       = 2.75874
  Prefactor  = 82.8441
  norm       = 0.0001
  norm       = 0.0001
  Prefactor  = 19.833
  Prefactor  = 0.0001
  Prefactor  = 2.14382
  Prefactor  = 11.8011
  norm       = 4.49298
  Prefactor  = 95.2004
  Prefactor  = 0.000100007
  Prefactor  = 0.0001
  Prefactor  = 0.0001
  Prefactor  = 3.90802
  Prefactor  = 6.34726
  norm       = 44.1838
  Prefactor  = 0.0001
  Prefactor  = 18.1219
  Prefactor  = 0.0001
  Normalizat = 1.24678
  Prefactor  = 1.05601
 **********
 **   18 **HESSE 
 **********

 FCN=   6816.417     FROM HESSE     STATUS=OK           368 CALLS     2922 TOTAL
                     EDM=   .53E-09    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  norm          .10000E-03    3.2201        .14454E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   2  norm          .10000E-03    6.3051        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   3  norm          2.7587        1.7818        .85879E-04   -1.5376    
   4  Prefactor     82.844        65.045        .22068E-03   -1.3885    
   5  norm          .10000E-03    2.9861        .13831E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   6  norm          .10000E-03    6.5547        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   7  Prefactor     19.833        21.048        .89931E-04   -1.4817    
   8  Prefactor     .10000E-03    18.428        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   9  Prefactor     2.1438        3.0113        .16221E-03   -1.5415    
  10  Prefactor     11.801        20.039        .11661E-03   -1.5021    
  11  norm          4.4930        2.1608        .80905E-04   -1.5284    
  12  Prefactor     95.200        48.759        .20604E-03   -1.3753    
  13  Prefactor     .10001E-03    272.51        .41160E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  14  Prefactor     .10000E-03    3.8314        .15745E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  15  Prefactor     .10000E-03    18.141        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  16  Prefactor     3.9080        42.353        .20385E-03   -1.5313    
  17  Prefactor     6.3473        5.5632        .79658E-03   -1.5204    
  18  norm          44.184        9.9855        .60317E-04   -1.4378    
  19  Prefactor     .10000E-03    35.325        .36285E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  20  Prefactor     18.122        45.249        .94035E-04   -1.4856    
  21  Prefactor     .10000E-03    22.984        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  22  Normalizat    1.2468        .31361        .35425E-03   -.85169    
  23  Prefactor     1.0560        .16088        .20278E-03   -.90885    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 5.2721e-10
Minuit parameter uncertainties:
  1  1.30064e-07
  2  7.71679e-07
  3  1.78185
  4  65.1014
  5  5.81352e-06
  6  3.64742e-06
  7  21.0558
  8  0.000122056
  9  3.01149
  10  20.05
  11  2.16083
  12  48.7796
  13  0.0026902
  14  4.73111e-06
  15  0.000116552
  16  25.7536
  17  5.56368
  18  9.98584
  19  6.24291e-05
  20  45.3352
  21  2.60195e-05
  22  0.31409
  23  0.160949
Done.

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

Extracting fit parameters...

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

GAL_V02
   Spectrum: PowerLaw
549    Prefactor:  1.056e+00  1.609e-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.247e+00  3.141e-01  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Fixed Index): 12.12
Ra Dec: 314.072 -47.237
Photon Index (Fixed Index): 2.35 +/- 0.00
Photon Flux (Fixed Index): 1.01e-07 +/- 4.85e-08
Energy Flux (Fixed Index): 3.08e-05 +/- 1.48e-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) = 6816.06257025
delta logL = 0.354804740482

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

MINUIT Return Code (Free Index): 0
logL (Free Index) = 6816.04046555
delta logL = 0.376909444574

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'norm      '    4.1271       1.0000         .10000E-03   10000.    
     2 'alpha     '    1.9085       1.0000          .0000       5.0000    
     3 'Normalizat'    1.2843       1.0000         .10000E-01   10.000    
     4 'Prefactor '    1.0443       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=   6816.040     FROM MIGRAD    STATUS=CONVERGED     51 CALLS      203 TOTAL
                     EDM=   .39E-10    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  norm          4.1273        2.0730        .49606E-02   -.38004E-03
   2  alpha         1.9086        .41396        .33890       -.28769E-04
   3  Normalizat    1.2843        .25335        .79030E-01    .13768E-04
   4  Prefactor     1.0444        .13476        .40255E-01    .17273E-05
                               ERR DEF=  .500    
Final values: 
  norm       = 4.12734
  alpha      = 1.90863
  Normalizat = 1.28425
  Prefactor  = 1.04436
 **********
 **   18 **HESSE 
 **********

 FCN=   6816.040     FROM HESSE     STATUS=OK            33 CALLS      236 TOTAL
                     EDM=   .66E-09    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  norm          4.1273        2.2695        .81435E-04   -1.5302    
   2  alpha         1.9086        .49493        .13668E-01   -.23881    
   3  Normalizat    1.2843        .29941        .34982E-03   -.84038    
   4  Prefactor     1.0444        .15919        .20377E-03   -.91265    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 6.58373e-10
Minuit parameter uncertainties:
  1  2.26958
  2  0.498416
  3  0.299809
  4  0.15926
shell-init: error retrieving current directory: getcwd: cannot access parent directories: No such file or directory
rmdir: failed to remove `/scratch/kocevski/213642': 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) = 6816.04046544
delta logL = 0.376909552728

Extracting fit parameters...

4FGL J2056.2-4714
   Spectrum: LogParabola
291         norm:  4.127e+00  2.270e+00  1.000e-04  1.000e+04 ( 1.000e-11)
292        alpha:  1.909e+00  4.984e-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:  1.044e+00  1.593e-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.284e+00  2.998e-01  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Free Index): 12.85
Ra Dec: 314.072 -47.237
Photon Index (Free Index): 1.91 +/- 0.50
Photon Flux (Free Index): 7.03e-08 +/- 4.79e-08
Energy Flux (Free Index): 3.67e-05 +/- 2.16e-05

Creating a high resolution counts map...
INFO: Auto-setting vmin to -2.500e-04 [aplpy.core]
INFO: Auto-setting vmax to  2.775e-03 [aplpy.core]
Saving /scratch/kocevski/213642/cmap_HighResolution_532483201_532742401_4FGL_J2056.2-4714_daily_bin1131.png

Cleaning up...

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

Updating database...

UPDATE lightcurve_data_v2 SET comment='SUCCESS', photon_flux='1.01e-07', energy_flux2='3.67e-05', photon_flux_error='4.85e-08', dlogl='3.77e-01', energy_flux='3.08e-05', photon_flux2='7.03e-08', job_status='DONE', time_completed='2021-09-25 21:57:30.915666', photon_index_error2='0.50', photon_index2='1.91', ts='12.12', fit_tolerance='1e-08', GAL='1.06', photon_index_error='0.00', energy_flux_error2='2.16e-05', EG='1.25', time_epoch_completed='1632632250.92', return_code='0', job_id='213642', GAL2='1.04', EG2='1.28', return_code2='0', energy_flux_error='1.48e-05', photon_flux_error2='4.79e-08', ts2='12.85', photon_index='2.35' WHERE bin_id='1131' AND source_name='4FGL J2056.2-4714' AND cadence='daily';

Database successfully updated.


Analysis Complete.


Sat Sep 25 21:57:30 PDT 2021


------------------------------------------------------------
Sender: LSF System <lsf@bullet0193>
Subject: Job 213642: <4FGL_J2056.2-4714_daily_bin1131> in cluster <slac> Done

Job <4FGL_J2056.2-4714_daily_bin1131> was submitted from host <rhel6-64m> by user <kocevski> in cluster <slac> at Sat Sep 25 21:45:25 2021
Job was executed on host(s) <bullet0193>, in queue <medium>, as user <kocevski> in cluster <slac> at Sat Sep 25 21:45:44 2021
</u/ki/kocevski> was used as the home directory.
</u/ki/kocevski> was used as the working directory.
Started at Sat Sep 25 21:45:44 2021
Terminated at Sat Sep 25 21:57:31 2021
Results reported at Sat Sep 25 21:57:31 2021

Your job looked like:

------------------------------------------------------------
# LSBATCH: User input
/nfs/farm/g/glast/g/LCRepository/Likelihood/Scripts/LikelihoodAnalysis.py 4FGL_J2056.2-4714_daily_bin1131 314.072 -47.2369 532483201 532742401 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 :                                   605.00 sec.
    Max Memory :                                 1257 MB
    Average Memory :                             294.70 MB
    Total Requested Memory :                     -
    Delta Memory :                               -
    Max Swap :                                   -
    Max Processes :                              5
    Max Threads :                                21
    Run time :                                   707 sec.
    Turnaround time :                            726 sec.

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

