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


Performing analysis on: 4FGL_J2232.6+1143_daily_bin51
RA = 338.152, Dec = 11.7306
tmin = 252547201, tmax = 252806401
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='342161', job_status='RUN', time_executed='2021-09-28 13:47:44.859074', time_epoch_executed='1632862064.86' WHERE source_name='4FGL J2232.6+1143' and cadence='daily' and bin_id='51'

Database successfully updated.
Done.

Creating custom output directory:
/scratch/kocevski/342161

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

Retrieving the FT1 file...

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

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

Retrieving 46 files...
Done.


Merging files...

Checksum keywords updated successfully.

Merged file saved to:
/scratch/kocevski/342161/ft1_4FGL_J2232.6+1143_daily_bin51.fits


Retrieving the FT1 file...

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

Retrieving 46 files...
Done.


Merging files...

Merged file saved to:
/scratch/kocevski/342161/ft2_4FGL_J2232.6+1143_daily_bin51.fits


Selecting the photons:
time -p gtselect infile=/scratch/kocevski/342161/ft1_4FGL_J2232.6+1143_daily_bin51.fits outfile=/scratch/kocevski/342161/ft1_filteredMKT_4FGL_J2232.6+1143_daily_bin51.fits ra=338.152 dec=11.7306 rad=12.0 tmin=252547201.0 tmax=252806401.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.40
user 1.20
sys 0.18

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

Selecting the good time intervals:
time -p gtmktime scfile=/scratch/kocevski/342161/ft2_4FGL_J2232.6+1143_daily_bin51.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/342161/ft1_filteredMKT_4FGL_J2232.6+1143_daily_bin51.fits evtable="EVENTS" outfile="/scratch/kocevski/342161/ft1_filtered_4FGL_J2232.6+1143_daily_bin51.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/342161/ft1_filtered_4FGL_J2232.6+1143_daily_bin51.fits" evtable="EVENTS" scfile=/scratch/kocevski/342161/ft2_4FGL_J2232.6+1143_daily_bin51.fits sctable="SC_DATA" outfile=/scratch/kocevski/342161/ltcube_252547201_252806401_4FGL_J2232.6+1143_daily_bin51.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/342161/ft2_4FGL_J2232.6+1143_daily_bin51.fits
.....................!
real 12.55
user 12.18
sys 0.33

Generating the exposure map:
time -p gtexpmap evfile=/scratch/kocevski/342161/ft1_filtered_4FGL_J2232.6+1143_daily_bin51.fits evtable="EVENTS" scfile=/scratch/kocevski/342161/ft2_4FGL_J2232.6+1143_daily_bin51.fits sctable="SC_DATA" expcube=/scratch/kocevski/342161/ltcube_252547201_252806401_4FGL_J2232.6+1143_daily_bin51.fits outfile=/scratch/kocevski/342161/expmap_252547201_252806401_4FGL_J2232.6+1143_daily_bin51.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/342161/ltcube_252547201_252806401_4FGL_J2232.6+1143_daily_bin51.fits
.....................!
real 191.91
user 186.51
sys 5.00

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/342161/ft1_filtered_4FGL_J2232.6+1143_daily_bin51.fits scfile=/scratch/kocevski/342161/ft2_4FGL_J2232.6+1143_daily_bin51.fits outfile=/scratch/kocevski/342161/cmap_252547201_252806401_4FGL_J2232.6+1143_daily_bin51.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.54
user 0.36
sys 0.16

Creating the high resolution counts map:
time -p gtbin evfile=/scratch/kocevski/342161/ft1_filtered_4FGL_J2232.6+1143_daily_bin51.fits scfile=/scratch/kocevski/342161/ft2_4FGL_J2232.6+1143_daily_bin51.fits outfile=/scratch/kocevski/342161/cmap_HighResolution_252547201_252806401_4FGL_J2232.6+1143_daily_bin51.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.53
user 0.37
sys 0.16

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

