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


Performing analysis on: 4FGL_J0920.3-0443_daily_bin1186
RA = 140.1, Dec = -4.7311
tmin = 546739201, tmax = 546998401
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='126742', job_status='RUN', time_executed='2021-08-31 06:43:35.681541', time_epoch_executed='1630417415.68' WHERE source_name='4FGL J0920.3-0443' and cadence='daily' and bin_id='1186'

Database successfully updated.
Done.

Creating custom output directory:
/scratch/kocevski/126742

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

Retrieving the FT1 file...

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

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

Retrieving 46 files...
Done.


Merging files...

Checksum keywords updated successfully.

Merged file saved to:
/scratch/kocevski/126742/ft1_4FGL_J0920.3-0443_daily_bin1186.fits


Retrieving the FT1 file...

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

Retrieving 46 files...
Done.


Merging files...

Merged file saved to:
/scratch/kocevski/126742/ft2_4FGL_J0920.3-0443_daily_bin1186.fits


Selecting the photons:
time -p gtselect infile=/scratch/kocevski/126742/ft1_4FGL_J0920.3-0443_daily_bin1186.fits outfile=/scratch/kocevski/126742/ft1_filteredMKT_4FGL_J0920.3-0443_daily_bin1186.fits ra=140.1 dec=-4.7311 rad=12.0 tmin=546739201.0 tmax=546998401.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 8.12
user 3.43
sys 4.05

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

Selecting the good time intervals:
time -p gtmktime scfile=/scratch/kocevski/126742/ft2_4FGL_J0920.3-0443_daily_bin1186.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/126742/ft1_filteredMKT_4FGL_J0920.3-0443_daily_bin1186.fits evtable="EVENTS" outfile="/scratch/kocevski/126742/ft1_filtered_4FGL_J0920.3-0443_daily_bin1186.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.39
user 0.32
sys 3.82

Generating the livetime cube:
time -p gtltcube evfile="/scratch/kocevski/126742/ft1_filtered_4FGL_J0920.3-0443_daily_bin1186.fits" evtable="EVENTS" scfile=/scratch/kocevski/126742/ft2_4FGL_J0920.3-0443_daily_bin1186.fits sctable="SC_DATA" outfile=/scratch/kocevski/126742/ltcube_546739201_546998401_4FGL_J0920.3-0443_daily_bin1186.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/126742/ft2_4FGL_J0920.3-0443_daily_bin1186.fits
.....................!
real 15.94
user 11.36
sys 4.41

Generating the exposure map:
time -p gtexpmap evfile=/scratch/kocevski/126742/ft1_filtered_4FGL_J0920.3-0443_daily_bin1186.fits evtable="EVENTS" scfile=/scratch/kocevski/126742/ft2_4FGL_J0920.3-0443_daily_bin1186.fits sctable="SC_DATA" expcube=/scratch/kocevski/126742/ltcube_546739201_546998401_4FGL_J0920.3-0443_daily_bin1186.fits outfile=/scratch/kocevski/126742/expmap_546739201_546998401_4FGL_J0920.3-0443_daily_bin1186.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/126742/ltcube_546739201_546998401_4FGL_J0920.3-0443_daily_bin1186.fits
.....................!
real 198.87
user 185.47
sys 8.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/126742/ft1_filtered_4FGL_J0920.3-0443_daily_bin1186.fits scfile=/scratch/kocevski/126742/ft2_4FGL_J0920.3-0443_daily_bin1186.fits outfile=/scratch/kocevski/126742/cmap_546739201_546998401_4FGL_J0920.3-0443_daily_bin1186.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.47
user 0.37
sys 3.88

Creating the high resolution counts map:
time -p gtbin evfile=/scratch/kocevski/126742/ft1_filtered_4FGL_J0920.3-0443_daily_bin1186.fits scfile=/scratch/kocevski/126742/ft2_4FGL_J0920.3-0443_daily_bin1186.fits outfile=/scratch/kocevski/126742/cmap_HighResolution_546739201_546998401_4FGL_J0920.3-0443_daily_bin1186.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.30
user 0.38
sys 3.77

