/nfs/farm/g/glast/g/LCRepository/bin/miniconda2/envs/fermitools_v1.0.5/lib/python2.7/site-packages/matplotlib/font_manager.py:281: UserWarning: Matplotlib is building the font cache using fc-list. This may take a moment.
  'Matplotlib is building the font cache using fc-list. '
/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 90 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 = 7395
number of fields = 30
RA_SUN column already exists. File will not be modified.
Done.


Performing analysis on: 4FGL_J2050.4-2627_daily_bin1253
RA = 312.61, Dec = -26.4659
tmin = 564105601, tmax = 564364801
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='170936', job_status='RUN', time_executed='2021-09-25 19:21:43.634911', time_epoch_executed='1632622903.63' WHERE source_name='4FGL J2050.4-2627' and cadence='daily' and bin_id='1253'

Database successfully updated.
Done.

Creating custom output directory:
/scratch/kocevski/170936

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

Retrieving the FT1 file...

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

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

Retrieving 47 files...
Done.


Merging files...

Checksum keywords updated successfully.

Merged file saved to:
/scratch/kocevski/170936/ft1_4FGL_J2050.4-2627_daily_bin1253.fits


Retrieving the FT1 file...

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

Retrieving 47 files...
Done.


Merging files...

Merged file saved to:
/scratch/kocevski/170936/ft2_4FGL_J2050.4-2627_daily_bin1253.fits


Selecting the photons:
time -p gtselect infile=/scratch/kocevski/170936/ft1_4FGL_J2050.4-2627_daily_bin1253.fits outfile=/scratch/kocevski/170936/ft1_filteredMKT_4FGL_J2050.4-2627_daily_bin1253.fits ra=312.61 dec=-26.4659 rad=12.0 tmin=564105601.0 tmax=564364801.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.44
user 3.19
sys 0.23

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

Selecting the good time intervals:
time -p gtmktime scfile=/scratch/kocevski/170936/ft2_4FGL_J2050.4-2627_daily_bin1253.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/170936/ft1_filteredMKT_4FGL_J2050.4-2627_daily_bin1253.fits evtable="EVENTS" outfile="/scratch/kocevski/170936/ft1_filtered_4FGL_J2050.4-2627_daily_bin1253.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.65
user 0.37
sys 0.17

Generating the livetime cube:
time -p gtltcube evfile="/scratch/kocevski/170936/ft1_filtered_4FGL_J2050.4-2627_daily_bin1253.fits" evtable="EVENTS" scfile=/scratch/kocevski/170936/ft2_4FGL_J2050.4-2627_daily_bin1253.fits sctable="SC_DATA" outfile=/scratch/kocevski/170936/ltcube_564105601_564364801_4FGL_J2050.4-2627_daily_bin1253.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/170936/ft2_4FGL_J2050.4-2627_daily_bin1253.fits
.....................!
real 20.68
user 20.18
sys 0.38

Generating the exposure map:
time -p gtexpmap evfile=/scratch/kocevski/170936/ft1_filtered_4FGL_J2050.4-2627_daily_bin1253.fits evtable="EVENTS" scfile=/scratch/kocevski/170936/ft2_4FGL_J2050.4-2627_daily_bin1253.fits sctable="SC_DATA" expcube=/scratch/kocevski/170936/ltcube_564105601_564364801_4FGL_J2050.4-2627_daily_bin1253.fits outfile=/scratch/kocevski/170936/expmap_564105601_564364801_4FGL_J2050.4-2627_daily_bin1253.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/170936/ltcube_564105601_564364801_4FGL_J2050.4-2627_daily_bin1253.fits
.....................!
real 192.91
user 187.32
sys 5.06

Generating the xml model:
radLim = 0.001
maxRad = 12
normsOnly = True
freeVariableSources = True
Fixing all sources to their catalog values, except variable sources
Creating file and adding sources from 4FGL
Added 165 point sources and 0 extended sources

Setting source of interest to:
4FGL J2050.4-2627 @ 312.61 -26.4659

