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


Performing analysis on: 4FGL_J0948.9+0022_daily_bin302
RA = 147.244, Dec = 0.3717
tmin = 317606401, tmax = 317865601
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='514634', job_status='RUN', time_executed='2021-09-01 02:44:07.184492', time_epoch_executed='1630489447.18' WHERE source_name='4FGL J0948.9+0022' and cadence='daily' and bin_id='302'

Database successfully updated.
Done.

Creating custom output directory:
/scratch/kocevski/514634

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

Retrieving the FT1 file...

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

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

Retrieving 46 files...
Done.


Merging files...

Checksum keywords updated successfully.

Merged file saved to:
/scratch/kocevski/514634/ft1_4FGL_J0948.9+0022_daily_bin302.fits


Retrieving the FT1 file...

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

Retrieving 46 files...
Done.


Merging files...

Merged file saved to:
/scratch/kocevski/514634/ft2_4FGL_J0948.9+0022_daily_bin302.fits


Selecting the photons:
time -p gtselect infile=/scratch/kocevski/514634/ft1_4FGL_J0948.9+0022_daily_bin302.fits outfile=/scratch/kocevski/514634/ft1_filteredMKT_4FGL_J0948.9+0022_daily_bin302.fits ra=147.244 dec=0.3717 rad=12.0 tmin=317606401.0 tmax=317865601.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.43
user 3.22
sys 0.20

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

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

Generating the livetime cube:
time -p gtltcube evfile="/scratch/kocevski/514634/ft1_filtered_4FGL_J0948.9+0022_daily_bin302.fits" evtable="EVENTS" scfile=/scratch/kocevski/514634/ft2_4FGL_J0948.9+0022_daily_bin302.fits sctable="SC_DATA" outfile=/scratch/kocevski/514634/ltcube_317606401_317865601_4FGL_J0948.9+0022_daily_bin302.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/514634/ft2_4FGL_J0948.9+0022_daily_bin302.fits
.....................!
real 13.07
user 12.71
sys 0.30

Generating the exposure map:
time -p gtexpmap evfile=/scratch/kocevski/514634/ft1_filtered_4FGL_J0948.9+0022_daily_bin302.fits evtable="EVENTS" scfile=/scratch/kocevski/514634/ft2_4FGL_J0948.9+0022_daily_bin302.fits sctable="SC_DATA" expcube=/scratch/kocevski/514634/ltcube_317606401_317865601_4FGL_J0948.9+0022_daily_bin302.fits outfile=/scratch/kocevski/514634/expmap_317606401_317865601_4FGL_J0948.9+0022_daily_bin302.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/514634/ltcube_317606401_317865601_4FGL_J0948.9+0022_daily_bin302.fits
.....................!
real 192.38
user 186.89
sys 5.04

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/514634/ft1_filtered_4FGL_J0948.9+0022_daily_bin302.fits scfile=/scratch/kocevski/514634/ft2_4FGL_J0948.9+0022_daily_bin302.fits outfile=/scratch/kocevski/514634/cmap_317606401_317865601_4FGL_J0948.9+0022_daily_bin302.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.53
user 0.37
sys 0.14

Creating the high resolution counts map:
time -p gtbin evfile=/scratch/kocevski/514634/ft1_filtered_4FGL_J0948.9+0022_daily_bin302.fits scfile=/scratch/kocevski/514634/ft2_4FGL_J0948.9+0022_daily_bin302.fits outfile=/scratch/kocevski/514634/cmap_HighResolution_317606401_317865601_4FGL_J0948.9+0022_daily_bin302.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.53
user 0.40
sys 0.12

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

