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


Performing analysis on: 4FGL_J0633.4-2222_daily_bin1142
RA = 98.3696, Dec = -22.3724
tmin = 535334401, tmax = 535593601
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='502910', job_status='RUN', time_executed='2021-08-25 08:51:10.983169', time_epoch_executed='1629906670.98' WHERE source_name='4FGL J0633.4-2222' and cadence='daily' and bin_id='1142'

Database successfully updated.
Done.

Creating custom output directory:
/scratch/kocevski/502910

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

Retrieving the FT1 file...

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

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

Retrieving 47 files...
Done.


Merging files...

Checksum keywords updated successfully.

Merged file saved to:
/scratch/kocevski/502910/ft1_4FGL_J0633.4-2222_daily_bin1142.fits


Retrieving the FT1 file...

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

Retrieving 47 files...
Done.


Merging files...

Merged file saved to:
/scratch/kocevski/502910/ft2_4FGL_J0633.4-2222_daily_bin1142.fits


Selecting the photons:
time -p gtselect infile=/scratch/kocevski/502910/ft1_4FGL_J0633.4-2222_daily_bin1142.fits outfile=/scratch/kocevski/502910/ft1_filteredMKT_4FGL_J0633.4-2222_daily_bin1142.fits ra=98.3696 dec=-22.3724 rad=12.0 tmin=535334401.0 tmax=535593601.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 5.26
user 4.97
sys 0.22

Adding sun position to ft2 file:
/nfs/farm/g/glast/g/LCRepository/Repository/bin/sunpos /scratch/kocevski/502910/ft2_4FGL_J0633.4-2222_daily_bin1142.fits

Selecting the good time intervals:
time -p gtmktime scfile=/scratch/kocevski/502910/ft2_4FGL_J0633.4-2222_daily_bin1142.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/502910/ft1_filteredMKT_4FGL_J0633.4-2222_daily_bin1142.fits evtable="EVENTS" outfile="/scratch/kocevski/502910/ft1_filtered_4FGL_J0633.4-2222_daily_bin1142.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.59
user 0.36
sys 0.14

Generating the livetime cube:
time -p gtltcube evfile="/scratch/kocevski/502910/ft1_filtered_4FGL_J0633.4-2222_daily_bin1142.fits" evtable="EVENTS" scfile=/scratch/kocevski/502910/ft2_4FGL_J0633.4-2222_daily_bin1142.fits sctable="SC_DATA" outfile=/scratch/kocevski/502910/ltcube_535334401_535593601_4FGL_J0633.4-2222_daily_bin1142.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/502910/ft2_4FGL_J0633.4-2222_daily_bin1142.fits
.....................!
real 14.32
user 13.61
sys 0.35

Generating the exposure map:
time -p gtexpmap evfile=/scratch/kocevski/502910/ft1_filtered_4FGL_J0633.4-2222_daily_bin1142.fits evtable="EVENTS" scfile=/scratch/kocevski/502910/ft2_4FGL_J0633.4-2222_daily_bin1142.fits sctable="SC_DATA" expcube=/scratch/kocevski/502910/ltcube_535334401_535593601_4FGL_J0633.4-2222_daily_bin1142.fits outfile=/scratch/kocevski/502910/expmap_535334401_535593601_4FGL_J0633.4-2222_daily_bin1142.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/502910/ltcube_535334401_535593601_4FGL_J0633.4-2222_daily_bin1142.fits
.....................!
real 193.21
user 187.78
sys 4.97

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

Setting source of interest to:
4FGL J0633.4-2222 @ 98.3696 -22.3724

Creating the counts map:
time -p gtbin evfile=/scratch/kocevski/502910/ft1_filtered_4FGL_J0633.4-2222_daily_bin1142.fits scfile=/scratch/kocevski/502910/ft2_4FGL_J0633.4-2222_daily_bin1142.fits outfile=/scratch/kocevski/502910/cmap_535334401_535593601_4FGL_J0633.4-2222_daily_bin1142.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=98.3696 yref=-22.3724 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.62
user 0.41
sys 0.14

