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


Performing analysis on: 4FGL_J2248.7-3235_daily_bin1711
RA = 342.193, Dec = -32.5926
tmin = 682819201, tmax = 683078401
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='248872', job_status='RUN', time_executed='2022-09-17 00:13:36.129093', time_epoch_executed='1663398816.13' WHERE source_name='4FGL J2248.7-3235' and cadence='daily' and bin_id='1711'

Database successfully updated.
Done.

Creating custom output directory:
/scratch/kocevski/248872

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

Retrieving the FT1 file...

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

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

Retrieving 46 files...
Done.


Merging files...

Checksum keywords updated successfully.

Merged file saved to:
/scratch/kocevski/248872/ft1_4FGL_J2248.7-3235_daily_bin1711.fits


Retrieving the FT1 file...

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

Retrieving 46 files...
Done.


Merging files...

Merged file saved to:
/scratch/kocevski/248872/ft2_4FGL_J2248.7-3235_daily_bin1711.fits


Selecting the photons:
time -p gtselect infile=/scratch/kocevski/248872/ft1_4FGL_J2248.7-3235_daily_bin1711.fits outfile=/scratch/kocevski/248872/ft1_filteredMKT_4FGL_J2248.7-3235_daily_bin1711.fits ra=342.193 dec=-32.5926 rad=12.0 tmin=682819201.0 tmax=683078401.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.68
user 4.39
sys 0.24

Adding sun position to ft2 file:
/nfs/farm/g/glast/g/LCRepository/Repository/bin/sunpos /scratch/kocevski/248872/ft2_4FGL_J2248.7-3235_daily_bin1711.fits

Selecting the good time intervals:
time -p gtmktime scfile=/scratch/kocevski/248872/ft2_4FGL_J2248.7-3235_daily_bin1711.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/248872/ft1_filteredMKT_4FGL_J2248.7-3235_daily_bin1711.fits evtable="EVENTS" outfile="/scratch/kocevski/248872/ft1_filtered_4FGL_J2248.7-3235_daily_bin1711.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.34
sys 0.15

Number of photons that the gtmktime cut: 267

Generating the livetime cube:
time -p gtltcube evfile="/scratch/kocevski/248872/ft1_filtered_4FGL_J2248.7-3235_daily_bin1711.fits" evtable="EVENTS" scfile=/scratch/kocevski/248872/ft2_4FGL_J2248.7-3235_daily_bin1711.fits sctable="SC_DATA" outfile=/scratch/kocevski/248872/ltcube_682819201_683078401_4FGL_J2248.7-3235_daily_bin1711.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/248872/ft2_4FGL_J2248.7-3235_daily_bin1711.fits
.....................!
real 13.27
user 12.92
sys 0.33

Generating the exposure map:
time -p gtexpmap evfile=/scratch/kocevski/248872/ft1_filtered_4FGL_J2248.7-3235_daily_bin1711.fits evtable="EVENTS" scfile=/scratch/kocevski/248872/ft2_4FGL_J2248.7-3235_daily_bin1711.fits sctable="SC_DATA" expcube=/scratch/kocevski/248872/ltcube_682819201_683078401_4FGL_J2248.7-3235_daily_bin1711.fits outfile=/scratch/kocevski/248872/expmap_682819201_683078401_4FGL_J2248.7-3235_daily_bin1711.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/248872/ltcube_682819201_683078401_4FGL_J2248.7-3235_daily_bin1711.fits
.....................!
real 191.26
user 185.98
sys 4.90

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

Setting source of interest to:
4FGL J2248.7-3235 @ 342.193 -32.5926

Creating the counts map:
time -p gtbin evfile=/scratch/kocevski/248872/ft1_filtered_4FGL_J2248.7-3235_daily_bin1711.fits scfile=/scratch/kocevski/248872/ft2_4FGL_J2248.7-3235_daily_bin1711.fits outfile=/scratch/kocevski/248872/cmap_682819201_683078401_4FGL_J2248.7-3235_daily_bin1711.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=342.193 yref=-32.5926 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.58
user 0.37
sys 0.16

