/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 156 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 = 7384
number of fields = 27
No RA_SUN column yet. Adding RA_SUN/DEC_SUN columns.
Done.


Performing analysis on: 4FGL_J2050.4-2627_daily_bin449
RA = 312.61, Dec = -26.4659
tmin = 355708801, tmax = 355968001
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='167647', job_status='RUN', time_executed='2021-09-25 19:09:39.008793', time_epoch_executed='1632622179.01' WHERE source_name='4FGL J2050.4-2627' and cadence='daily' and bin_id='449'

Database successfully updated.
Done.

Creating custom output directory:
/scratch/kocevski/167647

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

Retrieving the FT1 file...

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

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

Retrieving 46 files...
Done.


Merging files...

Checksum keywords updated successfully.

Merged file saved to:
/scratch/kocevski/167647/ft1_4FGL_J2050.4-2627_daily_bin449.fits


Retrieving the FT1 file...

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

Retrieving 46 files...
Done.


Merging files...

Merged file saved to:
/scratch/kocevski/167647/ft2_4FGL_J2050.4-2627_daily_bin449.fits


Selecting the photons:
time -p gtselect infile=/scratch/kocevski/167647/ft1_4FGL_J2050.4-2627_daily_bin449.fits outfile=/scratch/kocevski/167647/ft1_filteredMKT_4FGL_J2050.4-2627_daily_bin449.fits ra=312.61 dec=-26.4659 rad=12.0 tmin=355708801.0 tmax=355968001.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 4.92
user 4.69
sys 0.20

Adding sun position to ft2 file:
/nfs/farm/g/glast/g/LCRepository/Repository/bin/sunpos /scratch/kocevski/167647/ft2_4FGL_J2050.4-2627_daily_bin449.fits

Selecting the good time intervals:
time -p gtmktime scfile=/scratch/kocevski/167647/ft2_4FGL_J2050.4-2627_daily_bin449.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/167647/ft1_filteredMKT_4FGL_J2050.4-2627_daily_bin449.fits evtable="EVENTS" outfile="/scratch/kocevski/167647/ft1_filtered_4FGL_J2050.4-2627_daily_bin449.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.53
user 0.34
sys 0.15

Generating the livetime cube:
time -p gtltcube evfile="/scratch/kocevski/167647/ft1_filtered_4FGL_J2050.4-2627_daily_bin449.fits" evtable="EVENTS" scfile=/scratch/kocevski/167647/ft2_4FGL_J2050.4-2627_daily_bin449.fits sctable="SC_DATA" outfile=/scratch/kocevski/167647/ltcube_355708801_355968001_4FGL_J2050.4-2627_daily_bin449.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/167647/ft2_4FGL_J2050.4-2627_daily_bin449.fits
.....................!
real 13.21
user 12.84
sys 0.34

Generating the exposure map:
time -p gtexpmap evfile=/scratch/kocevski/167647/ft1_filtered_4FGL_J2050.4-2627_daily_bin449.fits evtable="EVENTS" scfile=/scratch/kocevski/167647/ft2_4FGL_J2050.4-2627_daily_bin449.fits sctable="SC_DATA" expcube=/scratch/kocevski/167647/ltcube_355708801_355968001_4FGL_J2050.4-2627_daily_bin449.fits outfile=/scratch/kocevski/167647/expmap_355708801_355968001_4FGL_J2050.4-2627_daily_bin449.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/167647/ltcube_355708801_355968001_4FGL_J2050.4-2627_daily_bin449.fits
.....................!
real 191.08
user 185.87
sys 4.64

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 J2050.4-2627 @ 312.61 -26.4659

Creating the counts map:
time -p gtbin evfile=/scratch/kocevski/167647/ft1_filtered_4FGL_J2050.4-2627_daily_bin449.fits scfile=/scratch/kocevski/167647/ft2_4FGL_J2050.4-2627_daily_bin449.fits outfile=/scratch/kocevski/167647/cmap_355708801_355968001_4FGL_J2050.4-2627_daily_bin449.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=312.61 yref=-26.4659 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.59
user 0.39
sys 0.15

