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


Performing analysis on: 4FGL_J0920.3-0443_daily_bin1768
RA = 140.1, Dec = -4.7311
tmin = 697593601, tmax = 697852801
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='266607', job_status='RUN', time_executed='2023-02-12 00:42:45.693387', time_epoch_executed='1676191365.69' WHERE source_name='4FGL J0920.3-0443' and cadence='daily' and bin_id='1768'

Database successfully updated.
Done.

Creating custom output directory:
/scratch/kocevski/266607

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

Retrieving the FT1 file...

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

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

Retrieving 47 files...
Done.


Merging files...

Checksum keywords updated successfully.

Merged file saved to:
/scratch/kocevski/266607/ft1_4FGL_J0920.3-0443_daily_bin1768.fits


Retrieving the FT1 file...

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

Retrieving 47 files...
Done.


Merging files...

Merged file saved to:
/scratch/kocevski/266607/ft2_4FGL_J0920.3-0443_daily_bin1768.fits


Selecting the photons:
time -p gtselect infile=/scratch/kocevski/266607/ft1_4FGL_J0920.3-0443_daily_bin1768.fits outfile=/scratch/kocevski/266607/ft1_filteredMKT_4FGL_J0920.3-0443_daily_bin1768.fits ra=140.1 dec=-4.7311 rad=12.0 tmin=697593601.0 tmax=697852801.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.66
user 3.43
sys 0.19

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

Selecting the good time intervals:
time -p gtmktime scfile=/scratch/kocevski/266607/ft2_4FGL_J0920.3-0443_daily_bin1768.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/266607/ft1_filteredMKT_4FGL_J0920.3-0443_daily_bin1768.fits evtable="EVENTS" outfile="/scratch/kocevski/266607/ft1_filtered_4FGL_J0920.3-0443_daily_bin1768.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: 531

Generating the livetime cube:
time -p gtltcube evfile="/scratch/kocevski/266607/ft1_filtered_4FGL_J0920.3-0443_daily_bin1768.fits" evtable="EVENTS" scfile=/scratch/kocevski/266607/ft2_4FGL_J0920.3-0443_daily_bin1768.fits sctable="SC_DATA" outfile=/scratch/kocevski/266607/ltcube_697593601_697852801_4FGL_J0920.3-0443_daily_bin1768.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/266607/ft2_4FGL_J0920.3-0443_daily_bin1768.fits
.....................!
real 15.82
user 15.45
sys 0.31

Generating the exposure map:
time -p gtexpmap evfile=/scratch/kocevski/266607/ft1_filtered_4FGL_J0920.3-0443_daily_bin1768.fits evtable="EVENTS" scfile=/scratch/kocevski/266607/ft2_4FGL_J0920.3-0443_daily_bin1768.fits sctable="SC_DATA" expcube=/scratch/kocevski/266607/ltcube_697593601_697852801_4FGL_J0920.3-0443_daily_bin1768.fits outfile=/scratch/kocevski/266607/expmap_697593601_697852801_4FGL_J0920.3-0443_daily_bin1768.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/266607/ltcube_697593601_697852801_4FGL_J0920.3-0443_daily_bin1768.fits
.....................!
real 192.53
user 186.44
sys 5.38

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/266607/ft1_filtered_4FGL_J0920.3-0443_daily_bin1768.fits scfile=/scratch/kocevski/266607/ft2_4FGL_J0920.3-0443_daily_bin1768.fits outfile=/scratch/kocevski/266607/cmap_697593601_697852801_4FGL_J0920.3-0443_daily_bin1768.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.61
user 0.40
sys 0.16

Creating the high resolution counts map:
time -p gtbin evfile=/scratch/kocevski/266607/ft1_filtered_4FGL_J0920.3-0443_daily_bin1768.fits scfile=/scratch/kocevski/266607/ft2_4FGL_J0920.3-0443_daily_bin1768.fits outfile=/scratch/kocevski/266607/cmap_HighResolution_697593601_697852801_4FGL_J0920.3-0443_daily_bin1768.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.39
sys 0.16

