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


Performing analysis on: 4FGL_J0920.3-0443_daily_bin1594
RA = 140.1, Dec = -4.7311
tmin = 652492801, tmax = 652752001
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='714930', job_status='RUN', time_executed='2021-09-08 00:19:12.821818', time_epoch_executed='1631085552.82' WHERE source_name='4FGL J0920.3-0443' and cadence='daily' and bin_id='1594'

Database successfully updated.
Done.

Creating custom output directory:
/scratch/kocevski/714930

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

Retrieving the FT1 file...

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

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

Retrieving 46 files...
Done.


Merging files...

Checksum keywords updated successfully.

Merged file saved to:
/scratch/kocevski/714930/ft1_4FGL_J0920.3-0443_daily_bin1594.fits


Retrieving the FT1 file...

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

Retrieving 46 files...
Done.


Merging files...

Merged file saved to:
/scratch/kocevski/714930/ft2_4FGL_J0920.3-0443_daily_bin1594.fits


Selecting the photons:
time -p gtselect infile=/scratch/kocevski/714930/ft1_4FGL_J0920.3-0443_daily_bin1594.fits outfile=/scratch/kocevski/714930/ft1_filteredMKT_4FGL_J0920.3-0443_daily_bin1594.fits ra=140.1 dec=-4.7311 rad=12.0 tmin=652492801.0 tmax=652752001.0 emin=100.0 emax=100000.0 zmin=0.0 zmax=90.0 evclass=128 evtype="INDEF" convtype=-1 phasemin=0.0 phasemax=1.0 evtable="EVENTS" chatter=2 clobber=yes debug=no gui=no mode="ql"

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

Done.
real 4.57
user 4.31
sys 0.23

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

Selecting the good time intervals:
time -p gtmktime scfile=/scratch/kocevski/714930/ft2_4FGL_J0920.3-0443_daily_bin1594.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/714930/ft1_filteredMKT_4FGL_J0920.3-0443_daily_bin1594.fits evtable="EVENTS" outfile="/scratch/kocevski/714930/ft1_filtered_4FGL_J0920.3-0443_daily_bin1594.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.54
user 0.36
sys 0.15

Generating the livetime cube:
time -p gtltcube evfile="/scratch/kocevski/714930/ft1_filtered_4FGL_J0920.3-0443_daily_bin1594.fits" evtable="EVENTS" scfile=/scratch/kocevski/714930/ft2_4FGL_J0920.3-0443_daily_bin1594.fits sctable="SC_DATA" outfile=/scratch/kocevski/714930/ltcube_652492801_652752001_4FGL_J0920.3-0443_daily_bin1594.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/714930/ft2_4FGL_J0920.3-0443_daily_bin1594.fits
.....................!
real 15.88
user 15.50
sys 0.33

Generating the exposure map:
time -p gtexpmap evfile=/scratch/kocevski/714930/ft1_filtered_4FGL_J0920.3-0443_daily_bin1594.fits evtable="EVENTS" scfile=/scratch/kocevski/714930/ft2_4FGL_J0920.3-0443_daily_bin1594.fits sctable="SC_DATA" expcube=/scratch/kocevski/714930/ltcube_652492801_652752001_4FGL_J0920.3-0443_daily_bin1594.fits outfile=/scratch/kocevski/714930/expmap_652492801_652752001_4FGL_J0920.3-0443_daily_bin1594.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/714930/ltcube_652492801_652752001_4FGL_J0920.3-0443_daily_bin1594.fits
.....................!
real 191.92
user 186.32
sys 5.04

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/714930/ft1_filtered_4FGL_J0920.3-0443_daily_bin1594.fits scfile=/scratch/kocevski/714930/ft2_4FGL_J0920.3-0443_daily_bin1594.fits outfile=/scratch/kocevski/714930/cmap_652492801_652752001_4FGL_J0920.3-0443_daily_bin1594.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.56
user 0.40
sys 0.14

Creating the high resolution counts map:
time -p gtbin evfile=/scratch/kocevski/714930/ft1_filtered_4FGL_J0920.3-0443_daily_bin1594.fits scfile=/scratch/kocevski/714930/ft2_4FGL_J0920.3-0443_daily_bin1594.fits outfile=/scratch/kocevski/714930/cmap_HighResolution_652492801_652752001_4FGL_J0920.3-0443_daily_bin1594.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.58
user 0.40
sys 0.16

