/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 225 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_bin177
RA = 147.244, Dec = 0.3717
tmin = 285206401, tmax = 285465601
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='513255', job_status='RUN', time_executed='2021-09-01 02:40:46.586188', time_epoch_executed='1630489246.59' WHERE source_name='4FGL J0948.9+0022' and cadence='daily' and bin_id='177'

Database successfully updated.
Done.

Creating custom output directory:
/scratch/kocevski/513255

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

Retrieving the FT1 file...

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

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

Retrieving 46 files...
Done.


Merging files...

Checksum keywords updated successfully.

Merged file saved to:
/scratch/kocevski/513255/ft1_4FGL_J0948.9+0022_daily_bin177.fits


Retrieving the FT1 file...

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

Retrieving 46 files...
Done.


Merging files...

Merged file saved to:
/scratch/kocevski/513255/ft2_4FGL_J0948.9+0022_daily_bin177.fits


Selecting the photons:
time -p gtselect infile=/scratch/kocevski/513255/ft1_4FGL_J0948.9+0022_daily_bin177.fits outfile=/scratch/kocevski/513255/ft1_filteredMKT_4FGL_J0948.9+0022_daily_bin177.fits ra=147.244 dec=0.3717 rad=12.0 tmin=285206401.0 tmax=285465601.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.10
user 3.27
sys 0.22

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

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

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

Generating the exposure map:
time -p gtexpmap evfile=/scratch/kocevski/513255/ft1_filtered_4FGL_J0948.9+0022_daily_bin177.fits evtable="EVENTS" scfile=/scratch/kocevski/513255/ft2_4FGL_J0948.9+0022_daily_bin177.fits sctable="SC_DATA" expcube=/scratch/kocevski/513255/ltcube_285206401_285465601_4FGL_J0948.9+0022_daily_bin177.fits outfile=/scratch/kocevski/513255/expmap_285206401_285465601_4FGL_J0948.9+0022_daily_bin177.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/513255/ltcube_285206401_285465601_4FGL_J0948.9+0022_daily_bin177.fits
.....................!
real 196.41
user 187.74
sys 4.24

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/513255/ft1_filtered_4FGL_J0948.9+0022_daily_bin177.fits scfile=/scratch/kocevski/513255/ft2_4FGL_J0948.9+0022_daily_bin177.fits outfile=/scratch/kocevski/513255/cmap_285206401_285465601_4FGL_J0948.9+0022_daily_bin177.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.82
user 0.37
sys 0.17

Creating the high resolution counts map:
time -p gtbin evfile=/scratch/kocevski/513255/ft1_filtered_4FGL_J0948.9+0022_daily_bin177.fits scfile=/scratch/kocevski/513255/ft2_4FGL_J0948.9+0022_daily_bin177.fits outfile=/scratch/kocevski/513255/cmap_HighResolution_285206401_285465601_4FGL_J0948.9+0022_daily_bin177.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.73
user 0.39
sys 0.16

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

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

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

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

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'norm      '    4.8484       1.0000         .10000E-03   10000.    
     2 'norm      '    7.3235       1.0000         .10000E-03   10000.    
     3 'Prefactor '    .10023E-03   1.0000         .10000E-03   10000.    
     4 'Prefactor '    .19424       1.0000         .10000E-03   10000.    
     5 'Prefactor '    29.435       1.0000         .10000E-03   10000.    
     6 'Prefactor '    .10001E-03   1.0000         .10000E-03   10000.    
     7 'Prefactor '    .10007E-03   1.0000         .10000E-03   10000.    
     8 'norm      '    .10004E-03   1.0000         .10000E-03   10000.    
     9 'norm      '    .28493E-03   1.0000         .10000E-03   10000.    
    10 'norm      '    .35506       1.0000         .10000E-03   10000.    
    11 'norm      '    .95211       1.0000         .10000E-03   10000.    
    12 'Prefactor '    23.650       1.0000         .10000E-03   10000.    
    13 'Prefactor '    91.754       1.0000         .10000E-03   10000.    
    14 'Prefactor '    .32994E-03   1.0000         .10000E-03   10000.    
    15 'norm      '    4.5634       1.0000         .10000E-03   10000.    
    16 'Prefactor '    .10005E-03   1.0000         .10000E-03   10000.    
    17 'Prefactor '    .10069E-03   1.0000         .10000E-03   10000.    
    18 'Prefactor '    .10000E-03   1.0000         .10000E-03   10000.    
    19 'Prefactor '    .10001E-03   1.0000         .10000E-03   10000.    
    20 'norm      '    .10005E-03   1.0000         .10000E-03   10000.    
    21 'Prefactor '    5.7259       1.0000         .10000E-03   10000.    
    22 'Normalizat'    .83953       1.0000         .10000E-01   10.000    
    23 'Prefactor '    1.1219       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=   5109.651     FROM MIGRAD    STATUS=CONVERGED    540 CALLS     2616 TOTAL
                     EDM=   .33E-09  STRATEGY=1  ERROR MATRIX UNCERTAINTY=  1.8%

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  norm          4.8459        5.1504        .95832E-07   -.59095E-04
   2  norm          7.3222        6.9930        .62282E-07   -.31624E-04
   3  Prefactor     .10000E-03    4.9551        .57757E-07** at limit **
   4  Prefactor     .18303        2.0390        .31966E-06   -.29063E-03
   5  Prefactor     29.421        29.247       -.86065E-08   -.12836E-04
   6  Prefactor     .10000E-03    37.715        .10378E-05** at limit **
   7  Prefactor     .10000E-03    26.124        .26182E-06** at limit **
   8  norm          .10000E-03    2.3890        .17197E-06** at limit **
   9  norm          .10000E-03    .91202        .31204E-06** at limit **
  10  norm          .35458        .63951        .27429E-07   -.77878E-04
  11  norm          .95311        1.6624        .65694E-06    .95193E-03
  12  Prefactor     23.680        21.898       -.19062E-06   -.13929E-04
  13  Prefactor     91.670        65.222        .14742E-05    .36596E-04
  14  Prefactor     .10000E-03    137.81       -.11585E-04** at limit **
  15  norm          4.4930        29.611        .86020E-06    .76066E-05
  16  Prefactor     .10000E-03    6.0582        .12575E-06** at limit **
  17  Prefactor     .10000E-03    25.934        .18562E-06** at limit **
  18  Prefactor     .10000E-03    22.211        .93375E-07** at limit **
  19  Prefactor     .10000E-03    6.8374        .67294E-07** at limit **
  20  norm          .10000E-03    .86573       -.66150E-06** at limit **
  21  Prefactor     5.7237        6.7991        .25037E-06    .14550E-03
  22  Normalizat    .83987        .22445        .11924E-05   -.78053E-04
  23  Prefactor     1.1217        .17414       -.15881E-05    .60677E-05
                               ERR DEF=  .500    
