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


Performing analysis on: 4FGL_J2050.4-2627_daily_bin764
RA = 312.61, Dec = -26.4659
tmin = 437356801, tmax = 437616001
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='169172', job_status='RUN', time_executed='2021-09-25 19:11:41.445695', time_epoch_executed='1632622301.45' WHERE source_name='4FGL J2050.4-2627' and cadence='daily' and bin_id='764'

Database successfully updated.
Done.

Creating custom output directory:
/scratch/kocevski/169172

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

Retrieving the FT1 file...

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

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

Retrieving 48 files...
Done.


Merging files...

Checksum keywords updated successfully.

Merged file saved to:
/scratch/kocevski/169172/ft1_4FGL_J2050.4-2627_daily_bin764.fits


Retrieving the FT1 file...

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

Retrieving 48 files...
Done.


Merging files...

Merged file saved to:
/scratch/kocevski/169172/ft2_4FGL_J2050.4-2627_daily_bin764.fits


Selecting the photons:
time -p gtselect infile=/scratch/kocevski/169172/ft1_4FGL_J2050.4-2627_daily_bin764.fits outfile=/scratch/kocevski/169172/ft1_filteredMKT_4FGL_J2050.4-2627_daily_bin764.fits ra=312.61 dec=-26.4659 rad=12.0 tmin=437356801.0 tmax=437616001.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 5.59
user 5.31
sys 0.25

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

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

Generating the livetime cube:
time -p gtltcube evfile="/scratch/kocevski/169172/ft1_filtered_4FGL_J2050.4-2627_daily_bin764.fits" evtable="EVENTS" scfile=/scratch/kocevski/169172/ft2_4FGL_J2050.4-2627_daily_bin764.fits sctable="SC_DATA" outfile=/scratch/kocevski/169172/ltcube_437356801_437616001_4FGL_J2050.4-2627_daily_bin764.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/169172/ft2_4FGL_J2050.4-2627_daily_bin764.fits
.....................!
real 14.02
user 13.62
sys 0.33

Generating the exposure map:
time -p gtexpmap evfile=/scratch/kocevski/169172/ft1_filtered_4FGL_J2050.4-2627_daily_bin764.fits evtable="EVENTS" scfile=/scratch/kocevski/169172/ft2_4FGL_J2050.4-2627_daily_bin764.fits sctable="SC_DATA" expcube=/scratch/kocevski/169172/ltcube_437356801_437616001_4FGL_J2050.4-2627_daily_bin764.fits outfile=/scratch/kocevski/169172/expmap_437356801_437616001_4FGL_J2050.4-2627_daily_bin764.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/169172/ltcube_437356801_437616001_4FGL_J2050.4-2627_daily_bin764.fits
.....................!
real 191.45
user 185.77
sys 5.17

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/169172/ft1_filtered_4FGL_J2050.4-2627_daily_bin764.fits scfile=/scratch/kocevski/169172/ft2_4FGL_J2050.4-2627_daily_bin764.fits outfile=/scratch/kocevski/169172/cmap_437356801_437616001_4FGL_J2050.4-2627_daily_bin764.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.54
user 0.37
sys 0.16

Creating the high resolution counts map:
time -p gtbin evfile=/scratch/kocevski/169172/ft1_filtered_4FGL_J2050.4-2627_daily_bin764.fits scfile=/scratch/kocevski/169172/ft2_4FGL_J2050.4-2627_daily_bin764.fits outfile=/scratch/kocevski/169172/cmap_HighResolution_437356801_437616001_4FGL_J2050.4-2627_daily_bin764.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.55
user 0.40
sys 0.14

