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


Performing analysis on: 4FGL_J0920.3-0443_daily_bin1709
RA = 140.1, Dec = -4.7311
tmin = 682300801, tmax = 682560001
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='78417', job_status='RUN', time_executed='2022-09-16 14:35:38.440355', time_epoch_executed='1663364138.44' WHERE source_name='4FGL J0920.3-0443' and cadence='daily' and bin_id='1709'

Database successfully updated.
Done.

Creating custom output directory:
/scratch/kocevski/78417

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

Retrieving the FT1 file...

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

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

Retrieving 47 files...
Done.


Merging files...

Checksum keywords updated successfully.

Merged file saved to:
/scratch/kocevski/78417/ft1_4FGL_J0920.3-0443_daily_bin1709.fits


Retrieving the FT1 file...

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

Retrieving 47 files...
Done.


Merging files...

Merged file saved to:
/scratch/kocevski/78417/ft2_4FGL_J0920.3-0443_daily_bin1709.fits


Selecting the photons:
time -p gtselect infile=/scratch/kocevski/78417/ft1_4FGL_J0920.3-0443_daily_bin1709.fits outfile=/scratch/kocevski/78417/ft1_filteredMKT_4FGL_J0920.3-0443_daily_bin1709.fits ra=140.1 dec=-4.7311 rad=12.0 tmin=682300801.0 tmax=682560001.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.93
user 2.67
sys 0.20

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

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

Number of photons that the gtmktime cut: 625

Generating the livetime cube:
time -p gtltcube evfile="/scratch/kocevski/78417/ft1_filtered_4FGL_J0920.3-0443_daily_bin1709.fits" evtable="EVENTS" scfile=/scratch/kocevski/78417/ft2_4FGL_J0920.3-0443_daily_bin1709.fits sctable="SC_DATA" outfile=/scratch/kocevski/78417/ltcube_682300801_682560001_4FGL_J0920.3-0443_daily_bin1709.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/78417/ft2_4FGL_J0920.3-0443_daily_bin1709.fits
.....................!
real 9.60
user 9.19
sys 0.33

Generating the exposure map:
time -p gtexpmap evfile=/scratch/kocevski/78417/ft1_filtered_4FGL_J0920.3-0443_daily_bin1709.fits evtable="EVENTS" scfile=/scratch/kocevski/78417/ft2_4FGL_J0920.3-0443_daily_bin1709.fits sctable="SC_DATA" expcube=/scratch/kocevski/78417/ltcube_682300801_682560001_4FGL_J0920.3-0443_daily_bin1709.fits outfile=/scratch/kocevski/78417/expmap_682300801_682560001_4FGL_J0920.3-0443_daily_bin1709.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/78417/ltcube_682300801_682560001_4FGL_J0920.3-0443_daily_bin1709.fits
.....................!
real 152.51
user 147.78
sys 4.47

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/78417/ft1_filtered_4FGL_J0920.3-0443_daily_bin1709.fits scfile=/scratch/kocevski/78417/ft2_4FGL_J0920.3-0443_daily_bin1709.fits outfile=/scratch/kocevski/78417/cmap_682300801_682560001_4FGL_J0920.3-0443_daily_bin1709.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.48
user 0.34
sys 0.13

