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


Performing analysis on: 4FGL_J1532.0+3016_daily_bin936
RA = 233.016, Dec = 30.2685
tmin = 481939201, tmax = 482198401
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='538805', job_status='RUN', time_executed='2021-09-12 03:44:26.643123', time_epoch_executed='1631443466.64' WHERE source_name='4FGL J1532.0+3016' and cadence='daily' and bin_id='936'

Database successfully updated.
Done.

Creating custom output directory:
/scratch/kocevski/538805

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

Retrieving the FT1 file...

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

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

Retrieving 46 files...
Done.


Merging files...

Checksum keywords updated successfully.

Merged file saved to:
/scratch/kocevski/538805/ft1_4FGL_J1532.0+3016_daily_bin936.fits


Retrieving the FT1 file...

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

Retrieving 46 files...
Done.


Merging files...

Merged file saved to:
/scratch/kocevski/538805/ft2_4FGL_J1532.0+3016_daily_bin936.fits


Selecting the photons:
time -p gtselect infile=/scratch/kocevski/538805/ft1_4FGL_J1532.0+3016_daily_bin936.fits outfile=/scratch/kocevski/538805/ft1_filteredMKT_4FGL_J1532.0+3016_daily_bin936.fits ra=233.016 dec=30.2685 rad=12.0 tmin=481939201.0 tmax=482198401.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.58
user 3.35
sys 0.22

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

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

Generating the livetime cube:
time -p gtltcube evfile="/scratch/kocevski/538805/ft1_filtered_4FGL_J1532.0+3016_daily_bin936.fits" evtable="EVENTS" scfile=/scratch/kocevski/538805/ft2_4FGL_J1532.0+3016_daily_bin936.fits sctable="SC_DATA" outfile=/scratch/kocevski/538805/ltcube_481939201_482198401_4FGL_J1532.0+3016_daily_bin936.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/538805/ft2_4FGL_J1532.0+3016_daily_bin936.fits
.....................!
real 11.90
user 11.55
sys 0.32

Generating the exposure map:
time -p gtexpmap evfile=/scratch/kocevski/538805/ft1_filtered_4FGL_J1532.0+3016_daily_bin936.fits evtable="EVENTS" scfile=/scratch/kocevski/538805/ft2_4FGL_J1532.0+3016_daily_bin936.fits sctable="SC_DATA" expcube=/scratch/kocevski/538805/ltcube_481939201_482198401_4FGL_J1532.0+3016_daily_bin936.fits outfile=/scratch/kocevski/538805/expmap_481939201_482198401_4FGL_J1532.0+3016_daily_bin936.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/538805/ltcube_481939201_482198401_4FGL_J1532.0+3016_daily_bin936.fits
.....................!
real 191.55
user 185.45
sys 5.77

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/538805/ft1_filtered_4FGL_J1532.0+3016_daily_bin936.fits scfile=/scratch/kocevski/538805/ft2_4FGL_J1532.0+3016_daily_bin936.fits outfile=/scratch/kocevski/538805/cmap_481939201_482198401_4FGL_J1532.0+3016_daily_bin936.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.35
sys 0.16

