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


Performing analysis on: 4FGL_J0920.3-0443_daily_bin1427
RA = 140.1, Dec = -4.7311
tmin = 609206401, tmax = 609465601
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='128105', job_status='RUN', time_executed='2021-08-31 06:50:56.303721', time_epoch_executed='1630417856.3' WHERE source_name='4FGL J0920.3-0443' and cadence='daily' and bin_id='1427'

Database successfully updated.
Done.

Creating custom output directory:
/scratch/kocevski/128105

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

Retrieving the FT1 file...

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

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

Retrieving 46 files...
Done.


Merging files...

Checksum keywords updated successfully.

Merged file saved to:
/scratch/kocevski/128105/ft1_4FGL_J0920.3-0443_daily_bin1427.fits


Retrieving the FT1 file...

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

Retrieving 46 files...
Done.


Merging files...

Merged file saved to:
/scratch/kocevski/128105/ft2_4FGL_J0920.3-0443_daily_bin1427.fits


Selecting the photons:
time -p gtselect infile=/scratch/kocevski/128105/ft1_4FGL_J0920.3-0443_daily_bin1427.fits outfile=/scratch/kocevski/128105/ft1_filteredMKT_4FGL_J0920.3-0443_daily_bin1427.fits ra=140.1 dec=-4.7311 rad=12.0 tmin=609206401.0 tmax=609465601.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.17
user 2.77
sys 3.69

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

Selecting the good time intervals:
time -p gtmktime scfile=/scratch/kocevski/128105/ft2_4FGL_J0920.3-0443_daily_bin1427.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/128105/ft1_filteredMKT_4FGL_J0920.3-0443_daily_bin1427.fits evtable="EVENTS" outfile="/scratch/kocevski/128105/ft1_filtered_4FGL_J0920.3-0443_daily_bin1427.fits" apply_filter=yes overwrite=yes header_obstimes=yes tstart=0.0 tstop=0.0 gtifile="default" chatter=3 clobber=yes debug=no gui=no mode="ql"

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

This is gtmktime version HEAD
Applying GTI filter:
IN_SAA!=T && LIVETIME>0 && gtifilter('/nfs/farm/g/glast/g/LCRepository/Likelihood/GTIs/nogrb.gti',(START+STOP)/2) && (angsep(RA_SUN,DEC_SUN,RA_ZENITH,DEC_ZENITH)>115 || gtifilter('/nfs/farm/g/glast/g/LCRepository/Likelihood/GTIs/nosolarflares.gti',(START+STOP)/2))
real 5.48
user 0.34
sys 4.24

Generating the livetime cube:
time -p gtltcube evfile="/scratch/kocevski/128105/ft1_filtered_4FGL_J0920.3-0443_daily_bin1427.fits" evtable="EVENTS" scfile=/scratch/kocevski/128105/ft2_4FGL_J0920.3-0443_daily_bin1427.fits sctable="SC_DATA" outfile=/scratch/kocevski/128105/ltcube_609206401_609465601_4FGL_J0920.3-0443_daily_bin1427.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/128105/ft2_4FGL_J0920.3-0443_daily_bin1427.fits
.....................!
real 17.51
user 12.26
sys 4.20

Generating the exposure map:
time -p gtexpmap evfile=/scratch/kocevski/128105/ft1_filtered_4FGL_J0920.3-0443_daily_bin1427.fits evtable="EVENTS" scfile=/scratch/kocevski/128105/ft2_4FGL_J0920.3-0443_daily_bin1427.fits sctable="SC_DATA" expcube=/scratch/kocevski/128105/ltcube_609206401_609465601_4FGL_J0920.3-0443_daily_bin1427.fits outfile=/scratch/kocevski/128105/expmap_609206401_609465601_4FGL_J0920.3-0443_daily_bin1427.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/128105/ltcube_609206401_609465601_4FGL_J0920.3-0443_daily_bin1427.fits
.....................!
real 198.43
user 185.56
sys 9.81

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/128105/ft1_filtered_4FGL_J0920.3-0443_daily_bin1427.fits scfile=/scratch/kocevski/128105/ft2_4FGL_J0920.3-0443_daily_bin1427.fits outfile=/scratch/kocevski/128105/cmap_609206401_609465601_4FGL_J0920.3-0443_daily_bin1427.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 5.57
user 0.37
sys 3.60

