aklog: Couldn't determine realm of user:aklog: No credentials cache found  while getting realm
/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 98 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 make4FGLDR3xml version 01r09.
The default diffuse model files and names are for P8R3, 4FGL DRs, and the default fermitools directory locations.

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


Performing analysis on: 4FGL_J0920.3-0443_daily_bin1772
RA = 140.1, Dec = -4.7311
tmin = 698630401, tmax = 698889601
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='625352', job_status='RUN', time_executed='2023-02-24 01:12:03.320696', time_epoch_executed='1677229923.32' WHERE source_name='4FGL J0920.3-0443' and cadence='daily' and bin_id='1772'

Database successfully updated.
Done.

Creating custom output directory:
/scratch/kocevski/625352

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

Retrieving the FT1 file...

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

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

Retrieving 46 files...
Done.


Merging files...

Checksum keywords updated successfully.

Merged file saved to:
/scratch/kocevski/625352/ft1_4FGL_J0920.3-0443_daily_bin1772.fits


Retrieving the FT1 file...

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

Retrieving 46 files...
Done.


Merging files...

Merged file saved to:
/scratch/kocevski/625352/ft2_4FGL_J0920.3-0443_daily_bin1772.fits


Selecting the photons:
time -p gtselect infile=/scratch/kocevski/625352/ft1_4FGL_J0920.3-0443_daily_bin1772.fits outfile=/scratch/kocevski/625352/ft1_filteredMKT_4FGL_J0920.3-0443_daily_bin1772.fits ra=140.1 dec=-4.7311 rad=12.0 tmin=698630401.0 tmax=698889601.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 2.99
user 2.78
sys 0.19

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

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

Number of photons that the gtmktime cut: 91

Generating the livetime cube:
time -p gtltcube evfile="/scratch/kocevski/625352/ft1_filtered_4FGL_J0920.3-0443_daily_bin1772.fits" evtable="EVENTS" scfile=/scratch/kocevski/625352/ft2_4FGL_J0920.3-0443_daily_bin1772.fits sctable="SC_DATA" outfile=/scratch/kocevski/625352/ltcube_698630401_698889601_4FGL_J0920.3-0443_daily_bin1772.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/625352/ft2_4FGL_J0920.3-0443_daily_bin1772.fits
.....................!
real 13.10
user 12.67
sys 0.32

Generating the exposure map:
time -p gtexpmap evfile=/scratch/kocevski/625352/ft1_filtered_4FGL_J0920.3-0443_daily_bin1772.fits evtable="EVENTS" scfile=/scratch/kocevski/625352/ft2_4FGL_J0920.3-0443_daily_bin1772.fits sctable="SC_DATA" expcube=/scratch/kocevski/625352/ltcube_698630401_698889601_4FGL_J0920.3-0443_daily_bin1772.fits outfile=/scratch/kocevski/625352/expmap_698630401_698889601_4FGL_J0920.3-0443_daily_bin1772.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/625352/ltcube_698630401_698889601_4FGL_J0920.3-0443_daily_bin1772.fits
.....................!
real 189.87
user 185.19
sys 4.18

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/625352/ft1_filtered_4FGL_J0920.3-0443_daily_bin1772.fits scfile=/scratch/kocevski/625352/ft2_4FGL_J0920.3-0443_daily_bin1772.fits outfile=/scratch/kocevski/625352/cmap_698630401_698889601_4FGL_J0920.3-0443_daily_bin1772.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.53
user 0.38
sys 0.14

Creating the high resolution counts map:
time -p gtbin evfile=/scratch/kocevski/625352/ft1_filtered_4FGL_J0920.3-0443_daily_bin1772.fits scfile=/scratch/kocevski/625352/ft2_4FGL_J0920.3-0443_daily_bin1772.fits outfile=/scratch/kocevski/625352/cmap_HighResolution_698630401_698889601_4FGL_J0920.3-0443_daily_bin1772.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.56
user 0.40
sys 0.15

Computing the diffuse response:
time -p gtdiffrsp evfile=/scratch/kocevski/625352/ft1_filtered_4FGL_J0920.3-0443_daily_bin1772.fits evtable="EVENTS" scfile=/scratch/kocevski/625352/ft2_4FGL_J0920.3-0443_daily_bin1772.fits sctable="SC_DATA" srcmdl=/scratch/kocevski/625352/Model_4FGL_J0920.3-0443_daily_bin1772.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/625352/ft1_filtered_4FGL_J0920.3-0443_daily_bin1772.fits.......................!
real 24.06
user 22.84
sys 1.15

