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


Performing analysis on: 4FGL_J0948.9+0022_daily_bin954
RA = 147.244, Dec = 0.3717
tmin = 486604801, tmax = 486864001
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='518276', job_status='RUN', time_executed='2021-09-01 02:51:23.611738', time_epoch_executed='1630489883.61' WHERE source_name='4FGL J0948.9+0022' and cadence='daily' and bin_id='954'

Database successfully updated.
Done.

Creating custom output directory:
/scratch/kocevski/518276

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

Retrieving the FT1 file...

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

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

Retrieving 47 files...
Done.


Merging files...

Checksum keywords updated successfully.

Merged file saved to:
/scratch/kocevski/518276/ft1_4FGL_J0948.9+0022_daily_bin954.fits


Retrieving the FT1 file...

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

Retrieving 47 files...
Done.


Merging files...

Merged file saved to:
/scratch/kocevski/518276/ft2_4FGL_J0948.9+0022_daily_bin954.fits


Selecting the photons:
time -p gtselect infile=/scratch/kocevski/518276/ft1_4FGL_J0948.9+0022_daily_bin954.fits outfile=/scratch/kocevski/518276/ft1_filteredMKT_4FGL_J0948.9+0022_daily_bin954.fits ra=147.244 dec=0.3717 rad=12.0 tmin=486604801.0 tmax=486864001.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 3.75
user 3.39
sys 0.23

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

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

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

Generating the exposure map:
time -p gtexpmap evfile=/scratch/kocevski/518276/ft1_filtered_4FGL_J0948.9+0022_daily_bin954.fits evtable="EVENTS" scfile=/scratch/kocevski/518276/ft2_4FGL_J0948.9+0022_daily_bin954.fits sctable="SC_DATA" expcube=/scratch/kocevski/518276/ltcube_486604801_486864001_4FGL_J0948.9+0022_daily_bin954.fits outfile=/scratch/kocevski/518276/expmap_486604801_486864001_4FGL_J0948.9+0022_daily_bin954.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/518276/ltcube_486604801_486864001_4FGL_J0948.9+0022_daily_bin954.fits
.....................!
real 190.79
user 185.59
sys 4.73

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/518276/ft1_filtered_4FGL_J0948.9+0022_daily_bin954.fits scfile=/scratch/kocevski/518276/ft2_4FGL_J0948.9+0022_daily_bin954.fits outfile=/scratch/kocevski/518276/cmap_486604801_486864001_4FGL_J0948.9+0022_daily_bin954.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.52
user 0.37
sys 0.15

Creating the high resolution counts map:
time -p gtbin evfile=/scratch/kocevski/518276/ft1_filtered_4FGL_J0948.9+0022_daily_bin954.fits scfile=/scratch/kocevski/518276/ft2_4FGL_J0948.9+0022_daily_bin954.fits outfile=/scratch/kocevski/518276/cmap_HighResolution_486604801_486864001_4FGL_J0948.9+0022_daily_bin954.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.38
sys 0.15

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

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

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

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

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'norm      '    1.7644       1.0000         .10000E-03   10000.    
     2 'norm      '    7.7628       1.0000         .10000E-03   10000.    
     3 'Prefactor '    4.6348       1.0000         .10000E-03   10000.    
     4 'Prefactor '    4.1768       1.0000         .10000E-03   10000.    
     5 'Prefactor '    .10001E-03   1.0000         .10000E-03   10000.    
     6 'Prefactor '    26.365       1.0000         .10000E-03   10000.    
     7 'Prefactor '    .10000E-03   1.0000         .10000E-03   10000.    
     8 'norm      '    .10000E-03   1.0000         .10000E-03   10000.    
     9 'norm      '    .10003E-03   1.0000         .10000E-03   10000.    
    10 'norm      '    .34431       1.0000         .10000E-03   10000.    
    11 'norm      '    .41002       1.0000         .10000E-03   10000.    
    12 'Prefactor '    .10014E-03   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      '    .10078E-03   1.0000         .10000E-03   10000.    
    16 'Prefactor '    .10194E-03   1.0000         .10000E-03   10000.    
    17 'Prefactor '    12.518       1.0000         .10000E-03   10000.    
    18 'Prefactor '    .11395E-03   1.0000         .10000E-03   10000.    
    19 'Prefactor '    10.720       1.0000         .10000E-03   10000.    
    20 'norm      '    4.3943       1.0000         .10000E-03   10000.    
    21 'Prefactor '    19.558       1.0000         .10000E-03   10000.    
    22 'Normalizat'    .72360       1.0000         .10000E-01   10.000    
    23 'Prefactor '    1.2252       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=   7368.983     FROM MIGRAD    STATUS=CONVERGED    507 CALLS     2200 TOTAL
                     EDM=   .11E-08  STRATEGY=1  ERROR MATRIX UNCERTAINTY=  4.1%

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  norm          1.7646        3.0628        .11608E-06   -.23081E-03
   2  norm          7.7624        6.6360        .13481E-05   -.10735E-02
   3  Prefactor     4.6346        9.0756        .25789E-05   -.63384E-03
   4  Prefactor     4.1768        4.2056        .12731E-06   -.17685E-03
   5  Prefactor     .10000E-03    11.146        .11694E-05** at limit **
   6  Prefactor     26.364        14.258       -.19600E-06   -.37760E-04
   7  Prefactor     .10000E-03    6.5569        .78572E-07** at limit **
   8  norm          .10000E-03    .77325        .13388E-07** at limit **
   9  norm          .10000E-03    .36324        .62173E-07** at limit **
  10  norm          .34445        .57778        .20525E-06   -.53569E-03
  11  norm          .41042        1.0551        .50178E-06   -.36019E-04
  12  Prefactor     .10000E-03    7.8494       -.26111E-06** at limit **
  13  Prefactor     .10000E-03    14.035       -.11596E-05** at limit **
  14  Prefactor     .10000E-03    12.658       -.94820E-06** at limit **
  15  norm          .10000E-03    15.290        .89837E-06** at limit **
  16  Prefactor     .10000E-03    4.1286       -.61155E-07** at limit **
  17  Prefactor     12.499        41.542       -.12297E-04   -.25172E-03
  18  Prefactor     .10000E-03    41.770       -.99717E-07** at limit **
  19  Prefactor     10.728        15.916        .21452E-05    .11766E-03
  20  norm          4.3944        1.6101        .16119E-07   -.31883E-04
  21  Prefactor     19.559        7.6000        .23191E-06   -.27543E-03
  22  Normalizat    .72357        .18675        .32814E-06   -.12993E-03
  23  Prefactor     1.2252        .14772       -.89507E-06   -.30370E-04
                               ERR DEF=  .500    
