/nfs/farm/g/glast/g/LCRepository/bin/miniconda2/envs/fermitools_v1.0.5/lib/python2.7/site-packages/matplotlib/font_manager.py:281: UserWarning: Matplotlib is building the font cache using fc-list. This may take a moment.
  'Matplotlib is building the font cache using fc-list. '
/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 52 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 = 7636
number of fields = 30
RA_SUN column already exists. File will not be modified.
Done.


Performing analysis on: 4FGL_J0906.3-0905_daily_bin1334
RA = 136.583, Dec = -9.0925
tmin = 585100801, tmax = 585360001
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='23168', job_status='RUN', time_executed='2021-08-31 01:28:05.862746', time_epoch_executed='1630398485.86' WHERE source_name='4FGL J0906.3-0905' and cadence='daily' and bin_id='1334'

Database successfully updated.
Done.

Creating custom output directory:
/scratch/kocevski/23168

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

Retrieving the FT1 file...

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

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

Retrieving 47 files...
Done.


Merging files...

Checksum keywords updated successfully.

Merged file saved to:
/scratch/kocevski/23168/ft1_4FGL_J0906.3-0905_daily_bin1334.fits


Retrieving the FT1 file...

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

Retrieving 47 files...
Done.


Merging files...

Merged file saved to:
/scratch/kocevski/23168/ft2_4FGL_J0906.3-0905_daily_bin1334.fits


Selecting the photons:
time -p gtselect infile=/scratch/kocevski/23168/ft1_4FGL_J0906.3-0905_daily_bin1334.fits outfile=/scratch/kocevski/23168/ft1_filteredMKT_4FGL_J0906.3-0905_daily_bin1334.fits ra=136.583 dec=-9.0925 rad=12.0 tmin=585100801.0 tmax=585360001.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 9.22
user 2.80
sys 4.70

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

Selecting the good time intervals:
time -p gtmktime scfile=/scratch/kocevski/23168/ft2_4FGL_J0906.3-0905_daily_bin1334.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/23168/ft1_filteredMKT_4FGL_J0906.3-0905_daily_bin1334.fits evtable="EVENTS" outfile="/scratch/kocevski/23168/ft1_filtered_4FGL_J0906.3-0905_daily_bin1334.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 6.37
user 0.32
sys 5.41

Generating the livetime cube:
time -p gtltcube evfile="/scratch/kocevski/23168/ft1_filtered_4FGL_J0906.3-0905_daily_bin1334.fits" evtable="EVENTS" scfile=/scratch/kocevski/23168/ft2_4FGL_J0906.3-0905_daily_bin1334.fits sctable="SC_DATA" outfile=/scratch/kocevski/23168/ltcube_585100801_585360001_4FGL_J0906.3-0905_daily_bin1334.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/23168/ft2_4FGL_J0906.3-0905_daily_bin1334.fits
.....................!
real 18.65
user 12.43
sys 4.97

Generating the exposure map:
time -p gtexpmap evfile=/scratch/kocevski/23168/ft1_filtered_4FGL_J0906.3-0905_daily_bin1334.fits evtable="EVENTS" scfile=/scratch/kocevski/23168/ft2_4FGL_J0906.3-0905_daily_bin1334.fits sctable="SC_DATA" expcube=/scratch/kocevski/23168/ltcube_585100801_585360001_4FGL_J0906.3-0905_daily_bin1334.fits outfile=/scratch/kocevski/23168/expmap_585100801_585360001_4FGL_J0906.3-0905_daily_bin1334.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/23168/ltcube_585100801_585360001_4FGL_J0906.3-0905_daily_bin1334.fits
.....................!
real 205.19
user 185.37
sys 11.12

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/23168/ft1_filtered_4FGL_J0906.3-0905_daily_bin1334.fits scfile=/scratch/kocevski/23168/ft2_4FGL_J0906.3-0905_daily_bin1334.fits outfile=/scratch/kocevski/23168/cmap_585100801_585360001_4FGL_J0906.3-0905_daily_bin1334.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 8.10
user 0.35
sys 5.27

