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


Performing analysis on: 4FGL_J0948.9+0022_daily_bin526
RA = 147.244, Dec = 0.3717
tmin = 375667201, tmax = 375926401
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='515013', job_status='RUN', time_executed='2021-09-01 02:45:40.831732', time_epoch_executed='1630489540.83' WHERE source_name='4FGL J0948.9+0022' and cadence='daily' and bin_id='526'

Database successfully updated.
Done.

Creating custom output directory:
/scratch/kocevski/515013

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

Retrieving the FT1 file...

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

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

Retrieving 46 files...
Done.


Merging files...

Checksum keywords updated successfully.

Merged file saved to:
/scratch/kocevski/515013/ft1_4FGL_J0948.9+0022_daily_bin526.fits


Retrieving the FT1 file...

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

Retrieving 46 files...
Done.


Merging files...

Merged file saved to:
/scratch/kocevski/515013/ft2_4FGL_J0948.9+0022_daily_bin526.fits


Selecting the photons:
time -p gtselect infile=/scratch/kocevski/515013/ft1_4FGL_J0948.9+0022_daily_bin526.fits outfile=/scratch/kocevski/515013/ft1_filteredMKT_4FGL_J0948.9+0022_daily_bin526.fits ra=147.244 dec=0.3717 rad=12.0 tmin=375667201.0 tmax=375926401.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 4.85
user 4.54
sys 0.25

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

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

Generating the livetime cube:
time -p gtltcube evfile="/scratch/kocevski/515013/ft1_filtered_4FGL_J0948.9+0022_daily_bin526.fits" evtable="EVENTS" scfile=/scratch/kocevski/515013/ft2_4FGL_J0948.9+0022_daily_bin526.fits sctable="SC_DATA" outfile=/scratch/kocevski/515013/ltcube_375667201_375926401_4FGL_J0948.9+0022_daily_bin526.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/515013/ft2_4FGL_J0948.9+0022_daily_bin526.fits
.....................!
real 12.37
user 11.98
sys 0.31

