/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 9 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 make4FGLxml version 01r04.
The default diffuse model files and names are for pass 8 and 4FGL and assume you have v11r5p3 of the Fermi Science Tools or higher.

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


Performing analysis on: 4FGL_J0111.5-2546_daily_bin1025
RA = 17.8966, Dec = -25.7778
tmin = 505008001, tmax = 505267201
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='382069', job_status='RUN', time_executed='2021-08-13 14:23:11.439024', time_epoch_executed='1628889791.44' WHERE source_name='4FGL J0111.5-2546' and cadence='daily' and bin_id='1025'

Database successfully updated.
Done.

Creating custom output directory:
/scratch/kocevski/382069

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

Retrieving the FT1 file...

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

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

Retrieving 46 files...
Done.


Merging files...

Checksum keywords updated successfully.

Merged file saved to:
/scratch/kocevski/382069/ft1_4FGL_J0111.5-2546_daily_bin1025.fits


Retrieving the FT1 file...

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

Retrieving 46 files...
Done.


Merging files...

Merged file saved to:
/scratch/kocevski/382069/ft2_4FGL_J0111.5-2546_daily_bin1025.fits


Selecting the photons:
time -p gtselect infile=/scratch/kocevski/382069/ft1_4FGL_J0111.5-2546_daily_bin1025.fits outfile=/scratch/kocevski/382069/ft1_filteredMKT_4FGL_J0111.5-2546_daily_bin1025.fits ra=17.8966 dec=-25.7778 rad=12.0 tmin=505008001.0 tmax=505267201.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 8.21
user 4.29
sys 3.76

Adding sun position to ft2 file:
/nfs/farm/g/glast/g/LCRepository/Repository/bin/sunpos /scratch/kocevski/382069/ft2_4FGL_J0111.5-2546_daily_bin1025.fits

Selecting the good time intervals:
time -p gtmktime scfile=/scratch/kocevski/382069/ft2_4FGL_J0111.5-2546_daily_bin1025.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/382069/ft1_filteredMKT_4FGL_J0111.5-2546_daily_bin1025.fits evtable="EVENTS" outfile="/scratch/kocevski/382069/ft1_filtered_4FGL_J0111.5-2546_daily_bin1025.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 4.04
user 0.33
sys 3.67

Generating the livetime cube:
time -p gtltcube evfile="/scratch/kocevski/382069/ft1_filtered_4FGL_J0111.5-2546_daily_bin1025.fits" evtable="EVENTS" scfile=/scratch/kocevski/382069/ft2_4FGL_J0111.5-2546_daily_bin1025.fits sctable="SC_DATA" outfile=/scratch/kocevski/382069/ltcube_505008001_505267201_4FGL_J0111.5-2546_daily_bin1025.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/382069/ft2_4FGL_J0111.5-2546_daily_bin1025.fits
.....................!
real 16.87
user 12.53
sys 4.24

Generating the exposure map:
time -p gtexpmap evfile=/scratch/kocevski/382069/ft1_filtered_4FGL_J0111.5-2546_daily_bin1025.fits evtable="EVENTS" scfile=/scratch/kocevski/382069/ft2_4FGL_J0111.5-2546_daily_bin1025.fits sctable="SC_DATA" expcube=/scratch/kocevski/382069/ltcube_505008001_505267201_4FGL_J0111.5-2546_daily_bin1025.fits outfile=/scratch/kocevski/382069/expmap_505008001_505267201_4FGL_J0111.5-2546_daily_bin1025.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/382069/ltcube_505008001_505267201_4FGL_J0111.5-2546_daily_bin1025.fits
.....................!
real 196.00
user 185.07
sys 9.80

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

Setting source of interest to:
4FGL J0111.5-2546 @ 17.8966 -25.7778

Creating the counts map:
time -p gtbin evfile=/scratch/kocevski/382069/ft1_filtered_4FGL_J0111.5-2546_daily_bin1025.fits scfile=/scratch/kocevski/382069/ft2_4FGL_J0111.5-2546_daily_bin1025.fits outfile=/scratch/kocevski/382069/cmap_505008001_505267201_4FGL_J0111.5-2546_daily_bin1025.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=17.8966 yref=-25.7778 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 4.04
user 0.38
sys 3.60

