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


Performing analysis on: 4FGL_J0920.3-0443_daily_bin1434
RA = 140.1, Dec = -4.7311
tmin = 611020801, tmax = 611280001
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='128116', job_status='RUN', time_executed='2021-08-31 06:50:29.837409', time_epoch_executed='1630417829.84' WHERE source_name='4FGL J0920.3-0443' and cadence='daily' and bin_id='1434'

Database successfully updated.
Done.

Creating custom output directory:
/scratch/kocevski/128116

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

Retrieving the FT1 file...

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

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

Retrieving 46 files...
Done.


Merging files...

Checksum keywords updated successfully.

Merged file saved to:
/scratch/kocevski/128116/ft1_4FGL_J0920.3-0443_daily_bin1434.fits


Retrieving the FT1 file...

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

Retrieving 46 files...
Done.


Merging files...

Merged file saved to:
/scratch/kocevski/128116/ft2_4FGL_J0920.3-0443_daily_bin1434.fits


Selecting the photons:
time -p gtselect infile=/scratch/kocevski/128116/ft1_4FGL_J0920.3-0443_daily_bin1434.fits outfile=/scratch/kocevski/128116/ft1_filteredMKT_4FGL_J0920.3-0443_daily_bin1434.fits ra=140.1 dec=-4.7311 rad=12.0 tmin=611020801.0 tmax=611280001.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 4.49
user 3.28
sys 1.12

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

Selecting the good time intervals:
time -p gtmktime scfile=/scratch/kocevski/128116/ft2_4FGL_J0920.3-0443_daily_bin1434.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/128116/ft1_filteredMKT_4FGL_J0920.3-0443_daily_bin1434.fits evtable="EVENTS" outfile="/scratch/kocevski/128116/ft1_filtered_4FGL_J0920.3-0443_daily_bin1434.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 1.64
user 0.34
sys 1.07

Generating the livetime cube:
time -p gtltcube evfile="/scratch/kocevski/128116/ft1_filtered_4FGL_J0920.3-0443_daily_bin1434.fits" evtable="EVENTS" scfile=/scratch/kocevski/128116/ft2_4FGL_J0920.3-0443_daily_bin1434.fits sctable="SC_DATA" outfile=/scratch/kocevski/128116/ltcube_611020801_611280001_4FGL_J0920.3-0443_daily_bin1434.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/128116/ft2_4FGL_J0920.3-0443_daily_bin1434.fits
.....................!
real 13.21
user 11.87
sys 1.29

Generating the exposure map:
time -p gtexpmap evfile=/scratch/kocevski/128116/ft1_filtered_4FGL_J0920.3-0443_daily_bin1434.fits evtable="EVENTS" scfile=/scratch/kocevski/128116/ft2_4FGL_J0920.3-0443_daily_bin1434.fits sctable="SC_DATA" expcube=/scratch/kocevski/128116/ltcube_611020801_611280001_4FGL_J0920.3-0443_daily_bin1434.fits outfile=/scratch/kocevski/128116/expmap_611020801_611280001_4FGL_J0920.3-0443_daily_bin1434.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/128116/ltcube_611020801_611280001_4FGL_J0920.3-0443_daily_bin1434.fits
.....................!
real 193.08
user 185.75
sys 6.52

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/128116/ft1_filtered_4FGL_J0920.3-0443_daily_bin1434.fits scfile=/scratch/kocevski/128116/ft2_4FGL_J0920.3-0443_daily_bin1434.fits outfile=/scratch/kocevski/128116/cmap_611020801_611280001_4FGL_J0920.3-0443_daily_bin1434.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 1.43
user 0.38
sys 1.01

Creating the high resolution counts map:
time -p gtbin evfile=/scratch/kocevski/128116/ft1_filtered_4FGL_J0920.3-0443_daily_bin1434.fits scfile=/scratch/kocevski/128116/ft2_4FGL_J0920.3-0443_daily_bin1434.fits outfile=/scratch/kocevski/128116/cmap_HighResolution_611020801_611280001_4FGL_J0920.3-0443_daily_bin1434.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 1.44
user 0.38
sys 1.05

