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


Performing analysis on: 4FGL_J1132.7+0034_daily_bin674
RA = 173.196, Dec = 0.5737
tmin = 414028801, tmax = 414288001
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='919788', job_status='RUN', time_executed='2021-09-04 03:39:30.934806', time_epoch_executed='1630751970.93' WHERE source_name='4FGL J1132.7+0034' and cadence='daily' and bin_id='674'

Database successfully updated.
Done.

Creating custom output directory:
/scratch/kocevski/919788

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

Retrieving the FT1 file...

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

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

Retrieving 46 files...
Done.


Merging files...

Checksum keywords updated successfully.

Merged file saved to:
/scratch/kocevski/919788/ft1_4FGL_J1132.7+0034_daily_bin674.fits


Retrieving the FT1 file...

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

Retrieving 46 files...
Done.


Merging files...

Merged file saved to:
/scratch/kocevski/919788/ft2_4FGL_J1132.7+0034_daily_bin674.fits


Selecting the photons:
time -p gtselect infile=/scratch/kocevski/919788/ft1_4FGL_J1132.7+0034_daily_bin674.fits outfile=/scratch/kocevski/919788/ft1_filteredMKT_4FGL_J1132.7+0034_daily_bin674.fits ra=173.196 dec=0.5737 rad=12.0 tmin=414028801.0 tmax=414288001.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.88
user 4.92
sys 0.22

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

Selecting the good time intervals:
time -p gtmktime scfile=/scratch/kocevski/919788/ft2_4FGL_J1132.7+0034_daily_bin674.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/919788/ft1_filteredMKT_4FGL_J1132.7+0034_daily_bin674.fits evtable="EVENTS" outfile="/scratch/kocevski/919788/ft1_filtered_4FGL_J1132.7+0034_daily_bin674.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/919788/ft1_filtered_4FGL_J1132.7+0034_daily_bin674.fits" evtable="EVENTS" scfile=/scratch/kocevski/919788/ft2_4FGL_J1132.7+0034_daily_bin674.fits sctable="SC_DATA" outfile=/scratch/kocevski/919788/ltcube_414028801_414288001_4FGL_J1132.7+0034_daily_bin674.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/919788/ft2_4FGL_J1132.7+0034_daily_bin674.fits
.....................!
real 12.26
user 11.90
sys 0.32

Generating the exposure map:
time -p gtexpmap evfile=/scratch/kocevski/919788/ft1_filtered_4FGL_J1132.7+0034_daily_bin674.fits evtable="EVENTS" scfile=/scratch/kocevski/919788/ft2_4FGL_J1132.7+0034_daily_bin674.fits sctable="SC_DATA" expcube=/scratch/kocevski/919788/ltcube_414028801_414288001_4FGL_J1132.7+0034_daily_bin674.fits outfile=/scratch/kocevski/919788/expmap_414028801_414288001_4FGL_J1132.7+0034_daily_bin674.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/919788/ltcube_414028801_414288001_4FGL_J1132.7+0034_daily_bin674.fits
.....................!
real 190.50
user 185.40
sys 4.75

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/919788/ft1_filtered_4FGL_J1132.7+0034_daily_bin674.fits scfile=/scratch/kocevski/919788/ft2_4FGL_J1132.7+0034_daily_bin674.fits outfile=/scratch/kocevski/919788/cmap_414028801_414288001_4FGL_J1132.7+0034_daily_bin674.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.54
user 0.38
sys 0.14

Creating the high resolution counts map:
time -p gtbin evfile=/scratch/kocevski/919788/ft1_filtered_4FGL_J1132.7+0034_daily_bin674.fits scfile=/scratch/kocevski/919788/ft2_4FGL_J1132.7+0034_daily_bin674.fits outfile=/scratch/kocevski/919788/cmap_HighResolution_414028801_414288001_4FGL_J1132.7+0034_daily_bin674.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.54
user 0.37
sys 0.16

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

