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


Performing analysis on: 4FGL_J1748.0+3403_daily_bin1777
RA = 267.011, Dec = 34.0641
tmin = 699926401, tmax = 700185601
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='919494', job_status='RUN', time_executed='2023-03-11 01:01:14.064245', time_epoch_executed='1678525274.06' WHERE source_name='4FGL J1748.0+3403' and cadence='daily' and bin_id='1777'

Database successfully updated.
Done.

Creating custom output directory:
/scratch/kocevski/919494

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

Retrieving the FT1 file...

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

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

Retrieving 47 files...
Done.


Merging files...

Checksum keywords updated successfully.

Merged file saved to:
/scratch/kocevski/919494/ft1_4FGL_J1748.0+3403_daily_bin1777.fits


Retrieving the FT1 file...

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

Retrieving 47 files...
Done.


Merging files...

Merged file saved to:
/scratch/kocevski/919494/ft2_4FGL_J1748.0+3403_daily_bin1777.fits


Selecting the photons:
time -p gtselect infile=/scratch/kocevski/919494/ft1_4FGL_J1748.0+3403_daily_bin1777.fits outfile=/scratch/kocevski/919494/ft1_filteredMKT_4FGL_J1748.0+3403_daily_bin1777.fits ra=267.011 dec=34.0641 rad=12.0 tmin=699926401.0 tmax=700185601.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.63
user 3.42
sys 0.19

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

Selecting the good time intervals:
time -p gtmktime scfile=/scratch/kocevski/919494/ft2_4FGL_J1748.0+3403_daily_bin1777.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/919494/ft1_filteredMKT_4FGL_J1748.0+3403_daily_bin1777.fits evtable="EVENTS" outfile="/scratch/kocevski/919494/ft1_filtered_4FGL_J1748.0+3403_daily_bin1777.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.51
user 0.35
sys 0.15

Number of photons that the gtmktime cut: 966

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

Generating the exposure map:
time -p gtexpmap evfile=/scratch/kocevski/919494/ft1_filtered_4FGL_J1748.0+3403_daily_bin1777.fits evtable="EVENTS" scfile=/scratch/kocevski/919494/ft2_4FGL_J1748.0+3403_daily_bin1777.fits sctable="SC_DATA" expcube=/scratch/kocevski/919494/ltcube_699926401_700185601_4FGL_J1748.0+3403_daily_bin1777.fits outfile=/scratch/kocevski/919494/expmap_699926401_700185601_4FGL_J1748.0+3403_daily_bin1777.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/919494/ltcube_699926401_700185601_4FGL_J1748.0+3403_daily_bin1777.fits
.....................!
real 189.25
user 184.46
sys 4.43

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/919494/ft1_filtered_4FGL_J1748.0+3403_daily_bin1777.fits scfile=/scratch/kocevski/919494/ft2_4FGL_J1748.0+3403_daily_bin1777.fits outfile=/scratch/kocevski/919494/cmap_699926401_700185601_4FGL_J1748.0+3403_daily_bin1777.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.55
user 0.38
sys 0.13

Creating the high resolution counts map:
time -p gtbin evfile=/scratch/kocevski/919494/ft1_filtered_4FGL_J1748.0+3403_daily_bin1777.fits scfile=/scratch/kocevski/919494/ft2_4FGL_J1748.0+3403_daily_bin1777.fits outfile=/scratch/kocevski/919494/cmap_HighResolution_699926401_700185601_4FGL_J1748.0+3403_daily_bin1777.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.53
user 0.38
sys 0.15

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

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

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

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

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'norm      '    .27034E-07   1.0000          .0000       .10000E+07
     2 'norm      '    8.7871       1.0000          .0000       .10000E+07
     3 'norm      '    18.038       1.0000          .0000       .10000E+07
     4 'Prefactor '    .60009E-01   1.0000          .0000       .10000E+07
     5 'Prefactor '    47.867       1.0000          .0000       .10000E+07
     6 'Prefactor '    .25445E-02   1.0000          .0000       .10000E+07
     7 'Prefactor '    3.4517       1.0000          .0000       .10000E+07
     8 'Prefactor '    .75564E-02   1.0000          .0000       .10000E+07
     9 'Prefactor '    51.133       1.0000          .0000       .10000E+07
    10 'Prefactor '    .51712E-04   1.0000          .0000       .10000E+07
    11 'norm      '    .57987E-05   1.0000          .0000       .10000E+07
    12 'norm      '    .18623E-02   1.0000          .0000       .10000E+07
    13 'norm      '    .75123E-06   1.0000          .0000       .10000E+07
    14 'Prefactor '    13.452       1.0000          .0000       .10000E+07
    15 'norm      '    10.867       1.0000          .0000       .10000E+07
    16 'Prefactor '    .85043E-07   1.0000          .0000       .10000E+07
    17 'Prefactor '    .61187E-02   1.0000          .0000       .10000E+07
    18 'Prefactor '    14.217       1.0000          .0000       .10000E+07
    19 'norm      '    .31792E-02   1.0000          .0000       .10000E+07
    20 'Normalizat'    1.2496       1.0000         .10000E-01   10.000    
    21 'Prefactor '    .91713       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=   10427.34     FROM MIGRAD    STATUS=CONVERGED    186 CALLS     1703 TOTAL
                     EDM=   .50E-10  STRATEGY=1  ERROR MATRIX UNCERTAINTY=  1.2%

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  norm           .0000        .40319        .12778E-06** at limit **
   2  norm          8.7519        8.4578       -.15096E-05    .19375E-03
   3  norm          18.028        7.1513        .61089E-06   -.65502E-03
   4  Prefactor      .0000        56.046        .70207E-06** at limit **
   5  Prefactor     47.884        2.8106        .32518E-06    .48424E-02
   6  Prefactor      .0000        9.4527        .47456E-07** at limit **
   7  Prefactor     3.4642        8.2282        .31405E-06   -.21514E-04
   8  Prefactor     .57732E-08    74.331        .69389E-05** at limit **
   9  Prefactor     52.351        68.384        .80804E-05   -.30835E-03
  10  Prefactor      .0000        5.6986        .78366E-06** at limit **
  11  norm           .0000        13.701       -.10909E-05** at limit **
  12  norm          .55511E-10    36.956       -.25658E-05** at limit **
  13  norm           .0000        3.0291       -.11667E-06** at limit **
  14  Prefactor     13.420        6.5073       -.21320E-06    .40498E-03
  15  norm          10.875        6.9557       -.13064E-06    .47395E-04
  16  Prefactor      .0000        2.1401        .69049E-06** at limit **
  17  Prefactor     .11102E-09    27.392        .14257E-05** at limit **
  18  Prefactor     14.234        9.0999        .19551E-06   -.14121E-03
  19  norm           .0000        12.379        .94968E-06** at limit **
  20  Normalizat    1.2497        .22624        .14092E-04   -.24161E-04
  21  Prefactor     .91697        .10981       -.22618E-05   -.30888E-04
                               ERR DEF=  .500    
