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


Performing analysis on: 4FGL_J2050.4-2627_daily_bin246
RA = 312.61, Dec = -26.4659
tmin = 303091201, tmax = 303350401
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='166328', job_status='RUN', time_executed='2021-09-25 19:01:40.007501', time_epoch_executed='1632621700.01' WHERE source_name='4FGL J2050.4-2627' and cadence='daily' and bin_id='246'

Database successfully updated.
Done.

Creating custom output directory:
/scratch/kocevski/166328

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

Retrieving the FT1 file...

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

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

Retrieving 46 files...
Done.


Merging files...

Checksum keywords updated successfully.

Merged file saved to:
/scratch/kocevski/166328/ft1_4FGL_J2050.4-2627_daily_bin246.fits


Retrieving the FT1 file...

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

Retrieving 46 files...
Done.


Merging files...

Merged file saved to:
/scratch/kocevski/166328/ft2_4FGL_J2050.4-2627_daily_bin246.fits


Selecting the photons:
time -p gtselect infile=/scratch/kocevski/166328/ft1_4FGL_J2050.4-2627_daily_bin246.fits outfile=/scratch/kocevski/166328/ft1_filteredMKT_4FGL_J2050.4-2627_daily_bin246.fits ra=312.61 dec=-26.4659 rad=12.0 tmin=303091201.0 tmax=303350401.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.60
user 3.27
sys 0.22

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

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

Generating the livetime cube:
time -p gtltcube evfile="/scratch/kocevski/166328/ft1_filtered_4FGL_J2050.4-2627_daily_bin246.fits" evtable="EVENTS" scfile=/scratch/kocevski/166328/ft2_4FGL_J2050.4-2627_daily_bin246.fits sctable="SC_DATA" outfile=/scratch/kocevski/166328/ltcube_303091201_303350401_4FGL_J2050.4-2627_daily_bin246.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/166328/ft2_4FGL_J2050.4-2627_daily_bin246.fits
.....................!
real 13.48
user 12.80
sys 0.56

Generating the exposure map:
time -p gtexpmap evfile=/scratch/kocevski/166328/ft1_filtered_4FGL_J2050.4-2627_daily_bin246.fits evtable="EVENTS" scfile=/scratch/kocevski/166328/ft2_4FGL_J2050.4-2627_daily_bin246.fits sctable="SC_DATA" expcube=/scratch/kocevski/166328/ltcube_303091201_303350401_4FGL_J2050.4-2627_daily_bin246.fits outfile=/scratch/kocevski/166328/expmap_303091201_303350401_4FGL_J2050.4-2627_daily_bin246.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/166328/ltcube_303091201_303350401_4FGL_J2050.4-2627_daily_bin246.fits
.....................!
real 193.30
user 186.88
sys 5.12

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/166328/ft1_filtered_4FGL_J2050.4-2627_daily_bin246.fits scfile=/scratch/kocevski/166328/ft2_4FGL_J2050.4-2627_daily_bin246.fits outfile=/scratch/kocevski/166328/cmap_303091201_303350401_4FGL_J2050.4-2627_daily_bin246.fits algorithm="CMAP" ebinalg="LOG" emin=30.0 emax=200000.0 ebinfile=NONE tbinalg="LIN" tbinfile=NONE nxpix=160 nypix=160 binsz=0.25 coordsys="CEL" xref=312.61 yref=-26.4659 axisrot=0.0 rafield="RA" decfield="DEC" proj="AIT" hpx_ordering_scheme="RING" hpx_order=3 hpx_ebin=yes hpx_region="" evtable="EVENTS" sctable="SC_DATA" efield="ENERGY" tfield="TIME" chatter=2 clobber=yes debug=no gui=no mode="ql"

WARNING: version mismatch between CFITSIO header (v3.43) and linked library (v3.41).

This is gtbin version HEAD
real 0.55
user 0.38
sys 0.15

Creating the high resolution counts map:
time -p gtbin evfile=/scratch/kocevski/166328/ft1_filtered_4FGL_J2050.4-2627_daily_bin246.fits scfile=/scratch/kocevski/166328/ft2_4FGL_J2050.4-2627_daily_bin246.fits outfile=/scratch/kocevski/166328/cmap_HighResolution_303091201_303350401_4FGL_J2050.4-2627_daily_bin246.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.58
user 0.38
sys 0.17

