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 83 seconds before starting...
Proceeding.

Importing modules...
This is make3FGLxml version 01r0.
The default diffuse model files and names are for pass 8 and assume you have v10r00p05 of the Fermi Science Tools or higher.
This is make4FGLxml version 01r04.
The default diffuse model files and names are for pass 8 and 4FGL and assume you have v11r5p3 of the Fermi Science Tools or higher.

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

/nfs/farm/g/glast/g/LCRepository/bin/miniconda2/envs/fermitools_v1.0.5/lib/python2.7/site-packages/matplotlib/cbook/deprecation.py:106: MatplotlibDeprecationWarning: The mpl_toolkits.axes_grid module was deprecated in version 2.1. Use mpl_toolkits.axes_grid1 and mpl_toolkits.axisartist provies the same functionality instead.
  warnings.warn(message, mplDeprecation, stacklevel=1)

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

number of points = 7488
number of fields = 31
RA_SUN column already exists. File will not be modified.
Done.


Performing analysis on: 4FGL_J1748.0+3403_daily_bin1668
RA = 267.011, Dec = 34.0641
tmin = 671673601, tmax = 671932801
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='555913', job_status='RUN', time_executed='2022-04-18 03:10:03.759524', time_epoch_executed='1650276603.76' WHERE source_name='4FGL J1748.0+3403' and cadence='daily' and bin_id='1668'

Database successfully updated.
Done.

Creating custom output directory:
/scratch/kocevski/555913

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

Retrieving the FT1 file...

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

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

Retrieving 46 files...
Done.


Merging files...

Checksum keywords updated successfully.

Merged file saved to:
/scratch/kocevski/555913/ft1_4FGL_J1748.0+3403_daily_bin1668.fits


Retrieving the FT1 file...

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

Retrieving 46 files...
Done.


Merging files...

Merged file saved to:
/scratch/kocevski/555913/ft2_4FGL_J1748.0+3403_daily_bin1668.fits


Selecting the photons:
time -p gtselect infile=/scratch/kocevski/555913/ft1_4FGL_J1748.0+3403_daily_bin1668.fits outfile=/scratch/kocevski/555913/ft1_filteredMKT_4FGL_J1748.0+3403_daily_bin1668.fits ra=267.011 dec=34.0641 rad=12.0 tmin=671673601.0 tmax=671932801.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.58
user 3.35
sys 0.21

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

Selecting the good time intervals:
time -p gtmktime scfile=/scratch/kocevski/555913/ft2_4FGL_J1748.0+3403_daily_bin1668.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/555913/ft1_filteredMKT_4FGL_J1748.0+3403_daily_bin1668.fits evtable="EVENTS" outfile="/scratch/kocevski/555913/ft1_filtered_4FGL_J1748.0+3403_daily_bin1668.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.36
sys 0.13

Number of photons that the gtmktime cut: 886

Generating the livetime cube:
time -p gtltcube evfile="/scratch/kocevski/555913/ft1_filtered_4FGL_J1748.0+3403_daily_bin1668.fits" evtable="EVENTS" scfile=/scratch/kocevski/555913/ft2_4FGL_J1748.0+3403_daily_bin1668.fits sctable="SC_DATA" outfile=/scratch/kocevski/555913/ltcube_671673601_671932801_4FGL_J1748.0+3403_daily_bin1668.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/555913/ft2_4FGL_J1748.0+3403_daily_bin1668.fits
.....................!
real 14.57
user 14.18
sys 0.31

Generating the exposure map:
time -p gtexpmap evfile=/scratch/kocevski/555913/ft1_filtered_4FGL_J1748.0+3403_daily_bin1668.fits evtable="EVENTS" scfile=/scratch/kocevski/555913/ft2_4FGL_J1748.0+3403_daily_bin1668.fits sctable="SC_DATA" expcube=/scratch/kocevski/555913/ltcube_671673601_671932801_4FGL_J1748.0+3403_daily_bin1668.fits outfile=/scratch/kocevski/555913/expmap_671673601_671932801_4FGL_J1748.0+3403_daily_bin1668.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/555913/ltcube_671673601_671932801_4FGL_J1748.0+3403_daily_bin1668.fits
.....................!
real 190.74
user 185.92
sys 4.18

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/555913/ft1_filtered_4FGL_J1748.0+3403_daily_bin1668.fits scfile=/scratch/kocevski/555913/ft2_4FGL_J1748.0+3403_daily_bin1668.fits outfile=/scratch/kocevski/555913/cmap_671673601_671932801_4FGL_J1748.0+3403_daily_bin1668.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.38
sys 0.15

