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


Performing analysis on: 4FGL_J1505.0+0326_daily_bin133
RA = 226.273, Dec = 3.4472
tmin = 273801601, tmax = 274060801
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='9528', job_status='RUN', time_executed='2021-09-10 21:55:37.006652', time_epoch_executed='1631336137.01' WHERE source_name='4FGL J1505.0+0326' and cadence='daily' and bin_id='133'

Database successfully updated.
Done.

Creating custom output directory:
/scratch/kocevski/9528

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

Retrieving the FT1 file...

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

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

Retrieving 46 files...
Done.


Merging files...

Checksum keywords updated successfully.

Merged file saved to:
/scratch/kocevski/9528/ft1_4FGL_J1505.0+0326_daily_bin133.fits


Retrieving the FT1 file...

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

Retrieving 46 files...
Done.


Merging files...

Merged file saved to:
/scratch/kocevski/9528/ft2_4FGL_J1505.0+0326_daily_bin133.fits


Selecting the photons:
time -p gtselect infile=/scratch/kocevski/9528/ft1_4FGL_J1505.0+0326_daily_bin133.fits outfile=/scratch/kocevski/9528/ft1_filteredMKT_4FGL_J1505.0+0326_daily_bin133.fits ra=226.273 dec=3.4472 rad=12.0 tmin=273801601.0 tmax=274060801.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.60
user 3.37
sys 0.21

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

Selecting the good time intervals:
time -p gtmktime scfile=/scratch/kocevski/9528/ft2_4FGL_J1505.0+0326_daily_bin133.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/9528/ft1_filteredMKT_4FGL_J1505.0+0326_daily_bin133.fits evtable="EVENTS" outfile="/scratch/kocevski/9528/ft1_filtered_4FGL_J1505.0+0326_daily_bin133.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.35
sys 0.12

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

Generating the exposure map:
time -p gtexpmap evfile=/scratch/kocevski/9528/ft1_filtered_4FGL_J1505.0+0326_daily_bin133.fits evtable="EVENTS" scfile=/scratch/kocevski/9528/ft2_4FGL_J1505.0+0326_daily_bin133.fits sctable="SC_DATA" expcube=/scratch/kocevski/9528/ltcube_273801601_274060801_4FGL_J1505.0+0326_daily_bin133.fits outfile=/scratch/kocevski/9528/expmap_273801601_274060801_4FGL_J1505.0+0326_daily_bin133.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/9528/ltcube_273801601_274060801_4FGL_J1505.0+0326_daily_bin133.fits
.....................!
real 192.44
user 186.83
sys 5.15

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/9528/ft1_filtered_4FGL_J1505.0+0326_daily_bin133.fits scfile=/scratch/kocevski/9528/ft2_4FGL_J1505.0+0326_daily_bin133.fits outfile=/scratch/kocevski/9528/cmap_273801601_274060801_4FGL_J1505.0+0326_daily_bin133.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.54
user 0.36
sys 0.16

Creating the high resolution counts map:
time -p gtbin evfile=/scratch/kocevski/9528/ft1_filtered_4FGL_J1505.0+0326_daily_bin133.fits scfile=/scratch/kocevski/9528/ft2_4FGL_J1505.0+0326_daily_bin133.fits outfile=/scratch/kocevski/9528/cmap_HighResolution_273801601_274060801_4FGL_J1505.0+0326_daily_bin133.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.55
user 0.39
sys 0.14

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

