/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 113 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 = 7484
number of fields = 22
No RA_SUN column yet. Adding RA_SUN/DEC_SUN columns.
Done.


Performing analysis on: 4FGL_J2050.4-2627_daily_bin55
RA = 312.61, Dec = -26.4659
tmin = 253584001, tmax = 253843201
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='164943', job_status='RUN', time_executed='2021-09-25 19:00:17.661901', time_epoch_executed='1632621617.66' WHERE source_name='4FGL J2050.4-2627' and cadence='daily' and bin_id='55'

Database successfully updated.
Done.

Creating custom output directory:
/scratch/kocevski/164943

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

Retrieving the FT1 file...

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

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

Retrieving 46 files...
Done.


Merging files...

Checksum keywords updated successfully.

Merged file saved to:
/scratch/kocevski/164943/ft1_4FGL_J2050.4-2627_daily_bin55.fits


Retrieving the FT1 file...

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

Retrieving 46 files...
Done.


Merging files...

Merged file saved to:
/scratch/kocevski/164943/ft2_4FGL_J2050.4-2627_daily_bin55.fits


Selecting the photons:
time -p gtselect infile=/scratch/kocevski/164943/ft1_4FGL_J2050.4-2627_daily_bin55.fits outfile=/scratch/kocevski/164943/ft1_filteredMKT_4FGL_J2050.4-2627_daily_bin55.fits ra=312.61 dec=-26.4659 rad=12.0 tmin=253584001.0 tmax=253843201.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 1.50
user 1.26
sys 0.16

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

Selecting the good time intervals:
time -p gtmktime scfile=/scratch/kocevski/164943/ft2_4FGL_J2050.4-2627_daily_bin55.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/164943/ft1_filteredMKT_4FGL_J2050.4-2627_daily_bin55.fits evtable="EVENTS" outfile="/scratch/kocevski/164943/ft1_filtered_4FGL_J2050.4-2627_daily_bin55.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/164943/ft1_filtered_4FGL_J2050.4-2627_daily_bin55.fits" evtable="EVENTS" scfile=/scratch/kocevski/164943/ft2_4FGL_J2050.4-2627_daily_bin55.fits sctable="SC_DATA" outfile=/scratch/kocevski/164943/ltcube_253584001_253843201_4FGL_J2050.4-2627_daily_bin55.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/164943/ft2_4FGL_J2050.4-2627_daily_bin55.fits
.....................!
real 16.40
user 15.99
sys 0.33

Generating the exposure map:
time -p gtexpmap evfile=/scratch/kocevski/164943/ft1_filtered_4FGL_J2050.4-2627_daily_bin55.fits evtable="EVENTS" scfile=/scratch/kocevski/164943/ft2_4FGL_J2050.4-2627_daily_bin55.fits sctable="SC_DATA" expcube=/scratch/kocevski/164943/ltcube_253584001_253843201_4FGL_J2050.4-2627_daily_bin55.fits outfile=/scratch/kocevski/164943/expmap_253584001_253843201_4FGL_J2050.4-2627_daily_bin55.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/164943/ltcube_253584001_253843201_4FGL_J2050.4-2627_daily_bin55.fits
.....................!
real 193.20
user 186.62
sys 5.30

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/164943/ft1_filtered_4FGL_J2050.4-2627_daily_bin55.fits scfile=/scratch/kocevski/164943/ft2_4FGL_J2050.4-2627_daily_bin55.fits outfile=/scratch/kocevski/164943/cmap_253584001_253843201_4FGL_J2050.4-2627_daily_bin55.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.38
sys 0.15

Creating the high resolution counts map:
time -p gtbin evfile=/scratch/kocevski/164943/ft1_filtered_4FGL_J2050.4-2627_daily_bin55.fits scfile=/scratch/kocevski/164943/ft2_4FGL_J2050.4-2627_daily_bin55.fits outfile=/scratch/kocevski/164943/cmap_HighResolution_253584001_253843201_4FGL_J2050.4-2627_daily_bin55.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.16

