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


Performing analysis on: 4FGL_J0920.3-0443_daily_bin1457
RA = 140.1, Dec = -4.7311
tmin = 616982401, tmax = 617241601
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='128152', job_status='RUN', time_executed='2021-08-31 06:51:29.759222', time_epoch_executed='1630417889.76' WHERE source_name='4FGL J0920.3-0443' and cadence='daily' and bin_id='1457'

Database successfully updated.
Done.

Creating custom output directory:
/scratch/kocevski/128152

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

Retrieving the FT1 file...

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

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

Retrieving 47 files...
Done.


Merging files...

Checksum keywords updated successfully.

Merged file saved to:
/scratch/kocevski/128152/ft1_4FGL_J0920.3-0443_daily_bin1457.fits


Retrieving the FT1 file...

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

Retrieving 47 files...
Done.


Merging files...

Merged file saved to:
/scratch/kocevski/128152/ft2_4FGL_J0920.3-0443_daily_bin1457.fits


Selecting the photons:
time -p gtselect infile=/scratch/kocevski/128152/ft1_4FGL_J0920.3-0443_daily_bin1457.fits outfile=/scratch/kocevski/128152/ft1_filteredMKT_4FGL_J0920.3-0443_daily_bin1457.fits ra=140.1 dec=-4.7311 rad=12.0 tmin=616982401.0 tmax=617241601.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.04
user 2.77
sys 5.13

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

Selecting the good time intervals:
time -p gtmktime scfile=/scratch/kocevski/128152/ft2_4FGL_J0920.3-0443_daily_bin1457.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/128152/ft1_filteredMKT_4FGL_J0920.3-0443_daily_bin1457.fits evtable="EVENTS" outfile="/scratch/kocevski/128152/ft1_filtered_4FGL_J0920.3-0443_daily_bin1457.fits" apply_filter=yes overwrite=yes header_obstimes=yes tstart=0.0 tstop=0.0 gtifile="default" chatter=3 clobber=yes debug=no gui=no mode="ql"

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

This is gtmktime version HEAD
Applying GTI filter:
IN_SAA!=T && LIVETIME>0 && gtifilter('/nfs/farm/g/glast/g/LCRepository/Likelihood/GTIs/nogrb.gti',(START+STOP)/2) && (angsep(RA_SUN,DEC_SUN,RA_ZENITH,DEC_ZENITH)>115 || gtifilter('/nfs/farm/g/glast/g/LCRepository/Likelihood/GTIs/nosolarflares.gti',(START+STOP)/2))
real 5.56
user 0.33
sys 5.06

Generating the livetime cube:
time -p gtltcube evfile="/scratch/kocevski/128152/ft1_filtered_4FGL_J0920.3-0443_daily_bin1457.fits" evtable="EVENTS" scfile=/scratch/kocevski/128152/ft2_4FGL_J0920.3-0443_daily_bin1457.fits sctable="SC_DATA" outfile=/scratch/kocevski/128152/ltcube_616982401_617241601_4FGL_J0920.3-0443_daily_bin1457.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/128152/ft2_4FGL_J0920.3-0443_daily_bin1457.fits
.....................!
real 18.31
user 12.26
sys 5.87

Generating the exposure map:
time -p gtexpmap evfile=/scratch/kocevski/128152/ft1_filtered_4FGL_J0920.3-0443_daily_bin1457.fits evtable="EVENTS" scfile=/scratch/kocevski/128152/ft2_4FGL_J0920.3-0443_daily_bin1457.fits sctable="SC_DATA" expcube=/scratch/kocevski/128152/ltcube_616982401_617241601_4FGL_J0920.3-0443_daily_bin1457.fits outfile=/scratch/kocevski/128152/expmap_616982401_617241601_4FGL_J0920.3-0443_daily_bin1457.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/128152/ltcube_616982401_617241601_4FGL_J0920.3-0443_daily_bin1457.fits
.....................!
real 197.22
user 185.47
sys 10.80

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/128152/ft1_filtered_4FGL_J0920.3-0443_daily_bin1457.fits scfile=/scratch/kocevski/128152/ft2_4FGL_J0920.3-0443_daily_bin1457.fits outfile=/scratch/kocevski/128152/cmap_616982401_617241601_4FGL_J0920.3-0443_daily_bin1457.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.99
user 0.38
sys 4.47

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

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

