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


Performing analysis on: 4FGL_J0948.9+0022_daily_bin159
RA = 147.244, Dec = 0.3717
tmin = 280540801, tmax = 280800001
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='513229', job_status='RUN', time_executed='2021-09-01 02:38:27.468215', time_epoch_executed='1630489107.47' WHERE source_name='4FGL J0948.9+0022' and cadence='daily' and bin_id='159'

Database successfully updated.
Done.

Creating custom output directory:
/scratch/kocevski/513229

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

Retrieving the FT1 file...

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

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

Retrieving 47 files...
Done.


Merging files...

Checksum keywords updated successfully.

Merged file saved to:
/scratch/kocevski/513229/ft1_4FGL_J0948.9+0022_daily_bin159.fits


Retrieving the FT1 file...

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

Retrieving 47 files...
Done.


Merging files...

Merged file saved to:
/scratch/kocevski/513229/ft2_4FGL_J0948.9+0022_daily_bin159.fits


Selecting the photons:
time -p gtselect infile=/scratch/kocevski/513229/ft1_4FGL_J0948.9+0022_daily_bin159.fits outfile=/scratch/kocevski/513229/ft1_filteredMKT_4FGL_J0948.9+0022_daily_bin159.fits ra=147.244 dec=0.3717 rad=12.0 tmin=280540801.0 tmax=280800001.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.52
user 3.26
sys 0.23

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

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

Generating the livetime cube:
time -p gtltcube evfile="/scratch/kocevski/513229/ft1_filtered_4FGL_J0948.9+0022_daily_bin159.fits" evtable="EVENTS" scfile=/scratch/kocevski/513229/ft2_4FGL_J0948.9+0022_daily_bin159.fits sctable="SC_DATA" outfile=/scratch/kocevski/513229/ltcube_280540801_280800001_4FGL_J0948.9+0022_daily_bin159.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/513229/ft2_4FGL_J0948.9+0022_daily_bin159.fits
.....................!
real 12.22
user 11.55
sys 0.33

Generating the exposure map:
time -p gtexpmap evfile=/scratch/kocevski/513229/ft1_filtered_4FGL_J0948.9+0022_daily_bin159.fits evtable="EVENTS" scfile=/scratch/kocevski/513229/ft2_4FGL_J0948.9+0022_daily_bin159.fits sctable="SC_DATA" expcube=/scratch/kocevski/513229/ltcube_280540801_280800001_4FGL_J0948.9+0022_daily_bin159.fits outfile=/scratch/kocevski/513229/expmap_280540801_280800001_4FGL_J0948.9+0022_daily_bin159.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/513229/ltcube_280540801_280800001_4FGL_J0948.9+0022_daily_bin159.fits
.....................!
real 192.64
user 185.23
sys 4.90

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/513229/ft1_filtered_4FGL_J0948.9+0022_daily_bin159.fits scfile=/scratch/kocevski/513229/ft2_4FGL_J0948.9+0022_daily_bin159.fits outfile=/scratch/kocevski/513229/cmap_280540801_280800001_4FGL_J0948.9+0022_daily_bin159.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.59
user 0.37
sys 0.15