Computing the diffuse response:
time -p gtdiffrsp evfile=/scratch/kocevski/169172/ft1_filtered_4FGL_J2050.4-2627_daily_bin764.fits evtable="EVENTS" scfile=/scratch/kocevski/169172/ft2_4FGL_J2050.4-2627_daily_bin764.fits sctable="SC_DATA" srcmdl=/scratch/kocevski/169172/Model_4FGL_J2050.4-2627_daily_bin764.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/169172/ft1_filtered_4FGL_J2050.4-2627_daily_bin764.fits.....................!
real 107.18
user 105.73
sys 1.20

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

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

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

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'norm      '    10.979       1.0000         .10000E-03   10000.    
     2 'norm      '    13.573       1.0000         .10000E-03   10000.    
     3 'Prefactor '    .10001E-03   1.0000         .10000E-03   10000.    
     4 'Prefactor '    .10097E-03   1.0000         .10000E-03   10000.    
     5 'Prefactor '    .15174E-03   1.0000         .10000E-03   10000.    
     6 'Prefactor '    .10018E-03   1.0000         .10000E-03   10000.    
     7 'norm      '    14.338       1.0000         .10000E-03   10000.    
     8 'Prefactor '    .10001E-03   1.0000         .10000E-03   10000.    
     9 'Prefactor '    .10052E-03   1.0000         .10000E-03   10000.    
    10 'Prefactor '    4.6112       1.0000         .10000E-03   10000.    
    11 'norm      '    13.332       1.0000         .10000E-03   10000.    
    12 'Prefactor '    .25089E-02   1.0000         .10000E-03   10000.    
    13 'Prefactor '    1.1963       1.0000         .10000E-03   10000.    
    14 'Normalizat'    1.2612       1.0000         .10000E-01   10.000    
    15 'Prefactor '    .92913       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=   13236.85     FROM MIGRAD    STATUS=CONVERGED    283 CALLS     1189 TOTAL
                     EDM=   .11E-08  STRATEGY=1  ERROR MATRIX UNCERTAINTY=  1.5%

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  norm          10.979        9.2369       -.77670E-07   -.85891E-04
   2  norm          13.574        8.2906       -.31810E-06   -.96593E-04
   3  Prefactor     .10000E-03    15.905        .88691E-05** at limit **
   4  Prefactor     .10000E-03    4.1345       -.10240E-06** at limit **
   5  Prefactor     .10004E-03    1.1633       -.26371E-06** at limit **
   6  Prefactor     .10000E-03    24.756        .97173E-05** at limit **
   7  norm          14.335        13.091        .41937E-07   -.15523E-05
   8  Prefactor     .10000E-03    5.6560       -.22677E-07** at limit **
   9  Prefactor     .10000E-03    17.730       -.14795E-04** at limit **
  10  Prefactor     4.6088        5.8604       -.43101E-05   -.29931E-03
  11  norm          13.332        7.6590        .99151E-07    .69736E-04
  12  Prefactor     .21797E-02    2.6148       -.12423E-05** at limit **
  13  Prefactor     1.1832        65.589       -.10211E-04   -.11124E-03
  14  Normalizat    1.2614        .17994        .21295E-05    .18788E-03
  15  Prefactor     .92902        .75746E-01   -.26095E-06    .69019E-03
                               ERR DEF=  .500    
Final values: 
  norm       = 10.9786
  norm       = 13.5739
  Prefactor  = 0.0001
  Prefactor  = 0.0001
  Prefactor  = 0.000100036
  Prefactor  = 0.0001
  norm       = 14.3347
  Prefactor  = 0.0001
  Prefactor  = 0.0001
  Prefactor  = 4.60876
  norm       = 13.3323
  Prefactor  = 0.00217969
  Prefactor  = 1.18317
  Normalizat = 1.26142
  Prefactor  = 0.929024
 **********
 **   18 **HESSE 
 **********

 FCN=   13236.85     FROM HESSE     STATUS=OK           200 CALLS     1389 TOTAL
                     EDM=   .32E-08    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  norm          10.979        9.2471        .12091E-03   -1.5045    
   2  norm          13.574        8.3079        .10872E-03   -1.4971    
   3  Prefactor     .10000E-03    15.818        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   4  Prefactor     .10000E-03    4.2798        .36285E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   5  Prefactor     .10004E-03    2.5943        .40414E-01   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   6  Prefactor     .10000E-03    24.688        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   7  norm          14.335        13.095        .10578E-03   -1.4951    
   8  Prefactor     .10000E-03    5.6756        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   9  Prefactor     .10000E-03    17.611        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  10  Prefactor     4.6088        5.9609        .18744E-03   -1.5279    
  11  norm          13.332        7.6553        .10970E-03   -1.4978    
  12  Prefactor     .21797E-02    3.4259        .71794E-01   -1.5699    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  13  Prefactor     1.1832        70.481        .41564E-03   -1.5490    
  14  Normalizat    1.2614        .21629        .34493E-03   -.84725    
  15  Prefactor     .92902        .91708E-01    .16999E-03   -.95134    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 3.15381e-09
Minuit parameter uncertainties:
  1  9.2483
  2  8.30859
  3  2.06294e-05
  4  1.42729e-05
  5  0.000612932
  6  1.22077e-05
  7  13.0972
  8  7.71836e-06
  9  3.68699e-05
  10  5.96168
  11  7.65589
  12  0.168828
  13  18.2856
  14  0.216443
  15  0.0917229
Done.

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

Extracting fit parameters...

4FGL J2050.4-2627
   Spectrum: LogParabola
313         norm:  1.433e+01  1.310e+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.290e-01  9.172e-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:  1.261e+00  2.164e-01  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Fixed Index): 3.34
Ra Dec: 312.610 -26.466
Photon Index (Fixed Index): 2.06 +/- 0.00
Photon Flux (Fixed Index): 1.43e-08 +/- 1.30e-08
Energy Flux (Fixed Index): 8.65e-06 +/- 7.91e-06

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

Saving results to:
/scratch/kocevski/169172/likelihoodResults_437356801_437616001_4FGL_J2050.4-2627_daily_bin764.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) = 13235.888608
delta logL = 0.964374515248

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

