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


Performing analysis on: 4FGL_J2050.4-2627_daily_bin200
RA = 312.61, Dec = -26.4659
tmin = 291168001, tmax = 291427201
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='166253', job_status='RUN', time_executed='2021-09-25 19:04:50.819352', time_epoch_executed='1632621890.82' WHERE source_name='4FGL J2050.4-2627' and cadence='daily' and bin_id='200'

Database successfully updated.
Done.

Creating custom output directory:
/scratch/kocevski/166253

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

Retrieving the FT1 file...

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

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

Retrieving 46 files...
Done.


Merging files...

Checksum keywords updated successfully.

Merged file saved to:
/scratch/kocevski/166253/ft1_4FGL_J2050.4-2627_daily_bin200.fits


Retrieving the FT1 file...

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

Retrieving 46 files...
Done.


Merging files...

Merged file saved to:
/scratch/kocevski/166253/ft2_4FGL_J2050.4-2627_daily_bin200.fits


Selecting the photons:
time -p gtselect infile=/scratch/kocevski/166253/ft1_4FGL_J2050.4-2627_daily_bin200.fits outfile=/scratch/kocevski/166253/ft1_filteredMKT_4FGL_J2050.4-2627_daily_bin200.fits ra=312.61 dec=-26.4659 rad=12.0 tmin=291168001.0 tmax=291427201.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.48
user 3.25
sys 0.20

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

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

Generating the livetime cube:
time -p gtltcube evfile="/scratch/kocevski/166253/ft1_filtered_4FGL_J2050.4-2627_daily_bin200.fits" evtable="EVENTS" scfile=/scratch/kocevski/166253/ft2_4FGL_J2050.4-2627_daily_bin200.fits sctable="SC_DATA" outfile=/scratch/kocevski/166253/ltcube_291168001_291427201_4FGL_J2050.4-2627_daily_bin200.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/166253/ft2_4FGL_J2050.4-2627_daily_bin200.fits
.....................!
real 13.18
user 12.76
sys 0.36

Generating the exposure map:
time -p gtexpmap evfile=/scratch/kocevski/166253/ft1_filtered_4FGL_J2050.4-2627_daily_bin200.fits evtable="EVENTS" scfile=/scratch/kocevski/166253/ft2_4FGL_J2050.4-2627_daily_bin200.fits sctable="SC_DATA" expcube=/scratch/kocevski/166253/ltcube_291168001_291427201_4FGL_J2050.4-2627_daily_bin200.fits outfile=/scratch/kocevski/166253/expmap_291168001_291427201_4FGL_J2050.4-2627_daily_bin200.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/166253/ltcube_291168001_291427201_4FGL_J2050.4-2627_daily_bin200.fits
.....................!
real 190.91
user 185.90
sys 4.61

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/166253/ft1_filtered_4FGL_J2050.4-2627_daily_bin200.fits scfile=/scratch/kocevski/166253/ft2_4FGL_J2050.4-2627_daily_bin200.fits outfile=/scratch/kocevski/166253/cmap_291168001_291427201_4FGL_J2050.4-2627_daily_bin200.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.53
user 0.38
sys 0.15

Creating the high resolution counts map:
time -p gtbin evfile=/scratch/kocevski/166253/ft1_filtered_4FGL_J2050.4-2627_daily_bin200.fits scfile=/scratch/kocevski/166253/ft2_4FGL_J2050.4-2627_daily_bin200.fits outfile=/scratch/kocevski/166253/cmap_HighResolution_291168001_291427201_4FGL_J2050.4-2627_daily_bin200.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.37
sys 0.17

