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


Performing analysis on: 4FGL_J0920.3-0443_daily_bin278
RA = 140.1, Dec = -4.7311
tmin = 311385601, tmax = 311644801
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='121598', job_status='RUN', time_executed='2021-08-31 06:32:26.563706', time_epoch_executed='1630416746.56' WHERE source_name='4FGL J0920.3-0443' and cadence='daily' and bin_id='278'

Database successfully updated.
Done.

Creating custom output directory:
/scratch/kocevski/121598

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

Retrieving the FT1 file...

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

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

Retrieving 46 files...
Done.


Merging files...

Checksum keywords updated successfully.

Merged file saved to:
/scratch/kocevski/121598/ft1_4FGL_J0920.3-0443_daily_bin278.fits


Retrieving the FT1 file...

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

Retrieving 46 files...
Done.


Merging files...

Merged file saved to:
/scratch/kocevski/121598/ft2_4FGL_J0920.3-0443_daily_bin278.fits


Selecting the photons:
time -p gtselect infile=/scratch/kocevski/121598/ft1_4FGL_J0920.3-0443_daily_bin278.fits outfile=/scratch/kocevski/121598/ft1_filteredMKT_4FGL_J0920.3-0443_daily_bin278.fits ra=140.1 dec=-4.7311 rad=12.0 tmin=311385601.0 tmax=311644801.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.55
user 3.25
sys 0.48

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

Selecting the good time intervals:
time -p gtmktime scfile=/scratch/kocevski/121598/ft2_4FGL_J0920.3-0443_daily_bin278.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/121598/ft1_filteredMKT_4FGL_J0920.3-0443_daily_bin278.fits evtable="EVENTS" outfile="/scratch/kocevski/121598/ft1_filtered_4FGL_J0920.3-0443_daily_bin278.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.36
user 0.35
sys 0.42

Generating the livetime cube:
time -p gtltcube evfile="/scratch/kocevski/121598/ft1_filtered_4FGL_J0920.3-0443_daily_bin278.fits" evtable="EVENTS" scfile=/scratch/kocevski/121598/ft2_4FGL_J0920.3-0443_daily_bin278.fits sctable="SC_DATA" outfile=/scratch/kocevski/121598/ltcube_311385601_311644801_4FGL_J0920.3-0443_daily_bin278.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/121598/ft2_4FGL_J0920.3-0443_daily_bin278.fits
.....................!
real 15.23
user 12.95
sys 0.63

Generating the exposure map:
time -p gtexpmap evfile=/scratch/kocevski/121598/ft1_filtered_4FGL_J0920.3-0443_daily_bin278.fits evtable="EVENTS" scfile=/scratch/kocevski/121598/ft2_4FGL_J0920.3-0443_daily_bin278.fits sctable="SC_DATA" expcube=/scratch/kocevski/121598/ltcube_311385601_311644801_4FGL_J0920.3-0443_daily_bin278.fits outfile=/scratch/kocevski/121598/expmap_311385601_311644801_4FGL_J0920.3-0443_daily_bin278.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/121598/ltcube_311385601_311644801_4FGL_J0920.3-0443_daily_bin278.fits
.....................!
real 199.13
user 186.16
sys 5.13

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/121598/ft1_filtered_4FGL_J0920.3-0443_daily_bin278.fits scfile=/scratch/kocevski/121598/ft2_4FGL_J0920.3-0443_daily_bin278.fits outfile=/scratch/kocevski/121598/cmap_311385601_311644801_4FGL_J0920.3-0443_daily_bin278.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.31
user 0.37
sys 0.42

Creating the high resolution counts map:
time -p gtbin evfile=/scratch/kocevski/121598/ft1_filtered_4FGL_J0920.3-0443_daily_bin278.fits scfile=/scratch/kocevski/121598/ft2_4FGL_J0920.3-0443_daily_bin278.fits outfile=/scratch/kocevski/121598/cmap_HighResolution_311385601_311644801_4FGL_J0920.3-0443_daily_bin278.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.03
user 0.38
sys 0.43