This is gtbin version HEAD
real 5.49
user 0.39
sys 4.99

Computing the diffuse response:
time -p gtdiffrsp evfile=/scratch/kocevski/128152/ft1_filtered_4FGL_J0920.3-0443_daily_bin1457.fits evtable="EVENTS" scfile=/scratch/kocevski/128152/ft2_4FGL_J0920.3-0443_daily_bin1457.fits sctable="SC_DATA" srcmdl=/scratch/kocevski/128152/Model_4FGL_J0920.3-0443_daily_bin1457.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/128152/ft1_filtered_4FGL_J0920.3-0443_daily_bin1457.fits......................!
real 44.22
user 35.03
sys 7.67

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

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

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

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'norm      '    .10128E-03   1.0000         .10000E-03   10000.    
     2 'Prefactor '    .10406E-03   1.0000         .10000E-03   10000.    
     3 'norm      '    9.6081       1.0000         .10000E-03   10000.    
     4 'norm      '    .10001E-03   1.0000         .10000E-03   10000.    
     5 'Prefactor '    .10008E-03   1.0000         .10000E-03   10000.    
     6 'Prefactor '    .10006E-03   1.0000         .10000E-03   10000.    
     7 'norm      '    .10267E-03   1.0000         .10000E-03   10000.    
     8 'norm      '    11.596       1.0000         .10000E-03   10000.    
     9 'Prefactor '    .10007E-03   1.0000         .10000E-03   10000.    
    10 'Prefactor '    .38294       1.0000         .10000E-03   10000.    
    11 'Prefactor '    44.916       1.0000         .10000E-03   10000.    
    12 'Prefactor '    1.6416       1.0000         .10000E-03   10000.    
    13 'Prefactor '    11.328       1.0000         .10000E-03   10000.    
    14 'Prefactor '    19.600       1.0000         .10000E-03   10000.    
    15 'norm      '    .10152E-03   1.0000         .10000E-03   10000.    
    16 'norm      '    .17646E-03   1.0000         .10000E-03   10000.    
    17 'norm      '    .10125E-03   1.0000         .10000E-03   10000.    
    18 'norm      '    .10013E-03   1.0000         .10000E-03   10000.    
    19 'Normalizat'    1.1585       1.0000         .10000E-01   10.000    
    20 'Prefactor '    1.0145       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=   2589.460     FROM MIGRAD    STATUS=CONVERGED    422 CALLS     2114 TOTAL
                     EDM=   .45E-09  STRATEGY=1  ERROR MATRIX UNCERTAINTY=  3.3%

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  norm          .10000E-03    26.528       -.12616E-06** at limit **
   2  Prefactor     .10000E-03    19.493       -.69565E-07** at limit **
   3  norm          9.6064        13.040       -.10240E-06    .33094E-04
   4  norm          .10000E-03    1.2127       -.36905E-07** at limit **
   5  Prefactor     .10000E-03    5.6597       -.91013E-07** at limit **
   6  Prefactor     .10000E-03    5.0338       -.13799E-06** at limit **
   7  norm          .10000E-03    45.287        .36019E-05** at limit **
   8  norm          11.596        20.781        .62007E-06    .93479E-04
   9  Prefactor     .10000E-03    31.335       -.21241E-06** at limit **
  10  Prefactor     .36285        23.103       -.33610E-05    .26433E-03
  11  Prefactor     44.898        70.945        .19415E-05    .64620E-04
  12  Prefactor     1.6956        200.62       -.10646E-04   -.26631E-04
  13  Prefactor     11.320        52.624        .75102E-06    .45961E-04
  14  Prefactor     19.594        33.330       -.91179E-07    .26781E-04
  15  norm          .10000E-03    9.8231       -.10967E-05** at limit **
  16  norm          .10002E-03    5.9968       -.97055E-06** at limit **
  17  norm          .10000E-03    .97495        .90024E-06** at limit **
  18  norm          .10000E-03    1.7094       -.14195E-06** at limit **
  19  Normalizat    1.1581        .33944        .48021E-06    .16427E-03
  20  Prefactor     1.0150        .22806        .11182E-05    .25765E-03
                               ERR DEF=  .500    
