/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 113 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 = 7399
number of fields = 27
No RA_SUN column yet. Adding RA_SUN/DEC_SUN columns.
Done.


Performing analysis on: 4FGL_J0228.0-3026_daily_bin155
RA = 37.014, Dec = -30.447
tmin = 279504001, tmax = 279763201
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='431033', job_status='RUN', time_executed='2021-08-16 00:05:01.795306', time_epoch_executed='1629097501.8' WHERE source_name='4FGL J0228.0-3026' and cadence='daily' and bin_id='155'

Database successfully updated.
Done.

Creating custom output directory:
/scratch/kocevski/431033

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

Retrieving the FT1 file...

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

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

Retrieving 46 files...
Done.


Merging files...

Checksum keywords updated successfully.

Merged file saved to:
/scratch/kocevski/431033/ft1_4FGL_J0228.0-3026_daily_bin155.fits


Retrieving the FT1 file...

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

Retrieving 46 files...
Done.


Merging files...

Merged file saved to:
/scratch/kocevski/431033/ft2_4FGL_J0228.0-3026_daily_bin155.fits


Selecting the photons:
time -p gtselect infile=/scratch/kocevski/431033/ft1_4FGL_J0228.0-3026_daily_bin155.fits outfile=/scratch/kocevski/431033/ft1_filteredMKT_4FGL_J0228.0-3026_daily_bin155.fits ra=37.014 dec=-30.447 rad=12.0 tmin=279504001.0 tmax=279763201.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 8.31
user 3.33
sys 4.90

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

Selecting the good time intervals:
time -p gtmktime scfile=/scratch/kocevski/431033/ft2_4FGL_J0228.0-3026_daily_bin155.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/431033/ft1_filteredMKT_4FGL_J0228.0-3026_daily_bin155.fits evtable="EVENTS" outfile="/scratch/kocevski/431033/ft1_filtered_4FGL_J0228.0-3026_daily_bin155.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 5.32
user 0.35
sys 4.87

Generating the livetime cube:
time -p gtltcube evfile="/scratch/kocevski/431033/ft1_filtered_4FGL_J0228.0-3026_daily_bin155.fits" evtable="EVENTS" scfile=/scratch/kocevski/431033/ft2_4FGL_J0228.0-3026_daily_bin155.fits sctable="SC_DATA" outfile=/scratch/kocevski/431033/ltcube_279504001_279763201_4FGL_J0228.0-3026_daily_bin155.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/431033/ft2_4FGL_J0228.0-3026_daily_bin155.fits
.....................!
real 18.40
user 12.74
sys 5.56

Generating the exposure map:
time -p gtexpmap evfile=/scratch/kocevski/431033/ft1_filtered_4FGL_J0228.0-3026_daily_bin155.fits evtable="EVENTS" scfile=/scratch/kocevski/431033/ft2_4FGL_J0228.0-3026_daily_bin155.fits sctable="SC_DATA" expcube=/scratch/kocevski/431033/ltcube_279504001_279763201_4FGL_J0228.0-3026_daily_bin155.fits outfile=/scratch/kocevski/431033/expmap_279504001_279763201_4FGL_J0228.0-3026_daily_bin155.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/431033/ltcube_279504001_279763201_4FGL_J0228.0-3026_daily_bin155.fits
.....................!
real 198.80
user 186.06
sys 11.86

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/431033/ft1_filtered_4FGL_J0228.0-3026_daily_bin155.fits scfile=/scratch/kocevski/431033/ft2_4FGL_J0228.0-3026_daily_bin155.fits outfile=/scratch/kocevski/431033/cmap_279504001_279763201_4FGL_J0228.0-3026_daily_bin155.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 5.28
user 0.39
sys 4.80

Creating the high resolution counts map:
time -p gtbin evfile=/scratch/kocevski/431033/ft1_filtered_4FGL_J0228.0-3026_daily_bin155.fits scfile=/scratch/kocevski/431033/ft2_4FGL_J0228.0-3026_daily_bin155.fits outfile=/scratch/kocevski/431033/cmap_HighResolution_279504001_279763201_4FGL_J0228.0-3026_daily_bin155.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 5.17
user 0.40
sys 4.67

Computing the diffuse response:
time -p gtdiffrsp evfile=/scratch/kocevski/431033/ft1_filtered_4FGL_J0228.0-3026_daily_bin155.fits evtable="EVENTS" scfile=/scratch/kocevski/431033/ft2_4FGL_J0228.0-3026_daily_bin155.fits sctable="SC_DATA" srcmdl=/scratch/kocevski/431033/Model_4FGL_J0228.0-3026_daily_bin155.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/431033/ft1_filtered_4FGL_J0228.0-3026_daily_bin155.fits.....................!
real 87.21
user 79.29
sys 6.83

