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


Performing analysis on: 4FGL_J0906.3-0905_daily_bin1746
RA = 136.583, Dec = -9.0925
tmin = 691891201, tmax = 692150401
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='718793', job_status='RUN', time_executed='2022-12-08 00:33:53.199614', time_epoch_executed='1670488433.2' WHERE source_name='4FGL J0906.3-0905' and cadence='daily' and bin_id='1746'

Database successfully updated.
Done.

Creating custom output directory:
/scratch/kocevski/718793

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

Retrieving the FT1 file...

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

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

Retrieving 46 files...
Done.


Merging files...

Checksum keywords updated successfully.

Merged file saved to:
/scratch/kocevski/718793/ft1_4FGL_J0906.3-0905_daily_bin1746.fits


Retrieving the FT1 file...

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

Retrieving 46 files...
Done.


Merging files...

Merged file saved to:
/scratch/kocevski/718793/ft2_4FGL_J0906.3-0905_daily_bin1746.fits


Selecting the photons:
time -p gtselect infile=/scratch/kocevski/718793/ft1_4FGL_J0906.3-0905_daily_bin1746.fits outfile=/scratch/kocevski/718793/ft1_filteredMKT_4FGL_J0906.3-0905_daily_bin1746.fits ra=136.583 dec=-9.0925 rad=12.0 tmin=691891201.0 tmax=692150401.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 4.73
user 4.46
sys 0.24

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

Selecting the good time intervals:
time -p gtmktime scfile=/scratch/kocevski/718793/ft2_4FGL_J0906.3-0905_daily_bin1746.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/718793/ft1_filteredMKT_4FGL_J0906.3-0905_daily_bin1746.fits evtable="EVENTS" outfile="/scratch/kocevski/718793/ft1_filtered_4FGL_J0906.3-0905_daily_bin1746.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.50
user 0.33
sys 0.14

Number of photons that the gtmktime cut: 795

Generating the livetime cube:
time -p gtltcube evfile="/scratch/kocevski/718793/ft1_filtered_4FGL_J0906.3-0905_daily_bin1746.fits" evtable="EVENTS" scfile=/scratch/kocevski/718793/ft2_4FGL_J0906.3-0905_daily_bin1746.fits sctable="SC_DATA" outfile=/scratch/kocevski/718793/ltcube_691891201_692150401_4FGL_J0906.3-0905_daily_bin1746.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/718793/ft2_4FGL_J0906.3-0905_daily_bin1746.fits
.....................!
real 12.08
user 11.73
sys 0.32

Generating the exposure map:
time -p gtexpmap evfile=/scratch/kocevski/718793/ft1_filtered_4FGL_J0906.3-0905_daily_bin1746.fits evtable="EVENTS" scfile=/scratch/kocevski/718793/ft2_4FGL_J0906.3-0905_daily_bin1746.fits sctable="SC_DATA" expcube=/scratch/kocevski/718793/ltcube_691891201_692150401_4FGL_J0906.3-0905_daily_bin1746.fits outfile=/scratch/kocevski/718793/expmap_691891201_692150401_4FGL_J0906.3-0905_daily_bin1746.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/718793/ltcube_691891201_692150401_4FGL_J0906.3-0905_daily_bin1746.fits
.....................!
real 190.57
user 185.76
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 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/718793/ft1_filtered_4FGL_J0906.3-0905_daily_bin1746.fits scfile=/scratch/kocevski/718793/ft2_4FGL_J0906.3-0905_daily_bin1746.fits outfile=/scratch/kocevski/718793/cmap_691891201_692150401_4FGL_J0906.3-0905_daily_bin1746.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.53
user 0.36
sys 0.16

Creating the high resolution counts map:
time -p gtbin evfile=/scratch/kocevski/718793/ft1_filtered_4FGL_J0906.3-0905_daily_bin1746.fits scfile=/scratch/kocevski/718793/ft2_4FGL_J0906.3-0905_daily_bin1746.fits outfile=/scratch/kocevski/718793/cmap_HighResolution_691891201_692150401_4FGL_J0906.3-0905_daily_bin1746.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.54
user 0.38
sys 0.15

