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 89 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 = 31
RA_SUN column already exists. File will not be modified.
Done.


Performing analysis on: 4FGL_J2232.6+1143_daily_bin1676
RA = 338.152, Dec = 11.7306
tmin = 673747201, tmax = 674006401
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='67802', job_status='RUN', time_executed='2022-05-12 01:30:21.097015', time_epoch_executed='1652344221.1' WHERE source_name='4FGL J2232.6+1143' and cadence='daily' and bin_id='1676'

Database successfully updated.
Done.

Creating custom output directory:
/scratch/kocevski/67802

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

Retrieving the FT1 file...

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

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

Retrieving 46 files...
Done.


Merging files...

Checksum keywords updated successfully.

Merged file saved to:
/scratch/kocevski/67802/ft1_4FGL_J2232.6+1143_daily_bin1676.fits


Retrieving the FT1 file...

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

Retrieving 46 files...
Done.


Merging files...

Merged file saved to:
/scratch/kocevski/67802/ft2_4FGL_J2232.6+1143_daily_bin1676.fits


Selecting the photons:
time -p gtselect infile=/scratch/kocevski/67802/ft1_4FGL_J2232.6+1143_daily_bin1676.fits outfile=/scratch/kocevski/67802/ft1_filteredMKT_4FGL_J2232.6+1143_daily_bin1676.fits ra=338.152 dec=11.7306 rad=12.0 tmin=673747201.0 tmax=674006401.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 4.00
user 3.67
sys 0.23

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

Selecting the good time intervals:
time -p gtmktime scfile=/scratch/kocevski/67802/ft2_4FGL_J2232.6+1143_daily_bin1676.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/67802/ft1_filteredMKT_4FGL_J2232.6+1143_daily_bin1676.fits evtable="EVENTS" outfile="/scratch/kocevski/67802/ft1_filtered_4FGL_J2232.6+1143_daily_bin1676.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.52
user 0.34
sys 0.17

Number of photons that the gtmktime cut: 774

Generating the livetime cube:
time -p gtltcube evfile="/scratch/kocevski/67802/ft1_filtered_4FGL_J2232.6+1143_daily_bin1676.fits" evtable="EVENTS" scfile=/scratch/kocevski/67802/ft2_4FGL_J2232.6+1143_daily_bin1676.fits sctable="SC_DATA" outfile=/scratch/kocevski/67802/ltcube_673747201_674006401_4FGL_J2232.6+1143_daily_bin1676.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/67802/ft2_4FGL_J2232.6+1143_daily_bin1676.fits
.....................!
real 14.50
user 14.05
sys 0.36

Generating the exposure map:
time -p gtexpmap evfile=/scratch/kocevski/67802/ft1_filtered_4FGL_J2232.6+1143_daily_bin1676.fits evtable="EVENTS" scfile=/scratch/kocevski/67802/ft2_4FGL_J2232.6+1143_daily_bin1676.fits sctable="SC_DATA" expcube=/scratch/kocevski/67802/ltcube_673747201_674006401_4FGL_J2232.6+1143_daily_bin1676.fits outfile=/scratch/kocevski/67802/expmap_673747201_674006401_4FGL_J2232.6+1143_daily_bin1676.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/67802/ltcube_673747201_674006401_4FGL_J2232.6+1143_daily_bin1676.fits
.....................!
real 191.36
user 185.09
sys 5.56

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/67802/ft1_filtered_4FGL_J2232.6+1143_daily_bin1676.fits scfile=/scratch/kocevski/67802/ft2_4FGL_J2232.6+1143_daily_bin1676.fits outfile=/scratch/kocevski/67802/cmap_673747201_674006401_4FGL_J2232.6+1143_daily_bin1676.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.57
user 0.40
sys 0.15

