/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 108 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_bin912
RA = 147.244, Dec = 0.3717
tmin = 475718401, tmax = 475977601
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='518215', job_status='RUN', time_executed='2021-09-01 02:53:01.537090', time_epoch_executed='1630489981.54' WHERE source_name='4FGL J0948.9+0022' and cadence='daily' and bin_id='912'

Database successfully updated.
Done.

Creating custom output directory:
/scratch/kocevski/518215

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

Retrieving the FT1 file...

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

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

Retrieving 46 files...
Done.


Merging files...

Checksum keywords updated successfully.

Merged file saved to:
/scratch/kocevski/518215/ft1_4FGL_J0948.9+0022_daily_bin912.fits


Retrieving the FT1 file...

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

Retrieving 46 files...
Done.


Merging files...

Merged file saved to:
/scratch/kocevski/518215/ft2_4FGL_J0948.9+0022_daily_bin912.fits


Selecting the photons:
time -p gtselect infile=/scratch/kocevski/518215/ft1_4FGL_J0948.9+0022_daily_bin912.fits outfile=/scratch/kocevski/518215/ft1_filteredMKT_4FGL_J0948.9+0022_daily_bin912.fits ra=147.244 dec=0.3717 rad=12.0 tmin=475718401.0 tmax=475977601.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.68
user 3.32
sys 0.28

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

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

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

Generating the exposure map:
time -p gtexpmap evfile=/scratch/kocevski/518215/ft1_filtered_4FGL_J0948.9+0022_daily_bin912.fits evtable="EVENTS" scfile=/scratch/kocevski/518215/ft2_4FGL_J0948.9+0022_daily_bin912.fits sctable="SC_DATA" expcube=/scratch/kocevski/518215/ltcube_475718401_475977601_4FGL_J0948.9+0022_daily_bin912.fits outfile=/scratch/kocevski/518215/expmap_475718401_475977601_4FGL_J0948.9+0022_daily_bin912.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/518215/ltcube_475718401_475977601_4FGL_J0948.9+0022_daily_bin912.fits
.....................!
real 191.38
user 186.23
sys 4.52

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/518215/ft1_filtered_4FGL_J0948.9+0022_daily_bin912.fits scfile=/scratch/kocevski/518215/ft2_4FGL_J0948.9+0022_daily_bin912.fits outfile=/scratch/kocevski/518215/cmap_475718401_475977601_4FGL_J0948.9+0022_daily_bin912.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.62
user 0.38
sys 0.16

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

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

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

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

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

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'norm      '    4.4012       1.0000         .10000E-03   10000.    
     2 'norm      '    1.2712       1.0000         .10000E-03   10000.    
     3 'Prefactor '    6.0127       1.0000         .10000E-03   10000.    
     4 'Prefactor '    .10276E-03   1.0000         .10000E-03   10000.    
     5 'Prefactor '    1.1870       1.0000         .10000E-03   10000.    
     6 'Prefactor '    .10012E-03   1.0000         .10000E-03   10000.    
     7 'Prefactor '    .11582E-03   1.0000         .10000E-03   10000.    
     8 'norm      '    .10000E-03   1.0000         .10000E-03   10000.    
     9 'norm      '    2.2871       1.0000         .10000E-03   10000.    
    10 'norm      '    .13748       1.0000         .10000E-03   10000.    
    11 'norm      '    1.2551       1.0000         .10000E-03   10000.    
    12 'Prefactor '    .10011E-03   1.0000         .10000E-03   10000.    
    13 'Prefactor '    26.074       1.0000         .10000E-03   10000.    
    14 'Prefactor '    .16045E-03   1.0000         .10000E-03   10000.    
    15 'norm      '    .10133E-03   1.0000         .10000E-03   10000.    
    16 'Prefactor '    .10139E-03   1.0000         .10000E-03   10000.    
    17 'Prefactor '    1.4595       1.0000         .10000E-03   10000.    
    18 'Prefactor '    .13072E-03   1.0000         .10000E-03   10000.    
    19 'Prefactor '    13.525       1.0000         .10000E-03   10000.    
    20 'norm      '    2.3703       1.0000         .10000E-03   10000.    
    21 'Prefactor '    .80629       1.0000         .10000E-03   10000.    
    22 'Normalizat'    .93629       1.0000         .10000E-01   10.000    
    23 'Prefactor '    .90709       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.

 FCN=   4494.311     FROM MIGRAD    STATUS=CONVERGED    951 CALLS     2991 TOTAL
                     EDM=   .11E-08    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  norm          4.4014        4.2362        .12995E-03   -.93782E-04
   2  norm          1.2721        5.4152        .29976E-03   -.49303E-05
   3  Prefactor     6.0693        39.887        .16375E-03    .17426E-04
   4  Prefactor     .10000E-03    3.3396        .23553E-03** at limit **
   5  Prefactor     .80130        123.39        .12937        .10009E-03
   6  Prefactor     .10000E-03    7.1325        .17458E-02** at limit **
   7  Prefactor     .10000E-03    20.006        .18142E-02** at limit **
   8  norm          .10000E-03    1.9409        .90910E-03** at limit **
   9  norm          2.2873        1.4582        .61150E-04    .36625E-04
  10  norm          .13742        .62493        .74942E-03    .11046E-02
  11  norm          1.2551        1.3724        .79748E-04    .36352E-04
  12  Prefactor     .10000E-03    3.7153        .12612E-02** at limit **
  13  Prefactor     26.023        53.800        .78452E-04   -.36083E-04
  14  Prefactor     .10000E-03    45.772        .18142E-02** at limit **
  15  norm          .10000E-03    6.5713        .16765E-02** at limit **
  16  Prefactor     .10000E-03    12.194        .36285E-03** at limit **
  17  Prefactor     1.5983        299.80        .35621E-02    .10363E-04
  18  Prefactor     .10000E-03    26.937        .18142E-02** at limit **
  19  Prefactor     13.524        13.272        .10892E-03    .85801E-04
  20  norm          2.3704        1.6482        .68452E-04   -.30111E-03
  21  Prefactor     .80821        7.0026        .33981E-03    .46337E-04
  22  Normalizat    .93605        .25153        .25249E-03   -.21433E-04
  23  Prefactor     .90734        .18766        .20673E-03   -.19627E-03
                               ERR DEF=  .500    