Computing the diffuse response:
time -p gtdiffrsp evfile=/scratch/kocevski/126742/ft1_filtered_4FGL_J0920.3-0443_daily_bin1186.fits evtable="EVENTS" scfile=/scratch/kocevski/126742/ft2_4FGL_J0920.3-0443_daily_bin1186.fits sctable="SC_DATA" srcmdl=/scratch/kocevski/126742/Model_4FGL_J0920.3-0443_daily_bin1186.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/126742/ft1_filtered_4FGL_J0920.3-0443_daily_bin1186.fits.....................!
real 49.63
user 43.29
sys 5.92

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

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

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

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'norm      '    15.669       1.0000         .10000E-03   10000.    
     2 'Prefactor '    1.8676       1.0000         .10000E-03   10000.    
     3 'norm      '    5.2525       1.0000         .10000E-03   10000.    
     4 'norm      '    .10019E-03   1.0000         .10000E-03   10000.    
     5 'Prefactor '    .10029E-03   1.0000         .10000E-03   10000.    
     6 'Prefactor '    .58232E-03   1.0000         .10000E-03   10000.    
     7 'norm      '    .22422E-01   1.0000         .10000E-03   10000.    
     8 'norm      '    9.1689       1.0000         .10000E-03   10000.    
     9 'Prefactor '    10.905       1.0000         .10000E-03   10000.    
    10 'Prefactor '    .20102E-03   1.0000         .10000E-03   10000.    
    11 'Prefactor '    .10437E-03   1.0000         .10000E-03   10000.    
    12 'Prefactor '    15.023       1.0000         .10000E-03   10000.    
    13 'Prefactor '    26.705       1.0000         .10000E-03   10000.    
    14 'Prefactor '    .10009E-03   1.0000         .10000E-03   10000.    
    15 'norm      '    12.368       1.0000         .10000E-03   10000.    
    16 'norm      '    .10008E-03   1.0000         .10000E-03   10000.    
    17 'norm      '    .24774       1.0000         .10000E-03   10000.    
    18 'norm      '    .10500E-03   1.0000         .10000E-03   10000.    
    19 'Normalizat'    .93919       1.0000         .10000E-01   10.000    
    20 'Prefactor '    .94115       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=   3774.865     FROM MIGRAD    STATUS=CONVERGED    445 CALLS     2101 TOTAL
                     EDM=   .44E-09  STRATEGY=1  ERROR MATRIX UNCERTAINTY=  5.0%

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  norm          15.673        15.461       -.32750E-07   -.54120E-04
   2  Prefactor     1.8988        146.20        .87942E-07   -.19845E-05
   3  norm          5.2504        8.5151       -.83066E-07   -.69420E-04
   4  norm          .10000E-03    1.4167        .93724E-07** at limit **
   5  Prefactor     .10000E-03    5.1625        .77210E-07** at limit **
   6  Prefactor     .10002E-03    145.64        .47008E-05** at limit **
   7  norm          .13004E-03    4.3383       -.77120E-06** at limit **
   8  norm          9.1709        8.5377        .26646E-07   -.49066E-04
   9  Prefactor     10.932        25.436        .86929E-06    .11317E-04
  10  Prefactor     .10000E-03    3.0770        .44576E-06** at limit **
  11  Prefactor     .10001E-03    73.733        .72146E-05** at limit **
  12  Prefactor     15.034        18.452        .13590E-06    .10967E-04
  13  Prefactor     26.703        40.040        .36700E-06   -.71519E-05
  14  Prefactor     .10000E-03    14.880        .25911E-06** at limit **
  15  norm          12.367        7.7341        .66463E-07    .72404E-04
  16  norm          .10000E-03    1.9005        .20944E-06** at limit **
  17  norm          .24790        .63721       -.15526E-06   -.59969E-03
  18  norm          .10000E-03    .89145        .17964E-06** at limit **
  19  Normalizat    .93929        .27164       -.65099E-05   -.29411E-04
  20  Prefactor     .94094        .19462        .34831E-05   -.16786E-03
                               ERR DEF=  .500    
