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


Performing analysis on: 4FGL_J2056.2-4714_daily_bin1456
RA = 314.072, Dec = -47.2369
tmin = 616723201, tmax = 616982401
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='214142', job_status='RUN', time_executed='2021-09-25 21:53:22.161839', time_epoch_executed='1632632002.16' WHERE source_name='4FGL J2056.2-4714' and cadence='daily' and bin_id='1456'

Database successfully updated.
Done.

Creating custom output directory:
/scratch/kocevski/214142

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

Retrieving the FT1 file...

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

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

Retrieving 47 files...
Done.


Merging files...

Checksum keywords updated successfully.

Merged file saved to:
/scratch/kocevski/214142/ft1_4FGL_J2056.2-4714_daily_bin1456.fits


Retrieving the FT1 file...

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

Retrieving 47 files...
Done.


Merging files...

Merged file saved to:
/scratch/kocevski/214142/ft2_4FGL_J2056.2-4714_daily_bin1456.fits


Selecting the photons:
time -p gtselect infile=/scratch/kocevski/214142/ft1_4FGL_J2056.2-4714_daily_bin1456.fits outfile=/scratch/kocevski/214142/ft1_filteredMKT_4FGL_J2056.2-4714_daily_bin1456.fits ra=314.072 dec=-47.2369 rad=12.0 tmin=616723201.0 tmax=616982401.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.06
user 2.83
sys 0.19

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

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

Generating the livetime cube:
time -p gtltcube evfile="/scratch/kocevski/214142/ft1_filtered_4FGL_J2056.2-4714_daily_bin1456.fits" evtable="EVENTS" scfile=/scratch/kocevski/214142/ft2_4FGL_J2056.2-4714_daily_bin1456.fits sctable="SC_DATA" outfile=/scratch/kocevski/214142/ltcube_616723201_616982401_4FGL_J2056.2-4714_daily_bin1456.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/214142/ft2_4FGL_J2056.2-4714_daily_bin1456.fits
.....................!
real 13.29
user 12.92
sys 0.32

Generating the exposure map:
time -p gtexpmap evfile=/scratch/kocevski/214142/ft1_filtered_4FGL_J2056.2-4714_daily_bin1456.fits evtable="EVENTS" scfile=/scratch/kocevski/214142/ft2_4FGL_J2056.2-4714_daily_bin1456.fits sctable="SC_DATA" expcube=/scratch/kocevski/214142/ltcube_616723201_616982401_4FGL_J2056.2-4714_daily_bin1456.fits outfile=/scratch/kocevski/214142/expmap_616723201_616982401_4FGL_J2056.2-4714_daily_bin1456.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/214142/ltcube_616723201_616982401_4FGL_J2056.2-4714_daily_bin1456.fits
.....................!
real 191.51
user 185.71
sys 5.46

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/214142/ft1_filtered_4FGL_J2056.2-4714_daily_bin1456.fits scfile=/scratch/kocevski/214142/ft2_4FGL_J2056.2-4714_daily_bin1456.fits outfile=/scratch/kocevski/214142/cmap_616723201_616982401_4FGL_J2056.2-4714_daily_bin1456.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.52
user 0.36
sys 0.15

Creating the high resolution counts map:
time -p gtbin evfile=/scratch/kocevski/214142/ft1_filtered_4FGL_J2056.2-4714_daily_bin1456.fits scfile=/scratch/kocevski/214142/ft2_4FGL_J2056.2-4714_daily_bin1456.fits outfile=/scratch/kocevski/214142/cmap_HighResolution_616723201_616982401_4FGL_J2056.2-4714_daily_bin1456.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.38
sys 0.15

Computing the diffuse response:
time -p gtdiffrsp evfile=/scratch/kocevski/214142/ft1_filtered_4FGL_J2056.2-4714_daily_bin1456.fits evtable="EVENTS" scfile=/scratch/kocevski/214142/ft2_4FGL_J2056.2-4714_daily_bin1456.fits sctable="SC_DATA" srcmdl=/scratch/kocevski/214142/Model_4FGL_J2056.2-4714_daily_bin1456.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/214142/ft1_filtered_4FGL_J2056.2-4714_daily_bin1456.fits......!
real 14.03
user 12.83
sys 1.15

