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


Performing analysis on: 4FGL_J0920.3-0443_daily_bin1756
RA = 140.1, Dec = -4.7311
tmin = 694483201, tmax = 694742401
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='9235', job_status='RUN', time_executed='2023-01-07 00:37:56.012927', time_epoch_executed='1673080676.01' WHERE source_name='4FGL J0920.3-0443' and cadence='daily' and bin_id='1756'

Database successfully updated.
Done.

Creating custom output directory:
/scratch/kocevski/9235

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

Retrieving the FT1 file...

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

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

Retrieving 46 files...
Done.


Merging files...

Checksum keywords updated successfully.

Merged file saved to:
/scratch/kocevski/9235/ft1_4FGL_J0920.3-0443_daily_bin1756.fits


Retrieving the FT1 file...

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

Retrieving 46 files...
Done.


Merging files...

Merged file saved to:
/scratch/kocevski/9235/ft2_4FGL_J0920.3-0443_daily_bin1756.fits


Selecting the photons:
time -p gtselect infile=/scratch/kocevski/9235/ft1_4FGL_J0920.3-0443_daily_bin1756.fits outfile=/scratch/kocevski/9235/ft1_filteredMKT_4FGL_J0920.3-0443_daily_bin1756.fits ra=140.1 dec=-4.7311 rad=12.0 tmin=694483201.0 tmax=694742401.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.97
user 2.75
sys 0.19

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

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

Number of photons that the gtmktime cut: 157

Generating the livetime cube:
time -p gtltcube evfile="/scratch/kocevski/9235/ft1_filtered_4FGL_J0920.3-0443_daily_bin1756.fits" evtable="EVENTS" scfile=/scratch/kocevski/9235/ft2_4FGL_J0920.3-0443_daily_bin1756.fits sctable="SC_DATA" outfile=/scratch/kocevski/9235/ltcube_694483201_694742401_4FGL_J0920.3-0443_daily_bin1756.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/9235/ft2_4FGL_J0920.3-0443_daily_bin1756.fits
.....................!
real 17.04
user 16.43
sys 0.37

Generating the exposure map:
time -p gtexpmap evfile=/scratch/kocevski/9235/ft1_filtered_4FGL_J0920.3-0443_daily_bin1756.fits evtable="EVENTS" scfile=/scratch/kocevski/9235/ft2_4FGL_J0920.3-0443_daily_bin1756.fits sctable="SC_DATA" expcube=/scratch/kocevski/9235/ltcube_694483201_694742401_4FGL_J0920.3-0443_daily_bin1756.fits outfile=/scratch/kocevski/9235/expmap_694483201_694742401_4FGL_J0920.3-0443_daily_bin1756.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/9235/ltcube_694483201_694742401_4FGL_J0920.3-0443_daily_bin1756.fits
.....................!
real 192.42
user 187.05
sys 4.40

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/9235/ft1_filtered_4FGL_J0920.3-0443_daily_bin1756.fits scfile=/scratch/kocevski/9235/ft2_4FGL_J0920.3-0443_daily_bin1756.fits outfile=/scratch/kocevski/9235/cmap_694483201_694742401_4FGL_J0920.3-0443_daily_bin1756.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.59
user 0.37
sys 0.16

Creating the high resolution counts map:
time -p gtbin evfile=/scratch/kocevski/9235/ft1_filtered_4FGL_J0920.3-0443_daily_bin1756.fits scfile=/scratch/kocevski/9235/ft2_4FGL_J0920.3-0443_daily_bin1756.fits outfile=/scratch/kocevski/9235/cmap_HighResolution_694483201_694742401_4FGL_J0920.3-0443_daily_bin1756.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.60
user 0.39
sys 0.16