Creating the likelihood object...
obs = UnbinnedObs('/scratch/kocevski/431033/ft1_filtered_4FGL_J0228.0-3026_daily_bin155.fits', '/scratch/kocevski/431033/ft2_4FGL_J0228.0-3026_daily_bin155.fits', expMap='/scratch/kocevski/431033/expmap_279504001_279763201_4FGL_J0228.0-3026_daily_bin155.fits', expCube='/scratch/kocevski/431033/ltcube_279504001_279763201_4FGL_J0228.0-3026_daily_bin155.fits', irfs='P8R3_SOURCE_V2')
like = UnbinnedAnalysis(obs, '/scratch/kocevski/431033/Model_4FGL_J0228.0-3026_daily_bin155.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/431033/ft1_filtered_4FGL_J0228.0-3026_daily_bin155.fits
Spacecraft file(s): /scratch/kocevski/431033/ft2_4FGL_J0228.0-3026_daily_bin155.fits
Exposure map: /scratch/kocevski/431033/expmap_279504001_279763201_4FGL_J0228.0-3026_daily_bin155.fits
Exposure cube: /scratch/kocevski/431033/ltcube_279504001_279763201_4FGL_J0228.0-3026_daily_bin155.fits
IRFs: P8R3_SOURCE_V2
Source model file: /scratch/kocevski/431033/Model_4FGL_J0228.0-3026_daily_bin155.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) = 4031.76235884

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

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

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'Prefactor '    .10000E-03   1.0000         .10000E-03   10000.    
     2 'norm      '    5.2398       1.0000         .10000E-03   10000.    
     3 'Prefactor '    82.337       1.0000         .10000E-03   10000.    
     4 'Prefactor '    .10409E-02   1.0000         .10000E-03   10000.    
     5 'Prefactor '    .10000E-03   1.0000         .10000E-03   10000.    
     6 'Prefactor '    .10000E-03   1.0000         .10000E-03   10000.    
     7 'Prefactor '    .10003E-03   1.0000         .10000E-03   10000.    
     8 'Prefactor '    .10000E-03   1.0000         .10000E-03   10000.    
     9 'Prefactor '    27.381       1.0000         .10000E-03   10000.    
    10 'norm      '    9.7237       1.0000         .10000E-03   10000.    
    11 'Prefactor '    .10063E-03   1.0000         .10000E-03   10000.    
    12 'Prefactor '    .10001E-03   1.0000         .10000E-03   10000.    
    13 'Prefactor '    .10019E-03   1.0000         .10000E-03   10000.    
    14 'Prefactor '    1.7065       1.0000         .10000E-03   10000.    
    15 'Prefactor '    .10003E-03   1.0000         .10000E-03   10000.    
    16 'Prefactor '    53.460       1.0000         .10000E-03   10000.    
    17 'norm      '    1.9584       1.0000         .10000E-03   10000.    
    18 'Prefactor '    11.778       1.0000         .10000E-03   10000.    
    19 'norm      '    1.7944       1.0000         .10000E-03   10000.    
    20 'Normalizat'    1.2293       1.0000         .10000E-01   10.000    
    21 'Prefactor '    .62878       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=   4031.759     FROM MIGRAD    STATUS=CONVERGED    454 CALLS     2203 TOTAL
                     EDM=   .18E-08  STRATEGY=1  ERROR MATRIX UNCERTAINTY=   .7%

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor     .10000E-03    1.7520        .25275E-07** at limit **
   2  norm          5.2398        4.4101        .66739E-06   -.16338E-03
   3  Prefactor     82.339        62.334        .16112E-05   -.32560E-05
   4  Prefactor     .10015E-03    7.3112       -.12490E-05** at limit **
   5  Prefactor     .10000E-03    6.6299       -.10917E-05** at limit **
   6  Prefactor     .10000E-03    6.8084        .11713E-05** at limit **
   7  Prefactor     .10000E-03    4.9128       -.11639E-06** at limit **
   8  Prefactor     .10000E-03    21.832        .23653E-04** at limit **
   9  Prefactor     27.409        68.446        .43037E-04    .74131E-04
  10  norm          9.7237        4.0583        .23172E-07    .36207E-03
  11  Prefactor     .10000E-03    27.935       -.45101E-04** at limit **
  12  Prefactor     .10000E-03    12.627       -.19424E-05** at limit **
  13  Prefactor     .10000E-03    48.689        .60629E-04** at limit **
  14  Prefactor     1.7028        6.7478       -.89024E-05   -.91102E-03
  15  Prefactor     .10000E-03    98.046       -.60775E-04** at limit **
  16  Prefactor     53.469        54.687        .96953E-05    .19543E-04
  17  norm          1.9584        2.0057       -.80537E-07   -.32193E-03
  18  Prefactor     11.777        16.894       -.12517E-05   -.16604E-04
  19  norm          1.7944        2.1129       -.22218E-07    .61351E-05
  20  Normalizat    1.2293        .20771       -.18268E-05    .23170E-03
  21  Prefactor     .62878        .21870       -.60567E-06    .10255E-03
                               ERR DEF=  .500    
