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


Performing analysis on: 4FGL_J2050.4-2627_daily_bin674
RA = 312.61, Dec = -26.4659
tmin = 414028801, tmax = 414288001
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='169033', job_status='RUN', time_executed='2021-09-25 19:13:16.622003', time_epoch_executed='1632622396.62' WHERE source_name='4FGL J2050.4-2627' and cadence='daily' and bin_id='674'

Database successfully updated.
Done.

Creating custom output directory:
/scratch/kocevski/169033

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

Retrieving the FT1 file...

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

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

Retrieving 46 files...
Done.


Merging files...

Checksum keywords updated successfully.

Merged file saved to:
/scratch/kocevski/169033/ft1_4FGL_J2050.4-2627_daily_bin674.fits


Retrieving the FT1 file...

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

Retrieving 46 files...
Done.


Merging files...

Merged file saved to:
/scratch/kocevski/169033/ft2_4FGL_J2050.4-2627_daily_bin674.fits


Selecting the photons:
time -p gtselect infile=/scratch/kocevski/169033/ft1_4FGL_J2050.4-2627_daily_bin674.fits outfile=/scratch/kocevski/169033/ft1_filteredMKT_4FGL_J2050.4-2627_daily_bin674.fits ra=312.61 dec=-26.4659 rad=12.0 tmin=414028801.0 tmax=414288001.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 5.24
user 4.93
sys 0.24

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

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

Generating the livetime cube:
time -p gtltcube evfile="/scratch/kocevski/169033/ft1_filtered_4FGL_J2050.4-2627_daily_bin674.fits" evtable="EVENTS" scfile=/scratch/kocevski/169033/ft2_4FGL_J2050.4-2627_daily_bin674.fits sctable="SC_DATA" outfile=/scratch/kocevski/169033/ltcube_414028801_414288001_4FGL_J2050.4-2627_daily_bin674.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/169033/ft2_4FGL_J2050.4-2627_daily_bin674.fits
.....................!
real 14.32
user 13.89
sys 0.33

Generating the exposure map:
time -p gtexpmap evfile=/scratch/kocevski/169033/ft1_filtered_4FGL_J2050.4-2627_daily_bin674.fits evtable="EVENTS" scfile=/scratch/kocevski/169033/ft2_4FGL_J2050.4-2627_daily_bin674.fits sctable="SC_DATA" expcube=/scratch/kocevski/169033/ltcube_414028801_414288001_4FGL_J2050.4-2627_daily_bin674.fits outfile=/scratch/kocevski/169033/expmap_414028801_414288001_4FGL_J2050.4-2627_daily_bin674.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/169033/ltcube_414028801_414288001_4FGL_J2050.4-2627_daily_bin674.fits
.....................!
real 191.42
user 185.88
sys 4.90

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/169033/ft1_filtered_4FGL_J2050.4-2627_daily_bin674.fits scfile=/scratch/kocevski/169033/ft2_4FGL_J2050.4-2627_daily_bin674.fits outfile=/scratch/kocevski/169033/cmap_414028801_414288001_4FGL_J2050.4-2627_daily_bin674.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.39
sys 0.14

Creating the high resolution counts map:
time -p gtbin evfile=/scratch/kocevski/169033/ft1_filtered_4FGL_J2050.4-2627_daily_bin674.fits scfile=/scratch/kocevski/169033/ft2_4FGL_J2050.4-2627_daily_bin674.fits outfile=/scratch/kocevski/169033/cmap_HighResolution_414028801_414288001_4FGL_J2050.4-2627_daily_bin674.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.86
user 0.37
sys 0.17

