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


Performing analysis on: 4FGL_J1728.0+1216_daily_bin1764
RA = 262.02, Dec = 12.2756
tmin = 696556801, tmax = 696816001
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='457988', job_status='RUN', time_executed='2023-01-31 01:32:34.588202', time_epoch_executed='1675157554.59' WHERE source_name='4FGL J1728.0+1216' and cadence='daily' and bin_id='1764'

Database successfully updated.
Done.

Creating custom output directory:
/scratch/kocevski/457988

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

Retrieving the FT1 file...

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

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

Retrieving 47 files...
Done.


Merging files...

Checksum keywords updated successfully.

Merged file saved to:
/scratch/kocevski/457988/ft1_4FGL_J1728.0+1216_daily_bin1764.fits


Retrieving the FT1 file...

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

Retrieving 47 files...
Done.


Merging files...

Merged file saved to:
/scratch/kocevski/457988/ft2_4FGL_J1728.0+1216_daily_bin1764.fits


Selecting the photons:
time -p gtselect infile=/scratch/kocevski/457988/ft1_4FGL_J1728.0+1216_daily_bin1764.fits outfile=/scratch/kocevski/457988/ft1_filteredMKT_4FGL_J1728.0+1216_daily_bin1764.fits ra=262.02 dec=12.2756 rad=12.0 tmin=696556801.0 tmax=696816001.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.68
user 3.45
sys 0.21

Adding sun position to ft2 file:
/nfs/farm/g/glast/g/LCRepository/Repository/bin/sunpos /scratch/kocevski/457988/ft2_4FGL_J1728.0+1216_daily_bin1764.fits

Selecting the good time intervals:
time -p gtmktime scfile=/scratch/kocevski/457988/ft2_4FGL_J1728.0+1216_daily_bin1764.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/457988/ft1_filteredMKT_4FGL_J1728.0+1216_daily_bin1764.fits evtable="EVENTS" outfile="/scratch/kocevski/457988/ft1_filtered_4FGL_J1728.0+1216_daily_bin1764.fits" apply_filter=yes overwrite=yes header_obstimes=yes tstart=0.0 tstop=0.0 gtifile="default" chatter=3 clobber=yes debug=no gui=no mode="ql"

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

This is gtmktime version HEAD
Applying GTI filter:
IN_SAA!=T && LIVETIME>0 && gtifilter('/nfs/farm/g/glast/g/LCRepository/Likelihood/GTIs/nogrb.gti',(START+STOP)/2) && (angsep(RA_SUN,DEC_SUN,RA_ZENITH,DEC_ZENITH)>115 || gtifilter('/nfs/farm/g/glast/g/LCRepository/Likelihood/GTIs/nosolarflares.gti',(START+STOP)/2))
real 0.50
user 0.33
sys 0.16

Number of photons that the gtmktime cut: 1047

Generating the livetime cube:
time -p gtltcube evfile="/scratch/kocevski/457988/ft1_filtered_4FGL_J1728.0+1216_daily_bin1764.fits" evtable="EVENTS" scfile=/scratch/kocevski/457988/ft2_4FGL_J1728.0+1216_daily_bin1764.fits sctable="SC_DATA" outfile=/scratch/kocevski/457988/ltcube_696556801_696816001_4FGL_J1728.0+1216_daily_bin1764.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/457988/ft2_4FGL_J1728.0+1216_daily_bin1764.fits
.....................!
real 14.96
user 14.57
sys 0.35

Generating the exposure map:
time -p gtexpmap evfile=/scratch/kocevski/457988/ft1_filtered_4FGL_J1728.0+1216_daily_bin1764.fits evtable="EVENTS" scfile=/scratch/kocevski/457988/ft2_4FGL_J1728.0+1216_daily_bin1764.fits sctable="SC_DATA" expcube=/scratch/kocevski/457988/ltcube_696556801_696816001_4FGL_J1728.0+1216_daily_bin1764.fits outfile=/scratch/kocevski/457988/expmap_696556801_696816001_4FGL_J1728.0+1216_daily_bin1764.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/457988/ltcube_696556801_696816001_4FGL_J1728.0+1216_daily_bin1764.fits
.....................!
real 192.12
user 186.75
sys 5.00

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
Extended source FHES J1723.5-0501 in ROI with RadialGaussian spatial model.
Added 176 point sources and 1 extended sources
If using unbinned likelihood you will need to rerun gtdiffrsp for the extended sources or rerun the makeModel function with optional argument psForce=True