Creating the high resolution counts map:
time -p gtbin evfile=/scratch/kocevski/555913/ft1_filtered_4FGL_J1748.0+3403_daily_bin1668.fits scfile=/scratch/kocevski/555913/ft2_4FGL_J1748.0+3403_daily_bin1668.fits outfile=/scratch/kocevski/555913/cmap_HighResolution_671673601_671932801_4FGL_J1748.0+3403_daily_bin1668.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.55
user 0.38
sys 0.16

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

Creating the likelihood object...
obs = UnbinnedObs('/scratch/kocevski/555913/ft1_filtered_4FGL_J1748.0+3403_daily_bin1668.fits', '/scratch/kocevski/555913/ft2_4FGL_J1748.0+3403_daily_bin1668.fits', expMap='/scratch/kocevski/555913/expmap_671673601_671932801_4FGL_J1748.0+3403_daily_bin1668.fits', expCube='/scratch/kocevski/555913/ltcube_671673601_671932801_4FGL_J1748.0+3403_daily_bin1668.fits', irfs='P8R3_SOURCE_V2')
like = UnbinnedAnalysis(obs, '/scratch/kocevski/555913/Model_4FGL_J1748.0+3403_daily_bin1668.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  1.000e-04  1.000e+04 ( 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/555913/ft1_filtered_4FGL_J1748.0+3403_daily_bin1668.fits
Spacecraft file(s): /scratch/kocevski/555913/ft2_4FGL_J1748.0+3403_daily_bin1668.fits
Exposure map: /scratch/kocevski/555913/expmap_671673601_671932801_4FGL_J1748.0+3403_daily_bin1668.fits
Exposure cube: /scratch/kocevski/555913/ltcube_671673601_671932801_4FGL_J1748.0+3403_daily_bin1668.fits
IRFs: P8R3_SOURCE_V2
Source model file: /scratch/kocevski/555913/Model_4FGL_J1748.0+3403_daily_bin1668.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) = 9561.05105554

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

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

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'norm      '    .10000E-03   1.0000         .10000E-03   10000.    
     2 'norm      '    16.699       1.0000         .10000E-03   10000.    
     3 'Prefactor '    .10018E-03   1.0000         .10000E-03   10000.    
     4 'norm      '    .10000E-03   1.0000         .10000E-03   10000.    
     5 'Prefactor '    48.976       1.0000         .10000E-03   10000.    
     6 'Prefactor '    3.4319       1.0000         .10000E-03   10000.    
     7 'Prefactor '    .10158E-03   1.0000         .10000E-03   10000.    
     8 'Prefactor '    .10184E-03   1.0000         .10000E-03   10000.    
     9 'Prefactor '    2.6167       1.0000         .10000E-03   10000.    
    10 'Prefactor '    .10122E-03   1.0000         .10000E-03   10000.    
    11 'Prefactor '    .10139E-03   1.0000         .10000E-03   10000.    
    12 'Prefactor '    .10001E-03   1.0000         .10000E-03   10000.    
    13 'norm      '    .83585       1.0000         .10000E-03   10000.    
    14 'norm      '    .13088E-03   1.0000         .10000E-03   10000.    
    15 'norm      '    .22619E-03   1.0000         .10000E-03   10000.    
    16 'Prefactor '    2.8908       1.0000         .10000E-03   10000.    
    17 'norm      '    .20986E-03   1.0000         .10000E-03   10000.    
    18 'Prefactor '    4.5910       1.0000         .10000E-03   10000.    
    19 'Prefactor '    .22031E-01   1.0000         .10000E-03   10000.    
    20 'norm      '    .10357E-03   1.0000         .10000E-03   10000.    
    21 'Prefactor '    7.4344       1.0000         .10000E-03   10000.    
    22 'norm      '    18.506       1.0000         .10000E-03   10000.    
    23 'Normalizat'    1.1698       1.0000         .10000E-01   10.000    
    24 'Prefactor '    .91938       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.

 MIGRAD MINIMIZATION HAS CONVERGED.

 MIGRAD WILL VERIFY CONVERGENCE AND ERROR MATRIX.

 FCN=   9560.978     FROM MIGRAD    STATUS=CONVERGED   1004 CALLS     2844 TOTAL
                     EDM=   .54E-08    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  norm          .10000E-03    .32362        .53653E-03** at limit **
   2  norm          16.699        8.4278        .49005E-03    .36650E-03
   3  Prefactor     .10000E-03    14.028        .18142E-02** at limit **
   4  norm          .10000E-03    1.1065        .10034E-02** at limit **
   5  Prefactor     48.972        39.902        .57300E-04    .18730E-04
   6  Prefactor     3.2184        318.95        .21834E-03   -.17287E-04
   7  Prefactor     .10000E-03    18.442        .36285E-03** at limit **
   8  Prefactor     .10000E-03    15.430        .18142E-02** at limit **
   9  Prefactor     2.6163        5.2225        .25215E-03    .24492E-03
  10  Prefactor     .10000E-03    12.788        .18142E-02** at limit **
  11  Prefactor     .10000E-03    19.644        .18142E-02** at limit **
  12  Prefactor     .10000E-03    2.2596        .14335E-02** at limit **
  13  norm          .83520        1.6387        .17353E-03   -.85301E-04
  14  norm          .10000E-03    29.485        .18142E-02** at limit **
  15  norm          .10000E-03    4.2064        .59931E-01** at limit **
  16  Prefactor     2.8919        5.1356        .23902E-03    .41866E-03
  17  norm          .10003E-03    12.789        .33504E-02** at limit **
  18  Prefactor     4.5927        4.2205        .18137E-03    .75957E-03
  19  Prefactor     .10017E-03    15.709        .97938E-01** at limit **
  20  norm          .10000E-03    9.4450        .18142E-02** at limit **
  21  Prefactor     7.4374        7.9483        .14709E-03    .20574E-03
  22  norm          18.497        32.853        .93102E-04   -.41517E-05
  23  Normalizat    1.1699        .22162        .32382E-03    .16332E-03
  24  Prefactor     .91936        .11007        .17871E-03    .14352E-02
                               ERR DEF=  .500    
