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


Performing analysis on: 4FGL_J1132.7+0034_daily_bin757
RA = 173.196, Dec = 0.5737
tmin = 435542401, tmax = 435801601
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='921195', job_status='RUN', time_executed='2021-09-04 03:44:33.435627', time_epoch_executed='1630752273.44' WHERE source_name='4FGL J1132.7+0034' and cadence='daily' and bin_id='757'

Database successfully updated.
Done.

Creating custom output directory:
/scratch/kocevski/921195

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

Retrieving the FT1 file...

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

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

Retrieving 46 files...
Done.


Merging files...

Checksum keywords updated successfully.

Merged file saved to:
/scratch/kocevski/921195/ft1_4FGL_J1132.7+0034_daily_bin757.fits


Retrieving the FT1 file...

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

Retrieving 46 files...
Done.


Merging files...

Merged file saved to:
/scratch/kocevski/921195/ft2_4FGL_J1132.7+0034_daily_bin757.fits


Selecting the photons:
time -p gtselect infile=/scratch/kocevski/921195/ft1_4FGL_J1132.7+0034_daily_bin757.fits outfile=/scratch/kocevski/921195/ft1_filteredMKT_4FGL_J1132.7+0034_daily_bin757.fits ra=173.196 dec=0.5737 rad=12.0 tmin=435542401.0 tmax=435801601.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 5.49
user 5.22
sys 0.24

Adding sun position to ft2 file:
/nfs/farm/g/glast/g/LCRepository/Repository/bin/sunpos /scratch/kocevski/921195/ft2_4FGL_J1132.7+0034_daily_bin757.fits

Selecting the good time intervals:
time -p gtmktime scfile=/scratch/kocevski/921195/ft2_4FGL_J1132.7+0034_daily_bin757.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/921195/ft1_filteredMKT_4FGL_J1132.7+0034_daily_bin757.fits evtable="EVENTS" outfile="/scratch/kocevski/921195/ft1_filtered_4FGL_J1132.7+0034_daily_bin757.fits" apply_filter=yes overwrite=yes header_obstimes=yes tstart=0.0 tstop=0.0 gtifile="default" chatter=3 clobber=yes debug=no gui=no mode="ql"

WARNING: version mismatch between CFITSIO header (v3.43) and linked library (v3.41).

This is gtmktime version HEAD
Applying GTI filter:
IN_SAA!=T && LIVETIME>0 && gtifilter('/nfs/farm/g/glast/g/LCRepository/Likelihood/GTIs/nogrb.gti',(START+STOP)/2) && (angsep(RA_SUN,DEC_SUN,RA_ZENITH,DEC_ZENITH)>115 || gtifilter('/nfs/farm/g/glast/g/LCRepository/Likelihood/GTIs/nosolarflares.gti',(START+STOP)/2))
real 0.50
user 0.32
sys 0.17

Generating the livetime cube:
time -p gtltcube evfile="/scratch/kocevski/921195/ft1_filtered_4FGL_J1132.7+0034_daily_bin757.fits" evtable="EVENTS" scfile=/scratch/kocevski/921195/ft2_4FGL_J1132.7+0034_daily_bin757.fits sctable="SC_DATA" outfile=/scratch/kocevski/921195/ltcube_435542401_435801601_4FGL_J1132.7+0034_daily_bin757.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/921195/ft2_4FGL_J1132.7+0034_daily_bin757.fits
.....................!
real 15.69
user 15.30
sys 0.35

Generating the exposure map:
time -p gtexpmap evfile=/scratch/kocevski/921195/ft1_filtered_4FGL_J1132.7+0034_daily_bin757.fits evtable="EVENTS" scfile=/scratch/kocevski/921195/ft2_4FGL_J1132.7+0034_daily_bin757.fits sctable="SC_DATA" expcube=/scratch/kocevski/921195/ltcube_435542401_435801601_4FGL_J1132.7+0034_daily_bin757.fits outfile=/scratch/kocevski/921195/expmap_435542401_435801601_4FGL_J1132.7+0034_daily_bin757.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/921195/ltcube_435542401_435801601_4FGL_J1132.7+0034_daily_bin757.fits
.....................!
real 189.36
user 184.59
sys 4.39

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 193 point sources and 0 extended sources

