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


Performing analysis on: 4FGL_J1728.0+1216_daily_bin1751
RA = 262.02, Dec = 12.2756
tmin = 693187201, tmax = 693446401
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='82853', job_status='RUN', time_executed='2022-12-23 01:04:11.623677', time_epoch_executed='1671786251.62' WHERE source_name='4FGL J1728.0+1216' and cadence='daily' and bin_id='1751'

Database successfully updated.
Done.

Creating custom output directory:
/scratch/kocevski/82853

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

Retrieving the FT1 file...

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

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

Retrieving 48 files...
Done.


Merging files...

Checksum keywords updated successfully.

Merged file saved to:
/scratch/kocevski/82853/ft1_4FGL_J1728.0+1216_daily_bin1751.fits


Retrieving the FT1 file...

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

Retrieving 48 files...
Done.


Merging files...

Merged file saved to:
/scratch/kocevski/82853/ft2_4FGL_J1728.0+1216_daily_bin1751.fits


Selecting the photons:
time -p gtselect infile=/scratch/kocevski/82853/ft1_4FGL_J1728.0+1216_daily_bin1751.fits outfile=/scratch/kocevski/82853/ft1_filteredMKT_4FGL_J1728.0+1216_daily_bin1751.fits ra=262.02 dec=12.2756 rad=12.0 tmin=693187201.0 tmax=693446401.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.46
sys 0.19

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

Selecting the good time intervals:
time -p gtmktime scfile=/scratch/kocevski/82853/ft2_4FGL_J1728.0+1216_daily_bin1751.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/82853/ft1_filteredMKT_4FGL_J1728.0+1216_daily_bin1751.fits evtable="EVENTS" outfile="/scratch/kocevski/82853/ft1_filtered_4FGL_J1728.0+1216_daily_bin1751.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: 1095

Generating the livetime cube:
time -p gtltcube evfile="/scratch/kocevski/82853/ft1_filtered_4FGL_J1728.0+1216_daily_bin1751.fits" evtable="EVENTS" scfile=/scratch/kocevski/82853/ft2_4FGL_J1728.0+1216_daily_bin1751.fits sctable="SC_DATA" outfile=/scratch/kocevski/82853/ltcube_693187201_693446401_4FGL_J1728.0+1216_daily_bin1751.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/82853/ft2_4FGL_J1728.0+1216_daily_bin1751.fits
.....................!
real 12.20
user 11.88
sys 0.30

Generating the exposure map:
time -p gtexpmap evfile=/scratch/kocevski/82853/ft1_filtered_4FGL_J1728.0+1216_daily_bin1751.fits evtable="EVENTS" scfile=/scratch/kocevski/82853/ft2_4FGL_J1728.0+1216_daily_bin1751.fits sctable="SC_DATA" expcube=/scratch/kocevski/82853/ltcube_693187201_693446401_4FGL_J1728.0+1216_daily_bin1751.fits outfile=/scratch/kocevski/82853/expmap_693187201_693446401_4FGL_J1728.0+1216_daily_bin1751.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/82853/ltcube_693187201_693446401_4FGL_J1728.0+1216_daily_bin1751.fits
.....................!
real 192.07
user 185.59
sys 6.16

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/82853/ft1_filtered_4FGL_J1728.0+1216_daily_bin1751.fits scfile=/scratch/kocevski/82853/ft2_4FGL_J1728.0+1216_daily_bin1751.fits outfile=/scratch/kocevski/82853/cmap_693187201_693446401_4FGL_J1728.0+1216_daily_bin1751.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.55
user 0.38
sys 0.16

Creating the high resolution counts map:
time -p gtbin evfile=/scratch/kocevski/82853/ft1_filtered_4FGL_J1728.0+1216_daily_bin1751.fits scfile=/scratch/kocevski/82853/ft2_4FGL_J1728.0+1216_daily_bin1751.fits outfile=/scratch/kocevski/82853/cmap_HighResolution_693187201_693446401_4FGL_J1728.0+1216_daily_bin1751.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.55
user 0.38
sys 0.16

