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


Performing analysis on: 4FGL_J2050.4-2627_daily_bin1331
RA = 312.61, Dec = -26.4659
tmin = 584323201, tmax = 584582401
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='172076', job_status='RUN', time_executed='2021-09-25 19:22:04.823027', time_epoch_executed='1632622924.82' WHERE source_name='4FGL J2050.4-2627' and cadence='daily' and bin_id='1331'

Database successfully updated.
Done.

Creating custom output directory:
/scratch/kocevski/172076

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

Retrieving the FT1 file...

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

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

Retrieving 46 files...
Done.


Merging files...

Checksum keywords updated successfully.

Merged file saved to:
/scratch/kocevski/172076/ft1_4FGL_J2050.4-2627_daily_bin1331.fits


Retrieving the FT1 file...

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

Retrieving 46 files...
Done.


Merging files...

Merged file saved to:
/scratch/kocevski/172076/ft2_4FGL_J2050.4-2627_daily_bin1331.fits


Selecting the photons:
time -p gtselect infile=/scratch/kocevski/172076/ft1_4FGL_J2050.4-2627_daily_bin1331.fits outfile=/scratch/kocevski/172076/ft1_filteredMKT_4FGL_J2050.4-2627_daily_bin1331.fits ra=312.61 dec=-26.4659 rad=12.0 tmin=584323201.0 tmax=584582401.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.82
user 3.36
sys 0.23

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

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

Generating the livetime cube:
time -p gtltcube evfile="/scratch/kocevski/172076/ft1_filtered_4FGL_J2050.4-2627_daily_bin1331.fits" evtable="EVENTS" scfile=/scratch/kocevski/172076/ft2_4FGL_J2050.4-2627_daily_bin1331.fits sctable="SC_DATA" outfile=/scratch/kocevski/172076/ltcube_584323201_584582401_4FGL_J2050.4-2627_daily_bin1331.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/172076/ft2_4FGL_J2050.4-2627_daily_bin1331.fits
.....................!
real 17.71
user 17.31
sys 0.33

Generating the exposure map:
time -p gtexpmap evfile=/scratch/kocevski/172076/ft1_filtered_4FGL_J2050.4-2627_daily_bin1331.fits evtable="EVENTS" scfile=/scratch/kocevski/172076/ft2_4FGL_J2050.4-2627_daily_bin1331.fits sctable="SC_DATA" expcube=/scratch/kocevski/172076/ltcube_584323201_584582401_4FGL_J2050.4-2627_daily_bin1331.fits outfile=/scratch/kocevski/172076/expmap_584323201_584582401_4FGL_J2050.4-2627_daily_bin1331.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/172076/ltcube_584323201_584582401_4FGL_J2050.4-2627_daily_bin1331.fits
.....................!
real 197.17
user 191.39
sys 5.28

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/172076/ft1_filtered_4FGL_J2050.4-2627_daily_bin1331.fits scfile=/scratch/kocevski/172076/ft2_4FGL_J2050.4-2627_daily_bin1331.fits outfile=/scratch/kocevski/172076/cmap_584323201_584582401_4FGL_J2050.4-2627_daily_bin1331.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.67
user 0.42
sys 0.16

Creating the high resolution counts map:
time -p gtbin evfile=/scratch/kocevski/172076/ft1_filtered_4FGL_J2050.4-2627_daily_bin1331.fits scfile=/scratch/kocevski/172076/ft2_4FGL_J2050.4-2627_daily_bin1331.fits outfile=/scratch/kocevski/172076/cmap_HighResolution_584323201_584582401_4FGL_J2050.4-2627_daily_bin1331.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.64
user 0.46
sys 0.17

