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


Performing analysis on: 4FGL_J2235.3-4836_daily_bin1281
RA = 338.841, Dec = -48.6015
tmin = 571363201, tmax = 571622401
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='385043', job_status='RUN', time_executed='2021-09-28 16:03:54.991785', time_epoch_executed='1632870234.99' WHERE source_name='4FGL J2235.3-4836' and cadence='daily' and bin_id='1281'

Database successfully updated.
Done.

Creating custom output directory:
/scratch/kocevski/385043

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

Retrieving the FT1 file...

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

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

Retrieving 46 files...
Done.


Merging files...

Checksum keywords updated successfully.

Merged file saved to:
/scratch/kocevski/385043/ft1_4FGL_J2235.3-4836_daily_bin1281.fits


Retrieving the FT1 file...

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

Retrieving 46 files...
Done.


Merging files...

Merged file saved to:
/scratch/kocevski/385043/ft2_4FGL_J2235.3-4836_daily_bin1281.fits


Selecting the photons:
time -p gtselect infile=/scratch/kocevski/385043/ft1_4FGL_J2235.3-4836_daily_bin1281.fits outfile=/scratch/kocevski/385043/ft1_filteredMKT_4FGL_J2235.3-4836_daily_bin1281.fits ra=338.841 dec=-48.6015 rad=12.0 tmin=571363201.0 tmax=571622401.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 2.86
user 2.65
sys 0.19

Adding sun position to ft2 file:
/nfs/farm/g/glast/g/LCRepository/Repository/bin/sunpos /scratch/kocevski/385043/ft2_4FGL_J2235.3-4836_daily_bin1281.fits

Selecting the good time intervals:
time -p gtmktime scfile=/scratch/kocevski/385043/ft2_4FGL_J2235.3-4836_daily_bin1281.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/385043/ft1_filteredMKT_4FGL_J2235.3-4836_daily_bin1281.fits evtable="EVENTS" outfile="/scratch/kocevski/385043/ft1_filtered_4FGL_J2235.3-4836_daily_bin1281.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/385043/ft1_filtered_4FGL_J2235.3-4836_daily_bin1281.fits" evtable="EVENTS" scfile=/scratch/kocevski/385043/ft2_4FGL_J2235.3-4836_daily_bin1281.fits sctable="SC_DATA" outfile=/scratch/kocevski/385043/ltcube_571363201_571622401_4FGL_J2235.3-4836_daily_bin1281.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/385043/ft2_4FGL_J2235.3-4836_daily_bin1281.fits
.....................!
real 12.54
user 12.19
sys 0.33

Generating the exposure map:
time -p gtexpmap evfile=/scratch/kocevski/385043/ft1_filtered_4FGL_J2235.3-4836_daily_bin1281.fits evtable="EVENTS" scfile=/scratch/kocevski/385043/ft2_4FGL_J2235.3-4836_daily_bin1281.fits sctable="SC_DATA" expcube=/scratch/kocevski/385043/ltcube_571363201_571622401_4FGL_J2235.3-4836_daily_bin1281.fits outfile=/scratch/kocevski/385043/expmap_571363201_571622401_4FGL_J2235.3-4836_daily_bin1281.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/385043/ltcube_571363201_571622401_4FGL_J2235.3-4836_daily_bin1281.fits
.....................!
real 190.86
user 185.10
sys 5.39

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 184 point sources and 0 extended sources

Setting source of interest to:
4FGL J2235.3-4836 @ 338.841 -48.6015

Creating the counts map:
time -p gtbin evfile=/scratch/kocevski/385043/ft1_filtered_4FGL_J2235.3-4836_daily_bin1281.fits scfile=/scratch/kocevski/385043/ft2_4FGL_J2235.3-4836_daily_bin1281.fits outfile=/scratch/kocevski/385043/cmap_571363201_571622401_4FGL_J2235.3-4836_daily_bin1281.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.841 yref=-48.6015 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.36
sys 0.16

