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


Performing analysis on: 4FGL_J0111.5-2546_daily_bin1013
RA = 17.8966, Dec = -25.7778
tmin = 501897601, tmax = 502156801
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='382052', job_status='RUN', time_executed='2021-08-13 14:25:01.709822', time_epoch_executed='1628889901.71' WHERE source_name='4FGL J0111.5-2546' and cadence='daily' and bin_id='1013'

Database successfully updated.
Done.

Creating custom output directory:
/scratch/kocevski/382052

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

Retrieving the FT1 file...

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

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

Retrieving 46 files...
Done.


Merging files...

Checksum keywords updated successfully.

Merged file saved to:
/scratch/kocevski/382052/ft1_4FGL_J0111.5-2546_daily_bin1013.fits


Retrieving the FT1 file...

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

Retrieving 46 files...
Done.


Merging files...

Merged file saved to:
/scratch/kocevski/382052/ft2_4FGL_J0111.5-2546_daily_bin1013.fits


Selecting the photons:
time -p gtselect infile=/scratch/kocevski/382052/ft1_4FGL_J0111.5-2546_daily_bin1013.fits outfile=/scratch/kocevski/382052/ft1_filteredMKT_4FGL_J0111.5-2546_daily_bin1013.fits ra=17.8966 dec=-25.7778 rad=12.0 tmin=501897601.0 tmax=502156801.0 emin=100.0 emax=100000.0 zmin=0.0 zmax=90.0 evclass=128 evtype="INDEF" convtype=-1 phasemin=0.0 phasemax=1.0 evtable="EVENTS" chatter=2 clobber=yes debug=no gui=no mode="ql"

WARNING: version mismatch between CFITSIO header (v3.43) and linked library (v3.41).

Done.
real 8.71
user 3.28
sys 5.31

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

Selecting the good time intervals:
time -p gtmktime scfile=/scratch/kocevski/382052/ft2_4FGL_J0111.5-2546_daily_bin1013.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/382052/ft1_filteredMKT_4FGL_J0111.5-2546_daily_bin1013.fits evtable="EVENTS" outfile="/scratch/kocevski/382052/ft1_filtered_4FGL_J0111.5-2546_daily_bin1013.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 5.73
user 0.37
sys 5.25

Generating the livetime cube:
time -p gtltcube evfile="/scratch/kocevski/382052/ft1_filtered_4FGL_J0111.5-2546_daily_bin1013.fits" evtable="EVENTS" scfile=/scratch/kocevski/382052/ft2_4FGL_J0111.5-2546_daily_bin1013.fits sctable="SC_DATA" outfile=/scratch/kocevski/382052/ltcube_501897601_502156801_4FGL_J0111.5-2546_daily_bin1013.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/382052/ft2_4FGL_J0111.5-2546_daily_bin1013.fits
.....................!
real 20.77
user 14.56
sys 6.08

Generating the exposure map:
time -p gtexpmap evfile=/scratch/kocevski/382052/ft1_filtered_4FGL_J0111.5-2546_daily_bin1013.fits evtable="EVENTS" scfile=/scratch/kocevski/382052/ft2_4FGL_J0111.5-2546_daily_bin1013.fits sctable="SC_DATA" expcube=/scratch/kocevski/382052/ltcube_501897601_502156801_4FGL_J0111.5-2546_daily_bin1013.fits outfile=/scratch/kocevski/382052/expmap_501897601_502156801_4FGL_J0111.5-2546_daily_bin1013.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/382052/ltcube_501897601_502156801_4FGL_J0111.5-2546_daily_bin1013.fits
.....................!
real 199.07
user 187.06
sys 11.14

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/382052/ft1_filtered_4FGL_J0111.5-2546_daily_bin1013.fits scfile=/scratch/kocevski/382052/ft2_4FGL_J0111.5-2546_daily_bin1013.fits outfile=/scratch/kocevski/382052/cmap_501897601_502156801_4FGL_J0111.5-2546_daily_bin1013.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 5.58
user 0.41
sys 5.11

Creating the high resolution counts map:
time -p gtbin evfile=/scratch/kocevski/382052/ft1_filtered_4FGL_J0111.5-2546_daily_bin1013.fits scfile=/scratch/kocevski/382052/ft2_4FGL_J0111.5-2546_daily_bin1013.fits outfile=/scratch/kocevski/382052/cmap_HighResolution_501897601_502156801_4FGL_J0111.5-2546_daily_bin1013.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 5.51
user 0.41
sys 5.08

