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


Performing analysis on: 4FGL_J0948.9+0022_daily_bin857
RA = 147.244, Dec = 0.3717
tmin = 461462401, tmax = 461721601
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='518125', job_status='RUN', time_executed='2021-09-01 02:53:24.238012', time_epoch_executed='1630490004.24' WHERE source_name='4FGL J0948.9+0022' and cadence='daily' and bin_id='857'

Database successfully updated.
Done.

Creating custom output directory:
/scratch/kocevski/518125

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

Retrieving the FT1 file...

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

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

Retrieving 46 files...
Done.


Merging files...

Checksum keywords updated successfully.

Merged file saved to:
/scratch/kocevski/518125/ft1_4FGL_J0948.9+0022_daily_bin857.fits


Retrieving the FT1 file...

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

Retrieving 46 files...
Done.


Merging files...

Merged file saved to:
/scratch/kocevski/518125/ft2_4FGL_J0948.9+0022_daily_bin857.fits


Selecting the photons:
time -p gtselect infile=/scratch/kocevski/518125/ft1_4FGL_J0948.9+0022_daily_bin857.fits outfile=/scratch/kocevski/518125/ft1_filteredMKT_4FGL_J0948.9+0022_daily_bin857.fits ra=147.244 dec=0.3717 rad=12.0 tmin=461462401.0 tmax=461721601.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 4.23
user 3.68
sys 0.23

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

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

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

Generating the exposure map:
time -p gtexpmap evfile=/scratch/kocevski/518125/ft1_filtered_4FGL_J0948.9+0022_daily_bin857.fits evtable="EVENTS" scfile=/scratch/kocevski/518125/ft2_4FGL_J0948.9+0022_daily_bin857.fits sctable="SC_DATA" expcube=/scratch/kocevski/518125/ltcube_461462401_461721601_4FGL_J0948.9+0022_daily_bin857.fits outfile=/scratch/kocevski/518125/expmap_461462401_461721601_4FGL_J0948.9+0022_daily_bin857.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/518125/ltcube_461462401_461721601_4FGL_J0948.9+0022_daily_bin857.fits
.....................!
real 192.89
user 186.44
sys 4.91

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/518125/ft1_filtered_4FGL_J0948.9+0022_daily_bin857.fits scfile=/scratch/kocevski/518125/ft2_4FGL_J0948.9+0022_daily_bin857.fits outfile=/scratch/kocevski/518125/cmap_461462401_461721601_4FGL_J0948.9+0022_daily_bin857.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.39
sys 0.14