Creating the likelihood object...
obs = UnbinnedObs('/scratch/kocevski/919788/ft1_filtered_4FGL_J1132.7+0034_daily_bin674.fits', '/scratch/kocevski/919788/ft2_4FGL_J1132.7+0034_daily_bin674.fits', expMap='/scratch/kocevski/919788/expmap_414028801_414288001_4FGL_J1132.7+0034_daily_bin674.fits', expCube='/scratch/kocevski/919788/ltcube_414028801_414288001_4FGL_J1132.7+0034_daily_bin674.fits', irfs='P8R3_SOURCE_V2')
like = UnbinnedAnalysis(obs, '/scratch/kocevski/919788/Model_4FGL_J1132.7+0034_daily_bin674.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/919788/ft1_filtered_4FGL_J1132.7+0034_daily_bin674.fits
Spacecraft file(s): /scratch/kocevski/919788/ft2_4FGL_J1132.7+0034_daily_bin674.fits
Exposure map: /scratch/kocevski/919788/expmap_414028801_414288001_4FGL_J1132.7+0034_daily_bin674.fits
Exposure cube: /scratch/kocevski/919788/ltcube_414028801_414288001_4FGL_J1132.7+0034_daily_bin674.fits
IRFs: P8R3_SOURCE_V2
Source model file: /scratch/kocevski/919788/Model_4FGL_J1132.7+0034_daily_bin674.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) = 4928.96671486

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

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

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'Prefactor '    15.899       1.0000         .10000E-03   10000.    
     2 'norm      '    4.1502       1.0000         .10000E-03   10000.    
     3 'Prefactor '    .10003E-03   1.0000         .10000E-03   10000.    
     4 'Prefactor '    32.791       1.0000         .10000E-03   10000.    
     5 'Prefactor '    30.524       1.0000         .10000E-03   10000.    
     6 'Prefactor '    .10001E-03   1.0000         .10000E-03   10000.    
     7 'Prefactor '    6.9831       1.0000         .10000E-03   10000.    
     8 'Prefactor '    .10050E-03   1.0000         .10000E-03   10000.    
     9 'norm      '    5.9429       1.0000         .10000E-03   10000.    
    10 'Prefactor '    5.2143       1.0000         .10000E-03   10000.    
    11 'norm      '    .10028E-03   1.0000         .10000E-03   10000.    
    12 'Prefactor '    .10000E-03   1.0000         .10000E-03   10000.    
    13 'Prefactor '    50.168       1.0000         .10000E-03   10000.    
    14 'norm      '    .15920E-02   1.0000         .10000E-03   10000.    
    15 'Prefactor '    .10003E-03   1.0000         .10000E-03   10000.    
    16 'Prefactor '    11.270       1.0000         .10000E-03   10000.    
    17 'Prefactor '    71.752       1.0000         .10000E-03   10000.    
    18 'Prefactor '    .10012E-03   1.0000         .10000E-03   10000.    
    19 'Prefactor '    .10003E-03   1.0000         .10000E-03   10000.    
    20 'Prefactor '    .10000E-03   1.0000         .10000E-03   10000.    
    21 'Prefactor '    29.664       1.0000         .10000E-03   10000.    
    22 'Prefactor '    .10133E-03   1.0000         .10000E-03   10000.    
    23 'Prefactor '    .10120E-03   1.0000         .10000E-03   10000.    
    24 'Prefactor '    .10021E-03   1.0000         .10000E-03   10000.    
    25 'Prefactor '    24.720       1.0000         .10000E-03   10000.    
    26 'Prefactor '    11.658       1.0000         .10000E-03   10000.    
    27 'norm      '    .66715       1.0000         .10000E-03   10000.    
    28 'Normalizat'    .82251       1.0000         .10000E-01   10.000    
    29 'Prefactor '    1.0726       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.

 FCN=   4928.890     FROM MIGRAD    STATUS=CONVERGED    703 CALLS     3691 TOTAL
                     EDM=   .39E-09  STRATEGY=1  ERROR MATRIX UNCERTAINTY=  4.3%

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor     15.900        12.718       -.94071E-07    .34931E-05
   2  norm          4.1496        1.0572       -.50447E-07    .87384E-04
   3  Prefactor     .10000E-03    9.9876        .48110E-07** at limit **
   4  Prefactor     32.779        28.982       -.17151E-05   -.13829E-04
   5  Prefactor     30.523        19.552       -.24496E-06    .10987E-04
   6  Prefactor     .10000E-03    4.4614       -.39659E-09** at limit **
   7  Prefactor     6.9832        6.5012       -.35416E-06   -.45075E-04
   8  Prefactor     .10000E-03    39.318        .46813E-05** at limit **
   9  norm          5.9389        11.059       -.16088E-06   -.13712E-04
  10  Prefactor     5.2166        5.8588       -.63659E-06    .18006E-04
  11  norm          .10000E-03    60.963       -.28547E-05** at limit **
  12  Prefactor     .10000E-03    .72812        .17429E-07** at limit **
  13  Prefactor     50.165        34.303       -.67270E-06    .85893E-04
  14  norm          .10000E-03    6.4369       -.50290E-06** at limit **
  15  Prefactor     .10000E-03    2.1689        .35024E-07** at limit **
  16  Prefactor     11.271        17.983        .17094E-06   -.87282E-04
  17  Prefactor     71.676        106.25       -.16634E-04   -.59105E-04
  18  Prefactor     .10000E-03    3.9665       -.12235E-07** at limit **
  19  Prefactor     .10000E-03    16.924        .13840E-05** at limit **
  20  Prefactor     .10000E-03    2.2285       -.21564E-08** at limit **
  21  Prefactor     29.674        21.409       -.19423E-06    .10730E-03
  22  Prefactor     .10000E-03    28.796       -.44243E-05** at limit **
  23  Prefactor     .10000E-03    35.472        .14487E-05** at limit **
  24  Prefactor     .10000E-03    13.663       -.24166E-06** at limit **
  25  Prefactor     24.675        69.409       -.14275E-04   -.48671E-04
  26  Prefactor     11.683        25.078       -.15635E-04   -.22564E-03
  27  norm          .66460        9.5920        .13973E-04   -.33939E-03
  28  Normalizat    .82221        .25622        .48224E-05   -.57361E-04
  29  Prefactor     1.0730        .19518       -.15282E-05    .17922E-03
                               ERR DEF=  .500    
