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


Performing analysis on: 4FGL_J0920.3-0443_daily_bin645
RA = 140.1, Dec = -4.7311
tmin = 406512001, tmax = 406771201
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='123246', job_status='RUN', time_executed='2021-08-31 06:34:45.560053', time_epoch_executed='1630416885.56' WHERE source_name='4FGL J0920.3-0443' and cadence='daily' and bin_id='645'

Database successfully updated.
Done.

Creating custom output directory:
/scratch/kocevski/123246

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

Retrieving the FT1 file...

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

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

Retrieving 47 files...
Done.


Merging files...

Checksum keywords updated successfully.

Merged file saved to:
/scratch/kocevski/123246/ft1_4FGL_J0920.3-0443_daily_bin645.fits


Retrieving the FT1 file...

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

Retrieving 47 files...
Done.


Merging files...

Merged file saved to:
/scratch/kocevski/123246/ft2_4FGL_J0920.3-0443_daily_bin645.fits


Selecting the photons:
time -p gtselect infile=/scratch/kocevski/123246/ft1_4FGL_J0920.3-0443_daily_bin645.fits outfile=/scratch/kocevski/123246/ft1_filteredMKT_4FGL_J0920.3-0443_daily_bin645.fits ra=140.1 dec=-4.7311 rad=12.0 tmin=406512001.0 tmax=406771201.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 7.25
user 3.30
sys 0.21

Adding sun position to ft2 file:
/nfs/farm/g/glast/g/LCRepository/Repository/bin/sunpos /scratch/kocevski/123246/ft2_4FGL_J0920.3-0443_daily_bin645.fits

Selecting the good time intervals:
time -p gtmktime scfile=/scratch/kocevski/123246/ft2_4FGL_J0920.3-0443_daily_bin645.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/123246/ft1_filteredMKT_4FGL_J0920.3-0443_daily_bin645.fits evtable="EVENTS" outfile="/scratch/kocevski/123246/ft1_filtered_4FGL_J0920.3-0443_daily_bin645.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 4.02
user 0.35
sys 0.17

Generating the livetime cube:
time -p gtltcube evfile="/scratch/kocevski/123246/ft1_filtered_4FGL_J0920.3-0443_daily_bin645.fits" evtable="EVENTS" scfile=/scratch/kocevski/123246/ft2_4FGL_J0920.3-0443_daily_bin645.fits sctable="SC_DATA" outfile=/scratch/kocevski/123246/ltcube_406512001_406771201_4FGL_J0920.3-0443_daily_bin645.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/123246/ft2_4FGL_J0920.3-0443_daily_bin645.fits
.....................!
real 14.22
user 11.67
sys 0.80

Generating the exposure map:
time -p gtexpmap evfile=/scratch/kocevski/123246/ft1_filtered_4FGL_J0920.3-0443_daily_bin645.fits evtable="EVENTS" scfile=/scratch/kocevski/123246/ft2_4FGL_J0920.3-0443_daily_bin645.fits sctable="SC_DATA" expcube=/scratch/kocevski/123246/ltcube_406512001_406771201_4FGL_J0920.3-0443_daily_bin645.fits outfile=/scratch/kocevski/123246/expmap_406512001_406771201_4FGL_J0920.3-0443_daily_bin645.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/123246/ltcube_406512001_406771201_4FGL_J0920.3-0443_daily_bin645.fits
.....................!
real 204.91
user 185.77
sys 4.38

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

Setting source of interest to:
4FGL J0920.3-0443 @ 140.1 -4.7311

Creating the counts map:
time -p gtbin evfile=/scratch/kocevski/123246/ft1_filtered_4FGL_J0920.3-0443_daily_bin645.fits scfile=/scratch/kocevski/123246/ft2_4FGL_J0920.3-0443_daily_bin645.fits outfile=/scratch/kocevski/123246/cmap_406512001_406771201_4FGL_J0920.3-0443_daily_bin645.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=140.1 yref=-4.7311 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.79
user 0.41
sys 0.16

Creating the high resolution counts map:
time -p gtbin evfile=/scratch/kocevski/123246/ft1_filtered_4FGL_J0920.3-0443_daily_bin645.fits scfile=/scratch/kocevski/123246/ft2_4FGL_J0920.3-0443_daily_bin645.fits outfile=/scratch/kocevski/123246/cmap_HighResolution_406512001_406771201_4FGL_J0920.3-0443_daily_bin645.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=140.1 yref=-4.7311 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.77
user 0.39
sys 0.20

