/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 3 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 = 7450
number of fields = 22
No RA_SUN column yet. Adding RA_SUN/DEC_SUN columns.
Done.


Performing analysis on: 4FGL_J0228.0-3026_daily_bin50
RA = 37.014, Dec = -30.447
tmin = 252288001, tmax = 252547201
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='430867', job_status='RUN', time_executed='2021-08-16 00:01:33.590855', time_epoch_executed='1629097293.59' WHERE source_name='4FGL J0228.0-3026' and cadence='daily' and bin_id='50'

Database successfully updated.
Done.

Creating custom output directory:
/scratch/kocevski/430867

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

Retrieving the FT1 file...

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

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

Retrieving 46 files...
Done.


Merging files...

Checksum keywords updated successfully.

Merged file saved to:
/scratch/kocevski/430867/ft1_4FGL_J0228.0-3026_daily_bin50.fits


Retrieving the FT1 file...

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

Retrieving 46 files...
Done.


Merging files...

Merged file saved to:
/scratch/kocevski/430867/ft2_4FGL_J0228.0-3026_daily_bin50.fits


Selecting the photons:
time -p gtselect infile=/scratch/kocevski/430867/ft1_4FGL_J0228.0-3026_daily_bin50.fits outfile=/scratch/kocevski/430867/ft1_filteredMKT_4FGL_J0228.0-3026_daily_bin50.fits ra=37.014 dec=-30.447 rad=12.0 tmin=252288001.0 tmax=252547201.0 emin=100.0 emax=100000.0 zmin=0.0 zmax=90.0 evclass=128 evtype="INDEF" convtype=-1 phasemin=0.0 phasemax=1.0 evtable="EVENTS" chatter=2 clobber=yes debug=no gui=no mode="ql"

WARNING: version mismatch between CFITSIO header (v3.43) and linked library (v3.41).

Done.
real 4.06
user 2.32
sys 1.72

Adding sun position to ft2 file:
/nfs/farm/g/glast/g/LCRepository/Repository/bin/sunpos /scratch/kocevski/430867/ft2_4FGL_J0228.0-3026_daily_bin50.fits

Selecting the good time intervals:
time -p gtmktime scfile=/scratch/kocevski/430867/ft2_4FGL_J0228.0-3026_daily_bin50.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/430867/ft1_filteredMKT_4FGL_J0228.0-3026_daily_bin50.fits evtable="EVENTS" outfile="/scratch/kocevski/430867/ft1_filtered_4FGL_J0228.0-3026_daily_bin50.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 1.87
user 0.33
sys 1.51

Generating the livetime cube:
time -p gtltcube evfile="/scratch/kocevski/430867/ft1_filtered_4FGL_J0228.0-3026_daily_bin50.fits" evtable="EVENTS" scfile=/scratch/kocevski/430867/ft2_4FGL_J0228.0-3026_daily_bin50.fits sctable="SC_DATA" outfile=/scratch/kocevski/430867/ltcube_252288001_252547201_4FGL_J0228.0-3026_daily_bin50.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/430867/ft2_4FGL_J0228.0-3026_daily_bin50.fits
.....................!
real 16.58
user 14.51
sys 2.02

Generating the exposure map:
time -p gtexpmap evfile=/scratch/kocevski/430867/ft1_filtered_4FGL_J0228.0-3026_daily_bin50.fits evtable="EVENTS" scfile=/scratch/kocevski/430867/ft2_4FGL_J0228.0-3026_daily_bin50.fits sctable="SC_DATA" expcube=/scratch/kocevski/430867/ltcube_252288001_252547201_4FGL_J0228.0-3026_daily_bin50.fits outfile=/scratch/kocevski/430867/expmap_252288001_252547201_4FGL_J0228.0-3026_daily_bin50.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/430867/ltcube_252288001_252547201_4FGL_J0228.0-3026_daily_bin50.fits
.....................!
real 195.17
user 186.01
sys 7.37

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
Extended source Fornax A in ROI, make sure /nfs/farm/g/glast/g/LCRepository/Likelihood/ExtendedSources/Extended_archive_v18/Templates/FornaxA.fits is the correct path to the extended template.
Added 170 point sources and 1 extended sources
If using unbinned likelihood you will need to rerun gtdiffrsp for the extended sources or rerun the makeModel function with optional argument psForce=True

Setting source of interest to:
4FGL J0228.0-3026 @ 37.014 -30.447

