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


Performing analysis on: 4FGL_J2050.4-2627_daily_bin369
RA = 312.61, Dec = -26.4659
tmin = 334972801, tmax = 335232001
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='167520', job_status='RUN', time_executed='2021-09-25 19:08:43.698449', time_epoch_executed='1632622123.7' WHERE source_name='4FGL J2050.4-2627' and cadence='daily' and bin_id='369'

Database successfully updated.
Done.

Creating custom output directory:
/scratch/kocevski/167520

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

Retrieving the FT1 file...

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

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

Retrieving 45 files...
Done.


Merging files...

Checksum keywords updated successfully.

Merged file saved to:
/scratch/kocevski/167520/ft1_4FGL_J2050.4-2627_daily_bin369.fits


Retrieving the FT1 file...

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

Retrieving 45 files...
Done.


Merging files...

Merged file saved to:
/scratch/kocevski/167520/ft2_4FGL_J2050.4-2627_daily_bin369.fits


Selecting the photons:
time -p gtselect infile=/scratch/kocevski/167520/ft1_4FGL_J2050.4-2627_daily_bin369.fits outfile=/scratch/kocevski/167520/ft1_filteredMKT_4FGL_J2050.4-2627_daily_bin369.fits ra=312.61 dec=-26.4659 rad=12.0 tmin=334972801.0 tmax=335232001.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.42
user 3.15
sys 0.22

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

Selecting the good time intervals:
time -p gtmktime scfile=/scratch/kocevski/167520/ft2_4FGL_J2050.4-2627_daily_bin369.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/167520/ft1_filteredMKT_4FGL_J2050.4-2627_daily_bin369.fits evtable="EVENTS" outfile="/scratch/kocevski/167520/ft1_filtered_4FGL_J2050.4-2627_daily_bin369.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.50
user 0.36
sys 0.13

Generating the livetime cube:
time -p gtltcube evfile="/scratch/kocevski/167520/ft1_filtered_4FGL_J2050.4-2627_daily_bin369.fits" evtable="EVENTS" scfile=/scratch/kocevski/167520/ft2_4FGL_J2050.4-2627_daily_bin369.fits sctable="SC_DATA" outfile=/scratch/kocevski/167520/ltcube_334972801_335232001_4FGL_J2050.4-2627_daily_bin369.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/167520/ft2_4FGL_J2050.4-2627_daily_bin369.fits
.....................!
real 13.51
user 13.13
sys 0.34

Generating the exposure map:
time -p gtexpmap evfile=/scratch/kocevski/167520/ft1_filtered_4FGL_J2050.4-2627_daily_bin369.fits evtable="EVENTS" scfile=/scratch/kocevski/167520/ft2_4FGL_J2050.4-2627_daily_bin369.fits sctable="SC_DATA" expcube=/scratch/kocevski/167520/ltcube_334972801_335232001_4FGL_J2050.4-2627_daily_bin369.fits outfile=/scratch/kocevski/167520/expmap_334972801_335232001_4FGL_J2050.4-2627_daily_bin369.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/167520/ltcube_334972801_335232001_4FGL_J2050.4-2627_daily_bin369.fits
.....................!
real 190.27
user 184.74
sys 5.06

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/167520/ft1_filtered_4FGL_J2050.4-2627_daily_bin369.fits scfile=/scratch/kocevski/167520/ft2_4FGL_J2050.4-2627_daily_bin369.fits outfile=/scratch/kocevski/167520/cmap_334972801_335232001_4FGL_J2050.4-2627_daily_bin369.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.40
sys 0.13

Creating the high resolution counts map:
time -p gtbin evfile=/scratch/kocevski/167520/ft1_filtered_4FGL_J2050.4-2627_daily_bin369.fits scfile=/scratch/kocevski/167520/ft2_4FGL_J2050.4-2627_daily_bin369.fits outfile=/scratch/kocevski/167520/cmap_HighResolution_334972801_335232001_4FGL_J2050.4-2627_daily_bin369.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.14