Generating the exposure map:
time -p gtexpmap evfile=/scratch/kocevski/515013/ft1_filtered_4FGL_J0948.9+0022_daily_bin526.fits evtable="EVENTS" scfile=/scratch/kocevski/515013/ft2_4FGL_J0948.9+0022_daily_bin526.fits sctable="SC_DATA" expcube=/scratch/kocevski/515013/ltcube_375667201_375926401_4FGL_J0948.9+0022_daily_bin526.fits outfile=/scratch/kocevski/515013/expmap_375667201_375926401_4FGL_J0948.9+0022_daily_bin526.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/515013/ltcube_375667201_375926401_4FGL_J0948.9+0022_daily_bin526.fits
.....................!
real 191.39
user 186.72
sys 4.20

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/515013/ft1_filtered_4FGL_J0948.9+0022_daily_bin526.fits scfile=/scratch/kocevski/515013/ft2_4FGL_J0948.9+0022_daily_bin526.fits outfile=/scratch/kocevski/515013/cmap_375667201_375926401_4FGL_J0948.9+0022_daily_bin526.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.64
user 0.38
sys 0.13

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

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

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

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

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

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'norm      '    6.7288       1.0000         .10000E-03   10000.    
     2 'norm      '    48.056       1.0000         .10000E-03   10000.    
     3 'Prefactor '    .10071E-03   1.0000         .10000E-03   10000.    
     4 'Prefactor '    3.7324       1.0000         .10000E-03   10000.    
     5 'Prefactor '    1.3628       1.0000         .10000E-03   10000.    
     6 'Prefactor '    22.674       1.0000         .10000E-03   10000.    
     7 'Prefactor '    .10074E-03   1.0000         .10000E-03   10000.    
     8 'norm      '    .10000E-03   1.0000         .10000E-03   10000.    
     9 'norm      '    .10000E-03   1.0000         .10000E-03   10000.    
    10 'norm      '    2.6901       1.0000         .10000E-03   10000.    
    11 'norm      '    1.2939       1.0000         .10000E-03   10000.    
    12 'Prefactor '    23.442       1.0000         .10000E-03   10000.    
    13 'Prefactor '    .10852E-03   1.0000         .10000E-03   10000.    
    14 'Prefactor '    .10410E-03   1.0000         .10000E-03   10000.    
    15 'norm      '    12.830       1.0000         .10000E-03   10000.    
    16 'Prefactor '    .10518E-03   1.0000         .10000E-03   10000.    
    17 'Prefactor '    11.762       1.0000         .10000E-03   10000.    
    18 'Prefactor '    .13720E-03   1.0000         .10000E-03   10000.    
    19 'Prefactor '    .10222E-03   1.0000         .10000E-03   10000.    
    20 'norm      '    .75704       1.0000         .10000E-03   10000.    
    21 'Prefactor '    .10062E-03   1.0000         .10000E-03   10000.    
    22 'Normalizat'    .69894       1.0000         .10000E-01   10.000    
    23 'Prefactor '    1.0856       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=   6866.601     FROM MIGRAD    STATUS=CONVERGED    531 CALLS     2208 TOTAL
                     EDM=   .16E-08  STRATEGY=1  ERROR MATRIX UNCERTAINTY=  2.7%

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  norm          6.7290        4.6328       -.38798E-06   -.39851E-03
   2  norm          48.059        11.326       -.91268E-08   -.16568E-03
   3  Prefactor     .10000E-03    14.402       -.14558E-05** at limit **
   4  Prefactor     3.7329        3.5283        .35735E-05   -.17587E-02
   5  Prefactor     1.1338        310.28        .18482E-04    .29606E-04
   6  Prefactor     22.665        15.495        .17198E-05    .54582E-03
   7  Prefactor     .10000E-03    17.941        .23587E-05** at limit **
   8  norm          .10000E-03    2.1047        .11469E-07** at limit **
   9  norm          .10000E-03    .33699       -.30950E-07** at limit **
  10  norm          2.6901        .77665        .33552E-07   -.53090E-03
  11  norm          1.2939        1.2540        .44853E-07    .64622E-04
  12  Prefactor     23.437        14.898        .14622E-06   -.46967E-04
  13  Prefactor     .10000E-03    12.502        .53163E-06** at limit **
  14  Prefactor     .10000E-03    26.427       -.43120E-05** at limit **
  15  norm          12.822        16.352       -.11707E-05   -.93058E-04
  16  Prefactor     .10000E-03    6.6985        .76763E-06** at limit **
  17  Prefactor     11.890        44.879        .15879E-04    .26147E-03
  18  Prefactor     .10000E-03    29.879        .35588E-05** at limit **
  19  Prefactor     .10000E-03    5.7793        .31605E-06** at limit **
  20  norm          .75684        1.0048        .13613E-06    .47085E-03
  21  Prefactor     .10000E-03    3.1235       -.32683E-07** at limit **
  22  Normalizat    .69906        .19747       -.59787E-05    .83590E-05
  23  Prefactor     1.0856        .14744        .17470E-05   -.38306E-03
                               ERR DEF=  .500    
