/nfs/farm/g/glast/g/LCRepository/bin/miniconda2/envs/fermitools_v1.0.5/lib/python2.7/site-packages/matplotlib/font_manager.py:281: UserWarning: Matplotlib is building the font cache using fc-list. This may take a moment.
  'Matplotlib is building the font cache using fc-list. '
/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 82 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).
nnumber of points = 7462
number of fields = 31
RA_SUN column already exists. File will not be modified.DDone.


Performing analysis on: 4FGL_J0047.9+2233_daily_bin1646
RA = 11.9981, Dec = 22.5632
tmin = 665971201, tmax = 666230401
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='667429', job_status='RUN', time_executed='2022-02-11 00:09:07.487349', time_epoch_executed='1644566947.49' WHERE source_name='4FGL J0047.9+2233' and cadence='daily' and bin_id='1646'

Database successfully updated.
Done.

Creating custom output directory:
/scratch/kocevski/667429

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

Retrieving the FT1 file...

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

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

Retrieving 46 files...
Done.


Merging files...

Checksum keywords updated successfully.

Merged file saved to:
/scratch/kocevski/667429/ft1_4FGL_J0047.9+2233_daily_bin1646.fits


Retrieving the FT1 file...

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

Retrieving 46 files...
Done.


Merging files...

Merged file saved to:
/scratch/kocevski/667429/ft2_4FGL_J0047.9+2233_daily_bin1646.fits


Selecting the photons:
time -p gtselect infile=/scratch/kocevski/667429/ft1_4FGL_J0047.9+2233_daily_bin1646.fits outfile=/scratch/kocevski/667429/ft1_filteredMKT_4FGL_J0047.9+2233_daily_bin1646.fits ra=11.9981 dec=22.5632 rad=12.0 tmin=665971201.0 tmax=666230401.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 10.00
user 4.29
sys 0.25

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

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

Generating the livetime cube:
time -p gtltcube evfile="/scratch/kocevski/667429/ft1_filtered_4FGL_J0047.9+2233_daily_bin1646.fits" evtable="EVENTS" scfile=/scratch/kocevski/667429/ft2_4FGL_J0047.9+2233_daily_bin1646.fits sctable="SC_DATA" outfile=/scratch/kocevski/667429/ltcube_665971201_666230401_4FGL_J0047.9+2233_daily_bin1646.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/667429/ft2_4FGL_J0047.9+2233_daily_bin1646.fits
.....................!
real 12.80
user 11.26
sys 0.34

Generating the exposure map:
time -p gtexpmap evfile=/scratch/kocevski/667429/ft1_filtered_4FGL_J0047.9+2233_daily_bin1646.fits evtable="EVENTS" scfile=/scratch/kocevski/667429/ft2_4FGL_J0047.9+2233_daily_bin1646.fits sctable="SC_DATA" expcube=/scratch/kocevski/667429/ltcube_665971201_666230401_4FGL_J0047.9+2233_daily_bin1646.fits outfile=/scratch/kocevski/667429/expmap_665971201_666230401_4FGL_J0047.9+2233_daily_bin1646.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/667429/ltcube_665971201_666230401_4FGL_J0047.9+2233_daily_bin1646.fits
.....................!
real 196.29
user 186.03
sys 5.22

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/667429/ft1_filtered_4FGL_J0047.9+2233_daily_bin1646.fits scfile=/scratch/kocevski/667429/ft2_4FGL_J0047.9+2233_daily_bin1646.fits outfile=/scratch/kocevski/667429/cmap_665971201_666230401_4FGL_J0047.9+2233_daily_bin1646.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.59
user 0.38
sys 0.13

Creating the high resolution counts map:
time -p gtbin evfile=/scratch/kocevski/667429/ft1_filtered_4FGL_J0047.9+2233_daily_bin1646.fits scfile=/scratch/kocevski/667429/ft2_4FGL_J0047.9+2233_daily_bin1646.fits outfile=/scratch/kocevski/667429/cmap_HighResolution_665971201_666230401_4FGL_J0047.9+2233_daily_bin1646.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.66
user 0.39
sys 0.14

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

