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


Performing analysis on: 4FGL_J2235.1-0623_daily_bin1106
RA = 338.799, Dec = -6.3955
tmin = 526003201, tmax = 526262401
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='377238', job_status='RUN', time_executed='2021-09-28 15:38:40.796858', time_epoch_executed='1632868720.8' WHERE source_name='4FGL J2235.1-0623' and cadence='daily' and bin_id='1106'

Database successfully updated.
Done.

Creating custom output directory:
/scratch/kocevski/377238

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

Retrieving the FT1 file...

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

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

Retrieving 47 files...
Done.


Merging files...

Checksum keywords updated successfully.

Merged file saved to:
/scratch/kocevski/377238/ft1_4FGL_J2235.1-0623_daily_bin1106.fits


Retrieving the FT1 file...

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

Retrieving 47 files...
Done.


Merging files...

Merged file saved to:
/scratch/kocevski/377238/ft2_4FGL_J2235.1-0623_daily_bin1106.fits


Selecting the photons:
time -p gtselect infile=/scratch/kocevski/377238/ft1_4FGL_J2235.1-0623_daily_bin1106.fits outfile=/scratch/kocevski/377238/ft1_filteredMKT_4FGL_J2235.1-0623_daily_bin1106.fits ra=338.799 dec=-6.3955 rad=12.0 tmin=526003201.0 tmax=526262401.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.70
user 3.49
sys 0.20

Adding sun position to ft2 file:
/nfs/farm/g/glast/g/LCRepository/Repository/bin/sunpos /scratch/kocevski/377238/ft2_4FGL_J2235.1-0623_daily_bin1106.fits

Selecting the good time intervals:
time -p gtmktime scfile=/scratch/kocevski/377238/ft2_4FGL_J2235.1-0623_daily_bin1106.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/377238/ft1_filteredMKT_4FGL_J2235.1-0623_daily_bin1106.fits evtable="EVENTS" outfile="/scratch/kocevski/377238/ft1_filtered_4FGL_J2235.1-0623_daily_bin1106.fits" apply_filter=yes overwrite=yes header_obstimes=yes tstart=0.0 tstop=0.0 gtifile="default" chatter=3 clobber=yes debug=no gui=no mode="ql"

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

This is gtmktime version HEAD
Applying GTI filter:
IN_SAA!=T && LIVETIME>0 && gtifilter('/nfs/farm/g/glast/g/LCRepository/Likelihood/GTIs/nogrb.gti',(START+STOP)/2) && (angsep(RA_SUN,DEC_SUN,RA_ZENITH,DEC_ZENITH)>115 || gtifilter('/nfs/farm/g/glast/g/LCRepository/Likelihood/GTIs/nosolarflares.gti',(START+STOP)/2))
real 0.49
user 0.33
sys 0.15

Generating the livetime cube:
time -p gtltcube evfile="/scratch/kocevski/377238/ft1_filtered_4FGL_J2235.1-0623_daily_bin1106.fits" evtable="EVENTS" scfile=/scratch/kocevski/377238/ft2_4FGL_J2235.1-0623_daily_bin1106.fits sctable="SC_DATA" outfile=/scratch/kocevski/377238/ltcube_526003201_526262401_4FGL_J2235.1-0623_daily_bin1106.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/377238/ft2_4FGL_J2235.1-0623_daily_bin1106.fits
.....................!
real 12.11
user 11.76
sys 0.33

Generating the exposure map:
time -p gtexpmap evfile=/scratch/kocevski/377238/ft1_filtered_4FGL_J2235.1-0623_daily_bin1106.fits evtable="EVENTS" scfile=/scratch/kocevski/377238/ft2_4FGL_J2235.1-0623_daily_bin1106.fits sctable="SC_DATA" expcube=/scratch/kocevski/377238/ltcube_526003201_526262401_4FGL_J2235.1-0623_daily_bin1106.fits outfile=/scratch/kocevski/377238/expmap_526003201_526262401_4FGL_J2235.1-0623_daily_bin1106.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/377238/ltcube_526003201_526262401_4FGL_J2235.1-0623_daily_bin1106.fits
.....................!
real 191.30
user 186.99
sys 4.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 159 point sources and 0 extended sources

