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


Performing analysis on: 4FGL_J0948.9+0022_daily_bin795
RA = 147.244, Dec = 0.3717
tmin = 445392001, tmax = 445651201
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='516797', job_status='RUN', time_executed='2021-09-01 02:49:32.636166', time_epoch_executed='1630489772.64' WHERE source_name='4FGL J0948.9+0022' and cadence='daily' and bin_id='795'

Database successfully updated.
Done.

Creating custom output directory:
/scratch/kocevski/516797

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

Retrieving the FT1 file...

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

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

Retrieving 46 files...
Done.


Merging files...

Checksum keywords updated successfully.

Merged file saved to:
/scratch/kocevski/516797/ft1_4FGL_J0948.9+0022_daily_bin795.fits


Retrieving the FT1 file...

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

Retrieving 46 files...
Done.


Merging files...

Merged file saved to:
/scratch/kocevski/516797/ft2_4FGL_J0948.9+0022_daily_bin795.fits


Selecting the photons:
time -p gtselect infile=/scratch/kocevski/516797/ft1_4FGL_J0948.9+0022_daily_bin795.fits outfile=/scratch/kocevski/516797/ft1_filteredMKT_4FGL_J0948.9+0022_daily_bin795.fits ra=147.244 dec=0.3717 rad=12.0 tmin=445392001.0 tmax=445651201.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.86
user 3.61
sys 0.20

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

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

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

Generating the exposure map:
time -p gtexpmap evfile=/scratch/kocevski/516797/ft1_filtered_4FGL_J0948.9+0022_daily_bin795.fits evtable="EVENTS" scfile=/scratch/kocevski/516797/ft2_4FGL_J0948.9+0022_daily_bin795.fits sctable="SC_DATA" expcube=/scratch/kocevski/516797/ltcube_445392001_445651201_4FGL_J0948.9+0022_daily_bin795.fits outfile=/scratch/kocevski/516797/expmap_445392001_445651201_4FGL_J0948.9+0022_daily_bin795.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/516797/ltcube_445392001_445651201_4FGL_J0948.9+0022_daily_bin795.fits
.....................!
real 191.08
user 186.41
sys 4.14

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/516797/ft1_filtered_4FGL_J0948.9+0022_daily_bin795.fits scfile=/scratch/kocevski/516797/ft2_4FGL_J0948.9+0022_daily_bin795.fits outfile=/scratch/kocevski/516797/cmap_445392001_445651201_4FGL_J0948.9+0022_daily_bin795.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.57
user 0.38
sys 0.13

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

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

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

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

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

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'norm      '    .10002E-03   1.0000         .10000E-03   10000.    
     2 'norm      '    2.4252       1.0000         .10000E-03   10000.    
     3 'Prefactor '    14.012       1.0000         .10000E-03   10000.    
     4 'Prefactor '    2.1111       1.0000         .10000E-03   10000.    
     5 'Prefactor '    .10050E-03   1.0000         .10000E-03   10000.    
     6 'Prefactor '    10.127       1.0000         .10000E-03   10000.    
     7 'Prefactor '    .10002E-03   1.0000         .10000E-03   10000.    
     8 'norm      '    .10000E-03   1.0000         .10000E-03   10000.    
     9 'norm      '    1.1979       1.0000         .10000E-03   10000.    
    10 'norm      '    2.1435       1.0000         .10000E-03   10000.    
    11 'norm      '    .40798       1.0000         .10000E-03   10000.    
    12 'Prefactor '    .10262E-03   1.0000         .10000E-03   10000.    
    13 'Prefactor '    80.084       1.0000         .10000E-03   10000.    
    14 'Prefactor '    .10006E-03   1.0000         .10000E-03   10000.    
    15 'norm      '    .10193E-03   1.0000         .10000E-03   10000.    
    16 'Prefactor '    .11556E-03   1.0000         .10000E-03   10000.    
    17 'Prefactor '    .10018E-03   1.0000         .10000E-03   10000.    
    18 'Prefactor '    6.6873       1.0000         .10000E-03   10000.    
    19 'Prefactor '    .15659E-03   1.0000         .10000E-03   10000.    
    20 'norm      '    7.4658       1.0000         .10000E-03   10000.    
    21 'Prefactor '    7.2919       1.0000         .10000E-03   10000.    
    22 'Normalizat'    .97361       1.0000         .10000E-01   10.000    
    23 'Prefactor '    .70134       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=   6876.518     FROM MIGRAD    STATUS=CONVERGED    513 CALLS     2546 TOTAL
                     EDM=   .20E-10  STRATEGY=1  ERROR MATRIX UNCERTAINTY=   .9%

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  norm          .10000E-03    1.0725        .26196E-07** at limit **
   2  norm          2.4249        4.5248        .62697E-06   -.23094E-05
   3  Prefactor     14.017        11.712        .33707E-07   -.12885E-04
   4  Prefactor     2.1109        2.9492        .36477E-06   -.37520E-04
   5  Prefactor     .10000E-03    6.8503        .22445E-07** at limit **
   6  Prefactor     10.134        9.9069        .77407E-07   -.68795E-05
   7  Prefactor     .10000E-03    10.224        .24949E-07** at limit **
   8  norm          .10000E-03    .80763        .85057E-08** at limit **
   9  norm          1.1980        1.2904        .15864E-06    .77277E-05
  10  norm          2.1436        .62661        .13075E-07   -.10307E-03
  11  norm          .40746        .97743        .56226E-06    .21481E-03
  12  Prefactor     .10000E-03    8.0067       -.47021E-06** at limit **
  13  Prefactor     80.108        40.353        .30607E-06    .87733E-04
  14  Prefactor     .10000E-03    72.466        .30138E-05** at limit **
  15  norm          .10000E-03    4.2505       -.31433E-06** at limit **
  16  Prefactor     .10000E-03    4.0462       -.13753E-05** at limit **
  17  Prefactor     .10000E-03    26.813       -.15041E-05** at limit **
  18  Prefactor     6.6441        45.924        .15458E-05   -.51126E-05
  19  Prefactor     .10000E-03    13.961       -.39878E-05** at limit **
  20  norm          7.4660        1.8683        .36438E-08    .65837E-04
  21  Prefactor     7.2918        6.4533        .19647E-06   -.27964E-04
  22  Normalizat    .97337        .16783       -.27825E-06   -.25215E-04
  23  Prefactor     .70153        .12706       -.35224E-06   -.93887E-05
                               ERR DEF=  .500    
