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


Performing analysis on: 4FGL_J2056.2-4714_daily_bin1662
RA = 314.072, Dec = -47.2369
tmin = 670118401, tmax = 670377601
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='124791', job_status='RUN', time_executed='2022-03-31 00:37:56.915391', time_epoch_executed='1648712276.92' WHERE source_name='4FGL J2056.2-4714' and cadence='daily' and bin_id='1662'

Database successfully updated.
Done.

Creating custom output directory:
/scratch/kocevski/124791

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

Retrieving the FT1 file...

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

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

Retrieving 46 files...
Done.


Merging files...

Checksum keywords updated successfully.

Merged file saved to:
/scratch/kocevski/124791/ft1_4FGL_J2056.2-4714_daily_bin1662.fits


Retrieving the FT1 file...

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

Retrieving 46 files...
Done.


Merging files...

Merged file saved to:
/scratch/kocevski/124791/ft2_4FGL_J2056.2-4714_daily_bin1662.fits


Selecting the photons:
time -p gtselect infile=/scratch/kocevski/124791/ft1_4FGL_J2056.2-4714_daily_bin1662.fits outfile=/scratch/kocevski/124791/ft1_filteredMKT_4FGL_J2056.2-4714_daily_bin1662.fits ra=314.072 dec=-47.2369 rad=12.0 tmin=670118401.0 tmax=670377601.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.45
user 3.23
sys 0.20

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

Selecting the good time intervals:
time -p gtmktime scfile=/scratch/kocevski/124791/ft2_4FGL_J2056.2-4714_daily_bin1662.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/124791/ft1_filteredMKT_4FGL_J2056.2-4714_daily_bin1662.fits evtable="EVENTS" outfile="/scratch/kocevski/124791/ft1_filtered_4FGL_J2056.2-4714_daily_bin1662.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.52
user 0.34
sys 0.14

Number of photons that the gtmktime cut: 757

Generating the livetime cube:
time -p gtltcube evfile="/scratch/kocevski/124791/ft1_filtered_4FGL_J2056.2-4714_daily_bin1662.fits" evtable="EVENTS" scfile=/scratch/kocevski/124791/ft2_4FGL_J2056.2-4714_daily_bin1662.fits sctable="SC_DATA" outfile=/scratch/kocevski/124791/ltcube_670118401_670377601_4FGL_J2056.2-4714_daily_bin1662.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/124791/ft2_4FGL_J2056.2-4714_daily_bin1662.fits
.....................!
real 11.85
user 11.51
sys 0.31

Generating the exposure map:
time -p gtexpmap evfile=/scratch/kocevski/124791/ft1_filtered_4FGL_J2056.2-4714_daily_bin1662.fits evtable="EVENTS" scfile=/scratch/kocevski/124791/ft2_4FGL_J2056.2-4714_daily_bin1662.fits sctable="SC_DATA" expcube=/scratch/kocevski/124791/ltcube_670118401_670377601_4FGL_J2056.2-4714_daily_bin1662.fits outfile=/scratch/kocevski/124791/expmap_670118401_670377601_4FGL_J2056.2-4714_daily_bin1662.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/124791/ltcube_670118401_670377601_4FGL_J2056.2-4714_daily_bin1662.fits
.....................!
real 192.03
user 187.24
sys 4.41

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/124791/ft1_filtered_4FGL_J2056.2-4714_daily_bin1662.fits scfile=/scratch/kocevski/124791/ft2_4FGL_J2056.2-4714_daily_bin1662.fits outfile=/scratch/kocevski/124791/cmap_670118401_670377601_4FGL_J2056.2-4714_daily_bin1662.fits algorithm="CMAP" ebinalg="LOG" emin=30.0 emax=200000.0 ebinfile=NONE tbinalg="LIN" tbinfile=NONE nxpix=160 nypix=160 binsz=0.25 coordsys="CEL" xref=314.072 yref=-47.2369 axisrot=0.0 rafield="RA" decfield="DEC" proj="AIT" hpx_ordering_scheme="RING" hpx_order=3 hpx_ebin=yes hpx_region="" evtable="EVENTS" sctable="SC_DATA" efield="ENERGY" tfield="TIME" chatter=2 clobber=yes debug=no gui=no mode="ql"

WARNING: version mismatch between CFITSIO header (v3.43) and linked library (v3.41).

This is gtbin version HEAD
real 0.55
user 0.39
sys 0.14

