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


Performing analysis on: 4FGL_J0905.6+1358_daily_bin88
RA = 136.402, Dec = 13.975
tmin = 262137601, tmax = 262396801
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='6667', job_status='RUN', time_executed='2021-08-31 00:40:47.686481', time_epoch_executed='1630395647.69' WHERE source_name='4FGL J0905.6+1358' and cadence='daily' and bin_id='88'

Database successfully updated.
Done.

Creating custom output directory:
/scratch/kocevski/6667

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

Retrieving the FT1 file...

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

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

Retrieving 46 files...
Done.


Merging files...

Checksum keywords updated successfully.

Merged file saved to:
/scratch/kocevski/6667/ft1_4FGL_J0905.6+1358_daily_bin88.fits


Retrieving the FT1 file...

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

Retrieving 46 files...
Done.


Merging files...

Merged file saved to:
/scratch/kocevski/6667/ft2_4FGL_J0905.6+1358_daily_bin88.fits


Selecting the photons:
time -p gtselect infile=/scratch/kocevski/6667/ft1_4FGL_J0905.6+1358_daily_bin88.fits outfile=/scratch/kocevski/6667/ft1_filteredMKT_4FGL_J0905.6+1358_daily_bin88.fits ra=136.402 dec=13.975 rad=12.0 tmin=262137601.0 tmax=262396801.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 6.22
user 1.23
sys 4.60

Adding sun position to ft2 file:
/nfs/farm/g/glast/g/LCRepository/Repository/bin/sunpos /scratch/kocevski/6667/ft2_4FGL_J0905.6+1358_daily_bin88.fits

Selecting the good time intervals:
time -p gtmktime scfile=/scratch/kocevski/6667/ft2_4FGL_J0905.6+1358_daily_bin88.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/6667/ft1_filteredMKT_4FGL_J0905.6+1358_daily_bin88.fits evtable="EVENTS" outfile="/scratch/kocevski/6667/ft1_filtered_4FGL_J0905.6+1358_daily_bin88.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 5.06
user 0.32
sys 4.56

Generating the livetime cube:
time -p gtltcube evfile="/scratch/kocevski/6667/ft1_filtered_4FGL_J0905.6+1358_daily_bin88.fits" evtable="EVENTS" scfile=/scratch/kocevski/6667/ft2_4FGL_J0905.6+1358_daily_bin88.fits sctable="SC_DATA" outfile=/scratch/kocevski/6667/ltcube_262137601_262396801_4FGL_J0905.6+1358_daily_bin88.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/6667/ft2_4FGL_J0905.6+1358_daily_bin88.fits
.....................!
real 18.52
user 12.31
sys 5.31

Generating the exposure map:
time -p gtexpmap evfile=/scratch/kocevski/6667/ft1_filtered_4FGL_J0905.6+1358_daily_bin88.fits evtable="EVENTS" scfile=/scratch/kocevski/6667/ft2_4FGL_J0905.6+1358_daily_bin88.fits sctable="SC_DATA" expcube=/scratch/kocevski/6667/ltcube_262137601_262396801_4FGL_J0905.6+1358_daily_bin88.fits outfile=/scratch/kocevski/6667/expmap_262137601_262396801_4FGL_J0905.6+1358_daily_bin88.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/6667/ltcube_262137601_262396801_4FGL_J0905.6+1358_daily_bin88.fits
.....................!
real 202.95
user 184.89
sys 10.30

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 160 point sources and 0 extended sources

Setting source of interest to:
4FGL J0905.6+1358 @ 136.402 13.975

Creating the counts map:
time -p gtbin evfile=/scratch/kocevski/6667/ft1_filtered_4FGL_J0905.6+1358_daily_bin88.fits scfile=/scratch/kocevski/6667/ft2_4FGL_J0905.6+1358_daily_bin88.fits outfile=/scratch/kocevski/6667/cmap_262137601_262396801_4FGL_J0905.6+1358_daily_bin88.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.402 yref=13.975 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 4.85
user 0.37
sys 4.44