Computing the diffuse response:
time -p gtdiffrsp evfile=/scratch/kocevski/121598/ft1_filtered_4FGL_J0920.3-0443_daily_bin278.fits evtable="EVENTS" scfile=/scratch/kocevski/121598/ft2_4FGL_J0920.3-0443_daily_bin278.fits sctable="SC_DATA" srcmdl=/scratch/kocevski/121598/Model_4FGL_J0920.3-0443_daily_bin278.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/121598/ft1_filtered_4FGL_J0920.3-0443_daily_bin278.fits.....................!
real 77.78
user 72.28
sys 1.54

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

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

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

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'norm      '    .26846       1.0000         .10000E-03   10000.    
     2 'Prefactor '    23.625       1.0000         .10000E-03   10000.    
     3 'norm      '    15.025       1.0000         .10000E-03   10000.    
     4 'norm      '    1.5738       1.0000         .10000E-03   10000.    
     5 'Prefactor '    .10683E-03   1.0000         .10000E-03   10000.    
     6 'Prefactor '    .10148E-03   1.0000         .10000E-03   10000.    
     7 'norm      '    49.638       1.0000         .10000E-03   10000.    
     8 'norm      '    14.264       1.0000         .10000E-03   10000.    
     9 'Prefactor '    15.196       1.0000         .10000E-03   10000.    
    10 'Prefactor '    .10126E-03   1.0000         .10000E-03   10000.    
    11 'Prefactor '    .15145E-02   1.0000         .10000E-03   10000.    
    12 'Prefactor '    .11211E-03   1.0000         .10000E-03   10000.    
    13 'Prefactor '    .32453E-03   1.0000         .10000E-03   10000.    
    14 'Prefactor '    .55874E-03   1.0000         .10000E-03   10000.    
    15 'norm      '    2.4419       1.0000         .10000E-03   10000.    
    16 'norm      '    2.4226       1.0000         .10000E-03   10000.    
    17 'norm      '    2.2167       1.0000         .10000E-03   10000.    
    18 'norm      '    .38863E-03   1.0000         .10000E-03   10000.    
    19 'Normalizat'    1.2684       1.0000         .10000E-01   10.000    
    20 'Prefactor '    .74003       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=   6900.106     FROM MIGRAD    STATUS=CONVERGED    436 CALLS     2062 TOTAL
                     EDM=   .44E-09  STRATEGY=1  ERROR MATRIX UNCERTAINTY=   .5%

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  norm          .61246E-01    6.5111       -.37605E-06   -.51767E-04
   2  Prefactor     23.725        27.370        .69712E-05   -.96739E-06
   3  norm          15.018        8.2107       -.27268E-06   -.18633E-04
   4  norm          1.5731        1.6198       -.10069E-07    .14744E-03
   5  Prefactor     .10000E-03    4.0501       -.12601E-07** at limit **
   6  Prefactor     .10000E-03    3.3021        .20776E-06** at limit **
   7  norm          49.639        8.4250       -.81560E-07    .65690E-04
   8  norm          14.246        7.0290        .51076E-06    .35487E-04
   9  Prefactor     15.205        15.883       -.11414E-04   -.71768E-05
  10  Prefactor     .10000E-03    1.8825        .19310E-08** at limit **
  11  Prefactor     .10000E-03    31.635       -.25023E-05** at limit **
  12  Prefactor     .10000E-03    16.040       -.32228E-06** at limit **
  13  Prefactor     .10000E-03    19.021        .98329E-05** at limit **
  14  Prefactor     .10000E-03    10.941        .17995E-05** at limit **
  15  norm          2.4225        4.8102       -.76786E-06   -.67064E-03
  16  norm          2.4063        2.9038       -.78553E-07   -.43488E-03
  17  norm          2.2160        .80718       -.25273E-07   -.14922E-03
  18  norm          .10004E-03    .93045       -.32921E-06** at limit **
  19  Normalizat    1.2686        .19901        .15639E-05   -.49334E-04
  20  Prefactor     .74027        .13910       -.28930E-06    .11089E-03
                               ERR DEF=  .500    
