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


Performing analysis on: 4FGL_J2056.2-4714_daily_bin1512
RA = 314.072, Dec = -47.2369
tmin = 631238401, tmax = 631497601
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='215142', job_status='RUN', time_executed='2021-09-25 21:53:24.366020', time_epoch_executed='1632632004.37' WHERE source_name='4FGL J2056.2-4714' and cadence='daily' and bin_id='1512'

Database successfully updated.
Done.

Creating custom output directory:
/scratch/kocevski/215142

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

Retrieving the FT1 file...

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

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

Retrieving 46 files...
Done.


Merging files...

Checksum keywords updated successfully.

Merged file saved to:
/scratch/kocevski/215142/ft1_4FGL_J2056.2-4714_daily_bin1512.fits


Retrieving the FT1 file...

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

Retrieving 46 files...
Done.


Merging files...

Merged file saved to:
/scratch/kocevski/215142/ft2_4FGL_J2056.2-4714_daily_bin1512.fits


Selecting the photons:
time -p gtselect infile=/scratch/kocevski/215142/ft1_4FGL_J2056.2-4714_daily_bin1512.fits outfile=/scratch/kocevski/215142/ft1_filteredMKT_4FGL_J2056.2-4714_daily_bin1512.fits ra=314.072 dec=-47.2369 rad=12.0 tmin=631238401.0 tmax=631497601.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.77
user 2.57
sys 0.19

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

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

Generating the livetime cube:
time -p gtltcube evfile="/scratch/kocevski/215142/ft1_filtered_4FGL_J2056.2-4714_daily_bin1512.fits" evtable="EVENTS" scfile=/scratch/kocevski/215142/ft2_4FGL_J2056.2-4714_daily_bin1512.fits sctable="SC_DATA" outfile=/scratch/kocevski/215142/ltcube_631238401_631497601_4FGL_J2056.2-4714_daily_bin1512.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/215142/ft2_4FGL_J2056.2-4714_daily_bin1512.fits
.....................!
real 19.68
user 19.32
sys 0.32

Generating the exposure map:
time -p gtexpmap evfile=/scratch/kocevski/215142/ft1_filtered_4FGL_J2056.2-4714_daily_bin1512.fits evtable="EVENTS" scfile=/scratch/kocevski/215142/ft2_4FGL_J2056.2-4714_daily_bin1512.fits sctable="SC_DATA" expcube=/scratch/kocevski/215142/ltcube_631238401_631497601_4FGL_J2056.2-4714_daily_bin1512.fits outfile=/scratch/kocevski/215142/expmap_631238401_631497601_4FGL_J2056.2-4714_daily_bin1512.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/215142/ltcube_631238401_631497601_4FGL_J2056.2-4714_daily_bin1512.fits
.....................!
real 190.58
user 185.50
sys 4.70

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/215142/ft1_filtered_4FGL_J2056.2-4714_daily_bin1512.fits scfile=/scratch/kocevski/215142/ft2_4FGL_J2056.2-4714_daily_bin1512.fits outfile=/scratch/kocevski/215142/cmap_631238401_631497601_4FGL_J2056.2-4714_daily_bin1512.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.38
sys 0.14

Creating the high resolution counts map:
time -p gtbin evfile=/scratch/kocevski/215142/ft1_filtered_4FGL_J2056.2-4714_daily_bin1512.fits scfile=/scratch/kocevski/215142/ft2_4FGL_J2056.2-4714_daily_bin1512.fits outfile=/scratch/kocevski/215142/cmap_HighResolution_631238401_631497601_4FGL_J2056.2-4714_daily_bin1512.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.62
user 0.38
sys 0.16

