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


Performing analysis on: 4FGL_J0920.3-0443_daily_bin1760
RA = 140.1, Dec = -4.7311
tmin = 695520001, tmax = 695779201
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='733488', job_status='RUN', time_executed='2023-01-19 00:45:19.845999', time_epoch_executed='1674117919.85' WHERE source_name='4FGL J0920.3-0443' and cadence='daily' and bin_id='1760'

Database successfully updated.
Done.

Creating custom output directory:
/scratch/kocevski/733488

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

Retrieving the FT1 file...

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

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

Retrieving 45 files...
Done.


Merging files...

Checksum keywords updated successfully.

Merged file saved to:
/scratch/kocevski/733488/ft1_4FGL_J0920.3-0443_daily_bin1760.fits


Retrieving the FT1 file...

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

Retrieving 45 files...
Done.


Merging files...

Merged file saved to:
/scratch/kocevski/733488/ft2_4FGL_J0920.3-0443_daily_bin1760.fits


Selecting the photons:
time -p gtselect infile=/scratch/kocevski/733488/ft1_4FGL_J0920.3-0443_daily_bin1760.fits outfile=/scratch/kocevski/733488/ft1_filteredMKT_4FGL_J0920.3-0443_daily_bin1760.fits ra=140.1 dec=-4.7311 rad=12.0 tmin=695520001.0 tmax=695779201.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.47
user 2.23
sys 0.20

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

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

Number of photons that the gtmktime cut: 473

Generating the livetime cube:
time -p gtltcube evfile="/scratch/kocevski/733488/ft1_filtered_4FGL_J0920.3-0443_daily_bin1760.fits" evtable="EVENTS" scfile=/scratch/kocevski/733488/ft2_4FGL_J0920.3-0443_daily_bin1760.fits sctable="SC_DATA" outfile=/scratch/kocevski/733488/ltcube_695520001_695779201_4FGL_J0920.3-0443_daily_bin1760.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/733488/ft2_4FGL_J0920.3-0443_daily_bin1760.fits
.....................!
real 16.89
user 16.44
sys 0.34

Generating the exposure map:
time -p gtexpmap evfile=/scratch/kocevski/733488/ft1_filtered_4FGL_J0920.3-0443_daily_bin1760.fits evtable="EVENTS" scfile=/scratch/kocevski/733488/ft2_4FGL_J0920.3-0443_daily_bin1760.fits sctable="SC_DATA" expcube=/scratch/kocevski/733488/ltcube_695520001_695779201_4FGL_J0920.3-0443_daily_bin1760.fits outfile=/scratch/kocevski/733488/expmap_695520001_695779201_4FGL_J0920.3-0443_daily_bin1760.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/733488/ltcube_695520001_695779201_4FGL_J0920.3-0443_daily_bin1760.fits
.....................!
real 195.18
user 188.04
sys 5.66

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/733488/ft1_filtered_4FGL_J0920.3-0443_daily_bin1760.fits scfile=/scratch/kocevski/733488/ft2_4FGL_J0920.3-0443_daily_bin1760.fits outfile=/scratch/kocevski/733488/cmap_695520001_695779201_4FGL_J0920.3-0443_daily_bin1760.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.58
user 0.39
sys 0.16

Creating the high resolution counts map:
time -p gtbin evfile=/scratch/kocevski/733488/ft1_filtered_4FGL_J0920.3-0443_daily_bin1760.fits scfile=/scratch/kocevski/733488/ft2_4FGL_J0920.3-0443_daily_bin1760.fits outfile=/scratch/kocevski/733488/cmap_HighResolution_695520001_695779201_4FGL_J0920.3-0443_daily_bin1760.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.58
user 0.40
sys 0.17

