/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 198 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 = 7422
number of fields = 27
No RA_SUN column yet. Adding RA_SUN/DEC_SUN columns.
Done.


Performing analysis on: 4FGL_J0948.9+0022_daily_bin188
RA = 147.244, Dec = 0.3717
tmin = 288057601, tmax = 288316801
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='513270', job_status='RUN', time_executed='2021-09-01 02:40:12.814382', time_epoch_executed='1630489212.81' WHERE source_name='4FGL J0948.9+0022' and cadence='daily' and bin_id='188'

Database successfully updated.
Done.

Creating custom output directory:
/scratch/kocevski/513270

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

Retrieving the FT1 file...

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

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

Retrieving 46 files...
Done.


Merging files...

Checksum keywords updated successfully.

Merged file saved to:
/scratch/kocevski/513270/ft1_4FGL_J0948.9+0022_daily_bin188.fits


Retrieving the FT1 file...

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

Retrieving 46 files...
Done.


Merging files...

Merged file saved to:
/scratch/kocevski/513270/ft2_4FGL_J0948.9+0022_daily_bin188.fits


Selecting the photons:
time -p gtselect infile=/scratch/kocevski/513270/ft1_4FGL_J0948.9+0022_daily_bin188.fits outfile=/scratch/kocevski/513270/ft1_filteredMKT_4FGL_J0948.9+0022_daily_bin188.fits ra=147.244 dec=0.3717 rad=12.0 tmin=288057601.0 tmax=288316801.0 emin=100.0 emax=100000.0 zmin=0.0 zmax=90.0 evclass=128 evtype="INDEF" convtype=-1 phasemin=0.0 phasemax=1.0 evtable="EVENTS" chatter=2 clobber=yes debug=no gui=no mode="ql"

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

Done.
real 4.05
user 3.38
sys 0.20

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

Selecting the good time intervals:
time -p gtmktime scfile=/scratch/kocevski/513270/ft2_4FGL_J0948.9+0022_daily_bin188.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/513270/ft1_filteredMKT_4FGL_J0948.9+0022_daily_bin188.fits evtable="EVENTS" outfile="/scratch/kocevski/513270/ft1_filtered_4FGL_J0948.9+0022_daily_bin188.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.86
user 0.33
sys 0.17

Generating the livetime cube:
time -p gtltcube evfile="/scratch/kocevski/513270/ft1_filtered_4FGL_J0948.9+0022_daily_bin188.fits" evtable="EVENTS" scfile=/scratch/kocevski/513270/ft2_4FGL_J0948.9+0022_daily_bin188.fits sctable="SC_DATA" outfile=/scratch/kocevski/513270/ltcube_288057601_288316801_4FGL_J0948.9+0022_daily_bin188.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/513270/ft2_4FGL_J0948.9+0022_daily_bin188.fits
.....................!
real 11.92
user 11.45
sys 0.27

