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


Performing analysis on: 4FGL_J0920.3-0443_daily_bin1227
RA = 140.1, Dec = -4.7311
tmin = 557366401, tmax = 557625601
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='126812', job_status='RUN', time_executed='2021-08-31 06:45:26.632995', time_epoch_executed='1630417526.63' WHERE source_name='4FGL J0920.3-0443' and cadence='daily' and bin_id='1227'

Database successfully updated.
Done.

Creating custom output directory:
/scratch/kocevski/126812

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

Retrieving the FT1 file...

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

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

Retrieving 47 files...
Done.


Merging files...

Checksum keywords updated successfully.

Merged file saved to:
/scratch/kocevski/126812/ft1_4FGL_J0920.3-0443_daily_bin1227.fits


Retrieving the FT1 file...

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

Retrieving 47 files...
Done.


Merging files...

Merged file saved to:
/scratch/kocevski/126812/ft2_4FGL_J0920.3-0443_daily_bin1227.fits


Selecting the photons:
time -p gtselect infile=/scratch/kocevski/126812/ft1_4FGL_J0920.3-0443_daily_bin1227.fits outfile=/scratch/kocevski/126812/ft1_filteredMKT_4FGL_J0920.3-0443_daily_bin1227.fits ra=140.1 dec=-4.7311 rad=12.0 tmin=557366401.0 tmax=557625601.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 4.05
user 3.45
sys 0.21

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

Selecting the good time intervals:
time -p gtmktime scfile=/scratch/kocevski/126812/ft2_4FGL_J0920.3-0443_daily_bin1227.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/126812/ft1_filteredMKT_4FGL_J0920.3-0443_daily_bin1227.fits evtable="EVENTS" outfile="/scratch/kocevski/126812/ft1_filtered_4FGL_J0920.3-0443_daily_bin1227.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 1.07
user 0.34
sys 0.17

Generating the livetime cube:
time -p gtltcube evfile="/scratch/kocevski/126812/ft1_filtered_4FGL_J0920.3-0443_daily_bin1227.fits" evtable="EVENTS" scfile=/scratch/kocevski/126812/ft2_4FGL_J0920.3-0443_daily_bin1227.fits sctable="SC_DATA" outfile=/scratch/kocevski/126812/ltcube_557366401_557625601_4FGL_J0920.3-0443_daily_bin1227.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/126812/ft2_4FGL_J0920.3-0443_daily_bin1227.fits
.....................!
real 12.56
user 12.04
sys 0.32

Generating the exposure map:
time -p gtexpmap evfile=/scratch/kocevski/126812/ft1_filtered_4FGL_J0920.3-0443_daily_bin1227.fits evtable="EVENTS" scfile=/scratch/kocevski/126812/ft2_4FGL_J0920.3-0443_daily_bin1227.fits sctable="SC_DATA" expcube=/scratch/kocevski/126812/ltcube_557366401_557625601_4FGL_J0920.3-0443_daily_bin1227.fits outfile=/scratch/kocevski/126812/expmap_557366401_557625601_4FGL_J0920.3-0443_daily_bin1227.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/126812/ltcube_557366401_557625601_4FGL_J0920.3-0443_daily_bin1227.fits
.....................!
real 189.88
user 184.76
sys 4.23

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/126812/ft1_filtered_4FGL_J0920.3-0443_daily_bin1227.fits scfile=/scratch/kocevski/126812/ft2_4FGL_J0920.3-0443_daily_bin1227.fits outfile=/scratch/kocevski/126812/cmap_557366401_557625601_4FGL_J0920.3-0443_daily_bin1227.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.68
user 0.37
sys 0.14

Creating the high resolution counts map:
time -p gtbin evfile=/scratch/kocevski/126812/ft1_filtered_4FGL_J0920.3-0443_daily_bin1227.fits scfile=/scratch/kocevski/126812/ft2_4FGL_J0920.3-0443_daily_bin1227.fits outfile=/scratch/kocevski/126812/cmap_HighResolution_557366401_557625601_4FGL_J0920.3-0443_daily_bin1227.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.60
user 0.38
sys 0.14

