/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 158 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 = 7404
number of fields = 29
RA_SUN column already exists. File will not be modified.
Done.


Performing analysis on: 4FGL_J0905.6+1358_daily_bin600
RA = 136.402, Dec = 13.975
tmin = 394848001, tmax = 395107201
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='9870', job_status='RUN', time_executed='2021-08-31 00:50:51.483937', time_epoch_executed='1630396251.48' WHERE source_name='4FGL J0905.6+1358' and cadence='daily' and bin_id='600'

Database successfully updated.
Done.

Creating custom output directory:
/scratch/kocevski/9870

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

Retrieving the FT1 file...

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

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

Retrieving 50 files...
Done.


Merging files...

Checksum keywords updated successfully.

Merged file saved to:
/scratch/kocevski/9870/ft1_4FGL_J0905.6+1358_daily_bin600.fits


Retrieving the FT1 file...

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

Retrieving 50 files...
Done.


Merging files...

Merged file saved to:
/scratch/kocevski/9870/ft2_4FGL_J0905.6+1358_daily_bin600.fits


Selecting the photons:
time -p gtselect infile=/scratch/kocevski/9870/ft1_4FGL_J0905.6+1358_daily_bin600.fits outfile=/scratch/kocevski/9870/ft1_filteredMKT_4FGL_J0905.6+1358_daily_bin600.fits ra=136.402 dec=13.975 rad=12.0 tmin=394848001.0 tmax=395107201.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 13.55
user 4.97
sys 8.49

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

Selecting the good time intervals:
time -p gtmktime scfile=/scratch/kocevski/9870/ft2_4FGL_J0905.6+1358_daily_bin600.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/9870/ft1_filteredMKT_4FGL_J0905.6+1358_daily_bin600.fits evtable="EVENTS" outfile="/scratch/kocevski/9870/ft1_filtered_4FGL_J0905.6+1358_daily_bin600.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 8.80
user 0.35
sys 8.38

Generating the livetime cube:
time -p gtltcube evfile="/scratch/kocevski/9870/ft1_filtered_4FGL_J0905.6+1358_daily_bin600.fits" evtable="EVENTS" scfile=/scratch/kocevski/9870/ft2_4FGL_J0905.6+1358_daily_bin600.fits sctable="SC_DATA" outfile=/scratch/kocevski/9870/ltcube_394848001_395107201_4FGL_J0905.6+1358_daily_bin600.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/9870/ft2_4FGL_J0905.6+1358_daily_bin600.fits
.....................!
real 21.39
user 11.41
sys 9.82

Generating the exposure map:
time -p gtexpmap evfile=/scratch/kocevski/9870/ft1_filtered_4FGL_J0905.6+1358_daily_bin600.fits evtable="EVENTS" scfile=/scratch/kocevski/9870/ft2_4FGL_J0905.6+1358_daily_bin600.fits sctable="SC_DATA" expcube=/scratch/kocevski/9870/ltcube_394848001_395107201_4FGL_J0905.6+1358_daily_bin600.fits outfile=/scratch/kocevski/9870/expmap_394848001_395107201_4FGL_J0905.6+1358_daily_bin600.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/9870/ltcube_394848001_395107201_4FGL_J0905.6+1358_daily_bin600.fits
.....................!
real 203.16
user 186.09
sys 15.82

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/9870/ft1_filtered_4FGL_J0905.6+1358_daily_bin600.fits scfile=/scratch/kocevski/9870/ft2_4FGL_J0905.6+1358_daily_bin600.fits outfile=/scratch/kocevski/9870/cmap_394848001_395107201_4FGL_J0905.6+1358_daily_bin600.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 8.60
user 0.38
sys 8.09