Final values: 
  norm       = 15.673
  Prefactor  = 1.89884
  norm       = 5.25038
  norm       = 0.0001
  Prefactor  = 0.0001
  Prefactor  = 0.000100018
  norm       = 0.000130039
  norm       = 9.17088
  Prefactor  = 10.9319
  Prefactor  = 0.000100003
  Prefactor  = 0.00010001
  Prefactor  = 15.034
  Prefactor  = 26.7032
  Prefactor  = 0.0001
  norm       = 12.3672
  norm       = 0.0001
  norm       = 0.247901
  norm       = 0.0001
  Normalizat = 0.939289
  Prefactor  = 0.94094
 **********
 **   18 **HESSE 
 **********

 FCN=   3774.865     FROM HESSE     STATUS=OK           309 CALLS     2410 TOTAL
                     EDM=   .19E-08    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  norm          15.673        15.471        .10118E-03   -1.4916    
   2  Prefactor     1.8988        149.51        .30481E-03   -1.5432    
   3  norm          5.2504        8.4980        .17538E-03   -1.5250    
   4  norm          .10000E-03    1.4203        .71422E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   5  Prefactor     .10000E-03    5.1662        .13635E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   6  Prefactor     .10002E-03    140.51        .41747E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   7  norm          .13004E-03    8.5664        .33494E-01   -1.5707    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   8  norm          9.1709        8.5349        .13236E-03   -1.5102    
   9  Prefactor     10.932        25.498        .12132E-03   -1.5047    
  10  Prefactor     .10000E-03    17.150        .20366E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  11  Prefactor     .10001E-03    77.032        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  12  Prefactor     15.034        18.404        .10334E-03   -1.4932    
  13  Prefactor     26.703        40.082        .77521E-04   -1.4674    
  14  Prefactor     .10000E-03    14.886        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  15  norm          12.367        7.7391        .11390E-03   -1.5004    
  16  norm          .10000E-03    1.9102        .82771E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  17  norm          .24790        .64525        .74926E-04   -1.5608    
  18  norm          .10000E-03    1.5133        .11286E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  19  Normalizat    .93929        .28130        .26743E-03   -.95093    
  20  Prefactor     .94094        .20221        .20216E-03   -.94725    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 1.85588e-09
Minuit parameter uncertainties:
  1  15.4748
  2  33.7852
  3  8.49995
  4  3.93358e-06
  5  5.89447e-06
  6  0.00322168
  7  0.0320875
  8  8.53607
  9  25.523
  10  0.00044389
  11  0.00173541
  12  18.4111
  13  40.1221
  14  2.33918e-05
  15  7.7397
  16  6.13501e-06
  17  0.645272
  18  8.31173e-06
  19  0.281743
  20  0.202367
Done.

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

Extracting fit parameters...

4FGL J0920.3-0443
   Spectrum: PowerLaw
250    Prefactor:  1.093e+01  2.552e+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.409e-01  2.024e-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.393e-01  2.817e-01  1.000e-02  1.000e+01 ( 1.000e+00)


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

Saving results to:
/scratch/kocevski/126742/likelihoodResults_546739201_546998401_4FGL_J0920.3-0443_daily_bin1186.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) = 3774.2882982
delta logL = 0.577013081653

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

MINUIT Return Code (Free Index): 102
logL (Free Index) = 3774.11237596
delta logL = 0.752935323913

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'Prefactor '    .12164E-01   1.0000         .10000E-03   10000.    
     2 'Index     '    6.6523       1.0000          .0000       10.000    
     3 'Normalizat'    .85356       1.0000         .10000E-01   10.000    
     4 'Prefactor '    .98916       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=   3774.112     FROM MIGRAD    STATUS=CONVERGED     54 CALLS      294 TOTAL
                     EDM=   .50E-09    STRATEGY= 1      ERR MATRIX NOT POS-DEF

  EXT PARAMETER                APPROXIMATE        STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor     .11926E-01    .21214        .13337E-02    .56789E-02
   2  Index         6.6617        3.0271        .11786        .10678E-03
   3  Normalizat    .85352        .59689E-01    .44305E-01    .17934E-04
   4  Prefactor     .98910        .45388E-01    .46131E-01    .22315E-05
                               ERR DEF=  .500    
