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


Performing analysis on: 4FGL_J0111.5-2546_daily_bin1034
RA = 17.8966, Dec = -25.7778
tmin = 507340801, tmax = 507600001
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='382082', job_status='RUN', time_executed='2021-08-13 14:25:07.812322', time_epoch_executed='1628889907.81' WHERE source_name='4FGL J0111.5-2546' and cadence='daily' and bin_id='1034'

Database successfully updated.
Done.

Creating custom output directory:
/scratch/kocevski/382082

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

Retrieving the FT1 file...

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

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

Retrieving 47 files...
Done.


Merging files...

Checksum keywords updated successfully.

Merged file saved to:
/scratch/kocevski/382082/ft1_4FGL_J0111.5-2546_daily_bin1034.fits


Retrieving the FT1 file...

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

Retrieving 47 files...
Done.


Merging files...

Merged file saved to:
/scratch/kocevski/382082/ft2_4FGL_J0111.5-2546_daily_bin1034.fits


Selecting the photons:
time -p gtselect infile=/scratch/kocevski/382082/ft1_4FGL_J0111.5-2546_daily_bin1034.fits outfile=/scratch/kocevski/382082/ft1_filteredMKT_4FGL_J0111.5-2546_daily_bin1034.fits ra=17.8966 dec=-25.7778 rad=12.0 tmin=507340801.0 tmax=507600001.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 11.13
user 3.30
sys 7.67

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

Selecting the good time intervals:
time -p gtmktime scfile=/scratch/kocevski/382082/ft2_4FGL_J0111.5-2546_daily_bin1034.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/382082/ft1_filteredMKT_4FGL_J0111.5-2546_daily_bin1034.fits evtable="EVENTS" outfile="/scratch/kocevski/382082/ft1_filtered_4FGL_J0111.5-2546_daily_bin1034.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 8.05
user 0.34
sys 7.55

Generating the livetime cube:
time -p gtltcube evfile="/scratch/kocevski/382082/ft1_filtered_4FGL_J0111.5-2546_daily_bin1034.fits" evtable="EVENTS" scfile=/scratch/kocevski/382082/ft2_4FGL_J0111.5-2546_daily_bin1034.fits sctable="SC_DATA" outfile=/scratch/kocevski/382082/ltcube_507340801_507600001_4FGL_J0111.5-2546_daily_bin1034.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/382082/ft2_4FGL_J0111.5-2546_daily_bin1034.fits
.....................!
real 21.17
user 12.31
sys 8.60

Generating the exposure map:
time -p gtexpmap evfile=/scratch/kocevski/382082/ft1_filtered_4FGL_J0111.5-2546_daily_bin1034.fits evtable="EVENTS" scfile=/scratch/kocevski/382082/ft2_4FGL_J0111.5-2546_daily_bin1034.fits sctable="SC_DATA" expcube=/scratch/kocevski/382082/ltcube_507340801_507600001_4FGL_J0111.5-2546_daily_bin1034.fits outfile=/scratch/kocevski/382082/expmap_507340801_507600001_4FGL_J0111.5-2546_daily_bin1034.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/382082/ltcube_507340801_507600001_4FGL_J0111.5-2546_daily_bin1034.fits
.....................!
real 202.33
user 186.25
sys 13.86

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/382082/ft1_filtered_4FGL_J0111.5-2546_daily_bin1034.fits scfile=/scratch/kocevski/382082/ft2_4FGL_J0111.5-2546_daily_bin1034.fits outfile=/scratch/kocevski/382082/cmap_507340801_507600001_4FGL_J0111.5-2546_daily_bin1034.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 7.91
user 0.38
sys 7.44

Creating the high resolution counts map:
time -p gtbin evfile=/scratch/kocevski/382082/ft1_filtered_4FGL_J0111.5-2546_daily_bin1034.fits scfile=/scratch/kocevski/382082/ft2_4FGL_J0111.5-2546_daily_bin1034.fits outfile=/scratch/kocevski/382082/cmap_HighResolution_507340801_507600001_4FGL_J0111.5-2546_daily_bin1034.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 8.02
user 0.39
sys 7.38

