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


Performing analysis on: 4FGL_J0920.3-0443_daily_bin1713
RA = 140.1, Dec = -4.7311
tmin = 683337601, tmax = 683596801
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='78426', job_status='RUN', time_executed='2022-09-16 14:36:14.741392', time_epoch_executed='1663364174.74' WHERE source_name='4FGL J0920.3-0443' and cadence='daily' and bin_id='1713'

Database successfully updated.
Done.

Creating custom output directory:
/scratch/kocevski/78426

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

Retrieving the FT1 file...

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

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

Retrieving 46 files...
Done.


Merging files...

Checksum keywords updated successfully.

Merged file saved to:
/scratch/kocevski/78426/ft1_4FGL_J0920.3-0443_daily_bin1713.fits


Retrieving the FT1 file...

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

Retrieving 46 files...
Done.


Merging files...

Merged file saved to:
/scratch/kocevski/78426/ft2_4FGL_J0920.3-0443_daily_bin1713.fits


Selecting the photons:
time -p gtselect infile=/scratch/kocevski/78426/ft1_4FGL_J0920.3-0443_daily_bin1713.fits outfile=/scratch/kocevski/78426/ft1_filteredMKT_4FGL_J0920.3-0443_daily_bin1713.fits ra=140.1 dec=-4.7311 rad=12.0 tmin=683337601.0 tmax=683596801.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.90
user 2.70
sys 0.18

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

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

Number of photons that the gtmktime cut: 661

Generating the livetime cube:
time -p gtltcube evfile="/scratch/kocevski/78426/ft1_filtered_4FGL_J0920.3-0443_daily_bin1713.fits" evtable="EVENTS" scfile=/scratch/kocevski/78426/ft2_4FGL_J0920.3-0443_daily_bin1713.fits sctable="SC_DATA" outfile=/scratch/kocevski/78426/ltcube_683337601_683596801_4FGL_J0920.3-0443_daily_bin1713.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/78426/ft2_4FGL_J0920.3-0443_daily_bin1713.fits
.....................!
real 12.33
user 11.96
sys 0.31

Generating the exposure map:
time -p gtexpmap evfile=/scratch/kocevski/78426/ft1_filtered_4FGL_J0920.3-0443_daily_bin1713.fits evtable="EVENTS" scfile=/scratch/kocevski/78426/ft2_4FGL_J0920.3-0443_daily_bin1713.fits sctable="SC_DATA" expcube=/scratch/kocevski/78426/ltcube_683337601_683596801_4FGL_J0920.3-0443_daily_bin1713.fits outfile=/scratch/kocevski/78426/expmap_683337601_683596801_4FGL_J0920.3-0443_daily_bin1713.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/78426/ltcube_683337601_683596801_4FGL_J0920.3-0443_daily_bin1713.fits
.....................!
real 156.94
user 151.97
sys 3.99

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/78426/ft1_filtered_4FGL_J0920.3-0443_daily_bin1713.fits scfile=/scratch/kocevski/78426/ft2_4FGL_J0920.3-0443_daily_bin1713.fits outfile=/scratch/kocevski/78426/cmap_683337601_683596801_4FGL_J0920.3-0443_daily_bin1713.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.50
user 0.34
sys 0.14

Creating the high resolution counts map:
time -p gtbin evfile=/scratch/kocevski/78426/ft1_filtered_4FGL_J0920.3-0443_daily_bin1713.fits scfile=/scratch/kocevski/78426/ft2_4FGL_J0920.3-0443_daily_bin1713.fits outfile=/scratch/kocevski/78426/cmap_HighResolution_683337601_683596801_4FGL_J0920.3-0443_daily_bin1713.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.33
sys 0.18