Computing the diffuse response:
time -p gtdiffrsp evfile=/scratch/kocevski/718793/ft1_filtered_4FGL_J0906.3-0905_daily_bin1746.fits evtable="EVENTS" scfile=/scratch/kocevski/718793/ft2_4FGL_J0906.3-0905_daily_bin1746.fits sctable="SC_DATA" srcmdl=/scratch/kocevski/718793/Model_4FGL_J0906.3-0905_daily_bin1746.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/718793/ft1_filtered_4FGL_J0906.3-0905_daily_bin1746.fits.....................!
real 88.73
user 87.34
sys 1.24

Creating the likelihood object...
obs = UnbinnedObs('/scratch/kocevski/718793/ft1_filtered_4FGL_J0906.3-0905_daily_bin1746.fits', '/scratch/kocevski/718793/ft2_4FGL_J0906.3-0905_daily_bin1746.fits', expMap='/scratch/kocevski/718793/expmap_691891201_692150401_4FGL_J0906.3-0905_daily_bin1746.fits', expCube='/scratch/kocevski/718793/ltcube_691891201_692150401_4FGL_J0906.3-0905_daily_bin1746.fits', irfs='P8R3_SOURCE_V2')
like = UnbinnedAnalysis(obs, '/scratch/kocevski/718793/Model_4FGL_J0906.3-0905_daily_bin1746.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/718793/ft1_filtered_4FGL_J0906.3-0905_daily_bin1746.fits
Spacecraft file(s): /scratch/kocevski/718793/ft2_4FGL_J0906.3-0905_daily_bin1746.fits
Exposure map: /scratch/kocevski/718793/expmap_691891201_692150401_4FGL_J0906.3-0905_daily_bin1746.fits
Exposure cube: /scratch/kocevski/718793/ltcube_691891201_692150401_4FGL_J0906.3-0905_daily_bin1746.fits
IRFs: P8R3_SOURCE_V2
Source model file: /scratch/kocevski/718793/Model_4FGL_J0906.3-0905_daily_bin1746.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) = 8591.48442533

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

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

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'norm      '    21.192       1.0000          .0000       .10000E+07
     2 'Prefactor '    .42095E-03   1.0000          .0000       .10000E+07
     3 'norm      '    .23931E-05   1.0000          .0000       .10000E+07
     4 'norm      '    2.6919       1.0000          .0000       .10000E+07
     5 'Prefactor '    4.7865       1.0000          .0000       .10000E+07
     6 'Prefactor '    .97644E-07   1.0000          .0000       .10000E+07
     7 'Prefactor '    .31667E-05   1.0000          .0000       .10000E+07
     8 'norm      '    .60074E-04   1.0000          .0000       .10000E+07
     9 'norm      '    4.8138       1.0000          .0000       .10000E+07
    10 'Prefactor '    1.4463       1.0000          .0000       .10000E+07
    11 'Prefactor '    .12326E-03   1.0000          .0000       .10000E+07
    12 'Prefactor '    .62906E-03   1.0000          .0000       .10000E+07
    13 'Prefactor '    .23932E-03   1.0000          .0000       .10000E+07
    14 'Prefactor '    .24953E-03   1.0000          .0000       .10000E+07
    15 'norm      '    .91369E-05   1.0000          .0000       .10000E+07
    16 'norm      '    .54401E-08   1.0000          .0000       .10000E+07
    17 'norm      '    .14416E-06   1.0000          .0000       .10000E+07
    18 'Normalizat'    .94920       1.0000         .10000E-01   10.000    
    19 'Prefactor '    1.0817       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=   8591.455     FROM MIGRAD    STATUS=CONVERGED    138 CALLS     1133 TOTAL
                     EDM=   .21E-09  STRATEGY=1  ERROR MATRIX UNCERTAINTY=  2.5%

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  norm          23.449        16.497        .17210E-05    .26067E-01
   2  Prefactor     .72164E-09    28.320        .44396E-05** at limit **
   3  norm           .0000        2.7269        .70012E-07** at limit **
   4  norm          2.6942        2.0824        .43700E-07   -.35510E-02
   5  Prefactor     4.7891        5.7477       -.82500E-06    .73516E-03
   6  Prefactor     .19973E-06    5.6735        .19082E-05** at limit **
   7  Prefactor      .0000        2.5956        .43213E-06** at limit **
   8  norm           .0000        2.5478       -.13094E-05** at limit **
   9  norm          4.8189        4.7332        .58427E-06    .32172E-03
  10  Prefactor     1.4994        29.489        .19750E-04    .25916E-02
  11  Prefactor     .46629E-08    15.470       -.28538E-05** at limit **
  12  Prefactor     .16653E-09    9.4028        .79409E-07** at limit **
  13  Prefactor     .51043E-06    36.882       -.71764E-05** at limit **
  14  Prefactor     .11580E-06    7.9108        .19940E-05** at limit **
  15  norm          .55511E-10    1.8411       -.27971E-06** at limit **
  16  norm           .0000        .80582       -.31441E-06** at limit **
  17  norm           .0000        .46310       -.45050E-06** at limit **
  18  Normalizat    .94905        .18204       -.19106E-04    .79915E-04
  19  Prefactor     1.0811        .12735        .84983E-05    .17113E-03
                               ERR DEF=  .500    
