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


Performing analysis on: 4FGL_J1532.0+3016_daily_bin68
RA = 233.016, Dec = 30.2685
tmin = 256953601, tmax = 257212801
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='534338', job_status='RUN', time_executed='2021-09-12 03:28:00.248891', time_epoch_executed='1631442480.25' WHERE source_name='4FGL J1532.0+3016' and cadence='daily' and bin_id='68'

Database successfully updated.
Done.

Creating custom output directory:
/scratch/kocevski/534338

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

Retrieving the FT1 file...

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

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

Retrieving 47 files...
Done.


Merging files...

Checksum keywords updated successfully.

Merged file saved to:
/scratch/kocevski/534338/ft1_4FGL_J1532.0+3016_daily_bin68.fits


Retrieving the FT1 file...

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

Retrieving 47 files...
Done.


Merging files...

Merged file saved to:
/scratch/kocevski/534338/ft2_4FGL_J1532.0+3016_daily_bin68.fits


Selecting the photons:
time -p gtselect infile=/scratch/kocevski/534338/ft1_4FGL_J1532.0+3016_daily_bin68.fits outfile=/scratch/kocevski/534338/ft1_filteredMKT_4FGL_J1532.0+3016_daily_bin68.fits ra=233.016 dec=30.2685 rad=12.0 tmin=256953601.0 tmax=257212801.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.47
user 1.25
sys 0.18

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

Selecting the good time intervals:
time -p gtmktime scfile=/scratch/kocevski/534338/ft2_4FGL_J1532.0+3016_daily_bin68.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/534338/ft1_filteredMKT_4FGL_J1532.0+3016_daily_bin68.fits evtable="EVENTS" outfile="/scratch/kocevski/534338/ft1_filtered_4FGL_J1532.0+3016_daily_bin68.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.15

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

Generating the exposure map:
time -p gtexpmap evfile=/scratch/kocevski/534338/ft1_filtered_4FGL_J1532.0+3016_daily_bin68.fits evtable="EVENTS" scfile=/scratch/kocevski/534338/ft2_4FGL_J1532.0+3016_daily_bin68.fits sctable="SC_DATA" expcube=/scratch/kocevski/534338/ltcube_256953601_257212801_4FGL_J1532.0+3016_daily_bin68.fits outfile=/scratch/kocevski/534338/expmap_256953601_257212801_4FGL_J1532.0+3016_daily_bin68.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/534338/ltcube_256953601_257212801_4FGL_J1532.0+3016_daily_bin68.fits
.....................!
real 190.14
user 184.79
sys 4.92

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/534338/ft1_filtered_4FGL_J1532.0+3016_daily_bin68.fits scfile=/scratch/kocevski/534338/ft2_4FGL_J1532.0+3016_daily_bin68.fits outfile=/scratch/kocevski/534338/cmap_256953601_257212801_4FGL_J1532.0+3016_daily_bin68.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.54
user 0.37
sys 0.15

Creating the high resolution counts map:
time -p gtbin evfile=/scratch/kocevski/534338/ft1_filtered_4FGL_J1532.0+3016_daily_bin68.fits scfile=/scratch/kocevski/534338/ft2_4FGL_J1532.0+3016_daily_bin68.fits outfile=/scratch/kocevski/534338/cmap_HighResolution_256953601_257212801_4FGL_J1532.0+3016_daily_bin68.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.56
user 0.38
sys 0.15

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

