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


Performing analysis on: 4FGL_J0920.3-0443_daily_bin1036
RA = 140.1, Dec = -4.7311
tmin = 507859201, tmax = 508118401
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='126534', job_status='RUN', time_executed='2021-08-31 06:43:31.668510', time_epoch_executed='1630417411.67' WHERE source_name='4FGL J0920.3-0443' and cadence='daily' and bin_id='1036'

Database successfully updated.
Done.

Creating custom output directory:
/scratch/kocevski/126534

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

Retrieving the FT1 file...

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

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

Retrieving 46 files...
Done.


Merging files...

Checksum keywords updated successfully.

Merged file saved to:
/scratch/kocevski/126534/ft1_4FGL_J0920.3-0443_daily_bin1036.fits


Retrieving the FT1 file...

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

Retrieving 46 files...
Done.


Merging files...

Merged file saved to:
/scratch/kocevski/126534/ft2_4FGL_J0920.3-0443_daily_bin1036.fits


Selecting the photons:
time -p gtselect infile=/scratch/kocevski/126534/ft1_4FGL_J0920.3-0443_daily_bin1036.fits outfile=/scratch/kocevski/126534/ft1_filteredMKT_4FGL_J0920.3-0443_daily_bin1036.fits ra=140.1 dec=-4.7311 rad=12.0 tmin=507859201.0 tmax=508118401.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.56
user 3.90
sys 0.52

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

Selecting the good time intervals:
time -p gtmktime scfile=/scratch/kocevski/126534/ft2_4FGL_J0920.3-0443_daily_bin1036.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/126534/ft1_filteredMKT_4FGL_J0920.3-0443_daily_bin1036.fits evtable="EVENTS" outfile="/scratch/kocevski/126534/ft1_filtered_4FGL_J0920.3-0443_daily_bin1036.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.01
user 0.33
sys 0.45

Generating the livetime cube:
time -p gtltcube evfile="/scratch/kocevski/126534/ft1_filtered_4FGL_J0920.3-0443_daily_bin1036.fits" evtable="EVENTS" scfile=/scratch/kocevski/126534/ft2_4FGL_J0920.3-0443_daily_bin1036.fits sctable="SC_DATA" outfile=/scratch/kocevski/126534/ltcube_507859201_508118401_4FGL_J0920.3-0443_daily_bin1036.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/126534/ft2_4FGL_J0920.3-0443_daily_bin1036.fits
.....................!
real 12.33
user 11.50
sys 0.66

Generating the exposure map:
time -p gtexpmap evfile=/scratch/kocevski/126534/ft1_filtered_4FGL_J0920.3-0443_daily_bin1036.fits evtable="EVENTS" scfile=/scratch/kocevski/126534/ft2_4FGL_J0920.3-0443_daily_bin1036.fits sctable="SC_DATA" expcube=/scratch/kocevski/126534/ltcube_507859201_508118401_4FGL_J0920.3-0443_daily_bin1036.fits outfile=/scratch/kocevski/126534/expmap_507859201_508118401_4FGL_J0920.3-0443_daily_bin1036.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/126534/ltcube_507859201_508118401_4FGL_J0920.3-0443_daily_bin1036.fits
.....................!
real 191.94
user 185.78
sys 5.02

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/126534/ft1_filtered_4FGL_J0920.3-0443_daily_bin1036.fits scfile=/scratch/kocevski/126534/ft2_4FGL_J0920.3-0443_daily_bin1036.fits outfile=/scratch/kocevski/126534/cmap_507859201_508118401_4FGL_J0920.3-0443_daily_bin1036.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.84
user 0.37
sys 0.45

Creating the high resolution counts map:
time -p gtbin evfile=/scratch/kocevski/126534/ft1_filtered_4FGL_J0920.3-0443_daily_bin1036.fits scfile=/scratch/kocevski/126534/ft2_4FGL_J0920.3-0443_daily_bin1036.fits outfile=/scratch/kocevski/126534/cmap_HighResolution_507859201_508118401_4FGL_J0920.3-0443_daily_bin1036.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.87
user 0.38
sys 0.45