Creating the high resolution counts map:
time -p gtbin evfile=/scratch/kocevski/502910/ft1_filtered_4FGL_J0633.4-2222_daily_bin1142.fits scfile=/scratch/kocevski/502910/ft2_4FGL_J0633.4-2222_daily_bin1142.fits outfile=/scratch/kocevski/502910/cmap_HighResolution_535334401_535593601_4FGL_J0633.4-2222_daily_bin1142.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=98.3696 yref=-22.3724 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.75
user 0.39
sys 0.15

Computing the diffuse response:
time -p gtdiffrsp evfile=/scratch/kocevski/502910/ft1_filtered_4FGL_J0633.4-2222_daily_bin1142.fits evtable="EVENTS" scfile=/scratch/kocevski/502910/ft2_4FGL_J0633.4-2222_daily_bin1142.fits sctable="SC_DATA" srcmdl=/scratch/kocevski/502910/Model_4FGL_J0633.4-2222_daily_bin1142.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/502910/ft1_filtered_4FGL_J0633.4-2222_daily_bin1142.fits.....................!
real 120.39
user 118.67
sys 1.26

Creating the likelihood object...
obs = UnbinnedObs('/scratch/kocevski/502910/ft1_filtered_4FGL_J0633.4-2222_daily_bin1142.fits', '/scratch/kocevski/502910/ft2_4FGL_J0633.4-2222_daily_bin1142.fits', expMap='/scratch/kocevski/502910/expmap_535334401_535593601_4FGL_J0633.4-2222_daily_bin1142.fits', expCube='/scratch/kocevski/502910/ltcube_535334401_535593601_4FGL_J0633.4-2222_daily_bin1142.fits', irfs='P8R3_SOURCE_V2')
like = UnbinnedAnalysis(obs, '/scratch/kocevski/502910/Model_4FGL_J0633.4-2222_daily_bin1142.xml', optimizer='MINUIT')

Using source of interest name: '4FGL J0633.4-2222'

4FGL J0633.4-2222
   Spectrum: LogParabola
281         norm:  2.205e+00  0.000e+00  1.000e-04  1.000e+04 ( 1.000e-12)
282        alpha:  2.392e+00  0.000e+00  0.000e+00  5.000e+00 ( 1.000e+00) fixed
283         beta:  2.897e-01  0.000e+00  0.000e+00  1.000e+01 ( 1.000e+00) fixed
284           Eb:  6.673e+02  0.000e+00  3.000e+01  5.000e+05 ( 1.000e+00) fixed


