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


Performing analysis on: 4FGL_J0948.9+0022_daily_bin969
RA = 147.244, Dec = 0.3717
tmin = 490492801, tmax = 490752001
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='518299', job_status='RUN', time_executed='2021-09-01 02:54:15.422418', time_epoch_executed='1630490055.42' WHERE source_name='4FGL J0948.9+0022' and cadence='daily' and bin_id='969'

Database successfully updated.
Done.

Creating custom output directory:
/scratch/kocevski/518299

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

Retrieving the FT1 file...

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

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

Retrieving 46 files...
Done.


Merging files...

Checksum keywords updated successfully.

Merged file saved to:
/scratch/kocevski/518299/ft1_4FGL_J0948.9+0022_daily_bin969.fits


Retrieving the FT1 file...

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

Retrieving 46 files...
Done.


Merging files...

Merged file saved to:
/scratch/kocevski/518299/ft2_4FGL_J0948.9+0022_daily_bin969.fits


Selecting the photons:
time -p gtselect infile=/scratch/kocevski/518299/ft1_4FGL_J0948.9+0022_daily_bin969.fits outfile=/scratch/kocevski/518299/ft1_filteredMKT_4FGL_J0948.9+0022_daily_bin969.fits ra=147.244 dec=0.3717 rad=12.0 tmin=490492801.0 tmax=490752001.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.82
user 5.55
sys 0.24

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

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

Generating the livetime cube:
time -p gtltcube evfile="/scratch/kocevski/518299/ft1_filtered_4FGL_J0948.9+0022_daily_bin969.fits" evtable="EVENTS" scfile=/scratch/kocevski/518299/ft2_4FGL_J0948.9+0022_daily_bin969.fits sctable="SC_DATA" outfile=/scratch/kocevski/518299/ltcube_490492801_490752001_4FGL_J0948.9+0022_daily_bin969.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/518299/ft2_4FGL_J0948.9+0022_daily_bin969.fits
.....................!
real 12.73
user 12.39
sys 0.30

Generating the exposure map:
time -p gtexpmap evfile=/scratch/kocevski/518299/ft1_filtered_4FGL_J0948.9+0022_daily_bin969.fits evtable="EVENTS" scfile=/scratch/kocevski/518299/ft2_4FGL_J0948.9+0022_daily_bin969.fits sctable="SC_DATA" expcube=/scratch/kocevski/518299/ltcube_490492801_490752001_4FGL_J0948.9+0022_daily_bin969.fits outfile=/scratch/kocevski/518299/expmap_490492801_490752001_4FGL_J0948.9+0022_daily_bin969.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/518299/ltcube_490492801_490752001_4FGL_J0948.9+0022_daily_bin969.fits
.....................!
real 190.61
user 185.30
sys 4.82

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/518299/ft1_filtered_4FGL_J0948.9+0022_daily_bin969.fits scfile=/scratch/kocevski/518299/ft2_4FGL_J0948.9+0022_daily_bin969.fits outfile=/scratch/kocevski/518299/cmap_490492801_490752001_4FGL_J0948.9+0022_daily_bin969.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.56
user 0.37
sys 0.13

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

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

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

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

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

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'norm      '    2.5605       1.0000         .10000E-03   10000.    
     2 'norm      '    .36490       1.0000         .10000E-03   10000.    
     3 'Prefactor '    10.006       1.0000         .10000E-03   10000.    
     4 'Prefactor '    2.3919       1.0000         .10000E-03   10000.    
     5 'Prefactor '    .10046E-03   1.0000         .10000E-03   10000.    
     6 'Prefactor '    .10010E-03   1.0000         .10000E-03   10000.    
     7 'Prefactor '    .10005E-03   1.0000         .10000E-03   10000.    
     8 'norm      '    .10001E-03   1.0000         .10000E-03   10000.    
     9 'norm      '    1.5396       1.0000         .10000E-03   10000.    
    10 'norm      '    1.3289       1.0000         .10000E-03   10000.    
    11 'norm      '    .76182E-01   1.0000         .10000E-03   10000.    
    12 'Prefactor '    3.1105       1.0000         .10000E-03   10000.    
    13 'Prefactor '    53.773       1.0000         .10000E-03   10000.    
    14 'Prefactor '    .42835       1.0000         .10000E-03   10000.    
    15 'norm      '    .10002E-03   1.0000         .10000E-03   10000.    
    16 'Prefactor '    .10007E-03   1.0000         .10000E-03   10000.    
    17 'Prefactor '    .10257E-03   1.0000         .10000E-03   10000.    
    18 'Prefactor '    18.621       1.0000         .10000E-03   10000.    
    19 'Prefactor '    .10010E-03   1.0000         .10000E-03   10000.    
    20 'norm      '    1.4875       1.0000         .10000E-03   10000.    
    21 'Prefactor '    .11693E-03   1.0000         .10000E-03   10000.    
    22 'Normalizat'    .85322       1.0000         .10000E-01   10.000    
    23 'Prefactor '    1.2048       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=   5937.131     FROM MIGRAD    STATUS=CONVERGED    551 CALLS     2661 TOTAL
                     EDM=   .48E-09  STRATEGY=1  ERROR MATRIX UNCERTAINTY=  2.5%

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  norm          2.5606        3.7938        .45022E-06    .28375E-04
   2  norm          .36473        3.9581        .68520E-06   -.24509E-03
   3  Prefactor     10.007        18.037        .37082E-06   -.64866E-04
   4  Prefactor     2.3917        3.3375        .35301E-06    .50700E-04
   5  Prefactor     .10000E-03    35.335       -.23811E-06** at limit **
   6  Prefactor     .10000E-03    11.234       -.45002E-07** at limit **
   7  Prefactor     .10000E-03    11.293       -.39000E-07** at limit **
   8  norm          .10000E-03    2.1774        .19117E-07** at limit **
   9  norm          1.5395        1.2095        .11555E-06    .92591E-04
  10  norm          1.3288        .74107        .84261E-07    .20935E-04
  11  norm          .80058E-01    1.1200       -.41039E-06    .98034E-03
  12  Prefactor     3.1100        6.4991        .53153E-06    .37442E-04
  13  Prefactor     53.791        44.809        .54525E-06    .77055E-04
  14  Prefactor     .31540        29.333       -.75101E-06    .11361E-03
  15  norm          .10000E-03    12.639        .24364E-06** at limit **
  16  Prefactor     .10000E-03    13.500       -.23959E-05** at limit **
  17  Prefactor     .10000E-03    39.517       -.49067E-06** at limit **
  18  Prefactor     18.586        51.455       -.51430E-06   -.62103E-05
  19  Prefactor     .10000E-03    23.949       -.24086E-05** at limit **
  20  norm          1.4875        1.3722        .24032E-07   -.27025E-03
  21  Prefactor     .10001E-03    5.9398        .10438E-05** at limit **
  22  Normalizat    .85350        .21784       -.26906E-05   -.21891E-03
  23  Prefactor     1.2047        .16392        .14154E-06   -.35368E-03
                               ERR DEF=  .500    
