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


Performing analysis on: 4FGL_J0948.9+0022_daily_bin276
RA = 147.244, Dec = 0.3717
tmin = 310867201, tmax = 311126401
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='514588', job_status='RUN', time_executed='2021-09-01 02:44:07.212183', time_epoch_executed='1630489447.21' WHERE source_name='4FGL J0948.9+0022' and cadence='daily' and bin_id='276'

Database successfully updated.
Done.

Creating custom output directory:
/scratch/kocevski/514588

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

Retrieving the FT1 file...

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

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

Retrieving 46 files...
Done.


Merging files...

Checksum keywords updated successfully.

Merged file saved to:
/scratch/kocevski/514588/ft1_4FGL_J0948.9+0022_daily_bin276.fits


Retrieving the FT1 file...

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

Retrieving 46 files...
Done.


Merging files...

Merged file saved to:
/scratch/kocevski/514588/ft2_4FGL_J0948.9+0022_daily_bin276.fits


Selecting the photons:
time -p gtselect infile=/scratch/kocevski/514588/ft1_4FGL_J0948.9+0022_daily_bin276.fits outfile=/scratch/kocevski/514588/ft1_filteredMKT_4FGL_J0948.9+0022_daily_bin276.fits ra=147.244 dec=0.3717 rad=12.0 tmin=310867201.0 tmax=311126401.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.62
user 3.28
sys 0.21

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

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

Generating the livetime cube:
time -p gtltcube evfile="/scratch/kocevski/514588/ft1_filtered_4FGL_J0948.9+0022_daily_bin276.fits" evtable="EVENTS" scfile=/scratch/kocevski/514588/ft2_4FGL_J0948.9+0022_daily_bin276.fits sctable="SC_DATA" outfile=/scratch/kocevski/514588/ltcube_310867201_311126401_4FGL_J0948.9+0022_daily_bin276.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/514588/ft2_4FGL_J0948.9+0022_daily_bin276.fits
.....................!
real 12.07
user 11.57
sys 0.36

Generating the exposure map:
time -p gtexpmap evfile=/scratch/kocevski/514588/ft1_filtered_4FGL_J0948.9+0022_daily_bin276.fits evtable="EVENTS" scfile=/scratch/kocevski/514588/ft2_4FGL_J0948.9+0022_daily_bin276.fits sctable="SC_DATA" expcube=/scratch/kocevski/514588/ltcube_310867201_311126401_4FGL_J0948.9+0022_daily_bin276.fits outfile=/scratch/kocevski/514588/expmap_310867201_311126401_4FGL_J0948.9+0022_daily_bin276.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/514588/ltcube_310867201_311126401_4FGL_J0948.9+0022_daily_bin276.fits
.....................!
real 191.10
user 185.43
sys 4.57

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/514588/ft1_filtered_4FGL_J0948.9+0022_daily_bin276.fits scfile=/scratch/kocevski/514588/ft2_4FGL_J0948.9+0022_daily_bin276.fits outfile=/scratch/kocevski/514588/cmap_310867201_311126401_4FGL_J0948.9+0022_daily_bin276.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.52
user 0.37
sys 0.14