Computing the diffuse response:
time -p gtdiffrsp evfile=/scratch/kocevski/82853/ft1_filtered_4FGL_J1728.0+1216_daily_bin1751.fits evtable="EVENTS" scfile=/scratch/kocevski/82853/ft2_4FGL_J1728.0+1216_daily_bin1751.fits sctable="SC_DATA" srcmdl=/scratch/kocevski/82853/Model_4FGL_J1728.0+1216_daily_bin1751.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/82853/ft1_filtered_4FGL_J1728.0+1216_daily_bin1751.fits.....................!
real 95.03
user 93.56
sys 1.30

Creating the likelihood object...
obs = UnbinnedObs('/scratch/kocevski/82853/ft1_filtered_4FGL_J1728.0+1216_daily_bin1751.fits', '/scratch/kocevski/82853/ft2_4FGL_J1728.0+1216_daily_bin1751.fits', expMap='/scratch/kocevski/82853/expmap_693187201_693446401_4FGL_J1728.0+1216_daily_bin1751.fits', expCube='/scratch/kocevski/82853/ltcube_693187201_693446401_4FGL_J1728.0+1216_daily_bin1751.fits', irfs='P8R3_SOURCE_V2')
like = UnbinnedAnalysis(obs, '/scratch/kocevski/82853/Model_4FGL_J1728.0+1216_daily_bin1751.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/82853/ft1_filtered_4FGL_J1728.0+1216_daily_bin1751.fits
Spacecraft file(s): /scratch/kocevski/82853/ft2_4FGL_J1728.0+1216_daily_bin1751.fits
Exposure map: /scratch/kocevski/82853/expmap_693187201_693446401_4FGL_J1728.0+1216_daily_bin1751.fits
Exposure cube: /scratch/kocevski/82853/ltcube_693187201_693446401_4FGL_J1728.0+1216_daily_bin1751.fits
IRFs: P8R3_SOURCE_V2
Source model file: /scratch/kocevski/82853/Model_4FGL_J1728.0+1216_daily_bin1751.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) = 11239.2770858

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

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

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'Prefactor '    9.0501       1.0000          .0000       .10000E+07
     2 'Prefactor '    .25459E-04   1.0000          .0000       .10000E+07
     3 'Prefactor '    .81194E-03   1.0000          .0000       .10000E+07
     4 'Prefactor '    7.8162       1.0000          .0000       .10000E+07
     5 'Prefactor '    .15737E-04   1.0000          .0000       .10000E+07
     6 'norm      '    .45020E-07   1.0000          .0000       .10000E+07
     7 'Prefactor '    11.584       1.0000          .0000       .10000E+07
     8 'norm      '    .92230E-02   1.0000          .0000       .10000E+07
     9 'Prefactor '    37.353       1.0000          .0000       .10000E+07
    10 'Prefactor '    .31756E-05   1.0000          .0000       .10000E+07
    11 'norm      '    7.2886       1.0000          .0000       .10000E+07
    12 'norm      '    .31071E-03   1.0000          .0000       .10000E+07
    13 'norm      '    8.1200       1.0000          .0000       .10000E+07
    14 'norm      '    1.1919       1.0000          .0000       .10000E+07
    15 'Prefactor '    14.587       1.0000          .0000       .10000E+07
    16 'Normalizat'    .52508       1.0000         .10000E-01   10.000    
    17 'Prefactor '    1.1978       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=   11239.17     FROM MIGRAD    STATUS=CONVERGED    150 CALLS     1232 TOTAL
                     EDM=   .15E-08  STRATEGY=1  ERROR MATRIX UNCERTAINTY=  3.7%

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor     9.1657        6.2336        .23779E-06    .17510E-02
   2  Prefactor     .14988E-08    4.8483       -.36826E-07** at limit **
   3  Prefactor     .34972E-07    15.668        .15539E-06** at limit **
   4  Prefactor     7.8450        7.3131       -.16685E-09   -.92214E-03
   5  Prefactor     .55511E-10    2.4816        .21660E-06** at limit **
   6  norm           .0000        .70577        .44341E-07** at limit **
   7  Prefactor     11.383        12.979        .21030E-06    .21869E-01
   8  norm          .12425E-05    37.414       -.50005E-07** at limit **
   9  Prefactor     41.830        72.894       -.48634E-07   -.37881E-01
  10  Prefactor      .0000        2.1587       -.67186E-07** at limit **
  11  norm          7.1769        11.503       -.79846E-06   -.55975E-03
  12  norm          .56161E-05    43.351       -.24665E-05** at limit **
  13  norm          9.0396        24.828       -.70574E-06    .10015    
  14  norm          1.1931        .82889       -.11685E-07   -.63169E-03
  15  Prefactor     14.758        20.454        .24562E-07   -.12032    
  16  Normalizat    .52331        .28731       -.19893E-04    .57024E-05
  17  Prefactor     1.1976        .87121E-01    .39023E-05    .12819E-03
                               ERR DEF=  .500    