Setting source of interest to:
4FGL J2235.1-0623 @ 338.799 -6.3955

Creating the counts map:
time -p gtbin evfile=/scratch/kocevski/377238/ft1_filtered_4FGL_J2235.1-0623_daily_bin1106.fits scfile=/scratch/kocevski/377238/ft2_4FGL_J2235.1-0623_daily_bin1106.fits outfile=/scratch/kocevski/377238/cmap_526003201_526262401_4FGL_J2235.1-0623_daily_bin1106.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.799 yref=-6.3955 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.38
sys 0.14

Creating the high resolution counts map:
time -p gtbin evfile=/scratch/kocevski/377238/ft1_filtered_4FGL_J2235.1-0623_daily_bin1106.fits scfile=/scratch/kocevski/377238/ft2_4FGL_J2235.1-0623_daily_bin1106.fits outfile=/scratch/kocevski/377238/cmap_HighResolution_526003201_526262401_4FGL_J2235.1-0623_daily_bin1106.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.799 yref=-6.3955 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.39
sys 0.14

Computing the diffuse response:
time -p gtdiffrsp evfile=/scratch/kocevski/377238/ft1_filtered_4FGL_J2235.1-0623_daily_bin1106.fits evtable="EVENTS" scfile=/scratch/kocevski/377238/ft2_4FGL_J2235.1-0623_daily_bin1106.fits sctable="SC_DATA" srcmdl=/scratch/kocevski/377238/Model_4FGL_J2235.1-0623_daily_bin1106.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/377238/ft1_filtered_4FGL_J2235.1-0623_daily_bin1106.fits.....................!
real 67.05
user 65.71
sys 1.23

Creating the likelihood object...
obs = UnbinnedObs('/scratch/kocevski/377238/ft1_filtered_4FGL_J2235.1-0623_daily_bin1106.fits', '/scratch/kocevski/377238/ft2_4FGL_J2235.1-0623_daily_bin1106.fits', expMap='/scratch/kocevski/377238/expmap_526003201_526262401_4FGL_J2235.1-0623_daily_bin1106.fits', expCube='/scratch/kocevski/377238/ltcube_526003201_526262401_4FGL_J2235.1-0623_daily_bin1106.fits', irfs='P8R3_SOURCE_V2')
like = UnbinnedAnalysis(obs, '/scratch/kocevski/377238/Model_4FGL_J2235.1-0623_daily_bin1106.xml', optimizer='MINUIT')

Using source of interest name: '4FGL J2235.1-0623'

4FGL J2235.1-0623
   Spectrum: PowerLaw
269    Prefactor:  6.499e+00  0.000e+00  1.000e-04  1.000e+04 ( 1.000e-14)
270        Index:  2.149e+00  0.000e+00  0.000e+00  1.000e+01 (-1.000e+00) fixed
271        Scale:  1.759e+03  0.000e+00  3.000e+01  5.000e+05 ( 1.000e+00) fixed