Likelihood Fit Parameters:
Event file(s): /scratch/kocevski/502910/ft1_filtered_4FGL_J0633.4-2222_daily_bin1142.fits
Spacecraft file(s): /scratch/kocevski/502910/ft2_4FGL_J0633.4-2222_daily_bin1142.fits
Exposure map: /scratch/kocevski/502910/expmap_535334401_535593601_4FGL_J0633.4-2222_daily_bin1142.fits
Exposure cube: /scratch/kocevski/502910/ltcube_535334401_535593601_4FGL_J0633.4-2222_daily_bin1142.fits
IRFs: P8R3_SOURCE_V2
Source model file: /scratch/kocevski/502910/Model_4FGL_J0633.4-2222_daily_bin1142.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) = 7815.71252701

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

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

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'norm      '    .10000E-03   1.0000         .10000E-03   10000.    
     2 'norm      '    9.1805       1.0000         .10000E-03   10000.    
     3 'Prefactor '    .10258E-03   1.0000         .10000E-03   10000.    
     4 'Prefactor '    .10158E-03   1.0000         .10000E-03   10000.    
     5 'Prefactor '    71.444       1.0000         .10000E-03   10000.    
     6 'Prefactor '    25.843       1.0000         .10000E-03   10000.    
     7 'Prefactor '    .44326E-02   1.0000         .10000E-03   10000.    
     8 'Prefactor '    .10041E-03   1.0000         .10000E-03   10000.    
     9 'Prefactor '    .10010E-03   1.0000         .10000E-03   10000.    
    10 'Prefactor '    48.341       1.0000         .10000E-03   10000.    
    11 'norm      '    8.6444       1.0000         .10000E-03   10000.    
    12 'Prefactor '    .10115E-03   1.0000         .10000E-03   10000.    
    13 'Prefactor '    .63058E-02   1.0000         .10000E-03   10000.    
    14 'Prefactor '    76.235       1.0000         .10000E-03   10000.    
    15 'norm      '    .71956E-02   1.0000         .10000E-03   10000.    
    16 'norm      '    11.701       1.0000         .10000E-03   10000.    
    17 'norm      '    .15901E-03   1.0000         .10000E-03   10000.    
    18 'norm      '    .10004E-03   1.0000         .10000E-03   10000.    
    19 'Prefactor '    .10005E-03   1.0000         .10000E-03   10000.    
    20 'norm      '    14.246       1.0000         .10000E-03   10000.    
    21 'norm      '    17.186       1.0000         .10000E-03   10000.    
    22 'Prefactor '    .10007E-03   1.0000         .10000E-03   10000.    
    23 'Prefactor '    2.7457       1.0000         .10000E-03   10000.    
    24 'norm      '    89.092       1.0000         .10000E-03   10000.    
    25 'norm      '    86.621       1.0000         .10000E-03   10000.    
    26 'norm      '    .10181       1.0000         .10000E-03   10000.    
    27 'Prefactor '    .10003E-03   1.0000         .10000E-03   10000.    
    28 'Normalizat'    1.3724       1.0000         .10000E-01   10.000    
    29 'Prefactor '    .85026       1.0000          .0000       10.000    
 **********
 **   15 **SET ERR    .5000    
 **********
 **********
 **   16 **SET GRAD    1.000    
 **********
 **********
 **   17 **MINIMIZE    .5310E+05   .2000E-04
 **********

 MIGRAD MINIMIZATION HAS CONVERGED.

 MIGRAD WILL VERIFY CONVERGENCE AND ERROR MATRIX.

 MIGRAD MINIMIZATION HAS CONVERGED.

 FCN=   7815.632     FROM MIGRAD    STATUS=CONVERGED    743 CALLS     3765 TOTAL
                     EDM=   .15E-08  STRATEGY=1  ERROR MATRIX UNCERTAINTY=  9.4%

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  norm          .10000E-03    18.498        .19819E-07** at limit **
   2  norm          9.1840        14.984       -.33292E-06   -.22682E-04
   3  Prefactor     .10000E-03    12.709        .51809E-06** at limit **
   4  Prefactor     .10000E-03    13.713       -.45030E-06** at limit **
   5  Prefactor     71.391        91.632        .31791E-05    .82062E-04
   6  Prefactor     25.857        26.842       -.23232E-06    .37761E-05
   7  Prefactor     .10008E-03    458.75        .21383E-04** at limit **
   8  Prefactor     .10000E-03    64.610       -.16702E-05** at limit **
   9  Prefactor     .10000E-03    39.668       -.43792E-06** at limit **
  10  Prefactor     48.339        56.845       -.72092E-06    .26581E-04
  11  norm          8.6559        11.158        .11462E-05    .10020E-02
  12  Prefactor     .10000E-03    13.528        .73413E-07** at limit **
  13  Prefactor     .10003E-03    20.342       -.15889E-04** at limit **
  14  Prefactor     76.226        47.058        .16242E-05    .37909E-04
  15  norm          .10008E-03    208.62        .55472E-04** at limit **
  16  norm          11.702        8.3546       -.16832E-06    .15360E-03
  17  norm          .10000E-03    1.5707        .52367E-09** at limit **
  18  norm          .10000E-03    5.3210       -.12031E-06** at limit **
  19  Prefactor     .10000E-03    3.6278       -.25748E-06** at limit **
  20  norm          14.243        20.918       -.25304E-05    .20922E-03
  21  norm          17.188        11.783        .45144E-06    .23978E-03
  22  Prefactor     .10000E-03    6.8938        .20668E-06** at limit **
  23  Prefactor     2.7459        4.4549       -.12453E-05    .14434E-03
  24  norm          89.109        113.86        .80621E-06    .10118E-04
  25  norm          86.630        70.776       -.78726E-06   -.24537E-05
  26  norm          .12200        1.4647        .44517E-07    .12863E-04
  27  Prefactor     .10000E-03    13.885       -.13222E-06** at limit **
  28  Normalizat    1.3721        .30450        .19731E-05    .19424E-03
  29  Prefactor     .85026        .64853E-01    .51139E-06    .64017E-03
                               ERR DEF=  .500    
