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


Performing analysis on: 4FGL_J0906.3-0905_daily_bin180
RA = 136.583, Dec = -9.0925
tmin = 285984001, tmax = 286243201
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='16553', job_status='RUN', time_executed='2021-08-31 01:06:14.067027', time_epoch_executed='1630397174.07' WHERE source_name='4FGL J0906.3-0905' and cadence='daily' and bin_id='180'

Database successfully updated.
Done.

Creating custom output directory:
/scratch/kocevski/16553

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

Retrieving the FT1 file...

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

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

Retrieving 47 files...
Done.


Merging files...

Checksum keywords updated successfully.

Merged file saved to:
/scratch/kocevski/16553/ft1_4FGL_J0906.3-0905_daily_bin180.fits


Retrieving the FT1 file...

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

Retrieving 47 files...
Done.


Merging files...

Merged file saved to:
/scratch/kocevski/16553/ft2_4FGL_J0906.3-0905_daily_bin180.fits


Selecting the photons:
time -p gtselect infile=/scratch/kocevski/16553/ft1_4FGL_J0906.3-0905_daily_bin180.fits outfile=/scratch/kocevski/16553/ft1_filteredMKT_4FGL_J0906.3-0905_daily_bin180.fits ra=136.583 dec=-9.0925 rad=12.0 tmin=285984001.0 tmax=286243201.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.61
user 3.16
sys 0.42

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

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

Generating the livetime cube:
time -p gtltcube evfile="/scratch/kocevski/16553/ft1_filtered_4FGL_J0906.3-0905_daily_bin180.fits" evtable="EVENTS" scfile=/scratch/kocevski/16553/ft2_4FGL_J0906.3-0905_daily_bin180.fits sctable="SC_DATA" outfile=/scratch/kocevski/16553/ltcube_285984001_286243201_4FGL_J0906.3-0905_daily_bin180.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/16553/ft2_4FGL_J0906.3-0905_daily_bin180.fits
.....................!
real 12.38
user 11.53
sys 0.55

Generating the exposure map:
time -p gtexpmap evfile=/scratch/kocevski/16553/ft1_filtered_4FGL_J0906.3-0905_daily_bin180.fits evtable="EVENTS" scfile=/scratch/kocevski/16553/ft2_4FGL_J0906.3-0905_daily_bin180.fits sctable="SC_DATA" expcube=/scratch/kocevski/16553/ltcube_285984001_286243201_4FGL_J0906.3-0905_daily_bin180.fits outfile=/scratch/kocevski/16553/expmap_285984001_286243201_4FGL_J0906.3-0905_daily_bin180.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/16553/ltcube_285984001_286243201_4FGL_J0906.3-0905_daily_bin180.fits
.....................!
real 192.05
user 185.54
sys 5.01

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/16553/ft1_filtered_4FGL_J0906.3-0905_daily_bin180.fits scfile=/scratch/kocevski/16553/ft2_4FGL_J0906.3-0905_daily_bin180.fits outfile=/scratch/kocevski/16553/cmap_285984001_286243201_4FGL_J0906.3-0905_daily_bin180.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.71
user 0.38
sys 0.31

Creating the high resolution counts map:
time -p gtbin evfile=/scratch/kocevski/16553/ft1_filtered_4FGL_J0906.3-0905_daily_bin180.fits scfile=/scratch/kocevski/16553/ft2_4FGL_J0906.3-0905_daily_bin180.fits outfile=/scratch/kocevski/16553/cmap_HighResolution_285984001_286243201_4FGL_J0906.3-0905_daily_bin180.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.74
user 0.38
sys 0.35

