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


Performing analysis on: 4FGL_J0920.3-0443_daily_bin1291
RA = 140.1, Dec = -4.7311
tmin = 573955201, tmax = 574214401
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='126919', job_status='RUN', time_executed='2021-08-31 06:44:35.308041', time_epoch_executed='1630417475.31' WHERE source_name='4FGL J0920.3-0443' and cadence='daily' and bin_id='1291'

Database successfully updated.
Done.

Creating custom output directory:
/scratch/kocevski/126919

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

Retrieving the FT1 file...

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

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

Retrieving 46 files...
Done.


Merging files...

Checksum keywords updated successfully.

Merged file saved to:
/scratch/kocevski/126919/ft1_4FGL_J0920.3-0443_daily_bin1291.fits


Retrieving the FT1 file...

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

Retrieving 46 files...
Done.


Merging files...

Merged file saved to:
/scratch/kocevski/126919/ft2_4FGL_J0920.3-0443_daily_bin1291.fits


Selecting the photons:
time -p gtselect infile=/scratch/kocevski/126919/ft1_4FGL_J0920.3-0443_daily_bin1291.fits outfile=/scratch/kocevski/126919/ft1_filteredMKT_4FGL_J0920.3-0443_daily_bin1291.fits ra=140.1 dec=-4.7311 rad=12.0 tmin=573955201.0 tmax=574214401.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.18
user 3.37
sys 0.25

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

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

Generating the livetime cube:
time -p gtltcube evfile="/scratch/kocevski/126919/ft1_filtered_4FGL_J0920.3-0443_daily_bin1291.fits" evtable="EVENTS" scfile=/scratch/kocevski/126919/ft2_4FGL_J0920.3-0443_daily_bin1291.fits sctable="SC_DATA" outfile=/scratch/kocevski/126919/ltcube_573955201_574214401_4FGL_J0920.3-0443_daily_bin1291.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/126919/ft2_4FGL_J0920.3-0443_daily_bin1291.fits
.....................!
real 12.67
user 11.81
sys 0.35

Generating the exposure map:
time -p gtexpmap evfile=/scratch/kocevski/126919/ft1_filtered_4FGL_J0920.3-0443_daily_bin1291.fits evtable="EVENTS" scfile=/scratch/kocevski/126919/ft2_4FGL_J0920.3-0443_daily_bin1291.fits sctable="SC_DATA" expcube=/scratch/kocevski/126919/ltcube_573955201_574214401_4FGL_J0920.3-0443_daily_bin1291.fits outfile=/scratch/kocevski/126919/expmap_573955201_574214401_4FGL_J0920.3-0443_daily_bin1291.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/126919/ltcube_573955201_574214401_4FGL_J0920.3-0443_daily_bin1291.fits
.....................!
real 194.90
user 186.25
sys 4.44

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/126919/ft1_filtered_4FGL_J0920.3-0443_daily_bin1291.fits scfile=/scratch/kocevski/126919/ft2_4FGL_J0920.3-0443_daily_bin1291.fits outfile=/scratch/kocevski/126919/cmap_573955201_574214401_4FGL_J0920.3-0443_daily_bin1291.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.91
user 0.38
sys 0.15

Creating the high resolution counts map:
time -p gtbin evfile=/scratch/kocevski/126919/ft1_filtered_4FGL_J0920.3-0443_daily_bin1291.fits scfile=/scratch/kocevski/126919/ft2_4FGL_J0920.3-0443_daily_bin1291.fits outfile=/scratch/kocevski/126919/cmap_HighResolution_573955201_574214401_4FGL_J0920.3-0443_daily_bin1291.fits algorithm="CMAP" ebinalg="LOG" emin=30.0 emax=200000.0 ebinfile=NONE tbinalg="LIN" tbinfile=NONE nxpix=500 nypix=500 binsz=0.1 coordsys="CEL" xref=140.1 yref=-4.7311 axisrot=0.0 rafield="RA" decfield="DEC" proj="AIT" hpx_ordering_scheme="RING" hpx_order=3 hpx_ebin=yes hpx_region="" evtable="EVENTS" sctable="SC_DATA" efield="ENERGY" tfield="TIME" chatter=2 clobber=yes debug=no gui=no mode="ql"

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

