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


Performing analysis on: 4FGL_J1748.6+7005_daily_bin1748
RA = 267.158, Dec = 70.0969
tmin = 692409601, tmax = 692668801
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='892546', job_status='RUN', time_executed='2022-12-14 01:00:34.657794', time_epoch_executed='1671008434.66' WHERE source_name='4FGL J1748.6+7005' and cadence='daily' and bin_id='1748'

Database successfully updated.
Done.

Creating custom output directory:
/scratch/kocevski/892546

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

Retrieving the FT1 file...

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

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

Retrieving 46 files...
Done.


Merging files...

Checksum keywords updated successfully.

Merged file saved to:
/scratch/kocevski/892546/ft1_4FGL_J1748.6+7005_daily_bin1748.fits


Retrieving the FT1 file...

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

Retrieving 46 files...
Done.


Merging files...

Merged file saved to:
/scratch/kocevski/892546/ft2_4FGL_J1748.6+7005_daily_bin1748.fits


Selecting the photons:
time -p gtselect infile=/scratch/kocevski/892546/ft1_4FGL_J1748.6+7005_daily_bin1748.fits outfile=/scratch/kocevski/892546/ft1_filteredMKT_4FGL_J1748.6+7005_daily_bin1748.fits ra=267.158 dec=70.0969 rad=12.0 tmin=692409601.0 tmax=692668801.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.64
user 3.43
sys 0.19

Adding sun position to ft2 file:
/nfs/farm/g/glast/g/LCRepository/Repository/bin/sunpos /scratch/kocevski/892546/ft2_4FGL_J1748.6+7005_daily_bin1748.fits

Selecting the good time intervals:
time -p gtmktime scfile=/scratch/kocevski/892546/ft2_4FGL_J1748.6+7005_daily_bin1748.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/892546/ft1_filteredMKT_4FGL_J1748.6+7005_daily_bin1748.fits evtable="EVENTS" outfile="/scratch/kocevski/892546/ft1_filtered_4FGL_J1748.6+7005_daily_bin1748.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.33
sys 0.16

Number of photons that the gtmktime cut: 989

Generating the livetime cube:
time -p gtltcube evfile="/scratch/kocevski/892546/ft1_filtered_4FGL_J1748.6+7005_daily_bin1748.fits" evtable="EVENTS" scfile=/scratch/kocevski/892546/ft2_4FGL_J1748.6+7005_daily_bin1748.fits sctable="SC_DATA" outfile=/scratch/kocevski/892546/ltcube_692409601_692668801_4FGL_J1748.6+7005_daily_bin1748.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/892546/ft2_4FGL_J1748.6+7005_daily_bin1748.fits
.....................!
real 12.11
user 11.72
sys 0.35

Generating the exposure map:
time -p gtexpmap evfile=/scratch/kocevski/892546/ft1_filtered_4FGL_J1748.6+7005_daily_bin1748.fits evtable="EVENTS" scfile=/scratch/kocevski/892546/ft2_4FGL_J1748.6+7005_daily_bin1748.fits sctable="SC_DATA" expcube=/scratch/kocevski/892546/ltcube_692409601_692668801_4FGL_J1748.6+7005_daily_bin1748.fits outfile=/scratch/kocevski/892546/expmap_692409601_692668801_4FGL_J1748.6+7005_daily_bin1748.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/892546/ltcube_692409601_692668801_4FGL_J1748.6+7005_daily_bin1748.fits
.....................!
real 190.60
user 184.75
sys 5.51

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

Setting source of interest to:
4FGL J1748.6+7005 @ 267.158 70.0969

Creating the counts map:
time -p gtbin evfile=/scratch/kocevski/892546/ft1_filtered_4FGL_J1748.6+7005_daily_bin1748.fits scfile=/scratch/kocevski/892546/ft2_4FGL_J1748.6+7005_daily_bin1748.fits outfile=/scratch/kocevski/892546/cmap_692409601_692668801_4FGL_J1748.6+7005_daily_bin1748.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.158 yref=70.0969 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.35
sys 0.17