Creating the likelihood object...
obs = UnbinnedObs('/scratch/kocevski/534338/ft1_filtered_4FGL_J1532.0+3016_daily_bin68.fits', '/scratch/kocevski/534338/ft2_4FGL_J1532.0+3016_daily_bin68.fits', expMap='/scratch/kocevski/534338/expmap_256953601_257212801_4FGL_J1532.0+3016_daily_bin68.fits', expCube='/scratch/kocevski/534338/ltcube_256953601_257212801_4FGL_J1532.0+3016_daily_bin68.fits', irfs='P8R3_SOURCE_V2')
like = UnbinnedAnalysis(obs, '/scratch/kocevski/534338/Model_4FGL_J1532.0+3016_daily_bin68.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/534338/ft1_filtered_4FGL_J1532.0+3016_daily_bin68.fits
Spacecraft file(s): /scratch/kocevski/534338/ft2_4FGL_J1532.0+3016_daily_bin68.fits
Exposure map: /scratch/kocevski/534338/expmap_256953601_257212801_4FGL_J1532.0+3016_daily_bin68.fits
Exposure cube: /scratch/kocevski/534338/ltcube_256953601_257212801_4FGL_J1532.0+3016_daily_bin68.fits
IRFs: P8R3_SOURCE_V2
Source model file: /scratch/kocevski/534338/Model_4FGL_J1532.0+3016_daily_bin68.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) = 7374.05628073

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

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

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'norm      '    6.3114       1.0000         .10000E-03   10000.    
     2 'Prefactor '    .10053E-03   1.0000         .10000E-03   10000.    
     3 'norm      '    .10000E-03   1.0000         .10000E-03   10000.    
     4 'Prefactor '    .10002E-03   1.0000         .10000E-03   10000.    
     5 'Prefactor '    19.608       1.0000         .10000E-03   10000.    
     6 'Prefactor '    .10001E-03   1.0000         .10000E-03   10000.    
     7 'norm      '    .24224E-03   1.0000         .10000E-03   10000.    
     8 'Prefactor '    .10001E-03   1.0000         .10000E-03   10000.    
     9 'Prefactor '    .10261E-03   1.0000         .10000E-03   10000.    
    10 'Prefactor '    3.9323       1.0000         .10000E-03   10000.    
    11 'norm      '    10.073       1.0000         .10000E-03   10000.    
    12 'Prefactor '    3.2234       1.0000         .10000E-03   10000.    
    13 'Prefactor '    14.735       1.0000         .10000E-03   10000.    
    14 'Prefactor '    .10000E-03   1.0000         .10000E-03   10000.    
    15 'norm      '    .10000E-03   1.0000         .10000E-03   10000.    
    16 'Prefactor '    3.1894       1.0000         .10000E-03   10000.    
    17 'Prefactor '    5.5150       1.0000         .10000E-03   10000.    
    18 'Prefactor '    3.9831       1.0000         .10000E-03   10000.    
    19 'Normalizat'    .99966       1.0000         .10000E-01   10.000    
    20 'Prefactor '    .92204       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=   7374.005     FROM MIGRAD    STATUS=CONVERGED    427 CALLS     1779 TOTAL
                     EDM=   .72E-09  STRATEGY=1  ERROR MATRIX UNCERTAINTY=  1.3%

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  norm          6.3115        4.9477        .12421E-06   -.45291E-03
   2  Prefactor     .10000E-03    42.196       -.62291E-06** at limit **
   3  norm          .10000E-03    2.3231       -.27961E-08** at limit **
   4  Prefactor     .10000E-03    4.9104        .58002E-07** at limit **
   5  Prefactor     19.590        9.8895        .54682E-06    .50291E-03
   6  Prefactor     .10000E-03    5.0523       -.14150E-06** at limit **
   7  norm          .10000E-03    .76372       -.15206E-06** at limit **
   8  Prefactor     .10000E-03    18.089       -.42864E-07** at limit **
   9  Prefactor     .10000E-03    58.794        .17787E-05** at limit **
  10  Prefactor     3.9320        4.0608        .11252E-05   -.16734E-02
  11  norm          10.072        1.9442        .91548E-08    .34342E-04
  12  Prefactor     3.2252        8.0833        .63831E-06   -.76049E-04
  13  Prefactor     14.715        23.671       -.65693E-05   -.30795E-03
  14  Prefactor     .10000E-03    5.4585        .69387E-07** at limit **
  15  norm          .10000E-03    3.4789       -.23156E-09** at limit **
  16  Prefactor     3.1894        2.0124        .45583E-07   -.17736E-04
  17  Prefactor     5.5141        9.8572       -.29369E-06   -.78865E-04
  18  Prefactor     3.9830        3.3699        .42760E-07   -.10393E-03
  19  Normalizat    .99961        .17187       -.45685E-06    .83650E-04
  20  Prefactor     .92210        .12928        .24711E-06    .15651E-04
                               ERR DEF=  .500    