Creating the high resolution counts map:
time -p gtbin evfile=/scratch/kocevski/513229/ft1_filtered_4FGL_J0948.9+0022_daily_bin159.fits scfile=/scratch/kocevski/513229/ft2_4FGL_J0948.9+0022_daily_bin159.fits outfile=/scratch/kocevski/513229/cmap_HighResolution_280540801_280800001_4FGL_J0948.9+0022_daily_bin159.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.76
user 0.38
sys 0.17

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

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

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

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

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'norm      '    13.507       1.0000         .10000E-03   10000.    
     2 'norm      '    3.8707       1.0000         .10000E-03   10000.    
     3 'Prefactor '    8.0585       1.0000         .10000E-03   10000.    
     4 'Prefactor '    .91822       1.0000         .10000E-03   10000.    
     5 'Prefactor '    .10019E-03   1.0000         .10000E-03   10000.    
     6 'Prefactor '    .10054E-03   1.0000         .10000E-03   10000.    
     7 'Prefactor '    .10004E-03   1.0000         .10000E-03   10000.    
     8 'norm      '    .10000E-03   1.0000         .10000E-03   10000.    
     9 'norm      '    2.9840       1.0000         .10000E-03   10000.    
    10 'norm      '    1.3156       1.0000         .10000E-03   10000.    
    11 'norm      '    .10001E-03   1.0000         .10000E-03   10000.    
    12 'Prefactor '    9.6861       1.0000         .10000E-03   10000.    
    13 'Prefactor '    .10424E-03   1.0000         .10000E-03   10000.    
    14 'Prefactor '    62.966       1.0000         .10000E-03   10000.    
    15 'norm      '    .10000E-03   1.0000         .10000E-03   10000.    
    16 'Prefactor '    .10001E-03   1.0000         .10000E-03   10000.    
    17 'Prefactor '    125.98       1.0000         .10000E-03   10000.    
    18 'Prefactor '    .10002E-03   1.0000         .10000E-03   10000.    
    19 'Prefactor '    5.1992       1.0000         .10000E-03   10000.    
    20 'norm      '    4.4659       1.0000         .10000E-03   10000.    
    21 'Prefactor '    6.3967       1.0000         .10000E-03   10000.    
    22 'Normalizat'    .74704       1.0000         .10000E-01   10.000    
    23 'Prefactor '    1.2034       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=   6495.261     FROM MIGRAD    STATUS=CONVERGED    501 CALLS     2598 TOTAL
                     EDM=   .13E-08  STRATEGY=1  ERROR MATRIX UNCERTAINTY=  4.8%

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  norm          13.506        5.4922       -.22972E-06   -.43941E-03
   2  norm          3.8712        5.5258       -.17435E-06   -.30356E-03
   3  Prefactor     8.0597        14.139        .12530E-07   -.66728E-05
   4  Prefactor     .91906        3.2304        .95490E-06   -.37311E-03
   5  Prefactor     .10000E-03    18.177       -.26997E-05** at limit **
   6  Prefactor     .10000E-03    17.146        .22766E-05** at limit **
   7  Prefactor     .10001E-03    43.784       -.60606E-05** at limit **
   8  norm          .10000E-03    .82936        .25037E-07** at limit **
   9  norm          2.9840        1.5312        .72296E-08   -.99892E-04
  10  norm          1.3156        .74767        .13046E-07   -.41867E-03
  11  norm          .10000E-03    .71528        .55252E-07** at limit **
  12  Prefactor     9.6844        15.490        .21648E-05   -.26379E-03
  13  Prefactor     .10001E-03    38.261        .61561E-05** at limit **
  14  Prefactor     62.963        46.516       -.88422E-06   -.11280E-03
  15  norm          .10000E-03    6.4926       -.38333E-07** at limit **
  16  Prefactor     .10000E-03    6.3329       -.20072E-06** at limit **
  17  Prefactor     125.96        73.147       -.49627E-05   -.37898E-03
  18  Prefactor     .10000E-03    24.659       -.23344E-07** at limit **
  19  Prefactor     5.1975        12.616        .28947E-05   -.37526E-03
  20  norm          4.4657        2.2253       -.14322E-06   -.19414E-03
  21  Prefactor     6.3965        7.0412        .20827E-05   -.11665E-02
  22  Normalizat    .74706        .22954        .82676E-06   -.86282E-04
  23  Prefactor     1.2034        .17126       -.82773E-06    .20667E-05
                               ERR DEF=  .500    
