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


Performing analysis on: 4FGL_J0948.9+0022_daily_bin714
RA = 147.244, Dec = 0.3717
tmin = 424396801, tmax = 424656001
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='516677', job_status='RUN', time_executed='2021-09-01 02:50:24.603273', time_epoch_executed='1630489824.6' WHERE source_name='4FGL J0948.9+0022' and cadence='daily' and bin_id='714'

Database successfully updated.
Done.

Creating custom output directory:
/scratch/kocevski/516677

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

Retrieving the FT1 file...

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

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

Retrieving 46 files...
Done.


Merging files...

Checksum keywords updated successfully.

Merged file saved to:
/scratch/kocevski/516677/ft1_4FGL_J0948.9+0022_daily_bin714.fits


Retrieving the FT1 file...

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

Retrieving 46 files...
Done.


Merging files...

Merged file saved to:
/scratch/kocevski/516677/ft2_4FGL_J0948.9+0022_daily_bin714.fits


Selecting the photons:
time -p gtselect infile=/scratch/kocevski/516677/ft1_4FGL_J0948.9+0022_daily_bin714.fits outfile=/scratch/kocevski/516677/ft1_filteredMKT_4FGL_J0948.9+0022_daily_bin714.fits ra=147.244 dec=0.3717 rad=12.0 tmin=424396801.0 tmax=424656001.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 5.50
user 4.89
sys 0.22

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

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

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

Generating the exposure map:
time -p gtexpmap evfile=/scratch/kocevski/516677/ft1_filtered_4FGL_J0948.9+0022_daily_bin714.fits evtable="EVENTS" scfile=/scratch/kocevski/516677/ft2_4FGL_J0948.9+0022_daily_bin714.fits sctable="SC_DATA" expcube=/scratch/kocevski/516677/ltcube_424396801_424656001_4FGL_J0948.9+0022_daily_bin714.fits outfile=/scratch/kocevski/516677/expmap_424396801_424656001_4FGL_J0948.9+0022_daily_bin714.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/516677/ltcube_424396801_424656001_4FGL_J0948.9+0022_daily_bin714.fits
.....................!
real 192.14
user 186.18
sys 4.19

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/516677/ft1_filtered_4FGL_J0948.9+0022_daily_bin714.fits scfile=/scratch/kocevski/516677/ft2_4FGL_J0948.9+0022_daily_bin714.fits outfile=/scratch/kocevski/516677/cmap_424396801_424656001_4FGL_J0948.9+0022_daily_bin714.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.93
user 0.38
sys 0.15

Creating the high resolution counts map:
time -p gtbin evfile=/scratch/kocevski/516677/ft1_filtered_4FGL_J0948.9+0022_daily_bin714.fits scfile=/scratch/kocevski/516677/ft2_4FGL_J0948.9+0022_daily_bin714.fits outfile=/scratch/kocevski/516677/cmap_HighResolution_424396801_424656001_4FGL_J0948.9+0022_daily_bin714.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.78
user 0.39
sys 0.15

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

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

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

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

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'norm      '    3.8927       1.0000         .10000E-03   10000.    
     2 'norm      '    6.3700       1.0000         .10000E-03   10000.    
     3 'Prefactor '    .10109E-03   1.0000         .10000E-03   10000.    
     4 'Prefactor '    .70835       1.0000         .10000E-03   10000.    
     5 'Prefactor '    .10295E-03   1.0000         .10000E-03   10000.    
     6 'Prefactor '    42.177       1.0000         .10000E-03   10000.    
     7 'Prefactor '    .10431E-03   1.0000         .10000E-03   10000.    
     8 'norm      '    4.2770       1.0000         .10000E-03   10000.    
     9 'norm      '    1.2785       1.0000         .10000E-03   10000.    
    10 'norm      '    .21343       1.0000         .10000E-03   10000.    
    11 'norm      '    1.5894       1.0000         .10000E-03   10000.    
    12 'Prefactor '    .10001E-03   1.0000         .10000E-03   10000.    
    13 'Prefactor '    .10548E-03   1.0000         .10000E-03   10000.    
    14 'Prefactor '    1.4002       1.0000         .10000E-03   10000.    
    15 'norm      '    .10166E-03   1.0000         .10000E-03   10000.    
    16 'Prefactor '    .10186E-03   1.0000         .10000E-03   10000.    
    17 'Prefactor '    .10023E-03   1.0000         .10000E-03   10000.    
    18 'Prefactor '    .10197E-03   1.0000         .10000E-03   10000.    
    19 'Prefactor '    .10070E-03   1.0000         .10000E-03   10000.    
    20 'norm      '    .71592       1.0000         .10000E-03   10000.    
    21 'Prefactor '    30.666       1.0000         .10000E-03   10000.    
    22 'Normalizat'    1.0587       1.0000         .10000E-01   10.000    
    23 'Prefactor '    1.0391       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=   4753.317     FROM MIGRAD    STATUS=CONVERGED    549 CALLS     2599 TOTAL
                     EDM=   .89E-09  STRATEGY=1  ERROR MATRIX UNCERTAINTY=  1.1%

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  norm          3.8910        3.8880       -.86455E-07    .78139E-04
   2  norm          6.3700        7.9159        .26435E-05   -.69926E-05
   3  Prefactor     .10000E-03    30.229       -.12080E-04** at limit **
   4  Prefactor     .71078        4.7263       -.97358E-06   -.28813E-03
   5  Prefactor     .10000E-03    11.497        .60053E-08** at limit **
   6  Prefactor     42.191        26.409       -.52132E-05    .85973E-04
   7  Prefactor     .10000E-03    54.410       -.17832E-04** at limit **
   8  norm          4.2767        4.9977       -.46140E-06   -.22887E-03
   9  norm          1.2783        2.1466       -.47218E-06   -.65030E-03
  10  norm          .21317        .66200        .39746E-08   -.48673E-03
  11  norm          1.5891        1.8200       -.12732E-06   -.24772E-03
  12  Prefactor     .10000E-03    3.8402       -.48106E-07** at limit **
  13  Prefactor     .10000E-03    76.278        .29800E-04** at limit **
  14  Prefactor     1.2167        299.94       -.40958E-04   -.34013E-04
  15  norm          .10000E-03    6.6766       -.66241E-07** at limit **
  16  Prefactor     .10000E-03    4.6003       -.36619E-07** at limit **
  17  Prefactor     .10000E-03    39.669        .24911E-04** at limit **
  18  Prefactor     .10000E-03    57.449       -.20993E-04** at limit **
  19  Prefactor     .10000E-03    24.305        .26386E-05** at limit **
  20  norm          .71751        1.4409       -.32485E-06   -.11306E-02
  21  Prefactor     30.654        11.539       -.47095E-06    .13118E-03
  22  Normalizat    1.0587        .25871        .34565E-05    .19656E-03
  23  Prefactor     1.0391        .18638        .43679E-06    .35633E-03
                               ERR DEF=  .500    
