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


Performing analysis on: 4FGL_J0948.9+0022_daily_bin938
RA = 147.244, Dec = 0.3717
tmin = 482457601, tmax = 482716801
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='518247', job_status='RUN', time_executed='2021-09-01 02:53:52.521376', time_epoch_executed='1630490032.52' WHERE source_name='4FGL J0948.9+0022' and cadence='daily' and bin_id='938'

Database successfully updated.
Done.

Creating custom output directory:
/scratch/kocevski/518247

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

Retrieving the FT1 file...

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

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

Retrieving 46 files...
Done.


Merging files...

Checksum keywords updated successfully.

Merged file saved to:
/scratch/kocevski/518247/ft1_4FGL_J0948.9+0022_daily_bin938.fits


Retrieving the FT1 file...

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

Retrieving 46 files...
Done.


Merging files...

Merged file saved to:
/scratch/kocevski/518247/ft2_4FGL_J0948.9+0022_daily_bin938.fits


Selecting the photons:
time -p gtselect infile=/scratch/kocevski/518247/ft1_4FGL_J0948.9+0022_daily_bin938.fits outfile=/scratch/kocevski/518247/ft1_filteredMKT_4FGL_J0948.9+0022_daily_bin938.fits ra=147.244 dec=0.3717 rad=12.0 tmin=482457601.0 tmax=482716801.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.57
user 3.33
sys 0.20

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

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

Generating the livetime cube:
time -p gtltcube evfile="/scratch/kocevski/518247/ft1_filtered_4FGL_J0948.9+0022_daily_bin938.fits" evtable="EVENTS" scfile=/scratch/kocevski/518247/ft2_4FGL_J0948.9+0022_daily_bin938.fits sctable="SC_DATA" outfile=/scratch/kocevski/518247/ltcube_482457601_482716801_4FGL_J0948.9+0022_daily_bin938.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/518247/ft2_4FGL_J0948.9+0022_daily_bin938.fits
.....................!
real 12.14
user 11.76
sys 0.33

Generating the exposure map:
time -p gtexpmap evfile=/scratch/kocevski/518247/ft1_filtered_4FGL_J0948.9+0022_daily_bin938.fits evtable="EVENTS" scfile=/scratch/kocevski/518247/ft2_4FGL_J0948.9+0022_daily_bin938.fits sctable="SC_DATA" expcube=/scratch/kocevski/518247/ltcube_482457601_482716801_4FGL_J0948.9+0022_daily_bin938.fits outfile=/scratch/kocevski/518247/expmap_482457601_482716801_4FGL_J0948.9+0022_daily_bin938.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/518247/ltcube_482457601_482716801_4FGL_J0948.9+0022_daily_bin938.fits
.....................!
real 191.42
user 186.08
sys 4.95

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/518247/ft1_filtered_4FGL_J0948.9+0022_daily_bin938.fits scfile=/scratch/kocevski/518247/ft2_4FGL_J0948.9+0022_daily_bin938.fits outfile=/scratch/kocevski/518247/cmap_482457601_482716801_4FGL_J0948.9+0022_daily_bin938.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.14

