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


Performing analysis on: 4FGL_J2235.1-0623_daily_bin1329
RA = 338.799, Dec = -6.3955
tmin = 583804801, tmax = 584064001
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='378525', job_status='RUN', time_executed='2021-09-28 15:42:35.985910', time_epoch_executed='1632868955.99' WHERE source_name='4FGL J2235.1-0623' and cadence='daily' and bin_id='1329'

Database successfully updated.
Done.

Creating custom output directory:
/scratch/kocevski/378525

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

Retrieving the FT1 file...

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

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

Retrieving 47 files...
Done.


Merging files...

Checksum keywords updated successfully.

Merged file saved to:
/scratch/kocevski/378525/ft1_4FGL_J2235.1-0623_daily_bin1329.fits


Retrieving the FT1 file...

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

Retrieving 47 files...
Done.


Merging files...

Merged file saved to:
/scratch/kocevski/378525/ft2_4FGL_J2235.1-0623_daily_bin1329.fits


Selecting the photons:
time -p gtselect infile=/scratch/kocevski/378525/ft1_4FGL_J2235.1-0623_daily_bin1329.fits outfile=/scratch/kocevski/378525/ft1_filteredMKT_4FGL_J2235.1-0623_daily_bin1329.fits ra=338.799 dec=-6.3955 rad=12.0 tmin=583804801.0 tmax=584064001.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.50
user 3.25
sys 0.20

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

Selecting the good time intervals:
time -p gtmktime scfile=/scratch/kocevski/378525/ft2_4FGL_J2235.1-0623_daily_bin1329.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/378525/ft1_filteredMKT_4FGL_J2235.1-0623_daily_bin1329.fits evtable="EVENTS" outfile="/scratch/kocevski/378525/ft1_filtered_4FGL_J2235.1-0623_daily_bin1329.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.53
user 0.31
sys 0.18

Generating the livetime cube:
time -p gtltcube evfile="/scratch/kocevski/378525/ft1_filtered_4FGL_J2235.1-0623_daily_bin1329.fits" evtable="EVENTS" scfile=/scratch/kocevski/378525/ft2_4FGL_J2235.1-0623_daily_bin1329.fits sctable="SC_DATA" outfile=/scratch/kocevski/378525/ltcube_583804801_584064001_4FGL_J2235.1-0623_daily_bin1329.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/378525/ft2_4FGL_J2235.1-0623_daily_bin1329.fits
.....................!
real 15.77
user 15.36
sys 0.35

Generating the exposure map:
time -p gtexpmap evfile=/scratch/kocevski/378525/ft1_filtered_4FGL_J2235.1-0623_daily_bin1329.fits evtable="EVENTS" scfile=/scratch/kocevski/378525/ft2_4FGL_J2235.1-0623_daily_bin1329.fits sctable="SC_DATA" expcube=/scratch/kocevski/378525/ltcube_583804801_584064001_4FGL_J2235.1-0623_daily_bin1329.fits outfile=/scratch/kocevski/378525/expmap_583804801_584064001_4FGL_J2235.1-0623_daily_bin1329.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/378525/ltcube_583804801_584064001_4FGL_J2235.1-0623_daily_bin1329.fits
.....................!
real 190.79
user 185.12
sys 5.21

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/378525/ft1_filtered_4FGL_J2235.1-0623_daily_bin1329.fits scfile=/scratch/kocevski/378525/ft2_4FGL_J2235.1-0623_daily_bin1329.fits outfile=/scratch/kocevski/378525/cmap_583804801_584064001_4FGL_J2235.1-0623_daily_bin1329.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.39
sys 0.14