Creating the high resolution counts map:
time -p gtbin evfile=/scratch/kocevski/67802/ft1_filtered_4FGL_J2232.6+1143_daily_bin1676.fits scfile=/scratch/kocevski/67802/ft2_4FGL_J2232.6+1143_daily_bin1676.fits outfile=/scratch/kocevski/67802/cmap_HighResolution_673747201_674006401_4FGL_J2232.6+1143_daily_bin1676.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.56
user 0.38
sys 0.17

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

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

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

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

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'Prefactor '    .10090E-03   1.0000         .10000E-03   10000.    
     2 'norm      '    5.2465       1.0000         .10000E-03   10000.    
     3 'norm      '    4.1089       1.0000         .10000E-03   10000.    
     4 'norm      '    .10009E-03   1.0000         .10000E-03   10000.    
     5 'Prefactor '    .10182E-03   1.0000         .10000E-03   10000.    
     6 'Prefactor '    22.426       1.0000         .10000E-03   10000.    
     7 'norm      '    .10006E-03   1.0000         .10000E-03   10000.    
     8 'Prefactor '    14.407       1.0000         .10000E-03   10000.    
     9 'Prefactor '    10.163       1.0000         .10000E-03   10000.    
    10 'Prefactor '    .97563       1.0000         .10000E-03   10000.    
    11 'Prefactor '    4.9876       1.0000         .10000E-03   10000.    
    12 'norm      '    .24873E-02   1.0000         .10000E-03   10000.    
    13 'Prefactor '    .10002E-03   1.0000         .10000E-03   10000.    
    14 'Prefactor '    75.397       1.0000         .10000E-03   10000.    
    15 'Prefactor '    .10000E-03   1.0000         .10000E-03   10000.    
    16 'Prefactor '    .86348       1.0000         .10000E-03   10000.    
    17 'Prefactor '    .10022E-03   1.0000         .10000E-03   10000.    
    18 'Prefactor '    .10003E-03   1.0000         .10000E-03   10000.    
    19 'Prefactor '    .10044E-03   1.0000         .10000E-03   10000.    
    20 'Normalizat'    .86558       1.0000         .10000E-01   10.000    
    21 'Prefactor '    .94743       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=   8201.006     FROM MIGRAD    STATUS=CONVERGED    444 CALLS     2202 TOTAL
                     EDM=   .55E-09  STRATEGY=1  ERROR MATRIX UNCERTAINTY=   .8%

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor     .10000E-03    50.253       -.36251E-06** at limit **
   2  norm          5.2465        2.6225        .88489E-06    .92995E-03
   3  norm          4.1094        25.587       -.15232E-05   -.60458E-05
   4  norm          .10000E-03    .22073        .57576E-07** at limit **
   5  Prefactor     .10000E-03    12.936       -.72327E-06** at limit **
   6  Prefactor     22.397        26.416       -.70325E-06   -.19371E-03
   7  norm          .10000E-03    2.5007        .10224E-06** at limit **
   8  Prefactor     14.407        13.054        .72696E-07   -.74448E-06
   9  Prefactor     10.164        9.2271        .47320E-07   -.27314E-04
  10  Prefactor     .97563        .23763        .12620E-08   -.19467E-03
  11  Prefactor     4.9877        5.2771        .35364E-08   -.57695E-06
  12  norm          .10047E-03    1.1542        .70468E-06** at limit **
  13  Prefactor     .10000E-03    12.089        .25347E-06** at limit **
  14  Prefactor     75.403        18.120        .24253E-07   -.20603E-03
  15  Prefactor     .10000E-03    4.0098        .15624E-07** at limit **
  16  Prefactor     .86349        .17833        .50441E-08   -.37670E-03
  17  Prefactor     .10000E-03    16.765        .69929E-07** at limit **
  18  Prefactor     .10000E-03    1.9159        .40902E-07** at limit **
  19  Prefactor     .10000E-03    7.1136        .12528E-06** at limit **
  20  Normalizat    .86555        .20666       -.42092E-06   -.58773E-04
  21  Prefactor     .94749        .11095       -.62479E-07   -.12555E-03
                               ERR DEF=  .500    
