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


Performing analysis on: 4FGL_J2050.4-2627_daily_bin1238
RA = 312.61, Dec = -26.4659
tmin = 560217601, tmax = 560476801
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='170921', job_status='RUN', time_executed='2021-09-25 19:22:05.632318', time_epoch_executed='1632622925.63' WHERE source_name='4FGL J2050.4-2627' and cadence='daily' and bin_id='1238'

Database successfully updated.
Done.

Creating custom output directory:
/scratch/kocevski/170921

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

Retrieving the FT1 file...

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

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

Retrieving 46 files...
Done.


Merging files...

Checksum keywords updated successfully.

Merged file saved to:
/scratch/kocevski/170921/ft1_4FGL_J2050.4-2627_daily_bin1238.fits


Retrieving the FT1 file...

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

Retrieving 46 files...
Done.


Merging files...

Merged file saved to:
/scratch/kocevski/170921/ft2_4FGL_J2050.4-2627_daily_bin1238.fits


Selecting the photons:
time -p gtselect infile=/scratch/kocevski/170921/ft1_4FGL_J2050.4-2627_daily_bin1238.fits outfile=/scratch/kocevski/170921/ft1_filteredMKT_4FGL_J2050.4-2627_daily_bin1238.fits ra=312.61 dec=-26.4659 rad=12.0 tmin=560217601.0 tmax=560476801.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.72
user 3.43
sys 0.18

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

Selecting the good time intervals:
time -p gtmktime scfile=/scratch/kocevski/170921/ft2_4FGL_J2050.4-2627_daily_bin1238.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/170921/ft1_filteredMKT_4FGL_J2050.4-2627_daily_bin1238.fits evtable="EVENTS" outfile="/scratch/kocevski/170921/ft1_filtered_4FGL_J2050.4-2627_daily_bin1238.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 1.02
user 0.32
sys 0.45

Generating the livetime cube:
time -p gtltcube evfile="/scratch/kocevski/170921/ft1_filtered_4FGL_J2050.4-2627_daily_bin1238.fits" evtable="EVENTS" scfile=/scratch/kocevski/170921/ft2_4FGL_J2050.4-2627_daily_bin1238.fits sctable="SC_DATA" outfile=/scratch/kocevski/170921/ltcube_560217601_560476801_4FGL_J2050.4-2627_daily_bin1238.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/170921/ft2_4FGL_J2050.4-2627_daily_bin1238.fits
.....................!
real 14.36
user 13.40
sys 0.36

Generating the exposure map:
time -p gtexpmap evfile=/scratch/kocevski/170921/ft1_filtered_4FGL_J2050.4-2627_daily_bin1238.fits evtable="EVENTS" scfile=/scratch/kocevski/170921/ft2_4FGL_J2050.4-2627_daily_bin1238.fits sctable="SC_DATA" expcube=/scratch/kocevski/170921/ltcube_560217601_560476801_4FGL_J2050.4-2627_daily_bin1238.fits outfile=/scratch/kocevski/170921/expmap_560217601_560476801_4FGL_J2050.4-2627_daily_bin1238.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/170921/ltcube_560217601_560476801_4FGL_J2050.4-2627_daily_bin1238.fits
.....................!
real 191.99
user 185.68
sys 4.90

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/170921/ft1_filtered_4FGL_J2050.4-2627_daily_bin1238.fits scfile=/scratch/kocevski/170921/ft2_4FGL_J2050.4-2627_daily_bin1238.fits outfile=/scratch/kocevski/170921/cmap_560217601_560476801_4FGL_J2050.4-2627_daily_bin1238.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.56
user 0.39
sys 0.16

Creating the high resolution counts map:
time -p gtbin evfile=/scratch/kocevski/170921/ft1_filtered_4FGL_J2050.4-2627_daily_bin1238.fits scfile=/scratch/kocevski/170921/ft2_4FGL_J2050.4-2627_daily_bin1238.fits outfile=/scratch/kocevski/170921/cmap_HighResolution_560217601_560476801_4FGL_J2050.4-2627_daily_bin1238.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.57
user 0.37
sys 0.18

