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


Performing analysis on: 4FGL_J0920.3-0443_daily_bin829
RA = 140.1, Dec = -4.7311
tmin = 454204801, tmax = 454464001
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='124665', job_status='RUN', time_executed='2021-08-31 06:39:27.119568', time_epoch_executed='1630417167.12' WHERE source_name='4FGL J0920.3-0443' and cadence='daily' and bin_id='829'

Database successfully updated.
Done.

Creating custom output directory:
/scratch/kocevski/124665

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

Retrieving the FT1 file...

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

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

Retrieving 46 files...
Done.


Merging files...

Checksum keywords updated successfully.

Merged file saved to:
/scratch/kocevski/124665/ft1_4FGL_J0920.3-0443_daily_bin829.fits


Retrieving the FT1 file...

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

Retrieving 46 files...
Done.


Merging files...

Merged file saved to:
/scratch/kocevski/124665/ft2_4FGL_J0920.3-0443_daily_bin829.fits


Selecting the photons:
time -p gtselect infile=/scratch/kocevski/124665/ft1_4FGL_J0920.3-0443_daily_bin829.fits outfile=/scratch/kocevski/124665/ft1_filteredMKT_4FGL_J0920.3-0443_daily_bin829.fits ra=140.1 dec=-4.7311 rad=12.0 tmin=454204801.0 tmax=454464001.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.83
user 3.36
sys 1.36

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

Selecting the good time intervals:
time -p gtmktime scfile=/scratch/kocevski/124665/ft2_4FGL_J0920.3-0443_daily_bin829.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/124665/ft1_filteredMKT_4FGL_J0920.3-0443_daily_bin829.fits evtable="EVENTS" outfile="/scratch/kocevski/124665/ft1_filtered_4FGL_J0920.3-0443_daily_bin829.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 1.66
user 0.32
sys 1.29

Generating the livetime cube:
time -p gtltcube evfile="/scratch/kocevski/124665/ft1_filtered_4FGL_J0920.3-0443_daily_bin829.fits" evtable="EVENTS" scfile=/scratch/kocevski/124665/ft2_4FGL_J0920.3-0443_daily_bin829.fits sctable="SC_DATA" outfile=/scratch/kocevski/124665/ltcube_454204801_454464001_4FGL_J0920.3-0443_daily_bin829.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/124665/ft2_4FGL_J0920.3-0443_daily_bin829.fits
.....................!
real 13.18
user 11.44
sys 1.60

Generating the exposure map:
time -p gtexpmap evfile=/scratch/kocevski/124665/ft1_filtered_4FGL_J0920.3-0443_daily_bin829.fits evtable="EVENTS" scfile=/scratch/kocevski/124665/ft2_4FGL_J0920.3-0443_daily_bin829.fits sctable="SC_DATA" expcube=/scratch/kocevski/124665/ltcube_454204801_454464001_4FGL_J0920.3-0443_daily_bin829.fits outfile=/scratch/kocevski/124665/expmap_454204801_454464001_4FGL_J0920.3-0443_daily_bin829.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/124665/ltcube_454204801_454464001_4FGL_J0920.3-0443_daily_bin829.fits
.....................!
real 191.94
user 185.55
sys 5.67

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/124665/ft1_filtered_4FGL_J0920.3-0443_daily_bin829.fits scfile=/scratch/kocevski/124665/ft2_4FGL_J0920.3-0443_daily_bin829.fits outfile=/scratch/kocevski/124665/cmap_454204801_454464001_4FGL_J0920.3-0443_daily_bin829.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.68
user 0.36
sys 1.27

Creating the high resolution counts map:
time -p gtbin evfile=/scratch/kocevski/124665/ft1_filtered_4FGL_J0920.3-0443_daily_bin829.fits scfile=/scratch/kocevski/124665/ft2_4FGL_J0920.3-0443_daily_bin829.fits outfile=/scratch/kocevski/124665/cmap_HighResolution_454204801_454464001_4FGL_J0920.3-0443_daily_bin829.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.75
user 0.40
sys 1.26