Final values: 
  norm       = 3.89101
  norm       = 6.36996
  Prefactor  = 0.0001
  Prefactor  = 0.710779
  Prefactor  = 0.0001
  Prefactor  = 42.1908
  Prefactor  = 0.0001
  norm       = 4.27675
  norm       = 1.27833
  norm       = 0.213167
  norm       = 1.58914
  Prefactor  = 0.0001
  Prefactor  = 0.0001
  Prefactor  = 1.21674
  norm       = 0.0001
  Prefactor  = 0.0001
  Prefactor  = 0.0001
  Prefactor  = 0.0001
  Prefactor  = 0.0001
  norm       = 0.717514
  Prefactor  = 30.6543
  Normalizat = 1.0587
  Prefactor  = 1.03912
 **********
 **   18 **HESSE 
 **********

 FCN=   4753.317     FROM HESSE     STATUS=OK           372 CALLS     2971 TOTAL
                     EDM=   .14E-08    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  norm          3.8910        3.8870        .13180E-03   -1.5313    
   2  norm          6.3700        7.8817        .15903E-03   -1.5203    
   3  Prefactor     .10000E-03    30.487        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   4  Prefactor     .71078        9.0326        .28147E-02   -1.5539    
   5  Prefactor     .10000E-03    11.499        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   6  Prefactor     42.191        26.038        .61726E-04   -1.4408    
   7  Prefactor     .10000E-03    54.510        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   8  norm          4.2767        4.9863        .15708E-03   -1.5294    
   9  norm          1.2783        2.1286        .12432E-03   -1.5482    
  10  norm          .21317        .83586        .87180E-03   -1.5616    
  11  norm          1.5891        1.7978        .95185E-04   -1.5456    
  12  Prefactor     .10000E-03    3.8415        .13195E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  13  Prefactor     .10000E-03    76.480        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  14  Prefactor     1.2167        311.45        .36671E-03   -1.5487    
  15  norm          .10000E-03    6.6845        .17400E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  16  Prefactor     .10000E-03    4.6084        .14441E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  17  Prefactor     .10000E-03    39.323        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  18  Prefactor     .10000E-03    57.465        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  19  Prefactor     .10000E-03    24.512        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  20  norm          .71751        1.2753        .10971E-02   -1.5539    
  21  Prefactor     30.654        11.450        .72353E-04   -1.4600    
  22  Normalizat    1.0587        .30317        .29354E-03   -.91089    
  23  Prefactor     1.0391        .22180        .22823E-03   -.91437    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 1.37136e-09
Minuit parameter uncertainties:
  1  3.88727
  2  7.88299
  3  9.2286e-05
  4  5.06821
  5  3.47444e-07
  6  26.0455
  7  5.29397e-05
  8  4.98681
  9  2.1287
  10  0.835905
  11  1.79783
  12  2.21419e-06
  13  0.000329815
  14  39.1395
  15  5.37592e-06
  16  5.49512e-06
  17  4.64344e-05
  18  7.23634e-05
  19  4.59552e-05
  20  1.27531
  21  11.4511
  22  0.303666
  23  0.221991
