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


Performing analysis on: 4FGL_J1505.0+0326_daily_bin630
RA = 226.273, Dec = 3.4472
tmin = 402624001, tmax = 402883201
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='13911', job_status='RUN', time_executed='2021-09-10 22:09:02.449924', time_epoch_executed='1631336942.45' WHERE source_name='4FGL J1505.0+0326' and cadence='daily' and bin_id='630'

Database successfully updated.
Done.

Creating custom output directory:
/scratch/kocevski/13911

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

Retrieving the FT1 file...

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

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

Retrieving 51 files...
Done.


Merging files...

Checksum keywords updated successfully.

Merged file saved to:
/scratch/kocevski/13911/ft1_4FGL_J1505.0+0326_daily_bin630.fits


Retrieving the FT1 file...

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

Retrieving 51 files...
Done.


Merging files...

Merged file saved to:
/scratch/kocevski/13911/ft2_4FGL_J1505.0+0326_daily_bin630.fits


Selecting the photons:
time -p gtselect infile=/scratch/kocevski/13911/ft1_4FGL_J1505.0+0326_daily_bin630.fits outfile=/scratch/kocevski/13911/ft1_filteredMKT_4FGL_J1505.0+0326_daily_bin630.fits ra=226.273 dec=3.4472 rad=12.0 tmin=402624001.0 tmax=402883201.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.38
sys 0.20

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

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

Generating the livetime cube:
time -p gtltcube evfile="/scratch/kocevski/13911/ft1_filtered_4FGL_J1505.0+0326_daily_bin630.fits" evtable="EVENTS" scfile=/scratch/kocevski/13911/ft2_4FGL_J1505.0+0326_daily_bin630.fits sctable="SC_DATA" outfile=/scratch/kocevski/13911/ltcube_402624001_402883201_4FGL_J1505.0+0326_daily_bin630.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/13911/ft2_4FGL_J1505.0+0326_daily_bin630.fits
.....................!
real 11.63
user 11.25
sys 0.32

Generating the exposure map:
time -p gtexpmap evfile=/scratch/kocevski/13911/ft1_filtered_4FGL_J1505.0+0326_daily_bin630.fits evtable="EVENTS" scfile=/scratch/kocevski/13911/ft2_4FGL_J1505.0+0326_daily_bin630.fits sctable="SC_DATA" expcube=/scratch/kocevski/13911/ltcube_402624001_402883201_4FGL_J1505.0+0326_daily_bin630.fits outfile=/scratch/kocevski/13911/expmap_402624001_402883201_4FGL_J1505.0+0326_daily_bin630.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/13911/ltcube_402624001_402883201_4FGL_J1505.0+0326_daily_bin630.fits
.....................!
real 191.64
user 186.45
sys 4.74

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/13911/ft1_filtered_4FGL_J1505.0+0326_daily_bin630.fits scfile=/scratch/kocevski/13911/ft2_4FGL_J1505.0+0326_daily_bin630.fits outfile=/scratch/kocevski/13911/cmap_402624001_402883201_4FGL_J1505.0+0326_daily_bin630.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.37
sys 0.15

