/nfs/farm/g/glast/g/LCRepository/bin/miniconda2/envs/fermitools_v1.0.5/lib/python2.7/site-packages/matplotlib/font_manager.py:281: UserWarning: Matplotlib is building the font cache using fc-list. This may take a moment.
  'Matplotlib is building the font cache using fc-list. '
/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 76 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 = 7484
number of fields = 27
No RA_SUN column yet. Adding RA_SUN/DEC_SUN columns.
Done.


Performing analysis on: 4FGL_J0948.9+0022_daily_bin364
RA = 147.244, Dec = 0.3717
tmin = 333676801, tmax = 333936001
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='514756', job_status='RUN', time_executed='2021-09-01 02:42:58.003124', time_epoch_executed='1630489378.0' WHERE source_name='4FGL J0948.9+0022' and cadence='daily' and bin_id='364'

Database successfully updated.
Done.

Creating custom output directory:
/scratch/kocevski/514756

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

Retrieving the FT1 file...

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

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

Retrieving 46 files...
Done.


Merging files...

Checksum keywords updated successfully.

Merged file saved to:
/scratch/kocevski/514756/ft1_4FGL_J0948.9+0022_daily_bin364.fits


Retrieving the FT1 file...

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

Retrieving 46 files...
Done.


Merging files...

Merged file saved to:
/scratch/kocevski/514756/ft2_4FGL_J0948.9+0022_daily_bin364.fits


Selecting the photons:
time -p gtselect infile=/scratch/kocevski/514756/ft1_4FGL_J0948.9+0022_daily_bin364.fits outfile=/scratch/kocevski/514756/ft1_filteredMKT_4FGL_J0948.9+0022_daily_bin364.fits ra=147.244 dec=0.3717 rad=12.0 tmin=333676801.0 tmax=333936001.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.13
user 3.64
sys 0.19

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

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

Generating the livetime cube:
time -p gtltcube evfile="/scratch/kocevski/514756/ft1_filtered_4FGL_J0948.9+0022_daily_bin364.fits" evtable="EVENTS" scfile=/scratch/kocevski/514756/ft2_4FGL_J0948.9+0022_daily_bin364.fits sctable="SC_DATA" outfile=/scratch/kocevski/514756/ltcube_333676801_333936001_4FGL_J0948.9+0022_daily_bin364.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/514756/ft2_4FGL_J0948.9+0022_daily_bin364.fits
.....................!
real 12.49
user 11.89
sys 0.32

