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


Performing analysis on: 4FGL_J0948.9+0022_daily_bin801
RA = 147.244, Dec = 0.3717
tmin = 446947201, tmax = 447206401
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='516806', job_status='RUN', time_executed='2021-09-01 02:48:34.235193', time_epoch_executed='1630489714.24' WHERE source_name='4FGL J0948.9+0022' and cadence='daily' and bin_id='801'

Database successfully updated.
Done.

Creating custom output directory:
/scratch/kocevski/516806

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

Retrieving the FT1 file...

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

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

Retrieving 46 files...
Done.


Merging files...

Checksum keywords updated successfully.

Merged file saved to:
/scratch/kocevski/516806/ft1_4FGL_J0948.9+0022_daily_bin801.fits


Retrieving the FT1 file...

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

Retrieving 46 files...
Done.


Merging files...

Merged file saved to:
/scratch/kocevski/516806/ft2_4FGL_J0948.9+0022_daily_bin801.fits


Selecting the photons:
time -p gtselect infile=/scratch/kocevski/516806/ft1_4FGL_J0948.9+0022_daily_bin801.fits outfile=/scratch/kocevski/516806/ft1_filteredMKT_4FGL_J0948.9+0022_daily_bin801.fits ra=147.244 dec=0.3717 rad=12.0 tmin=446947201.0 tmax=447206401.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.39
user 3.20
sys 0.17

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

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

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

Generating the exposure map:
time -p gtexpmap evfile=/scratch/kocevski/516806/ft1_filtered_4FGL_J0948.9+0022_daily_bin801.fits evtable="EVENTS" scfile=/scratch/kocevski/516806/ft2_4FGL_J0948.9+0022_daily_bin801.fits sctable="SC_DATA" expcube=/scratch/kocevski/516806/ltcube_446947201_447206401_4FGL_J0948.9+0022_daily_bin801.fits outfile=/scratch/kocevski/516806/expmap_446947201_447206401_4FGL_J0948.9+0022_daily_bin801.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/516806/ltcube_446947201_447206401_4FGL_J0948.9+0022_daily_bin801.fits
.....................!
real 190.29
user 185.30
sys 4.33

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/516806/ft1_filtered_4FGL_J0948.9+0022_daily_bin801.fits scfile=/scratch/kocevski/516806/ft2_4FGL_J0948.9+0022_daily_bin801.fits outfile=/scratch/kocevski/516806/cmap_446947201_447206401_4FGL_J0948.9+0022_daily_bin801.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.82
user 0.38
sys 0.16