Final values: 
  Prefactor  = 9.16565
  Prefactor  = 1.4988e-09
  Prefactor  = 3.4972e-08
  Prefactor  = 7.84498
  Prefactor  = 5.55112e-11
  norm       = 0
  Prefactor  = 11.383
  norm       = 1.24245e-06
  Prefactor  = 41.8297
  Prefactor  = 0
  norm       = 7.17688
  norm       = 5.61612e-06
  norm       = 9.03962
  norm       = 1.19315
  Prefactor  = 14.7577
  Normalizat = 0.523313
  Prefactor  = 1.19764
 **********
 **   18 **HESSE 
 **********

 FCN=   11239.17     FROM HESSE     STATUS=OK           265 CALLS     1497 TOTAL
                     EDM=   .46E-05    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  Prefactor     9.1657        6.2542        .33292E-03   -1.5647    
   2  Prefactor     .14988E-08    4.8551        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   3  Prefactor     .34972E-07    15.706        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   4  Prefactor     7.8450        7.3446        .35843E-03   -1.5652    
   5  Prefactor     .55511E-10    2.5138        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   6  norm           .0000        .70670        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   7  Prefactor     11.383        13.040        .29409E-03   -1.5640    
   8  norm          .12425E-05    37.278        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   9  Prefactor     41.830        74.549        .16364E-03   -1.5579    
  10  Prefactor      .0000        2.1411        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  11  norm          7.1769        11.555        .37129E-03   -1.5654    
  12  norm          .56161E-05    3.0244        .62508E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  13  norm          9.0396        95.570        .35160E-03   -1.5648    
  14  norm          1.1931        .84304        .10425E-02   -1.5686    
  15  Prefactor     14.758        21.521        .26198E-03   -1.5631    
  16  Normalizat    .52331        .30041        .15313       -1.1135    
  17  Prefactor     1.1976        .89032E-01    .34683E-01   -.86404    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 4.5555e-06
Minuit parameter uncertainties:
  1  6.25424
  2  0.000170936
  3  0.00148268
  4  7.34457
  5  2.28338e-05
  6  5.9193e-07
  7  13.0399
  8  0.0136112
  9  74.5506
  10  8.46683e-07
  11  11.5546
  12  0.00824264
  13  58.7861
  14  0.843036
  15  21.5208
  16  0.30135
  17  0.0890431
Done.

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

Extracting fit parameters...

4FGL J1728.0+1216
   Spectrum: PowerLaw
270    Prefactor:  0.000e+00  8.467e-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:  1.198e+00  8.904e-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:  5.233e-01  3.013e-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: 1.07e-07 ph cm-2 s-1
Energy Flux Upper Limit: 8.32e-03 MeV cm-2 s-1

Saving results to:
/scratch/kocevski/82853/likelihoodResults_693187201_693446401_4FGL_J1728.0+1216_daily_bin1751.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) = 11239.1772595
delta logL = -0.00251952325561

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

MINUIT Return Code (Free Index): 0
logL (Free Index) = 11239.1403375
delta logL = 0.0344025558516

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'Prefactor '    .19901       1.0000          .0000       .10000E+07
     2 'Index     '    1.0385       1.0000          .0000       10.000    
     3 'Normalizat'    .52334       1.0000         .10000E-01   10.000    
     4 'Prefactor '    1.1972       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.

 FCN=   11239.14     FROM MIGRAD    STATUS=CONVERGED     53 CALLS      267 TOTAL
                     EDM=   .33E-08    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor     .19976        .77129        .45919E-02** at limit **
   2  Index         1.0394        .91992        .40633       -.15516E-03
   3  Normalizat    .52342        .28943        .15311       -.23707E-03
   4  Prefactor     1.1971        .87386E-01    .34698E-01   -.17804E-02
                               ERR DEF=  .500    
