/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 199 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 = 7419
number of fields = 22
No RA_SUN column yet. Adding RA_SUN/DEC_SUN columns.
Done.


Performing analysis on: 4FGL_J1532.0+3016_daily_bin18
RA = 233.016, Dec = 30.2685
tmin = 243993601, tmax = 244252801
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='534260', job_status='RUN', time_executed='2021-09-12 03:28:50.486987', time_epoch_executed='1631442530.49' WHERE source_name='4FGL J1532.0+3016' and cadence='daily' and bin_id='18'

Database successfully updated.
Done.

Creating custom output directory:
/scratch/kocevski/534260

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

Retrieving the FT1 file...

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

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

Retrieving 46 files...
Done.


Merging files...

Checksum keywords updated successfully.

Merged file saved to:
/scratch/kocevski/534260/ft1_4FGL_J1532.0+3016_daily_bin18.fits


Retrieving the FT1 file...

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

Retrieving 46 files...
Done.


Merging files...

Merged file saved to:
/scratch/kocevski/534260/ft2_4FGL_J1532.0+3016_daily_bin18.fits


Selecting the photons:
time -p gtselect infile=/scratch/kocevski/534260/ft1_4FGL_J1532.0+3016_daily_bin18.fits outfile=/scratch/kocevski/534260/ft1_filteredMKT_4FGL_J1532.0+3016_daily_bin18.fits ra=233.016 dec=30.2685 rad=12.0 tmin=243993601.0 tmax=244252801.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 1.78
user 1.20
sys 0.20

Adding sun position to ft2 file:
/nfs/farm/g/glast/g/LCRepository/Repository/bin/sunpos /scratch/kocevski/534260/ft2_4FGL_J1532.0+3016_daily_bin18.fits

Selecting the good time intervals:
time -p gtmktime scfile=/scratch/kocevski/534260/ft2_4FGL_J1532.0+3016_daily_bin18.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/534260/ft1_filteredMKT_4FGL_J1532.0+3016_daily_bin18.fits evtable="EVENTS" outfile="/scratch/kocevski/534260/ft1_filtered_4FGL_J1532.0+3016_daily_bin18.fits" apply_filter=yes overwrite=yes header_obstimes=yes tstart=0.0 tstop=0.0 gtifile="default" chatter=3 clobber=yes debug=no gui=no mode="ql"

WARNING: version mismatch between CFITSIO header (v3.43) and linked library (v3.41).

This is gtmktime version HEAD
Applying GTI filter:
IN_SAA!=T && LIVETIME>0 && gtifilter('/nfs/farm/g/glast/g/LCRepository/Likelihood/GTIs/nogrb.gti',(START+STOP)/2) && (angsep(RA_SUN,DEC_SUN,RA_ZENITH,DEC_ZENITH)>115 || gtifilter('/nfs/farm/g/glast/g/LCRepository/Likelihood/GTIs/nosolarflares.gti',(START+STOP)/2))
real 0.49
user 0.34
sys 0.15

Generating the livetime cube:
time -p gtltcube evfile="/scratch/kocevski/534260/ft1_filtered_4FGL_J1532.0+3016_daily_bin18.fits" evtable="EVENTS" scfile=/scratch/kocevski/534260/ft2_4FGL_J1532.0+3016_daily_bin18.fits sctable="SC_DATA" outfile=/scratch/kocevski/534260/ltcube_243993601_244252801_4FGL_J1532.0+3016_daily_bin18.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/534260/ft2_4FGL_J1532.0+3016_daily_bin18.fits
.....................!
real 14.07
user 13.74
sys 0.30

Generating the exposure map:
time -p gtexpmap evfile=/scratch/kocevski/534260/ft1_filtered_4FGL_J1532.0+3016_daily_bin18.fits evtable="EVENTS" scfile=/scratch/kocevski/534260/ft2_4FGL_J1532.0+3016_daily_bin18.fits sctable="SC_DATA" expcube=/scratch/kocevski/534260/ltcube_243993601_244252801_4FGL_J1532.0+3016_daily_bin18.fits outfile=/scratch/kocevski/534260/expmap_243993601_244252801_4FGL_J1532.0+3016_daily_bin18.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/534260/ltcube_243993601_244252801_4FGL_J1532.0+3016_daily_bin18.fits
.....................!
real 190.27
user 185.96
sys 3.96

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

Setting source of interest to:
4FGL J1532.0+3016 @ 233.016 30.2685

