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


Performing analysis on: 4FGL_J2050.4-2627_daily_bin1274
RA = 312.61, Dec = -26.4659
tmin = 569548801, tmax = 569808001
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='171994', job_status='RUN', time_executed='2021-09-25 19:23:08.703145', time_epoch_executed='1632622988.7' WHERE source_name='4FGL J2050.4-2627' and cadence='daily' and bin_id='1274'

Database successfully updated.
Done.

Creating custom output directory:
/scratch/kocevski/171994

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

Retrieving the FT1 file...

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

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

Retrieving 47 files...
Done.


Merging files...

Checksum keywords updated successfully.

Merged file saved to:
/scratch/kocevski/171994/ft1_4FGL_J2050.4-2627_daily_bin1274.fits


Retrieving the FT1 file...

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

Retrieving 47 files...
Done.


Merging files...

Merged file saved to:
/scratch/kocevski/171994/ft2_4FGL_J2050.4-2627_daily_bin1274.fits


Selecting the photons:
time -p gtselect infile=/scratch/kocevski/171994/ft1_4FGL_J2050.4-2627_daily_bin1274.fits outfile=/scratch/kocevski/171994/ft1_filteredMKT_4FGL_J2050.4-2627_daily_bin1274.fits ra=312.61 dec=-26.4659 rad=12.0 tmin=569548801.0 tmax=569808001.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.64
user 3.41
sys 0.21

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

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

Generating the livetime cube:
time -p gtltcube evfile="/scratch/kocevski/171994/ft1_filtered_4FGL_J2050.4-2627_daily_bin1274.fits" evtable="EVENTS" scfile=/scratch/kocevski/171994/ft2_4FGL_J2050.4-2627_daily_bin1274.fits sctable="SC_DATA" outfile=/scratch/kocevski/171994/ltcube_569548801_569808001_4FGL_J2050.4-2627_daily_bin1274.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/171994/ft2_4FGL_J2050.4-2627_daily_bin1274.fits
.....................!
real 12.96
user 12.53
sys 0.33

Generating the exposure map:
time -p gtexpmap evfile=/scratch/kocevski/171994/ft1_filtered_4FGL_J2050.4-2627_daily_bin1274.fits evtable="EVENTS" scfile=/scratch/kocevski/171994/ft2_4FGL_J2050.4-2627_daily_bin1274.fits sctable="SC_DATA" expcube=/scratch/kocevski/171994/ltcube_569548801_569808001_4FGL_J2050.4-2627_daily_bin1274.fits outfile=/scratch/kocevski/171994/expmap_569548801_569808001_4FGL_J2050.4-2627_daily_bin1274.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/171994/ltcube_569548801_569808001_4FGL_J2050.4-2627_daily_bin1274.fits
.....................!
real 192.08
user 185.96
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/171994/ft1_filtered_4FGL_J2050.4-2627_daily_bin1274.fits scfile=/scratch/kocevski/171994/ft2_4FGL_J2050.4-2627_daily_bin1274.fits outfile=/scratch/kocevski/171994/cmap_569548801_569808001_4FGL_J2050.4-2627_daily_bin1274.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.53
user 0.37
sys 0.15

Creating the high resolution counts map:
time -p gtbin evfile=/scratch/kocevski/171994/ft1_filtered_4FGL_J2050.4-2627_daily_bin1274.fits scfile=/scratch/kocevski/171994/ft2_4FGL_J2050.4-2627_daily_bin1274.fits outfile=/scratch/kocevski/171994/cmap_HighResolution_569548801_569808001_4FGL_J2050.4-2627_daily_bin1274.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.54
user 0.39
sys 0.14

