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


Performing analysis on: 4FGL_J0906.3-0905_daily_bin1766
RA = 136.583, Dec = -9.0925
tmin = 697075201, tmax = 697334401
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='845056', job_status='RUN', time_executed='2023-02-06 00:36:19.299521', time_epoch_executed='1675672579.3' WHERE source_name='4FGL J0906.3-0905' and cadence='daily' and bin_id='1766'

Database successfully updated.
Done.

Creating custom output directory:
/scratch/kocevski/845056

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

Retrieving the FT1 file...

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

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

Retrieving 47 files...
Done.


Merging files...

Checksum keywords updated successfully.

Merged file saved to:
/scratch/kocevski/845056/ft1_4FGL_J0906.3-0905_daily_bin1766.fits


Retrieving the FT1 file...

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

Retrieving 47 files...
Done.


Merging files...

Merged file saved to:
/scratch/kocevski/845056/ft2_4FGL_J0906.3-0905_daily_bin1766.fits


Selecting the photons:
time -p gtselect infile=/scratch/kocevski/845056/ft1_4FGL_J0906.3-0905_daily_bin1766.fits outfile=/scratch/kocevski/845056/ft1_filteredMKT_4FGL_J0906.3-0905_daily_bin1766.fits ra=136.583 dec=-9.0925 rad=12.0 tmin=697075201.0 tmax=697334401.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.76
user 3.48
sys 0.21

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

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

Number of photons that the gtmktime cut: 763

Generating the livetime cube:
time -p gtltcube evfile="/scratch/kocevski/845056/ft1_filtered_4FGL_J0906.3-0905_daily_bin1766.fits" evtable="EVENTS" scfile=/scratch/kocevski/845056/ft2_4FGL_J0906.3-0905_daily_bin1766.fits sctable="SC_DATA" outfile=/scratch/kocevski/845056/ltcube_697075201_697334401_4FGL_J0906.3-0905_daily_bin1766.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/845056/ft2_4FGL_J0906.3-0905_daily_bin1766.fits
.....................!
real 15.56
user 15.01
sys 0.34

Generating the exposure map:
time -p gtexpmap evfile=/scratch/kocevski/845056/ft1_filtered_4FGL_J0906.3-0905_daily_bin1766.fits evtable="EVENTS" scfile=/scratch/kocevski/845056/ft2_4FGL_J0906.3-0905_daily_bin1766.fits sctable="SC_DATA" expcube=/scratch/kocevski/845056/ltcube_697075201_697334401_4FGL_J0906.3-0905_daily_bin1766.fits outfile=/scratch/kocevski/845056/expmap_697075201_697334401_4FGL_J0906.3-0905_daily_bin1766.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/845056/ltcube_697075201_697334401_4FGL_J0906.3-0905_daily_bin1766.fits
.....................!
real 194.83
user 188.26
sys 5.22

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/845056/ft1_filtered_4FGL_J0906.3-0905_daily_bin1766.fits scfile=/scratch/kocevski/845056/ft2_4FGL_J0906.3-0905_daily_bin1766.fits outfile=/scratch/kocevski/845056/cmap_697075201_697334401_4FGL_J0906.3-0905_daily_bin1766.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.56
user 0.37
sys 0.17

Creating the high resolution counts map:
time -p gtbin evfile=/scratch/kocevski/845056/ft1_filtered_4FGL_J0906.3-0905_daily_bin1766.fits scfile=/scratch/kocevski/845056/ft2_4FGL_J0906.3-0905_daily_bin1766.fits outfile=/scratch/kocevski/845056/cmap_HighResolution_697075201_697334401_4FGL_J0906.3-0905_daily_bin1766.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.55
user 0.37
sys 0.17

