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


Performing analysis on: 4FGL_J0948.9+0022_daily_bin681
RA = 147.244, Dec = 0.3717
tmin = 415843201, tmax = 416102401
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='516627', job_status='RUN', time_executed='2021-09-01 02:48:53.160869', time_epoch_executed='1630489733.16' WHERE source_name='4FGL J0948.9+0022' and cadence='daily' and bin_id='681'

Database successfully updated.
Done.

Creating custom output directory:
/scratch/kocevski/516627

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

Retrieving the FT1 file...

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

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

Retrieving 46 files...
Done.


Merging files...

Checksum keywords updated successfully.

Merged file saved to:
/scratch/kocevski/516627/ft1_4FGL_J0948.9+0022_daily_bin681.fits


Retrieving the FT1 file...

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

Retrieving 46 files...
Done.


Merging files...

Merged file saved to:
/scratch/kocevski/516627/ft2_4FGL_J0948.9+0022_daily_bin681.fits


Selecting the photons:
time -p gtselect infile=/scratch/kocevski/516627/ft1_4FGL_J0948.9+0022_daily_bin681.fits outfile=/scratch/kocevski/516627/ft1_filteredMKT_4FGL_J0948.9+0022_daily_bin681.fits ra=147.244 dec=0.3717 rad=12.0 tmin=415843201.0 tmax=416102401.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 5.84
user 5.58
sys 0.24

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

Selecting the good time intervals:
time -p gtmktime scfile=/scratch/kocevski/516627/ft2_4FGL_J0948.9+0022_daily_bin681.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/516627/ft1_filteredMKT_4FGL_J0948.9+0022_daily_bin681.fits evtable="EVENTS" outfile="/scratch/kocevski/516627/ft1_filtered_4FGL_J0948.9+0022_daily_bin681.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.56
user 0.32
sys 0.16

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

Generating the exposure map:
time -p gtexpmap evfile=/scratch/kocevski/516627/ft1_filtered_4FGL_J0948.9+0022_daily_bin681.fits evtable="EVENTS" scfile=/scratch/kocevski/516627/ft2_4FGL_J0948.9+0022_daily_bin681.fits sctable="SC_DATA" expcube=/scratch/kocevski/516627/ltcube_415843201_416102401_4FGL_J0948.9+0022_daily_bin681.fits outfile=/scratch/kocevski/516627/expmap_415843201_416102401_4FGL_J0948.9+0022_daily_bin681.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/516627/ltcube_415843201_416102401_4FGL_J0948.9+0022_daily_bin681.fits
.....................!
real 189.74
user 185.20
sys 4.23

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/516627/ft1_filtered_4FGL_J0948.9+0022_daily_bin681.fits scfile=/scratch/kocevski/516627/ft2_4FGL_J0948.9+0022_daily_bin681.fits outfile=/scratch/kocevski/516627/cmap_415843201_416102401_4FGL_J0948.9+0022_daily_bin681.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.79
user 0.41
sys 0.14