Creating the likelihood object...
obs = UnbinnedObs('/scratch/kocevski/667429/ft1_filtered_4FGL_J0047.9+2233_daily_bin1646.fits', '/scratch/kocevski/667429/ft2_4FGL_J0047.9+2233_daily_bin1646.fits', expMap='/scratch/kocevski/667429/expmap_665971201_666230401_4FGL_J0047.9+2233_daily_bin1646.fits', expCube='/scratch/kocevski/667429/ltcube_665971201_666230401_4FGL_J0047.9+2233_daily_bin1646.fits', irfs='P8R3_SOURCE_V2')
like = UnbinnedAnalysis(obs, '/scratch/kocevski/667429/Model_4FGL_J0047.9+2233_daily_bin1646.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  1.000e-04  1.000e+04 ( 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/667429/ft1_filtered_4FGL_J0047.9+2233_daily_bin1646.fits
Spacecraft file(s): /scratch/kocevski/667429/ft2_4FGL_J0047.9+2233_daily_bin1646.fits
Exposure map: /scratch/kocevski/667429/expmap_665971201_666230401_4FGL_J0047.9+2233_daily_bin1646.fits
Exposure cube: /scratch/kocevski/667429/ltcube_665971201_666230401_4FGL_J0047.9+2233_daily_bin1646.fits
IRFs: P8R3_SOURCE_V2
Source model file: /scratch/kocevski/667429/Model_4FGL_J0047.9+2233_daily_bin1646.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) = 6169.10161327

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

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

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'norm      '    .10008E-03   1.0000         .10000E-03   10000.    
     2 'Prefactor '    .10092E-03   1.0000         .10000E-03   10000.    
     3 'Prefactor '    5.7143       1.0000         .10000E-03   10000.    
     4 'Prefactor '    .10006E-03   1.0000         .10000E-03   10000.    
     5 'Prefactor '    8.9700       1.0000         .10000E-03   10000.    
     6 'norm      '    1.6193       1.0000         .10000E-03   10000.    
     7 'Prefactor '    1.4508       1.0000         .10000E-03   10000.    
     8 'Prefactor '    16.561       1.0000         .10000E-03   10000.    
     9 'norm      '    2.1538       1.0000         .10000E-03   10000.    
    10 'norm      '    .10001E-03   1.0000         .10000E-03   10000.    
    11 'Prefactor '    5.0560       1.0000         .10000E-03   10000.    
    12 'Prefactor '    .10000E-03   1.0000         .10000E-03   10000.    
    13 'Prefactor '    38.060       1.0000         .10000E-03   10000.    
    14 'Prefactor '    .10010E-03   1.0000         .10000E-03   10000.    
    15 'Prefactor '    .10000E-03   1.0000         .10000E-03   10000.    
    16 'norm      '    2.1565       1.0000         .10000E-03   10000.    
    17 'norm      '    .17114       1.0000         .10000E-03   10000.    
    18 'Prefactor '    .10020E-03   1.0000         .10000E-03   10000.    
    19 'Prefactor '    44.461       1.0000         .10000E-03   10000.    
    20 'Prefactor '    .10009E-03   1.0000         .10000E-03   10000.    
    21 'Prefactor '    .10067E-03   1.0000         .10000E-03   10000.    
    22 'Prefactor '    24.887       1.0000         .10000E-03   10000.    
    23 'Normalizat'    1.2536       1.0000         .10000E-01   10.000    
    24 'Prefactor '    .76558       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.

 FCN=   6169.100     FROM MIGRAD    STATUS=CONVERGED    549 CALLS     2690 TOTAL
                     EDM=   .16E-10  STRATEGY=1  ERROR MATRIX UNCERTAINTY=  1.5%

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  norm          .10000E-03    1.9859        .13699E-06** at limit **
   2  Prefactor     .10000E-03    5.8224        .16638E-06** at limit **
   3  Prefactor     5.7137        14.403       -.65028E-06   -.11436E-04
   4  Prefactor     .10000E-03    24.329        .21039E-05** at limit **
   5  Prefactor     8.9697        4.9524        .16799E-07   -.49527E-05
   6  norm          1.6184        2.9419        .46637E-07   -.18146E-03
   7  Prefactor     1.3425        124.07       -.92056E-06   -.28975E-05
   8  Prefactor     16.562        15.394       -.23374E-06   -.24800E-05
   9  norm          2.1538        3.7748       -.87290E-07   -.22647E-04
  10  norm          .10000E-03    5.9323       -.33141E-07** at limit **
  11  Prefactor     5.0560        6.7685        .31016E-06   -.61886E-05
  12  Prefactor     .10000E-03    13.686        .85340E-06** at limit **
  13  Prefactor     38.057        18.388       -.81178E-07   -.48251E-05
  14  Prefactor     .10000E-03    31.100        .26241E-05** at limit **
  15  Prefactor     .10000E-03    27.602       -.48077E-05** at limit **
  16  norm          2.1565        .83197       -.41014E-07    .24129E-03
  17  norm          .17093        1.2566        .82421E-07   -.10852E-03
  18  Prefactor     .10000E-03    15.836        .58649E-06** at limit **
  19  Prefactor     44.464        44.243        .84557E-06    .17765E-04
  20  Prefactor     .10000E-03    2.6828       -.10459E-06** at limit **
  21  Prefactor     .10000E-03    13.891       -.15527E-05** at limit **
  22  Prefactor     24.881        37.275       -.54409E-05    .40905E-05
  23  Normalizat    1.2536        .20783       -.55575E-06    .38347E-04
  24  Prefactor     .76557        .13217        .74281E-06   -.30088E-04
                               ERR DEF=  .500    
