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


Performing analysis on: 4FGL_J0905.6+1358_daily_bin1576
RA = 136.402, Dec = 13.975
tmin = 647827201, tmax = 648086401
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='16270', job_status='RUN', time_executed='2021-08-31 01:07:31.690598', time_epoch_executed='1630397251.69' WHERE source_name='4FGL J0905.6+1358' and cadence='daily' and bin_id='1576'

Database successfully updated.
Done.

Creating custom output directory:
/scratch/kocevski/16270

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

Retrieving the FT1 file...

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

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

Retrieving 47 files...
Done.


Merging files...

Checksum keywords updated successfully.

Merged file saved to:
/scratch/kocevski/16270/ft1_4FGL_J0905.6+1358_daily_bin1576.fits


Retrieving the FT1 file...

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

Retrieving 47 files...
Done.


Merging files...

Merged file saved to:
/scratch/kocevski/16270/ft2_4FGL_J0905.6+1358_daily_bin1576.fits


Selecting the photons:
time -p gtselect infile=/scratch/kocevski/16270/ft1_4FGL_J0905.6+1358_daily_bin1576.fits outfile=/scratch/kocevski/16270/ft1_filteredMKT_4FGL_J0905.6+1358_daily_bin1576.fits ra=136.402 dec=13.975 rad=12.0 tmin=647827201.0 tmax=648086401.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 10.40
user 3.78
sys 6.05

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

Selecting the good time intervals:
time -p gtmktime scfile=/scratch/kocevski/16270/ft2_4FGL_J0905.6+1358_daily_bin1576.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/16270/ft1_filteredMKT_4FGL_J0905.6+1358_daily_bin1576.fits evtable="EVENTS" outfile="/scratch/kocevski/16270/ft1_filtered_4FGL_J0905.6+1358_daily_bin1576.fits" apply_filter=yes overwrite=yes header_obstimes=yes tstart=0.0 tstop=0.0 gtifile="default" chatter=3 clobber=yes debug=no gui=no mode="ql"

WARNING: version mismatch between CFITSIO header (v3.43) and linked library (v3.41).

This is gtmktime version HEAD
Applying GTI filter:
IN_SAA!=T && LIVETIME>0 && gtifilter('/nfs/farm/g/glast/g/LCRepository/Likelihood/GTIs/nogrb.gti',(START+STOP)/2) && (angsep(RA_SUN,DEC_SUN,RA_ZENITH,DEC_ZENITH)>115 || gtifilter('/nfs/farm/g/glast/g/LCRepository/Likelihood/GTIs/nosolarflares.gti',(START+STOP)/2))
real 6.81
user 0.34
sys 6.12

Generating the livetime cube:
time -p gtltcube evfile="/scratch/kocevski/16270/ft1_filtered_4FGL_J0905.6+1358_daily_bin1576.fits" evtable="EVENTS" scfile=/scratch/kocevski/16270/ft2_4FGL_J0905.6+1358_daily_bin1576.fits sctable="SC_DATA" outfile=/scratch/kocevski/16270/ltcube_647827201_648086401_4FGL_J0905.6+1358_daily_bin1576.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/16270/ft2_4FGL_J0905.6+1358_daily_bin1576.fits
.....................!
real 18.64
user 11.39
sys 7.03

Generating the exposure map:
time -p gtexpmap evfile=/scratch/kocevski/16270/ft1_filtered_4FGL_J0905.6+1358_daily_bin1576.fits evtable="EVENTS" scfile=/scratch/kocevski/16270/ft2_4FGL_J0905.6+1358_daily_bin1576.fits sctable="SC_DATA" expcube=/scratch/kocevski/16270/ltcube_647827201_648086401_4FGL_J0905.6+1358_daily_bin1576.fits outfile=/scratch/kocevski/16270/expmap_647827201_648086401_4FGL_J0905.6+1358_daily_bin1576.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/16270/ltcube_647827201_648086401_4FGL_J0905.6+1358_daily_bin1576.fits
.....................!
real 199.99
user 187.72
sys 11.89

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/16270/ft1_filtered_4FGL_J0905.6+1358_daily_bin1576.fits scfile=/scratch/kocevski/16270/ft2_4FGL_J0905.6+1358_daily_bin1576.fits outfile=/scratch/kocevski/16270/cmap_647827201_648086401_4FGL_J0905.6+1358_daily_bin1576.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 6.53
user 0.37
sys 5.97