Computing the diffuse response:
time -p gtdiffrsp evfile=/scratch/kocevski/382082/ft1_filtered_4FGL_J0111.5-2546_daily_bin1034.fits evtable="EVENTS" scfile=/scratch/kocevski/382082/ft2_4FGL_J0111.5-2546_daily_bin1034.fits sctable="SC_DATA" srcmdl=/scratch/kocevski/382082/Model_4FGL_J0111.5-2546_daily_bin1034.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/382082/ft1_filtered_4FGL_J0111.5-2546_daily_bin1034.fits.....................!
real 53.76
user 42.14
sys 11.04

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

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

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

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'Prefactor '    .10000E-03   1.0000         .10000E-03   10000.    
     2 'norm      '    .10015E-03   1.0000         .10000E-03   10000.    
     3 'norm      '    9.0969       1.0000         .10000E-03   10000.    
     4 'Prefactor '    .10661E-03   1.0000         .10000E-03   10000.    
     5 'norm      '    .77949       1.0000         .10000E-03   10000.    
     6 'norm      '    4.4369       1.0000         .10000E-03   10000.    
     7 'Prefactor '    1.2868       1.0000         .10000E-03   10000.    
     8 'Prefactor '    5.0263       1.0000         .10000E-03   10000.    
     9 'Prefactor '    3.4480       1.0000         .10000E-03   10000.    
    10 'Prefactor '    .17996E-03   1.0000         .10000E-03   10000.    
    11 'norm      '    1.6957       1.0000         .10000E-03   10000.    
    12 'norm      '    .10000E-03   1.0000         .10000E-03   10000.    
    13 'Prefactor '    2.9541       1.0000         .10000E-03   10000.    
    14 'Prefactor '    .10029E-03   1.0000         .10000E-03   10000.    
    15 'norm      '    1.0911       1.0000         .10000E-03   10000.    
    16 'norm      '    .10073E-03   1.0000         .10000E-03   10000.    
    17 'norm      '    .10476E-03   1.0000         .10000E-03   10000.    
    18 'Prefactor '    11.799       1.0000         .10000E-03   10000.    
    19 'Normalizat'    .82348       1.0000         .10000E-01   10.000    
    20 'Prefactor '    .88895       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=   5123.343     FROM MIGRAD    STATUS=CONVERGED    423 CALLS     2064 TOTAL
                     EDM=   .15E-08  STRATEGY=1  ERROR MATRIX UNCERTAINTY=  1.1%

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor     .10000E-03    4.2063       -.21650E-07** at limit **
   2  norm          .10000E-03    7.4535        .29440E-08** at limit **
   3  norm          9.0964        5.3911        .51555E-06   -.11226E-04
   4  Prefactor     .10000E-03    81.252        .20264E-05** at limit **
   5  norm          .77839        13.208       -.94923E-07   -.14545E-03
   6  norm          4.4364        3.0812        .68911E-07   -.13572E-04
   7  Prefactor     1.2856        1.8661        .96147E-06   -.32154E-02
   8  Prefactor     5.0271        9.6294       -.27796E-06   -.16102E-04
   9  Prefactor     3.4476        3.0782        .53134E-07   -.47702E-04
  10  Prefactor     .10000E-03    11.124       -.15395E-06** at limit **
  11  norm          1.6957        1.7603        .10059E-06    .15075E-04
  12  norm          .10000E-03    .71463        .64676E-07** at limit **
  13  Prefactor     2.9557        9.2297       -.38073E-05   -.56596E-04
  14  Prefactor     .10000E-03    3.1190        .80809E-07** at limit **
  15  norm          1.0910        1.2142        .12570E-06   -.86950E-04
  16  norm          .10000E-03    .73386       -.52425E-07** at limit **
  17  norm          .10000E-03    1.4685       -.12000E-06** at limit **
  18  Prefactor     11.827        36.118        .43971E-04    .73626E-04
  19  Normalizat    .82353        .14683       -.12904E-05    .40175E-04
  20  Prefactor     .88895        .17165       -.96620E-06   -.83347E-05
                               ERR DEF=  .500    