Computing the diffuse response:
time -p gtdiffrsp evfile=/scratch/kocevski/170921/ft1_filtered_4FGL_J2050.4-2627_daily_bin1238.fits evtable="EVENTS" scfile=/scratch/kocevski/170921/ft2_4FGL_J2050.4-2627_daily_bin1238.fits sctable="SC_DATA" srcmdl=/scratch/kocevski/170921/Model_4FGL_J2050.4-2627_daily_bin1238.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/170921/ft1_filtered_4FGL_J2050.4-2627_daily_bin1238.fits.....................!
real 53.70
user 52.15
sys 1.15

Creating the likelihood object...
obs = UnbinnedObs('/scratch/kocevski/170921/ft1_filtered_4FGL_J2050.4-2627_daily_bin1238.fits', '/scratch/kocevski/170921/ft2_4FGL_J2050.4-2627_daily_bin1238.fits', expMap='/scratch/kocevski/170921/expmap_560217601_560476801_4FGL_J2050.4-2627_daily_bin1238.fits', expCube='/scratch/kocevski/170921/ltcube_560217601_560476801_4FGL_J2050.4-2627_daily_bin1238.fits', irfs='P8R3_SOURCE_V2')
like = UnbinnedAnalysis(obs, '/scratch/kocevski/170921/Model_4FGL_J2050.4-2627_daily_bin1238.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/170921/ft1_filtered_4FGL_J2050.4-2627_daily_bin1238.fits
Spacecraft file(s): /scratch/kocevski/170921/ft2_4FGL_J2050.4-2627_daily_bin1238.fits
Exposure map: /scratch/kocevski/170921/expmap_560217601_560476801_4FGL_J2050.4-2627_daily_bin1238.fits
Exposure cube: /scratch/kocevski/170921/ltcube_560217601_560476801_4FGL_J2050.4-2627_daily_bin1238.fits
IRFs: P8R3_SOURCE_V2
Source model file: /scratch/kocevski/170921/Model_4FGL_J2050.4-2627_daily_bin1238.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) = 5526.30897893

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

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

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'norm      '    12.946       1.0000         .10000E-03   10000.    
     2 'norm      '    .10006E-03   1.0000         .10000E-03   10000.    
     3 'Prefactor '    .10025E-03   1.0000         .10000E-03   10000.    
     4 'Prefactor '    5.0310       1.0000         .10000E-03   10000.    
     5 'Prefactor '    5.3015       1.0000         .10000E-03   10000.    
     6 'Prefactor '    .10009E-03   1.0000         .10000E-03   10000.    
     7 'norm      '    8.6242       1.0000         .10000E-03   10000.    
     8 'Prefactor '    48.066       1.0000         .10000E-03   10000.    
     9 'Prefactor '    .10020E-03   1.0000         .10000E-03   10000.    
    10 'Prefactor '    .52075E-03   1.0000         .10000E-03   10000.    
    11 'norm      '    .56778       1.0000         .10000E-03   10000.    
    12 'Prefactor '    .31643       1.0000         .10000E-03   10000.    
    13 'Prefactor '    32.335       1.0000         .10000E-03   10000.    
    14 'Normalizat'    1.3959       1.0000         .10000E-01   10.000    
    15 'Prefactor '    .99937       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=   5526.305     FROM MIGRAD    STATUS=CONVERGED    278 CALLS     1327 TOTAL
                     EDM=   .83E-09  STRATEGY=1  ERROR MATRIX UNCERTAINTY=   .5%

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  norm          12.948        16.733       -.15303E-05   -.13609E-04
   2  norm          .10000E-03    23.008        .39184E-05** at limit **
   3  Prefactor     .10000E-03    63.120       -.21943E-04** at limit **
   4  Prefactor     5.0361        9.3763       -.63298E-07   -.81002E-04
   5  Prefactor     5.3048        5.2887       -.11730E-05   -.37284E-03
   6  Prefactor     .10000E-03    53.102        .26595E-04** at limit **
   7  norm          8.6228        20.749        .76383E-06   -.30270E-04
   8  Prefactor     48.032        47.567       -.34945E-04   -.82231E-04
   9  Prefactor     .10000E-03    30.588       -.69845E-05** at limit **
  10  Prefactor     .10004E-03    9.1747        .24424E-05** at limit **
  11  norm          .60390        8.3766       -.47384E-07   -.43471E-03
  12  Prefactor     .35477        7.1845       -.17088E-05   -.13427E-03
  13  Prefactor     32.341        27.376        .24416E-05    .17605E-04
  14  Normalizat    1.3950        .32281        .88806E-05   -.28271E-03
  15  Prefactor     .99965        .13028        .17272E-08    .34152E-05
                               ERR DEF=  .500    