Computing the diffuse response:
time -p gtdiffrsp evfile=/scratch/kocevski/123246/ft1_filtered_4FGL_J0920.3-0443_daily_bin645.fits evtable="EVENTS" scfile=/scratch/kocevski/123246/ft2_4FGL_J0920.3-0443_daily_bin645.fits sctable="SC_DATA" srcmdl=/scratch/kocevski/123246/Model_4FGL_J0920.3-0443_daily_bin645.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/123246/ft1_filtered_4FGL_J0920.3-0443_daily_bin645.fits.....................!
real 64.13
user 54.62
sys 1.24

Creating the likelihood object...
obs = UnbinnedObs('/scratch/kocevski/123246/ft1_filtered_4FGL_J0920.3-0443_daily_bin645.fits', '/scratch/kocevski/123246/ft2_4FGL_J0920.3-0443_daily_bin645.fits', expMap='/scratch/kocevski/123246/expmap_406512001_406771201_4FGL_J0920.3-0443_daily_bin645.fits', expCube='/scratch/kocevski/123246/ltcube_406512001_406771201_4FGL_J0920.3-0443_daily_bin645.fits', irfs='P8R3_SOURCE_V2')
like = UnbinnedAnalysis(obs, '/scratch/kocevski/123246/Model_4FGL_J0920.3-0443_daily_bin645.xml', optimizer='MINUIT')

Using source of interest name: '4FGL J0920.3-0443'

4FGL J0920.3-0443
   Spectrum: PowerLaw
250    Prefactor:  1.854e+00  0.000e+00  1.000e-04  1.000e+04 ( 1.000e-13)
251        Index:  2.587e+00  0.000e+00  0.000e+00  1.000e+01 (-1.000e+00) fixed
252        Scale:  9.913e+02  0.000e+00  3.000e+01  5.000e+05 ( 1.000e+00) fixed


Likelihood Fit Parameters:
Event file(s): /scratch/kocevski/123246/ft1_filtered_4FGL_J0920.3-0443_daily_bin645.fits
Spacecraft file(s): /scratch/kocevski/123246/ft2_4FGL_J0920.3-0443_daily_bin645.fits
Exposure map: /scratch/kocevski/123246/expmap_406512001_406771201_4FGL_J0920.3-0443_daily_bin645.fits
Exposure cube: /scratch/kocevski/123246/ltcube_406512001_406771201_4FGL_J0920.3-0443_daily_bin645.fits
IRFs: P8R3_SOURCE_V2
Source model file: /scratch/kocevski/123246/Model_4FGL_J0920.3-0443_daily_bin645.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) = 5185.18763

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

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

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'norm      '    14.141       1.0000         .10000E-03   10000.    
     2 'Prefactor '    .10000E-03   1.0000         .10000E-03   10000.    
     3 'norm      '    .10002E-03   1.0000         .10000E-03   10000.    
     4 'norm      '    2.8049       1.0000         .10000E-03   10000.    
     5 'Prefactor '    7.2225       1.0000         .10000E-03   10000.    
     6 'Prefactor '    6.2753       1.0000         .10000E-03   10000.    
     7 'norm      '    5.4645       1.0000         .10000E-03   10000.    
     8 'norm      '    .10000E-03   1.0000         .10000E-03   10000.    
     9 'Prefactor '    21.702       1.0000         .10000E-03   10000.    
    10 'Prefactor '    3.0331       1.0000         .10000E-03   10000.    
    11 'Prefactor '    17.951       1.0000         .10000E-03   10000.    
    12 'Prefactor '    .10086E-03   1.0000         .10000E-03   10000.    
    13 'Prefactor '    6.0489       1.0000         .10000E-03   10000.    
    14 'Prefactor '    .10002E-03   1.0000         .10000E-03   10000.    
    15 'norm      '    4.8234       1.0000         .10000E-03   10000.    
    16 'norm      '    4.3963       1.0000         .10000E-03   10000.    
    17 'norm      '    .52687       1.0000         .10000E-03   10000.    
    18 'norm      '    1.4692       1.0000         .10000E-03   10000.    
    19 'Normalizat'    .76951       1.0000         .10000E-01   10.000    
    20 'Prefactor '    1.0497       1.0000          .0000       10.000    
 **********
 **   15 **SET ERR    .5000    
 **********
 **********
 **   16 **SET GRAD    1.000    
 **********
 **********
 **   17 **MINIMIZE    .4900E+05   .2000E-04
 **********

 MIGRAD MINIMIZATION HAS CONVERGED.

 MIGRAD WILL VERIFY CONVERGENCE AND ERROR MATRIX.

 MIGRAD MINIMIZATION HAS CONVERGED.

 FCN=   5185.163     FROM MIGRAD    STATUS=CONVERGED    406 CALLS     2112 TOTAL
                     EDM=   .37E-09  STRATEGY=1  ERROR MATRIX UNCERTAINTY=  2.9%

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  norm          14.142        10.747        .13552E-07   -.10786E-04
   2  Prefactor     .10000E-03    8.5943       -.25422E-06** at limit **
   3  norm          .10000E-03    4.5923        .14348E-07** at limit **
   4  norm          2.8047        2.5717       -.63873E-07   -.17379E-04
   5  Prefactor     7.2221        12.461       -.40048E-07   -.16909E-04
   6  Prefactor     6.2749        6.6837        .17920E-05   -.43148E-03
   7  norm          5.4644        3.6894       -.21088E-07   -.83279E-04
   8  norm          .10000E-03    8.1661        .42650E-06** at limit **
   9  Prefactor     21.704        21.425        .56049E-06    .68399E-05
  10  Prefactor     3.0329        2.9677       -.22343E-07   -.10242E-03
  11  Prefactor     17.941        41.240       -.29457E-05   -.13598E-03
  12  Prefactor     .10000E-03    17.032        .14616E-06** at limit **
  13  Prefactor     6.0374        19.501       -.38068E-05   -.24068E-03
  14  Prefactor     .10000E-03    11.884       -.16270E-06** at limit **
  15  norm          4.8233        5.4208        .14214E-05   -.37528E-03
  16  norm          4.3962        3.2461       -.79368E-07   -.15342E-03
  17  norm          .52683        .61919        .84283E-07   -.10031E-03
  18  norm          1.4692        1.3958       -.17653E-07    .46911E-04
  19  Normalizat    .76948        .20789        .28881E-06   -.36659E-04
  20  Prefactor     1.0497        .15321       -.40590E-06    .55659E-05
                               ERR DEF=  .500    
