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


Performing analysis on: 4FGL_J0905.6+1358_daily_bin99
RA = 136.402, Dec = 13.975
tmin = 264988801, tmax = 265248001
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='6683', job_status='RUN', time_executed='2021-08-31 00:36:54.315000', time_epoch_executed='1630395414.32' WHERE source_name='4FGL J0905.6+1358' and cadence='daily' and bin_id='99'

Database successfully updated.
Done.

Creating custom output directory:
/scratch/kocevski/6683

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

Retrieving the FT1 file...

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

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

Retrieving 46 files...
Done.


Merging files...

Checksum keywords updated successfully.

Merged file saved to:
/scratch/kocevski/6683/ft1_4FGL_J0905.6+1358_daily_bin99.fits


Retrieving the FT1 file...

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

Retrieving 46 files...
Done.


Merging files...

Merged file saved to:
/scratch/kocevski/6683/ft2_4FGL_J0905.6+1358_daily_bin99.fits


Selecting the photons:
time -p gtselect infile=/scratch/kocevski/6683/ft1_4FGL_J0905.6+1358_daily_bin99.fits outfile=/scratch/kocevski/6683/ft1_filteredMKT_4FGL_J0905.6+1358_daily_bin99.fits ra=136.402 dec=13.975 rad=12.0 tmin=264988801.0 tmax=265248001.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 1.82
user 1.26
sys 0.53

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

Selecting the good time intervals:
time -p gtmktime scfile=/scratch/kocevski/6683/ft2_4FGL_J0905.6+1358_daily_bin99.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/6683/ft1_filteredMKT_4FGL_J0905.6+1358_daily_bin99.fits evtable="EVENTS" outfile="/scratch/kocevski/6683/ft1_filtered_4FGL_J0905.6+1358_daily_bin99.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.97
user 0.31
sys 0.60

Generating the livetime cube:
time -p gtltcube evfile="/scratch/kocevski/6683/ft1_filtered_4FGL_J0905.6+1358_daily_bin99.fits" evtable="EVENTS" scfile=/scratch/kocevski/6683/ft2_4FGL_J0905.6+1358_daily_bin99.fits sctable="SC_DATA" outfile=/scratch/kocevski/6683/ltcube_264988801_265248001_4FGL_J0905.6+1358_daily_bin99.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/6683/ft2_4FGL_J0905.6+1358_daily_bin99.fits
.....................!
real 13.64
user 12.82
sys 0.79

Generating the exposure map:
time -p gtexpmap evfile=/scratch/kocevski/6683/ft1_filtered_4FGL_J0905.6+1358_daily_bin99.fits evtable="EVENTS" scfile=/scratch/kocevski/6683/ft2_4FGL_J0905.6+1358_daily_bin99.fits sctable="SC_DATA" expcube=/scratch/kocevski/6683/ltcube_264988801_265248001_4FGL_J0905.6+1358_daily_bin99.fits outfile=/scratch/kocevski/6683/expmap_264988801_265248001_4FGL_J0905.6+1358_daily_bin99.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/6683/ltcube_264988801_265248001_4FGL_J0905.6+1358_daily_bin99.fits
.....................!
real 190.43
user 185.11
sys 4.77

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/6683/ft1_filtered_4FGL_J0905.6+1358_daily_bin99.fits scfile=/scratch/kocevski/6683/ft2_4FGL_J0905.6+1358_daily_bin99.fits outfile=/scratch/kocevski/6683/cmap_264988801_265248001_4FGL_J0905.6+1358_daily_bin99.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 0.99
user 0.36
sys 0.57