Likelihood Fit Parameters:
Event file(s): /scratch/kocevski/377238/ft1_filtered_4FGL_J2235.1-0623_daily_bin1106.fits
Spacecraft file(s): /scratch/kocevski/377238/ft2_4FGL_J2235.1-0623_daily_bin1106.fits
Exposure map: /scratch/kocevski/377238/expmap_526003201_526262401_4FGL_J2235.1-0623_daily_bin1106.fits
Exposure cube: /scratch/kocevski/377238/ltcube_526003201_526262401_4FGL_J2235.1-0623_daily_bin1106.fits
IRFs: P8R3_SOURCE_V2
Source model file: /scratch/kocevski/377238/Model_4FGL_J2235.1-0623_daily_bin1106.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) = 6806.82524725

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

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

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'Prefactor '    6.0844       1.0000         .10000E-03   10000.    
     2 'Prefactor '    .10000E-03   1.0000         .10000E-03   10000.    
     3 'Prefactor '    .10000E-03   1.0000         .10000E-03   10000.    
     4 'Prefactor '    6.4473       1.0000         .10000E-03   10000.    
     5 'Prefactor '    .10014E-03   1.0000         .10000E-03   10000.    
     6 'Prefactor '    53.415       1.0000         .10000E-03   10000.    
     7 'Prefactor '    25.482       1.0000         .10000E-03   10000.    
     8 'Prefactor '    3.4258       1.0000         .10000E-03   10000.    
     9 'Prefactor '    .10333E-03   1.0000         .10000E-03   10000.    
    10 'norm      '    .10015E-03   1.0000         .10000E-03   10000.    
    11 'Prefactor '    .10001E-03   1.0000         .10000E-03   10000.    
    12 'norm      '    .84716       1.0000         .10000E-03   10000.    
    13 'Prefactor '    43.778       1.0000         .10000E-03   10000.    
    14 'norm      '    .11262E-03   1.0000         .10000E-03   10000.    
    15 'Prefactor '    27.920       1.0000         .10000E-03   10000.    
    16 'Prefactor '    7.1677       1.0000         .10000E-03   10000.    
    17 'Prefactor '    .10001E-03   1.0000         .10000E-03   10000.    
    18 'norm      '    18.951       1.0000         .10000E-03   10000.    
    19 'Prefactor '    67.425       1.0000         .10000E-03   10000.    
    20 'Prefactor '    .10034E-03   1.0000         .10000E-03   10000.    
    21 'Normalizat'    .84367       1.0000         .10000E-01   10.000    
    22 'Prefactor '    .95321       1.0000          .0000       10.000    
 **********
 **   15 **SET ERR    .5000    
 **********
 **********
 **   16 **SET GRAD    1.000    
 **********
 **********
 **   17 **MINIMIZE    .5130E+05   .2000E-04
 **********

 MIGRAD MINIMIZATION HAS CONVERGED.

 MIGRAD WILL VERIFY CONVERGENCE AND ERROR MATRIX.

 MIGRAD MINIMIZATION HAS CONVERGED.

 FCN=   6806.818     FROM MIGRAD    STATUS=CONVERGED    469 CALLS     2380 TOTAL
                     EDM=   .46E-09  STRATEGY=1  ERROR MATRIX UNCERTAINTY=  1.6%

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor     6.0847        5.3090        .62978E-07   -.20228E-04
   2  Prefactor     .10000E-03    3.1806       -.44170E-08** at limit **
   3  Prefactor     .10000E-03    5.7571       -.30915E-06** at limit **
   4  Prefactor     6.4461        15.347       -.51558E-07   -.97961E-05
   5  Prefactor     .10000E-03    13.306       -.12569E-06** at limit **
   6  Prefactor     53.414        16.536       -.22249E-06   -.12543E-04
   7  Prefactor     25.468        79.860       -.58080E-05   -.23161E-04
   8  Prefactor     3.4254        4.2724       -.79867E-06   -.29089E-03
   9  Prefactor     .10000E-03    66.648       -.16555E-05** at limit **
  10  norm          .10000E-03    1.7479       -.75879E-07** at limit **
  11  Prefactor     .10000E-03    22.552       -.50677E-08** at limit **
  12  norm          .84698        .90898        .55837E-07   -.66379E-03
  13  Prefactor     43.732        15.911       -.17886E-05   -.11240E-02
  14  norm          .10000E-03    .83962        .14459E-05** at limit **
  15  Prefactor     27.913        26.801        .14516E-05   -.23827E-03
  16  Prefactor     7.1660        9.2260       -.44124E-06   -.13352E-03
  17  Prefactor     .10000E-03    7.6660        .24947E-06** at limit **
  18  norm          18.949        12.551        .46059E-07   -.60868E-06
  19  Prefactor     67.413        57.938       -.25665E-05   -.48111E-04
  20  Prefactor     .10000E-03    5.5428        .14506E-06** at limit **
  21  Normalizat    .84392        .20658        .72108E-06   -.19639E-03
  22  Prefactor     .95309        .12620       -.18632E-06   -.17881E-03
                               ERR DEF=  .500    