Final values: 
  norm       = 2.56056
  norm       = 0.364731
  Prefactor  = 10.0069
  Prefactor  = 2.39171
  Prefactor  = 0.0001
  Prefactor  = 0.0001
  Prefactor  = 0.0001
  norm       = 0.0001
  norm       = 1.53946
  norm       = 1.3288
  norm       = 0.0800577
  Prefactor  = 3.11004
  Prefactor  = 53.7911
  Prefactor  = 0.315399
  norm       = 0.0001
  Prefactor  = 0.0001
  Prefactor  = 0.0001
  Prefactor  = 18.5861
  Prefactor  = 0.0001
  norm       = 1.48746
  Prefactor  = 0.000100009
  Normalizat = 0.853497
  Prefactor  = 1.20465
 **********
 **   18 **HESSE 
 **********

 FCN=   5937.131     FROM HESSE     STATUS=OK           384 CALLS     3045 TOTAL
                     EDM=   .68E-08    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  norm          2.5606        3.7834        .17520E-03   -1.5388    
   2  norm          .36473        22.950        .28431E-02   -1.5587    
   3  Prefactor     10.007        18.040        .12667E-03   -1.5075    
   4  Prefactor     2.3917        3.3339        .15943E-03   -1.5399    
   5  Prefactor     .10000E-03    35.419        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   6  Prefactor     .10000E-03    11.291        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   7  Prefactor     .10000E-03    11.300        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   8  norm          .10000E-03    2.2366        .22205E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   9  norm          1.5395        1.2013        .72523E-04   -1.5460    
  10  norm          1.3288        .73374        .46359E-04   -1.5477    
  11  norm          .80058E-01    11.071        .15040E-02   -1.5651    
  12  Prefactor     3.1100        6.4890        .22991E-03   -1.5355    
  13  Prefactor     53.791        45.952        .54698E-04   -1.4240    
  14  Prefactor     .31540        36.183        .11696       -1.5596    
  15  norm          .10000E-03    12.781        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  16  Prefactor     .10000E-03    13.159        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  17  Prefactor     .10000E-03    39.526        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  18  Prefactor     18.586        51.047        .92815E-04   -1.4845    
  19  Prefactor     .10000E-03    23.645        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  20  norm          1.4875        1.3536        .82263E-04   -1.5464    
  21  Prefactor     .10001E-03    33.899        .34614E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  22  Normalizat    .85350        .25004        .29862E-03   -.98114    
  23  Prefactor     1.2047        .19437        .20904E-03   -.86188    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 6.80847e-09
Minuit parameter uncertainties:
  1  3.78375
  2  5.78793
  3  18.0494
  4  3.33418
  5  5.00312e-06
  6  1.13267e-05
  7  1.59143e-06
  8  7.2934e-06
  9  1.20129
  10  0.733744
  11  1.88204
  12  6.49051
  13  45.982
  14  6.75944
  15  6.04483e-05
  16  9.85232e-05
  17  5.40456e-06
  18  51.1676
  19  9.42054e-05
  20  1.35362
  21  0.00110763
  22  0.250378
  23  0.194484
Done.

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

