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


Performing analysis on: 4FGL_J0948.9+0022_daily_bin794
RA = 147.244, Dec = 0.3717
tmin = 445132801, tmax = 445392001
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='516795', job_status='RUN', time_executed='2021-09-01 02:50:18.712663', time_epoch_executed='1630489818.71' WHERE source_name='4FGL J0948.9+0022' and cadence='daily' and bin_id='794'

Database successfully updated.
Done.

Creating custom output directory:
/scratch/kocevski/516795

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

Retrieving the FT1 file...

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

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

Retrieving 48 files...
Done.


Merging files...

Checksum keywords updated successfully.

Merged file saved to:
/scratch/kocevski/516795/ft1_4FGL_J0948.9+0022_daily_bin794.fits


Retrieving the FT1 file...

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

Retrieving 48 files...
Done.


Merging files...

Merged file saved to:
/scratch/kocevski/516795/ft2_4FGL_J0948.9+0022_daily_bin794.fits


Selecting the photons:
time -p gtselect infile=/scratch/kocevski/516795/ft1_4FGL_J0948.9+0022_daily_bin794.fits outfile=/scratch/kocevski/516795/ft1_filteredMKT_4FGL_J0948.9+0022_daily_bin794.fits ra=147.244 dec=0.3717 rad=12.0 tmin=445132801.0 tmax=445392001.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.07
user 2.58
sys 0.19

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

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

Generating the livetime cube:
time -p gtltcube evfile="/scratch/kocevski/516795/ft1_filtered_4FGL_J0948.9+0022_daily_bin794.fits" evtable="EVENTS" scfile=/scratch/kocevski/516795/ft2_4FGL_J0948.9+0022_daily_bin794.fits sctable="SC_DATA" outfile=/scratch/kocevski/516795/ltcube_445132801_445392001_4FGL_J0948.9+0022_daily_bin794.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/516795/ft2_4FGL_J0948.9+0022_daily_bin794.fits
.....................!
real 9.26
user 8.90
sys 0.27

Generating the exposure map:
time -p gtexpmap evfile=/scratch/kocevski/516795/ft1_filtered_4FGL_J0948.9+0022_daily_bin794.fits evtable="EVENTS" scfile=/scratch/kocevski/516795/ft2_4FGL_J0948.9+0022_daily_bin794.fits sctable="SC_DATA" expcube=/scratch/kocevski/516795/ltcube_445132801_445392001_4FGL_J0948.9+0022_daily_bin794.fits outfile=/scratch/kocevski/516795/expmap_445132801_445392001_4FGL_J0948.9+0022_daily_bin794.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/516795/ltcube_445132801_445392001_4FGL_J0948.9+0022_daily_bin794.fits
.....................!
real 142.23
user 138.72
sys 3.11

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/516795/ft1_filtered_4FGL_J0948.9+0022_daily_bin794.fits scfile=/scratch/kocevski/516795/ft2_4FGL_J0948.9+0022_daily_bin794.fits outfile=/scratch/kocevski/516795/cmap_445132801_445392001_4FGL_J0948.9+0022_daily_bin794.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.47
user 0.26
sys 0.16