Final values: 
  Prefactor  = 6.08474
  Prefactor  = 0.0001
  Prefactor  = 0.0001
  Prefactor  = 6.44606
  Prefactor  = 0.0001
  Prefactor  = 53.414
  Prefactor  = 25.4678
  Prefactor  = 3.42537
  Prefactor  = 0.0001
  norm       = 0.0001
  Prefactor  = 0.0001
  norm       = 0.846984
  Prefactor  = 43.7323
  norm       = 0.000100001
  Prefactor  = 27.9126
  Prefactor  = 7.16597
  Prefactor  = 0.0001
  norm       = 18.9493
  Prefactor  = 67.4129
  Prefactor  = 0.0001
  Normalizat = 0.843923
  Prefactor  = 0.953087
 **********
 **   18 **HESSE 
 **********

 FCN=   6806.818     FROM HESSE     STATUS=OK           340 CALLS     2720 TOTAL
                     EDM=   .17E-08    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  Prefactor     6.0847        5.3117        .16277E-03   -1.5215    
   2  Prefactor     .10000E-03    3.1850        .14370E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   3  Prefactor     .10000E-03    5.7602        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   4  Prefactor     6.4461        15.339        .15806E-03   -1.5200    
   5  Prefactor     .10000E-03    13.510        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   6  Prefactor     53.414        16.458        .54880E-04   -1.4245    
   7  Prefactor     25.468        79.899        .79356E-04   -1.4698    
   8  Prefactor     3.4254        4.2993        .17595E-03   -1.5338    
   9  Prefactor     .10000E-03    67.343        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  10  norm          .10000E-03    1.7791        .10634E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  11  Prefactor     .10000E-03    22.556        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  12  norm          .84698        .87142        .76178E-03   -1.5524    
  13  Prefactor     43.732        17.328        .60591E-04   -1.4384    
  14  norm          .10000E-03    1.3042        .13423E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  15  Prefactor     27.913        26.821        .75820E-04   -1.4651    
  16  Prefactor     7.1660        9.2286        .14983E-03   -1.5173    
  17  Prefactor     .10000E-03    7.7188        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  18  norm          18.949        12.558        .92005E-04   -1.4837    
  19  Prefactor     67.413        58.248        .48880E-04   -1.4064    
  20  Prefactor     .10000E-03    5.5610        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  21  Normalizat    .84392        .24384        .31598E-03   -.98460    
  22  Prefactor     .95309        .14969        .19633E-03   -.94310    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 1.74551e-09
Minuit parameter uncertainties:
  1  5.31216
  2  1.15133e-08
  3  2.81462e-06
  4  15.348
  5  2.1072e-05
  6  16.459
  7  80.2374
  8  4.2997
  9  7.42362e-05
  10  1.70721e-05
  11  2.08871e-05
  12  0.871431
  13  17.3303
  14  8.52254e-05
  15  26.8323
  16  9.23048
  17  1.69511e-05
  18  12.5599
  19  58.2977
  20  3.5355e-05
  21  0.244153
  22  0.149753
Done.

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

Extracting fit parameters...

4FGL J2235.1-0623
   Spectrum: PowerLaw
269    Prefactor:  1.000e-04  2.089e-05  1.000e-04  1.000e+04 ( 1.000e-14)
270        Index:  2.149e+00  0.000e+00  0.000e+00  1.000e+01 (-1.000e+00) fixed
271        Scale:  1.759e+03  0.000e+00  3.000e+01  5.000e+05 ( 1.000e+00) fixed

GAL_V02
   Spectrum: PowerLaw