Computing the diffuse response:
time -p gtdiffrsp evfile=/scratch/kocevski/733488/ft1_filtered_4FGL_J0920.3-0443_daily_bin1760.fits evtable="EVENTS" scfile=/scratch/kocevski/733488/ft2_4FGL_J0920.3-0443_daily_bin1760.fits sctable="SC_DATA" srcmdl=/scratch/kocevski/733488/Model_4FGL_J0920.3-0443_daily_bin1760.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/733488/ft1_filtered_4FGL_J0920.3-0443_daily_bin1760.fits.....................!
real 60.54
user 58.90
sys 1.32

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

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

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

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'norm      '    .95288E-03   1.0000          .0000       .10000E+07
     2 'Prefactor '    14.435       1.0000          .0000       .10000E+07
     3 'norm      '    4.1165       1.0000          .0000       .10000E+07
     4 'norm      '    2.5400       1.0000          .0000       .10000E+07
     5 'Prefactor '    10.717       1.0000          .0000       .10000E+07
     6 'Prefactor '    .20972E-06   1.0000          .0000       .10000E+07
     7 'norm      '    .21451       1.0000          .0000       .10000E+07
     8 'norm      '    1.1847       1.0000          .0000       .10000E+07
     9 'Prefactor '    .50110E-05   1.0000          .0000       .10000E+07
    10 'Prefactor '    4.2023       1.0000          .0000       .10000E+07
    11 'Prefactor '    20.283       1.0000          .0000       .10000E+07
    12 'Prefactor '    .59586E-06   1.0000          .0000       .10000E+07
    13 'Prefactor '    20.835       1.0000          .0000       .10000E+07
    14 'norm      '    15.984       1.0000          .0000       .10000E+07
    15 'norm      '    1.7191       1.0000          .0000       .10000E+07
    16 'norm      '    1.3608       1.0000          .0000       .10000E+07
    17 'norm      '    1.2532       1.0000          .0000       .10000E+07
    18 'Normalizat'    1.1046       1.0000         .10000E-01   10.000    
    19 'Prefactor '    .64644       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=   5424.388     FROM MIGRAD    STATUS=CONVERGED     87 CALLS     1349 TOTAL
                     EDM=   .17E-08  STRATEGY=1  ERROR MATRIX UNCERTAINTY=   .6%

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  norm          .96367E-07    31.122        .22818E-05** at limit **
   2  Prefactor     14.299        1.8011        .17935E-06   -.84147E-01
   3  norm          4.1273        4.7095       -.80651E-06    .22776E-01
   4  norm          2.5337        2.6058        .39039E-06    .82434E-03
   5  Prefactor     10.721        1.7649        .19215E-06   -.81220E-01
   6  Prefactor      .0000        1.7142        .51666E-06** at limit **
   7  norm          .22097        3.1238        .24586E-06** at limit **
   8  norm          1.1418        8.8726        .20124E-05    .20443E-01
   9  Prefactor      .0000        3.7031       -.22663E-06** at limit **
  10  Prefactor     4.1719        5.8881       -.41243E-06    .69229E-02
  11  Prefactor     20.453        2.4062       -.21481E-06    .13107    
  12  Prefactor     .55511E-10    6.9021        .12481E-05** at limit **
  13  Prefactor     20.883        1.2592       -.61803E-07    .75696E-01
  14  norm          16.003        6.2077        .36221E-06    .81316E-01
  15  norm          1.7206        2.6054        .19154E-06    .96694E-03
  16  norm          1.3598        .67575       -.92220E-07   -.20421E-02
  17  norm          1.2521        1.0029       -.18898E-07   -.88476E-03
  18  Normalizat    1.1046        .22827       -.37363E-05   -.15499E-03
  19  Prefactor     .64653        .15895       -.25705E-05   -.17322E-03
                               ERR DEF=  .500    