Final values: 
  norm       = 14.1418
  Prefactor  = 0.0001
  norm       = 0.0001
  norm       = 2.8047
  Prefactor  = 7.2221
  Prefactor  = 6.27495
  norm       = 5.46436
  norm       = 0.0001
  Prefactor  = 21.704
  Prefactor  = 3.03286
  Prefactor  = 17.9406
  Prefactor  = 0.0001
  Prefactor  = 6.0374
  Prefactor  = 0.0001
  norm       = 4.82332
  norm       = 4.3962
  norm       = 0.526832
  norm       = 1.46919
  Normalizat = 0.769479
  Prefactor  = 1.04966
 **********
 **   18 **HESSE 
 **********

 FCN=   5185.163     FROM HESSE     STATUS=OK           299 CALLS     2411 TOTAL
                     EDM=   .84E-09    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  norm          14.142        10.751        .10651E-03   -1.4956    
   2  Prefactor     .10000E-03    8.6076        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   3  norm          .10000E-03    4.6268        .15068E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   4  norm          2.8047        2.5722        .10618E-03   -1.5373    
   5  Prefactor     7.2221        12.445        .14925E-03   -1.5170    
   6  Prefactor     6.2749        6.8096        .80121E-03   -1.5207    
   7  norm          5.4644        3.6964        .10892E-03   -1.5240    
   8  norm          .10000E-03    8.4283        .36285E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   9  Prefactor     21.704        21.511        .85980E-04   -1.4776    
  10  Prefactor     3.0329        2.9696        .11795E-03   -1.5360    
  11  Prefactor     17.941        42.182        .94531E-04   -1.4861    
  12  Prefactor     .10000E-03    17.560        .36285E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  13  Prefactor     6.0374        20.512        .16325E-03   -1.5216    
  14  Prefactor     .10000E-03    11.892        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  15  norm          4.8233        5.4821        .87256E-03   -1.5269    
  16  norm          4.3962        3.2474        .10834E-03   -1.5289    
  17  norm          .52683        .60212        .57359E-04   -1.5563    
  18  norm          1.4692        1.4187        .80618E-04   -1.5466    
  19  Normalizat    .76948        .24329        .29361E-03   -1.0121    
  20  Prefactor     1.0497        .18032        .19624E-03   -.91092    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 8.35765e-10