Creating the high resolution counts map:
time -p gtbin evfile=/scratch/kocevski/538805/ft1_filtered_4FGL_J1532.0+3016_daily_bin936.fits scfile=/scratch/kocevski/538805/ft2_4FGL_J1532.0+3016_daily_bin936.fits outfile=/scratch/kocevski/538805/cmap_HighResolution_481939201_482198401_4FGL_J1532.0+3016_daily_bin936.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/538805/ft1_filtered_4FGL_J1532.0+3016_daily_bin936.fits evtable="EVENTS" scfile=/scratch/kocevski/538805/ft2_4FGL_J1532.0+3016_daily_bin936.fits sctable="SC_DATA" srcmdl=/scratch/kocevski/538805/Model_4FGL_J1532.0+3016_daily_bin936.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/538805/ft1_filtered_4FGL_J1532.0+3016_daily_bin936.fits.....................!
real 45.90
user 44.60
sys 1.21

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

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

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

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'norm      '    33.444       1.0000         .10000E-03   10000.    
     2 'Prefactor '    .50792E-03   1.0000         .10000E-03   10000.    
     3 'norm      '    .10127E-03   1.0000         .10000E-03   10000.    
     4 'Prefactor '    25.992       1.0000         .10000E-03   10000.    
     5 'Prefactor '    .10378E-03   1.0000         .10000E-03   10000.    
     6 'Prefactor '    .10018E-03   1.0000         .10000E-03   10000.    
     7 'norm      '    2.6307       1.0000         .10000E-03   10000.    
     8 'Prefactor '    .10000E-03   1.0000         .10000E-03   10000.    
     9 'Prefactor '    14.249       1.0000         .10000E-03   10000.    
    10 'Prefactor '    .10004E-03   1.0000         .10000E-03   10000.    
    11 'norm      '    .10002E-03   1.0000         .10000E-03   10000.    
    12 'Prefactor '    11.053       1.0000         .10000E-03   10000.    
    13 'Prefactor '    .10002E-03   1.0000         .10000E-03   10000.    
    14 'Prefactor '    6.1454       1.0000         .10000E-03   10000.    
    15 'norm      '    .11950E-03   1.0000         .10000E-03   10000.    
    16 'Prefactor '    .10001E-03   1.0000         .10000E-03   10000.    
    17 'Prefactor '    .10011E-03   1.0000         .10000E-03   10000.    
    18 'Prefactor '    1.3673       1.0000         .10000E-03   10000.    
    19 'Normalizat'    1.0439       1.0000         .10000E-01   10.000    
    20 'Prefactor '    .74663       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=   5794.323     FROM MIGRAD    STATUS=CONVERGED    402 CALLS     1750 TOTAL
                     EDM=   .56E-10  STRATEGY=1  ERROR MATRIX UNCERTAINTY=  1.5%

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  norm          33.442        10.020       -.22967E-07   -.72282E-06
   2  Prefactor     .10000E-03    137.99       -.60790E-05** at limit **
   3  norm          .10000E-03    10.397       -.27970E-07** at limit **
   4  Prefactor     25.977        17.577       -.25501E-06   -.44567E-04
   5  Prefactor     .10000E-03    10.477       -.24039E-06** at limit **
   6  Prefactor     .10000E-03    7.8585        .59494E-07** at limit **
   7  norm          2.6308        1.6678        .13491E-06    .29495E-04
   8  Prefactor     .10000E-03    29.925        .16756E-06** at limit **
   9  Prefactor     14.244        43.247        .73111E-06   -.98693E-05
  10  Prefactor     .10000E-03    4.8686        .64097E-07** at limit **
  11  norm          .10000E-03    .35283       -.15184E-06** at limit **
  12  Prefactor     11.054        7.8120        .14240E-05    .71003E-04
  13  Prefactor     .10000E-03    13.292       -.21491E-06** at limit **
  14  Prefactor     6.1500        17.593        .58278E-06   -.51513E-05
  15  norm          .10000E-03    15.942        .68643E-06** at limit **
  16  Prefactor     .10000E-03    .52696        .11897E-07** at limit **
  17  Prefactor     .10000E-03    5.0951        .92101E-07** at limit **
  18  Prefactor     1.3690        3.3558        .11141E-05    .35223E-04
  19  Normalizat    1.0437        .17932       -.16093E-05    .13332E-04
  20  Prefactor     .74660        .12619       -.85482E-07   -.87723E-04
                               ERR DEF=  .500    
Final values: 
  norm       = 33.4421
  Prefactor  = 0.000100004
  norm       = 0.0001
  Prefactor  = 25.977
  Prefactor  = 0.0001
  Prefactor  = 0.0001
  norm       = 2.63084
  Prefactor  = 0.0001
  Prefactor  = 14.2435
  Prefactor  = 0.0001
  norm       = 0.0001
  Prefactor  = 11.0541
  Prefactor  = 0.0001
  Prefactor  = 6.14997
  norm       = 0.0001
  Prefactor  = 0.0001
  Prefactor  = 0.0001
  Prefactor  = 1.36899
  Normalizat = 1.04373
  Prefactor  = 0.746599
 **********
 **   18 **HESSE 
 **********

 FCN=   5794.323     FROM HESSE     STATUS=OK           289 CALLS     2039 TOTAL
                     EDM=   .11E-09    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  norm          33.442        10.023        .69292E-04   -1.4551    
   2  Prefactor     .10000E-03    141.31        .42299E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   3  norm          .10000E-03    10.555        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   4  Prefactor     25.977        17.645        .78575E-04   -1.4688    
   5  Prefactor     .10000E-03    10.658        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   6  Prefactor     .10000E-03    7.9265        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   7  norm          2.6308        1.6607        .73993E-04   -1.5384    
   8  Prefactor     .10000E-03    29.959        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   9  Prefactor     14.244        43.316        .10611E-03   -1.4953    
  10  Prefactor     .10000E-03    4.9185        .16402E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  11  norm          .10000E-03    .37248        .88619E-04   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  12  Prefactor     11.054        7.8698        .60254E-03   -1.5043    
  13  Prefactor     .10000E-03    13.323        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  14  Prefactor     6.1500        17.477        .16195E-03   -1.5212    
  15  norm          .10000E-03    15.969        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  16  Prefactor     .10000E-03    .52946        .53952E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  17  Prefactor     .10000E-03    5.1575        .16782E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  18  Prefactor     1.3690        3.3506        .20604E-03   -1.5474    
  19  Normalizat    1.0437        .20384        .23818E-03   -.91580    
  20  Prefactor     .74660        .14585        .20893E-03   -1.0173    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 1.10905e-10
