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 101 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 make4FGLDR3xml version 01r09.
The default diffuse model files and names are for P8R3, 4FGL DRs, and the default fermitools directory locations.

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


Performing analysis on: 4FGL_J0047.9+2233_daily_bin1763
RA = 11.9981, Dec = 22.5632
tmin = 696297601, tmax = 696556801
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='266657', job_status='RUN', time_executed='2023-01-28 00:09:33.864062', time_epoch_executed='1674893373.86' WHERE source_name='4FGL J0047.9+2233' and cadence='daily' and bin_id='1763'

Database successfully updated.
Done.

Creating custom output directory:
/scratch/kocevski/266657

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

Retrieving the FT1 file...

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

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

Retrieving 46 files...
Done.


Merging files...

Checksum keywords updated successfully.

Merged file saved to:
/scratch/kocevski/266657/ft1_4FGL_J0047.9+2233_daily_bin1763.fits


Retrieving the FT1 file...

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

Retrieving 46 files...
Done.


Merging files...

Merged file saved to:
/scratch/kocevski/266657/ft2_4FGL_J0047.9+2233_daily_bin1763.fits


Selecting the photons:
time -p gtselect infile=/scratch/kocevski/266657/ft1_4FGL_J0047.9+2233_daily_bin1763.fits outfile=/scratch/kocevski/266657/ft1_filteredMKT_4FGL_J0047.9+2233_daily_bin1763.fits ra=11.9981 dec=22.5632 rad=12.0 tmin=696297601.0 tmax=696556801.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.69
user 3.37
sys 0.24

Adding sun position to ft2 file:
/nfs/farm/g/glast/g/LCRepository/Repository/bin/sunpos /scratch/kocevski/266657/ft2_4FGL_J0047.9+2233_daily_bin1763.fits

Selecting the good time intervals:
time -p gtmktime scfile=/scratch/kocevski/266657/ft2_4FGL_J0047.9+2233_daily_bin1763.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/266657/ft1_filteredMKT_4FGL_J0047.9+2233_daily_bin1763.fits evtable="EVENTS" outfile="/scratch/kocevski/266657/ft1_filtered_4FGL_J0047.9+2233_daily_bin1763.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.69
user 0.33
sys 0.18

Number of photons that the gtmktime cut: 637

Generating the livetime cube:
time -p gtltcube evfile="/scratch/kocevski/266657/ft1_filtered_4FGL_J0047.9+2233_daily_bin1763.fits" evtable="EVENTS" scfile=/scratch/kocevski/266657/ft2_4FGL_J0047.9+2233_daily_bin1763.fits sctable="SC_DATA" outfile=/scratch/kocevski/266657/ltcube_696297601_696556801_4FGL_J0047.9+2233_daily_bin1763.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/266657/ft2_4FGL_J0047.9+2233_daily_bin1763.fits
.....................!
real 15.53
user 14.92
sys 0.36

Generating the exposure map:
time -p gtexpmap evfile=/scratch/kocevski/266657/ft1_filtered_4FGL_J0047.9+2233_daily_bin1763.fits evtable="EVENTS" scfile=/scratch/kocevski/266657/ft2_4FGL_J0047.9+2233_daily_bin1763.fits sctable="SC_DATA" expcube=/scratch/kocevski/266657/ltcube_696297601_696556801_4FGL_J0047.9+2233_daily_bin1763.fits outfile=/scratch/kocevski/266657/expmap_696297601_696556801_4FGL_J0047.9+2233_daily_bin1763.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/266657/ltcube_696297601_696556801_4FGL_J0047.9+2233_daily_bin1763.fits
.....................!
real 194.03
user 187.30
sys 5.81

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

Setting source of interest to:
4FGL J0047.9+2233 @ 11.9981 22.5632

Creating the counts map:
time -p gtbin evfile=/scratch/kocevski/266657/ft1_filtered_4FGL_J0047.9+2233_daily_bin1763.fits scfile=/scratch/kocevski/266657/ft2_4FGL_J0047.9+2233_daily_bin1763.fits outfile=/scratch/kocevski/266657/cmap_696297601_696556801_4FGL_J0047.9+2233_daily_bin1763.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=11.9981 yref=22.5632 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.15