Setting source of interest to:
4FGL J1132.7+0034 @ 173.196 0.5737

Creating the counts map:
time -p gtbin evfile=/scratch/kocevski/921195/ft1_filtered_4FGL_J1132.7+0034_daily_bin757.fits scfile=/scratch/kocevski/921195/ft2_4FGL_J1132.7+0034_daily_bin757.fits outfile=/scratch/kocevski/921195/cmap_435542401_435801601_4FGL_J1132.7+0034_daily_bin757.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=173.196 yref=0.5737 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.73
user 0.34
sys 0.19

Creating the high resolution counts map:
time -p gtbin evfile=/scratch/kocevski/921195/ft1_filtered_4FGL_J1132.7+0034_daily_bin757.fits scfile=/scratch/kocevski/921195/ft2_4FGL_J1132.7+0034_daily_bin757.fits outfile=/scratch/kocevski/921195/cmap_HighResolution_435542401_435801601_4FGL_J1132.7+0034_daily_bin757.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=173.196 yref=0.5737 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.65
user 0.39
sys 0.15

Computing the diffuse response:
time -p gtdiffrsp evfile=/scratch/kocevski/921195/ft1_filtered_4FGL_J1132.7+0034_daily_bin757.fits evtable="EVENTS" scfile=/scratch/kocevski/921195/ft2_4FGL_J1132.7+0034_daily_bin757.fits sctable="SC_DATA" srcmdl=/scratch/kocevski/921195/Model_4FGL_J1132.7+0034_daily_bin757.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/921195/ft1_filtered_4FGL_J1132.7+0034_daily_bin757.fits.....................!
real 53.94
user 51.89
sys 1.21

Creating the likelihood object...
obs = UnbinnedObs('/scratch/kocevski/921195/ft1_filtered_4FGL_J1132.7+0034_daily_bin757.fits', '/scratch/kocevski/921195/ft2_4FGL_J1132.7+0034_daily_bin757.fits', expMap='/scratch/kocevski/921195/expmap_435542401_435801601_4FGL_J1132.7+0034_daily_bin757.fits', expCube='/scratch/kocevski/921195/ltcube_435542401_435801601_4FGL_J1132.7+0034_daily_bin757.fits', irfs='P8R3_SOURCE_V2')
like = UnbinnedAnalysis(obs, '/scratch/kocevski/921195/Model_4FGL_J1132.7+0034_daily_bin757.xml', optimizer='MINUIT')

Using source of interest name: '4FGL J1132.7+0034'

4FGL J1132.7+0034
   Spectrum: PowerLaw
308    Prefactor:  2.058e+00  0.000e+00  1.000e-04  1.000e+04 ( 1.000e-12)
309        Index:  2.136e+00  0.000e+00  0.000e+00  1.000e+01 (-1.000e+00) fixed
310        Scale:  1.103e+03  0.000e+00  3.000e+01  5.000e+05 ( 1.000e+00) fixed


