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


Performing analysis on: 4FGL_J0920.3-0443_daily_bin1579
RA = 140.1, Dec = -4.7311
tmin = 648604801, tmax = 648864001
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='128337', job_status='RUN', time_executed='2021-08-31 06:51:00.012877', time_epoch_executed='1630417860.01' WHERE source_name='4FGL J0920.3-0443' and cadence='daily' and bin_id='1579'

Database successfully updated.
Done.

Creating custom output directory:
/scratch/kocevski/128337

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

Retrieving the FT1 file...

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

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

Retrieving 46 files...
Done.


Merging files...

Checksum keywords updated successfully.

Merged file saved to:
/scratch/kocevski/128337/ft1_4FGL_J0920.3-0443_daily_bin1579.fits


Retrieving the FT1 file...

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

Retrieving 46 files...
Done.


Merging files...

Merged file saved to:
/scratch/kocevski/128337/ft2_4FGL_J0920.3-0443_daily_bin1579.fits


Selecting the photons:
time -p gtselect infile=/scratch/kocevski/128337/ft1_4FGL_J0920.3-0443_daily_bin1579.fits outfile=/scratch/kocevski/128337/ft1_filteredMKT_4FGL_J0920.3-0443_daily_bin1579.fits ra=140.1 dec=-4.7311 rad=12.0 tmin=648604801.0 tmax=648864001.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.47
user 2.77
sys 0.18

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

Selecting the good time intervals:
time -p gtmktime scfile=/scratch/kocevski/128337/ft2_4FGL_J0920.3-0443_daily_bin1579.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/128337/ft1_filteredMKT_4FGL_J0920.3-0443_daily_bin1579.fits evtable="EVENTS" outfile="/scratch/kocevski/128337/ft1_filtered_4FGL_J0920.3-0443_daily_bin1579.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.54
user 0.35
sys 0.16

Generating the livetime cube:
time -p gtltcube evfile="/scratch/kocevski/128337/ft1_filtered_4FGL_J0920.3-0443_daily_bin1579.fits" evtable="EVENTS" scfile=/scratch/kocevski/128337/ft2_4FGL_J0920.3-0443_daily_bin1579.fits sctable="SC_DATA" outfile=/scratch/kocevski/128337/ltcube_648604801_648864001_4FGL_J0920.3-0443_daily_bin1579.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/128337/ft2_4FGL_J0920.3-0443_daily_bin1579.fits
.....................!
real 12.78
user 11.81
sys 0.36

Generating the exposure map:
time -p gtexpmap evfile=/scratch/kocevski/128337/ft1_filtered_4FGL_J0920.3-0443_daily_bin1579.fits evtable="EVENTS" scfile=/scratch/kocevski/128337/ft2_4FGL_J0920.3-0443_daily_bin1579.fits sctable="SC_DATA" expcube=/scratch/kocevski/128337/ltcube_648604801_648864001_4FGL_J0920.3-0443_daily_bin1579.fits outfile=/scratch/kocevski/128337/expmap_648604801_648864001_4FGL_J0920.3-0443_daily_bin1579.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/128337/ltcube_648604801_648864001_4FGL_J0920.3-0443_daily_bin1579.fits
.....................!
real 193.49
user 184.98
sys 5.35

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/128337/ft1_filtered_4FGL_J0920.3-0443_daily_bin1579.fits scfile=/scratch/kocevski/128337/ft2_4FGL_J0920.3-0443_daily_bin1579.fits outfile=/scratch/kocevski/128337/cmap_648604801_648864001_4FGL_J0920.3-0443_daily_bin1579.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 0.63
user 0.37
sys 0.17

Creating the high resolution counts map:
time -p gtbin evfile=/scratch/kocevski/128337/ft1_filtered_4FGL_J0920.3-0443_daily_bin1579.fits scfile=/scratch/kocevski/128337/ft2_4FGL_J0920.3-0443_daily_bin1579.fits outfile=/scratch/kocevski/128337/cmap_HighResolution_648604801_648864001_4FGL_J0920.3-0443_daily_bin1579.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.54
user 0.38
sys 0.16

