/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 104 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 = 7408
number of fields = 27
No RA_SUN column yet. Adding RA_SUN/DEC_SUN columns.
Done.


Performing analysis on: 4FGL_J0948.9+0022_daily_bin187
RA = 147.244, Dec = 0.3717
tmin = 287798401, tmax = 288057601
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='513269', job_status='RUN', time_executed='2021-09-01 02:38:27.553583', time_epoch_executed='1630489107.55' WHERE source_name='4FGL J0948.9+0022' and cadence='daily' and bin_id='187'

Database successfully updated.
Done.

Creating custom output directory:
/scratch/kocevski/513269

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

Retrieving the FT1 file...

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

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

Retrieving 47 files...
Done.


Merging files...

Checksum keywords updated successfully.

Merged file saved to:
/scratch/kocevski/513269/ft1_4FGL_J0948.9+0022_daily_bin187.fits


Retrieving the FT1 file...

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

Retrieving 47 files...
Done.


Merging files...

Merged file saved to:
/scratch/kocevski/513269/ft2_4FGL_J0948.9+0022_daily_bin187.fits


Selecting the photons:
time -p gtselect infile=/scratch/kocevski/513269/ft1_4FGL_J0948.9+0022_daily_bin187.fits outfile=/scratch/kocevski/513269/ft1_filteredMKT_4FGL_J0948.9+0022_daily_bin187.fits ra=147.244 dec=0.3717 rad=12.0 tmin=287798401.0 tmax=288057601.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.34
sys 0.25

Adding sun position to ft2 file:
/nfs/farm/g/glast/g/LCRepository/Repository/bin/sunpos /scratch/kocevski/513269/ft2_4FGL_J0948.9+0022_daily_bin187.fits

Selecting the good time intervals:
time -p gtmktime scfile=/scratch/kocevski/513269/ft2_4FGL_J0948.9+0022_daily_bin187.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/513269/ft1_filteredMKT_4FGL_J0948.9+0022_daily_bin187.fits evtable="EVENTS" outfile="/scratch/kocevski/513269/ft1_filtered_4FGL_J0948.9+0022_daily_bin187.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.86
user 0.35
sys 0.15

Generating the livetime cube:
time -p gtltcube evfile="/scratch/kocevski/513269/ft1_filtered_4FGL_J0948.9+0022_daily_bin187.fits" evtable="EVENTS" scfile=/scratch/kocevski/513269/ft2_4FGL_J0948.9+0022_daily_bin187.fits sctable="SC_DATA" outfile=/scratch/kocevski/513269/ltcube_287798401_288057601_4FGL_J0948.9+0022_daily_bin187.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/513269/ft2_4FGL_J0948.9+0022_daily_bin187.fits
.....................!
real 12.89
user 12.30
sys 0.32

Generating the exposure map:
time -p gtexpmap evfile=/scratch/kocevski/513269/ft1_filtered_4FGL_J0948.9+0022_daily_bin187.fits evtable="EVENTS" scfile=/scratch/kocevski/513269/ft2_4FGL_J0948.9+0022_daily_bin187.fits sctable="SC_DATA" expcube=/scratch/kocevski/513269/ltcube_287798401_288057601_4FGL_J0948.9+0022_daily_bin187.fits outfile=/scratch/kocevski/513269/expmap_287798401_288057601_4FGL_J0948.9+0022_daily_bin187.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/513269/ltcube_287798401_288057601_4FGL_J0948.9+0022_daily_bin187.fits
.....................!
real 191.17
user 185.01
sys 3.98

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

Setting source of interest to:
4FGL J0948.9+0022 @ 147.244 0.3717

Creating the counts map:
time -p gtbin evfile=/scratch/kocevski/513269/ft1_filtered_4FGL_J0948.9+0022_daily_bin187.fits scfile=/scratch/kocevski/513269/ft2_4FGL_J0948.9+0022_daily_bin187.fits outfile=/scratch/kocevski/513269/cmap_287798401_288057601_4FGL_J0948.9+0022_daily_bin187.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=147.244 yref=0.3717 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.76
user 0.38
sys 0.13

Creating the high resolution counts map:
time -p gtbin evfile=/scratch/kocevski/513269/ft1_filtered_4FGL_J0948.9+0022_daily_bin187.fits scfile=/scratch/kocevski/513269/ft2_4FGL_J0948.9+0022_daily_bin187.fits outfile=/scratch/kocevski/513269/cmap_HighResolution_287798401_288057601_4FGL_J0948.9+0022_daily_bin187.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=147.244 yref=0.3717 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.81
user 0.38
sys 0.15