Final values: 
  norm       = 4.84595
  norm       = 7.32224
  Prefactor  = 0.0001
  Prefactor  = 0.183034
  Prefactor  = 29.4215
  Prefactor  = 0.0001
  Prefactor  = 0.0001
  norm       = 0.0001
  norm       = 0.000100001
  norm       = 0.354578
  norm       = 0.953107
  Prefactor  = 23.6803
  Prefactor  = 91.6704
  Prefactor  = 0.0001
  norm       = 4.49299
  Prefactor  = 0.0001
  Prefactor  = 0.0001
  Prefactor  = 0.0001
  Prefactor  = 0.0001
  norm       = 0.0001
  Prefactor  = 5.72367
  Normalizat = 0.839874
  Prefactor  = 1.12168
 **********
 **   18 **HESSE 
 **********

 FCN=   5109.651     FROM HESSE     STATUS=OK           380 CALLS     2996 TOTAL
                     EDM=   .46E-08    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  norm          4.8459        5.1318        .15773E-03   -1.5268    
   2  norm          7.3222        6.9816        .14821E-03   -1.5167    
   3  Prefactor     .10000E-03    4.9597        .15540E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   4  Prefactor     .18303        9.6301        .19267E-02   -1.5622    
   5  Prefactor     29.421        29.238        .73847E-04   -1.4623    
   6  Prefactor     .10000E-03    38.906        .36285E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   7  Prefactor     .10000E-03    26.243        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   8  norm          .10000E-03    2.4047        .10777E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   9  norm          .10000E-03    3.4935        .12772E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  10  norm          .35458        .60285        .70859E-03   -1.5589    
  11  norm          .95311        1.5304        .12968E-02   -1.5513    
  12  Prefactor     23.680        21.605        .82368E-04   -1.4734    
  13  Prefactor     91.670        65.370        .20976E-03   -1.3790    
  14  Prefactor     .10000E-03    136.67        .21349E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  15  norm          4.4930        28.699        .18844E-03   -1.5284    
  16  Prefactor     .10000E-03    6.0815        .17174E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  17  Prefactor     .10000E-03    25.944        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  18  Prefactor     .10000E-03    22.224        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  19  Prefactor     .10000E-03    6.8485        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  20  norm          .10000E-03    1.2035        .12030E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  21  Prefactor     5.7237        6.8012        .16786E-03   -1.5229    
  22  Normalizat    .83987        .25251        .29371E-03   -.98606    
  23  Prefactor     1.1217        .19876        .20815E-03   -.88777    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 4.6099e-09
Minuit parameter uncertainties:
  1  5.13222
  2  6.98242
  3  1.53634e-06
  4  2.65501
  5  29.2519
  6  1.5402e-05
  7  1.53645e-05
  8  4.58003e-07
  9  0.000134847
  10  0.602858
  11  1.53043
  12  21.612
  13  65.4215
  14  0.000502105
  15  22.7265
  16  2.58407e-06
  17  5.25613e-06
  18  2.71521e-06
  19  1.03376e-06
  20  3.61868e-05
  21  6.80212
  22  0.252867
  23  0.198894
Done.

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

Extracting fit parameters...

4FGL J0948.9+0022
   Spectrum: LogParabola