Creating the high resolution counts map:
time -p gtbin evfile=/scratch/kocevski/78417/ft1_filtered_4FGL_J0920.3-0443_daily_bin1709.fits scfile=/scratch/kocevski/78417/ft2_4FGL_J0920.3-0443_daily_bin1709.fits outfile=/scratch/kocevski/78417/cmap_HighResolution_682300801_682560001_4FGL_J0920.3-0443_daily_bin1709.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.48
user 0.35
sys 0.13

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

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

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

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

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'norm      '    20.659       1.0000          .0000       .10000E+07
     2 'Prefactor '    .61215E-03   1.0000          .0000       .10000E+07
     3 'norm      '    .14751E-04   1.0000          .0000       .10000E+07
     4 'norm      '    .88818E-08   1.0000          .0000       .10000E+07
     5 'Prefactor '    .38416E-03   1.0000          .0000       .10000E+07
     6 'Prefactor '    3.5905       1.0000          .0000       .10000E+07
     7 'norm      '    .48395       1.0000          .0000       .10000E+07
     8 'norm      '    11.089       1.0000          .0000       .10000E+07
     9 'Prefactor '    17.913       1.0000          .0000       .10000E+07
    10 'Prefactor '    1.0597       1.0000          .0000       .10000E+07
    11 'Prefactor '    12.597       1.0000          .0000       .10000E+07
    12 'Prefactor '    .52635E-02   1.0000          .0000       .10000E+07
    13 'Prefactor '    .11393E-01   1.0000          .0000       .10000E+07
    14 'norm      '    .54456E-02   1.0000          .0000       .10000E+07
    15 'norm      '    2.6329       1.0000          .0000       .10000E+07
    16 'norm      '    .10547E-08   1.0000          .0000       .10000E+07
    17 'norm      '    2.4195       1.0000          .0000       .10000E+07
    18 'Normalizat'    .81829       1.0000         .10000E-01   10.000    
    19 'Prefactor '    1.2775       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=   7010.800     FROM MIGRAD    STATUS=CONVERGED    137 CALLS     1410 TOTAL
                     EDM=   .68E-09  STRATEGY=1  ERROR MATRIX UNCERTAINTY=   .3%

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  norm          20.646        10.632       -.21449E-05   -.57587E-01
   2  Prefactor     .64104E-06    29.104       -.12905E-05** at limit **
   3  norm          .55511E-10    4.0774       -.11812E-06** at limit **
   4  norm          .55511E-10    1.2659        .13553E-06** at limit **
   5  Prefactor     .22204E-09    3.5969       -.64633E-07** at limit **
   6  Prefactor     3.5728        6.1330       -.29513E-06    .25622E-03
   7  norm          .47746        7.6099        .13621E-06    .31988E-05
   8  norm          11.082        7.3463       -.18111E-06   -.14304E-03
   9  Prefactor     17.955        2.9385        .41833E-06   -.37194E-01
  10  Prefactor     1.0620        3.3383       -.28861E-06   -.28685E-02
  11  Prefactor     12.457        7.6179       -.13907E-05    .99698E-01
  12  Prefactor     .38597E-06    22.719        .78006E-06** at limit **
  13  Prefactor     .46074E-08    13.718       -.30815E-06** at limit **
  14  norm          .22204E-09    7.5324        .60776E-07** at limit **
  15  norm          2.6302        4.0060        .25474E-07    .19927E-02
  16  norm           .0000        .14941        .71822E-08** at limit **
  17  norm          2.4194        1.8013        .12147E-06    .65747E-02
  18  Normalizat    .81837        .22619        .28407E-05   -.85483E-04
  19  Prefactor     1.2776        .17299        .60426E-06   -.68267E-04
                               ERR DEF=  .500    