Creating the high resolution counts map:
time -p gtbin evfile=/scratch/kocevski/518125/ft1_filtered_4FGL_J0948.9+0022_daily_bin857.fits scfile=/scratch/kocevski/518125/ft2_4FGL_J0948.9+0022_daily_bin857.fits outfile=/scratch/kocevski/518125/cmap_HighResolution_461462401_461721601_4FGL_J0948.9+0022_daily_bin857.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/518125/ft1_filtered_4FGL_J0948.9+0022_daily_bin857.fits evtable="EVENTS" scfile=/scratch/kocevski/518125/ft2_4FGL_J0948.9+0022_daily_bin857.fits sctable="SC_DATA" srcmdl=/scratch/kocevski/518125/Model_4FGL_J0948.9+0022_daily_bin857.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/518125/ft1_filtered_4FGL_J0948.9+0022_daily_bin857.fits.....................!
real 54.55
user 53.18
sys 1.18

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

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

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

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'norm      '    35.192       1.0000         .10000E-03   10000.    
     2 'norm      '    .14705       1.0000         .10000E-03   10000.    
     3 'Prefactor '    .10234E-03   1.0000         .10000E-03   10000.    
     4 'Prefactor '    4.2344       1.0000         .10000E-03   10000.    
     5 'Prefactor '    14.358       1.0000         .10000E-03   10000.    
     6 'Prefactor '    .10132E-03   1.0000         .10000E-03   10000.    
     7 'Prefactor '    20.632       1.0000         .10000E-03   10000.    
     8 'norm      '    .12303E-03   1.0000         .10000E-03   10000.    
     9 'norm      '    6.3867       1.0000         .10000E-03   10000.    
    10 'norm      '    1.6560       1.0000         .10000E-03   10000.    
    11 'norm      '    .18098E-03   1.0000         .10000E-03   10000.    
    12 'Prefactor '    6.2158       1.0000         .10000E-03   10000.    
    13 'Prefactor '    .10495E-03   1.0000         .10000E-03   10000.    
    14 'Prefactor '    39.789       1.0000         .10000E-03   10000.    
    15 'norm      '    .10034E-03   1.0000         .10000E-03   10000.    
    16 'Prefactor '    .10009E-03   1.0000         .10000E-03   10000.    
    17 'Prefactor '    .15673E-03   1.0000         .10000E-03   10000.    
    18 'Prefactor '    .10041E-03   1.0000         .10000E-03   10000.    
    19 'Prefactor '    .10003E-03   1.0000         .10000E-03   10000.    
    20 'norm      '    1.8312       1.0000         .10000E-03   10000.    
    21 'Prefactor '    10.412       1.0000         .10000E-03   10000.    
    22 'Normalizat'    .92911       1.0000         .10000E-01   10.000    
    23 'Prefactor '    .96377       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=   5208.329     FROM MIGRAD    STATUS=CONVERGED    544 CALLS     2651 TOTAL
                     EDM=   .10E-08  STRATEGY=1  ERROR MATRIX UNCERTAINTY=   .9%

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  norm          35.195        7.7580       -.86048E-06   -.10378E-02
   2  norm          .75154E-01    5.6014        .17288E-06   -.29557E-04
   3  Prefactor     .10000E-03    5.9689        .25252E-07** at limit **
   4  Prefactor     4.2332        3.0301        .10529E-05   -.26776E-02
   5  Prefactor     14.377        28.860       -.47710E-05   -.18343E-03
   6  Prefactor     .10000E-03    7.7342       -.27175E-06** at limit **
   7  Prefactor     20.639        34.372       -.79393E-06   -.31044E-04
   8  norm          .10000E-03    2.0099        .45368E-07** at limit **
   9  norm          6.3861        1.9720       -.35196E-07   -.14195E-04
  10  norm          1.6559        .75437       -.31317E-08   -.55443E-05
  11  norm          .10000E-03    1.0806       -.98010E-07** at limit **
  12  Prefactor     6.2104        11.248       -.48092E-06   -.84283E-04
  13  Prefactor     .10000E-03    21.093        .99795E-07** at limit **
  14  Prefactor     39.734        38.068       -.47204E-05   -.25196E-03
  15  norm          .10000E-03    8.1479        .96817E-06** at limit **
  16  Prefactor     .10000E-03    10.462        .26599E-06** at limit **
  17  Prefactor     .10000E-03    247.98        .28019E-05** at limit **
  18  Prefactor     .10000E-03    41.412       -.38165E-06** at limit **
  19  Prefactor     .10000E-03    8.6269       -.31328E-06** at limit **
  20  norm          1.8307        1.5962       -.11718E-06   -.16027E-03
  21  Prefactor     10.413        9.8446        .17237E-05    .37198E-03
  22  Normalizat    .92922        .21712        .54527E-06   -.27712E-04
  23  Prefactor     .96382        .16637        .57450E-07    .15012E-04
                               ERR DEF=  .500    
