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


Performing analysis on: 4FGL_J2050.4-2627_daily_bin1131
RA = 312.61, Dec = -26.4659
tmin = 532483201, tmax = 532742401
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='170777', job_status='RUN', time_executed='2021-09-25 19:21:35.997576', time_epoch_executed='1632622896.0' WHERE source_name='4FGL J2050.4-2627' and cadence='daily' and bin_id='1131'

Database successfully updated.
Done.

Creating custom output directory:
/scratch/kocevski/170777

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

Retrieving the FT1 file...

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

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

Retrieving 46 files...
Done.


Merging files...

Checksum keywords updated successfully.

Merged file saved to:
/scratch/kocevski/170777/ft1_4FGL_J2050.4-2627_daily_bin1131.fits


Retrieving the FT1 file...

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

Retrieving 46 files...
Done.


Merging files...

Merged file saved to:
/scratch/kocevski/170777/ft2_4FGL_J2050.4-2627_daily_bin1131.fits


Selecting the photons:
time -p gtselect infile=/scratch/kocevski/170777/ft1_4FGL_J2050.4-2627_daily_bin1131.fits outfile=/scratch/kocevski/170777/ft1_filteredMKT_4FGL_J2050.4-2627_daily_bin1131.fits ra=312.61 dec=-26.4659 rad=12.0 tmin=532483201.0 tmax=532742401.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.48
user 3.25
sys 0.22

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

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

Generating the livetime cube:
time -p gtltcube evfile="/scratch/kocevski/170777/ft1_filtered_4FGL_J2050.4-2627_daily_bin1131.fits" evtable="EVENTS" scfile=/scratch/kocevski/170777/ft2_4FGL_J2050.4-2627_daily_bin1131.fits sctable="SC_DATA" outfile=/scratch/kocevski/170777/ltcube_532483201_532742401_4FGL_J2050.4-2627_daily_bin1131.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/170777/ft2_4FGL_J2050.4-2627_daily_bin1131.fits
.....................!
real 13.60
user 13.18
sys 0.34

Generating the exposure map:
time -p gtexpmap evfile=/scratch/kocevski/170777/ft1_filtered_4FGL_J2050.4-2627_daily_bin1131.fits evtable="EVENTS" scfile=/scratch/kocevski/170777/ft2_4FGL_J2050.4-2627_daily_bin1131.fits sctable="SC_DATA" expcube=/scratch/kocevski/170777/ltcube_532483201_532742401_4FGL_J2050.4-2627_daily_bin1131.fits outfile=/scratch/kocevski/170777/expmap_532483201_532742401_4FGL_J2050.4-2627_daily_bin1131.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/170777/ltcube_532483201_532742401_4FGL_J2050.4-2627_daily_bin1131.fits
.....................!
real 191.41
user 185.85
sys 4.87

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/170777/ft1_filtered_4FGL_J2050.4-2627_daily_bin1131.fits scfile=/scratch/kocevski/170777/ft2_4FGL_J2050.4-2627_daily_bin1131.fits outfile=/scratch/kocevski/170777/cmap_532483201_532742401_4FGL_J2050.4-2627_daily_bin1131.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.40
sys 0.14

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

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

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

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

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

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'norm      '    .47391E-02   1.0000         .10000E-03   10000.    
     2 'norm      '    23.594       1.0000         .10000E-03   10000.    
     3 'Prefactor '    69.308       1.0000         .10000E-03   10000.    
     4 'Prefactor '    5.1997       1.0000         .10000E-03   10000.    
     5 'Prefactor '    2.7540       1.0000         .10000E-03   10000.    
     6 'Prefactor '    16.356       1.0000         .10000E-03   10000.    
     7 'norm      '    .10000E-03   1.0000         .10000E-03   10000.    
     8 'Prefactor '    .10022E-03   1.0000         .10000E-03   10000.    
     9 'Prefactor '    76.205       1.0000         .10000E-03   10000.    
    10 'Prefactor '    5.3766       1.0000         .10000E-03   10000.    
    11 'norm      '    .10012E-03   1.0000         .10000E-03   10000.    
    12 'Prefactor '    4.7127       1.0000         .10000E-03   10000.    
    13 'Prefactor '    49.526       1.0000         .10000E-03   10000.    
    14 'Normalizat'    1.0082       1.0000         .10000E-01   10.000    
    15 'Prefactor '    .99564       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=   6135.838     FROM MIGRAD    STATUS=CONVERGED    271 CALLS     1308 TOTAL
                     EDM=   .11E-08  STRATEGY=1  ERROR MATRIX UNCERTAINTY=  3.9%

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  norm          .10000E-03    10.827        .40028E-06** at limit **
   2  norm          23.597        16.499        .29253E-06    .37452E-05
   3  Prefactor     69.313        84.841        .21260E-05    .25366E-04
   4  Prefactor     5.2000        8.0464        .96399E-06   -.11825E-02
   5  Prefactor     2.7543        5.0120        .34768E-06   -.19930E-03
   6  Prefactor     16.367        60.249        .14474E-04    .80396E-04
   7  norm          .10000E-03    8.8591       -.94747E-07** at limit **
   8  Prefactor     .10000E-03    29.559       -.31911E-07** at limit **
   9  Prefactor     76.210        37.913        .30047E-05    .18779E-03
  10  Prefactor     5.3810        9.6136        .15904E-05   -.10252E-02
  11  norm          .10000E-03    5.5584        .63838E-08** at limit **
  12  Prefactor     4.7142        8.7878        .13113E-05    .45563E-04
  13  Prefactor     49.528        31.435        .12276E-05    .58659E-04
  14  Normalizat    1.0079        .28757       -.30437E-05   -.20862E-04
  15  Prefactor     .99573        .11732       -.15972E-06   -.11219E-03
                               ERR DEF=  .500    