Computing the diffuse response:
time -p gtdiffrsp evfile=/scratch/kocevski/124665/ft1_filtered_4FGL_J0920.3-0443_daily_bin829.fits evtable="EVENTS" scfile=/scratch/kocevski/124665/ft2_4FGL_J0920.3-0443_daily_bin829.fits sctable="SC_DATA" srcmdl=/scratch/kocevski/124665/Model_4FGL_J0920.3-0443_daily_bin829.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/124665/ft1_filtered_4FGL_J0920.3-0443_daily_bin829.fits.....................!
real 70.61
user 67.14
sys 2.69

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

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

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

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'norm      '    2.3611       1.0000         .10000E-03   10000.    
     2 'Prefactor '    20.808       1.0000         .10000E-03   10000.    
     3 'norm      '    .10000E-03   1.0000         .10000E-03   10000.    
     4 'norm      '    1.3907       1.0000         .10000E-03   10000.    
     5 'Prefactor '    6.1549       1.0000         .10000E-03   10000.    
     6 'Prefactor '    .10039E-03   1.0000         .10000E-03   10000.    
     7 'norm      '    10.717       1.0000         .10000E-03   10000.    
     8 'norm      '    .57876       1.0000         .10000E-03   10000.    
     9 'Prefactor '    12.071       1.0000         .10000E-03   10000.    
    10 'Prefactor '    .80590       1.0000         .10000E-03   10000.    
    11 'Prefactor '    9.6740       1.0000         .10000E-03   10000.    
    12 'Prefactor '    13.709       1.0000         .10000E-03   10000.    
    13 'Prefactor '    10.152       1.0000         .10000E-03   10000.    
    14 'Prefactor '    .10061E-03   1.0000         .10000E-03   10000.    
    15 'norm      '    6.3937       1.0000         .10000E-03   10000.    
    16 'norm      '    6.5282       1.0000         .10000E-03   10000.    
    17 'norm      '    1.4643       1.0000         .10000E-03   10000.    
    18 'norm      '    4.2135       1.0000         .10000E-03   10000.    
    19 'Normalizat'    .76614       1.0000         .10000E-01   10.000    
    20 'Prefactor '    1.0087       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=   6768.717     FROM MIGRAD    STATUS=CONVERGED    439 CALLS     2089 TOTAL
                     EDM=   .31E-09  STRATEGY=1  ERROR MATRIX UNCERTAINTY=  2.7%

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  norm          2.3604        7.8247        .12482E-05   -.94896E-05
   2  Prefactor     20.796        21.265        .11656E-05    .13815E-03
   3  norm          .10000E-03    7.7578       -.14968E-06** at limit **
   4  norm          1.3902        2.6198       -.25624E-06   -.25666E-03
   5  Prefactor     6.1509        11.233        .46163E-05   -.25940E-03
   6  Prefactor     .10000E-03    5.8513        .79548E-07** at limit **
   7  norm          10.714        5.4203        .23104E-06    .72639E-04
   8  norm          .54665        2.7762       -.27956E-06    .22155E-03
   9  Prefactor     12.067        18.717        .13884E-05    .12078E-03
  10  Prefactor     .80698        3.0709        .15780E-05   -.11376E-03
  11  Prefactor     9.5630        37.968       -.24522E-05   -.76574E-04
  12  Prefactor     13.703        12.878       -.10221E-05   -.35545E-03
  13  Prefactor     10.127        25.812        .33200E-05    .12387E-03
  14  Prefactor     .10000E-03    17.369        .92626E-07** at limit **
  15  norm          6.3928        5.8736        .26093E-06    .13781E-04
  16  norm          6.5275        4.0707        .11564E-06   -.41350E-04
  17  norm          1.4641        .62523        .59584E-07   -.34286E-04
  18  norm          4.2132        1.9331        .43911E-07   -.30205E-04
  19  Normalizat    .76648        .18991       -.16759E-05   -.27609E-04
  20  Prefactor     1.0085        .13500       -.39412E-06   -.75702E-04
                               ERR DEF=  .500    
