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


Performing analysis on: 4FGL_J1051.4-3139_daily_bin932
RA = 162.85, Dec = -31.6507
tmin = 480902401, tmax = 481161601
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='246014', job_status='RUN', time_executed='2021-09-02 18:12:23.725595', time_epoch_executed='1630631543.73' WHERE source_name='4FGL J1051.4-3139' and cadence='daily' and bin_id='932'

Database successfully updated.
Done.

Creating custom output directory:
/scratch/kocevski/246014

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

Retrieving the FT1 file...

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

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

Retrieving 47 files...
Done.


Merging files...

Checksum keywords updated successfully.

Merged file saved to:
/scratch/kocevski/246014/ft1_4FGL_J1051.4-3139_daily_bin932.fits


Retrieving the FT1 file...

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

Retrieving 47 files...
Done.


Merging files...

Merged file saved to:
/scratch/kocevski/246014/ft2_4FGL_J1051.4-3139_daily_bin932.fits


Selecting the photons:
time -p gtselect infile=/scratch/kocevski/246014/ft1_4FGL_J1051.4-3139_daily_bin932.fits outfile=/scratch/kocevski/246014/ft1_filteredMKT_4FGL_J1051.4-3139_daily_bin932.fits ra=162.85 dec=-31.6507 rad=12.0 tmin=480902401.0 tmax=481161601.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.78
user 3.48
sys 0.23

Adding sun position to ft2 file:
/nfs/farm/g/glast/g/LCRepository/Repository/bin/sunpos /scratch/kocevski/246014/ft2_4FGL_J1051.4-3139_daily_bin932.fits

Selecting the good time intervals:
time -p gtmktime scfile=/scratch/kocevski/246014/ft2_4FGL_J1051.4-3139_daily_bin932.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/246014/ft1_filteredMKT_4FGL_J1051.4-3139_daily_bin932.fits evtable="EVENTS" outfile="/scratch/kocevski/246014/ft1_filtered_4FGL_J1051.4-3139_daily_bin932.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.53
user 0.36
sys 0.16

Generating the livetime cube:
time -p gtltcube evfile="/scratch/kocevski/246014/ft1_filtered_4FGL_J1051.4-3139_daily_bin932.fits" evtable="EVENTS" scfile=/scratch/kocevski/246014/ft2_4FGL_J1051.4-3139_daily_bin932.fits sctable="SC_DATA" outfile=/scratch/kocevski/246014/ltcube_480902401_481161601_4FGL_J1051.4-3139_daily_bin932.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/246014/ft2_4FGL_J1051.4-3139_daily_bin932.fits
.....................!
real 18.01
user 17.57
sys 0.32

Generating the exposure map:
time -p gtexpmap evfile=/scratch/kocevski/246014/ft1_filtered_4FGL_J1051.4-3139_daily_bin932.fits evtable="EVENTS" scfile=/scratch/kocevski/246014/ft2_4FGL_J1051.4-3139_daily_bin932.fits sctable="SC_DATA" expcube=/scratch/kocevski/246014/ltcube_480902401_481161601_4FGL_J1051.4-3139_daily_bin932.fits outfile=/scratch/kocevski/246014/expmap_480902401_481161601_4FGL_J1051.4-3139_daily_bin932.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/246014/ltcube_480902401_481161601_4FGL_J1051.4-3139_daily_bin932.fits
.....................!
real 194.05
user 188.92
sys 4.57

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 182 point sources and 0 extended sources

Setting source of interest to:
4FGL J1051.4-3139 @ 162.85 -31.6507

Creating the counts map:
time -p gtbin evfile=/scratch/kocevski/246014/ft1_filtered_4FGL_J1051.4-3139_daily_bin932.fits scfile=/scratch/kocevski/246014/ft2_4FGL_J1051.4-3139_daily_bin932.fits outfile=/scratch/kocevski/246014/cmap_480902401_481161601_4FGL_J1051.4-3139_daily_bin932.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=162.85 yref=-31.6507 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.39
sys 0.16

