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


Performing analysis on: 4FGL_J1534.8+0131_daily_bin349
RA = 233.725, Dec = 1.5224
tmin = 329788801, tmax = 330048001
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='550046', job_status='RUN', time_executed='2021-09-12 04:19:30.201079', time_epoch_executed='1631445570.2' WHERE source_name='4FGL J1534.8+0131' and cadence='daily' and bin_id='349'

Database successfully updated.
Done.

Creating custom output directory:
/scratch/kocevski/550046

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

Retrieving the FT1 file...

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

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

Retrieving 46 files...
Done.


Merging files...

Checksum keywords updated successfully.

Merged file saved to:
/scratch/kocevski/550046/ft1_4FGL_J1534.8+0131_daily_bin349.fits


Retrieving the FT1 file...

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

Retrieving 46 files...
Done.


Merging files...

Merged file saved to:
/scratch/kocevski/550046/ft2_4FGL_J1534.8+0131_daily_bin349.fits


Selecting the photons:
time -p gtselect infile=/scratch/kocevski/550046/ft1_4FGL_J1534.8+0131_daily_bin349.fits outfile=/scratch/kocevski/550046/ft1_filteredMKT_4FGL_J1534.8+0131_daily_bin349.fits ra=233.725 dec=1.5224 rad=12.0 tmin=329788801.0 tmax=330048001.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.50
user 3.29
sys 0.19

Adding sun position to ft2 file:
/nfs/farm/g/glast/g/LCRepository/Repository/bin/sunpos /scratch/kocevski/550046/ft2_4FGL_J1534.8+0131_daily_bin349.fits

Selecting the good time intervals:
time -p gtmktime scfile=/scratch/kocevski/550046/ft2_4FGL_J1534.8+0131_daily_bin349.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/550046/ft1_filteredMKT_4FGL_J1534.8+0131_daily_bin349.fits evtable="EVENTS" outfile="/scratch/kocevski/550046/ft1_filtered_4FGL_J1534.8+0131_daily_bin349.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.51
user 0.35
sys 0.16

Generating the livetime cube:
time -p gtltcube evfile="/scratch/kocevski/550046/ft1_filtered_4FGL_J1534.8+0131_daily_bin349.fits" evtable="EVENTS" scfile=/scratch/kocevski/550046/ft2_4FGL_J1534.8+0131_daily_bin349.fits sctable="SC_DATA" outfile=/scratch/kocevski/550046/ltcube_329788801_330048001_4FGL_J1534.8+0131_daily_bin349.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/550046/ft2_4FGL_J1534.8+0131_daily_bin349.fits
.....................!
real 13.66
user 13.30
sys 0.30

Generating the exposure map:
time -p gtexpmap evfile=/scratch/kocevski/550046/ft1_filtered_4FGL_J1534.8+0131_daily_bin349.fits evtable="EVENTS" scfile=/scratch/kocevski/550046/ft2_4FGL_J1534.8+0131_daily_bin349.fits sctable="SC_DATA" expcube=/scratch/kocevski/550046/ltcube_329788801_330048001_4FGL_J1534.8+0131_daily_bin349.fits outfile=/scratch/kocevski/550046/expmap_329788801_330048001_4FGL_J1534.8+0131_daily_bin349.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/550046/ltcube_329788801_330048001_4FGL_J1534.8+0131_daily_bin349.fits
.....................!
real 190.77
user 186.08
sys 4.34

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

Setting source of interest to:
4FGL J1534.8+0131 @ 233.725 1.5224

Creating the counts map:
time -p gtbin evfile=/scratch/kocevski/550046/ft1_filtered_4FGL_J1534.8+0131_daily_bin349.fits scfile=/scratch/kocevski/550046/ft2_4FGL_J1534.8+0131_daily_bin349.fits outfile=/scratch/kocevski/550046/cmap_329788801_330048001_4FGL_J1534.8+0131_daily_bin349.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=233.725 yref=1.5224 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.15