Computing the diffuse response:
time -p gtdiffrsp evfile=/scratch/kocevski/16553/ft1_filtered_4FGL_J0906.3-0905_daily_bin180.fits evtable="EVENTS" scfile=/scratch/kocevski/16553/ft2_4FGL_J0906.3-0905_daily_bin180.fits sctable="SC_DATA" srcmdl=/scratch/kocevski/16553/Model_4FGL_J0906.3-0905_daily_bin180.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/16553/ft1_filtered_4FGL_J0906.3-0905_daily_bin180.fits....................!
real 62.86
user 61.16
sys 1.51

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

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

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

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'norm      '    .10005E-03   1.0000         .10000E-03   10000.    
     2 'Prefactor '    .10005E-03   1.0000         .10000E-03   10000.    
     3 'norm      '    15.252       1.0000         .10000E-03   10000.    
     4 'norm      '    4.9091       1.0000         .10000E-03   10000.    
     5 'Prefactor '    .10001E-03   1.0000         .10000E-03   10000.    
     6 'Prefactor '    .10000E-03   1.0000         .10000E-03   10000.    
     7 'Prefactor '    5.0635       1.0000         .10000E-03   10000.    
     8 'norm      '    15.866       1.0000         .10000E-03   10000.    
     9 'norm      '    5.4728       1.0000         .10000E-03   10000.    
    10 'Prefactor '    36.590       1.0000         .10000E-03   10000.    
    11 'Prefactor '    36.365       1.0000         .10000E-03   10000.    
    12 'Prefactor '    19.005       1.0000         .10000E-03   10000.    
    13 'Prefactor '    45.650       1.0000         .10000E-03   10000.    
    14 'Prefactor '    21.019       1.0000         .10000E-03   10000.    
    15 'Prefactor '    .10000E-03   1.0000         .10000E-03   10000.    
    16 'norm      '    .10003E-03   1.0000         .10000E-03   10000.    
    17 'norm      '    3.3759       1.0000         .10000E-03   10000.    
    18 'norm      '    .10000E-03   1.0000         .10000E-03   10000.    
    19 'Normalizat'    .59925       1.0000         .10000E-01   10.000    
    20 'Prefactor '    1.2070       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=   5465.784     FROM MIGRAD    STATUS=CONVERGED    393 CALLS     1998 TOTAL
                     EDM=   .32E-09  STRATEGY=1  ERROR MATRIX UNCERTAINTY=   .9%

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  norm          .10000E-03    27.533       -.15408E-05** at limit **
   2  Prefactor     .10000E-03    17.923        .71917E-05** at limit **
   3  norm          15.252        9.7589       -.36877E-07   -.26017E-04
   4  norm          4.9094        3.3035       -.17921E-07   -.23478E-04
   5  Prefactor     .10000E-03    3.6932        .65615E-08** at limit **
   6  Prefactor     .10000E-03    8.1906        .65650E-07** at limit **
   7  Prefactor     5.0646        10.447       -.29315E-07   -.34942E-04
   8  norm          15.866        6.4210       -.80552E-07   -.33008E-04
   9  norm          5.4730        5.7919       -.76944E-07   -.23719E-04
  10  Prefactor     36.590        24.171       -.43441E-06   -.96791E-05
  11  Prefactor     36.367        44.413        .16281E-05    .15867E-04
  12  Prefactor     19.005        18.125       -.12407E-06   -.53709E-05
  13  Prefactor     45.650        42.375       -.26475E-06   -.11315E-05
  14  Prefactor     21.017        31.217       -.23826E-05   -.18623E-04
  15  Prefactor     .10000E-03    16.916       -.59283E-05** at limit **
  16  norm          .10000E-03    4.4308        .32535E-07** at limit **
  17  norm          3.3758        2.1478        .36894E-06   -.21557E-02
  18  norm          .10000E-03    .74827       -.21425E-07** at limit **
  19  Normalizat    .59918        .23823       -.94709E-07   -.10837E-04
  20  Prefactor     1.2070        .15112        .11921E-06   -.32527E-05
                               ERR DEF=  .500    