Creating the likelihood object...
obs = UnbinnedObs('/scratch/kocevski/9528/ft1_filtered_4FGL_J1505.0+0326_daily_bin133.fits', '/scratch/kocevski/9528/ft2_4FGL_J1505.0+0326_daily_bin133.fits', expMap='/scratch/kocevski/9528/expmap_273801601_274060801_4FGL_J1505.0+0326_daily_bin133.fits', expCube='/scratch/kocevski/9528/ltcube_273801601_274060801_4FGL_J1505.0+0326_daily_bin133.fits', irfs='P8R3_SOURCE_V2')
like = UnbinnedAnalysis(obs, '/scratch/kocevski/9528/Model_4FGL_J1505.0+0326_daily_bin133.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/9528/ft1_filtered_4FGL_J1505.0+0326_daily_bin133.fits
Spacecraft file(s): /scratch/kocevski/9528/ft2_4FGL_J1505.0+0326_daily_bin133.fits
Exposure map: /scratch/kocevski/9528/expmap_273801601_274060801_4FGL_J1505.0+0326_daily_bin133.fits
Exposure cube: /scratch/kocevski/9528/ltcube_273801601_274060801_4FGL_J1505.0+0326_daily_bin133.fits
IRFs: P8R3_SOURCE_V2
Source model file: /scratch/kocevski/9528/Model_4FGL_J1505.0+0326_daily_bin133.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) = 9388.84353548

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

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

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 'norm      '    22.457       1.0000         .10000E-03   10000.    
     3 'Prefactor '    53.739       1.0000         .10000E-03   10000.    
     4 'Prefactor '    44.565       1.0000         .10000E-03   10000.    
     5 'norm      '    .11657E-03   1.0000         .10000E-03   10000.    
     6 'Prefactor '    .10019E-03   1.0000         .10000E-03   10000.    
     7 'Prefactor '    2.6163       1.0000         .10000E-03   10000.    
     8 'norm      '    1.3567       1.0000         .10000E-03   10000.    
     9 'norm      '    2.8535       1.0000         .10000E-03   10000.    
    10 'norm      '    .17584E-01   1.0000         .10000E-03   10000.    
    11 'norm      '    6.9553       1.0000         .10000E-03   10000.    
    12 'norm      '    .10005E-03   1.0000         .10000E-03   10000.    
    13 'Prefactor '    .10009E-03   1.0000         .10000E-03   10000.    
    14 'Prefactor '    1.0220       1.0000         .10000E-03   10000.    
    15 'Prefactor '    5.9481       1.0000         .10000E-03   10000.    
    16 'Prefactor '    8.3725       1.0000         .10000E-03   10000.    
    17 'norm      '    .26463       1.0000         .10000E-03   10000.    
    18 'Normalizat'    1.3332       1.0000         .10000E-01   10.000    
    19 'Prefactor '    .75277       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=   9388.830     FROM MIGRAD    STATUS=CONVERGED    398 CALLS     1975 TOTAL
                     EDM=   .26E-09  STRATEGY=1  ERROR MATRIX UNCERTAINTY=  1.9%

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor     .10000E-03    10.872       -.94386E-07** at limit **
   2  norm          22.454        20.393       -.77979E-07   -.38704E-05
   3  Prefactor     53.634        58.043       -.10387E-05   -.73143E-04
   4  Prefactor     44.551        29.620       -.33653E-07    .23898E-04
   5  norm          .10000E-03    14.614       -.14023E-05** at limit **
   6  Prefactor     .10000E-03    13.337        .25290E-07** at limit **
   7  Prefactor     2.5811        40.971        .31576E-06    .13936E-04
   8  norm          1.3565        .25288       -.36150E-07   -.12263E-02
   9  norm          2.8529        1.7130       -.34204E-07   -.81833E-04
  10  norm          .10017E-03    2.7793        .41091E-06** at limit **
  11  norm          6.9552        3.7454        .71145E-07   -.34051E-05
  12  norm          .10000E-03    1.5887        .15498E-06** at limit **
  13  Prefactor     .10000E-03    9.7995        .10690E-06** at limit **
  14  Prefactor     1.0225        2.4759        .15499E-05    .47255E-03
  15  Prefactor     5.9484        11.123       -.86930E-07   -.41510E-04
  16  Prefactor     8.3719        4.1703       -.16781E-06   -.31014E-03
  17  norm          .26120        1.8581        .55642E-06   -.37452E-03
  18  Normalizat    1.3338        .22616        .39181E-05   -.24840E-03
  19  Prefactor     .75250        .10397       -.27734E-05   -.10595E-03
                               ERR DEF=  .500    
