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


Performing analysis on: 4FGL_J1534.8+0131_daily_bin429
RA = 233.725, Dec = 1.5224
tmin = 350524801, tmax = 350784001
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='552156', job_status='RUN', time_executed='2021-09-12 04:24:05.602269', time_epoch_executed='1631445845.6' WHERE source_name='4FGL J1534.8+0131' and cadence='daily' and bin_id='429'

Database successfully updated.
Done.

Creating custom output directory:
/scratch/kocevski/552156

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

Retrieving the FT1 file...

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

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

Retrieving 46 files...
Done.


Merging files...

Checksum keywords updated successfully.

Merged file saved to:
/scratch/kocevski/552156/ft1_4FGL_J1534.8+0131_daily_bin429.fits


Retrieving the FT1 file...

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

Retrieving 46 files...
Done.


Merging files...

Merged file saved to:
/scratch/kocevski/552156/ft2_4FGL_J1534.8+0131_daily_bin429.fits


Selecting the photons:
time -p gtselect infile=/scratch/kocevski/552156/ft1_4FGL_J1534.8+0131_daily_bin429.fits outfile=/scratch/kocevski/552156/ft1_filteredMKT_4FGL_J1534.8+0131_daily_bin429.fits ra=233.725 dec=1.5224 rad=12.0 tmin=350524801.0 tmax=350784001.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.40
user 3.16
sys 0.20

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

Selecting the good time intervals:
time -p gtmktime scfile=/scratch/kocevski/552156/ft2_4FGL_J1534.8+0131_daily_bin429.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/552156/ft1_filteredMKT_4FGL_J1534.8+0131_daily_bin429.fits evtable="EVENTS" outfile="/scratch/kocevski/552156/ft1_filtered_4FGL_J1534.8+0131_daily_bin429.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.50
user 0.34
sys 0.15

Generating the livetime cube:
time -p gtltcube evfile="/scratch/kocevski/552156/ft1_filtered_4FGL_J1534.8+0131_daily_bin429.fits" evtable="EVENTS" scfile=/scratch/kocevski/552156/ft2_4FGL_J1534.8+0131_daily_bin429.fits sctable="SC_DATA" outfile=/scratch/kocevski/552156/ltcube_350524801_350784001_4FGL_J1534.8+0131_daily_bin429.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/552156/ft2_4FGL_J1534.8+0131_daily_bin429.fits
.....................!
real 13.60
user 13.17
sys 0.31

Generating the exposure map:
time -p gtexpmap evfile=/scratch/kocevski/552156/ft1_filtered_4FGL_J1534.8+0131_daily_bin429.fits evtable="EVENTS" scfile=/scratch/kocevski/552156/ft2_4FGL_J1534.8+0131_daily_bin429.fits sctable="SC_DATA" expcube=/scratch/kocevski/552156/ltcube_350524801_350784001_4FGL_J1534.8+0131_daily_bin429.fits outfile=/scratch/kocevski/552156/expmap_350524801_350784001_4FGL_J1534.8+0131_daily_bin429.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/552156/ltcube_350524801_350784001_4FGL_J1534.8+0131_daily_bin429.fits
.....................!
real 190.87
user 185.40
sys 5.00

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/552156/ft1_filtered_4FGL_J1534.8+0131_daily_bin429.fits scfile=/scratch/kocevski/552156/ft2_4FGL_J1534.8+0131_daily_bin429.fits outfile=/scratch/kocevski/552156/cmap_350524801_350784001_4FGL_J1534.8+0131_daily_bin429.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.16

