/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 209 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 = 7489
number of fields = 29
RA_SUN column already exists. File will not be modified.
Done.


Performing analysis on: 4FGL_J0948.9+0022_daily_bin517
RA = 147.244, Dec = 0.3717
tmin = 373334401, tmax = 373593601
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='514999', job_status='RUN', time_executed='2021-09-01 02:45:17.438140', time_epoch_executed='1630489517.44' WHERE source_name='4FGL J0948.9+0022' and cadence='daily' and bin_id='517'

Database successfully updated.
Done.

Creating custom output directory:
/scratch/kocevski/514999

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

Retrieving the FT1 file...

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

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

Retrieving 46 files...
Done.


Merging files...

Checksum keywords updated successfully.

Merged file saved to:
/scratch/kocevski/514999/ft1_4FGL_J0948.9+0022_daily_bin517.fits


Retrieving the FT1 file...

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

Retrieving 46 files...
Done.


Merging files...

Merged file saved to:
/scratch/kocevski/514999/ft2_4FGL_J0948.9+0022_daily_bin517.fits


Selecting the photons:
time -p gtselect infile=/scratch/kocevski/514999/ft1_4FGL_J0948.9+0022_daily_bin517.fits outfile=/scratch/kocevski/514999/ft1_filteredMKT_4FGL_J0948.9+0022_daily_bin517.fits ra=147.244 dec=0.3717 rad=12.0 tmin=373334401.0 tmax=373593601.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 4.45
user 4.22
sys 0.21

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

Selecting the good time intervals:
time -p gtmktime scfile=/scratch/kocevski/514999/ft2_4FGL_J0948.9+0022_daily_bin517.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/514999/ft1_filteredMKT_4FGL_J0948.9+0022_daily_bin517.fits evtable="EVENTS" outfile="/scratch/kocevski/514999/ft1_filtered_4FGL_J0948.9+0022_daily_bin517.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.13

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

Generating the exposure map:
time -p gtexpmap evfile=/scratch/kocevski/514999/ft1_filtered_4FGL_J0948.9+0022_daily_bin517.fits evtable="EVENTS" scfile=/scratch/kocevski/514999/ft2_4FGL_J0948.9+0022_daily_bin517.fits sctable="SC_DATA" expcube=/scratch/kocevski/514999/ltcube_373334401_373593601_4FGL_J0948.9+0022_daily_bin517.fits outfile=/scratch/kocevski/514999/expmap_373334401_373593601_4FGL_J0948.9+0022_daily_bin517.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/514999/ltcube_373334401_373593601_4FGL_J0948.9+0022_daily_bin517.fits
.....................!
real 190.36
user 185.60
sys 4.26

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/514999/ft1_filtered_4FGL_J0948.9+0022_daily_bin517.fits scfile=/scratch/kocevski/514999/ft2_4FGL_J0948.9+0022_daily_bin517.fits outfile=/scratch/kocevski/514999/cmap_373334401_373593601_4FGL_J0948.9+0022_daily_bin517.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.38
sys 0.14