Creating the high resolution counts map:
time -p gtbin evfile=/scratch/kocevski/385043/ft1_filtered_4FGL_J2235.3-4836_daily_bin1281.fits scfile=/scratch/kocevski/385043/ft2_4FGL_J2235.3-4836_daily_bin1281.fits outfile=/scratch/kocevski/385043/cmap_HighResolution_571363201_571622401_4FGL_J2235.3-4836_daily_bin1281.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.841 yref=-48.6015 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.56
user 0.36
sys 0.17

Computing the diffuse response:
time -p gtdiffrsp evfile=/scratch/kocevski/385043/ft1_filtered_4FGL_J2235.3-4836_daily_bin1281.fits evtable="EVENTS" scfile=/scratch/kocevski/385043/ft2_4FGL_J2235.3-4836_daily_bin1281.fits sctable="SC_DATA" srcmdl=/scratch/kocevski/385043/Model_4FGL_J2235.3-4836_daily_bin1281.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/385043/ft1_filtered_4FGL_J2235.3-4836_daily_bin1281.fits.....................!
real 27.29
user 25.57
sys 1.54

Creating the likelihood object...
obs = UnbinnedObs('/scratch/kocevski/385043/ft1_filtered_4FGL_J2235.3-4836_daily_bin1281.fits', '/scratch/kocevski/385043/ft2_4FGL_J2235.3-4836_daily_bin1281.fits', expMap='/scratch/kocevski/385043/expmap_571363201_571622401_4FGL_J2235.3-4836_daily_bin1281.fits', expCube='/scratch/kocevski/385043/ltcube_571363201_571622401_4FGL_J2235.3-4836_daily_bin1281.fits', irfs='P8R3_SOURCE_V2')
like = UnbinnedAnalysis(obs, '/scratch/kocevski/385043/Model_4FGL_J2235.3-4836_daily_bin1281.xml', optimizer='MINUIT')

Using source of interest name: '4FGL J2235.3-4836'

4FGL J2235.3-4836
   Spectrum: PowerLaw
351    Prefactor:  3.864e+00  0.000e+00  1.000e-04  1.000e+04 ( 1.000e-12)
352        Index:  2.511e+00  0.000e+00  0.000e+00  1.000e+01 (-1.000e+00) fixed
353        Scale:  6.132e+02  0.000e+00  3.000e+01  5.000e+05 ( 1.000e+00) fixed