Computing the diffuse response:
time -p gtdiffrsp evfile=/scratch/kocevski/126534/ft1_filtered_4FGL_J0920.3-0443_daily_bin1036.fits evtable="EVENTS" scfile=/scratch/kocevski/126534/ft2_4FGL_J0920.3-0443_daily_bin1036.fits sctable="SC_DATA" srcmdl=/scratch/kocevski/126534/Model_4FGL_J0920.3-0443_daily_bin1036.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/126534/ft1_filtered_4FGL_J0920.3-0443_daily_bin1036.fits.....................!
real 56.12
user 53.82
sys 1.67

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

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

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

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'norm      '    10.581       1.0000         .10000E-03   10000.    
     2 'Prefactor '    10.539       1.0000         .10000E-03   10000.    
     3 'norm      '    .10173E-03   1.0000         .10000E-03   10000.    
     4 'norm      '    .10818E-03   1.0000         .10000E-03   10000.    
     5 'Prefactor '    13.698       1.0000         .10000E-03   10000.    
     6 'Prefactor '    .10004E-03   1.0000         .10000E-03   10000.    
     7 'norm      '    .10628E-03   1.0000         .10000E-03   10000.    
     8 'norm      '    32.037       1.0000         .10000E-03   10000.    
     9 'Prefactor '    .10018E-03   1.0000         .10000E-03   10000.    
    10 'Prefactor '    2.5100       1.0000         .10000E-03   10000.    
    11 'Prefactor '    41.590       1.0000         .10000E-03   10000.    
    12 'Prefactor '    13.483       1.0000         .10000E-03   10000.    
    13 'Prefactor '    38.611       1.0000         .10000E-03   10000.    
    14 'Prefactor '    3.5233       1.0000         .10000E-03   10000.    
    15 'norm      '    .10163E-03   1.0000         .10000E-03   10000.    
    16 'norm      '    4.5481       1.0000         .10000E-03   10000.    
    17 'norm      '    .10014E-03   1.0000         .10000E-03   10000.    
    18 'norm      '    .34197       1.0000         .10000E-03   10000.    
    19 'Normalizat'    .94319       1.0000         .10000E-01   10.000    
    20 'Prefactor '    1.1551       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=   5121.921     FROM MIGRAD    STATUS=CONVERGED    403 CALLS     2062 TOTAL
                     EDM=   .18E-08  STRATEGY=1  ERROR MATRIX UNCERTAINTY=   .7%

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  norm          10.581        12.386       -.16582E-05   -.24201E-04
   2  Prefactor     10.536        27.322       -.64488E-05   -.21256E-05
   3  norm          .10000E-03    7.2762        .41207E-06** at limit **
   4  norm          .10000E-03    3.0431        .43581E-06** at limit **
   5  Prefactor     13.691        17.830       -.99101E-05   -.33864E-05
   6  Prefactor     .10000E-03    5.5214       -.22603E-05** at limit **
   7  norm          .10001E-03    2.7546        .41964E-06** at limit **
   8  norm          32.038        10.275       -.17125E-06    .27244E-04
   9  Prefactor     .10000E-03    11.620        .42481E-06** at limit **
  10  Prefactor     2.5105        4.4193       -.17118E-05   -.54712E-03
  11  Prefactor     41.589        45.342       -.23194E-05    .31187E-04
  12  Prefactor     13.486        18.384        .30559E-05    .57292E-04
  13  Prefactor     38.604        48.520       -.10617E-04    .78369E-04
  14  Prefactor     3.4979        107.72       -.12059E-03    .40598E-05
  15  norm          .10000E-03    3.9372        .10181E-05** at limit **
  16  norm          4.5483        3.9317       -.10800E-06    .21365E-03
  17  norm          .10000E-03    .27235       -.30330E-06** at limit **
  18  norm          .34215        1.2443       -.84852E-06   -.10825E-02
  19  Normalizat    .94300        .24369        .31836E-05    .31183E-03
  20  Prefactor     1.1553        .17625        .47857E-05    .25440E-03
                               ERR DEF=  .500    