Computing the diffuse response:
time -p gtdiffrsp evfile=/scratch/kocevski/215142/ft1_filtered_4FGL_J2056.2-4714_daily_bin1512.fits evtable="EVENTS" scfile=/scratch/kocevski/215142/ft2_4FGL_J2056.2-4714_daily_bin1512.fits sctable="SC_DATA" srcmdl=/scratch/kocevski/215142/Model_4FGL_J2056.2-4714_daily_bin1512.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/215142/ft1_filtered_4FGL_J2056.2-4714_daily_bin1512.fits.....................!
real 41.13
user 39.85
sys 1.19

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

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

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

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'norm      '    6.5741       1.0000         .10000E-03   10000.    
     2 'norm      '    .10052E-03   1.0000         .10000E-03   10000.    
     3 'norm      '    .32913       1.0000         .10000E-03   10000.    
     4 'Prefactor '    56.144       1.0000         .10000E-03   10000.    
     5 'norm      '    .10002E-03   1.0000         .10000E-03   10000.    
     6 'norm      '    .10062E-03   1.0000         .10000E-03   10000.    
     7 'Prefactor '    .10001E-03   1.0000         .10000E-03   10000.    
     8 'Prefactor '    28.574       1.0000         .10000E-03   10000.    
     9 'Prefactor '    8.8196       1.0000         .10000E-03   10000.    
    10 'Prefactor '    10.090       1.0000         .10000E-03   10000.    
    11 'norm      '    7.9258       1.0000         .10000E-03   10000.    
    12 'Prefactor '    14.796       1.0000         .10000E-03   10000.    
    13 'Prefactor '    .10000E-03   1.0000         .10000E-03   10000.    
    14 'Prefactor '    7.1699       1.0000         .10000E-03   10000.    
    15 'Prefactor '    20.771       1.0000         .10000E-03   10000.    
    16 'Prefactor '    .10004E-03   1.0000         .10000E-03   10000.    
    17 'Prefactor '    3.8355       1.0000         .10000E-03   10000.    
    18 'norm      '    3.3752       1.0000         .10000E-03   10000.    
    19 'Prefactor '    3.7815       1.0000         .10000E-03   10000.    
    20 'Prefactor '    .12823E-03   1.0000         .10000E-03   10000.    
    21 'Prefactor '    7.5907       1.0000         .10000E-03   10000.    
    22 'Normalizat'    .86726       1.0000         .10000E-01   10.000    
    23 'Prefactor '    1.2032       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=   4611.923     FROM MIGRAD    STATUS=CONVERGED    485 CALLS     2506 TOTAL
                     EDM=   .36E-09  STRATEGY=1  ERROR MATRIX UNCERTAINTY=  1.7%

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  norm          6.5749        18.625        .40471E-06    .15291E-05
   2  norm          .10000E-03    19.102       -.39309E-06** at limit **
   3  norm          .32900        2.0599        .11077E-05    .22724E-04
   4  Prefactor     56.241        143.66        .35436E-05    .51701E-04
   5  norm          .10000E-03    5.5175       -.90749E-07** at limit **
   6  norm          .10000E-03    17.188        .49971E-06** at limit **
   7  Prefactor     .10000E-03    32.214        .18409E-05** at limit **
   8  Prefactor     28.772        174.45        .83965E-05    .77671E-04
   9  Prefactor     8.8222        4.5185        .22505E-06   -.40898E-04
  10  Prefactor     10.108        25.412        .11672E-05    .45731E-04
  11  norm          7.9253        3.9207        .20825E-06   -.10120E-03
  12  Prefactor     14.817        57.423        .25778E-05    .25543E-04
  13  Prefactor     .10000E-03    25.243       -.24969E-06** at limit **
  14  Prefactor     7.1755        12.701        .79322E-06   -.31115E-04
  15  Prefactor     20.797        37.377        .69951E-06    .65468E-04
  16  Prefactor     .10000E-03    29.528       -.70179E-06** at limit **
  17  Prefactor     3.8368        5.4294        .42513E-06   -.16100E-04
  18  norm          3.3753        3.4725        .31258E-09   -.35149E-04
  19  Prefactor     3.7796        8.9223        .85411E-05   -.14664E-03
  20  Prefactor     .10000E-03    41.516       -.15102E-05** at limit **
  21  Prefactor     7.5917        9.9419        .28429E-05   -.82466E-04
  22  Normalizat    .86670        .32551       -.39121E-05   -.10048E-04
  23  Prefactor     1.2034        .16982       -.82062E-07   -.74590E-04
                               ERR DEF=  .500    
