/nfs/farm/g/glast/g/LCRepository/bin/miniconda2/envs/fermitools_v1.0.5/lib/python2.7/site-packages/matplotlib/font_manager.py:281: UserWarning: Matplotlib is building the font cache using fc-list. This may take a moment.
  'Matplotlib is building the font cache using fc-list. '
/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 88 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 = 7520
number of fields = 30
RA_SUN column already exists. File will not be modified.
Done.


Performing analysis on: 4FGL_J0920.3-0443_daily_bin1401
RA = 140.1, Dec = -4.7311
tmin = 602467201, tmax = 602726401
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='128065', job_status='RUN', time_executed='2021-08-31 06:50:28.353852', time_epoch_executed='1630417828.35' WHERE source_name='4FGL J0920.3-0443' and cadence='daily' and bin_id='1401'

Database successfully updated.
Done.

Creating custom output directory:
/scratch/kocevski/128065

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

Retrieving the FT1 file...

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

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

Retrieving 48 files...
Done.


Merging files...

Checksum keywords updated successfully.

Merged file saved to:
/scratch/kocevski/128065/ft1_4FGL_J0920.3-0443_daily_bin1401.fits


Retrieving the FT1 file...

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

Retrieving 48 files...
Done.


Merging files...

Merged file saved to:
/scratch/kocevski/128065/ft2_4FGL_J0920.3-0443_daily_bin1401.fits


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

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

Done.
real 5.80
user 2.94
sys 2.47

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

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

Generating the livetime cube:
time -p gtltcube evfile="/scratch/kocevski/128065/ft1_filtered_4FGL_J0920.3-0443_daily_bin1401.fits" evtable="EVENTS" scfile=/scratch/kocevski/128065/ft2_4FGL_J0920.3-0443_daily_bin1401.fits sctable="SC_DATA" outfile=/scratch/kocevski/128065/ltcube_602467201_602726401_4FGL_J0920.3-0443_daily_bin1401.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/128065/ft2_4FGL_J0920.3-0443_daily_bin1401.fits
.....................!
real 16.76
user 12.49
sys 2.83

Generating the exposure map:
time -p gtexpmap evfile=/scratch/kocevski/128065/ft1_filtered_4FGL_J0920.3-0443_daily_bin1401.fits evtable="EVENTS" scfile=/scratch/kocevski/128065/ft2_4FGL_J0920.3-0443_daily_bin1401.fits sctable="SC_DATA" expcube=/scratch/kocevski/128065/ltcube_602467201_602726401_4FGL_J0920.3-0443_daily_bin1401.fits outfile=/scratch/kocevski/128065/expmap_602467201_602726401_4FGL_J0920.3-0443_daily_bin1401.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/128065/ltcube_602467201_602726401_4FGL_J0920.3-0443_daily_bin1401.fits
.....................!
real 194.70
user 185.28
sys 7.22

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/128065/ft1_filtered_4FGL_J0920.3-0443_daily_bin1401.fits scfile=/scratch/kocevski/128065/ft2_4FGL_J0920.3-0443_daily_bin1401.fits outfile=/scratch/kocevski/128065/cmap_602467201_602726401_4FGL_J0920.3-0443_daily_bin1401.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 2.87
user 0.38
sys 2.35

Creating the high resolution counts map:
time -p gtbin evfile=/scratch/kocevski/128065/ft1_filtered_4FGL_J0920.3-0443_daily_bin1401.fits scfile=/scratch/kocevski/128065/ft2_4FGL_J0920.3-0443_daily_bin1401.fits outfile=/scratch/kocevski/128065/cmap_HighResolution_602467201_602726401_4FGL_J0920.3-0443_daily_bin1401.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 2.91
user 0.38
sys 2.35