Likelihood Fit Parameters:
Event file(s): /scratch/kocevski/921195/ft1_filtered_4FGL_J1132.7+0034_daily_bin757.fits
Spacecraft file(s): /scratch/kocevski/921195/ft2_4FGL_J1132.7+0034_daily_bin757.fits
Exposure map: /scratch/kocevski/921195/expmap_435542401_435801601_4FGL_J1132.7+0034_daily_bin757.fits
Exposure cube: /scratch/kocevski/921195/ltcube_435542401_435801601_4FGL_J1132.7+0034_daily_bin757.fits
IRFs: P8R3_SOURCE_V2
Source model file: /scratch/kocevski/921195/Model_4FGL_J1132.7+0034_daily_bin757.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) = 5705.64404347

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

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

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'Prefactor '    20.707       1.0000         .10000E-03   10000.    
     2 'norm      '    .23627       1.0000         .10000E-03   10000.    
     3 'Prefactor '    12.252       1.0000         .10000E-03   10000.    
     4 'Prefactor '    5.5688       1.0000         .10000E-03   10000.    
     5 'Prefactor '    9.2027       1.0000         .10000E-03   10000.    
     6 'Prefactor '    11.364       1.0000         .10000E-03   10000.    
     7 'Prefactor '    .10000E-03   1.0000         .10000E-03   10000.    
     8 'Prefactor '    .10000E-03   1.0000         .10000E-03   10000.    
     9 'norm      '    19.790       1.0000         .10000E-03   10000.    
    10 'Prefactor '    3.2270       1.0000         .10000E-03   10000.    
    11 'norm      '    .10002E-03   1.0000         .10000E-03   10000.    
    12 'Prefactor '    4.3306       1.0000         .10000E-03   10000.    
    13 'Prefactor '    3.8567       1.0000         .10000E-03   10000.    
    14 'norm      '    .10003E-03   1.0000         .10000E-03   10000.    
    15 'Prefactor '    3.7588       1.0000         .10000E-03   10000.    
    16 'Prefactor '    .10003E-03   1.0000         .10000E-03   10000.    
    17 'Prefactor '    .10171E-03   1.0000         .10000E-03   10000.    
    18 'Prefactor '    .10001E-03   1.0000         .10000E-03   10000.    
    19 'Prefactor '    30.546       1.0000         .10000E-03   10000.    
    20 'Prefactor '    .10052E-03   1.0000         .10000E-03   10000.    
    21 'Prefactor '    8.8718       1.0000         .10000E-03   10000.    
    22 'Prefactor '    52.426       1.0000         .10000E-03   10000.    
    23 'Prefactor '    21.000       1.0000         .10000E-03   10000.    
    24 'Prefactor '    10.338       1.0000         .10000E-03   10000.    
    25 'Prefactor '    .10405E-03   1.0000         .10000E-03   10000.    
    26 'Prefactor '    .10001E-03   1.0000         .10000E-03   10000.    
    27 'norm      '    2.8319       1.0000         .10000E-03   10000.    
    28 'Normalizat'    .41141       1.0000         .10000E-01   10.000    
    29 'Prefactor '    1.4697       1.0000          .0000       10.000    
 **********
 **   15 **SET ERR    .5000    
 **********
 **********
 **   16 **SET GRAD    1.000    
 **********
 **********
 **   17 **MINIMIZE    .6150E+05   .2000E-04
 **********

 MIGRAD MINIMIZATION HAS CONVERGED.

 FCN=   5705.610     FROM MIGRAD    STATUS=CONVERGED     98 CALLS     3068 TOTAL
                     EDM=   .19E-08  STRATEGY=1  ERROR MATRIX UNCERTAINTY= 11.8%

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor     20.707        2.2811       -.44183E-05   -.10984E-01
   2  norm          .23330        .88291        .14510E-04    .41967E-03
   3  Prefactor     12.311        10.770       -.35830E-04   -.50074E-02
   4  Prefactor     5.5658        1.5057        .56984E-05   -.87314E-04
   5  Prefactor     9.2011        1.0049        .11806E-06   -.87036E-04
   6  Prefactor     11.363        1.0048        .14040E-07   -.17461E-03
   7  Prefactor     .10000E-03    1.7629        .43855E-06** at limit **
   8  Prefactor     .10000E-03    23.580       -.10778E-04** at limit **
   9  norm          19.789        1.0391       -.38360E-07   -.38658E-03
  10  Prefactor     3.2264        3.6197       -.85826E-06   -.59937E-03
  11  norm          .10000E-03    13.742        .51207E-05** at limit **
  12  Prefactor     4.3300        2.5879        .55583E-07   -.24361E-03
  13  Prefactor     3.8452        1.3330       -.20719E-05    .31832E-04
  14  norm          .10000E-03    1.9592       -.33742E-06** at limit **
  15  Prefactor     3.7583        2.6284       -.25812E-06   -.50610E-05
  16  Prefactor     .10000E-03    7.3120        .26603E-05** at limit **
  17  Prefactor     .10009E-03    95.423       -.17636E-03** at limit **
  18  Prefactor     .10000E-03    8.9344       -.15042E-05** at limit **
  19  Prefactor     30.545        1.4280        .23602E-05   -.66478E-03
  20  Prefactor     .10000E-03    4.8648        .31124E-06** at limit **
  21  Prefactor     8.8623        6.6297        .28080E-04    .56380E-02
  22  Prefactor     52.382        10.526       -.17992E-04    .17287E-01
  23  Prefactor     20.993        1.8859       -.43038E-05    .11777E-02
  24  Prefactor     10.334        1.0439        .75637E-06    .66546E-03
  25  Prefactor     .10215E-03    64.404        .76410E-04** at limit **
  26  Prefactor     .10000E-03    3.6517        .92262E-06** at limit **
  27  norm          2.8317        2.1986       -.24131E-06   -.13722E-03
  28  Normalizat    .41117        .23410        .37880E-06   -.14478E-03
  29  Prefactor     1.4700        .20358       -.20464E-05   -.31624E-03
                               ERR DEF=  .500    
