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


Performing analysis on: 4FGL_J1534.8+0131_daily_bin415
RA = 233.725, Dec = 1.5224
tmin = 346896001, tmax = 347155201
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='552134', job_status='RUN', time_executed='2021-09-12 04:24:27.693662', time_epoch_executed='1631445867.69' WHERE source_name='4FGL J1534.8+0131' and cadence='daily' and bin_id='415'

Database successfully updated.
Done.

Creating custom output directory:
/scratch/kocevski/552134

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

Retrieving the FT1 file...

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

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

Retrieving 46 files...
Done.


Merging files...

Checksum keywords updated successfully.

Merged file saved to:
/scratch/kocevski/552134/ft1_4FGL_J1534.8+0131_daily_bin415.fits


Retrieving the FT1 file...

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

Retrieving 46 files...
Done.


Merging files...

Merged file saved to:
/scratch/kocevski/552134/ft2_4FGL_J1534.8+0131_daily_bin415.fits


Selecting the photons:
time -p gtselect infile=/scratch/kocevski/552134/ft1_4FGL_J1534.8+0131_daily_bin415.fits outfile=/scratch/kocevski/552134/ft1_filteredMKT_4FGL_J1534.8+0131_daily_bin415.fits ra=233.725 dec=1.5224 rad=12.0 tmin=346896001.0 tmax=347155201.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.45
user 3.22
sys 0.22

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

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

Generating the livetime cube:
time -p gtltcube evfile="/scratch/kocevski/552134/ft1_filtered_4FGL_J1534.8+0131_daily_bin415.fits" evtable="EVENTS" scfile=/scratch/kocevski/552134/ft2_4FGL_J1534.8+0131_daily_bin415.fits sctable="SC_DATA" outfile=/scratch/kocevski/552134/ltcube_346896001_347155201_4FGL_J1534.8+0131_daily_bin415.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/552134/ft2_4FGL_J1534.8+0131_daily_bin415.fits
.....................!
real 13.16
user 12.77
sys 0.34

Generating the exposure map:
time -p gtexpmap evfile=/scratch/kocevski/552134/ft1_filtered_4FGL_J1534.8+0131_daily_bin415.fits evtable="EVENTS" scfile=/scratch/kocevski/552134/ft2_4FGL_J1534.8+0131_daily_bin415.fits sctable="SC_DATA" expcube=/scratch/kocevski/552134/ltcube_346896001_347155201_4FGL_J1534.8+0131_daily_bin415.fits outfile=/scratch/kocevski/552134/expmap_346896001_347155201_4FGL_J1534.8+0131_daily_bin415.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/552134/ltcube_346896001_347155201_4FGL_J1534.8+0131_daily_bin415.fits
.....................!
real 191.24
user 185.87
sys 4.91

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/552134/ft1_filtered_4FGL_J1534.8+0131_daily_bin415.fits scfile=/scratch/kocevski/552134/ft2_4FGL_J1534.8+0131_daily_bin415.fits outfile=/scratch/kocevski/552134/cmap_346896001_347155201_4FGL_J1534.8+0131_daily_bin415.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.37
sys 0.15

