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


Performing analysis on: 4FGL_J0948.9+0022_daily_bin943
RA = 147.244, Dec = 0.3717
tmin = 483753601, tmax = 484012801
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='518254', job_status='RUN', time_executed='2021-09-01 02:54:56.837635', time_epoch_executed='1630490096.84' WHERE source_name='4FGL J0948.9+0022' and cadence='daily' and bin_id='943'

Database successfully updated.
Done.

Creating custom output directory:
/scratch/kocevski/518254

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

Retrieving the FT1 file...

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

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

Retrieving 46 files...
Done.


Merging files...

Checksum keywords updated successfully.

Merged file saved to:
/scratch/kocevski/518254/ft1_4FGL_J0948.9+0022_daily_bin943.fits


Retrieving the FT1 file...

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

Retrieving 46 files...
Done.


Merging files...

Merged file saved to:
/scratch/kocevski/518254/ft2_4FGL_J0948.9+0022_daily_bin943.fits


Selecting the photons:
time -p gtselect infile=/scratch/kocevski/518254/ft1_4FGL_J0948.9+0022_daily_bin943.fits outfile=/scratch/kocevski/518254/ft1_filteredMKT_4FGL_J0948.9+0022_daily_bin943.fits ra=147.244 dec=0.3717 rad=12.0 tmin=483753601.0 tmax=484012801.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.54
user 5.27
sys 0.21

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

Selecting the good time intervals:
time -p gtmktime scfile=/scratch/kocevski/518254/ft2_4FGL_J0948.9+0022_daily_bin943.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/518254/ft1_filteredMKT_4FGL_J0948.9+0022_daily_bin943.fits evtable="EVENTS" outfile="/scratch/kocevski/518254/ft1_filtered_4FGL_J0948.9+0022_daily_bin943.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.60
user 0.34
sys 0.14

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

Generating the exposure map:
time -p gtexpmap evfile=/scratch/kocevski/518254/ft1_filtered_4FGL_J0948.9+0022_daily_bin943.fits evtable="EVENTS" scfile=/scratch/kocevski/518254/ft2_4FGL_J0948.9+0022_daily_bin943.fits sctable="SC_DATA" expcube=/scratch/kocevski/518254/ltcube_483753601_484012801_4FGL_J0948.9+0022_daily_bin943.fits outfile=/scratch/kocevski/518254/expmap_483753601_484012801_4FGL_J0948.9+0022_daily_bin943.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/518254/ltcube_483753601_484012801_4FGL_J0948.9+0022_daily_bin943.fits
.....................!
real 190.63
user 185.34
sys 3.91

Generating the xml model:
radLim = 0.001
maxRad = 12
normsOnly = True
freeVariableSources = True
Fixing all sources to their catalog values, except variable sources
Creating file and adding sources from 4FGL
Added 147 point sources and 0 extended sources

Setting source of interest to:
4FGL J0948.9+0022 @ 147.244 0.3717

Creating the counts map:
time -p gtbin evfile=/scratch/kocevski/518254/ft1_filtered_4FGL_J0948.9+0022_daily_bin943.fits scfile=/scratch/kocevski/518254/ft2_4FGL_J0948.9+0022_daily_bin943.fits outfile=/scratch/kocevski/518254/cmap_483753601_484012801_4FGL_J0948.9+0022_daily_bin943.fits algorithm="CMAP" ebinalg="LOG" emin=30.0 emax=200000.0 ebinfile=NONE tbinalg="LIN" tbinfile=NONE nxpix=160 nypix=160 binsz=0.25 coordsys="CEL" xref=147.244 yref=0.3717 axisrot=0.0 rafield="RA" decfield="DEC" proj="AIT" hpx_ordering_scheme="RING" hpx_order=3 hpx_ebin=yes hpx_region="" evtable="EVENTS" sctable="SC_DATA" efield="ENERGY" tfield="TIME" chatter=2 clobber=yes debug=no gui=no mode="ql"

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

This is gtbin version HEAD
real 0.54
user 0.37
sys 0.14