Creating the high resolution counts map:
time -p gtbin evfile=/scratch/kocevski/248872/ft1_filtered_4FGL_J2248.7-3235_daily_bin1711.fits scfile=/scratch/kocevski/248872/ft2_4FGL_J2248.7-3235_daily_bin1711.fits outfile=/scratch/kocevski/248872/cmap_HighResolution_682819201_683078401_4FGL_J2248.7-3235_daily_bin1711.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=342.193 yref=-32.5926 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/248872/ft1_filtered_4FGL_J2248.7-3235_daily_bin1711.fits evtable="EVENTS" scfile=/scratch/kocevski/248872/ft2_4FGL_J2248.7-3235_daily_bin1711.fits sctable="SC_DATA" srcmdl=/scratch/kocevski/248872/Model_4FGL_J2248.7-3235_daily_bin1711.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/248872/ft1_filtered_4FGL_J2248.7-3235_daily_bin1711.fits.....................!
real 32.08
user 30.70
sys 1.28

Creating the likelihood object...
obs = UnbinnedObs('/scratch/kocevski/248872/ft1_filtered_4FGL_J2248.7-3235_daily_bin1711.fits', '/scratch/kocevski/248872/ft2_4FGL_J2248.7-3235_daily_bin1711.fits', expMap='/scratch/kocevski/248872/expmap_682819201_683078401_4FGL_J2248.7-3235_daily_bin1711.fits', expCube='/scratch/kocevski/248872/ltcube_682819201_683078401_4FGL_J2248.7-3235_daily_bin1711.fits', irfs='P8R3_SOURCE_V2')
like = UnbinnedAnalysis(obs, '/scratch/kocevski/248872/Model_4FGL_J2248.7-3235_daily_bin1711.xml', optimizer='MINUIT')

Using source of interest name: '4FGL J2248.7-3235'

4FGL J2248.7-3235
   Spectrum: PowerLaw
311    Prefactor:  4.211e+00  0.000e+00  0.000e+00  1.000e+06 ( 1.000e-12)
312        Index:  2.761e+00  0.000e+00  0.000e+00  1.000e+01 (-1.000e+00) fixed
313        Scale:  4.468e+02  0.000e+00  3.000e+01  5.000e+05 ( 1.000e+00) fixed