Creating the high resolution counts map:
time -p gtbin evfile=/scratch/kocevski/516627/ft1_filtered_4FGL_J0948.9+0022_daily_bin681.fits scfile=/scratch/kocevski/516627/ft2_4FGL_J0948.9+0022_daily_bin681.fits outfile=/scratch/kocevski/516627/cmap_HighResolution_415843201_416102401_4FGL_J0948.9+0022_daily_bin681.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.63
user 0.42
sys 0.15

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

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

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

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

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'norm      '    2.8794       1.0000         .10000E-03   10000.    
     2 'norm      '    12.060       1.0000         .10000E-03   10000.    
     3 'Prefactor '    .14989E-03   1.0000         .10000E-03   10000.    
     4 'Prefactor '    .12449E-03   1.0000         .10000E-03   10000.    
     5 'Prefactor '    104.74       1.0000         .10000E-03   10000.    
     6 'Prefactor '    .52474E-02   1.0000         .10000E-03   10000.    
     7 'Prefactor '    121.16       1.0000         .10000E-03   10000.    
     8 'norm      '    1.9824       1.0000         .10000E-03   10000.    
     9 'norm      '    .24656E-01   1.0000         .10000E-03   10000.    
    10 'norm      '    1.8257       1.0000         .10000E-03   10000.    
    11 'norm      '    .10007E-03   1.0000         .10000E-03   10000.    
    12 'Prefactor '    36.549       1.0000         .10000E-03   10000.    
    13 'Prefactor '    55.537       1.0000         .10000E-03   10000.    
    14 'Prefactor '    .10023E-03   1.0000         .10000E-03   10000.    
    15 'norm      '    9.5733       1.0000         .10000E-03   10000.    
    16 'Prefactor '    .10009E-03   1.0000         .10000E-03   10000.    
    17 'Prefactor '    .10149E-03   1.0000         .10000E-03   10000.    
    18 'Prefactor '    .10010E-03   1.0000         .10000E-03   10000.    
    19 'Prefactor '    .10003E-03   1.0000         .10000E-03   10000.    
    20 'norm      '    4.0115       1.0000         .10000E-03   10000.    
    21 'Prefactor '    .10017E-03   1.0000         .10000E-03   10000.    
    22 'Normalizat'    .63938       1.0000         .10000E-01   10.000    
    23 'Prefactor '    1.0774       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=   3382.422     FROM MIGRAD    STATUS=CONVERGED    516 CALLS     2550 TOTAL
                     EDM=   .37E-09  STRATEGY=1  ERROR MATRIX UNCERTAINTY=   .8%

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  norm          2.8771        5.5902       -.14013E-07   -.23336E-03
   2  norm          12.063        11.919       -.77119E-07    .43016E-04
   3  Prefactor     .10000E-03    23.507       -.45226E-05** at limit **
   4  Prefactor     .10000E-03    2.9432       -.24199E-06** at limit **
   5  Prefactor     104.74        70.653       -.60719E-06    .72831E-04
   6  Prefactor     .10007E-03    16.967       -.20756E-05** at limit **
   7  Prefactor     121.15        82.691       -.69860E-05   -.13758E-05
   8  norm          1.9819        6.3010        .22536E-05   -.37248E-03
   9  norm          .23036E-01    .82413       -.36918E-06    .48358E-03
  10  norm          1.8259        .98522        .20480E-07    .68146E-03
  11  norm          .10000E-03    1.4459       -.34127E-07** at limit **
  12  Prefactor     36.549        24.189       -.48377E-06    .11300E-04
  13  Prefactor     55.529        64.620       -.90526E-05    .17811E-04
  14  Prefactor     .10000E-03    17.812       -.78816E-05** at limit **
  15  norm          9.5716        17.998       -.43049E-07   -.24556E-04
  16  Prefactor     .10000E-03    3.5766       -.45266E-07** at limit **
  17  Prefactor     .10000E-03    46.199        .53605E-05** at limit **
  18  Prefactor     .10000E-03    18.490        .11075E-04** at limit **
  19  Prefactor     .10000E-03    6.3073        .14093E-07** at limit **
  20  norm          4.0114        2.3603        .33587E-07   -.41735E-04
  21  Prefactor     .10000E-03    5.5209       -.23898E-07** at limit **
  22  Normalizat    .63934        .27726        .37621E-05    .16378E-03
  23  Prefactor     1.0776        .20198       -.41764E-06    .28225E-03
                               ERR DEF=  .500    
