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


Performing analysis on: 4FGL_J0228.0-3026_daily_bin429
RA = 37.014, Dec = -30.447
tmin = 350524801, tmax = 350784001
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='432343', job_status='RUN', time_executed='2021-08-16 00:07:50.578286', time_epoch_executed='1629097670.58' WHERE source_name='4FGL J0228.0-3026' and cadence='daily' and bin_id='429'

Database successfully updated.
Done.

Creating custom output directory:
/scratch/kocevski/432343

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

Retrieving the FT1 file...

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

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

Retrieving 46 files...
Done.


Merging files...

Checksum keywords updated successfully.

Merged file saved to:
/scratch/kocevski/432343/ft1_4FGL_J0228.0-3026_daily_bin429.fits


Retrieving the FT1 file...

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

Retrieving 46 files...
Done.


Merging files...

Merged file saved to:
/scratch/kocevski/432343/ft2_4FGL_J0228.0-3026_daily_bin429.fits


Selecting the photons:
time -p gtselect infile=/scratch/kocevski/432343/ft1_4FGL_J0228.0-3026_daily_bin429.fits outfile=/scratch/kocevski/432343/ft1_filteredMKT_4FGL_J0228.0-3026_daily_bin429.fits ra=37.014 dec=-30.447 rad=12.0 tmin=350524801.0 tmax=350784001.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.62
user 3.16
sys 5.32

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

Selecting the good time intervals:
time -p gtmktime scfile=/scratch/kocevski/432343/ft2_4FGL_J0228.0-3026_daily_bin429.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/432343/ft1_filteredMKT_4FGL_J0228.0-3026_daily_bin429.fits evtable="EVENTS" outfile="/scratch/kocevski/432343/ft1_filtered_4FGL_J0228.0-3026_daily_bin429.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 6.17
user 0.34
sys 5.77

Generating the livetime cube:
time -p gtltcube evfile="/scratch/kocevski/432343/ft1_filtered_4FGL_J0228.0-3026_daily_bin429.fits" evtable="EVENTS" scfile=/scratch/kocevski/432343/ft2_4FGL_J0228.0-3026_daily_bin429.fits sctable="SC_DATA" outfile=/scratch/kocevski/432343/ltcube_350524801_350784001_4FGL_J0228.0-3026_daily_bin429.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/432343/ft2_4FGL_J0228.0-3026_daily_bin429.fits
.....................!
real 19.29
user 13.10
sys 6.10

Generating the exposure map:
time -p gtexpmap evfile=/scratch/kocevski/432343/ft1_filtered_4FGL_J0228.0-3026_daily_bin429.fits evtable="EVENTS" scfile=/scratch/kocevski/432343/ft2_4FGL_J0228.0-3026_daily_bin429.fits sctable="SC_DATA" expcube=/scratch/kocevski/432343/ltcube_350524801_350784001_4FGL_J0228.0-3026_daily_bin429.fits outfile=/scratch/kocevski/432343/expmap_350524801_350784001_4FGL_J0228.0-3026_daily_bin429.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/432343/ltcube_350524801_350784001_4FGL_J0228.0-3026_daily_bin429.fits
.....................!
real 200.12
user 186.35
sys 12.92

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/432343/ft1_filtered_4FGL_J0228.0-3026_daily_bin429.fits scfile=/scratch/kocevski/432343/ft2_4FGL_J0228.0-3026_daily_bin429.fits outfile=/scratch/kocevski/432343/cmap_350524801_350784001_4FGL_J0228.0-3026_daily_bin429.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 6.36
user 0.38
sys 5.95

Creating the high resolution counts map:
time -p gtbin evfile=/scratch/kocevski/432343/ft1_filtered_4FGL_J0228.0-3026_daily_bin429.fits scfile=/scratch/kocevski/432343/ft2_4FGL_J0228.0-3026_daily_bin429.fits outfile=/scratch/kocevski/432343/cmap_HighResolution_350524801_350784001_4FGL_J0228.0-3026_daily_bin429.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 6.16
user 0.39
sys 5.71

