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


Performing analysis on: 4FGL_J0920.3-0443_daily_bin1297
RA = 140.1, Dec = -4.7311
tmin = 575510401, tmax = 575769601
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='126929', job_status='RUN', time_executed='2021-08-31 06:46:11.668886', time_epoch_executed='1630417571.67' WHERE source_name='4FGL J0920.3-0443' and cadence='daily' and bin_id='1297'

Database successfully updated.
Done.

Creating custom output directory:
/scratch/kocevski/126929

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

Retrieving the FT1 file...

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

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

Retrieving 46 files...
Done.


Merging files...

Checksum keywords updated successfully.

Merged file saved to:
/scratch/kocevski/126929/ft1_4FGL_J0920.3-0443_daily_bin1297.fits


Retrieving the FT1 file...

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

Retrieving 46 files...
Done.


Merging files...

Merged file saved to:
/scratch/kocevski/126929/ft2_4FGL_J0920.3-0443_daily_bin1297.fits


Selecting the photons:
time -p gtselect infile=/scratch/kocevski/126929/ft1_4FGL_J0920.3-0443_daily_bin1297.fits outfile=/scratch/kocevski/126929/ft1_filteredMKT_4FGL_J0920.3-0443_daily_bin1297.fits ra=140.1 dec=-4.7311 rad=12.0 tmin=575510401.0 tmax=575769601.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 9.85
user 5.00
sys 4.80

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

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

Generating the livetime cube:
time -p gtltcube evfile="/scratch/kocevski/126929/ft1_filtered_4FGL_J0920.3-0443_daily_bin1297.fits" evtable="EVENTS" scfile=/scratch/kocevski/126929/ft2_4FGL_J0920.3-0443_daily_bin1297.fits sctable="SC_DATA" outfile=/scratch/kocevski/126929/ltcube_575510401_575769601_4FGL_J0920.3-0443_daily_bin1297.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/126929/ft2_4FGL_J0920.3-0443_daily_bin1297.fits
.....................!
real 16.98
user 11.45
sys 5.43

Generating the exposure map:
time -p gtexpmap evfile=/scratch/kocevski/126929/ft1_filtered_4FGL_J0920.3-0443_daily_bin1297.fits evtable="EVENTS" scfile=/scratch/kocevski/126929/ft2_4FGL_J0920.3-0443_daily_bin1297.fits sctable="SC_DATA" expcube=/scratch/kocevski/126929/ltcube_575510401_575769601_4FGL_J0920.3-0443_daily_bin1297.fits outfile=/scratch/kocevski/126929/expmap_575510401_575769601_4FGL_J0920.3-0443_daily_bin1297.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/126929/ltcube_575510401_575769601_4FGL_J0920.3-0443_daily_bin1297.fits
.....................!
real 199.48
user 187.37
sys 10.89

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/126929/ft1_filtered_4FGL_J0920.3-0443_daily_bin1297.fits scfile=/scratch/kocevski/126929/ft2_4FGL_J0920.3-0443_daily_bin1297.fits outfile=/scratch/kocevski/126929/cmap_575510401_575769601_4FGL_J0920.3-0443_daily_bin1297.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.09
user 0.37
sys 4.67

Creating the high resolution counts map:
time -p gtbin evfile=/scratch/kocevski/126929/ft1_filtered_4FGL_J0920.3-0443_daily_bin1297.fits scfile=/scratch/kocevski/126929/ft2_4FGL_J0920.3-0443_daily_bin1297.fits outfile=/scratch/kocevski/126929/cmap_HighResolution_575510401_575769601_4FGL_J0920.3-0443_daily_bin1297.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.07
user 0.38
sys 4.64

