/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 73 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 = 7420
number of fields = 22
No RA_SUN column yet. Adding RA_SUN/DEC_SUN columns.
Done.


Performing analysis on: 4FGL_J0948.9+0022_daily_bin95
RA = 147.244, Dec = 0.3717
tmin = 263952001, tmax = 264211201
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='513133', job_status='RUN', time_executed='2021-09-01 02:37:41.472597', time_epoch_executed='1630489061.47' WHERE source_name='4FGL J0948.9+0022' and cadence='daily' and bin_id='95'

Database successfully updated.
Done.

Creating custom output directory:
/scratch/kocevski/513133

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

Retrieving the FT1 file...

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

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

Retrieving 47 files...
Done.


Merging files...

Checksum keywords updated successfully.

Merged file saved to:
/scratch/kocevski/513133/ft1_4FGL_J0948.9+0022_daily_bin95.fits


Retrieving the FT1 file...

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

Retrieving 47 files...
Done.


Merging files...

Merged file saved to:
/scratch/kocevski/513133/ft2_4FGL_J0948.9+0022_daily_bin95.fits


Selecting the photons:
time -p gtselect infile=/scratch/kocevski/513133/ft1_4FGL_J0948.9+0022_daily_bin95.fits outfile=/scratch/kocevski/513133/ft1_filteredMKT_4FGL_J0948.9+0022_daily_bin95.fits ra=147.244 dec=0.3717 rad=12.0 tmin=263952001.0 tmax=264211201.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 1.77
user 1.52
sys 0.17

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

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

Generating the livetime cube:
time -p gtltcube evfile="/scratch/kocevski/513133/ft1_filtered_4FGL_J0948.9+0022_daily_bin95.fits" evtable="EVENTS" scfile=/scratch/kocevski/513133/ft2_4FGL_J0948.9+0022_daily_bin95.fits sctable="SC_DATA" outfile=/scratch/kocevski/513133/ltcube_263952001_264211201_4FGL_J0948.9+0022_daily_bin95.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/513133/ft2_4FGL_J0948.9+0022_daily_bin95.fits
.....................!
real 12.99
user 12.30
sys 0.40