Computing the diffuse response:
time -p gtdiffrsp evfile=/scratch/kocevski/714930/ft1_filtered_4FGL_J0920.3-0443_daily_bin1594.fits evtable="EVENTS" scfile=/scratch/kocevski/714930/ft2_4FGL_J0920.3-0443_daily_bin1594.fits sctable="SC_DATA" srcmdl=/scratch/kocevski/714930/Model_4FGL_J0920.3-0443_daily_bin1594.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/714930/ft1_filtered_4FGL_J0920.3-0443_daily_bin1594.fits.....................!
real 59.10
user 57.66
sys 1.25

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

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

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

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'norm      '    14.257       1.0000         .10000E-03   10000.    
     2 'Prefactor '    .10000E-03   1.0000         .10000E-03   10000.    
     3 'norm      '    11.442       1.0000         .10000E-03   10000.    
     4 'norm      '    2.8314       1.0000         .10000E-03   10000.    
     5 'Prefactor '    .10000E-03   1.0000         .10000E-03   10000.    
     6 'Prefactor '    .10000E-03   1.0000         .10000E-03   10000.    
     7 'norm      '    4.7218       1.0000         .10000E-03   10000.    
     8 'norm      '    .10002E-03   1.0000         .10000E-03   10000.    
     9 'Prefactor '    .10036E-03   1.0000         .10000E-03   10000.    
    10 'Prefactor '    2.2425       1.0000         .10000E-03   10000.    
    11 'Prefactor '    124.50       1.0000         .10000E-03   10000.    
    12 'Prefactor '    .10000E-03   1.0000         .10000E-03   10000.    
    13 'Prefactor '    .10004E-03   1.0000         .10000E-03   10000.    
    14 'Prefactor '    29.697       1.0000         .10000E-03   10000.    
    15 'norm      '    16.792       1.0000         .10000E-03   10000.    
    16 'norm      '    .10002E-03   1.0000         .10000E-03   10000.    
    17 'norm      '    .10018E-03   1.0000         .10000E-03   10000.    
    18 'norm      '    .10134E-03   1.0000         .10000E-03   10000.    
    19 'Normalizat'    1.0562       1.0000         .10000E-01   10.000    
    20 'Prefactor '    .85941       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=   5248.961     FROM MIGRAD    STATUS=CONVERGED    418 CALLS     2049 TOTAL
                     EDM=   .37E-09  STRATEGY=1  ERROR MATRIX UNCERTAINTY=   .8%

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  norm          14.256        9.7942        .58611E-08   -.94006E-05
   2  Prefactor     .10000E-03    29.707       -.20777E-06** at limit **
   3  norm          11.441        9.2848       -.60900E-06   -.72435E-03
   4  norm          2.8315        2.4674        .40497E-07    .56904E-04
   5  Prefactor     .10000E-03    4.9319       -.32408E-07** at limit **
   6  Prefactor     .10000E-03    2.9644        .25597E-08** at limit **
   7  norm          4.7218        4.2156       -.63744E-07   -.21959E-03
   8  norm          .10000E-03    7.5467        .77809E-07** at limit **
   9  Prefactor     .10000E-03    16.771        .33113E-05** at limit **
  10  Prefactor     2.2425        4.1140       -.46024E-06   -.56034E-03
  11  Prefactor     124.49        60.884       -.44373E-05   -.23306E-04
  12  Prefactor     .10000E-03    4.0796        .55344E-07** at limit **
  13  Prefactor     .10000E-03    16.380       -.29341E-05** at limit **
  14  Prefactor     29.712        71.230        .25735E-04    .16192E-05
  15  norm          16.788        16.375       -.56982E-05   -.33164E-04
  16  norm          .10000E-03    3.4943        .35069E-07** at limit **
  17  norm          .10000E-03    .49778        .24043E-07** at limit **
  18  norm          .10000E-03    1.1385        .40471E-07** at limit **
  19  Normalizat    1.0561        .21383        .15004E-05   -.84748E-04
  20  Prefactor     .85943        .15152       -.56005E-06    .38905E-04
                               ERR DEF=  .500    