Computing the diffuse response:
time -p gtdiffrsp evfile=/scratch/kocevski/172076/ft1_filtered_4FGL_J2050.4-2627_daily_bin1331.fits evtable="EVENTS" scfile=/scratch/kocevski/172076/ft2_4FGL_J2050.4-2627_daily_bin1331.fits sctable="SC_DATA" srcmdl=/scratch/kocevski/172076/Model_4FGL_J2050.4-2627_daily_bin1331.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/172076/ft1_filtered_4FGL_J2050.4-2627_daily_bin1331.fits.....................!
real 33.99
user 32.38
sys 1.31

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

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

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

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'norm      '    31.860       1.0000         .10000E-03   10000.    
     2 'norm      '    .38184E-02   1.0000         .10000E-03   10000.    
     3 'Prefactor '    63.053       1.0000         .10000E-03   10000.    
     4 'Prefactor '    .10000E-03   1.0000         .10000E-03   10000.    
     5 'Prefactor '    .10000E-03   1.0000         .10000E-03   10000.    
     6 'Prefactor '    109.54       1.0000         .10000E-03   10000.    
     7 'norm      '    .10000E-03   1.0000         .10000E-03   10000.    
     8 'Prefactor '    .10001E-03   1.0000         .10000E-03   10000.    
     9 'Prefactor '    .10004E-03   1.0000         .10000E-03   10000.    
    10 'Prefactor '    2.4118       1.0000         .10000E-03   10000.    
    11 'norm      '    .10001E-03   1.0000         .10000E-03   10000.    
    12 'Prefactor '    2.7030       1.0000         .10000E-03   10000.    
    13 'Prefactor '    39.106       1.0000         .10000E-03   10000.    
    14 'Normalizat'    .75110       1.0000         .10000E-01   10.000    
    15 'Prefactor '    1.0217       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=   2916.880     FROM MIGRAD    STATUS=CONVERGED    282 CALLS     1315 TOTAL
                     EDM=   .88E-09  STRATEGY=1  ERROR MATRIX UNCERTAINTY=  1.4%

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  norm          31.860        26.200        .87411E-07   -.38340E-05
   2  norm          .10000E-03    11.250       -.24774E-06** at limit **
   3  Prefactor     63.072        83.166        .14932E-04    .12099E-03
   4  Prefactor     .10000E-03    9.4962       -.16957E-06** at limit **
   5  Prefactor     .10000E-03    3.0623        .38661E-07** at limit **
   6  Prefactor     109.55        119.57        .36989E-05    .20319E-04
   7  norm          .10000E-03    19.663        .11322E-06** at limit **
   8  Prefactor     .10000E-03    23.026       -.31485E-06** at limit **
   9  Prefactor     .10000E-03    37.591        .29913E-06** at limit **
  10  Prefactor     2.4130        7.8632        .28687E-05    .17686E-04
  11  norm          .10000E-03    6.1556        .52212E-08** at limit **
  12  Prefactor     2.7035        4.8116        .14151E-05   -.13900E-02
  13  Prefactor     39.110        30.326        .14395E-05    .40899E-04
  14  Normalizat    .75078        .34325       -.41782E-05   -.68283E-05
  15  Prefactor     1.0218        .15875       -.92301E-07   -.29716E-04
                               ERR DEF=  .500    
Final values: 
  norm       = 31.8598
  norm       = 0.0001
  Prefactor  = 63.0721
  Prefactor  = 0.0001
  Prefactor  = 0.0001
  Prefactor  = 109.549
  norm       = 0.0001
  Prefactor  = 0.0001
  Prefactor  = 0.0001
  Prefactor  = 2.41299
  norm       = 0.0001
  Prefactor  = 2.7035
  Prefactor  = 39.1101
  Normalizat = 0.750785
  Prefactor  = 1.0218
 **********
 **   18 **HESSE 
 **********

 FCN=   2916.880     FROM HESSE     STATUS=OK           178 CALLS     1493 TOTAL
                     EDM=   .64E-08    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  norm          31.860        26.241        .70988E-04   -1.4578    
   2  norm          .10000E-03    113.47        .34930E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   3  Prefactor     63.072        83.700        .50535E-04   -1.4118    
   4  Prefactor     .10000E-03    9.6280        .16257E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   5  Prefactor     .10000E-03    3.0807        .92290E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   6  Prefactor     109.55        119.52        .38429E-04   -1.3611    
   7  norm          .10000E-03    19.669        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   8  Prefactor     .10000E-03    23.139        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   9  Prefactor     .10000E-03    37.725        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  10  Prefactor     2.4130        7.8327        .26069E-03   -1.5397    
  11  norm          .10000E-03    6.1632        .13088E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  12  Prefactor     2.7035        9.3982        .12388E-02   -1.5379    
  13  Prefactor     39.110        30.404        .64095E-04   -1.4456    
  14  Normalizat    .75078        .39340        .38476E-03   -1.0192    
  15  Prefactor     1.0218        .18396        .15784E-03   -.92006    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 6.39653e-09
Minuit parameter uncertainties:
  1  26.2502
  2  0.000433065
  3  83.8565
  4  9.48646e-05
  5  5.99089e-06
  6  119.779
  7  1.26453e-05
  8  5.14156e-06
  9  7.03457e-05
  10  7.83607
  11  2.35784e-06
  12  9.40335
  13  30.4159
  14  0.394896
  15  0.184069
Done.

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

Extracting fit parameters...

4FGL J2050.4-2627
   Spectrum: LogParabola
313         norm:  1.000e-04  1.265e-05  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.022e+00  1.841e-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:  7.508e-01  3.949e-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: 9.21e-08 ph cm-2 s-1
Energy Flux Upper Limit: 5.58e-05 MeV cm-2 s-1

Saving results to:
/scratch/kocevski/172076/likelihoodResults_584323201_584582401_4FGL_J2050.4-2627_daily_bin1331.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) = 2916.88000769
delta logL = -0.000241649129293

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