Likelihood Fit Parameters:
Event file(s): /scratch/kocevski/248872/ft1_filtered_4FGL_J2248.7-3235_daily_bin1711.fits
Spacecraft file(s): /scratch/kocevski/248872/ft2_4FGL_J2248.7-3235_daily_bin1711.fits
Exposure map: /scratch/kocevski/248872/expmap_682819201_683078401_4FGL_J2248.7-3235_daily_bin1711.fits
Exposure cube: /scratch/kocevski/248872/ltcube_682819201_683078401_4FGL_J2248.7-3235_daily_bin1711.fits
IRFs: P8R3_SOURCE_V2
Source model file: /scratch/kocevski/248872/Model_4FGL_J2248.7-3235_daily_bin1711.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) = 3089.310311

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

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

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'norm      '    1.0537       1.0000          .0000       .10000E+07
     2 'Prefactor '    14.700       1.0000          .0000       .10000E+07
     3 'Prefactor '    34.489       1.0000          .0000       .10000E+07
     4 'norm      '    53.908       1.0000          .0000       .10000E+07
     5 'Prefactor '    .54925E-03   1.0000          .0000       .10000E+07
     6 'Prefactor '    .84808E-01   1.0000          .0000       .10000E+07
     7 'Prefactor '    12.542       1.0000          .0000       .10000E+07
     8 'Prefactor '    5.1234       1.0000          .0000       .10000E+07
     9 'norm      '    .85025       1.0000          .0000       .10000E+07
    10 'Prefactor '    1.2735       1.0000          .0000       .10000E+07
    11 'Prefactor '    4.2741       1.0000          .0000       .10000E+07
    12 'Prefactor '     .0000       1.0000          .0000       .10000E+07
    13 'norm      '    2.4542       1.0000          .0000       .10000E+07
    14 'Prefactor '    3.2488       1.0000          .0000       .10000E+07
    15 'Prefactor '    39.144       1.0000          .0000       .10000E+07
    16 'norm      '    .69056E-07   1.0000          .0000       .10000E+07
    17 'Prefactor '    .44220E-06   1.0000          .0000       .10000E+07
    18 'norm      '    6.4959       1.0000          .0000       .10000E+07
    19 'norm      '    12.669       1.0000          .0000       .10000E+07
    20 'Prefactor '    .56472E-02   1.0000          .0000       .10000E+07
    21 'Prefactor '    99.260       1.0000          .0000       .10000E+07
    22 'norm      '    .21831E-05   1.0000          .0000       .10000E+07
    23 'Normalizat'    1.0294       1.0000         .10000E-01   10.000    
    24 'Prefactor '    .37007       1.0000          .0000       10.000    
 **********
 **   15 **SET ERR    .5000    
 **********
 **********
 **   16 **SET GRAD    1.000    
 **********
 **********
 **   17 **MINIMIZE    .5770E+05   .2000E-04
 **********

 MIGRAD MINIMIZATION HAS CONVERGED.

 FCN=   3087.202     FROM MIGRAD    STATUS=CONVERGED    171 CALLS     2123 TOTAL
                     EDM=   .70E-09  STRATEGY=1  ERROR MATRIX UNCERTAINTY=  1.2%

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  norm          1.0540        .44335       -.25546E-07    .11024E-02
   2  Prefactor     14.979        4.5033       -.12461E-06   -.14606E-01
   3  Prefactor     33.952        16.206       -.87401E-07    .22946E-02
   4  norm          53.690        10.851       -.13903E-06   -.16041    
   5  Prefactor     .12697E-05    11.420        .17854E-06** at limit **
   6  Prefactor      .0000        41.871       -.25437E-06** at limit **
   7  Prefactor     12.660        10.333        .14669E-06   -.40495E-01
   8  Prefactor     4.5135        12.013       -.83455E-06   -.23653E-01
   9  norm          .89479        2.3150       -.24178E-06    .18866E-03
  10  Prefactor     .16556E-04    170.88       -.50710E-05** at limit **
  11  Prefactor     4.1767        10.683        .27235E-06    .27658E-01
  12  Prefactor      .0000        2.1965       -.13015E-06** at limit **
  13  norm          2.3242        4.9786       -.41357E-06   -.64143E-03
  14  Prefactor     5.1010        20.201       -.59615E-06   -.14890E-01
  15  Prefactor     38.562        16.266        .26567E-06    .64946E-01
  16  norm           .0000        .35676       -.34478E-07** at limit **
  17  Prefactor     .83050E-06    17.487       -.81006E-06** at limit **
  18  norm          6.4891        5.8553       -.12637E-06   -.18870E-04
  19  norm          12.660        12.600       -.46229E-07    .12902E-01
  20  Prefactor     .36815E-06    14.467        .87351E-06** at limit **
  21  Prefactor     101.95        68.578        .64620E-06   -.43591E-02
  22  norm          .16653E-09    8.7387        .23917E-06** at limit **
  23  Normalizat    1.0332        .28558        .10073E-04   -.28381E-04
  24  Prefactor     .36772        .24279       -.10944E-04   -.51358E-05
                               ERR DEF=  .500    