Final values: 
  norm       = 0.0001
  norm       = 16.6995
  Prefactor  = 0.0001
  norm       = 0.0001
  Prefactor  = 48.972
  Prefactor  = 3.21836
  Prefactor  = 0.000100003
  Prefactor  = 0.0001
  Prefactor  = 2.6163
  Prefactor  = 0.0001
  Prefactor  = 0.0001
  Prefactor  = 0.0001
  norm       = 0.835196
  norm       = 0.0001
  norm       = 0.0001
  Prefactor  = 2.89187
  norm       = 0.000100034
  Prefactor  = 4.59272
  Prefactor  = 0.000100171
  norm       = 0.0001
  Prefactor  = 7.4374
  norm       = 18.4972
  Normalizat = 1.1699
  Prefactor  = 0.919362
 **********
 **   18 **HESSE 
 **********

 FCN=   9560.978     FROM HESSE     STATUS=OK           393 CALLS     3237 TOTAL
                     EDM=   .54E-08    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  norm          .10000E-03    .32365        .10731E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   2  norm          16.699        8.4276        .19602E-04   -1.4890    
   3  Prefactor     .10000E-03    14.029        .36285E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   4  norm          .10000E-03    1.1065        .20068E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   5  Prefactor     48.972        39.903        .11460E-04   -1.4307    
   6  Prefactor     3.2184        319.66        .87336E-05   -1.5349    
   7  Prefactor     .10000E-03    18.443        .72569E-04   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   8  Prefactor     .10000E-03    15.430        .36285E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   9  Prefactor     2.6163        5.2225        .10086E-04   -1.5384    
  10  Prefactor     .10000E-03    12.789        .36285E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  11  Prefactor     .10000E-03    19.644        .36285E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  12  Prefactor     .10000E-03    2.2597        .28670E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  13  norm          .83520        1.6386        .69411E-05   -1.5525    
  14  norm          .10000E-03    29.487        .36285E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  15  norm          .10000E-03    3.9290        .63638E-01   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  16  Prefactor     2.8919        5.1350        .95607E-05   -1.5368    
  17  norm          .10003E-03    12.940        .67007E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  18  Prefactor     4.5927        4.2198        .72549E-05   -1.5279    
  19  Prefactor     .10017E-03    14.771        .10220       -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  20  norm          .10000E-03    9.4455        .36285E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  21  Prefactor     7.4374        7.9480        .58837E-05   -1.5162    
  22  norm          18.497        32.871        .37241E-05   -1.4848    
  23  Normalizat    1.1699        .22182        .12953E-04   -.87538    
  24  Prefactor     .91936        .11014        .35742E-04   -.95468    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 5.37316e-09