Computing the diffuse response:
time -p gtdiffrsp evfile=/scratch/kocevski/382052/ft1_filtered_4FGL_J0111.5-2546_daily_bin1013.fits evtable="EVENTS" scfile=/scratch/kocevski/382052/ft2_4FGL_J0111.5-2546_daily_bin1013.fits sctable="SC_DATA" srcmdl=/scratch/kocevski/382052/Model_4FGL_J0111.5-2546_daily_bin1013.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/382052/ft1_filtered_4FGL_J0111.5-2546_daily_bin1013.fits.....................!
real 57.73
user 49.63
sys 7.91

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

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

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

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      '    8.2499       1.0000         .10000E-03   10000.    
     3 'norm      '    3.2621       1.0000         .10000E-03   10000.    
     4 'Prefactor '    .10025E-03   1.0000         .10000E-03   10000.    
     5 'norm      '    11.434       1.0000         .10000E-03   10000.    
     6 'norm      '    1.1293       1.0000         .10000E-03   10000.    
     7 'Prefactor '    .10000E-03   1.0000         .10000E-03   10000.    
     8 'Prefactor '    .11805E-01   1.0000         .10000E-03   10000.    
     9 'Prefactor '    .10191E-03   1.0000         .10000E-03   10000.    
    10 'Prefactor '    .10002E-03   1.0000         .10000E-03   10000.    
    11 'norm      '    1.6666       1.0000         .10000E-03   10000.    
    12 'norm      '    .90002       1.0000         .10000E-03   10000.    
    13 'Prefactor '    9.0413       1.0000         .10000E-03   10000.    
    14 'Prefactor '    1.1180       1.0000         .10000E-03   10000.    
    15 'norm      '    .10162E-03   1.0000         .10000E-03   10000.    
    16 'norm      '    .10000E-03   1.0000         .10000E-03   10000.    
    17 'norm      '    .10000E-03   1.0000         .10000E-03   10000.    
    18 'Prefactor '    .10000E-03   1.0000         .10000E-03   10000.    
    19 'Normalizat'    .81587       1.0000         .10000E-01   10.000    
    20 'Prefactor '    .92984       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=   6351.982     FROM MIGRAD    STATUS=CONVERGED    425 CALLS     1780 TOTAL
                     EDM=   .15E-07    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor     .10000E-03    3.5960        .90712E-02** at limit **
   2  norm          8.2501        7.4166        .34895E-02    .75824E-03
   3  norm          3.2628        4.2257        .56055E-02    .47381E-02
   4  Prefactor     .10002E-03    48.763        .90712E-02** at limit **
   5  norm          11.434        8.1226        .29619E-02    .86203E-03
   6  norm          1.1293        1.4288        .10998E-01    .51389E-04
   7  Prefactor     .10000E-03    1.8802        .90712E-02** at limit **
   8  Prefactor     .10000E-03    4.6472        .63052E-01** at limit **
   9  Prefactor     .10000E-03    1.3803        .35596E-01** at limit **
  10  Prefactor     .10000E-03    3.9623        .90712E-02** at limit **
  11  norm          1.6668        1.3856        .81662E-02    .14741E-02
  12  norm          .90000        1.2286        .20128E-01    .12519E-02
  13  Prefactor     9.0408        8.2765        .33323E-02    .10760E-02
  14  Prefactor     1.1178        2.2652        .11119E-01    .18298E-02
  15  norm          .10000E-03    .47614        .19457E-01** at limit **
  16  norm          .10000E-03    .41339        .90712E-02** at limit **
  17  norm          .10000E-03    .42796        .90712E-02** at limit **
  18  Prefactor     .10000E-03    11.285        .90712E-02** at limit **
  19  Normalizat    .81582        .12385        .43817E-01    .13422E-02
  20  Prefactor     .92985        .14896        .45384E-01    .12333E-02
                               ERR DEF=  .500    
Final values: 
  Prefactor  = 0.0001
  norm       = 8.25007
  norm       = 3.26283
  Prefactor  = 0.000100018
  norm       = 11.4335
  norm       = 1.12931
  Prefactor  = 0.0001
  Prefactor  = 0.0001
  Prefactor  = 0.0001
  Prefactor  = 0.0001
  norm       = 1.66682
  norm       = 0.9
  Prefactor  = 9.0408
  Prefactor  = 1.11785
  norm       = 0.0001
  norm       = 0.0001
  norm       = 0.0001
  Prefactor  = 0.000100001
  Normalizat = 0.815816
  Prefactor  = 0.929847
 **********
 **   18 **HESSE 
 **********

 FCN=   6351.982     FROM HESSE     STATUS=OK           297 CALLS     2077 TOTAL
                     EDM=   .13E-07    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  Prefactor     .10000E-03    3.6066        .14760E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   2  norm          8.2501        7.4183        .13958E-03   -1.5133    
   3  norm          3.2628        4.2129        .17865E-03   -1.5347    
   4  Prefactor     .10002E-03    48.793        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   5  norm          11.434        8.1236        .11848E-03   -1.5032    
   6  norm          1.1293        1.4034        .10423E-03   -1.5495    
   7  Prefactor     .10000E-03    1.8919        .10668E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   8  Prefactor     .10000E-03    5.0530        .58181E-01   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   9  Prefactor     .10000E-03    2.3023        .18113E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  10  Prefactor     .10000E-03    3.9836        .15469E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  11  norm          1.6668        1.3706        .81266E-04   -1.5450    
  12  norm          .90000        1.0697        .98560E-03   -1.5518    
  13  Prefactor     9.0408        8.2126        .13329E-03   -1.5107    
  14  Prefactor     1.1178        2.1873        .16095E-03   -1.5497    
  15  norm          .10000E-03    1.2048        .10669E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  16  norm          .10000E-03    .42018        .50008E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  17  norm          .10000E-03    .43077        .50907E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  18  Prefactor     .10000E-03    11.295        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  19  Normalizat    .81582        .14595        .19865E-03   -.99485    
  20  Prefactor     .92985        .17656        .22802E-03   -.95106    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 1.28923e-08