Computing the diffuse response:
time -p gtdiffrsp evfile=/scratch/kocevski/266607/ft1_filtered_4FGL_J0920.3-0443_daily_bin1768.fits evtable="EVENTS" scfile=/scratch/kocevski/266607/ft2_4FGL_J0920.3-0443_daily_bin1768.fits sctable="SC_DATA" srcmdl=/scratch/kocevski/266607/Model_4FGL_J0920.3-0443_daily_bin1768.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/266607/ft1_filtered_4FGL_J0920.3-0443_daily_bin1768.fits.....................!
real 64.91
user 63.35
sys 1.27

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

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

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

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'norm      '    .75222E-04   1.0000          .0000       .10000E+07
     2 'Prefactor '    2.3694       1.0000          .0000       .10000E+07
     3 'norm      '    .34719E-05   1.0000          .0000       .10000E+07
     4 'norm      '    .10042E-03   1.0000          .0000       .10000E+07
     5 'Prefactor '    8.6934       1.0000          .0000       .10000E+07
     6 'Prefactor '    .73017E-04   1.0000          .0000       .10000E+07
     7 'norm      '    4.2493       1.0000          .0000       .10000E+07
     8 'norm      '    .35355E-06   1.0000          .0000       .10000E+07
     9 'Prefactor '    30.574       1.0000          .0000       .10000E+07
    10 'Prefactor '    6.0788       1.0000          .0000       .10000E+07
    11 'Prefactor '    .20827E-03   1.0000          .0000       .10000E+07
    12 'Prefactor '    .13436E-03   1.0000          .0000       .10000E+07
    13 'Prefactor '    .51063E-03   1.0000          .0000       .10000E+07
    14 'norm      '    12.905       1.0000          .0000       .10000E+07
    15 'norm      '    .12806E-03   1.0000          .0000       .10000E+07
    16 'norm      '    .81958       1.0000          .0000       .10000E+07
    17 'norm      '    .37602E-04   1.0000          .0000       .10000E+07
    18 'Normalizat'    .84992       1.0000         .10000E-01   10.000    
    19 'Prefactor '    1.0342       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=   5923.296     FROM MIGRAD    STATUS=CONVERGED    142 CALLS     1420 TOTAL
                     EDM=   .18E-08  STRATEGY=1  ERROR MATRIX UNCERTAINTY=  1.2%

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  norm          .17764E-07    5.9367       -.11129E-06** at limit **
   2  Prefactor     2.2730        6.7149        .23139E-06   -.21654E-01
   3  norm          .42966E-07    3.9448        .40271E-06** at limit **
   4  norm          .22204E-09    1.6218        .46968E-06** at limit **
   5  Prefactor     8.6991        5.1613        .30436E-07    .13480    
   6  Prefactor     .27756E-09    3.3477       -.29412E-06** at limit **
   7  norm          4.2525        5.1411        .20031E-06    .52971E-02
   8  norm          .17542E-07    5.9309       -.27784E-07** at limit **
   9  Prefactor     30.277        20.300        .22119E-06   -.16300E-01
  10  Prefactor     6.1052        4.7969       -.44413E-07    .38624E-02
  11  Prefactor     .32752E-08    81.446       -.15577E-05** at limit **
  12  Prefactor     .25535E-08    9.8484        .10202E-05** at limit **
  13  Prefactor     .26645E-08    8.8502        .38304E-06** at limit **
  14  norm          12.898        7.0595        .61205E-07    .10411    
  15  norm          .11102E-09    1.7628        .12554E-06** at limit **
  16  norm          .81943        .61553        .48554E-07    .31191E-02
  17  norm          .13878E-08    4.0836        .94283E-06** at limit **
  18  Normalizat    .85083        .24355       -.59989E-05   -.23074E-04
  19  Prefactor     1.0338        .17377        .13460E-05   -.72038E-04
                               ERR DEF=  .500    
Final values: 
  norm       = 1.77636e-08
  Prefactor  = 2.273
  norm       = 4.29656e-08
  norm       = 2.22045e-10
  Prefactor  = 8.69912
  Prefactor  = 2.77556e-10
  norm       = 4.25253
  norm       = 1.75415e-08
  Prefactor  = 30.2767
  Prefactor  = 6.10525
  Prefactor  = 3.27516e-09
  Prefactor  = 2.55351e-09
  Prefactor  = 2.66454e-09
  norm       = 12.8984
  norm       = 1.11022e-10
  norm       = 0.819431
  norm       = 1.38778e-09
  Normalizat = 0.850825
  Prefactor  = 1.03376
 **********
 **   18 **HESSE 
 **********

 FCN=   5923.296     FROM HESSE     STATUS=OK           308 CALLS     1728 TOTAL
                     EDM=   .35E-06    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  norm          .17764E-07    6.0334        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   2  Prefactor     2.2730        70.858        .66537E-03   -1.5678    
   3  norm          .42966E-07    13.184        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   4  norm          .22204E-09    1.6189        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   5  Prefactor     8.6991        8.7378        .33973E-03   -1.5649    
   6  Prefactor     .27756E-09    3.3418        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   7  norm          4.2525        5.1562        .48855E-03   -1.5667    
   8  norm          .17542E-07    5.9811        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   9  Prefactor     30.277        21.410        .18088E-03   -1.5598    
  10  Prefactor     6.1052        4.8161        .40698E-03   -1.5659    
  11  Prefactor     .32752E-08    81.214        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  12  Prefactor     .25535E-08    9.9458        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  13  Prefactor     .26645E-08    12.282        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  14  norm          12.898        8.0005        .27858E-03   -1.5636    
  15  norm          .11102E-09    1.7610        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  16  norm          .81943        .61936        .51487E-03   -1.5690    
  17  norm          .13878E-08    1.0708        .30160E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  18  Normalizat    .85083        .20395        .64746E-01   -.98210    
  19  Prefactor     1.0338        .14509        .40939E-01   -.91612    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 3.54033e-07