Creating the high resolution counts map:
time -p gtbin evfile=/scratch/kocevski/167647/ft1_filtered_4FGL_J2050.4-2627_daily_bin449.fits scfile=/scratch/kocevski/167647/ft2_4FGL_J2050.4-2627_daily_bin449.fits outfile=/scratch/kocevski/167647/cmap_HighResolution_355708801_355968001_4FGL_J2050.4-2627_daily_bin449.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=312.61 yref=-26.4659 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.56
user 0.38
sys 0.16

Computing the diffuse response:
time -p gtdiffrsp evfile=/scratch/kocevski/167647/ft1_filtered_4FGL_J2050.4-2627_daily_bin449.fits evtable="EVENTS" scfile=/scratch/kocevski/167647/ft2_4FGL_J2050.4-2627_daily_bin449.fits sctable="SC_DATA" srcmdl=/scratch/kocevski/167647/Model_4FGL_J2050.4-2627_daily_bin449.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/167647/ft1_filtered_4FGL_J2050.4-2627_daily_bin449.fits.....................!
real 78.10
user 76.49
sys 1.26

Creating the likelihood object...
obs = UnbinnedObs('/scratch/kocevski/167647/ft1_filtered_4FGL_J2050.4-2627_daily_bin449.fits', '/scratch/kocevski/167647/ft2_4FGL_J2050.4-2627_daily_bin449.fits', expMap='/scratch/kocevski/167647/expmap_355708801_355968001_4FGL_J2050.4-2627_daily_bin449.fits', expCube='/scratch/kocevski/167647/ltcube_355708801_355968001_4FGL_J2050.4-2627_daily_bin449.fits', irfs='P8R3_SOURCE_V2')
like = UnbinnedAnalysis(obs, '/scratch/kocevski/167647/Model_4FGL_J2050.4-2627_daily_bin449.xml', optimizer='MINUIT')

Using source of interest name: '4FGL J2050.4-2627'

4FGL J2050.4-2627
   Spectrum: LogParabola
313         norm:  4.487e+00  0.000e+00  1.000e-04  1.000e+04 ( 1.000e-13)
314        alpha:  2.056e+00  0.000e+00  0.000e+00  5.000e+00 ( 1.000e+00) fixed
315         beta:  1.779e-01  0.000e+00  0.000e+00  1.000e+01 ( 1.000e+00) fixed
316           Eb:  1.248e+03  0.000e+00  3.000e+01  5.000e+05 ( 1.000e+00) fixed


Likelihood Fit Parameters:
Event file(s): /scratch/kocevski/167647/ft1_filtered_4FGL_J2050.4-2627_daily_bin449.fits
Spacecraft file(s): /scratch/kocevski/167647/ft2_4FGL_J2050.4-2627_daily_bin449.fits
Exposure map: /scratch/kocevski/167647/expmap_355708801_355968001_4FGL_J2050.4-2627_daily_bin449.fits
Exposure cube: /scratch/kocevski/167647/ltcube_355708801_355968001_4FGL_J2050.4-2627_daily_bin449.fits
IRFs: P8R3_SOURCE_V2
Source model file: /scratch/kocevski/167647/Model_4FGL_J2050.4-2627_daily_bin449.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) = 10052.9226422

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

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

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'norm      '    2.4690       1.0000         .10000E-03   10000.    
     2 'norm      '    7.2365       1.0000         .10000E-03   10000.    
     3 'Prefactor '    .10001E-03   1.0000         .10000E-03   10000.    
     4 'Prefactor '    .10000E-03   1.0000         .10000E-03   10000.    
     5 'Prefactor '    1.8397       1.0000         .10000E-03   10000.    
     6 'Prefactor '    .10001E-03   1.0000         .10000E-03   10000.    
     7 'norm      '    18.358       1.0000         .10000E-03   10000.    
     8 'Prefactor '    11.694       1.0000         .10000E-03   10000.    
     9 'Prefactor '    43.355       1.0000         .10000E-03   10000.    
    10 'Prefactor '    .59323E-02   1.0000         .10000E-03   10000.    
    11 'norm      '    6.8991       1.0000         .10000E-03   10000.    
    12 'Prefactor '    5.2199       1.0000         .10000E-03   10000.    
    13 'Prefactor '    .10000E-03   1.0000         .10000E-03   10000.    
    14 'Normalizat'    .50376       1.0000         .10000E-01   10.000    
    15 'Prefactor '    1.0761       1.0000          .0000       10.000    
 **********
 **   15 **SET ERR    .5000    
 **********
 **********
 **   16 **SET GRAD    1.000    
 **********
 **********
 **   17 **MINIMIZE    .5490E+05   .2000E-04
 **********

 MIGRAD MINIMIZATION HAS CONVERGED.

 MIGRAD WILL VERIFY CONVERGENCE AND ERROR MATRIX.

 MIGRAD MINIMIZATION HAS CONVERGED.

 FCN=   10052.92     FROM MIGRAD    STATUS=CONVERGED    274 CALLS     1350 TOTAL
                     EDM=   .27E-09  STRATEGY=1  ERROR MATRIX UNCERTAINTY=   .5%

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  norm          2.4683        4.1647       -.67246E-06   -.44116E-03
   2  norm          7.2367        7.3078        .38131E-05   -.11573E-03
   3  Prefactor     .10000E-03    31.547       -.53486E-05** at limit **
   4  Prefactor     .10000E-03    1.3192        .41034E-07** at limit **
   5  Prefactor     1.8397        2.3034       -.19982E-06   -.10009E-02
   6  Prefactor     .10000E-03    31.852        .49178E-05** at limit **
   7  norm          18.358        16.901       -.20782E-08   -.18336E-04
   8  Prefactor     11.693        10.954       -.11207E-05   -.50297E-04
   9  Prefactor     43.354        23.027       -.87232E-06   -.41040E-05
  10  Prefactor     .10005E-03    3.8096        .10351E-07** at limit **
  11  norm          6.8992        6.4639        .34971E-05   -.87766E-04
  12  Prefactor     5.2199        4.5003        .10561E-05   -.77493E-04
  13  Prefactor     .10000E-03    5.6222        .17914E-06** at limit **
  14  Normalizat    .50383        .18923       -.91892E-06   -.88476E-04
  15  Prefactor     1.0760        .87181E-01   -.19693E-07    .45420E-04
                               ERR DEF=  .500    
