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


Performing analysis on: 4FGL_J1748.0+3403_daily_bin1747
RA = 267.011, Dec = 34.0641
tmin = 692150401, tmax = 692409601
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='808945', job_status='RUN', time_executed='2022-12-11 01:22:08.950542', time_epoch_executed='1670750528.95' WHERE source_name='4FGL J1748.0+3403' and cadence='daily' and bin_id='1747'

Database successfully updated.
Done.

Creating custom output directory:
/scratch/kocevski/808945

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

Retrieving the FT1 file...

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

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

Retrieving 47 files...
Done.


Merging files...

Checksum keywords updated successfully.

Merged file saved to:
/scratch/kocevski/808945/ft1_4FGL_J1748.0+3403_daily_bin1747.fits


Retrieving the FT1 file...

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

Retrieving 47 files...
Done.


Merging files...

Merged file saved to:
/scratch/kocevski/808945/ft2_4FGL_J1748.0+3403_daily_bin1747.fits


Selecting the photons:
time -p gtselect infile=/scratch/kocevski/808945/ft1_4FGL_J1748.0+3403_daily_bin1747.fits outfile=/scratch/kocevski/808945/ft1_filteredMKT_4FGL_J1748.0+3403_daily_bin1747.fits ra=267.011 dec=34.0641 rad=12.0 tmin=692150401.0 tmax=692409601.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.01
user 3.77
sys 0.21

Adding sun position to ft2 file:
/nfs/farm/g/glast/g/LCRepository/Repository/bin/sunpos /scratch/kocevski/808945/ft2_4FGL_J1748.0+3403_daily_bin1747.fits

Selecting the good time intervals:
time -p gtmktime scfile=/scratch/kocevski/808945/ft2_4FGL_J1748.0+3403_daily_bin1747.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/808945/ft1_filteredMKT_4FGL_J1748.0+3403_daily_bin1747.fits evtable="EVENTS" outfile="/scratch/kocevski/808945/ft1_filtered_4FGL_J1748.0+3403_daily_bin1747.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.48
user 0.31
sys 0.17

Number of photons that the gtmktime cut: 806

Generating the livetime cube:
time -p gtltcube evfile="/scratch/kocevski/808945/ft1_filtered_4FGL_J1748.0+3403_daily_bin1747.fits" evtable="EVENTS" scfile=/scratch/kocevski/808945/ft2_4FGL_J1748.0+3403_daily_bin1747.fits sctable="SC_DATA" outfile=/scratch/kocevski/808945/ltcube_692150401_692409601_4FGL_J1748.0+3403_daily_bin1747.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/808945/ft2_4FGL_J1748.0+3403_daily_bin1747.fits
.....................!
real 11.86
user 11.49
sys 0.34

Generating the exposure map:
time -p gtexpmap evfile=/scratch/kocevski/808945/ft1_filtered_4FGL_J1748.0+3403_daily_bin1747.fits evtable="EVENTS" scfile=/scratch/kocevski/808945/ft2_4FGL_J1748.0+3403_daily_bin1747.fits sctable="SC_DATA" expcube=/scratch/kocevski/808945/ltcube_692150401_692409601_4FGL_J1748.0+3403_daily_bin1747.fits outfile=/scratch/kocevski/808945/expmap_692150401_692409601_4FGL_J1748.0+3403_daily_bin1747.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/808945/ltcube_692150401_692409601_4FGL_J1748.0+3403_daily_bin1747.fits
.....................!
real 191.21
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 206 point sources and 0 extended sources

Setting source of interest to:
4FGL J1748.0+3403 @ 267.011 34.0641

Creating the counts map:
time -p gtbin evfile=/scratch/kocevski/808945/ft1_filtered_4FGL_J1748.0+3403_daily_bin1747.fits scfile=/scratch/kocevski/808945/ft2_4FGL_J1748.0+3403_daily_bin1747.fits outfile=/scratch/kocevski/808945/cmap_692150401_692409601_4FGL_J1748.0+3403_daily_bin1747.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=267.011 yref=34.0641 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.54
user 0.36
sys 0.16

Creating the high resolution counts map:
time -p gtbin evfile=/scratch/kocevski/808945/ft1_filtered_4FGL_J1748.0+3403_daily_bin1747.fits scfile=/scratch/kocevski/808945/ft2_4FGL_J1748.0+3403_daily_bin1747.fits outfile=/scratch/kocevski/808945/cmap_HighResolution_692150401_692409601_4FGL_J1748.0+3403_daily_bin1747.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=267.011 yref=34.0641 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.54
user 0.39
sys 0.14

