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


Performing analysis on: 4FGL_J2050.4-2627_daily_bin644
RA = 312.61, Dec = -26.4659
tmin = 406252801, tmax = 406512001
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='168984', job_status='RUN', time_executed='2021-09-25 19:14:13.500330', time_epoch_executed='1632622453.5' WHERE source_name='4FGL J2050.4-2627' and cadence='daily' and bin_id='644'

Database successfully updated.
Done.

Creating custom output directory:
/scratch/kocevski/168984

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

Retrieving the FT1 file...

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

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

Retrieving 47 files...
Done.


Merging files...

Checksum keywords updated successfully.

Merged file saved to:
/scratch/kocevski/168984/ft1_4FGL_J2050.4-2627_daily_bin644.fits


Retrieving the FT1 file...

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

Retrieving 47 files...
Done.


Merging files...

Merged file saved to:
/scratch/kocevski/168984/ft2_4FGL_J2050.4-2627_daily_bin644.fits


Selecting the photons:
time -p gtselect infile=/scratch/kocevski/168984/ft1_4FGL_J2050.4-2627_daily_bin644.fits outfile=/scratch/kocevski/168984/ft1_filteredMKT_4FGL_J2050.4-2627_daily_bin644.fits ra=312.61 dec=-26.4659 rad=12.0 tmin=406252801.0 tmax=406512001.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.95
user 3.65
sys 0.24

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

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

Generating the livetime cube:
time -p gtltcube evfile="/scratch/kocevski/168984/ft1_filtered_4FGL_J2050.4-2627_daily_bin644.fits" evtable="EVENTS" scfile=/scratch/kocevski/168984/ft2_4FGL_J2050.4-2627_daily_bin644.fits sctable="SC_DATA" outfile=/scratch/kocevski/168984/ltcube_406252801_406512001_4FGL_J2050.4-2627_daily_bin644.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/168984/ft2_4FGL_J2050.4-2627_daily_bin644.fits
.....................!
real 14.93
user 14.52
sys 0.35

Generating the exposure map:
time -p gtexpmap evfile=/scratch/kocevski/168984/ft1_filtered_4FGL_J2050.4-2627_daily_bin644.fits evtable="EVENTS" scfile=/scratch/kocevski/168984/ft2_4FGL_J2050.4-2627_daily_bin644.fits sctable="SC_DATA" expcube=/scratch/kocevski/168984/ltcube_406252801_406512001_4FGL_J2050.4-2627_daily_bin644.fits outfile=/scratch/kocevski/168984/expmap_406252801_406512001_4FGL_J2050.4-2627_daily_bin644.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/168984/ltcube_406252801_406512001_4FGL_J2050.4-2627_daily_bin644.fits
.....................!
real 191.95
user 185.79
sys 5.34

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/168984/ft1_filtered_4FGL_J2050.4-2627_daily_bin644.fits scfile=/scratch/kocevski/168984/ft2_4FGL_J2050.4-2627_daily_bin644.fits outfile=/scratch/kocevski/168984/cmap_406252801_406512001_4FGL_J2050.4-2627_daily_bin644.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.58
user 0.38
sys 0.16

Creating the high resolution counts map:
time -p gtbin evfile=/scratch/kocevski/168984/ft1_filtered_4FGL_J2050.4-2627_daily_bin644.fits scfile=/scratch/kocevski/168984/ft2_4FGL_J2050.4-2627_daily_bin644.fits outfile=/scratch/kocevski/168984/cmap_HighResolution_406252801_406512001_4FGL_J2050.4-2627_daily_bin644.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.38
sys 0.16