Final values: 
  norm       = 2.36042
  Prefactor  = 20.7958
  norm       = 0.0001
  norm       = 1.39023
  Prefactor  = 6.15086
  Prefactor  = 0.0001
  norm       = 10.7136
  norm       = 0.546652
  Prefactor  = 12.0666
  Prefactor  = 0.806982
  Prefactor  = 9.56296
  Prefactor  = 13.7033
  Prefactor  = 10.1275
  Prefactor  = 0.0001
  norm       = 6.39281
  norm       = 6.52745
  norm       = 1.46407
  norm       = 4.21325
  Normalizat = 0.766484
  Prefactor  = 1.00852
 **********
 **   18 **HESSE 
 **********

 FCN=   6768.717     FROM HESSE     STATUS=OK           305 CALLS     2394 TOTAL
                     EDM=   .95E-09    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  norm          2.3604        7.8161        .26670E-03   -1.5401    
   2  Prefactor     20.796        21.404        .87807E-04   -1.4796    
   3  norm          .10000E-03    7.8853        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   4  norm          1.3902        2.5731        .16795E-03   -1.5472    
   5  Prefactor     6.1509        11.382        .80911E-03   -1.5212    
   6  Prefactor     .10000E-03    6.0217        .36285E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   7  norm          10.714        5.4099        .12239E-03   -1.5053    
   8  norm          .54665        9.1829        .25878E-02   -1.5560    
   9  Prefactor     12.067        18.796        .11530E-03   -1.5013    
  10  Prefactor     .80698        3.0962        .26702E-03   -1.5528    
  11  Prefactor     9.5630        38.685        .12884E-03   -1.5089    
  12  Prefactor     13.703        13.116        .10818E-03   -1.4967    
  13  Prefactor     10.127        26.122        .12576E-03   -1.5071    
  14  Prefactor     .10000E-03    17.403        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  15  norm          6.3928        5.8717        .15873E-03   -1.5202    
  16  norm          6.5275        4.0677        .12502E-03   -1.5197    
  17  norm          1.4641        .62146        .40216E-04   -1.5466    
  18  norm          4.2132        1.9329        .74635E-04   -1.5297    
  19  Normalizat    .76648        .22372        .29445E-03   -1.0132    
  20  Prefactor     1.0085        .16031        .19871E-03   -.92446    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 9.50735e-10
Minuit parameter uncertainties:
  1  7.81946
  2  21.4115
  3  3.68114e-05
  4  2.57333
  5  11.3857
  6  6.41709e-07
  7  5.41018
  8  4.4814
  9  18.8049
  10  3.09686
  11  38.5111
  12  13.1185
  13  26.1511
  14  2.38372e-06
  15  5.87226
  16  4.06787
  17  0.62146
  18  1.93295
  19  0.223983
  20  0.160387
Done.

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

Extracting fit parameters...

4FGL J0920.3-0443
   Spectrum: PowerLaw
250    Prefactor:  1.207e+01  1.880e+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:  1.009e+00  1.604e-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:  7.665e-01  2.240e-01  1.000e-02  1.000e+01 ( 1.000e+00)


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

Saving results to:
/scratch/kocevski/124665/likelihoodResults_454204801_454464001_4FGL_J0920.3-0443_daily_bin829.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) = 6768.69493444
delta logL = 0.0220805531826

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

MINUIT Return Code (Free Index): 0
logL (Free Index) = 6768.67999697
delta logL = 0.0370180185018

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'Prefactor '    8.7768       1.0000         .10000E-03   10000.    
     2 'Index     '    2.8724       1.0000          .0000       10.000    
     3 'Normalizat'    .75774       1.0000         .10000E-01   10.000    
     4 'Prefactor '    1.0133       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=   6768.680     FROM MIGRAD    STATUS=CONVERGED     83 CALLS      247 TOTAL
                     EDM=   .49E-09    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor     8.7788        23.253        .13530E-03    .20385E-03
   2  Index         2.8724        1.3912        .89564E-02    .79642E-04
   3  Normalizat    .75775        .21322        .29603E-03    .53150E-03
   4  Prefactor     1.0133        .16065        .19829E-03    .70047E-03
                               ERR DEF=  .500    
