aklog: Couldn't determine realm of user:aklog: No credentials cache found  while getting realm
/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 51 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 make4FGLDR3xml version 01r09.
The default diffuse model files and names are for P8R3, 4FGL DRs, and the default fermitools directory locations.

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 = 7465
number of fields = 31
RA_SUN column already exists. File will not be modified.
Done.


Performing analysis on: 4FGL_J1248.9+4840_daily_bin1776
RA = 192.244, Dec = 48.67
tmin = 699667201, tmax = 699926401
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='833775', job_status='RUN', time_executed='2023-03-08 00:41:15.896970', time_epoch_executed='1678264875.9' WHERE source_name='4FGL J1248.9+4840' and cadence='daily' and bin_id='1776'

Database successfully updated.
Done.

Creating custom output directory:
/scratch/kocevski/833775

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

Retrieving the FT1 file...

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

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

Retrieving 46 files...
Done.


Merging files...

Checksum keywords updated successfully.

Merged file saved to:
/scratch/kocevski/833775/ft1_4FGL_J1248.9+4840_daily_bin1776.fits


Retrieving the FT1 file...

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

Retrieving 46 files...
Done.


Merging files...

Merged file saved to:
/scratch/kocevski/833775/ft2_4FGL_J1248.9+4840_daily_bin1776.fits


Selecting the photons:
time -p gtselect infile=/scratch/kocevski/833775/ft1_4FGL_J1248.9+4840_daily_bin1776.fits outfile=/scratch/kocevski/833775/ft1_filteredMKT_4FGL_J1248.9+4840_daily_bin1776.fits ra=192.244 dec=48.67 rad=12.0 tmin=699667201.0 tmax=699926401.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.91
user 3.67
sys 0.20

Adding sun position to ft2 file:
/nfs/farm/g/glast/g/LCRepository/Repository/bin/sunpos /scratch/kocevski/833775/ft2_4FGL_J1248.9+4840_daily_bin1776.fits

Selecting the good time intervals:
time -p gtmktime scfile=/scratch/kocevski/833775/ft2_4FGL_J1248.9+4840_daily_bin1776.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/833775/ft1_filteredMKT_4FGL_J1248.9+4840_daily_bin1776.fits evtable="EVENTS" outfile="/scratch/kocevski/833775/ft1_filtered_4FGL_J1248.9+4840_daily_bin1776.fits" apply_filter=yes overwrite=yes header_obstimes=yes tstart=0.0 tstop=0.0 gtifile="default" chatter=3 clobber=yes debug=no gui=no mode="ql"

WARNING: version mismatch between CFITSIO header (v3.43) and linked library (v3.41).

This is gtmktime version HEAD
Applying GTI filter:
IN_SAA!=T && LIVETIME>0 && gtifilter('/nfs/farm/g/glast/g/LCRepository/Likelihood/GTIs/nogrb.gti',(START+STOP)/2) && (angsep(RA_SUN,DEC_SUN,RA_ZENITH,DEC_ZENITH)>115 || gtifilter('/nfs/farm/g/glast/g/LCRepository/Likelihood/GTIs/nosolarflares.gti',(START+STOP)/2))
real 0.50
user 0.31
sys 0.17

Number of photons that the gtmktime cut: 567

Generating the livetime cube:
time -p gtltcube evfile="/scratch/kocevski/833775/ft1_filtered_4FGL_J1248.9+4840_daily_bin1776.fits" evtable="EVENTS" scfile=/scratch/kocevski/833775/ft2_4FGL_J1248.9+4840_daily_bin1776.fits sctable="SC_DATA" outfile=/scratch/kocevski/833775/ltcube_699667201_699926401_4FGL_J1248.9+4840_daily_bin1776.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/833775/ft2_4FGL_J1248.9+4840_daily_bin1776.fits
.....................!
real 12.78
user 12.40
sys 0.34

Generating the exposure map:
time -p gtexpmap evfile=/scratch/kocevski/833775/ft1_filtered_4FGL_J1248.9+4840_daily_bin1776.fits evtable="EVENTS" scfile=/scratch/kocevski/833775/ft2_4FGL_J1248.9+4840_daily_bin1776.fits sctable="SC_DATA" expcube=/scratch/kocevski/833775/ltcube_699667201_699926401_4FGL_J1248.9+4840_daily_bin1776.fits outfile=/scratch/kocevski/833775/expmap_699667201_699926401_4FGL_J1248.9+4840_daily_bin1776.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/833775/ltcube_699667201_699926401_4FGL_J1248.9+4840_daily_bin1776.fits
.....................!
real 192.37
user 186.60
sys 5.35

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

