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


Performing analysis on: 4FGL_J0047.9+2233_daily_bin1723
RA = 11.9981, Dec = 22.5632
tmin = 685929601, tmax = 686188801
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='430107', job_status='RUN', time_executed='2022-09-30 00:07:43.088059', time_epoch_executed='1664521663.09' WHERE source_name='4FGL J0047.9+2233' and cadence='daily' and bin_id='1723'

Database successfully updated.
Done.

Creating custom output directory:
/scratch/kocevski/430107

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

Retrieving the FT1 file...

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

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

Retrieving 45 files...
Done.


Merging files...

Checksum keywords updated successfully.

Merged file saved to:
/scratch/kocevski/430107/ft1_4FGL_J0047.9+2233_daily_bin1723.fits


Retrieving the FT1 file...

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

Retrieving 45 files...
Done.


Merging files...

Merged file saved to:
/scratch/kocevski/430107/ft2_4FGL_J0047.9+2233_daily_bin1723.fits


Selecting the photons:
time -p gtselect infile=/scratch/kocevski/430107/ft1_4FGL_J0047.9+2233_daily_bin1723.fits outfile=/scratch/kocevski/430107/ft1_filteredMKT_4FGL_J0047.9+2233_daily_bin1723.fits ra=11.9981 dec=22.5632 rad=12.0 tmin=685929601.0 tmax=686188801.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.68
user 3.40
sys 0.23

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

Selecting the good time intervals:
time -p gtmktime scfile=/scratch/kocevski/430107/ft2_4FGL_J0047.9+2233_daily_bin1723.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/430107/ft1_filteredMKT_4FGL_J0047.9+2233_daily_bin1723.fits evtable="EVENTS" outfile="/scratch/kocevski/430107/ft1_filtered_4FGL_J0047.9+2233_daily_bin1723.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.55
user 0.35
sys 0.15

Number of photons that the gtmktime cut: 644

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

Generating the exposure map:
time -p gtexpmap evfile=/scratch/kocevski/430107/ft1_filtered_4FGL_J0047.9+2233_daily_bin1723.fits evtable="EVENTS" scfile=/scratch/kocevski/430107/ft2_4FGL_J0047.9+2233_daily_bin1723.fits sctable="SC_DATA" expcube=/scratch/kocevski/430107/ltcube_685929601_686188801_4FGL_J0047.9+2233_daily_bin1723.fits outfile=/scratch/kocevski/430107/expmap_685929601_686188801_4FGL_J0047.9+2233_daily_bin1723.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/430107/ltcube_685929601_686188801_4FGL_J0047.9+2233_daily_bin1723.fits
.....................!
real 193.80
user 187.91
sys 5.03

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/430107/ft1_filtered_4FGL_J0047.9+2233_daily_bin1723.fits scfile=/scratch/kocevski/430107/ft2_4FGL_J0047.9+2233_daily_bin1723.fits outfile=/scratch/kocevski/430107/cmap_685929601_686188801_4FGL_J0047.9+2233_daily_bin1723.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.60
user 0.40
sys 0.15

Creating the high resolution counts map:
time -p gtbin evfile=/scratch/kocevski/430107/ft1_filtered_4FGL_J0047.9+2233_daily_bin1723.fits scfile=/scratch/kocevski/430107/ft2_4FGL_J0047.9+2233_daily_bin1723.fits outfile=/scratch/kocevski/430107/cmap_HighResolution_685929601_686188801_4FGL_J0047.9+2233_daily_bin1723.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.57
user 0.40
sys 0.17

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