Computing the diffuse response:
time -p gtdiffrsp evfile=/scratch/kocevski/126929/ft1_filtered_4FGL_J0920.3-0443_daily_bin1297.fits evtable="EVENTS" scfile=/scratch/kocevski/126929/ft2_4FGL_J0920.3-0443_daily_bin1297.fits sctable="SC_DATA" srcmdl=/scratch/kocevski/126929/Model_4FGL_J0920.3-0443_daily_bin1297.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/126929/ft1_filtered_4FGL_J0920.3-0443_daily_bin1297.fits.....................!
real 54.97
user 47.31
sys 7.23

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

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

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

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'norm      '    13.885       1.0000         .10000E-03   10000.    
     2 'Prefactor '    .76248E-03   1.0000         .10000E-03   10000.    
     3 'norm      '    .10042E-03   1.0000         .10000E-03   10000.    
     4 'norm      '    4.4584       1.0000         .10000E-03   10000.    
     5 'Prefactor '    2.4873       1.0000         .10000E-03   10000.    
     6 'Prefactor '    6.1049       1.0000         .10000E-03   10000.    
     7 'norm      '    3.9467       1.0000         .10000E-03   10000.    
     8 'norm      '    .10035E-03   1.0000         .10000E-03   10000.    
     9 'Prefactor '    17.848       1.0000         .10000E-03   10000.    
    10 'Prefactor '    .10016E-03   1.0000         .10000E-03   10000.    
    11 'Prefactor '    72.645       1.0000         .10000E-03   10000.    
    12 'Prefactor '    .10041E-03   1.0000         .10000E-03   10000.    
    13 'Prefactor '    49.902       1.0000         .10000E-03   10000.    
    14 'Prefactor '    41.395       1.0000         .10000E-03   10000.    
    15 'norm      '    .70010       1.0000         .10000E-03   10000.    
    16 'norm      '    .90645E-01   1.0000         .10000E-03   10000.    
    17 'norm      '    .45979       1.0000         .10000E-03   10000.    
    18 'norm      '    .10005E-03   1.0000         .10000E-03   10000.    
    19 'Normalizat'    1.0590       1.0000         .10000E-01   10.000    
    20 'Prefactor '    .95285       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=   4395.992     FROM MIGRAD    STATUS=CONVERGED    437 CALLS     2114 TOTAL
                     EDM=   .13E-08  STRATEGY=1  ERROR MATRIX UNCERTAINTY=   .7%

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  norm          13.893        11.999       -.95640E-05    .39294E-04
   2  Prefactor     .10006E-03    243.89       -.14567E-03** at limit **
   3  norm          .10000E-03    8.5143        .72912E-07** at limit **
   4  norm          4.4609        3.7022        .69817E-06    .74895E-03
   5  Prefactor     2.5086        29.777       -.29383E-04   -.27102E-04
   6  Prefactor     6.1100        8.6238       -.95498E-06    .10846E-03
   7  norm          3.9487        4.2097       -.57746E-06   -.17053E-03
   8  norm          .10000E-03    3.9082       -.18278E-06** at limit **
   9  Prefactor     17.865        27.338        .16343E-04    .82771E-04
  10  Prefactor     .10000E-03    1.1805       -.14043E-06** at limit **
  11  Prefactor     72.618        58.757       -.26776E-04    .60738E-04
  12  Prefactor     .10000E-03    5.9811        .12375E-06** at limit **
  13  Prefactor     49.916        51.512        .50774E-05    .12740E-03
  14  Prefactor     41.368        48.112       -.26771E-04    .73688E-04
  15  norm          .71158        9.4614       -.16459E-05    .35350E-03
  16  norm          .18839        3.4661       -.10689E-05    .13072E-03
  17  norm          .45962        .63057       -.41630E-06   -.13262E-02
  18  norm          .10000E-03    1.4765        .32233E-07** at limit **
  19  Normalizat    1.0587        .23398        .42693E-05    .83939E-03
  20  Prefactor     .95279        .17376        .40675E-05    .94417E-03
                               ERR DEF=  .500    