Generating the exposure map:
time -p gtexpmap evfile=/scratch/kocevski/513133/ft1_filtered_4FGL_J0948.9+0022_daily_bin95.fits evtable="EVENTS" scfile=/scratch/kocevski/513133/ft2_4FGL_J0948.9+0022_daily_bin95.fits sctable="SC_DATA" expcube=/scratch/kocevski/513133/ltcube_263952001_264211201_4FGL_J0948.9+0022_daily_bin95.fits outfile=/scratch/kocevski/513133/expmap_263952001_264211201_4FGL_J0948.9+0022_daily_bin95.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/513133/ltcube_263952001_264211201_4FGL_J0948.9+0022_daily_bin95.fits
.....................!
real 192.88
user 185.30
sys 4.97

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/513133/ft1_filtered_4FGL_J0948.9+0022_daily_bin95.fits scfile=/scratch/kocevski/513133/ft2_4FGL_J0948.9+0022_daily_bin95.fits outfile=/scratch/kocevski/513133/cmap_263952001_264211201_4FGL_J0948.9+0022_daily_bin95.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 1.42
user 0.38
sys 0.17

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

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

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

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

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

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'norm      '    11.006       1.0000         .10000E-03   10000.    
     2 'norm      '    2.7485       1.0000         .10000E-03   10000.    
     3 'Prefactor '    .11738E-03   1.0000         .10000E-03   10000.    
     4 'Prefactor '    .10008E-03   1.0000         .10000E-03   10000.    
     5 'Prefactor '    .10007E-03   1.0000         .10000E-03   10000.    
     6 'Prefactor '    1.0767       1.0000         .10000E-03   10000.    
     7 'Prefactor '    3.2609       1.0000         .10000E-03   10000.    
     8 'norm      '    .10005E-03   1.0000         .10000E-03   10000.    
     9 'norm      '    1.4937       1.0000         .10000E-03   10000.    
    10 'norm      '    .53550       1.0000         .10000E-03   10000.    
    11 'norm      '    .12214E-03   1.0000         .10000E-03   10000.    
    12 'Prefactor '    10.038       1.0000         .10000E-03   10000.    
    13 'Prefactor '    .10001E-03   1.0000         .10000E-03   10000.    
    14 'Prefactor '    41.010       1.0000         .10000E-03   10000.    
    15 'norm      '    20.475       1.0000         .10000E-03   10000.    
    16 'Prefactor '    16.280       1.0000         .10000E-03   10000.    
    17 'Prefactor '    .10035E-03   1.0000         .10000E-03   10000.    
    18 'Prefactor '    .12696E-03   1.0000         .10000E-03   10000.    
    19 'Prefactor '    .10045E-03   1.0000         .10000E-03   10000.    
    20 'norm      '    .20209       1.0000         .10000E-03   10000.    
    21 'Prefactor '    .12987E-03   1.0000         .10000E-03   10000.    
    22 'Normalizat'    .78301       1.0000         .10000E-01   10.000    
    23 'Prefactor '    1.1693       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=   5958.938     FROM MIGRAD    STATUS=CONVERGED    533 CALLS     2605 TOTAL
                     EDM=   .32E-10  STRATEGY=1  ERROR MATRIX UNCERTAINTY=  4.5%

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  norm          11.006        5.2058        .25610E-06    .26973E-04
   2  norm          2.7478        5.2814        .29221E-05    .33868E-04
   3  Prefactor     .10000E-03    72.449       -.36709E-05** at limit **
   4  Prefactor     .10000E-03    3.1615        .10682E-06** at limit **
   5  Prefactor     .10000E-03    18.549       -.15699E-06** at limit **
   6  Prefactor     1.0787        9.6472       -.57313E-06    .96916E-04
   7  Prefactor     3.2106        107.62        .16101E-04   -.52897E-05
   8  norm          .10000E-03    1.1231       -.11025E-06** at limit **
   9  norm          1.4939        1.4170        .11700E-06    .20536E-04
  10  norm          .53539        .51697        .44592E-07    .11326E-03
  11  norm          .10000E-03    1.0211        .11302E-07** at limit **
  12  Prefactor     10.040        13.895        .33356E-06   -.19789E-04
  13  Prefactor     .10000E-03    11.861       -.11369E-06** at limit **
  14  Prefactor     41.009        34.598        .30368E-06   -.14959E-04
  15  norm          20.476        16.899        .66872E-07   -.24955E-04
  16  Prefactor     16.266        13.228       -.10269E-06   -.99573E-04
  17  Prefactor     .10000E-03    31.477        .33591E-06** at limit **
  18  Prefactor     .10000E-03    85.469        .34978E-05** at limit **
  19  Prefactor     .10000E-03    10.985       -.13069E-06** at limit **
  20  norm          .20228        .63954        .19610E-06    .29736E-04
  21  Prefactor     .10000E-03    3.8103        .96591E-07** at limit **
  22  Normalizat    .78302        .19996       -.82302E-06   -.13316E-04
  23  Prefactor     1.1692        .15622       -.56539E-06   -.29634E-04
                               ERR DEF=  .500    