Computing the diffuse response:
time -p gtdiffrsp evfile=/scratch/kocevski/432343/ft1_filtered_4FGL_J0228.0-3026_daily_bin429.fits evtable="EVENTS" scfile=/scratch/kocevski/432343/ft2_4FGL_J0228.0-3026_daily_bin429.fits sctable="SC_DATA" srcmdl=/scratch/kocevski/432343/Model_4FGL_J0228.0-3026_daily_bin429.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/432343/ft1_filtered_4FGL_J0228.0-3026_daily_bin429.fits.....................!
real 129.81
user 118.18
sys 8.60

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

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

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

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'Prefactor '    .32551E-03   1.0000         .10000E-03   10000.    
     2 'norm      '    3.4813       1.0000         .10000E-03   10000.    
     3 'Prefactor '    12.663       1.0000         .10000E-03   10000.    
     4 'Prefactor '    7.1513       1.0000         .10000E-03   10000.    
     5 'Prefactor '    10.911       1.0000         .10000E-03   10000.    
     6 'Prefactor '    .10006E-03   1.0000         .10000E-03   10000.    
     7 'Prefactor '    .10004E-03   1.0000         .10000E-03   10000.    
     8 'Prefactor '    .10000E-03   1.0000         .10000E-03   10000.    
     9 'Prefactor '    .10006E-03   1.0000         .10000E-03   10000.    
    10 'norm      '    .10000E-03   1.0000         .10000E-03   10000.    
    11 'Prefactor '    .10000E-03   1.0000         .10000E-03   10000.    
    12 'Prefactor '    .12287E-03   1.0000         .10000E-03   10000.    
    13 'Prefactor '    .10000E-03   1.0000         .10000E-03   10000.    
    14 'Prefactor '    .71041       1.0000         .10000E-03   10000.    
    15 'Prefactor '    92.850       1.0000         .10000E-03   10000.    
    16 'Prefactor '    44.519       1.0000         .10000E-03   10000.    
    17 'norm      '    1.3196       1.0000         .10000E-03   10000.    
    18 'Prefactor '    10.471       1.0000         .10000E-03   10000.    
    19 'norm      '    5.9525       1.0000         .10000E-03   10000.    
    20 'Normalizat'    .88539       1.0000         .10000E-01   10.000    
    21 'Prefactor '    .73841       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=   6051.059     FROM MIGRAD    STATUS=CONVERGED    462 CALLS     2241 TOTAL
                     EDM=   .36E-09  STRATEGY=1  ERROR MATRIX UNCERTAINTY=  1.5%

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor     .10000E-03    1.7231       -.10110E-06** at limit **
   2  norm          3.4811        2.2562       -.68601E-08   -.57070E-04
   3  Prefactor     12.663        21.021       -.19514E-06   -.15229E-04
   4  Prefactor     7.1514        8.2425        .11656E-05   -.76153E-03
   5  Prefactor     10.910        7.9662       -.17741E-08   -.16936E-04
   6  Prefactor     .10000E-03    2.0146        .64889E-08** at limit **
   7  Prefactor     .10000E-03    4.6682        .28344E-07** at limit **
   8  Prefactor     .10000E-03    11.378       -.18548E-07** at limit **
   9  Prefactor     .10000E-03    22.598       -.24337E-07** at limit **
  10  norm          .10000E-03    .67016        .13445E-08** at limit **
  11  Prefactor     .10000E-03    4.4703        .61481E-08** at limit **
  12  Prefactor     .10000E-03    64.010        .19781E-06** at limit **
  13  Prefactor     .10000E-03    14.313        .45799E-07** at limit **
  14  Prefactor     .70870        1.7895        .26747E-06   -.22526E-03
  15  Prefactor     92.845        147.25       -.19808E-05   -.21530E-04
  16  Prefactor     44.509        30.052       -.31090E-05   -.35620E-03
  17  norm          1.3194        1.2960        .44816E-07   -.12040E-03
  18  Prefactor     10.470        9.9725        .61327E-06   -.18836E-03
  19  norm          5.9524        3.0722        .41739E-07   -.15960E-04
  20  Normalizat    .88554        .13007        .46557E-06   -.34218E-04
  21  Prefactor     .73829        .14962       -.37793E-06    .49600E-04
                               ERR DEF=  .500    