Final values: 
  Prefactor  = 0.0001
  norm       = 22.454
  Prefactor  = 53.6339
  Prefactor  = 44.5508
  norm       = 0.0001
  Prefactor  = 0.0001
  Prefactor  = 2.58109
  norm       = 1.3565
  norm       = 2.85293
  norm       = 0.000100171
  norm       = 6.95524
  norm       = 0.0001
  Prefactor  = 0.0001
  Prefactor  = 1.02246
  Prefactor  = 5.94836
  Prefactor  = 8.37191
  norm       = 0.261203
  Normalizat = 1.33383
  Prefactor  = 0.752498
 **********
 **   18 **HESSE 
 **********

 FCN=   9388.830     FROM HESSE     STATUS=OK           284 CALLS     2259 TOTAL
                     EDM=   .60E-07    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  Prefactor     .10000E-03    10.885        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   2  norm          22.454        20.395        .84525E-04   -1.4760    
   3  Prefactor     53.634        58.235        .27357E-03   -1.4242    
   4  Prefactor     44.551        29.601        .60056E-04   -1.4372    
   5  norm          .10000E-03    14.709        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   6  Prefactor     .10000E-03    13.390        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   7  Prefactor     2.5811        41.479        .25217E-03   -1.5387    
   8  norm          1.3565        .25278        .19791E-04   -1.5475    
   9  norm          2.8529        1.7108        .94287E-04   -1.5370    
  10  norm          .10017E-03    3.8895        .61967E-01   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  11  norm          6.9552        3.7453        .13276E-03   -1.5180    
  12  norm          .10000E-03    1.6235        .11929E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  13  Prefactor     .10000E-03    9.8067        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  14  Prefactor     1.0225        2.5367        .23738E-03   -1.5506    
  15  Prefactor     5.9484        11.102        .16465E-03   -1.5220    
  16  Prefactor     8.3719        4.1641        .13326E-03   -1.5129    
  17  norm          .26120        4.3284        .24824E-02   -1.5606    
  18  Normalizat    1.3338        .23345        .31649E-03   -.82562    
  19  Prefactor     .75250        .10702        .19572E-03   -1.0150    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 5.95164e-08
Minuit parameter uncertainties:
  1  2.91331e-06
  2  20.4015
  3  58.2965
  4  29.6103
  5  8.62149e-05
  6  1.14012e-05
  7  20.7108
  8  0.252781
  9  1.71081
  10  0.0016319
  11  3.74544
  12  6.12083e-06
  13  1.516e-06
  14  2.537
  15  11.1059
  16  4.16429
  17  2.12636
  18  0.23364
  19  0.107045
Done.

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

Extracting fit parameters...

4FGL J1505.0+0326
   Spectrum: LogParabola
225         norm:  2.853e+00  1.711e+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:  7.525e-01  1.070e-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.334e+00  2.336e-01  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Fixed Index): 6.25
Ra Dec: 226.273 3.447
Photon Index (Fixed Index): 2.49 +/- 0.00
Photon Flux (Fixed Index): 6.01e-08 +/- 3.60e-08
Energy Flux (Fixed Index): 1.62e-05 +/- 9.74e-06

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) = 9388.48404282
delta logL = 0.345925024896

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

MINUIT Return Code (Free Index): 0
logL (Free Index) = 9388.47877829
delta logL = 0.35118955641

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'norm      '    2.7713       1.0000         .10000E-03   10000.    
     2 'alpha     '    2.0009       1.0000          .0000       5.0000    
     3 'Normalizat'    1.3564       1.0000         .10000E-01   10.000    
     4 'Prefactor '    .74535       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.

 FCN=   9388.479     FROM MIGRAD    STATUS=CONVERGED     45 CALLS      201 TOTAL
                     EDM=   .19E-09    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  norm          2.7713        1.8461        .61117E-02    .66489E-03
   2  alpha         2.0009        .46128        .42239       -.38731E-04
   3  Normalizat    1.3564        .18828        .71028E-01   -.14277E-03
   4  Prefactor     .74535        .90445E-01    .43002E-01   -.26851E-03
                               ERR DEF=  .500    