Creating the high resolution counts map:
time -p gtbin evfile=/scratch/kocevski/552156/ft1_filtered_4FGL_J1534.8+0131_daily_bin429.fits scfile=/scratch/kocevski/552156/ft2_4FGL_J1534.8+0131_daily_bin429.fits outfile=/scratch/kocevski/552156/cmap_HighResolution_350524801_350784001_4FGL_J1534.8+0131_daily_bin429.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.56
user 0.40
sys 0.15

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

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

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

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

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'norm      '    .31830       1.0000         .10000E-03   10000.    
     2 'norm      '    6.3867       1.0000         .10000E-03   10000.    
     3 'norm      '    3.8189       1.0000         .10000E-03   10000.    
     4 'norm      '    7.6143       1.0000         .10000E-03   10000.    
     5 'norm      '    10.389       1.0000         .10000E-03   10000.    
     6 'norm      '    3.2445       1.0000         .10000E-03   10000.    
     7 'Prefactor '    .10000E-03   1.0000         .10000E-03   10000.    
     8 'Prefactor '    .10000E-03   1.0000         .10000E-03   10000.    
     9 'Prefactor '    .13444E-03   1.0000         .10000E-03   10000.    
    10 'Prefactor '    .10000E-03   1.0000         .10000E-03   10000.    
    11 'Prefactor '    .41287E-03   1.0000         .10000E-03   10000.    
    12 'Prefactor '    .37121       1.0000         .10000E-03   10000.    
    13 'norm      '    5.1712       1.0000         .10000E-03   10000.    
    14 'Prefactor '    .10001E-03   1.0000         .10000E-03   10000.    
    15 'norm      '    2.5518       1.0000         .10000E-03   10000.    
    16 'norm      '    .10000E-03   1.0000         .10000E-03   10000.    
    17 'Normalizat'    1.2456       1.0000         .10000E-01   10.000    
    18 'Prefactor '    1.0160       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=   10485.57     FROM MIGRAD    STATUS=CONVERGED    363 CALLS     1543 TOTAL
                     EDM=   .25E-09  STRATEGY=1  ERROR MATRIX UNCERTAINTY=   .4%

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  norm          .31833        .21032       -.27824E-07   -.12490E-02
   2  norm          6.3871        2.6827       -.12932E-06   -.13337E-03
   3  norm          3.8190        3.9098        .25415E-05    .32025E-03
   4  norm          7.6149        5.4103        .24762E-05   -.15536E-03
   5  norm          10.389        4.4795        .61426E-06    .92393E-04
   6  norm          3.2445        .32573       -.40152E-07    .15593E-02
   7  Prefactor     .10000E-03    23.550       -.19822E-04** at limit **
   8  Prefactor     .10000E-03    2.1592        .73067E-07** at limit **
   9  Prefactor     .10000E-03    46.839       -.25348E-04** at limit **
  10  Prefactor     .10000E-03    16.520        .30318E-05** at limit **
  11  Prefactor     .10002E-03    159.61       -.11938E-03** at limit **
  12  Prefactor     .37367        1.5484       -.48424E-06   -.14348E-03
  13  norm          5.1692        3.7434        .99917E-08   -.31511E-04
  14  Prefactor     .10000E-03    29.068        .18795E-04** at limit **
  15  norm          2.5519        1.3712        .39519E-08    .61253E-04
  16  norm          .10000E-03    39.753        .24052E-04** at limit **
  17  Normalizat    1.2456        .23519       -.48970E-06    .28911E-03
  18  Prefactor     1.0159        .88843E-01    .20647E-06    .80350E-03
                               ERR DEF=  .500    
Final values: 
  norm       = 0.318328
  norm       = 6.38712
  norm       = 3.81899
  norm       = 7.6149
  norm       = 10.3893
  norm       = 3.24452
  Prefactor  = 0.0001
  Prefactor  = 0.0001
  Prefactor  = 0.000100001
  Prefactor  = 0.0001
  Prefactor  = 0.000100016
  Prefactor  = 0.373667
  norm       = 5.16918
  Prefactor  = 0.0001
  norm       = 2.55193
  norm       = 0.0001
  Normalizat = 1.24559
  Prefactor  = 1.01592
 **********
 **   18 **HESSE 
 **********

 FCN=   10485.57     FROM HESSE     STATUS=OK           250 CALLS     1793 TOTAL
                     EDM=   .29E-07    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  norm          .31833        .20359        .36556E-03   -1.5595    
   2  norm          6.3871        2.6913        .10275E-03   -1.5202    
   3  norm          3.8190        3.9242        .20037E-03   -1.5317    
   4  norm          7.6149        5.4056        .14533E-03   -1.5156    
   5  norm          10.389        4.4794        .12431E-03   -1.5063    
   6  norm          3.2445        .32641        .17581E-04   -1.5348    
   7  Prefactor     .10000E-03    23.615        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   8  Prefactor     .10000E-03    2.1845        .14684E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   9  Prefactor     .10000E-03    47.704        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  10  Prefactor     .10000E-03    16.533        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  11  Prefactor     .10002E-03    160.49        .21249E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  12  Prefactor     .37367        6.2822        .23998E-02   -1.5586    
  13  norm          5.1692        3.7297        .16151E-03   -1.5253    
  14  Prefactor     .10000E-03    29.147        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  15  norm          2.5519        1.3711        .85721E-04   -1.5388    
  16  norm          .10000E-03    39.797        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  17  Normalizat    1.2456        .26533        .42663E-03   -.85205    
  18  Prefactor     1.0159        .10104        .18334E-03   -.92201    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 2.93444e-08