Computing the diffuse response:
time -p gtdiffrsp evfile=/scratch/kocevski/78426/ft1_filtered_4FGL_J0920.3-0443_daily_bin1713.fits evtable="EVENTS" scfile=/scratch/kocevski/78426/ft2_4FGL_J0920.3-0443_daily_bin1713.fits sctable="SC_DATA" srcmdl=/scratch/kocevski/78426/Model_4FGL_J0920.3-0443_daily_bin1713.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/78426/ft1_filtered_4FGL_J0920.3-0443_daily_bin1713.fits.....................!
real 62.45
user 61.21
sys 1.09

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

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

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

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'norm      '    .10329E-04   1.0000          .0000       .10000E+07
     2 'Prefactor '    .12445E-02   1.0000          .0000       .10000E+07
     3 'norm      '    .15395E-02   1.0000          .0000       .10000E+07
     4 'norm      '    3.1937       1.0000          .0000       .10000E+07
     5 'Prefactor '    .82312E-06   1.0000          .0000       .10000E+07
     6 'Prefactor '    10.959       1.0000          .0000       .10000E+07
     7 'norm      '    .13323E-05   1.0000          .0000       .10000E+07
     8 'norm      '    1.6042       1.0000          .0000       .10000E+07
     9 'Prefactor '    48.102       1.0000          .0000       .10000E+07
    10 'Prefactor '    6.3196       1.0000          .0000       .10000E+07
    11 'Prefactor '    10.209       1.0000          .0000       .10000E+07
    12 'Prefactor '    26.617       1.0000          .0000       .10000E+07
    13 'Prefactor '    .22687E-06   1.0000          .0000       .10000E+07
    14 'norm      '    .30141E-03   1.0000          .0000       .10000E+07
    15 'norm      '    .44914E-06   1.0000          .0000       .10000E+07
    16 'norm      '    1.0803       1.0000          .0000       .10000E+07
    17 'norm      '    .68834E-08   1.0000          .0000       .10000E+07
    18 'Normalizat'    .78402       1.0000         .10000E-01   10.000    
    19 'Prefactor '    1.0556       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=   7262.136     FROM MIGRAD    STATUS=CONVERGED    127 CALLS     1146 TOTAL
                     EDM=   .17E-08  STRATEGY=1  ERROR MATRIX UNCERTAINTY=  2.5%

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  norm          .16653E-09    2.2469       -.24228E-06** at limit **
   2  Prefactor     .37692E-07    4.4984       -.11244E-06** at limit **
   3  norm          .14988E-08    7.9298       -.35780E-06** at limit **
   4  norm          3.1934        2.1019        .38363E-06    .22694E-02
   5  Prefactor     .24725E-06    2.9010       -.72032E-07** at limit **
   6  Prefactor     10.983        6.2125        .33457E-06    .12548    
   7  norm          .11102E-09    1.7189       -.12066E-07** at limit **
   8  norm          1.5899        5.6664        .25950E-06    .16955E-02
   9  Prefactor     48.140        1.3473        .29825E-07   -.65927E-01
  10  Prefactor     6.3192        3.7772       -.12168E-06    .37100E-02
  11  Prefactor     10.153        18.205       -.12620E-05    .27174E-01
  12  Prefactor     26.511        15.271       -.65039E-06    .97785E-02
  13  Prefactor     .26645E-08    13.709       -.10343E-06** at limit **
  14  norm          .17680E-06    3.1171       -.40222E-07** at limit **
  15  norm          .55511E-10    1.4687        .93909E-08** at limit **
  16  norm          1.0803        .57686       -.73631E-07   -.19404E-03
  17  norm          .16653E-09    2.1887        .25986E-06** at limit **
  18  Normalizat    .78412        .19806        .11639E-04    .57575E-04
  19  Prefactor     1.0557        .14936       -.41780E-05    .59476E-04
                               ERR DEF=  .500    