Creating the high resolution counts map:
time -p gtbin evfile=/scratch/kocevski/266657/ft1_filtered_4FGL_J0047.9+2233_daily_bin1763.fits scfile=/scratch/kocevski/266657/ft2_4FGL_J0047.9+2233_daily_bin1763.fits outfile=/scratch/kocevski/266657/cmap_HighResolution_696297601_696556801_4FGL_J0047.9+2233_daily_bin1763.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=11.9981 yref=22.5632 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.39
sys 0.15

Computing the diffuse response:
time -p gtdiffrsp evfile=/scratch/kocevski/266657/ft1_filtered_4FGL_J0047.9+2233_daily_bin1763.fits evtable="EVENTS" scfile=/scratch/kocevski/266657/ft2_4FGL_J0047.9+2233_daily_bin1763.fits sctable="SC_DATA" srcmdl=/scratch/kocevski/266657/Model_4FGL_J0047.9+2233_daily_bin1763.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/266657/ft1_filtered_4FGL_J0047.9+2233_daily_bin1763.fits.....................!
real 70.67
user 68.41
sys 1.41

Creating the likelihood object...
obs = UnbinnedObs('/scratch/kocevski/266657/ft1_filtered_4FGL_J0047.9+2233_daily_bin1763.fits', '/scratch/kocevski/266657/ft2_4FGL_J0047.9+2233_daily_bin1763.fits', expMap='/scratch/kocevski/266657/expmap_696297601_696556801_4FGL_J0047.9+2233_daily_bin1763.fits', expCube='/scratch/kocevski/266657/ltcube_696297601_696556801_4FGL_J0047.9+2233_daily_bin1763.fits', irfs='P8R3_SOURCE_V2')
like = UnbinnedAnalysis(obs, '/scratch/kocevski/266657/Model_4FGL_J0047.9+2233_daily_bin1763.xml', optimizer='MINUIT')

Using source of interest name: '4FGL J0047.9+2233'

4FGL J0047.9+2233
   Spectrum: PowerLaw
177    Prefactor:  3.900e+00  0.000e+00  0.000e+00  1.000e+06 ( 1.000e-13)
178        Index:  2.509e+00  0.000e+00  0.000e+00  1.000e+01 (-1.000e+00) fixed
179        Scale:  1.177e+03  0.000e+00  3.000e+01  5.000e+05 ( 1.000e+00) fixed


