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


Performing analysis on: 4FGL_J1532.0+3016_daily_bin1180
RA = 233.016, Dec = 30.2685
tmin = 545184001, tmax = 545443201
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='539169', job_status='RUN', time_executed='2021-09-12 03:42:48.704758', time_epoch_executed='1631443368.7' WHERE source_name='4FGL J1532.0+3016' and cadence='daily' and bin_id='1180'

Database successfully updated.
Done.

Creating custom output directory:
/scratch/kocevski/539169

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

Retrieving the FT1 file...

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

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

Retrieving 46 files...
Done.


Merging files...

Checksum keywords updated successfully.

Merged file saved to:
/scratch/kocevski/539169/ft1_4FGL_J1532.0+3016_daily_bin1180.fits


Retrieving the FT1 file...

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

Retrieving 46 files...
Done.


Merging files...

Merged file saved to:
/scratch/kocevski/539169/ft2_4FGL_J1532.0+3016_daily_bin1180.fits


Selecting the photons:
time -p gtselect infile=/scratch/kocevski/539169/ft1_4FGL_J1532.0+3016_daily_bin1180.fits outfile=/scratch/kocevski/539169/ft1_filteredMKT_4FGL_J1532.0+3016_daily_bin1180.fits ra=233.016 dec=30.2685 rad=12.0 tmin=545184001.0 tmax=545443201.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 4.03
user 3.78
sys 0.20

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

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

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

Generating the exposure map:
time -p gtexpmap evfile=/scratch/kocevski/539169/ft1_filtered_4FGL_J1532.0+3016_daily_bin1180.fits evtable="EVENTS" scfile=/scratch/kocevski/539169/ft2_4FGL_J1532.0+3016_daily_bin1180.fits sctable="SC_DATA" expcube=/scratch/kocevski/539169/ltcube_545184001_545443201_4FGL_J1532.0+3016_daily_bin1180.fits outfile=/scratch/kocevski/539169/expmap_545184001_545443201_4FGL_J1532.0+3016_daily_bin1180.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/539169/ltcube_545184001_545443201_4FGL_J1532.0+3016_daily_bin1180.fits
.....................!
real 192.45
user 185.71
sys 5.36

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/539169/ft1_filtered_4FGL_J1532.0+3016_daily_bin1180.fits scfile=/scratch/kocevski/539169/ft2_4FGL_J1532.0+3016_daily_bin1180.fits outfile=/scratch/kocevski/539169/cmap_545184001_545443201_4FGL_J1532.0+3016_daily_bin1180.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.16

Creating the high resolution counts map:
time -p gtbin evfile=/scratch/kocevski/539169/ft1_filtered_4FGL_J1532.0+3016_daily_bin1180.fits scfile=/scratch/kocevski/539169/ft2_4FGL_J1532.0+3016_daily_bin1180.fits outfile=/scratch/kocevski/539169/cmap_HighResolution_545184001_545443201_4FGL_J1532.0+3016_daily_bin1180.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.55
user 0.37
sys 0.17

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

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

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

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

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'norm      '    .10011E-03   1.0000         .10000E-03   10000.    
     2 'Prefactor '    46.982       1.0000         .10000E-03   10000.    
     3 'norm      '    20.661       1.0000         .10000E-03   10000.    
     4 'Prefactor '    .10056E-03   1.0000         .10000E-03   10000.    
     5 'Prefactor '    .10006E-03   1.0000         .10000E-03   10000.    
     6 'Prefactor '    .10655E-02   1.0000         .10000E-03   10000.    
     7 'norm      '    .10019E-03   1.0000         .10000E-03   10000.    
     8 'Prefactor '    123.37       1.0000         .10000E-03   10000.    
     9 'Prefactor '    20.753       1.0000         .10000E-03   10000.    
    10 'Prefactor '    .10000E-03   1.0000         .10000E-03   10000.    
    11 'norm      '    .10048E-03   1.0000         .10000E-03   10000.    
    12 'Prefactor '    .10155E-03   1.0000         .10000E-03   10000.    
    13 'Prefactor '    .10001E-03   1.0000         .10000E-03   10000.    
    14 'Prefactor '    .10038E-03   1.0000         .10000E-03   10000.    
    15 'norm      '    .10019E-03   1.0000         .10000E-03   10000.    
    16 'Prefactor '    3.6446       1.0000         .10000E-03   10000.    
    17 'Prefactor '    .10416E-03   1.0000         .10000E-03   10000.    
    18 'Prefactor '    11.926       1.0000         .10000E-03   10000.    
    19 'Normalizat'    .92521       1.0000         .10000E-01   10.000    
    20 'Prefactor '    1.0008       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=   4394.454     FROM MIGRAD    STATUS=CONVERGED    442 CALLS     2103 TOTAL
                     EDM=   .22E-09  STRATEGY=1  ERROR MATRIX UNCERTAINTY=   .3%

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  norm          .10000E-03    2.8858        .16765E-06** at limit **
   2  Prefactor     46.809        66.730       -.10716E-06    .89560E-05
   3  norm          20.658        18.458        .29387E-06    .13250E-05
   4  Prefactor     .10000E-03    10.250       -.18572E-06** at limit **
   5  Prefactor     .10000E-03    5.4195        .51662E-06** at limit **
   6  Prefactor     .10000E-03    9.4121       -.87236E-06** at limit **
   7  norm          .10000E-03    .94320       -.26598E-06** at limit **
   8  Prefactor     123.29        123.25       -.52409E-04    .10403E-06
   9  Prefactor     20.745        30.122        .14761E-04    .61913E-05
  10  Prefactor     .10000E-03    3.0170        .29953E-06** at limit **
  11  norm          .10000E-03    .86053        .27119E-06** at limit **
  12  Prefactor     .10000E-03    11.928        .28838E-06** at limit **
  13  Prefactor     .10000E-03    14.956        .34835E-06** at limit **
  14  Prefactor     .10000E-03    16.912       -.88923E-07** at limit **
  15  norm          .10000E-03    9.4045        .77959E-07** at limit **
  16  Prefactor     3.6421        4.0377       -.40348E-06   -.35394E-03
  17  Prefactor     .10000E-03    34.691       -.67909E-07** at limit **
  18  Prefactor     11.923        8.5886       -.16552E-06   -.47266E-04
  19  Normalizat    .92636        .24886        .35424E-05   -.47192E-04
  20  Prefactor     1.0001        .15871       -.10173E-05    .24589E-03
                               ERR DEF=  .500    