Final values: 
  norm       = 1.66533e-10
  Prefactor  = 3.76921e-08
  norm       = 1.4988e-09
  norm       = 3.19345
  Prefactor  = 2.47247e-07
  Prefactor  = 10.9832
  norm       = 1.11022e-10
  norm       = 1.58987
  Prefactor  = 48.1404
  Prefactor  = 6.31917
  Prefactor  = 10.1529
  Prefactor  = 26.5108
  Prefactor  = 2.66454e-09
  norm       = 1.76803e-07
  norm       = 5.55112e-11
  norm       = 1.08027
  norm       = 1.66533e-10
  Normalizat = 0.784121
  Prefactor  = 1.05565
 **********
 **   18 **HESSE 
 **********

 FCN=   7262.136     FROM HESSE     STATUS=OK           306 CALLS     1452 TOTAL
                     EDM=   .34E-06    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  norm          .16653E-09    2.2516        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   2  Prefactor     .37692E-07    4.6448        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   3  norm          .14988E-08    7.8671        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   4  norm          3.1934        2.1023        .56674E-03   -1.5672    
   5  Prefactor     .24725E-06    3.9027        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   6  Prefactor     10.983        7.6051        .30239E-03   -1.5642    
   7  norm          .11102E-09    1.7132        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   8  norm          1.5899        5.7364        .83645E-03   -1.5683    
   9  Prefactor     48.140        20.354        .14420E-03   -1.5569    
  10  Prefactor     6.3192        3.7824        .39905E-03   -1.5658    
  11  Prefactor     10.153        28.225        .31336E-03   -1.5644    
  12  Prefactor     26.511        24.720        .19387E-03   -1.5605    
  13  Prefactor     .26645E-08    13.737        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  14  norm          .17680E-06    3.8213        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  15  norm          .55511E-10    1.4643        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  16  norm          1.0803        .58659        .10212E-02   -1.5687    
  17  norm          .16653E-09    2.1106        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  18  Normalizat    .78412        .17253        .65472E-01   -1.0066    
  19  Prefactor     1.0557        .12725        .39591E-01   -.90897    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 3.37473e-07
Minuit parameter uncertainties:
  1  4.09184e-05
  2  0.000836656
  3  0.000217238
  4  2.10229
  5  0.00196472
  6  7.6051
  7  2.99276e-05
  8  5.73641
  9  20.3544
  10  3.78237
  11  28.2258
  12  24.7205
  13  0.00038403
  14  0.0016438
  15  1.9072e-05
  16  0.586591
  17  3.63118e-05
  18  0.172654
  19  0.127286
Done.

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

Extracting fit parameters...

4FGL J0920.3-0443
   Spectrum: PowerLaw
250    Prefactor:  4.814e+01  2.035e+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.056e+00  1.273e-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.841e-01  1.727e-01  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Fixed Index): 11.14
Ra Dec: 140.100 -4.731
Photon Index (Fixed Index): 2.59 +/- 0.00
Photon Flux (Fixed Index): 1.15e-07 +/- 4.84e-08
Energy Flux (Fixed Index): 3.04e-05 +/- 1.29e-05

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) = 7262.09327864
delta logL = 0.0426510504985

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

MINUIT Return Code (Free Index): 0
logL (Free Index) = 7262.08197881
delta logL = 0.0539508785141

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'Prefactor '    55.745       1.0000          .0000       .10000E+07
     2 'Index     '    2.4555       1.0000          .0000       10.000    
     3 'Normalizat'    .79495       1.0000         .10000E-01   10.000    
     4 'Prefactor '    1.0497       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.

 FCN=   7262.082     FROM MIGRAD    STATUS=CONVERGED     87 CALLS      274 TOTAL
                     EDM=   .18E-09    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor     55.749        33.389        .53578E-05    .14904E-02
   2  Index         2.4549        .41130        .45938E-02    .65357E-04
   3  Normalizat    .79540        .19772        .28782E-03    .11747E-03
   4  Prefactor     1.0493        .15002        .19522E-03   -.10289E-03
                               ERR DEF=  .500    