Computing the diffuse response:
time -p gtdiffrsp evfile=/scratch/kocevski/128065/ft1_filtered_4FGL_J0920.3-0443_daily_bin1401.fits evtable="EVENTS" scfile=/scratch/kocevski/128065/ft2_4FGL_J0920.3-0443_daily_bin1401.fits sctable="SC_DATA" srcmdl=/scratch/kocevski/128065/Model_4FGL_J0920.3-0443_daily_bin1401.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/128065/ft1_filtered_4FGL_J0920.3-0443_daily_bin1401.fits.....................!
real 42.06
user 35.81
sys 4.13

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

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

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

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'norm      '    49.596       1.0000         .10000E-03   10000.    
     2 'Prefactor '    13.943       1.0000         .10000E-03   10000.    
     3 'norm      '    17.333       1.0000         .10000E-03   10000.    
     4 'norm      '    .10077E-03   1.0000         .10000E-03   10000.    
     5 'Prefactor '    7.0588       1.0000         .10000E-03   10000.    
     6 'Prefactor '    .10037E-03   1.0000         .10000E-03   10000.    
     7 'norm      '    4.4402       1.0000         .10000E-03   10000.    
     8 'norm      '    11.958       1.0000         .10000E-03   10000.    
     9 'Prefactor '    14.725       1.0000         .10000E-03   10000.    
    10 'Prefactor '    .74584       1.0000         .10000E-03   10000.    
    11 'Prefactor '    .10065E-03   1.0000         .10000E-03   10000.    
    12 'Prefactor '    .10000E-03   1.0000         .10000E-03   10000.    
    13 'Prefactor '    24.520       1.0000         .10000E-03   10000.    
    14 'Prefactor '    12.203       1.0000         .10000E-03   10000.    
    15 'norm      '    1.0850       1.0000         .10000E-03   10000.    
    16 'norm      '    2.2784       1.0000         .10000E-03   10000.    
    17 'norm      '    .10001E-03   1.0000         .10000E-03   10000.    
    18 'norm      '    .92555E-03   1.0000         .10000E-03   10000.    
    19 'Normalizat'    .62938       1.0000         .10000E-01   10.000    
    20 'Prefactor '    1.1353       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=   2729.650     FROM MIGRAD    STATUS=CONVERGED    402 CALLS     2089 TOTAL
                     EDM=   .28E-09  STRATEGY=1  ERROR MATRIX UNCERTAINTY=  1.6%

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  norm          49.598        26.697        .47959E-06   -.84360E-05
   2  Prefactor     13.941        35.682        .15504E-05   -.22751E-04
   3  norm          17.332        10.209        .28215E-06   -.15953E-05
   4  norm          .10000E-03    2.9122       -.17705E-06** at limit **
   5  Prefactor     7.0606        18.085        .24329E-05    .45798E-05
   6  Prefactor     .10000E-03    6.0238        .83060E-09** at limit **
   7  norm          4.4398        9.4173        .75515E-06   -.27499E-04
   8  norm          11.957        11.763        .48642E-06   -.19997E-04
   9  Prefactor     14.720        21.099       -.19088E-06   -.42385E-04
  10  Prefactor     .76278        20.857        .50786E-05   -.19788E-04
  11  Prefactor     .10000E-03    24.678        .16159E-06** at limit **
  12  Prefactor     .10000E-03    11.221       -.10041E-06** at limit **
  13  Prefactor     24.581        51.099        .63714E-05    .34349E-04
  14  Prefactor     12.253        37.278        .32839E-06   -.52274E-05
  15  norm          1.0787        22.373        .12438E-04   -.61112E-04
  16  norm          2.2764        6.7941        .14054E-05   -.14956E-03
  17  norm          .10000E-03    1.3766       -.17925E-06** at limit **
  18  norm          .10008E-03    2.4139        .51780E-06** at limit **
  19  Normalizat    .62947        .33065       -.20576E-05   -.20046E-03
  20  Prefactor     1.1353        .23018       -.34318E-05   -.23263E-03
                               ERR DEF=  .500    