Final values: 
  norm       = 1.05399
  Prefactor  = 14.9788
  Prefactor  = 33.9521
  norm       = 53.6904
  Prefactor  = 1.26965e-06
  Prefactor  = 0
  Prefactor  = 12.6596
  Prefactor  = 4.51348
  norm       = 0.894793
  Prefactor  = 1.65556e-05
  Prefactor  = 4.17674
  Prefactor  = 0
  norm       = 2.32417
  Prefactor  = 5.10102
  Prefactor  = 38.5621
  norm       = 0
  Prefactor  = 8.30502e-07
  norm       = 6.48911
  norm       = 12.6604
  Prefactor  = 3.6815e-07
  Prefactor  = 101.953
  norm       = 1.66533e-10
  Normalizat = 1.03321
  Prefactor  = 0.367717
 **********
 **   18 **HESSE 
 **********

 FCN=   3087.202     FROM HESSE     STATUS=OK           451 CALLS     2574 TOTAL
                     EDM=   .11E-05    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  norm          1.0540        .44280        .52851E-03   -1.5687    
   2  Prefactor     14.979        29.991        .26098E-03   -1.5631    
   3  Prefactor     33.952        16.366        .17030E-03   -1.5591    
   4  norm          53.690        38.344        .13621E-03   -1.5561    
   5  Prefactor     .12697E-05    29.633        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   6  Prefactor      .0000        40.733        .14357E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   7  Prefactor     12.660        14.580        .28260E-03   -1.5637    
   8  Prefactor     4.5135        52.485        .44394E-03   -1.5665    
   9  norm          .89479        2.3770        .49262E-03   -1.5689    
  10  Prefactor     .16556E-04    224.98        .98483E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  11  Prefactor     4.1767        13.691        .48709E-03   -1.5667    
  12  Prefactor      .0000        2.1972        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  13  norm          2.3242        5.0977        .65265E-03   -1.5677    
  14  Prefactor     5.1010        31.886        .56166E-03   -1.5663    
  15  Prefactor     38.562        19.805        .15985E-03   -1.5584    
  16  norm           .0000        .35910        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  17  Prefactor     .83050E-06    32.955        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  18  norm          6.4891        5.8696        .39353E-03   -1.5657    
  19  norm          12.660        12.816        .28117E-03   -1.5637    
  20  Prefactor     .36815E-06    28.107        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  21  Prefactor     101.95        68.511        .10038E-03   -1.5506    
  22  norm          .16653E-09    8.7124        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  23  Normalizat    1.0332        .24659        .42222E-01   -.91926    
  24  Prefactor     .36772        .21476        .70751E-01   -1.1849    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 1.14773e-06
Minuit parameter uncertainties:
  1  0.4428
  2  29.9916
  3  16.3657
  4  38.3439
  5  0.0122676
  6  4.50232e-05
  7  14.5797
  8  30.7829
  9  2.377
  10  0.122064
  11  13.691
  12  1.74282e-06
  13  5.09774
  14  25.5073
  15  19.8053
  16  4.3824e-07
  17  0.010463
  18  5.86965
  19  12.8162
  20  0.00643367
  21  68.5118
  22  7.73601e-05
  23  0.24686
  24  0.215232
Done.

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

Extracting fit parameters...

4FGL J2248.7-3235
   Spectrum: PowerLaw
311    Prefactor:  4.177e+00  1.369e+01  0.000e+00  1.000e+06 ( 1.000e-12)
312        Index:  2.761e+00  0.000e+00  0.000e+00  1.000e+01 (-1.000e+00) fixed
313        Scale:  4.468e+02  0.000e+00  3.000e+01  5.000e+05 ( 1.000e+00) fixed

GAL_V02
   Spectrum: PowerLaw
574    Prefactor:  3.677e-01  2.152e-01  0.000e+00  1.000e+01 ( 1.000e+00)
575        Index:  0.000e+00  0.000e+00 -1.000e+00  1.000e+00 ( 1.000e+00) fixed
576        Scale:  1.000e+02  0.000e+00  5.000e+01  2.000e+02 ( 1.000e+00) fixed

EG_v02
   Spectrum: FileFunction
573   Normalization:  1.033e+00  2.469e-01  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Fixed Index): 0.11
Ra Dec: 342.193 -32.593
Photon Flux Upper Limit: 1.43e-07 ph cm-2 s-1
Energy Flux Upper Limit: 1.13e-02 MeV cm-2 s-1