MINUIT Return Code (Free Index): 102
logL (Free Index) = 2916.8797695
delta logL = -3.45370017385e-06

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'norm      '    .10048E-03   1.0000         .10000E-03   10000.    
     2 'alpha     '    3.2945       1.0000          .0000       5.0000    
     3 'Normalizat'    .75078       1.0000         .10000E-01   10.000    
     4 'Prefactor '    1.0218       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=   2916.880     FROM MIGRAD    STATUS=CONVERGED    106 CALLS      285 TOTAL
                     EDM=   .14E-07    STRATEGY= 1      ERR MATRIX NOT POS-DEF

  EXT PARAMETER                APPROXIMATE        STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  norm          .10001E-03    841.25        .15406E-01** at limit **
   2  alpha         1.7301        4.1308        .17658       -.41204E-08
   3  Normalizat    .75079        .57824E-01    .38477E-03    .21814E-03
   4  Prefactor     1.0218        .27521E-01    .15784E-03    .53767E-03
                               ERR DEF=  .500    
Final values: 
  norm       = 0.000100006
  alpha      = 1.73015
  Normalizat = 0.750786
  Prefactor  = 1.0218
 **********
 **   18 **HESSE 
 **********

 FCN=   2916.880     FROM HESSE     STATUS=OK            23 CALLS      308 TOTAL
                     EDM=   .58E-09    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  norm          .10001E-03    20.676        .23937E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   2  alpha         1.7301        2.6583        .70634E-02   -.31303    
   3  Normalizat    .75079        .38157        .15391E-04   -1.0192    
   4  Prefactor     1.0218        .18213        .31568E-04   -.92006    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 5.77143e-10
Minuit parameter uncertainties:
  1  0.000714314
  2  663.859
  3  0.382934
  4  0.182241
shell-init: error retrieving current directory: getcwd: cannot access parent directories: No such file or directory
rmdir: failed to remove `/scratch/kocevski/172076': 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) = 2916.87976593
delta logL = 1.13786882139e-07

Extracting fit parameters...

4FGL J2050.4-2627
   Spectrum: LogParabola
313         norm:  1.000e-04  7.143e-04  1.000e-04  1.000e+04 ( 1.000e-13)
314        alpha:  1.730e+00  6.639e+02  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.022e+00  1.822e-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:  7.508e-01  3.829e-01  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Free Index): -0.00
Ra Dec: 312.610 -26.466

Creating a high resolution counts map...
INFO: Auto-setting vmin to  0.000e+00 [aplpy.core]
INFO: Auto-setting vmax to  0.000e+00 [aplpy.core]
Saving /scratch/kocevski/172076/cmap_HighResolution_584323201_584582401_4FGL_J2050.4-2627_daily_bin1331.png

Cleaning up...

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

Updating database...

UPDATE lightcurve_data_v2 SET energy_flux_upper_limit='5.58e-05', job_status='DONE', photon_flux_upper_limit='9.21e-08', time_completed='2021-09-25 19:29:10.634964', job_id='172076', GAL2='1.02', fit_tolerance='1e-08', EG2='0.75', EG='0.75', time_epoch_completed='1632623350.64', return_code2='0', ts='-0.00', comment='SUCCESS', return_code='0', GAL='1.02', dlogl='1.14e-07', ts2='-0.00', photon_index_error='0.00', photon_index='2.06' WHERE bin_id='1331' AND source_name='4FGL J2050.4-2627' AND cadence='daily';

Database successfully updated.


Analysis Complete.


Sat Sep 25 19:29:10 PDT 2021


------------------------------------------------------------
Sender: LSF System <lsf@bullet0240>
Subject: Job 172076: <4FGL_J2050.4-2627_daily_bin1331> in cluster <slac> Done

Job <4FGL_J2050.4-2627_daily_bin1331> was submitted from host <rhel6-64f> by user <kocevski> in cluster <slac> at Sat Sep 25 19:20:21 2021
Job was executed on host(s) <bullet0240>, in queue <medium>, as user <kocevski> in cluster <slac> at Sat Sep 25 19:21:24 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:21:24 2021
Terminated at Sat Sep 25 19:29:11 2021
Results reported at Sat Sep 25 19:29:11 2021

Your job looked like:

------------------------------------------------------------
# LSBATCH: User input
/nfs/farm/g/glast/g/LCRepository/Likelihood/Scripts/LikelihoodAnalysis.py 4FGL_J2050.4-2627_daily_bin1331 312.61 -26.4659 584323201 584582401 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 :                                   424.41 sec.
    Max Memory :                                 1094 MB
    Average Memory :                             336.29 MB
    Total Requested Memory :                     -
    Delta Memory :                               -
    Max Swap :                                   -
    Max Processes :                              5
    Max Threads :                                21
    Run time :                                   467 sec.
    Turnaround time :                            530 sec.

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