Creating the likelihood object...
obs = UnbinnedObs('/scratch/kocevski/342161/ft1_filtered_4FGL_J2232.6+1143_daily_bin51.fits', '/scratch/kocevski/342161/ft2_4FGL_J2232.6+1143_daily_bin51.fits', expMap='/scratch/kocevski/342161/expmap_252547201_252806401_4FGL_J2232.6+1143_daily_bin51.fits', expCube='/scratch/kocevski/342161/ltcube_252547201_252806401_4FGL_J2232.6+1143_daily_bin51.fits', irfs='P8R3_SOURCE_V2')
like = UnbinnedAnalysis(obs, '/scratch/kocevski/342161/Model_4FGL_J2232.6+1143_daily_bin51.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/342161/ft1_filtered_4FGL_J2232.6+1143_daily_bin51.fits
Spacecraft file(s): /scratch/kocevski/342161/ft2_4FGL_J2232.6+1143_daily_bin51.fits
Exposure map: /scratch/kocevski/342161/expmap_252547201_252806401_4FGL_J2232.6+1143_daily_bin51.fits
Exposure cube: /scratch/kocevski/342161/ltcube_252547201_252806401_4FGL_J2232.6+1143_daily_bin51.fits
IRFs: P8R3_SOURCE_V2
Source model file: /scratch/kocevski/342161/Model_4FGL_J2232.6+1143_daily_bin51.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) = 9476.30108589

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

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

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'Prefactor '    183.01       1.0000         .10000E-03   10000.    
     2 'norm      '    6.5870       1.0000         .10000E-03   10000.    
     3 'norm      '    20.871       1.0000         .10000E-03   10000.    
     4 'norm      '    1.2013       1.0000         .10000E-03   10000.    
     5 'Prefactor '    .10000E-03   1.0000         .10000E-03   10000.    
     6 'Prefactor '    47.571       1.0000         .10000E-03   10000.    
     7 'norm      '    1.9316       1.0000         .10000E-03   10000.    
     8 'Prefactor '    .10312E-03   1.0000         .10000E-03   10000.    
     9 'Prefactor '    .10015E-03   1.0000         .10000E-03   10000.    
    10 'Prefactor '    .46434E-01   1.0000         .10000E-03   10000.    
    11 'Prefactor '    .10004E-03   1.0000         .10000E-03   10000.    
    12 'norm      '    .18251E-03   1.0000         .10000E-03   10000.    
    13 'Prefactor '    .37147       1.0000         .10000E-03   10000.    
    14 'Prefactor '    .10279E-03   1.0000         .10000E-03   10000.    
    15 'Prefactor '    .10842E-03   1.0000         .10000E-03   10000.    
    16 'Prefactor '    1.9824       1.0000         .10000E-03   10000.    
    17 'Prefactor '    29.767       1.0000         .10000E-03   10000.    
    18 'Prefactor '    .11092E-03   1.0000         .10000E-03   10000.    
    19 'Prefactor '    6.7548       1.0000         .10000E-03   10000.    
    20 'Normalizat'    .84191       1.0000         .10000E-01   10.000    
    21 'Prefactor '    1.0800       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=   9476.295     FROM MIGRAD    STATUS=CONVERGED    482 CALLS     2280 TOTAL
                     EDM=   .12E-08  STRATEGY=1  ERROR MATRIX UNCERTAINTY=   .3%

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor     183.03        124.94        .11199E-04   -.17475E-04
   2  norm          6.5880        3.9734       -.25373E-05   -.39175E-03
   3  norm          20.853        22.725        .27094E-04    .64331E-05
   4  norm          1.2011        .82758        .37388E-07   -.25428E-03
   5  Prefactor     .10000E-03    4.0187       -.13553E-06** at limit **
   6  Prefactor     47.567        29.974       -.10271E-05    .47675E-05
   7  norm          1.9320        3.0427       -.92565E-07   -.47879E-03
   8  Prefactor     .10000E-03    14.109       -.10867E-05** at limit **
   9  Prefactor     .10000E-03    2.1737        .20306E-06** at limit **
  10  Prefactor     .46357E-01    .12015       -.12381E-06   -.38559E-02
  11  Prefactor     .10000E-03    1.7933       -.26269E-07** at limit **
  12  norm          .10002E-03    .65115        .14032E-06** at limit **
  13  Prefactor     .16256        21.690       -.42337E-05    .41116E-03
  14  Prefactor     .10000E-03    3.4473       -.54754E-07** at limit **
  15  Prefactor     .10000E-03    12.344        .78454E-06** at limit **
  16  Prefactor     1.9828        .23513        .68739E-07    .65257E-02
  17  Prefactor     29.733        27.407        .34194E-04    .19863E-04
  18  Prefactor     .10000E-03    8.8290        .57336E-06** at limit **
  19  Prefactor     6.7376        13.866       -.19551E-04   -.84562E-04
  20  Normalizat    .84188        .21553       -.28778E-05    .24569E-03
  21  Prefactor     1.0801        .11512        .36226E-06    .31615E-03
                               ERR DEF=  .500    
