/nfs/farm/g/glast/g/LCRepository/bin/miniconda2/envs/fermitools_v1.0.5/lib/python2.7/site-packages/matplotlib/font_manager.py:281: UserWarning: Matplotlib is building the font cache using fc-list. This may take a moment.
  'Matplotlib is building the font cache using fc-list. '
/nfs/farm/g/glast/g/LCRepository/bin/miniconda2/envs/fermitools_v1.0.5/lib/python2.7/site-packages/pyfits/__init__.py:22: PyFITSDeprecationWarning: PyFITS is deprecated, please use astropy.io.fits
  PyFITSDeprecationWarning)  # noqa

Likelihood Analysis Tool
Support Contact: Daniel Kocevski (daniel.kocevski@nasa.gov)


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


Performing analysis on: 4FGL_J0843.0-0853_daily_bin1080
RA = 130.774, Dec = -8.8878
tmin = 519264001, tmax = 519523201
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='686367', job_status='RUN', time_executed='2021-08-30 07:15:10.576450', time_epoch_executed='1630332910.58' WHERE source_name='4FGL J0843.0-0853' and cadence='daily' and bin_id='1080'

Database successfully updated.
Done.

Creating custom output directory:
/scratch/kocevski/686367

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

Retrieving the FT1 file...

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

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

Retrieving 46 files...
Done.


Merging files...

Checksum keywords updated successfully.

Merged file saved to:
/scratch/kocevski/686367/ft1_4FGL_J0843.0-0853_daily_bin1080.fits


Retrieving the FT1 file...

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

Retrieving 46 files...
Done.


Merging files...

Merged file saved to:
/scratch/kocevski/686367/ft2_4FGL_J0843.0-0853_daily_bin1080.fits


Selecting the photons:
time -p gtselect infile=/scratch/kocevski/686367/ft1_4FGL_J0843.0-0853_daily_bin1080.fits outfile=/scratch/kocevski/686367/ft1_filteredMKT_4FGL_J0843.0-0853_daily_bin1080.fits ra=130.774 dec=-8.8878 rad=12.0 tmin=519264001.0 tmax=519523201.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.74
user 3.28
sys 7.84

Adding sun position to ft2 file:
/nfs/farm/g/glast/g/LCRepository/Repository/bin/sunpos /scratch/kocevski/686367/ft2_4FGL_J0843.0-0853_daily_bin1080.fits

Selecting the good time intervals:
time -p gtmktime scfile=/scratch/kocevski/686367/ft2_4FGL_J0843.0-0853_daily_bin1080.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/686367/ft1_filteredMKT_4FGL_J0843.0-0853_daily_bin1080.fits evtable="EVENTS" outfile="/scratch/kocevski/686367/ft1_filtered_4FGL_J0843.0-0853_daily_bin1080.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 9.77
user 0.34
sys 7.85

Generating the livetime cube:
time -p gtltcube evfile="/scratch/kocevski/686367/ft1_filtered_4FGL_J0843.0-0853_daily_bin1080.fits" evtable="EVENTS" scfile=/scratch/kocevski/686367/ft2_4FGL_J0843.0-0853_daily_bin1080.fits sctable="SC_DATA" outfile=/scratch/kocevski/686367/ltcube_519264001_519523201_4FGL_J0843.0-0853_daily_bin1080.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/686367/ft2_4FGL_J0843.0-0853_daily_bin1080.fits
.....................!
real 21.75
user 11.73
sys 8.99

Generating the exposure map:
time -p gtexpmap evfile=/scratch/kocevski/686367/ft1_filtered_4FGL_J0843.0-0853_daily_bin1080.fits evtable="EVENTS" scfile=/scratch/kocevski/686367/ft2_4FGL_J0843.0-0853_daily_bin1080.fits sctable="SC_DATA" expcube=/scratch/kocevski/686367/ltcube_519264001_519523201_4FGL_J0843.0-0853_daily_bin1080.fits outfile=/scratch/kocevski/686367/expmap_519264001_519523201_4FGL_J0843.0-0853_daily_bin1080.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/686367/ltcube_519264001_519523201_4FGL_J0843.0-0853_daily_bin1080.fits
.....................!
real 205.70
user 185.53
sys 14.18

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 158 point sources and 0 extended sources

Setting source of interest to:
4FGL J0843.0-0853 @ 130.774 -8.8878