Final values: 
  norm       = 0.0001
  Prefactor  = 46.809
  norm       = 20.6584
  Prefactor  = 0.0001
  Prefactor  = 0.0001
  Prefactor  = 0.000100003
  norm       = 0.0001
  Prefactor  = 123.286
  Prefactor  = 20.7446
  Prefactor  = 0.0001
  norm       = 0.0001
  Prefactor  = 0.0001
  Prefactor  = 0.0001
  Prefactor  = 0.0001
  norm       = 0.0001
  Prefactor  = 3.64209
  Prefactor  = 0.0001
  Prefactor  = 11.9229
  Normalizat = 0.926358
  Prefactor  = 1.00011
 **********
 **   18 **HESSE 
 **********

 FCN=   4394.454     FROM HESSE     STATUS=OK           289 CALLS     2392 TOTAL
                     EDM=   .59E-09    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  norm          .10000E-03    2.8981        .10996E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   2  Prefactor     46.809        67.951        .58498E-04   -1.4339    
   3  norm          20.658        18.455        .88117E-04   -1.4799    
   4  Prefactor     .10000E-03    10.255        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   5  Prefactor     .10000E-03    5.4288        .15073E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   6  Prefactor     .10000E-03    86.807        .38696E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   7  norm          .10000E-03    .94459        .62847E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   8  Prefactor     123.29        123.34        .18119E-03   -1.3483    
   9  Prefactor     20.745        30.119        .87921E-04   -1.4797    
  10  Prefactor     .10000E-03    3.0210        .11244E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  11  norm          .10000E-03    .88932        .11991E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  12  Prefactor     .10000E-03    12.105        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  13  Prefactor     .10000E-03    14.958        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  14  Prefactor     .10000E-03    16.918        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  15  norm          .10000E-03    9.4068        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  16  Prefactor     3.6421        4.0387        .12975E-03   -1.5326    
  17  Prefactor     .10000E-03    35.965        .36285E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  18  Prefactor     11.923        8.5940        .11600E-03   -1.5017    
  19  Normalizat    .92636        .30482        .29680E-03   -.95540    
  20  Prefactor     1.0001        .19362        .19268E-03   -.92726    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 5.91136e-10
Minuit parameter uncertainties:
  1  4.44336e-06
  2  68.0633
  3  18.4604
  4  1.64059e-05
  5  1.67919e-05
  6  0.00101371
  7  1.27263e-05
  8  123.603
  9  30.1415
  10  3.94612e-06
  11  1.13729e-05
  12  5.09207e-05
  13  3.31948e-06
  14  5.27341e-05
  15  2.45382e-05
  16  4.03898
  17  0.000164647
  18  8.59489
  19  0.305391
  20  0.193751
Done.

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

Extracting fit parameters...

4FGL J1532.0+3016
   Spectrum: PowerLaw
