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


Performing analysis on: 4FGL_J0920.3-0443_daily_bin518
RA = 140.1, Dec = -4.7311
tmin = 373593601, tmax = 373852801
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='123106', job_status='RUN', time_executed='2021-08-31 06:36:38.228039', time_epoch_executed='1630416998.23' WHERE source_name='4FGL J0920.3-0443' and cadence='daily' and bin_id='518'

Database successfully updated.
Done.

Creating custom output directory:
/scratch/kocevski/123106

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

Retrieving the FT1 file...

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

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

Retrieving 47 files...
Done.


Merging files...

Checksum keywords updated successfully.

Merged file saved to:
/scratch/kocevski/123106/ft1_4FGL_J0920.3-0443_daily_bin518.fits


Retrieving the FT1 file...

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

Retrieving 47 files...
Done.


Merging files...

Merged file saved to:
/scratch/kocevski/123106/ft2_4FGL_J0920.3-0443_daily_bin518.fits


Selecting the photons:
time -p gtselect infile=/scratch/kocevski/123106/ft1_4FGL_J0920.3-0443_daily_bin518.fits outfile=/scratch/kocevski/123106/ft1_filteredMKT_4FGL_J0920.3-0443_daily_bin518.fits ra=140.1 dec=-4.7311 rad=12.0 tmin=373593601.0 tmax=373852801.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.84
user 3.24
sys 4.53

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

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

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

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

Generating the livetime cube:
time -p gtltcube evfile="/scratch/kocevski/123106/ft1_filtered_4FGL_J0920.3-0443_daily_bin518.fits" evtable="EVENTS" scfile=/scratch/kocevski/123106/ft2_4FGL_J0920.3-0443_daily_bin518.fits sctable="SC_DATA" outfile=/scratch/kocevski/123106/ltcube_373593601_373852801_4FGL_J0920.3-0443_daily_bin518.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/123106/ft2_4FGL_J0920.3-0443_daily_bin518.fits
.....................!
real 16.71
user 11.46
sys 5.18

Generating the exposure map:
time -p gtexpmap evfile=/scratch/kocevski/123106/ft1_filtered_4FGL_J0920.3-0443_daily_bin518.fits evtable="EVENTS" scfile=/scratch/kocevski/123106/ft2_4FGL_J0920.3-0443_daily_bin518.fits sctable="SC_DATA" expcube=/scratch/kocevski/123106/ltcube_373593601_373852801_4FGL_J0920.3-0443_daily_bin518.fits outfile=/scratch/kocevski/123106/expmap_373593601_373852801_4FGL_J0920.3-0443_daily_bin518.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/123106/ltcube_373593601_373852801_4FGL_J0920.3-0443_daily_bin518.fits
.....................!
real 195.18
user 185.06
sys 9.70

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/123106/ft1_filtered_4FGL_J0920.3-0443_daily_bin518.fits scfile=/scratch/kocevski/123106/ft2_4FGL_J0920.3-0443_daily_bin518.fits outfile=/scratch/kocevski/123106/cmap_373593601_373852801_4FGL_J0920.3-0443_daily_bin518.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 4.77
user 0.36
sys 4.37

Creating the high resolution counts map:
time -p gtbin evfile=/scratch/kocevski/123106/ft1_filtered_4FGL_J0920.3-0443_daily_bin518.fits scfile=/scratch/kocevski/123106/ft2_4FGL_J0920.3-0443_daily_bin518.fits outfile=/scratch/kocevski/123106/cmap_HighResolution_373593601_373852801_4FGL_J0920.3-0443_daily_bin518.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 4.79
user 0.39
sys 4.36

