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


Performing analysis on: 4FGL_J1505.0+0326_daily_bin455
RA = 226.273, Dec = 3.4472
tmin = 357264001, tmax = 357523201
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='12263', job_status='RUN', time_executed='2021-09-10 22:03:50.356196', time_epoch_executed='1631336630.36' WHERE source_name='4FGL J1505.0+0326' and cadence='daily' and bin_id='455'

Database successfully updated.
Done.

Creating custom output directory:
/scratch/kocevski/12263

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

Retrieving the FT1 file...

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

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

Retrieving 47 files...
Done.


Merging files...

Checksum keywords updated successfully.

Merged file saved to:
/scratch/kocevski/12263/ft1_4FGL_J1505.0+0326_daily_bin455.fits


Retrieving the FT1 file...

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

Retrieving 47 files...
Done.


Merging files...

Merged file saved to:
/scratch/kocevski/12263/ft2_4FGL_J1505.0+0326_daily_bin455.fits


Selecting the photons:
time -p gtselect infile=/scratch/kocevski/12263/ft1_4FGL_J1505.0+0326_daily_bin455.fits outfile=/scratch/kocevski/12263/ft1_filteredMKT_4FGL_J1505.0+0326_daily_bin455.fits ra=226.273 dec=3.4472 rad=12.0 tmin=357264001.0 tmax=357523201.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.63
user 3.41
sys 0.20

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

Selecting the good time intervals:
time -p gtmktime scfile=/scratch/kocevski/12263/ft2_4FGL_J1505.0+0326_daily_bin455.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/12263/ft1_filteredMKT_4FGL_J1505.0+0326_daily_bin455.fits evtable="EVENTS" outfile="/scratch/kocevski/12263/ft1_filtered_4FGL_J1505.0+0326_daily_bin455.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.53
user 0.32
sys 0.15

Generating the livetime cube:
time -p gtltcube evfile="/scratch/kocevski/12263/ft1_filtered_4FGL_J1505.0+0326_daily_bin455.fits" evtable="EVENTS" scfile=/scratch/kocevski/12263/ft2_4FGL_J1505.0+0326_daily_bin455.fits sctable="SC_DATA" outfile=/scratch/kocevski/12263/ltcube_357264001_357523201_4FGL_J1505.0+0326_daily_bin455.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/12263/ft2_4FGL_J1505.0+0326_daily_bin455.fits
.....................!
real 12.38
user 12.01
sys 0.33

Generating the exposure map:
time -p gtexpmap evfile=/scratch/kocevski/12263/ft1_filtered_4FGL_J1505.0+0326_daily_bin455.fits evtable="EVENTS" scfile=/scratch/kocevski/12263/ft2_4FGL_J1505.0+0326_daily_bin455.fits sctable="SC_DATA" expcube=/scratch/kocevski/12263/ltcube_357264001_357523201_4FGL_J1505.0+0326_daily_bin455.fits outfile=/scratch/kocevski/12263/expmap_357264001_357523201_4FGL_J1505.0+0326_daily_bin455.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/12263/ltcube_357264001_357523201_4FGL_J1505.0+0326_daily_bin455.fits
.....................!
real 192.72
user 187.55
sys 4.66

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/12263/ft1_filtered_4FGL_J1505.0+0326_daily_bin455.fits scfile=/scratch/kocevski/12263/ft2_4FGL_J1505.0+0326_daily_bin455.fits outfile=/scratch/kocevski/12263/cmap_357264001_357523201_4FGL_J1505.0+0326_daily_bin455.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.15

