/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 226 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 = 7533
number of fields = 30
RA_SUN column already exists. File will not be modified.
Done.


Performing analysis on: 4FGL_J1532.0+3016_daily_bin1216
RA = 233.016, Dec = 30.2685
tmin = 554515201, tmax = 554774401
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='539220', job_status='RUN', time_executed='2021-09-12 03:46:47.773913', time_epoch_executed='1631443607.77' WHERE source_name='4FGL J1532.0+3016' and cadence='daily' and bin_id='1216'

Database successfully updated.
Done.

Creating custom output directory:
/scratch/kocevski/539220

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

Retrieving the FT1 file...

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

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

Retrieving 47 files...
Done.


Merging files...

Checksum keywords updated successfully.

Merged file saved to:
/scratch/kocevski/539220/ft1_4FGL_J1532.0+3016_daily_bin1216.fits


Retrieving the FT1 file...

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

Retrieving 47 files...
Done.


Merging files...

Merged file saved to:
/scratch/kocevski/539220/ft2_4FGL_J1532.0+3016_daily_bin1216.fits


Selecting the photons:
time -p gtselect infile=/scratch/kocevski/539220/ft1_4FGL_J1532.0+3016_daily_bin1216.fits outfile=/scratch/kocevski/539220/ft1_filteredMKT_4FGL_J1532.0+3016_daily_bin1216.fits ra=233.016 dec=30.2685 rad=12.0 tmin=554515201.0 tmax=554774401.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.29
user 3.05
sys 0.21

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

Selecting the good time intervals:
time -p gtmktime scfile=/scratch/kocevski/539220/ft2_4FGL_J1532.0+3016_daily_bin1216.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/539220/ft1_filteredMKT_4FGL_J1532.0+3016_daily_bin1216.fits evtable="EVENTS" outfile="/scratch/kocevski/539220/ft1_filtered_4FGL_J1532.0+3016_daily_bin1216.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.44
user 0.28
sys 0.15

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

Generating the exposure map:
time -p gtexpmap evfile=/scratch/kocevski/539220/ft1_filtered_4FGL_J1532.0+3016_daily_bin1216.fits evtable="EVENTS" scfile=/scratch/kocevski/539220/ft2_4FGL_J1532.0+3016_daily_bin1216.fits sctable="SC_DATA" expcube=/scratch/kocevski/539220/ltcube_554515201_554774401_4FGL_J1532.0+3016_daily_bin1216.fits outfile=/scratch/kocevski/539220/expmap_554515201_554774401_4FGL_J1532.0+3016_daily_bin1216.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/539220/ltcube_554515201_554774401_4FGL_J1532.0+3016_daily_bin1216.fits
.....................!
real 153.22
user 149.08
sys 3.82

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/539220/ft1_filtered_4FGL_J1532.0+3016_daily_bin1216.fits scfile=/scratch/kocevski/539220/ft2_4FGL_J1532.0+3016_daily_bin1216.fits outfile=/scratch/kocevski/539220/cmap_554515201_554774401_4FGL_J1532.0+3016_daily_bin1216.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.48
user 0.33
sys 0.14

