/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 185 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 = 7395
number of fields = 27
No RA_SUN column yet. Adding RA_SUN/DEC_SUN columns.
Done.


Performing analysis on: 4FGL_J0906.3-0905_daily_bin432
RA = 136.583, Dec = -9.0925
tmin = 351302401, tmax = 351561601
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='18140', job_status='RUN', time_executed='2021-08-31 01:14:13.438300', time_epoch_executed='1630397653.44' WHERE source_name='4FGL J0906.3-0905' and cadence='daily' and bin_id='432'

Database successfully updated.
Done.

Creating custom output directory:
/scratch/kocevski/18140

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

Retrieving the FT1 file...

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

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

Retrieving 46 files...
Done.


Merging files...

Checksum keywords updated successfully.

Merged file saved to:
/scratch/kocevski/18140/ft1_4FGL_J0906.3-0905_daily_bin432.fits


Retrieving the FT1 file...

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

Retrieving 46 files...
Done.


Merging files...

Merged file saved to:
/scratch/kocevski/18140/ft2_4FGL_J0906.3-0905_daily_bin432.fits


Selecting the photons:
time -p gtselect infile=/scratch/kocevski/18140/ft1_4FGL_J0906.3-0905_daily_bin432.fits outfile=/scratch/kocevski/18140/ft1_filteredMKT_4FGL_J0906.3-0905_daily_bin432.fits ra=136.583 dec=-9.0925 rad=12.0 tmin=351302401.0 tmax=351561601.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.09
user 3.21
sys 0.45

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

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

Generating the livetime cube:
time -p gtltcube evfile="/scratch/kocevski/18140/ft1_filtered_4FGL_J0906.3-0905_daily_bin432.fits" evtable="EVENTS" scfile=/scratch/kocevski/18140/ft2_4FGL_J0906.3-0905_daily_bin432.fits sctable="SC_DATA" outfile=/scratch/kocevski/18140/ltcube_351302401_351561601_4FGL_J0906.3-0905_daily_bin432.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/18140/ft2_4FGL_J0906.3-0905_daily_bin432.fits
.....................!
real 12.33
user 11.58
sys 0.62

Generating the exposure map:
time -p gtexpmap evfile=/scratch/kocevski/18140/ft1_filtered_4FGL_J0906.3-0905_daily_bin432.fits evtable="EVENTS" scfile=/scratch/kocevski/18140/ft2_4FGL_J0906.3-0905_daily_bin432.fits sctable="SC_DATA" expcube=/scratch/kocevski/18140/ltcube_351302401_351561601_4FGL_J0906.3-0905_daily_bin432.fits outfile=/scratch/kocevski/18140/expmap_351302401_351561601_4FGL_J0906.3-0905_daily_bin432.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/18140/ltcube_351302401_351561601_4FGL_J0906.3-0905_daily_bin432.fits
.....................!
real 189.87
user 185.01
sys 4.50

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/18140/ft1_filtered_4FGL_J0906.3-0905_daily_bin432.fits scfile=/scratch/kocevski/18140/ft2_4FGL_J0906.3-0905_daily_bin432.fits outfile=/scratch/kocevski/18140/cmap_351302401_351561601_4FGL_J0906.3-0905_daily_bin432.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.99
user 0.37
sys 0.35

Creating the high resolution counts map:
time -p gtbin evfile=/scratch/kocevski/18140/ft1_filtered_4FGL_J0906.3-0905_daily_bin432.fits scfile=/scratch/kocevski/18140/ft2_4FGL_J0906.3-0905_daily_bin432.fits outfile=/scratch/kocevski/18140/cmap_HighResolution_351302401_351561601_4FGL_J0906.3-0905_daily_bin432.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.97
user 0.39
sys 0.38

