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


Performing analysis on: 4FGL_J1532.0+3016_daily_bin62
RA = 233.016, Dec = 30.2685
tmin = 255398401, tmax = 255657601
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='534328', job_status='RUN', time_executed='2021-09-12 03:28:42.512435', time_epoch_executed='1631442522.51' WHERE source_name='4FGL J1532.0+3016' and cadence='daily' and bin_id='62'

Database successfully updated.
Done.

Creating custom output directory:
/scratch/kocevski/534328

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

Retrieving the FT1 file...

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

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

Retrieving 46 files...
Done.


Merging files...

Checksum keywords updated successfully.

Merged file saved to:
/scratch/kocevski/534328/ft1_4FGL_J1532.0+3016_daily_bin62.fits


Retrieving the FT1 file...

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

Retrieving 46 files...
Done.


Merging files...

Merged file saved to:
/scratch/kocevski/534328/ft2_4FGL_J1532.0+3016_daily_bin62.fits


Selecting the photons:
time -p gtselect infile=/scratch/kocevski/534328/ft1_4FGL_J1532.0+3016_daily_bin62.fits outfile=/scratch/kocevski/534328/ft1_filteredMKT_4FGL_J1532.0+3016_daily_bin62.fits ra=233.016 dec=30.2685 rad=12.0 tmin=255398401.0 tmax=255657601.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.84
user 1.66
sys 0.17

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

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

Generating the livetime cube:
time -p gtltcube evfile="/scratch/kocevski/534328/ft1_filtered_4FGL_J1532.0+3016_daily_bin62.fits" evtable="EVENTS" scfile=/scratch/kocevski/534328/ft2_4FGL_J1532.0+3016_daily_bin62.fits sctable="SC_DATA" outfile=/scratch/kocevski/534328/ltcube_255398401_255657601_4FGL_J1532.0+3016_daily_bin62.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/534328/ft2_4FGL_J1532.0+3016_daily_bin62.fits
.....................!
real 12.54
user 12.20
sys 0.31

Generating the exposure map:
time -p gtexpmap evfile=/scratch/kocevski/534328/ft1_filtered_4FGL_J1532.0+3016_daily_bin62.fits evtable="EVENTS" scfile=/scratch/kocevski/534328/ft2_4FGL_J1532.0+3016_daily_bin62.fits sctable="SC_DATA" expcube=/scratch/kocevski/534328/ltcube_255398401_255657601_4FGL_J1532.0+3016_daily_bin62.fits outfile=/scratch/kocevski/534328/expmap_255398401_255657601_4FGL_J1532.0+3016_daily_bin62.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/534328/ltcube_255398401_255657601_4FGL_J1532.0+3016_daily_bin62.fits
.....................!
real 191.23
user 186.07
sys 4.80

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/534328/ft1_filtered_4FGL_J1532.0+3016_daily_bin62.fits scfile=/scratch/kocevski/534328/ft2_4FGL_J1532.0+3016_daily_bin62.fits outfile=/scratch/kocevski/534328/cmap_255398401_255657601_4FGL_J1532.0+3016_daily_bin62.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/534328/ft1_filtered_4FGL_J1532.0+3016_daily_bin62.fits scfile=/scratch/kocevski/534328/ft2_4FGL_J1532.0+3016_daily_bin62.fits outfile=/scratch/kocevski/534328/cmap_HighResolution_255398401_255657601_4FGL_J1532.0+3016_daily_bin62.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.14

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

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

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

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

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'norm      '    1.3894       1.0000         .10000E-03   10000.    
     2 'Prefactor '    26.213       1.0000         .10000E-03   10000.    
     3 'norm      '    .10000E-03   1.0000         .10000E-03   10000.    
     4 'Prefactor '    .10003E-03   1.0000         .10000E-03   10000.    
     5 'Prefactor '    4.1363       1.0000         .10000E-03   10000.    
     6 'Prefactor '    3.1522       1.0000         .10000E-03   10000.    
     7 'norm      '    .68755       1.0000         .10000E-03   10000.    
     8 'Prefactor '    .10000E-03   1.0000         .10000E-03   10000.    
     9 'Prefactor '    9.8536       1.0000         .10000E-03   10000.    
    10 'Prefactor '    2.1495       1.0000         .10000E-03   10000.    
    11 'norm      '    16.722       1.0000         .10000E-03   10000.    
    12 'Prefactor '    5.7766       1.0000         .10000E-03   10000.    
    13 'Prefactor '    11.497       1.0000         .10000E-03   10000.    
    14 'Prefactor '    .16465E-03   1.0000         .10000E-03   10000.    
    15 'norm      '    13.938       1.0000         .10000E-03   10000.    
    16 'Prefactor '    1.5563       1.0000         .10000E-03   10000.    
    17 'Prefactor '    4.1770       1.0000         .10000E-03   10000.    
    18 'Prefactor '    1.0065       1.0000         .10000E-03   10000.    
    19 'Normalizat'    1.2148       1.0000         .10000E-01   10.000    
    20 'Prefactor '    .84158       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=   10354.37     FROM MIGRAD    STATUS=CONVERGED    399 CALLS     2030 TOTAL
                     EDM=   .18E-09  STRATEGY=1  ERROR MATRIX UNCERTAINTY=  2.7%

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  norm          1.3896        3.4628        .65385E-06   -.34931E-03
   2  Prefactor     26.220        33.764        .20827E-05    .87607E-04
   3  norm          .10000E-03    1.8076        .28522E-07** at limit **
   4  Prefactor     .10000E-03    14.037       -.18782E-06** at limit **
   5  Prefactor     4.1379        6.1140        .19381E-06   -.21685E-04
   6  Prefactor     3.1515        6.6385        .35523E-06   -.83320E-04
   7  norm          .68721        .97892        .39710E-06    .62761E-03
   8  Prefactor     .10000E-03    14.472        .50767E-06** at limit **
   9  Prefactor     9.8488        45.829       -.14544E-05   -.29586E-04
  10  Prefactor     2.1486        6.1917        .70650E-06   -.14651E-03
  11  norm          16.722        2.1060        .45935E-08   -.20599E-03
  12  Prefactor     5.7774        7.8498        .24235E-06   -.17520E-04
  13  Prefactor     11.493        28.197       -.13066E-05   -.52079E-04
  14  Prefactor     .10000E-03    19.023       -.33527E-06** at limit **
  15  norm          13.931        13.665       -.24257E-06   -.90951E-04
  16  Prefactor     1.5563        1.6158        .11673E-06   -.11768E-03
  17  Prefactor     4.1763        5.3808       -.32628E-07   -.10328E-03
  18  Prefactor     1.0060        2.0990        .60912E-06   -.18648E-03
  19  Normalizat    1.2146        .16853       -.13058E-05   -.16066E-05
  20  Prefactor     .84175        .11566        .46624E-06   -.17816E-03
                               ERR DEF=  .500    