Final values: 
  norm       = 0.0001
  Prefactor  = 0.0001
  Prefactor  = 5.71366
  Prefactor  = 0.0001
  Prefactor  = 8.96966
  norm       = 1.61842
  Prefactor  = 1.34248
  Prefactor  = 16.5617
  norm       = 2.15385
  norm       = 0.0001
  Prefactor  = 5.05598
  Prefactor  = 0.0001
  Prefactor  = 38.0567
  Prefactor  = 0.0001
  Prefactor  = 0.0001
  norm       = 2.15646
  norm       = 0.170928
  Prefactor  = 0.0001
  Prefactor  = 44.4642
  Prefactor  = 0.0001
  Prefactor  = 0.0001
  Prefactor  = 24.8814
  Normalizat = 1.25355
  Prefactor  = 0.765566
 **********
 **   18 **HESSE 
 **********

 FCN=   6169.100     FROM HESSE     STATUS=OK           401 CALLS     3091 TOTAL
                     EDM=   .33E-09    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  norm          .10000E-03    2.0385        .21596E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   2  Prefactor     .10000E-03    5.8371        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   3  Prefactor     5.7137        14.395        .16803E-03   -1.5230    
   4  Prefactor     .10000E-03    24.375        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   5  Prefactor     8.9697        4.9226        .11950E-03   -1.5109    
   6  norm          1.6184        25.356        .16631E-02   -1.5454    
   7  Prefactor     1.3425        124.38        .35767E-03   -1.5476    
   8  Prefactor     16.562        15.490        .98418E-04   -1.4894    
   9  norm          2.1538        3.7609        .19376E-03   -1.5414    
  10  norm          .10000E-03    5.9612        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  11  Prefactor     5.0560        6.7572        .17882E-03   -1.5258    
  12  Prefactor     .10000E-03    13.793        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  13  Prefactor     38.057        18.289        .64967E-04   -1.4473    
  14  Prefactor     .10000E-03    31.138        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  15  Prefactor     .10000E-03    27.683        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  16  norm          2.1565        .83042        .42508E-04   -1.5414    
  17  norm          .17093        1.3133        .16973E-03   -1.5625    
  18  Prefactor     .10000E-03    16.023        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  19  Prefactor     44.464        44.292        .60127E-04   -1.4373    
  20  Prefactor     .10000E-03    2.6901        .12553E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  21  Prefactor     .10000E-03    13.953        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  22  Prefactor     24.881        37.244        .80298E-04   -1.4710    
  23  Normalizat    1.2536        .24234        .27441E-03   -.84964    
  24  Prefactor     .76557        .15450        .21984E-03   -1.0101    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 3.25064e-10