Creating the high resolution counts map:
time -p gtbin evfile=/scratch/kocevski/539220/ft1_filtered_4FGL_J1532.0+3016_daily_bin1216.fits scfile=/scratch/kocevski/539220/ft2_4FGL_J1532.0+3016_daily_bin1216.fits outfile=/scratch/kocevski/539220/cmap_HighResolution_554515201_554774401_4FGL_J1532.0+3016_daily_bin1216.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.50
user 0.34
sys 0.14

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

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

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

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

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'norm      '    3.6720       1.0000         .10000E-03   10000.    
     2 'Prefactor '    87.856       1.0000         .10000E-03   10000.    
     3 'norm      '    .10000E-03   1.0000         .10000E-03   10000.    
     4 'Prefactor '    .10075E-03   1.0000         .10000E-03   10000.    
     5 'Prefactor '    .10045E-03   1.0000         .10000E-03   10000.    
     6 'Prefactor '    9.0137       1.0000         .10000E-03   10000.    
     7 'norm      '    .10265E-03   1.0000         .10000E-03   10000.    
     8 'Prefactor '    .10005E-03   1.0000         .10000E-03   10000.    
     9 'Prefactor '    53.116       1.0000         .10000E-03   10000.    
    10 'Prefactor '    .10716E-03   1.0000         .10000E-03   10000.    
    11 'norm      '    5.7320       1.0000         .10000E-03   10000.    
    12 'Prefactor '    .10212E-03   1.0000         .10000E-03   10000.    
    13 'Prefactor '    .10006E-03   1.0000         .10000E-03   10000.    
    14 'Prefactor '    .12330E-03   1.0000         .10000E-03   10000.    
    15 'norm      '    2.1074       1.0000         .10000E-03   10000.    
    16 'Prefactor '    3.9935       1.0000         .10000E-03   10000.    
    17 'Prefactor '    51.950       1.0000         .10000E-03   10000.    
    18 'Prefactor '    11.882       1.0000         .10000E-03   10000.    
    19 'Normalizat'    .42519       1.0000         .10000E-01   10.000    
    20 'Prefactor '    1.0836       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=   3670.649     FROM MIGRAD    STATUS=CONVERGED    451 CALLS     2064 TOTAL
                     EDM=   .35E-11  STRATEGY=1  ERROR MATRIX UNCERTAINTY=  1.2%

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  norm          3.6672        6.9302        .16358E-05   -.19419E-04
   2  Prefactor     87.742        65.269        .41614E-05   -.87328E-06
   3  norm          .10000E-03    11.386       -.62578E-07** at limit **
   4  Prefactor     .10000E-03    32.688       -.34749E-06** at limit **
   5  Prefactor     .10000E-03    9.3661       -.51245E-07** at limit **
   6  Prefactor     9.0089        8.5487        .16373E-06    .29185E-05
   7  norm          .10000E-03    3.2302       -.20756E-07** at limit **
   8  Prefactor     .10000E-03    67.955       -.48237E-06** at limit **
   9  Prefactor     53.066        49.918        .15408E-05    .16706E-05
  10  Prefactor     .10000E-03    12.277       -.41435E-09** at limit **
  11  norm          5.7307        2.9453        .15620E-06    .17612E-05
  12  Prefactor     .10000E-03    18.525        .20278E-06** at limit **
  13  Prefactor     .10000E-03    22.768        .57672E-08** at limit **
  14  Prefactor     .10000E-03    87.058        .22719E-05** at limit **
  15  norm          1.9536        206.28       -.44266E-05   -.24770E-06
  16  Prefactor     3.9918        3.1989        .57700E-07    .10484E-04
  17  Prefactor     51.931        19.085        .19976E-06    .89852E-05
  18  Prefactor     11.871        14.059        .21299E-06    .77361E-05
  19  Normalizat    .42572        .32235       -.25887E-05    .65040E-06
  20  Prefactor     1.0835        .19919        .12517E-06    .18789E-04
                               ERR DEF=  .500    
Final values: 
  norm       = 3.66717
  Prefactor  = 87.7424
  norm       = 0.0001
  Prefactor  = 0.0001
  Prefactor  = 0.0001
  Prefactor  = 9.0089
  norm       = 0.0001
  Prefactor  = 0.0001
  Prefactor  = 53.0656
  Prefactor  = 0.0001
  norm       = 5.73073
  Prefactor  = 0.0001
  Prefactor  = 0.0001
  Prefactor  = 0.0001
  norm       = 1.95359
  Prefactor  = 3.99184
  Prefactor  = 51.9307
  Prefactor  = 11.8707
  Normalizat = 0.425722
  Prefactor  = 1.08354
 **********
 **   18 **HESSE 
 **********

 FCN=   3670.649     FROM HESSE     STATUS=OK           293 CALLS     2357 TOTAL
                     EDM=   .12E-09    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  norm          3.6672        6.9341        .10441E-02   -1.5325    
   2  Prefactor     87.742        65.117        .21432E-03   -1.3832    
   3  norm          .10000E-03    11.414        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   4  Prefactor     .10000E-03    32.836        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   5  Prefactor     .10000E-03    9.3918        .18108E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   6  Prefactor     9.0089        8.5379        .13350E-03   -1.5108    
   7  norm          .10000E-03    3.3259        .21243E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   8  Prefactor     .10000E-03    67.949        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   9  Prefactor     53.066        49.934        .55033E-04   -1.4250    
  10  Prefactor     .10000E-03    12.421        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  11  norm          5.7307        2.9299        .33339E-03   -1.5229    
  12  Prefactor     .10000E-03    18.599        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  13  Prefactor     .10000E-03    22.772        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  14  Prefactor     .10000E-03    87.430        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  15  norm          1.9536        203.75        .28422E-03   -1.5428    
  16  Prefactor     3.9918        3.1931        .92828E-04   -1.5308    
  17  Prefactor     51.931        19.065        .55644E-04   -1.4265    
  18  Prefactor     11.871        14.014        .11622E-03   -1.5019    
  19  Normalizat    .42572        .33802        .41863E-03   -1.1599    
  20  Prefactor     1.0835        .21593        .18305E-03   -.89994    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 1.19648e-10
Minuit parameter uncertainties:
  1  6.93557
  2  65.1698
  3  4.29806e-06
  4  5.62273e-05
  5  1.96259e-06
  6  8.53903
  7  9.51573e-07
  8  1.5689e-05
  9  49.9731
  10  6.72906e-06
  11  2.92998
  12  6.87629e-06
  13  2.77925e-06
  14  0.000346613
  15  40.0415
  16  3.19325
  17  19.0668
  18  14.0181
  19  0.339654
  20  0.216108
Done.

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

Extracting fit parameters...

4FGL J1532.0+3016
   Spectrum: PowerLaw
268    Prefactor:  1.000e-04  2.779e-06  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:  1.084e+00  2.161e-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:  4.257e-01  3.397e-01  1.000e-02  1.000e+01 ( 1.000e+00)


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