Creating the high resolution counts map:
time -p gtbin evfile=/scratch/kocevski/378525/ft1_filtered_4FGL_J2235.1-0623_daily_bin1329.fits scfile=/scratch/kocevski/378525/ft2_4FGL_J2235.1-0623_daily_bin1329.fits outfile=/scratch/kocevski/378525/cmap_HighResolution_583804801_584064001_4FGL_J2235.1-0623_daily_bin1329.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/378525/ft1_filtered_4FGL_J2235.1-0623_daily_bin1329.fits evtable="EVENTS" scfile=/scratch/kocevski/378525/ft2_4FGL_J2235.1-0623_daily_bin1329.fits sctable="SC_DATA" srcmdl=/scratch/kocevski/378525/Model_4FGL_J2235.1-0623_daily_bin1329.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/378525/ft1_filtered_4FGL_J2235.1-0623_daily_bin1329.fits.....................!
real 71.81
user 70.33
sys 1.18

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

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

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

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'Prefactor '    .10029E-03   1.0000         .10000E-03   10000.    
     2 'Prefactor '    .10009E-03   1.0000         .10000E-03   10000.    
     3 'Prefactor '    .10002E-03   1.0000         .10000E-03   10000.    
     4 'Prefactor '    7.0430       1.0000         .10000E-03   10000.    
     5 'Prefactor '    13.037       1.0000         .10000E-03   10000.    
     6 'Prefactor '    1.2927       1.0000         .10000E-03   10000.    
     7 'Prefactor '    33.414       1.0000         .10000E-03   10000.    
     8 'Prefactor '    .10004E-03   1.0000         .10000E-03   10000.    
     9 'Prefactor '    26.690       1.0000         .10000E-03   10000.    
    10 'norm      '    1.7181       1.0000         .10000E-03   10000.    
    11 'Prefactor '    .10000E-03   1.0000         .10000E-03   10000.    
    12 'norm      '    3.3507       1.0000         .10000E-03   10000.    
    13 'Prefactor '    2.5016       1.0000         .10000E-03   10000.    
    14 'norm      '    7.0032       1.0000         .10000E-03   10000.    
    15 'Prefactor '    .10048E-03   1.0000         .10000E-03   10000.    
    16 'Prefactor '    17.446       1.0000         .10000E-03   10000.    
    17 'Prefactor '    .10002E-03   1.0000         .10000E-03   10000.    
    18 'norm      '    17.408       1.0000         .10000E-03   10000.    
    19 'Prefactor '    58.738       1.0000         .10000E-03   10000.    
    20 'Prefactor '    .10280       1.0000         .10000E-03   10000.    
    21 'Normalizat'    1.1484       1.0000         .10000E-01   10.000    
    22 'Prefactor '    .83882       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=   7808.231     FROM MIGRAD    STATUS=CONVERGED    828 CALLS     3056 TOTAL
                     EDM=   .20E-08    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor     .10000E-03    4.0089        .17169E-02** at limit **
   2  Prefactor     .10000E-03    5.2297        .18142E-02** at limit **
   3  Prefactor     .10000E-03    4.8021        .18142E-02** at limit **
   4  Prefactor     7.0425        11.398        .15116E-03   -.11808E-04
   5  Prefactor     13.037        10.460        .11094E-03    .42733E-04
   6  Prefactor     1.2930        6.4004        .19466E-02    .12222E-03
   7  Prefactor     33.411        73.794        .69322E-04   -.77079E-05
   8  Prefactor     .10000E-03    1.7464        .11291E-02** at limit **
   9  Prefactor     26.691        30.605        .77542E-04    .13782E-05
  10  norm          1.7197        3.6702        .22478E-03   -.39350E-03
  11  Prefactor     .10000E-03    21.347        .18142E-02** at limit **
  12  norm          3.3509        1.0176        .22109E-04   -.60429E-03
  13  Prefactor     2.4674        170.85        .25838E-03   -.76428E-04
  14  norm          7.0057        3.4721        .47772E-04   -.12997E-02
  15  Prefactor     .10002E-03    32.079        .18142E-02** at limit **
  16  Prefactor     17.448        12.956        .95889E-04   -.71255E-04
  17  Prefactor     .10000E-03    3.5828        .16310E-02** at limit **
  18  norm          17.408        11.026        .95994E-04    .62768E-04
  19  Prefactor     58.790        69.543        .52348E-04    .25692E-03
  20  Prefactor     .82677E-01    15.008        .77498E-01    .25891E-03
  21  Normalizat    1.1483        .22924        .28748E-03    .60860E-04
  22  Prefactor     .83887        .13608        .21250E-03    .53193E-03
                               ERR DEF=  .500    
