/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 188 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 = 7470
number of fields = 27
No RA_SUN column yet. Adding RA_SUN/DEC_SUN columns.
Done.


Performing analysis on: 4FGL_J0920.3-0443_daily_bin440
RA = 140.1, Dec = -4.7311
tmin = 353376001, tmax = 353635201
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='122993', job_status='RUN', time_executed='2021-08-31 06:36:03.989334', time_epoch_executed='1630416963.99' WHERE source_name='4FGL J0920.3-0443' and cadence='daily' and bin_id='440'

Database successfully updated.
Done.

Creating custom output directory:
/scratch/kocevski/122993

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

Retrieving the FT1 file...

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

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

Retrieving 46 files...
Done.


Merging files...

Checksum keywords updated successfully.

Merged file saved to:
/scratch/kocevski/122993/ft1_4FGL_J0920.3-0443_daily_bin440.fits


Retrieving the FT1 file...

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

Retrieving 46 files...
Done.


Merging files...

Merged file saved to:
/scratch/kocevski/122993/ft2_4FGL_J0920.3-0443_daily_bin440.fits


Selecting the photons:
time -p gtselect infile=/scratch/kocevski/122993/ft1_4FGL_J0920.3-0443_daily_bin440.fits outfile=/scratch/kocevski/122993/ft1_filteredMKT_4FGL_J0920.3-0443_daily_bin440.fits ra=140.1 dec=-4.7311 rad=12.0 tmin=353376001.0 tmax=353635201.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 6.17
user 3.28
sys 1.29

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

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

Generating the livetime cube:
time -p gtltcube evfile="/scratch/kocevski/122993/ft1_filtered_4FGL_J0920.3-0443_daily_bin440.fits" evtable="EVENTS" scfile=/scratch/kocevski/122993/ft2_4FGL_J0920.3-0443_daily_bin440.fits sctable="SC_DATA" outfile=/scratch/kocevski/122993/ltcube_353376001_353635201_4FGL_J0920.3-0443_daily_bin440.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/122993/ft2_4FGL_J0920.3-0443_daily_bin440.fits
.....................!
real 13.42
user 11.59
sys 1.52

Generating the exposure map:
time -p gtexpmap evfile=/scratch/kocevski/122993/ft1_filtered_4FGL_J0920.3-0443_daily_bin440.fits evtable="EVENTS" scfile=/scratch/kocevski/122993/ft2_4FGL_J0920.3-0443_daily_bin440.fits sctable="SC_DATA" expcube=/scratch/kocevski/122993/ltcube_353376001_353635201_4FGL_J0920.3-0443_daily_bin440.fits outfile=/scratch/kocevski/122993/expmap_353376001_353635201_4FGL_J0920.3-0443_daily_bin440.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/122993/ltcube_353376001_353635201_4FGL_J0920.3-0443_daily_bin440.fits
.....................!
real 194.77
user 186.87
sys 5.77

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/122993/ft1_filtered_4FGL_J0920.3-0443_daily_bin440.fits scfile=/scratch/kocevski/122993/ft2_4FGL_J0920.3-0443_daily_bin440.fits outfile=/scratch/kocevski/122993/cmap_353376001_353635201_4FGL_J0920.3-0443_daily_bin440.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 1.67
user 0.37
sys 1.20

Creating the high resolution counts map:
time -p gtbin evfile=/scratch/kocevski/122993/ft1_filtered_4FGL_J0920.3-0443_daily_bin440.fits scfile=/scratch/kocevski/122993/ft2_4FGL_J0920.3-0443_daily_bin440.fits outfile=/scratch/kocevski/122993/cmap_HighResolution_353376001_353635201_4FGL_J0920.3-0443_daily_bin440.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 1.61
user 0.38
sys 1.20

