/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 172 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 = 7421
number of fields = 27
No RA_SUN column yet. Adding RA_SUN/DEC_SUN columns.
Done.


Performing analysis on: 4FGL_J0948.9+0022_daily_bin406
RA = 147.244, Dec = 0.3717
tmin = 344563201, tmax = 344822401
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='514834', job_status='RUN', time_executed='2021-09-01 02:44:32.409487', time_epoch_executed='1630489472.41' WHERE source_name='4FGL J0948.9+0022' and cadence='daily' and bin_id='406'

Database successfully updated.
Done.

Creating custom output directory:
/scratch/kocevski/514834

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

Retrieving the FT1 file...

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

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

Retrieving 46 files...
Done.


Merging files...

Checksum keywords updated successfully.

Merged file saved to:
/scratch/kocevski/514834/ft1_4FGL_J0948.9+0022_daily_bin406.fits


Retrieving the FT1 file...

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

Retrieving 46 files...
Done.


Merging files...

Merged file saved to:
/scratch/kocevski/514834/ft2_4FGL_J0948.9+0022_daily_bin406.fits


Selecting the photons:
time -p gtselect infile=/scratch/kocevski/514834/ft1_4FGL_J0948.9+0022_daily_bin406.fits outfile=/scratch/kocevski/514834/ft1_filteredMKT_4FGL_J0948.9+0022_daily_bin406.fits ra=147.244 dec=0.3717 rad=12.0 tmin=344563201.0 tmax=344822401.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.44
user 3.19
sys 0.19

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

Selecting the good time intervals:
time -p gtmktime scfile=/scratch/kocevski/514834/ft2_4FGL_J0948.9+0022_daily_bin406.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/514834/ft1_filteredMKT_4FGL_J0948.9+0022_daily_bin406.fits evtable="EVENTS" outfile="/scratch/kocevski/514834/ft1_filtered_4FGL_J0948.9+0022_daily_bin406.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.86
user 0.34
sys 0.18

Generating the livetime cube:
time -p gtltcube evfile="/scratch/kocevski/514834/ft1_filtered_4FGL_J0948.9+0022_daily_bin406.fits" evtable="EVENTS" scfile=/scratch/kocevski/514834/ft2_4FGL_J0948.9+0022_daily_bin406.fits sctable="SC_DATA" outfile=/scratch/kocevski/514834/ltcube_344563201_344822401_4FGL_J0948.9+0022_daily_bin406.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/514834/ft2_4FGL_J0948.9+0022_daily_bin406.fits
.....................!
real 12.38
user 11.66
sys 0.34