Final values: 
  norm       = 0.0001
  Prefactor  = 0.0001
  norm       = 9.60635
  norm       = 0.0001
  Prefactor  = 0.0001
  Prefactor  = 0.0001
  norm       = 0.000100004
  norm       = 11.5961
  Prefactor  = 0.0001
  Prefactor  = 0.362847
  Prefactor  = 44.8976
  Prefactor  = 1.6956
  Prefactor  = 11.3205
  Prefactor  = 19.5938
  norm       = 0.0001
  norm       = 0.000100016
  norm       = 0.0001
  norm       = 0.0001
  Normalizat = 1.15811
  Prefactor  = 1.01498
 **********
 **   18 **HESSE 
 **********

 FCN=   2589.460     FROM HESSE     STATUS=OK           289 CALLS     2403 TOTAL
                     EDM=   .35E-08    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  norm          .10000E-03    26.517        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   2  Prefactor     .10000E-03    19.503        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   3  norm          9.6064        13.035        .12928E-03   -1.5088    
   4  norm          .10000E-03    1.2133        .54731E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   5  Prefactor     .10000E-03    5.6643        .11825E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   6  Prefactor     .10000E-03    5.0458        .11154E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   7  norm          .10000E-03    46.965        .36285E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   8  norm          11.596        20.782        .11764E-03   -1.5027    
   9  Prefactor     .10000E-03    31.407        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  10  Prefactor     .36285        82.166        .38454E-02   -1.5588    
  11  Prefactor     44.898        71.408        .59823E-04   -1.4367    
  12  Prefactor     1.6956        210.31        .32976E-03   -1.5448    
  13  Prefactor     11.320        52.732        .11903E-03   -1.5035    
  14  Prefactor     19.594        33.267        .90470E-04   -1.4822    
  15  norm          .10000E-03    10.005        .15634E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  16  norm          .10002E-03    49.253        .22798E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  17  norm          .10000E-03    1.1652        .83689E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  18  norm          .10000E-03    1.7455        .64932E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  19  Normalizat    1.1581        .40131        .29420E-03   -.87907    
  20  Prefactor     1.0150        .27404        .21159E-03   -.92232    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 3.52639e-09
Minuit parameter uncertainties:
  1  5.20542e-05
  2  7.63023e-06
  3  13.0389
  4  1.70565e-06
  5  8.84165e-06
  6  1.24297e-05
  7  0.000900368
  8  20.7953
  9  4.34553e-05
  10  10.9341
  11  71.5445
  12  37.9038
  13  48.9361
  14  33.2981
  15  0.000120051
  16  0.00176539
  17  1.26011e-05
  18  6.38256e-06
  19  0.402377
  20  0.274415
Done.

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

Extracting fit parameters...

4FGL J0920.3-0443
   Spectrum: PowerLaw
250    Prefactor:  1.000e-04  4.346e-05  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:  1.015e+00  2.744e-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.158e+00  4.024e-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: 2.17e-07 ph cm-2 s-1
Energy Flux Upper Limit: 1.70e-02 MeV cm-2 s-1

Saving results to:
/scratch/kocevski/128152/likelihoodResults_616982401_617241601_4FGL_J0920.3-0443_daily_bin1457.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) = 2589.46017546
delta logL = -0.000151620494762

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

MINUIT Return Code (Free Index): 102
logL (Free Index) = 2589.46002534
delta logL = -1.4975726117e-06

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'Prefactor '    .10031E-03   1.0000         .10000E-03   10000.    
     2 'Index     '    3.0550       1.0000          .0000       10.000    
     3 'Normalizat'    1.1581       1.0000         .10000E-01   10.000    
     4 'Prefactor '    1.0150       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=   2589.460     FROM MIGRAD    STATUS=CONVERGED     95 CALLS      284 TOTAL
                     EDM=   .81E-09    STRATEGY= 1      ERR MATRIX NOT POS-DEF

  EXT PARAMETER                APPROXIMATE        STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor     .11351E-03    9.9868        .18142E-01** at limit **
   2  Index         2.8502        7.6521        .50000        .16881E-04
   3  Normalizat    1.1581        .57053E-02    .29420E-03   -.27243E-05
   4  Prefactor     1.0150        .38925E-02    .21159E-03   -.21949E-04
                               ERR DEF=  .500    
