/nfs/farm/g/glast/g/LCRepository/bin/miniconda2/envs/fermitools_v1.0.5/lib/python2.7/site-packages/matplotlib/font_manager.py:281: UserWarning: Matplotlib is building the font cache using fc-list. This may take a moment.
  'Matplotlib is building the font cache using fc-list. '
/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 64 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 provieDone.


Performing analysis on: 4FGL_J0111.5-2546_daily_bin1640
RA = 17.8966, Dec = -25.7778
tmin = 664416001, tmax = 664675201
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 sDone.


Performing analysis on: 4FGL_J0111.5-2546_daily_bin1640
RA = 17.8966, Dec = -25.7778
tmin = 664416001, tmax = 664675201
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='273857', job_status='RUN', time_executed='2022-01-24 00:07:21.258585', time_epoch_executed='1643011641.26' WHERE source_name='4FGL J0111.5-2546' and cadence='daily' and bin_id='1640'

Database successfully updated.
Done.

Creating custom output directory:
/scratch/kocevski/273857

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

Retrieving the FT1 file...

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

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

Retrieving 46 files...
Done.


Merging files...

Checksum keywords updated successfully.

Merged file saved to:
/scratch/kocevski/273857/ft1_4FGL_J0111.5-2546_daily_bin1640.fits


Retrieving the FT1 file...

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

Retrieving 46 files...
Done.


Merging files...

Merged file saved to:
/scratch/kocevski/273857/ft2_4FGL_J0111.5-2546_daily_bin1640.fits


Selecting the photons:
time -p gtselect infile=/scratch/kocevski/273857/ft1_4FGL_J0111.5-2546_daily_bin1640.fits outfile=/scratch/kocevski/273857/ft1_filteredMKT_4FGL_J0111.5-2546_daily_bin1640.fits ra=17.8966 dec=-25.7778 rad=12.0 tmin=664416001.0 tmax=664675201.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.73
user 3.39
sys 0.22

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

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

Generating the livetime cube:
time -p gtltcube evfile="/scratch/kocevski/273857/ft1_filtered_4FGL_J0111.5-2546_daily_bin1640.fits" evtable="EVENTS" scfile=/scratch/kocevski/273857/ft2_4FGL_J0111.5-2546_daily_bin1640.fits sctable="SC_DATA" outfile=/scratch/kocevski/273857/ltcube_664416001_664675201_4FGL_J0111.5-2546_daily_bin1640.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/273857/ft2_4FGL_J0111.5-2546_daily_bin1640.fits
.....................!
real 13.31
user 12.81
sys 0.42

Generating the exposure map:
time -p gtexpmap evfile=/scratch/kocevski/273857/ft1_filtered_4FGL_J0111.5-2546_daily_bin1640.fits evtable="EVENTS" scfile=/scratch/kocevski/273857/ft2_4FGL_J0111.5-2546_daily_bin1640.fits sctable="SC_DATA" expcube=/scratch/kocevski/273857/ltcube_664416001_664675201_4FGL_J0111.5-2546_daily_bin1640.fits outfile=/scratch/kocevski/273857/expmap_664416001_664675201_4FGL_J0111.5-2546_daily_bin1640.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/273857/ltcube_664416001_664675201_4FGL_J0111.5-2546_daily_bin1640.fits
.....................!
real 191.52
user 185.81
sys 5.29

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/273857/ft1_filtered_4FGL_J0111.5-2546_daily_bin1640.fits scfile=/scratch/kocevski/273857/ft2_4FGL_J0111.5-2546_daily_bin1640.fits outfile=/scratch/kocevski/273857/cmap_664416001_664675201_4FGL_J0111.5-2546_daily_bin1640.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 0.64
user 0.38
sys 0.17

Creating the high resolution counts map:
time -p gtbin evfile=/scratch/kocevski/273857/ft1_filtered_4FGL_J0111.5-2546_daily_bin1640.fits scfile=/scratch/kocevski/273857/ft2_4FGL_J0111.5-2546_daily_bin1640.fits outfile=/scratch/kocevski/273857/cmap_HighResolution_664416001_664675201_4FGL_J0111.5-2546_daily_bin1640.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 0.74
user 0.39
sys 0.16

Computing the diffuse response:
time -p gtdiffrsp evfile=/scratch/kocevski/273857/ft1_filtered_4FGL_J0111.5-2546_daily_bin1640.fits evtable="EVENTS" scfile=/scratch/kocevski/273857/ft2_4FGL_J0111.5-2546_daily_bin1640.fits sctable="SC_DATA" srcmdl=/scratch/kocevski/273857/Model_4FGL_J0111.5-2546_daily_bin1640.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/273857/ft1_filtered_4FGL_J0111.5-2546_daily_bin1640.fits......................!
real 36.23
user 34.85
sys 1.30

