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


Performing analysis on: 4FGL_J0111.5-2546_daily_bin934
RA = 17.8966, Dec = -25.7778
tmin = 481420801, tmax = 481680001
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='381936', job_status='RUN', time_executed='2021-08-13 14:21:40.769474', time_epoch_executed='1628889700.77' WHERE source_name='4FGL J0111.5-2546' and cadence='daily' and bin_id='934'

Database successfully updated.
Done.

Creating custom output directory:
/scratch/kocevski/381936

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

Retrieving the FT1 file...

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

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

Retrieving 47 files...
Done.


Merging files...

Checksum keywords updated successfully.

Merged file saved to:
/scratch/kocevski/381936/ft1_4FGL_J0111.5-2546_daily_bin934.fits


Retrieving the FT1 file...

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

Retrieving 47 files...
Done.


Merging files...

Merged file saved to:
/scratch/kocevski/381936/ft2_4FGL_J0111.5-2546_daily_bin934.fits


Selecting the photons:
time -p gtselect infile=/scratch/kocevski/381936/ft1_4FGL_J0111.5-2546_daily_bin934.fits outfile=/scratch/kocevski/381936/ft1_filteredMKT_4FGL_J0111.5-2546_daily_bin934.fits ra=17.8966 dec=-25.7778 rad=12.0 tmin=481420801.0 tmax=481680001.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 6.94
user 3.49
sys 3.38

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

Selecting the good time intervals:
time -p gtmktime scfile=/scratch/kocevski/381936/ft2_4FGL_J0111.5-2546_daily_bin934.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/381936/ft1_filteredMKT_4FGL_J0111.5-2546_daily_bin934.fits evtable="EVENTS" outfile="/scratch/kocevski/381936/ft1_filtered_4FGL_J0111.5-2546_daily_bin934.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 3.71
user 0.32
sys 3.27

Generating the livetime cube:
time -p gtltcube evfile="/scratch/kocevski/381936/ft1_filtered_4FGL_J0111.5-2546_daily_bin934.fits" evtable="EVENTS" scfile=/scratch/kocevski/381936/ft2_4FGL_J0111.5-2546_daily_bin934.fits sctable="SC_DATA" outfile=/scratch/kocevski/381936/ltcube_481420801_481680001_4FGL_J0111.5-2546_daily_bin934.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/381936/ft2_4FGL_J0111.5-2546_daily_bin934.fits
.....................!
real 17.93
user 13.86
sys 3.89

Generating the exposure map:
time -p gtexpmap evfile=/scratch/kocevski/381936/ft1_filtered_4FGL_J0111.5-2546_daily_bin934.fits evtable="EVENTS" scfile=/scratch/kocevski/381936/ft2_4FGL_J0111.5-2546_daily_bin934.fits sctable="SC_DATA" expcube=/scratch/kocevski/381936/ltcube_481420801_481680001_4FGL_J0111.5-2546_daily_bin934.fits outfile=/scratch/kocevski/381936/expmap_481420801_481680001_4FGL_J0111.5-2546_daily_bin934.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/381936/ltcube_481420801_481680001_4FGL_J0111.5-2546_daily_bin934.fits
.....................!
real 196.60
user 186.58
sys 9.32

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/381936/ft1_filtered_4FGL_J0111.5-2546_daily_bin934.fits scfile=/scratch/kocevski/381936/ft2_4FGL_J0111.5-2546_daily_bin934.fits outfile=/scratch/kocevski/381936/cmap_481420801_481680001_4FGL_J0111.5-2546_daily_bin934.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 3.63
user 0.36
sys 3.24

Creating the high resolution counts map:
time -p gtbin evfile=/scratch/kocevski/381936/ft1_filtered_4FGL_J0111.5-2546_daily_bin934.fits scfile=/scratch/kocevski/381936/ft2_4FGL_J0111.5-2546_daily_bin934.fits outfile=/scratch/kocevski/381936/cmap_HighResolution_481420801_481680001_4FGL_J0111.5-2546_daily_bin934.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 3.64
user 0.40
sys 3.23