Creating the high resolution counts map:
time -p gtbin evfile=/scratch/kocevski/550046/ft1_filtered_4FGL_J1534.8+0131_daily_bin349.fits scfile=/scratch/kocevski/550046/ft2_4FGL_J1534.8+0131_daily_bin349.fits outfile=/scratch/kocevski/550046/cmap_HighResolution_329788801_330048001_4FGL_J1534.8+0131_daily_bin349.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=233.725 yref=1.5224 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.38
sys 0.17

Computing the diffuse response:
time -p gtdiffrsp evfile=/scratch/kocevski/550046/ft1_filtered_4FGL_J1534.8+0131_daily_bin349.fits evtable="EVENTS" scfile=/scratch/kocevski/550046/ft2_4FGL_J1534.8+0131_daily_bin349.fits sctable="SC_DATA" srcmdl=/scratch/kocevski/550046/Model_4FGL_J1534.8+0131_daily_bin349.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/550046/ft1_filtered_4FGL_J1534.8+0131_daily_bin349.fits....................!
real 88.12
user 86.65
sys 1.18

Creating the likelihood object...
obs = UnbinnedObs('/scratch/kocevski/550046/ft1_filtered_4FGL_J1534.8+0131_daily_bin349.fits', '/scratch/kocevski/550046/ft2_4FGL_J1534.8+0131_daily_bin349.fits', expMap='/scratch/kocevski/550046/expmap_329788801_330048001_4FGL_J1534.8+0131_daily_bin349.fits', expCube='/scratch/kocevski/550046/ltcube_329788801_330048001_4FGL_J1534.8+0131_daily_bin349.fits', irfs='P8R3_SOURCE_V2')
like = UnbinnedAnalysis(obs, '/scratch/kocevski/550046/Model_4FGL_J1534.8+0131_daily_bin349.xml', optimizer='MINUIT')

Using source of interest name: '4FGL J1534.8+0131'

4FGL J1534.8+0131
   Spectrum: PowerLaw
223    Prefactor:  2.180e+00  0.000e+00  1.000e-04  1.000e+04 ( 1.000e-12)
224        Index:  2.421e+00  0.000e+00  0.000e+00  1.000e+01 (-1.000e+00) fixed
225        Scale:  8.077e+02  0.000e+00  3.000e+01  5.000e+05 ( 1.000e+00) fixed