Computing the diffuse response:
time -p gtdiffrsp evfile=/scratch/kocevski/18140/ft1_filtered_4FGL_J0906.3-0905_daily_bin432.fits evtable="EVENTS" scfile=/scratch/kocevski/18140/ft2_4FGL_J0906.3-0905_daily_bin432.fits sctable="SC_DATA" srcmdl=/scratch/kocevski/18140/Model_4FGL_J0906.3-0905_daily_bin432.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/18140/ft1_filtered_4FGL_J0906.3-0905_daily_bin432.fits.....................!
real 57.55
user 54.19
sys 1.55

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

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

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

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'norm      '    .10007E-03   1.0000         .10000E-03   10000.    
     2 'Prefactor '    5.7507       1.0000         .10000E-03   10000.    
     3 'norm      '    3.0894       1.0000         .10000E-03   10000.    
     4 'norm      '    4.3965       1.0000         .10000E-03   10000.    
     5 'Prefactor '    10.915       1.0000         .10000E-03   10000.    
     6 'Prefactor '    25.456       1.0000         .10000E-03   10000.    
     7 'Prefactor '    6.8465       1.0000         .10000E-03   10000.    
     8 'norm      '    27.291       1.0000         .10000E-03   10000.    
     9 'norm      '    7.2283       1.0000         .10000E-03   10000.    
    10 'Prefactor '    .10690E-03   1.0000         .10000E-03   10000.    
    11 'Prefactor '    9.5697       1.0000         .10000E-03   10000.    
    12 'Prefactor '    .10002E-03   1.0000         .10000E-03   10000.    
    13 'Prefactor '    .10041E-03   1.0000         .10000E-03   10000.    
    14 'Prefactor '    .10510E-03   1.0000         .10000E-03   10000.    
    15 'Prefactor '    .10020E-03   1.0000         .10000E-03   10000.    
    16 'norm      '    1.0374       1.0000         .10000E-03   10000.    
    17 'norm      '    1.8926       1.0000         .10000E-03   10000.    
    18 'norm      '    .10000E-03   1.0000         .10000E-03   10000.    
    19 'Normalizat'    1.2043       1.0000         .10000E-01   10.000    
    20 'Prefactor '    .77855       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=   4700.919     FROM MIGRAD    STATUS=CONVERGED    396 CALLS     1737 TOTAL
                     EDM=   .17E-09  STRATEGY=1  ERROR MATRIX UNCERTAINTY=  1.8%

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  norm          .10000E-03    22.009        .86209E-07** at limit **
   2  Prefactor     5.7504        20.607        .59967E-05    .45210E-04
   3  norm          3.0798        11.042        .79314E-06   -.15054E-05
   4  norm          4.3985        4.5422        .17334E-07   -.50812E-04
   5  Prefactor     10.916        8.1521        .23199E-06   -.43545E-04
   6  Prefactor     25.459        17.217       -.13030E-07   -.15782E-04
   7  Prefactor     6.8452        10.294        .22531E-06   -.17571E-05
   8  norm          27.288        7.4250       -.19723E-07    .10391E-03
   9  norm          7.2272        5.6694       -.53773E-07    .56132E-04
  10  Prefactor     .10000E-03    18.885       -.34475E-05** at limit **
  11  Prefactor     9.5074        50.893       -.20131E-05   -.75001E-04
  12  Prefactor     .10000E-03    5.8858       -.20469E-06** at limit **
  13  Prefactor     .10000E-03    36.302       -.12378E-06** at limit **
  14  Prefactor     .10000E-03    31.089       -.18047E-06** at limit **
  15  Prefactor     .10000E-03    19.842        .15478E-06** at limit **
  16  norm          1.0314        10.695        .48374E-05    .53460E-04
  17  norm          1.8916        4.4429        .47858E-06   -.18776E-04
  18  norm          .10000E-03    .57992       -.21308E-07** at limit **
  19  Normalizat    1.2049        .24807        .31932E-05   -.17910E-03
  20  Prefactor     .77818        .15925       -.37962E-05    .37074E-04
                               ERR DEF=  .500    