Computing the diffuse response:
time -p gtdiffrsp evfile=/scratch/kocevski/808945/ft1_filtered_4FGL_J1748.0+3403_daily_bin1747.fits evtable="EVENTS" scfile=/scratch/kocevski/808945/ft2_4FGL_J1748.0+3403_daily_bin1747.fits sctable="SC_DATA" srcmdl=/scratch/kocevski/808945/Model_4FGL_J1748.0+3403_daily_bin1747.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/808945/ft1_filtered_4FGL_J1748.0+3403_daily_bin1747.fits.....................!
real 71.45
user 70.10
sys 1.19

Creating the likelihood object...
obs = UnbinnedObs('/scratch/kocevski/808945/ft1_filtered_4FGL_J1748.0+3403_daily_bin1747.fits', '/scratch/kocevski/808945/ft2_4FGL_J1748.0+3403_daily_bin1747.fits', expMap='/scratch/kocevski/808945/expmap_692150401_692409601_4FGL_J1748.0+3403_daily_bin1747.fits', expCube='/scratch/kocevski/808945/ltcube_692150401_692409601_4FGL_J1748.0+3403_daily_bin1747.fits', irfs='P8R3_SOURCE_V2')
like = UnbinnedAnalysis(obs, '/scratch/kocevski/808945/Model_4FGL_J1748.0+3403_daily_bin1747.xml', optimizer='MINUIT')

Using source of interest name: '4FGL J1748.0+3403'

4FGL J1748.0+3403
   Spectrum: PowerLaw
333    Prefactor:  4.182e+00  0.000e+00  0.000e+00  1.000e+06 ( 1.000e-13)
334        Index:  2.337e+00  0.000e+00  0.000e+00  1.000e+01 (-1.000e+00) fixed
335        Scale:  1.176e+03  0.000e+00  3.000e+01  5.000e+05 ( 1.000e+00) fixed