Likelihood Fit Parameters:
Event file(s): /scratch/kocevski/550046/ft1_filtered_4FGL_J1534.8+0131_daily_bin349.fits
Spacecraft file(s): /scratch/kocevski/550046/ft2_4FGL_J1534.8+0131_daily_bin349.fits
Exposure map: /scratch/kocevski/550046/expmap_329788801_330048001_4FGL_J1534.8+0131_daily_bin349.fits
Exposure cube: /scratch/kocevski/550046/ltcube_329788801_330048001_4FGL_J1534.8+0131_daily_bin349.fits
IRFs: P8R3_SOURCE_V2
Source model file: /scratch/kocevski/550046/Model_4FGL_J1534.8+0131_daily_bin349.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) = 10846.9951663

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

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

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'norm      '    1.5337       1.0000         .10000E-03   10000.    
     2 'norm      '    1.4560       1.0000         .10000E-03   10000.    
     3 'norm      '    .19639E-03   1.0000         .10000E-03   10000.    
     4 'norm      '    11.341       1.0000         .10000E-03   10000.    
     5 'norm      '    7.9481       1.0000         .10000E-03   10000.    
     6 'norm      '    .43676       1.0000         .10000E-03   10000.    
     7 'Prefactor '    .12059E-03   1.0000         .10000E-03   10000.    
     8 'Prefactor '    1.1291       1.0000         .10000E-03   10000.    
     9 'Prefactor '    .26506E-03   1.0000         .10000E-03   10000.    
    10 'Prefactor '    .23336E-03   1.0000         .10000E-03   10000.    
    11 'Prefactor '    64.264       1.0000         .10000E-03   10000.    
    12 'Prefactor '    3.5895       1.0000         .10000E-03   10000.    
    13 'norm      '    .19655E-02   1.0000         .10000E-03   10000.    
    14 'Prefactor '    .38708E-02   1.0000         .10000E-03   10000.    
    15 'norm      '    3.8559       1.0000         .10000E-03   10000.    
    16 'norm      '    .21888E-03   1.0000         .10000E-03   10000.    
    17 'Normalizat'    1.0807       1.0000         .10000E-01   10.000    
    18 'Prefactor '    1.0032       1.0000          .0000       10.000    
 **********
 **   15 **SET ERR    .5000    
 **********
 **********
 **   16 **SET GRAD    1.000    
 **********
 **********
 **   17 **MINIMIZE    .4970E+05   .2000E-04
 **********

 MIGRAD MINIMIZATION HAS CONVERGED.

 MIGRAD WILL VERIFY CONVERGENCE AND ERROR MATRIX.

 MIGRAD MINIMIZATION HAS CONVERGED.

 FCN=   10846.99     FROM MIGRAD    STATUS=CONVERGED    374 CALLS     1761 TOTAL
                     EDM=   .10E-08  STRATEGY=1  ERROR MATRIX UNCERTAINTY=  4.1%

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  norm          1.5335        .32955        .50663E-08   -.16667E-03
   2  norm          1.4551        1.7935        .34718E-06    .24201E-03
   3  norm          .10000E-03    2.5683        .46937E-07** at limit **
   4  norm          11.340        5.3702        .11186E-06    .64721E-04
   5  norm          7.9490        3.9325        .13453E-07    .26771E-03
   6  norm          .43673        .13560        .72131E-08    .19611E-06
   7  Prefactor     .10000E-03    11.603        .26810E-06** at limit **
   8  Prefactor     1.1186        3.4411        .25894E-05    .41609E-03
   9  Prefactor     .10000E-03    6.3523       -.27096E-07** at limit **
  10  Prefactor     .10000E-03    9.8797       -.11592E-06** at limit **
  11  Prefactor     64.266        52.474        .42249E-06    .35982E-04
  12  Prefactor     3.5762        3.6054        .18968E-06    .21768E-03
  13  norm          .10037E-03    2.7738       -.13518E-05** at limit **
  14  Prefactor     .10002E-03    38.655        .26940E-05** at limit **
  15  norm          3.8529        1.5570        .61787E-09    .18783E-04
  16  norm          .10000E-03    45.189       -.14041E-05** at limit **
  17  Normalizat    1.0810        .22296       -.82224E-06    .69773E-05
  18  Prefactor     1.0032        .83273E-01   -.18200E-06    .19249E-04
                               ERR DEF=  .500    
Final values: 
  norm       = 1.53353
  norm       = 1.45507
  norm       = 0.0001
  norm       = 11.3397
  norm       = 7.94899
  norm       = 0.436726
  Prefactor  = 0.0001
  Prefactor  = 1.11855
  Prefactor  = 0.0001
  Prefactor  = 0.0001
  Prefactor  = 64.2663
  Prefactor  = 3.57621
  norm       = 0.000100371
  Prefactor  = 0.000100018
  norm       = 3.85285
  norm       = 0.000100005
  Normalizat = 1.08099
  Prefactor  = 1.00325
 **********
 **   18 **HESSE 
 **********

 FCN=   10846.99     FROM HESSE     STATUS=OK           258 CALLS     2019 TOTAL
                     EDM=   .19E-08    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  norm          1.5335        .33043        .26650E-04   -1.5460    
   2  norm          1.4551        1.7768        .14679E-03   -1.5467    
   3  norm          .10000E-03    6.5115        .32533E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   4  norm          11.340        5.3660        .11896E-03   -1.5034    
   5  norm          7.9490        3.9281        .13948E-03   -1.5144    
   6  norm          .43673        .13475        .20028E-04   -1.5576    
   7  Prefactor     .10000E-03    11.619        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   8  Prefactor     1.1186        3.4737        .32455E-03   -1.5496    
   9  Prefactor     .10000E-03    6.3550        .21441E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  10  Prefactor     .10000E-03    9.8830        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  11  Prefactor     64.266        52.581        .50060E-04   -1.4103    
  12  Prefactor     3.5762        3.5851        .18786E-03   -1.5330    
  13  norm          .10037E-03    1.5512        .46496E-01   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  14  Prefactor     .10002E-03    39.495        .19535E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  15  norm          3.8529        1.5592        .80575E-04   -1.5315    
  16  norm          .10000E-03    45.410        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  17  Normalizat    1.0810        .25633        .42159E-03   -.90365    
  18  Prefactor     1.0032        .96490E-01    .16795E-03   -.92621    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 1.90057e-09