Creating the high resolution counts map:
time -p gtbin evfile=/scratch/kocevski/6667/ft1_filtered_4FGL_J0905.6+1358_daily_bin88.fits scfile=/scratch/kocevski/6667/ft2_4FGL_J0905.6+1358_daily_bin88.fits outfile=/scratch/kocevski/6667/cmap_HighResolution_262137601_262396801_4FGL_J0905.6+1358_daily_bin88.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.402 yref=13.975 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 5.00
user 0.38
sys 4.47

Computing the diffuse response:
time -p gtdiffrsp evfile=/scratch/kocevski/6667/ft1_filtered_4FGL_J0905.6+1358_daily_bin88.fits evtable="EVENTS" scfile=/scratch/kocevski/6667/ft2_4FGL_J0905.6+1358_daily_bin88.fits sctable="SC_DATA" srcmdl=/scratch/kocevski/6667/Model_4FGL_J0905.6+1358_daily_bin88.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/6667/ft1_filtered_4FGL_J0905.6+1358_daily_bin88.fits.....................!
real 80.54
user 73.03
sys 6.96

Creating the likelihood object...
obs = UnbinnedObs('/scratch/kocevski/6667/ft1_filtered_4FGL_J0905.6+1358_daily_bin88.fits', '/scratch/kocevski/6667/ft2_4FGL_J0905.6+1358_daily_bin88.fits', expMap='/scratch/kocevski/6667/expmap_262137601_262396801_4FGL_J0905.6+1358_daily_bin88.fits', expCube='/scratch/kocevski/6667/ltcube_262137601_262396801_4FGL_J0905.6+1358_daily_bin88.fits', irfs='P8R3_SOURCE_V2')
like = UnbinnedAnalysis(obs, '/scratch/kocevski/6667/Model_4FGL_J0905.6+1358_daily_bin88.xml', optimizer='MINUIT')

Using source of interest name: '4FGL J0905.6+1358'

4FGL J0905.6+1358
   Spectrum: LogParabola
282         norm:  1.799e+00  0.000e+00  1.000e-04  1.000e+04 ( 1.000e-13)
283        alpha:  1.592e+00  0.000e+00  0.000e+00  5.000e+00 ( 1.000e+00) fixed
284         beta:  1.283e-01  0.000e+00  0.000e+00  1.000e+01 ( 1.000e+00) fixed
285           Eb:  2.458e+03  0.000e+00  3.000e+01  5.000e+05 ( 1.000e+00) fixed