Creating the high resolution counts map:
time -p gtbin evfile=/scratch/kocevski/128105/ft1_filtered_4FGL_J0920.3-0443_daily_bin1427.fits scfile=/scratch/kocevski/128105/ft2_4FGL_J0920.3-0443_daily_bin1427.fits outfile=/scratch/kocevski/128105/cmap_HighResolution_609206401_609465601_4FGL_J0920.3-0443_daily_bin1427.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 5.55
user 0.38
sys 3.85

Computing the diffuse response:
time -p gtdiffrsp evfile=/scratch/kocevski/128105/ft1_filtered_4FGL_J0920.3-0443_daily_bin1427.fits evtable="EVENTS" scfile=/scratch/kocevski/128105/ft2_4FGL_J0920.3-0443_daily_bin1427.fits sctable="SC_DATA" srcmdl=/scratch/kocevski/128105/Model_4FGL_J0920.3-0443_daily_bin1427.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/128105/ft1_filtered_4FGL_J0920.3-0443_daily_bin1427.fits.....................!
real 74.50
user 55.86
sys 5.73

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

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

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

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'norm      '    15.065       1.0000         .10000E-03   10000.    
     2 'Prefactor '    .10000E-03   1.0000         .10000E-03   10000.    
     3 'norm      '    1.5903       1.0000         .10000E-03   10000.    
     4 'norm      '    .64921       1.0000         .10000E-03   10000.    
     5 'Prefactor '    .10001E-03   1.0000         .10000E-03   10000.    
     6 'Prefactor '    3.7242       1.0000         .10000E-03   10000.    
     7 'norm      '    1.7310       1.0000         .10000E-03   10000.    
     8 'norm      '    6.2605       1.0000         .10000E-03   10000.    
     9 'Prefactor '    .10001E-03   1.0000         .10000E-03   10000.    
    10 'Prefactor '    .15703E-01   1.0000         .10000E-03   10000.    
    11 'Prefactor '    .10001E-03   1.0000         .10000E-03   10000.    
    12 'Prefactor '    2.9763       1.0000         .10000E-03   10000.    
    13 'Prefactor '    .10002E-03   1.0000         .10000E-03   10000.    
    14 'Prefactor '    28.825       1.0000         .10000E-03   10000.    
    15 'norm      '    4.2502       1.0000         .10000E-03   10000.    
    16 'norm      '    .10002E-03   1.0000         .10000E-03   10000.    
    17 'norm      '    .73007       1.0000         .10000E-03   10000.    
    18 'norm      '    2.8807       1.0000         .10000E-03   10000.    
    19 'Normalizat'    .94782       1.0000         .10000E-01   10.000    
    20 'Prefactor '    .78001       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=   5319.113     FROM MIGRAD    STATUS=CONVERGED    431 CALLS     2069 TOTAL
                     EDM=   .19E-09  STRATEGY=1  ERROR MATRIX UNCERTAINTY=  2.2%

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  norm          15.064        8.1830        .14177E-06    .27219E-05
   2  Prefactor     .10000E-03    7.8545        .12730E-07** at limit **
   3  norm          1.5903        3.4904        .75441E-07   -.57398E-04
   4  norm          .64845        1.7265        .18784E-06   -.15602E-04
   5  Prefactor     .10000E-03    3.4756        .85771E-08** at limit **
   6  Prefactor     3.7234        6.1238        .11405E-07   -.58850E-04
   7  norm          1.7315        2.1058        .24210E-08   -.35554E-04
   8  norm          6.2598        5.4166        .49280E-06   -.54028E-03
   9  Prefactor     .10000E-03    12.759        .59869E-07** at limit **
  10  Prefactor     .10000E-03    1.5398       -.68286E-07** at limit **
  11  Prefactor     .10000E-03    10.269       -.17111E-08** at limit **
  12  Prefactor     2.9690        15.454        .47506E-05    .19326E-04
  13  Prefactor     .10000E-03    23.411       -.31704E-06** at limit **
  14  Prefactor     28.835        33.282        .51952E-05    .53640E-04
  15  norm          4.2428        6.0785        .93723E-07   -.61758E-03
  16  norm          .10000E-03    2.7040        .97064E-08** at limit **
  17  norm          .73043        .60640       -.24624E-07   -.43213E-03
  18  norm          2.8806        1.9490        .17974E-07    .87123E-05
  19  Normalizat    .94776        .18363       -.11951E-05    .91694E-05
  20  Prefactor     .78011        .13243        .42034E-07   -.61706E-04
                               ERR DEF=  .500    
