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


Performing analysis on: 4FGL_J1748.0+3403_daily_bin1779
RA = 267.011, Dec = 34.0641
tmin = 700444801, tmax = 700704001
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='33116', job_status='RUN', time_executed='2023-03-17 02:07:44.264516', time_epoch_executed='1679044064.26' WHERE source_name='4FGL J1748.0+3403' and cadence='daily' and bin_id='1779'

Database successfully updated.
Done.

Creating custom output directory:
/scratch/kocevski/33116

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

Retrieving the FT1 file...

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

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

Retrieving 46 files...
Done.


Merging files...

Checksum keywords updated successfully.

Merged file saved to:
/scratch/kocevski/33116/ft1_4FGL_J1748.0+3403_daily_bin1779.fits


Retrieving the FT1 file...

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

Retrieving 46 files...
Done.


Merging files...

Merged file saved to:
/scratch/kocevski/33116/ft2_4FGL_J1748.0+3403_daily_bin1779.fits


Selecting the photons:
time -p gtselect infile=/scratch/kocevski/33116/ft1_4FGL_J1748.0+3403_daily_bin1779.fits outfile=/scratch/kocevski/33116/ft1_filteredMKT_4FGL_J1748.0+3403_daily_bin1779.fits ra=267.011 dec=34.0641 rad=12.0 tmin=700444801.0 tmax=700704001.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 5.42
user 5.04
sys 0.21

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

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

Number of photons that the gtmktime cut: 854

Generating the livetime cube:
time -p gtltcube evfile="/scratch/kocevski/33116/ft1_filtered_4FGL_J1748.0+3403_daily_bin1779.fits" evtable="EVENTS" scfile=/scratch/kocevski/33116/ft2_4FGL_J1748.0+3403_daily_bin1779.fits sctable="SC_DATA" outfile=/scratch/kocevski/33116/ltcube_700444801_700704001_4FGL_J1748.0+3403_daily_bin1779.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/33116/ft2_4FGL_J1748.0+3403_daily_bin1779.fits
.....................!
real 11.91
user 11.55
sys 0.33

Generating the exposure map:
time -p gtexpmap evfile=/scratch/kocevski/33116/ft1_filtered_4FGL_J1748.0+3403_daily_bin1779.fits evtable="EVENTS" scfile=/scratch/kocevski/33116/ft2_4FGL_J1748.0+3403_daily_bin1779.fits sctable="SC_DATA" expcube=/scratch/kocevski/33116/ltcube_700444801_700704001_4FGL_J1748.0+3403_daily_bin1779.fits outfile=/scratch/kocevski/33116/expmap_700444801_700704001_4FGL_J1748.0+3403_daily_bin1779.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/33116/ltcube_700444801_700704001_4FGL_J1748.0+3403_daily_bin1779.fits
.....................!
real 191.52
user 185.86
sys 5.35

Generating the xml model:
radLim = 0.001
maxRad = 12
normsOnly = True
freeVariableSources = True
Fixing all sources to their catalog values, except variable sources
Creating file and adding sources from 4FGL
Added 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/33116/ft1_filtered_4FGL_J1748.0+3403_daily_bin1779.fits scfile=/scratch/kocevski/33116/ft2_4FGL_J1748.0+3403_daily_bin1779.fits outfile=/scratch/kocevski/33116/cmap_700444801_700704001_4FGL_J1748.0+3403_daily_bin1779.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.37
sys 0.15

Creating the high resolution counts map:
time -p gtbin evfile=/scratch/kocevski/33116/ft1_filtered_4FGL_J1748.0+3403_daily_bin1779.fits scfile=/scratch/kocevski/33116/ft2_4FGL_J1748.0+3403_daily_bin1779.fits outfile=/scratch/kocevski/33116/cmap_HighResolution_700444801_700704001_4FGL_J1748.0+3403_daily_bin1779.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.36
sys 0.17

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