Likelihood Fit Parameters:
Event file(s): /scratch/kocevski/266657/ft1_filtered_4FGL_J0047.9+2233_daily_bin1763.fits
Spacecraft file(s): /scratch/kocevski/266657/ft2_4FGL_J0047.9+2233_daily_bin1763.fits
Exposure map: /scratch/kocevski/266657/expmap_696297601_696556801_4FGL_J0047.9+2233_daily_bin1763.fits
Exposure cube: /scratch/kocevski/266657/ltcube_696297601_696556801_4FGL_J0047.9+2233_daily_bin1763.fits
IRFs: P8R3_SOURCE_V2
Source model file: /scratch/kocevski/266657/Model_4FGL_J0047.9+2233_daily_bin1763.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) = 6860.65409432

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

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

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'norm      '    .14508E-04   1.0000          .0000       .10000E+07
     2 'Prefactor '    14.856       1.0000          .0000       .10000E+07
     3 'Prefactor '    .34556E-02   1.0000          .0000       .10000E+07
     4 'Prefactor '    14.708       1.0000          .0000       .10000E+07
     5 'norm      '    5.2486       1.0000          .0000       .10000E+07
     6 'Prefactor '    .21077E-02   1.0000          .0000       .10000E+07
     7 'Prefactor '    .16604E-02   1.0000          .0000       .10000E+07
     8 'norm      '    3.1418       1.0000          .0000       .10000E+07
     9 'norm      '    1.3767       1.0000          .0000       .10000E+07
    10 'Prefactor '    9.8455       1.0000          .0000       .10000E+07
    11 'Prefactor '    .14987E-01   1.0000          .0000       .10000E+07
    12 'Prefactor '    .31586E-04   1.0000          .0000       .10000E+07
    13 'Prefactor '    .21236       1.0000          .0000       .10000E+07
    14 'norm      '    .33988       1.0000          .0000       .10000E+07
    15 'norm      '    2.3326       1.0000          .0000       .10000E+07
    16 'Prefactor '    .29978E-02   1.0000          .0000       .10000E+07
    17 'Prefactor '    20.667       1.0000          .0000       .10000E+07
    18 'Prefactor '    .10230E-03   1.0000          .0000       .10000E+07
    19 'Prefactor '    .62970E-02   1.0000          .0000       .10000E+07
    20 'Prefactor '    73.236       1.0000          .0000       .10000E+07
    21 'Normalizat'    .93215       1.0000         .10000E-01   10.000    
    22 'Prefactor '    .95772       1.0000          .0000       10.000    
 **********
 **   15 **SET ERR    .5000    
 **********
 **********
 **   16 **SET GRAD    1.000    
 **********
 **********
 **   17 **MINIMIZE    .4950E+05   .2000E-04
 **********

 MIGRAD MINIMIZATION HAS CONVERGED.

 FCN=   6860.623     FROM MIGRAD    STATUS=CONVERGED    153 CALLS     1800 TOTAL
                     EDM=   .58E-09  STRATEGY=1  ERROR MATRIX UNCERTAINTY=  2.3%

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  norm           .0000        3.1390        .10778E-06** at limit **
   2  Prefactor     14.761        9.5332        .54059E-07    .55403E-03
   3  Prefactor     .30159E-06    6.8610       -.22900E-07** at limit **
   4  Prefactor     14.707        4.3983        .80976E-07    .81166E-03
   5  norm          5.2276        5.2941        .15447E-07    .30832E-05
   6  Prefactor     .60302E-06    60.829        .97531E-06** at limit **
   7  Prefactor     .70249E-06    7.2929        .17998E-06** at limit **
   8  norm          3.1412        2.4827       -.32497E-07   -.52476E-03
   9  norm          1.3902        8.1151        .44222E-06    .33182E-03
  10  Prefactor     9.7903        8.2359       -.54053E-07   -.74532E-03
  11  Prefactor     .10128E-04    136.83       -.11172E-05** at limit **
  12  Prefactor     .77716E-09    3.4036       -.58637E-06** at limit **
  13  Prefactor     .38858E-09    38.801        .79847E-06** at limit **
  14  norm          .33974        .52287       -.69658E-07   -.16538E-02
  15  norm          2.3322        1.2408        .19569E-07    .14459E-03
  16  Prefactor     .11657E-08    5.2098        .46510E-07** at limit **
  17  Prefactor     20.162        6.7706       -.27720E-07   -.46435E-02
  18  Prefactor     .50368E-05    38.847        .25041E-07** at limit **
  19  Prefactor     .52736E-08    19.562       -.29723E-06** at limit **
  20  Prefactor     73.426        18.597        .13525E-07   -.17743    
  21  Normalizat    .93294        .20781       -.45297E-05   -.33169E-04
  22  Prefactor     .95773        .14443        .22674E-05   -.35170E-04
                               ERR DEF=  .500    
Final values: 
  norm       = 0
  Prefactor  = 14.761
  Prefactor  = 3.01592e-07
  Prefactor  = 14.707
  norm       = 5.2276
  Prefactor  = 6.03018e-07
  Prefactor  = 7.02494e-07
  norm       = 3.14123
  norm       = 1.39022
  Prefactor  = 9.7903
  Prefactor  = 1.01275e-05
  Prefactor  = 7.77156e-10
  Prefactor  = 3.88578e-10
  norm       = 0.339737
  norm       = 2.3322
  Prefactor  = 1.16573e-09
  Prefactor  = 20.1623
  Prefactor  = 5.0368e-06
  Prefactor  = 5.27356e-09
  Prefactor  = 73.4264
  Normalizat = 0.932942
  Prefactor  = 0.957728
 **********
 **   18 **HESSE 
 **********

 FCN=   6860.623     FROM HESSE     STATUS=OK           400 CALLS     2200 TOTAL
                     EDM=   .13E-05    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  norm           .0000        3.0756        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   2  Prefactor     14.761        9.5646        .25960E-03   -1.5631    
   3  Prefactor     .30159E-06    15.524        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   4  Prefactor     14.707        4.3994        .26091E-03   -1.5631    
   5  norm          5.2276        5.2924        .43851E-03   -1.5662    
   6  Prefactor     .60302E-06    61.287        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   7  Prefactor     .70249E-06    14.734        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   8  norm          3.1412        2.4806        .57165E-03   -1.5673    
   9  norm          1.3902        8.6406        .92790E-03   -1.5684    
  10  Prefactor     9.7903        8.2655        .31911E-03   -1.5645    
  11  Prefactor     .10128E-04    5.4448        .12306E-01   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  12  Prefactor     .77716E-09    3.3992        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  13  Prefactor     .38858E-09    38.731        .11560E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  14  norm          .33974        .56515        .16563E-02   -1.5696    
  15  norm          2.3322        1.2445        .67115E-03   -1.5677    
  16  Prefactor     .11657E-08    15.152        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  17  Prefactor     20.162        39.593        .22004E-03   -1.5618    
  18  Prefactor     .50368E-05    4.9073        .54865E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  19  Prefactor     .52736E-08    20.083        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  20  Prefactor     73.426        53.216        .11686E-03   -1.5537    
  21  Normalizat    .93294        .18349        .45311E-01   -.95312    
  22  Prefactor     .95773        .12464        .45737E-01   -.94152    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 1.31304e-06