Likelihood Fit Parameters:
Event file(s): /scratch/kocevski/385043/ft1_filtered_4FGL_J2235.3-4836_daily_bin1281.fits
Spacecraft file(s): /scratch/kocevski/385043/ft2_4FGL_J2235.3-4836_daily_bin1281.fits
Exposure map: /scratch/kocevski/385043/expmap_571363201_571622401_4FGL_J2235.3-4836_daily_bin1281.fits
Exposure cube: /scratch/kocevski/385043/ltcube_571363201_571622401_4FGL_J2235.3-4836_daily_bin1281.fits
IRFs: P8R3_SOURCE_V2
Source model file: /scratch/kocevski/385043/Model_4FGL_J2235.3-4836_daily_bin1281.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) = 2480.68775011

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

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

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'Prefactor '    356.85       1.0000         .10000E-03   10000.    
     2 'Prefactor '    4.0933       1.0000         .10000E-03   10000.    
     3 'Prefactor '    .16540E-03   1.0000         .10000E-03   10000.    
     4 'norm      '    .10001E-03   1.0000         .10000E-03   10000.    
     5 'Prefactor '    .10002E-03   1.0000         .10000E-03   10000.    
     6 'Prefactor '    .10044E-03   1.0000         .10000E-03   10000.    
     7 'Prefactor '    8.4334       1.0000         .10000E-03   10000.    
     8 'Prefactor '    .10000E-03   1.0000         .10000E-03   10000.    
     9 'norm      '    .10000E-03   1.0000         .10000E-03   10000.    
    10 'Prefactor '    2.5863       1.0000         .10000E-03   10000.    
    11 'Prefactor '    157.36       1.0000         .10000E-03   10000.    
    12 'Prefactor '    4.3818       1.0000         .10000E-03   10000.    
    13 'Prefactor '    7.9866       1.0000         .10000E-03   10000.    
    14 'Prefactor '    .10001E-03   1.0000         .10000E-03   10000.    
    15 'Prefactor '    22.354       1.0000         .10000E-03   10000.    
    16 'Prefactor '    48.426       1.0000         .10000E-03   10000.    
    17 'Prefactor '    .10001E-03   1.0000         .10000E-03   10000.    
    18 'Prefactor '    58.598       1.0000         .10000E-03   10000.    
    19 'Prefactor '    .10000E-03   1.0000         .10000E-03   10000.    
    20 'norm      '    .10000E-03   1.0000         .10000E-03   10000.    
    21 'norm      '    .10000E-03   1.0000         .10000E-03   10000.    
    22 'norm      '    8.2309       1.0000         .10000E-03   10000.    
    23 'Prefactor '    .10001E-03   1.0000         .10000E-03   10000.    
    24 'Prefactor '    .10027E-03   1.0000         .10000E-03   10000.    
    25 'Prefactor '    23.746       1.0000         .10000E-03   10000.    
    26 'norm      '    3.9519       1.0000         .10000E-03   10000.    
    27 'Prefactor '    11.992       1.0000         .10000E-03   10000.    
    28 'Prefactor '    3.7118       1.0000         .10000E-03   10000.    
    29 'Normalizat'    1.0456       1.0000         .10000E-01   10.000    
    30 'Prefactor '    .83904       1.0000          .0000       10.000    
 **********
 **   15 **SET ERR    .5000    
 **********
 **********
 **   16 **SET GRAD    1.000    
 **********
 **********
 **   17 **MINIMIZE    .5970E+05   .2000E-04
 **********

 MIGRAD MINIMIZATION HAS CONVERGED.

 MIGRAD WILL VERIFY CONVERGENCE AND ERROR MATRIX.

 MIGRAD MINIMIZATION HAS CONVERGED.

 FCN=   2480.683     FROM MIGRAD    STATUS=CONVERGED    737 CALLS     5146 TOTAL
                     EDM=   .12E-08  STRATEGY=1  ERROR MATRIX UNCERTAINTY=  4.0%

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor     356.87        368.91        .19485E-05    .23713E-04
   2  Prefactor     4.0702        256.63       -.25982E-04   -.75684E-04
   3  Prefactor     .10000E-03    72.613       -.41537E-05** at limit **
   4  norm          .10000E-03    12.288       -.12711E-05** at limit **
   5  Prefactor     .10000E-03    24.199       -.11071E-05** at limit **
   6  Prefactor     .10000E-03    10.045        .17207E-05** at limit **
   7  Prefactor     8.4337        7.4698        .46209E-06   -.20518E-03
   8  Prefactor     .10000E-03    68.880        .22607E-05** at limit **
   9  norm          .10000E-03    4.0482       -.50053E-07** at limit **
  10  Prefactor     2.5865        8.4563       -.25547E-06   -.91197E-04
  11  Prefactor     157.36        135.14        .17409E-05    .62548E-04
  12  Prefactor     4.3825        9.4250        .45588E-05   -.82446E-03
  13  Prefactor     7.9875        78.400        .97494E-06    .15250E-04
  14  Prefactor     .10000E-03    13.029        .23804E-05** at limit **
  15  Prefactor     22.355        17.869        .34713E-07   -.72742E-04
  16  Prefactor     48.424        108.24       -.11459E-05   -.14116E-04
  17  Prefactor     .10000E-03    6.7905       -.85904E-06** at limit **
  18  Prefactor     58.602        57.641        .45413E-06    .62954E-04
  19  Prefactor     .10000E-03    10.857       -.23246E-05** at limit **
  20  norm          .10000E-03    6.7227        .88291E-06** at limit **
  21  norm          .10000E-03    3.3357       -.46364E-07** at limit **
  22  norm          8.2308        8.1613       -.46491E-06    .25884E-03
  23  Prefactor     .10000E-03    4.7252       -.11320E-07** at limit **
  24  Prefactor     .10000E-03    43.383        .17625E-05** at limit **
  25  Prefactor     23.750        23.907        .50896E-06    .46612E-04
  26  norm          3.9520        2.0187        .16529E-08    .94847E-04
  27  Prefactor     11.992        8.0537        .45177E-07   -.27730E-06
  28  Prefactor     3.7117        74.112        .33175E-06   -.56826E-05
  29  Normalizat    1.0454        .31160       -.21160E-05    .55845E-04
  30  Prefactor     .83921        .28245        .93692E-06    .66366E-05
                               ERR DEF=  .500    
