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


Performing analysis on: 4FGL_J2235.1-0623_daily_bin1348
RA = 338.799, Dec = -6.3955
tmin = 588729601, tmax = 588988801
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='378556', job_status='RUN', time_executed='2021-09-28 15:40:33.970582', time_epoch_executed='1632868833.97' WHERE source_name='4FGL J2235.1-0623' and cadence='daily' and bin_id='1348'

Database successfully updated.
Done.

Creating custom output directory:
/scratch/kocevski/378556

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

Retrieving the FT1 file...

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

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

Retrieving 47 files...
Done.


Merging files...

Checksum keywords updated successfully.

Merged file saved to:
/scratch/kocevski/378556/ft1_4FGL_J2235.1-0623_daily_bin1348.fits


Retrieving the FT1 file...

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

Retrieving 47 files...
Done.


Merging files...

Merged file saved to:
/scratch/kocevski/378556/ft2_4FGL_J2235.1-0623_daily_bin1348.fits


Selecting the photons:
time -p gtselect infile=/scratch/kocevski/378556/ft1_4FGL_J2235.1-0623_daily_bin1348.fits outfile=/scratch/kocevski/378556/ft1_filteredMKT_4FGL_J2235.1-0623_daily_bin1348.fits ra=338.799 dec=-6.3955 rad=12.0 tmin=588729601.0 tmax=588988801.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.13
user 2.89
sys 0.20

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

Selecting the good time intervals:
time -p gtmktime scfile=/scratch/kocevski/378556/ft2_4FGL_J2235.1-0623_daily_bin1348.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/378556/ft1_filteredMKT_4FGL_J2235.1-0623_daily_bin1348.fits evtable="EVENTS" outfile="/scratch/kocevski/378556/ft1_filtered_4FGL_J2235.1-0623_daily_bin1348.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/378556/ft1_filtered_4FGL_J2235.1-0623_daily_bin1348.fits" evtable="EVENTS" scfile=/scratch/kocevski/378556/ft2_4FGL_J2235.1-0623_daily_bin1348.fits sctable="SC_DATA" outfile=/scratch/kocevski/378556/ltcube_588729601_588988801_4FGL_J2235.1-0623_daily_bin1348.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/378556/ft2_4FGL_J2235.1-0623_daily_bin1348.fits
.....................!
real 12.21
user 11.85
sys 0.32

Generating the exposure map:
time -p gtexpmap evfile=/scratch/kocevski/378556/ft1_filtered_4FGL_J2235.1-0623_daily_bin1348.fits evtable="EVENTS" scfile=/scratch/kocevski/378556/ft2_4FGL_J2235.1-0623_daily_bin1348.fits sctable="SC_DATA" expcube=/scratch/kocevski/378556/ltcube_588729601_588988801_4FGL_J2235.1-0623_daily_bin1348.fits outfile=/scratch/kocevski/378556/expmap_588729601_588988801_4FGL_J2235.1-0623_daily_bin1348.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/378556/ltcube_588729601_588988801_4FGL_J2235.1-0623_daily_bin1348.fits
.....................!
real 190.23
user 184.91
sys 4.94

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/378556/ft1_filtered_4FGL_J2235.1-0623_daily_bin1348.fits scfile=/scratch/kocevski/378556/ft2_4FGL_J2235.1-0623_daily_bin1348.fits outfile=/scratch/kocevski/378556/cmap_588729601_588988801_4FGL_J2235.1-0623_daily_bin1348.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.37
sys 0.14

Creating the high resolution counts map:
time -p gtbin evfile=/scratch/kocevski/378556/ft1_filtered_4FGL_J2235.1-0623_daily_bin1348.fits scfile=/scratch/kocevski/378556/ft2_4FGL_J2235.1-0623_daily_bin1348.fits outfile=/scratch/kocevski/378556/cmap_HighResolution_588729601_588988801_4FGL_J2235.1-0623_daily_bin1348.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.37
sys 0.16

Computing the diffuse response:
time -p gtdiffrsp evfile=/scratch/kocevski/378556/ft1_filtered_4FGL_J2235.1-0623_daily_bin1348.fits evtable="EVENTS" scfile=/scratch/kocevski/378556/ft2_4FGL_J2235.1-0623_daily_bin1348.fits sctable="SC_DATA" srcmdl=/scratch/kocevski/378556/Model_4FGL_J2235.1-0623_daily_bin1348.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/378556/ft1_filtered_4FGL_J2235.1-0623_daily_bin1348.fits......................................!
real 18.29
user 16.98
sys 1.21

