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


Performing analysis on: 4FGL_J0948.9+0022_daily_bin611
RA = 147.244, Dec = 0.3717
tmin = 397699201, tmax = 397958401
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='516489', job_status='RUN', time_executed='2021-09-01 02:49:02.212474', time_epoch_executed='1630489742.21' WHERE source_name='4FGL J0948.9+0022' and cadence='daily' and bin_id='611'

Database successfully updated.
Done.

Creating custom output directory:
/scratch/kocevski/516489

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

Retrieving the FT1 file...

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

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

Retrieving 49 files...
Done.


Merging files...

Checksum keywords updated successfully.

Merged file saved to:
/scratch/kocevski/516489/ft1_4FGL_J0948.9+0022_daily_bin611.fits


Retrieving the FT1 file...

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

Retrieving 49 files...
Done.


Merging files...

Merged file saved to:
/scratch/kocevski/516489/ft2_4FGL_J0948.9+0022_daily_bin611.fits


Selecting the photons:
time -p gtselect infile=/scratch/kocevski/516489/ft1_4FGL_J0948.9+0022_daily_bin611.fits outfile=/scratch/kocevski/516489/ft1_filteredMKT_4FGL_J0948.9+0022_daily_bin611.fits ra=147.244 dec=0.3717 rad=12.0 tmin=397699201.0 tmax=397958401.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.56
user 3.30
sys 0.22

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

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

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

Generating the exposure map:
time -p gtexpmap evfile=/scratch/kocevski/516489/ft1_filtered_4FGL_J0948.9+0022_daily_bin611.fits evtable="EVENTS" scfile=/scratch/kocevski/516489/ft2_4FGL_J0948.9+0022_daily_bin611.fits sctable="SC_DATA" expcube=/scratch/kocevski/516489/ltcube_397699201_397958401_4FGL_J0948.9+0022_daily_bin611.fits outfile=/scratch/kocevski/516489/expmap_397699201_397958401_4FGL_J0948.9+0022_daily_bin611.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/516489/ltcube_397699201_397958401_4FGL_J0948.9+0022_daily_bin611.fits
.....................!
real 192.97
user 187.57
sys 4.03

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/516489/ft1_filtered_4FGL_J0948.9+0022_daily_bin611.fits scfile=/scratch/kocevski/516489/ft2_4FGL_J0948.9+0022_daily_bin611.fits outfile=/scratch/kocevski/516489/cmap_397699201_397958401_4FGL_J0948.9+0022_daily_bin611.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.84
user 0.38
sys 0.14

Creating the high resolution counts map:
time -p gtbin evfile=/scratch/kocevski/516489/ft1_filtered_4FGL_J0948.9+0022_daily_bin611.fits scfile=/scratch/kocevski/516489/ft2_4FGL_J0948.9+0022_daily_bin611.fits outfile=/scratch/kocevski/516489/cmap_HighResolution_397699201_397958401_4FGL_J0948.9+0022_daily_bin611.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.89
user 0.39
sys 0.14

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

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

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

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

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'norm      '    .14375E-03   1.0000         .10000E-03   10000.    
     2 'norm      '    10.106       1.0000         .10000E-03   10000.    
     3 'Prefactor '    .10035E-03   1.0000         .10000E-03   10000.    
     4 'Prefactor '    .24035E-03   1.0000         .10000E-03   10000.    
     5 'Prefactor '    .10117E-03   1.0000         .10000E-03   10000.    
     6 'Prefactor '    24.910       1.0000         .10000E-03   10000.    
     7 'Prefactor '    .10002E-03   1.0000         .10000E-03   10000.    
     8 'norm      '    .83714       1.0000         .10000E-03   10000.    
     9 'norm      '    4.0411       1.0000         .10000E-03   10000.    
    10 'norm      '    .22319       1.0000         .10000E-03   10000.    
    11 'norm      '    1.7933       1.0000         .10000E-03   10000.    
    12 'Prefactor '    17.731       1.0000         .10000E-03   10000.    
    13 'Prefactor '    .10172E-03   1.0000         .10000E-03   10000.    
    14 'Prefactor '    37.164       1.0000         .10000E-03   10000.    
    15 'norm      '    19.830       1.0000         .10000E-03   10000.    
    16 'Prefactor '    21.499       1.0000         .10000E-03   10000.    
    17 'Prefactor '    .10028E-03   1.0000         .10000E-03   10000.    
    18 'Prefactor '    19.264       1.0000         .10000E-03   10000.    
    19 'Prefactor '    .12230E-03   1.0000         .10000E-03   10000.    
    20 'norm      '    6.8843       1.0000         .10000E-03   10000.    
    21 'Prefactor '    11.637       1.0000         .10000E-03   10000.    
    22 'Normalizat'    .67857       1.0000         .10000E-01   10.000    
    23 'Prefactor '    1.4475       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=   5696.330     FROM MIGRAD    STATUS=CONVERGED    520 CALLS     2570 TOTAL
                     EDM=   .14E-08  STRATEGY=1  ERROR MATRIX UNCERTAINTY=   .7%

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  norm          .10000E-03    3.5072       -.26241E-06** at limit **
   2  norm          10.108        8.0630       -.35684E-06   -.62603E-04
   3  Prefactor     .10000E-03    11.319        .24308E-05** at limit **
   4  Prefactor     .10000E-03    2.3963       -.15530E-06** at limit **
   5  Prefactor     .10000E-03    50.005        .16282E-04** at limit **
   6  Prefactor     24.913        17.838       -.28177E-06    .51833E-04
   7  Prefactor     .10000E-03    11.824       -.30829E-05** at limit **
   8  norm          .83788        2.3977       -.74606E-06   -.14345E-02
   9  norm          4.0415        1.6736       -.74785E-07   -.57836E-04
  10  norm          .22393        .57475       -.31872E-06   -.11529E-02
  11  norm          1.7932        1.6491        .84364E-08    .93784E-04
  12  Prefactor     17.732        18.939       -.11136E-05    .16170E-05
  13  Prefactor     .10000E-03    24.482       -.20294E-04** at limit **
  14  Prefactor     37.155        44.349       -.92880E-05    .51478E-04
  15  norm          19.829        23.940       -.23773E-05   -.10286E-04
  16  Prefactor     21.507        23.005        .11671E-04   -.26768E-03
  17  Prefactor     .10000E-03    75.513       -.15068E-04** at limit **
  18  Prefactor     19.235        67.976       -.56518E-04   -.14973E-03
  19  Prefactor     .10001E-03    21.278        .18817E-04** at limit **
  20  norm          6.8844        2.3143       -.18732E-07    .63647E-04
  21  Prefactor     11.638        9.9357        .10471E-06    .35316E-05
  22  Normalizat    .67821        .25209        .22689E-05    .69021E-04
  23  Prefactor     1.4478        .19322        .28513E-06    .12373E-03
                               ERR DEF=  .500    