Minuit parameter uncertainties:
  1  2.86949e-05
  2  7.4191
  3  4.21328
  4  0.00189614
  5  8.12435
  6  1.4034
  7  7.77729e-06
  8  6.38977e-05
  9  1.69719e-06
  10  1.18413e-06
  11  1.37058
  12  1.06975
  13  8.21365
  14  2.18749
  15  3.47815e-06
  16  9.2537e-07
  17  1.45419e-06
  18  0.000254644
  19  0.14602
  20  0.176673
Done.

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

Extracting fit parameters...

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

GAL_V02
   Spectrum: PowerLaw
555    Prefactor:  9.298e-01  1.767e-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.158e-01  1.460e-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: 4.35e-08 ph cm-2 s-1
Energy Flux Upper Limit: 3.36e-03 MeV cm-2 s-1

Saving results to:
/scratch/kocevski/382052/likelihoodResults_501897601_502156801_4FGL_J0111.5-2546_daily_bin1013.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) = 6351.98177961
delta logL = -7.47881304051e-05

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

MINUIT Return Code (Free Index): 102
logL (Free Index) = 6351.98162584
delta logL = 7.89871883171e-05

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'Prefactor '    .45396E-02   1.0000         .10000E-03   10000.    
     2 'Index     '    2.2322       1.0000          .0000       10.000    
     3 'Normalizat'    .81591       1.0000         .10000E-01   10.000    
     4 'Prefactor '    .92989       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=   6351.932     FROM MIGRAD    STATUS=CONVERGED    124 CALLS      301 TOTAL
                     EDM=   .53E-09    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor     1.8965        6.7136        .19025E-02   -.34461E-03
   2  Index         1.6744        1.3123        .21321E-01    .13814E-04
   3  Normalizat    .81774        .14379        .19843E-03   -.49259E-03
   4  Prefactor     .92552        .17642        .22848E-03   -.53477E-03
                               ERR DEF=  .500    
Final values: 
  Prefactor  = 1.89649
  Index      = 1.67438
  Normalizat = 0.817736
  Prefactor  = 0.925519
 **********
 **   18 **HESSE 
 **********

 FCN=   6351.932     FROM HESSE     STATUS=OK            27 CALLS      328 TOTAL
                     EDM=   .57E-09    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  Prefactor     1.8965        6.6959        .76101E-04   -1.5433    
   2  Index         1.6744        1.3108        .85285E-03   -.72766    
   3  Normalizat    .81774        .14391        .39686E-04   -.99414    
   4  Prefactor     .92552        .17656        .45696E-04   -.95255    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 5.68772e-10
Minuit parameter uncertainties:
  1  6.69852
  2  1.3393
  3  0.143974
  4  0.176672
shell-init: error retrieving current directory: getcwd: cannot access parent directories: No such file or directory
rmdir: failed to remove `/scratch/kocevski/382052': 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) = 6351.93238004
delta logL = 0.0493247810537

Extracting fit parameters...

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

GAL_V02
   Spectrum: PowerLaw
555    Prefactor:  9.255e-01  1.767e-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.177e-01  1.440e-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/382052/cmap_HighResolution_501897601_502156801_4FGL_J0111.5-2546_daily_bin1013.png

Cleaning up...

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

Updating database...

UPDATE lightcurve_data_v2 SET energy_flux_upper_limit='3.36e-03', job_status='DONE', photon_flux_upper_limit='4.35e-08', time_completed='2021-08-13 14:36:09.602406', job_id='382052', GAL2='0.93', fit_tolerance='1e-08', EG2='0.82', EG='0.82', time_epoch_completed='1628890569.6', return_code2='0', ts='-0.00', comment='SUCCESS', return_code='0', GAL='0.93', dlogl='4.93e-02', ts2='0.10', photon_index_error='0.00', photon_index='2.40' WHERE bin_id='1013' AND source_name='4FGL J0111.5-2546' AND cadence='daily';

Database successfully updated.


Analysis Complete.


Fri Aug 13 14:36:09 PDT 2021


------------------------------------------------------------
Sender: LSF System <lsf@bullet0225>
Subject: Job 382052: <4FGL_J0111.5-2546_daily_bin1013> in cluster <slac> Done

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

Your job looked like:

------------------------------------------------------------
# LSBATCH: User input
/nfs/farm/g/glast/g/LCRepository/Likelihood/Scripts/LikelihoodAnalysis.py 4FGL_J0111.5-2546_daily_bin1013 17.8966 -25.7778 501897601 502156801 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 :                                   744.53 sec.
    Max Memory :                                 1094 MB
    Average Memory :                             263.07 MB
    Total Requested Memory :                     -
    Delta Memory :                               -
    Max Swap :                                   -
    Max Processes :                              5
    Max Threads :                                21
    Run time :                                   863 sec.
    Turnaround time :                            943 sec.

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

