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


Performing analysis on: 4FGL_J1505.0+0326_daily_bin231
RA = 226.273, Dec = 3.4472
tmin = 299203201, tmax = 299462401
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='10740', job_status='RUN', time_executed='2021-09-10 21:59:08.927240', time_epoch_executed='1631336348.93' WHERE source_name='4FGL J1505.0+0326' and cadence='daily' and bin_id='231'

Database successfully updated.
Done.

Creating custom output directory:
/scratch/kocevski/10740

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

Retrieving the FT1 file...

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

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

Retrieving 46 files...
Done.


Merging files...

Checksum keywords updated successfully.

Merged file saved to:
/scratch/kocevski/10740/ft1_4FGL_J1505.0+0326_daily_bin231.fits


Retrieving the FT1 file...

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

Retrieving 46 files...
Done.


Merging files...

Merged file saved to:
/scratch/kocevski/10740/ft2_4FGL_J1505.0+0326_daily_bin231.fits


Selecting the photons:
time -p gtselect infile=/scratch/kocevski/10740/ft1_4FGL_J1505.0+0326_daily_bin231.fits outfile=/scratch/kocevski/10740/ft1_filteredMKT_4FGL_J1505.0+0326_daily_bin231.fits ra=226.273 dec=3.4472 rad=12.0 tmin=299203201.0 tmax=299462401.0 emin=100.0 emax=100000.0 zmin=0.0 zmax=90.0 evclass=128 evtype="INDEF" convtype=-1 phasemin=0.0 phasemax=1.0 evtable="EVENTS" chatter=2 clobber=yes debug=no gui=no mode="ql"

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

Done.
real 3.39
user 3.18
sys 0.18

Adding sun position to ft2 file:
/nfs/farm/g/glast/g/LCRepository/Repository/bin/sunpos /scratch/kocevski/10740/ft2_4FGL_J1505.0+0326_daily_bin231.fits

Selecting the good time intervals:
time -p gtmktime scfile=/scratch/kocevski/10740/ft2_4FGL_J1505.0+0326_daily_bin231.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/10740/ft1_filteredMKT_4FGL_J1505.0+0326_daily_bin231.fits evtable="EVENTS" outfile="/scratch/kocevski/10740/ft1_filtered_4FGL_J1505.0+0326_daily_bin231.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.49
user 0.31
sys 0.16

Generating the livetime cube:
time -p gtltcube evfile="/scratch/kocevski/10740/ft1_filtered_4FGL_J1505.0+0326_daily_bin231.fits" evtable="EVENTS" scfile=/scratch/kocevski/10740/ft2_4FGL_J1505.0+0326_daily_bin231.fits sctable="SC_DATA" outfile=/scratch/kocevski/10740/ltcube_299203201_299462401_4FGL_J1505.0+0326_daily_bin231.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/10740/ft2_4FGL_J1505.0+0326_daily_bin231.fits
.....................!
real 11.66
user 11.29
sys 0.34

Generating the exposure map:
time -p gtexpmap evfile=/scratch/kocevski/10740/ft1_filtered_4FGL_J1505.0+0326_daily_bin231.fits evtable="EVENTS" scfile=/scratch/kocevski/10740/ft2_4FGL_J1505.0+0326_daily_bin231.fits sctable="SC_DATA" expcube=/scratch/kocevski/10740/ltcube_299203201_299462401_4FGL_J1505.0+0326_daily_bin231.fits outfile=/scratch/kocevski/10740/expmap_299203201_299462401_4FGL_J1505.0+0326_daily_bin231.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/10740/ltcube_299203201_299462401_4FGL_J1505.0+0326_daily_bin231.fits
.....................!
real 191.14
user 184.77
sys 5.97

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

Setting source of interest to:
4FGL J1505.0+0326 @ 226.273 3.4472

Creating the counts map:
time -p gtbin evfile=/scratch/kocevski/10740/ft1_filtered_4FGL_J1505.0+0326_daily_bin231.fits scfile=/scratch/kocevski/10740/ft2_4FGL_J1505.0+0326_daily_bin231.fits outfile=/scratch/kocevski/10740/cmap_299203201_299462401_4FGL_J1505.0+0326_daily_bin231.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=226.273 yref=3.4472 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.52
user 0.36
sys 0.15