Setting source of interest to:
4FGL J1728.0+1216 @ 262.02 12.2756

Creating the counts map:
time -p gtbin evfile=/scratch/kocevski/457988/ft1_filtered_4FGL_J1728.0+1216_daily_bin1764.fits scfile=/scratch/kocevski/457988/ft2_4FGL_J1728.0+1216_daily_bin1764.fits outfile=/scratch/kocevski/457988/cmap_696556801_696816001_4FGL_J1728.0+1216_daily_bin1764.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=262.02 yref=12.2756 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.58
user 0.37
sys 0.17

Creating the high resolution counts map:
time -p gtbin evfile=/scratch/kocevski/457988/ft1_filtered_4FGL_J1728.0+1216_daily_bin1764.fits scfile=/scratch/kocevski/457988/ft2_4FGL_J1728.0+1216_daily_bin1764.fits outfile=/scratch/kocevski/457988/cmap_HighResolution_696556801_696816001_4FGL_J1728.0+1216_daily_bin1764.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=262.02 yref=12.2756 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.56
user 0.40
sys 0.15

Computing the diffuse response:
time -p gtdiffrsp evfile=/scratch/kocevski/457988/ft1_filtered_4FGL_J1728.0+1216_daily_bin1764.fits evtable="EVENTS" scfile=/scratch/kocevski/457988/ft2_4FGL_J1728.0+1216_daily_bin1764.fits sctable="SC_DATA" srcmdl=/scratch/kocevski/457988/Model_4FGL_J1728.0+1216_daily_bin1764.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 FHES J1723.5-0501
adding source GAL_V02
Working on...
/scratch/kocevski/457988/ft1_filtered_4FGL_J1728.0+1216_daily_bin1764.fits.....................!
real 93.49
user 91.97
sys 1.26

Creating the likelihood object...
obs = UnbinnedObs('/scratch/kocevski/457988/ft1_filtered_4FGL_J1728.0+1216_daily_bin1764.fits', '/scratch/kocevski/457988/ft2_4FGL_J1728.0+1216_daily_bin1764.fits', expMap='/scratch/kocevski/457988/expmap_696556801_696816001_4FGL_J1728.0+1216_daily_bin1764.fits', expCube='/scratch/kocevski/457988/ltcube_696556801_696816001_4FGL_J1728.0+1216_daily_bin1764.fits', irfs='P8R3_SOURCE_V2')
like = UnbinnedAnalysis(obs, '/scratch/kocevski/457988/Model_4FGL_J1728.0+1216_daily_bin1764.xml', optimizer='MINUIT')

Using source of interest name: '4FGL J1728.0+1216'

4FGL J1728.0+1216
   Spectrum: PowerLaw
270    Prefactor:  1.205e+00  0.000e+00  0.000e+00  1.000e+06 ( 1.000e-12)
271        Index:  2.455e+00  0.000e+00  0.000e+00  1.000e+01 (-1.000e+00) fixed
272        Scale:  1.003e+03  0.000e+00  3.000e+01  5.000e+05 ( 1.000e+00) fixed