Computing the diffuse response:
time -p gtdiffrsp evfile=/scratch/kocevski/167520/ft1_filtered_4FGL_J2050.4-2627_daily_bin369.fits evtable="EVENTS" scfile=/scratch/kocevski/167520/ft2_4FGL_J2050.4-2627_daily_bin369.fits sctable="SC_DATA" srcmdl=/scratch/kocevski/167520/Model_4FGL_J2050.4-2627_daily_bin369.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/167520/ft1_filtered_4FGL_J2050.4-2627_daily_bin369.fits.....................!
real 55.68
user 54.18
sys 1.16

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

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

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

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'norm      '    .10047E-03   1.0000         .10000E-03   10000.    
     2 'norm      '    23.076       1.0000         .10000E-03   10000.    
     3 'Prefactor '    23.185       1.0000         .10000E-03   10000.    
     4 'Prefactor '    .10010E-03   1.0000         .10000E-03   10000.    
     5 'Prefactor '    1.7156       1.0000         .10000E-03   10000.    
     6 'Prefactor '    82.647       1.0000         .10000E-03   10000.    
     7 'norm      '    .18817E-02   1.0000         .10000E-03   10000.    
     8 'Prefactor '    .10000E-03   1.0000         .10000E-03   10000.    
     9 'Prefactor '    1.9785       1.0000         .10000E-03   10000.    
    10 'Prefactor '    .10247E-03   1.0000         .10000E-03   10000.    
    11 'norm      '    .10042E-03   1.0000         .10000E-03   10000.    
    12 'Prefactor '    1.3554       1.0000         .10000E-03   10000.    
    13 'Prefactor '    .10004E-03   1.0000         .10000E-03   10000.    
    14 'Normalizat'    1.2735       1.0000         .10000E-01   10.000    
    15 'Prefactor '    .96157       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=   6032.239     FROM MIGRAD    STATUS=CONVERGED    289 CALLS     1330 TOTAL
                     EDM=   .11E-08  STRATEGY=1  ERROR MATRIX UNCERTAINTY=  2.2%

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  norm          .10000E-03    11.894       -.12344E-06** at limit **
   2  norm          23.079        17.477       -.46195E-06    .32531E-04
   3  Prefactor     23.165        62.364        .56592E-05    .15294E-05
   4  Prefactor     .10000E-03    2.1585       -.33763E-06** at limit **
   5  Prefactor     1.7185        5.8337        .13922E-04   -.92854E-04
   6  Prefactor     82.422        78.439        .22011E-04   -.21076E-04
   7  norm          .10019E-03    109.38       -.18470E-04** at limit **
   8  Prefactor     .10000E-03    9.0553       -.11731E-05** at limit **
   9  Prefactor     1.8483        142.34       -.40419E-05    .13256E-04
  10  Prefactor     .10000E-03    12.317       -.24085E-05** at limit **
  11  norm          .10000E-03    9.9526        .20310E-06** at limit **
  12  Prefactor     1.3573        9.5749        .20111E-04   -.32019E-04
  13  Prefactor     .10000E-03    8.9861        .71681E-06** at limit **
  14  Normalizat    1.2735        .28109       -.43409E-05    .27882E-03
  15  Prefactor     .96146        .11748       -.83786E-06    .28721E-03
                               ERR DEF=  .500    
Final values: 
  norm       = 0.0001
  norm       = 23.0792
  Prefactor  = 23.1652
  Prefactor  = 0.0001
  Prefactor  = 1.71852
  Prefactor  = 82.4218
  norm       = 0.000100187
  Prefactor  = 0.0001
  Prefactor  = 1.84829
  Prefactor  = 0.000100003
  norm       = 0.0001
  Prefactor  = 1.35728
  Prefactor  = 0.0001
  Normalizat = 1.27349
  Prefactor  = 0.961458
 **********
 **   18 **HESSE 
 **********

 FCN=   6032.239     FROM HESSE     STATUS=OK           178 CALLS     1508 TOTAL
                     EDM=   .36E-08    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  norm          .10000E-03    11.963        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   2  norm          23.079        17.490        .83385E-04   -1.4747    
   3  Prefactor     23.165        62.390        .83188E-04   -1.4745    
   4  Prefactor     .10000E-03    2.1631        .11143E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   5  Prefactor     1.7185        5.8515        .16041E-02   -1.5446    
   6  Prefactor     82.422        78.416        .22092E-03   -1.3890    
   7  norm          .10019E-03    115.31        .40566E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   8  Prefactor     .10000E-03    9.0703        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   9  Prefactor     1.8483        142.05        .29469E-03   -1.5436    
  10  Prefactor     .10000E-03    12.611        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  11  norm          .10000E-03    10.097        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  12  Prefactor     1.3573        9.6211        .18774E-02   -1.5475    
  13  Prefactor     .10000E-03    8.9933        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  14  Normalizat    1.2735        .33835        .36096E-03   -.84361    
  15  Prefactor     .96146        .14231        .17537E-03   -.94025    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 3.61415e-09
Minuit parameter uncertainties:
  1  7.26266e-06
  2  17.4936
  3  62.5661
  4  2.30062e-05
  5  5.85345
  6  78.5148
  7  0.00931481
  8  3.18349e-05
  9  32.4861
  10  0.000367365
  11  3.13395e-06
  12  7.2287
  13  2.76662e-06
  14  0.338941
  15  0.142362
Done.

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

Extracting fit parameters...

4FGL J2050.4-2627
   Spectrum: LogParabola
313         norm:  1.002e-04  9.315e-03  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.615e-01  1.424e-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.273e+00  3.389e-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: 7.44e-08 ph cm-2 s-1
Energy Flux Upper Limit: 4.51e-05 MeV cm-2 s-1