Final values: 
  norm       = 12.9475
  norm       = 0.0001
  Prefactor  = 0.0001
  Prefactor  = 5.03613
  Prefactor  = 5.3048
  Prefactor  = 0.0001
  norm       = 8.62282
  Prefactor  = 48.0324
  Prefactor  = 0.0001
  Prefactor  = 0.000100036
  norm       = 0.603898
  Prefactor  = 0.354769
  Prefactor  = 32.3409
  Normalizat = 1.395
  Prefactor  = 0.999648
 **********
 **   18 **HESSE 
 **********

 FCN=   5526.305     FROM HESSE     STATUS=OK           186 CALLS     1513 TOTAL
                     EDM=   .36E-08    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  norm          12.948        16.755        .11133E-03   -1.4988    
   2  norm          .10000E-03    23.133        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   3  Prefactor     .10000E-03    63.104        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   4  Prefactor     5.0361        9.3592        .17928E-03   -1.5259    
   5  Prefactor     5.3048        5.2972        .15834E-03   -1.5247    
   6  Prefactor     .10000E-03    53.102        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   7  norm          8.6228        20.746        .13650E-03   -1.5121    
   8  Prefactor     48.032        47.669        .57837E-04   -1.4321    
   9  Prefactor     .10000E-03    30.579        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  10  Prefactor     .10004E-03    41.330        .42054E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  11  norm          .60390        30.589        .41943E-02   -1.5553    
  12  Prefactor     .35477        39.529        .38427E-02   -1.5589    
  13  Prefactor     32.341        27.424        .70466E-04   -1.4570    
  14  Normalizat    1.3950        .37478        .37514E-03   -.80773    
  15  Prefactor     .99965        .15575        .18615E-03   -.92741    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 3.56288e-09
Minuit parameter uncertainties:
  1  16.7608
  2  2.83654e-05
  3  3.05948e-05
  4  9.36193
  5  5.29767
  6  4.02156e-05
  7  20.7637
  8  47.707
  9  7.38772e-05
  10  0.00243688
  11  8.59986
  12  7.4937
  13  27.4351
  14  0.37552
  15  0.155815
Done.

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

Extracting fit parameters...

4FGL J2050.4-2627
   Spectrum: LogParabola
313         norm:  8.623e+00  2.076e+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:  9.996e-01  1.558e-01  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:  1.395e+00  3.755e-01  1.000e-02  1.000e+01 ( 1.000e+00)


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

Saving results to:
/scratch/kocevski/170921/likelihoodResults_560217601_560476801_4FGL_J2050.4-2627_daily_bin1238.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) = 5526.29806006
delta logL = 0.00683508576549

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

MINUIT Return Code (Free Index): 0
logL (Free Index) = 5526.29757952
delta logL = 0.00731562708916

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'norm      '    9.2793       1.0000         .10000E-03   10000.    
     2 'alpha     '    1.8641       1.0000          .0000       5.0000    
     3 'Normalizat'    1.3962       1.0000         .10000E-01   10.000    
     4 'Prefactor '    .99940       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=   5526.298     FROM MIGRAD    STATUS=CONVERGED     81 CALLS      260 TOTAL
                     EDM=   .35E-08    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  norm          9.2806        22.189        .13156E-03   -.59617E-03
   2  alpha         1.8639        1.4619        .41762E-01   -.75511E-04
   3  Normalizat    1.3964        .35410        .37499E-03    .69426E-04
   4  Prefactor     .99934        .15328        .18617E-03    .16720E-03
                               ERR DEF=  .500    
