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


Performing analysis on: 4FGL_J0920.3-0443_daily_bin1284
RA = 140.1, Dec = -4.7311
tmin = 572140801, tmax = 572400001
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='126906', job_status='RUN', time_executed='2021-08-31 06:47:14.700667', time_epoch_executed='1630417634.7' WHERE source_name='4FGL J0920.3-0443' and cadence='daily' and bin_id='1284'

Database successfully updated.
Done.

Creating custom output directory:
/scratch/kocevski/126906

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

Retrieving the FT1 file...

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

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

Retrieving 47 files...
Done.


Merging files...

Checksum keywords updated successfully.

Merged file saved to:
/scratch/kocevski/126906/ft1_4FGL_J0920.3-0443_daily_bin1284.fits


Retrieving the FT1 file...

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

Retrieving 47 files...
Done.


Merging files...

Merged file saved to:
/scratch/kocevski/126906/ft2_4FGL_J0920.3-0443_daily_bin1284.fits


Selecting the photons:
time -p gtselect infile=/scratch/kocevski/126906/ft1_4FGL_J0920.3-0443_daily_bin1284.fits outfile=/scratch/kocevski/126906/ft1_filteredMKT_4FGL_J0920.3-0443_daily_bin1284.fits ra=140.1 dec=-4.7311 rad=12.0 tmin=572140801.0 tmax=572400001.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 3.39
user 3.01
sys 0.18

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

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

Generating the livetime cube:
time -p gtltcube evfile="/scratch/kocevski/126906/ft1_filtered_4FGL_J0920.3-0443_daily_bin1284.fits" evtable="EVENTS" scfile=/scratch/kocevski/126906/ft2_4FGL_J0920.3-0443_daily_bin1284.fits sctable="SC_DATA" outfile=/scratch/kocevski/126906/ltcube_572140801_572400001_4FGL_J0920.3-0443_daily_bin1284.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/126906/ft2_4FGL_J0920.3-0443_daily_bin1284.fits
.....................!
real 11.99
user 11.45
sys 0.32

Generating the exposure map:
time -p gtexpmap evfile=/scratch/kocevski/126906/ft1_filtered_4FGL_J0920.3-0443_daily_bin1284.fits evtable="EVENTS" scfile=/scratch/kocevski/126906/ft2_4FGL_J0920.3-0443_daily_bin1284.fits sctable="SC_DATA" expcube=/scratch/kocevski/126906/ltcube_572140801_572400001_4FGL_J0920.3-0443_daily_bin1284.fits outfile=/scratch/kocevski/126906/expmap_572140801_572400001_4FGL_J0920.3-0443_daily_bin1284.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/126906/ltcube_572140801_572400001_4FGL_J0920.3-0443_daily_bin1284.fits
.....................!
real 190.50
user 185.20
sys 3.94

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/126906/ft1_filtered_4FGL_J0920.3-0443_daily_bin1284.fits scfile=/scratch/kocevski/126906/ft2_4FGL_J0920.3-0443_daily_bin1284.fits outfile=/scratch/kocevski/126906/cmap_572140801_572400001_4FGL_J0920.3-0443_daily_bin1284.fits algorithm="CMAP" ebinalg="LOG" emin=30.0 emax=200000.0 ebinfile=NONE tbinalg="LIN" tbinfile=NONE nxpix=160 nypix=160 binsz=0.25 coordsys="CEL" xref=140.1 yref=-4.7311 axisrot=0.0 rafield="RA" decfield="DEC" proj="AIT" hpx_ordering_scheme="RING" hpx_order=3 hpx_ebin=yes hpx_region="" evtable="EVENTS" sctable="SC_DATA" efield="ENERGY" tfield="TIME" chatter=2 clobber=yes debug=no gui=no mode="ql"

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

This is gtbin version HEAD
real 0.64
user 0.38
sys 0.14