Computing the diffuse response:
time -p gtdiffrsp evfile=/scratch/kocevski/128116/ft1_filtered_4FGL_J0920.3-0443_daily_bin1434.fits evtable="EVENTS" scfile=/scratch/kocevski/128116/ft2_4FGL_J0920.3-0443_daily_bin1434.fits sctable="SC_DATA" srcmdl=/scratch/kocevski/128116/Model_4FGL_J0920.3-0443_daily_bin1434.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/128116/ft1_filtered_4FGL_J0920.3-0443_daily_bin1434.fits.....................!
real 69.42
user 66.56
sys 2.56

Creating the likelihood object...
obs = UnbinnedObs('/scratch/kocevski/128116/ft1_filtered_4FGL_J0920.3-0443_daily_bin1434.fits', '/scratch/kocevski/128116/ft2_4FGL_J0920.3-0443_daily_bin1434.fits', expMap='/scratch/kocevski/128116/expmap_611020801_611280001_4FGL_J0920.3-0443_daily_bin1434.fits', expCube='/scratch/kocevski/128116/ltcube_611020801_611280001_4FGL_J0920.3-0443_daily_bin1434.fits', irfs='P8R3_SOURCE_V2')
like = UnbinnedAnalysis(obs, '/scratch/kocevski/128116/Model_4FGL_J0920.3-0443_daily_bin1434.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/128116/ft1_filtered_4FGL_J0920.3-0443_daily_bin1434.fits
Spacecraft file(s): /scratch/kocevski/128116/ft2_4FGL_J0920.3-0443_daily_bin1434.fits
Exposure map: /scratch/kocevski/128116/expmap_611020801_611280001_4FGL_J0920.3-0443_daily_bin1434.fits
Exposure cube: /scratch/kocevski/128116/ltcube_611020801_611280001_4FGL_J0920.3-0443_daily_bin1434.fits
IRFs: P8R3_SOURCE_V2
Source model file: /scratch/kocevski/128116/Model_4FGL_J0920.3-0443_daily_bin1434.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) = 6367.74042639

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

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

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'norm      '    14.937       1.0000         .10000E-03   10000.    
     2 'Prefactor '    .15154E-02   1.0000         .10000E-03   10000.    
     3 'norm      '    .11739E-03   1.0000         .10000E-03   10000.    
     4 'norm      '    5.0990       1.0000         .10000E-03   10000.    
     5 'Prefactor '    5.5694       1.0000         .10000E-03   10000.    
     6 'Prefactor '    .90764E-03   1.0000         .10000E-03   10000.    
     7 'norm      '    .10262E-03   1.0000         .10000E-03   10000.    
     8 'norm      '    11.519       1.0000         .10000E-03   10000.    
     9 'Prefactor '    .11039E-03   1.0000         .10000E-03   10000.    
    10 'Prefactor '    2.9832       1.0000         .10000E-03   10000.    
    11 'Prefactor '    .12551E-03   1.0000         .10000E-03   10000.    
    12 'Prefactor '    .18533E-03   1.0000         .10000E-03   10000.    
    13 'Prefactor '    .10099E-03   1.0000         .10000E-03   10000.    
    14 'Prefactor '    .10504E-03   1.0000         .10000E-03   10000.    
    15 'norm      '    .10269E-03   1.0000         .10000E-03   10000.    
    16 'norm      '    1.3802       1.0000         .10000E-03   10000.    
    17 'norm      '    2.3415       1.0000         .10000E-03   10000.    
    18 'norm      '    1.0930       1.0000         .10000E-03   10000.    
    19 'Normalizat'    1.4767       1.0000         .10000E-01   10.000    
    20 'Prefactor '    .76134       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=   6367.660     FROM MIGRAD    STATUS=CONVERGED    422 CALLS     1755 TOTAL
                     EDM=   .11E-08  STRATEGY=1  ERROR MATRIX UNCERTAINTY=  3.3%

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  norm          14.953        11.941        .14476E-06   -.20563E-05
   2  Prefactor     .10001E-03    102.57       -.42191E-05** at limit **
   3  norm          .10000E-03    7.0233       -.79913E-07** at limit **
   4  norm          5.0985        3.6053       -.26064E-06    .24043E-03
   5  Prefactor     5.5645        9.3719        .43852E-05    .26069E-03
   6  Prefactor     .10239E-03    8.8562       -.23081E-05** at limit **
   7  norm          .10000E-03    1.9878        .33855E-07** at limit **
   8  norm          11.517        6.7439        .46088E-07   -.18128E-04
   9  Prefactor     .10000E-03    10.871       -.32006E-06** at limit **
  10  Prefactor     2.9846        4.3298        .38310E-06   -.16614E-05
  11  Prefactor     .10001E-03    32.634        .16956E-05** at limit **
  12  Prefactor     .10000E-03    23.684       -.18004E-05** at limit **
  13  Prefactor     .10000E-03    17.792        .47896E-06** at limit **
  14  Prefactor     .10000E-03    11.148        .40150E-06** at limit **
  15  norm          .10000E-03    4.2665        .85756E-07** at limit **
  16  norm          1.3807        2.7550        .51772E-06    .94695E-04
  17  norm          2.3417        .95876        .21451E-07   -.10174E-03
  18  norm          1.0933        1.0286       -.10579E-07    .16953E-04
  19  Normalizat    1.4766        .20916       -.81107E-06    .18368E-03
  20  Prefactor     .76114        .14559       -.56621E-06    .14617E-03
                               ERR DEF=  .500    