Final values: 
  norm       = 0.0001
  Prefactor  = 0.0001
  norm       = 15.2522
  norm       = 4.9094
  Prefactor  = 0.0001
  Prefactor  = 0.0001
  Prefactor  = 5.06458
  norm       = 15.8658
  norm       = 5.473
  Prefactor  = 36.5899
  Prefactor  = 36.3667
  Prefactor  = 19.0054
  Prefactor  = 45.6501
  Prefactor  = 21.0169
  Prefactor  = 0.0001
  norm       = 0.0001
  norm       = 3.37581
  norm       = 0.0001
  Normalizat = 0.599176
  Prefactor  = 1.20703
 **********
 **   18 **HESSE 
 **********

 FCN=   5465.784     FROM HESSE     STATUS=OK           297 CALLS     2295 TOTAL
                     EDM=   .30E-08    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  norm          .10000E-03    27.603        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   2  Prefactor     .10000E-03    18.067        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   3  norm          15.252        9.7592        .10256E-03   -1.4927    
   4  norm          4.9094        3.3015        .10599E-03   -1.5265    
   5  Prefactor     .10000E-03    3.7191        .13871E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   6  Prefactor     .10000E-03    8.2202        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   7  Prefactor     5.0646        10.436        .17869E-03   -1.5258    
   8  norm          15.866        6.4256        .10055E-03   -1.4911    
   9  norm          5.4730        5.7882        .17176E-03   -1.5240    
  10  Prefactor     36.590        24.184        .66254E-04   -1.4497    
  11  Prefactor     36.367        44.427        .66459E-04   -1.4501    
  12  Prefactor     19.005        18.122        .91873E-04   -1.4836    
  13  Prefactor     45.650        42.488        .59342E-04   -1.4356    
  14  Prefactor     21.017        31.202        .87364E-04   -1.4791    
  15  Prefactor     .10000E-03    16.982        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  16  norm          .10000E-03    4.4583        .15190E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  17  norm          3.3758        4.6341        .89745E-03   -1.5340    
  18  norm          .10000E-03    .75087        .62456E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  19  Normalizat    .59918        .25954        .38356E-03   -1.0802    
  20  Prefactor     1.2070        .16625        .18690E-03   -.86115    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 2.96129e-09
Minuit parameter uncertainties:
  1  4.57774e-05
  2  0.000161796
  3  9.76019
  4  3.30166
  5  7.33199e-07
  6  7.35244e-07
  7  10.4393
  8  6.42592
  9  5.78879
  10  24.1904
  11  44.4671
  12  18.1272
  13  42.5157
  14  31.2258
  15  0.000114745
  16  1.15577e-05
  17  4.63464
  18  1.44598e-07
  19  0.260065
  20  0.166325
Done.

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

Extracting fit parameters...

4FGL J0906.3-0905
   Spectrum: PowerLaw
288    Prefactor:  5.065e+00  1.044e+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:  1.207e+00  1.663e-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:  5.992e-01  2.601e-01  1.000e-02  1.000e+01 ( 1.000e+00)


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

Saving results to:
/scratch/kocevski/16553/likelihoodResults_285984001_286243201_4FGL_J0906.3-0905_daily_bin180.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) = 5464.89416484
delta logL = 0.890016635312

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

MINUIT Return Code (Free Index): 0
logL (Free Index) = 5464.8756235
delta logL = 0.90855797665

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'Prefactor '    2.1344       1.0000         .10000E-03   10000.    
     2 'Index     '    3.1635       1.0000          .0000       10.000    
     3 'Normalizat'    .52437       1.0000         .10000E-01   10.000    
     4 'Prefactor '    1.2299       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=   5464.876     FROM MIGRAD    STATUS=CONVERGED     54 CALLS      255 TOTAL
                     EDM=   .63E-09    STRATEGY= 1      ERR MATRIX NOT POS-DEF

  EXT PARAMETER                APPROXIMATE        STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor     2.1289        30.534        .70543E-02    .48775E-03
   2  Index         3.1646        2.4052        .11042        .14559E-03
   3  Normalizat    .52476        .67581E-01    .92064E-01    .38628E-04
   4  Prefactor     1.2296        .43833E-01    .33959E-01   -.17361E-05
                               ERR DEF=  .500    