This is gtbin version HEAD
real 0.98
user 0.38
sys 0.17

Computing the diffuse response:
time -p gtdiffrsp evfile=/scratch/kocevski/126919/ft1_filtered_4FGL_J0920.3-0443_daily_bin1291.fits evtable="EVENTS" scfile=/scratch/kocevski/126919/ft2_4FGL_J0920.3-0443_daily_bin1291.fits sctable="SC_DATA" srcmdl=/scratch/kocevski/126919/Model_4FGL_J0920.3-0443_daily_bin1291.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/126919/ft1_filtered_4FGL_J0920.3-0443_daily_bin1291.fits.....................!
real 89.02
user 75.34
sys 1.21

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

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

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

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'norm      '    8.4692       1.0000         .10000E-03   10000.    
     2 'Prefactor '    .10013E-03   1.0000         .10000E-03   10000.    
     3 'norm      '    6.0581       1.0000         .10000E-03   10000.    
     4 'norm      '    3.5853       1.0000         .10000E-03   10000.    
     5 'Prefactor '    5.7790       1.0000         .10000E-03   10000.    
     6 'Prefactor '    .10002E-03   1.0000         .10000E-03   10000.    
     7 'norm      '    .13240E-03   1.0000         .10000E-03   10000.    
     8 'norm      '    .10000E-03   1.0000         .10000E-03   10000.    
     9 'Prefactor '    23.234       1.0000         .10000E-03   10000.    
    10 'Prefactor '    1.5261       1.0000         .10000E-03   10000.    
    11 'Prefactor '    .12357E-03   1.0000         .10000E-03   10000.    
    12 'Prefactor '    .10001E-03   1.0000         .10000E-03   10000.    
    13 'Prefactor '    10.450       1.0000         .10000E-03   10000.    
    14 'Prefactor '    .14470E-03   1.0000         .10000E-03   10000.    
    15 'norm      '    13.172       1.0000         .10000E-03   10000.    
    16 'norm      '    .10006E-03   1.0000         .10000E-03   10000.    
    17 'norm      '    1.2048       1.0000         .10000E-03   10000.    
    18 'norm      '    1.0623       1.0000         .10000E-03   10000.    
    19 'Normalizat'    1.3816       1.0000         .10000E-01   10.000    
    20 'Prefactor '    .71575       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=   7073.914     FROM MIGRAD    STATUS=CONVERGED    422 CALLS     1774 TOTAL
                     EDM=   .19E-09  STRATEGY=1  ERROR MATRIX UNCERTAINTY=   .3%

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  norm          8.4688        8.1121        .36683E-05   -.14746E-04
   2  Prefactor     .10000E-03    23.342       -.93790E-06** at limit **
   3  norm          6.0579        5.9224       -.79181E-06   -.11928E-03
   4  norm          3.5850        2.6484       -.38801E-06   -.26334E-03
   5  Prefactor     5.7786        6.7525        .59455E-05   -.68361E-04
   6  Prefactor     .10000E-03    3.9953       -.49616E-07** at limit **
   7  norm          .10000E-03    1.8017       -.37783E-06** at limit **
   8  norm          .10000E-03    1.5967       -.34392E-07** at limit **
   9  Prefactor     23.229        17.957        .96469E-06    .73440E-04
  10  Prefactor     1.5261        2.0020       -.14816E-06   -.19908E-03
  11  Prefactor     .10000E-03    125.04       -.63185E-05** at limit **
  12  Prefactor     .10000E-03    4.1826        .87645E-08** at limit **
  13  Prefactor     10.433        34.680       -.17639E-04    .46401E-05
  14  Prefactor     .10001E-03    49.787        .42324E-05** at limit **
  15  norm          13.176        7.8694       -.41414E-05   -.12048E-03
  16  norm          .10000E-03    1.5927        .68475E-07** at limit **
  17  norm          1.2048        .63615       -.73033E-07   -.47497E-03
  18  norm          1.0623        1.2030        .33140E-07    .51663E-04
  19  Normalizat    1.3817        .18814        .20862E-05    .29626E-04
  20  Prefactor     .71564        .13276       -.32189E-06    .20393E-03
                               ERR DEF=  .500    