217         norm:  3.546e-01  6.029e-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.122e+00  1.989e-01  0.000e+00  1.000e+01 ( 1.000e+00)
473        Index:  0.000e+00  0.000e+00 -1.000e+00  1.000e+00 ( 1.000e+00) fixed
474        Scale:  1.000e+02  0.000e+00  5.000e+01  2.000e+02 ( 1.000e+00) fixed

EG_v02
   Spectrum: FileFunction
471   Normalization:  8.399e-01  2.529e-01  1.000e-02  1.000e+01 ( 1.000e+00)


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

Saving results to:
/scratch/kocevski/513255/likelihoodResults_285206401_285465601_4FGL_J0948.9+0022_daily_bin177.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) = 5109.53152767
delta logL = 0.119496757166

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

MINUIT Return Code (Free Index): 0
logL (Free Index) = 5109.52716819
delta logL = 0.123856233808

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'norm      '    .31207       1.0000         .10000E-03   10000.    
     2 'alpha     '    1.8816       1.0000          .0000       5.0000    
     3 'Normalizat'    .85333       1.0000         .10000E-01   10.000    
     4 'Prefactor '    1.1123       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=   5109.527     FROM MIGRAD    STATUS=CONVERGED     51 CALLS      210 TOTAL
                     EDM=   .20E-09    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  norm          .31204        .49039        .10478E-01    .11831E-02
   2  alpha         1.8815        .73632        .42868       -.32653E-04
   3  Normalizat    .85332        .20772        .65911E-01    .15726E-04
   4  Prefactor     1.1123        .16892        .37137E-01    .19466E-05
                               ERR DEF=  .500    
Final values: 
  norm       = 0.312042
  alpha      = 1.88147
  Normalizat = 0.853322
  Prefactor  = 1.1123
 **********
 **   18 **HESSE 
 **********

 FCN=   5109.527     FROM HESSE     STATUS=OK            35 CALLS      245 TOTAL
                     EDM=   .26E-08    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  norm          .31204        .54289        .59644E-03   -1.5596    
   2  alpha         1.8815        1.0389        .21481E-01   -.25001    
   3  Normalizat    .85332        .24344        .29157E-03   -.98120    
   4  Prefactor     1.1123        .19808        .20885E-03   -.89074    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 2.56417e-09
Minuit parameter uncertainties:
  1  0.542901
  2  1.07371
  3  0.243758
  4  0.198214
shell-init: error retrieving current directory: getcwd: cannot access parent directories: No such file or directory
rmdir: failed to remove `/scratch/kocevski/513255': 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) = 5109.52716818
delta logL = 0.123856240903

Extracting fit parameters...

4FGL J0948.9+0022
   Spectrum: LogParabola
217         norm:  3.120e-01  5.429e-01  1.000e-04  1.000e+04 ( 1.000e-10)
218        alpha:  1.881e+00  1.074e+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.112e+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:  8.533e-01  2.438e-01  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Free Index): 0.43
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/513255/cmap_HighResolution_285206401_285465601_4FGL_J0948.9+0022_daily_bin177.png

Cleaning up...

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

Updating database...

UPDATE lightcurve_data_v2 SET energy_flux_upper_limit='3.36e-05', job_status='DONE', photon_flux_upper_limit='1.35e-07', time_completed='2021-09-01 02:50:25.058822', job_id='513255', GAL2='1.11', fit_tolerance='1e-08', EG2='0.85', EG='0.84', time_epoch_completed='1630489825.06', return_code2='0', ts='0.43', comment='SUCCESS', return_code='0', GAL='1.12', dlogl='1.24e-01', ts2='0.68', photon_index_error='0.00', photon_index='2.45' WHERE bin_id='177' AND source_name='4FGL J0948.9+0022' AND cadence='daily';

Database successfully updated.


Analysis Complete.


Wed Sep  1 02:50:25 PDT 2021


------------------------------------------------------------
Sender: LSF System <lsf@bullet0022>
Subject: Job 513255: <4FGL_J0948.9+0022_daily_bin177> in cluster <slac> Done

Job <4FGL_J0948.9+0022_daily_bin177> was submitted from host <rhel6-64q> by user <kocevski> in cluster <slac> at Wed Sep  1 02:36:14 2021
Job was executed on host(s) <bullet0022>, in queue <medium>, as user <kocevski> in cluster <slac> at Wed Sep  1 02:36:16 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:16 2021
Terminated at Wed Sep  1 02:50:26 2021
Results reported at Wed Sep  1 02:50:26 2021

Your job looked like:

------------------------------------------------------------
# LSBATCH: User input
/nfs/farm/g/glast/g/LCRepository/Likelihood/Scripts/LikelihoodAnalysis.py 4FGL_J0948.9+0022_daily_bin177 147.244 0.3717 285206401 285465601 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 :                                   544.00 sec.
    Max Memory :                                 1255 MB
    Average Memory :                             267.26 MB
    Total Requested Memory :                     -
    Delta Memory :                               -
    Max Swap :                                   -
    Max Processes :                              5
    Max Threads :                                21
    Run time :                                   849 sec.
    Turnaround time :                            852 sec.

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