Final values: 
  norm       = 0.0612456
  Prefactor  = 23.7246
  norm       = 15.0184
  norm       = 1.57309
  Prefactor  = 0.0001
  Prefactor  = 0.0001
  norm       = 49.6391
  norm       = 14.246
  Prefactor  = 15.2045
  Prefactor  = 0.0001
  Prefactor  = 0.000100002
  Prefactor  = 0.0001
  Prefactor  = 0.0001
  Prefactor  = 0.0001
  norm       = 2.42247
  norm       = 2.40632
  norm       = 2.21599
  norm       = 0.000100038
  Normalizat = 1.26859
  Prefactor  = 0.740272
 **********
 **   18 **HESSE 
 **********

 FCN=   6900.106     FROM HESSE     STATUS=OK           313 CALLS     2375 TOTAL
                     EDM=   .95E-09    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  norm          .61246E-01    11.344        .68645E-01   -1.5659    
   2  Prefactor     23.725        27.351        .82412E-04   -1.4733    
   3  norm          15.018        8.2085        .10333E-03   -1.4933    
   4  norm          1.5731        1.6277        .10419E-03   -1.5457    
   5  Prefactor     .10000E-03    4.0601        .16325E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   6  Prefactor     .10000E-03    3.3154        .14739E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   7  norm          49.639        8.4629        .56919E-04   -1.4298    
   8  norm          14.246        7.0307        .10605E-03   -1.4953    
   9  Prefactor     15.205        15.891        .10275E-03   -1.4928    
  10  Prefactor     .10000E-03    1.8983        .11125E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  11  Prefactor     .10000E-03    31.694        .20463E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  12  Prefactor     .10000E-03    16.390        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  13  Prefactor     .10000E-03    19.078        .21356E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  14  Prefactor     .10000E-03    10.952        .21101E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  15  norm          2.4225        4.8246        .24873E-03   -1.5397    
  16  norm          2.4063        2.8921        .15037E-03   -1.5398    
  17  norm          2.2160        .80706        .42505E-04   -1.5410    
  18  norm          .10004E-03    .86961        .27895E-01   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  19  Normalizat    1.2686        .23588        .26840E-03   -.84509    
  20  Prefactor     .74027        .16413        .24497E-03   -1.0197    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 9.45598e-10
Minuit parameter uncertainties:
  1  1.66603
  2  27.3654
  3  8.20913
  4  1.62779
  5  3.25422e-06
  6  3.2518e-07
  7  8.46312
  8  7.0311
  9  15.8956
  10  1.8653e-06
  11  0.00044688
  12  2.67348e-05
  13  7.29987e-06
  14  5.87506e-06
  15  4.82534
  16  2.89229
  17  0.807068
  18  0.000364906
  19  0.236077
  20  0.164242
Done.

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

Extracting fit parameters...

4FGL J0920.3-0443
   Spectrum: PowerLaw
250    Prefactor:  1.520e+01  1.590e+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.403e-01  1.642e-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.269e+00  2.361e-01  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Fixed Index): 1.42
Ra Dec: 140.100 -4.731
Photon Index (Fixed Index): 2.59 +/- 0.00
Photon Flux (Fixed Index): 3.62e-08 +/- 3.78e-08
Energy Flux (Fixed Index): 9.61e-06 +/- 1.00e-05

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

Saving results to:
/scratch/kocevski/121598/likelihoodResults_311385601_311644801_4FGL_J0920.3-0443_daily_bin278.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) = 6900.08645817
delta logL = 0.0193489661096

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

MINUIT Return Code (Free Index): 0
logL (Free Index) = 6900.07056144
delta logL = 0.0352456965165

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'Prefactor '    11.832       1.0000         .10000E-03   10000.    
     2 'Index     '    2.8393       1.0000          .0000       10.000    
     3 'Normalizat'    1.2590       1.0000         .10000E-01   10.000    
     4 'Prefactor '    .74500       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.

 FCN=   6900.071     FROM MIGRAD    STATUS=CONVERGED     99 CALLS      264 TOTAL
                     EDM=   .16E-07    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor     11.822        22.449        .58230E-03   -.54276E-04
   2  Index         2.8398        1.2005        .85560E-02    .46715E-03
   3  Normalizat    1.2591        .23086        .26926E-03    .39183E-04
   4  Prefactor     .74496        .16367        .24429E-03   -.57428E-04
                               ERR DEF=  .500    
