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


Performing analysis on: 4FGL_J1532.0+3016_daily_bin78
RA = 233.016, Dec = 30.2685
tmin = 259545601, tmax = 259804801
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='534354', job_status='RUN', time_executed='2021-09-12 03:28:01.111520', time_epoch_executed='1631442481.11' WHERE source_name='4FGL J1532.0+3016' and cadence='daily' and bin_id='78'

Database successfully updated.
Done.

Creating custom output directory:
/scratch/kocevski/534354

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

Retrieving the FT1 file...

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

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

Retrieving 47 files...
Done.


Merging files...

Checksum keywords updated successfully.

Merged file saved to:
/scratch/kocevski/534354/ft1_4FGL_J1532.0+3016_daily_bin78.fits


Retrieving the FT1 file...

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

Retrieving 47 files...
Done.


Merging files...

Merged file saved to:
/scratch/kocevski/534354/ft2_4FGL_J1532.0+3016_daily_bin78.fits


Selecting the photons:
time -p gtselect infile=/scratch/kocevski/534354/ft1_4FGL_J1532.0+3016_daily_bin78.fits outfile=/scratch/kocevski/534354/ft1_filteredMKT_4FGL_J1532.0+3016_daily_bin78.fits ra=233.016 dec=30.2685 rad=12.0 tmin=259545601.0 tmax=259804801.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.65
user 1.49
sys 0.15

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

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

Generating the livetime cube:
time -p gtltcube evfile="/scratch/kocevski/534354/ft1_filtered_4FGL_J1532.0+3016_daily_bin78.fits" evtable="EVENTS" scfile=/scratch/kocevski/534354/ft2_4FGL_J1532.0+3016_daily_bin78.fits sctable="SC_DATA" outfile=/scratch/kocevski/534354/ltcube_259545601_259804801_4FGL_J1532.0+3016_daily_bin78.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/534354/ft2_4FGL_J1532.0+3016_daily_bin78.fits
.....................!
real 12.36
user 11.97
sys 0.37

Generating the exposure map:
time -p gtexpmap evfile=/scratch/kocevski/534354/ft1_filtered_4FGL_J1532.0+3016_daily_bin78.fits evtable="EVENTS" scfile=/scratch/kocevski/534354/ft2_4FGL_J1532.0+3016_daily_bin78.fits sctable="SC_DATA" expcube=/scratch/kocevski/534354/ltcube_259545601_259804801_4FGL_J1532.0+3016_daily_bin78.fits outfile=/scratch/kocevski/534354/expmap_259545601_259804801_4FGL_J1532.0+3016_daily_bin78.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/534354/ltcube_259545601_259804801_4FGL_J1532.0+3016_daily_bin78.fits
.....................!
real 191.04
user 185.01
sys 5.70

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/534354/ft1_filtered_4FGL_J1532.0+3016_daily_bin78.fits scfile=/scratch/kocevski/534354/ft2_4FGL_J1532.0+3016_daily_bin78.fits outfile=/scratch/kocevski/534354/cmap_259545601_259804801_4FGL_J1532.0+3016_daily_bin78.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.51
user 0.36
sys 0.15

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

