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


Performing analysis on: 4FGL_J0948.9+0022_daily_bin121
RA = 147.244, Dec = 0.3717
tmin = 270691201, tmax = 270950401
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='513173', job_status='RUN', time_executed='2021-09-01 02:38:33.133370', time_epoch_executed='1630489113.13' WHERE source_name='4FGL J0948.9+0022' and cadence='daily' and bin_id='121'

Database successfully updated.
Done.

Creating custom output directory:
/scratch/kocevski/513173

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

Retrieving the FT1 file...

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

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

Retrieving 46 files...
Done.


Merging files...

Checksum keywords updated successfully.

Merged file saved to:
/scratch/kocevski/513173/ft1_4FGL_J0948.9+0022_daily_bin121.fits


Retrieving the FT1 file...

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

Retrieving 46 files...
Done.


Merging files...

Merged file saved to:
/scratch/kocevski/513173/ft2_4FGL_J0948.9+0022_daily_bin121.fits


Selecting the photons:
time -p gtselect infile=/scratch/kocevski/513173/ft1_4FGL_J0948.9+0022_daily_bin121.fits outfile=/scratch/kocevski/513173/ft1_filteredMKT_4FGL_J0948.9+0022_daily_bin121.fits ra=147.244 dec=0.3717 rad=12.0 tmin=270691201.0 tmax=270950401.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.63
user 1.44
sys 0.17

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

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

Generating the livetime cube:
time -p gtltcube evfile="/scratch/kocevski/513173/ft1_filtered_4FGL_J0948.9+0022_daily_bin121.fits" evtable="EVENTS" scfile=/scratch/kocevski/513173/ft2_4FGL_J0948.9+0022_daily_bin121.fits sctable="SC_DATA" outfile=/scratch/kocevski/513173/ltcube_270691201_270950401_4FGL_J0948.9+0022_daily_bin121.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/513173/ft2_4FGL_J0948.9+0022_daily_bin121.fits
.....................!
real 12.46
user 12.09
sys 0.33

Generating the exposure map:
time -p gtexpmap evfile=/scratch/kocevski/513173/ft1_filtered_4FGL_J0948.9+0022_daily_bin121.fits evtable="EVENTS" scfile=/scratch/kocevski/513173/ft2_4FGL_J0948.9+0022_daily_bin121.fits sctable="SC_DATA" expcube=/scratch/kocevski/513173/ltcube_270691201_270950401_4FGL_J0948.9+0022_daily_bin121.fits outfile=/scratch/kocevski/513173/expmap_270691201_270950401_4FGL_J0948.9+0022_daily_bin121.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/513173/ltcube_270691201_270950401_4FGL_J0948.9+0022_daily_bin121.fits
.....................!
real 190.25
user 185.19
sys 4.10

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/513173/ft1_filtered_4FGL_J0948.9+0022_daily_bin121.fits scfile=/scratch/kocevski/513173/ft2_4FGL_J0948.9+0022_daily_bin121.fits outfile=/scratch/kocevski/513173/cmap_270691201_270950401_4FGL_J0948.9+0022_daily_bin121.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.83
user 0.38
sys 0.14

