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


Performing analysis on: 4FGL_J0920.3-0443_daily_bin173
RA = 140.1, Dec = -4.7311
tmin = 284169601, tmax = 284428801
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='121349', job_status='RUN', time_executed='2021-08-31 06:28:46.279892', time_epoch_executed='1630416526.28' WHERE source_name='4FGL J0920.3-0443' and cadence='daily' and bin_id='173'

Database successfully updated.
Done.

Creating custom output directory:
/scratch/kocevski/121349

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

Retrieving the FT1 file...

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

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

Retrieving 46 files...
Done.


Merging files...

Checksum keywords updated successfully.

Merged file saved to:
/scratch/kocevski/121349/ft1_4FGL_J0920.3-0443_daily_bin173.fits


Retrieving the FT1 file...

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

Retrieving 46 files...
Done.


Merging files...

Merged file saved to:
/scratch/kocevski/121349/ft2_4FGL_J0920.3-0443_daily_bin173.fits


Selecting the photons:
time -p gtselect infile=/scratch/kocevski/121349/ft1_4FGL_J0920.3-0443_daily_bin173.fits outfile=/scratch/kocevski/121349/ft1_filteredMKT_4FGL_J0920.3-0443_daily_bin173.fits ra=140.1 dec=-4.7311 rad=12.0 tmin=284169601.0 tmax=284428801.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.02
user 3.36
sys 1.34

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

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

Generating the livetime cube:
time -p gtltcube evfile="/scratch/kocevski/121349/ft1_filtered_4FGL_J0920.3-0443_daily_bin173.fits" evtable="EVENTS" scfile=/scratch/kocevski/121349/ft2_4FGL_J0920.3-0443_daily_bin173.fits sctable="SC_DATA" outfile=/scratch/kocevski/121349/ltcube_284169601_284428801_4FGL_J0920.3-0443_daily_bin173.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/121349/ft2_4FGL_J0920.3-0443_daily_bin173.fits
.....................!
real 14.71
user 11.43
sys 1.62

Generating the exposure map:
time -p gtexpmap evfile=/scratch/kocevski/121349/ft1_filtered_4FGL_J0920.3-0443_daily_bin173.fits evtable="EVENTS" scfile=/scratch/kocevski/121349/ft2_4FGL_J0920.3-0443_daily_bin173.fits sctable="SC_DATA" expcube=/scratch/kocevski/121349/ltcube_284169601_284428801_4FGL_J0920.3-0443_daily_bin173.fits outfile=/scratch/kocevski/121349/expmap_284169601_284428801_4FGL_J0920.3-0443_daily_bin173.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/121349/ltcube_284169601_284428801_4FGL_J0920.3-0443_daily_bin173.fits
.....................!
real 194.54
user 185.95
sys 5.65

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/121349/ft1_filtered_4FGL_J0920.3-0443_daily_bin173.fits scfile=/scratch/kocevski/121349/ft2_4FGL_J0920.3-0443_daily_bin173.fits outfile=/scratch/kocevski/121349/cmap_284169601_284428801_4FGL_J0920.3-0443_daily_bin173.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.95
user 0.37
sys 1.28

Creating the high resolution counts map:
time -p gtbin evfile=/scratch/kocevski/121349/ft1_filtered_4FGL_J0920.3-0443_daily_bin173.fits scfile=/scratch/kocevski/121349/ft2_4FGL_J0920.3-0443_daily_bin173.fits outfile=/scratch/kocevski/121349/cmap_HighResolution_284169601_284428801_4FGL_J0920.3-0443_daily_bin173.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.91
user 0.36
sys 1.27

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

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

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

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

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'norm      '    6.4506       1.0000         .10000E-03   10000.    
     2 'Prefactor '    2.0401       1.0000         .10000E-03   10000.    
     3 'norm      '    15.811       1.0000         .10000E-03   10000.    
     4 'norm      '    .95828       1.0000         .10000E-03   10000.    
     5 'Prefactor '    .14987E-03   1.0000         .10000E-03   10000.    
     6 'Prefactor '    .11202E-03   1.0000         .10000E-03   10000.    
     7 'norm      '    30.926       1.0000         .10000E-03   10000.    
     8 'norm      '    .30149E-03   1.0000         .10000E-03   10000.    
     9 'Prefactor '    17.858       1.0000         .10000E-03   10000.    
    10 'Prefactor '    3.9568       1.0000         .10000E-03   10000.    
    11 'Prefactor '    .28029E-03   1.0000         .10000E-03   10000.    
    12 'Prefactor '    .60913E-03   1.0000         .10000E-03   10000.    
    13 'Prefactor '    .11920E-03   1.0000         .10000E-03   10000.    
    14 'Prefactor '    5.1729       1.0000         .10000E-03   10000.    
    15 'norm      '    .10408E-03   1.0000         .10000E-03   10000.    
    16 'norm      '    .10002E-03   1.0000         .10000E-03   10000.    
    17 'norm      '    .93248       1.0000         .10000E-03   10000.    
    18 'norm      '    .10001E-03   1.0000         .10000E-03   10000.    
    19 'Normalizat'    .65361       1.0000         .10000E-01   10.000    
    20 'Prefactor '    1.1367       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=   7201.611     FROM MIGRAD    STATUS=CONVERGED    425 CALLS     2136 TOTAL
                     EDM=   .16E-09  STRATEGY=1  ERROR MATRIX UNCERTAINTY= 11.6%

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  norm          6.4634        9.4328       -.14709E-06    .62031E-05
   2  Prefactor     2.1034        35.537        .12759E-04    .83891E-04
   3  norm          15.791        7.0839       -.10817E-06   -.47675E-04
   4  norm          .95860        1.7798       -.38671E-07   -.20362E-03
   5  Prefactor     .10000E-03    4.2795        .50672E-06** at limit **
   6  Prefactor     .10000E-03    4.1310       -.52427E-06** at limit **
   7  norm          30.917        6.5792        .56461E-07   -.10713E-04
   8  norm          .10000E-03    4.2472       -.58811E-07** at limit **
   9  Prefactor     17.918        18.281       -.44599E-06   -.21842E-03
  10  Prefactor     3.9543        3.6895        .18619E-06    .23004E-04
  11  Prefactor     .10000E-03    22.587        .26160E-05** at limit **
  12  Prefactor     .10001E-03    13.334        .59808E-05** at limit **
  13  Prefactor     .10000E-03    10.106       -.77550E-07** at limit **
  14  Prefactor     5.1697        14.574       -.81711E-06   -.18516E-04
  15  norm          .10000E-03    3.8463        .19376E-06** at limit **
  16  norm          .10000E-03    .84675        .35615E-08** at limit **
  17  norm          .93257        .60455        .45123E-07   -.24777E-03
  18  norm          .10000E-03    .45136       -.26423E-07** at limit **
  19  Normalizat    .65348        .18560       -.44617E-06   -.62592E-04
  20  Prefactor     1.1367        .13454        .16818E-06   -.14417E-04
                               ERR DEF=  .500    
