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


Performing analysis on: 4FGL_J0948.9+0022_daily_bin691
RA = 147.244, Dec = 0.3717
tmin = 418435201, tmax = 418694401
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='516643', job_status='RUN', time_executed='2021-09-01 02:48:47.511476', time_epoch_executed='1630489727.51' WHERE source_name='4FGL J0948.9+0022' and cadence='daily' and bin_id='691'

Database successfully updated.
Done.

Creating custom output directory:
/scratch/kocevski/516643

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

Retrieving the FT1 file...

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

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

Retrieving 47 files...
Done.


Merging files...

Checksum keywords updated successfully.

Merged file saved to:
/scratch/kocevski/516643/ft1_4FGL_J0948.9+0022_daily_bin691.fits


Retrieving the FT1 file...

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

Retrieving 47 files...
Done.


Merging files...

Merged file saved to:
/scratch/kocevski/516643/ft2_4FGL_J0948.9+0022_daily_bin691.fits


Selecting the photons:
time -p gtselect infile=/scratch/kocevski/516643/ft1_4FGL_J0948.9+0022_daily_bin691.fits outfile=/scratch/kocevski/516643/ft1_filteredMKT_4FGL_J0948.9+0022_daily_bin691.fits ra=147.244 dec=0.3717 rad=12.0 tmin=418435201.0 tmax=418694401.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.25
user 4.97
sys 0.22

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

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

Generating the livetime cube:
time -p gtltcube evfile="/scratch/kocevski/516643/ft1_filtered_4FGL_J0948.9+0022_daily_bin691.fits" evtable="EVENTS" scfile=/scratch/kocevski/516643/ft2_4FGL_J0948.9+0022_daily_bin691.fits sctable="SC_DATA" outfile=/scratch/kocevski/516643/ltcube_418435201_418694401_4FGL_J0948.9+0022_daily_bin691.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/516643/ft2_4FGL_J0948.9+0022_daily_bin691.fits
.....................!
real 13.35
user 11.66
sys 0.34

Generating the exposure map:
time -p gtexpmap evfile=/scratch/kocevski/516643/ft1_filtered_4FGL_J0948.9+0022_daily_bin691.fits evtable="EVENTS" scfile=/scratch/kocevski/516643/ft2_4FGL_J0948.9+0022_daily_bin691.fits sctable="SC_DATA" expcube=/scratch/kocevski/516643/ltcube_418435201_418694401_4FGL_J0948.9+0022_daily_bin691.fits outfile=/scratch/kocevski/516643/expmap_418435201_418694401_4FGL_J0948.9+0022_daily_bin691.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/516643/ltcube_418435201_418694401_4FGL_J0948.9+0022_daily_bin691.fits
.....................!
real 192.25
user 186.94
sys 4.47

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/516643/ft1_filtered_4FGL_J0948.9+0022_daily_bin691.fits scfile=/scratch/kocevski/516643/ft2_4FGL_J0948.9+0022_daily_bin691.fits outfile=/scratch/kocevski/516643/cmap_418435201_418694401_4FGL_J0948.9+0022_daily_bin691.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.16