Generating the exposure map:
time -p gtexpmap evfile=/scratch/kocevski/514834/ft1_filtered_4FGL_J0948.9+0022_daily_bin406.fits evtable="EVENTS" scfile=/scratch/kocevski/514834/ft2_4FGL_J0948.9+0022_daily_bin406.fits sctable="SC_DATA" expcube=/scratch/kocevski/514834/ltcube_344563201_344822401_4FGL_J0948.9+0022_daily_bin406.fits outfile=/scratch/kocevski/514834/expmap_344563201_344822401_4FGL_J0948.9+0022_daily_bin406.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/514834/ltcube_344563201_344822401_4FGL_J0948.9+0022_daily_bin406.fits
.....................!
real 192.71
user 186.24
sys 3.86

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/514834/ft1_filtered_4FGL_J0948.9+0022_daily_bin406.fits scfile=/scratch/kocevski/514834/ft2_4FGL_J0948.9+0022_daily_bin406.fits outfile=/scratch/kocevski/514834/cmap_344563201_344822401_4FGL_J0948.9+0022_daily_bin406.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.66
user 0.38
sys 0.14

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

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

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

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

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

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'norm      '    10.897       1.0000         .10000E-03   10000.    
     2 'norm      '    .10021E-03   1.0000         .10000E-03   10000.    
     3 'Prefactor '    .10206E-03   1.0000         .10000E-03   10000.    
     4 'Prefactor '    2.9891       1.0000         .10000E-03   10000.    
     5 'Prefactor '    33.814       1.0000         .10000E-03   10000.    
     6 'Prefactor '    10.738       1.0000         .10000E-03   10000.    
     7 'Prefactor '    .10036E-03   1.0000         .10000E-03   10000.    
     8 'norm      '    .10007E-03   1.0000         .10000E-03   10000.    
     9 'norm      '    .10002E-03   1.0000         .10000E-03   10000.    
    10 'norm      '    2.1700       1.0000         .10000E-03   10000.    
    11 'norm      '    3.8417       1.0000         .10000E-03   10000.    
    12 'Prefactor '    19.720       1.0000         .10000E-03   10000.    
    13 'Prefactor '    .10071E-03   1.0000         .10000E-03   10000.    
    14 'Prefactor '    .13581E-03   1.0000         .10000E-03   10000.    
    15 'norm      '    .10002E-03   1.0000         .10000E-03   10000.    
    16 'Prefactor '    .10008E-03   1.0000         .10000E-03   10000.    
    17 'Prefactor '    9.7422       1.0000         .10000E-03   10000.    
    18 'Prefactor '    .10019E-03   1.0000         .10000E-03   10000.    
    19 'Prefactor '    .10001E-03   1.0000         .10000E-03   10000.    
    20 'norm      '    1.0404       1.0000         .10000E-03   10000.    
    21 'Prefactor '    .46136       1.0000         .10000E-03   10000.    
    22 'Normalizat'    .67864       1.0000         .10000E-01   10.000    
    23 'Prefactor '    1.0995       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=   7496.714     FROM MIGRAD    STATUS=CONVERGED    516 CALLS     2559 TOTAL
                     EDM=   .16E-08  STRATEGY=1  ERROR MATRIX UNCERTAINTY=  1.7%

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  norm          10.898        4.3363        .54809E-06   -.21584E-03
   2  norm          .10000E-03    6.1359       -.92520E-07** at limit **
   3  Prefactor     .10000E-03    20.162       -.67140E-05** at limit **
   4  Prefactor     2.9899        3.6314       -.77869E-06   -.68435E-03
   5  Prefactor     33.811        32.552       -.21647E-05    .10847E-03
   6  Prefactor     10.739        12.392       -.22351E-05   -.11879E-02
   7  Prefactor     .10000E-03    25.321        .80996E-05** at limit **
   8  norm          .10000E-03    1.1044       -.61229E-07** at limit **
   9  norm          .10000E-03    .55773       -.10253E-06** at limit **
  10  norm          2.1701        .62690       -.17362E-07    .16899E-03
  11  norm          3.8414        1.8207       -.53500E-07   -.64860E-04
  12  Prefactor     19.721        12.209        .60055E-06   -.32355E-03
  13  Prefactor     .10000E-03    18.129        .44216E-05** at limit **
  14  Prefactor     .10000E-03    47.877       -.18415E-05** at limit **
  15  norm          .10000E-03    4.9729       -.32545E-07** at limit **
  16  Prefactor     .10000E-03    4.3465        .14352E-06** at limit **
  17  Prefactor     9.7329        45.711       -.20580E-04    .66460E-04
  18  Prefactor     .10000E-03    22.640       -.36413E-05** at limit **
  19  Prefactor     .10000E-03    5.7146        .15808E-06** at limit **
  20  norm          1.0403        1.1001       -.36914E-07   -.38017E-03
  21  Prefactor     .46626        2.5187       -.12374E-05    .39100E-03
  22  Normalizat    .67838        .17872        .30525E-05    .15282E-03
  23  Prefactor     1.0997        .13814       -.30002E-06    .40090E-03
                               ERR DEF=  .500    
