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


Performing analysis on: 4FGL_J0920.3-0443_daily_bin789
RA = 140.1, Dec = -4.7311
tmin = 443836801, tmax = 444096001
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='124605', job_status='RUN', time_executed='2021-08-31 06:41:46.730823', time_epoch_executed='1630417306.73' WHERE source_name='4FGL J0920.3-0443' and cadence='daily' and bin_id='789'

Database successfully updated.
Done.

Creating custom output directory:
/scratch/kocevski/124605

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

Retrieving the FT1 file...

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

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

Retrieving 46 files...
Done.


Merging files...

Checksum keywords updated successfully.

Merged file saved to:
/scratch/kocevski/124605/ft1_4FGL_J0920.3-0443_daily_bin789.fits


Retrieving the FT1 file...

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

Retrieving 46 files...
Done.


Merging files...

Merged file saved to:
/scratch/kocevski/124605/ft2_4FGL_J0920.3-0443_daily_bin789.fits


Selecting the photons:
time -p gtselect infile=/scratch/kocevski/124605/ft1_4FGL_J0920.3-0443_daily_bin789.fits outfile=/scratch/kocevski/124605/ft1_filteredMKT_4FGL_J0920.3-0443_daily_bin789.fits ra=140.1 dec=-4.7311 rad=12.0 tmin=443836801.0 tmax=444096001.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 6.75
user 3.22
sys 3.02

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

Selecting the good time intervals:
time -p gtmktime scfile=/scratch/kocevski/124605/ft2_4FGL_J0920.3-0443_daily_bin789.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/124605/ft1_filteredMKT_4FGL_J0920.3-0443_daily_bin789.fits evtable="EVENTS" outfile="/scratch/kocevski/124605/ft1_filtered_4FGL_J0920.3-0443_daily_bin789.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 3.96
user 0.31
sys 2.99

Generating the livetime cube:
time -p gtltcube evfile="/scratch/kocevski/124605/ft1_filtered_4FGL_J0920.3-0443_daily_bin789.fits" evtable="EVENTS" scfile=/scratch/kocevski/124605/ft2_4FGL_J0920.3-0443_daily_bin789.fits sctable="SC_DATA" outfile=/scratch/kocevski/124605/ltcube_443836801_444096001_4FGL_J0920.3-0443_daily_bin789.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/124605/ft2_4FGL_J0920.3-0443_daily_bin789.fits
.....................!
real 15.54
user 11.74
sys 3.52

Generating the exposure map:
time -p gtexpmap evfile=/scratch/kocevski/124605/ft1_filtered_4FGL_J0920.3-0443_daily_bin789.fits evtable="EVENTS" scfile=/scratch/kocevski/124605/ft2_4FGL_J0920.3-0443_daily_bin789.fits sctable="SC_DATA" expcube=/scratch/kocevski/124605/ltcube_443836801_444096001_4FGL_J0920.3-0443_daily_bin789.fits outfile=/scratch/kocevski/124605/expmap_443836801_444096001_4FGL_J0920.3-0443_daily_bin789.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/124605/ltcube_443836801_444096001_4FGL_J0920.3-0443_daily_bin789.fits
.....................!
real 193.77
user 185.14
sys 7.77

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/124605/ft1_filtered_4FGL_J0920.3-0443_daily_bin789.fits scfile=/scratch/kocevski/124605/ft2_4FGL_J0920.3-0443_daily_bin789.fits outfile=/scratch/kocevski/124605/cmap_443836801_444096001_4FGL_J0920.3-0443_daily_bin789.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.21
user 0.37
sys 2.84

Creating the high resolution counts map:
time -p gtbin evfile=/scratch/kocevski/124605/ft1_filtered_4FGL_J0920.3-0443_daily_bin789.fits scfile=/scratch/kocevski/124605/ft2_4FGL_J0920.3-0443_daily_bin789.fits outfile=/scratch/kocevski/124605/cmap_HighResolution_443836801_444096001_4FGL_J0920.3-0443_daily_bin789.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 6.02
user 0.39
sys 2.89