Final values: 
  norm       = 15.0644
  Prefactor  = 0.0001
  norm       = 1.59035
  norm       = 0.648451
  Prefactor  = 0.0001
  Prefactor  = 3.72337
  norm       = 1.73146
  norm       = 6.25982
  Prefactor  = 0.0001
  Prefactor  = 0.000100001
  Prefactor  = 0.0001
  Prefactor  = 2.96904
  Prefactor  = 0.0001
  Prefactor  = 28.8347
  norm       = 4.24284
  norm       = 0.0001
  norm       = 0.730427
  norm       = 2.88059
  Normalizat = 0.947765
  Prefactor  = 0.780111
 **********
 **   18 **HESSE 
 **********

 FCN=   5319.113     FROM HESSE     STATUS=OK           307 CALLS     2376 TOTAL
                     EDM=   .81E-08    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  norm          15.064        8.1850        .10319E-03   -1.4932    
   2  Prefactor     .10000E-03    7.8630        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   3  norm          1.5903        3.4383        .19566E-03   -1.5456    
   4  norm          .64845        1.5662        .15124E-02   -1.5547    
   5  Prefactor     .10000E-03    3.4831        .13277E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   6  Prefactor     3.7234        6.1174        .20924E-03   -1.5322    
   7  norm          1.7315        2.0940        .11279E-03   -1.5445    
   8  norm          6.2598        5.7306        .80123E-03   -1.5208    
   9  Prefactor     .10000E-03    12.871        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  10  Prefactor     .10000E-03    3.9713        .30359E-01   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  11  Prefactor     .10000E-03    10.275        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  12  Prefactor     2.9690        15.438        .23534E-03   -1.5363    
  13  Prefactor     .10000E-03    23.474        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  14  Prefactor     28.835        37.371        .74622E-04   -1.4633    
  15  norm          4.2428        9.8827        .97722E-03   -1.5296    
  16  norm          .10000E-03    2.7433        .11707E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  17  norm          .73043        .58266        .48747E-03   -1.5537    
  18  norm          2.8806        1.9529        .81384E-04   -1.5369    
  19  Normalizat    .94776        .21721        .24220E-03   -.94802    
  20  Prefactor     .78011        .15740        .19918E-03   -1.0047    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 8.14351e-09
Minuit parameter uncertainties:
  1  8.18564
  2  3.23296e-06
  3  3.43871
  4  1.56626
  5  1.00544e-06
  6  6.11839
  7  2.09407
  8  5.73114
  9  3.39732e-06
  10  0.000104605
  11  1.09092e-06
  12  13.5459
  13  6.84267e-07
  14  37.4009
  15  9.88645
  16  3.1739e-06
  17  0.582662
  18  1.95292
  19  0.217416
  20  0.157493
Done.

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

Extracting fit parameters...

4FGL J0920.3-0443
   Spectrum: PowerLaw
250    Prefactor:  1.000e-04  3.397e-06  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.801e-01  1.575e-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.478e-01  2.174e-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: 7.54e-08 ph cm-2 s-1
Energy Flux Upper Limit: 5.90e-03 MeV cm-2 s-1

Saving results to:
/scratch/kocevski/128105/likelihoodResults_609206401_609465601_4FGL_J0920.3-0443_daily_bin1427.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) = 5319.11351506
delta logL = -0.000370286771613

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

