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


Performing analysis on: 4FGL_J0948.9+0022_daily_bin505
RA = 147.244, Dec = 0.3717
tmin = 370224001, tmax = 370483201
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='514980', job_status='RUN', time_executed='2021-09-01 02:44:57.547035', time_epoch_executed='1630489497.55' WHERE source_name='4FGL J0948.9+0022' and cadence='daily' and bin_id='505'

Database successfully updated.
Done.

Creating custom output directory:
/scratch/kocevski/514980

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

Retrieving the FT1 file...

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

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

Retrieving 46 files...
Done.


Merging files...

Checksum keywords updated successfully.

Merged file saved to:
/scratch/kocevski/514980/ft1_4FGL_J0948.9+0022_daily_bin505.fits


Retrieving the FT1 file...

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

Retrieving 46 files...
Done.


Merging files...

Merged file saved to:
/scratch/kocevski/514980/ft2_4FGL_J0948.9+0022_daily_bin505.fits


Selecting the photons:
time -p gtselect infile=/scratch/kocevski/514980/ft1_4FGL_J0948.9+0022_daily_bin505.fits outfile=/scratch/kocevski/514980/ft1_filteredMKT_4FGL_J0948.9+0022_daily_bin505.fits ra=147.244 dec=0.3717 rad=12.0 tmin=370224001.0 tmax=370483201.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 16.85
user 16.33
sys 0.45

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

Selecting the good time intervals:
time -p gtmktime scfile=/scratch/kocevski/514980/ft2_4FGL_J0948.9+0022_daily_bin505.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/514980/ft1_filteredMKT_4FGL_J0948.9+0022_daily_bin505.fits evtable="EVENTS" outfile="/scratch/kocevski/514980/ft1_filtered_4FGL_J0948.9+0022_daily_bin505.fits" apply_filter=yes overwrite=yes header_obstimes=yes tstart=0.0 tstop=0.0 gtifile="default" chatter=3 clobber=yes debug=no gui=no mode="ql"

WARNING: version mismatch between CFITSIO header (v3.43) and linked library (v3.41).

This is gtmktime version HEAD
Applying GTI filter:
IN_SAA!=T && LIVETIME>0 && gtifilter('/nfs/farm/g/glast/g/LCRepository/Likelihood/GTIs/nogrb.gti',(START+STOP)/2) && (angsep(RA_SUN,DEC_SUN,RA_ZENITH,DEC_ZENITH)>115 || gtifilter('/nfs/farm/g/glast/g/LCRepository/Likelihood/GTIs/nosolarflares.gti',(START+STOP)/2))
real 0.51
user 0.33
sys 0.15

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

