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


Performing analysis on: 4FGL_J0920.3-0443_daily_bin1099
RA = 140.1, Dec = -4.7311
tmin = 524188801, tmax = 524448001
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='126613', job_status='RUN', time_executed='2021-08-31 06:45:32.865286', time_epoch_executed='1630417532.87' WHERE source_name='4FGL J0920.3-0443' and cadence='daily' and bin_id='1099'

Database successfully updated.
Done.

Creating custom output directory:
/scratch/kocevski/126613

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

Retrieving the FT1 file...

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

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

Retrieving 46 files...
Done.


Merging files...

Checksum keywords updated successfully.

Merged file saved to:
/scratch/kocevski/126613/ft1_4FGL_J0920.3-0443_daily_bin1099.fits


Retrieving the FT1 file...

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

Retrieving 46 files...
Done.


Merging files...

Merged file saved to:
/scratch/kocevski/126613/ft2_4FGL_J0920.3-0443_daily_bin1099.fits


Selecting the photons:
time -p gtselect infile=/scratch/kocevski/126613/ft1_4FGL_J0920.3-0443_daily_bin1099.fits outfile=/scratch/kocevski/126613/ft1_filteredMKT_4FGL_J0920.3-0443_daily_bin1099.fits ra=140.1 dec=-4.7311 rad=12.0 tmin=524188801.0 tmax=524448001.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 3.84
user 3.16
sys 0.64

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

Selecting the good time intervals:
time -p gtmktime scfile=/scratch/kocevski/126613/ft2_4FGL_J0920.3-0443_daily_bin1099.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/126613/ft1_filteredMKT_4FGL_J0920.3-0443_daily_bin1099.fits evtable="EVENTS" outfile="/scratch/kocevski/126613/ft1_filtered_4FGL_J0920.3-0443_daily_bin1099.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 0.93
user 0.34
sys 0.57

Generating the livetime cube:
time -p gtltcube evfile="/scratch/kocevski/126613/ft1_filtered_4FGL_J0920.3-0443_daily_bin1099.fits" evtable="EVENTS" scfile=/scratch/kocevski/126613/ft2_4FGL_J0920.3-0443_daily_bin1099.fits sctable="SC_DATA" outfile=/scratch/kocevski/126613/ltcube_524188801_524448001_4FGL_J0920.3-0443_daily_bin1099.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/126613/ft2_4FGL_J0920.3-0443_daily_bin1099.fits
.....................!
real 12.37
user 11.43
sys 0.81

Generating the exposure map:
time -p gtexpmap evfile=/scratch/kocevski/126613/ft1_filtered_4FGL_J0920.3-0443_daily_bin1099.fits evtable="EVENTS" scfile=/scratch/kocevski/126613/ft2_4FGL_J0920.3-0443_daily_bin1099.fits sctable="SC_DATA" expcube=/scratch/kocevski/126613/ltcube_524188801_524448001_4FGL_J0920.3-0443_daily_bin1099.fits outfile=/scratch/kocevski/126613/expmap_524188801_524448001_4FGL_J0920.3-0443_daily_bin1099.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/126613/ltcube_524188801_524448001_4FGL_J0920.3-0443_daily_bin1099.fits
.....................!
real 190.67
user 184.95
sys 5.25

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/126613/ft1_filtered_4FGL_J0920.3-0443_daily_bin1099.fits scfile=/scratch/kocevski/126613/ft2_4FGL_J0920.3-0443_daily_bin1099.fits outfile=/scratch/kocevski/126613/cmap_524188801_524448001_4FGL_J0920.3-0443_daily_bin1099.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.18
user 0.38
sys 0.56

Creating the high resolution counts map:
time -p gtbin evfile=/scratch/kocevski/126613/ft1_filtered_4FGL_J0920.3-0443_daily_bin1099.fits scfile=/scratch/kocevski/126613/ft2_4FGL_J0920.3-0443_daily_bin1099.fits outfile=/scratch/kocevski/126613/cmap_HighResolution_524188801_524448001_4FGL_J0920.3-0443_daily_bin1099.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.97
user 0.39
sys 0.57

