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 32 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 make4FGLxml version 01r04.
The default diffuse model files and names are for pass 8 and 4FGL and assume you have v11r5p3 of the Fermi Science Tools or higher.

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


Performing analysis on: 4FGL_J0906.3-0905_monthly_bin168
RA = 136.583, Dec = -9.0925
tmin = 672451201, tmax = 675043201
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='627049', job_status='RUN', time_executed='2022-05-24 02:43:54.943675', time_epoch_executed='1653385434.94' WHERE source_name='4FGL J0906.3-0905' and cadence='monthly' and bin_id='168'

Database successfully updated.
Done.

Creating custom output directory:
/scratch/kocevski/627049

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

Retrieving the FT1 file...

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

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

Retrieving 455 files...
Done.


Merging files...

Checksum keywords updated successfully.

Merged file saved to:
/scratch/kocevski/627049/ft1_4FGL_J0906.3-0905_monthly_bin168.fits


Retrieving the FT1 file...

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

Retrieving 455 files...
Done.


Merging files...

Merged file saved to:
/scratch/kocevski/627049/ft2_4FGL_J0906.3-0905_monthly_bin168.fits


Selecting the photons:
time -p gtselect infile=/scratch/kocevski/627049/ft1_4FGL_J0906.3-0905_monthly_bin168.fits outfile=/scratch/kocevski/627049/ft1_filteredMKT_4FGL_J0906.3-0905_monthly_bin168.fits ra=136.583 dec=-9.0925 rad=12.0 tmin=672451201.0 tmax=675043201.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 28.53
user 27.77
sys 0.67

Adding sun position to ft2 file:
/nfs/farm/g/glast/g/LCRepository/Repository/bin/sunpos /scratch/kocevski/627049/ft2_4FGL_J0906.3-0905_monthly_bin168.fits

Selecting the good time intervals:
time -p gtmktime scfile=/scratch/kocevski/627049/ft2_4FGL_J0906.3-0905_monthly_bin168.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/627049/ft1_filteredMKT_4FGL_J0906.3-0905_monthly_bin168.fits evtable="EVENTS" outfile="/scratch/kocevski/627049/ft1_filtered_4FGL_J0906.3-0905_monthly_bin168.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.85
user 0.66
sys 0.18

Number of photons that the gtmktime cut: 7746

Generating the livetime cube:
time -p gtltcube evfile="/scratch/kocevski/627049/ft1_filtered_4FGL_J0906.3-0905_monthly_bin168.fits" evtable="EVENTS" scfile=/scratch/kocevski/627049/ft2_4FGL_J0906.3-0905_monthly_bin168.fits sctable="SC_DATA" outfile=/scratch/kocevski/627049/ltcube_672451201_675043201_4FGL_J0906.3-0905_monthly_bin168.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/627049/ft2_4FGL_J0906.3-0905_monthly_bin168.fits
.....................!
real 126.76
user 126.15
sys 0.35

Generating the exposure map:
time -p gtexpmap evfile=/scratch/kocevski/627049/ft1_filtered_4FGL_J0906.3-0905_monthly_bin168.fits evtable="EVENTS" scfile=/scratch/kocevski/627049/ft2_4FGL_J0906.3-0905_monthly_bin168.fits sctable="SC_DATA" expcube=/scratch/kocevski/627049/ltcube_672451201_675043201_4FGL_J0906.3-0905_monthly_bin168.fits outfile=/scratch/kocevski/627049/expmap_672451201_675043201_4FGL_J0906.3-0905_monthly_bin168.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/627049/ltcube_672451201_675043201_4FGL_J0906.3-0905_monthly_bin168.fits
.....................!
real 192.98
user 187.51
sys 5.03

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 165 point sources and 0 extended sources

Setting source of interest to:
4FGL J0906.3-0905 @ 136.583 -9.0925

Creating the counts map:
time -p gtbin evfile=/scratch/kocevski/627049/ft1_filtered_4FGL_J0906.3-0905_monthly_bin168.fits scfile=/scratch/kocevski/627049/ft2_4FGL_J0906.3-0905_monthly_bin168.fits outfile=/scratch/kocevski/627049/cmap_672451201_675043201_4FGL_J0906.3-0905_monthly_bin168.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=136.583 yref=-9.0925 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.79
user 0.60
sys 0.17