Computing the diffuse response:
time -p gtdiffrsp evfile=/scratch/kocevski/126812/ft1_filtered_4FGL_J0920.3-0443_daily_bin1227.fits evtable="EVENTS" scfile=/scratch/kocevski/126812/ft2_4FGL_J0920.3-0443_daily_bin1227.fits sctable="SC_DATA" srcmdl=/scratch/kocevski/126812/Model_4FGL_J0920.3-0443_daily_bin1227.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/126812/ft1_filtered_4FGL_J0920.3-0443_daily_bin1227.fits.....................!
real 36.56
user 34.74
sys 1.20

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

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

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

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'norm      '    .10001E-03   1.0000         .10000E-03   10000.    
     2 'Prefactor '    31.933       1.0000         .10000E-03   10000.    
     3 'norm      '    .10005E-03   1.0000         .10000E-03   10000.    
     4 'norm      '    2.6366       1.0000         .10000E-03   10000.    
     5 'Prefactor '    .10005E-03   1.0000         .10000E-03   10000.    
     6 'Prefactor '    .10001E-03   1.0000         .10000E-03   10000.    
     7 'norm      '    4.2722       1.0000         .10000E-03   10000.    
     8 'norm      '    22.407       1.0000         .10000E-03   10000.    
     9 'Prefactor '    11.732       1.0000         .10000E-03   10000.    
    10 'Prefactor '    11.867       1.0000         .10000E-03   10000.    
    11 'Prefactor '    .10004E-03   1.0000         .10000E-03   10000.    
    12 'Prefactor '    .10001E-03   1.0000         .10000E-03   10000.    
    13 'Prefactor '    .10001E-03   1.0000         .10000E-03   10000.    
    14 'Prefactor '    38.822       1.0000         .10000E-03   10000.    
    15 'norm      '    .10000E-03   1.0000         .10000E-03   10000.    
    16 'norm      '    5.9841       1.0000         .10000E-03   10000.    
    17 'norm      '    6.7842       1.0000         .10000E-03   10000.    
    18 'norm      '    .10003E-03   1.0000         .10000E-03   10000.    
    19 'Normalizat'    1.1464       1.0000         .10000E-01   10.000    
    20 'Prefactor '    .73838       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=   2482.062     FROM MIGRAD    STATUS=CONVERGED    400 CALLS     2005 TOTAL
                     EDM=   .20E-08  STRATEGY=1  ERROR MATRIX UNCERTAINTY=  4.1%

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  norm          .10000E-03    6.9471        .25722E-05** at limit **
   2  Prefactor     31.935        36.802        .13991E-05    .81489E-04
   3  norm          .10000E-03    5.6109       -.11690E-05** at limit **
   4  norm          2.6365        3.9218        .20233E-06    .23534E-04
   5  Prefactor     .10000E-03    14.328        .10170E-05** at limit **
   6  Prefactor     .10000E-03    6.3985       -.22448E-05** at limit **
   7  norm          4.2715        7.7665        .45461E-05   -.14146E-02
   8  norm          22.409        16.039       -.44724E-06   -.19369E-04
   9  Prefactor     11.732        35.355        .69784E-06   -.78448E-05
  10  Prefactor     11.867        10.648        .12782E-06   -.24664E-03
  11  Prefactor     .10003E-03    37.851        .10039E-04** at limit **
  12  Prefactor     .10000E-03    11.702       -.14674E-05** at limit **
  13  Prefactor     .10003E-03    41.827       -.11128E-04** at limit **
  14  Prefactor     38.819        48.687       -.55163E-06   -.63646E-04
  15  norm          .10000E-03    5.4391        .14770E-05** at limit **
  16  norm          5.9845        8.8590        .20426E-06   -.24037E-04
  17  norm          6.7842        3.1600        .24121E-07   -.22860E-04
  18  norm          .10000E-03    4.1546       -.22084E-07** at limit **
  19  Normalizat    1.1464        .33342       -.17845E-05    .55132E-05
  20  Prefactor     .73844        .22233       -.30596E-06   -.18993E-04
                               ERR DEF=  .500    
Final values: 
  norm       = 0.000100002
  Prefactor  = 31.9354
  norm       = 0.0001
  norm       = 2.63647
  Prefactor  = 0.0001
  Prefactor  = 0.000100001
  norm       = 4.27152
  norm       = 22.4088
  Prefactor  = 11.7324
  Prefactor  = 11.8672
  Prefactor  = 0.000100025
  Prefactor  = 0.000100001
  Prefactor  = 0.00010003
  Prefactor  = 38.8194
  norm       = 0.000100001
  norm       = 5.98453
  norm       = 6.78418
  norm       = 0.0001
  Normalizat = 1.14635
  Prefactor  = 0.738436
 **********
 **   18 **HESSE 
 **********

 FCN=   2482.062     FROM HESSE     STATUS=OK           289 CALLS     2294 TOTAL
                     EDM=   .60E-08    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  norm          .10000E-03    7.0834        .12936E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   2  Prefactor     31.935        36.909        .70907E-04   -1.4577    
   3  norm          .10000E-03    5.6532        .11551E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   4  norm          2.6365        3.9096        .11476E-03   -1.5383    
   5  Prefactor     .10000E-03    14.404        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   6  Prefactor     .10000E-03    6.5044        .12394E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   7  norm          4.2715        9.2309        .97463E-03   -1.5295    
   8  norm          22.409        16.100        .84618E-04   -1.4761    
   9  Prefactor     11.732        35.431        .11696E-03   -1.5023    
  10  Prefactor     11.867        10.654        .58144E-03   -1.5019    
  11  Prefactor     .10003E-03    39.744        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  12  Prefactor     .10000E-03    11.747        .16676E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  13  Prefactor     .10003E-03    44.129        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  14  Prefactor     38.819        48.821        .64329E-04   -1.4461    
  15  norm          .10000E-03    5.4920        .11394E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  16  norm          5.9845        8.8696        .16414E-03   -1.5219    
  17  norm          6.7842        3.1621        .58477E-04   -1.5187    
  18  norm          .10000E-03    4.2180        .99090E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  19  Normalizat    1.1464        .40522        .27578E-03   -.88277    
  20  Prefactor     .73844        .26839        .22907E-03   -1.0204    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 5.99268e-09