Final values: 
  norm       = 8.46877
  Prefactor  = 0.0001
  norm       = 6.05787
  norm       = 3.58503
  Prefactor  = 5.77863
  Prefactor  = 0.0001
  norm       = 0.0001
  norm       = 0.0001
  Prefactor  = 23.229
  Prefactor  = 1.52613
  Prefactor  = 0.0001
  Prefactor  = 0.0001
  Prefactor  = 10.4331
  Prefactor  = 0.000100009
  norm       = 13.1756
  norm       = 0.0001
  norm       = 1.20476
  norm       = 1.06233
  Normalizat = 1.38172
  Prefactor  = 0.715644
 **********
 **   18 **HESSE 
 **********

 FCN=   7073.914     FROM HESSE     STATUS=OK           297 CALLS     2071 TOTAL
                     EDM=   .44E-09    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  norm          8.4688        8.1078        .13775E-03   -1.5126    
   2  Prefactor     .10000E-03    23.510        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   3  norm          6.0579        5.9179        .16313E-03   -1.5216    
   4  norm          3.5850        2.6426        .11223E-03   -1.5329    
   5  Prefactor     5.7786        6.7126        .16707E-03   -1.5227    
   6  Prefactor     .10000E-03    4.0272        .16413E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   7  norm          .10000E-03    6.9335        .21571E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   8  norm          .10000E-03    1.6020        .10378E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   9  Prefactor     23.229        18.022        .83101E-04   -1.4744    
  10  Prefactor     1.5261        1.9845        .13232E-03   -1.5461    
  11  Prefactor     .10000E-03    127.95        .36285E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  12  Prefactor     .10000E-03    4.1988        .16798E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  13  Prefactor     10.433        34.795        .12394E-03   -1.5062    
  14  Prefactor     .10001E-03    50.471        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  15  norm          13.176        7.8887        .11037E-03   -1.4982    
  16  norm          .10000E-03    1.6123        .10362E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  17  norm          1.2048        .62795        .46413E-04   -1.5488    
  18  norm          1.0623        1.2029        .47464E-04   -1.5502    
  19  Normalizat    1.3817        .22316        .24019E-03   -.81159    
  20  Prefactor     .71564        .15796        .23662E-03   -1.0292    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 4.39395e-10
Minuit parameter uncertainties:
  1  8.10889
  2  5.26522e-05
  3  5.91847
  4  2.64264
  5  6.71346
  6  1.16329e-05
  7  9.64278e-05
  8  3.13707e-06
  9  18.0259
  10  1.98462
  11  0.000209278
  12  4.66763e-06
  13  34.8632
  14  0.00137333
  15  7.88931
  16  1.10693e-05
  17  0.627957
  18  1.20293
  19  0.223312
  20  0.158064
Done.

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

Extracting fit parameters...

4FGL J0920.3-0443
   Spectrum: PowerLaw
250    Prefactor:  2.323e+01  1.803e+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.156e-01  1.581e-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.382e+00  2.233e-01  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Fixed Index): 2.31
Ra Dec: 140.100 -4.731
Photon Index (Fixed Index): 2.59 +/- 0.00
Photon Flux (Fixed Index): 5.53e-08 +/- 4.29e-08
Energy Flux (Fixed Index): 1.47e-05 +/- 1.14e-05

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

Saving results to:
/scratch/kocevski/126919/likelihoodResults_573955201_574214401_4FGL_J0920.3-0443_daily_bin1291.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) = 7073.91330655
delta logL = 0.0010967492326

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

MINUIT Return Code (Free Index): 0
logL (Free Index) = 7073.91222329
delta logL = 0.00218000908535

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'Prefactor '    22.126       1.0000         .10000E-03   10000.    
     2 'Index     '    2.6281       1.0000          .0000       10.000    
     3 'Normalizat'    1.3798       1.0000         .10000E-01   10.000    
     4 'Prefactor '    .71676       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=   7073.912     FROM MIGRAD    STATUS=CONVERGED     91 CALLS      272 TOTAL
                     EDM=   .50E-08    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor     22.143        26.042        .85153E-04    .10147E-03
   2  Index         2.6276        .67636        .67480E-02    .48601E-03
   3  Normalizat    1.3800        .21696        .24032E-03    .74026E-04
   4  Prefactor     .71660        .15768        .23648E-03   -.16014E-03
                               ERR DEF=  .500    