Creating the counts map:
time -p gtbin evfile=/scratch/kocevski/534260/ft1_filtered_4FGL_J1532.0+3016_daily_bin18.fits scfile=/scratch/kocevski/534260/ft2_4FGL_J1532.0+3016_daily_bin18.fits outfile=/scratch/kocevski/534260/cmap_243993601_244252801_4FGL_J1532.0+3016_daily_bin18.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.016 yref=30.2685 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.53
user 0.37
sys 0.16

Creating the high resolution counts map:
time -p gtbin evfile=/scratch/kocevski/534260/ft1_filtered_4FGL_J1532.0+3016_daily_bin18.fits scfile=/scratch/kocevski/534260/ft2_4FGL_J1532.0+3016_daily_bin18.fits outfile=/scratch/kocevski/534260/cmap_HighResolution_243993601_244252801_4FGL_J1532.0+3016_daily_bin18.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.016 yref=30.2685 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.53
user 0.38
sys 0.15

Computing the diffuse response:
time -p gtdiffrsp evfile=/scratch/kocevski/534260/ft1_filtered_4FGL_J1532.0+3016_daily_bin18.fits evtable="EVENTS" scfile=/scratch/kocevski/534260/ft2_4FGL_J1532.0+3016_daily_bin18.fits sctable="SC_DATA" srcmdl=/scratch/kocevski/534260/Model_4FGL_J1532.0+3016_daily_bin18.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/534260/ft1_filtered_4FGL_J1532.0+3016_daily_bin18.fits.....................!
real 42.85
user 41.59
sys 1.18

Creating the likelihood object...
obs = UnbinnedObs('/scratch/kocevski/534260/ft1_filtered_4FGL_J1532.0+3016_daily_bin18.fits', '/scratch/kocevski/534260/ft2_4FGL_J1532.0+3016_daily_bin18.fits', expMap='/scratch/kocevski/534260/expmap_243993601_244252801_4FGL_J1532.0+3016_daily_bin18.fits', expCube='/scratch/kocevski/534260/ltcube_243993601_244252801_4FGL_J1532.0+3016_daily_bin18.fits', irfs='P8R3_SOURCE_V2')
like = UnbinnedAnalysis(obs, '/scratch/kocevski/534260/Model_4FGL_J1532.0+3016_daily_bin18.xml', optimizer='MINUIT')

Using source of interest name: '4FGL J1532.0+3016'

4FGL J1532.0+3016
   Spectrum: PowerLaw
268    Prefactor:  5.502e+00  0.000e+00  1.000e-04  1.000e+04 ( 1.000e-14)
269        Index:  1.923e+00  0.000e+00  0.000e+00  1.000e+01 (-1.000e+00) fixed
270        Scale:  2.847e+03  0.000e+00  3.000e+01  5.000e+05 ( 1.000e+00) fixed


