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


Performing analysis on: 4FGL_J1148.6+1841_daily_bin1194
RA = 177.154, Dec = 18.6861
tmin = 548812801, tmax = 549072001
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='89528', job_status='RUN', time_executed='2021-09-04 12:06:46.372687', time_epoch_executed='1630782406.37' WHERE source_name='4FGL J1148.6+1841' and cadence='daily' and bin_id='1194'

Database successfully updated.
Done.

Creating custom output directory:
/scratch/kocevski/89528

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

Retrieving the FT1 file...

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

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

Retrieving 46 files...
Done.


Merging files...

Checksum keywords updated successfully.

Merged file saved to:
/scratch/kocevski/89528/ft1_4FGL_J1148.6+1841_daily_bin1194.fits


Retrieving the FT1 file...

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

Retrieving 46 files...
Done.


Merging files...

Merged file saved to:
/scratch/kocevski/89528/ft2_4FGL_J1148.6+1841_daily_bin1194.fits


Selecting the photons:
time -p gtselect infile=/scratch/kocevski/89528/ft1_4FGL_J1148.6+1841_daily_bin1194.fits outfile=/scratch/kocevski/89528/ft1_filteredMKT_4FGL_J1148.6+1841_daily_bin1194.fits ra=177.154 dec=18.6861 rad=12.0 tmin=548812801.0 tmax=549072001.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 2.82
user 2.61
sys 0.20

Adding sun position to ft2 file:
/nfs/farm/g/glast/g/LCRepository/Repository/bin/sunpos /scratch/kocevski/89528/ft2_4FGL_J1148.6+1841_daily_bin1194.fits

Selecting the good time intervals:
time -p gtmktime scfile=/scratch/kocevski/89528/ft2_4FGL_J1148.6+1841_daily_bin1194.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/89528/ft1_filteredMKT_4FGL_J1148.6+1841_daily_bin1194.fits evtable="EVENTS" outfile="/scratch/kocevski/89528/ft1_filtered_4FGL_J1148.6+1841_daily_bin1194.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.60
user 0.35
sys 0.16

Generating the livetime cube:
time -p gtltcube evfile="/scratch/kocevski/89528/ft1_filtered_4FGL_J1148.6+1841_daily_bin1194.fits" evtable="EVENTS" scfile=/scratch/kocevski/89528/ft2_4FGL_J1148.6+1841_daily_bin1194.fits sctable="SC_DATA" outfile=/scratch/kocevski/89528/ltcube_548812801_549072001_4FGL_J1148.6+1841_daily_bin1194.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/89528/ft2_4FGL_J1148.6+1841_daily_bin1194.fits
.....................!
real 14.18
user 13.72
sys 0.33

Generating the exposure map:
time -p gtexpmap evfile=/scratch/kocevski/89528/ft1_filtered_4FGL_J1148.6+1841_daily_bin1194.fits evtable="EVENTS" scfile=/scratch/kocevski/89528/ft2_4FGL_J1148.6+1841_daily_bin1194.fits sctable="SC_DATA" expcube=/scratch/kocevski/89528/ltcube_548812801_549072001_4FGL_J1148.6+1841_daily_bin1194.fits outfile=/scratch/kocevski/89528/expmap_548812801_549072001_4FGL_J1148.6+1841_daily_bin1194.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/89528/ltcube_548812801_549072001_4FGL_J1148.6+1841_daily_bin1194.fits
.....................!
real 190.84
user 186.15
sys 4.13

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 185 point sources and 0 extended sources

Setting source of interest to:
4FGL J1148.6+1841 @ 177.154 18.6861

Creating the counts map:
time -p gtbin evfile=/scratch/kocevski/89528/ft1_filtered_4FGL_J1148.6+1841_daily_bin1194.fits scfile=/scratch/kocevski/89528/ft2_4FGL_J1148.6+1841_daily_bin1194.fits outfile=/scratch/kocevski/89528/cmap_548812801_549072001_4FGL_J1148.6+1841_daily_bin1194.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=177.154 yref=18.6861 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.56
user 0.40
sys 0.15

Creating the high resolution counts map:
time -p gtbin evfile=/scratch/kocevski/89528/ft1_filtered_4FGL_J1148.6+1841_daily_bin1194.fits scfile=/scratch/kocevski/89528/ft2_4FGL_J1148.6+1841_daily_bin1194.fits outfile=/scratch/kocevski/89528/cmap_HighResolution_548812801_549072001_4FGL_J1148.6+1841_daily_bin1194.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=177.154 yref=18.6861 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.42
sys 0.16