Computing the diffuse response:
time -p gtdiffrsp evfile=/scratch/kocevski/9235/ft1_filtered_4FGL_J0920.3-0443_daily_bin1756.fits evtable="EVENTS" scfile=/scratch/kocevski/9235/ft2_4FGL_J0920.3-0443_daily_bin1756.fits sctable="SC_DATA" srcmdl=/scratch/kocevski/9235/Model_4FGL_J0920.3-0443_daily_bin1756.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/9235/ft1_filtered_4FGL_J0920.3-0443_daily_bin1756.fits.......................!
real 29.68
user 28.25
sys 1.19

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

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

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

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'norm      '    76.157       1.0000          .0000       .10000E+07
     2 'Prefactor '    74.924       1.0000          .0000       .10000E+07
     3 'norm      '    .93384E-04   1.0000          .0000       .10000E+07
     4 'norm      '    1.7948       1.0000          .0000       .10000E+07
     5 'Prefactor '    .11119E-02   1.0000          .0000       .10000E+07
     6 'Prefactor '    13.304       1.0000          .0000       .10000E+07
     7 'norm      '    .14817E-04   1.0000          .0000       .10000E+07
     8 'norm      '    4.1471       1.0000          .0000       .10000E+07
     9 'Prefactor '    .32943E-03   1.0000          .0000       .10000E+07
    10 'Prefactor '    .90486E-01   1.0000          .0000       .10000E+07
    11 'Prefactor '    86.893       1.0000          .0000       .10000E+07
    12 'Prefactor '    67.264       1.0000          .0000       .10000E+07
    13 'Prefactor '    .70639E-05   1.0000          .0000       .10000E+07
    14 'norm      '    .12922E-03   1.0000          .0000       .10000E+07
    15 'norm      '    .60528E-04   1.0000          .0000       .10000E+07
    16 'norm      '    2.2541       1.0000          .0000       .10000E+07
    17 'norm      '    .19810E-04   1.0000          .0000       .10000E+07
    18 'Normalizat'    .24898       1.0000         .10000E-01   10.000    
    19 'Prefactor '    1.3308       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=   1900.609     FROM MIGRAD    STATUS=CONVERGED    128 CALLS     1419 TOTAL
                     EDM=   .41E-09  STRATEGY=1  ERROR MATRIX UNCERTAINTY=  1.9%

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  norm          75.671        41.998       -.23715E-05    .39998E-01
   2  Prefactor     75.045        9.2332        .53099E-06   -.15092E-01
   3  norm          .11102E-09    6.1445       -.17655E-06** at limit **
   4  norm          1.6232        5.9526        .55132E-05   -.40687E-03
   5  Prefactor     .15543E-08    14.132       -.70450E-05** at limit **
   6  Prefactor     13.282        1.5382        .31150E-06    .44888E-02
   7  norm          .93814E-07    15.072        .18713E-05** at limit **
   8  norm          3.9039        4.9072        .23525E-06   -.34371E-01
   9  Prefactor     .44964E-08    45.340        .72216E-05** at limit **
  10  Prefactor     .27756E-09    37.999        .73354E-05** at limit **
  11  Prefactor     87.096        21.232        .12197E-05   -.14307    
  12  Prefactor     66.596        55.304       -.31981E-05   -.71641E-01
  13  Prefactor     .24591E-07    16.030       -.71659E-05** at limit **
  14  norm          .55511E-10    3.8733       -.34793E-06** at limit **
  15  norm          .55511E-10    1.8563       -.21503E-07** at limit **
  16  norm          2.2504        1.4229       -.43866E-06   -.10818E-02
  17  norm           .0000        1.6928       -.24551E-07** at limit **
  18  Normalizat    .25102        .41021        .13494E-03   -.37841E-04
  19  Prefactor     1.3316        .29591       -.50114E-04   -.81900E-04
                               ERR DEF=  .500    
