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


Performing analysis on: 4FGL_J2235.1-0623_daily_bin1601
RA = 338.799, Dec = -6.3955
tmin = 654307201, tmax = 654566401
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='546631', job_status='RUN', time_executed='2021-09-29 00:28:02.942403', time_epoch_executed='1632900482.94' WHERE source_name='4FGL J2235.1-0623' and cadence='daily' and bin_id='1601'

Database successfully updated.
Done.

Creating custom output directory:
/scratch/kocevski/546631

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

Retrieving the FT1 file...

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

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

Retrieving 47 files...
Done.


Merging files...

Checksum keywords updated successfully.

Merged file saved to:
/scratch/kocevski/546631/ft1_4FGL_J2235.1-0623_daily_bin1601.fits


Retrieving the FT1 file...

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

Retrieving 47 files...
Done.


Merging files...

Merged file saved to:
/scratch/kocevski/546631/ft2_4FGL_J2235.1-0623_daily_bin1601.fits


Selecting the photons:
time -p gtselect infile=/scratch/kocevski/546631/ft1_4FGL_J2235.1-0623_daily_bin1601.fits outfile=/scratch/kocevski/546631/ft1_filteredMKT_4FGL_J2235.1-0623_daily_bin1601.fits ra=338.799 dec=-6.3955 rad=12.0 tmin=654307201.0 tmax=654566401.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.23
user 3.99
sys 0.21

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

Selecting the good time intervals:
time -p gtmktime scfile=/scratch/kocevski/546631/ft2_4FGL_J2235.1-0623_daily_bin1601.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/546631/ft1_filteredMKT_4FGL_J2235.1-0623_daily_bin1601.fits evtable="EVENTS" outfile="/scratch/kocevski/546631/ft1_filtered_4FGL_J2235.1-0623_daily_bin1601.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.50
user 0.33
sys 0.16

Generating the livetime cube:
time -p gtltcube evfile="/scratch/kocevski/546631/ft1_filtered_4FGL_J2235.1-0623_daily_bin1601.fits" evtable="EVENTS" scfile=/scratch/kocevski/546631/ft2_4FGL_J2235.1-0623_daily_bin1601.fits sctable="SC_DATA" outfile=/scratch/kocevski/546631/ltcube_654307201_654566401_4FGL_J2235.1-0623_daily_bin1601.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/546631/ft2_4FGL_J2235.1-0623_daily_bin1601.fits
.....................!
real 11.84
user 11.42
sys 0.32

Generating the exposure map:
time -p gtexpmap evfile=/scratch/kocevski/546631/ft1_filtered_4FGL_J2235.1-0623_daily_bin1601.fits evtable="EVENTS" scfile=/scratch/kocevski/546631/ft2_4FGL_J2235.1-0623_daily_bin1601.fits sctable="SC_DATA" expcube=/scratch/kocevski/546631/ltcube_654307201_654566401_4FGL_J2235.1-0623_daily_bin1601.fits outfile=/scratch/kocevski/546631/expmap_654307201_654566401_4FGL_J2235.1-0623_daily_bin1601.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/546631/ltcube_654307201_654566401_4FGL_J2235.1-0623_daily_bin1601.fits
.....................!
real 191.98
user 185.40
sys 5.40

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/546631/ft1_filtered_4FGL_J2235.1-0623_daily_bin1601.fits scfile=/scratch/kocevski/546631/ft2_4FGL_J2235.1-0623_daily_bin1601.fits outfile=/scratch/kocevski/546631/cmap_654307201_654566401_4FGL_J2235.1-0623_daily_bin1601.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.61
user 0.36
sys 0.17

Creating the high resolution counts map:
time -p gtbin evfile=/scratch/kocevski/546631/ft1_filtered_4FGL_J2235.1-0623_daily_bin1601.fits scfile=/scratch/kocevski/546631/ft2_4FGL_J2235.1-0623_daily_bin1601.fits outfile=/scratch/kocevski/546631/cmap_HighResolution_654307201_654566401_4FGL_J2235.1-0623_daily_bin1601.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.58
user 0.40
sys 0.15