Creating the high resolution counts map:
time -p gtbin evfile=/scratch/kocevski/246014/ft1_filtered_4FGL_J1051.4-3139_daily_bin932.fits scfile=/scratch/kocevski/246014/ft2_4FGL_J1051.4-3139_daily_bin932.fits outfile=/scratch/kocevski/246014/cmap_HighResolution_480902401_481161601_4FGL_J1051.4-3139_daily_bin932.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=162.85 yref=-31.6507 axisrot=0.0 rafield="RA" decfield="DEC" proj="AIT" hpx_ordering_scheme="RING" hpx_order=3 hpx_ebin=yes hpx_region="" evtable="EVENTS" sctable="SC_DATA" efield="ENERGY" tfield="TIME" chatter=2 clobber=yes debug=no gui=no mode="ql"

WARNING: version mismatch between CFITSIO header (v3.43) and linked library (v3.41).

This is gtbin version HEAD
real 0.58
user 0.41
sys 0.16

Computing the diffuse response:
time -p gtdiffrsp evfile=/scratch/kocevski/246014/ft1_filtered_4FGL_J1051.4-3139_daily_bin932.fits evtable="EVENTS" scfile=/scratch/kocevski/246014/ft2_4FGL_J1051.4-3139_daily_bin932.fits sctable="SC_DATA" srcmdl=/scratch/kocevski/246014/Model_4FGL_J1051.4-3139_daily_bin932.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/246014/ft1_filtered_4FGL_J1051.4-3139_daily_bin932.fits....................!
real 83.31
user 81.86
sys 1.23

Creating the likelihood object...
obs = UnbinnedObs('/scratch/kocevski/246014/ft1_filtered_4FGL_J1051.4-3139_daily_bin932.fits', '/scratch/kocevski/246014/ft2_4FGL_J1051.4-3139_daily_bin932.fits', expMap='/scratch/kocevski/246014/expmap_480902401_481161601_4FGL_J1051.4-3139_daily_bin932.fits', expCube='/scratch/kocevski/246014/ltcube_480902401_481161601_4FGL_J1051.4-3139_daily_bin932.fits', irfs='P8R3_SOURCE_V2')
like = UnbinnedAnalysis(obs, '/scratch/kocevski/246014/Model_4FGL_J1051.4-3139_daily_bin932.xml', optimizer='MINUIT')

Using source of interest name: '4FGL J1051.4-3139'

4FGL J1051.4-3139
   Spectrum: PowerLaw
294    Prefactor:  1.422e+00  0.000e+00  1.000e-04  1.000e+04 ( 1.000e-12)
295        Index:  2.716e+00  0.000e+00  0.000e+00  1.000e+01 (-1.000e+00) fixed
296        Scale:  5.179e+02  0.000e+00  3.000e+01  5.000e+05 ( 1.000e+00) fixed


