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


Performing analysis on: 4FGL_J2235.1-0623_daily_bin1060
RA = 338.799, Dec = -6.3955
tmin = 514080001, tmax = 514339201
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='377152', job_status='RUN', time_executed='2021-09-28 15:39:07.238143', time_epoch_executed='1632868747.24' WHERE source_name='4FGL J2235.1-0623' and cadence='daily' and bin_id='1060'

Database successfully updated.
Done.

Creating custom output directory:
/scratch/kocevski/377152

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

Retrieving the FT1 file...

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

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

Retrieving 46 files...
Done.


Merging files...

Checksum keywords updated successfully.

Merged file saved to:
/scratch/kocevski/377152/ft1_4FGL_J2235.1-0623_daily_bin1060.fits


Retrieving the FT1 file...

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

Retrieving 46 files...
Done.


Merging files...

Merged file saved to:
/scratch/kocevski/377152/ft2_4FGL_J2235.1-0623_daily_bin1060.fits


Selecting the photons:
time -p gtselect infile=/scratch/kocevski/377152/ft1_4FGL_J2235.1-0623_daily_bin1060.fits outfile=/scratch/kocevski/377152/ft1_filteredMKT_4FGL_J2235.1-0623_daily_bin1060.fits ra=338.799 dec=-6.3955 rad=12.0 tmin=514080001.0 tmax=514339201.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.61
user 3.36
sys 0.23

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

Selecting the good time intervals:
time -p gtmktime scfile=/scratch/kocevski/377152/ft2_4FGL_J2235.1-0623_daily_bin1060.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/377152/ft1_filteredMKT_4FGL_J2235.1-0623_daily_bin1060.fits evtable="EVENTS" outfile="/scratch/kocevski/377152/ft1_filtered_4FGL_J2235.1-0623_daily_bin1060.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.16

Generating the livetime cube:
time -p gtltcube evfile="/scratch/kocevski/377152/ft1_filtered_4FGL_J2235.1-0623_daily_bin1060.fits" evtable="EVENTS" scfile=/scratch/kocevski/377152/ft2_4FGL_J2235.1-0623_daily_bin1060.fits sctable="SC_DATA" outfile=/scratch/kocevski/377152/ltcube_514080001_514339201_4FGL_J2235.1-0623_daily_bin1060.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/377152/ft2_4FGL_J2235.1-0623_daily_bin1060.fits
.....................!
real 15.11
user 14.74
sys 0.33

Generating the exposure map:
time -p gtexpmap evfile=/scratch/kocevski/377152/ft1_filtered_4FGL_J2235.1-0623_daily_bin1060.fits evtable="EVENTS" scfile=/scratch/kocevski/377152/ft2_4FGL_J2235.1-0623_daily_bin1060.fits sctable="SC_DATA" expcube=/scratch/kocevski/377152/ltcube_514080001_514339201_4FGL_J2235.1-0623_daily_bin1060.fits outfile=/scratch/kocevski/377152/expmap_514080001_514339201_4FGL_J2235.1-0623_daily_bin1060.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/377152/ltcube_514080001_514339201_4FGL_J2235.1-0623_daily_bin1060.fits
.....................!
real 190.79
user 184.62
sys 5.66

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/377152/ft1_filtered_4FGL_J2235.1-0623_daily_bin1060.fits scfile=/scratch/kocevski/377152/ft2_4FGL_J2235.1-0623_daily_bin1060.fits outfile=/scratch/kocevski/377152/cmap_514080001_514339201_4FGL_J2235.1-0623_daily_bin1060.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.52
user 0.37
sys 0.15

Creating the high resolution counts map:
time -p gtbin evfile=/scratch/kocevski/377152/ft1_filtered_4FGL_J2235.1-0623_daily_bin1060.fits scfile=/scratch/kocevski/377152/ft2_4FGL_J2235.1-0623_daily_bin1060.fits outfile=/scratch/kocevski/377152/cmap_HighResolution_514080001_514339201_4FGL_J2235.1-0623_daily_bin1060.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.54
user 0.38
sys 0.15

Computing the diffuse response:
time -p gtdiffrsp evfile=/scratch/kocevski/377152/ft1_filtered_4FGL_J2235.1-0623_daily_bin1060.fits evtable="EVENTS" scfile=/scratch/kocevski/377152/ft2_4FGL_J2235.1-0623_daily_bin1060.fits sctable="SC_DATA" srcmdl=/scratch/kocevski/377152/Model_4FGL_J2235.1-0623_daily_bin1060.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/377152/ft1_filtered_4FGL_J2235.1-0623_daily_bin1060.fits.....................!
real 57.70
user 56.41
sys 1.18

