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


Performing analysis on: 4FGL_J0116.0-1136_daily_bin1780
RA = 19.0006, Dec = -11.606
tmin = 700704001, tmax = 700963201
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='49072', job_status='RUN', time_executed='2023-03-20 00:06:36.691945', time_epoch_executed='1679295996.69' WHERE source_name='4FGL J0116.0-1136' and cadence='daily' and bin_id='1780'

Database successfully updated.
Done.

Creating custom output directory:
/scratch/kocevski/49072

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

Retrieving the FT1 file...

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

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

Retrieving 47 files...
Done.


Merging files...

Checksum keywords updated successfully.

Merged file saved to:
/scratch/kocevski/49072/ft1_4FGL_J0116.0-1136_daily_bin1780.fits


Retrieving the FT1 file...

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

Retrieving 47 files...
Done.


Merging files...

Merged file saved to:
/scratch/kocevski/49072/ft2_4FGL_J0116.0-1136_daily_bin1780.fits


Selecting the photons:
time -p gtselect infile=/scratch/kocevski/49072/ft1_4FGL_J0116.0-1136_daily_bin1780.fits outfile=/scratch/kocevski/49072/ft1_filteredMKT_4FGL_J0116.0-1136_daily_bin1780.fits ra=19.0006 dec=-11.606 rad=12.0 tmin=700704001.0 tmax=700963201.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 4.14
user 3.87
sys 0.22

Adding sun position to ft2 file:
/nfs/farm/g/glast/g/LCRepository/Repository/bin/sunpos /scratch/kocevski/49072/ft2_4FGL_J0116.0-1136_daily_bin1780.fits

Selecting the good time intervals:
time -p gtmktime scfile=/scratch/kocevski/49072/ft2_4FGL_J0116.0-1136_daily_bin1780.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/49072/ft1_filteredMKT_4FGL_J0116.0-1136_daily_bin1780.fits evtable="EVENTS" outfile="/scratch/kocevski/49072/ft1_filtered_4FGL_J0116.0-1136_daily_bin1780.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.60
user 0.33
sys 0.16

Number of photons that the gtmktime cut: 336

Generating the livetime cube:
time -p gtltcube evfile="/scratch/kocevski/49072/ft1_filtered_4FGL_J0116.0-1136_daily_bin1780.fits" evtable="EVENTS" scfile=/scratch/kocevski/49072/ft2_4FGL_J0116.0-1136_daily_bin1780.fits sctable="SC_DATA" outfile=/scratch/kocevski/49072/ltcube_700704001_700963201_4FGL_J0116.0-1136_daily_bin1780.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/49072/ft2_4FGL_J0116.0-1136_daily_bin1780.fits
.....................!
real 14.13
user 13.75
sys 0.35

Generating the exposure map:
time -p gtexpmap evfile=/scratch/kocevski/49072/ft1_filtered_4FGL_J0116.0-1136_daily_bin1780.fits evtable="EVENTS" scfile=/scratch/kocevski/49072/ft2_4FGL_J0116.0-1136_daily_bin1780.fits sctable="SC_DATA" expcube=/scratch/kocevski/49072/ltcube_700704001_700963201_4FGL_J0116.0-1136_daily_bin1780.fits outfile=/scratch/kocevski/49072/expmap_700704001_700963201_4FGL_J0116.0-1136_daily_bin1780.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/49072/ltcube_700704001_700963201_4FGL_J0116.0-1136_daily_bin1780.fits
.....................!
real 190.86
user 184.93
sys 5.27

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 183 point sources and 0 extended sources

Setting source of interest to:
4FGL J0116.0-1136 @ 19.0006 -11.606

Creating the counts map:
time -p gtbin evfile=/scratch/kocevski/49072/ft1_filtered_4FGL_J0116.0-1136_daily_bin1780.fits scfile=/scratch/kocevski/49072/ft2_4FGL_J0116.0-1136_daily_bin1780.fits outfile=/scratch/kocevski/49072/cmap_700704001_700963201_4FGL_J0116.0-1136_daily_bin1780.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=19.0006 yref=-11.606 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.36
sys 0.16

