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


Performing analysis on: 4FGL_J0948.9+0022_daily_bin868
RA = 147.244, Dec = 0.3717
tmin = 464313601, tmax = 464572801
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='518147', job_status='RUN', time_executed='2021-09-01 02:53:44.440588', time_epoch_executed='1630490024.44' WHERE source_name='4FGL J0948.9+0022' and cadence='daily' and bin_id='868'

Database successfully updated.
Done.

Creating custom output directory:
/scratch/kocevski/518147

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

Retrieving the FT1 file...

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

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

Retrieving 46 files...
Done.


Merging files...

Checksum keywords updated successfully.

Merged file saved to:
/scratch/kocevski/518147/ft1_4FGL_J0948.9+0022_daily_bin868.fits


Retrieving the FT1 file...

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

Retrieving 46 files...
Done.


Merging files...

Merged file saved to:
/scratch/kocevski/518147/ft2_4FGL_J0948.9+0022_daily_bin868.fits


Selecting the photons:
time -p gtselect infile=/scratch/kocevski/518147/ft1_4FGL_J0948.9+0022_daily_bin868.fits outfile=/scratch/kocevski/518147/ft1_filteredMKT_4FGL_J0948.9+0022_daily_bin868.fits ra=147.244 dec=0.3717 rad=12.0 tmin=464313601.0 tmax=464572801.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.38
user 3.15
sys 0.20

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

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

Generating the livetime cube:
time -p gtltcube evfile="/scratch/kocevski/518147/ft1_filtered_4FGL_J0948.9+0022_daily_bin868.fits" evtable="EVENTS" scfile=/scratch/kocevski/518147/ft2_4FGL_J0948.9+0022_daily_bin868.fits sctable="SC_DATA" outfile=/scratch/kocevski/518147/ltcube_464313601_464572801_4FGL_J0948.9+0022_daily_bin868.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/518147/ft2_4FGL_J0948.9+0022_daily_bin868.fits
.....................!
real 11.94
user 11.39
sys 0.37

Generating the exposure map:
time -p gtexpmap evfile=/scratch/kocevski/518147/ft1_filtered_4FGL_J0948.9+0022_daily_bin868.fits evtable="EVENTS" scfile=/scratch/kocevski/518147/ft2_4FGL_J0948.9+0022_daily_bin868.fits sctable="SC_DATA" expcube=/scratch/kocevski/518147/ltcube_464313601_464572801_4FGL_J0948.9+0022_daily_bin868.fits outfile=/scratch/kocevski/518147/expmap_464313601_464572801_4FGL_J0948.9+0022_daily_bin868.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/518147/ltcube_464313601_464572801_4FGL_J0948.9+0022_daily_bin868.fits
.....................!
real 190.99
user 185.57
sys 5.06

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/518147/ft1_filtered_4FGL_J0948.9+0022_daily_bin868.fits scfile=/scratch/kocevski/518147/ft2_4FGL_J0948.9+0022_daily_bin868.fits outfile=/scratch/kocevski/518147/cmap_464313601_464572801_4FGL_J0948.9+0022_daily_bin868.fits algorithm="CMAP" ebinalg="LOG" emin=30.0 emax=200000.0 ebinfile=NONE tbinalg="LIN" tbinfile=NONE nxpix=160 nypix=160 binsz=0.25 coordsys="CEL" xref=147.244 yref=0.3717 axisrot=0.0 rafield="RA" decfield="DEC" proj="AIT" hpx_ordering_scheme="RING" hpx_order=3 hpx_ebin=yes hpx_region="" evtable="EVENTS" sctable="SC_DATA" efield="ENERGY" tfield="TIME" chatter=2 clobber=yes debug=no gui=no mode="ql"

WARNING: version mismatch between CFITSIO header (v3.43) and linked library (v3.41).