Likelihood Fit Parameters:
Event file(s): /scratch/kocevski/457988/ft1_filtered_4FGL_J1728.0+1216_daily_bin1764.fits
Spacecraft file(s): /scratch/kocevski/457988/ft2_4FGL_J1728.0+1216_daily_bin1764.fits
Exposure map: /scratch/kocevski/457988/expmap_696556801_696816001_4FGL_J1728.0+1216_daily_bin1764.fits
Exposure cube: /scratch/kocevski/457988/ltcube_696556801_696816001_4FGL_J1728.0+1216_daily_bin1764.fits
IRFs: P8R3_SOURCE_V2
Source model file: /scratch/kocevski/457988/Model_4FGL_J1728.0+1216_daily_bin1764.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) = 11018.5394798

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

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

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'Prefactor '    2.6643       1.0000          .0000       .10000E+07
     2 'Prefactor '    11.954       1.0000          .0000       .10000E+07
     3 'Prefactor '    65.369       1.0000          .0000       .10000E+07
     4 'Prefactor '    .45652E-03   1.0000          .0000       .10000E+07
     5 'Prefactor '    .41159E-02   1.0000          .0000       .10000E+07
     6 'norm      '    1.2410       1.0000          .0000       .10000E+07
     7 'Prefactor '    20.821       1.0000          .0000       .10000E+07
     8 'norm      '    8.8887       1.0000          .0000       .10000E+07
     9 'Prefactor '    .65574E-03   1.0000          .0000       .10000E+07
    10 'Prefactor '    .27206E-06   1.0000          .0000       .10000E+07
    11 'norm      '    .31875E-02   1.0000          .0000       .10000E+07
    12 'norm      '    .17739E-05   1.0000          .0000       .10000E+07
    13 'norm      '    .12754       1.0000          .0000       .10000E+07
    14 'norm      '    .73315       1.0000          .0000       .10000E+07
    15 'Prefactor '    32.254       1.0000          .0000       .10000E+07
    16 'Normalizat'    1.5508       1.0000         .10000E-01   10.000    
    17 'Prefactor '    .90489       1.0000          .0000       10.000    
 **********
 **   15 **SET ERR    .5000    
 **********
 **********
 **   16 **SET GRAD    1.000    
 **********
 **********
 **   17 **MINIMIZE    .6020E+05   .2000E-04
 **********

 MIGRAD MINIMIZATION HAS CONVERGED.

 FCN=   11018.54     FROM MIGRAD    STATUS=CONVERGED    136 CALLS     1201 TOTAL
                     EDM=   .96E-09  STRATEGY=1  ERROR MATRIX UNCERTAINTY=  1.0%

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor     2.7089        5.7633       -.26815E-06   -.93965E-03
   2  Prefactor     12.189        22.532       -.11233E-06    .11171E-01
   3  Prefactor     66.928        72.692       -.57298E-06   -.14540E-01
   4  Prefactor      .0000        4.3713        .42948E-06** at limit **
   5  Prefactor     .18041E-07    8.5706       -.76461E-07** at limit **
   6  norm          1.2414        1.8870       -.44568E-07   -.66055E-03
   7  Prefactor     20.825        13.417        .93444E-07    .85925E-01
   8  norm          8.9108        9.0737        .99546E-07   -.73826E-02
   9  Prefactor     .26279E-06    57.568        .15857E-05** at limit **
  10  Prefactor      .0000        .89678        .42265E-07** at limit **
  11  norm          .25424E-07    9.0825        .12678E-06** at limit **
  12  norm           .0000        2.1586       -.79333E-07** at limit **
  13  norm          .55511E-10    22.467       -.18731E-06** at limit **
  14  norm          .73337        .73468       -.49410E-07   -.31463E-02
  15  Prefactor     32.481        8.5334        .47386E-07   -.20728    
  16  Normalizat    1.5494        .30664        .23773E-05   -.19203E-04
  17  Prefactor     .90497        .84784E-01   -.73472E-06   -.80595E-04
                               ERR DEF=  .500    
Final values: 
  Prefactor  = 2.70885
  Prefactor  = 12.189
  Prefactor  = 66.9282
  Prefactor  = 0
  Prefactor  = 1.80411e-08
  norm       = 1.24143
  Prefactor  = 20.825
  norm       = 8.91084
  Prefactor  = 2.6279e-07
  Prefactor  = 0
  norm       = 2.54241e-08
  norm       = 0
  norm       = 5.55112e-11
  norm       = 0.733369
  Prefactor  = 32.4808
  Normalizat = 1.54937
  Prefactor  = 0.904975
 **********
 **   18 **HESSE 
 **********

 FCN=   11018.54     FROM HESSE     STATUS=OK           257 CALLS     1458 TOTAL
                     EDM=   .17E-05    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  Prefactor     2.7089        5.7792        .62416E-03   -1.5675    
   2  Prefactor     12.189        22.506        .28948E-03   -1.5638    
   3  Prefactor     66.928        73.031        .12369E-03   -1.5544    
   4  Prefactor      .0000        4.3548        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   5  Prefactor     .18041E-07    8.5784        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   6  norm          1.2414        1.9271        .10061E-02   -1.5686    
   7  Prefactor     20.825        13.686        .21922E-03   -1.5617    
   8  norm          8.9108        9.0900        .33595E-03   -1.5648    
   9  Prefactor     .26279E-06    57.683        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  10  Prefactor      .0000        .90074        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  11  norm          .25424E-07    9.0721        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  12  norm           .0000        2.1606        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  13  norm          .55511E-10    22.457        .13242E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  14  norm          .73337        .73882        .58057E-03   -1.5691    
  15  Prefactor     32.481        32.980        .17610E-03   -1.5594    
  16  Normalizat    1.5494        .25907        .99266E-01   -.76400    
  17  Prefactor     .90497        .71344E-01    .45067E-01   -.95967    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 1.74171e-06