Generating the exposure map:
time -p gtexpmap evfile=/scratch/kocevski/514756/ft1_filtered_4FGL_J0948.9+0022_daily_bin364.fits evtable="EVENTS" scfile=/scratch/kocevski/514756/ft2_4FGL_J0948.9+0022_daily_bin364.fits sctable="SC_DATA" expcube=/scratch/kocevski/514756/ltcube_333676801_333936001_4FGL_J0948.9+0022_daily_bin364.fits outfile=/scratch/kocevski/514756/expmap_333676801_333936001_4FGL_J0948.9+0022_daily_bin364.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/514756/ltcube_333676801_333936001_4FGL_J0948.9+0022_daily_bin364.fits
.....................!
real 190.58
user 185.19
sys 3.98

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/514756/ft1_filtered_4FGL_J0948.9+0022_daily_bin364.fits scfile=/scratch/kocevski/514756/ft2_4FGL_J0948.9+0022_daily_bin364.fits outfile=/scratch/kocevski/514756/cmap_333676801_333936001_4FGL_J0948.9+0022_daily_bin364.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.65
user 0.38
sys 0.14

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

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

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

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

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

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'norm      '    10.733       1.0000         .10000E-03   10000.    
     2 'norm      '    7.5237       1.0000         .10000E-03   10000.    
     3 'Prefactor '    .10039E-03   1.0000         .10000E-03   10000.    
     4 'Prefactor '    5.0609       1.0000         .10000E-03   10000.    
     5 'Prefactor '    .10022E-03   1.0000         .10000E-03   10000.    
     6 'Prefactor '    .10242E-03   1.0000         .10000E-03   10000.    
     7 'Prefactor '    .10023E-03   1.0000         .10000E-03   10000.    
     8 'norm      '    .22098E-03   1.0000         .10000E-03   10000.    
     9 'norm      '    5.8723       1.0000         .10000E-03   10000.    
    10 'norm      '    5.2523       1.0000         .10000E-03   10000.    
    11 'norm      '    .10018E-03   1.0000         .10000E-03   10000.    
    12 'Prefactor '    62.256       1.0000         .10000E-03   10000.    
    13 'Prefactor '    .10322E-03   1.0000         .10000E-03   10000.    
    14 'Prefactor '    20.142       1.0000         .10000E-03   10000.    
    15 'norm      '    11.473       1.0000         .10000E-03   10000.    
    16 'Prefactor '    10.164       1.0000         .10000E-03   10000.    
    17 'Prefactor '    .69290E-01   1.0000         .10000E-03   10000.    
    18 'Prefactor '    35.090       1.0000         .10000E-03   10000.    
    19 'Prefactor '    .10510E-03   1.0000         .10000E-03   10000.    
    20 'norm      '    1.5031       1.0000         .10000E-03   10000.    
    21 'Prefactor '    .10002E-03   1.0000         .10000E-03   10000.    
    22 'Normalizat'    1.3218       1.0000         .10000E-01   10.000    
    23 'Prefactor '    .91403       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=   6355.718     FROM MIGRAD    STATUS=CONVERGED    132 CALLS     2184 TOTAL
                     EDM=   .27E-09  STRATEGY=1  ERROR MATRIX UNCERTAINTY=  2.3%

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  norm          10.734        6.4299       -.30625E-06   -.89068E-03
   2  norm          7.5242        7.3860        .11451E-06    .20169E-02
   3  Prefactor     .10000E-03    6.5319        .68105E-06** at limit **
   4  Prefactor     5.0613        4.8917        .37383E-06    .13165E-04
   5  Prefactor     .10000E-03    24.282        .86762E-06** at limit **
   6  Prefactor     .10000E-03    16.236       -.98275E-06** at limit **
   7  Prefactor     .10000E-03    14.976        .10370E-05** at limit **
   8  norm          .10000E-03    9.7807       -.83159E-06** at limit **
   9  norm          5.8729        2.2118        .11253E-06   -.31441E-04
  10  norm          5.2526        1.1505        .42127E-07   -.14226E-03
  11  norm          .10000E-03    1.0750       -.20135E-06** at limit **
  12  Prefactor     62.267        22.613        .25537E-06   -.72136E-02
  13  Prefactor     .10000E-03    61.184        .24264E-06** at limit **
  14  Prefactor     20.106        14.326       -.46939E-06   -.70231E-02
  15  norm          11.465        9.5587       -.21915E-06    .93384E-04
  16  Prefactor     10.154        2.2355       -.34711E-07   -.18061E-02
  17  Prefactor     .10863E-03    6293.4       -.24713E-04** at limit **
  18  Prefactor     35.164        15.524        .60361E-06   -.20476E-02
  19  Prefactor     .10000E-03    51.240        .22098E-05** at limit **
  20  norm          1.5030        1.3676        .15336E-06    .73746E-04
  21  Prefactor     .10000E-03    1.7115       -.55981E-08** at limit **
  22  Normalizat    1.3214        .28091       -.34784E-05   -.10940E-03
  23  Prefactor     .91429        .20380        .12134E-05   -.90179E-04
                               ERR DEF=  .500    