Computing the diffuse response:
time -p gtdiffrsp evfile=/scratch/kocevski/513269/ft1_filtered_4FGL_J0948.9+0022_daily_bin187.fits evtable="EVENTS" scfile=/scratch/kocevski/513269/ft2_4FGL_J0948.9+0022_daily_bin187.fits sctable="SC_DATA" srcmdl=/scratch/kocevski/513269/Model_4FGL_J0948.9+0022_daily_bin187.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/513269/ft1_filtered_4FGL_J0948.9+0022_daily_bin187.fits.....................!
real 64.23
user 58.38
sys 1.14

Creating the likelihood object...
obs = UnbinnedObs('/scratch/kocevski/513269/ft1_filtered_4FGL_J0948.9+0022_daily_bin187.fits', '/scratch/kocevski/513269/ft2_4FGL_J0948.9+0022_daily_bin187.fits', expMap='/scratch/kocevski/513269/expmap_287798401_288057601_4FGL_J0948.9+0022_daily_bin187.fits', expCube='/scratch/kocevski/513269/ltcube_287798401_288057601_4FGL_J0948.9+0022_daily_bin187.fits', irfs='P8R3_SOURCE_V2')
like = UnbinnedAnalysis(obs, '/scratch/kocevski/513269/Model_4FGL_J0948.9+0022_daily_bin187.xml', optimizer='MINUIT')

Using source of interest name: '4FGL J0948.9+0022'

4FGL J0948.9+0022
   Spectrum: LogParabola
217         norm:  1.422e+00  0.000e+00  1.000e-04  1.000e+04 ( 1.000e-10)
218        alpha:  2.453e+00  0.000e+00  0.000e+00  5.000e+00 ( 1.000e+00) fixed
219         beta:  1.652e-01  0.000e+00  0.000e+00  1.000e+01 ( 1.000e+00) fixed
220           Eb:  2.768e+02  0.000e+00  3.000e+01  5.000e+05 ( 1.000e+00) fixed


