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


Performing analysis on: 4FGL_J0948.9+0022_daily_bin899
RA = 147.244, Dec = 0.3717
tmin = 472348801, tmax = 472608001
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='518198', job_status='RUN', time_executed='2021-09-01 02:53:43.447754', time_epoch_executed='1630490023.45' WHERE source_name='4FGL J0948.9+0022' and cadence='daily' and bin_id='899'

Database successfully updated.
Done.

Creating custom output directory:
/scratch/kocevski/518198

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

Retrieving the FT1 file...

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

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

Retrieving 46 files...
Done.


Merging files...

Checksum keywords updated successfully.

Merged file saved to:
/scratch/kocevski/518198/ft1_4FGL_J0948.9+0022_daily_bin899.fits


Retrieving the FT1 file...

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

Retrieving 46 files...
Done.


Merging files...

Merged file saved to:
/scratch/kocevski/518198/ft2_4FGL_J0948.9+0022_daily_bin899.fits


Selecting the photons:
time -p gtselect infile=/scratch/kocevski/518198/ft1_4FGL_J0948.9+0022_daily_bin899.fits outfile=/scratch/kocevski/518198/ft1_filteredMKT_4FGL_J0948.9+0022_daily_bin899.fits ra=147.244 dec=0.3717 rad=12.0 tmin=472348801.0 tmax=472608001.0 emin=100.0 emax=100000.0 zmin=0.0 zmax=90.0 evclass=128 evtype="INDEF" convtype=-1 phasemin=0.0 phasemax=1.0 evtable="EVENTS" chatter=2 clobber=yes debug=no gui=no mode="ql"

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

Done.
real 4.05
user 3.66
sys 0.21

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

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

Generating the livetime cube:
time -p gtltcube evfile="/scratch/kocevski/518198/ft1_filtered_4FGL_J0948.9+0022_daily_bin899.fits" evtable="EVENTS" scfile=/scratch/kocevski/518198/ft2_4FGL_J0948.9+0022_daily_bin899.fits sctable="SC_DATA" outfile=/scratch/kocevski/518198/ltcube_472348801_472608001_4FGL_J0948.9+0022_daily_bin899.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/518198/ft2_4FGL_J0948.9+0022_daily_bin899.fits
.....................!
real 13.29
user 12.26
sys 0.32

Generating the exposure map:
time -p gtexpmap evfile=/scratch/kocevski/518198/ft1_filtered_4FGL_J0948.9+0022_daily_bin899.fits evtable="EVENTS" scfile=/scratch/kocevski/518198/ft2_4FGL_J0948.9+0022_daily_bin899.fits sctable="SC_DATA" expcube=/scratch/kocevski/518198/ltcube_472348801_472608001_4FGL_J0948.9+0022_daily_bin899.fits outfile=/scratch/kocevski/518198/expmap_472348801_472608001_4FGL_J0948.9+0022_daily_bin899.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/518198/ltcube_472348801_472608001_4FGL_J0948.9+0022_daily_bin899.fits
.....................!
real 192.32
user 186.90
sys 4.27

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/518198/ft1_filtered_4FGL_J0948.9+0022_daily_bin899.fits scfile=/scratch/kocevski/518198/ft2_4FGL_J0948.9+0022_daily_bin899.fits outfile=/scratch/kocevski/518198/cmap_472348801_472608001_4FGL_J0948.9+0022_daily_bin899.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.38
sys 0.15