Final values: 
  norm       = 1.76465
  norm       = 7.76243
  Prefactor  = 4.63459
  Prefactor  = 4.17684
  Prefactor  = 0.0001
  Prefactor  = 26.3645
  Prefactor  = 0.0001
  norm       = 0.0001
  norm       = 0.0001
  norm       = 0.344451
  norm       = 0.410419
  Prefactor  = 0.0001
  Prefactor  = 0.0001
  Prefactor  = 0.0001
  norm       = 0.000100002
  Prefactor  = 0.0001
  Prefactor  = 12.4987
  Prefactor  = 0.0001
  Prefactor  = 10.7282
  norm       = 4.39436
  Prefactor  = 19.5588
  Normalizat = 0.723567
  Prefactor  = 1.22521
 **********
 **   18 **HESSE 
 **********

 FCN=   7368.983     FROM HESSE     STATUS=OK           372 CALLS     2572 TOTAL
                     EDM=   .13E-07    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  norm          1.7646        3.0387        .18970E-03   -1.5442    
   2  norm          7.7624        6.9398        .71961E-03   -1.5151    
   3  Prefactor     4.6346        9.5354        .93474E-03   -1.5277    
   4  Prefactor     4.1768        4.2125        .16470E-03   -1.5299    
   5  Prefactor     .10000E-03    11.198        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   6  Prefactor     26.364        14.233        .78019E-04   -1.4681    
   7  Prefactor     .10000E-03    6.5597        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   8  norm          .10000E-03    .77570        .73707E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   9  norm          .10000E-03    .49716        .10065E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  10  norm          .34445        .57418        .77166E-04   -1.5591    
  11  norm          .41042        .95938        .13852E-02   -1.5580    
  12  Prefactor     .10000E-03    7.9120        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  13  Prefactor     .10000E-03    14.096        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  14  Prefactor     .10000E-03    12.704        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  15  norm          .10000E-03    15.790        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  16  Prefactor     .10000E-03    4.1378        .17020E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  17  Prefactor     12.499        45.072        .11322E-03   -1.5001    
  18  Prefactor     .10000E-03    41.794        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  19  Prefactor     10.728        16.018        .12237E-03   -1.5053    
  20  norm          4.3944        1.6084        .62611E-04   -1.5289    
  21  Prefactor     19.559        7.6321        .45283E-03   -1.4823    
  22  Normalizat    .72357        .21373        .31250E-03   -1.0297    
  23  Prefactor     1.2252        .16951        .20509E-03   -.85559    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 1.28993e-08
Minuit parameter uncertainties:
  1  3.03893
  2  6.94051
  3  9.53855
  4  4.21278
  5  0.000111815
  6  14.2349
  7  4.19422e-06
  8  2.45653e-07
  9  5.6429e-07
  10  0.574192
  11  0.95942
  12  2.90554e-05
  13  0.000137217
  14  0.000109556
  15  0.000384336
  16  1.84983e-05
  17  45.1948
  18  0.000103561
  19  16.0245
  20  1.60844
  21  7.63249
  22  0.213972
  23  0.169581