Minuit parameter uncertainties:
  1  2.46451e-06
  2  8.4282
  3  3.87254e-05
  4  5.02343e-06
  5  39.9244
  6  64.5054
  7  0.000443804
  8  3.96853e-05
  9  5.22342
  10  7.48451e-05
  11  4.94711e-05
  12  4.56115e-06
  13  1.63872
  14  7.05515e-05
  15  1.43626e-05
  16  5.1358
  17  0.00133607
  18  4.22006
  19  0.00318062
  20  4.98978e-06
  21  7.94915
  22  32.903
  23  0.222002
  24  0.110171
Done.

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

Extracting fit parameters...

4FGL J1748.0+3403
   Spectrum: PowerLaw
333    Prefactor:  1.000e-04  4.438e-04  1.000e-04  1.000e+04 ( 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:  9.194e-01  1.102e-01  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.170e+00  2.220e-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: 6.33e-08 ph cm-2 s-1
Energy Flux Upper Limit: 4.87e-03 MeV cm-2 s-1

Saving results to:
/scratch/kocevski/555913/likelihoodResults_671673601_671932801_4FGL_J1748.0+3403_daily_bin1668.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) = 9560.97812073
delta logL = -0.000258780533841

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

MINUIT Return Code (Free Index): 102
logL (Free Index) = 9560.97786197
delta logL = -1.744410838e-08

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'Prefactor '    .10004E-03   1.0000         .10000E-03   10000.    
     2 'Index     '    2.3246       1.0000          .0000       10.000    
     3 'Normalizat'    1.1699       1.0000         .10000E-01   10.000    
     4 'Prefactor '    .91938       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.

 FCN=   9560.978     FROM MIGRAD    STATUS=CONVERGED     58 CALLS      218 TOTAL
                     EDM=   .11E-07    STRATEGY= 1      ERR MATRIX NOT POS-DEF

  EXT PARAMETER                APPROXIMATE        STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor     .10000E-03    14.639        .90712E-02** at limit **
   2  Index         2.3142        6.7978        .50000        .43130E-05
   3  Normalizat    1.1699        .43749E-02    .73173E-01    .22374E-04
   4  Prefactor     .91936        .21799E-02    .45252E-01    .18016E-05
                               ERR DEF=  .500    
Final values: 
  Prefactor  = 0.0001
  Index      = 2.31422
  Normalizat = 1.16991
  Prefactor  = 0.919357
 **********
 **   18 **HESSE 
 **********

 FCN=   9560.978     FROM HESSE     STATUS=NOT POSDEF    33 CALLS      251 TOTAL
                     EDM=   .51E-06    STRATEGY= 1      ERR MATRIX NOT POS-DEF

  EXT PARAMETER                APPROXIMATE     INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  Prefactor     .10000E-03    676.45        .36285E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   2  Index         2.3142        5.8168        .50000       -.56706    
   3  Normalizat    1.1699        .30745E-01    .32382E-03   -.87538    
   4  Prefactor     .91936        .15336E-01    .17871E-03   -.95468    
                               ERR DEF=  .500    
Minuit fit quality: 2   estimated distance: 5.05548e-07
Minuit parameter uncertainties:
  1  6.53387e-06
  2  695.428
  3  0.0307459
  4  0.0153364