This is gtbin version HEAD
real 0.53
user 0.37
sys 0.15

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

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

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

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

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

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'norm      '    5.1487       1.0000         .10000E-03   10000.    
     2 'norm      '    1.4147       1.0000         .10000E-03   10000.    
     3 'Prefactor '    .10001E-03   1.0000         .10000E-03   10000.    
     4 'Prefactor '    .10015E-03   1.0000         .10000E-03   10000.    
     5 'Prefactor '    15.855       1.0000         .10000E-03   10000.    
     6 'Prefactor '    30.229       1.0000         .10000E-03   10000.    
     7 'Prefactor '    11.685       1.0000         .10000E-03   10000.    
     8 'norm      '    1.7703       1.0000         .10000E-03   10000.    
     9 'norm      '    1.7682       1.0000         .10000E-03   10000.    
    10 'norm      '    .10010E-03   1.0000         .10000E-03   10000.    
    11 'norm      '    .10000E-03   1.0000         .10000E-03   10000.    
    12 'Prefactor '    2.5356       1.0000         .10000E-03   10000.    
    13 'Prefactor '    14.513       1.0000         .10000E-03   10000.    
    14 'Prefactor '    .10003E-03   1.0000         .10000E-03   10000.    
    15 'norm      '    .10637E-03   1.0000         .10000E-03   10000.    
    16 'Prefactor '    6.5104       1.0000         .10000E-03   10000.    
    17 'Prefactor '    .10011E-03   1.0000         .10000E-03   10000.    
    18 'Prefactor '    .16673E-03   1.0000         .10000E-03   10000.    
    19 'Prefactor '    10.458       1.0000         .10000E-03   10000.    
    20 'norm      '    5.8243       1.0000         .10000E-03   10000.    
    21 'Prefactor '    .10008E-03   1.0000         .10000E-03   10000.    
    22 'Normalizat'    1.0662       1.0000         .10000E-01   10.000    
    23 'Prefactor '    .80401       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=   6335.887     FROM MIGRAD    STATUS=CONVERGED    515 CALLS     2543 TOTAL
                     EDM=   .24E-10  STRATEGY=1  ERROR MATRIX UNCERTAINTY=  1.2%

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  norm          5.1504        3.6762       -.79429E-08   -.49714E-04
   2  norm          1.4142        5.5976        .14188E-05   -.27106E-04
   3  Prefactor     .10000E-03    4.9147       -.51766E-07** at limit **
   4  Prefactor     .10000E-03    1.4289        .57641E-07** at limit **
   5  Prefactor     15.859        29.052        .25396E-06   -.97015E-05
   6  Prefactor     30.226        15.547        .89995E-07   -.59145E-04
   7  Prefactor     11.684        39.759        .28843E-06   -.66576E-05
   8  norm          1.7700        2.7183        .25505E-06    .11902E-04
   9  norm          1.7683        1.0841        .12267E-06   -.10652E-04
  10  norm          .10000E-03    .30636        .96106E-07** at limit **
  11  norm          .10000E-03    .46655        .59427E-08** at limit **
  12  Prefactor     2.5467        20.297       -.21179E-06   -.45229E-05
  13  Prefactor     14.507        41.858       -.51355E-06   -.15408E-04
  14  Prefactor     .10000E-03    23.052       -.11600E-05** at limit **
  15  norm          .10000E-03    22.397       -.19063E-05** at limit **
  16  Prefactor     6.4814        13.012        .39099E-06    .31920E-04
  17  Prefactor     .10000E-03    26.944        .12604E-05** at limit **
  18  Prefactor     .10000E-03    120.12        .46411E-05** at limit **
  19  Prefactor     10.419        15.657        .16529E-05    .66888E-04
  20  norm          5.8243        1.8352        .12184E-07   -.75671E-04
  21  Prefactor     .10000E-03    4.1330        .24937E-07** at limit **
  22  Normalizat    1.0660        .18507       -.68316E-06   -.11427E-03
  23  Prefactor     .80407        .13555       -.36129E-06   -.13014E-03
                               ERR DEF=  .500    