Creating the likelihood object...
obs = UnbinnedObs('/scratch/kocevski/273857/ft1_filtered_4FGL_J0111.5-2546_daily_bin1640.fits', '/scratch/kocevski/273857/ft2_4FGL_J0111.5-2546_daily_bin1640.fits', expMap='/scratch/kocevski/273857/expmap_664416001_664675201_4FGL_J0111.5-2546_daily_bin1640.fits', expCube='/scratch/kocevski/273857/ltcube_664416001_664675201_4FGL_J0111.5-2546_daily_bin1640.fits', irfs='P8R3_SOURCE_V2')
like = UnbinnedAnalysis(obs, '/scratch/kocevski/273857/Model_4FGL_J0111.5-2546_daily_bin1640.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/273857/ft1_filtered_4FGL_J0111.5-2546_daily_bin1640.fits
Spacecraft file(s): /scratch/kocevski/273857/ft2_4FGL_J0111.5-2546_daily_bin1640.fits
Exposure map: /scratch/kocevski/273857/expmap_664416001_664675201_4FGL_J0111.5-2546_daily_bin1640.fits
Exposure cube: /scratch/kocevski/273857/ltcube_664416001_664675201_4FGL_J0111.5-2546_daily_bin1640.fits
IRFs: P8R3_SOURCE_V2
Source model file: /scratch/kocevski/273857/Model_4FGL_J0111.5-2546_daily_bin1640.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) = 3727.92931687

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

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

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      '    .10002E-03   1.0000         .10000E-03   10000.    
     3 'norm      '    .10000E-03   1.0000         .10000E-03   10000.    
     4 'Prefactor '    .10000E-03   1.0000         .10000E-03   10000.    
     5 'norm      '    .10000E-03   1.0000         .10000E-03   10000.    
     6 'norm      '    .32723E-01   1.0000         .10000E-03   10000.    
     7 'Prefactor '    .10102E-03   1.0000         .10000E-03   10000.    
     8 'Prefactor '    12.311       1.0000         .10000E-03   10000.    
     9 'Prefactor '    .10001E-03   1.0000         .10000E-03   10000.    
    10 'Prefactor '    .10003E-03   1.0000         .10000E-03   10000.    
    11 'norm      '    4.0891       1.0000         .10000E-03   10000.    
    12 'norm      '    .10370E-03   1.0000         .10000E-03   10000.    
    13 'Prefactor '    6.2211       1.0000         .10000E-03   10000.    
    14 'Prefactor '    .10008E-03   1.0000         .10000E-03   10000.    
    15 'norm      '    2.0108       1.0000         .10000E-03   10000.    
    16 'norm      '    .10002E-03   1.0000         .10000E-03   10000.    
    17 'norm      '    2.5238       1.0000         .10000E-03   10000.    
    18 'Prefactor '    .10006E-03   1.0000         .10000E-03   10000.    
    19 'Normalizat'    1.0318       1.0000         .10000E-01   10.000    
    20 'Prefactor '    1.1471       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.

 MIGRAD MINIMIZATION HAS CONVERGED.

 FCN=   3727.928     FROM MIGRAD    STATUS=CONVERGED    448 CALLS     2052 TOTAL
                     EDM=   .37E-09  STRATEGY=1  ERROR MATRIX UNCERTAINTY=  3.2%

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor     .10000E-03    12.527        .23398E-07** at limit **
   2  norm          .10000E-03    11.011       -.60035E-08** at limit **
   3  norm          .10000E-03    2.3693       -.11725E-07** at limit **
   4  Prefactor     .10000E-03    41.577       -.21733E-05** at limit **
   5  norm          .10000E-03    5.6307       -.36821E-06** at limit **
   6  norm          .10010E-03    2.5528       -.14175E-06** at limit **
   7  Prefactor     .10000E-03    5.0898       -.71414E-07** at limit **
   8  Prefactor     12.318        18.546       -.11082E-05   -.27830E-03
   9  Prefactor     .10000E-03    3.1568       -.50934E-06** at limit **
  10  Prefactor     .10000E-03    6.0327        .47582E-06** at limit **
  11  norm          4.0887        2.7194        .49273E-07   -.13612E-03
  12  norm          .10000E-03    2.9397        .21030E-05** at limit **
  13  Prefactor     6.2717        24.291       -.23612E-05   -.20080E-03
  14  Prefactor     .10000E-03    2.8676        .18626E-06** at limit **
  15  norm          2.0105        2.0326        .97083E-07   -.12222E-04
  16  norm          .10000E-03    1.1136        .17224E-06** at limit **
  17  norm          2.5223        4.6088        .34726E-06   -.14501E-03
  18  Prefactor     .10000E-03    49.296        .37515E-05** at limit **
  19  Normalizat    1.0318        .22416       -.77068E-06   -.17206E-03
  20  Prefactor     1.1472        .24621        .38312E-06   -.17328E-03
                               ERR DEF=  .500    