Creating the high resolution counts map:
time -p gtbin evfile=/scratch/kocevski/516806/ft1_filtered_4FGL_J0948.9+0022_daily_bin801.fits scfile=/scratch/kocevski/516806/ft2_4FGL_J0948.9+0022_daily_bin801.fits outfile=/scratch/kocevski/516806/cmap_HighResolution_446947201_447206401_4FGL_J0948.9+0022_daily_bin801.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.55
user 0.39
sys 0.14

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

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

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

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

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'norm      '    2.1305       1.0000         .10000E-03   10000.    
     2 'norm      '    5.9903       1.0000         .10000E-03   10000.    
     3 'Prefactor '    5.2854       1.0000         .10000E-03   10000.    
     4 'Prefactor '    .10001E-03   1.0000         .10000E-03   10000.    
     5 'Prefactor '    2.1133       1.0000         .10000E-03   10000.    
     6 'Prefactor '    .12771E-03   1.0000         .10000E-03   10000.    
     7 'Prefactor '    28.805       1.0000         .10000E-03   10000.    
     8 'norm      '    10.205       1.0000         .10000E-03   10000.    
     9 'norm      '    2.3393       1.0000         .10000E-03   10000.    
    10 'norm      '    .14156E-03   1.0000         .10000E-03   10000.    
    11 'norm      '    1.0074       1.0000         .10000E-03   10000.    
    12 'Prefactor '    6.6902       1.0000         .10000E-03   10000.    
    13 'Prefactor '    32.476       1.0000         .10000E-03   10000.    
    14 'Prefactor '    9.7563       1.0000         .10000E-03   10000.    
    15 'norm      '    8.9024       1.0000         .10000E-03   10000.    
    16 'Prefactor '    .10010E-03   1.0000         .10000E-03   10000.    
    17 'Prefactor '    18.101       1.0000         .10000E-03   10000.    
    18 'Prefactor '    .10019E-03   1.0000         .10000E-03   10000.    
    19 'Prefactor '    10.924       1.0000         .10000E-03   10000.    
    20 'norm      '    3.0790       1.0000         .10000E-03   10000.    
    21 'Prefactor '    .10008E-03   1.0000         .10000E-03   10000.    
    22 'Normalizat'    1.1706       1.0000         .10000E-01   10.000    
    23 'Prefactor '    .87837       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=   5107.549     FROM MIGRAD    STATUS=CONVERGED    495 CALLS     2518 TOTAL
                     EDM=   .10E-09  STRATEGY=1  ERROR MATRIX UNCERTAINTY=  2.2%

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  norm          2.1316        5.0793        .10541E-05    .64023E-04
   2  norm          5.9923        6.3906       -.74063E-07   -.20634E-04
   3  Prefactor     5.2435        33.457        .28864E-05   -.71340E-05
   4  Prefactor     .10000E-03    1.9024       -.12478E-06** at limit **
   5  Prefactor     2.1736        271.18       -.57093E-05   -.53903E-05
   6  Prefactor     .10000E-03    35.604        .13378E-05** at limit **
   7  Prefactor     28.811        44.249        .14397E-05    .18849E-04
   8  norm          10.205        4.9658        .10593E-07   -.63259E-05
   9  norm          2.3398        1.3407        .30339E-07   -.11135E-04
  10  norm          .10000E-03    .36618       -.79559E-09** at limit **
  11  norm          1.0074        2.2807        .42493E-06    .92544E-04
  12  Prefactor     6.6929        9.5792       -.10262E-06   -.12521E-04
  13  Prefactor     32.480        33.396        .60956E-06    .18811E-04
  14  Prefactor     9.7616        27.246        .12399E-05    .16884E-04
  15  norm          8.9032        9.7196       -.16095E-06   -.80770E-05
  16  Prefactor     .10000E-03    2.9683        .11419E-06** at limit **
  17  Prefactor     18.132        59.948        .84699E-05    .40083E-04
  18  Prefactor     .10000E-03    15.119        .83669E-07** at limit **
  19  Prefactor     10.926        10.863       -.19943E-06   -.15971E-04
  20  norm          3.0795        1.6741        .14789E-07    .12517E-04
  21  Prefactor     .10000E-03    6.0976       -.11170E-06** at limit **
  22  Normalizat    1.1700        .24242       -.28065E-05    .14133E-03
  23  Prefactor     .87865        .18033        .23007E-05   -.59900E-04
                               ERR DEF=  .500    
Final values: 
  norm       = 2.1316
  norm       = 5.9923
  Prefactor  = 5.24351
  Prefactor  = 0.0001
  Prefactor  = 2.1736
  Prefactor  = 0.0001
  Prefactor  = 28.8108
  norm       = 10.205
  norm       = 2.33979
  norm       = 0.0001
  norm       = 1.00738
  Prefactor  = 6.69288
  Prefactor  = 32.4804
  Prefactor  = 9.76161
  norm       = 8.90317
  Prefactor  = 0.0001
  Prefactor  = 18.1324
  Prefactor  = 0.0001
  Prefactor  = 10.9257
  norm       = 3.07951
  Prefactor  = 0.0001
  Normalizat = 1.16996
  Prefactor  = 0.87865
 **********
 **   18 **HESSE 
 **********

 FCN=   5107.549     FROM HESSE     STATUS=OK           380 CALLS     2898 TOTAL
                     EDM=   .26E-09    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  norm          2.1316        5.0465        .23283E-03   -1.5416    
   2  norm          5.9923        6.3815        .16406E-03   -1.5218    
   3  Prefactor     5.2435        33.879        .17483E-03   -1.5250    
   4  Prefactor     .10000E-03    1.9239        .96232E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   5  Prefactor     2.1736        271.91        .28377E-03   -1.5413    
   6  Prefactor     .10000E-03    36.395        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   7  Prefactor     28.811        44.267        .74648E-04   -1.4634    
   8  norm          10.205        4.9550        .10694E-03   -1.5069    
   9  norm          2.3398        1.3395        .60067E-04   -1.5402    
  10  norm          .10000E-03    1.6624        .81880E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  11  norm          1.0074        2.2324        .15502E-03   -1.5507    
  12  Prefactor     6.6929        9.5799        .15514E-03   -1.5190    
  13  Prefactor     32.480        33.396        .70313E-04   -1.4568    
  14  Prefactor     9.7616        27.237        .12829E-03   -1.5083    
  15  norm          8.9032        9.7199        .13434E-03   -1.5111    
  16  Prefactor     .10000E-03    2.9685        .12021E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  17  Prefactor     18.132        60.062        .94139E-04   -1.4856    
  18  Prefactor     .10000E-03    15.118        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  19  Prefactor     10.926        10.871        .12122E-03   -1.5047    
  20  norm          3.0795        1.6706        .65449E-04   -1.5357    
  21  Prefactor     .10000E-03    6.1881        .17227E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  22  Normalizat    1.1700        .27011        .25978E-03   -.87536    
  23  Prefactor     .87865        .20106        .23394E-03   -.96891    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 2.62421e-10