Generating the exposure map:
time -p gtexpmap evfile=/scratch/kocevski/513270/ft1_filtered_4FGL_J0948.9+0022_daily_bin188.fits evtable="EVENTS" scfile=/scratch/kocevski/513270/ft2_4FGL_J0948.9+0022_daily_bin188.fits sctable="SC_DATA" expcube=/scratch/kocevski/513270/ltcube_288057601_288316801_4FGL_J0948.9+0022_daily_bin188.fits outfile=/scratch/kocevski/513270/expmap_288057601_288316801_4FGL_J0948.9+0022_daily_bin188.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/513270/ltcube_288057601_288316801_4FGL_J0948.9+0022_daily_bin188.fits
.....................!
real 190.73
user 185.61
sys 4.18

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/513270/ft1_filtered_4FGL_J0948.9+0022_daily_bin188.fits scfile=/scratch/kocevski/513270/ft2_4FGL_J0948.9+0022_daily_bin188.fits outfile=/scratch/kocevski/513270/cmap_288057601_288316801_4FGL_J0948.9+0022_daily_bin188.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/513270/ft1_filtered_4FGL_J0948.9+0022_daily_bin188.fits scfile=/scratch/kocevski/513270/ft2_4FGL_J0948.9+0022_daily_bin188.fits outfile=/scratch/kocevski/513270/cmap_HighResolution_288057601_288316801_4FGL_J0948.9+0022_daily_bin188.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.55
user 0.39
sys 0.14

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

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

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

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

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'norm      '    19.711       1.0000         .10000E-03   10000.    
     2 'norm      '    .36804       1.0000         .10000E-03   10000.    
     3 'Prefactor '    3.5975       1.0000         .10000E-03   10000.    
     4 'Prefactor '    3.9673       1.0000         .10000E-03   10000.    
     5 'Prefactor '    87.354       1.0000         .10000E-03   10000.    
     6 'Prefactor '    10.439       1.0000         .10000E-03   10000.    
     7 'Prefactor '    6.0249       1.0000         .10000E-03   10000.    
     8 'norm      '    .31490       1.0000         .10000E-03   10000.    
     9 'norm      '    .35968       1.0000         .10000E-03   10000.    
    10 'norm      '    .10004E-03   1.0000         .10000E-03   10000.    
    11 'norm      '    .69770       1.0000         .10000E-03   10000.    
    12 'Prefactor '    4.1474       1.0000         .10000E-03   10000.    
    13 'Prefactor '    .11689E-03   1.0000         .10000E-03   10000.    
    14 'Prefactor '    40.696       1.0000         .10000E-03   10000.    
    15 'norm      '    .10059E-03   1.0000         .10000E-03   10000.    
    16 'Prefactor '    13.668       1.0000         .10000E-03   10000.    
    17 'Prefactor '    12.509       1.0000         .10000E-03   10000.    
    18 'Prefactor '    .10842E-03   1.0000         .10000E-03   10000.    
    19 'Prefactor '    .12821E-03   1.0000         .10000E-03   10000.    
    20 'norm      '    .10121E-03   1.0000         .10000E-03   10000.    
    21 'Prefactor '    .10026E-03   1.0000         .10000E-03   10000.    
    22 'Normalizat'    .79213       1.0000         .10000E-01   10.000    
    23 'Prefactor '    1.0463       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=   5918.969     FROM MIGRAD    STATUS=CONVERGED    544 CALLS     2673 TOTAL
                     EDM=   .21E-09  STRATEGY=1  ERROR MATRIX UNCERTAINTY=  1.1%

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  norm          19.712        6.2982        .30381E-07   -.22605E-04
   2  norm          .34145        3.1774        .14673E-06   -.32985E-04
   3  Prefactor     3.5982        9.7978        .48879E-06   -.22412E-04
   4  Prefactor     3.9659        4.1820        .25994E-06   -.60679E-04
   5  Prefactor     87.377        43.455        .22400E-08    .36592E-04
   6  Prefactor     10.439        15.592        .23478E-07   -.48114E-04
   7  Prefactor     6.0091        49.137        .26557E-06   -.28199E-04
   8  norm          .31449        2.8189        .23489E-05   -.14865E-04
   9  norm          .35990        1.2303        .44106E-06   -.27965E-03
  10  norm          .10000E-03    .18775        .19433E-06** at limit **
  11  norm          .69743        1.8053        .72776E-06   -.69362E-04
  12  Prefactor     4.1498        10.512        .20292E-06   -.75937E-05
  13  Prefactor     .10000E-03    86.245       -.11255E-05** at limit **
  14  Prefactor     40.662        38.440       -.10462E-06   -.11240E-03
  15  norm          .10000E-03    7.6445       -.29465E-07** at limit **
  16  Prefactor     13.673        12.106        .13316E-06    .89352E-05
  17  Prefactor     12.451        95.475       -.67868E-06   -.52638E-04
  18  Prefactor     .10000E-03    111.21       -.18374E-05** at limit **
  19  Prefactor     .10000E-03    20.581       -.38838E-06** at limit **
  20  norm          .10000E-03    .56538        .29897E-06** at limit **
  21  Prefactor     .10000E-03    5.9322        .20201E-06** at limit **
  22  Normalizat    .79171        .21775        .13470E-05   -.39424E-03
  23  Prefactor     1.0466        .15779       -.26721E-05   -.28002E-03
                               ERR DEF=  .500    