510    Prefactor:  9.531e-01  1.498e-01  0.000e+00  1.000e+01 ( 1.000e+00)
511        Index:  0.000e+00  0.000e+00 -1.000e+00  1.000e+00 ( 1.000e+00) fixed
512        Scale:  1.000e+02  0.000e+00  5.000e+01  2.000e+02 ( 1.000e+00) fixed

EG_v02
   Spectrum: FileFunction
509   Normalization:  8.439e-01  2.442e-01  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Fixed Index): -0.00
Ra Dec: 338.799 -6.396
Photon Flux Upper Limit: 4.86e-08 ph cm-2 s-1
Energy Flux Upper Limit: 3.69e-03 MeV cm-2 s-1

Saving results to:
/scratch/kocevski/377238/likelihoodResults_526003201_526262401_4FGL_J2235.1-0623_daily_bin1106.txt

Performing a free index iterative likelihood fit...

Freezing all point sources, except source of interest...

Done.

Freeing candidate source...
Done.

Fit tolerance = 1

Performing likelihood fit...
Done.

MINUIT Return Code (Free Index): 102
logL (Free Index) = 6806.81817926
delta logL = -0.000210961402445

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

MINUIT Return Code (Free Index): 102
logL (Free Index) = 6806.81796941
delta logL = -1.11444478534e-06

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'Prefactor '    .10558E-03   1.0000         .10000E-03   10000.    
     2 'Index     '    2.5334       1.0000          .0000       10.000    
     3 'Normalizat'    .84392       1.0000         .10000E-01   10.000    
     4 'Prefactor '    .95309       1.0000          .0000       10.000    
 **********
 **   15 **SET ERR    .5000    
 **********
 **********
 **   16 **SET GRAD    1.000    
 **********
 **********
 **   17 **MINIMIZE    .5130E+05   .2000E-04
 **********

 MIGRAD MINIMIZATION HAS CONVERGED.

 MIGRAD WILL VERIFY CONVERGENCE AND ERROR MATRIX.

 MIGRAD MINIMIZATION HAS CONVERGED.

 MIGRAD WILL VERIFY CONVERGENCE AND ERROR MATRIX.

 FCN=   6806.818     FROM MIGRAD    STATUS=CONVERGED     89 CALLS      270 TOTAL
                     EDM=   .12E-07    STRATEGY= 1      ERR MATRIX NOT POS-DEF

  EXT PARAMETER                APPROXIMATE        STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor     .10192E-03    119.68        .18142E-02** at limit **
   2  Index         2.4657        8.7447        .50000        .13519E-04
   3  Normalizat    .84393        .12916E-01    .31598E-03    .27992E-04
   4  Prefactor     .95308        .85404E-02    .19633E-03   -.30249E-03
                               ERR DEF=  .500    
Final values: 
  Prefactor  = 0.000101916
  Index      = 2.4657
  Normalizat = 0.843928
  Prefactor  = 0.953084
 **********
 **   18 **HESSE 
 **********

 FCN=   6806.818     FROM HESSE     STATUS=NOT POSDEF    29 CALLS      299 TOTAL
                     EDM=   .52E-07    STRATEGY= 1      ERR MATRIX NOT POS-DEF

  EXT PARAMETER                APPROXIMATE     INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  Prefactor     .10192E-03    514.64        .36285E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   2  Index         2.4657        5.2811        .50000       -.53154    
   3  Normalizat    .84393        .27677E-01    .12639E-04   -.98459    
   4  Prefactor     .95308        .18301E-01    .39266E-04   -.94310    
                               ERR DEF=  .500    
Minuit fit quality: 2   estimated distance: 5.17813e-08
Minuit parameter uncertainties:
  1  0.063347
  2  658.326
  3  0.0276779
  4  0.0183011
