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


Performing analysis on: 4FGL_J2232.6+1143_daily_bin1113
RA = 338.152, Dec = 11.7306
tmin = 527817601, tmax = 528076801
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='346919', job_status='RUN', time_executed='2021-09-28 14:04:15.589019', time_epoch_executed='1632863055.59' WHERE source_name='4FGL J2232.6+1143' and cadence='daily' and bin_id='1113'

Database successfully updated.
Done.

Creating custom output directory:
/scratch/kocevski/346919

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

Retrieving the FT1 file...

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

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

Retrieving 46 files...
Done.


Merging files...

Checksum keywords updated successfully.

Merged file saved to:
/scratch/kocevski/346919/ft1_4FGL_J2232.6+1143_daily_bin1113.fits


Retrieving the FT1 file...

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

Retrieving 46 files...
Done.


Merging files...

Merged file saved to:
/scratch/kocevski/346919/ft2_4FGL_J2232.6+1143_daily_bin1113.fits


Selecting the photons:
time -p gtselect infile=/scratch/kocevski/346919/ft1_4FGL_J2232.6+1143_daily_bin1113.fits outfile=/scratch/kocevski/346919/ft1_filteredMKT_4FGL_J2232.6+1143_daily_bin1113.fits ra=338.152 dec=11.7306 rad=12.0 tmin=527817601.0 tmax=528076801.0 emin=100.0 emax=100000.0 zmin=0.0 zmax=90.0 evclass=128 evtype="INDEF" convtype=-1 phasemin=0.0 phasemax=1.0 evtable="EVENTS" chatter=2 clobber=yes debug=no gui=no mode="ql"

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

Done.
real 3.51
user 3.28
sys 0.21

Adding sun position to ft2 file:
/nfs/farm/g/glast/g/LCRepository/Repository/bin/sunpos /scratch/kocevski/346919/ft2_4FGL_J2232.6+1143_daily_bin1113.fits

Selecting the good time intervals:
time -p gtmktime scfile=/scratch/kocevski/346919/ft2_4FGL_J2232.6+1143_daily_bin1113.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/346919/ft1_filteredMKT_4FGL_J2232.6+1143_daily_bin1113.fits evtable="EVENTS" outfile="/scratch/kocevski/346919/ft1_filtered_4FGL_J2232.6+1143_daily_bin1113.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.33
sys 0.14

Generating the livetime cube:
time -p gtltcube evfile="/scratch/kocevski/346919/ft1_filtered_4FGL_J2232.6+1143_daily_bin1113.fits" evtable="EVENTS" scfile=/scratch/kocevski/346919/ft2_4FGL_J2232.6+1143_daily_bin1113.fits sctable="SC_DATA" outfile=/scratch/kocevski/346919/ltcube_527817601_528076801_4FGL_J2232.6+1143_daily_bin1113.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/346919/ft2_4FGL_J2232.6+1143_daily_bin1113.fits
.....................!
real 11.88
user 11.51
sys 0.34

Generating the exposure map:
time -p gtexpmap evfile=/scratch/kocevski/346919/ft1_filtered_4FGL_J2232.6+1143_daily_bin1113.fits evtable="EVENTS" scfile=/scratch/kocevski/346919/ft2_4FGL_J2232.6+1143_daily_bin1113.fits sctable="SC_DATA" expcube=/scratch/kocevski/346919/ltcube_527817601_528076801_4FGL_J2232.6+1143_daily_bin1113.fits outfile=/scratch/kocevski/346919/expmap_527817601_528076801_4FGL_J2232.6+1143_daily_bin1113.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/346919/ltcube_527817601_528076801_4FGL_J2232.6+1143_daily_bin1113.fits
.....................!
real 190.64
user 185.73
sys 4.60

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

Setting source of interest to:
4FGL J2232.6+1143 @ 338.152 11.7306

Creating the counts map:
time -p gtbin evfile=/scratch/kocevski/346919/ft1_filtered_4FGL_J2232.6+1143_daily_bin1113.fits scfile=/scratch/kocevski/346919/ft2_4FGL_J2232.6+1143_daily_bin1113.fits outfile=/scratch/kocevski/346919/cmap_527817601_528076801_4FGL_J2232.6+1143_daily_bin1113.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=338.152 yref=11.7306 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.38
sys 0.16

Creating the high resolution counts map:
time -p gtbin evfile=/scratch/kocevski/346919/ft1_filtered_4FGL_J2232.6+1143_daily_bin1113.fits scfile=/scratch/kocevski/346919/ft2_4FGL_J2232.6+1143_daily_bin1113.fits outfile=/scratch/kocevski/346919/cmap_HighResolution_527817601_528076801_4FGL_J2232.6+1143_daily_bin1113.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=338.152 yref=11.7306 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.38
sys 0.16