Creating the high resolution counts map:
time -p gtbin evfile=/scratch/kocevski/13911/ft1_filtered_4FGL_J1505.0+0326_daily_bin630.fits scfile=/scratch/kocevski/13911/ft2_4FGL_J1505.0+0326_daily_bin630.fits outfile=/scratch/kocevski/13911/cmap_HighResolution_402624001_402883201_4FGL_J1505.0+0326_daily_bin630.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.60
user 0.40
sys 0.15

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

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

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

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

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'Prefactor '    .10009E-03   1.0000         .10000E-03   10000.    
     2 'norm      '    .10040E-03   1.0000         .10000E-03   10000.    
     3 'Prefactor '    14.949       1.0000         .10000E-03   10000.    
     4 'Prefactor '    .10124E-03   1.0000         .10000E-03   10000.    
     5 'norm      '    .10208E-03   1.0000         .10000E-03   10000.    
     6 'Prefactor '    .10486E-03   1.0000         .10000E-03   10000.    
     7 'Prefactor '    5.6914       1.0000         .10000E-03   10000.    
     8 'norm      '    .17218       1.0000         .10000E-03   10000.    
     9 'norm      '    .92234       1.0000         .10000E-03   10000.    
    10 'norm      '    .10003E-03   1.0000         .10000E-03   10000.    
    11 'norm      '    15.959       1.0000         .10000E-03   10000.    
    12 'norm      '    .10011E-03   1.0000         .10000E-03   10000.    
    13 'Prefactor '    .10568E-03   1.0000         .10000E-03   10000.    
    14 'Prefactor '    .47044       1.0000         .10000E-03   10000.    
    15 'Prefactor '    .10268E-03   1.0000         .10000E-03   10000.    
    16 'Prefactor '    2.9097       1.0000         .10000E-03   10000.    
    17 'norm      '    2.8996       1.0000         .10000E-03   10000.    
    18 'Normalizat'    1.3408       1.0000         .10000E-01   10.000    
    19 'Prefactor '    .87417       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=   9163.444     FROM MIGRAD    STATUS=CONVERGED    409 CALLS     1907 TOTAL
                     EDM=   .17E-08  STRATEGY=1  ERROR MATRIX UNCERTAINTY=   .5%

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor     .10000E-03    34.982        .56019E-05** at limit **
   2  norm          .10000E-03    34.647       -.58528E-05** at limit **
   3  Prefactor     14.704        80.841       -.59510E-05    .19092E-04
   4  Prefactor     .10000E-03    10.974        .78014E-06** at limit **
   5  norm          .10000E-03    5.9992       -.11982E-07** at limit **
   6  Prefactor     .10000E-03    19.772        .46499E-06** at limit **
   7  Prefactor     5.6950        15.041       -.14946E-04    .29552E-03
   8  norm          .17215        .11949        .17307E-07    .71750E-03
   9  norm          .92225        1.7216       -.56235E-06   -.17072E-02
  10  norm          .10000E-03    1.7482       -.30966E-07** at limit **
  11  norm          15.958        6.4368        .72478E-06   -.37281E-03
  12  norm          .10000E-03    1.7917       -.98334E-08** at limit **
  13  Prefactor     .10000E-03    10.753       -.24683E-05** at limit **
  14  Prefactor     .47137        1.2988       -.74407E-06   -.22206E-02
  15  Prefactor     .10000E-03    10.451        .13959E-05** at limit **
  16  Prefactor     2.9107        3.1470       -.16569E-06   -.46686E-03
  17  norm          2.8994        2.6851       -.34386E-07   -.30458E-04
  18  Normalizat    1.3414        .20169        .13923E-05    .10973E-03
  19  Prefactor     .87392        .96076E-01   -.64611E-07    .26336E-03
                               ERR DEF=  .500    
Final values: 
  Prefactor  = 0.000100001
  norm       = 0.000100001
  Prefactor  = 14.7044
  Prefactor  = 0.0001
  norm       = 0.0001
  Prefactor  = 0.0001
  Prefactor  = 5.695
  norm       = 0.172148
  norm       = 0.922251
  norm       = 0.0001
  norm       = 15.9578
  norm       = 0.0001
  Prefactor  = 0.0001
  Prefactor  = 0.471365
  Prefactor  = 0.0001
  Prefactor  = 2.91073
  norm       = 2.8994
  Normalizat = 1.34138
  Prefactor  = 0.873915
 **********
 **   18 **HESSE 
 **********

 FCN=   9163.444     FROM HESSE     STATUS=OK           270 CALLS     2177 TOTAL
                     EDM=   .23E-08    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  Prefactor     .10000E-03    35.032        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   2  norm          .10000E-03    34.951        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   3  Prefactor     14.704        81.531        .10359E-03   -1.4941    
   4  Prefactor     .10000E-03    10.982        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   5  norm          .10000E-03    6.0052        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   6  Prefactor     .10000E-03    20.006        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   7  Prefactor     5.6950        14.783        .16837E-03   -1.5231    
   8  norm          .17215        .11814        .26524E-04   -1.5625    
   9  norm          .92225        1.5921        .16286E-02   -1.5516    
  10  norm          .10000E-03    1.7493        .12361E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  11  norm          15.958        6.4106        .10026E-03   -1.4909    
  12  norm          .10000E-03    1.8481        .25011E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  13  Prefactor     .10000E-03    10.737        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  14  Prefactor     .47137        1.2170        .18184E-02   -1.5571    
  15  Prefactor     .10000E-03    10.478        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  16  Prefactor     2.9107        3.1400        .17031E-03   -1.5367    
  17  norm          2.8994        2.6840        .14689E-03   -1.5367    
  18  Normalizat    1.3414        .23323        .32285E-03   -.82340    
  19  Prefactor     .87392        .11279        .19173E-03   -.97059    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 2.33911e-09
Minuit parameter uncertainties:
  1  0.000329365
  2  0.000326434
  3  69.3948
  4  2.22037e-05
  5  7.82774e-07
  6  4.45442e-06
  7  14.7923
  8  0.118135
  9  1.59218
  10  2.38422e-07
  11  6.41087
  12  1.31674e-06
  13  7.36071e-05
  14  1.21705
  15  4.30446e-05
  16  3.1402
  17  2.68408
  18  0.233413
  19  0.112815
Done.

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

Extracting fit parameters...

4FGL J1505.0+0326
   Spectrum: LogParabola
