/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 217 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 = 7480
number of fields = 22
No RA_SUN column yet. Adding RA_SUN/DEC_SUN columns.
Done.


Performing analysis on: 4FGL_J0948.9+0022_daily_bin53
RA = 147.244, Dec = 0.3717
tmin = 253065601, tmax = 253324801
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='513081', job_status='RUN', time_executed='2021-09-01 02:40:12.263832', time_epoch_executed='1630489212.26' WHERE source_name='4FGL J0948.9+0022' and cadence='daily' and bin_id='53'

Database successfully updated.
Done.

Creating custom output directory:
/scratch/kocevski/513081

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

Retrieving the FT1 file...

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

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

Retrieving 46 files...
Done.


Merging files...

Checksum keywords updated successfully.

Merged file saved to:
/scratch/kocevski/513081/ft1_4FGL_J0948.9+0022_daily_bin53.fits


Retrieving the FT1 file...

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

Retrieving 46 files...
Done.


Merging files...

Merged file saved to:
/scratch/kocevski/513081/ft2_4FGL_J0948.9+0022_daily_bin53.fits


Selecting the photons:
time -p gtselect infile=/scratch/kocevski/513081/ft1_4FGL_J0948.9+0022_daily_bin53.fits outfile=/scratch/kocevski/513081/ft1_filteredMKT_4FGL_J0948.9+0022_daily_bin53.fits ra=147.244 dec=0.3717 rad=12.0 tmin=253065601.0 tmax=253324801.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 1.58
user 1.23
sys 0.17

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

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

Generating the livetime cube:
time -p gtltcube evfile="/scratch/kocevski/513081/ft1_filtered_4FGL_J0948.9+0022_daily_bin53.fits" evtable="EVENTS" scfile=/scratch/kocevski/513081/ft2_4FGL_J0948.9+0022_daily_bin53.fits sctable="SC_DATA" outfile=/scratch/kocevski/513081/ltcube_253065601_253324801_4FGL_J0948.9+0022_daily_bin53.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/513081/ft2_4FGL_J0948.9+0022_daily_bin53.fits
.....................!
real 13.11
user 12.38
sys 0.34

Generating the exposure map:
time -p gtexpmap evfile=/scratch/kocevski/513081/ft1_filtered_4FGL_J0948.9+0022_daily_bin53.fits evtable="EVENTS" scfile=/scratch/kocevski/513081/ft2_4FGL_J0948.9+0022_daily_bin53.fits sctable="SC_DATA" expcube=/scratch/kocevski/513081/ltcube_253065601_253324801_4FGL_J0948.9+0022_daily_bin53.fits outfile=/scratch/kocevski/513081/expmap_253065601_253324801_4FGL_J0948.9+0022_daily_bin53.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/513081/ltcube_253065601_253324801_4FGL_J0948.9+0022_daily_bin53.fits
.....................!
real 190.08
user 185.29
sys 4.30

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/513081/ft1_filtered_4FGL_J0948.9+0022_daily_bin53.fits scfile=/scratch/kocevski/513081/ft2_4FGL_J0948.9+0022_daily_bin53.fits outfile=/scratch/kocevski/513081/cmap_253065601_253324801_4FGL_J0948.9+0022_daily_bin53.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.39
sys 0.13