Final values: 
  norm       = 0
  norm       = 8.75194
  norm       = 18.0282
  Prefactor  = 0
  Prefactor  = 47.8839
  Prefactor  = 0
  Prefactor  = 3.46424
  Prefactor  = 5.77316e-09
  Prefactor  = 52.3507
  Prefactor  = 0
  norm       = 0
  norm       = 5.55112e-11
  norm       = 0
  Prefactor  = 13.42
  norm       = 10.8747
  Prefactor  = 0
  Prefactor  = 1.11022e-10
  Prefactor  = 14.2338
  norm       = 0
  Normalizat = 1.24967
  Prefactor  = 0.916971
 **********
 **   18 **HESSE 
 **********

 FCN=   10427.34     FROM HESSE     STATUS=OK           359 CALLS     2062 TOTAL
                     EDM=   .76E-07    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  norm           .0000        .40052        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   2  norm          8.7519        8.4595        .33790E-03   -1.5649    
   3  norm          18.028        7.1489        .23555E-03   -1.5623    
   4  Prefactor      .0000        55.920        .15162E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   5  Prefactor     47.884        78.370        .14455E-03   -1.5570    
   6  Prefactor      .0000        9.4428        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   7  Prefactor     3.4642        8.2384        .54412E-03   -1.5671    
   8  Prefactor     .57732E-08    73.115        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   9  Prefactor     52.351        68.428        .13986E-03   -1.5563    
  10  Prefactor      .0000        5.6767        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  11  norm           .0000        1.0123        .42118E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  12  norm          .55511E-10    36.926        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  13  norm           .0000        3.0246        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  14  Prefactor     13.420        6.5050        .27284E-03   -1.5635    
  15  norm          10.875        6.9470        .30367E-03   -1.5642    
  16  Prefactor      .0000        2.1331        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  17  Prefactor     .11102E-09    27.283        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  18  Prefactor     14.234        9.0814        .26538E-03   -1.5633    
  19  norm           .0000        12.390        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  20  Normalizat    1.2497        .19309        .75403E-01   -.85082    
  21  Prefactor     .91697        .92883E-01    .45223E-01   -.95551    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 7.58377e-08
Minuit parameter uncertainties:
  1  7.32449e-07
  2  8.45953
  3  7.14886
  4  1.9388e-05
  5  78.3715
  6  2.54077e-06
  7  8.2384
  8  0.00129684
  9  68.4289
  10  7.16293e-06
  11  3.35754e-06
  12  0.000109998
  13  2.40059e-06
  14  6.50498
  15  6.947
  16  4.26993e-06
  17  0.000100014
  18  9.08137
  19  3.40523e-06
  20  0.193198
  21  0.0928992
Done.

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

Extracting fit parameters...

4FGL J1748.0+3403
   Spectrum: PowerLaw
333    Prefactor:  0.000e+00  2.541e-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:  9.170e-01  9.290e-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.250e+00  1.932e-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: 7.46e-08 ph cm-2 s-1
Energy Flux Upper Limit: 5.74e-03 MeV cm-2 s-1