Likelihood Fit Parameters:
Event file(s): /scratch/kocevski/246014/ft1_filtered_4FGL_J1051.4-3139_daily_bin932.fits
Spacecraft file(s): /scratch/kocevski/246014/ft2_4FGL_J1051.4-3139_daily_bin932.fits
Exposure map: /scratch/kocevski/246014/expmap_480902401_481161601_4FGL_J1051.4-3139_daily_bin932.fits
Exposure cube: /scratch/kocevski/246014/ltcube_480902401_481161601_4FGL_J1051.4-3139_daily_bin932.fits
IRFs: P8R3_SOURCE_V2
Source model file: /scratch/kocevski/246014/Model_4FGL_J1051.4-3139_daily_bin932.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) = 8789.08746805

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

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

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'norm      '    24.470       1.0000         .10000E-03   10000.    
     2 'Prefactor '    .10303E-03   1.0000         .10000E-03   10000.    
     3 'Prefactor '    .10123E-03   1.0000         .10000E-03   10000.    
     4 'norm      '    2.6958       1.0000         .10000E-03   10000.    
     5 'norm      '    .10431E-03   1.0000         .10000E-03   10000.    
     6 'Prefactor '    .10153E-03   1.0000         .10000E-03   10000.    
     7 'Prefactor '    .10939E-03   1.0000         .10000E-03   10000.    
     8 'norm      '    .29883       1.0000         .10000E-03   10000.    
     9 'Prefactor '    .10132E-03   1.0000         .10000E-03   10000.    
    10 'Prefactor '    2.0980       1.0000         .10000E-03   10000.    
    11 'Prefactor '    .94359       1.0000         .10000E-03   10000.    
    12 'Prefactor '    .21336       1.0000         .10000E-03   10000.    
    13 'Prefactor '    .10051E-03   1.0000         .10000E-03   10000.    
    14 'Prefactor '    .10046E-03   1.0000         .10000E-03   10000.    
    15 'Prefactor '    .10031E-03   1.0000         .10000E-03   10000.    
    16 'Prefactor '    .23660E-02   1.0000         .10000E-03   10000.    
    17 'Prefactor '    .10076E-03   1.0000         .10000E-03   10000.    
    18 'Normalizat'    .34238       1.0000         .10000E-01   10.000    
    19 'Prefactor '    1.2591       1.0000          .0000       10.000    
 **********
 **   15 **SET ERR    .5000    
 **********
 **********
 **   16 **SET GRAD    1.000    
 **********
 **********
 **   17 **MINIMIZE    .5970E+05   .2000E-04
 **********

 MIGRAD MINIMIZATION HAS CONVERGED.

 MIGRAD WILL VERIFY CONVERGENCE AND ERROR MATRIX.

 MIGRAD MINIMIZATION HAS CONVERGED.

 FCN=   8789.070     FROM MIGRAD    STATUS=CONVERGED    424 CALLS     2032 TOTAL
                     EDM=   .24E-09  STRATEGY=1  ERROR MATRIX UNCERTAINTY=  2.7%

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  norm          24.473        10.918       -.43967E-07    .20193E-04
   2  Prefactor     .10000E-03    16.106       -.17755E-05** at limit **
   3  Prefactor     .10000E-03    11.716       -.14370E-05** at limit **
   4  norm          2.6988        5.8827        .63193E-06    .28280E-04
   5  norm          .10000E-03    3.3359       -.57376E-08** at limit **
   6  Prefactor     .10000E-03    9.3258        .39122E-06** at limit **
   7  Prefactor     .10000E-03    5.5694       -.31052E-06** at limit **
   8  norm          .29931        1.3436        .14017E-05   -.38908E-03
   9  Prefactor     .10000E-03    7.7684       -.12860E-06** at limit **
  10  Prefactor     2.0945        2.9715        .91956E-07   -.23393E-03
  11  Prefactor     .94997        3.9350       -.16270E-07   -.83179E-04
  12  Prefactor     .22495        2.0889        .27407E-06   -.37749E-03
  13  Prefactor     .10000E-03    2.3870        .20246E-07** at limit **
  14  Prefactor     .10000E-03    13.216        .25836E-05** at limit **
  15  Prefactor     .10000E-03    3.4201       -.72868E-08** at limit **
  16  Prefactor     .10153E-03    24.373       -.76053E-06** at limit **
  17  Prefactor     .10000E-03    7.1272        .44824E-07** at limit **
  18  Normalizat    .34240        .23669       -.23041E-06   -.45077E-04
  19  Prefactor     1.2591        .11447       -.11887E-06    .20618E-04
                               ERR DEF=  .500    
Final values: 
  norm       = 24.4728
  Prefactor  = 0.000100001
  Prefactor  = 0.000100001
  norm       = 2.69883
  norm       = 0.0001
  Prefactor  = 0.0001
  Prefactor  = 0.000100004
  norm       = 0.299308
  Prefactor  = 0.0001
  Prefactor  = 2.09451
  Prefactor  = 0.949971
  Prefactor  = 0.224946
  Prefactor  = 0.0001
  Prefactor  = 0.000100002
  Prefactor  = 0.0001
  Prefactor  = 0.000101532
  Prefactor  = 0.0001
  Normalizat = 0.342397
  Prefactor  = 1.25912
 **********
 **   18 **HESSE 
 **********

 FCN=   8789.070     FROM HESSE     STATUS=OK           280 CALLS     2312 TOTAL
                     EDM=   .24E-07    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  norm          24.473        10.899        .80977E-04   -1.4718    
   2  Prefactor     .10000E-03    16.622        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   3  Prefactor     .10000E-03    12.132        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   4  norm          2.6988        5.8557        .24812E-03   -1.5379    
   5  norm          .10000E-03    3.3613        .16711E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   6  Prefactor     .10000E-03    9.6062        .36285E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   7  Prefactor     .10000E-03    23.478        .42118E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   8  norm          .29931        1.4460        .22371E-03   -1.5599    
   9  Prefactor     .10000E-03    7.8289        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  10  Prefactor     2.0945        2.8983        .17656E-03   -1.5419    
  11  Prefactor     .94997        15.090        .33455E-02   -1.5513    
  12  Prefactor     .22495        14.007        .24887E-02   -1.5613    
  13  Prefactor     .10000E-03    2.3949        .14143E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  14  Prefactor     .10000E-03    14.248        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  15  Prefactor     .10000E-03    3.4346        .16930E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  16  Prefactor     .10153E-03    25.304        .14237       -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  17  Prefactor     .10000E-03    7.1865        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  18  Normalizat    .34240        .21826        .52494E-03   -1.2039    
  19  Prefactor     1.2591        .10929        .14579E-03   -.84531    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 2.36121e-08
