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


Performing analysis on: 4FGL_J2050.4-2627_daily_bin735
RA = 312.61, Dec = -26.4659
tmin = 429840001, tmax = 430099201
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='169127', job_status='RUN', time_executed='2021-09-25 19:13:44.843787', time_epoch_executed='1632622424.84' WHERE source_name='4FGL J2050.4-2627' and cadence='daily' and bin_id='735'

Database successfully updated.
Done.

Creating custom output directory:
/scratch/kocevski/169127

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

Retrieving the FT1 file...

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

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

Retrieving 46 files...
Done.


Merging files...

Checksum keywords updated successfully.

Merged file saved to:
/scratch/kocevski/169127/ft1_4FGL_J2050.4-2627_daily_bin735.fits


Retrieving the FT1 file...

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

Retrieving 46 files...
Done.


Merging files...

Merged file saved to:
/scratch/kocevski/169127/ft2_4FGL_J2050.4-2627_daily_bin735.fits


Selecting the photons:
time -p gtselect infile=/scratch/kocevski/169127/ft1_4FGL_J2050.4-2627_daily_bin735.fits outfile=/scratch/kocevski/169127/ft1_filteredMKT_4FGL_J2050.4-2627_daily_bin735.fits ra=312.61 dec=-26.4659 rad=12.0 tmin=429840001.0 tmax=430099201.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 6.01
user 5.70
sys 0.26

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

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

Generating the livetime cube:
time -p gtltcube evfile="/scratch/kocevski/169127/ft1_filtered_4FGL_J2050.4-2627_daily_bin735.fits" evtable="EVENTS" scfile=/scratch/kocevski/169127/ft2_4FGL_J2050.4-2627_daily_bin735.fits sctable="SC_DATA" outfile=/scratch/kocevski/169127/ltcube_429840001_430099201_4FGL_J2050.4-2627_daily_bin735.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/169127/ft2_4FGL_J2050.4-2627_daily_bin735.fits
.....................!
real 14.68
user 14.25
sys 0.34

Generating the exposure map:
time -p gtexpmap evfile=/scratch/kocevski/169127/ft1_filtered_4FGL_J2050.4-2627_daily_bin735.fits evtable="EVENTS" scfile=/scratch/kocevski/169127/ft2_4FGL_J2050.4-2627_daily_bin735.fits sctable="SC_DATA" expcube=/scratch/kocevski/169127/ltcube_429840001_430099201_4FGL_J2050.4-2627_daily_bin735.fits outfile=/scratch/kocevski/169127/expmap_429840001_430099201_4FGL_J2050.4-2627_daily_bin735.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/169127/ltcube_429840001_430099201_4FGL_J2050.4-2627_daily_bin735.fits
.....................!
real 192.23
user 186.30
sys 5.21

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/169127/ft1_filtered_4FGL_J2050.4-2627_daily_bin735.fits scfile=/scratch/kocevski/169127/ft2_4FGL_J2050.4-2627_daily_bin735.fits outfile=/scratch/kocevski/169127/cmap_429840001_430099201_4FGL_J2050.4-2627_daily_bin735.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.57
user 0.38
sys 0.15

Creating the high resolution counts map:
time -p gtbin evfile=/scratch/kocevski/169127/ft1_filtered_4FGL_J2050.4-2627_daily_bin735.fits scfile=/scratch/kocevski/169127/ft2_4FGL_J2050.4-2627_daily_bin735.fits outfile=/scratch/kocevski/169127/cmap_HighResolution_429840001_430099201_4FGL_J2050.4-2627_daily_bin735.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.60
user 0.40
sys 0.16