Creating the likelihood object...
obs = UnbinnedObs('/scratch/kocevski/625352/ft1_filtered_4FGL_J0920.3-0443_daily_bin1772.fits', '/scratch/kocevski/625352/ft2_4FGL_J0920.3-0443_daily_bin1772.fits', expMap='/scratch/kocevski/625352/expmap_698630401_698889601_4FGL_J0920.3-0443_daily_bin1772.fits', expCube='/scratch/kocevski/625352/ltcube_698630401_698889601_4FGL_J0920.3-0443_daily_bin1772.fits', irfs='P8R3_SOURCE_V2')
like = UnbinnedAnalysis(obs, '/scratch/kocevski/625352/Model_4FGL_J0920.3-0443_daily_bin1772.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  0.000e+00  1.000e+06 ( 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/625352/ft1_filtered_4FGL_J0920.3-0443_daily_bin1772.fits
Spacecraft file(s): /scratch/kocevski/625352/ft2_4FGL_J0920.3-0443_daily_bin1772.fits
Exposure map: /scratch/kocevski/625352/expmap_698630401_698889601_4FGL_J0920.3-0443_daily_bin1772.fits
Exposure cube: /scratch/kocevski/625352/ltcube_698630401_698889601_4FGL_J0920.3-0443_daily_bin1772.fits
IRFs: P8R3_SOURCE_V2
Source model file: /scratch/kocevski/625352/Model_4FGL_J0920.3-0443_daily_bin1772.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) = 1146.95791597

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

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

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'norm      '    .23833E-01   1.0000          .0000       .10000E+07
     2 'Prefactor '    .18166E-03   1.0000          .0000       .10000E+07
     3 'norm      '    10.730       1.0000          .0000       .10000E+07
     4 'norm      '    .41856E-03   1.0000          .0000       .10000E+07
     5 'Prefactor '    .83467E-04   1.0000          .0000       .10000E+07
     6 'Prefactor '    3.1521       1.0000          .0000       .10000E+07
     7 'norm      '    .28813E-04   1.0000          .0000       .10000E+07
     8 'norm      '    44.628       1.0000          .0000       .10000E+07
     9 'Prefactor '    18.413       1.0000          .0000       .10000E+07
    10 'Prefactor '    .84390E-02   1.0000          .0000       .10000E+07
    11 'Prefactor '    4.7467       1.0000          .0000       .10000E+07
    12 'Prefactor '    .18986E-01   1.0000          .0000       .10000E+07
    13 'Prefactor '    .21283       1.0000          .0000       .10000E+07
    14 'norm      '    .15848E-02   1.0000          .0000       .10000E+07
    15 'norm      '    .97761E-05   1.0000          .0000       .10000E+07
    16 'norm      '    .13866E-03   1.0000          .0000       .10000E+07
    17 'norm      '    .57342E-05   1.0000          .0000       .10000E+07
    18 'Normalizat'    .66011       1.0000         .10000E-01   10.000    
    19 'Prefactor '    .77928       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=   1146.934     FROM MIGRAD    STATUS=CONVERGED    193 CALLS     1438 TOTAL
                     EDM=   .35E-11  STRATEGY=1  ERROR MATRIX UNCERTAINTY=  1.5%

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  norm           .0000        38.615       -.30721E-06** at limit **
   2  Prefactor      .0000        137.67        .12593E-05** at limit **
   3  norm          10.540        15.863       -.26527E-06    .53035E-04
   4  norm           .0000        7.5876        .25972E-06** at limit **
   5  Prefactor      .0000        7.6674        .35889E-07** at limit **
   6  Prefactor     3.1095        22.010       -.35587E-06   -.13594E-05
   7  norm           .0000        8.1133        .56523E-07** at limit **
   8  norm          44.738        32.742       -.36492E-06    .86429E-04
   9  Prefactor     19.495        54.053        .11038E-06   -.68455E-04
  10  Prefactor      .0000        21.463       -.18805E-06** at limit **
  11  Prefactor     3.4382        1377.6        .16994E-05   -.34487E-04
  12  Prefactor      .0000        39.145        .52575E-06** at limit **
  13  Prefactor      .0000        77.916       -.20615E-06** at limit **
  14  norm           .0000        27.072        .24320E-06** at limit **
  15  norm           .0000        5.2092       -.14366E-06** at limit **
  16  norm           .0000        4.3428       -.76278E-07** at limit **
  17  norm           .0000        2.6289       -.39580E-07** at limit **
  18  Normalizat    .65889        .49218       -.31970E-05   -.32553E-05
  19  Prefactor     .78049        .33885        .42460E-05   -.53949E-05
                               ERR DEF=  .500    
