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


Performing analysis on: 4FGL_J0948.9+0022_daily_bin788
RA = 147.244, Dec = 0.3717
tmin = 443577601, tmax = 443836801
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='516787', job_status='RUN', time_executed='2021-09-01 02:46:48.318895', time_epoch_executed='1630489608.32' WHERE source_name='4FGL J0948.9+0022' and cadence='daily' and bin_id='788'

Database successfully updated.
Done.

Creating custom output directory:
/scratch/kocevski/516787

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

Retrieving the FT1 file...

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

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

Retrieving 46 files...
Done.


Merging files...

Checksum keywords updated successfully.

Merged file saved to:
/scratch/kocevski/516787/ft1_4FGL_J0948.9+0022_daily_bin788.fits


Retrieving the FT1 file...

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

Retrieving 46 files...
Done.


Merging files...

Merged file saved to:
/scratch/kocevski/516787/ft2_4FGL_J0948.9+0022_daily_bin788.fits


Selecting the photons:
time -p gtselect infile=/scratch/kocevski/516787/ft1_4FGL_J0948.9+0022_daily_bin788.fits outfile=/scratch/kocevski/516787/ft1_filteredMKT_4FGL_J0948.9+0022_daily_bin788.fits ra=147.244 dec=0.3717 rad=12.0 tmin=443577601.0 tmax=443836801.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.58
user 3.36
sys 0.18

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

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

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

Generating the exposure map:
time -p gtexpmap evfile=/scratch/kocevski/516787/ft1_filtered_4FGL_J0948.9+0022_daily_bin788.fits evtable="EVENTS" scfile=/scratch/kocevski/516787/ft2_4FGL_J0948.9+0022_daily_bin788.fits sctable="SC_DATA" expcube=/scratch/kocevski/516787/ltcube_443577601_443836801_4FGL_J0948.9+0022_daily_bin788.fits outfile=/scratch/kocevski/516787/expmap_443577601_443836801_4FGL_J0948.9+0022_daily_bin788.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/516787/ltcube_443577601_443836801_4FGL_J0948.9+0022_daily_bin788.fits
.....................!
real 189.03
user 184.08
sys 4.65

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/516787/ft1_filtered_4FGL_J0948.9+0022_daily_bin788.fits scfile=/scratch/kocevski/516787/ft2_4FGL_J0948.9+0022_daily_bin788.fits outfile=/scratch/kocevski/516787/cmap_443577601_443836801_4FGL_J0948.9+0022_daily_bin788.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.95
user 0.38
sys 0.13

Creating the high resolution counts map:
time -p gtbin evfile=/scratch/kocevski/516787/ft1_filtered_4FGL_J0948.9+0022_daily_bin788.fits scfile=/scratch/kocevski/516787/ft2_4FGL_J0948.9+0022_daily_bin788.fits outfile=/scratch/kocevski/516787/cmap_HighResolution_443577601_443836801_4FGL_J0948.9+0022_daily_bin788.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.77
user 0.41
sys 0.15

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

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

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

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

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 'norm      '    .10161E-03   1.0000         .10000E-03   10000.    
     3 'Prefactor '    9.8057       1.0000         .10000E-03   10000.    
     4 'Prefactor '    .28006E-03   1.0000         .10000E-03   10000.    
     5 'Prefactor '    .10108E-03   1.0000         .10000E-03   10000.    
     6 'Prefactor '    11.943       1.0000         .10000E-03   10000.    
     7 'Prefactor '    .10022E-03   1.0000         .10000E-03   10000.    
     8 'norm      '    .10001E-03   1.0000         .10000E-03   10000.    
     9 'norm      '    .44258       1.0000         .10000E-03   10000.    
    10 'norm      '    .76411       1.0000         .10000E-03   10000.    
    11 'norm      '    1.9398       1.0000         .10000E-03   10000.    
    12 'Prefactor '    6.1674       1.0000         .10000E-03   10000.    
    13 'Prefactor '    .12245E-03   1.0000         .10000E-03   10000.    
    14 'Prefactor '    .10000E-03   1.0000         .10000E-03   10000.    
    15 'norm      '    .10027E-03   1.0000         .10000E-03   10000.    
    16 'Prefactor '    .10114E-03   1.0000         .10000E-03   10000.    
    17 'Prefactor '    89.315       1.0000         .10000E-03   10000.    
    18 'Prefactor '    .45514E-03   1.0000         .10000E-03   10000.    
    19 'Prefactor '    37.810       1.0000         .10000E-03   10000.    
    20 'norm      '    6.8887       1.0000         .10000E-03   10000.    
    21 'Prefactor '    .30588E-03   1.0000         .10000E-03   10000.    
    22 'Normalizat'    .92654       1.0000         .10000E-01   10.000    
    23 'Prefactor '    .98312       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=   4791.955     FROM MIGRAD    STATUS=CONVERGED    509 CALLS     2907 TOTAL
                     EDM=   .74E-09  STRATEGY=1  ERROR MATRIX UNCERTAINTY=  2.1%

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  norm          .10000E-03    .95597        .77967E-07** at limit **
   2  norm          .10000E-03    6.2685        .53151E-06** at limit **
   3  Prefactor     9.7994        19.774       -.35755E-06   -.35927E-04
   4  Prefactor     .10001E-03    2.3111        .76637E-06** at limit **
   5  Prefactor     .10000E-03    26.980        .83641E-08** at limit **
   6  Prefactor     11.944        12.725       -.47452E-06   -.13995E-03
   7  Prefactor     .10000E-03    29.395        .64184E-06** at limit **
   8  norm          .10000E-03    1.9467        .23023E-06** at limit **
   9  norm          .44264        1.2541       -.79932E-07    .34824E-04
  10  norm          .76415        .76967        .16543E-06    .27226E-03
  11  norm          1.9398        1.5904        .56140E-07   -.45068E-04
  12  Prefactor     6.1712        11.043       -.43624E-06   -.64345E-04
  13  Prefactor     .10000E-03    66.257        .11236E-05** at limit **
  14  Prefactor     .10000E-03    10.014        .15465E-06** at limit **
  15  norm          .10000E-03    6.3061       -.64983E-06** at limit **
  16  Prefactor     .10000E-03    8.0726       -.14823E-05** at limit **
  17  Prefactor     89.194        79.797       -.33078E-05   -.20349E-03
  18  Prefactor     .10000E-03    442.21       -.24761E-04** at limit **
  19  Prefactor     37.805        25.460       -.27153E-05   -.23248E-03
  20  norm          6.8884        2.1224       -.12443E-07   -.77135E-03
  21  Prefactor     .10033E-03    4.0082        .16163E-05** at limit **
  22  Normalizat    .92670        .25475        .57178E-05   -.57408E-03
  23  Prefactor     .98304        .18727       -.59369E-05   -.49373E-03
                               ERR DEF=  .500    
