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


Performing analysis on: 4FGL_J0111.5-2546_daily_bin1040
RA = 17.8966, Dec = -25.7778
tmin = 508896001, tmax = 509155201
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='382091', job_status='RUN', time_executed='2021-08-13 14:23:43.964564', time_epoch_executed='1628889823.96' WHERE source_name='4FGL J0111.5-2546' and cadence='daily' and bin_id='1040'

Database successfully updated.
Done.

Creating custom output directory:
/scratch/kocevski/382091

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

Retrieving the FT1 file...

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

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

Retrieving 47 files...
Done.


Merging files...

Checksum keywords updated successfully.

Merged file saved to:
/scratch/kocevski/382091/ft1_4FGL_J0111.5-2546_daily_bin1040.fits


Retrieving the FT1 file...

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

Retrieving 47 files...
Done.


Merging files...

Merged file saved to:
/scratch/kocevski/382091/ft2_4FGL_J0111.5-2546_daily_bin1040.fits


Selecting the photons:
time -p gtselect infile=/scratch/kocevski/382091/ft1_4FGL_J0111.5-2546_daily_bin1040.fits outfile=/scratch/kocevski/382091/ft1_filteredMKT_4FGL_J0111.5-2546_daily_bin1040.fits ra=17.8966 dec=-25.7778 rad=12.0 tmin=508896001.0 tmax=509155201.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.70
user 3.46
sys 0.22

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

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

Generating the livetime cube:
time -p gtltcube evfile="/scratch/kocevski/382091/ft1_filtered_4FGL_J0111.5-2546_daily_bin1040.fits" evtable="EVENTS" scfile=/scratch/kocevski/382091/ft2_4FGL_J0111.5-2546_daily_bin1040.fits sctable="SC_DATA" outfile=/scratch/kocevski/382091/ltcube_508896001_509155201_4FGL_J0111.5-2546_daily_bin1040.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/382091/ft2_4FGL_J0111.5-2546_daily_bin1040.fits
.....................!
real 13.60
user 13.26
sys 0.31

Generating the exposure map:
time -p gtexpmap evfile=/scratch/kocevski/382091/ft1_filtered_4FGL_J0111.5-2546_daily_bin1040.fits evtable="EVENTS" scfile=/scratch/kocevski/382091/ft2_4FGL_J0111.5-2546_daily_bin1040.fits sctable="SC_DATA" expcube=/scratch/kocevski/382091/ltcube_508896001_509155201_4FGL_J0111.5-2546_daily_bin1040.fits outfile=/scratch/kocevski/382091/expmap_508896001_509155201_4FGL_J0111.5-2546_daily_bin1040.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/382091/ltcube_508896001_509155201_4FGL_J0111.5-2546_daily_bin1040.fits
.....................!
real 191.53
user 186.04
sys 5.11

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/382091/ft1_filtered_4FGL_J0111.5-2546_daily_bin1040.fits scfile=/scratch/kocevski/382091/ft2_4FGL_J0111.5-2546_daily_bin1040.fits outfile=/scratch/kocevski/382091/cmap_508896001_509155201_4FGL_J0111.5-2546_daily_bin1040.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.54
user 0.37
sys 0.15

Creating the high resolution counts map:
time -p gtbin evfile=/scratch/kocevski/382091/ft1_filtered_4FGL_J0111.5-2546_daily_bin1040.fits scfile=/scratch/kocevski/382091/ft2_4FGL_J0111.5-2546_daily_bin1040.fits outfile=/scratch/kocevski/382091/cmap_HighResolution_508896001_509155201_4FGL_J0111.5-2546_daily_bin1040.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.55
user 0.39
sys 0.15

