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


Performing analysis on: 4FGL_J1534.8+0131_daily_bin130
RA = 233.725, Dec = 1.5224
tmin = 273024001, tmax = 273283201
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='549726', job_status='RUN', time_executed='2021-09-12 04:17:34.885623', time_epoch_executed='1631445454.89' WHERE source_name='4FGL J1534.8+0131' and cadence='daily' and bin_id='130'

Database successfully updated.
Done.

Creating custom output directory:
/scratch/kocevski/549726

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

Retrieving the FT1 file...

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

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

Retrieving 48 files...
Done.


Merging files...

Checksum keywords updated successfully.

Merged file saved to:
/scratch/kocevski/549726/ft1_4FGL_J1534.8+0131_daily_bin130.fits


Retrieving the FT1 file...

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

Retrieving 48 files...
Done.


Merging files...

Merged file saved to:
/scratch/kocevski/549726/ft2_4FGL_J1534.8+0131_daily_bin130.fits


Selecting the photons:
time -p gtselect infile=/scratch/kocevski/549726/ft1_4FGL_J1534.8+0131_daily_bin130.fits outfile=/scratch/kocevski/549726/ft1_filteredMKT_4FGL_J1534.8+0131_daily_bin130.fits ra=233.725 dec=1.5224 rad=12.0 tmin=273024001.0 tmax=273283201.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 2.90
user 2.72
sys 0.16

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

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

Generating the livetime cube:
time -p gtltcube evfile="/scratch/kocevski/549726/ft1_filtered_4FGL_J1534.8+0131_daily_bin130.fits" evtable="EVENTS" scfile=/scratch/kocevski/549726/ft2_4FGL_J1534.8+0131_daily_bin130.fits sctable="SC_DATA" outfile=/scratch/kocevski/549726/ltcube_273024001_273283201_4FGL_J1534.8+0131_daily_bin130.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/549726/ft2_4FGL_J1534.8+0131_daily_bin130.fits
.....................!
real 12.48
user 12.12
sys 0.33

Generating the exposure map:
time -p gtexpmap evfile=/scratch/kocevski/549726/ft1_filtered_4FGL_J1534.8+0131_daily_bin130.fits evtable="EVENTS" scfile=/scratch/kocevski/549726/ft2_4FGL_J1534.8+0131_daily_bin130.fits sctable="SC_DATA" expcube=/scratch/kocevski/549726/ltcube_273024001_273283201_4FGL_J1534.8+0131_daily_bin130.fits outfile=/scratch/kocevski/549726/expmap_273024001_273283201_4FGL_J1534.8+0131_daily_bin130.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/549726/ltcube_273024001_273283201_4FGL_J1534.8+0131_daily_bin130.fits
.....................!
real 191.83
user 187.25
sys 4.09

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/549726/ft1_filtered_4FGL_J1534.8+0131_daily_bin130.fits scfile=/scratch/kocevski/549726/ft2_4FGL_J1534.8+0131_daily_bin130.fits outfile=/scratch/kocevski/549726/cmap_273024001_273283201_4FGL_J1534.8+0131_daily_bin130.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.56
user 0.38
sys 0.14

Creating the high resolution counts map:
time -p gtbin evfile=/scratch/kocevski/549726/ft1_filtered_4FGL_J1534.8+0131_daily_bin130.fits scfile=/scratch/kocevski/549726/ft2_4FGL_J1534.8+0131_daily_bin130.fits outfile=/scratch/kocevski/549726/cmap_HighResolution_273024001_273283201_4FGL_J1534.8+0131_daily_bin130.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.59
user 0.38
sys 0.16

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