Final values: 
  Prefactor  = 11.8216
  Index      = 2.83978
  Normalizat = 1.25909
  Prefactor  = 0.74496
 **********
 **   18 **HESSE 
 **********

 FCN=   6900.071     FROM HESSE     STATUS=OK            25 CALLS      289 TOTAL
                     EDM=   .44E-10    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  Prefactor     11.822        18.780        .23292E-04   -1.5020    
   2  Index         2.8398        1.0069        .17112E-02   -.44676    
   3  Normalizat    1.2591        .23054        .10770E-04   -.84796    
   4  Prefactor     .74496        .16350        .97715E-05   -1.0179    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 4.41482e-11
Minuit parameter uncertainties:
  1  18.7891
  2  1.0155
  3  0.230728
  4  0.163611
shell-init: error retrieving current directory: getcwd: cannot access parent directories: No such file or directory
rmdir: failed to remove `/scratch/kocevski/121598': 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) = 6900.07056123
delta logL = 0.0352459085807

Extracting fit parameters...

4FGL J0920.3-0443
   Spectrum: PowerLaw
250    Prefactor:  1.182e+01  1.879e+01  1.000e-04  1.000e+04 ( 1.000e-13)
251        Index:  2.840e+00  1.016e+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:  7.450e-01  1.636e-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.259e+00  2.307e-01  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Free Index): 1.49
Ra Dec: 140.100 -4.731
Photon Index (Free Index): 2.84 +/- 1.02
Photon Flux (Free Index): 4.34e-08 +/- 4.90e-08
Energy Flux (Free Index): 9.47e-06 +/- 9.46e-06

Creating a high resolution counts map...
INFO: Auto-setting vmin to -9.398e-02 [aplpy.core]
INFO: Auto-setting vmax to  1.043e+00 [aplpy.core]
Saving /scratch/kocevski/121598/cmap_HighResolution_311385601_311644801_4FGL_J0920.3-0443_daily_bin278.png

Cleaning up...

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

Updating database...

UPDATE lightcurve_data_v2 SET energy_flux_upper_limit='9.57e-03', comment='SUCCESS', photon_flux='3.62e-08', energy_flux2='9.47e-06', photon_flux_error='3.78e-08', dlogl='3.52e-02', energy_flux='9.61e-06', photon_flux2='4.34e-08', job_status='DONE', time_completed='2021-08-31 06:42:49.528730', photon_index_error2='1.02', photon_index2='2.84', ts='1.42', fit_tolerance='1e-08', GAL='0.74', photon_index_error='0.00', photon_flux_upper_limit='1.22e-07', energy_flux_error2='9.46e-06', EG='1.27', time_epoch_completed='1630417369.53', return_code='0', job_id='121598', GAL2='0.74', EG2='1.26', return_code2='0', energy_flux_error='1.00e-05', photon_flux_error2='4.90e-08', ts2='1.49', photon_index='2.59' WHERE bin_id='278' AND source_name='4FGL J0920.3-0443' AND cadence='daily';

Database successfully updated.


Analysis Complete.


Tue Aug 31 06:42:49 PDT 2021


------------------------------------------------------------
Sender: LSF System <lsf@bullet0109>
Subject: Job 121598: <4FGL_J0920.3-0443_daily_bin278> in cluster <slac> Done

Job <4FGL_J0920.3-0443_daily_bin278> was submitted from host <rhel6-64l> by user <kocevski> in cluster <slac> at Tue Aug 31 06:26:19 2021
Job was executed on host(s) <bullet0109>, in queue <medium>, as user <kocevski> in cluster <slac> at Tue Aug 31 06:26:20 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:26:20 2021
Terminated at Tue Aug 31 06:42:50 2021
Results reported at Tue Aug 31 06:42:50 2021

Your job looked like:

------------------------------------------------------------
# LSBATCH: User input
/nfs/farm/g/glast/g/LCRepository/Likelihood/Scripts/LikelihoodAnalysis.py 4FGL_J0920.3-0443_daily_bin278 140.1 -4.7311 311385601 311644801 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 :                                   603.00 sec.
    Max Memory :                                 1256 MB
    Average Memory :                             253.58 MB
    Total Requested Memory :                     -
    Delta Memory :                               -
    Max Swap :                                   -
    Max Processes :                              5
    Max Threads :                                21
    Run time :                                   990 sec.
    Turnaround time :                            991 sec.

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