Computing the diffuse response:
time -p gtdiffrsp evfile=/scratch/kocevski/89528/ft1_filtered_4FGL_J1148.6+1841_daily_bin1194.fits evtable="EVENTS" scfile=/scratch/kocevski/89528/ft2_4FGL_J1148.6+1841_daily_bin1194.fits sctable="SC_DATA" srcmdl=/scratch/kocevski/89528/Model_4FGL_J1148.6+1841_daily_bin1194.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/89528/ft1_filtered_4FGL_J1148.6+1841_daily_bin1194.fits.....................!
real 94.08
user 92.50
sys 1.18

Creating the likelihood object...
obs = UnbinnedObs('/scratch/kocevski/89528/ft1_filtered_4FGL_J1148.6+1841_daily_bin1194.fits', '/scratch/kocevski/89528/ft2_4FGL_J1148.6+1841_daily_bin1194.fits', expMap='/scratch/kocevski/89528/expmap_548812801_549072001_4FGL_J1148.6+1841_daily_bin1194.fits', expCube='/scratch/kocevski/89528/ltcube_548812801_549072001_4FGL_J1148.6+1841_daily_bin1194.fits', irfs='P8R3_SOURCE_V2')
like = UnbinnedAnalysis(obs, '/scratch/kocevski/89528/Model_4FGL_J1148.6+1841_daily_bin1194.xml', optimizer='MINUIT')

Using source of interest name: '4FGL J1148.6+1841'

4FGL J1148.6+1841
   Spectrum: PowerLaw
281    Prefactor:  1.462e+00  0.000e+00  1.000e-04  1.000e+04 ( 1.000e-13)
282        Index:  2.323e+00  0.000e+00  0.000e+00  1.000e+01 (-1.000e+00) fixed
283        Scale:  1.358e+03  0.000e+00  3.000e+01  5.000e+05 ( 1.000e+00) fixed


Likelihood Fit Parameters:
Event file(s): /scratch/kocevski/89528/ft1_filtered_4FGL_J1148.6+1841_daily_bin1194.fits
Spacecraft file(s): /scratch/kocevski/89528/ft2_4FGL_J1148.6+1841_daily_bin1194.fits
Exposure map: /scratch/kocevski/89528/expmap_548812801_549072001_4FGL_J1148.6+1841_daily_bin1194.fits
Exposure cube: /scratch/kocevski/89528/ltcube_548812801_549072001_4FGL_J1148.6+1841_daily_bin1194.fits
IRFs: P8R3_SOURCE_V2
Source model file: /scratch/kocevski/89528/Model_4FGL_J1148.6+1841_daily_bin1194.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) = 11175.3698712

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

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

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'Prefactor '    .10003E-03   1.0000         .10000E-03   10000.    
     2 'Prefactor '    4.9259       1.0000         .10000E-03   10000.    
     3 'norm      '    .10030E-03   1.0000         .10000E-03   10000.    
     4 'norm      '    8.7254       1.0000         .10000E-03   10000.    
     5 'Prefactor '    3.2235       1.0000         .10000E-03   10000.    
     6 'Prefactor '    1.8659       1.0000         .10000E-03   10000.    
     7 'Prefactor '    3.0928       1.0000         .10000E-03   10000.    
     8 'Prefactor '    .13206E-02   1.0000         .10000E-03   10000.    
     9 'Prefactor '    5.0443       1.0000         .10000E-03   10000.    
    10 'Prefactor '    2.0884       1.0000         .10000E-03   10000.    
    11 'Prefactor '    11.720       1.0000         .10000E-03   10000.    
    12 'norm      '    22.006       1.0000         .10000E-03   10000.    
    13 'Prefactor '    4.2387       1.0000         .10000E-03   10000.    
    14 'Prefactor '    .10103E-03   1.0000         .10000E-03   10000.    
    15 'Prefactor '    .10019E-03   1.0000         .10000E-03   10000.    
    16 'Prefactor '    1.3622       1.0000         .10000E-03   10000.    
    17 'Prefactor '    .10007E-03   1.0000         .10000E-03   10000.    
    18 'Prefactor '    3.5991       1.0000         .10000E-03   10000.    
    19 'norm      '    1.9037       1.0000         .10000E-03   10000.    
    20 'norm      '    2.6016       1.0000         .10000E-03   10000.    
    21 'Prefactor '    13.746       1.0000         .10000E-03   10000.    
    22 'Prefactor '    15.920       1.0000         .10000E-03   10000.    
    23 'Normalizat'    .74871       1.0000         .10000E-01   10.000    
    24 'Prefactor '    1.2914       1.0000          .0000       10.000    
 **********
 **   15 **SET ERR    .5000    
 **********
 **********
 **   16 **SET GRAD    1.000    
 **********
 **********
 **   17 **MINIMIZE    .5930E+05   .2000E-04
 **********

 MIGRAD MINIMIZATION HAS CONVERGED.

 MIGRAD WILL VERIFY CONVERGENCE AND ERROR MATRIX.

 MIGRAD MINIMIZATION HAS CONVERGED.

 FCN=   11175.33     FROM MIGRAD    STATUS=CONVERGED    554 CALLS     2350 TOTAL
                     EDM=   .93E-09  STRATEGY=1  ERROR MATRIX UNCERTAINTY=  1.5%

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor     .10000E-03    3.7903        .45254E-06** at limit **
   2  Prefactor     4.9255        4.5163       -.55030E-06   -.31248E-03
   3  norm          .10000E-03    5.7987       -.15319E-06** at limit **
   4  norm          8.7211        8.8479        .27504E-05    .58432E-03
   5  Prefactor     3.2232        7.2735        .94186E-06   -.13856E-04
   6  Prefactor     1.7570        66.262       -.88638E-06   -.32898E-04
   7  Prefactor     3.0905        11.308        .69489E-06   -.25873E-04
   8  Prefactor     .10011E-03    7.7013        .74413E-06** at limit **
   9  Prefactor     5.0427        4.9349        .13437E-07    .46575E-04
  10  Prefactor     2.0877        1.3183       -.70922E-07   -.63665E-03
  11  Prefactor     11.720        10.627       -.37054E-06   -.13202E-03
  12  norm          22.005        2.0647       -.14687E-07   -.46531E-03
  13  Prefactor     4.2381        8.7842       -.15420E-05   -.23737E-03
  14  Prefactor     .10000E-03    1.1451       -.12625E-06** at limit **
  15  Prefactor     .10000E-03    23.683       -.15933E-05** at limit **
  16  Prefactor     1.3618        1.5589        .20202E-07   -.22225E-03
  17  Prefactor     .10000E-03    .90349        .22817E-06** at limit **
  18  Prefactor     3.5989        3.9373       -.43879E-06   -.27316E-03
  19  norm          1.9036        .28141        .82132E-08    .37705E-03
  20  norm          2.6015        2.1723        .78365E-06   -.28428E-02
  21  Prefactor     13.745        10.930       -.53482E-07   -.24884E-04
  22  Prefactor     15.920        17.694       -.52501E-06   -.62859E-04
  23  Normalizat    .74892        .14998       -.70111E-06    .46641E-04
  24  Prefactor     1.2911        .14937        .42282E-06   -.26885E-04
                               ERR DEF=  .500    
