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


Performing analysis on: 4FGL_J2050.4-2627_daily_bin353
RA = 312.61, Dec = -26.4659
tmin = 330825601, tmax = 331084801
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='166492', job_status='RUN', time_executed='2021-09-25 19:03:55.667285', time_epoch_executed='1632621835.67' WHERE source_name='4FGL J2050.4-2627' and cadence='daily' and bin_id='353'

Database successfully updated.
Done.

Creating custom output directory:
/scratch/kocevski/166492

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

Retrieving the FT1 file...

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

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

Retrieving 46 files...
Done.


Merging files...

Checksum keywords updated successfully.

Merged file saved to:
/scratch/kocevski/166492/ft1_4FGL_J2050.4-2627_daily_bin353.fits


Retrieving the FT1 file...

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

Retrieving 46 files...
Done.


Merging files...

Merged file saved to:
/scratch/kocevski/166492/ft2_4FGL_J2050.4-2627_daily_bin353.fits


Selecting the photons:
time -p gtselect infile=/scratch/kocevski/166492/ft1_4FGL_J2050.4-2627_daily_bin353.fits outfile=/scratch/kocevski/166492/ft1_filteredMKT_4FGL_J2050.4-2627_daily_bin353.fits ra=312.61 dec=-26.4659 rad=12.0 tmin=330825601.0 tmax=331084801.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.44
user 3.17
sys 0.20

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

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

Generating the livetime cube:
time -p gtltcube evfile="/scratch/kocevski/166492/ft1_filtered_4FGL_J2050.4-2627_daily_bin353.fits" evtable="EVENTS" scfile=/scratch/kocevski/166492/ft2_4FGL_J2050.4-2627_daily_bin353.fits sctable="SC_DATA" outfile=/scratch/kocevski/166492/ltcube_330825601_331084801_4FGL_J2050.4-2627_daily_bin353.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/166492/ft2_4FGL_J2050.4-2627_daily_bin353.fits
.....................!
real 15.03
user 14.50
sys 0.35

Generating the exposure map:
time -p gtexpmap evfile=/scratch/kocevski/166492/ft1_filtered_4FGL_J2050.4-2627_daily_bin353.fits evtable="EVENTS" scfile=/scratch/kocevski/166492/ft2_4FGL_J2050.4-2627_daily_bin353.fits sctable="SC_DATA" expcube=/scratch/kocevski/166492/ltcube_330825601_331084801_4FGL_J2050.4-2627_daily_bin353.fits outfile=/scratch/kocevski/166492/expmap_330825601_331084801_4FGL_J2050.4-2627_daily_bin353.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/166492/ltcube_330825601_331084801_4FGL_J2050.4-2627_daily_bin353.fits
.....................!
real 191.37
user 185.81
sys 4.76

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/166492/ft1_filtered_4FGL_J2050.4-2627_daily_bin353.fits scfile=/scratch/kocevski/166492/ft2_4FGL_J2050.4-2627_daily_bin353.fits outfile=/scratch/kocevski/166492/cmap_330825601_331084801_4FGL_J2050.4-2627_daily_bin353.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.39
sys 0.14

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