Minuit parameter uncertainties:
  1  5.04756
  2  6.38217
  3  26.6784
  4  1.81071e-06
  5  48.8495
  6  6.98124e-05
  7  44.3177
  8  4.95519
  9  1.33948
  10  1.94957e-07
  11  2.23262
  12  9.58214
  13  33.4153
  14  27.2712
  15  9.72162
  16  1.24605e-06
  17  60.2628
  18  7.41558e-06
  19  10.8734
  20  1.6706
  21  2.8223e-06
  22  0.270427
  23  0.201226
Done.

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

Extracting fit parameters...

4FGL J0948.9+0022
   Spectrum: LogParabola
217         norm:  1.000e-04  1.950e-07  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:  8.787e-01  2.012e-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.170e+00  2.704e-01  1.000e-02  1.000e+01 ( 1.000e+00)


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

Saving results to:
/scratch/kocevski/516806/likelihoodResults_446947201_447206401_4FGL_J0948.9+0022_daily_bin801.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) = 5107.55208859
delta logL = -0.00295035263662

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

MINUIT Return Code (Free Index): 0
logL (Free Index) = 5107.54914187
delta logL = -3.63582421414e-06

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'norm      '    .10699E-03   1.0000         .10000E-03   10000.    
     2 'alpha     '    2.4612       1.0000          .0000       5.0000    
     3 'Normalizat'    1.1696       1.0000         .10000E-01   10.000    
     4 'Prefactor '    .87885       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.

 MIGRAD WILL VERIFY CONVERGENCE AND ERROR MATRIX.
 MIGRAD TERMINATED WITHOUT CONVERGENCE.

 FCN=   5107.549     FROM MIGRAD    STATUS=FAILED        95 CALLS      258 TOTAL
                     EDM=   .31E-05    STRATEGY= 1      ERR MATRIX NOT POS-DEF

  EXT PARAMETER                APPROXIMATE        STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  norm          .10011E-03    406.85        .81853E-03** at limit **
   2  alpha         2.5089        3.7293        .16463       -.46068E-05
   3  Normalizat    1.1700        .21844        .25979E-03    .97414E-04
   4  Prefactor     .87865        .17428        .23394E-03    .18151E-03
                               ERR DEF=  .500    
 START SIMPLEX MINIMIZATION.    CONVERGENCE WHEN EDM .LT.   .20E-04
 SIMPLEX MINIMIZATION HAS CONVERGED.

 FCN=   5107.549     FROM SIMPLEX   STATUS=UNCHANGED    160 CALLS      418 TOTAL
                     EDM=   .75E-05    STRATEGY= 1      ERR MATRIX NOT POS-DEF

  EXT PARAMETER                APPROXIMATE        STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  norm          .10011E-03    406.85        .19404E-03** at limit **
   2  alpha         2.5089        3.7293        .12809E-04   -.46068E-05
   3  Normalizat    1.1700        .21844        .11630E-05    .97414E-04
   4  Prefactor     .87865        .17428        .46395E-06    .18151E-03
                               ERR DEF=  .500    

 MIGRAD MINIMIZATION HAS CONVERGED.

 MIGRAD WILL VERIFY CONVERGENCE AND ERROR MATRIX.

 FCN=   5107.549     FROM MIGRAD    STATUS=CONVERGED     37 CALLS      455 TOTAL
                     EDM=   .78E-11    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  norm          .10000E-03    1.7096        .16371E-03** at limit **
   2  alpha         2.5210        3.7301        .65853E-01   -.82141E-07
   3  Normalizat    1.1700        .24695        .10391E-04   -.10940E-05
   4  Prefactor     .87865        .19682        .46788E-04   -.12003E-04
                               ERR DEF=  .500    