Creating the high resolution counts map:
time -p gtbin evfile=/scratch/kocevski/518247/ft1_filtered_4FGL_J0948.9+0022_daily_bin938.fits scfile=/scratch/kocevski/518247/ft2_4FGL_J0948.9+0022_daily_bin938.fits outfile=/scratch/kocevski/518247/cmap_HighResolution_482457601_482716801_4FGL_J0948.9+0022_daily_bin938.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/518247/ft1_filtered_4FGL_J0948.9+0022_daily_bin938.fits evtable="EVENTS" scfile=/scratch/kocevski/518247/ft2_4FGL_J0948.9+0022_daily_bin938.fits sctable="SC_DATA" srcmdl=/scratch/kocevski/518247/Model_4FGL_J0948.9+0022_daily_bin938.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/518247/ft1_filtered_4FGL_J0948.9+0022_daily_bin938.fits.....................!
real 70.32
user 68.63
sys 1.16

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

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

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

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      '    14.816       1.0000         .10000E-03   10000.    
     3 'Prefactor '    11.297       1.0000         .10000E-03   10000.    
     4 'Prefactor '    .10003E-03   1.0000         .10000E-03   10000.    
     5 'Prefactor '    .10003E-03   1.0000         .10000E-03   10000.    
     6 'Prefactor '    18.256       1.0000         .10000E-03   10000.    
     7 'Prefactor '    36.913       1.0000         .10000E-03   10000.    
     8 'norm      '    .10001E-03   1.0000         .10000E-03   10000.    
     9 'norm      '    9.3423       1.0000         .10000E-03   10000.    
    10 'norm      '    .10025E-03   1.0000         .10000E-03   10000.    
    11 'norm      '    .10000E-03   1.0000         .10000E-03   10000.    
    12 'Prefactor '    .10142E-03   1.0000         .10000E-03   10000.    
    13 'Prefactor '    4.8212       1.0000         .10000E-03   10000.    
    14 'Prefactor '    12.069       1.0000         .10000E-03   10000.    
    15 'norm      '    15.520       1.0000         .10000E-03   10000.    
    16 'Prefactor '    .10254E-03   1.0000         .10000E-03   10000.    
    17 'Prefactor '    45.287       1.0000         .10000E-03   10000.    
    18 'Prefactor '    .10615E-03   1.0000         .10000E-03   10000.    
    19 'Prefactor '    .10089E-03   1.0000         .10000E-03   10000.    
    20 'norm      '    2.1538       1.0000         .10000E-03   10000.    
    21 'Prefactor '    8.2069       1.0000         .10000E-03   10000.    
    22 'Normalizat'    1.2835       1.0000         .10000E-01   10.000    
    23 'Prefactor '    .72933       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=   6965.295     FROM MIGRAD    STATUS=CONVERGED    506 CALLS     2538 TOTAL
                     EDM=   .56E-09  STRATEGY=1  ERROR MATRIX UNCERTAINTY=  3.0%

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  norm          .10000E-03    1.4105        .68124E-08** at limit **
   2  norm          14.816        6.8272       -.10059E-08   -.42170E-04
   3  Prefactor     11.302        16.650        .13094E-05    .12050E-03
   4  Prefactor     .10000E-03    1.2452        .10274E-07** at limit **
   5  Prefactor     .10000E-03    16.501       -.10679E-06** at limit **
   6  Prefactor     18.263        15.677        .12511E-05    .19580E-03
   7  Prefactor     36.917        27.833        .13121E-05    .17108E-03
   8  norm          .10000E-03    1.8315        .11785E-08** at limit **
   9  norm          9.3429        2.2416        .56988E-07   -.13523E-03
  10  norm          .10000E-03    .26576        .29888E-07** at limit **
  11  norm          .10000E-03    .39352       -.12216E-08** at limit **
  12  Prefactor     .10000E-03    11.580        .81876E-07** at limit **
  13  Prefactor     4.8201        37.088       -.90540E-06   -.41349E-04
  14  Prefactor     12.071        17.578        .67312E-06    .60242E-04
  15  norm          15.524        14.132        .15916E-07    .89285E-04
  16  Prefactor     .10000E-03    5.8418        .10303E-07** at limit **
  17  Prefactor     45.296        58.640        .50208E-05    .18790E-03
  18  Prefactor     .10000E-03    31.589        .27247E-06** at limit **
  19  Prefactor     .10000E-03    8.4026       -.65992E-08** at limit **
  20  norm          2.1541        1.4898       -.29131E-07   -.17484E-03
  21  Prefactor     8.2075        5.7455        .11218E-05   -.15536E-02
  22  Normalizat    1.2832        .20541       -.18697E-05    .69945E-04
  23  Prefactor     .72956        .14309        .52000E-06   -.14282E-03
                               ERR DEF=  .500    