Final values: 
  Prefactor  = 0.0001
  norm       = 5.24648
  norm       = 4.10936
  norm       = 0.0001
  Prefactor  = 0.0001
  Prefactor  = 22.3969
  norm       = 0.0001
  Prefactor  = 14.4067
  Prefactor  = 10.1637
  Prefactor  = 0.97563
  Prefactor  = 4.98767
  norm       = 0.000100466
  Prefactor  = 0.0001
  Prefactor  = 75.4032
  Prefactor  = 0.0001
  Prefactor  = 0.863486
  Prefactor  = 0.0001
  Prefactor  = 0.0001
  Prefactor  = 0.0001
  Normalizat = 0.865547
  Prefactor  = 0.947493
 **********
 **   18 **HESSE 
 **********

 FCN=   8201.006     FROM HESSE     STATUS=OK           323 CALLS     2525 TOTAL
                     EDM=   .10E-08    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  Prefactor     .10000E-03    50.350        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   2  norm          5.2465        2.6364        .49147E-03   -1.5250    
   3  norm          4.1094        25.550        .19887E-03   -1.5303    
   4  norm          .10000E-03    .40936        .82616E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   5  Prefactor     .10000E-03    13.009        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   6  Prefactor     22.397        26.714        .84583E-04   -1.4761    
   7  norm          .10000E-03    2.5427        .13981E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   8  Prefactor     14.407        13.083        .10552E-03   -1.4949    
   9  Prefactor     10.164        9.2366        .12569E-03   -1.5070    
  10  Prefactor     .97563        .23792        .20015E-04   -1.5510    
  11  Prefactor     4.9877        5.2796        .18007E-03   -1.5261    
  12  norm          .10047E-03    .86764        .30227E-01   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  13  Prefactor     .10000E-03    12.125        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  14  Prefactor     75.403        18.128        .46242E-04   -1.3969    
  15  Prefactor     .10000E-03    4.0112        .17710E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  16  Prefactor     .86349        .17827        .16556E-04   -1.5522    
  17  Prefactor     .10000E-03    16.807        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  18  Prefactor     .10000E-03    1.9230        .12241E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  19  Prefactor     .10000E-03    7.1649        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  20  Normalizat    .86555        .24027        .35883E-03   -.97682    
  21  Prefactor     .94749        .12979        .19163E-03   -.94501    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 1.01937e-09
Minuit parameter uncertainties:
  1  0.000150239
  2  2.63645
  3  20.506
  4  1.65732e-06
  5  0.000112828
  6  26.7287
  7  3.37784e-06
  8  13.086
  9  9.23792
  10  0.23792
  11  5.28005
  12  0.00127199
  13  7.13361e-05
  14  18.1292
  15  8.32172e-07
  16  0.178273
  17  6.75541e-06
  18  1.41594e-06
  19  6.31405e-06
  20  0.24057
  21  0.12983
Done.

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

Extracting fit parameters...

4FGL J2232.6+1143
   Spectrum: PLSuperExpCutoff2
268    Prefactor:  9.756e-01  2.379e-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:  9.475e-01  1.298e-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.655e-01  2.406e-01  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Fixed Index): 43.19
Ra Dec: 338.152 11.731
Photon Index (Fixed Index): 2.05 +/- 0.00
Photon Flux (Fixed Index): 2.49e-07 +/- 6.06e-08
Energy Flux (Fixed Index): 9.22e-05 +/- 2.25e-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) = 8200.02767575
delta logL = 0.977847846654

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

MINUIT Return Code (Free Index): 0
logL (Free Index) = 8200.02673375
delta logL = 0.978789851462

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'Prefactor '    .87244       1.0000         .10000E-03   10000.    
     2 'Index1    '    2.4015       1.0000          .0000       10.000    
     3 'Normalizat'    .79403       1.0000         .10000E-01   10.000    
     4 'Prefactor '    .97275       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=   8200.027     FROM MIGRAD    STATUS=CONVERGED     54 CALLS      217 TOTAL
                     EDM=   .38E-08    STRATEGY= 1      ERR MATRIX NOT POS-DEF

  EXT PARAMETER                APPROXIMATE        STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor     .87248        2.5808        .39917E-02    .32922E-03
   2  Index1        2.4015        2.5888        .97119E-01    .11096E-03
   3  Normalizat    .79405        .17011        .84077E-01    .34452E-04
   4  Prefactor     .97274        .83736E-01    .45926E-01    .15714E-05
                               ERR DEF=  .500    