Creating the high resolution counts map:
time -p gtbin evfile=/scratch/kocevski/9870/ft1_filtered_4FGL_J0905.6+1358_daily_bin600.fits scfile=/scratch/kocevski/9870/ft2_4FGL_J0905.6+1358_daily_bin600.fits outfile=/scratch/kocevski/9870/cmap_HighResolution_394848001_395107201_4FGL_J0905.6+1358_daily_bin600.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 8.63
user 0.39
sys 8.20

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

Creating the likelihood object...
obs = UnbinnedObs('/scratch/kocevski/9870/ft1_filtered_4FGL_J0905.6+1358_daily_bin600.fits', '/scratch/kocevski/9870/ft2_4FGL_J0905.6+1358_daily_bin600.fits', expMap='/scratch/kocevski/9870/expmap_394848001_395107201_4FGL_J0905.6+1358_daily_bin600.fits', expCube='/scratch/kocevski/9870/ltcube_394848001_395107201_4FGL_J0905.6+1358_daily_bin600.fits', irfs='P8R3_SOURCE_V2')
like = UnbinnedAnalysis(obs, '/scratch/kocevski/9870/Model_4FGL_J0905.6+1358_daily_bin600.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/9870/ft1_filtered_4FGL_J0905.6+1358_daily_bin600.fits
Spacecraft file(s): /scratch/kocevski/9870/ft2_4FGL_J0905.6+1358_daily_bin600.fits
Exposure map: /scratch/kocevski/9870/expmap_394848001_395107201_4FGL_J0905.6+1358_daily_bin600.fits
Exposure cube: /scratch/kocevski/9870/ltcube_394848001_395107201_4FGL_J0905.6+1358_daily_bin600.fits
IRFs: P8R3_SOURCE_V2
Source model file: /scratch/kocevski/9870/Model_4FGL_J0905.6+1358_daily_bin600.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) = 6518.63630164

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

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

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'Prefactor '    .10003E-03   1.0000         .10000E-03   10000.    
     2 'Prefactor '    9.6470       1.0000         .10000E-03   10000.    
     3 'Prefactor '    .10000E-03   1.0000         .10000E-03   10000.    
     4 'Prefactor '    .10032E-03   1.0000         .10000E-03   10000.    
     5 'norm      '    1.5123       1.0000         .10000E-03   10000.    
     6 'Prefactor '    24.063       1.0000         .10000E-03   10000.    
     7 'norm      '    9.0455       1.0000         .10000E-03   10000.    
     8 'norm      '    4.1030       1.0000         .10000E-03   10000.    
     9 'Prefactor '    .10006E-03   1.0000         .10000E-03   10000.    
    10 'Prefactor '    .10009E-03   1.0000         .10000E-03   10000.    
    11 'norm      '    .89942       1.0000         .10000E-03   10000.    
    12 'Prefactor '    27.616       1.0000         .10000E-03   10000.    
    13 'Normalizat'    .92314       1.0000         .10000E-01   10.000    
    14 'Prefactor '    1.2491       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=   6518.634     FROM MIGRAD    STATUS=CONVERGED    246 CALLS     1162 TOTAL
                     EDM=   .31E-09  STRATEGY=1  ERROR MATRIX UNCERTAINTY=   .2%

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor     .10000E-03    5.8745       -.60374E-07** at limit **
   2  Prefactor     9.6470        10.793       -.86455E-06   -.27714E-04
   3  Prefactor     .10000E-03    2.8418       -.37628E-07** at limit **
   4  Prefactor     .10000E-03    23.936        .10711E-05** at limit **
   5  norm          1.5121        .80299       -.27350E-07    .73943E-03
   6  Prefactor     24.064        17.273        .30136E-05    .25109E-03
   7  norm          9.0456        7.4723       -.17384E-06    .41228E-04
   8  norm          4.0747        105.30       -.11959E-03    .15688E-05
   9  Prefactor     .10000E-03    18.479       -.60201E-06** at limit **
  10  Prefactor     .10000E-03    1.5502       -.10460E-06** at limit **
  11  norm          .89988        1.2601       -.46756E-06   -.14902E-02
  12  Prefactor     27.598        36.733       -.27554E-04    .16051E-04
  13  Normalizat    .92319        .18503        .28861E-05    .21053E-03
  14  Prefactor     1.2490        .15709        .25341E-05    .19439E-03
                               ERR DEF=  .500    