Final values: 
  norm       = 13.8927
  Prefactor  = 0.000100064
  norm       = 0.0001
  norm       = 4.46088
  Prefactor  = 2.50862
  Prefactor  = 6.10995
  norm       = 3.94873
  norm       = 0.0001
  Prefactor  = 17.865
  Prefactor  = 0.0001
  Prefactor  = 72.6179
  Prefactor  = 0.0001
  Prefactor  = 49.9159
  Prefactor  = 41.3685
  norm       = 0.711577
  norm       = 0.188389
  norm       = 0.459623
  norm       = 0.0001
  Normalizat = 1.05869
  Prefactor  = 0.952791
 **********
 **   18 **HESSE 
 **********

 FCN=   4395.992     FROM HESSE     STATUS=OK           293 CALLS     2407 TOTAL
                     EDM=   .36E-08    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  norm          13.893        12.035        .10749E-03   -1.4962    
   2  Prefactor     .10006E-03    249.86        .41861E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   3  norm          .10000E-03    8.5691        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   4  norm          4.4609        3.6952        .11106E-03   -1.5286    
   5  Prefactor     2.5086        29.979        .25919E-03   -1.5391    
   6  Prefactor     6.1100        8.6174        .16249E-03   -1.5214    
   7  norm          3.9487        4.2104        .13376E-03   -1.5311    
   8  norm          .10000E-03    3.9393        .12798E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   9  Prefactor     17.865        27.288        .94803E-04   -1.4862    
  10  Prefactor     .10000E-03    1.1846        .70336E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  11  Prefactor     72.618        58.816        .47103E-04   -1.4002    
  12  Prefactor     .10000E-03    5.9929        .15835E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  13  Prefactor     49.916        51.322        .56769E-04   -1.4294    
  14  Prefactor     41.368        48.451        .62304E-04   -1.4421    
  15  norm          .71158        21.532        .36732E-02   -1.5539    
  16  norm          .18839        36.893        .23421E-02   -1.5621    
  17  norm          .45962        .60699        .57939E-03   -1.5572    
  18  norm          .10000E-03    1.5228        .15719E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  19  Normalizat    1.0587        .27747        .27273E-03   -.91089    
  20  Prefactor     .95279        .20671        .21782E-03   -.94320    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 3.6164e-09
Minuit parameter uncertainties:
  1  12.0375
  2  0.00803539
  3  7.99473e-05
  4  3.69539
  5  17.3549
  6  8.61914
  7  4.21068
  8  3.64678e-05
  9  27.3073
  10  7.46808e-06
  11  58.8629
  12  3.9869e-06
  13  51.3672
  14  48.4974
  15  7.83111
  16  5.27457
  17  0.606998
  18  1.20809e-05
  19  0.277852
  20  0.206882
Done.

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

Extracting fit parameters...

4FGL J0920.3-0443
   Spectrum: PowerLaw
250    Prefactor:  1.786e+01  2.731e+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:  9.528e-01  2.069e-01  0.000e+00  1.000e+01 ( 1.000e+00)
488        Index:  0.000e+00  0.000e+00 -1.000e+00  1.000e+00 ( 1.000e+00) fixed
489        Scale:  1.000e+02  0.000e+00  5.000e+01  2.000e+02 ( 1.000e+00) fixed

EG_v02
   Spectrum: FileFunction
486   Normalization:  1.059e+00  2.779e-01  1.000e-02  1.000e+01 ( 1.000e+00)


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

Saving results to:
/scratch/kocevski/126929/likelihoodResults_575510401_575769601_4FGL_J0920.3-0443_daily_bin1297.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) = 4395.9915875
delta logL = 1.0741895494e-05

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