Computing the diffuse response:
time -p gtdiffrsp evfile=/scratch/kocevski/128337/ft1_filtered_4FGL_J0920.3-0443_daily_bin1579.fits evtable="EVENTS" scfile=/scratch/kocevski/128337/ft2_4FGL_J0920.3-0443_daily_bin1579.fits sctable="SC_DATA" srcmdl=/scratch/kocevski/128337/Model_4FGL_J0920.3-0443_daily_bin1579.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/128337/ft1_filtered_4FGL_J0920.3-0443_daily_bin1579.fits......................!
real 43.31
user 41.10
sys 1.20

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

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

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

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'norm      '    170.80       1.0000         .10000E-03   10000.    
     2 'Prefactor '    43.716       1.0000         .10000E-03   10000.    
     3 'norm      '    .13138E-03   1.0000         .10000E-03   10000.    
     4 'norm      '    6.5729       1.0000         .10000E-03   10000.    
     5 'Prefactor '    .10033E-03   1.0000         .10000E-03   10000.    
     6 'Prefactor '    .10067E-03   1.0000         .10000E-03   10000.    
     7 'norm      '    .10087E-03   1.0000         .10000E-03   10000.    
     8 'norm      '    .10005E-03   1.0000         .10000E-03   10000.    
     9 'Prefactor '    30.505       1.0000         .10000E-03   10000.    
    10 'Prefactor '    11.066       1.0000         .10000E-03   10000.    
    11 'Prefactor '    .10013E-03   1.0000         .10000E-03   10000.    
    12 'Prefactor '    3.4110       1.0000         .10000E-03   10000.    
    13 'Prefactor '    3.1180       1.0000         .10000E-03   10000.    
    14 'Prefactor '    23.567       1.0000         .10000E-03   10000.    
    15 'norm      '    .10000E-03   1.0000         .10000E-03   10000.    
    16 'norm      '    1.5305       1.0000         .10000E-03   10000.    
    17 'norm      '    1.9265       1.0000         .10000E-03   10000.    
    18 'norm      '    1.4360       1.0000         .10000E-03   10000.    
    19 'Normalizat'    .96659       1.0000         .10000E-01   10.000    
    20 'Prefactor '    .87575       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=   3220.643     FROM MIGRAD    STATUS=CONVERGED    420 CALLS     2048 TOTAL
                     EDM=   .68E-09  STRATEGY=1  ERROR MATRIX UNCERTAINTY=   .2%

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  norm          170.79        55.516       -.79517E-05    .14897E-04
   2  Prefactor     43.619        52.307       -.37173E-04    .79571E-05
   3  norm          .10000E-03    16.176        .27726E-05** at limit **
   4  norm          6.5702        5.1708        .93158E-06    .14896E-04
   5  Prefactor     .10000E-03    14.268       -.18600E-05** at limit **
   6  Prefactor     .10000E-03    9.4880        .72957E-07** at limit **
   7  norm          .10000E-03    3.8811       -.22766E-06** at limit **
   8  norm          .10000E-03    3.4640       -.43983E-06** at limit **
   9  Prefactor     30.461        32.312        .54418E-04    .16068E-03
  10  Prefactor     11.062        9.4715       -.79169E-06   -.96730E-05
  11  Prefactor     .10000E-03    28.550       -.19808E-05** at limit **
  12  Prefactor     3.4099        15.269       -.36803E-05   -.85489E-04
  13  Prefactor     2.9259        241.98       -.18037E-03   -.16412E-04
  14  Prefactor     23.569        29.569        .27503E-05    .77815E-04
  15  norm          .10000E-03    2.2842        .12043E-06** at limit **
  16  norm          1.5292        6.6668       -.64383E-07   -.13660E-03
  17  norm          1.9242        1.4779       -.70819E-06   -.15032E-03
  18  norm          1.4360        1.5188        .45585E-08    .25447E-03
  19  Normalizat    .96852        .31404        .11271E-04    .14111E-03
  20  Prefactor     .87465        .19326       -.21461E-05    .56234E-03
                               ERR DEF=  .500    