Final values: 
  Prefactor  = 0.0001
  norm       = 0.0001
  norm       = 9.09644
  Prefactor  = 0.0001
  norm       = 0.778385
  norm       = 4.43644
  Prefactor  = 1.28562
  Prefactor  = 5.02713
  Prefactor  = 3.44757
  Prefactor  = 0.0001
  norm       = 1.6957
  norm       = 0.0001
  Prefactor  = 2.9557
  Prefactor  = 0.0001
  norm       = 1.09104
  norm       = 0.0001
  norm       = 0.0001
  Prefactor  = 11.827
  Normalizat = 0.823529
  Prefactor  = 0.888947
 **********
 **   18 **HESSE 
 **********

 FCN=   5123.343     FROM HESSE     STATUS=OK           299 CALLS     2363 TOTAL
                     EDM=   .24E-07    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  Prefactor     .10000E-03    4.2193        .14337E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   2  norm          .10000E-03    7.5029        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   3  norm          9.0964        5.3921        .12257E-03   -1.5105    
   4  Prefactor     .10000E-03    81.439        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   5  norm          .77839        13.553        .49453E-03   -1.5532    
   6  norm          4.4364        3.0803        .10095E-03   -1.5287    
   7  Prefactor     1.2856        5.8997        .15422E-02   -1.5481    
   8  Prefactor     5.0271        10.056        .17936E-03   -1.5260    
   9  Prefactor     3.4476        3.0746        .11381E-03   -1.5337    
  10  Prefactor     .10000E-03    11.261        .36285E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  11  norm          1.6957        1.7262        .91730E-04   -1.5448    
  12  norm          .10000E-03    .71978        .59012E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  13  Prefactor     2.9557        9.1873        .23628E-03   -1.5364    
  14  Prefactor     .10000E-03    3.1960        .24600E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  15  norm          1.0910        1.1892        .79248E-04   -1.5499    
  16  norm          .10000E-03    1.1720        .11785E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  17  norm          .10000E-03    2.3590        .16619E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  18  Prefactor     11.827        36.108        .11662E-03   -1.5020    
  19  Normalizat    .82353        .17438        .20324E-03   -.99202    
  20  Prefactor     .88895        .20395        .23486E-03   -.96528    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 2.41486e-08
Minuit parameter uncertainties:
  1  3.35556e-06
  2  9.93974e-06
  3  5.39234
  4  0.000133829
  5  6.49718
  6  3.08044
  7  5.5088
  8  10.0591
  9  3.07472
  10  2.41235e-05
  11  1.72621
  12  6.65664e-06
  13  9.19172
  14  1.56425e-05
  15  1.18923
  16  7.82238e-06
  17  4.16189e-05
  18  36.1744
  19  0.174503
  20  0.204125
Done.

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

Extracting fit parameters...

4FGL J0111.5-2546
   Spectrum: PowerLaw
227    Prefactor:  5.027e+00  1.006e+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:  8.889e-01  2.041e-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:  8.235e-01  1.745e-01  1.000e-02  1.000e+01 ( 1.000e+00)


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

Saving results to:
/scratch/kocevski/382082/likelihoodResults_507340801_507600001_4FGL_J0111.5-2546_daily_bin1034.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) = 5123.34127513
delta logL = 0.00139967127507

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

MINUIT Return Code (Free Index): 0
logL (Free Index) = 5123.34054283
delta logL = 0.0021319749967

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'Prefactor '    5.4578       1.0000         .10000E-03   10000.    
     2 'Index     '    2.3190       1.0000          .0000       10.000    
     3 'Normalizat'    .82477       1.0000         .10000E-01   10.000    
     4 'Prefactor '    .88785       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=   5123.341     FROM MIGRAD    STATUS=CONVERGED     44 CALLS      191 TOTAL
                     EDM=   .11E-07    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor     5.4578        17.716        .42999E-02   -.12090E-02
   2  Index         2.3187        1.7514        .24228E-01    .36160E-04
   3  Normalizat    .82475        .14275        .43933E-01    .42817E-04
   4  Prefactor     .88788        .17127        .44850E-01    .14560E-04
                               ERR DEF=  .500    