Computing the diffuse response:
time -p gtdiffrsp evfile=/scratch/kocevski/164943/ft1_filtered_4FGL_J2050.4-2627_daily_bin55.fits evtable="EVENTS" scfile=/scratch/kocevski/164943/ft2_4FGL_J2050.4-2627_daily_bin55.fits sctable="SC_DATA" srcmdl=/scratch/kocevski/164943/Model_4FGL_J2050.4-2627_daily_bin55.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/164943/ft1_filtered_4FGL_J2050.4-2627_daily_bin55.fits.....................!
real 86.29
user 84.43
sys 1.15

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

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

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

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'norm      '    24.005       1.0000         .10000E-03   10000.    
     2 'norm      '    .10001E-03   1.0000         .10000E-03   10000.    
     3 'Prefactor '    .10002E-03   1.0000         .10000E-03   10000.    
     4 'Prefactor '    .10061E-03   1.0000         .10000E-03   10000.    
     5 'Prefactor '    .10016E-03   1.0000         .10000E-03   10000.    
     6 'Prefactor '    51.457       1.0000         .10000E-03   10000.    
     7 'norm      '    .10040E-03   1.0000         .10000E-03   10000.    
     8 'Prefactor '    .10005E-03   1.0000         .10000E-03   10000.    
     9 'Prefactor '    3.9935       1.0000         .10000E-03   10000.    
    10 'Prefactor '    .14940E-02   1.0000         .10000E-03   10000.    
    11 'norm      '    11.339       1.0000         .10000E-03   10000.    
    12 'Prefactor '    .10002E-03   1.0000         .10000E-03   10000.    
    13 'Prefactor '    .10001E-03   1.0000         .10000E-03   10000.    
    14 'Normalizat'    1.1529       1.0000         .10000E-01   10.000    
    15 'Prefactor '    1.0156       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=   10070.39     FROM MIGRAD    STATUS=CONVERGED    285 CALLS     1314 TOTAL
                     EDM=   .59E-08    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  norm          24.003        13.482        .20439E-02   -.12802E-02
   2  norm          .10000E-03    2.5446        .90712E-02** at limit **
   3  Prefactor     .10001E-03    16.025        .90712E-02** at limit **
   4  Prefactor     .10000E-03    7.3387        .90712E-02** at limit **
   5  Prefactor     .10000E-03    2.3114        .90712E-02** at limit **
   6  Prefactor     51.458        51.669        .13977E-02   -.31510E-03
   7  norm          .10000E-03    7.5046        .90712E-02** at limit **
   8  Prefactor     .10000E-03    10.096        .90712E-02** at limit **
   9  Prefactor     3.9574        36.139        .50454E-02    .17054E-03
  10  Prefactor     .10017E-03    4.1486        .66442E-01** at limit **
  11  norm          11.339        7.4416        .29743E-02   -.72356E-03
  12  Prefactor     .10000E-03    1.9839        .90712E-02** at limit **
  13  Prefactor     .10000E-03    3.7245        .90712E-02** at limit **
  14  Normalizat    1.1534        .19897        .78944E-01    .45429E-04
  15  Prefactor     1.0154        .88417E-01    .42613E-01    .54263E-04
                               ERR DEF=  .500    
Final values: 
  norm       = 24.0031
  norm       = 0.0001
  Prefactor  = 0.000100012
  Prefactor  = 0.000100004
  Prefactor  = 0.0001
  Prefactor  = 51.4579
  norm       = 0.000100002
  Prefactor  = 0.000100001
  Prefactor  = 3.95741
  Prefactor  = 0.000100172
  norm       = 11.3386
  Prefactor  = 0.0001
  Prefactor  = 0.0001
  Normalizat = 1.15336
  Prefactor  = 1.01543
 **********
 **   18 **HESSE 
 **********

 FCN=   10070.39     FROM HESSE     STATUS=OK           174 CALLS     1488 TOTAL
                     EDM=   .12E-07    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  norm          24.003        13.488        .81756E-04   -1.4728    
   2  norm          .10000E-03    2.5494        .15633E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   3  Prefactor     .10001E-03    16.042        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   4  Prefactor     .10000E-03    7.6790        .36285E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   5  Prefactor     .10000E-03    2.4217        .29776E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   6  Prefactor     51.458        51.653        .55909E-04   -1.4272    
   7  norm          .10000E-03    7.5098        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   8  Prefactor     .10000E-03    10.158        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   9  Prefactor     3.9574        36.142        .20182E-03   -1.5310    
  10  Prefactor     .10017E-03    19.027        .38397E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  11  norm          11.339        7.4428        .59486E-03   -1.5034    
  12  Prefactor     .10000E-03    1.9887        .13803E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  13  Prefactor     .10000E-03    3.7261        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  14  Normalizat    1.1534        .23020        .34945E-03   -.88056    
  15  Prefactor     1.0154        .10461        .16871E-03   -.92217    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 1.24466e-08
Minuit parameter uncertainties:
  1  13.4895
  2  1.26517e-06
  3  0.000892573
  4  0.000328416
  5  1.56168e-07
  6  51.6977
  7  0.000263665
  8  0.000145198
  9  23.9378
  10  0.00361963
  11  7.4434
  12  2.22374e-06
  13  5.11261e-06
  14  0.230406
  15  0.104631
Done.

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

Extracting fit parameters...

4FGL J2050.4-2627
   Spectrum: LogParabola
313         norm:  1.000e-04  2.637e-04  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.015e+00  1.046e-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.153e+00  2.304e-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: 3.75e-08 ph cm-2 s-1
Energy Flux Upper Limit: 2.28e-05 MeV cm-2 s-1