Computing the diffuse response:
time -p gtdiffrsp evfile=/scratch/kocevski/171994/ft1_filtered_4FGL_J2050.4-2627_daily_bin1274.fits evtable="EVENTS" scfile=/scratch/kocevski/171994/ft2_4FGL_J2050.4-2627_daily_bin1274.fits sctable="SC_DATA" srcmdl=/scratch/kocevski/171994/Model_4FGL_J2050.4-2627_daily_bin1274.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/171994/ft1_filtered_4FGL_J2050.4-2627_daily_bin1274.fits.....................!
real 65.20
user 63.66
sys 1.11

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

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

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

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'norm      '    14.506       1.0000         .10000E-03   10000.    
     2 'norm      '    .10259E-03   1.0000         .10000E-03   10000.    
     3 'Prefactor '    52.607       1.0000         .10000E-03   10000.    
     4 'Prefactor '    19.546       1.0000         .10000E-03   10000.    
     5 'Prefactor '    .10533E-03   1.0000         .10000E-03   10000.    
     6 'Prefactor '    10.564       1.0000         .10000E-03   10000.    
     7 'norm      '    .10004E-03   1.0000         .10000E-03   10000.    
     8 'Prefactor '    38.214       1.0000         .10000E-03   10000.    
     9 'Prefactor '    21.333       1.0000         .10000E-03   10000.    
    10 'Prefactor '    6.6897       1.0000         .10000E-03   10000.    
    11 'norm      '    .10000E-03   1.0000         .10000E-03   10000.    
    12 'Prefactor '    .10000E-03   1.0000         .10000E-03   10000.    
    13 'Prefactor '    14.129       1.0000         .10000E-03   10000.    
    14 'Normalizat'    .36276       1.0000         .10000E-01   10.000    
    15 'Prefactor '    1.4215       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=   7206.044     FROM MIGRAD    STATUS=CONVERGED    264 CALLS     1331 TOTAL
                     EDM=   .54E-09  STRATEGY=1  ERROR MATRIX UNCERTAINTY=   .6%

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  norm          14.511        23.975        .85396E-05   -.63729E-04
   2  norm          .10000E-03    16.423        .41984E-06** at limit **
   3  Prefactor     52.583        80.773       -.33559E-04   -.32077E-04
   4  Prefactor     19.550        11.463        .38640E-05   -.10431E-03
   5  Prefactor     .10000E-03    4.1570       -.58174E-06** at limit **
   6  Prefactor     10.527        70.303       -.10848E-03   -.64678E-05
   7  norm          .10000E-03    9.2714        .96114E-07** at limit **
   8  Prefactor     38.216        31.923        .15707E-05   -.58067E-04
   9  Prefactor     21.331        33.915       -.28048E-05   -.41657E-04
  10  Prefactor     6.6928        9.3522        .32170E-06   -.17237E-03
  11  norm          .10000E-03    3.1447       -.27379E-08** at limit **
  12  Prefactor     .10000E-03    4.3380        .48579E-06** at limit **
  13  Prefactor     14.130        14.514        .26465E-06   -.21938E-04
  14  Normalizat    .36270        .44455        .97636E-05    .49132E-04
  15  Prefactor     1.4215        .18453       -.71669E-06   -.29269E-03
                               ERR DEF=  .500    
Final values: 
  norm       = 14.5107
  norm       = 0.0001
  Prefactor  = 52.5826
  Prefactor  = 19.55
  Prefactor  = 0.0001
  Prefactor  = 10.5269
  norm       = 0.0001
  Prefactor  = 38.2158
  Prefactor  = 21.3312
  Prefactor  = 6.69276
  norm       = 0.0001
  Prefactor  = 0.0001
  Prefactor  = 14.13
  Normalizat = 0.3627
  Prefactor  = 1.42152
 **********
 **   18 **HESSE 
 **********

 FCN=   7206.044     FROM HESSE     STATUS=OK           182 CALLS     1513 TOTAL
                     EDM=   .60E-09    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  norm          14.511        23.899        .10516E-03   -1.4946    
   2  norm          .10000E-03    16.813        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   3  Prefactor     52.583        80.223        .55297E-04   -1.4256    
   4  Prefactor     19.550        11.380        .90593E-04   -1.4823    
   5  Prefactor     .10000E-03    4.3187        .33775E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   6  Prefactor     10.527        70.456        .12327E-03   -1.5059    
   7  norm          .10000E-03    9.2757        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   8  Prefactor     38.216        30.870        .64836E-04   -1.4471    
   9  Prefactor     21.331        33.324        .86721E-04   -1.4784    
  10  Prefactor     6.6928        9.0217        .15514E-03   -1.5191    
  11  norm          .10000E-03    3.1501        .14702E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  12  Prefactor     .10000E-03    4.3541        .17264E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  13  Prefactor     14.130        14.440        .10656E-03   -1.4956    
  14  Normalizat    .36270        .33623        .67633E-03   -1.1928    
  15  Prefactor     1.4215        .14693        .16410E-03   -.79762    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 5.97844e-10
Minuit parameter uncertainties:
  1  23.9151
  2  4.8765e-05
  3  80.3888
  4  11.3815
  5  1.58251e-05
  6  54.5606
  7  6.26578e-05
  8  30.8831
  9  33.3528
  10  9.02356
  11  2.46477e-06
  12  1.11823e-05
  13  14.4431
  14  0.338124
  15  0.14697
Done.

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

Extracting fit parameters...

4FGL J2050.4-2627
   Spectrum: LogParabola
313         norm:  1.000e-04  6.266e-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.422e+00  1.470e-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:  3.627e-01  3.381e-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.86e-08 ph cm-2 s-1
Energy Flux Upper Limit: 2.95e-05 MeV cm-2 s-1