Creating the likelihood object...
obs = UnbinnedObs('/scratch/kocevski/430107/ft1_filtered_4FGL_J0047.9+2233_daily_bin1723.fits', '/scratch/kocevski/430107/ft2_4FGL_J0047.9+2233_daily_bin1723.fits', expMap='/scratch/kocevski/430107/expmap_685929601_686188801_4FGL_J0047.9+2233_daily_bin1723.fits', expCube='/scratch/kocevski/430107/ltcube_685929601_686188801_4FGL_J0047.9+2233_daily_bin1723.fits', irfs='P8R3_SOURCE_V2')
like = UnbinnedAnalysis(obs, '/scratch/kocevski/430107/Model_4FGL_J0047.9+2233_daily_bin1723.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/430107/ft1_filtered_4FGL_J0047.9+2233_daily_bin1723.fits
Spacecraft file(s): /scratch/kocevski/430107/ft2_4FGL_J0047.9+2233_daily_bin1723.fits
Exposure map: /scratch/kocevski/430107/expmap_685929601_686188801_4FGL_J0047.9+2233_daily_bin1723.fits
Exposure cube: /scratch/kocevski/430107/ltcube_685929601_686188801_4FGL_J0047.9+2233_daily_bin1723.fits
IRFs: P8R3_SOURCE_V2
Source model file: /scratch/kocevski/430107/Model_4FGL_J0047.9+2233_daily_bin1723.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) = 6993.48108256

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

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

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'norm      '    .18274E-06   1.0000          .0000       .10000E+07
     2 'Prefactor '    .20654E-03   1.0000          .0000       .10000E+07
     3 'Prefactor '    .11047E-03   1.0000          .0000       .10000E+07
     4 'Prefactor '    11.323       1.0000          .0000       .10000E+07
     5 'norm      '    12.206       1.0000          .0000       .10000E+07
     6 'Prefactor '    .29541E-02   1.0000          .0000       .10000E+07
     7 'Prefactor '    .20168E-02   1.0000          .0000       .10000E+07
     8 'norm      '    9.5221       1.0000          .0000       .10000E+07
     9 'norm      '    .18230E-06   1.0000          .0000       .10000E+07
    10 'Prefactor '    .12186E-02   1.0000          .0000       .10000E+07
    11 'Prefactor '    8.6153       1.0000          .0000       .10000E+07
    12 'Prefactor '    4.2836       1.0000          .0000       .10000E+07
    13 'Prefactor '    .31125E-02   1.0000          .0000       .10000E+07
    14 'norm      '    2.4896       1.0000          .0000       .10000E+07
    15 'norm      '    3.1575       1.0000          .0000       .10000E+07
    16 'Prefactor '    9.5708       1.0000          .0000       .10000E+07
    17 'Prefactor '    .75164       1.0000          .0000       .10000E+07
    18 'Prefactor '    .67962E-05   1.0000          .0000       .10000E+07
    19 'Prefactor '    .83217       1.0000          .0000       .10000E+07
    20 'Prefactor '    4.3230       1.0000          .0000       .10000E+07
    21 'Normalizat'    1.0011       1.0000         .10000E-01   10.000    
    22 'Prefactor '    .99424       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=   6993.467     FROM MIGRAD    STATUS=CONVERGED    152 CALLS     1375 TOTAL
                     EDM=   .18E-08  STRATEGY=1  ERROR MATRIX UNCERTAINTY=  1.2%

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  norm           .0000        1.3733       -.22799E-06** at limit **
   2  Prefactor     .55511E-10    1.8687        .10010E-06** at limit **
   3  Prefactor     .55511E-10    1.9934        .42744E-07** at limit **
   4  Prefactor     11.275        4.4527       -.24111E-07    .10731E-02
   5  norm          12.208        8.4996        .20002E-05    .11047    
   6  Prefactor     .58287E-07    41.860        .10209E-06** at limit **
   7  Prefactor     .88818E-09    3.9599       -.26371E-06** at limit **
   8  norm          9.4910        4.0311       -.25336E-08    .33836E-02
   9  norm          .10558E-06    5.5503       -.12753E-05** at limit **
  10  Prefactor     .16653E-09    3.0320        .38998E-06** at limit **
  11  Prefactor     8.5430        12.158        .19534E-06    .91969E-01
  12  Prefactor     4.3051        2.2584        .40220E-06   -.51281E-02
  13  Prefactor     .61062E-09    12.021       -.58504E-06** at limit **
  14  norm          2.4895        .77731       -.52190E-09   -.69275E-02
  15  norm          3.1544        1.4875        .12181E-06   -.49014E-02
  16  Prefactor     9.5682        8.3211       -.34373E-06   -.14478E-02
  17  Prefactor     .14033E-06    248.76       -.35923E-06** at limit **
  18  Prefactor     .16581E-06    5.8517        .87383E-06** at limit **
  19  Prefactor     .91458        19.950        .67968E-05   -.39235E-01
  20  Prefactor     4.3916        5.3259        .19525E-05   -.18376E-01
  21  Normalizat    1.0018        .22815       -.19170E-05   -.14978E-03
  22  Prefactor     .99427        .14990       -.80679E-05   -.49051E-03
                               ERR DEF=  .500    