Likelihood Fit Parameters:
Event file(s): /scratch/kocevski/808945/ft1_filtered_4FGL_J1748.0+3403_daily_bin1747.fits
Spacecraft file(s): /scratch/kocevski/808945/ft2_4FGL_J1748.0+3403_daily_bin1747.fits
Exposure map: /scratch/kocevski/808945/expmap_692150401_692409601_4FGL_J1748.0+3403_daily_bin1747.fits
Exposure cube: /scratch/kocevski/808945/ltcube_692150401_692409601_4FGL_J1748.0+3403_daily_bin1747.fits
IRFs: P8R3_SOURCE_V2
Source model file: /scratch/kocevski/808945/Model_4FGL_J1748.0+3403_daily_bin1747.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) = 8440.87839871

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

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

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'norm      '    .80514E-01   1.0000          .0000       .10000E+07
     2 'norm      '    .22789E-03   1.0000          .0000       .10000E+07
     3 'norm      '    .22506E-05   1.0000          .0000       .10000E+07
     4 'Prefactor '    .23378E-01   1.0000          .0000       .10000E+07
     5 'Prefactor '    .98418       1.0000          .0000       .10000E+07
     6 'Prefactor '    .23258E-03   1.0000          .0000       .10000E+07
     7 'Prefactor '    13.034       1.0000          .0000       .10000E+07
     8 'Prefactor '    .41475E-03   1.0000          .0000       .10000E+07
     9 'Prefactor '    .10648E-01   1.0000          .0000       .10000E+07
    10 'Prefactor '    .62412E-03   1.0000          .0000       .10000E+07
    11 'norm      '    .51847E-07   1.0000          .0000       .10000E+07
    12 'norm      '    17.501       1.0000          .0000       .10000E+07
    13 'norm      '    4.4690       1.0000          .0000       .10000E+07
    14 'Prefactor '    .44636       1.0000          .0000       .10000E+07
    15 'norm      '    12.243       1.0000          .0000       .10000E+07
    16 'Prefactor '    .27515       1.0000          .0000       .10000E+07
    17 'Prefactor '    4.2344       1.0000          .0000       .10000E+07
    18 'Prefactor '    15.112       1.0000          .0000       .10000E+07
    19 'norm      '    .81723E-03   1.0000          .0000       .10000E+07
    20 'Normalizat'    1.2704       1.0000         .10000E-01   10.000    
    21 'Prefactor '    .87005       1.0000          .0000       10.000    
 **********
 **   15 **SET ERR    .5000    
 **********
 **********
 **   16 **SET GRAD    1.000    
 **********
 **********
 **   17 **MINIMIZE    .6740E+05   .2000E-04
 **********

 MIGRAD MINIMIZATION HAS CONVERGED.

 FCN=   8440.788     FROM MIGRAD    STATUS=CONVERGED    203 CALLS     1386 TOTAL
                     EDM=   .26E-09  STRATEGY=1  ERROR MATRIX UNCERTAINTY=  2.2%

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  norm          .79701E-01    1.7628        .12032E-05** at limit **
   2  norm           .0000        2.5502       -.56856E-06** at limit **
   3  norm          .55511E-10    2.5226        .35390E-07** at limit **
   4  Prefactor      .0000        37.253        .13347E-06** at limit **
   5  Prefactor     .17042E-07    593.11        .35835E-04** at limit **
   6  Prefactor      .0000        3.9322        .56877E-06** at limit **
   7  Prefactor     13.046        11.574       -.26386E-06    .35308E-03
   8  Prefactor     .11102E-09    37.169        .14377E-05** at limit **
   9  Prefactor     .27756E-09    178.46       -.75924E-05** at limit **
  10  Prefactor      .0000        2.7386       -.92556E-06** at limit **
  11  norm           .0000        .48607        .27025E-06** at limit **
  12  norm          17.102        37.310       -.56477E-05   -.17798E-03
  13  norm          4.4255        5.1507       -.10909E-05    .11290E-02
  14  Prefactor     .45290        7.4102       -.23342E-05   -.15275E-02
  15  norm          12.223        8.1196       -.30269E-06   -.13596E-04
  16  Prefactor     .24818        10.562        .54168E-05** at limit **
  17  Prefactor     4.2109        9.4522       -.34418E-05    .60180E-03
  18  Prefactor     15.116        7.8934        .49341E-06   -.37151E-03
  19  norm          .77716E-09    15.661        .60648E-06** at limit **
  20  Normalizat    1.2708        .23246        .16174E-04   -.33995E-03
  21  Prefactor     .87016        .11834        .82000E-06   -.48460E-03
                               ERR DEF=  .500    
Final values: 
  norm       = 0.0797008
  norm       = 0
  norm       = 5.55112e-11
  Prefactor  = 0
  Prefactor  = 1.70419e-08
  Prefactor  = 0
  Prefactor  = 13.0462
  Prefactor  = 1.11022e-10
  Prefactor  = 2.77556e-10
  Prefactor  = 0
  norm       = 0
  norm       = 17.1021
  norm       = 4.42547
  Prefactor  = 0.452899
  norm       = 12.2228
  Prefactor  = 0.248178
  Prefactor  = 4.21091
  Prefactor  = 15.1156
  norm       = 7.77156e-10
  Normalizat = 1.27083
  Prefactor  = 0.870159
 **********
 **   18 **HESSE 
 **********

 FCN=   8440.788     FROM HESSE     STATUS=OK           367 CALLS     1753 TOTAL
                     EDM=   .29E-05    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  norm          .79701E-01    .59806        .24725E-02   -1.5702    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   2  norm           .0000        2.5600        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   3  norm          .55511E-10    2.5166        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   4  Prefactor      .0000        37.045        .16824E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   5  Prefactor     .17042E-07    588.99        .43205E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   6  Prefactor      .0000        3.9580        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   7  Prefactor     13.046        11.569        .27719E-03   -1.5636    
   8  Prefactor     .11102E-09    37.195        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   9  Prefactor     .27756E-09    178.48        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  10  Prefactor      .0000        2.7477        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  11  norm           .0000        .48902        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  12  norm          17.102        37.465        .23914E-03   -1.5625    
  13  norm          4.4255        5.1572        .47607E-03   -1.5666    
  14  Prefactor     .45290        7.2705        .84300E-03   -1.5695    
  15  norm          12.223        8.1234        .28604E-03   -1.5638    
  16  Prefactor     .24818        1.8934        .68353E-02   -1.5698    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  17  Prefactor     4.2109        9.5066        .48944E-03   -1.5667    
  18  Prefactor     15.116        7.8883        .25738E-03   -1.5630    
  19  norm          .77716E-09    15.688        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  20  Normalizat    1.2708        .19513        .68404E-01   -.84441    
  21  Prefactor     .87016        .98974E-01    .44622E-01   -.97192    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 2.94527e-06