Computing the diffuse response:
time -p gtdiffrsp evfile=/scratch/kocevski/123106/ft1_filtered_4FGL_J0920.3-0443_daily_bin518.fits evtable="EVENTS" scfile=/scratch/kocevski/123106/ft2_4FGL_J0920.3-0443_daily_bin518.fits sctable="SC_DATA" srcmdl=/scratch/kocevski/123106/Model_4FGL_J0920.3-0443_daily_bin518.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/123106/ft1_filtered_4FGL_J0920.3-0443_daily_bin518.fits.....................!
real 72.18
user 65.14
sys 6.81

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

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

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

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'norm      '    7.4406       1.0000         .10000E-03   10000.    
     2 'Prefactor '    .10010E-03   1.0000         .10000E-03   10000.    
     3 'norm      '    .83384E-03   1.0000         .10000E-03   10000.    
     4 'norm      '    3.4357       1.0000         .10000E-03   10000.    
     5 'Prefactor '    .10000E-03   1.0000         .10000E-03   10000.    
     6 'Prefactor '    .10006E-03   1.0000         .10000E-03   10000.    
     7 'norm      '    4.0295       1.0000         .10000E-03   10000.    
     8 'norm      '    14.692       1.0000         .10000E-03   10000.    
     9 'Prefactor '    .11044E-03   1.0000         .10000E-03   10000.    
    10 'Prefactor '    .37766       1.0000         .10000E-03   10000.    
    11 'Prefactor '    .11492E-03   1.0000         .10000E-03   10000.    
    12 'Prefactor '    8.2451       1.0000         .10000E-03   10000.    
    13 'Prefactor '    39.603       1.0000         .10000E-03   10000.    
    14 'Prefactor '    .10001E-03   1.0000         .10000E-03   10000.    
    15 'norm      '    .14821E-03   1.0000         .10000E-03   10000.    
    16 'norm      '    12.908       1.0000         .10000E-03   10000.    
    17 'norm      '    4.7707       1.0000         .10000E-03   10000.    
    18 'norm      '    2.1641       1.0000         .10000E-03   10000.    
    19 'Normalizat'    .63402       1.0000         .10000E-01   10.000    
    20 'Prefactor '    1.3070       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=   6238.335     FROM MIGRAD    STATUS=CONVERGED    433 CALLS     1778 TOTAL
                     EDM=   .20E-09  STRATEGY=1  ERROR MATRIX UNCERTAINTY=  4.6%

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  norm          7.4408        8.4822        .48795E-07    .80347E-05
   2  Prefactor     .10000E-03    18.625        .14086E-05** at limit **
   3  norm          .10001E-03    14.156        .46403E-05** at limit **
   4  norm          3.4365        2.4854        .11954E-06   -.95930E-04
   5  Prefactor     .10000E-03    3.9682        .41301E-07** at limit **
   6  Prefactor     .10000E-03    6.6725       -.10020E-06** at limit **
   7  norm          4.0302        3.5149        .97240E-06    .85650E-03
   8  norm          14.686        9.1497       -.11527E-06    .18838E-04
   9  Prefactor     .10000E-03    32.443       -.12736E-05** at limit **
  10  Prefactor     .36269        2.1856       -.37607E-06    .37570E-04
  11  Prefactor     .10000E-03    59.680        .10652E-05** at limit **
  12  Prefactor     8.2436        11.223        .32732E-07    .66643E-05
  13  Prefactor     39.593        31.022        .21469E-05    .65244E-04
  14  Prefactor     .10000E-03    10.124       -.14229E-05** at limit **
  15  norm          .10000E-03    9.6700        .11051E-05** at limit **
  16  norm          12.907        5.2359       -.37221E-06   -.16934E-03
  17  norm          4.7706        .99541        .11746E-07    .11592E-04
  18  norm          2.1641        1.8257        .25473E-07    .96962E-05
  19  Normalizat    .63399        .23295       -.84020E-06   -.53269E-04
  20  Prefactor     1.3070        .17102        .22229E-06   -.15390E-03
                               ERR DEF=  .500    
