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


Performing analysis on: 4FGL_J2235.1-0623_daily_bin549
RA = 338.799, Dec = -6.3955
tmin = 381628801, tmax = 381888001
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='375327', job_status='RUN', time_executed='2021-09-28 15:34:08.062385', time_epoch_executed='1632868448.06' WHERE source_name='4FGL J2235.1-0623' and cadence='daily' and bin_id='549'

Database successfully updated.
Done.

Creating custom output directory:
/scratch/kocevski/375327

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

Retrieving the FT1 file...

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

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

Retrieving 47 files...
Done.


Merging files...

Checksum keywords updated successfully.

Merged file saved to:
/scratch/kocevski/375327/ft1_4FGL_J2235.1-0623_daily_bin549.fits


Retrieving the FT1 file...

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

Retrieving 47 files...
Done.


Merging files...

Merged file saved to:
/scratch/kocevski/375327/ft2_4FGL_J2235.1-0623_daily_bin549.fits


Selecting the photons:
time -p gtselect infile=/scratch/kocevski/375327/ft1_4FGL_J2235.1-0623_daily_bin549.fits outfile=/scratch/kocevski/375327/ft1_filteredMKT_4FGL_J2235.1-0623_daily_bin549.fits ra=338.799 dec=-6.3955 rad=12.0 tmin=381628801.0 tmax=381888001.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.99
user 3.72
sys 0.23

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

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

Generating the livetime cube:
time -p gtltcube evfile="/scratch/kocevski/375327/ft1_filtered_4FGL_J2235.1-0623_daily_bin549.fits" evtable="EVENTS" scfile=/scratch/kocevski/375327/ft2_4FGL_J2235.1-0623_daily_bin549.fits sctable="SC_DATA" outfile=/scratch/kocevski/375327/ltcube_381628801_381888001_4FGL_J2235.1-0623_daily_bin549.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/375327/ft2_4FGL_J2235.1-0623_daily_bin549.fits
.....................!
real 11.65
user 11.30
sys 0.32

Generating the exposure map:
time -p gtexpmap evfile=/scratch/kocevski/375327/ft1_filtered_4FGL_J2235.1-0623_daily_bin549.fits evtable="EVENTS" scfile=/scratch/kocevski/375327/ft2_4FGL_J2235.1-0623_daily_bin549.fits sctable="SC_DATA" expcube=/scratch/kocevski/375327/ltcube_381628801_381888001_4FGL_J2235.1-0623_daily_bin549.fits outfile=/scratch/kocevski/375327/expmap_381628801_381888001_4FGL_J2235.1-0623_daily_bin549.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/375327/ltcube_381628801_381888001_4FGL_J2235.1-0623_daily_bin549.fits
.....................!
real 191.54
user 185.93
sys 5.25

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/375327/ft1_filtered_4FGL_J2235.1-0623_daily_bin549.fits scfile=/scratch/kocevski/375327/ft2_4FGL_J2235.1-0623_daily_bin549.fits outfile=/scratch/kocevski/375327/cmap_381628801_381888001_4FGL_J2235.1-0623_daily_bin549.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.55
user 0.35
sys 0.16