Creating the high resolution counts map:
time -p gtbin evfile=/scratch/kocevski/552134/ft1_filtered_4FGL_J1534.8+0131_daily_bin415.fits scfile=/scratch/kocevski/552134/ft2_4FGL_J1534.8+0131_daily_bin415.fits outfile=/scratch/kocevski/552134/cmap_HighResolution_346896001_347155201_4FGL_J1534.8+0131_daily_bin415.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.16

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

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

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

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

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'norm      '    .15464E-01   1.0000         .10000E-03   10000.    
     2 'norm      '    3.4179       1.0000         .10000E-03   10000.    
     3 'norm      '    10.992       1.0000         .10000E-03   10000.    
     4 'norm      '    4.0521       1.0000         .10000E-03   10000.    
     5 'norm      '    .11058E-03   1.0000         .10000E-03   10000.    
     6 'norm      '    .42281       1.0000         .10000E-03   10000.    
     7 'Prefactor '    .10003E-03   1.0000         .10000E-03   10000.    
     8 'Prefactor '    .35379       1.0000         .10000E-03   10000.    
     9 'Prefactor '    9.1022       1.0000         .10000E-03   10000.    
    10 'Prefactor '    .10001E-03   1.0000         .10000E-03   10000.    
    11 'Prefactor '    26.503       1.0000         .10000E-03   10000.    
    12 'Prefactor '    .15063E-03   1.0000         .10000E-03   10000.    
    13 'norm      '    1.2056       1.0000         .10000E-03   10000.    
    14 'Prefactor '    .10000E-03   1.0000         .10000E-03   10000.    
    15 'norm      '    6.2893       1.0000         .10000E-03   10000.    
    16 'norm      '    .10000E-03   1.0000         .10000E-03   10000.    
    17 'Normalizat'    2.2000       1.0000         .10000E-01   10.000    
    18 'Prefactor '    .70689       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=   10789.00     FROM MIGRAD    STATUS=CONVERGED    395 CALLS     1629 TOTAL
                     EDM=   .11E-09  STRATEGY=1  ERROR MATRIX UNCERTAINTY=  1.2%

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  norm          .15609E-01    .16274        .81457E-07   -.63753E-03
   2  norm          3.4174        2.5488        .16347E-06   -.67267E-04
   3  norm          10.991        6.4830       -.76865E-07   -.40079E-04
   4  norm          4.0522        3.2621        .11832E-06   -.63624E-05
   5  norm          .10000E-03    2.0093        .24587E-07** at limit **
   6  norm          .42281        .12827        .60221E-08   -.16217E-03
   7  Prefactor     .10000E-03    29.869       -.65238E-06** at limit **
   8  Prefactor     .35621        2.2410        .63575E-06   -.40173E-03
   9  Prefactor     9.1026        11.716       -.17549E-06   -.20053E-04
  10  Prefactor     .10000E-03    14.638        .44209E-07** at limit **
  11  Prefactor     26.503        24.848        .67460E-07   -.30555E-05
  12  Prefactor     .10000E-03    2.3011       -.19124E-06** at limit **
  13  norm          1.2066        3.2936        .19230E-05    .51091E-04
  14  Prefactor     .10000E-03    35.544        .69313E-06** at limit **
  15  norm          6.2893        2.0459        .83789E-08   -.30184E-04
  16  norm          .10000E-03    74.403       -.42017E-06** at limit **
  17  Normalizat    2.2000        .22958       -.84629E-06   -.14042E-03
  18  Prefactor     .70687        .79558E-01   -.15674E-06   -.24112E-03
                               ERR DEF=  .500    
Final values: 
  norm       = 0.0156094
  norm       = 3.41735
  norm       = 10.9911
  norm       = 4.05224
  norm       = 0.0001
  norm       = 0.422813
  Prefactor  = 0.000100001
  Prefactor  = 0.356214
  Prefactor  = 9.1026
  Prefactor  = 0.0001
  Prefactor  = 26.5026
  Prefactor  = 0.0001
  norm       = 1.2066
  Prefactor  = 0.000100001
  norm       = 6.28929
  norm       = 0.0001
  Normalizat = 2.19999
  Prefactor  = 0.706865
 **********
 **   18 **HESSE 
 **********

 FCN=   10789.00     FROM HESSE     STATUS=OK           254 CALLS     1883 TOTAL
                     EDM=   .15E-06    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  norm          .15609E-01    .77064        .77981E-03   -1.5683    
   2  norm          3.4174        2.5195        .13427E-03   -1.5338    
   3  norm          10.991        6.4817        .12084E-03   -1.5045    
   4  norm          4.0522        3.2573        .16275E-03   -1.5305    
   5  norm          .10000E-03    5.0829        .28230E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   6  norm          .42281        .12768        .19759E-04   -1.5578    
   7  Prefactor     .10000E-03    29.996        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   8  Prefactor     .35621        4.9056        .28289E-02   -1.5589    
   9  Prefactor     9.1026        11.711        .13284E-03   -1.5104    
  10  Prefactor     .10000E-03    14.660        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  11  Prefactor     26.503        24.849        .77816E-04   -1.4678    
  12  Prefactor     .10000E-03    7.2366        .29990E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  13  norm          1.2066        3.3170        .30116E-03   -1.5488    
  14  Prefactor     .10000E-03    35.537        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  15  norm          6.2893        2.0466        .82567E-04   -1.5206    
  16  norm          .10000E-03    74.523        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  17  Normalizat    2.2000        .26335        .33698E-03   -.59627    
  18  Prefactor     .70687        .92007E-01    .19702E-03   -1.0326    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 1.45845e-07
Minuit parameter uncertainties:
  1  0.218654
  2  2.51961
  3  6.48215
  4  3.25746
  5  1.85791e-06
  6  0.127684
  7  0.00025388
  8  2.64371
  9  11.7137
  10  1.19158e-05
  11  24.8591
  12  1.31377e-05
  13  3.31749
  14  0.00040042
  15  2.04662
  16  0.000325927
  17  0.263527
  18  0.0920271
Done.

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

Extracting fit parameters...

4FGL J1534.8+0131
   Spectrum: PowerLaw
223    Prefactor:  3.562e-01  2.644e+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:  7.069e-01  9.203e-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:  2.200e+00  2.635e-01  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Fixed Index): 0.02
Ra Dec: 233.725 1.522
Photon Flux Upper Limit: 8.75e-08 ph cm-2 s-1
Energy Flux Upper Limit: 6.77e-03 MeV cm-2 s-1