Final values: 
  Prefactor  = 356.87
  Prefactor  = 4.07025
  Prefactor  = 0.000100001
  norm       = 0.0001
  Prefactor  = 0.0001
  Prefactor  = 0.000100001
  Prefactor  = 8.43371
  Prefactor  = 0.000100001
  norm       = 0.0001
  Prefactor  = 2.58648
  Prefactor  = 157.365
  Prefactor  = 4.38246
  Prefactor  = 7.98747
  Prefactor  = 0.000100002
  Prefactor  = 22.355
  Prefactor  = 48.4236
  Prefactor  = 0.0001
  Prefactor  = 58.6018
  Prefactor  = 0.000100002
  norm       = 0.0001
  norm       = 0.0001
  norm       = 8.23083
  Prefactor  = 0.0001
  Prefactor  = 0.000100001
  Prefactor  = 23.7499
  norm       = 3.95198
  Prefactor  = 11.9919
  Prefactor  = 3.7117
  Normalizat = 1.0454
  Prefactor  = 0.839213
 **********
 **   18 **HESSE 
 **********

 FCN=   2480.683     FROM HESSE     STATUS=OK           582 CALLS     5728 TOTAL
                     EDM=   .33E-08    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  Prefactor     356.87        368.95        .10781E-03   -1.1907    
   2  Prefactor     4.0702        282.08        .19927E-03   -1.5304    
   3  Prefactor     .10000E-03    74.629        .36285E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   4  norm          .10000E-03    12.348        .17097E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   5  Prefactor     .10000E-03    24.246        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   6  Prefactor     .10000E-03    10.173        .15487E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   7  Prefactor     8.4337        7.4784        .60994E-03   -1.5127    
   8  Prefactor     .10000E-03    69.061        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   9  norm          .10000E-03    4.0486        .97880E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  10  Prefactor     2.5865        8.4140        .24391E-03   -1.5386    
  11  Prefactor     157.36        134.89        .32141E-04   -1.3192    
  12  Prefactor     4.3825        10.599        .96202E-03   -1.5289    
  13  Prefactor     7.9875        78.007        .14188E-03   -1.5143    
  14  Prefactor     .10000E-03    13.232        .17692E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  15  Prefactor     22.355        17.875        .42359E-03   -1.4762    
  16  Prefactor     48.424        108.27        .57623E-04   -1.4315    
  17  Prefactor     .10000E-03    6.8297        .12705E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  18  Prefactor     58.602        57.861        .52410E-04   -1.4175    
  19  Prefactor     .10000E-03    11.077        .16172E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  20  norm          .10000E-03    6.7502        .12639E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  21  norm          .10000E-03    3.3363        .88843E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  22  norm          8.2308        8.1871        .69344E-03   -1.5134    
  23  Prefactor     .10000E-03    4.7275        .10561E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  24  Prefactor     .10000E-03    43.541        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  25  Prefactor     23.750        24.023        .82200E-04   -1.4733    
  26  norm          3.9520        2.0170        .46099E-04   -1.5310    
  27  Prefactor     11.992        8.0220        .10444E-03   -1.5015    
  28  Prefactor     3.7117        73.263        .20961E-03   -1.5323    
  29  Normalizat    1.0454        .36019        .25506E-03   -.91525    
  30  Prefactor     .83921        .32455        .26793E-03   -.98299    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 3.25067e-09