Minuit parameter uncertainties:
  1  8.22645e-07
  2  5.18422e-06
  3  14.4038
  4  2.92722e-06
  5  4.92285
  6  12.818
  7  25.8983
  8  15.4933
  9  3.76127
  10  1.49165e-06
  11  6.75819
  12  1.97474e-06
  13  18.2919
  14  3.43376e-06
  15  1.84695e-06
  16  0.830421
  17  0.947332
  18  8.55894e-06
  19  44.3246
  20  1.73236e-06
  21  2.55362e-05
  22  37.2788
  23  0.242556
  24  0.1545Done.

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

Extracting fit parameters...

4FGL J0047.9+2233
   Spectrum: PowerLaw
177    Prefactor:  1.000e-04  1.975e-06  1.000e-04  1.000e+04 ( 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:  7.656e-01  1.546e-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.254e+00  2.426e-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: 1.03e-07 ph cm-2 s-1
Energy Flux Upper Limit: 8.05e-03 MeV cm-2 s-1

Saving results to:
/scratch/kocevski/667428/likelihoodResults_665971201_666230401_4FGL_J0047.9+2233_daily_bin1646.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) = 6169.10048891
delta logL = -0.000345503869539

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

MINUIT Return Code (Free Index): 102
logL (Free Index) = 6169.10014341
delta logL = -6.22367224423e-09

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'Prefactor '    .10000E-03   1.0000         .10000E-03   10000.    
     2 'Index     '    2.5153       1.0000          .0000       10.000    
     3 'Normalizat'    1.2535       1.0000         .10000E-01   10.000    
     4 'Prefactor '    .76559       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.

 FCN=   6169.100     FROM MIGRAD    STATUS=CONVERGED     54 CALLS      208 TOTAL
                     EDM=   .17E-07    STRATEGY= 1      ERR MATRIX NOT POS-DEF

  EXT PARAMETER                APPROXIMATE        STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor     .10000E-03    13.160        .90712E-02** at limit **
   2  Index         2.5215        6.0064        .50000       -.39171E-05
   3  Normalizat    1.2535        .51706E-02    .62042E-01   -.36184E-03
   4  Prefactor     .76557        .33396E-02    .43268E-01   -.11417E-03
                               ERR DEF=  .500    
Final values: 
  Prefactor  = 0.000100004
  Index      = 2.5215
  Normalizat = 1.25355
  Prefactor  = 0.765569
 **********
 **   18 **HESSE 
 **********

 FCN=   6169.100     FROM HESSE     STATUS=NOT POSDEF    31 CALLS      239 TOTAL
                     EDM=   .21E-06    STRATEGY= 1      ERR MATRIX NOT POS-DEF

  EXT PARAMETER                APPROXIMATE     INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  Prefactor     .10000E-03    165.88        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   2  Index         2.5215        5.2361        .50000       -.51864    
   3  Normalizat    1.2535        .18509E-01    .27441E-03   -.84964    
   4  Prefactor     .76557        .11959E-01    .21984E-03   -1.0101    
                               ERR DEF=  .500    
Minuit fit quality: 2   estimated distance: 2.09992e-07
Minuit parameter uncertainties:
  1  0.00163691
  2  573.464
  3  0.018509
  4  0.0119588