Final values: 
  norm       = 6.72895
  norm       = 48.0586
  Prefactor  = 0.000100001
  Prefactor  = 3.73288
  Prefactor  = 1.13378
  Prefactor  = 22.6648
  Prefactor  = 0.000100002
  norm       = 0.0001
  norm       = 0.0001
  norm       = 2.69011
  norm       = 1.29386
  Prefactor  = 23.4373
  Prefactor  = 0.0001
  Prefactor  = 0.000100004
  norm       = 12.8218
  Prefactor  = 0.0001
  Prefactor  = 11.8904
  Prefactor  = 0.000100001
  Prefactor  = 0.0001
  norm       = 0.756837
  Prefactor  = 0.0001
  Normalizat = 0.699063
  Prefactor  = 1.08561
 **********
 **   18 **HESSE 
 **********

 FCN=   6866.601     FROM HESSE     STATUS=OK           368 CALLS     2576 TOTAL
                     EDM=   .38E-08    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  norm          6.7290        4.6284        .14086E-03   -1.5189    
   2  norm          48.059        11.317        .57844E-04   -1.4320    
   3  Prefactor     .10000E-03    14.543        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   4  Prefactor     3.7329        3.6912        .74754E-03   -1.5322    
   5  Prefactor     1.1338        311.66        .37396E-03   -1.5495    
   6  Prefactor     22.665        15.717        .84119E-04   -1.4755    
   7  Prefactor     .10000E-03    18.083        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   8  norm          .10000E-03    2.1404        .11734E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   9  norm          .10000E-03    .46666        .93415E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  10  norm          2.6901        .77548        .36580E-04   -1.5380    
  11  norm          1.2939        1.2534        .88616E-04   -1.5480    
  12  Prefactor     23.437        14.914        .82732E-04   -1.4739    
  13  Prefactor     .10000E-03    12.523        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  14  Prefactor     .10000E-03    26.799        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  15  norm          12.822        16.385        .11183E-03   -1.4992    
  16  Prefactor     .10000E-03    6.7599        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  17  Prefactor     11.890        46.580        .11681E-03   -1.5018    
  18  Prefactor     .10000E-03    29.929        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  19  Prefactor     .10000E-03    5.7856        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  20  norm          .75684        .88300        .91270E-03   -1.5534    
  21  Prefactor     .10000E-03    3.1597        .14293E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  22  Normalizat    .69906        .22287        .31368E-03   -1.0393    
  23  Prefactor     1.0856        .17007        .20899E-03   -.89928    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 3.77511e-09
Minuit parameter uncertainties:
  1  4.62861
  2  11.3173
  3  0.000270291
  4  3.69144
  5  37.7938
  6  15.7196
  7  0.000373273
  8  6.45183e-06
  9  8.52022e-06
  10  0.775482
  11  1.25344
  12  14.916
  13  9.07094e-05
  14  0.000646097
  15  16.3903
  16  6.62912e-05
  17  46.7231
  18  0.000323478
  19  1.97982e-05
  20  0.883012
  21  1.71364e-05
  22  0.223159
  23  0.170155
Done.

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

Extracting fit parameters...

4FGL J0948.9+0022
   Spectrum: LogParabola
217         norm:  2.690e+00  7.755e-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.086e+00  1.702e-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:  6.991e-01  2.232e-01  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Fixed Index): 23.08
Ra Dec: 147.244 0.372
Photon Index (Fixed Index): 2.45 +/- 0.00
Photon Flux (Fixed Index): 2.07e-07 +/- 5.95e-08
Energy Flux (Fixed Index): 5.15e-05 +/- 1.48e-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) = 6866.3659381
delta logL = 0.235459575759

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

MINUIT Return Code (Free Index): 0
logL (Free Index) = 6866.36520771
delta logL = 0.236189959554

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'norm      '    2.7092       1.0000         .10000E-03   10000.    
     2 'alpha     '    2.6977       1.0000          .0000       5.0000    
     3 'Normalizat'    .66828       1.0000         .10000E-01   10.000    
     4 'Prefactor '    1.1042       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=   6866.365     FROM MIGRAD    STATUS=CONVERGED     51 CALLS      201 TOTAL
                     EDM=   .13E-10    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  norm          2.7093        .93976        .61865E-02    .25558E-03
   2  alpha         2.6976        .43271        .25967       -.96731E-05
   3  Normalizat    .66829        .18237        .72318E-01    .31314E-04
   4  Prefactor     1.1042        .14769        .37428E-01    .12452E-05
                               ERR DEF=  .500    