Creating the high resolution counts map:
time -p gtbin evfile=/scratch/kocevski/627049/ft1_filtered_4FGL_J0906.3-0905_monthly_bin168.fits scfile=/scratch/kocevski/627049/ft2_4FGL_J0906.3-0905_monthly_bin168.fits outfile=/scratch/kocevski/627049/cmap_HighResolution_672451201_675043201_4FGL_J0906.3-0905_monthly_bin168.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=136.583 yref=-9.0925 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.79
user 0.61
sys 0.16

Computing the diffuse response:
time -p gtdiffrsp evfile=/scratch/kocevski/627049/ft1_filtered_4FGL_J0906.3-0905_monthly_bin168.fits evtable="EVENTS" scfile=/scratch/kocevski/627049/ft2_4FGL_J0906.3-0905_monthly_bin168.fits sctable="SC_DATA" srcmdl=/scratch/kocevski/627049/Model_4FGL_J0906.3-0905_monthly_bin168.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/627049/ft1_filtered_4FGL_J0906.3-0905_monthly_bin168.fits.....................!
real 761.50
user 758.68
sys 1.38

Creating the likelihood object...
obs = UnbinnedObs('/scratch/kocevski/627049/ft1_filtered_4FGL_J0906.3-0905_monthly_bin168.fits', '/scratch/kocevski/627049/ft2_4FGL_J0906.3-0905_monthly_bin168.fits', expMap='/scratch/kocevski/627049/expmap_672451201_675043201_4FGL_J0906.3-0905_monthly_bin168.fits', expCube='/scratch/kocevski/627049/ltcube_672451201_675043201_4FGL_J0906.3-0905_monthly_bin168.fits', irfs='P8R3_SOURCE_V2')
like = UnbinnedAnalysis(obs, '/scratch/kocevski/627049/Model_4FGL_J0906.3-0905_monthly_bin168.xml', optimizer='MINUIT')

Using source of interest name: '4FGL J0906.3-0905'

4FGL J0906.3-0905
   Spectrum: PowerLaw
288    Prefactor:  1.519e+00  0.000e+00  1.000e-04  1.000e+04 ( 1.000e-13)
289        Index:  2.105e+00  0.000e+00  0.000e+00  1.000e+01 (-1.000e+00) fixed
290        Scale:  1.818e+03  0.000e+00  3.000e+01  5.000e+05 ( 1.000e+00) fixed