Saving results to:
/scratch/kocevski/539220/likelihoodResults_554515201_554774401_4FGL_J1532.0+3016_daily_bin1216.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): 102
logL (Free Index) = 3670.64929465
delta logL = -0.000208756266602

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

MINUIT Return Code (Free Index): 102
logL (Free Index) = 3670.64908637
delta logL = -4.83009443997e-07

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'Prefactor '    .10399E-03   1.0000         .10000E-03   10000.    
     2 'Index     '    2.2039       1.0000          .0000       10.000    
     3 'Normalizat'    .42571       1.0000         .10000E-01   10.000    
     4 'Prefactor '    1.0835       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=   3670.649     FROM MIGRAD    STATUS=CONVERGED     52 CALLS      235 TOTAL
                     EDM=   .11E-07    STRATEGY= 1      ERR MATRIX NOT POS-DEF

  EXT PARAMETER                APPROXIMATE        STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor     .10000E-03    11.012        .90712E-02** at limit **
   2  Index         2.1861        5.1891        .50000        .74506E-05
   3  Normalizat    .42572        .47238E-02    .94472E-01    .36742E-04
   4  Prefactor     1.0835        .32183E-02    .38248E-01    .92616E-05
                               ERR DEF=  .500    
Final values: 
  Prefactor  = 0.0001
  Index      = 2.18607
  Normalizat = 0.425723
  Prefactor  = 1.08354
 **********
 **   18 **HESSE 
 **********

 FCN=   3670.649     FROM HESSE     STATUS=NOT POSDEF    33 CALLS      268 TOTAL
                     EDM=   .92E-07    STRATEGY= 1      ERR MATRIX NOT POS-DEF

  EXT PARAMETER                APPROXIMATE     INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  Prefactor     .10000E-03    90.245        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   2  Index         2.1861        8.5998        .50000       -.59775    
   3  Normalizat    .42572        .13549E-01    .41860E-03   -1.1599    
   4  Prefactor     1.0835        .92568E-02    .18305E-03   -.89994    
                               ERR DEF=  .500    
Minuit fit quality: 2   estimated distance: 9.18534e-08
Minuit parameter uncertainties:
  1  0.000186382
  2  170.746
  3  0.0135487
  4  0.00925681
shell-init: error retrieving current directory: getcwd: cannot access parent directories: No such file or directory
rmdir: failed to remove `/scratch/kocevski/539220': 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): 102
logL (Free Index) = 3670.64908624
delta logL = -3.47020886693e-07

Extracting fit parameters...

4FGL J1532.0+3016
   Spectrum: PowerLaw
268    Prefactor:  1.000e-04  1.864e-04  1.000e-04  1.000e+04 ( 1.000e-14)
269        Index:  2.186e+00  1.707e+02  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:  1.084e+00  9.257e-03  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:  4.257e-01  1.355e-02  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Free Index): -0.00
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/539220/cmap_HighResolution_554515201_554774401_4FGL_J1532.0+3016_daily_bin1216.png

Cleaning up...

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

Updating database...

UPDATE lightcurve_data_v2 SET energy_flux_upper_limit='5.73e-03', job_status='DONE', photon_flux_upper_limit='7.69e-08', time_completed='2021-09-12 03:54:03.773654', job_id='539220', GAL2='1.08', fit_tolerance='1e-08', EG2='0.43', EG='0.43', time_epoch_completed='1631444043.77', return_code2='102', ts='-0.00', comment='SUCCESS', return_code='0', GAL='1.08', dlogl='-3.47e-07', ts2='-0.00', photon_index_error='0.00', photon_index='1.92' WHERE bin_id='1216' AND source_name='4FGL J1532.0+3016' AND cadence='daily';

Database successfully updated.


Analysis Complete.


Sun Sep 12 03:54:03 PDT 2021


------------------------------------------------------------
Sender: LSF System <scs@bullet0033>
Subject: Job 539220: <4FGL_J1532.0+3016_daily_bin1216> in cluster <slac> Done

Job <4FGL_J1532.0+3016_daily_bin1216> was submitted from host <rhel6-64p> by user <kocevski> in cluster <slac> at Sun Sep 12 03:40:49 2021
Job was executed on host(s) <bullet0033>, in queue <medium>, as user <kocevski> in cluster <slac> at Sun Sep 12 03:42:53 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:42:53 2021
Terminated at Sun Sep 12 03:54:04 2021
Results reported at Sun Sep 12 03:54:04 2021

Your job looked like:

------------------------------------------------------------
# LSBATCH: User input
/nfs/farm/g/glast/g/LCRepository/Likelihood/Scripts/LikelihoodAnalysis.py 4FGL_J1532.0+3016_daily_bin1216 233.016 30.2685 554515201 554774401 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 :                                   393.22 sec.
    Max Memory :                                 1257 MB
    Average Memory :                             225.83 MB
    Total Requested Memory :                     -
    Delta Memory :                               -
    Max Swap :                                   -
    Max Processes :                              5
    Max Threads :                                21
    Run time :                                   671 sec.
    Turnaround time :                            795 sec.

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