Creating the high resolution counts map:
time -p gtbin evfile=/scratch/kocevski/382069/ft1_filtered_4FGL_J0111.5-2546_daily_bin1025.fits scfile=/scratch/kocevski/382069/ft2_4FGL_J0111.5-2546_daily_bin1025.fits outfile=/scratch/kocevski/382069/cmap_HighResolution_505008001_505267201_4FGL_J0111.5-2546_daily_bin1025.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=17.8966 yref=-25.7778 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 4.02
user 0.38
sys 3.59

Computing the diffuse response:
time -p gtdiffrsp evfile=/scratch/kocevski/382069/ft1_filtered_4FGL_J0111.5-2546_daily_bin1025.fits evtable="EVENTS" scfile=/scratch/kocevski/382069/ft2_4FGL_J0111.5-2546_daily_bin1025.fits sctable="SC_DATA" srcmdl=/scratch/kocevski/382069/Model_4FGL_J0111.5-2546_daily_bin1025.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/382069/ft1_filtered_4FGL_J0111.5-2546_daily_bin1025.fits.....................!
real 54.85
user 48.62
sys 5.86

Creating the likelihood object...
obs = UnbinnedObs('/scratch/kocevski/382069/ft1_filtered_4FGL_J0111.5-2546_daily_bin1025.fits', '/scratch/kocevski/382069/ft2_4FGL_J0111.5-2546_daily_bin1025.fits', expMap='/scratch/kocevski/382069/expmap_505008001_505267201_4FGL_J0111.5-2546_daily_bin1025.fits', expCube='/scratch/kocevski/382069/ltcube_505008001_505267201_4FGL_J0111.5-2546_daily_bin1025.fits', irfs='P8R3_SOURCE_V2')
like = UnbinnedAnalysis(obs, '/scratch/kocevski/382069/Model_4FGL_J0111.5-2546_daily_bin1025.xml', optimizer='MINUIT')

Using source of interest name: '4FGL J0111.5-2546'

4FGL J0111.5-2546
   Spectrum: PowerLaw
227    Prefactor:  1.126e+00  0.000e+00  1.000e-04  1.000e+04 ( 1.000e-13)
228        Index:  2.400e+00  0.000e+00  0.000e+00  1.000e+01 (-1.000e+00) fixed
229        Scale:  1.172e+03  0.000e+00  3.000e+01  5.000e+05 ( 1.000e+00) fixed