Creating the high resolution counts map:
time -p gtbin evfile=/scratch/kocevski/23168/ft1_filtered_4FGL_J0906.3-0905_daily_bin1334.fits scfile=/scratch/kocevski/23168/ft2_4FGL_J0906.3-0905_daily_bin1334.fits outfile=/scratch/kocevski/23168/cmap_HighResolution_585100801_585360001_4FGL_J0906.3-0905_daily_bin1334.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 11.05
user 0.36
sys 4.47

Computing the diffuse response:
time -p gtdiffrsp evfile=/scratch/kocevski/23168/ft1_filtered_4FGL_J0906.3-0905_daily_bin1334.fits evtable="EVENTS" scfile=/scratch/kocevski/23168/ft2_4FGL_J0906.3-0905_daily_bin1334.fits sctable="SC_DATA" srcmdl=/scratch/kocevski/23168/Model_4FGL_J0906.3-0905_daily_bin1334.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/23168/ft1_filtered_4FGL_J0906.3-0905_daily_bin1334.fits.....................!
real 74.38
user 50.94
sys 7.14

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

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

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

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'norm      '    73.410       1.0000         .10000E-03   10000.    
     2 'Prefactor '    5.4507       1.0000         .10000E-03   10000.    
     3 'norm      '    20.822       1.0000         .10000E-03   10000.    
     4 'norm      '    .10001E-03   1.0000         .10000E-03   10000.    
     5 'Prefactor '    4.2981       1.0000         .10000E-03   10000.    
     6 'Prefactor '    .10004E-03   1.0000         .10000E-03   10000.    
     7 'Prefactor '    .10000E-03   1.0000         .10000E-03   10000.    
     8 'norm      '    7.8232       1.0000         .10000E-03   10000.    
     9 'norm      '    31.820       1.0000         .10000E-03   10000.    
    10 'Prefactor '    .16496E-03   1.0000         .10000E-03   10000.    
    11 'Prefactor '    47.336       1.0000         .10000E-03   10000.    
    12 'Prefactor '    12.387       1.0000         .10000E-03   10000.    
    13 'Prefactor '    37.145       1.0000         .10000E-03   10000.    
    14 'Prefactor '    .10000E-03   1.0000         .10000E-03   10000.    
    15 'Prefactor '    18.517       1.0000         .10000E-03   10000.    
    16 'norm      '    3.3773       1.0000         .10000E-03   10000.    
    17 'norm      '    3.3327       1.0000         .10000E-03   10000.    
    18 'norm      '    1.2231       1.0000         .10000E-03   10000.    
    19 'Normalizat'    1.2354       1.0000         .10000E-01   10.000    
    20 'Prefactor '    .70794       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=   4124.717     FROM MIGRAD    STATUS=CONVERGED    390 CALLS     2080 TOTAL
                     EDM=   .23E-09  STRATEGY=1  ERROR MATRIX UNCERTAINTY=  2.3%

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  norm          73.383        69.592       -.58899E-07   -.47943E-04
   2  Prefactor     5.4323        149.03       -.31815E-05   -.70383E-05
   3  norm          20.818        15.650       -.55388E-06   -.64486E-04
   4  norm          .10000E-03    1.9223        .29418E-07** at limit **
   5  Prefactor     4.2986        6.0582        .28812E-06    .77651E-05
   6  Prefactor     .10000E-03    10.441        .35674E-06** at limit **
   7  Prefactor     .10000E-03    4.7264        .72412E-07** at limit **
   8  norm          7.8190        10.050       -.41761E-06    .60251E-04
   9  norm          31.819        16.533       -.25887E-06    .76681E-04
  10  Prefactor     .10001E-03    50.984       -.10511E-04** at limit **
  11  Prefactor     47.256        62.396       -.31847E-05   -.61341E-04
  12  Prefactor     12.372        23.788       -.87756E-06   -.33378E-04
  13  Prefactor     37.122        35.657       -.10410E-05   -.70397E-04
  14  Prefactor     .10000E-03    12.582        .11664E-06** at limit **
  15  Prefactor     18.515        16.620       -.23013E-06   -.17730E-04
  16  norm          3.3773        5.6625       -.79676E-08    .40318E-04
  17  norm          3.3327        4.0371       -.95591E-07    .25932E-04
  18  norm          1.2231        1.3081       -.60170E-07   -.71290E-04
  19  Normalizat    1.2365        .32281        .10799E-04   -.59928E-04
  20  Prefactor     .70737        .18106       -.74958E-05    .11010E-03
                               ERR DEF=  .500    