Final values: 
  norm       = 0.0001
  Prefactor  = 5.75043
  norm       = 3.0798
  norm       = 4.39846
  Prefactor  = 10.9161
  Prefactor  = 25.4591
  Prefactor  = 6.84517
  norm       = 27.2884
  norm       = 7.22718
  Prefactor  = 0.0001
  Prefactor  = 9.50743
  Prefactor  = 0.0001
  Prefactor  = 0.0001
  Prefactor  = 0.0001
  Prefactor  = 0.0001
  norm       = 1.03135
  norm       = 1.89155
  norm       = 0.0001
  Normalizat = 1.20493
  Prefactor  = 0.778176
 **********
 **   18 **HESSE 
 **********

 FCN=   4700.919     FROM HESSE     STATUS=OK           295 CALLS     2032 TOTAL
                     EDM=   .41E-09    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  norm          .10000E-03    22.024        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   2  Prefactor     5.7504        20.875        .83745E-03   -1.5228    
   3  norm          3.0798        10.942        .23074E-03   -1.5357    
   4  norm          4.3985        4.5080        .13414E-03   -1.5288    
   5  Prefactor     10.916        8.1598        .12127E-03   -1.5047    
   6  Prefactor     25.459        17.191        .79397E-04   -1.4698    
   7  Prefactor     6.8452        10.289        .15334E-03   -1.5185    
   8  norm          27.288        7.4464        .76686E-04   -1.4663    
   9  norm          7.2272        5.6724        .13999E-03   -1.5170    
  10  Prefactor     .10000E-03    19.023        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  11  Prefactor     9.5074        51.454        .12954E-03   -1.5091    
  12  Prefactor     .10000E-03    5.8932        .16246E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  13  Prefactor     .10000E-03    36.391        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  14  Prefactor     .10000E-03    31.133        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  15  Prefactor     .10000E-03    20.002        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  16  norm          1.0314        11.043        .43339E-03   -1.5505    
  17  norm          1.8916        4.4304        .21269E-03   -1.5433    
  18  norm          .10000E-03    .58010        .50990E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  19  Normalizat    1.2049        .27980        .27176E-03   -.86451    
  20  Prefactor     .77818        .17682        .21466E-03   -1.0054    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 4.06629e-10
Minuit parameter uncertainties:
  1  3.30968e-05
  2  20.901
  3  10.9487
  4  4.50833
  5  8.1606
  6  17.1945
  7  10.2919
  8  7.44663
  9  5.6728
  10  5.32784e-05
  11  44.2944
  12  3.3775e-06
  13  6.87003e-05
  14  6.03761e-05
  15  1.74196e-05
  16  6.75074
  17  4.43122
  18  4.07281e-07
  19  0.280151
  20  0.176953
Done.

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

Extracting fit parameters...

4FGL J0906.3-0905
   Spectrum: PowerLaw
288    Prefactor:  6.845e+00  1.029e+01  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.782e-01  1.770e-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.205e+00  2.802e-01  1.000e-02  1.000e+01 ( 1.000e+00)


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

Saving results to:
/scratch/kocevski/18140/likelihoodResults_351302401_351561601_4FGL_J0906.3-0905_daily_bin432.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) = 4700.8963597
delta logL = 0.0227884493906

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

MINUIT Return Code (Free Index): 0
logL (Free Index) = 4700.88733888
delta logL = 0.0318092738225

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'Prefactor '    5.4283       1.0000         .10000E-03   10000.    
     2 'Index     '    2.3057       1.0000          .0000       10.000    
     3 'Normalizat'    1.1987       1.0000         .10000E-01   10.000    
     4 'Prefactor '    .78055       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.

 MIGRAD WILL VERIFY CONVERGENCE AND ERROR MATRIX.

 FCN=   4700.887     FROM MIGRAD    STATUS=CONVERGED     80 CALLS      241 TOTAL
                     EDM=   .63E-09    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor     5.4267        11.565        .17247E-03    .33321E-03
   2  Index         2.3058        .91329        .77669E-02    .90285E-04
   3  Normalizat    1.1986        .26566        .27236E-03   -.39072E-03
   4  Prefactor     .78061        .17275        .21435E-03   -.58989E-03
                               ERR DEF=  .500    