Computing the diffuse response:
time -p gtdiffrsp evfile=/scratch/kocevski/346919/ft1_filtered_4FGL_J2232.6+1143_daily_bin1113.fits evtable="EVENTS" scfile=/scratch/kocevski/346919/ft2_4FGL_J2232.6+1143_daily_bin1113.fits sctable="SC_DATA" srcmdl=/scratch/kocevski/346919/Model_4FGL_J2232.6+1143_daily_bin1113.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/346919/ft1_filtered_4FGL_J2232.6+1143_daily_bin1113.fits.....................!
real 80.53
user 79.20
sys 1.19

Creating the likelihood object...
obs = UnbinnedObs('/scratch/kocevski/346919/ft1_filtered_4FGL_J2232.6+1143_daily_bin1113.fits', '/scratch/kocevski/346919/ft2_4FGL_J2232.6+1143_daily_bin1113.fits', expMap='/scratch/kocevski/346919/expmap_527817601_528076801_4FGL_J2232.6+1143_daily_bin1113.fits', expCube='/scratch/kocevski/346919/ltcube_527817601_528076801_4FGL_J2232.6+1143_daily_bin1113.fits', irfs='P8R3_SOURCE_V2')
like = UnbinnedAnalysis(obs, '/scratch/kocevski/346919/Model_4FGL_J2232.6+1143_daily_bin1113.xml', optimizer='MINUIT')

Using source of interest name: '4FGL J2232.6+1143'

4FGL J2232.6+1143
   Spectrum: PLSuperExpCutoff2
268    Prefactor:  3.234e+00  0.000e+00  1.000e-04  1.000e+04 ( 1.000e-10)
269       Index1:  2.052e+00  0.000e+00  0.000e+00  1.000e+01 (-1.000e+00) fixed
270        Scale:  5.313e+02  0.000e+00  3.000e+01  5.000e+05 ( 1.000e+00) fixed
271    Expfactor:  2.832e+00  0.000e+00 -1.000e+00  1.000e+02 ( 1.000e-03) fixed
272       Index2:  6.667e-01  0.000e+00  0.000e+00  5.000e+00 ( 1.000e+00) fixed