Creating the high resolution counts map:
time -p gtbin evfile=/scratch/kocevski/124791/ft1_filtered_4FGL_J2056.2-4714_daily_bin1662.fits scfile=/scratch/kocevski/124791/ft2_4FGL_J2056.2-4714_daily_bin1662.fits outfile=/scratch/kocevski/124791/cmap_HighResolution_670118401_670377601_4FGL_J2056.2-4714_daily_bin1662.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.37
sys 0.16

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

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

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

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

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'norm      '    .25672       1.0000         .10000E-03   10000.    
     2 'norm      '    .10045E-03   1.0000         .10000E-03   10000.    
     3 'norm      '    .10010E-03   1.0000         .10000E-03   10000.    
     4 'Prefactor '    48.982       1.0000         .10000E-03   10000.    
     5 'norm      '    .10147E-03   1.0000         .10000E-03   10000.    
     6 'norm      '    .28865E-02   1.0000         .10000E-03   10000.    
     7 'Prefactor '    .10001E-03   1.0000         .10000E-03   10000.    
     8 'Prefactor '    .39951E-03   1.0000         .10000E-03   10000.    
     9 'Prefactor '    1.7689       1.0000         .10000E-03   10000.    
    10 'Prefactor '    9.5607       1.0000         .10000E-03   10000.    
    11 'norm      '    .10012E-03   1.0000         .10000E-03   10000.    
    12 'Prefactor '    .10001E-03   1.0000         .10000E-03   10000.    
    13 'Prefactor '    44.852       1.0000         .10000E-03   10000.    
    14 'Prefactor '    6.2929       1.0000         .10000E-03   10000.    
    15 'Prefactor '    23.685       1.0000         .10000E-03   10000.    
    16 'Prefactor '    .10011E-03   1.0000         .10000E-03   10000.    
    17 'Prefactor '    6.6625       1.0000         .10000E-03   10000.    
    18 'norm      '    5.8105       1.0000         .10000E-03   10000.    
    19 'Prefactor '    .10012E-03   1.0000         .10000E-03   10000.    
    20 'Prefactor '    .10180E-03   1.0000         .10000E-03   10000.    
    21 'Prefactor '    .10011E-03   1.0000         .10000E-03   10000.    
    22 'Normalizat'    1.4077       1.0000         .10000E-01   10.000    
    23 'Prefactor '    1.0963       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=   8090.623     FROM MIGRAD    STATUS=CONVERGED    517 CALLS     2608 TOTAL
                     EDM=   .19E-09  STRATEGY=1  ERROR MATRIX UNCERTAINTY=  9.0%

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  norm          .26992        55.392       -.31555E-04   -.14994E-04
   2  norm          .10000E-03    9.9139        .14481E-05** at limit **
   3  norm          .10000E-03    .68271        .81385E-09** at limit **
   4  Prefactor     48.952        56.148       -.49588E-05    .61076E-04
   5  norm          .10000E-03    3.9785        .28720E-07** at limit **
   6  norm          .10000E-03    23.306       -.15309E-04** at limit **
   7  Prefactor     .10000E-03    20.527        .24829E-05** at limit **
   8  Prefactor     .10001E-03    241.24       -.11400E-04** at limit **
   9  Prefactor     1.7697        2.6198       -.19466E-06    .23138E-04
  10  Prefactor     9.5583        26.579       -.25119E-05    .20950E-04
  11  norm          .10000E-03    1.0952       -.19927E-06** at limit **
  12  Prefactor     .10000E-03    9.0726       -.11763E-05** at limit **
  13  Prefactor     44.853        38.634        .27087E-06    .11435E-05
  14  Prefactor     6.2936        7.0396       -.52927E-07    .58664E-04
  15  Prefactor     23.683        30.660        .36423E-06    .34472E-04
  16  Prefactor     .10000E-03    5.5723        .20483E-06** at limit **
  17  Prefactor     6.6638        4.8510       -.14670E-05    .17795E-03
  18  norm          5.8115        4.9137       -.12703E-05    .11377E-03
  19  Prefactor     .10000E-03    5.0572       -.17135E-06** at limit **
  20  Prefactor     .10000E-03    18.777       -.26953E-05** at limit **
  21  Prefactor     .10000E-03    3.7350       -.67758E-07** at limit **
  22  Normalizat    1.4074        .23860        .54792E-06   -.18877E-04
  23  Prefactor     1.0963        .12408        .10890E-05    .27119E-03
                               ERR DEF=  .500    