Creating the likelihood object...
obs = UnbinnedObs('/scratch/kocevski/549726/ft1_filtered_4FGL_J1534.8+0131_daily_bin130.fits', '/scratch/kocevski/549726/ft2_4FGL_J1534.8+0131_daily_bin130.fits', expMap='/scratch/kocevski/549726/expmap_273024001_273283201_4FGL_J1534.8+0131_daily_bin130.fits', expCube='/scratch/kocevski/549726/ltcube_273024001_273283201_4FGL_J1534.8+0131_daily_bin130.fits', irfs='P8R3_SOURCE_V2')
like = UnbinnedAnalysis(obs, '/scratch/kocevski/549726/Model_4FGL_J1534.8+0131_daily_bin130.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/549726/ft1_filtered_4FGL_J1534.8+0131_daily_bin130.fits
Spacecraft file(s): /scratch/kocevski/549726/ft2_4FGL_J1534.8+0131_daily_bin130.fits
Exposure map: /scratch/kocevski/549726/expmap_273024001_273283201_4FGL_J1534.8+0131_daily_bin130.fits
Exposure cube: /scratch/kocevski/549726/ltcube_273024001_273283201_4FGL_J1534.8+0131_daily_bin130.fits
IRFs: P8R3_SOURCE_V2
Source model file: /scratch/kocevski/549726/Model_4FGL_J1534.8+0131_daily_bin130.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) = 14314.0614726

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

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

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'norm      '    1.8375       1.0000         .10000E-03   10000.    
     2 'norm      '    .10001E-03   1.0000         .10000E-03   10000.    
     3 'norm      '    .10000E-03   1.0000         .10000E-03   10000.    
     4 'norm      '    5.8117       1.0000         .10000E-03   10000.    
     5 'norm      '    2.9695       1.0000         .10000E-03   10000.    
     6 'norm      '    .79990       1.0000         .10000E-03   10000.    
     7 'Prefactor '    .10000E-03   1.0000         .10000E-03   10000.    
     8 'Prefactor '    2.7984       1.0000         .10000E-03   10000.    
     9 'Prefactor '    .10001E-03   1.0000         .10000E-03   10000.    
    10 'Prefactor '    .10000E-03   1.0000         .10000E-03   10000.    
    11 'Prefactor '    .10021E-03   1.0000         .10000E-03   10000.    
    12 'Prefactor '    17.908       1.0000         .10000E-03   10000.    
    13 'norm      '    1.3333       1.0000         .10000E-03   10000.    
    14 'Prefactor '    .10465E-03   1.0000         .10000E-03   10000.    
    15 'norm      '    2.5751       1.0000         .10000E-03   10000.    
    16 'norm      '    .10000E-03   1.0000         .10000E-03   10000.    
    17 'Normalizat'    .96210       1.0000         .10000E-01   10.000    
    18 'Prefactor '    1.1790       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=   14314.03     FROM MIGRAD    STATUS=CONVERGED    377 CALLS     1520 TOTAL
                     EDM=   .15E-08  STRATEGY=1  ERROR MATRIX UNCERTAINTY=   .8%

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  norm          1.8375        .30845        .45173E-08    .12598E-03
   2  norm          .10000E-03    .57504        .11562E-08** at limit **
   3  norm          .10000E-03    2.0388        .39675E-07** at limit **
   4  norm          5.8121        4.3559        .57214E-06    .14864E-05
   5  norm          2.9697        2.7350        .15154E-07   -.93308E-04
   6  norm          .79991        .15131       -.68569E-08    .12415E-03
   7  Prefactor     .10000E-03    12.887       -.24079E-05** at limit **
   8  Prefactor     2.7981        1.4750        .59158E-06   -.63071E-02
   9  Prefactor     .10000E-03    4.9409       -.23030E-07** at limit **
  10  Prefactor     .10000E-03    13.989        .39541E-05** at limit **
  11  Prefactor     .10000E-03    21.886       -.15672E-04** at limit **
  12  Prefactor     17.908        4.5950       -.59929E-06   -.34518E-03
  13  norm          1.3321        2.6574        .18497E-06   -.39407E-03
  14  Prefactor     .10000E-03    108.89       -.51368E-05** at limit **
  15  norm          2.5745        1.4482       -.23319E-07    .11530E-04
  16  norm          .10000E-03    23.767        .14996E-04** at limit **
  17  Normalizat    .96206        .21477        .24720E-07    .44856E-05
  18  Prefactor     1.1790        .82788E-01   -.45950E-07    .72407E-04
                               ERR DEF=  .500    
