/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 0 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 = 7389
number of fields = 22
No RA_SUN column yet. Adding RA_SUN/DEC_SUN columns.
Done.


Performing analysis on: 4FGL_J0948.9+0022_daily_bin76
RA = 147.244, Dec = 0.3717
tmin = 259027201, tmax = 259286401
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='513104', job_status='RUN', time_executed='2021-09-01 02:36:14.275131', time_epoch_executed='1630488974.28' WHERE source_name='4FGL J0948.9+0022' and cadence='daily' and bin_id='76'

Database successfully updated.
Done.

Creating custom output directory:
/scratch/kocevski/513104

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

Retrieving the FT1 file...

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

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

Retrieving 46 files...
Done.


Merging files...

Checksum keywords updated successfully.

Merged file saved to:
/scratch/kocevski/513104/ft1_4FGL_J0948.9+0022_daily_bin76.fits


Retrieving the FT1 file...

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

Retrieving 46 files...
Done.


Merging files...

Merged file saved to:
/scratch/kocevski/513104/ft2_4FGL_J0948.9+0022_daily_bin76.fits


Selecting the photons:
time -p gtselect infile=/scratch/kocevski/513104/ft1_4FGL_J0948.9+0022_daily_bin76.fits outfile=/scratch/kocevski/513104/ft1_filteredMKT_4FGL_J0948.9+0022_daily_bin76.fits ra=147.244 dec=0.3717 rad=12.0 tmin=259027201.0 tmax=259286401.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 1.49
user 1.28
sys 0.16

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

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

Generating the livetime cube:
time -p gtltcube evfile="/scratch/kocevski/513104/ft1_filtered_4FGL_J0948.9+0022_daily_bin76.fits" evtable="EVENTS" scfile=/scratch/kocevski/513104/ft2_4FGL_J0948.9+0022_daily_bin76.fits sctable="SC_DATA" outfile=/scratch/kocevski/513104/ltcube_259027201_259286401_4FGL_J0948.9+0022_daily_bin76.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/513104/ft2_4FGL_J0948.9+0022_daily_bin76.fits
.....................!
real 14.91
user 14.56
sys 0.31

Generating the exposure map:
time -p gtexpmap evfile=/scratch/kocevski/513104/ft1_filtered_4FGL_J0948.9+0022_daily_bin76.fits evtable="EVENTS" scfile=/scratch/kocevski/513104/ft2_4FGL_J0948.9+0022_daily_bin76.fits sctable="SC_DATA" expcube=/scratch/kocevski/513104/ltcube_259027201_259286401_4FGL_J0948.9+0022_daily_bin76.fits outfile=/scratch/kocevski/513104/expmap_259027201_259286401_4FGL_J0948.9+0022_daily_bin76.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/513104/ltcube_259027201_259286401_4FGL_J0948.9+0022_daily_bin76.fits
.....................!
real 189.64
user 184.62
sys 4.52

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/513104/ft1_filtered_4FGL_J0948.9+0022_daily_bin76.fits scfile=/scratch/kocevski/513104/ft2_4FGL_J0948.9+0022_daily_bin76.fits outfile=/scratch/kocevski/513104/cmap_259027201_259286401_4FGL_J0948.9+0022_daily_bin76.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 1.28
user 0.38
sys 0.16