Computing the diffuse response:
time -p gtdiffrsp evfile=/scratch/kocevski/124605/ft1_filtered_4FGL_J0920.3-0443_daily_bin789.fits evtable="EVENTS" scfile=/scratch/kocevski/124605/ft2_4FGL_J0920.3-0443_daily_bin789.fits sctable="SC_DATA" srcmdl=/scratch/kocevski/124605/Model_4FGL_J0920.3-0443_daily_bin789.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/124605/ft1_filtered_4FGL_J0920.3-0443_daily_bin789.fits.....................!
real 72.53
user 56.37
sys 4.53

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

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

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

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'norm      '    1.2982       1.0000         .10000E-03   10000.    
     2 'Prefactor '    29.126       1.0000         .10000E-03   10000.    
     3 'norm      '    .10208E-03   1.0000         .10000E-03   10000.    
     4 'norm      '    .10004E-03   1.0000         .10000E-03   10000.    
     5 'Prefactor '    6.1315       1.0000         .10000E-03   10000.    
     6 'Prefactor '    7.9116       1.0000         .10000E-03   10000.    
     7 'norm      '    1.9517       1.0000         .10000E-03   10000.    
     8 'norm      '    8.0776       1.0000         .10000E-03   10000.    
     9 'Prefactor '    19.228       1.0000         .10000E-03   10000.    
    10 'Prefactor '    .10003E-03   1.0000         .10000E-03   10000.    
    11 'Prefactor '    .10090E-03   1.0000         .10000E-03   10000.    
    12 'Prefactor '    11.569       1.0000         .10000E-03   10000.    
    13 'Prefactor '    .45064E-03   1.0000         .10000E-03   10000.    
    14 'Prefactor '    .10005E-03   1.0000         .10000E-03   10000.    
    15 'norm      '    9.3334       1.0000         .10000E-03   10000.    
    16 'norm      '    4.8243       1.0000         .10000E-03   10000.    
    17 'norm      '    1.4540       1.0000         .10000E-03   10000.    
    18 'norm      '    .28968       1.0000         .10000E-03   10000.    
    19 'Normalizat'    .99805       1.0000         .10000E-01   10.000    
    20 'Prefactor '    1.0066       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=   5098.708     FROM MIGRAD    STATUS=CONVERGED    403 CALLS     2019 TOTAL
                     EDM=   .87E-09  STRATEGY=1  ERROR MATRIX UNCERTAINTY=  3.4%

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  norm          1.2966        10.840        .20359E-04   -.15371E-03
   2  Prefactor     29.164        45.877       -.59984E-05   -.15015E-03
   3  norm          .10000E-03    9.8685        .17554E-05** at limit **
   4  norm          .10000E-03    .98767        .21237E-06** at limit **
   5  Prefactor     6.1386        13.210        .63846E-06   -.24665E-04
   6  Prefactor     7.9120        7.6548        .16825E-06   -.56263E-04
   7  norm          1.9538        4.6108        .88731E-06    .14873E-04
   8  norm          8.0795        7.2967        .22637E-06   -.64731E-05
   9  Prefactor     19.232        23.926       -.10644E-06   -.12970E-03
  10  Prefactor     .10000E-03    1.2127       -.15290E-06** at limit **
  11  Prefactor     .10000E-03    23.098        .10574E-05** at limit **
  12  Prefactor     11.576        18.978        .28160E-06   -.32569E-04
  13  Prefactor     .10001E-03    123.33        .10984E-04** at limit **
  14  Prefactor     .10000E-03    30.550       -.22846E-05** at limit **
  15  norm          9.3288        7.6692       -.42459E-08   -.29216E-03
  16  norm          4.8215        4.4980        .11508E-06   -.36573E-03
  17  norm          1.4545        .83246        .11908E-06    .99557E-04
  18  norm          .28966        2.1226        .53998E-07   -.36324E-03
  19  Normalizat    .99772        .23683       -.40235E-05   -.64742E-03
  20  Prefactor     1.0066        .16548        .85707E-06   -.54196E-03
                               ERR DEF=  .500    