Likelihood Fit Parameters:
Event file(s): /scratch/kocevski/6667/ft1_filtered_4FGL_J0905.6+1358_daily_bin88.fits
Spacecraft file(s): /scratch/kocevski/6667/ft2_4FGL_J0905.6+1358_daily_bin88.fits
Exposure map: /scratch/kocevski/6667/expmap_262137601_262396801_4FGL_J0905.6+1358_daily_bin88.fits
Exposure cube: /scratch/kocevski/6667/ltcube_262137601_262396801_4FGL_J0905.6+1358_daily_bin88.fits
IRFs: P8R3_SOURCE_V2
Source model file: /scratch/kocevski/6667/Model_4FGL_J0905.6+1358_daily_bin88.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) = 8486.44614644

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

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

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'Prefactor '    .89661       1.0000         .10000E-03   10000.    
     2 'Prefactor '    .10000E-03   1.0000         .10000E-03   10000.    
     3 'Prefactor '    .10001E-03   1.0000         .10000E-03   10000.    
     4 'Prefactor '    26.177       1.0000         .10000E-03   10000.    
     5 'norm      '    .52074       1.0000         .10000E-03   10000.    
     6 'Prefactor '    1.9525       1.0000         .10000E-03   10000.    
     7 'norm      '    9.0566       1.0000         .10000E-03   10000.    
     8 'norm      '    15.955       1.0000         .10000E-03   10000.    
     9 'Prefactor '    15.311       1.0000         .10000E-03   10000.    
    10 'Prefactor '    .10090E-03   1.0000         .10000E-03   10000.    
    11 'norm      '    1.1285       1.0000         .10000E-03   10000.    
    12 'Prefactor '    83.478       1.0000         .10000E-03   10000.    
    13 'Normalizat'    .87495       1.0000         .10000E-01   10.000    
    14 'Prefactor '    1.0504       1.0000          .0000       10.000    
 **********
 **   15 **SET ERR    .5000    
 **********
 **********
 **   16 **SET GRAD    1.000    
 **********
 **********
 **   17 **MINIMIZE    .5120E+05   .2000E-04
 **********

 MIGRAD MINIMIZATION HAS CONVERGED.

 MIGRAD WILL VERIFY CONVERGENCE AND ERROR MATRIX.

 MIGRAD MINIMIZATION HAS CONVERGED.

 FCN=   8486.445     FROM MIGRAD    STATUS=CONVERGED    241 CALLS     1210 TOTAL
                     EDM=   .11E-08  STRATEGY=1  ERROR MATRIX UNCERTAINTY=  2.1%

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor     .90556        7.1673        .65003E-06   -.63578E-03
   2  Prefactor     .10000E-03    2.6643       -.27088E-06** at limit **
   3  Prefactor     .10000E-03    2.1078       -.14890E-06** at limit **
   4  Prefactor     26.174        28.804       -.52636E-05   -.62719E-05
   5  norm          .52143        .63302       -.34271E-06   -.25148E-02
   6  Prefactor     1.9453        7.9036        .22874E-05   -.41825E-03
   7  norm          9.0564        6.7373        .22180E-06   -.75198E-05
   8  norm          15.956        23.893        .19302E-05   -.74180E-05
   9  Prefactor     15.310        23.072       -.90227E-06   -.53833E-05
  10  Prefactor     .10000E-03    1.3233       -.89240E-07** at limit **
  11  norm          1.1286        .96422       -.19495E-06   -.12583E-02
  12  Prefactor     83.482        39.980        .44017E-05    .38417E-05
  13  Normalizat    .87480        .15193        .50841E-07    .34169E-04
  14  Prefactor     1.0505        .12846        .46651E-06    .45686E-06
                               ERR DEF=  .500    
Final values: 
  Prefactor  = 0.905564
  Prefactor  = 0.0001
  Prefactor  = 0.0001
  Prefactor  = 26.1742
  norm       = 0.521431
  Prefactor  = 1.9453
  norm       = 9.05644
  norm       = 15.9558
  Prefactor  = 15.3101
  Prefactor  = 0.0001
  norm       = 1.12859
  Prefactor  = 83.4819
  Normalizat = 0.874802
  Prefactor  = 1.05051
 **********
 **   18 **HESSE 
 **********

 FCN=   8486.445     FROM HESSE     STATUS=OK           172 CALLS     1382 TOTAL
                     EDM=   .45E-08    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  Prefactor     .90556        28.094        .47816E-02   -1.5518    
   2  Prefactor     .10000E-03    2.6791        .14678E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   3  Prefactor     .10000E-03    2.1187        .13054E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   4  Prefactor     26.174        28.591        .78297E-04   -1.4684    
   5  norm          .52143        .61527        .73323E-04   -1.5564    
   6  Prefactor     1.9453        7.4746        .29697E-03   -1.5429    
   7  norm          9.0564        6.7355        .13318E-03   -1.5106    
   8  norm          15.956        23.856        .10027E-03   -1.4909    
   9  Prefactor     15.310        23.076        .10236E-03   -1.4925    
  10  Prefactor     .10000E-03    2.3887        .20513E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  11  norm          1.1286        .95538        .81483E-04   -1.5495    
  12  Prefactor     83.482        39.125        .43965E-04   -1.3878    
  13  Normalizat    .87480        .17708        .25915E-03   -.97351    
  14  Prefactor     1.0505        .15103        .20748E-03   -.91064    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 4.48449e-09
Minuit parameter uncertainties:
  1  10.0924
  2  2.23987e-06
  3  4.95017e-06
  4  28.6056
  5  0.615277
  6  7.47814
  7  6.73605
  8  23.8705
  9  23.089
  10  1.8907e-06
  11  0.95539
  12  39.1367
  13  0.177195
  14  0.151092