Final values: 
  Prefactor  = 55.7492
  Index      = 2.45495
  Normalizat = 0.7954
  Prefactor  = 1.04931
 **********
 **   18 **HESSE 
 **********

 FCN=   7262.082     FROM HESSE     STATUS=OK            25 CALLS      299 TOTAL
                     EDM=   .18E-09    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  Prefactor     55.749        31.872        .10716E-05   -1.5559    
   2  Index         2.4549        .39230        .18375E-03   -.53403    
   3  Normalizat    .79540        .19767        .11513E-04   -1.0024    
   4  Prefactor     1.0493        .15002        .39045E-04   -.91103    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 1.84552e-10
Minuit parameter uncertainties:
  1  31.8723
  2  0.392845
  3  0.197853
  4  0.150083
shell-init: error retrieving current directory: getcwd: cannot access parent directories: No such file or directory
rmdir: failed to remove `/scratch/kocevski/78426': 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) = 7262.08197395
delta logL = 0.0539557425436

Extracting fit parameters...

4FGL J0920.3-0443
   Spectrum: PowerLaw
250    Prefactor:  5.575e+01  3.187e+01  0.000e+00  1.000e+06 ( 1.000e-13)
251        Index:  2.455e+00  3.928e-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.049e+00  1.501e-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.954e-01  1.979e-01  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Free Index): 11.20
Ra Dec: 140.100 -4.731
Photon Index (Free Index): 2.45 +/- 0.39
Photon Flux (Free Index): 1.07e-07 +/- 5.06e-08
Energy Flux (Free Index): 3.27e-05 +/- 1.55e-05

Creating a high resolution counts map...
INFO: Auto-setting vmin to -1.000e-01 [aplpy.core]
INFO: Auto-setting vmax to  1.110e+00 [aplpy.core]
Saving /scratch/kocevski/78426/cmap_HighResolution_683337601_683596801_4FGL_J0920.3-0443_daily_bin1713.png

Cleaning up...

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

Updating database...

UPDATE lightcurve_data_v2 SET comment='SUCCESS', photon_flux='1.15e-07', energy_flux2='3.27e-05', photon_flux_error='4.84e-08', dlogl='5.40e-02', energy_flux='3.04e-05', photon_flux2='1.07e-07', job_status='DONE', time_completed='2022-09-16 14:43:09.594796', photon_index_error2='0.39', photon_index2='2.45', ts='11.14', fit_tolerance='1e-08', GAL='1.06', photon_index_error='0.00', energy_flux_error2='1.55e-05', EG='0.78', time_epoch_completed='1663364589.59', return_code='0', job_id='78426', GAL2='1.05', EG2='0.80', return_code2='0', energy_flux_error='1.29e-05', photon_flux_error2='5.06e-08', ts2='11.20', photon_index='2.59' WHERE bin_id='1713' AND source_name='4FGL J0920.3-0443' AND cadence='daily';

Database successfully updated.


Analysis Complete.


Fri Sep 16 14:43:09 PDT 2022


------------------------------------------------------------
Sender: LSF System <lsf@bullet0095>
Subject: Job 78426: <4FGL_J0920.3-0443_daily_bin1713> in cluster <slac> Done

Job <4FGL_J0920.3-0443_daily_bin1713> 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) <bullet0095>, in queue <medium>, as user <kocevski> in cluster <slac> at Fri Sep 16 14:34:30 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:30 2022
Terminated at Fri Sep 16 14:43:10 2022
Results reported at Fri Sep 16 14:43:10 2022

Your job looked like:

------------------------------------------------------------
# LSBATCH: User input
/nfs/farm/g/glast/g/LCRepository/Likelihood/Scripts/LikelihoodAnalysis.py 4FGL_J0920.3-0443_daily_bin1713 140.1 -4.7311 683337601 683596801 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 :                                   415.36 sec.
    Max Memory :                                 1256 MB
    Average Memory :                             333.89 MB
    Total Requested Memory :                     -
    Delta Memory :                               -
    Max Swap :                                   -
    Max Processes :                              5
    Max Threads :                                21
    Run time :                                   519 sec.
    Turnaround time :                            764 sec.

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