Final values: 
  Prefactor  = 0.0001
  Prefactor  = 4.92546
  norm       = 0.0001
  norm       = 8.72111
  Prefactor  = 3.22318
  Prefactor  = 1.75699
  Prefactor  = 3.0905
  Prefactor  = 0.000100111
  Prefactor  = 5.04272
  Prefactor  = 2.08771
  Prefactor  = 11.7203
  norm       = 22.0049
  Prefactor  = 4.23814
  Prefactor  = 0.0001
  Prefactor  = 0.0001
  Prefactor  = 1.36183
  Prefactor  = 0.0001
  Prefactor  = 3.59887
  norm       = 1.90358
  norm       = 2.6015
  Prefactor  = 13.7454
  Prefactor  = 15.9198
  Normalizat = 0.748922
  Prefactor  = 1.29114
 **********
 **   18 **HESSE 
 **********

 FCN=   11175.33     FROM HESSE     STATUS=OK           411 CALLS     2761 TOTAL
                     EDM=   .57E-08    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  Prefactor     .10000E-03    3.7970        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   2  Prefactor     4.9255        4.5341        .18122E-03   -1.5264    
   3  norm          .10000E-03    5.9264        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   4  norm          8.7211        9.0022        .13570E-03   -1.5117    
   5  Prefactor     3.2232        7.2548        .22563E-03   -1.5349    
   6  Prefactor     1.7570        67.053        .30498E-03   -1.5443    
   7  Prefactor     3.0905        11.285        .23060E-03   -1.5356    
   8  Prefactor     .10011E-03    54.833        .54517E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   9  Prefactor     5.0427        4.9265        .17903E-03   -1.5259    
  10  Prefactor     2.0877        1.2941        .91149E-04   -1.5419    
  11  Prefactor     11.720        10.631        .11702E-03   -1.5023    
  12  norm          22.005        2.0544        .44653E-04   -1.4769    
  13  Prefactor     4.2381        8.8371        .19572E-03   -1.5296    
  14  Prefactor     .10000E-03    3.7786        .21396E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  15  Prefactor     .10000E-03    23.700        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  16  Prefactor     1.3618        1.5313        .13469E-03   -1.5475    
  17  Prefactor     .10000E-03    .92208        .98025E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  18  Prefactor     3.5989        3.9415        .20822E-03   -1.5329    
  19  norm          1.9036        .28194        .20502E-04   -1.5432    
  20  norm          2.6015        3.2438        .10125E-02   -1.5385    
  21  Prefactor     13.745        10.928        .10803E-03   -1.4966    
  22  Prefactor     15.920        17.707        .10038E-03   -1.4910    
  23  Normalizat    .74892        .17384        .31525E-03   -1.0199    
  24  Prefactor     1.2911        .17602        .26378E-03   -.83571    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 5.74652e-09