Creating the high resolution counts map:
time -p gtbin evfile=/scratch/kocevski/516795/ft1_filtered_4FGL_J0948.9+0022_daily_bin794.fits scfile=/scratch/kocevski/516795/ft2_4FGL_J0948.9+0022_daily_bin794.fits outfile=/scratch/kocevski/516795/cmap_HighResolution_445132801_445392001_4FGL_J0948.9+0022_daily_bin794.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.45
user 0.28
sys 0.15

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

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

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

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

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'norm      '    .69223       1.0000         .10000E-03   10000.    
     2 'norm      '    4.0232       1.0000         .10000E-03   10000.    
     3 'Prefactor '    .57451E-01   1.0000         .10000E-03   10000.    
     4 'Prefactor '    .10000E-03   1.0000         .10000E-03   10000.    
     5 'Prefactor '    .10057E-03   1.0000         .10000E-03   10000.    
     6 'Prefactor '    .29166E-03   1.0000         .10000E-03   10000.    
     7 'Prefactor '    25.737       1.0000         .10000E-03   10000.    
     8 'norm      '    2.2463       1.0000         .10000E-03   10000.    
     9 'norm      '    2.2498       1.0000         .10000E-03   10000.    
    10 'norm      '    1.8495       1.0000         .10000E-03   10000.    
    11 'norm      '    1.2103       1.0000         .10000E-03   10000.    
    12 'Prefactor '    .19046E-01   1.0000         .10000E-03   10000.    
    13 'Prefactor '    16.939       1.0000         .10000E-03   10000.    
    14 'Prefactor '    .10336E-03   1.0000         .10000E-03   10000.    
    15 'norm      '    .10020E-03   1.0000         .10000E-03   10000.    
    16 'Prefactor '    .10006E-03   1.0000         .10000E-03   10000.    
    17 'Prefactor '    .10012E-03   1.0000         .10000E-03   10000.    
    18 'Prefactor '    .10675E-03   1.0000         .10000E-03   10000.    
    19 'Prefactor '    10.619       1.0000         .10000E-03   10000.    
    20 'norm      '    5.9773       1.0000         .10000E-03   10000.    
    21 'Prefactor '    .10000E-03   1.0000         .10000E-03   10000.    
    22 'Normalizat'    .89156       1.0000         .10000E-01   10.000    
    23 'Prefactor '    1.1143       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.

 MIGRAD WILL VERIFY CONVERGENCE AND ERROR MATRIX.

 FCN=   7347.365     FROM MIGRAD    STATUS=CONVERGED    947 CALLS     3010 TOTAL
                     EDM=   .67E-08    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  norm          .69231        2.6115        .26161E-03   -.23467E-03
   2  norm          4.0221        5.5729        .20105E-03   -.20312E-03
   3  Prefactor     .10034E-03    18.886        .82210E-01** at limit **
   4  Prefactor     .10000E-03    1.3292        .95885E-03** at limit **
   5  Prefactor     .10000E-03    10.084        .18142E-02** at limit **
   6  Prefactor     .10030E-03    48.691        .41821E-02** at limit **
   7  Prefactor     25.709        31.837        .78962E-04   -.21740E-04
   8  norm          2.2467        3.1289        .17213E-03   -.10640E-03
   9  norm          2.2498        1.2798        .70243E-04   -.24520E-03
  10  norm          1.8495        .64577        .38704E-04   -.16464E-02
  11  norm          1.2103        1.1785        .90591E-04    .20079E-04
  12  Prefactor     .10018E-03    10.808        .73723E-01** at limit **
  13  Prefactor     16.932        34.877        .97315E-04    .22313E-04
  14  Prefactor     .10000E-03    58.005        .18142E-02** at limit **
  15  norm          .10000E-03    6.8951        .18142E-02** at limit **
  16  Prefactor     .10000E-03    3.2545        .15080E-02** at limit **
  17  Prefactor     .10000E-03    50.323        .18142E-02** at limit **
  18  Prefactor     .10000E-03    19.471        .18142E-02** at limit **
  19  Prefactor     10.610        12.074        .12295E-03   -.93204E-04
  20  norm          5.9773        1.7793        .59397E-04   -.16441E-03
  21  Prefactor     .10000E-03    3.2959        .15104E-02** at limit **
  22  Normalizat    .89161        .21208        .28820E-03   -.53391E-03
  23  Prefactor     1.1142        .16565        .21477E-03   -.68592E-03
                               ERR DEF=  .500    