shell-init: error retrieving current directory: getcwd: cannot access parent directories: No such file or directory
rmdir: failed to remove `/scratch/kocevski/377238': No such file or directory
shell-init: error retrieving current directory: getcwd: cannot access parent directories: No such file or directory
Done.

MINUIT Return Code (Free Index): 102
logL (Free Index) = 6806.81796907
delta logL = -7.71115082898e-07

Extracting fit parameters...

4FGL J2235.1-0623
   Spectrum: PowerLaw
269    Prefactor:  1.019e-04  6.335e-02  1.000e-04  1.000e+04 ( 1.000e-14)
270        Index:  2.466e+00  6.583e+02  0.000e+00  1.000e+01 (-1.000e+00)
271        Scale:  1.759e+03  0.000e+00  3.000e+01  5.000e+05 ( 1.000e+00) fixed

GAL_V02
   Spectrum: PowerLaw
510    Prefactor:  9.531e-01  1.830e-02  0.000e+00  1.000e+01 ( 1.000e+00)
511        Index:  0.000e+00  0.000e+00 -1.000e+00  1.000e+00 ( 1.000e+00) fixed
512        Scale:  1.000e+02  0.000e+00  5.000e+01  2.000e+02 ( 1.000e+00) fixed

EG_v02
   Spectrum: FileFunction
509   Normalization:  8.439e-01  2.768e-02  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Free Index): -0.00
Ra Dec: 338.799 -6.396

Creating a high resolution counts map...
INFO: Auto-setting vmin to -2.500e-04 [aplpy.core]
INFO: Auto-setting vmax to  2.775e-03 [aplpy.core]
Saving /scratch/kocevski/377238/cmap_HighResolution_526003201_526262401_4FGL_J2235.1-0623_daily_bin1106.png

Cleaning up...

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

Updating database...

UPDATE lightcurve_data_v2 SET energy_flux_upper_limit='3.69e-03', job_status='DONE', photon_flux_upper_limit='4.86e-08', time_completed='2021-09-28 15:49:46.038055', job_id='377238', GAL2='0.95', fit_tolerance='1e-08', EG2='0.84', EG='0.84', time_epoch_completed='1632869386.04', return_code2='102', ts='-0.00', comment='SUCCESS', return_code='0', GAL='0.95', dlogl='-7.71e-07', ts2='-0.00', photon_index_error='0.00', photon_index='2.15' WHERE bin_id='1106' AND source_name='4FGL J2235.1-0623' AND cadence='daily';

Database successfully updated.


Analysis Complete.


Tue Sep 28 15:49:46 PDT 2021


------------------------------------------------------------
Sender: LSF System <lsf@bullet0234>
Subject: Job 377238: <4FGL_J2235.1-0623_daily_bin1106> in cluster <slac> Done

Job <4FGL_J2235.1-0623_daily_bin1106> was submitted from host <rhel6-64p> by user <kocevski> in cluster <slac> at Tue Sep 28 15:35:54 2021
Job was executed on host(s) <bullet0234>, in queue <medium>, as user <kocevski> in cluster <slac> at Tue Sep 28 15:35:55 2021
</u/ki/kocevski> was used as the home directory.
</u/ki/kocevski> was used as the working directory.
Started at Tue Sep 28 15:35:55 2021
Terminated at Tue Sep 28 15:49:46 2021
Results reported at Tue Sep 28 15:49:46 2021

Your job looked like:

------------------------------------------------------------
# LSBATCH: User input
/nfs/farm/g/glast/g/LCRepository/Likelihood/Scripts/LikelihoodAnalysis.py 4FGL_J2235.1-0623_daily_bin1106 338.799 -6.3955 526003201 526262401 irfs=P8R3_SOURCE_V2 zmax=90 ROI=12 association=4FGL_J2235.1-0623 fixedModel=True performFreeIndexFit=True freeVariableSources=True nuke=True repositoryJob=True verbose=False
------------------------------------------------------------

Successfully completed.

Resource usage summary:

    CPU time :                                   642.00 sec.
    Max Memory :                                 1093 MB
    Average Memory :                             246.62 MB
    Total Requested Memory :                     -
    Delta Memory :                               -
    Max Swap :                                   -
    Max Processes :                              5
    Max Threads :                                21
    Run time :                                   831 sec.
    Turnaround time :                            832 sec.

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