Creating the high resolution counts map:
time -p gtbin evfile=/scratch/kocevski/10740/ft1_filtered_4FGL_J1505.0+0326_daily_bin231.fits scfile=/scratch/kocevski/10740/ft2_4FGL_J1505.0+0326_daily_bin231.fits outfile=/scratch/kocevski/10740/cmap_HighResolution_299203201_299462401_4FGL_J1505.0+0326_daily_bin231.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=226.273 yref=3.4472 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.59
user 0.38
sys 0.15

Computing the diffuse response:
time -p gtdiffrsp evfile=/scratch/kocevski/10740/ft1_filtered_4FGL_J1505.0+0326_daily_bin231.fits evtable="EVENTS" scfile=/scratch/kocevski/10740/ft2_4FGL_J1505.0+0326_daily_bin231.fits sctable="SC_DATA" srcmdl=/scratch/kocevski/10740/Model_4FGL_J1505.0+0326_daily_bin231.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/10740/ft1_filtered_4FGL_J1505.0+0326_daily_bin231.fits.....................!
real 58.61
user 57.25
sys 1.20

Creating the likelihood object...
obs = UnbinnedObs('/scratch/kocevski/10740/ft1_filtered_4FGL_J1505.0+0326_daily_bin231.fits', '/scratch/kocevski/10740/ft2_4FGL_J1505.0+0326_daily_bin231.fits', expMap='/scratch/kocevski/10740/expmap_299203201_299462401_4FGL_J1505.0+0326_daily_bin231.fits', expCube='/scratch/kocevski/10740/ltcube_299203201_299462401_4FGL_J1505.0+0326_daily_bin231.fits', irfs='P8R3_SOURCE_V2')
like = UnbinnedAnalysis(obs, '/scratch/kocevski/10740/Model_4FGL_J1505.0+0326_daily_bin231.xml', optimizer='MINUIT')

Using source of interest name: '4FGL J1505.0+0326'

4FGL J1505.0+0326
   Spectrum: LogParabola
225         norm:  1.811e+00  0.000e+00  1.000e-04  1.000e+04 ( 1.000e-11)
226        alpha:  2.490e+00  0.000e+00  0.000e+00  5.000e+00 ( 1.000e+00) fixed
227         beta:  9.910e-02  0.000e+00  0.000e+00  1.000e+01 ( 1.000e+00) fixed
228           Eb:  4.151e+02  0.000e+00  3.000e+01  5.000e+05 ( 1.000e+00) fixed