Final values: 
  norm       = 0.0001
  norm       = 0.0001
  Prefactor  = 9.79944
  Prefactor  = 0.000100009
  Prefactor  = 0.0001
  Prefactor  = 11.944
  Prefactor  = 0.0001
  norm       = 0.0001
  norm       = 0.442637
  norm       = 0.764155
  norm       = 1.93976
  Prefactor  = 6.17123
  Prefactor  = 0.0001
  Prefactor  = 0.0001
  norm       = 0.0001
  Prefactor  = 0.0001
  Prefactor  = 89.194
  Prefactor  = 0.000100003
  Prefactor  = 37.8048
  norm       = 6.88843
  Prefactor  = 0.000100329
  Normalizat = 0.926697
  Prefactor  = 0.983039
 **********
 **   18 **HESSE 
 **********

 FCN=   4791.955     FROM HESSE     STATUS=OK           370 CALLS     3277 TOTAL
                     EDM=   .87E-08    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  norm          .10000E-03    .95758        .66104E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   2  norm          .10000E-03    6.3944        .16935E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   3  Prefactor     9.7994        19.755        .12797E-03   -1.5082    
   4  Prefactor     .10001E-03    9.4636        .19707E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   5  Prefactor     .10000E-03    27.045        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   6  Prefactor     11.944        12.708        .11592E-03   -1.5017    
   7  Prefactor     .10000E-03    29.466        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   8  norm          .10000E-03    1.9573        .94361E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   9  norm          .44264        1.5372        .11826E-02   -1.5575    
  10  norm          .76415        .74284        .56223E-03   -1.5533    
  11  norm          1.9398        1.5963        .76920E-04   -1.5429    
  12  Prefactor     6.1712        11.019        .16165E-03   -1.5211    
  13  Prefactor     .10000E-03    67.122        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  14  Prefactor     .10000E-03    10.019        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  15  norm          .10000E-03    6.3048        .16971E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  16  Prefactor     .10000E-03    8.0376        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  17  Prefactor     89.194        80.458        .21258E-03   -1.3816    
  18  Prefactor     .10000E-03    423.61        .21203E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  19  Prefactor     37.805        25.130        .65180E-04   -1.4477    
  20  norm          6.8884        2.1127        .53487E-04   -1.5183    
  21  Prefactor     .10033E-03    45.658        .25495E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  22  Normalizat    .92670        .27391        .27479E-03   -.95528    
  23  Prefactor     .98304        .20511        .21618E-03   -.93297    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 8.72795e-09
Minuit parameter uncertainties:
  1  1.56724e-06
  2  4.06674e-05
  3  19.7677
  4  0.000588515
  5  8.4864e-05
  6  12.7112
  7  0.000182672
  8  8.2731e-06
  9  1.5373
  10  0.742853
  11  1.59638
  12  11.0225
  13  0.000214483
  14  1.34722e-05
  15  1.95979e-05
  16  4.96176e-06
  17  80.5563
  18  0.00210453
  19  25.1367
  20  2.11268
  21  0.00775912
  22  0.274325
  23  0.205276
Done.

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

Extracting fit parameters...

4FGL J0948.9+0022
   Spectrum: LogParabola
