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


Performing analysis on: 4FGL_J0920.3-0443_daily_bin1156
RA = 140.1, Dec = -4.7311
tmin = 538963201, tmax = 539222401
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='126689', job_status='RUN', time_executed='2021-08-31 06:44:22.782717', time_epoch_executed='1630417462.78' WHERE source_name='4FGL J0920.3-0443' and cadence='daily' and bin_id='1156'

Database successfully updated.
Done.

Creating custom output directory:
/scratch/kocevski/126689

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

Retrieving the FT1 file...

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

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

Retrieving 46 files...
Done.


Merging files...

Checksum keywords updated successfully.

Merged file saved to:
/scratch/kocevski/126689/ft1_4FGL_J0920.3-0443_daily_bin1156.fits


Retrieving the FT1 file...

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

Retrieving 46 files...
Done.


Merging files...

Merged file saved to:
/scratch/kocevski/126689/ft2_4FGL_J0920.3-0443_daily_bin1156.fits


Selecting the photons:
time -p gtselect infile=/scratch/kocevski/126689/ft1_4FGL_J0920.3-0443_daily_bin1156.fits outfile=/scratch/kocevski/126689/ft1_filteredMKT_4FGL_J0920.3-0443_daily_bin1156.fits ra=140.1 dec=-4.7311 rad=12.0 tmin=538963201.0 tmax=539222401.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 5.24
user 4.36
sys 0.25

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

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

Generating the livetime cube:
time -p gtltcube evfile="/scratch/kocevski/126689/ft1_filtered_4FGL_J0920.3-0443_daily_bin1156.fits" evtable="EVENTS" scfile=/scratch/kocevski/126689/ft2_4FGL_J0920.3-0443_daily_bin1156.fits sctable="SC_DATA" outfile=/scratch/kocevski/126689/ltcube_538963201_539222401_4FGL_J0920.3-0443_daily_bin1156.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/126689/ft2_4FGL_J0920.3-0443_daily_bin1156.fits
.....................!
real 12.00
user 11.50
sys 0.33

Generating the exposure map:
time -p gtexpmap evfile=/scratch/kocevski/126689/ft1_filtered_4FGL_J0920.3-0443_daily_bin1156.fits evtable="EVENTS" scfile=/scratch/kocevski/126689/ft2_4FGL_J0920.3-0443_daily_bin1156.fits sctable="SC_DATA" expcube=/scratch/kocevski/126689/ltcube_538963201_539222401_4FGL_J0920.3-0443_daily_bin1156.fits outfile=/scratch/kocevski/126689/expmap_538963201_539222401_4FGL_J0920.3-0443_daily_bin1156.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/126689/ltcube_538963201_539222401_4FGL_J0920.3-0443_daily_bin1156.fits
.....................!
real 193.99
user 185.09
sys 5.40

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/126689/ft1_filtered_4FGL_J0920.3-0443_daily_bin1156.fits scfile=/scratch/kocevski/126689/ft2_4FGL_J0920.3-0443_daily_bin1156.fits outfile=/scratch/kocevski/126689/cmap_538963201_539222401_4FGL_J0920.3-0443_daily_bin1156.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.57
user 0.36
sys 0.16