Final values: 
  Prefactor  = 0.000113515
  Index      = 2.85023
  Normalizat = 1.15812
  Prefactor  = 1.01498
 **********
 **   18 **HESSE 
 **********

 FCN=   2589.460     FROM HESSE     STATUS=NOT POSDEF    29 CALLS      313 TOTAL
                     EDM=   .17E-07    STRATEGY= 1      ERR MATRIX NOT POS-DEF

  EXT PARAMETER                APPROXIMATE     INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  Prefactor     .11351E-03    185.11        .23183E-02   -1.5707    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   2  Index         2.8502        8.5663        .50000       -.44444    
   3  Normalizat    1.1581        .24691E-01    .11768E-04   -.87907    
   4  Prefactor     1.0150        .16846E-01    .84635E-05   -.92232    
                               ERR DEF=  .500    
Minuit fit quality: 2   estimated distance: 1.71255e-08
Minuit parameter uncertainties:
  1  0.100345
  2  586.919
  3  0.0246909
  4  0.0168457
shell-init: error retrieving current directory: getcwd: cannot access parent directories: No such file or directory
rmdir: failed to remove `/scratch/kocevski/128152': 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) = 2589.46002483
delta logL = -9.86901795841e-07

Extracting fit parameters...

4FGL J0920.3-0443
   Spectrum: PowerLaw
250    Prefactor:  1.135e-04  1.003e-01  1.000e-04  1.000e+04 ( 1.000e-13)
251        Index:  2.850e+00  5.869e+02  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:  1.015e+00  1.685e-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:  1.158e+00  2.469e-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/128152/cmap_HighResolution_616982401_617241601_4FGL_J0920.3-0443_daily_bin1457.png

Cleaning up...

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

Updating database...

UPDATE lightcurve_data_v2 SET energy_flux_upper_limit='1.70e-02', job_status='DONE', photon_flux_upper_limit='2.17e-07', time_completed='2021-08-31 07:00:02.008970', job_id='128152', GAL2='1.01', fit_tolerance='1e-08', EG2='1.16', EG='1.16', time_epoch_completed='1630418402.01', return_code2='102', ts='-0.00', comment='SUCCESS', return_code='0', GAL='1.01', dlogl='-9.87e-07', ts2='-0.00', photon_index_error='0.00', photon_index='2.59' WHERE bin_id='1457' AND source_name='4FGL J0920.3-0443' AND cadence='daily';

Database successfully updated.


Analysis Complete.


Tue Aug 31 07:00:02 PDT 2021


------------------------------------------------------------
Sender: LSF System <lsf@bullet0210>
Subject: Job 128152: <4FGL_J0920.3-0443_daily_bin1457> in cluster <slac> Done

Job <4FGL_J0920.3-0443_daily_bin1457> was submitted from host <rhel6-64m> by user <kocevski> in cluster <slac> at Tue Aug 31 06:46:25 2021
Job was executed on host(s) <bullet0210>, in queue <medium>, as user <kocevski> in cluster <slac> at Tue Aug 31 06:46:27 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:46:27 2021
Terminated at Tue Aug 31 07:00:03 2021
Results reported at Tue Aug 31 07:00:03 2021

Your job looked like:

------------------------------------------------------------
# LSBATCH: User input
/nfs/farm/g/glast/g/LCRepository/Likelihood/Scripts/LikelihoodAnalysis.py 4FGL_J0920.3-0443_daily_bin1457 140.1 -4.7311 616982401 617241601 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 :                                   558.04 sec.
    Max Memory :                                 1255 MB
    Average Memory :                             185.52 MB
    Total Requested Memory :                     -
    Delta Memory :                               -
    Max Swap :                                   -
    Max Processes :                              7
    Max Threads :                                21
    Run time :                                   815 sec.
    Turnaround time :                            818 sec.

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