217         norm:  7.642e-01  7.429e-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:  9.830e-01  2.053e-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.267e-01  2.743e-01  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Fixed Index): 1.40
Ra Dec: 147.244 0.372
Photon Index (Fixed Index): 2.45 +/- 0.00
Photon Flux (Fixed Index): 5.87e-08 +/- 5.70e-08
Energy Flux (Fixed Index): 1.46e-05 +/- 1.42e-05

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

Saving results to:
/scratch/kocevski/516787/likelihoodResults_443577601_443836801_4FGL_J0948.9+0022_daily_bin788.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) = 4791.43622308
delta logL = 0.518788077808

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

MINUIT Return Code (Free Index): 0
logL (Free Index) = 4791.43506474
delta logL = 0.519946416757

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'norm      '    .78358       1.0000         .10000E-03   10000.    
     2 'alpha     '    3.4508       1.0000          .0000       5.0000    
     3 'Normalizat'    .86999       1.0000         .10000E-01   10.000    
     4 'Prefactor '    1.0154       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=   4791.435     FROM MIGRAD    STATUS=CONVERGED     51 CALLS      225 TOTAL
                     EDM=   .83E-09    STRATEGY= 1      ERR MATRIX NOT POS-DEF

  EXT PARAMETER                APPROXIMATE        STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  norm          .78342        14.738        .95292E-02    .72887E-03
   2  alpha         3.4504        3.0689        .45743        .59521E-05
   3  Normalizat    .87010        .93272E-01    .63928E-01    .14189E-04
   4  Prefactor     1.0153        .83309E-01    .42637E-01    .29069E-05
                               ERR DEF=  .500    
Final values: 
  norm       = 0.783416
  alpha      = 3.45044
  Normalizat = 0.870098
  Prefactor  = 1.01526
 **********
 **   18 **HESSE 
 **********

 FCN=   4791.435     FROM HESSE     STATUS=OK            33 CALLS      258 TOTAL
                     EDM=   .22E-12    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  norm          .78342        .75908        .43018E-04   -1.5531    
   2  alpha         3.4504        1.1581        .25493E-01    .38998    
   3  Normalizat    .87010        .25851        .28277E-03   -.97519    
   4  Prefactor     1.0153        .20563        .21307E-03   -.92223    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 2.20035e-13
Minuit parameter uncertainties:
  1  0.759086
  2  1.21297
  3  0.258875
  4  0.205785
shell-init: error retrieving current directory: getcwd: cannot access parent directories: No such file or directory
rmdir: failed to remove `/scratch/kocevski/516787': 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) = 4791.43506445
delta logL = 0.519946705806

Extracting fit parameters...

4FGL J0948.9+0022
   Spectrum: LogParabola
217         norm:  7.834e-01  7.591e-01  1.000e-04  1.000e+04 ( 1.000e-10)
218        alpha:  3.450e+00  1.213e+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.015e+00  2.058e-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:  8.701e-01  2.589e-01  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Free Index): 2.52
Ra Dec: 147.244 0.372
Photon Index (Free Index): 3.45 +/- 1.21
Photon Flux (Free Index): 9.85e-08 +/- 7.40e-08
Energy Flux (Free Index): 1.66e-05 +/- 1.28e-05

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/516787/cmap_HighResolution_443577601_443836801_4FGL_J0948.9+0022_daily_bin788.png

Cleaning up...

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

Updating database...

UPDATE lightcurve_data_v2 SET energy_flux_upper_limit='4.35e-05', comment='SUCCESS', photon_flux='5.87e-08', energy_flux2='1.66e-05', photon_flux_error='5.70e-08', dlogl='5.20e-01', energy_flux='1.46e-05', photon_flux2='9.85e-08', job_status='DONE', time_completed='2021-09-01 02:55:57.211158', photon_index_error2='1.21', photon_index2='3.45', ts='1.40', fit_tolerance='1e-08', GAL='0.98', photon_index_error='0.00', photon_flux_upper_limit='1.75e-07', energy_flux_error2='1.28e-05', EG='0.93', time_epoch_completed='1630490157.21', return_code='0', job_id='516787', GAL2='1.02', EG2='0.87', return_code2='0', energy_flux_error='1.42e-05', photon_flux_error2='7.40e-08', ts2='2.52', photon_index='2.45' WHERE bin_id='788' AND source_name='4FGL J0948.9+0022' AND cadence='daily';

Database successfully updated.


Analysis Complete.


Wed Sep  1 02:55:57 PDT 2021


------------------------------------------------------------
Sender: LSF System <lsf@bullet0292>
Subject: Job 516787: <4FGL_J0948.9+0022_daily_bin788> in cluster <slac> Done

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

Your job looked like:

------------------------------------------------------------
# LSBATCH: User input
/nfs/farm/g/glast/g/LCRepository/Likelihood/Scripts/LikelihoodAnalysis.py 4FGL_J0948.9+0022_daily_bin788 147.244 0.3717 443577601 443836801 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 :                                   538.00 sec.
    Max Memory :                                 1093 MB
    Average Memory :                             338.79 MB
    Total Requested Memory :                     -
    Delta Memory :                               -
    Max Swap :                                   -
    Max Processes :                              5
    Max Threads :                                21
    Run time :                                   567 sec.
    Turnaround time :                            569 sec.

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