Creating the counts map:
time -p gtbin evfile=/scratch/kocevski/686367/ft1_filtered_4FGL_J0843.0-0853_daily_bin1080.fits scfile=/scratch/kocevski/686367/ft2_4FGL_J0843.0-0853_daily_bin1080.fits outfile=/scratch/kocevski/686367/cmap_519264001_519523201_4FGL_J0843.0-0853_daily_bin1080.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=130.774 yref=-8.8878 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 9.53
user 0.39
sys 7.67

Creating the high resolution counts map:
time -p gtbin evfile=/scratch/kocevski/686367/ft1_filtered_4FGL_J0843.0-0853_daily_bin1080.fits scfile=/scratch/kocevski/686367/ft2_4FGL_J0843.0-0853_daily_bin1080.fits outfile=/scratch/kocevski/686367/cmap_HighResolution_519264001_519523201_4FGL_J0843.0-0853_daily_bin1080.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=130.774 yref=-8.8878 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.41
user 0.40
sys 7.64

Computing the diffuse response:
time -p gtdiffrsp evfile=/scratch/kocevski/686367/ft1_filtered_4FGL_J0843.0-0853_daily_bin1080.fits evtable="EVENTS" scfile=/scratch/kocevski/686367/ft2_4FGL_J0843.0-0853_daily_bin1080.fits sctable="SC_DATA" srcmdl=/scratch/kocevski/686367/Model_4FGL_J0843.0-0853_daily_bin1080.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/686367/ft1_filtered_4FGL_J0843.0-0853_daily_bin1080.fits.....................!
real 97.05
user 83.07
sys 11.77

Creating the likelihood object...
obs = UnbinnedObs('/scratch/kocevski/686367/ft1_filtered_4FGL_J0843.0-0853_daily_bin1080.fits', '/scratch/kocevski/686367/ft2_4FGL_J0843.0-0853_daily_bin1080.fits', expMap='/scratch/kocevski/686367/expmap_519264001_519523201_4FGL_J0843.0-0853_daily_bin1080.fits', expCube='/scratch/kocevski/686367/ltcube_519264001_519523201_4FGL_J0843.0-0853_daily_bin1080.fits', irfs='P8R3_SOURCE_V2')
like = UnbinnedAnalysis(obs, '/scratch/kocevski/686367/Model_4FGL_J0843.0-0853_daily_bin1080.xml', optimizer='MINUIT')

Using source of interest name: '4FGL J0843.0-0853'

4FGL J0843.0-0853
   Spectrum: PowerLaw
301    Prefactor:  2.823e+00  0.000e+00  1.000e-04  1.000e+04 ( 1.000e-13)
302        Index:  2.467e+00  0.000e+00  0.000e+00  1.000e+01 (-1.000e+00) fixed
303        Scale:  8.954e+02  0.000e+00  3.000e+01  5.000e+05 ( 1.000e+00) fixed