Creating the likelihood object...
obs = UnbinnedObs('/scratch/kocevski/214142/ft1_filtered_4FGL_J2056.2-4714_daily_bin1456.fits', '/scratch/kocevski/214142/ft2_4FGL_J2056.2-4714_daily_bin1456.fits', expMap='/scratch/kocevski/214142/expmap_616723201_616982401_4FGL_J2056.2-4714_daily_bin1456.fits', expCube='/scratch/kocevski/214142/ltcube_616723201_616982401_4FGL_J2056.2-4714_daily_bin1456.fits', irfs='P8R3_SOURCE_V2')
like = UnbinnedAnalysis(obs, '/scratch/kocevski/214142/Model_4FGL_J2056.2-4714_daily_bin1456.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/214142/ft1_filtered_4FGL_J2056.2-4714_daily_bin1456.fits
Spacecraft file(s): /scratch/kocevski/214142/ft2_4FGL_J2056.2-4714_daily_bin1456.fits
Exposure map: /scratch/kocevski/214142/expmap_616723201_616982401_4FGL_J2056.2-4714_daily_bin1456.fits
Exposure cube: /scratch/kocevski/214142/ltcube_616723201_616982401_4FGL_J2056.2-4714_daily_bin1456.fits
IRFs: P8R3_SOURCE_V2
Source model file: /scratch/kocevski/214142/Model_4FGL_J2056.2-4714_daily_bin1456.xml
Optimizer: MINUIT
Statistic: UNBINNED

Performing an iterative likelihood fit...

Fit tolerance = 1

Performing likelihood fit...
Done.

MINUIT Return Code (Fixed Index): 101
logL (Fixed Index) = 77.7530511969

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

MINUIT Return Code (Fixed Index): 101
logL (Fixed Index) = 68.4466191344

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'norm      '    1.1860       1.0000         .10000E-03   10000.    
     2 'norm      '    .96078       1.0000         .10000E-03   10000.    
     3 'norm      '    .14409E-03   1.0000         .10000E-03   10000.    
     4 'Prefactor '    2.3857       1.0000         .10000E-03   10000.    
     5 'norm      '    2118.6       1.0000         .10000E-03   10000.    
     6 'norm      '    1.7427       1.0000         .10000E-03   10000.    
     7 'Prefactor '    2.8244       1.0000         .10000E-03   10000.    
     8 'Prefactor '    5.5901       1.0000         .10000E-03   10000.    
     9 'Prefactor '    441.77       1.0000         .10000E-03   10000.    
    10 'Prefactor '    26.990       1.0000         .10000E-03   10000.    
    11 'norm      '    11.805       1.0000         .10000E-03   10000.    
    12 'Prefactor '    6.7913       1.0000         .10000E-03   10000.    
    13 'Prefactor '    5.5587       1.0000         .10000E-03   10000.    
    14 'Prefactor '    62.777       1.0000         .10000E-03   10000.    
    15 'Prefactor '    13.911       1.0000         .10000E-03   10000.    
    16 'Prefactor '    3.7921       1.0000         .10000E-03   10000.    
    17 'Prefactor '    9.5129       1.0000         .10000E-03   10000.    
    18 'norm      '    78.650       1.0000         .10000E-03   10000.    
    19 'Prefactor '    .11436E-03   1.0000         .10000E-03   10000.    
    20 'Prefactor '    23.254       1.0000         .10000E-03   10000.    
    21 'Prefactor '    .20906E-03   1.0000         .10000E-03   10000.    
    22 'Normalizat'    .10000E-01   1.0000         .10000E-01   10.000    
    23 'Prefactor '    .12750E-07   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.
  MNHESS FAILS AND WILL RETURN DIAGONAL MATRIX. 

 FCN=   61.59607     FROM MIGRAD    STATUS=CONVERGED    368 CALLS      813 TOTAL
                     EDM=   .27E-09  STRATEGY=1  ERROR MATRIX UNCERTAINTY=100.0%

  EXT PARAMETER                APPROXIMATE        STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  norm          .10000E-03    119.51        .10474E-01** at limit **
   2  norm          .10000E-03    449.24        .13026E-01** at limit **
   3  norm          .10000E-03    20.040        .90712E-02** at limit **
   4  Prefactor    10000.0        5222.5        .66296E-02** at limit **
   5  norm          .10038E-03    7268.5        .24472E-03** at limit **
   6  norm         10000.0        9963.5        .79439E-02** at limit **
   7  Prefactor    10000.0        5228.6        .60500E-02** at limit **
   8  Prefactor    10000.0        9976.5        .42479E-01** at limit **
   9  Prefactor     208.43        240.10        .48665E-03    .24837E-04
  10  Prefactor    10000.0        6276.2        .19278E-01** at limit **
  11  norm         10000.0        6276.7        .29148E-02** at limit **
  12  Prefactor     6.7913        1.0027         .0000         .0000    
  13  Prefactor    10000.0        .45370E-01    .18009E-03** at limit **
  14  Prefactor    10000.0        .40078E-02   -.23711E-03** at limit **
  15  Prefactor     .10000E-03    .18020E-01    .23703E-04** at limit **
  16  Prefactor     .10013E-03    .67142E-01   -.35492E-05** at limit **
  17  Prefactor     .10000E-03    .26378E-01    .91973E-05** at limit **
  18  norm          .10000E-03    .32040E-02   -.11451E-04** at limit **
  19  Prefactor     .10000E-03    .20571        .43439E-05** at limit **
  20  Prefactor     .10000E-03    .10781E-01   -.31088E-05** at limit **
  21  Prefactor     .10000E-03    .20571        .95408E-06** at limit **
  22  Normalizat    .10000E-01    .25747        .48212E-05** at limit **
  23  Prefactor     .38025E-12    .25504        .92741E-05** at limit **
                               ERR DEF=  .500    
Final values: 
  norm       = 0.0001
  norm       = 0.000100003
  norm       = 0.0001
  Prefactor  = 10000
  norm       = 0.000100385
  norm       = 10000
  Prefactor  = 10000
  Prefactor  = 10000
  Prefactor  = 208.428
  Prefactor  = 10000
  norm       = 10000
  Prefactor  = 6.7913
  Prefactor  = 10000
  Prefactor  = 10000
  Prefactor  = 0.0001
  Prefactor  = 0.000100126
  Prefactor  = 0.000100003
  norm       = 0.000100003
  Prefactor  = 0.0001
  Prefactor  = 0.000100002
  Prefactor  = 0.0001
  Normalizat = 0.01
  Prefactor  = 3.80251e-13
 **********
 **   18 **HESSE 
 **********
  MNHESS FAILS AND WILL RETURN DIAGONAL MATRIX. 

 FCN=   61.59607     FROM HESSE     STATUS=FAILED        33 CALLS      846 TOTAL
                     EDM=   .27E-09  STRATEGY=1  ERROR MATRIX UNCERTAINTY=100.0%

  EXT PARAMETER                APPROXIMATE     INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  norm          .10000E-03    119.51        .10474E-01   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   2  norm          .10000E-03    449.24        .13026E-01   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   3  norm          .10000E-03    20.040        .90712E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   4  Prefactor    10000.0        5222.5        .66296E-02    1.5715    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   5  norm          .10038E-03    7268.5        .24472E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   6  norm         10000.0        9963.5        .79439E-02   -17.279    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   7  Prefactor    10000.0        5228.6        .60500E-02    7.8537    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   8  Prefactor    10000.0        9976.5        .42479E-01    1.5709    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   9  Prefactor     208.43        240.10        .48665E-03   -1.2810    
  10  Prefactor    10000.0        6276.2        .19278E-01    1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  11  norm         10000.0        6276.7        .29148E-02   -4.7124    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  12  Prefactor     515.03        508.20         .0000       -1.5187    
  13  Prefactor    10000.0        .45370E-01    .18009E-03    20.420    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  14  Prefactor    10000.0        .40078E-02   -.23711E-03    1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  15  Prefactor     .10000E-03    .18020E-01    .23703E-04   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  16  Prefactor     .10013E-03    .67142E-01   -.35492E-05   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  17  Prefactor     .10000E-03    .26378E-01    .91973E-05   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  18  norm          .10000E-03    .32040E-02   -.11451E-04   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  19  Prefactor     .10000E-03    .20571        .43439E-05   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  20  Prefactor     .10000E-03    .10781E-01   -.31088E-05   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  21  Prefactor     .10000E-03    .20571        .95408E-06   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  22  Normalizat    .10000E-01    .25747        .48212E-05   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  23  Prefactor     .38025E-12    .25504        .92741E-05   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
                               ERR DEF=  .500    
Minuit fit quality: 1   estimated distance: 2.65348e-10
Minuit parameter uncertainties:
  1  0.000289925
  2  0.002491
  3  0.000138206
  4  288.772
  5  0.0916726
  6  0.0828875
  7  57.6841
  8  40.4269
  9  241.248
  10  0.0218958
  11  0.00814018
  12  1.00274
  13  0.000207051
  14  7.81299e-05
  15  3.88066e-08
  16  0.000183919
  17  1.7258e-05
  18  6.42897e-06
  19  7.17196e-06
  20  9.68314e-06
  21  2.48847e-06
  22  1.66587e-06
  23  6.25336e-07
Done.

MINUIT Return Code (Fixed Index): 101
logL (Fixed Index) = 61.5960710781

Extracting fit parameters...

4FGL J2056.2-4714
   Spectrum: LogParabola
291         norm:  1.000e+04  8.140e-03  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:  3.803e-13  6.253e-07  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.000e-02  1.666e-06  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Fixed Index): 6.60
Ra Dec: 314.072 -47.237
Photon Index (Fixed Index): 2.35 +/- 0.00
Photon Flux (Fixed Index): 2.24e-04 +/- 1.83e-10
Energy Flux (Fixed Index): 6.86e-02 +/- 5.58e-08

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) = 58.9339248517
delta logL = 2.66214622636

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