Likelihood Fit Parameters:
Event file(s): /scratch/kocevski/513269/ft1_filtered_4FGL_J0948.9+0022_daily_bin187.fits
Spacecraft file(s): /scratch/kocevski/513269/ft2_4FGL_J0948.9+0022_daily_bin187.fits
Exposure map: /scratch/kocevski/513269/expmap_287798401_288057601_4FGL_J0948.9+0022_daily_bin187.fits
Exposure cube: /scratch/kocevski/513269/ltcube_287798401_288057601_4FGL_J0948.9+0022_daily_bin187.fits
IRFs: P8R3_SOURCE_V2
Source model file: /scratch/kocevski/513269/Model_4FGL_J0948.9+0022_daily_bin187.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) = 5492.9674899

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

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

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'norm      '    1.1773       1.0000         .10000E-03   10000.    
     2 'norm      '    6.6004       1.0000         .10000E-03   10000.    
     3 'Prefactor '    .10005E-03   1.0000         .10000E-03   10000.    
     4 'Prefactor '    1.1079       1.0000         .10000E-03   10000.    
     5 'Prefactor '    .10034E-03   1.0000         .10000E-03   10000.    
     6 'Prefactor '    .10001E-03   1.0000         .10000E-03   10000.    
     7 'Prefactor '    18.669       1.0000         .10000E-03   10000.    
     8 'norm      '    .18544E-02   1.0000         .10000E-03   10000.    
     9 'norm      '    1.1221       1.0000         .10000E-03   10000.    
    10 'norm      '    .88875E-01   1.0000         .10000E-03   10000.    
    11 'norm      '    .10003E-03   1.0000         .10000E-03   10000.    
    12 'Prefactor '    .10003E-03   1.0000         .10000E-03   10000.    
    13 'Prefactor '    .10003E-03   1.0000         .10000E-03   10000.    
    14 'Prefactor '    11.791       1.0000         .10000E-03   10000.    
    15 'norm      '    .10012E-03   1.0000         .10000E-03   10000.    
    16 'Prefactor '    1.3003       1.0000         .10000E-03   10000.    
    17 'Prefactor '    58.475       1.0000         .10000E-03   10000.    
    18 'Prefactor '    .10009E-03   1.0000         .10000E-03   10000.    
    19 'Prefactor '    .10002E-03   1.0000         .10000E-03   10000.    
    20 'norm      '    .88595       1.0000         .10000E-03   10000.    
    21 'Prefactor '    .10040E-03   1.0000         .10000E-03   10000.    
    22 'Normalizat'    1.3786       1.0000         .10000E-01   10.000    
    23 'Prefactor '    .74050       1.0000          .0000       10.000    
 **********
 **   15 **SET ERR    .5000    
 **********
 **********
 **   16 **SET GRAD    1.000    
 **********
 **********
 **   17 **MINIMIZE    .4750E+05   .2000E-04
 **********

 MIGRAD MINIMIZATION HAS CONVERGED.

 MIGRAD WILL VERIFY CONVERGENCE AND ERROR MATRIX.

 MIGRAD MINIMIZATION HAS CONVERGED.

 FCN=   5492.953     FROM MIGRAD    STATUS=CONVERGED    509 CALLS     2539 TOTAL
                     EDM=   .12E-08  STRATEGY=1  ERROR MATRIX UNCERTAINTY=  2.8%

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  norm          1.1768        5.6766        .23412E-05   -.22631E-04
   2  norm          6.6048        10.080        .16268E-06   -.10758E-03
   3  Prefactor     .10000E-03    17.652        .10120E-05** at limit **
   4  Prefactor     1.1101        3.9369        .13030E-05   -.68660E-04
   5  Prefactor     .10000E-03    39.688       -.21869E-06** at limit **
   6  Prefactor     .10000E-03    5.2127        .17792E-06** at limit **
   7  Prefactor     18.647        39.923       -.33308E-05   -.33497E-03
   8  norm          .10010E-03    2.9346        .19399E-05** at limit **
   9  norm          1.1222        1.5831        .36308E-06    .59826E-04
  10  norm          .88381E-01    .57452        .25642E-06   -.47366E-03
  11  norm          .10000E-03    .64223        .23337E-07** at limit **
  12  Prefactor     .10000E-03    3.4370       -.12113E-07** at limit **
  13  Prefactor     .10000E-03    13.020       -.61551E-06** at limit **
  14  Prefactor     11.796        26.287        .11753E-05    .48101E-04
  15  norm          .10000E-03    5.3335       -.12421E-06** at limit **
  16  Prefactor     1.3016        9.5171        .29197E-05    .50698E-05
  17  Prefactor     58.477        54.988       -.10593E-06    .39289E-05
  18  Prefactor     .10000E-03    15.968       -.64835E-06** at limit **
  19  Prefactor     .10000E-03    4.5810       -.53335E-07** at limit **
  20  norm          .88608        1.1899        .66730E-06    .18259E-04
  21  Prefactor     .10000E-03    6.3466        .34125E-07** at limit **
  22  Normalizat    1.3782        .21119       -.10931E-05   -.55850E-03
  23  Prefactor     .74074        .15125       -.10765E-05   -.56819E-03
                               ERR DEF=  .500    
Final values: 
  norm       = 1.17678
  norm       = 6.60477
  Prefactor  = 0.000100001
  Prefactor  = 1.11006
  Prefactor  = 0.0001
  Prefactor  = 0.0001
  Prefactor  = 18.6465
  norm       = 0.000100095
  norm       = 1.12222
  norm       = 0.0883807
  norm       = 0.0001
  Prefactor  = 0.0001
  Prefactor  = 0.0001
  Prefactor  = 11.7957
  norm       = 0.0001
  Prefactor  = 1.30162
  Prefactor  = 58.4775
  Prefactor  = 0.0001
  Prefactor  = 0.0001
  norm       = 0.88608
  Prefactor  = 0.0001
  Normalizat = 1.37824
  Prefactor  = 0.74074
 **********
 **   18 **HESSE 
 **********

 FCN=   5492.953     FROM HESSE     STATUS=OK           366 CALLS     2905 TOTAL
                     EDM=   .34E-07    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  norm          1.1768        5.7026        .32580E-03   -1.5491    
   2  norm          6.6048        10.037        .15620E-03   -1.5194    
   3  Prefactor     .10000E-03    17.864        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   4  Prefactor     1.1101        3.9208        .25860E-03   -1.5497    
   5  Prefactor     .10000E-03    39.773        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   6  Prefactor     .10000E-03    5.2238        .16530E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   7  Prefactor     18.647        42.135        .92695E-04   -1.4844    
   8  norm          .10010E-03    12.696        .21260E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   9  norm          1.1222        1.5678        .10423E-03   -1.5496    
  10  norm          .88381E-01    1.2380        .10052E-02   -1.5649    
  11  norm          .10000E-03    .64624        .57998E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  12  Prefactor     .10000E-03    3.4384        .13418E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  13  Prefactor     .10000E-03    13.065        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  14  Prefactor     11.796        26.366        .11666E-03   -1.5021    
  15  norm          .10000E-03    5.3383        .16717E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  16  Prefactor     1.3016        9.6274        .38752E-03   -1.5480    
  17  Prefactor     58.477        54.991        .52464E-04   -1.4177    
  18  Prefactor     .10000E-03    16.010        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  19  Prefactor     .10000E-03    4.5820        .15492E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  20  norm          .88608        1.1982        .25513E-03   -1.5520    
  21  Prefactor     .10000E-03    6.4667        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  22  Normalizat    1.3782        .24823        .23791E-03   -.81260    
  23  Prefactor     .74074        .17807        .24044E-03   -1.0195    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 3.35649e-08