Creating the high resolution counts map:
time -p gtbin evfile=/scratch/kocevski/49072/ft1_filtered_4FGL_J0116.0-1136_daily_bin1780.fits scfile=/scratch/kocevski/49072/ft2_4FGL_J0116.0-1136_daily_bin1780.fits outfile=/scratch/kocevski/49072/cmap_HighResolution_700704001_700963201_4FGL_J0116.0-1136_daily_bin1780.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=19.0006 yref=-11.606 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/49072/ft1_filtered_4FGL_J0116.0-1136_daily_bin1780.fits evtable="EVENTS" scfile=/scratch/kocevski/49072/ft2_4FGL_J0116.0-1136_daily_bin1780.fits sctable="SC_DATA" srcmdl=/scratch/kocevski/49072/Model_4FGL_J0116.0-1136_daily_bin1780.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/49072/ft1_filtered_4FGL_J0116.0-1136_daily_bin1780.fits.....................!
real 43.20
user 41.83
sys 1.21

Creating the likelihood object...
obs = UnbinnedObs('/scratch/kocevski/49072/ft1_filtered_4FGL_J0116.0-1136_daily_bin1780.fits', '/scratch/kocevski/49072/ft2_4FGL_J0116.0-1136_daily_bin1780.fits', expMap='/scratch/kocevski/49072/expmap_700704001_700963201_4FGL_J0116.0-1136_daily_bin1780.fits', expCube='/scratch/kocevski/49072/ltcube_700704001_700963201_4FGL_J0116.0-1136_daily_bin1780.fits', irfs='P8R3_SOURCE_V2')
like = UnbinnedAnalysis(obs, '/scratch/kocevski/49072/Model_4FGL_J0116.0-1136_daily_bin1780.xml', optimizer='MINUIT')

Using source of interest name: '4FGL J0116.0-1136'

4FGL J0116.0-1136
   Spectrum: PowerLaw
282    Prefactor:  2.100e+00  0.000e+00  0.000e+00  1.000e+06 ( 1.000e-12)
283        Index:  2.362e+00  0.000e+00  0.000e+00  1.000e+01 (-1.000e+00) fixed
284        Scale:  7.757e+02  0.000e+00  3.000e+01  5.000e+05 ( 1.000e+00) fixed