Creating the likelihood object...
obs = UnbinnedObs('/scratch/kocevski/377152/ft1_filtered_4FGL_J2235.1-0623_daily_bin1060.fits', '/scratch/kocevski/377152/ft2_4FGL_J2235.1-0623_daily_bin1060.fits', expMap='/scratch/kocevski/377152/expmap_514080001_514339201_4FGL_J2235.1-0623_daily_bin1060.fits', expCube='/scratch/kocevski/377152/ltcube_514080001_514339201_4FGL_J2235.1-0623_daily_bin1060.fits', irfs='P8R3_SOURCE_V2')
like = UnbinnedAnalysis(obs, '/scratch/kocevski/377152/Model_4FGL_J2235.1-0623_daily_bin1060.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/377152/ft1_filtered_4FGL_J2235.1-0623_daily_bin1060.fits
Spacecraft file(s): /scratch/kocevski/377152/ft2_4FGL_J2235.1-0623_daily_bin1060.fits
Exposure map: /scratch/kocevski/377152/expmap_514080001_514339201_4FGL_J2235.1-0623_daily_bin1060.fits
Exposure cube: /scratch/kocevski/377152/ltcube_514080001_514339201_4FGL_J2235.1-0623_daily_bin1060.fits
IRFs: P8R3_SOURCE_V2
Source model file: /scratch/kocevski/377152/Model_4FGL_J2235.1-0623_daily_bin1060.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) = 5878.08373234

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

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

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'Prefactor '    2.3995       1.0000         .10000E-03   10000.    
     2 'Prefactor '    .10000E-03   1.0000         .10000E-03   10000.    
     3 'Prefactor '    10.616       1.0000         .10000E-03   10000.    
     4 'Prefactor '    .10001E-03   1.0000         .10000E-03   10000.    
     5 'Prefactor '    1.8311       1.0000         .10000E-03   10000.    
     6 'Prefactor '    16.101       1.0000         .10000E-03   10000.    
     7 'Prefactor '    .10016E-03   1.0000         .10000E-03   10000.    
     8 'Prefactor '    .10000E-03   1.0000         .10000E-03   10000.    
     9 'Prefactor '    .10000E-03   1.0000         .10000E-03   10000.    
    10 'norm      '    3.1541       1.0000         .10000E-03   10000.    
    11 'Prefactor '    .10000E-03   1.0000         .10000E-03   10000.    
    12 'norm      '    1.5069       1.0000         .10000E-03   10000.    
    13 'Prefactor '    57.185       1.0000         .10000E-03   10000.    
    14 'norm      '    8.2108       1.0000         .10000E-03   10000.    
    15 'Prefactor '    .10000E-03   1.0000         .10000E-03   10000.    
    16 'Prefactor '    22.856       1.0000         .10000E-03   10000.    
    17 'Prefactor '    .10000E-03   1.0000         .10000E-03   10000.    
    18 'norm      '    11.148       1.0000         .10000E-03   10000.    
    19 'Prefactor '    .10000E-03   1.0000         .10000E-03   10000.    
    20 'Prefactor '    36.548       1.0000         .10000E-03   10000.    
    21 'Normalizat'    .91827       1.0000         .10000E-01   10.000    
    22 'Prefactor '    .96166       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=   5878.048     FROM MIGRAD    STATUS=CONVERGED    473 CALLS     2847 TOTAL
                     EDM=   .17E-08  STRATEGY=1  ERROR MATRIX UNCERTAINTY=  1.3%

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor     2.3987        5.8915       -.26360E-05   -.54177E-03
   2  Prefactor     .10000E-03    3.9918       -.25353E-08** at limit **
   3  Prefactor     10.616        10.938        .88317E-07    .13003E-05
   4  Prefactor     .10000E-03    9.3641        .81263E-07** at limit **
   5  Prefactor     1.8318        27.311       -.12703E-05   -.15168E-03
   6  Prefactor     16.101        11.749        .96839E-07   -.15346E-04
   7  Prefactor     .10000E-03    85.790       -.14739E-04** at limit **
   8  Prefactor     .10000E-03    3.1301        .50606E-08** at limit **
   9  Prefactor     .10000E-03    27.280        .19503E-04** at limit **
  10  norm          3.1542        3.8933       -.31417E-06   -.39945E-03
  11  Prefactor     .10000E-03    30.082       -.19977E-04** at limit **
  12  norm          1.5070        1.1906       -.27108E-06   -.85169E-03
  13  Prefactor     57.199        50.280        .12790E-04   -.36663E-03
  14  norm          8.2099        4.2721       -.24983E-05    .11252E-03
  15  Prefactor     .10000E-03    51.664        .17904E-04** at limit **
  16  Prefactor     22.856        16.358       -.86059E-07   -.70540E-04
  17  Prefactor     .10000E-03    12.006       -.37935E-06** at limit **
  18  norm          11.147        13.846       -.16407E-05   -.95494E-03
  19  Prefactor     .10000E-03    28.857       -.64112E-05** at limit **
  20  Prefactor     36.549        18.653        .44195E-08    .15367E-04
  21  Normalizat    .91816        .23531       -.13275E-05    .30613E-04
  22  Prefactor     .96176        .14343        .98517E-06   -.82654E-04
                               ERR DEF=  .500    
