aklog: Couldn't determine realm of user:aklog: No credentials cache found  while getting realm
/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 107 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 = 7463
number of fields = 31
RA_SUN column already exists. File will not be modified.
Done.


Performing analysis on: 4FGL_J2232.6+1143_daily_bin1666
RA = 338.152, Dec = 11.7306
tmin = 671155201, tmax = 671414401
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='414501', job_status='RUN', time_executed='2022-04-12 00:37:34.696991', time_epoch_executed='1649749054.7' WHERE source_name='4FGL J2232.6+1143' and cadence='daily' and bin_id='1666'

Database successfully updated.
Done.

Creating custom output directory:
/scratch/kocevski/414501

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

Retrieving the FT1 file...

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

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

Retrieving 46 files...
Done.


Merging files...

Checksum keywords updated successfully.

Merged file saved to:
/scratch/kocevski/414501/ft1_4FGL_J2232.6+1143_daily_bin1666.fits


Retrieving the FT1 file...

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

Retrieving 46 files...
Done.


Merging files...

Merged file saved to:
/scratch/kocevski/414501/ft2_4FGL_J2232.6+1143_daily_bin1666.fits


Selecting the photons:
time -p gtselect infile=/scratch/kocevski/414501/ft1_4FGL_J2232.6+1143_daily_bin1666.fits outfile=/scratch/kocevski/414501/ft1_filteredMKT_4FGL_J2232.6+1143_daily_bin1666.fits ra=338.152 dec=11.7306 rad=12.0 tmin=671155201.0 tmax=671414401.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.22
user 4.97
sys 0.21

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

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

Number of photons that the gtmktime cut: 749

Generating the livetime cube:
time -p gtltcube evfile="/scratch/kocevski/414501/ft1_filtered_4FGL_J2232.6+1143_daily_bin1666.fits" evtable="EVENTS" scfile=/scratch/kocevski/414501/ft2_4FGL_J2232.6+1143_daily_bin1666.fits sctable="SC_DATA" outfile=/scratch/kocevski/414501/ltcube_671155201_671414401_4FGL_J2232.6+1143_daily_bin1666.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/414501/ft2_4FGL_J2232.6+1143_daily_bin1666.fits
.....................!
real 11.59
user 11.25
sys 0.29

Generating the exposure map:
time -p gtexpmap evfile=/scratch/kocevski/414501/ft1_filtered_4FGL_J2232.6+1143_daily_bin1666.fits evtable="EVENTS" scfile=/scratch/kocevski/414501/ft2_4FGL_J2232.6+1143_daily_bin1666.fits sctable="SC_DATA" expcube=/scratch/kocevski/414501/ltcube_671155201_671414401_4FGL_J2232.6+1143_daily_bin1666.fits outfile=/scratch/kocevski/414501/expmap_671155201_671414401_4FGL_J2232.6+1143_daily_bin1666.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/414501/ltcube_671155201_671414401_4FGL_J2232.6+1143_daily_bin1666.fits
.....................!
real 189.60
user 185.46
sys 3.82

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/414501/ft1_filtered_4FGL_J2232.6+1143_daily_bin1666.fits scfile=/scratch/kocevski/414501/ft2_4FGL_J2232.6+1143_daily_bin1666.fits outfile=/scratch/kocevski/414501/cmap_671155201_671414401_4FGL_J2232.6+1143_daily_bin1666.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.39
sys 0.13

