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


Performing analysis on: 4FGL_J2050.4-2627_daily_bin1622
RA = 312.61, Dec = -26.4659
tmin = 659750401, tmax = 660009601
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='464827', job_status='RUN', time_executed='2021-12-08 07:18:32.961170', time_epoch_executed='1638976712.96' WHERE source_name='4FGL J2050.4-2627' and cadence='daily' and bin_id='1622'

Database successfully updated.
Done.

Creating custom output directory:
/scratch/kocevski/464827

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

Retrieving the FT1 file...

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

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

Retrieving 46 files...
Done.


Merging files...

Checksum keywords updated successfully.

Merged file saved to:
/scratch/kocevski/464827/ft1_4FGL_J2050.4-2627_daily_bin1622.fits


Retrieving the FT1 file...

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

Retrieving 46 files...
Done.


Merging files...

Merged file saved to:
/scratch/kocevski/464827/ft2_4FGL_J2050.4-2627_daily_bin1622.fits


Selecting the photons:
time -p gtselect infile=/scratch/kocevski/464827/ft1_4FGL_J2050.4-2627_daily_bin1622.fits outfile=/scratch/kocevski/464827/ft1_filteredMKT_4FGL_J2050.4-2627_daily_bin1622.fits ra=312.61 dec=-26.4659 rad=12.0 tmin=659750401.0 tmax=660009601.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 2.01
user 1.80
sys 0.16

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

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

Generating the livetime cube:
time -p gtltcube evfile="/scratch/kocevski/464827/ft1_filtered_4FGL_J2050.4-2627_daily_bin1622.fits" evtable="EVENTS" scfile=/scratch/kocevski/464827/ft2_4FGL_J2050.4-2627_daily_bin1622.fits sctable="SC_DATA" outfile=/scratch/kocevski/464827/ltcube_659750401_660009601_4FGL_J2050.4-2627_daily_bin1622.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/464827/ft2_4FGL_J2050.4-2627_daily_bin1622.fits
.....................!
real 11.72
user 11.38
sys 0.29

Generating the exposure map:
time -p gtexpmap evfile=/scratch/kocevski/464827/ft1_filtered_4FGL_J2050.4-2627_daily_bin1622.fits evtable="EVENTS" scfile=/scratch/kocevski/464827/ft2_4FGL_J2050.4-2627_daily_bin1622.fits sctable="SC_DATA" expcube=/scratch/kocevski/464827/ltcube_659750401_660009601_4FGL_J2050.4-2627_daily_bin1622.fits outfile=/scratch/kocevski/464827/expmap_659750401_660009601_4FGL_J2050.4-2627_daily_bin1622.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/464827/ltcube_659750401_660009601_4FGL_J2050.4-2627_daily_bin1622.fits
.....................!
real 156.79
user 152.92
sys 3.46

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/464827/ft1_filtered_4FGL_J2050.4-2627_daily_bin1622.fits scfile=/scratch/kocevski/464827/ft2_4FGL_J2050.4-2627_daily_bin1622.fits outfile=/scratch/kocevski/464827/cmap_659750401_660009601_4FGL_J2050.4-2627_daily_bin1622.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.47
user 0.32
sys 0.13

Creating the high resolution counts map:
time -p gtbin evfile=/scratch/kocevski/464827/ft1_filtered_4FGL_J2050.4-2627_daily_bin1622.fits scfile=/scratch/kocevski/464827/ft2_4FGL_J2050.4-2627_daily_bin1622.fits outfile=/scratch/kocevski/464827/cmap_HighResolution_659750401_660009601_4FGL_J2050.4-2627_daily_bin1622.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.48
user 0.33
sys 0.14