Final values: 
  Prefactor  = 2.39865
  Prefactor  = 0.0001
  Prefactor  = 10.6157
  Prefactor  = 0.0001
  Prefactor  = 1.83179
  Prefactor  = 16.1007
  Prefactor  = 0.0001
  Prefactor  = 0.0001
  Prefactor  = 0.0001
  norm       = 3.15425
  Prefactor  = 0.0001
  norm       = 1.50705
  Prefactor  = 57.1992
  norm       = 8.20993
  Prefactor  = 0.000100001
  Prefactor  = 22.8556
  Prefactor  = 0.0001
  norm       = 11.1471
  Prefactor  = 0.0001
  Prefactor  = 36.5493
  Normalizat = 0.918165
  Prefactor  = 0.961765
 **********
 **   18 **HESSE 
 **********

 FCN=   5878.048     FROM HESSE     STATUS=OK           342 CALLS     3189 TOTAL
                     EDM=   .36E-08    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  Prefactor     2.3987        5.9412        .26434E-03   -1.5398    
   2  Prefactor     .10000E-03    3.9996        .14960E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   3  Prefactor     10.616        10.936        .12297E-03   -1.5056    
   4  Prefactor     .10000E-03    9.3899        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   5  Prefactor     1.8318        27.695        .30842E-03   -1.5437    
   6  Prefactor     16.101        11.748        .99816E-04   -1.4905    
   7  Prefactor     .10000E-03    85.850        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   8  Prefactor     .10000E-03    3.1997        .26446E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   9  Prefactor     .10000E-03    27.224        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  10  norm          3.1542        3.8888        .15963E-03   -1.5353    
  11  Prefactor     .10000E-03    30.022        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  12  norm          1.5070        1.1764        .70405E-04   -1.5462    
  13  Prefactor     57.199        51.786        .53050E-04   -1.4194    
  14  norm          8.2099        4.4346        .56927E-04   -1.5135    
  15  Prefactor     .10000E-03    51.296        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  16  Prefactor     22.856        16.357        .83785E-04   -1.4751    
  17  Prefactor     .10000E-03    12.229        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  18  norm          11.147        14.118        .59994E-03   -1.5040    
  19  Prefactor     .10000E-03    28.860        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  20  Prefactor     36.549        18.670        .66292E-04   -1.4498    
  21  Normalizat    .91816        .27856        .32495E-03   -.95825    
  22  Prefactor     .96176        .17086        .20665E-03   -.94015    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 3.60962e-09
Minuit parameter uncertainties:
  1  5.94267
  2  7.75265e-07
  3  10.9384
  4  1.11294e-06
  5  14.2527
  6  11.7497
  7  2.93179e-05
  8  2.73689e-07
  9  3.12778e-06
  10  3.88912
  11  1.35265e-06
  12  1.17643
  13  51.8267
  14  4.43482
  15  0.000511874
  16  16.3598
  17  3.34018e-05
  18  14.1218
  19  1.72278e-06
  20  18.6734
  21  0.279003
  22  0.170961
Done.

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

Extracting fit parameters...

4FGL J2235.1-0623
   Spectrum: PowerLaw
269    Prefactor:  1.000e-04  1.353e-06  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.618e-01  1.710e-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:  9.182e-01  2.790e-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: 6.29e-08 ph cm-2 s-1
Energy Flux Upper Limit: 4.77e-03 MeV cm-2 s-1

Saving results to:
/scratch/kocevski/377152/likelihoodResults_514080001_514339201_4FGL_J2235.1-0623_daily_bin1060.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) = 5878.04815249
delta logL = -0.000158582764925

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