Likelihood Fit Parameters:
Event file(s): /scratch/kocevski/10740/ft1_filtered_4FGL_J1505.0+0326_daily_bin231.fits
Spacecraft file(s): /scratch/kocevski/10740/ft2_4FGL_J1505.0+0326_daily_bin231.fits
Exposure map: /scratch/kocevski/10740/expmap_299203201_299462401_4FGL_J1505.0+0326_daily_bin231.fits
Exposure cube: /scratch/kocevski/10740/ltcube_299203201_299462401_4FGL_J1505.0+0326_daily_bin231.fits
IRFs: P8R3_SOURCE_V2
Source model file: /scratch/kocevski/10740/Model_4FGL_J1505.0+0326_daily_bin231.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) = 7517.70138891

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

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

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'Prefactor '    .10046E-03   1.0000         .10000E-03   10000.    
     2 'norm      '    19.354       1.0000         .10000E-03   10000.    
     3 'Prefactor '    65.678       1.0000         .10000E-03   10000.    
     4 'Prefactor '    .10006E-03   1.0000         .10000E-03   10000.    
     5 'norm      '    .10007E-03   1.0000         .10000E-03   10000.    
     6 'Prefactor '    5.3556       1.0000         .10000E-03   10000.    
     7 'Prefactor '    8.2485       1.0000         .10000E-03   10000.    
     8 'norm      '    .40226       1.0000         .10000E-03   10000.    
     9 'norm      '    .41124       1.0000         .10000E-03   10000.    
    10 'norm      '    .10000E-03   1.0000         .10000E-03   10000.    
    11 'norm      '    5.9624       1.0000         .10000E-03   10000.    
    12 'norm      '    3.7954       1.0000         .10000E-03   10000.    
    13 'Prefactor '    .10002E-03   1.0000         .10000E-03   10000.    
    14 'Prefactor '    1.9933       1.0000         .10000E-03   10000.    
    15 'Prefactor '    .10000E-03   1.0000         .10000E-03   10000.    
    16 'Prefactor '    3.1608       1.0000         .10000E-03   10000.    
    17 'norm      '    .52663E-02   1.0000         .10000E-03   10000.    
    18 'Normalizat'    1.0716       1.0000         .10000E-01   10.000    
    19 'Prefactor '    1.0924       1.0000          .0000       10.000    
 **********
 **   15 **SET ERR    .5000    
 **********
 **********
 **   16 **SET GRAD    1.000    
 **********
 **********
 **   17 **MINIMIZE    .5080E+05   .2000E-04
 **********

 MIGRAD MINIMIZATION HAS CONVERGED.

 MIGRAD WILL VERIFY CONVERGENCE AND ERROR MATRIX.

 MIGRAD MINIMIZATION HAS CONVERGED.

 FCN=   7517.694     FROM MIGRAD    STATUS=CONVERGED    389 CALLS     1900 TOTAL
                     EDM=   .40E-09  STRATEGY=1  ERROR MATRIX UNCERTAINTY=   .9%

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor     .10000E-03    7.7803        .28212E-05** at limit **
   2  norm          19.347        27.010       -.60323E-05   -.47997E-04
   3  Prefactor     65.672        68.572       -.60404E-05   -.16446E-04
   4  Prefactor     .10000E-03    9.5249        .28567E-05** at limit **
   5  norm          .10000E-03    6.1651       -.30004E-06** at limit **
   6  Prefactor     5.3576        19.188       -.10250E-05   -.34866E-05
   7  Prefactor     8.2495        16.171       -.14169E-05   -.11546E-04
   8  norm          .40228        .16940       -.50168E-08    .22133E-03
   9  norm          .40690        1.6084       -.32903E-06   -.11223E-03
  10  norm          .10000E-03    1.7929        .24725E-07** at limit **
  11  norm          5.9611        5.7208       -.10867E-06   -.47910E-04
  12  norm          3.7955        3.2001        .20607E-06    .89788E-04
  13  Prefactor     .10000E-03    9.4313        .71015E-06** at limit **
  14  Prefactor     1.9929        3.4278        .12587E-05   -.44138E-04
  15  Prefactor     .10000E-03    8.7813       -.60121E-05** at limit **
  16  Prefactor     3.1618        1.7289        .27501E-06   -.28199E-02
  17  norm          .10000E-03    2.1894       -.17677E-06** at limit **
  18  Normalizat    1.0713        .23139        .15577E-05    .19480E-04
  19  Prefactor     1.0926        .11408       -.21977E-06    .16291E-03
                               ERR DEF=  .500    
Final values: 
  Prefactor  = 0.0001
  norm       = 19.3471
  Prefactor  = 65.6716
  Prefactor  = 0.0001
  norm       = 0.0001
  Prefactor  = 5.35757
  Prefactor  = 8.24954
  norm       = 0.402283
  norm       = 0.406898
  norm       = 0.0001
  norm       = 5.96115
  norm       = 3.79546
  Prefactor  = 0.0001
  Prefactor  = 1.99285
  Prefactor  = 0.0001
  Prefactor  = 3.16184
  norm       = 0.000100004
  Normalizat = 1.07132
  Prefactor  = 1.09258
 **********
 **   18 **HESSE 
 **********

 FCN=   7517.694     FROM HESSE     STATUS=OK           280 CALLS     2180 TOTAL
                     EDM=   .35E-07    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  Prefactor     .10000E-03    7.8056        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   2  norm          19.347        27.073        .91041E-04   -1.4828    
   3  Prefactor     65.672        68.779        .49521E-04   -1.4085    
   4  Prefactor     .10000E-03    9.5369        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   5  norm          .10000E-03    6.1708        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   6  Prefactor     5.3576        19.228        .17366E-03   -1.5245    
   7  Prefactor     8.2495        16.189        .13959E-03   -1.5133    
   8  norm          .40228        .16876        .22082E-04   -1.5581    
   9  norm          .40690        2.6604        .20001E-02   -1.5580    
  10  norm          .10000E-03    1.7940        .11338E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  11  norm          5.9611        5.7281        .16445E-03   -1.5220    
  12  norm          3.7955        3.1877        .13690E-03   -1.5318    
  13  Prefactor     .10000E-03    9.4322        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  14  Prefactor     1.9929        3.4115        .20201E-03   -1.5426    
  15  Prefactor     .10000E-03    8.7948        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  16  Prefactor     3.1618        4.6074        .10669E-02   -1.5352    
  17  norm          .10000E-03    3.8978        .44759E-01   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  18  Normalizat    1.0713        .26150        .35483E-03   -.90678    
  19  Prefactor     1.0926        .13158        .18298E-03   -.89704    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 3.53688e-08