Final values: 
  norm       = 1.3896
  Prefactor  = 26.2205
  norm       = 0.0001
  Prefactor  = 0.0001
  Prefactor  = 4.13788
  Prefactor  = 3.15149
  norm       = 0.687213
  Prefactor  = 0.0001
  Prefactor  = 9.84876
  Prefactor  = 2.14863
  norm       = 16.7224
  Prefactor  = 5.77741
  Prefactor  = 11.4931
  Prefactor  = 0.0001
  norm       = 13.9308
  Prefactor  = 1.55631
  Prefactor  = 4.17632
  Prefactor  = 1.00595
  Normalizat = 1.21457
  Prefactor  = 0.84175
 **********
 **   18 **HESSE 
 **********

 FCN=   10354.37     FROM HESSE     STATUS=OK           303 CALLS     2333 TOTAL
                     EDM=   .39E-09    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  norm          1.3896        3.5041        .29617E-03   -1.5472    
   2  Prefactor     26.220        34.144        .78244E-04   -1.4683    
   3  norm          .10000E-03    1.8077        .13360E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   4  Prefactor     .10000E-03    14.252        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   5  Prefactor     4.1379        5.9109        .19820E-03   -1.5301    
   6  Prefactor     3.1515        6.6313        .22830E-03   -1.5353    
   7  norm          .68721        .87368        .12132E-02   -1.5542    
   8  Prefactor     .10000E-03    14.495        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   9  Prefactor     9.8488        46.418        .12766E-03   -1.5080    
  10  Prefactor     2.1486        6.2169        .28105E-03   -1.5415    
  11  norm          16.722        2.1120        .46427E-04   -1.4890    
  12  Prefactor     5.7774        7.8147        .16711E-03   -1.5227    
  13  Prefactor     11.493        28.286        .11815E-03   -1.5030    
  14  Prefactor     .10000E-03    19.053        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  15  norm          13.931        13.748        .10729E-03   -1.4961    
  16  Prefactor     1.5563        1.5986        .12678E-03   -1.5458    
  17  Prefactor     4.1763        5.3930        .19720E-03   -1.5299    
  18  Prefactor     1.0060        2.0650        .20419E-03   -1.5507    
  19  Normalizat    1.2146        .19572        .27316E-03   -.86154    
  20  Prefactor     .84175        .13559        .23463E-03   -.98207    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 3.85627e-10
Minuit parameter uncertainties:
  1  3.50464
  2  34.1696
  3  1.25119e-07
  4  7.29728e-05
  5  5.91176
  6  6.6328
  7  0.8737
  8  4.30846e-05
  9  42.8166
  10  6.21873
  11  2.112
  12  7.81607
  13  28.3188
  14  6.10543e-05
  15  13.7513
  16  1.59867
  17  5.39363
  18  2.06519
  19  0.195837
  20  0.135646