Creating the high resolution counts map:
time -p gtbin evfile=/scratch/kocevski/126689/ft1_filtered_4FGL_J0920.3-0443_daily_bin1156.fits scfile=/scratch/kocevski/126689/ft2_4FGL_J0920.3-0443_daily_bin1156.fits outfile=/scratch/kocevski/126689/cmap_HighResolution_538963201_539222401_4FGL_J0920.3-0443_daily_bin1156.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.16

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

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

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

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

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'norm      '    6.4070       1.0000         .10000E-03   10000.    
     2 'Prefactor '    108.35       1.0000         .10000E-03   10000.    
     3 'norm      '    4.1066       1.0000         .10000E-03   10000.    
     4 'norm      '    .10003E-03   1.0000         .10000E-03   10000.    
     5 'Prefactor '    .10000E-03   1.0000         .10000E-03   10000.    
     6 'Prefactor '    2.0218       1.0000         .10000E-03   10000.    
     7 'norm      '    .10022E-03   1.0000         .10000E-03   10000.    
     8 'norm      '    .10000E-03   1.0000         .10000E-03   10000.    
     9 'Prefactor '    .11280E-03   1.0000         .10000E-03   10000.    
    10 'Prefactor '    8.3289       1.0000         .10000E-03   10000.    
    11 'Prefactor '    53.191       1.0000         .10000E-03   10000.    
    12 'Prefactor '    8.3468       1.0000         .10000E-03   10000.    
    13 'Prefactor '    21.505       1.0000         .10000E-03   10000.    
    14 'Prefactor '    .10143E-03   1.0000         .10000E-03   10000.    
    15 'norm      '    6.0946       1.0000         .10000E-03   10000.    
    16 'norm      '    2.6488       1.0000         .10000E-03   10000.    
    17 'norm      '    .23700E-01   1.0000         .10000E-03   10000.    
    18 'norm      '    1.1515       1.0000         .10000E-03   10000.    
    19 'Normalizat'    .65771       1.0000         .10000E-01   10.000    
    20 'Prefactor '    1.2455       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=   4018.078     FROM MIGRAD    STATUS=CONVERGED    405 CALLS     2041 TOTAL
                     EDM=   .17E-08  STRATEGY=1  ERROR MATRIX UNCERTAINTY=  1.9%

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  norm          6.4069        9.5929        .76759E-07   -.14310E-05
   2  Prefactor     108.36        56.080        .68127E-05    .16883E-03
   3  norm          4.1059        9.2126        .22070E-06   -.77001E-03
   4  norm          .10000E-03    1.4388       -.59603E-07** at limit **
   5  Prefactor     .10000E-03    5.4413        .16642E-06** at limit **
   6  Prefactor     2.0207        5.8135        .25662E-05   -.14629E-02
   7  norm          .10000E-03    2.2391       -.55175E-07** at limit **
   8  norm          .10000E-03    3.6531        .51507E-07** at limit **
   9  Prefactor     .10000E-03    22.146        .14543E-05** at limit **
  10  Prefactor     8.3306        6.4611        .15931E-05    .21754E-03
  11  Prefactor     53.177        59.730       -.11975E-04   -.12027E-03
  12  Prefactor     8.3469        14.696        .56921E-06    .13648E-04
  13  Prefactor     21.501        37.281       -.41925E-05   -.48486E-04
  14  Prefactor     .10000E-03    33.525       -.87758E-06** at limit **
  15  norm          6.0902        8.2580       -.33521E-05   -.21368E-03
  16  norm          2.6490        3.3682        .50336E-06    .84392E-04
  17  norm          .23821E-01    .42932       -.48722E-07    .25534E-03
  18  norm          1.1510        2.1100        .22054E-06    .16013E-03
  19  Normalizat    .65720        .26219        .15247E-06    .34086E-04
  20  Prefactor     1.2459        .18974        .55746E-06    .30876E-04
                               ERR DEF=  .500    