Creating the high resolution counts map:
time -p gtbin evfile=/scratch/kocevski/514999/ft1_filtered_4FGL_J0948.9+0022_daily_bin517.fits scfile=/scratch/kocevski/514999/ft2_4FGL_J0948.9+0022_daily_bin517.fits outfile=/scratch/kocevski/514999/cmap_HighResolution_373334401_373593601_4FGL_J0948.9+0022_daily_bin517.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.55
user 0.38
sys 0.15

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

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

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

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

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'norm      '    9.0642       1.0000         .10000E-03   10000.    
     2 'norm      '    8.4928       1.0000         .10000E-03   10000.    
     3 'Prefactor '    .25748E-02   1.0000         .10000E-03   10000.    
     4 'Prefactor '    .12507E-03   1.0000         .10000E-03   10000.    
     5 'Prefactor '    .10240E-03   1.0000         .10000E-03   10000.    
     6 'Prefactor '    .10003E-03   1.0000         .10000E-03   10000.    
     7 'Prefactor '    26.803       1.0000         .10000E-03   10000.    
     8 'norm      '    6.3283       1.0000         .10000E-03   10000.    
     9 'norm      '    4.8805       1.0000         .10000E-03   10000.    
    10 'norm      '    7.4921       1.0000         .10000E-03   10000.    
    11 'norm      '    .32346       1.0000         .10000E-03   10000.    
    12 'Prefactor '    .10058E-03   1.0000         .10000E-03   10000.    
    13 'Prefactor '    16.715       1.0000         .10000E-03   10000.    
    14 'Prefactor '    93.703       1.0000         .10000E-03   10000.    
    15 'norm      '    .10314E-03   1.0000         .10000E-03   10000.    
    16 'Prefactor '    1.5530       1.0000         .10000E-03   10000.    
    17 'Prefactor '    .10353E-03   1.0000         .10000E-03   10000.    
    18 'Prefactor '    .22333E-03   1.0000         .10000E-03   10000.    
    19 'Prefactor '    .10314E-03   1.0000         .10000E-03   10000.    
    20 'norm      '    .10005E-03   1.0000         .10000E-03   10000.    
    21 'Prefactor '    .10116E-03   1.0000         .10000E-03   10000.    
    22 'Normalizat'    .53609       1.0000         .10000E-01   10.000    
    23 'Prefactor '    1.4264       1.0000          .0000       10.000    
 **********
 **   15 **SET ERR    .5000    
 **********
 **********
 **   16 **SET GRAD    1.000    
 **********
 **********
 **   17 **MINIMIZE    .4750E+05   .2000E-04
 **********

 MIGRAD MINIMIZATION HAS CONVERGED.

 FCN=   6858.213     FROM MIGRAD    STATUS=CONVERGED    107 CALLS     2164 TOTAL
                     EDM=   .49E-09  STRATEGY=1  ERROR MATRIX UNCERTAINTY=  7.5%

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  norm          9.0634        4.7196        .55120E-05    .10252E-02
   2  norm          8.4914        1.2071        .11212E-05   -.34197E-03
   3  Prefactor     .10743E-03    14.823        .79745E-05** at limit **
   4  Prefactor     .10000E-03    2.8374       -.37447E-06** at limit **
   5  Prefactor     .10004E-03    18.496       -.15163E-04** at limit **
   6  Prefactor     .10000E-03    5.3708       -.66889E-06** at limit **
   7  Prefactor     26.897        30.483        .13243E-04    .28093E-03
   8  norm          6.3280        3.9797        .10986E-06    .17050E-04
   9  norm          4.8807        1.6954        .26422E-06    .12509E-04
  10  norm          7.4922        1.1590        .41402E-07    .28776E-03
  11  norm          .32338        1.0584       -.59937E-07   -.41688E-04
  12  Prefactor     .10000E-03    6.0769        .52494E-05** at limit **
  13  Prefactor     16.784        22.992        .13070E-04   -.16034E-02
  14  Prefactor     93.694        3.6213       -.11181E-05    .67109E-02
  15  norm          .10000E-03    7.3334        .12746E-04** at limit **
  16  Prefactor     1.5635        1.1662       -.16364E-06   -.15299E-03
  17  Prefactor     .10003E-03    15.584        .19464E-04** at limit **
  18  Prefactor     .10124E-03    37.713        .32372E-05** at limit **
  19  Prefactor     .10000E-03    11.668       -.71204E-05** at limit **
  20  norm          .10000E-03    1.0169        .33167E-06** at limit **
  21  Prefactor     .10000E-03    6.8630       -.17430E-04** at limit **
  22  Normalizat    .53614        .24082       -.64075E-05    .73044E-05
  23  Prefactor     1.4264        .19891       -.30719E-06    .23682E-04
                               ERR DEF=  .500    