Saving results to:
/scratch/kocevski/248872/likelihoodResults_682819201_683078401_4FGL_J2248.7-3235_daily_bin1711.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) = 3087.19892237
delta logL = 0.00288463431207

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

MINUIT Return Code (Free Index): 0
logL (Free Index) = 3087.19866219
delta logL = 0.00314481125542

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'Prefactor '    4.4896       1.0000          .0000       .10000E+07
     2 'Index     '    2.6199       1.0000          .0000       10.000    
     3 'Normalizat'    1.0345       1.0000         .10000E-01   10.000    
     4 'Prefactor '    .36652       1.0000          .0000       10.000    
 **********
 **   15 **SET ERR    .5000    
 **********
 **********
 **   16 **SET GRAD    1.000    
 **********
 **********
 **   17 **MINIMIZE    .5770E+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=   3087.199     FROM MIGRAD    STATUS=CONVERGED     87 CALLS      279 TOTAL
                     EDM=   .37E-09    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor     4.4892        14.641        .18998E-04    .15065E-02
   2  Index         2.6201        1.7057        .16340E-01    .44426E-04
   3  Normalizat    1.0343        .26246        .21347E-03   -.75113E-04
   4  Prefactor     .36673        .23662        .31374E-03   -.28246E-04
                               ERR DEF=  .500    
Final values: 
  Prefactor  = 4.48919
  Index      = 2.62006
  Normalizat = 1.03428
  Prefactor  = 0.36673
 **********
 **   18 **HESSE 
 **********

 FCN=   3087.199     FROM HESSE     STATUS=OK            23 CALLS      302 TOTAL
                     EDM=   .39E-09    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  Prefactor     4.4892        14.430        .75991E-06   -1.5666    
   2  Index         2.6201        1.6833        .65362E-03   -.49609    
   3  Normalizat    1.0343        .26272        .42694E-04   -.91891    
   4  Prefactor     .36673        .23676        .12550E-04   -1.1854    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 3.86149e-10
Minuit parameter uncertainties:
  1  14.4298
  2  1.72735
  3  0.263046
  4  0.237392