Creating the high resolution counts map:
time -p gtbin evfile=/scratch/kocevski/518198/ft1_filtered_4FGL_J0948.9+0022_daily_bin899.fits scfile=/scratch/kocevski/518198/ft2_4FGL_J0948.9+0022_daily_bin899.fits outfile=/scratch/kocevski/518198/cmap_HighResolution_472348801_472608001_4FGL_J0948.9+0022_daily_bin899.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.57
user 0.41
sys 0.13

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

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

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

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

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'norm      '    6.9840       1.0000         .10000E-03   10000.    
     2 'norm      '    1.4618       1.0000         .10000E-03   10000.    
     3 'Prefactor '    .14161E-03   1.0000         .10000E-03   10000.    
     4 'Prefactor '    .10003E-03   1.0000         .10000E-03   10000.    
     5 'Prefactor '    35.745       1.0000         .10000E-03   10000.    
     6 'Prefactor '    5.9723       1.0000         .10000E-03   10000.    
     7 'Prefactor '    .10275E-03   1.0000         .10000E-03   10000.    
     8 'norm      '    .10145E-03   1.0000         .10000E-03   10000.    
     9 'norm      '    .42120       1.0000         .10000E-03   10000.    
    10 'norm      '    .23876       1.0000         .10000E-03   10000.    
    11 'norm      '    .10007E-03   1.0000         .10000E-03   10000.    
    12 'Prefactor '    3.9936       1.0000         .10000E-03   10000.    
    13 'Prefactor '    24.147       1.0000         .10000E-03   10000.    
    14 'Prefactor '    .15816E-03   1.0000         .10000E-03   10000.    
    15 'norm      '    9.4582       1.0000         .10000E-03   10000.    
    16 'Prefactor '    .10040E-03   1.0000         .10000E-03   10000.    
    17 'Prefactor '    48.242       1.0000         .10000E-03   10000.    
    18 'Prefactor '    .10162E-03   1.0000         .10000E-03   10000.    
    19 'Prefactor '    .10044E-03   1.0000         .10000E-03   10000.    
    20 'norm      '    3.0491       1.0000         .10000E-03   10000.    
    21 'Prefactor '    5.3022       1.0000         .10000E-03   10000.    
    22 'Normalizat'    .78980       1.0000         .10000E-01   10.000    
    23 'Prefactor '    1.0695       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=   6535.004     FROM MIGRAD    STATUS=CONVERGED    536 CALLS     2578 TOTAL
                     EDM=   .42E-09  STRATEGY=1  ERROR MATRIX UNCERTAINTY=  3.8%

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  norm          6.9861        4.5633        .68141E-08    .48607E-05
   2  norm          1.4588        5.1010        .10779E-05   -.25515E-03
   3  Prefactor     .10000E-03    18.311        .23997E-05** at limit **
   4  Prefactor     .10000E-03    3.1057        .10300E-06** at limit **
   5  Prefactor     35.738        34.506       -.17851E-05   -.18114E-03
   6  Prefactor     5.9717        9.6070        .24315E-05   -.46100E-03
   7  Prefactor     .10000E-03    23.842       -.15484E-05** at limit **
   8  norm          .10000E-03    2.1366        .76600E-07** at limit **
   9  norm          .42081        1.0461        .38967E-07   -.24709E-03
  10  norm          .23938        .52066        .23586E-07   -.59931E-03
  11  norm          .10000E-03    1.1553        .96433E-07** at limit **
  12  Prefactor     3.9941        4.7759       -.64591E-06   -.34222E-03
  13  Prefactor     24.011        48.637       -.65579E-06   -.26543E-04
  14  Prefactor     .10000E-03    27.688        .11503E-05** at limit **
  15  norm          9.4572        11.408        .29680E-06   -.25269E-04
  16  Prefactor     .10000E-03    2.9901        .84326E-08** at limit **
  17  Prefactor     48.244        52.487       -.23278E-05   -.12170E-03
  18  Prefactor     .10000E-03    18.113       -.18777E-05** at limit **
  19  Prefactor     .10000E-03    5.9676       -.11019E-07** at limit **
  20  norm          3.0495        1.4463        .28627E-07   -.25504E-04
  21  Prefactor     5.3064        7.0606       -.29372E-06   -.24397E-03
  22  Normalizat    .78941        .19459        .67279E-06   -.71346E-04
  23  Prefactor     1.0699        .14305       -.65471E-06    .24114E-04
                               ERR DEF=  .500    