Creating the high resolution counts map:
time -p gtbin evfile=/scratch/kocevski/516643/ft1_filtered_4FGL_J0948.9+0022_daily_bin691.fits scfile=/scratch/kocevski/516643/ft2_4FGL_J0948.9+0022_daily_bin691.fits outfile=/scratch/kocevski/516643/cmap_HighResolution_418435201_418694401_4FGL_J0948.9+0022_daily_bin691.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 1.05
user 0.39
sys 0.15

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

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

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

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

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'norm      '    .10959E-01   1.0000         .10000E-03   10000.    
     2 'norm      '    .10053E-03   1.0000         .10000E-03   10000.    
     3 'Prefactor '    .10006E-03   1.0000         .10000E-03   10000.    
     4 'Prefactor '    .66480E-03   1.0000         .10000E-03   10000.    
     5 'Prefactor '    3.8186       1.0000         .10000E-03   10000.    
     6 'Prefactor '    25.548       1.0000         .10000E-03   10000.    
     7 'Prefactor '    .10942E-03   1.0000         .10000E-03   10000.    
     8 'norm      '    5.2990       1.0000         .10000E-03   10000.    
     9 'norm      '    .10001E-03   1.0000         .10000E-03   10000.    
    10 'norm      '    1.8219       1.0000         .10000E-03   10000.    
    11 'norm      '    .10001E-03   1.0000         .10000E-03   10000.    
    12 'Prefactor '    .10097E-03   1.0000         .10000E-03   10000.    
    13 'Prefactor '    .10031E-03   1.0000         .10000E-03   10000.    
    14 'Prefactor '    .10016E-03   1.0000         .10000E-03   10000.    
    15 'norm      '    32.701       1.0000         .10000E-03   10000.    
    16 'Prefactor '    .10037E-03   1.0000         .10000E-03   10000.    
    17 'Prefactor '    35.187       1.0000         .10000E-03   10000.    
    18 'Prefactor '    .10089E-03   1.0000         .10000E-03   10000.    
    19 'Prefactor '    .10018E-03   1.0000         .10000E-03   10000.    
    20 'norm      '    7.9035       1.0000         .10000E-03   10000.    
    21 'Prefactor '    2.1580       1.0000         .10000E-03   10000.    
    22 'Normalizat'    .62228       1.0000         .10000E-01   10.000    
    23 'Prefactor '    1.1295       1.0000          .0000       10.000    
 **********
 **   15 **SET ERR    .5000    
 **********
 **********
 **   16 **SET GRAD    1.000    
 **********
 **********
 **   17 **MINIMIZE    .4750E+05   .2000E-04
 **********

 MIGRAD MINIMIZATION HAS CONVERGED.

 FCN=   5510.357     FROM MIGRAD    STATUS=CONVERGED     87 CALLS     1774 TOTAL
                     EDM=   .57E-09  STRATEGY=1  ERROR MATRIX UNCERTAINTY=  6.8%

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  norm          .10039E-03    31.277       -.82637E-06** at limit **
   2  norm          .10000E-03    5.2253        .37584E-06** at limit **
   3  Prefactor     .10003E-03    9.8220       -.17405E-04** at limit **
   4  Prefactor     .50783E-03    .85418       -.66081E-05** at limit **
   5  Prefactor     3.8110        1.8016       -.32519E-05    .15786E-02
   6  Prefactor     25.552        1.0264        .27732E-07    .97843E-06
   7  Prefactor     .10000E-03    30.742       -.46863E-05** at limit **
   8  norm          5.2990        3.9603       -.22542E-05   -.42528E-03
   9  norm          .10000E-03    .50974       -.78373E-07** at limit **
  10  norm          1.8217        .76670        .31434E-07    .54729E-03
  11  norm          .10000E-03    .55581        .50465E-07** at limit **
  12  Prefactor     .10003E-03    7.2284        .25294E-05** at limit **
  13  Prefactor     .10006E-03    25.201        .14051E-04** at limit **
  14  Prefactor     .10000E-03    9.2616       -.13930E-04** at limit **
  15  norm          32.703        1.0773        .30208E-06   -.13255E-02
  16  Prefactor     .10000E-03    2.7428        .56837E-07** at limit **
  17  Prefactor     35.165        4.2680       -.29622E-05    .13546E-01
  18  Prefactor     .10007E-03    9.8316        .22212E-04** at limit **
  19  Prefactor     .10000E-03    3.6894       -.21924E-06** at limit **
  20  norm          7.9029        2.1461       -.46935E-07    .91081E-04
  21  Prefactor     2.1552        1.0375        .58060E-07    .26664E-04
  22  Normalizat    .62236        .22473        .21339E-06   -.21797E-04
  23  Prefactor     1.1296        .18769        .12562E-06   -.32497E-04
                               ERR DEF=  .500    