Creating the high resolution counts map:
time -p gtbin evfile=/scratch/kocevski/514588/ft1_filtered_4FGL_J0948.9+0022_daily_bin276.fits scfile=/scratch/kocevski/514588/ft2_4FGL_J0948.9+0022_daily_bin276.fits outfile=/scratch/kocevski/514588/cmap_HighResolution_310867201_311126401_4FGL_J0948.9+0022_daily_bin276.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.53
user 0.39
sys 0.13

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

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

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

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

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'norm      '    46.177       1.0000         .10000E-03   10000.    
     2 'norm      '    11.465       1.0000         .10000E-03   10000.    
     3 'Prefactor '    5.3957       1.0000         .10000E-03   10000.    
     4 'Prefactor '    6.1478       1.0000         .10000E-03   10000.    
     5 'Prefactor '    12.577       1.0000         .10000E-03   10000.    
     6 'Prefactor '    28.950       1.0000         .10000E-03   10000.    
     7 'Prefactor '    40.391       1.0000         .10000E-03   10000.    
     8 'norm      '    .10001E-03   1.0000         .10000E-03   10000.    
     9 'norm      '    1.8961       1.0000         .10000E-03   10000.    
    10 'norm      '    .64077       1.0000         .10000E-03   10000.    
    11 'norm      '    .10000E-03   1.0000         .10000E-03   10000.    
    12 'Prefactor '    23.260       1.0000         .10000E-03   10000.    
    13 'Prefactor '    26.913       1.0000         .10000E-03   10000.    
    14 'Prefactor '    .10115E-03   1.0000         .10000E-03   10000.    
    15 'norm      '    20.641       1.0000         .10000E-03   10000.    
    16 'Prefactor '    .10032E-03   1.0000         .10000E-03   10000.    
    17 'Prefactor '    2.7924       1.0000         .10000E-03   10000.    
    18 'Prefactor '    .11437E-03   1.0000         .10000E-03   10000.    
    19 'Prefactor '    .10114E-03   1.0000         .10000E-03   10000.    
    20 'norm      '    .10008E-03   1.0000         .10000E-03   10000.    
    21 'Prefactor '    6.0142       1.0000         .10000E-03   10000.    
    22 'Normalizat'    1.3656       1.0000         .10000E-01   10.000    
    23 'Prefactor '    .73563       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=   6262.242     FROM MIGRAD    STATUS=CONVERGED    499 CALLS     2548 TOTAL
                     EDM=   .12E-09  STRATEGY=1  ERROR MATRIX UNCERTAINTY=  1.6%

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  norm          46.177        9.0134       -.11333E-07   -.97289E-05
   2  norm          11.465        7.4249        .12885E-06    .15454E-04
   3  Prefactor     5.4121        31.017       -.42702E-05   -.50315E-04
   4  Prefactor     6.1477        5.2408        .11695E-06    .29973E-04
   5  Prefactor     12.511        64.188        .44326E-05   -.71523E-05
   6  Prefactor     28.950        19.391       -.35105E-06   -.34233E-04
   7  Prefactor     40.390        42.136        .26611E-07   -.56376E-05
   8  norm          .10000E-03    .87770       -.20122E-07** at limit **
   9  norm          1.8960        1.5341       -.15624E-07    .40220E-04
  10  norm          .64098        .79411        .14000E-06    .24658E-03
  11  norm          .10000E-03    .56697        .78872E-07** at limit **
  12  Prefactor     23.260        12.629       -.40604E-06   -.57566E-04
  13  Prefactor     26.914        30.473       -.44252E-06   -.31223E-04
  14  Prefactor     .10000E-03    30.460        .66224E-06** at limit **
  15  norm          20.641        14.599       -.44783E-06   -.30452E-04
  16  Prefactor     .10000E-03    7.8821       -.15450E-05** at limit **
  17  Prefactor     2.7196        252.31       -.14476E-05   -.41826E-05
  18  Prefactor     .10000E-03    98.012       -.61569E-05** at limit **
  19  Prefactor     .10000E-03    17.511       -.18037E-05** at limit **
  20  norm          .10000E-03    .72101        .45560E-06** at limit **
  21  Prefactor     6.0145        6.0912        .20146E-07   -.77617E-04
  22  Normalizat    1.3656        .24494        .27656E-05   -.27254E-03
  23  Prefactor     .73561        .17221       -.36571E-05   -.10291E-03
                               ERR DEF=  .500    