Minuit parameter uncertainties:
  1  1.68906e-05
  2  9.56465
  3  0.00432758
  4  4.3994
  5  5.29243
  6  0.0121589
  7  0.00643443
  8  2.48059
  9  6.93177
  10  8.2655
  11  0.0148515
  12  0.000103863
  13  0.000250363
  14  0.565148
  15  1.24446
  16  0.00026766
  17  39.5932
  18  0.00994326
  19  0.000649577
  20  53.216
  21  0.183615
  22  0.124679
Done.

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

Extracting fit parameters...

4FGL J0047.9+2233
   Spectrum: PowerLaw
177    Prefactor:  1.013e-05  1.485e-02  0.000e+00  1.000e+06 ( 1.000e-13)
178        Index:  2.509e+00  0.000e+00  0.000e+00  1.000e+01 (-1.000e+00) fixed
179        Scale:  1.177e+03  0.000e+00  3.000e+01  5.000e+05 ( 1.000e+00) fixed

GAL_V02
   Spectrum: PowerLaw
492    Prefactor:  9.577e-01  1.247e-01  0.000e+00  1.000e+01 ( 1.000e+00)
493        Index:  0.000e+00  0.000e+00 -1.000e+00  1.000e+00 ( 1.000e+00) fixed
494        Scale:  1.000e+02  0.000e+00  5.000e+01  2.000e+02 ( 1.000e+00) fixed

EG_v02
   Spectrum: FileFunction
491   Normalization:  9.329e-01  1.836e-01  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Fixed Index): -0.00
Ra Dec: 11.998 22.563
Photon Flux Upper Limit: 8.56e-08 ph cm-2 s-1
Energy Flux Upper Limit: 6.66e-03 MeV cm-2 s-1

Saving results to:
/scratch/kocevski/266657/likelihoodResults_696297601_696556801_4FGL_J0047.9+2233_daily_bin1763.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): 102
logL (Free Index) = 6860.62927969
delta logL = -0.0067044619891

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

MINUIT Return Code (Free Index): 0
logL (Free Index) = 6860.52533716
delta logL = 0.097238070126

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'Prefactor '    7.3048       1.0000          .0000       .10000E+07
     2 'Index     '    1.8241       1.0000          .0000       10.000    
     3 'Normalizat'    .93245       1.0000         .10000E-01   10.000    
     4 'Prefactor '    .95371       1.0000          .0000       10.000    
 **********
 **   15 **SET ERR    .5000    
 **********
 **********
 **   16 **SET GRAD    1.000    
 **********
 **********
 **   17 **MINIMIZE    .4950E+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=   6860.525     FROM MIGRAD    STATUS=CONVERGED    100 CALLS      275 TOTAL
                     EDM=   .47E-11    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor     7.3106        18.266        .14835E-04   -.11802E-03
   2  Index         1.8229        .90446        .14438E-01    .20890E-05
   3  Normalizat    .93242        .20508        .28442E-03   -.26701E-04
   4  Prefactor     .95373        .14373        .19606E-03    .34791E-06
                               ERR DEF=  .500    
Final values: 
  Prefactor  = 7.31056
  Index      = 1.82291
  Normalizat = 0.932421
  Prefactor  = 0.953733
 **********
 **   18 **HESSE 
 **********

 FCN=   6860.525     FROM HESSE     STATUS=OK            25 CALLS      300 TOTAL
                     EDM=   .46E-11    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  Prefactor     7.3106        18.085        .59339E-06   -1.5654    
   2  Index         1.8229        .89612        .57753E-03   -.68855    
   3  Normalizat    .93242        .20523        .11377E-04   -.95330    
   4  Prefactor     .95373        .14382        .78426E-05   -.94288    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 4.56068e-12