Creating the high resolution counts map:
time -p gtbin evfile=/scratch/kocevski/513104/ft1_filtered_4FGL_J0948.9+0022_daily_bin76.fits scfile=/scratch/kocevski/513104/ft2_4FGL_J0948.9+0022_daily_bin76.fits outfile=/scratch/kocevski/513104/cmap_HighResolution_259027201_259286401_4FGL_J0948.9+0022_daily_bin76.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 2.01
user 0.40
sys 0.17

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

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

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

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

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'norm      '    5.8490       1.0000         .10000E-03   10000.    
     2 'norm      '    13.119       1.0000         .10000E-03   10000.    
     3 'Prefactor '    16.910       1.0000         .10000E-03   10000.    
     4 'Prefactor '    4.0933       1.0000         .10000E-03   10000.    
     5 'Prefactor '    .10136E-03   1.0000         .10000E-03   10000.    
     6 'Prefactor '    10.054       1.0000         .10000E-03   10000.    
     7 'Prefactor '    .57665E-03   1.0000         .10000E-03   10000.    
     8 'norm      '    .10048E-03   1.0000         .10000E-03   10000.    
     9 'norm      '    .18637E-03   1.0000         .10000E-03   10000.    
    10 'norm      '    1.4859       1.0000         .10000E-03   10000.    
    11 'norm      '    .10002E-03   1.0000         .10000E-03   10000.    
    12 'Prefactor '    25.329       1.0000         .10000E-03   10000.    
    13 'Prefactor '    .10003E-03   1.0000         .10000E-03   10000.    
    14 'Prefactor '    25.133       1.0000         .10000E-03   10000.    
    15 'norm      '    .10129E-03   1.0000         .10000E-03   10000.    
    16 'Prefactor '    22.289       1.0000         .10000E-03   10000.    
    17 'Prefactor '    .10058E-03   1.0000         .10000E-03   10000.    
    18 'Prefactor '    .10176E-03   1.0000         .10000E-03   10000.    
    19 'Prefactor '    15.956       1.0000         .10000E-03   10000.    
    20 'norm      '    .10002E-03   1.0000         .10000E-03   10000.    
    21 'Prefactor '    2.9600       1.0000         .10000E-03   10000.    
    22 'Normalizat'    1.4537       1.0000         .10000E-01   10.000    
    23 'Prefactor '    .71473       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=   6115.561     FROM MIGRAD    STATUS=CONVERGED    503 CALLS     2503 TOTAL
                     EDM=   .10E-09  STRATEGY=1  ERROR MATRIX UNCERTAINTY=  7.6%

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  norm          5.8483        3.9843        .66993E-07   -.27761E-04
   2  norm          13.118        7.9281        .18186E-06   -.36567E-04
   3  Prefactor     16.912        18.097       -.62993E-08   -.84036E-04
   4  Prefactor     4.0927        3.4846        .19218E-06   -.25921E-04
   5  Prefactor     .10000E-03    16.582        .17923E-05** at limit **
   6  Prefactor     10.055        13.561        .40008E-06   -.25156E-04
   7  Prefactor     .10001E-03    232.94        .23766E-04** at limit **
   8  norm          .10000E-03    4.4680       -.18607E-06** at limit **
   9  norm          .10000E-03    .74809        .32195E-06** at limit **
  10  norm          1.4857        .75846        .74765E-07   -.17329E-03
  11  norm          .10000E-03    .59322       -.37264E-07** at limit **
  12  Prefactor     25.332        16.292        .30193E-06    .16404E-04
  13  Prefactor     .10000E-03    18.994       -.33679E-06** at limit **
  14  Prefactor     25.125        35.766        .14650E-05   -.64629E-05
  15  norm          .10000E-03    13.934       -.10123E-05** at limit **
  16  Prefactor     22.289        11.775        .19456E-06    .22116E-04
  17  Prefactor     .10000E-03    17.460        .13669E-05** at limit **
  18  Prefactor     .10000E-03    20.599       -.23215E-05** at limit **
  19  Prefactor     15.959        15.104        .13850E-06    .24576E-04
  20  norm          .10000E-03    .37134        .55042E-07** at limit **
  21  Prefactor     2.9585        7.3231        .50246E-05   -.72765E-05
  22  Normalizat    1.4538        .21372       -.22691E-05   -.27048E-03
  23  Prefactor     .71477        .15327        .22020E-06   -.30251E-03
                               ERR DEF=  .500    
