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


Performing analysis on: 4FGL_J0906.3-0905_daily_bin1762
RA = 136.583, Dec = -9.0925
tmin = 696038401, tmax = 696297601
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='106425', job_status='RUN', time_executed='2023-01-25 00:46:24.952640', time_epoch_executed='1674636384.95' WHERE source_name='4FGL J0906.3-0905' and cadence='daily' and bin_id='1762'

Database successfully updated.
Done.

Creating custom output directory:
/scratch/kocevski/106425

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

Retrieving the FT1 file...

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

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

Retrieving 46 files...
Done.


Merging files...

Checksum keywords updated successfully.

Merged file saved to:
/scratch/kocevski/106425/ft1_4FGL_J0906.3-0905_daily_bin1762.fits


Retrieving the FT1 file...

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

Retrieving 46 files...
Done.


Merging files...

Merged file saved to:
/scratch/kocevski/106425/ft2_4FGL_J0906.3-0905_daily_bin1762.fits


Selecting the photons:
time -p gtselect infile=/scratch/kocevski/106425/ft1_4FGL_J0906.3-0905_daily_bin1762.fits outfile=/scratch/kocevski/106425/ft1_filteredMKT_4FGL_J0906.3-0905_daily_bin1762.fits ra=136.583 dec=-9.0925 rad=12.0 tmin=696038401.0 tmax=696297601.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.04
user 2.78
sys 0.23

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

Selecting the good time intervals:
time -p gtmktime scfile=/scratch/kocevski/106425/ft2_4FGL_J0906.3-0905_daily_bin1762.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/106425/ft1_filteredMKT_4FGL_J0906.3-0905_daily_bin1762.fits evtable="EVENTS" outfile="/scratch/kocevski/106425/ft1_filtered_4FGL_J0906.3-0905_daily_bin1762.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.44
user 0.27
sys 0.16

Number of photons that the gtmktime cut: 593

Generating the livetime cube:
time -p gtltcube evfile="/scratch/kocevski/106425/ft1_filtered_4FGL_J0906.3-0905_daily_bin1762.fits" evtable="EVENTS" scfile=/scratch/kocevski/106425/ft2_4FGL_J0906.3-0905_daily_bin1762.fits sctable="SC_DATA" outfile=/scratch/kocevski/106425/ltcube_696038401_696297601_4FGL_J0906.3-0905_daily_bin1762.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/106425/ft2_4FGL_J0906.3-0905_daily_bin1762.fits
.....................!
real 11.32
user 10.97
sys 0.29

Generating the exposure map:
time -p gtexpmap evfile=/scratch/kocevski/106425/ft1_filtered_4FGL_J0906.3-0905_daily_bin1762.fits evtable="EVENTS" scfile=/scratch/kocevski/106425/ft2_4FGL_J0906.3-0905_daily_bin1762.fits sctable="SC_DATA" expcube=/scratch/kocevski/106425/ltcube_696038401_696297601_4FGL_J0906.3-0905_daily_bin1762.fits outfile=/scratch/kocevski/106425/expmap_696038401_696297601_4FGL_J0906.3-0905_daily_bin1762.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/106425/ltcube_696038401_696297601_4FGL_J0906.3-0905_daily_bin1762.fits
.....................!
real 156.80
user 151.22
sys 4.94

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/106425/ft1_filtered_4FGL_J0906.3-0905_daily_bin1762.fits scfile=/scratch/kocevski/106425/ft2_4FGL_J0906.3-0905_daily_bin1762.fits outfile=/scratch/kocevski/106425/cmap_696038401_696297601_4FGL_J0906.3-0905_daily_bin1762.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.48
user 0.31
sys 0.16

Creating the high resolution counts map:
time -p gtbin evfile=/scratch/kocevski/106425/ft1_filtered_4FGL_J0906.3-0905_daily_bin1762.fits scfile=/scratch/kocevski/106425/ft2_4FGL_J0906.3-0905_daily_bin1762.fits outfile=/scratch/kocevski/106425/cmap_HighResolution_696038401_696297601_4FGL_J0906.3-0905_daily_bin1762.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.48
user 0.31
sys 0.16

Computing the diffuse response:
time -p gtdiffrsp evfile=/scratch/kocevski/106425/ft1_filtered_4FGL_J0906.3-0905_daily_bin1762.fits evtable="EVENTS" scfile=/scratch/kocevski/106425/ft2_4FGL_J0906.3-0905_daily_bin1762.fits sctable="SC_DATA" srcmdl=/scratch/kocevski/106425/Model_4FGL_J0906.3-0905_daily_bin1762.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/106425/ft1_filtered_4FGL_J0906.3-0905_daily_bin1762.fits.....................!
real 58.33
user 57.12
sys 1.06