225         norm:  9.223e-01  1.592e+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:  8.739e-01  1.128e-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.341e+00  2.334e-01  1.000e-02  1.000e+01 ( 1.000e+00)


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

Saving results to:
/scratch/kocevski/13911/likelihoodResults_402624001_402883201_4FGL_J1505.0+0326_daily_bin630.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) = 9163.44311342
delta logL = 0.00113075462468

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

MINUIT Return Code (Free Index): 0
logL (Free Index) = 9163.44165834
delta logL = 0.0025858421177

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'norm      '    .80013       1.0000         .10000E-03   10000.    
     2 'alpha     '    2.2238       1.0000          .0000       5.0000    
     3 'Normalizat'    1.3486       1.0000         .10000E-01   10.000    
     4 'Prefactor '    .87196       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.
 MACHINE ACCURACY LIMITS FURTHER IMPROVEMENT.

 MIGRAD MINIMIZATION HAS CONVERGED.

 MIGRAD WILL VERIFY CONVERGENCE AND ERROR MATRIX.

 FCN=   9163.442     FROM MIGRAD    STATUS=CONVERGED     94 CALLS      264 TOTAL
                     EDM=   .49E-08    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  norm          .79987        2.0741        .16595E-02    .10118E-02
   2  alpha         2.2239        3.5581        .51868E-01    .43378E-04
   3  Normalizat    1.3485        .23657        .32211E-03   -.49694E-04
   4  Prefactor     .87200        .11272        .19191E-03   -.14348E-03
                               ERR DEF=  .500    
Final values: 
  norm       = 0.799868
  alpha      = 2.22392
  Normalizat = 1.3485
  Prefactor  = 0.871998
 **********
 **   18 **HESSE 
 **********

 FCN=   9163.442     FROM HESSE     STATUS=OK            27 CALLS      291 TOTAL
                     EDM=   .78E-08    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  norm          .79987        2.2526        .66380E-04   -1.5529    
   2  alpha         2.2239        3.5906        .20747E-02   -.11066    
   3  Normalizat    1.3485        .23790        .12884E-04   -.82130    
   4  Prefactor     .87200        .11294        .76763E-05   -.97127    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 7.77093e-09
Minuit parameter uncertainties:
  1  2.25285
  2  3.16835
  3  0.238097
  4  0.112968
shell-init: error retrieving current directory: getcwd: cannot access parent directories: No such file or directory
rmdir: failed to remove `/scratch/kocevski/13911': 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) = 9163.44165824
delta logL = 0.00258593522267

Extracting fit parameters...

4FGL J1505.0+0326
   Spectrum: LogParabola
225         norm:  7.999e-01  2.253e+00  1.000e-04  1.000e+04 ( 1.000e-11)
226        alpha:  2.224e+00  3.168e+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:  8.720e-01  1.130e-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.349e+00  2.381e-01  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Free Index): 0.47
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/13911/cmap_HighResolution_402624001_402883201_4FGL_J1505.0+0326_daily_bin630.png

Cleaning up...

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

Updating database...

UPDATE lightcurve_data_v2 SET energy_flux_upper_limit='2.84e-05', job_status='DONE', photon_flux_upper_limit='1.05e-07', time_completed='2021-09-10 22:19:50.353459', job_id='13911', GAL2='0.87', fit_tolerance='1e-08', EG2='1.35', EG='1.34', time_epoch_completed='1631337590.35', return_code2='0', ts='0.47', comment='SUCCESS', return_code='0', GAL='0.87', dlogl='2.59e-03', ts2='0.46', photon_index_error='0.00', photon_index='2.49' WHERE bin_id='630' AND source_name='4FGL J1505.0+0326' AND cadence='daily';

Database successfully updated.


Analysis Complete.


Fri Sep 10 22:19:50 PDT 2021


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

Job <4FGL_J1505.0+0326_daily_bin630> was submitted from host <rhel6-64l> by user <kocevski> in cluster <slac> at Fri Sep 10 22:06:06 2021
Job was executed on host(s) <bullet0072>, in queue <medium>, as user <kocevski> in cluster <slac> at Fri Sep 10 22:06:08 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:06:08 2021
Terminated at Fri Sep 10 22:19:51 2021
Results reported at Fri Sep 10 22:19:51 2021

Your job looked like:

------------------------------------------------------------
# LSBATCH: User input
/nfs/farm/g/glast/g/LCRepository/Likelihood/Scripts/LikelihoodAnalysis.py 4FGL_J1505.0+0326_daily_bin630 226.273 3.4472 402624001 402883201 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 :                                   645.23 sec.
    Max Memory :                                 1256 MB
    Average Memory :                             322.52 MB
    Total Requested Memory :                     -
    Delta Memory :                               -
    Max Swap :                                   -
    Max Processes :                              5
    Max Threads :                                21
    Run time :                                   822 sec.
    Turnaround time :                            825 sec.

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