Minuit parameter uncertainties:
  1  0.20359
  2  2.69134
  3  3.92451
  4  5.40596
  5  4.47957
  6  0.326407
  7  1.17399e-05
  8  2.78156e-06
  9  0.000394747
  10  5.10959e-06
  11  0.00322568
  12  3.06423
  13  3.7299
  14  1.80051e-05
  15  1.3711
  16  2.17375e-06
  17  0.265621
  18  0.101061
Done.

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

Extracting fit parameters...

4FGL J1534.8+0131
   Spectrum: PowerLaw
223    Prefactor:  1.000e-04  2.782e-06  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.016e+00  1.011e-01  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.246e+00  2.656e-01  1.000e-02  1.000e+01 ( 1.000e+00)


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

Saving results to:
/scratch/kocevski/552156/likelihoodResults_350524801_350784001_4FGL_J1534.8+0131_daily_bin429.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) = 10485.5672865
delta logL = -0.00218122069236

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

MINUIT Return Code (Free Index): 102
logL (Free Index) = 10485.5651088
delta logL = -3.55601696356e-06

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'Prefactor '    .10026E-03   1.0000         .10000E-03   10000.    
     2 'Index     '    2.4288       1.0000          .0000       10.000    
     3 'Normalizat'    1.2455       1.0000         .10000E-01   10.000    
     4 'Prefactor '    1.0158       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.
 MIGRAD TERMINATED WITHOUT CONVERGENCE.

 FCN=   10485.57     FROM MIGRAD    STATUS=FAILED        89 CALLS      231 TOTAL
                     EDM=   .68E-03    STRATEGY= 1      ERR MATRIX NOT POS-DEF

  EXT PARAMETER                APPROXIMATE        STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor     .10000E-03    272.86        .14719E-02** at limit **
   2  Index         2.4370        6.0304        .20000       -.32117E-04
   3  Normalizat    1.2456        .84357E-01    .42663E-03    .19186E-05
   4  Prefactor     1.0159        .33331E-01    .18334E-03    .90535E-05
                               ERR DEF=  .500    
 START SIMPLEX MINIMIZATION.    CONVERGENCE WHEN EDM .LT.   .20E-04
 SIMPLEX MINIMIZATION HAS CONVERGED.

 FCN=   10485.57     FROM SIMPLEX   STATUS=UNCHANGED    178 CALLS      409 TOTAL
                     EDM=   .14E-04    STRATEGY= 1      ERR MATRIX NOT POS-DEF

  EXT PARAMETER                APPROXIMATE        STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor     .10000E-03    272.86        .29127E-03** at limit **
   2  Index         2.4370        6.0304        .31821E-05   -.32117E-04
   3  Normalizat    1.2456        .84357E-01    .90270E-07    .19186E-05
   4  Prefactor     1.0159        .33331E-01    .14924E-07    .90535E-05
                               ERR DEF=  .500    

 MIGRAD MINIMIZATION HAS CONVERGED.

 MIGRAD WILL VERIFY CONVERGENCE AND ERROR MATRIX.

 MIGRAD MINIMIZATION HAS CONVERGED.

 MIGRAD WILL VERIFY CONVERGENCE AND ERROR MATRIX.
 MIGRAD TERMINATED WITHOUT CONVERGENCE.

 FCN=   10485.48     FROM MIGRAD    STATUS=FAILED       150 CALLS      559 TOTAL
                     EDM=   .20E-05    STRATEGY= 1      ERR MATRIX NOT POS-DEF

  EXT PARAMETER                APPROXIMATE        STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor     .10000E-03    .21782E-01    .40768E-03** at limit **
   2  Index         7.8973        8.0541        .18672E-01    .45843E-03
   3  Normalizat    1.2209        .70410E-01    .34130E-05   -.10926E-03
   4  Prefactor     1.0214        .27813E-01    .14667E-05    .11782E-03
                               ERR DEF=  .500    