Saving results to:
/scratch/kocevski/552134/likelihoodResults_346896001_347155201_4FGL_J1534.8+0131_daily_bin415.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) = 10788.9870943
delta logL = 0.0102559592779

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

MINUIT Return Code (Free Index): 0
logL (Free Index) = 10788.9822119
delta logL = 0.0151384127585

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'Prefactor '    .65174       1.0000         .10000E-03   10000.    
     2 'Index     '    2.1205       1.0000          .0000       10.000    
     3 'Normalizat'    2.2004       1.0000         .10000E-01   10.000    
     4 'Prefactor '    .70622       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=   10788.98     FROM MIGRAD    STATUS=CONVERGED     99 CALLS      298 TOTAL
                     EDM=   .90E-12    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor     .65308        3.7920        .37856E-03   -.60064E-05
   2  Index         2.1219        1.4577        .17067E-01   -.19917E-05
   3  Normalizat    2.2005        .25112        .33695E-03    .66131E-05
   4  Prefactor     .70627        .91194E-01    .19709E-03    .25611E-04
                               ERR DEF=  .500    
Final values: 
  Prefactor  = 0.653084
  Index      = 2.1219
  Normalizat = 2.2005
  Prefactor  = 0.706271
 **********
 **   18 **HESSE 
 **********

 FCN=   10788.98     FROM HESSE     STATUS=OK            25 CALLS      323 TOTAL
                     EDM=   .14E-11    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  Prefactor     .65308        3.6461        .15142E-04   -1.5546    
   2  Index         2.1219        1.4318        .68267E-03   -.61336    
   3  Normalizat    2.2005        .25131        .13478E-04   -.59615    
   4  Prefactor     .70627        .91251E-01    .78836E-05   -1.0328    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 1.37051e-12
Minuit parameter uncertainties:
  1  3.08628
  2  1.46286
  3  0.251467
  4  0.0912699
shell-init: error retrieving current directory: getcwd: cannot access parent directories: No such file or directory
rmdir: failed to remove `/scratch/kocevski/552134': 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) = 10788.9822098
delta logL = 0.0151404514636

Extracting fit parameters...

4FGL J1534.8+0131
   Spectrum: PowerLaw
223    Prefactor:  6.531e-01  3.086e+00  1.000e-04  1.000e+04 ( 1.000e-12)
224        Index:  2.122e+00  1.463e+00  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:  7.063e-01  9.127e-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:  2.200e+00  2.515e-01  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Free Index): 0.02
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/552134/cmap_HighResolution_346896001_347155201_4FGL_J1534.8+0131_daily_bin415.png

Cleaning up...

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

Updating database...

UPDATE lightcurve_data_v2 SET energy_flux_upper_limit='6.77e-03', job_status='DONE', photon_flux_upper_limit='8.75e-08', time_completed='2021-09-12 04:35:52.311460', job_id='552134', GAL2='0.71', fit_tolerance='1e-08', EG2='2.20', EG='2.20', time_epoch_completed='1631446552.31', return_code2='0', ts='0.02', comment='SUCCESS', return_code='0', GAL='0.71', dlogl='1.51e-02', ts2='0.05', photon_index_error='0.00', photon_index='2.42' WHERE bin_id='415' AND source_name='4FGL J1534.8+0131' AND cadence='daily';

Database successfully updated.


Analysis Complete.


Sun Sep 12 04:35:52 PDT 2021


------------------------------------------------------------
Sender: LSF System <lsf@bullet0067>
Subject: Job 552134: <4FGL_J1534.8+0131_daily_bin415> in cluster <slac> Done

Job <4FGL_J1534.8+0131_daily_bin415> was submitted from host <rhel6-64m> by user <kocevski> in cluster <slac> at Sun Sep 12 04:20:16 2021
Job was executed on host(s) <bullet0067>, in queue <medium>, as user <kocevski> in cluster <slac> at Sun Sep 12 04:20: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:20:18 2021
Terminated at Sun Sep 12 04:35:53 2021
Results reported at Sun Sep 12 04:35:53 2021

Your job looked like:

------------------------------------------------------------
# LSBATCH: User input
/nfs/farm/g/glast/g/LCRepository/Likelihood/Scripts/LikelihoodAnalysis.py 4FGL_J1534.8+0131_daily_bin415 233.725 1.5224 346896001 347155201 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 :                                   682.00 sec.
    Max Memory :                                 1093 MB
    Average Memory :                             255.13 MB
    Total Requested Memory :                     -
    Delta Memory :                               -
    Max Swap :                                   -
    Max Processes :                              5
    Max Threads :                                21
    Run time :                                   934 sec.
    Turnaround time :                            937 sec.

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