Final values: 
  norm       = 0.0001
  norm       = 23.5969
  Prefactor  = 69.3134
  Prefactor  = 5.19999
  Prefactor  = 2.75433
  Prefactor  = 16.3674
  norm       = 0.0001
  Prefactor  = 0.0001
  Prefactor  = 76.2105
  Prefactor  = 5.38105
  norm       = 0.0001
  Prefactor  = 4.71418
  Prefactor  = 49.5279
  Normalizat = 1.00792
  Prefactor  = 0.995732
 **********
 **   18 **HESSE 
 **********

 FCN=   6135.838     FROM HESSE     STATUS=OK           180 CALLS     1488 TOTAL
                     EDM=   .57E-08    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  norm          .10000E-03    50.248        .49601E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   2  norm          23.597        16.497        .82464E-04   -1.4736    
   3  Prefactor     69.313        86.426        .48216E-04   -1.4041    
   4  Prefactor     5.2000        9.7404        .88144E-03   -1.5252    
   5  Prefactor     2.7543        5.0246        .22584E-03   -1.5376    
   6  Prefactor     16.367        61.863        .99035E-04   -1.4899    
   7  norm          .10000E-03    8.8626        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   8  Prefactor     .10000E-03    29.753        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   9  Prefactor     76.210        38.083        .45998E-04   -1.3960    
  10  Prefactor     5.3810        11.531        .86656E-03   -1.5244    
  11  norm          .10000E-03    5.5713        .18036E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  12  Prefactor     4.7142        8.7801        .18536E-03   -1.5274    
  13  Prefactor     49.528        31.506        .56983E-04   -1.4299    
  14  Normalizat    1.0079        .34131        .39817E-03   -.92766    
  15  Prefactor     .99573        .13847        .17355E-03   -.92872    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 5.6711e-09
Minuit parameter uncertainties:
  1  0.000240903
  2  16.5002
  3  86.5827
  4  9.74339
  5  5.02539
  6  62.1066
  7  1.31986e-05
  8  1.45547e-06
  9  38.0952
  10  11.5354
  11  1.46359e-06
  12  8.78249
  13  31.5161
  14  0.342054
  15  0.138517
Done.

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

Extracting fit parameters...

4FGL J2050.4-2627
   Spectrum: LogParabola
313         norm:  1.000e-04  1.320e-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:  9.957e-01  1.385e-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.008e+00  3.421e-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: 4.78e-08 ph cm-2 s-1
Energy Flux Upper Limit: 2.90e-05 MeV cm-2 s-1

Saving results to:
/scratch/kocevski/170777/likelihoodResults_532483201_532742401_4FGL_J2050.4-2627_daily_bin1131.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) = 6135.8384302
delta logL = -0.000536020237632

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

