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


Performing analysis on: 4FGL_J0948.9+0022_daily_bin538
RA = 147.244, Dec = 0.3717
tmin = 378777601, tmax = 379036801
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='515033', job_status='RUN', time_executed='2021-09-01 02:43:27.784061', time_epoch_executed='1630489407.78' WHERE source_name='4FGL J0948.9+0022' and cadence='daily' and bin_id='538'

Database successfully updated.
Done.

Creating custom output directory:
/scratch/kocevski/515033

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

Retrieving the FT1 file...

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

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

Retrieving 47 files...
Done.


Merging files...

Checksum keywords updated successfully.

Merged file saved to:
/scratch/kocevski/515033/ft1_4FGL_J0948.9+0022_daily_bin538.fits


Retrieving the FT1 file...

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

Retrieving 47 files...
Done.


Merging files...

Merged file saved to:
/scratch/kocevski/515033/ft2_4FGL_J0948.9+0022_daily_bin538.fits


Selecting the photons:
time -p gtselect infile=/scratch/kocevski/515033/ft1_4FGL_J0948.9+0022_daily_bin538.fits outfile=/scratch/kocevski/515033/ft1_filteredMKT_4FGL_J0948.9+0022_daily_bin538.fits ra=147.244 dec=0.3717 rad=12.0 tmin=378777601.0 tmax=379036801.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.50
user 4.30
sys 0.19

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

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

Generating the livetime cube:
time -p gtltcube evfile="/scratch/kocevski/515033/ft1_filtered_4FGL_J0948.9+0022_daily_bin538.fits" evtable="EVENTS" scfile=/scratch/kocevski/515033/ft2_4FGL_J0948.9+0022_daily_bin538.fits sctable="SC_DATA" outfile=/scratch/kocevski/515033/ltcube_378777601_379036801_4FGL_J0948.9+0022_daily_bin538.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/515033/ft2_4FGL_J0948.9+0022_daily_bin538.fits
.....................!
real 11.92
user 11.55
sys 0.33

Generating the exposure map:
time -p gtexpmap evfile=/scratch/kocevski/515033/ft1_filtered_4FGL_J0948.9+0022_daily_bin538.fits evtable="EVENTS" scfile=/scratch/kocevski/515033/ft2_4FGL_J0948.9+0022_daily_bin538.fits sctable="SC_DATA" expcube=/scratch/kocevski/515033/ltcube_378777601_379036801_4FGL_J0948.9+0022_daily_bin538.fits outfile=/scratch/kocevski/515033/expmap_378777601_379036801_4FGL_J0948.9+0022_daily_bin538.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/515033/ltcube_378777601_379036801_4FGL_J0948.9+0022_daily_bin538.fits
.....................!
real 190.39
user 186.29
sys 3.78

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/515033/ft1_filtered_4FGL_J0948.9+0022_daily_bin538.fits scfile=/scratch/kocevski/515033/ft2_4FGL_J0948.9+0022_daily_bin538.fits outfile=/scratch/kocevski/515033/cmap_378777601_379036801_4FGL_J0948.9+0022_daily_bin538.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.53
user 0.41
sys 0.11