Final values: 
  norm       = 0.0001
  norm       = 10.1076
  Prefactor  = 0.0001
  Prefactor  = 0.0001
  Prefactor  = 0.0001
  Prefactor  = 24.9126
  Prefactor  = 0.0001
  norm       = 0.837878
  norm       = 4.04149
  norm       = 0.223927
  norm       = 1.7932
  Prefactor  = 17.7322
  Prefactor  = 0.0001
  Prefactor  = 37.1552
  norm       = 19.8291
  Prefactor  = 21.507
  Prefactor  = 0.0001
  Prefactor  = 19.2348
  Prefactor  = 0.000100013
  norm       = 6.88443
  Prefactor  = 11.6384
  Normalizat = 0.678205
  Prefactor  = 1.44776
 **********
 **   18 **HESSE 
 **********

 FCN=   5696.330     FROM HESSE     STATUS=OK           378 CALLS     2948 TOTAL
                     EDM=   .21E-08    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  norm          .10000E-03    7.1231        .27104E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   2  norm          10.108        8.0505        .12604E-03   -1.5072    
   3  Prefactor     .10000E-03    11.346        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   4  Prefactor     .10000E-03    6.1691        .22538E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   5  Prefactor     .10000E-03    49.996        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   6  Prefactor     24.913        17.808        .80261E-04   -1.4709    
   7  Prefactor     .10000E-03    11.821        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   8  norm          .83788        2.0306        .19333E-02   -1.5525    
   9  norm          4.0415        1.6720        .59840E-04   -1.5306    
  10  norm          .22393        .66407        .83555E-03   -1.5613    
  11  norm          1.7932        1.6528        .90337E-04   -1.5440    
  12  Prefactor     17.732        18.940        .95114E-04   -1.4866    
  13  Prefactor     .10000E-03    24.238        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  14  Prefactor     37.155        44.210        .65742E-04   -1.4488    
  15  norm          19.829        23.918        .89942E-04   -1.4817    
  16  Prefactor     21.507        22.855        .86386E-04   -1.4780    
  17  Prefactor     .10000E-03    75.463        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  18  Prefactor     19.235        68.483        .91253E-04   -1.4831    
  19  Prefactor     .10001E-03    22.042        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  20  norm          6.8844        2.3121        .63306E-04   -1.5183    
  21  Prefactor     11.638        9.9164        .11743E-03   -1.5026    
  22  Normalizat    .67821        .28480        .37399E-03   -1.0476    
  23  Prefactor     1.4478        .22462        .22161E-03   -.79013    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 2.05943e-09
Minuit parameter uncertainties:
  1  4.99341e-05
  2  8.05139
  3  1.45233e-05
  4  4.31992e-05
  5  8.49773e-05
  6  17.8119
  7  1.9178e-06
  8  2.03072
  9  1.67205
  10  0.664091
  11  1.65289
  12  18.9466
  13  8.17428e-05
  14  44.2494
  15  23.9295
  16  22.8638
  17  0.000386044
  18  68.7652
  19  0.00108482
  20  2.31217
  21  9.91776
  22  0.285417
  23  0.224775
Done.

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

Extracting fit parameters...

4FGL J0948.9+0022
   Spectrum: LogParabola