Creating the likelihood object...
obs = UnbinnedObs('/scratch/kocevski/534354/ft1_filtered_4FGL_J1532.0+3016_daily_bin78.fits', '/scratch/kocevski/534354/ft2_4FGL_J1532.0+3016_daily_bin78.fits', expMap='/scratch/kocevski/534354/expmap_259545601_259804801_4FGL_J1532.0+3016_daily_bin78.fits', expCube='/scratch/kocevski/534354/ltcube_259545601_259804801_4FGL_J1532.0+3016_daily_bin78.fits', irfs='P8R3_SOURCE_V2')
like = UnbinnedAnalysis(obs, '/scratch/kocevski/534354/Model_4FGL_J1532.0+3016_daily_bin78.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/534354/ft1_filtered_4FGL_J1532.0+3016_daily_bin78.fits
Spacecraft file(s): /scratch/kocevski/534354/ft2_4FGL_J1532.0+3016_daily_bin78.fits
Exposure map: /scratch/kocevski/534354/expmap_259545601_259804801_4FGL_J1532.0+3016_daily_bin78.fits
Exposure cube: /scratch/kocevski/534354/ltcube_259545601_259804801_4FGL_J1532.0+3016_daily_bin78.fits
IRFs: P8R3_SOURCE_V2
Source model file: /scratch/kocevski/534354/Model_4FGL_J1532.0+3016_daily_bin78.xml
Optimizer: MINUIT
Statistic: UNBINNED

Performing an iterative likelihood fit...

Fit tolerance = 1

Performing likelihood fit...
Done.

MINUIT Return Code (Fixed Index): 102
logL (Fixed Index) = 8765.88853737

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

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

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'norm      '    7.1212       1.0000         .10000E-03   10000.    
     2 'Prefactor '    9.9473       1.0000         .10000E-03   10000.    
     3 'norm      '    6.4761       1.0000         .10000E-03   10000.    
     4 'Prefactor '    .10459E-03   1.0000         .10000E-03   10000.    
     5 'Prefactor '    .10058E-03   1.0000         .10000E-03   10000.    
     6 'Prefactor '    9.8997       1.0000         .10000E-03   10000.    
     7 'norm      '    .10083E-03   1.0000         .10000E-03   10000.    
     8 'Prefactor '    4.0531       1.0000         .10000E-03   10000.    
     9 'Prefactor '    79.769       1.0000         .10000E-03   10000.    
    10 'Prefactor '    .10136E-03   1.0000         .10000E-03   10000.    
    11 'norm      '    12.583       1.0000         .10000E-03   10000.    
    12 'Prefactor '    .95386E-01   1.0000         .10000E-03   10000.    
    13 'Prefactor '    .10124E-03   1.0000         .10000E-03   10000.    
    14 'Prefactor '    4.7278       1.0000         .10000E-03   10000.    
    15 'norm      '    .76365E-02   1.0000         .10000E-03   10000.    
    16 'Prefactor '    2.3340       1.0000         .10000E-03   10000.    
    17 'Prefactor '    6.4982       1.0000         .10000E-03   10000.    
    18 'Prefactor '    3.7224       1.0000         .10000E-03   10000.    
    19 'Normalizat'    1.2928       1.0000         .10000E-01   10.000    
    20 'Prefactor '    .65745       1.0000          .0000       10.000    
 **********
 **   15 **SET ERR    .5000    
 **********
 **********
 **   16 **SET GRAD    1.000    
 **********
 **********
 **   17 **MINIMIZE    .5880E+05   .2000E-04
 **********

 MIGRAD MINIMIZATION HAS CONVERGED.

 FCN=   8765.880     FROM MIGRAD    STATUS=CONVERGED    113 CALLS     2125 TOTAL
                     EDM=   .12E-08  STRATEGY=1  ERROR MATRIX UNCERTAINTY=  3.4%

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  norm          7.1193        4.6565       -.17018E-05    .24836E-03
   2  Prefactor     9.9077        17.377        .21375E-04    .43054E-03
   3  norm          6.4733        2.5244       -.49982E-05   -.83306E-02
   4  Prefactor     .10000E-03    12.846       -.34769E-05** at limit **
   5  Prefactor     .10000E-03    6.4729       -.36385E-05** at limit **
   6  Prefactor     9.9031        1.2357        .12036E-05    .31852E-02
   7  norm          .10000E-03    2.9700        .60763E-06** at limit **
   8  Prefactor     4.0294        2.9902       -.16917E-05    .57216E-03
   9  Prefactor     79.658        11.813        .40275E-05   -.96099E-02
  10  Prefactor     .10000E-03    7.2347       -.48489E-06** at limit **
  11  norm          12.596        1.8761       -.67843E-06   -.31387E-02
  12  Prefactor     .10131E-03    958.01        .85365E-04** at limit **
  13  Prefactor     .10000E-03    8.0490        .67471E-05** at limit **
  14  Prefactor     4.7012        15.805       -.17566E-04   -.44794E-03
  15  norm          .59414E-03    49.087       -.35193E-05** at limit **
  16  Prefactor     2.3347        2.2854        .66147E-06    .14985E-03
  17  Prefactor     6.5020        8.3131       -.95080E-05    .16107E-02
  18  Prefactor     3.7225        2.7667        .46152E-06    .25298E-03
  19  Normalizat    1.2928        .19230       -.34229E-05   -.95594E-04
  20  Prefactor     .65751        .13457        .31953E-05   -.18908E-03
                               ERR DEF=  .500    
Final values: 
  norm       = 7.11931
  Prefactor  = 9.90771
  norm       = 6.47333
  Prefactor  = 0.0001
  Prefactor  = 0.0001
  Prefactor  = 9.90306
  norm       = 0.0001
  Prefactor  = 4.02938
  Prefactor  = 79.6583
  Prefactor  = 0.0001
  norm       = 12.5958
  Prefactor  = 0.000101308
  Prefactor  = 0.0001
  Prefactor  = 4.70119
  norm       = 0.000594145
  Prefactor  = 2.33469
  Prefactor  = 6.50202
  Prefactor  = 3.72251
  Normalizat = 1.29283
  Prefactor  = 0.657513
 **********
 **   18 **HESSE 
 **********

 FCN=   8765.880     FROM HESSE     STATUS=OK           349 CALLS     2474 TOTAL
                     EDM=   .31E-06    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  norm          7.1193        4.6563        .37580E-02   -1.5174    
   2  Prefactor     9.9077        17.749        .31763E-02   -1.5078    
   3  norm          6.4733        5.8788        .39427E-02   -1.5199    
   4  Prefactor     .10000E-03    12.757        .90712E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   5  Prefactor     .10000E-03    6.3823        .90712E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   6  Prefactor     9.9031        6.5518        .31839E-02   -1.5078    
   7  norm          .10000E-03    .65262        .41173E-01   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   8  Prefactor     4.0294        194.61        .50071E-02   -1.5306    
   9  Prefactor     79.658        44.052        .11242E-02   -1.3921    
  10  Prefactor     .10000E-03    7.1090        .90712E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  11  norm          12.596        2.2839        .28231E-02   -1.4998    
  12  Prefactor     .10131E-03    9.2284        .94892E-01   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  13  Prefactor     .10000E-03    8.0313        .90712E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  14  Prefactor     4.7012        24.772        .46265E-02   -1.5274    
  15  norm          .59414E-03    16.719        .92781E-01   -1.5704    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  16  Prefactor     2.3347        2.3061        .67103E-02   -1.5402    
  17  Prefactor     6.5020        8.7988        .39359E-02   -1.5198    
  18  Prefactor     3.7225        2.7681        .52325E-02   -1.5322    
  19  Normalizat    1.2928        .16720        .56270E-01   -.83781    
  20  Prefactor     .65751        .11597        .41832E-01   -1.0522    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 3.12869e-07
Minuit parameter uncertainties:
  1  4.65654
  2  17.758
  3  5.8793
  4  3.31827e-05
  5  4.43184e-05
  6  6.55226
  7  1.1714e-06
  8  56.1992
  9  44.0701
  10  5.17183e-06
  11  2.28391
  12  0.00694981
  13  0.000113092
  14  21.5971
  15  0.181836
  16  2.30621
  17  8.80053
  18  2.76818
  19  0.167269
  20  0.116013
Done.

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

Extracting fit parameters...

4FGL J1532.0+3016
   Spectrum: PowerLaw
268    Prefactor:  1.000e-04  1.131e-04  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:  6.575e-01  1.160e-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.293e+00  1.673e-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: 3.05e-08 ph cm-2 s-1
Energy Flux Upper Limit: 2.27e-03 MeV cm-2 s-1

Saving results to:
/scratch/kocevski/534354/likelihoodResults_259545601_259804801_4FGL_J1532.0+3016_daily_bin78.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) = 8765.88022855
delta logL = -0.000586824975471

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