Final values: 
  norm       = 0.269924
  norm       = 0.0001
  norm       = 0.0001
  Prefactor  = 48.9517
  norm       = 0.0001
  norm       = 0.000100005
  Prefactor  = 0.0001
  Prefactor  = 0.000100012
  Prefactor  = 1.76971
  Prefactor  = 9.5583
  norm       = 0.0001
  Prefactor  = 0.0001
  Prefactor  = 44.8535
  Prefactor  = 6.29363
  Prefactor  = 23.6831
  Prefactor  = 0.0001
  Prefactor  = 6.66381
  norm       = 5.81145
  Prefactor  = 0.0001
  Prefactor  = 0.0001
  Prefactor  = 0.0001
  Normalizat = 1.40737
  Prefactor  = 1.09633
 **********
 **   18 **HESSE 
 **********

 FCN=   8090.623     FROM HESSE     STATUS=OK           376 CALLS     2984 TOTAL
                     EDM=   .33E-07    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  norm          .26992        60.116        .39000E-02   -1.5604    
   2  norm          .10000E-03    9.9367        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   3  norm          .10000E-03    .69324        .72562E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   4  Prefactor     48.952        56.295        .57297E-04   -1.4308    
   5  norm          .10000E-03    4.1064        .35017E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   6  norm          .10000E-03    10.659        .10907       -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   7  Prefactor     .10000E-03    20.589        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   8  Prefactor     .10001E-03    243.08        .21264E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   9  Prefactor     1.7697        2.5867        .16711E-03   -1.5442    
  10  Prefactor     9.5583        26.505        .64803E-03   -1.5090    
  11  norm          .10000E-03    1.9959        .18053E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  12  Prefactor     .10000E-03    9.0785        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  13  Prefactor     44.853        38.634        .59865E-04   -1.4368    
  14  Prefactor     6.2936        7.0398        .16001E-03   -1.5206    
  15  Prefactor     23.683        30.763        .82307E-04   -1.4734    
  16  Prefactor     .10000E-03    5.5739        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  17  Prefactor     6.6638        4.8546        .77731E-03   -1.5192    
  18  norm          5.8115        4.9167        .83306E-03   -1.5226    
  19  Prefactor     .10000E-03    5.1298        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  20  Prefactor     .10000E-03    18.837        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  21  Prefactor     .10000E-03    3.7496        .16976E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  22  Normalizat    1.4074        .27772        .32954E-03   -.80416    
  23  Prefactor     1.0963        .14602        .19930E-03   -.89584    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 3.34494e-08
Minuit parameter uncertainties:
  1  8.06322
  2  5.02573e-05
  3  1.1111e-06
  4  56.3564
  5  1.15838e-05
  6  0.000441491
  7  9.96764e-05
  8  0.00343996
  9  2.58682
  10  26.5372
  11  3.26804e-06
  12  3.33898e-05
  13  38.6552
  14  7.04076
  15  30.7831
  16  7.552e-06
  17  4.85484
  18  4.91707
  19  5.2217e-06
  20  0.000124154
  21  1.3129e-06
  22  0.278021
  23  0.146068
Done.

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

Extracting fit parameters...

4FGL J2056.2-4714
   Spectrum: LogParabola
291         norm:  1.000e-04  3.268e-06  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.096e+00  1.461e-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.407e+00  2.780e-01  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Fixed Index): -0.00
Ra Dec: 314.072 -47.237
Photon Flux Upper Limit: 9.36e-08 ph cm-2 s-1
Energy Flux Upper Limit: 2.86e-05 MeV cm-2 s-1

Saving results to:
/scratch/kocevski/124791/likelihoodResults_670118401_670377601_4FGL_J2056.2-4714_daily_bin1662.txt

Performing a free index iterative likelihood fit...

Freezing all point sources, except source of interest...

Done.

Freeing candidate source...
Done.

Fit tolerance = 1

Performing likelihood fit...
Done.

MINUIT Return Code (Free Index): 102
logL (Free Index) = 8090.62539879
delta logL = -0.0023872344309

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

MINUIT Return Code (Free Index): 0
logL (Free Index) = 8089.18493652
delta logL = 1.4380750331

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'norm      '    .29363       1.0000         .10000E-03   10000.    
     2 'alpha     '    5.0000       1.0000          .0000       5.0000    
     3 'Normalizat'    1.2625       1.0000         .10000E-01   10.000    
     4 'Prefactor '    1.1416       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=   8089.185     FROM MIGRAD    STATUS=CONVERGED     66 CALLS      312 TOTAL
                     EDM=   .83E-08    STRATEGY= 1      ERR MATRIX NOT POS-DEF

  EXT PARAMETER                APPROXIMATE        STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  norm          .29386        6.1635        .70281E-02    .18450E-02
   2  alpha         5.0000        3.6232        .46419    ** at limit **
   3  Normalizat    1.2625        .16661        .77896E-01    .14961E-04
   4  Prefactor     1.1417        .69613E-01    .36184E-01   -.11385E-05
                               ERR DEF=  .500    