Minuit parameter uncertainties:
  1  0.000215577
  2  36.9356
  3  8.98923e-05
  4  3.90998
  5  0.000123006
  6  0.000179571
  7  9.23393
  8  16.1026
  9  35.4947
  10  10.6552
  11  0.00200489
  12  0.000159419
  13  0.00232108
  14  48.8718
  15  0.000116342
  16  8.87159
  17  3.16221
  18  1.06421e-06
  19  0.40633
  20  0.268862
Done.

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

Extracting fit parameters...

4FGL J0920.3-0443
   Spectrum: PowerLaw
250    Prefactor:  1.173e+01  3.549e+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:  7.384e-01  2.689e-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.146e+00  4.063e-01  1.000e-02  1.000e+01 ( 1.000e+00)


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

Saving results to:
/scratch/kocevski/126812/likelihoodResults_557366401_557625601_4FGL_J0920.3-0443_daily_bin1227.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) = 2482.01168138
delta logL = 0.0502063745826

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

MINUIT Return Code (Free Index): 0
logL (Free Index) = 2482.00139154
delta logL = 0.0604962216116

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'Prefactor '    8.0398       1.0000         .10000E-03   10000.    
     2 'Index     '    3.1467       1.0000          .0000       10.000    
     3 'Normalizat'    1.1243       1.0000         .10000E-01   10.000    
     4 'Prefactor '    .74776       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=   2482.001     FROM MIGRAD    STATUS=CONVERGED     83 CALLS      250 TOTAL
                     EDM=   .70E-08    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor     8.0345        30.832        .14140E-03    .77183E-05
   2  Index         3.1467        1.9195        .85049E-02    .17552E-03
   3  Normalizat    1.1245        .39267        .27799E-03   -.59754E-03
   4  Prefactor     .74768        .26360        .22774E-03   -.58109E-03
                               ERR DEF=  .500    
Final values: 
  Prefactor  = 8.03447
  Index      = 3.14673
  Normalizat = 1.12447
  Prefactor  = 0.74768
 **********
 **   18 **HESSE 
 **********

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

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  Prefactor     8.0345        26.319        .56561E-05   -1.5141    
   2  Index         3.1467        1.6498        .17010E-02   -.37971    
   3  Normalizat    1.1245        .39326        .55598E-04   -.88970    
   4  Prefactor     .74768        .26381        .45547E-04   -1.0169    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 1.32787e-09
Minuit parameter uncertainties:
  1  26.3568
  2  1.68663
  3  0.394291
  4  0.264257
shell-init: error retrieving current directory: getcwd: cannot access parent directories: No such file or directory
rmdir: failed to remove `/scratch/kocevski/126812': 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) = 2482.00139143
delta logL = 0.0604963240467

Extracting fit parameters...

4FGL J0920.3-0443
   Spectrum: PowerLaw
250    Prefactor:  8.034e+00  2.636e+01  1.000e-04  1.000e+04 ( 1.000e-13)
251        Index:  3.147e+00  1.687e+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:  7.477e-01  2.643e-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.124e+00  3.943e-01  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Free Index): 0.13
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/126812/cmap_HighResolution_557366401_557625601_4FGL_J0920.3-0443_daily_bin1227.png

Cleaning up...

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

Updating database...

UPDATE lightcurve_data_v2 SET energy_flux_upper_limit='1.91e-02', job_status='DONE', photon_flux_upper_limit='2.44e-07', time_completed='2021-08-31 06:52:47.983163', job_id='126812', GAL2='0.75', fit_tolerance='1e-08', EG2='1.12', EG='1.15', time_epoch_completed='1630417967.98', return_code2='0', ts='0.13', comment='SUCCESS', return_code='0', GAL='0.74', dlogl='6.05e-02', ts2='0.26', photon_index_error='0.00', photon_index='2.59' WHERE bin_id='1227' AND source_name='4FGL J0920.3-0443' AND cadence='daily';

Database successfully updated.


Analysis Complete.


Tue Aug 31 06:52:48 PDT 2021


------------------------------------------------------------
Sender: LSF System <lsf@bullet0278>
Subject: Job 126812: <4FGL_J0920.3-0443_daily_bin1227> in cluster <slac> Done

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

Your job looked like:

------------------------------------------------------------
# LSBATCH: User input
/nfs/farm/g/glast/g/LCRepository/Likelihood/Scripts/LikelihoodAnalysis.py 4FGL_J0920.3-0443_daily_bin1227 140.1 -4.7311 557366401 557625601 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 :                                   403.00 sec.
    Max Memory :                                 1093 MB
    Average Memory :                             260.09 MB
    Total Requested Memory :                     -
    Delta Memory :                               -
    Max Swap :                                   -
    Max Processes :                              5
    Max Threads :                                21
    Run time :                                   638 sec.
    Turnaround time :                            639 sec.

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