Creating the counts map:
time -p gtbin evfile=/scratch/kocevski/430867/ft1_filtered_4FGL_J0228.0-3026_daily_bin50.fits scfile=/scratch/kocevski/430867/ft2_4FGL_J0228.0-3026_daily_bin50.fits outfile=/scratch/kocevski/430867/cmap_252288001_252547201_4FGL_J0228.0-3026_daily_bin50.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=37.014 yref=-30.447 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 2.01
user 0.36
sys 1.63

Creating the high resolution counts map:
time -p gtbin evfile=/scratch/kocevski/430867/ft1_filtered_4FGL_J0228.0-3026_daily_bin50.fits scfile=/scratch/kocevski/430867/ft2_4FGL_J0228.0-3026_daily_bin50.fits outfile=/scratch/kocevski/430867/cmap_HighResolution_252288001_252547201_4FGL_J0228.0-3026_daily_bin50.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=37.014 yref=-30.447 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 2.03
user 0.37
sys 1.63

Computing the diffuse response:
time -p gtdiffrsp evfile=/scratch/kocevski/430867/ft1_filtered_4FGL_J0228.0-3026_daily_bin50.fits evtable="EVENTS" scfile=/scratch/kocevski/430867/ft2_4FGL_J0228.0-3026_daily_bin50.fits sctable="SC_DATA" srcmdl=/scratch/kocevski/430867/Model_4FGL_J0228.0-3026_daily_bin50.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 Fornax A
adding source GAL_V02
Working on...
/scratch/kocevski/430867/ft1_filtered_4FGL_J0228.0-3026_daily_bin50.fits.....................!
real 101.87
user 98.25
sys 3.21

Creating the likelihood object...
obs = UnbinnedObs('/scratch/kocevski/430867/ft1_filtered_4FGL_J0228.0-3026_daily_bin50.fits', '/scratch/kocevski/430867/ft2_4FGL_J0228.0-3026_daily_bin50.fits', expMap='/scratch/kocevski/430867/expmap_252288001_252547201_4FGL_J0228.0-3026_daily_bin50.fits', expCube='/scratch/kocevski/430867/ltcube_252288001_252547201_4FGL_J0228.0-3026_daily_bin50.fits', irfs='P8R3_SOURCE_V2')
like = UnbinnedAnalysis(obs, '/scratch/kocevski/430867/Model_4FGL_J0228.0-3026_daily_bin50.xml', optimizer='MINUIT')

Using source of interest name: '4FGL J0228.0-3026'

4FGL J0228.0-3026
   Spectrum: PowerLaw
270    Prefactor:  4.208e+00  0.000e+00  1.000e-04  1.000e+04 ( 1.000e-14)
271        Index:  2.197e+00  0.000e+00  0.000e+00  1.000e+01 (-1.000e+00) fixed
272        Scale:  1.951e+03  0.000e+00  3.000e+01  5.000e+05 ( 1.000e+00) fixed


