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


Performing analysis on: 4FGL_J2050.4-2627_daily_bin1098
RA = 312.61, Dec = -26.4659
tmin = 523929601, tmax = 524188801
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='170730', job_status='RUN', time_executed='2021-09-25 19:21:00.245124', time_epoch_executed='1632622860.25' WHERE source_name='4FGL J2050.4-2627' and cadence='daily' and bin_id='1098'

Database successfully updated.
Done.

Creating custom output directory:
/scratch/kocevski/170730

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

Retrieving the FT1 file...

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

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

Retrieving 46 files...
Done.


Merging files...

Checksum keywords updated successfully.

Merged file saved to:
/scratch/kocevski/170730/ft1_4FGL_J2050.4-2627_daily_bin1098.fits


Retrieving the FT1 file...

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

Retrieving 46 files...
Done.


Merging files...

Merged file saved to:
/scratch/kocevski/170730/ft2_4FGL_J2050.4-2627_daily_bin1098.fits


Selecting the photons:
time -p gtselect infile=/scratch/kocevski/170730/ft1_4FGL_J2050.4-2627_daily_bin1098.fits outfile=/scratch/kocevski/170730/ft1_filteredMKT_4FGL_J2050.4-2627_daily_bin1098.fits ra=312.61 dec=-26.4659 rad=12.0 tmin=523929601.0 tmax=524188801.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.53
user 3.29
sys 0.20

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

Selecting the good time intervals:
time -p gtmktime scfile=/scratch/kocevski/170730/ft2_4FGL_J2050.4-2627_daily_bin1098.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/170730/ft1_filteredMKT_4FGL_J2050.4-2627_daily_bin1098.fits evtable="EVENTS" outfile="/scratch/kocevski/170730/ft1_filtered_4FGL_J2050.4-2627_daily_bin1098.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.69
user 0.33
sys 0.16

Generating the livetime cube:
time -p gtltcube evfile="/scratch/kocevski/170730/ft1_filtered_4FGL_J2050.4-2627_daily_bin1098.fits" evtable="EVENTS" scfile=/scratch/kocevski/170730/ft2_4FGL_J2050.4-2627_daily_bin1098.fits sctable="SC_DATA" outfile=/scratch/kocevski/170730/ltcube_523929601_524188801_4FGL_J2050.4-2627_daily_bin1098.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/170730/ft2_4FGL_J2050.4-2627_daily_bin1098.fits
.....................!
real 13.66
user 12.94
sys 0.33

Generating the exposure map:
time -p gtexpmap evfile=/scratch/kocevski/170730/ft1_filtered_4FGL_J2050.4-2627_daily_bin1098.fits evtable="EVENTS" scfile=/scratch/kocevski/170730/ft2_4FGL_J2050.4-2627_daily_bin1098.fits sctable="SC_DATA" expcube=/scratch/kocevski/170730/ltcube_523929601_524188801_4FGL_J2050.4-2627_daily_bin1098.fits outfile=/scratch/kocevski/170730/expmap_523929601_524188801_4FGL_J2050.4-2627_daily_bin1098.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/170730/ltcube_523929601_524188801_4FGL_J2050.4-2627_daily_bin1098.fits
.....................!
real 192.24
user 186.53
sys 5.36

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/170730/ft1_filtered_4FGL_J2050.4-2627_daily_bin1098.fits scfile=/scratch/kocevski/170730/ft2_4FGL_J2050.4-2627_daily_bin1098.fits outfile=/scratch/kocevski/170730/cmap_523929601_524188801_4FGL_J2050.4-2627_daily_bin1098.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.55
user 0.37
sys 0.17

Creating the high resolution counts map:
time -p gtbin evfile=/scratch/kocevski/170730/ft1_filtered_4FGL_J2050.4-2627_daily_bin1098.fits scfile=/scratch/kocevski/170730/ft2_4FGL_J2050.4-2627_daily_bin1098.fits outfile=/scratch/kocevski/170730/cmap_HighResolution_523929601_524188801_4FGL_J2050.4-2627_daily_bin1098.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.39
sys 0.15