Computing the diffuse response:
time -p gtdiffrsp evfile=/scratch/kocevski/845056/ft1_filtered_4FGL_J0906.3-0905_daily_bin1766.fits evtable="EVENTS" scfile=/scratch/kocevski/845056/ft2_4FGL_J0906.3-0905_daily_bin1766.fits sctable="SC_DATA" srcmdl=/scratch/kocevski/845056/Model_4FGL_J0906.3-0905_daily_bin1766.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/845056/ft1_filtered_4FGL_J0906.3-0905_daily_bin1766.fits.....................!
real 87.16
user 85.45
sys 1.20

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

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

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

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'norm      '    21.602       1.0000          .0000       .10000E+07
     2 'Prefactor '    12.929       1.0000          .0000       .10000E+07
     3 'norm      '    .16277E-02   1.0000          .0000       .10000E+07
     4 'norm      '    .67982E-03   1.0000          .0000       .10000E+07
     5 'Prefactor '    2.9838       1.0000          .0000       .10000E+07
     6 'Prefactor '    16.021       1.0000          .0000       .10000E+07
     7 'Prefactor '    .68217E-04   1.0000          .0000       .10000E+07
     8 'norm      '    .27482E-03   1.0000          .0000       .10000E+07
     9 'norm      '    7.8858       1.0000          .0000       .10000E+07
    10 'Prefactor '    8.9480       1.0000          .0000       .10000E+07
    11 'Prefactor '    .10065E-02   1.0000          .0000       .10000E+07
    12 'Prefactor '    .21690E-01   1.0000          .0000       .10000E+07
    13 'Prefactor '    .32651E-02   1.0000          .0000       .10000E+07
    14 'Prefactor '    7.7588       1.0000          .0000       .10000E+07
    15 'norm      '    10.571       1.0000          .0000       .10000E+07
    16 'norm      '    .74907E-05   1.0000          .0000       .10000E+07
    17 'norm      '    .65830       1.0000          .0000       .10000E+07
    18 'Normalizat'    1.2641       1.0000         .10000E-01   10.000    
    19 'Prefactor '    .83218       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=   8144.113     FROM MIGRAD    STATUS=CONVERGED    126 CALLS     1403 TOTAL
                     EDM=   .76E-09  STRATEGY=1  ERROR MATRIX UNCERTAINTY=  1.4%

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  norm          21.615        1.0164        .31240E-07   -.70406E-03
   2  Prefactor     12.741        4.4228       -.20386E-06   -.41783E-01
   3  norm          .12212E-08    7.2331       -.44432E-05** at limit **
   4  norm          .15987E-07    5.2778        .48759E-05** at limit **
   5  Prefactor     2.9753        4.7511       -.52535E-06   -.47539E-02
   6  Prefactor     15.990        7.0741       -.21878E-05    .22818E-01
   7  Prefactor     .10714E-06    51.409       -.55382E-05** at limit **
   8  norm          .88263E-08    3.6498       -.26248E-05** at limit **
   9  norm          7.9336        6.2186       -.69550E-08   -.19206E-02
  10  Prefactor     8.9741        2.0559        .26036E-06    .12725E-01
  11  Prefactor     .63283E-08    26.839        .58769E-05** at limit **
  12  Prefactor     .27756E-09    12.952        .90489E-06** at limit **
  13  Prefactor     .27756E-09    6.3474        .31801E-05** at limit **
  14  Prefactor     7.7695        8.9483        .13559E-05    .10717E-02
  15  norm          10.591        6.2952       -.26716E-06    .35760E-03
  16  norm          .55511E-10    .94599       -.50284E-06** at limit **
  17  norm          .65719        .80192        .29436E-06    .62554E-02
  18  Normalizat    1.2642        .19075        .13214E-05   -.10169E-02
  19  Prefactor     .83231        .12654        .35005E-05   -.10347E-02
                               ERR DEF=  .500    