Final values: 
  norm       = 6.98608
  norm       = 1.4588
  Prefactor  = 0.000100002
  Prefactor  = 0.0001
  Prefactor  = 35.7378
  Prefactor  = 5.97169
  Prefactor  = 0.000100001
  norm       = 0.0001
  norm       = 0.420811
  norm       = 0.239379
  norm       = 0.0001
  Prefactor  = 3.99413
  Prefactor  = 24.0106
  Prefactor  = 0.0001
  norm       = 9.45722
  Prefactor  = 0.0001
  Prefactor  = 48.2443
  Prefactor  = 0.000100001
  Prefactor  = 0.0001
  norm       = 3.04954
  Prefactor  = 5.3064
  Normalizat = 0.789406
  Prefactor  = 1.06992
 **********
 **   18 **HESSE 
 **********

 FCN=   6535.004     FROM HESSE     STATUS=OK           374 CALLS     2952 TOTAL
                     EDM=   .21E-07    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  norm          6.9861        4.5614        .13251E-03   -1.5179    
   2  norm          1.4588        5.2011        .33420E-03   -1.5466    
   3  Prefactor     .10000E-03    19.158        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   4  Prefactor     .10000E-03    3.2342        .27767E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   5  Prefactor     35.738        35.291        .67030E-04   -1.4512    
   6  Prefactor     5.9717        10.225        .82154E-03   -1.5219    
   7  Prefactor     .10000E-03    24.143        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   8  norm          .10000E-03    2.2282        .23068E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   9  norm          .42081        1.3184        .11944E-02   -1.5578    
  10  norm          .23938        .57153        .76647E-03   -1.5610    
  11  norm          .10000E-03    1.2032        .16951E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  12  Prefactor     3.9941        4.8209        .18885E-03   -1.5308    
  13  Prefactor     24.011        48.830        .81517E-04   -1.4728    
  14  Prefactor     .10000E-03    27.925        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  15  norm          9.4572        11.403        .13031E-03   -1.5093    
  16  Prefactor     .10000E-03    2.9992        .13649E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  17  Prefactor     48.244        53.541        .57733E-04   -1.4318    
  18  Prefactor     .10000E-03    18.312        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  19  Prefactor     .10000E-03    5.9769        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  20  norm          3.0495        1.4414        .63315E-04   -1.5359    
  21  Prefactor     5.3064        7.1290        .17455E-03   -1.5247    
  22  Normalizat    .78941        .22773        .28343E-03   -1.0046    
  23  Prefactor     1.0699        .16839        .20212E-03   -.90434    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 2.05501e-08
Minuit parameter uncertainties:
  1  4.56161
  2  5.20267
  3  0.000383543
  4  8.21696e-06
  5  35.3112
  6  10.228
  7  0.000259648
  8  6.30328e-07
  9  1.31853
  10  0.571543
  11  6.61297e-07
  12  4.82138
  13  48.9111
  14  0.000207536
  15  11.4058
  16  7.61346e-06
  17  53.5946
  18  0.000226115
  19  1.03883e-05
  20  1.44145
  21  7.13019
  22  0.228003
  23  0.16847
Done.

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

Extracting fit parameters...

4FGL J0948.9+0022
   Spectrum: LogParabola
217         norm:  2.394e-01  5.715e-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.070e+00  1.685e-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.894e-01  2.280e-01  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Fixed Index): 0.20
Ra Dec: 147.244 0.372
Photon Flux Upper Limit: 1.11e-07 ph cm-2 s-1
Energy Flux Upper Limit: 2.77e-05 MeV cm-2 s-1

Saving results to:
/scratch/kocevski/518198/likelihoodResults_472348801_472608001_4FGL_J0948.9+0022_daily_bin899.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): 0
logL (Free Index) = 6534.39540441
delta logL = 0.609064566738

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