Final values: 
  Prefactor  = 0.0001
  Index      = 7.89733
  Normalizat = 1.22091
  Prefactor  = 1.02136
 **********
 **   18 **HESSE 
 **********

 FCN=   10485.48     FROM HESSE     STATUS=NOT POSDEF    35 CALLS      594 TOTAL
                     EDM=   .31E-08    STRATEGY= 1      ERR MATRIX NOT POS-DEF

  EXT PARAMETER                APPROXIMATE     INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  Prefactor     .10000E-03    .20630E-01    .43088E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   2  Index         7.8973        7.9603        .37345E-02    .61807    
   3  Normalizat    1.2209        .71845E-01    .68261E-06   -.85959    
   4  Prefactor     1.0214        .28445E-01    .29334E-06   -.92021    
                               ERR DEF=  .500    
Minuit fit quality: 2   estimated distance: 3.08597e-09
Minuit parameter uncertainties:
  1  1.17701e-07
  2  12.6745
  3  0.0718511
  4  0.0284454
shell-init: error retrieving current directory: getcwd: cannot access parent directories: No such file or directory
rmdir: failed to remove `/scratch/kocevski/552156': 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): 1
logL (Free Index) = 10485.4824807
delta logL = 0.0826246057713

Extracting fit parameters...

4FGL J1534.8+0131
   Spectrum: PowerLaw
223    Prefactor:  1.000e-04  1.177e-07  1.000e-04  1.000e+04 ( 1.000e-12)
224        Index:  7.897e+00  1.267e+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.021e+00  2.845e-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.221e+00  7.185e-02  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Free Index): -0.00
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/552156/cmap_HighResolution_350524801_350784001_4FGL_J1534.8+0131_daily_bin429.png

Cleaning up...

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

Updating database...

UPDATE lightcurve_data_v2 SET energy_flux_upper_limit='6.78e-03', job_status='DONE', photon_flux_upper_limit='8.76e-08', time_completed='2021-09-12 04:35:55.278049', job_id='552156', GAL2='1.02', fit_tolerance='1e-08', EG2='1.22', EG='1.25', time_epoch_completed='1631446555.28', return_code2='1', ts='-0.00', comment='SUCCESS', return_code='0', GAL='1.02', dlogl='8.26e-02', ts2='0.17', photon_index_error='0.00', photon_index='2.42' WHERE bin_id='429' AND source_name='4FGL J1534.8+0131' AND cadence='daily';

Database successfully updated.


Analysis Complete.


Sun Sep 12 04:35:55 PDT 2021


------------------------------------------------------------
Sender: LSF System <lsf@bullet0265>
Subject: Job 552156: <4FGL_J1534.8+0131_daily_bin429> in cluster <slac> Done

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

Your job looked like:

------------------------------------------------------------
# LSBATCH: User input
/nfs/farm/g/glast/g/LCRepository/Likelihood/Scripts/LikelihoodAnalysis.py 4FGL_J1534.8+0131_daily_bin429 233.725 1.5224 350524801 350784001 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.13 sec.
    Max Memory :                                 1093 MB
    Average Memory :                             267.38 MB
    Total Requested Memory :                     -
    Delta Memory :                               -
    Max Swap :                                   -
    Max Processes :                              5
    Max Threads :                                21
    Run time :                                   936 sec.
    Turnaround time :                            938 sec.

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