Extracting fit parameters...

4FGL J0948.9+0022
   Spectrum: LogParabola
217         norm:  1.329e+00  7.337e-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.205e+00  1.945e-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.535e-01  2.504e-01  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Fixed Index): 5.50
Ra Dec: 147.244 0.372
Photon Index (Fixed Index): 2.45 +/- 0.00
Photon Flux (Fixed Index): 1.02e-07 +/- 5.63e-08
Energy Flux (Fixed Index): 2.54e-05 +/- 1.40e-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) = 5936.82062098
delta logL = 0.310849023415

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

MINUIT Return Code (Free Index): 0
logL (Free Index) = 5936.81738821
delta logL = 0.314081785726

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'norm      '    1.3673       1.0000         .10000E-03   10000.    
     2 'alpha     '    3.0216       1.0000          .0000       5.0000    
     3 'Normalizat'    .80386       1.0000         .10000E-01   10.000    
     4 'Prefactor '    1.2342       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.

 MIGRAD WILL VERIFY CONVERGENCE AND ERROR MATRIX.

 FCN=   5936.817     FROM MIGRAD    STATUS=CONVERGED     83 CALLS      228 TOTAL
                     EDM=   .52E-10    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  norm          1.3674        .72733        .42627E-04    .70836E-03
   2  alpha         3.0216        .74646        .19796E-01    .22006E-04
   3  Normalizat    .80387        .24076        .30675E-03    .54852E-05
   4  Prefactor     1.2342        .19279        .20687E-03    .32346E-04
                               ERR DEF=  .500    
Final values: 
  norm       = 1.36736
  alpha      = 3.02162
  Normalizat = 0.803867
  Prefactor  = 1.2342
 **********
 **   18 **HESSE 
 **********

 FCN=   5936.817     FROM HESSE     STATUS=OK            23 CALLS      251 TOTAL
                     EDM=   .51E-10    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  norm          1.3674        .71924        .17051E-05   -1.5474    
   2  alpha         3.0216        .73809        .79184E-03    .21019    
   3  Normalizat    .80387        .24113        .12270E-04   -.99925    
   4  Prefactor     1.2342        .19294        .41375E-04   -.85285    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 5.10894e-11
Minuit parameter uncertainties:
  1  0.719249
  2  0.749782
  3  0.241449
  4  0.193055
shell-init: error retrieving current directory: getcwd: cannot access parent directories: No such file or directory
rmdir: failed to remove `/scratch/kocevski/518299': 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) = 5936.8173882
delta logL = 0.314081798594

Extracting fit parameters...

4FGL J0948.9+0022
   Spectrum: LogParabola
217         norm:  1.367e+00  7.192e-01  1.000e-04  1.000e+04 ( 1.000e-10)
218        alpha:  3.022e+00  7.498e-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.234e+00  1.931e-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.039e-01  2.414e-01  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Free Index): 6.21
Ra Dec: 147.244 0.372
Photon Index (Free Index): 3.02 +/- 0.75
Photon Flux (Free Index): 1.35e-07 +/- 7.51e-08
Energy Flux (Free Index): 2.59e-05 +/- 1.30e-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/518299/cmap_HighResolution_490492801_490752001_4FGL_J0948.9+0022_daily_bin969.png

Cleaning up...

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

Updating database...

UPDATE lightcurve_data_v2 SET comment='SUCCESS', photon_flux='1.02e-07', energy_flux2='2.59e-05', photon_flux_error='5.63e-08', dlogl='3.14e-01', energy_flux='2.54e-05', photon_flux2='1.35e-07', job_status='DONE', time_completed='2021-09-01 03:04:29.796354', photon_index_error2='0.75', photon_index2='3.02', ts='5.50', fit_tolerance='1e-08', GAL='1.20', photon_index_error='0.00', energy_flux_error2='1.30e-05', EG='0.85', time_epoch_completed='1630490669.8', return_code='0', job_id='518299', GAL2='1.23', EG2='0.80', return_code2='0', energy_flux_error='1.40e-05', photon_flux_error2='7.51e-08', ts2='6.21', photon_index='2.45' WHERE bin_id='969' AND source_name='4FGL J0948.9+0022' AND cadence='daily';

Database successfully updated.


Analysis Complete.


Wed Sep  1 03:04:29 PDT 2021


------------------------------------------------------------
Sender: LSF System <lsf@bullet0254>
Subject: Job 518299: <4FGL_J0948.9+0022_daily_bin969> in cluster <slac> Done

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

Your job looked like:

------------------------------------------------------------
# LSBATCH: User input
/nfs/farm/g/glast/g/LCRepository/Likelihood/Scripts/LikelihoodAnalysis.py 4FGL_J0948.9+0022_daily_bin969 147.244 0.3717 490492801 490752001 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 :                                   557.10 sec.
    Max Memory :                                 1255 MB
    Average Memory :                             293.15 MB
    Total Requested Memory :                     -
    Delta Memory :                               -
    Max Swap :                                   -
    Max Processes :                              5
    Max Threads :                                21
    Run time :                                   803 sec.
    Turnaround time :                            804 sec.

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