Likelihood Fit Parameters:
Event file(s): /scratch/kocevski/534260/ft1_filtered_4FGL_J1532.0+3016_daily_bin18.fits
Spacecraft file(s): /scratch/kocevski/534260/ft2_4FGL_J1532.0+3016_daily_bin18.fits
Exposure map: /scratch/kocevski/534260/expmap_243993601_244252801_4FGL_J1532.0+3016_daily_bin18.fits
Exposure cube: /scratch/kocevski/534260/ltcube_243993601_244252801_4FGL_J1532.0+3016_daily_bin18.fits
IRFs: P8R3_SOURCE_V2
Source model file: /scratch/kocevski/534260/Model_4FGL_J1532.0+3016_daily_bin18.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) = 5207.73118194

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

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

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'norm      '    .10008E-03   1.0000         .10000E-03   10000.    
     2 'Prefactor '    59.278       1.0000         .10000E-03   10000.    
     3 'norm      '    13.018       1.0000         .10000E-03   10000.    
     4 'Prefactor '    .10464E-03   1.0000         .10000E-03   10000.    
     5 'Prefactor '    33.331       1.0000         .10000E-03   10000.    
     6 'Prefactor '    .10010E-03   1.0000         .10000E-03   10000.    
     7 'norm      '    .10000E-03   1.0000         .10000E-03   10000.    
     8 'Prefactor '    60.148       1.0000         .10000E-03   10000.    
     9 'Prefactor '    56.615       1.0000         .10000E-03   10000.    
    10 'Prefactor '    3.2922       1.0000         .10000E-03   10000.    
    11 'norm      '    4.8558       1.0000         .10000E-03   10000.    
    12 'Prefactor '    .10057E-03   1.0000         .10000E-03   10000.    
    13 'Prefactor '    2.3690       1.0000         .10000E-03   10000.    
    14 'Prefactor '    .12344E-03   1.0000         .10000E-03   10000.    
    15 'norm      '    19.992       1.0000         .10000E-03   10000.    
    16 'Prefactor '    2.5682       1.0000         .10000E-03   10000.    
    17 'Prefactor '    .10005E-03   1.0000         .10000E-03   10000.    
    18 'Prefactor '    2.7938       1.0000         .10000E-03   10000.    
    19 'Normalizat'    1.0141       1.0000         .10000E-01   10.000    
    20 'Prefactor '    .83494       1.0000          .0000       10.000    
 **********
 **   15 **SET ERR    .5000    
 **********
 **********
 **   16 **SET GRAD    1.000    
 **********
 **********
 **   17 **MINIMIZE    .5880E+05   .2000E-04
 **********

 MIGRAD MINIMIZATION HAS CONVERGED.

 MIGRAD WILL VERIFY CONVERGENCE AND ERROR MATRIX.

 MIGRAD MINIMIZATION HAS CONVERGED.

 FCN=   5207.720     FROM MIGRAD    STATUS=CONVERGED    404 CALLS     2014 TOTAL
                     EDM=   .33E-10  STRATEGY=1  ERROR MATRIX UNCERTAINTY=  3.6%

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  norm          .10000E-03    14.055       -.87359E-06** at limit **
   2  Prefactor     59.311        48.714       -.34961E-05    .52510E-04
   3  norm          13.018        10.135        .34620E-07   -.20270E-04
   4  Prefactor     .10000E-03    13.370        .13115E-05** at limit **
   5  Prefactor     33.338        12.606        .56710E-07   -.20893E-04
   6  Prefactor     .10000E-03    3.7464       -.53558E-07** at limit **
   7  norm          .10000E-03    .70898        .45613E-07** at limit **
   8  Prefactor     60.162        52.413       -.17193E-05    .18245E-04
   9  Prefactor     56.617        50.057       -.43026E-07    .47984E-05
  10  Prefactor     3.2917        7.6551        .36978E-05    .22936E-04
  11  norm          4.8583        1.7716        .30953E-07    .21462E-04
  12  Prefactor     .10000E-03    6.2623       -.28353E-06** at limit **
  13  Prefactor     2.3565        51.660        .49957E-05   -.14141E-04
  14  Prefactor     .10000E-03    23.654        .36630E-06** at limit **
  15  norm          19.995        17.695       -.84603E-07    .59605E-05
  16  Prefactor     2.5687        2.3343       -.44153E-07   -.40279E-04
  17  Prefactor     .10000E-03    4.8392       -.84595E-07** at limit **
  18  Prefactor     2.7957        3.7590        .13759E-05    .22018E-04
  19  Normalizat    1.0132        .22110       -.27266E-05   -.12780E-04
  20  Prefactor     .83558        .15076        .18055E-05    .68183E-04
                               ERR DEF=  .500    
Final values: 
  norm       = 0.0001
  Prefactor  = 59.3109
  norm       = 13.0182
  Prefactor  = 0.0001
  Prefactor  = 33.338
  Prefactor  = 0.0001
  norm       = 0.0001
  Prefactor  = 60.162
  Prefactor  = 56.6173
  Prefactor  = 3.29166
  norm       = 4.85827
  Prefactor  = 0.0001
  Prefactor  = 2.35654
  Prefactor  = 0.0001
  norm       = 19.9946
  Prefactor  = 2.56873
  Prefactor  = 0.0001
  Prefactor  = 2.79565
  Normalizat = 1.01319
  Prefactor  = 0.835582
 **********
 **   18 **HESSE 
 **********

 FCN=   5207.720     FROM HESSE     STATUS=OK           295 CALLS     2309 TOTAL
                     EDM=   .71E-10    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  norm          .10000E-03    14.660        .36285E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   2  Prefactor     59.311        49.055        .52110E-04   -1.4166    
   3  norm          13.018        10.134        .11102E-03   -1.4986    
   4  Prefactor     .10000E-03    13.483        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   5  Prefactor     33.338        12.610        .69408E-04   -1.4553    
   6  Prefactor     .10000E-03    3.7683        .13641E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   7  norm          .10000E-03    .71676        .59180E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   8  Prefactor     60.162        52.427        .25867E-03   -1.4155    
   9  Prefactor     56.617        50.072        .53314E-04   -1.4202    
  10  Prefactor     3.2917        7.7397        .11157E-02   -1.5345    
  11  norm          4.8583        1.7773        .54214E-04   -1.5267    
  12  Prefactor     .10000E-03    6.2880        .17611E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  13  Prefactor     2.3565        51.823        .26621E-03   -1.5401    
  14  Prefactor     .10000E-03    23.726        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  15  norm          19.995        17.688        .89577E-04   -1.4813    
  16  Prefactor     2.5687        2.3356        .10083E-03   -1.5387    
  17  Prefactor     .10000E-03    4.8657        .15503E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  18  Prefactor     2.7957        3.7569        .77018E-03   -1.5374    
  19  Normalizat    1.0132        .25235        .26327E-03   -.92590    
  20  Prefactor     .83558        .17430        .21364E-03   -.98430    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 7.08934e-11