Final values: 
  norm       = 75.6705
  Prefactor  = 75.0452
  norm       = 1.11022e-10
  norm       = 1.62324
  Prefactor  = 1.55431e-09
  Prefactor  = 13.2816
  norm       = 9.38138e-08
  norm       = 3.90391
  Prefactor  = 4.4964e-09
  Prefactor  = 2.77556e-10
  Prefactor  = 87.0964
  Prefactor  = 66.5958
  Prefactor  = 2.45914e-08
  norm       = 5.55112e-11
  norm       = 5.55112e-11
  norm       = 2.25039
  norm       = 0
  Normalizat = 0.251019
  Prefactor  = 1.33157
 **********
 **   18 **HESSE 
 **********

 FCN=   1900.609     FROM HESSE     STATUS=OK           306 CALLS     1725 TOTAL
                     EDM=   .37E-05    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  norm          75.671        75.428        .11460E-03   -1.5534    
   2  Prefactor     75.045        94.169        .11554E-03   -1.5535    
   3  norm          .11102E-09    6.1870        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   4  norm          1.6232        6.0994        .78026E-03   -1.5682    
   5  Prefactor     .15543E-08    14.109        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   6  Prefactor     13.282        18.008        .27436E-03   -1.5635    
   7  norm          .93814E-07    15.449        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   8  norm          3.9039        33.717        .49472E-03   -1.5668    
   9  Prefactor     .44964E-08    45.305        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  10  Prefactor     .27756E-09    12.114        .78464E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  11  Prefactor     87.096        112.20        .10728E-03   -1.5521    
  12  Prefactor     66.596        70.164        .12194E-03   -1.5545    
  13  Prefactor     .24591E-07    16.092        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  14  norm          .55511E-10    3.8883        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  15  norm          .55511E-10    1.8632        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  16  norm          2.2504        1.4759        .68405E-03   -1.5678    
  17  norm           .0000        1.7057        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  18  Normalizat    .25102        .56268        .12361       -1.2589    
  19  Prefactor     1.3316        .36551        .32093E-01   -.82373    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 3.69942e-06
Minuit parameter uncertainties:
  1  75.4287
  2  94.1705
  3  5.17421e-05
  4  6.0994
  5  0.000293838
  6  18.0085
  7  0.00240766
  8  22.9462
  9  0.000901408
  10  0.000119135
  11  112.205
  12  70.165
  13  0.00125826
  14  2.9e-05
  15  1.68764e-05
  16  1.47595
  17  1.3866e-06
  18  0.576154
  19  0.366214
Done.

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

Extracting fit parameters...

4FGL J0920.3-0443
   Spectrum: PowerLaw
250    Prefactor:  4.496e-09  9.014e-04  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:  1.332e+00  3.662e-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:  2.510e-01  5.762e-01  1.000e-02  1.000e+01 ( 1.000e+00)


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

Saving results to:
/scratch/kocevski/9235/likelihoodResults_694483201_694742401_4FGL_J0920.3-0443_daily_bin1756.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): 102
logL (Free Index) = 1900.61937008
delta logL = -0.0106270959341

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

MINUIT Return Code (Free Index): 102
logL (Free Index) = 1900.60874315
delta logL = -1.6668286662e-07

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'Prefactor '    .58781E-05   1.0000          .0000       .10000E+07
     2 'Index     '    1.4171       1.0000          .0000       10.000    
     3 'Normalizat'    .25089       1.0000         .10000E-01   10.000    
     4 'Prefactor '    1.3316       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.

 FCN=   1900.414     FROM MIGRAD    STATUS=CONVERGED    156 CALLS      314 TOTAL
                     EDM=   .16E-09    STRATEGY= 1      ERR MATRIX NOT POS-DEF

  EXT PARAMETER                APPROXIMATE        STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor     .30961E-02    .12748        .88279E-04** at limit **
   2  Index         7.4336        7.4489        .16501        .50601E-04
   3  Normalizat    .14067        .69689E-01    .16633        .30364E-04
   4  Prefactor     1.3859        .51961E-01    .32080E-01   -.25203E-03
                               ERR DEF=  .500    