Computing the diffuse response:
time -p gtdiffrsp evfile=/scratch/kocevski/168984/ft1_filtered_4FGL_J2050.4-2627_daily_bin644.fits evtable="EVENTS" scfile=/scratch/kocevski/168984/ft2_4FGL_J2050.4-2627_daily_bin644.fits sctable="SC_DATA" srcmdl=/scratch/kocevski/168984/Model_4FGL_J2050.4-2627_daily_bin644.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/168984/ft1_filtered_4FGL_J2050.4-2627_daily_bin644.fits.....................!
real 83.97
user 82.44
sys 1.28

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

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

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

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'norm      '    17.388       1.0000         .10000E-03   10000.    
     2 'norm      '    9.2830       1.0000         .10000E-03   10000.    
     3 'Prefactor '    20.695       1.0000         .10000E-03   10000.    
     4 'Prefactor '    2.0374       1.0000         .10000E-03   10000.    
     5 'Prefactor '    2.8359       1.0000         .10000E-03   10000.    
     6 'Prefactor '    45.287       1.0000         .10000E-03   10000.    
     7 'norm      '    .12886E-03   1.0000         .10000E-03   10000.    
     8 'Prefactor '    .10007E-03   1.0000         .10000E-03   10000.    
     9 'Prefactor '    1.9417       1.0000         .10000E-03   10000.    
    10 'Prefactor '    .40763E-03   1.0000         .10000E-03   10000.    
    11 'norm      '    2.1647       1.0000         .10000E-03   10000.    
    12 'Prefactor '    1.8246       1.0000         .10000E-03   10000.    
    13 'Prefactor '    .12394E-01   1.0000         .10000E-03   10000.    
    14 'Normalizat'    .86299       1.0000         .10000E-01   10.000    
    15 'Prefactor '    .91575       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=   10189.07     FROM MIGRAD    STATUS=CONVERGED    300 CALLS     1372 TOTAL
                     EDM=   .41E-09  STRATEGY=1  ERROR MATRIX UNCERTAINTY=  2.9%

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  norm          17.389        11.925       -.78618E-07    .19311E-04
   2  norm          9.2815        6.6115        .90142E-07   -.70086E-05
   3  Prefactor     20.693        31.270       -.32414E-05    .20568E-05
   4  Prefactor     2.0350        4.4930        .92777E-05   -.17080E-03
   5  Prefactor     2.8355        2.7298        .12441E-06   -.83688E-05
   6  Prefactor     45.390        62.153       -.16297E-04   -.36079E-04
   7  norm          .10002E-03    33.657        .65146E-05** at limit **
   8  Prefactor     .10000E-03    6.1645        .56593E-08** at limit **
   9  Prefactor     1.9445        31.794       -.14046E-06   -.23758E-04
  10  Prefactor     .10001E-03    1.9511        .14934E-05** at limit **
  11  norm          2.1641        4.0525        .25905E-06    .33107E-04
  12  Prefactor     1.8248        2.6388        .74278E-07   -.22917E-05
  13  Prefactor     .10000E-03    9.5655        .64182E-06** at limit **
  14  Normalizat    .86307        .17327       -.23023E-05   -.21349E-03
  15  Prefactor     .91572        .77352E-01    .89257E-06   -.14753E-03
                               ERR DEF=  .500    
Final values: 
  norm       = 17.3889
  norm       = 9.2815
  Prefactor  = 20.6931
  Prefactor  = 2.03496
  Prefactor  = 2.8355
  Prefactor  = 45.3897
  norm       = 0.000100019
  Prefactor  = 0.0001
  Prefactor  = 1.94453
  Prefactor  = 0.000100006
  norm       = 2.16409
  Prefactor  = 1.82481
  Prefactor  = 0.000100002
  Normalizat = 0.863068
  Prefactor  = 0.915718
 **********
 **   18 **HESSE 
 **********

 FCN=   10189.07     FROM HESSE     STATUS=OK           190 CALLS     1562 TOTAL
                     EDM=   .13E-08    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  norm          17.389        11.936        .96048E-04   -1.4874    
   2  norm          9.2815        6.6074        .13154E-03   -1.5099    
   3  Prefactor     20.693        31.266        .88045E-04   -1.4798    
   4  Prefactor     2.0350        4.5109        .14488E-02   -1.5423    
   5  Prefactor     2.8355        2.7197        .15728E-03   -1.5371    
   6  Prefactor     45.390        62.235        .29789E-03   -1.4360    
   7  norm          .10002E-03    34.451        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   8  Prefactor     .10000E-03    6.1925        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   9  Prefactor     1.9445        31.872        .29792E-03   -1.5429    
  10  Prefactor     .10001E-03    9.4983        .26501E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  11  norm          2.1641        4.0261        .27094E-03   -1.5414    
  12  Prefactor     1.8248        2.6192        .19219E-03   -1.5438    
  13  Prefactor     .10000E-03    63.449        .59620E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  14  Normalizat    .86307        .19701        .33899E-03   -.97770    
  15  Prefactor     .91572        .91382E-01    .15413E-03   -.95594    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 1.34181e-09
Minuit parameter uncertainties:
  1  11.9381
  2  6.6079
  3  31.2906
  4  4.51164
  5  2.71984
  6  62.324
  7  0.00161694
  8  5.98251e-06
  9  15.7545
  10  0.000487287
  11  4.02656
  12  2.61938
  13  0.000666898
  14  0.197175
  15  0.0913971
Done.

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

Extracting fit parameters...

4FGL J2050.4-2627
   Spectrum: LogParabola
313         norm:  1.000e-04  1.617e-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.157e-01  9.140e-02  0.000e+00  1.000e+01 ( 1.000e+00)
547        Index:  0.000e+00  0.000e+00 -1.000e+00  1.000e+00 ( 1.000e+00) fixed
548        Scale:  1.000e+02  0.000e+00  5.000e+01  2.000e+02 ( 1.000e+00) fixed