Computing the diffuse response:
time -p gtdiffrsp evfile=/scratch/kocevski/546631/ft1_filtered_4FGL_J2235.1-0623_daily_bin1601.fits evtable="EVENTS" scfile=/scratch/kocevski/546631/ft2_4FGL_J2235.1-0623_daily_bin1601.fits sctable="SC_DATA" srcmdl=/scratch/kocevski/546631/Model_4FGL_J2235.1-0623_daily_bin1601.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/546631/ft1_filtered_4FGL_J2235.1-0623_daily_bin1601.fits.....................!
real 55.62
user 54.12
sys 1.15

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

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

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

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'Prefactor '    1.0445       1.0000         .10000E-03   10000.    
     2 'Prefactor '    11.088       1.0000         .10000E-03   10000.    
     3 'Prefactor '    4.2725       1.0000         .10000E-03   10000.    
     4 'Prefactor '    .10008E-03   1.0000         .10000E-03   10000.    
     5 'Prefactor '    14.044       1.0000         .10000E-03   10000.    
     6 'Prefactor '    12.654       1.0000         .10000E-03   10000.    
     7 'Prefactor '    .10538E-03   1.0000         .10000E-03   10000.    
     8 'Prefactor '    .10000E-03   1.0000         .10000E-03   10000.    
     9 'Prefactor '    .10009E-03   1.0000         .10000E-03   10000.    
    10 'norm      '    3.4951       1.0000         .10000E-03   10000.    
    11 'Prefactor '    6.8553       1.0000         .10000E-03   10000.    
    12 'norm      '    3.8436       1.0000         .10000E-03   10000.    
    13 'Prefactor '    .25466E-01   1.0000         .10000E-03   10000.    
    14 'norm      '    1.0843       1.0000         .10000E-03   10000.    
    15 'Prefactor '    .10087E-03   1.0000         .10000E-03   10000.    
    16 'Prefactor '    .10001E-03   1.0000         .10000E-03   10000.    
    17 'Prefactor '    .10002E-03   1.0000         .10000E-03   10000.    
    18 'norm      '    33.143       1.0000         .10000E-03   10000.    
    19 'Prefactor '    .10001E-03   1.0000         .10000E-03   10000.    
    20 'Prefactor '    .10000E-03   1.0000         .10000E-03   10000.    
    21 'Normalizat'    1.0664       1.0000         .10000E-01   10.000    
    22 'Prefactor '    .92321       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=   5728.167     FROM MIGRAD    STATUS=CONVERGED    515 CALLS     2103 TOTAL
                     EDM=   .12E-09  STRATEGY=1  ERROR MATRIX UNCERTAINTY=   .7%

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor     1.0483        .50660        .29679E-08   -.10808E-03
   2  Prefactor     11.088        10.852        .57839E-06    .24551E-05
   3  Prefactor     4.2714        11.332       -.59134E-06   -.16324E-05
   4  Prefactor     .10000E-03    6.0238        .14466E-06** at limit **
   5  Prefactor     14.042        14.053        .12582E-06   -.10116E-04
   6  Prefactor     12.656        11.116       -.50349E-07    .70076E-05
   7  Prefactor     .10000E-03    285.56       -.17822E-05** at limit **
   8  Prefactor     .10000E-03    2.3552       -.14162E-06** at limit **
   9  Prefactor     .10000E-03    63.484        .23948E-05** at limit **
  10  norm          3.4955        4.7402        .35389E-06    .14299E-04
  11  Prefactor     6.8460        175.77       -.19171E-04   -.10744E-05
  12  norm          3.8433        1.4036       -.19345E-07   -.40565E-03
  13  Prefactor     .10017E-03    13.059        .20825E-05** at limit **
  14  norm          1.0825        1.1325       -.20976E-06   -.14819E-02
  15  Prefactor     .10000E-03    87.087       -.16010E-04** at limit **
  16  Prefactor     .10000E-03    5.2535       -.56561E-07** at limit **
  17  Prefactor     .10000E-03    5.8055        .15264E-06** at limit **
  18  norm          33.146        17.327       -.11339E-06   -.37437E-06
  19  Prefactor     .10000E-03    38.076        .14941E-06** at limit **
  20  Prefactor     .10000E-03    8.2199       -.30382E-06** at limit **
  21  Normalizat    1.0661        .22864       -.29753E-06   -.40981E-04
  22  Prefactor     .92340        .14097        .38915E-06   -.90147E-04
                               ERR DEF=  .500    
