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


Performing analysis on: 4FGL_J0920.3-0443_daily_bin1238
RA = 140.1, Dec = -4.7311
tmin = 560217601, tmax = 560476801
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='126831', job_status='RUN', time_executed='2021-08-31 06:44:30.511815', time_epoch_executed='1630417470.51' WHERE source_name='4FGL J0920.3-0443' and cadence='daily' and bin_id='1238'

Database successfully updated.
Done.

Creating custom output directory:
/scratch/kocevski/126831

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

Retrieving the FT1 file...

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

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

Retrieving 46 files...
Done.


Merging files...

Checksum keywords updated successfully.

Merged file saved to:
/scratch/kocevski/126831/ft1_4FGL_J0920.3-0443_daily_bin1238.fits


Retrieving the FT1 file...

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

Retrieving 46 files...
Done.


Merging files...

Merged file saved to:
/scratch/kocevski/126831/ft2_4FGL_J0920.3-0443_daily_bin1238.fits


Selecting the photons:
time -p gtselect infile=/scratch/kocevski/126831/ft1_4FGL_J0920.3-0443_daily_bin1238.fits outfile=/scratch/kocevski/126831/ft1_filteredMKT_4FGL_J0920.3-0443_daily_bin1238.fits ra=140.1 dec=-4.7311 rad=12.0 tmin=560217601.0 tmax=560476801.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.68
user 3.36
sys 0.20

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

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

Generating the livetime cube:
time -p gtltcube evfile="/scratch/kocevski/126831/ft1_filtered_4FGL_J0920.3-0443_daily_bin1238.fits" evtable="EVENTS" scfile=/scratch/kocevski/126831/ft2_4FGL_J0920.3-0443_daily_bin1238.fits sctable="SC_DATA" outfile=/scratch/kocevski/126831/ltcube_560217601_560476801_4FGL_J0920.3-0443_daily_bin1238.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/126831/ft2_4FGL_J0920.3-0443_daily_bin1238.fits
.....................!
real 11.58
user 10.99
sys 0.27

Generating the exposure map:
time -p gtexpmap evfile=/scratch/kocevski/126831/ft1_filtered_4FGL_J0920.3-0443_daily_bin1238.fits evtable="EVENTS" scfile=/scratch/kocevski/126831/ft2_4FGL_J0920.3-0443_daily_bin1238.fits sctable="SC_DATA" expcube=/scratch/kocevski/126831/ltcube_560217601_560476801_4FGL_J0920.3-0443_daily_bin1238.fits outfile=/scratch/kocevski/126831/expmap_560217601_560476801_4FGL_J0920.3-0443_daily_bin1238.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/126831/ltcube_560217601_560476801_4FGL_J0920.3-0443_daily_bin1238.fits
.....................!
real 191.21
user 185.50
sys 4.52

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/126831/ft1_filtered_4FGL_J0920.3-0443_daily_bin1238.fits scfile=/scratch/kocevski/126831/ft2_4FGL_J0920.3-0443_daily_bin1238.fits outfile=/scratch/kocevski/126831/cmap_560217601_560476801_4FGL_J0920.3-0443_daily_bin1238.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.54
user 0.37
sys 0.14

Creating the high resolution counts map:
time -p gtbin evfile=/scratch/kocevski/126831/ft1_filtered_4FGL_J0920.3-0443_daily_bin1238.fits scfile=/scratch/kocevski/126831/ft2_4FGL_J0920.3-0443_daily_bin1238.fits outfile=/scratch/kocevski/126831/cmap_HighResolution_560217601_560476801_4FGL_J0920.3-0443_daily_bin1238.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.56
user 0.37
sys 0.15

Computing the diffuse response:
time -p gtdiffrsp evfile=/scratch/kocevski/126831/ft1_filtered_4FGL_J0920.3-0443_daily_bin1238.fits evtable="EVENTS" scfile=/scratch/kocevski/126831/ft2_4FGL_J0920.3-0443_daily_bin1238.fits sctable="SC_DATA" srcmdl=/scratch/kocevski/126831/Model_4FGL_J0920.3-0443_daily_bin1238.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/126831/ft1_filtered_4FGL_J0920.3-0443_daily_bin1238.fits............................!
real 18.20
user 15.45
sys 1.14