Saving results to:
/scratch/kocevski/167520/likelihoodResults_334972801_335232001_4FGL_J2050.4-2627_daily_bin369.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) = 6032.23922459
delta logL = -4.12519366364e-05

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

MINUIT Return Code (Free Index): 0
logL (Free Index) = 6032.23918343
delta logL = -9.41245161812e-08

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'norm      '    .10012E-03   1.0000         .10000E-03   10000.    
     2 'alpha     '    2.0320       1.0000          .0000       5.0000    
     3 'Normalizat'    1.2735       1.0000         .10000E-01   10.000    
     4 'Prefactor '    .96146       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=   6031.790     FROM MIGRAD    STATUS=CONVERGED    228 CALLS      413 TOTAL
                     EDM=   .55E-09    STRATEGY= 1      ERR MATRIX NOT POS-DEF

  EXT PARAMETER                APPROXIMATE        STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  norm          .26572        13.994        .73645E-02    .92654E-03
   2  alpha         5.0000        2.6043        .50000    ** at limit **
   3  Normalizat    1.1818        .13951        .36096E-02   -.18038E-03
   4  Prefactor     .98408        .57468E-01    .17537E-03   -.25617E-03
                               ERR DEF=  .500    
Final values: 
  norm       = 0.265717
  alpha      = 5
  Normalizat = 1.18176
  Prefactor  = 0.984082
 **********
 **   18 **HESSE 
 **********

 FCN=   6031.790     FROM HESSE     STATUS=OK            31 CALLS      444 TOTAL
                     EDM=   .29E-09    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  norm          .26572        .34532        .44200E-04   -1.5605    
   2  alpha         5.0000        3.2885        .50000        1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   3  Normalizat    1.1818        .34616        .14438E-03   -.87168    
   4  Prefactor     .98408        .14498        .35073E-04   -.93262    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 2.88205e-10
Minuit parameter uncertainties:
  1  0.345322
  2  9.41483e-05
  3  0.346836
  4  0.145039
shell-init: error retrieving current directory: getcwd: cannot access parent directories: No such file or directory
rmdir: failed to remove `/scratch/kocevski/167520': 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) = 6031.79042691
delta logL = 0.448756424937

Extracting fit parameters...

4FGL J2050.4-2627
   Spectrum: LogParabola
313         norm:  2.657e-01  3.453e-01  1.000e-04  1.000e+04 ( 1.000e-13)
314        alpha:  5.000e+00  9.415e-05  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.841e-01  1.450e-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.182e+00  3.468e-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/167520/cmap_HighResolution_334972801_335232001_4FGL_J2050.4-2627_daily_bin369.png

Cleaning up...

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

Updating database...

UPDATE lightcurve_data_v2 SET energy_flux_upper_limit='4.51e-05', job_status='DONE', photon_flux_upper_limit='7.44e-08', time_completed='2021-09-25 19:17:10.972709', job_id='167520', GAL2='0.98', fit_tolerance='1e-08', EG2='1.18', EG='1.27', time_epoch_completed='1632622630.97', return_code2='0', ts='-0.00', comment='SUCCESS', return_code='0', GAL='0.96', dlogl='4.49e-01', ts2='0.96', photon_index_error='0.00', photon_index='2.06' WHERE bin_id='369' AND source_name='4FGL J2050.4-2627' AND cadence='daily';

Database successfully updated.


Analysis Complete.


Sat Sep 25 19:17:11 PDT 2021


------------------------------------------------------------
Sender: LSF System <lsf@bullet0302>
Subject: Job 167520: <4FGL_J2050.4-2627_daily_bin369> in cluster <slac> Done

Job <4FGL_J2050.4-2627_daily_bin369> was submitted from host <rhel6-64h> by user <kocevski> in cluster <slac> at Sat Sep 25 19:05:19 2021
Job was executed on host(s) <bullet0302>, in queue <medium>, as user <kocevski> in cluster <slac> at Sat Sep 25 19:05:35 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:05:35 2021
Terminated at Sat Sep 25 19:17:11 2021
Results reported at Sat Sep 25 19:17:11 2021

Your job looked like:

------------------------------------------------------------
# LSBATCH: User input
/nfs/farm/g/glast/g/LCRepository/Likelihood/Scripts/LikelihoodAnalysis.py 4FGL_J2050.4-2627_daily_bin369 312.61 -26.4659 334972801 335232001 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 :                                   505.43 sec.
    Max Memory :                                 1256 MB
    Average Memory :                             309.57 MB
    Total Requested Memory :                     -
    Delta Memory :                               -
    Max Swap :                                   -
    Max Processes :                              5
    Max Threads :                                21
    Run time :                                   696 sec.
    Turnaround time :                            712 sec.

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