Final values: 
  norm       = 5.15038
  norm       = 1.41416
  Prefactor  = 0.0001
  Prefactor  = 0.0001
  Prefactor  = 15.8594
  Prefactor  = 30.2256
  Prefactor  = 11.6841
  norm       = 1.76995
  norm       = 1.7683
  norm       = 0.0001
  norm       = 0.0001
  Prefactor  = 2.54674
  Prefactor  = 14.507
  Prefactor  = 0.0001
  norm       = 0.0001
  Prefactor  = 6.4814
  Prefactor  = 0.0001
  Prefactor  = 0.000100002
  Prefactor  = 10.4188
  norm       = 5.82433
  Prefactor  = 0.0001
  Normalizat = 1.066
  Prefactor  = 0.804071
 **********
 **   18 **HESSE 
 **********

 FCN=   6335.887     FROM HESSE     STATUS=OK           376 CALLS     2919 TOTAL
                     EDM=   .44E-10    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  norm          5.1504        3.6713        .12314E-03   -1.5254    
   2  norm          1.4142        5.9078        .36402E-03   -1.5470    
   3  Prefactor     .10000E-03    4.9247        .17232E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   4  Prefactor     .10000E-03    1.4514        .92912E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   5  Prefactor     15.859        29.076        .10059E-03   -1.4911    
   6  Prefactor     30.226        15.550        .72873E-04   -1.4608    
   7  Prefactor     11.684        39.870        .11719E-03   -1.5024    
   8  norm          1.7700        2.6964        .15696E-03   -1.5442    
   9  norm          1.7683        1.0876        .15748E-03   -1.5442    
  10  norm          .10000E-03    1.1961        .82670E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  11  norm          .10000E-03    .46943        .53087E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  12  Prefactor     2.5467        20.126        .25649E-03   -1.5389    
  13  Prefactor     14.507        42.002        .10514E-03   -1.4946    
  14  Prefactor     .10000E-03    23.066        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  15  norm          .10000E-03    22.764        .36285E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  16  Prefactor     6.4814        12.874        .15729E-03   -1.5199    
  17  Prefactor     .10000E-03    26.997        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  18  Prefactor     .10000E-03    118.74        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  19  Prefactor     10.419        15.682        .12389E-03   -1.5062    
  20  norm          5.8243        1.8341        .57752E-04   -1.5225    
  21  Prefactor     .10000E-03    4.2222        .15799E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  22  Normalizat    1.0660        .21775        .25049E-03   -.90851    
  23  Prefactor     .80407        .15973        .22470E-03   -.99578    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 4.35093e-11
Minuit parameter uncertainties:
  1  3.67147
  2  5.78165
  3  6.78148e-07
  4  2.23525e-06
  5  29.1017
  6  15.5521
  7  39.961
  8  2.6966
  9  1.08763
  10  9.77037e-07
  11  2.97066e-07
  12  14.3249
  13  42.0878
  14  2.70585e-05
  15  2.11818e-05
  16  12.8794
  17  4.73239e-05
  18  0.000847553
  19  15.6884
  20  1.83417
  21  6.19299e-06
  22  0.217931
  23  0.159821
Done.

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

Extracting fit parameters...

4FGL J0948.9+0022
   Spectrum: LogParabola
217         norm:  1.000e-04  9.770e-07  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:  8.041e-01  1.598e-01  0.000e+00  1.000e+01 ( 1.000e+00)
473        Index:  0.000e+00  0.000e+00 -1.000e+00  1.000e+00 ( 1.000e+00) fixed
474        Scale:  1.000e+02  0.000e+00  5.000e+01  2.000e+02 ( 1.000e+00) fixed

EG_v02
   Spectrum: FileFunction
471   Normalization:  1.066e+00  2.179e-01  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Fixed Index): -0.00
Ra Dec: 147.244 0.372
Photon Flux Upper Limit: 9.90e-08 ph cm-2 s-1
Energy Flux Upper Limit: 2.47e-05 MeV cm-2 s-1

Saving results to:
/scratch/kocevski/518147/likelihoodResults_464313601_464572801_4FGL_J0948.9+0022_daily_bin868.txt

Performing a free index iterative likelihood fit...

Freezing all point sources, except source of interest...

Done.

Freeing candidate source...
Done.

Fit tolerance = 1

Performing likelihood fit...
Done.

MINUIT Return Code (Free Index): 102
logL (Free Index) = 6335.8914796
delta logL = -0.00407354084291

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

MINUIT Return Code (Free Index): 0
logL (Free Index) = 6335.69547588
delta logL = 0.19193018186

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'norm      '    .19706       1.0000         .10000E-03   10000.    
     2 'alpha     '    4.1533       1.0000          .0000       5.0000    
     3 'Normalizat'    1.0230       1.0000         .10000E-01   10.000    
     4 'Prefactor '    .82195       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=   6335.695     FROM MIGRAD    STATUS=CONVERGED     85 CALLS      354 TOTAL
                     EDM=   .30E-10    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  norm          .19690        .55985        .53241E-04    .74651E-03
   2  alpha         4.1529        4.2626        .74556E-01    .56085E-05
   3  Normalizat    1.0231        .21129        .25497E-03    .45524E-04
   4  Prefactor     .82188        .16182        .22249E-03    .49666E-04
                               ERR DEF=  .500    