Final values: 
  norm       = 0
  Prefactor  = 5.55112e-11
  Prefactor  = 5.55112e-11
  Prefactor  = 11.2749
  norm       = 12.2081
  Prefactor  = 5.82867e-08
  Prefactor  = 8.88178e-10
  norm       = 9.49096
  norm       = 1.05582e-07
  Prefactor  = 1.66533e-10
  Prefactor  = 8.54296
  Prefactor  = 4.30509
  Prefactor  = 6.10623e-10
  norm       = 2.48949
  norm       = 3.15436
  Prefactor  = 9.56822
  Prefactor  = 1.40332e-07
  Prefactor  = 1.65812e-07
  Prefactor  = 0.914578
  Prefactor  = 4.39158
  Normalizat = 1.00179
  Prefactor  = 0.994268
 **********
 **   18 **HESSE 
 **********

 FCN=   6993.467     FROM HESSE     STATUS=OK           386 CALLS     1761 TOTAL
                     EDM=   .59E-06    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  norm           .0000        1.3691        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   2  Prefactor     .55511E-10    1.8729        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   3  Prefactor     .55511E-10    1.9977        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   4  Prefactor     11.275        4.4598        .29747E-03   -1.5641    
   5  norm          12.208        9.2482        .28647E-03   -1.5638    
   6  Prefactor     .58287E-07    41.928        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   7  Prefactor     .88818E-09    3.9694        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   8  norm          9.4910        4.0533        .32452E-03   -1.5646    
   9  norm          .10558E-06    5.7952        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  10  Prefactor     .16653E-09    3.0329        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  11  Prefactor     8.5430        14.671        .34127E-03   -1.5650    
  12  Prefactor     4.3051        10.782        .48654E-03   -1.5666    
  13  Prefactor     .61062E-09    12.031        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  14  norm          2.4895        .78047        .64755E-03   -1.5676    
  15  norm          3.1544        1.4985        .57016E-03   -1.5672    
  16  Prefactor     9.5682        8.3212        .32369E-03   -1.5646    
  17  Prefactor     .14033E-06    242.94        .56611E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  18  Prefactor     .16581E-06    6.1223        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  19  Prefactor     .91458        36.671        .50567E-03   -1.5689    
  20  Prefactor     4.3916        59.146        .48426E-03   -1.5666    
  21  Normalizat    1.0018        .19401        .67074E-01   -.92971    
  22  Prefactor     .99427        .12742        .46195E-01   -.92921    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 5.87315e-07
Minuit parameter uncertainties:
  1  1.75563e-06
  2  1.46263e-05
  3  1.85035e-05
  4  4.45978
  5  9.24817
  6  0.00312698
  7  0.000118472
  8  4.05325
  9  0.00156451
  10  4.76994e-05
  11  14.6713
  12  10.7816
  13  0.000169037
  14  0.780474
  15  1.49847
  16  8.32125
  17  0.0116788
  18  0.00201505
  19  11.5826
  20  32.2336
  21  0.194149
  22  0.127456
Done.

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

Extracting fit parameters...

4FGL J0047.9+2233
   Spectrum: PowerLaw
177    Prefactor:  8.543e+00  1.467e+01  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.943e-01  1.275e-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:  1.002e+00  1.941e-01  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Fixed Index): 0.40
Ra Dec: 11.998 22.563
Photon Flux Upper Limit: 1.27e-07 ph cm-2 s-1
Energy Flux Upper Limit: 9.92e-03 MeV cm-2 s-1

Saving results to:
/scratch/kocevski/430107/likelihoodResults_685929601_686188801_4FGL_J0047.9+2233_daily_bin1723.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) = 6991.17597503
delta logL = 2.29140802503

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

MINUIT Return Code (Free Index): 0
logL (Free Index) = 6990.42099685
delta logL = 3.04638620921

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'Prefactor '    .23392E-05   1.0000          .0000       .10000E+07
     2 'Index     '    9.9992       1.0000          .0000       10.000    
     3 'Normalizat'    .83733       1.0000         .10000E-01   10.000    
     4 'Prefactor '    1.0790       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.
  MNHESS FAILS AND WILL RETURN DIAGONAL MATRIX. 

 FCN=   6993.660     FROM MIGRAD    STATUS=CONVERGED    101 CALLS      555 TOTAL
                     EDM=   .51E-16  STRATEGY=1  ERROR MATRIX UNCERTAINTY=100.0%

  EXT PARAMETER                APPROXIMATE        STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor      .0000        .86405        .42118E-03** at limit **
   2  Index         .46873        .66670       -.81946E-08     .0000    
   3  Normalizat    1.0356        1.2941       -.19598E-05    .15430E-06
   4  Prefactor     .98406        1.1171        .52917E-06    .32193E-06
                               ERR DEF=  .500    