Final values: 
  norm       = 2.70928
  alpha      = 2.69764
  Normalizat = 0.668286
  Prefactor  = 1.10424
 **********
 **   18 **HESSE 
 **********

 FCN=   6866.365     FROM HESSE     STATUS=OK            33 CALLS      234 TOTAL
                     EDM=   .32E-10    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  norm          2.7093        .76151        .35711E-04   -1.5379    
   2  alpha         2.6976        .36476        .11110E-01    .79140E-01
   3  Normalizat    .66829        .21198        .32010E-03   -1.0516    
   4  Prefactor     1.1042        .17044        .20743E-03   -.89331    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 3.238e-11
Minuit parameter uncertainties:
  1  0.761512
  2  0.366074
  3  0.212242
  4  0.170521
shell-init: error retrieving current directory: getcwd: cannot access parent directories: No such file or directory
rmdir: failed to remove `/scratch/kocevski/515013': 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) = 6866.3652077
delta logL = 0.236189967928

Extracting fit parameters...

4FGL J0948.9+0022
   Spectrum: LogParabola
217         norm:  2.709e+00  7.615e-01  1.000e-04  1.000e+04 ( 1.000e-10)
218        alpha:  2.698e+00  3.661e-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.104e+00  1.705e-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:  6.683e-01  2.122e-01  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Free Index): 23.43
Ra Dec: 147.244 0.372
Photon Index (Free Index): 2.70 +/- 0.37
Photon Flux (Free Index): 2.29e-07 +/- 7.01e-08
Energy Flux (Free Index): 5.01e-05 +/- 1.42e-05

Creating a high resolution counts map...
INFO: Auto-setting vmin to -2.500e-04 [aplpy.core]
INFO: Auto-setting vmax to  2.775e-03 [aplpy.core]
Saving /scratch/kocevski/515013/cmap_HighResolution_375667201_375926401_4FGL_J0948.9+0022_daily_bin526.png

Cleaning up...

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

Updating database...

UPDATE lightcurve_data_v2 SET comment='SUCCESS', photon_flux='2.07e-07', energy_flux2='5.01e-05', photon_flux_error='5.95e-08', dlogl='2.36e-01', energy_flux='5.15e-05', photon_flux2='2.29e-07', job_status='DONE', time_completed='2021-09-01 02:55:04.654326', photon_index_error2='0.37', photon_index2='2.70', ts='23.08', fit_tolerance='1e-08', GAL='1.09', photon_index_error='0.00', energy_flux_error2='1.42e-05', EG='0.70', time_epoch_completed='1630490104.65', return_code='0', job_id='515013', GAL2='1.10', EG2='0.67', return_code2='0', energy_flux_error='1.48e-05', photon_flux_error2='7.01e-08', ts2='23.43', photon_index='2.45' WHERE bin_id='526' AND source_name='4FGL J0948.9+0022' AND cadence='daily';

Database successfully updated.


Analysis Complete.


Wed Sep  1 02:55:04 PDT 2021


------------------------------------------------------------
Sender: LSF System <lsf@bullet0125>
Subject: Job 515013: <4FGL_J0948.9+0022_daily_bin526> in cluster <slac> Done

Job <4FGL_J0948.9+0022_daily_bin526> was submitted from host <rhel6-64d> by user <kocevski> in cluster <slac> at Wed Sep  1 02:41:12 2021
Job was executed on host(s) <bullet0125>, in queue <medium>, as user <kocevski> in cluster <slac> at Wed Sep  1 02:41:14 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:41:14 2021
Terminated at Wed Sep  1 02:55:05 2021
Results reported at Wed Sep  1 02:55:05 2021

Your job looked like:

------------------------------------------------------------
# LSBATCH: User input
/nfs/farm/g/glast/g/LCRepository/Likelihood/Scripts/LikelihoodAnalysis.py 4FGL_J0948.9+0022_daily_bin526 147.244 0.3717 375667201 375926401 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 :                                   555.01 sec.
    Max Memory :                                 1093 MB
    Average Memory :                             261.88 MB
    Total Requested Memory :                     -
    Delta Memory :                               -
    Max Swap :                                   -
    Max Processes :                              5
    Max Threads :                                21
    Run time :                                   831 sec.
    Turnaround time :                            833 sec.

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