Final values: 
  Prefactor  = 20.7066
  norm       = 0.233301
  Prefactor  = 12.3112
  Prefactor  = 5.56579
  Prefactor  = 9.20111
  Prefactor  = 11.3632
  Prefactor  = 0.0001
  Prefactor  = 0.000100002
  norm       = 19.7893
  Prefactor  = 3.22635
  norm       = 0.0001
  Prefactor  = 4.33002
  Prefactor  = 3.84521
  norm       = 0.0001
  Prefactor  = 3.75834
  Prefactor  = 0.000100001
  Prefactor  = 0.000100091
  Prefactor  = 0.0001
  Prefactor  = 30.5449
  Prefactor  = 0.0001
  Prefactor  = 8.86227
  Prefactor  = 52.3824
  Prefactor  = 20.9927
  Prefactor  = 10.3339
  Prefactor  = 0.000102149
  Prefactor  = 0.0001
  norm       = 2.83166
  Normalizat = 0.411166
  Prefactor  = 1.47001
 **********
 **   18 **HESSE 
 **********

 FCN=   5705.610     FROM HESSE     STATUS=OK           619 CALLS     3687 TOTAL
                     EDM=   .21E-05    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  Prefactor     20.707        13.074        .22005E-02   -1.4798    
   2  norm          .23330        1.4279        .20917E-01   -1.5611    
   3  Prefactor     12.311        21.674        .28611E-02   -1.5006    
   4  Prefactor     5.5658        15.015        .42562E-02   -1.5236    
   5  Prefactor     9.2011        10.992        .33029E-02   -1.5101    
   6  Prefactor     11.363        9.4025        .29711E-02   -1.5034    
   7  Prefactor     .10000E-03    1.7516        .90712E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   8  Prefactor     .10000E-03    23.689        .90712E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   9  norm          19.789        10.228        .22508E-02   -1.4818    
  10  Prefactor     3.2264        3.8577        .56375E-02   -1.5349    
  11  norm          .10000E-03    13.740        .90712E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  12  Prefactor     4.3300        2.6005        .48393E-02   -1.5292    
  13  Prefactor     3.8452        35.868        .51372E-02   -1.5316    
  14  norm          .10000E-03    1.9536        .90712E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  15  Prefactor     3.7583        2.6409        .52061E-02   -1.5320    
  16  Prefactor     .10000E-03    7.3120        .90712E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  17  Prefactor     .10009E-03    131.08        .90712E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  18  Prefactor     .10000E-03    8.8825        .90712E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  19  Prefactor     30.545        34.941        .18124E-02   -1.4602    
  20  Prefactor     .10000E-03    4.8458        .90712E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  21  Prefactor     8.8623        15.556        .33642E-02   -1.5112    
  22  Prefactor     52.382        58.638        .13848E-02   -1.4259    
  23  Prefactor     20.993        41.821        .21851E-02   -1.4791    
  24  Prefactor     10.334        22.690        .31155E-02   -1.5065    
  25  Prefactor     .10215E-03    96.424        .90712E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  26  Prefactor     .10000E-03    3.6490        .90712E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  27  norm          2.8317        2.2092        .60415E-02   -1.5371    
  28  Normalizat    .41117        .23774        .95015E-01   -1.1673    
  29  Prefactor     1.4700        .19108        .45836E-01   -.78383    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 2.10732e-06