Final values: 
  norm       = 20.6457
  Prefactor  = 6.41043e-07
  norm       = 5.55112e-11
  norm       = 5.55112e-11
  Prefactor  = 2.22045e-10
  Prefactor  = 3.57281
  norm       = 0.477465
  norm       = 11.0819
  Prefactor  = 17.9554
  Prefactor  = 1.06204
  Prefactor  = 12.4569
  Prefactor  = 3.85969e-07
  Prefactor  = 4.60743e-09
  norm       = 2.22045e-10
  norm       = 2.63015
  norm       = 0
  norm       = 2.41942
  Normalizat = 0.818367
  Prefactor  = 1.27764
 **********
 **   18 **HESSE 
 **********

 FCN=   7010.800     FROM HESSE     STATUS=OK           304 CALLS     1714 TOTAL
                     EDM=   .43E-05    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  norm          20.646        10.696        .22008E-03   -1.5617    
   2  Prefactor     .64104E-06    29.528        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   3  norm          .55511E-10    4.0798        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   4  norm          .55511E-10    1.2625        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   5  Prefactor     .22204E-09    3.6167        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   6  Prefactor     3.5728        6.1626        .53304E-03   -1.5670    
   7  norm          .47746        7.4094        .80341E-03   -1.5694    
   8  norm          11.082        7.4480        .30061E-03   -1.5641    
   9  Prefactor     17.955        23.363        .23637E-03   -1.5623    
  10  Prefactor     1.0620        3.3615        .11909E-02   -1.5687    
  11  Prefactor     12.457        39.202        .28198E-03   -1.5637    
  12  Prefactor     .38597E-06    23.019        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  13  Prefactor     .46074E-08    13.745        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  14  norm          .22204E-09    7.4981        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  15  norm          2.6302        4.0215        .62816E-03   -1.5676    
  16  norm           .0000        .14846        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  17  norm          2.4194        1.8077        .65776E-03   -1.5677    
  18  Normalizat    .81837        .20148        .71814E-01   -.99391    
  19  Prefactor     1.2776        .14955        .33013E-01   -.83974    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 4.2989e-06
Minuit parameter uncertainties:
  1  10.6956
  2  0.00870155
  3  2.53079e-05
  4  1.23901e-05
  5  5.3913e-05
  6  6.16259
  7  3.76179
  8  7.44803
  9  23.3633
  10  3.36151
  11  39.2031
  12  0.00596154
  13  0.000501913
  14  7.94929e-05
  15  4.02148
  16  5.13383e-07
  17  1.80775
  18  0.201661
  19  0.149604
Done.

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

Extracting fit parameters...

4FGL J0920.3-0443
   Spectrum: PowerLaw
250    Prefactor:  1.796e+01  2.336e+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.278e+00  1.496e-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.184e-01  2.017e-01  1.000e-02  1.000e+01 ( 1.000e+00)


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

Saving results to:
/scratch/kocevski/78417/likelihoodResults_682300801_682560001_4FGL_J0920.3-0443_daily_bin1709.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) = 7009.98423978
delta logL = 0.815289137066

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

MINUIT Return Code (Free Index): 102
logL (Free Index) = 7009.97324614
delta logL = 0.8262827722

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'Prefactor '    1.0858       1.0000          .0000       .10000E+07
     2 'Index     '    4.4490       1.0000          .0000       10.000    
     3 'Normalizat'    .75148       1.0000         .10000E-01   10.000    
     4 'Prefactor '    1.3172       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=   7009.973     FROM MIGRAD    STATUS=CONVERGED     48 CALLS      256 TOTAL
                     EDM=   .18E-08    STRATEGY= 1      ERR MATRIX NOT POS-DEF

  EXT PARAMETER                APPROXIMATE        STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor     1.0861        11.230        .11514E-02    .38869E-02
   2  Index         4.4495        2.3798        .12598        .13600E-03
   3  Normalizat    .75168        .47280E-01    .74583E-01    .68208E-04
   4  Prefactor     1.3171        .36458E-01    .32316E-01    .11539E-03
                               ERR DEF=  .500    
Final values: 
  Prefactor  = 1.08607
  Index      = 4.44952
  Normalizat = 0.751676
  Prefactor  = 1.31708
 **********
 **   18 **HESSE 
 **********

 FCN=   7009.973     FROM HESSE     STATUS=NOT POSDEF    31 CALLS      287 TOTAL
                     EDM=   .47E-06    STRATEGY= 1      ERR MATRIX NOT POS-DEF

  EXT PARAMETER                APPROXIMATE     INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  Prefactor     1.0861        27.708        .61078E-05   -1.5687    
   2  Index         4.4495        4.1483        .45501E-02   -.11032    
   3  Normalizat    .75168        .20146        .33012E-03   -1.0189    
   4  Prefactor     1.3171        .15286        .19758E-03   -.82801    
                               ERR DEF=  .500    