Creating the high resolution counts map:
time -p gtbin evfile=/scratch/kocevski/375327/ft1_filtered_4FGL_J2235.1-0623_daily_bin549.fits scfile=/scratch/kocevski/375327/ft2_4FGL_J2235.1-0623_daily_bin549.fits outfile=/scratch/kocevski/375327/cmap_HighResolution_381628801_381888001_4FGL_J2235.1-0623_daily_bin549.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/375327/ft1_filtered_4FGL_J2235.1-0623_daily_bin549.fits evtable="EVENTS" scfile=/scratch/kocevski/375327/ft2_4FGL_J2235.1-0623_daily_bin549.fits sctable="SC_DATA" srcmdl=/scratch/kocevski/375327/Model_4FGL_J2235.1-0623_daily_bin549.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/375327/ft1_filtered_4FGL_J2235.1-0623_daily_bin549.fits.....................!
real 54.17
user 52.73
sys 1.20

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

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

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

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'Prefactor '    .48515E-03   1.0000         .10000E-03   10000.    
     2 'Prefactor '    2.2693       1.0000         .10000E-03   10000.    
     3 'Prefactor '    .69786E-01   1.0000         .10000E-03   10000.    
     4 'Prefactor '    9.1362       1.0000         .10000E-03   10000.    
     5 'Prefactor '    6.7645       1.0000         .10000E-03   10000.    
     6 'Prefactor '    8.0234       1.0000         .10000E-03   10000.    
     7 'Prefactor '    .10088E-03   1.0000         .10000E-03   10000.    
     8 'Prefactor '    .10041E-03   1.0000         .10000E-03   10000.    
     9 'Prefactor '    .11473E-03   1.0000         .10000E-03   10000.    
    10 'norm      '    .38499       1.0000         .10000E-03   10000.    
    11 'Prefactor '    .10055E-03   1.0000         .10000E-03   10000.    
    12 'norm      '    4.7895       1.0000         .10000E-03   10000.    
    13 'Prefactor '    .56121E-02   1.0000         .10000E-03   10000.    
    14 'norm      '    .63632       1.0000         .10000E-03   10000.    
    15 'Prefactor '    .12477E-03   1.0000         .10000E-03   10000.    
    16 'Prefactor '    .10088E-03   1.0000         .10000E-03   10000.    
    17 'Prefactor '    .10004E-03   1.0000         .10000E-03   10000.    
    18 'norm      '    18.751       1.0000         .10000E-03   10000.    
    19 'Prefactor '    19.628       1.0000         .10000E-03   10000.    
    20 'Prefactor '    .10075E-03   1.0000         .10000E-03   10000.    
    21 'Normalizat'    1.0692       1.0000         .10000E-01   10.000    
    22 'Prefactor '    1.0405       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=   5504.523     FROM MIGRAD    STATUS=CONVERGED    531 CALLS     2523 TOTAL
                     EDM=   .17E-08  STRATEGY=1  ERROR MATRIX UNCERTAINTY=  1.5%

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor     .10000E-03    6.4851        .18771E-06** at limit **
   2  Prefactor     2.2718        4.3891        .22493E-05   -.19300E-02
   3  Prefactor     .10046E-03    9.8591       -.47232E-06** at limit **
   4  Prefactor     9.1474        13.338        .23541E-07    .30539E-04
   5  Prefactor     6.7656        15.052       -.34429E-05   -.10759E-03
   6  Prefactor     8.0151        13.267       -.11467E-05   -.26749E-04
   7  Prefactor     .10000E-03    28.238       -.57894E-05** at limit **
   8  Prefactor     .10000E-03    1.2826       -.58716E-08** at limit **
   9  Prefactor     .10000E-03    44.467        .35536E-05** at limit **
  10  norm          .38586        2.2586       -.18869E-06    .16449E-04
  11  Prefactor     .10000E-03    25.709        .72276E-05** at limit **
  12  norm          4.7884        1.5733       -.43396E-07   -.18112E-03
  13  Prefactor     .10037E-03    19.326        .78128E-06** at limit **
  14  norm          .63571        1.1817       -.13278E-06   -.57755E-03
  15  Prefactor     .10000E-03    23.648       -.25100E-05** at limit **
  16  Prefactor     .10000E-03    7.2614       -.76873E-08** at limit **
  17  Prefactor     .10000E-03    6.4480       -.53832E-07** at limit **
  18  norm          18.723        16.014       -.61322E-05   -.42287E-03
  19  Prefactor     19.649        66.305        .84375E-05    .43404E-04
  20  Prefactor     .10000E-03    7.0159       -.12258E-06** at limit **
  21  Normalizat    1.0692        .24754        .14228E-05   -.22002E-04
  22  Prefactor     1.0405        .15056        .35870E-06    .24930E-04
                               ERR DEF=  .500    