Final values: 
  norm       = 9.06341
  norm       = 8.49136
  Prefactor  = 0.000107428
  Prefactor  = 0.0001
  Prefactor  = 0.00010004
  Prefactor  = 0.0001
  Prefactor  = 26.897
  norm       = 6.32804
  norm       = 4.8807
  norm       = 7.49223
  norm       = 0.323376
  Prefactor  = 0.0001
  Prefactor  = 16.7842
  Prefactor  = 93.6938
  norm       = 0.000100003
  Prefactor  = 1.56355
  Prefactor  = 0.000100035
  Prefactor  = 0.000101237
  Prefactor  = 0.000100003
  norm       = 0.0001
  Prefactor  = 0.000100004
  Normalizat = 0.536136
  Prefactor  = 1.42636
 **********
 **   18 **HESSE 
 **********

 FCN=   6858.213     FROM HESSE     STATUS=OK           430 CALLS     2594 TOTAL
                     EDM=   .90E-06    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  norm          9.0634        4.7934        .33281E-02   -1.5106    
   2  norm          8.4914        6.4089        .34389E-02   -1.5125    
   3  Prefactor     .10743E-03    11.075        .99942E-01   -1.5709    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   4  Prefactor     .10000E-03    2.7379        .90712E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   5  Prefactor     .10004E-03    18.697        .90712E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   6  Prefactor     .10000E-03    5.3610        .90712E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   7  Prefactor     26.897        37.918        .19345E-02   -1.4670    
   8  norm          6.3280        3.9881        .39890E-02   -1.5205    
   9  norm          4.8807        1.7043        .45519E-02   -1.5266    
  10  norm          7.4922        1.1624        .36630E-02   -1.5160    
  11  norm          .32338        1.0272        .35555E-01   -1.5594    
  12  Prefactor     .10000E-03    6.0471        .90712E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  13  Prefactor     16.784        41.568        .24491E-02   -1.4888    
  14  Prefactor     93.694        57.295        .10379E-02   -1.3769    
  15  norm          .10000E-03    7.3508        .90712E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  16  Prefactor     1.5635        10.970        .85428E-02   -1.5458    
  17  Prefactor     .10003E-03    15.780        .90712E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  18  Prefactor     .10124E-03    44.581        .90712E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  19  Prefactor     .10000E-03    11.665        .90712E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  20  norm          .10000E-03    .59559        .25114E-01   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  21  Prefactor     .10000E-03    6.7882        .90712E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  22  Normalizat    .53614        .22598        .91922E-01   -1.1077    
  23  Prefactor     1.4264        .17742        .49467E-01   -.79624    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 9.01207e-07
Minuit parameter uncertainties:
  1  4.79362
  2  6.40945
  3  0.0181436
  4  8.69582e-06
  5  0.00172247
  6  1.03763e-05
  7  37.9516
  8  3.98824
  9  1.70428
  10  1.16243
  11  1.0273
  12  8.03311e-05
  13  41.6401
  14  57.3291
  15  0.000272714
  16  8.28509
  17  0.00147651
  18  0.0148646
  19  0.00035302
  20  3.63784e-07
  21  0.000320784
  22  0.226373
  23  0.177498
Done.

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

Extracting fit parameters...

4FGL J0948.9+0022
   Spectrum: LogParabola
217         norm:  7.492e+00  1.162e+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

GAL_V02
   Spectrum: PowerLaw
472    Prefactor:  1.426e+00  1.775e-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:  5.361e-01  2.264e-01  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Fixed Index): 112.67
Ra Dec: 147.244 0.372
Photon Index (Fixed Index): 2.45 +/- 0.00
Photon Flux (Fixed Index): 5.75e-07 +/- 8.92e-08
Energy Flux (Fixed Index): 1.43e-04 +/- 2.22e-05

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) = 6857.85660436
delta logL = 0.356098285099

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

MINUIT Return Code (Free Index): 0
logL (Free Index) = 6857.84007015
delta logL = 0.372632499353

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'norm      '    7.4557       1.0000         .10000E-03   10000.    
     2 'alpha     '    2.2853       1.0000          .0000       5.0000    
     3 'Normalizat'    .58010       1.0000         .10000E-01   10.000    
     4 'Prefactor '    1.3970       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=   6857.840     FROM MIGRAD    STATUS=CONVERGED     52 CALLS      203 TOTAL
                     EDM=   .86E-10    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  norm          7.4557        1.1602        .36720E-02    .10149E-02
   2  alpha         2.2853        .18609        .13566        .64991E-04
   3  Normalizat    .58006        .21168        .88668E-01    .31223E-04
   4  Prefactor     1.3970        .17522        .49878E-01   -.10313E-03
                               ERR DEF=  .500    