Final values: 
  Prefactor  = 22.1434
  Index      = 2.6276
  Normalizat = 1.38001
  Prefactor  = 0.716599
 **********
 **   18 **HESSE 
 **********

 FCN=   7073.912     FROM HESSE     STATUS=OK            25 CALLS      297 TOTAL
                     EDM=   .29E-09    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  Prefactor     22.143        24.253        .34061E-05   -1.4766    
   2  Index         2.6276        .62966        .13496E-02   -.49437    
   3  Normalizat    1.3800        .21710        .48063E-04   -.81209    
   4  Prefactor     .71660        .15774        .94592E-05   -1.0288    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 2.87492e-10
Minuit parameter uncertainties:
  1  24.2638
  2  0.631827
  3  0.217242
  4  0.157837
shell-init: error retrieving current directory: getcwd: cannot access parent directories: No such file or directory
rmdir: failed to remove `/scratch/kocevski/126919': 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) = 7073.91222249
delta logL = 0.00218081018556

Extracting fit parameters...

4FGL J0920.3-0443
   Spectrum: PowerLaw
250    Prefactor:  2.214e+01  2.426e+01  1.000e-04  1.000e+04 ( 1.000e-13)
251        Index:  2.628e+00  6.318e-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.166e-01  1.578e-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.380e+00  2.172e-01  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Free Index): 2.30
Ra Dec: 140.100 -4.731
Photon Index (Free Index): 2.63 +/- 0.63
Photon Flux (Free Index): 5.65e-08 +/- 4.63e-08
Energy Flux (Free Index): 1.44e-05 +/- 1.18e-05

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/126919/cmap_HighResolution_573955201_574214401_4FGL_J0920.3-0443_daily_bin1291.png

Cleaning up...

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

Updating database...

UPDATE lightcurve_data_v2 SET energy_flux_upper_limit='1.11e-02', comment='SUCCESS', photon_flux='5.53e-08', energy_flux2='1.44e-05', photon_flux_error='4.29e-08', dlogl='2.18e-03', energy_flux='1.47e-05', photon_flux2='5.65e-08', job_status='DONE', time_completed='2021-08-31 06:54:52.430389', photon_index_error2='0.63', photon_index2='2.63', ts='2.31', fit_tolerance='1e-08', GAL='0.72', photon_index_error='0.00', photon_flux_upper_limit='1.42e-07', energy_flux_error2='1.18e-05', EG='1.38', time_epoch_completed='1630418092.43', return_code='0', job_id='126919', GAL2='0.72', EG2='1.38', return_code2='0', energy_flux_error='1.14e-05', photon_flux_error2='4.63e-08', ts2='2.30', photon_index='2.59' WHERE bin_id='1291' AND source_name='4FGL J0920.3-0443' AND cadence='daily';

Database successfully updated.


Analysis Complete.


Tue Aug 31 06:54:52 PDT 2021


------------------------------------------------------------
Sender: LSF System <scs@bullet0130>
Subject: Job 126919: <4FGL_J0920.3-0443_daily_bin1291> in cluster <slac> Done

Job <4FGL_J0920.3-0443_daily_bin1291> was submitted from host <rhel6-64e> by user <kocevski> in cluster <slac> at Tue Aug 31 06:42:15 2021
Job was executed on host(s) <bullet0130>, in queue <medium>, as user <kocevski> in cluster <slac> at Tue Aug 31 06:42:17 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:42:17 2021
Terminated at Tue Aug 31 06:54:53 2021
Results reported at Tue Aug 31 06:54:53 2021

Your job looked like:

------------------------------------------------------------
# LSBATCH: User input
/nfs/farm/g/glast/g/LCRepository/Likelihood/Scripts/LikelihoodAnalysis.py 4FGL_J0920.3-0443_daily_bin1291 140.1 -4.7311 573955201 574214401 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 :                                   581.32 sec.
    Max Memory :                                 1256 MB
    Average Memory :                             329.52 MB
    Total Requested Memory :                     -
    Delta Memory :                               -
    Max Swap :                                   -
    Max Processes :                              5
    Max Threads :                                21
    Run time :                                   755 sec.
    Turnaround time :                            758 sec.

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