Likelihood Fit Parameters:
Event file(s): /scratch/kocevski/382069/ft1_filtered_4FGL_J0111.5-2546_daily_bin1025.fits
Spacecraft file(s): /scratch/kocevski/382069/ft2_4FGL_J0111.5-2546_daily_bin1025.fits
Exposure map: /scratch/kocevski/382069/expmap_505008001_505267201_4FGL_J0111.5-2546_daily_bin1025.fits
Exposure cube: /scratch/kocevski/382069/ltcube_505008001_505267201_4FGL_J0111.5-2546_daily_bin1025.fits
IRFs: P8R3_SOURCE_V2
Source model file: /scratch/kocevski/382069/Model_4FGL_J0111.5-2546_daily_bin1025.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) = 6096.84461412

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

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

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'Prefactor '    .10001E-03   1.0000         .10000E-03   10000.    
     2 'norm      '    21.348       1.0000         .10000E-03   10000.    
     3 'norm      '    25.233       1.0000         .10000E-03   10000.    
     4 'Prefactor '    .10216E-03   1.0000         .10000E-03   10000.    
     5 'norm      '    10.825       1.0000         .10000E-03   10000.    
     6 'norm      '    .10000E-03   1.0000         .10000E-03   10000.    
     7 'Prefactor '    9.3965       1.0000         .10000E-03   10000.    
     8 'Prefactor '    2.4411       1.0000         .10000E-03   10000.    
     9 'Prefactor '    4.7907       1.0000         .10000E-03   10000.    
    10 'Prefactor '    .10000E-03   1.0000         .10000E-03   10000.    
    11 'norm      '    3.2394       1.0000         .10000E-03   10000.    
    12 'norm      '    .72424       1.0000         .10000E-03   10000.    
    13 'Prefactor '    11.691       1.0000         .10000E-03   10000.    
    14 'Prefactor '    .10089E-03   1.0000         .10000E-03   10000.    
    15 'norm      '    2.5392       1.0000         .10000E-03   10000.    
    16 'norm      '    .10007E-03   1.0000         .10000E-03   10000.    
    17 'norm      '    .10027E-03   1.0000         .10000E-03   10000.    
    18 'Prefactor '    .10014E-03   1.0000         .10000E-03   10000.    
    19 'Normalizat'    1.0457       1.0000         .10000E-01   10.000    
    20 'Prefactor '    .93276       1.0000          .0000       10.000    
 **********
 **   15 **SET ERR    .5000    
 **********
 **********
 **   16 **SET GRAD    1.000    
 **********
 **********
 **   17 **MINIMIZE    .5580E+05   .2000E-04
 **********

 MIGRAD MINIMIZATION HAS CONVERGED.

 FCN=   6096.838     FROM MIGRAD    STATUS=CONVERGED     68 CALLS     1413 TOTAL
                     EDM=   .66E-09  STRATEGY=1  ERROR MATRIX UNCERTAINTY= 14.5%

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor     .10000E-03    6.9138       -.11982E-05** at limit **
   2  norm          21.348        1.0087        .16280E-06    .13016E-03
   3  norm          25.233        1.4527        .12302E-05    .47936E-02
   4  Prefactor     .10008E-03    43.294       -.53923E-04** at limit **
   5  norm          10.823        2.0372        .31249E-05    .84208E-03
   6  norm          .10000E-03    .67384       -.14647E-07** at limit **
   7  Prefactor     9.3966        1.0877        .81153E-06    .14330E-02
   8  Prefactor     2.4412        1.0714       -.11855E-05   -.75795E-04
   9  Prefactor     4.7901        1.1842       -.17454E-05   -.45469E-02
  10  Prefactor     .10000E-03    3.0287       -.70333E-07** at limit **
  11  norm          3.2393        1.8231        .10064E-06    .22840E-03
  12  norm          .72357        1.1173        .36518E-06    .16113E-03
  13  Prefactor     11.692        2.5060       -.39097E-05   -.25790E-02
  14  Prefactor     .10000E-03    5.6600        .90777E-06** at limit **
  15  norm          2.5392        1.4194        .36739E-08   -.81828E-04
  16  norm          .10000E-03    1.4352        .19933E-06** at limit **
  17  norm          .10000E-03    4.4274        .39986E-07** at limit **
  18  Prefactor     .10005E-03    39.189        .47195E-04** at limit **
  19  Normalizat    1.0458        .19689        .26035E-05    .41077E-04
  20  Prefactor     .93262        .22834       -.42038E-05   -.15465E-03
                               ERR DEF=  .500    
Final values: 
  Prefactor  = 0.0001
  norm       = 21.3477
  norm       = 25.2335
  Prefactor  = 0.000100081
  norm       = 10.8227
  norm       = 0.0001
  Prefactor  = 9.39661
  Prefactor  = 2.44124
  Prefactor  = 4.79006
  Prefactor  = 0.0001
  norm       = 3.23934
  norm       = 0.723573
  Prefactor  = 11.6919
  Prefactor  = 0.0001
  norm       = 2.53917
  norm       = 0.0001
  norm       = 0.0001
  Prefactor  = 0.000100048
  Normalizat = 1.0458
  Prefactor  = 0.932618
 **********
 **   18 **HESSE 
 **********

 FCN=   6096.838     FROM HESSE     STATUS=OK           351 CALLS     1764 TOTAL
                     EDM=   .15E-06    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  Prefactor     .10000E-03    6.8853        .90712E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   2  norm          21.348        11.513        .21672E-02   -1.4784    
   3  norm          25.233        7.2119        .19937E-02   -1.4703    
   4  Prefactor     .10008E-03    46.418        .90712E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   5  norm          10.823        11.577        .30443E-02   -1.5050    
   6  norm          .10000E-03    .67331        .90712E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   7  Prefactor     9.3966        6.7074        .32684E-02   -1.5095    
   8  Prefactor     2.4412        11.672        .65465E-02   -1.5395    
   9  Prefactor     4.7901        4.1811        .45953E-02   -1.5270    
  10  Prefactor     .10000E-03    3.0239        .90712E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  11  norm          3.2393        1.8435        .56262E-02   -1.5348    
  12  norm          .72357        1.4485        .24052E-01   -1.5538    
  13  Prefactor     11.692        9.7312        .29290E-02   -1.5024    
  14  Prefactor     .10000E-03    2.9166        .42778E-01   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  15  norm          2.5392        1.4250        .64072E-02   -1.5389    
  16  norm          .10000E-03    .92737        .30149E-01   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  17  norm          .10000E-03    1.4143        .31472E-01   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  18  Prefactor     .10005E-03    41.833        .90712E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  19  Normalizat    1.0458        .17182        .40856E-01   -.91512    
  20  Prefactor     .93262        .19577        .45421E-01   -.95010    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 1.53049e-07