Final values: 
  norm       = 1.29661
  Prefactor  = 29.1637
  norm       = 0.000100003
  norm       = 0.0001
  Prefactor  = 6.13861
  Prefactor  = 7.91204
  norm       = 1.95385
  norm       = 8.07948
  Prefactor  = 19.2324
  Prefactor  = 0.0001
  Prefactor  = 0.0001
  Prefactor  = 11.5756
  Prefactor  = 0.00010001
  Prefactor  = 0.0001
  norm       = 9.32877
  norm       = 4.82148
  norm       = 1.45447
  norm       = 0.289662
  Normalizat = 0.997717
  Prefactor  = 1.00663
 **********
 **   18 **HESSE 
 **********

 FCN=   5098.708     FROM HESSE     STATUS=OK           293 CALLS     2312 TOTAL
                     EDM=   .17E-08    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  norm          1.2966        10.891        .19400E-02   -1.5480    
   2  Prefactor     29.164        45.888        .74236E-04   -1.4627    
   3  norm          .10000E-03    10.006        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   4  norm          .10000E-03    .98916        .69301E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   5  Prefactor     6.1386        13.193        .16213E-03   -1.5212    
   6  Prefactor     7.9120        7.6533        .14255E-03   -1.5145    
   7  norm          1.9538        4.5875        .22040E-03   -1.5428    
   8  norm          8.0795        7.2901        .14107E-03   -1.5139    
   9  Prefactor     19.232        23.984        .91339E-04   -1.4831    
  10  Prefactor     .10000E-03    1.2196        .76777E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  11  Prefactor     .10000E-03    23.119        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  12  Prefactor     11.576        18.979        .11778E-03   -1.5027    
  13  Prefactor     .10001E-03    123.40        .21208E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  14  Prefactor     .10000E-03    30.686        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  15  norm          9.3288        7.6710        .13118E-03   -1.5097    
  16  norm          4.8215        4.4821        .14004E-03   -1.5269    
  17  norm          1.4545        .82196        .45891E-04   -1.5467    
  18  norm          .28966        2.1557        .19889E-03   -1.5600    
  19  Normalizat    .99772        .27514        .28786E-03   -.93107    
  20  Prefactor     1.0066        .19355        .21311E-03   -.92509    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 1.73524e-09
Minuit parameter uncertainties:
  1  7.51723
  2  45.9434
  3  0.000349912
  4  1.32303e-05
  5  13.199
  6  7.65422
  7  4.58831
  8  7.29088
  9  23.9955
  10  9.0381e-06
  11  8.61494e-05
  12  18.9886
  13  0.00226869
  14  0.000247079
  15  7.67182
  16  4.48241
  17  0.821968
  18  1.58021
  19  0.275528
  20  0.193685
Done.

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

Extracting fit parameters...

4FGL J0920.3-0443
   Spectrum: PowerLaw
250    Prefactor:  1.923e+01  2.400e+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.007e+00  1.937e-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.977e-01  2.755e-01  1.000e-02  1.000e+01 ( 1.000e+00)


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

Saving results to:
/scratch/kocevski/124605/likelihoodResults_443836801_444096001_4FGL_J0920.3-0443_daily_bin789.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) = 5098.57351104
delta logL = 0.134447307641

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

MINUIT Return Code (Free Index): 0
logL (Free Index) = 5098.56596801
delta logL = 0.141990336828

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'Prefactor '    10.120       1.0000         .10000E-03   10000.    
     2 'Index     '    3.1438       1.0000          .0000       10.000    
     3 'Normalizat'    .97328       1.0000         .10000E-01   10.000    
     4 'Prefactor '    1.0197       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=   5098.566     FROM MIGRAD    STATUS=CONVERGED     89 CALLS      281 TOTAL
                     EDM=   .73E-09    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor     10.108        33.221        .12596E-03   -.33558E-03
   2  Index         3.1458        1.7563        .68128E-02   -.13959E-03
   3  Normalizat    .97339        .26402        .29122E-03    .22665E-03
   4  Prefactor     1.0195        .19312        .21191E-03    .40069E-03
                               ERR DEF=  .500    
