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


Performing analysis on: 4FGL_J2050.4-2627_daily_bin244
RA = 312.61, Dec = -26.4659
tmin = 302572801, tmax = 302832001
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='166325', job_status='RUN', time_executed='2021-09-25 19:04:24.822648', time_epoch_executed='1632621864.82' WHERE source_name='4FGL J2050.4-2627' and cadence='daily' and bin_id='244'

Database successfully updated.
Done.

Creating custom output directory:
/scratch/kocevski/166325

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

Retrieving the FT1 file...

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

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

Retrieving 46 files...
Done.


Merging files...

Checksum keywords updated successfully.

Merged file saved to:
/scratch/kocevski/166325/ft1_4FGL_J2050.4-2627_daily_bin244.fits


Retrieving the FT1 file...

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

Retrieving 46 files...
Done.


Merging files...

Merged file saved to:
/scratch/kocevski/166325/ft2_4FGL_J2050.4-2627_daily_bin244.fits


Selecting the photons:
time -p gtselect infile=/scratch/kocevski/166325/ft1_4FGL_J2050.4-2627_daily_bin244.fits outfile=/scratch/kocevski/166325/ft1_filteredMKT_4FGL_J2050.4-2627_daily_bin244.fits ra=312.61 dec=-26.4659 rad=12.0 tmin=302572801.0 tmax=302832001.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.52
user 3.27
sys 0.22

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

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

Generating the livetime cube:
time -p gtltcube evfile="/scratch/kocevski/166325/ft1_filtered_4FGL_J2050.4-2627_daily_bin244.fits" evtable="EVENTS" scfile=/scratch/kocevski/166325/ft2_4FGL_J2050.4-2627_daily_bin244.fits sctable="SC_DATA" outfile=/scratch/kocevski/166325/ltcube_302572801_302832001_4FGL_J2050.4-2627_daily_bin244.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/166325/ft2_4FGL_J2050.4-2627_daily_bin244.fits
.....................!
real 15.66
user 15.13
sys 0.31

Generating the exposure map:
time -p gtexpmap evfile=/scratch/kocevski/166325/ft1_filtered_4FGL_J2050.4-2627_daily_bin244.fits evtable="EVENTS" scfile=/scratch/kocevski/166325/ft2_4FGL_J2050.4-2627_daily_bin244.fits sctable="SC_DATA" expcube=/scratch/kocevski/166325/ltcube_302572801_302832001_4FGL_J2050.4-2627_daily_bin244.fits outfile=/scratch/kocevski/166325/expmap_302572801_302832001_4FGL_J2050.4-2627_daily_bin244.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/166325/ltcube_302572801_302832001_4FGL_J2050.4-2627_daily_bin244.fits
.....................!
real 194.46
user 187.88
sys 4.43

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/166325/ft1_filtered_4FGL_J2050.4-2627_daily_bin244.fits scfile=/scratch/kocevski/166325/ft2_4FGL_J2050.4-2627_daily_bin244.fits outfile=/scratch/kocevski/166325/cmap_302572801_302832001_4FGL_J2050.4-2627_daily_bin244.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.15

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

Computing the diffuse response:
time -p gtdiffrsp evfile=/scratch/kocevski/166325/ft1_filtered_4FGL_J2050.4-2627_daily_bin244.fits evtable="EVENTS" scfile=/scratch/kocevski/166325/ft2_4FGL_J2050.4-2627_daily_bin244.fits sctable="SC_DATA" srcmdl=/scratch/kocevski/166325/Model_4FGL_J2050.4-2627_daily_bin244.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/166325/ft1_filtered_4FGL_J2050.4-2627_daily_bin244.fits.....................!
real 63.69
user 62.13
sys 1.12

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

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

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

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'norm      '    .10038E-03   1.0000         .10000E-03   10000.    
     2 'norm      '    .10020E-03   1.0000         .10000E-03   10000.    
     3 'Prefactor '    5.9722       1.0000         .10000E-03   10000.    
     4 'Prefactor '    .59186E-03   1.0000         .10000E-03   10000.    
     5 'Prefactor '    .10001E-03   1.0000         .10000E-03   10000.    
     6 'Prefactor '    .10237E-03   1.0000         .10000E-03   10000.    
     7 'norm      '    18.517       1.0000         .10000E-03   10000.    
     8 'Prefactor '    25.542       1.0000         .10000E-03   10000.    
     9 'Prefactor '    32.930       1.0000         .10000E-03   10000.    
    10 'Prefactor '    .59484       1.0000         .10000E-03   10000.    
    11 'norm      '    7.2040       1.0000         .10000E-03   10000.    
    12 'Prefactor '    .10004E-03   1.0000         .10000E-03   10000.    
    13 'Prefactor '    9.2513       1.0000         .10000E-03   10000.    
    14 'Normalizat'    1.2620       1.0000         .10000E-01   10.000    
    15 'Prefactor '    1.0689       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=   6570.852     FROM MIGRAD    STATUS=CONVERGED    276 CALLS     1337 TOTAL
                     EDM=   .17E-08  STRATEGY=1  ERROR MATRIX UNCERTAINTY=  2.5%

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  norm          .10000E-03    28.928       -.24207E-05** at limit **
   2  norm          .10000E-03    29.086        .43249E-05** at limit **
   3  Prefactor     6.0263        235.43       -.38289E-05   -.78670E-04
   4  Prefactor     .10032E-03    11.085        .42983E-05** at limit **
   5  Prefactor     .10000E-03    1.6410       -.27110E-07** at limit **
   6  Prefactor     .10000E-03    78.251       -.30453E-06** at limit **
   7  norm          18.510        22.854       -.78508E-06   -.19968E-03
   8  Prefactor     25.535        32.812       -.18409E-05   -.43924E-03
   9  Prefactor     32.923        45.358       -.39686E-06   -.13668E-03
  10  Prefactor     .61043        11.843        .34760E-05   -.47914E-03
  11  norm          7.2029        7.8822        .51667E-06    .16029E-03
  12  Prefactor     .10000E-03    5.6908       -.54300E-07** at limit **
  13  Prefactor     9.2549        18.312        .31274E-06   -.19301E-04
  14  Normalizat    1.2616        .30049       -.21204E-05   -.89826E-03
  15  Prefactor     1.0690        .12019       -.42688E-06   -.17048E-02
                               ERR DEF=  .500    
