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


Performing analysis on: 4FGL_J1738.3+3228_daily_bin1750
RA = 264.584, Dec = 32.4823
tmin = 692928001, tmax = 693187201
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='20054', job_status='RUN', time_executed='2022-12-20 01:22:17.568704', time_epoch_executed='1671528137.57' WHERE source_name='4FGL J1738.3+3228' and cadence='daily' and bin_id='1750'

Database successfully updated.
Done.

Creating custom output directory:
/scratch/kocevski/20054

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

Retrieving the FT1 file...

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

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

Retrieving 46 files...
Done.


Merging files...

Checksum keywords updated successfully.

Merged file saved to:
/scratch/kocevski/20054/ft1_4FGL_J1738.3+3228_daily_bin1750.fits


Retrieving the FT1 file...

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

Retrieving 45 files...
Done.


Merging files...

Merged file saved to:
/scratch/kocevski/20054/ft2_4FGL_J1738.3+3228_daily_bin1750.fits


Selecting the photons:
time -p gtselect infile=/scratch/kocevski/20054/ft1_4FGL_J1738.3+3228_daily_bin1750.fits outfile=/scratch/kocevski/20054/ft1_filteredMKT_4FGL_J1738.3+3228_daily_bin1750.fits ra=264.584 dec=32.4823 rad=12.0 tmin=692928001.0 tmax=693187201.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.46
user 3.25
sys 0.19

Adding sun position to ft2 file:
/nfs/farm/g/glast/g/LCRepository/Repository/bin/sunpos /scratch/kocevski/20054/ft2_4FGL_J1738.3+3228_daily_bin1750.fits

Selecting the good time intervals:
time -p gtmktime scfile=/scratch/kocevski/20054/ft2_4FGL_J1738.3+3228_daily_bin1750.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/20054/ft1_filteredMKT_4FGL_J1738.3+3228_daily_bin1750.fits evtable="EVENTS" outfile="/scratch/kocevski/20054/ft1_filtered_4FGL_J1738.3+3228_daily_bin1750.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.49
user 0.31
sys 0.17

Number of photons that the gtmktime cut: 659

Generating the livetime cube:
time -p gtltcube evfile="/scratch/kocevski/20054/ft1_filtered_4FGL_J1738.3+3228_daily_bin1750.fits" evtable="EVENTS" scfile=/scratch/kocevski/20054/ft2_4FGL_J1738.3+3228_daily_bin1750.fits sctable="SC_DATA" outfile=/scratch/kocevski/20054/ltcube_692928001_693187201_4FGL_J1738.3+3228_daily_bin1750.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/20054/ft2_4FGL_J1738.3+3228_daily_bin1750.fits
.....................!
real 11.88
user 11.41
sys 0.39

Generating the exposure map:
time -p gtexpmap evfile=/scratch/kocevski/20054/ft1_filtered_4FGL_J1738.3+3228_daily_bin1750.fits evtable="EVENTS" scfile=/scratch/kocevski/20054/ft2_4FGL_J1738.3+3228_daily_bin1750.fits sctable="SC_DATA" expcube=/scratch/kocevski/20054/ltcube_692928001_693187201_4FGL_J1738.3+3228_daily_bin1750.fits outfile=/scratch/kocevski/20054/expmap_692928001_693187201_4FGL_J1738.3+3228_daily_bin1750.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/20054/ltcube_692928001_693187201_4FGL_J1738.3+3228_daily_bin1750.fits
.....................!
real 191.75
user 186.23
sys 4.90

Generating the xml model:
radLim = 0.001
maxRad = 12
normsOnly = True
freeVariableSources = True
Fixing all sources to their catalog values, except variable sources
Creating file and adding sources from 4FGL
Added 205 point sources and 0 extended sources

Setting source of interest to:
4FGL J1738.3+3228 @ 264.584 32.4823

Creating the counts map:
time -p gtbin evfile=/scratch/kocevski/20054/ft1_filtered_4FGL_J1738.3+3228_daily_bin1750.fits scfile=/scratch/kocevski/20054/ft2_4FGL_J1738.3+3228_daily_bin1750.fits outfile=/scratch/kocevski/20054/cmap_692928001_693187201_4FGL_J1738.3+3228_daily_bin1750.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=264.584 yref=32.4823 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/20054/ft1_filtered_4FGL_J1738.3+3228_daily_bin1750.fits scfile=/scratch/kocevski/20054/ft2_4FGL_J1738.3+3228_daily_bin1750.fits outfile=/scratch/kocevski/20054/cmap_HighResolution_692928001_693187201_4FGL_J1738.3+3228_daily_bin1750.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=264.584 yref=32.4823 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.16