Likelihood Fit Parameters:
Event file(s): /scratch/kocevski/346919/ft1_filtered_4FGL_J2232.6+1143_daily_bin1113.fits
Spacecraft file(s): /scratch/kocevski/346919/ft2_4FGL_J2232.6+1143_daily_bin1113.fits
Exposure map: /scratch/kocevski/346919/expmap_527817601_528076801_4FGL_J2232.6+1143_daily_bin1113.fits
Exposure cube: /scratch/kocevski/346919/ltcube_527817601_528076801_4FGL_J2232.6+1143_daily_bin1113.fits
IRFs: P8R3_SOURCE_V2
Source model file: /scratch/kocevski/346919/Model_4FGL_J2232.6+1143_daily_bin1113.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) = 7655.78015954

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

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

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'Prefactor '    65.167       1.0000         .10000E-03   10000.    
     2 'norm      '    .33353       1.0000         .10000E-03   10000.    
     3 'norm      '    .10001E-03   1.0000         .10000E-03   10000.    
     4 'norm      '    .10001E-03   1.0000         .10000E-03   10000.    
     5 'Prefactor '    .10002E-03   1.0000         .10000E-03   10000.    
     6 'Prefactor '    .10000E-03   1.0000         .10000E-03   10000.    
     7 'norm      '    .10154E-03   1.0000         .10000E-03   10000.    
     8 'Prefactor '    .10000E-03   1.0000         .10000E-03   10000.    
     9 'Prefactor '    .10002E-03   1.0000         .10000E-03   10000.    
    10 'Prefactor '    3.0933       1.0000         .10000E-03   10000.    
    11 'Prefactor '    .64881E-03   1.0000         .10000E-03   10000.    
    12 'norm      '    1.5575       1.0000         .10000E-03   10000.    
    13 'Prefactor '    .10004E-03   1.0000         .10000E-03   10000.    
    14 'Prefactor '    5.6945       1.0000         .10000E-03   10000.    
    15 'Prefactor '    .10001E-03   1.0000         .10000E-03   10000.    
    16 'Prefactor '    1.0516       1.0000         .10000E-03   10000.    
    17 'Prefactor '    .10000E-03   1.0000         .10000E-03   10000.    
    18 'Prefactor '    5.3039       1.0000         .10000E-03   10000.    
    19 'Prefactor '    .10000E-03   1.0000         .10000E-03   10000.    
    20 'Normalizat'    1.4432       1.0000         .10000E-01   10.000    
    21 'Prefactor '    .66058       1.0000          .0000       10.000    
 **********
 **   15 **SET ERR    .5000    
 **********
 **********
 **   16 **SET GRAD    1.000    
 **********
 **********
 **   17 **MINIMIZE    .5050E+05   .2000E-04
 **********

 MIGRAD MINIMIZATION HAS CONVERGED.

 MIGRAD WILL VERIFY CONVERGENCE AND ERROR MATRIX.

 MIGRAD MINIMIZATION HAS CONVERGED.

 FCN=   7655.774     FROM MIGRAD    STATUS=CONVERGED    452 CALLS     2233 TOTAL
                     EDM=   .12E-09  STRATEGY=1  ERROR MATRIX UNCERTAINTY=  2.0%

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor     65.106        75.970        .31799E-05    .10212E-03
   2  norm          .34114        3.8612        .15690E-05   -.14736E-04
   3  norm          .10000E-03    27.854        .40869E-06** at limit **
   4  norm          .10000E-03    .30861       -.71828E-08** at limit **
   5  Prefactor     .10000E-03    16.730       -.26983E-06** at limit **
   6  Prefactor     .10000E-03    11.878        .53488E-06** at limit **
   7  norm          .10000E-03    1.4511        .65859E-09** at limit **
   8  Prefactor     .10000E-03    6.2630       -.87686E-07** at limit **
   9  Prefactor     .10000E-03    8.5946       -.25721E-06** at limit **
  10  Prefactor     3.0932        .37794        .23671E-08   -.58441E-03
  11  Prefactor     .10001E-03    5.6957        .75814E-06** at limit **
  12  norm          1.5574        1.5843        .68953E-07    .82325E-04
  13  Prefactor     .10000E-03    16.269       -.42948E-07** at limit **
  14  Prefactor     5.6940        9.9108       -.10681E-05    .17609E-03
  15  Prefactor     .10000E-03    9.7737       -.18704E-06** at limit **
  16  Prefactor     1.0516        .20354        .37211E-08    .20041E-03
  17  Prefactor     .10000E-03    7.2166        .29065E-06** at limit **
  18  Prefactor     5.3031        7.2933       -.57372E-07    .17831E-04
  19  Prefactor     .10000E-03    4.0922       -.14774E-08** at limit **
  20  Normalizat    1.4434        .22122        .17517E-06    .26926E-04
  21  Prefactor     .66048        .11573       -.38026E-07    .49163E-04
                               ERR DEF=  .500    
Final values: 
  Prefactor  = 65.1065
  norm       = 0.341143
  norm       = 0.0001
  norm       = 0.0001
  Prefactor  = 0.0001
  Prefactor  = 0.0001
  norm       = 0.0001
  Prefactor  = 0.0001
  Prefactor  = 0.0001
  Prefactor  = 3.09316
  Prefactor  = 0.000100012
  norm       = 1.55738
  Prefactor  = 0.0001
  Prefactor  = 5.69396
  Prefactor  = 0.0001
  Prefactor  = 1.0516
  Prefactor  = 0.0001
  Prefactor  = 5.30312
  Prefactor  = 0.0001
  Normalizat = 1.44343
  Prefactor  = 0.660479
 **********
 **   18 **HESSE 
 **********

 FCN=   7655.774     FROM HESSE     STATUS=OK           317 CALLS     2550 TOTAL
                     EDM=   .51E-07    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  Prefactor     65.106        81.130        .24857E-03   -1.4092    
   2  norm          .34114        4.2301        .21189E-02   -1.5591    
   3  norm          .10000E-03    28.135        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   4  norm          .10000E-03    .43011        .94245E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   5  Prefactor     .10000E-03    16.868        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   6  Prefactor     .10000E-03    11.903        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   7  norm          .10000E-03    2.9094        .20543E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   8  Prefactor     .10000E-03    6.2741        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   9  Prefactor     .10000E-03    8.6812        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  10  Prefactor     3.0932        .37450        .17494E-04   -1.5356    
  11  Prefactor     .10001E-03    29.145        .38511E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  12  norm          1.5574        1.5674        .10632E-03   -1.5458    
  13  Prefactor     .10000E-03    16.287        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  14  Prefactor     5.6940        10.140        .84163E-03   -1.5231    
  15  Prefactor     .10000E-03    9.7863        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  16  Prefactor     1.0516        .20376        .16331E-04   -1.5503    
  17  Prefactor     .10000E-03    7.2208        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  18  Prefactor     5.3031        7.2823        .17452E-03   -1.5247    
  19  Prefactor     .10000E-03    4.0974        .17286E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  20  Normalizat    1.4434        .25884        .30400E-03   -.79381    
  21  Prefactor     .66048        .13515        .22982E-03   -1.0510    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 5.07794e-08