Creating the high resolution counts map:
time -p gtbin evfile=/scratch/kocevski/16270/ft1_filtered_4FGL_J0905.6+1358_daily_bin1576.fits scfile=/scratch/kocevski/16270/ft2_4FGL_J0905.6+1358_daily_bin1576.fits outfile=/scratch/kocevski/16270/cmap_HighResolution_647827201_648086401_4FGL_J0905.6+1358_daily_bin1576.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 6.55
user 0.38
sys 5.97

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

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

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

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

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'Prefactor '    15.840       1.0000         .10000E-03   10000.    
     2 'Prefactor '    11.487       1.0000         .10000E-03   10000.    
     3 'Prefactor '    .10016E-03   1.0000         .10000E-03   10000.    
     4 'Prefactor '    33.906       1.0000         .10000E-03   10000.    
     5 'norm      '    2.1132       1.0000         .10000E-03   10000.    
     6 'Prefactor '    .10001E-03   1.0000         .10000E-03   10000.    
     7 'norm      '    .52725       1.0000         .10000E-03   10000.    
     8 'norm      '    17.081       1.0000         .10000E-03   10000.    
     9 'Prefactor '    .10001E-03   1.0000         .10000E-03   10000.    
    10 'Prefactor '    4.9903       1.0000         .10000E-03   10000.    
    11 'norm      '    2.4269       1.0000         .10000E-03   10000.    
    12 'Prefactor '    .10000E-03   1.0000         .10000E-03   10000.    
    13 'Normalizat'    .92905       1.0000         .10000E-01   10.000    
    14 'Prefactor '    1.1615       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=   5502.775     FROM MIGRAD    STATUS=CONVERGED    250 CALLS     1196 TOTAL
                     EDM=   .72E-10  STRATEGY=1  ERROR MATRIX UNCERTAINTY=   .3%

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor     15.841        17.338        .10650E-05   -.57933E-05
   2  Prefactor     11.487        12.779        .12663E-06   -.42613E-04
   3  Prefactor     .10000E-03    18.581        .61280E-06** at limit **
   4  Prefactor     33.891        46.201       -.21659E-04    .68628E-05
   5  norm          2.1131        .95082       -.52023E-07   -.48812E-04
   6  Prefactor     .10000E-03    4.5327       -.27089E-07** at limit **
   7  norm          .54815        6.2296       -.17933E-05   -.14687E-03
   8  norm          17.081        26.550        .66562E-06   -.25498E-05
   9  Prefactor     .10000E-03    17.026        .73864E-06** at limit **
  10  Prefactor     4.9905        4.3532       -.33148E-06   -.24238E-03
  11  norm          2.4270        1.6534       -.16831E-06   -.28825E-03
  12  Prefactor     .10000E-03    16.469       -.10274E-05** at limit **
  13  Normalizat    .92903        .21194        .27732E-05    .17968E-05
  14  Prefactor     1.1615        .17421        .47835E-06    .97015E-04
                               ERR DEF=  .500    