Final values: 
  norm       = 9.28064
  alpha      = 1.86389
  Normalizat = 1.39636
  Prefactor  = 0.999344
 **********
 **   18 **HESSE 
 **********

 FCN=   5526.298     FROM HESSE     STATUS=OK            23 CALLS      283 TOTAL
                     EDM=   .38E-08    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  norm          9.2806        21.924        .26313E-04   -1.5099    
   2  alpha         1.8639        1.4479        .16705E-02   -.25727    
   3  Normalizat    1.3964        .35435        .15000E-04   -.80734    
   4  Prefactor     .99934        .15340        .37234E-04   -.92751    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 3.83769e-09
Minuit parameter uncertainties:
  1  21.9431
  2  1.55233
  3  0.354973
  4  0.153471
shell-init: error retrieving current directory: getcwd: cannot access parent directories: No such file or directory
rmdir: failed to remove `/scratch/kocevski/170921': 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) = 5526.2975794
delta logL = 0.0073157488041

Extracting fit parameters...

4FGL J2050.4-2627
   Spectrum: LogParabola
313         norm:  9.281e+00  2.194e+01  1.000e-04  1.000e+04 ( 1.000e-13)
314        alpha:  1.864e+00  1.552e+00  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:  9.993e-01  1.535e-01  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:  1.396e+00  3.550e-01  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Free Index): 0.24
Ra Dec: 312.610 -26.466

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/170921/cmap_HighResolution_560217601_560476801_4FGL_J2050.4-2627_daily_bin1238.png

Cleaning up...

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

Updating database...

UPDATE lightcurve_data_v2 SET energy_flux_upper_limit='4.98e-05', job_status='DONE', photon_flux_upper_limit='8.22e-08', time_completed='2021-09-25 19:30:13.865189', job_id='170921', GAL2='1.00', fit_tolerance='1e-08', EG2='1.40', EG='1.40', time_epoch_completed='1632623413.87', return_code2='0', ts='0.24', comment='SUCCESS', return_code='0', GAL='1.00', dlogl='7.32e-03', ts2='0.26', photon_index_error='0.00', photon_index='2.06' WHERE bin_id='1238' AND source_name='4FGL J2050.4-2627' AND cadence='daily';

Database successfully updated.


Analysis Complete.


Sat Sep 25 19:30:13 PDT 2021


------------------------------------------------------------
Sender: LSF System <lsf@bullet0193>
Subject: Job 170921: <4FGL_J2050.4-2627_daily_bin1238> in cluster <slac> Done

Job <4FGL_J2050.4-2627_daily_bin1238> was submitted from host <rhel6-64k> by user <kocevski> in cluster <slac> at Sat Sep 25 19:15:59 2021
Job was executed on host(s) <bullet0193>, in queue <medium>, as user <kocevski> in cluster <slac> at Sat Sep 25 19:19:53 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:19:53 2021
Terminated at Sat Sep 25 19:30:14 2021
Results reported at Sat Sep 25 19:30:14 2021

Your job looked like:

------------------------------------------------------------
# LSBATCH: User input
/nfs/farm/g/glast/g/LCRepository/Likelihood/Scripts/LikelihoodAnalysis.py 4FGL_J2050.4-2627_daily_bin1238 312.61 -26.4659 560217601 560476801 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 :                                   484.00 sec.
    Max Memory :                                 1256 MB
    Average Memory :                             235.77 MB
    Total Requested Memory :                     -
    Delta Memory :                               -
    Max Swap :                                   -
    Max Processes :                              5
    Max Threads :                                21
    Run time :                                   621 sec.
    Turnaround time :                            855 sec.

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