Final values: 
  norm       = 0.0001
  alpha      = 2.52103
  Normalizat = 1.16995
  Prefactor  = 0.878653
 **********
 **   18 **HESSE 
 **********

 FCN=   5107.549     FROM HESSE     STATUS=OK            25 CALLS      480 TOTAL
                     EDM=   .65E-12    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  norm          .10000E-03    1.6930        .32741E-04   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   2  alpha         2.5210        3.7111        .13171E-01    .84114E-02
   3  Normalizat    1.1700        .24686        .20783E-05   -.87537    
   4  Prefactor     .87865        .19676        .93577E-05   -.96891    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 6.48205e-13
Minuit parameter uncertainties:
  1  5.2198e-07
  2  81.7796
  3  0.247104
  4  0.196922
shell-init: error retrieving current directory: getcwd: cannot access parent directories: No such file or directory
rmdir: failed to remove `/scratch/kocevski/516806': 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) = 5107.54913788
delta logL = 3.56747477781e-07

Extracting fit parameters...

4FGL J0948.9+0022
   Spectrum: LogParabola
217         norm:  1.000e-04  5.220e-07  1.000e-04  1.000e+04 ( 1.000e-10)
218        alpha:  2.521e+00  8.178e+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:  8.787e-01  1.969e-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.170e+00  2.471e-01  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Free Index): -0.00
Ra Dec: 147.244 0.372

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/516806/cmap_HighResolution_446947201_447206401_4FGL_J0948.9+0022_daily_bin801.png

Cleaning up...

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

Updating database...

UPDATE lightcurve_data_v2 SET energy_flux_upper_limit='2.80e-05', job_status='DONE', photon_flux_upper_limit='1.12e-07', time_completed='2021-09-01 02:57:48.789309', job_id='516806', GAL2='0.88', fit_tolerance='1e-08', EG2='1.17', EG='1.17', time_epoch_completed='1630490268.79', return_code2='0', ts='-0.00', comment='SUCCESS', return_code='0', GAL='0.88', dlogl='3.57e-07', ts2='-0.00', photon_index_error='0.00', photon_index='2.45' WHERE bin_id='801' AND source_name='4FGL J0948.9+0022' AND cadence='daily';

Database successfully updated.


Analysis Complete.


Wed Sep  1 02:57:48 PDT 2021


------------------------------------------------------------
Sender: LSF System <lsf@bullet0232>
Subject: Job 516806: <4FGL_J0948.9+0022_daily_bin801> in cluster <slac> Done

Job <4FGL_J0948.9+0022_daily_bin801> was submitted from host <rhel6-64p> by user <kocevski> in cluster <slac> at Wed Sep  1 02:46:30 2021
Job was executed on host(s) <bullet0232>, in queue <medium>, as user <kocevski> in cluster <slac> at Wed Sep  1 02:46:31 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:46:31 2021
Terminated at Wed Sep  1 02:57:51 2021
Results reported at Wed Sep  1 02:57:51 2021

Your job looked like:

------------------------------------------------------------
# LSBATCH: User input
/nfs/farm/g/glast/g/LCRepository/Likelihood/Scripts/LikelihoodAnalysis.py 4FGL_J0948.9+0022_daily_bin801 147.244 0.3717 446947201 447206401 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 :                                   550.18 sec.
    Max Memory :                                 1255 MB
    Average Memory :                             283.78 MB
    Total Requested Memory :                     -
    Delta Memory :                               -
    Max Swap :                                   -
    Max Processes :                              5
    Max Threads :                                21
    Run time :                                   678 sec.
    Turnaround time :                            681 sec.

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