Final values: 
  Prefactor  = 0.872476
  Index1     = 2.40145
  Normalizat = 0.794055
  Prefactor  = 0.972743
 **********
 **   18 **HESSE 
 **********

 FCN=   8200.027     FROM HESSE     STATUS=OK            33 CALLS      250 TOTAL
                     EDM=   .74E-09    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  Prefactor     .87248        .23084        .17681E-04   -1.5521    
   2  Index1        2.4015        .26117        .41332E-02   -.54651    
   3  Normalizat    .79405        .23828        .37230E-03   -1.0029    
   4  Prefactor     .97274        .13095        .18926E-03   -.93644    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 7.36662e-10
Minuit parameter uncertainties:
  1  0.230839
  2  0.261333
  3  0.238591
  4  0.130992
shell-init: error retrieving current directory: getcwd: cannot access parent directories: No such file or directory
rmdir: failed to remove `/scratch/kocevski/67802': 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) = 8200.02673372
delta logL = 0.978789876368

Extracting fit parameters...

4FGL J2232.6+1143
   Spectrum: PLSuperExpCutoff2
268    Prefactor:  8.725e-01  2.308e-01  1.000e-04  1.000e+04 ( 1.000e-10)
269       Index1:  2.401e+00  2.613e-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:  9.727e-01  1.310e-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:  7.941e-01  2.386e-01  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Free Index): 45.32
Ra Dec: 338.152 11.731
Photon Index (Free Index): 2.40 +/- 0.26
Photon Flux (Free Index): 3.08e-07 +/- 7.71e-08
Energy Flux (Free Index): 8.13e-05 +/- 1.93e-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/67802/cmap_HighResolution_673747201_674006401_4FGL_J2232.6+1143_daily_bin1676.png

Cleaning up...

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

Updating database...

UPDATE lightcurve_data_v2 SET comment='SUCCESS', photon_flux='2.49e-07', energy_flux2='8.13e-05', photon_flux_error='6.06e-08', dlogl='9.79e-01', energy_flux='9.22e-05', photon_flux2='3.08e-07', job_status='DONE', time_completed='2022-05-12 01:40:53.036207', photon_index_error2='0.26', photon_index2='2.40', ts='43.19', fit_tolerance='1e-08', GAL='0.95', photon_index_error='0.00', energy_flux_error2='1.93e-05', EG='0.87', time_epoch_completed='1652344853.04', return_code='0', job_id='67802', GAL2='0.97', EG2='0.79', return_code2='0', energy_flux_error='2.25e-05', photon_flux_error2='7.71e-08', ts2='45.32', photon_index='2.05' WHERE bin_id='1676' AND source_name='4FGL J2232.6+1143' AND cadence='daily';

Database successfully updated.


Analysis Complete.


Thu May 12 01:40:53 PDT 2022


------------------------------------------------------------
Sender: LSF System <lsf@bullet0253>
Subject: Job 67802: <4FGL_J2232.6+1143_daily_bin1676> in cluster <slac> Done

Job <4FGL_J2232.6+1143_daily_bin1676> was submitted from host <rhel6-64p> by user <kocevski> in cluster <slac> at Thu May 12 01:25:46 2022
Job was executed on host(s) <bullet0253>, in queue <medium>, as user <kocevski> in cluster <slac> at Thu May 12 01:28:36 2022
</u/ki/kocevski> was used as the home directory.
</u/ki/kocevski> was used as the working directory.
Started at Thu May 12 01:28:36 2022
Terminated at Thu May 12 01:40:53 2022
Results reported at Thu May 12 01:40:53 2022

Your job looked like:

------------------------------------------------------------
# LSBATCH: User input
/nfs/farm/g/glast/g/LCRepository/Likelihood/Scripts/LikelihoodAnalysis.py 4FGL_J2232.6+1143_daily_bin1676 338.152 11.7306 673747201 674006401 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 :                                   631.00 sec.
    Max Memory :                                 1256 MB
    Average Memory :                             327.31 MB
    Total Requested Memory :                     -
    Delta Memory :                               -
    Max Swap :                                   -
    Max Processes :                              5
    Max Threads :                                21
    Run time :                                   737 sec.
    Turnaround time :                            907 sec.

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