Creating the high resolution counts map:
time -p gtbin evfile=/scratch/kocevski/12263/ft1_filtered_4FGL_J1505.0+0326_daily_bin455.fits scfile=/scratch/kocevski/12263/ft2_4FGL_J1505.0+0326_daily_bin455.fits outfile=/scratch/kocevski/12263/cmap_HighResolution_357264001_357523201_4FGL_J1505.0+0326_daily_bin455.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.37
sys 0.16

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

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

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

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

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'Prefactor '    26.044       1.0000         .10000E-03   10000.    
     2 'norm      '    .10268E-03   1.0000         .10000E-03   10000.    
     3 'Prefactor '    6.2988       1.0000         .10000E-03   10000.    
     4 'Prefactor '    .10006E-03   1.0000         .10000E-03   10000.    
     5 'norm      '    43.568       1.0000         .10000E-03   10000.    
     6 'Prefactor '    11.926       1.0000         .10000E-03   10000.    
     7 'Prefactor '    15.694       1.0000         .10000E-03   10000.    
     8 'norm      '    .40024E-02   1.0000         .10000E-03   10000.    
     9 'norm      '    .34010       1.0000         .10000E-03   10000.    
    10 'norm      '    .10000E-03   1.0000         .10000E-03   10000.    
    11 'norm      '    2.6464       1.0000         .10000E-03   10000.    
    12 'norm      '    .10000E-03   1.0000         .10000E-03   10000.    
    13 'Prefactor '    14.128       1.0000         .10000E-03   10000.    
    14 'Prefactor '    4.8578       1.0000         .10000E-03   10000.    
    15 'Prefactor '    .10043E-03   1.0000         .10000E-03   10000.    
    16 'Prefactor '    .28929E-02   1.0000         .10000E-03   10000.    
    17 'norm      '    .10002E-03   1.0000         .10000E-03   10000.    
    18 'Normalizat'    1.1879       1.0000         .10000E-01   10.000    
    19 'Prefactor '    .99944       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=   9413.717     FROM MIGRAD    STATUS=CONVERGED    407 CALLS     2011 TOTAL
                     EDM=   .74E-09  STRATEGY=1  ERROR MATRIX UNCERTAINTY=  6.0%

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor     26.063        29.536        .19288E-05    .19185E-04
   2  norm          .10000E-03    15.161        .26682E-06** at limit **
   3  Prefactor     6.2009        103.09       -.62446E-05   -.33858E-04
   4  Prefactor     .10000E-03    37.789        .29338E-05** at limit **
   5  norm          43.552        23.226        .34510E-07   -.25146E-03
   6  Prefactor     11.929        18.004        .56269E-06   -.89906E-04
   7  Prefactor     15.674        14.905        .39708E-06   -.48477E-04
   8  norm          .41628E-02    .10014       -.12990E-06   -.12412E-02
   9  norm          .34013        1.2807       -.72101E-06   -.76209E-03
  10  norm          .10000E-03    2.0504        .46883E-07** at limit **
  11  norm          2.6463        2.6608       -.33122E-07   -.60856E-04
  12  norm          .10000E-03    1.5874       -.52717E-06** at limit **
  13  Prefactor     14.144        25.176        .18391E-07   -.32333E-04
  14  Prefactor     4.8574        3.5043       -.18338E-06   -.35499E-03
  15  Prefactor     .10000E-03    7.5750        .97611E-07** at limit **
  16  Prefactor     .10000E-03    35.623       -.11341E-04** at limit **
  17  norm          .10000E-03    1.3204        .10377E-06** at limit **
  18  Normalizat    1.1878        .22963       -.73451E-05   -.40268E-03
  19  Prefactor     .99950        .10820        .23515E-05   -.13808E-02
                               ERR DEF=  .500    
Final values: 
  Prefactor  = 26.0629
  norm       = 0.0001
  Prefactor  = 6.20094
  Prefactor  = 0.000100003
  norm       = 43.5523
  Prefactor  = 11.9294
  Prefactor  = 15.674
  norm       = 0.00416278
  norm       = 0.340133
  norm       = 0.0001
  norm       = 2.64626
  norm       = 0.0001
  Prefactor  = 14.1444
  Prefactor  = 4.85744
  Prefactor  = 0.0001
  Prefactor  = 0.000100004
  norm       = 0.0001
  Normalizat = 1.18776
  Prefactor  = 0.999504
 **********
 **   18 **HESSE 
 **********

 FCN=   9413.717     FROM HESSE     STATUS=OK           272 CALLS     2283 TOTAL
                     EDM=   .16E-08    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  Prefactor     26.063        29.550        .78497E-04   -1.4686    
   2  norm          .10000E-03    15.225        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   3  Prefactor     6.2009        105.07        .15994E-03   -1.5210    
   4  Prefactor     .10000E-03    38.193        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   5  norm          43.552        23.250        .60737E-04   -1.4387    
   6  Prefactor     11.929        17.993        .11600E-03   -1.5017    
   7  Prefactor     15.674        14.899        .10110E-03   -1.4916    
   8  norm          .41628E-02    .84478        .53453E-03   -1.5695    
   9  norm          .34013        1.2970        .20817E-03   -1.5591    
  10  norm          .10000E-03    2.0540        .13568E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  11  norm          2.6463        2.6598        .15375E-03   -1.5383    
  12  norm          .10000E-03    1.6057        .11914E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  13  Prefactor     14.144        25.173        .10656E-03   -1.4956    
  14  Prefactor     4.8574        3.4858        .14721E-03   -1.5267    
  15  Prefactor     .10000E-03    7.5876        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  16  Prefactor     .10000E-03    35.201        .24218E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  17  norm          .10000E-03    1.3299        .10890E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  18  Normalizat    1.1878        .23781        .33807E-03   -.86982    
  19  Prefactor     .99950        .11350        .18244E-03   -.92746    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 1.60941e-09
Minuit parameter uncertainties:
  1  29.5666
  2  2.34543e-05
  3  51.1564
  4  0.000674674
  5  23.2545
  6  18.0014
  7  14.9026
  8  0.117171
  9  1.29709
  10  2.06997e-06
  11  2.65995
  12  7.11225e-06
  13  25.1917
  14  3.48592
  15  8.59799e-06
  16  0.000707185
  17  3.64976e-06
  18  0.238022
  19  0.113523
Done.

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

Extracting fit parameters...

4FGL J1505.0+0326
   Spectrum: LogParabola