Done.

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

Extracting fit parameters...

4FGL J1532.0+3016
   Spectrum: PowerLaw
268    Prefactor:  1.149e+01  2.832e+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.418e-01  1.356e-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.215e+00  1.958e-01  1.000e-02  1.000e+01 ( 1.000e+00)


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

Saving results to:
/scratch/kocevski/534328/likelihoodResults_255398401_255657601_4FGL_J1532.0+3016_daily_bin62.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) = 10354.2840088
delta logL = 0.0882832976749

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

MINUIT Return Code (Free Index): 0
logL (Free Index) = 10354.2779028
delta logL = 0.0943892658397

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'Prefactor '    9.3029       1.0000         .10000E-03   10000.    
     2 'Index     '    2.3038       1.0000          .0000       10.000    
     3 'Normalizat'    1.2097       1.0000         .10000E-01   10.000    
     4 'Prefactor '    .84258       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=   10354.28     FROM MIGRAD    STATUS=CONVERGED     91 CALLS      266 TOTAL
                     EDM=   .24E-09    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor     9.3013        24.564        .13140E-03    .14328E-03
   2  Index         2.3041        1.0007        .11138E-01    .75505E-04
   3  Normalizat    1.2096        .17987        .27354E-03   -.27364E-03
   4  Prefactor     .84258        .13155        .23445E-03   -.34487E-03
                               ERR DEF=  .500    
Final values: 
  Prefactor  = 9.3013
  Index      = 2.30409
  Normalizat = 1.20965
  Prefactor  = 0.842579
 **********
 **   18 **HESSE 
 **********

 FCN=   10354.28     FROM HESSE     STATUS=OK            25 CALLS      291 TOTAL
                     EDM=   .16E-09    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  Prefactor     9.3013        20.925        .52559E-05   -1.5098    
   2  Index         2.3041        .85529        .44553E-03   -.56946    
   3  Normalizat    1.2096        .17992        .10942E-04   -.86305    
   4  Prefactor     .84258        .13159        .93779E-05   -.98177    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 1.56344e-10
Minuit parameter uncertainties:
  1  20.9418
  2  0.861278
  3  0.180013
  4  0.131641
shell-init: error retrieving current directory: getcwd: cannot access parent directories: No such file or directory
rmdir: failed to remove `/scratch/kocevski/534328': 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) = 10354.2779027
delta logL = 0.0943893517015

Extracting fit parameters...

4FGL J1532.0+3016
   Spectrum: PowerLaw
268    Prefactor:  9.301e+00  2.094e+01  1.000e-04  1.000e+04 ( 1.000e-14)
269        Index:  2.304e+00  8.613e-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:  8.426e-01  1.316e-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.210e+00  1.800e-01  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Free Index): 0.21
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/534328/cmap_HighResolution_255398401_255657601_4FGL_J1532.0+3016_daily_bin62.png

Cleaning up...

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

Updating database...

UPDATE lightcurve_data_v2 SET energy_flux_upper_limit='4.13e-03', job_status='DONE', photon_flux_upper_limit='5.54e-08', time_completed='2021-09-12 03:41:55.365485', job_id='534328', GAL2='0.84', fit_tolerance='1e-08', EG2='1.21', EG='1.21', time_epoch_completed='1631443315.37', return_code2='0', ts='0.21', comment='SUCCESS', return_code='0', GAL='0.84', dlogl='9.44e-02', ts2='0.40', photon_index_error='0.00', photon_index='1.92' WHERE bin_id='62' AND source_name='4FGL J1532.0+3016' AND cadence='daily';

Database successfully updated.


Analysis Complete.


Sun Sep 12 03:41:55 PDT 2021


------------------------------------------------------------
Sender: LSF System <lsf@bullet0011>
Subject: Job 534328: <4FGL_J1532.0+3016_daily_bin62> in cluster <slac> Done

Job <4FGL_J1532.0+3016_daily_bin62> 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) <bullet0011>, 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:41:55 2021
Results reported at Sun Sep 12 03:41:55 2021

Your job looked like:

------------------------------------------------------------
# LSBATCH: User input
/nfs/farm/g/glast/g/LCRepository/Likelihood/Scripts/LikelihoodAnalysis.py 4FGL_J1532.0+3016_daily_bin62 233.016 30.2685 255398401 255657601 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 :                                   790.00 sec.
    Max Memory :                                 1256 MB
    Average Memory :                             319.28 MB
    Total Requested Memory :                     -
    Delta Memory :                               -
    Max Swap :                                   -
    Max Processes :                              5
    Max Threads :                                21
    Run time :                                   987 sec.
    Turnaround time :                            989 sec.

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

