aklog: Couldn't determine realm of user:aklog: No credentials cache found  while getting realm
/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 172 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 = 7463
number of fields = 31
RA_SUN column already exists. File will not be modified.
Done.


Performing analysis on: 4FGL_J0051.5-4220_daily_bin1684
RA = 12.8793, Dec = -42.3455
tmin = 675820801, tmax = 676080001
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='180904', job_status='RUN', time_executed='2022-06-05 00:08:48.599274', time_epoch_executed='1654412928.6' WHERE source_name='4FGL J0051.5-4220' and cadence='daily' and bin_id='1684'

Database successfully updated.
Done.

Creating custom output directory:
/scratch/kocevski/180904

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

Retrieving the FT1 file...

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

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

Retrieving 46 files...
Done.


Merging files...

Checksum keywords updated successfully.

Merged file saved to:
/scratch/kocevski/180904/ft1_4FGL_J0051.5-4220_daily_bin1684.fits


Retrieving the FT1 file...

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

Retrieving 46 files...
Done.


Merging files...

Merged file saved to:
/scratch/kocevski/180904/ft2_4FGL_J0051.5-4220_daily_bin1684.fits


Selecting the photons:
time -p gtselect infile=/scratch/kocevski/180904/ft1_4FGL_J0051.5-4220_daily_bin1684.fits outfile=/scratch/kocevski/180904/ft1_filteredMKT_4FGL_J0051.5-4220_daily_bin1684.fits ra=12.8793 dec=-42.3455 rad=12.0 tmin=675820801.0 tmax=676080001.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 4.65
user 4.21
sys 0.24

Adding sun position to ft2 file:
/nfs/farm/g/glast/g/LCRepository/Repository/bin/sunpos /scratch/kocevski/180904/ft2_4FGL_J0051.5-4220_daily_bin1684.fits

Selecting the good time intervals:
time -p gtmktime scfile=/scratch/kocevski/180904/ft2_4FGL_J0051.5-4220_daily_bin1684.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/180904/ft1_filteredMKT_4FGL_J0051.5-4220_daily_bin1684.fits evtable="EVENTS" outfile="/scratch/kocevski/180904/ft1_filtered_4FGL_J0051.5-4220_daily_bin1684.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.54
user 0.33
sys 0.18

Number of photons that the gtmktime cut: 564

Generating the livetime cube:
time -p gtltcube evfile="/scratch/kocevski/180904/ft1_filtered_4FGL_J0051.5-4220_daily_bin1684.fits" evtable="EVENTS" scfile=/scratch/kocevski/180904/ft2_4FGL_J0051.5-4220_daily_bin1684.fits sctable="SC_DATA" outfile=/scratch/kocevski/180904/ltcube_675820801_676080001_4FGL_J0051.5-4220_daily_bin1684.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/180904/ft2_4FGL_J0051.5-4220_daily_bin1684.fits
.....................!
real 14.69
user 14.27
sys 0.35

Generating the exposure map:
time -p gtexpmap evfile=/scratch/kocevski/180904/ft1_filtered_4FGL_J0051.5-4220_daily_bin1684.fits evtable="EVENTS" scfile=/scratch/kocevski/180904/ft2_4FGL_J0051.5-4220_daily_bin1684.fits sctable="SC_DATA" expcube=/scratch/kocevski/180904/ltcube_675820801_676080001_4FGL_J0051.5-4220_daily_bin1684.fits outfile=/scratch/kocevski/180904/expmap_675820801_676080001_4FGL_J0051.5-4220_daily_bin1684.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/180904/ltcube_675820801_676080001_4FGL_J0051.5-4220_daily_bin1684.fits
.....................!
real 192.86
user 187.06
sys 5.40

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

Setting source of interest to:
4FGL J0051.5-4220 @ 12.8793 -42.3455

Creating the counts map:
time -p gtbin evfile=/scratch/kocevski/180904/ft1_filtered_4FGL_J0051.5-4220_daily_bin1684.fits scfile=/scratch/kocevski/180904/ft2_4FGL_J0051.5-4220_daily_bin1684.fits outfile=/scratch/kocevski/180904/cmap_675820801_676080001_4FGL_J0051.5-4220_daily_bin1684.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=12.8793 yref=-42.3455 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.59
user 0.38
sys 0.16