Generating the exposure map:
time -p gtexpmap evfile=/scratch/kocevski/514980/ft1_filtered_4FGL_J0948.9+0022_daily_bin505.fits evtable="EVENTS" scfile=/scratch/kocevski/514980/ft2_4FGL_J0948.9+0022_daily_bin505.fits sctable="SC_DATA" expcube=/scratch/kocevski/514980/ltcube_370224001_370483201_4FGL_J0948.9+0022_daily_bin505.fits outfile=/scratch/kocevski/514980/expmap_370224001_370483201_4FGL_J0948.9+0022_daily_bin505.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/514980/ltcube_370224001_370483201_4FGL_J0948.9+0022_daily_bin505.fits
.....................!
real 191.80
user 185.91
sys 4.97

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/514980/ft1_filtered_4FGL_J0948.9+0022_daily_bin505.fits scfile=/scratch/kocevski/514980/ft2_4FGL_J0948.9+0022_daily_bin505.fits outfile=/scratch/kocevski/514980/cmap_370224001_370483201_4FGL_J0948.9+0022_daily_bin505.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.78
user 0.38
sys 0.15

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

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

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

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

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

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'norm      '    7.5913       1.0000         .10000E-03   10000.    
     2 'norm      '    15.807       1.0000         .10000E-03   10000.    
     3 'Prefactor '    34.556       1.0000         .10000E-03   10000.    
     4 'Prefactor '    .10078E-03   1.0000         .10000E-03   10000.    
     5 'Prefactor '    .10214E-03   1.0000         .10000E-03   10000.    
     6 'Prefactor '    .10000E-03   1.0000         .10000E-03   10000.    
     7 'Prefactor '    .10000E-03   1.0000         .10000E-03   10000.    
     8 'norm      '    5.1990       1.0000         .10000E-03   10000.    
     9 'norm      '    .34116E-03   1.0000         .10000E-03   10000.    
    10 'norm      '    3.7479       1.0000         .10000E-03   10000.    
    11 'norm      '    .10007E-03   1.0000         .10000E-03   10000.    
    12 'Prefactor '    15.740       1.0000         .10000E-03   10000.    
    13 'Prefactor '    .10001E-03   1.0000         .10000E-03   10000.    
    14 'Prefactor '    .10000E-03   1.0000         .10000E-03   10000.    
    15 'norm      '    .10005E-03   1.0000         .10000E-03   10000.    
    16 'Prefactor '    5.7509       1.0000         .10000E-03   10000.    
    17 'Prefactor '    205.25       1.0000         .10000E-03   10000.    
    18 'Prefactor '    .10061E-03   1.0000         .10000E-03   10000.    
    19 'Prefactor '    .10011E-03   1.0000         .10000E-03   10000.    
    20 'norm      '    .13471E-03   1.0000         .10000E-03   10000.    
    21 'Prefactor '    8.3083       1.0000         .10000E-03   10000.    
    22 'Normalizat'    .65715       1.0000         .10000E-01   10.000    
    23 'Prefactor '    1.3306       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=   3057.922     FROM MIGRAD    STATUS=CONVERGED    513 CALLS     2581 TOTAL
                     EDM=   .18E-09  STRATEGY=1  ERROR MATRIX UNCERTAINTY=  1.7%

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  norm          7.5900        6.8290        .11038E-06   -.13180E-04
   2  norm          15.806        11.835        .15123E-06   -.41307E-05
   3  Prefactor     34.536        37.427       -.15297E-05   -.13701E-03
   4  Prefactor     .10000E-03    5.2212        .28156E-06** at limit **
   5  Prefactor     .10000E-03    32.680       -.17938E-06** at limit **
   6  Prefactor     .10000E-03    14.176        .60138E-06** at limit **
   7  Prefactor     .10000E-03    24.235       -.87765E-06** at limit **
   8  norm          5.1984        6.7354        .26986E-05   -.11163E-03
   9  norm          .10000E-03    1.2108        .21729E-06** at limit **
  10  norm          3.7476        1.3535        .13562E-07   -.14876E-03
  11  norm          .10000E-03    2.9421       -.24302E-07** at limit **
  12  Prefactor     15.736        22.783        .30411E-06   -.35994E-04
  13  Prefactor     .10000E-03    61.800       -.18793E-05** at limit **
  14  Prefactor     .10000E-03    30.104       -.37032E-06** at limit **
  15  norm          .10000E-03    10.287        .70924E-06** at limit **
  16  Prefactor     5.7480        11.794        .40698E-06   -.10151E-04
  17  Prefactor     205.21        113.61       -.18890E-05   -.11347E-03
  18  Prefactor     .10000E-03    41.533        .21592E-05** at limit **
  19  Prefactor     .10000E-03    10.642       -.12794E-05** at limit **
  20  norm          .10000E-03    1.6881        .66168E-07** at limit **
  21  Prefactor     8.3124        13.500        .99329E-07   -.17604E-04
  22  Normalizat    .65757        .31960        .19322E-05   -.84184E-04
  23  Prefactor     1.3304        .25031       -.17432E-05   -.25634E-04
                               ERR DEF=  .500    
Final values: 
  norm       = 7.58997
  norm       = 15.8065
  Prefactor  = 34.5359
  Prefactor  = 0.0001
  Prefactor  = 0.0001
  Prefactor  = 0.0001
  Prefactor  = 0.0001
  norm       = 5.19843
  norm       = 0.000100001
  norm       = 3.7476
  norm       = 0.0001
  Prefactor  = 15.7361
  Prefactor  = 0.000100001
  Prefactor  = 0.0001
  norm       = 0.0001
  Prefactor  = 5.74795
  Prefactor  = 205.214
  Prefactor  = 0.000100002
  Prefactor  = 0.0001
  norm       = 0.0001
  Prefactor  = 8.31236
  Normalizat = 0.657574
  Prefactor  = 1.33038
 **********
 **   18 **HESSE 
 **********

 FCN=   3057.922     FROM HESSE     STATUS=OK           366 CALLS     2947 TOTAL
                     EDM=   .54E-09    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  norm          7.5900        6.8156        .13016E-03   -1.5157    
   2  norm          15.806        11.830        .10074E-03   -1.4913    
   3  Prefactor     34.536        37.852        .68171E-04   -1.4532    
   4  Prefactor     .10000E-03    5.3094        .12323E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   5  Prefactor     .10000E-03    32.719        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   6  Prefactor     .10000E-03    14.240        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   7  Prefactor     .10000E-03    24.309        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   8  norm          5.1984        6.8201        .80259E-03   -1.5252    
   9  norm          .10000E-03    5.7092        .11358E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  10  norm          3.7476        1.3506        .36354E-04   -1.5321    
  11  norm          .10000E-03    3.0349        .18521E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  12  Prefactor     15.736        22.751        .10095E-03   -1.4914    
  13  Prefactor     .10000E-03    62.321        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  14  Prefactor     .10000E-03    30.137        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  15  norm          .10000E-03    10.379        .17397E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  16  Prefactor     5.7480        11.762        .16749E-03   -1.5228    
  17  Prefactor     205.21        115.02        .14106E-03   -1.2833    
  18  Prefactor     .10000E-03    42.197        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  19  Prefactor     .10000E-03    10.771        .17723E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  20  norm          .10000E-03    3.6171        .13869E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  21  Prefactor     8.3124        13.421        .13908E-03   -1.5131    
  22  Normalizat    .65757        .35768        .36030E-03   -1.0559    
  23  Prefactor     1.3304        .28694        .21797E-03   -.82408    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 5.39848e-10