Final values: 
  norm       = 0
  Prefactor  = 0
  norm       = 10.5396
  norm       = 0
  Prefactor  = 0
  Prefactor  = 3.10948
  norm       = 0
  norm       = 44.7377
  Prefactor  = 19.4949
  Prefactor  = 0
  Prefactor  = 3.43824
  Prefactor  = 0
  Prefactor  = 0
  norm       = 0
  norm       = 0
  norm       = 0
  norm       = 0
  Normalizat = 0.658891
  Prefactor  = 0.780487
 **********
 **   18 **HESSE 
 **********

 FCN=   1146.934     FROM HESSE     STATUS=OK           298 CALLS     1736 TOTAL
                     EDM=   .36E-07    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  norm           .0000        38.232        .16796E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   2  Prefactor      .0000        137.26        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   3  norm          10.540        15.757        .30562E-03   -1.5643    
   4  norm           .0000        7.4989        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   5  Prefactor      .0000        7.6747        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   6  Prefactor     3.1095        22.163        .57067E-03   -1.5673    
   7  norm           .0000        8.1188        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   8  norm          44.738        32.776        .14970E-03   -1.5574    
   9  Prefactor     19.495        54.485        .23313E-03   -1.5620    
  10  Prefactor      .0000        21.451        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  11  Prefactor     3.4382        1493.1        .46159E-03   -1.5671    
  12  Prefactor      .0000        39.035        .17104E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  13  Prefactor      .0000        77.773        .11552E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  14  norm           .0000        26.988        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  15  norm           .0000        5.2091        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  16  norm           .0000        4.3391        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  17  norm           .0000        2.6287        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  18  Normalizat    .65889        .39741        .65544E-01   -1.0554    
  19  Prefactor     .78049        .26978        .43447E-01   -1.0045    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 3.57883e-08
Minuit parameter uncertainties:
  1  1.12215e-05
  2  7.08727e-05
  3  15.7572
  4  3.46473e-06
  5  3.58152e-07
  6  16.6031
  7  8.54423e-07
  8  32.7761
  9  54.4865
  10  6.34427e-06
  11  143.336
  12  1.24948e-05
  13  3.29659e-05
  14  4.20122e-06
  15  2.19125e-06
  16  2.34185e-06
  17  5.76629e-07
  18  0.399156
  19  0.270238
Done.

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

Extracting fit parameters...

4FGL J0920.3-0443
   Spectrum: PowerLaw
250    Prefactor:  1.949e+01  5.449e+01  0.000e+00  1.000e+06 ( 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.805e-01  2.702e-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.589e-01  3.992e-01  1.000e-02  1.000e+01 ( 1.000e+00)


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

Saving results to:
/scratch/kocevski/625352/likelihoodResults_698630401_698889601_4FGL_J0920.3-0443_daily_bin1772.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) = 1146.19283827
delta logL = 0.741616765669

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

MINUIT Return Code (Free Index): 0
logL (Free Index) = 1146.05206586
delta logL = 0.882389178157

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'Prefactor '    47.815       1.0000          .0000       .10000E+07
     2 'Index     '    1.3822       1.0000          .0000       10.000    
     3 'Normalizat'    .68697       1.0000         .10000E-01   10.000    
     4 'Prefactor '    .76033       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=   1146.052     FROM MIGRAD    STATUS=CONVERGED     52 CALLS      211 TOTAL
                     EDM=   .27E-10  STRATEGY=1  ERROR MATRIX UNCERTAINTY=  4.4%

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor     47.965        68.210        .37009E-05   -.84343E-04
   2  Index         1.3817        .72483        .18987E-03    .15228E-06
   3  Normalizat    .68789        .39188       -.19339E-05   -.84637E-04
   4  Prefactor     .75973        .26003       -.91494E-06   -.11262E-03
                               ERR DEF=  .500    