Creating the high resolution counts map:
time -p gtbin evfile=/scratch/kocevski/414501/ft1_filtered_4FGL_J2232.6+1143_daily_bin1666.fits scfile=/scratch/kocevski/414501/ft2_4FGL_J2232.6+1143_daily_bin1666.fits outfile=/scratch/kocevski/414501/cmap_HighResolution_671155201_671414401_4FGL_J2232.6+1143_daily_bin1666.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.40
sys 0.14

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

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

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

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

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'Prefactor '    .10172E-03   1.0000         .10000E-03   10000.    
     2 'norm      '    .10537E-03   1.0000         .10000E-03   10000.    
     3 'norm      '    .10041E-03   1.0000         .10000E-03   10000.    
     4 'norm      '    .10126E-03   1.0000         .10000E-03   10000.    
     5 'Prefactor '    .10023E-03   1.0000         .10000E-03   10000.    
     6 'Prefactor '    .10012E-03   1.0000         .10000E-03   10000.    
     7 'norm      '    .10171E-03   1.0000         .10000E-03   10000.    
     8 'Prefactor '    .10097E-03   1.0000         .10000E-03   10000.    
     9 'Prefactor '    .10037E-03   1.0000         .10000E-03   10000.    
    10 'Prefactor '    1.3345       1.0000         .10000E-03   10000.    
    11 'Prefactor '    .10479E-03   1.0000         .10000E-03   10000.    
    12 'norm      '    4.3996       1.0000         .10000E-03   10000.    
    13 'Prefactor '    21.525       1.0000         .10000E-03   10000.    
    14 'Prefactor '    5.5495       1.0000         .10000E-03   10000.    
    15 'Prefactor '    2.5305       1.0000         .10000E-03   10000.    
    16 'Prefactor '    .35906       1.0000         .10000E-03   10000.    
    17 'Prefactor '    46.337       1.0000         .10000E-03   10000.    
    18 'Prefactor '    .50508E-01   1.0000         .10000E-03   10000.    
    19 'Prefactor '    3.1955       1.0000         .10000E-03   10000.    
    20 'Normalizat'    1.1573       1.0000         .10000E-01   10.000    
    21 'Prefactor '    .82437       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=   8288.803     FROM MIGRAD    STATUS=CONVERGED    467 CALLS     2268 TOTAL
                     EDM=   .13E-09  STRATEGY=1  ERROR MATRIX UNCERTAINTY=   .6%

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor     .10000E-03    26.803        .27849E-06** at limit **
   2  norm          .10000E-03    1.0150       -.56968E-07** at limit **
   3  norm          .10000E-03    16.330        .10194E-04** at limit **
   4  norm          .10000E-03    .36758        .35787E-07** at limit **
   5  Prefactor     .10000E-03    8.6694        .11584E-05** at limit **
   6  Prefactor     .10000E-03    5.8820        .70533E-07** at limit **
   7  norm          .10000E-03    3.3095       -.10658E-07** at limit **
   8  Prefactor     .10000E-03    6.4701        .93212E-07** at limit **
   9  Prefactor     .10000E-03    9.0003       -.14700E-05** at limit **
  10  Prefactor     1.3343        .26016        .30043E-07    .29331E-02
  11  Prefactor     .10000E-03    16.647       -.10053E-04** at limit **
  12  norm          4.3997        2.0354       -.15593E-07    .11046E-03
  13  Prefactor     21.528        20.549       -.37116E-05    .94752E-05
  14  Prefactor     5.5464        11.947        .70700E-06   -.86900E-04
  15  Prefactor     2.5332        10.529       -.64525E-06   -.16339E-03
  16  Prefactor     .35911        .14180        .27309E-07   -.84155E-04
  17  Prefactor     46.347        36.147        .29054E-06    .29478E-05
  18  Prefactor     .21296E-01    4.3803       -.27797E-06    .20156E-04
  19  Prefactor     3.1968        6.3960       -.39844E-06   -.21253E-03
  20  Normalizat    1.1569        .20256       -.29394E-06    .73451E-04
  21  Prefactor     .82449        .10543        .17696E-06    .13718E-03
                               ERR DEF=  .500    