Final values: 
  norm       = 0.0001
  norm       = 14.8159
  Prefactor  = 11.3018
  Prefactor  = 0.0001
  Prefactor  = 0.0001
  Prefactor  = 18.2632
  Prefactor  = 36.9166
  norm       = 0.0001
  norm       = 9.34288
  norm       = 0.0001
  norm       = 0.0001
  Prefactor  = 0.0001
  Prefactor  = 4.82014
  Prefactor  = 12.071
  norm       = 15.5236
  Prefactor  = 0.0001
  Prefactor  = 45.2961
  Prefactor  = 0.0001
  Prefactor  = 0.0001
  norm       = 2.15406
  Prefactor  = 8.2075
  Normalizat = 1.28316
  Prefactor  = 0.729558
 **********
 **   18 **HESSE 
 **********

 FCN=   6965.295     FROM HESSE     STATUS=OK           368 CALLS     2906 TOTAL
                     EDM=   .20E-08    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  norm          .10000E-03    1.4224        .96769E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   2  norm          14.816        6.8286        .10406E-03   -1.4938    
   3  Prefactor     11.302        16.712        .11919E-03   -1.5035    
   4  Prefactor     .10000E-03    1.2557        .90909E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   5  Prefactor     .10000E-03    16.532        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   6  Prefactor     18.263        15.793        .93739E-04   -1.4853    
   7  Prefactor     36.917        28.070        .65965E-04   -1.4492    
   8  norm          .10000E-03    1.8972        .22048E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   9  norm          9.3429        2.2519        .57845E-04   -1.5097    
  10  norm          .10000E-03    .52597        .82284E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  11  norm          .10000E-03    .39519        .51121E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  12  Prefactor     .10000E-03    11.708        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  13  Prefactor     4.8201        37.245        .18322E-03   -1.5269    
  14  Prefactor     12.071        17.632        .11531E-03   -1.5013    
  15  norm          15.524        14.116        .10167E-03   -1.4920    
  16  Prefactor     .10000E-03    5.8684        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  17  Prefactor     45.296        60.837        .59578E-04   -1.4361    
  18  Prefactor     .10000E-03    31.590        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  19  Prefactor     .10000E-03    8.4167        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  20  norm          2.1541        1.4935        .80135E-04   -1.5414    
  21  Prefactor     8.2075        7.1704        .69973E-03   -1.5135    
  22  Normalizat    1.2832        .23944        .25183E-03   -.84070    
  23  Prefactor     .72956        .16956        .25072E-03   -1.0238    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 1.98462e-09
Minuit parameter uncertainties:
  1  1.35993e-06
  2  6.82892
  3  16.7193
  4  1.07105e-06
  5  2.99107e-05
  6  15.7962
  7  28.0805
  8  1.37868e-06
  9  2.25192
  10  2.2691e-07
  11  3.03049e-07
  12  2.52786e-05
  13  26.8203
  14  17.6394
  15  14.1188
  16  2.81311e-05
  17  60.9202
  18  4.80658e-05
  19  2.084e-05
  20  1.49352
  21  7.17119
  22  0.239648
  23  0.16968
Done.

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

Extracting fit parameters...

4FGL J0948.9+0022
   Spectrum: LogParabola
217         norm:  1.000e-04  2.269e-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:  7.296e-01  1.697e-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.283e+00  2.396e-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: 7.76e-08 ph cm-2 s-1
Energy Flux Upper Limit: 1.93e-05 MeV cm-2 s-1

Saving results to:
/scratch/kocevski/518247/likelihoodResults_482457601_482716801_4FGL_J0948.9+0022_daily_bin938.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): 102
logL (Free Index) = 6965.30408771
delta logL = -0.00916264119405

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

MINUIT Return Code (Free Index): 0
logL (Free Index) = 6964.63849308
delta logL = 0.65643198841

Fit tolerance = 1e-08

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

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

 FCN=   6964.638     FROM MIGRAD    STATUS=CONVERGED     93 CALLS      333 TOTAL
                     EDM=   .17E-08    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  norm          .14785        .14839        .31319E-03    .10733E-01
   2  alpha         5.0000        3.4953        .98318E-01** at limit **
   3  Normalizat    1.2112        .22281        .25814E-03   -.77512E-05
   4  Prefactor     .76438        .16946        .24552E-03   -.38432E-05
                               ERR DEF=  .500    