Computing the diffuse response:
time -p gtdiffrsp evfile=/scratch/kocevski/170730/ft1_filtered_4FGL_J2050.4-2627_daily_bin1098.fits evtable="EVENTS" scfile=/scratch/kocevski/170730/ft2_4FGL_J2050.4-2627_daily_bin1098.fits sctable="SC_DATA" srcmdl=/scratch/kocevski/170730/Model_4FGL_J2050.4-2627_daily_bin1098.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/170730/ft1_filtered_4FGL_J2050.4-2627_daily_bin1098.fits.....................!
real 60.18
user 58.76
sys 1.29

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

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

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

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'norm      '    23.464       1.0000         .10000E-03   10000.    
     2 'norm      '    3.3393       1.0000         .10000E-03   10000.    
     3 'Prefactor '    26.226       1.0000         .10000E-03   10000.    
     4 'Prefactor '    .10014E-03   1.0000         .10000E-03   10000.    
     5 'Prefactor '    .10003E-03   1.0000         .10000E-03   10000.    
     6 'Prefactor '    132.78       1.0000         .10000E-03   10000.    
     7 'norm      '    .10087E-03   1.0000         .10000E-03   10000.    
     8 'Prefactor '    19.773       1.0000         .10000E-03   10000.    
     9 'Prefactor '    61.797       1.0000         .10000E-03   10000.    
    10 'Prefactor '    .10313E-01   1.0000         .10000E-03   10000.    
    11 'norm      '    .10000E-03   1.0000         .10000E-03   10000.    
    12 'Prefactor '    .10000E-03   1.0000         .10000E-03   10000.    
    13 'Prefactor '    .10000E-03   1.0000         .10000E-03   10000.    
    14 'Normalizat'    1.1782       1.0000         .10000E-01   10.000    
    15 'Prefactor '    .95200       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=   6492.960     FROM MIGRAD    STATUS=CONVERGED    317 CALLS     1395 TOTAL
                     EDM=   .68E-09  STRATEGY=1  ERROR MATRIX UNCERTAINTY=  1.4%

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  norm          23.487        18.106        .14271E-06    .11232E-04
   2  norm          3.3627        11.743        .14102E-04    .10986E-03
   3  Prefactor     26.272        38.454       -.10095E-05   -.23582E-05
   4  Prefactor     .10000E-03    2.8824       -.51972E-06** at limit **
   5  Prefactor     .10000E-03    2.5683        .12613E-06** at limit **
   6  Prefactor     132.44        124.15       -.17278E-06   -.19907E-03
   7  norm          .10000E-03    16.539       -.35206E-05** at limit **
   8  Prefactor     19.745        26.175        .76840E-06    .41367E-04
   9  Prefactor     61.872        36.203       -.33180E-06   -.17908E-04
  10  Prefactor     .42451        6.4670        .10627E-05   -.57927E-03
  11  norm          .10000E-03    3.4562        .11895E-06** at limit **
  12  Prefactor     .10000E-03    3.9348        .22707E-06** at limit **
  13  Prefactor     .10000E-03    7.6527        .18724E-06** at limit **
  14  Normalizat    1.1753        .26579        .41592E-05   -.19540E-03
  15  Prefactor     .95247        .11213       -.20664E-05    .14331E-03
                               ERR DEF=  .500    
Final values: 
  norm       = 23.487
  norm       = 3.36269
  Prefactor  = 26.272
  Prefactor  = 0.0001
  Prefactor  = 0.0001
  Prefactor  = 132.438
  norm       = 0.0001
  Prefactor  = 19.7448
  Prefactor  = 61.872
  Prefactor  = 0.424514
  norm       = 0.0001
  Prefactor  = 0.0001
  Prefactor  = 0.0001
  Normalizat = 1.17528
  Prefactor  = 0.952468
 **********
 **   18 **HESSE 
 **********

 FCN=   6492.960     FROM HESSE     STATUS=OK           180 CALLS     1575 TOTAL
                     EDM=   .59E-08    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  norm          23.487        18.148        .82694E-04   -1.4738    
   2  norm          3.3627        11.773        .11074E-02   -1.5341    
   3  Prefactor     26.272        38.467        .78224E-04   -1.4682    
   4  Prefactor     .10000E-03    2.8938        .13362E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   5  Prefactor     .10000E-03    2.6027        .12606E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   6  Prefactor     132.44        123.90        .17473E-03   -1.3401    
   7  norm          .10000E-03    16.586        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   8  Prefactor     19.745        26.177        .90073E-04   -1.4819    
   9  Prefactor     61.872        36.248        .51043E-04   -1.4133    
  10  Prefactor     .42451        52.990        .36644E-02   -1.5578    
  11  norm          .10000E-03    3.4641        .14630E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  12  Prefactor     .10000E-03    3.9436        .15609E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  13  Prefactor     .10000E-03    7.6587        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  14  Normalizat    1.1753        .30848        .36390E-03   -.87370    
  15  Prefactor     .95247        .13021        .17548E-03   -.94331    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 5.94814e-09
Minuit parameter uncertainties:
  1  18.1518
  2  11.781
  3  38.5031
  4  1.18402e-05
  5  1.35383e-06
  6  124.139
  7  6.07006e-05
  8  26.1925
  9  36.2613
  10  9.49327
  11  8.23337e-08
  12  1.80132e-06
  13  2.14174e-06
  14  0.308956
  15  0.130251
Done.

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

Extracting fit parameters...

4FGL J2050.4-2627
   Spectrum: LogParabola