Creating the likelihood object...
obs = UnbinnedObs('/scratch/kocevski/126831/ft1_filtered_4FGL_J0920.3-0443_daily_bin1238.fits', '/scratch/kocevski/126831/ft2_4FGL_J0920.3-0443_daily_bin1238.fits', expMap='/scratch/kocevski/126831/expmap_560217601_560476801_4FGL_J0920.3-0443_daily_bin1238.fits', expCube='/scratch/kocevski/126831/ltcube_560217601_560476801_4FGL_J0920.3-0443_daily_bin1238.fits', irfs='P8R3_SOURCE_V2')
like = UnbinnedAnalysis(obs, '/scratch/kocevski/126831/Model_4FGL_J0920.3-0443_daily_bin1238.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/126831/ft1_filtered_4FGL_J0920.3-0443_daily_bin1238.fits
Spacecraft file(s): /scratch/kocevski/126831/ft2_4FGL_J0920.3-0443_daily_bin1238.fits
Exposure map: /scratch/kocevski/126831/expmap_560217601_560476801_4FGL_J0920.3-0443_daily_bin1238.fits
Exposure cube: /scratch/kocevski/126831/ltcube_560217601_560476801_4FGL_J0920.3-0443_daily_bin1238.fits
IRFs: P8R3_SOURCE_V2
Source model file: /scratch/kocevski/126831/Model_4FGL_J0920.3-0443_daily_bin1238.xml
Optimizer: MINUIT
Statistic: UNBINNED

Performing an iterative likelihood fit...

Fit tolerance = 1

Performing likelihood fit...
Done.

MINUIT Return Code (Fixed Index): 101
logL (Fixed Index) = 373.022107047

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

MINUIT Return Code (Fixed Index): 101
logL (Fixed Index) = 372.53996879

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'norm      '    25.515       1.0000         .10000E-03   10000.    
     2 'Prefactor '    2.8231       1.0000         .10000E-03   10000.    
     3 'norm      '    8.5492       1.0000         .10000E-03   10000.    
     4 'norm      '    2.3764       1.0000         .10000E-03   10000.    
     5 'Prefactor '    2.1638       1.0000         .10000E-03   10000.    
     6 'Prefactor '    .24437       1.0000         .10000E-03   10000.    
     7 'norm      '    .82757       1.0000         .10000E-03   10000.    
     8 'norm      '    .13876E-02   1.0000         .10000E-03   10000.    
     9 'Prefactor '    .37485E-03   1.0000         .10000E-03   10000.    
    10 'Prefactor '    .54686       1.0000         .10000E-03   10000.    
    11 'Prefactor '    1.1299       1.0000         .10000E-03   10000.    
    12 'Prefactor '    1.9630       1.0000         .10000E-03   10000.    
    13 'Prefactor '    5.4040       1.0000         .10000E-03   10000.    
    14 'Prefactor '    3.0954       1.0000         .10000E-03   10000.    
    15 'norm      '    2.2214       1.0000         .10000E-03   10000.    
    16 'norm      '    .37517E-01   1.0000         .10000E-03   10000.    
    17 'norm      '    .10026E-03   1.0000         .10000E-03   10000.    
    18 'norm      '    .44882E-01   1.0000         .10000E-03   10000.    
    19 'Normalizat'    .61023       1.0000         .10000E-01   10.000    
    20 'Prefactor '    .51265       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.
  MNHESS FAILS AND WILL RETURN DIAGONAL MATRIX. 

 FCN=   372.5247     FROM MIGRAD    STATUS=CONVERGED    209 CALLS      336 TOTAL
                     EDM=   .71E-10  STRATEGY=1  ERROR MATRIX UNCERTAINTY=100.0%

  EXT PARAMETER                APPROXIMATE        STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  norm          22.961        52.660        .19826E-02    .85223E-03
   2  Prefactor     2.8231        1.0166         .0000         .0000    
   3  norm          8.5492        1.0017         .0000         .0000    
   4  norm          2.3764        1.0240         .0000         .0000    
   5  Prefactor     2.1638        1.0296         .0000         .0000    
   6  Prefactor     .10008E-03    .25899        .20209E-05** at limit **
   7  norm          .67323        1.0290       -.11908E-05   -.21661E-05
   8  norm          .10000E-03    .26345        .28130E-06** at limit **
   9  Prefactor     .10000E-03    .28337       -.98332E-06** at limit **
  10  Prefactor     .11575        .38974       -.14636E-04    .18874E-04
  11  Prefactor     .10000E-03    .30203       -.18950E-05** at limit **
  12  Prefactor     .10036E-03    .13694        .34761E-05** at limit **
  13  Prefactor     .10064E-03    .46691E-01    .79666E-05** at limit **
  14  Prefactor     3.0954        1.0137         .0000         .0000    
  15  norm          .10700E-03    .11894       -.58331E-05** at limit **
  16  norm          .10000E-03    .21201        .52516E-06** at limit **
  17  norm          .10000E-03    .20571        .28363E-08** at limit **
  18  norm          .12661E-01    .21368       -.94184E-06   -.11277E-02
  19  Normalizat    .62374        .95795       -.13636E-05    .10247E-04
  20  Prefactor     .51650        .85878       -.13034E-05    .11217E-04
                               ERR DEF=  .500    
Final values: 
  norm       = 22.9608
  Prefactor  = 2.82313
  norm       = 8.54923
  norm       = 2.37642
  Prefactor  = 2.16378
  Prefactor  = 0.000100077
  norm       = 0.673231
  norm       = 0.0001
  Prefactor  = 0.0001
  Prefactor  = 0.115753
  Prefactor  = 0.000100001
  Prefactor  = 0.000100364
  Prefactor  = 0.000100644
  Prefactor  = 3.09544
  norm       = 0.000106997
  norm       = 0.0001
  norm       = 0.0001
  norm       = 0.012661
  Normalizat = 0.623737
  Prefactor  = 0.516503
 **********
 **   18 **HESSE 
 **********
  MNHESS FAILS AND WILL RETURN DIAGONAL MATRIX. 

 FCN=   372.5247     FROM HESSE     STATUS=FAILED        11 CALLS      347 TOTAL
                     EDM=   .71E-10  STRATEGY=1  ERROR MATRIX UNCERTAINTY=100.0%

  EXT PARAMETER                APPROXIMATE     INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  norm          22.961        52.660        .19826E-02   -1.4749    
   2  Prefactor     556.73        553.82         .0000       -1.5372    
   3  norm          8.5492        1.0017         .0000       -1.5123    
   4  norm          2.3764        1.0240         .0000       -1.5400    
   5  Prefactor     2.1638        1.0296         .0000       -1.5414    
   6  Prefactor     .10008E-03    .25899        .20209E-05   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   7  norm          .67323        1.0290       -.11908E-05   -1.5544    
   8  norm          .10000E-03    .26345        .28130E-06   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   9  Prefactor     .10000E-03    .28337       -.98332E-06   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  10  Prefactor     .11575        .38974       -.14636E-04   -1.5776    
  11  Prefactor     .10000E-03    .30203       -.18950E-05   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  12  Prefactor     .10036E-03    .13694        .34761E-05   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  13  Prefactor     .10064E-03    .46691E-01    .79666E-05   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  14  Prefactor     3.0954        1.0137         .0000       -1.5356    
  15  norm          .10700E-03    .11894       -.58331E-05   -1.5707    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  16  norm          .10000E-03    .21201        .52516E-06   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  17  norm          .10000E-03    .20571        .28363E-08   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  18  norm          .12661E-01    .21368       -.94184E-06   -1.5686    
  19  Normalizat    .62374        .95795       -.13636E-05   -1.0699    
  20  Prefactor     .51650        .85878       -.13034E-05   -1.1123    
                               ERR DEF=  .500    
Minuit fit quality: 1   estimated distance: 7.12267e-11
Minuit parameter uncertainties:
  1  52.7664
  2  1.01661
  3  1.00172
  4  1.02405
  5  1.02956
  6  0.000283096
  7  1.02899
  8  3.02025e-06
  9  7.85745e-08
  10  0.38975
  11  3.60014e-05
  12  0.000446531
  13  0.000346812
  14  1.01368
  15  0.00182452
  16  2.50276e-06
  17  4.0754e-08
  18  0.103615
  19  0.985431
  20  0.881939
Done.

MINUIT Return Code (Fixed Index): 101
logL (Fixed Index) = 372.52471883

Extracting fit parameters...

4FGL J0920.3-0443
   Spectrum: PowerLaw
250    Prefactor:  1.000e-04  7.857e-08  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:  5.165e-01  8.819e-01  0.000e+00  1.000e+01 ( 1.000e+00)
488        Index:  0.000e+00  0.000e+00 -1.000e+00  1.000e+00 ( 1.000e+00) fixed
489        Scale:  1.000e+02  0.000e+00  5.000e+01  2.000e+02 ( 1.000e+00) fixed

EG_v02
   Spectrum: FileFunction
486   Normalization:  6.237e-01  9.854e-01  1.000e-02  1.000e+01 ( 1.000e+00)


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

Saving results to:
/scratch/kocevski/126831/likelihoodResults_560217601_560476801_4FGL_J0920.3-0443_daily_bin1238.txt

Performing a free index iterative likelihood fit...

Freezing all point sources, except source of interest...

Done.

Freeing candidate source...
Done.

Fit tolerance = 1

Performing likelihood fit...
Done.

MINUIT Return Code (Free Index): 102
logL (Free Index) = 372.524794265
delta logL = -7.5435363101e-05

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

MINUIT Return Code (Free Index): 102
logL (Free Index) = 372.524719623
delta logL = -7.93147762579e-07

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'Prefactor '    .10054E-03   1.0000         .10000E-03   10000.    
     2 'Index     '    3.1014       1.0000          .0000       10.000    
     3 'Normalizat'    .62379       1.0000         .10000E-01   10.000    
     4 'Prefactor '    .51643       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=   372.5247     FROM MIGRAD    STATUS=CONVERGED     93 CALLS      278 TOTAL
                     EDM=   .17E-08    STRATEGY= 1      ERR MATRIX NOT POS-DEF

  EXT PARAMETER                APPROXIMATE        STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor     .10889E-03    69.113        .10461E-01** at limit **
   2  Index         2.9412        7.1637        .50000        .83757E-05
   3  Normalizat    .62374        .17036E-01    .21632E-03    .40074E-06
   4  Prefactor     .51650        .12497E-01    .17199E-03   -.13013E-05
                               ERR DEF=  .500    
Final values: 
  Prefactor  = 0.000108886
  Index      = 2.94119
  Normalizat = 0.623737
  Prefactor  = 0.516503
 **********
 **   18 **HESSE 
 **********

 FCN=   372.5247     FROM HESSE     STATUS=NOT POSDEF    29 CALLS      307 TOTAL
                     EDM=   .14E-07    STRATEGY= 1      ERR MATRIX NOT POS-DEF

  EXT PARAMETER                APPROXIMATE     INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  Prefactor     .10889E-03    559.67        .11340E-02   -1.5707    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   2  Index         2.9412        6.6673        .50000       -.42439    
   3  Normalizat    .62374        .49598E-01    .86527E-05   -1.0699    
   4  Prefactor     .51650        .36384E-01    .68798E-05   -1.1123    
                               ERR DEF=  .500    
Minuit fit quality: 2   estimated distance: 1.41951e-08
Minuit parameter uncertainties:
  1  0.142397
  2  1027.54
  3  0.0496019
  4  0.0363854
shell-init: error retrieving current directory: getcwd: cannot access parent directories: No such file or directory
rmdir: failed to remove `/scratch/kocevski/126831': 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) = 372.524719403
delta logL = -5.7312536228e-07

Extracting fit parameters...

4FGL J0920.3-0443
   Spectrum: PowerLaw
250    Prefactor:  1.089e-04  1.424e-01  1.000e-04  1.000e+04 ( 1.000e-13)
251        Index:  2.941e+00  1.028e+03  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:  5.165e-01  3.639e-02  0.000e+00  1.000e+01 ( 1.000e+00)
488        Index:  0.000e+00  0.000e+00 -1.000e+00  1.000e+00 ( 1.000e+00) fixed
489        Scale:  1.000e+02  0.000e+00  5.000e+01  2.000e+02 ( 1.000e+00) fixed

EG_v02
   Spectrum: FileFunction
486   Normalization:  6.237e-01  4.960e-02  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Free Index): -0.00
Ra Dec: 140.100 -4.731

Creating a high resolution counts map...
INFO: Auto-setting vmin to  0.000e+00 [aplpy.core]
INFO: Auto-setting vmax to  0.000e+00 [aplpy.core]
Saving /scratch/kocevski/126831/cmap_HighResolution_560217601_560476801_4FGL_J0920.3-0443_daily_bin1238.png

Cleaning up...

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

Updating database...

UPDATE lightcurve_data_v2 SET energy_flux_upper_limit='5.93e-02', job_status='DONE', photon_flux_upper_limit='7.59e-07', time_completed='2021-08-31 06:50:04.845900', job_id='126831', GAL2='0.52', fit_tolerance='1e-08', EG2='0.62', EG='0.62', time_epoch_completed='1630417804.85', return_code2='102', ts='-0.00', comment='SUCCESS', return_code='101', GAL='0.52', dlogl='-5.73e-07', ts2='-0.00', photon_index_error='0.00', photon_index='2.59' WHERE bin_id='1238' AND source_name='4FGL J0920.3-0443' AND cadence='daily';

Database successfully updated.


Analysis Complete.


Tue Aug 31 06:50:04 PDT 2021


------------------------------------------------------------
Sender: LSF System <scs@bullet0137>
Subject: Job 126831: <4FGL_J0920.3-0443_daily_bin1238> in cluster <slac> Done

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

Your job looked like:

------------------------------------------------------------
# LSBATCH: User input
/nfs/farm/g/glast/g/LCRepository/Likelihood/Scripts/LikelihoodAnalysis.py 4FGL_J0920.3-0443_daily_bin1238 140.1 -4.7311 560217601 560476801 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 :                                   313.00 sec.
    Max Memory :                                 1093 MB
    Average Memory :                             243.38 MB
    Total Requested Memory :                     -
    Delta Memory :                               -
    Max Swap :                                   -
    Max Processes :                              5
    Max Threads :                                21
    Run time :                                   474 sec.
    Turnaround time :                            475 sec.

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