Minuit parameter uncertainties:
  1  1.81623e-05
  2  4.53438
  3  4.5724e-06
  4  9.00357
  5  7.25679
  6  21.7339
  7  11.2932
  8  0.00493092
  9  4.92691
  10  1.2941
  11  10.6332
  12  2.05445
  13  8.83982
  14  6.52337e-05
  15  0.000140951
  16  1.53136
  17  4.95235e-06
  18  3.94177
  19  0.281943
  20  3.24405
  21  10.9301
  22  17.7125
  23  0.173967
  24  0.176098
Done.

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

Extracting fit parameters...

4FGL J1148.6+1841
   Spectrum: PowerLaw
281    Prefactor:  5.043e+00  4.927e+00  1.000e-04  1.000e+04 ( 1.000e-13)
282        Index:  2.323e+00  0.000e+00  0.000e+00  1.000e+01 (-1.000e+00) fixed
283        Scale:  1.358e+03  0.000e+00  3.000e+01  5.000e+05 ( 1.000e+00) fixed

GAL_V02
   Spectrum: PowerLaw
590    Prefactor:  1.291e+00  1.761e-01  0.000e+00  1.000e+01 ( 1.000e+00)
591        Index:  0.000e+00  0.000e+00 -1.000e+00  1.000e+00 ( 1.000e+00) fixed
592        Scale:  1.000e+02  0.000e+00  5.000e+01  2.000e+02 ( 1.000e+00) fixed

EG_v02
   Spectrum: FileFunction
589   Normalization:  7.489e-01  1.740e-01  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Fixed Index): 4.26
Ra Dec: 177.154 18.686
Photon Index (Fixed Index): 2.32 +/- 0.00
Photon Flux (Fixed Index): 1.63e-08 +/- 1.59e-08
Energy Flux (Fixed Index): 5.97e-06 +/- 5.83e-06

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) = 11174.6166339
delta logL = 0.717894998214

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

MINUIT Return Code (Free Index): 0
logL (Free Index) = 11174.6143445
delta logL = 0.720184366957

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'Prefactor '    5.1979       1.0000         .10000E-03   10000.    
     2 'Index     '    1.4285       1.0000          .0000       10.000    
     3 'Normalizat'    .75996       1.0000         .10000E-01   10.000    
     4 'Prefactor '    1.2876       1.0000          .0000       10.000    
 **********
 **   15 **SET ERR    .5000    
 **********
 **********
 **   16 **SET GRAD    1.000    
 **********
 **********
 **   17 **MINIMIZE    .5930E+05   .2000E-04
 **********

 MIGRAD MINIMIZATION HAS CONVERGED.

 MIGRAD WILL VERIFY CONVERGENCE AND ERROR MATRIX.

 FCN=   11174.61     FROM MIGRAD    STATUS=CONVERGED     57 CALLS      218 TOTAL
                     EDM=   .12E-07    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor     5.2026        5.6111        .44080E-02   -.45115E-02
   2  Index         1.4309        .52136        .30679       -.88057E-04
   3  Normalizat    .75990        .13839        .70739E-01    .28625E-04
   4  Prefactor     1.2878        .14823        .59709E-01    .14095E-04
                               ERR DEF=  .500    
Final values: 
  Prefactor  = 5.20261
  Index      = 1.43087
  Normalizat = 0.759895
  Prefactor  = 1.28782
 **********
 **   18 **HESSE 
 **********

 FCN=   11174.61     FROM HESSE     STATUS=OK            33 CALLS      251 TOTAL
                     EDM=   .28E-10    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  Prefactor     5.2026        6.0354        .88160E-03   -1.5252    
   2  Index         1.4309        .67255        .14443E-01   -.79495    
   3  Normalizat    .75990        .16275        .31305E-03   -1.0157    
   4  Prefactor     1.2878        .17494        .26404E-03   -.83670    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 2.77023e-11