Computing the diffuse response:
time -p gtdiffrsp evfile=/scratch/kocevski/166328/ft1_filtered_4FGL_J2050.4-2627_daily_bin246.fits evtable="EVENTS" scfile=/scratch/kocevski/166328/ft2_4FGL_J2050.4-2627_daily_bin246.fits sctable="SC_DATA" srcmdl=/scratch/kocevski/166328/Model_4FGL_J2050.4-2627_daily_bin246.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/166328/ft1_filtered_4FGL_J2050.4-2627_daily_bin246.fits.....................!
real 52.85
user 51.27
sys 1.23

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

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

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

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'norm      '    24.770       1.0000         .10000E-03   10000.    
     2 'norm      '    1.7249       1.0000         .10000E-03   10000.    
     3 'Prefactor '    93.138       1.0000         .10000E-03   10000.    
     4 'Prefactor '    .10778E-03   1.0000         .10000E-03   10000.    
     5 'Prefactor '    .33546       1.0000         .10000E-03   10000.    
     6 'Prefactor '    .10000E-03   1.0000         .10000E-03   10000.    
     7 'norm      '    6.3825       1.0000         .10000E-03   10000.    
     8 'Prefactor '    14.006       1.0000         .10000E-03   10000.    
     9 'Prefactor '    .10001E-03   1.0000         .10000E-03   10000.    
    10 'Prefactor '    .10006E-03   1.0000         .10000E-03   10000.    
    11 'norm      '    5.3157       1.0000         .10000E-03   10000.    
    12 'Prefactor '    5.1788       1.0000         .10000E-03   10000.    
    13 'Prefactor '    15.807       1.0000         .10000E-03   10000.    
    14 'Normalizat'    .80855       1.0000         .10000E-01   10.000    
    15 'Prefactor '    1.0523       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=   5871.394     FROM MIGRAD    STATUS=CONVERGED    261 CALLS     1358 TOTAL
                     EDM=   .11E-08  STRATEGY=1  ERROR MATRIX UNCERTAINTY=   .5%

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  norm          24.770        18.685       -.11571E-05   -.99101E-05
   2  norm          1.7247        18.687       -.78957E-05   -.30435E-03
   3  Prefactor     93.179        76.154        .40937E-04    .11562E-03
   4  Prefactor     .10001E-03    13.979       -.75810E-05** at limit **
   5  Prefactor     .33181        3.3242        .19449E-06   -.44616E-03
   6  Prefactor     .10000E-03    35.774        .20515E-06** at limit **
   7  norm          6.3850        23.717        .64664E-05   -.41377E-05
   8  Prefactor     13.990        26.904       -.25358E-04    .27191E-05
   9  Prefactor     .10000E-03    15.233        .38266E-05** at limit **
  10  Prefactor     .10000E-03    13.202        .21845E-05** at limit **
  11  norm          5.3157        6.5304       -.10588E-05    .71218E-05
  12  Prefactor     5.1786        6.2927       -.25531E-05   -.96232E-04
  13  Prefactor     15.807        15.253       -.21277E-06   -.49825E-06
  14  Normalizat    .80864        .27541        .12265E-05    .20307E-04
  15  Prefactor     1.0523        .11717       -.72029E-06    .28999E-03
                               ERR DEF=  .500    
Final values: 
  norm       = 24.7699
  norm       = 1.72469
  Prefactor  = 93.1791
  Prefactor  = 0.000100013
  Prefactor  = 0.331815
  Prefactor  = 0.0001
  norm       = 6.38504
  Prefactor  = 13.9903
  Prefactor  = 0.0001
  Prefactor  = 0.000100001
  norm       = 5.31569
  Prefactor  = 5.17864
  Prefactor  = 15.8072
  Normalizat = 0.808636
  Prefactor  = 1.0523
 **********
 **   18 **HESSE 
 **********

 FCN=   5871.394     FROM HESSE     STATUS=OK           188 CALLS     1546 TOTAL
                     EDM=   .42E-08    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  norm          24.770        18.732        .80487E-04   -1.4712    
   2  norm          1.7247        18.924        .31976E-03   -1.5445    
   3  Prefactor     93.179        76.405        .20821E-03   -1.3774    
   4  Prefactor     .10001E-03    14.565        .36285E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   5  Prefactor     .33181        33.185        .25728E-02   -1.5593    
   6  Prefactor     .10000E-03    35.782        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   7  norm          6.3850        23.709        .15887E-03   -1.5203    
   8  Prefactor     13.990        26.924        .10703E-03   -1.4960    
   9  Prefactor     .10000E-03    15.251        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  10  Prefactor     .10000E-03    13.637        .36285E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  11  norm          5.3157        6.5284        .17432E-03   -1.5247    
  12  Prefactor     5.1786        6.2920        .17665E-03   -1.5253    
  13  Prefactor     15.807        15.254        .10074E-03   -1.4913    
  14  Normalizat    .80864        .31614        .41217E-03   -.99749    
  15  Prefactor     1.0523        .13546        .16157E-03   -.91006    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 4.21681e-09
Minuit parameter uncertainties:
  1  18.7368
  2  11.4302
  3  76.4861
  4  0.000869158
  5  6.63943
  6  1.63566e-05
  7  23.7437
  8  26.9477
  9  3.1122e-05
  10  0.000189856
  11  6.52925
  12  6.2928
  13  15.258
  14  0.316863
  15  0.135501
Done.

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