Minuit parameter uncertainties:
  1  0.436652
  2  6.33968e-06
  3  1.80576e-05
  4  6.18388e-05
  5  0.00633881
  6  1.79305e-06
  7  11.5693
  8  0.000111747
  9  0.000429728
  10  1.46262e-05
  11  3.11813e-06
  12  37.4657
  13  5.15716
  14  3.62921
  15  8.12342
  16  1.37098
  17  9.50661
  18  7.88827
  19  0.000217797
  20  0.195244
  21  0.0989944
Done.

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

Extracting fit parameters...

4FGL J1748.0+3403
   Spectrum: PowerLaw
333    Prefactor:  0.000e+00  1.793e-06  0.000e+00  1.000e+06 ( 1.000e-13)
334        Index:  2.337e+00  0.000e+00  0.000e+00  1.000e+01 (-1.000e+00) fixed
335        Scale:  1.176e+03  0.000e+00  3.000e+01  5.000e+05 ( 1.000e+00) fixed

GAL_V02
   Spectrum: PowerLaw
671    Prefactor:  8.702e-01  9.899e-02  0.000e+00  1.000e+01 ( 1.000e+00)
672        Index:  0.000e+00  0.000e+00 -1.000e+00  1.000e+00 ( 1.000e+00) fixed
673        Scale:  1.000e+02  0.000e+00  5.000e+01  2.000e+02 ( 1.000e+00) fixed

EG_v02
   Spectrum: FileFunction
670   Normalization:  1.271e+00  1.952e-01  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Fixed Index): 0.00
Ra Dec: 267.011 34.064
Photon Flux Upper Limit: 4.65e-08 ph cm-2 s-1
Energy Flux Upper Limit: 3.58e-03 MeV cm-2 s-1

Saving results to:
/scratch/kocevski/808945/likelihoodResults_692150401_692409601_4FGL_J1748.0+3403_daily_bin1747.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): 102
logL (Free Index) = 8440.78893453
delta logL = -0.000494208790769

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

MINUIT Return Code (Free Index): 102
logL (Free Index) = 8440.78844091
delta logL = -5.87377144257e-07

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'Prefactor '    .27711E-06   1.0000          .0000       .10000E+07
     2 'Index     '    1.1903       1.0000          .0000       10.000    
     3 'Normalizat'    1.2707       1.0000         .10000E-01   10.000    
     4 'Prefactor '    .87027       1.0000          .0000       10.000    
 **********
 **   15 **SET ERR    .5000    
 **********
 **********
 **   16 **SET GRAD    1.000    
 **********
 **********
 **   17 **MINIMIZE    .6740E+05   .2000E-04
 **********

 MIGRAD MINIMIZATION HAS CONVERGED.

 MIGRAD WILL VERIFY CONVERGENCE AND ERROR MATRIX.
  MNHESS FAILS AND WILL RETURN DIAGONAL MATRIX. 

 FCN=   8440.788     FROM MIGRAD    STATUS=CONVERGED     47 CALLS      246 TOTAL
                     EDM=   .25E-10  STRATEGY=1  ERROR MATRIX UNCERTAINTY=100.0%

  EXT PARAMETER                APPROXIMATE        STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor      .0000        1.1097        .42118E-03** at limit **
   2  Index         3.2553        1.6008       -.17496E-03     .0000    
   3  Normalizat    1.2708        1.0861        .11454E-04   -.11140E-03
   4  Prefactor     .87016        1.2165        .48406E-05   -.15289E-03
                               ERR DEF=  .500    
Final values: 
  Prefactor  = 0
  Index      = 3.25528
  Normalizat = 1.27083
  Prefactor  = 0.870159
 **********
 **   18 **HESSE 
 **********
  MNHESS FAILS AND WILL RETURN DIAGONAL MATRIX. 

 FCN=   8440.788     FROM HESSE     STATUS=FAILED         9 CALLS      255 TOTAL
                     EDM=   .25E-10  STRATEGY=1  ERROR MATRIX UNCERTAINTY=100.0%

  EXT PARAMETER                APPROXIMATE     INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  Prefactor      .0000        1.1097        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   2  Index         1.1898        2.1704       -.17496E-03   -.35644    
   3  Normalizat    1.2708        1.0861        .11454E-04   -.84441    
   4  Prefactor     .87016        1.2165        .48406E-05   -.97192    
                               ERR DEF=  .500    