Creating the high resolution counts map:
time -p gtbin evfile=/scratch/kocevski/180904/ft1_filtered_4FGL_J0051.5-4220_daily_bin1684.fits scfile=/scratch/kocevski/180904/ft2_4FGL_J0051.5-4220_daily_bin1684.fits outfile=/scratch/kocevski/180904/cmap_HighResolution_675820801_676080001_4FGL_J0051.5-4220_daily_bin1684.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=12.8793 yref=-42.3455 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.56
user 0.40
sys 0.16

Computing the diffuse response:
time -p gtdiffrsp evfile=/scratch/kocevski/180904/ft1_filtered_4FGL_J0051.5-4220_daily_bin1684.fits evtable="EVENTS" scfile=/scratch/kocevski/180904/ft2_4FGL_J0051.5-4220_daily_bin1684.fits sctable="SC_DATA" srcmdl=/scratch/kocevski/180904/Model_4FGL_J0051.5-4220_daily_bin1684.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/180904/ft1_filtered_4FGL_J0051.5-4220_daily_bin1684.fits.....................!
real 47.66
user 45.26
sys 1.42

Creating the likelihood object...
obs = UnbinnedObs('/scratch/kocevski/180904/ft1_filtered_4FGL_J0051.5-4220_daily_bin1684.fits', '/scratch/kocevski/180904/ft2_4FGL_J0051.5-4220_daily_bin1684.fits', expMap='/scratch/kocevski/180904/expmap_675820801_676080001_4FGL_J0051.5-4220_daily_bin1684.fits', expCube='/scratch/kocevski/180904/ltcube_675820801_676080001_4FGL_J0051.5-4220_daily_bin1684.fits', irfs='P8R3_SOURCE_V2')
like = UnbinnedAnalysis(obs, '/scratch/kocevski/180904/Model_4FGL_J0051.5-4220_daily_bin1684.xml', optimizer='MINUIT')

Using source of interest name: '4FGL J0051.5-4220'

4FGL J0051.5-4220
   Spectrum: LogParabola
165         norm:  8.835e+00  0.000e+00  1.000e-04  1.000e+04 ( 1.000e-12)
166        alpha:  2.556e+00  0.000e+00  0.000e+00  5.000e+00 ( 1.000e+00) fixed
167         beta:  2.805e-01  0.000e+00  0.000e+00  1.000e+01 ( 1.000e+00) fixed
168           Eb:  3.304e+02  0.000e+00  3.000e+01  5.000e+05 ( 1.000e+00) fixed