Final values: 
  Prefactor  = 10.1081
  Index      = 3.14578
  Normalizat = 0.973394
  Prefactor  = 1.01953
 **********
 **   18 **HESSE 
 **********

 FCN=   5098.566     FROM HESSE     STATUS=OK            25 CALLS      306 TOTAL
                     EDM=   .72E-09    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  Prefactor     10.108        21.976        .50383E-05   -1.5072    
   2  Index         3.1458        1.1752        .27251E-03   -.37992    
   3  Normalizat    .97339        .26357        .11649E-04   -.93927    
   4  Prefactor     1.0195        .19233        .42381E-04   -.92081    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 7.1994e-10
Minuit parameter uncertainties:
  1  21.9933
  2  1.18812
  3  0.263922
  4  0.192464
shell-init: error retrieving current directory: getcwd: cannot access parent directories: No such file or directory
rmdir: failed to remove `/scratch/kocevski/124605': 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) = 5098.56596389
delta logL = 0.14199445296

Extracting fit parameters...

4FGL J0920.3-0443
   Spectrum: PowerLaw
250    Prefactor:  1.011e+01  2.199e+01  1.000e-04  1.000e+04 ( 1.000e-13)
251        Index:  3.146e+00  1.188e+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:  1.020e+00  1.925e-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.734e-01  2.639e-01  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Free Index): 1.12
Ra Dec: 140.100 -4.731
Photon Index (Free Index): 3.15 +/- 1.19
Photon Flux (Free Index): 6.42e-08 +/- 7.10e-08
Energy Flux (Free Index): 1.20e-05 +/- 1.31e-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/124605/cmap_HighResolution_443836801_444096001_4FGL_J0920.3-0443_daily_bin789.png

Cleaning up...

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

Updating database...

UPDATE lightcurve_data_v2 SET energy_flux_upper_limit='1.30e-02', comment='SUCCESS', energy_flux2='1.20e-05', dlogl='1.42e-01', photon_flux2='6.42e-08', job_status='DONE', time_completed='2021-08-31 06:51:15.349599', photon_index_error2='1.19', photon_index2='3.15', ts='0.80', fit_tolerance='1e-08', GAL='1.01', photon_index_error='0.00', photon_flux_upper_limit='1.66e-07', energy_flux_error2='1.31e-05', EG='1.00', time_epoch_completed='1630417875.35', return_code='0', job_id='124605', GAL2='1.02', EG2='0.97', return_code2='0', photon_flux_error2='7.10e-08', ts2='1.12', photon_index='2.59' WHERE bin_id='789' AND source_name='4FGL J0920.3-0443' AND cadence='daily';

Database successfully updated.


Analysis Complete.


Tue Aug 31 06:51:15 PDT 2021


------------------------------------------------------------
Sender: LSF System <lsf@bullet0281>
Subject: Job 124605: <4FGL_J0920.3-0443_daily_bin789> in cluster <slac> Done

Job <4FGL_J0920.3-0443_daily_bin789> was submitted from host <rhel6-64m> by user <kocevski> in cluster <slac> at Tue Aug 31 06:36:30 2021
Job was executed on host(s) <bullet0281>, in queue <medium>, as user <kocevski> in cluster <slac> at Tue Aug 31 06:36:32 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:36:32 2021
Terminated at Tue Aug 31 06:51:17 2021
Results reported at Tue Aug 31 06:51:17 2021

Your job looked like:

------------------------------------------------------------
# LSBATCH: User input
/nfs/farm/g/glast/g/LCRepository/Likelihood/Scripts/LikelihoodAnalysis.py 4FGL_J0920.3-0443_daily_bin789 140.1 -4.7311 443836801 444096001 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 :                                   590.00 sec.
    Max Memory :                                 1093 MB
    Average Memory :                             266.15 MB
    Total Requested Memory :                     -
    Delta Memory :                               -
    Max Swap :                                   -
    Max Processes :                              7
    Max Threads :                                21
    Run time :                                   885 sec.
    Turnaround time :                            887 sec.

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

