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


Performing analysis on: 4FGL_J0948.9+0022_daily_bin533
RA = 147.244, Dec = 0.3717
tmin = 377481601, tmax = 377740801
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='515025', job_status='RUN', time_executed='2021-09-01 02:44:25.382485', time_epoch_executed='1630489465.38' WHERE source_name='4FGL J0948.9+0022' and cadence='daily' and bin_id='533'

Database successfully updated.
Done.

Creating custom output directory:
/scratch/kocevski/515025

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

Retrieving the FT1 file...

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

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

Retrieving 36 files...
Done.


Merging files...

Checksum keywords updated successfully.

Merged file saved to:
/scratch/kocevski/515025/ft1_4FGL_J0948.9+0022_daily_bin533.fits


Retrieving the FT1 file...

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

Retrieving 40 files...
Done.


Merging files...

Merged file saved to:
/scratch/kocevski/515025/ft2_4FGL_J0948.9+0022_daily_bin533.fits


Selecting the photons:
time -p gtselect infile=/scratch/kocevski/515025/ft1_4FGL_J0948.9+0022_daily_bin533.fits outfile=/scratch/kocevski/515025/ft1_filteredMKT_4FGL_J0948.9+0022_daily_bin533.fits ra=147.244 dec=0.3717 rad=12.0 tmin=377481601.0 tmax=377740801.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.24
user 2.97
sys 0.17

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

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

Generating the livetime cube:
time -p gtltcube evfile="/scratch/kocevski/515025/ft1_filtered_4FGL_J0948.9+0022_daily_bin533.fits" evtable="EVENTS" scfile=/scratch/kocevski/515025/ft2_4FGL_J0948.9+0022_daily_bin533.fits sctable="SC_DATA" outfile=/scratch/kocevski/515025/ltcube_377481601_377740801_4FGL_J0948.9+0022_daily_bin533.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/515025/ft2_4FGL_J0948.9+0022_daily_bin533.fits
.....................!
real 11.03
user 10.45
sys 0.29

Generating the exposure map:
time -p gtexpmap evfile=/scratch/kocevski/515025/ft1_filtered_4FGL_J0948.9+0022_daily_bin533.fits evtable="EVENTS" scfile=/scratch/kocevski/515025/ft2_4FGL_J0948.9+0022_daily_bin533.fits sctable="SC_DATA" expcube=/scratch/kocevski/515025/ltcube_377481601_377740801_4FGL_J0948.9+0022_daily_bin533.fits outfile=/scratch/kocevski/515025/expmap_377481601_377740801_4FGL_J0948.9+0022_daily_bin533.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/515025/ltcube_377481601_377740801_4FGL_J0948.9+0022_daily_bin533.fits
.....................!
real 190.57
user 185.42
sys 3.83

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/515025/ft1_filtered_4FGL_J0948.9+0022_daily_bin533.fits scfile=/scratch/kocevski/515025/ft2_4FGL_J0948.9+0022_daily_bin533.fits outfile=/scratch/kocevski/515025/cmap_377481601_377740801_4FGL_J0948.9+0022_daily_bin533.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.54
user 0.38
sys 0.14

Creating the high resolution counts map:
time -p gtbin evfile=/scratch/kocevski/515025/ft1_filtered_4FGL_J0948.9+0022_daily_bin533.fits scfile=/scratch/kocevski/515025/ft2_4FGL_J0948.9+0022_daily_bin533.fits outfile=/scratch/kocevski/515025/cmap_HighResolution_377481601_377740801_4FGL_J0948.9+0022_daily_bin533.fits algorithm="CMAP" ebinalg="LOG" emin=30.0 emax=200000.0 ebinfile=NONE tbinalg="LIN" tbinfile=NONE nxpix=500 nypix=500 binsz=0.1 coordsys="CEL" xref=147.244 yref=0.3717 axisrot=0.0 rafield="RA" decfield="DEC" proj="AIT" hpx_ordering_scheme="RING" hpx_order=3 hpx_ebin=yes hpx_region="" evtable="EVENTS" sctable="SC_DATA" efield="ENERGY" tfield="TIME" chatter=2 clobber=yes debug=no gui=no mode="ql"

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