Done.

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

Extracting fit parameters...

4FGL J0948.9+0022
   Spectrum: LogParabola
217         norm:  3.445e-01  5.742e-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.225e+00  1.696e-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.236e-01  2.140e-01  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Fixed Index): 0.41
Ra Dec: 147.244 0.372
Photon Flux Upper Limit: 1.17e-07 ph cm-2 s-1
Energy Flux Upper Limit: 2.90e-05 MeV cm-2 s-1

Saving results to:
/scratch/kocevski/518276/likelihoodResults_486604801_486864001_4FGL_J0948.9+0022_daily_bin954.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) = 7368.96936715
delta logL = 0.0132871230971

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

MINUIT Return Code (Free Index): 0
logL (Free Index) = 7368.96869578
delta logL = 0.0139584930339

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'norm      '    .33855       1.0000         .10000E-03   10000.    
     2 'alpha     '    2.1762       1.0000          .0000       5.0000    
     3 'Normalizat'    .73057       1.0000         .10000E-01   10.000    
     4 'Prefactor '    1.2201       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=   7368.969     FROM MIGRAD    STATUS=CONVERGED     52 CALLS      199 TOTAL
                     EDM=   .29E-08    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  norm          .33685        .74014        .10593E-01    .26851E-02
   2  alpha         2.1729        1.3257        .41596       -.44145E-04
   3  Normalizat    .73095        .17559        .70282E-01    .85720E-04
   4  Prefactor     1.2198        .14908        .34172E-01    .43664E-04
                               ERR DEF=  .500    
Final values: 
  norm       = 0.336848
  alpha      = 2.17286
  Normalizat = 0.730953
  Prefactor  = 1.21983
 **********
 **   18 **HESSE 
 **********

 FCN=   7368.969     FROM HESSE     STATUS=OK            31 CALLS      230 TOTAL
                     EDM=   .12E-07    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  norm          .33685        .55703        .75510E-04   -1.5592    
   2  alpha         2.1729        1.4017        .34932E-01   -.13123    
   3  Normalizat    .73095        .20391        .31103E-03   -1.0268    
   4  Prefactor     1.2198        .17016        .20547E-03   -.85723    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 1.16695e-08
Minuit parameter uncertainties:
  1  0.557037
  2  1.48979
  3  0.204124
  4  0.170233
shell-init: error retrieving current directory: getcwd: cannot access parent directories: No such file or directory
rmdir: failed to remove `/scratch/kocevski/518276': 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) = 7368.96868948
delta logL = 0.0139647936621

Extracting fit parameters...

4FGL J0948.9+0022
   Spectrum: LogParabola
217         norm:  3.368e-01  5.570e-01  1.000e-04  1.000e+04 ( 1.000e-10)
218        alpha:  2.173e+00  1.490e+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.220e+00  1.702e-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.310e-01  2.041e-01  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Free Index): 0.41
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/518276/cmap_HighResolution_486604801_486864001_4FGL_J0948.9+0022_daily_bin954.png

Cleaning up...

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

Updating database...

UPDATE lightcurve_data_v2 SET energy_flux_upper_limit='2.90e-05', job_status='DONE', photon_flux_upper_limit='1.17e-07', time_completed='2021-09-01 03:01:55.553309', job_id='518276', GAL2='1.22', fit_tolerance='1e-08', EG2='0.73', EG='0.72', time_epoch_completed='1630490515.55', return_code2='0', ts='0.41', comment='SUCCESS', return_code='0', GAL='1.23', dlogl='1.40e-02', ts2='0.43', photon_index_error='0.00', photon_index='2.45' WHERE bin_id='954' AND source_name='4FGL J0948.9+0022' AND cadence='daily';

Database successfully updated.


Analysis Complete.


Wed Sep  1 03:01:55 PDT 2021


------------------------------------------------------------
Sender: LSF System <scs@bullet0139>
Subject: Job 518276: <4FGL_J0948.9+0022_daily_bin954> in cluster <slac> Done

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

Your job looked like:

------------------------------------------------------------
# LSBATCH: User input
/nfs/farm/g/glast/g/LCRepository/Likelihood/Scripts/LikelihoodAnalysis.py 4FGL_J0948.9+0022_daily_bin954 147.244 0.3717 486604801 486864001 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 :                                   627.25 sec.
    Max Memory :                                 1093 MB
    Average Memory :                             311.14 MB
    Total Requested Memory :                     -
    Delta Memory :                               -
    Max Swap :                                   -
    Max Processes :                              5
    Max Threads :                                21
    Run time :                                   650 sec.
    Turnaround time :                            652 sec.

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