Final values: 
  norm       = 2.46832
  norm       = 7.23667
  Prefactor  = 0.0001
  Prefactor  = 0.0001
  Prefactor  = 1.83968
  Prefactor  = 0.0001
  norm       = 18.358
  Prefactor  = 11.6935
  Prefactor  = 43.354
  Prefactor  = 0.00010005
  norm       = 6.8992
  Prefactor  = 5.21987
  Prefactor  = 0.0001
  Normalizat = 0.503827
  Prefactor  = 1.07605
 **********
 **   18 **HESSE 
 **********

 FCN=   10052.92     FROM HESSE     STATUS=OK           196 CALLS     1546 TOTAL
                     EDM=   .58E-09    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  norm          2.4683        4.1775        .26024E-03   -1.5394    
   2  norm          7.2367        7.2312        .14911E-03   -1.5170    
   3  Prefactor     .10000E-03    31.678        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   4  Prefactor     .10000E-03    1.3280        .11244E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   5  Prefactor     1.8397        2.2985        .16491E-03   -1.5437    
   6  Prefactor     .10000E-03    31.889        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   7  norm          18.358        16.905        .93478E-04   -1.4851    
   8  Prefactor     11.693        10.956        .11715E-03   -1.5024    
   9  Prefactor     43.354        22.994        .60886E-04   -1.4390    
  10  Prefactor     .10005E-03    4.7937        .52238E-01   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  11  norm          6.8992        6.4118        .15274E-03   -1.5183    
  12  Prefactor     5.2199        4.4921        .17594E-03   -1.5251    
  13  Prefactor     .10000E-03    5.6401        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  14  Normalizat    .50383        .20712        .43627E-03   -1.1224    
  15  Prefactor     1.0760        .96771E-01    .14601E-03   -.90236    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 5.8074e-10
Minuit parameter uncertainties:
  1  4.17799
  2  7.23212
  3  2.1591e-05
  4  1.91929e-07
  5  2.29862
  6  1.3114e-05
  7  16.9098
  8  10.9583
  9  22.9992
  10  0.00097822
  11  6.41249
  12  4.49237
  13  4.6635e-06
  14  0.207442
  15  0.0967867
Done.

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

Extracting fit parameters...

4FGL J2050.4-2627
   Spectrum: LogParabola