Minuit parameter uncertainties:
  1  6.81632
  2  11.8314
  3  37.8788
  4  7.33308e-07
  5  8.20863e-05
  6  7.34192e-05
  7  0.000142222
  8  6.8211
  9  0.000162173
  10  1.35059
  11  4.13295e-06
  12  22.7639
  13  0.000503314
  14  7.69285e-05
  15  9.79881e-05
  16  11.7662
  17  115.149
  18  0.000541255
  19  0.000125569
  20  4.74125e-06
  21  13.4257
  22  0.358952
  23  0.287282
Done.

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

Extracting fit parameters...

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

EG_v02
   Spectrum: FileFunction
471   Normalization:  6.576e-01  3.590e-01  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Fixed Index): 15.10
Ra Dec: 147.244 0.372
Photon Index (Fixed Index): 2.45 +/- 0.00
Photon Flux (Fixed Index): 2.88e-07 +/- 1.04e-07
Energy Flux (Fixed Index): 7.17e-05 +/- 2.58e-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) = 3056.94352026
delta logL = 0.978208174916

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

MINUIT Return Code (Free Index): 0
logL (Free Index) = 3056.87539224
delta logL = 1.046336197

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'norm      '    3.3662       1.0000         .10000E-03   10000.    
     2 'alpha     '    1.8785       1.0000          .0000       5.0000    
     3 'Normalizat'    .75346       1.0000         .10000E-01   10.000    
     4 'Prefactor '    1.2654       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=   3056.875     FROM MIGRAD    STATUS=CONVERGED     53 CALLS      201 TOTAL
                     EDM=   .54E-10    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  norm          3.3645        1.2613        .55140E-02    .42856E-03
   2  alpha         1.8776        .32516        .15975       -.55311E-04
   3  Normalizat    .75343        .29220        .76581E-01    .20361E-04
   4  Prefactor     1.2653        .24131        .50228E-01    .24008E-04
                               ERR DEF=  .500    
Final values: 
  norm       = 3.36448
  alpha      = 1.87763
  Normalizat = 0.753428
  Prefactor  = 1.26525
 **********
 **   18 **HESSE 
 **********

 FCN=   3056.875     FROM HESSE     STATUS=OK            29 CALLS      230 TOTAL
                     EDM=   .20E-10    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  norm          3.3645        1.4142        .34719E-04   -1.5341    
   2  alpha         1.8776        .37255        .69291E-03   -.25160    
   3  Normalizat    .75343        .34264        .33901E-03   -1.0182    
   4  Prefactor     1.2653        .28251        .22204E-03   -.84346    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 1.99296e-11
Minuit parameter uncertainties:
  1  1.41418
  2  0.374038
  3  0.343623
  4  0.282849
shell-init: error retrieving current directory: getcwd: cannot access parent directories: No such file or directory
rmdir: failed to remove `/scratch/kocevski/514980': 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) = 3056.87538855
delta logL = 1.04633988725

Extracting fit parameters...

4FGL J0948.9+0022
   Spectrum: LogParabola
217         norm:  3.364e+00  1.414e+00  1.000e-04  1.000e+04 ( 1.000e-10)
218        alpha:  1.878e+00  3.740e-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.265e+00  2.828e-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.534e-01  3.436e-01  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Free Index): 17.08
Ra Dec: 147.244 0.372
Photon Index (Free Index): 1.88 +/- 0.37
Photon Flux (Free Index): 2.26e-07 +/- 9.87e-08
Energy Flux (Free Index): 9.05e-05 +/- 3.55e-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/514980/cmap_HighResolution_370224001_370483201_4FGL_J0948.9+0022_daily_bin505.png

Cleaning up...

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

Updating database...

UPDATE lightcurve_data_v2 SET comment='SUCCESS', photon_flux='2.88e-07', energy_flux2='9.05e-05', photon_flux_error='1.04e-07', dlogl='1.05e+00', energy_flux='7.17e-05', photon_flux2='2.26e-07', job_status='DONE', time_completed='2021-09-01 02:53:10.498287', photon_index_error2='0.37', photon_index2='1.88', ts='15.10', fit_tolerance='1e-08', GAL='1.33', photon_index_error='0.00', energy_flux_error2='3.55e-05', EG='0.66', time_epoch_completed='1630489990.5', return_code='0', job_id='514980', GAL2='1.27', EG2='0.75', return_code2='0', energy_flux_error='2.58e-05', photon_flux_error2='9.87e-08', ts2='17.08', photon_index='2.45' WHERE bin_id='505' AND source_name='4FGL J0948.9+0022' AND cadence='daily';

Database successfully updated.


Analysis Complete.


Wed Sep  1 02:53:10 PDT 2021


------------------------------------------------------------
Sender: LSF System <lsf@bullet0079>
Subject: Job 514980: <4FGL_J0948.9+0022_daily_bin505> in cluster <slac> Done

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

Your job looked like:

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

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