Creating the likelihood object...
obs = UnbinnedObs('/scratch/kocevski/514634/ft1_filtered_4FGL_J0948.9+0022_daily_bin302.fits', '/scratch/kocevski/514634/ft2_4FGL_J0948.9+0022_daily_bin302.fits', expMap='/scratch/kocevski/514634/expmap_317606401_317865601_4FGL_J0948.9+0022_daily_bin302.fits', expCube='/scratch/kocevski/514634/ltcube_317606401_317865601_4FGL_J0948.9+0022_daily_bin302.fits', irfs='P8R3_SOURCE_V2')
like = UnbinnedAnalysis(obs, '/scratch/kocevski/514634/Model_4FGL_J0948.9+0022_daily_bin302.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/514634/ft1_filtered_4FGL_J0948.9+0022_daily_bin302.fits
Spacecraft file(s): /scratch/kocevski/514634/ft2_4FGL_J0948.9+0022_daily_bin302.fits
Exposure map: /scratch/kocevski/514634/expmap_317606401_317865601_4FGL_J0948.9+0022_daily_bin302.fits
Exposure cube: /scratch/kocevski/514634/ltcube_317606401_317865601_4FGL_J0948.9+0022_daily_bin302.fits
IRFs: P8R3_SOURCE_V2
Source model file: /scratch/kocevski/514634/Model_4FGL_J0948.9+0022_daily_bin302.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) = 5987.37562245

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

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

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'norm      '    7.5857       1.0000         .10000E-03   10000.    
     2 'norm      '    4.0253       1.0000         .10000E-03   10000.    
     3 'Prefactor '    .10287E-03   1.0000         .10000E-03   10000.    
     4 'Prefactor '    .15332E-03   1.0000         .10000E-03   10000.    
     5 'Prefactor '    18.518       1.0000         .10000E-03   10000.    
     6 'Prefactor '    14.138       1.0000         .10000E-03   10000.    
     7 'Prefactor '    8.5006       1.0000         .10000E-03   10000.    
     8 'norm      '    .10003E-03   1.0000         .10000E-03   10000.    
     9 'norm      '    .10003E-03   1.0000         .10000E-03   10000.    
    10 'norm      '    .12622       1.0000         .10000E-03   10000.    
    11 'norm      '    3.4832       1.0000         .10000E-03   10000.    
    12 'Prefactor '    8.5083       1.0000         .10000E-03   10000.    
    13 'Prefactor '    .10000E-03   1.0000         .10000E-03   10000.    
    14 'Prefactor '    .10001E-03   1.0000         .10000E-03   10000.    
    15 'norm      '    .10002E-03   1.0000         .10000E-03   10000.    
    16 'Prefactor '    .11003E-03   1.0000         .10000E-03   10000.    
    17 'Prefactor '    87.852       1.0000         .10000E-03   10000.    
    18 'Prefactor '    .10603E-03   1.0000         .10000E-03   10000.    
    19 'Prefactor '    .10064E-03   1.0000         .10000E-03   10000.    
    20 'norm      '    .87992E-01   1.0000         .10000E-03   10000.    
    21 'Prefactor '    .10003E-03   1.0000         .10000E-03   10000.    
    22 'Normalizat'    1.1718       1.0000         .10000E-01   10.000    
    23 'Prefactor '    .93913       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=   5987.373     FROM MIGRAD    STATUS=CONVERGED    508 CALLS     2531 TOTAL
                     EDM=   .16E-08  STRATEGY=1  ERROR MATRIX UNCERTAINTY=  4.3%

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  norm          7.5891        5.3086        .60306E-06   -.97530E-03
   2  norm          4.0256        5.9448        .37388E-05   -.12483E-02
   3  Prefactor     .10001E-03    25.429        .46144E-05** at limit **
   4  Prefactor     .10000E-03    2.7962        .11900E-05** at limit **
   5  Prefactor     18.521        29.215        .78989E-06    .34670E-04
   6  Prefactor     14.150        19.143        .14828E-05    .18601E-03
   7  Prefactor     8.4981        26.112       -.49433E-06   -.63413E-04
   8  norm          .10000E-03    1.9854        .77171E-07** at limit **
   9  norm          .10000E-03    .68497        .22591E-07** at limit **
  10  norm          .12564        .42249        .15339E-06   -.98976E-03
  11  norm          3.4829        2.2604        .86132E-07   -.61117E-04
  12  Prefactor     8.5082        16.078        .10776E-05    .77263E-04
  13  Prefactor     .10000E-03    8.8926        .19942E-05** at limit **
  14  Prefactor     .10000E-03    9.5840        .93483E-06** at limit **
  15  norm          .10000E-03    10.542       -.12875E-05** at limit **
  16  Prefactor     .10000E-03    10.728       -.20465E-05** at limit **
  17  Prefactor     87.831        66.336       -.39918E-05   -.29805E-03
  18  Prefactor     .10001E-03    31.420       -.51705E-05** at limit **
  19  Prefactor     .10000E-03    6.5059       -.89595E-06** at limit **
  20  norm          .91269E-01    .76240        .23423E-06   -.26139E-03
  21  Prefactor     .10000E-03    5.0185       -.36854E-06** at limit **
  22  Normalizat    1.1712        .20991       -.61602E-06   -.34450E-03
  23  Prefactor     .93956        .15520       -.94838E-06   -.33254E-03
                               ERR DEF=  .500    