Computing the diffuse response:
time -p gtdiffrsp evfile=/scratch/kocevski/126613/ft1_filtered_4FGL_J0920.3-0443_daily_bin1099.fits evtable="EVENTS" scfile=/scratch/kocevski/126613/ft2_4FGL_J0920.3-0443_daily_bin1099.fits sctable="SC_DATA" srcmdl=/scratch/kocevski/126613/Model_4FGL_J0920.3-0443_daily_bin1099.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/126613/ft1_filtered_4FGL_J0920.3-0443_daily_bin1099.fits.....................!
real 67.69
user 63.57
sys 1.81

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

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

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

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'norm      '    .10064E-03   1.0000         .10000E-03   10000.    
     2 'Prefactor '    42.549       1.0000         .10000E-03   10000.    
     3 'norm      '    .10005E-03   1.0000         .10000E-03   10000.    
     4 'norm      '    .10344E-03   1.0000         .10000E-03   10000.    
     5 'Prefactor '    .10004E-03   1.0000         .10000E-03   10000.    
     6 'Prefactor '    2.8750       1.0000         .10000E-03   10000.    
     7 'norm      '    .10002E-03   1.0000         .10000E-03   10000.    
     8 'norm      '    .10000E-03   1.0000         .10000E-03   10000.    
     9 'Prefactor '    13.579       1.0000         .10000E-03   10000.    
    10 'Prefactor '    3.7791       1.0000         .10000E-03   10000.    
    11 'Prefactor '    21.660       1.0000         .10000E-03   10000.    
    12 'Prefactor '    8.7908       1.0000         .10000E-03   10000.    
    13 'Prefactor '    .10008E-03   1.0000         .10000E-03   10000.    
    14 'Prefactor '    .10006E-03   1.0000         .10000E-03   10000.    
    15 'norm      '    .12487E-02   1.0000         .10000E-03   10000.    
    16 'norm      '    3.1238       1.0000         .10000E-03   10000.    
    17 'norm      '    2.6326       1.0000         .10000E-03   10000.    
    18 'norm      '    .10025E-03   1.0000         .10000E-03   10000.    
    19 'Normalizat'    .97403       1.0000         .10000E-01   10.000    
    20 'Prefactor '    1.0953       1.0000          .0000       10.000    
 **********
 **   15 **SET ERR    .5000    
 **********
 **********
 **   16 **SET GRAD    1.000    
 **********
 **********
 **   17 **MINIMIZE    .4900E+05   .2000E-04
 **********

 MIGRAD MINIMIZATION HAS CONVERGED.

 FCN=   6139.473     FROM MIGRAD    STATUS=CONVERGED    106 CALLS     1797 TOTAL
                     EDM=   .64E-10  STRATEGY=1  ERROR MATRIX UNCERTAINTY=  5.3%

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  norm          .10000E-03    10.021       -.43593E-05** at limit **
   2  Prefactor     42.541        2.4422       -.25237E-05   -.99944E-03
   3  norm          .10000E-03    2.1945       -.20222E-06** at limit **
   4  norm          .10000E-03    3.4310       -.65069E-06** at limit **
   5  Prefactor     .10000E-03    3.3408        .10640E-05** at limit **
   6  Prefactor     2.8750        1.4709        .18111E-05   -.60350E-03
   7  norm          .10000E-03    1.8167        .89140E-06** at limit **
   8  norm          .10000E-03    3.8865        .63553E-07** at limit **
   9  Prefactor     13.590        21.477        .78534E-04   -.84927E-04
  10  Prefactor     3.7781        4.2555       -.70384E-05   -.21569E-03
  11  Prefactor     21.437        52.086       -.48227E-04   -.29225E-04
  12  Prefactor     8.7913        1.2082        .52548E-06    .30187E-03
  13  Prefactor     .10000E-03    16.104        .57165E-06** at limit **
  14  Prefactor     .10000E-03    35.280        .23176E-07** at limit **
  15  norm          .10000E-03    27.760        .21281E-04** at limit **
  16  norm          3.1231        3.8670       -.32780E-05   -.88116E-04
  17  norm          2.6324        .92320        .26189E-06   -.42164E-03
  18  norm          .10000E-03    1.6203        .95935E-06** at limit **
  19  Normalizat    .97446        .25380       -.13807E-04   -.17207E-03
  20  Prefactor     1.0949        .18262        .12868E-05   -.19460E-03
                               ERR DEF=  .500    