Final values: 
  norm       = 0.000100386
  norm       = 0.0001
  Prefactor  = 0.00010003
  Prefactor  = 0.000507831
  Prefactor  = 3.81098
  Prefactor  = 25.5523
  Prefactor  = 0.000100002
  norm       = 5.299
  norm       = 0.0001
  norm       = 1.82168
  norm       = 0.0001
  Prefactor  = 0.000100026
  Prefactor  = 0.00010006
  Prefactor  = 0.000100002
  norm       = 32.7027
  Prefactor  = 0.0001
  Prefactor  = 35.1651
  Prefactor  = 0.000100067
  Prefactor  = 0.0001
  norm       = 7.90293
  Prefactor  = 2.15515
  Normalizat = 0.622361
  Prefactor  = 1.12955
 **********
 **   18 **HESSE 
 **********

 FCN=   5510.357     FROM HESSE     STATUS=OK           428 CALLS     2202 TOTAL
                     EDM=   .90E-06    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  norm          .10039E-03    2.1170        .65466E-01   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   2  norm          .10000E-03    5.1282        .90712E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   3  Prefactor     .10003E-03    10.094        .90712E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   4  Prefactor     .50783E-03    1.7192        .77153E-01   -1.5704    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   5  Prefactor     3.8110        86.558        .51637E-02   -1.5318    
   6  Prefactor     25.552        16.283        .19813E-02   -1.4697    
   7  Prefactor     .10000E-03    61.597        .90712E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   8  norm          5.2990        3.9697        .43650E-02   -1.5248    
   9  norm          .10000E-03    .49527        .90712E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  10  norm          1.8217        .77818        .77336E-02   -1.5438    
  11  norm          .10000E-03    .55338        .90712E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  12  Prefactor     .10003E-03    13.884        .90712E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  13  Prefactor     .10006E-03    25.342        .90712E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  14  Prefactor     .10000E-03    15.049        .90712E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  15  norm          32.703        18.526        .17518E-02   -1.4564    
  16  Prefactor     .10000E-03    2.7367        .90712E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  17  Prefactor     35.165        38.132        .16889E-02   -1.4521    
  18  Prefactor     .10007E-03    10.783        .90712E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  19  Prefactor     .10000E-03    3.6908        .90712E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  20  norm          7.9029        2.1817        .35657E-02   -1.5146    
  21  Prefactor     2.1552        7.3474        .70107E-02   -1.5414    
  22  Normalizat    .62236        .20402        .70970E-01   -1.0704    
  23  Prefactor     1.1296        .16205        .36561E-01   -.88527    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 8.95662e-07
Minuit parameter uncertainties:
  1  0.00180754
  2  3.88419e-05
  3  0.00110787
  4  0.0529592
  5  36.3837
  6  16.2855
  7  0.000742008
  8  3.96986
  9  2.41965e-06
  10  0.778181
  11  1.31077e-06
  12  0.0011997
  13  0.00246245
  14  0.000353506
  15  18.5288
  16  1.4649e-06
  17  38.1586
  18  0.00170658
  19  1.45005e-05
  20  2.18176
  21  7.35043
  22  0.204263
  23  0.162123
Done.

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

Extracting fit parameters...

4FGL J0948.9+0022
   Spectrum: LogParabola
217         norm:  1.822e+00  7.782e-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.130e+00  1.621e-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.224e-01  2.043e-01  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Fixed Index): 8.76
Ra Dec: 147.244 0.372
Photon Index (Fixed Index): 2.45 +/- 0.00
Photon Flux (Fixed Index): 1.40e-07 +/- 5.97e-08
Energy Flux (Fixed Index): 3.49e-05 +/- 1.49e-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) = 5510.3442229
delta logL = 0.0124154027744

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

MINUIT Return Code (Free Index): 0
logL (Free Index) = 5510.34354023
delta logL = 0.0130980759013

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'norm      '    1.8164       1.0000         .10000E-03   10000.    
     2 'alpha     '    2.5395       1.0000          .0000       5.0000    
     3 'Normalizat'    .61424       1.0000         .10000E-01   10.000    
     4 'Prefactor '    1.1354       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=   5510.344     FROM MIGRAD    STATUS=CONVERGED     45 CALLS      194 TOTAL
                     EDM=   .23E-09    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  norm          1.8164        1.3282        .77475E-02   -.10519E-02
   2  alpha         2.5395        .83060        .34451        .16384E-04
   3  Normalizat    .61422        .19631        .71395E-01    .22193E-04
   4  Prefactor     1.1354        .16680        .36373E-01    .46045E-05
                               ERR DEF=  .500    