313         norm:  1.000e-04  6.070e-05  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.525e-01  1.303e-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.175e+00  3.090e-01  1.000e-02  1.000e+01 ( 1.000e+00)


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

Saving results to:
/scratch/kocevski/170730/likelihoodResults_523929601_524188801_4FGL_J2050.4-2627_daily_bin1098.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) = 6492.96058685
delta logL = -0.000287256051706

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

MINUIT Return Code (Free Index): 0
logL (Free Index) = 6492.96029966
delta logL = -6.30770955468e-08

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'norm      '    .10017E-03   1.0000         .10000E-03   10000.    
     2 'alpha     '    2.0409       1.0000          .0000       5.0000    
     3 'Normalizat'    1.1753       1.0000         .10000E-01   10.000    
     4 'Prefactor '    .95247       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.

 FCN=   6492.960     FROM MIGRAD    STATUS=CONVERGED     52 CALLS      195 TOTAL
                     EDM=   .90E-09    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  norm          .10000E-03    17.131        .90712E-02** at limit **
   2  alpha         2.0576        3.4430        .42064       -.49955E-05
   3  Normalizat    1.1753        .24549        .82192E-01   -.39468E-03
   4  Prefactor     .95246        .10854        .45670E-01   -.12653E-02
                               ERR DEF=  .500    
Final values: 
  norm       = 0.000100001
  alpha      = 2.05756
  Normalizat = 1.17529
  Prefactor  = 0.952462
 **********
 **   18 **HESSE 
 **********

 FCN=   6492.960     FROM HESSE     STATUS=OK            29 CALLS      224 TOTAL
                     EDM=   .96E-09    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  norm          .10000E-03    16.534        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   2  alpha         2.0576        3.4342        .50000       -.17791    
   3  Normalizat    1.1753        .28767        .36388E-03   -.87370    
   4  Prefactor     .95246        .12743        .17548E-03   -.94331    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 9.63887e-10
Minuit parameter uncertainties:
  1  0.000200192
  2  2.46378
  3  0.288055
  4  0.127473
shell-init: error retrieving current directory: getcwd: cannot access parent directories: No such file or directory
rmdir: failed to remove `/scratch/kocevski/170730': 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) = 6492.96029959
delta logL = 2.24190443987e-09

Extracting fit parameters...

4FGL J2050.4-2627
   Spectrum: LogParabola
313         norm:  1.000e-04  2.002e-04  1.000e-04  1.000e+04 ( 1.000e-13)
314        alpha:  2.058e+00  2.464e+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.525e-01  1.275e-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.175e+00  2.881e-01  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Free Index): -0.00
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/170730/cmap_HighResolution_523929601_524188801_4FGL_J2050.4-2627_daily_bin1098.png

Cleaning up...

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

Updating database...

UPDATE lightcurve_data_v2 SET energy_flux_upper_limit='3.83e-05', job_status='DONE', photon_flux_upper_limit='6.32e-08', time_completed='2021-09-25 19:29:38.554172', job_id='170730', GAL2='0.95', fit_tolerance='1e-08', EG2='1.18', EG='1.18', time_epoch_completed='1632623378.55', return_code2='0', ts='-0.00', comment='SUCCESS', return_code='0', GAL='0.95', dlogl='2.24e-09', ts2='-0.00', photon_index_error='0.00', photon_index='2.06' WHERE bin_id='1098' AND source_name='4FGL J2050.4-2627' AND cadence='daily';

Database successfully updated.


Analysis Complete.


Sat Sep 25 19:29:38 PDT 2021


------------------------------------------------------------
Sender: LSF System <scs@bullet0012>
Subject: Job 170730: <4FGL_J2050.4-2627_daily_bin1098> in cluster <slac> Done

Job <4FGL_J2050.4-2627_daily_bin1098> was submitted from host <rhel6-64k> by user <kocevski> in cluster <slac> at Sat Sep 25 19:15:43 2021
Job was executed on host(s) <bullet0012>, in queue <medium>, as user <kocevski> in cluster <slac> at Sat Sep 25 19:18:39 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:18:39 2021
Terminated at Sat Sep 25 19:29:39 2021
Results reported at Sat Sep 25 19:29:39 2021

Your job looked like:

------------------------------------------------------------
# LSBATCH: User input
/nfs/farm/g/glast/g/LCRepository/Likelihood/Scripts/LikelihoodAnalysis.py 4FGL_J2050.4-2627_daily_bin1098 312.61 -26.4659 523929601 524188801 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 :                                   517.00 sec.
    Max Memory :                                 1256 MB
    Average Memory :                             297.57 MB
    Total Requested Memory :                     -
    Delta Memory :                               -
    Max Swap :                                   -
    Max Processes :                              5
    Max Threads :                                21
    Run time :                                   659 sec.
    Turnaround time :                            836 sec.

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