Final values: 
  norm       = 49.598
  Prefactor  = 13.9407
  norm       = 17.3319
  norm       = 0.0001
  Prefactor  = 7.06059
  Prefactor  = 0.0001
  norm       = 4.43981
  norm       = 11.9574
  Prefactor  = 14.7201
  Prefactor  = 0.76278
  Prefactor  = 0.0001
  Prefactor  = 0.0001
  Prefactor  = 24.581
  Prefactor  = 12.2529
  norm       = 1.07866
  norm       = 2.27638
  norm       = 0.0001
  norm       = 0.000100081
  Normalizat = 0.629469
  Prefactor  = 1.13531
 **********
 **   18 **HESSE 
 **********

 FCN=   2729.650     FROM HESSE     STATUS=OK           299 CALLS     2388 TOTAL
                     EDM=   .30E-08    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  norm          49.598        26.698        .56943E-04   -1.4298    
   2  Prefactor     13.941        35.660        .10727E-03   -1.4961    
   3  norm          17.332        10.159        .96202E-04   -1.4875    
   4  norm          .10000E-03    4.8694        .16910E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   5  Prefactor     7.0606        17.837        .15099E-03   -1.5176    
   6  Prefactor     .10000E-03    6.0513        .12521E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   7  norm          4.4398        9.3864        .19110E-03   -1.5287    
   8  norm          11.957        11.763        .11584E-03   -1.5016    
   9  Prefactor     14.720        21.102        .10438E-03   -1.4940    
  10  Prefactor     .76278        21.564        .46094E-03   -1.5533    
  11  Prefactor     .10000E-03    24.682        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  12  Prefactor     .10000E-03    11.223        .17096E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  13  Prefactor     24.581        51.622        .80895E-04   -1.4716    
  14  Prefactor     12.253        37.318        .11467E-03   -1.5008    
  15  norm          1.0787        22.648        .43897E-03   -1.5500    
  16  norm          2.2764        6.6688        .21734E-03   -1.5406    
  17  norm          .10000E-03    1.4383        .11951E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  18  norm          .10008E-03    30.537        .15317E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  19  Normalizat    .62947        .37980        .35524E-03   -1.0675    
  20  Prefactor     1.1353        .26421        .19015E-03   -.88346    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 2.9999e-09
Minuit parameter uncertainties:
  1  26.7044
  2  35.7141
  3  10.1596
  4  7.48742e-05
  5  17.8506
  6  1.60967e-05
  7  9.38952
  8  11.7656
  9  21.1128
  10  8.11416
  11  1.10423e-05
  12  1.72656e-06
  13  51.7164
  14  37.3891
  15  9.88902
  16  6.67097
  17  1.05297e-05
  18  0.00314368
  19  0.381395
  20  0.264521
Done.

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

Extracting fit parameters...

4FGL J0920.3-0443
   Spectrum: PowerLaw
250    Prefactor:  1.472e+01  2.111e+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.135e+00  2.645e-01  0.000e+00  1.000e+01 ( 1.000e+00)
488        Index:  0.000e+00  0.000e+00 -1.000e+00  1.000e+00 ( 1.000e+00) fixed
489        Scale:  1.000e+02  0.000e+00  5.000e+01  2.000e+02 ( 1.000e+00) fixed

EG_v02
   Spectrum: FileFunction
486   Normalization:  6.295e-01  3.814e-01  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Fixed Index): 0.90
Ra Dec: 140.100 -4.731
Photon Flux Upper Limit: 1.91e-07 ph cm-2 s-1
Energy Flux Upper Limit: 1.49e-02 MeV cm-2 s-1

Saving results to:
/scratch/kocevski/128065/likelihoodResults_602467201_602726401_4FGL_J0920.3-0443_daily_bin1401.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) = 2729.54940619
delta logL = 0.100693908474

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

MINUIT Return Code (Free Index): 0
logL (Free Index) = 2729.54915215
delta logL = 0.10094794867

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'Prefactor '    22.214       1.0000         .10000E-03   10000.    
     2 'Index     '    2.0743       1.0000          .0000       10.000    
     3 'Normalizat'    .64402       1.0000         .10000E-01   10.000    
     4 'Prefactor '    1.1275       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=   2729.549     FROM MIGRAD    STATUS=CONVERGED     59 CALLS      257 TOTAL
                     EDM=   .67E-11    STRATEGY= 1      ERR MATRIX NOT POS-DEF

  EXT PARAMETER                APPROXIMATE        STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor     22.263        1672.6        .21246E-02    .24766E-04
   2  Index         2.0764        6.4440        .25378        .94265E-05
   3  Normalizat    .64393        .21173        .79351E-01    .85881E-05
   4  Prefactor     1.1275        .10187        .36624E-01   -.11765E-04
                               ERR DEF=  .500    