Final values: 
  norm       = 0.000100001
  norm       = 0.000100004
  Prefactor  = 6.02629
  Prefactor  = 0.000100321
  Prefactor  = 0.0001
  Prefactor  = 0.0001
  norm       = 18.5097
  Prefactor  = 25.5355
  Prefactor  = 32.9229
  Prefactor  = 0.610429
  norm       = 7.20291
  Prefactor  = 0.0001
  Prefactor  = 9.25493
  Normalizat = 1.26159
  Prefactor  = 1.06903
 **********
 **   18 **HESSE 
 **********

 FCN=   6570.852     FROM HESSE     STATUS=OK           176 CALLS     1513 TOTAL
                     EDM=   .11E-07    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  norm          .10000E-03    29.422        .36285E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   2  norm          .10000E-03    30.304        .36285E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   3  Prefactor     6.0263        237.49        .16431E-03   -1.5217    
   4  Prefactor     .10032E-03    40.348        .40538E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   5  Prefactor     .10000E-03    1.6491        .10139E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   6  Prefactor     .10000E-03    78.307        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   7  norm          18.510        22.868        .93077E-04   -1.4847    
   8  Prefactor     25.535        33.057        .79263E-04   -1.4697    
   9  Prefactor     32.923        45.596        .69828E-04   -1.4560    
  10  Prefactor     .61043        49.391        .44567E-02   -1.5552    
  11  norm          7.2029        7.8888        .14945E-03   -1.5171    
  12  Prefactor     .10000E-03    5.7548        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  13  Prefactor     9.2549        18.317        .13176E-03   -1.5099    
  14  Normalizat    1.2616        .36026        .38313E-03   -.84720    
  15  Prefactor     1.0690        .14368        .17755E-03   -.90462    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 1.14932e-08
Minuit parameter uncertainties:
  1  0.000344749
  2  0.000725842
  3  75.9867
  4  0.00720539
  5  1.24677e-06
  6  9.11042e-05
  7  22.879
  8  33.0811
  9  45.6441
  10  10.9902
  11  7.8899
  12  1.45873e-06
  13  18.3278
  14  0.360981
  15  0.143732
Done.

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

Extracting fit parameters...

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

GAL_V02
   Spectrum: PowerLaw
546    Prefactor:  1.069e+00  1.437e-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.262e+00  3.610e-01  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Fixed Index): 1.11
Ra Dec: 312.610 -26.466
Photon Index (Fixed Index): 2.06 +/- 0.00
Photon Flux (Fixed Index): 1.84e-08 +/- 2.28e-08
Energy Flux (Fixed Index): 1.12e-05 +/- 1.38e-05

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

Saving results to:
/scratch/kocevski/166325/likelihoodResults_302572801_302832001_4FGL_J2050.4-2627_daily_bin244.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) = 6570.61935177
delta logL = 0.232725853267

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