Computing the diffuse response:
time -p gtdiffrsp evfile=/scratch/kocevski/20054/ft1_filtered_4FGL_J1738.3+3228_daily_bin1750.fits evtable="EVENTS" scfile=/scratch/kocevski/20054/ft2_4FGL_J1738.3+3228_daily_bin1750.fits sctable="SC_DATA" srcmdl=/scratch/kocevski/20054/Model_4FGL_J1738.3+3228_daily_bin1750.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/20054/ft1_filtered_4FGL_J1738.3+3228_daily_bin1750.fits.....................!
real 57.47
user 56.10
sys 1.21

Creating the likelihood object...
obs = UnbinnedObs('/scratch/kocevski/20054/ft1_filtered_4FGL_J1738.3+3228_daily_bin1750.fits', '/scratch/kocevski/20054/ft2_4FGL_J1738.3+3228_daily_bin1750.fits', expMap='/scratch/kocevski/20054/expmap_692928001_693187201_4FGL_J1738.3+3228_daily_bin1750.fits', expCube='/scratch/kocevski/20054/ltcube_692928001_693187201_4FGL_J1738.3+3228_daily_bin1750.fits', irfs='P8R3_SOURCE_V2')
like = UnbinnedAnalysis(obs, '/scratch/kocevski/20054/Model_4FGL_J1738.3+3228_daily_bin1750.xml', optimizer='MINUIT')

Using source of interest name: '4FGL J1738.3+3228'

4FGL J1738.3+3228
   Spectrum: PowerLaw
322    Prefactor:  7.549e+00  0.000e+00  0.000e+00  1.000e+06 ( 1.000e-14)
323        Index:  2.454e+00  0.000e+00  0.000e+00  1.000e+01 (-1.000e+00) fixed
324        Scale:  1.347e+03  0.000e+00  3.000e+01  5.000e+05 ( 1.000e+00) fixed