Final values: 
  norm       = 14.9531
  Prefactor  = 0.000100012
  norm       = 0.0001
  norm       = 5.09851
  Prefactor  = 5.5645
  Prefactor  = 0.000102393
  norm       = 0.0001
  norm       = 11.517
  Prefactor  = 0.0001
  Prefactor  = 2.98463
  Prefactor  = 0.000100006
  Prefactor  = 0.000100004
  Prefactor  = 0.0001
  Prefactor  = 0.0001
  norm       = 0.0001
  norm       = 1.3807
  norm       = 2.34175
  norm       = 1.09328
  Normalizat = 1.47665
  Prefactor  = 0.761141
 **********
 **   18 **HESSE 
 **********

 FCN=   6367.660     FROM HESSE     STATUS=OK           301 CALLS     2056 TOTAL
                     EDM=   .25E-08    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  norm          14.953        11.971        .10363E-03   -1.4934    
   2  Prefactor     .10001E-03    106.65        .40925E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   3  norm          .10000E-03    7.1345        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   4  norm          5.0985        3.5988        .12045E-03   -1.5256    
   5  Prefactor     5.5645        9.4254        .85118E-03   -1.5236    
   6  Prefactor     .10239E-03    8.8785        .60004E-01   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   7  norm          .10000E-03    2.0115        .10983E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   8  norm          11.517        6.7503        .11804E-03   -1.5029    
   9  Prefactor     .10000E-03    10.912        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  10  Prefactor     2.9846        4.3292        .18998E-03   -1.5362    
  11  Prefactor     .10001E-03    32.940        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  12  Prefactor     .10000E-03    24.186        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  13  Prefactor     .10000E-03    17.835        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  14  Prefactor     .10000E-03    11.166        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  15  norm          .10000E-03    4.3004        .16095E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  16  norm          1.3807        2.7151        .18141E-03   -1.5473    
  17  norm          2.3417        .95766        .46871E-04   -1.5402    
  18  norm          1.0933        1.1016        .76461E-03   -1.5499    
  19  Normalizat    1.4766        .24747        .25590E-03   -.78437    
  20  Prefactor     .76114        .17156        .24521E-03   -1.0118    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 2.54055e-09
Minuit parameter uncertainties:
  1  11.9726
  2  0.0022969
  3  2.6502e-06
  4  3.59898
  5  9.42795
  6  0.00921921
  7  3.82298e-06
  8  6.75076
  9  0.000110395
  10  4.32962
  11  0.000921512
  12  0.000656304
  13  0.000182761
  14  0.000127678
  15  7.63984e-06
  16  2.71532
  17  0.957666
  18  1.10161
  19  0.247674
  20  0.171678
Done.

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

Extracting fit parameters...

4FGL J0920.3-0443
   Spectrum: PowerLaw
250    Prefactor:  1.000e-04  1.104e-04  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:  7.611e-01  1.717e-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:  1.477e+00  2.477e-01  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Fixed Index): -0.00
Ra Dec: 140.100 -4.731
Photon Flux Upper Limit: 8.87e-08 ph cm-2 s-1
Energy Flux Upper Limit: 6.93e-03 MeV cm-2 s-1

Saving results to:
/scratch/kocevski/128116/likelihoodResults_611020801_611280001_4FGL_J0920.3-0443_daily_bin1434.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) = 6367.66071837
delta logL = -0.000436576998254

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