Final values: 
  Prefactor  = 15.8998
  norm       = 4.1496
  Prefactor  = 0.0001
  Prefactor  = 32.7792
  Prefactor  = 30.5232
  Prefactor  = 0.0001
  Prefactor  = 6.98322
  Prefactor  = 0.0001
  norm       = 5.93888
  Prefactor  = 5.21655
  norm       = 0.000100001
  Prefactor  = 0.0001
  Prefactor  = 50.165
  norm       = 0.000100003
  Prefactor  = 0.0001
  Prefactor  = 11.2706
  Prefactor  = 71.6757
  Prefactor  = 0.0001
  Prefactor  = 0.0001
  Prefactor  = 0.0001
  Prefactor  = 29.6738
  Prefactor  = 0.0001
  Prefactor  = 0.000100002
  Prefactor  = 0.0001
  Prefactor  = 24.6747
  Prefactor  = 11.6828
  norm       = 0.6646
  Normalizat = 0.822209
  Prefactor  = 1.07298
 **********
 **   18 **HESSE 
 **********

 FCN=   4928.890     FROM HESSE     STATUS=OK           551 CALLS     4242 TOTAL
                     EDM=   .94E-09    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  Prefactor     15.900        12.718        .10045E-03   -1.4910    
   2  norm          4.1496        1.0553        .19785E-04   -1.5301    
   3  Prefactor     .10000E-03    10.018        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   4  Prefactor     32.779        29.005        .69976E-04   -1.4562    
   5  Prefactor     30.523        19.547        .72520E-04   -1.4602    
   6  Prefactor     .10000E-03    4.4637        .14479E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   7  Prefactor     6.9832        6.4796        .15181E-03   -1.5179    
   8  Prefactor     .10000E-03    39.371        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   9  norm          5.9389        11.016        .16472E-03   -1.5221    
  10  Prefactor     5.2166        5.8203        .16203E-03   -1.5251    
  11  norm          .10000E-03    61.161        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  12  Prefactor     .10000E-03    .73086        .58490E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  13  Prefactor     50.165        34.207        .56619E-04   -1.4290    
  14  norm          .10000E-03    24.013        .34132E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  15  Prefactor     .10000E-03    2.1874        .10089E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  16  Prefactor     11.271        17.988        .59667E-03   -1.5036    
  17  Prefactor     71.676        107.10        .23697E-03   -1.4013    
  18  Prefactor     .10000E-03    3.9691        .13656E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  19  Prefactor     .10000E-03    16.928        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  20  Prefactor     .10000E-03    2.2290        .10235E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  21  Prefactor     29.674        21.385        .73561E-04   -1.4618    
  22  Prefactor     .10000E-03    28.871        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  23  Prefactor     .10000E-03    35.651        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  24  Prefactor     .10000E-03    13.693        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  25  Prefactor     24.675        69.848        .80568E-04   -1.4714    
  26  Prefactor     11.683        25.427        .11733E-03   -1.5024    
  27  norm          .66460        10.114        .28626E-03   -1.5545    
  28  Normalizat    .82221        .29124        .33142E-03   -.99250    
  29  Prefactor     1.0730        .22332        .23600E-03   -.90335    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 9.38978e-10