Final values: 
  Prefactor  = 0.0001
  Prefactor  = 9.64703
  Prefactor  = 0.0001
  Prefactor  = 0.0001
  norm       = 1.51215
  Prefactor  = 24.0637
  norm       = 9.04557
  norm       = 4.0747
  Prefactor  = 0.0001
  Prefactor  = 0.0001
  norm       = 0.89988
  Prefactor  = 27.5981
  Normalizat = 0.923187
  Prefactor  = 1.24899
 **********
 **   18 **HESSE 
 **********

 FCN=   6518.634     FROM HESSE     STATUS=OK           164 CALLS     1326 TOTAL
                     EDM=   .46E-09    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  Prefactor     .10000E-03    5.8803        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   2  Prefactor     9.6470        10.789        .12902E-03   -1.5087    
   3  Prefactor     .10000E-03    2.8524        .13290E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   4  Prefactor     .10000E-03    23.997        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   5  norm          1.5121        .80027        .49533E-04   -1.5462    
   6  Prefactor     24.064        17.233        .81659E-04   -1.4726    
   7  norm          9.0456        7.4759        .13326E-03   -1.5106    
   8  norm          4.0747        106.23        .19902E-03   -1.5304    
   9  Prefactor     .10000E-03    18.482        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  10  Prefactor     .10000E-03    1.5683        .98140E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  11  norm          .89988        1.1343        .10261E-02   -1.5518    
  12  Prefactor     27.598        36.741        .76235E-04   -1.4657    
  13  Normalizat    .92319        .21857        .29102E-03   -.95650    
  14  Prefactor     1.2490        .18642        .21804E-03   -.84837    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 4.64868e-10
Minuit parameter uncertainties:
  1  1.40859e-05
  2  10.7914
  3  1.11713e-05
  4  0.0001035
  5  0.800278
  6  17.2361
  7  7.47666
  8  41.692
  9  0.00010278
  10  1.25641e-05
  11  1.13432
  12  36.7715
  13  0.218782
  14  0.186516
Done.

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

Extracting fit parameters...

4FGL J0905.6+1358
   Spectrum: LogParabola
282         norm:  9.046e+00  7.477e+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.249e+00  1.865e-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:  9.232e-01  2.188e-01  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Fixed Index): 10.83
Ra Dec: 136.402 13.975
Photon Index (Fixed Index): 1.59 +/- 0.00
Photon Flux (Fixed Index): 1.47e-08 +/- 1.21e-08
Energy Flux (Fixed Index): 3.18e-05 +/- 2.63e-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): 0
logL (Free Index) = 6518.04997924
delta logL = 0.584179765387

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

MINUIT Return Code (Free Index): 0
logL (Free Index) = 6516.93897986
delta logL = 1.69517914687

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'norm      '    .78303       1.0000         .10000E-03   10000.    
     2 'alpha     '    .29991E-07   1.0000          .0000       5.0000    
     3 'Normalizat'    .91566       1.0000         .10000E-01   10.000    
     4 'Prefactor '    1.2658       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=   6516.939     FROM MIGRAD    STATUS=CONVERGED     53 CALLS      230 TOTAL
                     EDM=   .50E-09    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  norm          .78561        1.0245        .12376E-01   -.18894E-02
   2  alpha         .48711E-12    .84449        .46267    ** at limit **
   3  Normalizat    .91554        .18150        .66036E-01    .17518E-04
   4  Prefactor     1.2660        .15626        .49054E-01    .15231E-04
                               ERR DEF=  .500    