Saving results to:
/scratch/kocevski/171994/likelihoodResults_569548801_569808001_4FGL_J2050.4-2627_daily_bin1274.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) = 7206.04447994
delta logL = -0.000508176354742

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

MINUIT Return Code (Free Index): 102
logL (Free Index) = 7206.04397176
delta logL = 3.42970452039e-09

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 'alpha     '    2.0519       1.0000          .0000       5.0000    
     3 'Normalizat'    .36268       1.0000         .10000E-01   10.000    
     4 'Prefactor '    1.4215       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=   7206.044     FROM MIGRAD    STATUS=CONVERGED     93 CALLS      234 TOTAL
                     EDM=   .25E-09    STRATEGY= 1      ERR MATRIX NOT POS-DEF

  EXT PARAMETER                APPROXIMATE        STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  norm          .10000E-03    1972.7        .18142E-02** at limit **
   2  alpha         1.8457        3.3463        .16808        .18263E-08
   3  Normalizat    .36269        .19114        .67632E-03    .12237E-04
   4  Prefactor     1.4215        .88046E-01    .16410E-03    .53552E-04
                               ERR DEF=  .500    
Final values: 
  norm       = 0.0001
  alpha      = 1.84571
  Normalizat = 0.362694
  Prefactor  = 1.42152
 **********
 **   18 **HESSE 
 **********

 FCN=   7206.044     FROM HESSE     STATUS=OK            23 CALLS      257 TOTAL
                     EDM=   .32E-11    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  norm          .10000E-03    9.4585        .36285E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   2  alpha         1.8457        3.3823        .67231E-02   -.26480    
   3  Normalizat    .36269        .31090        .27053E-04   -1.1928    
   4  Prefactor     1.4215        .14362        .65641E-05   -.79762    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 3.22352e-12
Minuit parameter uncertainties:
  1  2.64548e-05
  2  458.581
  3  0.31239
  4  0.143656
shell-init: error retrieving current directory: getcwd: cannot access parent directories: No such file or directory
rmdir: failed to remove `/scratch/kocevski/171994': 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) = 7206.04397166
delta logL = 1.03755155578e-07

Extracting fit parameters...

4FGL J2050.4-2627
   Spectrum: LogParabola
313         norm:  1.000e-04  2.645e-05  1.000e-04  1.000e+04 ( 1.000e-13)
314        alpha:  1.846e+00  4.586e+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.422e+00  1.437e-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:  3.627e-01  3.124e-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 -1.000e-01 [aplpy.core]
INFO: Auto-setting vmax to  1.110e+00 [aplpy.core]
Saving /scratch/kocevski/171994/cmap_HighResolution_569548801_569808001_4FGL_J2050.4-2627_daily_bin1274.png

Cleaning up...

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

Updating database...

UPDATE lightcurve_data_v2 SET energy_flux_upper_limit='2.95e-05', job_status='DONE', photon_flux_upper_limit='4.86e-08', time_completed='2021-09-25 19:32:05.726917', job_id='171994', GAL2='1.42', fit_tolerance='1e-08', EG2='0.36', EG='0.36', time_epoch_completed='1632623525.73', return_code2='0', ts='-0.00', comment='SUCCESS', return_code='0', GAL='1.42', dlogl='1.04e-07', ts2='-0.00', photon_index_error='0.00', photon_index='2.06' WHERE bin_id='1274' AND source_name='4FGL J2050.4-2627' AND cadence='daily';

Database successfully updated.


Analysis Complete.


Sat Sep 25 19:32:05 PDT 2021


------------------------------------------------------------
Sender: LSF System <lsf@bullet0029>
Subject: Job 171994: <4FGL_J2050.4-2627_daily_bin1274> in cluster <slac> Done

Job <4FGL_J2050.4-2627_daily_bin1274> was submitted from host <rhel6-64f> by user <kocevski> in cluster <slac> at Sat Sep 25 19:20:15 2021
Job was executed on host(s) <bullet0029>, in queue <medium>, as user <kocevski> in cluster <slac> at Sat Sep 25 19:20:28 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:28 2021
Terminated at Sat Sep 25 19:32:06 2021
Results reported at Sat Sep 25 19:32:06 2021

Your job looked like:

------------------------------------------------------------
# LSBATCH: User input
/nfs/farm/g/glast/g/LCRepository/Likelihood/Scripts/LikelihoodAnalysis.py 4FGL_J2050.4-2627_daily_bin1274 312.61 -26.4659 569548801 569808001 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 :                                   533.04 sec.
    Max Memory :                                 1255 MB
    Average Memory :                             290.73 MB
    Total Requested Memory :                     -
    Delta Memory :                               -
    Max Swap :                                   -
    Max Processes :                              5
    Max Threads :                                21
    Run time :                                   698 sec.
    Turnaround time :                            711 sec.

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

