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


Performing analysis on: 4FGL_J0948.9+0022_daily_bin139
RA = 147.244, Dec = 0.3717
tmin = 275356801, tmax = 275616001
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='513199', job_status='RUN', time_executed='2021-09-01 02:38:55.420463', time_epoch_executed='1630489135.42' WHERE source_name='4FGL J0948.9+0022' and cadence='daily' and bin_id='139'

Database successfully updated.
Done.

Creating custom output directory:
/scratch/kocevski/513199

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

Retrieving the FT1 file...

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

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

Retrieving 48 files...
Done.


Merging files...

Checksum keywords updated successfully.

Merged file saved to:
/scratch/kocevski/513199/ft1_4FGL_J0948.9+0022_daily_bin139.fits


Retrieving the FT1 file...

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

Retrieving 48 files...
Done.


Merging files...

Merged file saved to:
/scratch/kocevski/513199/ft2_4FGL_J0948.9+0022_daily_bin139.fits


Selecting the photons:
time -p gtselect infile=/scratch/kocevski/513199/ft1_4FGL_J0948.9+0022_daily_bin139.fits outfile=/scratch/kocevski/513199/ft1_filteredMKT_4FGL_J0948.9+0022_daily_bin139.fits ra=147.244 dec=0.3717 rad=12.0 tmin=275356801.0 tmax=275616001.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.59
user 4.30
sys 0.22

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

Selecting the good time intervals:
time -p gtmktime scfile=/scratch/kocevski/513199/ft2_4FGL_J0948.9+0022_daily_bin139.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/513199/ft1_filteredMKT_4FGL_J0948.9+0022_daily_bin139.fits evtable="EVENTS" outfile="/scratch/kocevski/513199/ft1_filtered_4FGL_J0948.9+0022_daily_bin139.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.05
user 0.32
sys 0.18

Generating the livetime cube:
time -p gtltcube evfile="/scratch/kocevski/513199/ft1_filtered_4FGL_J0948.9+0022_daily_bin139.fits" evtable="EVENTS" scfile=/scratch/kocevski/513199/ft2_4FGL_J0948.9+0022_daily_bin139.fits sctable="SC_DATA" outfile=/scratch/kocevski/513199/ltcube_275356801_275616001_4FGL_J0948.9+0022_daily_bin139.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/513199/ft2_4FGL_J0948.9+0022_daily_bin139.fits
.....................!
real 12.24
user 11.15
sys 0.35

Generating the exposure map:
time -p gtexpmap evfile=/scratch/kocevski/513199/ft1_filtered_4FGL_J0948.9+0022_daily_bin139.fits evtable="EVENTS" scfile=/scratch/kocevski/513199/ft2_4FGL_J0948.9+0022_daily_bin139.fits sctable="SC_DATA" expcube=/scratch/kocevski/513199/ltcube_275356801_275616001_4FGL_J0948.9+0022_daily_bin139.fits outfile=/scratch/kocevski/513199/expmap_275356801_275616001_4FGL_J0948.9+0022_daily_bin139.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/513199/ltcube_275356801_275616001_4FGL_J0948.9+0022_daily_bin139.fits
.....................!
real 192.48
user 185.41
sys 4.85

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/513199/ft1_filtered_4FGL_J0948.9+0022_daily_bin139.fits scfile=/scratch/kocevski/513199/ft2_4FGL_J0948.9+0022_daily_bin139.fits outfile=/scratch/kocevski/513199/cmap_275356801_275616001_4FGL_J0948.9+0022_daily_bin139.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.56
user 0.38
sys 0.13