Computing the diffuse response:
time -p gtdiffrsp evfile=/scratch/kocevski/122993/ft1_filtered_4FGL_J0920.3-0443_daily_bin440.fits evtable="EVENTS" scfile=/scratch/kocevski/122993/ft2_4FGL_J0920.3-0443_daily_bin440.fits sctable="SC_DATA" srcmdl=/scratch/kocevski/122993/Model_4FGL_J0920.3-0443_daily_bin440.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/122993/ft1_filtered_4FGL_J0920.3-0443_daily_bin440.fits.....................!
real 75.87
user 72.84
sys 2.60

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

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

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

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'norm      '    19.234       1.0000         .10000E-03   10000.    
     2 'Prefactor '    .27625E-03   1.0000         .10000E-03   10000.    
     3 'norm      '    .76038E-03   1.0000         .10000E-03   10000.    
     4 'norm      '    1.8433       1.0000         .10000E-03   10000.    
     5 'Prefactor '    7.3501       1.0000         .10000E-03   10000.    
     6 'Prefactor '    4.2915       1.0000         .10000E-03   10000.    
     7 'norm      '    11.558       1.0000         .10000E-03   10000.    
     8 'norm      '    3.8174       1.0000         .10000E-03   10000.    
     9 'Prefactor '    15.719       1.0000         .10000E-03   10000.    
    10 'Prefactor '    .10002E-03   1.0000         .10000E-03   10000.    
    11 'Prefactor '    .61731E-03   1.0000         .10000E-03   10000.    
    12 'Prefactor '    .26352E-03   1.0000         .10000E-03   10000.    
    13 'Prefactor '    .10717E-03   1.0000         .10000E-03   10000.    
    14 'Prefactor '    26.745       1.0000         .10000E-03   10000.    
    15 'norm      '    .65062       1.0000         .10000E-03   10000.    
    16 'norm      '    .12884E-03   1.0000         .10000E-03   10000.    
    17 'norm      '    .10000E-03   1.0000         .10000E-03   10000.    
    18 'norm      '    1.3991       1.0000         .10000E-03   10000.    
    19 'Normalizat'    1.0897       1.0000         .10000E-01   10.000    
    20 'Prefactor '    .76996       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=   7034.518     FROM MIGRAD    STATUS=CONVERGED    782 CALLS     2442 TOTAL
                     EDM=   .19E-07    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  norm          19.225        10.882        .91325E-04   -.17416E-03
   2  Prefactor     .10000E-03    7.4084        .21424E-02** at limit **
   3  norm          .13666E-01    5.1715        .54905E-01    .15918E-03
   4  norm          1.8414        1.7822        .10527E-03    .16006E-03
   5  Prefactor     7.3217        8.9400        .14794E-03    .16676E-04
   6  Prefactor     4.3003        5.5807        .19447E-03   -.20636E-04
   7  norm          11.536        4.5936        .10778E-03   -.36369E-03
   8  norm          3.8113        4.3979        .18251E-03    .11038E-03
   9  Prefactor     15.827        15.257        .10102E-03    .12154E-04
  10  Prefactor     .10000E-03    1.0498        .83571E-03** at limit **
  11  Prefactor     .10000E-03    38.975        .21049E-02** at limit **
  12  Prefactor     .10000E-03    6.1044        .20149E-02** at limit **
  13  Prefactor     .10000E-03    9.0477        .18142E-02** at limit **
  14  Prefactor     26.608        26.485        .77464E-04    .35223E-05
  15  norm          .66798        14.266        .27884E-02    .18028E-02
  16  norm          .10000E-03    3.5800        .19043E-02** at limit **
  17  norm          .10000E-03    .19864        .18142E-03** at limit **
  18  norm          1.3991        .98830        .67212E-04   -.20687E-03
  19  Normalizat    1.0893        .19458        .23976E-03    .12101E-03
  20  Prefactor     .77018        .14325        .20998E-03    .12907E-03
                               ERR DEF=  .500    
Final values: 
  norm       = 19.2247
  Prefactor  = 0.0001
  norm       = 0.0136659
  norm       = 1.84136
  Prefactor  = 7.32172
  Prefactor  = 4.30029
  norm       = 11.5363
  norm       = 3.81134
  Prefactor  = 15.8271
  Prefactor  = 0.0001
  Prefactor  = 0.0001
  Prefactor  = 0.0001
  Prefactor  = 0.0001
  Prefactor  = 26.6077
  norm       = 0.66798
  norm       = 0.000100001
  norm       = 0.0001
  norm       = 1.39911
  Normalizat = 1.08934
  Prefactor  = 0.770181
 **********
 **   18 **HESSE 
 **********

 FCN=   7034.518     FROM HESSE     STATUS=OK           283 CALLS     2725 TOTAL
                     EDM=   .48E-09    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  norm          19.225        10.881        .36530E-05   -1.4831    
   2  Prefactor     .10000E-03    7.4091        .42848E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   3  norm          .13666E-01    5.1170        .55334E-01   -1.5685    
   4  norm          1.8414        1.7821        .42106E-05   -1.5437    
   5  Prefactor     7.3217        8.9391        .59176E-05   -1.5167    
   6  Prefactor     4.3003        5.5802        .77790E-05   -1.5293    
   7  norm          11.536        4.5932        .43113E-05   -1.5029    
   8  norm          3.8113        4.3976        .73006E-05   -1.5317    
   9  Prefactor     15.827        15.255        .40409E-05   -1.4912    
  10  Prefactor     .10000E-03    1.0499        .16714E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  11  Prefactor     .10000E-03    38.989        .42098E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  12  Prefactor     .10000E-03    6.1061        .40297E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  13  Prefactor     .10000E-03    9.0484        .36285E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  14  Prefactor     26.608        26.281        .30985E-05   -1.4676    
  15  norm          .66798        14.013        .55768E-03   -1.5545    
  16  norm          .10000E-03    3.6099        .38085E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  17  norm          .10000E-03    .19865        .36285E-04   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  18  norm          1.3991        .98829        .26885E-05   -1.5471    
  19  Normalizat    1.0893        .19471        .95902E-05   -.90095    
  20  Prefactor     .77018        .14336        .83993E-05   -1.0084    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 4.78531e-10