Setting source of interest to:
4FGL J1248.9+4840 @ 192.244 48.67

Creating the counts map:
time -p gtbin evfile=/scratch/kocevski/833775/ft1_filtered_4FGL_J1248.9+4840_daily_bin1776.fits scfile=/scratch/kocevski/833775/ft2_4FGL_J1248.9+4840_daily_bin1776.fits outfile=/scratch/kocevski/833775/cmap_699667201_699926401_4FGL_J1248.9+4840_daily_bin1776.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=192.244 yref=48.67 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.59
user 0.38
sys 0.16

Creating the high resolution counts map:
time -p gtbin evfile=/scratch/kocevski/833775/ft1_filtered_4FGL_J1248.9+4840_daily_bin1776.fits scfile=/scratch/kocevski/833775/ft2_4FGL_J1248.9+4840_daily_bin1776.fits outfile=/scratch/kocevski/833775/cmap_HighResolution_699667201_699926401_4FGL_J1248.9+4840_daily_bin1776.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=192.244 yref=48.67 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.16

Computing the diffuse response:
time -p gtdiffrsp evfile=/scratch/kocevski/833775/ft1_filtered_4FGL_J1248.9+4840_daily_bin1776.fits evtable="EVENTS" scfile=/scratch/kocevski/833775/ft2_4FGL_J1248.9+4840_daily_bin1776.fits sctable="SC_DATA" srcmdl=/scratch/kocevski/833775/Model_4FGL_J1248.9+4840_daily_bin1776.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/833775/ft1_filtered_4FGL_J1248.9+4840_daily_bin1776.fits.....................!
real 51.05
user 49.74
sys 1.21

Creating the likelihood object...
obs = UnbinnedObs('/scratch/kocevski/833775/ft1_filtered_4FGL_J1248.9+4840_daily_bin1776.fits', '/scratch/kocevski/833775/ft2_4FGL_J1248.9+4840_daily_bin1776.fits', expMap='/scratch/kocevski/833775/expmap_699667201_699926401_4FGL_J1248.9+4840_daily_bin1776.fits', expCube='/scratch/kocevski/833775/ltcube_699667201_699926401_4FGL_J1248.9+4840_daily_bin1776.fits', irfs='P8R3_SOURCE_V2')
like = UnbinnedAnalysis(obs, '/scratch/kocevski/833775/Model_4FGL_J1248.9+4840_daily_bin1776.xml', optimizer='MINUIT')

Using source of interest name: '4FGL J1248.9+4840'

4FGL J1248.9+4840
   Spectrum: PowerLaw
331    Prefactor:  3.227e+00  0.000e+00  0.000e+00  1.000e+06 ( 1.000e-13)
332        Index:  2.450e+00  0.000e+00  0.000e+00  1.000e+01 (-1.000e+00) fixed
333        Scale:  9.069e+02  0.000e+00  3.000e+01  5.000e+05 ( 1.000e+00) fixed


