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


Performing analysis on: 4FGL_J0948.9+0022_daily_bin467
RA = 147.244, Dec = 0.3717
tmin = 360374401, tmax = 360633601
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='514907', job_status='RUN', time_executed='2021-09-01 02:43:20.974647', time_epoch_executed='1630489400.97' WHERE source_name='4FGL J0948.9+0022' and cadence='daily' and bin_id='467'

Database successfully updated.
Done.

Creating custom output directory:
/scratch/kocevski/514907

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

Retrieving the FT1 file...

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

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

Retrieving 46 files...
Done.


Merging files...

Checksum keywords updated successfully.

Merged file saved to:
/scratch/kocevski/514907/ft1_4FGL_J0948.9+0022_daily_bin467.fits


Retrieving the FT1 file...

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

Retrieving 46 files...
Done.


Merging files...

Merged file saved to:
/scratch/kocevski/514907/ft2_4FGL_J0948.9+0022_daily_bin467.fits


Selecting the photons:
time -p gtselect infile=/scratch/kocevski/514907/ft1_4FGL_J0948.9+0022_daily_bin467.fits outfile=/scratch/kocevski/514907/ft1_filteredMKT_4FGL_J0948.9+0022_daily_bin467.fits ra=147.244 dec=0.3717 rad=12.0 tmin=360374401.0 tmax=360633601.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 2.64
user 2.44
sys 0.19

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

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

Generating the livetime cube:
time -p gtltcube evfile="/scratch/kocevski/514907/ft1_filtered_4FGL_J0948.9+0022_daily_bin467.fits" evtable="EVENTS" scfile=/scratch/kocevski/514907/ft2_4FGL_J0948.9+0022_daily_bin467.fits sctable="SC_DATA" outfile=/scratch/kocevski/514907/ltcube_360374401_360633601_4FGL_J0948.9+0022_daily_bin467.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/514907/ft2_4FGL_J0948.9+0022_daily_bin467.fits
.....................!
real 12.89
user 12.56
sys 0.28

Generating the exposure map:
time -p gtexpmap evfile=/scratch/kocevski/514907/ft1_filtered_4FGL_J0948.9+0022_daily_bin467.fits evtable="EVENTS" scfile=/scratch/kocevski/514907/ft2_4FGL_J0948.9+0022_daily_bin467.fits sctable="SC_DATA" expcube=/scratch/kocevski/514907/ltcube_360374401_360633601_4FGL_J0948.9+0022_daily_bin467.fits outfile=/scratch/kocevski/514907/expmap_360374401_360633601_4FGL_J0948.9+0022_daily_bin467.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/514907/ltcube_360374401_360633601_4FGL_J0948.9+0022_daily_bin467.fits
.....................!
real 150.56
user 145.72
sys 4.21

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/514907/ft1_filtered_4FGL_J0948.9+0022_daily_bin467.fits scfile=/scratch/kocevski/514907/ft2_4FGL_J0948.9+0022_daily_bin467.fits outfile=/scratch/kocevski/514907/cmap_360374401_360633601_4FGL_J0948.9+0022_daily_bin467.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.50
user 0.31
sys 0.14