Creating the counts map:
time -p gtbin evfile=/scratch/kocevski/170936/ft1_filtered_4FGL_J2050.4-2627_daily_bin1253.fits scfile=/scratch/kocevski/170936/ft2_4FGL_J2050.4-2627_daily_bin1253.fits outfile=/scratch/kocevski/170936/cmap_564105601_564364801_4FGL_J2050.4-2627_daily_bin1253.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.63
user 0.40
sys 0.16

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

Computing the diffuse response:
time -p gtdiffrsp evfile=/scratch/kocevski/170936/ft1_filtered_4FGL_J2050.4-2627_daily_bin1253.fits evtable="EVENTS" scfile=/scratch/kocevski/170936/ft2_4FGL_J2050.4-2627_daily_bin1253.fits sctable="SC_DATA" srcmdl=/scratch/kocevski/170936/Model_4FGL_J2050.4-2627_daily_bin1253.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/170936/ft1_filtered_4FGL_J2050.4-2627_daily_bin1253.fits.....................!
real 60.00
user 58.45
sys 1.39

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

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

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

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'norm      '    .10000E-03   1.0000         .10000E-03   10000.    
     2 'norm      '    .10004E-03   1.0000         .10000E-03   10000.    
     3 'Prefactor '    51.175       1.0000         .10000E-03   10000.    
     4 'Prefactor '    3.5474       1.0000         .10000E-03   10000.    
     5 'Prefactor '    .16570E-03   1.0000         .10000E-03   10000.    
     6 'Prefactor '    .10630E-03   1.0000         .10000E-03   10000.    
     7 'norm      '    12.632       1.0000         .10000E-03   10000.    
     8 'Prefactor '    .10000E-03   1.0000         .10000E-03   10000.    
     9 'Prefactor '    93.158       1.0000         .10000E-03   10000.    
    10 'Prefactor '    .10002E-03   1.0000         .10000E-03   10000.    
    11 'norm      '    1.2665       1.0000         .10000E-03   10000.    
    12 'Prefactor '    1.0368       1.0000         .10000E-03   10000.    
    13 'Prefactor '    20.568       1.0000         .10000E-03   10000.    
    14 'Normalizat'    1.3534       1.0000         .10000E-01   10.000    
    15 'Prefactor '    .97829       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=   6514.097     FROM MIGRAD    STATUS=CONVERGED    286 CALLS     1353 TOTAL
                     EDM=   .89E-09  STRATEGY=1  ERROR MATRIX UNCERTAINTY=  1.1%

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  norm          .10000E-03    10.566        .84932E-07** at limit **
   2  norm          .10000E-03    8.4566        .51455E-07** at limit **
   3  Prefactor     51.159        65.411       -.13301E-04   -.12340E-03
   4  Prefactor     3.5466        4.3970        .12520E-05   -.19145E-02
   5  Prefactor     .10000E-03    2.2638       -.24492E-06** at limit **
   6  Prefactor     .10000E-03    177.46       -.31014E-07** at limit **
   7  norm          12.633        14.344       -.12341E-05   -.54779E-04
   8  Prefactor     .10000E-03    11.714       -.14749E-07** at limit **
   9  Prefactor     93.153        54.276       -.26975E-05   -.57136E-04
  10  Prefactor     .10000E-03    3.3849       -.84788E-07** at limit **
  11  norm          1.2625        5.6629       -.89532E-07   -.28438E-03
  12  Prefactor     1.0365        11.365       -.81415E-06   -.32115E-03
  13  Prefactor     20.570        18.534       -.23675E-05   -.10278E-03
  14  Normalizat    1.3536        .26517        .18143E-05    .48070E-04
  15  Prefactor     .97826        .11596        .11792E-06    .17758E-03
                               ERR DEF=  .500    