Final values: 
  norm       = 21.6146
  Prefactor  = 12.7411
  norm       = 1.22125e-09
  norm       = 1.59872e-08
  Prefactor  = 2.97526
  Prefactor  = 15.9903
  Prefactor  = 1.07137e-07
  norm       = 8.82627e-09
  norm       = 7.93356
  Prefactor  = 8.97408
  Prefactor  = 6.32827e-09
  Prefactor  = 2.77556e-10
  Prefactor  = 2.77556e-10
  Prefactor  = 7.76952
  norm       = 10.591
  norm       = 5.55112e-11
  norm       = 0.657185
  Normalizat = 1.26421
  Prefactor  = 0.832311
 **********
 **   18 **HESSE 
 **********

 FCN=   8144.113     FROM HESSE     STATUS=OK           318 CALLS     1721 TOTAL
                     EDM=   .45E-06    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  norm          21.615        18.261        .21522E-03   -1.5615    
   2  Prefactor     12.741        25.424        .27832E-03   -1.5637    
   3  norm          .12212E-08    7.4667        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   4  norm          .15987E-07    1.1491        .42118E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   5  Prefactor     2.9753        4.7624        .58748E-03   -1.5673    
   6  Prefactor     15.990        11.303        .24996E-03   -1.5628    
   7  Prefactor     .10714E-06    4.9787        .62160E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   8  norm          .88263E-08    4.3778        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   9  norm          7.9336        6.2471        .35683E-03   -1.5652    
  10  Prefactor     8.9741        11.826        .33483E-03   -1.5648    
  11  Prefactor     .63283E-08    26.913        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  12  Prefactor     .27756E-09    12.855        .16928E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  13  Prefactor     .27756E-09    6.4768        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  14  Prefactor     7.7695        8.9704        .35976E-03   -1.5652    
  15  norm          10.591        6.3135        .30791E-03   -1.5643    
  16  norm          .55511E-10    .94737        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  17  norm          .65719        .80626        .64160E-03   -1.5692    
  18  Normalizat    1.2642        .16792        .58274E-01   -.84641    
  19  Prefactor     .83231        .10867        .44135E-01   -.98548    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 4.45096e-07
Minuit parameter uncertainties:
  1  18.261
  2  25.4237
  3  0.000190271
  4  0.00027085
  5  4.7624
  6  11.3027
  7  0.00146073
  8  0.000392767
  9  6.24706
  10  11.8265
  11  0.000826013
  12  0.000123097
  13  8.55928e-05
  14  8.97039
  15  6.31355
  16  1.27079e-05
  17  0.80626
  18  0.167993
  19  0.108695
Done.

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

Extracting fit parameters...

4FGL J0906.3-0905
   Spectrum: PowerLaw
288    Prefactor:  1.071e-07  1.461e-03  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:  8.323e-01  1.087e-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:  1.264e+00  1.680e-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: 6.44e-08 ph cm-2 s-1
Energy Flux Upper Limit: 4.87e-03 MeV cm-2 s-1

Saving results to:
/scratch/kocevski/845056/likelihoodResults_697075201_697334401_4FGL_J0906.3-0905_daily_bin1766.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) = 8144.13510591
delta logL = -0.0216266820344

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

MINUIT Return Code (Free Index): 102
logL (Free Index) = 8143.78674033
delta logL = 0.326738900083

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'Prefactor '    .58819E-01   1.0000          .0000       .10000E+07
     2 'Index     '    4.2665       1.0000          .0000       10.000    
     3 'Normalizat'    1.2104       1.0000         .10000E-01   10.000    
     4 'Prefactor '    .85216       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=   8143.787     FROM MIGRAD    STATUS=CONVERGED     60 CALLS      261 TOTAL
                     EDM=   .16E-09    STRATEGY= 1      ERR MATRIX NOT POS-DEF

  EXT PARAMETER                APPROXIMATE        STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor     .57599E-01    .82747        .58748E-03** at limit **
   2  Index         4.2742        2.0150        .10680        .16745E-03
   3  Normalizat    1.2106        .27984E-01    .59365E-01   -.44713E-03
   4  Prefactor     .85209        .18621E-01    .44392E-01   -.55576E-03
                               ERR DEF=  .500    