Creating the high resolution counts map:
time -p gtbin evfile=/scratch/kocevski/513173/ft1_filtered_4FGL_J0948.9+0022_daily_bin121.fits scfile=/scratch/kocevski/513173/ft2_4FGL_J0948.9+0022_daily_bin121.fits outfile=/scratch/kocevski/513173/cmap_HighResolution_270691201_270950401_4FGL_J0948.9+0022_daily_bin121.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.37
sys 0.16

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

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

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

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

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'norm      '    .29045       1.0000         .10000E-03   10000.    
     2 'norm      '    7.1488       1.0000         .10000E-03   10000.    
     3 'Prefactor '    .10000E-03   1.0000         .10000E-03   10000.    
     4 'Prefactor '    .10002E-03   1.0000         .10000E-03   10000.    
     5 'Prefactor '    .10008E-03   1.0000         .10000E-03   10000.    
     6 'Prefactor '    .10000E-03   1.0000         .10000E-03   10000.    
     7 'Prefactor '    60.931       1.0000         .10000E-03   10000.    
     8 'norm      '    .31512E-03   1.0000         .10000E-03   10000.    
     9 'norm      '    1.7000       1.0000         .10000E-03   10000.    
    10 'norm      '    1.4948       1.0000         .10000E-03   10000.    
    11 'norm      '    .93438E-03   1.0000         .10000E-03   10000.    
    12 'Prefactor '    3.1181       1.0000         .10000E-03   10000.    
    13 'Prefactor '    .10182E-03   1.0000         .10000E-03   10000.    
    14 'Prefactor '    .10002E-03   1.0000         .10000E-03   10000.    
    15 'norm      '    12.933       1.0000         .10000E-03   10000.    
    16 'Prefactor '    19.188       1.0000         .10000E-03   10000.    
    17 'Prefactor '    .39969E-03   1.0000         .10000E-03   10000.    
    18 'Prefactor '    91.305       1.0000         .10000E-03   10000.    
    19 'Prefactor '    1.9245       1.0000         .10000E-03   10000.    
    20 'norm      '    .10008E-03   1.0000         .10000E-03   10000.    
    21 'Prefactor '    .10000E-03   1.0000         .10000E-03   10000.    
    22 'Normalizat'    .89207       1.0000         .10000E-01   10.000    
    23 'Prefactor '    1.2825       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=   8644.338     FROM MIGRAD    STATUS=CONVERGED    533 CALLS     2612 TOTAL
                     EDM=   .12E-08  STRATEGY=1  ERROR MATRIX UNCERTAINTY=  5.7%

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  norm          .29098        1.8658        .44752E-06   -.30984E-03
   2  norm          7.1498        6.0690        .24097E-06   -.41455E-04
   3  Prefactor     .10000E-03    7.8652        .32097E-06** at limit **
   4  Prefactor     .10004E-03    1.4009        .35042E-06** at limit **
   5  Prefactor     .10000E-03    16.569        .20278E-05** at limit **
   6  Prefactor     .10000E-03    2.3021        .15585E-07** at limit **
   7  Prefactor     60.929        41.862        .62265E-06   -.68689E-04
   8  norm          .10011E-03    1.7419        .13191E-05** at limit **
   9  norm          1.6999        1.1683        .37421E-07   -.58852E-04
  10  norm          1.4948        .66963        .41248E-07   -.23301E-03
  11  norm          .10001E-03    .76618        .13090E-06** at limit **
  12  Prefactor     3.1126        7.3849       -.21391E-06   -.31618E-04
  13  Prefactor     .10000E-03    38.847       -.76883E-06** at limit **
  14  Prefactor     .10000E-03    14.172       -.10167E-05** at limit **
  15  norm          12.927        11.237       -.26478E-06   -.28217E-04
  16  Prefactor     19.179        12.511       -.20560E-05   -.27659E-05
  17  Prefactor     .10000E-03    122.69        .83384E-05** at limit **
  18  Prefactor     91.184        87.607        .12149E-04    .18712E-03
  19  Prefactor     1.9275        41.577        .35405E-07    .13473E-03
  20  norm          .10000E-03    .37472       -.61599E-07** at limit **
  21  Prefactor     .10000E-03    1.9906        .46687E-07** at limit **
  22  Normalizat    .89201        .17866       -.37873E-07   -.31188E-03
  23  Prefactor     1.2826        .14081       -.76649E-06   -.43201E-03
                               ERR DEF=  .500    