Final values: 
  Prefactor  = 1.0483
  Prefactor  = 11.088
  Prefactor  = 4.27141
  Prefactor  = 0.0001
  Prefactor  = 14.0423
  Prefactor  = 12.6556
  Prefactor  = 0.0001
  Prefactor  = 0.0001
  Prefactor  = 0.0001
  norm       = 3.49553
  Prefactor  = 6.84599
  norm       = 3.8433
  Prefactor  = 0.000100168
  norm       = 1.08248
  Prefactor  = 0.0001
  Prefactor  = 0.0001
  Prefactor  = 0.0001
  norm       = 33.1465
  Prefactor  = 0.0001
  Prefactor  = 0.0001
  Normalizat = 1.06608
  Prefactor  = 0.923401
 **********
 **   18 **HESSE 
 **********

 FCN=   5728.167     FROM HESSE     STATUS=OK           348 CALLS     2451 TOTAL
                     EDM=   .18E-08    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  Prefactor     1.0483        12.294        .24384E-02   -1.5503    
   2  Prefactor     11.088        10.856        .12031E-03   -1.5042    
   3  Prefactor     4.2714        11.328        .19492E-03   -1.5295    
   4  Prefactor     .10000E-03    6.0297        .18141E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   5  Prefactor     14.042        14.179        .10688E-03   -1.4958    
   6  Prefactor     12.656        11.118        .11261E-03   -1.4996    
   7  Prefactor     .10000E-03    287.13        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   8  Prefactor     .10000E-03    2.3797        .11323E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   9  Prefactor     .10000E-03    63.585        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  10  norm          3.4955        4.7315        .17673E-03   -1.5334    
  11  Prefactor     6.8460        175.85        .15324E-03   -1.5185    
  12  norm          3.8433        1.4015        .51438E-04   -1.5316    
  13  Prefactor     .10017E-03    93.655        .43145E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  14  norm          1.0825        .94509        .66642E-04   -1.5500    
  15  Prefactor     .10000E-03    85.394        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  16  Prefactor     .10000E-03    5.2605        .16941E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  17  Prefactor     .10000E-03    5.8357        .17810E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  18  norm          33.146        17.370        .69604E-04   -1.4556    
  19  Prefactor     .10000E-03    38.096        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  20  Prefactor     .10000E-03    8.2452        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  21  Normalizat    1.0661        .27287        .30133E-03   -.90849    
  22  Prefactor     .92340        .16783        .20574E-03   -.95328    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 1.79392e-09
Minuit parameter uncertainties:
  1  7.18145
  2  10.8577
  3  11.3341
  4  9.61391e-08
  5  14.1826
  6  11.1202
  7  0.000124957
  8  4.74629e-06
  9  8.26841e-06
  10  4.73201
  11  69.6218
  12  1.40149
  13  0.00794456
  14  0.945106
  15  0.000245277
  16  2.16735e-06
  17  5.37852e-08
  18  17.373
  19  1.79439e-06
  20  5.39826e-07
  21  0.273232
  22  0.167924
Done.

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

Extracting fit parameters...

4FGL J2235.1-0623
   Spectrum: PowerLaw
269    Prefactor:  6.846e+00  6.962e+01  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.234e-01  1.679e-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:  1.066e+00  2.732e-01  1.000e-02  1.000e+01 ( 1.000e+00)


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

Saving results to:
/scratch/kocevski/546631/likelihoodResults_654307201_654566401_4FGL_J2235.1-0623_daily_bin1601.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): 0
logL (Free Index) = 5728.14429116
delta logL = 0.0222729494571

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