Final values: 
  norm       = 2.87705
  norm       = 12.0628
  Prefactor  = 0.0001
  Prefactor  = 0.0001
  Prefactor  = 104.742
  Prefactor  = 0.00010007
  Prefactor  = 121.149
  norm       = 1.98185
  norm       = 0.0230357
  norm       = 1.82587
  norm       = 0.0001
  Prefactor  = 36.549
  Prefactor  = 55.5289
  Prefactor  = 0.0001
  norm       = 9.57161
  Prefactor  = 0.0001
  Prefactor  = 0.0001
  Prefactor  = 0.0001
  Prefactor  = 0.0001
  norm       = 4.01142
  Prefactor  = 0.0001
  Normalizat = 0.639344
  Prefactor  = 1.07757
 **********
 **   18 **HESSE 
 **********

 FCN=   3382.422     FROM HESSE     STATUS=OK           370 CALLS     2920 TOTAL
                     EDM=   .30E-08    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  norm          2.8771        5.5746        .17664E-03   -1.5369    
   2  norm          12.063        11.920        .11535E-03   -1.5013    
   3  Prefactor     .10000E-03    23.588        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   4  Prefactor     .10000E-03    4.8895        .19054E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   5  Prefactor     104.74        70.660        .39291E-04   -1.3657    
   6  Prefactor     .10007E-03    81.142        .44507E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   7  Prefactor     121.15        82.304        .36563E-04   -1.3502    
   8  norm          1.9819        6.1298        .23728E-03   -1.5426    
   9  norm          .23036E-01    17.542        .99998E-03   -1.5678    
  10  norm          1.8259        .97594        .39288E-04   -1.5438    
  11  norm          .10000E-03    1.4688        .68240E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  12  Prefactor     36.549        24.308        .66291E-04   -1.4498    
  13  Prefactor     55.529        64.957        .53827E-04   -1.4216    
  14  Prefactor     .10000E-03    17.796        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  15  norm          9.5716        18.016        .12952E-03   -1.5089    
  16  Prefactor     .10000E-03    3.5779        .10742E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  17  Prefactor     .10000E-03    46.281        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  18  Prefactor     .10000E-03    18.529        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  19  Prefactor     .10000E-03    6.3082        .14266E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  20  norm          4.0114        2.3573        .65282E-04   -1.5307    
  21  Prefactor     .10000E-03    5.5681        .13342E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  22  Normalizat    .63934        .30763        .31903E-03   -1.0634    
  23  Prefactor     1.0776        .22802        .20676E-03   -.90187    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 3.0048e-09
Minuit parameter uncertainties:
  1  5.57561
  2  11.9223
  3  1.22065e-05
  4  4.5854e-05
  5  70.7167
  6  0.00476568
  7  82.3815
  8  6.13175
  9  1.26899
  10  0.975945
  11  4.64073e-06
  12  24.3144
  13  65.0403
  14  2.73644e-05
  15  18.026
  16  1.19581e-06
  17  4.57172e-05
  18  4.36816e-06
  19  1.61786e-06
  20  2.35732
  21  5.62737e-06
  22  0.308461
  23  0.228224
Done.

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

Extracting fit parameters...

4FGL J0948.9+0022
   Spectrum: LogParabola
217         norm:  1.826e+00  9.759e-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.078e+00  2.282e-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:  6.393e-01  3.085e-01  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Fixed Index): 6.94
Ra Dec: 147.244 0.372
Photon Index (Fixed Index): 2.45 +/- 0.00
Photon Flux (Fixed Index): 1.40e-07 +/- 7.49e-08
Energy Flux (Fixed Index): 3.49e-05 +/- 1.87e-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) = 3382.3416704
delta logL = 0.0798917688562

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

MINUIT Return Code (Free Index): 0
logL (Free Index) = 3382.33399025
delta logL = 0.0875719215665

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'norm      '    1.8533       1.0000         .10000E-03   10000.    
     2 'alpha     '    2.7971       1.0000          .0000       5.0000    
     3 'Normalizat'    .60036       1.0000         .10000E-01   10.000    
     4 'Prefactor '    1.1016       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=   3382.334     FROM MIGRAD    STATUS=CONVERGED     48 CALLS      194 TOTAL
                     EDM=   .16E-10    STRATEGY= 1      ERR MATRIX NOT POS-DEF

  EXT PARAMETER                APPROXIMATE        STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  norm          1.8534        22.427        .76552E-02    .44859E-03
   2  alpha         2.7971        3.1928        .41525        .10152E-04
   3  Normalizat    .60038        .25637        .74196E-01    .14955E-04
   4  Prefactor     1.1016        .32010        .37527E-01    .20101E-05
                               ERR DEF=  .500    