Final values: 
  norm       = 4.40141
  norm       = 1.2721
  Prefactor  = 6.06935
  Prefactor  = 0.0001
  Prefactor  = 0.801297
  Prefactor  = 0.0001
  Prefactor  = 0.0001
  norm       = 0.0001
  norm       = 2.28726
  norm       = 0.13742
  norm       = 1.25511
  Prefactor  = 0.0001
  Prefactor  = 26.023
  Prefactor  = 0.0001
  norm       = 0.0001
  Prefactor  = 0.000100001
  Prefactor  = 1.59831
  Prefactor  = 0.0001
  Prefactor  = 13.5244
  norm       = 2.37035
  Prefactor  = 0.808208
  Normalizat = 0.936046
  Prefactor  = 0.907341
 **********
 **   18 **HESSE 
 **********

 FCN=   4494.311     FROM HESSE     STATUS=OK           360 CALLS     3351 TOTAL
                     EDM=   .96E-09    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  norm          4.4014        4.2354        .51981E-05   -1.5288    
   2  norm          1.2721        5.4120        .11991E-04   -1.5482    
   3  Prefactor     6.0693        39.381        .65499E-05   -1.5215    
   4  Prefactor     .10000E-03    3.3397        .47107E-04   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   5  Prefactor     .80130        118.79        .13138       -1.5529    
   6  Prefactor     .10000E-03    7.1333        .34915E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   7  Prefactor     .10000E-03    20.006        .36285E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   8  norm          .10000E-03    1.9410        .18182E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   9  norm          2.2873        1.4579        .24460E-05   -1.5405    
  10  norm          .13742        .62077        .29977E-04   -1.5634    
  11  norm          1.2551        1.3724        .31899E-05   -1.5484    
  12  Prefactor     .10000E-03    3.7154        .25223E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  13  Prefactor     26.023        53.820        .31381E-05   -1.4687    
  14  Prefactor     .10000E-03    45.776        .36285E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  15  norm          .10000E-03    6.5716        .33531E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  16  Prefactor     .10000E-03    12.194        .72569E-04   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  17  Prefactor     1.5983        297.77        .14248E-03   -1.5455    
  18  Prefactor     .10000E-03    26.937        .36285E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  19  Prefactor     13.524        13.255        .43566E-05   -1.4972    
  20  norm          2.3704        1.6479        .27381E-05   -1.5400    
  21  Prefactor     .80821        6.9985        .13592E-04   -1.5528    
  22  Normalizat    .93605        .25088        .10099E-04   -.95205    
  23  Prefactor     .90734        .18777        .41346E-04   -.95885    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 9.60716e-10
Minuit parameter uncertainties:
  1  4.23568
  2  5.24829
  3  30.95
  4  2.46976e-05
  5  19.5513
  6  1.91801e-05
  7  2.0228e-05
  8  5.42031e-06
  9  1.4579
  10  0.583942
  11  1.37245
  12  1.97847e-05
  13  53.9208
  14  0.000168694
  15  7.13448e-05
  16  0.00025059
  17  43.8534
  18  0.000181765
  19  13.2579
  20  1.64795
  21  4.75701
  22  0.251193
  23  0.187907
Done.

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

Extracting fit parameters...

4FGL J0948.9+0022
   Spectrum: LogParabola