Final values: 
  Prefactor  = 0.0001
  norm       = 0.0001
  norm       = 0.0001
  norm       = 0.0001
  Prefactor  = 0.0001
  Prefactor  = 0.0001
  norm       = 0.0001
  Prefactor  = 0.0001
  Prefactor  = 0.0001
  Prefactor  = 1.3343
  Prefactor  = 0.0001
  norm       = 4.39975
  Prefactor  = 21.5282
  Prefactor  = 5.5464
  Prefactor  = 2.53324
  Prefactor  = 0.359108
  Prefactor  = 46.347
  Prefactor  = 0.0212958
  Prefactor  = 3.19682
  Normalizat = 1.1569
  Prefactor  = 0.824485
 **********
 **   18 **HESSE 
 **********

 FCN=   8288.803     FROM HESSE     STATUS=OK           329 CALLS     2597 TOTAL
                     EDM=   .39E-09    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  Prefactor     .10000E-03    26.806        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   2  norm          .10000E-03    1.6545        .17794E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   3  norm          .10000E-03    16.359        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   4  norm          .10000E-03    .61523        .10633E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   5  Prefactor     .10000E-03    8.6962        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   6  Prefactor     .10000E-03    5.8847        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   7  norm          .10000E-03    3.3595        .16167E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   8  Prefactor     .10000E-03    6.4924        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   9  Prefactor     .10000E-03    9.0847        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  10  Prefactor     1.3343        .26047        .19387E-04   -1.5477    
  11  Prefactor     .10000E-03    16.882        .36285E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  12  norm          4.3997        2.0329        .83141E-04   -1.5288    
  13  Prefactor     21.528        20.543        .86332E-04   -1.4780    
  14  Prefactor     5.5464        11.891        .17055E-03   -1.5237    
  15  Prefactor     2.5332        10.523        .25677E-03   -1.5390    
  16  Prefactor     .35911        .14088        .20233E-04   -1.5588    
  17  Prefactor     46.347        36.198        .58902E-04   -1.4345    
  18  Prefactor     .21296E-01    5.4456        .58846E-01   -1.5679    
  19  Prefactor     3.1968        6.3889        .22667E-03   -1.5350    
  20  Normalizat    1.1569        .24059        .31523E-03   -.87945    
  21  Prefactor     .82449        .12586        .19593E-03   -.98832    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 3.85585e-10
Minuit parameter uncertainties:
  1  6.28772e-07
  2  2.35574e-06
  3  1.33068e-05
  4  1.72771e-06
  5  2.03774e-06
  6  2.22837e-07
  7  8.51927e-07
  8  1.25782e-06
  9  4.42544e-06
  10  0.260472
  11  0.000138647
  12  2.03293
  13  20.5496
  14  11.8965
  15  10.329
  16  0.140876
  17  36.2151
  18  0.679546
  19  6.39027
  20  0.240816
  21  0.125904
Done.

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

Extracting fit parameters...

4FGL J2232.6+1143
   Spectrum: PLSuperExpCutoff2
268    Prefactor:  1.334e+00  2.605e-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:  8.245e-01  1.259e-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.157e+00  2.408e-01  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Fixed Index): 65.61
Ra Dec: 338.152 11.731
Photon Index (Fixed Index): 2.05 +/- 0.00
Photon Flux (Fixed Index): 3.40e-07 +/- 6.64e-08
Energy Flux (Fixed Index): 1.26e-04 +/- 2.46e-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) = 8288.36826647
delta logL = 0.434690812726

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

MINUIT Return Code (Free Index): 0
logL (Free Index) = 8288.35142596
delta logL = 0.451531326551

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'Prefactor '    1.2767       1.0000         .10000E-03   10000.    
     2 'Index1    '    2.2434       1.0000          .0000       10.000    
     3 'Normalizat'    1.1041       1.0000         .10000E-01   10.000    
     4 'Prefactor '    .84340       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=   8288.351     FROM MIGRAD    STATUS=CONVERGED     54 CALLS      209 TOTAL
                     EDM=   .13E-09    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor     1.2769        .83906        .41527E-02    .21144E-03
   2  Index1        2.2433        .63901        .87339E-01    .84726E-04
   3  Normalizat    1.1044        .21317        .72588E-01    .17540E-04
   4  Prefactor     .84320        .11358        .44279E-01    .61434E-05
                               ERR DEF=  .500    