Likelihood Fit Parameters:
Event file(s): /scratch/kocevski/833775/ft1_filtered_4FGL_J1248.9+4840_daily_bin1776.fits
Spacecraft file(s): /scratch/kocevski/833775/ft2_4FGL_J1248.9+4840_daily_bin1776.fits
Exposure map: /scratch/kocevski/833775/expmap_699667201_699926401_4FGL_J1248.9+4840_daily_bin1776.fits
Exposure cube: /scratch/kocevski/833775/ltcube_699667201_699926401_4FGL_J1248.9+4840_daily_bin1776.fits
IRFs: P8R3_SOURCE_V2
Source model file: /scratch/kocevski/833775/Model_4FGL_J1248.9+4840_daily_bin1776.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) = 6244.89451829

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

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

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'Prefactor '    .69567E-05   1.0000          .0000       .10000E+07
     2 'Prefactor '    8.2420       1.0000          .0000       .10000E+07
     3 'norm      '    2.7976       1.0000          .0000       .10000E+07
     4 'norm      '    .11008E-06   1.0000          .0000       .10000E+07
     5 'Prefactor '    .48644E-04   1.0000          .0000       .10000E+07
     6 'Prefactor '    .83719E-04   1.0000          .0000       .10000E+07
     7 'norm      '    1.6833       1.0000          .0000       .10000E+07
     8 'Prefactor '    .17769E-06   1.0000          .0000       .10000E+07
     9 'Prefactor '    .66780E-07   1.0000          .0000       .10000E+07
    10 'norm      '    1.7185       1.0000          .0000       .10000E+07
    11 'Prefactor '    .20111E-01   1.0000          .0000       .10000E+07
    12 'Prefactor '    .40379E-06   1.0000          .0000       .10000E+07
    13 'Prefactor '    21.117       1.0000          .0000       .10000E+07
    14 'norm      '    .32796E-03   1.0000          .0000       .10000E+07
    15 'norm      '    .35994E-03   1.0000          .0000       .10000E+07
    16 'Prefactor '    90.435       1.0000          .0000       .10000E+07
    17 'Prefactor '    1.8299       1.0000          .0000       .10000E+07
    18 'norm      '    .14423E-01   1.0000          .0000       .10000E+07
    19 'Prefactor '    61.475       1.0000          .0000       .10000E+07
    20 'norm      '    .73222       1.0000          .0000       .10000E+07
    21 'Normalizat'    .82749       1.0000         .10000E-01   10.000    
    22 'Prefactor '    1.1992       1.0000          .0000       10.000    
 **********
 **   15 **SET ERR    .5000    
 **********
 **********
 **   16 **SET GRAD    1.000    
 **********
 **********
 **   17 **MINIMIZE    .6790E+05   .2000E-04
 **********

 MIGRAD MINIMIZATION HAS CONVERGED.

 FCN=   6244.569     FROM MIGRAD    STATUS=CONVERGED    165 CALLS     1835 TOTAL
                     EDM=   .84E-09  STRATEGY=1  ERROR MATRIX UNCERTAINTY=  2.0%

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor      .0000        1.6063       -.24283E-06** at limit **
   2  Prefactor     7.9575        1.9922       -.27812E-06    .37914E-02
   3  norm          2.8046        1.9046        .84074E-07    .29229E-02
   4  norm          .11102E-09    3.2571        .73453E-06** at limit **
   5  Prefactor     .50948E-06    26.200        .31622E-05** at limit **
   6  Prefactor      .0000        2.4807       -.33072E-06** at limit **
   7  norm          1.6841        1.4934        .33491E-06    .79583E-02
   8  Prefactor     .27328E-06    10.624        .40756E-05** at limit **
   9  Prefactor     .13922E-06    10.183       -.37728E-05** at limit **
  10  norm          1.7180        1.4910        .38025E-07   -.18231E-02
  11  Prefactor     .27756E-09    47.846        .77000E-06** at limit **
  12  Prefactor     .11102E-09    7.3084       -.46192E-06** at limit **
  13  Prefactor     20.899        10.186       -.13624E-05    .11501    
  14  norm          .11902E-06    18.617        .86914E-07** at limit **
  15  norm          .32829E-06    14.123       -.28982E-05** at limit **
  16  Prefactor     93.884        40.216       -.15962E-05   -.36198E-01
  17  Prefactor     .82176E-04    341.56        .70783E-05** at limit **
  18  norm          .37415E-07    10.886        .46294E-06** at limit **
  19  Prefactor     64.645        28.180       -.16687E-05    .92383E-01
  20  norm          .73661        1.4800       -.24574E-06    .44488E-03
  21  Normalizat    .82483        .18401        .56272E-05    .14770E-03
  22  Prefactor     1.2007        .22854       -.15873E-04    .19929E-03
                               ERR DEF=  .500    
Final values: 
  Prefactor  = 0
  Prefactor  = 7.95746
  norm       = 2.8046
  norm       = 1.11022e-10
  Prefactor  = 5.09481e-07
  Prefactor  = 0
  norm       = 1.6841
  Prefactor  = 2.73281e-07
  Prefactor  = 1.39222e-07
  norm       = 1.71803
  Prefactor  = 2.77556e-10
  Prefactor  = 1.11022e-10
  Prefactor  = 20.8993
  norm       = 1.19016e-07
  norm       = 3.28293e-07
  Prefactor  = 93.8843
  Prefactor  = 8.21765e-05
  norm       = 3.74145e-08
  Prefactor  = 64.645
  norm       = 0.736609
  Normalizat = 0.824828
  Prefactor  = 1.20071
 **********
 **   18 **HESSE 
 **********

 FCN=   6244.569     FROM HESSE     STATUS=OK           400 CALLS     2235 TOTAL
                     EDM=   .13E-05    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  Prefactor      .0000        1.5919        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   2  Prefactor     7.9575        15.745        .34897E-03   -1.5652    
   3  norm          2.8046        1.9117        .60800E-03   -1.5674    
   4  norm          .11102E-09    3.2586        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   5  Prefactor     .50948E-06    27.075        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   6  Prefactor      .0000        2.4850        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   7  norm          1.6841        1.4869        .81145E-03   -1.5682    
   8  Prefactor     .27328E-06    11.017        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   9  Prefactor     .13922E-06    10.370        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  10  norm          1.7180        1.5023        .80115E-03   -1.5682    
  11  Prefactor     .27756E-09    7.5910        .11471E-01   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  12  Prefactor     .11102E-09    7.3100        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  13  Prefactor     20.899        28.919        .21768E-03   -1.5617    
  14  norm          .11902E-06    18.802        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  15  norm          .32829E-06    2.7549        .42118E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  16  Prefactor     93.884        42.978        .10516E-03   -1.5514    
  17  Prefactor     .82176E-04    442.30        .77124E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  18  norm          .37415E-07    1.9888        .42118E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  19  Prefactor     64.645        55.827        .12755E-03   -1.5547    
  20  norm          .73661        1.4949        .58130E-03   -1.5691    
  21  Normalizat    .82483        .15800        .43968E-01   -.99154    
  22  Prefactor     1.2007        .19213        .57473E-01   -.86309    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 1.25127e-06