Creating the high resolution counts map:
time -p gtbin evfile=/scratch/kocevski/892546/ft1_filtered_4FGL_J1748.6+7005_daily_bin1748.fits scfile=/scratch/kocevski/892546/ft2_4FGL_J1748.6+7005_daily_bin1748.fits outfile=/scratch/kocevski/892546/cmap_HighResolution_692409601_692668801_4FGL_J1748.6+7005_daily_bin1748.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.158 yref=70.0969 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.40
sys 0.14

Computing the diffuse response:
time -p gtdiffrsp evfile=/scratch/kocevski/892546/ft1_filtered_4FGL_J1748.6+7005_daily_bin1748.fits evtable="EVENTS" scfile=/scratch/kocevski/892546/ft2_4FGL_J1748.6+7005_daily_bin1748.fits sctable="SC_DATA" srcmdl=/scratch/kocevski/892546/Model_4FGL_J1748.6+7005_daily_bin1748.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/892546/ft1_filtered_4FGL_J1748.6+7005_daily_bin1748.fits.....................!
real 107.05
user 105.58
sys 1.23

Creating the likelihood object...
obs = UnbinnedObs('/scratch/kocevski/892546/ft1_filtered_4FGL_J1748.6+7005_daily_bin1748.fits', '/scratch/kocevski/892546/ft2_4FGL_J1748.6+7005_daily_bin1748.fits', expMap='/scratch/kocevski/892546/expmap_692409601_692668801_4FGL_J1748.6+7005_daily_bin1748.fits', expCube='/scratch/kocevski/892546/ltcube_692409601_692668801_4FGL_J1748.6+7005_daily_bin1748.fits', irfs='P8R3_SOURCE_V2')
like = UnbinnedAnalysis(obs, '/scratch/kocevski/892546/Model_4FGL_J1748.6+7005_daily_bin1748.xml', optimizer='MINUIT')

Using source of interest name: '4FGL J1748.6+7005'

4FGL J1748.6+7005
   Spectrum: LogParabola
353         norm:  4.089e+00  0.000e+00  0.000e+00  1.000e+06 ( 1.000e-12)
354        alpha:  1.953e+00  0.000e+00  0.000e+00  5.000e+00 ( 1.000e+00) fixed
355         beta:  4.795e-02  0.000e+00 -5.000e+00  1.000e+01 ( 1.000e+00) fixed
356           Eb:  1.080e+03  0.000e+00  3.000e+01  5.000e+05 ( 1.000e+00) fixed