Final values: 
  Prefactor  = 0.0119264
  Index      = 6.66166
  Normalizat = 0.85352
  Prefactor  = 0.989098
 **********
 **   18 **HESSE 
 **********

 FCN=   3774.112     FROM HESSE     STATUS=NOT POSDEF    35 CALLS      329 TOTAL
                     EDM=   .80E-11    STRATEGY= 1      ERR MATRIX NOT POS-DEF

  EXT PARAMETER                APPROXIMATE     INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  Prefactor     .11926E-01    .49337        .59936E-04   -1.5686    
   2  Index         6.6617        7.8268        .45341E-02    .33878    
   3  Normalizat    .85352        .21161        .27886E-03   -.98113    
   4  Prefactor     .98910        .15796        .19778E-03   -.93094    
                               ERR DEF=  .500    
Minuit fit quality: 2   estimated distance: 8.0446e-12
Minuit parameter uncertainties:
  1  0.152773
  2  5.95776
  3  0.211816
  4  0.158036
shell-init: error retrieving current directory: getcwd: cannot access parent directories: No such file or directory
rmdir: failed to remove `/scratch/kocevski/126742': 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) = 3774.1123728
delta logL = 0.752938488996

Extracting fit parameters...

4FGL J0920.3-0443
   Spectrum: PowerLaw
250    Prefactor:  1.193e-02  1.528e-01  1.000e-04  1.000e+04 ( 1.000e-13)
251        Index:  6.662e+00  5.958e+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.891e-01  1.580e-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:  8.535e-01  2.118e-01  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Free Index): 1.87
Ra Dec: 140.100 -4.731
Photon Index (Free Index): 6.66 +/- 5.96
Photon Flux (Free Index): 9.24e-08 +/- 8.12e-08
Energy Flux (Free Index): 1.12e-05 +/- 1.06e-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/126742/cmap_HighResolution_546739201_546998401_4FGL_J0920.3-0443_daily_bin1186.png

Cleaning up...

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

Updating database...

UPDATE lightcurve_data_v2 SET energy_flux_upper_limit='1.33e-02', comment='SUCCESS', energy_flux2='1.12e-05', dlogl='7.53e-01', photon_flux2='9.24e-08', job_status='DONE', time_completed='2021-08-31 06:52:54.488309', photon_index_error2='5.96', photon_index2='6.66', ts='0.22', fit_tolerance='1e-08', GAL='0.94', photon_index_error='0.00', photon_flux_upper_limit='1.69e-07', energy_flux_error2='1.06e-05', EG='0.94', time_epoch_completed='1630417974.49', return_code='0', job_id='126742', GAL2='0.99', EG2='0.85', return_code2='102', photon_flux_error2='8.12e-08', ts2='1.87', photon_index='2.59' WHERE bin_id='1186' AND source_name='4FGL J0920.3-0443' AND cadence='daily';

Database successfully updated.


Analysis Complete.


Tue Aug 31 06:52:54 PDT 2021


------------------------------------------------------------
Sender: LSF System <lsf@bullet0288>
Subject: Job 126742: <4FGL_J0920.3-0443_daily_bin1186> in cluster <slac> Done

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

Your job looked like:

------------------------------------------------------------
# LSBATCH: User input
/nfs/farm/g/glast/g/LCRepository/Likelihood/Scripts/LikelihoodAnalysis.py 4FGL_J0920.3-0443_daily_bin1186 140.1 -4.7311 546739201 546998401 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 :                                   572.00 sec.
    Max Memory :                                 1255 MB
    Average Memory :                             302.52 MB
    Total Requested Memory :                     -
    Delta Memory :                               -
    Max Swap :                                   -
    Max Processes :                              5
    Max Threads :                                21
    Run time :                                   649 sec.
    Turnaround time :                            650 sec.

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