Final values: 
  norm       = 35.1949
  norm       = 0.0751535
  Prefactor  = 0.0001
  Prefactor  = 4.23323
  Prefactor  = 14.3766
  Prefactor  = 0.0001
  Prefactor  = 20.6392
  norm       = 0.0001
  norm       = 6.3861
  norm       = 1.65585
  norm       = 0.000100001
  Prefactor  = 6.2104
  Prefactor  = 0.0001
  Prefactor  = 39.7341
  norm       = 0.0001
  Prefactor  = 0.0001
  Prefactor  = 0.0001
  Prefactor  = 0.0001
  Prefactor  = 0.0001
  norm       = 1.83071
  Prefactor  = 10.413
  Normalizat = 0.929222
  Prefactor  = 0.963821
 **********
 **   18 **HESSE 
 **********

 FCN=   5208.329     FROM HESSE     STATUS=OK           378 CALLS     3029 TOTAL
                     EDM=   .44E-08    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  norm          35.195        7.7838        .67553E-04   -1.4521    
   2  norm          .75154E-01    5.8661        .53543E-01   -1.5653    
   3  Prefactor     .10000E-03    5.9747        .17220E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   4  Prefactor     4.2332        4.4291        .73175E-03   -1.5296    
   5  Prefactor     14.377        29.221        .10570E-03   -1.4949    
   6  Prefactor     .10000E-03    7.7899        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   7  Prefactor     20.639        34.407        .88179E-04   -1.4799    
   8  norm          .10000E-03    4.3754        .19899E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   9  norm          6.3861        1.9809        .53198E-04   -1.5202    
  10  norm          1.6559        .75090        .39883E-04   -1.5451    
  11  norm          .10000E-03    8.4074        .14531E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  12  Prefactor     6.2104        11.296        .16102E-03   -1.5210    
  13  Prefactor     .10000E-03    21.113        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  14  Prefactor     39.734        38.833        .63544E-04   -1.4446    
  15  norm          .10000E-03    8.1672        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  16  Prefactor     .10000E-03    10.560        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  17  Prefactor     .10000E-03    250.81        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  18  Prefactor     .10000E-03    41.473        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  19  Prefactor     .10000E-03    8.6395        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  20  norm          1.8307        1.5914        .80421E-04   -1.5437    
  21  Prefactor     10.413        9.8763        .12417E-03   -1.5062    
  22  Normalizat    .92922        .25427        .28985E-03   -.95441    
  23  Prefactor     .96382        .19249        .22998E-03   -.93945    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 4.35598e-09
Minuit parameter uncertainties:
  1  7.78399
  2  1.3272
  3  1.15422e-05
  4  4.42945
  5  29.2502
  6  9.00191e-06
  7  34.4403
  8  1.66843e-06
  9  1.9809
  10  0.750901
  11  0.000196824
  12  11.3
  13  2.04995e-05
  14  38.858
  15  6.18738e-05
  16  1.0057e-05
  17  0.000661452
  18  7.3604e-05
  19  2.4592e-05
  20  1.59145
  21  9.87783
  22  0.254601
  23  0.192628
Done.

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

Extracting fit parameters...

4FGL J0948.9+0022
   Spectrum: LogParabola
217         norm:  1.656e+00  7.509e-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:  9.638e-01  1.926e-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:  9.292e-01  2.546e-01  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Fixed Index): 8.52
Ra Dec: 147.244 0.372
Photon Index (Fixed Index): 2.45 +/- 0.00
Photon Flux (Fixed Index): 1.27e-07 +/- 5.76e-08
Energy Flux (Fixed Index): 3.17e-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) = 5207.47879567
delta logL = 0.849954721763

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

MINUIT Return Code (Free Index): 0
logL (Free Index) = 5207.47026628
delta logL = 0.858484111578

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'norm      '    1.3718       1.0000         .10000E-03   10000.    
     2 'alpha     '    3.5633       1.0000          .0000       5.0000    
     3 'Normalizat'    .82514       1.0000         .10000E-01   10.000    
     4 'Prefactor '    1.0311       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=   5207.470     FROM MIGRAD    STATUS=CONVERGED     51 CALLS      256 TOTAL
                     EDM=   .14E-08    STRATEGY= 1      ERR MATRIX NOT POS-DEF

  EXT PARAMETER                APPROXIMATE        STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  norm          1.3713        8.3201        .72056E-02    .39560E-03
   2  alpha         3.5636        3.0898        .44428        .17178E-04
   3  Normalizat    .82498        .96657E-01    .69020E-01    .18169E-04
   4  Prefactor     1.0314        .91751E-01    .41173E-01   -.10505E-04
                               ERR DEF=  .500    