Likelihood Fit Parameters:
Event file(s): /scratch/kocevski/892546/ft1_filtered_4FGL_J1748.6+7005_daily_bin1748.fits
Spacecraft file(s): /scratch/kocevski/892546/ft2_4FGL_J1748.6+7005_daily_bin1748.fits
Exposure map: /scratch/kocevski/892546/expmap_692409601_692668801_4FGL_J1748.6+7005_daily_bin1748.fits
Exposure cube: /scratch/kocevski/892546/ltcube_692409601_692668801_4FGL_J1748.6+7005_daily_bin1748.fits
IRFs: P8R3_SOURCE_V2
Source model file: /scratch/kocevski/892546/Model_4FGL_J1748.6+7005_daily_bin1748.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) = 10327.0559957

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

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

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'norm      '    .96851E-04   1.0000          .0000       .10000E+07
     2 'Prefactor '    .39084       1.0000          .0000       .10000E+07
     3 'Prefactor '    .51288E-02   1.0000          .0000       .10000E+07
     4 'norm      '    15.696       1.0000          .0000       .10000E+07
     5 'Prefactor '    .60625E-03   1.0000          .0000       .10000E+07
     6 'norm      '    .79603E-07   1.0000          .0000       .10000E+07
     7 'Prefactor '    1.2679       1.0000          .0000       .10000E+07
     8 'Prefactor '    .13342E-01   1.0000          .0000       .10000E+07
     9 'Prefactor '    20.592       1.0000          .0000       .10000E+07
    10 'Prefactor '    .34381E-04   1.0000          .0000       .10000E+07
    11 'Prefactor '    .61879E-04   1.0000          .0000       .10000E+07
    12 'Prefactor '    .44746E-03   1.0000          .0000       .10000E+07
    13 'Prefactor '    3.6215       1.0000          .0000       .10000E+07
    14 'norm      '    1.1319       1.0000          .0000       .10000E+07
    15 'norm      '    1.9118       1.0000          .0000       .10000E+07
    16 'norm      '    17.585       1.0000          .0000       .10000E+07
    17 'Prefactor '    23.116       1.0000          .0000       .10000E+07
    18 'Prefactor '    9.9527       1.0000          .0000       .10000E+07
    19 'Prefactor '    5.2957       1.0000          .0000       .10000E+07
    20 'Prefactor '    .70376E-05   1.0000          .0000       .10000E+07
    21 'Prefactor '    .17520       1.0000          .0000       .10000E+07
    22 'Prefactor '    .52382       1.0000          .0000       .10000E+07
    23 'norm      '    2.4220       1.0000          .0000       .10000E+07
    24 'Prefactor '    3.6735       1.0000          .0000       .10000E+07
    25 'Prefactor '    .19037E-03   1.0000          .0000       .10000E+07
    26 'norm      '    .97523E-02   1.0000          .0000       .10000E+07
    27 'norm      '    .20706E-07   1.0000          .0000       .10000E+07
    28 'norm      '    .73586E-06   1.0000          .0000       .10000E+07
    29 'Normalizat'    1.0859       1.0000         .10000E-01   10.000    
    30 'Prefactor '    1.0080       1.0000          .0000       10.000    
 **********
 **   15 **SET ERR    .5000    
 **********
 **********
 **   16 **SET GRAD    1.000    
 **********
 **********
 **   17 **MINIMIZE    .6170E+05   .2000E-04
 **********

 MIGRAD MINIMIZATION HAS CONVERGED.

 FCN=   10327.02     FROM MIGRAD    STATUS=CONVERGED    167 CALLS     2192 TOTAL
                     EDM=   .13E-08  STRATEGY=1  ERROR MATRIX UNCERTAINTY=  5.0%

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  norm          .29798E-06    7.4455        .34250E-06** at limit **
   2  Prefactor     .55511E-10    2.8204       -.11301E-06** at limit **
   3  Prefactor     .38858E-08    8.8834        .98092E-07** at limit **
   4  norm          15.748        8.9647        .29464E-06    .71003E-04
   5  Prefactor     .34300E-06    6.7877       -.56804E-07** at limit **
   6  norm           .0000        .25703        .14046E-06** at limit **
   7  Prefactor     1.3058        13.687        .12471E-05   -.68380E-05
   8  Prefactor     .58615E-05    5.5137       -.38596E-06** at limit **
   9  Prefactor     20.390        2.0085        .27389E-08   -.52152E-02
  10  Prefactor     .16598E-07    5.2239        .94363E-06** at limit **
  11  Prefactor     .32019E-06    3.0235        .22465E-06** at limit **
  12  Prefactor     .23193E-06    4.2948        .91976E-06** at limit **
  13  Prefactor     2.1287        235.46       -.67503E-05   -.53631E-02
  14  norm          1.1320        1.3364        .60699E-07    .75115E-03
  15  norm          1.9105        .72783       -.35289E-08   -.21711E-02
  16  norm          17.583        6.0266        .84449E-07    .55306E-03
  17  Prefactor     23.096        1.1732       -.56925E-08   -.43840E-02
  18  Prefactor     9.7307        13.114       -.10384E-05    .55580E-01
  19  Prefactor     5.2987        6.9345        .21399E-06    .26600E-03
  20  Prefactor     .22665E-06    3.4901        .38780E-06** at limit **
  21  Prefactor     .35256E-05    53.795       -.15680E-05** at limit **
  22  Prefactor     .30069E-05    72.267        .40507E-05** at limit **
  23  norm          2.4368        2.8423        .90894E-08    .10857E-02
  24  Prefactor     3.6757        2.2400       -.22395E-06   -.25275E-02
  25  Prefactor     .45519E-08    3.2923        .62731E-06** at limit **
  26  norm          .90650E-07    5.5024       -.88973E-07** at limit **
  27  norm          .61062E-09    1.5440        .22058E-07** at limit **
  28  norm           .0000        .89434       -.62011E-07** at limit **
  29  Normalizat    1.0870        .20183       -.16805E-04   -.13397E-03
  30  Prefactor     1.0079        .11831        .74775E-05   -.14477E-03
                               ERR DEF=  .500    