Minuit parameter uncertainties:
  1  6.79943e-05
  2  49.0881
  3  10.1353
  4  2.70399e-05
  5  12.6112
  6  2.65838e-06
  7  2.37395e-06
  8  52.4672
  9  50.1097
  10  7.7421
  11  1.77732
  12  1.86269e-05
  13  22.1231
  14  5.13459e-05
  15  17.6923
  16  2.33567
  17  7.59834e-06
  18  3.75718
  19  0.252649
  20  0.17442
Done.

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

Extracting fit parameters...

4FGL J1532.0+3016
   Spectrum: PowerLaw
268    Prefactor:  2.357e+00  2.212e+01  1.000e-04  1.000e+04 ( 1.000e-14)
269        Index:  1.923e+00  0.000e+00  0.000e+00  1.000e+01 (-1.000e+00) fixed
270        Scale:  2.847e+03  0.000e+00  3.000e+01  5.000e+05 ( 1.000e+00) fixed

GAL_V02
   Spectrum: PowerLaw
585    Prefactor:  8.356e-01  1.744e-01  0.000e+00  1.000e+01 ( 1.000e+00)
586        Index:  0.000e+00  0.000e+00 -1.000e+00  1.000e+00 ( 1.000e+00) fixed
587        Scale:  1.000e+02  0.000e+00  5.000e+01  2.000e+02 ( 1.000e+00) fixed

EG_v02
   Spectrum: FileFunction
584   Normalization:  1.013e+00  2.526e-01  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Fixed Index): 0.01
Ra Dec: 233.016 30.268
Photon Flux Upper Limit: 5.58e-08 ph cm-2 s-1
Energy Flux Upper Limit: 4.15e-03 MeV cm-2 s-1

Saving results to:
/scratch/kocevski/534260/likelihoodResults_243993601_244252801_4FGL_J1532.0+3016_daily_bin18.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) = 5207.70607722
delta logL = 0.014288148529

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

MINUIT Return Code (Free Index): 0
logL (Free Index) = 5207.69119065
delta logL = 0.0291747132478

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'Prefactor '    7.1132       1.0000         .10000E-03   10000.    
     2 'Index     '    1.4888       1.0000          .0000       10.000    
     3 'Normalizat'    1.0152       1.0000         .10000E-01   10.000    
     4 'Prefactor '    .83343       1.0000          .0000       10.000    
 **********
 **   15 **SET ERR    .5000    
 **********
 **********
 **   16 **SET GRAD    1.000    
 **********
 **********
 **   17 **MINIMIZE    .5880E+05   .2000E-04
 **********

 MIGRAD MINIMIZATION HAS CONVERGED.

 MIGRAD WILL VERIFY CONVERGENCE AND ERROR MATRIX.

 FCN=   5207.691     FROM MIGRAD    STATUS=CONVERGED     62 CALLS      233 TOTAL
                     EDM=   .18E-10    STRATEGY= 1      ERR MATRIX NOT POS-DEF

  EXT PARAMETER                APPROXIMATE        STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor     7.1381        540.16        .37602E-02    .23671E-04
   2  Index         1.4886        1.6228        .50000        .14459E-04
   3  Normalizat    1.0154        .22354E-01    .44164E-01   -.16846E-03
   4  Prefactor     .83330        .16442E-01    .44151E-01   -.14241E-03
                               ERR DEF=  .500    
Final values: 
  Prefactor  = 7.13806
  Index      = 1.48859
  Normalizat = 1.01539
  Prefactor  = 0.833296
 **********
 **   18 **HESSE 
 **********

 FCN=   5207.691     FROM HESSE     STATUS=OK            31 CALLS      264 TOTAL
                     EDM=   .81E-10    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  Prefactor     7.1381        30.607        .15041E-03   -1.5174    
   2  Index         1.4886        1.3867        .77834E-02   -.77860    
   3  Normalizat    1.0154        .22551        .26301E-03   -.92516    
   4  Prefactor     .83330        .16896        .21389E-03   -.98512    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 8.09131e-11