MINUIT Return Code (Free Index): 102
logL (Free Index) = 8765.87964175
delta logL = -1.95504981093e-08

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'Prefactor '    .10185E-03   1.0000         .10000E-03   10000.    
     2 'Index     '    1.9039       1.0000          .0000       10.000    
     3 'Normalizat'    1.2928       1.0000         .10000E-01   10.000    
     4 'Prefactor '    .65752       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=   8765.880     FROM MIGRAD    STATUS=CONVERGED     89 CALLS      241 TOTAL
                     EDM=   .70E-08    STRATEGY= 1      ERR MATRIX NOT POS-DEF

  EXT PARAMETER                APPROXIMATE        STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor     .10120E-03    76.328        .18142E-02** at limit **
   2  Index         1.8500        9.0735        .50000        .16340E-04
   3  Normalizat    1.2928        .12302E-01    .24883E-03    .10509E-04
   4  Prefactor     .65751        .89131E-02    .24309E-03    .57056E-05
                               ERR DEF=  .500    
Final values: 
  Prefactor  = 0.000101202
  Index      = 1.84999
  Normalizat = 1.29283
  Prefactor  = 0.657514
 **********
 **   18 **HESSE 
 **********

 FCN=   8765.880     FROM HESSE     STATUS=NOT POSDEF    29 CALLS      270 TOTAL
                     EDM=   .31E-07    STRATEGY= 1      ERR MATRIX NOT POS-DEF

  EXT PARAMETER                APPROXIMATE     INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  Prefactor     .10120E-03    331.34        .36285E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   2  Index         1.8500        5.9085        .50000       -.68156    
   3  Normalizat    1.2928        .26649E-01    .99530E-05   -.83781    
   4  Prefactor     .65751        .19307E-01    .97236E-05   -1.0522    
                               ERR DEF=  .500    