Final values: 
  norm       = 46.177
  norm       = 11.4647
  Prefactor  = 5.41215
  Prefactor  = 6.14774
  Prefactor  = 12.5108
  Prefactor  = 28.9503
  Prefactor  = 40.3899
  norm       = 0.0001
  norm       = 1.89604
  norm       = 0.640981
  norm       = 0.0001
  Prefactor  = 23.2602
  Prefactor  = 26.9141
  Prefactor  = 0.0001
  norm       = 20.641
  Prefactor  = 0.0001
  Prefactor  = 2.71963
  Prefactor  = 0.000100001
  Prefactor  = 0.0001
  norm       = 0.0001
  Prefactor  = 6.01446
  Normalizat = 1.36562
  Prefactor  = 0.735612
 **********
 **   18 **HESSE 
 **********

 FCN=   6262.242     FROM HESSE     STATUS=OK           376 CALLS     2924 TOTAL
                     EDM=   .30E-09    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  norm          46.177        9.0145        .59003E-04   -1.4348    
   2  norm          11.465        7.4254        .11831E-03   -1.5031    
   3  Prefactor     5.4121        30.473        .17300E-03   -1.5243    
   4  Prefactor     6.1477        5.2538        .15738E-03   -1.5212    
   5  Prefactor     12.511        64.062        .11295E-03   -1.5000    
   6  Prefactor     28.950        19.356        .74461E-04   -1.4631    
   7  Prefactor     40.390        42.150        .63071E-04   -1.4436    
   8  norm          .10000E-03    .87825        .72399E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   9  norm          1.8960        1.5340        .83207E-04   -1.5433    
  10  norm          .64098        .77289        .71531E-04   -1.5548    
  11  norm          .10000E-03    .57159        .58215E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  12  Prefactor     23.260        12.609        .83054E-04   -1.4743    
  13  Prefactor     26.914        30.508        .77221E-04   -1.4670    
  14  Prefactor     .10000E-03    30.550        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  15  norm          20.641        14.552        .88161E-04   -1.4799    
  16  Prefactor     .10000E-03    7.9596        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  17  Prefactor     2.7196        255.94        .24348E-03   -1.5378    
  18  Prefactor     .10000E-03    98.818        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  19  Prefactor     .10000E-03    17.619        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  20  norm          .10000E-03    1.1571        .12757E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  21  Prefactor     6.0145        6.0791        .16373E-03   -1.5217    
  22  Normalizat    1.3656        .26896        .27219E-03   -.81628    
  23  Prefactor     .73561        .18674        .27142E-03   -1.0215    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 3.01174e-10
Minuit parameter uncertainties:
  1  9.0148
  2  7.42595
  3  25.7046
  4  5.2542
  5  56.7164
  6  19.3598
  7  42.1811
  8  1.21656e-07
  9  1.53403
  10  0.772905
  11  1.44675e-06
  12  12.6102
  13  30.5254
  14  5.13182e-05
  15  14.5544
  16  3.07278e-05
  17  53.0002
  18  0.000522556
  19  5.8467e-05
  20  1.0393e-05
  21  6.07972
  22  0.269237
  23  0.1869
Done.

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

Extracting fit parameters...

4FGL J0948.9+0022
   Spectrum: LogParabola
217         norm:  6.410e-01  7.729e-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.356e-01  1.869e-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.366e+00  2.692e-01  1.000e-02  1.000e+01 ( 1.000e+00)


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

Saving results to:
/scratch/kocevski/514588/likelihoodResults_310867201_311126401_4FGL_J0948.9+0022_daily_bin276.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) = 6261.54381991
delta logL = 0.697908925021

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

MINUIT Return Code (Free Index): 0
logL (Free Index) = 6261.54264111
delta logL = 0.699087723283

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'norm      '    .41156       1.0000         .10000E-03   10000.    
     2 'alpha     '    4.5683       1.0000          .0000       5.0000    
     3 'Normalizat'    1.2773       1.0000         .10000E-01   10.000    
     4 'Prefactor '    .79004       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.
 MACHINE ACCURACY LIMITS FURTHER IMPROVEMENT.

 MIGRAD MINIMIZATION HAS CONVERGED.

 MIGRAD WILL VERIFY CONVERGENCE AND ERROR MATRIX.

 FCN=   6261.543     FROM MIGRAD    STATUS=CONVERGED     94 CALLS      285 TOTAL
                     EDM=   .87E-09    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  norm          .41256        1.1333        .37396E-03    .20276E-02
   2  alpha         4.5685        4.7731        .58907E-01    .15014E-04
   3  Normalizat    1.2766        .25706        .27984E-03    .17467E-03
   4  Prefactor     .79052        .18911        .26251E-03   -.25344E-03
                               ERR DEF=  .500    