Creating the high resolution counts map:
time -p gtbin evfile=/scratch/kocevski/513081/ft1_filtered_4FGL_J0948.9+0022_daily_bin53.fits scfile=/scratch/kocevski/513081/ft2_4FGL_J0948.9+0022_daily_bin53.fits outfile=/scratch/kocevski/513081/cmap_HighResolution_253065601_253324801_4FGL_J0948.9+0022_daily_bin53.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.37
sys 0.16

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

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

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

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

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'norm      '    13.625       1.0000         .10000E-03   10000.    
     2 'norm      '    17.239       1.0000         .10000E-03   10000.    
     3 'Prefactor '    10.390       1.0000         .10000E-03   10000.    
     4 'Prefactor '    .31853       1.0000         .10000E-03   10000.    
     5 'Prefactor '    .18052E-03   1.0000         .10000E-03   10000.    
     6 'Prefactor '    4.2492       1.0000         .10000E-03   10000.    
     7 'Prefactor '    .10000E-03   1.0000         .10000E-03   10000.    
     8 'norm      '    2.9708       1.0000         .10000E-03   10000.    
     9 'norm      '    .65544       1.0000         .10000E-03   10000.    
    10 'norm      '    .22322       1.0000         .10000E-03   10000.    
    11 'norm      '    .14043E-03   1.0000         .10000E-03   10000.    
    12 'Prefactor '    1.6664       1.0000         .10000E-03   10000.    
    13 'Prefactor '    35.941       1.0000         .10000E-03   10000.    
    14 'Prefactor '    .10010E-03   1.0000         .10000E-03   10000.    
    15 'norm      '    .10250E-03   1.0000         .10000E-03   10000.    
    16 'Prefactor '    40.436       1.0000         .10000E-03   10000.    
    17 'Prefactor '    38.058       1.0000         .10000E-03   10000.    
    18 'Prefactor '    .10002E-03   1.0000         .10000E-03   10000.    
    19 'Prefactor '    .10001E-03   1.0000         .10000E-03   10000.    
    20 'norm      '    .11918E-03   1.0000         .10000E-03   10000.    
    21 'Prefactor '    .11002E-03   1.0000         .10000E-03   10000.    
    22 'Normalizat'    .88811       1.0000         .10000E-01   10.000    
    23 'Prefactor '    1.0687       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=   8583.543     FROM MIGRAD    STATUS=CONVERGED    542 CALLS     2665 TOTAL
                     EDM=   .16E-09  STRATEGY=1  ERROR MATRIX UNCERTAINTY=  4.2%

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  norm          13.625        4.7509        .63993E-07    .10870E-03
   2  norm          17.240        7.2052       -.91149E-07    .14025E-04
   3  Prefactor     10.368        16.712       -.26312E-06    .19450E-04
   4  Prefactor     .32682        1.8252       -.10262E-05    .35582E-03
   5  Prefactor     .10000E-03    47.408       -.41829E-06** at limit **
   6  Prefactor     4.2523        11.913        .39644E-05    .15158E-03
   7  Prefactor     .10000E-03    9.8967       -.82970E-06** at limit **
   8  norm          2.9705        2.8758        .10095E-06    .52532E-04
   9  norm          .65516        .77842        .19087E-07   -.18765E-03
  10  norm          .22319        .38066        .10072E-06    .85795E-03
  11  norm          .10000E-03    .84077       -.38444E-07** at limit **
  12  Prefactor     1.6655        7.7628        .11307E-05    .45339E-05
  13  Prefactor     35.954        30.669       -.15662E-05   -.27442E-04
  14  Prefactor     .10000E-03    9.9301       -.84305E-06** at limit **
  15  norm          .10000E-03    14.611       -.83116E-06** at limit **
  16  Prefactor     40.424        12.441        .50920E-06    .13280E-05
  17  Prefactor     38.058        40.705       -.29556E-07   -.56549E-05
  18  Prefactor     .10000E-03    74.736       -.89018E-06** at limit **
  19  Prefactor     .10000E-03    4.9566       -.12014E-06** at limit **
  20  norm          .10000E-03    .42667        .35815E-07** at limit **
  21  Prefactor     .10000E-03    5.4047       -.24146E-05** at limit **
  22  Normalizat    .88775        .17656       -.13633E-05    .57323E-04
  23  Prefactor     1.0690        .13070        .33857E-06    .34791E-04
                               ERR DEF=  .500    