Computing the diffuse response:
time -p gtdiffrsp evfile=/scratch/kocevski/464827/ft1_filtered_4FGL_J2050.4-2627_daily_bin1622.fits evtable="EVENTS" scfile=/scratch/kocevski/464827/ft2_4FGL_J2050.4-2627_daily_bin1622.fits sctable="SC_DATA" srcmdl=/scratch/kocevski/464827/Model_4FGL_J2050.4-2627_daily_bin1622.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/464827/ft1_filtered_4FGL_J2050.4-2627_daily_bin1622.fits.....................!
real 61.23
user 60.02
sys 1.09

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

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

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

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'norm      '    8.2066       1.0000         .10000E-03   10000.    
     2 'norm      '    .10048E-03   1.0000         .10000E-03   10000.    
     3 'Prefactor '    59.183       1.0000         .10000E-03   10000.    
     4 'Prefactor '    5.5146       1.0000         .10000E-03   10000.    
     5 'Prefactor '    .10001E-03   1.0000         .10000E-03   10000.    
     6 'Prefactor '    .10025E-03   1.0000         .10000E-03   10000.    
     7 'norm      '    31.403       1.0000         .10000E-03   10000.    
     8 'Prefactor '    .10336E-03   1.0000         .10000E-03   10000.    
     9 'Prefactor '    .33644E-03   1.0000         .10000E-03   10000.    
    10 'Prefactor '    .10000E-03   1.0000         .10000E-03   10000.    
    11 'norm      '    5.8064       1.0000         .10000E-03   10000.    
    12 'Prefactor '    .14276E-03   1.0000         .10000E-03   10000.    
    13 'Prefactor '    18.247       1.0000         .10000E-03   10000.    
    14 'Normalizat'    1.3612       1.0000         .10000E-01   10.000    
    15 'Prefactor '    .99252       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=   8824.300     FROM MIGRAD    STATUS=CONVERGED    271 CALLS     1366 TOTAL
                     EDM=   .23E-09  STRATEGY=1  ERROR MATRIX UNCERTAINTY=   .1%

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  norm          8.2127        13.245       -.14331E-06   -.24502E-04
   2  norm          .10000E-03    10.299        .36138E-06** at limit **
   3  Prefactor     59.100        71.786       -.96920E-04   -.67546E-04
   4  Prefactor     5.5153        9.4910        .15856E-04    .24301E-03
   5  Prefactor     .10000E-03    1.3614       -.94106E-07** at limit **
   6  Prefactor     .10000E-03    48.055        .44567E-05** at limit **
   7  norm          31.409        26.277        .33789E-05   -.18511E-04
   8  Prefactor     .10000E-03    33.061       -.25062E-05** at limit **
   9  Prefactor     .10000E-03    74.723       -.74768E-05** at limit **
  10  Prefactor     .10000E-03    2.2244       -.10304E-06** at limit **
  11  norm          5.8071        5.7921       -.42454E-06    .96883E-04
  12  Prefactor     .10000E-03    11.574       -.67165E-07** at limit **
  13  Prefactor     18.248        17.294       -.50110E-06    .27181E-05
  14  Normalizat    1.3613        .21857        .20402E-05    .65756E-04
  15  Prefactor     .99237        .98342E-01    .22946E-05   -.23594E-03
                               ERR DEF=  .500    
Final values: 
  norm       = 8.21272
  norm       = 0.000100001
  Prefactor  = 59.0998
  Prefactor  = 5.51528
  Prefactor  = 0.0001
  Prefactor  = 0.0001
  norm       = 31.4087
  Prefactor  = 0.000100001
  Prefactor  = 0.000100001
  Prefactor  = 0.0001
  norm       = 5.80705
  Prefactor  = 0.0001
  Prefactor  = 18.2482
  Normalizat = 1.36126
  Prefactor  = 0.992373
 **********
 **   18 **HESSE 
 **********

 FCN=   8824.300     FROM HESSE     STATUS=OK           182 CALLS     1548 TOTAL
                     EDM=   .49E-09    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  norm          8.2127        13.278        .13995E-03   -1.5135    
   2  norm          .10000E-03    10.477        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   3  Prefactor     59.100        71.792        .26076E-03   -1.4169    
   4  Prefactor     5.5153        9.4558        .17109E-03   -1.5238    
   5  Prefactor     .10000E-03    1.3812        .10701E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   6  Prefactor     .10000E-03    48.088        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   7  norm          31.409        26.269        .71501E-04   -1.4587    
   8  Prefactor     .10000E-03    33.350        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   9  Prefactor     .10000E-03    76.155        .21341E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  10  Prefactor     .10000E-03    2.2378        .13680E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  11  norm          5.8071        5.7950        .16667E-03   -1.5226    
  12  Prefactor     .10000E-03    12.061        .36285E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  13  Prefactor     18.248        17.312        .93761E-04   -1.4853    
  14  Normalizat    1.3613        .25791        .34839E-03   -.81756    
  15  Prefactor     .99237        .11649        .17989E-03   -.92984    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 4.9352e-10
Minuit parameter uncertainties:
  1  13.2827
  2  0.000150057
  3  71.8974
  4  9.45833
  5  8.8539e-06
  6  0.000202862
  7  26.2791
  8  0.000358119
  9  0.000579408
  10  1.37843e-05
  11  5.79551
  12  0.000106122
  13  17.3166
  14  0.258158
  15  0.116518
Done.

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

Extracting fit parameters...

4FGL J2050.4-2627
   Spectrum: LogParabola
313         norm:  3.141e+01  2.628e+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.924e-01  1.165e-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  2.582e-01  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Fixed Index): 2.67
Ra Dec: 312.610 -26.466
Photon Index (Fixed Index): 2.06 +/- 0.00
Photon Flux (Fixed Index): 3.13e-08 +/- 2.62e-08
Energy Flux (Fixed Index): 1.90e-05 +/- 1.59e-05

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

Saving results to:
/scratch/kocevski/464827/likelihoodResults_659750401_660009601_4FGL_J2050.4-2627_daily_bin1622.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) = 8819.79158986
delta logL = 4.50791424407

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