Final values: 
  Prefactor  = 0.199757
  Index      = 1.03936
  Normalizat = 0.523421
  Prefactor  = 1.19714
 **********
 **   18 **HESSE 
 **********

 FCN=   11239.14     FROM HESSE     STATUS=OK            33 CALLS      300 TOTAL
                     EDM=   .80E-09    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  Prefactor     .19976        1.3278        .15845E-03   -1.5699    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   2  Index         1.0394        1.3597        .28133E-01   -.91429    
   3  Normalizat    .52342        .28160        .67902E-03   -1.1134    
   4  Prefactor     1.1971        .85343E-01    .13891E-03   -.86419    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 8.01392e-10
Minuit parameter uncertainties:
  1  1.03001
  2  1.40928
  3  0.282369
  4  0.0853532
shell-init: error retrieving current directory: getcwd: cannot access parent directories: No such file or directory
rmdir: failed to remove `/scratch/kocevski/82853': 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) = 11239.1403371
delta logL = 0.0344028694381

Extracting fit parameters...

4FGL J1728.0+1216
   Spectrum: PowerLaw
270    Prefactor:  1.998e-01  1.030e+00  0.000e+00  1.000e+06 ( 1.000e-12)
271        Index:  1.039e+00  1.409e+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:  1.197e+00  8.535e-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:  5.234e-01  2.824e-01  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/82853/cmap_HighResolution_693187201_693446401_4FGL_J1728.0+1216_daily_bin1751.png

Cleaning up...

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

Updating database...

UPDATE lightcurve_data_v2 SET energy_flux_upper_limit='8.32e-03', job_status='DONE', photon_flux_upper_limit='1.07e-07', time_completed='2022-12-23 01:15:48.891442', job_id='82853', GAL2='1.20', fit_tolerance='1e-08', EG2='0.52', EG='0.52', time_epoch_completed='1671786948.89', return_code2='0', ts='0.00', comment='SUCCESS', return_code='0', GAL='1.20', dlogl='3.44e-02', ts2='0.07', photon_index_error='0.00', photon_index='2.45' WHERE bin_id='1751' AND source_name='4FGL J1728.0+1216' AND cadence='daily';

Database successfully updated.


Analysis Complete.


Fri Dec 23 01:15:48 PST 2022


------------------------------------------------------------
Sender: LSF System <lsf@bullet0255>
Subject: Job 82853: <4FGL_J1728.0+1216_daily_bin1751> in cluster <slac> Done

Job <4FGL_J1728.0+1216_daily_bin1751> was submitted from host <rhel6-64p> by user <kocevski> in cluster <slac> at Fri Dec 23 01:00:20 2022
Job was executed on host(s) <bullet0255>, in queue <medium>, as user <kocevski> in cluster <slac> at Fri Dec 23 01:00:20 2022
</u/ki/kocevski> was used as the home directory.
</u/ki/kocevski> was used as the working directory.
Started at Fri Dec 23 01:00:20 2022
Terminated at Fri Dec 23 01:15:49 2022
Results reported at Fri Dec 23 01:15:49 2022

Your job looked like:

------------------------------------------------------------
# LSBATCH: User input
/nfs/farm/g/glast/g/LCRepository/Likelihood/Scripts/LikelihoodAnalysis.py 4FGL_J1728.0+1216_daily_bin1751 262.02 12.2756 693187201 693446401 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 :                                   699.47 sec.
    Max Memory :                                 1094 MB
    Average Memory :                             280.38 MB
    Total Requested Memory :                     -
    Delta Memory :                               -
    Max Swap :                                   -
    Max Processes :                              5
    Max Threads :                                21
    Run time :                                   929 sec.
    Turnaround time :                            929 sec.

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