Creating the high resolution counts map:
time -p gtbin evfile=/scratch/kocevski/126906/ft1_filtered_4FGL_J0920.3-0443_daily_bin1284.fits scfile=/scratch/kocevski/126906/ft2_4FGL_J0920.3-0443_daily_bin1284.fits outfile=/scratch/kocevski/126906/cmap_HighResolution_572140801_572400001_4FGL_J0920.3-0443_daily_bin1284.fits algorithm="CMAP" ebinalg="LOG" emin=30.0 emax=200000.0 ebinfile=NONE tbinalg="LIN" tbinfile=NONE nxpix=500 nypix=500 binsz=0.1 coordsys="CEL" xref=140.1 yref=-4.7311 axisrot=0.0 rafield="RA" decfield="DEC" proj="AIT" hpx_ordering_scheme="RING" hpx_order=3 hpx_ebin=yes hpx_region="" evtable="EVENTS" sctable="SC_DATA" efield="ENERGY" tfield="TIME" chatter=2 clobber=yes debug=no gui=no mode="ql"

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

This is gtbin version HEAD
real 0.57
user 0.38
sys 0.14

Computing the diffuse response:
time -p gtdiffrsp evfile=/scratch/kocevski/126906/ft1_filtered_4FGL_J0920.3-0443_daily_bin1284.fits evtable="EVENTS" scfile=/scratch/kocevski/126906/ft2_4FGL_J0920.3-0443_daily_bin1284.fits sctable="SC_DATA" srcmdl=/scratch/kocevski/126906/Model_4FGL_J0920.3-0443_daily_bin1284.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/126906/ft1_filtered_4FGL_J0920.3-0443_daily_bin1284.fits.....................!
real 62.57
user 57.41
sys 1.17

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

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

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

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'norm      '    40.857       1.0000         .10000E-03   10000.    
     2 'Prefactor '    1.2541       1.0000         .10000E-03   10000.    
     3 'norm      '    .10035E-03   1.0000         .10000E-03   10000.    
     4 'norm      '    3.8207       1.0000         .10000E-03   10000.    
     5 'Prefactor '    10.821       1.0000         .10000E-03   10000.    
     6 'Prefactor '    7.0736       1.0000         .10000E-03   10000.    
     7 'norm      '    7.3236       1.0000         .10000E-03   10000.    
     8 'norm      '    10.826       1.0000         .10000E-03   10000.    
     9 'Prefactor '    34.669       1.0000         .10000E-03   10000.    
    10 'Prefactor '    6.2029       1.0000         .10000E-03   10000.    
    11 'Prefactor '    74.212       1.0000         .10000E-03   10000.    
    12 'Prefactor '    .10054E-03   1.0000         .10000E-03   10000.    
    13 'Prefactor '    27.610       1.0000         .10000E-03   10000.    
    14 'Prefactor '    23.107       1.0000         .10000E-03   10000.    
    15 'norm      '    2.6155       1.0000         .10000E-03   10000.    
    16 'norm      '    .21492E-03   1.0000         .10000E-03   10000.    
    17 'norm      '    2.5149       1.0000         .10000E-03   10000.    
    18 'norm      '    2.1611       1.0000         .10000E-03   10000.    
    19 'Normalizat'    .98542       1.0000         .10000E-01   10.000    
    20 'Prefactor '    .81026       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=   5076.907     FROM MIGRAD    STATUS=CONVERGED    414 CALLS     2068 TOTAL
                     EDM=   .81E-09  STRATEGY=1  ERROR MATRIX UNCERTAINTY=   .6%

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  norm          40.859        19.643        .61091E-05   -.42579E-04
   2  Prefactor     1.5163        165.50        .89920E-05   -.34784E-04
   3  norm          .10000E-03    14.609       -.81490E-07** at limit **
   4  norm          3.8199        2.8581        .10609E-06   -.29303E-04
   5  Prefactor     10.820        13.128        .11103E-05   -.81728E-04
   6  Prefactor     7.0743        10.654        .29741E-05   -.16722E-03
   7  norm          7.3260        6.8707        .27421E-05   -.29162E-03
   8  norm          10.828        9.7136        .63464E-06   -.16825E-03
   9  Prefactor     34.678        28.533        .11285E-04   -.67971E-04
  10  Prefactor     6.2040        4.8540        .28755E-06   -.21214E-03
  11  Prefactor     74.216        62.742        .87542E-05   -.45888E-04
  12  Prefactor     .10000E-03    11.808       -.13325E-06** at limit **
  13  Prefactor     27.616        32.098        .19064E-04   -.38470E-04
  14  Prefactor     23.104        30.804        .40089E-05   -.11432E-04
  15  norm          2.6169        6.1196       -.18377E-05   -.55977E-03
  16  norm          .10000E-03    2.0890       -.55083E-07** at limit **
  17  norm          2.5155        1.0373        .28580E-06   -.92215E-03
  18  norm          2.1615        1.7321        .20826E-06   -.47172E-04
  19  Normalizat    .98504        .24175       -.11130E-04    .10145E-03
  20  Prefactor     .81039        .15772       -.63565E-06   -.34955E-03
                               ERR DEF=  .500    