Minuit parameter uncertainties:
  1  8.58627e-07
  2  15.7453
  3  1.91173
  4  3.83726e-05
  5  0.00742822
  6  4.62397e-06
  7  1.48686
  8  0.00347035
  9  0.00240294
  10  1.5023
  11  9.11204e-05
  12  5.21185e-05
  13  28.9196
  14  0.00299181
  15  0.00190208
  16  42.978
  17  0.381322
  18  0.000545641
  19  55.8271
  20  1.49493
  21  0.15809
  22  0.192239
Done.

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

Extracting fit parameters...

4FGL J1248.9+4840
   Spectrum: PowerLaw
331    Prefactor:  2.733e-07  3.470e-03  0.000e+00  1.000e+06 ( 1.000e-13)
332        Index:  2.450e+00  0.000e+00  0.000e+00  1.000e+01 (-1.000e+00) fixed
333        Scale:  9.069e+02  0.000e+00  3.000e+01  5.000e+05 ( 1.000e+00) fixed

GAL_V02
   Spectrum: PowerLaw
676    Prefactor:  1.201e+00  1.922e-01  0.000e+00  1.000e+01 ( 1.000e+00)
677        Index:  0.000e+00  0.000e+00 -1.000e+00  1.000e+00 ( 1.000e+00) fixed
678        Scale:  1.000e+02  0.000e+00  5.000e+01  2.000e+02 ( 1.000e+00) fixed

EG_v02
   Spectrum: FileFunction
675   Normalization:  8.248e-01  1.581e-01  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Fixed Index): -0.00
Ra Dec: 192.244 48.670
Photon Flux Upper Limit: 5.07e-08 ph cm-2 s-1
Energy Flux Upper Limit: 3.93e-03 MeV cm-2 s-1

Saving results to:
/scratch/kocevski/833775/likelihoodResults_699667201_699926401_4FGL_J1248.9+4840_daily_bin1776.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) = 6244.61352768
delta logL = -0.0444764349195

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

MINUIT Return Code (Free Index): 102
logL (Free Index) = 6244.5690513
delta logL = -6.32662704447e-08

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'Prefactor '    .30531E-08   1.0000          .0000       .10000E+07
     2 'Index     '    .97586       1.0000          .0000       10.000    
     3 'Normalizat'    .82490       1.0000         .10000E-01   10.000    
     4 'Prefactor '    1.2006       1.0000          .0000       10.000    
 **********
 **   15 **SET ERR    .5000    
 **********
 **********
 **   16 **SET GRAD    1.000    
 **********
 **********
 **   17 **MINIMIZE    .6790E+05   .2000E-04
 **********

 MIGRAD MINIMIZATION HAS CONVERGED.

 FCN=   6244.569     FROM MIGRAD    STATUS=CONVERGED     29 CALLS      195 TOTAL
                     EDM=   .15E-10  STRATEGY=1  ERROR MATRIX UNCERTAINTY=  1.7%

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor     .55511E-10    10.839        .56494E-06** at limit **
   2  Index         2.5224        3.5339       -.18345E-04    .46391E-11
   3  Normalizat    .82483        .17704       -.50544E-05   -.13408E-03
   4  Prefactor     1.2007        .22633        .82693E-05   -.77360E-04
                               ERR DEF=  .500    