Saving results to:
/scratch/kocevski/164943/likelihoodResults_253584001_253843201_4FGL_J2050.4-2627_daily_bin55.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) = 10070.3910474
delta logL = -0.00063421107734

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

MINUIT Return Code (Free Index): 0
logL (Free Index) = 10070.3904132
delta logL = 1.19689502753e-08

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'norm      '    .10000E-03   1.0000         .10000E-03   10000.    
     2 'alpha     '    2.0630       1.0000          .0000       5.0000    
     3 'Normalizat'    1.1534       1.0000         .10000E-01   10.000    
     4 'Prefactor '    1.0154       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=   10070.39     FROM MIGRAD    STATUS=CONVERGED     50 CALLS      203 TOTAL
                     EDM=   .14E-08    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  norm          .10001E-03    7.7821        .90712E-02** at limit **
   2  alpha         2.0696        3.4458        .41975       -.44075E-05
   3  Normalizat    1.1534        .19108        .78944E-01   -.78220E-04
   4  Prefactor     1.0154        .87698E-01    .42628E-01   -.67402E-03
                               ERR DEF=  .500    
Final values: 
  norm       = 0.000100009
  alpha      = 2.06962
  Normalizat = 1.15337
  Prefactor  = 1.01543
 **********
 **   18 **HESSE 
 **********

 FCN=   10070.39     FROM HESSE     STATUS=OK            31 CALLS      234 TOTAL
                     EDM=   .15E-08    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  norm          .10001E-03    7.5370        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   2  alpha         2.0696        3.4380        .50000       -.17301    
   3  Normalizat    1.1534        .22534        .34945E-03   -.88056    
   4  Prefactor     1.0154        .10361        .16871E-03   -.92217    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 1.46655e-09
Minuit parameter uncertainties:
  1  0.000515091
  2  2.46646
  3  0.225533
  4  0.103629
shell-init: error retrieving current directory: getcwd: cannot access parent directories: No such file or directory
rmdir: failed to remove `/scratch/kocevski/164943': 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) = 10070.3904132
delta logL = 2.3101165425e-08

Extracting fit parameters...

4FGL J2050.4-2627
   Spectrum: LogParabola
313         norm:  1.000e-04  5.151e-04  1.000e-04  1.000e+04 ( 1.000e-13)
314        alpha:  2.070e+00  2.466e+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.015e+00  1.036e-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.153e+00  2.255e-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 -1.000e-01 [aplpy.core]
INFO: Auto-setting vmax to  1.110e+00 [aplpy.core]
Saving /scratch/kocevski/164943/cmap_HighResolution_253584001_253843201_4FGL_J2050.4-2627_daily_bin55.png

Cleaning up...

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

Updating database...

UPDATE lightcurve_data_v2 SET energy_flux_upper_limit='2.28e-05', job_status='DONE', photon_flux_upper_limit='3.75e-08', time_completed='2021-09-25 19:10:36.956886', job_id='164943', GAL2='1.02', fit_tolerance='1e-08', EG2='1.15', EG='1.15', time_epoch_completed='1632622236.96', return_code2='0', ts='-0.00', comment='SUCCESS', return_code='0', GAL='1.02', dlogl='2.31e-08', ts2='-0.00', photon_index_error='0.00', photon_index='2.06' WHERE bin_id='55' AND source_name='4FGL J2050.4-2627' AND cadence='daily';

Database successfully updated.


Analysis Complete.


Sat Sep 25 19:10:36 PDT 2021


------------------------------------------------------------
Sender: LSF System <lsf@bullet0121>
Subject: Job 164943: <4FGL_J2050.4-2627_daily_bin55> in cluster <slac> Done

Job <4FGL_J2050.4-2627_daily_bin55> was submitted from host <rhel6-64j> by user <kocevski> in cluster <slac> at Sat Sep 25 18:55:43 2021
Job was executed on host(s) <bullet0121>, in queue <medium>, as user <kocevski> in cluster <slac> at Sat Sep 25 18:58:12 2021
</u/ki/kocevski> was used as the home directory.
</u/ki/kocevski> was used as the working directory.
Started at Sat Sep 25 18:58:12 2021
Terminated at Sat Sep 25 19:10:37 2021
Results reported at Sat Sep 25 19:10:37 2021

Your job looked like:

------------------------------------------------------------
# LSBATCH: User input
/nfs/farm/g/glast/g/LCRepository/Likelihood/Scripts/LikelihoodAnalysis.py 4FGL_J2050.4-2627_daily_bin55 312.61 -26.4659 253584001 253843201 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 :                                   617.00 sec.
    Max Memory :                                 1094 MB
    Average Memory :                             303.79 MB
    Total Requested Memory :                     -
    Delta Memory :                               -
    Max Swap :                                   -
    Max Processes :                              5
    Max Threads :                                21
    Run time :                                   745 sec.
    Turnaround time :                            894 sec.

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