Minuit parameter uncertainties:
  1  371.431
  2  68.1047
  3  0.000579757
  4  0.000152369
  5  0.000186676
  6  0.000180639
  7  7.47922
  8  0.000629566
  9  3.5287e-06
  10  8.41781
  11  135.156
  12  10.6036
  13  50.0079
  14  0.000288612
  15  17.8791
  16  108.709
  17  8.10012e-05
  18  57.9161
  19  0.000262114
  20  7.592e-05
  21  3.02591e-06
  22  8.18823
  23  5.78826e-06
  24  0.000382231
  25  24.0328
  26  2.01703
  27  8.02272
  28  33.0268
  29  0.36104
  30  0.325296
Done.

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

Extracting fit parameters...

4FGL J2235.3-4836
   Spectrum: PowerLaw
351    Prefactor:  4.382e+00  1.060e+01  1.000e-04  1.000e+04 ( 1.000e-12)
352        Index:  2.511e+00  0.000e+00  0.000e+00  1.000e+01 (-1.000e+00) fixed
353        Scale:  6.132e+02  0.000e+00  3.000e+01  5.000e+05 ( 1.000e+00) fixed

GAL_V02
   Spectrum: PowerLaw
594    Prefactor:  8.392e-01  3.253e-01  0.000e+00  1.000e+01 ( 1.000e+00)
595        Index:  0.000e+00  0.000e+00 -1.000e+00  1.000e+00 ( 1.000e+00) fixed
596        Scale:  1.000e+02  0.000e+00  5.000e+01  2.000e+02 ( 1.000e+00) fixed

EG_v02
   Spectrum: FileFunction
593   Normalization:  1.045e+00  3.610e-01  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Fixed Index): 0.21
Ra Dec: 338.841 -48.602
Photon Flux Upper Limit: 1.96e-07 ph cm-2 s-1
Energy Flux Upper Limit: 1.53e-02 MeV cm-2 s-1

Saving results to:
/scratch/kocevski/385043/likelihoodResults_571363201_571622401_4FGL_J2235.3-4836_daily_bin1281.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) = 2480.61243158
delta logL = 0.0704328512516

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

MINUIT Return Code (Free Index): 0
logL (Free Index) = 2480.60470213
delta logL = 0.0781622977956

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'Prefactor '    3.3809       1.0000         .10000E-03   10000.    
     2 'Index     '    3.1183       1.0000          .0000       10.000    
     3 'Normalizat'    1.0257       1.0000         .10000E-01   10.000    
     4 'Prefactor '    .85022       1.0000          .0000       10.000    
 **********
 **   15 **SET ERR    .5000    
 **********
 **********
 **   16 **SET GRAD    1.000    
 **********
 **********
 **   17 **MINIMIZE    .5970E+05   .2000E-04
 **********

 MIGRAD MINIMIZATION HAS CONVERGED.

 MIGRAD WILL VERIFY CONVERGENCE AND ERROR MATRIX.

 FCN=   2480.605     FROM MIGRAD    STATUS=CONVERGED     54 CALLS      207 TOTAL
                     EDM=   .33E-09    STRATEGY= 1      ERR MATRIX NOT POS-DEF

  EXT PARAMETER                APPROXIMATE        STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor     3.3717        248.68        .55015E-02    .18628E-03
   2  Index         3.1214        6.0347        .21849        .22218E-04
   3  Normalizat    1.0260        .82363E-01    .42617E-01    .71806E-06
   4  Prefactor     .84986        .77606E-01    .44367E-01    .90405E-05
                               ERR DEF=  .500    
Final values: 
  Prefactor  = 3.37165
  Index      = 3.12136
  Normalizat = 1.026
  Prefactor  = 0.849864
 **********
 **   18 **HESSE 
 **********

 FCN=   2480.605     FROM HESSE     STATUS=OK            33 CALLS      240 TOTAL
                     EDM=   .19E-08    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  Prefactor     3.3717        9.4124        .15624E-03   -1.5341    
   2  Index         3.1214        1.7963        .90997E-02   -.38518    
   3  Normalizat    1.0260        .34210        .25712E-03   -.92164    
   4  Prefactor     .84986        .32072        .26637E-03   -.97916    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 1.9483e-09