MINUIT Return Code (Free Index): 102
logL (Free Index) = 5878.04799536
delta logL = -1.45232570503e-06

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'Prefactor '    .12504E-03   1.0000         .10000E-03   10000.    
     2 'Index     '    2.5655       1.0000          .0000       10.000    
     3 'Normalizat'    .91816       1.0000         .10000E-01   10.000    
     4 'Prefactor '    .96177       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=   5878.048     FROM MIGRAD    STATUS=CONVERGED     94 CALLS      275 TOTAL
                     EDM=   .22E-09    STRATEGY= 1      ERR MATRIX NOT POS-DEF

  EXT PARAMETER                APPROXIMATE        STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor     .10317E-03    6.6415        .18142E-01** at limit **
   2  Index         2.4789        6.2327        .50000        .10976E-04
   3  Normalizat    .91816        .30505E-02    .32495E-03   -.13295E-05
   4  Prefactor     .96177        .19945E-02    .20665E-03   -.57216E-05
                               ERR DEF=  .500    
Final values: 
  Prefactor  = 0.000103171
  Index      = 2.47895
  Normalizat = 0.918163
  Prefactor  = 0.961766
 **********
 **   18 **HESSE 
 **********

 FCN=   5878.048     FROM HESSE     STATUS=NOT POSDEF    29 CALLS      304 TOTAL
                     EDM=   .30E-08    STRATEGY= 1      ERR MATRIX NOT POS-DEF

  EXT PARAMETER                APPROXIMATE     INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  Prefactor     .10317E-03    89.025        .35173E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   2  Index         2.4789        8.7241        .50000       -.52847    
   3  Normalizat    .91816        .11215E-01    .12998E-04   -.95825    
   4  Prefactor     .96177        .73327E-02    .82658E-05   -.94015    
                               ERR DEF=  .500    
Minuit fit quality: 2   estimated distance: 2.96888e-09
Minuit parameter uncertainties:
  1  0.0336523
  2  315.759
  3  0.0112153
  4  0.00733272
shell-init: error retrieving current directory: getcwd: cannot access parent directories: No such file or directory
rmdir: failed to remove `/scratch/kocevski/377152': 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) = 5878.04799458
delta logL = -6.69087967253e-07

Extracting fit parameters...

4FGL J2235.1-0623
   Spectrum: PowerLaw
269    Prefactor:  1.032e-04  3.365e-02  1.000e-04  1.000e+04 ( 1.000e-14)
270        Index:  2.479e+00  3.158e+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.618e-01  7.333e-03  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:  9.182e-01  1.122e-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  0.000e+00 [aplpy.core]
INFO: Auto-setting vmax to  0.000e+00 [aplpy.core]
Saving /scratch/kocevski/377152/cmap_HighResolution_514080001_514339201_4FGL_J2235.1-0623_daily_bin1060.png

Cleaning up...

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

Updating database...

UPDATE lightcurve_data_v2 SET energy_flux_upper_limit='4.77e-03', job_status='DONE', photon_flux_upper_limit='6.29e-08', time_completed='2021-09-28 15:49:47.365116', job_id='377152', GAL2='0.96', fit_tolerance='1e-08', EG2='0.92', EG='0.92', time_epoch_completed='1632869387.37', return_code2='102', ts='-0.00', comment='SUCCESS', return_code='0', GAL='0.96', dlogl='-6.69e-07', ts2='-0.00', photon_index_error='0.00', photon_index='2.15' WHERE bin_id='1060' AND source_name='4FGL J2235.1-0623' AND cadence='daily';

Database successfully updated.


Analysis Complete.


Tue Sep 28 15:49:47 PDT 2021


------------------------------------------------------------
Sender: LSF System <lsf@bullet0057>
Subject: Job 377152: <4FGL_J2235.1-0623_daily_bin1060> in cluster <slac> Done

Job <4FGL_J2235.1-0623_daily_bin1060> was submitted from host <rhel6-64p> by user <kocevski> in cluster <slac> at Tue Sep 28 15:35:47 2021
Job was executed on host(s) <bullet0057>, in queue <medium>, as user <kocevski> in cluster <slac> at Tue Sep 28 15:35:49 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:49 2021
Terminated at Tue Sep 28 15:49:48 2021
Results reported at Tue Sep 28 15:49:48 2021

Your job looked like:

------------------------------------------------------------
# LSBATCH: User input
/nfs/farm/g/glast/g/LCRepository/Likelihood/Scripts/LikelihoodAnalysis.py 4FGL_J2235.1-0623_daily_bin1060 338.799 -6.3955 514080001 514339201 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 :                                   627.00 sec.
    Max Memory :                                 1256 MB
    Average Memory :                             289.04 MB
    Total Requested Memory :                     -
    Delta Memory :                               -
    Max Swap :                                   -
    Max Processes :                              5
    Max Threads :                                21
    Run time :                                   838 sec.
    Turnaround time :                            841 sec.

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