Likelihood Fit Parameters:
Event file(s): /scratch/kocevski/686367/ft1_filtered_4FGL_J0843.0-0853_daily_bin1080.fits
Spacecraft file(s): /scratch/kocevski/686367/ft2_4FGL_J0843.0-0853_daily_bin1080.fits
Exposure map: /scratch/kocevski/686367/expmap_519264001_519523201_4FGL_J0843.0-0853_daily_bin1080.fits
Exposure cube: /scratch/kocevski/686367/ltcube_519264001_519523201_4FGL_J0843.0-0853_daily_bin1080.fits
IRFs: P8R3_SOURCE_V2
Source model file: /scratch/kocevski/686367/Model_4FGL_J0843.0-0853_daily_bin1080.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) = 7282.38795991

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

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

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'Prefactor '    7.7714       1.0000         .10000E-03   10000.    
     2 'norm      '    4.4841       1.0000         .10000E-03   10000.    
     3 'Prefactor '    9.7042       1.0000         .10000E-03   10000.    
     4 'norm      '    .49377       1.0000         .10000E-03   10000.    
     5 'Prefactor '    4.4810       1.0000         .10000E-03   10000.    
     6 'Prefactor '    2.3373       1.0000         .10000E-03   10000.    
     7 'norm      '    .10005E-03   1.0000         .10000E-03   10000.    
     8 'norm      '    .10000E-03   1.0000         .10000E-03   10000.    
     9 'norm      '    3.9126       1.0000         .10000E-03   10000.    
    10 'Prefactor '    .12300E-03   1.0000         .10000E-03   10000.    
    11 'norm      '    .10013E-03   1.0000         .10000E-03   10000.    
    12 'norm      '    .10003E-03   1.0000         .10000E-03   10000.    
    13 'Prefactor '    20.001       1.0000         .10000E-03   10000.    
    14 'Prefactor '    .61262E-03   1.0000         .10000E-03   10000.    
    15 'Prefactor '    .10001E-03   1.0000         .10000E-03   10000.    
    16 'norm      '    4.8661       1.0000         .10000E-03   10000.    
    17 'Prefactor '    .10056E-03   1.0000         .10000E-03   10000.    
    18 'Prefactor '    .10017E-03   1.0000         .10000E-03   10000.    
    19 'Normalizat'    .91977       1.0000         .10000E-01   10.000    
    20 'Prefactor '    .81995       1.0000          .0000       10.000    
 **********
 **   15 **SET ERR    .5000    
 **********
 **********
 **   16 **SET GRAD    1.000    
 **********
 **********
 **   17 **MINIMIZE    .5270E+05   .2000E-04
 **********

 MIGRAD MINIMIZATION HAS CONVERGED.

 MIGRAD WILL VERIFY CONVERGENCE AND ERROR MATRIX.

 MIGRAD MINIMIZATION HAS CONVERGED.

 FCN=   7282.206     FROM MIGRAD    STATUS=CONVERGED    449 CALLS     2115 TOTAL
                     EDM=   .16E-09  STRATEGY=1  ERROR MATRIX UNCERTAINTY=   .8%

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor     7.7705        6.9704        .56823E-06    .33411E-04
   2  norm          4.4837        2.3430       -.49378E-07   -.34722E-04
   3  Prefactor     9.7023        7.4916       -.13445E-05   -.17850E-03
   4  norm          .49396        .56786       -.54697E-07   -.24847E-03
   5  Prefactor     4.4792        6.9521        .12822E-05    .28888E-04
   6  Prefactor     2.3376        3.9442        .31972E-06   -.12780E-03
   7  norm          .10000E-03    11.130       -.34328E-06** at limit **
   8  norm          .10000E-03    2.6091        .13773E-07** at limit **
   9  norm          3.9123        2.3657        .21285E-06   -.14332E-02
  10  Prefactor     .10000E-03    14.638       -.26999E-06** at limit **
  11  norm          .10000E-03    4.8693       -.31356E-07** at limit **
  12  norm          .10000E-03    1.4750        .59263E-07** at limit **
  13  Prefactor     20.001        6.8491       -.27147E-08   -.22259E-03
  14  Prefactor     .10000E-03    4.2918        .21556E-07** at limit **
  15  Prefactor     .10000E-03    1.8636       -.56184E-07** at limit **
  16  norm          4.8661        4.8232       -.83566E-06   -.13931E-03
  17  Prefactor     .10000E-03    20.582        .29579E-06** at limit **
  18  Prefactor     .10000E-03    26.240       -.75596E-06** at limit **
  19  Normalizat    .91962        .16825        .75897E-06    .43024E-05
  20  Prefactor     .82008        .10452       -.25094E-06    .76063E-04
                               ERR DEF=  .500    
Final values: 
  Prefactor  = 7.77046
  norm       = 4.48369
  Prefactor  = 9.70233
  norm       = 0.493958
  Prefactor  = 4.47924
  Prefactor  = 2.33759
  norm       = 0.0001
  norm       = 0.0001
  norm       = 3.91229
  Prefactor  = 0.000100005
  norm       = 0.0001
  norm       = 0.0001
  Prefactor  = 20.0006
  Prefactor  = 0.000100005
  Prefactor  = 0.0001
  norm       = 4.86615
  Prefactor  = 0.0001
  Prefactor  = 0.0001
  Normalizat = 0.919619
  Prefactor  = 0.820078
 **********
 **   18 **HESSE 
 **********

 FCN=   7282.206     FROM HESSE     STATUS=OK           315 CALLS     2430 TOTAL
                     EDM=   .13E-08    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  Prefactor     7.7705        6.9604        .14384E-03   -1.5150    
   2  norm          4.4837        2.3333        .89618E-04   -1.5284    
   3  Prefactor     9.7023        7.5209        .12864E-03   -1.5085    
   4  norm          .49396        .53973        .65927E-03   -1.5567    
   5  Prefactor     4.4792        6.9471        .19021E-03   -1.5285    
   6  Prefactor     2.3376        3.9379        .20763E-03   -1.5402    
   7  norm          .10000E-03    11.205        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   8  norm          .10000E-03    2.6238        .13459E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   9  norm          3.9123        4.8630        .10198E-02   -1.5312    
  10  Prefactor     .10000E-03    17.338        .10057       -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  11  norm          .10000E-03    4.9359        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  12  norm          .10000E-03    1.5079        .10110E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  13  Prefactor     20.001        6.8982        .44779E-03   -1.4813    
  14  Prefactor     .10000E-03    4.3580        .62208E-01   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  15  Prefactor     .10000E-03    1.8672        .11377E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  16  norm          4.8661        4.8332        .18099E-03   -1.5267    
  17  Prefactor     .10000E-03    20.840        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  18  Prefactor     .10000E-03    26.306        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  19  Normalizat    .91962        .19418        .27804E-03   -.95774    
  20  Prefactor     .82008        .12140        .18107E-03   -.98992    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 1.31779e-09