Final values: 
  norm       = 0.692313
  norm       = 4.02211
  Prefactor  = 0.00010034
  Prefactor  = 0.0001
  Prefactor  = 0.0001
  Prefactor  = 0.000100304
  Prefactor  = 25.7092
  norm       = 2.24671
  norm       = 2.24975
  norm       = 1.84949
  norm       = 1.21033
  Prefactor  = 0.000100182
  Prefactor  = 16.9315
  Prefactor  = 0.000100001
  norm       = 0.0001
  Prefactor  = 0.0001
  Prefactor  = 0.0001
  Prefactor  = 0.0001
  Prefactor  = 10.6103
  norm       = 5.97731
  Prefactor  = 0.0001
  Normalizat = 0.891609
  Prefactor  = 1.11425
 **********
 **   18 **HESSE 
 **********

 FCN=   7347.365     FROM HESSE     STATUS=OK           366 CALLS     3376 TOTAL
                     EDM=   .68E-08    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  norm          .69231        2.6111        .10464E-04   -1.5542    
   2  norm          4.0221        5.5724        .80419E-05   -1.5307    
   3  Prefactor     .10034E-03    16.487        .89561E-01   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   4  Prefactor     .10000E-03    1.3294        .19177E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   5  Prefactor     .10000E-03    10.084        .36285E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   6  Prefactor     .10030E-03    49.363        .83642E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   7  Prefactor     25.709        31.837        .31585E-05   -1.4693    
   8  norm          2.2467        3.1287        .68852E-05   -1.5408    
   9  norm          2.2498        1.2797        .28097E-05   -1.5408    
  10  norm          1.8495        .64574        .15482E-05   -1.5436    
  11  norm          1.2103        1.1785        .36236E-05   -1.5488    
  12  Prefactor     .10018E-03    10.035        .77726E-01   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  13  Prefactor     16.932        34.866        .38926E-05   -1.4885    
  14  Prefactor     .10000E-03    58.037        .36285E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  15  norm          .10000E-03    6.8955        .36285E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  16  Prefactor     .10000E-03    3.2547        .30160E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  17  Prefactor     .10000E-03    50.328        .36285E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  18  Prefactor     .10000E-03    19.472        .36285E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  19  Prefactor     10.610        12.074        .49181E-05   -1.5056    
  20  norm          5.9773        1.7792        .23759E-05   -1.5219    
  21  Prefactor     .10000E-03    3.2969        .30207E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  22  Normalizat    .89161        .21214        .57640E-04   -.96756    
  23  Prefactor     1.1142        .16578        .42955E-04   -.89012    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 6.8342e-09
Minuit parameter uncertainties:
  1  2.61152
  2  5.57311
  3  0.00473644
  4  3.06878e-06
  5  7.17323e-06
  6  0.00775148
  7  31.8584
  8  3.12889
  9  1.27975
  10  0.645739
  11  1.17856
  12  0.00270166
  13  34.908
  14  0.000448862
  15  4.27132e-06
  16  1.65619e-05
  17  4.62046e-05
  18  6.70513e-05
  19  12.0767
  20  1.77925
  21  1.02557e-05
  22  0.212342
  23  0.165856
Done.

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

Extracting fit parameters...

4FGL J0948.9+0022
   Spectrum: LogParabola
217         norm:  1.849e+00  6.457e-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:  1.114e+00  1.659e-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:  8.916e-01  2.123e-01  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Fixed Index): 13.65
Ra Dec: 147.244 0.372
Photon Index (Fixed Index): 2.45 +/- 0.00
Photon Flux (Fixed Index): 1.42e-07 +/- 4.95e-08
Energy Flux (Fixed Index): 3.54e-05 +/- 1.24e-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): 102
logL (Free Index) = 7346.01558346
delta logL = 1.34953608946

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

MINUIT Return Code (Free Index): 0
logL (Free Index) = 7345.99744096
delta logL = 1.36767859508

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'norm      '    .85094       1.0000         .10000E-03   10000.    
     2 'alpha     '    4.3409       1.0000          .0000       5.0000    
     3 'Normalizat'    .75942       1.0000         .10000E-01   10.000    
     4 'Prefactor '    1.2178       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=   7345.997     FROM MIGRAD    STATUS=CONVERGED     50 CALLS      210 TOTAL
                     EDM=   .25E-10    STRATEGY= 1      ERR MATRIX NOT POS-DEF

  EXT PARAMETER                APPROXIMATE        STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  norm          .85138        4.1086        .56052E-02   -.74919E-03
   2  alpha         4.3411        3.2524        .50000       -.86106E-05
   3  Normalizat    .75948        .95697E-01    .69937E-01    .31186E-04
   4  Prefactor     1.2178        .85324E-01    .34223E-01    .28947E-04
                               ERR DEF=  .500    