MINUIT Return Code (Free Index): 0
logL (Free Index) = 58.926095544
delta logL = 2.66997553408

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'norm      '   10000.0       1.0000         .10000E-03   10000.    
     2 'alpha     '    5.0000       1.0000          .0000       5.0000    
     3 'Normalizat'    .10000E-01   1.0000         .10000E-01   10.000    
     4 'Prefactor '    .26645E-13   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=   58.92609     FROM MIGRAD    STATUS=CONVERGED     39 CALLS      160 TOTAL
                     EDM=   .43E-11  STRATEGY=1  ERROR MATRIX UNCERTAINTY=   .0%

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  norm         10000.0        1808.3        .19539E-02** at limit **
   2  alpha         5.0000        .36281       -.20209E-06** at limit **
   3  Normalizat    .10000E-01    .12727       -.80512E-08** at limit **
   4  Prefactor      .0000        .74522E-01    .22740E-08** at limit **
                               ERR DEF=  .500    
Final values: 
  norm       = 10000
  alpha      = 5
  Normalizat = 0.01
  Prefactor  = 0
 **********
 **   18 **HESSE 
 **********

 FCN=   58.92609     FROM HESSE     STATUS=OK            23 CALLS      183 TOTAL
                     EDM=   .86E-11    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  norm         10000.0        1810.5        .18145E-02    1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   2  alpha         5.0000        .36232        .20532E-02    1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   3  Normalizat    .10000E-01    .12726        .85153E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   4  Prefactor      .0000        .74517E-01    .65069E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 8.57909e-12