Final values: 
  norm       = 2.97984e-07
  Prefactor  = 5.55112e-11
  Prefactor  = 3.88578e-09
  norm       = 15.7482
  Prefactor  = 3.43003e-07
  norm       = 0
  Prefactor  = 1.30578
  Prefactor  = 5.86153e-06
  Prefactor  = 20.3901
  Prefactor  = 1.65978e-08
  Prefactor  = 3.20188e-07
  Prefactor  = 2.31926e-07
  Prefactor  = 2.1287
  norm       = 1.13202
  norm       = 1.91051
  norm       = 17.5826
  Prefactor  = 23.0961
  Prefactor  = 9.73066
  Prefactor  = 5.29873
  Prefactor  = 2.26652e-07
  Prefactor  = 3.52562e-06
  Prefactor  = 3.00693e-06
  norm       = 2.43678
  Prefactor  = 3.67566
  Prefactor  = 4.55191e-09
  norm       = 9.06497e-08
  norm       = 6.10623e-10
  norm       = 0
  Normalizat = 1.08702
  Prefactor  = 1.00794
 **********
 **   18 **HESSE 
 **********

 FCN=   10327.02     FROM HESSE     STATUS=OK           652 CALLS     2844 TOTAL
                     EDM=   .37E-05    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  norm          .29798E-06    8.0789        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   2  Prefactor     .55511E-10    55.263        .90556E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   3  Prefactor     .38858E-08    16.163        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   4  norm          15.748        9.0742        .25254E-03   -1.5629    
   5  Prefactor     .34300E-06    15.805        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   6  norm           .0000        .25573        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   7  Prefactor     1.3058        16.494        .98838E-03   -1.5685    
   8  Prefactor     .58615E-05    1.1765        .60834E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   9  Prefactor     20.390        17.969        .22044E-03   -1.5618    
  10  Prefactor     .16598E-07    11.217        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  11  Prefactor     .32019E-06    11.169        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  12  Prefactor     .23193E-06    9.6235        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  13  Prefactor     2.1287        251.34        .53067E-03   -1.5679    
  14  norm          1.1320        1.3578        .10969E-02   -1.5687    
  15  norm          1.9105        .73403        .75153E-03   -1.5680    
  16  norm          17.583        6.0721        .23856E-03   -1.5624    
  17  Prefactor     23.096        17.916        .20804E-03   -1.5612    
  18  Prefactor     9.7307        132.26        .31738E-03   -1.5646    
  19  Prefactor     5.2987        7.2663        .43652E-03   -1.5662    
  20  Prefactor     .22665E-06    10.391        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  21  Prefactor     .35256E-05    9.8287        .12235E-01   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  22  Prefactor     .30069E-05    79.994        .76349E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  23  norm          2.4368        3.0008        .65740E-03   -1.5677    
  24  Prefactor     3.6757        18.450        .52674E-03   -1.5670    
  25  Prefactor     .45519E-08    3.2874        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  26  norm          .90650E-07    11.672        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  27  norm          .61062E-09    1.5468        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  28  norm           .0000        .89379        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  29  Normalizat    1.0870        .18043        .72042E-01   -.90170    
  30  Prefactor     1.0079        .10342        .43637E-01   -.92465    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 3.6838e-06
Minuit parameter uncertainties:
  1  0.00310314
  2  9.45758e-05
  3  0.000502796
  4  9.07421
  5  0.00465655
  6  2.11884e-07
  7  9.28183
  8  0.00525208
  9  17.9689
  10  0.000862617
  11  0.00378222
  12  0.00298778
  13  46.2633
  14  1.35776
  15  0.734026
  16  6.07206
  17  17.9156
  18  71.7511
  19  7.26628
  20  0.00306915
  21  0.0117733
  22  0.0310189
  23  3.00077
  24  16.4702
  25  0.000245034
  26  0.00205733
  27  6.07174e-05
  28  7.43503e-06
  29  0.180534
  30  0.103439
Done.

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

Extracting fit parameters...

4FGL J1748.6+7005
   Spectrum: LogParabola