Minuit fit quality: 2   estimated distance: 3.14552e-08
Minuit parameter uncertainties:
  1  0.0401414
  2  594.042
  3  0.0266497
  4  0.0193075
shell-init: error retrieving current directory: getcwd: cannot access parent directories: No such file or directory
rmdir: failed to remove `/scratch/kocevski/534354': 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) = 8765.87964146
delta logL = 2.65023118118e-07

Extracting fit parameters...

4FGL J1532.0+3016
   Spectrum: PowerLaw
268    Prefactor:  1.012e-04  4.014e-02  1.000e-04  1.000e+04 ( 1.000e-14)
269        Index:  1.850e+00  5.940e+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:  6.575e-01  1.931e-02  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.293e+00  2.665e-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 -1.000e-01 [aplpy.core]
INFO: Auto-setting vmax to  1.110e+00 [aplpy.core]
Saving /scratch/kocevski/534354/cmap_HighResolution_259545601_259804801_4FGL_J1532.0+3016_daily_bin78.png

Cleaning up...

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

Updating database...

UPDATE lightcurve_data_v2 SET energy_flux_upper_limit='2.27e-03', job_status='DONE', photon_flux_upper_limit='3.05e-08', time_completed='2021-09-12 03:40:07.365290', job_id='534354', GAL2='0.66', fit_tolerance='1e-08', EG2='1.29', EG='1.29', time_epoch_completed='1631443207.37', return_code2='102', ts='-0.00', comment='SUCCESS', return_code='0', GAL='0.66', dlogl='2.65e-07', ts2='-0.00', photon_index_error='0.00', photon_index='1.92' WHERE bin_id='78' AND source_name='4FGL J1532.0+3016' AND cadence='daily';

Database successfully updated.


Analysis Complete.


Sun Sep 12 03:40:07 PDT 2021


------------------------------------------------------------
Sender: LSF System <scs@bullet0009>
Subject: Job 534354: <4FGL_J1532.0+3016_daily_bin78> in cluster <slac> Done

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

Your job looked like:

------------------------------------------------------------
# LSBATCH: User input
/nfs/farm/g/glast/g/LCRepository/Likelihood/Scripts/LikelihoodAnalysis.py 4FGL_J1532.0+3016_daily_bin78 233.016 30.2685 259545601 259804801 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 :                                   724.00 sec.
    Max Memory :                                 1239 MB
    Average Memory :                             302.54 MB
    Total Requested Memory :                     -
    Delta Memory :                               -
    Max Swap :                                   -
    Max Processes :                              7
    Max Threads :                                21
    Run time :                                   878 sec.
    Turnaround time :                            880 sec.

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