Minuit parameter uncertainties:
  1  1.16552e-05
  2  11.5143
  3  7.2121
  4  0.00387951
  5  11.5793
  6  1.21109e-05
  7  6.70796
  8  10.6792
  9  4.18131
  10  1.89232e-06
  11  1.84353
  12  1.44861
  13  9.73248
  14  1.60613e-05
  15  1.42499
  16  2.67407e-05
  17  4.46837e-05
  18  0.00284912
  19  0.17191
  20  0.195918
Done.

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

Extracting fit parameters...

4FGL J0111.5-2546
   Spectrum: PowerLaw
227    Prefactor:  2.441e+00  1.068e+01  1.000e-04  1.000e+04 ( 1.000e-13)
228        Index:  2.400e+00  0.000e+00  0.000e+00  1.000e+01 (-1.000e+00) fixed
229        Scale:  1.172e+03  0.000e+00  3.000e+01  5.000e+05 ( 1.000e+00) fixed

GAL_V02
   Spectrum: PowerLaw
555    Prefactor:  9.326e-01  1.959e-01  0.000e+00  1.000e+01 ( 1.000e+00)
556        Index:  0.000e+00  0.000e+00 -1.000e+00  1.000e+00 ( 1.000e+00) fixed
557        Scale:  1.000e+02  0.000e+00  5.000e+01  2.000e+02 ( 1.000e+00) fixed

EG_v02
   Spectrum: FileFunction
554   Normalization:  1.046e+00  1.719e-01  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Fixed Index): 0.07
Ra Dec: 17.897 -25.778
Photon Flux Upper Limit: 7.78e-08 ph cm-2 s-1
Energy Flux Upper Limit: 6.01e-03 MeV cm-2 s-1

Saving results to:
/scratch/kocevski/382069/likelihoodResults_505008001_505267201_4FGL_J0111.5-2546_daily_bin1025.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) = 6096.83568369
delta logL = 0.00200831442544

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

MINUIT Return Code (Free Index): 0
logL (Free Index) = 6096.83466481
delta logL = 0.00302719804858

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'Prefactor '    1.9813       1.0000         .10000E-03   10000.    
     2 'Index     '    2.6942       1.0000          .0000       10.000    
     3 'Normalizat'    1.0423       1.0000         .10000E-01   10.000    
     4 'Prefactor '    .93529       1.0000          .0000       10.000    
 **********
 **   15 **SET ERR    .5000    
 **********
 **********
 **   16 **SET GRAD    1.000    
 **********
 **********
 **   17 **MINIMIZE    .5580E+05   .2000E-04
 **********

 MIGRAD MINIMIZATION HAS CONVERGED.

 MIGRAD WILL VERIFY CONVERGENCE AND ERROR MATRIX.

 FCN=   6096.835     FROM MIGRAD    STATUS=CONVERGED     62 CALLS      229 TOTAL
                     EDM=   .67E-08    STRATEGY= 1      ERR MATRIX NOT POS-DEF

  EXT PARAMETER                APPROXIMATE        STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor     1.9628        62.795        .73612E-02    .52051E-03
   2  Index         2.7039        .69968        .50000        .55018E-05
   3  Normalizat    1.0423        .12135E-01    .41103E-01   -.19030E-04
   4  Prefactor     .93532        .14150E-01    .45453E-01    .44024E-05
                               ERR DEF=  .500    
Final values: 
  Prefactor  = 1.96277
  Index      = 2.70389
  Normalizat = 1.04231
  Prefactor  = 0.935323
 **********
 **   18 **HESSE 
 **********

 FCN=   6096.835     FROM HESSE     STATUS=OK            33 CALLS      262 TOTAL
                     EDM=   .11E-10    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  Prefactor     1.9628        24.704        .29445E-03   -1.5428    
   2  Index         2.7039        6.3504        .40624E-02   -.47712    
   3  Normalizat    1.0423        .20290        .22726E-03   -.91626    
   4  Prefactor     .93532        .23208        .27673E-03   -.94918    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 1.09357e-11