Final values: 
  Prefactor  = 47.9651
  Index      = 1.38168
  Normalizat = 0.687894
  Prefactor  = 0.759732
 **********
 **   18 **HESSE 
 **********

 FCN=   1146.052     FROM HESSE     STATUS=OK            29 CALLS      240 TOTAL
                     EDM=   .16E-09    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  Prefactor     47.965        67.289        .28926E-04   -1.5569    
   2  Index         1.3817        .71489        .55850E-02   -.80910    
   3  Normalizat    .68789        .48684        .28382E-03   -1.0437    
   4  Prefactor     .75973        .32389        .17814E-03   -1.0123    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 1.56339e-10
Minuit parameter uncertainties:
  1  67.2902
  2  0.720103
  3  0.489944
  4  0.324698
shell-init: error retrieving current directory: getcwd: cannot access parent directories: No such file or directory
rmdir: failed to remove `/scratch/kocevski/625352': 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) = 1146.0520592
delta logL = 0.88239583738

Extracting fit parameters...

4FGL J0920.3-0443
   Spectrum: PowerLaw
250    Prefactor:  4.797e+01  6.729e+01  0.000e+00  1.000e+06 ( 1.000e-13)
251        Index:  1.382e+00  7.201e-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.597e-01  3.247e-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.879e-01  4.899e-01  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Free Index): 1.97
Ra Dec: 140.100 -4.731
Photon Index (Free Index): 1.38 +/- 0.72
Photon Flux (Free Index): 2.78e-08 +/- 4.13e-08
Energy Flux (Free Index): 1.30e-04 +/- 2.47e-04

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/625352/cmap_HighResolution_698630401_698889601_4FGL_J0920.3-0443_daily_bin1772.png

Cleaning up...

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

Updating database...

UPDATE lightcurve_data_v2 SET energy_flux_upper_limit='3.30e-02', comment='SUCCESS', energy_flux2='1.30e-04', dlogl='8.82e-01', photon_flux2='2.78e-08', job_status='DONE', time_completed='2023-02-24 01:17:45.621583', photon_index_error2='0.72', photon_index2='1.38', ts='0.19', fit_tolerance='1e-08', GAL='0.78', photon_index_error='0.00', photon_flux_upper_limit='4.22e-07', energy_flux_error2='2.47e-04', EG='0.66', time_epoch_completed='1677230265.62', return_code='0', job_id='625352', GAL2='0.76', EG2='0.69', return_code2='0', photon_flux_error2='4.13e-08', ts2='1.97', photon_index='2.59' WHERE bin_id='1772' AND source_name='4FGL J0920.3-0443' AND cadence='daily';

Database successfully updated.


Analysis Complete.


Fri Feb 24 01:17:45 PST 2023


------------------------------------------------------------
Sender: LSF System <lsf@bullet0265>
Subject: Job 625352: <4FGL_J0920.3-0443_daily_bin1772> in cluster <slac> Done

Job <4FGL_J0920.3-0443_daily_bin1772> was submitted from host <rhel6-64f> by user <kocevski> in cluster <slac> at Fri Feb 24 01:10:13 2023
Job was executed on host(s) <bullet0265>, in queue <medium>, as user <kocevski> in cluster <slac> at Fri Feb 24 01:10:14 2023
</u/ki/kocevski> was used as the home directory.
</u/ki/kocevski> was used as the working directory.
Started at Fri Feb 24 01:10:14 2023
Terminated at Fri Feb 24 01:17:46 2023
Results reported at Fri Feb 24 01:17:46 2023

Your job looked like:

------------------------------------------------------------
# LSBATCH: User input
/nfs/farm/g/glast/g/LCRepository/Likelihood/Scripts/LikelihoodAnalysis.py 4FGL_J0920.3-0443_daily_bin1772 140.1 -4.7311 698630401 698889601 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 :                                   344.02 sec.
    Max Memory :                                 1254 MB
    Average Memory :                             291.80 MB
    Total Requested Memory :                     -
    Delta Memory :                               -
    Max Swap :                                   -
    Max Processes :                              5
    Max Threads :                                21
    Run time :                                   451 sec.
    Turnaround time :                            453 sec.

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