MINUIT Return Code (Free Index): 0
logL (Free Index) = 6367.66028186
delta logL = -6.10607457929e-08

Fit tolerance = 1e-08

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

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

 FCN=   6367.660     FROM MIGRAD    STATUS=CONVERGED     53 CALLS      207 TOTAL
                     EDM=   .15E-09    STRATEGY= 1      ERR MATRIX NOT POS-DEF

  EXT PARAMETER                APPROXIMATE        STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor     .10000E-03    2077.5        .90712E-02** at limit **
   2  Index         2.5843        5.6312        .50000        .10067E-05
   3  Normalizat    1.4766        .12019        .57869E-01    .68026E-05
   4  Prefactor     .76114        .85427E-01    .43210E-01    .19063E-04
                               ERR DEF=  .500    
Final values: 
  Prefactor  = 0.0001
  Index      = 2.58427
  Normalizat = 1.47664
  Prefactor  = 0.761141
 **********
 **   18 **HESSE 
 **********

 FCN=   6367.660     FROM HESSE     STATUS=OK            33 CALLS      240 TOTAL
                     EDM=   .14E-11    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  Prefactor     .10000E-03    12.485        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   2  Index         2.5843        6.2921        .50000       -.50424    
   3  Normalizat    1.4766        .23629        .25590E-03   -.78437    
   4  Prefactor     .76114        .16984        .24521E-03   -1.0118    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 1.36303e-12
Minuit parameter uncertainties:
  1  3.89942e-06
  2  4.69269
  3  0.236469
  4  0.169956
shell-init: error retrieving current directory: getcwd: cannot access parent directories: No such file or directory
rmdir: failed to remove `/scratch/kocevski/128116': 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) = 6367.6602818
delta logL = 6.40284270048e-10

Extracting fit parameters...

4FGL J0920.3-0443
   Spectrum: PowerLaw
250    Prefactor:  1.000e-04  3.899e-06  1.000e-04  1.000e+04 ( 1.000e-13)
251        Index:  2.584e+00  4.693e+00  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:  7.611e-01  1.700e-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:  1.477e+00  2.365e-01  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Free Index): -0.00
Ra Dec: 140.100 -4.731

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/128116/cmap_HighResolution_611020801_611280001_4FGL_J0920.3-0443_daily_bin1434.png

Cleaning up...

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

Updating database...

UPDATE lightcurve_data_v2 SET energy_flux_upper_limit='6.93e-03', job_status='DONE', photon_flux_upper_limit='8.87e-08', time_completed='2021-08-31 07:00:07.333760', job_id='128116', GAL2='0.76', fit_tolerance='1e-08', EG2='1.48', EG='1.48', time_epoch_completed='1630418407.33', return_code2='0', ts='-0.00', comment='SUCCESS', return_code='0', GAL='0.76', dlogl='6.40e-10', ts2='-0.00', photon_index_error='0.00', photon_index='2.59' WHERE bin_id='1434' AND source_name='4FGL J0920.3-0443' AND cadence='daily';

Database successfully updated.


Analysis Complete.


Tue Aug 31 07:00:07 PDT 2021


------------------------------------------------------------
Sender: LSF System <lsf@bullet0044>
Subject: Job 128116: <4FGL_J0920.3-0443_daily_bin1434> in cluster <slac> Done

Job <4FGL_J0920.3-0443_daily_bin1434> was submitted from host <rhel6-64m> by user <kocevski> in cluster <slac> at Tue Aug 31 06:46:23 2021
Job was executed on host(s) <bullet0044>, in queue <medium>, as user <kocevski> in cluster <slac> at Tue Aug 31 06:46:24 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:46:24 2021
Terminated at Tue Aug 31 07:00:08 2021
Results reported at Tue Aug 31 07:00:08 2021

Your job looked like:

------------------------------------------------------------
# LSBATCH: User input
/nfs/farm/g/glast/g/LCRepository/Likelihood/Scripts/LikelihoodAnalysis.py 4FGL_J0920.3-0443_daily_bin1434 140.1 -4.7311 611020801 611280001 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 :                                   574.47 sec.
    Max Memory :                                 1255 MB
    Average Memory :                             270.63 MB
    Total Requested Memory :                     -
    Delta Memory :                               -
    Max Swap :                                   -
    Max Processes :                              5
    Max Threads :                                21
    Run time :                                   823 sec.
    Turnaround time :                            825 sec.

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