Final values: 
  norm       = 0.290981
  norm       = 7.14977
  Prefactor  = 0.0001
  Prefactor  = 0.000100044
  Prefactor  = 0.0001
  Prefactor  = 0.0001
  Prefactor  = 60.9286
  norm       = 0.000100113
  norm       = 1.69994
  norm       = 1.49478
  norm       = 0.000100013
  Prefactor  = 3.1126
  Prefactor  = 0.0001
  Prefactor  = 0.0001
  norm       = 12.9267
  Prefactor  = 19.1794
  Prefactor  = 0.000100003
  Prefactor  = 91.184
  Prefactor  = 1.92753
  norm       = 0.0001
  Prefactor  = 0.0001
  Normalizat = 0.892006
  Prefactor  = 1.28257
 **********
 **   18 **HESSE 
 **********

 FCN=   8644.338     FROM HESSE     STATUS=OK           378 CALLS     2990 TOTAL
                     EDM=   .65E-07    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  norm          .29098        4.4121        .24265E-02   -1.5600    
   2  norm          7.1498        6.0583        .15003E-03   -1.5173    
   3  Prefactor     .10000E-03    7.9103        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   4  Prefactor     .10004E-03    24.673        .20794E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   5  Prefactor     .10000E-03    16.667        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   6  Prefactor     .10000E-03    2.3036        .13776E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   7  Prefactor     60.929        41.772        .51402E-04   -1.4145    
   8  norm          .10011E-03    10.052        .22211E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   9  norm          1.6999        1.1578        .79321E-04   -1.5447    
  10  norm          1.4948        .66174        .47239E-04   -1.5463    
  11  norm          .10001E-03    17.983        .15620E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  12  Prefactor     3.1126        7.3497        .22962E-03   -1.5355    
  13  Prefactor     .10000E-03    39.212        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  14  Prefactor     .10000E-03    14.202        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  15  norm          12.927        11.227        .11138E-03   -1.4989    
  16  Prefactor     19.179        12.528        .91434E-04   -1.4832    
  17  Prefactor     .10000E-03    121.64        .21264E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  18  Prefactor     91.184        89.245        .21027E-03   -1.3795    
  19  Prefactor     1.9275        43.141        .14974E-02   -1.5430    
  20  norm          .10000E-03    .66348        .11057E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  21  Prefactor     .10000E-03    2.0034        .12808E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  22  Normalizat    .89201        .20918        .30563E-03   -.96742    
  23  Prefactor     1.2826        .16696        .21568E-03   -.83827    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 6.50384e-08
Minuit parameter uncertainties:
  1  2.26593
  2  6.0588
  3  8.17864e-06
  4  0.00207836
  5  5.67198e-05
  6  2.50327e-07
  7  41.7926
  8  0.00213216
  9  1.1578
  10  0.661746
  11  0.000969701
  12  7.35179
  13  2.04807e-06
  14  1.67306e-05
  15  11.229
  16  12.5302
  17  0.00125682
  18  89.3762
  19  18.2523
  20  4.70163e-07
  21  1.66999e-06
  22  0.209368
  23  0.167034
Done.

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

Extracting fit parameters...

4FGL J0948.9+0022
   Spectrum: LogParabola
217         norm:  1.495e+00  6.617e-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.283e+00  1.670e-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.920e-01  2.094e-01  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Fixed Index): 7.35
Ra Dec: 147.244 0.372
Photon Index (Fixed Index): 2.45 +/- 0.00
Photon Flux (Fixed Index): 1.15e-07 +/- 5.08e-08
Energy Flux (Fixed Index): 2.86e-05 +/- 1.27e-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) = 8643.05755961
delta logL = 1.28062438121

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

MINUIT Return Code (Free Index): 0
logL (Free Index) = 8643.02526605
delta logL = 1.31291793772

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'norm      '    1.2436       1.0000         .10000E-03   10000.    
     2 'alpha     '    3.5141       1.0000          .0000       5.0000    
     3 'Normalizat'    .80397       1.0000         .10000E-01   10.000    
     4 'Prefactor '    1.3415       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=   8643.025     FROM MIGRAD    STATUS=CONVERGED     53 CALLS      233 TOTAL
                     EDM=   .78E-09    STRATEGY= 1      ERR MATRIX NOT POS-DEF

  EXT PARAMETER                APPROXIMATE        STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  norm          1.2437        6.4341        .82709E-02    .73187E-03
   2  alpha         3.5148        3.8963        .45497        .23391E-04
   3  Normalizat    .80389        .73621E-01    .72336E-01    .30883E-04
   4  Prefactor     1.3415        .71361E-01    .47878E-01   -.23635E-06
                               ERR DEF=  .500    