Computing the diffuse response:
time -p gtdiffrsp evfile=/scratch/kocevski/166253/ft1_filtered_4FGL_J2050.4-2627_daily_bin200.fits evtable="EVENTS" scfile=/scratch/kocevski/166253/ft2_4FGL_J2050.4-2627_daily_bin200.fits sctable="SC_DATA" srcmdl=/scratch/kocevski/166253/Model_4FGL_J2050.4-2627_daily_bin200.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/166253/ft1_filtered_4FGL_J2050.4-2627_daily_bin200.fits.....................!
real 90.20
user 88.81
sys 1.22

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

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

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

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'norm      '    .11674E-03   1.0000         .10000E-03   10000.    
     2 'norm      '    13.792       1.0000         .10000E-03   10000.    
     3 'Prefactor '    .20881E-03   1.0000         .10000E-03   10000.    
     4 'Prefactor '    8.3450       1.0000         .10000E-03   10000.    
     5 'Prefactor '    .30136       1.0000         .10000E-03   10000.    
     6 'Prefactor '    28.212       1.0000         .10000E-03   10000.    
     7 'norm      '    27.064       1.0000         .10000E-03   10000.    
     8 'Prefactor '    .14794E-03   1.0000         .10000E-03   10000.    
     9 'Prefactor '    .27851E-02   1.0000         .10000E-03   10000.    
    10 'Prefactor '    .10002E-03   1.0000         .10000E-03   10000.    
    11 'norm      '    3.3549       1.0000         .10000E-03   10000.    
    12 'Prefactor '    6.9763       1.0000         .10000E-03   10000.    
    13 'Prefactor '    .10632E-03   1.0000         .10000E-03   10000.    
    14 'Normalizat'    1.0294       1.0000         .10000E-01   10.000    
    15 'Prefactor '    .92442       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=   11308.19     FROM MIGRAD    STATUS=CONVERGED    289 CALLS     1318 TOTAL
                     EDM=   .14E-08  STRATEGY=1  ERROR MATRIX UNCERTAINTY=   .3%

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  norm          .10000E-03    3.4069        .12095E-06** at limit **
   2  norm          13.817        8.0569        .23313E-05   -.51757E-04
   3  Prefactor     .10000E-03    11.465        .54581E-06** at limit **
   4  Prefactor     8.3379        4.5315       -.23266E-05   -.43583E-03
   5  Prefactor     .29520        1.1773        .42192E-06   -.90978E-03
   6  Prefactor     28.342        68.178        .20343E-03    .20096E-04
   7  norm          27.113        19.192       -.19558E-04   -.12219E-03
   8  Prefactor     .10000E-03    8.9313        .44899E-07** at limit **
   9  Prefactor     .10000E-03    23.637       -.11842E-06** at limit **
  10  Prefactor     .10000E-03    1.3769       -.36537E-06** at limit **
  11  norm          3.3558        3.6216        .34972E-06    .27044E-03
  12  Prefactor     6.9853        5.8590        .28433E-05   -.24477E-03
  13  Prefactor     .10000E-03    4.4855        .25360E-06** at limit **
  14  Normalizat    1.0293        .16849       -.13619E-04    .28087E-03
  15  Prefactor     .92439        .75823E-01    .77374E-06   -.11360E-02
                               ERR DEF=  .500    
Final values: 
  norm       = 0.0001
  norm       = 13.8167
  Prefactor  = 0.0001
  Prefactor  = 8.33787
  Prefactor  = 0.295202
  Prefactor  = 28.3418
  norm       = 27.1126
  Prefactor  = 0.0001
  Prefactor  = 0.000100002
  Prefactor  = 0.0001
  norm       = 3.35585
  Prefactor  = 6.98528
  Prefactor  = 0.0001
  Normalizat = 1.02934
  Prefactor  = 0.924388
 **********
 **   18 **HESSE 
 **********

 FCN=   11308.19     FROM HESSE     STATUS=OK           182 CALLS     1500 TOTAL
                     EDM=   .51E-08    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  norm          .10000E-03    3.4226        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   2  norm          13.817        8.0598        .10785E-03   -1.4964    
   3  Prefactor     .10000E-03    11.475        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   4  Prefactor     8.3379        4.5331        .13878E-03   -1.5130    
   5  Prefactor     .29520        6.8310        .21935E-02   -1.5599    
   6  Prefactor     28.342        68.122        .75426E-04   -1.4643    
   7  norm          27.113        19.198        .77006E-04   -1.4666    
   8  Prefactor     .10000E-03    9.0648        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   9  Prefactor     .10000E-03    24.042        .19908E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  10  Prefactor     .10000E-03    1.3863        .12184E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  11  norm          3.3558        3.6253        .20520E-03   -1.5342    
  12  Prefactor     6.9853        5.8609        .15189E-03   -1.5179    
  13  Prefactor     .10000E-03    4.4957        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  14  Normalizat    1.0293        .19781        .33280E-03   -.92054    
  15  Prefactor     .92439        .89754E-01    .16179E-03   -.95294    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 5.12898e-09
Minuit parameter uncertainties:
  1  2.05331e-05
  2  8.06043
  3  3.21476e-05
  4  4.53329
  5  2.83997
  6  68.3095
  7  19.2023
  8  1.58776e-05
  9  0.000458148
  10  4.39676e-05
  11  3.62555
  12  5.86138
  13  2.55565e-05
  14  0.197956
  15  0.0897683
Done.

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

Extracting fit parameters...

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

GAL_V02
   Spectrum: PowerLaw
546    Prefactor:  9.244e-01  8.977e-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:  1.029e+00  1.980e-01  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Fixed Index): 4.16
Ra Dec: 312.610 -26.466
Photon Index (Fixed Index): 2.06 +/- 0.00
Photon Flux (Fixed Index): 2.70e-08 +/- 1.91e-08
Energy Flux (Fixed Index): 1.64e-05 +/- 1.16e-05

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) = 11307.1638895
delta logL = 1.02614263995

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