Final values: 
  Prefactor  = 2.1289
  Index      = 3.16459
  Normalizat = 0.524765
  Prefactor  = 1.22964
 **********
 **   18 **HESSE 
 **********

 FCN=   5464.876     FROM HESSE     STATUS=OK            33 CALLS      288 TOTAL
                     EDM=   .43E-10    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  Prefactor     2.1289        6.5732        .79791E-04   -1.5416    
   2  Index         3.1646        1.2878        .39157E-02   -.37587    
   3  Normalizat    .52476        .25159        .40794E-03   -1.1128    
   4  Prefactor     1.2296        .16613        .18519E-03   -.85424    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 4.32956e-11
Minuit parameter uncertainties:
  1  6.57538
  2  1.30485
  3  0.252133
  4  0.166201
shell-init: error retrieving current directory: getcwd: cannot access parent directories: No such file or directory
rmdir: failed to remove `/scratch/kocevski/16553': 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) = 5464.87562108
delta logL = 0.908560388748

Extracting fit parameters...

4FGL J0906.3-0905
   Spectrum: PowerLaw
288    Prefactor:  2.129e+00  6.575e+00  1.000e-04  1.000e+04 ( 1.000e-13)
289        Index:  3.165e+00  1.305e+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.230e+00  1.662e-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:  5.248e-01  2.521e-01  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Free Index): 2.20
Ra Dec: 136.583 -9.092
Photon Index (Free Index): 3.16 +/- 1.30
Photon Flux (Free Index): 9.54e-08 +/- 7.82e-08
Energy Flux (Free Index): 1.77e-05 +/- 1.52e-05

Creating a high resolution counts map...
INFO: Auto-setting vmin to  0.000e+00 [aplpy.core]
INFO: Auto-setting vmax to  0.000e+00 [aplpy.core]
Saving /scratch/kocevski/16553/cmap_HighResolution_285984001_286243201_4FGL_J0906.3-0905_daily_bin180.png

Cleaning up...

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

Updating database...

UPDATE lightcurve_data_v2 SET energy_flux_upper_limit='9.02e-03', comment='SUCCESS', energy_flux2='1.77e-05', dlogl='9.09e-01', photon_flux2='9.54e-08', job_status='DONE', time_completed='2021-08-31 01:15:25.373160', photon_index_error2='1.30', photon_index2='3.16', ts='0.28', fit_tolerance='1e-08', GAL='1.21', photon_index_error='0.00', photon_flux_upper_limit='1.19e-07', energy_flux_error2='1.52e-05', EG='0.60', time_epoch_completed='1630397725.37', return_code='0', job_id='16553', GAL2='1.23', EG2='0.52', return_code2='0', photon_flux_error2='7.82e-08', ts2='2.20', photon_index='2.11' WHERE bin_id='180' AND source_name='4FGL J0906.3-0905' AND cadence='daily';

Database successfully updated.


Analysis Complete.


Tue Aug 31 01:15:25 PDT 2021


------------------------------------------------------------
Sender: LSF System <lsf@bullet0208>
Subject: Job 16553: <4FGL_J0906.3-0905_daily_bin180> in cluster <slac> Done

Job <4FGL_J0906.3-0905_daily_bin180> was submitted from host <rhel6-64k> by user <kocevski> in cluster <slac> at Tue Aug 31 01:05:53 2021
Job was executed on host(s) <bullet0208>, in queue <medium>, as user <kocevski> in cluster <slac> at Tue Aug 31 01:05:55 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:05:55 2021
Terminated at Tue Aug 31 01:15:26 2021
Results reported at Tue Aug 31 01:15:26 2021

Your job looked like:

------------------------------------------------------------
# LSBATCH: User input
/nfs/farm/g/glast/g/LCRepository/Likelihood/Scripts/LikelihoodAnalysis.py 4FGL_J0906.3-0905_daily_bin180 136.583 -9.0925 285984001 286243201 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 :                                   549.47 sec.
    Max Memory :                                 1093 MB
    Average Memory :                             326.90 MB
    Total Requested Memory :                     -
    Delta Memory :                               -
    Max Swap :                                   -
    Max Processes :                              5
    Max Threads :                                21
    Run time :                                   570 sec.
    Turnaround time :                            573 sec.

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