Likelihood Fit Parameters:
Event file(s): /scratch/kocevski/627049/ft1_filtered_4FGL_J0906.3-0905_monthly_bin168.fits
Spacecraft file(s): /scratch/kocevski/627049/ft2_4FGL_J0906.3-0905_monthly_bin168.fits
Exposure map: /scratch/kocevski/627049/expmap_672451201_675043201_4FGL_J0906.3-0905_monthly_bin168.fits
Exposure cube: /scratch/kocevski/627049/ltcube_672451201_675043201_4FGL_J0906.3-0905_monthly_bin168.fits
IRFs: P8R3_SOURCE_V2
Source model file: /scratch/kocevski/627049/Model_4FGL_J0906.3-0905_monthly_bin168.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) = 84094.159253

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

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

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'norm      '    32.174       1.0000         .10000E-03   10000.    
     2 'Prefactor '    .10015E-03   1.0000         .10000E-03   10000.    
     3 'norm      '    3.6197       1.0000         .10000E-03   10000.    
     4 'norm      '    2.3792       1.0000         .10000E-03   10000.    
     5 'Prefactor '    .10005E-03   1.0000         .10000E-03   10000.    
     6 'Prefactor '    .13724E-03   1.0000         .10000E-03   10000.    
     7 'Prefactor '    3.4307       1.0000         .10000E-03   10000.    
     8 'norm      '    4.3525       1.0000         .10000E-03   10000.    
     9 'norm      '    10.769       1.0000         .10000E-03   10000.    
    10 'Prefactor '    .10005E-03   1.0000         .10000E-03   10000.    
    11 'Prefactor '    1.0982       1.0000         .10000E-03   10000.    
    12 'Prefactor '    1.2505       1.0000         .10000E-03   10000.    
    13 'Prefactor '    .10057E-03   1.0000         .10000E-03   10000.    
    14 'Prefactor '    .10106E-03   1.0000         .10000E-03   10000.    
    15 'Prefactor '    3.7512       1.0000         .10000E-03   10000.    
    16 'norm      '    8.4982       1.0000         .10000E-03   10000.    
    17 'norm      '    .10001E-03   1.0000         .10000E-03   10000.    
    18 'norm      '    .47578       1.0000         .10000E-03   10000.    
    19 'Normalizat'    1.0007       1.0000         .10000E-01   10.000    
    20 'Prefactor '    1.0326       1.0000          .0000       10.000    
 **********
 **   15 **SET ERR    .5000    
 **********
 **********
 **   16 **SET GRAD    1.000    
 **********
 **********
 **   17 **MINIMIZE    .5470E+05   .2000E-04
 **********

 MIGRAD MINIMIZATION HAS CONVERGED.

 MIGRAD WILL VERIFY CONVERGENCE AND ERROR MATRIX.

 MIGRAD MINIMIZATION HAS CONVERGED.

 FCN=   84093.32     FROM MIGRAD    STATUS=CONVERGED    421 CALLS     1809 TOTAL
                     EDM=   .70E-09  STRATEGY=1  ERROR MATRIX UNCERTAINTY=  2.8%

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  norm          32.171        8.1030       -.15033E-05   -.98789E-03
   2  Prefactor     .10000E-03    3.6570       -.38891E-06** at limit **
   3  norm          3.6189        1.6629       -.60073E-07   -.44146E-03
   4  norm          2.3790        .70450        .18068E-07   -.24174E-03
   5  Prefactor     .10000E-03    .24804       -.21478E-07** at limit **
   6  Prefactor     .10000E-03    .55046        .37162E-07** at limit **
   7  Prefactor     3.4330        1.7079       -.89953E-07   -.65239E-03
   8  norm          4.3523        1.1331       -.63913E-08   -.34572E-03
   9  norm          10.769        1.7655        .76345E-07   -.23859E-02
  10  Prefactor     .10000E-03    1.5068        .47987E-07** at limit **
  11  Prefactor     1.0956        3.4028       -.13333E-05    .79359E-03
  12  Prefactor     1.2467        3.3375        .64847E-08   -.39495E-03
  13  Prefactor     .10000E-03    1.3748       -.80456E-07** at limit **
  14  Prefactor     .10000E-03    1.0110       -.33095E-07** at limit **
  15  Prefactor     3.7496        2.8932       -.37237E-07   -.10929E-03
  16  norm          8.4929        1.5093        .12989E-06   -.34674E-02
  17  norm          .10000E-03    .13901       -.17110E-07** at limit **
  18  norm          .47569        .38188        .54055E-07   -.10590E-02
  19  Normalizat    1.0007        .53508E-01    .13680E-06    .97088E-03
  20  Prefactor     1.0326        .36015E-01    .40576E-07    .10933E-02
                               ERR DEF=  .500    
Final values: 
  norm       = 32.1706
  Prefactor  = 0.0001
  norm       = 3.61892
  norm       = 2.379
  Prefactor  = 0.0001
  Prefactor  = 0.0001
  Prefactor  = 3.43302
  norm       = 4.35234
  norm       = 10.7689
  Prefactor  = 0.0001
  Prefactor  = 1.0956
  Prefactor  = 1.24669
  Prefactor  = 0.0001
  Prefactor  = 0.0001
  Prefactor  = 3.74959
  norm       = 8.49291
  norm       = 0.0001
  norm       = 0.475688
  Normalizat = 1.00071
  Prefactor  = 1.03259
 **********
 **   18 **HESSE 
 **********

 FCN=   84093.32     FROM HESSE     STATUS=OK           303 CALLS     2112 TOTAL
                     EDM=   .57E-07    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  norm          32.171        8.2581        .70642E-04   -1.4573    
   2  Prefactor     .10000E-03    3.7079        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   3  norm          3.6189        1.6641        .21236E-03   -1.5327    
   4  norm          2.3790        .69658        .12597E-03   -1.5399    
   5  Prefactor     .10000E-03    .60694        .27896E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   6  Prefactor     .10000E-03    4.0516        .40676E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   7  Prefactor     3.4330        1.7292        .21838E-03   -1.5337    
   8  norm          4.3523        1.1339        .15138E-03   -1.5291    
   9  norm          10.769        1.9370        .61045E-03   -1.5052    
  10  Prefactor     .10000E-03    1.5227        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  11  Prefactor     1.0956        19.522        .82992E-02   -1.5499    
  12  Prefactor     1.2467        3.6281        .39992E-03   -1.5485    
  13  Prefactor     .10000E-03    1.3796        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  14  Prefactor     .10000E-03    1.0120        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  15  Prefactor     3.7496        2.8938        .20846E-03   -1.5321    
  16  norm          8.4929        1.8438        .68756E-03   -1.5125    
  17  norm          .10000E-03    .39211        .21008E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  18  norm          .47569        .32599        .16265E-02   -1.5570    
  19  Normalizat    1.0007        .62570E-01    .28578E-03   -.93007    
  20  Prefactor     1.0326        .41337E-01    .19307E-03   -.91651    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 5.67873e-08