Final values: 
  norm       = 73.3834
  Prefactor  = 5.43227
  norm       = 20.8178
  norm       = 0.0001
  Prefactor  = 4.29863
  Prefactor  = 0.0001
  Prefactor  = 0.0001
  norm       = 7.819
  norm       = 31.8192
  Prefactor  = 0.000100014
  Prefactor  = 47.2557
  Prefactor  = 12.3717
  Prefactor  = 37.1222
  Prefactor  = 0.0001
  Prefactor  = 18.5155
  norm       = 3.37726
  norm       = 3.33272
  norm       = 1.22311
  Normalizat = 1.23653
  Prefactor  = 0.70737
 **********
 **   18 **HESSE 
 **********

 FCN=   4124.717     FROM HESSE     STATUS=OK           295 CALLS     2375 TOTAL
                     EDM=   .49E-09    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  norm          73.383        69.693        .46859E-04   -1.3993    
   2  Prefactor     5.4323        148.84        .17211E-03   -1.5242    
   3  norm          20.818        15.625        .87776E-04   -1.4795    
   4  norm          .10000E-03    1.9277        .86885E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   5  Prefactor     4.2986        6.0519        .17750E-03   -1.5293    
   6  Prefactor     .10000E-03    10.460        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   7  Prefactor     .10000E-03    4.7343        .13634E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   8  norm          7.8190        10.043        .14336E-03   -1.5149    
   9  norm          31.819        16.517        .71033E-04   -1.4579    
  10  Prefactor     .10001E-03    54.821        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  11  Prefactor     47.256        62.406        .58280E-04   -1.4332    
  12  Prefactor     12.372        23.788        .11382E-03   -1.5004    
  13  Prefactor     37.122        35.705        .65760E-04   -1.4489    
  14  Prefactor     .10000E-03    12.587        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  15  Prefactor     18.515        16.624        .93075E-04   -1.4847    
  16  norm          3.3773        5.6493        .19039E-03   -1.5340    
  17  norm          3.3327        4.0300        .13682E-03   -1.5343    
  18  norm          1.2231        1.3207        .74056E-04   -1.5487    
  19  Normalizat    1.2365        .32772        .28181E-03   -.85481    
  20  Prefactor     .70737        .18346        .21577E-03   -1.0324    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 4.93234e-10
Minuit parameter uncertainties:
  1  69.7702
  2  57.026
  3  15.6282
  4  1.12825e-06
  5  6.05272
  6  1.66619e-05
  7  2.74268e-06
  8  10.045
  9  16.5194
  10  0.00178117
  11  62.4925
  12  23.806
  13  35.7259
  14  4.14252e-06
  15  16.6279
  16  5.65021
  17  4.03033
  18  1.32074
  19  0.328269
  20  0.183616
Done.

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

Extracting fit parameters...

4FGL J0906.3-0905
   Spectrum: PowerLaw
288    Prefactor:  1.000e-04  2.743e-06  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:  7.074e-01  1.836e-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.237e+00  3.283e-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: 8.92e-08 ph cm-2 s-1
Energy Flux Upper Limit: 6.75e-03 MeV cm-2 s-1

Saving results to:
/scratch/kocevski/23168/likelihoodResults_585100801_585360001_4FGL_J0906.3-0905_daily_bin1334.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) = 4124.71795879
delta logL = -0.00100107221897

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

MINUIT Return Code (Free Index): 102
logL (Free Index) = 4124.71695772
delta logL = -2.93766788673e-10

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'Prefactor '    .10000E-03   1.0000         .10000E-03   10000.    
     2 'Index     '    2.1094       1.0000          .0000       10.000    
     3 'Normalizat'    1.2365       1.0000         .10000E-01   10.000    
     4 'Prefactor '    .70738       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=   4124.717     FROM MIGRAD    STATUS=CONVERGED     53 CALLS      205 TOTAL
                     EDM=   .69E-08    STRATEGY= 1      ERR MATRIX NOT POS-DEF

  EXT PARAMETER                APPROXIMATE        STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor     .10000E-03    522.56        .90712E-02** at limit **
   2  Index         2.1135        8.8755        .50000       -.76510E-05
   3  Normalizat    1.2365        .81851E-01    .63706E-01    .56158E-05
   4  Prefactor     .70737        .48909E-01    .42499E-01    .92394E-05
                               ERR DEF=  .500    