EG_v02
   Spectrum: FileFunction
545   Normalization:  8.631e-01  1.972e-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.83e-08 ph cm-2 s-1
Energy Flux Upper Limit: 2.93e-05 MeV cm-2 s-1

Saving results to:
/scratch/kocevski/168984/likelihoodResults_406252801_406512001_4FGL_J2050.4-2627_daily_bin644.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) = 10189.0695868
delta logL = -0.00013827127259

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

MINUIT Return Code (Free Index): 0
logL (Free Index) = 10189.0694489
delta logL = -3.49215042661e-07

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.0128       1.0000          .0000       5.0000    
     3 'Normalizat'    .86307       1.0000         .10000E-01   10.000    
     4 'Prefactor '    .91572       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=   10189.07     FROM MIGRAD    STATUS=CONVERGED     95 CALLS      266 TOTAL
                     EDM=   .13E-08    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  norm          .10003E-03    52.844        .36285E-03** at limit **
   2  alpha         2.1216        3.4530        .16874       -.20283E-04
   3  Normalizat    .86307        .19146        .33900E-03    .45736E-03
   4  Prefactor     .91572        .90183E-01    .15413E-03    .12024E-02
                               ERR DEF=  .500    
Final values: 
  norm       = 0.000100029
  alpha      = 2.12159
  Normalizat = 0.86307
  Prefactor  = 0.915718
 **********
 **   18 **HESSE 
 **********

 FCN=   10189.07     FROM HESSE     STATUS=OK            23 CALLS      289 TOTAL
                     EDM=   .13E-08    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  norm          .10003E-03    52.789        .72569E-04   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   2  alpha         2.1216        3.4528        .67496E-02   -.15195    
   3  Normalizat    .86307        .19159        .13560E-04   -.97770    
   4  Prefactor     .91572        .90246E-01    .30825E-04   -.95594    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 1.29149e-09
Minuit parameter uncertainties:
  1  0.00249019
  2  2.47124
  3  0.191743
  4  0.090261
shell-init: error retrieving current directory: getcwd: cannot access parent directories: No such file or directory
rmdir: failed to remove `/scratch/kocevski/168984': 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) = 10189.069448
delta logL = 5.23241396877e-07

Extracting fit parameters...

4FGL J2050.4-2627
   Spectrum: LogParabola
313         norm:  1.000e-04  2.490e-03  1.000e-04  1.000e+04 ( 1.000e-13)
314        alpha:  2.122e+00  2.471e+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:  9.157e-01  9.026e-02  0.000e+00  1.000e+01 ( 1.000e+00)
547        Index:  0.000e+00  0.000e+00 -1.000e+00  1.000e+00 ( 1.000e+00) fixed
548        Scale:  1.000e+02  0.000e+00  5.000e+01  2.000e+02 ( 1.000e+00) fixed

EG_v02
   Spectrum: FileFunction
545   Normalization:  8.631e-01  1.917e-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/168984/cmap_HighResolution_406252801_406512001_4FGL_J2050.4-2627_daily_bin644.png

Cleaning up...

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

Updating database...

UPDATE lightcurve_data_v2 SET energy_flux_upper_limit='2.93e-05', job_status='DONE', photon_flux_upper_limit='4.83e-08', time_completed='2021-09-25 19:25:04.605799', job_id='168984', GAL2='0.92', fit_tolerance='1e-08', EG2='0.86', EG='0.86', time_epoch_completed='1632623104.61', return_code2='0', ts='-0.00', comment='SUCCESS', return_code='0', GAL='0.92', dlogl='5.23e-07', ts2='-0.00', photon_index_error='0.00', photon_index='2.06' WHERE bin_id='644' AND source_name='4FGL J2050.4-2627' AND cadence='daily';

Database successfully updated.


Analysis Complete.


Sat Sep 25 19:25:04 PDT 2021


------------------------------------------------------------
Sender: LSF System <lsf@bullet0298>
Subject: Job 168984: <4FGL_J2050.4-2627_daily_bin644> in cluster <slac> Done

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

Your job looked like:

------------------------------------------------------------
# LSBATCH: User input
/nfs/farm/g/glast/g/LCRepository/Likelihood/Scripts/LikelihoodAnalysis.py 4FGL_J2050.4-2627_daily_bin644 312.61 -26.4659 406252801 406512001 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 :                                   650.54 sec.
    Max Memory :                                 1256 MB
    Average Memory :                             298.44 MB
    Total Requested Memory :                     -
    Delta Memory :                               -
    Max Swap :                                   -
    Max Processes :                              5
    Max Threads :                                21
    Run time :                                   854 sec.
    Turnaround time :                            884 sec.

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