Final values: 
  Prefactor  = 0.0001
  norm       = 5.23976
  Prefactor  = 82.339
  Prefactor  = 0.000100149
  Prefactor  = 0.0001
  Prefactor  = 0.0001
  Prefactor  = 0.0001
  Prefactor  = 0.0001
  Prefactor  = 27.4086
  norm       = 9.72367
  Prefactor  = 0.000100001
  Prefactor  = 0.0001
  Prefactor  = 0.0001
  Prefactor  = 1.70283
  Prefactor  = 0.0001
  Prefactor  = 53.4693
  norm       = 1.95838
  Prefactor  = 11.7768
  norm       = 1.79445
  Normalizat = 1.22927
  Prefactor  = 0.628782
 **********
 **   18 **HESSE 
 **********

 FCN=   4031.759     FROM HESSE     STATUS=OK           315 CALLS     2518 TOTAL
                     EDM=   .61E-08    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  Prefactor     .10000E-03    1.7581        .82071E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   2  norm          5.2398        4.4124        .11638E-03   -1.5250    
   3  Prefactor     82.339        62.327        .44266E-04   -1.3891    
   4  Prefactor     .10015E-03    44.314        .33439E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   5  Prefactor     .10000E-03    6.6439        .15966E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   6  Prefactor     .10000E-03    7.0306        .32336E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   7  Prefactor     .10000E-03    4.9455        .13740E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   8  Prefactor     .10000E-03    21.801        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   9  Prefactor     27.409        68.080        .76560E-04   -1.4660    
  10  norm          9.7237        4.0656        .78539E-04   -1.5084    
  11  Prefactor     .10000E-03    27.888        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  12  Prefactor     .10000E-03    12.634        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  13  Prefactor     .10000E-03    48.499        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  14  Prefactor     1.7028        6.7156        .28872E-03   -1.5447    
  15  Prefactor     .10000E-03    97.792        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  16  Prefactor     53.469        54.752        .54857E-04   -1.4244    
  17  norm          1.9584        1.9921        .87542E-04   -1.5428    
  18  Prefactor     11.777        16.887        .11673E-03   -1.5021    
  19  norm          1.7944        2.1081        .97502E-04   -1.5440    
  20  Normalizat    1.2293        .24031        .20882E-03   -.85703    
  21  Prefactor     .62878        .25077        .30534E-03   -1.0639    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 6.06235e-09
Minuit parameter uncertainties:
  1  2.48498e-06
  2  4.41271
  3  62.3768
  4  0.00514355
  5  1.5168e-06
  6  3.34085e-06
  7  2.1526e-05
  8  1.78818e-06
  9  68.274
  10  4.06567
  11  0.000240043
  12  3.25867e-05
  13  1.58053e-05
  14  6.71856
  15  3.62517e-05
  16  54.8034
  17  1.9922
  18  16.894
  19  2.10824
  20  0.240527
  21  0.251221
Done.

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

Extracting fit parameters...

4FGL J0228.0-3026
   Spectrum: PowerLaw
270    Prefactor:  2.741e+01  6.827e+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:  6.288e-01  2.512e-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:  1.229e+00  2.405e-01  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Fixed Index): 0.22
Ra Dec: 37.014 -30.447
Photon Flux Upper Limit: 1.08e-07 ph cm-2 s-1
Energy Flux Upper Limit: 8.24e-03 MeV cm-2 s-1

Saving results to:
/scratch/kocevski/431033/likelihoodResults_279504001_279763201_4FGL_J0228.0-3026_daily_bin155.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) = 4031.74160187
delta logL = 0.0170677751476

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