Minuit parameter uncertainties:
  1  5.18156
  2  10.0392
  3  0.000245652
  4  3.92168
  5  2.90491e-05
  6  2.09031e-05
  7  42.2027
  8  0.00220186
  9  1.56785
  10  0.661191
  11  5.40909e-07
  12  2.78432e-06
  13  0.000122166
  14  26.3915
  15  1.67486e-05
  16  7.08122
  17  55.0384
  18  0.000135853
  19  6.93903e-06
  20  1.19823
  21  5.70023e-06
  22  0.248444
  23  0.178204
Done.

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

Extracting fit parameters...

4FGL J0948.9+0022
   Spectrum: LogParabola
217         norm:  8.838e-02  6.612e-01  1.000e-04  1.000e+04 ( 1.000e-10)
218        alpha:  2.453e+00  0.000e+00  0.000e+00  5.000e+00 ( 1.000e+00) fixed
219         beta:  1.652e-01  0.000e+00  0.000e+00  1.000e+01 ( 1.000e+00) fixed
220           Eb:  2.768e+02  0.000e+00  3.000e+01  5.000e+05 ( 1.000e+00) fixed

GAL_V02
   Spectrum: PowerLaw
472    Prefactor:  7.407e-01  1.782e-01  0.000e+00  1.000e+01 ( 1.000e+00)
473        Index:  0.000e+00  0.000e+00 -1.000e+00  1.000e+00 ( 1.000e+00) fixed
474        Scale:  1.000e+02  0.000e+00  5.000e+01  2.000e+02 ( 1.000e+00) fixed

EG_v02
   Spectrum: FileFunction
471   Normalization:  1.378e+00  2.484e-01  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Fixed Index): 0.02
Ra Dec: 147.244 0.372
Photon Flux Upper Limit: 1.22e-07 ph cm-2 s-1
Energy Flux Upper Limit: 3.04e-05 MeV cm-2 s-1

Saving results to:
/scratch/kocevski/513269/likelihoodResults_287798401_288057601_4FGL_J0948.9+0022_daily_bin187.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) = 5492.85211844
delta logL = 0.101103450952

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

MINUIT Return Code (Free Index): 0
logL (Free Index) = 5492.78126175
delta logL = 0.171960138057

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'norm      '    .12395       1.0000         .10000E-03   10000.    
     2 'alpha     '    5.0000       1.0000          .0000       5.0000    
     3 'Normalizat'    1.3290       1.0000         .10000E-01   10.000    
     4 'Prefactor '    .76622       1.0000          .0000       10.000    
 **********
 **   15 **SET ERR    .5000    
 **********
 **********
 **   16 **SET GRAD    1.000    
 **********
 **********
 **   17 **MINIMIZE    .4750E+05   .2000E-04
 **********

 MIGRAD MINIMIZATION HAS CONVERGED.

 MIGRAD WILL VERIFY CONVERGENCE AND ERROR MATRIX.

 FCN=   5492.781     FROM MIGRAD    STATUS=CONVERGED     54 CALLS      229 TOTAL
                     EDM=   .78E-08    STRATEGY= 1      ERR MATRIX NOT POS-DEF

  EXT PARAMETER                APPROXIMATE        STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  norm          .12391        8.8546        .93298E-02    .15013E-02
   2  alpha         5.0000        3.0408        .46268    ** at limit **
   3  Normalizat    1.3289        .86795E-01    .54651E-01   -.44174E-04
   4  Prefactor     .76627        .54999E-01    .43276E-01   -.36557E-04
                               ERR DEF=  .500    