Minuit parameter uncertainties:
  1  13.0759
  2  1.15414
  3  21.6879
  4  15.0255
  5  10.9943
  6  9.40372
  7  2.32734e-05
  8  0.000444813
  9  10.2294
  10  3.85797
  11  2.53215e-05
  12  2.60055
  13  23.5062
  14  3.75629e-05
  15  2.64102
  16  0.000155417
  17  0.0069063
  18  1.27161e-05
  19  34.9642
  20  4.11856e-05
  21  15.5627
  22  58.7023
  23  41.8797
  24  22.7091
  25  0.0288339
  26  2.42483e-05
  27  2.20927
  28  0.238328
  29  0.191175
Done.

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

Extracting fit parameters...

4FGL J1132.7+0034
   Spectrum: PowerLaw
308    Prefactor:  4.330e+00  2.601e+00  1.000e-04  1.000e+04 ( 1.000e-12)
309        Index:  2.136e+00  0.000e+00  0.000e+00  1.000e+01 (-1.000e+00) fixed
310        Scale:  1.103e+03  0.000e+00  3.000e+01  5.000e+05 ( 1.000e+00) fixed

GAL_V02
   Spectrum: PowerLaw
612    Prefactor:  1.470e+00  1.912e-01  0.000e+00  1.000e+01 ( 1.000e+00)
613        Index:  0.000e+00  0.000e+00 -1.000e+00  1.000e+00 ( 1.000e+00) fixed
614        Scale:  1.000e+02  0.000e+00  5.000e+01  2.000e+02 ( 1.000e+00) fixed

EG_v02
   Spectrum: FileFunction
611   Normalization:  4.112e-01  2.383e-01  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Fixed Index): 5.19
Ra Dec: 173.196 0.574
Photon Index (Fixed Index): 2.14 +/- 0.00
Photon Flux (Fixed Index): 6.42e-08 +/- 3.85e-08
Energy Flux (Fixed Index): 3.27e-05 +/- 1.96e-05

Performing a free index iterative likelihood fit...

Freezing all point sources, except source of interest...

Done.

Freeing candidate source...
Done.

Fit tolerance = 1

Performing likelihood fit...
Done.

MINUIT Return Code (Free Index): 0
logL (Free Index) = 5705.53506527
delta logL = 0.0745321466156

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

MINUIT Return Code (Free Index): 0
logL (Free Index) = 5705.52210555
delta logL = 0.0874918635109

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'Prefactor '    4.9395       1.0000         .10000E-03   10000.    
     2 'Index     '    1.9766       1.0000          .0000       10.000    
     3 'Normalizat'    .41937       1.0000         .10000E-01   10.000    
     4 'Prefactor '    1.4651       1.0000          .0000       10.000    
 **********
 **   15 **SET ERR    .5000    
 **********
 **********
 **   16 **SET GRAD    1.000    
 **********
 **********
 **   17 **MINIMIZE    .6150E+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=   5705.522     FROM MIGRAD    STATUS=CONVERGED     84 CALLS      273 TOTAL
                     EDM=   .26E-09    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor     4.9396        3.1838        .96280E-04   -.88465E-03
   2  Index         1.9765        .37200        .57176E-02   -.16085E-03
   3  Normalizat    .41938        .23309        .41691E-03   -.23178E-05
   4  Prefactor     1.4651        .20328        .20286E-03    .76107E-04
                               ERR DEF=  .500    
Final values: 
  Prefactor  = 4.9396
  Index      = 1.97655
  Normalizat = 0.419382
  Prefactor  = 1.46512
 **********
 **   18 **HESSE 
 **********

 FCN=   5705.522     FROM HESSE     STATUS=OK            23 CALLS      296 TOTAL
                     EDM=   .28E-09    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  Prefactor     4.9396        3.1478        .38512E-05   -1.5263    
   2  Index         1.9765        .36772        .22871E-03   -.64938    
   3  Normalizat    .41938        .23312        .16677E-04   -1.1631    
   4  Prefactor     1.4651        .20331        .81142E-05   -.78521    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 2.83174e-10
Minuit parameter uncertainties:
  1  3.1479
  2  0.368249
  3  0.233657
  4  0.203419
