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


Performing analysis on: 4FGL_J0948.9+0022_daily_bin458
RA = 147.244, Dec = 0.3717
tmin = 358041601, tmax = 358300801
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='514892', job_status='RUN', time_executed='2021-09-01 02:44:44.217873', time_epoch_executed='1630489484.22' WHERE source_name='4FGL J0948.9+0022' and cadence='daily' and bin_id='458'

Database successfully updated.
Done.

Creating custom output directory:
/scratch/kocevski/514892

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

Retrieving the FT1 file...

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

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

Retrieving 47 files...
Done.


Merging files...

Checksum keywords updated successfully.

Merged file saved to:
/scratch/kocevski/514892/ft1_4FGL_J0948.9+0022_daily_bin458.fits


Retrieving the FT1 file...

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

Retrieving 47 files...
Done.


Merging files...

Merged file saved to:
/scratch/kocevski/514892/ft2_4FGL_J0948.9+0022_daily_bin458.fits


Selecting the photons:
time -p gtselect infile=/scratch/kocevski/514892/ft1_4FGL_J0948.9+0022_daily_bin458.fits outfile=/scratch/kocevski/514892/ft1_filteredMKT_4FGL_J0948.9+0022_daily_bin458.fits ra=147.244 dec=0.3717 rad=12.0 tmin=358041601.0 tmax=358300801.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.19
user 3.28
sys 0.23

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

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

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

Generating the exposure map:
time -p gtexpmap evfile=/scratch/kocevski/514892/ft1_filtered_4FGL_J0948.9+0022_daily_bin458.fits evtable="EVENTS" scfile=/scratch/kocevski/514892/ft2_4FGL_J0948.9+0022_daily_bin458.fits sctable="SC_DATA" expcube=/scratch/kocevski/514892/ltcube_358041601_358300801_4FGL_J0948.9+0022_daily_bin458.fits outfile=/scratch/kocevski/514892/expmap_358041601_358300801_4FGL_J0948.9+0022_daily_bin458.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/514892/ltcube_358041601_358300801_4FGL_J0948.9+0022_daily_bin458.fits
.....................!
real 191.10
user 185.26
sys 4.79

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/514892/ft1_filtered_4FGL_J0948.9+0022_daily_bin458.fits scfile=/scratch/kocevski/514892/ft2_4FGL_J0948.9+0022_daily_bin458.fits outfile=/scratch/kocevski/514892/cmap_358041601_358300801_4FGL_J0948.9+0022_daily_bin458.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.54
user 0.36
sys 0.15

Creating the high resolution counts map:
time -p gtbin evfile=/scratch/kocevski/514892/ft1_filtered_4FGL_J0948.9+0022_daily_bin458.fits scfile=/scratch/kocevski/514892/ft2_4FGL_J0948.9+0022_daily_bin458.fits outfile=/scratch/kocevski/514892/cmap_HighResolution_358041601_358300801_4FGL_J0948.9+0022_daily_bin458.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.14

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

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

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

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

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'norm      '    4.3497       1.0000         .10000E-03   10000.    
     2 'norm      '    3.1845       1.0000         .10000E-03   10000.    
     3 'Prefactor '    19.070       1.0000         .10000E-03   10000.    
     4 'Prefactor '    3.9530       1.0000         .10000E-03   10000.    
     5 'Prefactor '    .10018E-03   1.0000         .10000E-03   10000.    
     6 'Prefactor '    22.667       1.0000         .10000E-03   10000.    
     7 'Prefactor '    .15515E-03   1.0000         .10000E-03   10000.    
     8 'norm      '    .10003E-03   1.0000         .10000E-03   10000.    
     9 'norm      '    .80318       1.0000         .10000E-03   10000.    
    10 'norm      '    .57833       1.0000         .10000E-03   10000.    
    11 'norm      '    .46170       1.0000         .10000E-03   10000.    
    12 'Prefactor '    13.885       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      '    .10025E-03   1.0000         .10000E-03   10000.    
    16 'Prefactor '    .17757E-02   1.0000         .10000E-03   10000.    
    17 'Prefactor '    20.936       1.0000         .10000E-03   10000.    
    18 'Prefactor '    .10336E-03   1.0000         .10000E-03   10000.    
    19 'Prefactor '    .10086E-03   1.0000         .10000E-03   10000.    
    20 'norm      '    .10000E-03   1.0000         .10000E-03   10000.    
    21 'Prefactor '    12.299       1.0000         .10000E-03   10000.    
    22 'Normalizat'    .72094       1.0000         .10000E-01   10.000    
    23 'Prefactor '    1.2170       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=   7325.336     FROM MIGRAD    STATUS=CONVERGED    527 CALLS     2588 TOTAL
                     EDM=   .12E-09  STRATEGY=1  ERROR MATRIX UNCERTAINTY=  5.5%

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  norm          4.3505        3.5289       -.50058E-07    .16618E-05
   2  norm          3.1840        4.6433        .20051E-05    .79971E-04
   3  Prefactor     19.069        14.567       -.18187E-06   -.78667E-05
   4  Prefactor     3.9535        3.0782        .18130E-07    .97466E-05
   5  Prefactor     .10000E-03    22.844        .23652E-05** at limit **
   6  Prefactor     22.668        13.587       -.36789E-07    .41662E-05
   7  Prefactor     .10000E-03    60.251       -.70739E-05** at limit **
   8  norm          .10000E-03    1.7153        .25866E-07** at limit **
   9  norm          .80344        1.1001       -.42088E-07   -.19953E-03
  10  norm          .57849        .52212        .11183E-07    .33456E-04
  11  norm          .46165        1.0959       -.99639E-07   -.32358E-03
  12  Prefactor     13.892        12.226       -.38488E-07    .95925E-04
  13  Prefactor     .10000E-03    17.043       -.21326E-05** at limit **
  14  Prefactor     .10000E-03    11.024       -.59081E-06** at limit **
  15  norm          .10000E-03    6.9500       -.11195E-07** at limit **
  16  Prefactor     .10004E-03    5.2146       -.95955E-06** at limit **
  17  Prefactor     20.930        53.408        .48737E-06    .20560E-04
  18  Prefactor     .10000E-03    89.769        .88230E-05** at limit **
  19  Prefactor     .10000E-03    12.392        .10708E-05** at limit **
  20  norm          .10000E-03    .39368       -.47625E-07** at limit **
  21  Prefactor     12.300        5.9769        .12181E-06    .73474E-04
  22  Normalizat    .72087        .18267        .34729E-07    .15621E-03
  23  Prefactor     1.2169        .14382       -.26089E-07    .21212E-03
                               ERR DEF=  .500    