Final values: 
  norm       = 6.40695
  Prefactor  = 108.358
  norm       = 4.10586
  norm       = 0.0001
  Prefactor  = 0.0001
  Prefactor  = 2.02073
  norm       = 0.0001
  norm       = 0.0001
  Prefactor  = 0.000100001
  Prefactor  = 8.33057
  Prefactor  = 53.1767
  Prefactor  = 8.34692
  Prefactor  = 21.5008
  Prefactor  = 0.0001
  norm       = 6.09017
  norm       = 2.64895
  norm       = 0.0238211
  norm       = 1.15096
  Normalizat = 0.657199
  Prefactor  = 1.24595
 **********
 **   18 **HESSE 
 **********

 FCN=   4018.078     FROM HESSE     STATUS=OK           299 CALLS     2340 TOTAL
                     EDM=   .12E-07    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  norm          6.4069        9.5908        .15857E-03   -1.5202    
   2  Prefactor     108.36        56.518        .38639E-04   -1.3622    
   3  norm          4.1059        9.6189        .99466E-03   -1.5303    
   4  norm          .10000E-03    1.4446        .74250E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   5  Prefactor     .10000E-03    5.4494        .14441E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   6  Prefactor     2.0207        12.411        .14552E-02   -1.5424    
   7  norm          .10000E-03    2.2550        .92606E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   8  norm          .10000E-03    3.6649        .11831E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   9  Prefactor     .10000E-03    22.269        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  10  Prefactor     8.3306        6.4706        .13254E-03   -1.5131    
  11  Prefactor     53.177        60.177        .54995E-04   -1.4248    
  12  Prefactor     8.3469        14.687        .13876E-03   -1.5130    
  13  Prefactor     21.501        37.328        .86373E-04   -1.4780    
  14  Prefactor     .10000E-03    33.586        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  15  norm          6.0902        8.2811        .16263E-03   -1.5214    
  16  norm          2.6490        3.3601        .12716E-03   -1.5382    
  17  norm          .23821E-01    4.3306        .78951E-03   -1.5677    
  18  norm          1.1510        1.8696        .12032E-02   -1.5493    
  19  Normalizat    .65720        .29270        .34328E-03   -1.0561    
  20  Prefactor     1.2459        .21597        .19546E-03   -.84929    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 1.23269e-08
Minuit parameter uncertainties:
  1  9.59314
  2  56.5463
  3  9.62249
  4  6.21505e-06
  5  4.3475e-06
  6  10.0187
  7  6.15487e-06
  8  3.92075e-06
  9  0.000254917
  10  6.47112
  11  60.2459
  12  14.6938
  13  37.3688
  14  0.000108615
  15  8.28265
  16  3.36033
  17  0.641065
  18  1.86967
  19  0.293401
  20  0.216127
Done.

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

Extracting fit parameters...

4FGL J0920.3-0443
   Spectrum: PowerLaw
250    Prefactor:  1.000e-04  2.549e-04  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.246e+00  2.161e-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.572e-01  2.934e-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: 1.38e-07 ph cm-2 s-1
Energy Flux Upper Limit: 1.08e-02 MeV cm-2 s-1

Saving results to:
/scratch/kocevski/126689/likelihoodResults_538963201_539222401_4FGL_J0920.3-0443_daily_bin1156.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) = 4018.07868059
delta logL = -0.000213911584979

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

MINUIT Return Code (Free Index): 102
logL (Free Index) = 4018.07846914
delta logL = -2.45867113335e-06

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'Prefactor '    .10639E-03   1.0000         .10000E-03   10000.    
     2 'Index     '    3.3614       1.0000          .0000       10.000    
     3 'Normalizat'    .65719       1.0000         .10000E-01   10.000    
     4 'Prefactor '    1.2459       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.
 MIGRAD TERMINATED WITHOUT CONVERGENCE.

 FCN=   4018.078     FROM MIGRAD    STATUS=FAILED        93 CALLS      288 TOTAL
                     EDM=   .24E-07    STRATEGY= 1      ERR MATRIX NOT POS-DEF

  EXT PARAMETER                APPROXIMATE        STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor     .11268E-03    45.779        .36285E-02** at limit **
   2  Index         3.0915        6.1068        .50000        .16638E-04
   3  Normalizat    .65720        .10758E-01    .34328E-03    .65258E-04
   4  Prefactor     1.2459        .82463E-02    .19546E-03    .58857E-04
                               ERR DEF=  .500    
 START SIMPLEX MINIMIZATION.    CONVERGENCE WHEN EDM .LT.   .20E-04
 SIMPLEX MINIMIZATION HAS CONVERGED.

 FCN=   4018.078     FROM SIMPLEX   STATUS=UNCHANGED    111 CALLS      399 TOTAL
                     EDM=   .15E-04    STRATEGY= 1      ERR MATRIX NOT POS-DEF

  EXT PARAMETER                APPROXIMATE        STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor     .11268E-03    45.779        .72061E-03** at limit **
   2  Index         3.0915        6.1068        .80958E-02    .16638E-04
   3  Normalizat    .65720        .10758E-01    .32023E-04    .65258E-04
   4  Prefactor     1.2459        .82463E-02    .12630E-04    .58857E-04
                               ERR DEF=  .500    

 MIGRAD MINIMIZATION HAS CONVERGED.

 MIGRAD WILL VERIFY CONVERGENCE AND ERROR MATRIX.

 FCN=   4018.078     FROM MIGRAD    STATUS=CONVERGED     52 CALLS      451 TOTAL
                     EDM=   .82E-09    STRATEGY= 1      ERR MATRIX NOT POS-DEF

  EXT PARAMETER                APPROXIMATE        STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor     .10000E-03    360.98        .72569E-02** at limit **
   2  Index         1.9809        6.4291        .50000       -.38619E-07
   3  Normalizat    .65720        .22320E-01    .13731E-04   -.41828E-03
   4  Prefactor     1.2459        .17110E-01    .39091E-04   -.72421E-03
                               ERR DEF=  .500    