Final values: 
  norm       = 10.5807
  Prefactor  = 10.5365
  norm       = 0.0001
  norm       = 0.0001
  Prefactor  = 13.691
  Prefactor  = 0.0001
  norm       = 0.000100007
  norm       = 32.0383
  Prefactor  = 0.0001
  Prefactor  = 2.51046
  Prefactor  = 41.5888
  Prefactor  = 13.4857
  Prefactor  = 38.6037
  Prefactor  = 3.49791
  norm       = 0.000100004
  norm       = 4.54831
  norm       = 0.0001
  norm       = 0.342154
  Normalizat = 0.942996
  Prefactor  = 1.15526
 **********
 **   18 **HESSE 
 **********

 FCN=   5121.921     FROM HESSE     STATUS=OK           295 CALLS     2357 TOTAL
                     EDM=   .42E-08    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  norm          10.581        12.387        .12317E-03   -1.5057    
   2  Prefactor     10.536        27.328        .12342E-03   -1.5059    
   3  norm          .10000E-03    7.3311        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   4  norm          .10000E-03    3.1260        .24318E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   5  Prefactor     13.691        17.812        .10822E-03   -1.4968    
   6  Prefactor     .10000E-03    5.6386        .16420E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   7  norm          .10001E-03    5.1842        .22975E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   8  norm          32.038        10.274        .70792E-04   -1.4575    
   9  Prefactor     .10000E-03    11.648        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  10  Prefactor     2.5105        4.4129        .18814E-03   -1.5391    
  11  Prefactor     41.589        45.404        .62159E-04   -1.4417    
  12  Prefactor     13.486        18.383        .10908E-03   -1.4973    
  13  Prefactor     38.604        48.586        .64503E-04   -1.4465    
  14  Prefactor     3.4979        108.32        .21537E-03   -1.5334    
  15  norm          .10000E-03    3.9653        .13890E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  16  norm          4.5483        3.9270        .12733E-03   -1.5281    
  17  norm          .10000E-03    .45986        .72149E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  18  norm          .34215        1.3121        .14706E-02   -1.5591    
  19  Normalizat    .94300        .28321        .31072E-03   -.94965    
  20  Prefactor     1.1553        .20559        .21270E-03   -.87719    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 4.19044e-09
Minuit parameter uncertainties:
  1  12.3898
  2  27.3605
  3  5.17588e-05
  4  7.02165e-05
  5  17.8191
  6  3.67696e-06
  7  0.000393863
  8  10.2743
  9  2.60275e-05
  10  4.41351
  11  45.4421
  12  18.3902
  13  48.6363
  14  39.0077
  15  0.000249825
  16  3.92723
  17  2.04998e-05
  18  1.31221
  19  0.283658
  20  0.205731
Done.

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

Extracting fit parameters...

4FGL J0920.3-0443
   Spectrum: PowerLaw
250    Prefactor:  1.000e-04  2.603e-05  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.155e+00  2.057e-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:  9.430e-01  2.837e-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: 1.00e-07 ph cm-2 s-1
Energy Flux Upper Limit: 7.84e-03 MeV cm-2 s-1

Saving results to:
/scratch/kocevski/126534/likelihoodResults_507859201_508118401_4FGL_J0920.3-0443_daily_bin1036.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) = 5121.92141458
delta logL = -0.000408915744629

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

MINUIT Return Code (Free Index): 102
logL (Free Index) = 5121.92100833
delta logL = -2.66821461992e-06

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'Prefactor '    .13112E-03   1.0000         .10000E-03   10000.    
     2 'Index     '    2.5694       1.0000          .0000       10.000    
     3 'Normalizat'    .94256       1.0000         .10000E-01   10.000    
     4 'Prefactor '    1.1556       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=   5121.921     FROM MIGRAD    STATUS=CONVERGED     90 CALLS      244 TOTAL
                     EDM=   .38E-08    STRATEGY= 1      ERR MATRIX NOT POS-DEF

  EXT PARAMETER                APPROXIMATE        STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor     .10165E-03    155.11        .18142E-02** at limit **
   2  Index         2.4955        5.6122        .50000        .98168E-05
   3  Normalizat    .94299        .20771E-01    .31072E-03    .13537E-05
   4  Prefactor     1.1553        .15660E-01    .21270E-03   -.11759E-04
                               ERR DEF=  .500    