Saving results to:
/scratch/kocevski/919494/likelihoodResults_699926401_700185601_4FGL_J1748.0+3403_daily_bin1777.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) = 10427.3958864
delta logL = -0.051363808474

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

MINUIT Return Code (Free Index): 102
logL (Free Index) = 10427.2549474
delta logL = 0.0895752394081

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'Prefactor '    .59546E-01   1.0000          .0000       .10000E+07
     2 'Index     '    4.9362       1.0000          .0000       10.000    
     3 'Normalizat'    1.2151       1.0000         .10000E-01   10.000    
     4 'Prefactor '    .92683       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=   10427.25     FROM MIGRAD    STATUS=CONVERGED     55 CALLS      259 TOTAL
                     EDM=   .16E-08    STRATEGY= 1      ERR MATRIX NOT POS-DEF

  EXT PARAMETER                APPROXIMATE        STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor     .59058E-01    .63532        .12235E-02** at limit **
   2  Index         4.9409        1.6350        .20138        .58333E-04
   3  Normalizat    1.2149        .18666E-01    .76329E-01   -.73808E-04
   4  Prefactor     .92686        .92025E-02    .45346E-01   -.10227E-03
                               ERR DEF=  .500    
Final values: 
  Prefactor  = 0.0590583
  Index      = 4.94094
  Normalizat = 1.21489
  Prefactor  = 0.926862
 **********
 **   18 **HESSE 
 **********

 FCN=   10427.25     FROM HESSE     STATUS=NOT POSDEF    35 CALLS      294 TOTAL
                     EDM=   .45E-09    STRATEGY= 1      ERR MATRIX NOT POS-DEF

  EXT PARAMETER                APPROXIMATE     INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  Prefactor     .59058E-01    13.777        .42571E-04   -1.5703    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   2  Index         4.9409        6.1045        .88967E-02   -.11812E-01
   3  Normalizat    1.2149        .12721        .33783E-03   -.86144    
   4  Prefactor     .92686        .61102E-01    .18687E-03   -.95209    
                               ERR DEF=  .500    
Minuit fit quality: 2   estimated distance: 4.45211e-10
Minuit parameter uncertainties:
  1  1.80405
  2  13.294
  3  0.127246
  4  0.0611065
shell-init: error retrieving current directory: getcwd: cannot access parent directories: No such file or directory
rmdir: failed to remove `/scratch/kocevski/919494': 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) = 10427.2549459
delta logL = 0.0895767338625

Extracting fit parameters...

4FGL J1748.0+3403
   Spectrum: PowerLaw
333    Prefactor:  5.906e-02  1.804e+00  0.000e+00  1.000e+06 ( 1.000e-13)
334        Index:  4.941e+00  1.329e+01  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.269e-01  6.111e-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.215e+00  1.272e-01  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/919494/cmap_HighResolution_699926401_700185601_4FGL_J1748.0+3403_daily_bin1777.png

Cleaning up...

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

Updating database...

UPDATE lightcurve_data_v2 SET energy_flux_upper_limit='5.74e-03', job_status='DONE', photon_flux_upper_limit='7.46e-08', time_completed='2023-03-11 01:14:44.364745', job_id='919494', GAL2='0.93', fit_tolerance='1e-08', EG2='1.21', EG='1.25', time_epoch_completed='1678526084.36', return_code2='102', ts='0.00', comment='SUCCESS', return_code='0', GAL='0.92', dlogl='8.96e-02', ts2='0.20', photon_index_error='0.00', photon_index='2.34' WHERE bin_id='1777' AND source_name='4FGL J1748.0+3403' AND cadence='daily';

Database successfully updated.


Analysis Complete.


Sat Mar 11 01:14:44 PST 2023


------------------------------------------------------------
Sender: LSF System <lsf@bullet0190>
Subject: Job 919494: <4FGL_J1748.0+3403_daily_bin1777> in cluster <slac> Done

Job <4FGL_J1748.0+3403_daily_bin1777> was submitted from host <rhel6-64f> by user <kocevski> in cluster <slac> at Sat Mar 11 01:00:23 2023
Job was executed on host(s) <bullet0190>, in queue <medium>, as user <kocevski> in cluster <slac> at Sat Mar 11 01:00:24 2023
</u/ki/kocevski> was used as the home directory.
</u/ki/kocevski> was used as the working directory.
Started at Sat Mar 11 01:00:24 2023
Terminated at Sat Mar 11 01:14:45 2023
Results reported at Sat Mar 11 01:14:45 2023

Your job looked like:

------------------------------------------------------------
# LSBATCH: User input
/nfs/farm/g/glast/g/LCRepository/Likelihood/Scripts/LikelihoodAnalysis.py 4FGL_J1748.0+3403_daily_bin1777 267.011 34.0641 699926401 700185601 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 :                                   812.00 sec.
    Max Memory :                                 1257 MB
    Average Memory :                             338.43 MB
    Total Requested Memory :                     -
    Delta Memory :                               -
    Max Swap :                                   -
    Max Processes :                              5
    Max Threads :                                21
    Run time :                                   860 sec.
    Turnaround time :                            862 sec.

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