shell-init: error retrieving current directory: getcwd: cannot access parent directories: No such file or directory
rmdir: failed to remove `/scratch/kocevski/921195': 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) = 5705.52210555
delta logL = 0.087491866846

Extracting fit parameters...

4FGL J1132.7+0034
   Spectrum: PowerLaw
308    Prefactor:  4.940e+00  3.148e+00  1.000e-04  1.000e+04 ( 1.000e-12)
309        Index:  1.977e+00  3.682e-01  0.000e+00  1.000e+01 (-1.000e+00)
310        Scale:  1.103e+03  0.000e+00  3.000e+01  5.000e+05 ( 1.000e+00) fixed

GAL_V02
   Spectrum: PowerLaw
612    Prefactor:  1.465e+00  2.034e-01  0.000e+00  1.000e+01 ( 1.000e+00)
613        Index:  0.000e+00  0.000e+00 -1.000e+00  1.000e+00 ( 1.000e+00) fixed
614        Scale:  1.000e+02  0.000e+00  5.000e+01  2.000e+02 ( 1.000e+00) fixed

EG_v02
   Spectrum: FileFunction
611   Normalization:  4.194e-01  2.337e-01  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Free Index): 5.33
Ra Dec: 173.196 0.574
Photon Index (Free Index): 1.98 +/- 0.37
Photon Flux (Free Index): 5.81e-08 +/- 3.83e-08
Energy Flux (Free Index): 4.26e-05 +/- 3.75e-05

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/921195/cmap_HighResolution_435542401_435801601_4FGL_J1132.7+0034_daily_bin757.png

Cleaning up...

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

Updating database...

UPDATE lightcurve_data_v2 SET comment='SUCCESS', photon_flux='6.42e-08', energy_flux2='4.26e-05', photon_flux_error='3.85e-08', dlogl='8.75e-02', energy_flux='3.27e-05', photon_flux2='5.81e-08', job_status='DONE', time_completed='2021-09-04 03:56:03.733817', photon_index_error2='0.37', photon_index2='1.98', ts='5.19', fit_tolerance='1e-08', GAL='1.47', photon_index_error='0.00', energy_flux_error2='3.75e-05', EG='0.41', time_epoch_completed='1630752963.73', return_code='0', job_id='921195', GAL2='1.47', EG2='0.42', return_code2='0', energy_flux_error='1.96e-05', photon_flux_error2='3.83e-08', ts2='5.33', photon_index='2.14' WHERE bin_id='757' AND source_name='4FGL J1132.7+0034' AND cadence='daily';

Database successfully updated.


Analysis Complete.


Sat Sep  4 03:56:03 PDT 2021


------------------------------------------------------------
Sender: LSF System <lsf@bullet0291>
Subject: Job 921195: <4FGL_J1132.7+0034_daily_bin757> in cluster <slac> Done

Job <4FGL_J1132.7+0034_daily_bin757> was submitted from host <rhel6-64p> by user <kocevski> in cluster <slac> at Sat Sep  4 03:41:29 2021
Job was executed on host(s) <bullet0291>, in queue <medium>, as user <kocevski> in cluster <slac> at Sat Sep  4 03:41:31 2021
</u/ki/kocevski> was used as the home directory.
</u/ki/kocevski> was used as the working directory.
Started at Sat Sep  4 03:41:31 2021
Terminated at Sat Sep  4 03:56:04 2021
Results reported at Sat Sep  4 03:56:04 2021

Your job looked like:

------------------------------------------------------------
# LSBATCH: User input
/nfs/farm/g/glast/g/LCRepository/Likelihood/Scripts/LikelihoodAnalysis.py 4FGL_J1132.7+0034_daily_bin757 173.196 0.5737 435542401 435801601 irfs=P8R3_SOURCE_V2 zmax=90 ROI=12 association=4FGL_J1132.7+0034 fixedModel=True performFreeIndexFit=True freeVariableSources=True nuke=True repositoryJob=True verbose=False
------------------------------------------------------------

Successfully completed.

Resource usage summary:

    CPU time :                                   686.09 sec.
    Max Memory :                                 1257 MB
    Average Memory :                             259.96 MB
    Total Requested Memory :                     -
    Delta Memory :                               -
    Max Swap :                                   -
    Max Processes :                              5
    Max Threads :                                21
    Run time :                                   872 sec.
    Turnaround time :                            875 sec.

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