MINUIT Return Code (Free Index): 0
logL (Free Index) = 5728.14324451
delta logL = 0.0233196000245

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'Prefactor '    8.7788       1.0000         .10000E-03   10000.    
     2 'Index     '    2.6515       1.0000          .0000       10.000    
     3 'Normalizat'    1.0599       1.0000         .10000E-01   10.000    
     4 'Prefactor '    .92421       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=   5728.143     FROM MIGRAD    STATUS=CONVERGED     88 CALLS      334 TOTAL
                     EDM=   .15E-08    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor     8.7579        90.041        .13528E-03   -.11975E-03
   2  Index         2.6510        2.4342        .14077E-01   -.87759E-04
   3  Normalizat    1.0601        .26027        .30208E-03    .73652E-04
   4  Prefactor     .92420        .16630        .20565E-03    .24589E-03
                               ERR DEF=  .500    
Final values: 
  Prefactor  = 8.7579
  Index      = 2.65104
  Normalizat = 1.06007
  Prefactor  = 0.9242
 **********
 **   18 **HESSE 
 **********

 FCN=   5728.143     FROM HESSE     STATUS=OK            25 CALLS      359 TOTAL
                     EDM=   .16E-08    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  Prefactor     8.7579        63.141        .54113E-05   -1.5116    
   2  Index         2.6510        2.0734        .56306E-03   -.48906    
   3  Normalizat    1.0601        .26027        .12083E-04   -.91044    
   4  Prefactor     .92420        .16622        .41130E-04   -.95301    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 1.557e-09
Minuit parameter uncertainties:
  1  47.1011
  2  2.15838
  3  0.260579
  4  0.166312
shell-init: error retrieving current directory: getcwd: cannot access parent directories: No such file or directory
rmdir: failed to remove `/scratch/kocevski/546631': 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) = 5728.14324399
delta logL = 0.0233201130559

Extracting fit parameters...

4FGL J2235.1-0623
   Spectrum: PowerLaw
269    Prefactor:  8.758e+00  4.710e+01  1.000e-04  1.000e+04 ( 1.000e-14)
270        Index:  2.651e+00  2.158e+00  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.242e-01  1.663e-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:  1.060e+00  2.606e-01  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Free Index): 0.01
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/546631/cmap_HighResolution_654307201_654566401_4FGL_J2235.1-0623_daily_bin1601.png

Cleaning up...

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

Updating database...

UPDATE lightcurve_data_v2 SET energy_flux_upper_limit='6.70e-03', job_status='DONE', photon_flux_upper_limit='8.83e-08', time_completed='2021-09-29 00:37:41.099980', job_id='546631', GAL2='0.92', fit_tolerance='1e-08', EG2='1.06', EG='1.07', time_epoch_completed='1632901061.1', return_code2='0', ts='0.01', comment='SUCCESS', return_code='0', GAL='0.92', dlogl='2.33e-02', ts2='0.06', photon_index_error='0.00', photon_index='2.15' WHERE bin_id='1601' AND source_name='4FGL J2235.1-0623' AND cadence='daily';

Database successfully updated.


Analysis Complete.


Wed Sep 29 00:37:41 PDT 2021


------------------------------------------------------------
Sender: LSF System <lsf@bullet0264>
Subject: Job 546631: <4FGL_J2235.1-0623_daily_bin1601> in cluster <slac> Done

Job <4FGL_J2235.1-0623_daily_bin1601> was submitted from host <rhel6-64p> by user <kocevski> in cluster <slac> at Wed Sep 29 00:25:31 2021
Job was executed on host(s) <bullet0264>, in queue <medium>, as user <kocevski> in cluster <slac> at Wed Sep 29 00:25:32 2021
</u/ki/kocevski> was used as the home directory.
</u/ki/kocevski> was used as the working directory.
Started at Wed Sep 29 00:25:32 2021
Terminated at Wed Sep 29 00:37:41 2021
Results reported at Wed Sep 29 00:37:41 2021

Your job looked like:

------------------------------------------------------------
# LSBATCH: User input
/nfs/farm/g/glast/g/LCRepository/Likelihood/Scripts/LikelihoodAnalysis.py 4FGL_J2235.1-0623_daily_bin1601 338.799 -6.3955 654307201 654566401 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 :                                   577.00 sec.
    Max Memory :                                 1256 MB
    Average Memory :                             304.87 MB
    Total Requested Memory :                     -
    Delta Memory :                               -
    Max Swap :                                   -
    Max Processes :                              5
    Max Threads :                                21
    Run time :                                   729 sec.
    Turnaround time :                            730 sec.

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