Final values: 
  norm       = 6.46335
  Prefactor  = 2.10342
  norm       = 15.7914
  norm       = 0.958601
  Prefactor  = 0.0001
  Prefactor  = 0.0001
  norm       = 30.9173
  norm       = 0.0001
  Prefactor  = 17.9184
  Prefactor  = 3.95434
  Prefactor  = 0.0001
  Prefactor  = 0.000100014
  Prefactor  = 0.0001
  Prefactor  = 5.16974
  norm       = 0.0001
  norm       = 0.0001
  norm       = 0.932572
  norm       = 0.0001
  Normalizat = 0.653481
  Prefactor  = 1.1367
 **********
 **   18 **HESSE 
 **********

 FCN=   7201.611     FROM HESSE     STATUS=OK           299 CALLS     2435 TOTAL
                     EDM=   .12E-08    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  norm          6.4634        9.4294        .15802E-03   -1.5199    
   2  Prefactor     2.1034        43.599        .14477E-02   -1.5418    
   3  norm          15.791        7.0544        .10073E-03   -1.4913    
   4  norm          .95860        1.3810        .14846E-02   -1.5512    
   5  Prefactor     .10000E-03    4.2814        .17105E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   6  Prefactor     .10000E-03    4.2241        .33616E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   7  norm          30.917        6.5787        .72049E-04   -1.4595    
   8  norm          .10000E-03    4.3617        .34131E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   9  Prefactor     17.918        18.438        .94778E-04   -1.4861    
  10  Prefactor     3.9543        3.6768        .14982E-03   -1.5310    
  11  Prefactor     .10000E-03    22.640        .21418E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  12  Prefactor     .10001E-03    29.848        .41868E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  13  Prefactor     .10000E-03    10.128        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  14  Prefactor     5.1697        14.578        .17675E-03   -1.5253    
  15  norm          .10000E-03    3.9253        .16242E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  16  norm          .10000E-03    .85506        .76244E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  17  norm          .93257        .58329        .49615E-03   -1.5515    
  18  norm          .10000E-03    .45714        .55671E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  19  Normalizat    .65348        .21364        .31876E-03   -1.0576    
  20  Prefactor     1.1367        .15647        .19110E-03   -.88302    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 1.21565e-09
Minuit parameter uncertainties:
  1  9.43161
  2  19.1683
  3  7.05474
  4  1.381
  5  1.83107e-05
  6  1.42626e-05
  7  6.57887
  8  8.07503e-06
  9  18.4438
  10  3.67696
  11  4.25122e-06
  12  0.0012844
  13  1.61022e-05
  14  14.5881
  15  8.62509e-06
  16  2.46953e-06
  17  0.583292
  18  1.62194e-06
  19  0.213912
  20  0.15653
Done.

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

Extracting fit parameters...

4FGL J0920.3-0443
   Spectrum: PowerLaw
250    Prefactor:  1.792e+01  1.844e+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.137e+00  1.565e-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.535e-01  2.139e-01  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Fixed Index): 1.16
Ra Dec: 140.100 -4.731
Photon Index (Fixed Index): 2.59 +/- 0.00
Photon Flux (Fixed Index): 4.27e-08 +/- 4.39e-08
Energy Flux (Fixed Index): 1.13e-05 +/- 1.17e-05

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