Likelihood Fit Parameters:
Event file(s): /scratch/kocevski/180904/ft1_filtered_4FGL_J0051.5-4220_daily_bin1684.fits
Spacecraft file(s): /scratch/kocevski/180904/ft2_4FGL_J0051.5-4220_daily_bin1684.fits
Exposure map: /scratch/kocevski/180904/expmap_675820801_676080001_4FGL_J0051.5-4220_daily_bin1684.fits
Exposure cube: /scratch/kocevski/180904/ltcube_675820801_676080001_4FGL_J0051.5-4220_daily_bin1684.fits
IRFs: P8R3_SOURCE_V2
Source model file: /scratch/kocevski/180904/Model_4FGL_J0051.5-4220_daily_bin1684.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) = 6121.33741383

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

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

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'Prefactor '    53.398       1.0000         .10000E-03   10000.    
     2 'Prefactor '    .11170E-03   1.0000         .10000E-03   10000.    
     3 'Prefactor '    .12376E-01   1.0000         .10000E-03   10000.    
     4 'Prefactor '    .26825E-03   1.0000         .10000E-03   10000.    
     5 'Prefactor '    23.309       1.0000         .10000E-03   10000.    
     6 'Prefactor '    .10210E-03   1.0000         .10000E-03   10000.    
     7 'Prefactor '    .18912E-03   1.0000         .10000E-03   10000.    
     8 'Prefactor '    .10042E-03   1.0000         .10000E-03   10000.    
     9 'Prefactor '    .10002E-03   1.0000         .10000E-03   10000.    
    10 'norm      '    62.331       1.0000         .10000E-03   10000.    
    11 'Prefactor '    .29451E-03   1.0000         .10000E-03   10000.    
    12 'norm      '    .10000E-03   1.0000         .10000E-03   10000.    
    13 'Prefactor '    .10106E-03   1.0000         .10000E-03   10000.    
    14 'Prefactor '    1.8439       1.0000         .10000E-03   10000.    
    15 'Prefactor '    .10015E-03   1.0000         .10000E-03   10000.    
    16 'norm      '    4.0222       1.0000         .10000E-03   10000.    
    17 'Prefactor '    .10005E-03   1.0000         .10000E-03   10000.    
    18 'Prefactor '    3.6961       1.0000         .10000E-03   10000.    
    19 'Prefactor '    7.6146       1.0000         .10000E-03   10000.    
    20 'Normalizat'    1.1039       1.0000         .10000E-01   10.000    
    21 'Prefactor '    .62729       1.0000          .0000       10.000    
 **********
 **   15 **SET ERR    .5000    
 **********
 **********
 **   16 **SET GRAD    1.000    
 **********
 **********
 **   17 **MINIMIZE    .6230E+05   .2000E-04
 **********

 MIGRAD MINIMIZATION HAS CONVERGED.

 MIGRAD WILL VERIFY CONVERGENCE AND ERROR MATRIX.

 MIGRAD MINIMIZATION HAS CONVERGED.

 FCN=   6121.287     FROM MIGRAD    STATUS=CONVERGED    491 CALLS     2303 TOTAL
                     EDM=   .65E-09  STRATEGY=1  ERROR MATRIX UNCERTAINTY=  2.4%

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor     53.405        41.281       -.16999E-07   -.59099E-04
   2  Prefactor     .10000E-03    7.6644        .53357E-07** at limit **
   3  Prefactor     .11078E-03    33.923       -.22520E-05** at limit **
   4  Prefactor     .10002E-03    4.9829       -.96969E-06** at limit **
   5  Prefactor     23.259        22.038       -.15490E-05   -.32813E-03
   6  Prefactor     .10000E-03    8.6886        .31665E-06** at limit **
   7  Prefactor     .10000E-03    2.8815        .10992E-05** at limit **
   8  Prefactor     .10000E-03    12.899       -.14921E-06** at limit **
   9  Prefactor     .10000E-03    2.0769        .52126E-07** at limit **
  10  norm          62.337        32.892       -.70812E-06   -.27502E-03
  11  Prefactor     .10000E-03    120.24       -.83846E-06** at limit **
  12  norm          .10000E-03    .78047        .47537E-07** at limit **
  13  Prefactor     .10000E-03    4.3407       -.32602E-08** at limit **
  14  Prefactor     1.8442        2.8571        .50531E-06    .12648E-03
  15  Prefactor     .10000E-03    12.587       -.26370E-06** at limit **
  16  norm          4.0265        11.902        .53365E-06   -.63137E-04
  17  Prefactor     .10000E-03    37.011        .45785E-06** at limit **
  18  Prefactor     3.6962        2.9365        .24450E-07   -.20279E-04
  19  Prefactor     7.6159        3.8536        .50062E-08   -.40981E-04
  20  Normalizat    1.1038        .14514        .44167E-07   -.42338E-03
  21  Prefactor     .62728        .16620       -.15467E-05   -.22434E-03
                               ERR DEF=  .500    
Final values: 
  Prefactor  = 53.4054
  Prefactor  = 0.0001
  Prefactor  = 0.000110783
  Prefactor  = 0.000100016
  Prefactor  = 23.2594
  Prefactor  = 0.0001
  Prefactor  = 0.000100003
  Prefactor  = 0.0001
  Prefactor  = 0.0001
  norm       = 62.3371
  Prefactor  = 0.000100001
  norm       = 0.0001
  Prefactor  = 0.0001
  Prefactor  = 1.84423
  Prefactor  = 0.0001
  norm       = 4.02652
  Prefactor  = 0.0001
  Prefactor  = 3.69623
  Prefactor  = 7.61593
  Normalizat = 1.10385
  Prefactor  = 0.627283
 **********
 **   18 **HESSE 
 **********

 FCN=   6121.287     FROM HESSE     STATUS=OK           319 CALLS     2622 TOTAL
                     EDM=   .23E-08    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  Prefactor     53.405        41.277        .54888E-04   -1.4245    
   2  Prefactor     .10000E-03    7.6738        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   3  Prefactor     .11078E-03    32.927        .11674       -1.5707    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   4  Prefactor     .10002E-03    14.246        .31889E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   5  Prefactor     23.259        22.038        .82968E-04   -1.4743    
   6  Prefactor     .10000E-03    9.0105        .36285E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   7  Prefactor     .10000E-03    13.868        .23056E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   8  Prefactor     .10000E-03    12.932        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   9  Prefactor     .10000E-03    2.0877        .11013E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  10  norm          62.337        32.989        .50825E-04   -1.4127    
  11  Prefactor     .10000E-03    120.84        .21398E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  12  norm          .10000E-03    .78802        .67507E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  13  Prefactor     .10000E-03    4.3427        .15920E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  14  Prefactor     1.8442        2.8469        .15631E-03   -1.5436    
  15  Prefactor     .10000E-03    12.682        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  16  norm          4.0265        11.905        .20107E-03   -1.5307    
  17  Prefactor     .10000E-03    38.467        .36285E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  18  Prefactor     3.6962        2.9357        .11615E-03   -1.5323    
  19  Prefactor     7.6159        3.8542        .10511E-03   -1.5156    
  20  Normalizat    1.1038        .17203        .18837E-03   -.89628    
  21  Prefactor     .62728        .19035        .28029E-03   -1.0645    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 2.25897e-09