Minuit parameter uncertainties:
  1  6.96111
  2  2.33338
  3  7.52162
  4  0.539739
  5  6.94831
  6  3.9383
  7  2.83543e-05
  8  7.90166e-07
  9  4.86345
  10  0.000567662
  11  3.49538e-06
  12  7.58601e-07
  13  6.89849
  14  0.000290844
  15  9.64938e-07
  16  4.83361
  17  1.28308e-05
  18  3.01268e-05
  19  0.194328
  20  0.121435
Done.

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

Extracting fit parameters...

4FGL J0843.0-0853
   Spectrum: PowerLaw
301    Prefactor:  1.000e-04  5.677e-04  1.000e-04  1.000e+04 ( 1.000e-13)
302        Index:  2.467e+00  0.000e+00  0.000e+00  1.000e+01 (-1.000e+00) fixed
303        Scale:  8.954e+02  0.000e+00  3.000e+01  5.000e+05 ( 1.000e+00) fixed

GAL_V02
   Spectrum: PowerLaw
524    Prefactor:  8.201e-01  1.214e-01  0.000e+00  1.000e+01 ( 1.000e+00)
525        Index:  0.000e+00  0.000e+00 -1.000e+00  1.000e+00 ( 1.000e+00) fixed
526        Scale:  1.000e+02  0.000e+00  5.000e+01  2.000e+02 ( 1.000e+00) fixed

EG_v02
   Spectrum: FileFunction
523   Normalization:  9.196e-01  1.943e-01  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Fixed Index): -0.00
Ra Dec: 130.774 -8.888
Photon Flux Upper Limit: 7.49e-08 ph cm-2 s-1
Energy Flux Upper Limit: 5.82e-03 MeV cm-2 s-1

Saving results to:
/scratch/kocevski/686367/likelihoodResults_519264001_519523201_4FGL_J0843.0-0853_daily_bin1080.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) = 7282.20557953
delta logL = -1.87470495803e-05

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

MINUIT Return Code (Free Index): 102
logL (Free Index) = 7282.20557953
delta logL = -1.87457171705e-05

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'Prefactor '    .96359E-02   1.0000         .10000E-03   10000.    
     2 'Index     '    2.4671       1.0000          .0000       10.000    
     3 'Normalizat'    .91960       1.0000         .10000E-01   10.000    
     4 'Prefactor '    .82008       1.0000          .0000       10.000    
 **********
 **   15 **SET ERR    .5000    
 **********
 **********
 **   16 **SET GRAD    1.000    
 **********
 **********
 **   17 **MINIMIZE    .5270E+05   .2000E-04
 **********

 MIGRAD MINIMIZATION HAS CONVERGED.

 MIGRAD WILL VERIFY CONVERGENCE AND ERROR MATRIX.

 FCN=   7282.206     FROM MIGRAD    STATUS=CONVERGED     69 CALLS      245 TOTAL
                     EDM=   .85E-11    STRATEGY= 1      ERR MATRIX NOT POS-DEF

  EXT PARAMETER                APPROXIMATE        STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor     .10000E-03    .64465        .11896    ** at limit **
   2  Index         2.3541        6.1624        .50000       -.38237E-06
   3  Normalizat    .91962        .86737E-03    .45152E-01    .24242E-04
   4  Prefactor     .82008        .53926E-03    .43978E-01    .15117E-04
                               ERR DEF=  .500    
Final values: 
  Prefactor  = 0.000100001
  Index      = 2.3541
  Normalizat = 0.919619
  Prefactor  = 0.820077
 **********
 **   18 **HESSE 
 **********

 FCN=   7282.206     FROM HESSE     STATUS=NOT POSDEF    43 CALLS      288 TOTAL
                     EDM=   .93E-11    STRATEGY= 1      ERR MATRIX NOT POS-DEF

  EXT PARAMETER                APPROXIMATE     INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  Prefactor     .10000E-03    .80924        .10674       -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   2  Index         2.3541        5.9304        .50000       -.55763    
   3  Normalizat    .91962        .90644E-03    .27804E-03   -.95774    
   4  Prefactor     .82008        .56362E-03    .18107E-03   -.98992    
                               ERR DEF=  .500    