Minuit parameter uncertainties:
  1  5.77924
  2  22.5062
  3  73.0319
  4  2.00511e-05
  5  0.000787359
  6  1.92714
  7  13.6858
  8  9.08999
  9  0.00778654
  10  6.47955e-07
  11  0.00096078
  12  1.04928e-05
  13  5.6617e-05
  14  0.738817
  15  32.9805
  16  0.25929
  17  0.0713511
Done.

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

Extracting fit parameters...

4FGL J1728.0+1216
   Spectrum: PowerLaw
270    Prefactor:  0.000e+00  6.480e-07  0.000e+00  1.000e+06 ( 1.000e-12)
271        Index:  2.455e+00  0.000e+00  0.000e+00  1.000e+01 (-1.000e+00) fixed
272        Scale:  1.003e+03  0.000e+00  3.000e+01  5.000e+05 ( 1.000e+00) fixed

GAL_V02
   Spectrum: PowerLaw
599    Prefactor:  9.050e-01  7.135e-02  0.000e+00  1.000e+01 ( 1.000e+00)
600        Index:  0.000e+00  0.000e+00 -1.000e+00  1.000e+00 ( 1.000e+00) fixed
601        Scale:  1.000e+02  0.000e+00  5.000e+01  2.000e+02 ( 1.000e+00) fixed

EG_v02
   Spectrum: FileFunction
595   Normalization:  1.549e+00  2.593e-01  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Fixed Index): 0.00
Ra Dec: 262.020 12.276
Photon Flux Upper Limit: 8.51e-08 ph cm-2 s-1
Energy Flux Upper Limit: 6.60e-03 MeV cm-2 s-1

Saving results to:
/scratch/kocevski/457988/likelihoodResults_696556801_696816001_4FGL_J1728.0+1216_daily_bin1764.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) = 11018.537453
delta logL = -0.00229942347869

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

MINUIT Return Code (Free Index): 102
logL (Free Index) = 11018.5351599
delta logL = -6.35557626083e-06

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'Prefactor '    .85974E-05   1.0000          .0000       .10000E+07
     2 'Index     '    .92935       1.0000          .0000       10.000    
     3 'Normalizat'    1.5488       1.0000         .10000E-01   10.000    
     4 'Prefactor '    .90517       1.0000          .0000       10.000    
 **********
 **   15 **SET ERR    .5000    
 **********
 **********
 **   16 **SET GRAD    1.000    
 **********
 **********
 **   17 **MINIMIZE    .6020E+05   .2000E-04
 **********

 MIGRAD MINIMIZATION HAS CONVERGED.

 MIGRAD WILL VERIFY CONVERGENCE AND ERROR MATRIX.
  MNHESS FAILS AND WILL RETURN DIAGONAL MATRIX. 

 FCN=   11018.54     FROM MIGRAD    STATUS=CONVERGED     37 CALLS      243 TOTAL
                     EDM=   .58E-12  STRATEGY=1  ERROR MATRIX UNCERTAINTY=100.0%

  EXT PARAMETER                APPROXIMATE        STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor      .0000        1.2306        .42118E-03** at limit **
   2  Index         2.0646        1.7743       -.67861E-06     .0000    
   3  Normalizat    1.5494        1.0451        .81794E-05   -.52610E-05
   4  Prefactor     .90497        1.2497       -.11463E-05   -.23873E-04
                               ERR DEF=  .500    
Final values: 
  Prefactor  = 0
  Index      = 2.06459
  Normalizat = 1.54937
  Prefactor  = 0.904975
 **********
 **   18 **HESSE 
 **********
  MNHESS FAILS AND WILL RETURN DIAGONAL MATRIX. 

 FCN=   11018.54     FROM HESSE     STATUS=FAILED         9 CALLS      252 TOTAL
                     EDM=   .58E-12  STRATEGY=1  ERROR MATRIX UNCERTAINTY=100.0%

  EXT PARAMETER                APPROXIMATE     INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  Prefactor      .0000        1.2306        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   2  Index         .46217        1.8995       -.67861E-06   -.62745    
   3  Normalizat    1.5494        1.0451        .81794E-05   -.76400    
   4  Prefactor     .90497        1.2497       -.11463E-05   -.95967    
                               ERR DEF=  .500    