Creating the high resolution counts map:
time -p gtbin evfile=/scratch/kocevski/514907/ft1_filtered_4FGL_J0948.9+0022_daily_bin467.fits scfile=/scratch/kocevski/514907/ft2_4FGL_J0948.9+0022_daily_bin467.fits outfile=/scratch/kocevski/514907/cmap_HighResolution_360374401_360633601_4FGL_J0948.9+0022_daily_bin467.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.47
user 0.30
sys 0.15

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

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

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

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

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'norm      '    34.985       1.0000         .10000E-03   10000.    
     2 'norm      '    .22869E-03   1.0000         .10000E-03   10000.    
     3 'Prefactor '    .10048E-03   1.0000         .10000E-03   10000.    
     4 'Prefactor '    .50045       1.0000         .10000E-03   10000.    
     5 'Prefactor '    .10030E-03   1.0000         .10000E-03   10000.    
     6 'Prefactor '    22.524       1.0000         .10000E-03   10000.    
     7 'Prefactor '    .10000E-03   1.0000         .10000E-03   10000.    
     8 'norm      '    .67757       1.0000         .10000E-03   10000.    
     9 'norm      '    2.2856       1.0000         .10000E-03   10000.    
    10 'norm      '    3.7007       1.0000         .10000E-03   10000.    
    11 'norm      '    1.6096       1.0000         .10000E-03   10000.    
    12 'Prefactor '    .10005E-03   1.0000         .10000E-03   10000.    
    13 'Prefactor '    26.258       1.0000         .10000E-03   10000.    
    14 'Prefactor '    .10202E-03   1.0000         .10000E-03   10000.    
    15 'norm      '    .10009E-03   1.0000         .10000E-03   10000.    
    16 'Prefactor '    .10696E-03   1.0000         .10000E-03   10000.    
    17 'Prefactor '    .10073E-03   1.0000         .10000E-03   10000.    
    18 'Prefactor '    15.061       1.0000         .10000E-03   10000.    
    19 'Prefactor '    27.778       1.0000         .10000E-03   10000.    
    20 'norm      '    1.0970       1.0000         .10000E-03   10000.    
    21 'Prefactor '    .10044E-03   1.0000         .10000E-03   10000.    
    22 'Normalizat'    1.0582       1.0000         .10000E-01   10.000    
    23 'Prefactor '    1.1084       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=   5586.685     FROM MIGRAD    STATUS=CONVERGED    508 CALLS     2627 TOTAL
                     EDM=   .19E-08  STRATEGY=1  ERROR MATRIX UNCERTAINTY=   .6%

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  norm          34.987        8.4152       -.85806E-06    .98374E-03
   2  norm          .10002E-03    4.3360       -.49172E-06** at limit **
   3  Prefactor     .10000E-03    31.395        .53428E-05** at limit **
   4  Prefactor     .48564        2.8356       -.33897E-05    .84820E-03
   5  Prefactor     .10000E-03    30.295        .97068E-06** at limit **
   6  Prefactor     22.525        20.217       -.15121E-05    .37513E-03
   7  Prefactor     .10000E-03    29.088       -.40517E-05** at limit **
   8  norm          .65898        3.2421       -.25061E-05    .44248E-03
   9  norm          2.2854        1.2526       -.32525E-06    .38692E-03
  10  norm          3.7006        1.0142        .12260E-06    .17472E-02
  11  norm          1.6098        1.9536       -.15325E-06    .18991E-03
  12  Prefactor     .10000E-03    5.7606        .72604E-06** at limit **
  13  Prefactor     26.204        58.590       -.89877E-04    .90710E-05
  14  Prefactor     .10000E-03    18.987        .15324E-05** at limit **
  15  norm          .10000E-03    5.6958       -.62662E-06** at limit **
  16  Prefactor     .10000E-03    7.1991        .11619E-05** at limit **
  17  Prefactor     .10000E-03    28.974       -.43714E-05** at limit **
  18  Prefactor     15.043        54.748       -.36684E-04   -.87105E-05
  19  Prefactor     27.776        23.255        .32935E-05    .33740E-04
  20  norm          1.0978        1.7935        .17468E-05    .80454E-03
  21  Prefactor     .10000E-03    3.9669        .29451E-06** at limit **
  22  Normalizat    1.0583        .24070        .14823E-04    .25964E-03
  23  Prefactor     1.1084        .17717       -.14059E-05    .10518E-02
                               ERR DEF=  .500    