Final values: 
  norm       = 10.898
  norm       = 0.0001
  Prefactor  = 0.000100001
  Prefactor  = 2.9899
  Prefactor  = 33.8114
  Prefactor  = 10.739
  Prefactor  = 0.000100001
  norm       = 0.0001
  norm       = 0.0001
  norm       = 2.17013
  norm       = 3.84143
  Prefactor  = 19.7213
  Prefactor  = 0.0001
  Prefactor  = 0.0001
  norm       = 0.0001
  Prefactor  = 0.0001
  Prefactor  = 9.73295
  Prefactor  = 0.0001
  Prefactor  = 0.0001
  norm       = 1.04035
  Prefactor  = 0.466257
  Normalizat = 0.678382
  Prefactor  = 1.09968
 **********
 **   18 **HESSE 
 **********

 FCN=   7496.714     FROM HESSE     STATUS=OK           372 CALLS     2931 TOTAL
                     EDM=   .39E-08    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  norm          10.898        4.3283        .10862E-03   -1.5048    
   2  norm          .10000E-03    6.3273        .36285E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   3  Prefactor     .10000E-03    20.158        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   4  Prefactor     2.9899        3.6501        .17082E-03   -1.5362    
   5  Prefactor     33.811        32.406        .68912E-04   -1.4544    
   6  Prefactor     10.739        13.337        .61133E-03   -1.5052    
   7  Prefactor     .10000E-03    25.043        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   8  norm          .10000E-03    1.1149        .88836E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   9  norm          .10000E-03    1.0320        .12461E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  10  norm          2.1701        .62569        .34645E-04   -1.5413    
  11  norm          3.8414        1.8222        .77625E-04   -1.5316    
  12  Prefactor     19.721        12.156        .45097E-03   -1.4820    
  13  Prefactor     .10000E-03    18.057        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  14  Prefactor     .10000E-03    49.021        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  15  norm          .10000E-03    4.9743        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  16  Prefactor     .10000E-03    4.3700        .17621E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  17  Prefactor     9.7329        43.952        .12839E-03   -1.5084    
  18  Prefactor     .10000E-03    22.536        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  19  Prefactor     .10000E-03    5.7238        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  20  norm          1.0403        1.0181        .88139E-03   -1.5504    
  21  Prefactor     .46626        11.922        .25647E-02   -1.5571    
  22  Normalizat    .67838        .20730        .30125E-03   -1.0475    
  23  Prefactor     1.0997        .16276        .20038E-03   -.89477    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 3.9464e-09
Minuit parameter uncertainties:
  1  4.3284
  2  2.5673e-05
  3  0.000225339
  4  3.65036
  5  32.4226
  6  13.3404
  7  0.000271308
  8  2.09705e-06
  9  1.24994e-05
  10  0.625691
  11  1.82226
  12  12.1573
  13  0.000120771
  14  5.89273e-05
  15  1.60505e-05
  16  3.25692e-05
  17  41.4162
  18  0.000189987
  19  1.79966e-05
  20  1.01808
  21  4.71584
  22  0.207535
  23  0.162833
Done.

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

Extracting fit parameters...

4FGL J0948.9+0022
   Spectrum: LogParabola
217         norm:  2.170e+00  6.257e-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.100e+00  1.628e-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:  6.784e-01  2.075e-01  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Fixed Index): 25.32
Ra Dec: 147.244 0.372
Photon Index (Fixed Index): 2.45 +/- 0.00
Photon Flux (Fixed Index): 1.67e-07 +/- 4.80e-08
Energy Flux (Fixed Index): 4.15e-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) = 7496.70939548
delta logL = 0.00459079867414

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

MINUIT Return Code (Free Index): 0
logL (Free Index) = 7496.70891476
delta logL = 0.00507152028877

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'norm      '    2.1550       1.0000         .10000E-03   10000.    
     2 'alpha     '    2.4162       1.0000          .0000       5.0000    
     3 'Normalizat'    .68304       1.0000         .10000E-01   10.000    
     4 'Prefactor '    1.0971       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=   7496.709     FROM MIGRAD    STATUS=CONVERGED     48 CALLS      197 TOTAL
                     EDM=   .11E-10    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  norm          2.1551        .64066        .70161E-02   -.20673E-03
   2  alpha         2.4162        .34529        .26417        .85937E-05
   3  Normalizat    .68306        .16741        .67868E-01    .45415E-04
   4  Prefactor     1.0970        .13750        .37700E-01    .13239E-05
                               ERR DEF=  .500    