shell-init: error retrieving current directory: getcwd: cannot access parent directories: No such file or directory
rmdir: failed to remove `/scratch/kocevski/555913': 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) = 9560.97786192
delta logL = 2.68155417871e-08

Extracting fit parameters...

4FGL J1748.0+3403
   Spectrum: PowerLaw
333    Prefactor:  1.000e-04  6.534e-06  1.000e-04  1.000e+04 ( 1.000e-13)
334        Index:  2.314e+00  6.954e+02  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:  9.194e-01  1.534e-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.170e+00  3.075e-02  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/555913/cmap_HighResolution_671673601_671932801_4FGL_J1748.0+3403_daily_bin1668.png

Cleaning up...

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

Updating database...

UPDATE lightcurve_data_v2 SET energy_flux_upper_limit='4.87e-03', job_status='DONE', photon_flux_upper_limit='6.33e-08', time_completed='2022-04-18 03:26:52.710040', job_id='555913', GAL2='0.92', fit_tolerance='1e-08', EG2='1.17', EG='1.17', time_epoch_completed='1650277612.71', return_code2='102', ts='-0.00', comment='SUCCESS', return_code='0', GAL='0.92', dlogl='2.68e-08', ts2='-0.00', photon_index_error='0.00', photon_index='2.34' WHERE bin_id='1668' AND source_name='4FGL J1748.0+3403' AND cadence='daily';

Database successfully updated.


Analysis Complete.


Mon Apr 18 03:26:52 PDT 2022



------------------------------------------------------------
Sender: LSF System <scs@bullet0013>
Subject: Job 555712: <4FGL_J1748.0+3403_daily_bin1668> in cluster <slac> Done

Job <4FGL_J1748.0+3403_daily_bin1668> was submitted from host <rhel6-64k> by user <kocevski> in cluster <slac> at Mon Apr 18 00:07:42 2022
Job was executed on host(s) <bullet0013>, in queue <medium>, as user <kocevski> in cluster <slac> at Mon Apr 18 03:03:42 2022
</u/ki/kocevski> was used as the home directory.
</u/ki/kocevski> was used as the working directory.
Started at Mon Apr 18 03:03:42 2022
Terminated at Mon Apr 18 03:22:43 2022
Results reported at Mon Apr 18 03:22:43 2022

Your job looked like:

------------------------------------------------------------
# LSBATCH: User input
/nfs/farm/g/glast/g/LCRepository/Likelihood/Scripts/LikelihoodAnalysis.py 4FGL_J1748.0+3403_daily_bin1668 267.011 34.0641 671673601 671932801 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 :                                   1011.00 sec.
    Max Memory :                                 618 MB
    Average Memory :                             280.13 MB
    Total Requested Memory :                     -
    Delta Memory :                               -
    Max Swap :                                   -
    Max Processes :                              5
    Max Threads :                                21
    Run time :                                   1141 sec.
    Turnaround time :                            11701 sec.

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


------------------------------------------------------------
Sender: LSF System <lsf@bullet0170>
Subject: Job 555913: <4FGL_J1748.0+3403_daily_bin1668> in cluster <slac> Done

Job <4FGL_J1748.0+3403_daily_bin1668> was submitted from host <rhel6-64p> by user <kocevski> in cluster <slac> at Mon Apr 18 00:07:56 2022
Job was executed on host(s) <bullet0170>, in queue <medium>, as user <kocevski> in cluster <slac> at Mon Apr 18 03:08:29 2022
</u/ki/kocevski> was used as the home directory.
</u/ki/kocevski> was used as the working directory.
Started at Mon Apr 18 03:08:29 2022
Terminated at Mon Apr 18 03:26:53 2022
Results reported at Mon Apr 18 03:26:53 2022

Your job looked like:

------------------------------------------------------------
# LSBATCH: User input
/nfs/farm/g/glast/g/LCRepository/Likelihood/Scripts/LikelihoodAnalysis.py 4FGL_J1748.0+3403_daily_bin1668 267.011 34.0641 671673601 671932801 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 :                                   1010.00 sec.
    Max Memory :                                 1257 MB
    Average Memory :                             341.84 MB
    Total Requested Memory :                     -
    Delta Memory :                               -
    Max Swap :                                   -
    Max Processes :                              5
    Max Threads :                                21
    Run time :                                   1104 sec.
    Turnaround time :                            11937 sec.

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