Final values: 
  Prefactor  = 183.033
  norm       = 6.58802
  norm       = 20.8527
  norm       = 1.20106
  Prefactor  = 0.0001
  Prefactor  = 47.5667
  norm       = 1.93195
  Prefactor  = 0.0001
  Prefactor  = 0.0001
  Prefactor  = 0.0463567
  Prefactor  = 0.0001
  norm       = 0.000100016
  Prefactor  = 0.162563
  Prefactor  = 0.0001
  Prefactor  = 0.0001
  Prefactor  = 1.98281
  Prefactor  = 29.7328
  Prefactor  = 0.000100001
  Prefactor  = 6.73762
  Normalizat = 0.841884
  Prefactor  = 1.08014
 **********
 **   18 **HESSE 
 **********

 FCN=   9476.295     FROM HESSE     STATUS=OK           335 CALLS     2615 TOTAL
                     EDM=   .36E-08    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  Prefactor     183.03        125.41        .14921E-03   -1.2994    
   2  norm          6.5880        3.9889        .12600E-03   -1.5195    
   3  norm          20.853        22.700        .87672E-04   -1.4794    
   4  norm          1.2011        .82647        .70731E-04   -1.5489    
   5  Prefactor     .10000E-03    4.0203        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   6  Prefactor     47.567        30.019        .58136E-04   -1.4327    
   7  norm          1.9320        3.0203        .20661E-03   -1.5430    
   8  Prefactor     .10000E-03    14.379        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   9  Prefactor     .10000E-03    2.1754        .14016E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  10  Prefactor     .46357E-01    .14039        .50417E-03   -1.5665    
  11  Prefactor     .10000E-03    1.7955        .12730E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  12  norm          .10002E-03    1.0639        .29438E-01   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  13  Prefactor     .16256        24.107        .13697       -1.5627    
  14  Prefactor     .10000E-03    3.4557        .17650E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  15  Prefactor     .10000E-03    12.365        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  16  Prefactor     1.9828        .23658        .15003E-04   -1.5426    
  17  Prefactor     29.733        27.346        .73435E-04   -1.4617    
  18  Prefactor     .10000E-03    9.0013        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  19  Prefactor     6.7376        13.905        .15438E-03   -1.5189    
  20  Normalizat    .84188        .24499        .38851E-03   -.98533    
  21  Prefactor     1.0801        .13283        .19485E-03   -.90104    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 3.57608e-09
Minuit parameter uncertainties:
  1  125.59
  2  3.98906
  3  22.7095
  4  0.826478
  5  1.06143e-05
  6  30.0285
  7  3.02055
  8  8.0074e-05
  9  2.0695e-06
  10  0.140392
  11  1.84621e-06
  12  0.000264332
  13  3.95963
  14  3.40112e-06
  15  3.67263e-05
  16  0.23658
  17  27.3576
  18  0.000170149
  19  13.9112
  20  0.245312
  21  0.132869
Done.

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

Extracting fit parameters...

4FGL J2232.6+1143
   Spectrum: PLSuperExpCutoff2
268    Prefactor:  4.636e-02  1.404e-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:  1.080e+00  1.329e-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:  8.419e-01  2.453e-01  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Fixed Index): 0.12
Ra Dec: 338.152 11.731
Photon Flux Upper Limit: 9.27e-08 ph cm-2 s-1
Energy Flux Upper Limit: 3.44e-05 MeV cm-2 s-1

Saving results to:
/scratch/kocevski/342161/likelihoodResults_252547201_252806401_4FGL_J2232.6+1143_daily_bin51.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): 0
logL (Free Index) = 9476.20032907
delta logL = 0.0945215757747

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