Minuit parameter uncertainties:
  1  0.330426
  2  1.77689
  3  7.78613e-07
  4  5.36622
  5  3.92827
  6  0.134753
  7  9.02932e-05
  8  3.47433
  9  2.8593e-06
  10  3.91256e-05
  11  52.6193
  12  3.58534
  13  0.00151752
  14  0.0016694
  15  1.55926
  16  0.000945085
  17  0.256629
  18  0.0965066
Done.

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

Extracting fit parameters...

4FGL J1534.8+0131
   Spectrum: PowerLaw
223    Prefactor:  1.119e+00  3.474e+00  1.000e-04  1.000e+04 ( 1.000e-12)
224        Index:  2.421e+00  0.000e+00  0.000e+00  1.000e+01 (-1.000e+00) fixed
225        Scale:  8.077e+02  0.000e+00  3.000e+01  5.000e+05 ( 1.000e+00) fixed

GAL_V02
   Spectrum: PowerLaw
494    Prefactor:  1.003e+00  9.651e-02  0.000e+00  1.000e+01 ( 1.000e+00)
495        Index:  0.000e+00  0.000e+00 -1.000e+00  1.000e+00 ( 1.000e+00) fixed
496        Scale:  1.000e+02  0.000e+00  5.000e+01  2.000e+02 ( 1.000e+00) fixed

EG_v02
   Spectrum: FileFunction
493   Normalization:  1.081e+00  2.566e-01  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Fixed Index): 0.12
Ra Dec: 233.725 1.522
Photon Flux Upper Limit: 1.05e-07 ph cm-2 s-1
Energy Flux Upper Limit: 8.16e-03 MeV cm-2 s-1

Saving results to:
/scratch/kocevski/550046/likelihoodResults_329788801_330048001_4FGL_J1534.8+0131_daily_bin349.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) = 10846.8825147
delta logL = 0.111817906462

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

MINUIT Return Code (Free Index): 0
logL (Free Index) = 10846.8617511
delta logL = 0.132581434316

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'Prefactor '    2.1767       1.0000         .10000E-03   10000.    
     2 'Index     '    1.8171       1.0000          .0000       10.000    
     3 'Normalizat'    1.0872       1.0000         .10000E-01   10.000    
     4 'Prefactor '    1.0002       1.0000          .0000       10.000    
 **********
 **   15 **SET ERR    .5000    
 **********
 **********
 **   16 **SET GRAD    1.000    
 **********
 **********
 **   17 **MINIMIZE    .4970E+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=   10846.86     FROM MIGRAD    STATUS=CONVERGED     99 CALLS      322 TOTAL
                     EDM=   .17E-09    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor     2.1793        4.0112        .13581E-02   -.43181E-03
   2  Index         1.8178        .88120        .16681E-01   -.17285E-04
   3  Normalizat    1.0877        .24533        .42039E-03   -.11304E-04
   4  Prefactor     1.0001        .95341E-01    .16817E-03   -.57868E-04
                               ERR DEF=  .500    
Final values: 
  Prefactor  = 2.17934
  Index      = 1.81781
  Normalizat = 1.08774
  Prefactor  = 1.00009
 **********
 **   18 **HESSE 
 **********

 FCN=   10846.86     FROM HESSE     STATUS=OK            27 CALLS      349 TOTAL
                     EDM=   .18E-09    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  Prefactor     2.1793        4.0676        .54325E-04   -1.5413    
   2  Index         1.8178        .89481        .66725E-03   -.68987    
   3  Normalizat    1.0877        .24549        .16816E-04   -.90146    
   4  Prefactor     1.0001        .95400E-01    .67267E-05   -.92727    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 1.81348e-10