Minuit parameter uncertainties:
  1  10.8823
  2  5.21877e-06
  3  0.526988
  4  1.78217
  5  8.94074
  6  5.58091
  7  4.59335
  8  4.39799
  9  15.2592
  10  2.62698e-06
  11  4.02117e-05
  12  6.03693e-05
  13  5.81939e-06
  14  26.2929
  15  6.12019
  16  0.000121817
  17  6.36716e-08
  18  0.988305
  19  0.194837
  20  0.143433
Done.

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

Extracting fit parameters...

4FGL J0920.3-0443
   Spectrum: PowerLaw
250    Prefactor:  1.583e+01  1.526e+01  1.000e-04  1.000e+04 ( 1.000e-13)
251        Index:  2.587e+00  0.000e+00  0.000e+00  1.000e+01 (-1.000e+00) fixed
252        Scale:  9.913e+02  0.000e+00  3.000e+01  5.000e+05 ( 1.000e+00) fixed

GAL_V02
   Spectrum: PowerLaw
487    Prefactor:  7.702e-01  1.434e-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.089e+00  1.948e-01  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Fixed Index): 1.72
Ra Dec: 140.100 -4.731
Photon Index (Fixed Index): 2.59 +/- 0.00
Photon Flux (Fixed Index): 3.77e-08 +/- 3.63e-08
Energy Flux (Fixed Index): 1.00e-05 +/- 9.65e-06

TS (Fixed Index): 1.72
Ra Dec: 140.100 -4.731
Photon Flux Upper Limit: 1.16e-07 ph cm-2 s-1
Energy Flux Upper Limit: 9.09e-03 MeV cm-2 s-1

Saving results to:
/scratch/kocevski/122993/likelihoodResults_353376001_353635201_4FGL_J0920.3-0443_daily_bin440.txt

Performing a free index iterative likelihood fit...

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

Done.

Freeing candidate source...
Done.

Fit tolerance = 1

Performing likelihood fit...
Done.

MINUIT Return Code (Free Index): 0
logL (Free Index) = 7034.39302041
delta logL = 0.124556865787

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

MINUIT Return Code (Free Index): 0
logL (Free Index) = 7034.38673875
delta logL = 0.130838520026

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'Prefactor '    10.183       1.0000         .10000E-03   10000.    
     2 'Index     '    3.0200       1.0000          .0000       10.000    
     3 'Normalizat'    1.0694       1.0000         .10000E-01   10.000    
     4 'Prefactor '    .77966       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.
 MACHINE ACCURACY LIMITS FURTHER IMPROVEMENT.

 MIGRAD MINIMIZATION HAS CONVERGED.

 MIGRAD WILL VERIFY CONVERGENCE AND ERROR MATRIX.
 MIGRAD TERMINATED WITHOUT CONVERGENCE.

 FCN=   7034.387     FROM MIGRAD    STATUS=FAILED       103 CALLS      306 TOTAL
                     EDM=   .22E-07    STRATEGY= 1      ERR MATRIX APPROXIMATE

  EXT PARAMETER                APPROXIMATE        STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor     10.165        20.195        .62783E-03    .87298E-04
   2  Index         3.0214        1.1840        .70554E-02    .59410E-03
   3  Normalizat    1.0697        .19667        .24166E-03    .15995E-05
   4  Prefactor     .77991        .14398        .20879E-03    .31036E-05
                               ERR DEF=  .500    
 START SIMPLEX MINIMIZATION.    CONVERGENCE WHEN EDM .LT.   .20E-04
 SIMPLEX MINIMIZATION HAS CONVERGED.

 FCN=   7034.387     FROM SIMPLEX   STATUS=UNCHANGED     70 CALLS      376 TOTAL
                     EDM=   .16E-04    STRATEGY= 1      ERR MATRIX APPROXIMATE

  EXT PARAMETER                APPROXIMATE     INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  Prefactor     10.165        20.195        .23819E-03   -1.5070    
   2  Index         3.0214        1.1840        .67751E-03   -.40686    
   3  Normalizat    1.0697        .19667        .24353E-03   -.90730    
   4  Prefactor     .77991        .14398        .19420E-03   -1.0047    
                               ERR DEF=  .500    

 MIGRAD MINIMIZATION HAS CONVERGED.

 MIGRAD WILL VERIFY CONVERGENCE AND ERROR MATRIX.

 FCN=   7034.387     FROM MIGRAD    STATUS=CONVERGED     29 CALLS      405 TOTAL
                     EDM=   .23E-10    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor     10.165        15.667        .12557E-03   -.66094E-05
   2  Index         3.0214        .92093        .14111E-02    .22445E-04
   3  Normalizat    1.0697        .19608        .96662E-05    .14113E-05
   4  Prefactor     .77991        .14362        .83518E-05    .29947E-05
                               ERR DEF=  .500    