Creating the high resolution counts map:
time -p gtbin evfile=/scratch/kocevski/6683/ft1_filtered_4FGL_J0905.6+1358_daily_bin99.fits scfile=/scratch/kocevski/6683/ft2_4FGL_J0905.6+1358_daily_bin99.fits outfile=/scratch/kocevski/6683/cmap_HighResolution_264988801_265248001_4FGL_J0905.6+1358_daily_bin99.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 0.99
user 0.37
sys 0.58

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

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

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

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

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'Prefactor '    .10000E-03   1.0000         .10000E-03   10000.    
     2 'Prefactor '    10.154       1.0000         .10000E-03   10000.    
     3 'Prefactor '    7.5919       1.0000         .10000E-03   10000.    
     4 'Prefactor '    32.949       1.0000         .10000E-03   10000.    
     5 'norm      '    .31092       1.0000         .10000E-03   10000.    
     6 'Prefactor '    .10006E-03   1.0000         .10000E-03   10000.    
     7 'norm      '    3.8818       1.0000         .10000E-03   10000.    
     8 'norm      '    .10113E-03   1.0000         .10000E-03   10000.    
     9 'Prefactor '    96.129       1.0000         .10000E-03   10000.    
    10 'Prefactor '    3.8883       1.0000         .10000E-03   10000.    
    11 'norm      '    .24702       1.0000         .10000E-03   10000.    
    12 'Prefactor '    50.813       1.0000         .10000E-03   10000.    
    13 'Normalizat'    1.3030       1.0000         .10000E-01   10.000    
    14 'Prefactor '    .77075       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=   8419.964     FROM MIGRAD    STATUS=CONVERGED    240 CALLS     1222 TOTAL
                     EDM=   .14E-09  STRATEGY=1  ERROR MATRIX UNCERTAINTY=  2.4%

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor     .10000E-03    5.9650        .10878E-06** at limit **
   2  Prefactor     10.154        10.086        .19419E-05   -.22450E-03
   3  Prefactor     7.5926        6.0773       -.15306E-06   -.41041E-04
   4  Prefactor     32.954        29.629        .10984E-05    .10134E-03
   5  norm          .31116        .58965        .38725E-07   -.23580E-04
   6  Prefactor     .10000E-03    3.3008       -.52980E-07** at limit **
   7  norm          3.8817        3.6096       -.38855E-07    .21203E-04
   8  norm          .10000E-03    10.205        .18918E-07** at limit **
   9  Prefactor     96.118        48.221       -.12629E-05   -.15836E-03
  10  Prefactor     3.8885        2.7771        .61610E-07   -.50054E-04
  11  norm          .24750        .74757        .31936E-06   -.60595E-03
  12  Prefactor     50.804        31.306       -.13395E-05   -.21015E-03
  13  Normalizat    1.3028        .15602       -.51004E-06   -.63049E-04
  14  Prefactor     .77091        .12341       -.18704E-07   -.89951E-04
                               ERR DEF=  .500    
Final values: 
  Prefactor  = 0.0001
  Prefactor  = 10.1544
  Prefactor  = 7.59264
  Prefactor  = 32.9537
  norm       = 0.311162
  Prefactor  = 0.0001
  norm       = 3.88168
  norm       = 0.0001
  Prefactor  = 96.118
  Prefactor  = 3.88846
  norm       = 0.247497
  Prefactor  = 50.8044
  Normalizat = 1.30278
  Prefactor  = 0.770913
 **********
 **   18 **HESSE 
 **********

 FCN=   8419.964     FROM HESSE     STATUS=OK           166 CALLS     1388 TOTAL
                     EDM=   .23E-07    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  Prefactor     .10000E-03    5.9848        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   2  Prefactor     10.154        10.463        .62872E-03   -1.5071    
   3  Prefactor     7.5926        6.0769        .14555E-03   -1.5157    
   4  Prefactor     32.954        29.918        .69808E-04   -1.4559    
   5  norm          .31116        .58917        .41891E-04   -1.5596    
   6  Prefactor     .10000E-03    3.3075        .16277E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   7  norm          3.8817        3.6145        .16408E-03   -1.5314    
   8  norm          .10000E-03    10.216        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   9  Prefactor     96.118        49.451        .20498E-03   -1.3744    
  10  Prefactor     3.8885        2.7777        .12448E-03   -1.5314    
  11  norm          .24750        .92523        .12855E-02   -1.5608    
  12  Prefactor     50.804        32.474        .56260E-04   -1.4281    
  13  Normalizat    1.3028        .18158        .23272E-03   -.83483    
  14  Prefactor     .77091        .14316        .24408E-03   -1.0081    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 2.31e-08
Minuit parameter uncertainties:
  1  4.16305e-06
  2  10.4651
  3  6.07744
  4  29.9319
  5  0.589177
  6  3.01014e-06
  7  3.61468
  8  1.02716e-05
  9  49.4718
  10  2.77781
  11  0.925279
  12  32.4857
  13  0.181669
  14  0.143234
Done.

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

Extracting fit parameters...

4FGL J0905.6+1358
   Spectrum: LogParabola
282         norm:  3.882e+00  3.615e+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:  7.709e-01  1.432e-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:  1.303e+00  1.817e-01  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Fixed Index): 6.73
Ra Dec: 136.402 13.975
Photon Index (Fixed Index): 1.59 +/- 0.00
Photon Flux (Fixed Index): 6.29e-09 +/- 5.86e-09
Energy Flux (Fixed Index): 1.37e-05 +/- 1.27e-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) = 8419.27581723
delta logL = 0.688225902068

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