Final values: 
  Prefactor  = 5.42669
  Index      = 2.30583
  Normalizat = 1.19863
  Prefactor  = 0.780612
 **********
 **   18 **HESSE 
 **********

 FCN=   4700.887     FROM HESSE     STATUS=OK            25 CALLS      266 TOTAL
                     EDM=   .60E-09    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  Prefactor     5.4267        10.366        .68988E-05   -1.5242    
   2  Index         2.3058        .81956        .31068E-03   -.56905    
   3  Normalizat    1.1986        .26568        .54472E-04   -.86645    
   4  Prefactor     .78061        .17269        .42871E-04   -1.0045    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 6.0163e-10
Minuit parameter uncertainties:
  1  10.3693
  2  0.824822
  3  0.265982
  4  0.172813
shell-init: error retrieving current directory: getcwd: cannot access parent directories: No such file or directory
rmdir: failed to remove `/scratch/kocevski/18140': 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) = 4700.88733879
delta logL = 0.0318093581136

Extracting fit parameters...

4FGL J0906.3-0905
   Spectrum: PowerLaw
288    Prefactor:  5.427e+00  1.037e+01  1.000e-04  1.000e+04 ( 1.000e-13)
289        Index:  2.306e+00  8.248e-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.806e-01  1.728e-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.199e+00  2.660e-01  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Free Index): 0.56
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/18140/cmap_HighResolution_351302401_351561601_4FGL_J0906.3-0905_daily_bin432.png

Cleaning up...

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

Updating database...

UPDATE lightcurve_data_v2 SET energy_flux_upper_limit='9.48e-03', job_status='DONE', photon_flux_upper_limit='1.25e-07', time_completed='2021-08-31 01:22:48.630596', job_id='18140', GAL2='0.78', fit_tolerance='1e-08', EG2='1.20', EG='1.20', time_epoch_completed='1630398168.63', return_code2='0', ts='0.56', comment='SUCCESS', return_code='0', GAL='0.78', dlogl='3.18e-02', ts2='0.62', photon_index_error='0.00', photon_index='2.11' WHERE bin_id='432' AND source_name='4FGL J0906.3-0905' AND cadence='daily';

Database successfully updated.


Analysis Complete.


Tue Aug 31 01:22:48 PDT 2021


------------------------------------------------------------
Sender: LSF System <lsf@bullet0203>
Subject: Job 18140: <4FGL_J0906.3-0905_daily_bin432> in cluster <slac> Done

Job <4FGL_J0906.3-0905_daily_bin432> was submitted from host <rhel6-64m> by user <kocevski> in cluster <slac> at Tue Aug 31 01:10:46 2021
Job was executed on host(s) <bullet0203>, in queue <medium>, as user <kocevski> in cluster <slac> at Tue Aug 31 01:10:48 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:10:48 2021
Terminated at Tue Aug 31 01:22:49 2021
Results reported at Tue Aug 31 01:22:49 2021

Your job looked like:

------------------------------------------------------------
# LSBATCH: User input
/nfs/farm/g/glast/g/LCRepository/Likelihood/Scripts/LikelihoodAnalysis.py 4FGL_J0906.3-0905_daily_bin432 136.583 -9.0925 351302401 351561601 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 :                                   509.00 sec.
    Max Memory :                                 1256 MB
    Average Memory :                             257.64 MB
    Total Requested Memory :                     -
    Delta Memory :                               -
    Max Swap :                                   -
    Max Processes :                              7
    Max Threads :                                21
    Run time :                                   720 sec.
    Turnaround time :                            723 sec.

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