Minuit parameter uncertainties:
  1  10.752
  2  3.56706e-05
  3  2.37467e-06
  4  2.57232
  5  12.4491
  6  6.81042
  7  3.69652
  8  2.3196e-05
  9  21.5185
  10  2.9697
  11  42.2519
  12  2.77594e-05
  13  20.5362
  14  2.39868e-05
  15  5.48267
  16  3.24749
  17  0.602127
  18  1.41875
  19  0.243635
  20  0.180425
Done.

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

Extracting fit parameters...

4FGL J0920.3-0443
   Spectrum: PowerLaw
250    Prefactor:  2.170e+01  2.152e+01  1.000e-04  1.000e+04 ( 1.000e-13)
251        Index:  2.587e+00  0.000e+00  0.000e+00  1.000e+01 (-1.000e+00) fixed
252        Scale:  9.913e+02  0.000e+00  3.000e+01  5.000e+05 ( 1.000e+00) fixed

GAL_V02
   Spectrum: PowerLaw
487    Prefactor:  1.050e+00  1.804e-01  0.000e+00  1.000e+01 ( 1.000e+00)
488        Index:  0.000e+00  0.000e+00 -1.000e+00  1.000e+00 ( 1.000e+00) fixed
489        Scale:  1.000e+02  0.000e+00  5.000e+01  2.000e+02 ( 1.000e+00) fixed

EG_v02
   Spectrum: FileFunction
486   Normalization:  7.695e-01  2.436e-01  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Fixed Index): 1.63
Ra Dec: 140.100 -4.731
Photon Index (Fixed Index): 2.59 +/- 0.00
Photon Flux (Fixed Index): 5.17e-08 +/- 5.12e-08
Energy Flux (Fixed Index): 1.37e-05 +/- 1.36e-05

TS (Fixed Index): 1.63
Ra Dec: 140.100 -4.731
Photon Flux Upper Limit: 1.51e-07 ph cm-2 s-1
Energy Flux Upper Limit: 1.18e-02 MeV cm-2 s-1

Saving results to:
/scratch/kocevski/123246/likelihoodResults_406512001_406771201_4FGL_J0920.3-0443_daily_bin645.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) = 5184.9804896
delta logL = 0.182678151797

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

MINUIT Return Code (Free Index): 0
logL (Free Index) = 5184.96164045
delta logL = 0.201527299966

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'Prefactor '    10.903       1.0000         .10000E-03   10000.    
     2 'Index     '    3.1220       1.0000          .0000       10.000    
     3 'Normalizat'    .74927       1.0000         .10000E-01   10.000    
     4 'Prefactor '    1.0608       1.0000          .0000       10.000    
 **********
 **   15 **SET ERR    .5000    
 **********
 **********
 **   16 **SET GRAD    1.000    
 **********
 **********
 **   17 **MINIMIZE    .4900E+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=   5184.962     FROM MIGRAD    STATUS=CONVERGED     86 CALLS      277 TOTAL
                     EDM=   .68E-10    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor     10.904        26.149        .12133E-03    .92947E-04
   2  Index         3.1221        1.2712        .51905E-02    .53174E-04
   3  Normalizat    .74927        .23613        .29717E-03    .41316E-04
   4  Prefactor     1.0608        .17999        .19533E-03    .49053E-04
                               ERR DEF=  .500    
Final values: 
  Prefactor  = 10.9035
  Index      = 3.12205
  Normalizat = 0.749267
  Prefactor  = 1.06084
 **********
 **   18 **HESSE 
 **********

 FCN=   5184.962     FROM HESSE     STATUS=OK            25 CALLS      302 TOTAL
                     EDM=   .15E-10    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  Prefactor     10.904        19.534        .48534E-05   -1.5047    
   2  Index         3.1221        .95374        .20762E-03   -.38503    
   3  Normalizat    .74927        .23616        .11887E-04   -1.0198    
   4  Prefactor     1.0608        .17982        .39066E-04   -.90728    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 1.45731e-11
Minuit parameter uncertainties:
  1  19.5459
  2  0.960608
  3  0.236478
  4  0.179923