Creating the high resolution counts map:
time -p gtbin evfile=/scratch/kocevski/515033/ft1_filtered_4FGL_J0948.9+0022_daily_bin538.fits scfile=/scratch/kocevski/515033/ft2_4FGL_J0948.9+0022_daily_bin538.fits outfile=/scratch/kocevski/515033/cmap_HighResolution_378777601_379036801_4FGL_J0948.9+0022_daily_bin538.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.40
sys 0.13

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

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

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

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

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'norm      '    2.6323       1.0000         .10000E-03   10000.    
     2 'norm      '    3.1523       1.0000         .10000E-03   10000.    
     3 'Prefactor '    .10000E-03   1.0000         .10000E-03   10000.    
     4 'Prefactor '    5.9576       1.0000         .10000E-03   10000.    
     5 'Prefactor '    .10059E-03   1.0000         .10000E-03   10000.    
     6 'Prefactor '    .10000E-03   1.0000         .10000E-03   10000.    
     7 'Prefactor '    .10001E-03   1.0000         .10000E-03   10000.    
     8 'norm      '    .10001E-03   1.0000         .10000E-03   10000.    
     9 'norm      '    2.1528       1.0000         .10000E-03   10000.    
    10 'norm      '    4.9381       1.0000         .10000E-03   10000.    
    11 'norm      '    .74183       1.0000         .10000E-03   10000.    
    12 'Prefactor '    5.0627       1.0000         .10000E-03   10000.    
    13 'Prefactor '    .10008E-03   1.0000         .10000E-03   10000.    
    14 'Prefactor '    26.850       1.0000         .10000E-03   10000.    
    15 'norm      '    14.212       1.0000         .10000E-03   10000.    
    16 'Prefactor '    17.523       1.0000         .10000E-03   10000.    
    17 'Prefactor '    .10004E-03   1.0000         .10000E-03   10000.    
    18 'Prefactor '    .10000E-03   1.0000         .10000E-03   10000.    
    19 'Prefactor '    .10000E-03   1.0000         .10000E-03   10000.    
    20 'norm      '    1.3486       1.0000         .10000E-03   10000.    
    21 'Prefactor '    3.1634       1.0000         .10000E-03   10000.    
    22 'Normalizat'    .87089       1.0000         .10000E-01   10.000    
    23 'Prefactor '    .97853       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=   4948.733     FROM MIGRAD    STATUS=CONVERGED    505 CALLS     2566 TOTAL
                     EDM=   .19E-09  STRATEGY=1  ERROR MATRIX UNCERTAINTY=  2.6%

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  norm          2.6332        4.7958        .25612E-06   -.96168E-04
   2  norm          3.1511        7.9446        .51887E-06   -.30050E-04
   3  Prefactor     .10000E-03    12.504       -.29126E-06** at limit **
   4  Prefactor     5.9578        4.6475       -.49177E-07   -.10767E-03
   5  Prefactor     .10000E-03    73.804       -.33077E-05** at limit **
   6  Prefactor     .10000E-03    6.8020        .21335E-07** at limit **
   7  Prefactor     .10000E-03    18.045        .24501E-05** at limit **
   8  norm          .10000E-03    3.6988       -.91952E-08** at limit **
   9  norm          2.1528        1.3081        .17955E-07   -.33029E-04
  10  norm          4.9382        1.0679        .12801E-07   -.72026E-04
  11  norm          .74144        2.0045        .51721E-06   -.68732E-04
  12  Prefactor     5.0625        10.520        .41664E-05   -.23693E-03
  13  Prefactor     .10000E-03    38.129        .36678E-05** at limit **
  14  Prefactor     26.848        32.232        .14938E-06   -.25746E-04
  15  norm          14.211        13.633       -.55262E-06   -.70619E-06
  16  Prefactor     17.523        11.691       -.31321E-06   -.58272E-06
  17  Prefactor     .10000E-03    21.178       -.39930E-05** at limit **
  18  Prefactor     .10000E-03    19.653        .15162E-06** at limit **
  19  Prefactor     .10000E-03    5.8191        .11222E-07** at limit **
  20  norm          1.3486        .95194        .70096E-08   -.78648E-06
  21  Prefactor     3.1635        3.4117       -.59631E-09    .38534E-05
  22  Normalizat    .87085        .20987       -.65155E-06   -.10581E-04
  23  Prefactor     .97854        .16168       -.21812E-06   -.24080E-04
                               ERR DEF=  .500    