Final values: 
  norm       = 0.851382
  alpha      = 4.34106
  Normalizat = 0.759482
  Prefactor  = 1.21777
 **********
 **   18 **HESSE 
 **********

 FCN=   7345.997     FROM HESSE     STATUS=OK            31 CALLS      241 TOTAL
                     EDM=   .81E-09    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  norm          .85138        1.2197        .24929E-04   -1.5523    
   2  alpha         4.3411        3.8628        .25370E-01    .82777    
   3  Normalizat    .75948        .20945        .30949E-03   -1.0159    
   4  Prefactor     1.2178        .17375        .20703E-03   -.85786    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 8.1071e-10
Minuit parameter uncertainties:
  1  1.21971
  2  2.01165
  3  0.20967
  4  0.173836
shell-init: error retrieving current directory: getcwd: cannot access parent directories: No such file or directory
rmdir: failed to remove `/scratch/kocevski/516795': 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) = 7345.99743833
delta logL = 1.36768122289

Extracting fit parameters...

4FGL J0948.9+0022
   Spectrum: LogParabola
217         norm:  8.514e-01  1.220e+00  1.000e-04  1.000e+04 ( 1.000e-10)
218        alpha:  4.341e+00  2.012e+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:  1.218e+00  1.738e-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:  7.595e-01  2.097e-01  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Free Index): 17.16
Ra Dec: 147.244 0.372
Photon Index (Free Index): 4.34 +/- 2.01
Photon Flux (Free Index): 1.93e-07 +/- 6.47e-08
Energy Flux (Free Index): 2.78e-05 +/- 1.12e-05

Creating a high resolution counts map...
INFO: Auto-setting vmin to -1.000e-01 [aplpy.core]
INFO: Auto-setting vmax to  1.110e+00 [aplpy.core]
Saving /scratch/kocevski/516795/cmap_HighResolution_445132801_445392001_4FGL_J0948.9+0022_daily_bin794.png

Cleaning up...

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

Updating database...

UPDATE lightcurve_data_v2 SET comment='SUCCESS', photon_flux='1.42e-07', energy_flux2='2.78e-05', photon_flux_error='4.95e-08', dlogl='1.37e+00', energy_flux='3.54e-05', photon_flux2='1.93e-07', job_status='DONE', time_completed='2021-09-01 02:58:05.634843', photon_index_error2='2.01', photon_index2='4.34', ts='13.65', fit_tolerance='1e-08', GAL='1.11', photon_index_error='0.00', energy_flux_error2='1.12e-05', EG='0.89', time_epoch_completed='1630490285.63', return_code='0', job_id='516795', GAL2='1.22', EG2='0.76', return_code2='0', energy_flux_error='1.24e-05', photon_flux_error2='6.47e-08', ts2='17.16', photon_index='2.45' WHERE bin_id='794' AND source_name='4FGL J0948.9+0022' AND cadence='daily';

Database successfully updated.


Analysis Complete.


Wed Sep  1 02:58:05 PDT 2021


------------------------------------------------------------
Sender: LSF System <lsf@bullet0095>
Subject: Job 516795: <4FGL_J0948.9+0022_daily_bin794> in cluster <slac> Done

Job <4FGL_J0948.9+0022_daily_bin794> was submitted from host <rhel6-64p> by user <kocevski> in cluster <slac> at Wed Sep  1 02:46:29 2021
Job was executed on host(s) <bullet0095>, in queue <medium>, as user <kocevski> in cluster <slac> at Wed Sep  1 02:46:30 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:46:30 2021
Terminated at Wed Sep  1 02:58:06 2021
Results reported at Wed Sep  1 02:58:06 2021

Your job looked like:

------------------------------------------------------------
# LSBATCH: User input
/nfs/farm/g/glast/g/LCRepository/Likelihood/Scripts/LikelihoodAnalysis.py 4FGL_J0948.9+0022_daily_bin794 147.244 0.3717 445132801 445392001 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 :                                   461.00 sec.
    Max Memory :                                 1093 MB
    Average Memory :                             265.41 MB
    Total Requested Memory :                     -
    Delta Memory :                               -
    Max Swap :                                   -
    Max Processes :                              5
    Max Threads :                                21
    Run time :                                   695 sec.
    Turnaround time :                            697 sec.

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