Final values: 
  norm       = 9.63674e-08
  Prefactor  = 14.2991
  norm       = 4.12731
  norm       = 2.53366
  Prefactor  = 10.7213
  Prefactor  = 0
  norm       = 0.220969
  norm       = 1.14183
  Prefactor  = 0
  Prefactor  = 4.17192
  Prefactor  = 20.4526
  Prefactor  = 5.55112e-11
  Prefactor  = 20.8832
  norm       = 16.0033
  norm       = 1.72061
  norm       = 1.35983
  norm       = 1.25212
  Normalizat = 1.1046
  Prefactor  = 0.646533
 **********
 **   18 **HESSE 
 **********

 FCN=   5424.388     FROM HESSE     STATUS=OK           320 CALLS     1669 TOTAL
                     EDM=   .10E-05    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  norm          .96367E-07    31.089        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   2  Prefactor     14.299        22.594        .26336E-03   -1.5632    
   3  norm          4.1273        9.0979        .49661E-03   -1.5667    
   4  norm          2.5337        2.7232        .64053E-03   -1.5676    
   5  Prefactor     10.721        11.878        .30581E-03   -1.5642    
   6  Prefactor      .0000        1.7158        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   7  norm          .22097        2.7543        .69124E-02   -1.5699    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   8  norm          1.1418        12.432        .10483E-02   -1.5687    
   9  Prefactor      .0000        3.7206        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  10  Prefactor     4.1719        6.0458        .49136E-03   -1.5667    
  11  Prefactor     20.453        24.641        .22211E-03   -1.5618    
  12  Prefactor     .55511E-10    6.9325        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  13  Prefactor     20.883        22.193        .21915E-03   -1.5617    
  14  norm          16.003        7.4361        .25025E-03   -1.5628    
  15  norm          1.7206        2.6215        .80098E-03   -1.5682    
  16  norm          1.3598        .68157        .91926E-03   -1.5685    
  17  norm          1.2521        1.0075        .99787E-03   -1.5686    
  18  Normalizat    1.1046        .19471        .54958E-01   -.89604    
  19  Prefactor     .64653        .13461        .41684E-01   -1.0566    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 1.03111e-06
Minuit parameter uncertainties:
  1  0.0034617
  2  22.5942
  3  9.09796
  4  2.72324
  5  11.8776
  6  8.93876e-06
  7  1.56029
  8  7.5354
  9  1.21101e-05
  10  6.04582
  11  24.6407
  12  3.44022e-05
  13  22.1935
  14  7.4361
  15  2.62154
  16  0.681574
  17  1.00751
  18  0.194835
  19  0.13468
Done.

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

Extracting fit parameters...

4FGL J0920.3-0443
   Spectrum: PowerLaw
250    Prefactor:  0.000e+00  1.211e-05  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:  6.465e-01  1.347e-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.105e+00  1.948e-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: 4.94e-08 ph cm-2 s-1
Energy Flux Upper Limit: 3.87e-03 MeV cm-2 s-1

Saving results to:
/scratch/kocevski/733488/likelihoodResults_695520001_695779201_4FGL_J0920.3-0443_daily_bin1760.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) = 5424.38846299
delta logL = -0.000315556438181

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

MINUIT Return Code (Free Index): 102
logL (Free Index) = 5424.3881485
delta logL = -1.06718198367e-06

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'Prefactor '    .23643E-05   1.0000          .0000       .10000E+07
     2 'Index     '    1.0030       1.0000          .0000       10.000    
     3 'Normalizat'    1.1043       1.0000         .10000E-01   10.000    
     4 'Prefactor '    .64667       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.
  MNHESS FAILS AND WILL RETURN DIAGONAL MATRIX. 

 FCN=   5424.388     FROM MIGRAD    STATUS=CONVERGED     40 CALLS      243 TOTAL
                     EDM=   .15E-09  STRATEGY=1  ERROR MATRIX UNCERTAINTY=100.0%

  EXT PARAMETER                APPROXIMATE        STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor      .0000        4.9691        .42118E-03** at limit **
   2  Index         2.3209        1.8237       -.59461E-03     .0000    
   3  Normalizat    1.1046        1.1524        .20530E-05   -.15164E-03
   4  Prefactor     .64653        .99570        .32446E-05   -.38239E-03
                               ERR DEF=  .500    