Creating the high resolution counts map:
time -p gtbin evfile=/scratch/kocevski/513199/ft1_filtered_4FGL_J0948.9+0022_daily_bin139.fits scfile=/scratch/kocevski/513199/ft2_4FGL_J0948.9+0022_daily_bin139.fits outfile=/scratch/kocevski/513199/cmap_HighResolution_275356801_275616001_4FGL_J0948.9+0022_daily_bin139.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.57
user 0.38
sys 0.15

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

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

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

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

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'norm      '    35.988       1.0000         .10000E-03   10000.    
     2 'norm      '    10.994       1.0000         .10000E-03   10000.    
     3 'Prefactor '    30.537       1.0000         .10000E-03   10000.    
     4 'Prefactor '    .58786E-03   1.0000         .10000E-03   10000.    
     5 'Prefactor '    .10001E-03   1.0000         .10000E-03   10000.    
     6 'Prefactor '    10.448       1.0000         .10000E-03   10000.    
     7 'Prefactor '    .10002E-03   1.0000         .10000E-03   10000.    
     8 'norm      '    3.7159       1.0000         .10000E-03   10000.    
     9 'norm      '    1.2844       1.0000         .10000E-03   10000.    
    10 'norm      '    .10000E-03   1.0000         .10000E-03   10000.    
    11 'norm      '    .98071       1.0000         .10000E-03   10000.    
    12 'Prefactor '    .10007E-03   1.0000         .10000E-03   10000.    
    13 'Prefactor '    45.497       1.0000         .10000E-03   10000.    
    14 'Prefactor '    35.185       1.0000         .10000E-03   10000.    
    15 'norm      '    4.4876       1.0000         .10000E-03   10000.    
    16 'Prefactor '    19.833       1.0000         .10000E-03   10000.    
    17 'Prefactor '    43.505       1.0000         .10000E-03   10000.    
    18 'Prefactor '    .13810E-03   1.0000         .10000E-03   10000.    
    19 'Prefactor '    .10029E-03   1.0000         .10000E-03   10000.    
    20 'norm      '    .18696       1.0000         .10000E-03   10000.    
    21 'Prefactor '    6.4524       1.0000         .10000E-03   10000.    
    22 'Normalizat'    1.2052       1.0000         .10000E-01   10.000    
    23 'Prefactor '    .84818       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=   7456.490     FROM MIGRAD    STATUS=CONVERGED    502 CALLS     2615 TOTAL
                     EDM=   .14E-08  STRATEGY=1  ERROR MATRIX UNCERTAINTY=  1.1%

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  norm          35.986        6.6479       -.33030E-07   -.35017E-03
   2  norm          10.993        6.8935        .46193E-07   -.66245E-05
   3  Prefactor     30.532        17.179       -.71305E-07   -.32447E-04
   4  Prefactor     .10028E-03    1.7290        .13498E-05** at limit **
   5  Prefactor     .10000E-03    13.183        .18864E-06** at limit **
   6  Prefactor     10.445        11.635        .92705E-08   -.68273E-04
   7  Prefactor     .10000E-03    12.095       -.89994E-09** at limit **
   8  norm          3.7159        2.8335        .93855E-07    .16067E-04
   9  norm          1.2841        1.0833        .10408E-07   -.86968E-04
  10  norm          .10000E-03    .19750        .88145E-08** at limit **
  11  norm          .98074        .90971       -.14222E-07   -.21336E-04
  12  Prefactor     .10000E-03    4.8513       -.97394E-07** at limit **
  13  Prefactor     45.464        39.914       -.12930E-05   -.25982E-03
  14  Prefactor     35.172        35.921       -.75833E-06   -.13981E-03
  15  norm          4.4843        10.904        .22328E-06    .19239E-04
  16  Prefactor     19.820        11.810        .13652E-06    .20331E-03
  17  Prefactor     43.460        62.203       -.14497E-05   -.13647E-03
  18  Prefactor     .10000E-03    64.344        .57026E-06** at limit **
  19  Prefactor     .10000E-03    6.1279       -.23912E-07** at limit **
  20  norm          .18713        .73402        .15106E-07   -.39871E-03
  21  Prefactor     6.4529        5.7345        .30025E-05    .68779E-03
  22  Normalizat    1.2057        .19600        .17745E-05   -.33745E-03
  23  Prefactor     .84791        .14639       -.22366E-05   -.19712E-03
                               ERR DEF=  .500    
Final values: 
  norm       = 35.9862
  norm       = 10.9928
  Prefactor  = 30.5325
  Prefactor  = 0.00010028
  Prefactor  = 0.0001
  Prefactor  = 10.4448
  Prefactor  = 0.0001
  norm       = 3.71587
  norm       = 1.28412
  norm       = 0.0001
  norm       = 0.980738
  Prefactor  = 0.0001
  Prefactor  = 45.4645
  Prefactor  = 35.1724
  norm       = 4.48428
  Prefactor  = 19.8201
  Prefactor  = 43.46
  Prefactor  = 0.0001
  Prefactor  = 0.0001
  norm       = 0.187132
  Prefactor  = 6.45292
  Normalizat = 1.20566
  Prefactor  = 0.847906
 **********
 **   18 **HESSE 
 **********

 FCN=   7456.490     FROM HESSE     STATUS=OK           374 CALLS     2989 TOTAL
                     EDM=   .49E-07    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  norm          35.986        6.6474        .66805E-04   -1.4507    
   2  norm          10.993        6.8930        .12083E-03   -1.5045    
   3  Prefactor     30.532        17.223        .72505E-04   -1.4602    
   4  Prefactor     .10028E-03    13.483        .19152E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   5  Prefactor     .10000E-03    13.206        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   6  Prefactor     10.445        11.651        .12396E-03   -1.5061    
   7  Prefactor     .10000E-03    12.119        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   8  norm          3.7159        2.8280        .12278E-03   -1.5322    
   9  norm          1.2841        1.0935        .79409E-04   -1.5481    
  10  norm          .10000E-03    .19768        .18142E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  11  norm          .98074        .94391        .77182E-03   -1.5510    
  12  Prefactor     .10000E-03    4.8578        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  13  Prefactor     45.464        39.975        .59441E-04   -1.4358    
  14  Prefactor     35.172        35.950        .67560E-04   -1.4521    
  15  norm          4.4843        10.871        .19007E-03   -1.5284    
  16  Prefactor     19.820        11.816        .89938E-04   -1.4817    
  17  Prefactor     43.460        62.493        .60781E-04   -1.4389    
  18  Prefactor     .10000E-03    64.652        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  19  Prefactor     .10000E-03    6.1308        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  20  norm          .18713        1.2617        .13858E-02   -1.5621    
  21  Prefactor     6.4529        5.8565        .79000E-03   -1.5200    
  22  Normalizat    1.2057        .22824        .26878E-03   -.86428    
  23  Prefactor     .84791        .16896        .24668E-03   -.97986    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 4.89178e-08