Final values: 
  norm       = 13.6252
  norm       = 17.2403
  Prefactor  = 10.3676
  Prefactor  = 0.326817
  Prefactor  = 0.0001
  Prefactor  = 4.25231
  Prefactor  = 0.0001
  norm       = 2.97049
  norm       = 0.655162
  norm       = 0.223194
  norm       = 0.0001
  Prefactor  = 1.66546
  Prefactor  = 35.9536
  Prefactor  = 0.0001
  norm       = 0.000100001
  Prefactor  = 40.4236
  Prefactor  = 38.0576
  Prefactor  = 0.000100003
  Prefactor  = 0.0001
  norm       = 0.0001
  Prefactor  = 0.000100001
  Normalizat = 0.887748
  Prefactor  = 1.06896
 **********
 **   18 **HESSE 
 **********

 FCN=   8583.543     FROM HESSE     STATUS=OK           386 CALLS     3051 TOTAL
                     EDM=   .20E-08    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  norm          13.625        4.7438        .10851E-03   -1.4970    
   2  norm          17.240        7.1968        .96464E-04   -1.4877    
   3  Prefactor     10.368        16.682        .12430E-03   -1.5064    
   4  Prefactor     .32682        8.3307        .20510E-02   -1.5594    
   5  Prefactor     .10000E-03    47.646        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   6  Prefactor     4.2523        12.874        .97734E-03   -1.5296    
   7  Prefactor     .10000E-03    9.9018        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   8  norm          2.9705        2.8642        .14890E-03   -1.5363    
   9  norm          .65516        .68792        .85565E-03   -1.5546    
  10  norm          .22319        .34573        .69716E-03   -1.5613    
  11  norm          .10000E-03    2.9985        .16446E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  12  Prefactor     1.6655        7.7232        .32667E-03   -1.5450    
  13  Prefactor     35.954        30.741        .66848E-04   -1.4508    
  14  Prefactor     .10000E-03    9.9070        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  15  norm          .10000E-03    14.810        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  16  Prefactor     40.424        12.393        .63036E-04   -1.4436    
  17  Prefactor     38.058        40.688        .64969E-04   -1.4473    
  18  Prefactor     .10000E-03    74.941        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  19  Prefactor     .10000E-03    4.9604        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  20  norm          .10000E-03    2.5369        .11636E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  21  Prefactor     .10000E-03    9.7219        .32834E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  22  Normalizat    .88775        .20431        .28518E-03   -.96892    
  23  Prefactor     1.0690        .15350        .21411E-03   -.90465    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 2.03404e-09
Minuit parameter uncertainties:
  1  4.74395
  2  7.19714
  3  16.6891
  4  3.30006
  5  0.00017073
  6  12.8825
  7  9.36299e-06
  8  2.86434
  9  0.687923
  10  0.345735
  11  1.12899e-05
  12  7.17422
  13  30.7544
  14  1.12809e-05
  15  0.000185802
  16  12.3933
  17  40.7175
  18  0.000955906
  19  2.41409e-05
  20  5.49762e-05
  21  0.000213262
  22  0.20449
  23  0.153567
Done.

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

Extracting fit parameters...

4FGL J0948.9+0022
   Spectrum: LogParabola
217         norm:  2.232e-01  3.457e-01  1.000e-04  1.000e+04 ( 1.000e-10)
218        alpha:  2.453e+00  0.000e+00  0.000e+00  5.000e+00 ( 1.000e+00) fixed
219         beta:  1.652e-01  0.000e+00  0.000e+00  1.000e+01 ( 1.000e+00) fixed
220           Eb:  2.768e+02  0.000e+00  3.000e+01  5.000e+05 ( 1.000e+00) fixed

GAL_V02
   Spectrum: PowerLaw
472    Prefactor:  1.069e+00  1.536e-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.877e-01  2.045e-01  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Fixed Index): 0.56
Ra Dec: 147.244 0.372
Photon Flux Upper Limit: 8.19e-08 ph cm-2 s-1
Energy Flux Upper Limit: 2.04e-05 MeV cm-2 s-1

Saving results to:
/scratch/kocevski/513081/likelihoodResults_253065601_253324801_4FGL_J0948.9+0022_daily_bin53.txt

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) = 8583.46041922
delta logL = 0.08213021962

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