Creating the likelihood object...
obs = UnbinnedObs('/scratch/kocevski/378556/ft1_filtered_4FGL_J2235.1-0623_daily_bin1348.fits', '/scratch/kocevski/378556/ft2_4FGL_J2235.1-0623_daily_bin1348.fits', expMap='/scratch/kocevski/378556/expmap_588729601_588988801_4FGL_J2235.1-0623_daily_bin1348.fits', expCube='/scratch/kocevski/378556/ltcube_588729601_588988801_4FGL_J2235.1-0623_daily_bin1348.fits', irfs='P8R3_SOURCE_V2')
like = UnbinnedAnalysis(obs, '/scratch/kocevski/378556/Model_4FGL_J2235.1-0623_daily_bin1348.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/378556/ft1_filtered_4FGL_J2235.1-0623_daily_bin1348.fits
Spacecraft file(s): /scratch/kocevski/378556/ft2_4FGL_J2235.1-0623_daily_bin1348.fits
Exposure map: /scratch/kocevski/378556/expmap_588729601_588988801_4FGL_J2235.1-0623_daily_bin1348.fits
Exposure cube: /scratch/kocevski/378556/ltcube_588729601_588988801_4FGL_J2235.1-0623_daily_bin1348.fits
IRFs: P8R3_SOURCE_V2
Source model file: /scratch/kocevski/378556/Model_4FGL_J2235.1-0623_daily_bin1348.xml
Optimizer: MINUIT
Statistic: UNBINNED

Performing an iterative likelihood fit...

Fit tolerance = 1

Performing likelihood fit...
Done.

MINUIT Return Code (Fixed Index): 101
logL (Fixed Index) = 496.688536226

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

MINUIT Return Code (Fixed Index): 101
logL (Fixed Index) = 494.097155917

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'Prefactor '    .50986E-01   1.0000         .10000E-03   10000.    
     2 'Prefactor '    .10944E-03   1.0000         .10000E-03   10000.    
     3 'Prefactor '    .11387E-03   1.0000         .10000E-03   10000.    
     4 'Prefactor '    52.592       1.0000         .10000E-03   10000.    
     5 'Prefactor '    536.29       1.0000         .10000E-03   10000.    
     6 'Prefactor '    56.869       1.0000         .10000E-03   10000.    
     7 'Prefactor '    7.7174       1.0000         .10000E-03   10000.    
     8 'Prefactor '    .11613E-03   1.0000         .10000E-03   10000.    
     9 'Prefactor '    6.4227       1.0000         .10000E-03   10000.    
    10 'norm      '    .16766       1.0000         .10000E-03   10000.    
    11 'Prefactor '    1.6473       1.0000         .10000E-03   10000.    
    12 'norm      '    1.8541       1.0000         .10000E-03   10000.    
    13 'Prefactor '    5.7575       1.0000         .10000E-03   10000.    
    14 'norm      '    3.0295       1.0000         .10000E-03   10000.    
    15 'Prefactor '    7.2699       1.0000         .10000E-03   10000.    
    16 'Prefactor '    1.2817       1.0000         .10000E-03   10000.    
    17 'Prefactor '    2.2894       1.0000         .10000E-03   10000.    
    18 'norm      '    .17342       1.0000         .10000E-03   10000.    
    19 'Prefactor '    6.1046       1.0000         .10000E-03   10000.    
    20 'Prefactor '    .12345       1.0000         .10000E-03   10000.    
    21 'Normalizat'    .34802       1.0000         .10000E-01   10.000    
    22 'Prefactor '    .59803       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.
  MNHESS FAILS AND WILL RETURN DIAGONAL MATRIX. 

 FCN=   494.0846     FROM MIGRAD    STATUS=CONVERGED    160 CALLS      442 TOTAL
                     EDM=   .16E-08  STRATEGY=1  ERROR MATRIX UNCERTAINTY=100.0%

  EXT PARAMETER                APPROXIMATE        STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor     .10000E-03    87.692        .92749E-02** at limit **
   2  Prefactor     .10000E-03    10.256        .90712E-02** at limit **
   3  Prefactor     .10000E-03    43.592        .90712E-02** at limit **
   4  Prefactor     52.540        47.511        .13826E-02    .25758E-02
   5  Prefactor     537.73        637.32        .44388E-03   -.52466E-01
   6  Prefactor     56.593        56.250        .13299E-02   -.11110E-01
   7  Prefactor     .15439E-01    1416.1        .36087E-02   -.41604E-02
   8  Prefactor     .10000E-03    8.6454        .90712E-02** at limit **
   9  Prefactor     6.4227        1.0031         .0000         .0000    
  10  norm          .10000E-03    .24152        .29832E-05** at limit **
  11  Prefactor     .13996E-03    .16916        .65220E-04** at limit **
  12  norm          1.8541        1.0420         .0000         .0000    
  13  Prefactor     5.7575        1.0038         .0000         .0000    
  14  norm          3.0295        1.0143         .0000         .0000    
  15  Prefactor     7.2699        1.0024         .0000         .0000    
  16  Prefactor     .19035E-03    .24005       -.10072E-03** at limit **
  17  Prefactor     2.2894        1.0261         .0000         .0000    
  18  norm          .10000E-03    .24283        .26943E-06** at limit **
  19  Prefactor     .41748E-01    .82903E-01   -.22612E-03    .46350E-02
  20  Prefactor     .22814E-03    .23148       -.10876E-03** at limit **
  21  Normalizat    .34958        .66087       -.33847E-04    .32102E-04
  22  Prefactor     .59726        .94521        .57076E-05    .68145E-04
                               ERR DEF=  .500    
Final values: 
  Prefactor  = 0.000100003
  Prefactor  = 0.0001
  Prefactor  = 0.0001
  Prefactor  = 52.5404
  Prefactor  = 537.734
  Prefactor  = 56.5933
  Prefactor  = 0.0154391
  Prefactor  = 0.0001
  Prefactor  = 6.42266
  norm       = 0.0001
  Prefactor  = 0.000139962
  norm       = 1.8541
  Prefactor  = 5.7575
  norm       = 3.02948
  Prefactor  = 7.2699
  Prefactor  = 0.000190346
  Prefactor  = 2.28936
  norm       = 0.0001
  Prefactor  = 0.0417477
  Prefactor  = 0.000228139
  Normalizat = 0.349581
  Prefactor  = 0.597262
 **********
 **   18 **HESSE 
 **********
  MNHESS FAILS AND WILL RETURN DIAGONAL MATRIX. 

 FCN=   494.0846     FROM HESSE     STATUS=FAILED        27 CALLS      469 TOTAL
                     EDM=   .16E-08  STRATEGY=1  ERROR MATRIX UNCERTAINTY=100.0%

  EXT PARAMETER                APPROXIMATE     INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  Prefactor     .10000E-03    87.692        .92749E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   2  Prefactor     .10000E-03    10.256        .90712E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   3  Prefactor     .10000E-03    43.592        .90712E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   4  Prefactor     52.540        47.511        .13826E-02   -1.4257    
   5  Prefactor     537.73        637.32        .44388E-03   -1.1028    
   6  Prefactor     56.593        56.250        .13299E-02   -1.4202    
   7  Prefactor     .15439E-01    1416.1        .36087E-02   -1.5733    
   8  Prefactor     .10000E-03    8.6454        .90712E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   9  Prefactor     518.20        511.74         .0000       -1.5201    
  10  norm          .10000E-03    .24152        .29832E-05   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  11  Prefactor     .13996E-03    .16916        .65220E-04   -1.5709    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  12  norm          1.8541        1.0420         .0000       -1.5436    
  13  Prefactor     5.7575        1.0038         .0000       -1.5228    
  14  norm          3.0295        1.0143         .0000       -1.5360    
  15  Prefactor     7.2699        1.0024         .0000       -1.5169    
  16  Prefactor     .19035E-03    .24005       -.10072E-03   -1.5706    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  17  Prefactor     2.2894        1.0261         .0000       -1.5405    
  18  norm          .10000E-03    .24283        .26943E-06   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  19  Prefactor     .41748E-01    .82903E-01   -.22612E-03   -1.5667    
  20  Prefactor     .22814E-03    .23148       -.10876E-03   -1.5706    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  21  Normalizat    .34958        .66087       -.33847E-04   -1.1999    
  22  Prefactor     .59726        .94521        .57076E-05   -1.0770    
                               ERR DEF=  .500    
Minuit fit quality: 1   estimated distance: 1.63125e-09
Minuit parameter uncertainties:
  1  0.00110409
  2  1.32404e-05
  3  5.55954e-05
  4  47.5449
  5  646.115
  6  56.3032
  7  9.55651
  8  2.91179e-05
  9  1.00306
  10  5.58217e-06
  11  0.00520001
  12  1.04198
  13  1.00382
  14  1.01431
  15  1.00238
  16  0.009314
  17  1.0261
  18  2.52343e-07
  19  0.0829034
  20  0.0108925
  21  0.676503
  22  0.972257
Done.

MINUIT Return Code (Fixed Index): 101
logL (Fixed Index) = 494.084586339

Extracting fit parameters...

4FGL J2235.1-0623
   Spectrum: PowerLaw
269    Prefactor:  1.400e-04  5.200e-03  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:  5.973e-01  9.723e-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:  3.496e-01  6.765e-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: 7.99e-07 ph cm-2 s-1
Energy Flux Upper Limit: 6.07e-02 MeV cm-2 s-1

Saving results to:
/scratch/kocevski/378556/likelihoodResults_588729601_588988801_4FGL_J2235.1-0623_daily_bin1348.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) = 494.084598558
delta logL = -1.22193220591e-05

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