313         norm:  1.836e+01  1.691e+01  1.000e-04  1.000e+04 ( 1.000e-13)
314        alpha:  2.056e+00  0.000e+00  0.000e+00  5.000e+00 ( 1.000e+00) fixed
315         beta:  1.779e-01  0.000e+00  0.000e+00  1.000e+01 ( 1.000e+00) fixed
316           Eb:  1.248e+03  0.000e+00  3.000e+01  5.000e+05 ( 1.000e+00) fixed

GAL_V02
   Spectrum: PowerLaw
546    Prefactor:  1.076e+00  9.679e-02  0.000e+00  1.000e+01 ( 1.000e+00)
547        Index:  0.000e+00  0.000e+00 -1.000e+00  1.000e+00 ( 1.000e+00) fixed
548        Scale:  1.000e+02  0.000e+00  5.000e+01  2.000e+02 ( 1.000e+00) fixed

EG_v02
   Spectrum: FileFunction
545   Normalization:  5.038e-01  2.074e-01  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Fixed Index): 2.23
Ra Dec: 312.610 -26.466
Photon Index (Fixed Index): 2.06 +/- 0.00
Photon Flux (Fixed Index): 1.83e-08 +/- 1.68e-08
Energy Flux (Fixed Index): 1.11e-05 +/- 1.02e-05

TS (Fixed Index): 2.23
Ra Dec: 312.610 -26.466
Photon Flux Upper Limit: 5.96e-08 ph cm-2 s-1
Energy Flux Upper Limit: 3.61e-05 MeV cm-2 s-1

Saving results to:
/scratch/kocevski/167647/likelihoodResults_355708801_355968001_4FGL_J2050.4-2627_daily_bin449.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): 0
logL (Free Index) = 10052.904249
delta logL = 0.0153788056869

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

MINUIT Return Code (Free Index): 0
logL (Free Index) = 10052.9015811
delta logL = 0.0180466790571

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'norm      '    17.084       1.0000         .10000E-03   10000.    
     2 'alpha     '    2.2070       1.0000          .0000       5.0000    
     3 'Normalizat'    .50102       1.0000         .10000E-01   10.000    
     4 'Prefactor '    1.0765       1.0000          .0000       10.000    
 **********
 **   15 **SET ERR    .5000    
 **********
 **********
 **   16 **SET GRAD    1.000    
 **********
 **********
 **   17 **MINIMIZE    .5490E+05   .2000E-04
 **********

 MIGRAD MINIMIZATION HAS CONVERGED.

 MIGRAD WILL VERIFY CONVERGENCE AND ERROR MATRIX.

 MIGRAD MINIMIZATION HAS CONVERGED.

 MIGRAD WILL VERIFY CONVERGENCE AND ERROR MATRIX.

 FCN=   10052.90     FROM MIGRAD    STATUS=CONVERGED     90 CALLS      249 TOTAL
                     EDM=   .59E-10    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  norm          17.085        18.185        .96901E-04   -.35197E-04
   2  alpha         2.2068        .80923        .19613E-01   -.12541E-04
   3  Normalizat    .50104        .19940        .43742E-03    .13962E-03
   4  Prefactor     1.0765        .95733E-01    .14598E-03    .35722E-03
                               ERR DEF=  .500    
Final values: 
  norm       = 17.085
  alpha      = 2.20681
  Normalizat = 0.501039
  Prefactor  = 1.07654
 **********
 **   18 **HESSE 
 **********

 FCN=   10052.90     FROM HESSE     STATUS=OK            25 CALLS      274 TOTAL
                     EDM=   .84E-10    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  norm          17.085        17.540        .38761E-05   -1.4881    
   2  alpha         2.2068        .78147        .78452E-03   -.11755    
   3  Normalizat    .50104        .19933        .17497E-04   -1.1237    
   4  Prefactor     1.0765        .95733E-01    .29196E-04   -.90220    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 8.4115e-11
Minuit parameter uncertainties:
  1  17.5456
  2  0.79499
  3  0.199611
  4  0.095748