Computing the diffuse response:
time -p gtdiffrsp evfile=/scratch/kocevski/166492/ft1_filtered_4FGL_J2050.4-2627_daily_bin353.fits evtable="EVENTS" scfile=/scratch/kocevski/166492/ft2_4FGL_J2050.4-2627_daily_bin353.fits sctable="SC_DATA" srcmdl=/scratch/kocevski/166492/Model_4FGL_J2050.4-2627_daily_bin353.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/166492/ft1_filtered_4FGL_J2050.4-2627_daily_bin353.fits.....................!
real 57.82
user 56.46
sys 1.19

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

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

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

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'norm      '    40.928       1.0000         .10000E-03   10000.    
     2 'norm      '    11.293       1.0000         .10000E-03   10000.    
     3 'Prefactor '    127.76       1.0000         .10000E-03   10000.    
     4 'Prefactor '    25.308       1.0000         .10000E-03   10000.    
     5 'Prefactor '    .10009E-03   1.0000         .10000E-03   10000.    
     6 'Prefactor '    .10028E-03   1.0000         .10000E-03   10000.    
     7 'norm      '    .10001E-03   1.0000         .10000E-03   10000.    
     8 'Prefactor '    .10073E-03   1.0000         .10000E-03   10000.    
     9 'Prefactor '    32.800       1.0000         .10000E-03   10000.    
    10 'Prefactor '    12.458       1.0000         .10000E-03   10000.    
    11 'norm      '    .10139E-03   1.0000         .10000E-03   10000.    
    12 'Prefactor '    .10000E-03   1.0000         .10000E-03   10000.    
    13 'Prefactor '    .10008E-03   1.0000         .10000E-03   10000.    
    14 'Normalizat'    1.2373       1.0000         .10000E-01   10.000    
    15 'Prefactor '    .88974       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=   6178.158     FROM MIGRAD    STATUS=CONVERGED    271 CALLS     1303 TOTAL
                     EDM=   .67E-11  STRATEGY=1  ERROR MATRIX UNCERTAINTY=   .1%

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  norm          40.929        21.725        .46869E-06    .13005E-05
   2  norm          11.295        14.056        .18488E-05   -.14108E-04
   3  Prefactor     127.73        107.06       -.27914E-04   -.52346E-05
   4  Prefactor     25.309        12.199        .25018E-05   -.77875E-05
   5  Prefactor     .10000E-03    2.1245        .14567E-08** at limit **
   6  Prefactor     .10000E-03    89.210        .58784E-06** at limit **
   7  norm          .10000E-03    9.2181       -.57906E-07** at limit **
   8  Prefactor     .10000E-03    46.288       -.16684E-07** at limit **
   9  Prefactor     32.808        44.141        .75844E-05    .15514E-05
  10  Prefactor     12.458        9.9266       -.81336E-06   -.46613E-04
  11  norm          .10000E-03    7.5318        .79261E-08** at limit **
  12  Prefactor     .10000E-03    2.6136        .10764E-07** at limit **
  13  Prefactor     .10000E-03    13.609       -.96497E-08** at limit **
  14  Normalizat    1.2371        .27625        .16614E-05   -.16283E-04
  15  Prefactor     .88980        .11510        .14020E-06    .46285E-04
                               ERR DEF=  .500    
Final values: 
  norm       = 40.9293
  norm       = 11.295
  Prefactor  = 127.726
  Prefactor  = 25.3092
  Prefactor  = 0.0001
  Prefactor  = 0.0001
  norm       = 0.0001
  Prefactor  = 0.0001
  Prefactor  = 32.8075
  Prefactor  = 12.4579
  norm       = 0.0001
  Prefactor  = 0.0001
  Prefactor  = 0.0001
  Normalizat = 1.23713
  Prefactor  = 0.889803
 **********
 **   18 **HESSE 
 **********

 FCN=   6178.158     FROM HESSE     STATUS=OK           182 CALLS     1485 TOTAL
                     EDM=   .17E-10    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  norm          40.929        21.753        .62658E-04   -1.4428    
   2  norm          11.295        14.047        .11922E-03   -1.5036    
   3  Prefactor     127.73        107.14        .17809E-03   -1.3443    
   4  Prefactor     25.309        12.206        .79629E-04   -1.4701    
   5  Prefactor     .10000E-03    2.1398        .11185E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   6  Prefactor     .10000E-03    89.355        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   7  norm          .10000E-03    9.2222        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   8  Prefactor     .10000E-03    46.771        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   9  Prefactor     32.808        44.216        .69966E-04   -1.4562    
  10  Prefactor     12.458        9.9783        .11349E-03   -1.5002    
  11  norm          .10000E-03    7.7977        .36285E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  12  Prefactor     .10000E-03    2.6167        .12410E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  13  Prefactor     .10000E-03    13.729        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  14  Normalizat    1.2371        .32402        .36859E-03   -.85463    
  15  Prefactor     .88980        .13543        .18309E-03   -.96498    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 1.71372e-11
Minuit parameter uncertainties:
  1  21.757
  2  14.0513
  3  107.3
  4  12.2077
  5  2.72158e-06
  6  7.22578e-07
  7  1.21556e-06
  8  0.000141052
  9  44.2598
  10  9.97966
  11  6.22549e-06
  12  1.0117e-06
  13  1.04267e-05
  14  0.324553
  15  0.135482
Done.

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

Extracting fit parameters...

4FGL J2050.4-2627
   Spectrum: LogParabola
313         norm:  1.000e-04  1.216e-06  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:  8.898e-01  1.355e-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.246e-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: 4.82e-08 ph cm-2 s-1
Energy Flux Upper Limit: 2.93e-05 MeV cm-2 s-1

Saving results to:
/scratch/kocevski/166492/likelihoodResults_330825601_331084801_4FGL_J2050.4-2627_daily_bin353.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) = 6178.15845696
delta logL = -0.000515023524713

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