Done.

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

Extracting fit parameters...

4FGL J0905.6+1358
   Spectrum: LogParabola
282         norm:  9.056e+00  6.736e+00  1.000e-04  1.000e+04 ( 1.000e-13)
283        alpha:  1.592e+00  0.000e+00  0.000e+00  5.000e+00 ( 1.000e+00) fixed
284         beta:  1.283e-01  0.000e+00  0.000e+00  1.000e+01 ( 1.000e+00) fixed
285           Eb:  2.458e+03  0.000e+00  3.000e+01  5.000e+05 ( 1.000e+00) fixed

GAL_V02
   Spectrum: PowerLaw
509    Prefactor:  1.051e+00  1.511e-01  0.000e+00  1.000e+01 ( 1.000e+00)
510        Index:  0.000e+00  0.000e+00 -1.000e+00  1.000e+00 ( 1.000e+00) fixed
511        Scale:  1.000e+02  0.000e+00  5.000e+01  2.000e+02 ( 1.000e+00) fixed

EG_v02
   Spectrum: FileFunction
508   Normalization:  8.748e-01  1.772e-01  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Fixed Index): 15.21
Ra Dec: 136.402 13.975
Photon Index (Fixed Index): 1.59 +/- 0.00
Photon Flux (Fixed Index): 1.47e-08 +/- 1.09e-08
Energy Flux (Fixed Index): 3.19e-05 +/- 2.37e-05

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) = 8486.3504167
delta logL = 0.0948824325624

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

MINUIT Return Code (Free Index): 0
logL (Free Index) = 8484.27613485
delta logL = 2.16916427755

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'norm      '    .53978       1.0000         .10000E-03   10000.    
     2 'alpha     '    .20019E-05   1.0000          .0000       5.0000    
     3 'Normalizat'    .86930       1.0000         .10000E-01   10.000    
     4 'Prefactor '    1.0671       1.0000          .0000       10.000    
 **********
 **   15 **SET ERR    .5000    
 **********
 **********
 **   16 **SET GRAD    1.000    
 **********
 **********
 **   17 **MINIMIZE    .5120E+05   .2000E-04
 **********

 MIGRAD MINIMIZATION HAS CONVERGED.

 MIGRAD WILL VERIFY CONVERGENCE AND ERROR MATRIX.

 FCN=   8484.276     FROM MIGRAD    STATUS=CONVERGED     52 CALLS      237 TOTAL
                     EDM=   .42E-10    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  norm          .54091        .57925        .11432E-01   -.81528E-03
   2  alpha         .16653E-14    .39763        .46336    ** at limit **
   3  Normalizat    .86878        .14613        .44508E-01    .24592E-04
   4  Prefactor     1.0676        .12777        .38995E-01    .10370E-04
                               ERR DEF=  .500    
Final values: 
  norm       = 0.540912
  alpha      = 1.66533e-15
  Normalizat = 0.86878
  Prefactor  = 1.06756
 **********
 **   18 **HESSE 
 **********

 FCN=   8484.276     FROM HESSE     STATUS=OK            33 CALLS      270 TOTAL
                     EDM=   .24E-11    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  norm          .54091        .54228        .58808E-03   -1.5561    
   2  alpha         .16653E-14    .42176        .42687E-01   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   3  Normalizat    .86878        .17106        .26000E-03   -.97566    
   4  Prefactor     1.0676        .14963        .20611E-03   -.90510    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 2.35651e-12
Minuit parameter uncertainties:
  1  0.542285
  2  5.43186e-08
  3  0.171165
  4  0.14969