Final values: 
  norm       = 19.7121
  norm       = 0.34145
  Prefactor  = 3.59823
  Prefactor  = 3.96586
  Prefactor  = 87.377
  Prefactor  = 10.4389
  Prefactor  = 6.00912
  norm       = 0.314491
  norm       = 0.359902
  norm       = 0.0001
  norm       = 0.697426
  Prefactor  = 4.14977
  Prefactor  = 0.0001
  Prefactor  = 40.6619
  norm       = 0.0001
  Prefactor  = 13.673
  Prefactor  = 12.4512
  Prefactor  = 0.0001
  Prefactor  = 0.0001
  norm       = 0.0001
  Prefactor  = 0.0001
  Normalizat = 0.791706
  Prefactor  = 1.04664
 **********
 **   18 **HESSE 
 **********

 FCN=   5918.969     FROM HESSE     STATUS=OK           378 CALLS     3051 TOTAL
                     EDM=   .40E-07    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  norm          19.712        6.2899        .90214E-04   -1.4820    
   2  norm          .34145        16.226        .26388E-02   -1.5591    
   3  Prefactor     3.5982        9.7710        .21304E-03   -1.5329    
   4  Prefactor     3.9659        4.1870        .15226E-03   -1.5310    
   5  Prefactor     87.377        43.429        .42986E-04   -1.3836    
   6  Prefactor     10.439        15.609        .12401E-03   -1.5062    
   7  Prefactor     6.0091        49.037        .16358E-03   -1.5218    
   8  norm          .31449        2.7898        .24863E-03   -1.5596    
   9  norm          .35990        1.6174        .14116E-02   -1.5588    
  10  norm          .10000E-03    .23864        .64714E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  11  norm          .69743        1.7932        .15840E-03   -1.5541    
  12  Prefactor     4.1498        10.454        .19792E-03   -1.5301    
  13  Prefactor     .10000E-03    88.616        .36285E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  14  Prefactor     40.662        38.463        .62835E-04   -1.4432    
  15  norm          .10000E-03    7.6479        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  16  Prefactor     13.673        12.036        .10834E-03   -1.4968    
  17  Prefactor     12.451        96.246        .11326E-03   -1.5002    
  18  Prefactor     .10000E-03    111.50        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  19  Prefactor     .10000E-03    20.696        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  20  norm          .10000E-03    .87267        .11166E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  21  Prefactor     .10000E-03    6.1099        .36285E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  22  Normalizat    .79171        .24468        .29396E-03   -1.0038    
  23  Prefactor     1.0466        .17578        .20757E-03   -.91191    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 3.97674e-08
Minuit parameter uncertainties:
  1  6.29014
  2  4.70829
  3  9.77534
  4  4.18731
  5  43.4451
  6  15.615
  7  34.3701
  8  1.87316
  9  1.52575
  10  1.79921e-07
  11  1.79332
  12  10.4583
  13  6.20066e-05
  14  38.4861
  15  4.28483e-06
  16  12.038
  17  69.3899
  18  0.000468154
  19  2.91405e-05
  20  1.81061e-07
  21  1.55442e-05
  22  0.245024
  23  0.175877
Done.

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

Extracting fit parameters...

4FGL J0948.9+0022
   Spectrum: LogParabola
217         norm:  1.000e-04  1.799e-07  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.047e+00  1.759e-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.917e-01  2.450e-01  1.000e-02  1.000e+01 ( 1.000e+00)


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

Saving results to:
/scratch/kocevski/513270/likelihoodResults_288057601_288316801_4FGL_J0948.9+0022_daily_bin188.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) = 5918.96907147
delta logL = -0.000148999992234

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

MINUIT Return Code (Free Index): 0
logL (Free Index) = 5918.96892242
delta logL = 5.21113179275e-08

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'norm      '    .10000E-03   1.0000         .10000E-03   10000.    
     2 'alpha     '    2.4566       1.0000          .0000       5.0000    
     3 'Normalizat'    .79171       1.0000         .10000E-01   10.000    
     4 'Prefactor '    1.0466       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.

 MIGRAD WILL VERIFY CONVERGENCE AND ERROR MATRIX.
 MIGRAD TERMINATED WITHOUT CONVERGENCE.

 FCN=   5918.969     FROM MIGRAD    STATUS=FAILED        99 CALLS      262 TOTAL
                     EDM=   .20E-07    STRATEGY= 1      ERR MATRIX APPROXIMATE

  EXT PARAMETER                APPROXIMATE        STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  norm          .10000E-03    .26030        .64722E-03** at limit **
   2  alpha         2.6510        3.5430        .50000       -.33128E-05
   3  Normalizat    .79171        .21094        .29395E-03   -.12522E-02
   4  Prefactor     1.0466        .17029        .20757E-03   -.18571E-02
                               ERR DEF=  .500    
 START SIMPLEX MINIMIZATION.    CONVERGENCE WHEN EDM .LT.   .20E-04
 SIMPLEX MINIMIZATION HAS CONVERGED.

 FCN=   5918.969     FROM SIMPLEX   STATUS=UNCHANGED    163 CALLS      425 TOTAL
                     EDM=   .15E-04    STRATEGY= 1      ERR MATRIX APPROXIMATE

  EXT PARAMETER                APPROXIMATE     INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  norm          .10000E-03    .26030        .93361E-04   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   2  alpha         2.6510        3.5430        .41685E-04    .60456E-01
   3  Normalizat    .79171        .21094        .70306E-05   -1.0038    
   4  Prefactor     1.0466        .17029        .47355E-05   -.91191    
                               ERR DEF=  .500    

 MIGRAD MINIMIZATION HAS CONVERGED.

 MIGRAD WILL VERIFY CONVERGENCE AND ERROR MATRIX.

 FCN=   5918.969     FROM MIGRAD    STATUS=CONVERGED     30 CALLS      455 TOTAL
                     EDM=   .17E-07    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  norm          .10000E-03    .24113        .12944E-03** at limit **
   2  alpha         2.6504        3.3978        .50000       -.34180E-05
   3  Normalizat    .79171        .21109        .58790E-04    .58014E-06
   4  Prefactor     1.0466        .17041        .41513E-04    .54771E-06
                               ERR DEF=  .500    