Final values: 
  Prefactor  = 0.0001
  norm       = 0.0001
  norm       = 0.0001
  Prefactor  = 0.000100001
  norm       = 0.0001
  norm       = 0.000100103
  Prefactor  = 0.0001
  Prefactor  = 12.318
  Prefactor  = 0.000100001
  Prefactor  = 0.0001
  norm       = 4.08872
  norm       = 0.000100001
  Prefactor  = 6.27168
  Prefactor  = 0.0001
  norm       = 2.01048
  norm       = 0.0001
  norm       = 2.52226
  Prefactor  = 0.000100003
  Normalizat = 1.03183
  Prefactor  = 1.14719
 **********
 **   18 **HESSE 
 **********

 FCN=   3727.928     FROM HESSE     STATUS=OK           295 CALLS     2347 TOTAL
                     EDM=   .11E-08    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  Prefactor     .10000E-03    12.572        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   2  norm          .10000E-03    11.027        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   3  norm          .10000E-03    2.3761        .91780E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   4  Prefactor     .10000E-03    41.924        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   5  norm          .10000E-03    5.6447        .14161E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   6  norm          .10010E-03    5.1556        .34278E-01   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   7  Prefactor     .10000E-03    5.1130        .13442E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   8  Prefactor     12.318        18.793        .11417E-03   -1.5006    
   9  Prefactor     .10000E-03    6.7988        .20707E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  10  Prefactor     .10000E-03    6.0641        .14668E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  11  norm          4.0887        2.7189        .79223E-04   -1.5304    
  12  norm          .10000E-03    3.6531        .17595E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  13  Prefactor     6.2717        26.124        .16095E-03   -1.5207    
  14  Prefactor     .10000E-03    2.8880        .10098E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  15  norm          2.0105        2.0237        .82796E-04   -1.5424    
  16  norm          .10000E-03    1.1232        .62924E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  17  norm          2.5223        4.6038        .16540E-03   -1.5390    
  18  Prefactor     .10000E-03    50.492        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  19  Normalizat    1.0318        .26749        .23719E-03   -.91971    
  20  Prefactor     1.1472        .29520        .25935E-03   -.87972    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 1.08023e-09
Minuit parameter uncertainties:
  1  6.34635e-06
  2  8.4791e-07
  3  5.03Done.

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

Extracting fit parameters...

4FGL J0111.5-2546
   Spectrum: PowerLaw
227    Prefactor:  1.232e+01  1.880e+01  1.000e-04  1.000e+04 ( 1.000e-13)
228        Index:  2.400e+00  0.000e+00  0.000e+00  1.00Done.

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

Extracting fit parameters...

4FGL J0111.5-2546
   Spectrum: PowerLaw
227    Prefactor:  1.232e+01  1.880e+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:  1.147e+00  2.956e-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.032e+00  2.678e-01  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Fixed Index): 0.57
Ra Dec: 17.897 -25.778
Photon Flux Upper Limit: 1.45e-07 ph cm-2 s-1
Energy Flux Upper Limit: 1.12e-02 MeV cm-2 s-1

Saving results to:
/scratch/kocevski/273857/likelihoodResults_664416001_664675201_4FGL_J0111.5-2546_daily_bin1640.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) = 3727.92791233
delta logL = 0.000174549090389

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

MINUIT Return Code (Free Index): 0
logL (Free Index) = 3727.92782678
delta logL = 0.000260091129803

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'Prefactor '    12.059       1.0000         .10000E-03   10000.    
     2 'Index     '    2.4238       1.0000          .0000       10.000    
     3 'Normalizat'    1.0311       1.0000         .10000E-01   10.000    
     4 'Prefactor '    1.1476       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.
 MACHINE ACCURACY LIMITS FURTHER IMPROVEMENT.

 MIGRAD MINIMIZATION HAS CONVERGED.

 MIGRAD WILL VERIFY CONVERGENCE AND ERROR MATRIX.

 FCN=   3727.928     FROM MIGRAD    STATUS=CONVERGED    102 CALLS      276 TOTAL
                     EDM=   .26E-08    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor     12.042        23.369        .57679E-03   -.12930E-04
   2  Index         2.4220        1.0361        .88277E-02    .20840E-03
   3  Normalizat    1.0311        .25784        .23726E-03    .95355E-05
   4  Prefactor     1.1478        .29465        .25930E-03    .76289E-05
                               ERR DEF=  .500    