Final values: 
  norm       = 170.787
  Prefactor  = 43.6193
  norm       = 0.000100001
  norm       = 6.57022
  Prefactor  = 0.0001
  Prefactor  = 0.0001
  norm       = 0.0001
  norm       = 0.0001
  Prefactor  = 30.4609
  Prefactor  = 11.062
  Prefactor  = 0.000100002
  Prefactor  = 3.40986
  Prefactor  = 2.92593
  Prefactor  = 23.5694
  norm       = 0.0001
  norm       = 1.52923
  norm       = 1.92418
  norm       = 1.436
  Normalizat = 0.968522
  Prefactor  = 0.874648
 **********
 **   18 **HESSE 
 **********

 FCN=   3220.643     FROM HESSE     STATUS=OK           291 CALLS     2339 TOTAL
                     EDM=   .16E-08    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  norm          170.79        55.531        .15436E-03   -1.3087    
   2  Prefactor     43.619        52.494        .60634E-04   -1.4386    
   3  norm          .10000E-03    16.344        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   4  norm          6.5702        5.1625        .10796E-03   -1.5195    
   5  Prefactor     .10000E-03    14.338        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   6  Prefactor     .10000E-03    9.5724        .17067E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   7  norm          .10000E-03    3.9015        .10918E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   8  norm          .10000E-03    3.4679        .10316E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   9  Prefactor     30.461        32.576        .72543E-04   -1.4604    
  10  Prefactor     11.062        9.4743        .12044E-03   -1.5043    
  11  Prefactor     .10000E-03    28.562        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  12  Prefactor     3.4099        15.216        .21904E-03   -1.5339    
  13  Prefactor     2.9259        254.41        .22962E-03   -1.5366    
  14  Prefactor     23.569        29.580        .82512E-04   -1.4737    
  15  norm          .10000E-03    2.2854        .83759E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  16  norm          1.5292        6.5485        .26743E-03   -1.5461    
  17  norm          1.9242        1.4884        .53775E-04   -1.5431    
  18  norm          1.4360        1.5245        .69704E-04   -1.5468    
  19  Normalizat    .96852        .38046        .29619E-03   -.94093    
  20  Prefactor     .87465        .23289        .21473E-03   -.97033    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 1.56298e-09
Minuit parameter uncertainties:
  1  55.5477
  2  52.5493
  3  0.000252031
  4  5.16286
  5  1.6734e-05
  6  1.66434e-05
  7  1.96569e-05
  8  5.99713e-05
  9  32.5946
  10  9.4756
  11  0.000430592
  12  14.412
  13  54.8079
  14  29.5985
  15  2.23241e-05
  16  6.33002
  17  1.48842
  18  1.52455
  19  0.38153
  20  0.233151
Done.

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

Extracting fit parameters...

4FGL J0920.3-0443
   Spectrum: PowerLaw
250    Prefactor:  3.046e+01  3.259e+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:  8.746e-01  2.332e-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.685e-01  3.815e-01  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Fixed Index): 1.21
Ra Dec: 140.100 -4.731
Photon Index (Fixed Index): 2.59 +/- 0.00
Photon Flux (Fixed Index): 7.25e-08 +/- 7.76e-08
Energy Flux (Fixed Index): 1.93e-05 +/- 2.06e-05

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

Saving results to:
/scratch/kocevski/128337/likelihoodResults_648604801_648864001_4FGL_J0920.3-0443_daily_bin1579.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) = 3220.50130041
delta logL = 0.141677182159

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

MINUIT Return Code (Free Index): 0
logL (Free Index) = 3220.49418098
delta logL = 0.14879661001

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'Prefactor '    16.339       1.0000         .10000E-03   10000.    
     2 'Index     '    3.1274       1.0000          .0000       10.000    
     3 'Normalizat'    .93842       1.0000         .10000E-01   10.000    
     4 'Prefactor '    .88963       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=   3220.494     FROM MIGRAD    STATUS=CONVERGED     87 CALLS      299 TOTAL
                     EDM=   .32E-09    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor     16.350        38.946        .99085E-04    .78136E-04
   2  Index         3.1284        1.3388        .51476E-02    .82942E-04
   3  Normalizat    .93809        .33161        .30042E-03    .54683E-05
   4  Prefactor     .88974        .22594        .21311E-03   -.76668E-04
                               ERR DEF=  .500    