Final values: 
  norm       = 6.57486
  norm       = 0.0001
  norm       = 0.329
  Prefactor  = 56.2412
  norm       = 0.0001
  norm       = 0.0001
  Prefactor  = 0.0001
  Prefactor  = 28.7724
  Prefactor  = 8.82221
  Prefactor  = 10.108
  norm       = 7.92534
  Prefactor  = 14.817
  Prefactor  = 0.0001
  Prefactor  = 7.17547
  Prefactor  = 20.7966
  Prefactor  = 0.0001
  Prefactor  = 3.83679
  norm       = 3.37535
  Prefactor  = 3.77959
  Prefactor  = 0.0001
  Prefactor  = 7.59165
  Normalizat = 0.8667
  Prefactor  = 1.20336
 **********
 **   18 **HESSE 
 **********

 FCN=   4611.923     FROM HESSE     STATUS=OK           376 CALLS     2882 TOTAL
                     EDM=   .73E-09    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  norm          6.5749        18.617        .15651E-03   -1.5195    
   2  norm          .10000E-03    19.132        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   3  norm          .32900        1.9915        .18965E-03   -1.5593    
   4  Prefactor     56.241        143.89        .26768E-03   -1.4207    
   5  norm          .10000E-03    5.6137        .15574E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   6  norm          .10000E-03    17.197        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   7  Prefactor     .10000E-03    32.218        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   8  Prefactor     28.772        175.93        .37474E-03   -1.4635    
   9  Prefactor     8.8222        4.5168        .96915E-04   -1.5114    
  10  Prefactor     10.108        25.406        .12614E-03   -1.5072    
  11  norm          7.9253        3.9191        .88051E-04   -1.5145    
  12  Prefactor     14.817        57.419        .10413E-03   -1.4938    
  13  Prefactor     .10000E-03    25.258        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  14  Prefactor     7.1755        12.722        .14980E-03   -1.5172    
  15  Prefactor     20.797        37.405        .87885E-04   -1.4796    
  16  Prefactor     .10000E-03    29.737        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  17  Prefactor     3.8368        5.4299        .17447E-03   -1.5316    
  18  norm          3.3753        3.4695        .12358E-03   -1.5341    
  19  Prefactor     3.7796        8.9262        .10380E-02   -1.5319    
  20  Prefactor     .10000E-03    41.765        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  21  Prefactor     7.5917        9.9662        .72779E-03   -1.5157    
  22  Normalizat    .86670        .36906        .38171E-03   -.97640    
  23  Prefactor     1.2034        .19429        .18975E-03   -.86228    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 7.25874e-10
Minuit parameter uncertainties:
  1  18.6336
  2  0.000129762
  3  1.61872
  4  144.797
  5  9.40227e-06
  6  8.01624e-05
  7  0.00014001
  8  142.926
  9  4.51698
  10  25.4327
  11  3.91919
  12  57.6341
  13  3.70072e-05
  14  12.7268
  15  37.447
  16  0.000192762
  17  5.43064
  18  3.46973
  19  8.92938
  20  0.000258921
  21  9.9684
  22  0.370141
  23  0.194408
Done.

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

Extracting fit parameters...

4FGL J2056.2-4714
   Spectrum: LogParabola
291         norm:  7.925e+00  3.919e+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.203e+00  1.944e-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:  8.667e-01  3.701e-01  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Fixed Index): 8.75
Ra Dec: 314.072 -47.237
Photon Index (Fixed Index): 2.35 +/- 0.00
Photon Flux (Fixed Index): 1.78e-07 +/- 8.79e-08
Energy Flux (Fixed Index): 5.44e-05 +/- 2.69e-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) = 4611.91029202
delta logL = 0.012381318299

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

MINUIT Return Code (Free Index): 0
logL (Free Index) = 4611.90917139
delta logL = 0.0135019461923

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'norm      '    7.8239       1.0000         .10000E-03   10000.    
     2 'alpha     '    2.4314       1.0000          .0000       5.0000    
     3 'Normalizat'    .85636       1.0000         .10000E-01   10.000    
     4 'Prefactor '    1.2071       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=   4611.909     FROM MIGRAD    STATUS=CONVERGED     45 CALLS      200 TOTAL
                     EDM=   .47E-09    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  norm          7.8239        18.668        .35839E-02    .10135E-03
   2  alpha         2.4314        1.9182        .27280       -.17014E-04
   3  Normalizat    .85635        .31702        .86661E-01    .88470E-05
   4  Prefactor     1.2071        .19267        .34464E-01    .70315E-05
                               ERR DEF=  .500    