Final values: 
  norm       = 11.0057
  norm       = 2.74776
  Prefactor  = 0.0001
  Prefactor  = 0.0001
  Prefactor  = 0.0001
  Prefactor  = 1.07873
  Prefactor  = 3.21056
  norm       = 0.0001
  norm       = 1.49394
  norm       = 0.535392
  norm       = 0.0001
  Prefactor  = 10.0397
  Prefactor  = 0.0001
  Prefactor  = 41.0091
  norm       = 20.4759
  Prefactor  = 16.2657
  Prefactor  = 0.0001
  Prefactor  = 0.0001
  Prefactor  = 0.0001
  norm       = 0.202278
  Prefactor  = 0.0001
  Normalizat = 0.783017
  Prefactor  = 1.16923
 **********
 **   18 **HESSE 
 **********

 FCN=   5958.938     FROM HESSE     STATUS=OK           378 CALLS     2983 TOTAL
                     EDM=   .45E-09    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  norm          11.006        5.2033        .11584E-03   -1.5044    
   2  norm          2.7478        5.2884        .11913E-02   -1.5376    
   3  Prefactor     .10000E-03    74.782        .36285E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   4  Prefactor     .10000E-03    3.2496        .26769E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   5  Prefactor     .10000E-03    18.573        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   6  Prefactor     1.0787        57.758        .43291E-02   -1.5500    
   7  Prefactor     3.2106        108.26        .22427E-03   -1.5350    
   8  norm          .10000E-03    1.1300        .79902E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   9  norm          1.4939        1.4067        .84032E-04   -1.5464    
  10  norm          .53539        .48738        .51448E-03   -1.5562    
  11  norm          .10000E-03    4.0717        .15050E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  12  Prefactor     10.040        13.876        .12647E-03   -1.5074    
  13  Prefactor     .10000E-03    11.867        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  14  Prefactor     41.009        34.604        .62595E-04   -1.4426    
  15  norm          20.476        16.891        .88516E-04   -1.4803    
  16  Prefactor     16.266        13.205        .99265E-04   -1.4901    
  17  Prefactor     .10000E-03    31.515        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  18  Prefactor     .10000E-03    85.666        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  19  Prefactor     .10000E-03    11.000        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  20  norm          .20228        .67585        .10535E-02   -1.5618    
  21  Prefactor     .10000E-03    11.114        .29002E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  22  Normalizat    .78302        .22855        .29600E-03   -1.0070    
  23  Prefactor     1.1692        .17916        .20519E-03   -.87284    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 4.54352e-10
Minuit parameter uncertainties:
  1  5.20347
  2  5.28927
  3  0.000165601
  4  6.68968e-06
  5  6.33621e-06
  6  15.8021
  7  37.3605
  8  4.06016e-06
  9  1.40676
  10  0.487385
  11  2.03267e-05
  12  13.8801
  13  3.75564e-06
  14  34.6213
  15  16.8952
  16  13.2072
  17  1.18683e-05
  18  5.30163e-05
  19  4.50851e-06
  20  0.67588
  21  3.36516e-05
  22  0.228834
  23  0.179252
Done.

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

Extracting fit parameters...

4FGL J0948.9+0022
   Spectrum: LogParabola
217         norm:  5.354e-01  4.874e-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.169e+00  1.793e-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:  7.830e-01  2.288e-01  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Fixed Index): 1.72
Ra Dec: 147.244 0.372
Photon Index (Fixed Index): 2.45 +/- 0.00
Photon Flux (Fixed Index): 4.11e-08 +/- 3.74e-08
Energy Flux (Fixed Index): 1.02e-05 +/- 9.32e-06

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

Saving results to:
/scratch/kocevski/513133/likelihoodResults_263952001_264211201_4FGL_J0948.9+0022_daily_bin95.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) = 5958.64240731
delta logL = 0.295642993644

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

MINUIT Return Code (Free Index): 0
logL (Free Index) = 5958.63729118
delta logL = 0.300759122201

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'norm      '    .47585       1.0000         .10000E-03   10000.    
     2 'alpha     '    1.7050       1.0000          .0000       5.0000    
     3 'Normalizat'    .80950       1.0000         .10000E-01   10.000    
     4 'Prefactor '    1.1490       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=   5958.637     FROM MIGRAD    STATUS=CONVERGED     50 CALLS      214 TOTAL
                     EDM=   .34E-09    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  norm          .47617        .41294        .95925E-02    .24595E-02
   2  alpha         1.7050        .50950        .44151        .12437E-04
   3  Normalizat    .80970        .18519        .65897E-01   -.61962E-04
   4  Prefactor     1.1488        .15475        .35965E-01   -.25483E-03
                               ERR DEF=  .500    