MINUIT Return Code (Free Index): 102
logL (Free Index) = 494.084586355
delta logL = -1.54963686327e-08

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'Prefactor '    .10616E-03   1.0000         .10000E-03   10000.    
     2 'Index     '    2.4868       1.0000          .0000       10.000    
     3 'Normalizat'    .34958       1.0000         .10000E-01   10.000    
     4 'Prefactor '    .59727       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.

 FCN=   494.0846     FROM MIGRAD    STATUS=CONVERGED     57 CALLS      237 TOTAL
                     EDM=   .13E-07    STRATEGY= 1      ERR MATRIX NOT POS-DEF

  EXT PARAMETER                APPROXIMATE        STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor     .10000E-03    379.99        .90712E-02** at limit **
   2  Index         2.4567        7.3576        .50000        .92478E-06
   3  Normalizat    .34958        .16604E-01    .86132E-01    .29815E-05
   4  Prefactor     .59726        .86945E-02    .41017E-01   -.39270E-05
                               ERR DEF=  .500    
Final values: 
  Prefactor  = 0.0001
  Index      = 2.45667
  Normalizat = 0.349579
  Prefactor  = 0.597262
 **********
 **   18 **HESSE 
 **********

 FCN=   494.0846     FROM HESSE     STATUS=NOT POSDEF    33 CALLS      270 TOTAL
                     EDM=   .66E-07    STRATEGY= 1      ERR MATRIX NOT POS-DEF

  EXT PARAMETER                APPROXIMATE     INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  Prefactor     .10000E-03    1802.6        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   2  Index         2.4567        8.1699        .50000       -.53363    
   3  Normalizat    .34958        .37200E-01    .38159E-03   -1.1999    
   4  Prefactor     .59726        .19528E-01    .15264E-03   -1.0770    
                               ERR DEF=  .500    