Final values: 
  norm       = 0.0001
  norm       = 0.0001
  Prefactor  = 51.1594
  Prefactor  = 3.54658
  Prefactor  = 0.0001
  Prefactor  = 0.0001
  norm       = 12.6329
  Prefactor  = 0.0001
  Prefactor  = 93.1528
  Prefactor  = 0.0001
  norm       = 1.26251
  Prefactor  = 1.03648
  Prefactor  = 20.5699
  Normalizat = 1.35356
  Prefactor  = 0.978257
 **********
 **   18 **HESSE 
 **********

 FCN=   6514.097     FROM HESSE     STATUS=OK           180 CALLS     1533 TOTAL
                     EDM=   .74E-08    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  norm          .10000E-03    10.632        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   2  norm          .10000E-03    8.4904        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   3  Prefactor     51.159        65.476        .56062E-04   -1.4276    
   4  Prefactor     3.5466        7.9918        .10730E-02   -1.5331    
   5  Prefactor     .10000E-03    6.7797        .23175E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   6  Prefactor     .10000E-03    178.03        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   7  norm          12.633        14.344        .11270E-03   -1.4997    
   8  Prefactor     .10000E-03    11.737        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   9  Prefactor     93.153        54.387        .41638E-04   -1.3775    
  10  Prefactor     .10000E-03    3.4082        .14499E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  11  norm          1.2625        5.6836        .37855E-03   -1.5483    
  12  Prefactor     1.0365        12.459        .49424E-03   -1.5504    
  13  Prefactor     20.570        18.551        .88316E-04   -1.4801    
  14  Normalizat    1.3536        .31461        .35462E-03   -.81982    
  15  Prefactor     .97826        .13931        .18191E-03   -.93458    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 7.37169e-09
Minuit parameter uncertainties:
  1  6.29225e-06
  2  1.56621e-05
  3  65.5685
  4  7.99419
  5  7.94601e-05
  6  9.37504e-05
  7  14.3475
  8  2.35353e-06
  9  54.4161
  10  5.90015e-06
  11  5.35809
  12  7.18867
  13  18.5565
  14  0.315061
  15  0.139357
Done.

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

Extracting fit parameters...

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

EG_v02
   Spectrum: FileFunction
545   Normalization:  1.354e+00  3.151e-01  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Fixed Index): 2.42
Ra Dec: 312.610 -26.466
Photon Index (Fixed Index): 2.06 +/- 0.00
Photon Flux (Fixed Index): 1.26e-08 +/- 1.43e-08
Energy Flux (Fixed Index): 7.63e-06 +/- 8.66e-06

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

Saving results to:
/scratch/kocevski/170936/likelihoodResults_564105601_564364801_4FGL_J2050.4-2627_daily_bin1253.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) = 6513.30846494
delta logL = 0.78869755292

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

MINUIT Return Code (Free Index): 0
logL (Free Index) = 6513.28689863
delta logL = 0.810263868643

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'norm      '    10.095       1.0000         .10000E-03   10000.    
     2 'alpha     '    .85157       1.0000          .0000       5.0000    
     3 'Normalizat'    1.3613       1.0000         .10000E-01   10.000    
     4 'Prefactor '    .97670       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=   6513.287     FROM MIGRAD    STATUS=CONVERGED     61 CALLS      220 TOTAL
                     EDM=   .76E-10    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  norm          10.072        10.725        .31528E-02   -.32381E-04
   2  alpha         .85067        .66578        .50000       -.23336E-04
   3  Normalizat    1.3612        .25879        .79916E-01    .79305E-05
   4  Prefactor     .97679        .11577        .45975E-01   -.53622E-05
                               ERR DEF=  .500    
Final values: 
  norm       = 10.0718
  alpha      = 0.850667
  Normalizat = 1.36116
  Prefactor  = 0.976792
 **********
 **   18 **HESSE 
 **********

 FCN=   6513.287     FROM HESSE     STATUS=OK            33 CALLS      253 TOTAL
                     EDM=   .16E-08    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  norm          10.072        12.984        .12611E-03   -1.5073    
   2  alpha         .85067        .77259        .28243E-01   -.72046    
   3  Normalizat    1.3612        .30987        .35374E-03   -.81759    
   4  Prefactor     .97679        .13885        .18199E-03   -.93507    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 1.60994e-09