shell-init: error retrieving current directory: getcwd: cannot access parent directories: No such file or directory
rmdir: failed to remove `/scratch/kocevski/6667': 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) = 8484.27612573
delta logL = 2.16917339994

Extracting fit parameters...

4FGL J0905.6+1358
   Spectrum: LogParabola
282         norm:  5.409e-01  5.423e-01  1.000e-04  1.000e+04 ( 1.000e-13)
283        alpha:  1.665e-15  5.432e-08  0.000e+00  5.000e+00 ( 1.000e+00)
284         beta:  1.283e-01  0.000e+00  0.000e+00  1.000e+01 ( 1.000e+00) fixed
285           Eb:  2.458e+03  0.000e+00  3.000e+01  5.000e+05 ( 1.000e+00) fixed

GAL_V02
   Spectrum: PowerLaw
509    Prefactor:  1.068e+00  1.497e-01  0.000e+00  1.000e+01 ( 1.000e+00)
510        Index:  0.000e+00  0.000e+00 -1.000e+00  1.000e+00 ( 1.000e+00) fixed
511        Scale:  1.000e+02  0.000e+00  5.000e+01  2.000e+02 ( 1.000e+00) fixed

EG_v02
   Spectrum: FileFunction
508   Normalization:  8.688e-01  1.712e-01  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Free Index): 19.55
Ra Dec: 136.402 13.975
Photon Index (Free Index): 0.00 +/- 0.00
Photon Flux (Free Index): 2.13e-09 +/- 2.14e-09
Energy Flux (Free Index): 7.53e-05 +/- 7.55e-05

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/6667/cmap_HighResolution_262137601_262396801_4FGL_J0905.6+1358_daily_bin88.png

Cleaning up...

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

Updating database...

UPDATE lightcurve_data_v2 SET comment='SUCCESS', photon_flux='1.47e-08', energy_flux2='7.53e-05', photon_flux_error='1.09e-08', dlogl='2.17e+00', energy_flux='3.19e-05', photon_flux2='2.13e-09', job_status='DONE', time_completed='2021-08-31 00:50:25.460248', photon_index_error2='0.00', photon_index2='0.00', ts='15.21', fit_tolerance='1e-08', GAL='1.05', photon_index_error='0.00', energy_flux_error2='7.55e-05', EG='0.87', time_epoch_completed='1630396225.46', return_code='0', job_id='6667', GAL2='1.07', EG2='0.87', return_code2='0', energy_flux_error='2.37e-05', photon_flux_error2='2.14e-09', ts2='19.55', photon_index='1.59' WHERE bin_id='88' AND source_name='4FGL J0905.6+1358' AND cadence='daily';

Database successfully updated.


Analysis Complete.


Tue Aug 31 00:50:25 PDT 2021


------------------------------------------------------------
Sender: LSF System <lsf@bullet0264>
Subject: Job 6667: <4FGL_J0905.6+1358_daily_bin88> in cluster <slac> Done

Job <4FGL_J0905.6+1358_daily_bin88> was submitted from host <rhel6-64k> by user <kocevski> in cluster <slac> at Tue Aug 31 00:35:24 2021
Job was executed on host(s) <bullet0264>, in queue <medium>, as user <kocevski> in cluster <slac> at Tue Aug 31 00:35:26 2021
</u/ki/kocevski> was used as the home directory.
</u/ki/kocevski> was used as the working directory.
Started at Tue Aug 31 00:35:26 2021
Terminated at Tue Aug 31 00:50:26 2021
Results reported at Tue Aug 31 00:50:26 2021

Your job looked like:

------------------------------------------------------------
# LSBATCH: User input
/nfs/farm/g/glast/g/LCRepository/Likelihood/Scripts/LikelihoodAnalysis.py 4FGL_J0905.6+1358_daily_bin88 136.402 13.975 262137601 262396801 irfs=P8R3_SOURCE_V2 zmax=90 ROI=12 association=4FGL_J0905.6+1358 fixedModel=True performFreeIndexFit=True freeVariableSources=True nuke=True repositoryJob=True verbose=False
------------------------------------------------------------

Successfully completed.

Resource usage summary:

    CPU time :                                   635.00 sec.
    Max Memory :                                 1256 MB
    Average Memory :                             248.79 MB
    Total Requested Memory :                     -
    Delta Memory :                               -
    Max Swap :                                   -
    Max Processes :                              7
    Max Threads :                                21
    Run time :                                   900 sec.
    Turnaround time :                            902 sec.

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