Minuit parameter uncertainties:
  1  41.2992
  2  1.06465e-05
  3  0.0377056
  4  0.00094281
  5  22.0459
  6  4.51494e-05
  7  0.000390592
  8  2.84445e-05
  9  2.93116e-06
  10  32.9988
  11  0.00050134
  12  1.39018e-06
  13  1.02368e-06
  14  2.84712
  15  1.97282e-05
  16  11.9121
  17  9.06063e-05
  18  2.93584
  19  3.85428
  20  0.172117
  21  0.190545
Done.

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

Extracting fit parameters...

4FGL J0051.5-4220
   Spectrum: LogParabola
165         norm:  6.234e+01  3.300e+01  1.000e-04  1.000e+04 ( 1.000e-12)
166        alpha:  2.556e+00  0.000e+00  0.000e+00  5.000e+00 ( 1.000e+00) fixed
167         beta:  2.805e-01  0.000e+00  0.000e+00  1.000e+01 ( 1.000e+00) fixed
168           Eb:  3.304e+02  0.000e+00  3.000e+01  5.000e+05 ( 1.000e+00) fixed

GAL_V02
   Spectrum: PowerLaw
620    Prefactor:  6.273e-01  1.905e-01  0.000e+00  1.000e+01 ( 1.000e+00)
621        Index:  0.000e+00  0.000e+00 -1.000e+00  1.000e+00 ( 1.000e+00) fixed
622        Scale:  1.000e+02  0.000e+00  5.000e+01  2.000e+02 ( 1.000e+00) fixed

EG_v02
   Spectrum: FileFunction
619   Normalization:  1.104e+00  1.721e-01  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Fixed Index): 5.16
Ra Dec: 12.879 -42.346
Photon Index (Fixed Index): 2.56 +/- 0.00
Photon Flux (Fixed Index): 7.07e-08 +/- 3.74e-08
Energy Flux (Fixed Index): 1.68e-05 +/- 8.91e-06

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) = 6121.06817035
delta logL = 0.219082466539

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

MINUIT Return Code (Free Index): 0
logL (Free Index) = 6121.0674851
delta logL = 0.219767712978

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'norm      '    54.478       1.0000         .10000E-03   10000.    
     2 'alpha     '    3.0744       1.0000          .0000       5.0000    
     3 'Normalizat'    1.0788       1.0000         .10000E-01   10.000    
     4 'Prefactor '    .65055       1.0000          .0000       10.000    
 **********
 **   15 **SET ERR    .5000    
 **********
 **********
 **   16 **SET GRAD    1.000    
 **********
 **********
 **   17 **MINIMIZE    .6230E+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=   6121.067     FROM MIGRAD    STATUS=CONVERGED     88 CALLS      298 TOTAL
                     EDM=   .46E-10    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  norm          54.481        35.508        .54344E-04   -.84013E-04
   2  alpha         3.0741        .83232        .18964E-01    .51957E-05
   3  Normalizat    1.0790        .17172        .19021E-03   -.27554E-04
   4  Prefactor     .65032        .19403        .27580E-03   -.76217E-04
                               ERR DEF=  .500    
Final values: 
  norm       = 54.4815
  alpha      = 3.07409
  Normalizat = 1.07898
  Prefactor  = 0.650323
 **********
 **   18 **HESSE 
 **********

 FCN=   6121.067     FROM HESSE     STATUS=OK            25 CALLS      323 TOTAL
                     EDM=   .37E-10    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  norm          54.481        34.183        .10869E-04   -1.4230    
   2  alpha         3.0741        .80180        .75857E-03    .23170    
   3  Normalizat    1.0790        .17191        .76082E-05   -.90430    
   4  Prefactor     .65032        .19411        .11032E-04   -1.0551    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 3.66011e-11
Minuit parameter uncertainties:
  1  34.1956
  2  0.817069
  3  0.171999
  4  0.194312