Final values: 
  norm       = 0.476165
  alpha      = 1.70497
  Normalizat = 0.809699
  Prefactor  = 1.14883
 **********
 **   18 **HESSE 
 **********

 FCN=   5958.637     FROM HESSE     STATUS=OK            33 CALLS      247 TOTAL
                     EDM=   .76E-09    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  norm          .47617        .48823        .44327E-03   -1.5570    
   2  alpha         1.7050        .79442        .16251E-01   -.32363    
   3  Normalizat    .80970        .21488        .29153E-03   -.99710    
   4  Prefactor     1.1488        .17936        .20663E-03   -.87921    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 7.60742e-10
Minuit parameter uncertainties:
  1  0.488238
  2  0.810097
  3  0.215108
  4  0.17945
shell-init: error retrieving current directory: getcwd: cannot access parent directories: No such file or directory
rmdir: failed to remove `/scratch/kocevski/513133': 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) = 5958.63729041
delta logL = 0.300759896228

Extracting fit parameters...

4FGL J0948.9+0022
   Spectrum: LogParabola
217         norm:  4.762e-01  4.882e-01  1.000e-04  1.000e+04 ( 1.000e-10)
218        alpha:  1.705e+00  8.101e-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.149e+00  1.794e-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.097e-01  2.151e-01  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Free Index): 2.33
Ra Dec: 147.244 0.372
Photon Index (Free Index): 1.70 +/- 0.81
Photon Flux (Free Index): 3.18e-08 +/- 3.21e-08
Energy Flux (Free Index): 1.56e-05 +/- 1.48e-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/513133/cmap_HighResolution_263952001_264211201_4FGL_J0948.9+0022_daily_bin95.png

Cleaning up...

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

Updating database...

UPDATE lightcurve_data_v2 SET energy_flux_upper_limit='3.07e-05', comment='SUCCESS', photon_flux='4.11e-08', energy_flux2='1.56e-05', photon_flux_error='3.74e-08', dlogl='3.01e-01', energy_flux='1.02e-05', photon_flux2='3.18e-08', job_status='DONE', time_completed='2021-09-01 02:47:43.067139', photon_index_error2='0.81', photon_index2='1.70', ts='1.72', fit_tolerance='1e-08', GAL='1.17', photon_index_error='0.00', photon_flux_upper_limit='1.23e-07', energy_flux_error2='1.48e-05', EG='0.78', time_epoch_completed='1630489663.07', return_code='0', job_id='513133', GAL2='1.15', EG2='0.81', return_code2='0', energy_flux_error='9.32e-06', photon_flux_error2='3.21e-08', ts2='2.33', photon_index='2.45' WHERE bin_id='95' AND source_name='4FGL J0948.9+0022' AND cadence='daily';

Database successfully updated.


Analysis Complete.


Wed Sep  1 02:47:43 PDT 2021


------------------------------------------------------------
Sender: LSF System <lsf@bullet0106>
Subject: Job 513133: <4FGL_J0948.9+0022_daily_bin95> in cluster <slac> Done

Job <4FGL_J0948.9+0022_daily_bin95> was submitted from host <rhel6-64q> by user <kocevski> in cluster <slac> at Wed Sep  1 02:36:05 2021
Job was executed on host(s) <bullet0106>, in queue <medium>, as user <kocevski> in cluster <slac> at Wed Sep  1 02:36:06 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:36:06 2021
Terminated at Wed Sep  1 02:47:43 2021
Results reported at Wed Sep  1 02:47:43 2021

Your job looked like:

------------------------------------------------------------
# LSBATCH: User input
/nfs/farm/g/glast/g/LCRepository/Likelihood/Scripts/LikelihoodAnalysis.py 4FGL_J0948.9+0022_daily_bin95 147.244 0.3717 263952001 264211201 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 :                                   588.26 sec.
    Max Memory :                                 1255 MB
    Average Memory :                             319.00 MB
    Total Requested Memory :                     -
    Delta Memory :                               -
    Max Swap :                                   -
    Max Processes :                              5
    Max Threads :                                21
    Run time :                                   697 sec.
    Turnaround time :                            698 sec.

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