Minuit fit quality: 2   estimated distance: 9.32053e-12
Minuit parameter uncertainties:
  1  6.11584e-05
  2  32.8554
  3  0.000906439
  4  0.000563616
shell-init: error retrieving current directory: getcwd: cannot access parent directories: No such file or directory
rmdir: failed to remove `/scratch/kocevski/686367': 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): 102
logL (Free Index) = 7282.20556074
delta logL = 4.52382664662e-08

Extracting fit parameters...

4FGL J0843.0-0853
   Spectrum: PowerLaw
301    Prefactor:  1.000e-04  6.116e-05  1.000e-04  1.000e+04 ( 1.000e-13)
302        Index:  2.354e+00  3.286e+01  0.000e+00  1.000e+01 (-1.000e+00)
303        Scale:  8.954e+02  0.000e+00  3.000e+01  5.000e+05 ( 1.000e+00) fixed

GAL_V02
   Spectrum: PowerLaw
524    Prefactor:  8.201e-01  5.636e-04  0.000e+00  1.000e+01 ( 1.000e+00)
525        Index:  0.000e+00  0.000e+00 -1.000e+00  1.000e+00 ( 1.000e+00) fixed
526        Scale:  1.000e+02  0.000e+00  5.000e+01  2.000e+02 ( 1.000e+00) fixed

EG_v02
   Spectrum: FileFunction
523   Normalization:  9.196e-01  9.064e-04  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Free Index): -0.00
Ra Dec: 130.774 -8.888

Creating a high resolution counts map...
INFO: Auto-setting vmin to -1.000e-01 [aplpy.core]
INFO: Auto-setting vmax to  1.110e+00 [aplpy.core]
Saving /scratch/kocevski/686367/cmap_HighResolution_519264001_519523201_4FGL_J0843.0-0853_daily_bin1080.png

Cleaning up...

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

Updating database...

UPDATE lightcurve_data_v2 SET energy_flux_upper_limit='5.82e-03', job_status='DONE', photon_flux_upper_limit='7.49e-08', time_completed='2021-08-30 07:28:00.166269', job_id='686367', GAL2='0.82', fit_tolerance='1e-08', EG2='0.92', EG='0.92', time_epoch_completed='1630333680.17', return_code2='102', ts='-0.00', comment='SUCCESS', return_code='0', GAL='0.82', dlogl='4.52e-08', ts2='-0.00', photon_index_error='0.00', photon_index='2.47' WHERE bin_id='1080' AND source_name='4FGL J0843.0-0853' AND cadence='daily';

Database successfully updated.


Analysis Complete.


Mon Aug 30 07:28:00 PDT 2021


------------------------------------------------------------
Sender: LSF System <lsf@bullet0158>
Subject: Job 686367: <4FGL_J0843.0-0853_daily_bin1080> in cluster <slac> Done

Job <4FGL_J0843.0-0853_daily_bin1080> was submitted from host <rhel6-64e> by user <kocevski> in cluster <slac> at Mon Aug 30 07:11:29 2021
Job was executed on host(s) <bullet0158>, in queue <medium>, as user <kocevski> in cluster <slac> at Mon Aug 30 07:11:30 2021
</u/ki/kocevski> was used as the home directory.
</u/ki/kocevski> was used as the working directory.
Started at Mon Aug 30 07:11:30 2021
Terminated at Mon Aug 30 07:28:02 2021
Results reported at Mon Aug 30 07:28:02 2021

Your job looked like:

------------------------------------------------------------
# LSBATCH: User input
/nfs/farm/g/glast/g/LCRepository/Likelihood/Scripts/LikelihoodAnalysis.py 4FGL_J0843.0-0853_daily_bin1080 130.774 -8.8878 519264001 519523201 irfs=P8R3_SOURCE_V2 zmax=90 ROI=12 association=4FGL_J0843.0-0853 fixedModel=True performFreeIndexFit=True freeVariableSources=True nuke=True repositoryJob=True verbose=False
------------------------------------------------------------

Successfully completed.

Resource usage summary:

    CPU time :                                   868.00 sec.
    Max Memory :                                 1093 MB
    Average Memory :                             233.23 MB
    Total Requested Memory :                     -
    Delta Memory :                               -
    Max Swap :                                   -
    Max Processes :                              7
    Max Threads :                                21
    Run time :                                   991 sec.
    Turnaround time :                            993 sec.

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