MINUIT Return Code (Free Index): 102
logL (Free Index) = 6135.83789419
delta logL = -1.38534232974e-08

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'norm      '    .10022E-03   1.0000         .10000E-03   10000.    
     2 'alpha     '    2.0527       1.0000          .0000       5.0000    
     3 'Normalizat'    1.0079       1.0000         .10000E-01   10.000    
     4 'Prefactor '    .99574       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.
 MIGRAD TERMINATED WITHOUT CONVERGENCE.

 FCN=   6135.838     FROM MIGRAD    STATUS=FAILED        86 CALLS      230 TOTAL
                     EDM=   .42E-07    STRATEGY= 1      ERR MATRIX NOT POS-DEF

  EXT PARAMETER                APPROXIMATE        STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  norm          .10038E-03    1589.9        .18142E-02** at limit **
   2  alpha         1.9497        2.7644        .16806        .10390E-05
   3  Normalizat    1.0079        .14065        .39817E-03   -.57390E-05
   4  Prefactor     .99573        .61432E-01    .17355E-03   -.85816E-05
                               ERR DEF=  .500    
 START SIMPLEX MINIMIZATION.    CONVERGENCE WHEN EDM .LT.   .20E-04
 SIMPLEX MINIMIZATION HAS CONVERGED.

 FCN=   6135.838     FROM SIMPLEX   STATUS=UNCHANGED    162 CALLS      392 TOTAL
                     EDM=   .71E-05    STRATEGY= 1      ERR MATRIX NOT POS-DEF

  EXT PARAMETER                APPROXIMATE        STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  norm          .10038E-03    1589.9        .45230E-03** at limit **
   2  alpha         1.9497        2.7644        .14529E-04    .10390E-05
   3  Normalizat    1.0079        .14065        .83066E-06   -.57390E-05
   4  Prefactor     .99573        .61432E-01    .27495E-06   -.85816E-05
                               ERR DEF=  .500    

 MIGRAD MINIMIZATION HAS CONVERGED.

 MIGRAD WILL VERIFY CONVERGENCE AND ERROR MATRIX.

 FCN=   6135.838     FROM MIGRAD    STATUS=CONVERGED     31 CALLS      423 TOTAL
                     EDM=   .63E-11    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  norm          .10000E-03    9.0066        .36285E-03** at limit **
   2  alpha         1.8415        3.6889        .67226E-02   -.91320E-08
   3  Normalizat    1.0079        .31227        .15927E-04    .88512E-05
   4  Prefactor     .99573        .13656        .69419E-05    .22600E-04
                               ERR DEF=  .500    
Final values: 
  norm       = 0.0001
  alpha      = 1.84147
  Normalizat = 1.00792
  Prefactor  = 0.995732
 **********
 **   18 **HESSE 
 **********

 FCN=   6135.838     FROM HESSE     STATUS=OK            23 CALLS      446 TOTAL
                     EDM=   .59E-11    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  norm          .10000E-03    9.0060        .72569E-04   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   2  alpha         1.8415        3.0655        .13445E-02   -.26656    
   3  Normalizat    1.0079        .31268        .31854E-05   -.92766    
   4  Prefactor     .99573        .13673        .13884E-05   -.92872    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 5.89371e-12
Minuit parameter uncertainties:
  1  2.86452e-05
  2  501.337
  3  0.313249
  4  0.136773
shell-init: error retrieving current directory: getcwd: cannot access parent directories: No such file or directory
rmdir: failed to remove `/scratch/kocevski/170777': 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) = 6135.83789409
delta logL = 8.97516656551e-08

Extracting fit parameters...

4FGL J2050.4-2627
   Spectrum: LogParabola
313         norm:  1.000e-04  2.865e-05  1.000e-04  1.000e+04 ( 1.000e-13)
314        alpha:  1.841e+00  5.013e+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:  9.957e-01  1.368e-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.008e+00  3.132e-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/170777/cmap_HighResolution_532483201_532742401_4FGL_J2050.4-2627_daily_bin1131.png

Cleaning up...

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

Updating database...

UPDATE lightcurve_data_v2 SET energy_flux_upper_limit='2.90e-05', job_status='DONE', photon_flux_upper_limit='4.78e-08', time_completed='2021-09-25 19:30:06.817144', job_id='170777', GAL2='1.00', fit_tolerance='1e-08', EG2='1.01', EG='1.01', time_epoch_completed='1632623406.82', return_code2='0', ts='-0.00', comment='SUCCESS', return_code='0', GAL='1.00', dlogl='8.98e-08', ts2='-0.00', photon_index_error='0.00', photon_index='2.06' WHERE bin_id='1131' AND source_name='4FGL J2050.4-2627' AND cadence='daily';

Database successfully updated.


Analysis Complete.


Sat Sep 25 19:30:06 PDT 2021


------------------------------------------------------------
Sender: LSF System <lsf@bullet0050>
Subject: Job 170777: <4FGL_J2050.4-2627_daily_bin1131> in cluster <slac> Done

Job <4FGL_J2050.4-2627_daily_bin1131> was submitted from host <rhel6-64k> by user <kocevski> in cluster <slac> at Sat Sep 25 19:15:46 2021
Job was executed on host(s) <bullet0050>, in queue <medium>, as user <kocevski> in cluster <slac> at Sat Sep 25 19:18:54 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:18:54 2021
Terminated at Sat Sep 25 19:30:07 2021
Results reported at Sat Sep 25 19:30:07 2021

Your job looked like:

------------------------------------------------------------
# LSBATCH: User input
/nfs/farm/g/glast/g/LCRepository/Likelihood/Scripts/LikelihoodAnalysis.py 4FGL_J2050.4-2627_daily_bin1131 312.61 -26.4659 532483201 532742401 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 :                                   508.30 sec.
    Max Memory :                                 1256 MB
    Average Memory :                             290.83 MB
    Total Requested Memory :                     -
    Delta Memory :                               -
    Max Swap :                                   -
    Max Processes :                              5
    Max Threads :                                21
    Run time :                                   673 sec.
    Turnaround time :                            861 sec.

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