Creating the likelihood object...
obs = UnbinnedObs('/scratch/kocevski/33116/ft1_filtered_4FGL_J1748.0+3403_daily_bin1779.fits', '/scratch/kocevski/33116/ft2_4FGL_J1748.0+3403_daily_bin1779.fits', expMap='/scratch/kocevski/33116/expmap_700444801_700704001_4FGL_J1748.0+3403_daily_bin1779.fits', expCube='/scratch/kocevski/33116/ltcube_700444801_700704001_4FGL_J1748.0+3403_daily_bin1779.fits', irfs='P8R3_SOURCE_V2')
like = UnbinnedAnalysis(obs, '/scratch/kocevski/33116/Model_4FGL_J1748.0+3403_daily_bin1779.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/33116/ft1_filtered_4FGL_J1748.0+3403_daily_bin1779.fits
Spacecraft file(s): /scratch/kocevski/33116/ft2_4FGL_J1748.0+3403_daily_bin1779.fits
Exposure map: /scratch/kocevski/33116/expmap_700444801_700704001_4FGL_J1748.0+3403_daily_bin1779.fits
Exposure cube: /scratch/kocevski/33116/ltcube_700444801_700704001_4FGL_J1748.0+3403_daily_bin1779.fits
IRFs: P8R3_SOURCE_V2
Source model file: /scratch/kocevski/33116/Model_4FGL_J1748.0+3403_daily_bin1779.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) = 9247.75812758

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

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

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'norm      '    .27756E-08   1.0000          .0000       .10000E+07
     2 'norm      '    .36661E-03   1.0000          .0000       .10000E+07
     3 'norm      '    8.7837       1.0000          .0000       .10000E+07
     4 'Prefactor '    .13528E-01   1.0000          .0000       .10000E+07
     5 'Prefactor '    154.84       1.0000          .0000       .10000E+07
     6 'Prefactor '    4.8027       1.0000          .0000       .10000E+07
     7 'Prefactor '    .20632E-02   1.0000          .0000       .10000E+07
     8 'Prefactor '    .37351E-04   1.0000          .0000       .10000E+07
     9 'Prefactor '    .60391E-02   1.0000          .0000       .10000E+07
    10 'Prefactor '    10.454       1.0000          .0000       .10000E+07
    11 'norm      '    .10825E-07   1.0000          .0000       .10000E+07
    12 'norm      '    .14141E-01   1.0000          .0000       .10000E+07
    13 'norm      '    3.9100       1.0000          .0000       .10000E+07
    14 'Prefactor '    5.7535       1.0000          .0000       .10000E+07
    15 'norm      '    5.5182       1.0000          .0000       .10000E+07
    16 'Prefactor '    3.0227       1.0000          .0000       .10000E+07
    17 'Prefactor '    .21949E-04   1.0000          .0000       .10000E+07
    18 'Prefactor '    9.2622       1.0000          .0000       .10000E+07
    19 'norm      '    .62462E-02   1.0000          .0000       .10000E+07
    20 'Normalizat'    1.2456       1.0000         .10000E-01   10.000    
    21 'Prefactor '    .83360       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=   9247.755     FROM MIGRAD    STATUS=CONVERGED    175 CALLS     1691 TOTAL
                     EDM=   .11E-08  STRATEGY=1  ERROR MATRIX UNCERTAINTY=  1.1%

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  norm           .0000        .31626       -.16655E-07** at limit **
   2  norm          .11102E-09    7.5049       -.24501E-06** at limit **
   3  norm          8.7913        5.6692        .45693E-07    .52901E-03
   4  Prefactor     .37501E-05    23.787       -.31627E-06** at limit **
   5  Prefactor     155.26        35.257       -.28284E-06   -.38745    
   6  Prefactor     4.7874        16.109        .71020E-07    .65662E-02
   7  Prefactor      .0000        8.5033        .11907E-06** at limit **
   8  Prefactor     .90855E-06    33.163       -.69142E-06** at limit **
   9  Prefactor     .87775E-05    21.340        .14612E-06** at limit **
  10  Prefactor     10.465        8.4863       -.27478E-07   -.47681E-03
  11  norm          .55511E-10    1.8574        .16545E-06** at limit **
  12  norm          .26292E-04    61.539       -.18455E-05** at limit **
  13  norm          3.9218        4.6038        .88986E-07    .12199E-02
  14  Prefactor     5.8230        4.4853        .44235E-07    .74607E-03
  15  norm          5.5355        7.3632       -.26161E-07    .24743E-03
  16  Prefactor     3.0203        3.1109       -.75424E-07   -.15192E-02
  17  Prefactor     .67142E-04    83.532        .43049E-06** at limit **
  18  Prefactor     9.2565        7.4470        .47908E-07    .89987E-03
  19  norm          .55511E-10    14.244       -.15188E-06** at limit **
  20  Normalizat    1.2453        .22266        .37671E-06   -.44137E-05
  21  Prefactor     .83357        .10994       -.29768E-06   -.28100E-04
                               ERR DEF=  .500    