Minuit parameter uncertainties:
  1  0.000654676
  2  25.3823
  3  0.00150566
  4  3.58117e-05
  5  8.73785
  6  5.90324e-05
  7  5.1562
  8  0.000647531
  9  21.4098
  10  4.81609
  11  0.00102813
  12  0.000317997
  13  0.000363063
  14  8.00051
  15  2.69761e-05
  16  0.61936
  17  7.74725e-05
  18  0.204136
  19  0.145146
Done.

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

Extracting fit parameters...

4FGL J0920.3-0443
   Spectrum: PowerLaw
250    Prefactor:  3.028e+01  2.141e+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:  1.034e+00  1.451e-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:  8.508e-01  2.041e-01  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Fixed Index): 2.99
Ra Dec: 140.100 -4.731
Photon Index (Fixed Index): 2.59 +/- 0.00
Photon Flux (Fixed Index): 7.21e-08 +/- 5.09e-08
Energy Flux (Fixed Index): 1.91e-05 +/- 1.35e-05

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

Saving results to:
/scratch/kocevski/266607/likelihoodResults_697593601_697852801_4FGL_J0920.3-0443_daily_bin1768.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) = 5922.81274157
delta logL = 0.48372438465

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

MINUIT Return Code (Free Index): 102
logL (Free Index) = 5922.79196518
delta logL = 0.504500777708

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'Prefactor '    9.3208       1.0000          .0000       .10000E+07
     2 'Index     '    3.5137       1.0000          .0000       10.000    
     3 'Normalizat'    .77642       1.0000         .10000E-01   10.000    
     4 'Prefactor '    1.0756       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.
 MIGRAD TERMINATED WITHOUT CONVERGENCE.

 FCN=   5922.792     FROM MIGRAD    STATUS=FAILED        80 CALLS      283 TOTAL
                     EDM=   .32E-07    STRATEGY= 1      ERR MATRIX NOT POS-DEF

  EXT PARAMETER                APPROXIMATE        STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor     9.3181        139.73        .12660E-04   -.28514E-01
   2  Index         3.5142        3.7529        .41101E-02   -.93486E-03
   3  Normalizat    .77641        .27068        .29856E-03   -.84958E-03
   4  Prefactor     1.0756        .19916        .19396E-03   -.12404E-02
                               ERR DEF=  .500    
 START SIMPLEX MINIMIZATION.    CONVERGENCE WHEN EDM .LT.   .20E-04
 SIMPLEX MINIMIZATION HAS CONVERGED.

 FCN=   5922.792     FROM SIMPLEX   STATUS=UNCHANGED     87 CALLS      370 TOTAL
                     EDM=   .13E-04    STRATEGY= 1      ERR MATRIX NOT POS-DEF

  EXT PARAMETER                APPROXIMATE        STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor     9.3181        139.73        .22558E-04   -.28514E-01
   2  Index         3.5142        3.7529        .10120E-02   -.93486E-03
   3  Normalizat    .77641        .27068        .32372E-03   -.84958E-03
   4  Prefactor     1.0756        .19916        .24177E-03   -.12404E-02
                               ERR DEF=  .500    

 MIGRAD MINIMIZATION HAS CONVERGED.

 MIGRAD WILL VERIFY CONVERGENCE AND ERROR MATRIX.

 FCN=   5922.792     FROM MIGRAD    STATUS=CONVERGED     27 CALLS      397 TOTAL
                     EDM=   .31E-08    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor     9.3170        19.962        .50641E-06   -.30485E-01
   2  Index         3.5143        1.1820        .16440E-03   -.78024E-03
   3  Normalizat    .77641        .24671        .59712E-04   -.79862E-03
   4  Prefactor     1.0756        .18069        .38792E-04   -.11730E-02
                               ERR DEF=  .500    