Final values: 
  norm       = 0.41256
  alpha      = 4.56847
  Normalizat = 1.27663
  Prefactor  = 0.790525
 **********
 **   18 **HESSE 
 **********

 FCN=   6261.543     FROM HESSE     STATUS=OK            27 CALLS      312 TOTAL
                     EDM=   .94E-09    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  norm          .41256        .67727        .14958E-04   -1.5580    
   2  alpha         4.5685        4.0985        .23563E-02    .97444    
   3  Normalizat    1.2766        .25679        .55968E-04   -.84267    
   4  Prefactor     .79052        .18951        .10500E-04   -1.0008    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 9.38452e-10
Minuit parameter uncertainties:
  1  0.677287
  2  2.02573
  3  0.257049
  4  0.18967
shell-init: error retrieving current directory: getcwd: cannot access parent directories: No such file or directory
rmdir: failed to remove `/scratch/kocevski/514588': 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) = 6261.54263389
delta logL = 0.699094945618

Extracting fit parameters...

4FGL J0948.9+0022
   Spectrum: LogParabola
217         norm:  4.126e-01  6.773e-01  1.000e-04  1.000e+04 ( 1.000e-10)
218        alpha:  4.568e+00  2.026e+00  0.000e+00  5.000e+00 ( 1.000e+00)
219         beta:  1.652e-01  0.000e+00  0.000e+00  1.000e+01 ( 1.000e+00) fixed
220           Eb:  2.768e+02  0.000e+00  3.000e+01  5.000e+05 ( 1.000e+00) fixed

GAL_V02
   Spectrum: PowerLaw
472    Prefactor:  7.905e-01  1.897e-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.277e+00  2.570e-01  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Free Index): 2.41
Ra Dec: 147.244 0.372
Photon Index (Free Index): 4.57 +/- 2.03
Photon Flux (Free Index): 1.10e-07 +/- 8.60e-08
Energy Flux (Free Index): 1.54e-05 +/- 1.25e-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/514588/cmap_HighResolution_310867201_311126401_4FGL_J0948.9+0022_daily_bin276.png

Cleaning up...

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

Updating database...

UPDATE lightcurve_data_v2 SET energy_flux_upper_limit='4.22e-05', comment='SUCCESS', energy_flux2='1.54e-05', dlogl='6.99e-01', photon_flux2='1.10e-07', job_status='DONE', time_completed='2021-09-01 02:54:17.914897', photon_index_error2='2.03', photon_index2='4.57', ts='0.86', fit_tolerance='1e-08', GAL='0.74', photon_index_error='0.00', photon_flux_upper_limit='1.69e-07', energy_flux_error2='1.25e-05', EG='1.37', time_epoch_completed='1630490057.91', return_code='0', job_id='514588', GAL2='0.79', EG2='1.28', return_code2='0', photon_flux_error2='8.60e-08', ts2='2.41', photon_index='2.45' WHERE bin_id='276' AND source_name='4FGL J0948.9+0022' AND cadence='daily';

Database successfully updated.


Analysis Complete.


Wed Sep  1 02:54:17 PDT 2021


------------------------------------------------------------
Sender: LSF System <lsf@bullet0230>
Subject: Job 514588: <4FGL_J0948.9+0022_daily_bin276> in cluster <slac> Done

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

Your job looked like:

------------------------------------------------------------
# LSBATCH: User input
/nfs/farm/g/glast/g/LCRepository/Likelihood/Scripts/LikelihoodAnalysis.py 4FGL_J0948.9+0022_daily_bin276 147.244 0.3717 310867201 311126401 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.25 sec.
    Max Memory :                                 1255 MB
    Average Memory :                             281.61 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.