Minuit parameter uncertainties:
  1  4.0681
  2  0.903037
  3  0.24575
  4  0.0954165
shell-init: error retrieving current directory: getcwd: cannot access parent directories: No such file or directory
rmdir: failed to remove `/scratch/kocevski/550046': 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) = 10846.8617473
delta logL = 0.132585259576

Extracting fit parameters...

4FGL J1534.8+0131
   Spectrum: PowerLaw
223    Prefactor:  2.179e+00  4.068e+00  1.000e-04  1.000e+04 ( 1.000e-12)
224        Index:  1.818e+00  9.030e-01  0.000e+00  1.000e+01 (-1.000e+00)
225        Scale:  8.077e+02  0.000e+00  3.000e+01  5.000e+05 ( 1.000e+00) fixed

GAL_V02
   Spectrum: PowerLaw
494    Prefactor:  1.000e+00  9.542e-02  0.000e+00  1.000e+01 ( 1.000e+00)
495        Index:  0.000e+00  0.000e+00 -1.000e+00  1.000e+00 ( 1.000e+00) fixed
496        Scale:  1.000e+02  0.000e+00  5.000e+01  2.000e+02 ( 1.000e+00) fixed

EG_v02
   Spectrum: FileFunction
493   Normalization:  1.088e+00  2.457e-01  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Free Index): 0.12
Ra Dec: 233.725 1.522

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/550046/cmap_HighResolution_329788801_330048001_4FGL_J1534.8+0131_daily_bin349.png

Cleaning up...

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

Updating database...

UPDATE lightcurve_data_v2 SET energy_flux_upper_limit='8.16e-03', job_status='DONE', photon_flux_upper_limit='1.05e-07', time_completed='2021-09-12 04:31:17.967327', job_id='550046', GAL2='1.00', fit_tolerance='1e-08', EG2='1.09', EG='1.08', time_epoch_completed='1631446277.97', return_code2='0', ts='0.12', comment='SUCCESS', return_code='0', GAL='1.00', dlogl='1.33e-01', ts2='0.38', photon_index_error='0.00', photon_index='2.42' WHERE bin_id='349' AND source_name='4FGL J1534.8+0131' AND cadence='daily';

Database successfully updated.


Analysis Complete.


Sun Sep 12 04:31:17 PDT 2021


------------------------------------------------------------
Sender: LSF System <lsf@bullet0107>
Subject: Job 550046: <4FGL_J1534.8+0131_daily_bin349> in cluster <slac> Done

Job <4FGL_J1534.8+0131_daily_bin349> was submitted from host <rhel6-64q> by user <kocevski> in cluster <slac> at Sun Sep 12 04:15:40 2021
Job was executed on host(s) <bullet0107>, in queue <medium>, as user <kocevski> in cluster <slac> at Sun Sep 12 04:16:18 2021
</u/ki/kocevski> was used as the home directory.
</u/ki/kocevski> was used as the working directory.
Started at Sun Sep 12 04:16:18 2021
Terminated at Sun Sep 12 04:31:18 2021
Results reported at Sun Sep 12 04:31:18 2021

Your job looked like:

------------------------------------------------------------
# LSBATCH: User input
/nfs/farm/g/glast/g/LCRepository/Likelihood/Scripts/LikelihoodAnalysis.py 4FGL_J1534.8+0131_daily_bin349 233.725 1.5224 329788801 330048001 irfs=P8R3_SOURCE_V2 zmax=90 ROI=12 association=4FGL_J1534.8+0131 fixedModel=True performFreeIndexFit=True freeVariableSources=True nuke=True repositoryJob=True verbose=False
------------------------------------------------------------

Successfully completed.

Resource usage summary:

    CPU time :                                   706.00 sec.
    Max Memory :                                 1093 MB
    Average Memory :                             287.14 MB
    Total Requested Memory :                     -
    Delta Memory :                               -
    Max Swap :                                   -
    Max Processes :                              7
    Max Threads :                                21
    Run time :                                   900 sec.
    Turnaround time :                            938 sec.

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