MINUIT Return Code (Free Index): 0
logL (Free Index) = 13235.8721215
delta logL = 0.980861017924

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'norm      '    16.682       1.0000         .10000E-03   10000.    
     2 'alpha     '    1.1873       1.0000          .0000       5.0000    
     3 'Normalizat'    1.2691       1.0000         .10000E-01   10.000    
     4 'Prefactor '    .92717       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=   13235.87     FROM MIGRAD    STATUS=CONVERGED     49 CALLS      205 TOTAL
                     EDM=   .43E-08    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  norm          16.682        13.994        .24515E-02    .18048E-02
   2  alpha         1.1868        .49294        .50000       -.42443E-04
   3  Normalizat    1.2692        .17271        .77714E-01    .23760E-04
   4  Prefactor     .92706        .74743E-01    .45350E-01    .72554E-05
                               ERR DEF=  .500    
Final values: 
  norm       = 16.6824
  alpha      = 1.18682
  Normalizat = 1.2692
  Prefactor  = 0.927062
 **********
 **   18 **HESSE 
 **********

 FCN=   13235.87     FROM HESSE     STATUS=OK            31 CALLS      236 TOTAL
                     EDM=   .39E-08    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  norm          16.682        14.695        .98059E-04   -1.4891    
   2  alpha         1.1868        .55636        .25072E-01   -.55303    
   3  Normalizat    1.2692        .20753        .34397E-03   -.84490    
   4  Prefactor     .92706        .90008E-01    .17011E-03   -.95202    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 3.87575e-09
Minuit parameter uncertainties:
  1  14.6983
  2  0.562903
  3  0.207669
  4  0.090022
shell-init: error retrieving current directory: getcwd: cannot access parent directories: No such file or directory
rmdir: failed to remove `/scratch/kocevski/169172': 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) = 13235.8721195
delta logL = 0.980862944565

Extracting fit parameters...

4FGL J2050.4-2627
   Spectrum: LogParabola
313         norm:  1.668e+01  1.470e+01  1.000e-04  1.000e+04 ( 1.000e-13)
314        alpha:  1.187e+00  5.629e-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.271e-01  9.002e-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:  1.269e+00  2.077e-01  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Free Index): 5.31
Ra Dec: 312.610 -26.466
Photon Index (Free Index): 1.19 +/- 0.56
Photon Flux (Free Index): 8.10e-09 +/- 7.48e-09
Energy Flux (Free Index): 2.47e-05 +/- 2.69e-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/169172/cmap_HighResolution_437356801_437616001_4FGL_J2050.4-2627_daily_bin764.png

Cleaning up...

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

Updating database...

UPDATE lightcurve_data_v2 SET energy_flux_upper_limit='3.03e-05', comment='SUCCESS', photon_flux='1.43e-08', energy_flux2='2.47e-05', photon_flux_error='1.30e-08', dlogl='9.81e-01', energy_flux='8.65e-06', photon_flux2='8.10e-09', job_status='DONE', time_completed='2021-09-25 19:23:52.428726', photon_index_error2='0.56', photon_index2='1.19', ts='3.34', fit_tolerance='1e-08', GAL='0.93', photon_index_error='0.00', photon_flux_upper_limit='4.99e-08', energy_flux_error2='2.69e-05', EG='1.26', time_epoch_completed='1632623032.43', return_code='0', job_id='169172', GAL2='0.93', EG2='1.27', return_code2='0', energy_flux_error='7.91e-06', photon_flux_error2='7.48e-09', ts2='5.31', photon_index='2.06' WHERE bin_id='764' AND source_name='4FGL J2050.4-2627' AND cadence='daily';

Database successfully updated.


Analysis Complete.


Sat Sep 25 19:23:52 PDT 2021


------------------------------------------------------------
Sender: LSF System <scs@bullet0013>
Subject: Job 169172: <4FGL_J2050.4-2627_daily_bin764> in cluster <slac> Done

Job <4FGL_J2050.4-2627_daily_bin764> was submitted from host <rhel6-64h> by user <kocevski> in cluster <slac> at Sat Sep 25 19:10:37 2021
Job was executed on host(s) <bullet0013>, in queue <medium>, as user <kocevski> in cluster <slac> at Sat Sep 25 19:11:29 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:29 2021
Terminated at Sat Sep 25 19:23:53 2021
Results reported at Sat Sep 25 19:23:53 2021

Your job looked like:

------------------------------------------------------------
# LSBATCH: User input
/nfs/farm/g/glast/g/LCRepository/Likelihood/Scripts/LikelihoodAnalysis.py 4FGL_J2050.4-2627_daily_bin764 312.61 -26.4659 437356801 437616001 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 :                                   726.00 sec.
    Max Memory :                                 1256 MB
    Average Memory :                             388.69 MB
    Total Requested Memory :                     -
    Delta Memory :                               -
    Max Swap :                                   -
    Max Processes :                              5
    Max Threads :                                21
    Run time :                                   743 sec.
    Turnaround time :                            796 sec.

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