Minuit fit quality: 2   estimated distance: 6.55602e-08
Minuit parameter uncertainties:
  1  0.00168944
  2  1178
  3  0.0372024
  4  0.0195285
shell-init: error retrieving current directory: getcwd: cannot access parent directories: No such file or directory
rmdir: failed to remove `/scratch/kocevski/378556': 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) = 494.084586336
delta logL = 3.3529090615e-09

Extracting fit parameters...

4FGL J2235.1-0623
   Spectrum: PowerLaw
269    Prefactor:  1.000e-04  1.689e-03  1.000e-04  1.000e+04 ( 1.000e-14)
270        Index:  2.457e+00  1.178e+03  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:  5.973e-01  1.953e-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:  3.496e-01  3.720e-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/378556/cmap_HighResolution_588729601_588988801_4FGL_J2235.1-0623_daily_bin1348.png

Cleaning up...

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

Updating database...

UPDATE lightcurve_data_v2 SET energy_flux_upper_limit='6.07e-02', job_status='DONE', photon_flux_upper_limit='7.99e-07', time_completed='2021-09-28 15:45:56.823134', job_id='378556', GAL2='0.60', fit_tolerance='1e-08', EG2='0.35', EG='0.35', time_epoch_completed='1632869156.82', return_code2='102', ts='-0.00', comment='SUCCESS', return_code='101', GAL='0.60', dlogl='3.35e-09', ts2='-0.00', photon_index_error='0.00', photon_index='2.15' WHERE bin_id='1348' AND source_name='4FGL J2235.1-0623' AND cadence='daily';

Database successfully updated.


Analysis Complete.


Tue Sep 28 15:45:56 PDT 2021


------------------------------------------------------------
Sender: LSF System <lsf@bullet0032>
Subject: Job 378556: <4FGL_J2235.1-0623_daily_bin1348> in cluster <slac> Done

Job <4FGL_J2235.1-0623_daily_bin1348> was submitted from host <rhel6-64d> by user <kocevski> in cluster <slac> at Tue Sep 28 15:40:18 2021
Job was executed on host(s) <bullet0032>, in queue <medium>, as user <kocevski> in cluster <slac> at Tue Sep 28 15:40:20 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:40:20 2021
Terminated at Tue Sep 28 15:45:57 2021
Results reported at Tue Sep 28 15:45:57 2021

Your job looked like:

------------------------------------------------------------
# LSBATCH: User input
/nfs/farm/g/glast/g/LCRepository/Likelihood/Scripts/LikelihoodAnalysis.py 4FGL_J2235.1-0623_daily_bin1348 338.799 -6.3955 588729601 588988801 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 :                                   318.29 sec.
    Max Memory :                                 1255 MB
    Average Memory :                             291.08 MB
    Total Requested Memory :                     -
    Delta Memory :                               -
    Max Swap :                                   -
    Max Processes :                              5
    Max Threads :                                21
    Run time :                                   337 sec.
    Turnaround time :                            339 sec.

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