This is gtbin version HEAD
real 0.54
user 0.39
sys 0.14

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

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

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

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

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'norm      '    7.8238       1.0000         .10000E-03   10000.    
     2 'norm      '    .10001E-03   1.0000         .10000E-03   10000.    
     3 'Prefactor '    12.012       1.0000         .10000E-03   10000.    
     4 'Prefactor '    5.8345       1.0000         .10000E-03   10000.    
     5 'Prefactor '    33.831       1.0000         .10000E-03   10000.    
     6 'Prefactor '    .10013E-03   1.0000         .10000E-03   10000.    
     7 'Prefactor '    .10000E-03   1.0000         .10000E-03   10000.    
     8 'norm      '    .10005E-03   1.0000         .10000E-03   10000.    
     9 'norm      '    .10514E-03   1.0000         .10000E-03   10000.    
    10 'norm      '    6.7014       1.0000         .10000E-03   10000.    
    11 'norm      '    1.5827       1.0000         .10000E-03   10000.    
    12 'Prefactor '    5.1257       1.0000         .10000E-03   10000.    
    13 'Prefactor '    .11105E-03   1.0000         .10000E-03   10000.    
    14 'Prefactor '    .10017E-03   1.0000         .10000E-03   10000.    
    15 'norm      '    .10020E-03   1.0000         .10000E-03   10000.    
    16 'Prefactor '    .10041E-03   1.0000         .10000E-03   10000.    
    17 'Prefactor '    89.326       1.0000         .10000E-03   10000.    
    18 'Prefactor '    .10034E-03   1.0000         .10000E-03   10000.    
    19 'Prefactor '    .10086E-03   1.0000         .10000E-03   10000.    
    20 'norm      '    .13163       1.0000         .10000E-03   10000.    
    21 'Prefactor '    6.0500       1.0000         .10000E-03   10000.    
    22 'Normalizat'    1.2407       1.0000         .10000E-01   10.000    
    23 'Prefactor '    .61568       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=   5278.453     FROM MIGRAD    STATUS=CONVERGED    518 CALLS     2573 TOTAL
                     EDM=   .92E-10  STRATEGY=1  ERROR MATRIX UNCERTAINTY=  1.4%

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  norm          7.8245        4.5881       -.84026E-07   -.18253E-03
   2  norm          .10000E-03    2.5383       -.31563E-07** at limit **
   3  Prefactor     12.017        16.702        .36187E-06   -.88312E-05
   4  Prefactor     5.8359        5.0645        .19050E-06   -.51684E-04
   5  Prefactor     33.816        42.810       -.10283E-05   -.79532E-04
   6  Prefactor     .10000E-03    6.5101       -.52098E-07** at limit **
   7  Prefactor     .10000E-03    16.876        .14099E-05** at limit **
   8  norm          .10000E-03    4.7252       -.79942E-07** at limit **
   9  norm          .10000E-03    .86515        .51483E-07** at limit **
  10  norm          6.7017        1.1916        .23564E-07   -.10176E-03
  11  norm          1.5818        2.5465        .33151E-06    .38967E-05
  12  Prefactor     5.1325        12.263        .34779E-07   -.21818E-04
  13  Prefactor     .10000E-03    81.353       -.59856E-06** at limit **
  14  Prefactor     .10000E-03    18.988       -.90510E-06** at limit **
  15  norm          .10000E-03    9.5343        .93113E-07** at limit **
  16  Prefactor     .10000E-03    5.3755        .24917E-06** at limit **
  17  Prefactor     89.351        63.551        .18187E-05    .10253E-03
  18  Prefactor     .10000E-03    26.415        .11449E-05** at limit **
  19  Prefactor     .10000E-03    18.918       -.81982E-06** at limit **
  20  norm          .12609        1.1576        .69382E-07   -.22806E-03
  21  Prefactor     6.0507        5.8791        .16906E-05   -.77185E-04
  22  Normalizat    1.2401        .21673       -.10490E-05   -.20043E-04
  23  Prefactor     .61612        .15628       -.12671E-06   -.67797E-04
                               ERR DEF=  .500    