Final values: 
  Prefactor  = 0.0001
  norm       = 3.48112
  Prefactor  = 12.6626
  Prefactor  = 7.15144
  Prefactor  = 10.9104
  Prefactor  = 0.0001
  Prefactor  = 0.0001
  Prefactor  = 0.0001
  Prefactor  = 0.0001
  norm       = 0.0001
  Prefactor  = 0.0001
  Prefactor  = 0.000100001
  Prefactor  = 0.0001
  Prefactor  = 0.708703
  Prefactor  = 92.8445
  Prefactor  = 44.5089
  norm       = 1.31938
  Prefactor  = 10.4704
  norm       = 5.95241
  Normalizat = 0.885537
  Prefactor  = 0.738291
 **********
 **   18 **HESSE 
 **********

 FCN=   6051.059     FROM HESSE     STATUS=OK           319 CALLS     2560 TOTAL
                     EDM=   .84E-08    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  Prefactor     .10000E-03    7.7557        .19587E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   2  norm          3.4811        2.2577        .90474E-04   -1.5335    
   3  Prefactor     12.663        21.026        .11256E-03   -1.4996    
   4  Prefactor     7.1514        10.550        .75000E-03   -1.5173    
   5  Prefactor     10.910        7.9672        .12129E-03   -1.5047    
   6  Prefactor     .10000E-03    2.0925        .21552E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   7  Prefactor     .10000E-03    4.8022        .32788E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   8  Prefactor     .10000E-03    11.382        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   9  Prefactor     .10000E-03    22.679        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  10  norm          .10000E-03    .68312        .62141E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  11  Prefactor     .10000E-03    4.4735        .16063E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  12  Prefactor     .10000E-03    65.703        .36285E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  13  Prefactor     .10000E-03    14.324        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  14  Prefactor     .70870        1.6268        .16427E-02   -1.5540    
  15  Prefactor     92.845        148.10        .41706E-04   -1.3778    
  16  Prefactor     44.509        31.792        .60088E-04   -1.4373    
  17  norm          1.3194        1.2766        .84409E-04   -1.5478    
  18  Prefactor     10.470        9.9844        .61910E-03   -1.5061    
  19  norm          5.9524        3.0690        .94270E-04   -1.5220    
  20  Normalizat    .88554        .15275        .19252E-03   -.96970    
  21  Prefactor     .73829        .17654        .24356E-03   -1.0204    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 8.36745e-09
Minuit parameter uncertainties:
  1  3.30596e-05
  2  2.25773
  3  21.0381
  4  10.553
  5  7.96798
  6  1.00482e-06
  7  2.35583e-06
  8  2.56607e-06
  9  5.12877e-06
  10  6.87202e-07
  11  5.31584e-08
  12  0.000364825
  13  2.52417e-06
  14  1.62692
  15  148.7
  16  31.8044
  17  1.27665
  18  9.98596
  19  3.06913
  20  0.152822
  21  0.176674
Done.

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

Extracting fit parameters...

4FGL J0228.0-3026
   Spectrum: PowerLaw
270    Prefactor:  1.000e-04  5.129e-06  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:  7.383e-01  1.767e-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:  8.855e-01  1.528e-01  1.000e-02  1.000e+01 ( 1.000e+00)


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

Saving results to:
/scratch/kocevski/432343/likelihoodResults_350524801_350784001_4FGL_J0228.0-3026_daily_bin429.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) = 6051.05898492
delta logL = -0.000210076874282

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