Creating the likelihood object...
obs = UnbinnedObs('/scratch/kocevski/106425/ft1_filtered_4FGL_J0906.3-0905_daily_bin1762.fits', '/scratch/kocevski/106425/ft2_4FGL_J0906.3-0905_daily_bin1762.fits', expMap='/scratch/kocevski/106425/expmap_696038401_696297601_4FGL_J0906.3-0905_daily_bin1762.fits', expCube='/scratch/kocevski/106425/ltcube_696038401_696297601_4FGL_J0906.3-0905_daily_bin1762.fits', irfs='P8R3_SOURCE_V2')
like = UnbinnedAnalysis(obs, '/scratch/kocevski/106425/Model_4FGL_J0906.3-0905_daily_bin1762.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  0.000e+00  1.000e+06 ( 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/106425/ft1_filtered_4FGL_J0906.3-0905_daily_bin1762.fits
Spacecraft file(s): /scratch/kocevski/106425/ft2_4FGL_J0906.3-0905_daily_bin1762.fits
Exposure map: /scratch/kocevski/106425/expmap_696038401_696297601_4FGL_J0906.3-0905_daily_bin1762.fits
Exposure cube: /scratch/kocevski/106425/ltcube_696038401_696297601_4FGL_J0906.3-0905_daily_bin1762.fits
IRFs: P8R3_SOURCE_V2
Source model file: /scratch/kocevski/106425/Model_4FGL_J0906.3-0905_daily_bin1762.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) = 6547.1748891

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

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

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'norm      '    29.621       1.0000          .0000       .10000E+07
     2 'Prefactor '    .87509E-04   1.0000          .0000       .10000E+07
     3 'norm      '    1.8816       1.0000          .0000       .10000E+07
     4 'norm      '    .69922E-05   1.0000          .0000       .10000E+07
     5 'Prefactor '    3.7803       1.0000          .0000       .10000E+07
     6 'Prefactor '    .57898E-03   1.0000          .0000       .10000E+07
     7 'Prefactor '    9.8518       1.0000          .0000       .10000E+07
     8 'norm      '    1.0866       1.0000          .0000       .10000E+07
     9 'norm      '    3.3597       1.0000          .0000       .10000E+07
    10 'Prefactor '    .38621E-04   1.0000          .0000       .10000E+07
    11 'Prefactor '    .22049E-04   1.0000          .0000       .10000E+07
    12 'Prefactor '    .70288E-04   1.0000          .0000       .10000E+07
    13 'Prefactor '    .58853E-02   1.0000          .0000       .10000E+07
    14 'Prefactor '    .50916       1.0000          .0000       .10000E+07
    15 'norm      '    17.008       1.0000          .0000       .10000E+07
    16 'norm      '    .66386E-06   1.0000          .0000       .10000E+07
    17 'norm      '    1.2969       1.0000          .0000       .10000E+07
    18 'Normalizat'    .91054       1.0000         .10000E-01   10.000    
    19 'Prefactor '    .92969       1.0000          .0000       10.000    
 **********
 **   15 **SET ERR    .5000    
 **********
 **********
 **   16 **SET GRAD    1.000    
 **********
 **********
 **   17 **MINIMIZE    .5470E+05   .2000E-04
 **********

 MIGRAD MINIMIZATION HAS CONVERGED.

 FCN=   6547.120     FROM MIGRAD    STATUS=CONVERGED    147 CALLS     1156 TOTAL
                     EDM=   .17E-09  STRATEGY=1  ERROR MATRIX UNCERTAINTY=  1.2%

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  norm          29.180        3.0598        .16773E-06    .35664E-01
   2  Prefactor     .61118E-07    10.516       -.48446E-06** at limit **
   3  norm          1.9052        5.7530        .33773E-05    .50370E-04
   4  norm           .0000        5.7283        .95827E-06** at limit **
   5  Prefactor     3.7658        6.5771       -.15733E-06    .84626E-03
   6  Prefactor     .10625E-06    7.1456       -.24670E-07** at limit **
   7  Prefactor     9.8153        8.6322       -.31972E-06   -.39819E-03
   8  norm          1.0801        3.7198       -.10160E-05    .15924E-03
   9  norm          3.2917        7.1244       -.74549E-06    .75493E-04
  10  Prefactor     .18097E-07    28.774        .57186E-05** at limit **
  11  Prefactor     .35527E-08    10.336        .52572E-05** at limit **
  12  Prefactor      .0000        10.085       -.15341E-05** at limit **
  13  Prefactor     .94369E-09    44.950       -.16444E-05** at limit **
  14  Prefactor     .66845        1.1625       -.91470E-06    .43984E-02
  15  norm          16.955        7.0593       -.67440E-06   -.81372E-03
  16  norm           .0000        1.1756        .10033E-05** at limit **
  17  norm          1.2969        1.3196        .95865E-06   -.44155E-02
  18  Normalizat    .91103        .20979        .17590E-04   -.39738E-05
  19  Prefactor     .92960        .14012       -.10293E-04   -.26610E-03
                               ERR DEF=  .500    