Final values: 
  norm       = 5.84832
  norm       = 13.1183
  Prefactor  = 16.9122
  Prefactor  = 4.09269
  Prefactor  = 0.0001
  Prefactor  = 10.0548
  Prefactor  = 0.000100009
  norm       = 0.0001
  norm       = 0.0001
  norm       = 1.48567
  norm       = 0.0001
  Prefactor  = 25.3323
  Prefactor  = 0.0001
  Prefactor  = 25.1247
  norm       = 0.0001
  Prefactor  = 22.2894
  Prefactor  = 0.0001
  Prefactor  = 0.0001
  Prefactor  = 15.9591
  norm       = 0.0001
  Prefactor  = 2.95855
  Normalizat = 1.45379
  Prefactor  = 0.714772
 **********
 **   18 **HESSE 
 **********

 FCN=   6115.561     FROM HESSE     STATUS=OK           372 CALLS     2875 TOTAL
                     EDM=   .55E-09    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  norm          5.8483        3.9836        .12411E-03   -1.5224    
   2  norm          13.118        7.9273        .11059E-03   -1.4983    
   3  Prefactor     16.912        18.120        .97396E-04   -1.4885    
   4  Prefactor     4.0927        3.4827        .12918E-03   -1.5303    
   5  Prefactor     .10000E-03    16.624        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   6  Prefactor     10.055        13.572        .12637E-03   -1.5074    
   7  Prefactor     .10001E-03    234.80        .42170E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   8  norm          .10000E-03    4.6404        .32246E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   9  norm          .10000E-03    4.5589        .12792E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  10  norm          1.4857        .75321        .45436E-04   -1.5464    
  11  norm          .10000E-03    .60552        .58805E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  12  Prefactor     25.332        16.304        .79595E-04   -1.4701    
  13  Prefactor     .10000E-03    19.032        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  14  Prefactor     25.125        35.882        .79904E-04   -1.4705    
  15  norm          .10000E-03    13.972        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  16  Prefactor     22.289        11.781        .84842E-04   -1.4763    
  17  Prefactor     .10000E-03    17.480        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  18  Prefactor     .10000E-03    20.630        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  19  Prefactor     15.959        15.103        .10027E-03   -1.4909    
  20  norm          .10000E-03    .37707        .46524E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  21  Prefactor     2.9585        7.3293        .11801E-02   -1.5364    
  22  Normalizat    1.4538        .24555        .24767E-03   -.79085    
  23  Prefactor     .71477        .17756        .26211E-03   -1.0295    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 5.47165e-10
Minuit parameter uncertainties:
  1  3.98374
  2  7.9279
  3  18.1261
  4  3.48283
  5  1.17214e-05
  6  13.5761
  7  0.00285431
  8  4.39169e-06
  9  4.57917e-05
  10  0.753218
  11  2.15169e-08
  12  16.307
  13  2.07406e-05
  14  35.9128
  15  3.14894e-06
  16  11.7826
  17  9.21911e-06
  18  1.51944e-05
  19  15.1065
  20  1.29756e-07
  21  7.33148
  22  0.245747
  23  0.177702
Done.

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

Extracting fit parameters...

4FGL J0948.9+0022
   Spectrum: LogParabola
217         norm:  1.486e+00  7.532e-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:  7.148e-01  1.777e-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.454e+00  2.457e-01  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Fixed Index): 7.36
Ra Dec: 147.244 0.372
Photon Index (Fixed Index): 2.45 +/- 0.00
Photon Flux (Fixed Index): 1.14e-07 +/- 5.78e-08
Energy Flux (Fixed Index): 2.84e-05 +/- 1.44e-05

Performing a free index iterative likelihood fit...

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

Done.

Freeing candidate source...
Done.

Fit tolerance = 1

Performing likelihood fit...
Done.

MINUIT Return Code (Free Index): 0
logL (Free Index) = 6115.43197583
delta logL = 0.1294372898

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

MINUIT Return Code (Free Index): 0
logL (Free Index) = 6115.42984231
delta logL = 0.131570809331

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'norm      '    1.5390       1.0000         .10000E-03   10000.    
     2 'alpha     '    2.8470       1.0000          .0000       5.0000    
     3 'Normalizat'    1.4137       1.0000         .10000E-01   10.000    
     4 'Prefactor '    .73863       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=   6115.430     FROM MIGRAD    STATUS=CONVERGED     48 CALLS      203 TOTAL
                     EDM=   .21E-09    STRATEGY= 1      ERR MATRIX NOT POS-DEF

  EXT PARAMETER                APPROXIMATE        STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  norm          1.5390        15.399        .85937E-02    .42190E-03
   2  alpha         2.8470        2.7190        .41664        .13280E-04
   3  Normalizat    1.4137        .12577        .56628E-01   -.96922E-05
   4  Prefactor     .73862        .17254        .42913E-01   -.98915E-05
                               ERR DEF=  .500    