Computing the diffuse response:
time -p gtdiffrsp evfile=/scratch/kocevski/169127/ft1_filtered_4FGL_J2050.4-2627_daily_bin735.fits evtable="EVENTS" scfile=/scratch/kocevski/169127/ft2_4FGL_J2050.4-2627_daily_bin735.fits sctable="SC_DATA" srcmdl=/scratch/kocevski/169127/Model_4FGL_J2050.4-2627_daily_bin735.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/169127/ft1_filtered_4FGL_J2050.4-2627_daily_bin735.fits.....................!
real 50.12
user 48.75
sys 1.21

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

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

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

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'norm      '    .10005E-03   1.0000         .10000E-03   10000.    
     2 'norm      '    .10037E-03   1.0000         .10000E-03   10000.    
     3 'Prefactor '    .10015E-03   1.0000         .10000E-03   10000.    
     4 'Prefactor '    12.164       1.0000         .10000E-03   10000.    
     5 'Prefactor '    1.1234       1.0000         .10000E-03   10000.    
     6 'Prefactor '    77.941       1.0000         .10000E-03   10000.    
     7 'norm      '    27.467       1.0000         .10000E-03   10000.    
     8 'Prefactor '    .10000E-03   1.0000         .10000E-03   10000.    
     9 'Prefactor '    .10003E-03   1.0000         .10000E-03   10000.    
    10 'Prefactor '    2.5768       1.0000         .10000E-03   10000.    
    11 'norm      '    22.587       1.0000         .10000E-03   10000.    
    12 'Prefactor '    .10058E-03   1.0000         .10000E-03   10000.    
    13 'Prefactor '    .10044E-03   1.0000         .10000E-03   10000.    
    14 'Normalizat'    1.1972       1.0000         .10000E-01   10.000    
    15 'Prefactor '    .91311       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=   5004.733     FROM MIGRAD    STATUS=CONVERGED    264 CALLS     1287 TOTAL
                     EDM=   .15E-08  STRATEGY=1  ERROR MATRIX UNCERTAINTY=   .2%

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  norm          .10000E-03    4.9156       -.10578E-07** at limit **
   2  norm          .10000E-03    10.597        .12638E-05** at limit **
   3  Prefactor     .10000E-03    44.012        .19492E-05** at limit **
   4  Prefactor     12.163        10.580        .26472E-05    .26849E-04
   5  Prefactor     1.1197        6.3372       -.50191E-05   -.10045E-02
   6  Prefactor     77.940        101.83        .51772E-07    .24875E-04
   7  norm          27.416        45.945       -.75832E-04    .14515E-04
   8  Prefactor     .10000E-03    17.577       -.83869E-05** at limit **
   9  Prefactor     .10000E-03    10.289       -.27723E-05** at limit **
  10  Prefactor     2.5741        8.7818        .56410E-06   -.20370E-03
  11  norm          22.587        13.731       -.24172E-06    .26448E-05
  12  Prefactor     .10000E-03    10.810        .20352E-05** at limit **
  13  Prefactor     .10000E-03    18.828        .70374E-05** at limit **
  14  Normalizat    1.1973        .27667        .43571E-05    .11920E-03
  15  Prefactor     .91304        .11628        .17694E-05    .18752E-03
                               ERR DEF=  .500    
Final values: 
  norm       = 0.0001
  norm       = 0.0001
  Prefactor  = 0.0001
  Prefactor  = 12.1626
  Prefactor  = 1.1197
  Prefactor  = 77.9403
  norm       = 27.4162
  Prefactor  = 0.0001
  Prefactor  = 0.0001
  Prefactor  = 2.57409
  norm       = 22.587
  Prefactor  = 0.0001
  Prefactor  = 0.0001
  Normalizat = 1.19731
  Prefactor  = 0.913036
 **********
 **   18 **HESSE 
 **********

 FCN=   5004.733     FROM HESSE     STATUS=OK           178 CALLS     1465 TOTAL
                     EDM=   .31E-08    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  norm          .10000E-03    4.9246        .15318E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   2  norm          .10000E-03    10.648        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   3  Prefactor     .10000E-03    44.077        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   4  Prefactor     12.163        10.572        .11486E-03   -1.5010    
   5  Prefactor     1.1197        6.5293        .33632E-03   -1.5496    
   6  Prefactor     77.940        101.87        .45487E-04   -1.3940    
   7  norm          27.416        45.829        .76441E-04   -1.4660    
   8  Prefactor     .10000E-03    17.654        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   9  Prefactor     .10000E-03    10.296        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  10  Prefactor     2.5741        8.7685        .25425E-03   -1.5387    
  11  norm          22.587        13.733        .84281E-04   -1.4757    
  12  Prefactor     .10000E-03    10.942        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  13  Prefactor     .10000E-03    18.891        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  14  Normalizat    1.1973        .32345        .34581E-03   -.86686    
  15  Prefactor     .91304        .13673        .16936E-03   -.95687    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 3.07812e-09
Minuit parameter uncertainties:
  1  1.647e-05
  2  6.27759e-05
  3  0.00014803
  4  10.5738
  5  5.40837
  6  102.098
  7  45.8879
  8  6.04707e-05
  9  1.42295e-05
  10  8.77292
  11  13.7347
  12  6.19317e-05
  13  6.3442e-05
  14  0.323993
  15  0.136786
Done.

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

Extracting fit parameters...

4FGL J2050.4-2627
   Spectrum: LogParabola
313         norm:  2.742e+01  4.589e+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.130e-01  1.368e-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.197e+00  3.240e-01  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Fixed Index): 0.49
Ra Dec: 312.610 -26.466
Photon Flux Upper Limit: 1.36e-07 ph cm-2 s-1
Energy Flux Upper Limit: 8.23e-05 MeV cm-2 s-1

Saving results to:
/scratch/kocevski/169127/likelihoodResults_429840001_430099201_4FGL_J2050.4-2627_daily_bin735.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) = 5003.7134438
delta logL = 1.01994293246

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