Final values: 
  Prefactor  = 10.1651
  Index      = 3.02137
  Normalizat = 1.06972
  Prefactor  = 0.77991
 **********
 **   18 **HESSE 
 **********

 FCN=   7034.387     FROM HESSE     STATUS=OK            25 CALLS      430 TOTAL
                     EDM=   .56E-13    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  Prefactor     10.165        15.102        .50226E-05   -1.5070    
   2  Index         3.0214        .88774        .28221E-03   -.40686    
   3  Normalizat    1.0697        .19586        .19332E-05   -.90730    
   4  Prefactor     .77991        .14344        .16704E-05   -1.0047    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 5.63083e-14
Minuit parameter uncertainties:
  1  15.1072
  2  0.893366
  3  0.195995
  4  0.143504
shell-init: error retrieving current directory: getcwd: cannot access parent directories: No such file or directory
rmdir: failed to remove `/scratch/kocevski/122993': 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) = 7034.38671568
delta logL = 0.130861589964

Extracting fit parameters...

4FGL J0920.3-0443
   Spectrum: PowerLaw
250    Prefactor:  1.017e+01  1.511e+01  1.000e-04  1.000e+04 ( 1.000e-13)
251        Index:  3.021e+00  8.934e-01  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:  7.799e-01  1.435e-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.070e+00  1.960e-01  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Free Index): 2.02
Ra Dec: 140.100 -4.731
Photon Index (Free Index): 3.02 +/- 0.89
Photon Flux (Free Index): 5.15e-08 +/- 4.86e-08
Energy Flux (Free Index): 1.02e-05 +/- 8.74e-06

Creating a high resolution counts map...
INFO: Auto-setting vmin to -1.000e-01 [aplpy.core]
INFO: Auto-setting vmax to  1.110e+00 [aplpy.core]
Saving /scratch/kocevski/122993/cmap_HighResolution_353376001_353635201_4FGL_J0920.3-0443_daily_bin440.png

Cleaning up...

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

Updating database...

UPDATE lightcurve_data_v2 SET energy_flux_upper_limit='9.09e-03', comment='SUCCESS', photon_flux='3.77e-08', energy_flux2='1.02e-05', photon_flux_error='3.63e-08', dlogl='1.31e-01', energy_flux='1.00e-05', photon_flux2='5.15e-08', job_status='DONE', time_completed='2021-08-31 06:47:08.319664', photon_index_error2='0.89', photon_index2='3.02', ts='1.72', fit_tolerance='1e-08', GAL='0.77', photon_index_error='0.00', photon_flux_upper_limit='1.16e-07', energy_flux_error2='8.74e-06', EG='1.09', time_epoch_completed='1630417628.32', return_code='0', job_id='122993', GAL2='0.78', EG2='1.07', return_code2='0', energy_flux_error='9.65e-06', photon_flux_error2='4.86e-08', ts2='2.02', photon_index='2.59' WHERE bin_id='440' AND source_name='4FGL J0920.3-0443' AND cadence='daily';

Database successfully updated.


Analysis Complete.


Tue Aug 31 06:47:08 PDT 2021


------------------------------------------------------------
Sender: LSF System <lsf@bullet0216>
Subject: Job 122993: <4FGL_J0920.3-0443_daily_bin440> in cluster <slac> Done

Job <4FGL_J0920.3-0443_daily_bin440> was submitted from host <rhel6-64c> by user <kocevski> in cluster <slac> at Tue Aug 31 06:31:42 2021
Job was executed on host(s) <bullet0216>, in queue <medium>, as user <kocevski> in cluster <slac> at Tue Aug 31 06:31:44 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:31:44 2021
Terminated at Tue Aug 31 06:47:09 2021
Results reported at Tue Aug 31 06:47:09 2021

Your job looked like:

------------------------------------------------------------
# LSBATCH: User input
/nfs/farm/g/glast/g/LCRepository/Likelihood/Scripts/LikelihoodAnalysis.py 4FGL_J0920.3-0443_daily_bin440 140.1 -4.7311 353376001 353635201 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 :                                   667.00 sec.
    Max Memory :                                 1256 MB
    Average Memory :                             264.88 MB
    Total Requested Memory :                     -
    Delta Memory :                               -
    Max Swap :                                   -
    Max Processes :                              5
    Max Threads :                                21
    Run time :                                   924 sec.
    Turnaround time :                            927 sec.

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