Minuit parameter uncertainties:
  1  10.8994
  2  0.000232452
  3  0.000156417
  4  5.8569
  5  4.67782e-06
  6  2.89477e-05
  7  0.000594037
  8  1.31558
  9  1.24814e-05
  10  2.8985
  11  7.5743
  12  3.55019
  13  1.9152e-06
  14  0.000319802
  15  6.17747e-07
  16  0.0124559
  17  7.87597e-06
  18  0.218804
  19  0.109313
Done.

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

Extracting fit parameters...

4FGL J1051.4-3139
   Spectrum: PowerLaw
294    Prefactor:  9.500e-01  7.574e+00  1.000e-04  1.000e+04 ( 1.000e-12)
295        Index:  2.716e+00  0.000e+00  0.000e+00  1.000e+01 (-1.000e+00) fixed
296        Scale:  5.179e+02  0.000e+00  3.000e+01  5.000e+05 ( 1.000e+00) fixed

GAL_V02
   Spectrum: PowerLaw
594    Prefactor:  1.259e+00  1.093e-01  0.000e+00  1.000e+01 ( 1.000e+00)
595        Index:  0.000e+00  0.000e+00 -1.000e+00  1.000e+00 ( 1.000e+00) fixed
596        Scale:  1.000e+02  0.000e+00  5.000e+01  2.000e+02 ( 1.000e+00) fixed

EG_v02
   Spectrum: FileFunction
593   Normalization:  3.424e-01  2.188e-01  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Fixed Index): 0.02
Ra Dec: 162.850 -31.651
Photon Flux Upper Limit: 9.39e-08 ph cm-2 s-1
Energy Flux Upper Limit: 7.40e-03 MeV cm-2 s-1

Saving results to:
/scratch/kocevski/246014/likelihoodResults_480902401_481161601_4FGL_J1051.4-3139_daily_bin932.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) = 8789.06785855
delta logL = 0.0016485707074

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

MINUIT Return Code (Free Index): 0
logL (Free Index) = 8789.06782187
delta logL = 0.00168524741639

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'Prefactor '    .94966       1.0000         .10000E-03   10000.    
     2 'Index     '    2.9019       1.0000          .0000       10.000    
     3 'Normalizat'    .34093       1.0000         .10000E-01   10.000    
     4 'Prefactor '    1.2595       1.0000          .0000       10.000    
 **********
 **   15 **SET ERR    .5000    
 **********
 **********
 **   16 **SET GRAD    1.000    
 **********
 **********
 **   17 **MINIMIZE    .5970E+05   .2000E-04
 **********

 MIGRAD MINIMIZATION HAS CONVERGED.

 MIGRAD WILL VERIFY CONVERGENCE AND ERROR MATRIX.

 FCN=   8789.068     FROM MIGRAD    STATUS=CONVERGED     67 CALLS      236 TOTAL
                     EDM=   .16E-08    STRATEGY= 1      ERR MATRIX NOT POS-DEF

  EXT PARAMETER                APPROXIMATE        STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor     .87590        19.501        .87646E-01    .52071E-03
   2  Index         2.9129        2.6261        .50000        .88731E-05
   3  Normalizat    .34132        .12327E-01    .11873        .67862E-04
   4  Prefactor     1.2595        .63397E-02    .33356E-01   -.85984E-04
                               ERR DEF=  .500    
Final values: 
  Prefactor  = 0.875904
  Index      = 2.9129
  Normalizat = 0.341324
  Prefactor  = 1.25946
 **********
 **   18 **HESSE 
 **********

 FCN=   8789.068     FROM HESSE     STATUS=OK            35 CALLS      271 TOTAL
                     EDM=   .72E-07    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  Prefactor     .87590        36.810        .30349E-02   -1.5521    
   2  Index         2.9129        6.4373        .21167E-01   -.43060    
   3  Normalizat    .34132        .21431        .52575E-03   -1.2045    
   4  Prefactor     1.2595        .10879        .14577E-03   -.84521    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 7.23407e-08