MINUIT Return Code (Free Index): 0
logL (Free Index) = 6570.61668055
delta logL = 0.235397077823

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'norm      '    12.927       1.0000         .10000E-03   10000.    
     2 'alpha     '    2.8392       1.0000          .0000       5.0000    
     3 'Normalizat'    1.2362       1.0000         .10000E-01   10.000    
     4 'Prefactor '    1.0732       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=   6570.617     FROM MIGRAD    STATUS=CONVERGED     81 CALLS      285 TOTAL
                     EDM=   .29E-08    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  norm          12.919        20.986        .11141E-03    .55614E-04
   2  alpha         2.8398        1.1796        .17624E-01   -.94807E-05
   3  Normalizat    1.2365        .33076        .38638E-03   -.93380E-03
   4  Prefactor     1.0733        .14185        .17718E-03   -.23791E-02
                               ERR DEF=  .500    
Final values: 
  norm       = 12.919
  alpha      = 2.83983
  Normalizat = 1.23655
  Prefactor  = 1.07329
 **********
 **   18 **HESSE 
 **********

 FCN=   6570.617     FROM HESSE     STATUS=OK            25 CALLS      310 TOTAL
                     EDM=   .29E-08    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  norm          12.919        19.100        .44564E-05   -1.4989    
   2  alpha         2.8398        1.0797        .70495E-03    .13636    
   3  Normalizat    1.2365        .33009        .77276E-04   -.85481    
   4  Prefactor     1.0733        .14179        .35437E-04   -.90325    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 2.94732e-09
Minuit parameter uncertainties:
  1  19.1087
  2  1.11725
  3  0.330648
  4  0.141841
shell-init: error retrieving current directory: getcwd: cannot access parent directories: No such file or directory
rmdir: failed to remove `/scratch/kocevski/166325': 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) = 6570.61667593
delta logL = 0.235401691023

Extracting fit parameters...

4FGL J2050.4-2627
   Spectrum: LogParabola
313         norm:  1.292e+01  1.911e+01  1.000e-04  1.000e+04 ( 1.000e-13)
314        alpha:  2.840e+00  1.117e+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:  1.073e+00  1.418e-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.237e+00  3.306e-01  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Free Index): 1.58
Ra Dec: 312.610 -26.466
Photon Index (Free Index): 2.84 +/- 1.12
Photon Flux (Free Index): 4.51e-08 +/- 6.39e-08
Energy Flux (Free Index): 1.23e-05 +/- 1.30e-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/166325/cmap_HighResolution_302572801_302832001_4FGL_J2050.4-2627_daily_bin244.png

Cleaning up...

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

Updating database...

UPDATE lightcurve_data_v2 SET energy_flux_upper_limit='5.10e-05', comment='SUCCESS', photon_flux='1.84e-08', energy_flux2='1.23e-05', photon_flux_error='2.28e-08', dlogl='2.35e-01', energy_flux='1.12e-05', photon_flux2='4.51e-08', job_status='DONE', time_completed='2021-09-25 19:13:14.512077', photon_index_error2='1.12', photon_index2='2.84', ts='1.11', fit_tolerance='1e-08', GAL='1.07', photon_index_error='0.00', photon_flux_upper_limit='8.41e-08', energy_flux_error2='1.30e-05', EG='1.26', time_epoch_completed='1632622394.51', return_code='0', job_id='166325', GAL2='1.07', EG2='1.24', return_code2='0', energy_flux_error='1.38e-05', photon_flux_error2='6.39e-08', ts2='1.58', photon_index='2.06' WHERE bin_id='244' AND source_name='4FGL J2050.4-2627' AND cadence='daily';

Database successfully updated.


Analysis Complete.


Sat Sep 25 19:13:14 PDT 2021


------------------------------------------------------------
Sender: LSF System <lsf@bullet0154>
Subject: Job 166325: <4FGL_J2050.4-2627_daily_bin244> in cluster <slac> Done

Job <4FGL_J2050.4-2627_daily_bin244> was submitted from host <rhel6-64d> by user <kocevski> in cluster <slac> at Sat Sep 25 19:00:50 2021
Job was executed on host(s) <bullet0154>, in queue <medium>, as user <kocevski> in cluster <slac> at Sat Sep 25 19:01:19 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:01:19 2021
Terminated at Sat Sep 25 19:13:15 2021
Results reported at Sat Sep 25 19:13:15 2021

Your job looked like:

------------------------------------------------------------
# LSBATCH: User input
/nfs/farm/g/glast/g/LCRepository/Likelihood/Scripts/LikelihoodAnalysis.py 4FGL_J2050.4-2627_daily_bin244 312.61 -26.4659 302572801 302832001 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 :                                   525.12 sec.
    Max Memory :                                 1256 MB
    Average Memory :                             280.78 MB
    Total Requested Memory :                     -
    Delta Memory :                               -
    Max Swap :                                   -
    Max Processes :                              7
    Max Threads :                                21
    Run time :                                   715 sec.
    Turnaround time :                            745 sec.

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