Final values: 
  norm       = 0.785614
  alpha      = 4.8711e-13
  Normalizat = 0.915536
  Prefactor  = 1.26599
 **********
 **   18 **HESSE 
 **********

 FCN=   6516.939     FROM HESSE     STATUS=OK            31 CALLS      261 TOTAL
                     EDM=   .18E-09    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  norm          .78561        .79197        .64227E-03   -1.5531    
   2  alpha         .48711E-12    .96688        .47062E-01   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   3  Normalizat    .91554        .21505        .29211E-03   -.95916    
   4  Prefactor     1.2660        .18539        .21685E-03   -.84324    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 1.77477e-10
Minuit parameter uncertainties:
  1  0.791981
  2  1.42105e-06
  3  0.215255
  4  0.185483
shell-init: error retrieving current directory: getcwd: cannot access parent directories: No such file or directory
rmdir: failed to remove `/scratch/kocevski/9870': 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) = 6516.93897384
delta logL = 1.69518516605

Extracting fit parameters...

4FGL J0905.6+1358
   Spectrum: LogParabola
282         norm:  7.856e-01  7.920e-01  1.000e-04  1.000e+04 ( 1.000e-13)
283        alpha:  4.871e-13  1.421e-06  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.266e+00  1.855e-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:  9.155e-01  2.153e-01  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Free Index): 14.22
Ra Dec: 136.402 13.975
Photon Index (Free Index): 0.00 +/- 0.00
Photon Flux (Free Index): 3.09e-09 +/- 3.12e-09
Energy Flux (Free Index): 1.09e-04 +/- 1.10e-04

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/9870/cmap_HighResolution_394848001_395107201_4FGL_J0905.6+1358_daily_bin600.png

Cleaning up...

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

Updating database...

UPDATE lightcurve_data_v2 SET comment='SUCCESS', photon_flux='1.47e-08', energy_flux2='1.09e-04', photon_flux_error='1.21e-08', dlogl='1.70e+00', energy_flux='3.18e-05', photon_flux2='3.09e-09', job_status='DONE', time_completed='2021-08-31 01:00:52.162613', photon_index_error2='0.00', photon_index2='0.00', ts='10.83', fit_tolerance='1e-08', GAL='1.25', photon_index_error='0.00', energy_flux_error2='1.10e-04', EG='0.92', time_epoch_completed='1630396852.16', return_code='0', job_id='9870', GAL2='1.27', EG2='0.92', return_code2='0', energy_flux_error='2.63e-05', photon_flux_error2='3.12e-09', ts2='14.22', photon_index='1.59' WHERE bin_id='600' AND source_name='4FGL J0905.6+1358' AND cadence='daily';

Database successfully updated.


Analysis Complete.


Tue Aug 31 01:00:52 PDT 2021


------------------------------------------------------------
Sender: LSF System <lsf@bullet0143>
Subject: Job 9870: <4FGL_J0905.6+1358_daily_bin600> in cluster <slac> Done

Job <4FGL_J0905.6+1358_daily_bin600> was submitted from host <rhel6-64j> by user <kocevski> in cluster <slac> at Tue Aug 31 00:45:45 2021
Job was executed on host(s) <bullet0143>, in queue <medium>, as user <kocevski> in cluster <slac> at Tue Aug 31 00:45:46 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:45:46 2021
Terminated at Tue Aug 31 01:00:54 2021
Results reported at Tue Aug 31 01:00:54 2021

Your job looked like:

------------------------------------------------------------
# LSBATCH: User input
/nfs/farm/g/glast/g/LCRepository/Likelihood/Scripts/LikelihoodAnalysis.py 4FGL_J0905.6+1358_daily_bin600 136.402 13.975 394848001 395107201 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 :                                   723.00 sec.
    Max Memory :                                 1256 MB
    Average Memory :                             231.07 MB
    Total Requested Memory :                     -
    Delta Memory :                               -
    Max Swap :                                   -
    Max Processes :                              5
    Max Threads :                                21
    Run time :                                   907 sec.
    Turnaround time :                            909 sec.

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