Final values: 
  norm       = 23.4492
  Prefactor  = 7.21645e-10
  norm       = 0
  norm       = 2.69419
  Prefactor  = 4.78915
  Prefactor  = 1.99729e-07
  Prefactor  = 0
  norm       = 0
  norm       = 4.81887
  Prefactor  = 1.49941
  Prefactor  = 4.66294e-09
  Prefactor  = 1.66533e-10
  Prefactor  = 5.10425e-07
  Prefactor  = 1.15796e-07
  norm       = 5.55112e-11
  norm       = 0
  norm       = 0
  Normalizat = 0.949045
  Prefactor  = 1.08115
 **********
 **   18 **HESSE 
 **********

 FCN=   8591.455     FROM HESSE     STATUS=OK           296 CALLS     1429 TOTAL
                     EDM=   .70E-07    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  norm          23.449        33.333        .21729E-03   -1.5611    
   2  Prefactor     .72164E-09    28.486        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   3  norm           .0000        2.7287        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   4  norm          2.6942        2.0900        .62070E-03   -1.5675    
   5  Prefactor     4.7891        5.7365        .45962E-03   -1.5664    
   6  Prefactor     .19973E-06    13.778        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   7  Prefactor      .0000        2.5920        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   8  norm           .0000        2.5312        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   9  norm          4.8189        4.7425        .45829E-03   -1.5664    
  10  Prefactor     1.4994        29.064        .89600E-03   -1.5683    
  11  Prefactor     .46629E-08    15.669        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  12  Prefactor     .16653E-09    9.4210        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  13  Prefactor     .51043E-06    48.768        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  14  Prefactor     .11580E-06    12.960        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  15  norm          .55511E-10    1.8412        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  16  norm           .0000        .80584        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  17  norm           .0000        .46024        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  18  Normalizat    .94905        .15993        .45527E-01   -.94758    
  19  Prefactor     1.0811        .11148        .38326E-01   -.90071    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 6.9558e-08
Minuit parameter uncertainties:
  1  33.3335
  2  0.000289631
  3  3.8211e-06
  4  2.09002
  5  5.73648
  6  0.00331754
  7  4.39532e-06
  8  1.09182e-05
  9  4.7425
  10  13.203
  11  0.000539951
  12  8.54579e-05
  13  0.00997858
  14  0.00244996
  15  1.69627e-05
  16  3.47433e-06
  17  2.62552e-06
  18  0.160006
  19  0.111506