Final values: 
  Prefactor  = 0.0001
  Prefactor  = 2.2718
  Prefactor  = 0.000100463
  Prefactor  = 9.14737
  Prefactor  = 6.76559
  Prefactor  = 8.01515
  Prefactor  = 0.000100001
  Prefactor  = 0.0001
  Prefactor  = 0.0001
  norm       = 0.385856
  Prefactor  = 0.000100001
  norm       = 4.78841
  Prefactor  = 0.000100375
  norm       = 0.635707
  Prefactor  = 0.0001
  Prefactor  = 0.0001
  Prefactor  = 0.0001
  norm       = 18.7232
  Prefactor  = 19.6489
  Prefactor  = 0.0001
  Normalizat = 1.06917
  Prefactor  = 1.04053
 **********
 **   18 **HESSE 
 **********

 FCN=   5504.523     FROM HESSE     STATUS=OK           362 CALLS     2885 TOTAL
                     EDM=   .12E-07    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  Prefactor     .10000E-03    19.623        .36251E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   2  Prefactor     2.2718        8.2447        .13632E-02   -1.5407    
   3  Prefactor     .10046E-03    11.573        .80477E-01   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   4  Prefactor     9.1474        13.333        .13260E-03   -1.5103    
   5  Prefactor     6.7656        15.067        .15427E-03   -1.5188    
   6  Prefactor     8.0151        13.275        .14155E-03   -1.5142    
   7  Prefactor     .10000E-03    28.287        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   8  Prefactor     .10000E-03    1.2843        .82014E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   9  Prefactor     .10000E-03    44.508        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  10  norm          .38586        8.1411        .21006E-02   -1.5584    
  11  Prefactor     .10000E-03    25.790        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  12  norm          4.7884        1.5740        .50582E-04   -1.5270    
  13  Prefactor     .10037E-03    32.486        .73245E-01   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  14  norm          .63571        1.2561        .47261E-04   -1.5549    
  15  Prefactor     .10000E-03    23.688        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  16  Prefactor     .10000E-03    7.2899        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  17  Prefactor     .10000E-03    6.4587        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  18  norm          18.723        16.193        .92493E-04   -1.4842    
  19  Prefactor     19.649        66.718        .90404E-04   -1.4821    
  20  Prefactor     .10000E-03    7.0201        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  21  Normalizat    1.0692        .29299        .30945E-03   -.90748    
  22  Prefactor     1.0405        .17985        .20309E-03   -.91390    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 1.1803e-08
Minuit parameter uncertainties:
  1  1.55977e-05
  2  8.24881
  3  0.00462959
  4  13.337
  5  15.075
  6  13.2799
  7  0.000296115
  8  9.25953e-07
  9  0.000222655
  10  3.54483
  11  0.000359077
  12  1.57401
  13  0.00698255
  14  1.25618
  15  0.000142056
  16  8.99202e-06
  17  7.14961e-06
  18  16.197
  19  66.9733
  20  4.43782e-05
  21  0.293434
  22  0.179959
Done.

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

Extracting fit parameters...

4FGL J2235.1-0623
   Spectrum: PowerLaw
269    Prefactor:  1.000e-04  3.591e-04  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:  1.041e+00  1.800e-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.069e+00  2.934e-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: 5.65e-08 ph cm-2 s-1
Energy Flux Upper Limit: 4.29e-03 MeV cm-2 s-1

Saving results to:
/scratch/kocevski/375327/likelihoodResults_381628801_381888001_4FGL_J2235.1-0623_daily_bin549.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) = 5504.52281006
delta logL = -0.00018443276258

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

MINUIT Return Code (Free Index): 102
logL (Free Index) = 5504.52262678
delta logL = -1.14793238026e-06

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'Prefactor '    .10008E-03   1.0000         .10000E-03   10000.    
     2 'Index     '    2.5808       1.0000          .0000       10.000    
     3 'Normalizat'    1.0692       1.0000         .10000E-01   10.000    
     4 'Prefactor '    1.0405       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=   5504.523     FROM MIGRAD    STATUS=CONVERGED     94 CALLS      278 TOTAL
                     EDM=   .54E-09    STRATEGY= 1      ERR MATRIX NOT POS-DEF

  EXT PARAMETER                APPROXIMATE        STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor     .10381E-03    6.4778        .18142E-01** at limit **
   2  Index         2.4851        6.2426        .50000        .14672E-04
   3  Normalizat    1.0692        .34966E-02    .30945E-03   -.51433E-06
   4  Prefactor     1.0405        .22810E-02    .20309E-03   -.17353E-05
                               ERR DEF=  .500    