Final values: 
  norm       = 34.987
  norm       = 0.000100017
  Prefactor  = 0.000100001
  Prefactor  = 0.48564
  Prefactor  = 0.0001
  Prefactor  = 22.5249
  Prefactor  = 0.0001
  norm       = 0.658976
  norm       = 2.28542
  norm       = 3.70057
  norm       = 1.60985
  Prefactor  = 0.0001
  Prefactor  = 26.2039
  Prefactor  = 0.000100002
  norm       = 0.0001
  Prefactor  = 0.000100002
  Prefactor  = 0.0001
  Prefactor  = 15.0427
  Prefactor  = 27.7764
  norm       = 1.0978
  Prefactor  = 0.0001
  Normalizat = 1.05827
  Prefactor  = 1.1084
 **********
 **   18 **HESSE 
 **********

 FCN=   5586.685     FROM HESSE     STATUS=OK           370 CALLS     2997 TOTAL
                     EDM=   .82E-08    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  norm          34.987        8.3934        .67752E-04   -1.4524    
   2  norm          .10002E-03    39.803        .30220E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   3  Prefactor     .10000E-03    31.907        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   4  Prefactor     .48564        10.390        .22926E-02   -1.5569    
   5  Prefactor     .10000E-03    30.424        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   6  Prefactor     22.525        20.185        .84398E-04   -1.4758    
   7  Prefactor     .10000E-03    29.119        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   8  norm          .65898        10.641        .25263E-02   -1.5546    
   9  norm          2.2854        1.2550        .59560E-04   -1.5406    
  10  norm          3.7006        1.0163        .36961E-04   -1.5323    
  11  norm          1.6098        1.9333        .11035E-03   -1.5454    
  12  Prefactor     .10000E-03    5.7888        .17518E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  13  Prefactor     26.204        58.644        .78177E-04   -1.4684    
  14  Prefactor     .10000E-03    19.039        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  15  norm          .10000E-03    5.7003        .17421E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  16  Prefactor     .10000E-03    7.2183        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  17  Prefactor     .10000E-03    28.996        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  18  Prefactor     15.043        54.604        .10321E-03   -1.4932    
  19  Prefactor     27.776        23.217        .76012E-04   -1.4653    
  20  norm          1.0978        1.7510        .11869E-03   -1.5498    
  21  Prefactor     .10000E-03    3.9886        .14534E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  22  Normalizat    1.0583        .28093        .30510E-03   -.91103    
  23  Prefactor     1.1084        .21044        .24068E-03   -.89198    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 8.21545e-09
Minuit parameter uncertainties:
  1  8.39372
  2  0.0016576
  3  0.000419923
  4  4.49297
  5  0.00014248
  6  20.1912
  7  8.16643e-05
  8  5.29682
  9  1.25503
  10  1.01626
  11  1.93338
  12  1.71712e-05
  13  58.7737
  14  0.000402899
  15  8.20761e-06
  16  0.000262438
  17  2.63853e-05
  18  54.7862
  19  23.2247
  20  1.75112
  21  5.74754e-05
  22  0.281326
  23  0.210601
Done.

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

Extracting fit parameters...

4FGL J0948.9+0022
   Spectrum: LogParabola
217         norm:  3.701e+00  1.016e+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

GAL_V02
   Spectrum: PowerLaw
472    Prefactor:  1.108e+00  2.106e-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.058e+00  2.813e-01  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Fixed Index): 30.95
Ra Dec: 147.244 0.372
Photon Index (Fixed Index): 2.45 +/- 0.00
Photon Flux (Fixed Index): 2.84e-07 +/- 7.80e-08
Energy Flux (Fixed Index): 7.08e-05 +/- 1.94e-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) = 5586.68246261
delta logL = 0.00249092604736

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

MINUIT Return Code (Free Index): 0
logL (Free Index) = 5586.68217523
delta logL = 0.00277830448158

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'norm      '    3.7160       1.0000         .10000E-03   10000.    
     2 'alpha     '    2.4816       1.0000          .0000       5.0000    
     3 'Normalizat'    1.0525       1.0000         .10000E-01   10.000    
     4 'Prefactor '    1.1116       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=   5586.682     FROM MIGRAD    STATUS=CONVERGED     44 CALLS      199 TOTAL
                     EDM=   .46E-10    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  norm          3.7160        1.0411        .52371E-02    .96924E-03
   2  alpha         2.4816        .37095        .24098        .35325E-04
   3  Normalizat    1.0525        .22388        .69112E-01    .32256E-04
   4  Prefactor     1.1116        .17763        .54368E-01   -.28679E-04
                               ERR DEF=  .500    