Final values: 
  norm       = 7.82395
  alpha      = 2.43143
  Normalizat = 0.856351
  Prefactor  = 1.20713
 **********
 **   18 **HESSE 
 **********

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

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  norm          7.8239        3.9103        .86380E-04   -1.5148    
   2  alpha         2.4314        .48134        .11317E-01   -.27430E-01
   3  Normalizat    .85635        .33132        .38376E-03   -.98011    
   4  Prefactor     1.2071        .18859        .18949E-03   -.86112    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 2.12929e-11
Minuit parameter uncertainties:
  1  3.91043
  2  0.484365
  3  0.332105
  4  0.188691
shell-init: error retrieving current directory: getcwd: cannot access parent directories: No such file or directory
rmdir: failed to remove `/scratch/kocevski/215142': 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) = 4611.90917139
delta logL = 0.0135019464524

Extracting fit parameters...

4FGL J2056.2-4714
   Spectrum: LogParabola
291         norm:  7.824e+00  3.910e+00  1.000e-04  1.000e+04 ( 1.000e-11)
292        alpha:  2.431e+00  4.844e-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.207e+00  1.887e-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:  8.564e-01  3.321e-01  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Free Index): 8.74
Ra Dec: 314.072 -47.237
Photon Index (Free Index): 2.43 +/- 0.48
Photon Flux (Free Index): 1.87e-07 +/- 1.03e-07
Energy Flux (Free Index): 5.32e-05 +/- 2.69e-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/215142/cmap_HighResolution_631238401_631497601_4FGL_J2056.2-4714_daily_bin1512.png

Cleaning up...

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

Updating database...

UPDATE lightcurve_data_v2 SET comment='SUCCESS', photon_flux='1.78e-07', energy_flux2='5.32e-05', photon_flux_error='8.79e-08', dlogl='1.35e-02', energy_flux='5.44e-05', photon_flux2='1.87e-07', job_status='DONE', time_completed='2021-09-25 22:02:07.747303', photon_index_error2='0.48', photon_index2='2.43', ts='8.75', fit_tolerance='1e-08', GAL='1.20', photon_index_error='0.00', energy_flux_error2='2.69e-05', EG='0.87', time_epoch_completed='1632632527.75', return_code='0', job_id='215142', GAL2='1.21', EG2='0.86', return_code2='0', energy_flux_error='2.69e-05', photon_flux_error2='1.03e-07', ts2='8.74', photon_index='2.35' WHERE bin_id='1512' AND source_name='4FGL J2056.2-4714' AND cadence='daily';

Database successfully updated.


Analysis Complete.


Sat Sep 25 22:02:07 PDT 2021


------------------------------------------------------------
Sender: LSF System <lsf@bullet0083>
Subject: Job 215142: <4FGL_J2056.2-4714_daily_bin1512> in cluster <slac> Done

Job <4FGL_J2056.2-4714_daily_bin1512> was submitted from host <rhel6-64j> by user <kocevski> in cluster <slac> at Sat Sep 25 21:50:16 2021
Job was executed on host(s) <bullet0083>, in queue <medium>, as user <kocevski> in cluster <slac> at Sat Sep 25 21:52:29 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:52:29 2021
Terminated at Sat Sep 25 22:02:08 2021
Results reported at Sat Sep 25 22:02:08 2021

Your job looked like:

------------------------------------------------------------
# LSBATCH: User input
/nfs/farm/g/glast/g/LCRepository/Likelihood/Scripts/LikelihoodAnalysis.py 4FGL_J2056.2-4714_daily_bin1512 314.072 -47.2369 631238401 631497601 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 :                                   517.45 sec.
    Max Memory :                                 1093 MB
    Average Memory :                             271.60 MB
    Total Requested Memory :                     -
    Delta Memory :                               -
    Max Swap :                                   -
    Max Processes :                              5
    Max Threads :                                21
    Run time :                                   581 sec.
    Turnaround time :                            712 sec.

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