Computing the diffuse response:
time -p gtdiffrsp evfile=/scratch/kocevski/381936/ft1_filtered_4FGL_J0111.5-2546_daily_bin934.fits evtable="EVENTS" scfile=/scratch/kocevski/381936/ft2_4FGL_J0111.5-2546_daily_bin934.fits sctable="SC_DATA" srcmdl=/scratch/kocevski/381936/Model_4FGL_J0111.5-2546_daily_bin934.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/381936/ft1_filtered_4FGL_J0111.5-2546_daily_bin934.fits.....................!
real 40.57
user 34.77
sys 5.37

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

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

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

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'Prefactor '    .10005E-03   1.0000         .10000E-03   10000.    
     2 'norm      '    .10000E-03   1.0000         .10000E-03   10000.    
     3 'norm      '    .10000E-03   1.0000         .10000E-03   10000.    
     4 'Prefactor '    58.241       1.0000         .10000E-03   10000.    
     5 'norm      '    .21156E-03   1.0000         .10000E-03   10000.    
     6 'norm      '    3.1034       1.0000         .10000E-03   10000.    
     7 'Prefactor '    .10020E-03   1.0000         .10000E-03   10000.    
     8 'Prefactor '    20.179       1.0000         .10000E-03   10000.    
     9 'Prefactor '    .10067E-03   1.0000         .10000E-03   10000.    
    10 'Prefactor '    .10151E-03   1.0000         .10000E-03   10000.    
    11 'norm      '    7.3601       1.0000         .10000E-03   10000.    
    12 'norm      '    1.5283       1.0000         .10000E-03   10000.    
    13 'Prefactor '    5.4954       1.0000         .10000E-03   10000.    
    14 'Prefactor '    .10003E-03   1.0000         .10000E-03   10000.    
    15 'norm      '    5.6562       1.0000         .10000E-03   10000.    
    16 'norm      '    5.9140       1.0000         .10000E-03   10000.    
    17 'norm      '    .10412E-03   1.0000         .10000E-03   10000.    
    18 'Prefactor '    .10077E-03   1.0000         .10000E-03   10000.    
    19 'Normalizat'    .94579       1.0000         .10000E-01   10.000    
    20 'Prefactor '    1.0578       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=   3741.072     FROM MIGRAD    STATUS=CONVERGED    427 CALLS     2121 TOTAL
                     EDM=   .14E-10  STRATEGY=1  ERROR MATRIX UNCERTAINTY=   .3%

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor     .10000E-03    7.7740        .21535E-06** at limit **
   2  norm          .10000E-03    6.7822       -.46072E-07** at limit **
   3  norm          .10000E-03    2.2036        .84159E-08** at limit **
   4  Prefactor     57.853        109.93        .10215E-06    .11505E-06
   5  norm          .10000E-03    13.886       -.10196E-04** at limit **
   6  norm          3.1032        4.4363        .14343E-06   -.51150E-05
   7  Prefactor     .10000E-03    6.7663       -.53860E-06** at limit **
   8  Prefactor     20.174        16.955       -.18428E-07    .76545E-05
   9  Prefactor     .10000E-03    3.3150        .69458E-06** at limit **
  10  Prefactor     .10000E-03    17.278        .42120E-06** at limit **
  11  norm          7.3625        3.8055       -.12774E-06   -.12268E-04
  12  norm          1.5283        2.2863        .81435E-07    .10615E-04
  13  Prefactor     5.4948        12.217       -.23468E-08   -.36158E-05
  14  Prefactor     .10000E-03    3.5818        .33227E-06** at limit **
  15  norm          5.6561        2.3852       -.15288E-07   -.17120E-04
  16  norm          5.9127        3.8160       -.28912E-06   -.13232E-03
  17  norm          .10000E-03    2.6437        .21327E-06** at limit **
  18  Prefactor     .10000E-03    64.847        .80841E-06** at limit **
  19  Normalizat    .94579        .22385       -.11577E-05   -.23293E-06
  20  Prefactor     1.0578        .25095        .70243E-06   -.33178E-04
                               ERR DEF=  .500    