Final values: 
  norm       = 7.58913
  norm       = 4.02556
  Prefactor  = 0.000100008
  Prefactor  = 0.000100004
  Prefactor  = 18.5209
  Prefactor  = 14.1497
  Prefactor  = 8.49814
  norm       = 0.0001
  norm       = 0.0001
  norm       = 0.125638
  norm       = 3.48288
  Prefactor  = 8.50816
  Prefactor  = 0.000100002
  Prefactor  = 0.0001
  norm       = 0.000100001
  Prefactor  = 0.000100001
  Prefactor  = 87.8314
  Prefactor  = 0.00010001
  Prefactor  = 0.0001
  norm       = 0.0912686
  Prefactor  = 0.0001
  Normalizat = 1.17116
  Prefactor  = 0.939556
 **********
 **   18 **HESSE 
 **********

 FCN=   5987.373     FROM HESSE     STATUS=OK           370 CALLS     2901 TOTAL
                     EDM=   .44E-08    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  norm          7.5891        5.3359        .70633E-03   -1.5157    
   2  norm          4.0256        6.3066        .10050E-02   -1.5307    
   3  Prefactor     .10001E-03    26.329        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   4  Prefactor     .10000E-03    5.3146        .24252E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   5  Prefactor     18.521        29.219        .93073E-04   -1.4847    
   6  Prefactor     14.150        19.367        .10652E-03   -1.4955    
   7  Prefactor     8.4981        26.154        .13749E-03   -1.5125    
   8  norm          .10000E-03    2.0094        .10644E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   9  norm          .10000E-03    .71445        .12490E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  10  norm          .12564        .55481        .85406E-03   -1.5637    
  11  norm          3.4829        2.2600        .90227E-04   -1.5335    
  12  Prefactor     8.5082        16.129        .13743E-03   -1.5125    
  13  Prefactor     .10000E-03    9.0669        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  14  Prefactor     .10000E-03    9.6315        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  15  norm          .10000E-03    10.593        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  16  Prefactor     .10000E-03    10.829        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  17  Prefactor     87.831        67.851        .42866E-04   -1.3831    
  18  Prefactor     .10001E-03    32.272        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  19  Prefactor     .10000E-03    6.5251        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  20  norm          .91269E-01    6.4523        .12723E-02   -1.5648    
  21  Prefactor     .10000E-03    5.0761        .16922E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  22  Normalizat    1.1712        .25217        .26396E-03   -.87499    
  23  Prefactor     .93956        .18649        .22798E-03   -.94772    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 4.35597e-09
Minuit parameter uncertainties:
  1  5.33626
  2  6.30761
  3  0.000894886
  4  0.000303636
  5  29.2413
  6  19.3758
  7  26.1889
  8  6.07668e-06
  9  1.8365e-06
  10  0.527834
  11  2.26004
  12  16.1371
  13  0.000264803
  14  0.000128512
  15  0.000153017
  16  0.000155903
  17  67.911
  18  0.00113638
  19  7.60489e-05
  20  1.53412
  21  3.06698e-05
  22  0.252433
  23  0.186614
Done.

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

Extracting fit parameters...

4FGL J0948.9+0022
   Spectrum: LogParabola
217         norm:  1.256e-01  5.278e-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:  9.396e-01  1.866e-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.171e+00  2.524e-01  1.000e-02  1.000e+01 ( 1.000e+00)


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

Saving results to:
/scratch/kocevski/514634/likelihoodResults_317606401_317865601_4FGL_J0948.9+0022_daily_bin302.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) = 5987.36868875
delta logL = 0.00442527157156

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