Likelihood Fit Parameters:
Event file(s): /scratch/kocevski/430867/ft1_filtered_4FGL_J0228.0-3026_daily_bin50.fits
Spacecraft file(s): /scratch/kocevski/430867/ft2_4FGL_J0228.0-3026_daily_bin50.fits
Exposure map: /scratch/kocevski/430867/expmap_252288001_252547201_4FGL_J0228.0-3026_daily_bin50.fits
Exposure cube: /scratch/kocevski/430867/ltcube_252288001_252547201_4FGL_J0228.0-3026_daily_bin50.fits
IRFs: P8R3_SOURCE_V2
Source model file: /scratch/kocevski/430867/Model_4FGL_J0228.0-3026_daily_bin50.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) = 5067.88425141

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

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

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'Prefactor '    6.1284       1.0000         .10000E-03   10000.    
     2 'norm      '    4.2660       1.0000         .10000E-03   10000.    
     3 'Prefactor '    8.6572       1.0000         .10000E-03   10000.    
     4 'Prefactor '    9.4714       1.0000         .10000E-03   10000.    
     5 'Prefactor '    .10002E-03   1.0000         .10000E-03   10000.    
     6 'Prefactor '    7.4413       1.0000         .10000E-03   10000.    
     7 'Prefactor '    .10000E-03   1.0000         .10000E-03   10000.    
     8 'Prefactor '    .10017E-03   1.0000         .10000E-03   10000.    
     9 'Prefactor '    28.598       1.0000         .10000E-03   10000.    
    10 'norm      '    .10127E-03   1.0000         .10000E-03   10000.    
    11 'Prefactor '    8.4081       1.0000         .10000E-03   10000.    
    12 'Prefactor '    23.057       1.0000         .10000E-03   10000.    
    13 'Prefactor '    24.458       1.0000         .10000E-03   10000.    
    14 'Prefactor '    .10021E-03   1.0000         .10000E-03   10000.    
    15 'Prefactor '    .10001E-03   1.0000         .10000E-03   10000.    
    16 'Prefactor '    .10009E-03   1.0000         .10000E-03   10000.    
    17 'norm      '    1.7390       1.0000         .10000E-03   10000.    
    18 'Prefactor '    .10286E-03   1.0000         .10000E-03   10000.    
    19 'norm      '    2.3498       1.0000         .10000E-03   10000.    
    20 'Normalizat'    .70715       1.0000         .10000E-01   10.000    
    21 'Prefactor '    1.0056       1.0000          .0000       10.000    
 **********
 **   15 **SET ERR    .5000    
 **********
 **********
 **   16 **SET GRAD    1.000    
 **********
 **********
 **   17 **MINIMIZE    .5420E+05   .2000E-04
 **********

 MIGRAD MINIMIZATION HAS CONVERGED.

 MIGRAD WILL VERIFY CONVERGENCE AND ERROR MATRIX.

 MIGRAD MINIMIZATION HAS CONVERGED.

 FCN=   5067.879     FROM MIGRAD    STATUS=CONVERGED    443 CALLS     2191 TOTAL
                     EDM=   .24E-09  STRATEGY=1  ERROR MATRIX UNCERTAINTY=  2.9%

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor     6.1282        5.1079        .35793E-07   -.89798E-04
   2  norm          4.2655        3.1540        .14246E-05   -.86516E-03
   3  Prefactor     8.6535        26.785       -.84238E-06   -.25475E-04
   4  Prefactor     9.4711        8.9475        .10449E-07   -.10983E-04
   5  Prefactor     .10000E-03    5.4625        .15002E-07** at limit **
   6  Prefactor     7.4413        5.7983        .20026E-06   -.38848E-05
   7  Prefactor     .10000E-03    6.9745        .14648E-06** at limit **
   8  Prefactor     .10000E-03    68.213        .31959E-05** at limit **
   9  Prefactor     28.581        40.930       -.28912E-05   -.13325E-03
  10  norm          .10000E-03    .77420        .71006E-07** at limit **
  11  Prefactor     8.4081        12.312        .67890E-07   -.70306E-05
  12  Prefactor     23.059        29.627        .36597E-06    .65872E-04
  13  Prefactor     24.461        24.017        .25076E-06    .22433E-04
  14  Prefactor     .10000E-03    1.3021       -.40285E-07** at limit **
  15  Prefactor     .10000E-03    67.284        .47953E-05** at limit **
  16  Prefactor     .10001E-03    71.884       -.78446E-05** at limit **
  17  norm          1.7389        1.5067        .32202E-07    .34737E-04
  18  Prefactor     .10000E-03    26.128        .20116E-06** at limit **
  19  norm          2.3497        2.7040        .70331E-07    .31181E-05
  20  Normalizat    .70718        .15796       -.58360E-06    .48243E-04
  21  Prefactor     1.0055        .17652       -.19947E-06    .18092E-04
                               ERR DEF=  .500    