Minuit parameter uncertainties:
  1  81.268
  2  2.40241
  3  7.80811e-06
  4  6.70969e-07
  5  1.82986e-05
  6  2.22007e-05
  7  1.28428e-06
  8  4.65577e-06
  9  7.99718e-06
  10  0.374503
  11  0.00115901
  12  1.56743
  13  2.74481e-06
  14  10.1433
  15  8.49114e-06
  16  0.203756
  17  1.01812e-05
  18  7.28347
  19  4.21556e-07
  20  0.259074
  21  0.135216
Done.

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

Extracting fit parameters...

4FGL J2232.6+1143
   Spectrum: PLSuperExpCutoff2
268    Prefactor:  3.093e+00  3.745e-01  1.000e-04  1.000e+04 ( 1.000e-10)
269       Index1:  2.052e+00  0.000e+00  0.000e+00  1.000e+01 (-1.000e+00) fixed
270        Scale:  5.313e+02  0.000e+00  3.000e+01  5.000e+05 ( 1.000e+00) fixed
271    Expfactor:  2.832e+00  0.000e+00 -1.000e+00  1.000e+02 ( 1.000e-03) fixed
272       Index2:  6.667e-01  0.000e+00  0.000e+00  5.000e+00 ( 1.000e+00) fixed

GAL_V02
   Spectrum: PowerLaw
502    Prefactor:  6.605e-01  1.352e-01  0.000e+00  1.000e+01 ( 1.000e+00)
503        Index:  0.000e+00  0.000e+00 -1.000e+00  1.000e+00 ( 1.000e+00) fixed
504        Scale:  1.000e+02  0.000e+00  5.000e+01  2.000e+02 ( 1.000e+00) fixed

EG_v02
   Spectrum: FileFunction
501   Normalization:  1.443e+00  2.591e-01  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Fixed Index): 200.73
Ra Dec: 338.152 11.731
Photon Index (Fixed Index): 2.05 +/- 0.00
Photon Flux (Fixed Index): 7.89e-07 +/- 9.54e-08
Energy Flux (Fixed Index): 2.92e-04 +/- 3.54e-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) = 7652.33324715
delta logL = 3.44053084236

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

MINUIT Return Code (Free Index): 0
logL (Free Index) = 7652.33285981
delta logL = 3.44091818251

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'Prefactor '    2.6122       1.0000         .10000E-03   10000.    
     2 'Index1    '    2.4151       1.0000          .0000       10.000    
     3 'Normalizat'    1.2749       1.0000         .10000E-01   10.000    
     4 'Prefactor '    .72479       1.0000          .0000       10.000    
 **********
 **   15 **SET ERR    .5000    
 **********
 **********
 **   16 **SET GRAD    1.000    
 **********
 **********
 **   17 **MINIMIZE    .5050E+05   .2000E-04
 **********

 MIGRAD MINIMIZATION HAS CONVERGED.

 MIGRAD WILL VERIFY CONVERGENCE AND ERROR MATRIX.

 FCN=   7652.333     FROM MIGRAD    STATUS=CONVERGED     52 CALLS      206 TOTAL
                     EDM=   .81E-10    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor     2.6122        .98396        .34640E-02    .10988E-05
   2  Index1        2.4150        .36165        .47709E-01    .10719E-03
   3  Normalizat    1.2749        .22925        .71888E-01    .12562E-04
   4  Prefactor     .72477        .12129        .42730E-01    .15492E-04
                               ERR DEF=  .500    
Final values: 
  Prefactor  = 2.61221
  Index1     = 2.41504
  Normalizat = 1.27489
  Prefactor  = 0.724774
 **********
 **   18 **HESSE 
 **********

 FCN=   7652.333     FROM HESSE     STATUS=OK            29 CALLS      235 TOTAL
                     EDM=   .21E-13    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  Prefactor     2.6122        .39054        .15312E-04   -1.5385    
   2  Index1        2.4150        .14524        .20955E-03   -.54333    
   3  Normalizat    1.2749        .26201        .31810E-03   -.84319    
   4  Prefactor     .72477        .13799        .22024E-03   -1.0256    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 2.05024e-14
Minuit parameter uncertainties:
  1  0.390545
  2  0.145268
  3  0.262281
  4  0.138055