shell-init: error retrieving current directory: getcwd: cannot access parent directories: No such file or directory
rmdir: failed to remove `/scratch/kocevski/167647': 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) = 10052.9015811
delta logL = 0.0180467188056

Extracting fit parameters...

4FGL J2050.4-2627
   Spectrum: LogParabola
313         norm:  1.708e+01  1.755e+01  1.000e-04  1.000e+04 ( 1.000e-13)
314        alpha:  2.207e+00  7.950e-01  0.000e+00  5.000e+00 ( 1.000e+00)
315         beta:  1.779e-01  0.000e+00  0.000e+00  1.000e+01 ( 1.000e+00) fixed
316           Eb:  1.248e+03  0.000e+00  3.000e+01  5.000e+05 ( 1.000e+00) fixed

GAL_V02
   Spectrum: PowerLaw
546    Prefactor:  1.077e+00  9.575e-02  0.000e+00  1.000e+01 ( 1.000e+00)
547        Index:  0.000e+00  0.000e+00 -1.000e+00  1.000e+00 ( 1.000e+00) fixed
548        Scale:  1.000e+02  0.000e+00  5.000e+01  2.000e+02 ( 1.000e+00) fixed

EG_v02
   Spectrum: FileFunction
545   Normalization:  5.010e-01  1.996e-01  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Free Index): 2.27
Ra Dec: 312.610 -26.466
Photon Index (Free Index): 2.21 +/- 0.79
Photon Flux (Free Index): 2.10e-08 +/- 2.36e-08
Energy Flux (Free Index): 1.04e-05 +/- 1.00e-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/167647/cmap_HighResolution_355708801_355968001_4FGL_J2050.4-2627_daily_bin449.png

Cleaning up...

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

Updating database...

UPDATE lightcurve_data_v2 SET energy_flux_upper_limit='3.61e-05', comment='SUCCESS', photon_flux='1.83e-08', energy_flux2='1.04e-05', photon_flux_error='1.68e-08', dlogl='1.80e-02', energy_flux='1.11e-05', photon_flux2='2.10e-08', job_status='DONE', time_completed='2021-09-25 19:20:20.372287', photon_index_error2='0.79', photon_index2='2.21', ts='2.23', fit_tolerance='1e-08', GAL='1.08', photon_index_error='0.00', photon_flux_upper_limit='5.96e-08', energy_flux_error2='1.00e-05', EG='0.50', time_epoch_completed='1632622820.37', return_code='0', job_id='167647', GAL2='1.08', EG2='0.50', return_code2='0', energy_flux_error='1.02e-05', photon_flux_error2='2.36e-08', ts2='2.27', photon_index='2.06' WHERE bin_id='449' AND source_name='4FGL J2050.4-2627' AND cadence='daily';

Database successfully updated.


Analysis Complete.


Sat Sep 25 19:20:20 PDT 2021


------------------------------------------------------------
Sender: LSF System <lsf@bullet0265>
Subject: Job 167647: <4FGL_J2050.4-2627_daily_bin449> in cluster <slac> Done

Job <4FGL_J2050.4-2627_daily_bin449> was submitted from host <rhel6-64h> by user <kocevski> in cluster <slac> at Sat Sep 25 19:05:30 2021
Job was executed on host(s) <bullet0265>, in queue <medium>, as user <kocevski> in cluster <slac> at Sat Sep 25 19:06:51 2021
</u/ki/kocevski> was used as the home directory.
</u/ki/kocevski> was used as the working directory.
Started at Sat Sep 25 19:06:51 2021
Terminated at Sat Sep 25 19:20:20 2021
Results reported at Sat Sep 25 19:20:20 2021

Your job looked like:

------------------------------------------------------------
# LSBATCH: User input
/nfs/farm/g/glast/g/LCRepository/Likelihood/Scripts/LikelihoodAnalysis.py 4FGL_J2050.4-2627_daily_bin449 312.61 -26.4659 355708801 355968001 irfs=P8R3_SOURCE_V2 zmax=90 ROI=12 association=4FGL_J2050.4-2627 fixedModel=True performFreeIndexFit=True freeVariableSources=True nuke=True repositoryJob=True verbose=False
------------------------------------------------------------

Successfully completed.

Resource usage summary:

    CPU time :                                   640.27 sec.
    Max Memory :                                 1256 MB
    Average Memory :                             297.56 MB
    Total Requested Memory :                     -
    Delta Memory :                               -
    Max Swap :                                   -
    Max Processes :                              5
    Max Threads :                                21
    Run time :                                   811 sec.
    Turnaround time :                            890 sec.

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