Final values: 
  Prefactor  = 22.2632
  Index      = 2.07638
  Normalizat = 0.643927
  Prefactor  = 1.12749
 **********
 **   18 **HESSE 
 **********

 FCN=   2729.549     FROM HESSE     STATUS=OK            33 CALLS      290 TOTAL
                     EDM=   .79E-12    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  Prefactor     22.263        31.844        .42493E-03   -1.4764    
   2  Index         2.0764        1.0184        .96186E-02   -.62454    
   3  Normalizat    .64393        .36569        .35138E-03   -1.0615    
   4  Prefactor     1.1275        .25844        .19067E-03   -.88593    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 7.86723e-13
Minuit parameter uncertainties:
  1  31.8685
  2  1.02939
  3  0.367083
  4  0.258724
shell-init: error retrieving current directory: getcwd: cannot access parent directories: No such file or directory
rmdir: failed to remove `/scratch/kocevski/128065': 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) = 2729.54914737
delta logL = 0.100952726641

Extracting fit parameters...

4FGL J0920.3-0443
   Spectrum: PowerLaw
250    Prefactor:  2.226e+01  3.187e+01  1.000e-04  1.000e+04 ( 1.000e-13)
251        Index:  2.076e+00  1.029e+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.127e+00  2.587e-01  0.000e+00  1.000e+01 ( 1.000e+00)
488        Index:  0.000e+00  0.000e+00 -1.000e+00  1.000e+00 ( 1.000e+00) fixed
489        Scale:  1.000e+02  0.000e+00  5.000e+01  2.000e+02 ( 1.000e+00) fixed

EG_v02
   Spectrum: FileFunction
486   Normalization:  6.439e-01  3.671e-01  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Free Index): 1.10
Ra Dec: 140.100 -4.731
Photon Index (Free Index): 2.08 +/- 1.03
Photon Flux (Free Index): 2.42e-08 +/- 4.01e-08
Energy Flux (Free Index): 1.40e-05 +/- 2.67e-05

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/128065/cmap_HighResolution_602467201_602726401_4FGL_J0920.3-0443_daily_bin1401.png

Cleaning up...

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

Updating database...

UPDATE lightcurve_data_v2 SET energy_flux_upper_limit='1.49e-02', comment='SUCCESS', energy_flux2='1.40e-05', dlogl='1.01e-01', photon_flux2='2.42e-08', job_status='DONE', time_completed='2021-08-31 06:58:20.020700', photon_index_error2='1.03', photon_index2='2.08', ts='0.90', fit_tolerance='1e-08', GAL='1.14', photon_index_error='0.00', photon_flux_upper_limit='1.91e-07', energy_flux_error2='2.67e-05', EG='0.63', time_epoch_completed='1630418300.02', return_code='0', job_id='128065', GAL2='1.13', EG2='0.64', return_code2='0', photon_flux_error2='4.01e-08', ts2='1.10', photon_index='2.59' WHERE bin_id='1401' AND source_name='4FGL J0920.3-0443' AND cadence='daily';

Database successfully updated.


Analysis Complete.


Tue Aug 31 06:58:20 PDT 2021


------------------------------------------------------------
Sender: LSF System <lsf@bullet0209>
Subject: Job 128065: <4FGL_J0920.3-0443_daily_bin1401> in cluster <slac> Done

Job <4FGL_J0920.3-0443_daily_bin1401> was submitted from host <rhel6-64m> by user <kocevski> in cluster <slac> at Tue Aug 31 06:46:19 2021
Job was executed on host(s) <bullet0209>, in queue <medium>, as user <kocevski> in cluster <slac> at Tue Aug 31 06:46: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:46:20 2021
Terminated at Tue Aug 31 06:58:21 2021
Results reported at Tue Aug 31 06:58:21 2021

Your job looked like:

------------------------------------------------------------
# LSBATCH: User input
/nfs/farm/g/glast/g/LCRepository/Likelihood/Scripts/LikelihoodAnalysis.py 4FGL_J0920.3-0443_daily_bin1401 140.1 -4.7311 602467201 602726401 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 :                                   481.31 sec.
    Max Memory :                                 1255 MB
    Average Memory :                             239.79 MB
    Total Requested Memory :                     -
    Delta Memory :                               -
    Max Swap :                                   -
    Max Processes :                              5
    Max Threads :                                21
    Run time :                                   720 sec.
    Turnaround time :                            722 sec.

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