Minuit parameter uncertainties:
  1  6.64751
  2  6.8935
  3  17.2256
  4  0.00388397
  5  3.33294e-05
  6  11.6535
  7  3.86812e-05
  8  2.82815
  9  1.09349
  10  6.03736e-08
  11  0.943928
  12  2.4035e-06
  13  39.9985
  14  35.9721
  15  10.8763
  16  11.8178
  17  62.5873
  18  8.72685e-05
  19  8.01593e-07
  20  0.971592
  21  5.85702
  22  0.228428
  23  0.169064
Done.

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

Extracting fit parameters...

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

GAL_V02
   Spectrum: PowerLaw
472    Prefactor:  8.479e-01  1.691e-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.206e+00  2.284e-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.16e-08 ph cm-2 s-1
Energy Flux Upper Limit: 1.53e-05 MeV cm-2 s-1

Saving results to:
/scratch/kocevski/513199/likelihoodResults_275356801_275616001_4FGL_J0948.9+0022_daily_bin139.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) = 7456.49065297
delta logL = -0.00025734778319

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

MINUIT Return Code (Free Index): 0
logL (Free Index) = 7456.49039514
delta logL = 4.87306351715e-07

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.4627       1.0000          .0000       5.0000    
     3 'Normalizat'    1.2057       1.0000         .10000E-01   10.000    
     4 'Prefactor '    .84791       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=   7456.490     FROM MIGRAD    STATUS=CONVERGED     62 CALLS      213 TOTAL
                     EDM=   .12E-09    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  norm          .10000E-03    2.2358        .90712E-03** at limit **
   2  alpha         2.7200        2.8070        .41157       -.12867E-06
   3  Normalizat    1.2057        .18037        .60771E-01    .11216E-04
   4  Prefactor     .84791        .14221        .44338E-01    .12055E-04
                               ERR DEF=  .500    
Final values: 
  norm       = 0.0001
  alpha      = 2.71995
  Normalizat = 1.20566
  Prefactor  = 0.847905
 **********
 **   18 **HESSE 
 **********

 FCN=   7456.490     FROM HESSE     STATUS=OK            31 CALLS      244 TOTAL
                     EDM=   .85E-12    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  norm          .10000E-03    .20475        .18142E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   2  alpha         2.7200        3.2358        .16463        .88095E-01
   3  Normalizat    1.2057        .21191        .26878E-03   -.86428    
   4  Prefactor     .84791        .16716        .24668E-03   -.97986    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 8.4846e-13
Minuit parameter uncertainties:
  1  1.54469e-07
  2  76.6039
  3  0.21206
  4  0.167259
shell-init: error retrieving current directory: getcwd: cannot access parent directories: No such file or directory
rmdir: failed to remove `/scratch/kocevski/513199': 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) = 7456.49038908
delta logL = 6.54388168186e-06

Extracting fit parameters...

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

GAL_V02
   Spectrum: PowerLaw
472    Prefactor:  8.479e-01  1.673e-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.206e+00  2.121e-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 -1.000e-01 [aplpy.core]
INFO: Auto-setting vmax to  1.110e+00 [aplpy.core]
Saving /scratch/kocevski/513199/cmap_HighResolution_275356801_275616001_4FGL_J0948.9+0022_daily_bin139.png

Cleaning up...

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

Updating database...

UPDATE lightcurve_data_v2 SET energy_flux_upper_limit='1.53e-05', job_status='DONE', photon_flux_upper_limit='6.16e-08', time_completed='2021-09-01 02:50:14.861169', job_id='513199', GAL2='0.85', fit_tolerance='1e-08', EG2='1.21', EG='1.21', time_epoch_completed='1630489814.86', return_code2='0', ts='-0.00', comment='SUCCESS', return_code='0', GAL='0.85', dlogl='6.54e-06', ts2='-0.00', photon_index_error='0.00', photon_index='2.45' WHERE bin_id='139' AND source_name='4FGL J0948.9+0022' AND cadence='daily';

Database successfully updated.


Analysis Complete.


Wed Sep  1 02:50:14 PDT 2021


------------------------------------------------------------
Sender: LSF System <scs@bullet0160>
Subject: Job 513199: <4FGL_J0948.9+0022_daily_bin139> in cluster <slac> Done

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

Your job looked like:

------------------------------------------------------------
# LSBATCH: User input
/nfs/farm/g/glast/g/LCRepository/Likelihood/Scripts/LikelihoodAnalysis.py 4FGL_J0948.9+0022_daily_bin139 147.244 0.3717 275356801 275616001 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 :                                   672.28 sec.
    Max Memory :                                 1255 MB
    Average Memory :                             321.79 MB
    Total Requested Memory :                     -
    Delta Memory :                               -
    Max Swap :                                   -
    Max Processes :                              5
    Max Threads :                                21
    Run time :                                   843 sec.
    Turnaround time :                            845 sec.

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