Final values: 
  norm       = 0.1969
  alpha      = 4.15295
  Normalizat = 1.0231
  Prefactor  = 0.821883
 **********
 **   18 **HESSE 
 **********

 FCN=   6335.695     FROM HESSE     STATUS=OK            23 CALLS      377 TOTAL
                     EDM=   .31E-10    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  norm          .19690        .45407        .21297E-05   -1.5619    
   2  alpha         4.1529        3.9770        .29823E-02    .72239    
   3  Normalizat    1.0231        .21161        .10199E-04   -.92261    
   4  Prefactor     .82188        .16213        .88998E-05   -.98927    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 3.12929e-11
Minuit parameter uncertainties:
  1  0.454077
  2  2.3815
  3  0.211786
  4  0.162221
shell-init: error retrieving current directory: getcwd: cannot access parent directories: No such file or directory
rmdir: failed to remove `/scratch/kocevski/518147': 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) = 6335.69547564
delta logL = 0.191930425653

Extracting fit parameters...

4FGL J0948.9+0022
   Spectrum: LogParabola
217         norm:  1.969e-01  4.541e-01  1.000e-04  1.000e+04 ( 1.000e-10)
218        alpha:  4.153e+00  2.382e+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:  8.219e-01  1.622e-01  0.000e+00  1.000e+01 ( 1.000e+00)
473        Index:  0.000e+00  0.000e+00 -1.000e+00  1.000e+00 ( 1.000e+00) fixed
474        Scale:  1.000e+02  0.000e+00  5.000e+01  2.000e+02 ( 1.000e+00) fixed

EG_v02
   Spectrum: FileFunction
471   Normalization:  1.023e+00  2.118e-01  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Free Index): -0.00
Ra Dec: 147.244 0.372

Creating a high resolution counts map...
INFO: Auto-setting vmin to  0.000e+00 [aplpy.core]
INFO: Auto-setting vmax to  0.000e+00 [aplpy.core]
Saving /scratch/kocevski/518147/cmap_HighResolution_464313601_464572801_4FGL_J0948.9+0022_daily_bin868.png

Cleaning up...

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

Updating database...

UPDATE lightcurve_data_v2 SET energy_flux_upper_limit='2.47e-05', job_status='DONE', photon_flux_upper_limit='9.90e-08', time_completed='2021-09-01 03:04:30.226422', job_id='518147', GAL2='0.82', fit_tolerance='1e-08', EG2='1.02', EG='1.07', time_epoch_completed='1630490670.23', return_code2='0', ts='-0.00', comment='SUCCESS', return_code='0', GAL='0.80', dlogl='1.92e-01', ts2='0.41', photon_index_error='0.00', photon_index='2.45' WHERE bin_id='868' AND source_name='4FGL J0948.9+0022' AND cadence='daily';

Database successfully updated.


Analysis Complete.


Wed Sep  1 03:04:30 PDT 2021


------------------------------------------------------------
Sender: LSF System <lsf@bullet0193>
Subject: Job 518147: <4FGL_J0948.9+0022_daily_bin868> in cluster <slac> Done

Job <4FGL_J0948.9+0022_daily_bin868> was submitted from host <rhel6-64d> by user <kocevski> in cluster <slac> at Wed Sep  1 02:50:51 2021
Job was executed on host(s) <bullet0193>, in queue <medium>, as user <kocevski> in cluster <slac> at Wed Sep  1 02:50:53 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:50:53 2021
Terminated at Wed Sep  1 03:04:31 2021
Results reported at Wed Sep  1 03:04:31 2021

Your job looked like:

------------------------------------------------------------
# LSBATCH: User input
/nfs/farm/g/glast/g/LCRepository/Likelihood/Scripts/LikelihoodAnalysis.py 4FGL_J0948.9+0022_daily_bin868 147.244 0.3717 464313601 464572801 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 :                                   603.31 sec.
    Max Memory :                                 1255 MB
    Average Memory :                             287.04 MB
    Total Requested Memory :                     -
    Delta Memory :                               -
    Max Swap :                                   -
    Max Processes :                              5
    Max Threads :                                21
    Run time :                                   818 sec.
    Turnaround time :                            820 sec.

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