Final values: 
  norm       = 0.0001
  norm       = 9.18398
  Prefactor  = 0.000100002
  Prefactor  = 0.0001
  Prefactor  = 71.3912
  Prefactor  = 25.857
  Prefactor  = 0.000100083
  Prefactor  = 0.000100002
  Prefactor  = 0.0001
  Prefactor  = 48.3386
  norm       = 8.65593
  Prefactor  = 0.0001
  Prefactor  = 0.000100034
  Prefactor  = 76.2255
  norm       = 0.000100079
  norm       = 11.7024
  norm       = 0.000100001
  norm       = 0.0001
  Prefactor  = 0.0001
  norm       = 14.2435
  norm       = 17.1882
  Prefactor  = 0.0001
  Prefactor  = 2.74587
  norm       = 89.1091
  norm       = 86.6303
  norm       = 0.121996
  Prefactor  = 0.0001
  Normalizat = 1.37213
  Prefactor  = 0.850258
 **********
 **   18 **HESSE 
 **********

 FCN=   7815.632     FROM HESSE     STATUS=OK           561 CALLS     4326 TOTAL
                     EDM=   .26E-08    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  norm          .10000E-03    18.501        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   2  norm          9.1840        14.995        .13227E-03   -1.5102    
   3  Prefactor     .10000E-03    12.771        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   4  Prefactor     .10000E-03    13.851        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   5  Prefactor     71.391        92.193        .23747E-03   -1.4016    
   6  Prefactor     25.857        26.891        .78801E-04   -1.4691    
   7  Prefactor     .10008E-03    454.17        .38728E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   8  Prefactor     .10000E-03    65.034        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   9  Prefactor     .10000E-03    39.704        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  10  Prefactor     48.339        56.911        .57674E-04   -1.4316    
  11  norm          8.6559        10.386        .13634E-03   -1.5119    
  12  Prefactor     .10000E-03    13.558        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  13  Prefactor     .10003E-03    65.174        .48834E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  14  Prefactor     76.226        47.344        .45989E-04   -1.3960    
  15  norm          .10008E-03    24.439        .16105       -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  16  norm          11.702        8.3517        .11711E-03   -1.5024    
  17  norm          .10000E-03    5.4211        .21329E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  18  norm          .10000E-03    5.3301        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  19  Prefactor     .10000E-03    3.6624        .16438E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  20  norm          14.243        20.951        .53059E-03   -1.4953    
  21  norm          17.188        11.709        .96611E-04   -1.4879    
  22  Prefactor     .10000E-03    6.9021        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  23  Prefactor     2.7459        4.4244        .21220E-03   -1.5377    
  24  norm          89.109        113.94        .42569E-04   -1.3817    
  25  norm          86.630        70.796        .43166E-04   -1.3844    
  26  norm          .12200        11.427        .20579E-02   -1.5638    
  27  Prefactor     .10000E-03    13.915        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  28  Normalizat    1.3721        .32266        .50472E-03   -.81438    
  29  Prefactor     .85026        .69211E-01    .14343E-03   -.97902    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 2.63708e-09