Final values: 
  Prefactor  = 0
  Index      = 0.468733
  Normalizat = 1.03561
  Prefactor  = 0.984057
 **********
 **   18 **HESSE 
 **********
  MNHESS FAILS AND WILL RETURN DIAGONAL MATRIX. 

 FCN=   6993.660     FROM HESSE     STATUS=FAILED         9 CALLS      564 TOTAL
                     EDM=   .51E-16  STRATEGY=1  ERROR MATRIX UNCERTAINTY=100.0%

  EXT PARAMETER                APPROXIMATE     INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  Prefactor      .0000        .86405        .42118E-03   -1899.1    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   2  Index         .13514E-01    .68654       -.81946E-08   -.22182E+06
   3  Normalizat    1.0356        1.2941       -.19598E-05    1147.6    
   4  Prefactor     .98406        1.1171        .52917E-06    783.19    
                               ERR DEF=  .500    
Minuit fit quality: 1   estimated distance: 5.08098e-17
Minuit parameter uncertainties:
  1  6.57068e-09
  2  0.678283
  3  1.33705
  4  1.14512
shell-init: error retrieving current directory: getcwd: cannot access parent directories: No such file or directory
rmdir: failed to remove `/scratch/kocevski/430107': 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): 101
logL (Free Index) = 6993.66001923
delta logL = -0.192636174119

Extracting fit parameters...

4FGL J0047.9+2233
   Spectrum: PowerLaw
177    Prefactor:  0.000e+00  6.571e-09  0.000e+00  1.000e+06 ( 1.000e-13)
178        Index:  4.687e-01  6.783e-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.841e-01  1.145e+00  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:  1.036e+00  1.337e+00  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Free Index): 0.40
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/430107/cmap_HighResolution_685929601_686188801_4FGL_J0047.9+2233_daily_bin1723.png

Cleaning up...

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

Updating database...

UPDATE lightcurve_data_v2 SET energy_flux_upper_limit='9.92e-03', job_status='DONE', photon_flux_upper_limit='1.27e-07', time_completed='2022-09-30 00:17:36.049953', job_id='430107', GAL2='0.98', fit_tolerance='1e-08', EG2='1.04', EG='1.00', time_epoch_completed='1664522256.05', return_code2='101', ts='0.40', comment='SUCCESS', return_code='0', GAL='0.99', dlogl='-1.93e-01', ts2='0.00', photon_index_error='0.00', photon_index='2.51' WHERE bin_id='1723' AND source_name='4FGL J0047.9+2233' AND cadence='daily';

Database successfully updated.


Analysis Complete.


Fri Sep 30 00:17:36 PDT 2022


------------------------------------------------------------
Sender: LSF System <lsf@bullet0058>
Subject: Job 430107: <4FGL_J0047.9+2233_daily_bin1723> in cluster <slac> Done

Job <4FGL_J0047.9+2233_daily_bin1723> was submitted from host <rhel6-64f> by user <kocevski> in cluster <slac> at Fri Sep 30 00:04:55 2022
Job was executed on host(s) <bullet0058>, in queue <medium>, as user <kocevski> in cluster <slac> at Fri Sep 30 00:04:58 2022
</u/ki/kocevski> was used as the home directory.
</u/ki/kocevski> was used as the working directory.
Started at Fri Sep 30 00:04:58 2022
Terminated at Fri Sep 30 00:17:36 2022
Results reported at Fri Sep 30 00:17:36 2022

Your job looked like:

------------------------------------------------------------
# LSBATCH: User input
/nfs/farm/g/glast/g/LCRepository/Likelihood/Scripts/LikelihoodAnalysis.py 4FGL_J0047.9+2233_daily_bin1723 11.9981 22.5632 685929601 686188801 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 :                                   593.49 sec.
    Max Memory :                                 1255 MB
    Average Memory :                             254.85 MB
    Total Requested Memory :                     -
    Delta Memory :                               -
    Max Swap :                                   -
    Max Processes :                              5
    Max Threads :                                21
    Run time :                                   758 sec.
    Turnaround time :                            761 sec.

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