MINUIT Return Code (Free Index): 0
logL (Free Index) = 8419.17107729
delta logL = 0.792965841158

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'norm      '    1.9981       1.0000         .10000E-03   10000.    
     2 'alpha     '    .62140       1.0000          .0000       5.0000    
     3 'Normalizat'    1.3012       1.0000         .10000E-01   10.000    
     4 'Prefactor '    .77499       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=   8419.171     FROM MIGRAD    STATUS=CONVERGED     48 CALLS      202 TOTAL
                     EDM=   .46E-08    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  norm          1.9983        2.1402        .73253E-02   -.42107E-02
   2  alpha         .62059        .59329        .50000       -.23539E-04
   3  Normalizat    1.3012        .14766        .52657E-01    .76644E-05
   4  Prefactor     .77498        .12323        .43391E-01    .21841E-04
                               ERR DEF=  .500    
Final values: 
  norm       = 1.99833
  alpha      = 0.620594
  Normalizat = 1.30124
  Prefactor  = 0.774977
 **********
 **   18 **HESSE 
 **********

 FCN=   8419.171     FROM HESSE     STATUS=OK            33 CALLS      235 TOTAL
                     EDM=   .78E-08    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  norm          1.9983        3.1284        .12524E-03   -1.5425    
   2  alpha         .62059        .76193        .30450E-01   -.85073    
   3  Normalizat    1.3012        .17100        .23282E-03   -.83529    
   4  Prefactor     .77498        .14271        .24352E-03   -1.0066    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 7.77922e-09
Minuit parameter uncertainties:
  1  3.12864
  2  0.792055
  3  0.171076
  4  0.142775
shell-init: error retrieving current directory: getcwd: cannot access parent directories: No such file or directory
rmdir: failed to remove `/scratch/kocevski/6683': 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) = 8419.17107563
delta logL = 0.792967494457

Extracting fit parameters...

4FGL J0905.6+1358
   Spectrum: LogParabola
282         norm:  1.998e+00  3.129e+00  1.000e-04  1.000e+04 ( 1.000e-13)
283        alpha:  6.206e-01  7.921e-01  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:  7.750e-01  1.428e-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:  1.301e+00  1.711e-01  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Free Index): 8.31
Ra Dec: 136.402 13.975
Photon Index (Free Index): 0.62 +/- 0.79
Photon Flux (Free Index): 2.77e-09 +/- 2.95e-09
Energy Flux (Free Index): 4.84e-05 +/- 6.36e-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/6683/cmap_HighResolution_264988801_265248001_4FGL_J0905.6+1358_daily_bin99.png

Cleaning up...

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

Updating database...

UPDATE lightcurve_data_v2 SET comment='SUCCESS', photon_flux='6.29e-09', energy_flux2='4.84e-05', photon_flux_error='5.86e-09', dlogl='7.93e-01', energy_flux='1.37e-05', photon_flux2='2.77e-09', job_status='DONE', time_completed='2021-08-31 00:45:28.648139', photon_index_error2='0.79', photon_index2='0.62', ts='6.73', fit_tolerance='1e-08', GAL='0.77', photon_index_error='0.00', energy_flux_error2='6.36e-05', EG='1.30', time_epoch_completed='1630395928.65', return_code='0', job_id='6683', GAL2='0.77', EG2='1.30', return_code2='0', energy_flux_error='1.27e-05', photon_flux_error2='2.95e-09', ts2='8.31', photon_index='1.59' WHERE bin_id='99' AND source_name='4FGL J0905.6+1358' AND cadence='daily';

Database successfully updated.


Analysis Complete.


Tue Aug 31 00:45:28 PDT 2021


------------------------------------------------------------
Sender: LSF System <lsf@bullet0252>
Subject: Job 6683: <4FGL_J0905.6+1358_daily_bin99> in cluster <slac> Done

Job <4FGL_J0905.6+1358_daily_bin99> was submitted from host <rhel6-64k> by user <kocevski> in cluster <slac> at Tue Aug 31 00:35:25 2021
Job was executed on host(s) <bullet0252>, in queue <medium>, as user <kocevski> in cluster <slac> at Tue Aug 31 00:35:27 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:27 2021
Terminated at Tue Aug 31 00:45:29 2021
Results reported at Tue Aug 31 00:45:29 2021

Your job looked like:

------------------------------------------------------------
# LSBATCH: User input
/nfs/farm/g/glast/g/LCRepository/Likelihood/Scripts/LikelihoodAnalysis.py 4FGL_J0905.6+1358_daily_bin99 136.402 13.975 264988801 265248001 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 :                                   515.10 sec.
    Max Memory :                                 1256 MB
    Average Memory :                             325.30 MB
    Total Requested Memory :                     -
    Delta Memory :                               -
    Max Swap :                                   -
    Max Processes :                              5
    Max Threads :                                21
    Run time :                                   602 sec.
    Turnaround time :                            604 sec.

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