Minuit parameter uncertainties:
  1  18.0849
  2  0.904371
  3  0.205404
  4  0.143881
shell-init: error retrieving current directory: getcwd: cannot access parent directories: No such file or directory
rmdir: failed to remove `/scratch/kocevski/266657': 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) = 6860.52533627
delta logL = 0.0972389584231

Extracting fit parameters...

4FGL J0047.9+2233
   Spectrum: PowerLaw
177    Prefactor:  7.311e+00  1.808e+01  0.000e+00  1.000e+06 ( 1.000e-13)
178        Index:  1.823e+00  9.044e-01  0.000e+00  1.000e+01 (-1.000e+00)
179        Scale:  1.177e+03  0.000e+00  3.000e+01  5.000e+05 ( 1.000e+00) fixed

GAL_V02
   Spectrum: PowerLaw
492    Prefactor:  9.537e-01  1.439e-01  0.000e+00  1.000e+01 ( 1.000e+00)
493        Index:  0.000e+00  0.000e+00 -1.000e+00  1.000e+00 ( 1.000e+00) fixed
494        Scale:  1.000e+02  0.000e+00  5.000e+01  2.000e+02 ( 1.000e+00) fixed

EG_v02
   Spectrum: FileFunction
491   Normalization:  9.324e-01  2.054e-01  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Free Index): -0.00
Ra Dec: 11.998 22.563

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/266657/cmap_HighResolution_696297601_696556801_4FGL_J0047.9+2233_daily_bin1763.png

Cleaning up...

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

Updating database...

UPDATE lightcurve_data_v2 SET energy_flux_upper_limit='6.66e-03', job_status='DONE', photon_flux_upper_limit='8.56e-08', time_completed='2023-01-28 00:19:37.390866', job_id='266657', GAL2='0.95', fit_tolerance='1e-08', EG2='0.93', EG='0.93', time_epoch_completed='1674893977.39', return_code2='0', ts='-0.00', comment='SUCCESS', return_code='0', GAL='0.96', dlogl='9.72e-02', ts2='0.20', photon_index_error='0.00', photon_index='2.51' WHERE bin_id='1763' AND source_name='4FGL J0047.9+2233' AND cadence='daily';

Database successfully updated.


Analysis Complete.


Sat Jan 28 00:19:37 PST 2023


------------------------------------------------------------
Sender: LSF System <lsf@bullet0255>
Subject: Job 266657: <4FGL_J0047.9+2233_daily_bin1763> in cluster <slac> Done

Job <4FGL_J0047.9+2233_daily_bin1763> was submitted from host <rhel6-64q> by user <kocevski> in cluster <slac> at Sat Jan 28 00:04:58 2023
Job was executed on host(s) <bullet0255>, in queue <medium>, as user <kocevski> in cluster <slac> at Sat Jan 28 00:07:37 2023
</u/ki/kocevski> was used as the home directory.
</u/ki/kocevski> was used as the working directory.
Started at Sat Jan 28 00:07:37 2023
Terminated at Sat Jan 28 00:19:38 2023
Results reported at Sat Jan 28 00:19:38 2023

Your job looked like:

------------------------------------------------------------
# LSBATCH: User input
/nfs/farm/g/glast/g/LCRepository/Likelihood/Scripts/LikelihoodAnalysis.py 4FGL_J0047.9+2233_daily_bin1763 11.9981 22.5632 696297601 696556801 irfs=P8R3_SOURCE_V2 zmax=90 ROI=12 association=4FGL_J0047.9+2233 fixedModel=True performFreeIndexFit=True freeVariableSources=True nuke=True repositoryJob=True verbose=False
------------------------------------------------------------

Successfully completed.

Resource usage summary:

    CPU time :                                   603.57 sec.
    Max Memory :                                 1093 MB
    Average Memory :                             300.54 MB
    Total Requested Memory :                     -
    Delta Memory :                               -
    Max Swap :                                   -
    Max Processes :                              5
    Max Threads :                                21
    Run time :                                   720 sec.
    Turnaround time :                            880 sec.

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