Final values: 
  Prefactor  = 6.12818
  norm       = 4.26549
  Prefactor  = 8.65355
  Prefactor  = 9.47112
  Prefactor  = 0.0001
  Prefactor  = 7.44126
  Prefactor  = 0.0001
  Prefactor  = 0.000100001
  Prefactor  = 28.581
  norm       = 0.0001
  Prefactor  = 8.4081
  Prefactor  = 23.0588
  Prefactor  = 24.4607
  Prefactor  = 0.0001
  Prefactor  = 0.000100004
  Prefactor  = 0.000100011
  norm       = 1.73886
  Prefactor  = 0.0001
  norm       = 2.34973
  Normalizat = 0.707183
  Prefactor  = 1.00554
 **********
 **   18 **HESSE 
 **********

 FCN=   5067.879     FROM HESSE     STATUS=OK           321 CALLS     2512 TOTAL
                     EDM=   .57E-09    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  Prefactor     6.1282        5.1181        .13989E-03   -1.5213    
   2  norm          4.2655        3.2890        .53520E-03   -1.5295    
   3  Prefactor     8.6535        26.800        .13624E-03   -1.5120    
   4  Prefactor     9.4711        8.9483        .13022E-03   -1.5092    
   5  Prefactor     .10000E-03    5.4901        .16243E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   6  Prefactor     7.4413        5.7954        .14245E-03   -1.5162    
   7  Prefactor     .10000E-03    7.1891        .36285E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   8  Prefactor     .10000E-03    69.924        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   9  Prefactor     28.581        41.930        .74917E-04   -1.4638    
  10  norm          .10000E-03    1.1749        .12151E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  11  Prefactor     8.4081        12.296        .13825E-03   -1.5128    
  12  Prefactor     23.059        29.737        .83419E-04   -1.4747    
  13  Prefactor     24.461        24.016        .80998E-04   -1.4718    
  14  Prefactor     .10000E-03    1.3085        .79309E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  15  Prefactor     .10000E-03    68.767        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  16  Prefactor     .10001E-03    76.252        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  17  norm          1.7389        1.4953        .77715E-04   -1.5444    
  18  Prefactor     .10000E-03    26.789        .36285E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  19  norm          2.3497        2.6913        .12051E-03   -1.5401    
  20  Normalizat    .70718        .18727        .22581E-03   -1.0361    
  21  Prefactor     1.0055        .20907        .22442E-03   -.92545    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 5.70528e-10
Minuit parameter uncertainties:
  1  5.11851
  2  3.28909
  3  26.8376
  4  8.94961
  5  1.91562e-06
  6  5.79585
  7  6.17892e-06
  8  0.000560987
  9  41.9736
  10  1.85349e-06
  11  12.2996
  12  29.7563
  13  24.0254
  14  2.83248e-06
  15  0.00107346
  16  0.00179893
  17  1.4953
  18  4.11189e-05
  19  2.6914
  20  0.187439
  21  0.209234
Done.

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

Extracting fit parameters...

4FGL J0228.0-3026
   Spectrum: PowerLaw
270    Prefactor:  2.858e+01  4.197e+01  1.000e-04  1.000e+04 ( 1.000e-14)
271        Index:  2.197e+00  0.000e+00  0.000e+00  1.000e+01 (-1.000e+00) fixed
272        Scale:  1.951e+03  0.000e+00  3.000e+01  5.000e+05 ( 1.000e+00) fixed

GAL_V02
   Spectrum: PowerLaw
539    Prefactor:  1.006e+00  2.092e-01  0.000e+00  1.000e+01 ( 1.000e+00)
540        Index:  0.000e+00  0.000e+00 -1.000e+00  1.000e+00 ( 1.000e+00) fixed
541        Scale:  1.000e+02  0.000e+00  5.000e+01  2.000e+02 ( 1.000e+00) fixed

EG_v02
   Spectrum: FileFunction
535   Normalization:  7.072e-01  1.874e-01  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Fixed Index): 0.68
Ra Dec: 37.014 -30.447
Photon Flux Upper Limit: 7.72e-08 ph cm-2 s-1
Energy Flux Upper Limit: 5.88e-03 MeV cm-2 s-1

Saving results to:
/scratch/kocevski/430867/likelihoodResults_252288001_252547201_4FGL_J0228.0-3026_daily_bin50.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) = 5067.87625699
delta logL = 0.00272730449069

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

MINUIT Return Code (Free Index): 0
logL (Free Index) = 5067.87366537
delta logL = 0.00531892051004

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'Prefactor '    24.753       1.0000         .10000E-03   10000.    
     2 'Index     '    2.3159       1.0000          .0000       10.000    
     3 'Normalizat'    .70415       1.0000         .10000E-01   10.000    
     4 'Prefactor '    1.0078       1.0000          .0000       10.000    
 **********
 **   15 **SET ERR    .5000    
 **********
 **********
 **   16 **SET GRAD    1.000    
 **********
 **********
 **   17 **MINIMIZE    .5420E+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=   5067.874     FROM MIGRAD    STATUS=CONVERGED     88 CALLS      266 TOTAL
                     EDM=   .50E-10    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor     24.755        63.933        .80514E-04    .12849E-04
   2  Index         2.3152        1.3911        .91081E-02    .21887E-04
   3  Normalizat    .70410        .18117        .22627E-03    .10214E-03
   4  Prefactor     1.0079        .20986        .22419E-03    .12432E-03
                               ERR DEF=  .500    