Done.

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

Extracting fit parameters...

4FGL J0948.9+0022
   Spectrum: LogParabola
217         norm:  2.132e-01  8.359e-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.039e+00  2.220e-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.059e+00  3.037e-01  1.000e-02  1.000e+01 ( 1.000e+00)


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

Saving results to:
/scratch/kocevski/516677/likelihoodResults_424396801_424656001_4FGL_J0948.9+0022_daily_bin714.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) = 4752.95274749
delta logL = 0.364647043827

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

MINUIT Return Code (Free Index): 0
logL (Free Index) = 4752.95248694
delta logL = 0.364907595393

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'norm      '    .49468       1.0000         .10000E-03   10000.    
     2 'alpha     '    3.8154       1.0000          .0000       5.0000    
     3 'Normalizat'    .99482       1.0000         .10000E-01   10.000    
     4 'Prefactor '    1.0672       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=   4752.952     FROM MIGRAD    STATUS=CONVERGED     51 CALLS      249 TOTAL
                     EDM=   .64E-08    STRATEGY= 1      ERR MATRIX NOT POS-DEF

  EXT PARAMETER                APPROXIMATE        STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  norm          .49505        21.066        .11249E-01    .11494E-02
   2  alpha         3.8143        3.1538        .50000        .37311E-05
   3  Normalizat    .99482        .10886        .68171E-01    .11161E-04
   4  Prefactor     1.0672        .75300E-01    .38992E-01    .32414E-05
                               ERR DEF=  .500    
Final values: 
  norm       = 0.495049
  alpha      = 3.81434
  Normalizat = 0.994818
  Prefactor  = 1.06721
 **********
 **   18 **HESSE 
 **********

 FCN=   4752.952     FROM HESSE     STATUS=OK            33 CALLS      282 TOTAL
                     EDM=   .14E-09    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  norm          .49505        .75736        .55267E-04   -1.5567    
   2  alpha         3.8143        1.4823        .41415E-01    .55358    
   3  Normalizat    .99482        .29423        .30156E-03   -.93204    
   4  Prefactor     1.0672        .22170        .22545E-03   -.90521    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 1.40602e-10
Minuit parameter uncertainties:
  1  0.757379
  2  1.64015
  3  0.294711
  4  0.221889
shell-init: error retrieving current directory: getcwd: cannot access parent directories: No such file or directory
rmdir: failed to remove `/scratch/kocevski/516677': 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) = 4752.95248669
delta logL = 0.364907840646

Extracting fit parameters...

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

GAL_V02
   Spectrum: PowerLaw
472    Prefactor:  1.067e+00  2.219e-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:  9.948e-01  2.947e-01  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Free Index): 0.07
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/516677/cmap_HighResolution_424396801_424656001_4FGL_J0948.9+0022_daily_bin714.png

Cleaning up...

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

Updating database...

UPDATE lightcurve_data_v2 SET energy_flux_upper_limit='4.01e-05', job_status='DONE', photon_flux_upper_limit='1.61e-07', time_completed='2021-09-01 02:59:35.130723', job_id='516677', GAL2='1.07', fit_tolerance='1e-08', EG2='0.99', EG='1.06', time_epoch_completed='1630490375.13', return_code2='0', ts='0.07', comment='SUCCESS', return_code='0', GAL='1.04', dlogl='3.65e-01', ts2='0.85', photon_index_error='0.00', photon_index='2.45' WHERE bin_id='714' AND source_name='4FGL J0948.9+0022' AND cadence='daily';

Database successfully updated.


Analysis Complete.


Wed Sep  1 02:59:35 PDT 2021


------------------------------------------------------------
Sender: LSF System <lsf@bullet0122>
Subject: Job 516677: <4FGL_J0948.9+0022_daily_bin714> in cluster <slac> Done

Job <4FGL_J0948.9+0022_daily_bin714> was submitted from host <rhel6-64p> by user <kocevski> in cluster <slac> at Wed Sep  1 02:46:20 2021
Job was executed on host(s) <bullet0122>, in queue <medium>, as user <kocevski> in cluster <slac> at Wed Sep  1 02:46:22 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:46:22 2021
Terminated at Wed Sep  1 02:59:36 2021
Results reported at Wed Sep  1 02:59:36 2021

Your job looked like:

------------------------------------------------------------
# LSBATCH: User input
/nfs/farm/g/glast/g/LCRepository/Likelihood/Scripts/LikelihoodAnalysis.py 4FGL_J0948.9+0022_daily_bin714 147.244 0.3717 424396801 424656001 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 :                                   536.00 sec.
    Max Memory :                                 1255 MB
    Average Memory :                             239.00 MB
    Total Requested Memory :                     -
    Delta Memory :                               -
    Max Swap :                                   -
    Max Processes :                              7
    Max Threads :                                21
    Run time :                                   793 sec.
    Turnaround time :                            796 sec.

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