Final values: 
  Prefactor  = 0.0575988
  Index      = 4.27419
  Normalizat = 1.21065
  Prefactor  = 0.852095
 **********
 **   18 **HESSE 
 **********

 FCN=   8143.787     FROM HESSE     STATUS=NOT POSDEF    29 CALLS      290 TOTAL
                     EDM=   .15E-05    STRATEGY= 1      ERR MATRIX NOT POS-DEF

  EXT PARAMETER                APPROXIMATE     INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  Prefactor     .57599E-01    4.3057        .25893E-05   -1.5703    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   2  Index         4.2742        7.1280        .59708E-02   -.14568    
   3  Normalizat    1.2106        .15188        .26255E-03   -.86274    
   4  Prefactor     .85209        .98407E-01    .20327E-03   -.97836    
                               ERR DEF=  .500    
Minuit fit quality: 2   estimated distance: 1.46068e-06
Minuit parameter uncertainties:
  1  0.996003
  2  6.62753
  3  0.151939
  4  0.0984277
shell-init: error retrieving current directory: getcwd: cannot access parent directories: No such file or directory
rmdir: failed to remove `/scratch/kocevski/845056': No such file or directory
shell-init: error retrieving current directory: getcwd: cannot access parent directories: No such file or directory
Done.

MINUIT Return Code (Free Index): 102
logL (Free Index) = 8143.7867361
delta logL = 0.326743133184

Extracting fit parameters...

4FGL J0906.3-0905
   Spectrum: PowerLaw
288    Prefactor:  5.760e-02  9.960e-01  0.000e+00  1.000e+06 ( 1.000e-13)
289        Index:  4.274e+00  6.628e+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:  8.521e-01  9.843e-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.211e+00  1.519e-01  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/845056/cmap_HighResolution_697075201_697334401_4FGL_J0906.3-0905_daily_bin1766.png

Cleaning up...

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

Updating database...

UPDATE lightcurve_data_v2 SET energy_flux_upper_limit='4.87e-03', job_status='DONE', photon_flux_upper_limit='6.44e-08', time_completed='2023-02-06 00:46:40.154459', job_id='845056', GAL2='0.85', fit_tolerance='1e-08', EG2='1.21', EG='1.26', time_epoch_completed='1675673200.15', return_code2='102', ts='-0.00', comment='SUCCESS', return_code='0', GAL='0.83', dlogl='3.27e-01', ts2='0.71', photon_index_error='0.00', photon_index='2.11' WHERE bin_id='1766' AND source_name='4FGL J0906.3-0905' AND cadence='daily';

Database successfully updated.


Analysis Complete.


Mon Feb  6 00:46:40 PST 2023


------------------------------------------------------------
Sender: LSF System <lsf@bullet0050>
Subject: Job 845056: <4FGL_J0906.3-0905_daily_bin1766> in cluster <slac> Done

Job <4FGL_J0906.3-0905_daily_bin1766> was submitted from host <rhel6-64p> by user <kocevski> in cluster <slac> at Mon Feb  6 00:35:16 2023
Job was executed on host(s) <bullet0050>, in queue <medium>, as user <kocevski> in cluster <slac> at Mon Feb  6 00:36:01 2023
</u/ki/kocevski> was used as the home directory.
</u/ki/kocevski> was used as the working directory.
Started at Mon Feb  6 00:36:01 2023
Terminated at Mon Feb  6 00:46:40 2023
Results reported at Mon Feb  6 00:46:40 2023

Your job looked like:

------------------------------------------------------------
# LSBATCH: User input
/nfs/farm/g/glast/g/LCRepository/Likelihood/Scripts/LikelihoodAnalysis.py 4FGL_J0906.3-0905_daily_bin1766 136.583 -9.0925 697075201 697334401 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 :                                   620.23 sec.
    Max Memory :                                 1255 MB
    Average Memory :                             383.18 MB
    Total Requested Memory :                     -
    Delta Memory :                               -
    Max Swap :                                   -
    Max Processes :                              5
    Max Threads :                                21
    Run time :                                   639 sec.
    Turnaround time :                            684 sec.

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