Final values: 
  norm       = 1.83745
  norm       = 0.0001
  norm       = 0.0001
  norm       = 5.81208
  norm       = 2.96969
  norm       = 0.799907
  Prefactor  = 0.0001
  Prefactor  = 2.79814
  Prefactor  = 0.0001
  Prefactor  = 0.0001
  Prefactor  = 0.000100002
  Prefactor  = 17.9081
  norm       = 1.33211
  Prefactor  = 0.0001
  norm       = 2.57451
  norm       = 0.000100002
  Normalizat = 0.962059
  Prefactor  = 1.17903
 **********
 **   18 **HESSE 
 **********

 FCN=   14314.03     FROM HESSE     STATUS=OK           248 CALLS     1768 TOTAL
                     EDM=   .13E-07    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  norm          1.8375        .30935        .26231E-04   -1.5437    
   2  norm          .10000E-03    1.0537        .17511E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   3  norm          .10000E-03    2.0478        .16683E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   4  norm          5.8121        4.3516        .16660E-03   -1.5226    
   5  norm          2.9697        2.7225        .18359E-03   -1.5363    
   6  norm          .79991        .15123        .19291E-04   -1.5529    
   7  Prefactor     .10000E-03    12.907        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   8  Prefactor     2.7981        3.0199        .10393E-02   -1.5373    
   9  Prefactor     .10000E-03    4.9423        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  10  Prefactor     .10000E-03    14.011        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  11  Prefactor     .10000E-03    22.068        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  12  Prefactor     17.908        4.5928        .94646E-04   -1.4861    
  13  norm          1.3321        2.6317        .26515E-03   -1.5477    
  14  Prefactor     .10000E-03    109.32        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  15  norm          2.5745        1.4507        .10497E-03   -1.5387    
  16  norm          .10000E-03    23.930        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  17  Normalizat    .96206        .23655        .47877E-03   -.94313    
  18  Prefactor     1.1790        .91985E-01    .17272E-03   -.86979    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 1.30796e-08
Minuit parameter uncertainties:
  1  0.309348
  2  1.09901e-06
  3  2.20271e-07
  4  4.35183
  5  2.72265
  6  0.151234
  7  5.51075e-05
  8  3.02004
  9  1.64644e-06
  10  9.60596e-05
  11  0.000440738
  12  4.5929
  13  2.63195
  14  0.000305805
  15  1.45076
  16  0.000479025
  17  0.236804
  18  0.091997
Done.

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

Extracting fit parameters...

4FGL J1534.8+0131
   Spectrum: PowerLaw
223    Prefactor:  2.798e+00  3.020e+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.179e+00  9.200e-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:  9.621e-01  2.368e-01  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Fixed Index): 1.18
Ra Dec: 233.725 1.522
Photon Index (Fixed Index): 2.42 +/- 0.00
Photon Flux (Fixed Index): 3.10e-08 +/- 3.34e-08
Energy Flux (Fixed Index): 9.88e-06 +/- 1.07e-05

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

Saving results to:
/scratch/kocevski/549726/likelihoodResults_273024001_273283201_4FGL_J1534.8+0131_daily_bin130.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) = 14313.9571381
delta logL = 0.0740196563875

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

MINUIT Return Code (Free Index): 0
logL (Free Index) = 14313.9555192
delta logL = 0.0756385553177

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'Prefactor '    3.2588       1.0000         .10000E-03   10000.    
     2 'Index     '    2.1376       1.0000          .0000       10.000    
     3 'Normalizat'    .97009       1.0000         .10000E-01   10.000    
     4 'Prefactor '    1.1770       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.

 MIGRAD WILL VERIFY CONVERGENCE AND ERROR MATRIX.

 FCN=   14313.96     FROM MIGRAD    STATUS=CONVERGED     94 CALLS      289 TOTAL
                     EDM=   .27E-10    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor     3.2586        3.4545        .21978E-03   -.39416E-04
   2  Index         2.1374        .69007        .14392E-01    .36084E-05
   3  Normalizat    .97012        .23120        .47698E-03   -.11665E-03
   4  Prefactor     1.1770        .91728E-01    .17284E-03   -.21401E-03
                               ERR DEF=  .500    