Final values: 
  norm       = 7.44081
  Prefactor  = 0.0001
  norm       = 0.00010001
  norm       = 3.43654
  Prefactor  = 0.0001
  Prefactor  = 0.0001
  norm       = 4.03024
  norm       = 14.6864
  Prefactor  = 0.0001
  Prefactor  = 0.362691
  Prefactor  = 0.0001
  Prefactor  = 8.24361
  Prefactor  = 39.5932
  Prefactor  = 0.0001
  norm       = 0.0001
  norm       = 12.9069
  norm       = 4.77062
  norm       = 2.16414
  Normalizat = 0.633985
  Prefactor  = 1.30698
 **********
 **   18 **HESSE 
 **********

 FCN=   6238.335     FROM HESSE     STATUS=OK           293 CALLS     2071 TOTAL
                     EDM=   .86E-09    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  norm          7.4408        8.4792        .14703E-03   -1.5162    
   2  Prefactor     .10000E-03    18.708        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   3  norm          .10001E-03    20.966        .37772E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   4  norm          3.4365        2.4740        .10231E-03   -1.5337    
   5  Prefactor     .10000E-03    3.9751        .15365E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   6  Prefactor     .10000E-03    6.7967        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   7  norm          4.0302        3.9809        .74490E-03   -1.5306    
   8  norm          14.686        9.1600        .10449E-03   -1.4941    
   9  Prefactor     .10000E-03    32.953        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  10  Prefactor     .36269        9.8232        .21472E-02   -1.5588    
  11  Prefactor     .10000E-03    60.117        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  12  Prefactor     8.2436        11.208        .13962E-03   -1.5134    
  13  Prefactor     39.593        31.212        .63693E-04   -1.4449    
  14  Prefactor     .10000E-03    10.171        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  15  norm          .10000E-03    10.000        .36285E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  16  norm          12.907        5.2412        .11116E-03   -1.4989    
  17  norm          4.7706        .99675        .34051E-04   -1.5271    
  18  norm          2.1641        1.8260        .94984E-04   -1.5414    
  19  Normalizat    .63399        .26022        .36649E-03   -1.0656    
  20  Prefactor     1.3070        .19212        .20315E-03   -.83100    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 8.56742e-10
Minuit parameter uncertainties:
  1  8.48054
  2  4.8086e-05
  3  0.000896624
  4  2.47407
  5  1.53971e-06
  6  6.15724e-06
  7  3.98121
  8  9.16088
  9  4.09721e-05
  10  3.77524
  11  7.35252e-05
  12  11.2105
  13  31.2253
  14  4.66188e-05
  15  3.42362e-05
  16  5.24143
  17  0.996751
  18  1.82602
  19  0.260721
  20  0.19222
Done.

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

Extracting fit parameters...

4FGL J0920.3-0443
   Spectrum: PowerLaw
250    Prefactor:  1.000e-04  4.097e-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.307e+00  1.922e-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:  6.340e-01  2.607e-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.01e-07 ph cm-2 s-1
Energy Flux Upper Limit: 7.92e-03 MeV cm-2 s-1

Saving results to:
/scratch/kocevski/123106/likelihoodResults_373593601_373852801_4FGL_J0920.3-0443_daily_bin518.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) = 6238.33517659
delta logL = -0.00014455074961

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

MINUIT Return Code (Free Index): 0
logL (Free Index) = 6238.33503214
delta logL = -1.03407728602e-07

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'Prefactor '    .10384E-03   1.0000         .10000E-03   10000.    
     2 'Index     '    2.6613       1.0000          .0000       10.000    
     3 'Normalizat'    .63398       1.0000         .10000E-01   10.000    
     4 'Prefactor '    1.3070       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=   6238.335     FROM MIGRAD    STATUS=CONVERGED     54 CALLS      235 TOTAL
                     EDM=   .16E-09    STRATEGY= 1      ERR MATRIX NOT POS-DEF

  EXT PARAMETER                APPROXIMATE        STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor     .10000E-03    1676.8        .90712E-02** at limit **
   2  Index         2.6520        6.2781        .50000        .25708E-05
   3  Normalizat    .63398        .41627E-01    .82751E-01    .39311E-04
   4  Prefactor     1.3070        .32123E-01    .32489E-01    .46539E-05
                               ERR DEF=  .500    