MINUIT Return Code (Free Index): 0
logL (Free Index) = 11307.1536267
delta logL = 1.03640546684

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'norm      '    13.882       1.0000         .10000E-03   10000.    
     2 'alpha     '    3.0124       1.0000          .0000       5.0000    
     3 'Normalizat'    .98734       1.0000         .10000E-01   10.000    
     4 'Prefactor '    .93286       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=   11307.15     FROM MIGRAD    STATUS=CONVERGED     90 CALLS      303 TOTAL
                     EDM=   .45E-09    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  norm          13.879        17.081        .10750E-03   -.69967E-03
   2  alpha         3.0128        .77355        .11022E-01   -.72192E-04
   3  Normalizat    .98723        .19606        .33873E-03    .22903E-03
   4  Prefactor     .93294        .89971E-01    .16100E-03    .24601E-04
                               ERR DEF=  .500    
Final values: 
  norm       = 13.8785
  alpha      = 3.01282
  Normalizat = 0.987227
  Prefactor  = 0.932943
 **********
 **   18 **HESSE 
 **********

 FCN=   11307.15     FROM HESSE     STATUS=OK            25 CALLS      328 TOTAL
                     EDM=   .45E-09    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  norm          13.879        14.113        .43001E-05   -1.4963    
   2  alpha         3.0128        .64198        .44089E-03    .20660    
   3  Normalizat    .98723        .19518        .13549E-04   -.93460    
   4  Prefactor     .93294        .89796E-01    .32201E-04   -.94999    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 4.5348e-10
Minuit parameter uncertainties:
  1  14.1161
  2  0.649578
  3  0.19532
  4  0.0898103
shell-init: error retrieving current directory: getcwd: cannot access parent directories: No such file or directory
rmdir: failed to remove `/scratch/kocevski/166253': 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) = 11307.1536259
delta logL = 1.03640623285

Extracting fit parameters...

4FGL J2050.4-2627
   Spectrum: LogParabola
313         norm:  1.388e+01  1.412e+01  1.000e-04  1.000e+04 ( 1.000e-13)
314        alpha:  3.013e+00  6.496e-01  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.329e-01  8.981e-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:  9.872e-01  1.953e-01  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Free Index): 6.25
Ra Dec: 312.610 -26.466
Photon Index (Free Index): 3.01 +/- 0.65
Photon Flux (Free Index): 6.67e-08 +/- 4.23e-08
Energy Flux (Free Index): 1.63e-05 +/- 8.64e-06

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/166253/cmap_HighResolution_291168001_291427201_4FGL_J2050.4-2627_daily_bin200.png

Cleaning up...

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

Updating database...

UPDATE lightcurve_data_v2 SET comment='SUCCESS', photon_flux='2.70e-08', energy_flux2='1.63e-05', photon_flux_error='1.91e-08', dlogl='1.04e+00', energy_flux='1.64e-05', photon_flux2='6.67e-08', job_status='DONE', time_completed='2021-09-25 19:15:11.475821', photon_index_error2='0.65', photon_index2='3.01', ts='4.16', fit_tolerance='1e-08', GAL='0.92', photon_index_error='0.00', energy_flux_error2='8.64e-06', EG='1.03', time_epoch_completed='1632622511.48', return_code='0', job_id='166253', GAL2='0.93', EG2='0.99', return_code2='0', energy_flux_error='1.16e-05', photon_flux_error2='4.23e-08', ts2='6.25', photon_index='2.06' WHERE bin_id='200' AND source_name='4FGL J2050.4-2627' AND cadence='daily';

Database successfully updated.


Analysis Complete.


Sat Sep 25 19:15:11 PDT 2021


------------------------------------------------------------
Sender: LSF System <lsf@bullet0126>
Subject: Job 166253: <4FGL_J2050.4-2627_daily_bin200> in cluster <slac> Done

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

Your job looked like:

------------------------------------------------------------
# LSBATCH: User input
/nfs/farm/g/glast/g/LCRepository/Likelihood/Scripts/LikelihoodAnalysis.py 4FGL_J2050.4-2627_daily_bin200 312.61 -26.4659 291168001 291427201 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 :                                   619.32 sec.
    Max Memory :                                 1093 MB
    Average Memory :                             277.46 MB
    Total Requested Memory :                     -
    Delta Memory :                               -
    Max Swap :                                   -
    Max Processes :                              5
    Max Threads :                                21
    Run time :                                   847 sec.
    Turnaround time :                            871 sec.

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