Minuit parameter uncertainties:
  1  12.7203
  2  1.0553
  3  1.34767e-05
  4  29.0172
  5  19.551
  6  1.69469e-06
  7  6.48026
  8  0.000154778
  9  11.0197
  10  5.82096
  11  0.000538548
  12  2.18247e-06
  13  34.2209
  14  0.00056882
  15  7.18683e-06
  16  17.9966
  17  107.392
  18  1.79772e-05
  19  2.65607e-05
  20  5.02139e-06
  21  21.3909
  22  0.000162552
  23  0.000571188
  24  3.35187e-05
  25  70.0805
  26  25.451
  27  5.18582
  28  0.291793
  29  0.223514
Done.

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

Extracting fit parameters...

4FGL J1132.7+0034
   Spectrum: PowerLaw
308    Prefactor:  1.000e-04  2.182e-06  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.073e+00  2.235e-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:  8.222e-01  2.918e-01  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Fixed Index): -0.00
Ra Dec: 173.196 0.574
Photon Flux Upper Limit: 5.83e-08 ph cm-2 s-1
Energy Flux Upper Limit: 4.42e-03 MeV cm-2 s-1

Saving results to:
/scratch/kocevski/919788/likelihoodResults_414028801_414288001_4FGL_J1132.7+0034_daily_bin674.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) = 4928.89047422
delta logL = -2.63219808403e-05

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

MINUIT Return Code (Free Index): 102
logL (Free Index) = 4928.89044755
delta logL = 3.49614310835e-07

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'Prefactor '    .10049E-03   1.0000         .10000E-03   10000.    
     2 'Index     '    2.1084       1.0000          .0000       10.000    
     3 'Normalizat'    .82231       1.0000         .10000E-01   10.000    
     4 'Prefactor '    1.0730       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.

 FCN=   4928.890     FROM MIGRAD    STATUS=CONVERGED     64 CALLS      217 TOTAL
                     EDM=   .14E-08    STRATEGY= 1      ERR MATRIX NOT POS-DEF

  EXT PARAMETER                APPROXIMATE        STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor     .10000E-03    4.5158        .90712E-02** at limit **
   2  Index         1.7641        8.7523        .50000       -.45707E-06
   3  Normalizat    .82221        .13934E-01    .74879E-01   -.22481E-03
   4  Prefactor     1.0730        .11248E-01    .38718E-01   -.35384E-03
                               ERR DEF=  .500    