Final values: 
  Prefactor  = 5.55112e-11
  Index      = 2.52241
  Normalizat = 0.824828
  Prefactor  = 1.20071
 **********
 **   18 **HESSE 
 **********

 FCN=   6244.569     FROM HESSE     STATUS=NOT POSDEF    33 CALLS      228 TOTAL
                     EDM=   .13E-13    STRATEGY= 1      ERR MATRIX NOT POS-DEF

  EXT PARAMETER                APPROXIMATE     INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  Prefactor     .55511E-10    .40984E-01    .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   2  Index         2.5224        8.7271        .45965       -.51843    
   3  Normalizat    .82483        .23159E-03    .43934E-01   -.99154    
   4  Prefactor     1.2007        .29554E-03    .57473E-01   -.86309    
                               ERR DEF=  .500    
Minuit fit quality: 2   estimated distance: 1.29915e-14
Minuit parameter uncertainties:
  1  2.71578e-06
  2  11342.2
  3  0.000231586
  4  0.000295538
shell-init: error retrieving current directory: getcwd: cannot access parent directories: No such file or directory
rmdir: failed to remove `/scratch/kocevski/833775': 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): 102
logL (Free Index) = 6244.56905123
delta logL = 1.23964127852e-08

Extracting fit parameters...

4FGL J1248.9+4840
   Spectrum: PowerLaw
331    Prefactor:  5.551e-11  2.716e-06  0.000e+00  1.000e+06 ( 1.000e-13)
332        Index:  2.522e+00  1.134e+04  0.000e+00  1.000e+01 (-1.000e+00)
333        Scale:  9.069e+02  0.000e+00  3.000e+01  5.000e+05 ( 1.000e+00) fixed

GAL_V02
   Spectrum: PowerLaw
676    Prefactor:  1.201e+00  2.955e-04  0.000e+00  1.000e+01 ( 1.000e+00)
677        Index:  0.000e+00  0.000e+00 -1.000e+00  1.000e+00 ( 1.000e+00) fixed
678        Scale:  1.000e+02  0.000e+00  5.000e+01  2.000e+02 ( 1.000e+00) fixed

EG_v02
   Spectrum: FileFunction
675   Normalization:  8.248e-01  2.316e-04  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Free Index): -0.00
Ra Dec: 192.244 48.670

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/833775/cmap_HighResolution_699667201_699926401_4FGL_J1248.9+4840_daily_bin1776.png

Cleaning up...

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

Updating database...

UPDATE lightcurve_data_v2 SET energy_flux_upper_limit='3.93e-03', job_status='DONE', photon_flux_upper_limit='5.07e-08', time_completed='2023-03-08 00:52:00.159168', job_id='833775', GAL2='1.20', fit_tolerance='1e-08', EG2='0.82', EG='0.82', time_epoch_completed='1678265520.16', return_code2='102', ts='-0.00', comment='SUCCESS', return_code='0', GAL='1.20', dlogl='1.24e-08', ts2='-0.00', photon_index_error='0.00', photon_index='2.45' WHERE bin_id='1776' AND source_name='4FGL J1248.9+4840' AND cadence='daily';

Database successfully updated.


Analysis Complete.


Wed Mar  8 00:52:00 PST 2023


------------------------------------------------------------
Sender: LSF System <lsf@bullet0194>
Subject: Job 833775: <4FGL_J1248.9+4840_daily_bin1776> in cluster <slac> Done

Job <4FGL_J1248.9+4840_daily_bin1776> was submitted from host <rhel6-64f> by user <kocevski> in cluster <slac> at Wed Mar  8 00:40:15 2023
Job was executed on host(s) <bullet0194>, in queue <medium>, as user <kocevski> in cluster <slac> at Wed Mar  8 00:40:16 2023
</u/ki/kocevski> was used as the home directory.
</u/ki/kocevski> was used as the working directory.
Started at Wed Mar  8 00:40:16 2023
Terminated at Wed Mar  8 00:52:00 2023
Results reported at Wed Mar  8 00:52:00 2023

Your job looked like:

------------------------------------------------------------
# LSBATCH: User input
/nfs/farm/g/glast/g/LCRepository/Likelihood/Scripts/LikelihoodAnalysis.py 4FGL_J1248.9+4840_daily_bin1776 192.244 48.67 699667201 699926401 irfs=P8R3_SOURCE_V2 zmax=90 ROI=12 association=4FGL_J1248.9+4840 fixedModel=True performFreeIndexFit=True freeVariableSources=True nuke=True repositoryJob=True verbose=False
------------------------------------------------------------

Successfully completed.

Resource usage summary:

    CPU time :                                   644.52 sec.
    Max Memory :                                 1094 MB
    Average Memory :                             325.64 MB
    Total Requested Memory :                     -
    Delta Memory :                               -
    Max Swap :                                   -
    Max Processes :                              5
    Max Threads :                                21
    Run time :                                   704 sec.
    Turnaround time :                            705 sec.

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