Final values: 
  norm       = 29.18
  Prefactor  = 6.11178e-08
  norm       = 1.90518
  norm       = 0
  Prefactor  = 3.76576
  Prefactor  = 1.06248e-07
  Prefactor  = 9.81525
  norm       = 1.08013
  norm       = 3.29172
  Prefactor  = 1.80966e-08
  Prefactor  = 3.55271e-09
  Prefactor  = 0
  Prefactor  = 9.4369e-10
  Prefactor  = 0.668448
  norm       = 16.9554
  norm       = 0
  norm       = 1.29686
  Normalizat = 0.911029
  Prefactor  = 0.929601
 **********
 **   18 **HESSE 
 **********

 FCN=   6547.120     FROM HESSE     STATUS=OK           306 CALLS     1462 TOTAL
                     EDM=   .49E-07    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  norm          29.180        22.979        .18377E-03   -1.5600    
   2  Prefactor     .61118E-07    17.042        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   3  norm          1.9052        5.8593        .75859E-03   -1.5680    
   4  norm           .0000        1.4488        .42118E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   5  Prefactor     3.7658        6.5612        .51897E-03   -1.5669    
   6  Prefactor     .10625E-06    17.848        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   7  Prefactor     9.8153        8.6434        .31901E-03   -1.5645    
   8  norm          1.0801        3.7485        .11502E-02   -1.5687    
   9  norm          3.2917        7.1486        .55185E-03   -1.5672    
  10  Prefactor     .18097E-07    29.208        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  11  Prefactor     .35527E-08    10.503        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  12  Prefactor      .0000        10.120        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  13  Prefactor     .94369E-09    44.910        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  14  Prefactor     .66845        40.523        .77793E-03   -1.5692    
  15  norm          16.955        7.0812        .24258E-03   -1.5626    
  16  norm           .0000        1.1759        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  17  norm          1.2969        1.3148        .97067E-03   -1.5685    
  18  Normalizat    .91103        .18066        .45036E-01   -.96074    
  19  Prefactor     .92960        .11938        .45382E-01   -.95114    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 4.93854e-08
Minuit parameter uncertainties:
  1  22.9792
  2  0.00204095
  3  5.85936
  4  7.85057e-06
  5  6.56121
  6  0.00275443
  7  8.64342
  8  3.74853
  9  7.14858
  10  0.0014541
  11  0.000386766
  12  5.76714e-06
  13  0.000410991
  14  10.4092
  15  7.08125
  16  8.92597e-06
  17  1.31481
  18  0.180779
  19  0.119416
Done.

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

Extracting fit parameters...

4FGL J0906.3-0905
   Spectrum: PowerLaw
288    Prefactor:  9.815e+00  8.643e+00  0.000e+00  1.000e+06 ( 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:  9.296e-01  1.194e-01  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.110e-01  1.808e-01  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Fixed Index): 1.79
Ra Dec: 136.583 -9.092
Photon Index (Fixed Index): 2.11 +/- 0.00
Photon Flux (Fixed Index): 3.98e-08 +/- 3.50e-08
Energy Flux (Fixed Index): 2.16e-05 +/- 1.90e-05

TS (Fixed Index): 1.79
Ra Dec: 136.583 -9.092
Photon Flux Upper Limit: 1.14e-07 ph cm-2 s-1
Energy Flux Upper Limit: 8.63e-03 MeV cm-2 s-1

Saving results to:
/scratch/kocevski/106425/likelihoodResults_696038401_696297601_4FGL_J0906.3-0905_daily_bin1762.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) = 6546.0948106
delta logL = 1.02471137708

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

MINUIT Return Code (Free Index): 0
logL (Free Index) = 6546.08260632
delta logL = 1.03691566412

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'Prefactor '    3.0933       1.0000          .0000       .10000E+07
     2 'Index     '    2.9858       1.0000          .0000       10.000    
     3 'Normalizat'    .84892       1.0000         .10000E-01   10.000    
     4 'Prefactor '    .95364       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=   6546.083     FROM MIGRAD    STATUS=CONVERGED     56 CALLS      255 TOTAL
                     EDM=   .24E-08    STRATEGY= 1      ERR MATRIX NOT POS-DEF

  EXT PARAMETER                APPROXIMATE        STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor     3.0894        31.333        .57637E-03    .39368E-02
   2  Index         2.9863        2.2482        .98665E-01    .18072E-03
   3  Normalizat    .84894        .65698E-01    .64780E-01    .19289E-04
   4  Prefactor     .95363        .40484E-01    .45685E-01    .17332E-05
                               ERR DEF=  .500    