Final values: 
  norm       = 0
  norm       = 1.11022e-10
  norm       = 8.79135
  Prefactor  = 3.75011e-06
  Prefactor  = 155.258
  Prefactor  = 4.78741
  Prefactor  = 0
  Prefactor  = 9.08551e-07
  Prefactor  = 8.77748e-06
  Prefactor  = 10.465
  norm       = 5.55112e-11
  norm       = 2.62916e-05
  norm       = 3.92181
  Prefactor  = 5.82299
  norm       = 5.53552
  Prefactor  = 3.0203
  Prefactor  = 6.71418e-05
  Prefactor  = 9.25652
  norm       = 5.55112e-11
  Normalizat = 1.24535
  Prefactor  = 0.833566
 **********
 **   18 **HESSE 
 **********

 FCN=   9247.755     FROM HESSE     STATUS=OK           357 CALLS     2048 TOTAL
                     EDM=   .11E-04    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  norm           .0000        .31542        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   2  norm          .11102E-09    7.4740        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   3  norm          8.7913        5.6658        .33796E-03   -1.5649    
   4  Prefactor     .37501E-05    43.262        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   5  Prefactor     155.26        99.433        .80371E-04   -1.5459    
   6  Prefactor     4.7874        16.500        .45883E-03   -1.5664    
   7  Prefactor      .0000        8.4879        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   8  Prefactor     .90855E-06    33.500        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   9  Prefactor     .87775E-05    40.122        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  10  Prefactor     10.465        8.4789        .30964E-03   -1.5643    
  11  norm          .55511E-10    1.8093        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  12  norm          .26292E-04    68.068        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  13  norm          3.9218        4.6062        .50998E-03   -1.5668    
  14  Prefactor     5.8230        4.4875        .41850E-03   -1.5660    
  15  norm          5.5355        7.3593        .42747E-03   -1.5661    
  16  Prefactor     3.0203        3.1108        .58345E-03   -1.5673    
  17  Prefactor     .67142E-04    91.630        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  18  Prefactor     9.2565        7.4389        .32906E-03   -1.5647    
  19  norm          .55511E-10    14.243        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  20  Normalizat    1.2453        .18968        .70990E-01   -.85213    
  21  Prefactor     .83357        .93010E-01    .44153E-01   -.98503    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 1.10636e-05
Minuit parameter uncertainties:
  1  7.12562e-07
  2  5.69162e-05
  3  5.66576
  4  0.0254747
  5  99.4345
  6  16.5
  7  1.38305e-05
  8  0.0110338
  9  0.0375325
  10  8.4789
  11  1.47924e-05
  12  0.0846087
  13  4.60624
  14  4.48749
  15  7.3593
  16  3.11083
  17  0.156875
  18  7.43894
  19  5.6896e-05
  20  0.189781
  21  0.093028
Done.

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

Extracting fit parameters...

4FGL J1748.0+3403
   Spectrum: PowerLaw
333    Prefactor:  4.787e+00  1.650e+01  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.336e-01  9.303e-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.245e+00  1.898e-01  1.000e-02  1.000e+01 ( 1.000e+00)


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

Saving results to:
/scratch/kocevski/33116/likelihoodResults_700444801_700704001_4FGL_J1748.0+3403_daily_bin1779.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) = 9247.55472034
delta logL = 0.200047245871

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