Final values: 
  Prefactor  = 16.3503
  Index      = 3.12836
  Normalizat = 0.938092
  Prefactor  = 0.889745
 **********
 **   18 **HESSE 
 **********

 FCN=   3220.494     FROM HESSE     STATUS=OK            25 CALLS      324 TOTAL
                     EDM=   .17E-09    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  Prefactor     16.350        31.604        .39634E-05   -1.4899    
   2  Index         3.1284        1.0898        .20590E-03   -.38367    
   3  Normalizat    .93809        .33160        .12017E-04   -.95134    
   4  Prefactor     .88974        .22572        .42623E-04   -.96500    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 1.74968e-10
Minuit parameter uncertainties:
  1  31.636
  2  1.10006
  3  0.332327
  4  0.225952
shell-init: error retrieving current directory: getcwd: cannot access parent directories: No such file or directory
rmdir: failed to remove `/scratch/kocevski/128337': 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) = 3220.49417792
delta logL = 0.148799665998

Extracting fit parameters...

4FGL J0920.3-0443
   Spectrum: PowerLaw
250    Prefactor:  1.635e+01  3.164e+01  1.000e-04  1.000e+04 ( 1.000e-13)
251        Index:  3.128e+00  1.100e+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:  8.897e-01  2.260e-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.381e-01  3.323e-01  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Free Index): 1.53
Ra Dec: 140.100 -4.731
Photon Index (Free Index): 3.13 +/- 1.10
Photon Flux (Free Index): 1.01e-07 +/- 1.03e-07
Energy Flux (Free Index): 1.89e-05 +/- 1.85e-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/128337/cmap_HighResolution_648604801_648864001_4FGL_J0920.3-0443_daily_bin1579.png

Cleaning up...

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

Updating database...

UPDATE lightcurve_data_v2 SET energy_flux_upper_limit='1.90e-02', comment='SUCCESS', photon_flux='7.25e-08', energy_flux2='1.89e-05', photon_flux_error='7.76e-08', dlogl='1.49e-01', energy_flux='1.93e-05', photon_flux2='1.01e-07', job_status='DONE', time_completed='2021-08-31 06:58:33.809672', photon_index_error2='1.10', photon_index2='3.13', ts='1.21', fit_tolerance='1e-08', GAL='0.87', photon_index_error='0.00', photon_flux_upper_limit='2.43e-07', energy_flux_error2='1.85e-05', EG='0.97', time_epoch_completed='1630418313.81', return_code='0', job_id='128337', GAL2='0.89', EG2='0.94', return_code2='0', energy_flux_error='2.06e-05', photon_flux_error2='1.03e-07', ts2='1.53', photon_index='2.59' WHERE bin_id='1579' AND source_name='4FGL J0920.3-0443' AND cadence='daily';

Database successfully updated.


Analysis Complete.


Tue Aug 31 06:58:33 PDT 2021


------------------------------------------------------------
Sender: LSF System <lsf@bullet0084>
Subject: Job 128337: <4FGL_J0920.3-0443_daily_bin1579> in cluster <slac> Done

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

Your job looked like:

------------------------------------------------------------
# LSBATCH: User input
/nfs/farm/g/glast/g/LCRepository/Likelihood/Scripts/LikelihoodAnalysis.py 4FGL_J0920.3-0443_daily_bin1579 140.1 -4.7311 648604801 648864001 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 :                                   432.00 sec.
    Max Memory :                                 1255 MB
    Average Memory :                             276.95 MB
    Total Requested Memory :                     -
    Delta Memory :                               -
    Max Swap :                                   -
    Max Processes :                              5
    Max Threads :                                21
    Run time :                                   713 sec.
    Turnaround time :                            714 sec.

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