Done.

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

Extracting fit parameters...

4FGL J0906.3-0905
   Spectrum: PowerLaw
288    Prefactor:  0.000e+00  4.395e-06  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:  1.081e+00  1.115e-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.490e-01  1.600e-01  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Fixed Index): 0.00
Ra Dec: 136.583 -9.092
Photon Flux Upper Limit: 4.23e-08 ph cm-2 s-1
Energy Flux Upper Limit: 3.20e-03 MeV cm-2 s-1

Saving results to:
/scratch/kocevski/718793/likelihoodResults_691891201_692150401_4FGL_J0906.3-0905_daily_bin1746.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): 102
logL (Free Index) = 8591.45567901
delta logL = -0.000444605593657

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

MINUIT Return Code (Free Index): 102
logL (Free Index) = 8591.45523447
delta logL = -6.32735464023e-08

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'Prefactor '    .14644E-06   1.0000          .0000       .10000E+07
     2 'Index     '    .95235       1.0000          .0000       10.000    
     3 'Normalizat'    .94907       1.0000         .10000E-01   10.000    
     4 'Prefactor '    1.0811       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 TERMINATED WITHOUT CONVERGENCE.

 FCN=   8591.394     FROM MIGRAD    STATUS=FAILED       260 CALLS      450 TOTAL
                     EDM=   .31E-01    STRATEGY= 1      ERR MATRIX NOT POS-DEF

  EXT PARAMETER                APPROXIMATE        STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor     .12684E-06    .26404E-05     .0000    ** at limit **
   2  Index         8.6571        2.1701         .0000        .28480E-04
   3  Normalizat    .93035        .16381E-01     .0000        .25520E-03
   4  Prefactor     1.0895        .11355E-01     .0000        .82155E-03
                               ERR DEF=  .500    
 START SIMPLEX MINIMIZATION.    CONVERGENCE WHEN EDM .LT.   .20E-04
 SIMPLEX MINIMIZATION HAS CONVERGED.

 FCN=   8591.394     FROM SIMPLEX   STATUS=UNCHANGED     70 CALLS      520 TOTAL
                     EDM=   .66E-05    STRATEGY= 1      ERR MATRIX NOT POS-DEF

  EXT PARAMETER                APPROXIMATE        STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor     .12684E-06    .26404E-05    .35781E-07** at limit **
   2  Index         8.6571        2.1701        .10081E-01    .28480E-04
   3  Normalizat    .93035        .16381E-01    .10077E-03    .25520E-03
   4  Prefactor     1.0895        .11355E-01    .21405E-04    .82155E-03
                               ERR DEF=  .500    

 MIGRAD MINIMIZATION HAS CONVERGED.

 MIGRAD WILL VERIFY CONVERGENCE AND ERROR MATRIX.

 MIGRAD MINIMIZATION HAS CONVERGED.

 MIGRAD WILL VERIFY CONVERGENCE AND ERROR MATRIX.
 MIGRAD TERMINATED WITHOUT CONVERGENCE.

 FCN=   8591.394     FROM MIGRAD    STATUS=FAILED        77 CALLS      597 TOTAL
                     EDM=   .15E+00    STRATEGY= 1      ERR MATRIX NOT POS-DEF

  EXT PARAMETER                APPROXIMATE        STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor     .12679E-06    .64480E-05    .20710E-05** at limit **
   2  Index         8.6573        8.9897        .63732E-03    .98217E-04
   3  Normalizat    .93035        .27214E-01    .11535E-04    .63828E-03
   4  Prefactor     1.0895        .18792E-01    .37072E-04    .11452E-02
                               ERR DEF=  .500    