Final values: 
  Prefactor  = 15.8412
  Prefactor  = 11.4866
  Prefactor  = 0.0001
  Prefactor  = 33.8913
  norm       = 2.11314
  Prefactor  = 0.0001
  norm       = 0.548149
  norm       = 17.0812
  Prefactor  = 0.0001
  Prefactor  = 4.99054
  norm       = 2.42697
  Prefactor  = 0.0001
  Normalizat = 0.929027
  Prefactor  = 1.16148
 **********
 **   18 **HESSE 
 **********

 FCN=   5502.775     FROM HESSE     STATUS=OK           168 CALLS     1364 TOTAL
                     EDM=   .32E-07    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  Prefactor     15.841        17.333        .10063E-03   -1.4912    
   2  Prefactor     11.487        12.791        .11820E-03   -1.5030    
   3  Prefactor     .10000E-03    19.386        .36285E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   4  Prefactor     33.891        46.179        .68819E-04   -1.4543    
   5  norm          2.1131        .94734        .46020E-04   -1.5417    
   6  Prefactor     .10000E-03    4.5382        .15423E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   7  norm          .54815        17.037        .36036E-02   -1.5560    
   8  norm          17.081        26.546        .96909E-04   -1.4881    
   9  Prefactor     .10000E-03    17.028        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  10  Prefactor     4.9905        4.3549        .13940E-03   -1.5261    
  11  norm          2.4270        1.6501        .75496E-04   -1.5396    
  12  Prefactor     .10000E-03    16.499        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  13  Normalizat    .92903        .24117        .28551E-03   -.95448    
  14  Prefactor     1.1615        .19919        .21993E-03   -.87525    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 3.23292e-08
Minuit parameter uncertainties:
  1  17.3386
  2  12.7938
  3  0.000154997
  4  46.2274
  5  0.947346
  6  4.92785e-06
  7  6.11323
  8  26.5647
  9  1.21309e-05
  10  4.35517
  11  1.65009
  12  1.58043e-05
  13  0.241456
  14  0.19932
Done.

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

Extracting fit parameters...

4FGL J0905.6+1358
   Spectrum: LogParabola
282         norm:  5.481e-01  6.113e+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.161e+00  1.993e-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.290e-01  2.415e-01  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Fixed Index): 0.01
Ra Dec: 136.402 13.975
Photon Flux Upper Limit: 3.59e-08 ph cm-2 s-1
Energy Flux Upper Limit: 7.80e-05 MeV cm-2 s-1

Saving results to:
/scratch/kocevski/16270/likelihoodResults_647827201_648086401_4FGL_J0905.6+1358_daily_bin1576.txt

Performing a free index iterative likelihood fit...

Freezing all point sources, except source of interest...

Done.

Freeing candidate source...
Done.

Fit tolerance = 1

Performing likelihood fit...
Done.

MINUIT Return Code (Free Index): 102
logL (Free Index) = 5501.6406716
delta logL = 1.13426183114

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

MINUIT Return Code (Free Index): 102
logL (Free Index) = 5501.62734609
delta logL = 1.14758733911

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'norm      '    .41666       1.0000         .10000E-03   10000.    
     2 'alpha     '    3.7865       1.0000          .0000       5.0000    
     3 'Normalizat'    .82623       1.0000         .10000E-01   10.000    
     4 'Prefactor '    1.1979       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=   5501.627     FROM MIGRAD    STATUS=CONVERGED     51 CALLS      227 TOTAL
                     EDM=   .27E-09    STRATEGY= 1      ERR MATRIX NOT POS-DEF

  EXT PARAMETER                APPROXIMATE        STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  norm          .41563        4.3183        .74653E-02    .16934E-02
   2  alpha         3.7875        3.7041        .20937        .54021E-04
   3  Normalizat    .82642        .51888E-01    .68089E-01   -.15954E-04
   4  Prefactor     1.1978        .43355E-01    .34680E-01   -.25091E-04
                               ERR DEF=  .500    
Final values: 
  norm       = 0.41563
  alpha      = 3.78745
  Normalizat = 0.826418
  Prefactor  = 1.19782
 **********
 **   18 **HESSE 
 **********

 FCN=   5501.627     FROM HESSE     STATUS=NOT POSDEF    31 CALLS      258 TOTAL
                     EDM=   .32E-08    STRATEGY= 1      ERR MATRIX NOT POS-DEF

  EXT PARAMETER                APPROXIMATE     INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  norm          .41563        9.8900        .33703E-04   -1.5579    
   2  alpha         3.7875        4.3365        .81488E-02    .54098    
   3  Normalizat    .82642        .26353        .30125E-03   -.99096    
   4  Prefactor     1.1978        .20910        .21684E-03   -.86398    
                               ERR DEF=  .500    