Final values: 
  norm       = 0.293863
  alpha      = 5
  Normalizat = 1.26254
  Prefactor  = 1.14169
 **********
 **   18 **HESSE 
 **********

 FCN=   8089.185     FROM HESSE     STATUS=OK            33 CALLS      345 TOTAL
                     EDM=   .85E-09    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  norm          .29386        .20785        .31999E-03   -1.5600    
   2  alpha         5.0000        3.3523        .72406E-01    1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   3  Normalizat    1.2625        .27450        .34479E-03   -.84692    
   4  Prefactor     1.1417        .14551        .19572E-03   -.88145    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 8.49455e-10
Minuit parameter uncertainties:
  1  0.207852
  2  2.38711e-08
  3  0.27482
  4  0.145561
shell-init: error retrieving current directory: getcwd: cannot access parent directories: No such file or directory
rmdir: failed to remove `/scratch/kocevski/124791': 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) = 8089.18493388
delta logL = 1.43807767107

Extracting fit parameters...

4FGL J2056.2-4714
   Spectrum: LogParabola
291         norm:  2.939e-01  2.079e-01  1.000e-04  1.000e+04 ( 1.000e-11)
292        alpha:  5.000e+00  2.387e-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:  1.142e+00  1.456e-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.263e+00  2.748e-01  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Free Index): 3.11
Ra Dec: 314.072 -47.237
Photon Index (Free Index): 5.00 +/- 0.00
Photon Flux (Free Index): 1.12e-07 +/- 7.89e-08
Energy Flux (Free Index): 1.52e-05 +/- 1.07e-05

Creating a high resolution counts map...
INFO: Auto-setting vmin to -1.000e-01 [aplpy.core]
INFO: Auto-setting vmax to  1.110e+00 [aplpy.core]
Saving /scratch/kocevski/124791/cmap_HighResolution_670118401_670377601_4FGL_J2056.2-4714_daily_bin1662.png

Cleaning up...

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

Updating database...

UPDATE lightcurve_data_v2 SET energy_flux_upper_limit='2.86e-05', comment='SUCCESS', energy_flux2='1.52e-05', dlogl='1.44e+00', photon_flux2='1.12e-07', job_status='DONE', time_completed='2022-03-31 00:50:28.347806', photon_index_error2='0.00', photon_index2='5.00', ts='-0.00', fit_tolerance='1e-08', GAL='1.10', photon_index_error='0.00', photon_flux_upper_limit='9.36e-08', energy_flux_error2='1.07e-05', EG='1.41', time_epoch_completed='1648713028.35', return_code='0', job_id='124791', GAL2='1.14', EG2='1.26', return_code2='0', photon_flux_error2='7.89e-08', ts2='3.11', photon_index='2.35' WHERE bin_id='1662' AND source_name='4FGL J2056.2-4714' AND cadence='daily';

Database successfully updated.


Analysis Complete.


Thu Mar 31 00:50:28 PDT 2022


------------------------------------------------------------
Sender: LSF System <lsf@bullet0251>
Subject: Job 124791: <4FGL_J2056.2-4714_daily_bin1662> in cluster <slac> Done

Job <4FGL_J2056.2-4714_daily_bin1662> was submitted from host <rhel6-64l> by user <kocevski> in cluster <slac> at Thu Mar 31 00:35:15 2022
Job was executed on host(s) <bullet0251>, in queue <medium>, as user <kocevski> in cluster <slac> at Thu Mar 31 00:35:16 2022
</u/ki/kocevski> was used as the home directory.
</u/ki/kocevski> was used as the working directory.
Started at Thu Mar 31 00:35:16 2022
Terminated at Thu Mar 31 00:50:29 2022
Results reported at Thu Mar 31 00:50:29 2022

Your job looked like:

------------------------------------------------------------
# LSBATCH: User input
/nfs/farm/g/glast/g/LCRepository/Likelihood/Scripts/LikelihoodAnalysis.py 4FGL_J2056.2-4714_daily_bin1662 314.072 -47.2369 670118401 670377601 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 :                                   752.44 sec.
    Max Memory :                                 1256 MB
    Average Memory :                             303.33 MB
    Total Requested Memory :                     -
    Delta Memory :                               -
    Max Swap :                                   -
    Max Processes :                              5
    Max Threads :                                21
    Run time :                                   912 sec.
    Turnaround time :                            914 sec.

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