Final values: 
  Prefactor  = 0.0001
  Index      = 2.11347
  Normalizat = 1.23654
  Prefactor  = 0.707368
 **********
 **   18 **HESSE 
 **********

 FCN=   4124.717     FROM HESSE     STATUS=NOT POSDEF    33 CALLS      238 TOTAL
                     EDM=   .47E-08    STRATEGY= 1      ERR MATRIX NOT POS-DEF

  EXT PARAMETER                APPROXIMATE     INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  Prefactor     .10000E-03    363.19        .13643E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   2  Index         2.1135        6.4560        .50000       -.61543    
   3  Normalizat    1.2365        .63791E-01    .28180E-03   -.85481    
   4  Prefactor     .70737        .38230E-01    .21577E-03   -1.0324    
                               ERR DEF=  .500    
Minuit fit quality: 2   estimated distance: 4.73415e-09
Minuit parameter uncertainties:
  1  1.29699e-05
  2  35.9862
  3  0.0637951
  4  0.038231
shell-init: error retrieving current directory: getcwd: cannot access parent directories: No such file or directory
rmdir: failed to remove `/scratch/kocevski/23168': 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) = 4124.71695771
delta logL = 1.4223587641e-08

Extracting fit parameters...

4FGL J0906.3-0905
   Spectrum: PowerLaw
288    Prefactor:  1.000e-04  1.297e-05  1.000e-04  1.000e+04 ( 1.000e-13)
289        Index:  2.113e+00  3.599e+01  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:  7.074e-01  3.823e-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.237e+00  6.380e-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  0.000e+00 [aplpy.core]
INFO: Auto-setting vmax to  0.000e+00 [aplpy.core]
Saving /scratch/kocevski/23168/cmap_HighResolution_585100801_585360001_4FGL_J0906.3-0905_daily_bin1334.png

Cleaning up...

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

Updating database...

UPDATE lightcurve_data_v2 SET energy_flux_upper_limit='6.75e-03', job_status='DONE', photon_flux_upper_limit='8.92e-08', time_completed='2021-08-31 01:38:42.061955', job_id='23168', GAL2='0.71', fit_tolerance='1e-08', EG2='1.24', EG='1.24', time_epoch_completed='1630399122.06', return_code2='102', ts='-0.00', comment='SUCCESS', return_code='0', GAL='0.71', dlogl='1.42e-08', ts2='-0.00', photon_index_error='0.00', photon_index='2.11' WHERE bin_id='1334' AND source_name='4FGL J0906.3-0905' AND cadence='daily';

Database successfully updated.


Analysis Complete.


Tue Aug 31 01:38:42 PDT 2021


------------------------------------------------------------
Sender: LSF System <lsf@bullet0264>
Subject: Job 23168: <4FGL_J0906.3-0905_daily_bin1334> in cluster <slac> Done

Job <4FGL_J0906.3-0905_daily_bin1334> was submitted from host <rhel6-64j> by user <kocevski> in cluster <slac> at Tue Aug 31 01:25:33 2021
Job was executed on host(s) <bullet0264>, in queue <medium>, as user <kocevski> in cluster <slac> at Tue Aug 31 01:25:34 2021
</u/ki/kocevski> was used as the home directory.
</u/ki/kocevski> was used as the working directory.
Started at Tue Aug 31 01:25:34 2021
Terminated at Tue Aug 31 01:38:44 2021
Results reported at Tue Aug 31 01:38:44 2021

Your job looked like:

------------------------------------------------------------
# LSBATCH: User input
/nfs/farm/g/glast/g/LCRepository/Likelihood/Scripts/LikelihoodAnalysis.py 4FGL_J0906.3-0905_daily_bin1334 136.583 -9.0925 585100801 585360001 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 :                                   626.00 sec.
    Max Memory :                                 1256 MB
    Average Memory :                             299.44 MB
    Total Requested Memory :                     -
    Delta Memory :                               -
    Max Swap :                                   -
    Max Processes :                              7
    Max Threads :                                21
    Run time :                                   788 sec.
    Turnaround time :                            791 sec.

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