Final values: 
  Prefactor  = 9.31704
  Index      = 3.5143
  Normalizat = 0.77641
  Prefactor  = 1.07559
 **********
 **   18 **HESSE 
 **********

 FCN=   5922.792     FROM HESSE     STATUS=OK            23 CALLS      420 TOTAL
                     EDM=   .31E-08    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  Prefactor     9.3170        19.583        .37305E-06   -1.5647    
   2  Index         3.5143        1.1599        .32881E-04   -.30170    
   3  Normalizat    .77641        .24663        .11942E-04   -1.0095    
   4  Prefactor     1.0756        .18062        .77584E-05   -.90251    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 3.0601e-09
Minuit parameter uncertainties:
  1  19.5827
  2  1.17162
  3  0.246984
  4  0.180722
shell-init: error retrieving current directory: getcwd: cannot access parent directories: No such file or directory
rmdir: failed to remove `/scratch/kocevski/266607': 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) = 5922.79196446
delta logL = 0.504501499529

Extracting fit parameters...

4FGL J0920.3-0443
   Spectrum: PowerLaw
250    Prefactor:  9.317e+00  1.958e+01  0.000e+00  1.000e+06 ( 1.000e-13)
251        Index:  3.514e+00  1.172e+00  0.000e+00  1.000e+01 (-1.000e+00)
252        Scale:  9.913e+02  0.000e+00  3.000e+01  5.000e+05 ( 1.000e+00) fixed

GAL_V02
   Spectrum: PowerLaw
487    Prefactor:  1.076e+00  1.807e-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:  7.764e-01  2.470e-01  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Free Index): 4.27
Ra Dec: 140.100 -4.731
Photon Index (Free Index): 3.51 +/- 1.17
Photon Flux (Free Index): 1.18e-07 +/- 7.38e-08
Energy Flux (Free Index): 1.95e-05 +/- 1.17e-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/266607/cmap_HighResolution_697593601_697852801_4FGL_J0920.3-0443_daily_bin1768.png

Cleaning up...

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

Updating database...

UPDATE lightcurve_data_v2 SET energy_flux_upper_limit='1.36e-02', comment='SUCCESS', photon_flux='7.21e-08', energy_flux2='1.95e-05', photon_flux_error='5.09e-08', dlogl='5.05e-01', energy_flux='1.91e-05', photon_flux2='1.18e-07', job_status='DONE', time_completed='2023-02-12 00:51:20.116638', photon_index_error2='1.17', photon_index2='3.51', ts='2.99', fit_tolerance='1e-08', GAL='1.03', photon_index_error='0.00', photon_flux_upper_limit='1.74e-07', energy_flux_error2='1.17e-05', EG='0.85', time_epoch_completed='1676191880.12', return_code='0', job_id='266607', GAL2='1.08', EG2='0.78', return_code2='0', energy_flux_error='1.35e-05', photon_flux_error2='7.38e-08', ts2='4.27', photon_index='2.59' WHERE bin_id='1768' AND source_name='4FGL J0920.3-0443' AND cadence='daily';

Database successfully updated.


Analysis Complete.


Sun Feb 12 00:51:20 PST 2023


------------------------------------------------------------
Sender: LSF System <lsf@bullet0102>
Subject: Job 266607: <4FGL_J0920.3-0443_daily_bin1768> in cluster <slac> Done

Job <4FGL_J0920.3-0443_daily_bin1768> was submitted from host <rhel6-64p> by user <kocevski> in cluster <slac> at Sun Feb 12 00:35:27 2023
Job was executed on host(s) <bullet0102>, in queue <medium>, as user <kocevski> in cluster <slac> at Sun Feb 12 00:39:06 2023
</u/ki/kocevski> was used as the home directory.
</u/ki/kocevski> was used as the working directory.
Started at Sun Feb 12 00:39:06 2023
Terminated at Sun Feb 12 00:51:20 2023
Results reported at Sun Feb 12 00:51:20 2023

Your job looked like:

------------------------------------------------------------
# LSBATCH: User input
/nfs/farm/g/glast/g/LCRepository/Likelihood/Scripts/LikelihoodAnalysis.py 4FGL_J0920.3-0443_daily_bin1768 140.1 -4.7311 697593601 697852801 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 :                                   515.00 sec.
    Max Memory :                                 1256 MB
    Average Memory :                             270.22 MB
    Total Requested Memory :                     -
    Delta Memory :                               -
    Max Swap :                                   -
    Max Processes :                              5
    Max Threads :                                21
    Run time :                                   734 sec.
    Turnaround time :                            953 sec.

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