MINUIT Return Code (Free Index): 0
logL (Free Index) = 5003.71139849
delta logL = 1.02198825052

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'norm      '    13.603       1.0000         .10000E-03   10000.    
     2 'alpha     '    3.2724       1.0000          .0000       5.0000    
     3 'Normalizat'    1.1353       1.0000         .10000E-01   10.000    
     4 'Prefactor '    .92311       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=   5003.711     FROM MIGRAD    STATUS=CONVERGED     84 CALLS      298 TOTAL
                     EDM=   .11E-09    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  norm          13.599        29.243        .10860E-03   -.45119E-04
   2  alpha         3.2726        1.0802        .98168E-02   -.11152E-04
   3  Normalizat    1.1352        .31550        .35291E-03   -.14767E-03
   4  Prefactor     .92322        .13682        .16821E-03   -.40549E-03
                               ERR DEF=  .500    
Final values: 
  norm       = 13.599
  alpha      = 3.27259
  Normalizat = 1.13521
  Prefactor  = 0.923219
 **********
 **   18 **HESSE 
 **********

 FCN=   5003.711     FROM HESSE     STATUS=OK            25 CALLS      323 TOTAL
                     EDM=   .13E-09    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  norm          13.599        22.294        .43440E-05   -1.4970    
   2  alpha         3.2726        .83580        .39267E-03    .31418    
   3  Normalizat    1.1352        .31514        .14117E-04   -.88629    
   4  Prefactor     .92322        .13661        .33642E-04   -.95334    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 1.25985e-10
Minuit parameter uncertainties:
  1  22.3079
  2  0.85405
  3  0.315666
  4  0.136664
shell-init: error retrieving current directory: getcwd: cannot access parent directories: No such file or directory
rmdir: failed to remove `/scratch/kocevski/169127': 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) = 5003.71139788
delta logL = 1.02198885638

Extracting fit parameters...

4FGL J2050.4-2627
   Spectrum: LogParabola
313         norm:  1.360e+01  2.231e+01  1.000e-04  1.000e+04 ( 1.000e-13)
314        alpha:  3.273e+00  8.541e-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:  9.232e-01  1.367e-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.135e+00  3.157e-01  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Free Index): 2.56
Ra Dec: 312.610 -26.466
Photon Index (Free Index): 3.27 +/- 0.85
Photon Flux (Free Index): 1.07e-07 +/- 8.43e-08
Energy Flux (Free Index): 2.30e-05 +/- 1.78e-05

Creating a high resolution counts map...
INFO: Auto-setting vmin to  0.000e+00 [aplpy.core]
INFO: Auto-setting vmax to  0.000e+00 [aplpy.core]
Saving /scratch/kocevski/169127/cmap_HighResolution_429840001_430099201_4FGL_J2050.4-2627_daily_bin735.png

Cleaning up...

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

Updating database...

UPDATE lightcurve_data_v2 SET energy_flux_upper_limit='8.23e-05', comment='SUCCESS', energy_flux2='2.30e-05', dlogl='1.02e+00', photon_flux2='1.07e-07', job_status='DONE', time_completed='2021-09-25 19:21:54.709629', photon_index_error2='0.85', photon_index2='3.27', ts='0.49', fit_tolerance='1e-08', GAL='0.91', photon_index_error='0.00', photon_flux_upper_limit='1.36e-07', energy_flux_error2='1.78e-05', EG='1.20', time_epoch_completed='1632622914.71', return_code='0', job_id='169127', GAL2='0.92', EG2='1.14', return_code2='0', photon_flux_error2='8.43e-08', ts2='2.56', photon_index='2.06' WHERE bin_id='735' AND source_name='4FGL J2050.4-2627' AND cadence='daily';

Database successfully updated.


Analysis Complete.


Sat Sep 25 19:21:54 PDT 2021


------------------------------------------------------------
Sender: LSF System <scs@bullet0142>
Subject: Job 169127: <4FGL_J2050.4-2627_daily_bin735> in cluster <slac> Done

Job <4FGL_J2050.4-2627_daily_bin735> was submitted from host <rhel6-64h> by user <kocevski> in cluster <slac> at Sat Sep 25 19:10:33 2021
Job was executed on host(s) <bullet0142>, in queue <medium>, as user <kocevski> in cluster <slac> at Sat Sep 25 19:11:22 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:11:22 2021
Terminated at Sat Sep 25 19:21:55 2021
Results reported at Sat Sep 25 19:21:55 2021

Your job looked like:

------------------------------------------------------------
# LSBATCH: User input
/nfs/farm/g/glast/g/LCRepository/Likelihood/Scripts/LikelihoodAnalysis.py 4FGL_J2050.4-2627_daily_bin735 312.61 -26.4659 429840001 430099201 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 :                                   488.00 sec.
    Max Memory :                                 1093 MB
    Average Memory :                             273.05 MB
    Total Requested Memory :                     -
    Delta Memory :                               -
    Max Swap :                                   -
    Max Processes :                              5
    Max Threads :                                21
    Run time :                                   632 sec.
    Turnaround time :                            682 sec.

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