MINUIT Return Code (Free Index): 0
logL (Free Index) = 9247.54204328
delta logL = 0.212724302657

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'Prefactor '    3.3128       1.0000          .0000       .10000E+07
     2 'Index     '    3.2016       1.0000          .0000       10.000    
     3 'Normalizat'    1.2134       1.0000         .10000E-01   10.000    
     4 'Prefactor '    .84148       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=   9247.542     FROM MIGRAD    STATUS=CONVERGED     60 CALLS      273 TOTAL
                     EDM=   .32E-08    STRATEGY= 1      ERR MATRIX NOT POS-DEF

  EXT PARAMETER                APPROXIMATE        STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor     3.3164        124.22        .55594E-03    .88444E-02
   2  Index         3.1996        3.5385        .15313        .16349E-03
   3  Normalizat    1.2135        .49526E-01    .71768E-01   -.12306E-04
   4  Prefactor     .84152        .23990E-01    .44255E-01   -.48477E-04
                               ERR DEF=  .500    
Final values: 
  Prefactor  = 3.31643
  Index      = 3.19956
  Normalizat = 1.21346
  Prefactor  = 0.841521
 **********
 **   18 **HESSE 
 **********

 FCN=   9247.542     FROM HESSE     STATUS=OK            33 CALLS      306 TOTAL
                     EDM=   .97E-06    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  Prefactor     3.3164        170.54        .22238E-04   -1.5672    
   2  Index         3.1996        6.4840        .90971E-02   -.36836    
   3  Normalizat    1.2135        .23110        .31757E-03   -.86188    
   4  Prefactor     .84152        .11398        .18401E-03   -.98215    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 9.74009e-07
Minuit parameter uncertainties:
  1  47.5656
  2  7.03397
  3  0.231292
  4  0.114013
shell-init: error retrieving current directory: getcwd: cannot access parent directories: No such file or directory
rmdir: failed to remove `/scratch/kocevski/33116': 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) = 9247.54204014
delta logL = 0.212727443506

Extracting fit parameters...

4FGL J1748.0+3403
   Spectrum: PowerLaw
333    Prefactor:  3.316e+00  4.757e+01  0.000e+00  1.000e+06 ( 1.000e-13)
334        Index:  3.200e+00  7.034e+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.415e-01  1.140e-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.213e+00  2.313e-01  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Free Index): 0.09
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/33116/cmap_HighResolution_700444801_700704001_4FGL_J1748.0+3403_daily_bin1779.png

Cleaning up...

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

Updating database...

UPDATE lightcurve_data_v2 SET energy_flux_upper_limit='7.57e-03', job_status='DONE', photon_flux_upper_limit='9.83e-08', time_completed='2023-03-17 02:21:07.238748', job_id='33116', GAL2='0.84', fit_tolerance='1e-08', EG2='1.21', EG='1.25', time_epoch_completed='1679044867.24', return_code2='0', ts='0.09', comment='SUCCESS', return_code='0', GAL='0.83', dlogl='2.13e-01', ts2='0.54', photon_index_error='0.00', photon_index='2.34' WHERE bin_id='1779' AND source_name='4FGL J1748.0+3403' AND cadence='daily';

Database successfully updated.


Analysis Complete.


Fri Mar 17 02:21:07 PDT 2023


------------------------------------------------------------
Sender: LSF System <lsf@bullet0036>
Subject: Job 33116: <4FGL_J1748.0+3403_daily_bin1779> in cluster <slac> Done

Job <4FGL_J1748.0+3403_daily_bin1779> was submitted from host <rhel6-64p> by user <kocevski> in cluster <slac> at Fri Mar 17 02:05:18 2023
Job was executed on host(s) <bullet0036>, in queue <medium>, as user <kocevski> in cluster <slac> at Fri Mar 17 02:05:19 2023
</u/ki/kocevski> was used as the home directory.
</u/ki/kocevski> was used as the working directory.
Started at Fri Mar 17 02:05:19 2023
Terminated at Fri Mar 17 02:21:08 2023
Results reported at Fri Mar 17 02:21:08 2023

Your job looked like:

------------------------------------------------------------
# LSBATCH: User input
/nfs/farm/g/glast/g/LCRepository/Likelihood/Scripts/LikelihoodAnalysis.py 4FGL_J1748.0+3403_daily_bin1779 267.011 34.0641 700444801 700704001 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 :                                   804.14 sec.
    Max Memory :                                 1094 MB
    Average Memory :                             318.37 MB
    Total Requested Memory :                     -
    Delta Memory :                               -
    Max Swap :                                   -
    Max Processes :                              5
    Max Threads :                                21
    Run time :                                   948 sec.
    Turnaround time :                            950 sec.

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