Minuit fit quality: 1   estimated distance: 2.50212e-11
Minuit parameter uncertainties:
  1  1.00619e-05
  2  1.63367
  3  1.10645
  4  1.25779
shell-init: error retrieving current directory: getcwd: cannot access parent directories: No such file or directory
rmdir: failed to remove `/scratch/kocevski/808945': 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): 101
logL (Free Index) = 8440.78844033
delta logL = 5.82076609135e-11

Extracting fit parameters...

4FGL J1748.0+3403
   Spectrum: PowerLaw
333    Prefactor:  0.000e+00  1.006e-05  0.000e+00  1.000e+06 ( 1.000e-13)
334        Index:  3.255e+00  1.634e+00  0.000e+00  1.000e+01 (-1.000e+00)
335        Scale:  1.176e+03  0.000e+00  3.000e+01  5.000e+05 ( 1.000e+00) fixed

GAL_V02
   Spectrum: PowerLaw
671    Prefactor:  8.702e-01  1.258e+00  0.000e+00  1.000e+01 ( 1.000e+00)
672        Index:  0.000e+00  0.000e+00 -1.000e+00  1.000e+00 ( 1.000e+00) fixed
673        Scale:  1.000e+02  0.000e+00  5.000e+01  2.000e+02 ( 1.000e+00) fixed

EG_v02
   Spectrum: FileFunction
670   Normalization:  1.271e+00  1.106e+00  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Free Index): 0.00
Ra Dec: 267.011 34.064

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/808945/cmap_HighResolution_692150401_692409601_4FGL_J1748.0+3403_daily_bin1747.png

Cleaning up...

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

Updating database...

UPDATE lightcurve_data_v2 SET energy_flux_upper_limit='3.58e-03', job_status='DONE', photon_flux_upper_limit='4.65e-08', time_completed='2022-12-11 01:33:40.811185', job_id='808945', GAL2='0.87', fit_tolerance='1e-08', EG2='1.27', EG='1.27', time_epoch_completed='1670751220.81', return_code2='101', ts='0.00', comment='SUCCESS', return_code='0', GAL='0.87', dlogl='5.82e-11', ts2='0.00', photon_index_error='0.00', photon_index='2.34' WHERE bin_id='1747' AND source_name='4FGL J1748.0+3403' AND cadence='daily';

Database successfully updated.


Analysis Complete.


Sun Dec 11 01:33:40 PST 2022


------------------------------------------------------------
Sender: LSF System <lsf@bullet0171>
Subject: Job 808945: <4FGL_J1748.0+3403_daily_bin1747> in cluster <slac> Done

Job <4FGL_J1748.0+3403_daily_bin1747> was submitted from host <rhel6-64p> by user <kocevski> in cluster <slac> at Sun Dec 11 01:20:26 2022
Job was executed on host(s) <bullet0171>, in queue <medium>, as user <kocevski> in cluster <slac> at Sun Dec 11 01:20:27 2022
</u/ki/kocevski> was used as the home directory.
</u/ki/kocevski> was used as the working directory.
Started at Sun Dec 11 01:20:27 2022
Terminated at Sun Dec 11 01:33:41 2022
Results reported at Sun Dec 11 01:33:41 2022

Your job looked like:

------------------------------------------------------------
# LSBATCH: User input
/nfs/farm/g/glast/g/LCRepository/Likelihood/Scripts/LikelihoodAnalysis.py 4FGL_J1748.0+3403_daily_bin1747 267.011 34.0641 692150401 692409601 irfs=P8R3_SOURCE_V2 zmax=90 ROI=12 association=4FGL_J1748.0+3403 fixedModel=True performFreeIndexFit=True freeVariableSources=True nuke=True repositoryJob=True verbose=False
------------------------------------------------------------

Successfully completed.

Resource usage summary:

    CPU time :                                   694.00 sec.
    Max Memory :                                 1257 MB
    Average Memory :                             317.39 MB
    Total Requested Memory :                     -
    Delta Memory :                               -
    Max Swap :                                   -
    Max Processes :                              5
    Max Threads :                                21
    Run time :                                   794 sec.
    Turnaround time :                            795 sec.

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