217         norm:  1.374e-01  5.839e-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:  9.073e-01  1.879e-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:  9.360e-01  2.512e-01  1.000e-02  1.000e+01 ( 1.000e+00)


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

Saving results to:
/scratch/kocevski/518215/likelihoodResults_475718401_475977601_4FGL_J0948.9+0022_daily_bin912.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) = 4494.03598675
delta logL = 0.275203128123

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

MINUIT Return Code (Free Index): 0
logL (Free Index) = 4494.00203806
delta logL = 0.309151814195

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'norm      '    .11301       1.0000         .10000E-03   10000.    
     2 'alpha     '    5.0000       1.0000          .0000       5.0000    
     3 'Normalizat'    .89185       1.0000         .10000E-01   10.000    
     4 'Prefactor '    .93204       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=   4494.002     FROM MIGRAD    STATUS=CONVERGED     55 CALLS      265 TOTAL
                     EDM=   .15E-07    STRATEGY= 1      ERR MATRIX NOT POS-DEF

  EXT PARAMETER                APPROXIMATE        STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  norm          .11296        9.7389        .67397E-02    .96137E-03
   2  alpha         5.0000        4.5650        .46278    ** at limit **
   3  Normalizat    .89172        .13991        .44797E-01   -.10344E-03
   4  Prefactor     .93217        .77817E-01    .45412E-01    .11892E-04
                               ERR DEF=  .500    
Final values: 
  norm       = 0.112955
  alpha      = 5
  Normalizat = 0.891719
  Prefactor  = 0.932172
 **********
 **   18 **HESSE 
 **********

 FCN=   4494.002     FROM HESSE     STATUS=OK            37 CALLS      302 TOTAL
                     EDM=   .10E-09    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  norm          .11296        .19057        .31842E-03   -1.5641    
   2  alpha         5.0000        4.7862        .50000        1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   3  Normalizat    .89172        .23698        .25800E-03   -.96752    
   4  Prefactor     .93217        .18821        .20424E-03   -.95026    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 1.0367e-10
Minuit parameter uncertainties:
  1  0.190573
  2  0.000120063
  3  0.237256
  4  0.188337
shell-init: error retrieving current directory: getcwd: cannot access parent directories: No such file or directory
rmdir: failed to remove `/scratch/kocevski/518215': 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) = 4494.00203752
delta logL = 0.309152354413

Extracting fit parameters...

4FGL J0948.9+0022
   Spectrum: LogParabola
217         norm:  1.130e-01  1.906e-01  1.000e-04  1.000e+04 ( 1.000e-10)
218        alpha:  5.000e+00  1.201e-04  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:  9.322e-01  1.883e-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.917e-01  2.373e-01  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Free Index): 0.06
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/518215/cmap_HighResolution_475718401_475977601_4FGL_J0948.9+0022_daily_bin912.png

Cleaning up...

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

Updating database...

UPDATE lightcurve_data_v2 SET energy_flux_upper_limit='2.98e-05', job_status='DONE', photon_flux_upper_limit='1.20e-07', time_completed='2021-09-01 03:02:45.486788', job_id='518215', GAL2='0.93', fit_tolerance='1e-08', EG2='0.89', EG='0.94', time_epoch_completed='1630490565.49', return_code2='0', ts='0.06', comment='SUCCESS', return_code='0', GAL='0.91', dlogl='3.09e-01', ts2='0.71', photon_index_error='0.00', photon_index='2.45' WHERE bin_id='912' AND source_name='4FGL J0948.9+0022' AND cadence='daily';

Database successfully updated.


Analysis Complete.


Wed Sep  1 03:02:45 PDT 2021


------------------------------------------------------------
Sender: LSF System <lsf@bullet0298>
Subject: Job 518215: <4FGL_J0948.9+0022_daily_bin912> in cluster <slac> Done

Job <4FGL_J0948.9+0022_daily_bin912> was submitted from host <rhel6-64d> by user <kocevski> in cluster <slac> at Wed Sep  1 02:50:57 2021
Job was executed on host(s) <bullet0298>, in queue <medium>, as user <kocevski> in cluster <slac> at Wed Sep  1 02:50:59 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:50:59 2021
Terminated at Wed Sep  1 03:02:45 2021
Results reported at Wed Sep  1 03:02:45 2021

Your job looked like:

------------------------------------------------------------
# LSBATCH: User input
/nfs/farm/g/glast/g/LCRepository/Likelihood/Scripts/LikelihoodAnalysis.py 4FGL_J0948.9+0022_daily_bin912 147.244 0.3717 475718401 475977601 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 :                                   540.00 sec.
    Max Memory :                                 1255 MB
    Average Memory :                             284.04 MB
    Total Requested Memory :                     -
    Delta Memory :                               -
    Max Swap :                                   -
    Max Processes :                              5
    Max Threads :                                21
    Run time :                                   706 sec.
    Turnaround time :                            708 sec.

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