Final values: 
  norm       = 2.15509
  alpha      = 2.4162
  Normalizat = 0.683063
  Prefactor  = 1.09703
 **********
 **   18 **HESSE 
 **********

 FCN=   7496.709     FROM HESSE     STATUS=OK            33 CALLS      230 TOTAL
                     EDM=   .20E-10    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  norm          2.1551        .63869        .34738E-04   -1.5414    
   2  alpha         2.4162        .36169        .11174E-01   -.33526E-01
   3  Normalizat    .68306        .19843        .30033E-03   -1.0457    
   4  Prefactor     1.0970        .16164        .20060E-03   -.89562    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 2.04432e-11
Minuit parameter uncertainties:
  1  0.638689
  2  0.362961
  3  0.198641
  4  0.161713
shell-init: error retrieving current directory: getcwd: cannot access parent directories: No such file or directory
rmdir: failed to remove `/scratch/kocevski/514834': 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) = 7496.70891474
delta logL = 0.00507153739272

Extracting fit parameters...

4FGL J0948.9+0022
   Spectrum: LogParabola
217         norm:  2.155e+00  6.387e-01  1.000e-04  1.000e+04 ( 1.000e-10)
218        alpha:  2.416e+00  3.630e-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.097e+00  1.617e-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:  6.831e-01  1.986e-01  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Free Index): 25.18
Ra Dec: 147.244 0.372
Photon Index (Free Index): 2.42 +/- 0.36
Photon Flux (Free Index): 1.63e-07 +/- 5.68e-08
Energy Flux (Free Index): 4.16e-05 +/- 1.21e-05

Creating a high resolution counts map...
INFO: Auto-setting vmin to -1.000e-01 [aplpy.core]
INFO: Auto-setting vmax to  1.110e+00 [aplpy.core]
Saving /scratch/kocevski/514834/cmap_HighResolution_344563201_344822401_4FGL_J0948.9+0022_daily_bin406.png

Cleaning up...

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

Updating database...

UPDATE lightcurve_data_v2 SET comment='SUCCESS', photon_flux='1.67e-07', energy_flux2='4.16e-05', photon_flux_error='4.80e-08', dlogl='5.07e-03', energy_flux='4.15e-05', photon_flux2='1.63e-07', job_status='DONE', time_completed='2021-09-01 02:54:36.071493', photon_index_error2='0.36', photon_index2='2.42', ts='25.32', fit_tolerance='1e-08', GAL='1.10', photon_index_error='0.00', energy_flux_error2='1.21e-05', EG='0.68', time_epoch_completed='1630490076.07', return_code='0', job_id='514834', GAL2='1.10', EG2='0.68', return_code2='0', energy_flux_error='1.20e-05', photon_flux_error2='5.68e-08', ts2='25.18', photon_index='2.45' WHERE bin_id='406' AND source_name='4FGL J0948.9+0022' AND cadence='daily';

Database successfully updated.


Analysis Complete.


Wed Sep  1 02:54:36 PDT 2021


------------------------------------------------------------
Sender: LSF System <lsf@bullet0237>
Subject: Job 514834: <4FGL_J0948.9+0022_daily_bin406> in cluster <slac> Done

Job <4FGL_J0948.9+0022_daily_bin406> was submitted from host <rhel6-64d> by user <kocevski> in cluster <slac> at Wed Sep  1 02:40:56 2021
Job was executed on host(s) <bullet0237>, in queue <medium>, as user <kocevski> in cluster <slac> at Wed Sep  1 02:40:58 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:40:58 2021
Terminated at Wed Sep  1 02:54:36 2021
Results reported at Wed Sep  1 02:54:36 2021

Your job looked like:

------------------------------------------------------------
# LSBATCH: User input
/nfs/farm/g/glast/g/LCRepository/Likelihood/Scripts/LikelihoodAnalysis.py 4FGL_J0948.9+0022_daily_bin406 147.244 0.3717 344563201 344822401 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 :                                   597.00 sec.
    Max Memory :                                 1255 MB
    Average Memory :                             293.35 MB
    Total Requested Memory :                     -
    Delta Memory :                               -
    Max Swap :                                   -
    Max Processes :                              5
    Max Threads :                                21
    Run time :                                   818 sec.
    Turnaround time :                            820 sec.

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