Computing the diffuse response:
time -p gtdiffrsp evfile=/scratch/kocevski/169033/ft1_filtered_4FGL_J2050.4-2627_daily_bin674.fits evtable="EVENTS" scfile=/scratch/kocevski/169033/ft2_4FGL_J2050.4-2627_daily_bin674.fits sctable="SC_DATA" srcmdl=/scratch/kocevski/169033/Model_4FGL_J2050.4-2627_daily_bin674.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/169033/ft1_filtered_4FGL_J2050.4-2627_daily_bin674.fits.....................!
real 106.02
user 103.98
sys 1.25

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

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

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

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'norm      '    29.022       1.0000         .10000E-03   10000.    
     2 'norm      '    14.526       1.0000         .10000E-03   10000.    
     3 'Prefactor '    .10006E-03   1.0000         .10000E-03   10000.    
     4 'Prefactor '    .38044E-03   1.0000         .10000E-03   10000.    
     5 'Prefactor '    3.4302       1.0000         .10000E-03   10000.    
     6 'Prefactor '    25.041       1.0000         .10000E-03   10000.    
     7 'norm      '    .14594E-03   1.0000         .10000E-03   10000.    
     8 'Prefactor '    .10004E-03   1.0000         .10000E-03   10000.    
     9 'Prefactor '    16.064       1.0000         .10000E-03   10000.    
    10 'Prefactor '    .10033E-03   1.0000         .10000E-03   10000.    
    11 'norm      '    .10001E-03   1.0000         .10000E-03   10000.    
    12 'Prefactor '    9.2035       1.0000         .10000E-03   10000.    
    13 'Prefactor '    .10050E-03   1.0000         .10000E-03   10000.    
    14 'Normalizat'    1.1720       1.0000         .10000E-01   10.000    
    15 'Prefactor '    1.0464       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=   13071.08     FROM MIGRAD    STATUS=CONVERGED    277 CALLS     1165 TOTAL
                     EDM=   .25E-09  STRATEGY=1  ERROR MATRIX UNCERTAINTY=  1.5%

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  norm          29.020        10.541        .32030E-07   -.12591E-04
   2  norm          14.525        7.9080        .92014E-06    .31158E-03
   3  Prefactor     .10000E-03    14.527       -.15833E-06** at limit **
   4  Prefactor     .10000E-03    3.2090        .14161E-05** at limit **
   5  Prefactor     3.4314        3.5556        .53881E-06    .25642E-03
   6  Prefactor     25.091        54.613       -.62822E-06   -.94719E-05
   7  norm          .10000E-03    24.107        .43217E-05** at limit **
   8  Prefactor     .10000E-03    19.086        .59659E-06** at limit **
   9  Prefactor     16.066        25.212        .44396E-06    .74084E-05
  10  Prefactor     .10000E-03    4.3667        .25834E-06** at limit **
  11  norm          .10000E-03    3.3462       -.44797E-07** at limit **
  12  Prefactor     9.2020        7.0952        .46374E-07    .23581E-05
  13  Prefactor     .10000E-03    6.3329       -.40670E-07** at limit **
  14  Normalizat    1.1718        .19287       -.69563E-06   -.19061E-03
  15  Prefactor     1.0464        .81985E-01    .17853E-06   -.38210E-03
                               ERR DEF=  .500    
Final values: 
  norm       = 29.0202
  norm       = 14.5248
  Prefactor  = 0.0001
  Prefactor  = 0.000100004
  Prefactor  = 3.43143
  Prefactor  = 25.0909
  norm       = 0.000100001
  Prefactor  = 0.0001
  Prefactor  = 16.0659
  Prefactor  = 0.0001
  norm       = 0.0001
  Prefactor  = 9.20201
  Prefactor  = 0.0001
  Normalizat = 1.1718
  Prefactor  = 1.04638
 **********
 **   18 **HESSE 
 **********

 FCN=   13071.08     FROM HESSE     STATUS=OK           182 CALLS     1347 TOTAL
                     EDM=   .91E-09    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  norm          29.020        10.554        .74369E-04   -1.4630    
   2  norm          14.525        8.0307        .52545E-03   -1.4946    
   3  Prefactor     .10000E-03    14.550        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   4  Prefactor     .10000E-03    5.0935        .33298E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   5  Prefactor     3.4314        3.5881        .21101E-03   -1.5337    
   6  Prefactor     25.091        54.492        .80051E-04   -1.4706    
   7  norm          .10000E-03    25.134        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   8  Prefactor     .10000E-03    19.328        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   9  Prefactor     16.066        25.278        .99930E-04   -1.4906    
  10  Prefactor     .10000E-03    4.4646        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  11  norm          .10000E-03    3.3618        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  12  Prefactor     9.2020        7.1002        .13211E-03   -1.5101    
  13  Prefactor     .10000E-03    6.3394        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  14  Normalizat    1.1718        .22506        .37635E-03   -.87479    
  15  Prefactor     1.0464        .96315E-01    .17204E-03   -.91199    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 9.10553e-10
Minuit parameter uncertainties:
  1  10.5548
  2  8.03125
  3  4.70366e-05
  4  0.000270966
  5  3.58836
  6  54.6007
  7  0.000358951
  8  9.66921e-05
  9  25.2951
  10  1.03169e-05
  11  1.70962e-06
  12  7.10084
  13  6.15471e-07
  14  0.225248
  15  0.0963305
Done.

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

Extracting fit parameters...

4FGL J2050.4-2627
   Spectrum: LogParabola
313         norm:  1.000e-04  3.590e-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.046e+00  9.633e-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.172e+00  2.252e-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.96e-08 ph cm-2 s-1
Energy Flux Upper Limit: 2.40e-05 MeV cm-2 s-1