Minuit parameter uncertainties:
  1  12.9881
  2  0.796214
  3  0.310294
  4  0.138905
shell-init: error retrieving current directory: getcwd: cannot access parent directories: No such file or directory
rmdir: failed to remove `/scratch/kocevski/170936': 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) = 6513.28689682
delta logL = 0.810265675173

Extracting fit parameters...

4FGL J2050.4-2627
   Spectrum: LogParabola
313         norm:  1.007e+01  1.299e+01  1.000e-04  1.000e+04 ( 1.000e-13)
314        alpha:  8.507e-01  7.962e-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.768e-01  1.389e-01  0.000e+00  1.000e+01 ( 1.000e+00)
547        Index:  0.000e+00  0.000e+00 -1.000e+00  1.000e+00 ( 1.000e+00) fixed
548        Scale:  1.000e+02  0.000e+00  5.000e+01  2.000e+02 ( 1.000e+00) fixed

EG_v02
   Spectrum: FileFunction
545   Normalization:  1.361e+00  3.103e-01  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Free Index): 4.04
Ra Dec: 312.610 -26.466
Photon Index (Free Index): 0.85 +/- 0.80
Photon Flux (Free Index): 5.19e-09 +/- 5.72e-09
Energy Flux (Free Index): 3.18e-05 +/- 5.26e-05

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/170936/cmap_HighResolution_564105601_564364801_4FGL_J2050.4-2627_daily_bin1253.png

Cleaning up...

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

Updating database...

UPDATE lightcurve_data_v2 SET energy_flux_upper_limit='3.89e-05', comment='SUCCESS', photon_flux='1.26e-08', energy_flux2='3.18e-05', photon_flux_error='1.43e-08', dlogl='8.10e-01', energy_flux='7.63e-06', photon_flux2='5.19e-09', job_status='DONE', time_completed='2021-09-25 19:30:40.515609', photon_index_error2='0.80', photon_index2='0.85', ts='2.42', fit_tolerance='1e-08', GAL='0.98', photon_index_error='0.00', photon_flux_upper_limit='6.41e-08', energy_flux_error2='5.26e-05', EG='1.35', time_epoch_completed='1632623440.52', return_code='0', job_id='170936', GAL2='0.98', EG2='1.36', return_code2='0', energy_flux_error='8.66e-06', photon_flux_error2='5.72e-09', ts2='4.04', photon_index='2.06' WHERE bin_id='1253' AND source_name='4FGL J2050.4-2627' AND cadence='daily';

Database successfully updated.


Analysis Complete.


Sat Sep 25 19:30:40 PDT 2021


------------------------------------------------------------
Sender: LSF System <lsf@bullet0047>
Subject: Job 170936: <4FGL_J2050.4-2627_daily_bin1253> in cluster <slac> Done

Job <4FGL_J2050.4-2627_daily_bin1253> was submitted from host <rhel6-64k> by user <kocevski> in cluster <slac> at Sat Sep 25 19:16:00 2021
Job was executed on host(s) <bullet0047>, in queue <medium>, as user <kocevski> in cluster <slac> at Sat Sep 25 19:20: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:20:01 2021
Terminated at Sat Sep 25 19:30:42 2021
Results reported at Sat Sep 25 19:30:42 2021

Your job looked like:

------------------------------------------------------------
# LSBATCH: User input
/nfs/farm/g/glast/g/LCRepository/Likelihood/Scripts/LikelihoodAnalysis.py 4FGL_J2050.4-2627_daily_bin1253 312.61 -26.4659 564105601 564364801 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 :                                   534.17 sec.
    Max Memory :                                 1256 MB
    Average Memory :                             290.23 MB
    Total Requested Memory :                     -
    Delta Memory :                               -
    Max Swap :                                   -
    Max Processes :                              5
    Max Threads :                                21
    Run time :                                   639 sec.
    Turnaround time :                            882 sec.

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