Minuit parameter uncertainties:
  1  11.3632
  2  5.7434
  3  0.214823
  4  0.108809
shell-init: error retrieving current directory: getcwd: cannot access parent directories: No such file or directory
rmdir: failed to remove `/scratch/kocevski/246014': 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) = 8789.06776393
delta logL = 0.00174319045072

Extracting fit parameters...

4FGL J1051.4-3139
   Spectrum: PowerLaw
294    Prefactor:  8.759e-01  1.136e+01  1.000e-04  1.000e+04 ( 1.000e-12)
295        Index:  2.913e+00  5.743e+00  0.000e+00  1.000e+01 (-1.000e+00)
296        Scale:  5.179e+02  0.000e+00  3.000e+01  5.000e+05 ( 1.000e+00) fixed

GAL_V02
   Spectrum: PowerLaw
594    Prefactor:  1.259e+00  1.088e-01  0.000e+00  1.000e+01 ( 1.000e+00)
595        Index:  0.000e+00  0.000e+00 -1.000e+00  1.000e+00 ( 1.000e+00) fixed
596        Scale:  1.000e+02  0.000e+00  5.000e+01  2.000e+02 ( 1.000e+00) fixed

EG_v02
   Spectrum: FileFunction
593   Normalization:  3.413e-01  2.148e-01  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Free Index): 0.02
Ra Dec: 162.850 -31.651

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/246014/cmap_HighResolution_480902401_481161601_4FGL_J1051.4-3139_daily_bin932.png

Cleaning up...

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

Updating database...

UPDATE lightcurve_data_v2 SET energy_flux_upper_limit='7.40e-03', job_status='DONE', photon_flux_upper_limit='9.39e-08', time_completed='2021-09-02 18:25:12.637367', job_id='246014', GAL2='1.26', fit_tolerance='1e-08', EG2='0.34', EG='0.34', time_epoch_completed='1630632312.64', return_code2='0', ts='0.02', comment='SUCCESS', return_code='0', GAL='1.26', dlogl='1.74e-03', ts2='0.02', photon_index_error='0.00', photon_index='2.72' WHERE bin_id='932' AND source_name='4FGL J1051.4-3139' AND cadence='daily';

Database successfully updated.


Analysis Complete.


Thu Sep  2 18:25:12 PDT 2021


------------------------------------------------------------
Sender: LSF System <lsf@bullet0254>
Subject: Job 246014: <4FGL_J1051.4-3139_daily_bin932> in cluster <slac> Done

Job <4FGL_J1051.4-3139_daily_bin932> was submitted from host <rhel6-64k> by user <kocevski> in cluster <slac> at Thu Sep  2 18:11:16 2021
Job was executed on host(s) <bullet0254>, in queue <medium>, as user <kocevski> in cluster <slac> at Thu Sep  2 18:12:11 2021
</u/ki/kocevski> was used as the home directory.
</u/ki/kocevski> was used as the working directory.
Started at Thu Sep  2 18:12:11 2021
Terminated at Thu Sep  2 18:25:13 2021
Results reported at Thu Sep  2 18:25:13 2021

Your job looked like:

------------------------------------------------------------
# LSBATCH: User input
/nfs/farm/g/glast/g/LCRepository/Likelihood/Scripts/LikelihoodAnalysis.py 4FGL_J1051.4-3139_daily_bin932 162.85 -31.6507 480902401 481161601 irfs=P8R3_SOURCE_V2 zmax=90 ROI=12 association=4FGL_J1051.4-3139 fixedModel=True performFreeIndexFit=True freeVariableSources=True nuke=True repositoryJob=True verbose=False
------------------------------------------------------------

Successfully completed.

Resource usage summary:

    CPU time :                                   763.23 sec.
    Max Memory :                                 1257 MB
    Average Memory :                             336.48 MB
    Total Requested Memory :                     -
    Delta Memory :                               -
    Max Swap :                                   -
    Max Processes :                              5
    Max Threads :                                21
    Run time :                                   781 sec.
    Turnaround time :                            837 sec.

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