Final values: 
  Prefactor  = 0.0001
  Index      = 1.76408
  Normalizat = 0.822213
  Prefactor  = 1.07297
 **********
 **   18 **HESSE 
 **********

 FCN=   4928.890     FROM HESSE     STATUS=NOT POSDEF    31 CALLS      248 TOTAL
                     EDM=   .30E-07    STRATEGY= 1      ERR MATRIX NOT POS-DEF

  EXT PARAMETER                APPROXIMATE     INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  Prefactor     .10000E-03    97.947        .62018E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   2  Index         1.7641        9.0519        .50000       -.70388    
   3  Normalizat    .82221        .76836E-01    .33141E-03   -.99250    
   4  Prefactor     1.0730        .62115E-01    .23600E-03   -.90335    
                               ERR DEF=  .500    
Minuit fit quality: 2   estimated distance: 3.04023e-08
Minuit parameter uncertainties:
  1  0.0001605
  2  638.843
  3  0.0768466
  4  0.0621195
shell-init: error retrieving current directory: getcwd: cannot access parent directories: No such file or directory
rmdir: failed to remove `/scratch/kocevski/919788': 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) = 4928.89044046
delta logL = 7.43738200981e-06

Extracting fit parameters...

4FGL J1132.7+0034
   Spectrum: PowerLaw
308    Prefactor:  1.000e-04  1.605e-04  1.000e-04  1.000e+04 ( 1.000e-12)
309        Index:  1.764e+00  6.388e+02  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.073e+00  6.212e-02  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:  8.222e-01  7.685e-02  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Free Index): -0.00
Ra Dec: 173.196 0.574

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/919788/cmap_HighResolution_414028801_414288001_4FGL_J1132.7+0034_daily_bin674.png

Cleaning up...

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

Updating database...

UPDATE lightcurve_data_v2 SET energy_flux_upper_limit='4.42e-03', job_status='DONE', photon_flux_upper_limit='5.83e-08', time_completed='2021-09-04 03:52:02.694446', job_id='919788', GAL2='1.07', fit_tolerance='1e-08', EG2='0.82', EG='0.82', time_epoch_completed='1630752722.69', return_code2='102', ts='-0.00', comment='SUCCESS', return_code='0', GAL='1.07', dlogl='7.44e-06', ts2='-0.00', photon_index_error='0.00', photon_index='2.14' WHERE bin_id='674' AND source_name='4FGL J1132.7+0034' AND cadence='daily';

Database successfully updated.


Analysis Complete.


Sat Sep  4 03:52:02 PDT 2021


------------------------------------------------------------
Sender: LSF System <lsf@bullet0298>
Subject: Job 919788: <4FGL_J1132.7+0034_daily_bin674> in cluster <slac> Done

Job <4FGL_J1132.7+0034_daily_bin674> was submitted from host <rhel6-64e> by user <kocevski> in cluster <slac> at Sat Sep  4 03:36:26 2021
Job was executed on host(s) <bullet0298>, in queue <medium>, as user <kocevski> in cluster <slac> at Sat Sep  4 03:36:27 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:36:27 2021
Terminated at Sat Sep  4 03:52:03 2021
Results reported at Sat Sep  4 03:52:03 2021

Your job looked like:

------------------------------------------------------------
# LSBATCH: User input
/nfs/farm/g/glast/g/LCRepository/Likelihood/Scripts/LikelihoodAnalysis.py 4FGL_J1132.7+0034_daily_bin674 173.196 0.5737 414028801 414288001 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 :                                   747.34 sec.
    Max Memory :                                 1256 MB
    Average Memory :                             283.55 MB
    Total Requested Memory :                     -
    Delta Memory :                               -
    Max Swap :                                   -
    Max Processes :                              5
    Max Threads :                                21
    Run time :                                   935 sec.
    Turnaround time :                            937 sec.

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