MINUIT Return Code (Free Index): 0
logL (Free Index) = 6534.391874
delta logL = 0.612594979256

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'norm      '    .27326       1.0000         .10000E-03   10000.    
     2 'alpha     '    4.3702       1.0000          .0000       5.0000    
     3 'Normalizat'    .72666       1.0000         .10000E-01   10.000    
     4 'Prefactor '    1.1037       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=   6534.392     FROM MIGRAD    STATUS=CONVERGED     96 CALLS      262 TOTAL
                     EDM=   .27E-08    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  norm          .27322        .62395        .37100E-03    .34955E-03
   2  alpha         4.3700        4.3394        .57592E-01   -.28931E-04
   3  Normalizat    .72666        .21194        .29441E-03   -.50200E-06
   4  Prefactor     1.1037        .16979        .19932E-03   -.26808E-05
                               ERR DEF=  .500    
Final values: 
  norm       = 0.273225
  alpha      = 4.36998
  Normalizat = 0.726663
  Prefactor  = 1.10373
 **********
 **   18 **HESSE 
 **********

 FCN=   6534.392     FROM HESSE     STATUS=OK            27 CALLS      289 TOTAL
                     EDM=   .30E-13    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  norm          .27322        .42581        .14840E-04   -1.5603    
   2  alpha         4.3700        3.7847        .11518E-01    .84503    
   3  Normalizat    .72666        .21240        .11776E-04   -1.0285    
   4  Prefactor     1.1037        .17010        .79726E-05   -.89347    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 3.02877e-14
Minuit parameter uncertainties:
  1  0.425819
  2  1.87259
  3  0.212645
  4  0.170183
shell-init: error retrieving current directory: getcwd: cannot access parent directories: No such file or directory
rmdir: failed to remove `/scratch/kocevski/518198': 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) = 6534.39187394
delta logL = 0.612595038773

Extracting fit parameters...

4FGL J0948.9+0022
   Spectrum: LogParabola
217         norm:  2.732e-01  4.258e-01  1.000e-04  1.000e+04 ( 1.000e-10)
218        alpha:  4.370e+00  1.873e+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.104e+00  1.702e-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.267e-01  2.126e-01  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Free Index): 1.54
Ra Dec: 147.244 0.372
Photon Index (Free Index): 4.37 +/- 1.87
Photon Flux (Free Index): 6.31e-08 +/- 5.86e-08
Energy Flux (Free Index): 9.07e-06 +/- 8.53e-06

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/518198/cmap_HighResolution_472348801_472608001_4FGL_J0948.9+0022_daily_bin899.png

Cleaning up...

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

Updating database...

UPDATE lightcurve_data_v2 SET energy_flux_upper_limit='2.77e-05', comment='SUCCESS', energy_flux2='9.07e-06', dlogl='6.13e-01', photon_flux2='6.31e-08', job_status='DONE', time_completed='2021-09-01 03:04:47.825117', photon_index_error2='1.87', photon_index2='4.37', ts='0.20', fit_tolerance='1e-08', GAL='1.07', photon_index_error='0.00', photon_flux_upper_limit='1.11e-07', energy_flux_error2='8.53e-06', EG='0.79', time_epoch_completed='1630490687.83', return_code='0', job_id='518198', GAL2='1.10', EG2='0.73', return_code2='0', photon_flux_error2='5.86e-08', ts2='1.54', photon_index='2.45' WHERE bin_id='899' AND source_name='4FGL J0948.9+0022' AND cadence='daily';

Database successfully updated.


Analysis Complete.


Wed Sep  1 03:04:47 PDT 2021


------------------------------------------------------------
Sender: LSF System <lsf@bullet0067>
Subject: Job 518198: <4FGL_J0948.9+0022_daily_bin899> in cluster <slac> Done

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

Your job looked like:

------------------------------------------------------------
# LSBATCH: User input
/nfs/farm/g/glast/g/LCRepository/Likelihood/Scripts/LikelihoodAnalysis.py 4FGL_J0948.9+0022_daily_bin899 147.244 0.3717 472348801 472608001 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 :                                   615.00 sec.
    Max Memory :                                 1255 MB
    Average Memory :                             251.80 MB
    Total Requested Memory :                     -
    Delta Memory :                               -
    Max Swap :                                   -
    Max Processes :                              5
    Max Threads :                                21
    Run time :                                   831 sec.
    Turnaround time :                            834 sec.

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