Final values: 
  Prefactor  = 0
  Index      = 2.3209
  Normalizat = 1.1046
  Prefactor  = 0.646531
 **********
 **   18 **HESSE 
 **********
  MNHESS FAILS AND WILL RETURN DIAGONAL MATRIX. 

 FCN=   5424.388     FROM HESSE     STATUS=FAILED         9 CALLS      252 TOTAL
                     EDM=   .15E-09  STRATEGY=1  ERROR MATRIX UNCERTAINTY=100.0%

  EXT PARAMETER                APPROXIMATE     INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  Prefactor      .0000        4.9691        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   2  Index         .60091        1.9829       -.59461E-03   -.56548    
   3  Normalizat    1.1046        1.1524        .20530E-05   -.89604    
   4  Prefactor     .64653        .99570        .32446E-05   -1.0566    
                               ERR DEF=  .500    
Minuit fit quality: 1   estimated distance: 1.5261e-10
Minuit parameter uncertainties:
  1  1.02775e-05
  2  1.88577
  3  1.18034
  4  1.02513
shell-init: error retrieving current directory: getcwd: cannot access parent directories: No such file or directory
rmdir: failed to remove `/scratch/kocevski/733488': 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): 101
logL (Free Index) = 5424.38814744
delta logL = -1.10958353616e-10

Extracting fit parameters...

4FGL J0920.3-0443
   Spectrum: PowerLaw
250    Prefactor:  0.000e+00  1.028e-05  0.000e+00  1.000e+06 ( 1.000e-13)
251        Index:  2.321e+00  1.886e+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:  6.465e-01  1.025e+00  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.105e+00  1.180e+00  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/733488/cmap_HighResolution_695520001_695779201_4FGL_J0920.3-0443_daily_bin1760.png

Cleaning up...

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

Updating database...

UPDATE lightcurve_data_v2 SET energy_flux_upper_limit='3.87e-03', job_status='DONE', photon_flux_upper_limit='4.94e-08', time_completed='2023-01-19 00:53:32.265938', job_id='733488', GAL2='0.65', fit_tolerance='1e-08', EG2='1.10', EG='1.10', time_epoch_completed='1674118412.27', return_code2='101', ts='0.00', comment='SUCCESS', return_code='0', GAL='0.65', dlogl='-1.11e-10', ts2='0.00', photon_index_error='0.00', photon_index='2.59' WHERE bin_id='1760' AND source_name='4FGL J0920.3-0443' AND cadence='daily';

Database successfully updated.


Analysis Complete.


Thu Jan 19 00:53:32 PST 2023


------------------------------------------------------------
Sender: LSF System <lsf@bullet0043>
Subject: Job 733488: <4FGL_J0920.3-0443_daily_bin1760> in cluster <slac> Done

Job <4FGL_J0920.3-0443_daily_bin1760> was submitted from host <rhel6-64q> by user <kocevski> in cluster <slac> at Thu Jan 19 00:40:20 2023
Job was executed on host(s) <bullet0043>, in queue <medium>, as user <kocevski> in cluster <slac> at Thu Jan 19 00:41:44 2023
</u/ki/kocevski> was used as the home directory.
</u/ki/kocevski> was used as the working directory.
Started at Thu Jan 19 00:41:44 2023
Terminated at Thu Jan 19 00:53:33 2023
Results reported at Thu Jan 19 00:53:33 2023

Your job looked like:

------------------------------------------------------------
# LSBATCH: User input
/nfs/farm/g/glast/g/LCRepository/Likelihood/Scripts/LikelihoodAnalysis.py 4FGL_J0920.3-0443_daily_bin1760 140.1 -4.7311 695520001 695779201 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 :                                   493.35 sec.
    Max Memory :                                 1255 MB
    Average Memory :                             233.88 MB
    Total Requested Memory :                     -
    Delta Memory :                               -
    Max Swap :                                   -
    Max Processes :                              5
    Max Threads :                                21
    Run time :                                   708 sec.
    Turnaround time :                            793 sec.

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