MINUIT Return Code (Free Index): 0
logL (Free Index) = 5987.36821981
delta logL = 0.00489420865506

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'norm      '    .13824       1.0000         .10000E-03   10000.    
     2 'alpha     '    2.6652       1.0000          .0000       5.0000    
     3 'Normalizat'    1.1691       1.0000         .10000E-01   10.000    
     4 'Prefactor '    .94050       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.
 MACHINE ACCURACY LIMITS FURTHER IMPROVEMENT.

 MIGRAD MINIMIZATION HAS CONVERGED.

 MIGRAD WILL VERIFY CONVERGENCE AND ERROR MATRIX.

 FCN=   5987.368     FROM MIGRAD    STATUS=CONVERGED     99 CALLS      290 TOTAL
                     EDM=   .98E-08    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  norm          .13870        .54101        .76915E-03    .67155E-02
   2  alpha         2.6676        1.9288        .59873E-01   -.94179E-05
   3  Normalizat    1.1690        .23444        .26418E-03   -.25950E-04
   4  Prefactor     .94055        .18352        .22787E-03   -.30683E-04
                               ERR DEF=  .500    
Final values: 
  norm       = 0.138695
  alpha      = 2.66765
  Normalizat = 1.16895
  Prefactor  = 0.940555
 **********
 **   18 **HESSE 
 **********

 FCN=   5987.368     FROM HESSE     STATUS=OK            27 CALLS      317 TOTAL
                     EDM=   .71E-10    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  norm          .13870        .53712        .15383E-03   -1.5634    
   2  alpha         2.6676        1.9239        .23949E-02    .67110E-01
   3  Normalizat    1.1690        .23481        .10567E-04   -.87568    
   4  Prefactor     .94055        .18368        .91148E-05   -.94738    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 7.05828e-11
Minuit parameter uncertainties:
  1  0.537143
  2  2.19719
  3  0.235018
  4  0.183799
shell-init: error retrieving current directory: getcwd: cannot access parent directories: No such file or directory
rmdir: failed to remove `/scratch/kocevski/514634': 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) = 5987.36821883
delta logL = 0.00489519046369

Extracting fit parameters...

4FGL J0948.9+0022
   Spectrum: LogParabola
217         norm:  1.387e-01  5.371e-01  1.000e-04  1.000e+04 ( 1.000e-10)
218        alpha:  2.668e+00  2.197e+00  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:  9.406e-01  1.838e-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.169e+00  2.350e-01  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Free Index): 0.06
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/514634/cmap_HighResolution_317606401_317865601_4FGL_J0948.9+0022_daily_bin302.png

Cleaning up...

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

Updating database...

UPDATE lightcurve_data_v2 SET energy_flux_upper_limit='2.64e-05', job_status='DONE', photon_flux_upper_limit='1.06e-07', time_completed='2021-09-01 02:53:54.518702', job_id='514634', GAL2='0.94', fit_tolerance='1e-08', EG2='1.17', EG='1.17', time_epoch_completed='1630490034.52', return_code2='0', ts='0.06', comment='SUCCESS', return_code='0', GAL='0.94', dlogl='4.90e-03', ts2='0.07', photon_index_error='0.00', photon_index='2.45' WHERE bin_id='302' AND source_name='4FGL J0948.9+0022' AND cadence='daily';

Database successfully updated.


Analysis Complete.


Wed Sep  1 02:53:54 PDT 2021


------------------------------------------------------------
Sender: LSF System <lsf@bullet0075>
Subject: Job 514634: <4FGL_J0948.9+0022_daily_bin302> in cluster <slac> Done

Job <4FGL_J0948.9+0022_daily_bin302> was submitted from host <rhel6-64d> by user <kocevski> in cluster <slac> at Wed Sep  1 02:40:42 2021
Job was executed on host(s) <bullet0075>, in queue <medium>, as user <kocevski> in cluster <slac> at Wed Sep  1 02:40:43 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:40:43 2021
Terminated at Wed Sep  1 02:53:55 2021
Results reported at Wed Sep  1 02:53:55 2021

Your job looked like:

------------------------------------------------------------
# LSBATCH: User input
/nfs/farm/g/glast/g/LCRepository/Likelihood/Scripts/LikelihoodAnalysis.py 4FGL_J0948.9+0022_daily_bin302 147.244 0.3717 317606401 317865601 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 :                                   581.00 sec.
    Max Memory :                                 1093 MB
    Average Memory :                             230.96 MB
    Total Requested Memory :                     -
    Delta Memory :                               -
    Max Swap :                                   -
    Max Processes :                              5
    Max Threads :                                21
    Run time :                                   791 sec.
    Turnaround time :                            793 sec.

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