Saving results to:
/scratch/kocevski/121349/likelihoodResults_284169601_284428801_4FGL_J0920.3-0443_daily_bin173.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) = 7201.55295709
delta logL = 0.0584471102202

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

MINUIT Return Code (Free Index): 0
logL (Free Index) = 7201.54941879
delta logL = 0.0619854041479

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'Prefactor '    12.041       1.0000         .10000E-03   10000.    
     2 'Index     '    2.9015       1.0000          .0000       10.000    
     3 'Normalizat'    .64082       1.0000         .10000E-01   10.000    
     4 'Prefactor '    1.1441       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=   7201.549     FROM MIGRAD    STATUS=CONVERGED     89 CALLS      298 TOTAL
                     EDM=   .18E-09    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor     12.033        32.087        .11544E-03   -.34340E-03
   2  Index         2.9023        1.4315        .73362E-02   -.84145E-04
   3  Normalizat    .64084        .20804        .32171E-03    .83823E-04
   4  Prefactor     1.1442        .15832        .19057E-03    .15331E-03
                               ERR DEF=  .500    
Final values: 
  Prefactor  = 12.0326
  Index      = 2.90232
  Normalizat = 0.640835
  Prefactor  = 1.14424
 **********
 **   18 **HESSE 
 **********

 FCN=   7201.549     FROM HESSE     STATUS=OK            25 CALLS      323 TOTAL
                     EDM=   .20E-09    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  Prefactor     12.033        22.070        .46177E-05   -1.5014    
   2  Index         2.9023        .99097        .29345E-03   -.43293    
   3  Normalizat    .64084        .20739        .12868E-04   -1.0628    
   4  Prefactor     1.1442        .15739        .38114E-04   -.88065    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 1.98056e-10
Minuit parameter uncertainties:
  1  22.0848
  2  0.999021
  3  0.207645
  4  0.15745
shell-init: error retrieving current directory: getcwd: cannot access parent directories: No such file or directory
rmdir: failed to remove `/scratch/kocevski/121349': 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) = 7201.54941668
delta logL = 0.0619875127913

Extracting fit parameters...

4FGL J0920.3-0443
   Spectrum: PowerLaw
250    Prefactor:  1.203e+01  2.208e+01  1.000e-04  1.000e+04 ( 1.000e-13)
251        Index:  2.902e+00  9.990e-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:  1.144e+00  1.575e-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.408e-01  2.076e-01  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Free Index): 1.30
Ra Dec: 140.100 -4.731
Photon Index (Free Index): 2.90 +/- 1.00
Photon Flux (Free Index): 4.93e-08 +/- 4.89e-08
Energy Flux (Free Index): 1.04e-05 +/- 1.07e-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/121349/cmap_HighResolution_284169601_284428801_4FGL_J0920.3-0443_daily_bin173.png

Cleaning up...

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

Updating database...

UPDATE lightcurve_data_v2 SET energy_flux_upper_limit='1.00e-02', comment='SUCCESS', photon_flux='4.27e-08', energy_flux2='1.04e-05', photon_flux_error='4.39e-08', dlogl='6.20e-02', energy_flux='1.13e-05', photon_flux2='4.93e-08', job_status='DONE', time_completed='2021-08-31 06:39:31.904294', photon_index_error2='1.00', photon_index2='2.90', ts='1.16', fit_tolerance='1e-08', GAL='1.14', photon_index_error='0.00', photon_flux_upper_limit='1.28e-07', energy_flux_error2='1.07e-05', EG='0.65', time_epoch_completed='1630417171.9', return_code='0', job_id='121349', GAL2='1.14', EG2='0.64', return_code2='0', energy_flux_error='1.17e-05', photon_flux_error2='4.89e-08', ts2='1.30', photon_index='2.59' WHERE bin_id='173' AND source_name='4FGL J0920.3-0443' AND cadence='daily';

Database successfully updated.


Analysis Complete.


Tue Aug 31 06:39:31 PDT 2021


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

Job <4FGL_J0920.3-0443_daily_bin173> was submitted from host <rhel6-64l> by user <kocevski> in cluster <slac> at Tue Aug 31 06:25:54 2021
Job was executed on host(s) <bullet0255>, in queue <medium>, as user <kocevski> in cluster <slac> at Tue Aug 31 06:25:55 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:25:55 2021
Terminated at Tue Aug 31 06:39:32 2021
Results reported at Tue Aug 31 06:39:32 2021

Your job looked like:

------------------------------------------------------------
# LSBATCH: User input
/nfs/farm/g/glast/g/LCRepository/Likelihood/Scripts/LikelihoodAnalysis.py 4FGL_J0920.3-0443_daily_bin173 140.1 -4.7311 284169601 284428801 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 :                                   641.49 sec.
    Max Memory :                                 1255 MB
    Average Memory :                             280.70 MB
    Total Requested Memory :                     -
    Delta Memory :                               -
    Max Swap :                                   -
    Max Processes :                              5
    Max Threads :                                21
    Run time :                                   817 sec.
    Turnaround time :                            818 sec.

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