Final values: 
  norm       = 13.5064
  norm       = 3.87116
  Prefactor  = 8.05972
  Prefactor  = 0.919057
  Prefactor  = 0.000100003
  Prefactor  = 0.000100002
  Prefactor  = 0.000100014
  norm       = 0.0001
  norm       = 2.98396
  norm       = 1.31558
  norm       = 0.0001
  Prefactor  = 9.68439
  Prefactor  = 0.000100015
  Prefactor  = 62.9625
  norm       = 0.0001
  Prefactor  = 0.0001
  Prefactor  = 125.956
  Prefactor  = 0.0001
  Prefactor  = 5.19749
  norm       = 4.46572
  Prefactor  = 6.3965
  Normalizat = 0.747062
  Prefactor  = 1.2034
 **********
 **   18 **HESSE 
 **********

 FCN=   6495.261     FROM HESSE     STATUS=OK           372 CALLS     2970 TOTAL
                     EDM=   .35E-08    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  norm          13.506        5.5059        .10899E-03   -1.4973    
   2  norm          3.8712        5.5415        .20510E-03   -1.5314    
   3  Prefactor     8.0597        14.152        .14124E-03   -1.5140    
   4  Prefactor     .91906        3.2618        .25791E-03   -1.5516    
   5  Prefactor     .10000E-03    18.530        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   6  Prefactor     .10000E-03    17.503        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   7  Prefactor     .10001E-03    45.691        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   8  norm          .10000E-03    .83161        .71674E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   9  norm          2.9840        1.5298        .68257E-04   -1.5362    
  10  norm          1.3156        .73773        .48499E-04   -1.5479    
  11  norm          .10000E-03    1.5206        .13272E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  12  Prefactor     9.6844        15.543        .64380E-03   -1.5085    
  13  Prefactor     .10001E-03    39.979        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  14  Prefactor     62.963        46.700        .50570E-04   -1.4119    
  15  norm          .10000E-03    6.4956        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  16  Prefactor     .10000E-03    6.3537        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  17  Prefactor     125.96        74.986        .35865E-04   -1.3459    
  18  Prefactor     .10000E-03    24.669        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  19  Prefactor     5.1975        12.867        .88149E-03   -1.5252    
  20  norm          4.4657        2.2226        .78110E-04   -1.5285    
  21  Prefactor     6.3965        7.5737        .79347E-03   -1.5202    
  22  Normalizat    .74706        .26424        .33388E-03   -1.0206    
  23  Prefactor     1.2034        .19807        .21644E-03   -.86227    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 3.5308e-09
Minuit parameter uncertainties:
  1  5.50606
  2  5.54223
  3  14.158
  4  3.26242
  5  0.000465165
  6  0.000335852
  7  0.00160231
  8  4.55385e-07
  9  1.52977
  10  0.737733
  11  3.77347e-06
  12  15.5492
  13  0.00154416
  14  46.727
  15  1.79658e-05
  16  6.07737e-06
  17  75.0422
  18  4.56758e-05
  19  12.8742
  20  2.22267
  21  7.57484
  22  0.264689
  23  0.198193
Done.

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

Extracting fit parameters...

4FGL J0948.9+0022
   Spectrum: LogParabola
217         norm:  1.316e+00  7.377e-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.203e+00  1.982e-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.471e-01  2.647e-01  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Fixed Index): 5.12
Ra Dec: 147.244 0.372
Photon Index (Fixed Index): 2.45 +/- 0.00
Photon Flux (Fixed Index): 1.01e-07 +/- 5.66e-08
Energy Flux (Fixed Index): 2.52e-05 +/- 1.41e-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) = 6494.18989359
delta logL = 1.07101571601

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

MINUIT Return Code (Free Index): 0
logL (Free Index) = 6494.18912811
delta logL = 1.07178119761

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'norm      '    1.2985       1.0000         .10000E-03   10000.    
     2 'alpha     '    3.3231       1.0000          .0000       5.0000    
     3 'Normalizat'    .67625       1.0000         .10000E-01   10.000    
     4 'Prefactor '    1.2445       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=   6494.189     FROM MIGRAD    STATUS=CONVERGED     52 CALLS      202 TOTAL
                     EDM=   .19E-09    STRATEGY= 1      ERR MATRIX NOT POS-DEF

  EXT PARAMETER                APPROXIMATE        STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  norm          1.2985        11.571        .89755E-02    .52275E-03
   2  alpha         3.3233        3.4686        .41443        .69595E-05
   3  Normalizat    .67621        .12354        .78917E-01    .31536E-04
   4  Prefactor     1.2446        .10253        .48262E-01   -.56699E-06
                               ERR DEF=  .500    