shell-init: error retrieving current directory: getcwd: cannot access parent directories: No such file or directory
rmdir: failed to remove `/scratch/kocevski/667428': 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): 102
logL (Free Index) = 6169.1001434
delta logL = 1.13104761112e-08

Extracting fit parameters...

4FGL J0047.9+2233
   Spectrum: PowerLaw
177    Prefactor:  1.000e-04  1.637e-03  1.000e-04  1.000e+04 ( 1.000e-13)
178        Index:  2.522e+00  5.735e+02  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:  7.656e-01  1.196e-02  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.254e+00  1.851e-02  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  0.000e+00 [aplpy.core]
INFO: Auto-setting vmax to  0.000e+00 [aplpy.core]
Saving /scratch/kocevski/667428/cmap_HighResolution_665971201_666230401_4FGL_J0047.9+2233_daily_bin1646.png

Cleaning up...

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

Updating database...

UPDATE lightcurve_data_v2 SET energy_flux_upper_limit='8.05e-03', job_status='DONE', photon_flux_upper_limit='1.03e-07', time_completed='2022-02-11 00:19:55.754068', job_id='667428', GAL2='0.77', fit_tolerance='1e-08', EG2='1.25', EG='1.25', time_epoch_completed='1644567595.75', return_code2='102', ts='-0.00', comment='SUCCESS', return_code='0', GAL='0.77', dlogl='1.13e-08', ts2='-0.00', photon_index_error='0.00', photon_index='2.51' WHERE bin_id='1646' AND source_name='4FGL J0047.9+2233' AND cadence='daily';

Database successfully updated.


Analysis Complete.


Fri Feb 11 00:19:55 PST 2022




------------------------------------------------------------
Sender: LSF System <lsf@bullet0238>
Subject: Job 667429: <4FGL_J0047.9+2233_daily_bin1646> in cluster <slac> Done

Job <4FGL_J0047.9+2233_daily_bin1646> was submitted from host <rhel6-64e> by user <kocevski> in cluster <slac> at Fri Feb 11 00:05:30 2022
Job was executed on host(s) <bullet0238>, in queue <medium>, as user <kocevski> in cluster <slac> at Fri Feb 11 00:05:32 2022
</u/ki/kocevski> was used as the home directory.
</u/ki/kocevski> was used as the working directory.
Started at Fri Feb 11 00:05:32 2022
Terminated at Fri Feb 11 00:19:54 2022
Results reported at Fri Feb 11 00:19:54 2022

Your job looked like:

------------------------------------------------------------
# LSBATCH: User input
/nfs/farm/g/glast/g/LCRepository/Likelihood/Scripts/LikelihoodAnalysis.py 4FGL_J0047.9+2233_daily_bin1646 11.9981 22.5632 665971201 666230401 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 :                                   629.00 sec.
    Max Memory :                                 1256 MB
    Average Memory :                             272.13 MB
    Total Requested Memory :                     -
    Delta Memory :                               -
    Max Swap :                                   -
    Max Processes :                              5
    Max Threads :                                21
    Run time :                                   862 sec.
    Turnaround time :                            864 sec.

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


------------------------------------------------------------
Sender: LSF System <lsf@bullet0080>
Subject: Job 667428: <4FGL_J0047.9+2233_daily_bin1646> in cluster <slac> Done

Job <4FGL_J0047.9+2233_daily_bin1646> was submitted from host <rhel6-64p> by user <kocevski> in cluster <slac> at Fri Feb 11 00:05:30 2022
Job was executed on host(s) <bullet0080>, in queue <medium>, as user <kocevski> in cluster <slac> at Fri Feb 11 00:05:32 2022
</u/ki/kocevski> was used as the home directory.
</u/ki/kocevski> was used as the working directory.
Started at Fri Feb 11 00:05:32 2022
Terminated at Fri Feb 11 00:19:56 2022
Results reported at Fri Feb 11 00:19:56 2022

Your job looked like:

------------------------------------------------------------
# LSBATCH: User input
/nfs/farm/g/glast/g/LCRepository/Likelihood/Scripts/LikelihoodAnalysis.py 4FGL_J0047.9+2233_daily_bin1646 11.9981 22.5632 665971201 666230401 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 :                                   637.32 sec.
    Max Memory :                                 1255 MB
    Average Memory :                             290.77 MB
    Total Requested Memory :                     -
    Delta Memory :                               -
    Max Swap :                                   -
    Max Processes :                              5
    Max Threads :                                21
    Run time :                                   864 sec.
    Turnaround time :                            866 sec.

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