Minuit parameter uncertainties:
  1  3.4025e-05
  2  27.0897
  3  68.8624
  4  2.80028e-05
  5  2.28847e-06
  6  19.2502
  7  16.198
  8  0.168765
  9  2.08074
  10  8.85281e-08
  11  5.7286
  12  3.18785
  13  2.38512e-06
  14  3.41182
  15  4.66541e-05
  16  4.6079
  17  0.000255618
  18  0.26182
  19  0.131618
Done.

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

Extracting fit parameters...

4FGL J1505.0+0326
   Spectrum: LogParabola
225         norm:  4.069e-01  2.081e+00  1.000e-04  1.000e+04 ( 1.000e-11)
226        alpha:  2.490e+00  0.000e+00  0.000e+00  5.000e+00 ( 1.000e+00) fixed
227         beta:  9.910e-02  0.000e+00  0.000e+00  1.000e+01 ( 1.000e+00) fixed
228           Eb:  4.151e+02  0.000e+00  3.000e+01  5.000e+05 ( 1.000e+00) fixed

GAL_V02
   Spectrum: PowerLaw
505    Prefactor:  1.093e+00  1.316e-01  0.000e+00  1.000e+01 ( 1.000e+00)
506        Index:  0.000e+00  0.000e+00 -1.000e+00  1.000e+00 ( 1.000e+00) fixed
507        Scale:  1.000e+02  0.000e+00  5.000e+01  2.000e+02 ( 1.000e+00) fixed

EG_v02
   Spectrum: FileFunction
504   Normalization:  1.071e+00  2.618e-01  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Fixed Index): 0.04
Ra Dec: 226.273 3.447
Photon Flux Upper Limit: 1.20e-07 ph cm-2 s-1
Energy Flux Upper Limit: 3.24e-05 MeV cm-2 s-1

Saving results to:
/scratch/kocevski/10740/likelihoodResults_299203201_299462401_4FGL_J1505.0+0326_daily_bin231.txt

Performing a free index iterative likelihood fit...

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

Done.

Freeing candidate source...
Done.

Fit tolerance = 1

Performing likelihood fit...
Done.

MINUIT Return Code (Free Index): 0
logL (Free Index) = 7517.36368
delta logL = 0.330387499668

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

MINUIT Return Code (Free Index): 0
logL (Free Index) = 7517.32014389
delta logL = 0.373923609234

Fit tolerance = 1e-08

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

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

 MIGRAD MINIMIZATION HAS CONVERGED.

 MIGRAD WILL VERIFY CONVERGENCE AND ERROR MATRIX.

 MIGRAD MINIMIZATION HAS CONVERGED.

 MIGRAD WILL VERIFY CONVERGENCE AND ERROR MATRIX.

 FCN=   7517.320     FROM MIGRAD    STATUS=CONVERGED     91 CALLS      283 TOTAL
                     EDM=   .91E-12    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  norm          .24020        .29503        .48116E-04   -.16256E-03
   2  alpha         5.0000        3.3779        .98163E-01** at limit **
   3  Normalizat    .99824        .26025        .36623E-03   -.99645E-05
   4  Prefactor     1.1153        .13119        .18134E-03   -.19748E-04
                               ERR DEF=  .500    
Final values: 
  norm       = 0.240205
  alpha      = 5
  Normalizat = 0.998243
  Prefactor  = 1.11534
 **********
 **   18 **HESSE 
 **********

 FCN=   7517.320     FROM HESSE     STATUS=OK            23 CALLS      306 TOTAL
                     EDM=   .94E-12    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  norm          .24020        .29319        .19246E-05   -1.5610    
   2  alpha         5.0000        3.3762        .19633E-01    1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   3  Normalizat    .99824        .26039        .14649E-04   -.93089    
   4  Prefactor     1.1153        .13128        .72536E-05   -.88978    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 9.44074e-13