Final values: 
  norm       = 4.35047
  norm       = 3.18398
  Prefactor  = 19.0691
  Prefactor  = 3.95345
  Prefactor  = 0.0001
  Prefactor  = 22.6684
  Prefactor  = 0.0001
  norm       = 0.0001
  norm       = 0.80344
  norm       = 0.578488
  norm       = 0.461648
  Prefactor  = 13.8924
  Prefactor  = 0.0001
  Prefactor  = 0.0001
  norm       = 0.0001
  Prefactor  = 0.000100044
  Prefactor  = 20.93
  Prefactor  = 0.0001
  Prefactor  = 0.0001
  norm       = 0.0001
  Prefactor  = 12.3002
  Normalizat = 0.720867
  Prefactor  = 1.21695
 **********
 **   18 **HESSE 
 **********

 FCN=   7325.336     FROM HESSE     STATUS=OK           380 CALLS     2968 TOTAL
                     EDM=   .11E-07    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  norm          4.3505        3.5219        .13894E-03   -1.5291    
   2  norm          3.1840        4.6489        .10776E-02   -1.5351    
   3  Prefactor     19.069        14.569        .91716E-04   -1.4834    
   4  Prefactor     3.9535        3.0719        .12685E-03   -1.5310    
   5  Prefactor     .10000E-03    22.888        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   6  Prefactor     22.668        13.570        .84132E-04   -1.4755    
   7  Prefactor     .10000E-03    60.696        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   8  norm          .10000E-03    1.7688        .21879E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   9  norm          .80344        .98832        .10044E-02   -1.5529    
  10  norm          .57849        .49802        .54997E-03   -1.5556    
  11  norm          .46165        .96504        .13394E-02   -1.5572    
  12  Prefactor     13.892        12.096        .10749E-03   -1.4962    
  13  Prefactor     .10000E-03    17.120        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  14  Prefactor     .10000E-03    11.046        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  15  norm          .10000E-03    6.9591        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  16  Prefactor     .10004E-03    38.973        .35292E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  17  Prefactor     20.930        52.344        .87537E-04   -1.4793    
  18  Prefactor     .10000E-03    89.633        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  19  Prefactor     .10000E-03    12.413        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  20  norm          .10000E-03    .58992        .10403E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  21  Prefactor     12.300        5.9667        .11422E-03   -1.5006    
  22  Normalizat    .72087        .20688        .30791E-03   -1.0307    
  23  Prefactor     1.2169        .16501        .20226E-03   -.85811    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 1.12682e-08
Minuit parameter uncertainties:
  1  3.52206
  2  4.64946
  3  14.5715
  4  3.07201
  5  1.54565e-05
  6  13.5715
  7  4.36036e-05
  8  1.01098e-06
  9  0.988338
  10  0.498024
  11  0.965069
  12  12.0983
  13  1.73296e-05
  14  5.94348e-06
  15  2.10057e-07
  16  0.00263289
  17  52.4589
  18  0.00013151
  19  1.00687e-06
  20  3.98967e-07
  21  5.96696
  22  0.207104
  23  0.165078
Done.

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

Extracting fit parameters...

4FGL J0948.9+0022
   Spectrum: LogParabola
217         norm:  5.785e-01  4.980e-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.217e+00  1.651e-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.209e-01  2.071e-01  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Fixed Index): 1.79
Ra Dec: 147.244 0.372
Photon Index (Fixed Index): 2.45 +/- 0.00
Photon Flux (Fixed Index): 4.44e-08 +/- 3.82e-08
Energy Flux (Fixed Index): 1.11e-05 +/- 9.53e-06

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