Creating the high resolution counts map:
time -p gtbin evfile=/scratch/kocevski/518254/ft1_filtered_4FGL_J0948.9+0022_daily_bin943.fits scfile=/scratch/kocevski/518254/ft2_4FGL_J0948.9+0022_daily_bin943.fits outfile=/scratch/kocevski/518254/cmap_HighResolution_483753601_484012801_4FGL_J0948.9+0022_daily_bin943.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.63
user 0.37
sys 0.15

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

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

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

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

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'norm      '    .10002E-03   1.0000         .10000E-03   10000.    
     2 'norm      '    .13310E-03   1.0000         .10000E-03   10000.    
     3 'Prefactor '    31.434       1.0000         .10000E-03   10000.    
     4 'Prefactor '    1.3942       1.0000         .10000E-03   10000.    
     5 'Prefactor '    .31547E-01   1.0000         .10000E-03   10000.    
     6 'Prefactor '    14.560       1.0000         .10000E-03   10000.    
     7 'Prefactor '    .10140E-03   1.0000         .10000E-03   10000.    
     8 'norm      '    .10011E-03   1.0000         .10000E-03   10000.    
     9 'norm      '    6.3783       1.0000         .10000E-03   10000.    
    10 'norm      '    2.3204       1.0000         .10000E-03   10000.    
    11 'norm      '    .10000E-03   1.0000         .10000E-03   10000.    
    12 'Prefactor '    .10059E-03   1.0000         .10000E-03   10000.    
    13 'Prefactor '    .13842E-03   1.0000         .10000E-03   10000.    
    14 'Prefactor '    .23712E-01   1.0000         .10000E-03   10000.    
    15 'norm      '    .10175E-03   1.0000         .10000E-03   10000.    
    16 'Prefactor '    19.512       1.0000         .10000E-03   10000.    
    17 'Prefactor '    82.700       1.0000         .10000E-03   10000.    
    18 'Prefactor '    .16000E-03   1.0000         .10000E-03   10000.    
    19 'Prefactor '    10.600       1.0000         .10000E-03   10000.    
    20 'norm      '    2.4084       1.0000         .10000E-03   10000.    
    21 'Prefactor '    .10426E-03   1.0000         .10000E-03   10000.    
    22 'Normalizat'    1.0588       1.0000         .10000E-01   10.000    
    23 'Prefactor '    .87697       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=   4694.169     FROM MIGRAD    STATUS=CONVERGED    595 CALLS     3068 TOTAL
                     EDM=   .13E-08  STRATEGY=1  ERROR MATRIX UNCERTAINTY=  5.8%

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  norm          .10000E-03    1.8498       -.12503E-06** at limit **
   2  norm          .10000E-03    30.016        .21667E-05** at limit **
   3  Prefactor     31.453        30.686       -.30801E-06    .20134E-03
   4  Prefactor     1.3935        4.0156       -.82664E-06   -.35623E-03
   5  Prefactor     .11025E-03    8361.4        .51534E-04** at limit **
   6  Prefactor     14.556        18.401       -.47065E-06   -.43886E-04
   7  Prefactor     .10000E-03    21.230       -.73558E-07** at limit **
   8  norm          .10000E-03    8.5682       -.38104E-05** at limit **
   9  norm          6.3781        1.8296       -.42717E-07   -.10553E-03
  10  norm          2.3202        .94654       -.36659E-07    .21149E-03
  11  norm          .10000E-03    1.3879       -.13641E-06** at limit **
  12  Prefactor     .10000E-03    5.5329       -.25043E-06** at limit **
  13  Prefactor     .10000E-03    42.246       -.53456E-06** at limit **
  14  Prefactor     .10027E-03    555.47       -.25986E-04** at limit **
  15  norm          .10000E-03    6.0636       -.25373E-06** at limit **
  16  Prefactor     19.526        16.671       -.71142E-06   -.86129E-04
  17  Prefactor     82.804        69.107        .84839E-06    .11719E-03
  18  Prefactor     .10001E-03    82.767       -.18570E-05** at limit **
  19  Prefactor     10.579        26.516        .47928E-06    .75693E-04
  20  norm          2.4083        1.9171        .18344E-06    .60781E-03
  21  Prefactor     .10021E-03    26.380        .95476E-06** at limit **
  22  Normalizat    1.0589        .27851        .16069E-05    .44330E-03
  23  Prefactor     .87695        .20269        .16713E-06    .35989E-03
                               ERR DEF=  .500    