shell-init: error retrieving current directory: getcwd: cannot access parent directories: No such file or directory
rmdir: failed to remove `/scratch/kocevski/248872': 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) = 3087.19866177
delta logL = 0.00314523794441

Extracting fit parameters...

4FGL J2248.7-3235
   Spectrum: PowerLaw
311    Prefactor:  4.489e+00  1.443e+01  0.000e+00  1.000e+06 ( 1.000e-12)
312        Index:  2.620e+00  1.727e+00  0.000e+00  1.000e+01 (-1.000e+00)
313        Scale:  4.468e+02  0.000e+00  3.000e+01  5.000e+05 ( 1.000e+00) fixed

GAL_V02
   Spectrum: PowerLaw
574    Prefactor:  3.667e-01  2.374e-01  0.000e+00  1.000e+01 ( 1.000e+00)
575        Index:  0.000e+00  0.000e+00 -1.000e+00  1.000e+00 ( 1.000e+00) fixed
576        Scale:  1.000e+02  0.000e+00  5.000e+01  2.000e+02 ( 1.000e+00) fixed

EG_v02
   Spectrum: FileFunction
573   Normalization:  1.034e+00  2.630e-01  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Free Index): 0.11
Ra Dec: 342.193 -32.593

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/248872/cmap_HighResolution_682819201_683078401_4FGL_J2248.7-3235_daily_bin1711.png

Cleaning up...

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

Updating database...

UPDATE lightcurve_data_v2 SET energy_flux_upper_limit='1.13e-02', job_status='DONE', photon_flux_upper_limit='1.43e-07', time_completed='2022-09-17 00:21:26.008092', job_id='248872', GAL2='0.37', fit_tolerance='1e-08', EG2='1.03', EG='1.03', time_epoch_completed='1663399286.01', return_code2='0', ts='0.11', comment='SUCCESS', return_code='0', GAL='0.37', dlogl='3.15e-03', ts2='0.12', photon_index_error='0.00', photon_index='2.76' WHERE bin_id='1711' AND source_name='4FGL J2248.7-3235' AND cadence='daily';

Database successfully updated.


Analysis Complete.


Sat Sep 17 00:21:26 PDT 2022


------------------------------------------------------------
Sender: LSF System <lsf@bullet0207>
Subject: Job 248830: <4FGL_J2248.7-3235_daily_bin1711> in cluster <slac> Done

Job <4FGL_J2248.7-3235_daily_bin1711> was submitted from host <rhel6-64f> by user <kocevski> in cluster <slac> at Sat Sep 17 00:05:30 2022
Job was executed on host(s) <bullet0207>, in queue <medium>, as user <kocevski> in cluster <slac> at Sat Sep 17 00:10:21 2022
</u/ki/kocevski> was used as the home directory.
</u/ki/kocevski> was used as the working directory.
Started at Sat Sep 17 00:10:21 2022
Terminated at Sat Sep 17 00:21:24 2022
Results reported at Sat Sep 17 00:21:24 2022

Your job looked like:

------------------------------------------------------------
# LSBATCH: User input
/nfs/farm/g/glast/g/LCRepository/Likelihood/Scripts/LikelihoodAnalysis.py 4FGL_J2248.7-3235_daily_bin1711 342.193 -32.5926 682819201 683078401 irfs=P8R3_SOURCE_V2 zmax=90 ROI=12 association=4FGL_J2248.7-3235 fixedModel=True performFreeIndexFit=True freeVariableSources=True nuke=True repositoryJob=True verbose=False
------------------------------------------------------------

Successfully completed.

Resource usage summary:

    CPU time :                                   473.30 sec.
    Max Memory :                                 1255 MB
    Average Memory :                             286.55 MB
    Total Requested Memory :                     -
    Delta Memory :                               -
    Max Swap :                                   -
    Max Processes :                              5
    Max Threads :                                21
    Run time :                                   662 sec.
    Turnaround time :                            954 sec.

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


------------------------------------------------------------
Sender: LSF System <lsf@bullet0226>
Subject: Job 248872: <4FGL_J2248.7-3235_daily_bin1711> in cluster <slac> Done

Job <4FGL_J2248.7-3235_daily_bin1711> was submitted from host <rhel6-64q> by user <kocevski> in cluster <slac> at Sat Sep 17 00:05:31 2022
Job was executed on host(s) <bullet0226>, in queue <medium>, as user <kocevski> in cluster <slac> at Sat Sep 17 00:10:56 2022
</u/ki/kocevski> was used as the home directory.
</u/ki/kocevski> was used as the working directory.
Started at Sat Sep 17 00:10:56 2022
Terminated at Sat Sep 17 00:21:26 2022
Results reported at Sat Sep 17 00:21:26 2022

Your job looked like:

------------------------------------------------------------
# LSBATCH: User input
/nfs/farm/g/glast/g/LCRepository/Likelihood/Scripts/LikelihoodAnalysis.py 4FGL_J2248.7-3235_daily_bin1711 342.193 -32.5926 682819201 683078401 irfs=P8R3_SOURCE_V2 zmax=90 ROI=12 association=4FGL_J2248.7-3235 fixedModel=True performFreeIndexFit=True freeVariableSources=True nuke=True repositoryJob=True verbose=False
------------------------------------------------------------

Successfully completed.

Resource usage summary:

    CPU time :                                   471.53 sec.
    Max Memory :                                 1093 MB
    Average Memory :                             286.19 MB
    Total Requested Memory :                     -
    Delta Memory :                               -
    Max Swap :                                   -
    Max Processes :                              5
    Max Threads :                                21
    Run time :                                   630 sec.
    Turnaround time :                            955 sec.

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