Final values: 
  norm       = 2.63321
  norm       = 3.15108
  Prefactor  = 0.0001
  Prefactor  = 5.95784
  Prefactor  = 0.000100002
  Prefactor  = 0.0001
  Prefactor  = 0.000100001
  norm       = 0.0001
  norm       = 2.15283
  norm       = 4.93819
  norm       = 0.741439
  Prefactor  = 5.06254
  Prefactor  = 0.000100002
  Prefactor  = 26.8478
  norm       = 14.211
  Prefactor  = 17.523
  Prefactor  = 0.000100003
  Prefactor  = 0.0001
  Prefactor  = 0.0001
  norm       = 1.34856
  Prefactor  = 3.1635
  Normalizat = 0.870845
  Prefactor  = 0.978541
 **********
 **   18 **HESSE 
 **********

 FCN=   4948.733     FROM HESSE     STATUS=OK           374 CALLS     2940 TOTAL
                     EDM=   .44E-09    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  norm          2.6332        4.7854        .19706E-03   -1.5383    
   2  norm          3.1511        7.9315        .22830E-03   -1.5353    
   3  Prefactor     .10000E-03    12.553        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   4  Prefactor     5.9578        4.6565        .12663E-03   -1.5220    
   5  Prefactor     .10000E-03    74.967        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   6  Prefactor     .10000E-03    6.8205        .17917E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   7  Prefactor     .10000E-03    18.509        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   8  norm          .10000E-03    3.7540        .13201E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   9  norm          2.1528        1.3058        .60261E-04   -1.5415    
  10  norm          4.9382        1.0711        .18099E-04   -1.5263    
  11  norm          .74144        1.9661        .15735E-03   -1.5536    
  12  Prefactor     5.0625        10.801        .89351E-03   -1.5258    
  13  Prefactor     .10000E-03    39.214        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  14  Prefactor     26.848        32.255        .77312E-04   -1.4671    
  15  norm          14.211        13.639        .10625E-03   -1.4954    
  16  Prefactor     17.523        11.704        .95677E-04   -1.4871    
  17  Prefactor     .10000E-03    22.421        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  18  Prefactor     .10000E-03    19.657        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  19  Prefactor     .10000E-03    5.8202        .16573E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  20  norm          1.3486        .96089        .56045E-04   -1.5476    
  21  Prefactor     3.1635        3.4143        .13142E-03   -1.5352    
  22  Normalizat    .87085        .24237        .28802E-03   -.97492    
  23  Prefactor     .97854        .18671        .22043E-03   -.93448    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 4.36312e-10
Minuit parameter uncertainties:
  1  4.78609
  2  7.93418
  3  2.41273e-05
  4  4.65679
  5  0.000742296
  6  4.04291e-06
  7  0.000290694
  8  2.19372e-06
  9  1.30581
  10  1.07109
  11  1.96627
  12  10.8056
  13  0.000622666
  14  32.2763
  15  13.6415
  16  11.7055
  17  0.000528252
  18  1.73062e-05
  19  4.83674e-07
  20  0.9609
  21  3.41447
  22  0.242673
  23  0.186833
Done.

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

Extracting fit parameters...

4FGL J0948.9+0022
   Spectrum: LogParabola
217         norm:  4.938e+00  1.071e+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:  9.785e-01  1.868e-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.708e-01  2.427e-01  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Fixed Index): 50.38
Ra Dec: 147.244 0.372
Photon Index (Fixed Index): 2.45 +/- 0.00
Photon Flux (Fixed Index): 3.79e-07 +/- 8.22e-08
Energy Flux (Fixed Index): 9.45e-05 +/- 2.05e-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) = 4947.96479229
delta logL = 0.768580063744

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

MINUIT Return Code (Free Index): 0
logL (Free Index) = 4947.96233424
delta logL = 0.771038114543

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'norm      '    4.8671       1.0000         .10000E-03   10000.    
     2 'alpha     '    2.8444       1.0000          .0000       5.0000    
     3 'Normalizat'    .79831       1.0000         .10000E-01   10.000    
     4 'Prefactor '    1.0206       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=   4947.962     FROM MIGRAD    STATUS=CONVERGED     48 CALLS      194 TOTAL
                     EDM=   .99E-09    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  norm          4.8671        1.2710        .45583E-02    .56485E-02
   2  alpha         2.8444        .39128        .19204        .11649E-04
   3  Normalizat    .79828        .20623        .67571E-01    .10722E-04
   4  Prefactor     1.0206        .16445        .42083E-01    .60247E-05
                               ERR DEF=  .500    