Final values: 
  norm       = 0.0001
  norm       = 0.0001
  Prefactor  = 31.4526
  Prefactor  = 1.39346
  Prefactor  = 0.000110248
  Prefactor  = 14.5557
  Prefactor  = 0.0001
  norm       = 0.000100002
  norm       = 6.37814
  norm       = 2.32021
  norm       = 0.0001
  Prefactor  = 0.0001
  Prefactor  = 0.0001
  Prefactor  = 0.000100266
  norm       = 0.0001
  Prefactor  = 19.5262
  Prefactor  = 82.8039
  Prefactor  = 0.000100007
  Prefactor  = 10.5787
  norm       = 2.40832
  Prefactor  = 0.000100208
  Normalizat = 1.05891
  Prefactor  = 0.876953
 **********
 **   18 **HESSE 
 **********

 FCN=   4694.169     FROM HESSE     STATUS=OK           390 CALLS     3458 TOTAL
                     EDM=   .45E-08    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  norm          .10000E-03    1.8800        .91028E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   2  norm          .10000E-03    35.490        .34310E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   3  Prefactor     31.453        34.898        .71466E-04   -1.4586    
   4  Prefactor     1.3935        4.0956        .22258E-03   -1.5472    
   5  Prefactor     .11025E-03    79.336        .13852       -1.5707    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   6  Prefactor     14.556        18.447        .10497E-03   -1.4945    
   7  Prefactor     .10000E-03    21.253        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   8  norm          .10000E-03    10.047        .22370E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   9  norm          6.3781        1.8329        .47708E-04   -1.5203    
  10  norm          2.3202        .94451        .39590E-04   -1.5403    
  11  norm          .10000E-03    1.4342        .15782E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  12  Prefactor     .10000E-03    5.5475        .15747E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  13  Prefactor     .10000E-03    42.362        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  14  Prefactor     .10027E-03    35.130        .11991       -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  15  norm          .10000E-03    6.0746        .16490E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  16  Prefactor     19.526        16.740        .90673E-04   -1.4824    
  17  Prefactor     82.804        69.266        .22085E-03   -1.3886    
  18  Prefactor     .10001E-03    83.396        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  19  Prefactor     10.579        26.499        .12306E-03   -1.5057    
  20  norm          2.4083        1.8963        .79579E-04   -1.5398    
  21  Prefactor     .10021E-03    62.514        .36189E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  22  Normalizat    1.0589        .28704        .27400E-03   -.91082    
  23  Prefactor     .87695        .20394        .23447E-03   -.96951    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 4.52597e-09
Minuit parameter uncertainties:
  1  2.51504e-07
  2  0.000167807
  3  34.9211
  4  4.09644
  5  0.0571021
  6  18.4543
  7  3.82004e-06
  8  0.000281756
  9  1.83294
  10  0.944518
  11  2.12483e-06
  12  3.8486e-05
  13  0.000127883
  14  0.00611286
  15  5.92704e-05
  16  16.7439
  17  69.3336
  18  0.00147617
  19  26.5281
  20  1.89632
  21  0.00721572
  22  0.287464
  23  0.204122
Done.

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

Extracting fit parameters...

4FGL J0948.9+0022
   Spectrum: LogParabola
217         norm:  2.320e+00  9.445e-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:  8.770e-01  2.041e-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.059e+00  2.875e-01  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Fixed Index): 12.81
Ra Dec: 147.244 0.372
Photon Index (Fixed Index): 2.45 +/- 0.00
Photon Flux (Fixed Index): 1.78e-07 +/- 7.25e-08
Energy Flux (Fixed Index): 4.44e-05 +/- 1.81e-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) = 4694.16842089
delta logL = 9.07814883249e-05

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