268    Prefactor:  1.000e-04  3.319e-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.000e+00  1.938e-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.264e-01  3.054e-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: 5.45e-08 ph cm-2 s-1
Energy Flux Upper Limit: 4.06e-03 MeV cm-2 s-1

Saving results to:
/scratch/kocevski/539169/likelihoodResults_545184001_545443201_4FGL_J1532.0+3016_daily_bin1180.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) = 4394.45434996
delta logL = -0.000318107363455

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

MINUIT Return Code (Free Index): 102
logL (Free Index) = 4394.45403359
delta logL = -1.73806438397e-06

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'Prefactor '    .10010E-03   1.0000         .10000E-03   10000.    
     2 'Index     '    2.3114       1.0000          .0000       10.000    
     3 'Normalizat'    .92636       1.0000         .10000E-01   10.000    
     4 'Prefactor '    1.0001       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=   4394.454     FROM MIGRAD    STATUS=CONVERGED     94 CALLS      278 TOTAL
                     EDM=   .20E-09    STRATEGY= 1      ERR MATRIX NOT POS-DEF

  EXT PARAMETER                APPROXIMATE        STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor     .10310E-03    1.2752        .18142E-01** at limit **
   2  Index         2.2277        5.0710        .50000        .23541E-04
   3  Normalizat    .92636        .20174E-02    .29680E-03   -.70863E-05
   4  Prefactor     1.0001        .13643E-02    .19268E-03   -.20414E-04
                               ERR DEF=  .500    
Final values: 
  Prefactor  = 0.000103103
  Index      = 2.22775
  Normalizat = 0.926363
  Prefactor  = 1.0001
 **********
 **   18 **HESSE 
 **********

 FCN=   4394.454     FROM HESSE     STATUS=NOT POSDEF    29 CALLS      307 TOTAL
                     EDM=   .90E-08    STRATEGY= 1      ERR MATRIX NOT POS-DEF

  EXT PARAMETER                APPROXIMATE     INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  Prefactor     .10310E-03    59.332        .21373E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   2  Index         2.2277        6.2410        .50000       -.58770    
   3  Normalizat    .92636        .13832E-01    .11872E-04   -.95540    
   4  Prefactor     1.0001        .93536E-02    .77074E-05   -.92726    
                               ERR DEF=  .500    
Minuit fit quality: 2   estimated distance: 9.02684e-09
Minuit parameter uncertainties:
  1  0.0271661
  2  233.1
  3  0.0138317
  4  0.00935366
shell-init: error retrieving current directory: getcwd: cannot access parent directories: No such file or directory
rmdir: failed to remove `/scratch/kocevski/539169': 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) = 4394.45403323
delta logL = -1.37695860758e-06

Extracting fit parameters...

4FGL J1532.0+3016
   Spectrum: PowerLaw
268    Prefactor:  1.031e-04  2.717e-02  1.000e-04  1.000e+04 ( 1.000e-14)
269        Index:  2.228e+00  2.331e+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.000e+00  9.354e-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:  9.264e-01  1.383e-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/539169/cmap_HighResolution_545184001_545443201_4FGL_J1532.0+3016_daily_bin1180.png

Cleaning up...

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

Updating database...

UPDATE lightcurve_data_v2 SET energy_flux_upper_limit='4.06e-03', job_status='DONE', photon_flux_upper_limit='5.45e-08', time_completed='2021-09-12 03:51:33.589079', job_id='539169', GAL2='1.00', fit_tolerance='1e-08', EG2='0.93', EG='0.93', time_epoch_completed='1631443893.59', return_code2='102', ts='-0.00', comment='SUCCESS', return_code='0', GAL='1.00', dlogl='-1.38e-06', ts2='-0.00', photon_index_error='0.00', photon_index='1.92' WHERE bin_id='1180' AND source_name='4FGL J1532.0+3016' AND cadence='daily';

Database successfully updated.


Analysis Complete.


Sun Sep 12 03:51:33 PDT 2021


------------------------------------------------------------
Sender: LSF System <lsf@bullet0112>
Subject: Job 539169: <4FGL_J1532.0+3016_daily_bin1180> in cluster <slac> Done

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

Your job looked like:

------------------------------------------------------------
# LSBATCH: User input
/nfs/farm/g/glast/g/LCRepository/Likelihood/Scripts/LikelihoodAnalysis.py 4FGL_J1532.0+3016_daily_bin1180 233.016 30.2685 545184001 545443201 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 :                                   515.00 sec.
    Max Memory :                                 1256 MB
    Average Memory :                             340.11 MB
    Total Requested Memory :                     -
    Delta Memory :                               -
    Max Swap :                                   -
    Max Processes :                              5
    Max Threads :                                21
    Run time :                                   540 sec.
    Turnaround time :                            647 sec.

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