Minuit parameter uncertainties:
  1  2.1286e-06
  2  15.0013
  3  0.000284347
  4  0.000142638
  5  92.3778
  6  26.9031
  7  0.0123753
  8  0.000727977
  9  0.000179145
  10  56.9753
  11  10.3883
  12  0.000148429
  13  0.00297234
  14  47.3675
  15  0.00278576
  16  8.35248
  17  0.000121814
  18  1.86176e-05
  19  2.4887e-05
  20  20.9618
  21  11.7106
  22  3.14094e-05
  23  4.42494
  24  114.216
  25  70.8655
  26  2.36093
  27  3.16514e-05
  28  0.323137
  29  0.0692181
Done.

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

Extracting fit parameters...

4FGL J0633.4-2222
   Spectrum: LogParabola
281         norm:  1.000e-04  1.862e-05  1.000e-04  1.000e+04 ( 1.000e-12)
282        alpha:  2.392e+00  0.000e+00  0.000e+00  5.000e+00 ( 1.000e+00) fixed
283         beta:  2.897e-01  0.000e+00  0.000e+00  1.000e+01 ( 1.000e+00) fixed
284           Eb:  6.673e+02  0.000e+00  3.000e+01  5.000e+05 ( 1.000e+00) fixed

GAL_V02
   Spectrum: PowerLaw
528    Prefactor:  8.503e-01  6.922e-02  0.000e+00  1.000e+01 ( 1.000e+00)
529        Index:  0.000e+00  0.000e+00 -1.000e+00  1.000e+00 ( 1.000e+00) fixed
530        Scale:  1.000e+02  0.000e+00  5.000e+01  2.000e+02 ( 1.000e+00) fixed

EG_v02
   Spectrum: FileFunction
527   Normalization:  1.372e+00  3.231e-01  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Fixed Index): -0.00
Ra Dec: 98.370 -22.372
Photon Flux Upper Limit: 1.00e-07 ph cm-2 s-1
Energy Flux Upper Limit: 3.37e-05 MeV cm-2 s-1

Saving results to:
/scratch/kocevski/502910/likelihoodResults_535334401_535593601_4FGL_J0633.4-2222_daily_bin1142.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) = 7815.63327985
delta logL = -0.000894106234227

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

MINUIT Return Code (Free Index): 102
logL (Free Index) = 7815.63238619
delta logL = -4.47653292213e-07

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'norm      '    .10266E-03   1.0000         .10000E-03   10000.    
     2 'alpha     '    2.3785       1.0000          .0000       5.0000    
     3 'Normalizat'    1.3720       1.0000         .10000E-01   10.000    
     4 'Prefactor '    .85025       1.0000          .0000       10.000    
 **********
 **   15 **SET ERR    .5000    
 **********
 **********
 **   16 **SET GRAD    1.000    
 **********
 **********
 **   17 **MINIMIZE    .5310E+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=   7815.632     FROM MIGRAD    STATUS=CONVERGED    100 CALLS      247 TOTAL
                     EDM=   .25E-10    STRATEGY= 1      ERR MATRIX NOT POS-DEF

  EXT PARAMETER                APPROXIMATE        STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  norm          .10000E-03    184.31        .18142E-01** at limit **
   2  alpha         1.9288        3.9944        .16485        .15034E-07
   3  Normalizat    1.3721        .51082E-01    .50472E-03    .23246E-04
   4  Prefactor     .85026        .11851E-01    .14343E-03    .86395E-04
                               ERR DEF=  .500    
Final values: 
  norm       = 0.0001
  alpha      = 1.92881
  Normalizat = 1.37213
  Prefactor  = 0.850258
 **********
 **   18 **HESSE 
 **********

 FCN=   7815.632     FROM HESSE     STATUS=OK            23 CALLS      270 TOTAL
                     EDM=   .65E-11    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  norm          .10000E-03    6.1183        .21228E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   2  alpha         1.9288        3.0501        .65941E-02   -.23051    
   3  Normalizat    1.3721        .28363        .20189E-04   -.81438    
   4  Prefactor     .85026        .65872E-01    .57373E-05   -.97902    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 6.47413e-12
Minuit parameter uncertainties:
  1  1.19999e-05
  2  307.071
  3  0.283954
  4  0.0658786