Likelihood Fit Parameters:
Event file(s): /scratch/kocevski/49072/ft1_filtered_4FGL_J0116.0-1136_daily_bin1780.fits
Spacecraft file(s): /scratch/kocevski/49072/ft2_4FGL_J0116.0-1136_daily_bin1780.fits
Exposure map: /scratch/kocevski/49072/expmap_700704001_700963201_4FGL_J0116.0-1136_daily_bin1780.fits
Exposure cube: /scratch/kocevski/49072/ltcube_700704001_700963201_4FGL_J0116.0-1136_daily_bin1780.fits
IRFs: P8R3_SOURCE_V2
Source model file: /scratch/kocevski/49072/Model_4FGL_J0116.0-1136_daily_bin1780.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) = 3890.62224863

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

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

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'Prefactor '    4.1390       1.0000          .0000       .10000E+07
     2 'norm      '    1.0483       1.0000          .0000       .10000E+07
     3 'norm      '    14.284       1.0000          .0000       .10000E+07
     4 'Prefactor '    38.779       1.0000          .0000       .10000E+07
     5 'Prefactor '    .87558E-06   1.0000          .0000       .10000E+07
     6 'norm      '    .20511E-02   1.0000          .0000       .10000E+07
     7 'Prefactor '    45.474       1.0000          .0000       .10000E+07
     8 'Prefactor '    4.3553       1.0000          .0000       .10000E+07
     9 'Prefactor '    .73180E-02   1.0000          .0000       .10000E+07
    10 'Prefactor '    .43027E-06   1.0000          .0000       .10000E+07
    11 'Prefactor '    .22899E-01   1.0000          .0000       .10000E+07
    12 'norm      '    .35472E-07   1.0000          .0000       .10000E+07
    13 'Prefactor '    .94623E-02   1.0000          .0000       .10000E+07
    14 'Prefactor '    .37397E-05   1.0000          .0000       .10000E+07
    15 'norm      '    .79388E-02   1.0000          .0000       .10000E+07
    16 'norm      '    .32255E-05   1.0000          .0000       .10000E+07
    17 'norm      '    25.905       1.0000          .0000       .10000E+07
    18 'Normalizat'    1.1813       1.0000         .10000E-01   10.000    
    19 'Prefactor '    .95153       1.0000          .0000       10.000    
 **********
 **   15 **SET ERR    .5000    
 **********
 **********
 **   16 **SET GRAD    1.000    
 **********
 **********
 **   17 **MINIMIZE    .5860E+05   .2000E-04
 **********

 MIGRAD MINIMIZATION HAS CONVERGED.

 FCN=   3890.593     FROM MIGRAD    STATUS=CONVERGED    152 CALLS     1165 TOTAL
                     EDM=   .54E-09  STRATEGY=1  ERROR MATRIX UNCERTAINTY=  2.3%

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor     4.1638        4.0425       -.49019E-06   -.13010E-02
   2  norm          1.0404        4.2998       -.64201E-06   -.50229E-03
   3  norm          14.559        11.876       -.53885E-06   -.10012E-01
   4  Prefactor     39.320        15.106       -.13574E-05    .11833    
   5  Prefactor     .90605E-06    10.689       -.21544E-06** at limit **
   6  norm          .64887E-06    14.836       -.88165E-07** at limit **
   7  Prefactor     42.741        48.502        .42717E-06    .53223E-02
   8  Prefactor     4.3995        11.594        .30307E-05    .20949E-01
   9  Prefactor     .18374E-07    12.030       -.21140E-05** at limit **
  10  Prefactor     .55511E-10    8.2114        .81957E-06** at limit **
  11  Prefactor     .65554E-05    152.35       -.10247E-04** at limit **
  12  norm           .0000        1.4385        .19110E-06** at limit **
  13  Prefactor     .51031E-06    6.7715        .37387E-06** at limit **
  14  Prefactor      .0000        2.1994       -.10821E-06** at limit **
  15  norm          .84044E-06    21.654        .82289E-06** at limit **
  16  norm           .0000        1.9442        .90444E-07** at limit **
  17  norm          25.941        11.034        .31435E-06    .62521E-02
  18  Normalizat    1.1813        .25899       -.80894E-05   -.85430E-04
  19  Prefactor     .95169        .25318        .97070E-05   -.24855E-04
                               ERR DEF=  .500    
Final values: 
  Prefactor  = 4.16375
  norm       = 1.04036
  norm       = 14.5589
  Prefactor  = 39.3196
  Prefactor  = 9.06053e-07
  norm       = 6.4887e-07
  Prefactor  = 42.741
  Prefactor  = 4.39952
  Prefactor  = 1.83742e-08
  Prefactor  = 5.55112e-11
  Prefactor  = 6.55542e-06
  norm       = 0
  Prefactor  = 5.10314e-07
  Prefactor  = 0
  norm       = 8.40439e-07
  norm       = 0
  norm       = 25.9407
  Normalizat = 1.18127
  Prefactor  = 0.951694
 **********
 **   18 **HESSE 
 **********

 FCN=   3890.593     FROM HESSE     STATUS=OK           304 CALLS     1469 TOTAL
                     EDM=   .54E-06    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  Prefactor     4.1638        4.0434        .49521E-03   -1.5667    
   2  norm          1.0404        4.4680        .12113E-02   -1.5688    
   3  norm          14.559        11.926        .26475E-03   -1.5632    
   4  Prefactor     39.320        31.078        .16060E-03   -1.5583    
   5  Prefactor     .90605E-06    21.008        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   6  norm          .64887E-06    18.497        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   7  Prefactor     42.741        48.735        .14830E-03   -1.5577    
   8  Prefactor     4.3995        11.813        .48241E-03   -1.5666    
   9  Prefactor     .18374E-07    28.967        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  10  Prefactor     .55511E-10    8.2370        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  11  Prefactor     .65554E-05    163.32        .16853E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  12  norm           .0000        1.4339        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  13  Prefactor     .51031E-06    21.274        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  14  Prefactor      .0000        2.1983        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  15  norm          .84044E-06    24.971        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  16  norm           .0000        1.9029        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  17  norm          25.941        11.040        .19651E-03   -1.5606    
  18  Normalizat    1.1813        .22604        .57016E-01   -.87183    
  19  Prefactor     .95169        .21971        .45658E-01   -.94357    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 5.42388e-07