Saving results to:
/scratch/kocevski/514892/likelihoodResults_358041601_358300801_4FGL_J0948.9+0022_daily_bin458.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) = 7325.33324423
delta logL = 0.00306849643221

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

MINUIT Return Code (Free Index): 0
logL (Free Index) = 7325.33316393
delta logL = 0.00314879928192

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'norm      '    .58097       1.0000         .10000E-03   10000.    
     2 'alpha     '    2.5220       1.0000          .0000       5.0000    
     3 'Normalizat'    .71853       1.0000         .10000E-01   10.000    
     4 'Prefactor '    1.2184       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.
 MACHINE ACCURACY LIMITS FURTHER IMPROVEMENT.

 MIGRAD MINIMIZATION HAS CONVERGED.

 MIGRAD WILL VERIFY CONVERGENCE AND ERROR MATRIX.

 FCN=   7325.333     FROM MIGRAD    STATUS=CONVERGED     96 CALLS      279 TOTAL
                     EDM=   .12E-08    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  norm          .58133        .49547        .54797E-03    .24357E-03
   2  alpha         2.5228        .87029        .25729E-01   -.95340E-04
   3  Normalizat    .71848        .19879        .30838E-03    .20645E-05
   4  Prefactor     1.2185        .16531        .20216E-03    .48364E-05
                               ERR DEF=  .500    
Final values: 
  norm       = 0.581332
  alpha      = 2.52275
  Normalizat = 0.718479
  Prefactor  = 1.21847
 **********
 **   18 **HESSE 
 **********

 FCN=   7325.333     FROM HESSE     STATUS=OK            27 CALLS      306 TOTAL
                     EDM=   .18E-11    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  norm          .58133        .49510        .21919E-04   -1.5555    
   2  alpha         2.5228        .87037        .51459E-02    .91004E-02
   3  Normalizat    .71848        .19902        .12335E-04   -1.0317    
   4  Prefactor     1.2185        .16544        .80862E-05   -.85765    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 1.7702e-12
Minuit parameter uncertainties:
  1  0.495107
  2  0.888986
  3  0.199218
  4  0.165514
shell-init: error retrieving current directory: getcwd: cannot access parent directories: No such file or directory
rmdir: failed to remove `/scratch/kocevski/514892': 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) = 7325.33316335
delta logL = 0.00314937942312

Extracting fit parameters...

4FGL J0948.9+0022
   Spectrum: LogParabola
217         norm:  5.813e-01  4.951e-01  1.000e-04  1.000e+04 ( 1.000e-10)
218        alpha:  2.523e+00  8.890e-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.218e+00  1.655e-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.185e-01  1.992e-01  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Free Index): 1.79
Ra Dec: 147.244 0.372
Photon Index (Free Index): 2.52 +/- 0.89
Photon Flux (Free Index): 4.58e-08 +/- 4.22e-08
Energy Flux (Free Index): 1.10e-05 +/- 9.48e-06

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/514892/cmap_HighResolution_358041601_358300801_4FGL_J0948.9+0022_daily_bin458.png

Cleaning up...

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

Updating database...

UPDATE lightcurve_data_v2 SET energy_flux_upper_limit='3.05e-05', comment='SUCCESS', photon_flux='4.44e-08', energy_flux2='1.10e-05', photon_flux_error='3.82e-08', dlogl='3.15e-03', energy_flux='1.11e-05', photon_flux2='4.58e-08', job_status='DONE', time_completed='2021-09-01 02:55:39.061544', photon_index_error2='0.89', photon_index2='2.52', ts='1.79', fit_tolerance='1e-08', GAL='1.22', photon_index_error='0.00', photon_flux_upper_limit='1.22e-07', energy_flux_error2='9.48e-06', EG='0.72', time_epoch_completed='1630490139.06', return_code='0', job_id='514892', GAL2='1.22', EG2='0.72', return_code2='0', energy_flux_error='9.53e-06', photon_flux_error2='4.22e-08', ts2='1.79', photon_index='2.45' WHERE bin_id='458' AND source_name='4FGL J0948.9+0022' AND cadence='daily';

Database successfully updated.


Analysis Complete.


Wed Sep  1 02:55:39 PDT 2021


------------------------------------------------------------
Sender: LSF System <lsf@bullet0299>
Subject: Job 514892: <4FGL_J0948.9+0022_daily_bin458> in cluster <slac> Done

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

Your job looked like:

------------------------------------------------------------
# LSBATCH: User input
/nfs/farm/g/glast/g/LCRepository/Likelihood/Scripts/LikelihoodAnalysis.py 4FGL_J0948.9+0022_daily_bin458 147.244 0.3717 358041601 358300801 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 :                                   649.12 sec.
    Max Memory :                                 1256 MB
    Average Memory :                             281.97 MB
    Total Requested Memory :                     -
    Delta Memory :                               -
    Max Swap :                                   -
    Max Processes :                              5
    Max Threads :                                21
    Run time :                                   875 sec.
    Turnaround time :                            876 sec.

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