Final values: 
  norm       = 0.14785
  alpha      = 5
  Normalizat = 1.2112
  Prefactor  = 0.764384
 **********
 **   18 **HESSE 
 **********

 FCN=   6964.638     FROM HESSE     STATUS=OK            25 CALLS      358 TOTAL
                     EDM=   .28E-11    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  norm          .14785        .14735        .62638E-04   -1.5631    
   2  alpha         5.0000        3.4963        .19664E-01    1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   3  Normalizat    1.2112        .22295        .10326E-04   -.86257    
   4  Prefactor     .76438        .16962        .98209E-05   -1.0105    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 2.8492e-12
Minuit parameter uncertainties:
  1  0.147347
  2  1.04314e-06
  3  0.223129
  4  0.169732
shell-init: error retrieving current directory: getcwd: cannot access parent directories: No such file or directory
rmdir: failed to remove `/scratch/kocevski/518247': 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) = 6964.63849291
delta logL = 0.656432156105

Extracting fit parameters...

4FGL J0948.9+0022
   Spectrum: LogParabola
217         norm:  1.478e-01  1.473e-01  1.000e-04  1.000e+04 ( 1.000e-10)
218        alpha:  5.000e+00  1.043e-06  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:  7.644e-01  1.697e-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.211e+00  2.231e-01  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Free Index): 1.39
Ra Dec: 147.244 0.372
Photon Index (Free Index): 5.00 +/- 0.00
Photon Flux (Free Index): 5.43e-08 +/- 5.38e-08
Energy Flux (Free Index): 7.31e-06 +/- 7.27e-06

Creating a high resolution counts map...
INFO: Auto-setting vmin to -9.398e-02 [aplpy.core]
INFO: Auto-setting vmax to  1.043e+00 [aplpy.core]
Saving /scratch/kocevski/518247/cmap_HighResolution_482457601_482716801_4FGL_J0948.9+0022_daily_bin938.png

Cleaning up...

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

Updating database...

UPDATE lightcurve_data_v2 SET energy_flux_upper_limit='1.93e-05', comment='SUCCESS', energy_flux2='7.31e-06', dlogl='6.56e-01', photon_flux2='5.43e-08', job_status='DONE', time_completed='2021-09-01 03:05:21.527907', photon_index_error2='0.00', photon_index2='5.00', ts='-0.00', fit_tolerance='1e-08', GAL='0.73', photon_index_error='0.00', photon_flux_upper_limit='7.76e-08', energy_flux_error2='7.27e-06', EG='1.28', time_epoch_completed='1630490721.53', return_code='0', job_id='518247', GAL2='0.76', EG2='1.21', return_code2='0', photon_flux_error2='5.38e-08', ts2='1.39', photon_index='2.45' WHERE bin_id='938' AND source_name='4FGL J0948.9+0022' AND cadence='daily';

Database successfully updated.


Analysis Complete.


Wed Sep  1 03:05:21 PDT 2021


------------------------------------------------------------
Sender: LSF System <scs@bullet0010>
Subject: Job 518247: <4FGL_J0948.9+0022_daily_bin938> in cluster <slac> Done

Job <4FGL_J0948.9+0022_daily_bin938> 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) <bullet0010>, in queue <medium>, as user <kocevski> in cluster <slac> at Wed Sep  1 02:51: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:51:03 2021
Terminated at Wed Sep  1 03:05:22 2021
Results reported at Wed Sep  1 03:05:22 2021

Your job looked like:

------------------------------------------------------------
# LSBATCH: User input
/nfs/farm/g/glast/g/LCRepository/Likelihood/Scripts/LikelihoodAnalysis.py 4FGL_J0948.9+0022_daily_bin938 147.244 0.3717 482457601 482716801 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 :                                   642.16 sec.
    Max Memory :                                 1093 MB
    Average Memory :                             282.58 MB
    Total Requested Memory :                     -
    Delta Memory :                               -
    Max Swap :                                   -
    Max Processes :                              5
    Max Threads :                                21
    Run time :                                   858 sec.
    Turnaround time :                            860 sec.

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