Final values: 
  norm       = 0.0001
  norm       = 2.42492
  Prefactor  = 14.0168
  Prefactor  = 2.11093
  Prefactor  = 0.0001
  Prefactor  = 10.1336
  Prefactor  = 0.0001
  norm       = 0.0001
  norm       = 1.19802
  norm       = 2.14361
  norm       = 0.407464
  Prefactor  = 0.0001
  Prefactor  = 80.1076
  Prefactor  = 0.0001
  norm       = 0.0001
  Prefactor  = 0.0001
  Prefactor  = 0.0001
  Prefactor  = 6.64405
  Prefactor  = 0.0001
  norm       = 7.46599
  Prefactor  = 7.29182
  Normalizat = 0.973372
  Prefactor  = 0.701528
 **********
 **   18 **HESSE 
 **********

 FCN=   6876.518     FROM HESSE     STATUS=OK           372 CALLS     2918 TOTAL
                     EDM=   .80E-10    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  norm          .10000E-03    1.0863        .83845E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   2  norm          2.4249        4.5055        .23084E-03   -1.5397    
   3  Prefactor     14.017        11.719        .10700E-03   -1.4959    
   4  Prefactor     2.1109        2.9372        .15962E-03   -1.5417    
   5  Prefactor     .10000E-03    6.8538        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   6  Prefactor     10.134        9.9118        .12591E-03   -1.5071    
   7  Prefactor     .10000E-03    10.236        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   8  norm          .10000E-03    .81131        .72759E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   9  norm          1.1980        1.2734        .92019E-04   -1.5489    
  10  norm          2.1436        .62518        .33593E-04   -1.5415    
  11  norm          .40746        .93832        .12508E-02   -1.5580    
  12  Prefactor     .10000E-03    8.0665        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  13  Prefactor     80.108        40.313        .44879E-04   -1.3916    
  14  Prefactor     .10000E-03    74.106        .36285E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  15  norm          .10000E-03    4.2524        .16692E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  16  Prefactor     .10000E-03    4.0322        .16222E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  17  Prefactor     .10000E-03    26.845        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  18  Prefactor     6.6441        46.481        .15517E-03   -1.5192    
  19  Prefactor     .10000E-03    13.852        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  20  norm          7.4660        1.8673        .53594E-04   -1.5161    
  21  Prefactor     7.2918        6.4455        .14854E-03   -1.5168    
  22  Normalizat    .97337        .19550        .24394E-03   -.93928    
  23  Prefactor     .70153        .14777        .22531E-03   -1.0347    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 8.03972e-11
Minuit parameter uncertainties:
  1  7.80044e-08
  2  4.50611
  3  11.721
  4  2.93735
  5  2.38498e-07
  6  9.91344
  7  1.34519e-06
  8  3.77735e-07
  9  1.2734
  10  0.625186
  11  0.93835
  12  1.25797e-05
  13  40.3268
  14  5.70636e-05
  15  3.24097e-06
  16  1.11537e-05
  17  2.30741e-05
  18  35.1855
  19  6.29036e-05
  20  1.86735
  21  6.44608
  22  0.195641
  23  0.147853
Done.

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

Extracting fit parameters...

4FGL J0948.9+0022
   Spectrum: LogParabola
217         norm:  2.144e+00  6.252e-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:  7.015e-01  1.479e-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.734e-01  1.956e-01  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Fixed Index): 24.58
Ra Dec: 147.244 0.372
Photon Index (Fixed Index): 2.45 +/- 0.00
Photon Flux (Fixed Index): 1.65e-07 +/- 4.80e-08
Energy Flux (Fixed Index): 4.10e-05 +/- 1.20e-05

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) = 6876.25582928
delta logL = 0.262112335621

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