Final values: 
  norm       = 7.82454
  norm       = 0.0001
  Prefactor  = 12.0169
  Prefactor  = 5.83587
  Prefactor  = 33.8163
  Prefactor  = 0.0001
  Prefactor  = 0.0001
  norm       = 0.0001
  norm       = 0.0001
  norm       = 6.70172
  norm       = 1.58179
  Prefactor  = 5.13247
  Prefactor  = 0.0001
  Prefactor  = 0.0001
  norm       = 0.0001
  Prefactor  = 0.0001
  Prefactor  = 89.3512
  Prefactor  = 0.0001
  Prefactor  = 0.0001
  norm       = 0.12609
  Prefactor  = 6.05067
  Normalizat = 1.24008
  Prefactor  = 0.616118
 **********
 **   18 **HESSE 
 **********

 FCN=   5278.453     FROM HESSE     STATUS=OK           372 CALLS     2945 TOTAL
                     EDM=   .29E-07    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  norm          7.8245        4.6000        .11498E-03   -1.5148    
   2  norm          .10000E-03    2.5554        .11302E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   3  Prefactor     12.017        16.687        .11558E-03   -1.5015    
   4  Prefactor     5.8359        5.0745        .14254E-03   -1.5225    
   5  Prefactor     33.816        43.370        .68895E-04   -1.4544    
   6  Prefactor     .10000E-03    6.5208        .18102E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   7  Prefactor     .10000E-03    17.139        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   8  norm          .10000E-03    4.8386        .30789E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   9  norm          .10000E-03    1.9137        .13046E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  10  norm          6.7017        1.1952        .31361E-04   -1.5190    
  11  norm          1.5818        2.5260        .13865E-03   -1.5456    
  12  Prefactor     5.1325        12.274        .17758E-03   -1.5255    
  13  Prefactor     .10000E-03    82.014        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  14  Prefactor     .10000E-03    19.100        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  15  norm          .10000E-03    9.5458        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  16  Prefactor     .10000E-03    5.3893        .16440E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  17  Prefactor     89.351        64.736        .21257E-03   -1.3815    
  18  Prefactor     .10000E-03    26.503        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  19  Prefactor     .10000E-03    19.343        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  20  norm          .12609        2.7710        .14750E-02   -1.5637    
  21  Prefactor     6.0507        5.9496        .81618E-03   -1.5216    
  22  Normalizat    1.2401        .25693        .25178E-03   -.85373    
  23  Prefactor     .61612        .18542        .26215E-03   -1.0691    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 2.94739e-08
Minuit parameter uncertainties:
  1  4.60024
  2  2.41466e-06
  3  16.6933
  4  5.0749
  5  43.4106
  6  5.6775e-06
  7  0.00016511
  8  3.79292e-06
  9  1.12686e-05
  10  1.19523
  11  2.5262
  12  12.2804
  13  0.00011649
  14  0.000104202
  15  1.43161e-05
  16  1.12651e-06
  17  64.7874
  18  0.000121967
  19  0.000133396
  20  1.18178
  21  5.95018
  22  0.257192
  23  0.185603
Done.

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

Extracting fit parameters...

4FGL J0948.9+0022
   Spectrum: LogParabola
217         norm:  6.702e+00  1.195e+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

GAL_V02
   Spectrum: PowerLaw
472    Prefactor:  6.161e-01  1.856e-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.240e+00  2.572e-01  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Fixed Index): 80.87
Ra Dec: 147.244 0.372
Photon Index (Fixed Index): 2.45 +/- 0.00
Photon Flux (Fixed Index): 5.15e-07 +/- 9.17e-08
Energy Flux (Fixed Index): 1.28e-04 +/- 2.29e-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) = 5277.57085114
delta logL = 0.881858267927

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