Final values: 
  Prefactor  = 1.27693
  Index1     = 2.24332
  Normalizat = 1.10436
  Prefactor  = 0.843203
 **********
 **   18 **HESSE 
 **********

 FCN=   8288.351     FROM HESSE     STATUS=OK            31 CALLS      240 TOTAL
                     EDM=   .48E-12    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  Prefactor     1.2769        .26171        .18380E-04   -1.5482    
   2  Index1        2.2433        .20575        .37601E-02   -.58397    
   3  Normalizat    1.1044        .24249        .32122E-03   -.89612    
   4  Prefactor     .84320        .12759        .19394E-03   -.98155    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 4.79304e-13
Minuit parameter uncertainties:
  1  0.261711
  2  0.205838
  3  0.242734
  4  0.127632
shell-init: error retrieving current directory: getcwd: cannot access parent directories: No such file or directory
rmdir: failed to remove `/scratch/kocevski/414501': 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) = 8288.3514243
delta logL = 0.451532984005

Extracting fit parameters...

4FGL J2232.6+1143
   Spectrum: PLSuperExpCutoff2
268    Prefactor:  1.277e+00  2.617e-01  1.000e-04  1.000e+04 ( 1.000e-10)
269       Index1:  2.243e+00  2.058e-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:  8.432e-01  1.276e-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.104e+00  2.427e-01  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Free Index): 66.23
Ra Dec: 338.152 11.731
Photon Index (Free Index): 2.24 +/- 0.21
Photon Flux (Free Index): 3.86e-07 +/- 8.57e-08
Energy Flux (Free Index): 1.17e-04 +/- 2.40e-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/414501/cmap_HighResolution_671155201_671414401_4FGL_J2232.6+1143_daily_bin1666.png

Cleaning up...

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

Updating database...

UPDATE lightcurve_data_v2 SET comment='SUCCESS', photon_flux='3.40e-07', energy_flux2='1.17e-04', photon_flux_error='6.64e-08', dlogl='4.52e-01', energy_flux='1.26e-04', photon_flux2='3.86e-07', job_status='DONE', time_completed='2022-04-12 00:47:59.303827', photon_index_error2='0.21', photon_index2='2.24', ts='65.61', fit_tolerance='1e-08', GAL='0.82', photon_index_error='0.00', energy_flux_error2='2.40e-05', EG='1.16', time_epoch_completed='1649749679.3', return_code='0', job_id='414501', GAL2='0.84', EG2='1.10', return_code2='0', energy_flux_error='2.46e-05', photon_flux_error2='8.57e-08', ts2='66.23', photon_index='2.05' WHERE bin_id='1666' AND source_name='4FGL J2232.6+1143' AND cadence='daily';

Database successfully updated.


Analysis Complete.


Tue Apr 12 00:47:59 PDT 2022


------------------------------------------------------------
Sender: LSF System <lsf@bullet0193>
Subject: Job 414501: <4FGL_J2232.6+1143_daily_bin1666> in cluster <slac> Done

Job <4FGL_J2232.6+1143_daily_bin1666> was submitted from host <rhel6-64p> by user <kocevski> in cluster <slac> at Tue Apr 12 00:35:38 2022
Job was executed on host(s) <bullet0193>, in queue <medium>, as user <kocevski> in cluster <slac> at Tue Apr 12 00:35:39 2022
</u/ki/kocevski> was used as the home directory.
</u/ki/kocevski> was used as the working directory.
Started at Tue Apr 12 00:35:39 2022
Terminated at Tue Apr 12 00:48:00 2022
Results reported at Tue Apr 12 00:48:00 2022

Your job looked like:

------------------------------------------------------------
# LSBATCH: User input
/nfs/farm/g/glast/g/LCRepository/Likelihood/Scripts/LikelihoodAnalysis.py 4FGL_J2232.6+1143_daily_bin1666 338.152 11.7306 671155201 671414401 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 :                                   627.00 sec.
    Max Memory :                                 1094 MB
    Average Memory :                             271.52 MB
    Total Requested Memory :                     -
    Delta Memory :                               -
    Max Swap :                                   -
    Max Processes :                              5
    Max Threads :                                21
    Run time :                                   740 sec.
    Turnaround time :                            742 sec.

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