Minuit fit quality: 1   estimated distance: 5.81552e-13
Minuit parameter uncertainties:
  1  2.1497e-06
  2  1.83674
  3  1.06033
  4  1.29305
shell-init: error retrieving current directory: getcwd: cannot access parent directories: No such file or directory
rmdir: failed to remove `/scratch/kocevski/457988': 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): 101
logL (Free Index) = 11018.5351536
delta logL = 0.0

Extracting fit parameters...

4FGL J1728.0+1216
   Spectrum: PowerLaw
270    Prefactor:  0.000e+00  2.150e-06  0.000e+00  1.000e+06 ( 1.000e-12)
271        Index:  2.065e+00  1.837e+00  0.000e+00  1.000e+01 (-1.000e+00)
272        Scale:  1.003e+03  0.000e+00  3.000e+01  5.000e+05 ( 1.000e+00) fixed

GAL_V02
   Spectrum: PowerLaw
599    Prefactor:  9.050e-01  1.293e+00  0.000e+00  1.000e+01 ( 1.000e+00)
600        Index:  0.000e+00  0.000e+00 -1.000e+00  1.000e+00 ( 1.000e+00) fixed
601        Scale:  1.000e+02  0.000e+00  5.000e+01  2.000e+02 ( 1.000e+00) fixed

EG_v02
   Spectrum: FileFunction
595   Normalization:  1.549e+00  1.060e+00  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Free Index): 0.00
Ra Dec: 262.020 12.276

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/457988/cmap_HighResolution_696556801_696816001_4FGL_J1728.0+1216_daily_bin1764.png

Cleaning up...

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

Updating database...

UPDATE lightcurve_data_v2 SET energy_flux_upper_limit='6.60e-03', job_status='DONE', photon_flux_upper_limit='8.51e-08', time_completed='2023-01-31 01:44:02.492182', job_id='457988', GAL2='0.90', fit_tolerance='1e-08', EG2='1.55', EG='1.55', time_epoch_completed='1675158242.49', return_code2='101', ts='0.00', comment='SUCCESS', return_code='0', GAL='0.90', dlogl='0.00e+00', ts2='0.00', photon_index_error='0.00', photon_index='2.45' WHERE bin_id='1764' AND source_name='4FGL J1728.0+1216' AND cadence='daily';

Database successfully updated.


Analysis Complete.


Tue Jan 31 01:44:02 PST 2023


------------------------------------------------------------
Sender: LSF System <lsf@bullet0114>
Subject: Job 457988: <4FGL_J1728.0+1216_daily_bin1764> in cluster <slac> Done

Job <4FGL_J1728.0+1216_daily_bin1764> was submitted from host <rhel6-64e> by user <kocevski> in cluster <slac> at Tue Jan 31 01:30:21 2023
Job was executed on host(s) <bullet0114>, in queue <medium>, as user <kocevski> in cluster <slac> at Tue Jan 31 01:30:46 2023
</u/ki/kocevski> was used as the home directory.
</u/ki/kocevski> was used as the working directory.
Started at Tue Jan 31 01:30:46 2023
Terminated at Tue Jan 31 01:44:03 2023
Results reported at Tue Jan 31 01:44:03 2023

Your job looked like:

------------------------------------------------------------
# LSBATCH: User input
/nfs/farm/g/glast/g/LCRepository/Likelihood/Scripts/LikelihoodAnalysis.py 4FGL_J1728.0+1216_daily_bin1764 262.02 12.2756 696556801 696816001 irfs=P8R3_SOURCE_V2 zmax=90 ROI=12 association=4FGL_J1728.0+1216 fixedModel=True performFreeIndexFit=True freeVariableSources=True nuke=True repositoryJob=True verbose=False
------------------------------------------------------------

Successfully completed.

Resource usage summary:

    CPU time :                                   690.00 sec.
    Max Memory :                                 1257 MB
    Average Memory :                             316.32 MB
    Total Requested Memory :                     -
    Delta Memory :                               -
    Max Swap :                                   -
    Max Processes :                              5
    Max Threads :                                21
    Run time :                                   796 sec.
    Turnaround time :                            822 sec.

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