MINUIT Return Code (Free Index): 0
logL (Free Index) = 9476.19611401
delta logL = 0.0987366450408

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'Prefactor '    .55561E-01   1.0000         .10000E-03   10000.    
     2 'Index1    '    2.5880       1.0000          .0000       10.000    
     3 'Normalizat'    .82876       1.0000         .10000E-01   10.000    
     4 'Prefactor '    1.0834       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=   9476.196     FROM MIGRAD    STATUS=CONVERGED     57 CALLS      232 TOTAL
                     EDM=   .96E-08    STRATEGY= 1      ERR MATRIX NOT POS-DEF

  EXT PARAMETER                APPROXIMATE        STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor     .55571E-01    .86789        .92384E-02    .64003E-02
   2  Index1        2.5879        2.5929        .39850        .33478E-04
   3  Normalizat    .82875        .24406E-01    .88354E-01    .39112E-04
   4  Prefactor     1.0834        .13820E-01    .38256E-01   -.48609E-06
                               ERR DEF=  .500    
Final values: 
  Prefactor  = 0.0555706
  Index1     = 2.58793
  Normalizat = 0.828745
  Prefactor  = 1.08336
 **********
 **   18 **HESSE 
 **********

 FCN=   9476.196     FROM HESSE     STATUS=OK            35 CALLS      267 TOTAL
                     EDM=   .25E-10    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  Prefactor     .55571E-01    .13738        .37532E-03   -1.5661    
   2  Index1        2.5879        1.4248        .12763E-01   -.50341    
   3  Normalizat    .82875        .23573        .39131E-03   -.99011    
   4  Prefactor     1.0834        .13223        .19459E-03   -.90000    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 2.51466e-11
Minuit parameter uncertainties:
  1  0.137383
  2  1.4512
  3  0.236022
  4  0.132273
shell-init: error retrieving current directory: getcwd: cannot access parent directories: No such file or directory
rmdir: failed to remove `/scratch/kocevski/342161': 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) = 9476.196114
delta logL = 0.098736650134

Extracting fit parameters...

4FGL J2232.6+1143
   Spectrum: PLSuperExpCutoff2
268    Prefactor:  5.557e-02  1.374e-01  1.000e-04  1.000e+04 ( 1.000e-10)
269       Index1:  2.588e+00  1.451e+00  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:  1.083e+00  1.323e-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:  8.287e-01  2.360e-01  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Free Index): 0.12
Ra Dec: 338.152 11.731

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/342161/cmap_HighResolution_252547201_252806401_4FGL_J2232.6+1143_daily_bin51.png

Cleaning up...

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

Updating database...

UPDATE lightcurve_data_v2 SET energy_flux_upper_limit='3.44e-05', job_status='DONE', photon_flux_upper_limit='9.27e-08', time_completed='2021-09-28 14:00:14.186403', job_id='342161', GAL2='1.08', fit_tolerance='1e-08', EG2='0.83', EG='0.84', time_epoch_completed='1632862814.19', return_code2='0', ts='0.12', comment='SUCCESS', return_code='0', GAL='1.08', dlogl='9.87e-02', ts2='0.32', photon_index_error='0.00', photon_index='2.05' WHERE bin_id='51' AND source_name='4FGL J2232.6+1143' AND cadence='daily';

Database successfully updated.


Analysis Complete.


Tue Sep 28 14:00:14 PDT 2021


------------------------------------------------------------
Sender: LSF System <lsf@bullet0057>
Subject: Job 342161: <4FGL_J2232.6+1143_daily_bin51> in cluster <slac> Done

Job <4FGL_J2232.6+1143_daily_bin51> was submitted from host <rhel6-64j> by user <kocevski> in cluster <slac> at Tue Sep 28 13:45:14 2021
Job was executed on host(s) <bullet0057>, in queue <medium>, as user <kocevski> in cluster <slac> at Tue Sep 28 13:45:15 2021
</u/ki/kocevski> was used as the home directory.
</u/ki/kocevski> was used as the working directory.
Started at Tue Sep 28 13:45:15 2021
Terminated at Tue Sep 28 14:00:14 2021
Results reported at Tue Sep 28 14:00:14 2021

Your job looked like:

------------------------------------------------------------
# LSBATCH: User input
/nfs/farm/g/glast/g/LCRepository/Likelihood/Scripts/LikelihoodAnalysis.py 4FGL_J2232.6+1143_daily_bin51 338.152 11.7306 252547201 252806401 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 :                                   750.11 sec.
    Max Memory :                                 1256 MB
    Average Memory :                             314.32 MB
    Total Requested Memory :                     -
    Delta Memory :                               -
    Max Swap :                                   -
    Max Processes :                              7
    Max Threads :                                21
    Run time :                                   899 sec.
    Turnaround time :                            900 sec.

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