MINUIT Return Code (Free Index): 0
logL (Free Index) = 4694.16840665
delta logL = 0.000105019368675

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'norm      '    2.3237       1.0000         .10000E-03   10000.    
     2 'alpha     '    2.4616       1.0000          .0000       5.0000    
     3 'Normalizat'    1.0576       1.0000         .10000E-01   10.000    
     4 'Prefactor '    .87773       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=   4694.168     FROM MIGRAD    STATUS=CONVERGED     51 CALLS      197 TOTAL
                     EDM=   .29E-10    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  norm          2.3242        1.0137        .67268E-02    .19695E-03
   2  alpha         2.4612        .52967        .31774       -.22002E-04
   3  Normalizat    1.0576        .22361        .61980E-01    .91701E-05
   4  Prefactor     .87768        .17443        .44721E-01    .75648E-05
                               ERR DEF=  .500    
Final values: 
  norm       = 2.32418
  alpha      = 2.46122
  Normalizat = 1.05765
  Prefactor  = 0.877684
 **********
 **   18 **HESSE 
 **********

 FCN=   4694.168     FROM HESSE     STATUS=OK            33 CALLS      230 TOTAL
                     EDM=   .40E-09    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  norm          2.3242        .96804        .39558E-04   -1.5403    
   2  alpha         2.4612        .55935        .12857E-01   -.15515E-01
   3  Normalizat    1.0576        .27170        .27414E-03   -.91123    
   4  Prefactor     .87768        .20735        .23438E-03   -.96925    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 4.02578e-10
Minuit parameter uncertainties:
  1  0.968048
  2  0.564131
  3  0.272055
  4  0.207531
shell-init: error retrieving current directory: getcwd: cannot access parent directories: No such file or directory
rmdir: failed to remove `/scratch/kocevski/518254': 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) = 4694.16840608
delta logL = 0.000105591557258

Extracting fit parameters...

4FGL J0948.9+0022
   Spectrum: LogParabola
217         norm:  2.324e+00  9.680e-01  1.000e-04  1.000e+04 ( 1.000e-10)
218        alpha:  2.461e+00  5.641e-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:  8.777e-01  2.075e-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.058e+00  2.721e-01  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Free Index): 12.68
Ra Dec: 147.244 0.372
Photon Index (Free Index): 2.46 +/- 0.56
Photon Flux (Free Index): 1.79e-07 +/- 9.07e-08
Energy Flux (Free Index): 4.44e-05 +/- 1.79e-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/518254/cmap_HighResolution_483753601_484012801_4FGL_J0948.9+0022_daily_bin943.png

Cleaning up...

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

Updating database...

UPDATE lightcurve_data_v2 SET comment='SUCCESS', photon_flux='1.78e-07', energy_flux2='4.44e-05', photon_flux_error='7.25e-08', dlogl='1.06e-04', energy_flux='4.44e-05', photon_flux2='1.79e-07', job_status='DONE', time_completed='2021-09-01 03:04:34.336610', photon_index_error2='0.56', photon_index2='2.46', ts='12.81', fit_tolerance='1e-08', GAL='0.88', photon_index_error='0.00', energy_flux_error2='1.79e-05', EG='1.06', time_epoch_completed='1630490674.34', return_code='0', job_id='518254', GAL2='0.88', EG2='1.06', return_code2='0', energy_flux_error='1.81e-05', photon_flux_error2='9.07e-08', ts2='12.68', photon_index='2.45' WHERE bin_id='943' AND source_name='4FGL J0948.9+0022' AND cadence='daily';

Database successfully updated.


Analysis Complete.


Wed Sep  1 03:04:34 PDT 2021


------------------------------------------------------------
Sender: LSF System <lsf@bullet0210>
Subject: Job 518254: <4FGL_J0948.9+0022_daily_bin943> in cluster <slac> Done

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

Your job looked like:

------------------------------------------------------------
# LSBATCH: User input
/nfs/farm/g/glast/g/LCRepository/Likelihood/Scripts/LikelihoodAnalysis.py 4FGL_J0948.9+0022_daily_bin943 147.244 0.3717 483753601 484012801 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 :                                   517.13 sec.
    Max Memory :                                 1255 MB
    Average Memory :                             281.00 MB
    Total Requested Memory :                     -
    Delta Memory :                               -
    Max Swap :                                   -
    Max Processes :                              5
    Max Threads :                                21
    Run time :                                   810 sec.
    Turnaround time :                            813 sec.

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