Final values: 
  norm       = 4.86709
  alpha      = 2.84445
  Normalizat = 0.798279
  Prefactor  = 1.02062
 **********
 **   18 **HESSE 
 **********

 FCN=   4947.962     FROM HESSE     STATUS=OK            29 CALLS      223 TOTAL
                     EDM=   .70E-09    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  norm          4.8671        1.0556        .30340E-04   -1.5267    
   2  alpha         2.8444        .33099        .83759E-03    .13822    
   3  Normalizat    .79828        .23882        .29896E-03   -1.0013    
   4  Prefactor     1.0206        .18893        .21640E-03   -.92045    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 7.0232e-10
Minuit parameter uncertainties:
  1  1.05557
  2  0.331987
  3  0.239139
  4  0.189051
shell-init: error retrieving current directory: getcwd: cannot access parent directories: No such file or directory
rmdir: failed to remove `/scratch/kocevski/515033': 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) = 4947.96233422
delta logL = 0.771038136181

Extracting fit parameters...

4FGL J0948.9+0022
   Spectrum: LogParabola
217         norm:  4.867e+00  1.056e+00  1.000e-04  1.000e+04 ( 1.000e-10)
218        alpha:  2.844e+00  3.320e-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.021e+00  1.891e-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:  7.983e-01  2.391e-01  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Free Index): 51.76
Ra Dec: 147.244 0.372
Photon Index (Free Index): 2.84 +/- 0.33
Photon Flux (Free Index): 4.41e-07 +/- 1.02e-07
Energy Flux (Free Index): 9.02e-05 +/- 1.91e-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/515033/cmap_HighResolution_378777601_379036801_4FGL_J0948.9+0022_daily_bin538.png

Cleaning up...

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

Updating database...

UPDATE lightcurve_data_v2 SET comment='SUCCESS', photon_flux='3.79e-07', energy_flux2='9.02e-05', photon_flux_error='8.22e-08', dlogl='7.71e-01', energy_flux='9.45e-05', photon_flux2='4.41e-07', job_status='DONE', time_completed='2021-09-01 02:51:54.769837', photon_index_error2='0.33', photon_index2='2.84', ts='50.38', fit_tolerance='1e-08', GAL='0.98', photon_index_error='0.00', energy_flux_error2='1.91e-05', EG='0.87', time_epoch_completed='1630489914.77', return_code='0', job_id='515033', GAL2='1.02', EG2='0.80', return_code2='0', energy_flux_error='2.05e-05', photon_flux_error2='1.02e-07', ts2='51.76', photon_index='2.45' WHERE bin_id='538' AND source_name='4FGL J0948.9+0022' AND cadence='daily';

Database successfully updated.


Analysis Complete.


Wed Sep  1 02:51:54 PDT 2021


------------------------------------------------------------
Sender: LSF System <lsf@bullet0105>
Subject: Job 515033: <4FGL_J0948.9+0022_daily_bin538> in cluster <slac> Done

Job <4FGL_J0948.9+0022_daily_bin538> 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) <bullet0105>, 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:51:55 2021
Results reported at Wed Sep  1 02:51:55 2021

Your job looked like:

------------------------------------------------------------
# LSBATCH: User input
/nfs/farm/g/glast/g/LCRepository/Likelihood/Scripts/LikelihoodAnalysis.py 4FGL_J0948.9+0022_daily_bin538 147.244 0.3717 378777601 379036801 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 :                                   503.00 sec.
    Max Memory :                                 1093 MB
    Average Memory :                             282.90 MB
    Total Requested Memory :                     -
    Delta Memory :                               -
    Max Swap :                                   -
    Max Processes :                              5
    Max Threads :                                21
    Run time :                                   639 sec.
    Turnaround time :                            641 sec.

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