Final values: 
  Prefactor  = 0.0001
  norm       = 0.0001
  norm       = 0.0001
  Prefactor  = 57.8534
  norm       = 0.0001
  norm       = 3.10322
  Prefactor  = 0.0001
  Prefactor  = 20.1735
  Prefactor  = 0.0001
  Prefactor  = 0.0001
  norm       = 7.36246
  norm       = 1.52827
  Prefactor  = 5.49476
  Prefactor  = 0.0001
  norm       = 5.65611
  norm       = 5.91274
  norm       = 0.0001
  Prefactor  = 0.0001
  Normalizat = 0.945789
  Prefactor  = 1.0578
 **********
 **   18 **HESSE 
 **********

 FCN=   3741.072     FROM HESSE     STATUS=OK           293 CALLS     2414 TOTAL
                     EDM=   .51E-10    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  Prefactor     .10000E-03    7.7823        .16657E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   2  norm          .10000E-03    6.7877        .15558E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   3  norm          .10000E-03    2.2101        .88669E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   4  Prefactor     57.853        110.12        .26285E-03   -1.4185    
   5  norm          .10000E-03    13.821        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   6  norm          3.1032        4.4279        .14746E-03   -1.5356    
   7  Prefactor     .10000E-03    6.8698        .15517E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   8  Prefactor     20.174        16.939        .89163E-04   -1.4809    
   9  Prefactor     .10000E-03    3.3527        .10872E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  10  Prefactor     .10000E-03    17.388        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  11  norm          7.3625        3.7914        .81848E-04   -1.5165    
  12  norm          1.5283        2.2556        .10834E-03   -1.5461    
  13  Prefactor     5.4948        12.198        .17140E-03   -1.5239    
  14  Prefactor     .10000E-03    3.6088        .11295E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  15  norm          5.6561        2.3858        .58696E-04   -1.5232    
  16  norm          5.9127        3.7665        .88792E-04   -1.5222    
  17  norm          .10000E-03    10.721        .18681E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  18  Prefactor     .10000E-03    64.953        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  19  Normalizat    .94579        .26947        .24649E-03   -.94869    
  20  Prefactor     1.0578        .30399        .26768E-03   -.90827    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 5.09292e-11
Minuit parameter uncertainties:
  1  8.79963e-07
  2  5.57297e-08
  3  8.09128e-07
  4  110.507
  5  5.85809e-05
  6  4.42833
  7  1.31675e-05
  8  16.9434
  9  5.00221e-07
  10  3.68851e-05
  11  3.79149
  12  2.2557
  13  12.204
  14  8.67548e-06
  15  2.38584
  16  3.76667
  17  0.000111441
  18  4.23972e-05
  19  0.269858
  20  0.304484
Done.

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

Extracting fit parameters...

4FGL J0111.5-2546
   Spectrum: PowerLaw
227    Prefactor:  2.017e+01  1.694e+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.058e+00  3.045e-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:  9.458e-01  2.699e-01  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Fixed Index): 2.51
Ra Dec: 17.897 -25.778
Photon Index (Fixed Index): 2.40 +/- 0.00
Photon Flux (Fixed Index): 5.29e-08 +/- 4.44e-08
Energy Flux (Fixed Index): 1.74e-05 +/- 1.46e-05

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

Saving results to:
/scratch/kocevski/381936/likelihoodResults_481420801_481680001_4FGL_J0111.5-2546_daily_bin934.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) = 3740.80438615
delta logL = 0.267803344493

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

MINUIT Return Code (Free Index): 0
logL (Free Index) = 3740.80322634
delta logL = 0.26896315079

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'Prefactor '    28.754       1.0000         .10000E-03   10000.    
     2 'Index     '    1.9076       1.0000          .0000       10.000    
     3 'Normalizat'    .97252       1.0000         .10000E-01   10.000    
     4 'Prefactor '    1.0348       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.

 MIGRAD WILL VERIFY CONVERGENCE AND ERROR MATRIX.

 FCN=   3740.803     FROM MIGRAD    STATUS=CONVERGED     91 CALLS      303 TOTAL
                     EDM=   .32E-10    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor     28.760        24.076        .74714E-04    .37280E-05
   2  Index         1.9076        .61769        .71801E-02    .35284E-04
   3  Normalizat    .97250        .26405        .24355E-03    .12020E-04
   4  Prefactor     1.0348        .30117        .27013E-03   -.85225E-05
                               ERR DEF=  .500    