Saving results to:
/scratch/kocevski/169033/likelihoodResults_414028801_414288001_4FGL_J2050.4-2627_daily_bin674.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): 102
logL (Free Index) = 13071.0761403
delta logL = -0.000189587564819

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

MINUIT Return Code (Free Index): 102
logL (Free Index) = 13071.0759512
delta logL = -5.32070771442e-07

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'norm      '    .10035E-03   1.0000         .10000E-03   10000.    
     2 'alpha     '    2.5992       1.0000          .0000       5.0000    
     3 'Normalizat'    1.1718       1.0000         .10000E-01   10.000    
     4 'Prefactor '    1.0464       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=   13071.08     FROM MIGRAD    STATUS=CONVERGED    108 CALLS      296 TOTAL
                     EDM=   .24E-11    STRATEGY= 1      ERR MATRIX NOT POS-DEF

  EXT PARAMETER                APPROXIMATE        STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  norm          .10000E-03    341.33        .36285E-02** at limit **
   2  alpha         2.2590        3.8396        .50000       -.16053E-07
   3  Normalizat    1.1718        .17202E-01    .37635E-03   -.14627E-03
   4  Prefactor     1.0464        .75303E-02    .17204E-03   -.23242E-03
                               ERR DEF=  .500    
Final values: 
  norm       = 0.0001
  alpha      = 2.259
  Normalizat = 1.1718
  Prefactor  = 1.04638
 **********
 **   18 **HESSE 
 **********

 FCN=   13071.08     FROM HESSE     STATUS=NOT POSDEF    29 CALLS      325 TOTAL
                     EDM=   .11E-10    STRATEGY= 1      ERR MATRIX NOT POS-DEF

  EXT PARAMETER                APPROXIMATE     INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  norm          .10000E-03    1499.6        .72569E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   2  alpha         2.2590        3.6156        .50000       -.96551E-01
   3  Normalizat    1.1718        .38758E-01    .15054E-04   -.87479    
   4  Prefactor     1.0464        .16967E-01    .34409E-04   -.91199    
                               ERR DEF=  .500    
Minuit fit quality: 2   estimated distance: 1.11934e-11
Minuit parameter uncertainties:
  1  0.000787696
  2  1795.47
  3  0.0387594
  4  0.0169673
shell-init: error retrieving current directory: getcwd: cannot access parent directories: No such file or directory
rmdir: failed to remove `/scratch/kocevski/169033': 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): 102
logL (Free Index) = 13071.0759505
delta logL = 1.91008439288e-07

Extracting fit parameters...

4FGL J2050.4-2627
   Spectrum: LogParabola
313         norm:  1.000e-04  7.877e-04  1.000e-04  1.000e+04 ( 1.000e-13)
314        alpha:  2.259e+00  1.795e+03  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.046e+00  1.697e-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.172e+00  3.876e-02  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/169033/cmap_HighResolution_414028801_414288001_4FGL_J2050.4-2627_daily_bin674.png

Cleaning up...

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

Updating database...

UPDATE lightcurve_data_v2 SET energy_flux_upper_limit='2.40e-05', job_status='DONE', photon_flux_upper_limit='3.96e-08', time_completed='2021-09-25 19:25:16.090196', job_id='169033', GAL2='1.05', fit_tolerance='1e-08', EG2='1.17', EG='1.17', time_epoch_completed='1632623116.09', return_code2='102', ts='-0.00', comment='SUCCESS', return_code='0', GAL='1.05', dlogl='1.91e-07', ts2='-0.00', photon_index_error='0.00', photon_index='2.06' WHERE bin_id='674' AND source_name='4FGL J2050.4-2627' AND cadence='daily';

Database successfully updated.


Analysis Complete.


Sat Sep 25 19:25:16 PDT 2021


------------------------------------------------------------
Sender: LSF System <lsf@bullet0261>
Subject: Job 169033: <4FGL_J2050.4-2627_daily_bin674> in cluster <slac> Done

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

Your job looked like:

------------------------------------------------------------
# LSBATCH: User input
/nfs/farm/g/glast/g/LCRepository/Likelihood/Scripts/LikelihoodAnalysis.py 4FGL_J2050.4-2627_daily_bin674 312.61 -26.4659 414028801 414288001 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 :                                   715.32 sec.
    Max Memory :                                 1081 MB
    Average Memory :                             315.64 MB
    Total Requested Memory :                     -
    Delta Memory :                               -
    Max Swap :                                   -
    Max Processes :                              5
    Max Threads :                                21
    Run time :                                   855 sec.
    Turnaround time :                            891 sec.

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