Final values: 
  norm       = 6.31154
  Prefactor  = 0.0001
  norm       = 0.0001
  Prefactor  = 0.0001
  Prefactor  = 19.5902
  Prefactor  = 0.0001
  norm       = 0.0001
  Prefactor  = 0.0001
  Prefactor  = 0.0001
  Prefactor  = 3.93201
  norm       = 10.0725
  Prefactor  = 3.22521
  Prefactor  = 14.7146
  Prefactor  = 0.0001
  norm       = 0.0001
  Prefactor  = 3.18944
  Prefactor  = 5.51409
  Prefactor  = 3.98299
  Normalizat = 0.99961
  Prefactor  = 0.922098
 **********
 **   18 **HESSE 
 **********

 FCN=   7374.005     FROM HESSE     STATUS=OK           291 CALLS     2070 TOTAL
                     EDM=   .32E-08    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  norm          6.3115        4.9955        .79889E-03   -1.5205    
   2  Prefactor     .10000E-03    42.533        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   3  norm          .10000E-03    2.3241        .12783E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   4  Prefactor     .10000E-03    4.9251        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   5  Prefactor     19.590        9.1735        .90451E-04   -1.4822    
   6  Prefactor     .10000E-03    5.1207        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   7  norm          .10000E-03    7.3894        .13131E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   8  Prefactor     .10000E-03    18.098        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   9  Prefactor     .10000E-03    59.235        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  10  Prefactor     3.9320        5.9426        .10172E-02   -1.5311    
  11  norm          10.072        1.9405        .45807E-04   -1.5073    
  12  Prefactor     3.2252        8.0312        .22563E-03   -1.5349    
  13  Prefactor     14.715        24.264        .10434E-03   -1.4941    
  14  Prefactor     .10000E-03    5.4616        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  15  norm          .10000E-03    3.4809        .15642E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  16  Prefactor     3.1894        2.0089        .93434E-04   -1.5351    
  17  Prefactor     5.5141        9.8979        .17109E-03   -1.5238    
  18  Prefactor     3.9830        3.3714        .13921E-03   -1.5309    
  19  Normalizat    .99961        .19750        .27085E-03   -.93043    
  20  Prefactor     .92210        .14939        .21501E-03   -.95373    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 3.15608e-09
Minuit parameter uncertainties:
  1  4.99585
  2  7.54547e-05
  3  6.52857e-07
  4  1.15414e-06
  5  9.17419
  6  6.47888e-06
  7  9.05686e-05
  8  3.95419e-06
  9  0.000234456
  10  5.94347
  11  1.94051
  12  8.03392
  13  24.2805
  14  2.99616e-06
  15  3.38857e-08
  16  2.00891
  17  9.90087
  18  3.3716
  19  0.197644
  20  0.149456
Done.

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

Extracting fit parameters...

4FGL J1532.0+3016
   Spectrum: PowerLaw
268    Prefactor:  1.471e+01  2.428e+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:  9.221e-01  1.495e-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:  9.996e-01  1.976e-01  1.000e-02  1.000e+01 ( 1.000e+00)


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

Saving results to:
/scratch/kocevski/534338/likelihoodResults_256953601_257212801_4FGL_J1532.0+3016_daily_bin68.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) = 7373.9309353
delta logL = 0.0737617816476

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

MINUIT Return Code (Free Index): 0
logL (Free Index) = 7373.9305668
delta logL = 0.0741302853476