Likelihood Fit Parameters:
Event file(s): /scratch/kocevski/20054/ft1_filtered_4FGL_J1738.3+3228_daily_bin1750.fits
Spacecraft file(s): /scratch/kocevski/20054/ft2_4FGL_J1738.3+3228_daily_bin1750.fits
Exposure map: /scratch/kocevski/20054/expmap_692928001_693187201_4FGL_J1738.3+3228_daily_bin1750.fits
Exposure cube: /scratch/kocevski/20054/ltcube_692928001_693187201_4FGL_J1738.3+3228_daily_bin1750.fits
IRFs: P8R3_SOURCE_V2
Source model file: /scratch/kocevski/20054/Model_4FGL_J1738.3+3228_daily_bin1750.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) = 7005.67243169

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

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

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'norm      '    1.4072       1.0000          .0000       .10000E+07
     2 'Prefactor '    8.9596       1.0000          .0000       .10000E+07
     3 'norm      '    .29178E-03   1.0000          .0000       .10000E+07
     4 'norm      '    22.911       1.0000          .0000       .10000E+07
     5 'norm      '    .17668       1.0000          .0000       .10000E+07
     6 'Prefactor '    29.541       1.0000          .0000       .10000E+07
     7 'Prefactor '    .95280E-05   1.0000          .0000       .10000E+07
     8 'Prefactor '    .14822E-02   1.0000          .0000       .10000E+07
     9 'Prefactor '    10.352       1.0000          .0000       .10000E+07
    10 'Prefactor '    .91318E-02   1.0000          .0000       .10000E+07
    11 'Prefactor '    20.912       1.0000          .0000       .10000E+07
    12 'Prefactor '    1.4467       1.0000          .0000       .10000E+07
    13 'norm      '    .55511E-10   1.0000          .0000       .10000E+07
    14 'norm      '    108.51       1.0000          .0000       .10000E+07
    15 'Prefactor '    .41920E-05   1.0000          .0000       .10000E+07
    16 'norm      '    .33479E-02   1.0000          .0000       .10000E+07
    17 'Prefactor '    4.2039       1.0000          .0000       .10000E+07
    18 'Prefactor '    .21865E-04   1.0000          .0000       .10000E+07
    19 'Normalizat'    .60539       1.0000         .10000E-01   10.000    
    20 'Prefactor '    1.0853       1.0000          .0000       10.000    
 **********
 **   15 **SET ERR    .5000    
 **********
 **********
 **   16 **SET GRAD    1.000    
 **********
 **********
 **   17 **MINIMIZE    .6690E+05   .2000E-04
 **********

 MIGRAD MINIMIZATION HAS CONVERGED.

 FCN=   7005.667     FROM MIGRAD    STATUS=CONVERGED    154 CALLS     1540 TOTAL
                     EDM=   .86E-09  STRATEGY=1  ERROR MATRIX UNCERTAINTY=  1.0%

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  norm          1.4071        1.2508        .27779E-06   -.17424E-01
   2  Prefactor     9.0301        3.2648        .16610E-05    .24480E-01
   3  norm          .55511E-10    3.8706        .28515E-06** at limit **
   4  norm          22.836        8.2380       -.28300E-06    .65099E-02
   5  norm          .94369E-09    57.604       -.93300E-06** at limit **
   6  Prefactor     30.963        52.701        .33259E-05    .45223E-01
   7  Prefactor     .15543E-08    22.709        .44947E-06** at limit **
   8  Prefactor      .0000        26.874       -.15436E-05** at limit **
   9  Prefactor     10.331        8.7564       -.44326E-07    .12613E-02
  10  Prefactor      .0000        10.868       -.84508E-07** at limit **
  11  Prefactor     20.304        47.832        .16388E-04    .12119E-01
  12  Prefactor     1.3836        9.9917        .15309E-05   -.24670E-02
  13  norm          .55511E-10    .48733       -.10966E-06** at limit **
  14  norm          109.50        49.968        .43500E-05   -.89862E-01
  15  Prefactor     .22204E-09    2.5599       -.29949E-06** at limit **
  16  norm          .55511E-10    6.2816        .14346E-06** at limit **
  17  Prefactor     4.2011        4.9528       -.20691E-07    .15154E-02
  18  Prefactor     .16653E-09    7.8980        .57309E-06** at limit **
  19  Normalizat    .60447        .23258       -.23684E-04    .36535E-03
  20  Prefactor     1.0857        .12443       -.33018E-05    .65044E-03
                               ERR DEF=  .500    
Final values: 
  norm       = 1.40713
  Prefactor  = 9.03008
  norm       = 5.55112e-11
  norm       = 22.8361
  norm       = 9.4369e-10
  Prefactor  = 30.9628
  Prefactor  = 1.55431e-09
  Prefactor  = 0
  Prefactor  = 10.3315
  Prefactor  = 0
  Prefactor  = 20.3042
  Prefactor  = 1.38364
  norm       = 5.55112e-11
  norm       = 109.5
  Prefactor  = 2.22045e-10
  norm       = 5.55112e-11
  Prefactor  = 4.20111
  Prefactor  = 1.66533e-10
  Normalizat = 0.604474
  Prefactor  = 1.08572
 **********
 **   18 **HESSE 
 **********

 FCN=   7005.667     FROM HESSE     STATUS=OK           329 CALLS     1869 TOTAL
                     EDM=   .17E-05    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  norm          1.4071        1.2391        .91339E-03   -1.5684    
   2  Prefactor     9.0301        28.404        .33461E-03   -1.5648    
   3  norm          .55511E-10    3.8761        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   4  norm          22.836        8.4195        .20897E-03   -1.5612    
   5  norm          .94369E-09    57.587        .12207E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   6  Prefactor     30.963        68.388        .18402E-03   -1.5597    
   7  Prefactor     .15543E-08    22.691        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   8  Prefactor      .0000        26.561        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   9  Prefactor     10.331        8.7604        .31117E-03   -1.5644    
  10  Prefactor      .0000        10.866        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  11  Prefactor     20.304        48.810        .21874E-03   -1.5618    
  12  Prefactor     1.3836        9.8950        .89584E-03   -1.5684    
  13  norm          .55511E-10    .48779        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  14  norm          109.50        75.105        .96003E-04   -1.5499    
  15  Prefactor     .22204E-09    2.5567        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  16  norm          .55511E-10    6.2533        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  17  Prefactor     4.2011        4.9549        .49127E-03   -1.5667    
  18  Prefactor     .16653E-09    7.8937        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  19  Normalizat    .60447        .20929        .88825E-01   -1.0779    
  20  Prefactor     1.0857        .11090        .38174E-01   -.89924    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 1.74716e-06