Minuit fit quality: 2   estimated distance: 3.20885e-09
Minuit parameter uncertainties:
  1  4.05518
  2  3.87444
  3  0.263939
  4  0.209243
shell-init: error retrieving current directory: getcwd: cannot access parent directories: No such file or directory
rmdir: failed to remove `/scratch/kocevski/16270': No such file or directory
shell-init: error retrieving current directory: getcwd: cannot access parent directories: No such file or directory
Done.

MINUIT Return Code (Free Index): 102
logL (Free Index) = 5501.62734535
delta logL = 1.14758807621

Extracting fit parameters...

4FGL J0905.6+1358
   Spectrum: LogParabola
282         norm:  4.156e-01  4.055e+00  1.000e-04  1.000e+04 ( 1.000e-13)
283        alpha:  3.787e+00  3.874e+00  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.198e+00  2.092e-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.264e-01  2.639e-01  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Free Index): 2.43
Ra Dec: 136.402 13.975
Photon Index (Free Index): 3.79 +/- 3.87
Photon Flux (Free Index): 9.91e-08 +/- 1.16e-07
Energy Flux (Free Index): 1.78e-05 +/- 1.39e-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/16270/cmap_HighResolution_647827201_648086401_4FGL_J0905.6+1358_daily_bin1576.png

Cleaning up...

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

Updating database...

UPDATE lightcurve_data_v2 SET energy_flux_upper_limit='7.80e-05', comment='SUCCESS', energy_flux2='1.78e-05', dlogl='1.15e+00', photon_flux2='9.91e-08', job_status='DONE', time_completed='2021-08-31 01:16:51.196916', photon_index_error2='3.87', photon_index2='3.79', ts='0.01', fit_tolerance='1e-08', GAL='1.16', photon_index_error='0.00', photon_flux_upper_limit='3.59e-08', energy_flux_error2='1.39e-05', EG='0.93', time_epoch_completed='1630397811.2', return_code='0', job_id='16270', GAL2='1.20', EG2='0.83', return_code2='102', photon_flux_error2='1.16e-07', ts2='2.43', photon_index='1.59' WHERE bin_id='1576' AND source_name='4FGL J0905.6+1358' AND cadence='daily';

Database successfully updated.


Analysis Complete.


Tue Aug 31 01:16:51 PDT 2021


------------------------------------------------------------
Sender: LSF System <lsf@bullet0159>
Subject: Job 16270: <4FGL_J0905.6+1358_daily_bin1576> in cluster <slac> Done

Job <4FGL_J0905.6+1358_daily_bin1576> was submitted from host <rhel6-64k> by user <kocevski> in cluster <slac> at Tue Aug 31 01:05:32 2021
Job was executed on host(s) <bullet0159>, in queue <medium>, as user <kocevski> in cluster <slac> at Tue Aug 31 01:05:34 2021
</u/ki/kocevski> was used as the home directory.
</u/ki/kocevski> was used as the working directory.
Started at Tue Aug 31 01:05:34 2021
Terminated at Tue Aug 31 01:16:52 2021
Results reported at Tue Aug 31 01:16:52 2021

Your job looked like:

------------------------------------------------------------
# LSBATCH: User input
/nfs/farm/g/glast/g/LCRepository/Likelihood/Scripts/LikelihoodAnalysis.py 4FGL_J0905.6+1358_daily_bin1576 136.402 13.975 647827201 648086401 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 :                                   634.24 sec.
    Max Memory :                                 1256 MB
    Average Memory :                             284.29 MB
    Total Requested Memory :                     -
    Delta Memory :                               -
    Max Swap :                                   -
    Max Processes :                              5
    Max Threads :                                21
    Run time :                                   678 sec.
    Turnaround time :                            680 sec.

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