Minuit parameter uncertainties:
  1  4.04338
  2  4.31203
  3  11.9264
  4  31.0782
  5  0.00872558
  6  0.00692892
  7  48.735
  8  11.8131
  9  0.00145991
  10  3.36173e-05
  11  0.065442
  12  5.34293e-06
  13  0.00658966
  14  1.5116e-05
  15  0.0091623
  16  4.52756e-06
  17  11.0397
  18  0.226229
  19  0.219915
Done.

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

Extracting fit parameters...

4FGL J0116.0-1136
   Spectrum: PowerLaw
282    Prefactor:  1.837e-08  1.460e-03  0.000e+00  1.000e+06 ( 1.000e-12)
283        Index:  2.362e+00  0.000e+00  0.000e+00  1.000e+01 (-1.000e+00) fixed
284        Scale:  7.757e+02  0.000e+00  3.000e+01  5.000e+05 ( 1.000e+00) fixed

GAL_V02
   Spectrum: PowerLaw
583    Prefactor:  9.517e-01  2.199e-01  0.000e+00  1.000e+01 ( 1.000e+00)
584        Index:  0.000e+00  0.000e+00 -1.000e+00  1.000e+00 ( 1.000e+00) fixed
585        Scale:  1.000e+02  0.000e+00  5.000e+01  2.000e+02 ( 1.000e+00) fixed

EG_v02
   Spectrum: FileFunction
582   Normalization:  1.181e+00  2.262e-01  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Fixed Index): -0.00
Ra Dec: 19.001 -11.606
Photon Flux Upper Limit: 1.38e-07 ph cm-2 s-1
Energy Flux Upper Limit: 1.06e-02 MeV cm-2 s-1

Saving results to:
/scratch/kocevski/49072/likelihoodResults_700704001_700963201_4FGL_J0116.0-1136_daily_bin1780.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) = 3889.57873173
delta logL = 1.01465026699

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

MINUIT Return Code (Free Index): 0
logL (Free Index) = 3889.57411068
delta logL = 1.01927131228

Fit tolerance = 1e-08

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

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

 MIGRAD MINIMIZATION HAS CONVERGED.

 MIGRAD WILL VERIFY CONVERGENCE AND ERROR MATRIX.

 FCN=   3889.574     FROM MIGRAD    STATUS=CONVERGED     52 CALLS      263 TOTAL
                     EDM=   .11E-08    STRATEGY= 1      ERR MATRIX NOT POS-DEF

  EXT PARAMETER                APPROXIMATE        STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor     .76550        11.094        .55403E-03    .45780E-02
   2  Index         4.2810        3.3870        .11715        .84350E-04
   3  Normalizat    1.0430        .72172E-01    .60026E-01   -.33610E-05
   4  Prefactor     1.0198        .69448E-01    .42164E-01    .93717E-05
                               ERR DEF=  .500    
Final values: 
  Prefactor  = 0.765503
  Index      = 4.281
  Normalizat = 1.04302
  Prefactor  = 1.01984
 **********
 **   18 **HESSE 
 **********

 FCN=   3889.574     FROM HESSE     STATUS=OK            33 CALLS      296 TOTAL
                     EDM=   .63E-07    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  Prefactor     .76550        6.5435        .39559E-05   -1.5690    
   2  Index         4.2810        3.0895        .44749E-02   -.14430    
   3  Normalizat    1.0430        .27147        .26546E-03   -.91603    
   4  Prefactor     1.0198        .25421        .25933E-03   -.92071    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 6.26122e-08
Minuit parameter uncertainties:
  1  4.47618
  2  3.33669
  3  0.271827
  4  0.254513