Final values: 
  Prefactor  = 0.0001
  Prefactor  = 0.0001
  Prefactor  = 0.0001
  Prefactor  = 7.0425
  Prefactor  = 13.0374
  Prefactor  = 1.29301
  Prefactor  = 33.4112
  Prefactor  = 0.0001
  Prefactor  = 26.691
  norm       = 1.71968
  Prefactor  = 0.0001
  norm       = 3.35093
  Prefactor  = 2.46738
  norm       = 7.00566
  Prefactor  = 0.000100022
  Prefactor  = 17.4483
  Prefactor  = 0.0001
  norm       = 17.4084
  Prefactor  = 58.7905
  Prefactor  = 0.0826774
  Normalizat = 1.14832
  Prefactor  = 0.838869
 **********
 **   18 **HESSE 
 **********

 FCN=   7808.231     FROM HESSE     STATUS=OK           332 CALLS     3388 TOTAL
                     EDM=   .19E-08    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  Prefactor     .10000E-03    4.0107        .34337E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   2  Prefactor     .10000E-03    5.2304        .36285E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   3  Prefactor     .10000E-03    4.8023        .36285E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   4  Prefactor     7.0425        11.397        .60465E-05   -1.5177    
   5  Prefactor     13.037        10.459        .44375E-05   -1.4986    
   6  Prefactor     1.2930        6.3874        .77862E-04   -1.5481    
   7  Prefactor     33.411        73.786        .27729E-05   -1.4551    
   8  Prefactor     .10000E-03    1.7468        .22582E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   9  Prefactor     26.691        30.605        .15508E-04   -1.4674    
  10  norm          1.7197        3.6685        .89910E-05   -1.5446    
  11  Prefactor     .10000E-03    21.347        .36285E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  12  norm          3.3509        1.0175        .44219E-05   -1.5342    
  13  Prefactor     2.4674        165.67        .10335E-04   -1.5394    
  14  norm          7.0057        3.4206        .95545E-05   -1.5179    
  15  Prefactor     .10002E-03    32.082        .36285E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  16  Prefactor     17.448        12.955        .38356E-05   -1.4872    
  17  Prefactor     .10000E-03    3.5831        .32619E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  18  norm          17.408        11.025        .38398E-05   -1.4873    
  19  Prefactor     58.790        69.122        .10470E-04   -1.4173    
  20  Prefactor     .82677E-01    13.919        .81270E-01   -1.5650    
  21  Normalizat    1.1483        .22918        .11499E-04   -.88215    
  22  Prefactor     .83887        .13613        .42501E-04   -.98311    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 1.92099e-09
Minuit parameter uncertainties:
  1  2.85283e-05
  2  1.06396e-05
  3  2.56826e-05
  4  11.401
  5  10.4609
  6  5.74844
  7  73.9881
  8  2.41233e-05
  9  30.6226
  10  3.66898
  11  9.86728e-05
  12  1.01747
  13  40.5531
  14  3.42069
  15  0.00166755
  16  12.957
  17  3.74501e-05
  18  11.0268
  19  69.2168
  20  2.1447
  21  0.229384
  22  0.136184
Done.

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

Extracting fit parameters...

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

GAL_V02
   Spectrum: PowerLaw
510    Prefactor:  8.389e-01  1.362e-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.148e+00  2.294e-01  1.000e-02  1.000e+01 ( 1.000e+00)


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

Saving results to:
/scratch/kocevski/378525/likelihoodResults_583804801_584064001_4FGL_J2235.1-0623_daily_bin1329.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) = 7808.23141953
delta logL = -0.000223148329496

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