Final values: 
  norm       = 14.2562
  Prefactor  = 0.0001
  norm       = 11.4413
  norm       = 2.83149
  Prefactor  = 0.0001
  Prefactor  = 0.0001
  norm       = 4.72183
  norm       = 0.0001
  Prefactor  = 0.0001
  Prefactor  = 2.24252
  Prefactor  = 124.492
  Prefactor  = 0.0001
  Prefactor  = 0.0001
  Prefactor  = 29.7117
  norm       = 16.7881
  norm       = 0.0001
  norm       = 0.0001
  norm       = 0.0001
  Normalizat = 1.05615
  Prefactor  = 0.859428
 **********
 **   18 **HESSE 
 **********

 FCN=   5248.961     FROM HESSE     STATUS=OK           293 CALLS     2342 TOTAL
                     EDM=   .75E-09    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  norm          14.256        9.7946        .10608E-03   -1.4953    
   2  Prefactor     .10000E-03    29.971        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   3  norm          11.441        9.3911        .59218E-03   -1.5031    
   4  norm          2.8315        2.4705        .10196E-03   -1.5371    
   5  Prefactor     .10000E-03    4.9396        .15711E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   6  Prefactor     .10000E-03    2.9738        .12181E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   7  norm          4.7218        4.2139        .13464E-03   -1.5273    
   8  norm          .10000E-03    7.7885        .36285E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   9  Prefactor     .10000E-03    16.871        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  10  Prefactor     2.2425        4.1262        .19072E-03   -1.5408    
  11  Prefactor     124.49        61.252        .36075E-04   -1.3472    
  12  Prefactor     .10000E-03    4.0814        .14291E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  13  Prefactor     .10000E-03    16.371        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  14  Prefactor     29.712        70.418        .73521E-04   -1.4617    
  15  norm          16.788        16.348        .97739E-04   -1.4888    
  16  norm          .10000E-03    3.5506        .13218E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  17  norm          .10000E-03    1.0865        .98191E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  18  norm          .10000E-03    1.8791        .15025E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  19  Normalizat    1.0561        .25633        .27023E-03   -.91172    
  20  Prefactor     .85943        .18171        .21506E-03   -.97574    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 7.53149e-10
Minuit parameter uncertainties:
  1  9.79568
  2  6.31712e-06
  3  9.39226
  4  2.47057
  5  4.51307e-07
  6  1.88752e-08
  7  4.21418
  8  8.05339e-06
  9  9.12073e-05
  10  4.12672
  11  61.2831
  12  3.12167e-06
  13  1.22112e-05
  14  70.6163
  15  16.3526
  16  8.93277e-06
  17  2.15191e-06
  18  4.70967e-06
  19  0.256635
  20  0.18184
Done.

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

Extracting fit parameters...

4FGL J0920.3-0443
   Spectrum: PowerLaw
250    Prefactor:  1.000e-04  9.121e-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:  8.594e-01  1.818e-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.056e+00  2.566e-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.11e-07 ph cm-2 s-1
Energy Flux Upper Limit: 8.67e-03 MeV cm-2 s-1

Saving results to:
/scratch/kocevski/714930/likelihoodResults_652492801_652752001_4FGL_J0920.3-0443_daily_bin1594.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) = 5248.96087234
delta logL = -0.000282446497295

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

MINUIT Return Code (Free Index): 102
logL (Free Index) = 5248.96059008
delta logL = -1.807238732e-07

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'Prefactor '    .10000E-03   1.0000         .10000E-03   10000.    
     2 'Index     '    2.6922       1.0000          .0000       10.000    
     3 'Normalizat'    1.0562       1.0000         .10000E-01   10.000    
     4 'Prefactor '    .85943       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=   5248.961     FROM MIGRAD    STATUS=CONVERGED     54 CALLS      237 TOTAL
                     EDM=   .94E-08    STRATEGY= 1      ERR MATRIX NOT POS-DEF

  EXT PARAMETER                APPROXIMATE        STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor     .10000E-03    6244.7        .90712E-02** at limit **
   2  Index         2.6793        5.9889        .50000        .74389E-05
   3  Normalizat    1.0562        .94770E-01    .61100E-01    .18398E-04
   4  Prefactor     .85943        .68441E-01    .44486E-01    .15827E-04
                               ERR DEF=  .500    