shell-init: error retrieving current directory: getcwd: cannot access parent directories: No such file or directory
rmdir: failed to remove `/scratch/kocevski/49072': 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) = 3889.57411006
delta logL = 1.01927193163

Extracting fit parameters...

4FGL J0116.0-1136
   Spectrum: PowerLaw
282    Prefactor:  7.655e-01  4.476e+00  0.000e+00  1.000e+06 ( 1.000e-12)
283        Index:  4.281e+00  3.337e+00  0.000e+00  1.000e+01 (-1.000e+00)
284        Scale:  7.757e+02  0.000e+00  3.000e+01  5.000e+05 ( 1.000e+00) fixed

GAL_V02
   Spectrum: PowerLaw
583    Prefactor:  1.020e+00  2.545e-01  0.000e+00  1.000e+01 ( 1.000e+00)
584        Index:  0.000e+00  0.000e+00 -1.000e+00  1.000e+00 ( 1.000e+00) fixed
585        Scale:  1.000e+02  0.000e+00  5.000e+01  2.000e+02 ( 1.000e+00) fixed

EG_v02
   Spectrum: FileFunction
582   Normalization:  1.043e+00  2.718e-01  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Free Index): 2.22
Ra Dec: 19.001 -11.606
Photon Index (Free Index): 4.28 +/- 3.34
Photon Flux (Free Index): 1.51e-07 +/- 1.21e-07
Energy Flux (Free Index): 2.16e-05 +/- 1.96e-05

Creating a high resolution counts map...
INFO: Auto-setting vmin to  0.000e+00 [aplpy.core]
INFO: Auto-setting vmax to  0.000e+00 [aplpy.core]
Saving /scratch/kocevski/49072/cmap_HighResolution_700704001_700963201_4FGL_J0116.0-1136_daily_bin1780.png

Cleaning up...

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

Updating database...

UPDATE lightcurve_data_v2 SET energy_flux_upper_limit='1.06e-02', comment='SUCCESS', energy_flux2='2.16e-05', dlogl='1.02e+00', photon_flux2='1.51e-07', job_status='DONE', time_completed='2023-03-20 00:14:05.336789', photon_index_error2='3.34', photon_index2='4.28', ts='-0.00', fit_tolerance='1e-08', GAL='0.95', photon_index_error='0.00', photon_flux_upper_limit='1.38e-07', energy_flux_error2='1.96e-05', EG='1.18', time_epoch_completed='1679296445.34', return_code='0', job_id='49072', GAL2='1.02', EG2='1.04', return_code2='0', photon_flux_error2='1.21e-07', ts2='2.22', photon_index='2.36' WHERE bin_id='1780' AND source_name='4FGL J0116.0-1136' AND cadence='daily';

Database successfully updated.


Analysis Complete.


Mon Mar 20 00:14:05 PDT 2023


------------------------------------------------------------
Sender: LSF System <lsf@bullet0056>
Subject: Job 49072: <4FGL_J0116.0-1136_daily_bin1780> in cluster <slac> Done

Job <4FGL_J0116.0-1136_daily_bin1780> was submitted from host <rhel6-64q> by user <kocevski> in cluster <slac> at Mon Mar 20 00:04:58 2023
Job was executed on host(s) <bullet0056>, in queue <medium>, as user <kocevski> in cluster <slac> at Mon Mar 20 00:05:00 2023
</u/ki/kocevski> was used as the home directory.
</u/ki/kocevski> was used as the working directory.
Started at Mon Mar 20 00:05:00 2023
Terminated at Mon Mar 20 00:14:05 2023
Results reported at Mon Mar 20 00:14:05 2023

Your job looked like:

------------------------------------------------------------
# LSBATCH: User input
/nfs/farm/g/glast/g/LCRepository/Likelihood/Scripts/LikelihoodAnalysis.py 4FGL_J0116.0-1136_daily_bin1780 19.0006 -11.606 700704001 700963201 irfs=P8R3_SOURCE_V2 zmax=90 ROI=12 association=4FGL_J0116.0-1136 fixedModel=True performFreeIndexFit=True freeVariableSources=True nuke=True repositoryJob=True verbose=False
------------------------------------------------------------

Successfully completed.

Resource usage summary:

    CPU time :                                   450.02 sec.
    Max Memory :                                 1257 MB
    Average Memory :                             356.37 MB
    Total Requested Memory :                     -
    Delta Memory :                               -
    Max Swap :                                   -
    Max Processes :                              5
    Max Threads :                                21
    Run time :                                   545 sec.
    Turnaround time :                            547 sec.

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