Final values: 
  norm       = 2.77135
  alpha      = 2.00089
  Normalizat = 1.35637
  Prefactor  = 0.745348
 **********
 **   18 **HESSE 
 **********

 FCN=   9388.479     FROM HESSE     STATUS=OK            31 CALLS      232 TOTAL
                     EDM=   .72E-10    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  norm          2.7713        1.8380        .97247E-04   -1.5375    
   2  alpha         2.0009        .55109        .16694E-01   -.20100    
   3  Normalizat    1.3564        .21903        .31427E-03   -.81899    
   4  Prefactor     .74535        .10490        .19654E-03   -1.0178    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 7.22933e-11
Minuit parameter uncertainties:
  1  1.83803
  2  0.555844
  3  0.219179
  4  0.104924
shell-init: error retrieving current directory: getcwd: cannot access parent directories: No such file or directory
rmdir: failed to remove `/scratch/kocevski/9528': 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) = 9388.47877829
delta logL = 0.351189559598

Extracting fit parameters...

4FGL J1505.0+0326
   Spectrum: LogParabola
225         norm:  2.771e+00  1.838e+00  1.000e-04  1.000e+04 ( 1.000e-11)
226        alpha:  2.001e+00  5.558e-01  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:  7.453e-01  1.049e-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.356e+00  2.192e-01  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Free Index): 6.94
Ra Dec: 226.273 3.447
Photon Index (Free Index): 2.00 +/- 0.56
Photon Flux (Free Index): 4.32e-08 +/- 3.42e-08
Energy Flux (Free Index): 1.96e-05 +/- 1.35e-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/9528/cmap_HighResolution_273801601_274060801_4FGL_J1505.0+0326_daily_bin133.png

Cleaning up...

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

Updating database...

UPDATE lightcurve_data_v2 SET comment='SUCCESS', photon_flux='6.01e-08', energy_flux2='1.96e-05', photon_flux_error='3.60e-08', dlogl='3.51e-01', energy_flux='1.62e-05', photon_flux2='4.32e-08', job_status='DONE', time_completed='2021-09-10 22:05:44.660997', photon_index_error2='0.56', photon_index2='2.00', ts='6.25', fit_tolerance='1e-08', GAL='0.75', photon_index_error='0.00', energy_flux_error2='1.35e-05', EG='1.33', time_epoch_completed='1631336744.66', return_code='0', job_id='9528', GAL2='0.75', EG2='1.36', return_code2='0', energy_flux_error='9.74e-06', photon_flux_error2='3.42e-08', ts2='6.94', photon_index='2.49' WHERE bin_id='133' AND source_name='4FGL J1505.0+0326' AND cadence='daily';

Database successfully updated.


Analysis Complete.


Fri Sep 10 22:05:44 PDT 2021


------------------------------------------------------------
Sender: LSF System <lsf@bullet0088>
Subject: Job 9528: <4FGL_J1505.0+0326_daily_bin133> in cluster <slac> Done

Job <4FGL_J1505.0+0326_daily_bin133> was submitted from host <rhel6-64d> by user <kocevski> in cluster <slac> at Fri Sep 10 21:51:39 2021
Job was executed on host(s) <bullet0088>, in queue <medium>, as user <kocevski> in cluster <slac> at Fri Sep 10 21:51:40 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:51:40 2021
Terminated at Fri Sep 10 22:05:45 2021
Results reported at Fri Sep 10 22:05:45 2021

Your job looked like:

------------------------------------------------------------
# LSBATCH: User input
/nfs/farm/g/glast/g/LCRepository/Likelihood/Scripts/LikelihoodAnalysis.py 4FGL_J1505.0+0326_daily_bin133 226.273 3.4472 273801601 274060801 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 :                                   605.30 sec.
    Max Memory :                                 1256 MB
    Average Memory :                             221.59 MB
    Total Requested Memory :                     -
    Delta Memory :                               -
    Max Swap :                                   -
    Max Processes :                              5
    Max Threads :                                21
    Run time :                                   844 sec.
    Turnaround time :                            846 sec.

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