Minuit parameter uncertainties:
  1  0.293197
  2  1.8222e-07
  3  0.260723
  4  0.131316
shell-init: error retrieving current directory: getcwd: cannot access parent directories: No such file or directory
rmdir: failed to remove `/scratch/kocevski/10740': 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) = 7517.32014344
delta logL = 0.373924056968

Extracting fit parameters...

4FGL J1505.0+0326
   Spectrum: LogParabola
225         norm:  2.402e-01  2.932e-01  1.000e-04  1.000e+04 ( 1.000e-11)
226        alpha:  5.000e+00  1.822e-07  0.000e+00  5.000e+00 ( 1.000e+00)
227         beta:  9.910e-02  0.000e+00  0.000e+00  1.000e+01 ( 1.000e+00) fixed
228           Eb:  4.151e+02  0.000e+00  3.000e+01  5.000e+05 ( 1.000e+00) fixed

GAL_V02
   Spectrum: PowerLaw
505    Prefactor:  1.115e+00  1.313e-01  0.000e+00  1.000e+01 ( 1.000e+00)
506        Index:  0.000e+00  0.000e+00 -1.000e+00  1.000e+00 ( 1.000e+00) fixed
507        Scale:  1.000e+02  0.000e+00  5.000e+01  2.000e+02 ( 1.000e+00) fixed

EG_v02
   Spectrum: FileFunction
504   Normalization:  9.982e-01  2.607e-01  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Free Index): 0.04
Ra Dec: 226.273 3.447

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/10740/cmap_HighResolution_299203201_299462401_4FGL_J1505.0+0326_daily_bin231.png

Cleaning up...

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

Updating database...

UPDATE lightcurve_data_v2 SET energy_flux_upper_limit='3.24e-05', job_status='DONE', photon_flux_upper_limit='1.20e-07', time_completed='2021-09-10 22:08:59.466923', job_id='10740', GAL2='1.12', fit_tolerance='1e-08', EG2='1.00', EG='1.07', time_epoch_completed='1631336939.47', return_code2='0', ts='0.04', comment='SUCCESS', return_code='0', GAL='1.09', dlogl='3.74e-01', ts2='0.88', photon_index_error='0.00', photon_index='2.49' WHERE bin_id='231' AND source_name='4FGL J1505.0+0326' AND cadence='daily';

Database successfully updated.


Analysis Complete.


Fri Sep 10 22:08:59 PDT 2021


------------------------------------------------------------
Sender: LSF System <lsf@bullet0072>
Subject: Job 10740: <4FGL_J1505.0+0326_daily_bin231> in cluster <slac> Done

Job <4FGL_J1505.0+0326_daily_bin231> was submitted from host <rhel6-64f> by user <kocevski> in cluster <slac> at Fri Sep 10 21:56:07 2021
Job was executed on host(s) <bullet0072>, in queue <medium>, as user <kocevski> in cluster <slac> at Fri Sep 10 21:56:09 2021
</u/ki/kocevski> was used as the home directory.
</u/ki/kocevski> was used as the working directory.
Started at Fri Sep 10 21:56:09 2021
Terminated at Fri Sep 10 22:09:00 2021
Results reported at Fri Sep 10 22:09:00 2021

Your job looked like:

------------------------------------------------------------
# LSBATCH: User input
/nfs/farm/g/glast/g/LCRepository/Likelihood/Scripts/LikelihoodAnalysis.py 4FGL_J1505.0+0326_daily_bin231 226.273 3.4472 299203201 299462401 irfs=P8R3_SOURCE_V2 zmax=90 ROI=12 association=4FGL_J1505.0+0326 fixedModel=True performFreeIndexFit=True freeVariableSources=True nuke=True repositoryJob=True verbose=False
------------------------------------------------------------

Successfully completed.

Resource usage summary:

    CPU time :                                   587.00 sec.
    Max Memory :                                 1256 MB
    Average Memory :                             274.58 MB
    Total Requested Memory :                     -
    Delta Memory :                               -
    Max Swap :                                   -
    Max Processes :                              5
    Max Threads :                                21
    Run time :                                   770 sec.
    Turnaround time :                            773 sec.

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