Final values: 
  Prefactor  = 5.45779
  Index      = 2.31872
  Normalizat = 0.824753
  Prefactor  = 0.887877
 **********
 **   18 **HESSE 
 **********

 FCN=   5123.341     FROM HESSE     STATUS=OK            31 CALLS      222 TOTAL
                     EDM=   .46E-08    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  Prefactor     5.4578        11.971        .17200E-03   -1.5241    
   2  Index         2.3187        1.2101        .96911E-03   -.56600    
   3  Normalizat    .82475        .16945        .20310E-03   -.99157    
   4  Prefactor     .88788        .20289        .23499E-03   -.96566    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 4.64463e-09
Minuit parameter uncertainties:
  1  11.9761
  2  1.22734
  3  0.169555
  4  0.203061
shell-init: error retrieving current directory: getcwd: cannot access parent directories: No such file or directory
rmdir: failed to remove `/scratch/kocevski/382082': 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) = 5123.34054277
delta logL = 0.0021320278438

Extracting fit parameters...

4FGL J0111.5-2546
   Spectrum: PowerLaw
227    Prefactor:  5.458e+00  1.198e+01  1.000e-04  1.000e+04 ( 1.000e-13)
228        Index:  2.319e+00  1.227e+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:  8.879e-01  2.031e-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:  8.248e-01  1.696e-01  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Free Index): 0.35
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/382082/cmap_HighResolution_507340801_507600001_4FGL_J0111.5-2546_daily_bin1034.png

Cleaning up...

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

Updating database...

UPDATE lightcurve_data_v2 SET energy_flux_upper_limit='5.77e-03', job_status='DONE', photon_flux_upper_limit='7.46e-08', time_completed='2021-08-13 14:36:11.060148', job_id='382082', GAL2='0.89', fit_tolerance='1e-08', EG2='0.82', EG='0.82', time_epoch_completed='1628890571.06', return_code2='0', ts='0.35', comment='SUCCESS', return_code='0', GAL='0.89', dlogl='2.13e-03', ts2='0.35', photon_index_error='0.00', photon_index='2.40' WHERE bin_id='1034' AND source_name='4FGL J0111.5-2546' AND cadence='daily';

Database successfully updated.


Analysis Complete.


Fri Aug 13 14:36:11 PDT 2021


------------------------------------------------------------
Sender: LSF System <lsf@bullet0021>
Subject: Job 382082: <4FGL_J0111.5-2546_daily_bin1034> in cluster <slac> Done

Job <4FGL_J0111.5-2546_daily_bin1034> was submitted from host <rhel6-64j> by user <kocevski> in cluster <slac> at Fri Aug 13 14:20:30 2021
Job was executed on host(s) <bullet0021>, in queue <medium>, as user <kocevski> in cluster <slac> at Fri Aug 13 14:22:00 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:22:00 2021
Terminated at Fri Aug 13 14:36:12 2021
Results reported at Fri Aug 13 14:36:12 2021

Your job looked like:

------------------------------------------------------------
# LSBATCH: User input
/nfs/farm/g/glast/g/LCRepository/Likelihood/Scripts/LikelihoodAnalysis.py 4FGL_J0111.5-2546_daily_bin1034 17.8966 -25.7778 507340801 507600001 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 :                                   770.00 sec.
    Max Memory :                                 1255 MB
    Average Memory :                             256.43 MB
    Total Requested Memory :                     -
    Delta Memory :                               -
    Max Swap :                                   -
    Max Processes :                              5
    Max Threads :                                21
    Run time :                                   852 sec.
    Turnaround time :                            942 sec.

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