shell-init: error retrieving current directory: getcwd: cannot access parent directories: No such file or directory
rmdir: failed to remove `/scratch/kocevski/346919': 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) = 7652.3328598
delta logL = 3.44091819262

Extracting fit parameters...

4FGL J2232.6+1143
   Spectrum: PLSuperExpCutoff2
268    Prefactor:  2.612e+00  3.905e-01  1.000e-04  1.000e+04 ( 1.000e-10)
269       Index1:  2.415e+00  1.453e-01  0.000e+00  1.000e+01 (-1.000e+00)
270        Scale:  5.313e+02  0.000e+00  3.000e+01  5.000e+05 ( 1.000e+00) fixed
271    Expfactor:  2.832e+00  0.000e+00 -1.000e+00  1.000e+02 ( 1.000e-03) fixed
272       Index2:  6.667e-01  0.000e+00  0.000e+00  5.000e+00 ( 1.000e+00) fixed

GAL_V02
   Spectrum: PowerLaw
502    Prefactor:  7.248e-01  1.381e-01  0.000e+00  1.000e+01 ( 1.000e+00)
503        Index:  0.000e+00  0.000e+00 -1.000e+00  1.000e+00 ( 1.000e+00) fixed
504        Scale:  1.000e+02  0.000e+00  5.000e+01  2.000e+02 ( 1.000e+00) fixed

EG_v02
   Spectrum: FileFunction
501   Normalization:  1.275e+00  2.623e-01  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Free Index): 206.35
Ra Dec: 338.152 11.731
Photon Index (Free Index): 2.42 +/- 0.15
Photon Flux (Free Index): 9.35e-07 +/- 1.19e-07
Energy Flux (Free Index): 2.44e-04 +/- 3.17e-05

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/346919/cmap_HighResolution_527817601_528076801_4FGL_J2232.6+1143_daily_bin1113.png

Cleaning up...

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

Updating database...

UPDATE lightcurve_data_v2 SET comment='SUCCESS', photon_flux='7.89e-07', energy_flux2='2.44e-04', photon_flux_error='9.54e-08', dlogl='3.44e+00', energy_flux='2.92e-04', photon_flux2='9.35e-07', job_status='DONE', time_completed='2021-09-28 14:14:32.103833', photon_index_error2='0.15', photon_index2='2.42', ts='200.73', fit_tolerance='1e-08', GAL='0.66', photon_index_error='0.00', energy_flux_error2='3.17e-05', EG='1.44', time_epoch_completed='1632863672.1', return_code='0', job_id='346919', GAL2='0.72', EG2='1.27', return_code2='0', energy_flux_error='3.54e-05', photon_flux_error2='1.19e-07', ts2='206.35', photon_index='2.05' WHERE bin_id='1113' AND source_name='4FGL J2232.6+1143' AND cadence='daily';

Database successfully updated.


Analysis Complete.


Tue Sep 28 14:14:32 PDT 2021


------------------------------------------------------------
Sender: LSF System <lsf@bullet0245>
Subject: Job 346919: <4FGL_J2232.6+1143_daily_bin1113> in cluster <slac> Done

Job <4FGL_J2232.6+1143_daily_bin1113> was submitted from host <rhel6-64d> by user <kocevski> in cluster <slac> at Tue Sep 28 14:01:02 2021
Job was executed on host(s) <bullet0245>, in queue <medium>, as user <kocevski> in cluster <slac> at Tue Sep 28 14:01:03 2021
</u/ki/kocevski> was used as the home directory.
</u/ki/kocevski> was used as the working directory.
Started at Tue Sep 28 14:01:03 2021
Terminated at Tue Sep 28 14:14:32 2021
Results reported at Tue Sep 28 14:14:32 2021

Your job looked like:

------------------------------------------------------------
# LSBATCH: User input
/nfs/farm/g/glast/g/LCRepository/Likelihood/Scripts/LikelihoodAnalysis.py 4FGL_J2232.6+1143_daily_bin1113 338.152 11.7306 527817601 528076801 irfs=P8R3_SOURCE_V2 zmax=90 ROI=12 association=4FGL_J2232.6+1143 fixedModel=True performFreeIndexFit=True freeVariableSources=True nuke=True repositoryJob=True verbose=False
------------------------------------------------------------

Successfully completed.

Resource usage summary:

    CPU time :                                   617.00 sec.
    Max Memory :                                 1256 MB
    Average Memory :                             282.89 MB
    Total Requested Memory :                     -
    Delta Memory :                               -
    Max Swap :                                   -
    Max Processes :                              5
    Max Threads :                                21
    Run time :                                   809 sec.
    Turnaround time :                            810 sec.

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