Final values: 
  Prefactor  = 0.0001
  Index      = 2.652
  Normalizat = 0.633985
  Prefactor  = 1.30698
 **********
 **   18 **HESSE 
 **********

 FCN=   6238.335     FROM HESSE     STATUS=NOT POSDEF    33 CALLS      268 TOTAL
                     EDM=   .17E-08    STRATEGY= 1      ERR MATRIX NOT POS-DEF

  EXT PARAMETER                APPROXIMATE     INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  Prefactor     .10000E-03    6860.2        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   2  Index         2.6520        7.2395        .50000       -.48884    
   3  Normalizat    .63398        .73783E-01    .36649E-03   -1.0656    
   4  Prefactor     1.3070        .57182E-01    .20315E-03   -.83100    
                               ERR DEF=  .500    
Minuit fit quality: 2   estimated distance: 1.65178e-09
Minuit parameter uncertainties:
  1  0.000692351
  2  51.3714
  3  0.0737944
  4  0.057185
shell-init: error retrieving current directory: getcwd: cannot access parent directories: No such file or directory
rmdir: failed to remove `/scratch/kocevski/123106': 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) = 6238.33503207
delta logL = -3.75002855435e-08

Extracting fit parameters...

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

GAL_V02
   Spectrum: PowerLaw
487    Prefactor:  1.307e+00  5.718e-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:  6.340e-01  7.379e-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/123106/cmap_HighResolution_373593601_373852801_4FGL_J0920.3-0443_daily_bin518.png

Cleaning up...

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

Updating database...

UPDATE lightcurve_data_v2 SET energy_flux_upper_limit='7.92e-03', job_status='DONE', photon_flux_upper_limit='1.01e-07', time_completed='2021-08-31 06:46:42.955062', job_id='123106', GAL2='1.31', fit_tolerance='1e-08', EG2='0.63', EG='0.63', time_epoch_completed='1630417602.96', return_code2='102', ts='-0.00', comment='SUCCESS', return_code='0', GAL='1.31', dlogl='-3.75e-08', ts2='-0.00', photon_index_error='0.00', photon_index='2.59' WHERE bin_id='518' AND source_name='4FGL J0920.3-0443' AND cadence='daily';

Database successfully updated.


Analysis Complete.


Tue Aug 31 06:46:43 PDT 2021


------------------------------------------------------------
Sender: LSF System <lsf@bullet0205>
Subject: Job 123106: <4FGL_J0920.3-0443_daily_bin518> in cluster <slac> Done

Job <4FGL_J0920.3-0443_daily_bin518> was submitted from host <rhel6-64c> by user <kocevski> in cluster <slac> at Tue Aug 31 06:31:49 2021
Job was executed on host(s) <bullet0205>, in queue <medium>, as user <kocevski> in cluster <slac> at Tue Aug 31 06:31:51 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:31:51 2021
Terminated at Tue Aug 31 06:46:44 2021
Results reported at Tue Aug 31 06:46:44 2021

Your job looked like:

------------------------------------------------------------
# LSBATCH: User input
/nfs/farm/g/glast/g/LCRepository/Likelihood/Scripts/LikelihoodAnalysis.py 4FGL_J0920.3-0443_daily_bin518 140.1 -4.7311 373593601 373852801 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 :                                   668.00 sec.
    Max Memory :                                 1093 MB
    Average Memory :                             241.55 MB
    Total Requested Memory :                     -
    Delta Memory :                               -
    Max Swap :                                   -
    Max Processes :                              5
    Max Threads :                                21
    Run time :                                   892 sec.
    Turnaround time :                            895 sec.

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