Final values: 
  norm       = 7.45565
  alpha      = 2.28526
  Normalizat = 0.580056
  Prefactor  = 1.397
 **********
 **   18 **HESSE 
 **********

 FCN=   6857.840     FROM HESSE     STATUS=OK            27 CALLS      230 TOTAL
                     EDM=   .88E-10    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  norm          7.4557        1.1665        .33144E-04   -1.5162    
   2  alpha         2.2853        .18986        .59358E-03   -.86001E-01
   3  Normalizat    .58006        .24062        .39283E-03   -1.0884    
   4  Prefactor     1.3970        .19940        .22049E-03   -.80467    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 8.76024e-11
Minuit parameter uncertainties:
  1  1.16648
  2  0.190046
  3  0.241055
  4  0.199507
shell-init: error retrieving current directory: getcwd: cannot access parent directories: No such file or directory
rmdir: failed to remove `/scratch/kocevski/514999': 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) = 6857.84007005
delta logL = 0.372632596617

Extracting fit parameters...

4FGL J0948.9+0022
   Spectrum: LogParabola
217         norm:  7.456e+00  1.166e+00  1.000e-04  1.000e+04 ( 1.000e-10)
218        alpha:  2.285e+00  1.900e-01  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:  1.397e+00  1.995e-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:  5.801e-01  2.411e-01  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Free Index): 111.70
Ra Dec: 147.244 0.372
Photon Index (Free Index): 2.29 +/- 0.19
Photon Flux (Free Index): 5.42e-07 +/- 9.34e-08
Energy Flux (Free Index): 1.51e-04 +/- 2.52e-05

Creating a high resolution counts map...
INFO: Auto-setting vmin to -2.500e-04 [aplpy.core]
INFO: Auto-setting vmax to  2.775e-03 [aplpy.core]
Saving /scratch/kocevski/514999/cmap_HighResolution_373334401_373593601_4FGL_J0948.9+0022_daily_bin517.png

Cleaning up...

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

Updating database...

UPDATE lightcurve_data_v2 SET comment='SUCCESS', photon_flux='5.75e-07', energy_flux2='1.51e-04', photon_flux_error='8.92e-08', dlogl='3.73e-01', energy_flux='1.43e-04', photon_flux2='5.42e-07', job_status='DONE', time_completed='2021-09-01 02:54:37.148102', photon_index_error2='0.19', photon_index2='2.29', ts='112.67', fit_tolerance='1e-08', GAL='1.43', photon_index_error='0.00', energy_flux_error2='2.52e-05', EG='0.54', time_epoch_completed='1630490077.15', return_code='0', job_id='514999', GAL2='1.40', EG2='0.58', return_code2='0', energy_flux_error='2.22e-05', photon_flux_error2='9.34e-08', ts2='111.70', photon_index='2.45' WHERE bin_id='517' AND source_name='4FGL J0948.9+0022' AND cadence='daily';

Database successfully updated.


Analysis Complete.


Wed Sep  1 02:54:37 PDT 2021


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

Job <4FGL_J0948.9+0022_daily_bin517> was submitted from host <rhel6-64d> by user <kocevski> in cluster <slac> at Wed Sep  1 02:41:11 2021
Job was executed on host(s) <bullet0153>, in queue <medium>, as user <kocevski> in cluster <slac> at Wed Sep  1 02:41:13 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:41:13 2021
Terminated at Wed Sep  1 02:54:38 2021
Results reported at Wed Sep  1 02:54:38 2021

Your job looked like:

------------------------------------------------------------
# LSBATCH: User input
/nfs/farm/g/glast/g/LCRepository/Likelihood/Scripts/LikelihoodAnalysis.py 4FGL_J0948.9+0022_daily_bin517 147.244 0.3717 373334401 373593601 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 :                                   556.00 sec.
    Max Memory :                                 1255 MB
    Average Memory :                             225.16 MB
    Total Requested Memory :                     -
    Delta Memory :                               -
    Max Swap :                                   -
    Max Processes :                              5
    Max Threads :                                21
    Run time :                                   804 sec.
    Turnaround time :                            807 sec.

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