MINUIT Return Code (Free Index): 0
logL (Free Index) = 6051.05877481
delta logL = 3.11410985887e-08

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'Prefactor '    .10004E-03   1.0000         .10000E-03   10000.    
     2 'Index     '    2.2833       1.0000          .0000       10.000    
     3 'Normalizat'    .88554       1.0000         .10000E-01   10.000    
     4 'Prefactor '    .73829       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.

 FCN=   6051.059     FROM MIGRAD    STATUS=CONVERGED     53 CALLS      228 TOTAL
                     EDM=   .91E-10    STRATEGY= 1      ERR MATRIX NOT POS-DEF

  EXT PARAMETER                APPROXIMATE        STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor     .10000E-03    484.67        .90712E-02** at limit **
   2  Index         2.2882        8.5276        .50000       -.19186E-05
   3  Normalizat    .88554        .15240E-01    .44716E-01    .96892E-05
   4  Prefactor     .73829        .17843E-01    .42909E-01    .17629E-04
                               ERR DEF=  .500    
Final values: 
  Prefactor  = 0.0001
  Index      = 2.2882
  Normalizat = 0.885538
  Prefactor  = 0.73829
 **********
 **   18 **HESSE 
 **********

 FCN=   6051.059     FROM HESSE     STATUS=OK            33 CALLS      261 TOTAL
                     EDM=   .41E-11    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  Prefactor     .10000E-03    26.549        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   2  Index         2.2882        6.1359        .50000       -.57324    
   3  Normalizat    .88554        .14781        .19252E-03   -.96970    
   4  Prefactor     .73829        .17300        .24356E-03   -1.0204    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 4.08871e-12
Minuit parameter uncertainties:
  1  6.54776e-06
  2  4.53074
  3  0.147879
  4  0.17313
shell-init: error retrieving current directory: getcwd: cannot access parent directories: No such file or directory
rmdir: failed to remove `/scratch/kocevski/432343': 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) = 6051.05877481
delta logL = 3.42824932886e-08

Extracting fit parameters...

4FGL J0228.0-3026
   Spectrum: PowerLaw
270    Prefactor:  1.000e-04  6.548e-06  1.000e-04  1.000e+04 ( 1.000e-14)
271        Index:  2.288e+00  4.531e+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:  7.383e-01  1.731e-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:  8.855e-01  1.479e-01  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Free Index): -0.00
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/432343/cmap_HighResolution_350524801_350784001_4FGL_J0228.0-3026_daily_bin429.png

Cleaning up...

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

Updating database...

UPDATE lightcurve_data_v2 SET energy_flux_upper_limit='2.89e-03', job_status='DONE', photon_flux_upper_limit='3.79e-08', time_completed='2021-08-16 00:20:33.768495', job_id='432343', GAL2='0.74', fit_tolerance='1e-08', EG2='0.89', EG='0.89', time_epoch_completed='1629098433.77', return_code2='0', ts='-0.00', comment='SUCCESS', return_code='0', GAL='0.74', dlogl='3.43e-08', ts2='-0.00', photon_index_error='0.00', photon_index='2.20' WHERE bin_id='429' AND source_name='4FGL J0228.0-3026' AND cadence='daily';

Database successfully updated.


Analysis Complete.


Mon Aug 16 00:20:33 PDT 2021


------------------------------------------------------------
Sender: LSF System <lsf@bullet0065>
Subject: Job 432343: <4FGL_J0228.0-3026_daily_bin429> in cluster <slac> Done

Job <4FGL_J0228.0-3026_daily_bin429> was submitted from host <rhel6-64j> by user <kocevski> in cluster <slac> at Mon Aug 16 00:05:23 2021
Job was executed on host(s) <bullet0065>, in queue <medium>, as user <kocevski> in cluster <slac> at Mon Aug 16 00:05:49 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:05:49 2021
Terminated at Mon Aug 16 00:20:36 2021
Results reported at Mon Aug 16 00:20:36 2021

Your job looked like:

------------------------------------------------------------
# LSBATCH: User input
/nfs/farm/g/glast/g/LCRepository/Likelihood/Scripts/LikelihoodAnalysis.py 4FGL_J0228.0-3026_daily_bin429 37.014 -30.447 350524801 350784001 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 :                                   838.13 sec.
    Max Memory :                                 1256 MB
    Average Memory :                             321.59 MB
    Total Requested Memory :                     -
    Delta Memory :                               -
    Max Swap :                                   -
    Max Processes :                              5
    Max Threads :                                21
    Run time :                                   885 sec.
    Turnaround time :                            913 sec.

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