Minuit parameter uncertainties:
  1  13.9333
  2  4.70173
  3  0.203054
  4  0.232328
shell-init: error retrieving current directory: getcwd: cannot access parent directories: No such file or directory
rmdir: failed to remove `/scratch/kocevski/382069': 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) = 6096.83466147
delta logL = 0.00303053886728

Extracting fit parameters...

4FGL J0111.5-2546
   Spectrum: PowerLaw
227    Prefactor:  1.963e+00  1.393e+01  1.000e-04  1.000e+04 ( 1.000e-13)
228        Index:  2.704e+00  4.702e+00  0.000e+00  1.000e+01 (-1.000e+00)
229        Scale:  1.172e+03  0.000e+00  3.000e+01  5.000e+05 ( 1.000e+00) fixed

GAL_V02
   Spectrum: PowerLaw
555    Prefactor:  9.353e-01  2.323e-01  0.000e+00  1.000e+01 ( 1.000e+00)
556        Index:  0.000e+00  0.000e+00 -1.000e+00  1.000e+00 ( 1.000e+00) fixed
557        Scale:  1.000e+02  0.000e+00  5.000e+01  2.000e+02 ( 1.000e+00) fixed

EG_v02
   Spectrum: FileFunction
554   Normalization:  1.042e+00  2.031e-01  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Free Index): 0.07
Ra Dec: 17.897 -25.778

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/382069/cmap_HighResolution_505008001_505267201_4FGL_J0111.5-2546_daily_bin1025.png

Cleaning up...

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

Updating database...

UPDATE lightcurve_data_v2 SET energy_flux_upper_limit='6.01e-03', job_status='DONE', photon_flux_upper_limit='7.78e-08', time_completed='2021-08-13 14:33:17.219726', job_id='382069', GAL2='0.94', fit_tolerance='1e-08', EG2='1.04', EG='1.05', time_epoch_completed='1628890397.22', return_code2='0', ts='0.07', comment='SUCCESS', return_code='0', GAL='0.93', dlogl='3.03e-03', ts2='0.07', photon_index_error='0.00', photon_index='2.40' WHERE bin_id='1025' AND source_name='4FGL J0111.5-2546' AND cadence='daily';

Database successfully updated.


Analysis Complete.


Fri Aug 13 14:33:17 PDT 2021


------------------------------------------------------------
Sender: LSF System <lsf@bullet0142>
Subject: Job 382069: <4FGL_J0111.5-2546_daily_bin1025> in cluster <slac> Done

Job <4FGL_J0111.5-2546_daily_bin1025> was submitted from host <rhel6-64j> by user <kocevski> in cluster <slac> at Fri Aug 13 14:20:29 2021
Job was executed on host(s) <bullet0142>, in queue <medium>, as user <kocevski> in cluster <slac> at Fri Aug 13 14:21:58 2021
</u/ki/kocevski> was used as the home directory.
</u/ki/kocevski> was used as the working directory.
Started at Fri Aug 13 14:21:58 2021
Terminated at Fri Aug 13 14:33:18 2021
Results reported at Fri Aug 13 14:33:18 2021

Your job looked like:

------------------------------------------------------------
# LSBATCH: User input
/nfs/farm/g/glast/g/LCRepository/Likelihood/Scripts/LikelihoodAnalysis.py 4FGL_J0111.5-2546_daily_bin1025 17.8966 -25.7778 505008001 505267201 irfs=P8R3_SOURCE_V2 zmax=90 ROI=12 association=4FGL_J0111.5-2546 fixedModel=True performFreeIndexFit=True freeVariableSources=True nuke=True repositoryJob=True verbose=False
------------------------------------------------------------

Successfully completed.

Resource usage summary:

    CPU time :                                   655.13 sec.
    Max Memory :                                 1256 MB
    Average Memory :                             316.00 MB
    Total Requested Memory :                     -
    Delta Memory :                               -
    Max Swap :                                   -
    Max Processes :                              5
    Max Threads :                                21
    Run time :                                   679 sec.
    Turnaround time :                            769 sec.

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