MINUIT Return Code (Free Index): 0
logL (Free Index) = 5277.55411544
delta logL = 0.898593966066

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'norm      '    6.4082       1.0000         .10000E-03   10000.    
     2 'alpha     '    2.1643       1.0000          .0000       5.0000    
     3 'Normalizat'    1.3158       1.0000         .10000E-01   10.000    
     4 'Prefactor '    .57123       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=   5277.554     FROM MIGRAD    STATUS=CONVERGED     53 CALLS      204 TOTAL
                     EDM=   .43E-09    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  norm          6.4077        1.1701        .39638E-02    .18024E-02
   2  alpha         2.1643        .19753        .12655       -.24129E-03
   3  Normalizat    1.3157        .20776        .55628E-01   -.83315E-04
   4  Prefactor     .57128        .15572        .61282E-01   -.10823E-03
                               ERR DEF=  .500    
Final values: 
  norm       = 6.40767
  alpha      = 2.16433
  Normalizat = 1.31569
  Prefactor  = 0.57128
 **********
 **   18 **HESSE 
 **********

 FCN=   5277.554     FROM HESSE     STATUS=OK            27 CALLS      231 TOTAL
                     EDM=   .36E-09    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  norm          6.4077        1.2264        .31404E-04   -1.5202    
   2  alpha         2.1643        .20977        .55418E-03   -.13467    
   3  Normalizat    1.3157        .24830        .24598E-03   -.83099    
   4  Prefactor     .57128        .18438        .27113E-03   -1.0881    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 3.629e-10
Minuit parameter uncertainties:
  1  1.22636
  2  0.210022
  3  0.248521
  4  0.184574
shell-init: error retrieving current directory: getcwd: cannot access parent directories: No such file or directory
rmdir: failed to remove `/scratch/kocevski/515025': 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) = 5277.55411513
delta logL = 0.898594281651

Extracting fit parameters...

4FGL J0948.9+0022
   Spectrum: LogParabola
217         norm:  6.408e+00  1.226e+00  1.000e-04  1.000e+04 ( 1.000e-10)
218        alpha:  2.164e+00  2.100e-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:  5.713e-01  1.846e-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.316e+00  2.485e-01  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Free Index): 82.02
Ra Dec: 147.244 0.372
Photon Index (Free Index): 2.16 +/- 0.21
Photon Flux (Free Index): 4.51e-07 +/- 9.60e-08
Energy Flux (Free Index): 1.38e-04 +/- 2.62e-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/515025/cmap_HighResolution_377481601_377740801_4FGL_J0948.9+0022_daily_bin533.png

Cleaning up...

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

Updating database...

UPDATE lightcurve_data_v2 SET comment='SUCCESS', photon_flux='5.15e-07', energy_flux2='1.38e-04', photon_flux_error='9.17e-08', dlogl='8.99e-01', energy_flux='1.28e-04', photon_flux2='4.51e-07', job_status='DONE', time_completed='2021-09-01 02:52:57.672137', photon_index_error2='0.21', photon_index2='2.16', ts='80.87', fit_tolerance='1e-08', GAL='0.62', photon_index_error='0.00', energy_flux_error2='2.62e-05', EG='1.24', time_epoch_completed='1630489977.67', return_code='0', job_id='515025', GAL2='0.57', EG2='1.32', return_code2='0', energy_flux_error='2.29e-05', photon_flux_error2='9.60e-08', ts2='82.02', photon_index='2.45' WHERE bin_id='533' AND source_name='4FGL J0948.9+0022' AND cadence='daily';

Database successfully updated.


Analysis Complete.


Wed Sep  1 02:52:57 PDT 2021


------------------------------------------------------------
Sender: LSF System <lsf@bullet0237>
Subject: Job 515025: <4FGL_J0948.9+0022_daily_bin533> in cluster <slac> Done

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

Your job looked like:

------------------------------------------------------------
# LSBATCH: User input
/nfs/farm/g/glast/g/LCRepository/Likelihood/Scripts/LikelihoodAnalysis.py 4FGL_J0948.9+0022_daily_bin533 147.244 0.3717 377481601 377740801 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 :                                   508.00 sec.
    Max Memory :                                 1256 MB
    Average Memory :                             236.39 MB
    Total Requested Memory :                     -
    Delta Memory :                               -
    Max Swap :                                   -
    Max Processes :                              5
    Max Threads :                                21
    Run time :                                   702 sec.
    Turnaround time :                            704 sec.

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