shell-init: error retrieving current directory: getcwd: cannot access parent directories: No such file or directory
rmdir: failed to remove `/scratch/kocevski/502910': 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) = 7815.63238458
delta logL = 1.16371211334e-06

Extracting fit parameters...

4FGL J0633.4-2222
   Spectrum: LogParabola
281         norm:  1.000e-04  1.200e-05  1.000e-04  1.000e+04 ( 1.000e-12)
282        alpha:  1.929e+00  3.071e+02  0.000e+00  5.000e+00 ( 1.000e+00)
283         beta:  2.897e-01  0.000e+00  0.000e+00  1.000e+01 ( 1.000e+00) fixed
284           Eb:  6.673e+02  0.000e+00  3.000e+01  5.000e+05 ( 1.000e+00) fixed

GAL_V02
   Spectrum: PowerLaw
528    Prefactor:  8.503e-01  6.588e-02  0.000e+00  1.000e+01 ( 1.000e+00)
529        Index:  0.000e+00  0.000e+00 -1.000e+00  1.000e+00 ( 1.000e+00) fixed
530        Scale:  1.000e+02  0.000e+00  5.000e+01  2.000e+02 ( 1.000e+00) fixed

EG_v02
   Spectrum: FileFunction
527   Normalization:  1.372e+00  2.840e-01  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Free Index): -0.00
Ra Dec: 98.370 -22.372

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/502910/cmap_HighResolution_535334401_535593601_4FGL_J0633.4-2222_daily_bin1142.png

Cleaning up...

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

Updating database...

UPDATE lightcurve_data_v2 SET energy_flux_upper_limit='3.37e-05', job_status='DONE', photon_flux_upper_limit='1.00e-07', time_completed='2021-08-25 09:06:51.641418', job_id='502910', GAL2='0.85', fit_tolerance='1e-08', EG2='1.37', EG='1.37', time_epoch_completed='1629907611.64', return_code2='0', ts='-0.00', comment='SUCCESS', return_code='0', GAL='0.85', dlogl='1.16e-06', ts2='-0.00', photon_index_error='0.00', photon_index='2.39' WHERE bin_id='1142' AND source_name='4FGL J0633.4-2222' AND cadence='daily';

Database successfully updated.


Analysis Complete.


Wed Aug 25 09:06:51 PDT 2021


------------------------------------------------------------
Sender: LSF System <lsf@bullet0049>
Subject: Job 502910: <4FGL_J0633.4-2222_daily_bin1142> in cluster <slac> Done

Job <4FGL_J0633.4-2222_daily_bin1142> was submitted from host <rhel6-64o> by user <kocevski> in cluster <slac> at Wed Aug 25 08:50:45 2021
Job was executed on host(s) <bullet0049>, in queue <medium>, as user <kocevski> in cluster <slac> at Wed Aug 25 08:50:46 2021
</u/ki/kocevski> was used as the home directory.
</u/ki/kocevski> was used as the working directory.
Started at Wed Aug 25 08:50:46 2021
Terminated at Wed Aug 25 09:06:52 2021
Results reported at Wed Aug 25 09:06:52 2021

Your job looked like:

------------------------------------------------------------
# LSBATCH: User input
/nfs/farm/g/glast/g/LCRepository/Likelihood/Scripts/LikelihoodAnalysis.py 4FGL_J0633.4-2222_daily_bin1142 98.3696 -22.3724 535334401 535593601 irfs=P8R3_SOURCE_V2 zmax=90 ROI=12 association=4FGL_J0633.4-2222 fixedModel=True performFreeIndexFit=True freeVariableSources=True nuke=True repositoryJob=True verbose=False
------------------------------------------------------------

Successfully completed.

Resource usage summary:

    CPU time :                                   926.35 sec.
    Max Memory :                                 1256 MB
    Average Memory :                             339.97 MB
    Total Requested Memory :                     -
    Delta Memory :                               -
    Max Swap :                                   -
    Max Processes :                              5
    Max Threads :                                21
    Run time :                                   965 sec.
    Turnaround time :                            967 sec.

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