Final values: 
  Prefactor  = 28.76
  Index      = 1.90755
  Normalizat = 0.972498
  Prefactor  = 1.03483
 **********
 **   18 **HESSE 
 **********

 FCN=   3740.803     FROM HESSE     STATUS=OK            25 CALLS      328 TOTAL
                     EDM=   .36E-11    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  Prefactor     28.760        24.003        .29886E-05   -1.4635    
   2  Index         1.9076        .61575        .14360E-02   -.66682    
   3  Normalizat    .97250        .26430        .97420E-05   -.93958    
   4  Prefactor     1.0348        .30148        .10805E-04   -.91577    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 3.55621e-12
Minuit parameter uncertainties:
  1  24.0112
  2  0.618302
  3  0.264656
  4  0.301971
shell-init: error retrieving current directory: getcwd: cannot access parent directories: No such file or directory
rmdir: failed to remove `/scratch/kocevski/381936': 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) = 3740.80322623
delta logL = 0.268963263184

Extracting fit parameters...

4FGL J0111.5-2546
   Spectrum: PowerLaw
227    Prefactor:  2.876e+01  2.401e+01  1.000e-04  1.000e+04 ( 1.000e-13)
228        Index:  1.908e+00  6.183e-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.035e+00  3.020e-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:  9.725e-01  2.647e-01  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Free Index): 3.07
Ra Dec: 17.897 -25.778
Photon Index (Free Index): 1.91 +/- 0.62
Photon Flux (Free Index): 3.46e-08 +/- 3.87e-08
Energy Flux (Free Index): 3.04e-05 +/- 3.80e-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/381936/cmap_HighResolution_481420801_481680001_4FGL_J0111.5-2546_daily_bin934.png

Cleaning up...

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

Updating database...

UPDATE lightcurve_data_v2 SET energy_flux_upper_limit='1.21e-02', comment='SUCCESS', photon_flux='5.29e-08', energy_flux2='3.04e-05', photon_flux_error='4.44e-08', dlogl='2.69e-01', energy_flux='1.74e-05', photon_flux2='3.46e-08', job_status='DONE', time_completed='2021-08-13 14:30:41.073383', photon_index_error2='0.62', photon_index2='1.91', ts='2.51', fit_tolerance='1e-08', GAL='1.06', photon_index_error='0.00', photon_flux_upper_limit='1.56e-07', energy_flux_error2='3.80e-05', EG='0.95', time_epoch_completed='1628890241.07', return_code='0', job_id='381936', GAL2='1.03', EG2='0.97', return_code2='0', energy_flux_error='1.46e-05', photon_flux_error2='3.87e-08', ts2='3.07', photon_index='2.40' WHERE bin_id='934' AND source_name='4FGL J0111.5-2546' AND cadence='daily';

Database successfully updated.


Analysis Complete.


Fri Aug 13 14:30:41 PDT 2021


------------------------------------------------------------
Sender: LSF System <lsf@bullet0195>
Subject: Job 381936: <4FGL_J0111.5-2546_daily_bin934> in cluster <slac> Done

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

Your job looked like:

------------------------------------------------------------
# LSBATCH: User input
/nfs/farm/g/glast/g/LCRepository/Likelihood/Scripts/LikelihoodAnalysis.py 4FGL_J0111.5-2546_daily_bin934 17.8966 -25.7778 481420801 481680001 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 :                                   584.46 sec.
    Max Memory :                                 1255 MB
    Average Memory :                             277.55 MB
    Total Requested Memory :                     -
    Delta Memory :                               -
    Max Swap :                                   -
    Max Processes :                              5
    Max Threads :                                21
    Run time :                                   604 sec.
    Turnaround time :                            622 sec.

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