Minuit parameter uncertainties:
  1  1.23915
  2  28.4045
  3  3.54011e-05
  4  8.41952
  5  0.000469202
  6  68.3899
  7  0.000376077
  8  2.43506e-05
  9  8.76036
  10  2.69839e-05
  11  48.8108
  12  7.4003
  13  7.64705e-06
  14  75.1055
  15  4.5751e-05
  16  3.14711e-05
  17  4.95486
  18  7.77708e-05
  19  0.209566
  20  0.110922
Done.

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

Extracting fit parameters...

4FGL J1738.3+3228
   Spectrum: PowerLaw
322    Prefactor:  1.554e-09  3.761e-04  0.000e+00  1.000e+06 ( 1.000e-14)
323        Index:  2.454e+00  0.000e+00  0.000e+00  1.000e+01 (-1.000e+00) fixed
324        Scale:  1.347e+03  0.000e+00  3.000e+01  5.000e+05 ( 1.000e+00) fixed

GAL_V02
   Spectrum: PowerLaw
666    Prefactor:  1.086e+00  1.109e-01  0.000e+00  1.000e+01 ( 1.000e+00)
667        Index:  0.000e+00  0.000e+00 -1.000e+00  1.000e+00 ( 1.000e+00) fixed
668        Scale:  1.000e+02  0.000e+00  5.000e+01  2.000e+02 ( 1.000e+00) fixed

EG_v02
   Spectrum: FileFunction
665   Normalization:  6.045e-01  2.096e-01  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Fixed Index): -0.00
Ra Dec: 264.584 32.482
Photon Flux Upper Limit: 4.98e-08 ph cm-2 s-1
Energy Flux Upper Limit: 3.87e-03 MeV cm-2 s-1

Saving results to:
/scratch/kocevski/20054/likelihoodResults_692928001_693187201_4FGL_J1738.3+3228_daily_bin1750.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) = 7005.68832773
delta logL = -0.0210231732508

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

MINUIT Return Code (Free Index): 102
logL (Free Index) = 7005.66730456
delta logL = -6.39192876406e-09

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'Prefactor '    .27756E-09   1.0000          .0000       .10000E+07
     2 'Index     '    1.1792       1.0000          .0000       10.000    
     3 'Normalizat'    .60450       1.0000         .10000E-01   10.000    
     4 'Prefactor '    1.0857       1.0000          .0000       10.000    
 **********
 **   15 **SET ERR    .5000    
 **********
 **********
 **   16 **SET GRAD    1.000    
 **********
 **********
 **   17 **MINIMIZE    .6690E+05   .2000E-04
 **********

 MIGRAD MINIMIZATION HAS CONVERGED.

 FCN=   7005.667     FROM MIGRAD    STATUS=CONVERGED     29 CALLS      193 TOTAL
                     EDM=   .19E-08  STRATEGY=1  ERROR MATRIX UNCERTAINTY=  2.0%

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor     .30642E-07    35.638       -.89424E-05** at limit **
   2  Index         1.3079        5.6406       -.44114E-03   -.10893E-08
   3  Normalizat    .60447        .22555       -.16724E-04   -.91333E-03
   4  Prefactor     1.0857        .12111       -.11146E-04   -.24410E-02
                               ERR DEF=  .500    
Final values: 
  Prefactor  = 3.06422e-08
  Index      = 1.30793
  Normalizat = 0.60447
  Prefactor  = 1.08572
 **********
 **   18 **HESSE 
 **********

 FCN=   7005.667     FROM HESSE     STATUS=NOT POSDEF    35 CALLS      228 TOTAL
                     EDM=   .63E-09    STRATEGY= 1      ERR MATRIX NOT POS-DEF

  EXT PARAMETER                APPROXIMATE     INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  Prefactor     .30642E-07    46.648        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   2  Index         1.3079        5.1231        .35143       -.83072    
   3  Normalizat    .60447        .58095E-02    .88825E-01   -1.0779    
   4  Prefactor     1.0857        .31071E-02    .38156E-01   -.89924    
                               ERR DEF=  .500    