Final values: 
  norm       = 3.71601
  alpha      = 2.4816
  Normalizat = 1.05254
  Prefactor  = 1.11164
 **********
 **   18 **HESSE 
 **********

 FCN=   5586.682     FROM HESSE     STATUS=OK            33 CALLS      232 TOTAL
                     EDM=   .90E-10    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  norm          3.7160        1.0231        .36868E-04   -1.5322    
   2  alpha         2.4816        .38220        .10232E-01   -.73596E-02
   3  Normalizat    1.0525        .26971        .30577E-03   -.91291    
   4  Prefactor     1.1116        .21134        .24038E-03   -.89095    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 8.99314e-11
Minuit parameter uncertainties:
  1  1.02307
  2  0.383704
  3  0.27006
  4  0.2115
shell-init: error retrieving current directory: getcwd: cannot access parent directories: No such file or directory
rmdir: failed to remove `/scratch/kocevski/514907': 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) = 5586.68217523
delta logL = 0.00277830457799

Extracting fit parameters...

4FGL J0948.9+0022
   Spectrum: LogParabola
217         norm:  3.716e+00  1.023e+00  1.000e-04  1.000e+04 ( 1.000e-10)
218        alpha:  2.482e+00  3.837e-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.112e+00  2.115e-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.053e+00  2.701e-01  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Free Index): 30.68
Ra Dec: 147.244 0.372
Photon Index (Free Index): 2.48 +/- 0.38
Photon Flux (Free Index): 2.88e-07 +/- 9.50e-08
Energy Flux (Free Index): 7.06e-05 +/- 1.94e-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/514907/cmap_HighResolution_360374401_360633601_4FGL_J0948.9+0022_daily_bin467.png

Cleaning up...

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

Updating database...

UPDATE lightcurve_data_v2 SET comment='SUCCESS', photon_flux='2.84e-07', energy_flux2='7.06e-05', photon_flux_error='7.80e-08', dlogl='2.78e-03', energy_flux='7.08e-05', photon_flux2='2.88e-07', job_status='DONE', time_completed='2021-09-01 02:50:31.868718', photon_index_error2='0.38', photon_index2='2.48', ts='30.95', fit_tolerance='1e-08', GAL='1.11', photon_index_error='0.00', energy_flux_error2='1.94e-05', EG='1.06', time_epoch_completed='1630489831.87', return_code='0', job_id='514907', GAL2='1.11', EG2='1.05', return_code2='0', energy_flux_error='1.94e-05', photon_flux_error2='9.50e-08', ts2='30.68', photon_index='2.45' WHERE bin_id='467' AND source_name='4FGL J0948.9+0022' AND cadence='daily';

Database successfully updated.


Analysis Complete.


Wed Sep  1 02:50:31 PDT 2021


------------------------------------------------------------
Sender: LSF System <lsf@bullet0071>
Subject: Job 514907: <4FGL_J0948.9+0022_daily_bin467> in cluster <slac> Done

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

Your job looked like:

------------------------------------------------------------
# LSBATCH: User input
/nfs/farm/g/glast/g/LCRepository/Likelihood/Scripts/LikelihoodAnalysis.py 4FGL_J0948.9+0022_daily_bin467 147.244 0.3717 360374401 360633601 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 :                                   422.24 sec.
    Max Memory :                                 1256 MB
    Average Memory :                             299.89 MB
    Total Requested Memory :                     -
    Delta Memory :                               -
    Max Swap :                                   -
    Max Processes :                              5
    Max Threads :                                21
    Run time :                                   567 sec.
    Turnaround time :                            568 sec.

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