shell-init: error retrieving current directory: getcwd: cannot access parent directories: No such file or directory
rmdir: failed to remove `/scratch/kocevski/180904': 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) = 6121.06748438
delta logL = 0.219768429973

Extracting fit parameters...

4FGL J0051.5-4220
   Spectrum: LogParabola
165         norm:  5.448e+01  3.420e+01  1.000e-04  1.000e+04 ( 1.000e-12)
166        alpha:  3.074e+00  8.171e-01  0.000e+00  5.000e+00 ( 1.000e+00)
167         beta:  2.805e-01  0.000e+00  0.000e+00  1.000e+01 ( 1.000e+00) fixed
168           Eb:  3.304e+02  0.000e+00  3.000e+01  5.000e+05 ( 1.000e+00) fixed

GAL_V02
   Spectrum: PowerLaw
620    Prefactor:  6.503e-01  1.943e-01  0.000e+00  1.000e+01 ( 1.000e+00)
621        Index:  0.000e+00  0.000e+00 -1.000e+00  1.000e+00 ( 1.000e+00) fixed
622        Scale:  1.000e+02  0.000e+00  5.000e+01  2.000e+02 ( 1.000e+00) fixed

EG_v02
   Spectrum: FileFunction
619   Normalization:  1.079e+00  1.720e-01  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Free Index): 5.65
Ra Dec: 12.879 -42.346
Photon Index (Free Index): 3.07 +/- 0.82
Photon Flux (Free Index): 8.50e-08 +/- 4.50e-08
Energy Flux (Free Index): 1.64e-05 +/- 8.35e-06

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/180904/cmap_HighResolution_675820801_676080001_4FGL_J0051.5-4220_daily_bin1684.png

Cleaning up...

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

Updating database...

UPDATE lightcurve_data_v2 SET comment='SUCCESS', photon_flux='7.07e-08', energy_flux2='1.64e-05', photon_flux_error='3.74e-08', dlogl='2.20e-01', energy_flux='1.68e-05', photon_flux2='8.50e-08', job_status='DONE', time_completed='2022-06-05 00:18:59.077527', photon_index_error2='0.82', photon_index2='3.07', ts='5.16', fit_tolerance='1e-08', GAL='0.63', photon_index_error='0.00', energy_flux_error2='8.35e-06', EG='1.10', time_epoch_completed='1654413539.08', return_code='0', job_id='180904', GAL2='0.65', EG2='1.08', return_code2='0', energy_flux_error='8.91e-06', photon_flux_error2='4.50e-08', ts2='5.65', photon_index='2.56' WHERE bin_id='1684' AND source_name='4FGL J0051.5-4220' AND cadence='daily';

Database successfully updated.


Analysis Complete.


Sun Jun  5 00:18:59 PDT 2022


------------------------------------------------------------
Sender: LSF System <scs@bullet0185>
Subject: Job 180904: <4FGL_J0051.5-4220_daily_bin1684> in cluster <slac> Done

Job <4FGL_J0051.5-4220_daily_bin1684> was submitted from host <rhel6-64k> by user <kocevski> in cluster <slac> at Sun Jun  5 00:04:41 2022
Job was executed on host(s) <bullet0185>, in queue <medium>, as user <kocevski> in cluster <slac> at Sun Jun  5 00:05:35 2022
</u/ki/kocevski> was used as the home directory.
</u/ki/kocevski> was used as the working directory.
Started at Sun Jun  5 00:05:35 2022
Terminated at Sun Jun  5 00:18:59 2022
Results reported at Sun Jun  5 00:18:59 2022

Your job looked like:

------------------------------------------------------------
# LSBATCH: User input
/nfs/farm/g/glast/g/LCRepository/Likelihood/Scripts/LikelihoodAnalysis.py 4FGL_J0051.5-4220_daily_bin1684 12.8793 -42.3455 675820801 676080001 irfs=P8R3_SOURCE_V2 zmax=90 ROI=12 association=4FGL_J0051.5-4220 fixedModel=True performFreeIndexFit=True freeVariableSources=True nuke=True repositoryJob=True verbose=False
------------------------------------------------------------

Successfully completed.

Resource usage summary:

    CPU time :                                   609.00 sec.
    Max Memory :                                 1257 MB
    Average Memory :                             310.30 MB
    Total Requested Memory :                     -
    Delta Memory :                               -
    Max Swap :                                   -
    Max Processes :                              5
    Max Threads :                                21
    Run time :                                   804 sec.
    Turnaround time :                            858 sec.

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