MINUIT Return Code (Free Index): 0
logL (Free Index) = 6876.22289128
delta logL = 0.295050333343

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'norm      '    2.0713       1.0000         .10000E-03   10000.    
     2 'alpha     '    2.1934       1.0000          .0000       5.0000    
     3 'Normalizat'    .99800       1.0000         .10000E-01   10.000    
     4 'Prefactor '    .68660       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=   6876.223     FROM MIGRAD    STATUS=CONVERGED     46 CALLS      200 TOTAL
                     EDM=   .22E-09    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  norm          2.0713        .61091        .71757E-02    .25696E-02
   2  alpha         2.1934        .30397        .23147       -.31673E-04
   3  Normalizat    .99799        .15965        .46142E-01   -.22395E-03
   4  Prefactor     .68660        .12666        .42223E-01   -.23220E-03
                               ERR DEF=  .500    
Final values: 
  norm       = 2.07127
  alpha      = 2.1934
  Normalizat = 0.997995
  Prefactor  = 0.686601
 **********
 **   18 **HESSE 
 **********

 FCN=   6876.223     FROM HESSE     STATUS=OK            31 CALLS      231 TOTAL
                     EDM=   .20E-09    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  norm          2.0713        .63277        .33552E-04   -1.5420    
   2  alpha         2.1934        .32852        .98619E-02   -.12295    
   3  Normalizat    .99799        .18683        .24137E-03   -.93098    
   4  Prefactor     .68660        .14751        .22747E-03   -1.0405    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 1.9663e-10
Minuit parameter uncertainties:
  1  0.632772
  2  0.329487
  3  0.186953
  4  0.147589
shell-init: error retrieving current directory: getcwd: cannot access parent directories: No such file or directory
rmdir: failed to remove `/scratch/kocevski/516797': 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) = 6876.22289127
delta logL = 0.295050343587

Extracting fit parameters...

4FGL J0948.9+0022
   Spectrum: LogParabola
217         norm:  2.071e+00  6.328e-01  1.000e-04  1.000e+04 ( 1.000e-10)
218        alpha:  2.193e+00  3.295e-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:  6.866e-01  1.476e-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.980e-01  1.870e-01  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Free Index): 25.00
Ra Dec: 147.244 0.372
Photon Index (Free Index): 2.19 +/- 0.33
Photon Flux (Free Index): 1.47e-07 +/- 4.96e-08
Energy Flux (Free Index): 4.38e-05 +/- 1.35e-05

Creating a high resolution counts map...
INFO: Auto-setting vmin to -2.500e-04 [aplpy.core]
INFO: Auto-setting vmax to  2.775e-03 [aplpy.core]
Saving /scratch/kocevski/516797/cmap_HighResolution_445392001_445651201_4FGL_J0948.9+0022_daily_bin795.png

Cleaning up...

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

Updating database...

UPDATE lightcurve_data_v2 SET comment='SUCCESS', photon_flux='1.65e-07', energy_flux2='4.38e-05', photon_flux_error='4.80e-08', dlogl='2.95e-01', energy_flux='4.10e-05', photon_flux2='1.47e-07', job_status='DONE', time_completed='2021-09-01 02:59:11.170588', photon_index_error2='0.33', photon_index2='2.19', ts='24.58', fit_tolerance='1e-08', GAL='0.70', photon_index_error='0.00', energy_flux_error2='1.35e-05', EG='0.97', time_epoch_completed='1630490351.17', return_code='0', job_id='516797', GAL2='0.69', EG2='1.00', return_code2='0', energy_flux_error='1.20e-05', photon_flux_error2='4.96e-08', ts2='25.00', photon_index='2.45' WHERE bin_id='795' AND source_name='4FGL J0948.9+0022' AND cadence='daily';

Database successfully updated.


Analysis Complete.


Wed Sep  1 02:59:11 PDT 2021


------------------------------------------------------------
Sender: LSF System <lsf@bullet0270>
Subject: Job 516797: <4FGL_J0948.9+0022_daily_bin795> in cluster <slac> Done

Job <4FGL_J0948.9+0022_daily_bin795> 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) <bullet0270>, 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:59:11 2021
Results reported at Wed Sep  1 02:59:11 2021

Your job looked like:

------------------------------------------------------------
# LSBATCH: User input
/nfs/farm/g/glast/g/LCRepository/Likelihood/Scripts/LikelihoodAnalysis.py 4FGL_J0948.9+0022_daily_bin795 147.244 0.3717 445392001 445651201 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 :                                   574.31 sec.
    Max Memory :                                 1256 MB
    Average Memory :                             265.81 MB
    Total Requested Memory :                     -
    Delta Memory :                               -
    Max Swap :                                   -
    Max Processes :                              5
    Max Threads :                                21
    Run time :                                   761 sec.
    Turnaround time :                            762 sec.

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