Final values: 
  Prefactor  = 0.000100001
  Index      = 1.98089
  Normalizat = 0.657197
  Prefactor  = 1.24594
 **********
 **   18 **HESSE 
 **********

 FCN=   4018.078     FROM HESSE     STATUS=NOT POSDEF    29 CALLS      480 TOTAL
                     EDM=   .45E-08    STRATEGY= 1      ERR MATRIX NOT POS-DEF

  EXT PARAMETER                APPROXIMATE     INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  Prefactor     .10000E-03    1875.1        .14514E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   2  Index         1.9809        5.9882        .50000       -.64829    
   3  Normalizat    .65720        .56324E-01    .27463E-05   -1.0561    
   4  Prefactor     1.2459        .43177E-01    .78182E-05   -.84929    
                               ERR DEF=  .500    
Minuit fit quality: 2   estimated distance: 4.4969e-09
Minuit parameter uncertainties:
  1  0.00225463
  2  2633.28
  3  0.0563288
  4  0.0431784
shell-init: error retrieving current directory: getcwd: cannot access parent directories: No such file or directory
rmdir: failed to remove `/scratch/kocevski/126689': 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) = 4018.07846623
delta logL = 4.48314949608e-07

Extracting fit parameters...

4FGL J0920.3-0443
   Spectrum: PowerLaw
250    Prefactor:  1.000e-04  2.255e-03  1.000e-04  1.000e+04 ( 1.000e-13)
251        Index:  1.981e+00  2.633e+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:  1.246e+00  4.318e-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.572e-01  5.633e-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/126689/cmap_HighResolution_538963201_539222401_4FGL_J0920.3-0443_daily_bin1156.png

Cleaning up...

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

Updating database...

UPDATE lightcurve_data_v2 SET energy_flux_upper_limit='1.08e-02', job_status='DONE', photon_flux_upper_limit='1.38e-07', time_completed='2021-08-31 06:52:36.409180', job_id='126689', GAL2='1.25', fit_tolerance='1e-08', EG2='0.66', EG='0.66', time_epoch_completed='1630417956.41', return_code2='102', ts='-0.00', comment='SUCCESS', return_code='0', GAL='1.25', dlogl='4.48e-07', ts2='-0.00', photon_index_error='0.00', photon_index='2.59' WHERE bin_id='1156' AND source_name='4FGL J0920.3-0443' AND cadence='daily';

Database successfully updated.


Analysis Complete.


Tue Aug 31 06:52:36 PDT 2021


------------------------------------------------------------
Sender: LSF System <lsf@bullet0104>
Subject: Job 126689: <4FGL_J0920.3-0443_daily_bin1156> in cluster <slac> Done

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

Your job looked like:

------------------------------------------------------------
# LSBATCH: User input
/nfs/farm/g/glast/g/LCRepository/Likelihood/Scripts/LikelihoodAnalysis.py 4FGL_J0920.3-0443_daily_bin1156 140.1 -4.7311 538963201 539222401 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 :                                   476.16 sec.
    Max Memory :                                 1093 MB
    Average Memory :                             313.85 MB
    Total Requested Memory :                     -
    Delta Memory :                               -
    Max Swap :                                   -
    Max Processes :                              5
    Max Threads :                                21
    Run time :                                   632 sec.
    Turnaround time :                            634 sec.

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