Final values: 
  Prefactor  = 0.00010381
  Index      = 2.48511
  Normalizat = 1.06917
  Prefactor  = 1.04053
 **********
 **   18 **HESSE 
 **********

 FCN=   5504.523     FROM HESSE     STATUS=NOT POSDEF    29 CALLS      307 TOTAL
                     EDM=   .71E-08    STRATEGY= 1      ERR MATRIX NOT POS-DEF

  EXT PARAMETER                APPROXIMATE     INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  Prefactor     .10381E-03    86.899        .30920E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   2  Index         2.4851        8.5540        .50000       -.52704    
   3  Normalizat    1.0692        .12871E-01    .12378E-04   -.90748    
   4  Prefactor     1.0405        .83964E-02    .81236E-05   -.91390    
                               ERR DEF=  .500    
Minuit fit quality: 2   estimated distance: 7.12954e-09
Minuit parameter uncertainties:
  1  0.036445
  2  315.012
  3  0.0128709
  4  0.00839641
shell-init: error retrieving current directory: getcwd: cannot access parent directories: No such file or directory
rmdir: failed to remove `/scratch/kocevski/375327': 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) = 5504.52262654
delta logL = -9.08357833396e-07

Extracting fit parameters...

4FGL J2235.1-0623
   Spectrum: PowerLaw
269    Prefactor:  1.038e-04  3.645e-02  1.000e-04  1.000e+04 ( 1.000e-14)
270        Index:  2.485e+00  3.150e+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:  1.041e+00  8.396e-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:  1.069e+00  1.287e-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/375327/cmap_HighResolution_381628801_381888001_4FGL_J2235.1-0623_daily_bin549.png

Cleaning up...

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

Updating database...

UPDATE lightcurve_data_v2 SET energy_flux_upper_limit='4.29e-03', job_status='DONE', photon_flux_upper_limit='5.65e-08', time_completed='2021-09-28 15:43:56.575110', job_id='375327', GAL2='1.04', fit_tolerance='1e-08', EG2='1.07', EG='1.07', time_epoch_completed='1632869036.58', return_code2='102', ts='-0.00', comment='SUCCESS', return_code='0', GAL='1.04', dlogl='-9.08e-07', ts2='-0.00', photon_index_error='0.00', photon_index='2.15' WHERE bin_id='549' AND source_name='4FGL J2235.1-0623' AND cadence='daily';

Database successfully updated.


Analysis Complete.


Tue Sep 28 15:43:56 PDT 2021


------------------------------------------------------------
Sender: LSF System <lsf@bullet0074>
Subject: Job 375327: <4FGL_J2235.1-0623_daily_bin549> in cluster <slac> Done

Job <4FGL_J2235.1-0623_daily_bin549> was submitted from host <rhel6-64f> by user <kocevski> in cluster <slac> at Tue Sep 28 15:30:24 2021
Job was executed on host(s) <bullet0074>, in queue <medium>, as user <kocevski> in cluster <slac> at Tue Sep 28 15:30:25 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:30:25 2021
Terminated at Tue Sep 28 15:43:57 2021
Results reported at Tue Sep 28 15:43:57 2021

Your job looked like:

------------------------------------------------------------
# LSBATCH: User input
/nfs/farm/g/glast/g/LCRepository/Likelihood/Scripts/LikelihoodAnalysis.py 4FGL_J2235.1-0623_daily_bin549 338.799 -6.3955 381628801 381888001 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 :                                   588.20 sec.
    Max Memory :                                 1093 MB
    Average Memory :                             271.00 MB
    Total Requested Memory :                     -
    Delta Memory :                               -
    Max Swap :                                   -
    Max Processes :                              5
    Max Threads :                                21
    Run time :                                   811 sec.
    Turnaround time :                            813 sec.

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