Final values: 
  norm       = 1.24368
  alpha      = 3.51485
  Normalizat = 0.803889
  Prefactor  = 1.34149
 **********
 **   18 **HESSE 
 **********

 FCN=   8643.025     FROM HESSE     STATUS=OK            31 CALLS      264 TOTAL
                     EDM=   .17E-12    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  norm          1.2437        .70221        .37009E-04   -1.5485    
   2  alpha         3.5148        .77276        .20295E-02    .41801    
   3  Normalizat    .80389        .20884        .32012E-03   -.99925    
   4  Prefactor     1.3415        .17083        .21164E-03   -.82082    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 1.7205e-13
Minuit parameter uncertainties:
  1  0.702219
  2  0.788309
  3  0.209052
  4  0.170907
shell-init: error retrieving current directory: getcwd: cannot access parent directories: No such file or directory
rmdir: failed to remove `/scratch/kocevski/513173': 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) = 8643.02526457
delta logL = 1.31291941527

Extracting fit parameters...

4FGL J0948.9+0022
   Spectrum: LogParabola
217         norm:  1.244e+00  7.022e-01  1.000e-04  1.000e+04 ( 1.000e-10)
218        alpha:  3.515e+00  7.883e-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.341e+00  1.709e-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.039e-01  2.091e-01  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Free Index): 10.35
Ra Dec: 147.244 0.372
Photon Index (Free Index): 3.51 +/- 0.79
Photon Flux (Free Index): 1.63e-07 +/- 6.28e-08
Energy Flux (Free Index): 2.70e-05 +/- 1.08e-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/513173/cmap_HighResolution_270691201_270950401_4FGL_J0948.9+0022_daily_bin121.png

Cleaning up...

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

Updating database...

UPDATE lightcurve_data_v2 SET comment='SUCCESS', photon_flux='1.15e-07', energy_flux2='2.70e-05', photon_flux_error='5.08e-08', dlogl='1.31e+00', energy_flux='2.86e-05', photon_flux2='1.63e-07', job_status='DONE', time_completed='2021-09-01 02:49:21.365214', photon_index_error2='0.79', photon_index2='3.51', ts='7.35', fit_tolerance='1e-08', GAL='1.28', photon_index_error='0.00', energy_flux_error2='1.08e-05', EG='0.89', time_epoch_completed='1630489761.37', return_code='0', job_id='513173', GAL2='1.34', EG2='0.80', return_code2='0', energy_flux_error='1.27e-05', photon_flux_error2='6.28e-08', ts2='10.35', photon_index='2.45' WHERE bin_id='121' AND source_name='4FGL J0948.9+0022' AND cadence='daily';

Database successfully updated.


Analysis Complete.


Wed Sep  1 02:49:21 PDT 2021


------------------------------------------------------------
Sender: LSF System <lsf@bullet0088>
Subject: Job 513173: <4FGL_J0948.9+0022_daily_bin121> in cluster <slac> Done

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

Your job looked like:

------------------------------------------------------------
# LSBATCH: User input
/nfs/farm/g/glast/g/LCRepository/Likelihood/Scripts/LikelihoodAnalysis.py 4FGL_J0948.9+0022_daily_bin121 147.244 0.3717 270691201 270950401 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 :                                   643.27 sec.
    Max Memory :                                 1255 MB
    Average Memory :                             324.50 MB
    Total Requested Memory :                     -
    Delta Memory :                               -
    Max Swap :                                   -
    Max Processes :                              5
    Max Threads :                                21
    Run time :                                   791 sec.
    Turnaround time :                            794 sec.

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