MINUIT Return Code (Free Index): 0
logL (Free Index) = 8819.78025665
delta logL = 4.51924745948

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'norm      '    .77595       1.0000         .10000E-03   10000.    
     2 'alpha     '    5.0000       1.0000          .0000       5.0000    
     3 'Normalizat'    1.0894       1.0000         .10000E-01   10.000    
     4 'Prefactor '    1.0696       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=   8819.780     FROM MIGRAD    STATUS=CONVERGED     84 CALLS      367 TOTAL
                     EDM=   .19E-09    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  norm          .77613        .28864        .28583E-04   -.85276E-03
   2  alpha         5.0000        .45473        .28295E-01** at limit **
   3  Normalizat    1.0893        .26312        .38139E-03    .23370E-04
   4  Prefactor     1.0696        .11659        .17370E-03   -.18881E-03
                               ERR DEF=  .500    
Final values: 
  norm       = 0.776127
  alpha      = 5
  Normalizat = 1.08927
  Prefactor  = 1.06962
 **********
 **   18 **HESSE 
 **********

 FCN=   8819.780     FROM HESSE     STATUS=OK            23 CALLS      390 TOTAL
                     EDM=   .19E-09    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  norm          .77613        .28659        .11433E-05   -1.5532    
   2  alpha         5.0000        .45486        .56591E-02    1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   3  Normalizat    1.0893        .26331        .15255E-04   -.90097    
   4  Prefactor     1.0696        .11667        .34740E-04   -.90444    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 1.90108e-10
Minuit parameter uncertainties:
  1  0.286595
  2  9.19947e-06
  3  0.263627
  4  0.116701
shell-init: error retrieving current directory: getcwd: cannot access parent directories: No such file or directory
rmdir: failed to remove `/scratch/kocevski/464827': 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) = 8819.7802564
delta logL = 4.51924770345

Extracting fit parameters...

4FGL J2050.4-2627
   Spectrum: LogParabola
313         norm:  7.761e-01  2.866e-01  1.000e-04  1.000e+04 ( 1.000e-13)
314        alpha:  5.000e+00  9.199e-06  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.070e+00  1.167e-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.089e+00  2.636e-01  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Free Index): 12.58
Ra Dec: 312.610 -26.466
Photon Index (Free Index): 5.00 +/- 0.00
Photon Flux (Free Index): 2.37e-07 +/- 8.71e-08
Energy Flux (Free Index): 3.37e-05 +/- 1.24e-05

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/464827/cmap_HighResolution_659750401_660009601_4FGL_J2050.4-2627_daily_bin1622.png

Cleaning up...

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

Updating database...

UPDATE lightcurve_data_v2 SET energy_flux_upper_limit='5.64e-05', comment='SUCCESS', photon_flux='3.13e-08', energy_flux2='3.37e-05', photon_flux_error='2.62e-08', dlogl='4.52e+00', energy_flux='1.90e-05', photon_flux2='2.37e-07', job_status='DONE', time_completed='2021-12-08 07:26:40.905170', photon_index_error2='0.00', photon_index2='5.00', ts='2.67', fit_tolerance='1e-08', GAL='0.99', photon_index_error='0.00', photon_flux_upper_limit='9.30e-08', energy_flux_error2='1.24e-05', EG='1.36', time_epoch_completed='1638977200.91', return_code='0', job_id='464827', GAL2='1.07', EG2='1.09', return_code2='0', energy_flux_error='1.59e-05', photon_flux_error2='8.71e-08', ts2='12.58', photon_index='2.06' WHERE bin_id='1622' AND source_name='4FGL J2050.4-2627' AND cadence='daily';

Database successfully updated.


Analysis Complete.


Wed Dec  8 07:26:40 PST 2021


------------------------------------------------------------
Sender: LSF System <lsf@bullet0095>
Subject: Job 464827: <4FGL_J2050.4-2627_daily_bin1622> in cluster <slac> Done

Job <4FGL_J2050.4-2627_daily_bin1622> was submitted from host <rhel6-64p> by user <kocevski> in cluster <slac> at Wed Dec  8 07:15:20 2021
Job was executed on host(s) <bullet0095>, in queue <medium>, as user <kocevski> in cluster <slac> at Wed Dec  8 07:15:47 2021
</u/ki/kocevski> was used as the home directory.
</u/ki/kocevski> was used as the working directory.
Started at Wed Dec  8 07:15:47 2021
Terminated at Wed Dec  8 07:26:41 2021
Results reported at Wed Dec  8 07:26:41 2021

Your job looked like:

------------------------------------------------------------
# LSBATCH: User input
/nfs/farm/g/glast/g/LCRepository/Likelihood/Scripts/LikelihoodAnalysis.py 4FGL_J2050.4-2627_daily_bin1622 312.61 -26.4659 659750401 660009601 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 :                                   487.00 sec.
    Max Memory :                                 1256 MB
    Average Memory :                             290.96 MB
    Total Requested Memory :                     -
    Delta Memory :                               -
    Max Swap :                                   -
    Max Processes :                              5
    Max Threads :                                21
    Run time :                                   654 sec.
    Turnaround time :                            681 sec.

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