Computing the diffuse response:
time -p gtdiffrsp evfile=/scratch/kocevski/382091/ft1_filtered_4FGL_J0111.5-2546_daily_bin1040.fits evtable="EVENTS" scfile=/scratch/kocevski/382091/ft2_4FGL_J0111.5-2546_daily_bin1040.fits sctable="SC_DATA" srcmdl=/scratch/kocevski/382091/Model_4FGL_J0111.5-2546_daily_bin1040.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/382091/ft1_filtered_4FGL_J0111.5-2546_daily_bin1040.fits.....................!
real 37.55
user 36.25
sys 1.21

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

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

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

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'Prefactor '    2.0677       1.0000         .10000E-03   10000.    
     2 'norm      '    .10001E-03   1.0000         .10000E-03   10000.    
     3 'norm      '    51.590       1.0000         .10000E-03   10000.    
     4 'Prefactor '    85.169       1.0000         .10000E-03   10000.    
     5 'norm      '    .10003E-03   1.0000         .10000E-03   10000.    
     6 'norm      '    .10003E-03   1.0000         .10000E-03   10000.    
     7 'Prefactor '    .10000E-03   1.0000         .10000E-03   10000.    
     8 'Prefactor '    .10004E-03   1.0000         .10000E-03   10000.    
     9 'Prefactor '    7.5445       1.0000         .10000E-03   10000.    
    10 'Prefactor '    .10089E-03   1.0000         .10000E-03   10000.    
    11 'norm      '    2.3988       1.0000         .10000E-03   10000.    
    12 'norm      '    .66721       1.0000         .10000E-03   10000.    
    13 'Prefactor '    35.263       1.0000         .10000E-03   10000.    
    14 'Prefactor '    .10004E-03   1.0000         .10000E-03   10000.    
    15 'norm      '    .69837       1.0000         .10000E-03   10000.    
    16 'norm      '    .10111E-03   1.0000         .10000E-03   10000.    
    17 'norm      '    .11603E-03   1.0000         .10000E-03   10000.    
    18 'Prefactor '    11.640       1.0000         .10000E-03   10000.    
    19 'Normalizat'    .58288       1.0000         .10000E-01   10.000    
    20 'Prefactor '    1.4259       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=   4123.833     FROM MIGRAD    STATUS=CONVERGED    412 CALLS     2156 TOTAL
                     EDM=   .27E-09  STRATEGY=1  ERROR MATRIX UNCERTAINTY=  1.5%

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor     2.0631        32.307        .34249E-06   -.24825E-04
   2  norm          .10000E-03    6.2617       -.14531E-06** at limit **
   3  norm          51.583        13.951       -.75923E-07   -.24066E-03
   4  Prefactor     85.141        123.93       -.21024E-05   -.53211E-04
   5  norm          .10000E-03    9.9587       -.32248E-06** at limit **
   6  norm          .10000E-03    1.3961       -.73980E-09** at limit **
   7  Prefactor     .10000E-03    2.1241        .82474E-08** at limit **
   8  Prefactor     .10000E-03    6.0233        .26373E-06** at limit **
   9  Prefactor     7.5433        4.7263        .12906E-06   -.30556E-04
  10  Prefactor     .10000E-03    14.489        .29763E-06** at limit **
  11  norm          2.3987        2.2316        .14538E-07   -.26322E-03
  12  norm          .66595        3.0416        .21671E-05   -.27378E-04
  13  Prefactor     35.278        24.287        .74375E-07   -.76712E-04
  14  Prefactor     .10000E-03    2.7101        .90910E-07** at limit **
  15  norm          .69707        1.7327        .59732E-06   -.57303E-04
  16  norm          .10000E-03    1.9531        .14514E-05** at limit **
  17  norm          .10000E-03    3.9074        .55122E-06** at limit **
  18  Prefactor     11.653        47.568        .36792E-05    .13394E-04
  19  Normalizat    .58333        .21231       -.35421E-05   -.30903E-03
  20  Prefactor     1.4257        .23860        .76809E-06   -.38807E-03
                               ERR DEF=  .500    
Final values: 
  Prefactor  = 2.06309
  norm       = 0.0001
  norm       = 51.5834
  Prefactor  = 85.1414
  norm       = 0.0001
  norm       = 0.0001
  Prefactor  = 0.0001
  Prefactor  = 0.0001
  Prefactor  = 7.54335
  Prefactor  = 0.0001
  norm       = 2.39874
  norm       = 0.665949
  Prefactor  = 35.2778
  Prefactor  = 0.0001
  norm       = 0.697067
  norm       = 0.000100001
  norm       = 0.0001
  Prefactor  = 11.653
  Normalizat = 0.583326
  Prefactor  = 1.4257
 **********
 **   18 **HESSE 
 **********

 FCN=   4123.833     FROM HESSE     STATUS=OK           289 CALLS     2445 TOTAL
                     EDM=   .75E-09    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  Prefactor     2.0631        32.557        .28731E-03   -1.5421    
   2  norm          .10000E-03    6.2660        .15695E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   3  norm          51.583        13.951        .55837E-04   -1.4270    
   4  Prefactor     85.141        124.50        .43530E-04   -1.3860    
   5  norm          .10000E-03    9.9824        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   6  norm          .10000E-03    1.4054        .74094E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   7  Prefactor     .10000E-03    2.1261        .91400E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   8  Prefactor     .10000E-03    6.0306        .15388E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   9  Prefactor     7.5433        4.7291        .10644E-03   -1.5159    
  10  Prefactor     .10000E-03    14.668        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  11  norm          2.3987        2.2235        .88731E-04   -1.5398    
  12  norm          .66595        3.1166        .20490E-03   -1.5545    
  13  Prefactor     35.278        24.438        .67485E-04   -1.4519    
  14  Prefactor     .10000E-03    2.7295        .10315E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  15  norm          .69707        1.7381        .12369E-03   -1.5541    
  16  norm          .10000E-03    2.6529        .16055E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  17  norm          .10000E-03    4.0759        .24725E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  18  Prefactor     11.653        47.901        .11742E-03   -1.5025    
  19  Normalizat    .58333        .24793        .29712E-03   -1.0870    
  20  Prefactor     1.4257        .28137        .23587E-03   -.79642    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 7.54359e-10
Minuit parameter uncertainties:
  1  16.4015
  2  4.2075e-06
  3  13.9517
  4  124.883
  5  1.04023e-06
  6  1.31822e-06
  7  8.11821e-07
  8  1.26535e-06
  9  4.72931
  10  3.44201e-05
  11  2.22359
  12  2.88135
  13  24.4446
  14  5.20087e-06
  15  1.73819
  16  0.000116633
  17  1.00548e-05
  18  47.3175
  19  0.2484
  20  0.28167