Final values: 
  Prefactor  = 0.000101648
  Index      = 2.49551
  Normalizat = 0.942992
  Prefactor  = 1.15526
 **********
 **   18 **HESSE 
 **********

 FCN=   5121.921     FROM HESSE     STATUS=NOT POSDEF    29 CALLS      273 TOTAL
                     EDM=   .17E-07    STRATEGY= 1      ERR MATRIX NOT POS-DEF

  EXT PARAMETER                APPROXIMATE     INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  Prefactor     .10165E-03    639.04        .36285E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   2  Index         2.4955        8.4393        .50000       -.52464    
   3  Normalizat    .94299        .44614E-01    .12429E-04   -.94966    
   4  Prefactor     1.1553        .33634E-01    .85079E-05   -.87719    
                               ERR DEF=  .500    
Minuit fit quality: 2   estimated distance: 1.74123e-08
Minuit parameter uncertainties:
  1  0.0656071
  2  1189.51
  3  0.0446154
  4  0.033635
shell-init: error retrieving current directory: getcwd: cannot access parent directories: No such file or directory
rmdir: failed to remove `/scratch/kocevski/126534': 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) = 5121.9210055
delta logL = 1.6712147044e-07

Extracting fit parameters...

4FGL J0920.3-0443
   Spectrum: PowerLaw
250    Prefactor:  1.016e-04  6.561e-02  1.000e-04  1.000e+04 ( 1.000e-13)
251        Index:  2.496e+00  1.190e+03  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.155e+00  3.363e-02  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:  9.430e-01  4.462e-02  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/126534/cmap_HighResolution_507859201_508118401_4FGL_J0920.3-0443_daily_bin1036.png

Cleaning up...

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

Updating database...

UPDATE lightcurve_data_v2 SET energy_flux_upper_limit='7.84e-03', job_status='DONE', photon_flux_upper_limit='1.00e-07', time_completed='2021-08-31 06:52:23.070524', job_id='126534', GAL2='1.16', fit_tolerance='1e-08', EG2='0.94', EG='0.94', time_epoch_completed='1630417943.07', return_code2='102', ts='-0.00', comment='SUCCESS', return_code='0', GAL='1.16', dlogl='1.67e-07', ts2='-0.00', photon_index_error='0.00', photon_index='2.59' WHERE bin_id='1036' AND source_name='4FGL J0920.3-0443' AND cadence='daily';

Database successfully updated.


Analysis Complete.


Tue Aug 31 06:52:23 PDT 2021


------------------------------------------------------------
Sender: LSF System <lsf@bullet0211>
Subject: Job 126534: <4FGL_J0920.3-0443_daily_bin1036> in cluster <slac> Done

Job <4FGL_J0920.3-0443_daily_bin1036> was submitted from host <rhel6-64e> by user <kocevski> in cluster <slac> at Tue Aug 31 06:41:51 2021
Job was executed on host(s) <bullet0211>, in queue <medium>, as user <kocevski> in cluster <slac> at Tue Aug 31 06:41:52 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:41:52 2021
Terminated at Tue Aug 31 06:52:25 2021
Results reported at Tue Aug 31 06:52:25 2021

Your job looked like:

------------------------------------------------------------
# LSBATCH: User input
/nfs/farm/g/glast/g/LCRepository/Likelihood/Scripts/LikelihoodAnalysis.py 4FGL_J0920.3-0443_daily_bin1036 140.1 -4.7311 507859201 508118401 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.42 sec.
    Max Memory :                                 1094 MB
    Average Memory :                             296.89 MB
    Total Requested Memory :                     -
    Delta Memory :                               -
    Max Swap :                                   -
    Max Processes :                              5
    Max Threads :                                21
    Run time :                                   632 sec.
    Turnaround time :                            634 sec.

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