Final values: 
  norm       = 40.8594
  Prefactor  = 1.51633
  norm       = 0.0001
  norm       = 3.81995
  Prefactor  = 10.8201
  Prefactor  = 7.07434
  norm       = 7.32602
  norm       = 10.8281
  Prefactor  = 34.6775
  Prefactor  = 6.20396
  Prefactor  = 74.2158
  Prefactor  = 0.0001
  Prefactor  = 27.6156
  Prefactor  = 23.1036
  norm       = 2.61692
  norm       = 0.0001
  norm       = 2.51548
  norm       = 2.16147
  Normalizat = 0.985045
  Prefactor  = 0.810388
 **********
 **   18 **HESSE 
 **********

 FCN=   5076.907     FROM HESSE     STATUS=OK           303 CALLS     2371 TOTAL
                     EDM=   .20E-08    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  norm          40.859        19.621        .62712E-04   -1.4429    
   2  Prefactor     1.5163        167.53        .39896E-03   -1.5462    
   3  norm          .10000E-03    14.993        .36285E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   4  norm          3.8199        2.8554        .10000E-03   -1.5317    
   5  Prefactor     10.820        13.109        .12180E-03   -1.5050    
   6  Prefactor     7.0743        10.621        .15083E-03   -1.5176    
   7  norm          7.3260        6.8480        .14821E-03   -1.5167    
   8  norm          10.828        9.7020        .12177E-03   -1.5050    
   9  Prefactor     34.678        28.496        .68060E-04   -1.4530    
  10  Prefactor     6.2040        4.8498        .13296E-03   -1.5210    
  11  Prefactor     74.216        62.726        .46607E-04   -1.3983    
  12  Prefactor     .10000E-03    11.856        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  13  Prefactor     27.616        32.037        .76243E-04   -1.4656    
  14  Prefactor     23.104        30.727        .83329E-04   -1.4746    
  15  norm          2.6169        6.0948        .23514E-03   -1.5384    
  16  norm          .10000E-03    13.484        .19829E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  17  norm          2.5155        1.0354        .43105E-04   -1.5391    
  18  norm          2.1615        1.7328        .80914E-04   -1.5414    
  19  Normalizat    .98504        .27871        .29190E-03   -.93533    
  20  Prefactor     .81039        .18440        .22713E-03   -.99347    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 2.02537e-09
Minuit parameter uncertainties:
  1  19.6241
  2  31.9676
  3  0.000141388
  4  2.85549
  5  13.1123
  6  10.6236
  7  6.84873
  8  9.7034
  9  28.5072
  10  4.8501
  11  62.7819
  12  6.87547e-06
  13  32.0573
  14  30.7482
  15  6.09628
  16  0.000159077
  17  1.03536
  18  1.73283
  19  0.279119
  20  0.184543
Done.

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

Extracting fit parameters...

4FGL J0920.3-0443
   Spectrum: PowerLaw
250    Prefactor:  3.468e+01  2.851e+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:  8.104e-01  1.845e-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.850e-01  2.791e-01  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Fixed Index): 2.91
Ra Dec: 140.100 -4.731
Photon Index (Fixed Index): 2.59 +/- 0.00
Photon Flux (Fixed Index): 8.26e-08 +/- 6.78e-08
Energy Flux (Fixed Index): 2.19e-05 +/- 1.80e-05

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

Saving results to:
/scratch/kocevski/126906/likelihoodResults_572140801_572400001_4FGL_J0920.3-0443_daily_bin1284.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) = 5076.65921444
delta logL = 0.247737364691

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