Final values: 
  Prefactor  = 3.25859
  Index      = 2.1374
  Normalizat = 0.970119
  Prefactor  = 1.17701
 **********
 **   18 **HESSE 
 **********

 FCN=   14313.96     FROM HESSE     STATUS=OK            25 CALLS      314 TOTAL
                     EDM=   .26E-10    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  Prefactor     3.2586        3.4293        .87912E-05   -1.5347    
   2  Index         2.1374        .68534        .57569E-03   -.60958    
   3  Normalizat    .97012        .23127        .19079E-04   -.94038    
   4  Prefactor     1.1770        .91755E-01    .34568E-04   -.87042    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 2.60884e-11
Minuit parameter uncertainties:
  1  3.42953
  2  0.688568
  3  0.231506
  4  0.0917678
shell-init: error retrieving current directory: getcwd: cannot access parent directories: No such file or directory
rmdir: failed to remove `/scratch/kocevski/549726': 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) = 14313.9555191
delta logL = 0.0756386001667

Extracting fit parameters...

4FGL J1534.8+0131
   Spectrum: PowerLaw
223    Prefactor:  3.259e+00  3.430e+00  1.000e-04  1.000e+04 ( 1.000e-12)
224        Index:  2.137e+00  6.886e-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.177e+00  9.177e-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:  9.701e-01  2.315e-01  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Free Index): 1.32
Ra Dec: 233.725 1.522
Photon Index (Free Index): 2.14 +/- 0.69
Photon Flux (Free Index): 2.49e-08 +/- 3.22e-08
Energy Flux (Free Index): 1.26e-05 +/- 1.56e-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/549726/cmap_HighResolution_273024001_273283201_4FGL_J1534.8+0131_daily_bin130.png

Cleaning up...

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

Updating database...

UPDATE lightcurve_data_v2 SET energy_flux_upper_limit='8.23e-03', comment='SUCCESS', photon_flux='3.10e-08', energy_flux2='1.26e-05', photon_flux_error='3.34e-08', dlogl='7.56e-02', energy_flux='9.88e-06', photon_flux2='2.49e-08', job_status='DONE', time_completed='2021-09-12 04:30:51.148982', photon_index_error2='0.69', photon_index2='2.14', ts='1.18', fit_tolerance='1e-08', GAL='1.18', photon_index_error='0.00', photon_flux_upper_limit='1.06e-07', energy_flux_error2='1.56e-05', EG='0.96', time_epoch_completed='1631446251.15', return_code='0', job_id='549726', GAL2='1.18', EG2='0.97', return_code2='0', energy_flux_error='1.07e-05', photon_flux_error2='3.22e-08', ts2='1.32', photon_index='2.42' WHERE bin_id='130' AND source_name='4FGL J1534.8+0131' AND cadence='daily';

Database successfully updated.


Analysis Complete.


Sun Sep 12 04:30:51 PDT 2021


------------------------------------------------------------
Sender: LSF System <lsf@bullet0196>
Subject: Job 549726: <4FGL_J1534.8+0131_daily_bin130> in cluster <slac> Done

Job <4FGL_J1534.8+0131_daily_bin130> was submitted from host <rhel6-64q> by user <kocevski> in cluster <slac> at Sun Sep 12 04:15:19 2021
Job was executed on host(s) <bullet0196>, in queue <medium>, as user <kocevski> in cluster <slac> at Sun Sep 12 04:15:20 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:15:20 2021
Terminated at Sun Sep 12 04:30:51 2021
Results reported at Sun Sep 12 04:30:51 2021

Your job looked like:

------------------------------------------------------------
# LSBATCH: User input
/nfs/farm/g/glast/g/LCRepository/Likelihood/Scripts/LikelihoodAnalysis.py 4FGL_J1534.8+0131_daily_bin130 233.725 1.5224 273024001 273283201 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 :                                   792.00 sec.
    Max Memory :                                 1256 MB
    Average Memory :                             317.00 MB
    Total Requested Memory :                     -
    Delta Memory :                               -
    Max Swap :                                   -
    Max Processes :                              5
    Max Threads :                                21
    Run time :                                   931 sec.
    Turnaround time :                            932 sec.

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