Final values: 
  norm       = 10.7336
  norm       = 7.52422
  Prefactor  = 0.0001
  Prefactor  = 5.06132
  Prefactor  = 0.0001
  Prefactor  = 0.0001
  Prefactor  = 0.0001
  norm       = 0.0001
  norm       = 5.87288
  norm       = 5.25263
  norm       = 0.0001
  Prefactor  = 62.2669
  Prefactor  = 0.000100003
  Prefactor  = 20.1059
  norm       = 11.4654
  Prefactor  = 10.1539
  Prefactor  = 0.000108634
  Prefactor  = 35.1637
  Prefactor  = 0.000100001
  norm       = 1.50302
  Prefactor  = 0.0001
  Normalizat = 1.32139
  Prefactor  = 0.914294
 **********
 **   18 **HESSE 
 **********

 FCN=   6355.718     FROM HESSE     STATUS=OK           434 CALLS     2618 TOTAL
                     EDM=   .51E-06    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  norm          10.734        6.4876        .30574E-02   -1.5053    
   2  norm          7.5242        7.4374        .36552E-02   -1.5159    
   3  Prefactor     .10000E-03    6.5274        .90712E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   4  Prefactor     5.0613        4.9066        .44684E-02   -1.5258    
   5  Prefactor     .10000E-03    24.211        .90712E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   6  Prefactor     .10000E-03    16.109        .90712E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   7  Prefactor     .10000E-03    14.974        .90712E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   8  norm          .10000E-03    2.6546        .40186E-01   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   9  norm          5.8729        2.2034        .41430E-02   -1.5223    
  10  norm          5.2526        1.1474        .43847E-02   -1.5250    
  11  norm          .10000E-03    .72371        .35601E-01   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  12  Prefactor     62.267        25.331        .12714E-02   -1.4128    
  13  Prefactor     .10000E-03    60.968        .90712E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  14  Prefactor     20.106        36.312        .22311E-02   -1.4811    
  15  norm          11.465        19.505        .29569E-02   -1.5031    
  16  Prefactor     10.154        17.399        .31421E-02   -1.5071    
  17  Prefactor     .10863E-03    116.04        .15643       -1.5707    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  18  Prefactor     35.164        117.36        .16913E-02   -1.4521    
  19  Prefactor     .10000E-03    51.092        .90712E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  20  norm          1.5030        1.3866        .87293E-02   -1.5463    
  21  Prefactor     .10000E-03    1.7095        .90712E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  22  Normalizat    1.3214        .24512        .68210E-01   -.82930    
  23  Prefactor     .91429        .17503        .45184E-01   -.95643    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 5.14614e-07
Minuit parameter uncertainties:
  1  6.48805
  2  7.43834
  3  1.77999e-05
  4  4.90694
  5  0.000112973
  6  3.3835e-05
  7  3.72424e-05
  8  1.46681e-05
  9  2.20342
  10  1.14744
  11  1.80733e-06
  12  25.3352
  13  0.000784054
  14  36.352
  15  19.5155
  16  17.4074
  17  0.0634263
  18  118.145
  19  0.000553516
  20  1.38664
  21  1.73929e-07
  22  0.245341
  23  0.175143
Done.

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

Extracting fit parameters...

4FGL J0948.9+0022
   Spectrum: LogParabola
217         norm:  5.253e+00  1.147e+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.143e-01  1.751e-01  0.000e+00  1.000e+01 ( 1.000e+00)
473        Index:  0.000e+00  0.000e+00 -1.000e+00  1.000e+00 ( 1.000e+00) fixed
474        Scale:  1.000e+02  0.000e+00  5.000e+01  2.000e+02 ( 1.000e+00) fixed

EG_v02
   Spectrum: FileFunction
471   Normalization:  1.321e+00  2.453e-01  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Fixed Index): 49.77
Ra Dec: 147.244 0.372
Photon Index (Fixed Index): 2.45 +/- 0.00
Photon Flux (Fixed Index): 4.03e-07 +/- 8.80e-08
Energy Flux (Fixed Index): 1.00e-04 +/- 2.20e-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) = 6355.6171625
delta logL = 0.100501665886

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

MINUIT Return Code (Free Index): 0
logL (Free Index) = 6355.61049532
delta logL = 0.107168844997

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'norm      '    5.2973       1.0000         .10000E-03   10000.    
     2 'alpha     '    2.5904       1.0000          .0000       5.0000    
     3 'Normalizat'    1.2895       1.0000         .10000E-01   10.000    
     4 'Prefactor '    .93340       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=   6355.610     FROM MIGRAD    STATUS=CONVERGED     51 CALLS      202 TOTAL
                     EDM=   .55E-11    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  norm          5.2981        1.2082        .43657E-02    .66854E-04
   2  alpha         2.5902        .30698        .20500       -.17932E-04
   3  Normalizat    1.2890        .23249        .68885E-01    .60459E-05
   4  Prefactor     .93371        .17514        .45429E-01    .13750E-04
                               ERR DEF=  .500    