Minuit parameter uncertainties:
  1  29.5873
  2  1.4244
  3  0.225723
  4  0.169064
shell-init: error retrieving current directory: getcwd: cannot access parent directories: No such file or directory
rmdir: failed to remove `/scratch/kocevski/534260': 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) = 5207.69119001
delta logL = 0.0291753517349

Extracting fit parameters...

4FGL J1532.0+3016
   Spectrum: PowerLaw
268    Prefactor:  7.138e+00  2.959e+01  1.000e-04  1.000e+04 ( 1.000e-14)
269        Index:  1.489e+00  1.424e+00  0.000e+00  1.000e+01 (-1.000e+00)
270        Scale:  2.847e+03  0.000e+00  3.000e+01  5.000e+05 ( 1.000e+00) fixed

GAL_V02
   Spectrum: PowerLaw
585    Prefactor:  8.333e-01  1.691e-01  0.000e+00  1.000e+01 ( 1.000e+00)
586        Index:  0.000e+00  0.000e+00 -1.000e+00  1.000e+00 ( 1.000e+00) fixed
587        Scale:  1.000e+02  0.000e+00  5.000e+01  2.000e+02 ( 1.000e+00) fixed

EG_v02
   Spectrum: FileFunction
584   Normalization:  1.015e+00  2.257e-01  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Free Index): 0.01
Ra Dec: 233.016 30.268

Creating a high resolution counts map...
INFO: Auto-setting vmin to  0.000e+00 [aplpy.core]
INFO: Auto-setting vmax to  0.000e+00 [aplpy.core]
Saving /scratch/kocevski/534260/cmap_HighResolution_243993601_244252801_4FGL_J1532.0+3016_daily_bin18.png

Cleaning up...

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

Updating database...

UPDATE lightcurve_data_v2 SET energy_flux_upper_limit='4.15e-03', job_status='DONE', photon_flux_upper_limit='5.58e-08', time_completed='2021-09-12 03:37:58.594128', job_id='534260', GAL2='0.83', fit_tolerance='1e-08', EG2='1.02', EG='1.01', time_epoch_completed='1631443078.59', return_code2='0', ts='0.01', comment='SUCCESS', return_code='0', GAL='0.84', dlogl='2.92e-02', ts2='0.07', photon_index_error='0.00', photon_index='1.92' WHERE bin_id='18' AND source_name='4FGL J1532.0+3016' AND cadence='daily';

Database successfully updated.


Analysis Complete.


Sun Sep 12 03:37:58 PDT 2021


------------------------------------------------------------
Sender: LSF System <lsf@bullet0107>
Subject: Job 534260: <4FGL_J1532.0+3016_daily_bin18> in cluster <slac> Done

Job <4FGL_J1532.0+3016_daily_bin18> was submitted from host <rhel6-64f> by user <kocevski> in cluster <slac> at Sun Sep 12 03:25:21 2021
Job was executed on host(s) <bullet0107>, in queue <medium>, as user <kocevski> in cluster <slac> at Sun Sep 12 03:25:23 2021
</u/ki/kocevski> was used as the home directory.
</u/ki/kocevski> was used as the working directory.
Started at Sun Sep 12 03:25:23 2021
Terminated at Sun Sep 12 03:37:59 2021
Results reported at Sun Sep 12 03:37:59 2021

Your job looked like:

------------------------------------------------------------
# LSBATCH: User input
/nfs/farm/g/glast/g/LCRepository/Likelihood/Scripts/LikelihoodAnalysis.py 4FGL_J1532.0+3016_daily_bin18 233.016 30.2685 243993601 244252801 irfs=P8R3_SOURCE_V2 zmax=90 ROI=12 association=4FGL_J1532.0+3016 fixedModel=True performFreeIndexFit=True freeVariableSources=True nuke=True repositoryJob=True verbose=False
------------------------------------------------------------

Successfully completed.

Resource usage summary:

    CPU time :                                   547.00 sec.
    Max Memory :                                 1094 MB
    Average Memory :                             257.17 MB
    Total Requested Memory :                     -
    Delta Memory :                               -
    Max Swap :                                   -
    Max Processes :                              5
    Max Threads :                                21
    Run time :                                   755 sec.
    Turnaround time :                            758 sec.

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