MINUIT Return Code (Free Index): 0
logL (Free Index) = 4395.99155519
delta logL = 4.30480595242e-05

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'Prefactor '    18.115       1.0000         .10000E-03   10000.    
     2 'Index     '    2.5762       1.0000          .0000       10.000    
     3 'Normalizat'    1.0590       1.0000         .10000E-01   10.000    
     4 'Prefactor '    .95267       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=   4395.992     FROM MIGRAD    STATUS=CONVERGED     83 CALLS      252 TOTAL
                     EDM=   .13E-08    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor     18.123        43.830        .94103E-04   -.17083E-03
   2  Index         2.5765        1.2682        .85910E-02   -.84270E-04
   3  Normalizat    1.0589        .26987        .27270E-03    .65464E-03
   4  Prefactor     .95261        .20482        .21784E-03    .87147E-03
                               ERR DEF=  .500    
Final values: 
  Prefactor  = 18.1229
  Index      = 2.5765
  Normalizat = 1.05894
  Prefactor  = 0.952609
 **********
 **   18 **HESSE 
 **********

 FCN=   4395.992     FROM HESSE     STATUS=OK            25 CALLS      277 TOTAL
                     EDM=   .13E-08    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  Prefactor     18.123        37.637        .37641E-05   -1.4856    
   2  Index         2.5765        1.0919        .34364E-03   -.50602    
   3  Normalizat    1.0589        .26990        .54540E-04   -.91081    
   4  Prefactor     .95261        .20463        .43567E-04   -.94326    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 1.32866e-09
Minuit parameter uncertainties:
  1  37.6859
  2  1.10353
  3  0.270254
  4  0.204793
shell-init: error retrieving current directory: getcwd: cannot access parent directories: No such file or directory
rmdir: failed to remove `/scratch/kocevski/126929': 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) = 4395.99155453
delta logL = 4.37089847765e-05

Extracting fit parameters...

4FGL J0920.3-0443
   Spectrum: PowerLaw
250    Prefactor:  1.812e+01  3.769e+01  1.000e-04  1.000e+04 ( 1.000e-13)
251        Index:  2.576e+00  1.104e+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:  9.526e-01  2.048e-01  0.000e+00  1.000e+01 ( 1.000e+00)
488        Index:  0.000e+00  0.000e+00 -1.000e+00  1.000e+00 ( 1.000e+00) fixed
489        Scale:  1.000e+02  0.000e+00  5.000e+01  2.000e+02 ( 1.000e+00) fixed

EG_v02
   Spectrum: FileFunction
486   Normalization:  1.059e+00  2.703e-01  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Free Index): 0.61
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/126929/cmap_HighResolution_575510401_575769601_4FGL_J0920.3-0443_daily_bin1297.png

Cleaning up...

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

Updating database...

UPDATE lightcurve_data_v2 SET energy_flux_upper_limit='1.34e-02', job_status='DONE', photon_flux_upper_limit='1.72e-07', time_completed='2021-08-31 06:55:46.047111', job_id='126929', GAL2='0.95', fit_tolerance='1e-08', EG2='1.06', EG='1.06', time_epoch_completed='1630418146.05', return_code2='0', ts='0.61', comment='SUCCESS', return_code='0', GAL='0.95', dlogl='4.37e-05', ts2='0.62', photon_index_error='0.00', photon_index='2.59' WHERE bin_id='1297' AND source_name='4FGL J0920.3-0443' AND cadence='daily';

Database successfully updated.


Analysis Complete.


Tue Aug 31 06:55:46 PDT 2021


------------------------------------------------------------
Sender: LSF System <lsf@bullet0055>
Subject: Job 126929: <4FGL_J0920.3-0443_daily_bin1297> in cluster <slac> Done

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

Your job looked like:

------------------------------------------------------------
# LSBATCH: User input
/nfs/farm/g/glast/g/LCRepository/Likelihood/Scripts/LikelihoodAnalysis.py 4FGL_J0920.3-0443_daily_bin1297 140.1 -4.7311 575510401 575769601 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 :                                   637.12 sec.
    Max Memory :                                 1255 MB
    Average Memory :                             228.64 MB
    Total Requested Memory :                     -
    Delta Memory :                               -
    Max Swap :                                   -
    Max Processes :                              5
    Max Threads :                                21
    Run time :                                   813 sec.
    Turnaround time :                            816 sec.

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