Minuit parameter uncertainties:
  1  8.25837
  2  1.12466e-05
  3  1.66415
  4  0.696579
  5  2.24211e-06
  6  8.63299e-05
  7  1.72922
  8  1.13388
  9  1.93706
  10  5.12744e-06
  11  9.25252
  12  3.6287
  13  1.68794e-06
  14  1.04479e-06
  15  2.89392
  16  1.8438
  17  6.48622e-07
  18  0.325995
  19  0.062575
  20  0.0413381
Done.

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

Extracting fit parameters...

4FGL J0906.3-0905
   Spectrum: PowerLaw
288    Prefactor:  3.433e+00  1.729e+00  1.000e-04  1.000e+04 ( 1.000e-13)
289        Index:  2.105e+00  0.000e+00  0.000e+00  1.000e+01 (-1.000e+00) fixed
290        Scale:  1.818e+03  0.000e+00  3.000e+01  5.000e+05 ( 1.000e+00) fixed

GAL_V02
   Spectrum: PowerLaw
544    Prefactor:  1.033e+00  4.134e-02  0.000e+00  1.000e+01 ( 1.000e+00)
545        Index:  0.000e+00  0.000e+00 -1.000e+00  1.000e+00 ( 1.000e+00) fixed
546        Scale:  1.000e+02  0.000e+00  5.000e+01  2.000e+02 ( 1.000e+00) fixed

EG_v02
   Spectrum: FileFunction
543   Normalization:  1.001e+00  6.258e-02  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Fixed Index): 5.87
Ra Dec: 136.583 -9.092
Photon Index (Fixed Index): 2.11 +/- 0.00
Photon Flux (Fixed Index): 1.39e-08 +/- 7.01e-09
Energy Flux (Fixed Index): 7.55e-06 +/- 3.81e-06

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) = 84092.6157976
delta logL = 0.699267284872

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

MINUIT Return Code (Free Index): 0
logL (Free Index) = 84092.5941586
delta logL = 0.720906366449

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'Prefactor '    2.0629       1.0000         .10000E-03   10000.    
     2 'Index     '    2.6211       1.0000          .0000       10.000    
     3 'Normalizat'    .98578       1.0000         .10000E-01   10.000    
     4 'Prefactor '    1.0381       1.0000          .0000       10.000    
 **********
 **   15 **SET ERR    .5000    
 **********
 **********
 **   16 **SET GRAD    1.000    
 **********
 **********
 **   17 **MINIMIZE    .5470E+05   .2000E-04
 **********

 MIGRAD MINIMIZATION HAS CONVERGED.

 MIGRAD WILL VERIFY CONVERGENCE AND ERROR MATRIX.

 FCN=   84092.59     FROM MIGRAD    STATUS=CONVERGED     60 CALLS      265 TOTAL
                     EDM=   .26E-08    STRATEGY= 1      ERR MATRIX NOT POS-DEF

  EXT PARAMETER                APPROXIMATE        STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor     2.0635        7.8499        .71923E-02    .86123E-02
   2  Index         2.6213        1.3463        .13593        .16578E-02
   3  Normalizat    .98573        .15589E-01    .45988E-01    .20512E-03
   4  Prefactor     1.0382        .96736E-02    .40661E-01    .30636E-04
                               ERR DEF=  .500    
Final values: 
  Prefactor  = 2.06352
  Index      = 2.62131
  Normalizat = 0.985729
  Prefactor  = 1.03817
 **********
 **   18 **HESSE 
 **********

 FCN=   84092.59     FROM HESSE     STATUS=OK            33 CALLS      298 TOTAL
                     EDM=   .14E-04    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  Prefactor     2.0635        11.165        .16810E-03   -1.5421    
   2  Index         2.6213        2.3884        .95467E-02   -.49580    
   3  Normalizat    .98573        .87944E-01    .28772E-03   -.93510    
   4  Prefactor     1.0382        .52385E-01    .19261E-03   -.91468    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 1.4362e-05
Minuit parameter uncertainties:
  1  9.60246
  2  2.52488
  3  0.087957
  4  0.0523873