Final values: 
  norm       = 1.85337
  alpha      = 2.79705
  Normalizat = 0.600375
  Prefactor  = 1.10157
 **********
 **   18 **HESSE 
 **********

 FCN=   3382.334     FROM HESSE     STATUS=OK            33 CALLS      227 TOTAL
                     EDM=   .29E-10    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  norm          1.8534        .97129        .38040E-04   -1.5436    
   2  alpha         2.7971        .86793        .16114E-01    .11910    
   3  Normalizat    .60038        .29061        .32847E-03   -1.0797    
   4  Prefactor     1.1016        .23325        .20485E-03   -.89416    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 2.90167e-11
Minuit parameter uncertainties:
  1  0.971303
  2  0.88666
  3  0.291355
  4  0.23347
shell-init: error retrieving current directory: getcwd: cannot access parent directories: No such file or directory
rmdir: failed to remove `/scratch/kocevski/516627': 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) = 3382.33399023
delta logL = 0.0875719368055

Extracting fit parameters...

4FGL J0948.9+0022
   Spectrum: LogParabola
217         norm:  1.853e+00  9.713e-01  1.000e-04  1.000e+04 ( 1.000e-10)
218        alpha:  2.797e+00  8.867e-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.102e+00  2.335e-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:  6.004e-01  2.914e-01  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Free Index): 7.10
Ra Dec: 147.244 0.372
Photon Index (Free Index): 2.80 +/- 0.89
Photon Flux (Free Index): 1.64e-07 +/- 9.81e-08
Energy Flux (Free Index): 3.43e-05 +/- 1.78e-05

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/516627/cmap_HighResolution_415843201_416102401_4FGL_J0948.9+0022_daily_bin681.png

Cleaning up...

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

Updating database...

UPDATE lightcurve_data_v2 SET comment='SUCCESS', photon_flux='1.40e-07', energy_flux2='3.43e-05', photon_flux_error='7.49e-08', dlogl='8.76e-02', energy_flux='3.49e-05', photon_flux2='1.64e-07', job_status='DONE', time_completed='2021-09-01 02:56:26.806635', photon_index_error2='0.89', photon_index2='2.80', ts='6.94', fit_tolerance='1e-08', GAL='1.08', photon_index_error='0.00', energy_flux_error2='1.78e-05', EG='0.64', time_epoch_completed='1630490186.81', return_code='0', job_id='516627', GAL2='1.10', EG2='0.60', return_code2='0', energy_flux_error='1.87e-05', photon_flux_error2='9.81e-08', ts2='7.10', photon_index='2.45' WHERE bin_id='681' AND source_name='4FGL J0948.9+0022' AND cadence='daily';

Database successfully updated.


Analysis Complete.


Wed Sep  1 02:56:26 PDT 2021


------------------------------------------------------------
Sender: LSF System <lsf@bullet0286>
Subject: Job 516627: <4FGL_J0948.9+0022_daily_bin681> in cluster <slac> Done

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

Your job looked like:

------------------------------------------------------------
# LSBATCH: User input
/nfs/farm/g/glast/g/LCRepository/Likelihood/Scripts/LikelihoodAnalysis.py 4FGL_J0948.9+0022_daily_bin681 147.244 0.3717 415843201 416102401 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 :                                   449.00 sec.
    Max Memory :                                 1255 MB
    Average Memory :                             327.35 MB
    Total Requested Memory :                     -
    Delta Memory :                               -
    Max Swap :                                   -
    Max Processes :                              5
    Max Threads :                                21
    Run time :                                   609 sec.
    Turnaround time :                            611 sec.

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