353         norm:  1.132e+00  1.358e+00  0.000e+00  1.000e+06 ( 1.000e-12)
354        alpha:  1.953e+00  0.000e+00  0.000e+00  5.000e+00 ( 1.000e+00) fixed
355         beta:  4.795e-02  0.000e+00 -5.000e+00  1.000e+01 ( 1.000e+00) fixed
356           Eb:  1.080e+03  0.000e+00  3.000e+01  5.000e+05 ( 1.000e+00) fixed

GAL_V02
   Spectrum: PowerLaw
614    Prefactor:  1.008e+00  1.034e-01  0.000e+00  1.000e+01 ( 1.000e+00)
615        Index:  0.000e+00  0.000e+00 -1.000e+00  1.000e+00 ( 1.000e+00) fixed
616        Scale:  1.000e+02  0.000e+00  5.000e+01  2.000e+02 ( 1.000e+00) fixed

EG_v02
   Spectrum: FileFunction
613   Normalization:  1.087e+00  1.805e-01  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Fixed Index): 1.77
Ra Dec: 267.158 70.097
Photon Index (Fixed Index): 1.95 +/- 0.00
Photon Flux (Fixed Index): 1.09e-08 +/- 1.30e-08
Energy Flux (Fixed Index): 7.66e-06 +/- 9.18e-06

TS (Fixed Index): 1.77
Ra Dec: 267.158 70.097
Photon Flux Upper Limit: 5.16e-08 ph cm-2 s-1
Energy Flux Upper Limit: 3.64e-05 MeV cm-2 s-1

Saving results to:
/scratch/kocevski/892546/likelihoodResults_692409601_692668801_4FGL_J1748.6+7005_daily_bin1748.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) = 10326.9732708
delta logL = 0.0473217686776

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

MINUIT Return Code (Free Index): 0
logL (Free Index) = 10326.9720201
delta logL = 0.0485725384133

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'norm      '    1.0683       1.0000          .0000       .10000E+07
     2 'alpha     '    1.6680       1.0000          .0000       5.0000    
     3 'Normalizat'    1.0897       1.0000         .10000E-01   10.000    
     4 'Prefactor '    1.0074       1.0000          .0000       10.000    
 **********
 **   15 **SET ERR    .5000    
 **********
 **********
 **   16 **SET GRAD    1.000    
 **********
 **********
 **   17 **MINIMIZE    .6170E+05   .2000E-04
 **********

 MIGRAD MINIMIZATION HAS CONVERGED.

 MIGRAD WILL VERIFY CONVERGENCE AND ERROR MATRIX.

 FCN=   10326.97     FROM MIGRAD    STATUS=CONVERGED     51 CALLS      200 TOTAL
                     EDM=   .64E-09    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  norm          1.0684        1.8686        .11768E-02   -.18781E-01
   2  alpha         1.6684        .97892        .44484       -.69215E-04
   3  Normalizat    1.0898        .16394        .71968E-01   -.28502E-03
   4  Prefactor     1.0074        .10203        .43736E-01   -.21010E-03
                               ERR DEF=  .500    
Final values: 
  norm       = 1.06839
  alpha      = 1.66843
  Normalizat = 1.08981
  Prefactor  = 1.00737
 **********
 **   18 **HESSE 
 **********

 FCN=   10326.97     FROM HESSE     STATUS=OK            31 CALLS      231 TOTAL
                     EDM=   .98E-09    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  norm          1.0684        1.3170        .12264E-04   -1.5687    
   2  alpha         1.6684        .85084        .28924E-01   -.33909    
   3  Normalizat    1.0898        .18622        .31846E-03   -.90079    
   4  Prefactor     1.0074        .11641        .20497E-03   -.92484    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 9.8388e-10
Minuit parameter uncertainties:
  1  1.31704
  2  0.870484
  3  0.186329
  4  0.116443