Done.

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

Extracting fit parameters...

4FGL J0111.5-2546
   Spectrum: PowerLaw
227    Prefactor:  1.000e-04  1.265e-06  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.426e+00  2.817e-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:  5.833e-01  2.484e-01  1.000e-02  1.000e+01 ( 1.000e+00)


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

Saving results to:
/scratch/kocevski/382091/likelihoodResults_508896001_509155201_4FGL_J0111.5-2546_daily_bin1040.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): 102
logL (Free Index) = 4123.83328529
delta logL = -0.00078054028927

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

MINUIT Return Code (Free Index): 0
logL (Free Index) = 4123.83250491
delta logL = -1.63187905855e-07

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'Prefactor '    .10239E-03   1.0000         .10000E-03   10000.    
     2 'Index     '    2.3814       1.0000          .0000       10.000    
     3 'Normalizat'    .58342       1.0000         .10000E-01   10.000    
     4 'Prefactor '    1.4256       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=   4123.833     FROM MIGRAD    STATUS=CONVERGED     90 CALLS      247 TOTAL
                     EDM=   .31E-08    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor     .10000E-03    9.6866        .15596E-02** at limit **
   2  Index         2.3634        6.1119        .50000        .24912E-04
   3  Normalizat    .58333        .23134        .29712E-03    .11709E-04
   4  Prefactor     1.4257        .27711        .23587E-03    .61695E-05
                               ERR DEF=  .500    
Final values: 
  Prefactor  = 0.000100004
  Index      = 2.36339
  Normalizat = 0.583327
  Prefactor  = 1.4257
 **********
 **   18 **HESSE 
 **********

 FCN=   4123.833     FROM HESSE     STATUS=OK            29 CALLS      276 TOTAL
                     EDM=   .14E-08    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  Prefactor     .10000E-03    6.2818        .31191E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   2  Index         2.3634        6.1816        .50000       -.55544    
   3  Normalizat    .58333        .23153        .11885E-04   -1.0870    
   4  Prefactor     1.4257        .27734        .94348E-05   -.79642    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 1.42893e-09
Minuit parameter uncertainties:
  1  0.000312461
  2  4.28338
  3  0.231919
  4  0.277634
shell-init: error retrieving current directory: getcwd: cannot access parent directories: No such file or directory
rmdir: failed to remove `/scratch/kocevski/382091': 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) = 4123.83250453
delta logL = 2.1911910153e-07

Extracting fit parameters...

4FGL J0111.5-2546
   Spectrum: PowerLaw
227    Prefactor:  1.000e-04  3.125e-04  1.000e-04  1.000e+04 ( 1.000e-13)
228        Index:  2.363e+00  4.283e+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:  1.426e+00  2.776e-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:  5.833e-01  2.319e-01  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Free Index): -0.00
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/382091/cmap_HighResolution_508896001_509155201_4FGL_J0111.5-2546_daily_bin1040.png

Cleaning up...

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

Updating database...

UPDATE lightcurve_data_v2 SET energy_flux_upper_limit='5.57e-03', job_status='DONE', photon_flux_upper_limit='7.21e-08', time_completed='2021-08-13 14:32:07.402481', job_id='382091', GAL2='1.43', fit_tolerance='1e-08', EG2='0.58', EG='0.58', time_epoch_completed='1628890327.4', return_code2='0', ts='-0.00', comment='SUCCESS', return_code='0', GAL='1.43', dlogl='2.19e-07', ts2='-0.00', photon_index_error='0.00', photon_index='2.40' WHERE bin_id='1040' AND source_name='4FGL J0111.5-2546' AND cadence='daily';

Database successfully updated.


Analysis Complete.


Fri Aug 13 14:32:07 PDT 2021


------------------------------------------------------------
Sender: LSF System <lsf@bullet0246>
Subject: Job 382091: <4FGL_J0111.5-2546_daily_bin1040> in cluster <slac> Done

Job <4FGL_J0111.5-2546_daily_bin1040> 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) <bullet0246>, in queue <medium>, as user <kocevski> in cluster <slac> at Fri Aug 13 14:22:04 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:04 2021
Terminated at Fri Aug 13 14:32:08 2021
Results reported at Fri Aug 13 14:32:08 2021

Your job looked like:

------------------------------------------------------------
# LSBATCH: User input
/nfs/farm/g/glast/g/LCRepository/Likelihood/Scripts/LikelihoodAnalysis.py 4FGL_J0111.5-2546_daily_bin1040 17.8966 -25.7778 508896001 509155201 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 :                                   501.30 sec.
    Max Memory :                                 1094 MB
    Average Memory :                             280.00 MB
    Total Requested Memory :                     -
    Delta Memory :                               -
    Max Swap :                                   -
    Max Processes :                              5
    Max Threads :                                21
    Run time :                                   603 sec.
    Turnaround time :                            698 sec.

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