Final values: 
  norm       = 1.29848
  alpha      = 3.32327
  Normalizat = 0.676212
  Prefactor  = 1.24456
 **********
 **   18 **HESSE 
 **********

 FCN=   6494.189     FROM HESSE     STATUS=OK            29 CALLS      231 TOTAL
                     EDM=   .18E-13    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  norm          1.2985        .71818        .40182E-04   -1.5480    
   2  alpha         3.3233        .65997        .18035E-02    .33557    
   3  Normalizat    .67621        .25150        .34941E-03   -1.0484    
   4  Prefactor     1.2446        .19947        .21334E-03   -.84971    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 1.80372e-14
Minuit parameter uncertainties:
  1  0.718188
  2  0.668882
  3  0.251931
  4  0.199595
shell-init: error retrieving current directory: getcwd: cannot access parent directories: No such file or directory
rmdir: failed to remove `/scratch/kocevski/513229': 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) = 6494.18912808
delta logL = 1.07178123138

Extracting fit parameters...

4FGL J0948.9+0022
   Spectrum: LogParabola
217         norm:  1.298e+00  7.182e-01  1.000e-04  1.000e+04 ( 1.000e-10)
218        alpha:  3.323e+00  6.689e-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.245e+00  1.996e-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.762e-01  2.519e-01  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Free Index): 7.44
Ra Dec: 147.244 0.372
Photon Index (Free Index): 3.32 +/- 0.67
Photon Flux (Free Index): 1.52e-07 +/- 7.21e-08
Energy Flux (Free Index): 2.64e-05 +/- 1.26e-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/513229/cmap_HighResolution_280540801_280800001_4FGL_J0948.9+0022_daily_bin159.png

Cleaning up...

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

Updating database...

UPDATE lightcurve_data_v2 SET comment='SUCCESS', photon_flux='1.01e-07', energy_flux2='2.64e-05', photon_flux_error='5.66e-08', dlogl='1.07e+00', energy_flux='2.52e-05', photon_flux2='1.52e-07', job_status='DONE', time_completed='2021-09-01 02:47:51.127130', photon_index_error2='0.67', photon_index2='3.32', ts='5.12', fit_tolerance='1e-08', GAL='1.20', photon_index_error='0.00', energy_flux_error2='1.26e-05', EG='0.75', time_epoch_completed='1630489671.13', return_code='0', job_id='513229', GAL2='1.24', EG2='0.68', return_code2='0', energy_flux_error='1.41e-05', photon_flux_error2='7.21e-08', ts2='7.44', photon_index='2.45' WHERE bin_id='159' AND source_name='4FGL J0948.9+0022' AND cadence='daily';

Database successfully updated.


Analysis Complete.


Wed Sep  1 02:47:51 PDT 2021


------------------------------------------------------------
Sender: LSF System <scs@bullet0012>
Subject: Job 513229: <4FGL_J0948.9+0022_daily_bin159> in cluster <slac> Done

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

Your job looked like:

------------------------------------------------------------
# LSBATCH: User input
/nfs/farm/g/glast/g/LCRepository/Likelihood/Scripts/LikelihoodAnalysis.py 4FGL_J0948.9+0022_daily_bin159 147.244 0.3717 280540801 280800001 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 :                                   554.00 sec.
    Max Memory :                                 1256 MB
    Average Memory :                             301.96 MB
    Total Requested Memory :                     -
    Delta Memory :                               -
    Max Swap :                                   -
    Max Processes :                              5
    Max Threads :                                21
    Run time :                                   697 sec.
    Turnaround time :                            699 sec.

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