Final values: 
  norm       = 0.0001
  Prefactor  = 42.5408
  norm       = 0.0001
  norm       = 0.0001
  Prefactor  = 0.0001
  Prefactor  = 2.87503
  norm       = 0.0001
  norm       = 0.0001
  Prefactor  = 13.5896
  Prefactor  = 3.77812
  Prefactor  = 21.4375
  Prefactor  = 8.79125
  Prefactor  = 0.0001
  Prefactor  = 0.0001
  norm       = 0.0001
  norm       = 3.12308
  norm       = 2.6324
  norm       = 0.0001
  Normalizat = 0.97446
  Prefactor  = 1.09493
 **********
 **   18 **HESSE 
 **********

 FCN=   6139.473     FROM HESSE     STATUS=OK           347 CALLS     2144 TOTAL
                     EDM=   .66E-07    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  norm          .10000E-03    9.8917        .90712E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   2  Prefactor     42.541        29.900        .15364E-02   -1.4403    
   3  norm          .10000E-03    2.1915        .90712E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   4  norm          .10000E-03    1.5825        .35726E-01   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   5  Prefactor     .10000E-03    3.3366        .90712E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   6  Prefactor     2.8750        4.6479        .59929E-02   -1.5369    
   7  norm          .10000E-03    1.8023        .90712E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   8  norm          .10000E-03    3.8340        .90712E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   9  Prefactor     13.590        21.543        .27175E-02   -1.4971    
  10  Prefactor     3.7781        4.4029        .51915E-02   -1.5319    
  11  Prefactor     21.437        52.285        .21516E-02   -1.4782    
  12  Prefactor     8.7913        13.355        .33798E-02   -1.5115    
  13  Prefactor     .10000E-03    16.083        .90712E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  14  Prefactor     .10000E-03    35.015        .90712E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  15  norm          .10000E-03    5.6400        .59733E-01   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  16  norm          3.1231        3.8946        .57348E-02   -1.5355    
  17  norm          2.6324        .92922        .62830E-02   -1.5383    
  18  norm          .10000E-03    .95974        .30767E-01   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  19  Normalizat    .97446        .21621        .67348E-01   -.93891    
  20  Prefactor     1.0949        .15422        .37770E-01   -.89629    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 6.61423e-08
Minuit parameter uncertainties:
  1  1.88117e-05
  2  29.9109
  3  6.67953e-06
  4  7.2568e-07
  5  5.34033e-06
  6  4.64846
  7  5.74058e-06
  8  9.93291e-07
  9  21.5553
  10  4.40324
  11  52.3973
  12  13.3596
  13  7.6058e-05
  14  2.41401e-05
  15  6.10899e-05
  16  3.89487
  17  0.929225
  18  7.65436e-06
  19  0.216405
  20  0.154283
Done.

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

Extracting fit parameters...

4FGL J0920.3-0443
   Spectrum: PowerLaw
250    Prefactor:  1.359e+01  2.156e+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.095e+00  1.543e-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:  9.745e-01  2.164e-01  1.000e-02  1.000e+01 ( 1.000e+00)


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

Saving results to:
/scratch/kocevski/126613/likelihoodResults_524188801_524448001_4FGL_J0920.3-0443_daily_bin1099.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) = 6139.33813821
delta logL = 0.134970627623

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