Minuit parameter uncertainties:
  1  10.0231
  2  0.00146613
  3  2.88489e-05
  4  17.6486
  5  3.39607e-05
  6  9.79608e-06
  7  1.66074
  8  6.59913e-05
  9  43.4121
  10  6.42449e-06
  11  4.36648e-06
  12  7.87056
  13  5.71869e-05
  14  17.4917
  15  1.74966e-06
  16  1.90169e-07
  17  8.40862e-06
  18  3.35106
  19  0.203997
  20  0.145926
Done.

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

Extracting fit parameters...

4FGL J1532.0+3016
   Spectrum: PowerLaw
268    Prefactor:  1.000e-04  5.719e-05  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:  7.466e-01  1.459e-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.044e+00  2.040e-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: 4.24e-08 ph cm-2 s-1
Energy Flux Upper Limit: 3.16e-03 MeV cm-2 s-1

Saving results to:
/scratch/kocevski/538805/likelihoodResults_481939201_482198401_4FGL_J1532.0+3016_daily_bin936.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) = 5794.32374606
delta logL = -0.000357283187441

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

MINUIT Return Code (Free Index): 0
logL (Free Index) = 5794.32339021
delta logL = -1.44127443491e-06

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'Prefactor '    .11253E-03   1.0000         .10000E-03   10000.    
     2 'Index     '    1.9006       1.0000          .0000       10.000    
     3 'Normalizat'    1.0440       1.0000         .10000E-01   10.000    
     4 'Prefactor '    .74640       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=   5794.323     FROM MIGRAD    STATUS=CONVERGED     53 CALLS      203 TOTAL
                     EDM=   .12E-08    STRATEGY= 1      ERR MATRIX NOT POS-DEF

  EXT PARAMETER                APPROXIMATE        STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor     .10000E-03    467.47        .90712E-02** at limit **
   2  Index         1.8796        5.8977        .50000        .11516E-04
   3  Normalizat    1.0437        .26571E-01    .40977E-01   -.95272E-05
   4  Prefactor     .74660        .20136E-01    .43016E-01    .12561E-04
                               ERR DEF=  .500    
Final values: 
  Prefactor  = 0.0001
  Index      = 1.8796
  Normalizat = 1.04373
  Prefactor  = 0.7466
 **********
 **   18 **HESSE 
 **********

 FCN=   5794.323     FROM HESSE     STATUS=OK            33 CALLS      236 TOTAL
                     EDM=   .18E-09    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  Prefactor     .10000E-03    13.955        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   2  Index         1.8796        5.9245        .50000       -.67395    
   3  Normalizat    1.0437        .18803        .23818E-03   -.91580    
   4  Prefactor     .74660        .14249        .20893E-03   -1.0173    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 1.83076e-10
Minuit parameter uncertainties:
  1  0.000154802
  2  3.93572
  3  0.188155
  4  0.142562
shell-init: error retrieving current directory: getcwd: cannot access parent directories: No such file or directory
rmdir: failed to remove `/scratch/kocevski/538805': 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) = 5794.32338864
delta logL = 1.36992639455e-07

Extracting fit parameters...

4FGL J1532.0+3016
   Spectrum: PowerLaw
268    Prefactor:  1.000e-04  1.548e-04  1.000e-04  1.000e+04 ( 1.000e-14)
269        Index:  1.880e+00  3.936e+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:  7.466e-01  1.426e-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.044e+00  1.882e-01  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/538805/cmap_HighResolution_481939201_482198401_4FGL_J1532.0+3016_daily_bin936.png

Cleaning up...

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

Updating database...

UPDATE lightcurve_data_v2 SET energy_flux_upper_limit='3.16e-03', job_status='DONE', photon_flux_upper_limit='4.24e-08', time_completed='2021-09-12 03:53:50.763311', job_id='538805', GAL2='0.75', fit_tolerance='1e-08', EG2='1.04', EG='1.04', time_epoch_completed='1631444030.76', return_code2='0', ts='-0.00', comment='SUCCESS', return_code='0', GAL='0.75', dlogl='1.37e-07', ts2='-0.00', photon_index_error='0.00', photon_index='1.92' WHERE bin_id='936' AND source_name='4FGL J1532.0+3016' AND cadence='daily';

Database successfully updated.


Analysis Complete.


Sun Sep 12 03:53:50 PDT 2021


------------------------------------------------------------
Sender: LSF System <lsf@bullet0158>
Subject: Job 538805: <4FGL_J1532.0+3016_daily_bin936> in cluster <slac> Done

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

Your job looked like:

------------------------------------------------------------
# LSBATCH: User input
/nfs/farm/g/glast/g/LCRepository/Likelihood/Scripts/LikelihoodAnalysis.py 4FGL_J1532.0+3016_daily_bin936 233.016 30.2685 481939201 482198401 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 :                                   554.00 sec.
    Max Memory :                                 1256 MB
    Average Memory :                             251.70 MB
    Total Requested Memory :                     -
    Delta Memory :                               -
    Max Swap :                                   -
    Max Processes :                              5
    Max Threads :                                21
    Run time :                                   792 sec.
    Turnaround time :                            808 sec.

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