shell-init: error retrieving current directory: getcwd: cannot access parent directories: No such file or directory
rmdir: failed to remove `/scratch/kocevski/123246': 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) = 5184.96164044
delta logL = 0.201527305478

Extracting fit parameters...

4FGL J0920.3-0443
   Spectrum: PowerLaw
250    Prefactor:  1.090e+01  1.955e+01  1.000e-04  1.000e+04 ( 1.000e-13)
251        Index:  3.122e+00  9.606e-01  0.000e+00  1.000e+01 (-1.000e+00)
252        Scale:  9.913e+02  0.000e+00  3.000e+01  5.000e+05 ( 1.000e+00) fixed

GAL_V02
   Spectrum: PowerLaw
487    Prefactor:  1.061e+00  1.799e-01  0.000e+00  1.000e+01 ( 1.000e+00)
488        Index:  0.000e+00  0.000e+00 -1.000e+00  1.000e+00 ( 1.000e+00) fixed
489        Scale:  1.000e+02  0.000e+00  5.000e+01  2.000e+02 ( 1.000e+00) fixed

EG_v02
   Spectrum: FileFunction
486   Normalization:  7.493e-01  2.365e-01  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Free Index): 2.07
Ra Dec: 140.100 -4.731
Photon Index (Free Index): 3.12 +/- 0.96
Photon Flux (Free Index): 6.63e-08 +/- 5.62e-08
Energy Flux (Free Index): 1.25e-05 +/- 1.08e-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/123246/cmap_HighResolution_406512001_406771201_4FGL_J0920.3-0443_daily_bin645.png

Cleaning up...

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

Updating database...

UPDATE lightcurve_data_v2 SET energy_flux_upper_limit='1.18e-02', comment='SUCCESS', photon_flux='5.17e-08', energy_flux2='1.25e-05', photon_flux_error='5.12e-08', dlogl='2.02e-01', energy_flux='1.37e-05', photon_flux2='6.63e-08', job_status='DONE', time_completed='2021-08-31 06:44:09.546884', photon_index_error2='0.96', photon_index2='3.12', ts='1.63', fit_tolerance='1e-08', GAL='1.05', photon_index_error='0.00', photon_flux_upper_limit='1.51e-07', energy_flux_error2='1.08e-05', EG='0.77', time_epoch_completed='1630417449.55', return_code='0', job_id='123246', GAL2='1.06', EG2='0.75', return_code2='0', energy_flux_error='1.36e-05', photon_flux_error2='5.62e-08', ts2='2.07', photon_index='2.59' WHERE bin_id='645' AND source_name='4FGL J0920.3-0443' AND cadence='daily';

Database successfully updated.


Analysis Complete.


Tue Aug 31 06:44:09 PDT 2021


------------------------------------------------------------
Sender: LSF System <lsf@bullet0231>
Subject: Job 123246: <4FGL_J0920.3-0443_daily_bin645> in cluster <slac> Done

Job <4FGL_J0920.3-0443_daily_bin645> was submitted from host <rhel6-64c> by user <kocevski> in cluster <slac> at Tue Aug 31 06:32:02 2021
Job was executed on host(s) <bullet0231>, in queue <medium>, as user <kocevski> in cluster <slac> at Tue Aug 31 06:32:03 2021
</u/ki/kocevski> was used as the home directory.
</u/ki/kocevski> was used as the working directory.
Started at Tue Aug 31 06:32:03 2021
Terminated at Tue Aug 31 06:44:13 2021
Results reported at Tue Aug 31 06:44:13 2021

Your job looked like:

------------------------------------------------------------
# LSBATCH: User input
/nfs/farm/g/glast/g/LCRepository/Likelihood/Scripts/LikelihoodAnalysis.py 4FGL_J0920.3-0443_daily_bin645 140.1 -4.7311 406512001 406771201 irfs=P8R3_SOURCE_V2 zmax=90 ROI=12 association=4FGL_J0920.3-0443 fixedModel=True performFreeIndexFit=True freeVariableSources=True nuke=True repositoryJob=True verbose=False
------------------------------------------------------------

Successfully completed.

Resource usage summary:

    CPU time :                                   519.35 sec.
    Max Memory :                                 1093 MB
    Average Memory :                             275.59 MB
    Total Requested Memory :                     -
    Delta Memory :                               -
    Max Swap :                                   -
    Max Processes :                              5
    Max Threads :                                21
    Run time :                                   726 sec.
    Turnaround time :                            731 sec.

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