Fit tolerance = 1e-08

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

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

 MIGRAD WILL VERIFY CONVERGENCE AND ERROR MATRIX.

 FCN=   7373.931     FROM MIGRAD    STATUS=CONVERGED     89 CALLS      306 TOTAL
                     EDM=   .12E-09    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor     10.050        24.487        .12639E-03    .60268E-04
   2  Index         2.2335        .95649        .85899E-02    .37156E-04
   3  Normalizat    .99686        .19021        .27113E-03   -.25301E-03
   4  Prefactor     .92263        .14628        .21492E-03   -.33855E-03
                               ERR DEF=  .500    
Final values: 
  Prefactor  = 10.0501
  Index      = 2.23355
  Normalizat = 0.996864
  Prefactor  = 0.922634
 **********
 **   18 **HESSE 
 **********

 FCN=   7373.931     FROM HESSE     STATUS=OK            25 CALLS      331 TOTAL
                     EDM=   .91E-10    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  Prefactor     10.050        21.123        .50554E-05   -1.5074    
   2  Index         2.2335        .82729        .34359E-03   -.58631    
   3  Normalizat    .99686        .19031        .10845E-04   -.93136    
   4  Prefactor     .92263        .14636        .42983E-04   -.95355    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 9.11728e-11
Minuit parameter uncertainties:
  1  21.1388
  2  0.832826
  3  0.190439
  4  0.146427
shell-init: error retrieving current directory: getcwd: cannot access parent directories: No such file or directory
rmdir: failed to remove `/scratch/kocevski/534338': 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) = 7373.9305665
delta logL = 0.0741305821093

Extracting fit parameters...

4FGL J1532.0+3016
   Spectrum: PowerLaw
268    Prefactor:  1.005e+01  2.114e+01  1.000e-04  1.000e+04 ( 1.000e-14)
269        Index:  2.234e+00  8.328e-01  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:  9.226e-01  1.464e-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:  9.969e-01  1.904e-01  1.000e-02  1.000e+01 ( 1.000e+00)


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

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/534338/cmap_HighResolution_256953601_257212801_4FGL_J1532.0+3016_daily_bin68.png

Cleaning up...

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

Updating database...

UPDATE lightcurve_data_v2 SET energy_flux_upper_limit='4.20e-03', job_status='DONE', photon_flux_upper_limit='5.64e-08', time_completed='2021-09-12 03:38:34.995910', job_id='534338', GAL2='0.92', fit_tolerance='1e-08', EG2='1.00', EG='1.00', time_epoch_completed='1631443115.0', return_code2='0', ts='0.53', comment='SUCCESS', return_code='0', GAL='0.92', dlogl='7.41e-02', ts2='0.68', photon_index_error='0.00', photon_index='1.92' WHERE bin_id='68' AND source_name='4FGL J1532.0+3016' AND cadence='daily';

Database successfully updated.


Analysis Complete.


Sun Sep 12 03:38:35 PDT 2021


------------------------------------------------------------
Sender: LSF System <lsf@bullet0101>
Subject: Job 534338: <4FGL_J1532.0+3016_daily_bin68> in cluster <slac> Done

Job <4FGL_J1532.0+3016_daily_bin68> was submitted from host <rhel6-64f> by user <kocevski> in cluster <slac> at Sun Sep 12 03:25:26 2021
Job was executed on host(s) <bullet0101>, in queue <medium>, as user <kocevski> in cluster <slac> at Sun Sep 12 03:25:28 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:28 2021
Terminated at Sun Sep 12 03:38:35 2021
Results reported at Sun Sep 12 03:38:35 2021

Your job looked like:

------------------------------------------------------------
# LSBATCH: User input
/nfs/farm/g/glast/g/LCRepository/Likelihood/Scripts/LikelihoodAnalysis.py 4FGL_J1532.0+3016_daily_bin68 233.016 30.2685 256953601 257212801 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 :                                   632.00 sec.
    Max Memory :                                 1256 MB
    Average Memory :                             305.74 MB
    Total Requested Memory :                     -
    Delta Memory :                               -
    Max Swap :                                   -
    Max Processes :                              5
    Max Threads :                                21
    Run time :                                   787 sec.
    Turnaround time :                            789 sec.

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