shell-init: error retrieving current directory: getcwd: cannot access parent directories: No such file or directory
rmdir: failed to remove `/scratch/kocevski/627049': 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) = 84092.5941572
delta logL = 0.720907737996

Extracting fit parameters...

4FGL J0906.3-0905
   Spectrum: PowerLaw
288    Prefactor:  2.064e+00  9.602e+00  1.000e-04  1.000e+04 ( 1.000e-13)
289        Index:  2.621e+00  2.525e+00  0.000e+00  1.000e+01 (-1.000e+00)
290        Scale:  1.818e+03  0.000e+00  3.000e+01  5.000e+05 ( 1.000e+00) fixed

GAL_V02
   Spectrum: PowerLaw
544    Prefactor:  1.038e+00  5.239e-02  0.000e+00  1.000e+01 ( 1.000e+00)
545        Index:  0.000e+00  0.000e+00 -1.000e+00  1.000e+00 ( 1.000e+00) fixed
546        Scale:  1.000e+02  0.000e+00  5.000e+01  2.000e+02 ( 1.000e+00) fixed

EG_v02
   Spectrum: FileFunction
543   Normalization:  9.857e-01  8.796e-02  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Free Index): 7.37
Ra Dec: 136.583 -9.092
Photon Index (Free Index): 2.62 +/- 2.52
Photon Flux (Free Index): 2.55e-08 +/- 3.08e-08
Energy Flux (Free Index): 6.56e-06 +/- 7.94e-06

Creating a high resolution counts map...
INFO: Auto-setting vmin to -1.003e-01 [aplpy.core]
INFO: Auto-setting vmax to  1.113e+00 [aplpy.core]
Saving /scratch/kocevski/627049/cmap_HighResolution_672451201_675043201_4FGL_J0906.3-0905_monthly_bin168.png

Cleaning up...

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

Updating database...

UPDATE lightcurve_data_v2 SET comment='SUCCESS', photon_flux='1.39e-08', energy_flux2='6.56e-06', photon_flux_error='7.01e-09', dlogl='7.21e-01', energy_flux='7.55e-06', photon_flux2='2.55e-08', job_status='DONE', time_completed='2022-05-24 03:44:40.441508', photon_index_error2='2.52', photon_index2='2.62', ts='5.87', fit_tolerance='1e-08', GAL='1.03', photon_index_error='0.00', energy_flux_error2='7.94e-06', EG='1.00', time_epoch_completed='1653389080.44', return_code='0', job_id='627049', GAL2='1.04', EG2='0.99', return_code2='0', energy_flux_error='3.81e-06', photon_flux_error2='3.08e-08', ts2='7.37', photon_index='2.11' WHERE bin_id='168' AND source_name='4FGL J0906.3-0905' AND cadence='monthly';

Database successfully updated.


Analysis Complete.


Tue May 24 03:44:40 PDT 2022


------------------------------------------------------------
Sender: LSF System <lsf@bullet0087>
Subject: Job 627049: <4FGL_J0906.3-0905_monthly_bin168> in cluster <slac> Done

Job <4FGL_J0906.3-0905_monthly_bin168> was submitted from host <rhel6-64p> by user <kocevski> in cluster <slac> at Tue May 24 02:40:27 2022
Job was executed on host(s) <bullet0087>, in queue <medium>, as user <kocevski> in cluster <slac> at Tue May 24 02:43:15 2022
</u/ki/kocevski> was used as the home directory.
</u/ki/kocevski> was used as the working directory.
Started at Tue May 24 02:43:15 2022
Terminated at Tue May 24 03:44:41 2022
Results reported at Tue May 24 03:44:41 2022

Your job looked like:

------------------------------------------------------------
# LSBATCH: User input
/nfs/farm/g/glast/g/LCRepository/Likelihood/Scripts/LikelihoodAnalysis.py 4FGL_J0906.3-0905_monthly_bin168 136.583 -9.0925 672451201 675043201 irfs=P8R3_SOURCE_V2 zmax=90 ROI=12 association=4FGL_J0906.3-0905 fixedModel=True performFreeIndexFit=True freeVariableSources=True nuke=True repositoryJob=True verbose=False
------------------------------------------------------------

Successfully completed.

Resource usage summary:

    CPU time :                                   3617.26 sec.
    Max Memory :                                 643 MB
    Average Memory :                             415.83 MB
    Total Requested Memory :                     -
    Delta Memory :                               -
    Max Swap :                                   2948 MB
    Max Processes :                              6
    Max Threads :                                21
    Run time :                                   3686 sec.
    Turnaround time :                            3854 sec.

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