Minuit parameter uncertainties:
  1  6.03615
  2  0.676757
  3  0.162857
  4  0.175018
shell-init: error retrieving current directory: getcwd: cannot access parent directories: No such file or directory
rmdir: failed to remove `/scratch/kocevski/89528': 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) = 11174.6143364
delta logL = 0.72019245553

Extracting fit parameters...

4FGL J1148.6+1841
   Spectrum: PowerLaw
281    Prefactor:  5.203e+00  6.036e+00  1.000e-04  1.000e+04 ( 1.000e-13)
282        Index:  1.431e+00  6.768e-01  0.000e+00  1.000e+01 (-1.000e+00)
283        Scale:  1.358e+03  0.000e+00  3.000e+01  5.000e+05 ( 1.000e+00) fixed

GAL_V02
   Spectrum: PowerLaw
590    Prefactor:  1.288e+00  1.750e-01  0.000e+00  1.000e+01 ( 1.000e+00)
591        Index:  0.000e+00  0.000e+00 -1.000e+00  1.000e+00 ( 1.000e+00) fixed
592        Scale:  1.000e+02  0.000e+00  5.000e+01  2.000e+02 ( 1.000e+00) fixed

EG_v02
   Spectrum: FileFunction
589   Normalization:  7.599e-01  1.629e-01  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Free Index): 5.70
Ra Dec: 177.154 18.686
Photon Index (Free Index): 1.43 +/- 0.68
Photon Flux (Free Index): 4.79e-09 +/- 6.85e-09
Energy Flux (Free Index): 1.91e-05 +/- 3.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/89528/cmap_HighResolution_548812801_549072001_4FGL_J1148.6+1841_daily_bin1194.png

Cleaning up...

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

Updating database...

UPDATE lightcurve_data_v2 SET comment='SUCCESS', photon_flux='1.63e-08', energy_flux2='1.91e-05', photon_flux_error='1.59e-08', dlogl='7.20e-01', energy_flux='5.97e-06', photon_flux2='4.79e-09', job_status='DONE', time_completed='2021-09-04 12:21:00.425064', photon_index_error2='0.68', photon_index2='1.43', ts='4.26', fit_tolerance='1e-08', GAL='1.29', photon_index_error='0.00', energy_flux_error2='3.08e-05', EG='0.75', time_epoch_completed='1630783260.43', return_code='0', job_id='89528', GAL2='1.29', EG2='0.76', return_code2='0', energy_flux_error='5.83e-06', photon_flux_error2='6.85e-09', ts2='5.70', photon_index='2.32' WHERE bin_id='1194' AND source_name='4FGL J1148.6+1841' AND cadence='daily';

Database successfully updated.


Analysis Complete.


Sat Sep  4 12:21:00 PDT 2021


------------------------------------------------------------
Sender: LSF System <lsf@bullet0126>
Subject: Job 89528: <4FGL_J1148.6+1841_daily_bin1194> in cluster <slac> Done

Job <4FGL_J1148.6+1841_daily_bin1194> was submitted from host <rhel6-64p> by user <kocevski> in cluster <slac> at Sat Sep  4 12:06:29 2021
Job was executed on host(s) <bullet0126>, in queue <medium>, as user <kocevski> in cluster <slac> at Sat Sep  4 12:06:30 2021
</u/ki/kocevski> was used as the home directory.
</u/ki/kocevski> was used as the working directory.
Started at Sat Sep  4 12:06:30 2021
Terminated at Sat Sep  4 12:21:01 2021
Results reported at Sat Sep  4 12:21:01 2021

Your job looked like:

------------------------------------------------------------
# LSBATCH: User input
/nfs/farm/g/glast/g/LCRepository/Likelihood/Scripts/LikelihoodAnalysis.py 4FGL_J1148.6+1841_daily_bin1194 177.154 18.6861 548812801 549072001 irfs=P8R3_SOURCE_V2 zmax=90 ROI=12 association=4FGL_J1148.6+1841 fixedModel=True performFreeIndexFit=True freeVariableSources=True nuke=True repositoryJob=True verbose=False
------------------------------------------------------------

Successfully completed.

Resource usage summary:

    CPU time :                                   848.25 sec.
    Max Memory :                                 1062 MB
    Average Memory :                             358.85 MB
    Total Requested Memory :                     -
    Delta Memory :                               -
    Max Swap :                                   -
    Max Processes :                              5
    Max Threads :                                21
    Run time :                                   870 sec.
    Turnaround time :                            872 sec.

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