MINUIT Return Code (Free Index): 0
logL (Free Index) = 7808.23119653
delta logL = -1.45072590385e-07

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'Prefactor '    .10001E-03   1.0000         .10000E-03   10000.    
     2 'Index     '    2.2368       1.0000          .0000       10.000    
     3 'Normalizat'    1.1483       1.0000         .10000E-01   10.000    
     4 'Prefactor '    .83887       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=   7808.231     FROM MIGRAD    STATUS=CONVERGED     91 CALLS      275 TOTAL
                     EDM=   .38E-09    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor     .10000E-03    20.878        .18142E-02** at limit **
   2  Index         2.2188        6.1078        .50000        .72427E-05
   3  Normalizat    1.1483        .20344        .28748E-03    .19520E-03
   4  Prefactor     .83886        .13150        .21250E-03   -.79552E-04
                               ERR DEF=  .500    
Final values: 
  Prefactor  = 0.000100001
  Index      = 2.21879
  Normalizat = 1.14833
  Prefactor  = 0.838865
 **********
 **   18 **HESSE 
 **********

 FCN=   7808.231     FROM HESSE     STATUS=OK            29 CALLS      304 TOTAL
                     EDM=   .36E-09    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  Prefactor     .10000E-03    20.236        .36285E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   2  Index         2.2188        6.1089        .50000       -.58986    
   3  Normalizat    1.1483        .20361        .11499E-04   -.88215    
   4  Prefactor     .83886        .13161        .85002E-05   -.98311    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 3.61851e-10
Minuit parameter uncertainties:
  1  0.000296447
  2  4.15877
  3  0.203755
  4  0.131661
shell-init: error retrieving current directory: getcwd: cannot access parent directories: No such file or directory
rmdir: failed to remove `/scratch/kocevski/378525': 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) = 7808.2311965
delta logL = -1.12825546239e-07

Extracting fit parameters...

4FGL J2235.1-0623
   Spectrum: PowerLaw
269    Prefactor:  1.000e-04  2.964e-04  1.000e-04  1.000e+04 ( 1.000e-14)
270        Index:  2.219e+00  4.159e+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:  8.389e-01  1.317e-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.148e+00  2.038e-01  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 -1.000e-01 [aplpy.core]
INFO: Auto-setting vmax to  1.110e+00 [aplpy.core]
Saving /scratch/kocevski/378525/cmap_HighResolution_583804801_584064001_4FGL_J2235.1-0623_daily_bin1329.png

Cleaning up...

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

Updating database...

UPDATE lightcurve_data_v2 SET energy_flux_upper_limit='3.32e-03', job_status='DONE', photon_flux_upper_limit='4.37e-08', time_completed='2021-09-28 15:55:24.001994', job_id='378525', GAL2='0.84', fit_tolerance='1e-08', EG2='1.15', EG='1.15', time_epoch_completed='1632869724.0', return_code2='0', ts='-0.00', comment='SUCCESS', return_code='0', GAL='0.84', dlogl='-1.13e-07', ts2='-0.00', photon_index_error='0.00', photon_index='2.15' WHERE bin_id='1329' AND source_name='4FGL J2235.1-0623' AND cadence='daily';

Database successfully updated.


Analysis Complete.


Tue Sep 28 15:55:24 PDT 2021


------------------------------------------------------------
Sender: LSF System <lsf@bullet0038>
Subject: Job 378525: <4FGL_J2235.1-0623_daily_bin1329> in cluster <slac> Done

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

Your job looked like:

------------------------------------------------------------
# LSBATCH: User input
/nfs/farm/g/glast/g/LCRepository/Likelihood/Scripts/LikelihoodAnalysis.py 4FGL_J2235.1-0623_daily_bin1329 338.799 -6.3955 583804801 584064001 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 :                                   748.01 sec.
    Max Memory :                                 1093 MB
    Average Memory :                             311.93 MB
    Total Requested Memory :                     -
    Delta Memory :                               -
    Max Swap :                                   -
    Max Processes :                              5
    Max Threads :                                21
    Run time :                                   907 sec.
    Turnaround time :                            909 sec.

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