Minuit parameter uncertainties:
  1  0.0113155
  2  2.24639e-08
  3  1.24225e-09
  4  1.3501e-09
shell-init: error retrieving current directory: getcwd: cannot access parent directories: No such file or directory
rmdir: failed to remove `/scratch/kocevski/214142': 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) = 58.926093079
delta logL = 2.66997799907

Extracting fit parameters...

4FGL J2056.2-4714
   Spectrum: LogParabola
291         norm:  1.000e+04  1.132e-02  1.000e-04  1.000e+04 ( 1.000e-11)
292        alpha:  5.000e+00  2.246e-08  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:  0.000e+00  1.350e-09  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.000e-02  1.242e-09  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Free Index): 11.94
Ra Dec: 314.072 -47.237
Photon Index (Free Index): 5.00 +/- 0.00
Photon Flux (Free Index): 3.82e-03 +/- 4.30e-09
Energy Flux (Free Index): 5.16e-01 +/- 5.82e-07

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/214142/cmap_HighResolution_616723201_616982401_4FGL_J2056.2-4714_daily_bin1456.png

Cleaning up...

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

Updating database...

UPDATE lightcurve_data_v2 SET comment='SUCCESS', photon_flux='2.24e-04', energy_flux2='5.16e-01', photon_flux_error='1.83e-10', dlogl='2.67e+00', energy_flux='6.86e-02', photon_flux2='3.82e-03', job_status='DONE', time_completed='2021-09-25 21:58:45.770906', photon_index_error2='0.00', photon_index2='5.00', ts='6.60', fit_tolerance='1e-08', GAL='0.00', photon_index_error='0.00', energy_flux_error2='5.82e-07', EG='0.01', time_epoch_completed='1632632325.77', return_code='101', job_id='214142', GAL2='0.00', EG2='0.01', return_code2='0', energy_flux_error='5.58e-08', photon_flux_error2='4.30e-09', ts2='11.94', photon_index='2.35' WHERE bin_id='1456' AND source_name='4FGL J2056.2-4714' AND cadence='daily';

Database successfully updated.


Analysis Complete.


Sat Sep 25 21:58:45 PDT 2021


------------------------------------------------------------
Sender: LSF System <lsf@bullet0084>
Subject: Job 214142: <4FGL_J2056.2-4714_daily_bin1456> in cluster <slac> Done

Job <4FGL_J2056.2-4714_daily_bin1456> was submitted from host <rhel6-64m> by user <kocevski> in cluster <slac> at Sat Sep 25 21:46:11 2021
Job was executed on host(s) <bullet0084>, in queue <medium>, as user <kocevski> in cluster <slac> at Sat Sep 25 21:52:00 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:00 2021
Terminated at Sat Sep 25 21:58:46 2021
Results reported at Sat Sep 25 21:58:46 2021

Your job looked like:

------------------------------------------------------------
# LSBATCH: User input
/nfs/farm/g/glast/g/LCRepository/Likelihood/Scripts/LikelihoodAnalysis.py 4FGL_J2056.2-4714_daily_bin1456 314.072 -47.2369 616723201 616982401 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 :                                   317.36 sec.
    Max Memory :                                 1256 MB
    Average Memory :                             212.57 MB
    Total Requested Memory :                     -
    Delta Memory :                               -
    Max Swap :                                   -
    Max Processes :                              5
    Max Threads :                                21
    Run time :                                   406 sec.
    Turnaround time :                            755 sec.

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