225         norm:  3.401e-01  1.297e+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:  9.995e-01  1.135e-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.188e+00  2.380e-01  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Fixed Index): 0.08
Ra Dec: 226.273 3.447
Photon Flux Upper Limit: 8.47e-08 ph cm-2 s-1
Energy Flux Upper Limit: 2.29e-05 MeV cm-2 s-1

Saving results to:
/scratch/kocevski/12263/likelihoodResults_357264001_357523201_4FGL_J1505.0+0326_daily_bin455.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) = 9413.60118443
delta logL = 0.115528597496

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

MINUIT Return Code (Free Index): 0
logL (Free Index) = 9413.59446683
delta logL = 0.122246194947

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'norm      '    .43866       1.0000         .10000E-03   10000.    
     2 'alpha     '    1.5350       1.0000          .0000       5.0000    
     3 'Normalizat'    1.1947       1.0000         .10000E-01   10.000    
     4 'Prefactor '    .99577       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=   9413.594     FROM MIGRAD    STATUS=CONVERGED     53 CALLS      221 TOTAL
                     EDM=   .12E-08    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  norm          .43842        1.0714        .30597E-01    .21335E-02
   2  alpha         1.5357        .84427        .45916       -.62073E-04
   3  Normalizat    1.1946        .19041        .76187E-01    .32640E-03
   4  Prefactor     .99578        .95604E-01    .46214E-01    .64300E-03
                               ERR DEF=  .500    
Final values: 
  norm       = 0.438417
  alpha      = 1.53568
  Normalizat = 1.19465
  Prefactor  = 0.99578
 **********
 **   18 **HESSE 
 **********

 FCN=   9413.594     FROM HESSE     STATUS=OK            33 CALLS      254 TOTAL
                     EDM=   .18E-07    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  norm          .43842        1.0513        .14156E-02   -1.5576    
   2  alpha         1.5357        1.2995        .33018E-01   -.39599    
   3  Normalizat    1.1946        .22296        .33720E-03   -.86768    
   4  Prefactor     .99578        .11229        .18272E-03   -.92870    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 1.76317e-08
Minuit parameter uncertainties:
  1  1.05136
  2  1.38044
  3  0.223142
  4  0.112315
shell-init: error retrieving current directory: getcwd: cannot access parent directories: No such file or directory
rmdir: failed to remove `/scratch/kocevski/12263': 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) = 9413.59446652
delta logL = 0.122246500547

Extracting fit parameters...

4FGL J1505.0+0326
   Spectrum: LogParabola
225         norm:  4.384e-01  1.051e+00  1.000e-04  1.000e+04 ( 1.000e-11)
226        alpha:  1.536e+00  1.380e+00  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:  9.958e-01  1.123e-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.195e+00  2.231e-01  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Free Index): 0.08
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/12263/cmap_HighResolution_357264001_357523201_4FGL_J1505.0+0326_daily_bin455.png

Cleaning up...

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

Updating database...

UPDATE lightcurve_data_v2 SET energy_flux_upper_limit='2.29e-05', job_status='DONE', photon_flux_upper_limit='8.47e-08', time_completed='2021-09-10 22:15:04.400798', job_id='12263', GAL2='1.00', fit_tolerance='1e-08', EG2='1.19', EG='1.19', time_epoch_completed='1631337304.4', return_code2='0', ts='0.08', comment='SUCCESS', return_code='0', GAL='1.00', dlogl='1.22e-01', ts2='0.33', photon_index_error='0.00', photon_index='2.49' WHERE bin_id='455' AND source_name='4FGL J1505.0+0326' AND cadence='daily';

Database successfully updated.


Analysis Complete.


Fri Sep 10 22:15:04 PDT 2021


------------------------------------------------------------
Sender: LSF System <lsf@bullet0110>
Subject: Job 12263: <4FGL_J1505.0+0326_daily_bin455> in cluster <slac> Done

Job <4FGL_J1505.0+0326_daily_bin455> was submitted from host <rhel6-64m> by user <kocevski> in cluster <slac> at Fri Sep 10 22:01:21 2021
Job was executed on host(s) <bullet0110>, in queue <medium>, as user <kocevski> in cluster <slac> at Fri Sep 10 22:01:23 2021
</u/ki/kocevski> was used as the home directory.
</u/ki/kocevski> was used as the working directory.
Started at Fri Sep 10 22:01:23 2021
Terminated at Fri Sep 10 22:15:05 2021
Results reported at Fri Sep 10 22:15:05 2021

Your job looked like:

------------------------------------------------------------
# LSBATCH: User input
/nfs/farm/g/glast/g/LCRepository/Likelihood/Scripts/LikelihoodAnalysis.py 4FGL_J1505.0+0326_daily_bin455 226.273 3.4472 357264001 357523201 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 :                                   672.00 sec.
    Max Memory :                                 1094 MB
    Average Memory :                             265.62 MB
    Total Requested Memory :                     -
    Delta Memory :                               -
    Max Swap :                                   -
    Max Processes :                              5
    Max Threads :                                21
    Run time :                                   821 sec.
    Turnaround time :                            824 sec.

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