MINUIT Return Code (Free Index): 0
logL (Free Index) = 8583.45207112
delta logL = 0.0904783132773

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'norm      '    .18534       1.0000         .10000E-03   10000.    
     2 'alpha     '    1.9012       1.0000          .0000       5.0000    
     3 'Normalizat'    .89702       1.0000         .10000E-01   10.000    
     4 'Prefactor '    1.0632       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=   8583.452     FROM MIGRAD    STATUS=CONVERGED     50 CALLS      208 TOTAL
                     EDM=   .47E-09    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  norm          .18524        .30358        .99105E-02    .23208E-02
   2  alpha         1.9007        .81145        .42752       -.48342E-04
   3  Normalizat    .89704        .15815        .64168E-01    .22749E-03
   4  Prefactor     1.0631        .12976        .39194E-01    .26958E-03
                               ERR DEF=  .500    
Final values: 
  norm       = 0.185243
  alpha      = 1.90067
  Normalizat = 0.897037
  Prefactor  = 1.06314
 **********
 **   18 **HESSE 
 **********

 FCN=   8583.452     FROM HESSE     STATUS=OK            33 CALLS      241 TOTAL
                     EDM=   .80E-08    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  norm          .18524        .31861        .61714E-03   -1.5622    
   2  alpha         1.9007        1.1397        .30344E-01   -.24209    
   3  Normalizat    .89704        .18546        .28382E-03   -.96564    
   4  Prefactor     1.0631        .15227        .21459E-03   -.90653    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 8.03039e-09
Minuit parameter uncertainties:
  1  0.318615
  2  1.18637
  3  0.185594
  4  0.152327
shell-init: error retrieving current directory: getcwd: cannot access parent directories: No such file or directory
rmdir: failed to remove `/scratch/kocevski/513081': 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) = 8583.45207099
delta logL = 0.0904784431059

Extracting fit parameters...

4FGL J0948.9+0022
   Spectrum: LogParabola
217         norm:  1.852e-01  3.186e-01  1.000e-04  1.000e+04 ( 1.000e-10)
218        alpha:  1.901e+00  1.186e+00  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.063e+00  1.523e-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.970e-01  1.856e-01  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Free Index): 0.56
Ra Dec: 147.244 0.372

Creating a high resolution counts map...
INFO: Auto-setting vmin to -1.000e-01 [aplpy.core]
INFO: Auto-setting vmax to  1.110e+00 [aplpy.core]
Saving /scratch/kocevski/513081/cmap_HighResolution_253065601_253324801_4FGL_J0948.9+0022_daily_bin53.png

Cleaning up...

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

Updating database...

UPDATE lightcurve_data_v2 SET energy_flux_upper_limit='2.04e-05', job_status='DONE', photon_flux_upper_limit='8.19e-08', time_completed='2021-09-01 02:52:34.595838', job_id='513081', GAL2='1.06', fit_tolerance='1e-08', EG2='0.90', EG='0.89', time_epoch_completed='1630489954.6', return_code2='0', ts='0.56', comment='SUCCESS', return_code='0', GAL='1.07', dlogl='9.05e-02', ts2='0.74', photon_index_error='0.00', photon_index='2.45' WHERE bin_id='53' AND source_name='4FGL J0948.9+0022' AND cadence='daily';

Database successfully updated.


Analysis Complete.


Wed Sep  1 02:52:34 PDT 2021


------------------------------------------------------------
Sender: LSF System <lsf@bullet0279>
Subject: Job 513081: <4FGL_J0948.9+0022_daily_bin53> in cluster <slac> Done

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

Your job looked like:

------------------------------------------------------------
# LSBATCH: User input
/nfs/farm/g/glast/g/LCRepository/Likelihood/Scripts/LikelihoodAnalysis.py 4FGL_J0948.9+0022_daily_bin53 147.244 0.3717 253065601 253324801 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 :                                   712.00 sec.
    Max Memory :                                 1255 MB
    Average Memory :                             271.77 MB
    Total Requested Memory :                     -
    Delta Memory :                               -
    Max Swap :                                   -
    Max Processes :                              5
    Max Threads :                                21
    Run time :                                   991 sec.
    Turnaround time :                            996 sec.

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