Final values: 
  norm       = 5.29808
  alpha      = 2.59019
  Normalizat = 1.28903
  Prefactor  = 0.933705
 **********
 **   18 **HESSE 
 **********

 FCN=   6355.610     FROM HESSE     STATUS=OK            33 CALLS      235 TOTAL
                     EDM=   .43E-12    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  norm          5.2981        1.1439        .37126E-04   -1.5248    
   2  alpha         2.5902        .29996        .88429E-02    .36083E-01
   3  Normalizat    1.2890        .27635        .30477E-03   -.83894    
   4  Prefactor     .93371        .20621        .26730E-03   -.94973    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 4.28598e-13
Minuit parameter uncertainties:
  1  1.14395
  2  0.300688
  3  0.276669
  4  0.206385
shell-init: error retrieving current directory: getcwd: cannot access parent directories: No such file or directory
rmdir: failed to remove `/scratch/kocevski/514756': 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) = 6355.61049276
delta logL = 0.107171400808

Extracting fit parameters...

4FGL J0948.9+0022
   Spectrum: LogParabola
217         norm:  5.298e+00  1.144e+00  1.000e-04  1.000e+04 ( 1.000e-10)
218        alpha:  2.590e+00  3.007e-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:  9.337e-01  2.064e-01  0.000e+00  1.000e+01 ( 1.000e+00)
473        Index:  0.000e+00  0.000e+00 -1.000e+00  1.000e+00 ( 1.000e+00) fixed
474        Scale:  1.000e+02  0.000e+00  5.000e+01  2.000e+02 ( 1.000e+00) fixed

EG_v02
   Spectrum: FileFunction
471   Normalization:  1.289e+00  2.767e-01  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Free Index): 49.24
Ra Dec: 147.244 0.372
Photon Index (Free Index): 2.59 +/- 0.30
Photon Flux (Free Index): 4.29e-07 +/- 1.06e-07
Energy Flux (Free Index): 9.88e-05 +/- 2.17e-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/514756/cmap_HighResolution_333676801_333936001_4FGL_J0948.9+0022_daily_bin364.png

Cleaning up...

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

Updating database...

UPDATE lightcurve_data_v2 SET comment='SUCCESS', photon_flux='4.03e-07', energy_flux2='9.88e-05', photon_flux_error='8.80e-08', dlogl='1.07e-01', energy_flux='1.00e-04', photon_flux2='4.29e-07', job_status='DONE', time_completed='2021-09-01 02:52:22.911313', photon_index_error2='0.30', photon_index2='2.59', ts='49.77', fit_tolerance='1e-08', GAL='0.91', photon_index_error='0.00', energy_flux_error2='2.17e-05', EG='1.32', time_epoch_completed='1630489942.91', return_code='0', job_id='514756', GAL2='0.93', EG2='1.29', return_code2='0', energy_flux_error='2.20e-05', photon_flux_error2='1.06e-07', ts2='49.24', photon_index='2.45' WHERE bin_id='364' AND source_name='4FGL J0948.9+0022' AND cadence='daily';

Database successfully updated.


Analysis Complete.


Wed Sep  1 02:52:22 PDT 2021


------------------------------------------------------------
Sender: LSF System <lsf@bullet0212>
Subject: Job 514756: <4FGL_J0948.9+0022_daily_bin364> in cluster <slac> Done

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

Your job looked like:

------------------------------------------------------------
# LSBATCH: User input
/nfs/farm/g/glast/g/LCRepository/Likelihood/Scripts/LikelihoodAnalysis.py 4FGL_J0948.9+0022_daily_bin364 147.244 0.3717 333676801 333936001 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 :                                   541.00 sec.
    Max Memory :                                 1255 MB
    Average Memory :                             286.95 MB
    Total Requested Memory :                     -
    Delta Memory :                               -
    Max Swap :                                   -
    Max Processes :                              5
    Max Threads :                                21
    Run time :                                   690 sec.
    Turnaround time :                            692 sec.

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