Final values: 
  Prefactor  = 0.0001
  Index      = 2.67928
  Normalizat = 1.05615
  Prefactor  = 0.859426
 **********
 **   18 **HESSE 
 **********

 FCN=   5248.961     FROM HESSE     STATUS=OK            33 CALLS      270 TOTAL
                     EDM=   .11E-09    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  Prefactor     .10000E-03    32.075        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   2  Index         2.6793        6.2036        .50000       -.48267    
   3  Normalizat    1.0562        .24532        .27023E-03   -.91172    
   4  Prefactor     .85943        .17911        .21506E-03   -.97574    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 1.12938e-10
Minuit parameter uncertainties:
  1  2.87889e-06
  2  6.2868
  3  0.245584
  4  0.179236
shell-init: error retrieving current directory: getcwd: cannot access parent directories: No such file or directory
rmdir: failed to remove `/scratch/kocevski/714930': No such file or directory
shell-init: error retrieving current directory: getcwd: cannot access parent directories: No such file or directory
Done.

MINUIT Return Code (Free Index): 0
logL (Free Index) = 5248.96059005
delta logL = -1.55502675625e-07

Extracting fit parameters...

4FGL J0920.3-0443
   Spectrum: PowerLaw
250    Prefactor:  1.000e-04  2.879e-06  1.000e-04  1.000e+04 ( 1.000e-13)
251        Index:  2.679e+00  6.287e+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:  8.594e-01  1.792e-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.056e+00  2.456e-01  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/714930/cmap_HighResolution_652492801_652752001_4FGL_J0920.3-0443_daily_bin1594.png

Cleaning up...

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

Updating database...

UPDATE lightcurve_data_v2 SET energy_flux_upper_limit='8.67e-03', job_status='DONE', photon_flux_upper_limit='1.11e-07', time_completed='2021-09-08 00:27:55.679521', job_id='714930', GAL2='0.86', fit_tolerance='1e-08', EG2='1.06', EG='1.06', time_epoch_completed='1631086075.68', return_code2='0', ts='-0.00', comment='SUCCESS', return_code='0', GAL='0.86', dlogl='-1.56e-07', ts2='-0.00', photon_index_error='0.00', photon_index='2.59' WHERE bin_id='1594' AND source_name='4FGL J0920.3-0443' AND cadence='daily';

Database successfully updated.


Analysis Complete.


Wed Sep  8 00:27:55 PDT 2021


------------------------------------------------------------
Sender: LSF System <lsf@bullet0105>
Subject: Job 714930: <4FGL_J0920.3-0443_daily_bin1594> in cluster <slac> Done

Job <4FGL_J0920.3-0443_daily_bin1594> was submitted from host <rhel6-64p> by user <kocevski> in cluster <slac> at Wed Sep  8 00:15:20 2021
Job was executed on host(s) <bullet0105>, in queue <medium>, as user <kocevski> in cluster <slac> at Wed Sep  8 00:15:38 2021
</u/ki/kocevski> was used as the home directory.
</u/ki/kocevski> was used as the working directory.
Started at Wed Sep  8 00:15:38 2021
Terminated at Wed Sep  8 00:27:56 2021
Results reported at Wed Sep  8 00:27:56 2021

Your job looked like:

------------------------------------------------------------
# LSBATCH: User input
/nfs/farm/g/glast/g/LCRepository/Likelihood/Scripts/LikelihoodAnalysis.py 4FGL_J0920.3-0443_daily_bin1594 140.1 -4.7311 652492801 652752001 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 :                                   525.43 sec.
    Max Memory :                                 1255 MB
    Average Memory :                             272.12 MB
    Total Requested Memory :                     -
    Delta Memory :                               -
    Max Swap :                                   -
    Max Processes :                              5
    Max Threads :                                21
    Run time :                                   737 sec.
    Turnaround time :                            756 sec.

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