Final values: 
  Prefactor  = 24.7546
  Index      = 2.31523
  Normalizat = 0.704096
  Prefactor  = 1.00793
 **********
 **   18 **HESSE 
 **********

 FCN=   5067.874     FROM HESSE     STATUS=OK            25 CALLS      291 TOTAL
                     EDM=   .17E-10    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  Prefactor     24.755        53.481        .32206E-05   -1.4712    
   2  Index         2.3152        1.1677        .36433E-03   -.56682    
   3  Normalizat    .70410        .18004        .90509E-05   -1.0373    
   4  Prefactor     1.0079        .20907        .44838E-04   -.92466    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 1.74748e-11
Minuit parameter uncertainties:
  1  53.5851
  2  1.18313
  3  0.180191
  4  0.209243
shell-init: error retrieving current directory: getcwd: cannot access parent directories: No such file or directory
rmdir: failed to remove `/scratch/kocevski/430867': 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) = 5067.87366489
delta logL = 0.00531940445308

Extracting fit parameters...

4FGL J0228.0-3026
   Spectrum: PowerLaw
270    Prefactor:  2.475e+01  5.359e+01  1.000e-04  1.000e+04 ( 1.000e-14)
271        Index:  2.315e+00  1.183e+00  0.000e+00  1.000e+01 (-1.000e+00)
272        Scale:  1.951e+03  0.000e+00  3.000e+01  5.000e+05 ( 1.000e+00) fixed

GAL_V02
   Spectrum: PowerLaw
539    Prefactor:  1.008e+00  2.092e-01  0.000e+00  1.000e+01 ( 1.000e+00)
540        Index:  0.000e+00  0.000e+00 -1.000e+00  1.000e+00 ( 1.000e+00) fixed
541        Scale:  1.000e+02  0.000e+00  5.000e+01  2.000e+02 ( 1.000e+00) fixed

EG_v02
   Spectrum: FileFunction
535   Normalization:  7.041e-01  1.802e-01  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Free Index): 0.68
Ra Dec: 37.014 -30.447

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/430867/cmap_HighResolution_252288001_252547201_4FGL_J0228.0-3026_daily_bin50.png

Cleaning up...

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

Updating database...

UPDATE lightcurve_data_v2 SET energy_flux_upper_limit='5.88e-03', job_status='DONE', photon_flux_upper_limit='7.72e-08', time_completed='2021-08-16 00:12:01.962781', job_id='430867', GAL2='1.01', fit_tolerance='1e-08', EG2='0.70', EG='0.71', time_epoch_completed='1629097921.96', return_code2='0', ts='0.68', comment='SUCCESS', return_code='0', GAL='1.01', dlogl='5.32e-03', ts2='0.69', photon_index_error='0.00', photon_index='2.20' WHERE bin_id='50' AND source_name='4FGL J0228.0-3026' AND cadence='daily';

Database successfully updated.


Analysis Complete.


Mon Aug 16 00:12:02 PDT 2021


------------------------------------------------------------
Sender: LSF System <lsf@bullet0150>
Subject: Job 430867: <4FGL_J0228.0-3026_daily_bin50> in cluster <slac> Done

Job <4FGL_J0228.0-3026_daily_bin50> was submitted from host <rhel6-64d> by user <kocevski> in cluster <slac> at Mon Aug 16 00:00:37 2021
Job was executed on host(s) <bullet0150>, in queue <medium>, as user <kocevski> in cluster <slac> at Mon Aug 16 00:00:52 2021
</u/ki/kocevski> was used as the home directory.
</u/ki/kocevski> was used as the working directory.
Started at Mon Aug 16 00:00:52 2021
Terminated at Mon Aug 16 00:12:02 2021
Results reported at Mon Aug 16 00:12:02 2021

Your job looked like:

------------------------------------------------------------
# LSBATCH: User input
/nfs/farm/g/glast/g/LCRepository/Likelihood/Scripts/LikelihoodAnalysis.py 4FGL_J0228.0-3026_daily_bin50 37.014 -30.447 252288001 252547201 irfs=P8R3_SOURCE_V2 zmax=90 ROI=12 association=4FGL_J0228.0-3026 fixedModel=True performFreeIndexFit=True freeVariableSources=True nuke=True repositoryJob=True verbose=False
------------------------------------------------------------

Successfully completed.

Resource usage summary:

    CPU time :                                   647.32 sec.
    Max Memory :                                 1094 MB
    Average Memory :                             337.39 MB
    Total Requested Memory :                     -
    Delta Memory :                               -
    Max Swap :                                   -
    Max Processes :                              5
    Max Threads :                                21
    Run time :                                   672 sec.
    Turnaround time :                            685 sec.

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