Minuit fit quality: 2   estimated distance: 6.31637e-10
Minuit parameter uncertainties:
  1  0.00239048
  2  25931
  3  0.00580947
  4  0.00310708
shell-init: error retrieving current directory: getcwd: cannot access parent directories: No such file or directory
rmdir: failed to remove `/scratch/kocevski/20054': 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) = 7005.66730455
delta logL = -1.37970346259e-09

Extracting fit parameters...

4FGL J1738.3+3228
   Spectrum: PowerLaw
322    Prefactor:  3.064e-08  2.390e-03  0.000e+00  1.000e+06 ( 1.000e-14)
323        Index:  1.308e+00  2.593e+04  0.000e+00  1.000e+01 (-1.000e+00)
324        Scale:  1.347e+03  0.000e+00  3.000e+01  5.000e+05 ( 1.000e+00) fixed

GAL_V02
   Spectrum: PowerLaw
666    Prefactor:  1.086e+00  3.107e-03  0.000e+00  1.000e+01 ( 1.000e+00)
667        Index:  0.000e+00  0.000e+00 -1.000e+00  1.000e+00 ( 1.000e+00) fixed
668        Scale:  1.000e+02  0.000e+00  5.000e+01  2.000e+02 ( 1.000e+00) fixed

EG_v02
   Spectrum: FileFunction
665   Normalization:  6.045e-01  5.809e-03  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Free Index): -0.00
Ra Dec: 264.584 32.482

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/20054/cmap_HighResolution_692928001_693187201_4FGL_J1738.3+3228_daily_bin1750.png

Cleaning up...

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

Updating database...

UPDATE lightcurve_data_v2 SET energy_flux_upper_limit='3.87e-03', job_status='DONE', photon_flux_upper_limit='4.98e-08', time_completed='2022-12-20 01:32:34.246292', job_id='20054', GAL2='1.09', fit_tolerance='1e-08', EG2='0.60', EG='0.60', time_epoch_completed='1671528754.25', return_code2='102', ts='-0.00', comment='SUCCESS', return_code='0', GAL='1.09', dlogl='-1.38e-09', ts2='-0.00', photon_index_error='0.00', photon_index='2.45' WHERE bin_id='1750' AND source_name='4FGL J1738.3+3228' AND cadence='daily';

Database successfully updated.


Analysis Complete.


Tue Dec 20 01:32:34 PST 2022


------------------------------------------------------------
Sender: LSF System <lsf@bullet0078>
Subject: Job 20054: <4FGL_J1738.3+3228_daily_bin1750> in cluster <slac> Done

Job <4FGL_J1738.3+3228_daily_bin1750> was submitted from host <rhel6-64o> by user <kocevski> in cluster <slac> at Tue Dec 20 01:20:21 2022
Job was executed on host(s) <bullet0078>, in queue <medium>, as user <kocevski> in cluster <slac> at Tue Dec 20 01:20:22 2022
</u/ki/kocevski> was used as the home directory.
</u/ki/kocevski> was used as the working directory.
Started at Tue Dec 20 01:20:22 2022
Terminated at Tue Dec 20 01:32:35 2022
Results reported at Tue Dec 20 01:32:35 2022

Your job looked like:

------------------------------------------------------------
# LSBATCH: User input
/nfs/farm/g/glast/g/LCRepository/Likelihood/Scripts/LikelihoodAnalysis.py 4FGL_J1738.3+3228_daily_bin1750 264.584 32.4823 692928001 693187201 irfs=P8R3_SOURCE_V2 zmax=90 ROI=12 association=4FGL_J1738.3+3228 fixedModel=True performFreeIndexFit=True freeVariableSources=True nuke=True repositoryJob=True verbose=False
------------------------------------------------------------

Successfully completed.

Resource usage summary:

    CPU time :                                   618.51 sec.
    Max Memory :                                 1257 MB
    Average Memory :                             297.65 MB
    Total Requested Memory :                     -
    Delta Memory :                               -
    Max Swap :                                   -
    Max Processes :                              5
    Max Threads :                                21
    Run time :                                   732 sec.
    Turnaround time :                            734 sec.

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