Minuit parameter uncertainties:
  1  9.41656
  2  1.84464
  3  0.342839
  4  0.32143
shell-init: error retrieving current directory: getcwd: cannot access parent directories: No such file or directory
rmdir: failed to remove `/scratch/kocevski/385043': 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) = 2480.60469956
delta logL = 0.0781648706052

Extracting fit parameters...

4FGL J2235.3-4836
   Spectrum: PowerLaw
351    Prefactor:  3.372e+00  9.417e+00  1.000e-04  1.000e+04 ( 1.000e-12)
352        Index:  3.121e+00  1.845e+00  0.000e+00  1.000e+01 (-1.000e+00)
353        Scale:  6.132e+02  0.000e+00  3.000e+01  5.000e+05 ( 1.000e+00) fixed

GAL_V02
   Spectrum: PowerLaw
594    Prefactor:  8.499e-01  3.214e-01  0.000e+00  1.000e+01 ( 1.000e+00)
595        Index:  0.000e+00  0.000e+00 -1.000e+00  1.000e+00 ( 1.000e+00) fixed
596        Scale:  1.000e+02  0.000e+00  5.000e+01  2.000e+02 ( 1.000e+00) fixed

EG_v02
   Spectrum: FileFunction
593   Normalization:  1.026e+00  3.428e-01  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Free Index): 0.21
Ra Dec: 338.841 -48.602

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/385043/cmap_HighResolution_571363201_571622401_4FGL_J2235.3-4836_daily_bin1281.png

Cleaning up...

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

Updating database...

UPDATE lightcurve_data_v2 SET energy_flux_upper_limit='1.53e-02', job_status='DONE', photon_flux_upper_limit='1.96e-07', time_completed='2021-09-28 16:13:29.124146', job_id='385043', GAL2='0.85', fit_tolerance='1e-08', EG2='1.03', EG='1.05', time_epoch_completed='1632870809.12', return_code2='0', ts='0.21', comment='SUCCESS', return_code='0', GAL='0.84', dlogl='7.82e-02', ts2='0.38', photon_index_error='0.00', photon_index='2.51' WHERE bin_id='1281' AND source_name='4FGL J2235.3-4836' AND cadence='daily';

Database successfully updated.


Analysis Complete.


Tue Sep 28 16:13:29 PDT 2021


------------------------------------------------------------
Sender: LSF System <lsf@bullet0206>
Subject: Job 385043: <4FGL_J2235.3-4836_daily_bin1281> in cluster <slac> Done

Job <4FGL_J2235.3-4836_daily_bin1281> was submitted from host <rhel6-64k> by user <kocevski> in cluster <slac> at Tue Sep 28 16:00:32 2021
Job was executed on host(s) <bullet0206>, in queue <medium>, as user <kocevski> in cluster <slac> at Tue Sep 28 16:00:34 2021
</u/ki/kocevski> was used as the home directory.
</u/ki/kocevski> was used as the working directory.
Started at Tue Sep 28 16:00:34 2021
Terminated at Tue Sep 28 16:13:29 2021
Results reported at Tue Sep 28 16:13:29 2021

Your job looked like:

------------------------------------------------------------
# LSBATCH: User input
/nfs/farm/g/glast/g/LCRepository/Likelihood/Scripts/LikelihoodAnalysis.py 4FGL_J2235.3-4836_daily_bin1281 338.841 -48.6015 571363201 571622401 irfs=P8R3_SOURCE_V2 zmax=90 ROI=12 association=4FGL_J2235.3-4836 fixedModel=True performFreeIndexFit=True freeVariableSources=True nuke=True repositoryJob=True verbose=False
------------------------------------------------------------

Successfully completed.

Resource usage summary:

    CPU time :                                   572.16 sec.
    Max Memory :                                 1256 MB
    Average Memory :                             245.92 MB
    Total Requested Memory :                     -
    Delta Memory :                               -
    Max Swap :                                   -
    Max Processes :                              5
    Max Threads :                                21
    Run time :                                   775 sec.
    Turnaround time :                            777 sec.

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