Final values: 
  norm       = 1.539
  alpha      = 2.84699
  Normalizat = 1.41367
  Prefactor  = 0.738618
 **********
 **   18 **HESSE 
 **********

 FCN=   6115.430     FROM HESSE     STATUS=OK            33 CALLS      236 TOTAL
                     EDM=   .29E-10    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  norm          1.5390        .74188        .43033E-04   -1.5460    
   2  alpha         2.8470        .79849        .19929E-01    .13925    
   3  Normalizat    1.4137        .24364        .25041E-03   -.80234    
   4  Prefactor     .73862        .18401        .25832E-03   -1.0203    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 2.93149e-11
Minuit parameter uncertainties:
  1  0.741885
  2  0.813024
  3  0.243843
  4  0.184164
shell-init: error retrieving current directory: getcwd: cannot access parent directories: No such file or directory
rmdir: failed to remove `/scratch/kocevski/513104': 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) = 6115.42984231
delta logL = 0.131570813789

Extracting fit parameters...

4FGL J0948.9+0022
   Spectrum: LogParabola
217         norm:  1.539e+00  7.419e-01  1.000e-04  1.000e+04 ( 1.000e-10)
218        alpha:  2.847e+00  8.130e-01  0.000e+00  5.000e+00 ( 1.000e+00)
219         beta:  1.652e-01  0.000e+00  0.000e+00  1.000e+01 ( 1.000e+00) fixed
220           Eb:  2.768e+02  0.000e+00  3.000e+01  5.000e+05 ( 1.000e+00) fixed

GAL_V02
   Spectrum: PowerLaw
472    Prefactor:  7.386e-01  1.842e-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.414e+00  2.438e-01  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Free Index): 7.60
Ra Dec: 147.244 0.372
Photon Index (Free Index): 2.85 +/- 0.81
Photon Flux (Free Index): 1.39e-07 +/- 7.68e-08
Energy Flux (Free Index): 2.85e-05 +/- 1.35e-05

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

Cleaning up...

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

Updating database...

UPDATE lightcurve_data_v2 SET comment='SUCCESS', photon_flux='1.14e-07', energy_flux2='2.85e-05', photon_flux_error='5.78e-08', dlogl='1.32e-01', energy_flux='2.84e-05', photon_flux2='1.39e-07', job_status='DONE', time_completed='2021-09-01 02:45:34.430221', photon_index_error2='0.81', photon_index2='2.85', ts='7.36', fit_tolerance='1e-08', GAL='0.71', photon_index_error='0.00', energy_flux_error2='1.35e-05', EG='1.45', time_epoch_completed='1630489534.43', return_code='0', job_id='513104', GAL2='0.74', EG2='1.41', return_code2='0', energy_flux_error='1.44e-05', photon_flux_error2='7.68e-08', ts2='7.60', photon_index='2.45' WHERE bin_id='76' AND source_name='4FGL J0948.9+0022' AND cadence='daily';

Database successfully updated.


Analysis Complete.


Wed Sep  1 02:45:34 PDT 2021


------------------------------------------------------------
Sender: LSF System <scs@bullet0131>
Subject: Job 513104: <4FGL_J0948.9+0022_daily_bin76> in cluster <slac> Done

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

Your job looked like:

------------------------------------------------------------
# LSBATCH: User input
/nfs/farm/g/glast/g/LCRepository/Likelihood/Scripts/LikelihoodAnalysis.py 4FGL_J0948.9+0022_daily_bin76 147.244 0.3717 259027201 259286401 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 :                                   541.39 sec.
    Max Memory :                                 1093 MB
    Average Memory :                             349.05 MB
    Total Requested Memory :                     -
    Delta Memory :                               -
    Max Swap :                                   -
    Max Processes :                              5
    Max Threads :                                21
    Run time :                                   569 sec.
    Turnaround time :                            574 sec.

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