MINUIT Return Code (Free Index): 0
logL (Free Index) = 5076.64001917
delta logL = 0.266932641818

Fit tolerance = 1e-08

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

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

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor     19.757        31.146        .90094E-04   -.26903E-03
   2  Index         3.1314        .95860        .46870E-02   -.85936E-04
   3  Normalizat    .94195        .26699        .29753E-03    .12311E-03
   4  Prefactor     .83115        .18574        .22455E-03    .10207E-03
                               ERR DEF=  .500    
Final values: 
  Prefactor  = 19.7566
  Index      = 3.13137
  Normalizat = 0.941953
  Prefactor  = 0.831147
 **********
 **   18 **HESSE 
 **********

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

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  Prefactor     19.757        25.918        .36038E-05   -1.4819    
   2  Index         3.1314        .79788        .18748E-03   -.38302    
   3  Normalizat    .94195        .26622        .11901E-04   -.95001    
   4  Prefactor     .83115        .18528        .89820E-05   -.98590    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 1.64317e-10
Minuit parameter uncertainties:
  1  25.9323
  2  0.801874
  3  0.266595
  4  0.185419
shell-init: error retrieving current directory: getcwd: cannot access parent directories: No such file or directory
rmdir: failed to remove `/scratch/kocevski/126906': 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) = 5076.64001912
delta logL = 0.266932687739

Extracting fit parameters...

4FGL J0920.3-0443
   Spectrum: PowerLaw
250    Prefactor:  1.976e+01  2.593e+01  1.000e-04  1.000e+04 ( 1.000e-13)
251        Index:  3.131e+00  8.019e-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:  8.311e-01  1.854e-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.420e-01  2.666e-01  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Free Index): 3.55
Ra Dec: 140.100 -4.731
Photon Index (Free Index): 3.13 +/- 0.80
Photon Flux (Free Index): 1.22e-07 +/- 9.20e-08
Energy Flux (Free Index): 2.30e-05 +/- 1.55e-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/126906/cmap_HighResolution_572140801_572400001_4FGL_J0920.3-0443_daily_bin1284.png

Cleaning up...

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

Updating database...

UPDATE lightcurve_data_v2 SET energy_flux_upper_limit='1.68e-02', comment='SUCCESS', photon_flux='8.26e-08', energy_flux2='2.30e-05', photon_flux_error='6.78e-08', dlogl='2.67e-01', energy_flux='2.19e-05', photon_flux2='1.22e-07', job_status='DONE', time_completed='2021-08-31 06:55:51.504161', photon_index_error2='0.80', photon_index2='3.13', ts='2.91', fit_tolerance='1e-08', GAL='0.81', photon_index_error='0.00', photon_flux_upper_limit='2.14e-07', energy_flux_error2='1.55e-05', EG='0.99', time_epoch_completed='1630418151.5', return_code='0', job_id='126906', GAL2='0.83', EG2='0.94', return_code2='0', energy_flux_error='1.80e-05', photon_flux_error2='9.20e-08', ts2='3.55', photon_index='2.59' WHERE bin_id='1284' AND source_name='4FGL J0920.3-0443' AND cadence='daily';

Database successfully updated.


Analysis Complete.


Tue Aug 31 06:55:51 PDT 2021


------------------------------------------------------------
Sender: LSF System <lsf@bullet0169>
Subject: Job 126906: <4FGL_J0920.3-0443_daily_bin1284> in cluster <slac> Done

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

Your job looked like:

------------------------------------------------------------
# LSBATCH: User input
/nfs/farm/g/glast/g/LCRepository/Likelihood/Scripts/LikelihoodAnalysis.py 4FGL_J0920.3-0443_daily_bin1284 140.1 -4.7311 572140801 572400001 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 :                                   502.00 sec.
    Max Memory :                                 1255 MB
    Average Memory :                             239.00 MB
    Total Requested Memory :                     -
    Delta Memory :                               -
    Max Swap :                                   -
    Max Processes :                              5
    Max Threads :                                21
    Run time :                                   820 sec.
    Turnaround time :                            821 sec.

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