MINUIT Return Code (Free Index): 102
logL (Free Index) = 5319.11314472
delta logL = 5.4033989727e-08

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'Prefactor '    .10138E-03   1.0000         .10000E-03   10000.    
     2 'Index     '    2.5596       1.0000          .0000       10.000    
     3 'Normalizat'    .94778       1.0000         .10000E-01   10.000    
     4 'Prefactor '    .78011       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=   5319.113     FROM MIGRAD    STATUS=CONVERGED     87 CALLS      238 TOTAL
                     EDM=   .27E-08    STRATEGY= 1      ERR MATRIX NOT POS-DEF

  EXT PARAMETER                APPROXIMATE        STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor     .10176E-03    104.06        .18142E-02** at limit **
   2  Index         2.4977        8.6947        .50000        .14785E-04
   3  Normalizat    .94776        .12117E-01    .24220E-03    .62616E-04
   4  Prefactor     .78011        .91731E-02    .19918E-03    .57362E-04
                               ERR DEF=  .500    
Final values: 
  Prefactor  = 0.000101764
  Index      = 2.49767
  Normalizat = 0.947764
  Prefactor  = 0.780112
 **********
 **   18 **HESSE 
 **********

 FCN=   5319.113     FROM HESSE     STATUS=NOT POSDEF    29 CALLS      267 TOTAL
                     EDM=   .12E-07    STRATEGY= 1      ERR MATRIX NOT POS-DEF

  EXT PARAMETER                APPROXIMATE     INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  Prefactor     .10176E-03    442.87        .36285E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   2  Index         2.4977        5.6925        .50000       -.52414    
   3  Normalizat    .94776        .25828E-01    .96882E-05   -.94802    
   4  Prefactor     .78011        .19552E-01    .79673E-05   -1.0047    
                               ERR DEF=  .500    
Minuit fit quality: 2   estimated distance: 1.19467e-08
Minuit parameter uncertainties:
  1  0.0563187
  2  599.954
  3  0.0258279
  4  0.0195522
shell-init: error retrieving current directory: getcwd: cannot access parent directories: No such file or directory
rmdir: failed to remove `/scratch/kocevski/128105': 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) = 5319.11314449
delta logL = 2.81735992758e-07

Extracting fit parameters...

4FGL J0920.3-0443
   Spectrum: PowerLaw
250    Prefactor:  1.018e-04  5.632e-02  1.000e-04  1.000e+04 ( 1.000e-13)
251        Index:  2.498e+00  6.000e+02  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.801e-01  1.955e-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.478e-01  2.583e-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/128105/cmap_HighResolution_609206401_609465601_4FGL_J0920.3-0443_daily_bin1427.png

Cleaning up...

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

Updating database...

UPDATE lightcurve_data_v2 SET energy_flux_upper_limit='5.90e-03', job_status='DONE', photon_flux_upper_limit='7.54e-08', time_completed='2021-08-31 07:01:36.504873', job_id='128105', GAL2='0.78', fit_tolerance='1e-08', EG2='0.95', EG='0.95', time_epoch_completed='1630418496.5', return_code2='102', ts='-0.00', comment='SUCCESS', return_code='0', GAL='0.78', dlogl='2.82e-07', ts2='-0.00', photon_index_error='0.00', photon_index='2.59' WHERE bin_id='1427' AND source_name='4FGL J0920.3-0443' AND cadence='daily';

Database successfully updated.


Analysis Complete.


Tue Aug 31 07:01:36 PDT 2021


------------------------------------------------------------
Sender: LSF System <lsf@bullet0142>
Subject: Job 128105: <4FGL_J0920.3-0443_daily_bin1427> in cluster <slac> Done

Job <4FGL_J0920.3-0443_daily_bin1427> was submitted from host <rhel6-64m> by user <kocevski> in cluster <slac> at Tue Aug 31 06:46:22 2021
Job was executed on host(s) <bullet0142>, 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:01:37 2021
Results reported at Tue Aug 31 07:01:37 2021

Your job looked like:

------------------------------------------------------------
# LSBATCH: User input
/nfs/farm/g/glast/g/LCRepository/Likelihood/Scripts/LikelihoodAnalysis.py 4FGL_J0920.3-0443_daily_bin1427 140.1 -4.7311 609206401 609465601 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 :                                   624.00 sec.
    Max Memory :                                 1256 MB
    Average Memory :                             249.52 MB
    Total Requested Memory :                     -
    Delta Memory :                               -
    Max Swap :                                   -
    Max Processes :                              5
    Max Threads :                                21
    Run time :                                   913 sec.
    Turnaround time :                            915 sec.

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