217         norm:  2.239e-01  6.641e-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.448e+00  2.248e-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.782e-01  2.854e-01  1.000e-02  1.000e+01 ( 1.000e+00)


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

Saving results to:
/scratch/kocevski/516489/likelihoodResults_397699201_397958401_4FGL_J0948.9+0022_daily_bin611.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) = 5696.30664518
delta logL = 0.0233915325571

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

MINUIT Return Code (Free Index): 0
logL (Free Index) = 5696.30578742
delta logL = 0.0242492929738

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'norm      '    .24769       1.0000         .10000E-03   10000.    
     2 'alpha     '    2.8575       1.0000          .0000       5.0000    
     3 'Normalizat'    .67114       1.0000         .10000E-01   10.000    
     4 'Prefactor '    1.4514       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.
 MACHINE ACCURACY LIMITS FURTHER IMPROVEMENT.

 MIGRAD MINIMIZATION HAS CONVERGED.

 MIGRAD WILL VERIFY CONVERGENCE AND ERROR MATRIX.

 FCN=   5696.306     FROM MIGRAD    STATUS=CONVERGED     94 CALLS      279 TOTAL
                     EDM=   .53E-09    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  norm          .24637        .65060        .86794E-04   -.17061E-02
   2  alpha         2.8530        1.7563        .50770E-01   -.20762E-04
   3  Normalizat    .67129        .26820        .37580E-03   -.65162E-04
   4  Prefactor     1.4514        .22261        .22138E-03   -.13904E-03
                               ERR DEF=  .500    
Final values: 
  norm       = 0.246368
  alpha      = 2.85295
  Normalizat = 0.671292
  Prefactor  = 1.45135
 **********
 **   18 **HESSE 
 **********

 FCN=   5696.306     FROM HESSE     STATUS=OK            25 CALLS      304 TOTAL
                     EDM=   .55E-09    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  norm          .24637        .63250        .34718E-05   -1.5609    
   2  alpha         2.8530        1.7190        .20308E-02    .14165    
   3  Normalizat    .67129        .26859        .15032E-04   -1.0504    
   4  Prefactor     1.4514        .22273        .44275E-04   -.78911    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 5.48815e-10
Minuit parameter uncertainties:
  1  0.632518
  2  1.90034
  3  0.269113
  4  0.222875
shell-init: error retrieving current directory: getcwd: cannot access parent directories: No such file or directory
rmdir: failed to remove `/scratch/kocevski/516489': 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) = 5696.30578115
delta logL = 0.0242555591449

Extracting fit parameters...

4FGL J0948.9+0022
   Spectrum: LogParabola
217         norm:  2.464e-01  6.325e-01  1.000e-04  1.000e+04 ( 1.000e-10)
218        alpha:  2.853e+00  1.900e+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.451e+00  2.229e-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.713e-01  2.691e-01  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Free Index): 0.13
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/516489/cmap_HighResolution_397699201_397958401_4FGL_J0948.9+0022_daily_bin611.png

Cleaning up...

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

Updating database...

UPDATE lightcurve_data_v2 SET energy_flux_upper_limit='3.34e-05', job_status='DONE', photon_flux_upper_limit='1.34e-07', time_completed='2021-09-01 02:58:50.272689', job_id='516489', GAL2='1.45', fit_tolerance='1e-08', EG2='0.67', EG='0.68', time_epoch_completed='1630490330.27', return_code2='0', ts='0.13', comment='SUCCESS', return_code='0', GAL='1.45', dlogl='2.43e-02', ts2='0.18', photon_index_error='0.00', photon_index='2.45' WHERE bin_id='611' AND source_name='4FGL J0948.9+0022' AND cadence='daily';

Database successfully updated.


Analysis Complete.


Wed Sep  1 02:58:50 PDT 2021


------------------------------------------------------------
Sender: LSF System <lsf@bullet0148>
Subject: Job 516489: <4FGL_J0948.9+0022_daily_bin611> in cluster <slac> Done

Job <4FGL_J0948.9+0022_daily_bin611> was submitted from host <rhel6-64p> by user <kocevski> in cluster <slac> at Wed Sep  1 02:46:00 2021
Job was executed on host(s) <bullet0148>, in queue <medium>, as user <kocevski> in cluster <slac> at Wed Sep  1 02:46:01 2021
</u/ki/kocevski> was used as the home directory.
</u/ki/kocevski> was used as the working directory.
Started at Wed Sep  1 02:46:01 2021
Terminated at Wed Sep  1 02:58:50 2021
Results reported at Wed Sep  1 02:58:50 2021

Your job looked like:

------------------------------------------------------------
# LSBATCH: User input
/nfs/farm/g/glast/g/LCRepository/Likelihood/Scripts/LikelihoodAnalysis.py 4FGL_J0948.9+0022_daily_bin611 147.244 0.3717 397699201 397958401 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 :                                   578.00 sec.
    Max Memory :                                 1255 MB
    Average Memory :                             312.48 MB
    Total Requested Memory :                     -
    Delta Memory :                               -
    Max Swap :                                   -
    Max Processes :                              5
    Max Threads :                                21
    Run time :                                   769 sec.
    Turnaround time :                            770 sec.

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