Final values: 
  norm       = 1.37132
  alpha      = 3.56356
  Normalizat = 0.824981
  Prefactor  = 1.03143
 **********
 **   18 **HESSE 
 **********

 FCN=   5207.470     FROM HESSE     STATUS=OK            31 CALLS      287 TOTAL
                     EDM=   .92E-12    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  norm          1.3713        1.0090        .32101E-04   -1.5474    
   2  alpha         3.5636        1.1739        .19686E-02    .43943    
   3  Normalizat    .82498        .25496        .30538E-03   -.99149    
   4  Prefactor     1.0314        .20405        .22350E-03   -.91689    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 9.17528e-13
Minuit parameter uncertainties:
  1  1.00899
  2  1.23422
  3  0.255334
  4  0.204204
shell-init: error retrieving current directory: getcwd: cannot access parent directories: No such file or directory
rmdir: failed to remove `/scratch/kocevski/518125': 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) = 5207.47026353
delta logL = 0.85848686499

Extracting fit parameters...

4FGL J0948.9+0022
   Spectrum: LogParabola
217         norm:  1.371e+00  1.009e+00  1.000e-04  1.000e+04 ( 1.000e-10)
218        alpha:  3.564e+00  1.234e+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.031e+00  2.042e-01  0.000e+00  1.000e+01 ( 1.000e+00)
473        Index:  0.000e+00  0.000e+00 -1.000e+00  1.000e+00 ( 1.000e+00) fixed
474        Scale:  1.000e+02  0.000e+00  5.000e+01  2.000e+02 ( 1.000e+00) fixed

EG_v02
   Spectrum: FileFunction
471   Normalization:  8.250e-01  2.553e-01  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Free Index): 10.47
Ra Dec: 147.244 0.372
Photon Index (Free Index): 3.56 +/- 1.23
Photon Flux (Free Index): 1.85e-07 +/- 7.92e-08
Energy Flux (Free Index): 3.04e-05 +/- 1.29e-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/518125/cmap_HighResolution_461462401_461721601_4FGL_J0948.9+0022_daily_bin857.png

Cleaning up...

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

Updating database...

UPDATE lightcurve_data_v2 SET comment='SUCCESS', photon_flux='1.27e-07', energy_flux2='3.04e-05', photon_flux_error='5.76e-08', dlogl='8.58e-01', energy_flux='3.17e-05', photon_flux2='1.85e-07', job_status='DONE', time_completed='2021-09-01 03:02:46.530348', photon_index_error2='1.23', photon_index2='3.56', ts='8.52', fit_tolerance='1e-08', GAL='0.96', photon_index_error='0.00', energy_flux_error2='1.29e-05', EG='0.93', time_epoch_completed='1630490566.53', return_code='0', job_id='518125', GAL2='1.03', EG2='0.82', return_code2='0', energy_flux_error='1.44e-05', photon_flux_error2='7.92e-08', ts2='10.47', photon_index='2.45' WHERE bin_id='857' AND source_name='4FGL J0948.9+0022' AND cadence='daily';

Database successfully updated.


Analysis Complete.


Wed Sep  1 03:02:46 PDT 2021


------------------------------------------------------------
Sender: LSF System <lsf@bullet0094>
Subject: Job 518125: <4FGL_J0948.9+0022_daily_bin857> in cluster <slac> Done

Job <4FGL_J0948.9+0022_daily_bin857> was submitted from host <rhel6-64d> by user <kocevski> in cluster <slac> at Wed Sep  1 02:50:50 2021
Job was executed on host(s) <bullet0094>, in queue <medium>, as user <kocevski> in cluster <slac> at Wed Sep  1 02:50:51 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:50:51 2021
Terminated at Wed Sep  1 03:02:49 2021
Results reported at Wed Sep  1 03:02:49 2021

Your job looked like:

------------------------------------------------------------
# LSBATCH: User input
/nfs/farm/g/glast/g/LCRepository/Likelihood/Scripts/LikelihoodAnalysis.py 4FGL_J0948.9+0022_daily_bin857 147.244 0.3717 461462401 461721601 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 :                                   526.01 sec.
    Max Memory :                                 1255 MB
    Average Memory :                             278.62 MB
    Total Requested Memory :                     -
    Delta Memory :                               -
    Max Swap :                                   -
    Max Processes :                              5
    Max Threads :                                21
    Run time :                                   716 sec.
    Turnaround time :                            719 sec.

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