shell-init: error retrieving current directory: getcwd: cannot access parent directories: No such file or directory
rmdir: failed to remove `/scratch/kocevski/892546': 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) = 10326.9720194
delta logL = 0.0485732127891

Extracting fit parameters...

4FGL J1748.6+7005
   Spectrum: LogParabola
353         norm:  1.068e+00  1.317e+00  0.000e+00  1.000e+06 ( 1.000e-12)
354        alpha:  1.668e+00  8.705e-01  0.000e+00  5.000e+00 ( 1.000e+00)
355         beta:  4.795e-02  0.000e+00 -5.000e+00  1.000e+01 ( 1.000e+00) fixed
356           Eb:  1.080e+03  0.000e+00  3.000e+01  5.000e+05 ( 1.000e+00) fixed

GAL_V02
   Spectrum: PowerLaw
614    Prefactor:  1.007e+00  1.164e-01  0.000e+00  1.000e+01 ( 1.000e+00)
615        Index:  0.000e+00  0.000e+00 -1.000e+00  1.000e+00 ( 1.000e+00) fixed
616        Scale:  1.000e+02  0.000e+00  5.000e+01  2.000e+02 ( 1.000e+00) fixed

EG_v02
   Spectrum: FileFunction
613   Normalization:  1.090e+00  1.863e-01  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Free Index): 1.87
Ra Dec: 267.158 70.097
Photon Index (Free Index): 1.67 +/- 0.87
Photon Flux (Free Index): 7.43e-09 +/- 1.24e-08
Energy Flux (Free Index): 1.06e-05 +/- 1.82e-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/892546/cmap_HighResolution_692409601_692668801_4FGL_J1748.6+7005_daily_bin1748.png

Cleaning up...

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

Updating database...

UPDATE lightcurve_data_v2 SET energy_flux_upper_limit='3.64e-05', comment='SUCCESS', photon_flux='1.09e-08', energy_flux2='1.06e-05', photon_flux_error='1.30e-08', dlogl='4.86e-02', energy_flux='7.66e-06', photon_flux2='7.43e-09', job_status='DONE', time_completed='2022-12-14 01:16:43.510816', photon_index_error2='0.87', photon_index2='1.67', ts='1.77', fit_tolerance='1e-08', GAL='1.01', photon_index_error='0.00', photon_flux_upper_limit='5.16e-08', energy_flux_error2='1.82e-05', EG='1.09', time_epoch_completed='1671009403.51', return_code='0', job_id='892546', GAL2='1.01', EG2='1.09', return_code2='0', energy_flux_error='9.18e-06', photon_flux_error2='1.24e-08', ts2='1.87', photon_index='1.95' WHERE bin_id='1748' AND source_name='4FGL J1748.6+7005' AND cadence='daily';

Database successfully updated.


Analysis Complete.


Wed Dec 14 01:16:43 PST 2022


------------------------------------------------------------
Sender: LSF System <lsf@bullet0227>
Subject: Job 892546: <4FGL_J1748.6+7005_daily_bin1748> in cluster <slac> Done

Job <4FGL_J1748.6+7005_daily_bin1748> was submitted from host <rhel6-64k> by user <kocevski> in cluster <slac> at Wed Dec 14 01:00:19 2022
Job was executed on host(s) <bullet0227>, in queue <medium>, as user <kocevski> in cluster <slac> at Wed Dec 14 01:00:20 2022
</u/ki/kocevski> was used as the home directory.
</u/ki/kocevski> was used as the working directory.
Started at Wed Dec 14 01:00:20 2022
Terminated at Wed Dec 14 01:16:43 2022
Results reported at Wed Dec 14 01:16:43 2022

Your job looked like:

------------------------------------------------------------
# LSBATCH: User input
/nfs/farm/g/glast/g/LCRepository/Likelihood/Scripts/LikelihoodAnalysis.py 4FGL_J1748.6+7005_daily_bin1748 267.158 70.0969 692409601 692668801 irfs=P8R3_SOURCE_V2 zmax=90 ROI=12 association=4FGL_J1748.6+7005 fixedModel=True performFreeIndexFit=True freeVariableSources=True nuke=True repositoryJob=True verbose=False
------------------------------------------------------------

Successfully completed.

Resource usage summary:

    CPU time :                                   970.19 sec.
    Max Memory :                                 1093 MB
    Average Memory :                             340.79 MB
    Total Requested Memory :                     -
    Delta Memory :                               -
    Max Swap :                                   -
    Max Processes :                              7
    Max Threads :                                21
    Run time :                                   983 sec.
    Turnaround time :                            984 sec.

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