Final values: 
  norm       = 0.0001
  alpha      = 2.65041
  Normalizat = 0.791708
  Prefactor  = 1.04664
 **********
 **   18 **HESSE 
 **********

 FCN=   5918.969     FROM HESSE     STATUS=OK            27 CALLS      482 TOTAL
                     EDM=   .17E-07    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  norm          .10000E-03    .24044        .25889E-04   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   2  alpha         2.6504        3.3441        .50000        .60200E-01
   3  Normalizat    .79171        .21112        .11758E-04   -1.0038    
   4  Prefactor     1.0466        .17044        .83027E-05   -.91191    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 1.72528e-08
Minuit parameter uncertainties:
  1  7.22625e-07
  2  95.8807
  3  0.211339
  4  0.170524
shell-init: error retrieving current directory: getcwd: cannot access parent directories: No such file or directory
rmdir: failed to remove `/scratch/kocevski/513270': 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) = 5918.96892104
delta logL = 1.42663611769e-06

Extracting fit parameters...

4FGL J0948.9+0022
   Spectrum: LogParabola
217         norm:  1.000e-04  7.226e-07  1.000e-04  1.000e+04 ( 1.000e-10)
218        alpha:  2.650e+00  9.588e+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.047e+00  1.705e-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.917e-01  2.113e-01  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Free Index): -0.00
Ra Dec: 147.244 0.372

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/513270/cmap_HighResolution_288057601_288316801_4FGL_J0948.9+0022_daily_bin188.png

Cleaning up...

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

Updating database...

UPDATE lightcurve_data_v2 SET energy_flux_upper_limit='1.74e-05', job_status='DONE', photon_flux_upper_limit='6.99e-08', time_completed='2021-09-01 02:50:42.651306', job_id='513270', GAL2='1.05', fit_tolerance='1e-08', EG2='0.79', EG='0.79', time_epoch_completed='1630489842.65', return_code2='0', ts='-0.00', comment='SUCCESS', return_code='0', GAL='1.05', dlogl='1.43e-06', ts2='-0.00', photon_index_error='0.00', photon_index='2.45' WHERE bin_id='188' AND source_name='4FGL J0948.9+0022' AND cadence='daily';

Database successfully updated.


Analysis Complete.


Wed Sep  1 02:50:42 PDT 2021


------------------------------------------------------------
Sender: LSF System <lsf@bullet0011>
Subject: Job 513270: <4FGL_J0948.9+0022_daily_bin188> in cluster <slac> Done

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

Your job looked like:

------------------------------------------------------------
# LSBATCH: User input
/nfs/farm/g/glast/g/LCRepository/Likelihood/Scripts/LikelihoodAnalysis.py 4FGL_J0948.9+0022_daily_bin188 147.244 0.3717 288057601 288316801 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 :                                   597.00 sec.
    Max Memory :                                 1255 MB
    Average Memory :                             268.90 MB
    Total Requested Memory :                     -
    Delta Memory :                               -
    Max Swap :                                   -
    Max Processes :                              5
    Max Threads :                                21
    Run time :                                   863 sec.
    Turnaround time :                            868 sec.

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