Final values: 
  Prefactor  = 8.77882
  Index      = 2.87242
  Normalizat = 0.757754
  Prefactor  = 1.01328
 **********
 **   18 **HESSE 
 **********

 FCN=   6768.680     FROM HESSE     STATUS=OK            25 CALLS      272 TOTAL
                     EDM=   .40E-09    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  Prefactor     8.7788        18.430        .54119E-05   -1.5115    
   2  Index         2.8724        1.1068        .35826E-03   -.43953    
   3  Normalizat    .75775        .21326        .59206E-04   -1.0166    
   4  Prefactor     1.0133        .16048        .39659E-04   -.92288    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 4.02767e-10
Minuit parameter uncertainties:
  1  18.4419
  2  1.11814
  3  0.213494
  4  0.160556
shell-init: error retrieving current directory: getcwd: cannot access parent directories: No such file or directory
rmdir: failed to remove `/scratch/kocevski/124665': 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) = 6768.67999695
delta logL = 0.0370180405189

Extracting fit parameters...

4FGL J0920.3-0443
   Spectrum: PowerLaw
250    Prefactor:  8.779e+00  1.844e+01  1.000e-04  1.000e+04 ( 1.000e-13)
251        Index:  2.872e+00  1.118e+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:  1.013e+00  1.606e-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:  7.578e-01  2.135e-01  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Free Index): 0.58
Ra Dec: 140.100 -4.731

Creating a high resolution counts map...
INFO: Auto-setting vmin to -2.500e-04 [aplpy.core]
INFO: Auto-setting vmax to  2.775e-03 [aplpy.core]
Saving /scratch/kocevski/124665/cmap_HighResolution_454204801_454464001_4FGL_J0920.3-0443_daily_bin829.png

Cleaning up...

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

Updating database...

UPDATE lightcurve_data_v2 SET energy_flux_upper_limit='9.02e-03', job_status='DONE', photon_flux_upper_limit='1.15e-07', time_completed='2021-08-31 06:49:32.566622', job_id='124665', GAL2='1.01', fit_tolerance='1e-08', EG2='0.76', EG='0.77', time_epoch_completed='1630417772.57', return_code2='0', ts='0.58', comment='SUCCESS', return_code='0', GAL='1.01', dlogl='3.70e-02', ts2='0.66', photon_index_error='0.00', photon_index='2.59' WHERE bin_id='829' AND source_name='4FGL J0920.3-0443' AND cadence='daily';

Database successfully updated.


Analysis Complete.


Tue Aug 31 06:49:32 PDT 2021


------------------------------------------------------------
Sender: LSF System <lsf@bullet0255>
Subject: Job 124665: <4FGL_J0920.3-0443_daily_bin829> in cluster <slac> Done

Job <4FGL_J0920.3-0443_daily_bin829> was submitted from host <rhel6-64m> by user <kocevski> in cluster <slac> at Tue Aug 31 06:36:35 2021
Job was executed on host(s) <bullet0255>, in queue <medium>, as user <kocevski> in cluster <slac> at Tue Aug 31 06:36:37 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:36:37 2021
Terminated at Tue Aug 31 06:49:33 2021
Results reported at Tue Aug 31 06:49:33 2021

Your job looked like:

------------------------------------------------------------
# LSBATCH: User input
/nfs/farm/g/glast/g/LCRepository/Likelihood/Scripts/LikelihoodAnalysis.py 4FGL_J0920.3-0443_daily_bin829 140.1 -4.7311 454204801 454464001 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 :                                   616.00 sec.
    Max Memory :                                 1093 MB
    Average Memory :                             290.80 MB
    Total Requested Memory :                     -
    Delta Memory :                               -
    Max Swap :                                   -
    Max Processes :                              5
    Max Threads :                                21
    Run time :                                   776 sec.
    Turnaround time :                            778 sec.

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