Final values: 
  norm       = 0.123914
  alpha      = 5
  Normalizat = 1.32894
  Prefactor  = 0.766269
 **********
 **   18 **HESSE 
 **********

 FCN=   5492.781     FROM HESSE     STATUS=OK            35 CALLS      264 TOTAL
                     EDM=   .84E-10    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  norm          .12391        .25141        .40589E-04   -1.5638    
   2  alpha         5.0000        4.9655        .50000        1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   3  Normalizat    1.3289        .24736        .24165E-03   -.82707    
   4  Prefactor     .76627        .18301        .23683E-03   -1.0098    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 8.41724e-11
Minuit parameter uncertainties:
  1  0.251408
  2  8.66884e-06
  3  0.247582
  4  0.183151
shell-init: error retrieving current directory: getcwd: cannot access parent directories: No such file or directory
rmdir: failed to remove `/scratch/kocevski/513269': 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) = 5492.78126118
delta logL = 0.171960704918

Extracting fit parameters...

4FGL J0948.9+0022
   Spectrum: LogParabola
217         norm:  1.239e-01  2.514e-01  1.000e-04  1.000e+04 ( 1.000e-10)
218        alpha:  5.000e+00  8.669e-06  0.000e+00  5.000e+00 ( 1.000e+00)
219         beta:  1.652e-01  0.000e+00  0.000e+00  1.000e+01 ( 1.000e+00) fixed
220           Eb:  2.768e+02  0.000e+00  3.000e+01  5.000e+05 ( 1.000e+00) fixed

GAL_V02
   Spectrum: PowerLaw
472    Prefactor:  7.663e-01  1.832e-01  0.000e+00  1.000e+01 ( 1.000e+00)
473        Index:  0.000e+00  0.000e+00 -1.000e+00  1.000e+00 ( 1.000e+00) fixed
474        Scale:  1.000e+02  0.000e+00  5.000e+01  2.000e+02 ( 1.000e+00) fixed

EG_v02
   Spectrum: FileFunction
471   Normalization:  1.329e+00  2.476e-01  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Free Index): 0.02
Ra Dec: 147.244 0.372

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/513269/cmap_HighResolution_287798401_288057601_4FGL_J0948.9+0022_daily_bin187.png

Cleaning up...

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

Updating database...

UPDATE lightcurve_data_v2 SET energy_flux_upper_limit='3.04e-05', job_status='DONE', photon_flux_upper_limit='1.22e-07', time_completed='2021-09-01 02:47:59.756519', job_id='513269', GAL2='0.77', fit_tolerance='1e-08', EG2='1.33', EG='1.38', time_epoch_completed='1630489679.76', return_code2='0', ts='0.02', comment='SUCCESS', return_code='0', GAL='0.74', dlogl='1.72e-01', ts2='0.40', photon_index_error='0.00', photon_index='2.45' WHERE bin_id='187' AND source_name='4FGL J0948.9+0022' AND cadence='daily';

Database successfully updated.


Analysis Complete.


Wed Sep  1 02:47:59 PDT 2021


------------------------------------------------------------
Sender: LSF System <lsf@bullet0153>
Subject: Job 513269: <4FGL_J0948.9+0022_daily_bin187> in cluster <slac> Done

Job <4FGL_J0948.9+0022_daily_bin187> was submitted from host <rhel6-64q> by user <kocevski> in cluster <slac> at Wed Sep  1 02:36:15 2021
Job was executed on host(s) <bullet0153>, in queue <medium>, as user <kocevski> in cluster <slac> at Wed Sep  1 02:36:19 2021
</u/ki/kocevski> was used as the home directory.
</u/ki/kocevski> was used as the working directory.
Started at Wed Sep  1 02:36:19 2021
Terminated at Wed Sep  1 02:48:00 2021
Results reported at Wed Sep  1 02:48:00 2021

Your job looked like:

------------------------------------------------------------
# LSBATCH: User input
/nfs/farm/g/glast/g/LCRepository/Likelihood/Scripts/LikelihoodAnalysis.py 4FGL_J0948.9+0022_daily_bin187 147.244 0.3717 287798401 288057601 irfs=P8R3_SOURCE_V2 zmax=90 ROI=12 association=4FGL_J0948.9+0022 fixedModel=True performFreeIndexFit=True freeVariableSources=True nuke=True repositoryJob=True verbose=False
------------------------------------------------------------

Successfully completed.

Resource usage summary:

    CPU time :                                   558.03 sec.
    Max Memory :                                 1255 MB
    Average Memory :                             306.26 MB
    Total Requested Memory :                     -
    Delta Memory :                               -
    Max Swap :                                   -
    Max Processes :                              5
    Max Threads :                                21
    Run time :                                   701 sec.
    Turnaround time :                            705 sec.

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