MINUIT Return Code (Free Index): 102
logL (Free Index) = 6178.15794193
delta logL = 5.53154677618e-09

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'norm      '    .10001E-03   1.0000         .10000E-03   10000.    
     2 'alpha     '    2.0509       1.0000          .0000       5.0000    
     3 'Normalizat'    1.2371       1.0000         .10000E-01   10.000    
     4 'Prefactor '    .88980       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=   6178.158     FROM MIGRAD    STATUS=CONVERGED     92 CALLS      232 TOTAL
                     EDM=   .79E-08    STRATEGY= 1      ERR MATRIX NOT POS-DEF

  EXT PARAMETER                APPROXIMATE        STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  norm          .10000E-03    1974.7        .18142E-02** at limit **
   2  alpha         1.8014        4.0438        .16809        .29758E-08
   3  Normalizat    1.2371        .19554        .36859E-03    .53976E-05
   4  Prefactor     .88980        .84504E-01    .18309E-03    .11425E-04
                               ERR DEF=  .500    
Final values: 
  norm       = 0.0001
  alpha      = 1.80136
  Normalizat = 1.23713
  Prefactor  = 0.889803
 **********
 **   18 **HESSE 
 **********

 FCN=   6178.158     FROM HESSE     STATUS=OK            23 CALLS      255 TOTAL
                     EDM=   .42E-10    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  norm          .10000E-03    9.4921        .36285E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   2  alpha         1.8014        3.3917        .67238E-02   -.28323    
   3  Normalizat    1.2371        .30999        .14744E-04   -.85463    
   4  Prefactor     .88980        .13406        .73238E-05   -.96498    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 4.24297e-11
Minuit parameter uncertainties:
  1  0.000123203
  2  455.266
  3  0.310455
  4  0.134106
shell-init: error retrieving current directory: getcwd: cannot access parent directories: No such file or directory
rmdir: failed to remove `/scratch/kocevski/166492': 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) = 6178.15794178
delta logL = 1.53493601829e-07

Extracting fit parameters...

4FGL J2050.4-2627
   Spectrum: LogParabola
313         norm:  1.000e-04  1.232e-04  1.000e-04  1.000e+04 ( 1.000e-13)
314        alpha:  1.801e+00  4.553e+02  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:  8.898e-01  1.341e-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.105e-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/166492/cmap_HighResolution_330825601_331084801_4FGL_J2050.4-2627_daily_bin353.png

Cleaning up...

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

Updating database...

UPDATE lightcurve_data_v2 SET energy_flux_upper_limit='2.93e-05', job_status='DONE', photon_flux_upper_limit='4.82e-08', time_completed='2021-09-25 19:12:17.760931', job_id='166492', GAL2='0.89', fit_tolerance='1e-08', EG2='1.24', EG='1.24', time_epoch_completed='1632622337.76', return_code2='0', ts='-0.00', comment='SUCCESS', return_code='0', GAL='0.89', dlogl='1.53e-07', ts2='-0.00', photon_index_error='0.00', photon_index='2.06' WHERE bin_id='353' AND source_name='4FGL J2050.4-2627' AND cadence='daily';

Database successfully updated.


Analysis Complete.


Sat Sep 25 19:12:17 PDT 2021


------------------------------------------------------------
Sender: LSF System <lsf@bullet0219>
Subject: Job 166492: <4FGL_J2050.4-2627_daily_bin353> in cluster <slac> Done

Job <4FGL_J2050.4-2627_daily_bin353> was submitted from host <rhel6-64d> by user <kocevski> in cluster <slac> at Sat Sep 25 19:01:05 2021
Job was executed on host(s) <bullet0219>, in queue <medium>, as user <kocevski> in cluster <slac> at Sat Sep 25 19:01:48 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:48 2021
Terminated at Sat Sep 25 19:12:18 2021
Results reported at Sat Sep 25 19:12:18 2021

Your job looked like:

------------------------------------------------------------
# LSBATCH: User input
/nfs/farm/g/glast/g/LCRepository/Likelihood/Scripts/LikelihoodAnalysis.py 4FGL_J2050.4-2627_daily_bin353 312.61 -26.4659 330825601 331084801 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 :                                   500.00 sec.
    Max Memory :                                 1093 MB
    Average Memory :                             280.73 MB
    Total Requested Memory :                     -
    Delta Memory :                               -
    Max Swap :                                   -
    Max Processes :                              5
    Max Threads :                                21
    Run time :                                   630 sec.
    Turnaround time :                            673 sec.

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