Minuit fit quality: 2   estimated distance: 4.71442e-07
Minuit parameter uncertainties:
  1  10.9714
  2  4.90825
  3  0.201661
  4  0.152908
shell-init: error retrieving current directory: getcwd: cannot access parent directories: No such file or directory
rmdir: failed to remove `/scratch/kocevski/78417': 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) = 7009.97324348
delta logL = 0.826285429751

Extracting fit parameters...

4FGL J0920.3-0443
   Spectrum: PowerLaw
250    Prefactor:  1.086e+00  1.097e+01  0.000e+00  1.000e+06 ( 1.000e-13)
251        Index:  4.450e+00  4.908e+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.317e+00  1.529e-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.517e-01  2.017e-01  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Free Index): 2.69
Ra Dec: 140.100 -4.731
Photon Index (Free Index): 4.45 +/- 4.91
Photon Flux (Free Index): 8.57e-08 +/- 6.45e-08
Energy Flux (Free Index): 1.20e-05 +/- 1.31e-05

Creating a high resolution counts map...
INFO: Auto-setting vmin to -2.500e-04 [aplpy.core]
INFO: Auto-setting vmax to  2.775e-03 [aplpy.core]
Saving /scratch/kocevski/78417/cmap_HighResolution_682300801_682560001_4FGL_J0920.3-0443_daily_bin1709.png

Cleaning up...

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

Updating database...

UPDATE lightcurve_data_v2 SET energy_flux_upper_limit='1.13e-02', comment='SUCCESS', energy_flux2='1.20e-05', dlogl='8.26e-01', photon_flux2='8.57e-08', job_status='DONE', time_completed='2022-09-16 14:43:02.061227', photon_index_error2='4.91', photon_index2='4.45', ts='0.85', fit_tolerance='1e-08', GAL='1.28', photon_index_error='0.00', photon_flux_upper_limit='1.45e-07', energy_flux_error2='1.31e-05', EG='0.82', time_epoch_completed='1663364582.06', return_code='0', job_id='78417', GAL2='1.32', EG2='0.75', return_code2='102', photon_flux_error2='6.45e-08', ts2='2.69', photon_index='2.59' WHERE bin_id='1709' AND source_name='4FGL J0920.3-0443' AND cadence='daily';

Database successfully updated.


Analysis Complete.


Fri Sep 16 14:43:02 PDT 2022


------------------------------------------------------------
Sender: LSF System <lsf@bullet0086>
Subject: Job 78417: <4FGL_J0920.3-0443_daily_bin1709> in cluster <slac> Done

Job <4FGL_J0920.3-0443_daily_bin1709> was submitted from host <rhel6-64k> by user <kocevski> in cluster <slac> at Fri Sep 16 14:30:26 2022
Job was executed on host(s) <bullet0086>, in queue <medium>, as user <kocevski> in cluster <slac> at Fri Sep 16 14:34:28 2022
</u/ki/kocevski> was used as the home directory.
</u/ki/kocevski> was used as the working directory.
Started at Fri Sep 16 14:34:28 2022
Terminated at Fri Sep 16 14:43:02 2022
Results reported at Fri Sep 16 14:43:02 2022

Your job looked like:

------------------------------------------------------------
# LSBATCH: User input
/nfs/farm/g/glast/g/LCRepository/Likelihood/Scripts/LikelihoodAnalysis.py 4FGL_J0920.3-0443_daily_bin1709 140.1 -4.7311 682300801 682560001 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 :                                   444.42 sec.
    Max Memory :                                 1255 MB
    Average Memory :                             364.17 MB
    Total Requested Memory :                     -
    Delta Memory :                               -
    Max Swap :                                   -
    Max Processes :                              5
    Max Threads :                                21
    Run time :                                   514 sec.
    Turnaround time :                            756 sec.

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