Extracting fit parameters...

4FGL J2050.4-2627
   Spectrum: LogParabola
313         norm:  6.385e+00  2.374e+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:  1.052e+00  1.355e-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:  8.086e-01  3.169e-01  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Fixed Index): 0.08
Ra Dec: 312.610 -26.466
Photon Flux Upper Limit: 7.51e-08 ph cm-2 s-1
Energy Flux Upper Limit: 4.56e-05 MeV cm-2 s-1

Saving results to:
/scratch/kocevski/166328/likelihoodResults_303091201_303350401_4FGL_J2050.4-2627_daily_bin246.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) = 5871.3287427
delta logL = 0.0650569981026

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

MINUIT Return Code (Free Index): 0
logL (Free Index) = 5871.32839072
delta logL = 0.0654089812861

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'norm      '    6.3850       1.0000         .10000E-03   10000.    
     2 'alpha     '    1.1350       1.0000          .0000       5.0000    
     3 'Normalizat'    .81355       1.0000         .10000E-01   10.000    
     4 'Prefactor '    1.0510       1.0000          .0000       10.000    
 **********
 **   15 **SET ERR    .5000    
 **********
 **********
 **   16 **SET GRAD    1.000    
 **********
 **********
 **   17 **MINIMIZE    .5490E+05   .2000E-04
 **********

 MIGRAD MINIMIZATION HAS CONVERGED.

 MIGRAD WILL VERIFY CONVERGENCE AND ERROR MATRIX.

 FCN=   5871.328     FROM MIGRAD    STATUS=CONVERGED     57 CALLS      214 TOTAL
                     EDM=   .11E-08    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  norm          6.5853        16.679        .39711E-02    .53802E-04
   2  alpha         1.1449        1.2642        .50000       -.51190E-04
   3  Normalizat    .81359        .26048        .92779E-01    .22574E-04
   4  Prefactor     1.0509        .11583        .39852E-01   -.92501E-05
                               ERR DEF=  .500    
Final values: 
  norm       = 6.58533
  alpha      = 1.14486
  Normalizat = 0.813589
  Prefactor  = 1.05093
 **********
 **   18 **HESSE 
 **********

 FCN=   5871.328     FROM HESSE     STATUS=OK            33 CALLS      247 TOTAL
                     EDM=   .78E-10    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  norm          6.5853        18.415        .15884E-03   -1.5195    
   2  alpha         1.1449        1.4588        .48192E-01   -.57288    
   3  Normalizat    .81359        .29904        .41102E-03   -.99567    
   4  Prefactor     1.0509        .13349        .16164E-03   -.91051    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 7.80238e-11
Minuit parameter uncertainties:
  1  18.4305
  2  1.61251
  3  0.299652
  4  0.133532
shell-init: error retrieving current directory: getcwd: cannot access parent directories: No such file or directory
rmdir: failed to remove `/scratch/kocevski/166328': 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) = 5871.32833826
delta logL = 0.0654614374471

Extracting fit parameters...

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

GAL_V02
   Spectrum: PowerLaw
546    Prefactor:  1.051e+00  1.335e-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:  8.136e-01  2.997e-01  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Free Index): 0.08
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/166328/cmap_HighResolution_303091201_303350401_4FGL_J2050.4-2627_daily_bin246.png

Cleaning up...

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

Updating database...

UPDATE lightcurve_data_v2 SET energy_flux_upper_limit='4.56e-05', job_status='DONE', photon_flux_upper_limit='7.51e-08', time_completed='2021-09-25 19:09:55.496112', job_id='166328', GAL2='1.05', fit_tolerance='1e-08', EG2='0.81', EG='0.81', time_epoch_completed='1632622195.5', return_code2='0', ts='0.08', comment='SUCCESS', return_code='0', GAL='1.05', dlogl='6.55e-02', ts2='0.21', photon_index_error='0.00', photon_index='2.06' WHERE bin_id='246' AND source_name='4FGL J2050.4-2627' AND cadence='daily';

Database successfully updated.


Analysis Complete.


Sat Sep 25 19:09:55 PDT 2021


------------------------------------------------------------
Sender: LSF System <lsf@bullet0159>
Subject: Job 166328: <4FGL_J2050.4-2627_daily_bin246> in cluster <slac> Done

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

Your job looked like:

------------------------------------------------------------
# LSBATCH: User input
/nfs/farm/g/glast/g/LCRepository/Likelihood/Scripts/LikelihoodAnalysis.py 4FGL_J2050.4-2627_daily_bin246 312.61 -26.4659 303091201 303350401 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 :                                   489.04 sec.
    Max Memory :                                 1094 MB
    Average Memory :                             330.00 MB
    Total Requested Memory :                     -
    Delta Memory :                               -
    Max Swap :                                   -
    Max Processes :                              5
    Max Threads :                                21
    Run time :                                   516 sec.
    Turnaround time :                            545 sec.

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