Final values: 
  Prefactor  = 3.0894
  Index      = 2.98631
  Normalizat = 0.848944
  Prefactor  = 0.953635
 **********
 **   18 **HESSE 
 **********

 FCN=   6546.083     FROM HESSE     STATUS=OK            33 CALLS      288 TOTAL
                     EDM=   .32E-07    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  Prefactor     3.0894        7.8378        .80963E-05   -1.5673    
   2  Index         2.9863        1.1115        .37032E-02   -.41451    
   3  Normalizat    .84894        .21034        .28656E-03   -.98278    
   4  Prefactor     .95363        .13884        .18314E-03   -.94291    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 3.21365e-08
Minuit parameter uncertainties:
  1  7.83778
  2  1.12268
  3  0.210539
  4  0.138895
shell-init: error retrieving current directory: getcwd: cannot access parent directories: No such file or directory
rmdir: failed to remove `/scratch/kocevski/106425': 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) = 6546.08260598
delta logL = 1.03691600398

Extracting fit parameters...

4FGL J0906.3-0905
   Spectrum: PowerLaw
288    Prefactor:  3.089e+00  7.838e+00  0.000e+00  1.000e+06 ( 1.000e-13)
289        Index:  2.986e+00  1.123e+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:  9.536e-01  1.389e-01  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:  8.489e-01  2.105e-01  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Free Index): 3.98
Ra Dec: 136.583 -9.092
Photon Index (Free Index): 2.99 +/- 1.12
Photon Flux (Free Index): 8.99e-08 +/- 5.86e-08
Energy Flux (Free Index): 1.81e-05 +/- 1.26e-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/106425/cmap_HighResolution_696038401_696297601_4FGL_J0906.3-0905_daily_bin1762.png

Cleaning up...

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

Updating database...

UPDATE lightcurve_data_v2 SET energy_flux_upper_limit='8.63e-03', comment='SUCCESS', photon_flux='3.98e-08', energy_flux2='1.81e-05', photon_flux_error='3.50e-08', dlogl='1.04e+00', energy_flux='2.16e-05', photon_flux2='8.99e-08', job_status='DONE', time_completed='2023-01-25 00:53:40.181464', photon_index_error2='1.12', photon_index2='2.99', ts='1.79', fit_tolerance='1e-08', GAL='0.93', photon_index_error='0.00', photon_flux_upper_limit='1.14e-07', energy_flux_error2='1.26e-05', EG='0.91', time_epoch_completed='1674636820.18', return_code='0', job_id='106425', GAL2='0.95', EG2='0.85', return_code2='0', energy_flux_error='1.90e-05', photon_flux_error2='5.86e-08', ts2='3.98', photon_index='2.11' WHERE bin_id='1762' AND source_name='4FGL J0906.3-0905' AND cadence='daily';

Database successfully updated.


Analysis Complete.


Wed Jan 25 00:53:40 PST 2023


------------------------------------------------------------
Sender: LSF System <lsf@bullet0023>
Subject: Job 106425: <4FGL_J0906.3-0905_daily_bin1762> in cluster <slac> Done

Job <4FGL_J0906.3-0905_daily_bin1762> was submitted from host <rhel6-64p> by user <kocevski> in cluster <slac> at Wed Jan 25 00:45:13 2023
Job was executed on host(s) <bullet0023>, in queue <medium>, as user <kocevski> in cluster <slac> at Wed Jan 25 00:45:52 2023
</u/ki/kocevski> was used as the home directory.
</u/ki/kocevski> was used as the working directory.
Started at Wed Jan 25 00:45:52 2023
Terminated at Wed Jan 25 00:53:40 2023
Results reported at Wed Jan 25 00:53:40 2023

Your job looked like:

------------------------------------------------------------
# LSBATCH: User input
/nfs/farm/g/glast/g/LCRepository/Likelihood/Scripts/LikelihoodAnalysis.py 4FGL_J0906.3-0905_daily_bin1762 136.583 -9.0925 696038401 696297601 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 :                                   436.00 sec.
    Max Memory :                                 1093 MB
    Average Memory :                             364.41 MB
    Total Requested Memory :                     -
    Delta Memory :                               -
    Max Swap :                                   -
    Max Processes :                              5
    Max Threads :                                21
    Run time :                                   468 sec.
    Turnaround time :                            507 sec.

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