Final values: 
  Prefactor  = 12.0415
  Index      = 2.422
  Normalizat = 1.03114
  Prefactor  = 1.14777
 **********
 **   18 **HESSE 
 **********

 FCN=   3727.928     FROM HESSE     STATUS=OK            25 CALLS      301 TOTAL
                     EDM=   .24E-11    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  Prefactor     12.042        21.963        .23072E-04   -1.5014    
   2  Index         2.4220        .97447        .17655E-02   -.54171    
   3  Normalizat    1.0311        .25795        .94903E-05   -.91994    
   4  Prefactor     1.1478        .29471        .10372E-04   -.87954    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 2.35439e-12
Minuit parameter uncertainties:
  1  21.9773
  2  0.983071
  3  0.258267
  4  0.295131
shell-init: error retrieving current directory: getcwd: cannot access parent directories: No such file or directory
rmdir: failed to remove `/scratch/kocevski/273857': 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) = 3727.92782135
delta logL = 0.000265527483407

Extracting fit parameters...

4FGL J0111.5-2546
   Spectrum: PowerLaw
227    Prefactor:  1.204e+01  2.198e+01  1.000e-04  1.000e+04 ( 1.000e-13)
228        Index:  2.422e+00  9.831e-01  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:  1.148e+00  2.951e-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.031e+00  2.583e-01  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Free Index): 0.57
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/273857/cmap_HighResolution_664416001_664675201_4FGL_J0111.5-2546_daily_bin1640.png

Cleaning up...

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

Updating database...

UPDATE lightcurve_data_v2 SET energy_flux_upper_limit='1.12e-02', job_status='DONE', photon_flux_upper_limit='1.45e-07', time_completed='2022-01-24 00:15:19.498821', job_id='273857', GAL2='1.15', fit_tolerance='1e-08', EG2='1.03', EG='1.03', time_epoch_completed='1643012119.5', return_code2='0', ts='0.57', comment='SUCCESS', return_code='0', GAL='1.15', dlogl='2.66e-04', ts2='0.57', photon_index_error='0.00', photon_index='2.40' WHERE bin_id='1640' AND source_name='4FGL J0111.5-2546' AND cadence='daily';

Database successfully updated.


Analysis Complete.


Mon Jan 24 00:15:19 PST 2022

r <slac> at Mon Jan 24 00:05:32 2022
Job was executed on host(s) <bullet0166>, in queue <medium>, as user <kocevski> in cluster <slac> at Mon Jan 24 00:05:42 2022
</u/ki/kocevski> was used as the home directory.
</u/ki/kocevski> was used as the working directory.
Started at Mon Jan 24 00:05:42 2022
Terminated at Mon Jan 24 00:15:00 2022
Results reported at Mon Jan 24 00:15:00 2022

Your job looked like:

------------------------------------------------------------
# LSBATCH: User input
/nfs/farm/g/glast/g/LCRepository/Likelihood/Scripts/LikelihoodAnalysis.py 4FGL_J0111.5-2546_daily_bin1640 17.8966 -25.7778 664416001 664675201 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 :                                   476.16 sec.
    Max Memory :                                 617 MB
    Average Memory :                             264.80 MB
    Total Requested Memory :                     -
    Delta Memory :                               -
    Max Swap :                                   -
    Max Processes :                              5
    Max Threads :                                21
    Run time :                                   557 sec.
    Turnaround time :                            568 sec.

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


------------------------------------------------------------
Sender: LSF System <lsf@bullet0106>
Subject: Job 273857: <4FGL_J0111.5-2546_daily_bin1640> in cluster <slac> Done

Job <4FGL_J0111.5-2546_daily_bin1640> was submitted from host <rhel6-64p> by user <kocevski> in cluster <slac> at Mon Jan 24 00:05:35 2022
Job was executed on host(s) <bullet0106>, in queue <medium>, as user <kocevski> in cluster <slac> at Mon Jan 24 00:05:48 2022
</u/ki/kocevski> was used as the home directory.
</u/ki/kocevski> was used as the working directory.
Started at Mon Jan 24 00:05:48 2022
Terminated at Mon Jan 24 00:15:20 2022
Results reported at Mon Jan 24 00:15:20 2022

Your job looked like:

------------------------------------------------------------
# LSBATCH: User input
/nfs/farm/g/glast/g/LCRepository/Likelihood/Scripts/LikelihoodAnalysis.py 4FGL_J0111.5-2546_daily_bin1640 17.8966 -25.7778 664416001 664675201 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 :                                   479.10 sec.
    Max Memory :                                 1256 MB
    Average Memory :                             296.90 MB
    Total Requested Memory :                     -
    Delta Memory :                               -
    Max Swap :                                   -
    Max Processes :                              5
    Max Threads :                                21
    Run time :                                   571 sec.
    Turnaround time :                            585 sec.

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