Final values: 
  Prefactor  = 0.00309606
  Index      = 7.4336
  Normalizat = 0.140674
  Prefactor  = 1.38593
 **********
 **   18 **HESSE 
 **********

 FCN=   1900.414     FROM HESSE     STATUS=NOT POSDEF    35 CALLS      349 TOTAL
                     EDM=   .24E-08    STRATEGY= 1      ERR MATRIX NOT POS-DEF

  EXT PARAMETER                APPROXIMATE     INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  Prefactor     .30961E-02    .41369        .40095E-05   -1.5707    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   2  Index         7.4336        8.5485        .57479E-02    .50833    
   3  Normalizat    .14067        .30583        .71666E-02   -1.3416    
   4  Prefactor     1.3859        .21749        .17563E-03   -.80787    
                               ERR DEF=  .500    
Minuit fit quality: 2   estimated distance: 2.40373e-09
Minuit parameter uncertainties:
  1  0.071577
  2  10.6928
  3  0.309659
  4  0.217634
shell-init: error retrieving current directory: getcwd: cannot access parent directories: No such file or directory
rmdir: failed to remove `/scratch/kocevski/9235': 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): 102
logL (Free Index) = 1900.41424813
delta logL = 0.194494855457

Extracting fit parameters...

4FGL J0920.3-0443
   Spectrum: PowerLaw
250    Prefactor:  3.096e-03  7.158e-02  0.000e+00  1.000e+06 ( 1.000e-13)
251        Index:  7.434e+00  1.069e+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.386e+00  2.176e-01  0.000e+00  1.000e+01 ( 1.000e+00)
488        Index:  0.000e+00  0.000e+00 -1.000e+00  1.000e+00 ( 1.000e+00) fixed
489        Scale:  1.000e+02  0.000e+00  5.000e+01  2.000e+02 ( 1.000e+00) fixed

EG_v02
   Spectrum: FileFunction
486   Normalization:  1.407e-01  3.097e-01  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Free Index): -0.00
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/9235/cmap_HighResolution_694483201_694742401_4FGL_J0920.3-0443_daily_bin1756.png

Cleaning up...

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

Updating database...

UPDATE lightcurve_data_v2 SET energy_flux_upper_limit='2.21e-02', job_status='DONE', photon_flux_upper_limit='2.82e-07', time_completed='2023-01-07 00:44:08.925050', job_id='9235', GAL2='1.39', fit_tolerance='1e-08', EG2='0.14', EG='0.25', time_epoch_completed='1673081048.93', return_code2='102', ts='-0.00', comment='SUCCESS', return_code='0', GAL='1.33', dlogl='1.94e-01', ts2='0.46', photon_index_error='0.00', photon_index='2.59' WHERE bin_id='1756' AND source_name='4FGL J0920.3-0443' AND cadence='daily';

Database successfully updated.


Analysis Complete.


Sat Jan  7 00:44:08 PST 2023


------------------------------------------------------------
Sender: LSF System <lsf@bullet0222>
Subject: Job 9235: <4FGL_J0920.3-0443_daily_bin1756> in cluster <slac> Done

Job <4FGL_J0920.3-0443_daily_bin1756> was submitted from host <rhel6-64p> by user <kocevski> in cluster <slac> at Sat Jan  7 00:35:26 2023
Job was executed on host(s) <bullet0222>, in queue <medium>, as user <kocevski> in cluster <slac> at Sat Jan  7 00:36:53 2023
</u/ki/kocevski> was used as the home directory.
</u/ki/kocevski> was used as the working directory.
Started at Sat Jan  7 00:36:53 2023
Terminated at Sat Jan  7 00:44:09 2023
Results reported at Sat Jan  7 00:44:09 2023

Your job looked like:

------------------------------------------------------------
# LSBATCH: User input
/nfs/farm/g/glast/g/LCRepository/Likelihood/Scripts/LikelihoodAnalysis.py 4FGL_J0920.3-0443_daily_bin1756 140.1 -4.7311 694483201 694742401 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 :                                   374.00 sec.
    Max Memory :                                 1093 MB
    Average Memory :                             293.41 MB
    Total Requested Memory :                     -
    Delta Memory :                               -
    Max Swap :                                   -
    Max Processes :                              5
    Max Threads :                                21
    Run time :                                   436 sec.
    Turnaround time :                            523 sec.

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