MINUIT Return Code (Free Index): 0
logL (Free Index) = 6139.33312461
delta logL = 0.139984229299

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'Prefactor '    7.7110       1.0000         .10000E-03   10000.    
     2 'Index     '    3.1460       1.0000          .0000       10.000    
     3 'Normalizat'    .95267       1.0000         .10000E-01   10.000    
     4 'Prefactor '    1.1058       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=   6139.333     FROM MIGRAD    STATUS=CONVERGED     86 CALLS      300 TOTAL
                     EDM=   .19E-09    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor     7.7090        23.525        .14441E-03   -.22311E-03
   2  Index         3.1464        1.6056        .80482E-02   -.59518E-04
   3  Normalizat    .95263        .25120        .30092E-03   -.32361E-03
   4  Prefactor     1.1058        .18405        .20947E-03   -.37271E-03
                               ERR DEF=  .500    
Final values: 
  Prefactor  = 7.70899
  Index      = 3.14636
  Normalizat = 0.95263
  Prefactor  = 1.10581
 **********
 **   18 **HESSE 
 **********

 FCN=   6139.333     FROM HESSE     STATUS=OK            25 CALLS      325 TOTAL
                     EDM=   .24E-09    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  Prefactor     7.7090        16.722        .57764E-05   -1.5153    
   2  Index         3.1464        1.1504        .32193E-03   -.37979    
   3  Normalizat    .95263        .25121        .60185E-04   -.94635    
   4  Prefactor     1.1058        .18379        .41895E-04   -.89281    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 2.39932e-10
Minuit parameter uncertainties:
  1  16.7324
  2  1.16246
  3  0.251516
  4  0.183896
shell-init: error retrieving current directory: getcwd: cannot access parent directories: No such file or directory
rmdir: failed to remove `/scratch/kocevski/126613': 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) = 6139.33312453
delta logL = 0.13998431072

Extracting fit parameters...

4FGL J0920.3-0443
   Spectrum: PowerLaw
250    Prefactor:  7.709e+00  1.673e+01  1.000e-04  1.000e+04 ( 1.000e-13)
251        Index:  3.146e+00  1.162e+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.106e+00  1.839e-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:  9.526e-01  2.515e-01  1.000e-02  1.000e+01 ( 1.000e+00)


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

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/126613/cmap_HighResolution_524188801_524448001_4FGL_J0920.3-0443_daily_bin1099.png

Cleaning up...

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

Updating database...

UPDATE lightcurve_data_v2 SET energy_flux_upper_limit='1.07e-02', job_status='DONE', photon_flux_upper_limit='1.37e-07', time_completed='2021-08-31 06:55:19.811918', job_id='126613', GAL2='1.11', fit_tolerance='1e-08', EG2='0.95', EG='0.97', time_epoch_completed='1630418119.81', return_code2='0', ts='0.56', comment='SUCCESS', return_code='0', GAL='1.09', dlogl='1.40e-01', ts2='0.87', photon_index_error='0.00', photon_index='2.59' WHERE bin_id='1099' AND source_name='4FGL J0920.3-0443' AND cadence='daily';

Database successfully updated.


Analysis Complete.


Tue Aug 31 06:55:19 PDT 2021


------------------------------------------------------------
Sender: LSF System <lsf@bullet0045>
Subject: Job 126613: <4FGL_J0920.3-0443_daily_bin1099> in cluster <slac> Done

Job <4FGL_J0920.3-0443_daily_bin1099> was submitted from host <rhel6-64e> by user <kocevski> in cluster <slac> at Tue Aug 31 06:41:56 2021
Job was executed on host(s) <bullet0045>, in queue <medium>, as user <kocevski> in cluster <slac> at Tue Aug 31 06:41:57 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:41:57 2021
Terminated at Tue Aug 31 06:55:20 2021
Results reported at Tue Aug 31 06:55:20 2021

Your job looked like:

------------------------------------------------------------
# LSBATCH: User input
/nfs/farm/g/glast/g/LCRepository/Likelihood/Scripts/LikelihoodAnalysis.py 4FGL_J0920.3-0443_daily_bin1099 140.1 -4.7311 524188801 524448001 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 :                                   553.00 sec.
    Max Memory :                                 1255 MB
    Average Memory :                             258.24 MB
    Total Requested Memory :                     -
    Delta Memory :                               -
    Max Swap :                                   -
    Max Processes :                              7
    Max Threads :                                21
    Run time :                                   803 sec.
    Turnaround time :                            804 sec.

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