Final values: 
  norm       = 1.81643
  alpha      = 2.53946
  Normalizat = 0.614223
  Prefactor  = 1.13545
 **********
 **   18 **HESSE 
 **********

 FCN=   5510.344     FROM HESSE     STATUS=OK            31 CALLS      225 TOTAL
                     EDM=   .11E-09    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  norm          1.8164        .76690        .39748E-04   -1.5438    
   2  alpha         2.5395        .54001        .13919E-01    .15785E-01
   3  Normalizat    .61422        .22959        .31603E-03   -1.0738    
   4  Prefactor     1.1354        .19066        .19861E-03   -.88342    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 1.12415e-10
Minuit parameter uncertainties:
  1  0.766905
  2  0.544305
  3  0.229946
  4  0.190778
shell-init: error retrieving current directory: getcwd: cannot access parent directories: No such file or directory
rmdir: failed to remove `/scratch/kocevski/516643': 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) = 5510.34354022
delta logL = 0.0130980823769

Extracting fit parameters...

4FGL J0948.9+0022
   Spectrum: LogParabola
217         norm:  1.816e+00  7.669e-01  1.000e-04  1.000e+04 ( 1.000e-10)
218        alpha:  2.539e+00  5.443e-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:  1.135e+00  1.908e-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.142e-01  2.299e-01  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Free Index): 8.74
Ra Dec: 147.244 0.372
Photon Index (Free Index): 2.54 +/- 0.54
Photon Flux (Free Index): 1.44e-07 +/- 6.44e-08
Energy Flux (Free Index): 3.41e-05 +/- 1.51e-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/516643/cmap_HighResolution_418435201_418694401_4FGL_J0948.9+0022_daily_bin691.png

Cleaning up...

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

Updating database...

UPDATE lightcurve_data_v2 SET comment='SUCCESS', photon_flux='1.40e-07', energy_flux2='3.41e-05', photon_flux_error='5.97e-08', dlogl='1.31e-02', energy_flux='3.49e-05', photon_flux2='1.44e-07', job_status='DONE', time_completed='2021-09-01 02:57:11.996200', photon_index_error2='0.54', photon_index2='2.54', ts='8.76', fit_tolerance='1e-08', GAL='1.13', photon_index_error='0.00', energy_flux_error2='1.51e-05', EG='0.62', time_epoch_completed='1630490232.0', return_code='0', job_id='516643', GAL2='1.14', EG2='0.61', return_code2='0', energy_flux_error='1.49e-05', photon_flux_error2='6.44e-08', ts2='8.74', photon_index='2.45' WHERE bin_id='691' AND source_name='4FGL J0948.9+0022' AND cadence='daily';

Database successfully updated.


Analysis Complete.


Wed Sep  1 02:57:12 PDT 2021


------------------------------------------------------------
Sender: LSF System <lsf@bullet0031>
Subject: Job 516643: <4FGL_J0948.9+0022_daily_bin691> in cluster <slac> Done

Job <4FGL_J0948.9+0022_daily_bin691> was submitted from host <rhel6-64p> by user <kocevski> in cluster <slac> at Wed Sep  1 02:46:17 2021
Job was executed on host(s) <bullet0031>, in queue <medium>, as user <kocevski> in cluster <slac> at Wed Sep  1 02:46:19 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:19 2021
Terminated at Wed Sep  1 02:57:15 2021
Results reported at Wed Sep  1 02:57:15 2021

Your job looked like:

------------------------------------------------------------
# LSBATCH: User input
/nfs/farm/g/glast/g/LCRepository/Likelihood/Scripts/LikelihoodAnalysis.py 4FGL_J0948.9+0022_daily_bin691 147.244 0.3717 418435201 418694401 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 :                                   492.48 sec.
    Max Memory :                                 1093 MB
    Average Memory :                             279.86 MB
    Total Requested Memory :                     -
    Delta Memory :                               -
    Max Swap :                                   -
    Max Processes :                              5
    Max Threads :                                21
    Run time :                                   653 sec.
    Turnaround time :                            658 sec.

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