MINUIT Return Code (Free Index): 0
logL (Free Index) = 4031.73829441
delta logL = 0.0203752306766

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'Prefactor '    22.442       1.0000         .10000E-03   10000.    
     2 'Index     '    2.4340       1.0000          .0000       10.000    
     3 'Normalizat'    1.2238       1.0000         .10000E-01   10.000    
     4 'Prefactor '    .63139       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=   4031.738     FROM MIGRAD    STATUS=CONVERGED     89 CALLS      284 TOTAL
                     EDM=   .69E-08    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor     22.442        66.518        .84553E-04   -.69245E-05
   2  Index         2.4341        1.2921        .92658E-02    .26831E-03
   3  Normalizat    1.2236        .23350        .20923E-03   -.60004E-04
   4  Prefactor     .63158        .25048        .30468E-03   -.13824E-04
                               ERR DEF=  .500    
Final values: 
  Prefactor  = 22.4424
  Index      = 2.43406
  Normalizat = 1.22357
  Prefactor  = 0.631579
 **********
 **   18 **HESSE 
 **********

 FCN=   4031.738     FROM HESSE     STATUS=OK            25 CALLS      309 TOTAL
                     EDM=   .96E-11    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  Prefactor     22.442        60.513        .33821E-05   -1.4760    
   2  Index         2.4341        1.1775        .18532E-02   -.53889    
   3  Normalizat    1.2236        .23341        .41846E-04   -.85878    
   4  Prefactor     .63158        .25037        .12187E-04   -1.0627    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 9.5869e-12
Minuit parameter uncertainties:
  1  60.6796
  2  1.19279
  3  0.233612
  4  0.250818
shell-init: error retrieving current directory: getcwd: cannot access parent directories: No such file or directory
rmdir: failed to remove `/scratch/kocevski/431033': 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) = 4031.73829411
delta logL = 0.020375539264

Extracting fit parameters...

4FGL J0228.0-3026
   Spectrum: PowerLaw
270    Prefactor:  2.244e+01  6.068e+01  1.000e-04  1.000e+04 ( 1.000e-14)
271        Index:  2.434e+00  1.193e+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:  6.316e-01  2.508e-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:  1.224e+00  2.336e-01  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Free Index): 0.22
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/431033/cmap_HighResolution_279504001_279763201_4FGL_J0228.0-3026_daily_bin155.png

Cleaning up...

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

Updating database...

UPDATE lightcurve_data_v2 SET energy_flux_upper_limit='8.24e-03', job_status='DONE', photon_flux_upper_limit='1.08e-07', time_completed='2021-08-16 00:15:20.034015', job_id='431033', GAL2='0.63', fit_tolerance='1e-08', EG2='1.22', EG='1.23', time_epoch_completed='1629098120.03', return_code2='0', ts='0.22', comment='SUCCESS', return_code='0', GAL='0.63', dlogl='2.04e-02', ts2='0.26', photon_index_error='0.00', photon_index='2.20' WHERE bin_id='155' AND source_name='4FGL J0228.0-3026' AND cadence='daily';

Database successfully updated.


Analysis Complete.


Mon Aug 16 00:15:20 PDT 2021


------------------------------------------------------------
Sender: LSF System <lsf@bullet0267>
Subject: Job 431033: <4FGL_J0228.0-3026_daily_bin155> in cluster <slac> Done

Job <4FGL_J0228.0-3026_daily_bin155> was submitted from host <rhel6-64d> by user <kocevski> in cluster <slac> at Mon Aug 16 00:00:51 2021
Job was executed on host(s) <bullet0267>, in queue <medium>, as user <kocevski> in cluster <slac> at Mon Aug 16 00:01:38 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:01:38 2021
Terminated at Mon Aug 16 00:15:21 2021
Results reported at Mon Aug 16 00:15:21 2021

Your job looked like:

------------------------------------------------------------
# LSBATCH: User input
/nfs/farm/g/glast/g/LCRepository/Likelihood/Scripts/LikelihoodAnalysis.py 4FGL_J0228.0-3026_daily_bin155 37.014 -30.447 279504001 279763201 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 :                                   686.04 sec.
    Max Memory :                                 1094 MB
    Average Memory :                             278.33 MB
    Total Requested Memory :                     -
    Delta Memory :                               -
    Max Swap :                                   -
    Max Processes :                              5
    Max Threads :                                21
    Run time :                                   822 sec.
    Turnaround time :                            870 sec.

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