Final values: 
  Prefactor  = 1.26787e-07
  Index      = 8.65728
  Normalizat = 0.93035
  Prefactor  = 1.08946
 **********
 **   18 **HESSE 
 **********

 FCN=   8591.394     FROM HESSE     STATUS=NOT POSDEF    27 CALLS      624 TOTAL
                     EDM=   .15E+00    STRATEGY= 1      ERR MATRIX NOT POS-DEF

  EXT PARAMETER                APPROXIMATE     INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  Prefactor     .12679E-06    .64712E-05    .20710E-05   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   2  Index         8.6573        8.9941        .25493E-04    .82045    
   3  Normalizat    .93035        .27272E-01    .23069E-05   -.95402    
   4  Prefactor     1.0895        .18830E-01    .74144E-05   -.89804    
                               ERR DEF=  .500    
Minuit fit quality: 2   estimated distance: 0.151463
Minuit parameter uncertainties:
  1  1.81155e-06
  2  6.36886
  3  0.0272726
  4  0.0188297
shell-init: error retrieving current directory: getcwd: cannot access parent directories: No such file or directory
rmdir: failed to remove `/scratch/kocevski/718793': 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): 1
logL (Free Index) = 8591.39366525
delta logL = 0.061569156609

Extracting fit parameters...

4FGL J0906.3-0905
   Spectrum: PowerLaw
288    Prefactor:  1.268e-07  1.812e-06  0.000e+00  1.000e+06 ( 1.000e-13)
289        Index:  8.657e+00  6.369e+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.089e+00  1.883e-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.304e-01  2.727e-02  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Free Index): 0.00
Ra Dec: 136.583 -9.092

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/718793/cmap_HighResolution_691891201_692150401_4FGL_J0906.3-0905_daily_bin1746.png

Cleaning up...

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

Updating database...

UPDATE lightcurve_data_v2 SET energy_flux_upper_limit='3.20e-03', job_status='DONE', photon_flux_upper_limit='4.23e-08', time_completed='2022-12-08 00:44:08.610046', job_id='718793', GAL2='1.09', fit_tolerance='1e-08', EG2='0.93', EG='0.95', time_epoch_completed='1670489048.61', return_code2='1', ts='0.00', comment='SUCCESS', return_code='0', GAL='1.08', dlogl='6.16e-02', ts2='0.14', photon_index_error='0.00', photon_index='2.11' WHERE bin_id='1746' AND source_name='4FGL J0906.3-0905' AND cadence='daily';

Database successfully updated.


Analysis Complete.


Thu Dec  8 00:44:08 PST 2022


------------------------------------------------------------
Sender: LSF System <lsf@bullet0216>
Subject: Job 718793: <4FGL_J0906.3-0905_daily_bin1746> in cluster <slac> Done

Job <4FGL_J0906.3-0905_daily_bin1746> was submitted from host <rhel6-64e> by user <kocevski> in cluster <slac> at Thu Dec  8 00:30:18 2022
Job was executed on host(s) <bullet0216>, in queue <medium>, as user <kocevski> in cluster <slac> at Thu Dec  8 00:30:19 2022
</u/ki/kocevski> was used as the home directory.
</u/ki/kocevski> was used as the working directory.
Started at Thu Dec  8 00:30:19 2022
Terminated at Thu Dec  8 00:44:09 2022
Results reported at Thu Dec  8 00:44:09 2022

Your job looked like:

------------------------------------------------------------
# LSBATCH: User input
/nfs/farm/g/glast/g/LCRepository/Likelihood/Scripts/LikelihoodAnalysis.py 4FGL_J0906.3-0905_daily_bin1746 136.583 -9.0925 691891201 692150401 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 :                                   618.00 sec.
    Max Memory :                                 1256 MB
    Average Memory :                             260.85 MB
    Total Requested Memory :                     -
    Delta Memory :                               -
    Max Swap :                                   -
    Max Processes :                              5
    Max Threads :                                21
    Run time :                                   829 sec.
    Turnaround time :                            831 sec.

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

